@openlist-frontend/openlist-frontend 4.0.4 → 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 (344) hide show
  1. package/dist/VERSION +1 -1
  2. package/dist/assets/{2fa-e940f970.js → 2fa-93461ba3.js} +1 -1
  3. package/dist/assets/{2fa-legacy-2fd1b468.js → 2fa-legacy-b2163c16.js} +1 -1
  4. package/dist/assets/{About-89998bdb.js → About-7f361461.js} +1 -1
  5. package/dist/assets/{About-legacy-c539385b.js → About-legacy-95111e56.js} +1 -1
  6. package/dist/assets/{AddOrEdit-30d1638a.js → AddOrEdit-675ebb84.js} +1 -1
  7. package/dist/assets/{AddOrEdit-0e170473.js → AddOrEdit-a9c3618e.js} +1 -1
  8. package/dist/assets/{AddOrEdit-196d523f.js → AddOrEdit-f4ea1e3c.js} +1 -1
  9. package/dist/assets/{AddOrEdit-legacy-92128207.js → AddOrEdit-legacy-4065db05.js} +1 -1
  10. package/dist/assets/{AddOrEdit-legacy-707ab33c.js → AddOrEdit-legacy-6e10f618.js} +1 -1
  11. package/dist/assets/{AddOrEdit-legacy-4fd1c587.js → AddOrEdit-legacy-9c560d72.js} +1 -1
  12. package/dist/assets/{Common-818c5619.js → Common-e2b8c16d.js} +1 -1
  13. package/dist/assets/{Common-legacy-8ba814c6.js → Common-legacy-3a186d35.js} +1 -1
  14. package/dist/assets/{Copy-7cddacfb.js → Copy-ed495269.js} +1 -1
  15. package/dist/assets/{Copy-legacy-c3c0b19c.js → Copy-legacy-aaad0892.js} +1 -1
  16. package/dist/assets/Decompress-b14d45e8.js +1 -0
  17. package/dist/assets/{Decompress-legacy-2a172e8c.js → Decompress-legacy-a10e91cb.js} +1 -1
  18. package/dist/assets/{DeletePopover-2c3873a3.js → DeletePopover-e2bc72bc.js} +1 -1
  19. package/dist/assets/{DeletePopover-legacy-f92e3ce1.js → DeletePopover-legacy-7d9fa27c.js} +1 -1
  20. package/dist/assets/{File-6f69ae80.js → File-81da34fb.js} +1 -1
  21. package/dist/assets/{File-legacy-fb063169.js → File-legacy-e33ccbbb.js} +1 -1
  22. package/dist/assets/{Folder-148aa14e.js → Folder-a74c43cb.js} +2 -2
  23. package/dist/assets/{Folder-legacy-9d135076.js → Folder-legacy-7d46e2ea.js} +2 -2
  24. package/dist/assets/{FolderTree-9de1ab37.js → FolderTree-7c945f38.js} +1 -1
  25. package/dist/assets/{FolderTree-legacy-d0f60485.js → FolderTree-legacy-4c011a89.js} +1 -1
  26. package/dist/assets/Grid-60b1151b.js +1 -0
  27. package/dist/assets/{Grid-legacy-2499932f.js → Grid-legacy-8381cc23.js} +1 -1
  28. package/dist/assets/{GridItem-790cac91.js → GridItem-405084f4.js} +1 -1
  29. package/dist/assets/{GridItem-legacy-da545dc0.js → GridItem-legacy-6ed6814c.js} +1 -1
  30. package/dist/assets/{ImageWithError-af93a4e1.js → ImageWithError-19b85b5f.js} +1 -1
  31. package/dist/assets/{ImageWithError-legacy-9bc3f11d.js → ImageWithError-legacy-3cb5113e.js} +1 -1
  32. package/dist/assets/{Images-ff453caf.js → Images-1a803643.js} +1 -1
  33. package/dist/assets/{Images-legacy-dc835978.js → Images-legacy-b8fbf1f4.js} +1 -1
  34. package/dist/assets/{Layout-ad2deee5.js → Layout-bf4db116.js} +2 -2
  35. package/dist/assets/{Layout-legacy-c3ce62b2.js → Layout-legacy-bfe75175.js} +2 -2
  36. package/dist/assets/{List-5a1bae33.js → List-86e68ce2.js} +1 -1
  37. package/dist/assets/{List-legacy-3bb9bf4a.js → List-legacy-3ac42ba0.js} +1 -1
  38. package/dist/assets/{Messenger-8ec8b970.js → Messenger-67e2c81b.js} +1 -1
  39. package/dist/assets/{Messenger-legacy-8585c26d.js → Messenger-legacy-678fcdfd.js} +1 -1
  40. package/dist/assets/{Metas-79ea178d.js → Metas-b6d9d48f.js} +1 -1
  41. package/dist/assets/{Metas-legacy-53a363ad.js → Metas-legacy-afff9ac6.js} +1 -1
  42. package/dist/assets/{Other-6d74c1cb.js → Other-57a8557a.js} +1 -1
  43. package/dist/assets/{Other-legacy-77bcd588.js → Other-legacy-95dec83a.js} +1 -1
  44. package/dist/assets/{PackageDownload-e8132841.js → PackageDownload-be001a4b.js} +1 -1
  45. package/dist/assets/{PackageDownload-legacy-50ccd1c4.js → PackageDownload-legacy-ed2c0640.js} +1 -1
  46. package/dist/assets/{Paginator-e2a864f2.js → Paginator-d7be1879.js} +1 -1
  47. package/dist/assets/{Paginator-legacy-4f14dee7.js → Paginator-legacy-773e1b42.js} +1 -1
  48. package/dist/assets/{Password-f5526b0f.js → Password-9ae34569.js} +1 -1
  49. package/dist/assets/{Password-legacy-0a835b72.js → Password-legacy-0e4ad601.js} +1 -1
  50. package/dist/assets/{Profile-5a83f592.js → Profile-50bfcfa4.js} +1 -1
  51. package/dist/assets/{Profile-legacy-9fcfd352.js → Profile-legacy-9f661429.js} +1 -1
  52. package/dist/assets/{PublicKeys-19a81bcf.js → PublicKeys-41759309.js} +1 -1
  53. package/dist/assets/{PublicKeys-legacy-d04e8eaa.js → PublicKeys-legacy-351020ba.js} +1 -1
  54. package/dist/assets/{ResponsiveGrid-3082e524.js → ResponsiveGrid-dceace19.js} +1 -1
  55. package/dist/assets/{ResponsiveGrid-legacy-fcf10864.js → ResponsiveGrid-legacy-e2241610.js} +1 -1
  56. package/dist/assets/{S3-8d5f17a3.js → S3-28ae25bd.js} +1 -1
  57. package/dist/assets/{S3-legacy-59bfaeb3.js → S3-legacy-2ff36fbe.js} +1 -1
  58. package/dist/assets/{SettingItem-70eb4ae2.js → SettingItem-ceb3be8a.js} +1 -1
  59. package/dist/assets/{SettingItem-legacy-861fcc82.js → SettingItem-legacy-99b48931.js} +1 -1
  60. package/dist/assets/{Storages-17c5796c.js → Storages-db44818f.js} +1 -1
  61. package/dist/assets/{Storages-legacy-47f744a8.js → Storages-legacy-f1817500.js} +1 -1
  62. package/dist/assets/Upload-328b04f6.js +1 -0
  63. package/dist/assets/{Upload-8029ad48.js → Upload-b0113ec6.js} +1 -1
  64. package/dist/assets/{Upload-legacy-8806ed2a.js → Upload-legacy-00b86d8b.js} +1 -1
  65. package/dist/assets/{Upload-legacy-0312565f.js → Upload-legacy-cb7c10ea.js} +1 -1
  66. package/dist/assets/{Users-1a219982.js → Users-1d354aa6.js} +1 -1
  67. package/dist/assets/{Users-legacy-5bb8847b.js → Users-legacy-9109e145.js} +1 -1
  68. package/dist/assets/{Wether-8025708b.js → Wether-cec2431e.js} +1 -1
  69. package/dist/assets/{Wether-legacy-fcc83b43.js → Wether-legacy-21b9cbe2.js} +1 -1
  70. package/dist/assets/{aliyun_office-f21c7d1e.js → aliyun_office-b980b158.js} +1 -1
  71. package/dist/assets/{aliyun_office-legacy-cef109fb.js → aliyun_office-legacy-c5b7ff0d.js} +1 -1
  72. package/dist/assets/{aliyun_video-75848b44.js → aliyun_video-98f623ff.js} +1 -1
  73. package/dist/assets/{aliyun_video-legacy-ecf5d264.js → aliyun_video-legacy-9279a5f5.js} +1 -1
  74. package/dist/assets/{archive-9cc099f8.js → archive-9ce59746.js} +1 -1
  75. package/dist/assets/{archive-legacy-ce983444.js → archive-legacy-9b71b0fa.js} +1 -1
  76. package/dist/assets/{asciinema-db00c2d9.js → asciinema-3de41787.js} +1 -1
  77. package/dist/assets/{asciinema-legacy-ff18415a.js → asciinema-legacy-43452986.js} +1 -1
  78. package/dist/assets/{audio-c9f8dcb6.js → audio-a412b2d8.js} +1 -1
  79. package/dist/assets/{audio-legacy-ed69ca29.js → audio-legacy-758380f9.js} +1 -1
  80. package/dist/assets/{backup-restore-dafc7320.js → backup-restore-d8cba460.js} +1 -1
  81. package/dist/assets/{backup-restore-legacy-7076d9f6.js → 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-f2b4b335.js → flash-60a9ad3f.js} +1 -1
  87. package/dist/assets/{flash-legacy-9a66f504.js → flash-legacy-5a86259d.js} +1 -1
  88. package/dist/assets/{heic-163fd56e.js → heic-0c879dcc.js} +1 -1
  89. package/dist/assets/{heic-legacy-24569df3.js → heic-legacy-6c12a262.js} +1 -1
  90. package/dist/assets/{helper-518d42f9.js → helper-9b05f775.js} +1 -1
  91. package/dist/assets/{helper-c9e49715.js → helper-b1488c6e.js} +1 -1
  92. package/dist/assets/{helper-legacy-010acd73.js → helper-legacy-cbb3c185.js} +1 -1
  93. package/dist/assets/{helper-legacy-a4d25212.js → helper-legacy-dc4f46d9.js} +1 -1
  94. package/dist/assets/{hls-4d22ed99.js → hls-1761db5d.js} +1 -1
  95. package/dist/assets/{hls-legacy-edc88a4a.js → hls-legacy-6dd02345.js} +1 -1
  96. package/dist/assets/{html-d1689566.js → html-d66499d6.js} +1 -1
  97. package/dist/assets/{html-legacy-a7d03a31.js → html-legacy-6758c84e.js} +1 -1
  98. package/dist/assets/{icon-43443c9b.js → icon-06277de7.js} +1 -1
  99. package/dist/assets/{icon-legacy-9c4f88cb.js → icon-legacy-f52ac572.js} +1 -1
  100. package/dist/assets/{image-ac9db3b1.js → image-4f76214a.js} +1 -1
  101. package/dist/assets/{image-legacy-8614aac2.js → image-legacy-710b2215.js} +1 -1
  102. package/dist/assets/{index-5295a943.js → index-2aede34f.js} +1 -1
  103. package/dist/assets/{index-c66c01aa.js → index-3d189ca2.js} +1 -1
  104. package/dist/assets/{index-0e91056f.js → index-4c139329.js} +1 -1
  105. package/dist/assets/{index-d32f6f5f.js → index-4f08830f.js} +1 -1
  106. package/dist/assets/{index-89e25f40.js → index-502eb34e.js} +1 -1
  107. package/dist/assets/{index-17197e68.js → index-614dcd2c.js} +1 -1
  108. package/dist/assets/{index-fb908a6f.js → index-71d8d81a.js} +1 -1
  109. package/dist/assets/{index-5f8c2bf1.js → index-a4e1f528.js} +1 -1
  110. package/dist/assets/{index-d528480f.js → index-b9ebc26a.js} +1 -1
  111. package/dist/assets/{index-ab115bbe.js → index-d81bedf4.js} +2 -2
  112. package/dist/assets/{index-legacy-fb22bd14.js → index-legacy-12451e3e.js} +1 -1
  113. package/dist/assets/{index-legacy-3274dde9.js → index-legacy-16b6ae0c.js} +1 -1
  114. package/dist/assets/{index-legacy-1f04bc87.js → index-legacy-1963ced8.js} +3 -3
  115. package/dist/assets/{index-legacy-bab82b12.js → index-legacy-21a3d2f4.js} +1 -1
  116. package/dist/assets/{index-legacy-887a8a59.js → index-legacy-3ee310e1.js} +1 -1
  117. package/dist/assets/{index-legacy-c3bc6b51.js → index-legacy-419c8b8b.js} +1 -1
  118. package/dist/assets/{index-legacy-f8fed7a6.js → index-legacy-7989bcdb.js} +1 -1
  119. package/dist/assets/{index-legacy-83f6d352.js → index-legacy-b9d188fd.js} +1 -1
  120. package/dist/assets/{index-legacy-2bf9588a.js → index-legacy-c2e8af34.js} +1 -1
  121. package/dist/assets/{index-legacy-71cee8fb.js → index-legacy-e74fd7a7.js} +1 -1
  122. package/dist/assets/{indexes-0bf9104f.js → indexes-1ca95cdb.js} +1 -1
  123. package/dist/assets/{indexes-legacy-25986e6e.js → indexes-legacy-93d8a557.js} +1 -1
  124. package/dist/assets/{ipa-5bc7b651.js → ipa-4e2c6f77.js} +1 -1
  125. package/dist/assets/{ipa-legacy-fa72ffed.js → ipa-legacy-4f1f1861.js} +1 -1
  126. package/dist/assets/{markdown-b2e37b2e.js → markdown-6b01d1c3.js} +1 -1
  127. package/dist/assets/{markdown-legacy-d8ec5b7a.js → markdown-legacy-c372e9da.js} +1 -1
  128. package/dist/assets/{markdown_with_word_wrap-f2170302.js → markdown_with_word_wrap-fefa50af.js} +1 -1
  129. package/dist/assets/{markdown_with_word_wrap-legacy-3db94788.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-3225d665.js → offline_download-legacy-905502c0.js} +1 -1
  132. package/dist/assets/plist-9ce846f0.js +1 -0
  133. package/dist/assets/{plist-legacy-431b26a0.js → plist-legacy-fe870a4e.js} +1 -1
  134. package/dist/assets/polyfills-legacy-fa59231c.js +1 -0
  135. package/dist/assets/{style-5c9bb055.js → style-c3d84158.js} +1 -1
  136. package/dist/assets/{style-legacy-f3c5bf3f.js → style-legacy-fccb3672.js} +1 -1
  137. package/dist/assets/{text-editor-c9d07d36.js → text-editor-88cb5925.js} +1 -1
  138. package/dist/assets/{text-editor-legacy-8e9eb77c.js → text-editor-legacy-fd9aaf9f.js} +1 -1
  139. package/dist/assets/{url-61e15d10.js → url-326a4114.js} +1 -1
  140. package/dist/assets/{url-legacy-2ab85262.js → url-legacy-f3f234af.js} +1 -1
  141. package/dist/assets/{useTitle-7f42a4a0.js → useTitle-35e58701.js} +1 -1
  142. package/dist/assets/{useTitle-legacy-d3fd3bb2.js → useTitle-legacy-76f38f3f.js} +1 -1
  143. package/dist/assets/{video-87306fb5.js → video-0f1b30e3.js} +1 -1
  144. package/dist/assets/{video-legacy-764c3da4.js → video-legacy-4a01cbc9.js} +1 -1
  145. package/dist/assets/{video360-2344185d.js → video360-e2949a86.js} +1 -1
  146. package/dist/assets/{video360-legacy-03ec0e5f.js → video360-legacy-58a359d2.js} +1 -1
  147. package/dist/assets/{video_box-5dc05430.js → video_box-e621e4e6.js} +1 -1
  148. package/dist/assets/{video_box-legacy-530dc959.js → video_box-legacy-4cd60ac4.js} +1 -1
  149. package/dist/i18n.tar.gz +0 -0
  150. package/dist/index.html +3 -3
  151. package/dist/lite/VERSION +1 -0
  152. package/dist/lite/assets/2fa-4a465895.js +1 -0
  153. package/dist/lite/assets/2fa-legacy-e2c894a4.js +1 -0
  154. package/dist/lite/assets/About-15ed8f32.js +1 -0
  155. package/dist/lite/assets/About-legacy-dbe282e7.js +1 -0
  156. package/dist/lite/assets/AddOrEdit-05eddf37.js +1 -0
  157. package/dist/lite/assets/AddOrEdit-0a32ef2b.js +1 -0
  158. package/dist/lite/assets/AddOrEdit-a672a89e.js +1 -0
  159. package/dist/lite/assets/AddOrEdit-legacy-410a39ae.js +1 -0
  160. package/dist/lite/assets/AddOrEdit-legacy-635b291f.js +1 -0
  161. package/dist/lite/assets/AddOrEdit-legacy-c9de1dcb.js +1 -0
  162. package/dist/lite/assets/Common-d7f1cd18.js +1 -0
  163. package/dist/lite/assets/Common-legacy-02442dbd.js +1 -0
  164. package/dist/lite/assets/Copy-9d04e9c2.js +1 -0
  165. package/dist/lite/assets/Copy-legacy-f0411d3f.js +1 -0
  166. package/dist/lite/assets/Decompress-560c482c.js +1 -0
  167. package/dist/lite/assets/Decompress-legacy-41d6332f.js +1 -0
  168. package/dist/lite/assets/DeletePopover-2f2d4ac4.js +1 -0
  169. package/dist/lite/assets/DeletePopover-legacy-9608bf45.js +1 -0
  170. package/dist/lite/assets/File-67912414.js +1 -0
  171. package/dist/lite/assets/File-legacy-1c237b3a.js +1 -0
  172. package/dist/lite/assets/Folder-6651c4e8.css +1 -0
  173. package/dist/lite/assets/Folder-676d5a43.js +114 -0
  174. package/dist/lite/assets/Folder-legacy-f93e2ce1.js +49 -0
  175. package/dist/lite/assets/FolderTree-fb1c4d9d.js +1 -0
  176. package/dist/lite/assets/FolderTree-legacy-ce0bae10.js +1 -0
  177. package/dist/lite/assets/Grid-41c23624.js +1 -0
  178. package/dist/lite/assets/Grid-legacy-39784739.js +1 -0
  179. package/dist/lite/assets/GridItem-e81d1ac0.js +1 -0
  180. package/dist/lite/assets/GridItem-legacy-957fe815.js +1 -0
  181. package/dist/lite/assets/ImageWithError-ed009be3.js +1 -0
  182. package/dist/lite/assets/ImageWithError-legacy-e07fe62a.js +1 -0
  183. package/dist/lite/assets/Images-b006a129.js +1 -0
  184. package/dist/lite/assets/Images-legacy-3f8cb948.js +1 -0
  185. package/dist/lite/assets/Layout-0e6d3f27.js +5 -0
  186. package/dist/lite/assets/Layout-legacy-c0a1d22d.js +6 -0
  187. package/dist/lite/assets/List-9f4742b0.js +1 -0
  188. package/dist/lite/assets/List-legacy-13be9e59.js +1 -0
  189. package/dist/lite/assets/Messenger-f78d1d2d.js +1 -0
  190. package/dist/lite/assets/Messenger-legacy-b9210e6d.js +1 -0
  191. package/dist/lite/assets/Metas-1d100729.js +1 -0
  192. package/dist/lite/assets/Metas-legacy-7a3076ce.js +1 -0
  193. package/dist/lite/assets/Other-8bdeeb20.js +1 -0
  194. package/dist/lite/assets/Other-legacy-acf23a73.js +1 -0
  195. package/dist/lite/assets/PackageDownload-d6aa53a6.js +1 -0
  196. package/dist/lite/assets/PackageDownload-legacy-3848c46c.js +1 -0
  197. package/dist/lite/assets/Paginator-f6464798.js +1 -0
  198. package/dist/lite/assets/Paginator-legacy-275039ed.js +1 -0
  199. package/dist/lite/assets/Password-3d5ea869.js +1 -0
  200. package/dist/lite/assets/Password-legacy-0c24d858.js +1 -0
  201. package/dist/lite/assets/Profile-73999eaa.js +1 -0
  202. package/dist/lite/assets/Profile-legacy-61e003fb.js +1 -0
  203. package/dist/lite/assets/PublicKeys-2352a7bb.js +1 -0
  204. package/dist/lite/assets/PublicKeys-legacy-1b812dd5.js +1 -0
  205. package/dist/lite/assets/ResponsiveGrid-4dd21281.js +1 -0
  206. package/dist/lite/assets/ResponsiveGrid-legacy-1c08fe8e.js +1 -0
  207. package/dist/lite/assets/S3-7d0f028b.js +1 -0
  208. package/dist/lite/assets/S3-legacy-232d5988.js +1 -0
  209. package/dist/lite/assets/SettingItem-0ebae0a8.js +1 -0
  210. package/dist/lite/assets/SettingItem-legacy-42ee0812.js +1 -0
  211. package/dist/lite/assets/Storages-19fcbe71.js +1 -0
  212. package/dist/lite/assets/Storages-legacy-5ebc3d51.js +1 -0
  213. package/dist/lite/assets/Upload-7273e8c2.js +1 -0
  214. package/dist/lite/assets/Upload-bab976d1.js +5 -0
  215. package/dist/lite/assets/Upload-legacy-7ffd4a40.js +6 -0
  216. package/dist/lite/assets/Upload-legacy-ab16f638.js +1 -0
  217. package/dist/lite/assets/Users-a49cab2c.js +1 -0
  218. package/dist/lite/assets/Users-legacy-29182339.js +1 -0
  219. package/dist/lite/assets/Wether-c8cd1781.js +1 -0
  220. package/dist/lite/assets/Wether-legacy-7580e6d4.js +1 -0
  221. package/dist/lite/assets/aliyun_office-6727a571.js +1 -0
  222. package/dist/lite/assets/aliyun_office-legacy-ec27781d.js +1 -0
  223. package/dist/lite/assets/aliyun_video-0b1ad786.js +1 -0
  224. package/dist/lite/assets/aliyun_video-legacy-9f85902b.js +1 -0
  225. package/dist/lite/assets/archive-8c9d1291.js +1 -0
  226. package/dist/lite/assets/archive-legacy-69bdedf0.js +1 -0
  227. package/dist/lite/assets/asciinema-9107553b.css +1 -0
  228. package/dist/lite/assets/asciinema-a593d25d.js +1 -0
  229. package/dist/lite/assets/asciinema-legacy-b15a697e.js +1 -0
  230. package/dist/lite/assets/audio-43f4c02b.css +1 -0
  231. package/dist/lite/assets/audio-61f09d3f.js +1 -0
  232. package/dist/lite/assets/audio-legacy-b511a260.js +1 -0
  233. package/dist/lite/assets/backup-restore-1f83d822.js +1 -0
  234. package/dist/lite/assets/backup-restore-legacy-6af6248e.js +1 -0
  235. package/dist/lite/assets/entry-8bce92dd.js +1 -0
  236. package/dist/lite/assets/entry-9990379e.js +1 -0
  237. package/dist/lite/assets/entry-legacy-ef414ba2.js +1 -0
  238. package/dist/lite/assets/entry-legacy-f84cdf4a.js +1 -0
  239. package/dist/lite/assets/flash-4515c76f.js +1 -0
  240. package/dist/lite/assets/flash-legacy-337c4527.js +1 -0
  241. package/dist/lite/assets/heic-25d064c0.js +1 -0
  242. package/dist/lite/assets/heic-legacy-0759765a.js +1 -0
  243. package/dist/lite/assets/helper-1b501c84.js +1 -0
  244. package/dist/lite/assets/helper-38d5804e.js +1 -0
  245. package/dist/lite/assets/helper-legacy-67cc1ad2.js +1 -0
  246. package/dist/lite/assets/helper-legacy-a87fd1d8.js +1 -0
  247. package/dist/lite/assets/hls-e3fef076.js +6 -0
  248. package/dist/lite/assets/hls-legacy-19090a77.js +8 -0
  249. package/dist/lite/assets/html-b83dd5df.js +1 -0
  250. package/dist/lite/assets/html-legacy-71f39b76.js +1 -0
  251. package/dist/lite/assets/icon-34a64e98.js +1 -0
  252. package/dist/lite/assets/icon-legacy-bc0a1d16.js +1 -0
  253. package/dist/lite/assets/image-ad6c3478.js +1 -0
  254. package/dist/lite/assets/image-legacy-b1b12514.js +1 -0
  255. package/dist/lite/assets/index-04bae706.js +1 -0
  256. package/dist/lite/assets/index-079cd1f2.js +1 -0
  257. package/dist/lite/assets/index-15e9db8f.js +20 -0
  258. package/dist/lite/assets/index-246c0bc3.js +1 -0
  259. package/dist/lite/assets/index-356c5622.js +1 -0
  260. package/dist/lite/assets/index-8e8c9799.js +1 -0
  261. package/dist/lite/assets/index-a734ae71.js +1 -0
  262. package/dist/lite/assets/index-bc9e61a1.js +14 -0
  263. package/dist/lite/assets/index-c0564af7.css +1 -0
  264. package/dist/lite/assets/index-c9ff382d.js +1 -0
  265. package/dist/lite/assets/index-fc52fbd8.js +1 -0
  266. package/dist/lite/assets/index-legacy-26fd6706.js +1 -0
  267. package/dist/lite/assets/index-legacy-47ddae0d.js +1 -0
  268. package/dist/lite/assets/index-legacy-81513d1e.js +27 -0
  269. package/dist/lite/assets/index-legacy-a2982e85.js +1 -0
  270. package/dist/lite/assets/index-legacy-aad632b4.js +1 -0
  271. package/dist/lite/assets/index-legacy-c5ef6985.js +1 -0
  272. package/dist/lite/assets/index-legacy-c65cb5fa.js +1 -0
  273. package/dist/lite/assets/index-legacy-d6a1873d.js +18 -0
  274. package/dist/lite/assets/index-legacy-ee8d78f1.js +1 -0
  275. package/dist/lite/assets/index-legacy-eff70e35.js +1 -0
  276. package/dist/lite/assets/indexes-9f8a0da5.js +1 -0
  277. package/dist/lite/assets/indexes-legacy-b14be20a.js +1 -0
  278. package/dist/lite/assets/ipa-58520283.js +1 -0
  279. package/dist/lite/assets/ipa-legacy-54b93dc8.js +1 -0
  280. package/dist/lite/assets/item_type-32dc6fdf.js +1 -0
  281. package/dist/lite/assets/item_type-legacy-d49ae974.js +1 -0
  282. package/dist/lite/assets/lg-22b72ba5.ttf +0 -0
  283. package/dist/lite/assets/lg-f2fe1c00.svg +54 -0
  284. package/dist/lite/assets/lg-fefc5c0d.woff +0 -0
  285. package/dist/lite/assets/loading-298ad3ff.gif +0 -0
  286. package/dist/lite/assets/markdown-2474d31f.js +1 -0
  287. package/dist/lite/assets/markdown-legacy-d6aa61d6.js +1 -0
  288. package/dist/lite/assets/markdown_with_word_wrap-7d6648bc.js +1 -0
  289. package/dist/lite/assets/markdown_with_word_wrap-legacy-c1248f0d.js +1 -0
  290. package/dist/lite/assets/offline_download-26cf1159.js +1 -0
  291. package/dist/lite/assets/offline_download-legacy-c3c505b2.js +1 -0
  292. package/dist/lite/assets/plist-5b15735d.js +1 -0
  293. package/dist/lite/assets/plist-legacy-74505ae8.js +1 -0
  294. package/dist/lite/assets/style-9cf67432.js +1 -0
  295. package/dist/lite/assets/style-a6d16836.css +1 -0
  296. package/dist/lite/assets/style-legacy-6d756fee.js +1 -0
  297. package/dist/lite/assets/subtitles-octopus-worker-62892886.wasm +0 -0
  298. package/dist/lite/assets/subtitles-octopus-worker-f95f2186.js +1 -0
  299. package/dist/lite/assets/text-editor-7e706d71.js +1 -0
  300. package/dist/lite/assets/text-editor-legacy-3874bbc7.js +1 -0
  301. package/dist/lite/assets/url-6f48922c.js +1 -0
  302. package/dist/lite/assets/url-legacy-11b12bb3.js +1 -0
  303. package/dist/lite/assets/useTitle-47d2061a.js +1 -0
  304. package/dist/lite/assets/useTitle-legacy-29ec3cc1.js +1 -0
  305. package/dist/lite/assets/video-67ac47cd.js +7 -0
  306. package/dist/lite/assets/video-legacy-d8a5c028.js +9 -0
  307. package/dist/lite/assets/video360-0e243801.js +14 -0
  308. package/dist/lite/assets/video360-f0192288.css +1 -0
  309. package/dist/lite/assets/video360-legacy-0fdffd53.js +16 -0
  310. package/dist/lite/assets/video_box-21c6a895.js +6 -0
  311. package/dist/lite/assets/video_box-legacy-b13adc7a.js +8 -0
  312. package/dist/lite/assets/webauthn-json.browser-ponyfill-29d8152c.js +1 -0
  313. package/dist/lite/assets/webauthn-json.browser-ponyfill-legacy-456cc8e1.js +1 -0
  314. package/dist/lite/i18n.tar.gz +0 -0
  315. package/dist/lite/images/figplayer.webp +0 -0
  316. package/dist/lite/images/fileball.webp +0 -0
  317. package/dist/lite/images/iPlay.webp +0 -0
  318. package/dist/lite/images/iina.webp +0 -0
  319. package/dist/lite/images/infuse.webp +0 -0
  320. package/dist/lite/images/mpv.webp +0 -0
  321. package/dist/lite/images/mxplayer-pro.webp +0 -0
  322. package/dist/lite/images/mxplayer.webp +0 -0
  323. package/dist/lite/images/nplayer.webp +0 -0
  324. package/dist/lite/images/omniplayer.webp +0 -0
  325. package/dist/lite/images/potplayer.webp +0 -0
  326. package/dist/lite/images/vlc.webp +0 -0
  327. package/dist/lite/index.html +81 -0
  328. package/dist/lite/static/epub.js/viewer.html +467 -0
  329. package/dist/lite/static/libheif/libheif.js +5962 -0
  330. package/dist/lite/static/libheif/libheif.wasm +0 -0
  331. package/dist/lite/static/manifest.json +13 -0
  332. package/dist/lite/streamer/mitm.html +186 -0
  333. package/dist/lite/streamer/sw.js +141 -0
  334. package/package.json +1 -1
  335. package/dist/assets/Decompress-6e76a195.js +0 -1
  336. package/dist/assets/Grid-e6b7b2a7.js +0 -1
  337. package/dist/assets/Upload-085f8347.js +0 -1
  338. package/dist/assets/entry-06c35cbb.js +0 -1
  339. package/dist/assets/entry-5fd69c51.js +0 -1
  340. package/dist/assets/entry-legacy-7d1c456d.js +0 -1
  341. package/dist/assets/entry-legacy-83684d8a.js +0 -1
  342. package/dist/assets/offline_download-b9febd2a.js +0 -1
  343. package/dist/assets/plist-dfabacec.js +0 -1
  344. /package/dist/{assets → lite/assets}/polyfills-legacy-84c7163c.js +0 -0
@@ -1 +1 @@
1
- import{aM as c}from"./index-ab115bbe.js";function z(s){return c({a:{viewBox:"0 0 24 24"},c:'<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>'},s)}function a(s){return c({a:{viewBox:"0 0 24 24"},c:'<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>'},s)}export{a as S,z as a};
1
+ import{aM as c}from"./index-d81bedf4.js";function z(s){return c({a:{viewBox:"0 0 24 24"},c:'<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>'},s)}function a(s){return c({a:{viewBox:"0 0 24 24"},c:'<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>'},s)}export{a as S,z as a};
@@ -1 +1 @@
1
- import{f as d,m as g,t as q,s as D,p as v}from"./index-ab115bbe.js";const P={tokenize:b,concrete:!0},C={tokenize:I,partial:!0};function b(t,u,l){const i=this,n=i.events[i.events.length-1],m=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0;let o=0;return c;function c(e){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),r(e)}function r(e){return e===36?(t.consume(e),o++,r):o<2?l(e):(t.exit("mathFlowFenceSequence"),d(t,h,"whitespace")(e))}function h(e){return e===null||g(e)?F(e):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),s(e))}function s(e){return e===null||g(e)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),F(e)):e===36?l(e):(t.consume(e),s)}function F(e){return t.exit("mathFlowFence"),i.interrupt?u(e):t.attempt(C,p,M)(e)}function p(e){return t.attempt({tokenize:z,partial:!0},M,x)(e)}function x(e){return(m?d(t,w,"linePrefix",m+1):w)(e)}function w(e){return e===null?M(e):g(e)?t.attempt(C,p,M)(e):(t.enter("mathFlowValue"),a(e))}function a(e){return e===null||g(e)?(t.exit("mathFlowValue"),w(e)):(t.consume(e),a)}function M(e){return t.exit("mathFlow"),u(e)}function z(e,S,y){let T=0;return d(e,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function $(f){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),k(f)}function k(f){return f===36?(T++,e.consume(f),k):T<o?y(f):(e.exit("mathFlowFenceSequence"),d(e,E,"whitespace")(f))}function E(f){return f===null||g(f)?(e.exit("mathFlowFence"),S(f)):y(f)}}}function I(t,u,l){const i=this;return n;function n(o){return o===null?u(o):(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),m)}function m(o){return i.parser.lazy[i.now().line]?l(o):u(o)}}function N(t){let l=(t||{}).singleDollarTextMath;return l==null&&(l=!0),{tokenize:i,resolve:O,previous:L};function i(n,m,o){let c=0,r,h;return s;function s(a){return n.enter("mathText"),n.enter("mathTextSequence"),F(a)}function F(a){return a===36?(n.consume(a),c++,F):c<2&&!l?o(a):(n.exit("mathTextSequence"),p(a))}function p(a){return a===null?o(a):a===36?(h=n.enter("mathTextSequence"),r=0,w(a)):a===32?(n.enter("space"),n.consume(a),n.exit("space"),p):g(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),p):(n.enter("mathTextData"),x(a))}function x(a){return a===null||a===32||a===36||g(a)?(n.exit("mathTextData"),p(a)):(n.consume(a),x)}function w(a){return a===36?(n.consume(a),r++,w):r===c?(n.exit("mathTextSequence"),n.exit("mathText"),m(a)):(h.type="mathTextData",x(a))}}}function O(t){let u=t.length-4,l=3,i,n;if((t[l][1].type==="lineEnding"||t[l][1].type==="space")&&(t[u][1].type==="lineEnding"||t[u][1].type==="space")){for(i=l;++i<u;)if(t[i][1].type==="mathTextData"){t[u][1].type="mathTextPadding",t[l][1].type="mathTextPadding",l+=2,u-=2;break}}for(i=l-1,u++;++i<=u;)n===void 0?i!==u&&t[i][1].type!=="lineEnding"&&(n=i):(i===u||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),u-=i-n-2,i=n+2),n=void 0);return t}function L(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function _(t){return{flow:{36:P},text:{36:N(t)}}}function A(t,u){const l=String(t);let i=l.indexOf(u),n=i,m=0,o=0;if(typeof u!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++m>o&&(o=m):m=1,n=i+u.length,i=l.indexOf(u,n);return o}function B(){return{enter:{mathFlow:t,mathFlowFenceMeta:u,mathText:m},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:l,mathFlowValue:c,mathText:o,mathTextData:c}};function t(r){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},r)}function u(){this.buffer()}function l(){const r=this.resume(),h=this.stack[this.stack.length-1];h.meta=r}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function n(r){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h,this.setData("mathFlowInside")}function m(r){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},r),this.buffer()}function o(r){const h=this.resume(),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h}function c(r){this.config.enter.data.call(this,r),this.config.exit.data.call(this,r)}}function V(t){let u=(t||{}).singleDollarTextMath;return u==null&&(u=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:u?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:l,inlineMath:i}};function l(m,o,c,r){const h=m.value||"",s=q(r),F="$".repeat(Math.max(A(h,"$")+1,2)),p=c.enter("mathFlow");let x=s.move(F);if(m.meta){const w=c.enter("mathFlowMeta");x+=s.move(D(c,m.meta,{before:x,after:"\n",encode:["$"],...s.current()})),w()}return x+=s.move("\n"),h&&(x+=s.move(h+"\n")),x+=s.move(F),p(),x}function i(m,o,c){let r=m.value||"",h=1;for(u||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(r);)h++;const s="$".repeat(h);/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^\$|\$$/.test(r))&&(r=" "+r+" ");let F=-1;for(;++F<c.unsafe.length;){const p=c.unsafe[F],x=v(p);let w;if(p.atBreak)for(;w=x.exec(r);){let a=w.index;r.codePointAt(a)===10&&r.codePointAt(a-1)===13&&a--,r=r.slice(0,a)+" "+r.slice(w.index+1)}}return s+r+s}function n(){return"$"}}function j(t={}){const u=this.data();l("micromarkExtensions",_(t)),l("fromMarkdownExtensions",B()),l("toMarkdownExtensions",V(t));function l(i,n){(u[i]?u[i]:u[i]=[]).push(n)}}export{j as default};
1
+ import{f as d,m as g,t as q,s as D,p as v}from"./index-d81bedf4.js";const P={tokenize:b,concrete:!0},C={tokenize:I,partial:!0};function b(t,u,l){const i=this,n=i.events[i.events.length-1],m=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0;let o=0;return c;function c(e){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),r(e)}function r(e){return e===36?(t.consume(e),o++,r):o<2?l(e):(t.exit("mathFlowFenceSequence"),d(t,h,"whitespace")(e))}function h(e){return e===null||g(e)?F(e):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),s(e))}function s(e){return e===null||g(e)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),F(e)):e===36?l(e):(t.consume(e),s)}function F(e){return t.exit("mathFlowFence"),i.interrupt?u(e):t.attempt(C,p,M)(e)}function p(e){return t.attempt({tokenize:z,partial:!0},M,x)(e)}function x(e){return(m?d(t,w,"linePrefix",m+1):w)(e)}function w(e){return e===null?M(e):g(e)?t.attempt(C,p,M)(e):(t.enter("mathFlowValue"),a(e))}function a(e){return e===null||g(e)?(t.exit("mathFlowValue"),w(e)):(t.consume(e),a)}function M(e){return t.exit("mathFlow"),u(e)}function z(e,S,y){let T=0;return d(e,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function $(f){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),k(f)}function k(f){return f===36?(T++,e.consume(f),k):T<o?y(f):(e.exit("mathFlowFenceSequence"),d(e,E,"whitespace")(f))}function E(f){return f===null||g(f)?(e.exit("mathFlowFence"),S(f)):y(f)}}}function I(t,u,l){const i=this;return n;function n(o){return o===null?u(o):(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),m)}function m(o){return i.parser.lazy[i.now().line]?l(o):u(o)}}function N(t){let l=(t||{}).singleDollarTextMath;return l==null&&(l=!0),{tokenize:i,resolve:O,previous:L};function i(n,m,o){let c=0,r,h;return s;function s(a){return n.enter("mathText"),n.enter("mathTextSequence"),F(a)}function F(a){return a===36?(n.consume(a),c++,F):c<2&&!l?o(a):(n.exit("mathTextSequence"),p(a))}function p(a){return a===null?o(a):a===36?(h=n.enter("mathTextSequence"),r=0,w(a)):a===32?(n.enter("space"),n.consume(a),n.exit("space"),p):g(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),p):(n.enter("mathTextData"),x(a))}function x(a){return a===null||a===32||a===36||g(a)?(n.exit("mathTextData"),p(a)):(n.consume(a),x)}function w(a){return a===36?(n.consume(a),r++,w):r===c?(n.exit("mathTextSequence"),n.exit("mathText"),m(a)):(h.type="mathTextData",x(a))}}}function O(t){let u=t.length-4,l=3,i,n;if((t[l][1].type==="lineEnding"||t[l][1].type==="space")&&(t[u][1].type==="lineEnding"||t[u][1].type==="space")){for(i=l;++i<u;)if(t[i][1].type==="mathTextData"){t[u][1].type="mathTextPadding",t[l][1].type="mathTextPadding",l+=2,u-=2;break}}for(i=l-1,u++;++i<=u;)n===void 0?i!==u&&t[i][1].type!=="lineEnding"&&(n=i):(i===u||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),u-=i-n-2,i=n+2),n=void 0);return t}function L(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function _(t){return{flow:{36:P},text:{36:N(t)}}}function A(t,u){const l=String(t);let i=l.indexOf(u),n=i,m=0,o=0;if(typeof u!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++m>o&&(o=m):m=1,n=i+u.length,i=l.indexOf(u,n);return o}function B(){return{enter:{mathFlow:t,mathFlowFenceMeta:u,mathText:m},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:l,mathFlowValue:c,mathText:o,mathTextData:c}};function t(r){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},r)}function u(){this.buffer()}function l(){const r=this.resume(),h=this.stack[this.stack.length-1];h.meta=r}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function n(r){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h,this.setData("mathFlowInside")}function m(r){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},r),this.buffer()}function o(r){const h=this.resume(),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h}function c(r){this.config.enter.data.call(this,r),this.config.exit.data.call(this,r)}}function V(t){let u=(t||{}).singleDollarTextMath;return u==null&&(u=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:u?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:l,inlineMath:i}};function l(m,o,c,r){const h=m.value||"",s=q(r),F="$".repeat(Math.max(A(h,"$")+1,2)),p=c.enter("mathFlow");let x=s.move(F);if(m.meta){const w=c.enter("mathFlowMeta");x+=s.move(D(c,m.meta,{before:x,after:"\n",encode:["$"],...s.current()})),w()}return x+=s.move("\n"),h&&(x+=s.move(h+"\n")),x+=s.move(F),p(),x}function i(m,o,c){let r=m.value||"",h=1;for(u||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(r);)h++;const s="$".repeat(h);/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^\$|\$$/.test(r))&&(r=" "+r+" ");let F=-1;for(;++F<c.unsafe.length;){const p=c.unsafe[F],x=v(p);let w;if(p.atBreak)for(;w=x.exec(r);){let a=w.index;r.codePointAt(a)===10&&r.codePointAt(a-1)===13&&a--,r=r.slice(0,a)+" "+r.slice(w.index+1)}}return s+r+s}function n(){return"$"}}function j(t={}){const u=this.data();l("micromarkExtensions",_(t)),l("fromMarkdownExtensions",B()),l("toMarkdownExtensions",V(t));function l(i,n){(u[i]?u[i]:u[i]=[]).push(n)}}export{j as default};
@@ -1,4 +1,4 @@
1
- import{dt as Br,cA as W,cB as ur}from"./index-ab115bbe.js";var jx={exports:{}};function dr(R){throw new Error('Could not dynamically require "'+R+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var F0={exports:{}};const hr={},Cr=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),lr=Br(Cr);var hx;function I(){return hx||(hx=1,function(R,T){(function(C,n){R.exports=n()})(W,function(){var C=C||function(n,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof W<"u"&&W.crypto&&(D=W.crypto),!D&&typeof dr=="function")try{D=lr}catch(t){}var w=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch(t){}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=B(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=p?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A<l;A++){var _=i[A>>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S<l;S+=4)a[E+S>>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i<t;i+=4)a.push(w());return new u.init(a,t)}}),r=d.enc={},s=r.Hex={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E+=2)i[E>>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new u.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E++)i[E>>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new u.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(a){throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var y=0;y<v;y+=A)this._doProcessBlock(E,y);a=E.splice(0,v),i.sigBytes-=F}return new u.init(a,F)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});x.Hasher=f.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var a=this._doFinalize();return a},blockSize:16,_createHelper:function(t){return function(a,i){return new t.init(i).finalize(a)}},_createHmacHelper:function(t){return function(a,i){return new h.HMAC.init(t,i).finalize(a)}}});var h=d.algo={};return d}(Math);return C})}(F0)),F0.exports}var D0={exports:{}},Cx;function l0(){return Cx||(Cx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.Base,B=D.WordArray,d=p.x64={};d.Word=w.extend({init:function(x,e){this.high=x,this.low=e}}),d.WordArray=w.extend({init:function(x,e){x=this.words=x||[],e!=n?this.sigBytes=e:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,e=x.length,u=[],r=0;r<e;r++){var s=x[r];u.push(s.high),u.push(s.low)}return B.create(u,this.sigBytes)},clone:function(){for(var x=w.clone.call(this),e=x.words=this.words.slice(0),u=e.length,r=0;r<u;r++)e[r]=e[r].clone();return x}})}(),C})}(D0)),D0.exports}var p0={exports:{}},lx;function Er(){return lx||(lx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){if(typeof ArrayBuffer=="function"){var n=C,p=n.lib,D=p.WordArray,w=D.init,B=D.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var x=d.byteLength,e=[],u=0;u<x;u++)e[u>>>2]|=d[u]<<24-u%4*8;w.call(this,e,x)}else w.apply(this,arguments)};B.prototype=D}}(),C.lib.WordArray})}(p0)),p0.exports}var _0={exports:{}},Ex;function Ar(){return Ex||(Ex=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Utf16=w.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=x[r>>>2]>>>16-r%4*8&65535;u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=d.charCodeAt(u)<<16-u%2*16;return D.create(e,x*2)}},w.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=B(x[r>>>2]>>>16-r%4*8&65535);u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=B(d.charCodeAt(u)<<16-u%2*16);return D.create(e,x*2)}};function B(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(_0)),_0.exports}var b0={exports:{}},Ax;function e0(){return Ax||(Ax=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,u=this._map;d.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=x[s>>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75<e;t++)r.push(u.charAt(h>>>6*(3-t)&63));var a=u.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var r=0;r<e.length;r++)u[e.charCodeAt(r)]=r}var s=e.charAt(64);if(s){var o=d.indexOf(s);o!==-1&&(x=o)}return B(d,x,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64})}(b0)),b0.exports}var y0={exports:{}},Fx;function Fr(){return Fx||(Fx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,u=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o<u;o+=3)for(var c=e[o>>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75<u;a++)s.push(r.charAt(t>>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,u=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<u.length;s++)r[u.charCodeAt(s)]=s}var o=u.charAt(64);if(o){var c=d.indexOf(o);c!==-1&&(e=c)}return B(d,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64url})}(y0)),y0.exports}var g0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=B.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],U=c[f+12],N=c[f+13],O=c[f+14],X=c[f+15],b=i[0],H=i[1],m=i[2],k=i[3];b=u(b,H,m,k,E,7,x[0]),k=u(k,b,H,m,l,12,x[1]),m=u(m,k,b,H,A,17,x[2]),H=u(H,m,k,b,_,22,x[3]),b=u(b,H,m,k,S,7,x[4]),k=u(k,b,H,m,v,12,x[5]),m=u(m,k,b,H,F,17,x[6]),H=u(H,m,k,b,y,22,x[7]),b=u(b,H,m,k,g,7,x[8]),k=u(k,b,H,m,z,12,x[9]),m=u(m,k,b,H,q,17,x[10]),H=u(H,m,k,b,P,22,x[11]),b=u(b,H,m,k,U,7,x[12]),k=u(k,b,H,m,N,12,x[13]),m=u(m,k,b,H,O,17,x[14]),H=u(H,m,k,b,X,22,x[15]),b=r(b,H,m,k,l,5,x[16]),k=r(k,b,H,m,F,9,x[17]),m=r(m,k,b,H,P,14,x[18]),H=r(H,m,k,b,E,20,x[19]),b=r(b,H,m,k,v,5,x[20]),k=r(k,b,H,m,q,9,x[21]),m=r(m,k,b,H,X,14,x[22]),H=r(H,m,k,b,S,20,x[23]),b=r(b,H,m,k,z,5,x[24]),k=r(k,b,H,m,O,9,x[25]),m=r(m,k,b,H,_,14,x[26]),H=r(H,m,k,b,g,20,x[27]),b=r(b,H,m,k,N,5,x[28]),k=r(k,b,H,m,A,9,x[29]),m=r(m,k,b,H,y,14,x[30]),H=r(H,m,k,b,U,20,x[31]),b=s(b,H,m,k,v,4,x[32]),k=s(k,b,H,m,g,11,x[33]),m=s(m,k,b,H,P,16,x[34]),H=s(H,m,k,b,O,23,x[35]),b=s(b,H,m,k,l,4,x[36]),k=s(k,b,H,m,S,11,x[37]),m=s(m,k,b,H,y,16,x[38]),H=s(H,m,k,b,q,23,x[39]),b=s(b,H,m,k,N,4,x[40]),k=s(k,b,H,m,E,11,x[41]),m=s(m,k,b,H,_,16,x[42]),H=s(H,m,k,b,F,23,x[43]),b=s(b,H,m,k,z,4,x[44]),k=s(k,b,H,m,U,11,x[45]),m=s(m,k,b,H,X,16,x[46]),H=s(H,m,k,b,A,23,x[47]),b=o(b,H,m,k,E,6,x[48]),k=o(k,b,H,m,y,10,x[49]),m=o(m,k,b,H,O,15,x[50]),H=o(H,m,k,b,v,21,x[51]),b=o(b,H,m,k,U,6,x[52]),k=o(k,b,H,m,_,10,x[53]),m=o(m,k,b,H,q,15,x[54]),H=o(H,m,k,b,l,21,x[55]),b=o(b,H,m,k,g,6,x[56]),k=o(k,b,H,m,X,10,x[57]),m=o(m,k,b,H,F,15,x[58]),H=o(H,m,k,b,N,21,x[59]),b=o(b,H,m,k,S,6,x[60]),k=o(k,b,H,m,P,10,x[61]),m=o(m,k,b,H,A,15,x[62]),H=o(H,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+H|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function u(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<<i|l>>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<<i|l>>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<<i|l>>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<<i|l>>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),C.MD5})}(g0)),g0.exports}var k0={exports:{}},px;function Mx(){return px||(px=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=p.Hasher,B=n.algo,d=[],x=B.SHA1=w.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,u){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[u+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,u=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return u[s>>>5]|=128<<24-s%32,u[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),u[(s+64>>>9<<4)+15]=r,e.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var e=w.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=w._createHelper(x),n.HmacSHA1=w._createHmacHelper(x)}(),C.SHA1})}(k0)),k0.exports}var w0={exports:{}},_x;function rx(){return _x||(_x=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var u=[],r=d.SHA256=B.extend({_doReset:function(){this._hash=new w.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)u[_]=s[o+_]|0;else{var S=u[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=u[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;u[_]=v+u[_-7]+y+u[_-16]}var g=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),U=A+P+g+e[_]+u[_],N=q+z;A=l,l=E,E=i,i=a+U|0,a=t,t=h,h=f,f=U+N|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),C.SHA256})}(w0)),w0.exports}var H0={exports:{}},bx;function Dr(){return bx||(bx=1,function(R,T){(function(C,n,p){R.exports=n(I(),rx())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.algo,B=w.SHA256,d=w.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=B._createHelper(d),n.HmacSHA224=B._createHmacHelper(d)}(),C.SHA224})}(H0)),H0.exports}var m0={exports:{}},yx;function Vx(){return yx||(yx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(){var n=C,p=n.lib,D=p.Hasher,w=n.x64,B=w.Word,d=w.WordArray,x=n.algo;function e(){return B.create.apply(B,arguments)}var u=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new d.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,y=t.low,g=a.high,z=a.low,q=i.high,P=i.low,U=E.high,N=E.low,O=l.high,X=l.low,b=A.high,H=A.low,m=_.high,k=_.low,G=S,K=v,$=F,L=y,i0=g,a0=z,E0=q,f0=P,M=U,Q=N,d0=O,s0=X,h0=b,c0=H,A0=m,v0=k,V=0;V<80;V++){var j,J,C0=r[V];if(V<16)J=C0.high=o[c+V*2]|0,j=C0.low=o[c+V*2+1]|0;else{var tx=r[V-15],n0=tx.high,B0=tx.low,Jx=(n0>>>1|B0<<31)^(n0>>>8|B0<<24)^n0>>>7,ax=(B0>>>1|n0<<31)^(B0>>>8|n0<<24)^(B0>>>7|n0<<25),nx=r[V-2],o0=nx.high,u0=nx.low,xr=(o0>>>19|u0<<13)^(o0<<3|u0>>>29)^o0>>>6,ox=(u0>>>19|o0<<13)^(u0<<3|o0>>>29)^(u0>>>6|o0<<26),ix=r[V-7],rr=ix.high,er=ix.low,fx=r[V-16],tr=fx.high,sx=fx.low;j=ax+er,J=Jx+rr+(j>>>0<ax>>>0?1:0),j=j+ox,J=J+xr+(j>>>0<ox>>>0?1:0),j=j+sx,J=J+tr+(j>>>0<sx>>>0?1:0),C0.high=J,C0.low=j}var ar=M&d0^~M&h0,cx=Q&s0^~Q&c0,nr=G&$^G&i0^$&i0,or=K&L^K&a0^L&a0,ir=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),vx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),fr=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),sr=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),Bx=u[V],cr=Bx.high,ux=Bx.low,Y=v0+sr,x0=A0+fr+(Y>>>0<v0>>>0?1:0),Y=Y+cx,x0=x0+ar+(Y>>>0<cx>>>0?1:0),Y=Y+ux,x0=x0+cr+(Y>>>0<ux>>>0?1:0),Y=Y+j,x0=x0+J+(Y>>>0<j>>>0?1:0),dx=vx+or,vr=ir+nr+(dx>>>0<vx>>>0?1:0);A0=h0,v0=c0,h0=d0,c0=s0,d0=M,s0=Q,Q=f0+Y|0,M=E0+x0+(Q>>>0<f0>>>0?1:0)|0,E0=i0,f0=a0,i0=$,a0=L,$=G,L=K,K=Y+dx|0,G=x0+vr+(K>>>0<Y>>>0?1:0)|0}v=h.low=v+K,h.high=S+G+(v>>>0<K>>>0?1:0),y=t.low=y+L,t.high=F+$+(y>>>0<L>>>0?1:0),z=a.low=z+a0,a.high=g+i0+(z>>>0<a0>>>0?1:0),P=i.low=P+f0,i.high=q+E0+(P>>>0<f0>>>0?1:0),N=E.low=N+Q,E.high=U+M+(N>>>0<Q>>>0?1:0),X=l.low=X+s0,l.high=O+d0+(X>>>0<s0>>>0?1:0),H=A.low=H+c0,A.high=b+h0+(H>>>0<c0>>>0?1:0),k=_.low=k+v0,_.high=m+A0+(k>>>0<v0>>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=D._createHelper(s),n.HmacSHA512=D._createHmacHelper(s)}(),C.SHA512})}(m0)),m0.exports}var S0={exports:{}},gx;function pr(){return gx||(gx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0(),Vx())})(W,function(C){return function(){var n=C,p=n.x64,D=p.Word,w=p.WordArray,B=n.algo,d=B.SHA512,x=B.SHA384=d.extend({_doReset:function(){this._hash=new w.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(S0)),S0.exports}var R0={exports:{}},kx;function _r(){return kx||(kx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.x64,x=d.Word,e=p.algo,u=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){u[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<<S)-1;v<32?_^=1<<v:A^=1<<v-32}E&128?E=E<<1^113:E<<=1}s[l]=x.create(A,_)}})();var o=[];(function(){for(var f=0;f<25;f++)o[f]=x.create()})();var c=e.SHA3=B.extend({cfg:B.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],h=0;h<25;h++)f[h]=new x.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,h){for(var t=this._state,a=this.blockSize/2,i=0;i<a;i++){var E=f[h+2*i],l=f[h+2*i+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,y=0;y<5;y++){var A=t[S+5*y];v^=A.high,F^=A.low}var g=o[S];g.high=v,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,U=q.low,v=z.high^(P<<1|U>>>31),F=z.low^(U<<1|P>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=v,A.low^=F}for(var N=1;N<25;N++){var v,F,A=t[N],O=A.high,X=A.low,b=u[N];b<32?(v=O<<b|X>>>32-b,F=X<<b|O>>>32-b):(v=X<<b-32|O>>>64-b,F=O<<b-32|X>>>64-b);var H=o[r[N]];H.high=v,H.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var N=S+5*y,A=t[N],G=o[N],K=o[(S+1)%5+5*y],$=o[(S+2)%5+5*y];A.high=G.high^~K.high&$.high,A.low=G.low^~K.low&$.low}var A=t[0],L=s[_];A.high^=L.high,A.low^=L.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_<l;_++){var S=i[_],v=S.high,F=S.low;v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new w.init(A,E)},clone:function(){for(var f=B.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),C.SHA3})}(R0)),R0.exports}var z0={exports:{}},wx;function br(){return wx||(wx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){/** @preserve
1
+ import{dt as Br,cA as W,cB as ur}from"./index-d81bedf4.js";var jx={exports:{}};function dr(R){throw new Error('Could not dynamically require "'+R+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var F0={exports:{}};const hr={},Cr=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),lr=Br(Cr);var hx;function I(){return hx||(hx=1,function(R,T){(function(C,n){R.exports=n()})(W,function(){var C=C||function(n,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof W<"u"&&W.crypto&&(D=W.crypto),!D&&typeof dr=="function")try{D=lr}catch(t){}var w=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch(t){}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=B(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=p?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A<l;A++){var _=i[A>>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S<l;S+=4)a[E+S>>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i<t;i+=4)a.push(w());return new u.init(a,t)}}),r=d.enc={},s=r.Hex={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E+=2)i[E>>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new u.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E++)i[E>>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new u.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(a){throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var y=0;y<v;y+=A)this._doProcessBlock(E,y);a=E.splice(0,v),i.sigBytes-=F}return new u.init(a,F)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});x.Hasher=f.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var a=this._doFinalize();return a},blockSize:16,_createHelper:function(t){return function(a,i){return new t.init(i).finalize(a)}},_createHmacHelper:function(t){return function(a,i){return new h.HMAC.init(t,i).finalize(a)}}});var h=d.algo={};return d}(Math);return C})}(F0)),F0.exports}var D0={exports:{}},Cx;function l0(){return Cx||(Cx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.Base,B=D.WordArray,d=p.x64={};d.Word=w.extend({init:function(x,e){this.high=x,this.low=e}}),d.WordArray=w.extend({init:function(x,e){x=this.words=x||[],e!=n?this.sigBytes=e:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,e=x.length,u=[],r=0;r<e;r++){var s=x[r];u.push(s.high),u.push(s.low)}return B.create(u,this.sigBytes)},clone:function(){for(var x=w.clone.call(this),e=x.words=this.words.slice(0),u=e.length,r=0;r<u;r++)e[r]=e[r].clone();return x}})}(),C})}(D0)),D0.exports}var p0={exports:{}},lx;function Er(){return lx||(lx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){if(typeof ArrayBuffer=="function"){var n=C,p=n.lib,D=p.WordArray,w=D.init,B=D.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var x=d.byteLength,e=[],u=0;u<x;u++)e[u>>>2]|=d[u]<<24-u%4*8;w.call(this,e,x)}else w.apply(this,arguments)};B.prototype=D}}(),C.lib.WordArray})}(p0)),p0.exports}var _0={exports:{}},Ex;function Ar(){return Ex||(Ex=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Utf16=w.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=x[r>>>2]>>>16-r%4*8&65535;u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=d.charCodeAt(u)<<16-u%2*16;return D.create(e,x*2)}},w.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=B(x[r>>>2]>>>16-r%4*8&65535);u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=B(d.charCodeAt(u)<<16-u%2*16);return D.create(e,x*2)}};function B(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(_0)),_0.exports}var b0={exports:{}},Ax;function e0(){return Ax||(Ax=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,u=this._map;d.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=x[s>>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75<e;t++)r.push(u.charAt(h>>>6*(3-t)&63));var a=u.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var r=0;r<e.length;r++)u[e.charCodeAt(r)]=r}var s=e.charAt(64);if(s){var o=d.indexOf(s);o!==-1&&(x=o)}return B(d,x,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64})}(b0)),b0.exports}var y0={exports:{}},Fx;function Fr(){return Fx||(Fx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,u=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o<u;o+=3)for(var c=e[o>>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75<u;a++)s.push(r.charAt(t>>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,u=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<u.length;s++)r[u.charCodeAt(s)]=s}var o=u.charAt(64);if(o){var c=d.indexOf(o);c!==-1&&(e=c)}return B(d,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64url})}(y0)),y0.exports}var g0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=B.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],U=c[f+12],N=c[f+13],O=c[f+14],X=c[f+15],b=i[0],H=i[1],m=i[2],k=i[3];b=u(b,H,m,k,E,7,x[0]),k=u(k,b,H,m,l,12,x[1]),m=u(m,k,b,H,A,17,x[2]),H=u(H,m,k,b,_,22,x[3]),b=u(b,H,m,k,S,7,x[4]),k=u(k,b,H,m,v,12,x[5]),m=u(m,k,b,H,F,17,x[6]),H=u(H,m,k,b,y,22,x[7]),b=u(b,H,m,k,g,7,x[8]),k=u(k,b,H,m,z,12,x[9]),m=u(m,k,b,H,q,17,x[10]),H=u(H,m,k,b,P,22,x[11]),b=u(b,H,m,k,U,7,x[12]),k=u(k,b,H,m,N,12,x[13]),m=u(m,k,b,H,O,17,x[14]),H=u(H,m,k,b,X,22,x[15]),b=r(b,H,m,k,l,5,x[16]),k=r(k,b,H,m,F,9,x[17]),m=r(m,k,b,H,P,14,x[18]),H=r(H,m,k,b,E,20,x[19]),b=r(b,H,m,k,v,5,x[20]),k=r(k,b,H,m,q,9,x[21]),m=r(m,k,b,H,X,14,x[22]),H=r(H,m,k,b,S,20,x[23]),b=r(b,H,m,k,z,5,x[24]),k=r(k,b,H,m,O,9,x[25]),m=r(m,k,b,H,_,14,x[26]),H=r(H,m,k,b,g,20,x[27]),b=r(b,H,m,k,N,5,x[28]),k=r(k,b,H,m,A,9,x[29]),m=r(m,k,b,H,y,14,x[30]),H=r(H,m,k,b,U,20,x[31]),b=s(b,H,m,k,v,4,x[32]),k=s(k,b,H,m,g,11,x[33]),m=s(m,k,b,H,P,16,x[34]),H=s(H,m,k,b,O,23,x[35]),b=s(b,H,m,k,l,4,x[36]),k=s(k,b,H,m,S,11,x[37]),m=s(m,k,b,H,y,16,x[38]),H=s(H,m,k,b,q,23,x[39]),b=s(b,H,m,k,N,4,x[40]),k=s(k,b,H,m,E,11,x[41]),m=s(m,k,b,H,_,16,x[42]),H=s(H,m,k,b,F,23,x[43]),b=s(b,H,m,k,z,4,x[44]),k=s(k,b,H,m,U,11,x[45]),m=s(m,k,b,H,X,16,x[46]),H=s(H,m,k,b,A,23,x[47]),b=o(b,H,m,k,E,6,x[48]),k=o(k,b,H,m,y,10,x[49]),m=o(m,k,b,H,O,15,x[50]),H=o(H,m,k,b,v,21,x[51]),b=o(b,H,m,k,U,6,x[52]),k=o(k,b,H,m,_,10,x[53]),m=o(m,k,b,H,q,15,x[54]),H=o(H,m,k,b,l,21,x[55]),b=o(b,H,m,k,g,6,x[56]),k=o(k,b,H,m,X,10,x[57]),m=o(m,k,b,H,F,15,x[58]),H=o(H,m,k,b,N,21,x[59]),b=o(b,H,m,k,S,6,x[60]),k=o(k,b,H,m,P,10,x[61]),m=o(m,k,b,H,A,15,x[62]),H=o(H,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+H|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function u(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<<i|l>>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<<i|l>>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<<i|l>>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<<i|l>>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),C.MD5})}(g0)),g0.exports}var k0={exports:{}},px;function Mx(){return px||(px=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=p.Hasher,B=n.algo,d=[],x=B.SHA1=w.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,u){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[u+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,u=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return u[s>>>5]|=128<<24-s%32,u[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),u[(s+64>>>9<<4)+15]=r,e.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var e=w.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=w._createHelper(x),n.HmacSHA1=w._createHmacHelper(x)}(),C.SHA1})}(k0)),k0.exports}var w0={exports:{}},_x;function rx(){return _x||(_x=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var u=[],r=d.SHA256=B.extend({_doReset:function(){this._hash=new w.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)u[_]=s[o+_]|0;else{var S=u[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=u[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;u[_]=v+u[_-7]+y+u[_-16]}var g=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),U=A+P+g+e[_]+u[_],N=q+z;A=l,l=E,E=i,i=a+U|0,a=t,t=h,h=f,f=U+N|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),C.SHA256})}(w0)),w0.exports}var H0={exports:{}},bx;function Dr(){return bx||(bx=1,function(R,T){(function(C,n,p){R.exports=n(I(),rx())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.algo,B=w.SHA256,d=w.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=B._createHelper(d),n.HmacSHA224=B._createHmacHelper(d)}(),C.SHA224})}(H0)),H0.exports}var m0={exports:{}},yx;function Vx(){return yx||(yx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(){var n=C,p=n.lib,D=p.Hasher,w=n.x64,B=w.Word,d=w.WordArray,x=n.algo;function e(){return B.create.apply(B,arguments)}var u=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new d.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,y=t.low,g=a.high,z=a.low,q=i.high,P=i.low,U=E.high,N=E.low,O=l.high,X=l.low,b=A.high,H=A.low,m=_.high,k=_.low,G=S,K=v,$=F,L=y,i0=g,a0=z,E0=q,f0=P,M=U,Q=N,d0=O,s0=X,h0=b,c0=H,A0=m,v0=k,V=0;V<80;V++){var j,J,C0=r[V];if(V<16)J=C0.high=o[c+V*2]|0,j=C0.low=o[c+V*2+1]|0;else{var tx=r[V-15],n0=tx.high,B0=tx.low,Jx=(n0>>>1|B0<<31)^(n0>>>8|B0<<24)^n0>>>7,ax=(B0>>>1|n0<<31)^(B0>>>8|n0<<24)^(B0>>>7|n0<<25),nx=r[V-2],o0=nx.high,u0=nx.low,xr=(o0>>>19|u0<<13)^(o0<<3|u0>>>29)^o0>>>6,ox=(u0>>>19|o0<<13)^(u0<<3|o0>>>29)^(u0>>>6|o0<<26),ix=r[V-7],rr=ix.high,er=ix.low,fx=r[V-16],tr=fx.high,sx=fx.low;j=ax+er,J=Jx+rr+(j>>>0<ax>>>0?1:0),j=j+ox,J=J+xr+(j>>>0<ox>>>0?1:0),j=j+sx,J=J+tr+(j>>>0<sx>>>0?1:0),C0.high=J,C0.low=j}var ar=M&d0^~M&h0,cx=Q&s0^~Q&c0,nr=G&$^G&i0^$&i0,or=K&L^K&a0^L&a0,ir=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),vx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),fr=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),sr=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),Bx=u[V],cr=Bx.high,ux=Bx.low,Y=v0+sr,x0=A0+fr+(Y>>>0<v0>>>0?1:0),Y=Y+cx,x0=x0+ar+(Y>>>0<cx>>>0?1:0),Y=Y+ux,x0=x0+cr+(Y>>>0<ux>>>0?1:0),Y=Y+j,x0=x0+J+(Y>>>0<j>>>0?1:0),dx=vx+or,vr=ir+nr+(dx>>>0<vx>>>0?1:0);A0=h0,v0=c0,h0=d0,c0=s0,d0=M,s0=Q,Q=f0+Y|0,M=E0+x0+(Q>>>0<f0>>>0?1:0)|0,E0=i0,f0=a0,i0=$,a0=L,$=G,L=K,K=Y+dx|0,G=x0+vr+(K>>>0<Y>>>0?1:0)|0}v=h.low=v+K,h.high=S+G+(v>>>0<K>>>0?1:0),y=t.low=y+L,t.high=F+$+(y>>>0<L>>>0?1:0),z=a.low=z+a0,a.high=g+i0+(z>>>0<a0>>>0?1:0),P=i.low=P+f0,i.high=q+E0+(P>>>0<f0>>>0?1:0),N=E.low=N+Q,E.high=U+M+(N>>>0<Q>>>0?1:0),X=l.low=X+s0,l.high=O+d0+(X>>>0<s0>>>0?1:0),H=A.low=H+c0,A.high=b+h0+(H>>>0<c0>>>0?1:0),k=_.low=k+v0,_.high=m+A0+(k>>>0<v0>>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=D._createHelper(s),n.HmacSHA512=D._createHmacHelper(s)}(),C.SHA512})}(m0)),m0.exports}var S0={exports:{}},gx;function pr(){return gx||(gx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0(),Vx())})(W,function(C){return function(){var n=C,p=n.x64,D=p.Word,w=p.WordArray,B=n.algo,d=B.SHA512,x=B.SHA384=d.extend({_doReset:function(){this._hash=new w.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(S0)),S0.exports}var R0={exports:{}},kx;function _r(){return kx||(kx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.x64,x=d.Word,e=p.algo,u=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){u[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<<S)-1;v<32?_^=1<<v:A^=1<<v-32}E&128?E=E<<1^113:E<<=1}s[l]=x.create(A,_)}})();var o=[];(function(){for(var f=0;f<25;f++)o[f]=x.create()})();var c=e.SHA3=B.extend({cfg:B.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],h=0;h<25;h++)f[h]=new x.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,h){for(var t=this._state,a=this.blockSize/2,i=0;i<a;i++){var E=f[h+2*i],l=f[h+2*i+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,y=0;y<5;y++){var A=t[S+5*y];v^=A.high,F^=A.low}var g=o[S];g.high=v,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,U=q.low,v=z.high^(P<<1|U>>>31),F=z.low^(U<<1|P>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=v,A.low^=F}for(var N=1;N<25;N++){var v,F,A=t[N],O=A.high,X=A.low,b=u[N];b<32?(v=O<<b|X>>>32-b,F=X<<b|O>>>32-b):(v=X<<b-32|O>>>64-b,F=O<<b-32|X>>>64-b);var H=o[r[N]];H.high=v,H.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var N=S+5*y,A=t[N],G=o[N],K=o[(S+1)%5+5*y],$=o[(S+2)%5+5*y];A.high=G.high^~K.high&$.high,A.low=G.low^~K.low&$.low}var A=t[0],L=s[_];A.high^=L.high,A.low^=L.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_<l;_++){var S=i[_],v=S.high,F=S.low;v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new w.init(A,E)},clone:function(){for(var f=B.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),C.SHA3})}(R0)),R0.exports}var z0={exports:{}},wx;function br(){return wx||(wx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){/** @preserve
2
2
  (c) 2012 by Cédric Mesnil. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -1 +1 @@
1
- import{cc as pe,J as W,cd as q,ce as S,as as V,Z as B,y as e,ag as T,af as I,W as k,d as Q,c8 as _,cf as $,x as X,aH as Y,bk as v,bZ as he,cg as fe,ch as me,ci as we,cj as be,b as Ce,G as ve,q as w,ck as _e,b3 as U,am as $e,aa as ye,bS as A,aE as xe,bR as ke,S as b,I as O,b5 as Z,a9 as Se,ao as Ie,D as z,bv as Le,bw as Ee,cl as Ge,aL as Re,n as C,bl as Pe,cm as J}from"./index-ab115bbe.js";import{a as Me}from"./useTitle-7f42a4a0.js";import{s as Te,g as Ue,a as Ae}from"./webauthn-json.browser-ponyfill-29d8152c.js";const Oe="https://github.com/alist-org/alist";function ze(s){return pe("".concat(s,"-").concat(Oe))}var Be=V('<svg version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink height=896 width=967.8852157128662><defs><path id=path-2 opacity=1 fill-rule=evenodd d="M896,448 C1142.6325445712241,465.5747656464056 695.2579309733121,896 448,896 C200.74206902668806,896 5.684341886080802e-14,695.2579309733121 0,448.0000000000001 C0,200.74206902668806 200.74206902668791,5.684341886080802e-14 447.99999999999994,0 C695.2579309733121,0 475,418 896,448Z"></path><linearGradient id=linearGradient-3 x1=0.5 y1=0 x2=0.5 y2=1><stop offset=0 stop-opacity=1></stop><stop offset=1 stop-opacity=1></stop></linearGradient></defs><g opacity=1><use xlink:href=#path-2 fill=url(#linearGradient-3) fill-opacity=1>');const Fe=s=>{const g=W({startColor:"#28aff0",endColor:"#120fc4"},s);return(()=>{var n=Be(),u=n.firstChild,p=u.firstChild,r=p.nextSibling,c=r.firstChild,a=c.nextSibling;return q(t=>{var i=g.startColor,h=g.endColor;return i!==t.e&&S(c,"stop-color",t.e=i),h!==t.t&&S(a,"stop-color",t.t=h),t},{e:void 0,t:void 0}),n})()};var De=V('<svg height=1337 width=1337><defs><path id=path-1 opacity=1 fill-rule=evenodd d="M1337,668.5 C1337,1037.455193874239 1037.455193874239,1337 668.5,1337 C523.6725684305388,1337 337,1236 370.50000000000006,1094 C434.03835568300906,824.6732385973953 6.906089672974592e-14,892.6277623047779 0,668.5000000000001 C0,299.5448061257611 299.5448061257609,1.1368683772161603e-13 668.4999999999999,0 C1037.455193874239,0 1337,299.544806125761 1337,668.5Z"></path><linearGradient id=linearGradient-2 x1=0.79 y1=0.62 x2=0.21 y2=0.86><stop offset=0 stop-opacity=1></stop><stop offset=1 stop-opacity=1></stop></linearGradient></defs><g opacity=1><use xlink:href=#path-1 fill=url(#linearGradient-2) fill-opacity=1>');const Ke=s=>{const g=W({startColor:"#28aff0",endColor:"#120fc4"},s);return(()=>{var n=De(),u=n.firstChild,p=u.firstChild,r=p.nextSibling,c=r.firstChild,a=c.nextSibling;return q(t=>{var i=g.startColor,h=g.endColor;return i!==t.e&&S(c,"stop-color",t.e=i),h!==t.t&&S(a,"stop-color",t.t=h),t},{e:void 0,t:void 0}),n})()},je=()=>{const s=B("#a9c6ff","#062b74");return e(T,{get bgColor(){return s()},pos:"fixed",top:"0",left:"0",overflow:"hidden",zIndex:"-1",w:"100vw",h:"100vh",get children(){return[e(T,{pos:"absolute",right:{"@initial":"-100px","@sm":"-300px"},top:{"@initial":"-1170px","@sm":"-900px"},get children(){return e(Ke,{})}}),e(T,{pos:"absolute",left:{"@initial":"-100px","@sm":"-200px"},bottom:{"@initial":"-760px","@sm":"-400px"},get children(){return e(Fe,{})}})]}})},He=()=>{const s=I("sso_login_enabled"),g=k("sso_login_platform"),n=I("sso_compatibility_mode"),{searchParams:u,to:p}=Q(),r=u.token;r!=null&&r!=""&&(_(r),p(decodeURIComponent(u.redirect||$||"/"),!0));function c(a){const t=a.data;t.token&&(_(t.token),p(decodeURIComponent(u.redirect||$||"/"),!0))}if(window.addEventListener("message",c),X(()=>{window.removeEventListener("message",c)}),s){const a=()=>{const i=v.getUri()+"/auth/sso?method=sso_get_token";if(n){window.location.href=i;return}window.open(i,"authPopup","width=500,height=600")};let t;switch(g){case"Github":t=be;break;case"Microsoft":t=we;break;case"Google":t=me;break;case"Dingtalk":t=fe;break;default:t=he}return e(Y,{cursor:"pointer",boxSize:"$8",as:t,p:"$0_5",onclick:a})}},We=()=>{const s=k("logo").split("\n"),g=B(s[0],s.pop()),n=Ce(),u=ve(()=>"".concat(n("login.login_to")," ").concat(k("site_title")));Me(u);const p=B("white","$neutral1"),[r,c]=w(localStorage.getItem("username")||""),[a,t]=w(localStorage.getItem("password")||""),[i,h]=w(""),[y,ee]=w(!1),[x,te]=_e("remember-pwd","false"),[L,F]=w(!1),[ne,oe]=U(async()=>L()?v.post("/auth/login/ldap",{username:r(),password:a(),otp_code:i()}):v.post("/auth/login/hash",{username:r(),password:ze(a()),otp_code:i()})),[,re]=U((o,l,m,M)=>v.post("/authn/webauthn_finish_login?username="+m,JSON.stringify(l),{headers:{session:o},signal:M})),[,se]=U((o,l)=>v.get("/authn/webauthn_begin_login?username="+o,{signal:l})),{searchParams:E,to:G}=Q(),ae=async()=>PublicKeyCredential&&"isConditionalMediationAvailable"in PublicKeyCredential?await PublicKeyCredential.isConditionalMediationAvailable():!1,D=I("webauthn_login_enabled"),ie=async()=>{ee(!y())};let d=null;const K=async o=>{if(!Te()){o||C.error(n("users.webauthn_not_supported"));return}if(o&&!await ae())return;d==null||d.abort();const l=new AbortController;d=l;const m=o?"":r();!o&&x()==="true"?localStorage.setItem("username",r()):localStorage.removeItem("username");const M=await se(m,l.signal);Pe(M,async N=>{try{const f=Ue(N.options);f.signal=l.signal,o&&(f.mediation="conditional");const ue=await Ae(f),de=await re(N.session,ue,m,l.signal);J(de,ge=>{C.success(n("login.success")),_(ge.token),G(decodeURIComponent(E.redirect||$||"/"),!0)})}catch(f){f instanceof Error&&f.name!="AbortError"&&C.error(f.message)}})},j=()=>d==null?void 0:d.abort();$e(()=>{D&&(window.addEventListener("beforeunload",j),K(!0))}),X(()=>{d==null||d.abort(),window.removeEventListener("beforeunload",j)});const R=async()=>{if(y())await K();else{x()==="true"?(localStorage.setItem("username",r()),localStorage.setItem("password",a())):(localStorage.removeItem("username"),localStorage.removeItem("password"));const o=await oe();J(o,l=>{C.success(n("login.success")),_(l.token),G(decodeURIComponent(E.redirect||$||"/"),!0)},(l,m)=>{!P()&&m===402?le(!0):C.error(l)})}},[P,le]=w(!1),H=I("ldap_login_enabled"),ce=k("ldap_login_tips");return H&&F(!0),e(Re,{zIndex:"1",w:"$full",h:"100vh",get children(){return[e(ye,{get bgColor(){return p()},rounded:"$xl",p:"24px",w:{"@initial":"90%","@sm":"364px"},spacing:"$4",get children(){return[e(A,{alignItems:"center",justifyContent:"space-around",get children(){return[e(xe,{mr:"$2",boxSize:"$12",get src(){return g()}}),e(ke,{color:"$info9",fontSize:"$2xl",get children(){return u()}})]}}),e(b,{get when(){return!P()},get fallback(){return e(O,{id:"totp",name:"otp",get placeholder(){return n("login.otp-tips")},get value(){return i()},onInput:o=>h(o.currentTarget.value),onKeyDown:o=>{o.key==="Enter"&&R()}})},get children(){return[e(O,{name:"username",get placeholder(){return n("login.username-tips")},get value(){return r()},onInput:o=>c(o.currentTarget.value)}),e(b,{get when(){return!y()},get children(){return e(O,{name:"password",get placeholder(){return n("login.password-tips")},type:"password",get value(){return a()},onInput:o=>t(o.currentTarget.value),onKeyDown:o=>{o.key==="Enter"&&R()}})}}),e(A,{px:"$1",w:"$full",fontSize:"$sm",color:"$neutral10",justifyContent:"space-between",alignItems:"center",get children(){return[e(Z,{get checked(){return x()==="true"},onChange:()=>te(x()==="true"?"false":"true"),get children(){return n("login.remember")}}),e(Se,{as:"a",target:"_blank",get href(){return n("login.forget_url")},get children(){return n("login.forget")}})]}})]}}),e(Ie,{w:"$full",spacing:"$2",get children(){return[e(b,{get when(){return!y()},get children(){return e(z,{colorScheme:"primary",w:"$full",onClick:()=>{P()?h(""):(c(""),t(""))},get children(){return n("login.clear")}})}}),e(z,{w:"$full",get loading(){return ne()},onClick:R,get children(){return n("login.login")}})]}}),e(b,{when:H,get children(){return e(Z,{w:"$full",get checked(){return L()===!0},onChange:()=>F(!L()),children:ce})}}),e(z,{w:"$full",colorScheme:"accent",onClick:()=>{_(),G(decodeURIComponent(E.redirect||$||"/"),!0)},get children(){return n("login.use_guest")}}),e(A,{mt:"$2",justifyContent:"space-evenly",alignItems:"center",color:"$neutral10",w:"$full",get children(){return[e(Le,{}),e(Ee,{}),e(He,{}),e(b,{when:D,get children(){return e(Y,{cursor:"pointer",boxSize:"$8",as:Ge,p:"$0_5",onclick:ie})}})]}})]}}),e(je,{})]}})};export{We as default};
1
+ import{cc as pe,J as W,cd as q,ce as S,as as V,Z as B,y as e,ag as T,af as I,W as k,d as Q,c8 as _,cf as $,x as X,aH as Y,bk as v,bZ as he,cg as fe,ch as me,ci as we,cj as be,b as Ce,G as ve,q as w,ck as _e,b3 as U,am as $e,aa as ye,bS as A,aE as xe,bR as ke,S as b,I as O,b5 as Z,a9 as Se,ao as Ie,D as z,bv as Le,bw as Ee,cl as Ge,aL as Re,n as C,bl as Pe,cm as J}from"./index-d81bedf4.js";import{a as Me}from"./useTitle-35e58701.js";import{s as Te,g as Ue,a as Ae}from"./webauthn-json.browser-ponyfill-29d8152c.js";const Oe="https://github.com/alist-org/alist";function ze(s){return pe("".concat(s,"-").concat(Oe))}var Be=V('<svg version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink height=896 width=967.8852157128662><defs><path id=path-2 opacity=1 fill-rule=evenodd d="M896,448 C1142.6325445712241,465.5747656464056 695.2579309733121,896 448,896 C200.74206902668806,896 5.684341886080802e-14,695.2579309733121 0,448.0000000000001 C0,200.74206902668806 200.74206902668791,5.684341886080802e-14 447.99999999999994,0 C695.2579309733121,0 475,418 896,448Z"></path><linearGradient id=linearGradient-3 x1=0.5 y1=0 x2=0.5 y2=1><stop offset=0 stop-opacity=1></stop><stop offset=1 stop-opacity=1></stop></linearGradient></defs><g opacity=1><use xlink:href=#path-2 fill=url(#linearGradient-3) fill-opacity=1>');const Fe=s=>{const g=W({startColor:"#28aff0",endColor:"#120fc4"},s);return(()=>{var n=Be(),u=n.firstChild,p=u.firstChild,r=p.nextSibling,c=r.firstChild,a=c.nextSibling;return q(t=>{var i=g.startColor,h=g.endColor;return i!==t.e&&S(c,"stop-color",t.e=i),h!==t.t&&S(a,"stop-color",t.t=h),t},{e:void 0,t:void 0}),n})()};var De=V('<svg height=1337 width=1337><defs><path id=path-1 opacity=1 fill-rule=evenodd d="M1337,668.5 C1337,1037.455193874239 1037.455193874239,1337 668.5,1337 C523.6725684305388,1337 337,1236 370.50000000000006,1094 C434.03835568300906,824.6732385973953 6.906089672974592e-14,892.6277623047779 0,668.5000000000001 C0,299.5448061257611 299.5448061257609,1.1368683772161603e-13 668.4999999999999,0 C1037.455193874239,0 1337,299.544806125761 1337,668.5Z"></path><linearGradient id=linearGradient-2 x1=0.79 y1=0.62 x2=0.21 y2=0.86><stop offset=0 stop-opacity=1></stop><stop offset=1 stop-opacity=1></stop></linearGradient></defs><g opacity=1><use xlink:href=#path-1 fill=url(#linearGradient-2) fill-opacity=1>');const Ke=s=>{const g=W({startColor:"#28aff0",endColor:"#120fc4"},s);return(()=>{var n=De(),u=n.firstChild,p=u.firstChild,r=p.nextSibling,c=r.firstChild,a=c.nextSibling;return q(t=>{var i=g.startColor,h=g.endColor;return i!==t.e&&S(c,"stop-color",t.e=i),h!==t.t&&S(a,"stop-color",t.t=h),t},{e:void 0,t:void 0}),n})()},je=()=>{const s=B("#a9c6ff","#062b74");return e(T,{get bgColor(){return s()},pos:"fixed",top:"0",left:"0",overflow:"hidden",zIndex:"-1",w:"100vw",h:"100vh",get children(){return[e(T,{pos:"absolute",right:{"@initial":"-100px","@sm":"-300px"},top:{"@initial":"-1170px","@sm":"-900px"},get children(){return e(Ke,{})}}),e(T,{pos:"absolute",left:{"@initial":"-100px","@sm":"-200px"},bottom:{"@initial":"-760px","@sm":"-400px"},get children(){return e(Fe,{})}})]}})},He=()=>{const s=I("sso_login_enabled"),g=k("sso_login_platform"),n=I("sso_compatibility_mode"),{searchParams:u,to:p}=Q(),r=u.token;r!=null&&r!=""&&(_(r),p(decodeURIComponent(u.redirect||$||"/"),!0));function c(a){const t=a.data;t.token&&(_(t.token),p(decodeURIComponent(u.redirect||$||"/"),!0))}if(window.addEventListener("message",c),X(()=>{window.removeEventListener("message",c)}),s){const a=()=>{const i=v.getUri()+"/auth/sso?method=sso_get_token";if(n){window.location.href=i;return}window.open(i,"authPopup","width=500,height=600")};let t;switch(g){case"Github":t=be;break;case"Microsoft":t=we;break;case"Google":t=me;break;case"Dingtalk":t=fe;break;default:t=he}return e(Y,{cursor:"pointer",boxSize:"$8",as:t,p:"$0_5",onclick:a})}},We=()=>{const s=k("logo").split("\n"),g=B(s[0],s.pop()),n=Ce(),u=ve(()=>"".concat(n("login.login_to")," ").concat(k("site_title")));Me(u);const p=B("white","$neutral1"),[r,c]=w(localStorage.getItem("username")||""),[a,t]=w(localStorage.getItem("password")||""),[i,h]=w(""),[y,ee]=w(!1),[x,te]=_e("remember-pwd","false"),[L,F]=w(!1),[ne,oe]=U(async()=>L()?v.post("/auth/login/ldap",{username:r(),password:a(),otp_code:i()}):v.post("/auth/login/hash",{username:r(),password:ze(a()),otp_code:i()})),[,re]=U((o,l,m,M)=>v.post("/authn/webauthn_finish_login?username="+m,JSON.stringify(l),{headers:{session:o},signal:M})),[,se]=U((o,l)=>v.get("/authn/webauthn_begin_login?username="+o,{signal:l})),{searchParams:E,to:G}=Q(),ae=async()=>PublicKeyCredential&&"isConditionalMediationAvailable"in PublicKeyCredential?await PublicKeyCredential.isConditionalMediationAvailable():!1,D=I("webauthn_login_enabled"),ie=async()=>{ee(!y())};let d=null;const K=async o=>{if(!Te()){o||C.error(n("users.webauthn_not_supported"));return}if(o&&!await ae())return;d==null||d.abort();const l=new AbortController;d=l;const m=o?"":r();!o&&x()==="true"?localStorage.setItem("username",r()):localStorage.removeItem("username");const M=await se(m,l.signal);Pe(M,async N=>{try{const f=Ue(N.options);f.signal=l.signal,o&&(f.mediation="conditional");const ue=await Ae(f),de=await re(N.session,ue,m,l.signal);J(de,ge=>{C.success(n("login.success")),_(ge.token),G(decodeURIComponent(E.redirect||$||"/"),!0)})}catch(f){f instanceof Error&&f.name!="AbortError"&&C.error(f.message)}})},j=()=>d==null?void 0:d.abort();$e(()=>{D&&(window.addEventListener("beforeunload",j),K(!0))}),X(()=>{d==null||d.abort(),window.removeEventListener("beforeunload",j)});const R=async()=>{if(y())await K();else{x()==="true"?(localStorage.setItem("username",r()),localStorage.setItem("password",a())):(localStorage.removeItem("username"),localStorage.removeItem("password"));const o=await oe();J(o,l=>{C.success(n("login.success")),_(l.token),G(decodeURIComponent(E.redirect||$||"/"),!0)},(l,m)=>{!P()&&m===402?le(!0):C.error(l)})}},[P,le]=w(!1),H=I("ldap_login_enabled"),ce=k("ldap_login_tips");return H&&F(!0),e(Re,{zIndex:"1",w:"$full",h:"100vh",get children(){return[e(ye,{get bgColor(){return p()},rounded:"$xl",p:"24px",w:{"@initial":"90%","@sm":"364px"},spacing:"$4",get children(){return[e(A,{alignItems:"center",justifyContent:"space-around",get children(){return[e(xe,{mr:"$2",boxSize:"$12",get src(){return g()}}),e(ke,{color:"$info9",fontSize:"$2xl",get children(){return u()}})]}}),e(b,{get when(){return!P()},get fallback(){return e(O,{id:"totp",name:"otp",get placeholder(){return n("login.otp-tips")},get value(){return i()},onInput:o=>h(o.currentTarget.value),onKeyDown:o=>{o.key==="Enter"&&R()}})},get children(){return[e(O,{name:"username",get placeholder(){return n("login.username-tips")},get value(){return r()},onInput:o=>c(o.currentTarget.value)}),e(b,{get when(){return!y()},get children(){return e(O,{name:"password",get placeholder(){return n("login.password-tips")},type:"password",get value(){return a()},onInput:o=>t(o.currentTarget.value),onKeyDown:o=>{o.key==="Enter"&&R()}})}}),e(A,{px:"$1",w:"$full",fontSize:"$sm",color:"$neutral10",justifyContent:"space-between",alignItems:"center",get children(){return[e(Z,{get checked(){return x()==="true"},onChange:()=>te(x()==="true"?"false":"true"),get children(){return n("login.remember")}}),e(Se,{as:"a",target:"_blank",get href(){return n("login.forget_url")},get children(){return n("login.forget")}})]}})]}}),e(Ie,{w:"$full",spacing:"$2",get children(){return[e(b,{get when(){return!y()},get children(){return e(z,{colorScheme:"primary",w:"$full",onClick:()=>{P()?h(""):(c(""),t(""))},get children(){return n("login.clear")}})}}),e(z,{w:"$full",get loading(){return ne()},onClick:R,get children(){return n("login.login")}})]}}),e(b,{when:H,get children(){return e(Z,{w:"$full",get checked(){return L()===!0},onChange:()=>F(!L()),children:ce})}}),e(z,{w:"$full",colorScheme:"accent",onClick:()=>{_(),G(decodeURIComponent(E.redirect||$||"/"),!0)},get children(){return n("login.use_guest")}}),e(A,{mt:"$2",justifyContent:"space-evenly",alignItems:"center",color:"$neutral10",w:"$full",get children(){return[e(Le,{}),e(Ee,{}),e(He,{}),e(b,{when:D,get children(){return e(Y,{cursor:"pointer",boxSize:"$8",as:Ge,p:"$0_5",onclick:ie})}})]}})]}}),e(je,{})]}})};export{We as default};
@@ -1 +1 @@
1
- import{aM as a}from"./index-ab115bbe.js";function e(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>'},l)}function r(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>'},l)}function t(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>'},l)}export{t as R,r as a,e as b};
1
+ import{aM as a}from"./index-d81bedf4.js";function e(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>'},l)}function r(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>'},l)}function t(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>'},l)}export{t as R,r as a,e as b};
@@ -1 +1 @@
1
- import{y as t,K as P,aa as y,G as x,aq as L,ar as v,bQ as i,a4 as $,a3 as M,d as f,b as _,Q as F,R as N,P as D,S as E,aH as p,bR as h,q as W,bS as A,ao as m,ag as l,aM as U,X as n,Y as o,bT as H,bU as Y,bV as z,bW as j,bX as q,bY as Z,bZ as S,b_ as X,b$ as Q,c0 as J,c1 as K,a_ as G,c2 as ee,c3 as te,c4 as ne,aI as oe,c5 as re,c6 as ae,aS as ie,b3 as se,bk as ce,Z as O,au as w,c7 as le,bx as ue,bp as ge,bq as me,br as de,bs as _e,bt as he,aL as I,bv as C,bw as k,bl as Ee,c8 as pe,n as fe,c9 as Ae,ca as Ie,cb as be}from"./index-ab115bbe.js";import{b as Re,a as Te}from"./useTitle-7f42a4a0.js";import{A as Le,k as ve,b as $e,l as Se,m as we,n as Pe,o as De}from"./index-5295a943.js";import{S as Oe}from"./index-0e91056f.js";var s=(e=>(e[e.SINGLE=0]="SINGLE",e[e.SITE=1]="SITE",e[e.STYLE=2]="STYLE",e[e.PREVIEW=3]="PREVIEW",e[e.GLOBAL=4]="GLOBAL",e[e.ARIA2=5]="ARIA2",e[e.INDEX=6]="INDEX",e[e.SSO=7]="SSO",e[e.LDAP=8]="LDAP",e[e.S3=9]="S3",e[e.FTP=10]="FTP",e[e.TRAFFIC=11]="TRAFFIC",e))(s||{}),Ce=(e=>(e[e.PUBLIC=0]="PUBLIC",e[e.PRIVATE=1]="PRIVATE",e[e.READONLY=2]="READONLY",e[e.DEPRECATED=3]="DEPRECATED",e))(Ce||{});const ke=e=>{const r=x(()=>{if(!L.is_admin(v())){if(e.role===void 0)return!1;if(e.role===i.GENERAL&&!L.is_general(v()))return!1}return!0});return t(M,{get fallback(){return t(Ve,e)},get children(){return[t($,{get when(){return!r()},children:null}),t($,{get when(){return e.children},get children(){return t(Be,e)}})]}})},Ve=e=>{const{pathname:r}=f(),a=_(),u=()=>r()===e.to;return t(Le,{get cancelBase(){return e.to.startsWith("http")},display:"flex",as:F,get href(){return e.to},onClick:g=>{var T;if(V(),e.refresh){(T=g.stopPropagation)==null||T.call(g);let d=e.to;d.startsWith("http")||(d=N(d)),window.open(d,"_self")}},w:"$full",alignItems:"center",get _hover(){return{bgColor:u()?"$info4":D(),textDecoration:"none"}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get bgColor(){return u()?"$info4":""},get color(){return u()?"$info11":""},get external(){return e.external},get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return a(e.title)}})]}})},Be=e=>{const{pathname:r}=f(),[a,u]=W(r().includes(e.to)),g=_();return t(l,{w:"$full",get children(){return[t(A,{justifyContent:"space-between",onClick:()=>{u(!a())},w:"$full",alignItems:"center",get _hover(){return{bgColor:D()}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get children(){return[t(m,{get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return g(e.title)}})]}}),t(p,{as:ve,get transform(){return a()?"rotate(90deg)":"none"},transition:"transform 0.2s"})]}}),t(E,{get when(){return a()},get children(){return t(l,{pl:"$2",get children(){return t(b,{get items(){return e.children}})}})}})]}})},b=e=>t(y,{p:"$2",w:"$full",color:"$neutral11",spacing:"$1",get children(){return t(P,{get each(){return e.items},children:r=>t(ke,r)})}});function ye(e){return U({a:{viewBox:"0 0 16 16"},c:'<path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"/>'},e)}const c=n(()=>o(()=>import("./Common-818c5619.js"),["assets/Common-818c5619.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/SettingItem-70eb4ae2.js","assets/item_type-32dc6fdf.js","assets/index-5295a943.js","assets/ResponsiveGrid-3082e524.js","assets/index-0e91056f.js"])),R=[{title:"manage.sidemenu.profile",icon:H,to:"/@manage",role:i.GUEST,component:n(()=>o(()=>import("./Profile-5a83f592.js"),["assets/Profile-5a83f592.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/index-5295a943.js","assets/webauthn-json.browser-ponyfill-29d8152c.js","assets/PublicKeys-19a81bcf.js"]))},{title:"manage.sidemenu.settings",icon:Y,to:"/@manage/settings",children:[{title:"manage.sidemenu.site",icon:z,to:"/@manage/settings/site",component:()=>t(c,{get group(){return s.SITE}})},{title:"manage.sidemenu.style",icon:j,to:"/@manage/settings/style",component:()=>t(c,{get group(){return s.STYLE}})},{title:"manage.sidemenu.preview",icon:q,to:"/@manage/settings/preview",component:()=>t(c,{get group(){return s.PREVIEW}})},{title:"manage.sidemenu.global",icon:Z,to:"/@manage/settings/global",component:()=>t(c,{get group(){return s.GLOBAL}})},{title:"manage.sidemenu.sso",icon:S,to:"/@manage/settings/sso",component:()=>t(c,{get group(){return s.SSO}})},{title:"manage.sidemenu.ldap",icon:S,to:"/@manage/settings/ldap",component:()=>t(c,{get group(){return s.LDAP}})},{title:"manage.sidemenu.s3",icon:X,to:"/@manage/settings/s3",component:n(()=>o(()=>import("./S3-8d5f17a3.js"),["assets/S3-8d5f17a3.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/SettingItem-70eb4ae2.js","assets/item_type-32dc6fdf.js","assets/index-5295a943.js","assets/ResponsiveGrid-3082e524.js","assets/FolderTree-9de1ab37.js","assets/index-89e25f40.js","assets/index-0e91056f.js"]))},{title:"manage.sidemenu.ftp",icon:Q,to:"/@manage/settings/ftp",component:()=>t(c,{get group(){return s.FTP}})},{title:"manage.sidemenu.traffic",icon:J,to:"/@manage/settings/traffic",component:()=>t(c,{get group(){return s.TRAFFIC}})},{title:"manage.sidemenu.other",icon:K,to:"/@manage/settings/other",component:n(()=>o(()=>import("./Other-6d74c1cb.js"),["assets/Other-6d74c1cb.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/FolderTree-9de1ab37.js","assets/index-5295a943.js","assets/useTitle-7f42a4a0.js","assets/SettingItem-70eb4ae2.js","assets/item_type-32dc6fdf.js","assets/index-0e91056f.js"]))}]},{title:"manage.sidemenu.tasks",icon:ye,to:"/@manage/tasks",role:i.GENERAL,children:[{title:"manage.sidemenu.offline_download",icon:G,to:"/@manage/tasks/offline_download",role:i.GENERAL,component:n(()=>o(()=>import("./offline_download-b9febd2a.js"),["assets/offline_download-b9febd2a.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/helper-c9e49715.js","assets/Paginator-e2a864f2.js","assets/index-5295a943.js"]))},{title:"manage.sidemenu.upload",icon:ee,to:"/@manage/tasks/upload",role:i.GENERAL,component:n(()=>o(()=>import("./Upload-085f8347.js"),["assets/Upload-085f8347.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/helper-c9e49715.js","assets/Paginator-e2a864f2.js","assets/index-5295a943.js"]))},{title:"manage.sidemenu.copy",icon:te,to:"/@manage/tasks/copy",role:i.GENERAL,component:n(()=>o(()=>import("./Copy-7cddacfb.js"),["assets/Copy-7cddacfb.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/helper-c9e49715.js","assets/Paginator-e2a864f2.js","assets/index-5295a943.js"]))},{title:"manage.sidemenu.decompress",icon:$e,to:"/@manage/tasks/decompress",role:i.GENERAL,component:n(()=>o(()=>import("./Decompress-6e76a195.js"),["assets/Decompress-6e76a195.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/helper-c9e49715.js","assets/Paginator-e2a864f2.js","assets/index-5295a943.js"]))}]},{title:"manage.sidemenu.users",icon:ne,to:"/@manage/users",component:n(()=>o(()=>import("./Users-1a219982.js"),["assets/Users-1a219982.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/DeletePopover-2c3873a3.js","assets/Wether-8025708b.js"]))},{title:"manage.sidemenu.storages",icon:Se,to:"/@manage/storages",component:n(()=>o(()=>import("./Storages-17c5796c.js"),["assets/Storages-17c5796c.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/DeletePopover-2c3873a3.js"]))},{title:"manage.sidemenu.metas",icon:Oe,to:"/@manage/metas",component:n(()=>o(()=>import("./Metas-79ea178d.js"),["assets/Metas-79ea178d.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/DeletePopover-2c3873a3.js","assets/Wether-8025708b.js"]))},{title:"manage.sidemenu.indexes",icon:oe,to:"/@manage/indexes",component:n(()=>o(()=>import("./indexes-0bf9104f.js"),["assets/indexes-0bf9104f.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/Common-818c5619.js","assets/useTitle-7f42a4a0.js","assets/SettingItem-70eb4ae2.js","assets/item_type-32dc6fdf.js","assets/index-5295a943.js","assets/ResponsiveGrid-3082e524.js","assets/index-0e91056f.js"]))},{title:"manage.sidemenu.backup-restore",to:"/@manage/backup-restore",icon:we,component:n(()=>o(()=>import("./backup-restore-dafc7320.js"),["assets/backup-restore-dafc7320.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js","assets/index-89e25f40.js"]))},{title:"manage.sidemenu.about",icon:re,to:"/@manage/about",role:i.GUEST,component:n(()=>o(()=>import("./About-89998bdb.js"),["assets/About-89998bdb.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/useTitle-7f42a4a0.js"]))},{title:"manage.sidemenu.docs",icon:Pe,to:"https://docs.openlist.team",role:i.GUEST,external:!0},{title:"manage.sidemenu.home",icon:ae,to:"/",role:i.GUEST,refresh:!0}],{isOpen:xe,onOpen:Me,onClose:V}=ie(),[Fe,Ne]=se(()=>ce.get("/auth/logout")),We=()=>{const e=_(),{to:r}=f(),a=async()=>{Ee(await Ne(),()=>{pe(),fe.success(e("manage.logout_success")),r("/@login?redirect=".concat(encodeURIComponent(location.pathname)))})};return t(l,{as:"header",position:"sticky",top:"0",left:"0",right:"0",zIndex:"$sticky",height:"64px",flexShrink:0,shadow:"$md",p:"$4",get bgColor(){return O("$background","$neutral2")()},get children(){return[t(A,{alignItems:"center",justifyContent:"space-between",h:"$full",get children(){return[t(m,{spacing:"$2",get children(){return[t(w,{"aria-label":"menu",get icon(){return t(De,{})},display:{"@sm":"none"},onClick:Me,size:"sm"}),t(h,{fontSize:"$xl",color:"$info9",cursor:"pointer",onClick:()=>{r("/@manage")},get children(){return e("manage.title")}})]}}),t(m,{spacing:"$1",get children(){return t(w,{"aria-label":"logout",get icon(){return t(le,{})},get loading(){return Fe()},onClick:a,size:"sm"})}})]}}),t(ue,{get opened(){return xe()},placement:"left",onClose:V,get children(){return[t(ge,{}),t(me,{get children(){return[t(de,{}),t(_e,{color:"$info9",get children(){return e("manage.title")}}),t(he,{get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}})]}})]}})]}})},Ue=[{to:"/storages/add",component:n(()=>o(()=>import("./AddOrEdit-30d1638a.js"),["assets/AddOrEdit-30d1638a.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-3082e524.js"]))},{to:"/storages/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-30d1638a.js"),["assets/AddOrEdit-30d1638a.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-3082e524.js"]))},{to:"/users/add",component:n(()=>o(()=>import("./AddOrEdit-196d523f.js"),["assets/AddOrEdit-196d523f.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/FolderTree-9de1ab37.js","assets/index-5295a943.js","assets/PublicKeys-19a81bcf.js"]))},{to:"/users/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-196d523f.js"),["assets/AddOrEdit-196d523f.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/FolderTree-9de1ab37.js","assets/index-5295a943.js","assets/PublicKeys-19a81bcf.js"]))},{to:"/metas/add",component:n(()=>o(()=>import("./AddOrEdit-0e170473.js"),["assets/AddOrEdit-0e170473.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/FolderTree-9de1ab37.js","assets/index-5295a943.js"]))},{to:"/metas/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-0e170473.js"),["assets/AddOrEdit-0e170473.js","assets/index-ab115bbe.js","assets/index-c0564af7.css","assets/FolderTree-9de1ab37.js","assets/index-5295a943.js"]))},{to:"/2fa",component:n(()=>o(()=>import("./2fa-e940f970.js"),["assets/2fa-e940f970.js","assets/index-ab115bbe.js","assets/index-c0564af7.css"]))},{to:"/messenger",component:n(()=>o(()=>import("./Messenger-8ec8b970.js"),["assets/Messenger-8ec8b970.js","assets/index-ab115bbe.js","assets/index-c0564af7.css"]))}],He=e=>(Re(e.title),t(I,{h:"$full",get children(){return t(h,{get children(){return e.title}})}})),B=(e,r=[])=>(e.forEach(a=>{a.children?B(a.children,r):r.push({to:Ae(a.to,"/@manage"),component:a.component||(()=>t(He,{get title(){return a.title},get to(){return a.to||"empty"}}))})}),r),Ye=B(R).concat(Ue),ze=()=>{const e=_();return Te(()=>e("manage.title")),t(l,{css:{"--hope-colors-background":"var(--hope-colors-loContrast)"},bgColor:"$background",w:"$full",get children(){return[t(We,{}),t(A,{w:"$full",h:"calc(100vh - 64px)",get children(){return[t(l,{display:{"@initial":"none","@sm":"block"},w:"$56",h:"$full",shadow:"$md",get bgColor(){return O("$background","$neutral2")()},overflowY:"auto",get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}}),t(l,{w:{"@initial":"$full","@sm":"calc(100% - 14rem)"},p:"$4",overflowY:"auto",get children(){return t(Ie,{get children(){return t(P,{each:Ye,children:r=>t(be,{get path(){return r.to},get component(){return r.component}})})}})}})]}})]}})},Qe=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));export{Ce as F,s as G,Qe as i};
1
+ import{y as t,K as P,aa as y,G as x,aq as L,ar as v,bQ as i,a4 as $,a3 as M,d as f,b as _,Q as F,R as N,P as D,S as E,aH as p,bR as h,q as W,bS as A,ao as m,ag as l,aM as U,X as n,Y as o,bT as H,bU as Y,bV as z,bW as j,bX as q,bY as Z,bZ as S,b_ as X,b$ as Q,c0 as J,c1 as K,a_ as G,c2 as ee,c3 as te,c4 as ne,aI as oe,c5 as re,c6 as ae,aS as ie,b3 as se,bk as ce,Z as O,au as w,c7 as le,bx as ue,bp as ge,bq as me,br as de,bs as _e,bt as he,aL as I,bv as C,bw as k,bl as Ee,c8 as pe,n as fe,c9 as Ae,ca as Ie,cb as be}from"./index-d81bedf4.js";import{b as Re,a as Te}from"./useTitle-35e58701.js";import{A as Le,k as ve,b as $e,l as Se,m as we,n as Pe,o as De}from"./index-2aede34f.js";import{S as Oe}from"./index-4c139329.js";var s=(e=>(e[e.SINGLE=0]="SINGLE",e[e.SITE=1]="SITE",e[e.STYLE=2]="STYLE",e[e.PREVIEW=3]="PREVIEW",e[e.GLOBAL=4]="GLOBAL",e[e.ARIA2=5]="ARIA2",e[e.INDEX=6]="INDEX",e[e.SSO=7]="SSO",e[e.LDAP=8]="LDAP",e[e.S3=9]="S3",e[e.FTP=10]="FTP",e[e.TRAFFIC=11]="TRAFFIC",e))(s||{}),Ce=(e=>(e[e.PUBLIC=0]="PUBLIC",e[e.PRIVATE=1]="PRIVATE",e[e.READONLY=2]="READONLY",e[e.DEPRECATED=3]="DEPRECATED",e))(Ce||{});const ke=e=>{const r=x(()=>{if(!L.is_admin(v())){if(e.role===void 0)return!1;if(e.role===i.GENERAL&&!L.is_general(v()))return!1}return!0});return t(M,{get fallback(){return t(Ve,e)},get children(){return[t($,{get when(){return!r()},children:null}),t($,{get when(){return e.children},get children(){return t(Be,e)}})]}})},Ve=e=>{const{pathname:r}=f(),a=_(),u=()=>r()===e.to;return t(Le,{get cancelBase(){return e.to.startsWith("http")},display:"flex",as:F,get href(){return e.to},onClick:g=>{var T;if(V(),e.refresh){(T=g.stopPropagation)==null||T.call(g);let d=e.to;d.startsWith("http")||(d=N(d)),window.open(d,"_self")}},w:"$full",alignItems:"center",get _hover(){return{bgColor:u()?"$info4":D(),textDecoration:"none"}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get bgColor(){return u()?"$info4":""},get color(){return u()?"$info11":""},get external(){return e.external},get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return a(e.title)}})]}})},Be=e=>{const{pathname:r}=f(),[a,u]=W(r().includes(e.to)),g=_();return t(l,{w:"$full",get children(){return[t(A,{justifyContent:"space-between",onClick:()=>{u(!a())},w:"$full",alignItems:"center",get _hover(){return{bgColor:D()}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get children(){return[t(m,{get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return g(e.title)}})]}}),t(p,{as:ve,get transform(){return a()?"rotate(90deg)":"none"},transition:"transform 0.2s"})]}}),t(E,{get when(){return a()},get children(){return t(l,{pl:"$2",get children(){return t(b,{get items(){return e.children}})}})}})]}})},b=e=>t(y,{p:"$2",w:"$full",color:"$neutral11",spacing:"$1",get children(){return t(P,{get each(){return e.items},children:r=>t(ke,r)})}});function ye(e){return U({a:{viewBox:"0 0 16 16"},c:'<path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"/>'},e)}const c=n(()=>o(()=>import("./Common-e2b8c16d.js"),["assets/Common-e2b8c16d.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/SettingItem-ceb3be8a.js","assets/item_type-32dc6fdf.js","assets/index-2aede34f.js","assets/ResponsiveGrid-dceace19.js","assets/index-4c139329.js"])),R=[{title:"manage.sidemenu.profile",icon:H,to:"/@manage",role:i.GUEST,component:n(()=>o(()=>import("./Profile-50bfcfa4.js"),["assets/Profile-50bfcfa4.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/index-2aede34f.js","assets/webauthn-json.browser-ponyfill-29d8152c.js","assets/PublicKeys-41759309.js"]))},{title:"manage.sidemenu.settings",icon:Y,to:"/@manage/settings",children:[{title:"manage.sidemenu.site",icon:z,to:"/@manage/settings/site",component:()=>t(c,{get group(){return s.SITE}})},{title:"manage.sidemenu.style",icon:j,to:"/@manage/settings/style",component:()=>t(c,{get group(){return s.STYLE}})},{title:"manage.sidemenu.preview",icon:q,to:"/@manage/settings/preview",component:()=>t(c,{get group(){return s.PREVIEW}})},{title:"manage.sidemenu.global",icon:Z,to:"/@manage/settings/global",component:()=>t(c,{get group(){return s.GLOBAL}})},{title:"manage.sidemenu.sso",icon:S,to:"/@manage/settings/sso",component:()=>t(c,{get group(){return s.SSO}})},{title:"manage.sidemenu.ldap",icon:S,to:"/@manage/settings/ldap",component:()=>t(c,{get group(){return s.LDAP}})},{title:"manage.sidemenu.s3",icon:X,to:"/@manage/settings/s3",component:n(()=>o(()=>import("./S3-28ae25bd.js"),["assets/S3-28ae25bd.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/SettingItem-ceb3be8a.js","assets/item_type-32dc6fdf.js","assets/index-2aede34f.js","assets/ResponsiveGrid-dceace19.js","assets/FolderTree-7c945f38.js","assets/index-502eb34e.js","assets/index-4c139329.js"]))},{title:"manage.sidemenu.ftp",icon:Q,to:"/@manage/settings/ftp",component:()=>t(c,{get group(){return s.FTP}})},{title:"manage.sidemenu.traffic",icon:J,to:"/@manage/settings/traffic",component:()=>t(c,{get group(){return s.TRAFFIC}})},{title:"manage.sidemenu.other",icon:K,to:"/@manage/settings/other",component:n(()=>o(()=>import("./Other-57a8557a.js"),["assets/Other-57a8557a.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/FolderTree-7c945f38.js","assets/index-2aede34f.js","assets/useTitle-35e58701.js","assets/SettingItem-ceb3be8a.js","assets/item_type-32dc6fdf.js","assets/index-4c139329.js"]))}]},{title:"manage.sidemenu.tasks",icon:ye,to:"/@manage/tasks",role:i.GENERAL,children:[{title:"manage.sidemenu.offline_download",icon:G,to:"/@manage/tasks/offline_download",role:i.GENERAL,component:n(()=>o(()=>import("./offline_download-cf544058.js"),["assets/offline_download-cf544058.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/helper-b1488c6e.js","assets/Paginator-d7be1879.js","assets/index-2aede34f.js"]))},{title:"manage.sidemenu.upload",icon:ee,to:"/@manage/tasks/upload",role:i.GENERAL,component:n(()=>o(()=>import("./Upload-328b04f6.js"),["assets/Upload-328b04f6.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/helper-b1488c6e.js","assets/Paginator-d7be1879.js","assets/index-2aede34f.js"]))},{title:"manage.sidemenu.copy",icon:te,to:"/@manage/tasks/copy",role:i.GENERAL,component:n(()=>o(()=>import("./Copy-ed495269.js"),["assets/Copy-ed495269.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/helper-b1488c6e.js","assets/Paginator-d7be1879.js","assets/index-2aede34f.js"]))},{title:"manage.sidemenu.decompress",icon:$e,to:"/@manage/tasks/decompress",role:i.GENERAL,component:n(()=>o(()=>import("./Decompress-b14d45e8.js"),["assets/Decompress-b14d45e8.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/helper-b1488c6e.js","assets/Paginator-d7be1879.js","assets/index-2aede34f.js"]))}]},{title:"manage.sidemenu.users",icon:ne,to:"/@manage/users",component:n(()=>o(()=>import("./Users-1d354aa6.js"),["assets/Users-1d354aa6.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/DeletePopover-e2bc72bc.js","assets/Wether-cec2431e.js"]))},{title:"manage.sidemenu.storages",icon:Se,to:"/@manage/storages",component:n(()=>o(()=>import("./Storages-db44818f.js"),["assets/Storages-db44818f.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/DeletePopover-e2bc72bc.js"]))},{title:"manage.sidemenu.metas",icon:Oe,to:"/@manage/metas",component:n(()=>o(()=>import("./Metas-b6d9d48f.js"),["assets/Metas-b6d9d48f.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/DeletePopover-e2bc72bc.js","assets/Wether-cec2431e.js"]))},{title:"manage.sidemenu.indexes",icon:oe,to:"/@manage/indexes",component:n(()=>o(()=>import("./indexes-1ca95cdb.js"),["assets/indexes-1ca95cdb.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/Common-e2b8c16d.js","assets/useTitle-35e58701.js","assets/SettingItem-ceb3be8a.js","assets/item_type-32dc6fdf.js","assets/index-2aede34f.js","assets/ResponsiveGrid-dceace19.js","assets/index-4c139329.js"]))},{title:"manage.sidemenu.backup-restore",to:"/@manage/backup-restore",icon:we,component:n(()=>o(()=>import("./backup-restore-d8cba460.js"),["assets/backup-restore-d8cba460.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js","assets/index-502eb34e.js"]))},{title:"manage.sidemenu.about",icon:re,to:"/@manage/about",role:i.GUEST,component:n(()=>o(()=>import("./About-7f361461.js"),["assets/About-7f361461.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/useTitle-35e58701.js"]))},{title:"manage.sidemenu.docs",icon:Pe,to:"https://docs.openlist.team",role:i.GUEST,external:!0},{title:"manage.sidemenu.home",icon:ae,to:"/",role:i.GUEST,refresh:!0}],{isOpen:xe,onOpen:Me,onClose:V}=ie(),[Fe,Ne]=se(()=>ce.get("/auth/logout")),We=()=>{const e=_(),{to:r}=f(),a=async()=>{Ee(await Ne(),()=>{pe(),fe.success(e("manage.logout_success")),r("/@login?redirect=".concat(encodeURIComponent(location.pathname)))})};return t(l,{as:"header",position:"sticky",top:"0",left:"0",right:"0",zIndex:"$sticky",height:"64px",flexShrink:0,shadow:"$md",p:"$4",get bgColor(){return O("$background","$neutral2")()},get children(){return[t(A,{alignItems:"center",justifyContent:"space-between",h:"$full",get children(){return[t(m,{spacing:"$2",get children(){return[t(w,{"aria-label":"menu",get icon(){return t(De,{})},display:{"@sm":"none"},onClick:Me,size:"sm"}),t(h,{fontSize:"$xl",color:"$info9",cursor:"pointer",onClick:()=>{r("/@manage")},get children(){return e("manage.title")}})]}}),t(m,{spacing:"$1",get children(){return t(w,{"aria-label":"logout",get icon(){return t(le,{})},get loading(){return Fe()},onClick:a,size:"sm"})}})]}}),t(ue,{get opened(){return xe()},placement:"left",onClose:V,get children(){return[t(ge,{}),t(me,{get children(){return[t(de,{}),t(_e,{color:"$info9",get children(){return e("manage.title")}}),t(he,{get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}})]}})]}})]}})},Ue=[{to:"/storages/add",component:n(()=>o(()=>import("./AddOrEdit-675ebb84.js"),["assets/AddOrEdit-675ebb84.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-dceace19.js"]))},{to:"/storages/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-675ebb84.js"),["assets/AddOrEdit-675ebb84.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-dceace19.js"]))},{to:"/users/add",component:n(()=>o(()=>import("./AddOrEdit-f4ea1e3c.js"),["assets/AddOrEdit-f4ea1e3c.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/FolderTree-7c945f38.js","assets/index-2aede34f.js","assets/PublicKeys-41759309.js"]))},{to:"/users/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-f4ea1e3c.js"),["assets/AddOrEdit-f4ea1e3c.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/FolderTree-7c945f38.js","assets/index-2aede34f.js","assets/PublicKeys-41759309.js"]))},{to:"/metas/add",component:n(()=>o(()=>import("./AddOrEdit-a9c3618e.js"),["assets/AddOrEdit-a9c3618e.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/FolderTree-7c945f38.js","assets/index-2aede34f.js"]))},{to:"/metas/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-a9c3618e.js"),["assets/AddOrEdit-a9c3618e.js","assets/index-d81bedf4.js","assets/index-c0564af7.css","assets/FolderTree-7c945f38.js","assets/index-2aede34f.js"]))},{to:"/2fa",component:n(()=>o(()=>import("./2fa-93461ba3.js"),["assets/2fa-93461ba3.js","assets/index-d81bedf4.js","assets/index-c0564af7.css"]))},{to:"/messenger",component:n(()=>o(()=>import("./Messenger-67e2c81b.js"),["assets/Messenger-67e2c81b.js","assets/index-d81bedf4.js","assets/index-c0564af7.css"]))}],He=e=>(Re(e.title),t(I,{h:"$full",get children(){return t(h,{get children(){return e.title}})}})),B=(e,r=[])=>(e.forEach(a=>{a.children?B(a.children,r):r.push({to:Ae(a.to,"/@manage"),component:a.component||(()=>t(He,{get title(){return a.title},get to(){return a.to||"empty"}}))})}),r),Ye=B(R).concat(Ue),ze=()=>{const e=_();return Te(()=>e("manage.title")),t(l,{css:{"--hope-colors-background":"var(--hope-colors-loContrast)"},bgColor:"$background",w:"$full",get children(){return[t(We,{}),t(A,{w:"$full",h:"calc(100vh - 64px)",get children(){return[t(l,{display:{"@initial":"none","@sm":"block"},w:"$56",h:"$full",shadow:"$md",get bgColor(){return O("$background","$neutral2")()},overflowY:"auto",get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}}),t(l,{w:{"@initial":"$full","@sm":"calc(100% - 14rem)"},p:"$4",overflowY:"auto",get children(){return t(Ie,{get children(){return t(P,{each:Ye,children:r=>t(be,{get path(){return r.to},get component(){return r.component}})})}})}})]}})]}})},Qe=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));export{Ce as F,s as G,Qe as i};
@@ -1 +1 @@
1
- import{y as t,ag as e,aa as r}from"./index-ab115bbe.js";import n from"./Upload-8029ad48.js";import"./index-fb908a6f.js";const c=()=>t(r,{justifyContent:"center",h:"100vh",get children(){return t(e,{w:"$md",get children(){return t(n,{})}})}});export{c as default};
1
+ import{y as t,ag as e,aa as r}from"./index-d81bedf4.js";import n from"./Upload-b0113ec6.js";import"./index-71d8d81a.js";const c=()=>t(r,{justifyContent:"center",h:"100vh",get children(){return t(e,{w:"$md",get children(){return t(n,{})}})}});export{c as default};