@openlist-frontend/openlist-frontend 4.0.5 → 4.0.6

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 (316) hide show
  1. package/dist/VERSION +1 -1
  2. package/dist/assets/{2fa-6199c9ed.js → 2fa-93461ba3.js} +1 -1
  3. package/dist/{lite/assets/2fa-legacy-2fd288b7.js → assets/2fa-legacy-b2163c16.js} +1 -1
  4. package/dist/{lite/assets/About-fb277475.js → assets/About-7f361461.js} +1 -1
  5. package/dist/{lite/assets/About-legacy-520a4221.js → assets/About-legacy-95111e56.js} +1 -1
  6. package/dist/assets/{AddOrEdit-db54d2f9.js → AddOrEdit-675ebb84.js} +1 -1
  7. package/dist/assets/{AddOrEdit-157b4bfd.js → AddOrEdit-a9c3618e.js} +1 -1
  8. package/dist/assets/{AddOrEdit-6e1d9409.js → AddOrEdit-f4ea1e3c.js} +1 -1
  9. package/dist/assets/{AddOrEdit-legacy-cc03c565.js → AddOrEdit-legacy-4065db05.js} +1 -1
  10. package/dist/assets/{AddOrEdit-legacy-7406fed7.js → AddOrEdit-legacy-6e10f618.js} +1 -1
  11. package/dist/assets/{AddOrEdit-legacy-38704f8a.js → AddOrEdit-legacy-9c560d72.js} +1 -1
  12. package/dist/assets/{Common-450bee98.js → Common-e2b8c16d.js} +1 -1
  13. package/dist/assets/{Common-legacy-93826114.js → Common-legacy-3a186d35.js} +1 -1
  14. package/dist/assets/{Copy-65b45192.js → Copy-ed495269.js} +1 -1
  15. package/dist/assets/{Copy-legacy-5fdf9d47.js → Copy-legacy-aaad0892.js} +1 -1
  16. package/dist/assets/Decompress-b14d45e8.js +1 -0
  17. package/dist/assets/{Decompress-legacy-8a1606b9.js → Decompress-legacy-a10e91cb.js} +1 -1
  18. package/dist/assets/{DeletePopover-ebc7a7fb.js → DeletePopover-e2bc72bc.js} +1 -1
  19. package/dist/assets/{DeletePopover-legacy-23237d7a.js → DeletePopover-legacy-7d9fa27c.js} +1 -1
  20. package/dist/assets/{File-fb0adc00.js → File-81da34fb.js} +1 -1
  21. package/dist/{lite/assets/File-legacy-6437bc07.js → assets/File-legacy-e33ccbbb.js} +1 -1
  22. package/dist/assets/{Folder-3af8a260.js → Folder-a74c43cb.js} +2 -2
  23. package/dist/{lite/assets/Folder-legacy-39ea60cb.js → assets/Folder-legacy-7d46e2ea.js} +2 -2
  24. package/dist/assets/{FolderTree-1a44a44d.js → FolderTree-7c945f38.js} +1 -1
  25. package/dist/assets/{FolderTree-legacy-fd63a766.js → FolderTree-legacy-4c011a89.js} +1 -1
  26. package/dist/assets/Grid-60b1151b.js +1 -0
  27. package/dist/assets/{Grid-legacy-e37475fc.js → Grid-legacy-8381cc23.js} +1 -1
  28. package/dist/assets/{GridItem-2842cf34.js → GridItem-405084f4.js} +1 -1
  29. package/dist/assets/{GridItem-legacy-f399498a.js → GridItem-legacy-6ed6814c.js} +1 -1
  30. package/dist/assets/{ImageWithError-9ed7f1a9.js → ImageWithError-19b85b5f.js} +1 -1
  31. package/dist/assets/{ImageWithError-legacy-b50ae91c.js → ImageWithError-legacy-3cb5113e.js} +1 -1
  32. package/dist/assets/{Images-65992347.js → Images-1a803643.js} +1 -1
  33. package/dist/assets/{Images-legacy-60682f48.js → Images-legacy-b8fbf1f4.js} +1 -1
  34. package/dist/{lite/assets/Layout-07f5b121.js → assets/Layout-bf4db116.js} +2 -2
  35. package/dist/{lite/assets/Layout-legacy-cb6ff3a1.js → assets/Layout-legacy-bfe75175.js} +2 -2
  36. package/dist/assets/{List-1be59122.js → List-86e68ce2.js} +1 -1
  37. package/dist/assets/{List-legacy-e12eb638.js → List-legacy-3ac42ba0.js} +1 -1
  38. package/dist/assets/{Messenger-cd3588e6.js → Messenger-67e2c81b.js} +1 -1
  39. package/dist/assets/{Messenger-legacy-611e3d48.js → Messenger-legacy-678fcdfd.js} +1 -1
  40. package/dist/assets/{Metas-789ac893.js → Metas-b6d9d48f.js} +1 -1
  41. package/dist/assets/{Metas-legacy-dbad177e.js → Metas-legacy-afff9ac6.js} +1 -1
  42. package/dist/{lite/assets/Other-7be950eb.js → assets/Other-57a8557a.js} +1 -1
  43. package/dist/assets/{Other-legacy-3c18cdfc.js → Other-legacy-95dec83a.js} +1 -1
  44. package/dist/assets/{PackageDownload-c6a0da00.js → PackageDownload-be001a4b.js} +1 -1
  45. package/dist/assets/{PackageDownload-legacy-30918983.js → PackageDownload-legacy-ed2c0640.js} +1 -1
  46. package/dist/assets/{Paginator-d103f2ff.js → Paginator-d7be1879.js} +1 -1
  47. package/dist/assets/{Paginator-legacy-fc6867fa.js → Paginator-legacy-773e1b42.js} +1 -1
  48. package/dist/assets/{Password-48cf8322.js → Password-9ae34569.js} +1 -1
  49. package/dist/assets/{Password-legacy-ccc03021.js → Password-legacy-0e4ad601.js} +1 -1
  50. package/dist/assets/{Profile-1af97dfa.js → Profile-50bfcfa4.js} +1 -1
  51. package/dist/assets/{Profile-legacy-8348b1bb.js → Profile-legacy-9f661429.js} +1 -1
  52. package/dist/assets/{PublicKeys-964230d6.js → PublicKeys-41759309.js} +1 -1
  53. package/dist/assets/{PublicKeys-legacy-b991847d.js → PublicKeys-legacy-351020ba.js} +1 -1
  54. package/dist/assets/{ResponsiveGrid-c660b42b.js → ResponsiveGrid-dceace19.js} +1 -1
  55. package/dist/assets/{ResponsiveGrid-legacy-55f28044.js → ResponsiveGrid-legacy-e2241610.js} +1 -1
  56. package/dist/{lite/assets/S3-401d9db4.js → assets/S3-28ae25bd.js} +1 -1
  57. package/dist/{lite/assets/S3-legacy-1dd122d0.js → assets/S3-legacy-2ff36fbe.js} +1 -1
  58. package/dist/assets/{SettingItem-7b154b19.js → SettingItem-ceb3be8a.js} +1 -1
  59. package/dist/{lite/assets/SettingItem-legacy-dd989714.js → assets/SettingItem-legacy-99b48931.js} +1 -1
  60. package/dist/{lite/assets/Storages-ac590c17.js → assets/Storages-db44818f.js} +1 -1
  61. package/dist/{lite/assets/Storages-legacy-b1aeb27b.js → assets/Storages-legacy-f1817500.js} +1 -1
  62. package/dist/assets/Upload-328b04f6.js +1 -0
  63. package/dist/assets/{Upload-fac9e504.js → Upload-b0113ec6.js} +1 -1
  64. package/dist/assets/{Upload-legacy-007fd76b.js → Upload-legacy-00b86d8b.js} +1 -1
  65. package/dist/assets/{Upload-legacy-9a68bf01.js → Upload-legacy-cb7c10ea.js} +1 -1
  66. package/dist/assets/{Users-8edeb6bf.js → Users-1d354aa6.js} +1 -1
  67. package/dist/assets/{Users-legacy-01bf5f48.js → Users-legacy-9109e145.js} +1 -1
  68. package/dist/assets/{Wether-6d0fa0f0.js → Wether-cec2431e.js} +1 -1
  69. package/dist/assets/{Wether-legacy-4dbdc21d.js → Wether-legacy-21b9cbe2.js} +1 -1
  70. package/dist/assets/{aliyun_office-875b9979.js → aliyun_office-b980b158.js} +1 -1
  71. package/dist/assets/{aliyun_office-legacy-15e0325d.js → aliyun_office-legacy-c5b7ff0d.js} +1 -1
  72. package/dist/{lite/assets/aliyun_video-b8078e3a.js → assets/aliyun_video-98f623ff.js} +1 -1
  73. package/dist/{lite/assets/aliyun_video-legacy-0fee6c6f.js → assets/aliyun_video-legacy-9279a5f5.js} +1 -1
  74. package/dist/{lite/assets/archive-bed92511.js → assets/archive-9ce59746.js} +1 -1
  75. package/dist/{lite/assets/archive-legacy-e6f76d6c.js → assets/archive-legacy-9b71b0fa.js} +1 -1
  76. package/dist/{lite/assets/asciinema-693672d2.js → assets/asciinema-3de41787.js} +1 -1
  77. package/dist/{lite/assets/asciinema-legacy-30459b12.js → assets/asciinema-legacy-43452986.js} +1 -1
  78. package/dist/{lite/assets/audio-947f8685.js → assets/audio-a412b2d8.js} +1 -1
  79. package/dist/{lite/assets/audio-legacy-94dbf472.js → assets/audio-legacy-758380f9.js} +1 -1
  80. package/dist/{lite/assets/backup-restore-1c64bd21.js → assets/backup-restore-d8cba460.js} +1 -1
  81. package/dist/{lite/assets/backup-restore-legacy-9be2d84e.js → assets/backup-restore-legacy-f6c6e7e0.js} +1 -1
  82. package/dist/assets/entry-4009114b.js +1 -0
  83. package/dist/assets/entry-c04dedb4.js +1 -0
  84. package/dist/assets/entry-legacy-2be0d05f.js +1 -0
  85. package/dist/assets/entry-legacy-b2546148.js +1 -0
  86. package/dist/assets/{flash-c29b68bf.js → flash-60a9ad3f.js} +1 -1
  87. package/dist/assets/{flash-legacy-abeaf349.js → flash-legacy-5a86259d.js} +1 -1
  88. package/dist/assets/{heic-1a77df15.js → heic-0c879dcc.js} +1 -1
  89. package/dist/assets/{heic-legacy-3c6f7bb5.js → heic-legacy-6c12a262.js} +1 -1
  90. package/dist/{lite/assets/helper-200d7750.js → assets/helper-9b05f775.js} +1 -1
  91. package/dist/assets/{helper-5bf09953.js → helper-b1488c6e.js} +1 -1
  92. package/dist/{lite/assets/helper-legacy-0972b954.js → assets/helper-legacy-cbb3c185.js} +1 -1
  93. package/dist/assets/{helper-legacy-6ad15964.js → helper-legacy-dc4f46d9.js} +1 -1
  94. package/dist/assets/{hls-e57ba0ec.js → hls-1761db5d.js} +1 -1
  95. package/dist/assets/{hls-legacy-0a2b5bc6.js → hls-legacy-6dd02345.js} +1 -1
  96. package/dist/assets/{html-33cb0e0d.js → html-d66499d6.js} +1 -1
  97. package/dist/{lite/assets/html-legacy-0fd004cb.js → assets/html-legacy-6758c84e.js} +1 -1
  98. package/dist/assets/{icon-b516a923.js → icon-06277de7.js} +1 -1
  99. package/dist/{lite/assets/icon-legacy-4ddd609a.js → assets/icon-legacy-f52ac572.js} +1 -1
  100. package/dist/assets/{image-19ccaaae.js → image-4f76214a.js} +1 -1
  101. package/dist/assets/{image-legacy-50d96617.js → image-legacy-710b2215.js} +1 -1
  102. package/dist/assets/{index-5fdd04f7.js → index-2aede34f.js} +1 -1
  103. package/dist/{lite/assets/index-c430df0d.js → assets/index-3d189ca2.js} +1 -1
  104. package/dist/{lite/assets/index-a18c5172.js → assets/index-4c139329.js} +1 -1
  105. package/dist/{lite/assets/index-55c23df0.js → assets/index-4f08830f.js} +1 -1
  106. package/dist/assets/{index-a0638b88.js → index-502eb34e.js} +1 -1
  107. package/dist/{lite/assets/index-57ec8696.js → assets/index-614dcd2c.js} +1 -1
  108. package/dist/{lite/assets/index-8952a6a7.js → assets/index-71d8d81a.js} +1 -1
  109. package/dist/assets/{index-534efff5.js → index-a4e1f528.js} +1 -1
  110. package/dist/assets/{index-d43f3440.js → index-b9ebc26a.js} +1 -1
  111. package/dist/{lite/assets/index-30b06bca.js → assets/index-d81bedf4.js} +2 -2
  112. package/dist/assets/{index-legacy-74bc636e.js → index-legacy-12451e3e.js} +1 -1
  113. package/dist/{lite/assets/index-legacy-4245df2f.js → assets/index-legacy-16b6ae0c.js} +1 -1
  114. package/dist/{lite/assets/index-legacy-0aa5b14a.js → assets/index-legacy-1963ced8.js} +3 -3
  115. package/dist/assets/{index-legacy-f67858f9.js → index-legacy-21a3d2f4.js} +1 -1
  116. package/dist/{lite/assets/index-legacy-9b402cb0.js → assets/index-legacy-3ee310e1.js} +1 -1
  117. package/dist/assets/{index-legacy-46ebd4af.js → index-legacy-419c8b8b.js} +1 -1
  118. package/dist/{lite/assets/index-legacy-22e929c6.js → assets/index-legacy-7989bcdb.js} +1 -1
  119. package/dist/{lite/assets/index-legacy-4131bdaf.js → assets/index-legacy-b9d188fd.js} +1 -1
  120. package/dist/assets/{index-legacy-c93b9947.js → index-legacy-c2e8af34.js} +1 -1
  121. package/dist/assets/{index-legacy-4f0016ed.js → index-legacy-e74fd7a7.js} +1 -1
  122. package/dist/{lite/assets/indexes-0f73a8db.js → assets/indexes-1ca95cdb.js} +1 -1
  123. package/dist/{lite/assets/indexes-legacy-328ac420.js → assets/indexes-legacy-93d8a557.js} +1 -1
  124. package/dist/assets/{ipa-43021d6c.js → ipa-4e2c6f77.js} +1 -1
  125. package/dist/{lite/assets/ipa-legacy-c50cf57d.js → assets/ipa-legacy-4f1f1861.js} +1 -1
  126. package/dist/assets/{markdown-ab00eaa0.js → markdown-6b01d1c3.js} +1 -1
  127. package/dist/assets/{markdown-legacy-20f285db.js → markdown-legacy-c372e9da.js} +1 -1
  128. package/dist/assets/{markdown_with_word_wrap-d0cae262.js → markdown_with_word_wrap-fefa50af.js} +1 -1
  129. package/dist/assets/{markdown_with_word_wrap-legacy-1117b498.js → markdown_with_word_wrap-legacy-14295f4b.js} +1 -1
  130. package/dist/assets/offline_download-cf544058.js +1 -0
  131. package/dist/assets/{offline_download-legacy-94d3d5e1.js → offline_download-legacy-905502c0.js} +1 -1
  132. package/dist/assets/plist-9ce846f0.js +1 -0
  133. package/dist/assets/{plist-legacy-69ab4ae6.js → plist-legacy-fe870a4e.js} +1 -1
  134. package/dist/{lite/assets/style-aaf6ac70.js → assets/style-c3d84158.js} +1 -1
  135. package/dist/{lite/assets/style-legacy-9a91035c.js → assets/style-legacy-fccb3672.js} +1 -1
  136. package/dist/assets/{text-editor-ee442c77.js → text-editor-88cb5925.js} +1 -1
  137. package/dist/assets/{text-editor-legacy-d5b6ca9f.js → text-editor-legacy-fd9aaf9f.js} +1 -1
  138. package/dist/assets/{url-a7c81f5f.js → url-326a4114.js} +1 -1
  139. package/dist/assets/{url-legacy-f729c809.js → url-legacy-f3f234af.js} +1 -1
  140. package/dist/assets/{useTitle-e6838a6c.js → useTitle-35e58701.js} +1 -1
  141. package/dist/assets/{useTitle-legacy-b04d394f.js → useTitle-legacy-76f38f3f.js} +1 -1
  142. package/dist/{lite/assets/video-0c0a35c5.js → assets/video-0f1b30e3.js} +1 -1
  143. package/dist/assets/{video-legacy-90466987.js → video-legacy-4a01cbc9.js} +1 -1
  144. package/dist/{lite/assets/video360-c202cd77.js → assets/video360-e2949a86.js} +1 -1
  145. package/dist/assets/{video360-legacy-fab92613.js → video360-legacy-58a359d2.js} +1 -1
  146. package/dist/assets/{video_box-91fb063a.js → video_box-e621e4e6.js} +1 -1
  147. package/dist/{lite/assets/video_box-legacy-8e56c186.js → assets/video_box-legacy-4cd60ac4.js} +1 -1
  148. package/dist/i18n.tar.gz +0 -0
  149. package/dist/index.html +2 -2
  150. package/dist/lite/VERSION +1 -1
  151. package/dist/lite/assets/{2fa-5ad6f9e4.js → 2fa-4a465895.js} +1 -1
  152. package/dist/{assets/2fa-legacy-7536e64f.js → lite/assets/2fa-legacy-e2c894a4.js} +1 -1
  153. package/dist/{assets/About-4bee39e3.js → lite/assets/About-15ed8f32.js} +1 -1
  154. package/dist/{assets/About-legacy-67908cfb.js → lite/assets/About-legacy-dbe282e7.js} +1 -1
  155. package/dist/lite/assets/{AddOrEdit-1c448b6a.js → AddOrEdit-05eddf37.js} +1 -1
  156. package/dist/lite/assets/{AddOrEdit-0f9961a3.js → AddOrEdit-0a32ef2b.js} +1 -1
  157. package/dist/lite/assets/{AddOrEdit-12cf2516.js → AddOrEdit-a672a89e.js} +1 -1
  158. package/dist/lite/assets/{AddOrEdit-legacy-6798d629.js → AddOrEdit-legacy-410a39ae.js} +1 -1
  159. package/dist/lite/assets/{AddOrEdit-legacy-e6ffe626.js → AddOrEdit-legacy-635b291f.js} +1 -1
  160. package/dist/lite/assets/{AddOrEdit-legacy-a4cdee74.js → AddOrEdit-legacy-c9de1dcb.js} +1 -1
  161. package/dist/lite/assets/{Common-d80b34ab.js → Common-d7f1cd18.js} +1 -1
  162. package/dist/lite/assets/{Common-legacy-2164b752.js → Common-legacy-02442dbd.js} +1 -1
  163. package/dist/lite/assets/{Copy-1ea87765.js → Copy-9d04e9c2.js} +1 -1
  164. package/dist/lite/assets/{Copy-legacy-3443455a.js → Copy-legacy-f0411d3f.js} +1 -1
  165. package/dist/lite/assets/Decompress-560c482c.js +1 -0
  166. package/dist/lite/assets/{Decompress-legacy-71531bcb.js → Decompress-legacy-41d6332f.js} +1 -1
  167. package/dist/lite/assets/{DeletePopover-e6aa8190.js → DeletePopover-2f2d4ac4.js} +1 -1
  168. package/dist/lite/assets/{DeletePopover-legacy-f168fee6.js → DeletePopover-legacy-9608bf45.js} +1 -1
  169. package/dist/lite/assets/{File-7976d82d.js → File-67912414.js} +1 -1
  170. package/dist/{assets/File-legacy-de6eafc9.js → lite/assets/File-legacy-1c237b3a.js} +1 -1
  171. package/dist/lite/assets/{Folder-431205a1.js → Folder-676d5a43.js} +2 -2
  172. package/dist/{assets/Folder-legacy-f6ee4bd6.js → lite/assets/Folder-legacy-f93e2ce1.js} +2 -2
  173. package/dist/lite/assets/{FolderTree-0e14485a.js → FolderTree-fb1c4d9d.js} +1 -1
  174. package/dist/lite/assets/{FolderTree-legacy-772f9e27.js → FolderTree-legacy-ce0bae10.js} +1 -1
  175. package/dist/lite/assets/Grid-41c23624.js +1 -0
  176. package/dist/lite/assets/{Grid-legacy-dc5ccfb6.js → Grid-legacy-39784739.js} +1 -1
  177. package/dist/lite/assets/{GridItem-86e9b9d4.js → GridItem-e81d1ac0.js} +1 -1
  178. package/dist/lite/assets/{GridItem-legacy-7d199479.js → GridItem-legacy-957fe815.js} +1 -1
  179. package/dist/lite/assets/{ImageWithError-aa488f14.js → ImageWithError-ed009be3.js} +1 -1
  180. package/dist/lite/assets/{ImageWithError-legacy-1a56429b.js → ImageWithError-legacy-e07fe62a.js} +1 -1
  181. package/dist/lite/assets/{Images-8e90a7a1.js → Images-b006a129.js} +1 -1
  182. package/dist/lite/assets/{Images-legacy-97d31566.js → Images-legacy-3f8cb948.js} +1 -1
  183. package/dist/{assets/Layout-fe51806e.js → lite/assets/Layout-0e6d3f27.js} +2 -2
  184. package/dist/{assets/Layout-legacy-7eb8c952.js → lite/assets/Layout-legacy-c0a1d22d.js} +2 -2
  185. package/dist/lite/assets/{List-8f83d082.js → List-9f4742b0.js} +1 -1
  186. package/dist/lite/assets/{List-legacy-b408aca0.js → List-legacy-13be9e59.js} +1 -1
  187. package/dist/lite/assets/{Messenger-66970fb8.js → Messenger-f78d1d2d.js} +1 -1
  188. package/dist/lite/assets/{Messenger-legacy-c99ee3e5.js → Messenger-legacy-b9210e6d.js} +1 -1
  189. package/dist/lite/assets/{Metas-d24aec03.js → Metas-1d100729.js} +1 -1
  190. package/dist/lite/assets/{Metas-legacy-bfcf17f6.js → Metas-legacy-7a3076ce.js} +1 -1
  191. package/dist/{assets/Other-2ace97b6.js → lite/assets/Other-8bdeeb20.js} +1 -1
  192. package/dist/lite/assets/{Other-legacy-9221528b.js → Other-legacy-acf23a73.js} +1 -1
  193. package/dist/lite/assets/{PackageDownload-f05cba5c.js → PackageDownload-d6aa53a6.js} +1 -1
  194. package/dist/lite/assets/{PackageDownload-legacy-90313839.js → PackageDownload-legacy-3848c46c.js} +1 -1
  195. package/dist/lite/assets/{Paginator-bb1fc35e.js → Paginator-f6464798.js} +1 -1
  196. package/dist/lite/assets/{Paginator-legacy-29cfb767.js → Paginator-legacy-275039ed.js} +1 -1
  197. package/dist/lite/assets/{Password-0b8f5086.js → Password-3d5ea869.js} +1 -1
  198. package/dist/lite/assets/{Password-legacy-9ebe1df7.js → Password-legacy-0c24d858.js} +1 -1
  199. package/dist/lite/assets/{Profile-8517a5cf.js → Profile-73999eaa.js} +1 -1
  200. package/dist/lite/assets/{Profile-legacy-bc4f0774.js → Profile-legacy-61e003fb.js} +1 -1
  201. package/dist/lite/assets/{PublicKeys-9c9a5d48.js → PublicKeys-2352a7bb.js} +1 -1
  202. package/dist/lite/assets/{PublicKeys-legacy-4160eda6.js → PublicKeys-legacy-1b812dd5.js} +1 -1
  203. package/dist/lite/assets/{ResponsiveGrid-6579ee84.js → ResponsiveGrid-4dd21281.js} +1 -1
  204. package/dist/lite/assets/{ResponsiveGrid-legacy-49d17ced.js → ResponsiveGrid-legacy-1c08fe8e.js} +1 -1
  205. package/dist/{assets/S3-8bbfb918.js → lite/assets/S3-7d0f028b.js} +1 -1
  206. package/dist/{assets/S3-legacy-2c72eb53.js → lite/assets/S3-legacy-232d5988.js} +1 -1
  207. package/dist/lite/assets/{SettingItem-02493bf9.js → SettingItem-0ebae0a8.js} +1 -1
  208. package/dist/{assets/SettingItem-legacy-aa1825fb.js → lite/assets/SettingItem-legacy-42ee0812.js} +1 -1
  209. package/dist/{assets/Storages-426c866c.js → lite/assets/Storages-19fcbe71.js} +1 -1
  210. package/dist/{assets/Storages-legacy-d7dbb295.js → lite/assets/Storages-legacy-5ebc3d51.js} +1 -1
  211. package/dist/lite/assets/Upload-7273e8c2.js +1 -0
  212. package/dist/lite/assets/{Upload-0a579f7e.js → Upload-bab976d1.js} +1 -1
  213. package/dist/lite/assets/{Upload-legacy-90ce020b.js → Upload-legacy-7ffd4a40.js} +1 -1
  214. package/dist/lite/assets/{Upload-legacy-3a257544.js → Upload-legacy-ab16f638.js} +1 -1
  215. package/dist/lite/assets/{Users-83449423.js → Users-a49cab2c.js} +1 -1
  216. package/dist/lite/assets/{Users-legacy-c21a87e8.js → Users-legacy-29182339.js} +1 -1
  217. package/dist/lite/assets/{Wether-8942a1ba.js → Wether-c8cd1781.js} +1 -1
  218. package/dist/lite/assets/{Wether-legacy-98ba57de.js → Wether-legacy-7580e6d4.js} +1 -1
  219. package/dist/lite/assets/{aliyun_office-1ca1adb5.js → aliyun_office-6727a571.js} +1 -1
  220. package/dist/lite/assets/{aliyun_office-legacy-8e62db4f.js → aliyun_office-legacy-ec27781d.js} +1 -1
  221. package/dist/{assets/aliyun_video-c99014c3.js → lite/assets/aliyun_video-0b1ad786.js} +1 -1
  222. package/dist/{assets/aliyun_video-legacy-5e024dcb.js → lite/assets/aliyun_video-legacy-9f85902b.js} +1 -1
  223. package/dist/{assets/archive-62d253a7.js → lite/assets/archive-8c9d1291.js} +1 -1
  224. package/dist/{assets/archive-legacy-c91d2cfc.js → lite/assets/archive-legacy-69bdedf0.js} +1 -1
  225. package/dist/{assets/asciinema-2d067302.js → lite/assets/asciinema-a593d25d.js} +1 -1
  226. package/dist/{assets/asciinema-legacy-91fac8c6.js → lite/assets/asciinema-legacy-b15a697e.js} +1 -1
  227. package/dist/{assets/audio-63f502da.js → lite/assets/audio-61f09d3f.js} +1 -1
  228. package/dist/{assets/audio-legacy-45cbcc4e.js → lite/assets/audio-legacy-b511a260.js} +1 -1
  229. package/dist/{assets/backup-restore-0aeb4d5f.js → lite/assets/backup-restore-1f83d822.js} +1 -1
  230. package/dist/{assets/backup-restore-legacy-393f95ba.js → lite/assets/backup-restore-legacy-6af6248e.js} +1 -1
  231. package/dist/lite/assets/entry-8bce92dd.js +1 -0
  232. package/dist/{assets/entry-69834e7b.js → lite/assets/entry-9990379e.js} +1 -1
  233. package/dist/lite/assets/entry-legacy-ef414ba2.js +1 -0
  234. package/dist/{assets/entry-legacy-b7407e56.js → lite/assets/entry-legacy-f84cdf4a.js} +1 -1
  235. package/dist/lite/assets/{flash-530d0783.js → flash-4515c76f.js} +1 -1
  236. package/dist/lite/assets/{flash-legacy-813cc292.js → flash-legacy-337c4527.js} +1 -1
  237. package/dist/lite/assets/{heic-8c1c6d5f.js → heic-25d064c0.js} +1 -1
  238. package/dist/lite/assets/{heic-legacy-79f1750a.js → heic-legacy-0759765a.js} +1 -1
  239. package/dist/lite/assets/{helper-57b2e8f8.js → helper-1b501c84.js} +1 -1
  240. package/dist/{assets/helper-c919e34e.js → lite/assets/helper-38d5804e.js} +1 -1
  241. package/dist/{assets/helper-legacy-291a9b6d.js → lite/assets/helper-legacy-67cc1ad2.js} +1 -1
  242. package/dist/lite/assets/{helper-legacy-8a5ade97.js → helper-legacy-a87fd1d8.js} +1 -1
  243. package/dist/lite/assets/{hls-b7cd2950.js → hls-e3fef076.js} +1 -1
  244. package/dist/lite/assets/{hls-legacy-0b2f150f.js → hls-legacy-19090a77.js} +1 -1
  245. package/dist/lite/assets/{html-66de9a81.js → html-b83dd5df.js} +1 -1
  246. package/dist/{assets/html-legacy-633be7d8.js → lite/assets/html-legacy-71f39b76.js} +1 -1
  247. package/dist/lite/assets/{icon-cd887adc.js → icon-34a64e98.js} +1 -1
  248. package/dist/{assets/icon-legacy-f14c7703.js → lite/assets/icon-legacy-bc0a1d16.js} +1 -1
  249. package/dist/lite/assets/{image-6ebb35f4.js → image-ad6c3478.js} +1 -1
  250. package/dist/lite/assets/{image-legacy-0664f313.js → image-legacy-b1b12514.js} +1 -1
  251. package/dist/{assets/index-7ab3d35b.js → lite/assets/index-04bae706.js} +1 -1
  252. package/dist/lite/assets/{index-1cb33dc7.js → index-079cd1f2.js} +1 -1
  253. package/dist/{assets/index-ebb2e1ad.js → lite/assets/index-15e9db8f.js} +2 -2
  254. package/dist/lite/assets/{index-b790a26c.js → index-246c0bc3.js} +1 -1
  255. package/dist/{assets/index-3400cea2.js → lite/assets/index-356c5622.js} +1 -1
  256. package/dist/{assets/index-99c43b40.js → lite/assets/index-8e8c9799.js} +1 -1
  257. package/dist/{assets/index-3b1abe07.js → lite/assets/index-a734ae71.js} +1 -1
  258. package/dist/lite/assets/{index-73004303.js → index-bc9e61a1.js} +1 -1
  259. package/dist/lite/assets/{index-f564879e.js → index-c9ff382d.js} +1 -1
  260. package/dist/{assets/index-c9375034.js → lite/assets/index-fc52fbd8.js} +1 -1
  261. package/dist/lite/assets/{index-legacy-94bb4d8b.js → index-legacy-26fd6706.js} +1 -1
  262. package/dist/lite/assets/{index-legacy-387d8666.js → index-legacy-47ddae0d.js} +1 -1
  263. package/dist/{assets/index-legacy-1e4593e9.js → lite/assets/index-legacy-81513d1e.js} +3 -3
  264. package/dist/{assets/index-legacy-b8f4b57c.js → lite/assets/index-legacy-a2982e85.js} +1 -1
  265. package/dist/{assets/index-legacy-9edb8124.js → lite/assets/index-legacy-aad632b4.js} +1 -1
  266. package/dist/{assets/index-legacy-8280e63e.js → lite/assets/index-legacy-c5ef6985.js} +1 -1
  267. package/dist/lite/assets/{index-legacy-d787d60e.js → index-legacy-c65cb5fa.js} +1 -1
  268. package/dist/{assets/index-legacy-16ccbe96.js → lite/assets/index-legacy-d6a1873d.js} +1 -1
  269. package/dist/lite/assets/{index-legacy-8b61a807.js → index-legacy-ee8d78f1.js} +1 -1
  270. package/dist/lite/assets/{index-legacy-275e1f59.js → index-legacy-eff70e35.js} +1 -1
  271. package/dist/{assets/indexes-c060677a.js → lite/assets/indexes-9f8a0da5.js} +1 -1
  272. package/dist/{assets/indexes-legacy-8e814ad5.js → lite/assets/indexes-legacy-b14be20a.js} +1 -1
  273. package/dist/lite/assets/{ipa-bae46248.js → ipa-58520283.js} +1 -1
  274. package/dist/{assets/ipa-legacy-97425003.js → lite/assets/ipa-legacy-54b93dc8.js} +1 -1
  275. package/dist/lite/assets/{markdown-e425a3a1.js → markdown-2474d31f.js} +1 -1
  276. package/dist/lite/assets/{markdown-legacy-bde99c55.js → markdown-legacy-d6aa61d6.js} +1 -1
  277. package/dist/lite/assets/{markdown_with_word_wrap-cd21ff2a.js → markdown_with_word_wrap-7d6648bc.js} +1 -1
  278. package/dist/lite/assets/{markdown_with_word_wrap-legacy-faf6a6a9.js → markdown_with_word_wrap-legacy-c1248f0d.js} +1 -1
  279. package/dist/lite/assets/offline_download-26cf1159.js +1 -0
  280. package/dist/lite/assets/{offline_download-legacy-1b0a94f2.js → offline_download-legacy-c3c505b2.js} +1 -1
  281. package/dist/lite/assets/plist-5b15735d.js +1 -0
  282. package/dist/lite/assets/{plist-legacy-7645e930.js → plist-legacy-74505ae8.js} +1 -1
  283. package/dist/lite/assets/{polyfills-legacy-fa59231c.js → polyfills-legacy-84c7163c.js} +1 -1
  284. package/dist/{assets/style-b9ea5f4f.js → lite/assets/style-9cf67432.js} +1 -1
  285. package/dist/{assets/style-legacy-eabb8d42.js → lite/assets/style-legacy-6d756fee.js} +1 -1
  286. package/dist/lite/assets/{text-editor-eae5389b.js → text-editor-7e706d71.js} +1 -1
  287. package/dist/lite/assets/{text-editor-legacy-d09631a9.js → text-editor-legacy-3874bbc7.js} +1 -1
  288. package/dist/lite/assets/{url-fd7eab80.js → url-6f48922c.js} +1 -1
  289. package/dist/lite/assets/{url-legacy-fedb58a7.js → url-legacy-11b12bb3.js} +1 -1
  290. package/dist/lite/assets/{useTitle-59c90831.js → useTitle-47d2061a.js} +1 -1
  291. package/dist/lite/assets/{useTitle-legacy-cfd161e5.js → useTitle-legacy-29ec3cc1.js} +1 -1
  292. package/dist/{assets/video-89b66969.js → lite/assets/video-67ac47cd.js} +1 -1
  293. package/dist/lite/assets/{video-legacy-c132c2b4.js → video-legacy-d8a5c028.js} +1 -1
  294. package/dist/{assets/video360-6fa9ee8f.js → lite/assets/video360-0e243801.js} +1 -1
  295. package/dist/lite/assets/{video360-legacy-a7fbdc03.js → video360-legacy-0fdffd53.js} +1 -1
  296. package/dist/lite/assets/{video_box-720e4445.js → video_box-21c6a895.js} +1 -1
  297. package/dist/{assets/video_box-legacy-d84b7d99.js → lite/assets/video_box-legacy-b13adc7a.js} +1 -1
  298. package/dist/lite/i18n.tar.gz +0 -0
  299. package/dist/lite/index.html +3 -3
  300. package/package.json +1 -1
  301. package/dist/assets/Decompress-5ccca926.js +0 -1
  302. package/dist/assets/Grid-b6f2ce89.js +0 -1
  303. package/dist/assets/Upload-5879c494.js +0 -1
  304. package/dist/assets/entry-d112e634.js +0 -1
  305. package/dist/assets/entry-legacy-2e63503e.js +0 -1
  306. package/dist/assets/offline_download-de036ef5.js +0 -1
  307. package/dist/assets/plist-a194700a.js +0 -1
  308. package/dist/lite/assets/Decompress-d5f53066.js +0 -1
  309. package/dist/lite/assets/Grid-58437f58.js +0 -1
  310. package/dist/lite/assets/Upload-6b9806e1.js +0 -1
  311. package/dist/lite/assets/entry-19be961a.js +0 -1
  312. package/dist/lite/assets/entry-66db444a.js +0 -1
  313. package/dist/lite/assets/entry-legacy-0b760420.js +0 -1
  314. package/dist/lite/assets/entry-legacy-98b54dcd.js +0 -1
  315. package/dist/lite/assets/offline_download-48c994e3.js +0 -1
  316. package/dist/lite/assets/plist-1def8fbd.js +0 -1
@@ -1,4 +1,4 @@
1
- System.register([],(function(e,t){"use strict";return{execute:function(){var n=document.createElement("style");n.textContent='.markdown-body{width:100%}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.markdown-body .anchor:focus{outline:none}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' version=\'1.1\' width=\'16\' height=\'16\' aria-hidden=\'true\'%3E%3Cpath fill-rule=\'evenodd\' d=\'M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\'%3E%3C/path%3E%3C/svg%3E")}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body details{display:block}.markdown-body summary{display:list-item}.markdown-body a{background-color:initial}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit;font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none;max-width:100%;box-sizing:initial;display:initial}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{box-sizing:initial;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr:after,.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{clear:both}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px}.markdown-body h1,.markdown-body h2{font-weight:600}.markdown-body h2{font-size:24px}.markdown-body h3{font-size:20px}.markdown-body h3,.markdown-body h4{font-weight:600}.markdown-body h4{font-size:16px}.markdown-body h5{font-size:14px}.markdown-body h5,.markdown-body h6{font-weight:600}.markdown-body h6{font-size:12px}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code,.markdown-body pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:16px}.markdown-body pre{margin-top:0;margin-bottom:0}.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .border{border:1px solid #e1e4e8!important}.markdown-body .border-0{border:0!important}.markdown-body .border-bottom{border-bottom:1px solid #e1e4e8!important}.markdown-body .rounded-1{border-radius:3px!important}.markdown-body .bg-white{background-color:#fff!important}.markdown-body .bg-gray-light{background-color:#fafbfc!important}.markdown-body .text-gray-light{color:#6a737d!important}.markdown-body .my-2{margin-top:8px!important;margin-bottom:8px!important}.markdown-body .pl-3,.markdown-body .px-3{padding-left:16px!important}.markdown-body .px-3{padding-right:16px!important}.markdown-body .f6{font-size:12px!important}.markdown-body .lh-condensed{line-height:1.25!important}.markdown-body .text-bold{font-weight:600!important}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2:before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .mb-0{margin-bottom:0!important}.markdown-body .my-2{margin-bottom:8px!important}.markdown-body .my-2{margin-top:8px!important}.markdown-body .pl-0{padding-left:0!important}.markdown-body .py-0{padding-top:0!important;padding-bottom:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .py-2{padding-top:8px!important;padding-bottom:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body .pl-7{padding-left:48px!important}.markdown-body .pl-8{padding-left:64px!important}.markdown-body .pl-9{padding-left:80px!important}.markdown-body .pl-10{padding-left:96px!important}.markdown-body .pl-11{padding-left:112px!important}.markdown-body .pl-12{padding-left:128px!important}.markdown-body hr{border-bottom-color:#eee}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:1px solid #d1d5da;border-radius:3px;box-shadow:inset 0 -1px #d1d5da}.markdown-body:after,.markdown-body:before{display:table;content:""}.markdown-body:after{clear:both}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1{font-size:2em}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.markdown-body h2{font-size:1.5em}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:90%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:initial;border:0}.markdown-body .commit-tease-sha{display:inline-block;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:90%;color:#444d56}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body .blob-wrapper{overflow-x:auto;overflow-y:hidden}.markdown-body .blob-wrapper-embedded{max-height:240px;overflow-y:auto}.markdown-body .blob-num{width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,.3);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .blob-num:hover{color:rgba(27,31,35,.6)}.markdown-body .blob-num:before{content:attr(data-line-number)}.markdown-body .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.markdown-body .blob-code-inner{overflow:visible;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;color:#24292e;word-wrap:normal;white-space:pre}.markdown-body .pl-token.active,.markdown-body .pl-token:hover{cursor:pointer;background:#ffea7f}.markdown-body .tab-size[data-tab-size="1"]{-moz-tab-size:1;tab-size:1}.markdown-body .tab-size[data-tab-size="2"]{-moz-tab-size:2;tab-size:2}.markdown-body .tab-size[data-tab-size="3"]{-moz-tab-size:3;tab-size:3}.markdown-body .tab-size[data-tab-size="4"]{-moz-tab-size:4;tab-size:4}.markdown-body .tab-size[data-tab-size="5"]{-moz-tab-size:5;tab-size:5}.markdown-body .tab-size[data-tab-size="6"]{-moz-tab-size:6;tab-size:6}.markdown-body .tab-size[data-tab-size="7"]{-moz-tab-size:7;tab-size:7}.markdown-body .tab-size[data-tab-size="8"]{-moz-tab-size:8;tab-size:8}.markdown-body .tab-size[data-tab-size="9"]{-moz-tab-size:9;tab-size:9}.markdown-body .tab-size[data-tab-size="10"]{-moz-tab-size:10;tab-size:10}.markdown-body .tab-size[data-tab-size="11"]{-moz-tab-size:11;tab-size:11}.markdown-body .tab-size[data-tab-size="12"]{-moz-tab-size:12;tab-size:12}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.hope-ui-dark .markdown-body{color:#f3f4f6}.hope-ui-dark .markdown-body a{color:#0284c7}.hope-ui-dark .markdown-body hr{border-bottom:1px solid #21262d;border-bottom-color:#21262d;background-color:#30363d}.hope-ui-dark .markdown-body kbd{color:#b1bac4;background-color:#0d1117;border:1px solid #6e7681;box-shadow:inset 0 -1px #6e7681}.hope-ui-dark .markdown-body :checked+.radio-label{border-color:rgba(56,139,253,.4)}.hope-ui-dark .markdown-body .border{border:1px solid #30363d!important}.hope-ui-dark .markdown-body .border-bottom{border-bottom:1px solid #30363d!important}.hope-ui-dark .markdown-body .bg-white,.hope-ui-dark .markdown-body .bg-gray-light{background-color:#0d1117!important}.hope-ui-dark .markdown-body .text-gray-light{color:#8b949e!important}.hope-ui-dark .markdown-body .pl-c{color:#8b949e}.hope-ui-dark .markdown-body .pl-c1,.hope-ui-dark .markdown-body .pl-s .pl-v{color:#79c0ff}.hope-ui-dark .markdown-body .pl-e,.hope-ui-dark .markdown-body .pl-en{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-s .pl-s1,.hope-ui-dark .markdown-body .pl-smi{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-ent{color:#7ee787}.hope-ui-dark .markdown-body .pl-k{color:#ff7b72}.hope-ui-dark .markdown-body .pl-pds,.hope-ui-dark .markdown-body .pl-s,.hope-ui-dark .markdown-body .pl-s .pl-pse .pl-s1,.hope-ui-dark .markdown-body .pl-sr,.hope-ui-dark .markdown-body .pl-sr .pl-cce,.hope-ui-dark .markdown-body .pl-sr .pl-sra,.hope-ui-dark .markdown-body .pl-sr .pl-sre{color:#a5d6ff}.hope-ui-dark .markdown-body .pl-smw,.hope-ui-dark .markdown-body .pl-v{color:#ffa657}.hope-ui-dark .markdown-body .pl-bu{color:#f85149}.hope-ui-dark .markdown-body .pl-ii{color:#f0f6fc;background-color:#8e1519}.hope-ui-dark .markdown-body .pl-c2{color:#f0f6fc;background-color:#b62324}.hope-ui-dark .markdown-body .pl-sr .pl-cce{color:#7ee787}.hope-ui-dark .markdown-body .pl-ml{color:#f2cc60}.hope-ui-dark .markdown-body .pl-mh,.hope-ui-dark .markdown-body .pl-mh .pl-en,.hope-ui-dark .markdown-body .pl-ms{color:#1f6feb}.hope-ui-dark .markdown-body .pl-mi,.hope-ui-dark .markdown-body .pl-mb{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-md{color:#ffdcd7;background-color:#67060c}.hope-ui-dark .markdown-body .pl-mi1{color:#aff5b4;background-color:#033a16}.hope-ui-dark .markdown-body .pl-mc{color:#ffdfb6;background-color:#5a1e02}.hope-ui-dark .markdown-body .pl-mi2{color:#c9d1d9;background-color:#1158c7}.hope-ui-dark .markdown-body .pl-mdr{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-ba{color:#8b949e}.hope-ui-dark .markdown-body .pl-sg{color:#484f58}.hope-ui-dark .markdown-body .pl-corl{color:#a5d6ff}.hope-ui-dark .markdown-body blockquote{color:#8b949e;border-left:.25em solid #3b434b}.hope-ui-dark .markdown-body h1,.hope-ui-dark .markdown-body h2{border-bottom:1px solid #21262d}.hope-ui-dark .markdown-body h6{color:#8b949e}.hope-ui-dark .markdown-body table td,.hope-ui-dark .markdown-body table th{border:1px solid #3b434b}.hope-ui-dark .markdown-body table tr{background-color:#0d1117;border-top:1px solid #272c32}.hope-ui-dark .markdown-body table tr:nth-child(2n){background-color:#161b22}.hope-ui-dark .markdown-body .highlight pre,.hope-ui-dark .markdown-body pre{background-color:#1f1f22}.hope-ui-dark .markdown-body .commit-tease-sha{color:#b1bac4}.hope-ui-dark .markdown-body .blob-num{color:rgba(240,246,252,.3)}.hope-ui-dark .markdown-body .blob-num:hover{color:rgba(240,246,252,.6)}.hope-ui-dark .markdown-body .blob-code-inner{color:#c9d1d9}.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hope-ui-dark .hljs{color:rgba(255,255,255,.92)}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:700}.hope-ui-dark .hljs-keyword,.hope-ui-dark .hljs-selector-tag,.hope-ui-dark .hljs-subst{color:rgba(255,255,255,.92)}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hope-ui-dark .hljs-doctag,.hope-ui-dark .hljs-string{color:#fc8181}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hope-ui-dark .hljs-section,.hope-ui-dark .hljs-selector-id,.hope-ui-dark .hljs-title{color:#f56565}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hope-ui-dark .hljs-class .hljs-title,.hope-ui-dark .hljs-type{color:#9f7aea}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hope-ui-dark .hljs-attribute,.hope-ui-dark .hljs-name,.hope-ui-dark .hljs-tag{color:#63b3ed}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hope-ui-dark .hljs-built_in,.hope-ui-dark .hljs-builtin-name{color:#00c5ff}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.markdown-body.word-wrap code{white-space:break-spaces;word-break:break-all}.katex-display .frac-line{border-bottom-width:.04em}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}::-webkit-scrollbar-thumb{border-radius:2px;background-color:rgba(0,0,0,.3)}::-webkit-scrollbar-button:vertical{display:none}::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.35)}::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.38)}.hope-ui-dark ::-webkit-scrollbar-corner,.hope-ui-dark ::-webkit-scrollbar-track{background-color:#0f0f0f}.hope-ui-dark ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.hope-select__option{flex-shrink:0}\n',document.head.appendChild(n),e({A:Dc,B:Ic,C:$c,D:ps,E:xc,F:eu,G:x,I:Eu,J:me,K:Te,M:Kc,N:Is,O:Ms,Q:function(e){e=me({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=be(e,["href","state","class","activeClass","inactiveClass","end"]),n=kt((()=>e.href)),r=Ct(n),o=xt(),i=x((()=>{const t=n();if(void 0===t)return!1;const r=dt(t.split(/[?#]/,1)[0]).toLowerCase(),i=dt(o.pathname).toLowerCase();return e.end?r===i:i.startsWith(r)}));return Ge(a=Lt(),me(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),a;var a},S:we,T:Oh,U:$s,V:As,X:ve,Z:Za,a0:I,a1:Oe,a3:ke,a4:Ce,a9:Ch,aA:Uu,aB:at,aD:Mu,aE:bu,aH:bl,aI:HM,aK:wu,aL:Bs,aM:gv,aN:function(e){return gv({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)},aO:function(e){return gv({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)},aQ:Rh,aS:Mh,aT:We,aZ:function(e){return gv({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)},a_:function(e){return gv({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)},aa:pd,ad:A,ai:function(e){const[n,r]=w("utf-8"),[o,i]=w(!0),{isString:a,text:l}=iv(e.children),{pathname:s}=jb(),c=x((()=>{let t=(t=>e.ext&&"md"!==e.ext.toLocaleLowerCase()?"```"+e.ext+"\n"+t+"\n```":t)(l(n()));return t=t.replace(/!\[.*?\]\((.*?)\)/g,(t=>{const n=t.match(/!\[(.*?)\]\(.*?\)/)[1];let r=t.match(/!\[.*?\]\((.*?)\)/)[1];if(r.startsWith("data:image/"))return t;if(r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//"))return t;r=r.startsWith("/")?`${Wh}/d${r}`:`${Wh}/d${Qh(Bb().base_path,Zh(e.readme?s():ef(s()),r))}`;const o=`![${n}](${r})`;return console.log(o),o})),t})),[u,d]=w([jk]),[p,h]=w([hI]);S(I(c,(async()=>{if(i(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(c())){const{default:e}=await Ev((()=>t.import("./index-legacy-b8f4b57c.js")),void 0),{default:n}=await Ev((()=>t.import("./index-legacy-4f0016ed.js")),void 0);tM(),d([...u(),e]),h([...p(),n])}nM(),setTimeout((()=>{i(!0),Dv.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()}))})));const[f,g]=w();return de(ol,{ref:e=>g(e),class:"markdown",pos:"relative",w:"$full",get children(){return[de(we,{get when(){return o()},get children(){return de(FT,{get class(){return function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=fI(e))&&(r&&(r+=" "),r+=t);return r}("markdown-body",e.class)},get remarkPlugins(){return u()},get rehypePlugins(){return p()},get children(){return c()}})}}),de(we,{when:!a,get children(){return de(FM,{get encoding(){return n()},setEncoding:r,get referenceText(){return e.children}})}}),de(eM,{get disabled(){return!e.toc},get markdownRef(){return f()}})]}})},ak:wc,am:R,ao:dd,ap:Kl,as:Fe,at:Ku,au:gu,ax:function(e){return gv({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)},ay:function(e){return gv({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)},az:Bu,b$:function(e){return gv({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)},b2:function(e){return gv({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)},b5:pc,bA:ep,bB:Op,bC:_p,bD:Rp,bE:sp,bF:op,bG:up,bH:hp,bI:yp,bJ:bp,bK:Xp,bL:ec,bN:O,bP:it,bR:fu,bS:Qc,bT:function(e){return gv({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)},bU:function(e){return gv({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)},bV:function(e){return gv({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)},bW:function(e){return gv({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)},bX:function(e){return gv({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)},bY:function(e){return gv({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)},bZ:function(e){return gv({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)},b_:function(e){return gv({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)},be:function(e){const[t,n,r]=be(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return de(ep,me(n,{get children(){return[de(Op,me(r,{get children(){return[de(we,{get when(){return t.placeholder},get children(){return de(_p,{get children(){return t.placeholder}})}}),de(Rp,{}),de(sp,{})]}})),de(op,{get children(){return de(up,{get children(){return t.children}})}})]}}))},bf:function(e){const[t,n]=be(e,["children","value"]);return de(hp,me({get value(){return t.value}},n,{get children(){return[de(yp,{get children(){return t.children}}),de(bp,{})]}}))},bi:zd,bj:Vd,bn:aM,bo:Mc,bp:Xc,bq:Vc,br:function(e){var t,n,r,o,i,a,l,s;const c=Ya().Drawer,u={"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close drawer",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(s=null==(l=null==c?void 0:c.defaultProps)?void 0:l.closeButton)?void 0:s.icon},d=me(u,e);return de(Mc,me({get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton}},d))},bs:function(e){const t=Ya().Drawer;return de(Dc,me({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},e))},bt:function(e){const t=Ya().Drawer;return de(Ic,me({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},e))},bx:function(e){const t=Ya().Drawer,[,n]=be(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=Jt({get placement(){var n,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.placement)?i:"right"},get size(){var n,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.size)?i:"xs"},get fullHeight(){var n,r,o,i;return null!=(i=null!=(o=e.fullHeight)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.fullHeight)&&i},get disableMotion(){var n,r,o,i;return null!=(i=null!=(o=e.disableMotion)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.disableMotion)&&i}});return de(Bc.Provider,{value:r,get children(){return de(xc,me({scrollBehavior:"inside",get blockScrollOnMount(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.blockScrollOnMount},get closeOnEsc(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnEsc},get closeOnOverlayClick(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnOverlayClick},get preserveScrollBarGap(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.preserveScrollBarGap},get trapFocus(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})},by:ru,c$:function(e){return gv({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)},c0:function(e){return gv({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)},c1:function(e){return gv({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)},c2:function(e){return gv({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)},c3:function(e){return gv({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)},c4:function(e){return gv({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)},c5:function(e){return gv({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)},c6:function(e){return gv({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)},c7:function(e){return gv({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)},cB:Qn,cE:function(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate(),i=t.getHours(),a=t.getMinutes(),l=t.getSeconds();return n+"-"+km(r)+"-"+km(o)+" "+km(i)+":"+km(a)+":"+km(l)},cG:function(e){const t=`hope-popover-${Ee()}`,n=Ya().Popover,[r,o]=Jt({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return void 0!==e.opened},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var n;return null!=(n=e.id)?n:t},get triggerId(){return`${this.contentId}--trigger`},get headerId(){return`${this.contentId}--header`},get bodyId(){return`${this.contentId}--body`},get triggerMode(){var t;return null!=(t=e.triggerMode)?t:"click"},get triggerOnClick(){return"click"===this.triggerMode},get triggerOnHover(){return"hover"===this.triggerMode},get initialFocus(){return e.initialFocus},get inline(){var t;return null!=(t=e.inline)&&t},get initialPlacement(){var t,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom"},get offset(){var t,r,o,i;return null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:8},get arrowPadding(){var t,r,o,i;return null!=(i=null!=(o=e.arrowPadding)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.arrowPadding)?i:8},get openDelay(){var t,r,o,i;return null!=(i=null!=(o=e.openDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.openDelay)?i:0},get closeDelay(){var t,r,o,i;return null!=(i=null!=(o=e.closeDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeDelay)?i:100},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get closeOnBlur(){var t,r,o,i;return null==(i=null!=(o=e.closeOnBlur)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnBlur)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null!=(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)&&i}});let i,a,l,s,c,u,d,p;async function h(){var t,n,c;const u=null!=i?i:a;if(!u||!l)return;const d=[oo(r.offset)];r.inline&&d.push(lo()),d.push(eo()),d.push(io({padding:e.shiftPadding})),s&&d.push(qr({element:s,padding:r.arrowPadding})),d.push(ro());const{x:p,y:h,placement:f,middlewareData:g}=await Bo(u,l,{placement:r.initialPlacement,middleware:d});if(f!==r.finalPlacement&&o("finalPlacement",f),!l)return;const m=null==(t=g.hide)?void 0:t.referenceHidden;if(Object.assign(l.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`,visibility:m?"hidden":"visible"}),!s)return;const b=null==(n=g.arrow)?void 0:n.x,v=null==(c=g.arrow)?void 0:c.y,y={top:"bottom",right:"left",bottom:"top",left:"right"}[f.split("-")[0]],E=-1*(Math.round(s.clientWidth/2)+1)+"px";Object.assign(s.style,{left:null!=b?`${Math.round(b)}px`:"",top:null!=v?`${Math.round(v)}px`:"",right:"",bottom:"",[y]:E})}const f=()=>{var t;r.isControlled||o("_opened",!0),null==(t=e.onOpen)||t.call(e),h()},g=()=>{var t;r.isControlled||o("_opened",!1),null==(t=e.onClose)||t.call(e)},m=()=>{!r.isHovering&&g()},b=()=>{u&&window.clearTimeout(u),d=window.setTimeout(g,r.closeDelay)},v=()=>{if(!r.initialFocus)return void(null==l||l.focus());const e=document.querySelector(r.initialFocus);e&&function(e){if(!function(e){var t;if(!il(e))return!1;const n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}(e)||bd(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||md(e)}(e)&&(null==e||e.focus())},y=()=>{_(!1),u&&window.clearTimeout(u),d=window.setTimeout(m,r.closeDelay)},E=y,_=e=>o("isHovering",e),T=()=>r.opened;M((()=>{window.clearTimeout(u),window.clearTimeout(d)}));const w={state:r,assignAnchorRef:e=>{i=e},assignTriggerRef:e=>{a=e},assignPopoverRef:e=>{l=e},assignArrowRef:e=>{s=e},openWithDelay:()=>{u=window.setTimeout(f,r.openDelay)},closeWithDelay:b,onTriggerBlur:e=>{const t=cl(e),n=!sl(l,t);r.opened&&r.closeOnBlur&&n&&b()},onTriggerMouseLeave:y,onPopoverFocusOut:e=>{const t=cl(e),n=sl(l,t),o=sl(a,t),i=!n&&!o;r.opened&&r.closeOnBlur&&i&&b()},onPopoverMouseLeave:E,updatePopoverPosition:h,afterPopoverOpen:()=>{(()=>{const e=null!=i?i:a;e&&l&&(p=Do(e,l,h))})(),r.trapFocus&&l?(c=Mr(l,{initialFocus:r.initialFocus,fallbackFocus:`[id='${r.contentId}']`,allowOutsideClick:!1}),c.activate()):v()},afterPopoverClose:()=>{null==c||c.deactivate(),null==p||p()},setIsHovering:_,setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return de(vd.Provider,{value:w,get children(){return de(we,{get when(){return pl(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:T,onClose:b})}})}})},cH:function(e){const t=yd(),[n,r]=be(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),o=e=>{Qo(n.onClick,e),t.state.opened?t.closeWithDelay():t.openWithDelay()},i=e=>{Qo(n.onKeyDown,e),"Escape"===e.key&&t.closeWithDelay()},a=e=>{Qo(n.onFocus,e),t.openWithDelay()},l=e=>{Jo(n.onBlur,t.onTriggerBlur)(e)},s=e=>{Qo(n.onMouseEnter,e),t.setIsHovering(!0),t.openWithDelay()},c=e=>{Qo(n.onMouseLeave,e),t.onTriggerMouseLeave()};return de(rl.button,me({ref:e=>{t.assignTriggerRef(e),Xo(n.ref)?n.ref(e):n.ref=e},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?o:void 0},get onKeyDown(){return t.state.triggerOnHover?i:void 0},get onFocus(){return t.state.triggerOnHover?a:void 0},get onBlur(){return t.state.triggerOnHover?l:void 0},get onMouseEnter(){return t.state.triggerOnHover?s:void 0},get onMouseLeave(){return t.state.triggerOnHover?c:void 0}},r))},cI:function(e){return gv({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)},cJ:Cd,cK:_d,cL:wd,cP:function(e){return gv({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)},cQ:function(e){return gv({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)},cR:function(e){return gv({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)},cS:function(e){return gv({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)},cT:function(e){return gv({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)},cU:function(e){return gv({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)},cV:function(e){return gv({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)},cW:function(e){return gv({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)},cX:function(e){return gv({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)},cY:function(e){return gv({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)},cZ:function(e){return gv({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)},c_:function(e){return gv({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)},cd:C,ce:ze,cg:function(e){return gv({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)},ch:function(e){return gv({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)},ci:function(e){return gv({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)},cj:function(e){return gv({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)},ck:Hh,cl:function(e){return gv({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)},cp:Jt,cq:ys,cr:function(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"},cs:Ld,ct:Pd,cu:Xa,cw:function(e){return gv({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)},d$:Ke,d0:function(e){return gv({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)},d1:ud,d3:Cl,d4:Hl,d5:jl,d6:Al,d7:uu,d9:function(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(function(e,t,n={}){let r,o=[],i=[],a=[],l=[],c=0;return M((()=>ue(a))),()=>{const u=e()||[],d=u.length;return u[s],N((()=>{if(0===d)return 0!==c&&(ue(a),a=[],o=[],i=[],c=0,l=[]),n.fallback&&(o=[ce],i[0]=T((e=>(a[0]=e,n.fallback()))),c=1),i;for(o[0]===ce&&(a[0](),a=[],o=[],i=[],c=0),r=0;r<d;r++)r<o.length&&o[r]!==u[r]?l[r]((()=>u[r])):r>=o.length&&(i[r]=T(p));for(;r<o.length;r++)a[r]();return c=l.length=a.length=d,o=u.slice(0),i=i.slice(0,c)}));function p(e){a[r]=e;const[n,o]=w(u[r]);return l[r]=o,t(n,r)}}}((()=>e.each),e.children,t||void 0))},dA:H,dB:be,dC:je,dD:j,dE:k,dF:N,dL:function(){const{proxyLink:e}=Qb();return A("",(async()=>$m(e(Xm.obj,!0))))},dM:iv,dN:FM,dU:T,dV:$,db:$p,dc:iu,dd:su,de:Sc,df:He,dg:Ue,di:oh,dj:hh,dk:gh,dl:dh,dm:lh,dn:ch,dp:xd,dq:Ge,dt:function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?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(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n},dv:nn,dw:z,dy:function(e){const t=e.split("/").filter(Boolean),n=t.length;return e=>{const r=e.split("/").filter(Boolean);if(r.length-n<0)return null;let o=n?"":"/";for(let i=0;i<n;i++){const e=t[i],n=r[i];if(0!==e.localeCompare(n,void 0,{sensitivity:"base"}))return null;o+=`/${n}`}return o}},dz:Fp,f:mw,m:WT,p:sk,q:w,r:S,s:dk,t:fk,x:M,y:de,z:Uc});const r={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}};function o(e){const t=String(e),n=t.length-1;return r.context.id+(n?String.fromCharCode(96+n):"")+t}function i(e){r.context=e}const a=Symbol("solid-proxy"),l="function"==typeof Proxy,s=Symbol("solid-track"),c={equals:(e,t)=>e===t};let u=null,d=Q;const p=1,h=2,f={owned:null,cleanups:null,context:null,owner:null},g={};var m=null;let b=null,v=null,y=null,E=null,_=0;function T(e,t){const n=v,r=m,o=0===e.length,i=void 0===t?r:t,a=o?f:{owned:null,cleanups:null,context:i?i.context:null,owner:i},l=o?e:()=>e((()=>N((()=>ne(a)))));m=a,v=null;try{return Z(l,!0)}finally{v=n,m=r}}function w(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},c,t):c).equals||void 0};return[K.bind(n),e=>("function"==typeof e&&(e=b&&b.running&&b.sources.has(n)?e(n.tValue):e(n.value)),W(n,e))]}function k(e,t,n){q(Y(e,t,!0,p))}function C(e,t,n){q(Y(e,t,!1,p))}function S(e,t,n){d=J;const r=Y(e,t,!1,p),o=U&&z(U);o&&(r.suspense=o),n&&n.render||(r.user=!0),E?E.push(r):q(r)}function x(e,t,n){n=n?Object.assign({},c,n):c;const r=Y(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,q(r),K.bind(r)}function A(e,t,n){let o,i,a;"function"==typeof t?(o=e,i=t,a=n||{}):(o=!0,i=e,a=t||{});let l=null,s=g,c=null,u=!1,d=!1,p="initialValue"in a,h="function"==typeof o&&x(o);const f=new Set,[y,E]=(a.storage||w)(a.initialValue),[_,T]=w(void 0),[C,S]=w(void 0,{equals:!1}),[A,O]=w(p?"ready":"unresolved");function I(e,t,n,r){return l===e&&(l=null,void 0!==r&&(p=!0),e!==s&&t!==s||!a.onHydrated||queueMicrotask((()=>a.onHydrated(r,{value:t}))),s=g,b&&e&&u?(b.promises.delete(e),u=!1,Z((()=>{b.running=!0,R(t,n)}),!1)):R(t,n)),t}function R(e,t){Z((()=>{void 0===t&&E((()=>e)),O(void 0!==t?"errored":p?"ready":"unresolved"),T(t);for(const e of f.keys())e.decrement();f.clear()}),!1)}function M(){const e=U&&z(U),t=y(),n=_();if(void 0!==n&&!l)throw n;return v&&!v.user&&e&&k((()=>{C(),l&&(e.resolved&&b&&u?b.promises.add(l):f.has(e)||(e.increment(),f.add(e)))})),t}function L(e=!0){if(!1!==e&&d)return;d=!1;const t=h?h():o;if(u=b&&b.running,null==t||!1===t)return void I(l,N(y));let n;b&&l&&b.promises.delete(l);const r=s!==g?s:N((()=>{try{return i(t,{value:y(),refetching:e})}catch(r){n=r}}));if(void 0===n)return function(e){return e&&"object"==typeof e&&"then"in e}(r)?(l=r,"v"in r?(1===r.s?I(l,r.v,void 0,t):I(l,void 0,oe(r.v),t),r):(d=!0,queueMicrotask((()=>d=!1)),Z((()=>{O(p?"refreshing":"pending"),S()}),!1),r.then((e=>I(r,e,void 0,t)),(e=>I(r,void 0,oe(e),t))))):(I(l,r,void 0,t),r);I(l,void 0,oe(n),t)}r.context&&(c=r.getNextContextId(),"initial"===a.ssrLoadFrom?s=a.initialValue:r.load&&r.has(c)&&(s=r.load(c))),Object.defineProperties(M,{state:{get:()=>A()},error:{get:()=>_()},loading:{get(){const e=A();return"pending"===e||"refreshing"===e}},latest:{get(){if(!p)return M();const e=_();if(e&&!l)throw e;return y()}}});let $=m;return h?k((()=>($=m,L(!1)))):L(!1),[M,{refetch:e=>P($,(()=>L(e))),mutate:E}]}function O(e){return Z(e,!1)}function N(e){if(null===v)return e();const t=v;v=null;try{return e()}finally{v=t}}function I(e,t,n){const r=Array.isArray(e);let o,i=n&&n.defer;return n=>{let a;if(r){a=Array(e.length);for(let t=0;t<e.length;t++)a[t]=e[t]()}else a=e();if(i)return i=!1,n;const l=N((()=>t(a,o,n)));return o=a,l}}function R(e){S((()=>N(e)))}function M(e){return null===m||(null===m.cleanups?m.cleanups=[e]:m.cleanups.push(e)),e}function L(){return v}function $(){return m}function P(e,t){const n=m,r=v;m=e,v=null;try{return Z(t,!0)}catch(o){ae(o)}finally{m=n,v=r}}function D(e){if(b&&b.running)return e(),b.done;const t=v,n=m;return Promise.resolve().then((()=>{let r;return v=t,m=n,U&&(r=b||(b={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise((e=>r.resolve=e))),r.running=!0),Z(e,!1),v=m=null,r?r.done:void 0}))}const[B,F]=w(!1);function H(e,t){const n=Symbol("context");return{id:n,Provider:se(n),defaultValue:e}}function z(e){let t;return m&&m.context&&void 0!==(t=m.context[e.id])?t:e.defaultValue}function j(e){const t=x(e),n=x((()=>le(t())));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}let U;function G(){return U||(U=H())}function K(){const e=b&&b.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===p)q(this);else{const e=y;y=null,Z((()=>ee(this)),!1),y=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return e&&b.sources.has(this)?this.tValue:this.value}function W(e,t,n){let r=b&&b.running&&b.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(b){const r=b.running;(r||!n&&b.sources.has(e))&&(b.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&Z((()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=b&&b.running;r&&b.disposed.has(n)||((r?n.tState:n.state)||(n.pure?y.push(n):E.push(n),n.observers&&te(n)),r?n.tState=p:n.state=p)}if(y.length>1e6)throw y=[],new Error}),!1)}return t}function q(e){if(!e.fn)return;ne(e);const t=_;V(e,b&&b.running&&b.sources.has(e)?e.tValue:e.value,t),b&&!b.running&&b.sources.has(e)&&queueMicrotask((()=>{Z((()=>{b&&(b.running=!0),v=m=e,V(e,e.tValue,t),v=m=null}),!1)}))}function V(e,t,n){let r;const o=m,i=v;v=m=e;try{r=e.fn(t)}catch(a){return e.pure&&(b&&b.running?(e.tState=p,e.tOwned&&e.tOwned.forEach(ne),e.tOwned=void 0):(e.state=p,e.owned&&e.owned.forEach(ne),e.owned=null)),e.updatedAt=n+1,ae(a)}finally{v=i,m=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?W(e,r,!0):b&&b.running&&e.pure?(b.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function Y(e,t,n,r=p,o){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return b&&b.running&&(i.state=0,i.tState=r),null===m||m!==f&&(b&&b.running&&m.pure?m.tOwned?m.tOwned.push(i):m.tOwned=[i]:m.owned?m.owned.push(i):m.owned=[i]),i}function X(e){const t=b&&b.running;if(0===(t?e.tState:e.state))return;if((t?e.tState:e.state)===h)return ee(e);if(e.suspense&&N(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<_);){if(t&&b.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 t=e,o=n[r+1];for(;(t=t.owner)&&t!==o;)if(b.disposed.has(t))return}if((t?e.tState:e.state)===p)q(e);else if((t?e.tState:e.state)===h){const t=y;y=null,Z((()=>ee(e,n[0])),!1),y=t}}}function Z(e,t){if(y)return e();let n=!1;t||(y=[]),E?n=!0:E=[],_++;try{const t=e();return function(e){if(y&&(Q(y),y=null),e)return;let t;if(b)if(b.promises.size||b.queue.size){if(b.running)return b.running=!1,b.effects.push.apply(b.effects,E),E=null,void F(!0)}else{const e=b.sources,n=b.disposed;E.push.apply(E,b.effects),t=b.resolve;for(const t of E)"tState"in t&&(t.state=t.tState),delete t.tState;b=null,Z((()=>{for(const e of n)ne(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)ne(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}F(!1)}),!1)}const n=E;E=null,n.length&&Z((()=>d(n)),!1),t&&t()}(n),t}catch(r){n||(E=null),y=null,ae(r)}}function Q(e){for(let t=0;t<e.length;t++)X(e[t])}function J(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:X(r)}if(r.context){if(r.count)return r.effects||(r.effects=[]),void r.effects.push(...e.slice(0,n));i()}for(!r.effects||!r.done&&r.count||(e=[...r.effects,...e],n+=r.effects.length,delete r.effects),t=0;t<n;t++)X(e[t])}function ee(e,t){const n=b&&b.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];if(o.sources){const e=n?o.tState:o.state;e===p?o!==t&&(!o.updatedAt||o.updatedAt<_)&&X(o):e===h&&ee(o,t)}}}function te(e){const t=b&&b.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?r.tState:r.state)||(t?r.tState=h:r.state=h,r.pure?y.push(r):E.push(r),r.observers&&te(r))}}function ne(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ne(e.tOwned[t]);delete e.tOwned}if(b&&b.running&&e.pure)re(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)ne(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}b&&b.running?e.tState=0:e.state=0}function re(e,t){if(t||(e.tState=0,b.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)re(e.owned[n])}function oe(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function ie(e,t,n){try{for(const n of t)n(e)}catch(Dr){ae(Dr,n&&n.owner||null)}}function ae(e,t=m){const n=u&&t&&t.context&&t.context[u],r=oe(e);if(!n)throw r;E?E.push({fn(){ie(r,n,t)},state:p}):ie(r,n,t)}function le(e){if("function"==typeof e&&!e.length)return le(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function se(e,t){return function(t){let n;return C((()=>n=N((()=>(m.context={...m.context,[e]:t.value},j((()=>t.children)))))),void 0),n}}const ce=Symbol("fallback");function ue(e){for(let t=0;t<e.length;t++)e[t]()}function de(e,t){return N((()=>e(t||{})))}function pe(){return!0}const he={get:(e,t,n)=>t===a?n:e.get(t),has:(e,t)=>t===a||e.has(t),set:pe,deleteProperty:pe,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:pe,deleteProperty:pe}),ownKeys:e=>e.keys()};function fe(e){return(e="function"==typeof e?e():e)?e:{}}function ge(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function me(...e){let t=!1;for(let l=0;l<e.length;l++){const n=e[l];t=t||!!n&&a in n,e[l]="function"==typeof n?(t=!0,x(n)):n}if(l&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=fe(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in fe(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(fe(e[n])));return[...new Set(t)]}},he);const n={},r=Object.create(null);for(let a=e.length-1;a>=0;a--){const t=e[a];if(!t)continue;const o=Object.getOwnPropertyNames(t);for(let e=o.length-1;e>=0;e--){const i=o[e];if("__proto__"===i||"constructor"===i)continue;const a=Object.getOwnPropertyDescriptor(t,i);if(r[i]){const e=n[i];e&&(a.get?e.push(a.get.bind(t)):void 0!==a.value&&e.push((()=>a.value)))}else r[i]=a.get?{enumerable:!0,configurable:!0,get:ge.bind(n[i]=[a.get.bind(t)])}:void 0!==a.value?a:void 0}}const o={},i=Object.keys(r);for(let a=i.length-1;a>=0;a--){const e=i[a],t=r[e];t&&t.get?Object.defineProperty(o,e,t):o[e]=t?t.value:void 0}return o}function be(e,...t){if(l&&a in e){const n=new Set(t.length>1?t.flat():t[0]),r=t.map((t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter((t=>t in e))},he)));return r.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter((e=>!n.has(e)))},he)),r}const n={},r=t.map((()=>({})));for(const o of Object.getOwnPropertyNames(e)){const i=Object.getOwnPropertyDescriptor(e,o),a=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable;let l=!1,s=0;for(const e of t)e.includes(o)&&(l=!0,a?r[s][o]=i.value:Object.defineProperty(r[s],o,i)),++s;l||(a?n[o]=i.value:Object.defineProperty(n,o,i))}return[...r,n]}function ve(e){let t,n;const o=o=>{const a=r.context;if(a){const[o,l]=w();r.count||(r.count=0),r.count++,(n||(n=e())).then((e=>{!r.done&&i(a),r.count--,l((()=>e.default)),i()})),t=o}else if(!t){const[r]=A((()=>(n||(n=e())).then((e=>e.default))));t=r}let l;return x((()=>(l=t())?N((()=>{if(!a||r.done)return l(o);const e=r.context;i(a);const t=l(o);return i(e),t})):""))};return o.preload=()=>n||((n=e()).then((e=>t=()=>e.default)),n),o}let ye=0;function Ee(){return r.context?r.getNextContextId():"cl-"+ye++}const _e=e=>`Stale read from <${e}>.`;function Te(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(function(e,t,n={}){let r=[],o=[],i=[],a=0,l=t.length>1?[]:null;return M((()=>ue(i))),()=>{let c,u,d=e()||[],p=d.length;return d[s],N((()=>{let e,t,s,f,g,m,b,v,y;if(0===p)0!==a&&(ue(i),i=[],r=[],o=[],a=0,l&&(l=[])),n.fallback&&(r=[ce],o[0]=T((e=>(i[0]=e,n.fallback()))),a=1);else if(0===a){for(o=new Array(p),u=0;u<p;u++)r[u]=d[u],o[u]=T(h);a=p}else{for(s=new Array(p),f=new Array(p),l&&(g=new Array(p)),m=0,b=Math.min(a,p);m<b&&r[m]===d[m];m++);for(b=a-1,v=p-1;b>=m&&v>=m&&r[b]===d[v];b--,v--)s[v]=o[b],f[v]=i[b],l&&(g[v]=l[b]);for(e=new Map,t=new Array(v+1),u=v;u>=m;u--)y=d[u],c=e.get(y),t[u]=void 0===c?-1:c,e.set(y,u);for(c=m;c<=b;c++)y=r[c],u=e.get(y),void 0!==u&&-1!==u?(s[u]=o[c],f[u]=i[c],l&&(g[u]=l[c]),u=t[u],e.set(y,u)):i[c]();for(u=m;u<p;u++)u in s?(o[u]=s[u],i[u]=f[u],l&&(l[u]=g[u],l[u](u))):o[u]=T(h);o=o.slice(0,a=p),r=d.slice(0)}return o}));function h(e){if(i[u]=e,l){const[e,n]=w(u);return l[u]=n,t(d[u],e)}return t(d[u])}}}((()=>e.each),e.children,t||void 0))}function we(e){const t=e.keyed,n=x((()=>e.when),void 0,void 0),r=t?n:x(n,void 0,{equals:(e,t)=>!e==!t});return x((()=>{const o=r();if(o){const i=e.children;return"function"==typeof i&&i.length>0?N((()=>i(t?o:()=>{if(!N(r))throw _e("Show");return n()}))):i}return e.fallback}),void 0,void 0)}function ke(e){const t=j((()=>e.children)),n=x((()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let t=0;t<n.length;t++){const e=t,o=n[t],i=r,a=x((()=>i()?void 0:o.when),void 0,void 0),l=o.keyed?a:x(a,void 0,{equals:(e,t)=>!e==!t});r=()=>i()||(l()?[e,a,o]:void 0)}return r}));return x((()=>{const t=n()();if(!t)return e.fallback;const[r,o,i]=t,a=i.children;return"function"==typeof a&&a.length>0?N((()=>a(i.keyed?o():()=>{if(N(n)()?.[0]!==r)throw _e("Match");return o()}))):a}),void 0,void 0)}function Ce(e){return e}let Se;function xe(e){let t;r.context&&r.load&&(t=r.load(r.getContextId()));const[n,o]=w(t,void 0);return Se||(Se=new Set),Se.add(o),M((()=>Se.delete(o))),x((()=>{let r;if(r=n()){const t=e.fallback;return"function"==typeof t&&t.length?N((()=>t(r,(()=>o())))):t}return function(e,n){u||(u=Symbol("error")),(m=Y(void 0,void 0,!0)).context={...m.context,[u]:[n]},b&&b.running&&b.sources.add(m);try{return e()}catch(t){ae(t)}finally{m=m.owner}}((()=>e.children),o)}),void 0,void 0)}const Ae=H();function Oe(e){let t,n,o,a,l,s=0;const[c,u]=w(!1),d=G(),p={increment:()=>{1===++s&&u(!0)},decrement:()=>{0===--s&&u(!1)},inFallback:c,effects:[],resolved:!1},h=$();if(r.context&&r.load){const e=r.getContextId();let t=r.load(e);if(t&&("object"!=typeof t||1!==t.s?o=t:r.gather(e)),o&&"$$f"!==o){const[t,s]=w(void 0,{equals:!1});a=t,o.then((()=>{if(r.done)return s();r.gather(e),i(n),s(),i()}),(e=>{l=e,s()}))}}const f=z(Ae);let g;return f&&(t=f.register(p.inFallback)),M((()=>g&&g())),de(d.Provider,{value:p,get children(){return x((()=>{if(l)throw l;if(n=r.context,a)return a(),a=void 0;n&&"$$f"===o&&i();const s=x((()=>e.children));return x((r=>{const a=p.inFallback(),{showContent:l=!0,showFallback:c=!0}=t?t():{};return(!a||o&&"$$f"!==o)&&l?(p.resolved=!0,g&&g(),g=n=o=void 0,function(e){E.push.apply(E,e),e.length=0}(p.effects),s()):c?g?r:T((t=>(g=t,n&&(i({id:n.id+"F",count:0}),n=void 0),e.fallback)),h):void 0}))}))}})}const Ne=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Ie=new Set(["innerHTML","textContent","innerText","children"]),Re=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Me=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}}),Le=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),$e=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"]),Pe={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},De=e("ae",(e=>x((()=>e())))),Be="_$DX_DELEGATE";function Fe(e,t,n,r){let o;const i=()=>{const t=r?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},a=t?()=>N((()=>document.importNode(o||(o=i()),!0))):()=>(o||(o=i())).cloneNode(!0);return a.cloneNode=a,a}function He(e,t=window.document){const n=t[Be]||(t[Be]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Ze))}}function ze(e,t,n){Ve(e)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}function je(e,t){Ve(e)||(null==t?e.removeAttribute("class"):e.className=t)}function Ue(e,t,n){if(!t)return n?ze(e,"style"):t;const r=e.style;if("string"==typeof t)return r.cssText=t;let o,i;for(i in"string"==typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[i]&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}function Ge(e,t={},n,r){const o={};return r||C((()=>o.children=Qe(e,t.children,o.children))),C((()=>"function"==typeof t.ref&&Ke(t.ref,e))),C((()=>function(e,t,n,r,o={},i=!1){t||(t={});for(const a in o)if(!(a in t)){if("children"===a)continue;o[a]=Xe(e,a,null,o[a],n,i,t)}for(const a in t){if("children"===a){r||Qe(e,t.children);continue}const l=t[a];o[a]=Xe(e,a,l,o[a],n,i,t)}}(e,t,n,!0,o,!0))),o}function Ke(e,t,n){return N((()=>e(t,n)))}function We(e,t,n,r){if(void 0===n||r||(r=[]),"function"!=typeof t)return Qe(e,t,r,n);C((r=>Qe(e,t(),r,n)),r)}function qe(e){let t,n;return Ve()&&(t=r.registry.get(n=r.getNextContextId()))?(r.completed&&r.completed.add(t),r.registry.delete(n),t):e()}function Ve(e){return!!r.context&&!r.done&&(!e||e.isConnected)}function Ye(e,t,n){const r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n)}function Xe(e,t,n,r,o,i,a){let l,s,c,u,d;if("style"===t)return Ue(e,n,r);if("classList"===t)return function(e,t,n={}){const r=Object.keys(t||{}),o=Object.keys(n);let i,a;for(i=0,a=o.length;i<a;i++){const r=o[i];r&&"undefined"!==r&&!t[r]&&(Ye(e,r,!1),delete n[r])}for(i=0,a=r.length;i<a;i++){const o=r[i],a=!!t[o];o&&"undefined"!==o&&n[o]!==a&&a&&(Ye(e,o,!0),n[o]=a)}return n}(e,n,r);if(n===r)return r;if("ref"===t)i||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r,"function"!=typeof r&&r),n&&e.addEventListener(o,n,"function"!=typeof n&&n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=Le.has(o);if(!i&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(i||n)&&(function(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}(e,o,n,i),i&&He([o]))}else if("attr:"===t.slice(0,5))ze(e,t.slice(5),n);else if("bool:"===t.slice(0,5))!function(e,t,n){Ve(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}(e,t.slice(5),n);else if((d="prop:"===t.slice(0,5))||(c=Ie.has(t))||!o&&((u=function(e,t){const n=Me[e];return"object"==typeof n?n[t]?n.$:void 0:n}(t,e.tagName))||(s=Ne.has(t)))||(l=e.nodeName.includes("-")||"is"in a)){if(d)t=t.slice(5),s=!0;else if(Ve(e))return n;"class"===t||"className"===t?je(e,n):!l||s||c?e[u||t]=n:e[(p=t,p.toLowerCase().replace(/-([a-z])/g,((e,t)=>t.toUpperCase())))]=n}else{const r=o&&t.indexOf(":")>-1&&Pe[t.split(":")[0]];r?function(e,t,n,r){Ve(e)||(null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}(e,r,t,n):ze(e,Re[t]||t,n)}var p;return n}function Ze(e){if(r.registry&&r.events&&r.events.find((([t,n])=>n===e)))return;let t=e.target;const n=`$$${e.type}`,o=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),l=()=>{const r=t[n];if(r&&!t.disabled){const o=t[`${n}Data`];if(void 0!==o?r.call(t,o,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},s=()=>{for(;l()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),r.registry&&!r.done&&(r.done=_$HY.done=!0),e.composedPath){const n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],l());e++){if(t._$host){t=t._$host,s();break}if(t.parentNode===i)break}}else s();a(o)}function Qe(e,t,n,r,o){const i=Ve(e);if(i){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;const a=typeof t,l=void 0!==r;if(e=l&&n[0]&&n[0].parentNode||e,"string"===a||"number"===a){if(i)return n;if("number"===a&&(t=t.toString())===n)return n;if(l){let o=n[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=tt(e,n,r,o)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===a){if(i)return n;n=tt(e,n,r)}else{if("function"===a)return C((()=>{let o=t();for(;"function"==typeof o;)o=o();n=Qe(e,o,n,r)})),()=>n;if(Array.isArray(t)){const a=[],s=n&&Array.isArray(n);if(Je(a,t,n,o))return C((()=>n=Qe(e,a,n,r,!0))),()=>n;if(i){if(!a.length)return n;if(void 0===r)return n=[...e.childNodes];let t=a[0];if(t.parentNode!==e)return n;const o=[t];for(;(t=t.nextSibling)!==r;)o.push(t);return n=o}if(0===a.length){if(n=tt(e,n,r),l)return n}else s?0===n.length?et(e,a,r):function(e,t,n){let r=n.length,o=t.length,i=r,a=0,l=0,s=t[o-1].nextSibling,c=null;for(;a<o||l<i;)if(t[a]!==n[l]){for(;t[o-1]===n[i-1];)o--,i--;if(o===a){const t=i<r?l?n[l-1].nextSibling:n[i-l]:s;for(;l<i;)e.insertBefore(n[l++],t)}else if(i===l)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===n[i-1]&&n[l]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--i],r),t[o]=n[i]}else{if(!c){c=new Map;let e=l;for(;e<i;)c.set(n[e],e++)}const r=c.get(t[a]);if(null!=r)if(l<r&&r<i){let s,u=a,d=1;for(;++u<o&&u<i&&null!=(s=c.get(t[u]))&&s===r+d;)d++;if(d>r-l){const o=t[a];for(;l<r;)e.insertBefore(n[l++],o)}else e.replaceChild(n[l++],t[a++])}else a++;else t[a++].remove()}}else a++,l++}(e,n,a):(n&&tt(e),et(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=tt(e,n,r,t);tt(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function Je(e,t,n,r){let o=!1;for(let i=0,a=t.length;i<a;i++){let a,l=t[i],s=n&&n[e.length];if(null==l||!0===l||!1===l);else if("object"==(a=typeof l)&&l.nodeType)e.push(l);else if(Array.isArray(l))o=Je(e,l,s)||o;else if("function"===a)if(r){for(;"function"==typeof l;)l=l();o=Je(e,Array.isArray(l)?l:[l],Array.isArray(s)?s:[s])||o}else e.push(l),o=!0;else{const t=String(l);s&&3===s.nodeType&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return o}function et(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function tt(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let i=t.length-1;i>=0;i--){const a=t[i];if(o!==a){const t=a.parentNode===e;r||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}const nt=!1,rt="http://www.w3.org/2000/svg";function ot(e,t=!1){return t?document.createElementNS(rt,e):document.createElement(e)}function it(e){const{useShadow:t}=e,n=document.createTextNode(""),o=$();let i,a=!!r.context;return S((()=>{a&&($().user=a=!1),i||(i=P(o,(()=>x((()=>e.children)))));const r=e.mount||document.body;if(r instanceof HTMLHeadElement){const[e,t]=w(!1),n=()=>t(!0);T((t=>We(r,(()=>e()?t():i()),null))),M(n)}else{const o=ot(e.isSVG?"g":"div",e.isSVG),a=t&&o.attachShadow?o.attachShadow({mode:"open"}):o;Object.defineProperty(o,"_$host",{get:()=>n.parentNode,configurable:!0}),We(a,i),r.appendChild(o),e.ref&&e.ref(o),M((()=>r.removeChild(o)))}}),void 0,{render:!a}),n}function at(e){const[,t]=be(e,["component"]);return function(e,t){const n=x(e);return x((()=>{const e=n();switch(typeof e){case"function":return N((()=>e(t)));case"string":const n=$e.has(e),o=r.context?qe():ot(e,n);return Ge(o,t,n),o}}))}((()=>e.component),t)}function lt(e,t){const n=function(e){if("#"===e)return null;try{return document.querySelector(e)}catch(Dr){return null}}(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}function st(){return function(e,t,n,r){let o=!1;const i=e=>"string"==typeof e?{value:e}:e,a=function([e,t],n,r){return[n?()=>n(e()):e,r?e=>t(r(e)):t]}(w(i(e()),{equals:(e,t)=>e.value===t.value}),void 0,(e=>(!o&&t(e),e)));return n&&M(n(((t=e())=>{o=!0,a[1](i(t)),o=!1}))),{signal:a,utils:r}}((()=>({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),lt(window.location.hash.slice(1),n)}),(e=>{return t=window,n="popstate",r=()=>e(),t.addEventListener(n,r),()=>t.removeEventListener(n,r);var t,n,r}),{go:e=>window.history.go(e)})}const ct=/^(?:[a-z0-9]+:)?\/\//i,ut=/^\/+|(\/)\/+$/g;function dt(e,t=!1){const n=e.replace(ut,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function pt(e,t,n){if(ct.test(t))return;const r=dt(e),o=n&&dt(n);let i="";return i=!o||t.startsWith("/")?r:0!==o.toLowerCase().indexOf(r.toLowerCase())?r+o:o,(i||"/")+dt(t,!i)}function ht(e,t){return dt(e).replace(/\/*(\*.*)?$/g,"")+dt(t)}function ft(e,t,n){const[r,o]=e.split("/*",2),i=r.split("/").filter(Boolean),a=i.length;return e=>{const r=e.split("/").filter(Boolean),l=r.length-a;if(l<0||l>0&&void 0===o&&!t)return null;const s={path:a?"":"/",params:{}},c=e=>void 0===n?void 0:n[e];for(let t=0;t<a;t++){const e=i[t],n=r[t],o=":"===e[0],a=o?e.slice(1):e;if(o&&gt(n,c(a)))s.params[a]=n;else if(o||!gt(n,e))return null;s.path+=`/${n}`}if(o){const e=l?r.slice(-l).join("/"):"";if(!gt(e,c(o)))return null;s.params[o]=e}return s}}function gt(e,t){const n=t=>0===t.localeCompare(e,void 0,{sensitivity:"base"});return void 0===t||("string"==typeof t?n(t):"function"==typeof t?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp&&t.test(e))}function mt(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce(((e,t)=>e+(t.startsWith(":")?2:3)),r.length-(void 0===n?0:1))}function bt(e){const t=new Map,n=$();return new Proxy({},{get:(r,o)=>(t.has(o)||P(n,(()=>t.set(o,x((()=>e()[o]))))),t.get(o)()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),ownKeys:()=>Reflect.ownKeys(e())})}function vt(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 o=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)o.push(n+=t[1]),r=r.slice(t[0].length);return vt(r).reduce(((e,t)=>[...e,...o.map((e=>e+t))]),[])}const yt=H(),Et=H(),_t=()=>function(e,t){if(null==e)throw new Error(t);return e}(z(yt),"Make sure your app is wrapped in a <Router />");let Tt;const wt=()=>Tt||z(Et)||_t().base,kt=e=>{const t=wt();return x((()=>t.resolvePath(e())))},Ct=e=>{const t=_t();return x((()=>{const n=e();return void 0!==n?t.renderPath(n):n}))},St=e("dO",(()=>_t().navigatorFactory())),xt=e("al",(()=>_t().location));function At(e,t="",n){const{component:r,data:o,children:i}=e,a=!i||Array.isArray(i)&&!i.length,l={key:e,element:r?()=>de(r,{}):()=>{const{element:t}=e;return void 0===t&&n?de(n,{}):t},preload:e.component?r.preload:e.preload,data:o};return Nt(e.path).reduce(((n,r)=>{for(const o of vt(r)){const r=ht(t,o),i=a?r:r.split("/*",1)[0];n.push({...l,originalPath:o,pattern:i,matcher:ft(i,!a,e.matchFilters)})}return n}),[])}function Ot(e,t=0){return{routes:e,score:1e4*mt(e[e.length-1])-t,matcher(t){const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r],i=o.matcher(t);if(!i)return null;n.unshift({...i,route:o})}return n}}}function Nt(e){return Array.isArray(e)?e:[e]}function It(e,t="",n,r=[],o=[]){const i=Nt(e);for(let a=0,l=i.length;a<l;a++){const e=i[a];if(e&&"object"==typeof e&&e.hasOwnProperty("path")){const i=At(e,t,n);for(const t of i){r.push(t);const i=Array.isArray(e.children)&&0===e.children.length;if(e.children&&!i)It(e.children,t.pattern,n,r,o);else{const e=Ot([...r],o.length);o.push(e)}r.pop()}}}return r.length?o:o.sort(((e,t)=>t.score-e.score))}function Rt(e,t="",n,r){const{signal:[o,i],utils:a={}}=function(e){return e?Array.isArray(e)?{signal:e}:e:{signal:w({value:""})}}(e),l=a.parsePath||(e=>e),s=a.renderPath||(e=>e),c=a.beforeLeave||function(){let e=new Set,t=!1;return{subscribe:function(t){return e.add(t),()=>e.delete(t)},confirm:function(n,r){if(t)return!(t=!1);const o={to:n,options:r,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const i of e)i.listener({...o,from:i.location,retry:e=>{e&&(t=!0),i.navigate(n,r)}});return!o.defaultPrevented}}}(),u=pt("",t);if(void 0===u)throw new Error(`${u} is not a valid base path`);u&&!o().value&&i({value:u,replace:!0,scroll:!1});const[d,p]=w(!1),h=async e=>{p(!0);try{await D(e)}finally{p(!1)}},[f,g]=w(o().value),[m,b]=w(o().state),v=function(e,t){const n=new URL("http://sar"),r=x((t=>{const r=e();try{return new URL(r,n)}catch(o){return console.error(`Invalid path ${r}`),t}}),n,{equals:(e,t)=>e.href===t.href}),o=x((()=>r().pathname)),i=x((()=>r().search),!0),a=x((()=>r().hash)),l=x((()=>""));return{get pathname(){return o()},get search(){return i()},get hash(){return a()},get state(){return t()},get key(){return l()},query:bt(I(i,(()=>function(e){const t={};return e.searchParams.forEach(((e,n)=>{t[n]=e})),t}(r()))))}}(f,m),y=[],E={pattern:u,params:{},path:()=>u,outlet:()=>null,resolvePath:e=>pt(u,e)};if(n)try{Tt=E,E.data=n({data:void 0,params:{},location:v,navigate:T(E)})}finally{Tt=void 0}function _(e,t,n){N((()=>{if("number"==typeof t)return void(t&&(a.go?c.confirm(t,n)&&a.go(t):console.warn("Router integration does not support relative routing")));const{replace:r,resolve:o,scroll:l,state:s}={replace:!1,resolve:!0,scroll:!0,...n},u=o?e.resolvePath(t):pt("",t);if(void 0===u)throw new Error(`Path '${t}' is not a routable path`);if(y.length>=100)throw new Error("Too many redirects");const d=f();if(u!==d||s!==m())if(nt);else if(c.confirm(u,n)){const e=y.push({value:d,replace:r,scroll:l,state:m()});h((()=>{g(u),b(s),Se&&[...Se].forEach((e=>e()))})).then((()=>{y.length===e&&function(e){const t=y[0];t&&(e.value===t.value&&e.state===t.state||i({...e,replace:t.replace,scroll:t.scroll}),y.length=0)}({value:u,state:s})}))}}))}function T(e){return e=e||z(Et)||E,(t,n)=>_(e,t,n)}C((()=>{const{value:e,state:t}=o();N((()=>{e!==f()&&h((()=>{g(e),b(t)}))}))}));{function k(e){if(e.defaultPrevented||0!==e.button||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;const t=e.composedPath().find((e=>e instanceof Node&&"A"===e.nodeName.toUpperCase()));if(!t||!t.hasAttribute("link"))return;const n=t.href;if(t.target||!n&&!t.hasAttribute("state"))return;const r=(t.getAttribute("rel")||"").split(/\s+/);if(t.hasAttribute("download")||r&&r.includes("external"))return;const o=new URL(n);if(o.origin!==window.location.origin||u&&o.pathname&&!o.pathname.toLowerCase().startsWith(u.toLowerCase()))return;const i=l(o.pathname+o.search+o.hash),a=t.getAttribute("state");e.preventDefault(),_(E,i,{resolve:!1,replace:t.hasAttribute("replace"),scroll:!t.hasAttribute("noscroll"),state:a&&JSON.parse(a)})}He(["click"]),document.addEventListener("click",k),M((()=>document.removeEventListener("click",k)))}return{base:E,out:void 0,location:v,isRouting:d,renderPath:s,parsePath:l,navigatorFactory:T,beforeLeave:c}}function Mt(e,t,n,r,o){const{base:i,location:a,navigatorFactory:l}=e,{pattern:s,element:c,preload:u,data:d}=r().route,p=x((()=>r().path));u&&u();const h={parent:t,pattern:s,get child(){return n()},path:p,params:o,data:t.data,outlet:c,resolvePath:e=>pt(i.path(),e,p())};if(d)try{Tt=h,h.data=d({data:t.data,params:o,location:a,navigate:l(h)})}finally{Tt=void 0}return h}var Lt=Fe("<a link>");const $t=e=>{const{source:t,url:n,base:r,data:o,out:i}=e,a=Rt(t||st(),r,o);return de(yt.Provider,{value:a,get children(){return e.children}})},Pt=e("ca",(e=>{const t=_t(),n=wt(),r=j((()=>e.children)),o=x((()=>It(r(),ht(n.pattern,e.base||""),Bt))),i=x((()=>function(e,t){for(let n=0,r=e.length;n<r;n++){const r=e[n].matcher(t);if(r)return r}return[]}(o(),t.location.pathname))),a=bt((()=>{const e=i(),t={};for(let n=0;n<e.length;n++)Object.assign(t,e[n].params);return t}));t.out&&t.out.matches.push(i().map((({route:e,path:t,params:n})=>({originalPath:e.originalPath,pattern:e.pattern,path:t,params:n}))));const l=[];let s;const c=x(I(i,((e,r,o)=>{let u=r&&e.length===r.length;const d=[];for(let s=0,p=e.length;s<p;s++){const p=r&&r[s],h=e[s];o&&p&&h.route.key===p.route.key?d[s]=o[s]:(u=!1,l[s]&&l[s](),T((e=>{l[s]=e,d[s]=Mt(t,d[s-1]||n,(()=>c()[s+1]),(()=>i()[s]),a)})))}return l.splice(e.length).forEach((e=>e())),o&&u?o:(s=d[0],d)})));return de(we,{get when(){return c()&&s},keyed:!0,children:e=>de(Et.Provider,{value:e,get children(){return e.outlet()}})})})),Dt=e("cb",(e=>{const t=j((()=>e.children));return me(e,{get children(){return t()}})})),Bt=()=>{const e=wt();return de(we,{get when(){return e.child},keyed:!0,children:e=>de(Et.Provider,{value:e,get children(){return e.outlet()}})})},Ft=Symbol("store-raw"),Ht=Symbol("store-node"),zt=Symbol("store-has"),jt=Symbol("store-self");function Ut(e){let t=e[a];if(!t&&(Object.defineProperty(e,a,{value:t=new Proxy(e,Yt)}),!Array.isArray(e))){const n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[i].get&&Object.defineProperty(e,i,{enumerable:r[i].enumerable,get:r[i].get.bind(t)})}}return t}function Gt(e){let t;return null!=e&&"object"==typeof e&&(e[a]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Kt(e,t=new Set){let n,r,o,i;if(n=null!=e&&e[Ft])return n;if(!Gt(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,i=e.length;n<i;n++)o=e[n],(r=Kt(o,t))!==o&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const n=Object.keys(e),a=Object.getOwnPropertyDescriptors(e);for(let l=0,s=n.length;l<s;l++)i=n[l],a[i].get||(o=e[i],(r=Kt(o,t))!==o&&(e[i]=r))}return e}function Wt(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function qt(e,t,n){if(e[t])return e[t];const[r,o]=w(n,{equals:!1,internal:!0});return r.$=o,e[t]=r}function Vt(e){L()&&qt(Wt(e,Ht),jt)()}const Yt={get(e,t,n){if(t===Ft)return e;if(t===a)return n;if(t===s)return Vt(e),n;const r=Wt(e,Ht),o=r[t];let i=o?o():e[t];if(t===Ht||t===zt||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!L()||"function"==typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=qt(r,t,i)())}return Gt(i)?Ut(i):i},has:(e,t)=>t===Ft||t===a||t===s||t===Ht||t===zt||"__proto__"===t||(L()&&qt(Wt(e,zt),t)(),t in e),set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return Vt(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==a&&t!==Ht?(delete n.value,delete n.writable,n.get=()=>e[a][t],n):n}};function Xt(e,t,n,r=!1){if(!r&&e[t]===n)return;const o=e[t],i=e.length;void 0===n?(delete e[t],e[zt]&&e[zt][t]&&void 0!==o&&e[zt][t].$()):(e[t]=n,e[zt]&&e[zt][t]&&void 0===o&&e[zt][t].$());let a,l=Wt(e,Ht);if((a=qt(l,t,o))&&a.$((()=>n)),Array.isArray(e)&&e.length!==i){for(let t=e.length;t<i;t++)(a=l[t])&&a.$();(a=qt(l,"length",i))&&a.$(e.length)}(a=l[jt])&&a.$()}function Zt(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];Xt(e,o,t[o])}}function Qt(e,t,n=[]){let r,o=e;if(t.length>1){r=t.shift();const i=typeof r,a=Array.isArray(e);if(Array.isArray(r)){for(let o=0;o<r.length;o++)Qt(e,[r[o]].concat(t),n);return}if(a&&"function"===i){for(let o=0;o<e.length;o++)r(e[o],o)&&Qt(e,[o].concat(t),n);return}if(a&&"object"===i){const{from:o=0,to:i=e.length-1,by:a=1}=r;for(let r=o;r<=i;r+=a)Qt(e,[r].concat(t),n);return}if(t.length>1)return void Qt(e[r],t,[r].concat(n));o=e[r],n=[r].concat(n)}let i=t[0];"function"==typeof i&&(i=i(o,n),i===o)||void 0===r&&null==i||(i=Kt(i),void 0===r||Gt(o)&&Gt(i)&&!Array.isArray(i)?Zt(o,i):Xt(e,r,i))}function Jt(...[e,t]){const n=Kt(e||{}),r=Array.isArray(n);return[Ut(n),function(...e){O((()=>{r&&1===e.length?function(e,t){if("function"==typeof t&&(t=t(e)),t=Kt(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const r=t[n];e[n]!==r&&Xt(e,n,r)}Xt(e,"length",r)}else Zt(e,t)}(n,e[0]):Qt(n,e)}))}]}const en=new WeakMap,tn={get(e,t){if(t===Ft)return e;const n=e[t];let r;return Gt(n)?en.get(n)||(en.set(n,r=new Proxy(n,tn)),r):n},set:(e,t,n)=>(Xt(e,t,Kt(n)),!0),deleteProperty:(e,t)=>(Xt(e,t,void 0,!0),!0)};function nn(e){return t=>{if(Gt(t)){let n;(n=en.get(t))||en.set(t,n=new Proxy(t,tn)),e(n)}return t}}var rn="colors",on="sizes",an="space",ln={gap:an,gridGap:an,columnGap:an,gridColumnGap:an,rowGap:an,gridRowGap:an,inset:an,insetBlock:an,insetBlockEnd:an,insetBlockStart:an,insetInline:an,insetInlineEnd:an,insetInlineStart:an,margin:an,marginTop:an,marginRight:an,marginBottom:an,marginLeft:an,marginBlock:an,marginBlockEnd:an,marginBlockStart:an,marginInline:an,marginInlineEnd:an,marginInlineStart:an,padding:an,paddingTop:an,paddingRight:an,paddingBottom:an,paddingLeft:an,paddingBlock:an,paddingBlockEnd:an,paddingBlockStart:an,paddingInline:an,paddingInlineEnd:an,paddingInlineStart:an,top:an,right:an,bottom:an,left:an,scrollMargin:an,scrollMarginTop:an,scrollMarginRight:an,scrollMarginBottom:an,scrollMarginLeft:an,scrollMarginX:an,scrollMarginY:an,scrollMarginBlock:an,scrollMarginBlockEnd:an,scrollMarginBlockStart:an,scrollMarginInline:an,scrollMarginInlineEnd:an,scrollMarginInlineStart:an,scrollPadding:an,scrollPaddingTop:an,scrollPaddingRight:an,scrollPaddingBottom:an,scrollPaddingLeft:an,scrollPaddingX:an,scrollPaddingY:an,scrollPaddingBlock:an,scrollPaddingBlockEnd:an,scrollPaddingBlockStart:an,scrollPaddingInline:an,scrollPaddingInlineEnd:an,scrollPaddingInlineStart:an,fontSize:"fontSizes",background:rn,backgroundColor:rn,backgroundImage:rn,borderImage:rn,border:rn,borderBlock:rn,borderBlockEnd:rn,borderBlockStart:rn,borderBottom:rn,borderBottomColor:rn,borderColor:rn,borderInline:rn,borderInlineEnd:rn,borderInlineStart:rn,borderLeft:rn,borderLeftColor:rn,borderRight:rn,borderRightColor:rn,borderTop:rn,borderTopColor:rn,caretColor:rn,color:rn,columnRuleColor:rn,fill:rn,outline:rn,outlineColor:rn,stroke:rn,textDecorationColor:rn,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:on,minBlockSize:on,maxBlockSize:on,inlineSize:on,minInlineSize:on,maxInlineSize:on,width:on,minWidth:on,maxWidth:on,height:on,minHeight:on,maxHeight:on,flexBasis:on,gridTemplateColumns:on,gridTemplateRows:on,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"},sn=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,cn=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(e=>JSON.stringify(e,sn))(t);return o in e?e[o]:e[o]=n(t,...r)}},un=Symbol.for("sxs.internal"),dn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),pn=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:hn}=Object.prototype,fn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),gn=/\s+(?![^()]*\))/,mn=e=>t=>e(..."string"==typeof t?String(t).split(gn):[t]),bn={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:`"${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:mn(((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e}))),marginInline:mn(((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e}))),maxSize:mn(((e,t)=>({maxBlockSize:e,maxInlineSize:t||e}))),minSize:mn(((e,t)=>({minBlockSize:e,minInlineSize:t||e}))),paddingBlock:mn(((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e}))),paddingInline:mn(((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e})))},vn=/([\d.]+)([^]*)/,yn=(e,t)=>e.length?e.reduce(((e,n)=>(e.push(...t.map((e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e))),e)),[]):t,En=(e,t)=>e in _n&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,((t,n,r,o)=>n+("stretch"===r?`-moz-available${o};${fn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${fn(e)}:${n}fit-content`)+o)):String(t),_n={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Tn=e=>e?e+"-":"",wn=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,((e,r,o,i,a)=>"$"==i==!!o?e:(r||"--"==i?"calc(":"")+"var(--"+("$"===i?Tn(t)+(a.includes("$")?"":Tn(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==i?"*"+(r||"")+(o||"1")+")":""))),kn=/\s*,\s*(?![^()]*\))/,Cn=Object.prototype.toString,Sn=(e,t,n,r,o)=>{let i,a,l;const s=(e,t,n)=>{let c,u;const d=e=>{for(c in e){const f=64===c.charCodeAt(0),g=f&&Array.isArray(e[c])?e[c]:[e[c]];for(u of g){const e=/[A-Z]/.test(h=c)?h:h.replace(/-[^]/g,(e=>e[1].toUpperCase())),g="object"==typeof u&&u&&u.toString===Cn&&(!r.utils[e]||!t.length);if(e in r.utils&&!g){const t=r.utils[e];if(t!==a){a=t,d(t(u)),a=null;continue}}else if(e in bn){const t=bn[e];if(t!==l){l=t,d(t(u)),l=null;continue}}if(f&&(p=c.slice(1)in r.media?"@media "+r.media[c.slice(1)]:c,c=p.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,((e,t,n,r,o,i)=>{const a=vn.test(t),l=.0625*(a?-1:1),[s,c]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+s+":"+("="!==n[0]&&1===n.length?c.replace(vn,((e,t,r)=>Number(t)+l*(">"===n?1:-1)+r)):c)+(o?") and ("+(">"===o[0]?"min-":"max-")+s+":"+(1===o.length?i.replace(vn,((e,t,n)=>Number(t)+l*(">"===o?-1:1)+n)):i):"")+")"}))),g){const e=f?n.concat(c):[...n],r=f?[...t]:yn(t,c.split(kn));void 0!==i&&o(xn(...i)),i=void 0,s(u,r,e)}else void 0===i&&(i=[[],t,n]),c=f||36!==c.charCodeAt(0)?c:`--${Tn(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,u=g?u:"number"==typeof u?u&&e in An?String(u)+"px":String(u):wn(En(e,null==u?"":u),r.prefix,r.themeMap[e]),i[0].push(`${f?`${c} `:`${fn(c)}:`}${u}`)}}var p,h};d(e),void 0!==i&&o(xn(...i)),i=void 0};s(e,t,n)},xn=(e,t,n)=>`${n.map((e=>`${e}{`)).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,An={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},On=e=>String.fromCharCode(e+(e>25?39:97)),Nn=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=On(t%52)+n;return On(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),In=["themed","global","styled","onevar","resonevar","allvar","inline"],Rn=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},Mn=e=>{let t;const n=()=>{const{cssRules:e}=t.sheet;return[].map.call(e,((n,r)=>{const{cssText:o}=n;let i="";if(o.startsWith("--sxs"))return"";if(e[r-1]&&(i=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(const e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${o}`;return n.cssRules.length?`${i}${o}`:""}return o})).join("")},r=()=>{if(t){const{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(const t in e)delete e[t]}const o=Object(e).styleSheets||[];for(const e of o)if(Rn(e)){for(let o=0,i=e.cssRules;i[o];++o){const a=Object(i[o]);if(1!==a.type)continue;const l=Object(i[o+1]);if(4!==l.type)continue;++o;const{cssText:s}=a;if(!s.startsWith("--sxs"))continue;const c=s.slice(14,-3).trim().split(/\s+/),u=In[c[0]];u&&(t||(t={sheet:e,reset:r,rules:{},toString:n}),t.rules[u]={group:l,index:o,cache:new Set(c)})}if(t)break}if(!t){const o=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,o(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,(e=>e.cssText)).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:o("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let e=In.length-1;e>=0;--e){const t=In[e];if(!a[t]){const n=In[e+1],r=a[n]?a[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),a[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}Ln(a[t])}};return r(),t},Ln=e=>{const t=e.group;let n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},$n=Symbol(),Pn=cn(),Dn=(e,t)=>Pn(e,(()=>(...n)=>{let r={type:null,composers:new Set};for(const t of n)if(null!=t)if(t[un]){null==r.type&&(r.type=t[un].type);for(const e of t[un].composers)r.composers.add(e)}else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(Bn(t,e));return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),Fn(e,r,t)})),Bn=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${Tn(o.prefix)}c-${Nn(r)}`,a=[],l=[],s=Object.create(null),c=[];for(const p in n)s[p]=String(n[p]);if("object"==typeof e&&e)for(const p in e){u=s,d=p,hn.call(u,d)||(s[p]="undefined");const t=e[p];for(const e in t){const n={[p]:String(e)};"undefined"===String(e)&&c.push(p);const r=t[e],o=[n,r,!pn(r)];a.push(o)}}var u,d;if("object"==typeof t&&t)for(const p of t){let{css:e,...t}=p;e="object"==typeof e&&e||{};for(const r in t)t[r]=String(t[r]);const n=[t,e,!pn(e)];l.push(n)}return[i,r,a,l,s,c]},Fn=(e,t,n)=>{const[r,o,i,a]=Hn(t.composers),l="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[$n].length;n++){const[r,o]=t[$n][n];e.rules[r].apply(o)}return t[$n]=[],null}return t[$n]=[],t.rules={},In.forEach((e=>t.rules[e]={apply:n=>t[$n].push([e,n])})),t})(n):null,s=(l||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=u=>{u="object"==typeof u&&u||jn;const{css:d,...p}=u,h={};for(const e in i)if(delete p[e],e in u){let t=u[e];"object"==typeof t&&t?h[e]={"@initial":i[e],...t}:(t=String(t),h[e]="undefined"!==t||a.has(e)?t:i[e])}else h[e]=i[e];const f=new Set([...o]);for(const[r,o,i,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),Sn(o,[`.${r}`],[],e,(e=>{s.styled.apply(e)})));const t=zn(i,h,e.media),l=zn(a,h,e.media,!0);for(const o of t)if(void 0!==o)for(const[t,i,a]of o){const o=`${r}-${Nn(i)}-${t}`;f.add(o);const l=(a?n.rules.resonevar:n.rules.onevar).cache,c=a?s.resonevar:s.onevar;l.has(o)||(l.add(o),Sn(i,[`.${o}`],[],e,(e=>{c.apply(e)})))}for(const o of l)if(void 0!==o)for(const[t,i]of o){const o=`${r}-${Nn(i)}-${t}`;f.add(o),n.rules.allvar.cache.has(o)||(n.rules.allvar.cache.add(o),Sn(i,[`.${o}`],[],e,(e=>{s.allvar.apply(e)})))}}if("object"==typeof d&&d){const t=`${r}-i${Nn(d)}-css`;f.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),Sn(d,[`.${t}`],[],e,(e=>{s.inline.apply(e)})))}for(const e of String(u.className||"").trim().split(/\s+/))e&&f.add(e);const g=p.className=[...f].join(" ");return{type:t.type,className:g,selector:c,props:p,toString:()=>g,deferredInjector:l}};return dn(u,{className:r,selector:c,[un]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},Hn=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,l]of e){""===t&&(t=i),n.push(i),o.push(...l);for(const e in a){const t=a[e];(void 0===r[e]||"undefined"!==t||l.includes(t))&&(r[e]=t)}}return[t,n,r,new Set(o)]},zn=(e,t,n,r)=>{const o=[];e:for(let[i,a,l]of e){if(l)continue;let e,s=0,c=!1;for(e in i){const r=i[e];let o=t[e];if(o!==r){if("object"!=typeof o||!o)continue e;{let e,t,i=0;for(const a in o){if(r===String(o[a])){if("@initial"!==a){const e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),c=!0}s+=i,e=!0}++i}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue e}}}(o[s]=o[s]||[]).push([r?"cv":`${e}-${i[e]}`,a,c])}return o},jn={},Un=cn(),Gn=(e,t)=>Un(e,(()=>(...n)=>{const r=()=>{for(let r of n){r="object"==typeof r&&r||{};let n=Nn(r);if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}Sn(r,[],[],e,(e=>{t.rules.global.apply(e)}))}}return""};return dn(r,{toString:r})})),Kn=cn(),Wn=(e,t)=>Kn(e,(()=>n=>{const r=`${Tn(e.prefix)}k-${Nn(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const o=[];Sn(n,[],[],e,(e=>o.push(e)));const i=`@keyframes ${r}{${o.join("")}}`;t.rules.global.apply(i)}return r};return dn(o,{get name(){return o()},toString:o})})),qn=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Tn(this.prefix)+Tn(this.scale)+this.token}toString(){return this.computedValue}},Vn=cn(),Yn=(e,t)=>Vn(e,(()=>(n,r)=>{r="object"==typeof n&&n||Object(r);const o=`.${n=(n="string"==typeof n?n:"")||`${Tn(e.prefix)}t-${Nn(r)}`}`,i={},a=[];for(const t in r){i[t]={};for(const n in r[t]){const o=`--${Tn(e.prefix)}${t}-${n}`,l=wn(String(r[t][n]),e.prefix,t);i[t][n]=new qn(n,l,t,e.prefix),a.push(`${o}:${l}`)}}const l=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const o=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(o)}return n};return{...i,get className(){return l()},selector:o,toString:l}})),Xn=cn(),Zn=e("cA","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jn={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Function]",a="[object Object]",l=/^\[object .+?Constructor\]$/,s=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[i]=c["[object Map]"]=c["[object Number]"]=c[a]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var u,d,p,h="object"==typeof Zn&&Zn&&Zn.Object===Object&&Zn,f="object"==typeof self&&self&&self.Object===Object&&self,g=h||f||Function("return this")(),m=t&&!t.nodeType&&t,b=m&&e&&!e.nodeType&&e,v=b&&b.exports===m,y=v&&h.process,E=function(){try{var e=b&&b.require&&b.require("util").types;return e||y&&y.binding&&y.binding("util")}catch(Dr){}}(),_=E&&E.isTypedArray,T=Array.prototype,w=Function.prototype,k=Object.prototype,C=g["__core-js_shared__"],S=w.toString,x=k.hasOwnProperty,A=(u=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",O=k.toString,N=S.call(Object),I=RegExp("^"+S.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=v?g.Buffer:void 0,M=g.Symbol,L=g.Uint8Array,$=R?R.allocUnsafe:void 0,P=(d=Object.getPrototypeOf,p=Object,function(e){return d(p(e))}),D=Object.create,B=k.propertyIsEnumerable,F=T.splice,H=M?M.toStringTag:void 0,z=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(Dr){}}(),j=R?R.isBuffer:void 0,U=Math.max,G=Date.now,K=he(g,"Map"),W=he(Object,"create"),q=function(){function e(){}return function(t){if(!Ce(t))return{};if(D)return D(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=this.__data__=new Y(e);this.size=t.size}function Q(e,t){var n=Ee(e),r=!n&&ye(e),o=!n&&!r&&Te(e),i=!n&&!r&&!o&&xe(e),a=n||r||o||i,l=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var c in e)!t&&!x.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||fe(c,s))||l.push(c);return l}function J(e,t,n){(void 0!==n&&!ve(e[t],n)||void 0===n&&!(t in e))&&ne(e,t,n)}function ee(e,t,n){var r=e[t];x.call(e,t)&&ve(r,n)&&(void 0!==n||t in e)||ne(e,t,n)}function te(e,t){for(var n=e.length;n--;)if(ve(e[n][0],t))return n;return-1}function ne(e,t,n){"__proto__"==t&&z?z(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}V.prototype.clear=function(){this.__data__=W?W(null):{},this.size=0},V.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},V.prototype.get=function(e){var t=this.__data__;if(W){var r=t[e];return r===n?void 0:r}return x.call(t,e)?t[e]:void 0},V.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:x.call(t,e)},V.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=W&&void 0===t?n:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=te(t,e);return!(n<0||(n==t.length-1?t.pop():F.call(t,n,1),--this.size,0))},Y.prototype.get=function(e){var t=this.__data__,n=te(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return te(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=te(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new V,map:new(K||Y),string:new V}},X.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},X.prototype.get=function(e){return pe(this,e).get(e)},X.prototype.has=function(e){return pe(this,e).has(e)},X.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Z.prototype.clear=function(){this.__data__=new Y,this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new X(r)}return n.set(e,t),this.size=n.size,this};var re,oe=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var l=i[re?a:++r];if(!1===t(o[l],l,o))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=x.call(e,H),n=e[H];try{e[H]=void 0;var r=!0}catch(Dr){}var o=O.call(e);return r&&(t?e[H]=n:delete e[H]),o}(e):function(e){return O.call(e)}(e)}function ae(e){return Se(e)&&ie(e)==o}function le(e){return!(!Ce(e)||function(e){return!!A&&A in e}(e))&&(we(e)?I:l).test(function(e){if(null!=e){try{return S.call(e)}catch(Dr){}try{return e+""}catch(Dr){}}return""}(e))}function se(e){if(!Ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var r in e)("constructor"!=r||!t&&x.call(e,r))&&n.push(r);return n}function ce(e,t,n,r,o){e!==t&&oe(t,(function(i,l){if(o||(o=new Z),Ce(i))!function(e,t,n,r,o,i,l){var s=me(e,n),c=me(t,n),u=l.get(c);if(u)J(e,n,u);else{var d,p=i?i(s,c,n+"",e,t,l):void 0,h=void 0===p;if(h){var f=Ee(c),g=!f&&Te(c),m=!f&&!g&&xe(c);p=c,f||g||m?Ee(s)?p=s:Se(d=s)&&_e(d)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):g?(h=!1,p=function(e,t){if(t)return e.slice();var n=e.length,r=$?$(n):new e.constructor(n);return e.copy(r),r}(c,!0)):m?(h=!1,p=function(e,t){var n,r,o=t?(n=e.buffer,r=new n.constructor(n.byteLength),new L(r).set(new L(n)),r):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}(c,!0)):p=[]:function(e){if(!Se(e)||ie(e)!=a)return!1;var t=P(e);if(null===t)return!0;var n=x.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&S.call(n)==N}(c)||ye(c)?(p=s,ye(s)?p=function(e){return function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?ne(n,l,s):ee(n,l,s)}return n}(e,Ae(e))}(s):Ce(s)&&!we(s)||(p=function(e){return"function"!=typeof e.constructor||ge(e)?{}:q(P(e))}(c))):h=!1}h&&(l.set(c,p),o(p,c,r,i,l),l.delete(c)),J(e,n,p)}}(e,t,l,n,ce,r,o);else{var s=r?r(me(e,l),i,l+"",e,t,o):void 0;void 0===s&&(s=i),J(e,l,s)}}),Ae)}function ue(e,t){return be(function(e,t,n){return t=U(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=U(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,Ie),e+"")}var de=z?function(e,t){return z(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ie;function pe(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return le(n)?n:void 0}function fe(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&s.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var be=function(e){var t=0,n=0;return function(){var r=G(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(de);function ve(e,t){return e===t||e!=e&&t!=t}var ye=ae(function(){return arguments}())?ae:function(e){return Se(e)&&x.call(e,"callee")&&!B.call(e,"callee")},Ee=Array.isArray;function _e(e){return null!=e&&ke(e.length)&&!we(e)}var Te=j||function(){return!1};function we(e){if(!Ce(e))return!1;var t=ie(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Ce(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Se(e){return null!=e&&"object"==typeof e}var xe=_?function(e){return function(t){return e(t)}}(_):function(e){return Se(e)&&ke(e.length)&&!!c[ie(e)]};function Ae(e){return _e(e)?Q(e,!0):se(e)}var Oe,Ne=(Oe=function(e,t,n){ce(e,t,n)},ue((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Oe.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Ce(n))return!1;var r=typeof t;return!!("number"==r?_e(n)&&fe(t,n.length):"string"==r&&t in n)&&ve(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Oe(e,a,n,o)}return e})));function Ie(e){return e}e.exports=Ne}(Jn,Jn.exports);const er=Qn(Jn.exports);function tr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}const nr=e=>{let t,n=!0;const[r,o]=w(),[i,a]=w(),l=j((()=>e.children)),{onBeforeEnter:s,onEnter:c,onAfterEnter:u,onBeforeExit:d,onExit:p,onAfterExit:h}=e,f=x((()=>{const t=e.name||"s";return{enterActiveClass:e.enterActiveClass||t+"-enter-active",enterClass:e.enterClass||t+"-enter",enterToClass:e.enterToClass||t+"-enter-to",exitActiveClass:e.exitActiveClass||t+"-exit-active",exitClass:e.exitClass||t+"-exit",exitToClass:e.exitToClass||t+"-exit-to"}}));function g(t,l){if(!n||e.appear){const d=f().enterClass.split(" "),p=f().enterActiveClass.split(" "),h=f().enterToClass.split(" ");function g(n){!t||n&&n.target!==t||(t.removeEventListener("transitionend",g),t.removeEventListener("animationend",g),t.classList.remove(...p),t.classList.remove(...h),O((()=>{r()!==t&&o(t),i()===t&&a(void 0)})),u&&u(t),"inout"===e.mode&&m(t,l))}s&&s(t),t.classList.add(...d),t.classList.add(...p),tr((()=>{t.classList.remove(...d),t.classList.add(...h),c&&c(t,(()=>g())),(!c||c.length<2)&&(t.addEventListener("transitionend",g),t.addEventListener("animationend",g))}))}l&&!e.mode?a(t):o(t)}function m(t,n){const i=f().exitClass.split(" "),a=f().exitActiveClass.split(" "),l=f().exitToClass.split(" ");if(!n.parentNode)return s();function s(i){i&&i.target!==n||(n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...a),n.classList.remove(...l),r()===n&&o(void 0),h&&h(n),"outin"===e.mode&&g(t,n))}d&&d(n),n.classList.add(...i),n.classList.add(...a),tr((()=>{n.classList.remove(...i),n.classList.add(...l)})),p&&p(n,(()=>s())),(!p||p.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))}return k((r=>{for(t=l();"function"==typeof t;)t=t();return N((()=>(t&&t!==r&&("outin"!==e.mode?g(t,r):n&&o(t)),r&&r!==t&&"inout"!==e.mode&&m(t,r),n=!1,t)))})),[r,i]};function rr(e){const{top:t,bottom:n,left:r,right:o,width:i,height:a}=e.getBoundingClientRect(),l=e.parentNode.getBoundingClientRect();return{top:t-l.top,bottom:n,left:r-l.left,right:o,width:i,height:a}}const or=e=>{const t=j((()=>e.children)),n=x((()=>{const t=e.name||"s";return{enterActiveClass:e.enterActiveClass||t+"-enter-active",enterClass:e.enterClass||t+"-enter",enterToClass:e.enterToClass||t+"-enter-to",exitActiveClass:e.exitActiveClass||t+"-exit-active",exitClass:e.exitClass||t+"-exit",exitToClass:e.exitToClass||t+"-exit-to",moveClass:e.moveClass||t+"-move"}})),{onBeforeEnter:r,onEnter:o,onAfterEnter:i,onBeforeExit:a,onExit:l,onAfterExit:s}=e,[c,u]=w();let d=[],p=!0;return k((()=>{const e=t(),c=[...e],h=new Set(e),f=new Set(d),g=n().enterClass.split(" "),m=n().enterActiveClass.split(" "),b=n().enterToClass.split(" "),v=n().exitClass.split(" "),y=n().exitActiveClass.split(" "),E=n().exitToClass.split(" ");for(let _=0;_<e.length;_++){const T=e[_];if(!p&&!f.has(T)){function w(e){!T||e&&e.target!==T||(T.removeEventListener("transitionend",w),T.removeEventListener("animationend",w),T.classList.remove(...m),T.classList.remove(...b),i&&i(T))}r&&r(T),T.classList.add(...g),T.classList.add(...m),tr((()=>{T.classList.remove(...g),T.classList.add(...b),o&&o(T,(()=>w())),(!o||o.length<2)&&(T.addEventListener("transitionend",w),T.addEventListener("animationend",w))}))}}for(let k=0;k<d.length;k++){const C=d[k];if(!h.has(C)&&C.parentNode){function S(e){e&&e.target!==C||(C.removeEventListener("transitionend",S),C.removeEventListener("animationend",S),C.classList.remove(...y),C.classList.remove(...E),s&&s(C),d=d.filter((e=>e!==C)),u(d))}c.splice(k,0,C),a&&a(C),C.classList.add(...v),C.classList.add(...y),tr((()=>{C.classList.remove(...v),C.classList.add(...E)})),l&&l(C,(()=>S())),(!l||l.length<2)&&(C.addEventListener("transitionend",S),C.addEventListener("animationend",S))}}d=c,u(c)})),S((e=>{const t=c();return t.forEach((t=>{let n;(n=e.get(t))?n.new&&(n.new=!1,n.newPos=rr(t)):e.set(t,n={pos:rr(t),new:!p}),n.new&&t.addEventListener("transitionend",(()=>{n.new=!1,t.parentNode&&(n.newPos=rr(t))}),{once:!0}),n.newPos&&(n.pos=n.newPos),n.newPos=rr(t)})),p?(p=!1,e):(t.forEach((t=>{const n=e.get(t),r=n.pos,o=n.newPos,i=r.left-o.left,a=r.top-o.top;if(i||a){n.moved=!0;const e=t.style;e.transform=`translate(${i}px,${a}px)`,e.transitionDuration="0s"}})),document.body.offsetHeight,t.forEach((t=>{const r=e.get(t);if(r.moved){r.moved=!1;const o=t.style,i=n().moveClass.split(" ");function a(e){e&&e.target!==t||!t.parentNode||e&&!/transform$/.test(e.propertyName)||(t.removeEventListener("transitionend",a),t.classList.remove(...i))}t.classList.add(...i),o.transform=o.transitionDuration="",t.addEventListener("transitionend",a)}})),e)}),new Map),c};
1
+ System.register([],(function(e,t){"use strict";return{execute:function(){var n=document.createElement("style");n.textContent='.markdown-body{width:100%}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.markdown-body .anchor:focus{outline:none}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' version=\'1.1\' width=\'16\' height=\'16\' aria-hidden=\'true\'%3E%3Cpath fill-rule=\'evenodd\' d=\'M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\'%3E%3C/path%3E%3C/svg%3E")}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body details{display:block}.markdown-body summary{display:list-item}.markdown-body a{background-color:initial}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit;font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none;max-width:100%;box-sizing:initial;display:initial}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{box-sizing:initial;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr:after,.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{clear:both}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px}.markdown-body h1,.markdown-body h2{font-weight:600}.markdown-body h2{font-size:24px}.markdown-body h3{font-size:20px}.markdown-body h3,.markdown-body h4{font-weight:600}.markdown-body h4{font-size:16px}.markdown-body h5{font-size:14px}.markdown-body h5,.markdown-body h6{font-weight:600}.markdown-body h6{font-size:12px}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code,.markdown-body pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:16px}.markdown-body pre{margin-top:0;margin-bottom:0}.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .border{border:1px solid #e1e4e8!important}.markdown-body .border-0{border:0!important}.markdown-body .border-bottom{border-bottom:1px solid #e1e4e8!important}.markdown-body .rounded-1{border-radius:3px!important}.markdown-body .bg-white{background-color:#fff!important}.markdown-body .bg-gray-light{background-color:#fafbfc!important}.markdown-body .text-gray-light{color:#6a737d!important}.markdown-body .my-2{margin-top:8px!important;margin-bottom:8px!important}.markdown-body .pl-3,.markdown-body .px-3{padding-left:16px!important}.markdown-body .px-3{padding-right:16px!important}.markdown-body .f6{font-size:12px!important}.markdown-body .lh-condensed{line-height:1.25!important}.markdown-body .text-bold{font-weight:600!important}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2:before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .mb-0{margin-bottom:0!important}.markdown-body .my-2{margin-bottom:8px!important}.markdown-body .my-2{margin-top:8px!important}.markdown-body .pl-0{padding-left:0!important}.markdown-body .py-0{padding-top:0!important;padding-bottom:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .py-2{padding-top:8px!important;padding-bottom:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body .pl-7{padding-left:48px!important}.markdown-body .pl-8{padding-left:64px!important}.markdown-body .pl-9{padding-left:80px!important}.markdown-body .pl-10{padding-left:96px!important}.markdown-body .pl-11{padding-left:112px!important}.markdown-body .pl-12{padding-left:128px!important}.markdown-body hr{border-bottom-color:#eee}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:1px solid #d1d5da;border-radius:3px;box-shadow:inset 0 -1px #d1d5da}.markdown-body:after,.markdown-body:before{display:table;content:""}.markdown-body:after{clear:both}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1{font-size:2em}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.markdown-body h2{font-size:1.5em}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:90%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:initial;border:0}.markdown-body .commit-tease-sha{display:inline-block;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:90%;color:#444d56}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body .blob-wrapper{overflow-x:auto;overflow-y:hidden}.markdown-body .blob-wrapper-embedded{max-height:240px;overflow-y:auto}.markdown-body .blob-num{width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,.3);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .blob-num:hover{color:rgba(27,31,35,.6)}.markdown-body .blob-num:before{content:attr(data-line-number)}.markdown-body .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.markdown-body .blob-code-inner{overflow:visible;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;color:#24292e;word-wrap:normal;white-space:pre}.markdown-body .pl-token.active,.markdown-body .pl-token:hover{cursor:pointer;background:#ffea7f}.markdown-body .tab-size[data-tab-size="1"]{-moz-tab-size:1;tab-size:1}.markdown-body .tab-size[data-tab-size="2"]{-moz-tab-size:2;tab-size:2}.markdown-body .tab-size[data-tab-size="3"]{-moz-tab-size:3;tab-size:3}.markdown-body .tab-size[data-tab-size="4"]{-moz-tab-size:4;tab-size:4}.markdown-body .tab-size[data-tab-size="5"]{-moz-tab-size:5;tab-size:5}.markdown-body .tab-size[data-tab-size="6"]{-moz-tab-size:6;tab-size:6}.markdown-body .tab-size[data-tab-size="7"]{-moz-tab-size:7;tab-size:7}.markdown-body .tab-size[data-tab-size="8"]{-moz-tab-size:8;tab-size:8}.markdown-body .tab-size[data-tab-size="9"]{-moz-tab-size:9;tab-size:9}.markdown-body .tab-size[data-tab-size="10"]{-moz-tab-size:10;tab-size:10}.markdown-body .tab-size[data-tab-size="11"]{-moz-tab-size:11;tab-size:11}.markdown-body .tab-size[data-tab-size="12"]{-moz-tab-size:12;tab-size:12}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.hope-ui-dark .markdown-body{color:#f3f4f6}.hope-ui-dark .markdown-body a{color:#0284c7}.hope-ui-dark .markdown-body hr{border-bottom:1px solid #21262d;border-bottom-color:#21262d;background-color:#30363d}.hope-ui-dark .markdown-body kbd{color:#b1bac4;background-color:#0d1117;border:1px solid #6e7681;box-shadow:inset 0 -1px #6e7681}.hope-ui-dark .markdown-body :checked+.radio-label{border-color:rgba(56,139,253,.4)}.hope-ui-dark .markdown-body .border{border:1px solid #30363d!important}.hope-ui-dark .markdown-body .border-bottom{border-bottom:1px solid #30363d!important}.hope-ui-dark .markdown-body .bg-white,.hope-ui-dark .markdown-body .bg-gray-light{background-color:#0d1117!important}.hope-ui-dark .markdown-body .text-gray-light{color:#8b949e!important}.hope-ui-dark .markdown-body .pl-c{color:#8b949e}.hope-ui-dark .markdown-body .pl-c1,.hope-ui-dark .markdown-body .pl-s .pl-v{color:#79c0ff}.hope-ui-dark .markdown-body .pl-e,.hope-ui-dark .markdown-body .pl-en{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-s .pl-s1,.hope-ui-dark .markdown-body .pl-smi{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-ent{color:#7ee787}.hope-ui-dark .markdown-body .pl-k{color:#ff7b72}.hope-ui-dark .markdown-body .pl-pds,.hope-ui-dark .markdown-body .pl-s,.hope-ui-dark .markdown-body .pl-s .pl-pse .pl-s1,.hope-ui-dark .markdown-body .pl-sr,.hope-ui-dark .markdown-body .pl-sr .pl-cce,.hope-ui-dark .markdown-body .pl-sr .pl-sra,.hope-ui-dark .markdown-body .pl-sr .pl-sre{color:#a5d6ff}.hope-ui-dark .markdown-body .pl-smw,.hope-ui-dark .markdown-body .pl-v{color:#ffa657}.hope-ui-dark .markdown-body .pl-bu{color:#f85149}.hope-ui-dark .markdown-body .pl-ii{color:#f0f6fc;background-color:#8e1519}.hope-ui-dark .markdown-body .pl-c2{color:#f0f6fc;background-color:#b62324}.hope-ui-dark .markdown-body .pl-sr .pl-cce{color:#7ee787}.hope-ui-dark .markdown-body .pl-ml{color:#f2cc60}.hope-ui-dark .markdown-body .pl-mh,.hope-ui-dark .markdown-body .pl-mh .pl-en,.hope-ui-dark .markdown-body .pl-ms{color:#1f6feb}.hope-ui-dark .markdown-body .pl-mi,.hope-ui-dark .markdown-body .pl-mb{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-md{color:#ffdcd7;background-color:#67060c}.hope-ui-dark .markdown-body .pl-mi1{color:#aff5b4;background-color:#033a16}.hope-ui-dark .markdown-body .pl-mc{color:#ffdfb6;background-color:#5a1e02}.hope-ui-dark .markdown-body .pl-mi2{color:#c9d1d9;background-color:#1158c7}.hope-ui-dark .markdown-body .pl-mdr{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-ba{color:#8b949e}.hope-ui-dark .markdown-body .pl-sg{color:#484f58}.hope-ui-dark .markdown-body .pl-corl{color:#a5d6ff}.hope-ui-dark .markdown-body blockquote{color:#8b949e;border-left:.25em solid #3b434b}.hope-ui-dark .markdown-body h1,.hope-ui-dark .markdown-body h2{border-bottom:1px solid #21262d}.hope-ui-dark .markdown-body h6{color:#8b949e}.hope-ui-dark .markdown-body table td,.hope-ui-dark .markdown-body table th{border:1px solid #3b434b}.hope-ui-dark .markdown-body table tr{background-color:#0d1117;border-top:1px solid #272c32}.hope-ui-dark .markdown-body table tr:nth-child(2n){background-color:#161b22}.hope-ui-dark .markdown-body .highlight pre,.hope-ui-dark .markdown-body pre{background-color:#1f1f22}.hope-ui-dark .markdown-body .commit-tease-sha{color:#b1bac4}.hope-ui-dark .markdown-body .blob-num{color:rgba(240,246,252,.3)}.hope-ui-dark .markdown-body .blob-num:hover{color:rgba(240,246,252,.6)}.hope-ui-dark .markdown-body .blob-code-inner{color:#c9d1d9}.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hope-ui-dark .hljs{color:rgba(255,255,255,.92)}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:700}.hope-ui-dark .hljs-keyword,.hope-ui-dark .hljs-selector-tag,.hope-ui-dark .hljs-subst{color:rgba(255,255,255,.92)}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hope-ui-dark .hljs-doctag,.hope-ui-dark .hljs-string{color:#fc8181}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hope-ui-dark .hljs-section,.hope-ui-dark .hljs-selector-id,.hope-ui-dark .hljs-title{color:#f56565}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hope-ui-dark .hljs-class .hljs-title,.hope-ui-dark .hljs-type{color:#9f7aea}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hope-ui-dark .hljs-attribute,.hope-ui-dark .hljs-name,.hope-ui-dark .hljs-tag{color:#63b3ed}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hope-ui-dark .hljs-built_in,.hope-ui-dark .hljs-builtin-name{color:#00c5ff}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.markdown-body.word-wrap code{white-space:break-spaces;word-break:break-all}.katex-display .frac-line{border-bottom-width:.04em}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}::-webkit-scrollbar-thumb{border-radius:2px;background-color:rgba(0,0,0,.3)}::-webkit-scrollbar-button:vertical{display:none}::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.35)}::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.38)}.hope-ui-dark ::-webkit-scrollbar-corner,.hope-ui-dark ::-webkit-scrollbar-track{background-color:#0f0f0f}.hope-ui-dark ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.hope-select__option{flex-shrink:0}\n',document.head.appendChild(n),e({A:Dc,B:Ic,C:$c,D:ps,E:xc,F:eu,G:x,I:Eu,J:me,K:Te,M:Kc,N:Is,O:Ms,Q:function(e){e=me({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=be(e,["href","state","class","activeClass","inactiveClass","end"]),n=kt((()=>e.href)),r=Ct(n),o=xt(),i=x((()=>{const t=n();if(void 0===t)return!1;const r=dt(t.split(/[?#]/,1)[0]).toLowerCase(),i=dt(o.pathname).toLowerCase();return e.end?r===i:i.startsWith(r)}));return Ge(a=Lt(),me(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),a;var a},S:we,T:Oh,U:$s,V:As,X:ve,Z:Za,a0:I,a1:Oe,a3:ke,a4:Ce,a9:Ch,aA:Uu,aB:at,aD:Mu,aE:bu,aH:bl,aI:HM,aK:wu,aL:Bs,aM:gv,aN:function(e){return gv({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)},aO:function(e){return gv({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)},aQ:Rh,aS:Mh,aT:We,aZ:function(e){return gv({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)},a_:function(e){return gv({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)},aa:pd,ad:A,ai:function(e){const[n,r]=w("utf-8"),[o,i]=w(!0),{isString:a,text:l}=iv(e.children),{pathname:s}=jb(),c=x((()=>{let t=(t=>e.ext&&"md"!==e.ext.toLocaleLowerCase()?"```"+e.ext+"\n"+t+"\n```":t)(l(n()));return t=t.replace(/!\[.*?\]\((.*?)\)/g,(t=>{const n=t.match(/!\[(.*?)\]\(.*?\)/)[1];let r=t.match(/!\[.*?\]\((.*?)\)/)[1];if(r.startsWith("data:image/"))return t;if(r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//"))return t;r=r.startsWith("/")?`${Wh}/d${r}`:`${Wh}/d${Qh(Bb().base_path,Zh(e.readme?s():ef(s()),r))}`;const o=`![${n}](${r})`;return console.log(o),o})),t})),[u,d]=w([jk]),[p,h]=w([hI]);S(I(c,(async()=>{if(i(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(c())){const{default:e}=await Ev((()=>t.import("./index-legacy-a2982e85.js")),void 0),{default:n}=await Ev((()=>t.import("./index-legacy-ee8d78f1.js")),void 0);tM(),d([...u(),e]),h([...p(),n])}nM(),setTimeout((()=>{i(!0),Dv.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()}))})));const[f,g]=w();return de(ol,{ref:e=>g(e),class:"markdown",pos:"relative",w:"$full",get children(){return[de(we,{get when(){return o()},get children(){return de(FT,{get class(){return function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=fI(e))&&(r&&(r+=" "),r+=t);return r}("markdown-body",e.class)},get remarkPlugins(){return u()},get rehypePlugins(){return p()},get children(){return c()}})}}),de(we,{when:!a,get children(){return de(FM,{get encoding(){return n()},setEncoding:r,get referenceText(){return e.children}})}}),de(eM,{get disabled(){return!e.toc},get markdownRef(){return f()}})]}})},ak:wc,am:R,ao:dd,ap:Kl,as:Fe,at:Ku,au:gu,ax:function(e){return gv({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)},ay:function(e){return gv({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)},az:Bu,b$:function(e){return gv({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)},b2:function(e){return gv({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)},b5:pc,bA:ep,bB:Op,bC:_p,bD:Rp,bE:sp,bF:op,bG:up,bH:hp,bI:yp,bJ:bp,bK:Xp,bL:ec,bN:O,bP:it,bR:fu,bS:Qc,bT:function(e){return gv({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)},bU:function(e){return gv({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)},bV:function(e){return gv({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)},bW:function(e){return gv({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)},bX:function(e){return gv({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)},bY:function(e){return gv({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)},bZ:function(e){return gv({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)},b_:function(e){return gv({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)},be:function(e){const[t,n,r]=be(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return de(ep,me(n,{get children(){return[de(Op,me(r,{get children(){return[de(we,{get when(){return t.placeholder},get children(){return de(_p,{get children(){return t.placeholder}})}}),de(Rp,{}),de(sp,{})]}})),de(op,{get children(){return de(up,{get children(){return t.children}})}})]}}))},bf:function(e){const[t,n]=be(e,["children","value"]);return de(hp,me({get value(){return t.value}},n,{get children(){return[de(yp,{get children(){return t.children}}),de(bp,{})]}}))},bi:zd,bj:Vd,bn:aM,bo:Mc,bp:Xc,bq:Vc,br:function(e){var t,n,r,o,i,a,l,s;const c=Ya().Drawer,u={"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close drawer",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(s=null==(l=null==c?void 0:c.defaultProps)?void 0:l.closeButton)?void 0:s.icon},d=me(u,e);return de(Mc,me({get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton}},d))},bs:function(e){const t=Ya().Drawer;return de(Dc,me({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},e))},bt:function(e){const t=Ya().Drawer;return de(Ic,me({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},e))},bx:function(e){const t=Ya().Drawer,[,n]=be(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=Jt({get placement(){var n,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.placement)?i:"right"},get size(){var n,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.size)?i:"xs"},get fullHeight(){var n,r,o,i;return null!=(i=null!=(o=e.fullHeight)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.fullHeight)&&i},get disableMotion(){var n,r,o,i;return null!=(i=null!=(o=e.disableMotion)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.disableMotion)&&i}});return de(Bc.Provider,{value:r,get children(){return de(xc,me({scrollBehavior:"inside",get blockScrollOnMount(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.blockScrollOnMount},get closeOnEsc(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnEsc},get closeOnOverlayClick(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnOverlayClick},get preserveScrollBarGap(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.preserveScrollBarGap},get trapFocus(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})},by:ru,c$:function(e){return gv({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)},c0:function(e){return gv({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)},c1:function(e){return gv({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)},c2:function(e){return gv({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)},c3:function(e){return gv({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)},c4:function(e){return gv({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)},c5:function(e){return gv({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)},c6:function(e){return gv({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)},c7:function(e){return gv({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)},cB:Qn,cE:function(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate(),i=t.getHours(),a=t.getMinutes(),l=t.getSeconds();return n+"-"+km(r)+"-"+km(o)+" "+km(i)+":"+km(a)+":"+km(l)},cG:function(e){const t=`hope-popover-${Ee()}`,n=Ya().Popover,[r,o]=Jt({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return void 0!==e.opened},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var n;return null!=(n=e.id)?n:t},get triggerId(){return`${this.contentId}--trigger`},get headerId(){return`${this.contentId}--header`},get bodyId(){return`${this.contentId}--body`},get triggerMode(){var t;return null!=(t=e.triggerMode)?t:"click"},get triggerOnClick(){return"click"===this.triggerMode},get triggerOnHover(){return"hover"===this.triggerMode},get initialFocus(){return e.initialFocus},get inline(){var t;return null!=(t=e.inline)&&t},get initialPlacement(){var t,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom"},get offset(){var t,r,o,i;return null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:8},get arrowPadding(){var t,r,o,i;return null!=(i=null!=(o=e.arrowPadding)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.arrowPadding)?i:8},get openDelay(){var t,r,o,i;return null!=(i=null!=(o=e.openDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.openDelay)?i:0},get closeDelay(){var t,r,o,i;return null!=(i=null!=(o=e.closeDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeDelay)?i:100},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get closeOnBlur(){var t,r,o,i;return null==(i=null!=(o=e.closeOnBlur)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnBlur)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null!=(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)&&i}});let i,a,l,s,c,u,d,p;async function h(){var t,n,c;const u=null!=i?i:a;if(!u||!l)return;const d=[oo(r.offset)];r.inline&&d.push(lo()),d.push(eo()),d.push(io({padding:e.shiftPadding})),s&&d.push(qr({element:s,padding:r.arrowPadding})),d.push(ro());const{x:p,y:h,placement:f,middlewareData:g}=await Bo(u,l,{placement:r.initialPlacement,middleware:d});if(f!==r.finalPlacement&&o("finalPlacement",f),!l)return;const m=null==(t=g.hide)?void 0:t.referenceHidden;if(Object.assign(l.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`,visibility:m?"hidden":"visible"}),!s)return;const b=null==(n=g.arrow)?void 0:n.x,v=null==(c=g.arrow)?void 0:c.y,y={top:"bottom",right:"left",bottom:"top",left:"right"}[f.split("-")[0]],E=-1*(Math.round(s.clientWidth/2)+1)+"px";Object.assign(s.style,{left:null!=b?`${Math.round(b)}px`:"",top:null!=v?`${Math.round(v)}px`:"",right:"",bottom:"",[y]:E})}const f=()=>{var t;r.isControlled||o("_opened",!0),null==(t=e.onOpen)||t.call(e),h()},g=()=>{var t;r.isControlled||o("_opened",!1),null==(t=e.onClose)||t.call(e)},m=()=>{!r.isHovering&&g()},b=()=>{u&&window.clearTimeout(u),d=window.setTimeout(g,r.closeDelay)},v=()=>{if(!r.initialFocus)return void(null==l||l.focus());const e=document.querySelector(r.initialFocus);e&&function(e){if(!function(e){var t;if(!il(e))return!1;const n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}(e)||bd(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||md(e)}(e)&&(null==e||e.focus())},y=()=>{_(!1),u&&window.clearTimeout(u),d=window.setTimeout(m,r.closeDelay)},E=y,_=e=>o("isHovering",e),T=()=>r.opened;M((()=>{window.clearTimeout(u),window.clearTimeout(d)}));const w={state:r,assignAnchorRef:e=>{i=e},assignTriggerRef:e=>{a=e},assignPopoverRef:e=>{l=e},assignArrowRef:e=>{s=e},openWithDelay:()=>{u=window.setTimeout(f,r.openDelay)},closeWithDelay:b,onTriggerBlur:e=>{const t=cl(e),n=!sl(l,t);r.opened&&r.closeOnBlur&&n&&b()},onTriggerMouseLeave:y,onPopoverFocusOut:e=>{const t=cl(e),n=sl(l,t),o=sl(a,t),i=!n&&!o;r.opened&&r.closeOnBlur&&i&&b()},onPopoverMouseLeave:E,updatePopoverPosition:h,afterPopoverOpen:()=>{(()=>{const e=null!=i?i:a;e&&l&&(p=Do(e,l,h))})(),r.trapFocus&&l?(c=Mr(l,{initialFocus:r.initialFocus,fallbackFocus:`[id='${r.contentId}']`,allowOutsideClick:!1}),c.activate()):v()},afterPopoverClose:()=>{null==c||c.deactivate(),null==p||p()},setIsHovering:_,setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return de(vd.Provider,{value:w,get children(){return de(we,{get when(){return pl(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:T,onClose:b})}})}})},cH:function(e){const t=yd(),[n,r]=be(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),o=e=>{Qo(n.onClick,e),t.state.opened?t.closeWithDelay():t.openWithDelay()},i=e=>{Qo(n.onKeyDown,e),"Escape"===e.key&&t.closeWithDelay()},a=e=>{Qo(n.onFocus,e),t.openWithDelay()},l=e=>{Jo(n.onBlur,t.onTriggerBlur)(e)},s=e=>{Qo(n.onMouseEnter,e),t.setIsHovering(!0),t.openWithDelay()},c=e=>{Qo(n.onMouseLeave,e),t.onTriggerMouseLeave()};return de(rl.button,me({ref:e=>{t.assignTriggerRef(e),Xo(n.ref)?n.ref(e):n.ref=e},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?o:void 0},get onKeyDown(){return t.state.triggerOnHover?i:void 0},get onFocus(){return t.state.triggerOnHover?a:void 0},get onBlur(){return t.state.triggerOnHover?l:void 0},get onMouseEnter(){return t.state.triggerOnHover?s:void 0},get onMouseLeave(){return t.state.triggerOnHover?c:void 0}},r))},cI:function(e){return gv({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)},cJ:Cd,cK:_d,cL:wd,cP:function(e){return gv({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)},cQ:function(e){return gv({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)},cR:function(e){return gv({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)},cS:function(e){return gv({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)},cT:function(e){return gv({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)},cU:function(e){return gv({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)},cV:function(e){return gv({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)},cW:function(e){return gv({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)},cX:function(e){return gv({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)},cY:function(e){return gv({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)},cZ:function(e){return gv({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)},c_:function(e){return gv({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)},cd:C,ce:ze,cg:function(e){return gv({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)},ch:function(e){return gv({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)},ci:function(e){return gv({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)},cj:function(e){return gv({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)},ck:Hh,cl:function(e){return gv({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)},cp:Jt,cq:ys,cr:function(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"},cs:Ld,ct:Pd,cu:Xa,cw:function(e){return gv({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)},d$:Ke,d0:function(e){return gv({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)},d1:ud,d3:Cl,d4:Hl,d5:jl,d6:Al,d7:uu,d9:function(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(function(e,t,n={}){let r,o=[],i=[],a=[],l=[],c=0;return M((()=>ue(a))),()=>{const u=e()||[],d=u.length;return u[s],N((()=>{if(0===d)return 0!==c&&(ue(a),a=[],o=[],i=[],c=0,l=[]),n.fallback&&(o=[ce],i[0]=T((e=>(a[0]=e,n.fallback()))),c=1),i;for(o[0]===ce&&(a[0](),a=[],o=[],i=[],c=0),r=0;r<d;r++)r<o.length&&o[r]!==u[r]?l[r]((()=>u[r])):r>=o.length&&(i[r]=T(p));for(;r<o.length;r++)a[r]();return c=l.length=a.length=d,o=u.slice(0),i=i.slice(0,c)}));function p(e){a[r]=e;const[n,o]=w(u[r]);return l[r]=o,t(n,r)}}}((()=>e.each),e.children,t||void 0))},dA:H,dB:be,dC:je,dD:j,dE:k,dF:N,dL:function(){const{proxyLink:e}=Qb();return A("",(async()=>$m(e(Xm.obj,!0))))},dM:iv,dN:FM,dU:T,dV:$,db:$p,dc:iu,dd:su,de:Sc,df:He,dg:Ue,di:oh,dj:hh,dk:gh,dl:dh,dm:lh,dn:ch,dp:xd,dq:Ge,dt:function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?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(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n},dv:nn,dw:z,dy:function(e){const t=e.split("/").filter(Boolean),n=t.length;return e=>{const r=e.split("/").filter(Boolean);if(r.length-n<0)return null;let o=n?"":"/";for(let i=0;i<n;i++){const e=t[i],n=r[i];if(0!==e.localeCompare(n,void 0,{sensitivity:"base"}))return null;o+=`/${n}`}return o}},dz:Fp,f:mw,m:WT,p:sk,q:w,r:S,s:dk,t:fk,x:M,y:de,z:Uc});const r={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}};function o(e){const t=String(e),n=t.length-1;return r.context.id+(n?String.fromCharCode(96+n):"")+t}function i(e){r.context=e}const a=Symbol("solid-proxy"),l="function"==typeof Proxy,s=Symbol("solid-track"),c={equals:(e,t)=>e===t};let u=null,d=Q;const p=1,h=2,f={owned:null,cleanups:null,context:null,owner:null},g={};var m=null;let b=null,v=null,y=null,E=null,_=0;function T(e,t){const n=v,r=m,o=0===e.length,i=void 0===t?r:t,a=o?f:{owned:null,cleanups:null,context:i?i.context:null,owner:i},l=o?e:()=>e((()=>N((()=>ne(a)))));m=a,v=null;try{return Z(l,!0)}finally{v=n,m=r}}function w(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},c,t):c).equals||void 0};return[K.bind(n),e=>("function"==typeof e&&(e=b&&b.running&&b.sources.has(n)?e(n.tValue):e(n.value)),W(n,e))]}function k(e,t,n){q(Y(e,t,!0,p))}function C(e,t,n){q(Y(e,t,!1,p))}function S(e,t,n){d=J;const r=Y(e,t,!1,p),o=U&&z(U);o&&(r.suspense=o),n&&n.render||(r.user=!0),E?E.push(r):q(r)}function x(e,t,n){n=n?Object.assign({},c,n):c;const r=Y(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,q(r),K.bind(r)}function A(e,t,n){let o,i,a;"function"==typeof t?(o=e,i=t,a=n||{}):(o=!0,i=e,a=t||{});let l=null,s=g,c=null,u=!1,d=!1,p="initialValue"in a,h="function"==typeof o&&x(o);const f=new Set,[y,E]=(a.storage||w)(a.initialValue),[_,T]=w(void 0),[C,S]=w(void 0,{equals:!1}),[A,O]=w(p?"ready":"unresolved");function I(e,t,n,r){return l===e&&(l=null,void 0!==r&&(p=!0),e!==s&&t!==s||!a.onHydrated||queueMicrotask((()=>a.onHydrated(r,{value:t}))),s=g,b&&e&&u?(b.promises.delete(e),u=!1,Z((()=>{b.running=!0,R(t,n)}),!1)):R(t,n)),t}function R(e,t){Z((()=>{void 0===t&&E((()=>e)),O(void 0!==t?"errored":p?"ready":"unresolved"),T(t);for(const e of f.keys())e.decrement();f.clear()}),!1)}function M(){const e=U&&z(U),t=y(),n=_();if(void 0!==n&&!l)throw n;return v&&!v.user&&e&&k((()=>{C(),l&&(e.resolved&&b&&u?b.promises.add(l):f.has(e)||(e.increment(),f.add(e)))})),t}function L(e=!0){if(!1!==e&&d)return;d=!1;const t=h?h():o;if(u=b&&b.running,null==t||!1===t)return void I(l,N(y));let n;b&&l&&b.promises.delete(l);const r=s!==g?s:N((()=>{try{return i(t,{value:y(),refetching:e})}catch(r){n=r}}));if(void 0===n)return function(e){return e&&"object"==typeof e&&"then"in e}(r)?(l=r,"v"in r?(1===r.s?I(l,r.v,void 0,t):I(l,void 0,oe(r.v),t),r):(d=!0,queueMicrotask((()=>d=!1)),Z((()=>{O(p?"refreshing":"pending"),S()}),!1),r.then((e=>I(r,e,void 0,t)),(e=>I(r,void 0,oe(e),t))))):(I(l,r,void 0,t),r);I(l,void 0,oe(n),t)}r.context&&(c=r.getNextContextId(),"initial"===a.ssrLoadFrom?s=a.initialValue:r.load&&r.has(c)&&(s=r.load(c))),Object.defineProperties(M,{state:{get:()=>A()},error:{get:()=>_()},loading:{get(){const e=A();return"pending"===e||"refreshing"===e}},latest:{get(){if(!p)return M();const e=_();if(e&&!l)throw e;return y()}}});let $=m;return h?k((()=>($=m,L(!1)))):L(!1),[M,{refetch:e=>P($,(()=>L(e))),mutate:E}]}function O(e){return Z(e,!1)}function N(e){if(null===v)return e();const t=v;v=null;try{return e()}finally{v=t}}function I(e,t,n){const r=Array.isArray(e);let o,i=n&&n.defer;return n=>{let a;if(r){a=Array(e.length);for(let t=0;t<e.length;t++)a[t]=e[t]()}else a=e();if(i)return i=!1,n;const l=N((()=>t(a,o,n)));return o=a,l}}function R(e){S((()=>N(e)))}function M(e){return null===m||(null===m.cleanups?m.cleanups=[e]:m.cleanups.push(e)),e}function L(){return v}function $(){return m}function P(e,t){const n=m,r=v;m=e,v=null;try{return Z(t,!0)}catch(o){ae(o)}finally{m=n,v=r}}function D(e){if(b&&b.running)return e(),b.done;const t=v,n=m;return Promise.resolve().then((()=>{let r;return v=t,m=n,U&&(r=b||(b={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise((e=>r.resolve=e))),r.running=!0),Z(e,!1),v=m=null,r?r.done:void 0}))}const[B,F]=w(!1);function H(e,t){const n=Symbol("context");return{id:n,Provider:se(n),defaultValue:e}}function z(e){let t;return m&&m.context&&void 0!==(t=m.context[e.id])?t:e.defaultValue}function j(e){const t=x(e),n=x((()=>le(t())));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}let U;function G(){return U||(U=H())}function K(){const e=b&&b.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===p)q(this);else{const e=y;y=null,Z((()=>ee(this)),!1),y=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return e&&b.sources.has(this)?this.tValue:this.value}function W(e,t,n){let r=b&&b.running&&b.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(b){const r=b.running;(r||!n&&b.sources.has(e))&&(b.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&Z((()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=b&&b.running;r&&b.disposed.has(n)||((r?n.tState:n.state)||(n.pure?y.push(n):E.push(n),n.observers&&te(n)),r?n.tState=p:n.state=p)}if(y.length>1e6)throw y=[],new Error}),!1)}return t}function q(e){if(!e.fn)return;ne(e);const t=_;V(e,b&&b.running&&b.sources.has(e)?e.tValue:e.value,t),b&&!b.running&&b.sources.has(e)&&queueMicrotask((()=>{Z((()=>{b&&(b.running=!0),v=m=e,V(e,e.tValue,t),v=m=null}),!1)}))}function V(e,t,n){let r;const o=m,i=v;v=m=e;try{r=e.fn(t)}catch(a){return e.pure&&(b&&b.running?(e.tState=p,e.tOwned&&e.tOwned.forEach(ne),e.tOwned=void 0):(e.state=p,e.owned&&e.owned.forEach(ne),e.owned=null)),e.updatedAt=n+1,ae(a)}finally{v=i,m=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?W(e,r,!0):b&&b.running&&e.pure?(b.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function Y(e,t,n,r=p,o){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return b&&b.running&&(i.state=0,i.tState=r),null===m||m!==f&&(b&&b.running&&m.pure?m.tOwned?m.tOwned.push(i):m.tOwned=[i]:m.owned?m.owned.push(i):m.owned=[i]),i}function X(e){const t=b&&b.running;if(0===(t?e.tState:e.state))return;if((t?e.tState:e.state)===h)return ee(e);if(e.suspense&&N(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<_);){if(t&&b.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 t=e,o=n[r+1];for(;(t=t.owner)&&t!==o;)if(b.disposed.has(t))return}if((t?e.tState:e.state)===p)q(e);else if((t?e.tState:e.state)===h){const t=y;y=null,Z((()=>ee(e,n[0])),!1),y=t}}}function Z(e,t){if(y)return e();let n=!1;t||(y=[]),E?n=!0:E=[],_++;try{const t=e();return function(e){if(y&&(Q(y),y=null),e)return;let t;if(b)if(b.promises.size||b.queue.size){if(b.running)return b.running=!1,b.effects.push.apply(b.effects,E),E=null,void F(!0)}else{const e=b.sources,n=b.disposed;E.push.apply(E,b.effects),t=b.resolve;for(const t of E)"tState"in t&&(t.state=t.tState),delete t.tState;b=null,Z((()=>{for(const e of n)ne(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)ne(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}F(!1)}),!1)}const n=E;E=null,n.length&&Z((()=>d(n)),!1),t&&t()}(n),t}catch(r){n||(E=null),y=null,ae(r)}}function Q(e){for(let t=0;t<e.length;t++)X(e[t])}function J(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:X(r)}if(r.context){if(r.count)return r.effects||(r.effects=[]),void r.effects.push(...e.slice(0,n));i()}for(!r.effects||!r.done&&r.count||(e=[...r.effects,...e],n+=r.effects.length,delete r.effects),t=0;t<n;t++)X(e[t])}function ee(e,t){const n=b&&b.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];if(o.sources){const e=n?o.tState:o.state;e===p?o!==t&&(!o.updatedAt||o.updatedAt<_)&&X(o):e===h&&ee(o,t)}}}function te(e){const t=b&&b.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?r.tState:r.state)||(t?r.tState=h:r.state=h,r.pure?y.push(r):E.push(r),r.observers&&te(r))}}function ne(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ne(e.tOwned[t]);delete e.tOwned}if(b&&b.running&&e.pure)re(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)ne(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}b&&b.running?e.tState=0:e.state=0}function re(e,t){if(t||(e.tState=0,b.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)re(e.owned[n])}function oe(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function ie(e,t,n){try{for(const n of t)n(e)}catch(Dr){ae(Dr,n&&n.owner||null)}}function ae(e,t=m){const n=u&&t&&t.context&&t.context[u],r=oe(e);if(!n)throw r;E?E.push({fn(){ie(r,n,t)},state:p}):ie(r,n,t)}function le(e){if("function"==typeof e&&!e.length)return le(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function se(e,t){return function(t){let n;return C((()=>n=N((()=>(m.context={...m.context,[e]:t.value},j((()=>t.children)))))),void 0),n}}const ce=Symbol("fallback");function ue(e){for(let t=0;t<e.length;t++)e[t]()}function de(e,t){return N((()=>e(t||{})))}function pe(){return!0}const he={get:(e,t,n)=>t===a?n:e.get(t),has:(e,t)=>t===a||e.has(t),set:pe,deleteProperty:pe,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:pe,deleteProperty:pe}),ownKeys:e=>e.keys()};function fe(e){return(e="function"==typeof e?e():e)?e:{}}function ge(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function me(...e){let t=!1;for(let l=0;l<e.length;l++){const n=e[l];t=t||!!n&&a in n,e[l]="function"==typeof n?(t=!0,x(n)):n}if(l&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=fe(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in fe(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(fe(e[n])));return[...new Set(t)]}},he);const n={},r=Object.create(null);for(let a=e.length-1;a>=0;a--){const t=e[a];if(!t)continue;const o=Object.getOwnPropertyNames(t);for(let e=o.length-1;e>=0;e--){const i=o[e];if("__proto__"===i||"constructor"===i)continue;const a=Object.getOwnPropertyDescriptor(t,i);if(r[i]){const e=n[i];e&&(a.get?e.push(a.get.bind(t)):void 0!==a.value&&e.push((()=>a.value)))}else r[i]=a.get?{enumerable:!0,configurable:!0,get:ge.bind(n[i]=[a.get.bind(t)])}:void 0!==a.value?a:void 0}}const o={},i=Object.keys(r);for(let a=i.length-1;a>=0;a--){const e=i[a],t=r[e];t&&t.get?Object.defineProperty(o,e,t):o[e]=t?t.value:void 0}return o}function be(e,...t){if(l&&a in e){const n=new Set(t.length>1?t.flat():t[0]),r=t.map((t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter((t=>t in e))},he)));return r.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter((e=>!n.has(e)))},he)),r}const n={},r=t.map((()=>({})));for(const o of Object.getOwnPropertyNames(e)){const i=Object.getOwnPropertyDescriptor(e,o),a=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable;let l=!1,s=0;for(const e of t)e.includes(o)&&(l=!0,a?r[s][o]=i.value:Object.defineProperty(r[s],o,i)),++s;l||(a?n[o]=i.value:Object.defineProperty(n,o,i))}return[...r,n]}function ve(e){let t,n;const o=o=>{const a=r.context;if(a){const[o,l]=w();r.count||(r.count=0),r.count++,(n||(n=e())).then((e=>{!r.done&&i(a),r.count--,l((()=>e.default)),i()})),t=o}else if(!t){const[r]=A((()=>(n||(n=e())).then((e=>e.default))));t=r}let l;return x((()=>(l=t())?N((()=>{if(!a||r.done)return l(o);const e=r.context;i(a);const t=l(o);return i(e),t})):""))};return o.preload=()=>n||((n=e()).then((e=>t=()=>e.default)),n),o}let ye=0;function Ee(){return r.context?r.getNextContextId():"cl-"+ye++}const _e=e=>`Stale read from <${e}>.`;function Te(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(function(e,t,n={}){let r=[],o=[],i=[],a=0,l=t.length>1?[]:null;return M((()=>ue(i))),()=>{let c,u,d=e()||[],p=d.length;return d[s],N((()=>{let e,t,s,f,g,m,b,v,y;if(0===p)0!==a&&(ue(i),i=[],r=[],o=[],a=0,l&&(l=[])),n.fallback&&(r=[ce],o[0]=T((e=>(i[0]=e,n.fallback()))),a=1);else if(0===a){for(o=new Array(p),u=0;u<p;u++)r[u]=d[u],o[u]=T(h);a=p}else{for(s=new Array(p),f=new Array(p),l&&(g=new Array(p)),m=0,b=Math.min(a,p);m<b&&r[m]===d[m];m++);for(b=a-1,v=p-1;b>=m&&v>=m&&r[b]===d[v];b--,v--)s[v]=o[b],f[v]=i[b],l&&(g[v]=l[b]);for(e=new Map,t=new Array(v+1),u=v;u>=m;u--)y=d[u],c=e.get(y),t[u]=void 0===c?-1:c,e.set(y,u);for(c=m;c<=b;c++)y=r[c],u=e.get(y),void 0!==u&&-1!==u?(s[u]=o[c],f[u]=i[c],l&&(g[u]=l[c]),u=t[u],e.set(y,u)):i[c]();for(u=m;u<p;u++)u in s?(o[u]=s[u],i[u]=f[u],l&&(l[u]=g[u],l[u](u))):o[u]=T(h);o=o.slice(0,a=p),r=d.slice(0)}return o}));function h(e){if(i[u]=e,l){const[e,n]=w(u);return l[u]=n,t(d[u],e)}return t(d[u])}}}((()=>e.each),e.children,t||void 0))}function we(e){const t=e.keyed,n=x((()=>e.when),void 0,void 0),r=t?n:x(n,void 0,{equals:(e,t)=>!e==!t});return x((()=>{const o=r();if(o){const i=e.children;return"function"==typeof i&&i.length>0?N((()=>i(t?o:()=>{if(!N(r))throw _e("Show");return n()}))):i}return e.fallback}),void 0,void 0)}function ke(e){const t=j((()=>e.children)),n=x((()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let t=0;t<n.length;t++){const e=t,o=n[t],i=r,a=x((()=>i()?void 0:o.when),void 0,void 0),l=o.keyed?a:x(a,void 0,{equals:(e,t)=>!e==!t});r=()=>i()||(l()?[e,a,o]:void 0)}return r}));return x((()=>{const t=n()();if(!t)return e.fallback;const[r,o,i]=t,a=i.children;return"function"==typeof a&&a.length>0?N((()=>a(i.keyed?o():()=>{if(N(n)()?.[0]!==r)throw _e("Match");return o()}))):a}),void 0,void 0)}function Ce(e){return e}let Se;function xe(e){let t;r.context&&r.load&&(t=r.load(r.getContextId()));const[n,o]=w(t,void 0);return Se||(Se=new Set),Se.add(o),M((()=>Se.delete(o))),x((()=>{let r;if(r=n()){const t=e.fallback;return"function"==typeof t&&t.length?N((()=>t(r,(()=>o())))):t}return function(e,n){u||(u=Symbol("error")),(m=Y(void 0,void 0,!0)).context={...m.context,[u]:[n]},b&&b.running&&b.sources.add(m);try{return e()}catch(t){ae(t)}finally{m=m.owner}}((()=>e.children),o)}),void 0,void 0)}const Ae=H();function Oe(e){let t,n,o,a,l,s=0;const[c,u]=w(!1),d=G(),p={increment:()=>{1===++s&&u(!0)},decrement:()=>{0===--s&&u(!1)},inFallback:c,effects:[],resolved:!1},h=$();if(r.context&&r.load){const e=r.getContextId();let t=r.load(e);if(t&&("object"!=typeof t||1!==t.s?o=t:r.gather(e)),o&&"$$f"!==o){const[t,s]=w(void 0,{equals:!1});a=t,o.then((()=>{if(r.done)return s();r.gather(e),i(n),s(),i()}),(e=>{l=e,s()}))}}const f=z(Ae);let g;return f&&(t=f.register(p.inFallback)),M((()=>g&&g())),de(d.Provider,{value:p,get children(){return x((()=>{if(l)throw l;if(n=r.context,a)return a(),a=void 0;n&&"$$f"===o&&i();const s=x((()=>e.children));return x((r=>{const a=p.inFallback(),{showContent:l=!0,showFallback:c=!0}=t?t():{};return(!a||o&&"$$f"!==o)&&l?(p.resolved=!0,g&&g(),g=n=o=void 0,function(e){E.push.apply(E,e),e.length=0}(p.effects),s()):c?g?r:T((t=>(g=t,n&&(i({id:n.id+"F",count:0}),n=void 0),e.fallback)),h):void 0}))}))}})}const Ne=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Ie=new Set(["innerHTML","textContent","innerText","children"]),Re=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Me=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}}),Le=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),$e=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"]),Pe={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},De=e("ae",(e=>x((()=>e())))),Be="_$DX_DELEGATE";function Fe(e,t,n,r){let o;const i=()=>{const t=r?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},a=t?()=>N((()=>document.importNode(o||(o=i()),!0))):()=>(o||(o=i())).cloneNode(!0);return a.cloneNode=a,a}function He(e,t=window.document){const n=t[Be]||(t[Be]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Ze))}}function ze(e,t,n){Ve(e)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}function je(e,t){Ve(e)||(null==t?e.removeAttribute("class"):e.className=t)}function Ue(e,t,n){if(!t)return n?ze(e,"style"):t;const r=e.style;if("string"==typeof t)return r.cssText=t;let o,i;for(i in"string"==typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[i]&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}function Ge(e,t={},n,r){const o={};return r||C((()=>o.children=Qe(e,t.children,o.children))),C((()=>"function"==typeof t.ref&&Ke(t.ref,e))),C((()=>function(e,t,n,r,o={},i=!1){t||(t={});for(const a in o)if(!(a in t)){if("children"===a)continue;o[a]=Xe(e,a,null,o[a],n,i,t)}for(const a in t){if("children"===a){r||Qe(e,t.children);continue}const l=t[a];o[a]=Xe(e,a,l,o[a],n,i,t)}}(e,t,n,!0,o,!0))),o}function Ke(e,t,n){return N((()=>e(t,n)))}function We(e,t,n,r){if(void 0===n||r||(r=[]),"function"!=typeof t)return Qe(e,t,r,n);C((r=>Qe(e,t(),r,n)),r)}function qe(e){let t,n;return Ve()&&(t=r.registry.get(n=r.getNextContextId()))?(r.completed&&r.completed.add(t),r.registry.delete(n),t):e()}function Ve(e){return!!r.context&&!r.done&&(!e||e.isConnected)}function Ye(e,t,n){const r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n)}function Xe(e,t,n,r,o,i,a){let l,s,c,u,d;if("style"===t)return Ue(e,n,r);if("classList"===t)return function(e,t,n={}){const r=Object.keys(t||{}),o=Object.keys(n);let i,a;for(i=0,a=o.length;i<a;i++){const r=o[i];r&&"undefined"!==r&&!t[r]&&(Ye(e,r,!1),delete n[r])}for(i=0,a=r.length;i<a;i++){const o=r[i],a=!!t[o];o&&"undefined"!==o&&n[o]!==a&&a&&(Ye(e,o,!0),n[o]=a)}return n}(e,n,r);if(n===r)return r;if("ref"===t)i||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r,"function"!=typeof r&&r),n&&e.addEventListener(o,n,"function"!=typeof n&&n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=Le.has(o);if(!i&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(i||n)&&(function(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}(e,o,n,i),i&&He([o]))}else if("attr:"===t.slice(0,5))ze(e,t.slice(5),n);else if("bool:"===t.slice(0,5))!function(e,t,n){Ve(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}(e,t.slice(5),n);else if((d="prop:"===t.slice(0,5))||(c=Ie.has(t))||!o&&((u=function(e,t){const n=Me[e];return"object"==typeof n?n[t]?n.$:void 0:n}(t,e.tagName))||(s=Ne.has(t)))||(l=e.nodeName.includes("-")||"is"in a)){if(d)t=t.slice(5),s=!0;else if(Ve(e))return n;"class"===t||"className"===t?je(e,n):!l||s||c?e[u||t]=n:e[(p=t,p.toLowerCase().replace(/-([a-z])/g,((e,t)=>t.toUpperCase())))]=n}else{const r=o&&t.indexOf(":")>-1&&Pe[t.split(":")[0]];r?function(e,t,n,r){Ve(e)||(null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}(e,r,t,n):ze(e,Re[t]||t,n)}var p;return n}function Ze(e){if(r.registry&&r.events&&r.events.find((([t,n])=>n===e)))return;let t=e.target;const n=`$$${e.type}`,o=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),l=()=>{const r=t[n];if(r&&!t.disabled){const o=t[`${n}Data`];if(void 0!==o?r.call(t,o,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},s=()=>{for(;l()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),r.registry&&!r.done&&(r.done=_$HY.done=!0),e.composedPath){const n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],l());e++){if(t._$host){t=t._$host,s();break}if(t.parentNode===i)break}}else s();a(o)}function Qe(e,t,n,r,o){const i=Ve(e);if(i){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;const a=typeof t,l=void 0!==r;if(e=l&&n[0]&&n[0].parentNode||e,"string"===a||"number"===a){if(i)return n;if("number"===a&&(t=t.toString())===n)return n;if(l){let o=n[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=tt(e,n,r,o)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===a){if(i)return n;n=tt(e,n,r)}else{if("function"===a)return C((()=>{let o=t();for(;"function"==typeof o;)o=o();n=Qe(e,o,n,r)})),()=>n;if(Array.isArray(t)){const a=[],s=n&&Array.isArray(n);if(Je(a,t,n,o))return C((()=>n=Qe(e,a,n,r,!0))),()=>n;if(i){if(!a.length)return n;if(void 0===r)return n=[...e.childNodes];let t=a[0];if(t.parentNode!==e)return n;const o=[t];for(;(t=t.nextSibling)!==r;)o.push(t);return n=o}if(0===a.length){if(n=tt(e,n,r),l)return n}else s?0===n.length?et(e,a,r):function(e,t,n){let r=n.length,o=t.length,i=r,a=0,l=0,s=t[o-1].nextSibling,c=null;for(;a<o||l<i;)if(t[a]!==n[l]){for(;t[o-1]===n[i-1];)o--,i--;if(o===a){const t=i<r?l?n[l-1].nextSibling:n[i-l]:s;for(;l<i;)e.insertBefore(n[l++],t)}else if(i===l)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===n[i-1]&&n[l]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--i],r),t[o]=n[i]}else{if(!c){c=new Map;let e=l;for(;e<i;)c.set(n[e],e++)}const r=c.get(t[a]);if(null!=r)if(l<r&&r<i){let s,u=a,d=1;for(;++u<o&&u<i&&null!=(s=c.get(t[u]))&&s===r+d;)d++;if(d>r-l){const o=t[a];for(;l<r;)e.insertBefore(n[l++],o)}else e.replaceChild(n[l++],t[a++])}else a++;else t[a++].remove()}}else a++,l++}(e,n,a):(n&&tt(e),et(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=tt(e,n,r,t);tt(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function Je(e,t,n,r){let o=!1;for(let i=0,a=t.length;i<a;i++){let a,l=t[i],s=n&&n[e.length];if(null==l||!0===l||!1===l);else if("object"==(a=typeof l)&&l.nodeType)e.push(l);else if(Array.isArray(l))o=Je(e,l,s)||o;else if("function"===a)if(r){for(;"function"==typeof l;)l=l();o=Je(e,Array.isArray(l)?l:[l],Array.isArray(s)?s:[s])||o}else e.push(l),o=!0;else{const t=String(l);s&&3===s.nodeType&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return o}function et(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function tt(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let i=t.length-1;i>=0;i--){const a=t[i];if(o!==a){const t=a.parentNode===e;r||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}const nt=!1,rt="http://www.w3.org/2000/svg";function ot(e,t=!1){return t?document.createElementNS(rt,e):document.createElement(e)}function it(e){const{useShadow:t}=e,n=document.createTextNode(""),o=$();let i,a=!!r.context;return S((()=>{a&&($().user=a=!1),i||(i=P(o,(()=>x((()=>e.children)))));const r=e.mount||document.body;if(r instanceof HTMLHeadElement){const[e,t]=w(!1),n=()=>t(!0);T((t=>We(r,(()=>e()?t():i()),null))),M(n)}else{const o=ot(e.isSVG?"g":"div",e.isSVG),a=t&&o.attachShadow?o.attachShadow({mode:"open"}):o;Object.defineProperty(o,"_$host",{get:()=>n.parentNode,configurable:!0}),We(a,i),r.appendChild(o),e.ref&&e.ref(o),M((()=>r.removeChild(o)))}}),void 0,{render:!a}),n}function at(e){const[,t]=be(e,["component"]);return function(e,t){const n=x(e);return x((()=>{const e=n();switch(typeof e){case"function":return N((()=>e(t)));case"string":const n=$e.has(e),o=r.context?qe():ot(e,n);return Ge(o,t,n),o}}))}((()=>e.component),t)}function lt(e,t){const n=function(e){if("#"===e)return null;try{return document.querySelector(e)}catch(Dr){return null}}(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}function st(){return function(e,t,n,r){let o=!1;const i=e=>"string"==typeof e?{value:e}:e,a=function([e,t],n,r){return[n?()=>n(e()):e,r?e=>t(r(e)):t]}(w(i(e()),{equals:(e,t)=>e.value===t.value}),void 0,(e=>(!o&&t(e),e)));return n&&M(n(((t=e())=>{o=!0,a[1](i(t)),o=!1}))),{signal:a,utils:r}}((()=>({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),lt(window.location.hash.slice(1),n)}),(e=>{return t=window,n="popstate",r=()=>e(),t.addEventListener(n,r),()=>t.removeEventListener(n,r);var t,n,r}),{go:e=>window.history.go(e)})}const ct=/^(?:[a-z0-9]+:)?\/\//i,ut=/^\/+|(\/)\/+$/g;function dt(e,t=!1){const n=e.replace(ut,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function pt(e,t,n){if(ct.test(t))return;const r=dt(e),o=n&&dt(n);let i="";return i=!o||t.startsWith("/")?r:0!==o.toLowerCase().indexOf(r.toLowerCase())?r+o:o,(i||"/")+dt(t,!i)}function ht(e,t){return dt(e).replace(/\/*(\*.*)?$/g,"")+dt(t)}function ft(e,t,n){const[r,o]=e.split("/*",2),i=r.split("/").filter(Boolean),a=i.length;return e=>{const r=e.split("/").filter(Boolean),l=r.length-a;if(l<0||l>0&&void 0===o&&!t)return null;const s={path:a?"":"/",params:{}},c=e=>void 0===n?void 0:n[e];for(let t=0;t<a;t++){const e=i[t],n=r[t],o=":"===e[0],a=o?e.slice(1):e;if(o&&gt(n,c(a)))s.params[a]=n;else if(o||!gt(n,e))return null;s.path+=`/${n}`}if(o){const e=l?r.slice(-l).join("/"):"";if(!gt(e,c(o)))return null;s.params[o]=e}return s}}function gt(e,t){const n=t=>0===t.localeCompare(e,void 0,{sensitivity:"base"});return void 0===t||("string"==typeof t?n(t):"function"==typeof t?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp&&t.test(e))}function mt(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce(((e,t)=>e+(t.startsWith(":")?2:3)),r.length-(void 0===n?0:1))}function bt(e){const t=new Map,n=$();return new Proxy({},{get:(r,o)=>(t.has(o)||P(n,(()=>t.set(o,x((()=>e()[o]))))),t.get(o)()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),ownKeys:()=>Reflect.ownKeys(e())})}function vt(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 o=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)o.push(n+=t[1]),r=r.slice(t[0].length);return vt(r).reduce(((e,t)=>[...e,...o.map((e=>e+t))]),[])}const yt=H(),Et=H(),_t=()=>function(e,t){if(null==e)throw new Error(t);return e}(z(yt),"Make sure your app is wrapped in a <Router />");let Tt;const wt=()=>Tt||z(Et)||_t().base,kt=e=>{const t=wt();return x((()=>t.resolvePath(e())))},Ct=e=>{const t=_t();return x((()=>{const n=e();return void 0!==n?t.renderPath(n):n}))},St=e("dO",(()=>_t().navigatorFactory())),xt=e("al",(()=>_t().location));function At(e,t="",n){const{component:r,data:o,children:i}=e,a=!i||Array.isArray(i)&&!i.length,l={key:e,element:r?()=>de(r,{}):()=>{const{element:t}=e;return void 0===t&&n?de(n,{}):t},preload:e.component?r.preload:e.preload,data:o};return Nt(e.path).reduce(((n,r)=>{for(const o of vt(r)){const r=ht(t,o),i=a?r:r.split("/*",1)[0];n.push({...l,originalPath:o,pattern:i,matcher:ft(i,!a,e.matchFilters)})}return n}),[])}function Ot(e,t=0){return{routes:e,score:1e4*mt(e[e.length-1])-t,matcher(t){const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r],i=o.matcher(t);if(!i)return null;n.unshift({...i,route:o})}return n}}}function Nt(e){return Array.isArray(e)?e:[e]}function It(e,t="",n,r=[],o=[]){const i=Nt(e);for(let a=0,l=i.length;a<l;a++){const e=i[a];if(e&&"object"==typeof e&&e.hasOwnProperty("path")){const i=At(e,t,n);for(const t of i){r.push(t);const i=Array.isArray(e.children)&&0===e.children.length;if(e.children&&!i)It(e.children,t.pattern,n,r,o);else{const e=Ot([...r],o.length);o.push(e)}r.pop()}}}return r.length?o:o.sort(((e,t)=>t.score-e.score))}function Rt(e,t="",n,r){const{signal:[o,i],utils:a={}}=function(e){return e?Array.isArray(e)?{signal:e}:e:{signal:w({value:""})}}(e),l=a.parsePath||(e=>e),s=a.renderPath||(e=>e),c=a.beforeLeave||function(){let e=new Set,t=!1;return{subscribe:function(t){return e.add(t),()=>e.delete(t)},confirm:function(n,r){if(t)return!(t=!1);const o={to:n,options:r,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const i of e)i.listener({...o,from:i.location,retry:e=>{e&&(t=!0),i.navigate(n,r)}});return!o.defaultPrevented}}}(),u=pt("",t);if(void 0===u)throw new Error(`${u} is not a valid base path`);u&&!o().value&&i({value:u,replace:!0,scroll:!1});const[d,p]=w(!1),h=async e=>{p(!0);try{await D(e)}finally{p(!1)}},[f,g]=w(o().value),[m,b]=w(o().state),v=function(e,t){const n=new URL("http://sar"),r=x((t=>{const r=e();try{return new URL(r,n)}catch(o){return console.error(`Invalid path ${r}`),t}}),n,{equals:(e,t)=>e.href===t.href}),o=x((()=>r().pathname)),i=x((()=>r().search),!0),a=x((()=>r().hash)),l=x((()=>""));return{get pathname(){return o()},get search(){return i()},get hash(){return a()},get state(){return t()},get key(){return l()},query:bt(I(i,(()=>function(e){const t={};return e.searchParams.forEach(((e,n)=>{t[n]=e})),t}(r()))))}}(f,m),y=[],E={pattern:u,params:{},path:()=>u,outlet:()=>null,resolvePath:e=>pt(u,e)};if(n)try{Tt=E,E.data=n({data:void 0,params:{},location:v,navigate:T(E)})}finally{Tt=void 0}function _(e,t,n){N((()=>{if("number"==typeof t)return void(t&&(a.go?c.confirm(t,n)&&a.go(t):console.warn("Router integration does not support relative routing")));const{replace:r,resolve:o,scroll:l,state:s}={replace:!1,resolve:!0,scroll:!0,...n},u=o?e.resolvePath(t):pt("",t);if(void 0===u)throw new Error(`Path '${t}' is not a routable path`);if(y.length>=100)throw new Error("Too many redirects");const d=f();if(u!==d||s!==m())if(nt);else if(c.confirm(u,n)){const e=y.push({value:d,replace:r,scroll:l,state:m()});h((()=>{g(u),b(s),Se&&[...Se].forEach((e=>e()))})).then((()=>{y.length===e&&function(e){const t=y[0];t&&(e.value===t.value&&e.state===t.state||i({...e,replace:t.replace,scroll:t.scroll}),y.length=0)}({value:u,state:s})}))}}))}function T(e){return e=e||z(Et)||E,(t,n)=>_(e,t,n)}C((()=>{const{value:e,state:t}=o();N((()=>{e!==f()&&h((()=>{g(e),b(t)}))}))}));{function k(e){if(e.defaultPrevented||0!==e.button||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;const t=e.composedPath().find((e=>e instanceof Node&&"A"===e.nodeName.toUpperCase()));if(!t||!t.hasAttribute("link"))return;const n=t.href;if(t.target||!n&&!t.hasAttribute("state"))return;const r=(t.getAttribute("rel")||"").split(/\s+/);if(t.hasAttribute("download")||r&&r.includes("external"))return;const o=new URL(n);if(o.origin!==window.location.origin||u&&o.pathname&&!o.pathname.toLowerCase().startsWith(u.toLowerCase()))return;const i=l(o.pathname+o.search+o.hash),a=t.getAttribute("state");e.preventDefault(),_(E,i,{resolve:!1,replace:t.hasAttribute("replace"),scroll:!t.hasAttribute("noscroll"),state:a&&JSON.parse(a)})}He(["click"]),document.addEventListener("click",k),M((()=>document.removeEventListener("click",k)))}return{base:E,out:void 0,location:v,isRouting:d,renderPath:s,parsePath:l,navigatorFactory:T,beforeLeave:c}}function Mt(e,t,n,r,o){const{base:i,location:a,navigatorFactory:l}=e,{pattern:s,element:c,preload:u,data:d}=r().route,p=x((()=>r().path));u&&u();const h={parent:t,pattern:s,get child(){return n()},path:p,params:o,data:t.data,outlet:c,resolvePath:e=>pt(i.path(),e,p())};if(d)try{Tt=h,h.data=d({data:t.data,params:o,location:a,navigate:l(h)})}finally{Tt=void 0}return h}var Lt=Fe("<a link>");const $t=e=>{const{source:t,url:n,base:r,data:o,out:i}=e,a=Rt(t||st(),r,o);return de(yt.Provider,{value:a,get children(){return e.children}})},Pt=e("ca",(e=>{const t=_t(),n=wt(),r=j((()=>e.children)),o=x((()=>It(r(),ht(n.pattern,e.base||""),Bt))),i=x((()=>function(e,t){for(let n=0,r=e.length;n<r;n++){const r=e[n].matcher(t);if(r)return r}return[]}(o(),t.location.pathname))),a=bt((()=>{const e=i(),t={};for(let n=0;n<e.length;n++)Object.assign(t,e[n].params);return t}));t.out&&t.out.matches.push(i().map((({route:e,path:t,params:n})=>({originalPath:e.originalPath,pattern:e.pattern,path:t,params:n}))));const l=[];let s;const c=x(I(i,((e,r,o)=>{let u=r&&e.length===r.length;const d=[];for(let s=0,p=e.length;s<p;s++){const p=r&&r[s],h=e[s];o&&p&&h.route.key===p.route.key?d[s]=o[s]:(u=!1,l[s]&&l[s](),T((e=>{l[s]=e,d[s]=Mt(t,d[s-1]||n,(()=>c()[s+1]),(()=>i()[s]),a)})))}return l.splice(e.length).forEach((e=>e())),o&&u?o:(s=d[0],d)})));return de(we,{get when(){return c()&&s},keyed:!0,children:e=>de(Et.Provider,{value:e,get children(){return e.outlet()}})})})),Dt=e("cb",(e=>{const t=j((()=>e.children));return me(e,{get children(){return t()}})})),Bt=()=>{const e=wt();return de(we,{get when(){return e.child},keyed:!0,children:e=>de(Et.Provider,{value:e,get children(){return e.outlet()}})})},Ft=Symbol("store-raw"),Ht=Symbol("store-node"),zt=Symbol("store-has"),jt=Symbol("store-self");function Ut(e){let t=e[a];if(!t&&(Object.defineProperty(e,a,{value:t=new Proxy(e,Yt)}),!Array.isArray(e))){const n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[i].get&&Object.defineProperty(e,i,{enumerable:r[i].enumerable,get:r[i].get.bind(t)})}}return t}function Gt(e){let t;return null!=e&&"object"==typeof e&&(e[a]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Kt(e,t=new Set){let n,r,o,i;if(n=null!=e&&e[Ft])return n;if(!Gt(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,i=e.length;n<i;n++)o=e[n],(r=Kt(o,t))!==o&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const n=Object.keys(e),a=Object.getOwnPropertyDescriptors(e);for(let l=0,s=n.length;l<s;l++)i=n[l],a[i].get||(o=e[i],(r=Kt(o,t))!==o&&(e[i]=r))}return e}function Wt(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function qt(e,t,n){if(e[t])return e[t];const[r,o]=w(n,{equals:!1,internal:!0});return r.$=o,e[t]=r}function Vt(e){L()&&qt(Wt(e,Ht),jt)()}const Yt={get(e,t,n){if(t===Ft)return e;if(t===a)return n;if(t===s)return Vt(e),n;const r=Wt(e,Ht),o=r[t];let i=o?o():e[t];if(t===Ht||t===zt||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!L()||"function"==typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=qt(r,t,i)())}return Gt(i)?Ut(i):i},has:(e,t)=>t===Ft||t===a||t===s||t===Ht||t===zt||"__proto__"===t||(L()&&qt(Wt(e,zt),t)(),t in e),set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return Vt(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==a&&t!==Ht?(delete n.value,delete n.writable,n.get=()=>e[a][t],n):n}};function Xt(e,t,n,r=!1){if(!r&&e[t]===n)return;const o=e[t],i=e.length;void 0===n?(delete e[t],e[zt]&&e[zt][t]&&void 0!==o&&e[zt][t].$()):(e[t]=n,e[zt]&&e[zt][t]&&void 0===o&&e[zt][t].$());let a,l=Wt(e,Ht);if((a=qt(l,t,o))&&a.$((()=>n)),Array.isArray(e)&&e.length!==i){for(let t=e.length;t<i;t++)(a=l[t])&&a.$();(a=qt(l,"length",i))&&a.$(e.length)}(a=l[jt])&&a.$()}function Zt(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];Xt(e,o,t[o])}}function Qt(e,t,n=[]){let r,o=e;if(t.length>1){r=t.shift();const i=typeof r,a=Array.isArray(e);if(Array.isArray(r)){for(let o=0;o<r.length;o++)Qt(e,[r[o]].concat(t),n);return}if(a&&"function"===i){for(let o=0;o<e.length;o++)r(e[o],o)&&Qt(e,[o].concat(t),n);return}if(a&&"object"===i){const{from:o=0,to:i=e.length-1,by:a=1}=r;for(let r=o;r<=i;r+=a)Qt(e,[r].concat(t),n);return}if(t.length>1)return void Qt(e[r],t,[r].concat(n));o=e[r],n=[r].concat(n)}let i=t[0];"function"==typeof i&&(i=i(o,n),i===o)||void 0===r&&null==i||(i=Kt(i),void 0===r||Gt(o)&&Gt(i)&&!Array.isArray(i)?Zt(o,i):Xt(e,r,i))}function Jt(...[e,t]){const n=Kt(e||{}),r=Array.isArray(n);return[Ut(n),function(...e){O((()=>{r&&1===e.length?function(e,t){if("function"==typeof t&&(t=t(e)),t=Kt(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const r=t[n];e[n]!==r&&Xt(e,n,r)}Xt(e,"length",r)}else Zt(e,t)}(n,e[0]):Qt(n,e)}))}]}const en=new WeakMap,tn={get(e,t){if(t===Ft)return e;const n=e[t];let r;return Gt(n)?en.get(n)||(en.set(n,r=new Proxy(n,tn)),r):n},set:(e,t,n)=>(Xt(e,t,Kt(n)),!0),deleteProperty:(e,t)=>(Xt(e,t,void 0,!0),!0)};function nn(e){return t=>{if(Gt(t)){let n;(n=en.get(t))||en.set(t,n=new Proxy(t,tn)),e(n)}return t}}var rn="colors",on="sizes",an="space",ln={gap:an,gridGap:an,columnGap:an,gridColumnGap:an,rowGap:an,gridRowGap:an,inset:an,insetBlock:an,insetBlockEnd:an,insetBlockStart:an,insetInline:an,insetInlineEnd:an,insetInlineStart:an,margin:an,marginTop:an,marginRight:an,marginBottom:an,marginLeft:an,marginBlock:an,marginBlockEnd:an,marginBlockStart:an,marginInline:an,marginInlineEnd:an,marginInlineStart:an,padding:an,paddingTop:an,paddingRight:an,paddingBottom:an,paddingLeft:an,paddingBlock:an,paddingBlockEnd:an,paddingBlockStart:an,paddingInline:an,paddingInlineEnd:an,paddingInlineStart:an,top:an,right:an,bottom:an,left:an,scrollMargin:an,scrollMarginTop:an,scrollMarginRight:an,scrollMarginBottom:an,scrollMarginLeft:an,scrollMarginX:an,scrollMarginY:an,scrollMarginBlock:an,scrollMarginBlockEnd:an,scrollMarginBlockStart:an,scrollMarginInline:an,scrollMarginInlineEnd:an,scrollMarginInlineStart:an,scrollPadding:an,scrollPaddingTop:an,scrollPaddingRight:an,scrollPaddingBottom:an,scrollPaddingLeft:an,scrollPaddingX:an,scrollPaddingY:an,scrollPaddingBlock:an,scrollPaddingBlockEnd:an,scrollPaddingBlockStart:an,scrollPaddingInline:an,scrollPaddingInlineEnd:an,scrollPaddingInlineStart:an,fontSize:"fontSizes",background:rn,backgroundColor:rn,backgroundImage:rn,borderImage:rn,border:rn,borderBlock:rn,borderBlockEnd:rn,borderBlockStart:rn,borderBottom:rn,borderBottomColor:rn,borderColor:rn,borderInline:rn,borderInlineEnd:rn,borderInlineStart:rn,borderLeft:rn,borderLeftColor:rn,borderRight:rn,borderRightColor:rn,borderTop:rn,borderTopColor:rn,caretColor:rn,color:rn,columnRuleColor:rn,fill:rn,outline:rn,outlineColor:rn,stroke:rn,textDecorationColor:rn,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:on,minBlockSize:on,maxBlockSize:on,inlineSize:on,minInlineSize:on,maxInlineSize:on,width:on,minWidth:on,maxWidth:on,height:on,minHeight:on,maxHeight:on,flexBasis:on,gridTemplateColumns:on,gridTemplateRows:on,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"},sn=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,cn=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(e=>JSON.stringify(e,sn))(t);return o in e?e[o]:e[o]=n(t,...r)}},un=Symbol.for("sxs.internal"),dn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),pn=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:hn}=Object.prototype,fn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),gn=/\s+(?![^()]*\))/,mn=e=>t=>e(..."string"==typeof t?String(t).split(gn):[t]),bn={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:`"${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:mn(((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e}))),marginInline:mn(((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e}))),maxSize:mn(((e,t)=>({maxBlockSize:e,maxInlineSize:t||e}))),minSize:mn(((e,t)=>({minBlockSize:e,minInlineSize:t||e}))),paddingBlock:mn(((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e}))),paddingInline:mn(((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e})))},vn=/([\d.]+)([^]*)/,yn=(e,t)=>e.length?e.reduce(((e,n)=>(e.push(...t.map((e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e))),e)),[]):t,En=(e,t)=>e in _n&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,((t,n,r,o)=>n+("stretch"===r?`-moz-available${o};${fn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${fn(e)}:${n}fit-content`)+o)):String(t),_n={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Tn=e=>e?e+"-":"",wn=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,((e,r,o,i,a)=>"$"==i==!!o?e:(r||"--"==i?"calc(":"")+"var(--"+("$"===i?Tn(t)+(a.includes("$")?"":Tn(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==i?"*"+(r||"")+(o||"1")+")":""))),kn=/\s*,\s*(?![^()]*\))/,Cn=Object.prototype.toString,Sn=(e,t,n,r,o)=>{let i,a,l;const s=(e,t,n)=>{let c,u;const d=e=>{for(c in e){const f=64===c.charCodeAt(0),g=f&&Array.isArray(e[c])?e[c]:[e[c]];for(u of g){const e=/[A-Z]/.test(h=c)?h:h.replace(/-[^]/g,(e=>e[1].toUpperCase())),g="object"==typeof u&&u&&u.toString===Cn&&(!r.utils[e]||!t.length);if(e in r.utils&&!g){const t=r.utils[e];if(t!==a){a=t,d(t(u)),a=null;continue}}else if(e in bn){const t=bn[e];if(t!==l){l=t,d(t(u)),l=null;continue}}if(f&&(p=c.slice(1)in r.media?"@media "+r.media[c.slice(1)]:c,c=p.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,((e,t,n,r,o,i)=>{const a=vn.test(t),l=.0625*(a?-1:1),[s,c]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+s+":"+("="!==n[0]&&1===n.length?c.replace(vn,((e,t,r)=>Number(t)+l*(">"===n?1:-1)+r)):c)+(o?") and ("+(">"===o[0]?"min-":"max-")+s+":"+(1===o.length?i.replace(vn,((e,t,n)=>Number(t)+l*(">"===o?-1:1)+n)):i):"")+")"}))),g){const e=f?n.concat(c):[...n],r=f?[...t]:yn(t,c.split(kn));void 0!==i&&o(xn(...i)),i=void 0,s(u,r,e)}else void 0===i&&(i=[[],t,n]),c=f||36!==c.charCodeAt(0)?c:`--${Tn(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,u=g?u:"number"==typeof u?u&&e in An?String(u)+"px":String(u):wn(En(e,null==u?"":u),r.prefix,r.themeMap[e]),i[0].push(`${f?`${c} `:`${fn(c)}:`}${u}`)}}var p,h};d(e),void 0!==i&&o(xn(...i)),i=void 0};s(e,t,n)},xn=(e,t,n)=>`${n.map((e=>`${e}{`)).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,An={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},On=e=>String.fromCharCode(e+(e>25?39:97)),Nn=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=On(t%52)+n;return On(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),In=["themed","global","styled","onevar","resonevar","allvar","inline"],Rn=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},Mn=e=>{let t;const n=()=>{const{cssRules:e}=t.sheet;return[].map.call(e,((n,r)=>{const{cssText:o}=n;let i="";if(o.startsWith("--sxs"))return"";if(e[r-1]&&(i=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(const e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${o}`;return n.cssRules.length?`${i}${o}`:""}return o})).join("")},r=()=>{if(t){const{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(const t in e)delete e[t]}const o=Object(e).styleSheets||[];for(const e of o)if(Rn(e)){for(let o=0,i=e.cssRules;i[o];++o){const a=Object(i[o]);if(1!==a.type)continue;const l=Object(i[o+1]);if(4!==l.type)continue;++o;const{cssText:s}=a;if(!s.startsWith("--sxs"))continue;const c=s.slice(14,-3).trim().split(/\s+/),u=In[c[0]];u&&(t||(t={sheet:e,reset:r,rules:{},toString:n}),t.rules[u]={group:l,index:o,cache:new Set(c)})}if(t)break}if(!t){const o=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,o(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,(e=>e.cssText)).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:o("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let e=In.length-1;e>=0;--e){const t=In[e];if(!a[t]){const n=In[e+1],r=a[n]?a[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),a[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}Ln(a[t])}};return r(),t},Ln=e=>{const t=e.group;let n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},$n=Symbol(),Pn=cn(),Dn=(e,t)=>Pn(e,(()=>(...n)=>{let r={type:null,composers:new Set};for(const t of n)if(null!=t)if(t[un]){null==r.type&&(r.type=t[un].type);for(const e of t[un].composers)r.composers.add(e)}else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(Bn(t,e));return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),Fn(e,r,t)})),Bn=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${Tn(o.prefix)}c-${Nn(r)}`,a=[],l=[],s=Object.create(null),c=[];for(const p in n)s[p]=String(n[p]);if("object"==typeof e&&e)for(const p in e){u=s,d=p,hn.call(u,d)||(s[p]="undefined");const t=e[p];for(const e in t){const n={[p]:String(e)};"undefined"===String(e)&&c.push(p);const r=t[e],o=[n,r,!pn(r)];a.push(o)}}var u,d;if("object"==typeof t&&t)for(const p of t){let{css:e,...t}=p;e="object"==typeof e&&e||{};for(const r in t)t[r]=String(t[r]);const n=[t,e,!pn(e)];l.push(n)}return[i,r,a,l,s,c]},Fn=(e,t,n)=>{const[r,o,i,a]=Hn(t.composers),l="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[$n].length;n++){const[r,o]=t[$n][n];e.rules[r].apply(o)}return t[$n]=[],null}return t[$n]=[],t.rules={},In.forEach((e=>t.rules[e]={apply:n=>t[$n].push([e,n])})),t})(n):null,s=(l||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=u=>{u="object"==typeof u&&u||jn;const{css:d,...p}=u,h={};for(const e in i)if(delete p[e],e in u){let t=u[e];"object"==typeof t&&t?h[e]={"@initial":i[e],...t}:(t=String(t),h[e]="undefined"!==t||a.has(e)?t:i[e])}else h[e]=i[e];const f=new Set([...o]);for(const[r,o,i,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),Sn(o,[`.${r}`],[],e,(e=>{s.styled.apply(e)})));const t=zn(i,h,e.media),l=zn(a,h,e.media,!0);for(const o of t)if(void 0!==o)for(const[t,i,a]of o){const o=`${r}-${Nn(i)}-${t}`;f.add(o);const l=(a?n.rules.resonevar:n.rules.onevar).cache,c=a?s.resonevar:s.onevar;l.has(o)||(l.add(o),Sn(i,[`.${o}`],[],e,(e=>{c.apply(e)})))}for(const o of l)if(void 0!==o)for(const[t,i]of o){const o=`${r}-${Nn(i)}-${t}`;f.add(o),n.rules.allvar.cache.has(o)||(n.rules.allvar.cache.add(o),Sn(i,[`.${o}`],[],e,(e=>{s.allvar.apply(e)})))}}if("object"==typeof d&&d){const t=`${r}-i${Nn(d)}-css`;f.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),Sn(d,[`.${t}`],[],e,(e=>{s.inline.apply(e)})))}for(const e of String(u.className||"").trim().split(/\s+/))e&&f.add(e);const g=p.className=[...f].join(" ");return{type:t.type,className:g,selector:c,props:p,toString:()=>g,deferredInjector:l}};return dn(u,{className:r,selector:c,[un]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},Hn=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,l]of e){""===t&&(t=i),n.push(i),o.push(...l);for(const e in a){const t=a[e];(void 0===r[e]||"undefined"!==t||l.includes(t))&&(r[e]=t)}}return[t,n,r,new Set(o)]},zn=(e,t,n,r)=>{const o=[];e:for(let[i,a,l]of e){if(l)continue;let e,s=0,c=!1;for(e in i){const r=i[e];let o=t[e];if(o!==r){if("object"!=typeof o||!o)continue e;{let e,t,i=0;for(const a in o){if(r===String(o[a])){if("@initial"!==a){const e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),c=!0}s+=i,e=!0}++i}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue e}}}(o[s]=o[s]||[]).push([r?"cv":`${e}-${i[e]}`,a,c])}return o},jn={},Un=cn(),Gn=(e,t)=>Un(e,(()=>(...n)=>{const r=()=>{for(let r of n){r="object"==typeof r&&r||{};let n=Nn(r);if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}Sn(r,[],[],e,(e=>{t.rules.global.apply(e)}))}}return""};return dn(r,{toString:r})})),Kn=cn(),Wn=(e,t)=>Kn(e,(()=>n=>{const r=`${Tn(e.prefix)}k-${Nn(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const o=[];Sn(n,[],[],e,(e=>o.push(e)));const i=`@keyframes ${r}{${o.join("")}}`;t.rules.global.apply(i)}return r};return dn(o,{get name(){return o()},toString:o})})),qn=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Tn(this.prefix)+Tn(this.scale)+this.token}toString(){return this.computedValue}},Vn=cn(),Yn=(e,t)=>Vn(e,(()=>(n,r)=>{r="object"==typeof n&&n||Object(r);const o=`.${n=(n="string"==typeof n?n:"")||`${Tn(e.prefix)}t-${Nn(r)}`}`,i={},a=[];for(const t in r){i[t]={};for(const n in r[t]){const o=`--${Tn(e.prefix)}${t}-${n}`,l=wn(String(r[t][n]),e.prefix,t);i[t][n]=new qn(n,l,t,e.prefix),a.push(`${o}:${l}`)}}const l=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const o=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(o)}return n};return{...i,get className(){return l()},selector:o,toString:l}})),Xn=cn(),Zn=e("cA","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jn={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Function]",a="[object Object]",l=/^\[object .+?Constructor\]$/,s=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[i]=c["[object Map]"]=c["[object Number]"]=c[a]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var u,d,p,h="object"==typeof Zn&&Zn&&Zn.Object===Object&&Zn,f="object"==typeof self&&self&&self.Object===Object&&self,g=h||f||Function("return this")(),m=t&&!t.nodeType&&t,b=m&&e&&!e.nodeType&&e,v=b&&b.exports===m,y=v&&h.process,E=function(){try{var e=b&&b.require&&b.require("util").types;return e||y&&y.binding&&y.binding("util")}catch(Dr){}}(),_=E&&E.isTypedArray,T=Array.prototype,w=Function.prototype,k=Object.prototype,C=g["__core-js_shared__"],S=w.toString,x=k.hasOwnProperty,A=(u=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",O=k.toString,N=S.call(Object),I=RegExp("^"+S.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=v?g.Buffer:void 0,M=g.Symbol,L=g.Uint8Array,$=R?R.allocUnsafe:void 0,P=(d=Object.getPrototypeOf,p=Object,function(e){return d(p(e))}),D=Object.create,B=k.propertyIsEnumerable,F=T.splice,H=M?M.toStringTag:void 0,z=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(Dr){}}(),j=R?R.isBuffer:void 0,U=Math.max,G=Date.now,K=he(g,"Map"),W=he(Object,"create"),q=function(){function e(){}return function(t){if(!Ce(t))return{};if(D)return D(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=this.__data__=new Y(e);this.size=t.size}function Q(e,t){var n=Ee(e),r=!n&&ye(e),o=!n&&!r&&Te(e),i=!n&&!r&&!o&&xe(e),a=n||r||o||i,l=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var c in e)!t&&!x.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||fe(c,s))||l.push(c);return l}function J(e,t,n){(void 0!==n&&!ve(e[t],n)||void 0===n&&!(t in e))&&ne(e,t,n)}function ee(e,t,n){var r=e[t];x.call(e,t)&&ve(r,n)&&(void 0!==n||t in e)||ne(e,t,n)}function te(e,t){for(var n=e.length;n--;)if(ve(e[n][0],t))return n;return-1}function ne(e,t,n){"__proto__"==t&&z?z(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}V.prototype.clear=function(){this.__data__=W?W(null):{},this.size=0},V.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},V.prototype.get=function(e){var t=this.__data__;if(W){var r=t[e];return r===n?void 0:r}return x.call(t,e)?t[e]:void 0},V.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:x.call(t,e)},V.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=W&&void 0===t?n:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=te(t,e);return!(n<0||(n==t.length-1?t.pop():F.call(t,n,1),--this.size,0))},Y.prototype.get=function(e){var t=this.__data__,n=te(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return te(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=te(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new V,map:new(K||Y),string:new V}},X.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},X.prototype.get=function(e){return pe(this,e).get(e)},X.prototype.has=function(e){return pe(this,e).has(e)},X.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Z.prototype.clear=function(){this.__data__=new Y,this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new X(r)}return n.set(e,t),this.size=n.size,this};var re,oe=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var l=i[re?a:++r];if(!1===t(o[l],l,o))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=x.call(e,H),n=e[H];try{e[H]=void 0;var r=!0}catch(Dr){}var o=O.call(e);return r&&(t?e[H]=n:delete e[H]),o}(e):function(e){return O.call(e)}(e)}function ae(e){return Se(e)&&ie(e)==o}function le(e){return!(!Ce(e)||function(e){return!!A&&A in e}(e))&&(we(e)?I:l).test(function(e){if(null!=e){try{return S.call(e)}catch(Dr){}try{return e+""}catch(Dr){}}return""}(e))}function se(e){if(!Ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var r in e)("constructor"!=r||!t&&x.call(e,r))&&n.push(r);return n}function ce(e,t,n,r,o){e!==t&&oe(t,(function(i,l){if(o||(o=new Z),Ce(i))!function(e,t,n,r,o,i,l){var s=me(e,n),c=me(t,n),u=l.get(c);if(u)J(e,n,u);else{var d,p=i?i(s,c,n+"",e,t,l):void 0,h=void 0===p;if(h){var f=Ee(c),g=!f&&Te(c),m=!f&&!g&&xe(c);p=c,f||g||m?Ee(s)?p=s:Se(d=s)&&_e(d)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):g?(h=!1,p=function(e,t){if(t)return e.slice();var n=e.length,r=$?$(n):new e.constructor(n);return e.copy(r),r}(c,!0)):m?(h=!1,p=function(e,t){var n,r,o=t?(n=e.buffer,r=new n.constructor(n.byteLength),new L(r).set(new L(n)),r):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}(c,!0)):p=[]:function(e){if(!Se(e)||ie(e)!=a)return!1;var t=P(e);if(null===t)return!0;var n=x.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&S.call(n)==N}(c)||ye(c)?(p=s,ye(s)?p=function(e){return function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?ne(n,l,s):ee(n,l,s)}return n}(e,Ae(e))}(s):Ce(s)&&!we(s)||(p=function(e){return"function"!=typeof e.constructor||ge(e)?{}:q(P(e))}(c))):h=!1}h&&(l.set(c,p),o(p,c,r,i,l),l.delete(c)),J(e,n,p)}}(e,t,l,n,ce,r,o);else{var s=r?r(me(e,l),i,l+"",e,t,o):void 0;void 0===s&&(s=i),J(e,l,s)}}),Ae)}function ue(e,t){return be(function(e,t,n){return t=U(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=U(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,Ie),e+"")}var de=z?function(e,t){return z(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ie;function pe(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return le(n)?n:void 0}function fe(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&s.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var be=function(e){var t=0,n=0;return function(){var r=G(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(de);function ve(e,t){return e===t||e!=e&&t!=t}var ye=ae(function(){return arguments}())?ae:function(e){return Se(e)&&x.call(e,"callee")&&!B.call(e,"callee")},Ee=Array.isArray;function _e(e){return null!=e&&ke(e.length)&&!we(e)}var Te=j||function(){return!1};function we(e){if(!Ce(e))return!1;var t=ie(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Ce(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Se(e){return null!=e&&"object"==typeof e}var xe=_?function(e){return function(t){return e(t)}}(_):function(e){return Se(e)&&ke(e.length)&&!!c[ie(e)]};function Ae(e){return _e(e)?Q(e,!0):se(e)}var Oe,Ne=(Oe=function(e,t,n){ce(e,t,n)},ue((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Oe.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Ce(n))return!1;var r=typeof t;return!!("number"==r?_e(n)&&fe(t,n.length):"string"==r&&t in n)&&ve(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Oe(e,a,n,o)}return e})));function Ie(e){return e}e.exports=Ne}(Jn,Jn.exports);const er=Qn(Jn.exports);function tr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}const nr=e=>{let t,n=!0;const[r,o]=w(),[i,a]=w(),l=j((()=>e.children)),{onBeforeEnter:s,onEnter:c,onAfterEnter:u,onBeforeExit:d,onExit:p,onAfterExit:h}=e,f=x((()=>{const t=e.name||"s";return{enterActiveClass:e.enterActiveClass||t+"-enter-active",enterClass:e.enterClass||t+"-enter",enterToClass:e.enterToClass||t+"-enter-to",exitActiveClass:e.exitActiveClass||t+"-exit-active",exitClass:e.exitClass||t+"-exit",exitToClass:e.exitToClass||t+"-exit-to"}}));function g(t,l){if(!n||e.appear){const d=f().enterClass.split(" "),p=f().enterActiveClass.split(" "),h=f().enterToClass.split(" ");function g(n){!t||n&&n.target!==t||(t.removeEventListener("transitionend",g),t.removeEventListener("animationend",g),t.classList.remove(...p),t.classList.remove(...h),O((()=>{r()!==t&&o(t),i()===t&&a(void 0)})),u&&u(t),"inout"===e.mode&&m(t,l))}s&&s(t),t.classList.add(...d),t.classList.add(...p),tr((()=>{t.classList.remove(...d),t.classList.add(...h),c&&c(t,(()=>g())),(!c||c.length<2)&&(t.addEventListener("transitionend",g),t.addEventListener("animationend",g))}))}l&&!e.mode?a(t):o(t)}function m(t,n){const i=f().exitClass.split(" "),a=f().exitActiveClass.split(" "),l=f().exitToClass.split(" ");if(!n.parentNode)return s();function s(i){i&&i.target!==n||(n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...a),n.classList.remove(...l),r()===n&&o(void 0),h&&h(n),"outin"===e.mode&&g(t,n))}d&&d(n),n.classList.add(...i),n.classList.add(...a),tr((()=>{n.classList.remove(...i),n.classList.add(...l)})),p&&p(n,(()=>s())),(!p||p.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))}return k((r=>{for(t=l();"function"==typeof t;)t=t();return N((()=>(t&&t!==r&&("outin"!==e.mode?g(t,r):n&&o(t)),r&&r!==t&&"inout"!==e.mode&&m(t,r),n=!1,t)))})),[r,i]};function rr(e){const{top:t,bottom:n,left:r,right:o,width:i,height:a}=e.getBoundingClientRect(),l=e.parentNode.getBoundingClientRect();return{top:t-l.top,bottom:n,left:r-l.left,right:o,width:i,height:a}}const or=e=>{const t=j((()=>e.children)),n=x((()=>{const t=e.name||"s";return{enterActiveClass:e.enterActiveClass||t+"-enter-active",enterClass:e.enterClass||t+"-enter",enterToClass:e.enterToClass||t+"-enter-to",exitActiveClass:e.exitActiveClass||t+"-exit-active",exitClass:e.exitClass||t+"-exit",exitToClass:e.exitToClass||t+"-exit-to",moveClass:e.moveClass||t+"-move"}})),{onBeforeEnter:r,onEnter:o,onAfterEnter:i,onBeforeExit:a,onExit:l,onAfterExit:s}=e,[c,u]=w();let d=[],p=!0;return k((()=>{const e=t(),c=[...e],h=new Set(e),f=new Set(d),g=n().enterClass.split(" "),m=n().enterActiveClass.split(" "),b=n().enterToClass.split(" "),v=n().exitClass.split(" "),y=n().exitActiveClass.split(" "),E=n().exitToClass.split(" ");for(let _=0;_<e.length;_++){const T=e[_];if(!p&&!f.has(T)){function w(e){!T||e&&e.target!==T||(T.removeEventListener("transitionend",w),T.removeEventListener("animationend",w),T.classList.remove(...m),T.classList.remove(...b),i&&i(T))}r&&r(T),T.classList.add(...g),T.classList.add(...m),tr((()=>{T.classList.remove(...g),T.classList.add(...b),o&&o(T,(()=>w())),(!o||o.length<2)&&(T.addEventListener("transitionend",w),T.addEventListener("animationend",w))}))}}for(let k=0;k<d.length;k++){const C=d[k];if(!h.has(C)&&C.parentNode){function S(e){e&&e.target!==C||(C.removeEventListener("transitionend",S),C.removeEventListener("animationend",S),C.classList.remove(...y),C.classList.remove(...E),s&&s(C),d=d.filter((e=>e!==C)),u(d))}c.splice(k,0,C),a&&a(C),C.classList.add(...v),C.classList.add(...y),tr((()=>{C.classList.remove(...v),C.classList.add(...E)})),l&&l(C,(()=>S())),(!l||l.length<2)&&(C.addEventListener("transitionend",S),C.addEventListener("animationend",S))}}d=c,u(c)})),S((e=>{const t=c();return t.forEach((t=>{let n;(n=e.get(t))?n.new&&(n.new=!1,n.newPos=rr(t)):e.set(t,n={pos:rr(t),new:!p}),n.new&&t.addEventListener("transitionend",(()=>{n.new=!1,t.parentNode&&(n.newPos=rr(t))}),{once:!0}),n.newPos&&(n.pos=n.newPos),n.newPos=rr(t)})),p?(p=!1,e):(t.forEach((t=>{const n=e.get(t),r=n.pos,o=n.newPos,i=r.left-o.left,a=r.top-o.top;if(i||a){n.moved=!0;const e=t.style;e.transform=`translate(${i}px,${a}px)`,e.transitionDuration="0s"}})),document.body.offsetHeight,t.forEach((t=>{const r=e.get(t);if(r.moved){r.moved=!1;const o=t.style,i=n().moveClass.split(" ");function a(e){e&&e.target!==t||!t.parentNode||e&&!/transform$/.test(e.propertyName)||(t.removeEventListener("transitionend",a),t.classList.remove(...i))}t.classList.add(...i),o.transform=o.transitionDuration="",t.addEventListener("transitionend",a)}})),e)}),new Map),c};
2
2
  /*!
3
3
  * tabbable 5.3.3
4
4
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -7,7 +7,7 @@ System.register([],(function(e,t){"use strict";return{execute:function(){var n=d
7
7
  * focus-trap 6.7.3
8
8
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
9
9
  */
10
- function Cr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xr,Ar=(xr=[],{activateTrap:function(e){if(xr.length>0){var t=xr[xr.length-1];t!==e&&t.pause()}var n=xr.indexOf(e);-1===n||xr.splice(n,1),xr.push(e)},deactivateTrap:function(e){var t=xr.indexOf(e);-1!==t&&xr.splice(t,1),xr.length>0&&xr[xr.length-1].unpause()}}),Or=function(e){return setTimeout(e,0)},Nr=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},Ir=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Rr=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Mr=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e){return!(!e||!i.containers.some((function(t){return t.contains(e)})))},s=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t=t.apply(void 0,i)}if(!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},c=function(){var e=s("initialFocus");if(!1===e)return!1;if(void 0===e)if(l(r.activeElement))e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(i.tabbableGroups=i.containers.map((function(e){var t,n,r=_r(e),o=(t=e,(n=n||{}).getShadowRoot?dr([t],n.includeContainer,{filter:br.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):ur(t,n.includeContainer,br.bind(null,n)));if(r.length>0)return{container:e,firstTabbableNode:r[0],lastTabbableNode:r[r.length-1],nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex((function(t){return t===e}));return t?o.slice(n+1).find((function(e){return Tr(e)})):o.slice(0,n).reverse().find((function(e){return Tr(e)}))}}})).filter((function(e){return!!e})),i.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},p=function(e){var t=s("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Rr(e);l(t)||(Ir(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!kr(t)}):Ir(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Rr(e),n=l(t);n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(i.mostRecentlyFocusedNode||c()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==Ir(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Rr(e);u();var n=null;if(i.tabbableGroups.length>0){var r=Nr(i.tabbableGroups,(function(e){return e.container.contains(t)})),o=r>=0?i.tabbableGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var a=Nr(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(a<0&&(o.container===t||kr(t)&&!Tr(t)&&!o.nextTabbableNode(t,!1))&&(a=r),a>=0){var l=0===a?i.tabbableGroups.length-1:a-1;n=i.tabbableGroups[l].lastTabbableNode}}else{var c=Nr(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(c<0&&(o.container===t||kr(t)&&!Tr(t)&&!o.nextTabbableNode(t))&&(c=r),c>=0){var p=c===i.tabbableGroups.length-1?0:c+1;n=i.tabbableGroups[p].firstTabbableNode}}}else n=s("fallbackFocus");n&&(e.preventDefault(),d(n))}(e)},m=function(e){if(!Ir(o.clickOutsideDeactivates,e)){var t=Rr(e);l(t)||Ir(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())}},b=function(){if(i.active)return Ar.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?Or((function(){d(c())})):d(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},v=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",g,!0),n};return n={activate:function(e){if(i.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var l=function(){o&&u(),b(),n&&n()};return o?(o(i.containers.concat()).then(l,l),this):(l(),this)},deactivate:function(e){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,v(),i.active=!1,i.paused=!1,Ar.deactivateTrap(n);var t=a(e,"onDeactivate"),r=a(e,"onPostDeactivate"),o=a(e,"checkCanReturnFocus");t&&t();var l=a(e,"returnFocus","returnFocusOnDeactivate"),s=function(){Or((function(){l&&d(p(i.nodeFocusedBeforeActivation)),r&&r()}))};return l&&o?(o(p(i.nodeFocusedBeforeActivation)).then(s,s),this):(s(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,v()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,u(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),i.active&&u(),this}},n.updateContainerElements(e),n},Lr={exports:{}};!function(e){!function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n.r(t);var r=function(e){return Array.isArray(e)?e:[e]},o=function(e){return e instanceof Node},i=function(e,t){if(e&&t){e=function(e){return e instanceof NodeList}(e)?e:[e];for(var n=0;n<e.length&&!0!==t(e[n],n,e.length);n++);}},a=function(e){return console.error("[scroll-lock] ".concat(e))},l=function(e){if(Array.isArray(e))return e.join(", ")},s=function(e){var t=[];return i(e,(function(e){return t.push(e)})),t},c=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document;if((!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&-1!==s(n.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===s(n.querySelectorAll(t)).indexOf(e););return e},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return-1!==s(n.querySelectorAll(t)).indexOf(e)},d=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},p=function(e){if(e)return!!d(e)||e.scrollTop<=0},h=function(e){if(e){if(d(e))return!0;var t=e.scrollTop,n=e.scrollHeight;return t+e.offsetHeight>=n}},f=function(e){if(e)return!!d(e)||e.scrollLeft<=0},g=function(e){if(e){if(d(e))return!0;var t=e.scrollLeft,n=e.scrollWidth;return t+e.offsetWidth>=n}};function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"disablePageScroll",(function(){return y})),n.d(t,"enablePageScroll",(function(){return E})),n.d(t,"getScrollState",(function(){return _})),n.d(t,"clearQueueScrollLocks",(function(){return T})),n.d(t,"getTargetScrollBarWidth",(function(){return w})),n.d(t,"getCurrentTargetScrollBarWidth",(function(){return k})),n.d(t,"getPageScrollBarWidth",(function(){return C})),n.d(t,"getCurrentPageScrollBarWidth",(function(){return S})),n.d(t,"addScrollableTarget",(function(){return x})),n.d(t,"removeScrollableTarget",(function(){return A})),n.d(t,"addScrollableSelector",(function(){return O})),n.d(t,"removeScrollableSelector",(function(){return N})),n.d(t,"addLockableTarget",(function(){return I})),n.d(t,"addLockableSelector",(function(){return R})),n.d(t,"setFillGapMethod",(function(){return M})),n.d(t,"addFillGapTarget",(function(){return L})),n.d(t,"removeFillGapTarget",(function(){return $})),n.d(t,"addFillGapSelector",(function(){return P})),n.d(t,"removeFillGapSelector",(function(){return D})),n.d(t,"refillGaps",(function(){return B}));var b=["padding","margin","width","max-width","none"],v={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:b[0],startTouchY:0,startTouchX:0},y=function(e){v.queue<=0&&(v.scroll=!1,F(),K()),x(e),v.queue++},E=function(e){v.queue>0&&v.queue--,v.queue<=0&&(v.scroll=!0,H(),W()),A(e)},_=function(){return v.scroll},T=function(){v.queue=0},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n=e.style.overflowY;t?_()||(e.style.overflowY=e.getAttribute("data-scroll-lock-saved-overflow-y-property")):e.style.overflowY="scroll";var r=k(e);return e.style.overflowY=n,r}return 0},k=function(e){if(o(e)){if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var n=e.style.borderLeftWidth,r=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var i=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=n,e.style.borderRightWidth=r,i}return 0},C=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w(document.body,e)},S=function(){return k(document.body)},x=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?e.setAttribute("data-scroll-lock-scrollable",""):a('"'.concat(e,'" is not a Element.'))}))}))},A=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?e.removeAttribute("data-scroll-lock-scrollable"):a('"'.concat(e,'" is not a Element.'))}))}))},O=function(e){e&&r(e).map((function(e){v.scrollableSelectors.push(e)}))},N=function(e){e&&r(e).map((function(e){v.scrollableSelectors=v.scrollableSelectors.filter((function(t){return t!==e}))}))},I=function(e){e&&(r(e).map((function(e){i(e,(function(e){o(e)?e.setAttribute("data-scroll-lock-lockable",""):a('"'.concat(e,'" is not a Element.'))}))})),_()||F())},R=function(e){e&&(r(e).map((function(e){v.lockableSelectors.push(e)})),_()||F(),P(e))},M=function(e){if(e)if(-1!==b.indexOf(e))v.fillGapMethod=e,B();else{var t=b.join(", ");a('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},L=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?(e.setAttribute("data-scroll-lock-fill-gap",""),v.scroll||V(e)):a('"'.concat(e,'" is not a Element.'))}))}))},$=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?(e.removeAttribute("data-scroll-lock-fill-gap"),v.scroll||X(e)):a('"'.concat(e,'" is not a Element.'))}))}))},P=function(e){e&&r(e).map((function(e){-1===v.fillGapSelectors.indexOf(e)&&(v.fillGapSelectors.push(e),v.scroll||q(e))}))},D=function(e){e&&r(e).map((function(e){v.fillGapSelectors=v.fillGapSelectors.filter((function(t){return t!==e})),v.scroll||Y(e)}))},B=function(){v.scroll||K()},F=function(){var e=l(v.lockableSelectors);z(e)},H=function(){var e=l(v.lockableSelectors);j(e)},z=function(e){var t=document.querySelectorAll(e);i(t,(function(e){U(e)}))},j=function(e){var t=document.querySelectorAll(e);i(t,(function(e){G(e)}))},U=function(e){if(o(e)&&"true"!==e.getAttribute("data-scroll-lock-locked")){var t=window.getComputedStyle(e);e.setAttribute("data-scroll-lock-saved-overflow-y-property",t.overflowY),e.setAttribute("data-scroll-lock-saved-inline-overflow-property",e.style.overflow),e.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",e.style.overflowY),e.style.overflow="hidden",e.setAttribute("data-scroll-lock-locked","true")}},G=function(e){o(e)&&"true"===e.getAttribute("data-scroll-lock-locked")&&(e.style.overflow=e.getAttribute("data-scroll-lock-saved-inline-overflow-property"),e.style.overflowY=e.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-saved-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-locked"))},K=function(){v.fillGapSelectors.map((function(e){q(e)}))},W=function(){v.fillGapSelectors.map((function(e){Y(e)}))},q=function(e){var t=document.querySelectorAll(e),n=-1!==v.lockableSelectors.indexOf(e);i(t,(function(e){V(e,n)}))},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n;if(""===e.getAttribute("data-scroll-lock-lockable")||t)n=w(e,!0);else{var r=c(e,l(v.lockableSelectors));n=w(r,!0)}"true"===e.getAttribute("data-scroll-lock-filled-gap")&&X(e);var i=window.getComputedStyle(e);if(e.setAttribute("data-scroll-lock-filled-gap","true"),e.setAttribute("data-scroll-lock-current-fill-gap-method",v.fillGapMethod),"margin"===v.fillGapMethod){var a=parseFloat(i.marginRight);e.style.marginRight="".concat(a+n,"px")}else if("width"===v.fillGapMethod)e.style.width="calc(100% - ".concat(n,"px)");else if("max-width"===v.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(n,"px)");else if("padding"===v.fillGapMethod){var s=parseFloat(i.paddingRight);e.style.paddingRight="".concat(s+n,"px")}}},Y=function(e){var t=document.querySelectorAll(e);i(t,(function(e){X(e)}))},X=function(e){if(o(e)&&"true"===e.getAttribute("data-scroll-lock-filled-gap")){var t=e.getAttribute("data-scroll-lock-current-fill-gap-method");e.removeAttribute("data-scroll-lock-filled-gap"),e.removeAttribute("data-scroll-lock-current-fill-gap-method"),"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};"undefined"!=typeof window&&window.addEventListener("resize",(function(e){B()})),"undefined"!=typeof document&&(document.addEventListener("touchstart",(function(e){v.scroll||(v.startTouchY=e.touches[0].clientY,v.startTouchX=e.touches[0].clientX)})),document.addEventListener("touchmove",(function(e){if(!v.scroll){var t=v.startTouchY,n=v.startTouchX,r=e.touches[0].clientY,o=e.touches[0].clientX;if(e.touches.length<2){var i=l(v.scrollableSelectors),a={up:t<r,down:t>r,left:n<o,right:n>o},s={up:t+3<r,down:t-3>r,left:n+3<o,right:n-3>o};!function t(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n){var o=c(n,i,!1);if(function(e){return u(e,'input[type="range"]')}(n))return!1;if(r||function(e){return u(e,'textarea, [contenteditable="true"]')}(n)&&c(n,i)||u(n,i)){var l=!1;f(n)&&g(n)?(a.up&&p(n)||a.down&&h(n))&&(l=!0):p(n)&&h(n)?(a.left&&f(n)||a.right&&g(n))&&(l=!0):(s.up&&p(n)||s.down&&h(n)||s.left&&f(n)||s.right&&g(n))&&(l=!0),l&&(o?t(o,!0):e.cancelable&&e.preventDefault())}else t(o)}else e.cancelable&&e.preventDefault()}(e.target)}}}),{passive:!1}),document.addEventListener("touchend",(function(e){v.scroll||(v.startTouchY=0,v.startTouchX=0)})));var Z={hide:function(e){a('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),y(e)},show:function(e){a('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),E(e)},toggle:function(e){a('"toggle" is deprecated! Do not use it.'),_()?y():E(e)},getState:function(){return a('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),_()},getWidth:function(){return a('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),C()},getCurrentWidth:function(){return a('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),S()},setScrollableTargets:function(e){a('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),x(e)},setFillGapSelectors:function(e){a('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),P(e)},setFillGapTargets:function(e){a('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),L(e)},clearQueue:function(){a('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),T()}},Q=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){m(e,t,n[t])}))}return e}({disablePageScroll:y,enablePageScroll:E,getScrollState:_,clearQueueScrollLocks:T,getTargetScrollBarWidth:w,getCurrentTargetScrollBarWidth:k,getPageScrollBarWidth:C,getCurrentPageScrollBarWidth:S,addScrollableSelector:O,removeScrollableSelector:N,addScrollableTarget:x,removeScrollableTarget:A,addLockableSelector:R,addLockableTarget:I,addFillGapSelector:P,removeFillGapSelector:D,addFillGapTarget:L,removeFillGapTarget:$,setFillGapMethod:M,refillGaps:B,_state:v},Z);t.default=Q}]).default}))}(Lr);var $r=Lr.exports;function Pr(e){return e.split("-")[0]}function Dr(e){return e.split("-")[1]}function Br(e){return["top","bottom"].includes(Pr(e))?"x":"y"}function Fr(e){return"y"===e?"height":"width"}function Hr(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,l=Br(t),s=Fr(l),c=r[s]/2-o[s]/2,u="x"===l;let d;switch(Pr(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(Dr(t)){case"start":d[l]-=c*(n&&u?-1:1);break;case"end":d[l]+=c*(n&&u?-1:1)}return d}function zr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function jr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ur(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,f=zr(h),g=l[p?"floating"===d?"reference":"floating":d],m=jr(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),b=jr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),strategy:s}):a[d]);return{top:m.top-b.top+f.top,bottom:b.bottom-m.bottom+f.bottom,left:m.left-b.left+f.left,right:b.right-m.right+f.right}}const Gr=Math.min,Kr=Math.max;function Wr(e,t,n){return Kr(e,Gr(t,n))}const qr=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:a,rects:l,platform:s}=t;if(null==n)return{};const c=zr(r),u={x:o,y:i},d=Br(a),p=Fr(d),h=await s.getDimensions(n),f="y"===d?"top":"left",g="y"===d?"bottom":"right",m=l.reference[p]+l.reference[d]-u[d]-l.floating[p],b=u[d]-l.reference[d],v=await(null==s.getOffsetParent?void 0:s.getOffsetParent(n)),y=v?"y"===d?v.clientHeight||0:v.clientWidth||0:0,E=m/2-b/2,_=c[f],T=y-h[p]-c[g],w=y/2-h[p]/2+E,k=Wr(_,w,T);return{data:{[d]:k,centerOffset:w-k}}}}),Vr={left:"right",right:"left",bottom:"top",top:"bottom"};function Yr(e){return e.replace(/left|right|bottom|top/g,(e=>Vr[e]))}function Xr(e,t,n){void 0===n&&(n=!1);const r=Dr(e),o=Br(e),i=Fr(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Yr(a)),{main:a,cross:Yr(a)}}const Zr={start:"end",end:"start"};function Qr(e){return e.replace(/start|end/g,(e=>Zr[e]))}const Jr=["top","right","bottom","left"];Jr.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const eo=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:s}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...f}=e,g=Pr(r),m=d||(g!==a&&h?function(e){const t=Yr(e);return[Qr(e),t,Qr(t)]}(a):[Yr(a)]),b=[a,...m],v=await Ur(t,f),y=[];let E=(null==(n=o.flip)?void 0:n.overflows)||[];if(c&&y.push(v[g]),u){const{main:e,cross:t}=Xr(r,i,await(null==l.isRTL?void 0:l.isRTL(s.floating)));y.push(v[e],v[t])}if(E=[...E,{placement:r,overflows:y}],!y.every((e=>e<=0))){var _,T;const e=(null!=(_=null==(T=o.flip)?void 0:T.index)?_:0)+1,t=b[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n="bottom";switch(p){case"bestFit":{var w;const e=null==(w=E.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:w[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function to(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function no(e){return Jr.some((t=>e[t]>=0))}const ro=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=to(await Ur(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:no(t)}}}case"escaped":{const t=to(await Ur(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:no(t)}}}default:return{}}}}},oo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l}=t,s=function(e,t,n,r){void 0===r&&(r=!1);const o=Pr(e),i=Dr(e),a="x"===Br(e),l=["left","top"].includes(o)?-1:1,s=r&&a?-1:1,c="function"==typeof n?n({...t,placement:e}):n;let{mainAxis:u,crossAxis:d,alignmentAxis:p}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return i&&"number"==typeof p&&(d="end"===i?-1*p:p),a?{x:d*s,y:u*l}:{x:u*l,y:d*s}}(o,i,e,await(null==a.isRTL?void 0:a.isRTL(l.floating)));return{x:n+s.x,y:r+s.y,data:s}}}},io=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=e,c={x:n,y:r},u=await Ur(t,s),d=Br(Pr(o)),p=function(e){return"x"===e?"y":"x"}(d);let h=c[d],f=c[p];if(i){const e="y"===d?"bottom":"right";h=Wr(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===p?"bottom":"right";f=Wr(f+u["y"===p?"top":"left"],f,f-u[e])}const g=l.fn({...t,[d]:h,[p]:f});return{...g,data:{x:g.x-n,y:g.y-r}}}}},ao=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...l}=e,s=await Ur(t,l),c=Pr(n),u=Dr(n);let d,p;"top"===c||"bottom"===c?(d=c,p=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=c,d="end"===u?"top":"bottom");const h=Kr(s.left,0),f=Kr(s.right,0),g=Kr(s.top,0),m=Kr(s.bottom,0),b={height:r.floating.height-(["left","right"].includes(n)?2*(0!==g||0!==m?g+m:Kr(s.top,s.bottom)):s[d]),width:r.floating.width-(["top","bottom"].includes(n)?2*(0!==h||0!==f?h+f:Kr(s.left,s.right)):s[p])},v=await o.getDimensions(i.floating);null==a||a({...b,...r});const y=await o.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},lo=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:o,rects:i,platform:a,strategy:l}=t,{padding:s=2,x:c,y:u}=e,d=jr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==a.getOffsetParent?void 0:a.getOffsetParent(o.floating)),strategy:l}):i.reference),p=null!=(n=await(null==a.getClientRects?void 0:a.getClientRects(o.reference)))?n:[],h=zr(s),f=await a.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===p.length&&p[0].left>p[1].right&&null!=c&&null!=u)return null!=(e=p.find((e=>c>e.left-h.left&&c<e.right+h.right&&u>e.top-h.top&&u<e.bottom+h.bottom)))?e:d;if(p.length>=2){if("x"===Br(r)){const e=p[0],t=p[p.length-1],n="top"===Pr(r),o=e.top,i=t.bottom,a=n?e.left:t.left,l=n?e.right:t.right;return{top:o,bottom:i,left:a,right:l,width:l-a,height:i-o,x:a,y:o}}const e="left"===Pr(r),t=Kr(...p.map((e=>e.right))),n=Gr(...p.map((e=>e.left))),o=p.filter((r=>e?r.left===n:r.right===t)),i=o[0].top,a=o[o.length-1].bottom;return{top:i,bottom:a,left:n,right:t,width:t-n,height:a-i,x:n,y:i}}return d}},floating:o.floating,strategy:l});return i.reference.x!==f.reference.x||i.reference.y!==f.reference.y||i.reference.width!==f.reference.width||i.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}};function so(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function co(e){if(null==e)return window;if(!so(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function uo(e){return co(e).getComputedStyle(e)}function po(e){return so(e)?"":e?(e.nodeName||"").toLowerCase():""}function ho(e){return e instanceof co(e).HTMLElement}function fo(e){return e instanceof co(e).Element}function go(e){return e instanceof co(e).ShadowRoot||e instanceof ShadowRoot}function mo(e){const{overflow:t,overflowX:n,overflowY:r}=uo(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function bo(e){return["table","td","th"].includes(po(e))}function vo(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=uo(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function yo(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const Eo=Math.min,_o=Math.max,To=Math.round;function wo(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let s=1,c=1;t&&ho(e)&&(s=e.offsetWidth>0&&To(l.width)/e.offsetWidth||1,c=e.offsetHeight>0&&To(l.height)/e.offsetHeight||1);const u=fo(e)?co(e):window,d=!yo()&&n,p=(l.left+(d&&null!=(r=null==(o=u.visualViewport)?void 0:o.offsetLeft)?r:0))/s,h=(l.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,f=l.width/s,g=l.height/c;return{width:f,height:g,top:h,right:p+f,bottom:h+g,left:p,x:p,y:h}}function ko(e){return(t=e,(t instanceof co(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Co(e){return fo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function So(e){return wo(ko(e)).left+Co(e).scrollLeft}function xo(e,t,n){const r=ho(t),o=ko(t),i=wo(e,r&&function(e){const t=wo(e);return To(t.width)!==e.offsetWidth||To(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==po(t)||mo(o))&&(a=Co(t)),ho(t)){const e=wo(t,!0);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=So(o));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Ao(e){return"html"===po(e)?e:e.assignedSlot||e.parentNode||(go(e)?e.host:null)||ko(e)}function Oo(e){return ho(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function No(e){const t=co(e);let n=Oo(e);for(;n&&bo(n)&&"static"===getComputedStyle(n).position;)n=Oo(n);return n&&("html"===po(n)||"body"===po(n)&&"static"===getComputedStyle(n).position&&!vo(n))?t:n||function(e){let t=Ao(e);for(go(t)&&(t=t.host);ho(t)&&!["html","body"].includes(po(t));){if(vo(t))return t;t=t.parentNode}return null}(e)||t}function Io(e){if(ho(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=wo(e);return{width:t.width,height:t.height}}function Ro(e){const t=Ao(e);return["html","body","#document"].includes(po(t))?e.ownerDocument.body:ho(t)&&mo(t)?t:Ro(t)}function Mo(e,t){var n;void 0===t&&(t=[]);const r=Ro(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=co(r),a=o?[i].concat(i.visualViewport||[],mo(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Mo(a))}function Lo(e,t,n){return"viewport"===t?jr(function(e,t){const n=co(e),r=ko(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const e=yo();(e||!e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n)):fo(t)?function(e,t){const n=wo(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):jr(function(e){var t;const n=ko(e),r=Co(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=_o(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=_o(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let l=-r.scrollLeft+So(e);const s=-r.scrollTop;return"rtl"===uo(o||n).direction&&(l+=_o(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(ko(e)))}function $o(e){const t=Mo(e),n=["absolute","fixed"].includes(uo(e).position)&&ho(e)?No(e):e;return fo(n)?t.filter((e=>fo(e)&&function(e,t){const n=null==t||null==t.getRootNode?void 0:t.getRootNode();if(null!=e&&e.contains(t))return!0;if(n&&go(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==po(e))):[]}const Po={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?$o(t):[].concat(n),r],a=i[0],l=i.reduce(((e,n)=>{const r=Lo(t,n,o);return e.top=_o(r.top,e.top),e.right=Eo(r.right,e.right),e.bottom=Eo(r.bottom,e.bottom),e.left=_o(r.left,e.left),e}),Lo(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ho(n),i=ko(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==po(n)||mo(i))&&(a=Co(n)),ho(n))){const e=wo(n,!0);l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+l.x,y:t.y-a.scrollTop+l.y}},isElement:fo,getDimensions:Io,getOffsetParent:No,getDocumentElement:ko,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:xo(t,No(n),r),floating:{...Io(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===uo(e).direction};function Do(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=r;let s=!1;const c=o&&!l,u=i&&!l,d=a&&!l,p=c||u?[...fo(e)?Mo(e):[],...Mo(t)]:[];p.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let h,f=null;d&&(f=new ResizeObserver(n),fo(e)&&f.observe(e),f.observe(t));let g=l?wo(e):null;return l&&function t(){if(s)return;const r=wo(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n(),g=r,h=requestAnimationFrame(t)}(),()=>{var e;s=!0,p.forEach((e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const Bo=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=Hr(s,r,l),d=r,p={};for(let h=0;h<i.length;h++){const{name:n,fn:f}=i[h],{x:g,y:m,data:b,reset:v}=await f({x:c,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,u=null!=m?m:u,p={...p,[n]:{...p[n],...b}},v&&("object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:c,y:u}=Hr(s,d,l))),h=-1)}return{x:c,y:u,placement:d,strategy:o,middlewareData:p}})(e,t,{platform:Po,...n});var Fo=Object.defineProperty,Ho=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,jo=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Ko=(e,t,n)=>t in e?Fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wo=(e,t)=>{for(var n in t||(t={}))Uo.call(t,n)&&Ko(e,n,t[n]);if(jo)for(var n of jo(t))Go.call(t,n)&&Ko(e,n,t[n]);return e},qo=(e,t)=>Ho(e,zo(t));function Vo(e){return Array.isArray(e)}function Yo(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Vo(e)}function Xo(e){return"function"==typeof e}function Zo(e){return null==e}function Qo(e,t){return e&&(Xo(e)?e(t):e[0](e[1],t)),null==t?void 0:t.defaultPrevented}function Jo(...e){return function(t){e.some((e=>Qo(e,t)))}}const ei=()=>"undefined"!=typeof Storage,ti="hope-ui-color-mode",ni="hope-ui-light",ri="hope-ui-dark";function oi(e){const t=function(){if(!ei())return null;try{return localStorage.getItem(ti)}catch(e){return null}}();return t||("system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function ii(e){const t=document.body;t.classList.add(function(e){return e?ri:ni}(e)),t.classList.remove(e?ni:ri)}const ai={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"},li=qo(Wo({},ai),{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"}),si={sm:`(min-width: ${li.containerSm})`,md:`(min-width: ${li.containerMd})`,lg:`(min-width: ${li.containerLg})`,xl:`(min-width: ${li.containerXl})`,"2xl":`(min-width: ${li.container2xl})`,"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function ci(...e){return e.map((e=>`[role=group]${e} &, [data-group]${e} &, .group${e} &`)).join(", ")}function ui(...e){return e.map((e=>`[data-peer]${e} ~ &, .peer${e} ~ &`)).join(", ")}const di={_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=>({[ci(":hover","[data-hover]")]:e}),_peerHover:e=>({[ui(":hover","[data-hover]")]:e}),_groupFocus:e=>({[ci(":focus","[data-focus]")]:e}),_peerFocus:e=>({[ui(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[ci(":focus-visible")]:e}),_peerFocusVisible:e=>({[ui(":focus-visible")]:e}),_groupActive:e=>({[ci(":active","[data-active]")]:e}),_peerActive:e=>({[ui(":active","[data-active]")]:e}),_groupSelected:e=>({[ci("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[ui("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[ci(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[ui(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[ci(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[ui(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[ci(":checked","[data-checked]")]:e}),_peerChecked:e=>({[ui(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[ci(":focus-within")]:e}),_peerFocusWithin:e=>({[ui(":focus-within")]:e}),_peerPlaceholderShown:e=>({[ui(":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})},pi=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})}),{borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})}),{d:e=>({display:e})}),{pos:e=>({position:e})}),di),{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})}),{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}})}),{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})}),{shadow:e=>({boxShadow:e})}),{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})}),{noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})}),hi=Wo(Wo({},{blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"}),{whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"}),fi=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"}),{accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"}),{neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"}),{success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"}),{info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"}),{warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"}),{danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"}),{loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"}),gi=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"}),{accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"}),{neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"}),{success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"}),{info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"}),{warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"}),{danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"}),{loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"}),mi={colors:Wo(Wo({},hi),fi),space:ai,sizes:li,fonts:{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'},fontSizes:{"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"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{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"},radii:{none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},shadows:{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"},zIndices:{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}},bi={colors:gi,shadows:{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"}},{theme:vi,css:yi,globalCss:Ei,config:_i,createTheme:Ti,getCssText:wi,keyframes:ki}=(e=>{let t=!1;const n=Xn(e,(e=>{t=!0;const n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},o="object"==typeof e.root?e.root||null:globalThis.document||null,i="object"==typeof e.theme&&e.theme||{},a={prefix:n,media:r,theme:i,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...ln},utils:"object"==typeof e.utils&&e.utils||{}},l=Mn(o),s={css:Dn(a,l),globalCss:Gn(a,l),keyframes:Wn(a,l),createTheme:Yn(a,l),reset(){l.reset(),s.theme.toString()},theme:{},sheet:l,config:a,prefix:n,getCssText:l.toString,toString:l.toString};return String(s.theme=s.createTheme(i)),s}));return t||n.reset(),n})({prefix:"hope",themeMap:qo(Wo({},ln),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:mi,media:si,utils:pi}),Ci={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},Si=Ei({[`.${Ci.fade}-enter, .${Ci.fade}-exit-to`]:{opacity:0},[`.${Ci.fade}-enter-to, .${Ci.fade}-exit`]:{opacity:1},[`.${Ci.fade}-enter-active`]:{transition:"opacity 300ms ease-out"},[`.${Ci.fade}-exit-active`]:{transition:"opacity 200ms ease-in"},[`.${Ci.fadeInBottom}-enter, .${Ci.fadeInBottom}-exit-to`]:{opacity:0,transform:"translateY(16px)"},[`.${Ci.fadeInBottom}-enter-to, .${Ci.fadeInBottom}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Ci.fadeInBottom}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Ci.fadeInBottom}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[`.${Ci.scale}-enter, .${Ci.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Ci.scale}-enter-to, .${Ci.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Ci.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Ci.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),xi=yi({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),Ai=yi({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"}}),Oi=yi(Ai,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),Ni=yi({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),Ii=yi(Ni,{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"}}}}),Ri=yi({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),Mi=yi({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),Li=yi({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),$i=yi({position:"absolute",top:"$4",insetInlineEnd:"$4"}),Pi={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"},Di=Ei({[`.${Pi.fade}-enter, .${Pi.fade}-exit-to`]:{opacity:0},[`.${Pi.fade}-enter-to, .${Pi.fade}-exit`]:{opacity:1},[`.${Pi.fade}-enter-active, .${Pi.fade}-exit-active`]:{transition:"opacity 500ms ease-in-out"},[`.${Pi.slideInTop}-enter-active, .${Pi.slideInTop}-exit-active,\n .${Pi.slideInRight}-enter-active, .${Pi.slideInRight}-exit-active,\n .${Pi.slideInBottom}-enter-active, .${Pi.slideInBottom}-exit-active,\n .${Pi.slideInLeft}-enter-active, .${Pi.slideInLeft}-exit-active`]:{transition:"transform 500ms ease-in-out"},[`.${Pi.slideInTop}-enter, .${Pi.slideInTop}-exit-to`]:{transform:"translateY(-100%)"},[`.${Pi.slideInTop}-enter-to, .${Pi.slideInTop}-exit`]:{transform:"translateY(0)"},[`.${Pi.slideInRight}-enter, .${Pi.slideInRight}-exit-to`]:{transform:"translateX(100%)"},[`.${Pi.slideInRight}-enter-to, .${Pi.slideInRight}-exit`]:{transform:"translateX(0)"},[`.${Pi.slideInBottom}-enter, .${Pi.slideInBottom}-exit-to`]:{transform:"translateY(100%)"},[`.${Pi.slideInBottom}-enter-to, .${Pi.slideInBottom}-exit`]:{transform:"translateY(0)"},[`.${Pi.slideInLeft}-enter, .${Pi.slideInLeft}-exit-to`]:{transform:"translateX(-100%)"},[`.${Pi.slideInLeft}-enter-to, .${Pi.slideInLeft}-exit`]:{transform:"translateX(0)"}}),Bi=yi(Ai,{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"}}}}),Fi=yi(Ni,{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"}}]}),Hi={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 zi(e,t){return{[`.${e}-enter, .${e}-exit-to`]:{opacity:0,transform:"scale(0.8)"},[`.${e}-enter-to, .${e}-exit`]:{opacity:1,transform:"scale(1)"},[`.${e}-enter-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${e}-exit-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const ji=Ei(Wo(Wo(Wo(Wo({},zi(Hi.scaleTopLeft,"top left")),zi(Hi.scaleTopRight,"top right")),zi(Hi.scaleBottomLeft,"bottom left")),zi(Hi.scaleBottomRight,"bottom right"))),Ui=yi({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),Gi=yi({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"}});function Ki(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}yi({}),yi({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});const Wi=yi({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:Ki({color:"$primary11",bgColorActive:"$primary3"}),accent:Ki({color:"$accent11",bgColorActive:"$accent3"}),neutral:Ki({color:"$neutral12",bgColorActive:"$neutral4"}),success:Ki({color:"$success11",bgColorActive:"$success3"}),info:Ki({color:"$info11",bgColorActive:"$info3"}),warning:Ki({color:"$warning11",bgColorActive:"$warning3"}),danger:Ki({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),qi=yi({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),Vi=yi({flexGrow:1}),Yi=yi({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),Xi=ki({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});ki({from:{opacity:0},to:{opacity:1}});const Zi="hope-notification-slide-in-top-transition",Qi="hope-notification-slide-in-right-transition",Ji="hope-notification-slide-in-bottom-transition",ea="hope-notification-slide-in-left-transition";function ta(e){return{[`.${e.name}-enter, .${e.name}-exit-to`]:{opacity:0,transform:e.enterTransform},[`.${e.name}-enter-to, .${e.name}-exit`]:{opacity:1,transform:e.leaveTransform},[`.${e.name}-enter-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[`.${e.name}-exit-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const na=Ei(Wo(Wo(Wo(Wo({},ta({name:Zi,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),ta({name:Qi,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),ta({name:Ji,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),ta({name:ea,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),ra=yi({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"}}),oa=yi({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:{}}}}),ia=yi({animation:`1s linear infinite ${Xi}`}),aa=yi({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),la=yi({fontWeight:"$medium"}),sa=yi({display:"inline-block",color:"$neutral11"}),ca={scale:"hope-popover-scale-transition"},ua=Ei({[`.${ca.scale}-enter, .${ca.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${ca.scale}-enter-to, .${ca.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${ca.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[`.${ca.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),da=yi({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"}}),pa=yi({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),ha=yi({flex:1,px:"$3",py:"$2"});yi({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"}),yi({position:"absolute",top:"$2",insetInlineEnd:"$2"});const fa=yi({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 ga(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const ma={xs:ga({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:ga({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:ga({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:ga({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},ba={"&: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"}},va=yi({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:Wo({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},ba),filled:Wo({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},ba),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:Wo({},ma)}});function ya(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 Ea=yi(va,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...ya({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...ya({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...ya({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...ya({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...ya({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...ya({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...ya({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...ya({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...ya({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...ya({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...ya({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...ya({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});function _a(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}yi({position:"relative",display:"flex",width:"100%"}),yi({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:qo(Wo({},ma.xs),{width:ma.xs.minHeight}),sm:qo(Wo({},ma.sm),{width:ma.sm.minHeight}),md:qo(Wo({},ma.md),{width:ma.md.minHeight}),lg:qo(Wo({},ma.lg),{width:ma.lg.minHeight})}}}),yi({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:Wo({},ma)},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"}},_a({variant:"outline",size:"xs",paddingX:"$2"}),_a({variant:"outline",size:"sm",paddingX:"$2_5"}),_a({variant:"outline",size:"md",paddingX:"$3"}),_a({variant:"outline",size:"lg",paddingX:"$4"}),_a({variant:"filled",size:"xs",paddingX:"$2"}),_a({variant:"filled",size:"sm",paddingX:"$2_5"}),_a({variant:"filled",size:"md",paddingX:"$3"}),_a({variant:"filled",size:"lg",paddingX:"$4"}),_a({variant:"unstyled",size:"xs",paddingX:0}),_a({variant:"unstyled",size:"sm",paddingX:0}),_a({variant:"unstyled",size:"md",paddingX:0}),_a({variant:"unstyled",size:"lg",paddingX:0})]});const Ta={fadeInTop:"hope-select-fade-in-top-transition"},wa=Ei({[`.${Ta.fadeInTop}-enter, .${Ta.fadeInTop}-exit-to`]:{opacity:0,transform:"translateY(-16px)"},[`.${Ta.fadeInTop}-enter-to, .${Ta.fadeInTop}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Ta.fadeInTop}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${Ta.fadeInTop}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function ka(e,t,n){return Object.entries({xs:{start:null!=t?t:"$2",end:null!=n?n:"$1"},sm:{start:null!=t?t:"$2_5",end:null!=n?n:"$1_5"},md:{start:null!=t?t:"$3",end:null!=n?n:"$2"},lg:{start:null!=t?t:"$4",end:null!=n?n:"$3"}}).map((([t,n])=>({variant:e,size:t,css:{paddingInlineStart:n.start,paddingInlineEnd:n.end}})))}const Ca=yi(va,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...ka("outline"),...ka("filled"),...ka("unstyled",0,0)]}),Sa=yi({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),xa=yi({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"}}}}),Aa=yi({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"}}}}),Oa=yi({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"}}),Na=yi(Sa,{color:"$neutral9",opacity:1}),Ia=yi({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),Ra=yi({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}),Ma=yi({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});yi({}),yi({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const La=yi({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"}}),$a=yi({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),Pa=yi({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),Da={scale:"hope-tooltip-scale-transition"},Ba=Ei({[`.${Da.scale}-enter, .${Da.scale}-exit-to`]:{opacity:0,transform:"scale(0.90)"},[`.${Da.scale}-enter-to, .${Da.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Da.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[`.${Da.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),Fa=yi({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),Ha=yi({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),za=Ei({"*, ::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 ja(e,t,n){Object.entries(e).forEach((([e,r])=>{if(Yo(r))if(e in n){const t=e;n[t]=Wo(Wo({},n[t]),r)}else t[e]=Wo(Wo({},t[e]),r);else t[e]=r}))}function Ua(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return null==t||t.forEach((e=>e&&ja(e,n,r))),Object.entries(e).forEach((([e,t])=>{null!=t&&"css"!==e&&(e.startsWith("_")?n[e]=t:Yo(t)?Object.keys(t).forEach((o=>{if("@initial"===o)n[e]=t[o];else if(o in r){const n=o;r[n]=qo(Wo({},r[n]),{[e]:t[n]})}})):n[e]=t)})),e.css&&ja(e.css,n,r),Wo(Wo({},n),r)}function Ga(e,t){const n="dark"===e,r=n?ri:ni,o=n?er({},bi,t):t,i=Ti(r,o);return er({},vi,i)}function Ka(e,t){return Yo(e)?Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}):null!=e?t(e):null}const Wa=yi({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),qa=H();function Va(e){var t,n,r,o,i,a,l,s;const c=Ga("light",null!=(n=null==(t=(e=me({enableCssReset:!0},e)).config)?void 0:t.lightTheme)?n:{}),u=Ga("dark",null!=(o=null==(r=e.config)?void 0:r.darkTheme)?o:{}),d=oi(null!=(a=null==(i=e.config)?void 0:i.initialColorMode)?a:"light"),p="dark"===d?u:c,[h,f]=w(d),[g,m]=w(p),b=()=>"dark"===h(),v=e=>{f(e),function(e){if(ei())try{localStorage.setItem(ti,e)}catch(t){}}(e)},y={components:null!=(s=null==(l=e.config)?void 0:l.components)?s:{},theme:g,colorMode:h,setColorMode:v,toggleColorMode:()=>{v(b()?"light":"dark")}};return S((()=>{m(b()?u:c),ii(b())})),e.enableCssReset&&za(),Di(),ji(),Si(),na(),ua(),wa(),Ba(),de(qa.Provider,{value:y,get children(){return e.children}})}function Ya(){const e=z(qa);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function Xa(){const e=z(qa);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 Za(e,t){const{colorMode:n}=Xa();return()=>"dark"===n()?t:e}function Qa(e){return`.${e}`}function Ja(...e){return e.filter(Boolean).join(" ")}const el=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{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}),{color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0}),{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}),{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}),{appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0}),{display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0}),{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}),{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}),{position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0}),{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}),{textShadow:!0,boxShadow:!0,shadow:!0}),{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}),{transform:!0,transformOrigin:!0,clipPath:!0}),{transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0}),{fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0}),{_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}),{css:!0}),tl=yi({}),nl=(e,t)=>{const n=n=>{const r=function(e){return Object.keys(e).filter((e=>e in el))}(n),o=me({as:e},n),[i,a,l]=be(o,["as","class","className","__baseStyle"],r),s=x((()=>[Xo(null==t?void 0:t.baseStyle)?null==t?void 0:t.baseStyle(n):null==t?void 0:t.baseStyle,i.__baseStyle])),c=()=>Ja(null==t?void 0:t.baseClass,i.class,i.className,function(e,t){return tl({css:Ua(e,t)})}(a,s()));return de(at,me({get component(){var e;return null!=(e=i.as)?e:"div"},get class(){return c()}},l))};return n.toString=()=>(null==t?void 0:t.baseClass)?Qa(t.baseClass):"",n},rl=e("cD",function(){const e=new Map;return new Proxy(nl,{apply:(e,t,n)=>nl(...n),get:(t,n)=>(e.has(n)||e.set(n,nl(n)),e.get(n))})}()),ol=e("ag",rl.div);function il(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function al(e){var t;return il(e)&&null!=(t=e.ownerDocument)?t:document}function ll(e,t){const n=e.target;return!(e.button>0)&&(!(n&&!al(n).body.contains(n))&&!(null==t?void 0:t.contains(n)))}function sl(e,t){return!!e&&(e===t||e.contains(t))}function cl(e){var t,n;const r=function(e){const t=al(e);return null==t?void 0:t.activeElement}(null!=(t=e.target)?t:e.currentTarget);return null!=(n=e.relatedTarget)?n:r}function ul(e){return e&&e.clientHeight<e.scrollHeight}function dl(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:o,scrollTop:i}=t,a=r+n>i+o;r<i?t.scrollTo(0,r):a&&t.scrollTo(0,r-o+n)}function pl(e){const t=Object.getOwnPropertyDescriptor(e,"children");return null!=t&&Xo(t.value)}yi({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}}),yi({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"}}),yi({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}}),yi({pt:"$2",px:"$4",pb:"$4"});const hl=yi({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),fl=Fe('<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),gl={viewBox:"0 0 24 24",path:()=>fl.cloneNode(!0)},ml="hope-icon";function bl(e){const t=me({viewBox:gl.viewBox},e),[n,r]=be(t,["as","class","children","viewBox"]),o=()=>Ja(n.class,ml,hl()),i=()=>{return n.as&&(e=n.as,!("[object String]"===Object.prototype.toString.call(e)));var e};return de(we,{get when(){return i()},get fallback(){return de(rl.svg,me({get class(){return o()},get viewBox(){return n.viewBox}},r,{get children(){return de(we,{get when(){return n.children},get fallback(){return gl.path},get children(){return n.children}})}}))},get children(){return de(ol,me({get as(){return n.as},get class(){return o()}},r))}})}function vl(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=r=>de(bl,me({viewBox:t},n,r,{get children(){return e.path}}));return r.toString=()=>Qa(ml),r}bl.toString=()=>Qa(ml);const yl=Fe('<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);vl({viewBox:"0 0 15 15",path:()=>yl.cloneNode(!0)}),yi({overflow:"hidden"});const El=yi({flexShrink:0}),_l=yi({fontWeight:"$semibold"}),Tl=yi({display:"inline-block"}),wl=yi({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",[`& .${El}`]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",[`& .${El}`]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",[`& .${El}`]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",[`& .${El}`]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${El}`]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${El}`]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${El}`]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${El}`]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${El}`]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${El}`]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${El}`]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${El}`]:{color:"$danger9"}}}]}),kl="hope-alert";function Cl(e){var t,n,r,o,i,a;const l=Ya().Alert,s=me({variant:null!=(r=null==(n=null==(t=null==l?void 0:l.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"subtle",status:null!=(a=null==(i=null==(o=null==l?void 0:l.defaultProps)?void 0:o.root)?void 0:i.status)?a:"info"},e),[c,u]=be(s,["class","variant","status"]),d={status:()=>c.status};return de(Sl.Provider,{value:d,get children(){return de(ol,me({role:"alert",get class(){return Ja(c.class,kl,wl({variant:c.variant,status:c.status}))},get __baseStyle(){var e;return null==(e=null==l?void 0:l.baseStyle)?void 0:e.root}},u))}})}Cl.toString=()=>Qa(kl);const Sl=H(),xl="hope-alert__description";function Al(e){const t=Ya().Alert,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,xl,Tl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}Al.toString=()=>Qa(xl);const Ol=Fe('<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),Nl=Fe('<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),Il=vl({viewBox:"0 0 32 32",path:()=>[Ol.cloneNode(!0),Nl.cloneNode(!0)]}),Rl=Fe('<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),Ml=vl({viewBox:"0 0 32 32",path:()=>Rl.cloneNode(!0)}),Ll=Fe('<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),$l=vl({viewBox:"0 0 32 32",path:()=>Ll.cloneNode(!0)}),Pl=Fe('<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),Dl=Fe('<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),Bl=vl({viewBox:"0 0 32 32",path:()=>[Pl.cloneNode(!0),Dl.cloneNode(!0)]}),Fl="hope-alert__icon";function Hl(e){const t=Ya().Alert,{status:n}=function(){const e=z(Sl);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}(),r=me({boxSize:"$6"},e),[o,i]=be(r,["as","class"]);return de(bl,me({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Il;case"info":return Bl;case"warning":return $l;case"danger":return Ml}})()},get class(){return Ja(o.class,Fl,El())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}Hl.toString=()=>Qa(Fl);const zl="hope-alert__title";function jl(e){const t=Ya().Alert,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,zl,_l())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}jl.toString=()=>Qa(zl);const Ul=yi({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),Gl="hope-anchor";function Kl(e){const t=Ya().Anchor,[n,r]=be(e,["class","external"]);return de(rl.a,me({get class(){return Ja(n.class,Gl,Ul())},get __baseStyle(){return null==t?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}Kl.toString=()=>Qa(Gl),yi({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 Wl="hope-icon-button",ql=yi({display:"inline-flex",alignSelf:"center",flexShrink:0}),Vl=yi({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),Yl=yi({fontSize:"1.3em",animation:`1s linear infinite ${Xi}`});function Xl(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,[`&.${Wl}`]:{width:e.height,padding:"0"}}}function Zl(e){return{height:e.height,py:0,px:e.paddingX,[`&.${Wl}`]:{width:e.height,padding:"0"}}}function Ql(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function Jl(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function es(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function ts(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const ns=yi({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:Xl({height:"$6",paddingX:"$2",fontSize:"$xs",spacing:"$1"}),sm:Xl({height:"$8",paddingX:"$3",fontSize:"$sm",spacing:"$1_5"}),md:Xl({height:"$10",paddingX:"$4",fontSize:"$base",spacing:"$1_5"}),lg:Xl({height:"$12",paddingX:"$6",fontSize:"$lg",spacing:"$2"}),xl:Xl({height:"$16",paddingX:"$10",fontSize:"$xl",spacing:"$2"})},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:Ql({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Ql({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Ql({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:Ql({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Ql({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Ql({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Ql({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:Jl({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:Jl({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:Jl({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:Jl({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:Jl({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:Jl({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:Jl({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:es({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:es({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:es({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:es({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:es({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:es({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:es({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:es({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:es({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:es({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:es({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:es({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:es({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:es({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:ts({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:ts({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:ts({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:ts({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:ts({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:ts({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:ts({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:Zl({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:Zl({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:Zl({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:Zl({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:Zl({height:"$10",paddingX:"$3_5"})}]});yi({display:"inline-flex",[`& .${ns}:focus`]:{zIndex:1}});const rs=H();function os(){return z(rs)}const is="hope-button__icon";function as(e){const[t,n]=be(e,["class","children"]);return de(rl.span,me({get class(){return Ja(t.class,is,ql())}},n,{get children(){return t.children}}))}as.toString=()=>Qa(is);const ls=Fe('<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),ss=vl({path:()=>ls.cloneNode(!0)}),cs="hope-button__loader";function us(e){const t=me({spacing:"0.5rem",children:de(ss,{get class(){return Yl()}})},e),[n,r]=be(t,["class","children","withLoadingText","placement","spacing"]),o=()=>"start"===n.placement?"marginEnd":"marginStart";return de(rl.div,me({get class(){return Ja(n.class,cs,Vl({withLoadingText:n.withLoadingText}))}},(()=>({[o()]:n.withLoadingText?n.spacing:0})),r,{get children(){return n.children}}))}us.toString=()=>Qa(cs);const ds="hope-button";function ps(e){var t,n,r;const o=Ya().Button,i=os(),a=me({loaderPlacement:null!=(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.loaderPlacement)?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},e),[l,s,c]=be(a,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]);return de(rl.button,me({get class(){return Ja(l.class,ds,ns({variant:null!=(a=null!=(r=null!=(e=l.variant)?e:null==i?void 0:i.state.variant)?r:null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.variant)?a:"solid",colorScheme:null!=(p=null!=(d=null!=(s=l.colorScheme)?s:null==i?void 0:i.state.colorScheme)?d:null==(u=null==(c=null==o?void 0:o.defaultProps)?void 0:c.root)?void 0:u.colorScheme)?p:"primary",size:null!=(b=null!=(m=null!=(h=l.size)?h:null==i?void 0:i.state.size)?m:null==(g=null==(f=null==o?void 0:o.defaultProps)?void 0:f.root)?void 0:g.size)?b:"md",loading:l.loading,compact:l.compact,fullWidth:l.fullWidth}));var e,t,n,r,a,s,c,u,d,p,h,f,g,m,b},get disabled(){return null!=(e=l.disabled)?e:null==i?void 0:i.state.disabled;var e},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.root}},c,{get children(){return[de(we,{get when(){return l.loading&&"start"===l.loaderPlacement},get children(){return de(us,{class:"hope-button__loader--start",get withLoadingText(){return!!l.loadingText},placement:"start",get spacing(){return s.iconSpacing},get children(){return l.loader}})}}),de(we,{get when(){return l.loading},get fallback(){return de(hs,s)},get children(){return de(we,{get when(){return l.loadingText},get fallback(){return de(rl.span,{opacity:0,get children(){return de(hs,s)}})},get children(){return l.loadingText}})}}),de(we,{get when(){return l.loading&&"end"===l.loaderPlacement},get children(){return de(us,{class:"hope-button__loader--end",get withLoadingText(){return!!l.loadingText},placement:"end",get spacing(){return s.iconSpacing},get children(){return l.loader}})}})]}}))}function hs(e){return[de(we,{get when(){return e.leftIcon},get children(){return de(as,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),De((()=>e.children)),de(we,{get when(){return e.rightIcon},get children(){return de(as,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function fs(e){return{boxSize:e,fontSize:`calc(${e} / 2.5)`,lineHeight:e}}ps.toString=()=>Qa(ds);const gs=yi({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":fs("$sizes$4"),xs:fs("$sizes$6"),sm:fs("$sizes$8"),md:fs("$sizes$12"),lg:fs("$sizes$16"),xl:fs("$sizes$24"),"2xl":fs("$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"}}]});function ms(e){const[t,n]=w("pending");let r=null;const o=()=>{r&&(r.onload=null,r.onerror=null,r=null)};return S((()=>{n(e.src?"loading":"pending")})),C((()=>{e.ignoreFallback||("loading"===t()&&(()=>{if(!e.src)return;o();const t=new Image;t.src=e.src,e.crossOrigin&&(t.crossOrigin=e.crossOrigin),e.srcSet&&(t.srcset=e.srcSet),e.sizes&&(t.sizes=e.sizes),e.loading&&(t.loading=e.loading),t.onload=t=>{o(),n("loaded"),Qo(e.onLoad,t)},t.onerror=t=>{o(),n("failed"),Qo(e.onError,t)},r=t})(),M((()=>{o()})))})),()=>e.ignoreFallback?"loaded":t()}yi(gs),yi({boxSize:"$full",borderRadius:"$full",objectFit:"cover"}),yi({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%)"}}}}),yi({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",[`& .${gs}:first-child`]:{marginStart:"0"}});const bs=yi({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"}}]}),vs="hope-badge";function ys(e){var t,n,r,o;const i=Ya().Badge,a=me({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"subtle",colorScheme:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.colorScheme)?o:"neutral"},e),[l,s,c]=be(a,["class"],["variant","colorScheme"]);return de(rl.span,me({get class(){return Ja(l.class,vs,bs(s))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c))}ys.toString=()=>Qa(vs);const Es=yi({display:"block",fontSize:"$base",lineHeight:"$6"}),_s=yi({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),Ts=yi({display:"inline-flex",alignItems:"center"}),ws=yi({display:"inline-flex",alignItems:"center",justifyContent:"center"}),ks=yi({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"}}}}}),Cs=H(),Ss="hope-breadcrumb",xs="hope-breadcrumb__list";function As(e){const t=Ya().Breadcrumb,[n]=Jt({get spacing(){var n,r,o,i;return null!=(i=null!=(o=e.spacing)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.spacing)?i:"0.5rem"},get separator(){var n,r,o,i;return null!=(i=null!=(o=e.separator)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.separator)?i:"/"}}),[r,o]=be(e,["class","children","separator","spacing"]),i={state:n};return de(Cs.Provider,{value:i,get children(){return de(rl.nav,me({"aria-label":"breadcrumb",get class(){return Ja(r.class,Ss,Es())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o,{get children(){return de(rl.ol,{get class(){return Ja(xs,_s())},get gap(){return n.spacing},get children(){return r.children}})}}))}})}function Os(){const e=z(Cs);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}As.toString=()=>Qa(Ss);const Ns="hope-breadcrumb__item";function Is(e){const t=Ya().Breadcrumb,n=Os(),[r,o]=be(e,["class"]);return de(rl.li,me({get class(){return Ja(r.class,Ns,Ts())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.item},get gap(){return n.state.spacing}},o))}Is.toString=()=>Qa(Ns);const Rs="hope-breadcrumb__link";function Ms(e){const t=Ya().Breadcrumb,[n,r]=be(e,["class","currentPage","href"]),o=()=>Ja(n.class,Rs,ks({currentPage:!0===n.currentPage}));return de(we,{get when(){return n.currentPage},get fallback(){return de(rl.a,me({get href(){return n.href},get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))},get children(){return de(rl.span,me({"aria-current":"page",get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))}})}Ms.toString=()=>Qa(Rs);const Ls="hope-breadcrumb__separator";function $s(e){const t=Ya().Breadcrumb,n=Os(),[r,o]=be(e,["class","children"]);return de(rl.span,me({role:"presentation",get class(){return Ja(r.class,Ls,ws())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.separator}},o,{get children(){return de(we,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}$s.toString=()=>Qa(Ls);const Ps=yi({display:"flex",justifyContent:"center",alignItems:"center"}),Ds="hope-center";function Bs(e){const[t,n]=be(e,["class"]);return de(ol,me({get class(){return Ja(t.class,Ds,Ps())}},n))}function Fs(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:`0 0 0 3px $colors${e.boxShadowColorFocus}`,borderColor:e.borderColorFocus}}}Bs.toString=()=>Qa(Ds);const Hs=yi({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"}}}}),zs=yi({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),js=yi({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:Fs({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:Fs({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:Fs({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:Fs({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:Fs({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:Fs({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:Fs({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),Us=yi(Hs,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),Gs=yi(zs),Ks=yi(js,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),Ws=H();function qs(){return z(Ws)}const Vs=yi({position:"relative",width:"$full"}),Ys=yi({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),Xs=yi({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),Zs=yi({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});yi({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 Qs=H(),Js="hope-form-control";function ec(e){const t=`hope-field-${Ee()}`,n=Ya().FormControl,[r,o]=Jt({get id(){var n;return null!=(n=e.id)?n:t},get labelId(){return`${this.id}-label`},get helperTextId(){return`${this.id}-helper-text`},get errorMessageId(){return`${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,a]=be(e,["id","required","disabled","invalid","readOnly","class"]),l=e=>o("hasHelperText",e),s=e=>o("hasErrorMessage",e),c=()=>o("isFocused",!0),u=()=>o("isFocused",!1);return de(Qs.Provider,{get value(){return{state:r,setHasHelperText:l,setHasErrorMessage:s,onFocus:c,onBlur:u}},get children(){return de(ol,me({role:"group",get class(){return Ja(i.class,Js,Vs())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root}},a))}})}function tc(){return z(Qs)}function nc(e){const t=tc(),n=x((()=>Jo(null==t?void 0:t.onFocus,e.onFocus))),r=x((()=>Jo(null==t?void 0:t.onBlur,e.onBlur))),[o]=Jt({get id(){var n;return null!=(n=e.id)?n:null==t?void 0:t.state.id},get required(){var n;return null!=(n=e.required)?n:null==t?void 0:t.state.required},get disabled(){var n;return null!=(n=e.disabled)?n:null==t?void 0:t.state.disabled},get invalid(){var n;return null!=(n=e.invalid)?n:null==t?void 0:t.state.invalid},get readOnly(){var n;return null!=(n=e.readOnly)?n:null==t?void 0:t.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-describedby"(){const n=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==t?void 0:t.state.hasErrorMessage)&&(null==t?void 0:t.state.invalid)&&n.push(t.state.errorMessageId),(null==t?void 0:t.state.hasHelperText)&&n.push(t.state.helperTextId),n.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return o}ec.toString=()=>Qa(Js);const rc=Fe('<input type="checkbox">',1);function oc(e){const t=`hope-checkbox-${Ee()}`,n=tc(),r=qs(),o=nc(e),[i,a]=Jt({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(r){const t=r.state.value;return null!=t&&t.some((t=>String(e.value)===String(t)))}return this.isControlled?!!e.checked:this._checked},get id(){var i;return n&&!r?o.id:null!=(i=e.id)?i:t},get name(){var t;return null!=(t=e.name)?t:null==r?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var e;return null!=(e=o.required)?e:null==r?void 0:r.state.required},get disabled(){var e;return null!=(e=o.disabled)?e:null==r?void 0:r.state.disabled},get invalid(){var e;return null!=(e=o.invalid)?e:null==r?void 0:r.state.invalid},get readOnly(){var e;return null!=(e=o.readOnly)?e:null==r?void 0:r.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||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}}),[l,s,c]=be(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),u=e=>{if(i.readOnly||i.disabled)e.preventDefault();else{if(!i.isControlled){const t=e.target;a("_checked",t.checked)}Jo(null==r?void 0:r.onChange,l.onChange)(e)}},d=e=>{a("isFocused",!0),Qo(o.onFocus,e)},p=e=>{a("isFocused",!1),Qo(o.onBlur,e)},h=()=>i,f={state:i};return de(ic.Provider,{value:f,get children(){return de(rl.label,me({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"]}},c,{get children(){return[(()=>{const e=rc.cloneNode(!0);e.addEventListener("blur",p),e.addEventListener("focus",d),e.addEventListener("change",u);const t=l.ref;return"function"==typeof t?t(e):l.ref=e,C((t=>{const n=Ja(l.inputClass,Wa()),r=l.tabIndex,o=i.value,a=i.id,s=i.name,c=i.checked,u=i.required,d=i.disabled,p=i.readOnly,h=i["aria-required"],f=i["aria-disabled"],g=i["aria-invalid"],m=i["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&ze(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),a!==t._v$4&&ze(e,"id",t._v$4=a),s!==t._v$5&&ze(e,"name",t._v$5=s),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&ze(e,"aria-required",t._v$10=h),f!==t._v$11&&ze(e,"aria-disabled",t._v$11=f),g!==t._v$12&&ze(e,"aria-invalid",t._v$12=g),m!==t._v$13&&ze(e,"aria-readonly",t._v$13=m),b!==t._v$14&&ze(e,"aria-label",t._v$14=b),v!==t._v$15&&ze(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&ze(e,"aria-describedby",t._v$16=y),t}),{_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}),e})(),de(we,{get when(){return Xo(l.children)},get fallback(){return l.children},get children(){var e;return null==(e=l.children)?void 0:e.call(l,{state:h})}})]}}))}})}const ic=H(),ac=Fe('<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),lc=Fe('<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),sc="hope-checkbox",cc="hope-checkbox__input",uc="hope-checkbox__control",dc="hope-checkbox__label";function pc(e){var t,n,r,o,i,a,l,s,c,u,d,p,h,f,g,m,b,v,y,E;const _=Ya().Checkbox,T=qs(),w=me({variant:null!=(i=null!=(o=null==(t=null==T?void 0:T.state)?void 0:t.variant)?o:null==(r=null==(n=null==_?void 0:_.defaultProps)?void 0:n.root)?void 0:r.variant)?i:"outline",colorScheme:null!=(u=null!=(c=null==(a=null==T?void 0:T.state)?void 0:a.colorScheme)?c:null==(s=null==(l=null==_?void 0:_.defaultProps)?void 0:l.root)?void 0:s.colorScheme)?u:"primary",size:null!=(g=null!=(f=null==(d=null==T?void 0:T.state)?void 0:d.size)?f:null==(h=null==(p=null==_?void 0:_.defaultProps)?void 0:p.root)?void 0:h.size)?g:"md",labelPlacement:null!=(E=null!=(y=null==(m=null==T?void 0:T.state)?void 0:m.labelPlacement)?y:null==(v=null==(b=null==_?void 0:_.defaultProps)?void 0:b.root)?void 0:v.labelPlacement)?E:"end"},e),[k,C]=be(w,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]);return de(oc,me({get class(){return Ja(k.class,sc,Us({size:k.size,labelPlacement:k.labelPlacement}))},inputClass:cc,get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.root}},C,{children:({state:e})=>[de(rl.span,{"aria-hidden":!0,get class(){return Ja(uc,Ks({variant:k.variant,colorScheme:k.colorScheme,size:k.size}))},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.control},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return de(ke,{get children(){return[de(Ce,{get when(){return e().indeterminate},get children(){return de(we,{get when(){return k.iconIndeterminate},get fallback(){return de(fc,{})},get children(){return k.iconIndeterminate}})}}),de(Ce,{get when(){return De((()=>!!e().checked))()&&!e().indeterminate},get children(){return de(we,{get when(){return k.iconChecked},get fallback(){return de(hc,{})},get children(){return k.iconChecked}})}})]}})}}),de(rl.span,{get class(){return Ja(dc,Gs())},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.label},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return k.children}})]}))}pc.toString=()=>Qa(sc);const hc=vl({viewBox:"0 0 15 15",path:()=>ac.cloneNode(!0)}),fc=vl({viewBox:"0 0 15 15",path:()=>lc.cloneNode(!0)}),gc=ki({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});yi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"}),yi({fill:"transparent",stroke:"currentColor"}),yi({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:`${Xi} 2s linear infinite`}}}}),yi({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:`${gc} 2s linear infinite`},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}}),yi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const mc=Fe('<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),bc=vl({viewBox:"0 0 15 15",path:()=>mc.cloneNode(!0)}),vc=yi({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"}}}}),yc="hope-close-button";function Ec(e){var t,n,r,o,i,a;const l=Ya().CloseButton,s=me({"aria-label":null!=(n=null==(t=null==l?void 0:l.defaultProps)?void 0:t["aria-label"])?n:"Close",icon:null!=(o=null==(r=null==l?void 0:l.defaultProps)?void 0:r.icon)?o:de(bc,{}),size:null!=(a=null==(i=null==l?void 0:l.defaultProps)?void 0:i.size)?a:"md"},e),[c,u]=be(s,["class","children","size","icon"]);return de(rl.button,me({type:"button",get class(){return Ja(c.class,yc,vc({size:c.size}))},get __baseStyle(){return null==l?void 0:l.baseStyle}},u,{get children(){return de(we,{get when(){return c.children},get fallback(){return c.icon},get children(){return c.children}})}}))}Ec.toString=()=>Qa(yc);const _c=yi({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"}}}}),Tc="hope-container";function wc(e){const t=me({centered:!0,centerContent:!1},e),[n,r,o]=be(t,["class"],["centered","centerContent"]);return de(ol,me({get class(){return Ja(n.class,Tc,_c(r))}},o))}wc.toString=()=>Qa(Tc);const kc=yi({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),Cc="hope-divider";function Sc(e){const t=me({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[n,r]=be(t,["class","variant","orientation","thickness"]);return de(ol,me({get class(){return Ja(n.class,Cc,kc({variant:n.variant,orientation:n.orientation,css:{borderLeftWidth:"vertical"===n.orientation?n.thickness:0,borderBottomWidth:"horizontal"===n.orientation?n.thickness:0}}))}},r))}function xc(e){const t=`hope-modal-${Ee()}`,n=Ya().Modal,[r,o]=Jt({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var n;return null!=(n=e.id)?n:t},get headerId(){return`${this.dialogId}--header`},get bodyId(){return`${this.dialogId}--body`},get initialFocus(){return e.initialFocus},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get centered(){var t,r,o,i;return null!=(i=null!=(o=e.centered)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.centered)&&i},get scrollBehavior(){var t,r,o,i;return null!=(i=null!=(o=e.scrollBehavior)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.scrollBehavior)?i:"outside"},get closeOnOverlayClick(){var t,r,o,i;return null==(i=null!=(o=e.closeOnOverlayClick)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnOverlayClick)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null==(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)||i},get blockScrollOnMount(){var t,r,o,i;return null==(i=null!=(o=e.blockScrollOnMount)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.blockScrollOnMount)||i},get preserveScrollBarGap(){var t,r,o,i;return null!=(i=null!=(o=e.preserveScrollBarGap)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.preserveScrollBarGap)&&i}}),[i,a]=w(!1);S((()=>{r.opened?a(!0):"none"===r.motionPreset&&a(!1)}));const l=()=>e.onClose();let s=null;const c={state:r,unmountPortal:()=>a(!1),onClose:l,onMouseDown:e=>{s=e.target},onKeyDown:t=>{var n;"Escape"===t.key&&(t.stopPropagation(),r.closeOnEsc&&l(),null==(n=e.onEsc)||n.call(e))},onOverlayClick:t=>{var n;t.stopPropagation(),s===t.target&&(r.closeOnOverlayClick&&l(),null==(n=e.onOverlayClick)||n.call(e))},setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return de(we,{get when(){return i()},get children(){return de(Ac.Provider,{value:c,get children(){return de(it,{get children(){return e.children}})}})}})}Sc.toString=()=>Qa(Cc);const Ac=H();function Oc(){const e=z(Ac);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const Nc="hope-modal__body";function Ic(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["class"]);return R((()=>n.setBodyMounted(!0))),M((()=>n.setBodyMounted(!1))),de(ol,me({get class(){return Ja(r.class,Nc,Mi({scrollBehavior:n.state.scrollBehavior}))},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}Ic.toString=()=>Qa(Nc);const Rc="hope-modal__close-button";function Mc(e){var t,n,r,o,i,a,l,s;const c=Ya().Modal,u=Oc(),d=me({"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close modal",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(s=null==(l=null==c?void 0:c.defaultProps)?void 0:l.closeButton)?void 0:s.icon},e),[p,h]=be(d,["class","onClick"]);return de(Ec,me({get class(){return Ja(p.class,Rc,$i())},get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton},onClick:e=>{Jo(p.onClick,(e=>{e.stopPropagation(),u.onClose()}))(e)}},h))}Mc.toString=()=>Qa(Rc);const Lc="hope-modal__footer";function $c(e){const t=Ya().Modal,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,Lc,Li())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.footer}},r))}$c.toString=()=>Qa(Lc);const Pc="hope-modal__header";function Dc(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["class"]);return R((()=>n.setHeaderMounted(!0))),M((()=>n.setHeaderMounted(!1))),de(ol,me({get class(){return Ja(r.class,Pc,Ri())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}Dc.toString=()=>Qa(Pc);const Bc=H();function Fc(){const e=z(Bc);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function Hc(e){const t=Oc();let n,r;const o=()=>`[id='${t.state.dialogId}']`,i=()=>`${o()} *`;return R((()=>{n&&(t.state.trapFocus&&(r=Mr(n,{initialFocus:t.state.initialFocus,fallbackFocus:o(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&($r.addScrollableSelector(i()),$r.disablePageScroll(n)))})),M((()=>{null==r||r.deactivate(),$r.removeScrollableSelector(i()),$r.clearQueueScrollLocks(),$r.enablePageScroll()})),{assignContainerRef:e=>{n=e},ariaLabelledBy:()=>t.state.headerMounted?t.state.headerId:void 0,ariaDescribedBy:()=>t.state.bodyMounted?t.state.bodyId:void 0,onDialogClick:t=>{Jo(e.onClick,(e=>e.stopPropagation()))(t)}}}const zc="hope-modal__content-container",jc="hope-modal__content";function Uc(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:a,ariaDescribedBy:l,onDialogClick:s}=Hc(r);return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Ci.fadeInBottom;case"scale":return Ci.scale;case"none":return"hope-none"}})()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return de(we,{get when(){return n.state.opened},get children(){return de(ol,{ref:i,get class(){return(()=>{const e=Oi({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return Ja(zc,e)})()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return de(rl.section,me({get class(){return(()=>{const e=Ii({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return Ja(r.class,jc,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return n.state.dialogId},get role(){var e;return null!=(e=r.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return a()},get"aria-describedby"(){return l()},onClick:s},o))}})}})}})}Uc.toString=()=>Qa(jc);const Gc="hope-modal__overlay";function Kc(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["class"]);return de(nr,{get name(){return"none"===n.state.motionPreset?"hope-none":Ci.fade},appear:!0,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(ol,me({get class(){return Ja(r.class,Gc,xi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},o))}})}})}Kc.toString=()=>Qa(Gc);const Wc="hope-drawer__content-container",qc="hope-drawer__content";function Vc(e){const t=Ya().Drawer,n=Fc(),r=Oc(),[o,i]=be(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:a,ariaLabelledBy:l,ariaDescribedBy:s,onDialogClick:c}=Hc(o);return de(nr,{get name(){return(()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return Pi.slideInTop;case"right":return Pi.slideInRight;case"bottom":return Pi.slideInBottom;case"left":return Pi.slideInLeft}})()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return de(we,{get when(){return r.state.opened},get children(){return de(ol,{ref:a,get class(){return Ja(Wc,Bi({placement:n.placement}))},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return de(rl.section,me({get class(){return(()=>{const e=Fi({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return Ja(o.class,qc,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return r.state.dialogId},get role(){var e;return null!=(e=o.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return l()},get"aria-describedby"(){return s()},onClick:c},i))}})}})}})}Vc.toString=()=>Qa(qc);const Yc="hope-drawer__overlay";function Xc(e){const t=Ya().Drawer,n=Fc(),r=Oc(),[o,i]=be(e,["class"]);return de(nr,{get name(){return n.disableMotion?"hope-none":Pi.fade},appear:!0,get children(){return de(we,{get when(){return r.state.opened},get children(){return de(ol,me({get class(){return Ja(o.class,Yc,xi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},i))}})}})}Xc.toString=()=>Qa(Yc);const Zc="hope-flex";function Qc(e){const[t,n]=be(e,["class","direction","wrap"]);return de(ol,me({get class(){return Ja(t.class,Zc)},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}Qc.toString=()=>Qa(Zc);const Jc="hope-form-helper-text";function eu(e){const t=Ya().FormControl,n=tc(),[r,o]=be(e,["ref","id","class"]);return R((()=>null==n?void 0:n.setHasHelperText(!0))),M((()=>null==n?void 0:n.setHasHelperText(!1))),de(ol,me({get id(){return null!=(e=r.id)?e:null==n?void 0:n.state.helperTextId;var e},get class(){return Ja(r.class,Jc,Zs())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.helperText},get"data-disabled"(){return null==n?void 0:n.state["data-disabled"]},get"data-readonly"(){return null==n?void 0:n.state["data-readonly"]}},o))}eu.toString=()=>Qa(Jc);const tu=Fe('<span role="presentation" aria-hidden="true">*</span>',2),nu="hope-form-label";function ru(e){var t,n,r;const o=Ya().FormControl,i=tc(),a=me({withRequiredIndicator:null==(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.label)?void 0:n.withRequiredIndicator)||r},e),[l,s]=be(a,["id","for","class","children","withRequiredIndicator"]);return de(rl.label,me({get id(){return null!=(e=l.id)?e:null==i?void 0:i.state.labelId;var e},get for(){return null!=(e=l.for)?e:null==i?void 0:i.state.id;var e},get class(){return Ja(l.class,nu,Ys())},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.label},get"data-focus"(){return null==i?void 0:i.state["data-focus"]},get"data-disabled"(){return null==i?void 0:i.state["data-disabled"]},get"data-invalid"(){return null==i?void 0:i.state["data-invalid"]},get"data-readonly"(){return null==i?void 0:i.state["data-readonly"]}},s,{get children(){return[De((()=>l.children)),de(we,{get when(){return(null==i?void 0:i.state.required)&&l.withRequiredIndicator},get children(){const e=tu.cloneNode(!0);return C((()=>e.className=Xs())),e}})]}}))}ru.toString=()=>Qa(nu);const ou="hope-grid";function iu(e){const[t,n]=be(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]);return de(ol,me({get class(){return Ja(t.class,ou)},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))}function au(e){var t,n;if(null!=e)return n=e=>{switch(e){case"auto":return"auto";case"full":return"1 / -1";default:return`span ${e} / span ${e}`}},Yo(t=e)?Object.keys(t).reduce(((e,r)=>(e[r]=n(t[r]),e)),{}):null!=t?n(t):null}iu.toString=()=>Qa(ou);const lu="hope-grid-item";function su(e){const[t,n]=be(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]);return de(ol,me({get class(){return Ja(t.class,lu)},get gridArea(){return t.area},get gridColumn(){return au(t.colSpan)},get gridRow(){return au(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}su.toString=()=>Qa(lu);const cu="hope-simple-grid";function uu(e){const[t,n]=be(e,["class","minChildWidth","columns"]),r=()=>t.minChildWidth?Ka(t.minChildWidth,(e=>Zo(e)?null:`repeat(auto-fit, minmax(${function(e){return"number"==typeof e?`${e}px`:e}(e)}, 1fr))`)):Ka(t.columns,(e=>Zo(e)?null:`repeat(${e}, minmax(0, 1fr))`));return de(iu,me({get class(){return Ja(t.class,cu)},get templateColumns(){return r()}},n))}uu.toString=()=>Qa(cu);const du=yi({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"}}}}),pu=yi(du,{fontWeight:"$semibold"}),hu="hope-heading";function fu(e){var t,n;const r=Ya().Heading,o=me({as:"h2",level:null==(t=null==r?void 0:r.defaultProps)?void 0:t.level,size:null==(n=null==r?void 0:r.defaultProps)?void 0:n.size},e),[i,a]=be(o,["class","as","level","size"]);return de(ol,me({get as(){return i.level?`h${i.level}`:i.as},get class(){return Ja(i.class,hu,pu({size:i.size}))},get __baseStyle(){return null==r?void 0:r.baseStyle}},a))}function gu(e){const t=Ya().IconButton,n=os(),[r,o]=be(e,["class","children","icon","variant","colorScheme","size","disabled"]);return de(ps,me({get class(){return Ja(r.class,Wl)},get __baseStyle(){return null==t?void 0:t.baseStyle},get variant(){return null!=(a=null!=(i=null!=(e=r.variant)?e:null==n?void 0:n.state.variant)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.variant)?a:"solid";var e,o,i,a},get colorScheme(){return null!=(a=null!=(i=null!=(e=r.colorScheme)?e:null==n?void 0:n.state.colorScheme)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.colorScheme)?a:"primary";var e,o,i,a},get size(){return null!=(a=null!=(i=null!=(e=r.size)?e:null==n?void 0:n.state.size)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.size)?a:"md";var e,o,i,a},get disabled(){return null!=(e=r.disabled)?e:null==n?void 0:n.state.disabled;var e}},o,{get children(){return de(we,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}fu.toString=()=>Qa(hu),gu.toString=()=>Qa(Wl);const mu="hope-image";function bu(e){const[t,n,r]=be(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),o=()=>null!=t.loading||t.ignoreFallback||void 0===t.fallbackSrc&&void 0===t.fallback,i=x((()=>ms(qo(Wo({},e),{ignoreFallback:o()})))),a=()=>Wo(Wo({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},o()?n:{}),r);return de(we,{get when(){return"loaded"===i()()},get fallback(){return de(we,{get when(){return t.fallback},get fallback(){return de(ol,me({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},a))},get children(){return t.fallback}})},get children(){return de(ol,me({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 Ja(t.class,mu)}},a))}})}bu.toString=()=>Qa(mu);const vu=H(),yu="hope-input";function Eu(e){const t=Ya().Input,n=z(vu),r=nc(e),[o,i]=be(e,["class","htmlSize","variant","size"]);return de(rl.input,me({type:"text",get class(){return Ja(o.class,yu,Ea({variant:null!=(l=null!=(a=null!=(e=o.variant)?e:null==n?void 0:n.state.variant)?a:null==(i=null==(r=null==t?void 0:t.defaultProps)?void 0:r.input)?void 0:i.variant)?l:"outline",size:null!=(p=null!=(d=null!=(s=o.size)?s:null==n?void 0:n.state.size)?d:null==(u=null==(c=null==t?void 0:t.defaultProps)?void 0:c.input)?void 0:u.size)?p:"md",withLeftElement:null!=(h=null==n?void 0:n.state.hasLeftElement)&&h,withRightElement:null!=(f=null==n?void 0:n.state.hasRightElement)&&f,withLeftAddon:null!=(g=null==n?void 0:n.state.hasLeftAddon)&&g,withRightAddon:null!=(m=null==n?void 0:n.state.hasRightAddon)&&m}));var e,r,i,a,l,s,c,u,d,p,h,f,g,m},get size(){return o.htmlSize},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.input}},r,i))}Eu.toString=()=>Qa(yu);const _u=yi({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),Tu="hope-kbd";function wu(e){const t=Ya().Kbd,[n,r]=be(e,["class"]);return de(rl.kbd,me({get class(){return Ja(n.class,Tu,_u())},get __baseStyle(){return null==t?void 0:t.baseStyle}},r))}wu.toString=()=>Qa(Tu);const ku=yi({listStyleType:"none"});yi({marginEnd:"0.5rem"});const Cu="hope-list",Su="& > *:not(style) ~ *:not(style)";function xu(e){const[t,n]=be(e,["class","styleType","stylePosition","spacing"]);return de(rl.ul,me({role:"list",get class(){return Ja(t.class,Cu,ku({css:Wo({listStyleType:t.styleType,listStylePosition:t.stylePosition},t.spacing?{[Su]:{mt:t.spacing}}:{})}))}},n))}xu.toString=()=>Qa(Cu);const Au="hope-list__item";function Ou(e){const[t,n]=be(e,["class"]);return de(rl.li,me({get class(){return Ja(t.class,Au)}},n))}Ou.toString=()=>Qa(Au);var Nu=(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))(Nu||{});function Iu(e=[],t,n=[]){return e.filter((e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0)))}function Ru(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 Mu(e){const t=`hope-menu-${Ee()}`,n=Ya().Menu,[r,o]=w([]),[i,a]=Jt({get triggerId(){var n;return null!=(n=e.id)?n:`${t}-trigger`},get menuContentId(){return`${t}-content`},get labelIdPrefix(){return`${t}-label`},get itemIdPrefix(){return`${t}-item`},get activeDescendantId(){return this.opened?`${this.itemIdPrefix}-${this.activeIndex}`:void 0},get closeOnSelect(){var t,r,o,i;return null==(i=null!=(o=e.closeOnSelect)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnSelect)||i},get motionPreset(){var t,r,o,i,a;return e.motionPreset?e.motionPreset:(null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?null==(i=null==(o=null==n?void 0:n.defaultProps)?void 0:o.root)?void 0:i.motionPreset:(null==(a=e.placement)?void 0:a.startsWith("top"))?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let l,s,c;const u=async()=>{var t,r,o,i,a,c,u,d;if(!l||!s)return;const{x:p,y:h}=await Bo(l,s,{placement:null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom-start",middleware:[oo(null!=(d=null!=(u=e.offset)?u:null==(c=null==(a=null==n?void 0:n.defaultProps)?void 0:a.root)?void 0:c.offset)?d:5),eo(),io()]});s&&Object.assign(s.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`})},d=e=>{a("activeIndex",e)},p=e=>i.items[e].disabled,h=e=>{var t;d(e);const n=i.items[e];null==(t=n.onSelect)||t.call(n),n.closeOnSelect?m(!1):f()},f=()=>{null==l||l.focus()},g=e=>{m(!0);const t=(e=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const t=window.setTimeout((()=>{a("searchString","")}),500);return a("searchTimeoutId",t),a("searchString",(t=>t+e)),i.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=Iu(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every((e=>e===i[0]))){const n=Iu(r,t[0]);return e.indexOf(n[0])}return-1;var i}(i.items,t,i.activeIndex+1);n>=0?d(n):(window.clearTimeout(i.searchTimeoutId),a("searchString",""))},m=(e,t=!0,n=!1)=>{i.opened!==e&&(a("opened",e),a("activeIndex",n?i.items.length-1:0),i.opened?(u(),l&&s&&(c=Do(l,s,u))):null==c||c(),t&&f())},b=()=>i.opened,v={state:i,isItemActiveDescendant:e=>e===i.activeIndex,assignTriggerRef:e=>{l=e},assignContentRef:e=>{s=e},registerItem:e=>{const t=i.items.findIndex((t=>t.key===e.key));return-1!=t?t:o((t=>[...t,e])).length-1},scrollToItem:e=>{s&&ul(s)&&dl(e,s)},onTriggerBlur:e=>{sl(l,cl(e))||(i.ignoreBlur?a("ignoreBlur",!1):i.opened&&m(!1,!1))},onTriggerClick:()=>{m(!i.opened,!1)},onTriggerKeyDown:e=>{const{key:t}=e,n=i.items.length-1,r=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&"ArrowUp"===n)return 6;if("Home"===n)return 2;if("End"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 9;if(t){if("ArrowDown"===n)return 4;if("ArrowUp"===n)return 7;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,i.opened);switch(r){case Nu.Last:case Nu.First:case Nu.Next:case Nu.Previous:return e.preventDefault(),d(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:o}=e;let i=Ru(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=7),7===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=Ru(i,n,e)}return i}({currentIndex:i.activeIndex,maxIndex:n,initialAction:r,isItemDisabled:p}));case Nu.SelectAndClose:return e.preventDefault(),void h(i.activeIndex);case Nu.Close:return e.preventDefault(),m(!1);case Nu.Type:return g(t);case Nu.Open:return e.preventDefault(),m(!0);case Nu.OpenAndFocusLast:return e.preventDefault(),m(!0,!0,!0)}},onContentMouseLeave:()=>{d(-1)},onContentClickOutside:e=>{sl(l,e)||m(!1,!1)},onItemClick:e=>{i.items[e].disabled?f():h(e)},onItemMouseMove:e=>{i.activeIndex!==e&&d(e)},onItemMouseDown:()=>{a("ignoreBlur",!0)}};return de(Lu.Provider,{value:v,get children(){return de(we,{get when(){return pl(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:b})}})}})}const Lu=H();function $u(){const e=z(Lu);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function Pu(e){const t=j((()=>e.children));return function(e){const[t,n]=Jt({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=t=>{ll(t,e.element())&&n("isPointerDown",!0)},o=r=>{t.ignoreEmulatedMouseEvents?n("ignoreEmulatedMouseEvents",!1):t.isPointerDown&&e.handler&&ll(r,e.element())&&(n("isPointerDown",!1),e.handler(r))},i=r=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&ll(r,e.element())&&(n("isPointerDown",!1),e.handler(r))};R((()=>{const t=al(e.element());t.addEventListener("mousedown",r,!0),t.addEventListener("mouseup",o,!0),t.addEventListener("touchstart",r,!0),t.addEventListener("touchend",i,!0)})),M((()=>{const t=al(e.element());t.removeEventListener("mousedown",r,!0),t.removeEventListener("mouseup",o,!0),t.removeEventListener("touchstart",r,!0),t.removeEventListener("touchend",i,!0)}))}({element:()=>t(),handler:t=>e.onClickOutside(t)}),t}const Du="hope-menu__content";function Bu(e){const t=Ya().Menu,n=$u(),[r,o]=be(e,["ref","class","children"]),[i,a]=w(!1);S(I((()=>n.state.opened),(()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)})));const l=()=>a(!1),s=j((()=>r.children)),c=e=>{n.assignContentRef(e),Xo(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return de(we,{get when(){return i()},get children(){return de(it,{get children(){return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale-top-left":return Hi.scaleTopLeft;case"scale-top-right":return Hi.scaleTopRight;case"scale-bottom-left":return Hi.scaleBottomLeft;case"scale-bottom-right":return Hi.scaleBottomRight;case"none":return"hope-none"}})()},appear:!0,onAfterExit:l,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(Pu,{onClickOutside:u,get children(){return de(ol,me({role:"menu",tabindex:"-1",ref:c,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 Ja(r.class,Du,Gi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get onMouseLeave(){return n.onContentMouseLeave}},o,{get children(){return s()}}))}})}})}})}})}})}Bu.toString=()=>Qa(Du);const Fu="hope-menu__item",Hu="hope-menu__item__icon-wrapper",zu="hope-menu__item__text",ju="hope-menu__item__command";function Uu(e){const t=Ee(),n=Ya().Menu,r=$u(),[o,i]=w(-1);let a;const[l,s]=be(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),c=()=>r.isItemActiveDescendant(o());return R((()=>{var e,n;i(r.registerItem({key:t,textValue:null!=(n=null!=(e=l.textValue)?e:null==a?void 0:a.textContent)?n:"",disabled:!!l.disabled,closeOnSelect:null!=l.closeOnSelect?!!l.closeOnSelect:r.state.closeOnSelect,onSelect:l.onSelect}))})),S((()=>{c()&&a&&r.scrollToItem(a)})),de(ol,me({ref:e=>{a=e,Xo(l.ref)?l.ref(e):l.ref=e},role:"menuitem",get id(){return`${r.state.itemIdPrefix}-${o()}`},get"data-active"(){return c()?"":void 0},get"data-disabled"(){return l.disabled?"":void 0},"data-group":!0,get class(){return Ja(l.class,Fu,Wi({colorScheme:l.colorScheme}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.item},onClick:e=>{e.stopPropagation(),r.onItemClick(o())},onMouseMove:e=>{if(l.disabled&&r.onItemMouseMove(-1),c()||l.disabled)return e.preventDefault(),void e.stopPropagation();r.onItemMouseMove(o())},get onMouseDown(){return r.onItemMouseDown}},s,{get children(){return[de(we,{get when(){return l.icon},get children(){return de(rl.span,{"aria-hidden":"true",get class(){return Ja(Hu,qi())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemIconWrapper},get mr(){var e;return null!=(e=l.iconSpacing)?e:"0.5rem"},get children(){return l.icon}})}}),de(we,{get when(){return l.children},get children(){return de(rl.span,{get class(){return Ja(zu,Vi())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemText},get children(){return l.children}})}}),de(we,{get when(){return l.command},get children(){return de(rl.span,{get class(){return Ja(ju,Yi())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemCommand},get ml(){var e;return null!=(e=l.commandSpacing)?e:"0.5rem"},get children(){return l.command}})}})]}}))}Uu.toString=()=>Qa(Fu);const Gu="hope-menu__trigger";function Ku(e){const t=Ya().Menu,n=$u(),[r,o]=be(e,["ref","class","onClick","onKeyDown","onBlur"]);return de(rl.button,me({ref:e=>{n.assignTriggerRef(e),Xo(r.ref)?r.ref(e):r.ref=e},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 Ja(r.class,Gu,Ui())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{Jo(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{Jo(n.onTriggerKeyDown,r.onKeyDown)(e)},onBlur:e=>{Jo(n.onTriggerBlur,r.onBlur)(e)}},o))}Ku.toString=()=>Qa(Gu);const Wu="hope-notification";function qu(e){const t=Ya().Notification,n=me({},e),[r,o]=be(n,["class","status"]),i={status:()=>r.status};return de(Vu.Provider,{value:i,get children(){return de(ol,me({role:"alert",get class(){return Ja(r.class,Wu,oa({status:r.status}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}qu.toString=()=>Qa(Wu);const Vu=H(),Yu="hope-ui:show-notification",Xu="hope-ui:update-notification",Zu="hope-ui:hide-notification",Qu="hope-ui:clear-notifications",Ju="hope-ui:clear-notifications-queue";function ed(e,t){return new CustomEvent(e,{detail:t})}const td={show:function(e){window.dispatchEvent(ed(Yu,e))},update:function(e){window.dispatchEvent(ed(Xu,e))},hide:function(e){window.dispatchEvent(ed(Zu,e))},clear:function(){window.dispatchEvent(ed(Qu))},clearQueue:function(){window.dispatchEvent(ed(Ju))}},nd="hope-notification__description";function rd(e){const t=Ya().Notification,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,nd,sa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}rd.toString=()=>Qa(nd);const od="hope-notification__icon";function id(e){const t=Ya().Notification,{status:n}=function(){const e=z(Vu);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}(),r=me({boxSize:"$7"},e),[o,i]=be(r,["as","class"]);return de(bl,me({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Il;case"info":return Bl;case"warning":return $l;case"danger":return Ml}})()},get class(){return Ja(o.class,od,aa({status:n()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}id.toString=()=>Qa(od);const ad="hope-notification__title";function ld(e){const t=Ya().Notification,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,ad,la())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}ld.toString=()=>Qa(ad);const sd=yi({display:"flex"}),cd="hope-stack";function ud(e){const[t,n]=be(e,["class","direction","wrap","spacing"]);return de(ol,me({get class(){return Ja(t.class,cd,sd())},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}function dd(e){const[t,n]=be(e,["spacing"]);return de(ud,me({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}function pd(e){const[t,n]=be(e,["spacing"]);return de(ud,me({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}ud.toString=()=>Qa(cd),dd.toString=()=>Qa(cd),pd.toString=()=>Qa(cd);const hd=H();function fd(e){const t=function(){const e=z(hd);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}(),[n]=be(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const o=()=>{r&&window.clearTimeout(r)},i=()=>{o(),t.hideNotification(n.id)},a=()=>{n.persistent||null==n.duration||(r=window.setTimeout(i,n.duration))};return R((()=>{a()})),M((()=>{o()})),de(we,{get when(){return n.render},get fallback(){return de(qu,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:o,onMouseLeave:a,get children(){return[de(we,{get when(){return n.status&&!n.loading},get children(){return de(id,{mr:"$2_5"})}}),de(we,{get when(){return n.loading},get children(){return de(ss,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return ia()}})}}),de(ke,{get children(){return[de(Ce,{get when(){return n.title&&n.description},get children(){return de(pd,{alignItems:"flex-start",spacing:"$1",get children(){return[de(ld,{get children(){return n.title}}),de(rd,{get children(){return n.description}})]}})}}),de(Ce,{get when(){return n.title},get children(){return de(ld,{get children(){return n.title}})}}),de(Ce,{get when(){return n.description},get children(){return de(rd,{get children(){return n.description}})}})]}}),de(we,{get when(){return n.closable},get children(){return de(Ec,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return de(Qc,{w:"$full",justifyContent:"flex-end",onMouseEnter:o,onMouseLeave:a,get children(){var e;return null==(e=n.render)?void 0:e.call(n,{id:n.id,close:i})}})}})}function gd(e){const[t]=be(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=x((()=>{var e;return function(e){var t,n,r,o;const[i,a]=w(null!=(n=null==(t=e.initialValues)?void 0:t.slice(0,e.limit))?n:[]),[l,s]=w(null!=(o=null==(r=e.initialValues)?void 0:r.slice(e.limit))?o:[]),c=()=>e.limit;return{state:{current:i,queue:l,limit:c},add:(...e)=>{const t=[...i(),...l(),...e];a(t.slice(0,c())),s(t.slice(c()))},update:e=>{const t=e([...i(),...l()]);a(t.slice(0,c())),s(t.slice(c()))},clearQueue:()=>{s([])}}}({initialValues:[],limit:null!=(e=t.limit)?e:10})})),r=()=>{var e;return null!=(e=t.placement)?e:"top-end"},o=e=>{var r,o,i,a,l,s,c;const u=null!=(r=e.id)?r:`hope-notification-${Ee()}`,d=null!=(i=null!=(o=e.persistent)?o:t.persistent)&&i,p=null!=(l=null!=(a=e.duration)?a:t.duration)?l:5e3,h=null==(c=null!=(s=e.closable)?s:t.closable)||c;return n().update((t=>{if(e.id&&t.some((t=>t.id===e.id)))return t;const n=qo(Wo({},e),{id:u,persistent:d,duration:p,closable:h});return[...t,n]})),u},i=(e,t)=>{n().update((n=>{const r=n.findIndex((t=>t.id===e));if(-1===r)return n;const o=[...n];return o[r]=t,o}))},a=e=>{n().update((t=>t.filter((t=>{var n;return t.id!==e||(null==(n=t.onClose)||n.call(t,t.id),!1)}))))},l=()=>n().update((()=>[])),s=()=>n().clearQueue(),c={notifications:()=>n().state.current(),queue:()=>n().state.queue(),showNotification:o,updateNotification:i,hideNotification:a,clear:l,clearQueue:s},u=e=>o(e.detail),d=e=>i(e.detail.id,e.detail),p=e=>a(e.detail);return R((()=>{window.addEventListener(Yu,u),window.addEventListener(Xu,d),window.addEventListener(Zu,p),window.addEventListener(Qu,l),window.addEventListener(Ju,s)})),M((()=>{window.removeEventListener(Yu,u),window.removeEventListener(Xu,d),window.removeEventListener(Zu,p),window.removeEventListener(Qu,l),window.removeEventListener(Ju,s)})),de(hd.Provider,{value:c,get children(){return[de(it,{get children(){return de(ol,{get class(){return Ja("hope-notification__list",ra({placement:r()}))},get zIndex(){return t.zIndex},get children(){return de(or,{get name(){return(()=>{switch(r()){case"top-start":case"bottom-start":return ea;case"top":return Zi;case"top-end":case"bottom-end":default:return Qi;case"bottom":return Ji}})()},get children(){return de(Te,{get each(){return c.notifications()},children:e=>de(fd,e)})}})}})}}),De((()=>t.children))]}})}const md=e=>e.hasAttribute("tabindex");function bd(e){return!(!e.parentElement||!bd(e.parentElement))||e.hidden}const vd=H();function yd(){const e=z(vd);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const Ed="hope-popover__arrow";function _d(e){const t=Ya().Popover,n=yd(),[r,o]=be(e,["class"]),i=x((()=>n.state.finalPlacement.split("-")[0]));return de(ol,me({ref(e){const t=n.assignArrowRef;"function"==typeof t?t(e):n.assignArrowRef=e},get class(){return Ja(r.class,Ed,fa({popoverPlacement:i()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.arrow}},o))}_d.toString=()=>Qa(Ed);const Td="hope-popover__body";function wd(e){const t=Ya().Popover,n=yd(),[r,o]=be(e,["class"]);return R((()=>n.setBodyMounted(!0))),M((()=>n.setBodyMounted(!1))),de(ol,me({get class(){return Ja(r.class,Td,ha())},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}wd.toString=()=>Qa(Td);const kd="hope-popover__content";function Cd(e){const t=Ya().Popover,n=yd(),[r,o]=w(!1),[i,a]=be(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),l=e=>{n.assignPopoverRef(e),Xo(i.ref)?i.ref(e):i.ref=e},s=e=>{n.state.closeOnEsc&&"Escape"===e.key&&n.closeWithDelay()},c=e=>{Jo(i.onKeyDown,s)(e)},u=e=>{Jo(i.onFocusOut,n.onPopoverFocusOut)(e)},d=e=>{Qo(i.onMouseEnter,e),n.setIsHovering(!0)},p=e=>{Qo(i.onMouseLeave,e),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",s),n.afterPopoverOpen()},f=()=>{document.removeEventListener("keydown",s),n.afterPopoverClose(),o(!1)};return S((()=>{n.state.opened?o(!0):"none"===n.state.motionPreset&&o(!1)})),de(we,{get when(){return r()},get children(){return de(it,{get children(){return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale":return ca.scale;case"none":return"hope-none"}})()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:f,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(rl.section,me({ref:l,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 Ja(i.class,kd,da())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},onKeyDown:c,onFocusOut:u,get onMouseEnter(){return n.state.triggerOnHover?d:void 0},get onMouseLeave(){return n.state.triggerOnHover?p:void 0}},a))}})}})}})}})}Cd.toString=()=>Qa(kd);const Sd="hope-popover__header";function xd(e){const t=Ya().Popover,n=yd(),[r,o]=be(e,["class"]);return R((()=>n.setHeaderMounted(!0))),M((()=>n.setHeaderMounted(!1))),de(ol,me({get class(){return Ja(r.class,Sd,pa())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}xd.toString=()=>Qa(Sd);const Ad=ki({"0%":{left:"-40%"},"100%":{left:"100%"}}),Od=ki({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),Nd=yi({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"}}}}),Id=yi({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:`${Ad} 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:`${Od} 750ms linear infinite`}}]});yi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const Rd=H(),Md="hope-progress";function Ld(e){var t,n,r,o,i,a;const l=Ya().Progress,[s]=Jt({get min(){var t;return null!=(t=e.min)?t:0},get max(){var t;return null!=(t=e.max)?t:100},get value(){var t;return null!=(t=e.value)?t:0},get percent(){return e=this.value,t=this.min,n=this.max,100*(e-t)/(n-t);var e,t,n},get indeterminate(){var t;return null!=(t=e.indeterminate)&&t},get ariaValueText(){var t;if(!this.indeterminate)return Xo(this.getValueText)?this.getValueText(this.value,this.percent):null!=(t=e.valueText)?t:`${this.percent}%`},get getValueText(){return e.getValueText}}),c=me({size:null!=(r=null==(n=null==(t=null==l?void 0:l.defaultProps)?void 0:t.root)?void 0:n.size)?r:"md",trackColor:null!=(a=null==(i=null==(o=null==l?void 0:l.defaultProps)?void 0:o.root)?void 0:i.trackColor)?a:"$neutral4"},e),[u,d,p]=be(c,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),h={state:s};return de(Rd.Provider,{value:h,get children(){return de(ol,me({role:"progressbar",get"data-indeterminate"(){return s.indeterminate?"":void 0},get"aria-valuemin"(){return s.min},get"aria-valuemax"(){return s.max},get"aria-valuenow"(){return s.indeterminate?void 0:s.value},get"aria-valuetext"(){return s.ariaValueText},get class(){return Ja(u.class,Md,Nd({size:u.size}))},get __baseStyle(){var e;return null==(e=null==l?void 0:l.baseStyle)?void 0:e.root},get backgroundColor(){return u.trackColor}},p))}})}Ld.toString=()=>Qa(Md);const $d="hope-progress__indicator";function Pd(e){const t=Ya().Progress,n=function(){const e=z(Rd);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}(),r=me({color:"$primary9"},e),[o,i]=be(r,["class","color","striped","animated"]);return de(ol,me({get class(){return Ja(o.class,$d,Id({striped:o.striped,animated:o.animated,indeterminate:!0===n.state.indeterminate,css:qo(Wo({},n.state.indeterminate?{backgroundImage:`linear-gradient(to right, transparent 0%, ${o.color} 50%, transparent 100%)`}:{backgroundColor:o.color}),{width:`${n.state.percent}%`})}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.indicator}},i))}Pd.toString=()=>Qa($d);const Dd=yi(Hs,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),Bd=yi(zs),Fd=yi(js,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),Hd="hope-radio-group";function zd(e){const t=`hope-radio-group-${Ee()}--radio`,n=Ya().Radio,[r,o]=Jt({_value:e.defaultValue,get isControlled(){return void 0!==e.value},get value(){return this.isControlled?e.value:this._value},get name(){var n;return null!=(n=e.name)?n:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var t,r,o;return null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.variant},get colorScheme(){var t,r,o;return null!=(o=e.colorScheme)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.colorScheme},get size(){var t,r,o;return null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.size}}),[i,a,l]=be(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),s={state:r,onChange:e=>{var t;const n=e.target.value;o("_value",n),null==(t=i.onChange)||t.call(i,String(n))}};return de(jd.Provider,{value:s,get children(){return de(ol,me({role:"radiogroup",get class(){return Ja(i.class,Hd)},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.group}},l))}})}zd.toString=()=>Qa(Hd);const jd=H(),Ud=Fe('<input type="radio">',1),Gd="hope-radio",Kd="hope-radio__input",Wd="hope-radio__control",qd="hope-radio__label";function Vd(e){const t=`hope-radio-${Ee()}`,n=Ya().Radio,r=tc(),o=z(jd),i=nc(e),[a,l]=Jt({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(o){const t=o.state.value;return null!=t&&String(e.value)===String(t)}return this.isControlled?!!e.checked:this._checked},get variant(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.variant)?r:null==(t=null==o?void 0:o.state)?void 0:t.variant)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.variant)?s:"outline"},get colorScheme(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.colorScheme)?r:null==(t=null==o?void 0:o.state)?void 0:t.colorScheme)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.colorScheme)?s:"primary"},get size(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.size)?r:null==(t=null==o?void 0:o.state)?void 0:t.size)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.size)?s:"md"},get labelPlacement(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.labelPlacement)?r:null==(t=null==o?void 0:o.state)?void 0:t.labelPlacement)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.labelPlacement)?s:"end"},get id(){var n;return r&&!o?i.id:null!=(n=e.id)?n:t},get name(){var t;return null!=(t=e.name)?t:null==o?void 0:o.state.name},get value(){return e.value},get required(){var e;return null!=(e=i.required)?e:null==o?void 0:o.state.required},get disabled(){var e;return null!=(e=i.disabled)?e:null==o?void 0:o.state.disabled},get invalid(){var e;return null!=(e=i.invalid)?e:null==o?void 0:o.state.invalid},get readOnly(){var e;return null!=(e=i.readOnly)?e:null==o?void 0:o.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||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}}),[s,c,u]=be(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=e=>{if(a.readOnly||a.disabled)e.preventDefault();else{if(!a.isControlled){const t=e.target;l("_checked",t.checked)}Jo(null==o?void 0:o.onChange,s.onChange)(e)}},p=e=>{l("isFocused",!0),Qo(i.onFocus,e)},h=e=>{l("isFocused",!1),Qo(i.onBlur,e)},f={state:a,onChange:d,onFocus:p,onBlur:h};return de(Yd.Provider,{value:f,get children(){return de(rl.label,me({get class(){return Ja(s.class,Gd,Dd({size:a.size,labelPlacement:a.labelPlacement}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root},get for(){return a.id},"data-group":!0,get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u,{get children(){return[(()=>{const e=Ud.cloneNode(!0);e.addEventListener("blur",h),e.addEventListener("focus",p),e.addEventListener("change",d);const t=s.ref;return"function"==typeof t?t(e):s.ref=e,C((t=>{const n=Ja(Kd,Wa()),r=s.tabIndex,o=a.value,i=a.id,l=a.name,c=a.checked,u=a.required,d=a.disabled,p=a.readOnly,h=a["aria-required"],f=a["aria-disabled"],g=a["aria-invalid"],m=a["aria-readonly"],b=a["aria-label"],v=a["aria-labelledby"],y=a["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&ze(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),i!==t._v$4&&ze(e,"id",t._v$4=i),l!==t._v$5&&ze(e,"name",t._v$5=l),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&ze(e,"aria-required",t._v$10=h),f!==t._v$11&&ze(e,"aria-disabled",t._v$11=f),g!==t._v$12&&ze(e,"aria-invalid",t._v$12=g),m!==t._v$13&&ze(e,"aria-readonly",t._v$13=m),b!==t._v$14&&ze(e,"aria-label",t._v$14=b),v!==t._v$15&&ze(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&ze(e,"aria-describedby",t._v$16=y),t}),{_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}),e})(),de(rl.span,me({"aria-hidden":!0,get class(){return Ja(Wd,Fd({variant:a.variant,colorScheme:a.colorScheme,size:a.size}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.control},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u)),de(rl.span,{get class(){return Ja(qd,Bd())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.label},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]},get children(){return de(we,{get when(){return pl(s)},get fallback(){return s.children},get children(){var e;return null==(e=s.children)?void 0:e.call(s,{checked:a.checked})}})}})]}}))}})}Vd.toString=()=>Qa(Gd);const Yd=H();var Xd=(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))(Xd||{});function Zd(e=[],t,n=[]){return e.filter((e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0)))}function Qd(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 Jd(e,t){return String(e.value)===String(t.value)}function ep(e){const t=`hope-select-${Ee()}`,n=Ya().Select,r=nc(e),[o,i]=w(!1),[a,l]=w([]),[s,c]=Jt({get isControlled(){return void 0!==e.value},get value(){var t;return this.isControlled?e.value:this.multiple?this.selectedOptions.map((e=>e.value)):null!=(t=this.selectedOptions[0].value)?t:void 0},get multiple(){return e.multiple},get baseId(){var n,o;return null!=(o=null!=(n=e.id)?n:r.id)?o:t},get triggerId(){return`${this.baseId}-trigger`},get listboxId(){return`${this.baseId}-listbox`},get labelIdPrefix(){return`${this.baseId}-label`},get optionIdPrefix(){return`${this.baseId}-option`},get disabled(){var t;return null!=(t=e.disabled)?t:r.disabled},get invalid(){var t;return null!=(t=e.invalid)?t:r.invalid},get variant(){var t,r,o,i;return null!=(i=null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.variant)?i:"outline"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"fade-in-top"},get activeDescendantId(){return this.opened?`${this.optionIdPrefix}-${this.activeIndex}`:void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return a()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let u,d,p,h;const f=async()=>{var t,r,o,i;if(!u||!d)return;const{x:a,y:l}=await Bo(u,d,{placement:"bottom",middleware:[oo(null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:5),eo(),io(),ao({apply({reference:e}){d&&Object.assign(d.style,{width:`${e.width}px`})}})]});d&&Object.assign(d.style,{left:`${Math.round(a)}px`,top:`${Math.round(l)}px`})},g=()=>{null==u||u.focus()},m=()=>{if(o())return;const t=(s.isControlled?null==e.value?[]:Vo(e.value)?e.value:[e.value]:null==e.defaultValue?[]:Vo(e.defaultValue)?e.defaultValue:[e.defaultValue]).map((e=>s.options.find((t=>t.value===e)))).filter(Boolean);c("selectedOptions",(e=>[...e,...t])),i(!0)},b=e=>{c("activeIndex",e)},v=e=>!(s.selectedOptions.length<=0)&&(s.multiple?!!s.selectedOptions.find((t=>Jd(e,t))):Jd(e,s.selectedOptions[0])),y=e=>{c("selectedOptions",(t=>t.filter((t=>!Jd(e,t)))))},E=()=>{var e;return s.multiple?s.selectedOptions.map((e=>e.value)):null!=(e=s.selectedOptions[0].value)?e:void 0},_=t=>{var n;b(t),(e=>{const t=s.options[e];s.multiple?v(t)?y(t):c("selectedOptions",(e=>[...e,t])):c("selectedOptions",[t])})(t),null==(n=e.onChange)||n.call(e,E())},T=t=>{var n;y(t),null==(n=e.onChange)||n.call(e,E()),g()},k=e=>s.options[e].disabled,C=e=>{if(r.readOnly)return;x(!0);const t=(e=>{s.searchTimeoutId&&window.clearTimeout(s.searchTimeoutId);const t=window.setTimeout((()=>{c("searchString","")}),500);return c("searchTimeoutId",t),c("searchString",(t=>t+e)),s.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=Zd(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every((e=>e===i[0]))){const n=Zd(r,t[0]);return e.indexOf(n[0])}return-1;var i}(s.options,t,s.activeIndex+1);n>=0?b(n):(window.clearTimeout(s.searchTimeoutId),c("searchString",""))},x=(e,t=!0)=>{s.opened!==e&&(c("opened",e),s.selectedOptions.length>0?c("activeIndex",s.options.findIndex((e=>v(e)))):c("activeIndex",0),s.opened?(f(),u&&d&&(h=Do(u,d,f))):null==h||h(),t&&g())},A=e=>{p&&ul(p)&&dl(e,p)};S(I((()=>s.options),(()=>m()),{defer:!0})),S(I((()=>e.value),(()=>{if(!s.isControlled)return;const t=(Vo(e.value)?e.value:[e.value]).map((e=>s.options.find((t=>t.value===e)))).filter(Boolean);c("selectedOptions",t)}),{defer:!0})),S(I((()=>s.opened),(e=>{e&&setTimeout((()=>{const e=null==p?void 0:p.querySelector("[role='option'][aria-selected='true']");e&&A(e)}),0)})));const O={state:s,isOptionSelected:v,unselectOption:T,isOptionActiveDescendant:e=>e===s.activeIndex,formControlProps:r,assignTriggerRef:e=>{u=e},assignContentRef:e=>{d=e},assignListboxRef:e=>{p=e},registerOption:e=>{const t=s.options.findIndex((t=>Jd(t,e)));return-1!=t?t:l((t=>[...t,e])).length-1},scrollToOption:A,onContentClickOutside:e=>{sl(u,e)||x(!1,!1)},onTriggerBlur:e=>{sl(u,cl(e))||(s.ignoreBlur?c("ignoreBlur",!1):s.opened&&x(!1,!1))},onTriggerClick:()=>{r.readOnly||x(!s.opened,!1)},onTriggerKeyDown:e=>{if(r.readOnly)return;const{key:t}=e;if(s.hasSelectedOptions&&s.multiple&&"Backspace"===t)return void T(s.selectedOptions[s.selectedOptions.length-1]);const n=s.options.length-1,o=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if("Home"===n||"PageUp"===n)return 2;if("End"===n||"PageDown"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 8;if(t){if("ArrowUp"===n&&r)return 1;if("ArrowDown"===n&&!r)return 4;if("ArrowUp"===n)return 6;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,s.opened);switch(o){case Xd.Last:case Xd.First:x(!0);case Xd.Next:case Xd.Previous:return e.preventDefault(),b(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:o}=e;let i=Qd(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=6),6===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=Qd(i,n,e)}return i}({currentIndex:s.activeIndex,maxIndex:n,initialAction:o,isOptionDisabled:k}));case Xd.SelectAndClose:return e.preventDefault(),_(s.activeIndex),s.multiple?void 0:x(!1);case Xd.Close:return e.preventDefault(),x(!1);case Xd.Type:return C(t);case Xd.Open:return e.preventDefault(),x(!0)}},onOptionClick:e=>{s.options[e].disabled?g():(_(e),s.multiple?g():x(!1))},onOptionMouseMove:e=>{s.activeIndex!==e&&b(e)},onOptionMouseDown:()=>{c("ignoreBlur",!0)},onListboxMouseLeave:()=>{b(-1)}};return de(tp.Provider,{value:O,get children(){return e.children}})}const tp=H();function np(){const e=z(tp);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const rp="hope-select__content";function op(e){const t=Ya().Select,n=np(),[r,o]=be(e,["ref","class","children"]),[i,a]=w(!1);S(I((()=>n.state.opened),(()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)})));const l=()=>a(!1),s=j((()=>r.children)),c=e=>{n.assignContentRef(e),Xo(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return de(we,{get when(){return i()},get children(){return de(it,{get children(){return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-top":return Ta.fadeInTop;case"none":return"hope-none"}})()},appear:!0,onAfterExit:l,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(Pu,{onClickOutside:u,get children(){return de(ol,me({ref:c,get class(){return Ja(r.class,rp,Ra())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content}},o,{get children(){return s()}}))}})}})}})}})}})}op.toString=()=>Qa(rp);const ip=Fe('<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),ap=vl({viewBox:"0 0 15 15",path:()=>ip.cloneNode(!0)}),lp="hope-select__icon";function sp(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class","rotateOnOpen"]);return de(ap,me({"aria-hidden":!0,get class(){return Ja(r.class,lp,Ia(r.rotateOnOpen?{opened:n.state.opened}:void 0))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},o))}sp.toString=()=>Qa(lp);const cp="hope-select__listbox";function up(e){const t=Ya().Select,n=np(),[r,o]=be(e,["ref","class"]);return de(ol,me({ref:e=>{n.assignListboxRef(e),Xo(r.ref)?r.ref(e):r.ref=e},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return Ja(r.class,cp,Ma())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:e=>{e.preventDefault()}},o))}up.toString=()=>Qa(cp);const dp=H(),pp="hope-select__option";function hp(e){const t=Ya().Select,n=np(),[r,o]=w(-1);let i;const[a,l]=be(e,["ref","class","value","textValue","disabled"]),s=()=>{var e,t;return{value:a.value,textValue:null!=(t=null!=(e=a.textValue)?e:null==i?void 0:i.textContent)?t:String(a.value),disabled:!!a.disabled}},c=()=>n.isOptionSelected(s()),u=()=>n.isOptionActiveDescendant(r()),d=e=>{i=e,Xo(a.ref)?a.ref(e):a.ref=e},p=e=>{e.stopPropagation(),n.onOptionClick(r())},h=e=>{if(a.disabled&&n.onOptionMouseMove(-1),u()||a.disabled)return e.preventDefault(),void e.stopPropagation();n.onOptionMouseMove(r())},f={selected:c};return R((()=>{o(n.registerOption(s()))})),S((()=>{u()&&i&&n.scrollToOption(i)})),de(dp.Provider,{value:f,get children(){return de(ol,me({ref:d,role:"option",get id(){return`${n.state.optionIdPrefix}-${r()}`},get"aria-selected"(){return c()},get"data-active"(){return u()?"":void 0},get"data-disabled"(){return a.disabled?"":void 0},"data-group":!0,get class(){return Ja(a.class,pp,La())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.option},onClick:p,onMouseMove:h,get onMouseDown(){return n.onOptionMouseDown}},l))}})}hp.toString=()=>Qa(pp);const fp=Fe('<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),gp=vl({viewBox:"0 0 15 15",path:()=>fp.cloneNode(!0)}),mp="hope-select__option-indicator";function bp(e){const t=Ya().Select,n=function(){const e=z(dp);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}(),[r,o]=be(e,["class","children"]);return de(we,{get when(){return n.selected()},get children(){return de(rl.span,me({get class(){return Ja(r.class,mp,Pa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionIndicator}},o,{get children(){return de(we,{get when(){return r.children},get fallback(){return de(gp,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}bp.toString=()=>Qa(mp);const vp="hope-select__option-text";function yp(e){const t=Ya().Select,[n,r]=be(e,["class"]);return de(rl.span,me({get class(){return Ja(n.class,vp,$a())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionText}},r))}yp.toString=()=>Qa(vp);const Ep="hope-select__placeholder";function _p(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class"]);return de(we,{get when(){return!n.state.hasSelectedOptions},get children(){return de(rl.span,me({get class(){return Ja(r.class,Ep,Na())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.placeholder}},o))}})}_p.toString=()=>Qa(Ep);const Tp="hope-select__tag";function wp(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class","size","variant"]);return de(rl.span,me({get class(){return Ja(r.class,Tp,Aa({size:null!=(t=null!=(e=r.size)?e:n.state.size)?t:"md",variant:(null!=(o=r.variant)?o:"filled"===n.state.variant)?"outline":"subtle"}));var e,t,o},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tag}},o))}wp.toString=()=>Qa(Tp);const kp=Fe('<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),Cp=vl({viewBox:"0 0 15 15",path:()=>kp.cloneNode(!0)}),Sp="hope-select__tag-close-button";function xp(e){const t=Ya().Select,[n,r]=be(e,["class","children"]);return de(rl.button,me({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return Ja(n.class,Sp,Oa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tagCloseButton}},r,{get children(){return de(we,{get when(){return n.children},get fallback(){return de(Cp,{})},get children(){return n.children}})}}))}xp.toString=()=>Qa(Sp);const Ap="hope-select__trigger";function Op(e){const t=Ya().Select,n=np(),[r,o]=be(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]);return de(rl.button,me({ref:e=>{n.assignTriggerRef(e),Xo(r.ref)?r.ref(e):r.ref=e},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 Ja(r.class,Ap,Ca({variant:n.state.variant,size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{Jo(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{Jo(n.onTriggerKeyDown,r.onKeyDown)(e)},onFocus:e=>{Jo(n.formControlProps.onFocus,r.onFocus)(e)},onBlur:e=>{Jo(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(e)}},o))}Op.toString=()=>Qa(Ap);const Np=Fe("<span></span>",2),Ip="hope-select__value";function Rp(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class","children"]),i=j((()=>{var e;return pl(r)?null==(e=r.children)?void 0:e.call(r,{selectedOptions:n.state.selectedOptions}):r.children}));return de(we,{get when(){return n.state.hasSelectedOptions},get children(){return de(we,{get when(){return!i()},get fallback(){return i()},get children(){return de(we,{get when(){return n.state.multiple},get fallback(){return de(ol,me({get class(){return Ja(r.class,Ip,Sa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.singleValue}},o,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return de(ol,me({get class(){return Ja(r.class,Ip,xa({size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.multiValue}},o,{get children(){return de(Te,{get each(){return n.state.selectedOptions},children:e=>de(wp,{get children(){return[(()=>{const t=Np.cloneNode(!0);return We(t,(()=>e.textValue)),t})(),de(xp,{onClick:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),n.unselectOption(t)})(t,e)})]}})})}}))}})}})}})}Rp.toString=()=>Qa(Ip),yi({$$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:`${ki({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}})()}`,"&::before, &::after, *":{visibility:"hidden"}});const Mp=yi({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),Lp="hope-spacer";function $p(e){const[t,n]=be(e,["class"]);return de(ol,me({get class(){return Ja(t.class,Lp,Mp())}},n))}$p.toString=()=>Qa(Lp);const Pp=yi({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:`${Xi}`,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"}}}}),Dp=Fe("<span></span>",2),Bp="hope-spinner";function Fp(e){var t,n,r,o,i,a,l,s;const c=Ya().Spinner,u=me({label:null!=(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.label)?n:"Loading...",size:null!=(o=null==(r=null==c?void 0:c.defaultProps)?void 0:r.size)?o:"md",emptyColor:null==(i=null==c?void 0:c.defaultProps)?void 0:i.emptyColor,color:null==(a=null==c?void 0:c.defaultProps)?void 0:a.color,thickness:null==(l=null==c?void 0:c.defaultProps)?void 0:l.thickness,speed:null==(s=null==c?void 0:c.defaultProps)?void 0:s.speed},e),[d,p]=be(u,["class","children","label","size","emptyColor","color","thickness","speed"]);return de(ol,me({get class(){return Ja(d.class,Bp,Pp({size:d.size,css:{color:d.color,borderWidth:d.thickness,borderBottomColor:d.emptyColor,borderLeftColor:d.emptyColor,animationDuration:d.speed}}))}},p,{get children(){return de(we,{get when(){return d.label},get children(){const e=Dp.cloneNode(!0);return We(e,(()=>d.label)),C((()=>e.className=Wa())),e}})}}))}Fp.toString=()=>Qa(Bp);const Hp=yi(Hs,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),zp=yi(zs),jp=yi(js,{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)"}}}}}),Up=Fe('<input type="checkbox" role="switch">',1);function Gp(e){const t=`hope-switch-${Ee()}`,n=nc(e),[r,o]=Jt({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var e;return null!=(e=n.id)?e: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||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||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,a,l]=be(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),s=e=>{if(r.readOnly||r.disabled)e.preventDefault();else{if(!r.isControlled){const t=e.target;o("_checked",t.checked)}Qo(i.onChange,e)}},c=e=>{o("isFocused",!0),Qo(n.onFocus,e)},u=e=>{o("isFocused",!1),Qo(n.onBlur,e)},d=()=>r,p={state:r};return de(Kp.Provider,{value:p,get children(){return de(rl.label,me({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"]}},l,{get children(){return[(()=>{const e=Up.cloneNode(!0);e.addEventListener("blur",u),e.addEventListener("focus",c),e.addEventListener("change",s);const t=i.ref;return"function"==typeof t?t(e):i.ref=e,C((t=>{const n=Ja(i.inputClass,Wa()),o=i.tabIndex,a=r.value,l=r.id,s=r.name,c=r.checked,u=r.required,d=r.disabled,p=r.readOnly,h=r["aria-required"],f=r["aria-disabled"],g=r["aria-invalid"],m=r["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),o!==t._v$2&&ze(e,"tabindex",t._v$2=o),a!==t._v$3&&(e.value=t._v$3=a),l!==t._v$4&&ze(e,"id",t._v$4=l),s!==t._v$5&&ze(e,"name",t._v$5=s),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&ze(e,"aria-required",t._v$10=h),f!==t._v$11&&ze(e,"aria-disabled",t._v$11=f),g!==t._v$12&&ze(e,"aria-invalid",t._v$12=g),m!==t._v$13&&ze(e,"aria-readonly",t._v$13=m),b!==t._v$14&&ze(e,"aria-label",t._v$14=b),v!==t._v$15&&ze(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&ze(e,"aria-describedby",t._v$16=y),t}),{_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}),e})(),de(we,{get when(){return Xo(i.children)},get fallback(){return i.children},get children(){var e;return null==(e=i.children)?void 0:e.call(i,{state:d})}})]}}))}})}const Kp=H(),Wp="hope-switch",qp="hope-checkbox__input",Vp="hope-switch__control",Yp="hope-switch__label";function Xp(e){var t,n,r,o,i,a,l,s,c,u,d,p;const h=Ya().Switch,f=me({variant:null!=(r=null==(n=null==(t=null==h?void 0:h.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"filled",colorScheme:null!=(a=null==(i=null==(o=null==h?void 0:h.defaultProps)?void 0:o.root)?void 0:i.colorScheme)?a:"primary",size:null!=(c=null==(s=null==(l=null==h?void 0:h.defaultProps)?void 0:l.root)?void 0:s.size)?c:"md",labelPlacement:null!=(p=null==(d=null==(u=null==h?void 0:h.defaultProps)?void 0:u.root)?void 0:d.labelPlacement)?p:"start"},e),[g,m]=be(f,["children","class","variant","colorScheme","size","labelPlacement"]);return de(Gp,me({get class(){return Ja(g.class,Wp,Hp({size:g.size,labelPlacement:g.labelPlacement}))},inputClass:qp,get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.root}},m,{children:({state:e})=>[de(rl.span,{get class(){return Ja(Yp,zp())},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.label},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return g.children}}),de(rl.span,{"aria-hidden":!0,get class(){return Ja(Vp,jp({variant:g.variant,colorScheme:g.colorScheme,size:g.size}))},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.control},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]}})]}))}Xp.toString=()=>Qa(Wp);const Zp=yi({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});function Qp(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},[`& tr:nth-of-type(${e}) td`]:{backgroundColor:"$neutral3"}}}yi({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"}}}});const Jp=yi({variants:{striped:{odd:Qp("odd"),even:Qp("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"}}}]});yi({"& tr:last-of-type th":{borderBottomWidth:0}});const eh=yi({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"}}}}),th=yi({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"}}}}),nh=H(),rh="hope-table";function oh(e){const t=Ya().Table,[n]=Jt({get striped(){var n,r,o;return null!=(o=e.striped)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.striped},get dense(){var n,r,o,i;return null!=(i=null!=(o=e.dense)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.dense)&&i},get highlightOnHover(){var n,r,o,i;return null!=(i=null!=(o=e.highlightOnHover)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.highlightOnHover)&&i}}),[r,o]=be(e,["class","striped","dense","highlightOnHover"]);return de(nh.Provider,{value:n,get children(){return de(ol,me({as:"table",role:"table",get class(){return Ja(r.class,rh,Zp(n))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}function ih(){const e=z(nh);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}oh.toString=()=>Qa(rh);const ah="hope-tbody";function lh(e){const t=Ya().Table,n=ih(),[r,o]=be(e,["class"]);return de(ol,me({as:"tbody",role:"rowgroup",get class(){return Ja(r.class,ah,Jp({striped:n.striped,highlightOnHover:n.highlightOnHover}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tbody}},o))}lh.toString=()=>Qa(ah);const sh="hope-td";function ch(e){const t=Ya().Table,n=ih(),[r,o]=be(e,["class","numeric"]);return de(ol,me({as:"td",role:"cell",get class(){return Ja(r.class,sh,th({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.td}},o))}ch.toString=()=>Qa(sh);const uh="hope-th";function dh(e){const t=Ya().Table,n=ih(),[r,o]=be(e,["class","numeric"]);return de(ol,me({as:"th",role:"columnheader",get class(){return Ja(r.class,uh,eh({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.th}},o))}dh.toString=()=>Qa(uh);const ph="hope-thead";function hh(e){const t=Ya().Table,[n,r]=be(e,["class"]);return de(ol,me({as:"thead",role:"rowgroup",get class(){return Ja(n.class,ph)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.thead}},r))}hh.toString=()=>Qa(ph);const fh="hope-tr";function gh(e){const t=Ya().Table,[n,r]=be(e,["class"]);return de(ol,me({as:"tr",role:"row",get class(){return Ja(n.class,fh)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tr}},r))}function mh(e){return{"&[aria-selected='true']":{color:e}}}function bh(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}gh.toString=()=>Qa(fh),yi({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}}),yi({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"}}]}),yi({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:mh("$primary11")},{variant:"underline",colorScheme:"accent",css:mh("$accent11")},{variant:"underline",colorScheme:"neutral",css:mh("$neutral12")},{variant:"underline",colorScheme:"success",css:mh("$success11")},{variant:"underline",colorScheme:"info",css:mh("$info11")},{variant:"underline",colorScheme:"warning",css:mh("$warning11")},{variant:"underline",colorScheme:"danger",css:mh("$danger11")},{variant:"outline",colorScheme:"primary",css:mh("$primary11")},{variant:"outline",colorScheme:"accent",css:mh("$accent11")},{variant:"outline",colorScheme:"neutral",css:mh("$neutral12")},{variant:"outline",colorScheme:"success",css:mh("$success11")},{variant:"outline",colorScheme:"info",css:mh("$info11")},{variant:"outline",colorScheme:"warning",css:mh("$warning11")},{variant:"outline",colorScheme:"danger",css:mh("$danger11")},{variant:"cards",colorScheme:"primary",css:mh("$primary11")},{variant:"cards",colorScheme:"accent",css:mh("$accent11")},{variant:"cards",colorScheme:"neutral",css:mh("$neutral12")},{variant:"cards",colorScheme:"success",css:mh("$success11")},{variant:"cards",colorScheme:"info",css:mh("$info11")},{variant:"cards",colorScheme:"warning",css:mh("$warning11")},{variant:"cards",colorScheme:"danger",css:mh("$danger11")},{variant:"pills",colorScheme:"primary",css:bh({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:bh({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:bh({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:bh({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:bh({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:bh({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:bh({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"}}}]}),yi({outline:"none",padding:"$4"}),yi({marginInlineStart:"$2"}),yi({marginInlineEnd:"$2"}),yi({noOfLines:1});const vh=yi({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 yh(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,[`& .${vh}`]:{boxSize:e.closeButtonSize}}}function Eh(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${vh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function _h(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${vh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function Th(e){return{borderColor:e.borderColor,color:e.color,[`& .${vh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function wh(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}yi({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"},[`& .${vh}:not(:disabled):hover`]:{backgroundColor:"$neutral4"},[`& .${vh}:not(:disabled):active`]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:yh({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:yh({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:yh({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Eh({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Eh({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Eh({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:Eh({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Eh({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Eh({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Eh({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:_h({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:_h({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:_h({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:_h({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:_h({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:_h({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:_h({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Th({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:Th({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:Th({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:Th({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:Th({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:Th({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:Th({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:wh("$1_5")},{variant:"dot",size:"md",css:wh("$2")},{variant:"dot",size:"lg",css:wh("$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 kh="hope-text";function Ch(e){var t;const n=Ya().Text,r=me({size:null==(t=null==n?void 0:n.defaultProps)?void 0:t.size},e),[o,i]=be(r,["class","size"]);return de(rl.p,me({get class(){return Ja(o.class,kh,du({size:o.size}))},get __baseStyle(){return null==n?void 0:n.baseStyle}},i))}function Sh(e,t){return Object.entries({xs:null!=t?t:"$2",sm:null!=t?t:"$2_5",md:null!=t?t:"$3",lg:null!=t?t:"$4"}).map((([t,n])=>({variant:e,size:t,css:{px:n}})))}Ch.toString=()=>Qa(kh);const xh=yi(va,{minHeight:"80px",py:"$2",compoundVariants:[...Sh("outline"),...Sh("filled"),...Sh("unstyled",0)]}),Ah="hope-textarea";function Oh(e){var t,n,r,o;const i=Ya().Textarea,a=me({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"outline",size:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.size)?o:"md"},e),[l,s]=be(a,["class","variant","size"]),c=nc(e);return de(ol,me({as:"textarea",get class(){return Ja(l.class,Ah,xh({variant:l.variant,size:l.size}))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c,s))}Oh.toString=()=>Qa(Ah);const Nh="hope-tooltip",Ih="hope-tooltip__arrow";function Rh(e){var t,n,r,o,i,a,l,s,c,u,d,p,h,f,g,m,b,v;const y=`hope-tooltip-${Ee()}`,E=Ya().Tooltip,_=me({id:y,placement:null!=(n=null==(t=null==E?void 0:E.defaultProps)?void 0:t.placement)?n:"bottom",offset:null!=(o=null==(r=null==E?void 0:E.defaultProps)?void 0:r.offset)?o:8,withArrow:null!=(a=null==(i=null==E?void 0:E.defaultProps)?void 0:i.withArrow)&&a,arrowSize:null!=(s=null==(l=null==E?void 0:E.defaultProps)?void 0:l.arrowSize)?s:8,arrowPadding:null!=(u=null==(c=null==E?void 0:E.defaultProps)?void 0:c.arrowPadding)?u:8,openDelay:null!=(p=null==(d=null==E?void 0:E.defaultProps)?void 0:d.openDelay)?p:0,closeDelay:null!=(f=null==(h=null==E?void 0:E.defaultProps)?void 0:h.closeDelay)?f:0,closeOnClick:null==(m=null==(g=null==E?void 0:E.defaultProps)?void 0:g.closeOnClick)||m,closeOnMouseDown:null!=(v=null==(b=null==E?void 0:E.defaultProps)?void 0:b.closeOnMouseDown)&&v},e),[T,k]=be(_,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[C,A]=w(!!T.defaultOpened),[O,N]=w(!1);let I,L,$,P;const D=()=>void 0!==T.opened,B=()=>D()?!!T.opened:C();let F;const H=j((()=>T.children)),z=x((()=>{let e=H();for(;Xo(e);)e=e();return e}));async function U(){var e,t,n;const r=z();if(!r||!I)return;const o=[oo(T.offset)];T.inline&&o.push(lo()),o.push(eo()),o.push(io()),T.withArrow&&L&&o.push(qr({element:L,padding:T.arrowPadding})),o.push(ro());const{x:i,y:a,placement:l,middlewareData:s}=await Bo(r,I,{placement:T.placement,middleware:o});if(!I)return;const c=null==(e=s.hide)?void 0:e.referenceHidden;if(Object.assign(I.style,{left:`${Math.round(i)}px`,top:`${Math.round(a)}px`,visibility:c?"hidden":"visible"}),!L)return;const u=null==(t=s.arrow)?void 0:t.x,d=null==(n=s.arrow)?void 0:n.y,p={top:"bottom",right:"left",bottom:"top",left:"right"}[l.split("-")[0]],h=(T.arrowSize?-1*Math.round(T.arrowSize/2):-4)+"px";Object.assign(L.style,{left:null!=u?`${Math.round(u)}px`:"",top:null!=d?`${Math.round(d)}px`:"",right:"",bottom:"",[p]:h})}const G=()=>{var e;D()||A(!0),null==(e=T.onOpen)||e.call(T),U()},K=()=>{var e;D()||A(!1),null==(e=T.onClose)||e.call(T)},W=()=>{T.disabled||($=window.setTimeout(G,T.openDelay))},q=()=>{$&&window.clearTimeout($),P=window.setTimeout(K,T.closeDelay)},V=()=>{T.closeOnClick&&q()},Y=()=>{T.closeOnMouseDown&&q()},X=e=>{B()&&"Escape"===e.key&&q()},Z=()=>{I&&(document.addEventListener("keydown",X),F=Do(z(),I,U))},Q=()=>{document.removeEventListener("keydown",X),null==F||F(),N(!1)};return R((()=>{(()=>{const e=z();e.addEventListener("mouseenter",W),e.addEventListener("focus",W),e.addEventListener("click",V),e.addEventListener("mousedown",Y),e.addEventListener("mouseleave",q),e.addEventListener("blur",q)})()})),M((()=>{(()=>{const e=z();e.removeEventListener("mouseenter",W),e.removeEventListener("focus",W),e.removeEventListener("click",V),e.removeEventListener("mousedown",Y),e.removeEventListener("mouseleave",q),e.removeEventListener("blur",q)})(),window.clearTimeout($),window.clearTimeout(P)})),S((()=>{B()?(N(!0),T.id&&z().setAttribute("aria-describedby",T.id)):z().removeAttribute("aria-describedby")})),[z,de(we,{get when(){return O()},get children(){return de(it,{get children(){return de(nr,{get name(){return Da.scale},appear:!0,onBeforeEnter:U,onAfterEnter:Z,onAfterExit:Q,get children(){return de(we,{get when(){return B()},get children(){return de(ol,me({ref(e){"function"==typeof I?I(e):I=e},role:"tooltip",get id(){return T.id},get class(){return Ja(T.class,Nh,Fa())},get __baseStyle(){return null==E?void 0:E.baseStyle}},k,{get children(){return[De((()=>T.label)),de(we,{get when(){return T.withArrow},get children(){return de(ol,{ref(e){"function"==typeof L?L(e):L=e},get class(){return Ja(Ih,Ha())},get boxSize(){return T.arrowSize}})}})]}}))}})}})}})}})]}function Mh(e={}){const t=`disclosure-${Ee()}`,[n,r]=w(e.defaultIsOpen||!1),o=()=>void 0!==e.isOpen,i=()=>o()?!!e.isOpen:n(),a=()=>{var t;o()||r(!1),null==(t=e.onClose)||t.call(e)},l=()=>{var t;o()||r(!0),null==(t=e.onOpen)||t.call(e)};return{isControlled:o,isOpen:i,onOpen:l,onClose:a,onToggle:()=>{i()?a():l()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}function Lh(e,t,n){const r=e[t]||t.trim().split(".").reduce(((e,t)=>e?e[t]:void 0),e);return void 0!==r?r:n}Rh.toString=()=>Qa(Nh);var $h=H({}),Ph=()=>z($h),Dh=function e(t,n){var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,l=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,s=/^0x[0-9a-f]+$/i,c=/^0/,u=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},d=u(t).replace(a,"")||"",p=u(n).replace(a,"")||"",h=d.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=p.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(d.match(s),16)||1!==h.length&&d.match(l)&&Date.parse(d),m=parseInt(p.match(s),16)||g&&p.match(l)&&Date.parse(p)||null;if(m){if(g<m)return-1;if(g>m)return 1}for(var b=0,v=Math.max(h.length,f.length);b<v;b++){if(r=!(h[b]||"").match(c)&&parseFloat(h[b])||h[b]||0,o=!(f[b]||"").match(c)&&parseFloat(f[b])||f[b]||0,isNaN(r)!==isNaN(o))return isNaN(r)?1:-1;if(typeof r!=typeof o&&(r+="",o+=""),r<o)return-1;if(r>o)return 1}return 0};const Bh=e("e2",Qn(Dh));e("dW",((e,t)=>e===t||e.length===t.length&&e.every(((e,n)=>e===t[n])))),e("dT",M);const Fh=function(e,t,n){if(r.context){const[r,o]=w(e,n);return R((()=>o((()=>t())))),[r,o]}return w(t(),n)};function Hh(e,t,n){const[r,o]=w(),i=n?.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),a=n?.prefix?`${n.prefix}.`:"",l=()=>i.reduce(((t,r)=>{if(null!==t||!r)return t;let i=null;try{i=r.getItem(`${a}${e}`)}catch(l){if(o(l instanceof Error?l:new Error(`Error reading ${a}${e} from ${r.name}`)),n?.throw)throw l}return null!==i&&n?.deserializer?n.deserializer(i+"",e,n.options):i}),null),[s,c]=Fh(t,(()=>l()??t),n);S((()=>{const t=s(),r=n?.serializer?n.serializer(t,e,n.options):t+"",l=`${a}${e}`;try{null===t?i.forEach((e=>null!==e.getItem(l)&&e.removeItem(l))):i.forEach((e=>e.getItem(l)!==r&&e.setItem(l,r,n?.options)))}catch(c){if(o(c instanceof Error?c:new Error(`Error ${null===t?"removing":"writing"} value`)),n?.throw)throw c}}));const u=()=>{const e=l();c(e)};return!1!==n?.sync&&R((()=>{const e=e=>{let t=!1;try{i.forEach((n=>{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)}))}catch(r){if(o(r instanceof Error?r:new Error("Error synching api after event")),n?.throw)throw r}t&&u()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),M((()=>globalThis.removeEventListener("storage",e)))):(i.forEach((t=>t.addEventListener?.("storage",e))),M((()=>i.forEach((t=>t.removeEventListener?.("storage",e))))))})),[Object.assign(s,{error:r}),c,u]}var zh,jh=function(e){const[t,n]=w(),r=e?.throw?(e,t)=>{throw n(e instanceof Error?e:new Error(t)),e}:(e,t)=>{n(e instanceof Error?e:new Error(t))},o=e?.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e?.prefix?`${e.prefix}.`:"",a=new Map,l=new Proxy({},{get(t,n){let l=a.get(n);l||(l=w(void 0,{equals:!1}),a.set(n,l)),l[0]();const s=o.reduce(((e,t)=>{if(null!==e||!t)return e;try{return t.getItem(`${i}${n}`)}catch(o){return r(o,`Error reading ${i}${n} from ${t.name}`),null}}),null);return null!==s&&e?.deserializer?e.deserializer(s,n,e.options):s}});return!1!==e?.sync&&R((()=>{const e=e=>{let t=!1;o.forEach((n=>{try{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)}catch(o){r(o,`Error synching api ${n.name} from storage event (${e.key}=${e.newValue})`)}})),t&&e.key&&a.get(e.key)?.[1]()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),M((()=>globalThis.removeEventListener("storage",e)))):(o.forEach((t=>t.addEventListener?.("storage",e))),M((()=>o.forEach((t=>t.removeEventListener?.("storage",e))))))})),[l,(t,n,l)=>{const s=e?.serializer?e.serializer(n,t,l??e.options):n,c=`${i}${t}`;o.forEach((e=>{try{e.getItem(c)!==s&&e.setItem(c,s)}catch(n){r(n,`Error setting ${i}${t} to ${s} in ${e.name}`)}}));const u=a.get(t);u&&u[1]()},{clear:()=>o.forEach((e=>{try{e.clear()}catch(t){r(t,`Error clearing ${e.name}`)}})),error:t,remove:e=>o.forEach((t=>{try{t.removeItem(`${i}${e}`)}catch(n){r(n,`Error removing ${i}${e} from ${t.name}`)}})),toJSON:()=>{const t={},n=(n,r)=>{if(!t.hasOwnProperty(n)){const o=r&&e?.deserializer?e.deserializer(r,n,e.options):r;o&&(t[n]=o)}};return o.forEach((e=>{if("function"==typeof e.getAll){let t;try{t=e.getAll()}catch(o){r(o,`Error getting all values from in ${e.name}`)}for(const e of t)n(e,t[e])}else{let i,a=0;try{for(;i=e.key(a++);)t.hasOwnProperty(i)||n(i,e.getItem(i))}catch(o){r(o,`Error getting all values from ${e.name}`)}}})),t}}]},Uh=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?`; ${n}=${r.toUTCString()}`:"boolean"==typeof r?`; ${n}`:`; ${n}=${r}`}return t},Gh=(zh={_cookies:[globalThis.document,"cookie"],getItem:e=>Gh._cookies[0][Gh._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)")?.pop()??null,setItem:(e,t,n)=>{const r=Gh.getItem(e);Gh._cookies[0][Gh._cookies[1]]=`${e}=${t}${Uh(n)}`;const o=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:Gh});window.dispatchEvent(o)},removeItem:e=>{Gh._cookies[0][Gh._cookies[1]]=`${e}=deleted${Uh({expires:new Date(0)})}`},key:e=>{let t=null,n=0;return Gh._cookies[0][Gh._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,((r,o)=>(!t&&o&&n++===e&&(t=o),""))),t},get length(){let e=0;return Gh._cookies[0][Gh._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,(t=>(e+=t?1:0,""))),e}},"function"==typeof zh.clear||(zh.clear=()=>{let e;for(;e=zh.key(0);)zh.removeItem(e)}),zh);let Kh=e("cf","");window.OPENLIST_CONFIG.base_path&&(t=>{e("cf",Kh=t),Kh.startsWith("/")||e("cf",Kh="/"+Kh),Kh.endsWith("/")&&e("cf",Kh=Kh.slice(0,-1))})(window.OPENLIST_CONFIG.base_path);let Wh=e("dZ","/");window.OPENLIST_CONFIG.api&&e("dZ",Wh=window.OPENLIST_CONFIG.api),"/"===Wh&&e("dZ",Wh=location.origin+Kh),Wh.endsWith("/")&&e("dZ",Wh=Wh.slice(0,-1)),e("dS",window.OPENLIST_CONFIG.monaco_cdn||"https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.33.0-dev.20220228/min/vs");const qh=e("aG",function(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(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}());var Vh=Fe("<div><div>"),Yh=Fe("<div>");const Xh=e("n",{render:e=>{td.show({render:t=>de(ol,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:Rm(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(r=Vh(),o=r.firstChild,r.style.setProperty("flexGrow","1"),r.style.setProperty("display","flex"),r.style.setProperty("alignItems","center"),o.style.setProperty("margin","auto"),We(o,e),r),(n=Yh(),n.style.setProperty("display","inline-block"),n.style.setProperty("padding","5px"),We(n,de(Ec,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n)];var n,r,o}})})},success:e=>{td.show({status:"success",title:wm(e)})},error:e=>{td.show({status:"danger",title:wm(e)})},info:e=>{td.show({status:"info",title:wm(e)})},warning:e=>{td.show({status:"warning",title:wm(e)})}}),Zh=(...e)=>new URL(Qh(...e),location.origin).pathname,Qh=e("j",((...e)=>e.join("/").replace(/\/{2,}/g,"/"))),Jh=e("R",((...e)=>Qh(Kh,...e))),ef=(e("i",(e=>e.split("/").pop())),e("dQ",(e=>e.split("/").slice(0,-1).join("/")))),tf=e("L",((e,t)=>e.split("/").map((e=>t?encodeURIComponent(e):e.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20"))).join("/"))),nf=e("cO",(e=>e.split(".").pop()??""));e("dY",(e=>e.split(".").slice(0,-1).join("."))),e("d8",(e=>JSON.parse(JSON.stringify(e))));const rf=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},of=e("dR",(e=>Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLowerCase(),null!==t&&"object"==typeof t?of(t):t])))));function af(e,t){return function(){return e.apply(t,arguments)}}const{toString:lf}=Object.prototype,{getPrototypeOf:sf}=Object,{iterator:cf,toStringTag:uf}=Symbol,df=(pf=Object.create(null),e=>{const t=lf.call(e);return pf[t]||(pf[t]=t.slice(8,-1).toLowerCase())});var pf;const hf=e=>(e=e.toLowerCase(),t=>df(t)===e),ff=e=>t=>typeof t===e,{isArray:gf}=Array,mf=ff("undefined"),bf=hf("ArrayBuffer"),vf=ff("string"),yf=ff("function"),Ef=ff("number"),_f=e=>null!==e&&"object"==typeof e,Tf=e=>{if("object"!==df(e))return!1;const t=sf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||uf in e||cf in e)},wf=hf("Date"),kf=hf("File"),Cf=hf("Blob"),Sf=hf("FileList"),xf=hf("URLSearchParams"),[Af,Of,Nf,If]=["ReadableStream","Request","Response","Headers"].map(hf);function Rf(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),gf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Mf(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Lf="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,$f=e=>!mf(e)&&e!==Lf,Pf=(Df="undefined"!=typeof Uint8Array&&sf(Uint8Array),e=>Df&&e instanceof Df);var Df;const Bf=hf("HTMLFormElement"),Ff=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hf=hf("RegExp"),zf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Rf(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},jf=hf("AsyncFunction"),Uf=(Gf="function"==typeof setImmediate,Kf=yf(Lf.postMessage),Gf?setImmediate:Kf?(Wf=`axios@${Math.random()}`,qf=[],Lf.addEventListener("message",(({source:e,data:t})=>{e===Lf&&t===Wf&&qf.length&&qf.shift()()}),!1),e=>{qf.push(e),Lf.postMessage(Wf,"*")}):e=>setTimeout(e));var Gf,Kf,Wf,qf;const Vf="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Lf):"undefined"!=typeof process&&process.nextTick||Uf,Yf={isArray:gf,isArrayBuffer:bf,isBuffer:function(e){return null!==e&&!mf(e)&&null!==e.constructor&&!mf(e.constructor)&&yf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||yf(e.append)&&("formdata"===(t=df(e))||"object"===t&&yf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bf(e.buffer),t},isString:vf,isNumber:Ef,isBoolean:e=>!0===e||!1===e,isObject:_f,isPlainObject:Tf,isReadableStream:Af,isRequest:Of,isResponse:Nf,isHeaders:If,isUndefined:mf,isDate:wf,isFile:kf,isBlob:Cf,isRegExp:Hf,isFunction:yf,isStream:e=>_f(e)&&yf(e.pipe),isURLSearchParams:xf,isTypedArray:Pf,isFileList:Sf,forEach:Rf,merge:function e(){const{caseless:t}=$f(this)&&this||{},n={},r=(r,o)=>{const i=t&&Mf(n,o)||o;Tf(n[i])&&Tf(r)?n[i]=e(n[i],r):Tf(r)?n[i]=e({},r):gf(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Rf(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Rf(t,((t,r)=>{n&&yf(t)?e[r]=af(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(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)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:df,kindOfTest:hf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(gf(e))return e;let t=e.length;if(!Ef(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[cf]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Bf,hasOwnProperty:Ff,hasOwnProp:Ff,reduceDescriptors:zf,freezeMethods:e=>{zf(e,((t,n)=>{if(yf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];yf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return gf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Mf,global:Lf,isContextDefined:$f,isSpecCompliantForm:function(e){return!!(e&&yf(e.append)&&"FormData"===e[uf]&&e[cf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(_f(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=gf(e)?[]:{};return Rf(e,((e,t)=>{const i=n(e,r+1);!mf(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:jf,isThenable:e=>e&&(_f(e)||yf(e))&&yf(e.then)&&yf(e.catch),setImmediate:Uf,asap:Vf,isIterable:e=>null!=e&&yf(e[cf])};function Xf(e,t,n,r,o){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),o&&(this.response=o,this.status=o.status?o.status:null)}Yf.inherits(Xf,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:Yf.toJSONObject(this.config),code:this.code,status:this.status}}});const Zf=Xf.prototype,Qf={};function Jf(e){return Yf.isPlainObject(e)||Yf.isArray(e)}function eg(e){return Yf.endsWith(e,"[]")?e.slice(0,-2):e}function tg(e,t,n){return e?e.concat(t).map((function(e,t){return e=eg(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["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=>{Qf[e]={value:e}})),Object.defineProperties(Xf,Qf),Object.defineProperty(Zf,"isAxiosError",{value:!0}),Xf.from=(e,t,n,r,o,i)=>{const a=Object.create(Zf);return Yf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Xf.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const ng=Yf.toFlatObject(Yf,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rg(e,t,n){if(!Yf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Yf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Yf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Yf.isSpecCompliantForm(t);if(!Yf.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Yf.isDate(e))return e.toISOString();if(!l&&Yf.isBlob(e))throw new Xf("Blob is not supported. Use a Buffer instead.");return Yf.isArrayBuffer(e)||Yf.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let l=e;if(e&&!o&&"object"==typeof e)if(Yf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Yf.isArray(e)&&function(e){return Yf.isArray(e)&&!e.some(Jf)}(e)||(Yf.isFileList(e)||Yf.endsWith(n,"[]"))&&(l=Yf.toArray(e)))return n=eg(n),l.forEach((function(e,r){!Yf.isUndefined(e)&&null!==e&&t.append(!0===a?tg([n],r,i):null===a?n:n+"[]",s(e))})),!1;return!!Jf(e)||(t.append(tg(o,n,i),s(e)),!1)}const u=[],d=Object.assign(ng,{defaultVisitor:c,convertValue:s,isVisitable:Jf});if(!Yf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Yf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Yf.forEach(n,(function(n,i){!0===(!(Yf.isUndefined(n)||null===n)&&o.call(t,n,Yf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t}function og(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ig(e,t){this._pairs=[],e&&rg(e,this,t)}const ag=ig.prototype;function lg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sg(e,t,n){if(!t)return e;const r=n&&n.encode||lg;Yf.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Yf.isURLSearchParams(t)?t.toString():new ig(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}ag.append=function(e,t){this._pairs.push([e,t])},ag.toString=function(e){const t=e?function(t){return e.call(this,t,og)}:og;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const cg=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Yf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ug={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dg={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ig,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pg="undefined"!=typeof window&&"undefined"!=typeof document,hg="object"==typeof navigator&&navigator||void 0,fg=pg&&(!hg||["ReactNative","NativeScript","NS"].indexOf(hg.product)<0),gg="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,mg=pg&&window.location.href||"http://localhost",bg={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pg,hasStandardBrowserEnv:fg,hasStandardBrowserWebWorkerEnv:gg,navigator:hg,origin:mg},Symbol.toStringTag,{value:"Module"})),...dg};function vg(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;return i=!i&&Yf.isArray(r)?r.length:i,l?(Yf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Yf.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Yf.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(Yf.isFormData(e)&&Yf.isFunction(e.entries)){const n={};return Yf.forEachEntry(e,((e,r)=>{t(function(e){return Yf.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const yg={transitional:ug,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Yf.isObject(e);if(o&&Yf.isHTMLForm(e)&&(e=new FormData(e)),Yf.isFormData(e))return r?JSON.stringify(vg(e)):e;if(Yf.isArrayBuffer(e)||Yf.isBuffer(e)||Yf.isStream(e)||Yf.isFile(e)||Yf.isBlob(e)||Yf.isReadableStream(e))return e;if(Yf.isArrayBufferView(e))return e.buffer;if(Yf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return rg(e,new bg.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return bg.isNode&&Yf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Yf.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return rg(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Yf.isString(e))try{return(t||JSON.parse)(e),Yf.trim(e)}catch(Dr){if("SyntaxError"!==Dr.name)throw Dr}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||yg.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Yf.isResponse(e)||Yf.isReadableStream(e))return e;if(e&&Yf.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Dr){if(n){if("SyntaxError"===Dr.name)throw Xf.from(Dr,Xf.ERR_BAD_RESPONSE,this,null,this.response);throw Dr}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bg.classes.FormData,Blob:bg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Yf.forEach(["delete","get","head","post","put","patch"],(e=>{yg.headers[e]={}}));const Eg=yg,_g=Yf.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"]),Tg=Symbol("internals");function wg(e){return e&&String(e).trim().toLowerCase()}function kg(e){return!1===e||null==e?e:Yf.isArray(e)?e.map(kg):String(e)}function Cg(e,t,n,r,o){return Yf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Yf.isString(t)?Yf.isString(r)?-1!==t.indexOf(r):Yf.isRegExp(r)?r.test(t):void 0:void 0)}class Sg{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=wg(t);if(!o)throw new Error("header name must be a non-empty string");const i=Yf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=kg(e))}const i=(e,t)=>Yf.forEach(e,((e,n)=>o(e,n,t)));if(Yf.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Yf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&_g[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Yf.isObject(e)&&Yf.isIterable(e)){let n,r,o={};for(const t of e){if(!Yf.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Yf.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=wg(e)){const n=Yf.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(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}(e);if(Yf.isFunction(t))return t.call(this,e,n);if(Yf.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=wg(e)){const n=Yf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Cg(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=wg(e)){const o=Yf.findKey(n,e);!o||t&&!Cg(0,n[o],o,t)||(delete n[o],r=!0)}}return Yf.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Cg(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Yf.forEach(this,((r,o)=>{const i=Yf.findKey(n,o);if(i)return t[i]=kg(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=kg(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Yf.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Yf.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Tg]=this[Tg]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=wg(e);t[r]||(function(e,t){const n=Yf.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Yf.isArray(e)?e.forEach(r):r(e),this}}Sg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Yf.reduceDescriptors(Sg.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Yf.freezeMethods(Sg);const xg=Sg;function Ag(e,t){const n=this||Eg,r=t||n,o=xg.from(r.headers);let i=r.data;return Yf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Og(e){return!(!e||!e.__CANCEL__)}function Ng(e,t,n){Xf.call(this,null==e?"canceled":e,Xf.ERR_CANCELED,t,n),this.name="CanceledError"}function Ig(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Xf("Request failed with status code "+n.status,[Xf.ERR_BAD_REQUEST,Xf.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Yf.inherits(Ng,Xf,{__CANCEL__:!0});const Rg=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),c=r[a];o||(o=s),n[i]=l,r[i]=s;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const p=c&&s-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),i-l)))},()=>n&&a(n)]}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-r,s=o(l);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Mg=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Lg=e=>(...t)=>Yf.asap((()=>e(...t))),$g=bg.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,bg.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(bg.origin),bg.navigator&&/(msie|trident)/i.test(bg.navigator.userAgent)):()=>!0,Pg=bg.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Yf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Yf.isString(r)&&a.push("path="+r),Yf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Dg(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Bg=e=>e instanceof xg?{...e}:e;function Fg(e,t){t=t||{};const n={};function r(e,t,n,r){return Yf.isPlainObject(e)&&Yf.isPlainObject(t)?Yf.merge.call({caseless:r},e,t):Yf.isPlainObject(t)?Yf.merge({},t):Yf.isArray(t)?t.slice():t}function o(e,t,n,o){return Yf.isUndefined(t)?Yf.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Yf.isUndefined(t))return r(void 0,t)}function a(e,t){return Yf.isUndefined(t)?Yf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>o(Bg(e),Bg(t),0,!0)};return Yf.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=s[r]||o,a=i(e[r],t[r],r);Yf.isUndefined(a)&&i!==l||(n[r]=a)})),n}const Hg=e=>{const t=Fg({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:l,auth:s}=t;if(t.headers=l=xg.from(l),t.url=sg(Dg(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Yf.isFormData(r))if(bg.hasStandardBrowserEnv||bg.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(n=l.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...t].join("; "))}if(bg.hasStandardBrowserEnv&&(o&&Yf.isFunction(o)&&(o=o(t)),o||!1!==o&&$g(t.url))){const e=i&&a&&Pg.read(a);e&&l.set(i,e)}return t},zg="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Hg(e);let o=r.data;const i=xg.from(r.headers).normalize();let a,l,s,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=xg.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ig((function(e){t(e),f()}),(function(e){n(e),f()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Xf("Request aborted",Xf.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new Xf("Network Error",Xf.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ug;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Xf(t,o.clarifyTimeoutError?Xf.ETIMEDOUT:Xf.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Yf.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Yf.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),h&&([s,u]=Rg(h,!0),g.addEventListener("progress",s)),p&&g.upload&&([l,c]=Rg(p),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new Ng(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const b=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);b&&-1===bg.protocols.indexOf(b)?n(new Xf("Unsupported protocol "+b+":",Xf.ERR_BAD_REQUEST,e)):g.send(o||null)}))},jg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Xf?t:new Ng(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Xf(`timeout ${t} of ms exceeded`,Xf.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:l}=r;return l.unsubscribe=()=>Yf.asap(a),l}},Ug=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Gg=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Kg=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Gg(e))yield*Ug(n,t)}(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw l(t),t}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},Wg="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,qg=Wg&&"function"==typeof ReadableStream,Vg=Wg&&("function"==typeof TextEncoder?(Yg=new TextEncoder,e=>Yg.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Yg;const Xg=(e,...t)=>{try{return!!e(...t)}catch(Dr){return!1}},Zg=qg&&Xg((()=>{let e=!1;const t=new Request(bg.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Qg=qg&&Xg((()=>Yf.isReadableStream(new Response("").body))),Jg={stream:Qg&&(e=>e.body)};var em;Wg&&(em=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Jg[e]&&(Jg[e]=Yf.isFunction(em[e])?t=>t[e]():(t,n)=>{throw new Xf(`Response type '${e}' is not supported`,Xf.ERR_NOT_SUPPORT,n)})})));const tm=async(e,t)=>{const n=Yf.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Yf.isBlob(e))return e.size;if(Yf.isSpecCompliantForm(e)){const t=new Request(bg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Yf.isArrayBufferView(e)||Yf.isArrayBuffer(e)?e.byteLength:(Yf.isURLSearchParams(e)&&(e+=""),Yf.isString(e)?(await Vg(e)).byteLength:void 0)})(t):n},nm=Wg&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:s,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=Hg(e);c=c?(c+"").toLowerCase():"text";let h,f=jg([o,i&&i.toAbortSignal()],a);const g=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(s&&Zg&&"get"!==n&&"head"!==n&&0!==(m=await tm(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Yf.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Mg(m,Rg(Lg(s)));r=Kg(n.body,65536,e,t)}}Yf.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(h);const a=Qg&&("stream"===c||"response"===c);if(Qg&&(l||a&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Yf.toFiniteNumber(i.headers.get("content-length")),[n,r]=l&&Mg(t,Rg(Lg(l),!0))||[];i=new Response(Kg(i.body,65536,n,(()=>{r&&r(),g&&g()})),e)}c=c||"text";let b=await Jg[Yf.findKey(Jg,c)||"text"](i,e);return!a&&g&&g(),await new Promise(((t,n)=>{Ig(t,n,{data:b,headers:xg.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(b){if(g&&g(),b&&"TypeError"===b.name&&/Load failed|fetch/i.test(b.message))throw Object.assign(new Xf("Network Error",Xf.ERR_NETWORK,e,h),{cause:b.cause||b});throw Xf.from(b,b&&b.code,e,h)}}),rm={http:null,xhr:zg,fetch:nm};Yf.forEach(rm,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Dr){}Object.defineProperty(e,"adapterName",{value:t})}}));const om=e=>`- ${e}`,im=e=>Yf.isFunction(e)||null===e||!1===e,am=e=>{e=Yf.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!im(n)&&(r=rm[(t=String(n)).toLowerCase()],void 0===r))throw new Xf(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Xf("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(om).join("\n"):" "+om(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function lm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ng(null,e)}function sm(e){return lm(e),e.headers=xg.from(e.headers),e.data=Ag.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),am(e.adapter||Eg.adapter)(e).then((function(t){return lm(e),t.data=Ag.call(e,e.transformResponse,t),t.headers=xg.from(t.headers),t}),(function(t){return Og(t)||(lm(e),t&&t.response&&(t.response.data=Ag.call(e,e.transformResponse,t.response),t.response.headers=xg.from(t.response.headers))),Promise.reject(t)}))}const cm="1.9.0",um={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{um[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const dm={};um.transitional=function(e,t,n){function r(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Xf(r(o," has been removed"+(t?" in "+t:"")),Xf.ERR_DEPRECATED);return t&&!dm[o]&&(dm[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},um.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const pm={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Xf("options must be an object",Xf.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Xf("option "+i+" must be "+n,Xf.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Xf("Unknown option "+i,Xf.ERR_BAD_OPTION)}},validators:um},hm=pm.validators;class fm{constructor(e){this.defaults=e||{},this.interceptors={request:new cg,response:new cg}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Dr){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Fg(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&pm.assertOptions(n,{silentJSONParsing:hm.transitional(hm.boolean),forcedJSONParsing:hm.transitional(hm.boolean),clarifyTimeoutError:hm.transitional(hm.boolean)},!1),null!=r&&(Yf.isFunction(r)?t.paramsSerializer={serialize:r}:pm.assertOptions(r,{encode:hm.function,serialize:hm.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),pm.assertOptions(t,{baseUrl:hm.spelling("baseURL"),withXsrfToken:hm.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Yf.merge(o.common,o[t.method]);o&&Yf.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=xg.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,d=0;if(!l){const e=[sm.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,s),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let p=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{p=e(p)}catch(h){t.call(this,h);break}}try{c=sm.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,u=s.length;d<u;)c=c.then(s[d++],s[d++]);return c}getUri(e){return sg(Dg((e=Fg(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Yf.forEach(["delete","get","head","options"],(function(e){fm.prototype[e]=function(t,n){return this.request(Fg(n||{},{method:e,url:t,data:(n||{}).data}))}})),Yf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Fg(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}fm.prototype[e]=t(),fm.prototype[e+"Form"]=t(!0)}));const gm=fm;class mm{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Ng(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new mm((function(t){e=t}));return{token:t,cancel:e}}}const bm=mm,vm={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};Object.entries(vm).forEach((([e,t])=>{vm[t]=e}));const ym=vm,Em=function e(t){const n=new gm(t),r=af(gm.prototype.request,n);return Yf.extend(r,gm.prototype,n,{allOwnKeys:!0}),Yf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Fg(t,n))},r}(Eg);Em.Axios=gm,Em.CanceledError=Ng,Em.CancelToken=bm,Em.isCancel=Og,Em.VERSION=cm,Em.toFormData=rg,Em.AxiosError=Xf,Em.Cancel=Em.CanceledError,Em.all=function(e){return Promise.all(e)},Em.spread=function(e){return function(t){return e.apply(null,t)}},Em.isAxiosError=function(e){return Yf.isObject(e)&&!0===e.isAxiosError},Em.mergeConfig=Fg,Em.AxiosHeaders=xg,Em.formToJSON=e=>vg(Yf.isHTMLForm(e)?new FormData(e):e),Em.getAdapter=am,Em.HttpStatusCode=ym,Em.default=Em;const _m=e("g",Em),Tm=e("bk",_m.create({baseURL:Wh+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1}));Tm.interceptors.request.use((e=>e),(e=>(console.log("Error: "+e.message),Promise.reject(e)))),Tm.interceptors.response.use((e=>e.data),(e=>(console.error(e),{code:_m.isCancel(e)?-1:e.response?.status,message:e.message}))),Tm.defaults.headers.common.Authorization=localStorage.getItem("token")||"",e("c8",(e=>{Tm.defaults.headers.common.Authorization=e??"",localStorage.setItem("token",e??"")}));const wm=e=>e&&0!==e.length?e.charAt(0).toUpperCase()+e.slice(1):"";e("c9",((e,t)=>e.startsWith(t)?e.slice(t.length):e));const km=e=>e<10?"0"+e:e;e("cx",((e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const e=new URL(t.d_url),n=Date.now();e.searchParams.set("openlist_ts",n.toString()),t.d_url=e.toString()}return n=n.replace(/\$[eb_]*url/,(e=>{const n=e.match(/[eb]/g);let r=t.raw_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r})),n=n.replace(/\$[eb_]*durl/,(e=>{const n=e.match(/[eb]/g);let r=t.d_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r})),n}));const Cm=e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},Sm={"+":"-","/":"_","=":"."},xm=(e("d_",(e=>window.btoa(e).replace(/[+/=]/g,(e=>Sm[e])))),(e,t)=>new TextDecoder(t).decode(e)),Am=e("bl",((e,t,n,r=!0,o=!0,i)=>{if(200===e.code)i&&Xh.success(e.message),t?.(e.data);else{if(o&&Xh.error(e.message),r&&401===e.code)return void("/@manage"===location.pathname?qh.emit("to","/"):qh.emit("to",`/@login?redirect=${encodeURIComponent(location.pathname)}`));n?.(e.message,e.code)}})),Om=e("cm",((e,t,n,r=!0)=>Am(e,t,n,r,!1))),Nm=(e,t,n)=>Am(e,t,n,!1,!1),Im=(e("b6",((e,t,n,r=!0,o=!0)=>Am(e,t,n,r,o,!0))),e("P",(()=>"rgba(132,133,141,0.18)"))),Rm=()=>Za("$whiteAlpha10","$blackAlpha11")(),Mm=e("dX",((e="/",t="",n)=>Tm.post("/fs/get",{path:e,password:t},{cancelToken:n}))),Lm=e("l",((e="/",t="",n=1,r=0,o=!1,i)=>Tm.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:o},{cancelToken:i}))),$m=(e("dx",((e="/",t="",n=!1)=>Tm.post("/fs/dirs",{path:e,password:t,force_root:n}))),e("bc",(e=>Tm.post("/fs/mkdir",{path:e}))),e("b9",((e,t,n)=>Tm.post("/fs/rename",{path:e,name:t,overwrite:n}))),e("bh",((e,t)=>Tm.post("/fs/batch_rename",{src_dir:e,rename_objects:t}))),e("b7",((e,t,n,r)=>Tm.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r}))),e("bd",((e,t,n)=>Tm.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n}))),e("b4",((e,t,n,r)=>Tm.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r}))),e("b8",((e,t)=>Tm.post("/fs/remove",{dir:e,names:t}))),e("bg",(e=>Tm.post("/fs/remove_empty_directory",{src_dir:e}))),e("bb",((e,t,n)=>Tm.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}}))),e("e0",((e="/",t="",n="",r=!1,o)=>Tm.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:o}))),e("e1",((e="/",t="",n="",r="/",o=1,i=0,a=!1,l)=>Tm.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:o,per_page:i,refresh:a},{cancelToken:l}))),e("bM",((e,t,n,r="",o="/",i=!0,a=!1)=>Tm.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:o,cache_full:i,put_into_new_dir:a}))),e("bm",((e,t,n,r)=>Tm.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r}))),e("aj",(async(e,t=!0)=>{try{const n=await _m.get(e,{responseType:"blob",params:t?{openlist_ts:(new Date).getTime()}:void 0}),r=await n.data.arrayBuffer();return{content:r,contentType:n.headers["content-type"]}}catch(Dr){return t?await $m(e,!1):{content:`Failed to fetch ${e}: ${Dr}`,contentType:""}}})));e("cC",(async(e,t,n="",r=0,o=1,i=100)=>Tm.post("/fs/search",{parent:e,keywords:t,scope:r,page:o,per_page:i,password:n}))),e("dr",(async(e=["/"],t=-1)=>Tm.post("/admin/index/build",{paths:e,max_depth:t}))),e("ds",(async(e=[],t=-1)=>Tm.post("/admin/index/update",{paths:e,max_depth:t})));var Pm,Dm={exports:{}},Bm={exports:{}};function Fm(){return Pm||(Pm=1,function(e){!function(t){var n={bytesToHex:function(e){return function(e){return e.map((function(e){return t=e.toString(16),n=2,t.length>n?t:Array(n-t.length+1).join("0")+t;var t,n})).join("")}(e)},hexToBytes:function(e){if(e.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===e.indexOf("0x")&&(e=e.slice(2)),e.match(/../g).map((function(e){return parseInt(e,16)}))}};e.exports?e.exports=n:t.convertHex=n}(Zn)}(Bm)),Bm.exports}var Hm,zm={exports:{}};!function(e){!function(t){var n={};e.exports?(n.bytesToHex=Fm().bytesToHex,n.convertString=(Hm||(Hm=1,function(e){!function(t){var n={bytesToString:function(e){return e.map((function(e){return String.fromCharCode(e)})).join("")},stringToBytes:function(e){return e.split("").map((function(e){return e.charCodeAt(0)}))}};n.UTF8={bytesToString:function(e){return decodeURIComponent(escape(n.bytesToString(e)))},stringToBytes:function(e){return n.stringToBytes(unescape(encodeURIComponent(e)))}},e.exports?e.exports=n:t.convertString=n}(Zn)}(zm)),zm.exports),e.exports=s):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=s);var r=[];!function(){function e(e){for(var t=Math.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)e(n)&&(r[o]=t(Math.pow(n,1/3)),o++),n++}();var o=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},i=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},a=[],l=function(e,t,n){for(var o=e[0],i=e[1],l=e[2],s=e[3],c=e[4],u=e[5],d=e[6],p=e[7],h=0;h<64;h++){if(h<16)a[h]=0|t[n+h];else{var f=a[h-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=a[h-2],b=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;a[h]=g+a[h-7]+b+a[h-16]}var v=o&i^o&l^i&l,y=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),E=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&d)+r[h]+a[h];p=d,d=u,u=c,c=s+E|0,s=l,l=i,i=o,o=E+(y+v)|0}e[0]=e[0]+o|0,e[1]=e[1]+i|0,e[2]=e[2]+l|0,e[3]=e[3]+s|0,e[4]=e[4]+c|0,e[5]=e[5]+u|0,e[6]=e[6]+d|0,e[7]=e[7]+p|0};function s(e,t){e.constructor===String&&(e=n.convertString.UTF8.stringToBytes(e));var r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],a=o(e),s=8*e.length;a[s>>5]|=128<<24-s%32,a[15+(s+64>>9<<4)]=s;for(var c=0;c<a.length;c+=16)l(r,a,c);var u=i(r);return t&&t.asBytes?u:t&&t.asString?n.convertString.bytesToString(u):n.bytesToHex(u)}s.x2=function(e,t){return s(s(e,{asBytes:!0}),t)}}(Zn)}(Dm),e("cc",Qn(Dm.exports));const jm={};document.addEventListener("keydown",(e=>{jm[e.key]=!0})),document.addEventListener("keyup",(e=>{delete jm[e.key]}));const[Um,Gm,{remove:Km,clear:Wm,toJSON:qm}]=jh();e({o:Um,bz:Gm});const Vm=e("bu",[{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:"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"]}]);for(const e of Vm)Um[e.key]||Gm(e.key,e.default);var Ym=e("a7",(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))(Ym||{}));const[Xm,Zm]=Jt({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",state:0,err:""});e("a5",Xm);const Qm=e=>{Zm(e)},Jm=e=>{Zm("obj",e)},eb=e=>{Zm("raw_url",e)},tb=e=>{Zm("provider",e)},nb=e=>{ub.start=-1,ub.end=-1,Zm("objs",e),Zm("obj","is_dir",!0)},rb=e=>{Zm("total",e)},ob=e=>Zm("readme",e),ib=e=>Zm("header",e),ab=e=>Zm("related",e),lb=e=>Zm("write",e),sb=e=>Zm("state",e),cb=e=>Zm("err",e),ub=(e("dJ",((e,t)=>{Bh.insensitive=!0,Zm("objs",nn((n=>n.sort(((n,r)=>(t?-1:1)*Bh(n[e],r[e]))))))})),{start:-1,end:-1}),db=(e("dG",((e,t,n)=>{if(n&&db(!1),jm.Shift){if(ub.start<0)for(let i=0;i<Math.max(e+1,Xm.objs.length-e);++i){if(Xm.objs[e-i]?.selected){ub.start=e-i,ub.end=e-i;break}if(Xm.objs[e+i]?.selected){ub.start=e+i,ub.end=e+i;break}}const t=Math.abs(ub.end-ub.start),n=Math.sign(ub.end-ub.start);for(let e=1;e<=t;++e)Zm("objs",ub.start+n*e,{selected:!1});const r=Math.abs(e-ub.start),o=Math.sign(e-ub.start);for(let e=0;e<=r;++e)Zm("objs",ub.start+o*e,{selected:!0});ub.end=e}else Zm("objs",e,{selected:t}),t?(ub.start=e,ub.end=e):(ub.end=-1,ub.start=-1)})),e("aW",(e=>{Zm("objs",{},(t=>({selected:e})))}))),pb=e("e",(()=>Xm.objs.filter((e=>e.selected)))),hb=(e("dH",(()=>Xm.objs.length===hb())),e("ba",(()=>1===hb())),e("aV",(()=>hb()>0)),e("dI",(()=>hb()>0&&hb()<Xm.objs.length)),x((()=>pb().length))),[fb,gb]=w(location.pathname),mb=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(Dr){return{}}})();qh.on("pathname",(e=>gb(e)));const[bb,vb]=w(mb[fb()]||Um.global_default_layout),[yb,Eb]=(e("aw",(()=>{const e=mb[fb()];return vb(e||Um.global_default_layout),bb()})),e("aC",(e=>{mb[fb()]=e,localStorage.setItem("layoutRecord",JSON.stringify(mb)),vb(e)})),Hh("checkbox-open","false")),_b=e("aU",(()=>"true"===yb())),[Tb,wb]=(e("b1",(()=>{Eb(_b()?"false":"true")})),w(Gh.getItem("browser-password")||""));e("_",Tb),e("a8",(e=>{wb(e),Gh.setItem("browser-password",e)}));const kb={},Cb=e=>{Object.keys(e).forEach((t=>{kb[t]=e[t]}));const t=kb.version||"Unknown";console.log(`%c OpenList %c ${t} %c https://github.com/OpenListTeam/OpenList`,"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")},Sb=e("W",(e=>kb[e]??"")),xb=(e("af",(e=>{const t=Sb(e);return"true"===t||"1"===t})),(e,t)=>{const n=Sb(e);return n?Number(n):t??0}),Ab=e("av",(()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:Sb("main_color")||"#1890ff"));let Ob={};const Nb=e=>{if(!Ob[e])try{Ob[e]=JSON.parse(Sb(e))}catch(Dr){console.error(`failed parse ${e}, use default`,Dr),Ob[e]={}}return Ob[e]},Ib=(e,t)=>{const n=nf(e).toLowerCase(),r=[];for(const o in Nb(t))o.startsWith("/")?Cm(o).test(n)&&r.push(...rf(Nb(t)[o])):o.split(",").includes(n)&&r.push(...rf(Nb(t)[o]));return r},Rb=(e("cF",(e=>Ib(e,"external_previews"))),e("cN",(e=>Ib(e,"iframe_previews"))),e("$",(()=>({type:Sb("pagination_type")||"all",size:xb("default_page_size",30)}))));let Mb;const Lb=()=>(Mb||(Mb=Sb("hide_files").split(/\n/g).filter((e=>!!e.trim())).map((e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)}))),Mb);var $b=e("bQ",(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))($b||{}));const Pb=e("aP",["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress"]),Db=e("aq",{is_guest:e=>1===e.role,is_admin:e=>2===e.role,is_general:e=>0===e.role,can:(e,t)=>1==(e.permission>>t&1)}),[Bb,Fb]=w({});e({ar:Bb,d2:Fb}),e("aY",(e=>{const t=Bb();return Db.can(t,Pb.indexOf(e))}));const Hb=(e,t,n)=>{const[r,o]=w(n??!1);return[r,async(...n)=>{o(!0);const r=await e(...n);return t&&401===r.code||o(!1),r}]},zb=e("b3",((e,t)=>Hb(e,!0,t))),jb=(e("dh",((e,t)=>((e,t,n)=>{const[r,o]=w(n);return[r,async(n,...r)=>{o((()=>n));const i=await e(n,...r);return t&&401===i.code||o(void 0),i}]})(e,!0,t))),e("d",(()=>{const e=St(),t=xt(),n=wt().params,r=x((()=>(e=>{const t=e.replace(Kh,"");return t.startsWith("/")?t:"/"+t})(decodeURIComponent(t.pathname))));return{to:(t,n,r)=>{!n&&t.startsWith("/")&&(t=Jh(t)),dv(decodeURIComponent(t)),e(t,r)},replace:t=>{const n=tf(Qh(ef(r()),t),!0);dv(decodeURIComponent(n)),e(n)},pushHref:e=>tf(Qh(r(),e)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,search:t.search,searchParams:t.query,setSearchParams:(n,o)=>{const i=N((()=>function(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach((([e,t])=>{null==t||""===t?n.delete(e):n.set(e,String(t))}));const r=n.toString();return r?`?${r}`:""}(t.search,n)));e(Jh(r()+i),{scroll:!1,...o,resolve:!0})},params:n}}))),Ub=e("b",(()=>{const[e]=Ph();return(t,n,r)=>{const o=e(t,n,r);if(!o){let e=t.lastIndexOf(".");e===t.length-1&&(e=t.lastIndexOf(".",e-1));const n=t.slice(e+1);return wm(n).split("_").join(" ")}return o}}));let Gb,Kb,Wb=!0;const qb={};let Vb=1;const Yb=e("cy",(()=>Vb)),Xb=e=>{Vb=e},Zb=(e("H",(()=>{const{pathname:e,to:t,searchParams:n}=jb(),[,r]=zb((e=>Mm(e,Tb(),new _m.CancelToken((e=>{Gb=e}))))),o=Rb();"pagination"===o.type&&Xb(parseInt(n.page)||1);const[,i]=zb((e=>{const t={index:e?.index,size:e?.size};return Lm(e?.path,Tb(),t.index,t.size,e?.force,new _m.CancelToken((e=>{Kb=e})))})),a=(t,n=!0,r=!1)=>{r&&(t=Qh(e(),t)),n?qb[t]=!0:delete qb[t]};let l=!1;const s=(e,t,n,r)=>(Gb?.(),Kb?.(),l=n??!1,cb(""),uv(e,t)?(sv(e,t),cv(e,t)):qb[e]?(sv(e,t),u(e,t,void 0,void 0,r)):(sv(e,t),c(e,t))),c=async(e,t)=>{sb(Ym.FetchingObj);const n=await r(e);Om(n,(n=>{Jm(n),tb(n.provider),n.is_dir?(a(e),u(e,t)):(ob(n.readme),ib(n.header),ab(n.related??[]),eb(n.raw_url),sb(Ym.File))}),d)},u=async(e,t,n,r=!1,a)=>{n||(n=o.size),void 0!==n&&"all"===o.type&&(n=void 0),sb(r?Ym.FetchingMore:Ym.FetchingObjs);const l=await i({path:e,index:t,size:n,force:a});Om(l,(e=>{var n;Xb(t??1),r?(n=e.content,Zm("objs",nn((e=>e.push(...n))))):(nb(e.content??[]),rb(e.total)),ob(e.readme),ib(e.header),lb(e.write),tb(e.provider),sb(Ym.Folder)}),d)},d=(n,r)=>{if(403===r)sb(Ym.NeedPassword),l&&Xh.error(n);else{const o=Bb().base_path;if(Wb&&"/"!=o&&e().includes(o)&&n.endsWith("object not found"))return Wb=!1,void t(e().replace(o,""));(void 0===r||r>=0)&&cb(n)}},p=()=>u(e(),Vb+1,void 0,!0);return{handlePathChange:s,setPathAs:a,refresh:async(t,n)=>{const r=e(),i=window.scrollY;if(dv(r,Vb),"load_more"===o.type||"auto_load_more"===o.type){const e=Vb;for(Xb(1),await s(r,Vb,t,n);Vb<e;)await p()}else await s(r,Vb,t,n);window.scroll({top:i,behavior:"smooth"})},loadMore:p,allLoaded:()=>Vb>=Math.ceil(Xm.total/o.size)}})),e("k",((e,t,n="direct",r)=>{"preview"!==n&&(e=Qh(Bb().base_path,e)),e=((e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),t&&"/"===e?"":e))(e,!0);let o=`${e}/${t.name}`;o=tf(o,r);let i=Wh,a="direct"===n?"/d":"/p";"preview"===n&&(a="",Wh.startsWith(location.origin)||(i=location.origin));let l=`${i}${a}${o}`;return"preview"!==n&&t.sign&&(l+=`?sign=${t.sign}`),l}))),Qb=e("ac",(()=>{const{pathname:e}=jb(),t=(t,n,r)=>{const o=Xm.state!==Ym.File?e():ef(e());return Zb(o,t,n,r)},n=(e,n)=>t(e,"direct",n);return{getLinkByObj:t,rawLink:n,proxyLink:(e,n)=>t(e,"proxy",n),previewPage:(e,n)=>t(e,"preview",n),currentObjLink:e=>n(Xm.obj,e)}})),Jb=e("u",(()=>{const{previewPage:e,rawLink:t}=Qb(),n=e=>pb().filter((e=>!e.is_dir)).map((n=>t(n,e)));return{rawLinks:n,previewPagesText:()=>pb().map((t=>e(t,!0))).join("\n"),rawLinksText:e=>n(e).join("\n")}}));e("aR",(()=>{const{copy:e}=ov(),{previewPagesText:t,rawLinksText:n}=Jb(),{currentObjLink:r}=Qb();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:t=>{e(n(t))},copyCurrentRawLink:t=>{e(r(t))}}}));var ev=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}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}},tv={"text/plain":"Text","text/html":"Url",default:"Text"},nv=function(e,t){var n,r,o,i,a,l,s=!1;t||(t={}),n=t.debug||!1;try{if(o=ev(),i=document.createRange(),a=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=tv[t.format]||tv.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),i.selectNodeContents(l),a.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(c){n&&console.error("unable to copy using execCommand: ",c),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(c){n&&console.error("unable to copy using clipboardData: ",c),n&&console.error("falling back to prompt"),r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(r,e)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(i):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return s};const rv=Qn(nv),ov=e("da",(()=>{const e=Ub(),{pathname:t}=jb();return{copy:t=>{rv(t),Xh.success(e("global.copied"))},isHide:e=>{const n=Lb();for(const r of n)if(r.test(Qh(t(),e.name)))return!0;return!1},isHidePath:e=>{const t=Lb();for(const n of t)if(n.test(e))return!0;return!1}}}));function iv(e){const t="string"==typeof e;return{isString:t,text:(n="utf-8")=>e?t?e:xm(e,n):""}}const av=new Map,lv=()=>new Promise((e=>setTimeout(e))),sv=(e,t)=>{const n=e.split("?")[0];return t&&t>1?`${n}?page=${t}`:n},cv=(e("ab",((e,t)=>{const n=JSON.parse(JSON.stringify(Xm));if(![Ym.FetchingMore,Ym.Folder,Ym.File].includes(Xm.state))return;Xm.state===Ym.FetchingMore&&(n.state=Ym.Folder);const r=sv(e,t),o={obj:n,page:t??Yb(),scroll:window.scrollY};av.set(r,o),console.log(`record history: [${r}]`)})),async(e,t)=>{const n=sv(e,t);if(!av.has(n))return;const r=av.get(n);Xb(r.page),sb(Ym.Initial),await lv(),Qm(JSON.parse(JSON.stringify(r.obj))),await lv(),window.scroll({top:r.scroll})}),uv=(e,t)=>{const n=sv(e,t);return av.has(n)},dv=e("cz",((e,t)=>{const n=sv(e,t);uv(e,t)&&(av.delete(n),console.log(`clear history: [${n}]`))}));document.addEventListener("click",(e=>{let t=e.target.closest("a"),n=t?.getAttribute("href");n&&dv(decodeURIComponent(n))}),!0);const pv=()=>de(Bs,{h:"100vh",get children(){return de(Fp,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return Ab()},size:"xl"})}}),hv=e("a2",(e=>{const t=me({py:"$8",size:"xl",thickness:4},e);return de(Bs,{ref(t){var n=e.ref;"function"==typeof n?n(t):e.ref=t},h:"$full",w:"$full",get py(){return t.py},get children(){return de(Fp,{get thickness(){return`${t.thickness}px`},speed:"0.65s",emptyColor:"$neutral4",get color(){return Ab()},get size(){return t.size}})}})}));e("ah",(e=>de(we,{get when(){return!e.loading},get fallback(){return de(hv,{})},get children(){return e.children}}))),e("aF",(e=>de(Bs,{w:"$full",h:"$full",get children(){return de(Fp,me({get color(){return Ab()}},e))}})));var fv=Fe("<svg stroke-width=0>");function gv(e,t){const n=me(e.a,t),[r,o]=be(n,["src"]),[i,a]=w(""),l=x((()=>t.title?`${e.c}<title>${t.title}</title>`:e.c));return S((()=>a(l()))),M((()=>{a("")})),Ge(s=fv(),me({get stroke(){return e.a?.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},o,{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),We(s,(()=>nt)),s;var s}function mv(e){return gv({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 bv(e){return gv({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 vv(e){return gv({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 yv=e("bw",(()=>{const{toggleColorMode:e}=Xa(),t=Za({size:"$8",component:bv,p:"$0_5"},{size:"$8",component:vv,p:"$0_5"});return de(bl,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})})),Ev=e("Y",(function(e,t,n){return e()})),_v="English",Tv=(e("cn",{lang:_v}),"简体中文"),wv=(e("co",{lang:Tv}),Object.assign({"/src/lang/en/index.json":_v,"/src/lang/zh-CN/index.json":Tv})),kv=[];for(const e in wv){const t=e.split("/")[3];kv.push({code:t,lang:wv[e]})}const Cv=kv.find((e=>e.code.toLowerCase()===navigator.language.toLowerCase()))?.code||kv.find((e=>e.code.toLowerCase().split("-")[0]===navigator.language.toLowerCase().split("-")[0]))?.code||"en";let Sv=localStorage.getItem("lang")??"";Sv&&kv.find((e=>e.code===Sv))||(Sv=Cv);const xv={},Av=Object.assign({"/src/lang/en/entry.ts":()=>Ev((()=>t.import("./entry-legacy-b7407e56.js")),void 0),"/src/lang/zh-CN/entry.ts":()=>Ev((()=>t.import("./entry-legacy-2e63503e.js")),void 0)});for(const e in Av){const t=e.split("/")[3];xv[t]=Av[e]}const Ov=new Set,Nv=((e={},t=("undefined"!=typeof navigator&&navigator.language in e?navigator.language:Object.keys(e)[0]??""))=>{const[n,r]=w(t),[o,i]=Jt(e),a={add(e,t){i(e,(e=>Object.assign(e||{},t)))},locale:e=>e?r(e):n(),dict:e=>Lh(o,e)};return[(e,t,r)=>{const i=Lh(o[n()],e,r||"");return"function"==typeof i?i(t):"string"==typeof i?((e,t,n=/{{([^{}]+)}}/g)=>e.replace(n,((e,n)=>Lh(t,n,""))))(i,t||{}):i},a]})({},Sv),[Iv,Rv]=w(Sv);function Mv(e){return gv({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)}e("dP",Iv);const[Lv,$v]=w(!1),Pv=e=>{const[,{locale:t,add:n}]=Ph(),r=async e=>{Ov.has(e)||($v(!0),n(e,(await xv[e]()).default),$v(!1),Ov.add(e)),t(e),Rv(e),localStorage.setItem("lang",e)};return localStorage.getItem("lang")||r(kv.find((e=>e.code===navigator.language))?navigator.language:"en"),[de(Mu,{get children(){return[de(Ku,me({cursor:"pointer"},e)),de(Bu,{get children(){return de(Te,{each:kv,children:(e,t)=>de(Uu,{onSelect:()=>{r(e.code)},get children(){return e.lang}})})}})]}}),de(we,{get when(){return Lv()},get children(){return de(it,{get children(){return de(Bs,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return Za("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return de(Fp,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]};e("bv",(()=>de(Pv,{as:Mv,boxSize:"$8"})));
10
+ function Cr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xr,Ar=(xr=[],{activateTrap:function(e){if(xr.length>0){var t=xr[xr.length-1];t!==e&&t.pause()}var n=xr.indexOf(e);-1===n||xr.splice(n,1),xr.push(e)},deactivateTrap:function(e){var t=xr.indexOf(e);-1!==t&&xr.splice(t,1),xr.length>0&&xr[xr.length-1].unpause()}}),Or=function(e){return setTimeout(e,0)},Nr=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},Ir=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Rr=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Mr=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e){return!(!e||!i.containers.some((function(t){return t.contains(e)})))},s=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t=t.apply(void 0,i)}if(!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},c=function(){var e=s("initialFocus");if(!1===e)return!1;if(void 0===e)if(l(r.activeElement))e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(i.tabbableGroups=i.containers.map((function(e){var t,n,r=_r(e),o=(t=e,(n=n||{}).getShadowRoot?dr([t],n.includeContainer,{filter:br.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):ur(t,n.includeContainer,br.bind(null,n)));if(r.length>0)return{container:e,firstTabbableNode:r[0],lastTabbableNode:r[r.length-1],nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex((function(t){return t===e}));return t?o.slice(n+1).find((function(e){return Tr(e)})):o.slice(0,n).reverse().find((function(e){return Tr(e)}))}}})).filter((function(e){return!!e})),i.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},p=function(e){var t=s("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Rr(e);l(t)||(Ir(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!kr(t)}):Ir(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Rr(e),n=l(t);n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(i.mostRecentlyFocusedNode||c()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==Ir(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Rr(e);u();var n=null;if(i.tabbableGroups.length>0){var r=Nr(i.tabbableGroups,(function(e){return e.container.contains(t)})),o=r>=0?i.tabbableGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var a=Nr(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(a<0&&(o.container===t||kr(t)&&!Tr(t)&&!o.nextTabbableNode(t,!1))&&(a=r),a>=0){var l=0===a?i.tabbableGroups.length-1:a-1;n=i.tabbableGroups[l].lastTabbableNode}}else{var c=Nr(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(c<0&&(o.container===t||kr(t)&&!Tr(t)&&!o.nextTabbableNode(t))&&(c=r),c>=0){var p=c===i.tabbableGroups.length-1?0:c+1;n=i.tabbableGroups[p].firstTabbableNode}}}else n=s("fallbackFocus");n&&(e.preventDefault(),d(n))}(e)},m=function(e){if(!Ir(o.clickOutsideDeactivates,e)){var t=Rr(e);l(t)||Ir(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())}},b=function(){if(i.active)return Ar.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?Or((function(){d(c())})):d(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},v=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",g,!0),n};return n={activate:function(e){if(i.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var l=function(){o&&u(),b(),n&&n()};return o?(o(i.containers.concat()).then(l,l),this):(l(),this)},deactivate:function(e){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,v(),i.active=!1,i.paused=!1,Ar.deactivateTrap(n);var t=a(e,"onDeactivate"),r=a(e,"onPostDeactivate"),o=a(e,"checkCanReturnFocus");t&&t();var l=a(e,"returnFocus","returnFocusOnDeactivate"),s=function(){Or((function(){l&&d(p(i.nodeFocusedBeforeActivation)),r&&r()}))};return l&&o?(o(p(i.nodeFocusedBeforeActivation)).then(s,s),this):(s(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,v()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,u(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),i.active&&u(),this}},n.updateContainerElements(e),n},Lr={exports:{}};!function(e){!function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n.r(t);var r=function(e){return Array.isArray(e)?e:[e]},o=function(e){return e instanceof Node},i=function(e,t){if(e&&t){e=function(e){return e instanceof NodeList}(e)?e:[e];for(var n=0;n<e.length&&!0!==t(e[n],n,e.length);n++);}},a=function(e){return console.error("[scroll-lock] ".concat(e))},l=function(e){if(Array.isArray(e))return e.join(", ")},s=function(e){var t=[];return i(e,(function(e){return t.push(e)})),t},c=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document;if((!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&-1!==s(n.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===s(n.querySelectorAll(t)).indexOf(e););return e},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return-1!==s(n.querySelectorAll(t)).indexOf(e)},d=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},p=function(e){if(e)return!!d(e)||e.scrollTop<=0},h=function(e){if(e){if(d(e))return!0;var t=e.scrollTop,n=e.scrollHeight;return t+e.offsetHeight>=n}},f=function(e){if(e)return!!d(e)||e.scrollLeft<=0},g=function(e){if(e){if(d(e))return!0;var t=e.scrollLeft,n=e.scrollWidth;return t+e.offsetWidth>=n}};function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"disablePageScroll",(function(){return y})),n.d(t,"enablePageScroll",(function(){return E})),n.d(t,"getScrollState",(function(){return _})),n.d(t,"clearQueueScrollLocks",(function(){return T})),n.d(t,"getTargetScrollBarWidth",(function(){return w})),n.d(t,"getCurrentTargetScrollBarWidth",(function(){return k})),n.d(t,"getPageScrollBarWidth",(function(){return C})),n.d(t,"getCurrentPageScrollBarWidth",(function(){return S})),n.d(t,"addScrollableTarget",(function(){return x})),n.d(t,"removeScrollableTarget",(function(){return A})),n.d(t,"addScrollableSelector",(function(){return O})),n.d(t,"removeScrollableSelector",(function(){return N})),n.d(t,"addLockableTarget",(function(){return I})),n.d(t,"addLockableSelector",(function(){return R})),n.d(t,"setFillGapMethod",(function(){return M})),n.d(t,"addFillGapTarget",(function(){return L})),n.d(t,"removeFillGapTarget",(function(){return $})),n.d(t,"addFillGapSelector",(function(){return P})),n.d(t,"removeFillGapSelector",(function(){return D})),n.d(t,"refillGaps",(function(){return B}));var b=["padding","margin","width","max-width","none"],v={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:b[0],startTouchY:0,startTouchX:0},y=function(e){v.queue<=0&&(v.scroll=!1,F(),K()),x(e),v.queue++},E=function(e){v.queue>0&&v.queue--,v.queue<=0&&(v.scroll=!0,H(),W()),A(e)},_=function(){return v.scroll},T=function(){v.queue=0},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n=e.style.overflowY;t?_()||(e.style.overflowY=e.getAttribute("data-scroll-lock-saved-overflow-y-property")):e.style.overflowY="scroll";var r=k(e);return e.style.overflowY=n,r}return 0},k=function(e){if(o(e)){if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var n=e.style.borderLeftWidth,r=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var i=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=n,e.style.borderRightWidth=r,i}return 0},C=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w(document.body,e)},S=function(){return k(document.body)},x=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?e.setAttribute("data-scroll-lock-scrollable",""):a('"'.concat(e,'" is not a Element.'))}))}))},A=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?e.removeAttribute("data-scroll-lock-scrollable"):a('"'.concat(e,'" is not a Element.'))}))}))},O=function(e){e&&r(e).map((function(e){v.scrollableSelectors.push(e)}))},N=function(e){e&&r(e).map((function(e){v.scrollableSelectors=v.scrollableSelectors.filter((function(t){return t!==e}))}))},I=function(e){e&&(r(e).map((function(e){i(e,(function(e){o(e)?e.setAttribute("data-scroll-lock-lockable",""):a('"'.concat(e,'" is not a Element.'))}))})),_()||F())},R=function(e){e&&(r(e).map((function(e){v.lockableSelectors.push(e)})),_()||F(),P(e))},M=function(e){if(e)if(-1!==b.indexOf(e))v.fillGapMethod=e,B();else{var t=b.join(", ");a('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},L=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?(e.setAttribute("data-scroll-lock-fill-gap",""),v.scroll||V(e)):a('"'.concat(e,'" is not a Element.'))}))}))},$=function(e){e&&r(e).map((function(e){i(e,(function(e){o(e)?(e.removeAttribute("data-scroll-lock-fill-gap"),v.scroll||X(e)):a('"'.concat(e,'" is not a Element.'))}))}))},P=function(e){e&&r(e).map((function(e){-1===v.fillGapSelectors.indexOf(e)&&(v.fillGapSelectors.push(e),v.scroll||q(e))}))},D=function(e){e&&r(e).map((function(e){v.fillGapSelectors=v.fillGapSelectors.filter((function(t){return t!==e})),v.scroll||Y(e)}))},B=function(){v.scroll||K()},F=function(){var e=l(v.lockableSelectors);z(e)},H=function(){var e=l(v.lockableSelectors);j(e)},z=function(e){var t=document.querySelectorAll(e);i(t,(function(e){U(e)}))},j=function(e){var t=document.querySelectorAll(e);i(t,(function(e){G(e)}))},U=function(e){if(o(e)&&"true"!==e.getAttribute("data-scroll-lock-locked")){var t=window.getComputedStyle(e);e.setAttribute("data-scroll-lock-saved-overflow-y-property",t.overflowY),e.setAttribute("data-scroll-lock-saved-inline-overflow-property",e.style.overflow),e.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",e.style.overflowY),e.style.overflow="hidden",e.setAttribute("data-scroll-lock-locked","true")}},G=function(e){o(e)&&"true"===e.getAttribute("data-scroll-lock-locked")&&(e.style.overflow=e.getAttribute("data-scroll-lock-saved-inline-overflow-property"),e.style.overflowY=e.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-saved-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-locked"))},K=function(){v.fillGapSelectors.map((function(e){q(e)}))},W=function(){v.fillGapSelectors.map((function(e){Y(e)}))},q=function(e){var t=document.querySelectorAll(e),n=-1!==v.lockableSelectors.indexOf(e);i(t,(function(e){V(e,n)}))},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n;if(""===e.getAttribute("data-scroll-lock-lockable")||t)n=w(e,!0);else{var r=c(e,l(v.lockableSelectors));n=w(r,!0)}"true"===e.getAttribute("data-scroll-lock-filled-gap")&&X(e);var i=window.getComputedStyle(e);if(e.setAttribute("data-scroll-lock-filled-gap","true"),e.setAttribute("data-scroll-lock-current-fill-gap-method",v.fillGapMethod),"margin"===v.fillGapMethod){var a=parseFloat(i.marginRight);e.style.marginRight="".concat(a+n,"px")}else if("width"===v.fillGapMethod)e.style.width="calc(100% - ".concat(n,"px)");else if("max-width"===v.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(n,"px)");else if("padding"===v.fillGapMethod){var s=parseFloat(i.paddingRight);e.style.paddingRight="".concat(s+n,"px")}}},Y=function(e){var t=document.querySelectorAll(e);i(t,(function(e){X(e)}))},X=function(e){if(o(e)&&"true"===e.getAttribute("data-scroll-lock-filled-gap")){var t=e.getAttribute("data-scroll-lock-current-fill-gap-method");e.removeAttribute("data-scroll-lock-filled-gap"),e.removeAttribute("data-scroll-lock-current-fill-gap-method"),"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};"undefined"!=typeof window&&window.addEventListener("resize",(function(e){B()})),"undefined"!=typeof document&&(document.addEventListener("touchstart",(function(e){v.scroll||(v.startTouchY=e.touches[0].clientY,v.startTouchX=e.touches[0].clientX)})),document.addEventListener("touchmove",(function(e){if(!v.scroll){var t=v.startTouchY,n=v.startTouchX,r=e.touches[0].clientY,o=e.touches[0].clientX;if(e.touches.length<2){var i=l(v.scrollableSelectors),a={up:t<r,down:t>r,left:n<o,right:n>o},s={up:t+3<r,down:t-3>r,left:n+3<o,right:n-3>o};!function t(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n){var o=c(n,i,!1);if(function(e){return u(e,'input[type="range"]')}(n))return!1;if(r||function(e){return u(e,'textarea, [contenteditable="true"]')}(n)&&c(n,i)||u(n,i)){var l=!1;f(n)&&g(n)?(a.up&&p(n)||a.down&&h(n))&&(l=!0):p(n)&&h(n)?(a.left&&f(n)||a.right&&g(n))&&(l=!0):(s.up&&p(n)||s.down&&h(n)||s.left&&f(n)||s.right&&g(n))&&(l=!0),l&&(o?t(o,!0):e.cancelable&&e.preventDefault())}else t(o)}else e.cancelable&&e.preventDefault()}(e.target)}}}),{passive:!1}),document.addEventListener("touchend",(function(e){v.scroll||(v.startTouchY=0,v.startTouchX=0)})));var Z={hide:function(e){a('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),y(e)},show:function(e){a('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),E(e)},toggle:function(e){a('"toggle" is deprecated! Do not use it.'),_()?y():E(e)},getState:function(){return a('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),_()},getWidth:function(){return a('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),C()},getCurrentWidth:function(){return a('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),S()},setScrollableTargets:function(e){a('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),x(e)},setFillGapSelectors:function(e){a('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),P(e)},setFillGapTargets:function(e){a('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),L(e)},clearQueue:function(){a('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),T()}},Q=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){m(e,t,n[t])}))}return e}({disablePageScroll:y,enablePageScroll:E,getScrollState:_,clearQueueScrollLocks:T,getTargetScrollBarWidth:w,getCurrentTargetScrollBarWidth:k,getPageScrollBarWidth:C,getCurrentPageScrollBarWidth:S,addScrollableSelector:O,removeScrollableSelector:N,addScrollableTarget:x,removeScrollableTarget:A,addLockableSelector:R,addLockableTarget:I,addFillGapSelector:P,removeFillGapSelector:D,addFillGapTarget:L,removeFillGapTarget:$,setFillGapMethod:M,refillGaps:B,_state:v},Z);t.default=Q}]).default}))}(Lr);var $r=Lr.exports;function Pr(e){return e.split("-")[0]}function Dr(e){return e.split("-")[1]}function Br(e){return["top","bottom"].includes(Pr(e))?"x":"y"}function Fr(e){return"y"===e?"height":"width"}function Hr(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,l=Br(t),s=Fr(l),c=r[s]/2-o[s]/2,u="x"===l;let d;switch(Pr(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(Dr(t)){case"start":d[l]-=c*(n&&u?-1:1);break;case"end":d[l]+=c*(n&&u?-1:1)}return d}function zr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function jr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ur(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,f=zr(h),g=l[p?"floating"===d?"reference":"floating":d],m=jr(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),b=jr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),strategy:s}):a[d]);return{top:m.top-b.top+f.top,bottom:b.bottom-m.bottom+f.bottom,left:m.left-b.left+f.left,right:b.right-m.right+f.right}}const Gr=Math.min,Kr=Math.max;function Wr(e,t,n){return Kr(e,Gr(t,n))}const qr=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:a,rects:l,platform:s}=t;if(null==n)return{};const c=zr(r),u={x:o,y:i},d=Br(a),p=Fr(d),h=await s.getDimensions(n),f="y"===d?"top":"left",g="y"===d?"bottom":"right",m=l.reference[p]+l.reference[d]-u[d]-l.floating[p],b=u[d]-l.reference[d],v=await(null==s.getOffsetParent?void 0:s.getOffsetParent(n)),y=v?"y"===d?v.clientHeight||0:v.clientWidth||0:0,E=m/2-b/2,_=c[f],T=y-h[p]-c[g],w=y/2-h[p]/2+E,k=Wr(_,w,T);return{data:{[d]:k,centerOffset:w-k}}}}),Vr={left:"right",right:"left",bottom:"top",top:"bottom"};function Yr(e){return e.replace(/left|right|bottom|top/g,(e=>Vr[e]))}function Xr(e,t,n){void 0===n&&(n=!1);const r=Dr(e),o=Br(e),i=Fr(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Yr(a)),{main:a,cross:Yr(a)}}const Zr={start:"end",end:"start"};function Qr(e){return e.replace(/start|end/g,(e=>Zr[e]))}const Jr=["top","right","bottom","left"];Jr.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const eo=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:s}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...f}=e,g=Pr(r),m=d||(g!==a&&h?function(e){const t=Yr(e);return[Qr(e),t,Qr(t)]}(a):[Yr(a)]),b=[a,...m],v=await Ur(t,f),y=[];let E=(null==(n=o.flip)?void 0:n.overflows)||[];if(c&&y.push(v[g]),u){const{main:e,cross:t}=Xr(r,i,await(null==l.isRTL?void 0:l.isRTL(s.floating)));y.push(v[e],v[t])}if(E=[...E,{placement:r,overflows:y}],!y.every((e=>e<=0))){var _,T;const e=(null!=(_=null==(T=o.flip)?void 0:T.index)?_:0)+1,t=b[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n="bottom";switch(p){case"bestFit":{var w;const e=null==(w=E.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:w[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function to(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function no(e){return Jr.some((t=>e[t]>=0))}const ro=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=to(await Ur(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:no(t)}}}case"escaped":{const t=to(await Ur(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:no(t)}}}default:return{}}}}},oo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l}=t,s=function(e,t,n,r){void 0===r&&(r=!1);const o=Pr(e),i=Dr(e),a="x"===Br(e),l=["left","top"].includes(o)?-1:1,s=r&&a?-1:1,c="function"==typeof n?n({...t,placement:e}):n;let{mainAxis:u,crossAxis:d,alignmentAxis:p}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return i&&"number"==typeof p&&(d="end"===i?-1*p:p),a?{x:d*s,y:u*l}:{x:u*l,y:d*s}}(o,i,e,await(null==a.isRTL?void 0:a.isRTL(l.floating)));return{x:n+s.x,y:r+s.y,data:s}}}},io=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=e,c={x:n,y:r},u=await Ur(t,s),d=Br(Pr(o)),p=function(e){return"x"===e?"y":"x"}(d);let h=c[d],f=c[p];if(i){const e="y"===d?"bottom":"right";h=Wr(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===p?"bottom":"right";f=Wr(f+u["y"===p?"top":"left"],f,f-u[e])}const g=l.fn({...t,[d]:h,[p]:f});return{...g,data:{x:g.x-n,y:g.y-r}}}}},ao=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...l}=e,s=await Ur(t,l),c=Pr(n),u=Dr(n);let d,p;"top"===c||"bottom"===c?(d=c,p=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=c,d="end"===u?"top":"bottom");const h=Kr(s.left,0),f=Kr(s.right,0),g=Kr(s.top,0),m=Kr(s.bottom,0),b={height:r.floating.height-(["left","right"].includes(n)?2*(0!==g||0!==m?g+m:Kr(s.top,s.bottom)):s[d]),width:r.floating.width-(["top","bottom"].includes(n)?2*(0!==h||0!==f?h+f:Kr(s.left,s.right)):s[p])},v=await o.getDimensions(i.floating);null==a||a({...b,...r});const y=await o.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},lo=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:o,rects:i,platform:a,strategy:l}=t,{padding:s=2,x:c,y:u}=e,d=jr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==a.getOffsetParent?void 0:a.getOffsetParent(o.floating)),strategy:l}):i.reference),p=null!=(n=await(null==a.getClientRects?void 0:a.getClientRects(o.reference)))?n:[],h=zr(s),f=await a.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===p.length&&p[0].left>p[1].right&&null!=c&&null!=u)return null!=(e=p.find((e=>c>e.left-h.left&&c<e.right+h.right&&u>e.top-h.top&&u<e.bottom+h.bottom)))?e:d;if(p.length>=2){if("x"===Br(r)){const e=p[0],t=p[p.length-1],n="top"===Pr(r),o=e.top,i=t.bottom,a=n?e.left:t.left,l=n?e.right:t.right;return{top:o,bottom:i,left:a,right:l,width:l-a,height:i-o,x:a,y:o}}const e="left"===Pr(r),t=Kr(...p.map((e=>e.right))),n=Gr(...p.map((e=>e.left))),o=p.filter((r=>e?r.left===n:r.right===t)),i=o[0].top,a=o[o.length-1].bottom;return{top:i,bottom:a,left:n,right:t,width:t-n,height:a-i,x:n,y:i}}return d}},floating:o.floating,strategy:l});return i.reference.x!==f.reference.x||i.reference.y!==f.reference.y||i.reference.width!==f.reference.width||i.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}};function so(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function co(e){if(null==e)return window;if(!so(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function uo(e){return co(e).getComputedStyle(e)}function po(e){return so(e)?"":e?(e.nodeName||"").toLowerCase():""}function ho(e){return e instanceof co(e).HTMLElement}function fo(e){return e instanceof co(e).Element}function go(e){return e instanceof co(e).ShadowRoot||e instanceof ShadowRoot}function mo(e){const{overflow:t,overflowX:n,overflowY:r}=uo(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function bo(e){return["table","td","th"].includes(po(e))}function vo(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=uo(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function yo(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const Eo=Math.min,_o=Math.max,To=Math.round;function wo(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let s=1,c=1;t&&ho(e)&&(s=e.offsetWidth>0&&To(l.width)/e.offsetWidth||1,c=e.offsetHeight>0&&To(l.height)/e.offsetHeight||1);const u=fo(e)?co(e):window,d=!yo()&&n,p=(l.left+(d&&null!=(r=null==(o=u.visualViewport)?void 0:o.offsetLeft)?r:0))/s,h=(l.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,f=l.width/s,g=l.height/c;return{width:f,height:g,top:h,right:p+f,bottom:h+g,left:p,x:p,y:h}}function ko(e){return(t=e,(t instanceof co(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Co(e){return fo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function So(e){return wo(ko(e)).left+Co(e).scrollLeft}function xo(e,t,n){const r=ho(t),o=ko(t),i=wo(e,r&&function(e){const t=wo(e);return To(t.width)!==e.offsetWidth||To(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==po(t)||mo(o))&&(a=Co(t)),ho(t)){const e=wo(t,!0);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=So(o));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Ao(e){return"html"===po(e)?e:e.assignedSlot||e.parentNode||(go(e)?e.host:null)||ko(e)}function Oo(e){return ho(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function No(e){const t=co(e);let n=Oo(e);for(;n&&bo(n)&&"static"===getComputedStyle(n).position;)n=Oo(n);return n&&("html"===po(n)||"body"===po(n)&&"static"===getComputedStyle(n).position&&!vo(n))?t:n||function(e){let t=Ao(e);for(go(t)&&(t=t.host);ho(t)&&!["html","body"].includes(po(t));){if(vo(t))return t;t=t.parentNode}return null}(e)||t}function Io(e){if(ho(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=wo(e);return{width:t.width,height:t.height}}function Ro(e){const t=Ao(e);return["html","body","#document"].includes(po(t))?e.ownerDocument.body:ho(t)&&mo(t)?t:Ro(t)}function Mo(e,t){var n;void 0===t&&(t=[]);const r=Ro(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=co(r),a=o?[i].concat(i.visualViewport||[],mo(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Mo(a))}function Lo(e,t,n){return"viewport"===t?jr(function(e,t){const n=co(e),r=ko(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const e=yo();(e||!e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n)):fo(t)?function(e,t){const n=wo(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):jr(function(e){var t;const n=ko(e),r=Co(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=_o(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=_o(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let l=-r.scrollLeft+So(e);const s=-r.scrollTop;return"rtl"===uo(o||n).direction&&(l+=_o(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(ko(e)))}function $o(e){const t=Mo(e),n=["absolute","fixed"].includes(uo(e).position)&&ho(e)?No(e):e;return fo(n)?t.filter((e=>fo(e)&&function(e,t){const n=null==t||null==t.getRootNode?void 0:t.getRootNode();if(null!=e&&e.contains(t))return!0;if(n&&go(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==po(e))):[]}const Po={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?$o(t):[].concat(n),r],a=i[0],l=i.reduce(((e,n)=>{const r=Lo(t,n,o);return e.top=_o(r.top,e.top),e.right=Eo(r.right,e.right),e.bottom=Eo(r.bottom,e.bottom),e.left=_o(r.left,e.left),e}),Lo(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ho(n),i=ko(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==po(n)||mo(i))&&(a=Co(n)),ho(n))){const e=wo(n,!0);l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+l.x,y:t.y-a.scrollTop+l.y}},isElement:fo,getDimensions:Io,getOffsetParent:No,getDocumentElement:ko,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:xo(t,No(n),r),floating:{...Io(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===uo(e).direction};function Do(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=r;let s=!1;const c=o&&!l,u=i&&!l,d=a&&!l,p=c||u?[...fo(e)?Mo(e):[],...Mo(t)]:[];p.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let h,f=null;d&&(f=new ResizeObserver(n),fo(e)&&f.observe(e),f.observe(t));let g=l?wo(e):null;return l&&function t(){if(s)return;const r=wo(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n(),g=r,h=requestAnimationFrame(t)}(),()=>{var e;s=!0,p.forEach((e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const Bo=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=Hr(s,r,l),d=r,p={};for(let h=0;h<i.length;h++){const{name:n,fn:f}=i[h],{x:g,y:m,data:b,reset:v}=await f({x:c,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,u=null!=m?m:u,p={...p,[n]:{...p[n],...b}},v&&("object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:c,y:u}=Hr(s,d,l))),h=-1)}return{x:c,y:u,placement:d,strategy:o,middlewareData:p}})(e,t,{platform:Po,...n});var Fo=Object.defineProperty,Ho=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,jo=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Ko=(e,t,n)=>t in e?Fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wo=(e,t)=>{for(var n in t||(t={}))Uo.call(t,n)&&Ko(e,n,t[n]);if(jo)for(var n of jo(t))Go.call(t,n)&&Ko(e,n,t[n]);return e},qo=(e,t)=>Ho(e,zo(t));function Vo(e){return Array.isArray(e)}function Yo(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Vo(e)}function Xo(e){return"function"==typeof e}function Zo(e){return null==e}function Qo(e,t){return e&&(Xo(e)?e(t):e[0](e[1],t)),null==t?void 0:t.defaultPrevented}function Jo(...e){return function(t){e.some((e=>Qo(e,t)))}}const ei=()=>"undefined"!=typeof Storage,ti="hope-ui-color-mode",ni="hope-ui-light",ri="hope-ui-dark";function oi(e){const t=function(){if(!ei())return null;try{return localStorage.getItem(ti)}catch(e){return null}}();return t||("system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function ii(e){const t=document.body;t.classList.add(function(e){return e?ri:ni}(e)),t.classList.remove(e?ni:ri)}const ai={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"},li=qo(Wo({},ai),{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"}),si={sm:`(min-width: ${li.containerSm})`,md:`(min-width: ${li.containerMd})`,lg:`(min-width: ${li.containerLg})`,xl:`(min-width: ${li.containerXl})`,"2xl":`(min-width: ${li.container2xl})`,"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function ci(...e){return e.map((e=>`[role=group]${e} &, [data-group]${e} &, .group${e} &`)).join(", ")}function ui(...e){return e.map((e=>`[data-peer]${e} ~ &, .peer${e} ~ &`)).join(", ")}const di={_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=>({[ci(":hover","[data-hover]")]:e}),_peerHover:e=>({[ui(":hover","[data-hover]")]:e}),_groupFocus:e=>({[ci(":focus","[data-focus]")]:e}),_peerFocus:e=>({[ui(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[ci(":focus-visible")]:e}),_peerFocusVisible:e=>({[ui(":focus-visible")]:e}),_groupActive:e=>({[ci(":active","[data-active]")]:e}),_peerActive:e=>({[ui(":active","[data-active]")]:e}),_groupSelected:e=>({[ci("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[ui("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[ci(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[ui(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[ci(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[ui(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[ci(":checked","[data-checked]")]:e}),_peerChecked:e=>({[ui(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[ci(":focus-within")]:e}),_peerFocusWithin:e=>({[ui(":focus-within")]:e}),_peerPlaceholderShown:e=>({[ui(":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})},pi=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})}),{borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})}),{d:e=>({display:e})}),{pos:e=>({position:e})}),di),{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})}),{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}})}),{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})}),{shadow:e=>({boxShadow:e})}),{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})}),{noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})}),hi=Wo(Wo({},{blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"}),{whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"}),fi=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"}),{accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"}),{neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"}),{success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"}),{info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"}),{warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"}),{danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"}),{loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"}),gi=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"}),{accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"}),{neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"}),{success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"}),{info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"}),{warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"}),{danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"}),{loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"}),mi={colors:Wo(Wo({},hi),fi),space:ai,sizes:li,fonts:{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'},fontSizes:{"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"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{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"},radii:{none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},shadows:{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"},zIndices:{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}},bi={colors:gi,shadows:{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"}},{theme:vi,css:yi,globalCss:Ei,config:_i,createTheme:Ti,getCssText:wi,keyframes:ki}=(e=>{let t=!1;const n=Xn(e,(e=>{t=!0;const n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},o="object"==typeof e.root?e.root||null:globalThis.document||null,i="object"==typeof e.theme&&e.theme||{},a={prefix:n,media:r,theme:i,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...ln},utils:"object"==typeof e.utils&&e.utils||{}},l=Mn(o),s={css:Dn(a,l),globalCss:Gn(a,l),keyframes:Wn(a,l),createTheme:Yn(a,l),reset(){l.reset(),s.theme.toString()},theme:{},sheet:l,config:a,prefix:n,getCssText:l.toString,toString:l.toString};return String(s.theme=s.createTheme(i)),s}));return t||n.reset(),n})({prefix:"hope",themeMap:qo(Wo({},ln),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:mi,media:si,utils:pi}),Ci={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},Si=Ei({[`.${Ci.fade}-enter, .${Ci.fade}-exit-to`]:{opacity:0},[`.${Ci.fade}-enter-to, .${Ci.fade}-exit`]:{opacity:1},[`.${Ci.fade}-enter-active`]:{transition:"opacity 300ms ease-out"},[`.${Ci.fade}-exit-active`]:{transition:"opacity 200ms ease-in"},[`.${Ci.fadeInBottom}-enter, .${Ci.fadeInBottom}-exit-to`]:{opacity:0,transform:"translateY(16px)"},[`.${Ci.fadeInBottom}-enter-to, .${Ci.fadeInBottom}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Ci.fadeInBottom}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Ci.fadeInBottom}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[`.${Ci.scale}-enter, .${Ci.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Ci.scale}-enter-to, .${Ci.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Ci.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Ci.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),xi=yi({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),Ai=yi({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"}}),Oi=yi(Ai,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),Ni=yi({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),Ii=yi(Ni,{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"}}}}),Ri=yi({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),Mi=yi({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),Li=yi({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),$i=yi({position:"absolute",top:"$4",insetInlineEnd:"$4"}),Pi={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"},Di=Ei({[`.${Pi.fade}-enter, .${Pi.fade}-exit-to`]:{opacity:0},[`.${Pi.fade}-enter-to, .${Pi.fade}-exit`]:{opacity:1},[`.${Pi.fade}-enter-active, .${Pi.fade}-exit-active`]:{transition:"opacity 500ms ease-in-out"},[`.${Pi.slideInTop}-enter-active, .${Pi.slideInTop}-exit-active,\n .${Pi.slideInRight}-enter-active, .${Pi.slideInRight}-exit-active,\n .${Pi.slideInBottom}-enter-active, .${Pi.slideInBottom}-exit-active,\n .${Pi.slideInLeft}-enter-active, .${Pi.slideInLeft}-exit-active`]:{transition:"transform 500ms ease-in-out"},[`.${Pi.slideInTop}-enter, .${Pi.slideInTop}-exit-to`]:{transform:"translateY(-100%)"},[`.${Pi.slideInTop}-enter-to, .${Pi.slideInTop}-exit`]:{transform:"translateY(0)"},[`.${Pi.slideInRight}-enter, .${Pi.slideInRight}-exit-to`]:{transform:"translateX(100%)"},[`.${Pi.slideInRight}-enter-to, .${Pi.slideInRight}-exit`]:{transform:"translateX(0)"},[`.${Pi.slideInBottom}-enter, .${Pi.slideInBottom}-exit-to`]:{transform:"translateY(100%)"},[`.${Pi.slideInBottom}-enter-to, .${Pi.slideInBottom}-exit`]:{transform:"translateY(0)"},[`.${Pi.slideInLeft}-enter, .${Pi.slideInLeft}-exit-to`]:{transform:"translateX(-100%)"},[`.${Pi.slideInLeft}-enter-to, .${Pi.slideInLeft}-exit`]:{transform:"translateX(0)"}}),Bi=yi(Ai,{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"}}}}),Fi=yi(Ni,{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"}}]}),Hi={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 zi(e,t){return{[`.${e}-enter, .${e}-exit-to`]:{opacity:0,transform:"scale(0.8)"},[`.${e}-enter-to, .${e}-exit`]:{opacity:1,transform:"scale(1)"},[`.${e}-enter-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${e}-exit-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const ji=Ei(Wo(Wo(Wo(Wo({},zi(Hi.scaleTopLeft,"top left")),zi(Hi.scaleTopRight,"top right")),zi(Hi.scaleBottomLeft,"bottom left")),zi(Hi.scaleBottomRight,"bottom right"))),Ui=yi({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),Gi=yi({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"}});function Ki(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}yi({}),yi({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});const Wi=yi({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:Ki({color:"$primary11",bgColorActive:"$primary3"}),accent:Ki({color:"$accent11",bgColorActive:"$accent3"}),neutral:Ki({color:"$neutral12",bgColorActive:"$neutral4"}),success:Ki({color:"$success11",bgColorActive:"$success3"}),info:Ki({color:"$info11",bgColorActive:"$info3"}),warning:Ki({color:"$warning11",bgColorActive:"$warning3"}),danger:Ki({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),qi=yi({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),Vi=yi({flexGrow:1}),Yi=yi({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),Xi=ki({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});ki({from:{opacity:0},to:{opacity:1}});const Zi="hope-notification-slide-in-top-transition",Qi="hope-notification-slide-in-right-transition",Ji="hope-notification-slide-in-bottom-transition",ea="hope-notification-slide-in-left-transition";function ta(e){return{[`.${e.name}-enter, .${e.name}-exit-to`]:{opacity:0,transform:e.enterTransform},[`.${e.name}-enter-to, .${e.name}-exit`]:{opacity:1,transform:e.leaveTransform},[`.${e.name}-enter-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[`.${e.name}-exit-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const na=Ei(Wo(Wo(Wo(Wo({},ta({name:Zi,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),ta({name:Qi,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),ta({name:Ji,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),ta({name:ea,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),ra=yi({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"}}),oa=yi({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:{}}}}),ia=yi({animation:`1s linear infinite ${Xi}`}),aa=yi({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),la=yi({fontWeight:"$medium"}),sa=yi({display:"inline-block",color:"$neutral11"}),ca={scale:"hope-popover-scale-transition"},ua=Ei({[`.${ca.scale}-enter, .${ca.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${ca.scale}-enter-to, .${ca.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${ca.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[`.${ca.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),da=yi({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"}}),pa=yi({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),ha=yi({flex:1,px:"$3",py:"$2"});yi({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"}),yi({position:"absolute",top:"$2",insetInlineEnd:"$2"});const fa=yi({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 ga(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const ma={xs:ga({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:ga({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:ga({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:ga({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},ba={"&: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"}},va=yi({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:Wo({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},ba),filled:Wo({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},ba),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:Wo({},ma)}});function ya(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 Ea=yi(va,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...ya({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...ya({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...ya({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...ya({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...ya({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...ya({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...ya({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...ya({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...ya({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...ya({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...ya({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...ya({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});function _a(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}yi({position:"relative",display:"flex",width:"100%"}),yi({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:qo(Wo({},ma.xs),{width:ma.xs.minHeight}),sm:qo(Wo({},ma.sm),{width:ma.sm.minHeight}),md:qo(Wo({},ma.md),{width:ma.md.minHeight}),lg:qo(Wo({},ma.lg),{width:ma.lg.minHeight})}}}),yi({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:Wo({},ma)},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"}},_a({variant:"outline",size:"xs",paddingX:"$2"}),_a({variant:"outline",size:"sm",paddingX:"$2_5"}),_a({variant:"outline",size:"md",paddingX:"$3"}),_a({variant:"outline",size:"lg",paddingX:"$4"}),_a({variant:"filled",size:"xs",paddingX:"$2"}),_a({variant:"filled",size:"sm",paddingX:"$2_5"}),_a({variant:"filled",size:"md",paddingX:"$3"}),_a({variant:"filled",size:"lg",paddingX:"$4"}),_a({variant:"unstyled",size:"xs",paddingX:0}),_a({variant:"unstyled",size:"sm",paddingX:0}),_a({variant:"unstyled",size:"md",paddingX:0}),_a({variant:"unstyled",size:"lg",paddingX:0})]});const Ta={fadeInTop:"hope-select-fade-in-top-transition"},wa=Ei({[`.${Ta.fadeInTop}-enter, .${Ta.fadeInTop}-exit-to`]:{opacity:0,transform:"translateY(-16px)"},[`.${Ta.fadeInTop}-enter-to, .${Ta.fadeInTop}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Ta.fadeInTop}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${Ta.fadeInTop}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function ka(e,t,n){return Object.entries({xs:{start:null!=t?t:"$2",end:null!=n?n:"$1"},sm:{start:null!=t?t:"$2_5",end:null!=n?n:"$1_5"},md:{start:null!=t?t:"$3",end:null!=n?n:"$2"},lg:{start:null!=t?t:"$4",end:null!=n?n:"$3"}}).map((([t,n])=>({variant:e,size:t,css:{paddingInlineStart:n.start,paddingInlineEnd:n.end}})))}const Ca=yi(va,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...ka("outline"),...ka("filled"),...ka("unstyled",0,0)]}),Sa=yi({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),xa=yi({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"}}}}),Aa=yi({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"}}}}),Oa=yi({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"}}),Na=yi(Sa,{color:"$neutral9",opacity:1}),Ia=yi({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),Ra=yi({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}),Ma=yi({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});yi({}),yi({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const La=yi({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"}}),$a=yi({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),Pa=yi({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),Da={scale:"hope-tooltip-scale-transition"},Ba=Ei({[`.${Da.scale}-enter, .${Da.scale}-exit-to`]:{opacity:0,transform:"scale(0.90)"},[`.${Da.scale}-enter-to, .${Da.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Da.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[`.${Da.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),Fa=yi({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),Ha=yi({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),za=Ei({"*, ::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 ja(e,t,n){Object.entries(e).forEach((([e,r])=>{if(Yo(r))if(e in n){const t=e;n[t]=Wo(Wo({},n[t]),r)}else t[e]=Wo(Wo({},t[e]),r);else t[e]=r}))}function Ua(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return null==t||t.forEach((e=>e&&ja(e,n,r))),Object.entries(e).forEach((([e,t])=>{null!=t&&"css"!==e&&(e.startsWith("_")?n[e]=t:Yo(t)?Object.keys(t).forEach((o=>{if("@initial"===o)n[e]=t[o];else if(o in r){const n=o;r[n]=qo(Wo({},r[n]),{[e]:t[n]})}})):n[e]=t)})),e.css&&ja(e.css,n,r),Wo(Wo({},n),r)}function Ga(e,t){const n="dark"===e,r=n?ri:ni,o=n?er({},bi,t):t,i=Ti(r,o);return er({},vi,i)}function Ka(e,t){return Yo(e)?Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}):null!=e?t(e):null}const Wa=yi({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),qa=H();function Va(e){var t,n,r,o,i,a,l,s;const c=Ga("light",null!=(n=null==(t=(e=me({enableCssReset:!0},e)).config)?void 0:t.lightTheme)?n:{}),u=Ga("dark",null!=(o=null==(r=e.config)?void 0:r.darkTheme)?o:{}),d=oi(null!=(a=null==(i=e.config)?void 0:i.initialColorMode)?a:"light"),p="dark"===d?u:c,[h,f]=w(d),[g,m]=w(p),b=()=>"dark"===h(),v=e=>{f(e),function(e){if(ei())try{localStorage.setItem(ti,e)}catch(t){}}(e)},y={components:null!=(s=null==(l=e.config)?void 0:l.components)?s:{},theme:g,colorMode:h,setColorMode:v,toggleColorMode:()=>{v(b()?"light":"dark")}};return S((()=>{m(b()?u:c),ii(b())})),e.enableCssReset&&za(),Di(),ji(),Si(),na(),ua(),wa(),Ba(),de(qa.Provider,{value:y,get children(){return e.children}})}function Ya(){const e=z(qa);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function Xa(){const e=z(qa);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 Za(e,t){const{colorMode:n}=Xa();return()=>"dark"===n()?t:e}function Qa(e){return`.${e}`}function Ja(...e){return e.filter(Boolean).join(" ")}const el=Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo(Wo({},{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}),{color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0}),{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}),{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}),{appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0}),{display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0}),{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}),{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}),{position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0}),{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}),{textShadow:!0,boxShadow:!0,shadow:!0}),{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}),{transform:!0,transformOrigin:!0,clipPath:!0}),{transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0}),{fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0}),{_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}),{css:!0}),tl=yi({}),nl=(e,t)=>{const n=n=>{const r=function(e){return Object.keys(e).filter((e=>e in el))}(n),o=me({as:e},n),[i,a,l]=be(o,["as","class","className","__baseStyle"],r),s=x((()=>[Xo(null==t?void 0:t.baseStyle)?null==t?void 0:t.baseStyle(n):null==t?void 0:t.baseStyle,i.__baseStyle])),c=()=>Ja(null==t?void 0:t.baseClass,i.class,i.className,function(e,t){return tl({css:Ua(e,t)})}(a,s()));return de(at,me({get component(){var e;return null!=(e=i.as)?e:"div"},get class(){return c()}},l))};return n.toString=()=>(null==t?void 0:t.baseClass)?Qa(t.baseClass):"",n},rl=e("cD",function(){const e=new Map;return new Proxy(nl,{apply:(e,t,n)=>nl(...n),get:(t,n)=>(e.has(n)||e.set(n,nl(n)),e.get(n))})}()),ol=e("ag",rl.div);function il(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function al(e){var t;return il(e)&&null!=(t=e.ownerDocument)?t:document}function ll(e,t){const n=e.target;return!(e.button>0)&&(!(n&&!al(n).body.contains(n))&&!(null==t?void 0:t.contains(n)))}function sl(e,t){return!!e&&(e===t||e.contains(t))}function cl(e){var t,n;const r=function(e){const t=al(e);return null==t?void 0:t.activeElement}(null!=(t=e.target)?t:e.currentTarget);return null!=(n=e.relatedTarget)?n:r}function ul(e){return e&&e.clientHeight<e.scrollHeight}function dl(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:o,scrollTop:i}=t,a=r+n>i+o;r<i?t.scrollTo(0,r):a&&t.scrollTo(0,r-o+n)}function pl(e){const t=Object.getOwnPropertyDescriptor(e,"children");return null!=t&&Xo(t.value)}yi({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}}),yi({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"}}),yi({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}}),yi({pt:"$2",px:"$4",pb:"$4"});const hl=yi({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),fl=Fe('<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),gl={viewBox:"0 0 24 24",path:()=>fl.cloneNode(!0)},ml="hope-icon";function bl(e){const t=me({viewBox:gl.viewBox},e),[n,r]=be(t,["as","class","children","viewBox"]),o=()=>Ja(n.class,ml,hl()),i=()=>{return n.as&&(e=n.as,!("[object String]"===Object.prototype.toString.call(e)));var e};return de(we,{get when(){return i()},get fallback(){return de(rl.svg,me({get class(){return o()},get viewBox(){return n.viewBox}},r,{get children(){return de(we,{get when(){return n.children},get fallback(){return gl.path},get children(){return n.children}})}}))},get children(){return de(ol,me({get as(){return n.as},get class(){return o()}},r))}})}function vl(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=r=>de(bl,me({viewBox:t},n,r,{get children(){return e.path}}));return r.toString=()=>Qa(ml),r}bl.toString=()=>Qa(ml);const yl=Fe('<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);vl({viewBox:"0 0 15 15",path:()=>yl.cloneNode(!0)}),yi({overflow:"hidden"});const El=yi({flexShrink:0}),_l=yi({fontWeight:"$semibold"}),Tl=yi({display:"inline-block"}),wl=yi({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",[`& .${El}`]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",[`& .${El}`]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",[`& .${El}`]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",[`& .${El}`]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${El}`]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${El}`]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${El}`]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${El}`]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${El}`]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${El}`]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${El}`]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${El}`]:{color:"$danger9"}}}]}),kl="hope-alert";function Cl(e){var t,n,r,o,i,a;const l=Ya().Alert,s=me({variant:null!=(r=null==(n=null==(t=null==l?void 0:l.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"subtle",status:null!=(a=null==(i=null==(o=null==l?void 0:l.defaultProps)?void 0:o.root)?void 0:i.status)?a:"info"},e),[c,u]=be(s,["class","variant","status"]),d={status:()=>c.status};return de(Sl.Provider,{value:d,get children(){return de(ol,me({role:"alert",get class(){return Ja(c.class,kl,wl({variant:c.variant,status:c.status}))},get __baseStyle(){var e;return null==(e=null==l?void 0:l.baseStyle)?void 0:e.root}},u))}})}Cl.toString=()=>Qa(kl);const Sl=H(),xl="hope-alert__description";function Al(e){const t=Ya().Alert,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,xl,Tl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}Al.toString=()=>Qa(xl);const Ol=Fe('<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),Nl=Fe('<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),Il=vl({viewBox:"0 0 32 32",path:()=>[Ol.cloneNode(!0),Nl.cloneNode(!0)]}),Rl=Fe('<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),Ml=vl({viewBox:"0 0 32 32",path:()=>Rl.cloneNode(!0)}),Ll=Fe('<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),$l=vl({viewBox:"0 0 32 32",path:()=>Ll.cloneNode(!0)}),Pl=Fe('<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),Dl=Fe('<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),Bl=vl({viewBox:"0 0 32 32",path:()=>[Pl.cloneNode(!0),Dl.cloneNode(!0)]}),Fl="hope-alert__icon";function Hl(e){const t=Ya().Alert,{status:n}=function(){const e=z(Sl);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}(),r=me({boxSize:"$6"},e),[o,i]=be(r,["as","class"]);return de(bl,me({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Il;case"info":return Bl;case"warning":return $l;case"danger":return Ml}})()},get class(){return Ja(o.class,Fl,El())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}Hl.toString=()=>Qa(Fl);const zl="hope-alert__title";function jl(e){const t=Ya().Alert,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,zl,_l())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}jl.toString=()=>Qa(zl);const Ul=yi({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),Gl="hope-anchor";function Kl(e){const t=Ya().Anchor,[n,r]=be(e,["class","external"]);return de(rl.a,me({get class(){return Ja(n.class,Gl,Ul())},get __baseStyle(){return null==t?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}Kl.toString=()=>Qa(Gl),yi({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 Wl="hope-icon-button",ql=yi({display:"inline-flex",alignSelf:"center",flexShrink:0}),Vl=yi({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),Yl=yi({fontSize:"1.3em",animation:`1s linear infinite ${Xi}`});function Xl(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,[`&.${Wl}`]:{width:e.height,padding:"0"}}}function Zl(e){return{height:e.height,py:0,px:e.paddingX,[`&.${Wl}`]:{width:e.height,padding:"0"}}}function Ql(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function Jl(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function es(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function ts(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const ns=yi({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:Xl({height:"$6",paddingX:"$2",fontSize:"$xs",spacing:"$1"}),sm:Xl({height:"$8",paddingX:"$3",fontSize:"$sm",spacing:"$1_5"}),md:Xl({height:"$10",paddingX:"$4",fontSize:"$base",spacing:"$1_5"}),lg:Xl({height:"$12",paddingX:"$6",fontSize:"$lg",spacing:"$2"}),xl:Xl({height:"$16",paddingX:"$10",fontSize:"$xl",spacing:"$2"})},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:Ql({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Ql({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Ql({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:Ql({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Ql({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Ql({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Ql({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:Jl({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:Jl({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:Jl({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:Jl({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:Jl({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:Jl({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:Jl({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:es({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:es({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:es({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:es({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:es({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:es({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:es({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:es({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:es({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:es({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:es({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:es({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:es({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:es({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:ts({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:ts({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:ts({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:ts({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:ts({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:ts({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:ts({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:Zl({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:Zl({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:Zl({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:Zl({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:Zl({height:"$10",paddingX:"$3_5"})}]});yi({display:"inline-flex",[`& .${ns}:focus`]:{zIndex:1}});const rs=H();function os(){return z(rs)}const is="hope-button__icon";function as(e){const[t,n]=be(e,["class","children"]);return de(rl.span,me({get class(){return Ja(t.class,is,ql())}},n,{get children(){return t.children}}))}as.toString=()=>Qa(is);const ls=Fe('<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),ss=vl({path:()=>ls.cloneNode(!0)}),cs="hope-button__loader";function us(e){const t=me({spacing:"0.5rem",children:de(ss,{get class(){return Yl()}})},e),[n,r]=be(t,["class","children","withLoadingText","placement","spacing"]),o=()=>"start"===n.placement?"marginEnd":"marginStart";return de(rl.div,me({get class(){return Ja(n.class,cs,Vl({withLoadingText:n.withLoadingText}))}},(()=>({[o()]:n.withLoadingText?n.spacing:0})),r,{get children(){return n.children}}))}us.toString=()=>Qa(cs);const ds="hope-button";function ps(e){var t,n,r;const o=Ya().Button,i=os(),a=me({loaderPlacement:null!=(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.loaderPlacement)?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},e),[l,s,c]=be(a,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]);return de(rl.button,me({get class(){return Ja(l.class,ds,ns({variant:null!=(a=null!=(r=null!=(e=l.variant)?e:null==i?void 0:i.state.variant)?r:null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.variant)?a:"solid",colorScheme:null!=(p=null!=(d=null!=(s=l.colorScheme)?s:null==i?void 0:i.state.colorScheme)?d:null==(u=null==(c=null==o?void 0:o.defaultProps)?void 0:c.root)?void 0:u.colorScheme)?p:"primary",size:null!=(b=null!=(m=null!=(h=l.size)?h:null==i?void 0:i.state.size)?m:null==(g=null==(f=null==o?void 0:o.defaultProps)?void 0:f.root)?void 0:g.size)?b:"md",loading:l.loading,compact:l.compact,fullWidth:l.fullWidth}));var e,t,n,r,a,s,c,u,d,p,h,f,g,m,b},get disabled(){return null!=(e=l.disabled)?e:null==i?void 0:i.state.disabled;var e},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.root}},c,{get children(){return[de(we,{get when(){return l.loading&&"start"===l.loaderPlacement},get children(){return de(us,{class:"hope-button__loader--start",get withLoadingText(){return!!l.loadingText},placement:"start",get spacing(){return s.iconSpacing},get children(){return l.loader}})}}),de(we,{get when(){return l.loading},get fallback(){return de(hs,s)},get children(){return de(we,{get when(){return l.loadingText},get fallback(){return de(rl.span,{opacity:0,get children(){return de(hs,s)}})},get children(){return l.loadingText}})}}),de(we,{get when(){return l.loading&&"end"===l.loaderPlacement},get children(){return de(us,{class:"hope-button__loader--end",get withLoadingText(){return!!l.loadingText},placement:"end",get spacing(){return s.iconSpacing},get children(){return l.loader}})}})]}}))}function hs(e){return[de(we,{get when(){return e.leftIcon},get children(){return de(as,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),De((()=>e.children)),de(we,{get when(){return e.rightIcon},get children(){return de(as,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function fs(e){return{boxSize:e,fontSize:`calc(${e} / 2.5)`,lineHeight:e}}ps.toString=()=>Qa(ds);const gs=yi({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":fs("$sizes$4"),xs:fs("$sizes$6"),sm:fs("$sizes$8"),md:fs("$sizes$12"),lg:fs("$sizes$16"),xl:fs("$sizes$24"),"2xl":fs("$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"}}]});function ms(e){const[t,n]=w("pending");let r=null;const o=()=>{r&&(r.onload=null,r.onerror=null,r=null)};return S((()=>{n(e.src?"loading":"pending")})),C((()=>{e.ignoreFallback||("loading"===t()&&(()=>{if(!e.src)return;o();const t=new Image;t.src=e.src,e.crossOrigin&&(t.crossOrigin=e.crossOrigin),e.srcSet&&(t.srcset=e.srcSet),e.sizes&&(t.sizes=e.sizes),e.loading&&(t.loading=e.loading),t.onload=t=>{o(),n("loaded"),Qo(e.onLoad,t)},t.onerror=t=>{o(),n("failed"),Qo(e.onError,t)},r=t})(),M((()=>{o()})))})),()=>e.ignoreFallback?"loaded":t()}yi(gs),yi({boxSize:"$full",borderRadius:"$full",objectFit:"cover"}),yi({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%)"}}}}),yi({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",[`& .${gs}:first-child`]:{marginStart:"0"}});const bs=yi({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"}}]}),vs="hope-badge";function ys(e){var t,n,r,o;const i=Ya().Badge,a=me({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"subtle",colorScheme:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.colorScheme)?o:"neutral"},e),[l,s,c]=be(a,["class"],["variant","colorScheme"]);return de(rl.span,me({get class(){return Ja(l.class,vs,bs(s))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c))}ys.toString=()=>Qa(vs);const Es=yi({display:"block",fontSize:"$base",lineHeight:"$6"}),_s=yi({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),Ts=yi({display:"inline-flex",alignItems:"center"}),ws=yi({display:"inline-flex",alignItems:"center",justifyContent:"center"}),ks=yi({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"}}}}}),Cs=H(),Ss="hope-breadcrumb",xs="hope-breadcrumb__list";function As(e){const t=Ya().Breadcrumb,[n]=Jt({get spacing(){var n,r,o,i;return null!=(i=null!=(o=e.spacing)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.spacing)?i:"0.5rem"},get separator(){var n,r,o,i;return null!=(i=null!=(o=e.separator)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.separator)?i:"/"}}),[r,o]=be(e,["class","children","separator","spacing"]),i={state:n};return de(Cs.Provider,{value:i,get children(){return de(rl.nav,me({"aria-label":"breadcrumb",get class(){return Ja(r.class,Ss,Es())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o,{get children(){return de(rl.ol,{get class(){return Ja(xs,_s())},get gap(){return n.spacing},get children(){return r.children}})}}))}})}function Os(){const e=z(Cs);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}As.toString=()=>Qa(Ss);const Ns="hope-breadcrumb__item";function Is(e){const t=Ya().Breadcrumb,n=Os(),[r,o]=be(e,["class"]);return de(rl.li,me({get class(){return Ja(r.class,Ns,Ts())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.item},get gap(){return n.state.spacing}},o))}Is.toString=()=>Qa(Ns);const Rs="hope-breadcrumb__link";function Ms(e){const t=Ya().Breadcrumb,[n,r]=be(e,["class","currentPage","href"]),o=()=>Ja(n.class,Rs,ks({currentPage:!0===n.currentPage}));return de(we,{get when(){return n.currentPage},get fallback(){return de(rl.a,me({get href(){return n.href},get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))},get children(){return de(rl.span,me({"aria-current":"page",get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))}})}Ms.toString=()=>Qa(Rs);const Ls="hope-breadcrumb__separator";function $s(e){const t=Ya().Breadcrumb,n=Os(),[r,o]=be(e,["class","children"]);return de(rl.span,me({role:"presentation",get class(){return Ja(r.class,Ls,ws())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.separator}},o,{get children(){return de(we,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}$s.toString=()=>Qa(Ls);const Ps=yi({display:"flex",justifyContent:"center",alignItems:"center"}),Ds="hope-center";function Bs(e){const[t,n]=be(e,["class"]);return de(ol,me({get class(){return Ja(t.class,Ds,Ps())}},n))}function Fs(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:`0 0 0 3px $colors${e.boxShadowColorFocus}`,borderColor:e.borderColorFocus}}}Bs.toString=()=>Qa(Ds);const Hs=yi({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"}}}}),zs=yi({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),js=yi({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:Fs({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:Fs({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:Fs({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:Fs({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:Fs({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:Fs({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:Fs({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),Us=yi(Hs,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),Gs=yi(zs),Ks=yi(js,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),Ws=H();function qs(){return z(Ws)}const Vs=yi({position:"relative",width:"$full"}),Ys=yi({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),Xs=yi({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),Zs=yi({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});yi({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 Qs=H(),Js="hope-form-control";function ec(e){const t=`hope-field-${Ee()}`,n=Ya().FormControl,[r,o]=Jt({get id(){var n;return null!=(n=e.id)?n:t},get labelId(){return`${this.id}-label`},get helperTextId(){return`${this.id}-helper-text`},get errorMessageId(){return`${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,a]=be(e,["id","required","disabled","invalid","readOnly","class"]),l=e=>o("hasHelperText",e),s=e=>o("hasErrorMessage",e),c=()=>o("isFocused",!0),u=()=>o("isFocused",!1);return de(Qs.Provider,{get value(){return{state:r,setHasHelperText:l,setHasErrorMessage:s,onFocus:c,onBlur:u}},get children(){return de(ol,me({role:"group",get class(){return Ja(i.class,Js,Vs())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root}},a))}})}function tc(){return z(Qs)}function nc(e){const t=tc(),n=x((()=>Jo(null==t?void 0:t.onFocus,e.onFocus))),r=x((()=>Jo(null==t?void 0:t.onBlur,e.onBlur))),[o]=Jt({get id(){var n;return null!=(n=e.id)?n:null==t?void 0:t.state.id},get required(){var n;return null!=(n=e.required)?n:null==t?void 0:t.state.required},get disabled(){var n;return null!=(n=e.disabled)?n:null==t?void 0:t.state.disabled},get invalid(){var n;return null!=(n=e.invalid)?n:null==t?void 0:t.state.invalid},get readOnly(){var n;return null!=(n=e.readOnly)?n:null==t?void 0:t.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-describedby"(){const n=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==t?void 0:t.state.hasErrorMessage)&&(null==t?void 0:t.state.invalid)&&n.push(t.state.errorMessageId),(null==t?void 0:t.state.hasHelperText)&&n.push(t.state.helperTextId),n.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return o}ec.toString=()=>Qa(Js);const rc=Fe('<input type="checkbox">',1);function oc(e){const t=`hope-checkbox-${Ee()}`,n=tc(),r=qs(),o=nc(e),[i,a]=Jt({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(r){const t=r.state.value;return null!=t&&t.some((t=>String(e.value)===String(t)))}return this.isControlled?!!e.checked:this._checked},get id(){var i;return n&&!r?o.id:null!=(i=e.id)?i:t},get name(){var t;return null!=(t=e.name)?t:null==r?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var e;return null!=(e=o.required)?e:null==r?void 0:r.state.required},get disabled(){var e;return null!=(e=o.disabled)?e:null==r?void 0:r.state.disabled},get invalid(){var e;return null!=(e=o.invalid)?e:null==r?void 0:r.state.invalid},get readOnly(){var e;return null!=(e=o.readOnly)?e:null==r?void 0:r.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||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}}),[l,s,c]=be(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),u=e=>{if(i.readOnly||i.disabled)e.preventDefault();else{if(!i.isControlled){const t=e.target;a("_checked",t.checked)}Jo(null==r?void 0:r.onChange,l.onChange)(e)}},d=e=>{a("isFocused",!0),Qo(o.onFocus,e)},p=e=>{a("isFocused",!1),Qo(o.onBlur,e)},h=()=>i,f={state:i};return de(ic.Provider,{value:f,get children(){return de(rl.label,me({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"]}},c,{get children(){return[(()=>{const e=rc.cloneNode(!0);e.addEventListener("blur",p),e.addEventListener("focus",d),e.addEventListener("change",u);const t=l.ref;return"function"==typeof t?t(e):l.ref=e,C((t=>{const n=Ja(l.inputClass,Wa()),r=l.tabIndex,o=i.value,a=i.id,s=i.name,c=i.checked,u=i.required,d=i.disabled,p=i.readOnly,h=i["aria-required"],f=i["aria-disabled"],g=i["aria-invalid"],m=i["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&ze(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),a!==t._v$4&&ze(e,"id",t._v$4=a),s!==t._v$5&&ze(e,"name",t._v$5=s),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&ze(e,"aria-required",t._v$10=h),f!==t._v$11&&ze(e,"aria-disabled",t._v$11=f),g!==t._v$12&&ze(e,"aria-invalid",t._v$12=g),m!==t._v$13&&ze(e,"aria-readonly",t._v$13=m),b!==t._v$14&&ze(e,"aria-label",t._v$14=b),v!==t._v$15&&ze(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&ze(e,"aria-describedby",t._v$16=y),t}),{_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}),e})(),de(we,{get when(){return Xo(l.children)},get fallback(){return l.children},get children(){var e;return null==(e=l.children)?void 0:e.call(l,{state:h})}})]}}))}})}const ic=H(),ac=Fe('<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),lc=Fe('<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),sc="hope-checkbox",cc="hope-checkbox__input",uc="hope-checkbox__control",dc="hope-checkbox__label";function pc(e){var t,n,r,o,i,a,l,s,c,u,d,p,h,f,g,m,b,v,y,E;const _=Ya().Checkbox,T=qs(),w=me({variant:null!=(i=null!=(o=null==(t=null==T?void 0:T.state)?void 0:t.variant)?o:null==(r=null==(n=null==_?void 0:_.defaultProps)?void 0:n.root)?void 0:r.variant)?i:"outline",colorScheme:null!=(u=null!=(c=null==(a=null==T?void 0:T.state)?void 0:a.colorScheme)?c:null==(s=null==(l=null==_?void 0:_.defaultProps)?void 0:l.root)?void 0:s.colorScheme)?u:"primary",size:null!=(g=null!=(f=null==(d=null==T?void 0:T.state)?void 0:d.size)?f:null==(h=null==(p=null==_?void 0:_.defaultProps)?void 0:p.root)?void 0:h.size)?g:"md",labelPlacement:null!=(E=null!=(y=null==(m=null==T?void 0:T.state)?void 0:m.labelPlacement)?y:null==(v=null==(b=null==_?void 0:_.defaultProps)?void 0:b.root)?void 0:v.labelPlacement)?E:"end"},e),[k,C]=be(w,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]);return de(oc,me({get class(){return Ja(k.class,sc,Us({size:k.size,labelPlacement:k.labelPlacement}))},inputClass:cc,get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.root}},C,{children:({state:e})=>[de(rl.span,{"aria-hidden":!0,get class(){return Ja(uc,Ks({variant:k.variant,colorScheme:k.colorScheme,size:k.size}))},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.control},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return de(ke,{get children(){return[de(Ce,{get when(){return e().indeterminate},get children(){return de(we,{get when(){return k.iconIndeterminate},get fallback(){return de(fc,{})},get children(){return k.iconIndeterminate}})}}),de(Ce,{get when(){return De((()=>!!e().checked))()&&!e().indeterminate},get children(){return de(we,{get when(){return k.iconChecked},get fallback(){return de(hc,{})},get children(){return k.iconChecked}})}})]}})}}),de(rl.span,{get class(){return Ja(dc,Gs())},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.label},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return k.children}})]}))}pc.toString=()=>Qa(sc);const hc=vl({viewBox:"0 0 15 15",path:()=>ac.cloneNode(!0)}),fc=vl({viewBox:"0 0 15 15",path:()=>lc.cloneNode(!0)}),gc=ki({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});yi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"}),yi({fill:"transparent",stroke:"currentColor"}),yi({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:`${Xi} 2s linear infinite`}}}}),yi({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:`${gc} 2s linear infinite`},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}}),yi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const mc=Fe('<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),bc=vl({viewBox:"0 0 15 15",path:()=>mc.cloneNode(!0)}),vc=yi({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"}}}}),yc="hope-close-button";function Ec(e){var t,n,r,o,i,a;const l=Ya().CloseButton,s=me({"aria-label":null!=(n=null==(t=null==l?void 0:l.defaultProps)?void 0:t["aria-label"])?n:"Close",icon:null!=(o=null==(r=null==l?void 0:l.defaultProps)?void 0:r.icon)?o:de(bc,{}),size:null!=(a=null==(i=null==l?void 0:l.defaultProps)?void 0:i.size)?a:"md"},e),[c,u]=be(s,["class","children","size","icon"]);return de(rl.button,me({type:"button",get class(){return Ja(c.class,yc,vc({size:c.size}))},get __baseStyle(){return null==l?void 0:l.baseStyle}},u,{get children(){return de(we,{get when(){return c.children},get fallback(){return c.icon},get children(){return c.children}})}}))}Ec.toString=()=>Qa(yc);const _c=yi({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"}}}}),Tc="hope-container";function wc(e){const t=me({centered:!0,centerContent:!1},e),[n,r,o]=be(t,["class"],["centered","centerContent"]);return de(ol,me({get class(){return Ja(n.class,Tc,_c(r))}},o))}wc.toString=()=>Qa(Tc);const kc=yi({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),Cc="hope-divider";function Sc(e){const t=me({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[n,r]=be(t,["class","variant","orientation","thickness"]);return de(ol,me({get class(){return Ja(n.class,Cc,kc({variant:n.variant,orientation:n.orientation,css:{borderLeftWidth:"vertical"===n.orientation?n.thickness:0,borderBottomWidth:"horizontal"===n.orientation?n.thickness:0}}))}},r))}function xc(e){const t=`hope-modal-${Ee()}`,n=Ya().Modal,[r,o]=Jt({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var n;return null!=(n=e.id)?n:t},get headerId(){return`${this.dialogId}--header`},get bodyId(){return`${this.dialogId}--body`},get initialFocus(){return e.initialFocus},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get centered(){var t,r,o,i;return null!=(i=null!=(o=e.centered)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.centered)&&i},get scrollBehavior(){var t,r,o,i;return null!=(i=null!=(o=e.scrollBehavior)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.scrollBehavior)?i:"outside"},get closeOnOverlayClick(){var t,r,o,i;return null==(i=null!=(o=e.closeOnOverlayClick)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnOverlayClick)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null==(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)||i},get blockScrollOnMount(){var t,r,o,i;return null==(i=null!=(o=e.blockScrollOnMount)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.blockScrollOnMount)||i},get preserveScrollBarGap(){var t,r,o,i;return null!=(i=null!=(o=e.preserveScrollBarGap)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.preserveScrollBarGap)&&i}}),[i,a]=w(!1);S((()=>{r.opened?a(!0):"none"===r.motionPreset&&a(!1)}));const l=()=>e.onClose();let s=null;const c={state:r,unmountPortal:()=>a(!1),onClose:l,onMouseDown:e=>{s=e.target},onKeyDown:t=>{var n;"Escape"===t.key&&(t.stopPropagation(),r.closeOnEsc&&l(),null==(n=e.onEsc)||n.call(e))},onOverlayClick:t=>{var n;t.stopPropagation(),s===t.target&&(r.closeOnOverlayClick&&l(),null==(n=e.onOverlayClick)||n.call(e))},setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return de(we,{get when(){return i()},get children(){return de(Ac.Provider,{value:c,get children(){return de(it,{get children(){return e.children}})}})}})}Sc.toString=()=>Qa(Cc);const Ac=H();function Oc(){const e=z(Ac);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const Nc="hope-modal__body";function Ic(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["class"]);return R((()=>n.setBodyMounted(!0))),M((()=>n.setBodyMounted(!1))),de(ol,me({get class(){return Ja(r.class,Nc,Mi({scrollBehavior:n.state.scrollBehavior}))},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}Ic.toString=()=>Qa(Nc);const Rc="hope-modal__close-button";function Mc(e){var t,n,r,o,i,a,l,s;const c=Ya().Modal,u=Oc(),d=me({"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close modal",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(s=null==(l=null==c?void 0:c.defaultProps)?void 0:l.closeButton)?void 0:s.icon},e),[p,h]=be(d,["class","onClick"]);return de(Ec,me({get class(){return Ja(p.class,Rc,$i())},get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton},onClick:e=>{Jo(p.onClick,(e=>{e.stopPropagation(),u.onClose()}))(e)}},h))}Mc.toString=()=>Qa(Rc);const Lc="hope-modal__footer";function $c(e){const t=Ya().Modal,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,Lc,Li())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.footer}},r))}$c.toString=()=>Qa(Lc);const Pc="hope-modal__header";function Dc(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["class"]);return R((()=>n.setHeaderMounted(!0))),M((()=>n.setHeaderMounted(!1))),de(ol,me({get class(){return Ja(r.class,Pc,Ri())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}Dc.toString=()=>Qa(Pc);const Bc=H();function Fc(){const e=z(Bc);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function Hc(e){const t=Oc();let n,r;const o=()=>`[id='${t.state.dialogId}']`,i=()=>`${o()} *`;return R((()=>{n&&(t.state.trapFocus&&(r=Mr(n,{initialFocus:t.state.initialFocus,fallbackFocus:o(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&($r.addScrollableSelector(i()),$r.disablePageScroll(n)))})),M((()=>{null==r||r.deactivate(),$r.removeScrollableSelector(i()),$r.clearQueueScrollLocks(),$r.enablePageScroll()})),{assignContainerRef:e=>{n=e},ariaLabelledBy:()=>t.state.headerMounted?t.state.headerId:void 0,ariaDescribedBy:()=>t.state.bodyMounted?t.state.bodyId:void 0,onDialogClick:t=>{Jo(e.onClick,(e=>e.stopPropagation()))(t)}}}const zc="hope-modal__content-container",jc="hope-modal__content";function Uc(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:a,ariaDescribedBy:l,onDialogClick:s}=Hc(r);return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Ci.fadeInBottom;case"scale":return Ci.scale;case"none":return"hope-none"}})()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return de(we,{get when(){return n.state.opened},get children(){return de(ol,{ref:i,get class(){return(()=>{const e=Oi({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return Ja(zc,e)})()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return de(rl.section,me({get class(){return(()=>{const e=Ii({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return Ja(r.class,jc,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return n.state.dialogId},get role(){var e;return null!=(e=r.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return a()},get"aria-describedby"(){return l()},onClick:s},o))}})}})}})}Uc.toString=()=>Qa(jc);const Gc="hope-modal__overlay";function Kc(e){const t=Ya().Modal,n=Oc(),[r,o]=be(e,["class"]);return de(nr,{get name(){return"none"===n.state.motionPreset?"hope-none":Ci.fade},appear:!0,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(ol,me({get class(){return Ja(r.class,Gc,xi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},o))}})}})}Kc.toString=()=>Qa(Gc);const Wc="hope-drawer__content-container",qc="hope-drawer__content";function Vc(e){const t=Ya().Drawer,n=Fc(),r=Oc(),[o,i]=be(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:a,ariaLabelledBy:l,ariaDescribedBy:s,onDialogClick:c}=Hc(o);return de(nr,{get name(){return(()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return Pi.slideInTop;case"right":return Pi.slideInRight;case"bottom":return Pi.slideInBottom;case"left":return Pi.slideInLeft}})()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return de(we,{get when(){return r.state.opened},get children(){return de(ol,{ref:a,get class(){return Ja(Wc,Bi({placement:n.placement}))},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return de(rl.section,me({get class(){return(()=>{const e=Fi({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return Ja(o.class,qc,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return r.state.dialogId},get role(){var e;return null!=(e=o.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return l()},get"aria-describedby"(){return s()},onClick:c},i))}})}})}})}Vc.toString=()=>Qa(qc);const Yc="hope-drawer__overlay";function Xc(e){const t=Ya().Drawer,n=Fc(),r=Oc(),[o,i]=be(e,["class"]);return de(nr,{get name(){return n.disableMotion?"hope-none":Pi.fade},appear:!0,get children(){return de(we,{get when(){return r.state.opened},get children(){return de(ol,me({get class(){return Ja(o.class,Yc,xi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},i))}})}})}Xc.toString=()=>Qa(Yc);const Zc="hope-flex";function Qc(e){const[t,n]=be(e,["class","direction","wrap"]);return de(ol,me({get class(){return Ja(t.class,Zc)},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}Qc.toString=()=>Qa(Zc);const Jc="hope-form-helper-text";function eu(e){const t=Ya().FormControl,n=tc(),[r,o]=be(e,["ref","id","class"]);return R((()=>null==n?void 0:n.setHasHelperText(!0))),M((()=>null==n?void 0:n.setHasHelperText(!1))),de(ol,me({get id(){return null!=(e=r.id)?e:null==n?void 0:n.state.helperTextId;var e},get class(){return Ja(r.class,Jc,Zs())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.helperText},get"data-disabled"(){return null==n?void 0:n.state["data-disabled"]},get"data-readonly"(){return null==n?void 0:n.state["data-readonly"]}},o))}eu.toString=()=>Qa(Jc);const tu=Fe('<span role="presentation" aria-hidden="true">*</span>',2),nu="hope-form-label";function ru(e){var t,n,r;const o=Ya().FormControl,i=tc(),a=me({withRequiredIndicator:null==(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.label)?void 0:n.withRequiredIndicator)||r},e),[l,s]=be(a,["id","for","class","children","withRequiredIndicator"]);return de(rl.label,me({get id(){return null!=(e=l.id)?e:null==i?void 0:i.state.labelId;var e},get for(){return null!=(e=l.for)?e:null==i?void 0:i.state.id;var e},get class(){return Ja(l.class,nu,Ys())},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.label},get"data-focus"(){return null==i?void 0:i.state["data-focus"]},get"data-disabled"(){return null==i?void 0:i.state["data-disabled"]},get"data-invalid"(){return null==i?void 0:i.state["data-invalid"]},get"data-readonly"(){return null==i?void 0:i.state["data-readonly"]}},s,{get children(){return[De((()=>l.children)),de(we,{get when(){return(null==i?void 0:i.state.required)&&l.withRequiredIndicator},get children(){const e=tu.cloneNode(!0);return C((()=>e.className=Xs())),e}})]}}))}ru.toString=()=>Qa(nu);const ou="hope-grid";function iu(e){const[t,n]=be(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]);return de(ol,me({get class(){return Ja(t.class,ou)},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))}function au(e){var t,n;if(null!=e)return n=e=>{switch(e){case"auto":return"auto";case"full":return"1 / -1";default:return`span ${e} / span ${e}`}},Yo(t=e)?Object.keys(t).reduce(((e,r)=>(e[r]=n(t[r]),e)),{}):null!=t?n(t):null}iu.toString=()=>Qa(ou);const lu="hope-grid-item";function su(e){const[t,n]=be(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]);return de(ol,me({get class(){return Ja(t.class,lu)},get gridArea(){return t.area},get gridColumn(){return au(t.colSpan)},get gridRow(){return au(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}su.toString=()=>Qa(lu);const cu="hope-simple-grid";function uu(e){const[t,n]=be(e,["class","minChildWidth","columns"]),r=()=>t.minChildWidth?Ka(t.minChildWidth,(e=>Zo(e)?null:`repeat(auto-fit, minmax(${function(e){return"number"==typeof e?`${e}px`:e}(e)}, 1fr))`)):Ka(t.columns,(e=>Zo(e)?null:`repeat(${e}, minmax(0, 1fr))`));return de(iu,me({get class(){return Ja(t.class,cu)},get templateColumns(){return r()}},n))}uu.toString=()=>Qa(cu);const du=yi({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"}}}}),pu=yi(du,{fontWeight:"$semibold"}),hu="hope-heading";function fu(e){var t,n;const r=Ya().Heading,o=me({as:"h2",level:null==(t=null==r?void 0:r.defaultProps)?void 0:t.level,size:null==(n=null==r?void 0:r.defaultProps)?void 0:n.size},e),[i,a]=be(o,["class","as","level","size"]);return de(ol,me({get as(){return i.level?`h${i.level}`:i.as},get class(){return Ja(i.class,hu,pu({size:i.size}))},get __baseStyle(){return null==r?void 0:r.baseStyle}},a))}function gu(e){const t=Ya().IconButton,n=os(),[r,o]=be(e,["class","children","icon","variant","colorScheme","size","disabled"]);return de(ps,me({get class(){return Ja(r.class,Wl)},get __baseStyle(){return null==t?void 0:t.baseStyle},get variant(){return null!=(a=null!=(i=null!=(e=r.variant)?e:null==n?void 0:n.state.variant)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.variant)?a:"solid";var e,o,i,a},get colorScheme(){return null!=(a=null!=(i=null!=(e=r.colorScheme)?e:null==n?void 0:n.state.colorScheme)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.colorScheme)?a:"primary";var e,o,i,a},get size(){return null!=(a=null!=(i=null!=(e=r.size)?e:null==n?void 0:n.state.size)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.size)?a:"md";var e,o,i,a},get disabled(){return null!=(e=r.disabled)?e:null==n?void 0:n.state.disabled;var e}},o,{get children(){return de(we,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}fu.toString=()=>Qa(hu),gu.toString=()=>Qa(Wl);const mu="hope-image";function bu(e){const[t,n,r]=be(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),o=()=>null!=t.loading||t.ignoreFallback||void 0===t.fallbackSrc&&void 0===t.fallback,i=x((()=>ms(qo(Wo({},e),{ignoreFallback:o()})))),a=()=>Wo(Wo({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},o()?n:{}),r);return de(we,{get when(){return"loaded"===i()()},get fallback(){return de(we,{get when(){return t.fallback},get fallback(){return de(ol,me({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},a))},get children(){return t.fallback}})},get children(){return de(ol,me({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 Ja(t.class,mu)}},a))}})}bu.toString=()=>Qa(mu);const vu=H(),yu="hope-input";function Eu(e){const t=Ya().Input,n=z(vu),r=nc(e),[o,i]=be(e,["class","htmlSize","variant","size"]);return de(rl.input,me({type:"text",get class(){return Ja(o.class,yu,Ea({variant:null!=(l=null!=(a=null!=(e=o.variant)?e:null==n?void 0:n.state.variant)?a:null==(i=null==(r=null==t?void 0:t.defaultProps)?void 0:r.input)?void 0:i.variant)?l:"outline",size:null!=(p=null!=(d=null!=(s=o.size)?s:null==n?void 0:n.state.size)?d:null==(u=null==(c=null==t?void 0:t.defaultProps)?void 0:c.input)?void 0:u.size)?p:"md",withLeftElement:null!=(h=null==n?void 0:n.state.hasLeftElement)&&h,withRightElement:null!=(f=null==n?void 0:n.state.hasRightElement)&&f,withLeftAddon:null!=(g=null==n?void 0:n.state.hasLeftAddon)&&g,withRightAddon:null!=(m=null==n?void 0:n.state.hasRightAddon)&&m}));var e,r,i,a,l,s,c,u,d,p,h,f,g,m},get size(){return o.htmlSize},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.input}},r,i))}Eu.toString=()=>Qa(yu);const _u=yi({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),Tu="hope-kbd";function wu(e){const t=Ya().Kbd,[n,r]=be(e,["class"]);return de(rl.kbd,me({get class(){return Ja(n.class,Tu,_u())},get __baseStyle(){return null==t?void 0:t.baseStyle}},r))}wu.toString=()=>Qa(Tu);const ku=yi({listStyleType:"none"});yi({marginEnd:"0.5rem"});const Cu="hope-list",Su="& > *:not(style) ~ *:not(style)";function xu(e){const[t,n]=be(e,["class","styleType","stylePosition","spacing"]);return de(rl.ul,me({role:"list",get class(){return Ja(t.class,Cu,ku({css:Wo({listStyleType:t.styleType,listStylePosition:t.stylePosition},t.spacing?{[Su]:{mt:t.spacing}}:{})}))}},n))}xu.toString=()=>Qa(Cu);const Au="hope-list__item";function Ou(e){const[t,n]=be(e,["class"]);return de(rl.li,me({get class(){return Ja(t.class,Au)}},n))}Ou.toString=()=>Qa(Au);var Nu=(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))(Nu||{});function Iu(e=[],t,n=[]){return e.filter((e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0)))}function Ru(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 Mu(e){const t=`hope-menu-${Ee()}`,n=Ya().Menu,[r,o]=w([]),[i,a]=Jt({get triggerId(){var n;return null!=(n=e.id)?n:`${t}-trigger`},get menuContentId(){return`${t}-content`},get labelIdPrefix(){return`${t}-label`},get itemIdPrefix(){return`${t}-item`},get activeDescendantId(){return this.opened?`${this.itemIdPrefix}-${this.activeIndex}`:void 0},get closeOnSelect(){var t,r,o,i;return null==(i=null!=(o=e.closeOnSelect)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnSelect)||i},get motionPreset(){var t,r,o,i,a;return e.motionPreset?e.motionPreset:(null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?null==(i=null==(o=null==n?void 0:n.defaultProps)?void 0:o.root)?void 0:i.motionPreset:(null==(a=e.placement)?void 0:a.startsWith("top"))?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let l,s,c;const u=async()=>{var t,r,o,i,a,c,u,d;if(!l||!s)return;const{x:p,y:h}=await Bo(l,s,{placement:null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom-start",middleware:[oo(null!=(d=null!=(u=e.offset)?u:null==(c=null==(a=null==n?void 0:n.defaultProps)?void 0:a.root)?void 0:c.offset)?d:5),eo(),io()]});s&&Object.assign(s.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`})},d=e=>{a("activeIndex",e)},p=e=>i.items[e].disabled,h=e=>{var t;d(e);const n=i.items[e];null==(t=n.onSelect)||t.call(n),n.closeOnSelect?m(!1):f()},f=()=>{null==l||l.focus()},g=e=>{m(!0);const t=(e=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const t=window.setTimeout((()=>{a("searchString","")}),500);return a("searchTimeoutId",t),a("searchString",(t=>t+e)),i.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=Iu(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every((e=>e===i[0]))){const n=Iu(r,t[0]);return e.indexOf(n[0])}return-1;var i}(i.items,t,i.activeIndex+1);n>=0?d(n):(window.clearTimeout(i.searchTimeoutId),a("searchString",""))},m=(e,t=!0,n=!1)=>{i.opened!==e&&(a("opened",e),a("activeIndex",n?i.items.length-1:0),i.opened?(u(),l&&s&&(c=Do(l,s,u))):null==c||c(),t&&f())},b=()=>i.opened,v={state:i,isItemActiveDescendant:e=>e===i.activeIndex,assignTriggerRef:e=>{l=e},assignContentRef:e=>{s=e},registerItem:e=>{const t=i.items.findIndex((t=>t.key===e.key));return-1!=t?t:o((t=>[...t,e])).length-1},scrollToItem:e=>{s&&ul(s)&&dl(e,s)},onTriggerBlur:e=>{sl(l,cl(e))||(i.ignoreBlur?a("ignoreBlur",!1):i.opened&&m(!1,!1))},onTriggerClick:()=>{m(!i.opened,!1)},onTriggerKeyDown:e=>{const{key:t}=e,n=i.items.length-1,r=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&"ArrowUp"===n)return 6;if("Home"===n)return 2;if("End"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 9;if(t){if("ArrowDown"===n)return 4;if("ArrowUp"===n)return 7;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,i.opened);switch(r){case Nu.Last:case Nu.First:case Nu.Next:case Nu.Previous:return e.preventDefault(),d(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:o}=e;let i=Ru(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=7),7===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=Ru(i,n,e)}return i}({currentIndex:i.activeIndex,maxIndex:n,initialAction:r,isItemDisabled:p}));case Nu.SelectAndClose:return e.preventDefault(),void h(i.activeIndex);case Nu.Close:return e.preventDefault(),m(!1);case Nu.Type:return g(t);case Nu.Open:return e.preventDefault(),m(!0);case Nu.OpenAndFocusLast:return e.preventDefault(),m(!0,!0,!0)}},onContentMouseLeave:()=>{d(-1)},onContentClickOutside:e=>{sl(l,e)||m(!1,!1)},onItemClick:e=>{i.items[e].disabled?f():h(e)},onItemMouseMove:e=>{i.activeIndex!==e&&d(e)},onItemMouseDown:()=>{a("ignoreBlur",!0)}};return de(Lu.Provider,{value:v,get children(){return de(we,{get when(){return pl(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:b})}})}})}const Lu=H();function $u(){const e=z(Lu);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function Pu(e){const t=j((()=>e.children));return function(e){const[t,n]=Jt({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=t=>{ll(t,e.element())&&n("isPointerDown",!0)},o=r=>{t.ignoreEmulatedMouseEvents?n("ignoreEmulatedMouseEvents",!1):t.isPointerDown&&e.handler&&ll(r,e.element())&&(n("isPointerDown",!1),e.handler(r))},i=r=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&ll(r,e.element())&&(n("isPointerDown",!1),e.handler(r))};R((()=>{const t=al(e.element());t.addEventListener("mousedown",r,!0),t.addEventListener("mouseup",o,!0),t.addEventListener("touchstart",r,!0),t.addEventListener("touchend",i,!0)})),M((()=>{const t=al(e.element());t.removeEventListener("mousedown",r,!0),t.removeEventListener("mouseup",o,!0),t.removeEventListener("touchstart",r,!0),t.removeEventListener("touchend",i,!0)}))}({element:()=>t(),handler:t=>e.onClickOutside(t)}),t}const Du="hope-menu__content";function Bu(e){const t=Ya().Menu,n=$u(),[r,o]=be(e,["ref","class","children"]),[i,a]=w(!1);S(I((()=>n.state.opened),(()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)})));const l=()=>a(!1),s=j((()=>r.children)),c=e=>{n.assignContentRef(e),Xo(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return de(we,{get when(){return i()},get children(){return de(it,{get children(){return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale-top-left":return Hi.scaleTopLeft;case"scale-top-right":return Hi.scaleTopRight;case"scale-bottom-left":return Hi.scaleBottomLeft;case"scale-bottom-right":return Hi.scaleBottomRight;case"none":return"hope-none"}})()},appear:!0,onAfterExit:l,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(Pu,{onClickOutside:u,get children(){return de(ol,me({role:"menu",tabindex:"-1",ref:c,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 Ja(r.class,Du,Gi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get onMouseLeave(){return n.onContentMouseLeave}},o,{get children(){return s()}}))}})}})}})}})}})}Bu.toString=()=>Qa(Du);const Fu="hope-menu__item",Hu="hope-menu__item__icon-wrapper",zu="hope-menu__item__text",ju="hope-menu__item__command";function Uu(e){const t=Ee(),n=Ya().Menu,r=$u(),[o,i]=w(-1);let a;const[l,s]=be(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),c=()=>r.isItemActiveDescendant(o());return R((()=>{var e,n;i(r.registerItem({key:t,textValue:null!=(n=null!=(e=l.textValue)?e:null==a?void 0:a.textContent)?n:"",disabled:!!l.disabled,closeOnSelect:null!=l.closeOnSelect?!!l.closeOnSelect:r.state.closeOnSelect,onSelect:l.onSelect}))})),S((()=>{c()&&a&&r.scrollToItem(a)})),de(ol,me({ref:e=>{a=e,Xo(l.ref)?l.ref(e):l.ref=e},role:"menuitem",get id(){return`${r.state.itemIdPrefix}-${o()}`},get"data-active"(){return c()?"":void 0},get"data-disabled"(){return l.disabled?"":void 0},"data-group":!0,get class(){return Ja(l.class,Fu,Wi({colorScheme:l.colorScheme}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.item},onClick:e=>{e.stopPropagation(),r.onItemClick(o())},onMouseMove:e=>{if(l.disabled&&r.onItemMouseMove(-1),c()||l.disabled)return e.preventDefault(),void e.stopPropagation();r.onItemMouseMove(o())},get onMouseDown(){return r.onItemMouseDown}},s,{get children(){return[de(we,{get when(){return l.icon},get children(){return de(rl.span,{"aria-hidden":"true",get class(){return Ja(Hu,qi())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemIconWrapper},get mr(){var e;return null!=(e=l.iconSpacing)?e:"0.5rem"},get children(){return l.icon}})}}),de(we,{get when(){return l.children},get children(){return de(rl.span,{get class(){return Ja(zu,Vi())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemText},get children(){return l.children}})}}),de(we,{get when(){return l.command},get children(){return de(rl.span,{get class(){return Ja(ju,Yi())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemCommand},get ml(){var e;return null!=(e=l.commandSpacing)?e:"0.5rem"},get children(){return l.command}})}})]}}))}Uu.toString=()=>Qa(Fu);const Gu="hope-menu__trigger";function Ku(e){const t=Ya().Menu,n=$u(),[r,o]=be(e,["ref","class","onClick","onKeyDown","onBlur"]);return de(rl.button,me({ref:e=>{n.assignTriggerRef(e),Xo(r.ref)?r.ref(e):r.ref=e},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 Ja(r.class,Gu,Ui())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{Jo(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{Jo(n.onTriggerKeyDown,r.onKeyDown)(e)},onBlur:e=>{Jo(n.onTriggerBlur,r.onBlur)(e)}},o))}Ku.toString=()=>Qa(Gu);const Wu="hope-notification";function qu(e){const t=Ya().Notification,n=me({},e),[r,o]=be(n,["class","status"]),i={status:()=>r.status};return de(Vu.Provider,{value:i,get children(){return de(ol,me({role:"alert",get class(){return Ja(r.class,Wu,oa({status:r.status}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}qu.toString=()=>Qa(Wu);const Vu=H(),Yu="hope-ui:show-notification",Xu="hope-ui:update-notification",Zu="hope-ui:hide-notification",Qu="hope-ui:clear-notifications",Ju="hope-ui:clear-notifications-queue";function ed(e,t){return new CustomEvent(e,{detail:t})}const td={show:function(e){window.dispatchEvent(ed(Yu,e))},update:function(e){window.dispatchEvent(ed(Xu,e))},hide:function(e){window.dispatchEvent(ed(Zu,e))},clear:function(){window.dispatchEvent(ed(Qu))},clearQueue:function(){window.dispatchEvent(ed(Ju))}},nd="hope-notification__description";function rd(e){const t=Ya().Notification,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,nd,sa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}rd.toString=()=>Qa(nd);const od="hope-notification__icon";function id(e){const t=Ya().Notification,{status:n}=function(){const e=z(Vu);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}(),r=me({boxSize:"$7"},e),[o,i]=be(r,["as","class"]);return de(bl,me({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Il;case"info":return Bl;case"warning":return $l;case"danger":return Ml}})()},get class(){return Ja(o.class,od,aa({status:n()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}id.toString=()=>Qa(od);const ad="hope-notification__title";function ld(e){const t=Ya().Notification,[n,r]=be(e,["class"]);return de(ol,me({get class(){return Ja(n.class,ad,la())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}ld.toString=()=>Qa(ad);const sd=yi({display:"flex"}),cd="hope-stack";function ud(e){const[t,n]=be(e,["class","direction","wrap","spacing"]);return de(ol,me({get class(){return Ja(t.class,cd,sd())},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}function dd(e){const[t,n]=be(e,["spacing"]);return de(ud,me({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}function pd(e){const[t,n]=be(e,["spacing"]);return de(ud,me({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}ud.toString=()=>Qa(cd),dd.toString=()=>Qa(cd),pd.toString=()=>Qa(cd);const hd=H();function fd(e){const t=function(){const e=z(hd);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}(),[n]=be(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const o=()=>{r&&window.clearTimeout(r)},i=()=>{o(),t.hideNotification(n.id)},a=()=>{n.persistent||null==n.duration||(r=window.setTimeout(i,n.duration))};return R((()=>{a()})),M((()=>{o()})),de(we,{get when(){return n.render},get fallback(){return de(qu,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:o,onMouseLeave:a,get children(){return[de(we,{get when(){return n.status&&!n.loading},get children(){return de(id,{mr:"$2_5"})}}),de(we,{get when(){return n.loading},get children(){return de(ss,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return ia()}})}}),de(ke,{get children(){return[de(Ce,{get when(){return n.title&&n.description},get children(){return de(pd,{alignItems:"flex-start",spacing:"$1",get children(){return[de(ld,{get children(){return n.title}}),de(rd,{get children(){return n.description}})]}})}}),de(Ce,{get when(){return n.title},get children(){return de(ld,{get children(){return n.title}})}}),de(Ce,{get when(){return n.description},get children(){return de(rd,{get children(){return n.description}})}})]}}),de(we,{get when(){return n.closable},get children(){return de(Ec,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return de(Qc,{w:"$full",justifyContent:"flex-end",onMouseEnter:o,onMouseLeave:a,get children(){var e;return null==(e=n.render)?void 0:e.call(n,{id:n.id,close:i})}})}})}function gd(e){const[t]=be(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=x((()=>{var e;return function(e){var t,n,r,o;const[i,a]=w(null!=(n=null==(t=e.initialValues)?void 0:t.slice(0,e.limit))?n:[]),[l,s]=w(null!=(o=null==(r=e.initialValues)?void 0:r.slice(e.limit))?o:[]),c=()=>e.limit;return{state:{current:i,queue:l,limit:c},add:(...e)=>{const t=[...i(),...l(),...e];a(t.slice(0,c())),s(t.slice(c()))},update:e=>{const t=e([...i(),...l()]);a(t.slice(0,c())),s(t.slice(c()))},clearQueue:()=>{s([])}}}({initialValues:[],limit:null!=(e=t.limit)?e:10})})),r=()=>{var e;return null!=(e=t.placement)?e:"top-end"},o=e=>{var r,o,i,a,l,s,c;const u=null!=(r=e.id)?r:`hope-notification-${Ee()}`,d=null!=(i=null!=(o=e.persistent)?o:t.persistent)&&i,p=null!=(l=null!=(a=e.duration)?a:t.duration)?l:5e3,h=null==(c=null!=(s=e.closable)?s:t.closable)||c;return n().update((t=>{if(e.id&&t.some((t=>t.id===e.id)))return t;const n=qo(Wo({},e),{id:u,persistent:d,duration:p,closable:h});return[...t,n]})),u},i=(e,t)=>{n().update((n=>{const r=n.findIndex((t=>t.id===e));if(-1===r)return n;const o=[...n];return o[r]=t,o}))},a=e=>{n().update((t=>t.filter((t=>{var n;return t.id!==e||(null==(n=t.onClose)||n.call(t,t.id),!1)}))))},l=()=>n().update((()=>[])),s=()=>n().clearQueue(),c={notifications:()=>n().state.current(),queue:()=>n().state.queue(),showNotification:o,updateNotification:i,hideNotification:a,clear:l,clearQueue:s},u=e=>o(e.detail),d=e=>i(e.detail.id,e.detail),p=e=>a(e.detail);return R((()=>{window.addEventListener(Yu,u),window.addEventListener(Xu,d),window.addEventListener(Zu,p),window.addEventListener(Qu,l),window.addEventListener(Ju,s)})),M((()=>{window.removeEventListener(Yu,u),window.removeEventListener(Xu,d),window.removeEventListener(Zu,p),window.removeEventListener(Qu,l),window.removeEventListener(Ju,s)})),de(hd.Provider,{value:c,get children(){return[de(it,{get children(){return de(ol,{get class(){return Ja("hope-notification__list",ra({placement:r()}))},get zIndex(){return t.zIndex},get children(){return de(or,{get name(){return(()=>{switch(r()){case"top-start":case"bottom-start":return ea;case"top":return Zi;case"top-end":case"bottom-end":default:return Qi;case"bottom":return Ji}})()},get children(){return de(Te,{get each(){return c.notifications()},children:e=>de(fd,e)})}})}})}}),De((()=>t.children))]}})}const md=e=>e.hasAttribute("tabindex");function bd(e){return!(!e.parentElement||!bd(e.parentElement))||e.hidden}const vd=H();function yd(){const e=z(vd);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const Ed="hope-popover__arrow";function _d(e){const t=Ya().Popover,n=yd(),[r,o]=be(e,["class"]),i=x((()=>n.state.finalPlacement.split("-")[0]));return de(ol,me({ref(e){const t=n.assignArrowRef;"function"==typeof t?t(e):n.assignArrowRef=e},get class(){return Ja(r.class,Ed,fa({popoverPlacement:i()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.arrow}},o))}_d.toString=()=>Qa(Ed);const Td="hope-popover__body";function wd(e){const t=Ya().Popover,n=yd(),[r,o]=be(e,["class"]);return R((()=>n.setBodyMounted(!0))),M((()=>n.setBodyMounted(!1))),de(ol,me({get class(){return Ja(r.class,Td,ha())},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}wd.toString=()=>Qa(Td);const kd="hope-popover__content";function Cd(e){const t=Ya().Popover,n=yd(),[r,o]=w(!1),[i,a]=be(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),l=e=>{n.assignPopoverRef(e),Xo(i.ref)?i.ref(e):i.ref=e},s=e=>{n.state.closeOnEsc&&"Escape"===e.key&&n.closeWithDelay()},c=e=>{Jo(i.onKeyDown,s)(e)},u=e=>{Jo(i.onFocusOut,n.onPopoverFocusOut)(e)},d=e=>{Qo(i.onMouseEnter,e),n.setIsHovering(!0)},p=e=>{Qo(i.onMouseLeave,e),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",s),n.afterPopoverOpen()},f=()=>{document.removeEventListener("keydown",s),n.afterPopoverClose(),o(!1)};return S((()=>{n.state.opened?o(!0):"none"===n.state.motionPreset&&o(!1)})),de(we,{get when(){return r()},get children(){return de(it,{get children(){return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale":return ca.scale;case"none":return"hope-none"}})()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:f,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(rl.section,me({ref:l,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 Ja(i.class,kd,da())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},onKeyDown:c,onFocusOut:u,get onMouseEnter(){return n.state.triggerOnHover?d:void 0},get onMouseLeave(){return n.state.triggerOnHover?p:void 0}},a))}})}})}})}})}Cd.toString=()=>Qa(kd);const Sd="hope-popover__header";function xd(e){const t=Ya().Popover,n=yd(),[r,o]=be(e,["class"]);return R((()=>n.setHeaderMounted(!0))),M((()=>n.setHeaderMounted(!1))),de(ol,me({get class(){return Ja(r.class,Sd,pa())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}xd.toString=()=>Qa(Sd);const Ad=ki({"0%":{left:"-40%"},"100%":{left:"100%"}}),Od=ki({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),Nd=yi({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"}}}}),Id=yi({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:`${Ad} 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:`${Od} 750ms linear infinite`}}]});yi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const Rd=H(),Md="hope-progress";function Ld(e){var t,n,r,o,i,a;const l=Ya().Progress,[s]=Jt({get min(){var t;return null!=(t=e.min)?t:0},get max(){var t;return null!=(t=e.max)?t:100},get value(){var t;return null!=(t=e.value)?t:0},get percent(){return e=this.value,t=this.min,n=this.max,100*(e-t)/(n-t);var e,t,n},get indeterminate(){var t;return null!=(t=e.indeterminate)&&t},get ariaValueText(){var t;if(!this.indeterminate)return Xo(this.getValueText)?this.getValueText(this.value,this.percent):null!=(t=e.valueText)?t:`${this.percent}%`},get getValueText(){return e.getValueText}}),c=me({size:null!=(r=null==(n=null==(t=null==l?void 0:l.defaultProps)?void 0:t.root)?void 0:n.size)?r:"md",trackColor:null!=(a=null==(i=null==(o=null==l?void 0:l.defaultProps)?void 0:o.root)?void 0:i.trackColor)?a:"$neutral4"},e),[u,d,p]=be(c,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),h={state:s};return de(Rd.Provider,{value:h,get children(){return de(ol,me({role:"progressbar",get"data-indeterminate"(){return s.indeterminate?"":void 0},get"aria-valuemin"(){return s.min},get"aria-valuemax"(){return s.max},get"aria-valuenow"(){return s.indeterminate?void 0:s.value},get"aria-valuetext"(){return s.ariaValueText},get class(){return Ja(u.class,Md,Nd({size:u.size}))},get __baseStyle(){var e;return null==(e=null==l?void 0:l.baseStyle)?void 0:e.root},get backgroundColor(){return u.trackColor}},p))}})}Ld.toString=()=>Qa(Md);const $d="hope-progress__indicator";function Pd(e){const t=Ya().Progress,n=function(){const e=z(Rd);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}(),r=me({color:"$primary9"},e),[o,i]=be(r,["class","color","striped","animated"]);return de(ol,me({get class(){return Ja(o.class,$d,Id({striped:o.striped,animated:o.animated,indeterminate:!0===n.state.indeterminate,css:qo(Wo({},n.state.indeterminate?{backgroundImage:`linear-gradient(to right, transparent 0%, ${o.color} 50%, transparent 100%)`}:{backgroundColor:o.color}),{width:`${n.state.percent}%`})}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.indicator}},i))}Pd.toString=()=>Qa($d);const Dd=yi(Hs,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),Bd=yi(zs),Fd=yi(js,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),Hd="hope-radio-group";function zd(e){const t=`hope-radio-group-${Ee()}--radio`,n=Ya().Radio,[r,o]=Jt({_value:e.defaultValue,get isControlled(){return void 0!==e.value},get value(){return this.isControlled?e.value:this._value},get name(){var n;return null!=(n=e.name)?n:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var t,r,o;return null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.variant},get colorScheme(){var t,r,o;return null!=(o=e.colorScheme)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.colorScheme},get size(){var t,r,o;return null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.size}}),[i,a,l]=be(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),s={state:r,onChange:e=>{var t;const n=e.target.value;o("_value",n),null==(t=i.onChange)||t.call(i,String(n))}};return de(jd.Provider,{value:s,get children(){return de(ol,me({role:"radiogroup",get class(){return Ja(i.class,Hd)},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.group}},l))}})}zd.toString=()=>Qa(Hd);const jd=H(),Ud=Fe('<input type="radio">',1),Gd="hope-radio",Kd="hope-radio__input",Wd="hope-radio__control",qd="hope-radio__label";function Vd(e){const t=`hope-radio-${Ee()}`,n=Ya().Radio,r=tc(),o=z(jd),i=nc(e),[a,l]=Jt({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(o){const t=o.state.value;return null!=t&&String(e.value)===String(t)}return this.isControlled?!!e.checked:this._checked},get variant(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.variant)?r:null==(t=null==o?void 0:o.state)?void 0:t.variant)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.variant)?s:"outline"},get colorScheme(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.colorScheme)?r:null==(t=null==o?void 0:o.state)?void 0:t.colorScheme)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.colorScheme)?s:"primary"},get size(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.size)?r:null==(t=null==o?void 0:o.state)?void 0:t.size)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.size)?s:"md"},get labelPlacement(){var t,r,i,a,l,s;return null!=(s=null!=(l=null!=(r=e.labelPlacement)?r:null==(t=null==o?void 0:o.state)?void 0:t.labelPlacement)?l:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.labelPlacement)?s:"end"},get id(){var n;return r&&!o?i.id:null!=(n=e.id)?n:t},get name(){var t;return null!=(t=e.name)?t:null==o?void 0:o.state.name},get value(){return e.value},get required(){var e;return null!=(e=i.required)?e:null==o?void 0:o.state.required},get disabled(){var e;return null!=(e=i.disabled)?e:null==o?void 0:o.state.disabled},get invalid(){var e;return null!=(e=i.invalid)?e:null==o?void 0:o.state.invalid},get readOnly(){var e;return null!=(e=i.readOnly)?e:null==o?void 0:o.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||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}}),[s,c,u]=be(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=e=>{if(a.readOnly||a.disabled)e.preventDefault();else{if(!a.isControlled){const t=e.target;l("_checked",t.checked)}Jo(null==o?void 0:o.onChange,s.onChange)(e)}},p=e=>{l("isFocused",!0),Qo(i.onFocus,e)},h=e=>{l("isFocused",!1),Qo(i.onBlur,e)},f={state:a,onChange:d,onFocus:p,onBlur:h};return de(Yd.Provider,{value:f,get children(){return de(rl.label,me({get class(){return Ja(s.class,Gd,Dd({size:a.size,labelPlacement:a.labelPlacement}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root},get for(){return a.id},"data-group":!0,get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u,{get children(){return[(()=>{const e=Ud.cloneNode(!0);e.addEventListener("blur",h),e.addEventListener("focus",p),e.addEventListener("change",d);const t=s.ref;return"function"==typeof t?t(e):s.ref=e,C((t=>{const n=Ja(Kd,Wa()),r=s.tabIndex,o=a.value,i=a.id,l=a.name,c=a.checked,u=a.required,d=a.disabled,p=a.readOnly,h=a["aria-required"],f=a["aria-disabled"],g=a["aria-invalid"],m=a["aria-readonly"],b=a["aria-label"],v=a["aria-labelledby"],y=a["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&ze(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),i!==t._v$4&&ze(e,"id",t._v$4=i),l!==t._v$5&&ze(e,"name",t._v$5=l),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&ze(e,"aria-required",t._v$10=h),f!==t._v$11&&ze(e,"aria-disabled",t._v$11=f),g!==t._v$12&&ze(e,"aria-invalid",t._v$12=g),m!==t._v$13&&ze(e,"aria-readonly",t._v$13=m),b!==t._v$14&&ze(e,"aria-label",t._v$14=b),v!==t._v$15&&ze(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&ze(e,"aria-describedby",t._v$16=y),t}),{_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}),e})(),de(rl.span,me({"aria-hidden":!0,get class(){return Ja(Wd,Fd({variant:a.variant,colorScheme:a.colorScheme,size:a.size}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.control},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u)),de(rl.span,{get class(){return Ja(qd,Bd())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.label},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]},get children(){return de(we,{get when(){return pl(s)},get fallback(){return s.children},get children(){var e;return null==(e=s.children)?void 0:e.call(s,{checked:a.checked})}})}})]}}))}})}Vd.toString=()=>Qa(Gd);const Yd=H();var Xd=(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))(Xd||{});function Zd(e=[],t,n=[]){return e.filter((e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0)))}function Qd(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 Jd(e,t){return String(e.value)===String(t.value)}function ep(e){const t=`hope-select-${Ee()}`,n=Ya().Select,r=nc(e),[o,i]=w(!1),[a,l]=w([]),[s,c]=Jt({get isControlled(){return void 0!==e.value},get value(){var t;return this.isControlled?e.value:this.multiple?this.selectedOptions.map((e=>e.value)):null!=(t=this.selectedOptions[0].value)?t:void 0},get multiple(){return e.multiple},get baseId(){var n,o;return null!=(o=null!=(n=e.id)?n:r.id)?o:t},get triggerId(){return`${this.baseId}-trigger`},get listboxId(){return`${this.baseId}-listbox`},get labelIdPrefix(){return`${this.baseId}-label`},get optionIdPrefix(){return`${this.baseId}-option`},get disabled(){var t;return null!=(t=e.disabled)?t:r.disabled},get invalid(){var t;return null!=(t=e.invalid)?t:r.invalid},get variant(){var t,r,o,i;return null!=(i=null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.variant)?i:"outline"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"fade-in-top"},get activeDescendantId(){return this.opened?`${this.optionIdPrefix}-${this.activeIndex}`:void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return a()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let u,d,p,h;const f=async()=>{var t,r,o,i;if(!u||!d)return;const{x:a,y:l}=await Bo(u,d,{placement:"bottom",middleware:[oo(null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:5),eo(),io(),ao({apply({reference:e}){d&&Object.assign(d.style,{width:`${e.width}px`})}})]});d&&Object.assign(d.style,{left:`${Math.round(a)}px`,top:`${Math.round(l)}px`})},g=()=>{null==u||u.focus()},m=()=>{if(o())return;const t=(s.isControlled?null==e.value?[]:Vo(e.value)?e.value:[e.value]:null==e.defaultValue?[]:Vo(e.defaultValue)?e.defaultValue:[e.defaultValue]).map((e=>s.options.find((t=>t.value===e)))).filter(Boolean);c("selectedOptions",(e=>[...e,...t])),i(!0)},b=e=>{c("activeIndex",e)},v=e=>!(s.selectedOptions.length<=0)&&(s.multiple?!!s.selectedOptions.find((t=>Jd(e,t))):Jd(e,s.selectedOptions[0])),y=e=>{c("selectedOptions",(t=>t.filter((t=>!Jd(e,t)))))},E=()=>{var e;return s.multiple?s.selectedOptions.map((e=>e.value)):null!=(e=s.selectedOptions[0].value)?e:void 0},_=t=>{var n;b(t),(e=>{const t=s.options[e];s.multiple?v(t)?y(t):c("selectedOptions",(e=>[...e,t])):c("selectedOptions",[t])})(t),null==(n=e.onChange)||n.call(e,E())},T=t=>{var n;y(t),null==(n=e.onChange)||n.call(e,E()),g()},k=e=>s.options[e].disabled,C=e=>{if(r.readOnly)return;x(!0);const t=(e=>{s.searchTimeoutId&&window.clearTimeout(s.searchTimeoutId);const t=window.setTimeout((()=>{c("searchString","")}),500);return c("searchTimeoutId",t),c("searchString",(t=>t+e)),s.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=Zd(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every((e=>e===i[0]))){const n=Zd(r,t[0]);return e.indexOf(n[0])}return-1;var i}(s.options,t,s.activeIndex+1);n>=0?b(n):(window.clearTimeout(s.searchTimeoutId),c("searchString",""))},x=(e,t=!0)=>{s.opened!==e&&(c("opened",e),s.selectedOptions.length>0?c("activeIndex",s.options.findIndex((e=>v(e)))):c("activeIndex",0),s.opened?(f(),u&&d&&(h=Do(u,d,f))):null==h||h(),t&&g())},A=e=>{p&&ul(p)&&dl(e,p)};S(I((()=>s.options),(()=>m()),{defer:!0})),S(I((()=>e.value),(()=>{if(!s.isControlled)return;const t=(Vo(e.value)?e.value:[e.value]).map((e=>s.options.find((t=>t.value===e)))).filter(Boolean);c("selectedOptions",t)}),{defer:!0})),S(I((()=>s.opened),(e=>{e&&setTimeout((()=>{const e=null==p?void 0:p.querySelector("[role='option'][aria-selected='true']");e&&A(e)}),0)})));const O={state:s,isOptionSelected:v,unselectOption:T,isOptionActiveDescendant:e=>e===s.activeIndex,formControlProps:r,assignTriggerRef:e=>{u=e},assignContentRef:e=>{d=e},assignListboxRef:e=>{p=e},registerOption:e=>{const t=s.options.findIndex((t=>Jd(t,e)));return-1!=t?t:l((t=>[...t,e])).length-1},scrollToOption:A,onContentClickOutside:e=>{sl(u,e)||x(!1,!1)},onTriggerBlur:e=>{sl(u,cl(e))||(s.ignoreBlur?c("ignoreBlur",!1):s.opened&&x(!1,!1))},onTriggerClick:()=>{r.readOnly||x(!s.opened,!1)},onTriggerKeyDown:e=>{if(r.readOnly)return;const{key:t}=e;if(s.hasSelectedOptions&&s.multiple&&"Backspace"===t)return void T(s.selectedOptions[s.selectedOptions.length-1]);const n=s.options.length-1,o=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if("Home"===n||"PageUp"===n)return 2;if("End"===n||"PageDown"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 8;if(t){if("ArrowUp"===n&&r)return 1;if("ArrowDown"===n&&!r)return 4;if("ArrowUp"===n)return 6;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,s.opened);switch(o){case Xd.Last:case Xd.First:x(!0);case Xd.Next:case Xd.Previous:return e.preventDefault(),b(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:o}=e;let i=Qd(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=6),6===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=Qd(i,n,e)}return i}({currentIndex:s.activeIndex,maxIndex:n,initialAction:o,isOptionDisabled:k}));case Xd.SelectAndClose:return e.preventDefault(),_(s.activeIndex),s.multiple?void 0:x(!1);case Xd.Close:return e.preventDefault(),x(!1);case Xd.Type:return C(t);case Xd.Open:return e.preventDefault(),x(!0)}},onOptionClick:e=>{s.options[e].disabled?g():(_(e),s.multiple?g():x(!1))},onOptionMouseMove:e=>{s.activeIndex!==e&&b(e)},onOptionMouseDown:()=>{c("ignoreBlur",!0)},onListboxMouseLeave:()=>{b(-1)}};return de(tp.Provider,{value:O,get children(){return e.children}})}const tp=H();function np(){const e=z(tp);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const rp="hope-select__content";function op(e){const t=Ya().Select,n=np(),[r,o]=be(e,["ref","class","children"]),[i,a]=w(!1);S(I((()=>n.state.opened),(()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)})));const l=()=>a(!1),s=j((()=>r.children)),c=e=>{n.assignContentRef(e),Xo(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return de(we,{get when(){return i()},get children(){return de(it,{get children(){return de(nr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-top":return Ta.fadeInTop;case"none":return"hope-none"}})()},appear:!0,onAfterExit:l,get children(){return de(we,{get when(){return n.state.opened},get children(){return de(Pu,{onClickOutside:u,get children(){return de(ol,me({ref:c,get class(){return Ja(r.class,rp,Ra())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content}},o,{get children(){return s()}}))}})}})}})}})}})}op.toString=()=>Qa(rp);const ip=Fe('<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),ap=vl({viewBox:"0 0 15 15",path:()=>ip.cloneNode(!0)}),lp="hope-select__icon";function sp(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class","rotateOnOpen"]);return de(ap,me({"aria-hidden":!0,get class(){return Ja(r.class,lp,Ia(r.rotateOnOpen?{opened:n.state.opened}:void 0))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},o))}sp.toString=()=>Qa(lp);const cp="hope-select__listbox";function up(e){const t=Ya().Select,n=np(),[r,o]=be(e,["ref","class"]);return de(ol,me({ref:e=>{n.assignListboxRef(e),Xo(r.ref)?r.ref(e):r.ref=e},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return Ja(r.class,cp,Ma())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:e=>{e.preventDefault()}},o))}up.toString=()=>Qa(cp);const dp=H(),pp="hope-select__option";function hp(e){const t=Ya().Select,n=np(),[r,o]=w(-1);let i;const[a,l]=be(e,["ref","class","value","textValue","disabled"]),s=()=>{var e,t;return{value:a.value,textValue:null!=(t=null!=(e=a.textValue)?e:null==i?void 0:i.textContent)?t:String(a.value),disabled:!!a.disabled}},c=()=>n.isOptionSelected(s()),u=()=>n.isOptionActiveDescendant(r()),d=e=>{i=e,Xo(a.ref)?a.ref(e):a.ref=e},p=e=>{e.stopPropagation(),n.onOptionClick(r())},h=e=>{if(a.disabled&&n.onOptionMouseMove(-1),u()||a.disabled)return e.preventDefault(),void e.stopPropagation();n.onOptionMouseMove(r())},f={selected:c};return R((()=>{o(n.registerOption(s()))})),S((()=>{u()&&i&&n.scrollToOption(i)})),de(dp.Provider,{value:f,get children(){return de(ol,me({ref:d,role:"option",get id(){return`${n.state.optionIdPrefix}-${r()}`},get"aria-selected"(){return c()},get"data-active"(){return u()?"":void 0},get"data-disabled"(){return a.disabled?"":void 0},"data-group":!0,get class(){return Ja(a.class,pp,La())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.option},onClick:p,onMouseMove:h,get onMouseDown(){return n.onOptionMouseDown}},l))}})}hp.toString=()=>Qa(pp);const fp=Fe('<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),gp=vl({viewBox:"0 0 15 15",path:()=>fp.cloneNode(!0)}),mp="hope-select__option-indicator";function bp(e){const t=Ya().Select,n=function(){const e=z(dp);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}(),[r,o]=be(e,["class","children"]);return de(we,{get when(){return n.selected()},get children(){return de(rl.span,me({get class(){return Ja(r.class,mp,Pa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionIndicator}},o,{get children(){return de(we,{get when(){return r.children},get fallback(){return de(gp,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}bp.toString=()=>Qa(mp);const vp="hope-select__option-text";function yp(e){const t=Ya().Select,[n,r]=be(e,["class"]);return de(rl.span,me({get class(){return Ja(n.class,vp,$a())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionText}},r))}yp.toString=()=>Qa(vp);const Ep="hope-select__placeholder";function _p(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class"]);return de(we,{get when(){return!n.state.hasSelectedOptions},get children(){return de(rl.span,me({get class(){return Ja(r.class,Ep,Na())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.placeholder}},o))}})}_p.toString=()=>Qa(Ep);const Tp="hope-select__tag";function wp(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class","size","variant"]);return de(rl.span,me({get class(){return Ja(r.class,Tp,Aa({size:null!=(t=null!=(e=r.size)?e:n.state.size)?t:"md",variant:(null!=(o=r.variant)?o:"filled"===n.state.variant)?"outline":"subtle"}));var e,t,o},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tag}},o))}wp.toString=()=>Qa(Tp);const kp=Fe('<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),Cp=vl({viewBox:"0 0 15 15",path:()=>kp.cloneNode(!0)}),Sp="hope-select__tag-close-button";function xp(e){const t=Ya().Select,[n,r]=be(e,["class","children"]);return de(rl.button,me({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return Ja(n.class,Sp,Oa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tagCloseButton}},r,{get children(){return de(we,{get when(){return n.children},get fallback(){return de(Cp,{})},get children(){return n.children}})}}))}xp.toString=()=>Qa(Sp);const Ap="hope-select__trigger";function Op(e){const t=Ya().Select,n=np(),[r,o]=be(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]);return de(rl.button,me({ref:e=>{n.assignTriggerRef(e),Xo(r.ref)?r.ref(e):r.ref=e},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 Ja(r.class,Ap,Ca({variant:n.state.variant,size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{Jo(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{Jo(n.onTriggerKeyDown,r.onKeyDown)(e)},onFocus:e=>{Jo(n.formControlProps.onFocus,r.onFocus)(e)},onBlur:e=>{Jo(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(e)}},o))}Op.toString=()=>Qa(Ap);const Np=Fe("<span></span>",2),Ip="hope-select__value";function Rp(e){const t=Ya().Select,n=np(),[r,o]=be(e,["class","children"]),i=j((()=>{var e;return pl(r)?null==(e=r.children)?void 0:e.call(r,{selectedOptions:n.state.selectedOptions}):r.children}));return de(we,{get when(){return n.state.hasSelectedOptions},get children(){return de(we,{get when(){return!i()},get fallback(){return i()},get children(){return de(we,{get when(){return n.state.multiple},get fallback(){return de(ol,me({get class(){return Ja(r.class,Ip,Sa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.singleValue}},o,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return de(ol,me({get class(){return Ja(r.class,Ip,xa({size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.multiValue}},o,{get children(){return de(Te,{get each(){return n.state.selectedOptions},children:e=>de(wp,{get children(){return[(()=>{const t=Np.cloneNode(!0);return We(t,(()=>e.textValue)),t})(),de(xp,{onClick:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),n.unselectOption(t)})(t,e)})]}})})}}))}})}})}})}Rp.toString=()=>Qa(Ip),yi({$$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:`${ki({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}})()}`,"&::before, &::after, *":{visibility:"hidden"}});const Mp=yi({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),Lp="hope-spacer";function $p(e){const[t,n]=be(e,["class"]);return de(ol,me({get class(){return Ja(t.class,Lp,Mp())}},n))}$p.toString=()=>Qa(Lp);const Pp=yi({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:`${Xi}`,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"}}}}),Dp=Fe("<span></span>",2),Bp="hope-spinner";function Fp(e){var t,n,r,o,i,a,l,s;const c=Ya().Spinner,u=me({label:null!=(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.label)?n:"Loading...",size:null!=(o=null==(r=null==c?void 0:c.defaultProps)?void 0:r.size)?o:"md",emptyColor:null==(i=null==c?void 0:c.defaultProps)?void 0:i.emptyColor,color:null==(a=null==c?void 0:c.defaultProps)?void 0:a.color,thickness:null==(l=null==c?void 0:c.defaultProps)?void 0:l.thickness,speed:null==(s=null==c?void 0:c.defaultProps)?void 0:s.speed},e),[d,p]=be(u,["class","children","label","size","emptyColor","color","thickness","speed"]);return de(ol,me({get class(){return Ja(d.class,Bp,Pp({size:d.size,css:{color:d.color,borderWidth:d.thickness,borderBottomColor:d.emptyColor,borderLeftColor:d.emptyColor,animationDuration:d.speed}}))}},p,{get children(){return de(we,{get when(){return d.label},get children(){const e=Dp.cloneNode(!0);return We(e,(()=>d.label)),C((()=>e.className=Wa())),e}})}}))}Fp.toString=()=>Qa(Bp);const Hp=yi(Hs,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),zp=yi(zs),jp=yi(js,{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)"}}}}}),Up=Fe('<input type="checkbox" role="switch">',1);function Gp(e){const t=`hope-switch-${Ee()}`,n=nc(e),[r,o]=Jt({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var e;return null!=(e=n.id)?e: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||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||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,a,l]=be(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),s=e=>{if(r.readOnly||r.disabled)e.preventDefault();else{if(!r.isControlled){const t=e.target;o("_checked",t.checked)}Qo(i.onChange,e)}},c=e=>{o("isFocused",!0),Qo(n.onFocus,e)},u=e=>{o("isFocused",!1),Qo(n.onBlur,e)},d=()=>r,p={state:r};return de(Kp.Provider,{value:p,get children(){return de(rl.label,me({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"]}},l,{get children(){return[(()=>{const e=Up.cloneNode(!0);e.addEventListener("blur",u),e.addEventListener("focus",c),e.addEventListener("change",s);const t=i.ref;return"function"==typeof t?t(e):i.ref=e,C((t=>{const n=Ja(i.inputClass,Wa()),o=i.tabIndex,a=r.value,l=r.id,s=r.name,c=r.checked,u=r.required,d=r.disabled,p=r.readOnly,h=r["aria-required"],f=r["aria-disabled"],g=r["aria-invalid"],m=r["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),o!==t._v$2&&ze(e,"tabindex",t._v$2=o),a!==t._v$3&&(e.value=t._v$3=a),l!==t._v$4&&ze(e,"id",t._v$4=l),s!==t._v$5&&ze(e,"name",t._v$5=s),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&ze(e,"aria-required",t._v$10=h),f!==t._v$11&&ze(e,"aria-disabled",t._v$11=f),g!==t._v$12&&ze(e,"aria-invalid",t._v$12=g),m!==t._v$13&&ze(e,"aria-readonly",t._v$13=m),b!==t._v$14&&ze(e,"aria-label",t._v$14=b),v!==t._v$15&&ze(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&ze(e,"aria-describedby",t._v$16=y),t}),{_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}),e})(),de(we,{get when(){return Xo(i.children)},get fallback(){return i.children},get children(){var e;return null==(e=i.children)?void 0:e.call(i,{state:d})}})]}}))}})}const Kp=H(),Wp="hope-switch",qp="hope-checkbox__input",Vp="hope-switch__control",Yp="hope-switch__label";function Xp(e){var t,n,r,o,i,a,l,s,c,u,d,p;const h=Ya().Switch,f=me({variant:null!=(r=null==(n=null==(t=null==h?void 0:h.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"filled",colorScheme:null!=(a=null==(i=null==(o=null==h?void 0:h.defaultProps)?void 0:o.root)?void 0:i.colorScheme)?a:"primary",size:null!=(c=null==(s=null==(l=null==h?void 0:h.defaultProps)?void 0:l.root)?void 0:s.size)?c:"md",labelPlacement:null!=(p=null==(d=null==(u=null==h?void 0:h.defaultProps)?void 0:u.root)?void 0:d.labelPlacement)?p:"start"},e),[g,m]=be(f,["children","class","variant","colorScheme","size","labelPlacement"]);return de(Gp,me({get class(){return Ja(g.class,Wp,Hp({size:g.size,labelPlacement:g.labelPlacement}))},inputClass:qp,get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.root}},m,{children:({state:e})=>[de(rl.span,{get class(){return Ja(Yp,zp())},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.label},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return g.children}}),de(rl.span,{"aria-hidden":!0,get class(){return Ja(Vp,jp({variant:g.variant,colorScheme:g.colorScheme,size:g.size}))},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.control},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]}})]}))}Xp.toString=()=>Qa(Wp);const Zp=yi({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});function Qp(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},[`& tr:nth-of-type(${e}) td`]:{backgroundColor:"$neutral3"}}}yi({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"}}}});const Jp=yi({variants:{striped:{odd:Qp("odd"),even:Qp("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"}}}]});yi({"& tr:last-of-type th":{borderBottomWidth:0}});const eh=yi({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"}}}}),th=yi({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"}}}}),nh=H(),rh="hope-table";function oh(e){const t=Ya().Table,[n]=Jt({get striped(){var n,r,o;return null!=(o=e.striped)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.striped},get dense(){var n,r,o,i;return null!=(i=null!=(o=e.dense)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.dense)&&i},get highlightOnHover(){var n,r,o,i;return null!=(i=null!=(o=e.highlightOnHover)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.highlightOnHover)&&i}}),[r,o]=be(e,["class","striped","dense","highlightOnHover"]);return de(nh.Provider,{value:n,get children(){return de(ol,me({as:"table",role:"table",get class(){return Ja(r.class,rh,Zp(n))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}function ih(){const e=z(nh);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}oh.toString=()=>Qa(rh);const ah="hope-tbody";function lh(e){const t=Ya().Table,n=ih(),[r,o]=be(e,["class"]);return de(ol,me({as:"tbody",role:"rowgroup",get class(){return Ja(r.class,ah,Jp({striped:n.striped,highlightOnHover:n.highlightOnHover}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tbody}},o))}lh.toString=()=>Qa(ah);const sh="hope-td";function ch(e){const t=Ya().Table,n=ih(),[r,o]=be(e,["class","numeric"]);return de(ol,me({as:"td",role:"cell",get class(){return Ja(r.class,sh,th({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.td}},o))}ch.toString=()=>Qa(sh);const uh="hope-th";function dh(e){const t=Ya().Table,n=ih(),[r,o]=be(e,["class","numeric"]);return de(ol,me({as:"th",role:"columnheader",get class(){return Ja(r.class,uh,eh({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.th}},o))}dh.toString=()=>Qa(uh);const ph="hope-thead";function hh(e){const t=Ya().Table,[n,r]=be(e,["class"]);return de(ol,me({as:"thead",role:"rowgroup",get class(){return Ja(n.class,ph)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.thead}},r))}hh.toString=()=>Qa(ph);const fh="hope-tr";function gh(e){const t=Ya().Table,[n,r]=be(e,["class"]);return de(ol,me({as:"tr",role:"row",get class(){return Ja(n.class,fh)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tr}},r))}function mh(e){return{"&[aria-selected='true']":{color:e}}}function bh(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}gh.toString=()=>Qa(fh),yi({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}}),yi({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"}}]}),yi({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:mh("$primary11")},{variant:"underline",colorScheme:"accent",css:mh("$accent11")},{variant:"underline",colorScheme:"neutral",css:mh("$neutral12")},{variant:"underline",colorScheme:"success",css:mh("$success11")},{variant:"underline",colorScheme:"info",css:mh("$info11")},{variant:"underline",colorScheme:"warning",css:mh("$warning11")},{variant:"underline",colorScheme:"danger",css:mh("$danger11")},{variant:"outline",colorScheme:"primary",css:mh("$primary11")},{variant:"outline",colorScheme:"accent",css:mh("$accent11")},{variant:"outline",colorScheme:"neutral",css:mh("$neutral12")},{variant:"outline",colorScheme:"success",css:mh("$success11")},{variant:"outline",colorScheme:"info",css:mh("$info11")},{variant:"outline",colorScheme:"warning",css:mh("$warning11")},{variant:"outline",colorScheme:"danger",css:mh("$danger11")},{variant:"cards",colorScheme:"primary",css:mh("$primary11")},{variant:"cards",colorScheme:"accent",css:mh("$accent11")},{variant:"cards",colorScheme:"neutral",css:mh("$neutral12")},{variant:"cards",colorScheme:"success",css:mh("$success11")},{variant:"cards",colorScheme:"info",css:mh("$info11")},{variant:"cards",colorScheme:"warning",css:mh("$warning11")},{variant:"cards",colorScheme:"danger",css:mh("$danger11")},{variant:"pills",colorScheme:"primary",css:bh({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:bh({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:bh({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:bh({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:bh({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:bh({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:bh({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"}}}]}),yi({outline:"none",padding:"$4"}),yi({marginInlineStart:"$2"}),yi({marginInlineEnd:"$2"}),yi({noOfLines:1});const vh=yi({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 yh(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,[`& .${vh}`]:{boxSize:e.closeButtonSize}}}function Eh(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${vh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function _h(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${vh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function Th(e){return{borderColor:e.borderColor,color:e.color,[`& .${vh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function wh(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}yi({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"},[`& .${vh}:not(:disabled):hover`]:{backgroundColor:"$neutral4"},[`& .${vh}:not(:disabled):active`]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:yh({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:yh({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:yh({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Eh({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Eh({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Eh({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:Eh({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Eh({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Eh({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Eh({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:_h({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:_h({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:_h({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:_h({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:_h({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:_h({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:_h({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Th({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:Th({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:Th({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:Th({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:Th({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:Th({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:Th({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:wh("$1_5")},{variant:"dot",size:"md",css:wh("$2")},{variant:"dot",size:"lg",css:wh("$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 kh="hope-text";function Ch(e){var t;const n=Ya().Text,r=me({size:null==(t=null==n?void 0:n.defaultProps)?void 0:t.size},e),[o,i]=be(r,["class","size"]);return de(rl.p,me({get class(){return Ja(o.class,kh,du({size:o.size}))},get __baseStyle(){return null==n?void 0:n.baseStyle}},i))}function Sh(e,t){return Object.entries({xs:null!=t?t:"$2",sm:null!=t?t:"$2_5",md:null!=t?t:"$3",lg:null!=t?t:"$4"}).map((([t,n])=>({variant:e,size:t,css:{px:n}})))}Ch.toString=()=>Qa(kh);const xh=yi(va,{minHeight:"80px",py:"$2",compoundVariants:[...Sh("outline"),...Sh("filled"),...Sh("unstyled",0)]}),Ah="hope-textarea";function Oh(e){var t,n,r,o;const i=Ya().Textarea,a=me({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"outline",size:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.size)?o:"md"},e),[l,s]=be(a,["class","variant","size"]),c=nc(e);return de(ol,me({as:"textarea",get class(){return Ja(l.class,Ah,xh({variant:l.variant,size:l.size}))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c,s))}Oh.toString=()=>Qa(Ah);const Nh="hope-tooltip",Ih="hope-tooltip__arrow";function Rh(e){var t,n,r,o,i,a,l,s,c,u,d,p,h,f,g,m,b,v;const y=`hope-tooltip-${Ee()}`,E=Ya().Tooltip,_=me({id:y,placement:null!=(n=null==(t=null==E?void 0:E.defaultProps)?void 0:t.placement)?n:"bottom",offset:null!=(o=null==(r=null==E?void 0:E.defaultProps)?void 0:r.offset)?o:8,withArrow:null!=(a=null==(i=null==E?void 0:E.defaultProps)?void 0:i.withArrow)&&a,arrowSize:null!=(s=null==(l=null==E?void 0:E.defaultProps)?void 0:l.arrowSize)?s:8,arrowPadding:null!=(u=null==(c=null==E?void 0:E.defaultProps)?void 0:c.arrowPadding)?u:8,openDelay:null!=(p=null==(d=null==E?void 0:E.defaultProps)?void 0:d.openDelay)?p:0,closeDelay:null!=(f=null==(h=null==E?void 0:E.defaultProps)?void 0:h.closeDelay)?f:0,closeOnClick:null==(m=null==(g=null==E?void 0:E.defaultProps)?void 0:g.closeOnClick)||m,closeOnMouseDown:null!=(v=null==(b=null==E?void 0:E.defaultProps)?void 0:b.closeOnMouseDown)&&v},e),[T,k]=be(_,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[C,A]=w(!!T.defaultOpened),[O,N]=w(!1);let I,L,$,P;const D=()=>void 0!==T.opened,B=()=>D()?!!T.opened:C();let F;const H=j((()=>T.children)),z=x((()=>{let e=H();for(;Xo(e);)e=e();return e}));async function U(){var e,t,n;const r=z();if(!r||!I)return;const o=[oo(T.offset)];T.inline&&o.push(lo()),o.push(eo()),o.push(io()),T.withArrow&&L&&o.push(qr({element:L,padding:T.arrowPadding})),o.push(ro());const{x:i,y:a,placement:l,middlewareData:s}=await Bo(r,I,{placement:T.placement,middleware:o});if(!I)return;const c=null==(e=s.hide)?void 0:e.referenceHidden;if(Object.assign(I.style,{left:`${Math.round(i)}px`,top:`${Math.round(a)}px`,visibility:c?"hidden":"visible"}),!L)return;const u=null==(t=s.arrow)?void 0:t.x,d=null==(n=s.arrow)?void 0:n.y,p={top:"bottom",right:"left",bottom:"top",left:"right"}[l.split("-")[0]],h=(T.arrowSize?-1*Math.round(T.arrowSize/2):-4)+"px";Object.assign(L.style,{left:null!=u?`${Math.round(u)}px`:"",top:null!=d?`${Math.round(d)}px`:"",right:"",bottom:"",[p]:h})}const G=()=>{var e;D()||A(!0),null==(e=T.onOpen)||e.call(T),U()},K=()=>{var e;D()||A(!1),null==(e=T.onClose)||e.call(T)},W=()=>{T.disabled||($=window.setTimeout(G,T.openDelay))},q=()=>{$&&window.clearTimeout($),P=window.setTimeout(K,T.closeDelay)},V=()=>{T.closeOnClick&&q()},Y=()=>{T.closeOnMouseDown&&q()},X=e=>{B()&&"Escape"===e.key&&q()},Z=()=>{I&&(document.addEventListener("keydown",X),F=Do(z(),I,U))},Q=()=>{document.removeEventListener("keydown",X),null==F||F(),N(!1)};return R((()=>{(()=>{const e=z();e.addEventListener("mouseenter",W),e.addEventListener("focus",W),e.addEventListener("click",V),e.addEventListener("mousedown",Y),e.addEventListener("mouseleave",q),e.addEventListener("blur",q)})()})),M((()=>{(()=>{const e=z();e.removeEventListener("mouseenter",W),e.removeEventListener("focus",W),e.removeEventListener("click",V),e.removeEventListener("mousedown",Y),e.removeEventListener("mouseleave",q),e.removeEventListener("blur",q)})(),window.clearTimeout($),window.clearTimeout(P)})),S((()=>{B()?(N(!0),T.id&&z().setAttribute("aria-describedby",T.id)):z().removeAttribute("aria-describedby")})),[z,de(we,{get when(){return O()},get children(){return de(it,{get children(){return de(nr,{get name(){return Da.scale},appear:!0,onBeforeEnter:U,onAfterEnter:Z,onAfterExit:Q,get children(){return de(we,{get when(){return B()},get children(){return de(ol,me({ref(e){"function"==typeof I?I(e):I=e},role:"tooltip",get id(){return T.id},get class(){return Ja(T.class,Nh,Fa())},get __baseStyle(){return null==E?void 0:E.baseStyle}},k,{get children(){return[De((()=>T.label)),de(we,{get when(){return T.withArrow},get children(){return de(ol,{ref(e){"function"==typeof L?L(e):L=e},get class(){return Ja(Ih,Ha())},get boxSize(){return T.arrowSize}})}})]}}))}})}})}})}})]}function Mh(e={}){const t=`disclosure-${Ee()}`,[n,r]=w(e.defaultIsOpen||!1),o=()=>void 0!==e.isOpen,i=()=>o()?!!e.isOpen:n(),a=()=>{var t;o()||r(!1),null==(t=e.onClose)||t.call(e)},l=()=>{var t;o()||r(!0),null==(t=e.onOpen)||t.call(e)};return{isControlled:o,isOpen:i,onOpen:l,onClose:a,onToggle:()=>{i()?a():l()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}function Lh(e,t,n){const r=e[t]||t.trim().split(".").reduce(((e,t)=>e?e[t]:void 0),e);return void 0!==r?r:n}Rh.toString=()=>Qa(Nh);var $h=H({}),Ph=()=>z($h),Dh=function e(t,n){var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,l=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,s=/^0x[0-9a-f]+$/i,c=/^0/,u=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},d=u(t).replace(a,"")||"",p=u(n).replace(a,"")||"",h=d.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=p.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(d.match(s),16)||1!==h.length&&d.match(l)&&Date.parse(d),m=parseInt(p.match(s),16)||g&&p.match(l)&&Date.parse(p)||null;if(m){if(g<m)return-1;if(g>m)return 1}for(var b=0,v=Math.max(h.length,f.length);b<v;b++){if(r=!(h[b]||"").match(c)&&parseFloat(h[b])||h[b]||0,o=!(f[b]||"").match(c)&&parseFloat(f[b])||f[b]||0,isNaN(r)!==isNaN(o))return isNaN(r)?1:-1;if(typeof r!=typeof o&&(r+="",o+=""),r<o)return-1;if(r>o)return 1}return 0};const Bh=e("e2",Qn(Dh));e("dW",((e,t)=>e===t||e.length===t.length&&e.every(((e,n)=>e===t[n])))),e("dT",M);const Fh=function(e,t,n){if(r.context){const[r,o]=w(e,n);return R((()=>o((()=>t())))),[r,o]}return w(t(),n)};function Hh(e,t,n){const[r,o]=w(),i=n?.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),a=n?.prefix?`${n.prefix}.`:"",l=()=>i.reduce(((t,r)=>{if(null!==t||!r)return t;let i=null;try{i=r.getItem(`${a}${e}`)}catch(l){if(o(l instanceof Error?l:new Error(`Error reading ${a}${e} from ${r.name}`)),n?.throw)throw l}return null!==i&&n?.deserializer?n.deserializer(i+"",e,n.options):i}),null),[s,c]=Fh(t,(()=>l()??t),n);S((()=>{const t=s(),r=n?.serializer?n.serializer(t,e,n.options):t+"",l=`${a}${e}`;try{null===t?i.forEach((e=>null!==e.getItem(l)&&e.removeItem(l))):i.forEach((e=>e.getItem(l)!==r&&e.setItem(l,r,n?.options)))}catch(c){if(o(c instanceof Error?c:new Error(`Error ${null===t?"removing":"writing"} value`)),n?.throw)throw c}}));const u=()=>{const e=l();c(e)};return!1!==n?.sync&&R((()=>{const e=e=>{let t=!1;try{i.forEach((n=>{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)}))}catch(r){if(o(r instanceof Error?r:new Error("Error synching api after event")),n?.throw)throw r}t&&u()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),M((()=>globalThis.removeEventListener("storage",e)))):(i.forEach((t=>t.addEventListener?.("storage",e))),M((()=>i.forEach((t=>t.removeEventListener?.("storage",e))))))})),[Object.assign(s,{error:r}),c,u]}var zh,jh=function(e){const[t,n]=w(),r=e?.throw?(e,t)=>{throw n(e instanceof Error?e:new Error(t)),e}:(e,t)=>{n(e instanceof Error?e:new Error(t))},o=e?.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e?.prefix?`${e.prefix}.`:"",a=new Map,l=new Proxy({},{get(t,n){let l=a.get(n);l||(l=w(void 0,{equals:!1}),a.set(n,l)),l[0]();const s=o.reduce(((e,t)=>{if(null!==e||!t)return e;try{return t.getItem(`${i}${n}`)}catch(o){return r(o,`Error reading ${i}${n} from ${t.name}`),null}}),null);return null!==s&&e?.deserializer?e.deserializer(s,n,e.options):s}});return!1!==e?.sync&&R((()=>{const e=e=>{let t=!1;o.forEach((n=>{try{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)}catch(o){r(o,`Error synching api ${n.name} from storage event (${e.key}=${e.newValue})`)}})),t&&e.key&&a.get(e.key)?.[1]()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),M((()=>globalThis.removeEventListener("storage",e)))):(o.forEach((t=>t.addEventListener?.("storage",e))),M((()=>o.forEach((t=>t.removeEventListener?.("storage",e))))))})),[l,(t,n,l)=>{const s=e?.serializer?e.serializer(n,t,l??e.options):n,c=`${i}${t}`;o.forEach((e=>{try{e.getItem(c)!==s&&e.setItem(c,s)}catch(n){r(n,`Error setting ${i}${t} to ${s} in ${e.name}`)}}));const u=a.get(t);u&&u[1]()},{clear:()=>o.forEach((e=>{try{e.clear()}catch(t){r(t,`Error clearing ${e.name}`)}})),error:t,remove:e=>o.forEach((t=>{try{t.removeItem(`${i}${e}`)}catch(n){r(n,`Error removing ${i}${e} from ${t.name}`)}})),toJSON:()=>{const t={},n=(n,r)=>{if(!t.hasOwnProperty(n)){const o=r&&e?.deserializer?e.deserializer(r,n,e.options):r;o&&(t[n]=o)}};return o.forEach((e=>{if("function"==typeof e.getAll){let t;try{t=e.getAll()}catch(o){r(o,`Error getting all values from in ${e.name}`)}for(const e of t)n(e,t[e])}else{let i,a=0;try{for(;i=e.key(a++);)t.hasOwnProperty(i)||n(i,e.getItem(i))}catch(o){r(o,`Error getting all values from ${e.name}`)}}})),t}}]},Uh=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?`; ${n}=${r.toUTCString()}`:"boolean"==typeof r?`; ${n}`:`; ${n}=${r}`}return t},Gh=(zh={_cookies:[globalThis.document,"cookie"],getItem:e=>Gh._cookies[0][Gh._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)")?.pop()??null,setItem:(e,t,n)=>{const r=Gh.getItem(e);Gh._cookies[0][Gh._cookies[1]]=`${e}=${t}${Uh(n)}`;const o=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:Gh});window.dispatchEvent(o)},removeItem:e=>{Gh._cookies[0][Gh._cookies[1]]=`${e}=deleted${Uh({expires:new Date(0)})}`},key:e=>{let t=null,n=0;return Gh._cookies[0][Gh._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,((r,o)=>(!t&&o&&n++===e&&(t=o),""))),t},get length(){let e=0;return Gh._cookies[0][Gh._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,(t=>(e+=t?1:0,""))),e}},"function"==typeof zh.clear||(zh.clear=()=>{let e;for(;e=zh.key(0);)zh.removeItem(e)}),zh);let Kh=e("cf","");window.OPENLIST_CONFIG.base_path&&(t=>{e("cf",Kh=t),Kh.startsWith("/")||e("cf",Kh="/"+Kh),Kh.endsWith("/")&&e("cf",Kh=Kh.slice(0,-1))})(window.OPENLIST_CONFIG.base_path);let Wh=e("dZ","/");window.OPENLIST_CONFIG.api&&e("dZ",Wh=window.OPENLIST_CONFIG.api),"/"===Wh&&e("dZ",Wh=location.origin+Kh),Wh.endsWith("/")&&e("dZ",Wh=Wh.slice(0,-1)),e("dS",window.OPENLIST_CONFIG.monaco_cdn||"https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.33.0-dev.20220228/min/vs");const qh=e("aG",function(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(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}());var Vh=Fe("<div><div>"),Yh=Fe("<div>");const Xh=e("n",{render:e=>{td.show({render:t=>de(ol,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:Rm(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(r=Vh(),o=r.firstChild,r.style.setProperty("flexGrow","1"),r.style.setProperty("display","flex"),r.style.setProperty("alignItems","center"),o.style.setProperty("margin","auto"),We(o,e),r),(n=Yh(),n.style.setProperty("display","inline-block"),n.style.setProperty("padding","5px"),We(n,de(Ec,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n)];var n,r,o}})})},success:e=>{td.show({status:"success",title:wm(e)})},error:e=>{td.show({status:"danger",title:wm(e)})},info:e=>{td.show({status:"info",title:wm(e)})},warning:e=>{td.show({status:"warning",title:wm(e)})}}),Zh=(...e)=>new URL(Qh(...e),location.origin).pathname,Qh=e("j",((...e)=>e.join("/").replace(/\/{2,}/g,"/"))),Jh=e("R",((...e)=>Qh(Kh,...e))),ef=(e("i",(e=>e.split("/").pop())),e("dQ",(e=>e.split("/").slice(0,-1).join("/")))),tf=e("L",((e,t)=>e.split("/").map((e=>t?encodeURIComponent(e):e.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20"))).join("/"))),nf=e("cO",(e=>e.split(".").pop()??""));e("dY",(e=>e.split(".").slice(0,-1).join("."))),e("d8",(e=>JSON.parse(JSON.stringify(e))));const rf=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},of=e("dR",(e=>Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLowerCase(),null!==t&&"object"==typeof t?of(t):t])))));function af(e,t){return function(){return e.apply(t,arguments)}}const{toString:lf}=Object.prototype,{getPrototypeOf:sf}=Object,{iterator:cf,toStringTag:uf}=Symbol,df=(pf=Object.create(null),e=>{const t=lf.call(e);return pf[t]||(pf[t]=t.slice(8,-1).toLowerCase())});var pf;const hf=e=>(e=e.toLowerCase(),t=>df(t)===e),ff=e=>t=>typeof t===e,{isArray:gf}=Array,mf=ff("undefined"),bf=hf("ArrayBuffer"),vf=ff("string"),yf=ff("function"),Ef=ff("number"),_f=e=>null!==e&&"object"==typeof e,Tf=e=>{if("object"!==df(e))return!1;const t=sf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||uf in e||cf in e)},wf=hf("Date"),kf=hf("File"),Cf=hf("Blob"),Sf=hf("FileList"),xf=hf("URLSearchParams"),[Af,Of,Nf,If]=["ReadableStream","Request","Response","Headers"].map(hf);function Rf(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),gf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Mf(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Lf="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,$f=e=>!mf(e)&&e!==Lf,Pf=(Df="undefined"!=typeof Uint8Array&&sf(Uint8Array),e=>Df&&e instanceof Df);var Df;const Bf=hf("HTMLFormElement"),Ff=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hf=hf("RegExp"),zf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Rf(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},jf=hf("AsyncFunction"),Uf=(Gf="function"==typeof setImmediate,Kf=yf(Lf.postMessage),Gf?setImmediate:Kf?(Wf=`axios@${Math.random()}`,qf=[],Lf.addEventListener("message",(({source:e,data:t})=>{e===Lf&&t===Wf&&qf.length&&qf.shift()()}),!1),e=>{qf.push(e),Lf.postMessage(Wf,"*")}):e=>setTimeout(e));var Gf,Kf,Wf,qf;const Vf="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Lf):"undefined"!=typeof process&&process.nextTick||Uf,Yf={isArray:gf,isArrayBuffer:bf,isBuffer:function(e){return null!==e&&!mf(e)&&null!==e.constructor&&!mf(e.constructor)&&yf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||yf(e.append)&&("formdata"===(t=df(e))||"object"===t&&yf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bf(e.buffer),t},isString:vf,isNumber:Ef,isBoolean:e=>!0===e||!1===e,isObject:_f,isPlainObject:Tf,isReadableStream:Af,isRequest:Of,isResponse:Nf,isHeaders:If,isUndefined:mf,isDate:wf,isFile:kf,isBlob:Cf,isRegExp:Hf,isFunction:yf,isStream:e=>_f(e)&&yf(e.pipe),isURLSearchParams:xf,isTypedArray:Pf,isFileList:Sf,forEach:Rf,merge:function e(){const{caseless:t}=$f(this)&&this||{},n={},r=(r,o)=>{const i=t&&Mf(n,o)||o;Tf(n[i])&&Tf(r)?n[i]=e(n[i],r):Tf(r)?n[i]=e({},r):gf(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Rf(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Rf(t,((t,r)=>{n&&yf(t)?e[r]=af(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(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)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:df,kindOfTest:hf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(gf(e))return e;let t=e.length;if(!Ef(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[cf]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Bf,hasOwnProperty:Ff,hasOwnProp:Ff,reduceDescriptors:zf,freezeMethods:e=>{zf(e,((t,n)=>{if(yf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];yf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return gf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Mf,global:Lf,isContextDefined:$f,isSpecCompliantForm:function(e){return!!(e&&yf(e.append)&&"FormData"===e[uf]&&e[cf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(_f(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=gf(e)?[]:{};return Rf(e,((e,t)=>{const i=n(e,r+1);!mf(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:jf,isThenable:e=>e&&(_f(e)||yf(e))&&yf(e.then)&&yf(e.catch),setImmediate:Uf,asap:Vf,isIterable:e=>null!=e&&yf(e[cf])};function Xf(e,t,n,r,o){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),o&&(this.response=o,this.status=o.status?o.status:null)}Yf.inherits(Xf,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:Yf.toJSONObject(this.config),code:this.code,status:this.status}}});const Zf=Xf.prototype,Qf={};function Jf(e){return Yf.isPlainObject(e)||Yf.isArray(e)}function eg(e){return Yf.endsWith(e,"[]")?e.slice(0,-2):e}function tg(e,t,n){return e?e.concat(t).map((function(e,t){return e=eg(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["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=>{Qf[e]={value:e}})),Object.defineProperties(Xf,Qf),Object.defineProperty(Zf,"isAxiosError",{value:!0}),Xf.from=(e,t,n,r,o,i)=>{const a=Object.create(Zf);return Yf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Xf.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const ng=Yf.toFlatObject(Yf,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rg(e,t,n){if(!Yf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Yf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Yf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Yf.isSpecCompliantForm(t);if(!Yf.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Yf.isDate(e))return e.toISOString();if(!l&&Yf.isBlob(e))throw new Xf("Blob is not supported. Use a Buffer instead.");return Yf.isArrayBuffer(e)||Yf.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let l=e;if(e&&!o&&"object"==typeof e)if(Yf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Yf.isArray(e)&&function(e){return Yf.isArray(e)&&!e.some(Jf)}(e)||(Yf.isFileList(e)||Yf.endsWith(n,"[]"))&&(l=Yf.toArray(e)))return n=eg(n),l.forEach((function(e,r){!Yf.isUndefined(e)&&null!==e&&t.append(!0===a?tg([n],r,i):null===a?n:n+"[]",s(e))})),!1;return!!Jf(e)||(t.append(tg(o,n,i),s(e)),!1)}const u=[],d=Object.assign(ng,{defaultVisitor:c,convertValue:s,isVisitable:Jf});if(!Yf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Yf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Yf.forEach(n,(function(n,i){!0===(!(Yf.isUndefined(n)||null===n)&&o.call(t,n,Yf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t}function og(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ig(e,t){this._pairs=[],e&&rg(e,this,t)}const ag=ig.prototype;function lg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sg(e,t,n){if(!t)return e;const r=n&&n.encode||lg;Yf.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Yf.isURLSearchParams(t)?t.toString():new ig(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}ag.append=function(e,t){this._pairs.push([e,t])},ag.toString=function(e){const t=e?function(t){return e.call(this,t,og)}:og;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const cg=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Yf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ug={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dg={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ig,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pg="undefined"!=typeof window&&"undefined"!=typeof document,hg="object"==typeof navigator&&navigator||void 0,fg=pg&&(!hg||["ReactNative","NativeScript","NS"].indexOf(hg.product)<0),gg="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,mg=pg&&window.location.href||"http://localhost",bg={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pg,hasStandardBrowserEnv:fg,hasStandardBrowserWebWorkerEnv:gg,navigator:hg,origin:mg},Symbol.toStringTag,{value:"Module"})),...dg};function vg(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;return i=!i&&Yf.isArray(r)?r.length:i,l?(Yf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Yf.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Yf.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(Yf.isFormData(e)&&Yf.isFunction(e.entries)){const n={};return Yf.forEachEntry(e,((e,r)=>{t(function(e){return Yf.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const yg={transitional:ug,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Yf.isObject(e);if(o&&Yf.isHTMLForm(e)&&(e=new FormData(e)),Yf.isFormData(e))return r?JSON.stringify(vg(e)):e;if(Yf.isArrayBuffer(e)||Yf.isBuffer(e)||Yf.isStream(e)||Yf.isFile(e)||Yf.isBlob(e)||Yf.isReadableStream(e))return e;if(Yf.isArrayBufferView(e))return e.buffer;if(Yf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return rg(e,new bg.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return bg.isNode&&Yf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Yf.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return rg(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Yf.isString(e))try{return(t||JSON.parse)(e),Yf.trim(e)}catch(Dr){if("SyntaxError"!==Dr.name)throw Dr}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||yg.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Yf.isResponse(e)||Yf.isReadableStream(e))return e;if(e&&Yf.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Dr){if(n){if("SyntaxError"===Dr.name)throw Xf.from(Dr,Xf.ERR_BAD_RESPONSE,this,null,this.response);throw Dr}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bg.classes.FormData,Blob:bg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Yf.forEach(["delete","get","head","post","put","patch"],(e=>{yg.headers[e]={}}));const Eg=yg,_g=Yf.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"]),Tg=Symbol("internals");function wg(e){return e&&String(e).trim().toLowerCase()}function kg(e){return!1===e||null==e?e:Yf.isArray(e)?e.map(kg):String(e)}function Cg(e,t,n,r,o){return Yf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Yf.isString(t)?Yf.isString(r)?-1!==t.indexOf(r):Yf.isRegExp(r)?r.test(t):void 0:void 0)}class Sg{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=wg(t);if(!o)throw new Error("header name must be a non-empty string");const i=Yf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=kg(e))}const i=(e,t)=>Yf.forEach(e,((e,n)=>o(e,n,t)));if(Yf.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Yf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&_g[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Yf.isObject(e)&&Yf.isIterable(e)){let n,r,o={};for(const t of e){if(!Yf.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Yf.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=wg(e)){const n=Yf.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(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}(e);if(Yf.isFunction(t))return t.call(this,e,n);if(Yf.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=wg(e)){const n=Yf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Cg(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=wg(e)){const o=Yf.findKey(n,e);!o||t&&!Cg(0,n[o],o,t)||(delete n[o],r=!0)}}return Yf.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Cg(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Yf.forEach(this,((r,o)=>{const i=Yf.findKey(n,o);if(i)return t[i]=kg(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=kg(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Yf.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Yf.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Tg]=this[Tg]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=wg(e);t[r]||(function(e,t){const n=Yf.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Yf.isArray(e)?e.forEach(r):r(e),this}}Sg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Yf.reduceDescriptors(Sg.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Yf.freezeMethods(Sg);const xg=Sg;function Ag(e,t){const n=this||Eg,r=t||n,o=xg.from(r.headers);let i=r.data;return Yf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Og(e){return!(!e||!e.__CANCEL__)}function Ng(e,t,n){Xf.call(this,null==e?"canceled":e,Xf.ERR_CANCELED,t,n),this.name="CanceledError"}function Ig(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Xf("Request failed with status code "+n.status,[Xf.ERR_BAD_REQUEST,Xf.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Yf.inherits(Ng,Xf,{__CANCEL__:!0});const Rg=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),c=r[a];o||(o=s),n[i]=l,r[i]=s;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const p=c&&s-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),i-l)))},()=>n&&a(n)]}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-r,s=o(l);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Mg=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Lg=e=>(...t)=>Yf.asap((()=>e(...t))),$g=bg.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,bg.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(bg.origin),bg.navigator&&/(msie|trident)/i.test(bg.navigator.userAgent)):()=>!0,Pg=bg.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Yf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Yf.isString(r)&&a.push("path="+r),Yf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Dg(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Bg=e=>e instanceof xg?{...e}:e;function Fg(e,t){t=t||{};const n={};function r(e,t,n,r){return Yf.isPlainObject(e)&&Yf.isPlainObject(t)?Yf.merge.call({caseless:r},e,t):Yf.isPlainObject(t)?Yf.merge({},t):Yf.isArray(t)?t.slice():t}function o(e,t,n,o){return Yf.isUndefined(t)?Yf.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Yf.isUndefined(t))return r(void 0,t)}function a(e,t){return Yf.isUndefined(t)?Yf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>o(Bg(e),Bg(t),0,!0)};return Yf.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=s[r]||o,a=i(e[r],t[r],r);Yf.isUndefined(a)&&i!==l||(n[r]=a)})),n}const Hg=e=>{const t=Fg({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:l,auth:s}=t;if(t.headers=l=xg.from(l),t.url=sg(Dg(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Yf.isFormData(r))if(bg.hasStandardBrowserEnv||bg.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(n=l.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...t].join("; "))}if(bg.hasStandardBrowserEnv&&(o&&Yf.isFunction(o)&&(o=o(t)),o||!1!==o&&$g(t.url))){const e=i&&a&&Pg.read(a);e&&l.set(i,e)}return t},zg="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Hg(e);let o=r.data;const i=xg.from(r.headers).normalize();let a,l,s,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=xg.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ig((function(e){t(e),f()}),(function(e){n(e),f()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Xf("Request aborted",Xf.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new Xf("Network Error",Xf.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ug;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Xf(t,o.clarifyTimeoutError?Xf.ETIMEDOUT:Xf.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Yf.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Yf.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),h&&([s,u]=Rg(h,!0),g.addEventListener("progress",s)),p&&g.upload&&([l,c]=Rg(p),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new Ng(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const b=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);b&&-1===bg.protocols.indexOf(b)?n(new Xf("Unsupported protocol "+b+":",Xf.ERR_BAD_REQUEST,e)):g.send(o||null)}))},jg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Xf?t:new Ng(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Xf(`timeout ${t} of ms exceeded`,Xf.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:l}=r;return l.unsubscribe=()=>Yf.asap(a),l}},Ug=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Gg=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Kg=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Gg(e))yield*Ug(n,t)}(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw l(t),t}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},Wg="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,qg=Wg&&"function"==typeof ReadableStream,Vg=Wg&&("function"==typeof TextEncoder?(Yg=new TextEncoder,e=>Yg.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Yg;const Xg=(e,...t)=>{try{return!!e(...t)}catch(Dr){return!1}},Zg=qg&&Xg((()=>{let e=!1;const t=new Request(bg.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Qg=qg&&Xg((()=>Yf.isReadableStream(new Response("").body))),Jg={stream:Qg&&(e=>e.body)};var em;Wg&&(em=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Jg[e]&&(Jg[e]=Yf.isFunction(em[e])?t=>t[e]():(t,n)=>{throw new Xf(`Response type '${e}' is not supported`,Xf.ERR_NOT_SUPPORT,n)})})));const tm=async(e,t)=>{const n=Yf.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Yf.isBlob(e))return e.size;if(Yf.isSpecCompliantForm(e)){const t=new Request(bg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Yf.isArrayBufferView(e)||Yf.isArrayBuffer(e)?e.byteLength:(Yf.isURLSearchParams(e)&&(e+=""),Yf.isString(e)?(await Vg(e)).byteLength:void 0)})(t):n},nm=Wg&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:s,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=Hg(e);c=c?(c+"").toLowerCase():"text";let h,f=jg([o,i&&i.toAbortSignal()],a);const g=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(s&&Zg&&"get"!==n&&"head"!==n&&0!==(m=await tm(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Yf.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Mg(m,Rg(Lg(s)));r=Kg(n.body,65536,e,t)}}Yf.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(h);const a=Qg&&("stream"===c||"response"===c);if(Qg&&(l||a&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Yf.toFiniteNumber(i.headers.get("content-length")),[n,r]=l&&Mg(t,Rg(Lg(l),!0))||[];i=new Response(Kg(i.body,65536,n,(()=>{r&&r(),g&&g()})),e)}c=c||"text";let b=await Jg[Yf.findKey(Jg,c)||"text"](i,e);return!a&&g&&g(),await new Promise(((t,n)=>{Ig(t,n,{data:b,headers:xg.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(b){if(g&&g(),b&&"TypeError"===b.name&&/Load failed|fetch/i.test(b.message))throw Object.assign(new Xf("Network Error",Xf.ERR_NETWORK,e,h),{cause:b.cause||b});throw Xf.from(b,b&&b.code,e,h)}}),rm={http:null,xhr:zg,fetch:nm};Yf.forEach(rm,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Dr){}Object.defineProperty(e,"adapterName",{value:t})}}));const om=e=>`- ${e}`,im=e=>Yf.isFunction(e)||null===e||!1===e,am=e=>{e=Yf.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!im(n)&&(r=rm[(t=String(n)).toLowerCase()],void 0===r))throw new Xf(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Xf("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(om).join("\n"):" "+om(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function lm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ng(null,e)}function sm(e){return lm(e),e.headers=xg.from(e.headers),e.data=Ag.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),am(e.adapter||Eg.adapter)(e).then((function(t){return lm(e),t.data=Ag.call(e,e.transformResponse,t),t.headers=xg.from(t.headers),t}),(function(t){return Og(t)||(lm(e),t&&t.response&&(t.response.data=Ag.call(e,e.transformResponse,t.response),t.response.headers=xg.from(t.response.headers))),Promise.reject(t)}))}const cm="1.9.0",um={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{um[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const dm={};um.transitional=function(e,t,n){function r(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Xf(r(o," has been removed"+(t?" in "+t:"")),Xf.ERR_DEPRECATED);return t&&!dm[o]&&(dm[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},um.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const pm={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Xf("options must be an object",Xf.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Xf("option "+i+" must be "+n,Xf.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Xf("Unknown option "+i,Xf.ERR_BAD_OPTION)}},validators:um},hm=pm.validators;class fm{constructor(e){this.defaults=e||{},this.interceptors={request:new cg,response:new cg}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Dr){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Fg(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&pm.assertOptions(n,{silentJSONParsing:hm.transitional(hm.boolean),forcedJSONParsing:hm.transitional(hm.boolean),clarifyTimeoutError:hm.transitional(hm.boolean)},!1),null!=r&&(Yf.isFunction(r)?t.paramsSerializer={serialize:r}:pm.assertOptions(r,{encode:hm.function,serialize:hm.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),pm.assertOptions(t,{baseUrl:hm.spelling("baseURL"),withXsrfToken:hm.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Yf.merge(o.common,o[t.method]);o&&Yf.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=xg.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,d=0;if(!l){const e=[sm.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,s),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let p=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{p=e(p)}catch(h){t.call(this,h);break}}try{c=sm.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,u=s.length;d<u;)c=c.then(s[d++],s[d++]);return c}getUri(e){return sg(Dg((e=Fg(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Yf.forEach(["delete","get","head","options"],(function(e){fm.prototype[e]=function(t,n){return this.request(Fg(n||{},{method:e,url:t,data:(n||{}).data}))}})),Yf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Fg(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}fm.prototype[e]=t(),fm.prototype[e+"Form"]=t(!0)}));const gm=fm;class mm{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Ng(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new mm((function(t){e=t}));return{token:t,cancel:e}}}const bm=mm,vm={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};Object.entries(vm).forEach((([e,t])=>{vm[t]=e}));const ym=vm,Em=function e(t){const n=new gm(t),r=af(gm.prototype.request,n);return Yf.extend(r,gm.prototype,n,{allOwnKeys:!0}),Yf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Fg(t,n))},r}(Eg);Em.Axios=gm,Em.CanceledError=Ng,Em.CancelToken=bm,Em.isCancel=Og,Em.VERSION=cm,Em.toFormData=rg,Em.AxiosError=Xf,Em.Cancel=Em.CanceledError,Em.all=function(e){return Promise.all(e)},Em.spread=function(e){return function(t){return e.apply(null,t)}},Em.isAxiosError=function(e){return Yf.isObject(e)&&!0===e.isAxiosError},Em.mergeConfig=Fg,Em.AxiosHeaders=xg,Em.formToJSON=e=>vg(Yf.isHTMLForm(e)?new FormData(e):e),Em.getAdapter=am,Em.HttpStatusCode=ym,Em.default=Em;const _m=e("g",Em),Tm=e("bk",_m.create({baseURL:Wh+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1}));Tm.interceptors.request.use((e=>e),(e=>(console.log("Error: "+e.message),Promise.reject(e)))),Tm.interceptors.response.use((e=>e.data),(e=>(console.error(e),{code:_m.isCancel(e)?-1:e.response?.status,message:e.message}))),Tm.defaults.headers.common.Authorization=localStorage.getItem("token")||"",e("c8",(e=>{Tm.defaults.headers.common.Authorization=e??"",localStorage.setItem("token",e??"")}));const wm=e=>e&&0!==e.length?e.charAt(0).toUpperCase()+e.slice(1):"";e("c9",((e,t)=>e.startsWith(t)?e.slice(t.length):e));const km=e=>e<10?"0"+e:e;e("cx",((e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const e=new URL(t.d_url),n=Date.now();e.searchParams.set("openlist_ts",n.toString()),t.d_url=e.toString()}return n=n.replace(/\$[eb_]*url/,(e=>{const n=e.match(/[eb]/g);let r=t.raw_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r})),n=n.replace(/\$[eb_]*durl/,(e=>{const n=e.match(/[eb]/g);let r=t.d_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r})),n}));const Cm=e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},Sm={"+":"-","/":"_","=":"."},xm=(e("d_",(e=>window.btoa(e).replace(/[+/=]/g,(e=>Sm[e])))),(e,t)=>new TextDecoder(t).decode(e)),Am=e("bl",((e,t,n,r=!0,o=!0,i)=>{if(200===e.code)i&&Xh.success(e.message),t?.(e.data);else{if(o&&Xh.error(e.message),r&&401===e.code)return void("/@manage"===location.pathname?qh.emit("to","/"):qh.emit("to",`/@login?redirect=${encodeURIComponent(location.pathname)}`));n?.(e.message,e.code)}})),Om=e("cm",((e,t,n,r=!0)=>Am(e,t,n,r,!1))),Nm=(e,t,n)=>Am(e,t,n,!1,!1),Im=(e("b6",((e,t,n,r=!0,o=!0)=>Am(e,t,n,r,o,!0))),e("P",(()=>"rgba(132,133,141,0.18)"))),Rm=()=>Za("$whiteAlpha10","$blackAlpha11")(),Mm=e("dX",((e="/",t="",n)=>Tm.post("/fs/get",{path:e,password:t},{cancelToken:n}))),Lm=e("l",((e="/",t="",n=1,r=0,o=!1,i)=>Tm.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:o},{cancelToken:i}))),$m=(e("dx",((e="/",t="",n=!1)=>Tm.post("/fs/dirs",{path:e,password:t,force_root:n}))),e("bc",(e=>Tm.post("/fs/mkdir",{path:e}))),e("b9",((e,t,n)=>Tm.post("/fs/rename",{path:e,name:t,overwrite:n}))),e("bh",((e,t)=>Tm.post("/fs/batch_rename",{src_dir:e,rename_objects:t}))),e("b7",((e,t,n,r)=>Tm.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r}))),e("bd",((e,t,n)=>Tm.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n}))),e("b4",((e,t,n,r)=>Tm.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r}))),e("b8",((e,t)=>Tm.post("/fs/remove",{dir:e,names:t}))),e("bg",(e=>Tm.post("/fs/remove_empty_directory",{src_dir:e}))),e("bb",((e,t,n)=>Tm.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}}))),e("e0",((e="/",t="",n="",r=!1,o)=>Tm.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:o}))),e("e1",((e="/",t="",n="",r="/",o=1,i=0,a=!1,l)=>Tm.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:o,per_page:i,refresh:a},{cancelToken:l}))),e("bM",((e,t,n,r="",o="/",i=!0,a=!1)=>Tm.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:o,cache_full:i,put_into_new_dir:a}))),e("bm",((e,t,n,r)=>Tm.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r}))),e("aj",(async(e,t=!0)=>{try{const n=await _m.get(e,{responseType:"blob",params:t?{openlist_ts:(new Date).getTime()}:void 0}),r=await n.data.arrayBuffer();return{content:r,contentType:n.headers["content-type"]}}catch(Dr){return t?await $m(e,!1):{content:`Failed to fetch ${e}: ${Dr}`,contentType:""}}})));e("cC",(async(e,t,n="",r=0,o=1,i=100)=>Tm.post("/fs/search",{parent:e,keywords:t,scope:r,page:o,per_page:i,password:n}))),e("dr",(async(e=["/"],t=-1)=>Tm.post("/admin/index/build",{paths:e,max_depth:t}))),e("ds",(async(e=[],t=-1)=>Tm.post("/admin/index/update",{paths:e,max_depth:t})));var Pm,Dm={exports:{}},Bm={exports:{}};function Fm(){return Pm||(Pm=1,function(e){!function(t){var n={bytesToHex:function(e){return function(e){return e.map((function(e){return t=e.toString(16),n=2,t.length>n?t:Array(n-t.length+1).join("0")+t;var t,n})).join("")}(e)},hexToBytes:function(e){if(e.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===e.indexOf("0x")&&(e=e.slice(2)),e.match(/../g).map((function(e){return parseInt(e,16)}))}};e.exports?e.exports=n:t.convertHex=n}(Zn)}(Bm)),Bm.exports}var Hm,zm={exports:{}};!function(e){!function(t){var n={};e.exports?(n.bytesToHex=Fm().bytesToHex,n.convertString=(Hm||(Hm=1,function(e){!function(t){var n={bytesToString:function(e){return e.map((function(e){return String.fromCharCode(e)})).join("")},stringToBytes:function(e){return e.split("").map((function(e){return e.charCodeAt(0)}))}};n.UTF8={bytesToString:function(e){return decodeURIComponent(escape(n.bytesToString(e)))},stringToBytes:function(e){return n.stringToBytes(unescape(encodeURIComponent(e)))}},e.exports?e.exports=n:t.convertString=n}(Zn)}(zm)),zm.exports),e.exports=s):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=s);var r=[];!function(){function e(e){for(var t=Math.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)e(n)&&(r[o]=t(Math.pow(n,1/3)),o++),n++}();var o=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},i=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},a=[],l=function(e,t,n){for(var o=e[0],i=e[1],l=e[2],s=e[3],c=e[4],u=e[5],d=e[6],p=e[7],h=0;h<64;h++){if(h<16)a[h]=0|t[n+h];else{var f=a[h-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=a[h-2],b=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;a[h]=g+a[h-7]+b+a[h-16]}var v=o&i^o&l^i&l,y=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),E=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&d)+r[h]+a[h];p=d,d=u,u=c,c=s+E|0,s=l,l=i,i=o,o=E+(y+v)|0}e[0]=e[0]+o|0,e[1]=e[1]+i|0,e[2]=e[2]+l|0,e[3]=e[3]+s|0,e[4]=e[4]+c|0,e[5]=e[5]+u|0,e[6]=e[6]+d|0,e[7]=e[7]+p|0};function s(e,t){e.constructor===String&&(e=n.convertString.UTF8.stringToBytes(e));var r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],a=o(e),s=8*e.length;a[s>>5]|=128<<24-s%32,a[15+(s+64>>9<<4)]=s;for(var c=0;c<a.length;c+=16)l(r,a,c);var u=i(r);return t&&t.asBytes?u:t&&t.asString?n.convertString.bytesToString(u):n.bytesToHex(u)}s.x2=function(e,t){return s(s(e,{asBytes:!0}),t)}}(Zn)}(Dm),e("cc",Qn(Dm.exports));const jm={};document.addEventListener("keydown",(e=>{jm[e.key]=!0})),document.addEventListener("keyup",(e=>{delete jm[e.key]}));const[Um,Gm,{remove:Km,clear:Wm,toJSON:qm}]=jh();e({o:Um,bz:Gm});const Vm=e("bu",[{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:"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"]}]);for(const e of Vm)Um[e.key]||Gm(e.key,e.default);var Ym=e("a7",(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))(Ym||{}));const[Xm,Zm]=Jt({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",state:0,err:""});e("a5",Xm);const Qm=e=>{Zm(e)},Jm=e=>{Zm("obj",e)},eb=e=>{Zm("raw_url",e)},tb=e=>{Zm("provider",e)},nb=e=>{ub.start=-1,ub.end=-1,Zm("objs",e),Zm("obj","is_dir",!0)},rb=e=>{Zm("total",e)},ob=e=>Zm("readme",e),ib=e=>Zm("header",e),ab=e=>Zm("related",e),lb=e=>Zm("write",e),sb=e=>Zm("state",e),cb=e=>Zm("err",e),ub=(e("dJ",((e,t)=>{Bh.insensitive=!0,Zm("objs",nn((n=>n.sort(((n,r)=>(t?-1:1)*Bh(n[e],r[e]))))))})),{start:-1,end:-1}),db=(e("dG",((e,t,n)=>{if(n&&db(!1),jm.Shift){if(ub.start<0)for(let i=0;i<Math.max(e+1,Xm.objs.length-e);++i){if(Xm.objs[e-i]?.selected){ub.start=e-i,ub.end=e-i;break}if(Xm.objs[e+i]?.selected){ub.start=e+i,ub.end=e+i;break}}const t=Math.abs(ub.end-ub.start),n=Math.sign(ub.end-ub.start);for(let e=1;e<=t;++e)Zm("objs",ub.start+n*e,{selected:!1});const r=Math.abs(e-ub.start),o=Math.sign(e-ub.start);for(let e=0;e<=r;++e)Zm("objs",ub.start+o*e,{selected:!0});ub.end=e}else Zm("objs",e,{selected:t}),t?(ub.start=e,ub.end=e):(ub.end=-1,ub.start=-1)})),e("aW",(e=>{Zm("objs",{},(t=>({selected:e})))}))),pb=e("e",(()=>Xm.objs.filter((e=>e.selected)))),hb=(e("dH",(()=>Xm.objs.length===hb())),e("ba",(()=>1===hb())),e("aV",(()=>hb()>0)),e("dI",(()=>hb()>0&&hb()<Xm.objs.length)),x((()=>pb().length))),[fb,gb]=w(location.pathname),mb=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(Dr){return{}}})();qh.on("pathname",(e=>gb(e)));const[bb,vb]=w(mb[fb()]||Um.global_default_layout),[yb,Eb]=(e("aw",(()=>{const e=mb[fb()];return vb(e||Um.global_default_layout),bb()})),e("aC",(e=>{mb[fb()]=e,localStorage.setItem("layoutRecord",JSON.stringify(mb)),vb(e)})),Hh("checkbox-open","false")),_b=e("aU",(()=>"true"===yb())),[Tb,wb]=(e("b1",(()=>{Eb(_b()?"false":"true")})),w(Gh.getItem("browser-password")||""));e("_",Tb),e("a8",(e=>{wb(e),Gh.setItem("browser-password",e)}));const kb={},Cb=e=>{Object.keys(e).forEach((t=>{kb[t]=e[t]}));const t=kb.version||"Unknown";console.log(`%c OpenList %c ${t} %c https://github.com/OpenListTeam/OpenList`,"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")},Sb=e("W",(e=>kb[e]??"")),xb=(e("af",(e=>{const t=Sb(e);return"true"===t||"1"===t})),(e,t)=>{const n=Sb(e);return n?Number(n):t??0}),Ab=e("av",(()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:Sb("main_color")||"#1890ff"));let Ob={};const Nb=e=>{if(!Ob[e])try{Ob[e]=JSON.parse(Sb(e))}catch(Dr){console.error(`failed parse ${e}, use default`,Dr),Ob[e]={}}return Ob[e]},Ib=(e,t)=>{const n=nf(e).toLowerCase(),r=[];for(const o in Nb(t))o.startsWith("/")?Cm(o).test(n)&&r.push(...rf(Nb(t)[o])):o.split(",").includes(n)&&r.push(...rf(Nb(t)[o]));return r},Rb=(e("cF",(e=>Ib(e,"external_previews"))),e("cN",(e=>Ib(e,"iframe_previews"))),e("$",(()=>({type:Sb("pagination_type")||"all",size:xb("default_page_size",30)}))));let Mb;const Lb=()=>(Mb||(Mb=Sb("hide_files").split(/\n/g).filter((e=>!!e.trim())).map((e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)}))),Mb);var $b=e("bQ",(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))($b||{}));const Pb=e("aP",["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress"]),Db=e("aq",{is_guest:e=>1===e.role,is_admin:e=>2===e.role,is_general:e=>0===e.role,can:(e,t)=>1==(e.permission>>t&1)}),[Bb,Fb]=w({});e({ar:Bb,d2:Fb}),e("aY",(e=>{const t=Bb();return Db.can(t,Pb.indexOf(e))}));const Hb=(e,t,n)=>{const[r,o]=w(n??!1);return[r,async(...n)=>{o(!0);const r=await e(...n);return t&&401===r.code||o(!1),r}]},zb=e("b3",((e,t)=>Hb(e,!0,t))),jb=(e("dh",((e,t)=>((e,t,n)=>{const[r,o]=w(n);return[r,async(n,...r)=>{o((()=>n));const i=await e(n,...r);return t&&401===i.code||o(void 0),i}]})(e,!0,t))),e("d",(()=>{const e=St(),t=xt(),n=wt().params,r=x((()=>(e=>{const t=e.replace(Kh,"");return t.startsWith("/")?t:"/"+t})(decodeURIComponent(t.pathname))));return{to:(t,n,r)=>{!n&&t.startsWith("/")&&(t=Jh(t)),dv(decodeURIComponent(t)),e(t,r)},replace:t=>{const n=tf(Qh(ef(r()),t),!0);dv(decodeURIComponent(n)),e(n)},pushHref:e=>tf(Qh(r(),e)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,search:t.search,searchParams:t.query,setSearchParams:(n,o)=>{const i=N((()=>function(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach((([e,t])=>{null==t||""===t?n.delete(e):n.set(e,String(t))}));const r=n.toString();return r?`?${r}`:""}(t.search,n)));e(Jh(r()+i),{scroll:!1,...o,resolve:!0})},params:n}}))),Ub=e("b",(()=>{const[e]=Ph();return(t,n,r)=>{const o=e(t,n,r);if(!o){let e=t.lastIndexOf(".");e===t.length-1&&(e=t.lastIndexOf(".",e-1));const n=t.slice(e+1);return wm(n).split("_").join(" ")}return o}}));let Gb,Kb,Wb=!0;const qb={};let Vb=1;const Yb=e("cy",(()=>Vb)),Xb=e=>{Vb=e},Zb=(e("H",(()=>{const{pathname:e,to:t,searchParams:n}=jb(),[,r]=zb((e=>Mm(e,Tb(),new _m.CancelToken((e=>{Gb=e}))))),o=Rb();"pagination"===o.type&&Xb(parseInt(n.page)||1);const[,i]=zb((e=>{const t={index:e?.index,size:e?.size};return Lm(e?.path,Tb(),t.index,t.size,e?.force,new _m.CancelToken((e=>{Kb=e})))})),a=(t,n=!0,r=!1)=>{r&&(t=Qh(e(),t)),n?qb[t]=!0:delete qb[t]};let l=!1;const s=(e,t,n,r)=>(Gb?.(),Kb?.(),l=n??!1,cb(""),uv(e,t)?(sv(e,t),cv(e,t)):qb[e]?(sv(e,t),u(e,t,void 0,void 0,r)):(sv(e,t),c(e,t))),c=async(e,t)=>{sb(Ym.FetchingObj);const n=await r(e);Om(n,(n=>{Jm(n),tb(n.provider),n.is_dir?(a(e),u(e,t)):(ob(n.readme),ib(n.header),ab(n.related??[]),eb(n.raw_url),sb(Ym.File))}),d)},u=async(e,t,n,r=!1,a)=>{n||(n=o.size),void 0!==n&&"all"===o.type&&(n=void 0),sb(r?Ym.FetchingMore:Ym.FetchingObjs);const l=await i({path:e,index:t,size:n,force:a});Om(l,(e=>{var n;Xb(t??1),r?(n=e.content,Zm("objs",nn((e=>e.push(...n))))):(nb(e.content??[]),rb(e.total)),ob(e.readme),ib(e.header),lb(e.write),tb(e.provider),sb(Ym.Folder)}),d)},d=(n,r)=>{if(403===r)sb(Ym.NeedPassword),l&&Xh.error(n);else{const o=Bb().base_path;if(Wb&&"/"!=o&&e().includes(o)&&n.endsWith("object not found"))return Wb=!1,void t(e().replace(o,""));(void 0===r||r>=0)&&cb(n)}},p=()=>u(e(),Vb+1,void 0,!0);return{handlePathChange:s,setPathAs:a,refresh:async(t,n)=>{const r=e(),i=window.scrollY;if(dv(r,Vb),"load_more"===o.type||"auto_load_more"===o.type){const e=Vb;for(Xb(1),await s(r,Vb,t,n);Vb<e;)await p()}else await s(r,Vb,t,n);window.scroll({top:i,behavior:"smooth"})},loadMore:p,allLoaded:()=>Vb>=Math.ceil(Xm.total/o.size)}})),e("k",((e,t,n="direct",r)=>{"preview"!==n&&(e=Qh(Bb().base_path,e)),e=((e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),t&&"/"===e?"":e))(e,!0);let o=`${e}/${t.name}`;o=tf(o,r);let i=Wh,a="direct"===n?"/d":"/p";"preview"===n&&(a="",Wh.startsWith(location.origin)||(i=location.origin));let l=`${i}${a}${o}`;return"preview"!==n&&t.sign&&(l+=`?sign=${t.sign}`),l}))),Qb=e("ac",(()=>{const{pathname:e}=jb(),t=(t,n,r)=>{const o=Xm.state!==Ym.File?e():ef(e());return Zb(o,t,n,r)},n=(e,n)=>t(e,"direct",n);return{getLinkByObj:t,rawLink:n,proxyLink:(e,n)=>t(e,"proxy",n),previewPage:(e,n)=>t(e,"preview",n),currentObjLink:e=>n(Xm.obj,e)}})),Jb=e("u",(()=>{const{previewPage:e,rawLink:t}=Qb(),n=e=>pb().filter((e=>!e.is_dir)).map((n=>t(n,e)));return{rawLinks:n,previewPagesText:()=>pb().map((t=>e(t,!0))).join("\n"),rawLinksText:e=>n(e).join("\n")}}));e("aR",(()=>{const{copy:e}=ov(),{previewPagesText:t,rawLinksText:n}=Jb(),{currentObjLink:r}=Qb();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:t=>{e(n(t))},copyCurrentRawLink:t=>{e(r(t))}}}));var ev=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}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}},tv={"text/plain":"Text","text/html":"Url",default:"Text"},nv=function(e,t){var n,r,o,i,a,l,s=!1;t||(t={}),n=t.debug||!1;try{if(o=ev(),i=document.createRange(),a=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=tv[t.format]||tv.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),i.selectNodeContents(l),a.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(c){n&&console.error("unable to copy using execCommand: ",c),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(c){n&&console.error("unable to copy using clipboardData: ",c),n&&console.error("falling back to prompt"),r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(r,e)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(i):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return s};const rv=Qn(nv),ov=e("da",(()=>{const e=Ub(),{pathname:t}=jb();return{copy:t=>{rv(t),Xh.success(e("global.copied"))},isHide:e=>{const n=Lb();for(const r of n)if(r.test(Qh(t(),e.name)))return!0;return!1},isHidePath:e=>{const t=Lb();for(const n of t)if(n.test(e))return!0;return!1}}}));function iv(e){const t="string"==typeof e;return{isString:t,text:(n="utf-8")=>e?t?e:xm(e,n):""}}const av=new Map,lv=()=>new Promise((e=>setTimeout(e))),sv=(e,t)=>{const n=e.split("?")[0];return t&&t>1?`${n}?page=${t}`:n},cv=(e("ab",((e,t)=>{const n=JSON.parse(JSON.stringify(Xm));if(![Ym.FetchingMore,Ym.Folder,Ym.File].includes(Xm.state))return;Xm.state===Ym.FetchingMore&&(n.state=Ym.Folder);const r=sv(e,t),o={obj:n,page:t??Yb(),scroll:window.scrollY};av.set(r,o),console.log(`record history: [${r}]`)})),async(e,t)=>{const n=sv(e,t);if(!av.has(n))return;const r=av.get(n);Xb(r.page),sb(Ym.Initial),await lv(),Qm(JSON.parse(JSON.stringify(r.obj))),await lv(),window.scroll({top:r.scroll})}),uv=(e,t)=>{const n=sv(e,t);return av.has(n)},dv=e("cz",((e,t)=>{const n=sv(e,t);uv(e,t)&&(av.delete(n),console.log(`clear history: [${n}]`))}));document.addEventListener("click",(e=>{let t=e.target.closest("a"),n=t?.getAttribute("href");n&&dv(decodeURIComponent(n))}),!0);const pv=()=>de(Bs,{h:"100vh",get children(){return de(Fp,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return Ab()},size:"xl"})}}),hv=e("a2",(e=>{const t=me({py:"$8",size:"xl",thickness:4},e);return de(Bs,{ref(t){var n=e.ref;"function"==typeof n?n(t):e.ref=t},h:"$full",w:"$full",get py(){return t.py},get children(){return de(Fp,{get thickness(){return`${t.thickness}px`},speed:"0.65s",emptyColor:"$neutral4",get color(){return Ab()},get size(){return t.size}})}})}));e("ah",(e=>de(we,{get when(){return!e.loading},get fallback(){return de(hv,{})},get children(){return e.children}}))),e("aF",(e=>de(Bs,{w:"$full",h:"$full",get children(){return de(Fp,me({get color(){return Ab()}},e))}})));var fv=Fe("<svg stroke-width=0>");function gv(e,t){const n=me(e.a,t),[r,o]=be(n,["src"]),[i,a]=w(""),l=x((()=>t.title?`${e.c}<title>${t.title}</title>`:e.c));return S((()=>a(l()))),M((()=>{a("")})),Ge(s=fv(),me({get stroke(){return e.a?.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},o,{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),We(s,(()=>nt)),s;var s}function mv(e){return gv({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 bv(e){return gv({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 vv(e){return gv({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 yv=e("bw",(()=>{const{toggleColorMode:e}=Xa(),t=Za({size:"$8",component:bv,p:"$0_5"},{size:"$8",component:vv,p:"$0_5"});return de(bl,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})})),Ev=e("Y",(function(e,t,n){return e()})),_v="English",Tv=(e("cn",{lang:_v}),"简体中文"),wv=(e("co",{lang:Tv}),Object.assign({"/src/lang/en/index.json":_v,"/src/lang/zh-CN/index.json":Tv})),kv=[];for(const e in wv){const t=e.split("/")[3];kv.push({code:t,lang:wv[e]})}const Cv=kv.find((e=>e.code.toLowerCase()===navigator.language.toLowerCase()))?.code||kv.find((e=>e.code.toLowerCase().split("-")[0]===navigator.language.toLowerCase().split("-")[0]))?.code||"en";let Sv=localStorage.getItem("lang")??"";Sv&&kv.find((e=>e.code===Sv))||(Sv=Cv);const xv={},Av=Object.assign({"/src/lang/en/entry.ts":()=>Ev((()=>t.import("./entry-legacy-f84cdf4a.js")),void 0),"/src/lang/zh-CN/entry.ts":()=>Ev((()=>t.import("./entry-legacy-ef414ba2.js")),void 0)});for(const e in Av){const t=e.split("/")[3];xv[t]=Av[e]}const Ov=new Set,Nv=((e={},t=("undefined"!=typeof navigator&&navigator.language in e?navigator.language:Object.keys(e)[0]??""))=>{const[n,r]=w(t),[o,i]=Jt(e),a={add(e,t){i(e,(e=>Object.assign(e||{},t)))},locale:e=>e?r(e):n(),dict:e=>Lh(o,e)};return[(e,t,r)=>{const i=Lh(o[n()],e,r||"");return"function"==typeof i?i(t):"string"==typeof i?((e,t,n=/{{([^{}]+)}}/g)=>e.replace(n,((e,n)=>Lh(t,n,""))))(i,t||{}):i},a]})({},Sv),[Iv,Rv]=w(Sv);function Mv(e){return gv({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)}e("dP",Iv);const[Lv,$v]=w(!1),Pv=e=>{const[,{locale:t,add:n}]=Ph(),r=async e=>{Ov.has(e)||($v(!0),n(e,(await xv[e]()).default),$v(!1),Ov.add(e)),t(e),Rv(e),localStorage.setItem("lang",e)};return localStorage.getItem("lang")||r(kv.find((e=>e.code===navigator.language))?navigator.language:"en"),[de(Mu,{get children(){return[de(Ku,me({cursor:"pointer"},e)),de(Bu,{get children(){return de(Te,{each:kv,children:(e,t)=>de(Uu,{onSelect:()=>{r(e.code)},get children(){return e.lang}})})}})]}}),de(we,{get when(){return Lv()},get children(){return de(it,{get children(){return de(Bs,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return Za("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return de(Fp,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]};e("bv",(()=>de(Pv,{as:Mv,boxSize:"$8"})));
11
11
  /*!
12
12
  Highlight.js v11.4.0 (git: 2d0e7c1094)
13
13
  (c) 2006-2022 Ivan Sagalaev and other contributors
@@ -24,4 +24,4 @@ var Dv=function(){var e={exports:{}};function t(e){return e instanceof Map?e.cle
24
24
  * @license MIT
25
25
  *)
26
26
  */
27
- function HT(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}const zT={}.hasOwnProperty;function jT(e,t){let n;for(n in t){const r=(zT.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){zT.call(r,i)||(r[i]=[]);const e=o[i];UT(r[i],Array.isArray(e)?e:e?[e]:[])}}}function UT(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);HT(e,0,0,r)}const GT=ZT(/[A-Za-z]/),KT=ZT(/[\dA-Za-z]/);function WT(e){return null!==e&&e<-2}function qT(e){return null!==e&&(e<0||32===e)}function VT(e){return-2===e||-1===e||32===e}const YT=ZT(/[!-\/:-@\[-`\{-~\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]/),XT=ZT(/\s/);function ZT(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}const QT={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},JT={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(tw,s,l)(t):null===t||qT(t)||XT(t)||45!==t&&YT(t)?s(t):(i=!0,e.consume(t),a)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function s(e){return o||r||!i?n(e):t(e)}},partial:!0},ew={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(tw,t,i)(a):null===a||qT(a)||XT(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},tw={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||qT(a)||XT(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||qT(e)||XT(e)?t(e):r(e)}function i(e){return GT(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):GT(t)?(e.consume(t),a):n(t)}},partial:!0},nw={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return KT(e)?n(e):t(e)}},partial:!0},rw={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!cw.call(r,r.previous)||hw(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(QT,e.attempt(JT,e.attempt(ew,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:cw},ow={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!uw.call(r,r.previous)||hw(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(GT(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),i?s:(i=!0,l)):n(t)}function s(t){return null===t||function(e){return null!==e&&(e<32||127===e)}(t)||qT(t)||XT(t)||YT(t)?n(t):e.attempt(JT,e.attempt(ew,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:uw},iw={tokenize:function(e,t,n){const r=this;let o,i;return function(t){return pw(t)&&dw.call(r,r.previous)&&!hw(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return pw(t)?(e.consume(t),a):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(nw,c,s)(t):45===t||95===t||KT(t)?(i=!0,e.consume(t),l):c(t)}function s(t){return e.consume(t),o=!0,l}function c(a){return i&&o&&GT(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:dw},aw={},lw={text:aw};let sw=48;for(;sw<123;)aw[sw]=iw,sw++,58===sw?sw=65:91===sw&&(sw=97);function cw(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||qT(e)}function uw(e){return!GT(e)}function dw(e){return!(47===e||pw(e))}function pw(e){return 43===e||45===e||46===e||95===e||KT(e)}function hw(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!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 fw(e){return null===e||qT(e)||XT(e)?1:YT(e)?2:void 0}function gw(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function mw(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return VT(r)?(e.enter(n),a(r)):t(r)};function a(r){return VT(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}aw[43]=iw,aw[45]=iw,aw[46]=iw,aw[95]=iw,aw[72]=[iw,ow],aw[104]=[iw,ow],aw[87]=[iw,rw],aw[119]=[iw,rw];const bw={tokenize:function(e,t,n){return function(t){return VT(t)?mw(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||WT(e)?t(e):n(e)}},partial:!0},vw=document.createElement("i");function yw(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ew={tokenize:function(e,t,n){const r=this;return mw(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function _w(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const l=yw(r.sliceSerialize({start:a.end,end:r.now()}));return 94===l.codePointAt(0)&&i.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function Tw(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){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)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function ww(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(a>999||93===l&&!i||null===l||91===l||qT(l))return n(l);if(93===l){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(yw(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return qT(l)||(i=!0),a++,e.consume(l),92===l?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function kw(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(l>999||93===t&&!a||null===t||91===t||qT(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=yw(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return qT(t)||(a=!0),l++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),mw(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function Cw(e,t,n){return e.check(bw,t,e.attempt(Ew,t,n))}function Sw(e){e.exit("gfmFootnoteDefinition")}function xw(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),l(t))};function l(i){const s=fw(o);if(126===i)return a>1?r(i):(e.consume(i),a++,l);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=fw(i);return c._open=!u||2===u&&Boolean(s),c._close=!s||2===s&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],l=t.parser.constructs.insideSpan.null;l&&HT(a,a.length,0,gw(l,e.slice(r+1,n),t)),HT(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),HT(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class Aw{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(((e,t)=>e[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function Ow(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}const Nw={flow:{null:{tokenize:function(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?E:l;return i===E&&r.parser.lazy[r.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),s(e)}(t)}function s(t){return null===t?n(t):WT(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):VT(t)?mw(e,s,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||qT(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,VT(t)?mw(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return VT(t)?mw(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||WT(t)?v(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return VT(t)?mw(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?p(n):(null===n||WT(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function E(t){return e.enter("tableRow"),_(t)}function _(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),_):null===n||WT(n)?(e.exit("tableRow"),t(n)):VT(n)?mw(e,_,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||qT(t)?(e.exit("data"),_(t)):(e.consume(t),92===t?w:T)}function w(t){return 92===t||124===t?(e.consume(t),T):T(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new Aw;for(;++i<e.length;){const h=e[i],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==d&&(Rw(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,o=void 0,s=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",r,t]])),l="tableDelimiterRow"===f.type?2:r?3:1):!l||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==s[1]&&(c[0]=c[1],o=Iw(p,t,s,l,void 0,o)),s=c,c=[s[1],i,0,0])):(a=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],o=Iw(p,t,s,l,void 0,o),s=[0,0,0,0]),c[2]=i)):"tableHead"===f.type?(u=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,0!==s[1]?(c[0]=c[1],o=Iw(p,t,s,l,i,o)):0!==c[1]&&(o=Iw(p,t,c,l,i,o)),l=0):!l||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=i)}for(0!==d&&Rw(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Ow(t.events,i))}return e}}}};function Iw(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},Mw(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Mw(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=Mw(t.events,n[2]),i=Mw(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},Mw(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function Rw(e,t,n,r,o){const i=[],a=Mw(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function Mw(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Lw={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return qT(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return WT(r)?t(r):VT(r)?e.check({tokenize:Pw},t,n)(r):n(r)}}},$w={text:{91:Lw}};function Pw(e,t,n){return mw(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function Dw(e){return function(e){const t={};let n=-1;for(;++n<e.length;)jT(t,e[n]);return t}([lw,{document:{91:{tokenize:kw,continuation:{tokenize:Cw},exit:Sw}},text:{91:{tokenize:ww},93:{add:"after",tokenize:_w,resolveTo:Tw}}},xw(e),Nw,$w])}function Bw(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const Fw=e("c",(function(e){if(null==e)return zw;if("string"==typeof e)return function(e){return Hw(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Fw(e[n]);return Hw(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return Hw(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return Hw(e);throw new Error("Expected function, string, or object as test")}));function Hw(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function zw(){return!0}const jw=!0,Uw=!1,Gw=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=Fw(t),i=r?-1:1;!function e(a,l,s){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=[];if((!t||o(a,l,s[s.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[jw,e]:[e]}(n(a,s)),p[0]===Uw))return p;if(a.children&&"skip"!==p[0])for(u=(r?a.children.length:-1)+i,d=s.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===Uw)return c;u="number"==typeof c[1]?c[1]:u+i}return p}}(e,void 0,[])()},Kw={}.hasOwnProperty,Ww=function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=Fw(o.ignore||[]),l=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([qw(e[n][0]),Vw(e[n][1])])}else{let n;for(n in e)Kw.call(e,n)&&t.push([qw(n),Vw(e[n])])}return t}(i);let s=-1;for(;++s<l.length;)Gw(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=l[s][0],o=l[s][1];let i=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let l=o(...d,a);if("string"==typeof l&&(l=l.length>0?{type:"text",value:l}:void 0),!1!==l&&(i!==n&&u.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(l)?u.push(...l):l&&u.push(l),i=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(i<e.value.length&&u.push({type:"text",value:e.value.slice(i)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}};function qw(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Vw(e){return"function"==typeof e?e:()=>e}const Yw="phrasing",Xw=["autolink","link","image","label"],Zw={transforms:[function(e){Ww(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ek],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,tk]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Jw,literalAutolinkHttp:Jw,literalAutolinkWww:Jw},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},Qw={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Yw,notInConstruct:Xw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Yw,notInConstruct:Xw},{character:":",before:"[ps]",after:"\\/",inConstruct:Yw,notInConstruct:Xw}]};function Jw(e){this.config.enter.autolinkProtocol.call(this,e)}function ek(e,t,n,r,o){let i="";if(!nk(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(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])))}(n))return!1;const a=function(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 o=Bw(e,"(");let i=Bw(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function tk(e,t,n,r){return!(!nk(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function nk(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||XT(n)||YT(n))&&(!t||47!==n)}const rk=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ok(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return function(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}(n.slice(t?2:1),t?16:10)}return function(e){const t="&"+e+";";vw.innerHTML=t;const n=vw.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}(n)||e}function ik(e){return e.label||!e.identifier?e.label||"":e.identifier.replace(rk,ok)}function ak(e,t,n,r){let o=r.join.length;for(;o--;){const i=r.join[o](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const lk=/\r?\n|\r/g;function sk(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 ck(e,t){return uk(e,t.inConstruct,!0)&&!uk(e,t.notInConstruct,!1)}function uk(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function dk(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let l=-1;for(;++l<e.unsafe.length;){const t=e.unsafe[l];if(!ck(e.stack,t))continue;const n=sk(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(pk);let s=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(l=-1;++l<o.length;){const e=o[l];e<s||e>=c||e+1<c&&o[l+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[l-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(s!==e&&i.push(hk(r.slice(s,e),"\\")),s=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),s++):i.push("\\"))}return i.push(hk(r.slice(s,c),n.after)),i.join("")}function pk(e,t){return e-t}function hk(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,l=-1,s=0;for(;a=n.exec(i);)r.push(a.index);for(;++l<r.length;)s!==r[l]&&o.push(e.slice(s,r[l])),o.push("\\"),s=r[l];return o.push(e.slice(s)),o.join("")}function fk(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function gk(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function mk(){this.buffer()}function bk(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yw(this.sliceSerialize(e)).toLowerCase()}function vk(e){this.exit(e)}function yk(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ek(){this.buffer()}function _k(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yw(this.sliceSerialize(e)).toLowerCase()}function Tk(e){this.exit(e)}function wk(e,t,n,r){const o=fk(r);let i=o.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=o.move(dk(n,ik(e),{...o.current(),before:i,after:"]"})),l(),a(),i+=o.move("]"),i}function kk(e,t,n,r){const o=fk(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),l=n.enter("label");return i+=o.move(dk(n,ik(e),{...o.current(),before:i,after:"]"})),l(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=lk.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let l=-1;for(r.push(-1);++l<o.length;){const n=o[l];r[r.length-1]=l,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),l<o.length-1&&a.push(i.move(ak(n,o[l+1],e,t)))}return r.pop(),a.join("")}(e,n,o.current()),Ck)),a(),i}function Ck(e,t,n){return 0===t?e:(n?"":" ")+e}function Sk(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++a<o.length;){const c=o[a];let u;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...s.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===l||"\n"===l)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(i.join(""))),i.push(s.move(t.handle(c,e,t,{...s.current(),before:l,after:u}))),l=i[i.length-1].slice(-1)}return r.pop(),i.join("")}wk.peek=function(){return"["},Ok.peek=function(){return"~"};const xk={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Ak={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ok}};function Ok(e,t,n,r){const o=fk(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=Sk(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Nk(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=sk(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function Ik(e){return e.length}function Rk(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Nk.peek=function(){return"`"};const Mk={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:$k,tableHeader:$k,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Pk));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Lk,tableHeader:Lk,tableRow:Lk}};function Lk(e){this.exit(e)}function $k(e){this.enter({type:"tableCell",children:[]},e)}function Pk(e,t){return"|"===t?t:e}function Dk(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=s(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=s(e,n,r),i=l([o]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=Nk(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),l=Sk(e,n,{...r,before:i,after:i});return a(),o(),l}function l(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||Ik,i=[],a=[],l=[],s=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){const a=null==(d=e[u][i])?"":String(d);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===s[i]||e>s[i])&&(s[i]=e)}t.push(a)}a[u]=t,l[u]=r}var d;let p=-1;if("object"==typeof r&&"length"in r)for(;++p<c;)i[p]=Rk(r[p]);else{const e=Rk(r);for(;++p<c;)i[p]=e}p=-1;const h=[],f=[];for(;++p<c;){const e=i[p];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,s[p]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>s[p]&&(s[p]=o),f[p]=o),h[p]=a}a.splice(1,0,h),l.splice(1,0,f),u=-1;const g=[];for(;++u<a.length;){const e=a[u],t=l[u];p=-1;const r=[];for(;++p<c;){const o=e[p]||"";let a="",l="";if(!1!==n.alignDelimiters){const e=s[p]-(t[p]||0),n=i[p];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),l=a):l=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!p||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&p===c-1||r.push("|")}g.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return g.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const i=[],l=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return l(),i}}function Bk(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(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}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),(function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e}));return s(),c}const Fk={exit:{taskListCheckValueChecked:zk,taskListCheckValueUnchecked:zk,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},Hk={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",l=fk(r);i&&l.move(a);let s=Bk(e,t,n,{...r,...l.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),s}}};function zk(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function jk(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",Dw(e)),n("fromMarkdownExtensions",[Zw,{enter:{gfmFootnoteDefinition:gk,gfmFootnoteDefinitionLabelString:mk,gfmFootnoteCall:yk,gfmFootnoteCallString:Ek},exit:{gfmFootnoteDefinition:vk,gfmFootnoteDefinitionLabelString:bk,gfmFootnoteCall:Tk,gfmFootnoteCallString:_k}},xk,Mk,Fk]),n("toMarkdownExtensions",function(e){return{extensions:[Qw,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:kk,footnoteReference:wk}},Ak,Dk(e),Hk]}}(e))}var Uk={};const Gk=[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];Uk.REPLACEMENT_CHARACTER="�",Uk.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},Uk.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},Uk.isSurrogate=function(e){return e>=55296&&e<=57343},Uk.isSurrogatePair=function(e){return e>=56320&&e<=57343},Uk.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},Uk.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},Uk.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||Gk.indexOf(e)>-1};var Kk={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const Wk=Uk,qk=Kk,Vk=Wk.CODE_POINTS;var Yk=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(Wk.isSurrogatePair(t))return this.pos++,this._addGap(),Wk.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Vk.EOF;return this._err(qk.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Vk.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===Vk.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===Vk.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Vk.LINE_FEED):(this.skipNextNewLine=!1,Wk.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===Vk.LINE_FEED||e===Vk.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Wk.isControlCodePoint(e)?this._err(qk.controlCharacterInInputStream):Wk.isUndefinedCodePoint(e)&&this._err(qk.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}},Xk=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,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,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const Zk=Yk,Qk=Uk,Jk=Xk,eC=Kk,tC=Qk.CODE_POINTS,nC=Qk.CODE_POINT_SEQUENCES,rC={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},oC="DATA_STATE",iC="RCDATA_STATE",aC="RAWTEXT_STATE",lC="SCRIPT_DATA_STATE",sC="PLAINTEXT_STATE",cC="TAG_OPEN_STATE",uC="END_TAG_OPEN_STATE",dC="TAG_NAME_STATE",pC="RCDATA_LESS_THAN_SIGN_STATE",hC="RCDATA_END_TAG_OPEN_STATE",fC="RCDATA_END_TAG_NAME_STATE",gC="RAWTEXT_LESS_THAN_SIGN_STATE",mC="RAWTEXT_END_TAG_OPEN_STATE",bC="RAWTEXT_END_TAG_NAME_STATE",vC="SCRIPT_DATA_LESS_THAN_SIGN_STATE",yC="SCRIPT_DATA_END_TAG_OPEN_STATE",EC="SCRIPT_DATA_END_TAG_NAME_STATE",_C="SCRIPT_DATA_ESCAPE_START_STATE",TC="SCRIPT_DATA_ESCAPE_START_DASH_STATE",wC="SCRIPT_DATA_ESCAPED_STATE",kC="SCRIPT_DATA_ESCAPED_DASH_STATE",CC="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",SC="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",xC="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",AC="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",OC="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",NC="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",IC="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",RC="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",MC="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",LC="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",$C="BEFORE_ATTRIBUTE_NAME_STATE",PC="ATTRIBUTE_NAME_STATE",DC="AFTER_ATTRIBUTE_NAME_STATE",BC="BEFORE_ATTRIBUTE_VALUE_STATE",FC="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",HC="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",zC="ATTRIBUTE_VALUE_UNQUOTED_STATE",jC="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",UC="SELF_CLOSING_START_TAG_STATE",GC="BOGUS_COMMENT_STATE",KC="MARKUP_DECLARATION_OPEN_STATE",WC="COMMENT_START_STATE",qC="COMMENT_START_DASH_STATE",VC="COMMENT_STATE",YC="COMMENT_LESS_THAN_SIGN_STATE",XC="COMMENT_LESS_THAN_SIGN_BANG_STATE",ZC="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",QC="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",JC="COMMENT_END_DASH_STATE",eS="COMMENT_END_STATE",tS="COMMENT_END_BANG_STATE",nS="DOCTYPE_STATE",rS="BEFORE_DOCTYPE_NAME_STATE",oS="DOCTYPE_NAME_STATE",iS="AFTER_DOCTYPE_NAME_STATE",aS="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",lS="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",sS="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",cS="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",uS="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",dS="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",pS="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",hS="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",fS="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",gS="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",mS="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",bS="BOGUS_DOCTYPE_STATE",vS="CDATA_SECTION_STATE",yS="CDATA_SECTION_BRACKET_STATE",ES="CDATA_SECTION_END_STATE",_S="CHARACTER_REFERENCE_STATE",TS="NAMED_CHARACTER_REFERENCE_STATE",wS="AMBIGUOS_AMPERSAND_STATE",kS="NUMERIC_CHARACTER_REFERENCE_STATE",CS="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",SS="DECIMAL_CHARACTER_REFERENCE_START_STATE",xS="HEXADEMICAL_CHARACTER_REFERENCE_STATE",AS="DECIMAL_CHARACTER_REFERENCE_STATE",OS="NUMERIC_CHARACTER_REFERENCE_END_STATE";function NS(e){return e===tC.SPACE||e===tC.LINE_FEED||e===tC.TABULATION||e===tC.FORM_FEED}function IS(e){return e>=tC.DIGIT_0&&e<=tC.DIGIT_9}function RS(e){return e>=tC.LATIN_CAPITAL_A&&e<=tC.LATIN_CAPITAL_Z}function MS(e){return e>=tC.LATIN_SMALL_A&&e<=tC.LATIN_SMALL_Z}function LS(e){return MS(e)||RS(e)}function $S(e){return LS(e)||IS(e)}function PS(e){return e>=tC.LATIN_CAPITAL_A&&e<=tC.LATIN_CAPITAL_F}function DS(e){return e>=tC.LATIN_SMALL_A&&e<=tC.LATIN_SMALL_F}function BS(e){return e+32}function FS(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function HS(e){return String.fromCharCode(BS(e))}function zS(e,t){const n=Jk[++e];let r=++e,o=r+n-1;for(;r<=o;){const e=r+o>>>1,i=Jk[e];if(i<t)r=e+1;else{if(!(i>t))return Jk[e+n];o=e-1}}return-1}let jS=class e{constructor(){this.preprocessor=new Zk,this.tokenQueue=[],this.allowCDATA=!1,this.state=oC,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:e.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0;const i=e.length;let a,l=0,s=t;for(;l<i;l++){if(l>0&&(s=this._consume(),r++),s===tC.EOF){o=!1;break}if(a=e[l],s!==a&&(n||s!==BS(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==nC.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==nC.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:e.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:e.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:e.COMMENT_TOKEN,data:""}}_createDoctypeToken(t){this.currentToken={type:e.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:e.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(t){null===e.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(eC.duplicateAttribute),this.state=t}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const t=this.currentToken;this.currentToken=null,t.type===e.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===e.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(eC.endTagWithAttributes),t.selfClosing&&this._err(eC.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(t){let n=e.CHARACTER_TOKEN;NS(t)?n=e.WHITESPACE_CHARACTER_TOKEN:t===tC.NULL&&(n=e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,FS(t))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(t){this._appendCharToCurrentCharacterToken(e.CHARACTER_TOKEN,t)}_matchNamedCharacterReference(e){let t=null,n=1,r=zS(0,e);for(this.tempBuff.push(e);r>-1;){const e=Jk[r],o=e<7;o&&1&e&&(t=2&e?[Jk[++r],Jk[++r]]:[Jk[++r]],n=0);const i=this._consume();if(this.tempBuff.push(i),n++,i===tC.EOF)break;r=o?4&e?zS(r,i):-1:i===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===FC||this.returnState===HC||this.returnState===zC}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===tC.EQUALS_SIGN||$S(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=FS(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[oC](e){this.preprocessor.dropParsedChunk(),e===tC.LESS_THAN_SIGN?this.state=cC:e===tC.AMPERSAND?(this.returnState=oC,this.state=_S):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitCodePoint(e)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[iC](e){this.preprocessor.dropParsedChunk(),e===tC.AMPERSAND?(this.returnState=iC,this.state=_S):e===tC.LESS_THAN_SIGN?this.state=pC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[aC](e){this.preprocessor.dropParsedChunk(),e===tC.LESS_THAN_SIGN?this.state=gC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[lC](e){this.preprocessor.dropParsedChunk(),e===tC.LESS_THAN_SIGN?this.state=vC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[sC](e){this.preprocessor.dropParsedChunk(),e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[cC](e){e===tC.EXCLAMATION_MARK?this.state=KC:e===tC.SOLIDUS?this.state=uC:LS(e)?(this._createStartTagToken(),this._reconsumeInState(dC)):e===tC.QUESTION_MARK?(this._err(eC.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(GC)):e===tC.EOF?(this._err(eC.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(eC.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(oC))}[uC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(dC)):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingEndTagName),this.state=oC):e===tC.EOF?(this._err(eC.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(eC.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(GC))}[dC](e){NS(e)?this.state=$C:e===tC.SOLIDUS?this.state=UC:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):RS(e)?this.currentToken.tagName+=HS(e):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.tagName+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=FS(e)}[pC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=hC):(this._emitChars("<"),this._reconsumeInState(iC))}[hC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(fC)):(this._emitChars("</"),this._reconsumeInState(iC))}[fC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this.state=oC,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(iC)}}[gC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=mC):(this._emitChars("<"),this._reconsumeInState(aC))}[mC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(bC)):(this._emitChars("</"),this._reconsumeInState(aC))}[bC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=oC)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(aC)}}[vC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=yC):e===tC.EXCLAMATION_MARK?(this.state=_C,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(lC))}[yC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(EC)):(this._emitChars("</"),this._reconsumeInState(lC))}[EC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=oC)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(lC)}}[_C](e){e===tC.HYPHEN_MINUS?(this.state=TC,this._emitChars("-")):this._reconsumeInState(lC)}[TC](e){e===tC.HYPHEN_MINUS?(this.state=CC,this._emitChars("-")):this._reconsumeInState(lC)}[wC](e){e===tC.HYPHEN_MINUS?(this.state=kC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?this.state=SC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[kC](e){e===tC.HYPHEN_MINUS?(this.state=CC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?this.state=SC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=wC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=wC,this._emitCodePoint(e))}[CC](e){e===tC.HYPHEN_MINUS?this._emitChars("-"):e===tC.LESS_THAN_SIGN?this.state=SC:e===tC.GREATER_THAN_SIGN?(this.state=lC,this._emitChars(">")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=wC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=wC,this._emitCodePoint(e))}[SC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=xC):LS(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(OC)):(this._emitChars("<"),this._reconsumeInState(wC))}[xC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(AC)):(this._emitChars("</"),this._reconsumeInState(wC))}[AC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=oC)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(wC)}}[OC](e){NS(e)||e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?NC:wC,this._emitCodePoint(e)):RS(e)?(this.tempBuff.push(BS(e)),this._emitCodePoint(e)):MS(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(wC)}[NC](e){e===tC.HYPHEN_MINUS?(this.state=IC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?(this.state=MC,this._emitChars("<")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[IC](e){e===tC.HYPHEN_MINUS?(this.state=RC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?(this.state=MC,this._emitChars("<")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=NC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=NC,this._emitCodePoint(e))}[RC](e){e===tC.HYPHEN_MINUS?this._emitChars("-"):e===tC.LESS_THAN_SIGN?(this.state=MC,this._emitChars("<")):e===tC.GREATER_THAN_SIGN?(this.state=lC,this._emitChars(">")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=NC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=NC,this._emitCodePoint(e))}[MC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=LC,this._emitChars("/")):this._reconsumeInState(NC)}[LC](e){NS(e)||e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?wC:NC,this._emitCodePoint(e)):RS(e)?(this.tempBuff.push(BS(e)),this._emitCodePoint(e)):MS(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(NC)}[$C](e){NS(e)||(e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN||e===tC.EOF?this._reconsumeInState(DC):e===tC.EQUALS_SIGN?(this._err(eC.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=PC):(this._createAttr(""),this._reconsumeInState(PC)))}[PC](e){NS(e)||e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN||e===tC.EOF?(this._leaveAttrName(DC),this._unconsume()):e===tC.EQUALS_SIGN?this._leaveAttrName(BC):RS(e)?this.currentAttr.name+=HS(e):e===tC.QUOTATION_MARK||e===tC.APOSTROPHE||e===tC.LESS_THAN_SIGN?(this._err(eC.unexpectedCharacterInAttributeName),this.currentAttr.name+=FS(e)):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.name+=Qk.REPLACEMENT_CHARACTER):this.currentAttr.name+=FS(e)}[DC](e){NS(e)||(e===tC.SOLIDUS?this.state=UC:e===tC.EQUALS_SIGN?this.state=BC:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(PC)))}[BC](e){NS(e)||(e===tC.QUOTATION_MARK?this.state=FC:e===tC.APOSTROPHE?this.state=HC:e===tC.GREATER_THAN_SIGN?(this._err(eC.missingAttributeValue),this.state=oC,this._emitCurrentToken()):this._reconsumeInState(zC))}[FC](e){e===tC.QUOTATION_MARK?this.state=jC:e===tC.AMPERSAND?(this.returnState=FC,this.state=_S):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.value+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentAttr.value+=FS(e)}[HC](e){e===tC.APOSTROPHE?this.state=jC:e===tC.AMPERSAND?(this.returnState=HC,this.state=_S):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.value+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentAttr.value+=FS(e)}[zC](e){NS(e)?this._leaveAttrValue($C):e===tC.AMPERSAND?(this.returnState=zC,this.state=_S):e===tC.GREATER_THAN_SIGN?(this._leaveAttrValue(oC),this._emitCurrentToken()):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.value+=Qk.REPLACEMENT_CHARACTER):e===tC.QUOTATION_MARK||e===tC.APOSTROPHE||e===tC.LESS_THAN_SIGN||e===tC.EQUALS_SIGN||e===tC.GRAVE_ACCENT?(this._err(eC.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=FS(e)):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentAttr.value+=FS(e)}[jC](e){NS(e)?this._leaveAttrValue($C):e===tC.SOLIDUS?this._leaveAttrValue(UC):e===tC.GREATER_THAN_SIGN?(this._leaveAttrValue(oC),this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):(this._err(eC.missingWhitespaceBetweenAttributes),this._reconsumeInState($C))}[UC](e){e===tC.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):(this._err(eC.unexpectedSolidusInTag),this._reconsumeInState($C))}[GC](e){e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.data+=Qk.REPLACEMENT_CHARACTER):this.currentToken.data+=FS(e)}[KC](e){this._consumeSequenceIfMatch(nC.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=WC):this._consumeSequenceIfMatch(nC.DOCTYPE_STRING,e,!1)?this.state=nS:this._consumeSequenceIfMatch(nC.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=vS:(this._err(eC.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=GC):this._ensureHibernation()||(this._err(eC.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(GC))}[WC](e){e===tC.HYPHEN_MINUS?this.state=qC:e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptClosingOfEmptyComment),this.state=oC,this._emitCurrentToken()):this._reconsumeInState(VC)}[qC](e){e===tC.HYPHEN_MINUS?this.state=eS:e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptClosingOfEmptyComment),this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(VC))}[VC](e){e===tC.HYPHEN_MINUS?this.state=JC:e===tC.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=YC):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.data+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=FS(e)}[YC](e){e===tC.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=XC):e===tC.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(VC)}[XC](e){e===tC.HYPHEN_MINUS?this.state=ZC:this._reconsumeInState(VC)}[ZC](e){e===tC.HYPHEN_MINUS?this.state=QC:this._reconsumeInState(JC)}[QC](e){e!==tC.GREATER_THAN_SIGN&&e!==tC.EOF&&this._err(eC.nestedComment),this._reconsumeInState(eS)}[JC](e){e===tC.HYPHEN_MINUS?this.state=eS:e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(VC))}[eS](e){e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EXCLAMATION_MARK?this.state=tS:e===tC.HYPHEN_MINUS?this.currentToken.data+="-":e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(VC))}[tS](e){e===tC.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=JC):e===tC.GREATER_THAN_SIGN?(this._err(eC.incorrectlyClosedComment),this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(VC))}[nS](e){NS(e)?this.state=rS:e===tC.GREATER_THAN_SIGN?this._reconsumeInState(rS):e===tC.EOF?(this._err(eC.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(rS))}[rS](e){NS(e)||(RS(e)?(this._createDoctypeToken(HS(e)),this.state=oS):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._createDoctypeToken(Qk.REPLACEMENT_CHARACTER),this.state=oS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(FS(e)),this.state=oS))}[oS](e){NS(e)?this.state=iS:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):RS(e)?this.currentToken.name+=HS(e):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.name+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=FS(e)}[iS](e){NS(e)||(e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(nC.PUBLIC_STRING,e,!1)?this.state=aS:this._consumeSequenceIfMatch(nC.SYSTEM_STRING,e,!1)?this.state=pS:this._ensureHibernation()||(this._err(eC.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[aS](e){NS(e)?this.state=lS:e===tC.QUOTATION_MARK?(this._err(eC.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=sS):e===tC.APOSTROPHE?(this._err(eC.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=cS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS))}[lS](e){NS(e)||(e===tC.QUOTATION_MARK?(this.currentToken.publicId="",this.state=sS):e===tC.APOSTROPHE?(this.currentToken.publicId="",this.state=cS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[sS](e){e===tC.QUOTATION_MARK?this.state=uS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.publicId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=FS(e)}[cS](e){e===tC.APOSTROPHE?this.state=uS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.publicId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=FS(e)}[uS](e){NS(e)?this.state=dS:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.QUOTATION_MARK?(this._err(eC.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this._err(eC.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=gS):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS))}[dS](e){NS(e)||(e===tC.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=oC):e===tC.QUOTATION_MARK?(this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this.currentToken.systemId="",this.state=gS):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[pS](e){NS(e)?this.state=hS:e===tC.QUOTATION_MARK?(this._err(eC.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this._err(eC.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=gS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS))}[hS](e){NS(e)||(e===tC.QUOTATION_MARK?(this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this.currentToken.systemId="",this.state=gS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[fS](e){e===tC.QUOTATION_MARK?this.state=mS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.systemId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=FS(e)}[gS](e){e===tC.APOSTROPHE?this.state=mS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.systemId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=FS(e)}[mS](e){NS(e)||(e===tC.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(bS)))}[bS](e){e===tC.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=oC):e===tC.NULL?this._err(eC.unexpectedNullCharacter):e===tC.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[vS](e){e===tC.RIGHT_SQUARE_BRACKET?this.state=yS:e===tC.EOF?(this._err(eC.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[yS](e){e===tC.RIGHT_SQUARE_BRACKET?this.state=ES:(this._emitChars("]"),this._reconsumeInState(vS))}[ES](e){e===tC.GREATER_THAN_SIGN?this.state=oC:e===tC.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(vS))}[_S](e){this.tempBuff=[tC.AMPERSAND],e===tC.NUMBER_SIGN?(this.tempBuff.push(e),this.state=kS):$S(e)?this._reconsumeInState(TS):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[TS](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[tC.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===tC.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(eC.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=wS}[wS](e){$S(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=FS(e):this._emitCodePoint(e):(e===tC.SEMICOLON&&this._err(eC.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[kS](e){this.charRefCode=0,e===tC.LATIN_SMALL_X||e===tC.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=CS):this._reconsumeInState(SS)}[CS](e){!function(e){return IS(e)||PS(e)||DS(e)}(e)?(this._err(eC.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(xS)}[SS](e){IS(e)?this._reconsumeInState(AS):(this._err(eC.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[xS](e){PS(e)?this.charRefCode=16*this.charRefCode+e-55:DS(e)?this.charRefCode=16*this.charRefCode+e-87:IS(e)?this.charRefCode=16*this.charRefCode+e-48:e===tC.SEMICOLON?this.state=OS:(this._err(eC.missingSemicolonAfterCharacterReference),this._reconsumeInState(OS))}[AS](e){IS(e)?this.charRefCode=10*this.charRefCode+e-48:e===tC.SEMICOLON?this.state=OS:(this._err(eC.missingSemicolonAfterCharacterReference),this._reconsumeInState(OS))}[OS](){if(this.charRefCode===tC.NULL)this._err(eC.nullCharacterReference),this.charRefCode=tC.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(eC.characterReferenceOutsideUnicodeRange),this.charRefCode=tC.REPLACEMENT_CHARACTER;else if(Qk.isSurrogate(this.charRefCode))this._err(eC.surrogateCharacterReference),this.charRefCode=tC.REPLACEMENT_CHARACTER;else if(Qk.isUndefinedCodePoint(this.charRefCode))this._err(eC.noncharacterCharacterReference);else if(Qk.isControlCodePoint(this.charRefCode)||this.charRefCode===tC.CARRIAGE_RETURN){this._err(eC.controlCharacterReference);const e=rC[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};jS.CHARACTER_TOKEN="CHARACTER_TOKEN",jS.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",jS.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",jS.START_TAG_TOKEN="START_TAG_TOKEN",jS.END_TAG_TOKEN="END_TAG_TOKEN",jS.COMMENT_TOKEN="COMMENT_TOKEN",jS.DOCTYPE_TOKEN="DOCTYPE_TOKEN",jS.EOF_TOKEN="EOF_TOKEN",jS.HIBERNATION_TOKEN="HIBERNATION_TOKEN",jS.MODE={DATA:oC,RCDATA:iC,RAWTEXT:aC,SCRIPT_DATA:lC,PLAINTEXT:sC},jS.getTokenAttr=function(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};var US=jS,GS={};const KS=GS.NAMESPACES={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/"};GS.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},GS.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const WS=GS.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};GS.SPECIAL_ELEMENTS={[KS.HTML]:{[WS.ADDRESS]:!0,[WS.APPLET]:!0,[WS.AREA]:!0,[WS.ARTICLE]:!0,[WS.ASIDE]:!0,[WS.BASE]:!0,[WS.BASEFONT]:!0,[WS.BGSOUND]:!0,[WS.BLOCKQUOTE]:!0,[WS.BODY]:!0,[WS.BR]:!0,[WS.BUTTON]:!0,[WS.CAPTION]:!0,[WS.CENTER]:!0,[WS.COL]:!0,[WS.COLGROUP]:!0,[WS.DD]:!0,[WS.DETAILS]:!0,[WS.DIR]:!0,[WS.DIV]:!0,[WS.DL]:!0,[WS.DT]:!0,[WS.EMBED]:!0,[WS.FIELDSET]:!0,[WS.FIGCAPTION]:!0,[WS.FIGURE]:!0,[WS.FOOTER]:!0,[WS.FORM]:!0,[WS.FRAME]:!0,[WS.FRAMESET]:!0,[WS.H1]:!0,[WS.H2]:!0,[WS.H3]:!0,[WS.H4]:!0,[WS.H5]:!0,[WS.H6]:!0,[WS.HEAD]:!0,[WS.HEADER]:!0,[WS.HGROUP]:!0,[WS.HR]:!0,[WS.HTML]:!0,[WS.IFRAME]:!0,[WS.IMG]:!0,[WS.INPUT]:!0,[WS.LI]:!0,[WS.LINK]:!0,[WS.LISTING]:!0,[WS.MAIN]:!0,[WS.MARQUEE]:!0,[WS.MENU]:!0,[WS.META]:!0,[WS.NAV]:!0,[WS.NOEMBED]:!0,[WS.NOFRAMES]:!0,[WS.NOSCRIPT]:!0,[WS.OBJECT]:!0,[WS.OL]:!0,[WS.P]:!0,[WS.PARAM]:!0,[WS.PLAINTEXT]:!0,[WS.PRE]:!0,[WS.SCRIPT]:!0,[WS.SECTION]:!0,[WS.SELECT]:!0,[WS.SOURCE]:!0,[WS.STYLE]:!0,[WS.SUMMARY]:!0,[WS.TABLE]:!0,[WS.TBODY]:!0,[WS.TD]:!0,[WS.TEMPLATE]:!0,[WS.TEXTAREA]:!0,[WS.TFOOT]:!0,[WS.TH]:!0,[WS.THEAD]:!0,[WS.TITLE]:!0,[WS.TR]:!0,[WS.TRACK]:!0,[WS.UL]:!0,[WS.WBR]:!0,[WS.XMP]:!0},[KS.MATHML]:{[WS.MI]:!0,[WS.MO]:!0,[WS.MN]:!0,[WS.MS]:!0,[WS.MTEXT]:!0,[WS.ANNOTATION_XML]:!0},[KS.SVG]:{[WS.TITLE]:!0,[WS.FOREIGN_OBJECT]:!0,[WS.DESC]:!0}};const qS=GS,VS=qS.TAG_NAMES,YS=qS.NAMESPACES;function XS(e){switch(e.length){case 1:return e===VS.P;case 2:return e===VS.RB||e===VS.RP||e===VS.RT||e===VS.DD||e===VS.DT||e===VS.LI;case 3:return e===VS.RTC;case 6:return e===VS.OPTION;case 8:return e===VS.OPTGROUP}return!1}function ZS(e){switch(e.length){case 1:return e===VS.P;case 2:return e===VS.RB||e===VS.RP||e===VS.RT||e===VS.DD||e===VS.DT||e===VS.LI||e===VS.TD||e===VS.TH||e===VS.TR;case 3:return e===VS.RTC;case 5:return e===VS.TBODY||e===VS.TFOOT||e===VS.THEAD;case 6:return e===VS.OPTION;case 7:return e===VS.CAPTION;case 8:return e===VS.OPTGROUP||e===VS.COLGROUP}return!1}function QS(e,t){switch(e.length){case 2:if(e===VS.TD||e===VS.TH)return t===YS.HTML;if(e===VS.MI||e===VS.MO||e===VS.MN||e===VS.MS)return t===YS.MATHML;break;case 4:if(e===VS.HTML)return t===YS.HTML;if(e===VS.DESC)return t===YS.SVG;break;case 5:if(e===VS.TABLE)return t===YS.HTML;if(e===VS.MTEXT)return t===YS.MATHML;if(e===VS.TITLE)return t===YS.SVG;break;case 6:return(e===VS.APPLET||e===VS.OBJECT)&&t===YS.HTML;case 7:return(e===VS.CAPTION||e===VS.MARQUEE)&&t===YS.HTML;case 8:return e===VS.TEMPLATE&&t===YS.HTML;case 13:return e===VS.FOREIGN_OBJECT&&t===YS.SVG;case 14:return e===VS.ANNOTATION_XML&&t===YS.MATHML}return!1}var JS=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===VS.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===YS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===YS.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===VS.H1||e===VS.H2||e===VS.H3||e===VS.H4||e===VS.H5||e===VS.H6&&t===YS.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===VS.TD||e===VS.TH&&t===YS.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==VS.TABLE&&this.currentTagName!==VS.TEMPLATE&&this.currentTagName!==VS.HTML||this.treeAdapter.getNamespaceURI(this.current)!==YS.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==VS.TBODY&&this.currentTagName!==VS.TFOOT&&this.currentTagName!==VS.THEAD&&this.currentTagName!==VS.TEMPLATE&&this.currentTagName!==VS.HTML||this.treeAdapter.getNamespaceURI(this.current)!==YS.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==VS.TR&&this.currentTagName!==VS.TEMPLATE&&this.currentTagName!==VS.HTML||this.treeAdapter.getNamespaceURI(this.current)!==YS.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===VS.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===VS.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===YS.HTML)return!0;if(QS(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===VS.H1||t===VS.H2||t===VS.H3||t===VS.H4||t===VS.H5||t===VS.H6)&&n===YS.HTML)return!0;if(QS(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===YS.HTML)return!0;if((n===VS.UL||n===VS.OL)&&r===YS.HTML||QS(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===YS.HTML)return!0;if(n===VS.BUTTON&&r===YS.HTML||QS(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===YS.HTML){if(n===e)return!0;if(n===VS.TABLE||n===VS.TEMPLATE||n===VS.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===YS.HTML){if(t===VS.TBODY||t===VS.THEAD||t===VS.TFOOT)return!0;if(t===VS.TABLE||t===VS.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===YS.HTML){if(n===e)return!0;if(n!==VS.OPTION&&n!==VS.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;XS(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ZS(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;XS(this.currentTagName)&&this.currentTagName!==e;)this.pop()}};let ex=class e{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(t).length,o=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let t=this.length-1;t>=0;t--){const a=this.entries[t];if(a.type===e.MARKER_ENTRY)break;const l=a.element,s=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===o&&this.treeAdapter.getNamespaceURI(l)===i&&s.length===r&&n.push({idx:t,attrs:s})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),o=r.length,i=Object.create(null);for(let e=0;e<o;e++){const t=r[e];i[t.name]=t.value}for(let e=0;e<o;e++)for(let r=0;r<n;r++){const o=t[r].attrs[e];if(i[o.name]!==o.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:e.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===e.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===e.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===e.ELEMENT_ENTRY&&r.element===t)return r}return null}};ex.MARKER_ENTRY="MARKER_ENTRY",ex.ELEMENT_ENTRY="ELEMENT_ENTRY";var tx=ex;let nx=class{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}};nx.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let o=0;o<e.__mixins.length;o++)if(e.__mixins[o].constructor===t)return e.__mixins[o];const r=new t(e,n);return e.__mixins.push(r),r};var rx=nx;const ox=rx;var ix=class extends ox{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}};const ax=rx,lx=US,sx=ix;var cx=class extends ax{constructor(e){super(e),this.tokenizer=e,this.posTracker=ax.install(e.preprocessor,sx),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===lx.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(lx.MODE).forEach((r=>{const o=lx.MODE[r];n[o]=function(n){e.ctLoc=e._getCurrentLocation(),t[o].call(this,n)}})),n}};const ux=rx;var dx=class extends ux{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}};const px=rx,hx=US,fx=cx,gx=dx,mx=GS.TAG_NAMES;var bx=class extends px{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o={};t.type===hx.END_TAG_TOKEN&&r===t.tagName?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const o=px.install(this.tokenizer,fx);e.posTracker=o.posTracker,px.install(this.openElements,gx,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===hx.END_TAG_TOKEN&&(n.tagName===mx.HTML||n.tagName===mx.BODY&&this.openElements.hasInScope(mx.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),o=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(o,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),o=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,i=this.treeAdapter.getChildNodes(o),a=r&&e.lastFosterParentingLocation.beforeElement?i.indexOf(e.lastFosterParentingLocation.beforeElement)-1:i.length-1,l=i[a];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:e,endCol:t,endOffset:r}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:e,endCol:t,endOffset:r})}else this.treeAdapter.setNodeSourceCodeLocation(l,n.location)}}}};const vx=rx;var yx=class extends vx{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}};const Ex=yx,_x=ix,Tx=rx;var wx=class extends Ex{constructor(e,t){super(e,t),this.posTracker=Tx.install(e,_x),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}};const kx=yx,Cx=wx,Sx=rx;var xx=class extends kx{constructor(e,t){super(e,t);const n=Sx.install(e.preprocessor,Cx,t);this.posTracker=n.posTracker}};const Ax=yx,Ox=xx,Nx=cx,Ix=rx;var Rx=class extends Ax{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),Ix.install(this.tokenizer,Ox,e.opts),Ix.install(this.tokenizer,Nx)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}},Mx={};const{DOCUMENT_MODE:Lx}=GS;Mx.createDocument=function(){return{nodeName:"#document",mode:Lx.NO_QUIRKS,childNodes:[]}},Mx.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},Mx.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},Mx.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const $x=function(e){return{nodeName:"#text",value:e,parentNode:null}},Px=Mx.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},Dx=Mx.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};Mx.setTemplateContent=function(e,t){e.content=t},Mx.getTemplateContent=function(e){return e.content},Mx.setDocumentType=function(e,t,n,r){let o=null;for(let i=0;i<e.childNodes.length;i++)if("#documentType"===e.childNodes[i].nodeName){o=e.childNodes[i];break}o?(o.name=t,o.publicId=n,o.systemId=r):Px(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},Mx.setDocumentMode=function(e,t){e.mode=t},Mx.getDocumentMode=function(e){return e.mode},Mx.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},Mx.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}Px(e,$x(t))},Mx.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:Dx(e,$x(t),n)},Mx.adoptAttributes=function(e,t){const n=[];for(let r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},Mx.getFirstChild=function(e){return e.childNodes[0]},Mx.getChildNodes=function(e){return e.childNodes},Mx.getParentNode=function(e){return e.parentNode},Mx.getAttrList=function(e){return e.attrs},Mx.getTagName=function(e){return e.tagName},Mx.getNamespaceURI=function(e){return e.namespaceURI},Mx.getTextNodeContent=function(e){return e.value},Mx.getCommentNodeContent=function(e){return e.data},Mx.getDocumentTypeNodeName=function(e){return e.name},Mx.getDocumentTypeNodePublicId=function(e){return e.publicId},Mx.getDocumentTypeNodeSystemId=function(e){return e.systemId},Mx.isTextNode=function(e){return"#text"===e.nodeName},Mx.isCommentNode=function(e){return"#comment"===e.nodeName},Mx.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},Mx.isElementNode=function(e){return!!e.tagName},Mx.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},Mx.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},Mx.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)};var Bx={};const{DOCUMENT_MODE:Fx}=GS,Hx="html",zx=["+//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//"],jx=zx.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),Ux=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],Gx=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Kx=Gx.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function Wx(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function qx(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}Bx.isConforming=function(e){return e.name===Hx&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},Bx.getDocumentMode=function(e){if(e.name!==Hx)return Fx.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Fx.QUIRKS;let n=e.publicId;if(null!==n){if(n=n.toLowerCase(),Ux.indexOf(n)>-1)return Fx.QUIRKS;let e=null===t?jx:zx;if(qx(n,e))return Fx.QUIRKS;if(e=null===t?Gx:Kx,qx(n,e))return Fx.LIMITED_QUIRKS}return Fx.NO_QUIRKS},Bx.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+Wx(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+Wx(n)),r};var Vx={};const Yx=US,Xx=GS,Zx=Xx.TAG_NAMES,Qx=Xx.NAMESPACES,Jx=Xx.ATTRS,eA="text/html",tA="application/xhtml+xml",nA={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},rA={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:Qx.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:Qx.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:Qx.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:Qx.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:Qx.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:Qx.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:Qx.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:Qx.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:Qx.XML},"xml:space":{prefix:"xml",name:"space",namespace:Qx.XML},xmlns:{prefix:"",name:"xmlns",namespace:Qx.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:Qx.XMLNS}},oA=Vx.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},iA={[Zx.B]:!0,[Zx.BIG]:!0,[Zx.BLOCKQUOTE]:!0,[Zx.BODY]:!0,[Zx.BR]:!0,[Zx.CENTER]:!0,[Zx.CODE]:!0,[Zx.DD]:!0,[Zx.DIV]:!0,[Zx.DL]:!0,[Zx.DT]:!0,[Zx.EM]:!0,[Zx.EMBED]:!0,[Zx.H1]:!0,[Zx.H2]:!0,[Zx.H3]:!0,[Zx.H4]:!0,[Zx.H5]:!0,[Zx.H6]:!0,[Zx.HEAD]:!0,[Zx.HR]:!0,[Zx.I]:!0,[Zx.IMG]:!0,[Zx.LI]:!0,[Zx.LISTING]:!0,[Zx.MENU]:!0,[Zx.META]:!0,[Zx.NOBR]:!0,[Zx.OL]:!0,[Zx.P]:!0,[Zx.PRE]:!0,[Zx.RUBY]:!0,[Zx.S]:!0,[Zx.SMALL]:!0,[Zx.SPAN]:!0,[Zx.STRONG]:!0,[Zx.STRIKE]:!0,[Zx.SUB]:!0,[Zx.SUP]:!0,[Zx.TABLE]:!0,[Zx.TT]:!0,[Zx.U]:!0,[Zx.UL]:!0,[Zx.VAR]:!0};Vx.causesExit=function(e){const t=e.tagName;return!(t!==Zx.FONT||null===Yx.getTokenAttr(e,Jx.COLOR)&&null===Yx.getTokenAttr(e,Jx.SIZE)&&null===Yx.getTokenAttr(e,Jx.FACE))||iA[t]},Vx.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},Vx.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=nA[e.attrs[t].name];n&&(e.attrs[t].name=n)}},Vx.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=rA[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},Vx.adjustTokenSVGTagName=function(e){const t=oA[e.tagName];t&&(e.tagName=t)},Vx.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==Qx.HTML||!function(e,t,n){if(t===Qx.MATHML&&e===Zx.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===Jx.ENCODING){const e=n[r].value.toLowerCase();return e===eA||e===tA}return t===Qx.SVG&&(e===Zx.FOREIGN_OBJECT||e===Zx.DESC||e===Zx.TITLE)}(e,t,n))||!(r&&r!==Qx.MATHML||!function(e,t){return t===Qx.MATHML&&(e===Zx.MI||e===Zx.MO||e===Zx.MN||e===Zx.MS||e===Zx.MTEXT)}(e,t))};const aA=US,lA=JS,sA=tx,cA=bx,uA=Rx,dA=rx,pA=Mx,hA=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))},fA=Bx,gA=Vx,mA=Kk,bA=Uk,vA=GS,yA=vA.TAG_NAMES,EA=vA.NAMESPACES,_A=vA.ATTRS,TA={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:pA},wA="hidden",kA="INITIAL_MODE",CA="BEFORE_HTML_MODE",SA="BEFORE_HEAD_MODE",xA="IN_HEAD_MODE",AA="IN_HEAD_NO_SCRIPT_MODE",OA="AFTER_HEAD_MODE",NA="IN_BODY_MODE",IA="TEXT_MODE",RA="IN_TABLE_MODE",MA="IN_TABLE_TEXT_MODE",LA="IN_CAPTION_MODE",$A="IN_COLUMN_GROUP_MODE",PA="IN_TABLE_BODY_MODE",DA="IN_ROW_MODE",BA="IN_CELL_MODE",FA="IN_SELECT_MODE",HA="IN_SELECT_IN_TABLE_MODE",zA="IN_TEMPLATE_MODE",jA="AFTER_BODY_MODE",UA="IN_FRAMESET_MODE",GA="AFTER_FRAMESET_MODE",KA="AFTER_AFTER_BODY_MODE",WA="AFTER_AFTER_FRAMESET_MODE",qA={[yA.TR]:DA,[yA.TBODY]:PA,[yA.THEAD]:PA,[yA.TFOOT]:PA,[yA.CAPTION]:LA,[yA.COLGROUP]:$A,[yA.TABLE]:RA,[yA.BODY]:NA,[yA.FRAMESET]:UA},VA={[yA.CAPTION]:RA,[yA.COLGROUP]:RA,[yA.TBODY]:RA,[yA.TFOOT]:RA,[yA.THEAD]:RA,[yA.COL]:$A,[yA.TR]:PA,[yA.TD]:DA,[yA.TH]:DA},YA={[kA]:{[aA.CHARACTER_TOKEN]:uO,[aA.NULL_CHARACTER_TOKEN]:uO,[aA.WHITESPACE_CHARACTER_TOKEN]:oO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?vA.DOCUMENT_MODE.QUIRKS:fA.getDocumentMode(t);fA.isConforming(t)||e._err(mA.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=CA},[aA.START_TAG_TOKEN]:uO,[aA.END_TAG_TOKEN]:uO,[aA.EOF_TOKEN]:uO},[CA]:{[aA.CHARACTER_TOKEN]:dO,[aA.NULL_CHARACTER_TOKEN]:dO,[aA.WHITESPACE_CHARACTER_TOKEN]:oO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?(e._insertElement(t,EA.HTML),e.insertionMode=SA):dO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==yA.HTML&&n!==yA.HEAD&&n!==yA.BODY&&n!==yA.BR||dO(e,t)},[aA.EOF_TOKEN]:dO},[SA]:{[aA.CHARACTER_TOKEN]:pO,[aA.NULL_CHARACTER_TOKEN]:pO,[aA.WHITESPACE_CHARACTER_TOKEN]:oO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.HEAD?(e._insertElement(t,EA.HTML),e.headElement=e.openElements.current,e.insertionMode=xA):pO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HEAD||n===yA.BODY||n===yA.HTML||n===yA.BR?pO(e,t):e._err(mA.endTagWithoutMatchingOpenElement)},[aA.EOF_TOKEN]:pO},[xA]:{[aA.CHARACTER_TOKEN]:gO,[aA.NULL_CHARACTER_TOKEN]:gO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:hO,[aA.END_TAG_TOKEN]:fO,[aA.EOF_TOKEN]:gO},[AA]:{[aA.CHARACTER_TOKEN]:mO,[aA.NULL_CHARACTER_TOKEN]:mO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.BASEFONT||n===yA.BGSOUND||n===yA.HEAD||n===yA.LINK||n===yA.META||n===yA.NOFRAMES||n===yA.STYLE?hO(e,t):n===yA.NOSCRIPT?e._err(mA.nestedNoscriptInHead):mO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.NOSCRIPT?(e.openElements.pop(),e.insertionMode=xA):n===yA.BR?mO(e,t):e._err(mA.endTagWithoutMatchingOpenElement)},[aA.EOF_TOKEN]:mO},[OA]:{[aA.CHARACTER_TOKEN]:bO,[aA.NULL_CHARACTER_TOKEN]:bO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.BODY?(e._insertElement(t,EA.HTML),e.framesetOk=!1,e.insertionMode=NA):n===yA.FRAMESET?(e._insertElement(t,EA.HTML),e.insertionMode=UA):n===yA.BASE||n===yA.BASEFONT||n===yA.BGSOUND||n===yA.LINK||n===yA.META||n===yA.NOFRAMES||n===yA.SCRIPT||n===yA.STYLE||n===yA.TEMPLATE||n===yA.TITLE?(e._err(mA.abandonedHeadElementChild),e.openElements.push(e.headElement),hO(e,t),e.openElements.remove(e.headElement)):n===yA.HEAD?e._err(mA.misplacedStartTagForHeadElement):bO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.BODY||n===yA.HTML||n===yA.BR?bO(e,t):n===yA.TEMPLATE?fO(e,t):e._err(mA.endTagWithoutMatchingOpenElement)},[aA.EOF_TOKEN]:bO},[NA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:NO,[aA.END_TAG_TOKEN]:LO,[aA.EOF_TOKEN]:$O},[IA]:{[aA.CHARACTER_TOKEN]:sO,[aA.NULL_CHARACTER_TOKEN]:sO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:oO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:oO,[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[aA.EOF_TOKEN]:function(e,t){e._err(mA.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[RA]:{[aA.CHARACTER_TOKEN]:PO,[aA.NULL_CHARACTER_TOKEN]:PO,[aA.WHITESPACE_CHARACTER_TOKEN]:PO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:DO,[aA.END_TAG_TOKEN]:BO,[aA.EOF_TOKEN]:$O},[MA]:{[aA.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[aA.COMMENT_TOKEN]:HO,[aA.DOCTYPE_TOKEN]:HO,[aA.START_TAG_TOKEN]:HO,[aA.END_TAG_TOKEN]:HO,[aA.EOF_TOKEN]:HO},[LA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TD||n===yA.TFOOT||n===yA.TH||n===yA.THEAD||n===yA.TR?e.openElements.hasInTableScope(yA.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yA.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=RA,e._processToken(t)):NO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.TABLE?e.openElements.hasInTableScope(yA.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yA.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=RA,n===yA.TABLE&&e._processToken(t)):n!==yA.BODY&&n!==yA.COL&&n!==yA.COLGROUP&&n!==yA.HTML&&n!==yA.TBODY&&n!==yA.TD&&n!==yA.TFOOT&&n!==yA.TH&&n!==yA.THEAD&&n!==yA.TR&&LO(e,t)},[aA.EOF_TOKEN]:$O},[$A]:{[aA.CHARACTER_TOKEN]:zO,[aA.NULL_CHARACTER_TOKEN]:zO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.COL?(e._appendElement(t,EA.HTML),t.ackSelfClosing=!0):n===yA.TEMPLATE?hO(e,t):zO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.COLGROUP?e.openElements.currentTagName===yA.COLGROUP&&(e.openElements.pop(),e.insertionMode=RA):n===yA.TEMPLATE?fO(e,t):n!==yA.COL&&zO(e,t)},[aA.EOF_TOKEN]:$O},[PA]:{[aA.CHARACTER_TOKEN]:PO,[aA.NULL_CHARACTER_TOKEN]:PO,[aA.WHITESPACE_CHARACTER_TOKEN]:PO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,EA.HTML),e.insertionMode=DA):n===yA.TH||n===yA.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(yA.TR),e.insertionMode=DA,e._processToken(t)):n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=RA,e._processToken(t)):DO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=RA):n===yA.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=RA,e._processToken(t)):(n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP||n!==yA.HTML&&n!==yA.TD&&n!==yA.TH&&n!==yA.TR)&&BO(e,t)},[aA.EOF_TOKEN]:$O},[DA]:{[aA.CHARACTER_TOKEN]:PO,[aA.NULL_CHARACTER_TOKEN]:PO,[aA.WHITESPACE_CHARACTER_TOKEN]:PO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TH||n===yA.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,EA.HTML),e.insertionMode=BA,e.activeFormattingElements.insertMarker()):n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR?e.openElements.hasInTableScope(yA.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA,e._processToken(t)):DO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TR?e.openElements.hasInTableScope(yA.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA):n===yA.TABLE?e.openElements.hasInTableScope(yA.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA,e._processToken(t)):n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(yA.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA,e._processToken(t)):(n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP||n!==yA.HTML&&n!==yA.TD&&n!==yA.TH)&&BO(e,t)},[aA.EOF_TOKEN]:$O},[BA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TD||n===yA.TFOOT||n===yA.TH||n===yA.THEAD||n===yA.TR?(e.openElements.hasInTableScope(yA.TD)||e.openElements.hasInTableScope(yA.TH))&&(e._closeTableCell(),e._processToken(t)):NO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TD||n===yA.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=DA):n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP&&n!==yA.HTML&&LO(e,t)},[aA.EOF_TOKEN]:$O},[FA]:{[aA.CHARACTER_TOKEN]:sO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:jO,[aA.END_TAG_TOKEN]:UO,[aA.EOF_TOKEN]:$O},[HA]:{[aA.CHARACTER_TOKEN]:sO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR||n===yA.TD||n===yA.TH?(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode(),e._processToken(t)):jO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR||n===yA.TD||n===yA.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode(),e._processToken(t)):UO(e,t)},[aA.EOF_TOKEN]:$O},[zA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===yA.BASE||n===yA.BASEFONT||n===yA.BGSOUND||n===yA.LINK||n===yA.META||n===yA.NOFRAMES||n===yA.SCRIPT||n===yA.STYLE||n===yA.TEMPLATE||n===yA.TITLE)hO(e,t);else{const r=VA[n]||NA;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.TEMPLATE&&fO(e,t)},[aA.EOF_TOKEN]:GO},[jA]:{[aA.CHARACTER_TOKEN]:KO,[aA.NULL_CHARACTER_TOKEN]:KO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?NO(e,t):KO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?e.fragmentContext||(e.insertionMode=KA):KO(e,t)},[aA.EOF_TOKEN]:cO},[UA]:{[aA.CHARACTER_TOKEN]:oO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.FRAMESET?e._insertElement(t,EA.HTML):n===yA.FRAME?(e._appendElement(t,EA.HTML),t.ackSelfClosing=!0):n===yA.NOFRAMES&&hO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){t.tagName!==yA.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===yA.FRAMESET||(e.insertionMode=GA))},[aA.EOF_TOKEN]:cO},[GA]:{[aA.CHARACTER_TOKEN]:oO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.NOFRAMES&&hO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML&&(e.insertionMode=WA)},[aA.EOF_TOKEN]:cO},[KA]:{[aA.CHARACTER_TOKEN]:WO,[aA.NULL_CHARACTER_TOKEN]:WO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:lO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?NO(e,t):WO(e,t)},[aA.END_TAG_TOKEN]:WO,[aA.EOF_TOKEN]:cO},[WA]:{[aA.CHARACTER_TOKEN]:oO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:lO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.NOFRAMES&&hO(e,t)},[aA.END_TAG_TOKEN]:oO,[aA.EOF_TOKEN]:cO}};var XA=class{constructor(e){this.options=hA(TA,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&dA.install(this,cA),this.options.onParseError&&dA.install(this,uA,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(yA.TEMPLATE,EA.HTML,[]));const n=this.treeAdapter.createElement("documentmock",EA.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===yA.TEMPLATE&&this._pushTmplInsertionMode(zA),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new aA(this.options),this.stopped=!1,this.insertionMode=kA,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new lA(this.document,this.treeAdapter),this.activeFormattingElements=new sA(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===aA.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===aA.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==EA.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,EA.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=IA}switchToPlaintextParsing(){this.insertionMode=IA,this.originalInsertionMode=NA,this.tokenizer.state=aA.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===yA.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===EA.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===yA.TITLE||e===yA.TEXTAREA?this.tokenizer.state=aA.MODE.RCDATA:e===yA.STYLE||e===yA.XMP||e===yA.IFRAME||e===yA.NOEMBED||e===yA.NOFRAMES||e===yA.NOSCRIPT?this.tokenizer.state=aA.MODE.RAWTEXT:e===yA.SCRIPT?this.tokenizer.state=aA.MODE.SCRIPT_DATA:e===yA.PLAINTEXT&&(this.tokenizer.state=aA.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,EA.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,EA.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(yA.HTML,EA.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===EA.HTML)return!1;if(this.treeAdapter.getTagName(t)===yA.ANNOTATION_XML&&n===EA.MATHML&&e.type===aA.START_TAG_TOKEN&&e.tagName===yA.SVG)return!1;const r=e.type===aA.CHARACTER_TOKEN||e.type===aA.NULL_CHARACTER_TOKEN||e.type===aA.WHITESPACE_CHARACTER_TOKEN;return!((e.type===aA.START_TAG_TOKEN&&e.tagName!==yA.MGLYPH&&e.tagName!==yA.MALIGNMARK||r)&&this._isIntegrationPoint(t,EA.MATHML)||(e.type===aA.START_TAG_TOKEN||r)&&this._isIntegrationPoint(t,EA.HTML)||e.type===aA.EOF_TOKEN)}_processToken(e){YA[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){YA[NA][e.type](this,e)}_processTokenInForeignContent(e){e.type===aA.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===aA.NULL_CHARACTER_TOKEN?function(e,t){t.chars=bA.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===aA.WHITESPACE_CHARACTER_TOKEN?sO(this,e):e.type===aA.COMMENT_TOKEN?aO(this,e):e.type===aA.START_TAG_TOKEN?function(e,t){if(gA.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==EA.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===EA.MATHML?gA.adjustTokenMathMLAttrs(t):r===EA.SVG&&(gA.adjustTokenSVGTagName(t),gA.adjustTokenSVGAttrs(t)),gA.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===aA.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===EA.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===aA.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(mA.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return gA.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===sA.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=DA}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(yA.P),this.openElements.popUntilTagNamePopped(yA.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),o=qA[r];if(o){this.insertionMode=o;break}if(!(t||r!==yA.TD&&r!==yA.TH)){this.insertionMode=BA;break}if(!t&&r===yA.HEAD){this.insertionMode=xA;break}if(r===yA.SELECT){this._resetInsertionModeForSelect(e);break}if(r===yA.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===yA.HTML){this.insertionMode=this.headElement?OA:SA;break}if(t){this.insertionMode=NA;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===yA.TEMPLATE)break;if(n===yA.TABLE)return void(this.insertionMode=HA)}this.insertionMode=FA}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===yA.TABLE||t===yA.TBODY||t===yA.TFOOT||t===yA.THEAD||t===yA.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===yA.TEMPLATE&&o===EA.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===yA.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return vA.SPECIAL_ELEMENTS[n][t]}};function ZA(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):MO(e,t),n}function QA(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o)&&(n=o)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function JA(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),l=n&&i>=3;!n||l?(l&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=eO(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function eO(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 tO(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),o=e.treeAdapter.getNamespaceURI(t);r===yA.TEMPLATE&&o===EA.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function nO(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),o=n.token,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}function rO(e,t){let n;for(let r=0;r<8&&(n=ZA(e,t),n);r++){const t=QA(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=JA(e,t,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),tO(e,o,r),nO(e,t,n)}}function oO(){}function iO(e){e._err(mA.misplacedDoctype)}function aO(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function lO(e,t){e._appendCommentNode(t,e.document)}function sO(e,t){e._insertCharacters(t)}function cO(e){e.stopped=!0}function uO(e,t){e._err(mA.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,vA.DOCUMENT_MODE.QUIRKS),e.insertionMode=CA,e._processToken(t)}function dO(e,t){e._insertFakeRootElement(),e.insertionMode=SA,e._processToken(t)}function pO(e,t){e._insertFakeElement(yA.HEAD),e.headElement=e.openElements.current,e.insertionMode=xA,e._processToken(t)}function hO(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.BASE||n===yA.BASEFONT||n===yA.BGSOUND||n===yA.LINK||n===yA.META?(e._appendElement(t,EA.HTML),t.ackSelfClosing=!0):n===yA.TITLE?e._switchToTextParsing(t,aA.MODE.RCDATA):n===yA.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,aA.MODE.RAWTEXT):(e._insertElement(t,EA.HTML),e.insertionMode=AA):n===yA.NOFRAMES||n===yA.STYLE?e._switchToTextParsing(t,aA.MODE.RAWTEXT):n===yA.SCRIPT?e._switchToTextParsing(t,aA.MODE.SCRIPT_DATA):n===yA.TEMPLATE?(e._insertTemplate(t,EA.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=zA,e._pushTmplInsertionMode(zA)):n===yA.HEAD?e._err(mA.misplacedStartTagForHeadElement):gO(e,t)}function fO(e,t){const n=t.tagName;n===yA.HEAD?(e.openElements.pop(),e.insertionMode=OA):n===yA.BODY||n===yA.BR||n===yA.HTML?gO(e,t):n===yA.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==yA.TEMPLATE&&e._err(mA.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(yA.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(mA.endTagWithoutMatchingOpenElement)}function gO(e,t){e.openElements.pop(),e.insertionMode=OA,e._processToken(t)}function mO(e,t){const n=t.type===aA.EOF_TOKEN?mA.openElementsLeftAfterEof:mA.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=xA,e._processToken(t)}function bO(e,t){e._insertFakeElement(yA.BODY),e.insertionMode=NA,e._processToken(t)}function vO(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function yO(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function EO(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML)}function _O(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function TO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function kO(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,EA.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function CO(e,t){e._appendElement(t,EA.HTML),t.ackSelfClosing=!0}function SO(e,t){e._switchToTextParsing(t,aA.MODE.RAWTEXT)}function xO(e,t){e.openElements.currentTagName===yA.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML)}function AO(e,t){e.openElements.hasInScope(yA.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,EA.HTML)}function OO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML)}function NO(e,t){const n=t.tagName;switch(n.length){case 1:n===yA.I||n===yA.S||n===yA.B||n===yA.U?TO(e,t):n===yA.P?EO(e,t):n===yA.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(yA.A);n&&(rO(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):OO(e,t);break;case 2:n===yA.DL||n===yA.OL||n===yA.UL?EO(e,t):n===yA.H1||n===yA.H2||n===yA.H3||n===yA.H4||n===yA.H5||n===yA.H6?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==yA.H1&&n!==yA.H2&&n!==yA.H3&&n!==yA.H4&&n!==yA.H5&&n!==yA.H6||e.openElements.pop(),e._insertElement(t,EA.HTML)}(e,t):n===yA.LI||n===yA.DD||n===yA.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.items[r],o=e.treeAdapter.getTagName(t);let i=null;if(n===yA.LI&&o===yA.LI?i=yA.LI:n!==yA.DD&&n!==yA.DT||o!==yA.DD&&o!==yA.DT||(i=o),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(o!==yA.ADDRESS&&o!==yA.DIV&&o!==yA.P&&e._isSpecialElement(t))break}e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML)}(e,t):n===yA.EM||n===yA.TT?TO(e,t):n===yA.BR?kO(e,t):n===yA.HR?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._appendElement(t,EA.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===yA.RB?AO(e,t):n===yA.RT||n===yA.RP?function(e,t){e.openElements.hasInScope(yA.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(yA.RTC),e._insertElement(t,EA.HTML)}(e,t):n!==yA.TH&&n!==yA.TD&&n!==yA.TR&&OO(e,t);break;case 3:n===yA.DIV||n===yA.DIR||n===yA.NAV?EO(e,t):n===yA.PRE?_O(e,t):n===yA.BIG?TO(e,t):n===yA.IMG||n===yA.WBR?kO(e,t):n===yA.XMP?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,aA.MODE.RAWTEXT)}(e,t):n===yA.SVG?function(e,t){e._reconstructActiveFormattingElements(),gA.adjustTokenSVGAttrs(t),gA.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,EA.SVG):e._insertElement(t,EA.SVG),t.ackSelfClosing=!0}(e,t):n===yA.RTC?AO(e,t):n!==yA.COL&&OO(e,t);break;case 4:n===yA.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===yA.BASE||n===yA.LINK||n===yA.META?hO(e,t):n===yA.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===yA.MAIN||n===yA.MENU?EO(e,t):n===yA.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===yA.CODE||n===yA.FONT?TO(e,t):n===yA.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(yA.NOBR)&&(rO(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,EA.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===yA.AREA?kO(e,t):n===yA.MATH?function(e,t){e._reconstructActiveFormattingElements(),gA.adjustTokenMathMLAttrs(t),gA.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,EA.MATHML):e._insertElement(t,EA.MATHML),t.ackSelfClosing=!0}(e,t):n===yA.MENU?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML)}(e,t):n!==yA.HEAD&&OO(e,t);break;case 5:n===yA.STYLE||n===yA.TITLE?hO(e,t):n===yA.ASIDE?EO(e,t):n===yA.SMALL?TO(e,t):n===yA.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==vA.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),e.framesetOk=!1,e.insertionMode=RA}(e,t):n===yA.EMBED?kO(e,t):n===yA.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,EA.HTML);const n=aA.getTokenAttr(t,_A.TYPE);n&&n.toLowerCase()===wA||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===yA.PARAM||n===yA.TRACK?CO(e,t):n===yA.IMAGE?function(e,t){t.tagName=yA.IMG,kO(e,t)}(e,t):n!==yA.FRAME&&n!==yA.TBODY&&n!==yA.TFOOT&&n!==yA.THEAD&&OO(e,t);break;case 6:n===yA.SCRIPT?hO(e,t):n===yA.CENTER||n===yA.FIGURE||n===yA.FOOTER||n===yA.HEADER||n===yA.HGROUP||n===yA.DIALOG?EO(e,t):n===yA.BUTTON?function(e,t){e.openElements.hasInScope(yA.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yA.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.framesetOk=!1}(e,t):n===yA.STRIKE||n===yA.STRONG?TO(e,t):n===yA.APPLET||n===yA.OBJECT?wO(e,t):n===yA.KEYGEN?kO(e,t):n===yA.SOURCE?CO(e,t):n===yA.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,aA.MODE.RAWTEXT)}(e,t):n===yA.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.framesetOk=!1,e.insertionMode===RA||e.insertionMode===LA||e.insertionMode===PA||e.insertionMode===DA||e.insertionMode===BA?e.insertionMode=HA:e.insertionMode=FA}(e,t):n===yA.OPTION?xO(e,t):OO(e,t);break;case 7:n===yA.BGSOUND?hO(e,t):n===yA.DETAILS||n===yA.ADDRESS||n===yA.ARTICLE||n===yA.SECTION||n===yA.SUMMARY?EO(e,t):n===yA.LISTING?_O(e,t):n===yA.MARQUEE?wO(e,t):n===yA.NOEMBED?SO(e,t):n!==yA.CAPTION&&OO(e,t);break;case 8:n===yA.BASEFONT?hO(e,t):n===yA.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,EA.HTML),e.insertionMode=UA)}(e,t):n===yA.FIELDSET?EO(e,t):n===yA.TEXTAREA?function(e,t){e._insertElement(t,EA.HTML),e.skipNextNewLine=!0,e.tokenizer.state=aA.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=IA}(e,t):n===yA.TEMPLATE?hO(e,t):n===yA.NOSCRIPT?e.options.scriptingEnabled?SO(e,t):OO(e,t):n===yA.OPTGROUP?xO(e,t):n!==yA.COLGROUP&&OO(e,t);break;case 9:n===yA.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),e.tokenizer.state=aA.MODE.PLAINTEXT}(e,t):OO(e,t);break;case 10:n===yA.BLOCKQUOTE||n===yA.FIGCAPTION?EO(e,t):OO(e,t);break;default:OO(e,t)}}function IO(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function RO(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function MO(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const t=e.openElements.items[r];if(e.treeAdapter.getTagName(t)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(t);break}if(e._isSpecialElement(t))break}}function LO(e,t){const n=t.tagName;switch(n.length){case 1:n===yA.A||n===yA.B||n===yA.I||n===yA.S||n===yA.U?rO(e,t):n===yA.P?function(e){e.openElements.hasInButtonScope(yA.P)||e._insertFakeElement(yA.P),e._closePElement()}(e):MO(e,t);break;case 2:n===yA.DL||n===yA.UL||n===yA.OL?IO(e,t):n===yA.LI?function(e){e.openElements.hasInListItemScope(yA.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(yA.LI),e.openElements.popUntilTagNamePopped(yA.LI))}(e):n===yA.DD||n===yA.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===yA.H1||n===yA.H2||n===yA.H3||n===yA.H4||n===yA.H5||n===yA.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===yA.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(yA.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===yA.EM||n===yA.TT?rO(e,t):MO(e,t);break;case 3:n===yA.BIG?rO(e,t):n===yA.DIR||n===yA.DIV||n===yA.NAV||n===yA.PRE?IO(e,t):MO(e,t);break;case 4:n===yA.BODY?function(e){e.openElements.hasInScope(yA.BODY)&&(e.insertionMode=jA)}(e):n===yA.HTML?function(e,t){e.openElements.hasInScope(yA.BODY)&&(e.insertionMode=jA,e._processToken(t))}(e,t):n===yA.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(yA.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(yA.FORM):e.openElements.remove(n))}(e):n===yA.CODE||n===yA.FONT||n===yA.NOBR?rO(e,t):n===yA.MAIN||n===yA.MENU?IO(e,t):MO(e,t);break;case 5:n===yA.ASIDE?IO(e,t):n===yA.SMALL?rO(e,t):MO(e,t);break;case 6:n===yA.CENTER||n===yA.FIGURE||n===yA.FOOTER||n===yA.HEADER||n===yA.HGROUP||n===yA.DIALOG?IO(e,t):n===yA.APPLET||n===yA.OBJECT?RO(e,t):n===yA.STRIKE||n===yA.STRONG?rO(e,t):MO(e,t);break;case 7:n===yA.ADDRESS||n===yA.ARTICLE||n===yA.DETAILS||n===yA.SECTION||n===yA.SUMMARY||n===yA.LISTING?IO(e,t):n===yA.MARQUEE?RO(e,t):MO(e,t);break;case 8:n===yA.FIELDSET?IO(e,t):n===yA.TEMPLATE?fO(e,t):MO(e,t);break;case 10:n===yA.BLOCKQUOTE||n===yA.FIGCAPTION?IO(e,t):MO(e,t);break;default:MO(e,t)}}function $O(e,t){e.tmplInsertionModeStackTop>-1?GO(e,t):e.stopped=!0}function PO(e,t){const n=e.openElements.currentTagName;n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=MA,e._processToken(t)):FO(e,t)}function DO(e,t){const n=t.tagName;switch(n.length){case 2:n===yA.TD||n===yA.TH||n===yA.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(yA.TBODY),e.insertionMode=PA,e._processToken(t)}(e,t):FO(e,t);break;case 3:n===yA.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(yA.COLGROUP),e.insertionMode=$A,e._processToken(t)}(e,t):FO(e,t);break;case 4:n===yA.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,EA.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):FO(e,t);break;case 5:n===yA.TABLE?function(e,t){e.openElements.hasInTableScope(yA.TABLE)&&(e.openElements.popUntilTagNamePopped(yA.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===yA.STYLE?hO(e,t):n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,EA.HTML),e.insertionMode=PA}(e,t):n===yA.INPUT?function(e,t){const n=aA.getTokenAttr(t,_A.TYPE);n&&n.toLowerCase()===wA?e._appendElement(t,EA.HTML):FO(e,t),t.ackSelfClosing=!0}(e,t):FO(e,t);break;case 6:n===yA.SCRIPT?hO(e,t):FO(e,t);break;case 7:n===yA.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,EA.HTML),e.insertionMode=LA}(e,t):FO(e,t);break;case 8:n===yA.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,EA.HTML),e.insertionMode=$A}(e,t):n===yA.TEMPLATE?hO(e,t):FO(e,t);break;default:FO(e,t)}}function BO(e,t){const n=t.tagName;n===yA.TABLE?e.openElements.hasInTableScope(yA.TABLE)&&(e.openElements.popUntilTagNamePopped(yA.TABLE),e._resetInsertionMode()):n===yA.TEMPLATE?fO(e,t):n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP&&n!==yA.HTML&&n!==yA.TBODY&&n!==yA.TD&&n!==yA.TFOOT&&n!==yA.TH&&n!==yA.THEAD&&n!==yA.TR&&FO(e,t)}function FO(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function HO(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)FO(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function zO(e,t){e.openElements.currentTagName===yA.COLGROUP&&(e.openElements.pop(),e.insertionMode=RA,e._processToken(t))}function jO(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.OPTION?(e.openElements.currentTagName===yA.OPTION&&e.openElements.pop(),e._insertElement(t,EA.HTML)):n===yA.OPTGROUP?(e.openElements.currentTagName===yA.OPTION&&e.openElements.pop(),e.openElements.currentTagName===yA.OPTGROUP&&e.openElements.pop(),e._insertElement(t,EA.HTML)):n===yA.INPUT||n===yA.KEYGEN||n===yA.TEXTAREA||n===yA.SELECT?e.openElements.hasInSelectScope(yA.SELECT)&&(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode(),n!==yA.SELECT&&e._processToken(t)):n!==yA.SCRIPT&&n!==yA.TEMPLATE||hO(e,t)}function UO(e,t){const n=t.tagName;if(n===yA.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===yA.OPTION&&n===yA.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===yA.OPTGROUP&&e.openElements.pop()}else n===yA.OPTION?e.openElements.currentTagName===yA.OPTION&&e.openElements.pop():n===yA.SELECT&&e.openElements.hasInSelectScope(yA.SELECT)?(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode()):n===yA.TEMPLATE&&fO(e,t)}function GO(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(yA.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function KO(e,t){e.insertionMode=NA,e._processToken(t)}function WO(e,t){e.insertionMode=NA,e._processToken(t)}const qO=Qn(XA),VO=XO("start"),YO=XO("end");function XO(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const ZO=e("v",(function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Gw(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}));class QO{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function JO(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new QO(n,r,t)}function eN(e){return e.toLowerCase()}QO.prototype.property={},QO.prototype.normal={},QO.prototype.space=null;class tN{constructor(e,t){this.property=e,this.attribute=t}}tN.prototype.space=null,tN.prototype.boolean=!1,tN.prototype.booleanish=!1,tN.prototype.overloadedBoolean=!1,tN.prototype.number=!1,tN.prototype.commaSeparated=!1,tN.prototype.spaceSeparated=!1,tN.prototype.commaOrSpaceSeparated=!1,tN.prototype.mustUseProperty=!1,tN.prototype.defined=!1;let nN=0;const rN=uN(),oN=uN(),iN=uN(),aN=uN(),lN=uN(),sN=uN(),cN=uN();function uN(){return 2**++nN}const dN=Object.freeze(Object.defineProperty({__proto__:null,boolean:rN,booleanish:oN,commaOrSpaceSeparated:cN,commaSeparated:sN,number:aN,overloadedBoolean:iN,spaceSeparated:lN},Symbol.toStringTag,{value:"Module"})),pN=Object.keys(dN);class hN extends tN{constructor(e,t,n,r){let o=-1;if(super(e,t),fN(this,"space",r),"number"==typeof n)for(;++o<pN.length;){const e=pN[o];fN(this,pN[o],(n&dN[e])===dN[e])}}}function fN(e,t,n){n&&(e[t]=n)}hN.prototype.defined=!0;const gN={}.hasOwnProperty;function mN(e){const t={},n={};let r;for(r in e.properties)if(gN.call(e.properties,r)){const o=e.properties[r],i=new hN(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[eN(r)]=r,n[eN(i.attribute)]=r}return new QO(t,n,e.space)}const bN=mN({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),vN=mN({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function yN(e,t){return t in e?e[t]:t}function EN(e,t){return yN(e,t.toLowerCase())}const _N=mN({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:EN,properties:{xmlns:null,xmlnsXLink:null}}),TN=mN({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:oN,ariaAutoComplete:null,ariaBusy:oN,ariaChecked:oN,ariaColCount:aN,ariaColIndex:aN,ariaColSpan:aN,ariaControls:lN,ariaCurrent:null,ariaDescribedBy:lN,ariaDetails:null,ariaDisabled:oN,ariaDropEffect:lN,ariaErrorMessage:null,ariaExpanded:oN,ariaFlowTo:lN,ariaGrabbed:oN,ariaHasPopup:null,ariaHidden:oN,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lN,ariaLevel:aN,ariaLive:null,ariaModal:oN,ariaMultiLine:oN,ariaMultiSelectable:oN,ariaOrientation:null,ariaOwns:lN,ariaPlaceholder:null,ariaPosInSet:aN,ariaPressed:oN,ariaReadOnly:oN,ariaRelevant:null,ariaRequired:oN,ariaRoleDescription:lN,ariaRowCount:aN,ariaRowIndex:aN,ariaRowSpan:aN,ariaSelected:oN,ariaSetSize:aN,ariaSort:null,ariaValueMax:aN,ariaValueMin:aN,ariaValueNow:aN,ariaValueText:null,role:null}}),wN=mN({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:EN,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sN,acceptCharset:lN,accessKey:lN,action:null,allow:null,allowFullScreen:rN,allowPaymentRequest:rN,allowUserMedia:rN,alt:null,as:null,async:rN,autoCapitalize:null,autoComplete:lN,autoFocus:rN,autoPlay:rN,blocking:lN,capture:null,charSet:null,checked:rN,cite:null,className:lN,cols:aN,colSpan:null,content:null,contentEditable:oN,controls:rN,controlsList:lN,coords:aN|sN,crossOrigin:null,data:null,dateTime:null,decoding:null,default:rN,defer:rN,dir:null,dirName:null,disabled:rN,download:iN,draggable:oN,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:rN,formTarget:null,headers:lN,height:aN,hidden:rN,high:aN,href:null,hrefLang:null,htmlFor:lN,httpEquiv:lN,id:null,imageSizes:null,imageSrcSet:null,inert:rN,inputMode:null,integrity:null,is:null,isMap:rN,itemId:null,itemProp:lN,itemRef:lN,itemScope:rN,itemType:lN,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:rN,low:aN,manifest:null,max:null,maxLength:aN,media:null,method:null,min:null,minLength:aN,multiple:rN,muted:rN,name:null,nonce:null,noModule:rN,noValidate:rN,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:rN,optimum:aN,pattern:null,ping:lN,placeholder:null,playsInline:rN,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:rN,referrerPolicy:null,rel:lN,required:rN,reversed:rN,rows:aN,rowSpan:aN,sandbox:lN,scope:null,scoped:rN,seamless:rN,selected:rN,shadowRootClonable:rN,shadowRootDelegatesFocus:rN,shadowRootMode:null,shape:null,size:aN,sizes:null,slot:null,span:aN,spellCheck:oN,src:null,srcDoc:null,srcLang:null,srcSet:null,start:aN,step:null,style:null,tabIndex:aN,target:null,title:null,translate:null,type:null,typeMustMatch:rN,useMap:null,value:oN,width:aN,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lN,axis:null,background:null,bgColor:null,border:aN,borderColor:null,bottomMargin:aN,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:rN,declare:rN,event:null,face:null,frame:null,frameBorder:null,hSpace:aN,leftMargin:aN,link:null,longDesc:null,lowSrc:null,marginHeight:aN,marginWidth:aN,noResize:rN,noHref:rN,noShade:rN,noWrap:rN,object:null,profile:null,prompt:null,rev:null,rightMargin:aN,rules:null,scheme:null,scrolling:oN,standby:null,summary:null,text:null,topMargin:aN,valueType:null,version:null,vAlign:null,vLink:null,vSpace:aN,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:rN,disableRemotePlayback:rN,prefix:null,property:null,results:aN,security:null,unselectable:null}}),kN=mN({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:yN,properties:{about:cN,accentHeight:aN,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:aN,amplitude:aN,arabicForm:null,ascent:aN,attributeName:null,attributeType:null,azimuth:aN,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:aN,by:null,calcMode:null,capHeight:aN,className:lN,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:aN,diffuseConstant:aN,direction:null,display:null,dur:null,divisor:aN,dominantBaseline:null,download:rN,dx:null,dy:null,edgeMode:null,editable:null,elevation:aN,enableBackground:null,end:null,event:null,exponent:aN,externalResourcesRequired:null,fill:null,fillOpacity:aN,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:sN,g2:sN,glyphName:sN,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:aN,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:aN,horizOriginX:aN,horizOriginY:aN,id:null,ideographic:aN,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:aN,k:aN,k1:aN,k2:aN,k3:aN,k4:aN,kernelMatrix:cN,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:aN,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:aN,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:aN,overlineThickness:aN,paintOrder:null,panose1:null,path:null,pathLength:aN,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lN,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:aN,pointsAtY:aN,pointsAtZ:aN,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:cN,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:cN,rev:cN,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:cN,requiredFeatures:cN,requiredFonts:cN,requiredFormats:cN,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:aN,specularExponent:aN,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:aN,strikethroughThickness:aN,string:null,stroke:null,strokeDashArray:cN,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:aN,strokeOpacity:aN,strokeWidth:null,style:null,surfaceScale:aN,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:cN,tabIndex:aN,tableValues:null,target:null,targetX:aN,targetY:aN,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:cN,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:aN,underlineThickness:aN,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:aN,values:null,vAlphabetic:aN,vMathematical:aN,vectorEffect:null,vHanging:aN,vIdeographic:aN,version:null,vertAdvY:aN,vertOriginX:aN,vertOriginY:aN,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:aN,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),CN=/^data[-\w.:]+$/i,SN=/-[a-z]/g,xN=/[A-Z]/g;function AN(e,t){const n=eN(t);let r=t,o=tN;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&CN.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(SN,NN);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!SN.test(e)){let n=e.replace(xN,ON);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=hN}return new o(r,t)}function ON(e){return"-"+e.toLowerCase()}function NN(e){return e.charAt(1).toUpperCase()}const IN=JO([vN,bN,_N,TN,wN],"html"),RN=JO([vN,bN,_N,TN,kN],"svg"),MN=/[#.]/g;function LN(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function $N(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}const PN=new Set(["menu","submit","reset","button"]),DN={}.hasOwnProperty;function BN(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,o,...i){let a,l=-1;if(null==n)a={type:"root",children:[]},i.unshift(o);else if(a=function(e,t){const n=e||"",r={};let o,i,a=0;for(;a<n.length;){MN.lastIndex=a;const e=MN.exec(n),t=n.slice(a,e?e.index:n.length);t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,a+=t.length),e&&(o=e[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}(n,t),a.tagName=a.tagName.toLowerCase(),r&&DN.call(r,a.tagName)&&(a.tagName=r[a.tagName]),s=o,c=a.tagName,null==s||"object"!=typeof s||Array.isArray(s)||"input"!==c&&s.type&&"string"==typeof s.type&&("children"in s&&Array.isArray(s.children)||("button"===c?!PN.has(s.type.toLowerCase()):"value"in s)))i.unshift(o);else{let t;for(t in o)DN.call(o,t)&&FN(e,a.properties,t,o[t])}for(var s,c;++l<i.length;)HN(a.children,i[l]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function FN(e,t,n,r){const o=AN(e,n);let i,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?LN(r):o.commaSeparated?$N(r):o.commaOrSpaceSeparated?LN($N(r).join(" ")):zN(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){const t=[];let n;for(n in e)DN.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(;++a<i.length;)e[a]=zN(o,o.property,i[a]);i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}function HN(e,t){let n=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)HN(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?HN(e,t.children):e.push(t)}}function zN(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||eN(n)===eN(t)))return!0}return n}const jN=e("h",BN(IN,"div")),UN=e("a",BN(RN,"g",["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"])),GN=e("w",{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/"}),KN={}.hasOwnProperty,WN=Object.prototype;function qN(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},YN(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:VN(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[],r=/\r?\n|\r/g;for(;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}return-1}}}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}case"#documentType":return n={type:"doctype"},YN(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},YN(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===GN.svg?RN:IN;let r=-1;const o={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;KN.call(WN,n)||(o[n]=e.value)}const i="svg"===e.schema.space?UN:jN,a=i(t.tagName,o,VN(e,t.childNodes));if(YN(e,t,a),"template"===a.tagName){const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&ZN(r.startTag),i=r&&r.endTag&&ZN(r.endTag),l=qN(e,n.content);o&&i&&e.file&&(l.position={start:o.end,end:i.start}),a.content=l}return e.schema=n,a}(e,t),n}}function VN(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=qN(e,t[n]);return r}function YN(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=XN(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function XN(e,t,n){const r=ZN(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;if(n.attrs)for(o in n.attrs)KN.call(n.attrs,o)&&(r[AN(e.schema,o).property]=ZN(n.attrs[o]));t.data={position:{opening:ZN(n.startTag),closing:n.endTag?ZN(n.endTag):null,properties:r}}}}return r}function ZN(e){const t=QN({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=QN({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function QN(e){return e.line&&e.column?e:void 0}const JN={}.hasOwnProperty;function eI(e,t){const n=t||{};function r(t,...n){let o=r.invalid;const i=r.handlers;if(t&&JN.call(t,e)){const n=String(t[e]);o=JN.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const tI={}.hasOwnProperty,nI=eI("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=oI(e.children,n,t),iI(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=RN);const o=[];let i;if(e.properties)for(i in e.properties)if("children"!==i&&tI.call(e.properties,i)){const t=rI(r,i,e.properties[i]);t&&o.push(t)}const a={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:GN[r.space],childNodes:[],parentNode:void 0};return a.childNodes=oI(e.children,a,r),iI(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=oI(e.children,n,t),iI(e,n),n}(e.content,r)),a},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return iI(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return iI(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return iI(e,t),t}}});function rI(e,t,n){const r=AN(e,t);if(null==n||!1===n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim());const o={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=o.name.indexOf(":");e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),o.namespace=GN[r.space]}return o}function oI(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const i=nI(e[r],n);i.parentNode=t,o.push(i)}return o}function iI(e,t){const n=e.position;n&&n.start&&n.end&&(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 aI=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],lI="END_TAG_TOKEN",sI={sourceCodeLocationInfo:!0,scriptingEnabled:!1},cI=function(e,t,n){let r=-1;const o=new qO(sI),i=eI("type",{handlers:{root:function(e){h(e.children)},element:function(e){m(),o._processInputToken(function(e){const t=Object.assign(pI(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:uI(e),location:t}}(e)),h(e.children),aI.includes(e.tagName)||(m(),o._processInputToken(function(e){const t=Object.assign(pI(e));return t.startTag=Object.assign({},t),{type:lI,tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){m(),o._processInputToken({type:"CHARACTER_TOKEN",chars:e.value,location:pI(e)})},comment:f,doctype:function(e){m(),o._processInputToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:pI(e)})},raw:function(e){const t=VO(e),n=t.line||1,r=t.column||1,i=t.offset||0;if(!s)throw new Error("Expected `preprocessor`");if(!l)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");s.html=void 0,s.pos=-1,s.lastGapPos=-1,s.lastCharPos=-1,s.gapStack=[],s.skipNextNewLine=!1,s.lastChunkWritten=!1,s.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=1-r,c.droppedBufferSize=i,c.offset=0,c.col=1,c.line=n,u.currentAttrLocation=void 0,u.ctLoc=pI(e),l.write(e.value),o._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===l.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===l.state)&&(s.lastChunkWritten=!0,l[l.state](l._consume()))}},unknown:dI});let a,l,s,c,u;var d;if(d=t,Boolean(d&&!("message"in d&&"messages"in d))&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)i.handlers[n.passThrough[r]]=g;const p=function(e,t){const n=t||{};let r,o;return"messages"in n?(o=n,r={}):(o=n.file||void 0,r=n),qN({schema:"svg"===r.space?RN:IN,file:o,verbose:r.verbose,location:!1},e)}(function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e)?function(){const t=o.treeAdapter.createDocument();if(o._bootstrap(t,void 0),l=o.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,u=l.__mixins[0],c=u.posTracker,i(e),m(),t}():function(){const t={nodeName:"template",tagName:"template",attrs:[],namespaceURI:GN.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:GN.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(o._bootstrap(n,t),o._pushTmplInsertionMode("IN_TEMPLATE_MODE"),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),l=o.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,u=l.__mixins[0],c=u.posTracker,i(e),m(),o._adoptNodes(n.childNodes[0],r),r}(),t);return a&&ZO(p,"comment",((e,t,n)=>{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===p.type&&1===p.children.length?p.children[0]:p;function h(e){let t=-1;if(e)for(;++t<e.length;)i(e[t])}function f(e){m(),o._processInputToken({type:"COMMENT_TOKEN",data:e.value,location:pI(e)})}function g(e){let r;a=!0,r="children"in e?{...e,children:cI({type:"root",children:e.children},t,n).children}:{...e},f({type:"comment",value:{stitch:r}})}function m(){if(!l)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const e=l.currentCharacterToken;e&&(e.location.endLine=c.line,e.location.endCol=c.col+1,e.location.endOffset=c.offset+1,o._processInputToken(e)),l.tokenQueue=[],l.state="DATA_STATE",l.returnState="",l.charRefCode=-1,l.tempBuff=[],l.lastStartTagName="",l.consumedAfterSnapshot=-1,l.active=!1,l.currentCharacterToken=void 0,l.currentToken=void 0,l.currentAttr=void 0}};function uI(e){return function(e,t){const n=t&&"object"==typeof t?t.space:t;return nI(e,"svg"===n?RN:IN)}({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function dI(e){throw new Error("Cannot compile `"+e.type+"` node")}function pI(e){const t=VO(e),n=YO(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function hI(e={}){return(t,n)=>cI(t,n,e)}function fI(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=fI(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var gI=function(e){var t,n;if("function"!=typeof e)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 mI="undefined"!=typeof window?window.navigator.userAgent:"",bI=e("dK",/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(mI)),vI=(e("aJ",(window?.navigator?.platform??"")?.includes("Mac")),/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g);function yI(e){const t={};let n;for(;n=vI.exec(e);)t[n[1]]=n[2];return t}function EI(e,t){-1===e.indexOf(t)&&e.push(t)}const _I=(e,t,n)=>Math.min(Math.max(n,e),t),TI={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},wI=e=>"number"==typeof e,kI=e=>Array.isArray(e)&&!wI(e[0]),CI=(e,t,n)=>-n*e+n*t+e,SI=()=>{},xI=e=>e,AI=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function OI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=AI(0,t,r);e.push(CI(n,1,o))}}function NI(e,t=function(e){const t=[0];return OI(t,e-1),t}(e.length),n=xI){const r=e.length,o=r-t.length;return o>0&&OI(t,o),o=>{let i=0;for(;i<r-2&&!(o<t[i+1]);i++);let a=_I(0,1,AI(t[i],t[i+1],o));const l=function(e,t){return kI(e)?e[((e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}(n,i);return a=l(a),CI(e[i],e[i+1],a)}}const II=e=>Array.isArray(e)&&wI(e[0]),RI=e=>"object"==typeof e&&Boolean(e.createAnimation),MI=e=>"function"==typeof e,LI=e=>1e3*e,$I=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function PI(e,t,n,r){if(e===t&&n===r)return xI;const o=t=>function(e,t,n,r,o){let i,a,l=0;do{a=t+(n-t)/2,i=$I(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++l<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:$I(o(e),t,r)}const DI={ease:PI(.25,.1,.25,1),"ease-in":PI(.42,0,1,1),"ease-in-out":PI(.42,0,.58,1),"ease-out":PI(0,0,.58,1)},BI=/\((.*?)\)/;function FI(e){if(MI(e))return e;if(II(e))return PI(...e);const t=DI[e];if(t)return t;if(e.startsWith("steps")){const t=BI.exec(e);if(t){const e=t[1].split(",");return((e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return _I(0,1,o/e)})(parseFloat(e[0]),e[1].trim())}}return xI}class HI{constructor(e,t=[0,1],{easing:n,duration:r=TI.duration,delay:o=TI.delay,endDelay:i=TI.endDelay,repeat:a=TI.repeat,offset:l,direction:s="normal",autoplay:c=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=xI,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),n=n||TI.easing,RI(n)){const e=n.createAnimation(t);n=e.easing,t=e.keyframes||t,r=e.duration||r}this.repeat=a,this.easing=kI(n)?xI:FI(n),this.updateDuration(r);const u=NI(t,l,kI(n)?n.map(FI):xI);this.tick=t=>{var n;let r=0;r=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=r,r/=1e3,r=Math.max(r-o,0),"finished"===this.playState&&void 0===this.pauseTime&&(r=this.totalDuration);const a=r/this.duration;let l=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&l--;const d=l%2;("reverse"===s||"alternate"===s&&d||"alternate-reverse"===s&&!d)&&(c=1-c);const p=r>=this.totalDuration?1:Math.min(c,1),h=u(this.easing(p));e(h),void 0===this.pauseTime&&("finished"===this.playState||r>=this.totalDuration+i)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,h)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},c&&this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),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 e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}class zI{setAnimation(e){this.animation=e,null==e||e.finished.then((()=>this.clearAnimation())).catch((()=>{}))}clearAnimation(){this.animation=this.generator=void 0}}const jI=new WeakMap;function UI(e){return jI.has(e)||jI.set(e,{transforms:[],values:new Map}),jI.get(e)}const GI=["","X","Y","Z"],KI={x:"translateX",y:"translateY",z:"translateZ"},WI={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},qI={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:WI,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:xI},skew:WI},VI=new Map,YI=e=>`--motion-${e}`,XI=["x","y","z"];["translate","scale","rotate","skew"].forEach((e=>{GI.forEach((t=>{XI.push(e+t),VI.set(YI(e+t),qI[e])}))}));const ZI=(e,t)=>XI.indexOf(e)-XI.indexOf(t),QI=new Set(XI),JI=e=>QI.has(e),eR=e=>e.sort(ZI).reduce(tR,"").trim(),tR=(e,t)=>`${e} ${t}(var(${YI(t)}))`,nR=e=>e.startsWith("--"),rR=new Set,oR=(e,t)=>document.createElement("div").animate(e,t),iR={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{oR({opacity:[1]})}catch(Dr){return!1}return!0},finished:()=>Boolean(oR({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{oR({opacity:0},{easing:"linear(0, 1)"})}catch(Dr){return!1}return!0}},aR={},lR={};for(const e in iR)lR[e]=()=>(void 0===aR[e]&&(aR[e]=iR[e]()),aR[e]);const sR=(e,t)=>MI(e)?lR.linearEasing()?`linear(${((e,t)=>{let n="";const r=Math.round(t/.015);for(let o=0;o<r;o++)n+=e(AI(0,r-1,o))+", ";return n.substring(0,n.length-2)})(e,t)})`:TI.easing:II(e)?cR(e):e,cR=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;function uR(e){return KI[e]&&(e=KI[e]),JI(e)?YI(e):e}const dR=(e,t)=>{t=uR(t);let n=nR(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=VI.get(t);e&&(n=e.initialValue)}return n},pR=(e,t,n)=>{t=uR(t),nR(t)?e.style.setProperty(t,n):e.style[t]=n};function hR(e,t,n,r={},o){const i=window.__MOTION_DEV_TOOLS_RECORD,a=!1!==r.record&&i;let l,{duration:s=TI.duration,delay:c=TI.delay,endDelay:u=TI.endDelay,repeat:d=TI.repeat,easing:p=TI.easing,persist:h=!1,direction:f,offset:g,allowWebkitAcceleration:m=!1,autoplay:b=!0}=r;const v=UI(e),y=JI(t);let E=lR.waapi();y&&((e,t)=>{KI[t]&&(t=KI[t]);const{transforms:n}=UI(e);EI(n,t),e.style.transform=eR(n)})(e,t);const _=uR(t),T=function(e,t){return e.has(t)||e.set(t,new zI),e.get(t)}(v.values,_),w=VI.get(_);return function(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(Dr){}}(T.animation,!(RI(p)&&T.generator)&&!1!==r.record),()=>{const v=()=>{var t,n;return null!==(n=null!==(t=dR(e,_))&&void 0!==t?t:null==w?void 0:w.initialValue)&&void 0!==n?n:0};let k=function(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}((e=>Array.isArray(e)?e:[e])(n),v);const C=function(e,t){var n;let r=(null==t?void 0:t.toDefaultUnit)||xI;const o=e[e.length-1];if("string"==typeof o){const e=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";e&&(r=t=>t+e)}return r}(k,w);if(RI(p)){const e=p.createAnimation(k,"opacity"!==t,v,_,T);p=e.easing,k=e.keyframes||k,s=e.duration||s}if(nR(_)&&(lR.cssRegisterProperty()?function(e){if(!rR.has(e)){rR.add(e);try{const{syntax:t,initialValue:n}=VI.has(e)?VI.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(Dr){}}}(_):E=!1),y&&!lR.linearEasing()&&(MI(p)||kI(p)&&p.some(MI))&&(E=!1),E){w&&(k=k.map((e=>wI(e)?w.toDefaultUnit(e):e))),1!==k.length||lR.partialKeyframes()&&!a||k.unshift(v());const t={delay:LI(c),duration:LI(s),endDelay:LI(u),easing:kI(p)?void 0:sR(p,s),direction:f,iterations:d+1,fill:"both"};l=e.animate({[_]:k,offset:g,easing:kI(p)?p.map((e=>sR(e,s))):void 0},t),l.finished||(l.finished=new Promise(((e,t)=>{l.onfinish=e,l.oncancel=t})));const n=k[k.length-1];l.finished.then((()=>{h||(pR(e,_,n),l.cancel())})).catch(SI),m||(l.playbackRate=1.000001)}else if(o&&y)k=k.map((e=>"string"==typeof e?parseFloat(e):e)),1===k.length&&k.unshift(parseFloat(v())),l=new o((t=>{pR(e,_,C?C(t):t)}),k,Object.assign(Object.assign({},r),{duration:s,easing:p}));else{const t=k[k.length-1];pR(e,_,w&&wI(t)?w.toDefaultUnit(t):t)}return a&&i(e,t,k,{duration:s,delay:c,easing:p,repeat:d,offset:g},"motion-one"),T.setAnimation(l),l&&!b&&l.pause(),l}}const fR=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function gR(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;const mR={any:0,all:1};function bR(e,t,{root:n,margin:r,amount:o="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const i=function(e,t){var n;return"string"==typeof e?t?(null!==(n=t[e])&&void 0!==n||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}(e),a=new WeakMap,l=new IntersectionObserver((e=>{e.forEach((e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);MI(n)?a.set(e.target,n):l.unobserve(e.target)}else n&&(n(e),a.delete(e.target))}))}),{root:n,rootMargin:r,threshold:"number"==typeof o?o:mR[o]});return i.forEach((e=>l.observe(e))),()=>l.disconnect()}function vR(e,t){return function(e){return"object"==typeof e}(e)?e:e&&t?t[e]:void 0}let yR;function ER(){if(!yR)return;const e=yR.sort(TR).map(wR);e.forEach(kR),e.forEach(kR),yR=void 0}function _R(e){yR?EI(yR,e):(yR=[e],requestAnimationFrame(ER))}const TR=(e,t)=>e.getDepth()-t.getDepth(),wR=e=>e.animateUpdates(),kR=e=>e.next(),CR=(e,t)=>new CustomEvent(e,{detail:{target:t}});function SR(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function xR(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const AR={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:o}=r,i=gR(r,["once"]);return bR(e,(r=>{if(t(),xR(e,"viewenter",r),!o)return t=>{n(),xR(e,"viewleave",t)}}),i)}},OR=(e,t,n)=>r=>{r.pointerType&&"mouse"!==r.pointerType||(n(),SR(e,t,r))},NR={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const r=OR(e,"hoverstart",t),o=OR(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",o)}}},IR={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const r=t=>{n(),SR(e,"pressend",t),window.removeEventListener("pointerup",r)},o=n=>{t(),SR(e,"pressstart",n),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",r)}}},RR={inView:AR,hover:NR,press:IR},MR=["initial","animate",...Object.keys(RR),"exit"],LR=new WeakMap;function $R(e={},t){let n,r=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},i={},a={};for(const h of MR)a[h]="string"==typeof e[h]?e[h]:null==t?void 0:t.getContext()[h];const l=!1===e.initial?"animate":"initial";let s=gR(vR(e[l]||a[l],e.variants)||{},["transition"]);const c=Object.assign({},s),u=(e,t)=>()=>{o[e]=t,_R(p)},d=()=>{for(const t in RR){const r=RR[t].isActive(e),o=i[t];r&&!o?i[t]=RR[t].subscribe(n,{enable:u(t,!0),disable:u(t,!1)},e):!r&&o&&(o(),delete i[t])}},p={update:t=>{n&&(e=t,d(),_R(p))},setActive:(e,t)=>{n&&(o[e]=t,_R(p))},animateUpdates:function*(){var t,r;const i=s;s={};const a={};for(const n of MR){if(!o[n])continue;const i=vR(e[n]);if(i)for(const n in i)"transition"!==n&&(s[n]=i[n],a[n]=fR(null!==(r=null!==(t=i.transition)&&void 0!==t?t:e.transition)&&void 0!==r?r:{},n))}const l=new Set([...Object.keys(s),...Object.keys(i)]),u=[];l.forEach((e=>{var t;void 0===s[e]&&(s[e]=c[e]),function(e,t){return typeof e!=typeof t||(Array.isArray(e)&&Array.isArray(t)?!function(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}(e,t):e!==t)}(i[e],s[e])&&(null!==(t=c[e])&&void 0!==t||(c[e]=dR(n,e)),u.push(hR(n,e,s[e],a[e],HI)))})),yield;const d=u.map((e=>e())).filter(Boolean);if(!d.length)return;const p=s;n.dispatchEvent(CR("motionstart",p)),Promise.all(d.map((e=>e.finished))).then((()=>{n.dispatchEvent(CR("motioncomplete",p))})).catch(SI)},getDepth:()=>r,getTarget:()=>s,getOptions:()=>e,getContext:()=>a,mount:e=>(n=e,LR.set(n,p),d(),()=>{LR.delete(n),function(e){yR&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(yR,e)}(p);for(const e in i)i[e]()}),isMounted:()=>Boolean(n)};return p}function PR(e){const t={},n=[];for(let r in e){const o=e[r];JI(r)&&(KI[r]&&(r=KI[r]),n.push(r),r=YI(r));let i=Array.isArray(o)?o[0]:o;const a=VI.get(r);a&&(i=wI(o)?a.toDefaultUnit(o):o),t[r]=i}return n.length&&(t.transform=eR(n)),t}const DR=e=>e instanceof Element;function BR(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return BR(e(),t);if(Array.isArray(e))for(const n of e){const e=BR(n,t);if(e)return e}return null}function FR(e,t=DR,n=DR){const r=x(e);return x((()=>BR(r(),t)))}const HR=()=>{},zR=(e,t)=>t();function jR(e,t){const n=N(e),r=n?[n]:[],{onEnter:o=zR,onExit:i=zR}=t,[a,l]=w(t.appear?[]:r),[s]=[B,D];let c,u=!1;function d(e,t){if(!e)return t&&t();u=!0,i(e,(()=>{O((()=>{u=!1,l((t=>t.filter((t=>t!==e)))),t&&t()}))}))}function p(e){const t=c;if(!t)return e&&e();c=void 0,l((e=>[t,...e])),o(t,e??HR)}const h="out-in"===t.mode?e=>u||d(e,p):"in-out"===t.mode?e=>p((()=>d(e))):e=>{d(e),p()};return k((t=>{const n=e();return N(s)?(s(),t):(n!==t&&(c=n,O((()=>N((()=>h(t)))))),n)}),t.appear?void 0:n),a}var UR=H();e("aX",(e=>{const[t,n]=w(!0),r={initial:e.initial??!0,mount:t},o=de(UR.Provider,{value:r,get children(){return jR(FR((()=>e.children)),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(e,t){O((()=>{n(!1),LR.get(e)?.getOptions()?.exit?e.addEventListener("motioncomplete",t):t()}))},onEnter(e,t){O((()=>{n(!0),t()}))}})}});return r.initial=!0,o}));var GR=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],KR=["tag"],WR=H(),qR=e=>{const[t,,n]=be(e,GR,KR),[r,o]=function(e,t,n,r){const o=$R(!1===n?.initial?{...t(),initial:!1}:t(),r);return S((()=>{if(n&&!n.mount())return;const r=e(),i=o.mount(r);S((()=>o.update(t()))),M((()=>{n&&t().exit?(o.setActive("exit",!0),r.addEventListener("motioncomplete",i)):i()}))})),[o,PR(o.getTarget())]}((()=>i),(()=>({...t})),z(UR),z(WR));let i;return de(WR.Provider,{value:r,get children(){return de(at,me(n,{ref:t=>{i=t,e.ref?.(t)},get component(){return e.tag||"div"},get style(){return function(e,t){if("string"==typeof e){if("string"==typeof t)return`${e};${t}`;e=yI(e)}else"string"==typeof t&&(t=yI(t));return{...e,...t}}(e.style,o)}}))}})},VR=e("an",new Proxy(qR,{get:(e,t)=>e=>de(qR,me(e,{tag:t}))}));const YR=(e,t)=>{t?.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),M((()=>window.removeEventListener("scroll",e)))},[XR,ZR]=(e("bO",(()=>{if(bI)return null;const[e,t]=w(!1);return YR((()=>t(window.scrollY>100))),de(we,{get when(){return e()},get children(){return de(ol,{get as(){return VR.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return Ab()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:Ab(),color:"white"}},get _hover(){return{bgColor:Ab(),color:"white"}},get children(){return de(bl,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:mv,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})})),w(!1));e("a$",XR);const[QR,JR]=Hh("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function eM(e){if(e.disabled)return null;if(bI)return null;const[t,n]=w([]);YR((()=>ZR(window.scrollY>100&&t().length>1)),{immediate:!0}),S((()=>{const t=e.markdownRef.querySelector(".markdown-body");if(!t)return;const r=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>/h1|h2|h3/i.test(e.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let i=r.nextNode(),a=6;for(;i;){const e=Number(i.nodeName.match(/h(\d)/i)[1]);e<a&&(a=e),o.push({indent:e,text:i.textContent,tagName:i.nodeName.toLowerCase(),key:i.getAttribute("key")}),i=r.nextNode()}n(o.map((e=>({...e,indent:e.indent-a}))))}));const r="calc(100% - 20px)",[o,i]=w(r);return de(we,{get when(){return De((()=>!QR()))()&&XR()},get children(){return de(ol,{get as(){return VR.div},initial:{x:999},get animate(){return{x:o()}},onMouseEnter:()=>i(0),onMouseLeave:()=>i(r),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return de(ol,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return de(xu,{maxH:"60vh",overflowY:"auto",get children(){return de(Te,{get each(){return t()},children:t=>de(Ou,{get pl(){return 15*t.indent},m:4,get children(){return de(Kl,{get color(){return Ab()},onClick:()=>(t=>{const n=e.markdownRef.querySelector(`${t.tagName}[key=${t.key}]`);if(!n)return;const r=document.querySelector(".nav");let o=r?.getBoundingClientRect().bottom??0;o<0&&(o=0);const i=n.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:i-o})})(t),get children(){return t.text}})}})})}})}})}})}})}e("b0",JR);const tM=gI((()=>{const e=document.createElement("link");e.rel="stylesheet",e.href="https://registry.npmmirror.com/katex/0.16.11/files/dist/katex.min.css",document.head.appendChild(e)})),nM=gI((()=>{const e=document.createElement("script");e.src="https://registry.npmmirror.com/mermaid/11/files/dist/mermaid.min.js",document.body.appendChild(e)}));function rM(e){return gv({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 oM(e){return gv({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)}const iM=e("a6",(e=>{const t=me({h:"$full"},e);return de(Bs,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return de(ol,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return Za("white","$neutral3")()},get children(){return[de(fu,{css:{wordBreak:"break-all"},get children(){return e.msg}}),de(we,{get when(){return!e.disableColor},get children(){return de(Qc,{mt:"$2",justifyContent:"end",get children(){return de(yv,{})}})}})]}})}})}));function aM(e){return de(ep,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[de(Op,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[de(Rp,{}),de(sp,{})]}}),de(op,{get children(){return de(up,{get children(){return de(Te,{get each(){return e.options},children:e=>de(hp,{get value(){return e.value},get children(){return[de(yp,{get children(){return e.label??e.value}}),de(bp,{})]}})})}})}})]}})}e("cM",(e=>{const{isOpen:t,onToggle:n}=Mh();return de(ol,{get pos(){return t()?"fixed":"relative"},get w(){return t()?"100vw":e.w},get h(){return 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[De((()=>e.children)),de(bl,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?rM:oM},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return Im()},p:"$1",boxSize:"$7"})]}})}));var lM={},sM={};Object.defineProperty(sM,"__esModule",{value:!0}),sM.default=()=>{throw new Error("File system is not available")};var cM={},uM={};Object.defineProperty(uM,"__esModule",{value:!0}),uM.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0});var dM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cM,"__esModule",{value:!0});const pM=dM(uM);cM.default=class{name(){return"ASCII"}match(e){const t=e.rawInput;for(let n=0;n<e.rawLen;n++){const r=t[n];if(r<32||r>126)return(0,pM.default)(e,this,0)}return(0,pM.default)(e,this,100)}};var hM={},fM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hM,"__esModule",{value:!0});const gM=fM(uM);hM.default=class{name(){return"UTF-8"}match(e){let t,n=!1,r=0,o=0,i=0;const a=e.rawInput;e.rawLen>=3&&239==(255&a[0])&&187==(255&a[1])&&191==(255&a[2])&&(n=!0);for(let l=0;l<e.rawLen;l++){const t=a[l];if(128&t){if(192==(224&t))i=1;else if(224==(240&t))i=2;else if(240==(248&t))i=3;else{if(o++,o>5)break;i=0}for(;l++,!(l>=e.rawLen);){if(128!=(192&a[l])){o++;break}if(0==--i){r++;break}}}}if(t=0,n&&0==o)t=100;else if(n&&r>10*o)t=80;else if(r>3&&0==o)t=100;else if(r>0&&0==o)t=80;else if(0==r&&0==o)t=10;else{if(!(r>10*o))return null;t=25}return(0,gM.default)(e,this,t)}};var mM={},bM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mM,"__esModule",{value:!0}),mM.UTF_32LE=mM.UTF_32BE=mM.UTF_16LE=mM.UTF_16BE=void 0;const vM=bM(uM);mM.UTF_16BE=class{name(){return"UTF-16BE"}match(e){const t=e.rawInput;return t.length>=2&&254==(255&t[0])&&!(255&~t[1])?(0,vM.default)(e,this,100):null}},mM.UTF_16LE=class{name(){return"UTF-16LE"}match(e){const t=e.rawInput;return t.length>=2&&!(255&~t[0])&&254==(255&t[1])?t.length>=4&&0==t[2]&&0==t[3]?null:(0,vM.default)(e,this,100):null}};class yM{name(){return"UTF-32"}getChar(e,t){return-1}match(e){let t=0,n=0,r=!1,o=0;const i=e.rawLen/4*4,a=e.rawInput;if(0==i)return null;65279==this.getChar(a,0)&&(r=!0);for(let l=0;l<i;l+=4){const e=this.getChar(a,l);e<0||e>=1114111||e>=55296&&e<=57343?n+=1:t+=1}return r&&0==n?o=100:r&&t>10*n?o=80:t>3&&0==n?o=100:t>0&&0==n?o=80:t>10*n&&(o=25),0==o?null:(0,vM.default)(e,this,o)}}mM.UTF_32BE=class extends yM{name(){return"UTF-32BE"}getChar(e,t){return(255&e[t+0])<<24|(255&e[t+1])<<16|(255&e[t+2])<<8|255&e[t+3]}},mM.UTF_32LE=class extends yM{name(){return"UTF-32LE"}getChar(e,t){return(255&e[t+3])<<24|(255&e[t+2])<<16|(255&e[t+1])<<8|255&e[t+0]}};var EM={},_M=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(EM,"__esModule",{value:!0}),EM.gb_18030=EM.euc_kr=EM.euc_jp=EM.big5=EM.sjis=void 0;const TM=_M(uM);function wM(e,t){const n=(e,t,r,o)=>{if(o<r)return-1;const i=Math.floor(r+o>>>1);return t>e[i]?n(e,t,i+1,o):t<e[i]?n(e,t,r,i-1):i};return n(e,t,0,e.length-1)}class kM{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(e){return this.nextIndex>=e.rawLen?(this.done=!0,-1):255&e.rawInput[this.nextIndex++]}}class CM{constructor(){this.commonChars=[]}name(){return"mbcs"}match(e){let t=0,n=0,r=0,o=0,i=0;const a=new kM;e:{for(a.reset();this.nextChar(a,e);){if(o++,a.error)r++;else{const e=4294967295&a.charValue;e>255&&(t++,null!=this.commonChars&&wM(this.commonChars,e)>=0&&n++)}if(r>=2&&5*r>=t)break e}if(t<=10&&0==r)i=0==t&&o<10?0:10;else if(t<20*r)i=0;else if(null==this.commonChars)i=30+t-20*r,i>100&&(i=100);else{const e=90/Math.log(t/4);i=Math.floor(Math.log(n+1)*e+10),i=Math.min(i,100)}}return 0==i?null:(0,TM.default)(e,this,i)}nextChar(e,t){return!0}}function SM(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0;return n=e.charValue=e.nextByte(t),n<0?e.done=!0:n<=141||(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=161&&n<=254?r<161&&(e.error=!0):142!=n?143==n&&(o=e.nextByte(t),e.charValue=e.charValue<<8|o,o<161&&(e.error=!0)):r<161&&(e.error=!0)),0==e.done}EM.sjis=class extends CM{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(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||n>160&&n<=223)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=n<<8|r,r>=64&&r<=127||r>=128&&r<=255||(e.error=!0),0))}},EM.big5=class extends CM{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(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||255==n)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=e.charValue<<8|r,(r<64||127==r||255==r)&&(e.error=!0),0))}},EM.euc_jp=class extends CM{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=SM}name(){return"EUC-JP"}language(){return"ja"}},EM.euc_kr=class extends CM{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=SM}name(){return"EUC-KR"}language(){return"ko"}},EM.gb_18030=class extends CM{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(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0,i=0;e:if(n=e.charValue=e.nextByte(t),n<0)e.done=!0;else if(!(n<=128)&&(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=129&&n<=254)){if(r>=64&&r<=126||r>=80&&r<=254)break e;if(r>=48&&r<=57&&(o=e.nextByte(t),o>=129&&o<=254&&(i=e.nextByte(t),i>=48&&i<=57))){e.charValue=e.charValue<<16|o<<8|i;break e}e.error=!0}return 0==e.done}};var xM={},AM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xM,"__esModule",{value:!0}),xM.KOI8_R=xM.windows_1256=xM.windows_1251=xM.ISO_8859_9=xM.ISO_8859_8=xM.ISO_8859_7=xM.ISO_8859_6=xM.ISO_8859_5=xM.ISO_8859_2=xM.ISO_8859_1=void 0;const OM=AM(uM);class NM{constructor(e,t){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=e,this.byteMap=t}search(e,t){let n=0;return e[n+32]<=t&&(n+=32),e[n+16]<=t&&(n+=16),e[n+8]<=t&&(n+=8),e[n+4]<=t&&(n+=4),e[n+2]<=t&&(n+=2),e[n+1]<=t&&(n+=1),e[n]>t&&(n-=1),n<0||e[n]!=t?-1:n}lookup(e){this.ngramCount+=1,this.search(this.ngramList,e)>=0&&(this.hitCount+=1)}addByte(e){this.ngram=(this.ngram<<8)+(255&e)&16777215,this.lookup(this.ngram)}nextByte(e){return this.byteIndex>=e.inputLen?-1:255&e.inputBytes[this.byteIndex++]}parse(e,t){let n,r=!1;for(this.spaceChar=t;(n=this.nextByte(e))>=0;){const e=this.byteMap[n];0!=e&&(e==this.spaceChar&&r||this.addByte(e),r=e==this.spaceChar)}this.addByte(this.spaceChar);const o=this.hitCount/this.ngramCount;return o>.33?98:Math.floor(300*o)}}class IM{constructor(e,t){this.fLang=e,this.fNGrams=t}}class RM{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(e){return"sbcs"}language(){return this.nGramLang}match(e){this.nGramLang=void 0;const t=this.ngrams();if(n=t,Array.isArray(n)&&isFinite(n[0])){const n=new NM(t,this.byteMap()).parse(e,this.spaceChar);return n<=0?null:(0,OM.default)(e,this,n)}var n;let r=-1;for(let o=t.length-1;o>=0;o--){const n=t[o],i=new NM(n.fNGrams,this.byteMap()).parse(e,this.spaceChar);i>r&&(r=i,this.nGramLang=n.fLang)}return r<=0?null:(0,OM.default)(e,this,r)}}xM.ISO_8859_1=class extends RM{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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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(e){return e&&e.c1Bytes?"windows-1252":"ISO-8859-1"}},xM.ISO_8859_2=class extends RM{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 IM("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 IM("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 IM("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 IM("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(e){return e&&e.c1Bytes?"windows-1250":"ISO-8859-2"}},xM.ISO_8859_5=class extends RM{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"}},xM.ISO_8859_6=class extends RM{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"}},xM.ISO_8859_7=class extends RM{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(e){return e&&e.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}},xM.ISO_8859_8=class extends RM{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 IM("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 IM("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(e){return e&&e.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}},xM.ISO_8859_9=class extends RM{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(e){return e&&e.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}},xM.windows_1251=class extends RM{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"}},xM.windows_1256=class extends RM{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"}},xM.KOI8_R=class extends RM{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"}};var MM={},LM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(MM,"__esModule",{value:!0}),MM.ISO_2022_CN=MM.ISO_2022_KR=MM.ISO_2022_JP=void 0;const $M=LM(uM);class PM{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(e){let t,n,r,o,i=0,a=0,l=0;const s=e.inputBytes,c=e.inputLen;e:for(t=0;t<c;t++){if(27==s[t]){t:for(r=0;r<this.escapeSequences.length;r++){const e=this.escapeSequences[r];if(!(c-t<e.length)){for(n=1;n<e.length;n++)if(e[n]!=s[t+n])continue t;i++,t+=e.length-1;continue e}}a++}14!=s[t]&&15!=s[t]||l++}return 0==i?null:(o=(100*i-100*a)/(i+a),i+l<5&&(o-=10*(5-(i+l))),o<=0?null:(0,$M.default)(e,this,o))}}MM.ISO_2022_JP=class extends PM{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"}},MM.ISO_2022_KR=class extends PM{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}},MM.ISO_2022_CN=class extends PM{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"}};var DM={};Object.defineProperty(DM,"__esModule",{value:!0}),DM.isByteArray=void 0,DM.isByteArray=e=>null!=e&&"object"==typeof e&&isFinite(e.length)&&e.length>=0,function(e){var t=Zn&&Zn.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=Zn&&Zn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=Zn&&Zn.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var o={};if(null!=r)for(var i=e(r),a=0;a<i.length;a++)"default"!==i[a]&&t(o,r,i[a]);return n(o,r),o}}(),o=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=o(sM),a=o(cM),l=o(hM),s=r(mM),c=r(EM),u=r(xM),d=r(MM),p=DM,h=[new l.default,new s.UTF_16BE,new s.UTF_16LE,new s.UTF_32BE,new s.UTF_32LE,new c.sjis,new c.big5,new c.euc_jp,new c.euc_kr,new c.gb_18030,new d.ISO_2022_JP,new d.ISO_2022_KR,new d.ISO_2022_CN,new u.ISO_8859_1,new u.ISO_8859_2,new u.ISO_8859_5,new u.ISO_8859_6,new u.ISO_8859_7,new u.ISO_8859_8,new u.ISO_8859_9,new u.windows_1251,new u.windows_1256,new u.KOI8_R,new a.default];e.detect=t=>{const n=(0,e.analyse)(t);return n.length>0?n[0].name:null},e.analyse=e=>{if(!(0,p.isByteArray)(e))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const t=[];for(let i=0;i<256;i++)t[i]=0;for(let i=e.length-1;i>=0;i--)t[255&e[i]]++;let n=!1;for(let i=128;i<=159;i+=1)if(0!==t[i]){n=!0;break}const r={byteStats:t,c1Bytes:n,rawInput:e,rawLen:e.length,inputBytes:e,inputLen:e.length},o=h.map((e=>e.match(r))).filter((e=>!!e)).sort(((e,t)=>t.confidence-e.confidence));return o},e.detectFile=(t,n={})=>new Promise(((r,o)=>{let a;const l=(0,i.default)(),s=(t,n)=>{a&&l.closeSync(a),t?o(t):r((0,e.detect)(n))};if(n&&n.sampleSize){a=l.openSync(t,"r");const e=Buffer.allocUnsafe(n.sampleSize);l.read(a,e,0,n.sampleSize,n.offset,(t=>{s(t,e)}))}else l.readFile(t,s)})),e.detectFileSync=(t,n={})=>{const r=(0,i.default)();if(n&&n.sampleSize){const o=r.openSync(t,"r"),i=Buffer.allocUnsafe(n.sampleSize);return r.readSync(o,i,0,n.sampleSize,n.offset),r.closeSync(o),(0,e.detect)(i)}return(0,e.detect)(r.readFileSync(t))},e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}}(lM);const BM=Qn(lM);function FM(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 S((()=>{if(e.referenceText){let n;n="string"==typeof e.referenceText?(new TextEncoder).encode(e.referenceText):new Uint8Array(e.referenceText);for(let r of BM.analyse(n)){const n=r.name.toLowerCase();if(t.includes(n))return void e.setEncoding(n)}}})),de(ol,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return de(aM,{get options(){return t.map((e=>({label:e.toLocaleUpperCase(),value:e})))},get value(){return e.encoding},onChange:t=>e.setEncoding(t)})}})}function HM(e){return gv({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)}const zM=rl(HM,{baseStyle:{color:"$neutral11"}}),jM=(e("du",(e=>{const t=Ub(),n=np(),[r,o]=w(!1),[i,a]=w("");let l;const s=()=>n.state.selectedOptions.map((e=>e.textValue)).join(",");return S(I(s,a)),[de(Op,{get as(){return e.searchable?"div":void 0},get children(){return de(we,{get fallback(){return[de(_p,{get children(){return t("global.choose")}}),de(Rp,{}),de(sp,{})]},get when(){return!e.readonly&&e.searchable},get children(){return[de(Eu,{border:"none",variant:"unstyled",get placeholder(){return De((()=>!!r()))()&&s()||t("global.choose")},get value(){return De((()=>!!r()))()?i():s()},onKeyDown:e=>e.stopPropagation(),onClick:e=>{n.state.opened&&e.stopPropagation()},onInput:e=>{clearTimeout(l),a(e.currentTarget.value)},onBlur:()=>{o(!1),l=setTimeout((()=>a("")),300)},onFocus:()=>{clearTimeout(l),a(""),o(!0)}}),de(we,{get when(){return r()},get fallback(){return de(sp,{})},get children(){return de(zM,{})}})]}})}}),de(op,{get children(){return de(up,{get children(){return de(Te,{get each(){return e.searchable?e.options.filter((e=>new RegExp(i(),"i").test(e.label))):e.options},children:e=>de(hp,{get value(){return e.key},get children(){return[de(yp,{get children(){return e.label}}),de(bp,{})]}})})}})}})]})),{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:Im(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}}),UM=Ei({"*":{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"}}}}),GM=e=>{const t=Ub(),[n,r]=zb((()=>Tm.get("/me"))),[o,i]=w();return(async()=>{Am(await r(),Fb,i)})(),de(ke,{get fallback(){return e.children},get children(){return[de(Ce,{get when(){return n()},get children(){return de(pv,{})}}),de(Ce,{get when(){return void 0!==o()},get children(){return de(iM,{get msg(){return t("home.get_current_user_failed")+o()}})}})]}})};let KM=[];const WM=e=>{KM=e},qM=(e("cv",(e=>(e=e.toLowerCase(),KM.some((t=>e.endsWith(t)))))),ve((()=>Ev((()=>t.import("./Layout-legacy-7eb8c952.js").then((e=>e.L))),void 0)))),VM=ve((()=>Ev((()=>t.import("./index-legacy-c93b9947.js").then((e=>e.i))),void 0))),YM=ve((()=>Ev((()=>t.import("./index-legacy-8280e63e.js")),void 0))),XM=ve((()=>Ev((()=>t.import("./index-legacy-46ebd4af.js")),void 0))),ZM=()=>{const e=Ub();UM();const[,{add:t}]=Ph(),n=_t().isRouting,{to:r,pathname:o}=jb(),i=e=>{r(e)};qh.on("to",i),M((()=>{qh.off("to",i)})),S((()=>{qh.emit("pathname",o())}));const[a,l]=w([]),[s,c]=Hb((()=>Promise.all([(async()=>{t(Sv,(await xv[Sv]()).default),Ov.add(Sv)})(),(async()=>{Nm(await Tm.get("/public/settings"),Cb,(e=>l(a().concat(e))))})(),(async()=>{Nm(await Tm.get("/public/archive_extensions"),WM,(e=>l(a().concat(e))))})()])));return c(),[de(it,{get children(){return de(Ld,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return n()?"block":"none"},get children(){return de(Pd,{})}})}}),de(ke,{get fallback(){return de(Pt,{base:Kh,get children(){return[de(Dt,{path:"/@test",component:XM}),de(Dt,{path:"/@login",component:YM}),de(Dt,{path:"/@manage/*",get element(){return de(GM,{get children(){return de(VM,{})}})}}),de(Dt,{path:"*",get element(){return de(GM,{get children(){return de(qM,{})}})}})]}})},get children(){return[de(Ce,{get when(){return a().length>0},get children(){return de(iM,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+a().map((t=>e("home."+t))).join(", ")}})}}),de(Ce,{get when(){return s()},get children(){return de(pv,{})}})]}})]},QM=()=>(UM(),de(Va,{config:jM,get children(){return de(xe,{fallback:e=>(console.error("error",e),de(iM,{msg:`System error: ${e}`,h:"100vh"})),get children(){return de($h.Provider,{value:Nv,get children(){return de(gd,{duration:3e3,get children(){return de(Oe,{get fallback(){return de(pv,{})},get children(){return de(ZM,{})}})}})}})}})}}));!function(e,t,n,r={}){let o;T((r=>{o=r,t===document?e():We(t,e(),t.firstChild?null:void 0,n)}),r.owner)}((()=>de($t,{get children(){return de(QM,{})}})),document.getElementById("root"))}}}));
27
+ function HT(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}const zT={}.hasOwnProperty;function jT(e,t){let n;for(n in t){const r=(zT.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){zT.call(r,i)||(r[i]=[]);const e=o[i];UT(r[i],Array.isArray(e)?e:e?[e]:[])}}}function UT(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);HT(e,0,0,r)}const GT=ZT(/[A-Za-z]/),KT=ZT(/[\dA-Za-z]/);function WT(e){return null!==e&&e<-2}function qT(e){return null!==e&&(e<0||32===e)}function VT(e){return-2===e||-1===e||32===e}const YT=ZT(/[!-\/:-@\[-`\{-~\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]/),XT=ZT(/\s/);function ZT(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}const QT={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},JT={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(tw,s,l)(t):null===t||qT(t)||XT(t)||45!==t&&YT(t)?s(t):(i=!0,e.consume(t),a)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function s(e){return o||r||!i?n(e):t(e)}},partial:!0},ew={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(tw,t,i)(a):null===a||qT(a)||XT(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},tw={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||qT(a)||XT(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||qT(e)||XT(e)?t(e):r(e)}function i(e){return GT(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):GT(t)?(e.consume(t),a):n(t)}},partial:!0},nw={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return KT(e)?n(e):t(e)}},partial:!0},rw={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!cw.call(r,r.previous)||hw(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(QT,e.attempt(JT,e.attempt(ew,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:cw},ow={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!uw.call(r,r.previous)||hw(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(GT(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),i?s:(i=!0,l)):n(t)}function s(t){return null===t||function(e){return null!==e&&(e<32||127===e)}(t)||qT(t)||XT(t)||YT(t)?n(t):e.attempt(JT,e.attempt(ew,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:uw},iw={tokenize:function(e,t,n){const r=this;let o,i;return function(t){return pw(t)&&dw.call(r,r.previous)&&!hw(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return pw(t)?(e.consume(t),a):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(nw,c,s)(t):45===t||95===t||KT(t)?(i=!0,e.consume(t),l):c(t)}function s(t){return e.consume(t),o=!0,l}function c(a){return i&&o&&GT(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:dw},aw={},lw={text:aw};let sw=48;for(;sw<123;)aw[sw]=iw,sw++,58===sw?sw=65:91===sw&&(sw=97);function cw(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||qT(e)}function uw(e){return!GT(e)}function dw(e){return!(47===e||pw(e))}function pw(e){return 43===e||45===e||46===e||95===e||KT(e)}function hw(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!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 fw(e){return null===e||qT(e)||XT(e)?1:YT(e)?2:void 0}function gw(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function mw(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return VT(r)?(e.enter(n),a(r)):t(r)};function a(r){return VT(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}aw[43]=iw,aw[45]=iw,aw[46]=iw,aw[95]=iw,aw[72]=[iw,ow],aw[104]=[iw,ow],aw[87]=[iw,rw],aw[119]=[iw,rw];const bw={tokenize:function(e,t,n){return function(t){return VT(t)?mw(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||WT(e)?t(e):n(e)}},partial:!0},vw=document.createElement("i");function yw(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ew={tokenize:function(e,t,n){const r=this;return mw(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function _w(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const l=yw(r.sliceSerialize({start:a.end,end:r.now()}));return 94===l.codePointAt(0)&&i.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function Tw(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){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)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function ww(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(a>999||93===l&&!i||null===l||91===l||qT(l))return n(l);if(93===l){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(yw(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return qT(l)||(i=!0),a++,e.consume(l),92===l?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function kw(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(l>999||93===t&&!a||null===t||91===t||qT(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=yw(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return qT(t)||(a=!0),l++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),mw(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function Cw(e,t,n){return e.check(bw,t,e.attempt(Ew,t,n))}function Sw(e){e.exit("gfmFootnoteDefinition")}function xw(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),l(t))};function l(i){const s=fw(o);if(126===i)return a>1?r(i):(e.consume(i),a++,l);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=fw(i);return c._open=!u||2===u&&Boolean(s),c._close=!s||2===s&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],l=t.parser.constructs.insideSpan.null;l&&HT(a,a.length,0,gw(l,e.slice(r+1,n),t)),HT(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),HT(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class Aw{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(((e,t)=>e[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function Ow(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}const Nw={flow:{null:{tokenize:function(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?E:l;return i===E&&r.parser.lazy[r.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),s(e)}(t)}function s(t){return null===t?n(t):WT(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):VT(t)?mw(e,s,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||qT(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,VT(t)?mw(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return VT(t)?mw(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||WT(t)?v(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return VT(t)?mw(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?p(n):(null===n||WT(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function E(t){return e.enter("tableRow"),_(t)}function _(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),_):null===n||WT(n)?(e.exit("tableRow"),t(n)):VT(n)?mw(e,_,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||qT(t)?(e.exit("data"),_(t)):(e.consume(t),92===t?w:T)}function w(t){return 92===t||124===t?(e.consume(t),T):T(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new Aw;for(;++i<e.length;){const h=e[i],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==d&&(Rw(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,o=void 0,s=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",r,t]])),l="tableDelimiterRow"===f.type?2:r?3:1):!l||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==s[1]&&(c[0]=c[1],o=Iw(p,t,s,l,void 0,o)),s=c,c=[s[1],i,0,0])):(a=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],o=Iw(p,t,s,l,void 0,o),s=[0,0,0,0]),c[2]=i)):"tableHead"===f.type?(u=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,0!==s[1]?(c[0]=c[1],o=Iw(p,t,s,l,i,o)):0!==c[1]&&(o=Iw(p,t,c,l,i,o)),l=0):!l||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=i)}for(0!==d&&Rw(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Ow(t.events,i))}return e}}}};function Iw(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},Mw(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Mw(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=Mw(t.events,n[2]),i=Mw(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},Mw(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function Rw(e,t,n,r,o){const i=[],a=Mw(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function Mw(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Lw={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return qT(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return WT(r)?t(r):VT(r)?e.check({tokenize:Pw},t,n)(r):n(r)}}},$w={text:{91:Lw}};function Pw(e,t,n){return mw(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function Dw(e){return function(e){const t={};let n=-1;for(;++n<e.length;)jT(t,e[n]);return t}([lw,{document:{91:{tokenize:kw,continuation:{tokenize:Cw},exit:Sw}},text:{91:{tokenize:ww},93:{add:"after",tokenize:_w,resolveTo:Tw}}},xw(e),Nw,$w])}function Bw(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const Fw=e("c",(function(e){if(null==e)return zw;if("string"==typeof e)return function(e){return Hw(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Fw(e[n]);return Hw(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return Hw(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return Hw(e);throw new Error("Expected function, string, or object as test")}));function Hw(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function zw(){return!0}const jw=!0,Uw=!1,Gw=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=Fw(t),i=r?-1:1;!function e(a,l,s){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=[];if((!t||o(a,l,s[s.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[jw,e]:[e]}(n(a,s)),p[0]===Uw))return p;if(a.children&&"skip"!==p[0])for(u=(r?a.children.length:-1)+i,d=s.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===Uw)return c;u="number"==typeof c[1]?c[1]:u+i}return p}}(e,void 0,[])()},Kw={}.hasOwnProperty,Ww=function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=Fw(o.ignore||[]),l=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([qw(e[n][0]),Vw(e[n][1])])}else{let n;for(n in e)Kw.call(e,n)&&t.push([qw(n),Vw(e[n])])}return t}(i);let s=-1;for(;++s<l.length;)Gw(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=l[s][0],o=l[s][1];let i=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let l=o(...d,a);if("string"==typeof l&&(l=l.length>0?{type:"text",value:l}:void 0),!1!==l&&(i!==n&&u.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(l)?u.push(...l):l&&u.push(l),i=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(i<e.value.length&&u.push({type:"text",value:e.value.slice(i)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}};function qw(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Vw(e){return"function"==typeof e?e:()=>e}const Yw="phrasing",Xw=["autolink","link","image","label"],Zw={transforms:[function(e){Ww(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ek],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,tk]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Jw,literalAutolinkHttp:Jw,literalAutolinkWww:Jw},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},Qw={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Yw,notInConstruct:Xw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Yw,notInConstruct:Xw},{character:":",before:"[ps]",after:"\\/",inConstruct:Yw,notInConstruct:Xw}]};function Jw(e){this.config.enter.autolinkProtocol.call(this,e)}function ek(e,t,n,r,o){let i="";if(!nk(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(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])))}(n))return!1;const a=function(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 o=Bw(e,"(");let i=Bw(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function tk(e,t,n,r){return!(!nk(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function nk(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||XT(n)||YT(n))&&(!t||47!==n)}const rk=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ok(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return function(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}(n.slice(t?2:1),t?16:10)}return function(e){const t="&"+e+";";vw.innerHTML=t;const n=vw.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}(n)||e}function ik(e){return e.label||!e.identifier?e.label||"":e.identifier.replace(rk,ok)}function ak(e,t,n,r){let o=r.join.length;for(;o--;){const i=r.join[o](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const lk=/\r?\n|\r/g;function sk(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 ck(e,t){return uk(e,t.inConstruct,!0)&&!uk(e,t.notInConstruct,!1)}function uk(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function dk(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let l=-1;for(;++l<e.unsafe.length;){const t=e.unsafe[l];if(!ck(e.stack,t))continue;const n=sk(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(pk);let s=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(l=-1;++l<o.length;){const e=o[l];e<s||e>=c||e+1<c&&o[l+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[l-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(s!==e&&i.push(hk(r.slice(s,e),"\\")),s=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),s++):i.push("\\"))}return i.push(hk(r.slice(s,c),n.after)),i.join("")}function pk(e,t){return e-t}function hk(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,l=-1,s=0;for(;a=n.exec(i);)r.push(a.index);for(;++l<r.length;)s!==r[l]&&o.push(e.slice(s,r[l])),o.push("\\"),s=r[l];return o.push(e.slice(s)),o.join("")}function fk(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function gk(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function mk(){this.buffer()}function bk(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yw(this.sliceSerialize(e)).toLowerCase()}function vk(e){this.exit(e)}function yk(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ek(){this.buffer()}function _k(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yw(this.sliceSerialize(e)).toLowerCase()}function Tk(e){this.exit(e)}function wk(e,t,n,r){const o=fk(r);let i=o.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=o.move(dk(n,ik(e),{...o.current(),before:i,after:"]"})),l(),a(),i+=o.move("]"),i}function kk(e,t,n,r){const o=fk(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),l=n.enter("label");return i+=o.move(dk(n,ik(e),{...o.current(),before:i,after:"]"})),l(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=lk.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let l=-1;for(r.push(-1);++l<o.length;){const n=o[l];r[r.length-1]=l,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),l<o.length-1&&a.push(i.move(ak(n,o[l+1],e,t)))}return r.pop(),a.join("")}(e,n,o.current()),Ck)),a(),i}function Ck(e,t,n){return 0===t?e:(n?"":" ")+e}function Sk(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++a<o.length;){const c=o[a];let u;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...s.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===l||"\n"===l)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(i.join(""))),i.push(s.move(t.handle(c,e,t,{...s.current(),before:l,after:u}))),l=i[i.length-1].slice(-1)}return r.pop(),i.join("")}wk.peek=function(){return"["},Ok.peek=function(){return"~"};const xk={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Ak={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ok}};function Ok(e,t,n,r){const o=fk(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=Sk(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Nk(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=sk(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function Ik(e){return e.length}function Rk(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Nk.peek=function(){return"`"};const Mk={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:$k,tableHeader:$k,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Pk));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Lk,tableHeader:Lk,tableRow:Lk}};function Lk(e){this.exit(e)}function $k(e){this.enter({type:"tableCell",children:[]},e)}function Pk(e,t){return"|"===t?t:e}function Dk(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=s(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=s(e,n,r),i=l([o]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=Nk(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),l=Sk(e,n,{...r,before:i,after:i});return a(),o(),l}function l(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||Ik,i=[],a=[],l=[],s=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){const a=null==(d=e[u][i])?"":String(d);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===s[i]||e>s[i])&&(s[i]=e)}t.push(a)}a[u]=t,l[u]=r}var d;let p=-1;if("object"==typeof r&&"length"in r)for(;++p<c;)i[p]=Rk(r[p]);else{const e=Rk(r);for(;++p<c;)i[p]=e}p=-1;const h=[],f=[];for(;++p<c;){const e=i[p];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,s[p]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>s[p]&&(s[p]=o),f[p]=o),h[p]=a}a.splice(1,0,h),l.splice(1,0,f),u=-1;const g=[];for(;++u<a.length;){const e=a[u],t=l[u];p=-1;const r=[];for(;++p<c;){const o=e[p]||"";let a="",l="";if(!1!==n.alignDelimiters){const e=s[p]-(t[p]||0),n=i[p];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),l=a):l=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!p||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&p===c-1||r.push("|")}g.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return g.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const i=[],l=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return l(),i}}function Bk(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(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}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),(function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e}));return s(),c}const Fk={exit:{taskListCheckValueChecked:zk,taskListCheckValueUnchecked:zk,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},Hk={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",l=fk(r);i&&l.move(a);let s=Bk(e,t,n,{...r,...l.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),s}}};function zk(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function jk(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",Dw(e)),n("fromMarkdownExtensions",[Zw,{enter:{gfmFootnoteDefinition:gk,gfmFootnoteDefinitionLabelString:mk,gfmFootnoteCall:yk,gfmFootnoteCallString:Ek},exit:{gfmFootnoteDefinition:vk,gfmFootnoteDefinitionLabelString:bk,gfmFootnoteCall:Tk,gfmFootnoteCallString:_k}},xk,Mk,Fk]),n("toMarkdownExtensions",function(e){return{extensions:[Qw,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:kk,footnoteReference:wk}},Ak,Dk(e),Hk]}}(e))}var Uk={};const Gk=[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];Uk.REPLACEMENT_CHARACTER="�",Uk.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},Uk.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},Uk.isSurrogate=function(e){return e>=55296&&e<=57343},Uk.isSurrogatePair=function(e){return e>=56320&&e<=57343},Uk.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},Uk.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},Uk.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||Gk.indexOf(e)>-1};var Kk={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const Wk=Uk,qk=Kk,Vk=Wk.CODE_POINTS;var Yk=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(Wk.isSurrogatePair(t))return this.pos++,this._addGap(),Wk.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Vk.EOF;return this._err(qk.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Vk.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===Vk.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===Vk.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Vk.LINE_FEED):(this.skipNextNewLine=!1,Wk.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===Vk.LINE_FEED||e===Vk.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Wk.isControlCodePoint(e)?this._err(qk.controlCharacterInInputStream):Wk.isUndefinedCodePoint(e)&&this._err(qk.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}},Xk=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,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,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const Zk=Yk,Qk=Uk,Jk=Xk,eC=Kk,tC=Qk.CODE_POINTS,nC=Qk.CODE_POINT_SEQUENCES,rC={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},oC="DATA_STATE",iC="RCDATA_STATE",aC="RAWTEXT_STATE",lC="SCRIPT_DATA_STATE",sC="PLAINTEXT_STATE",cC="TAG_OPEN_STATE",uC="END_TAG_OPEN_STATE",dC="TAG_NAME_STATE",pC="RCDATA_LESS_THAN_SIGN_STATE",hC="RCDATA_END_TAG_OPEN_STATE",fC="RCDATA_END_TAG_NAME_STATE",gC="RAWTEXT_LESS_THAN_SIGN_STATE",mC="RAWTEXT_END_TAG_OPEN_STATE",bC="RAWTEXT_END_TAG_NAME_STATE",vC="SCRIPT_DATA_LESS_THAN_SIGN_STATE",yC="SCRIPT_DATA_END_TAG_OPEN_STATE",EC="SCRIPT_DATA_END_TAG_NAME_STATE",_C="SCRIPT_DATA_ESCAPE_START_STATE",TC="SCRIPT_DATA_ESCAPE_START_DASH_STATE",wC="SCRIPT_DATA_ESCAPED_STATE",kC="SCRIPT_DATA_ESCAPED_DASH_STATE",CC="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",SC="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",xC="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",AC="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",OC="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",NC="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",IC="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",RC="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",MC="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",LC="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",$C="BEFORE_ATTRIBUTE_NAME_STATE",PC="ATTRIBUTE_NAME_STATE",DC="AFTER_ATTRIBUTE_NAME_STATE",BC="BEFORE_ATTRIBUTE_VALUE_STATE",FC="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",HC="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",zC="ATTRIBUTE_VALUE_UNQUOTED_STATE",jC="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",UC="SELF_CLOSING_START_TAG_STATE",GC="BOGUS_COMMENT_STATE",KC="MARKUP_DECLARATION_OPEN_STATE",WC="COMMENT_START_STATE",qC="COMMENT_START_DASH_STATE",VC="COMMENT_STATE",YC="COMMENT_LESS_THAN_SIGN_STATE",XC="COMMENT_LESS_THAN_SIGN_BANG_STATE",ZC="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",QC="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",JC="COMMENT_END_DASH_STATE",eS="COMMENT_END_STATE",tS="COMMENT_END_BANG_STATE",nS="DOCTYPE_STATE",rS="BEFORE_DOCTYPE_NAME_STATE",oS="DOCTYPE_NAME_STATE",iS="AFTER_DOCTYPE_NAME_STATE",aS="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",lS="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",sS="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",cS="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",uS="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",dS="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",pS="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",hS="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",fS="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",gS="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",mS="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",bS="BOGUS_DOCTYPE_STATE",vS="CDATA_SECTION_STATE",yS="CDATA_SECTION_BRACKET_STATE",ES="CDATA_SECTION_END_STATE",_S="CHARACTER_REFERENCE_STATE",TS="NAMED_CHARACTER_REFERENCE_STATE",wS="AMBIGUOS_AMPERSAND_STATE",kS="NUMERIC_CHARACTER_REFERENCE_STATE",CS="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",SS="DECIMAL_CHARACTER_REFERENCE_START_STATE",xS="HEXADEMICAL_CHARACTER_REFERENCE_STATE",AS="DECIMAL_CHARACTER_REFERENCE_STATE",OS="NUMERIC_CHARACTER_REFERENCE_END_STATE";function NS(e){return e===tC.SPACE||e===tC.LINE_FEED||e===tC.TABULATION||e===tC.FORM_FEED}function IS(e){return e>=tC.DIGIT_0&&e<=tC.DIGIT_9}function RS(e){return e>=tC.LATIN_CAPITAL_A&&e<=tC.LATIN_CAPITAL_Z}function MS(e){return e>=tC.LATIN_SMALL_A&&e<=tC.LATIN_SMALL_Z}function LS(e){return MS(e)||RS(e)}function $S(e){return LS(e)||IS(e)}function PS(e){return e>=tC.LATIN_CAPITAL_A&&e<=tC.LATIN_CAPITAL_F}function DS(e){return e>=tC.LATIN_SMALL_A&&e<=tC.LATIN_SMALL_F}function BS(e){return e+32}function FS(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function HS(e){return String.fromCharCode(BS(e))}function zS(e,t){const n=Jk[++e];let r=++e,o=r+n-1;for(;r<=o;){const e=r+o>>>1,i=Jk[e];if(i<t)r=e+1;else{if(!(i>t))return Jk[e+n];o=e-1}}return-1}let jS=class e{constructor(){this.preprocessor=new Zk,this.tokenQueue=[],this.allowCDATA=!1,this.state=oC,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:e.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0;const i=e.length;let a,l=0,s=t;for(;l<i;l++){if(l>0&&(s=this._consume(),r++),s===tC.EOF){o=!1;break}if(a=e[l],s!==a&&(n||s!==BS(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==nC.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==nC.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:e.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:e.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:e.COMMENT_TOKEN,data:""}}_createDoctypeToken(t){this.currentToken={type:e.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:e.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(t){null===e.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(eC.duplicateAttribute),this.state=t}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const t=this.currentToken;this.currentToken=null,t.type===e.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===e.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(eC.endTagWithAttributes),t.selfClosing&&this._err(eC.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(t){let n=e.CHARACTER_TOKEN;NS(t)?n=e.WHITESPACE_CHARACTER_TOKEN:t===tC.NULL&&(n=e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,FS(t))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(t){this._appendCharToCurrentCharacterToken(e.CHARACTER_TOKEN,t)}_matchNamedCharacterReference(e){let t=null,n=1,r=zS(0,e);for(this.tempBuff.push(e);r>-1;){const e=Jk[r],o=e<7;o&&1&e&&(t=2&e?[Jk[++r],Jk[++r]]:[Jk[++r]],n=0);const i=this._consume();if(this.tempBuff.push(i),n++,i===tC.EOF)break;r=o?4&e?zS(r,i):-1:i===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===FC||this.returnState===HC||this.returnState===zC}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===tC.EQUALS_SIGN||$S(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=FS(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[oC](e){this.preprocessor.dropParsedChunk(),e===tC.LESS_THAN_SIGN?this.state=cC:e===tC.AMPERSAND?(this.returnState=oC,this.state=_S):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitCodePoint(e)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[iC](e){this.preprocessor.dropParsedChunk(),e===tC.AMPERSAND?(this.returnState=iC,this.state=_S):e===tC.LESS_THAN_SIGN?this.state=pC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[aC](e){this.preprocessor.dropParsedChunk(),e===tC.LESS_THAN_SIGN?this.state=gC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[lC](e){this.preprocessor.dropParsedChunk(),e===tC.LESS_THAN_SIGN?this.state=vC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[sC](e){this.preprocessor.dropParsedChunk(),e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?this._emitEOFToken():this._emitCodePoint(e)}[cC](e){e===tC.EXCLAMATION_MARK?this.state=KC:e===tC.SOLIDUS?this.state=uC:LS(e)?(this._createStartTagToken(),this._reconsumeInState(dC)):e===tC.QUESTION_MARK?(this._err(eC.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(GC)):e===tC.EOF?(this._err(eC.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(eC.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(oC))}[uC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(dC)):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingEndTagName),this.state=oC):e===tC.EOF?(this._err(eC.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(eC.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(GC))}[dC](e){NS(e)?this.state=$C:e===tC.SOLIDUS?this.state=UC:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):RS(e)?this.currentToken.tagName+=HS(e):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.tagName+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=FS(e)}[pC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=hC):(this._emitChars("<"),this._reconsumeInState(iC))}[hC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(fC)):(this._emitChars("</"),this._reconsumeInState(iC))}[fC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this.state=oC,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(iC)}}[gC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=mC):(this._emitChars("<"),this._reconsumeInState(aC))}[mC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(bC)):(this._emitChars("</"),this._reconsumeInState(aC))}[bC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=oC)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(aC)}}[vC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=yC):e===tC.EXCLAMATION_MARK?(this.state=_C,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(lC))}[yC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(EC)):(this._emitChars("</"),this._reconsumeInState(lC))}[EC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=oC)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(lC)}}[_C](e){e===tC.HYPHEN_MINUS?(this.state=TC,this._emitChars("-")):this._reconsumeInState(lC)}[TC](e){e===tC.HYPHEN_MINUS?(this.state=CC,this._emitChars("-")):this._reconsumeInState(lC)}[wC](e){e===tC.HYPHEN_MINUS?(this.state=kC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?this.state=SC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[kC](e){e===tC.HYPHEN_MINUS?(this.state=CC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?this.state=SC:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=wC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=wC,this._emitCodePoint(e))}[CC](e){e===tC.HYPHEN_MINUS?this._emitChars("-"):e===tC.LESS_THAN_SIGN?this.state=SC:e===tC.GREATER_THAN_SIGN?(this.state=lC,this._emitChars(">")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=wC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=wC,this._emitCodePoint(e))}[SC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=xC):LS(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(OC)):(this._emitChars("<"),this._reconsumeInState(wC))}[xC](e){LS(e)?(this._createEndTagToken(),this._reconsumeInState(AC)):(this._emitChars("</"),this._reconsumeInState(wC))}[AC](e){if(RS(e))this.currentToken.tagName+=HS(e),this.tempBuff.push(e);else if(MS(e))this.currentToken.tagName+=FS(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(NS(e))return void(this.state=$C);if(e===tC.SOLIDUS)return void(this.state=UC);if(e===tC.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=oC)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(wC)}}[OC](e){NS(e)||e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?NC:wC,this._emitCodePoint(e)):RS(e)?(this.tempBuff.push(BS(e)),this._emitCodePoint(e)):MS(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(wC)}[NC](e){e===tC.HYPHEN_MINUS?(this.state=IC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?(this.state=MC,this._emitChars("<")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[IC](e){e===tC.HYPHEN_MINUS?(this.state=RC,this._emitChars("-")):e===tC.LESS_THAN_SIGN?(this.state=MC,this._emitChars("<")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=NC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=NC,this._emitCodePoint(e))}[RC](e){e===tC.HYPHEN_MINUS?this._emitChars("-"):e===tC.LESS_THAN_SIGN?(this.state=MC,this._emitChars("<")):e===tC.GREATER_THAN_SIGN?(this.state=lC,this._emitChars(">")):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.state=NC,this._emitChars(Qk.REPLACEMENT_CHARACTER)):e===tC.EOF?(this._err(eC.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=NC,this._emitCodePoint(e))}[MC](e){e===tC.SOLIDUS?(this.tempBuff=[],this.state=LC,this._emitChars("/")):this._reconsumeInState(NC)}[LC](e){NS(e)||e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?wC:NC,this._emitCodePoint(e)):RS(e)?(this.tempBuff.push(BS(e)),this._emitCodePoint(e)):MS(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(NC)}[$C](e){NS(e)||(e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN||e===tC.EOF?this._reconsumeInState(DC):e===tC.EQUALS_SIGN?(this._err(eC.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=PC):(this._createAttr(""),this._reconsumeInState(PC)))}[PC](e){NS(e)||e===tC.SOLIDUS||e===tC.GREATER_THAN_SIGN||e===tC.EOF?(this._leaveAttrName(DC),this._unconsume()):e===tC.EQUALS_SIGN?this._leaveAttrName(BC):RS(e)?this.currentAttr.name+=HS(e):e===tC.QUOTATION_MARK||e===tC.APOSTROPHE||e===tC.LESS_THAN_SIGN?(this._err(eC.unexpectedCharacterInAttributeName),this.currentAttr.name+=FS(e)):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.name+=Qk.REPLACEMENT_CHARACTER):this.currentAttr.name+=FS(e)}[DC](e){NS(e)||(e===tC.SOLIDUS?this.state=UC:e===tC.EQUALS_SIGN?this.state=BC:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(PC)))}[BC](e){NS(e)||(e===tC.QUOTATION_MARK?this.state=FC:e===tC.APOSTROPHE?this.state=HC:e===tC.GREATER_THAN_SIGN?(this._err(eC.missingAttributeValue),this.state=oC,this._emitCurrentToken()):this._reconsumeInState(zC))}[FC](e){e===tC.QUOTATION_MARK?this.state=jC:e===tC.AMPERSAND?(this.returnState=FC,this.state=_S):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.value+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentAttr.value+=FS(e)}[HC](e){e===tC.APOSTROPHE?this.state=jC:e===tC.AMPERSAND?(this.returnState=HC,this.state=_S):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.value+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentAttr.value+=FS(e)}[zC](e){NS(e)?this._leaveAttrValue($C):e===tC.AMPERSAND?(this.returnState=zC,this.state=_S):e===tC.GREATER_THAN_SIGN?(this._leaveAttrValue(oC),this._emitCurrentToken()):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentAttr.value+=Qk.REPLACEMENT_CHARACTER):e===tC.QUOTATION_MARK||e===tC.APOSTROPHE||e===tC.LESS_THAN_SIGN||e===tC.EQUALS_SIGN||e===tC.GRAVE_ACCENT?(this._err(eC.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=FS(e)):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):this.currentAttr.value+=FS(e)}[jC](e){NS(e)?this._leaveAttrValue($C):e===tC.SOLIDUS?this._leaveAttrValue(UC):e===tC.GREATER_THAN_SIGN?(this._leaveAttrValue(oC),this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):(this._err(eC.missingWhitespaceBetweenAttributes),this._reconsumeInState($C))}[UC](e){e===tC.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInTag),this._emitEOFToken()):(this._err(eC.unexpectedSolidusInTag),this._reconsumeInState($C))}[GC](e){e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.data+=Qk.REPLACEMENT_CHARACTER):this.currentToken.data+=FS(e)}[KC](e){this._consumeSequenceIfMatch(nC.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=WC):this._consumeSequenceIfMatch(nC.DOCTYPE_STRING,e,!1)?this.state=nS:this._consumeSequenceIfMatch(nC.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=vS:(this._err(eC.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=GC):this._ensureHibernation()||(this._err(eC.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(GC))}[WC](e){e===tC.HYPHEN_MINUS?this.state=qC:e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptClosingOfEmptyComment),this.state=oC,this._emitCurrentToken()):this._reconsumeInState(VC)}[qC](e){e===tC.HYPHEN_MINUS?this.state=eS:e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptClosingOfEmptyComment),this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(VC))}[VC](e){e===tC.HYPHEN_MINUS?this.state=JC:e===tC.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=YC):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.data+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=FS(e)}[YC](e){e===tC.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=XC):e===tC.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(VC)}[XC](e){e===tC.HYPHEN_MINUS?this.state=ZC:this._reconsumeInState(VC)}[ZC](e){e===tC.HYPHEN_MINUS?this.state=QC:this._reconsumeInState(JC)}[QC](e){e!==tC.GREATER_THAN_SIGN&&e!==tC.EOF&&this._err(eC.nestedComment),this._reconsumeInState(eS)}[JC](e){e===tC.HYPHEN_MINUS?this.state=eS:e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(VC))}[eS](e){e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EXCLAMATION_MARK?this.state=tS:e===tC.HYPHEN_MINUS?this.currentToken.data+="-":e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(VC))}[tS](e){e===tC.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=JC):e===tC.GREATER_THAN_SIGN?(this._err(eC.incorrectlyClosedComment),this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(VC))}[nS](e){NS(e)?this.state=rS:e===tC.GREATER_THAN_SIGN?this._reconsumeInState(rS):e===tC.EOF?(this._err(eC.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(rS))}[rS](e){NS(e)||(RS(e)?(this._createDoctypeToken(HS(e)),this.state=oS):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this._createDoctypeToken(Qk.REPLACEMENT_CHARACTER),this.state=oS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(FS(e)),this.state=oS))}[oS](e){NS(e)?this.state=iS:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):RS(e)?this.currentToken.name+=HS(e):e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.name+=Qk.REPLACEMENT_CHARACTER):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=FS(e)}[iS](e){NS(e)||(e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(nC.PUBLIC_STRING,e,!1)?this.state=aS:this._consumeSequenceIfMatch(nC.SYSTEM_STRING,e,!1)?this.state=pS:this._ensureHibernation()||(this._err(eC.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[aS](e){NS(e)?this.state=lS:e===tC.QUOTATION_MARK?(this._err(eC.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=sS):e===tC.APOSTROPHE?(this._err(eC.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=cS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS))}[lS](e){NS(e)||(e===tC.QUOTATION_MARK?(this.currentToken.publicId="",this.state=sS):e===tC.APOSTROPHE?(this.currentToken.publicId="",this.state=cS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[sS](e){e===tC.QUOTATION_MARK?this.state=uS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.publicId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=FS(e)}[cS](e){e===tC.APOSTROPHE?this.state=uS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.publicId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=FS(e)}[uS](e){NS(e)?this.state=dS:e===tC.GREATER_THAN_SIGN?(this.state=oC,this._emitCurrentToken()):e===tC.QUOTATION_MARK?(this._err(eC.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this._err(eC.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=gS):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS))}[dS](e){NS(e)||(e===tC.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=oC):e===tC.QUOTATION_MARK?(this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this.currentToken.systemId="",this.state=gS):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[pS](e){NS(e)?this.state=hS:e===tC.QUOTATION_MARK?(this._err(eC.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this._err(eC.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=gS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS))}[hS](e){NS(e)||(e===tC.QUOTATION_MARK?(this.currentToken.systemId="",this.state=fS):e===tC.APOSTROPHE?(this.currentToken.systemId="",this.state=gS):e===tC.GREATER_THAN_SIGN?(this._err(eC.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=oC,this._emitCurrentToken()):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(bS)))}[fS](e){e===tC.QUOTATION_MARK?this.state=mS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.systemId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=FS(e)}[gS](e){e===tC.APOSTROPHE?this.state=mS:e===tC.NULL?(this._err(eC.unexpectedNullCharacter),this.currentToken.systemId+=Qk.REPLACEMENT_CHARACTER):e===tC.GREATER_THAN_SIGN?(this._err(eC.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=FS(e)}[mS](e){NS(e)||(e===tC.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=oC):e===tC.EOF?(this._err(eC.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eC.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(bS)))}[bS](e){e===tC.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=oC):e===tC.NULL?this._err(eC.unexpectedNullCharacter):e===tC.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[vS](e){e===tC.RIGHT_SQUARE_BRACKET?this.state=yS:e===tC.EOF?(this._err(eC.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[yS](e){e===tC.RIGHT_SQUARE_BRACKET?this.state=ES:(this._emitChars("]"),this._reconsumeInState(vS))}[ES](e){e===tC.GREATER_THAN_SIGN?this.state=oC:e===tC.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(vS))}[_S](e){this.tempBuff=[tC.AMPERSAND],e===tC.NUMBER_SIGN?(this.tempBuff.push(e),this.state=kS):$S(e)?this._reconsumeInState(TS):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[TS](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[tC.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===tC.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(eC.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=wS}[wS](e){$S(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=FS(e):this._emitCodePoint(e):(e===tC.SEMICOLON&&this._err(eC.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[kS](e){this.charRefCode=0,e===tC.LATIN_SMALL_X||e===tC.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=CS):this._reconsumeInState(SS)}[CS](e){!function(e){return IS(e)||PS(e)||DS(e)}(e)?(this._err(eC.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(xS)}[SS](e){IS(e)?this._reconsumeInState(AS):(this._err(eC.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[xS](e){PS(e)?this.charRefCode=16*this.charRefCode+e-55:DS(e)?this.charRefCode=16*this.charRefCode+e-87:IS(e)?this.charRefCode=16*this.charRefCode+e-48:e===tC.SEMICOLON?this.state=OS:(this._err(eC.missingSemicolonAfterCharacterReference),this._reconsumeInState(OS))}[AS](e){IS(e)?this.charRefCode=10*this.charRefCode+e-48:e===tC.SEMICOLON?this.state=OS:(this._err(eC.missingSemicolonAfterCharacterReference),this._reconsumeInState(OS))}[OS](){if(this.charRefCode===tC.NULL)this._err(eC.nullCharacterReference),this.charRefCode=tC.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(eC.characterReferenceOutsideUnicodeRange),this.charRefCode=tC.REPLACEMENT_CHARACTER;else if(Qk.isSurrogate(this.charRefCode))this._err(eC.surrogateCharacterReference),this.charRefCode=tC.REPLACEMENT_CHARACTER;else if(Qk.isUndefinedCodePoint(this.charRefCode))this._err(eC.noncharacterCharacterReference);else if(Qk.isControlCodePoint(this.charRefCode)||this.charRefCode===tC.CARRIAGE_RETURN){this._err(eC.controlCharacterReference);const e=rC[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};jS.CHARACTER_TOKEN="CHARACTER_TOKEN",jS.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",jS.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",jS.START_TAG_TOKEN="START_TAG_TOKEN",jS.END_TAG_TOKEN="END_TAG_TOKEN",jS.COMMENT_TOKEN="COMMENT_TOKEN",jS.DOCTYPE_TOKEN="DOCTYPE_TOKEN",jS.EOF_TOKEN="EOF_TOKEN",jS.HIBERNATION_TOKEN="HIBERNATION_TOKEN",jS.MODE={DATA:oC,RCDATA:iC,RAWTEXT:aC,SCRIPT_DATA:lC,PLAINTEXT:sC},jS.getTokenAttr=function(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};var US=jS,GS={};const KS=GS.NAMESPACES={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/"};GS.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},GS.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const WS=GS.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};GS.SPECIAL_ELEMENTS={[KS.HTML]:{[WS.ADDRESS]:!0,[WS.APPLET]:!0,[WS.AREA]:!0,[WS.ARTICLE]:!0,[WS.ASIDE]:!0,[WS.BASE]:!0,[WS.BASEFONT]:!0,[WS.BGSOUND]:!0,[WS.BLOCKQUOTE]:!0,[WS.BODY]:!0,[WS.BR]:!0,[WS.BUTTON]:!0,[WS.CAPTION]:!0,[WS.CENTER]:!0,[WS.COL]:!0,[WS.COLGROUP]:!0,[WS.DD]:!0,[WS.DETAILS]:!0,[WS.DIR]:!0,[WS.DIV]:!0,[WS.DL]:!0,[WS.DT]:!0,[WS.EMBED]:!0,[WS.FIELDSET]:!0,[WS.FIGCAPTION]:!0,[WS.FIGURE]:!0,[WS.FOOTER]:!0,[WS.FORM]:!0,[WS.FRAME]:!0,[WS.FRAMESET]:!0,[WS.H1]:!0,[WS.H2]:!0,[WS.H3]:!0,[WS.H4]:!0,[WS.H5]:!0,[WS.H6]:!0,[WS.HEAD]:!0,[WS.HEADER]:!0,[WS.HGROUP]:!0,[WS.HR]:!0,[WS.HTML]:!0,[WS.IFRAME]:!0,[WS.IMG]:!0,[WS.INPUT]:!0,[WS.LI]:!0,[WS.LINK]:!0,[WS.LISTING]:!0,[WS.MAIN]:!0,[WS.MARQUEE]:!0,[WS.MENU]:!0,[WS.META]:!0,[WS.NAV]:!0,[WS.NOEMBED]:!0,[WS.NOFRAMES]:!0,[WS.NOSCRIPT]:!0,[WS.OBJECT]:!0,[WS.OL]:!0,[WS.P]:!0,[WS.PARAM]:!0,[WS.PLAINTEXT]:!0,[WS.PRE]:!0,[WS.SCRIPT]:!0,[WS.SECTION]:!0,[WS.SELECT]:!0,[WS.SOURCE]:!0,[WS.STYLE]:!0,[WS.SUMMARY]:!0,[WS.TABLE]:!0,[WS.TBODY]:!0,[WS.TD]:!0,[WS.TEMPLATE]:!0,[WS.TEXTAREA]:!0,[WS.TFOOT]:!0,[WS.TH]:!0,[WS.THEAD]:!0,[WS.TITLE]:!0,[WS.TR]:!0,[WS.TRACK]:!0,[WS.UL]:!0,[WS.WBR]:!0,[WS.XMP]:!0},[KS.MATHML]:{[WS.MI]:!0,[WS.MO]:!0,[WS.MN]:!0,[WS.MS]:!0,[WS.MTEXT]:!0,[WS.ANNOTATION_XML]:!0},[KS.SVG]:{[WS.TITLE]:!0,[WS.FOREIGN_OBJECT]:!0,[WS.DESC]:!0}};const qS=GS,VS=qS.TAG_NAMES,YS=qS.NAMESPACES;function XS(e){switch(e.length){case 1:return e===VS.P;case 2:return e===VS.RB||e===VS.RP||e===VS.RT||e===VS.DD||e===VS.DT||e===VS.LI;case 3:return e===VS.RTC;case 6:return e===VS.OPTION;case 8:return e===VS.OPTGROUP}return!1}function ZS(e){switch(e.length){case 1:return e===VS.P;case 2:return e===VS.RB||e===VS.RP||e===VS.RT||e===VS.DD||e===VS.DT||e===VS.LI||e===VS.TD||e===VS.TH||e===VS.TR;case 3:return e===VS.RTC;case 5:return e===VS.TBODY||e===VS.TFOOT||e===VS.THEAD;case 6:return e===VS.OPTION;case 7:return e===VS.CAPTION;case 8:return e===VS.OPTGROUP||e===VS.COLGROUP}return!1}function QS(e,t){switch(e.length){case 2:if(e===VS.TD||e===VS.TH)return t===YS.HTML;if(e===VS.MI||e===VS.MO||e===VS.MN||e===VS.MS)return t===YS.MATHML;break;case 4:if(e===VS.HTML)return t===YS.HTML;if(e===VS.DESC)return t===YS.SVG;break;case 5:if(e===VS.TABLE)return t===YS.HTML;if(e===VS.MTEXT)return t===YS.MATHML;if(e===VS.TITLE)return t===YS.SVG;break;case 6:return(e===VS.APPLET||e===VS.OBJECT)&&t===YS.HTML;case 7:return(e===VS.CAPTION||e===VS.MARQUEE)&&t===YS.HTML;case 8:return e===VS.TEMPLATE&&t===YS.HTML;case 13:return e===VS.FOREIGN_OBJECT&&t===YS.SVG;case 14:return e===VS.ANNOTATION_XML&&t===YS.MATHML}return!1}var JS=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===VS.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===YS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===YS.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===VS.H1||e===VS.H2||e===VS.H3||e===VS.H4||e===VS.H5||e===VS.H6&&t===YS.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===VS.TD||e===VS.TH&&t===YS.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==VS.TABLE&&this.currentTagName!==VS.TEMPLATE&&this.currentTagName!==VS.HTML||this.treeAdapter.getNamespaceURI(this.current)!==YS.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==VS.TBODY&&this.currentTagName!==VS.TFOOT&&this.currentTagName!==VS.THEAD&&this.currentTagName!==VS.TEMPLATE&&this.currentTagName!==VS.HTML||this.treeAdapter.getNamespaceURI(this.current)!==YS.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==VS.TR&&this.currentTagName!==VS.TEMPLATE&&this.currentTagName!==VS.HTML||this.treeAdapter.getNamespaceURI(this.current)!==YS.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===VS.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===VS.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===YS.HTML)return!0;if(QS(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===VS.H1||t===VS.H2||t===VS.H3||t===VS.H4||t===VS.H5||t===VS.H6)&&n===YS.HTML)return!0;if(QS(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===YS.HTML)return!0;if((n===VS.UL||n===VS.OL)&&r===YS.HTML||QS(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===YS.HTML)return!0;if(n===VS.BUTTON&&r===YS.HTML||QS(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===YS.HTML){if(n===e)return!0;if(n===VS.TABLE||n===VS.TEMPLATE||n===VS.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===YS.HTML){if(t===VS.TBODY||t===VS.THEAD||t===VS.TFOOT)return!0;if(t===VS.TABLE||t===VS.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===YS.HTML){if(n===e)return!0;if(n!==VS.OPTION&&n!==VS.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;XS(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ZS(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;XS(this.currentTagName)&&this.currentTagName!==e;)this.pop()}};let ex=class e{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(t).length,o=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let t=this.length-1;t>=0;t--){const a=this.entries[t];if(a.type===e.MARKER_ENTRY)break;const l=a.element,s=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===o&&this.treeAdapter.getNamespaceURI(l)===i&&s.length===r&&n.push({idx:t,attrs:s})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),o=r.length,i=Object.create(null);for(let e=0;e<o;e++){const t=r[e];i[t.name]=t.value}for(let e=0;e<o;e++)for(let r=0;r<n;r++){const o=t[r].attrs[e];if(i[o.name]!==o.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:e.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===e.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===e.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===e.ELEMENT_ENTRY&&r.element===t)return r}return null}};ex.MARKER_ENTRY="MARKER_ENTRY",ex.ELEMENT_ENTRY="ELEMENT_ENTRY";var tx=ex;let nx=class{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}};nx.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let o=0;o<e.__mixins.length;o++)if(e.__mixins[o].constructor===t)return e.__mixins[o];const r=new t(e,n);return e.__mixins.push(r),r};var rx=nx;const ox=rx;var ix=class extends ox{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}};const ax=rx,lx=US,sx=ix;var cx=class extends ax{constructor(e){super(e),this.tokenizer=e,this.posTracker=ax.install(e.preprocessor,sx),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===lx.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(lx.MODE).forEach((r=>{const o=lx.MODE[r];n[o]=function(n){e.ctLoc=e._getCurrentLocation(),t[o].call(this,n)}})),n}};const ux=rx;var dx=class extends ux{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}};const px=rx,hx=US,fx=cx,gx=dx,mx=GS.TAG_NAMES;var bx=class extends px{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o={};t.type===hx.END_TAG_TOKEN&&r===t.tagName?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const o=px.install(this.tokenizer,fx);e.posTracker=o.posTracker,px.install(this.openElements,gx,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===hx.END_TAG_TOKEN&&(n.tagName===mx.HTML||n.tagName===mx.BODY&&this.openElements.hasInScope(mx.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),o=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(o,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),o=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,i=this.treeAdapter.getChildNodes(o),a=r&&e.lastFosterParentingLocation.beforeElement?i.indexOf(e.lastFosterParentingLocation.beforeElement)-1:i.length-1,l=i[a];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:e,endCol:t,endOffset:r}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:e,endCol:t,endOffset:r})}else this.treeAdapter.setNodeSourceCodeLocation(l,n.location)}}}};const vx=rx;var yx=class extends vx{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}};const Ex=yx,_x=ix,Tx=rx;var wx=class extends Ex{constructor(e,t){super(e,t),this.posTracker=Tx.install(e,_x),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}};const kx=yx,Cx=wx,Sx=rx;var xx=class extends kx{constructor(e,t){super(e,t);const n=Sx.install(e.preprocessor,Cx,t);this.posTracker=n.posTracker}};const Ax=yx,Ox=xx,Nx=cx,Ix=rx;var Rx=class extends Ax{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),Ix.install(this.tokenizer,Ox,e.opts),Ix.install(this.tokenizer,Nx)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}},Mx={};const{DOCUMENT_MODE:Lx}=GS;Mx.createDocument=function(){return{nodeName:"#document",mode:Lx.NO_QUIRKS,childNodes:[]}},Mx.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},Mx.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},Mx.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const $x=function(e){return{nodeName:"#text",value:e,parentNode:null}},Px=Mx.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},Dx=Mx.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};Mx.setTemplateContent=function(e,t){e.content=t},Mx.getTemplateContent=function(e){return e.content},Mx.setDocumentType=function(e,t,n,r){let o=null;for(let i=0;i<e.childNodes.length;i++)if("#documentType"===e.childNodes[i].nodeName){o=e.childNodes[i];break}o?(o.name=t,o.publicId=n,o.systemId=r):Px(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},Mx.setDocumentMode=function(e,t){e.mode=t},Mx.getDocumentMode=function(e){return e.mode},Mx.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},Mx.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}Px(e,$x(t))},Mx.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:Dx(e,$x(t),n)},Mx.adoptAttributes=function(e,t){const n=[];for(let r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},Mx.getFirstChild=function(e){return e.childNodes[0]},Mx.getChildNodes=function(e){return e.childNodes},Mx.getParentNode=function(e){return e.parentNode},Mx.getAttrList=function(e){return e.attrs},Mx.getTagName=function(e){return e.tagName},Mx.getNamespaceURI=function(e){return e.namespaceURI},Mx.getTextNodeContent=function(e){return e.value},Mx.getCommentNodeContent=function(e){return e.data},Mx.getDocumentTypeNodeName=function(e){return e.name},Mx.getDocumentTypeNodePublicId=function(e){return e.publicId},Mx.getDocumentTypeNodeSystemId=function(e){return e.systemId},Mx.isTextNode=function(e){return"#text"===e.nodeName},Mx.isCommentNode=function(e){return"#comment"===e.nodeName},Mx.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},Mx.isElementNode=function(e){return!!e.tagName},Mx.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},Mx.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},Mx.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)};var Bx={};const{DOCUMENT_MODE:Fx}=GS,Hx="html",zx=["+//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//"],jx=zx.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),Ux=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],Gx=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Kx=Gx.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function Wx(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function qx(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}Bx.isConforming=function(e){return e.name===Hx&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},Bx.getDocumentMode=function(e){if(e.name!==Hx)return Fx.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Fx.QUIRKS;let n=e.publicId;if(null!==n){if(n=n.toLowerCase(),Ux.indexOf(n)>-1)return Fx.QUIRKS;let e=null===t?jx:zx;if(qx(n,e))return Fx.QUIRKS;if(e=null===t?Gx:Kx,qx(n,e))return Fx.LIMITED_QUIRKS}return Fx.NO_QUIRKS},Bx.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+Wx(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+Wx(n)),r};var Vx={};const Yx=US,Xx=GS,Zx=Xx.TAG_NAMES,Qx=Xx.NAMESPACES,Jx=Xx.ATTRS,eA="text/html",tA="application/xhtml+xml",nA={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},rA={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:Qx.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:Qx.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:Qx.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:Qx.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:Qx.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:Qx.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:Qx.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:Qx.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:Qx.XML},"xml:space":{prefix:"xml",name:"space",namespace:Qx.XML},xmlns:{prefix:"",name:"xmlns",namespace:Qx.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:Qx.XMLNS}},oA=Vx.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},iA={[Zx.B]:!0,[Zx.BIG]:!0,[Zx.BLOCKQUOTE]:!0,[Zx.BODY]:!0,[Zx.BR]:!0,[Zx.CENTER]:!0,[Zx.CODE]:!0,[Zx.DD]:!0,[Zx.DIV]:!0,[Zx.DL]:!0,[Zx.DT]:!0,[Zx.EM]:!0,[Zx.EMBED]:!0,[Zx.H1]:!0,[Zx.H2]:!0,[Zx.H3]:!0,[Zx.H4]:!0,[Zx.H5]:!0,[Zx.H6]:!0,[Zx.HEAD]:!0,[Zx.HR]:!0,[Zx.I]:!0,[Zx.IMG]:!0,[Zx.LI]:!0,[Zx.LISTING]:!0,[Zx.MENU]:!0,[Zx.META]:!0,[Zx.NOBR]:!0,[Zx.OL]:!0,[Zx.P]:!0,[Zx.PRE]:!0,[Zx.RUBY]:!0,[Zx.S]:!0,[Zx.SMALL]:!0,[Zx.SPAN]:!0,[Zx.STRONG]:!0,[Zx.STRIKE]:!0,[Zx.SUB]:!0,[Zx.SUP]:!0,[Zx.TABLE]:!0,[Zx.TT]:!0,[Zx.U]:!0,[Zx.UL]:!0,[Zx.VAR]:!0};Vx.causesExit=function(e){const t=e.tagName;return!(t!==Zx.FONT||null===Yx.getTokenAttr(e,Jx.COLOR)&&null===Yx.getTokenAttr(e,Jx.SIZE)&&null===Yx.getTokenAttr(e,Jx.FACE))||iA[t]},Vx.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},Vx.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=nA[e.attrs[t].name];n&&(e.attrs[t].name=n)}},Vx.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=rA[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},Vx.adjustTokenSVGTagName=function(e){const t=oA[e.tagName];t&&(e.tagName=t)},Vx.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==Qx.HTML||!function(e,t,n){if(t===Qx.MATHML&&e===Zx.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===Jx.ENCODING){const e=n[r].value.toLowerCase();return e===eA||e===tA}return t===Qx.SVG&&(e===Zx.FOREIGN_OBJECT||e===Zx.DESC||e===Zx.TITLE)}(e,t,n))||!(r&&r!==Qx.MATHML||!function(e,t){return t===Qx.MATHML&&(e===Zx.MI||e===Zx.MO||e===Zx.MN||e===Zx.MS||e===Zx.MTEXT)}(e,t))};const aA=US,lA=JS,sA=tx,cA=bx,uA=Rx,dA=rx,pA=Mx,hA=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))},fA=Bx,gA=Vx,mA=Kk,bA=Uk,vA=GS,yA=vA.TAG_NAMES,EA=vA.NAMESPACES,_A=vA.ATTRS,TA={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:pA},wA="hidden",kA="INITIAL_MODE",CA="BEFORE_HTML_MODE",SA="BEFORE_HEAD_MODE",xA="IN_HEAD_MODE",AA="IN_HEAD_NO_SCRIPT_MODE",OA="AFTER_HEAD_MODE",NA="IN_BODY_MODE",IA="TEXT_MODE",RA="IN_TABLE_MODE",MA="IN_TABLE_TEXT_MODE",LA="IN_CAPTION_MODE",$A="IN_COLUMN_GROUP_MODE",PA="IN_TABLE_BODY_MODE",DA="IN_ROW_MODE",BA="IN_CELL_MODE",FA="IN_SELECT_MODE",HA="IN_SELECT_IN_TABLE_MODE",zA="IN_TEMPLATE_MODE",jA="AFTER_BODY_MODE",UA="IN_FRAMESET_MODE",GA="AFTER_FRAMESET_MODE",KA="AFTER_AFTER_BODY_MODE",WA="AFTER_AFTER_FRAMESET_MODE",qA={[yA.TR]:DA,[yA.TBODY]:PA,[yA.THEAD]:PA,[yA.TFOOT]:PA,[yA.CAPTION]:LA,[yA.COLGROUP]:$A,[yA.TABLE]:RA,[yA.BODY]:NA,[yA.FRAMESET]:UA},VA={[yA.CAPTION]:RA,[yA.COLGROUP]:RA,[yA.TBODY]:RA,[yA.TFOOT]:RA,[yA.THEAD]:RA,[yA.COL]:$A,[yA.TR]:PA,[yA.TD]:DA,[yA.TH]:DA},YA={[kA]:{[aA.CHARACTER_TOKEN]:uO,[aA.NULL_CHARACTER_TOKEN]:uO,[aA.WHITESPACE_CHARACTER_TOKEN]:oO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?vA.DOCUMENT_MODE.QUIRKS:fA.getDocumentMode(t);fA.isConforming(t)||e._err(mA.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=CA},[aA.START_TAG_TOKEN]:uO,[aA.END_TAG_TOKEN]:uO,[aA.EOF_TOKEN]:uO},[CA]:{[aA.CHARACTER_TOKEN]:dO,[aA.NULL_CHARACTER_TOKEN]:dO,[aA.WHITESPACE_CHARACTER_TOKEN]:oO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?(e._insertElement(t,EA.HTML),e.insertionMode=SA):dO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==yA.HTML&&n!==yA.HEAD&&n!==yA.BODY&&n!==yA.BR||dO(e,t)},[aA.EOF_TOKEN]:dO},[SA]:{[aA.CHARACTER_TOKEN]:pO,[aA.NULL_CHARACTER_TOKEN]:pO,[aA.WHITESPACE_CHARACTER_TOKEN]:oO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.HEAD?(e._insertElement(t,EA.HTML),e.headElement=e.openElements.current,e.insertionMode=xA):pO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HEAD||n===yA.BODY||n===yA.HTML||n===yA.BR?pO(e,t):e._err(mA.endTagWithoutMatchingOpenElement)},[aA.EOF_TOKEN]:pO},[xA]:{[aA.CHARACTER_TOKEN]:gO,[aA.NULL_CHARACTER_TOKEN]:gO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:hO,[aA.END_TAG_TOKEN]:fO,[aA.EOF_TOKEN]:gO},[AA]:{[aA.CHARACTER_TOKEN]:mO,[aA.NULL_CHARACTER_TOKEN]:mO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.BASEFONT||n===yA.BGSOUND||n===yA.HEAD||n===yA.LINK||n===yA.META||n===yA.NOFRAMES||n===yA.STYLE?hO(e,t):n===yA.NOSCRIPT?e._err(mA.nestedNoscriptInHead):mO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.NOSCRIPT?(e.openElements.pop(),e.insertionMode=xA):n===yA.BR?mO(e,t):e._err(mA.endTagWithoutMatchingOpenElement)},[aA.EOF_TOKEN]:mO},[OA]:{[aA.CHARACTER_TOKEN]:bO,[aA.NULL_CHARACTER_TOKEN]:bO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:iO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.BODY?(e._insertElement(t,EA.HTML),e.framesetOk=!1,e.insertionMode=NA):n===yA.FRAMESET?(e._insertElement(t,EA.HTML),e.insertionMode=UA):n===yA.BASE||n===yA.BASEFONT||n===yA.BGSOUND||n===yA.LINK||n===yA.META||n===yA.NOFRAMES||n===yA.SCRIPT||n===yA.STYLE||n===yA.TEMPLATE||n===yA.TITLE?(e._err(mA.abandonedHeadElementChild),e.openElements.push(e.headElement),hO(e,t),e.openElements.remove(e.headElement)):n===yA.HEAD?e._err(mA.misplacedStartTagForHeadElement):bO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.BODY||n===yA.HTML||n===yA.BR?bO(e,t):n===yA.TEMPLATE?fO(e,t):e._err(mA.endTagWithoutMatchingOpenElement)},[aA.EOF_TOKEN]:bO},[NA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:NO,[aA.END_TAG_TOKEN]:LO,[aA.EOF_TOKEN]:$O},[IA]:{[aA.CHARACTER_TOKEN]:sO,[aA.NULL_CHARACTER_TOKEN]:sO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:oO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:oO,[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[aA.EOF_TOKEN]:function(e,t){e._err(mA.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[RA]:{[aA.CHARACTER_TOKEN]:PO,[aA.NULL_CHARACTER_TOKEN]:PO,[aA.WHITESPACE_CHARACTER_TOKEN]:PO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:DO,[aA.END_TAG_TOKEN]:BO,[aA.EOF_TOKEN]:$O},[MA]:{[aA.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[aA.COMMENT_TOKEN]:HO,[aA.DOCTYPE_TOKEN]:HO,[aA.START_TAG_TOKEN]:HO,[aA.END_TAG_TOKEN]:HO,[aA.EOF_TOKEN]:HO},[LA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TD||n===yA.TFOOT||n===yA.TH||n===yA.THEAD||n===yA.TR?e.openElements.hasInTableScope(yA.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yA.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=RA,e._processToken(t)):NO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.TABLE?e.openElements.hasInTableScope(yA.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yA.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=RA,n===yA.TABLE&&e._processToken(t)):n!==yA.BODY&&n!==yA.COL&&n!==yA.COLGROUP&&n!==yA.HTML&&n!==yA.TBODY&&n!==yA.TD&&n!==yA.TFOOT&&n!==yA.TH&&n!==yA.THEAD&&n!==yA.TR&&LO(e,t)},[aA.EOF_TOKEN]:$O},[$A]:{[aA.CHARACTER_TOKEN]:zO,[aA.NULL_CHARACTER_TOKEN]:zO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.COL?(e._appendElement(t,EA.HTML),t.ackSelfClosing=!0):n===yA.TEMPLATE?hO(e,t):zO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.COLGROUP?e.openElements.currentTagName===yA.COLGROUP&&(e.openElements.pop(),e.insertionMode=RA):n===yA.TEMPLATE?fO(e,t):n!==yA.COL&&zO(e,t)},[aA.EOF_TOKEN]:$O},[PA]:{[aA.CHARACTER_TOKEN]:PO,[aA.NULL_CHARACTER_TOKEN]:PO,[aA.WHITESPACE_CHARACTER_TOKEN]:PO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,EA.HTML),e.insertionMode=DA):n===yA.TH||n===yA.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(yA.TR),e.insertionMode=DA,e._processToken(t)):n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=RA,e._processToken(t)):DO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=RA):n===yA.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=RA,e._processToken(t)):(n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP||n!==yA.HTML&&n!==yA.TD&&n!==yA.TH&&n!==yA.TR)&&BO(e,t)},[aA.EOF_TOKEN]:$O},[DA]:{[aA.CHARACTER_TOKEN]:PO,[aA.NULL_CHARACTER_TOKEN]:PO,[aA.WHITESPACE_CHARACTER_TOKEN]:PO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TH||n===yA.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,EA.HTML),e.insertionMode=BA,e.activeFormattingElements.insertMarker()):n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR?e.openElements.hasInTableScope(yA.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA,e._processToken(t)):DO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TR?e.openElements.hasInTableScope(yA.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA):n===yA.TABLE?e.openElements.hasInTableScope(yA.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA,e._processToken(t)):n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(yA.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=PA,e._processToken(t)):(n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP||n!==yA.HTML&&n!==yA.TD&&n!==yA.TH)&&BO(e,t)},[aA.EOF_TOKEN]:$O},[BA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.COL||n===yA.COLGROUP||n===yA.TBODY||n===yA.TD||n===yA.TFOOT||n===yA.TH||n===yA.THEAD||n===yA.TR?(e.openElements.hasInTableScope(yA.TD)||e.openElements.hasInTableScope(yA.TH))&&(e._closeTableCell(),e._processToken(t)):NO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.TD||n===yA.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=DA):n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP&&n!==yA.HTML&&LO(e,t)},[aA.EOF_TOKEN]:$O},[FA]:{[aA.CHARACTER_TOKEN]:sO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:jO,[aA.END_TAG_TOKEN]:UO,[aA.EOF_TOKEN]:$O},[HA]:{[aA.CHARACTER_TOKEN]:sO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR||n===yA.TD||n===yA.TH?(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode(),e._processToken(t)):jO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.CAPTION||n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR||n===yA.TD||n===yA.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode(),e._processToken(t)):UO(e,t)},[aA.EOF_TOKEN]:$O},[zA]:{[aA.CHARACTER_TOKEN]:yO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===yA.BASE||n===yA.BASEFONT||n===yA.BGSOUND||n===yA.LINK||n===yA.META||n===yA.NOFRAMES||n===yA.SCRIPT||n===yA.STYLE||n===yA.TEMPLATE||n===yA.TITLE)hO(e,t);else{const r=VA[n]||NA;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.TEMPLATE&&fO(e,t)},[aA.EOF_TOKEN]:GO},[jA]:{[aA.CHARACTER_TOKEN]:KO,[aA.NULL_CHARACTER_TOKEN]:KO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?NO(e,t):KO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?e.fragmentContext||(e.insertionMode=KA):KO(e,t)},[aA.EOF_TOKEN]:cO},[UA]:{[aA.CHARACTER_TOKEN]:oO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.FRAMESET?e._insertElement(t,EA.HTML):n===yA.FRAME?(e._appendElement(t,EA.HTML),t.ackSelfClosing=!0):n===yA.NOFRAMES&&hO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){t.tagName!==yA.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===yA.FRAMESET||(e.insertionMode=GA))},[aA.EOF_TOKEN]:cO},[GA]:{[aA.CHARACTER_TOKEN]:oO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:sO,[aA.COMMENT_TOKEN]:aO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.NOFRAMES&&hO(e,t)},[aA.END_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML&&(e.insertionMode=WA)},[aA.EOF_TOKEN]:cO},[KA]:{[aA.CHARACTER_TOKEN]:WO,[aA.NULL_CHARACTER_TOKEN]:WO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:lO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){t.tagName===yA.HTML?NO(e,t):WO(e,t)},[aA.END_TAG_TOKEN]:WO,[aA.EOF_TOKEN]:cO},[WA]:{[aA.CHARACTER_TOKEN]:oO,[aA.NULL_CHARACTER_TOKEN]:oO,[aA.WHITESPACE_CHARACTER_TOKEN]:vO,[aA.COMMENT_TOKEN]:lO,[aA.DOCTYPE_TOKEN]:oO,[aA.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.NOFRAMES&&hO(e,t)},[aA.END_TAG_TOKEN]:oO,[aA.EOF_TOKEN]:cO}};var XA=class{constructor(e){this.options=hA(TA,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&dA.install(this,cA),this.options.onParseError&&dA.install(this,uA,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(yA.TEMPLATE,EA.HTML,[]));const n=this.treeAdapter.createElement("documentmock",EA.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===yA.TEMPLATE&&this._pushTmplInsertionMode(zA),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new aA(this.options),this.stopped=!1,this.insertionMode=kA,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new lA(this.document,this.treeAdapter),this.activeFormattingElements=new sA(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===aA.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===aA.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==EA.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,EA.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=IA}switchToPlaintextParsing(){this.insertionMode=IA,this.originalInsertionMode=NA,this.tokenizer.state=aA.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===yA.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===EA.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===yA.TITLE||e===yA.TEXTAREA?this.tokenizer.state=aA.MODE.RCDATA:e===yA.STYLE||e===yA.XMP||e===yA.IFRAME||e===yA.NOEMBED||e===yA.NOFRAMES||e===yA.NOSCRIPT?this.tokenizer.state=aA.MODE.RAWTEXT:e===yA.SCRIPT?this.tokenizer.state=aA.MODE.SCRIPT_DATA:e===yA.PLAINTEXT&&(this.tokenizer.state=aA.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,EA.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,EA.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(yA.HTML,EA.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===EA.HTML)return!1;if(this.treeAdapter.getTagName(t)===yA.ANNOTATION_XML&&n===EA.MATHML&&e.type===aA.START_TAG_TOKEN&&e.tagName===yA.SVG)return!1;const r=e.type===aA.CHARACTER_TOKEN||e.type===aA.NULL_CHARACTER_TOKEN||e.type===aA.WHITESPACE_CHARACTER_TOKEN;return!((e.type===aA.START_TAG_TOKEN&&e.tagName!==yA.MGLYPH&&e.tagName!==yA.MALIGNMARK||r)&&this._isIntegrationPoint(t,EA.MATHML)||(e.type===aA.START_TAG_TOKEN||r)&&this._isIntegrationPoint(t,EA.HTML)||e.type===aA.EOF_TOKEN)}_processToken(e){YA[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){YA[NA][e.type](this,e)}_processTokenInForeignContent(e){e.type===aA.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===aA.NULL_CHARACTER_TOKEN?function(e,t){t.chars=bA.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===aA.WHITESPACE_CHARACTER_TOKEN?sO(this,e):e.type===aA.COMMENT_TOKEN?aO(this,e):e.type===aA.START_TAG_TOKEN?function(e,t){if(gA.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==EA.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===EA.MATHML?gA.adjustTokenMathMLAttrs(t):r===EA.SVG&&(gA.adjustTokenSVGTagName(t),gA.adjustTokenSVGAttrs(t)),gA.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===aA.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===EA.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===aA.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(mA.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return gA.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===sA.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=DA}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(yA.P),this.openElements.popUntilTagNamePopped(yA.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),o=qA[r];if(o){this.insertionMode=o;break}if(!(t||r!==yA.TD&&r!==yA.TH)){this.insertionMode=BA;break}if(!t&&r===yA.HEAD){this.insertionMode=xA;break}if(r===yA.SELECT){this._resetInsertionModeForSelect(e);break}if(r===yA.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===yA.HTML){this.insertionMode=this.headElement?OA:SA;break}if(t){this.insertionMode=NA;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===yA.TEMPLATE)break;if(n===yA.TABLE)return void(this.insertionMode=HA)}this.insertionMode=FA}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===yA.TABLE||t===yA.TBODY||t===yA.TFOOT||t===yA.THEAD||t===yA.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===yA.TEMPLATE&&o===EA.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===yA.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return vA.SPECIAL_ELEMENTS[n][t]}};function ZA(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):MO(e,t),n}function QA(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o)&&(n=o)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function JA(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),l=n&&i>=3;!n||l?(l&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=eO(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function eO(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 tO(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),o=e.treeAdapter.getNamespaceURI(t);r===yA.TEMPLATE&&o===EA.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function nO(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),o=n.token,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}function rO(e,t){let n;for(let r=0;r<8&&(n=ZA(e,t),n);r++){const t=QA(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=JA(e,t,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),tO(e,o,r),nO(e,t,n)}}function oO(){}function iO(e){e._err(mA.misplacedDoctype)}function aO(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function lO(e,t){e._appendCommentNode(t,e.document)}function sO(e,t){e._insertCharacters(t)}function cO(e){e.stopped=!0}function uO(e,t){e._err(mA.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,vA.DOCUMENT_MODE.QUIRKS),e.insertionMode=CA,e._processToken(t)}function dO(e,t){e._insertFakeRootElement(),e.insertionMode=SA,e._processToken(t)}function pO(e,t){e._insertFakeElement(yA.HEAD),e.headElement=e.openElements.current,e.insertionMode=xA,e._processToken(t)}function hO(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.BASE||n===yA.BASEFONT||n===yA.BGSOUND||n===yA.LINK||n===yA.META?(e._appendElement(t,EA.HTML),t.ackSelfClosing=!0):n===yA.TITLE?e._switchToTextParsing(t,aA.MODE.RCDATA):n===yA.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,aA.MODE.RAWTEXT):(e._insertElement(t,EA.HTML),e.insertionMode=AA):n===yA.NOFRAMES||n===yA.STYLE?e._switchToTextParsing(t,aA.MODE.RAWTEXT):n===yA.SCRIPT?e._switchToTextParsing(t,aA.MODE.SCRIPT_DATA):n===yA.TEMPLATE?(e._insertTemplate(t,EA.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=zA,e._pushTmplInsertionMode(zA)):n===yA.HEAD?e._err(mA.misplacedStartTagForHeadElement):gO(e,t)}function fO(e,t){const n=t.tagName;n===yA.HEAD?(e.openElements.pop(),e.insertionMode=OA):n===yA.BODY||n===yA.BR||n===yA.HTML?gO(e,t):n===yA.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==yA.TEMPLATE&&e._err(mA.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(yA.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(mA.endTagWithoutMatchingOpenElement)}function gO(e,t){e.openElements.pop(),e.insertionMode=OA,e._processToken(t)}function mO(e,t){const n=t.type===aA.EOF_TOKEN?mA.openElementsLeftAfterEof:mA.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=xA,e._processToken(t)}function bO(e,t){e._insertFakeElement(yA.BODY),e.insertionMode=NA,e._processToken(t)}function vO(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function yO(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function EO(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML)}function _O(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function TO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function kO(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,EA.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function CO(e,t){e._appendElement(t,EA.HTML),t.ackSelfClosing=!0}function SO(e,t){e._switchToTextParsing(t,aA.MODE.RAWTEXT)}function xO(e,t){e.openElements.currentTagName===yA.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML)}function AO(e,t){e.openElements.hasInScope(yA.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,EA.HTML)}function OO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML)}function NO(e,t){const n=t.tagName;switch(n.length){case 1:n===yA.I||n===yA.S||n===yA.B||n===yA.U?TO(e,t):n===yA.P?EO(e,t):n===yA.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(yA.A);n&&(rO(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):OO(e,t);break;case 2:n===yA.DL||n===yA.OL||n===yA.UL?EO(e,t):n===yA.H1||n===yA.H2||n===yA.H3||n===yA.H4||n===yA.H5||n===yA.H6?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==yA.H1&&n!==yA.H2&&n!==yA.H3&&n!==yA.H4&&n!==yA.H5&&n!==yA.H6||e.openElements.pop(),e._insertElement(t,EA.HTML)}(e,t):n===yA.LI||n===yA.DD||n===yA.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.items[r],o=e.treeAdapter.getTagName(t);let i=null;if(n===yA.LI&&o===yA.LI?i=yA.LI:n!==yA.DD&&n!==yA.DT||o!==yA.DD&&o!==yA.DT||(i=o),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(o!==yA.ADDRESS&&o!==yA.DIV&&o!==yA.P&&e._isSpecialElement(t))break}e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML)}(e,t):n===yA.EM||n===yA.TT?TO(e,t):n===yA.BR?kO(e,t):n===yA.HR?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._appendElement(t,EA.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===yA.RB?AO(e,t):n===yA.RT||n===yA.RP?function(e,t){e.openElements.hasInScope(yA.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(yA.RTC),e._insertElement(t,EA.HTML)}(e,t):n!==yA.TH&&n!==yA.TD&&n!==yA.TR&&OO(e,t);break;case 3:n===yA.DIV||n===yA.DIR||n===yA.NAV?EO(e,t):n===yA.PRE?_O(e,t):n===yA.BIG?TO(e,t):n===yA.IMG||n===yA.WBR?kO(e,t):n===yA.XMP?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,aA.MODE.RAWTEXT)}(e,t):n===yA.SVG?function(e,t){e._reconstructActiveFormattingElements(),gA.adjustTokenSVGAttrs(t),gA.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,EA.SVG):e._insertElement(t,EA.SVG),t.ackSelfClosing=!0}(e,t):n===yA.RTC?AO(e,t):n!==yA.COL&&OO(e,t);break;case 4:n===yA.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===yA.BASE||n===yA.LINK||n===yA.META?hO(e,t):n===yA.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===yA.MAIN||n===yA.MENU?EO(e,t):n===yA.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===yA.CODE||n===yA.FONT?TO(e,t):n===yA.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(yA.NOBR)&&(rO(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,EA.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===yA.AREA?kO(e,t):n===yA.MATH?function(e,t){e._reconstructActiveFormattingElements(),gA.adjustTokenMathMLAttrs(t),gA.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,EA.MATHML):e._insertElement(t,EA.MATHML),t.ackSelfClosing=!0}(e,t):n===yA.MENU?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML)}(e,t):n!==yA.HEAD&&OO(e,t);break;case 5:n===yA.STYLE||n===yA.TITLE?hO(e,t):n===yA.ASIDE?EO(e,t):n===yA.SMALL?TO(e,t):n===yA.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==vA.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),e.framesetOk=!1,e.insertionMode=RA}(e,t):n===yA.EMBED?kO(e,t):n===yA.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,EA.HTML);const n=aA.getTokenAttr(t,_A.TYPE);n&&n.toLowerCase()===wA||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===yA.PARAM||n===yA.TRACK?CO(e,t):n===yA.IMAGE?function(e,t){t.tagName=yA.IMG,kO(e,t)}(e,t):n!==yA.FRAME&&n!==yA.TBODY&&n!==yA.TFOOT&&n!==yA.THEAD&&OO(e,t);break;case 6:n===yA.SCRIPT?hO(e,t):n===yA.CENTER||n===yA.FIGURE||n===yA.FOOTER||n===yA.HEADER||n===yA.HGROUP||n===yA.DIALOG?EO(e,t):n===yA.BUTTON?function(e,t){e.openElements.hasInScope(yA.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yA.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.framesetOk=!1}(e,t):n===yA.STRIKE||n===yA.STRONG?TO(e,t):n===yA.APPLET||n===yA.OBJECT?wO(e,t):n===yA.KEYGEN?kO(e,t):n===yA.SOURCE?CO(e,t):n===yA.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,aA.MODE.RAWTEXT)}(e,t):n===yA.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,EA.HTML),e.framesetOk=!1,e.insertionMode===RA||e.insertionMode===LA||e.insertionMode===PA||e.insertionMode===DA||e.insertionMode===BA?e.insertionMode=HA:e.insertionMode=FA}(e,t):n===yA.OPTION?xO(e,t):OO(e,t);break;case 7:n===yA.BGSOUND?hO(e,t):n===yA.DETAILS||n===yA.ADDRESS||n===yA.ARTICLE||n===yA.SECTION||n===yA.SUMMARY?EO(e,t):n===yA.LISTING?_O(e,t):n===yA.MARQUEE?wO(e,t):n===yA.NOEMBED?SO(e,t):n!==yA.CAPTION&&OO(e,t);break;case 8:n===yA.BASEFONT?hO(e,t):n===yA.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,EA.HTML),e.insertionMode=UA)}(e,t):n===yA.FIELDSET?EO(e,t):n===yA.TEXTAREA?function(e,t){e._insertElement(t,EA.HTML),e.skipNextNewLine=!0,e.tokenizer.state=aA.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=IA}(e,t):n===yA.TEMPLATE?hO(e,t):n===yA.NOSCRIPT?e.options.scriptingEnabled?SO(e,t):OO(e,t):n===yA.OPTGROUP?xO(e,t):n!==yA.COLGROUP&&OO(e,t);break;case 9:n===yA.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(yA.P)&&e._closePElement(),e._insertElement(t,EA.HTML),e.tokenizer.state=aA.MODE.PLAINTEXT}(e,t):OO(e,t);break;case 10:n===yA.BLOCKQUOTE||n===yA.FIGCAPTION?EO(e,t):OO(e,t);break;default:OO(e,t)}}function IO(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function RO(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function MO(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const t=e.openElements.items[r];if(e.treeAdapter.getTagName(t)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(t);break}if(e._isSpecialElement(t))break}}function LO(e,t){const n=t.tagName;switch(n.length){case 1:n===yA.A||n===yA.B||n===yA.I||n===yA.S||n===yA.U?rO(e,t):n===yA.P?function(e){e.openElements.hasInButtonScope(yA.P)||e._insertFakeElement(yA.P),e._closePElement()}(e):MO(e,t);break;case 2:n===yA.DL||n===yA.UL||n===yA.OL?IO(e,t):n===yA.LI?function(e){e.openElements.hasInListItemScope(yA.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(yA.LI),e.openElements.popUntilTagNamePopped(yA.LI))}(e):n===yA.DD||n===yA.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===yA.H1||n===yA.H2||n===yA.H3||n===yA.H4||n===yA.H5||n===yA.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===yA.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(yA.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===yA.EM||n===yA.TT?rO(e,t):MO(e,t);break;case 3:n===yA.BIG?rO(e,t):n===yA.DIR||n===yA.DIV||n===yA.NAV||n===yA.PRE?IO(e,t):MO(e,t);break;case 4:n===yA.BODY?function(e){e.openElements.hasInScope(yA.BODY)&&(e.insertionMode=jA)}(e):n===yA.HTML?function(e,t){e.openElements.hasInScope(yA.BODY)&&(e.insertionMode=jA,e._processToken(t))}(e,t):n===yA.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(yA.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(yA.FORM):e.openElements.remove(n))}(e):n===yA.CODE||n===yA.FONT||n===yA.NOBR?rO(e,t):n===yA.MAIN||n===yA.MENU?IO(e,t):MO(e,t);break;case 5:n===yA.ASIDE?IO(e,t):n===yA.SMALL?rO(e,t):MO(e,t);break;case 6:n===yA.CENTER||n===yA.FIGURE||n===yA.FOOTER||n===yA.HEADER||n===yA.HGROUP||n===yA.DIALOG?IO(e,t):n===yA.APPLET||n===yA.OBJECT?RO(e,t):n===yA.STRIKE||n===yA.STRONG?rO(e,t):MO(e,t);break;case 7:n===yA.ADDRESS||n===yA.ARTICLE||n===yA.DETAILS||n===yA.SECTION||n===yA.SUMMARY||n===yA.LISTING?IO(e,t):n===yA.MARQUEE?RO(e,t):MO(e,t);break;case 8:n===yA.FIELDSET?IO(e,t):n===yA.TEMPLATE?fO(e,t):MO(e,t);break;case 10:n===yA.BLOCKQUOTE||n===yA.FIGCAPTION?IO(e,t):MO(e,t);break;default:MO(e,t)}}function $O(e,t){e.tmplInsertionModeStackTop>-1?GO(e,t):e.stopped=!0}function PO(e,t){const n=e.openElements.currentTagName;n===yA.TABLE||n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD||n===yA.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=MA,e._processToken(t)):FO(e,t)}function DO(e,t){const n=t.tagName;switch(n.length){case 2:n===yA.TD||n===yA.TH||n===yA.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(yA.TBODY),e.insertionMode=PA,e._processToken(t)}(e,t):FO(e,t);break;case 3:n===yA.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(yA.COLGROUP),e.insertionMode=$A,e._processToken(t)}(e,t):FO(e,t);break;case 4:n===yA.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,EA.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):FO(e,t);break;case 5:n===yA.TABLE?function(e,t){e.openElements.hasInTableScope(yA.TABLE)&&(e.openElements.popUntilTagNamePopped(yA.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===yA.STYLE?hO(e,t):n===yA.TBODY||n===yA.TFOOT||n===yA.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,EA.HTML),e.insertionMode=PA}(e,t):n===yA.INPUT?function(e,t){const n=aA.getTokenAttr(t,_A.TYPE);n&&n.toLowerCase()===wA?e._appendElement(t,EA.HTML):FO(e,t),t.ackSelfClosing=!0}(e,t):FO(e,t);break;case 6:n===yA.SCRIPT?hO(e,t):FO(e,t);break;case 7:n===yA.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,EA.HTML),e.insertionMode=LA}(e,t):FO(e,t);break;case 8:n===yA.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,EA.HTML),e.insertionMode=$A}(e,t):n===yA.TEMPLATE?hO(e,t):FO(e,t);break;default:FO(e,t)}}function BO(e,t){const n=t.tagName;n===yA.TABLE?e.openElements.hasInTableScope(yA.TABLE)&&(e.openElements.popUntilTagNamePopped(yA.TABLE),e._resetInsertionMode()):n===yA.TEMPLATE?fO(e,t):n!==yA.BODY&&n!==yA.CAPTION&&n!==yA.COL&&n!==yA.COLGROUP&&n!==yA.HTML&&n!==yA.TBODY&&n!==yA.TD&&n!==yA.TFOOT&&n!==yA.TH&&n!==yA.THEAD&&n!==yA.TR&&FO(e,t)}function FO(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function HO(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)FO(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function zO(e,t){e.openElements.currentTagName===yA.COLGROUP&&(e.openElements.pop(),e.insertionMode=RA,e._processToken(t))}function jO(e,t){const n=t.tagName;n===yA.HTML?NO(e,t):n===yA.OPTION?(e.openElements.currentTagName===yA.OPTION&&e.openElements.pop(),e._insertElement(t,EA.HTML)):n===yA.OPTGROUP?(e.openElements.currentTagName===yA.OPTION&&e.openElements.pop(),e.openElements.currentTagName===yA.OPTGROUP&&e.openElements.pop(),e._insertElement(t,EA.HTML)):n===yA.INPUT||n===yA.KEYGEN||n===yA.TEXTAREA||n===yA.SELECT?e.openElements.hasInSelectScope(yA.SELECT)&&(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode(),n!==yA.SELECT&&e._processToken(t)):n!==yA.SCRIPT&&n!==yA.TEMPLATE||hO(e,t)}function UO(e,t){const n=t.tagName;if(n===yA.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===yA.OPTION&&n===yA.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===yA.OPTGROUP&&e.openElements.pop()}else n===yA.OPTION?e.openElements.currentTagName===yA.OPTION&&e.openElements.pop():n===yA.SELECT&&e.openElements.hasInSelectScope(yA.SELECT)?(e.openElements.popUntilTagNamePopped(yA.SELECT),e._resetInsertionMode()):n===yA.TEMPLATE&&fO(e,t)}function GO(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(yA.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function KO(e,t){e.insertionMode=NA,e._processToken(t)}function WO(e,t){e.insertionMode=NA,e._processToken(t)}const qO=Qn(XA),VO=XO("start"),YO=XO("end");function XO(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const ZO=e("v",(function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Gw(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}));class QO{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function JO(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new QO(n,r,t)}function eN(e){return e.toLowerCase()}QO.prototype.property={},QO.prototype.normal={},QO.prototype.space=null;class tN{constructor(e,t){this.property=e,this.attribute=t}}tN.prototype.space=null,tN.prototype.boolean=!1,tN.prototype.booleanish=!1,tN.prototype.overloadedBoolean=!1,tN.prototype.number=!1,tN.prototype.commaSeparated=!1,tN.prototype.spaceSeparated=!1,tN.prototype.commaOrSpaceSeparated=!1,tN.prototype.mustUseProperty=!1,tN.prototype.defined=!1;let nN=0;const rN=uN(),oN=uN(),iN=uN(),aN=uN(),lN=uN(),sN=uN(),cN=uN();function uN(){return 2**++nN}const dN=Object.freeze(Object.defineProperty({__proto__:null,boolean:rN,booleanish:oN,commaOrSpaceSeparated:cN,commaSeparated:sN,number:aN,overloadedBoolean:iN,spaceSeparated:lN},Symbol.toStringTag,{value:"Module"})),pN=Object.keys(dN);class hN extends tN{constructor(e,t,n,r){let o=-1;if(super(e,t),fN(this,"space",r),"number"==typeof n)for(;++o<pN.length;){const e=pN[o];fN(this,pN[o],(n&dN[e])===dN[e])}}}function fN(e,t,n){n&&(e[t]=n)}hN.prototype.defined=!0;const gN={}.hasOwnProperty;function mN(e){const t={},n={};let r;for(r in e.properties)if(gN.call(e.properties,r)){const o=e.properties[r],i=new hN(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[eN(r)]=r,n[eN(i.attribute)]=r}return new QO(t,n,e.space)}const bN=mN({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),vN=mN({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function yN(e,t){return t in e?e[t]:t}function EN(e,t){return yN(e,t.toLowerCase())}const _N=mN({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:EN,properties:{xmlns:null,xmlnsXLink:null}}),TN=mN({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:oN,ariaAutoComplete:null,ariaBusy:oN,ariaChecked:oN,ariaColCount:aN,ariaColIndex:aN,ariaColSpan:aN,ariaControls:lN,ariaCurrent:null,ariaDescribedBy:lN,ariaDetails:null,ariaDisabled:oN,ariaDropEffect:lN,ariaErrorMessage:null,ariaExpanded:oN,ariaFlowTo:lN,ariaGrabbed:oN,ariaHasPopup:null,ariaHidden:oN,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lN,ariaLevel:aN,ariaLive:null,ariaModal:oN,ariaMultiLine:oN,ariaMultiSelectable:oN,ariaOrientation:null,ariaOwns:lN,ariaPlaceholder:null,ariaPosInSet:aN,ariaPressed:oN,ariaReadOnly:oN,ariaRelevant:null,ariaRequired:oN,ariaRoleDescription:lN,ariaRowCount:aN,ariaRowIndex:aN,ariaRowSpan:aN,ariaSelected:oN,ariaSetSize:aN,ariaSort:null,ariaValueMax:aN,ariaValueMin:aN,ariaValueNow:aN,ariaValueText:null,role:null}}),wN=mN({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:EN,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sN,acceptCharset:lN,accessKey:lN,action:null,allow:null,allowFullScreen:rN,allowPaymentRequest:rN,allowUserMedia:rN,alt:null,as:null,async:rN,autoCapitalize:null,autoComplete:lN,autoFocus:rN,autoPlay:rN,blocking:lN,capture:null,charSet:null,checked:rN,cite:null,className:lN,cols:aN,colSpan:null,content:null,contentEditable:oN,controls:rN,controlsList:lN,coords:aN|sN,crossOrigin:null,data:null,dateTime:null,decoding:null,default:rN,defer:rN,dir:null,dirName:null,disabled:rN,download:iN,draggable:oN,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:rN,formTarget:null,headers:lN,height:aN,hidden:rN,high:aN,href:null,hrefLang:null,htmlFor:lN,httpEquiv:lN,id:null,imageSizes:null,imageSrcSet:null,inert:rN,inputMode:null,integrity:null,is:null,isMap:rN,itemId:null,itemProp:lN,itemRef:lN,itemScope:rN,itemType:lN,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:rN,low:aN,manifest:null,max:null,maxLength:aN,media:null,method:null,min:null,minLength:aN,multiple:rN,muted:rN,name:null,nonce:null,noModule:rN,noValidate:rN,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:rN,optimum:aN,pattern:null,ping:lN,placeholder:null,playsInline:rN,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:rN,referrerPolicy:null,rel:lN,required:rN,reversed:rN,rows:aN,rowSpan:aN,sandbox:lN,scope:null,scoped:rN,seamless:rN,selected:rN,shadowRootClonable:rN,shadowRootDelegatesFocus:rN,shadowRootMode:null,shape:null,size:aN,sizes:null,slot:null,span:aN,spellCheck:oN,src:null,srcDoc:null,srcLang:null,srcSet:null,start:aN,step:null,style:null,tabIndex:aN,target:null,title:null,translate:null,type:null,typeMustMatch:rN,useMap:null,value:oN,width:aN,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lN,axis:null,background:null,bgColor:null,border:aN,borderColor:null,bottomMargin:aN,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:rN,declare:rN,event:null,face:null,frame:null,frameBorder:null,hSpace:aN,leftMargin:aN,link:null,longDesc:null,lowSrc:null,marginHeight:aN,marginWidth:aN,noResize:rN,noHref:rN,noShade:rN,noWrap:rN,object:null,profile:null,prompt:null,rev:null,rightMargin:aN,rules:null,scheme:null,scrolling:oN,standby:null,summary:null,text:null,topMargin:aN,valueType:null,version:null,vAlign:null,vLink:null,vSpace:aN,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:rN,disableRemotePlayback:rN,prefix:null,property:null,results:aN,security:null,unselectable:null}}),kN=mN({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:yN,properties:{about:cN,accentHeight:aN,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:aN,amplitude:aN,arabicForm:null,ascent:aN,attributeName:null,attributeType:null,azimuth:aN,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:aN,by:null,calcMode:null,capHeight:aN,className:lN,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:aN,diffuseConstant:aN,direction:null,display:null,dur:null,divisor:aN,dominantBaseline:null,download:rN,dx:null,dy:null,edgeMode:null,editable:null,elevation:aN,enableBackground:null,end:null,event:null,exponent:aN,externalResourcesRequired:null,fill:null,fillOpacity:aN,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:sN,g2:sN,glyphName:sN,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:aN,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:aN,horizOriginX:aN,horizOriginY:aN,id:null,ideographic:aN,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:aN,k:aN,k1:aN,k2:aN,k3:aN,k4:aN,kernelMatrix:cN,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:aN,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:aN,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:aN,overlineThickness:aN,paintOrder:null,panose1:null,path:null,pathLength:aN,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lN,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:aN,pointsAtY:aN,pointsAtZ:aN,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:cN,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:cN,rev:cN,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:cN,requiredFeatures:cN,requiredFonts:cN,requiredFormats:cN,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:aN,specularExponent:aN,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:aN,strikethroughThickness:aN,string:null,stroke:null,strokeDashArray:cN,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:aN,strokeOpacity:aN,strokeWidth:null,style:null,surfaceScale:aN,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:cN,tabIndex:aN,tableValues:null,target:null,targetX:aN,targetY:aN,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:cN,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:aN,underlineThickness:aN,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:aN,values:null,vAlphabetic:aN,vMathematical:aN,vectorEffect:null,vHanging:aN,vIdeographic:aN,version:null,vertAdvY:aN,vertOriginX:aN,vertOriginY:aN,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:aN,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),CN=/^data[-\w.:]+$/i,SN=/-[a-z]/g,xN=/[A-Z]/g;function AN(e,t){const n=eN(t);let r=t,o=tN;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&CN.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(SN,NN);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!SN.test(e)){let n=e.replace(xN,ON);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=hN}return new o(r,t)}function ON(e){return"-"+e.toLowerCase()}function NN(e){return e.charAt(1).toUpperCase()}const IN=JO([vN,bN,_N,TN,wN],"html"),RN=JO([vN,bN,_N,TN,kN],"svg"),MN=/[#.]/g;function LN(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function $N(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}const PN=new Set(["menu","submit","reset","button"]),DN={}.hasOwnProperty;function BN(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,o,...i){let a,l=-1;if(null==n)a={type:"root",children:[]},i.unshift(o);else if(a=function(e,t){const n=e||"",r={};let o,i,a=0;for(;a<n.length;){MN.lastIndex=a;const e=MN.exec(n),t=n.slice(a,e?e.index:n.length);t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,a+=t.length),e&&(o=e[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}(n,t),a.tagName=a.tagName.toLowerCase(),r&&DN.call(r,a.tagName)&&(a.tagName=r[a.tagName]),s=o,c=a.tagName,null==s||"object"!=typeof s||Array.isArray(s)||"input"!==c&&s.type&&"string"==typeof s.type&&("children"in s&&Array.isArray(s.children)||("button"===c?!PN.has(s.type.toLowerCase()):"value"in s)))i.unshift(o);else{let t;for(t in o)DN.call(o,t)&&FN(e,a.properties,t,o[t])}for(var s,c;++l<i.length;)HN(a.children,i[l]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function FN(e,t,n,r){const o=AN(e,n);let i,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?LN(r):o.commaSeparated?$N(r):o.commaOrSpaceSeparated?LN($N(r).join(" ")):zN(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){const t=[];let n;for(n in e)DN.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(;++a<i.length;)e[a]=zN(o,o.property,i[a]);i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}function HN(e,t){let n=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)HN(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?HN(e,t.children):e.push(t)}}function zN(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||eN(n)===eN(t)))return!0}return n}const jN=e("h",BN(IN,"div")),UN=e("a",BN(RN,"g",["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"])),GN=e("w",{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/"}),KN={}.hasOwnProperty,WN=Object.prototype;function qN(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},YN(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:VN(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[],r=/\r?\n|\r/g;for(;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}return-1}}}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}case"#documentType":return n={type:"doctype"},YN(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},YN(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===GN.svg?RN:IN;let r=-1;const o={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;KN.call(WN,n)||(o[n]=e.value)}const i="svg"===e.schema.space?UN:jN,a=i(t.tagName,o,VN(e,t.childNodes));if(YN(e,t,a),"template"===a.tagName){const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&ZN(r.startTag),i=r&&r.endTag&&ZN(r.endTag),l=qN(e,n.content);o&&i&&e.file&&(l.position={start:o.end,end:i.start}),a.content=l}return e.schema=n,a}(e,t),n}}function VN(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=qN(e,t[n]);return r}function YN(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=XN(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function XN(e,t,n){const r=ZN(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;if(n.attrs)for(o in n.attrs)KN.call(n.attrs,o)&&(r[AN(e.schema,o).property]=ZN(n.attrs[o]));t.data={position:{opening:ZN(n.startTag),closing:n.endTag?ZN(n.endTag):null,properties:r}}}}return r}function ZN(e){const t=QN({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=QN({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function QN(e){return e.line&&e.column?e:void 0}const JN={}.hasOwnProperty;function eI(e,t){const n=t||{};function r(t,...n){let o=r.invalid;const i=r.handlers;if(t&&JN.call(t,e)){const n=String(t[e]);o=JN.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const tI={}.hasOwnProperty,nI=eI("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=oI(e.children,n,t),iI(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=RN);const o=[];let i;if(e.properties)for(i in e.properties)if("children"!==i&&tI.call(e.properties,i)){const t=rI(r,i,e.properties[i]);t&&o.push(t)}const a={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:GN[r.space],childNodes:[],parentNode:void 0};return a.childNodes=oI(e.children,a,r),iI(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=oI(e.children,n,t),iI(e,n),n}(e.content,r)),a},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return iI(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return iI(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return iI(e,t),t}}});function rI(e,t,n){const r=AN(e,t);if(null==n||!1===n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim());const o={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=o.name.indexOf(":");e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),o.namespace=GN[r.space]}return o}function oI(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const i=nI(e[r],n);i.parentNode=t,o.push(i)}return o}function iI(e,t){const n=e.position;n&&n.start&&n.end&&(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 aI=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],lI="END_TAG_TOKEN",sI={sourceCodeLocationInfo:!0,scriptingEnabled:!1},cI=function(e,t,n){let r=-1;const o=new qO(sI),i=eI("type",{handlers:{root:function(e){h(e.children)},element:function(e){m(),o._processInputToken(function(e){const t=Object.assign(pI(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:uI(e),location:t}}(e)),h(e.children),aI.includes(e.tagName)||(m(),o._processInputToken(function(e){const t=Object.assign(pI(e));return t.startTag=Object.assign({},t),{type:lI,tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){m(),o._processInputToken({type:"CHARACTER_TOKEN",chars:e.value,location:pI(e)})},comment:f,doctype:function(e){m(),o._processInputToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:pI(e)})},raw:function(e){const t=VO(e),n=t.line||1,r=t.column||1,i=t.offset||0;if(!s)throw new Error("Expected `preprocessor`");if(!l)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");s.html=void 0,s.pos=-1,s.lastGapPos=-1,s.lastCharPos=-1,s.gapStack=[],s.skipNextNewLine=!1,s.lastChunkWritten=!1,s.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=1-r,c.droppedBufferSize=i,c.offset=0,c.col=1,c.line=n,u.currentAttrLocation=void 0,u.ctLoc=pI(e),l.write(e.value),o._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===l.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===l.state)&&(s.lastChunkWritten=!0,l[l.state](l._consume()))}},unknown:dI});let a,l,s,c,u;var d;if(d=t,Boolean(d&&!("message"in d&&"messages"in d))&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)i.handlers[n.passThrough[r]]=g;const p=function(e,t){const n=t||{};let r,o;return"messages"in n?(o=n,r={}):(o=n.file||void 0,r=n),qN({schema:"svg"===r.space?RN:IN,file:o,verbose:r.verbose,location:!1},e)}(function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e)?function(){const t=o.treeAdapter.createDocument();if(o._bootstrap(t,void 0),l=o.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,u=l.__mixins[0],c=u.posTracker,i(e),m(),t}():function(){const t={nodeName:"template",tagName:"template",attrs:[],namespaceURI:GN.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:GN.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(o._bootstrap(n,t),o._pushTmplInsertionMode("IN_TEMPLATE_MODE"),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),l=o.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,u=l.__mixins[0],c=u.posTracker,i(e),m(),o._adoptNodes(n.childNodes[0],r),r}(),t);return a&&ZO(p,"comment",((e,t,n)=>{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===p.type&&1===p.children.length?p.children[0]:p;function h(e){let t=-1;if(e)for(;++t<e.length;)i(e[t])}function f(e){m(),o._processInputToken({type:"COMMENT_TOKEN",data:e.value,location:pI(e)})}function g(e){let r;a=!0,r="children"in e?{...e,children:cI({type:"root",children:e.children},t,n).children}:{...e},f({type:"comment",value:{stitch:r}})}function m(){if(!l)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const e=l.currentCharacterToken;e&&(e.location.endLine=c.line,e.location.endCol=c.col+1,e.location.endOffset=c.offset+1,o._processInputToken(e)),l.tokenQueue=[],l.state="DATA_STATE",l.returnState="",l.charRefCode=-1,l.tempBuff=[],l.lastStartTagName="",l.consumedAfterSnapshot=-1,l.active=!1,l.currentCharacterToken=void 0,l.currentToken=void 0,l.currentAttr=void 0}};function uI(e){return function(e,t){const n=t&&"object"==typeof t?t.space:t;return nI(e,"svg"===n?RN:IN)}({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function dI(e){throw new Error("Cannot compile `"+e.type+"` node")}function pI(e){const t=VO(e),n=YO(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function hI(e={}){return(t,n)=>cI(t,n,e)}function fI(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=fI(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var gI=function(e){var t,n;if("function"!=typeof e)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 mI="undefined"!=typeof window?window.navigator.userAgent:"",bI=e("dK",/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(mI)),vI=(e("aJ",(window?.navigator?.platform??"")?.includes("Mac")),/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g);function yI(e){const t={};let n;for(;n=vI.exec(e);)t[n[1]]=n[2];return t}function EI(e,t){-1===e.indexOf(t)&&e.push(t)}const _I=(e,t,n)=>Math.min(Math.max(n,e),t),TI={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},wI=e=>"number"==typeof e,kI=e=>Array.isArray(e)&&!wI(e[0]),CI=(e,t,n)=>-n*e+n*t+e,SI=()=>{},xI=e=>e,AI=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function OI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=AI(0,t,r);e.push(CI(n,1,o))}}function NI(e,t=function(e){const t=[0];return OI(t,e-1),t}(e.length),n=xI){const r=e.length,o=r-t.length;return o>0&&OI(t,o),o=>{let i=0;for(;i<r-2&&!(o<t[i+1]);i++);let a=_I(0,1,AI(t[i],t[i+1],o));const l=function(e,t){return kI(e)?e[((e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}(n,i);return a=l(a),CI(e[i],e[i+1],a)}}const II=e=>Array.isArray(e)&&wI(e[0]),RI=e=>"object"==typeof e&&Boolean(e.createAnimation),MI=e=>"function"==typeof e,LI=e=>1e3*e,$I=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function PI(e,t,n,r){if(e===t&&n===r)return xI;const o=t=>function(e,t,n,r,o){let i,a,l=0;do{a=t+(n-t)/2,i=$I(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++l<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:$I(o(e),t,r)}const DI={ease:PI(.25,.1,.25,1),"ease-in":PI(.42,0,1,1),"ease-in-out":PI(.42,0,.58,1),"ease-out":PI(0,0,.58,1)},BI=/\((.*?)\)/;function FI(e){if(MI(e))return e;if(II(e))return PI(...e);const t=DI[e];if(t)return t;if(e.startsWith("steps")){const t=BI.exec(e);if(t){const e=t[1].split(",");return((e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return _I(0,1,o/e)})(parseFloat(e[0]),e[1].trim())}}return xI}class HI{constructor(e,t=[0,1],{easing:n,duration:r=TI.duration,delay:o=TI.delay,endDelay:i=TI.endDelay,repeat:a=TI.repeat,offset:l,direction:s="normal",autoplay:c=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=xI,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),n=n||TI.easing,RI(n)){const e=n.createAnimation(t);n=e.easing,t=e.keyframes||t,r=e.duration||r}this.repeat=a,this.easing=kI(n)?xI:FI(n),this.updateDuration(r);const u=NI(t,l,kI(n)?n.map(FI):xI);this.tick=t=>{var n;let r=0;r=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=r,r/=1e3,r=Math.max(r-o,0),"finished"===this.playState&&void 0===this.pauseTime&&(r=this.totalDuration);const a=r/this.duration;let l=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&l--;const d=l%2;("reverse"===s||"alternate"===s&&d||"alternate-reverse"===s&&!d)&&(c=1-c);const p=r>=this.totalDuration?1:Math.min(c,1),h=u(this.easing(p));e(h),void 0===this.pauseTime&&("finished"===this.playState||r>=this.totalDuration+i)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,h)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},c&&this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),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 e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}class zI{setAnimation(e){this.animation=e,null==e||e.finished.then((()=>this.clearAnimation())).catch((()=>{}))}clearAnimation(){this.animation=this.generator=void 0}}const jI=new WeakMap;function UI(e){return jI.has(e)||jI.set(e,{transforms:[],values:new Map}),jI.get(e)}const GI=["","X","Y","Z"],KI={x:"translateX",y:"translateY",z:"translateZ"},WI={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},qI={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:WI,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:xI},skew:WI},VI=new Map,YI=e=>`--motion-${e}`,XI=["x","y","z"];["translate","scale","rotate","skew"].forEach((e=>{GI.forEach((t=>{XI.push(e+t),VI.set(YI(e+t),qI[e])}))}));const ZI=(e,t)=>XI.indexOf(e)-XI.indexOf(t),QI=new Set(XI),JI=e=>QI.has(e),eR=e=>e.sort(ZI).reduce(tR,"").trim(),tR=(e,t)=>`${e} ${t}(var(${YI(t)}))`,nR=e=>e.startsWith("--"),rR=new Set,oR=(e,t)=>document.createElement("div").animate(e,t),iR={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{oR({opacity:[1]})}catch(Dr){return!1}return!0},finished:()=>Boolean(oR({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{oR({opacity:0},{easing:"linear(0, 1)"})}catch(Dr){return!1}return!0}},aR={},lR={};for(const e in iR)lR[e]=()=>(void 0===aR[e]&&(aR[e]=iR[e]()),aR[e]);const sR=(e,t)=>MI(e)?lR.linearEasing()?`linear(${((e,t)=>{let n="";const r=Math.round(t/.015);for(let o=0;o<r;o++)n+=e(AI(0,r-1,o))+", ";return n.substring(0,n.length-2)})(e,t)})`:TI.easing:II(e)?cR(e):e,cR=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;function uR(e){return KI[e]&&(e=KI[e]),JI(e)?YI(e):e}const dR=(e,t)=>{t=uR(t);let n=nR(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=VI.get(t);e&&(n=e.initialValue)}return n},pR=(e,t,n)=>{t=uR(t),nR(t)?e.style.setProperty(t,n):e.style[t]=n};function hR(e,t,n,r={},o){const i=window.__MOTION_DEV_TOOLS_RECORD,a=!1!==r.record&&i;let l,{duration:s=TI.duration,delay:c=TI.delay,endDelay:u=TI.endDelay,repeat:d=TI.repeat,easing:p=TI.easing,persist:h=!1,direction:f,offset:g,allowWebkitAcceleration:m=!1,autoplay:b=!0}=r;const v=UI(e),y=JI(t);let E=lR.waapi();y&&((e,t)=>{KI[t]&&(t=KI[t]);const{transforms:n}=UI(e);EI(n,t),e.style.transform=eR(n)})(e,t);const _=uR(t),T=function(e,t){return e.has(t)||e.set(t,new zI),e.get(t)}(v.values,_),w=VI.get(_);return function(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(Dr){}}(T.animation,!(RI(p)&&T.generator)&&!1!==r.record),()=>{const v=()=>{var t,n;return null!==(n=null!==(t=dR(e,_))&&void 0!==t?t:null==w?void 0:w.initialValue)&&void 0!==n?n:0};let k=function(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}((e=>Array.isArray(e)?e:[e])(n),v);const C=function(e,t){var n;let r=(null==t?void 0:t.toDefaultUnit)||xI;const o=e[e.length-1];if("string"==typeof o){const e=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";e&&(r=t=>t+e)}return r}(k,w);if(RI(p)){const e=p.createAnimation(k,"opacity"!==t,v,_,T);p=e.easing,k=e.keyframes||k,s=e.duration||s}if(nR(_)&&(lR.cssRegisterProperty()?function(e){if(!rR.has(e)){rR.add(e);try{const{syntax:t,initialValue:n}=VI.has(e)?VI.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(Dr){}}}(_):E=!1),y&&!lR.linearEasing()&&(MI(p)||kI(p)&&p.some(MI))&&(E=!1),E){w&&(k=k.map((e=>wI(e)?w.toDefaultUnit(e):e))),1!==k.length||lR.partialKeyframes()&&!a||k.unshift(v());const t={delay:LI(c),duration:LI(s),endDelay:LI(u),easing:kI(p)?void 0:sR(p,s),direction:f,iterations:d+1,fill:"both"};l=e.animate({[_]:k,offset:g,easing:kI(p)?p.map((e=>sR(e,s))):void 0},t),l.finished||(l.finished=new Promise(((e,t)=>{l.onfinish=e,l.oncancel=t})));const n=k[k.length-1];l.finished.then((()=>{h||(pR(e,_,n),l.cancel())})).catch(SI),m||(l.playbackRate=1.000001)}else if(o&&y)k=k.map((e=>"string"==typeof e?parseFloat(e):e)),1===k.length&&k.unshift(parseFloat(v())),l=new o((t=>{pR(e,_,C?C(t):t)}),k,Object.assign(Object.assign({},r),{duration:s,easing:p}));else{const t=k[k.length-1];pR(e,_,w&&wI(t)?w.toDefaultUnit(t):t)}return a&&i(e,t,k,{duration:s,delay:c,easing:p,repeat:d,offset:g},"motion-one"),T.setAnimation(l),l&&!b&&l.pause(),l}}const fR=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function gR(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;const mR={any:0,all:1};function bR(e,t,{root:n,margin:r,amount:o="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const i=function(e,t){var n;return"string"==typeof e?t?(null!==(n=t[e])&&void 0!==n||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}(e),a=new WeakMap,l=new IntersectionObserver((e=>{e.forEach((e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);MI(n)?a.set(e.target,n):l.unobserve(e.target)}else n&&(n(e),a.delete(e.target))}))}),{root:n,rootMargin:r,threshold:"number"==typeof o?o:mR[o]});return i.forEach((e=>l.observe(e))),()=>l.disconnect()}function vR(e,t){return function(e){return"object"==typeof e}(e)?e:e&&t?t[e]:void 0}let yR;function ER(){if(!yR)return;const e=yR.sort(TR).map(wR);e.forEach(kR),e.forEach(kR),yR=void 0}function _R(e){yR?EI(yR,e):(yR=[e],requestAnimationFrame(ER))}const TR=(e,t)=>e.getDepth()-t.getDepth(),wR=e=>e.animateUpdates(),kR=e=>e.next(),CR=(e,t)=>new CustomEvent(e,{detail:{target:t}});function SR(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function xR(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const AR={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:o}=r,i=gR(r,["once"]);return bR(e,(r=>{if(t(),xR(e,"viewenter",r),!o)return t=>{n(),xR(e,"viewleave",t)}}),i)}},OR=(e,t,n)=>r=>{r.pointerType&&"mouse"!==r.pointerType||(n(),SR(e,t,r))},NR={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const r=OR(e,"hoverstart",t),o=OR(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",o)}}},IR={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const r=t=>{n(),SR(e,"pressend",t),window.removeEventListener("pointerup",r)},o=n=>{t(),SR(e,"pressstart",n),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",r)}}},RR={inView:AR,hover:NR,press:IR},MR=["initial","animate",...Object.keys(RR),"exit"],LR=new WeakMap;function $R(e={},t){let n,r=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},i={},a={};for(const h of MR)a[h]="string"==typeof e[h]?e[h]:null==t?void 0:t.getContext()[h];const l=!1===e.initial?"animate":"initial";let s=gR(vR(e[l]||a[l],e.variants)||{},["transition"]);const c=Object.assign({},s),u=(e,t)=>()=>{o[e]=t,_R(p)},d=()=>{for(const t in RR){const r=RR[t].isActive(e),o=i[t];r&&!o?i[t]=RR[t].subscribe(n,{enable:u(t,!0),disable:u(t,!1)},e):!r&&o&&(o(),delete i[t])}},p={update:t=>{n&&(e=t,d(),_R(p))},setActive:(e,t)=>{n&&(o[e]=t,_R(p))},animateUpdates:function*(){var t,r;const i=s;s={};const a={};for(const n of MR){if(!o[n])continue;const i=vR(e[n]);if(i)for(const n in i)"transition"!==n&&(s[n]=i[n],a[n]=fR(null!==(r=null!==(t=i.transition)&&void 0!==t?t:e.transition)&&void 0!==r?r:{},n))}const l=new Set([...Object.keys(s),...Object.keys(i)]),u=[];l.forEach((e=>{var t;void 0===s[e]&&(s[e]=c[e]),function(e,t){return typeof e!=typeof t||(Array.isArray(e)&&Array.isArray(t)?!function(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}(e,t):e!==t)}(i[e],s[e])&&(null!==(t=c[e])&&void 0!==t||(c[e]=dR(n,e)),u.push(hR(n,e,s[e],a[e],HI)))})),yield;const d=u.map((e=>e())).filter(Boolean);if(!d.length)return;const p=s;n.dispatchEvent(CR("motionstart",p)),Promise.all(d.map((e=>e.finished))).then((()=>{n.dispatchEvent(CR("motioncomplete",p))})).catch(SI)},getDepth:()=>r,getTarget:()=>s,getOptions:()=>e,getContext:()=>a,mount:e=>(n=e,LR.set(n,p),d(),()=>{LR.delete(n),function(e){yR&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(yR,e)}(p);for(const e in i)i[e]()}),isMounted:()=>Boolean(n)};return p}function PR(e){const t={},n=[];for(let r in e){const o=e[r];JI(r)&&(KI[r]&&(r=KI[r]),n.push(r),r=YI(r));let i=Array.isArray(o)?o[0]:o;const a=VI.get(r);a&&(i=wI(o)?a.toDefaultUnit(o):o),t[r]=i}return n.length&&(t.transform=eR(n)),t}const DR=e=>e instanceof Element;function BR(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return BR(e(),t);if(Array.isArray(e))for(const n of e){const e=BR(n,t);if(e)return e}return null}function FR(e,t=DR,n=DR){const r=x(e);return x((()=>BR(r(),t)))}const HR=()=>{},zR=(e,t)=>t();function jR(e,t){const n=N(e),r=n?[n]:[],{onEnter:o=zR,onExit:i=zR}=t,[a,l]=w(t.appear?[]:r),[s]=[B,D];let c,u=!1;function d(e,t){if(!e)return t&&t();u=!0,i(e,(()=>{O((()=>{u=!1,l((t=>t.filter((t=>t!==e)))),t&&t()}))}))}function p(e){const t=c;if(!t)return e&&e();c=void 0,l((e=>[t,...e])),o(t,e??HR)}const h="out-in"===t.mode?e=>u||d(e,p):"in-out"===t.mode?e=>p((()=>d(e))):e=>{d(e),p()};return k((t=>{const n=e();return N(s)?(s(),t):(n!==t&&(c=n,O((()=>N((()=>h(t)))))),n)}),t.appear?void 0:n),a}var UR=H();e("aX",(e=>{const[t,n]=w(!0),r={initial:e.initial??!0,mount:t},o=de(UR.Provider,{value:r,get children(){return jR(FR((()=>e.children)),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(e,t){O((()=>{n(!1),LR.get(e)?.getOptions()?.exit?e.addEventListener("motioncomplete",t):t()}))},onEnter(e,t){O((()=>{n(!0),t()}))}})}});return r.initial=!0,o}));var GR=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],KR=["tag"],WR=H(),qR=e=>{const[t,,n]=be(e,GR,KR),[r,o]=function(e,t,n,r){const o=$R(!1===n?.initial?{...t(),initial:!1}:t(),r);return S((()=>{if(n&&!n.mount())return;const r=e(),i=o.mount(r);S((()=>o.update(t()))),M((()=>{n&&t().exit?(o.setActive("exit",!0),r.addEventListener("motioncomplete",i)):i()}))})),[o,PR(o.getTarget())]}((()=>i),(()=>({...t})),z(UR),z(WR));let i;return de(WR.Provider,{value:r,get children(){return de(at,me(n,{ref:t=>{i=t,e.ref?.(t)},get component(){return e.tag||"div"},get style(){return function(e,t){if("string"==typeof e){if("string"==typeof t)return`${e};${t}`;e=yI(e)}else"string"==typeof t&&(t=yI(t));return{...e,...t}}(e.style,o)}}))}})},VR=e("an",new Proxy(qR,{get:(e,t)=>e=>de(qR,me(e,{tag:t}))}));const YR=(e,t)=>{t?.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),M((()=>window.removeEventListener("scroll",e)))},[XR,ZR]=(e("bO",(()=>{if(bI)return null;const[e,t]=w(!1);return YR((()=>t(window.scrollY>100))),de(we,{get when(){return e()},get children(){return de(ol,{get as(){return VR.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return Ab()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:Ab(),color:"white"}},get _hover(){return{bgColor:Ab(),color:"white"}},get children(){return de(bl,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:mv,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})})),w(!1));e("a$",XR);const[QR,JR]=Hh("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function eM(e){if(e.disabled)return null;if(bI)return null;const[t,n]=w([]);YR((()=>ZR(window.scrollY>100&&t().length>1)),{immediate:!0}),S((()=>{const t=e.markdownRef.querySelector(".markdown-body");if(!t)return;const r=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>/h1|h2|h3/i.test(e.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let i=r.nextNode(),a=6;for(;i;){const e=Number(i.nodeName.match(/h(\d)/i)[1]);e<a&&(a=e),o.push({indent:e,text:i.textContent,tagName:i.nodeName.toLowerCase(),key:i.getAttribute("key")}),i=r.nextNode()}n(o.map((e=>({...e,indent:e.indent-a}))))}));const r="calc(100% - 20px)",[o,i]=w(r);return de(we,{get when(){return De((()=>!QR()))()&&XR()},get children(){return de(ol,{get as(){return VR.div},initial:{x:999},get animate(){return{x:o()}},onMouseEnter:()=>i(0),onMouseLeave:()=>i(r),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return de(ol,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return de(xu,{maxH:"60vh",overflowY:"auto",get children(){return de(Te,{get each(){return t()},children:t=>de(Ou,{get pl(){return 15*t.indent},m:4,get children(){return de(Kl,{get color(){return Ab()},onClick:()=>(t=>{const n=e.markdownRef.querySelector(`${t.tagName}[key=${t.key}]`);if(!n)return;const r=document.querySelector(".nav");let o=r?.getBoundingClientRect().bottom??0;o<0&&(o=0);const i=n.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:i-o})})(t),get children(){return t.text}})}})})}})}})}})}})}e("b0",JR);const tM=gI((()=>{const e=document.createElement("link");e.rel="stylesheet",e.href="https://registry.npmmirror.com/katex/0.16.11/files/dist/katex.min.css",document.head.appendChild(e)})),nM=gI((()=>{const e=document.createElement("script");e.src="https://registry.npmmirror.com/mermaid/11/files/dist/mermaid.min.js",document.body.appendChild(e)}));function rM(e){return gv({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 oM(e){return gv({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)}const iM=e("a6",(e=>{const t=me({h:"$full"},e);return de(Bs,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return de(ol,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return Za("white","$neutral3")()},get children(){return[de(fu,{css:{wordBreak:"break-all"},get children(){return e.msg}}),de(we,{get when(){return!e.disableColor},get children(){return de(Qc,{mt:"$2",justifyContent:"end",get children(){return de(yv,{})}})}})]}})}})}));function aM(e){return de(ep,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[de(Op,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[de(Rp,{}),de(sp,{})]}}),de(op,{get children(){return de(up,{get children(){return de(Te,{get each(){return e.options},children:e=>de(hp,{get value(){return e.value},get children(){return[de(yp,{get children(){return e.label??e.value}}),de(bp,{})]}})})}})}})]}})}e("cM",(e=>{const{isOpen:t,onToggle:n}=Mh();return de(ol,{get pos(){return t()?"fixed":"relative"},get w(){return t()?"100vw":e.w},get h(){return 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[De((()=>e.children)),de(bl,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?rM:oM},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return Im()},p:"$1",boxSize:"$7"})]}})}));var lM={},sM={};Object.defineProperty(sM,"__esModule",{value:!0}),sM.default=()=>{throw new Error("File system is not available")};var cM={},uM={};Object.defineProperty(uM,"__esModule",{value:!0}),uM.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0});var dM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cM,"__esModule",{value:!0});const pM=dM(uM);cM.default=class{name(){return"ASCII"}match(e){const t=e.rawInput;for(let n=0;n<e.rawLen;n++){const r=t[n];if(r<32||r>126)return(0,pM.default)(e,this,0)}return(0,pM.default)(e,this,100)}};var hM={},fM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hM,"__esModule",{value:!0});const gM=fM(uM);hM.default=class{name(){return"UTF-8"}match(e){let t,n=!1,r=0,o=0,i=0;const a=e.rawInput;e.rawLen>=3&&239==(255&a[0])&&187==(255&a[1])&&191==(255&a[2])&&(n=!0);for(let l=0;l<e.rawLen;l++){const t=a[l];if(128&t){if(192==(224&t))i=1;else if(224==(240&t))i=2;else if(240==(248&t))i=3;else{if(o++,o>5)break;i=0}for(;l++,!(l>=e.rawLen);){if(128!=(192&a[l])){o++;break}if(0==--i){r++;break}}}}if(t=0,n&&0==o)t=100;else if(n&&r>10*o)t=80;else if(r>3&&0==o)t=100;else if(r>0&&0==o)t=80;else if(0==r&&0==o)t=10;else{if(!(r>10*o))return null;t=25}return(0,gM.default)(e,this,t)}};var mM={},bM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mM,"__esModule",{value:!0}),mM.UTF_32LE=mM.UTF_32BE=mM.UTF_16LE=mM.UTF_16BE=void 0;const vM=bM(uM);mM.UTF_16BE=class{name(){return"UTF-16BE"}match(e){const t=e.rawInput;return t.length>=2&&254==(255&t[0])&&!(255&~t[1])?(0,vM.default)(e,this,100):null}},mM.UTF_16LE=class{name(){return"UTF-16LE"}match(e){const t=e.rawInput;return t.length>=2&&!(255&~t[0])&&254==(255&t[1])?t.length>=4&&0==t[2]&&0==t[3]?null:(0,vM.default)(e,this,100):null}};class yM{name(){return"UTF-32"}getChar(e,t){return-1}match(e){let t=0,n=0,r=!1,o=0;const i=e.rawLen/4*4,a=e.rawInput;if(0==i)return null;65279==this.getChar(a,0)&&(r=!0);for(let l=0;l<i;l+=4){const e=this.getChar(a,l);e<0||e>=1114111||e>=55296&&e<=57343?n+=1:t+=1}return r&&0==n?o=100:r&&t>10*n?o=80:t>3&&0==n?o=100:t>0&&0==n?o=80:t>10*n&&(o=25),0==o?null:(0,vM.default)(e,this,o)}}mM.UTF_32BE=class extends yM{name(){return"UTF-32BE"}getChar(e,t){return(255&e[t+0])<<24|(255&e[t+1])<<16|(255&e[t+2])<<8|255&e[t+3]}},mM.UTF_32LE=class extends yM{name(){return"UTF-32LE"}getChar(e,t){return(255&e[t+3])<<24|(255&e[t+2])<<16|(255&e[t+1])<<8|255&e[t+0]}};var EM={},_M=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(EM,"__esModule",{value:!0}),EM.gb_18030=EM.euc_kr=EM.euc_jp=EM.big5=EM.sjis=void 0;const TM=_M(uM);function wM(e,t){const n=(e,t,r,o)=>{if(o<r)return-1;const i=Math.floor(r+o>>>1);return t>e[i]?n(e,t,i+1,o):t<e[i]?n(e,t,r,i-1):i};return n(e,t,0,e.length-1)}class kM{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(e){return this.nextIndex>=e.rawLen?(this.done=!0,-1):255&e.rawInput[this.nextIndex++]}}class CM{constructor(){this.commonChars=[]}name(){return"mbcs"}match(e){let t=0,n=0,r=0,o=0,i=0;const a=new kM;e:{for(a.reset();this.nextChar(a,e);){if(o++,a.error)r++;else{const e=4294967295&a.charValue;e>255&&(t++,null!=this.commonChars&&wM(this.commonChars,e)>=0&&n++)}if(r>=2&&5*r>=t)break e}if(t<=10&&0==r)i=0==t&&o<10?0:10;else if(t<20*r)i=0;else if(null==this.commonChars)i=30+t-20*r,i>100&&(i=100);else{const e=90/Math.log(t/4);i=Math.floor(Math.log(n+1)*e+10),i=Math.min(i,100)}}return 0==i?null:(0,TM.default)(e,this,i)}nextChar(e,t){return!0}}function SM(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0;return n=e.charValue=e.nextByte(t),n<0?e.done=!0:n<=141||(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=161&&n<=254?r<161&&(e.error=!0):142!=n?143==n&&(o=e.nextByte(t),e.charValue=e.charValue<<8|o,o<161&&(e.error=!0)):r<161&&(e.error=!0)),0==e.done}EM.sjis=class extends CM{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(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||n>160&&n<=223)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=n<<8|r,r>=64&&r<=127||r>=128&&r<=255||(e.error=!0),0))}},EM.big5=class extends CM{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(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||255==n)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=e.charValue<<8|r,(r<64||127==r||255==r)&&(e.error=!0),0))}},EM.euc_jp=class extends CM{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=SM}name(){return"EUC-JP"}language(){return"ja"}},EM.euc_kr=class extends CM{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=SM}name(){return"EUC-KR"}language(){return"ko"}},EM.gb_18030=class extends CM{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(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0,i=0;e:if(n=e.charValue=e.nextByte(t),n<0)e.done=!0;else if(!(n<=128)&&(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=129&&n<=254)){if(r>=64&&r<=126||r>=80&&r<=254)break e;if(r>=48&&r<=57&&(o=e.nextByte(t),o>=129&&o<=254&&(i=e.nextByte(t),i>=48&&i<=57))){e.charValue=e.charValue<<16|o<<8|i;break e}e.error=!0}return 0==e.done}};var xM={},AM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xM,"__esModule",{value:!0}),xM.KOI8_R=xM.windows_1256=xM.windows_1251=xM.ISO_8859_9=xM.ISO_8859_8=xM.ISO_8859_7=xM.ISO_8859_6=xM.ISO_8859_5=xM.ISO_8859_2=xM.ISO_8859_1=void 0;const OM=AM(uM);class NM{constructor(e,t){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=e,this.byteMap=t}search(e,t){let n=0;return e[n+32]<=t&&(n+=32),e[n+16]<=t&&(n+=16),e[n+8]<=t&&(n+=8),e[n+4]<=t&&(n+=4),e[n+2]<=t&&(n+=2),e[n+1]<=t&&(n+=1),e[n]>t&&(n-=1),n<0||e[n]!=t?-1:n}lookup(e){this.ngramCount+=1,this.search(this.ngramList,e)>=0&&(this.hitCount+=1)}addByte(e){this.ngram=(this.ngram<<8)+(255&e)&16777215,this.lookup(this.ngram)}nextByte(e){return this.byteIndex>=e.inputLen?-1:255&e.inputBytes[this.byteIndex++]}parse(e,t){let n,r=!1;for(this.spaceChar=t;(n=this.nextByte(e))>=0;){const e=this.byteMap[n];0!=e&&(e==this.spaceChar&&r||this.addByte(e),r=e==this.spaceChar)}this.addByte(this.spaceChar);const o=this.hitCount/this.ngramCount;return o>.33?98:Math.floor(300*o)}}class IM{constructor(e,t){this.fLang=e,this.fNGrams=t}}class RM{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(e){return"sbcs"}language(){return this.nGramLang}match(e){this.nGramLang=void 0;const t=this.ngrams();if(n=t,Array.isArray(n)&&isFinite(n[0])){const n=new NM(t,this.byteMap()).parse(e,this.spaceChar);return n<=0?null:(0,OM.default)(e,this,n)}var n;let r=-1;for(let o=t.length-1;o>=0;o--){const n=t[o],i=new NM(n.fNGrams,this.byteMap()).parse(e,this.spaceChar);i>r&&(r=i,this.nGramLang=n.fLang)}return r<=0?null:(0,OM.default)(e,this,r)}}xM.ISO_8859_1=class extends RM{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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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 IM("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(e){return e&&e.c1Bytes?"windows-1252":"ISO-8859-1"}},xM.ISO_8859_2=class extends RM{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 IM("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 IM("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 IM("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 IM("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(e){return e&&e.c1Bytes?"windows-1250":"ISO-8859-2"}},xM.ISO_8859_5=class extends RM{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"}},xM.ISO_8859_6=class extends RM{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"}},xM.ISO_8859_7=class extends RM{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(e){return e&&e.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}},xM.ISO_8859_8=class extends RM{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 IM("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 IM("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(e){return e&&e.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}},xM.ISO_8859_9=class extends RM{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(e){return e&&e.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}},xM.windows_1251=class extends RM{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"}},xM.windows_1256=class extends RM{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"}},xM.KOI8_R=class extends RM{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"}};var MM={},LM=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(MM,"__esModule",{value:!0}),MM.ISO_2022_CN=MM.ISO_2022_KR=MM.ISO_2022_JP=void 0;const $M=LM(uM);class PM{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(e){let t,n,r,o,i=0,a=0,l=0;const s=e.inputBytes,c=e.inputLen;e:for(t=0;t<c;t++){if(27==s[t]){t:for(r=0;r<this.escapeSequences.length;r++){const e=this.escapeSequences[r];if(!(c-t<e.length)){for(n=1;n<e.length;n++)if(e[n]!=s[t+n])continue t;i++,t+=e.length-1;continue e}}a++}14!=s[t]&&15!=s[t]||l++}return 0==i?null:(o=(100*i-100*a)/(i+a),i+l<5&&(o-=10*(5-(i+l))),o<=0?null:(0,$M.default)(e,this,o))}}MM.ISO_2022_JP=class extends PM{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"}},MM.ISO_2022_KR=class extends PM{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}},MM.ISO_2022_CN=class extends PM{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"}};var DM={};Object.defineProperty(DM,"__esModule",{value:!0}),DM.isByteArray=void 0,DM.isByteArray=e=>null!=e&&"object"==typeof e&&isFinite(e.length)&&e.length>=0,function(e){var t=Zn&&Zn.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=Zn&&Zn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=Zn&&Zn.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var o={};if(null!=r)for(var i=e(r),a=0;a<i.length;a++)"default"!==i[a]&&t(o,r,i[a]);return n(o,r),o}}(),o=Zn&&Zn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=o(sM),a=o(cM),l=o(hM),s=r(mM),c=r(EM),u=r(xM),d=r(MM),p=DM,h=[new l.default,new s.UTF_16BE,new s.UTF_16LE,new s.UTF_32BE,new s.UTF_32LE,new c.sjis,new c.big5,new c.euc_jp,new c.euc_kr,new c.gb_18030,new d.ISO_2022_JP,new d.ISO_2022_KR,new d.ISO_2022_CN,new u.ISO_8859_1,new u.ISO_8859_2,new u.ISO_8859_5,new u.ISO_8859_6,new u.ISO_8859_7,new u.ISO_8859_8,new u.ISO_8859_9,new u.windows_1251,new u.windows_1256,new u.KOI8_R,new a.default];e.detect=t=>{const n=(0,e.analyse)(t);return n.length>0?n[0].name:null},e.analyse=e=>{if(!(0,p.isByteArray)(e))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const t=[];for(let i=0;i<256;i++)t[i]=0;for(let i=e.length-1;i>=0;i--)t[255&e[i]]++;let n=!1;for(let i=128;i<=159;i+=1)if(0!==t[i]){n=!0;break}const r={byteStats:t,c1Bytes:n,rawInput:e,rawLen:e.length,inputBytes:e,inputLen:e.length},o=h.map((e=>e.match(r))).filter((e=>!!e)).sort(((e,t)=>t.confidence-e.confidence));return o},e.detectFile=(t,n={})=>new Promise(((r,o)=>{let a;const l=(0,i.default)(),s=(t,n)=>{a&&l.closeSync(a),t?o(t):r((0,e.detect)(n))};if(n&&n.sampleSize){a=l.openSync(t,"r");const e=Buffer.allocUnsafe(n.sampleSize);l.read(a,e,0,n.sampleSize,n.offset,(t=>{s(t,e)}))}else l.readFile(t,s)})),e.detectFileSync=(t,n={})=>{const r=(0,i.default)();if(n&&n.sampleSize){const o=r.openSync(t,"r"),i=Buffer.allocUnsafe(n.sampleSize);return r.readSync(o,i,0,n.sampleSize,n.offset),r.closeSync(o),(0,e.detect)(i)}return(0,e.detect)(r.readFileSync(t))},e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}}(lM);const BM=Qn(lM);function FM(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 S((()=>{if(e.referenceText){let n;n="string"==typeof e.referenceText?(new TextEncoder).encode(e.referenceText):new Uint8Array(e.referenceText);for(let r of BM.analyse(n)){const n=r.name.toLowerCase();if(t.includes(n))return void e.setEncoding(n)}}})),de(ol,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return de(aM,{get options(){return t.map((e=>({label:e.toLocaleUpperCase(),value:e})))},get value(){return e.encoding},onChange:t=>e.setEncoding(t)})}})}function HM(e){return gv({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)}const zM=rl(HM,{baseStyle:{color:"$neutral11"}}),jM=(e("du",(e=>{const t=Ub(),n=np(),[r,o]=w(!1),[i,a]=w("");let l;const s=()=>n.state.selectedOptions.map((e=>e.textValue)).join(",");return S(I(s,a)),[de(Op,{get as(){return e.searchable?"div":void 0},get children(){return de(we,{get fallback(){return[de(_p,{get children(){return t("global.choose")}}),de(Rp,{}),de(sp,{})]},get when(){return!e.readonly&&e.searchable},get children(){return[de(Eu,{border:"none",variant:"unstyled",get placeholder(){return De((()=>!!r()))()&&s()||t("global.choose")},get value(){return De((()=>!!r()))()?i():s()},onKeyDown:e=>e.stopPropagation(),onClick:e=>{n.state.opened&&e.stopPropagation()},onInput:e=>{clearTimeout(l),a(e.currentTarget.value)},onBlur:()=>{o(!1),l=setTimeout((()=>a("")),300)},onFocus:()=>{clearTimeout(l),a(""),o(!0)}}),de(we,{get when(){return r()},get fallback(){return de(sp,{})},get children(){return de(zM,{})}})]}})}}),de(op,{get children(){return de(up,{get children(){return de(Te,{get each(){return e.searchable?e.options.filter((e=>new RegExp(i(),"i").test(e.label))):e.options},children:e=>de(hp,{get value(){return e.key},get children(){return[de(yp,{get children(){return e.label}}),de(bp,{})]}})})}})}})]})),{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:Im(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}}),UM=Ei({"*":{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"}}}}),GM=e=>{const t=Ub(),[n,r]=zb((()=>Tm.get("/me"))),[o,i]=w();return(async()=>{Am(await r(),Fb,i)})(),de(ke,{get fallback(){return e.children},get children(){return[de(Ce,{get when(){return n()},get children(){return de(pv,{})}}),de(Ce,{get when(){return void 0!==o()},get children(){return de(iM,{get msg(){return t("home.get_current_user_failed")+o()}})}})]}})};let KM=[];const WM=e=>{KM=e},qM=(e("cv",(e=>(e=e.toLowerCase(),KM.some((t=>e.endsWith(t)))))),ve((()=>Ev((()=>t.import("./Layout-legacy-c0a1d22d.js").then((e=>e.L))),void 0)))),VM=ve((()=>Ev((()=>t.import("./index-legacy-c65cb5fa.js").then((e=>e.i))),void 0))),YM=ve((()=>Ev((()=>t.import("./index-legacy-c5ef6985.js")),void 0))),XM=ve((()=>Ev((()=>t.import("./index-legacy-eff70e35.js")),void 0))),ZM=()=>{const e=Ub();UM();const[,{add:t}]=Ph(),n=_t().isRouting,{to:r,pathname:o}=jb(),i=e=>{r(e)};qh.on("to",i),M((()=>{qh.off("to",i)})),S((()=>{qh.emit("pathname",o())}));const[a,l]=w([]),[s,c]=Hb((()=>Promise.all([(async()=>{t(Sv,(await xv[Sv]()).default),Ov.add(Sv)})(),(async()=>{Nm(await Tm.get("/public/settings"),Cb,(e=>l(a().concat(e))))})(),(async()=>{Nm(await Tm.get("/public/archive_extensions"),WM,(e=>l(a().concat(e))))})()])));return c(),[de(it,{get children(){return de(Ld,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return n()?"block":"none"},get children(){return de(Pd,{})}})}}),de(ke,{get fallback(){return de(Pt,{base:Kh,get children(){return[de(Dt,{path:"/@test",component:XM}),de(Dt,{path:"/@login",component:YM}),de(Dt,{path:"/@manage/*",get element(){return de(GM,{get children(){return de(VM,{})}})}}),de(Dt,{path:"*",get element(){return de(GM,{get children(){return de(qM,{})}})}})]}})},get children(){return[de(Ce,{get when(){return a().length>0},get children(){return de(iM,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+a().map((t=>e("home."+t))).join(", ")}})}}),de(Ce,{get when(){return s()},get children(){return de(pv,{})}})]}})]},QM=()=>(UM(),de(Va,{config:jM,get children(){return de(xe,{fallback:e=>(console.error("error",e),de(iM,{msg:`System error: ${e}`,h:"100vh"})),get children(){return de($h.Provider,{value:Nv,get children(){return de(gd,{duration:3e3,get children(){return de(Oe,{get fallback(){return de(pv,{})},get children(){return de(ZM,{})}})}})}})}})}}));!function(e,t,n,r={}){let o;T((r=>{o=r,t===document?e():We(t,e(),t.firstChild?null:void 0,n)}),r.owner)}((()=>de($t,{get children(){return de(QM,{})}})),document.getElementById("root"))}}}));