@openlist-frontend/openlist-frontend 4.0.4 → 4.0.5
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.
- package/dist/VERSION +1 -1
- package/dist/assets/{2fa-e940f970.js → 2fa-6199c9ed.js} +1 -1
- package/dist/assets/{2fa-legacy-2fd1b468.js → 2fa-legacy-7536e64f.js} +1 -1
- package/dist/assets/{About-89998bdb.js → About-4bee39e3.js} +1 -1
- package/dist/assets/{About-legacy-c539385b.js → About-legacy-67908cfb.js} +1 -1
- package/dist/assets/{AddOrEdit-0e170473.js → AddOrEdit-157b4bfd.js} +1 -1
- package/dist/assets/{AddOrEdit-196d523f.js → AddOrEdit-6e1d9409.js} +1 -1
- package/dist/assets/{AddOrEdit-30d1638a.js → AddOrEdit-db54d2f9.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-4fd1c587.js → AddOrEdit-legacy-38704f8a.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-707ab33c.js → AddOrEdit-legacy-7406fed7.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-92128207.js → AddOrEdit-legacy-cc03c565.js} +1 -1
- package/dist/assets/{Common-818c5619.js → Common-450bee98.js} +1 -1
- package/dist/assets/{Common-legacy-8ba814c6.js → Common-legacy-93826114.js} +1 -1
- package/dist/assets/{Copy-7cddacfb.js → Copy-65b45192.js} +1 -1
- package/dist/assets/{Copy-legacy-c3c0b19c.js → Copy-legacy-5fdf9d47.js} +1 -1
- package/dist/assets/Decompress-5ccca926.js +1 -0
- package/dist/assets/{Decompress-legacy-2a172e8c.js → Decompress-legacy-8a1606b9.js} +1 -1
- package/dist/assets/{DeletePopover-2c3873a3.js → DeletePopover-ebc7a7fb.js} +1 -1
- package/dist/assets/{DeletePopover-legacy-f92e3ce1.js → DeletePopover-legacy-23237d7a.js} +1 -1
- package/dist/assets/File-fb0adc00.js +1 -0
- package/dist/assets/{File-legacy-fb063169.js → File-legacy-de6eafc9.js} +1 -1
- package/dist/assets/{Folder-148aa14e.js → Folder-3af8a260.js} +2 -2
- package/dist/assets/{Folder-legacy-9d135076.js → Folder-legacy-f6ee4bd6.js} +2 -2
- package/dist/assets/{FolderTree-9de1ab37.js → FolderTree-1a44a44d.js} +1 -1
- package/dist/assets/{FolderTree-legacy-d0f60485.js → FolderTree-legacy-fd63a766.js} +1 -1
- package/dist/assets/Grid-b6f2ce89.js +1 -0
- package/dist/assets/{Grid-legacy-2499932f.js → Grid-legacy-e37475fc.js} +1 -1
- package/dist/assets/{GridItem-790cac91.js → GridItem-2842cf34.js} +1 -1
- package/dist/assets/{GridItem-legacy-da545dc0.js → GridItem-legacy-f399498a.js} +1 -1
- package/dist/assets/{ImageWithError-af93a4e1.js → ImageWithError-9ed7f1a9.js} +1 -1
- package/dist/assets/{ImageWithError-legacy-9bc3f11d.js → ImageWithError-legacy-b50ae91c.js} +1 -1
- package/dist/assets/{Images-ff453caf.js → Images-65992347.js} +1 -1
- package/dist/assets/{Images-legacy-dc835978.js → Images-legacy-60682f48.js} +1 -1
- package/dist/assets/{Layout-ad2deee5.js → Layout-fe51806e.js} +2 -2
- package/dist/assets/{Layout-legacy-c3ce62b2.js → Layout-legacy-7eb8c952.js} +2 -2
- package/dist/assets/{List-5a1bae33.js → List-1be59122.js} +1 -1
- package/dist/assets/{List-legacy-3bb9bf4a.js → List-legacy-e12eb638.js} +1 -1
- package/dist/assets/{Messenger-8ec8b970.js → Messenger-cd3588e6.js} +1 -1
- package/dist/assets/{Messenger-legacy-8585c26d.js → Messenger-legacy-611e3d48.js} +1 -1
- package/dist/assets/{Metas-79ea178d.js → Metas-789ac893.js} +1 -1
- package/dist/assets/{Metas-legacy-53a363ad.js → Metas-legacy-dbad177e.js} +1 -1
- package/dist/assets/{Other-6d74c1cb.js → Other-2ace97b6.js} +1 -1
- package/dist/assets/{Other-legacy-77bcd588.js → Other-legacy-3c18cdfc.js} +1 -1
- package/dist/assets/{PackageDownload-e8132841.js → PackageDownload-c6a0da00.js} +1 -1
- package/dist/assets/{PackageDownload-legacy-50ccd1c4.js → PackageDownload-legacy-30918983.js} +1 -1
- package/dist/assets/{Paginator-e2a864f2.js → Paginator-d103f2ff.js} +1 -1
- package/dist/assets/{Paginator-legacy-4f14dee7.js → Paginator-legacy-fc6867fa.js} +1 -1
- package/dist/assets/{Password-f5526b0f.js → Password-48cf8322.js} +1 -1
- package/dist/assets/{Password-legacy-0a835b72.js → Password-legacy-ccc03021.js} +1 -1
- package/dist/assets/{Profile-5a83f592.js → Profile-1af97dfa.js} +1 -1
- package/dist/assets/{Profile-legacy-9fcfd352.js → Profile-legacy-8348b1bb.js} +1 -1
- package/dist/assets/{PublicKeys-19a81bcf.js → PublicKeys-964230d6.js} +1 -1
- package/dist/assets/{PublicKeys-legacy-d04e8eaa.js → PublicKeys-legacy-b991847d.js} +1 -1
- package/dist/assets/{ResponsiveGrid-3082e524.js → ResponsiveGrid-c660b42b.js} +1 -1
- package/dist/assets/{ResponsiveGrid-legacy-fcf10864.js → ResponsiveGrid-legacy-55f28044.js} +1 -1
- package/dist/assets/{S3-8d5f17a3.js → S3-8bbfb918.js} +1 -1
- package/dist/assets/{S3-legacy-59bfaeb3.js → S3-legacy-2c72eb53.js} +1 -1
- package/dist/assets/{SettingItem-70eb4ae2.js → SettingItem-7b154b19.js} +1 -1
- package/dist/assets/{SettingItem-legacy-861fcc82.js → SettingItem-legacy-aa1825fb.js} +1 -1
- package/dist/assets/{Storages-17c5796c.js → Storages-426c866c.js} +1 -1
- package/dist/assets/{Storages-legacy-47f744a8.js → Storages-legacy-d7dbb295.js} +1 -1
- package/dist/assets/Upload-5879c494.js +1 -0
- package/dist/assets/{Upload-8029ad48.js → Upload-fac9e504.js} +1 -1
- package/dist/assets/{Upload-legacy-8806ed2a.js → Upload-legacy-007fd76b.js} +1 -1
- package/dist/assets/{Upload-legacy-0312565f.js → Upload-legacy-9a68bf01.js} +1 -1
- package/dist/assets/{Users-1a219982.js → Users-8edeb6bf.js} +1 -1
- package/dist/assets/{Users-legacy-5bb8847b.js → Users-legacy-01bf5f48.js} +1 -1
- package/dist/assets/{Wether-8025708b.js → Wether-6d0fa0f0.js} +1 -1
- package/dist/assets/{Wether-legacy-fcc83b43.js → Wether-legacy-4dbdc21d.js} +1 -1
- package/dist/assets/{aliyun_office-f21c7d1e.js → aliyun_office-875b9979.js} +1 -1
- package/dist/assets/{aliyun_office-legacy-cef109fb.js → aliyun_office-legacy-15e0325d.js} +1 -1
- package/dist/assets/{aliyun_video-75848b44.js → aliyun_video-c99014c3.js} +1 -1
- package/dist/assets/{aliyun_video-legacy-ecf5d264.js → aliyun_video-legacy-5e024dcb.js} +1 -1
- package/dist/assets/{archive-9cc099f8.js → archive-62d253a7.js} +1 -1
- package/dist/assets/{archive-legacy-ce983444.js → archive-legacy-c91d2cfc.js} +1 -1
- package/dist/assets/{asciinema-db00c2d9.js → asciinema-2d067302.js} +1 -1
- package/dist/assets/{asciinema-legacy-ff18415a.js → asciinema-legacy-91fac8c6.js} +1 -1
- package/dist/assets/{audio-c9f8dcb6.js → audio-63f502da.js} +1 -1
- package/dist/assets/{audio-legacy-ed69ca29.js → audio-legacy-45cbcc4e.js} +1 -1
- package/dist/assets/{backup-restore-dafc7320.js → backup-restore-0aeb4d5f.js} +1 -1
- package/dist/assets/{backup-restore-legacy-7076d9f6.js → backup-restore-legacy-393f95ba.js} +1 -1
- package/dist/assets/entry-69834e7b.js +1 -0
- package/dist/assets/entry-d112e634.js +1 -0
- package/dist/assets/entry-legacy-2e63503e.js +1 -0
- package/dist/assets/entry-legacy-b7407e56.js +1 -0
- package/dist/assets/{flash-f2b4b335.js → flash-c29b68bf.js} +1 -1
- package/dist/assets/{flash-legacy-9a66f504.js → flash-legacy-abeaf349.js} +1 -1
- package/dist/assets/{heic-163fd56e.js → heic-1a77df15.js} +1 -1
- package/dist/assets/{heic-legacy-24569df3.js → heic-legacy-3c6f7bb5.js} +1 -1
- package/dist/assets/{helper-c9e49715.js → helper-5bf09953.js} +1 -1
- package/dist/assets/{helper-518d42f9.js → helper-c919e34e.js} +1 -1
- package/dist/assets/{helper-legacy-010acd73.js → helper-legacy-291a9b6d.js} +1 -1
- package/dist/assets/{helper-legacy-a4d25212.js → helper-legacy-6ad15964.js} +1 -1
- package/dist/assets/{hls-4d22ed99.js → hls-e57ba0ec.js} +1 -1
- package/dist/assets/{hls-legacy-edc88a4a.js → hls-legacy-0a2b5bc6.js} +1 -1
- package/dist/assets/{html-d1689566.js → html-33cb0e0d.js} +1 -1
- package/dist/assets/{html-legacy-a7d03a31.js → html-legacy-633be7d8.js} +1 -1
- package/dist/assets/{icon-43443c9b.js → icon-b516a923.js} +1 -1
- package/dist/assets/{icon-legacy-9c4f88cb.js → icon-legacy-f14c7703.js} +1 -1
- package/dist/assets/{image-ac9db3b1.js → image-19ccaaae.js} +1 -1
- package/dist/assets/{image-legacy-8614aac2.js → image-legacy-50d96617.js} +1 -1
- package/dist/assets/{index-0e91056f.js → index-3400cea2.js} +1 -1
- package/dist/assets/{index-c66c01aa.js → index-3b1abe07.js} +1 -1
- package/dist/assets/{index-5f8c2bf1.js → index-534efff5.js} +1 -1
- package/dist/assets/{index-5295a943.js → index-5fdd04f7.js} +1 -1
- package/dist/assets/{index-17197e68.js → index-7ab3d35b.js} +1 -1
- package/dist/assets/{index-d32f6f5f.js → index-99c43b40.js} +1 -1
- package/dist/assets/{index-89e25f40.js → index-a0638b88.js} +1 -1
- package/dist/assets/{index-fb908a6f.js → index-c9375034.js} +1 -1
- package/dist/assets/{index-d528480f.js → index-d43f3440.js} +1 -1
- package/dist/assets/{index-ab115bbe.js → index-ebb2e1ad.js} +2 -2
- package/dist/assets/{index-legacy-83f6d352.js → index-legacy-16ccbe96.js} +1 -1
- package/dist/assets/{index-legacy-1f04bc87.js → index-legacy-1e4593e9.js} +3 -3
- package/dist/assets/{index-legacy-c3bc6b51.js → index-legacy-46ebd4af.js} +1 -1
- package/dist/assets/{index-legacy-71cee8fb.js → index-legacy-4f0016ed.js} +1 -1
- package/dist/assets/{index-legacy-fb22bd14.js → index-legacy-74bc636e.js} +1 -1
- package/dist/assets/{index-legacy-3274dde9.js → index-legacy-8280e63e.js} +1 -1
- package/dist/assets/{index-legacy-887a8a59.js → index-legacy-9edb8124.js} +1 -1
- package/dist/assets/{index-legacy-f8fed7a6.js → index-legacy-b8f4b57c.js} +1 -1
- package/dist/assets/{index-legacy-2bf9588a.js → index-legacy-c93b9947.js} +1 -1
- package/dist/assets/{index-legacy-bab82b12.js → index-legacy-f67858f9.js} +1 -1
- package/dist/assets/{indexes-0bf9104f.js → indexes-c060677a.js} +1 -1
- package/dist/assets/{indexes-legacy-25986e6e.js → indexes-legacy-8e814ad5.js} +1 -1
- package/dist/assets/{ipa-5bc7b651.js → ipa-43021d6c.js} +1 -1
- package/dist/assets/{ipa-legacy-fa72ffed.js → ipa-legacy-97425003.js} +1 -1
- package/dist/assets/{markdown-b2e37b2e.js → markdown-ab00eaa0.js} +1 -1
- package/dist/assets/{markdown-legacy-d8ec5b7a.js → markdown-legacy-20f285db.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-f2170302.js → markdown_with_word_wrap-d0cae262.js} +1 -1
- package/dist/assets/{markdown_with_word_wrap-legacy-3db94788.js → markdown_with_word_wrap-legacy-1117b498.js} +1 -1
- package/dist/assets/offline_download-de036ef5.js +1 -0
- package/dist/assets/{offline_download-legacy-3225d665.js → offline_download-legacy-94d3d5e1.js} +1 -1
- package/dist/assets/plist-a194700a.js +1 -0
- package/dist/assets/{plist-legacy-431b26a0.js → plist-legacy-69ab4ae6.js} +1 -1
- package/dist/assets/{polyfills-legacy-84c7163c.js → polyfills-legacy-fa59231c.js} +1 -1
- package/dist/assets/{style-5c9bb055.js → style-b9ea5f4f.js} +1 -1
- package/dist/assets/{style-legacy-f3c5bf3f.js → style-legacy-eabb8d42.js} +1 -1
- package/dist/assets/{text-editor-c9d07d36.js → text-editor-ee442c77.js} +1 -1
- package/dist/assets/{text-editor-legacy-8e9eb77c.js → text-editor-legacy-d5b6ca9f.js} +1 -1
- package/dist/assets/{url-61e15d10.js → url-a7c81f5f.js} +1 -1
- package/dist/assets/{url-legacy-2ab85262.js → url-legacy-f729c809.js} +1 -1
- package/dist/assets/{useTitle-7f42a4a0.js → useTitle-e6838a6c.js} +1 -1
- package/dist/assets/{useTitle-legacy-d3fd3bb2.js → useTitle-legacy-b04d394f.js} +1 -1
- package/dist/assets/{video-87306fb5.js → video-89b66969.js} +1 -1
- package/dist/assets/{video-legacy-764c3da4.js → video-legacy-90466987.js} +1 -1
- package/dist/assets/{video360-2344185d.js → video360-6fa9ee8f.js} +1 -1
- package/dist/assets/{video360-legacy-03ec0e5f.js → video360-legacy-fab92613.js} +1 -1
- package/dist/assets/{video_box-5dc05430.js → video_box-91fb063a.js} +1 -1
- package/dist/assets/{video_box-legacy-530dc959.js → video_box-legacy-d84b7d99.js} +1 -1
- package/dist/i18n.tar.gz +0 -0
- package/dist/index.html +3 -3
- package/dist/lite/VERSION +1 -0
- package/dist/lite/assets/2fa-5ad6f9e4.js +1 -0
- package/dist/lite/assets/2fa-legacy-2fd288b7.js +1 -0
- package/dist/lite/assets/About-fb277475.js +1 -0
- package/dist/lite/assets/About-legacy-520a4221.js +1 -0
- package/dist/lite/assets/AddOrEdit-0f9961a3.js +1 -0
- package/dist/lite/assets/AddOrEdit-12cf2516.js +1 -0
- package/dist/lite/assets/AddOrEdit-1c448b6a.js +1 -0
- package/dist/lite/assets/AddOrEdit-legacy-6798d629.js +1 -0
- package/dist/lite/assets/AddOrEdit-legacy-a4cdee74.js +1 -0
- package/dist/lite/assets/AddOrEdit-legacy-e6ffe626.js +1 -0
- package/dist/lite/assets/Common-d80b34ab.js +1 -0
- package/dist/lite/assets/Common-legacy-2164b752.js +1 -0
- package/dist/lite/assets/Copy-1ea87765.js +1 -0
- package/dist/lite/assets/Copy-legacy-3443455a.js +1 -0
- package/dist/lite/assets/Decompress-d5f53066.js +1 -0
- package/dist/lite/assets/Decompress-legacy-71531bcb.js +1 -0
- package/dist/lite/assets/DeletePopover-e6aa8190.js +1 -0
- package/dist/lite/assets/DeletePopover-legacy-f168fee6.js +1 -0
- package/dist/{assets/File-6f69ae80.js → lite/assets/File-7976d82d.js} +1 -1
- package/dist/lite/assets/File-legacy-6437bc07.js +1 -0
- package/dist/lite/assets/Folder-431205a1.js +114 -0
- package/dist/lite/assets/Folder-6651c4e8.css +1 -0
- package/dist/lite/assets/Folder-legacy-39ea60cb.js +49 -0
- package/dist/lite/assets/FolderTree-0e14485a.js +1 -0
- package/dist/lite/assets/FolderTree-legacy-772f9e27.js +1 -0
- package/dist/lite/assets/Grid-58437f58.js +1 -0
- package/dist/lite/assets/Grid-legacy-dc5ccfb6.js +1 -0
- package/dist/lite/assets/GridItem-86e9b9d4.js +1 -0
- package/dist/lite/assets/GridItem-legacy-7d199479.js +1 -0
- package/dist/lite/assets/ImageWithError-aa488f14.js +1 -0
- package/dist/lite/assets/ImageWithError-legacy-1a56429b.js +1 -0
- package/dist/lite/assets/Images-8e90a7a1.js +1 -0
- package/dist/lite/assets/Images-legacy-97d31566.js +1 -0
- package/dist/lite/assets/Layout-07f5b121.js +5 -0
- package/dist/lite/assets/Layout-legacy-cb6ff3a1.js +6 -0
- package/dist/lite/assets/List-8f83d082.js +1 -0
- package/dist/lite/assets/List-legacy-b408aca0.js +1 -0
- package/dist/lite/assets/Messenger-66970fb8.js +1 -0
- package/dist/lite/assets/Messenger-legacy-c99ee3e5.js +1 -0
- package/dist/lite/assets/Metas-d24aec03.js +1 -0
- package/dist/lite/assets/Metas-legacy-bfcf17f6.js +1 -0
- package/dist/lite/assets/Other-7be950eb.js +1 -0
- package/dist/lite/assets/Other-legacy-9221528b.js +1 -0
- package/dist/lite/assets/PackageDownload-f05cba5c.js +1 -0
- package/dist/lite/assets/PackageDownload-legacy-90313839.js +1 -0
- package/dist/lite/assets/Paginator-bb1fc35e.js +1 -0
- package/dist/lite/assets/Paginator-legacy-29cfb767.js +1 -0
- package/dist/lite/assets/Password-0b8f5086.js +1 -0
- package/dist/lite/assets/Password-legacy-9ebe1df7.js +1 -0
- package/dist/lite/assets/Profile-8517a5cf.js +1 -0
- package/dist/lite/assets/Profile-legacy-bc4f0774.js +1 -0
- package/dist/lite/assets/PublicKeys-9c9a5d48.js +1 -0
- package/dist/lite/assets/PublicKeys-legacy-4160eda6.js +1 -0
- package/dist/lite/assets/ResponsiveGrid-6579ee84.js +1 -0
- package/dist/lite/assets/ResponsiveGrid-legacy-49d17ced.js +1 -0
- package/dist/lite/assets/S3-401d9db4.js +1 -0
- package/dist/lite/assets/S3-legacy-1dd122d0.js +1 -0
- package/dist/lite/assets/SettingItem-02493bf9.js +1 -0
- package/dist/lite/assets/SettingItem-legacy-dd989714.js +1 -0
- package/dist/lite/assets/Storages-ac590c17.js +1 -0
- package/dist/lite/assets/Storages-legacy-b1aeb27b.js +1 -0
- package/dist/lite/assets/Upload-0a579f7e.js +5 -0
- package/dist/lite/assets/Upload-6b9806e1.js +1 -0
- package/dist/lite/assets/Upload-legacy-3a257544.js +1 -0
- package/dist/lite/assets/Upload-legacy-90ce020b.js +6 -0
- package/dist/lite/assets/Users-83449423.js +1 -0
- package/dist/lite/assets/Users-legacy-c21a87e8.js +1 -0
- package/dist/lite/assets/Wether-8942a1ba.js +1 -0
- package/dist/lite/assets/Wether-legacy-98ba57de.js +1 -0
- package/dist/lite/assets/aliyun_office-1ca1adb5.js +1 -0
- package/dist/lite/assets/aliyun_office-legacy-8e62db4f.js +1 -0
- package/dist/lite/assets/aliyun_video-b8078e3a.js +1 -0
- package/dist/lite/assets/aliyun_video-legacy-0fee6c6f.js +1 -0
- package/dist/lite/assets/archive-bed92511.js +1 -0
- package/dist/lite/assets/archive-legacy-e6f76d6c.js +1 -0
- package/dist/lite/assets/asciinema-693672d2.js +1 -0
- package/dist/lite/assets/asciinema-9107553b.css +1 -0
- package/dist/lite/assets/asciinema-legacy-30459b12.js +1 -0
- package/dist/lite/assets/audio-43f4c02b.css +1 -0
- package/dist/lite/assets/audio-947f8685.js +1 -0
- package/dist/lite/assets/audio-legacy-94dbf472.js +1 -0
- package/dist/lite/assets/backup-restore-1c64bd21.js +1 -0
- package/dist/lite/assets/backup-restore-legacy-9be2d84e.js +1 -0
- package/dist/lite/assets/entry-19be961a.js +1 -0
- package/dist/lite/assets/entry-66db444a.js +1 -0
- package/dist/lite/assets/entry-legacy-0b760420.js +1 -0
- package/dist/lite/assets/entry-legacy-98b54dcd.js +1 -0
- package/dist/lite/assets/flash-530d0783.js +1 -0
- package/dist/lite/assets/flash-legacy-813cc292.js +1 -0
- package/dist/lite/assets/heic-8c1c6d5f.js +1 -0
- package/dist/lite/assets/heic-legacy-79f1750a.js +1 -0
- package/dist/lite/assets/helper-200d7750.js +1 -0
- package/dist/lite/assets/helper-57b2e8f8.js +1 -0
- package/dist/lite/assets/helper-legacy-0972b954.js +1 -0
- package/dist/lite/assets/helper-legacy-8a5ade97.js +1 -0
- package/dist/lite/assets/hls-b7cd2950.js +6 -0
- package/dist/lite/assets/hls-legacy-0b2f150f.js +8 -0
- package/dist/lite/assets/html-66de9a81.js +1 -0
- package/dist/lite/assets/html-legacy-0fd004cb.js +1 -0
- package/dist/lite/assets/icon-cd887adc.js +1 -0
- package/dist/lite/assets/icon-legacy-4ddd609a.js +1 -0
- package/dist/lite/assets/image-6ebb35f4.js +1 -0
- package/dist/lite/assets/image-legacy-0664f313.js +1 -0
- package/dist/lite/assets/index-1cb33dc7.js +1 -0
- package/dist/lite/assets/index-30b06bca.js +20 -0
- package/dist/lite/assets/index-55c23df0.js +1 -0
- package/dist/lite/assets/index-57ec8696.js +1 -0
- package/dist/lite/assets/index-73004303.js +14 -0
- package/dist/lite/assets/index-8952a6a7.js +1 -0
- package/dist/lite/assets/index-a18c5172.js +1 -0
- package/dist/lite/assets/index-b790a26c.js +1 -0
- package/dist/lite/assets/index-c0564af7.css +1 -0
- package/dist/lite/assets/index-c430df0d.js +1 -0
- package/dist/lite/assets/index-f564879e.js +1 -0
- package/dist/lite/assets/index-legacy-0aa5b14a.js +27 -0
- package/dist/lite/assets/index-legacy-22e929c6.js +1 -0
- package/dist/lite/assets/index-legacy-275e1f59.js +1 -0
- package/dist/lite/assets/index-legacy-387d8666.js +1 -0
- package/dist/lite/assets/index-legacy-4131bdaf.js +18 -0
- package/dist/lite/assets/index-legacy-4245df2f.js +1 -0
- package/dist/lite/assets/index-legacy-8b61a807.js +1 -0
- package/dist/lite/assets/index-legacy-94bb4d8b.js +1 -0
- package/dist/lite/assets/index-legacy-9b402cb0.js +1 -0
- package/dist/lite/assets/index-legacy-d787d60e.js +1 -0
- package/dist/lite/assets/indexes-0f73a8db.js +1 -0
- package/dist/lite/assets/indexes-legacy-328ac420.js +1 -0
- package/dist/lite/assets/ipa-bae46248.js +1 -0
- package/dist/lite/assets/ipa-legacy-c50cf57d.js +1 -0
- package/dist/lite/assets/item_type-32dc6fdf.js +1 -0
- package/dist/lite/assets/item_type-legacy-d49ae974.js +1 -0
- package/dist/lite/assets/lg-22b72ba5.ttf +0 -0
- package/dist/lite/assets/lg-f2fe1c00.svg +54 -0
- package/dist/lite/assets/lg-fefc5c0d.woff +0 -0
- package/dist/lite/assets/loading-298ad3ff.gif +0 -0
- package/dist/lite/assets/markdown-e425a3a1.js +1 -0
- package/dist/lite/assets/markdown-legacy-bde99c55.js +1 -0
- package/dist/lite/assets/markdown_with_word_wrap-cd21ff2a.js +1 -0
- package/dist/lite/assets/markdown_with_word_wrap-legacy-faf6a6a9.js +1 -0
- package/dist/lite/assets/offline_download-48c994e3.js +1 -0
- package/dist/lite/assets/offline_download-legacy-1b0a94f2.js +1 -0
- package/dist/lite/assets/plist-1def8fbd.js +1 -0
- package/dist/lite/assets/plist-legacy-7645e930.js +1 -0
- package/dist/lite/assets/polyfills-legacy-fa59231c.js +1 -0
- package/dist/lite/assets/style-a6d16836.css +1 -0
- package/dist/lite/assets/style-aaf6ac70.js +1 -0
- package/dist/lite/assets/style-legacy-9a91035c.js +1 -0
- package/dist/lite/assets/subtitles-octopus-worker-62892886.wasm +0 -0
- package/dist/lite/assets/subtitles-octopus-worker-f95f2186.js +1 -0
- package/dist/lite/assets/text-editor-eae5389b.js +1 -0
- package/dist/lite/assets/text-editor-legacy-d09631a9.js +1 -0
- package/dist/lite/assets/url-fd7eab80.js +1 -0
- package/dist/lite/assets/url-legacy-fedb58a7.js +1 -0
- package/dist/lite/assets/useTitle-59c90831.js +1 -0
- package/dist/lite/assets/useTitle-legacy-cfd161e5.js +1 -0
- package/dist/lite/assets/video-0c0a35c5.js +7 -0
- package/dist/lite/assets/video-legacy-c132c2b4.js +9 -0
- package/dist/lite/assets/video360-c202cd77.js +14 -0
- package/dist/lite/assets/video360-f0192288.css +1 -0
- package/dist/lite/assets/video360-legacy-a7fbdc03.js +16 -0
- package/dist/lite/assets/video_box-720e4445.js +6 -0
- package/dist/lite/assets/video_box-legacy-8e56c186.js +8 -0
- package/dist/lite/assets/webauthn-json.browser-ponyfill-29d8152c.js +1 -0
- package/dist/lite/assets/webauthn-json.browser-ponyfill-legacy-456cc8e1.js +1 -0
- package/dist/lite/i18n.tar.gz +0 -0
- package/dist/lite/images/figplayer.webp +0 -0
- package/dist/lite/images/fileball.webp +0 -0
- package/dist/lite/images/iPlay.webp +0 -0
- package/dist/lite/images/iina.webp +0 -0
- package/dist/lite/images/infuse.webp +0 -0
- package/dist/lite/images/mpv.webp +0 -0
- package/dist/lite/images/mxplayer-pro.webp +0 -0
- package/dist/lite/images/mxplayer.webp +0 -0
- package/dist/lite/images/nplayer.webp +0 -0
- package/dist/lite/images/omniplayer.webp +0 -0
- package/dist/lite/images/potplayer.webp +0 -0
- package/dist/lite/images/vlc.webp +0 -0
- package/dist/lite/index.html +81 -0
- package/dist/lite/static/epub.js/viewer.html +467 -0
- package/dist/lite/static/libheif/libheif.js +5962 -0
- package/dist/lite/static/libheif/libheif.wasm +0 -0
- package/dist/lite/static/manifest.json +13 -0
- package/dist/lite/streamer/mitm.html +186 -0
- package/dist/lite/streamer/sw.js +141 -0
- package/package.json +1 -1
- package/dist/assets/Decompress-6e76a195.js +0 -1
- package/dist/assets/Grid-e6b7b2a7.js +0 -1
- package/dist/assets/Upload-085f8347.js +0 -1
- package/dist/assets/entry-06c35cbb.js +0 -1
- package/dist/assets/entry-5fd69c51.js +0 -1
- package/dist/assets/entry-legacy-7d1c456d.js +0 -1
- package/dist/assets/entry-legacy-83684d8a.js +0 -1
- package/dist/assets/offline_download-b9febd2a.js +0 -1
- package/dist/assets/plist-dfabacec.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(r){return r&&r.Math===Math&&r},e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||t("object"==typeof r&&r)||function(){return this}()||Function("return this")(),n={},o=function(r){try{return!!r()}catch(t){return!0}},i=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),a=!o((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})),u=a,c=Function.prototype.call,f=u?c.bind(c):function(){return c.apply(c,arguments)},s={},h={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,p=l&&!h.call({1:2},1);s.f=p?function(r){var t=l(this,r);return!!t&&t.enumerable}:h;var d,y,v=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}},g=a,w=Function.prototype,m=w.call,b=g&&w.bind.bind(m,m),E=g?b:function(r){return function(){return m.apply(r,arguments)}},S=E,O=S({}.toString),A=S("".slice),I=function(r){return A(O(r),8,-1)},R=o,T=I,x=Object,_=E("".split),j=R((function(){return!x("z").propertyIsEnumerable(0)}))?function(r){return"String"===T(r)?_(r,""):x(r)}:x,k=function(r){return null==r},P=k,C=TypeError,D=function(r){if(P(r))throw new C("Can't call method on "+r);return r},N=j,U=D,M=function(r){return N(U(r))},L="object"==typeof document&&document.all,F=void 0===L&&void 0!==L?function(r){return"function"==typeof r||r===L}:function(r){return"function"==typeof r},B=F,z=function(r){return"object"==typeof r?null!==r:B(r)},W=e,H=F,V=function(r,t){return arguments.length<2?(e=W[r],H(e)?e:void 0):W[r]&&W[r][t];var e},Y=E({}.isPrototypeOf),G=e.navigator,$=G&&G.userAgent,q=$?String($):"",J=e,X=q,Q=J.process,Z=J.Deno,K=Q&&Q.versions||Z&&Z.version,rr=K&&K.v8;rr&&(y=(d=rr.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!y&&X&&(!(d=X.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=X.match(/Chrome\/(\d+)/))&&(y=+d[1]);var tr=y,er=tr,nr=o,or=e.String,ir=!!Object.getOwnPropertySymbols&&!nr((function(){var r=Symbol("symbol detection");return!or(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&er&&er<41})),ar=ir&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ur=V,cr=F,fr=Y,sr=Object,hr=ar?function(r){return"symbol"==typeof r}:function(r){var t=ur("Symbol");return cr(t)&&fr(t.prototype,sr(r))},lr=String,pr=function(r){try{return lr(r)}catch(t){return"Object"}},dr=F,yr=pr,vr=TypeError,gr=function(r){if(dr(r))return r;throw new vr(yr(r)+" is not a function")},wr=gr,mr=k,br=function(r,t){var e=r[t];return mr(e)?void 0:wr(e)},Er=f,Sr=F,Or=z,Ar=TypeError,Ir={exports:{}},Rr=e,Tr=Object.defineProperty,xr=function(r,t){try{Tr(Rr,r,{value:t,configurable:!0,writable:!0})}catch(e){Rr[r]=t}return t},_r=e,jr=xr,kr="__core-js_shared__",Pr=Ir.exports=_r[kr]||jr(kr,{});(Pr.versions||(Pr.versions=[])).push({version:"3.43.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Cr=Ir.exports,Dr=Cr,Nr=function(r,t){return Dr[r]||(Dr[r]=t||{})},Ur=D,Mr=Object,Lr=function(r){return Mr(Ur(r))},Fr=Lr,Br=E({}.hasOwnProperty),zr=Object.hasOwn||function(r,t){return Br(Fr(r),t)},Wr=E,Hr=0,Vr=Math.random(),Yr=Wr(1.1.toString),Gr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Yr(++Hr+Vr,36)},$r=Nr,qr=zr,Jr=Gr,Xr=ir,Qr=ar,Zr=e.Symbol,Kr=$r("wks"),rt=Qr?Zr.for||Zr:Zr&&Zr.withoutSetter||Jr,tt=function(r){return qr(Kr,r)||(Kr[r]=Xr&&qr(Zr,r)?Zr[r]:rt("Symbol."+r)),Kr[r]},et=f,nt=z,ot=hr,it=br,at=function(r,t){var e,n;if("string"===t&&Sr(e=r.toString)&&!Or(n=Er(e,r)))return n;if(Sr(e=r.valueOf)&&!Or(n=Er(e,r)))return n;if("string"!==t&&Sr(e=r.toString)&&!Or(n=Er(e,r)))return n;throw new Ar("Can't convert object to primitive value")},ut=TypeError,ct=tt("toPrimitive"),ft=function(r,t){if(!nt(r)||ot(r))return r;var e,n=it(r,ct);if(n){if(void 0===t&&(t="default"),e=et(n,r,t),!nt(e)||ot(e))return e;throw new ut("Can't convert object to primitive value")}return void 0===t&&(t="number"),at(r,t)},st=ft,ht=hr,lt=function(r){var t=st(r,"string");return ht(t)?t:t+""},pt=z,dt=e.document,yt=pt(dt)&&pt(dt.createElement),vt=function(r){return yt?dt.createElement(r):{}},gt=vt,wt=!i&&!o((function(){return 7!==Object.defineProperty(gt("div"),"a",{get:function(){return 7}}).a})),mt=i,bt=f,Et=s,St=v,Ot=M,At=lt,It=zr,Rt=wt,Tt=Object.getOwnPropertyDescriptor;n.f=mt?Tt:function(r,t){if(r=Ot(r),t=At(t),Rt)try{return Tt(r,t)}catch(e){}if(It(r,t))return St(!bt(Et.f,r,t),r[t])};var xt={},_t=i&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=z,kt=String,Pt=TypeError,Ct=function(r){if(jt(r))return r;throw new Pt(kt(r)+" is not an object")},Dt=i,Nt=wt,Ut=_t,Mt=Ct,Lt=lt,Ft=TypeError,Bt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Wt="enumerable",Ht="configurable",Vt="writable";xt.f=Dt?Ut?function(r,t,e){if(Mt(r),t=Lt(t),Mt(e),"function"==typeof r&&"prototype"===t&&"value"in e&&Vt in e&&!e[Vt]){var n=zt(r,t);n&&n[Vt]&&(r[t]=e.value,e={configurable:Ht in e?e[Ht]:n[Ht],enumerable:Wt in e?e[Wt]:n[Wt],writable:!1})}return Bt(r,t,e)}:Bt:function(r,t,e){if(Mt(r),t=Lt(t),Mt(e),Nt)try{return Bt(r,t,e)}catch(n){}if("get"in e||"set"in e)throw new Ft("Accessors not supported");return"value"in e&&(r[t]=e.value),r};var Yt=xt,Gt=v,$t=i?function(r,t,e){return Yt.f(r,t,Gt(1,e))}:function(r,t,e){return r[t]=e,r},qt={exports:{}},Jt=i,Xt=zr,Qt=Function.prototype,Zt=Jt&&Object.getOwnPropertyDescriptor,Kt=Xt(Qt,"name"),re={EXISTS:Kt,PROPER:Kt&&"something"===function(){}.name,CONFIGURABLE:Kt&&(!Jt||Jt&&Zt(Qt,"name").configurable)},te=F,ee=Cr,ne=E(Function.toString);te(ee.inspectSource)||(ee.inspectSource=function(r){return ne(r)});var oe,ie,ae,ue=ee.inspectSource,ce=F,fe=e.WeakMap,se=ce(fe)&&/native code/.test(String(fe)),he=Gr,le=Nr("keys"),pe=function(r){return le[r]||(le[r]=he(r))},de={},ye=se,ve=e,ge=z,we=$t,me=zr,be=Cr,Ee=pe,Se=de,Oe="Object already initialized",Ae=ve.TypeError,Ie=ve.WeakMap;if(ye||be.state){var Re=be.state||(be.state=new Ie);Re.get=Re.get,Re.has=Re.has,Re.set=Re.set,oe=function(r,t){if(Re.has(r))throw new Ae(Oe);return t.facade=r,Re.set(r,t),t},ie=function(r){return Re.get(r)||{}},ae=function(r){return Re.has(r)}}else{var Te=Ee("state");Se[Te]=!0,oe=function(r,t){if(me(r,Te))throw new Ae(Oe);return t.facade=r,we(r,Te,t),t},ie=function(r){return me(r,Te)?r[Te]:{}},ae=function(r){return me(r,Te)}}var xe={set:oe,get:ie,has:ae,enforce:function(r){return ae(r)?ie(r):oe(r,{})},getterFor:function(r){return function(t){var e;if(!ge(t)||(e=ie(t)).type!==r)throw new Ae("Incompatible receiver, "+r+" required");return e}}},_e=E,je=o,ke=F,Pe=zr,Ce=i,De=re.CONFIGURABLE,Ne=ue,Ue=xe.enforce,Me=xe.get,Le=String,Fe=Object.defineProperty,Be=_e("".slice),ze=_e("".replace),We=_e([].join),He=Ce&&!je((function(){return 8!==Fe((function(){}),"length",{value:8}).length})),Ve=String(String).split("String"),Ye=qt.exports=function(r,t,e){"Symbol("===Be(Le(t),0,7)&&(t="["+ze(Le(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!Pe(r,"name")||De&&r.name!==t)&&(Ce?Fe(r,"name",{value:t,configurable:!0}):r.name=t),He&&e&&Pe(e,"arity")&&r.length!==e.arity&&Fe(r,"length",{value:e.arity});try{e&&Pe(e,"constructor")&&e.constructor?Ce&&Fe(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=Ue(r);return Pe(n,"source")||(n.source=We(Ve,"string"==typeof t?t:"")),r};Function.prototype.toString=Ye((function(){return ke(this)&&Me(this).source||Ne(this)}),"toString");var Ge=qt.exports,$e=F,qe=xt,Je=Ge,Xe=xr,Qe=function(r,t,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if($e(e)&&Je(e,i,n),n.global)o?r[t]=e:Xe(t,e);else{try{n.unsafe?r[t]&&(o=!0):delete r[t]}catch(a){}o?r[t]=e:qe.f(r,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r},Ze={},Ke=Math.ceil,rn=Math.floor,tn=Math.trunc||function(r){var t=+r;return(t>0?rn:Ke)(t)},en=function(r){var t=+r;return t!=t||0===t?0:tn(t)},nn=en,on=Math.max,an=Math.min,un=en,cn=Math.min,fn=function(r){var t=un(r);return t>0?cn(t,9007199254740991):0},sn=fn,hn=function(r){return sn(r.length)},ln=M,pn=function(r,t){var e=nn(r);return e<0?on(e+t,0):an(e,t)},dn=hn,yn=function(r){return function(t,e,n){var o=ln(t),i=dn(o);if(0===i)return!r&&-1;var a,u=pn(n,i);if(r&&e!=e){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((r||u in o)&&o[u]===e)return r||u||0;return!r&&-1}},vn={includes:yn(!0),indexOf:yn(!1)},gn=zr,wn=M,mn=vn.indexOf,bn=de,En=E([].push),Sn=function(r,t){var e,n=wn(r),o=0,i=[];for(e in n)!gn(bn,e)&&gn(n,e)&&En(i,e);for(;t.length>o;)gn(n,e=t[o++])&&(~mn(i,e)||En(i,e));return i},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],An=Sn,In=On.concat("length","prototype");Ze.f=Object.getOwnPropertyNames||function(r){return An(r,In)};var Rn={};Rn.f=Object.getOwnPropertySymbols;var Tn=V,xn=Ze,_n=Rn,jn=Ct,kn=E([].concat),Pn=Tn("Reflect","ownKeys")||function(r){var t=xn.f(jn(r)),e=_n.f;return e?kn(t,e(r)):t},Cn=zr,Dn=Pn,Nn=n,Un=xt,Mn=function(r,t,e){for(var n=Dn(t),o=Un.f,i=Nn.f,a=0;a<n.length;a++){var u=n[a];Cn(r,u)||e&&Cn(e,u)||o(r,u,i(t,u))}},Ln=o,Fn=F,Bn=/#|\.prototype\./,zn=function(r,t){var e=Hn[Wn(r)];return e===Yn||e!==Vn&&(Fn(t)?Ln(t):!!t)},Wn=zn.normalize=function(r){return String(r).replace(Bn,".").toLowerCase()},Hn=zn.data={},Vn=zn.NATIVE="N",Yn=zn.POLYFILL="P",Gn=zn,$n=e,qn=n.f,Jn=$t,Xn=Qe,Qn=xr,Zn=Mn,Kn=Gn,ro=function(r,t){var e,n,o,i,a,u=r.target,c=r.global,f=r.stat;if(e=c?$n:f?$n[u]||Qn(u,{}):$n[u]&&$n[u].prototype)for(n in t){if(i=t[n],o=r.dontCallGetSet?(a=qn(e,n))&&a.value:e[n],!Kn(c?n:u+(f?".":"#")+n,r.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zn(i,o)}(r.sham||o&&o.sham)&&Jn(i,"sham",!0),Xn(e,n,i,r)}},to=I,eo=Array.isArray||function(r){return"Array"===to(r)},no=i,oo=eo,io=TypeError,ao=Object.getOwnPropertyDescriptor,uo=no&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}(),co=TypeError,fo=Lr,so=hn,ho=uo?function(r,t){if(oo(r)&&!ao(r,"length").writable)throw new io("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t},lo=function(r){if(r>9007199254740991)throw co("Maximum allowed index exceeded");return r};ro({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var t=fo(this),e=so(t),n=arguments.length;lo(e+n);for(var o=0;o<n;o++)t[e]=arguments[o],e++;return ho(t,e),e}});var po=Y,yo=TypeError,vo=function(r,t){if(po(t,r))return r;throw new yo("Incorrect invocation")},go=!o((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})),wo=zr,mo=F,bo=Lr,Eo=go,So=pe("IE_PROTO"),Oo=Object,Ao=Oo.prototype,Io=Eo?Oo.getPrototypeOf:function(r){var t=bo(r);if(wo(t,So))return t[So];var e=t.constructor;return mo(e)&&t instanceof e?e.prototype:t instanceof Oo?Ao:null},Ro=Ge,To=xt,xo=function(r,t,e){return e.get&&Ro(e.get,t,{getter:!0}),e.set&&Ro(e.set,t,{setter:!0}),To.f(r,t,e)},_o=i,jo=xt,ko=v,Po=function(r,t,e){_o?jo.f(r,t,ko(0,e)):r[t]=e},Co={},Do=Sn,No=On,Uo=Object.keys||function(r){return Do(r,No)},Mo=i,Lo=_t,Fo=xt,Bo=Ct,zo=M,Wo=Uo;Co.f=Mo&&!Lo?Object.defineProperties:function(r,t){Bo(r);for(var e,n=zo(t),o=Wo(t),i=o.length,a=0;i>a;)Fo.f(r,e=o[a++],n[e]);return r};var Ho,Vo=V("document","documentElement"),Yo=Ct,Go=Co,$o=On,qo=de,Jo=Vo,Xo=vt,Qo="prototype",Zo="script",Ko=pe("IE_PROTO"),ri=function(){},ti=function(r){return"<"+Zo+">"+r+"</"+Zo+">"},ei=function(r){r.write(ti("")),r.close();var t=r.parentWindow.Object;return r=null,t},ni=function(){try{Ho=new ActiveXObject("htmlfile")}catch(o){}var r,t,e;ni="undefined"!=typeof document?document.domain&&Ho?ei(Ho):(t=Xo("iframe"),e="java"+Zo+":",t.style.display="none",Jo.appendChild(t),t.src=String(e),(r=t.contentWindow.document).open(),r.write(ti("document.F=Object")),r.close(),r.F):ei(Ho);for(var n=$o.length;n--;)delete ni[Qo][$o[n]];return ni()};qo[Ko]=!0;var oi,ii,ai,ui=Object.create||function(r,t){var e;return null!==r?(ri[Qo]=Yo(r),e=new ri,ri[Qo]=null,e[Ko]=r):e=ni(),void 0===t?e:Go.f(e,t)},ci=o,fi=F,si=z,hi=Io,li=Qe,pi=tt("iterator"),di=!1;[].keys&&("next"in(ai=[].keys())?(ii=hi(hi(ai)))!==Object.prototype&&(oi=ii):di=!0);var yi=!si(oi)||ci((function(){var r={};return oi[pi].call(r)!==r}));yi&&(oi={}),fi(oi[pi])||li(oi,pi,(function(){return this}));var vi={IteratorPrototype:oi,BUGGY_SAFARI_ITERATORS:di},gi=ro,wi=e,mi=vo,bi=Ct,Ei=F,Si=Io,Oi=xo,Ai=Po,Ii=o,Ri=zr,Ti=vi.IteratorPrototype,xi=i,_i="constructor",ji="Iterator",ki=tt("toStringTag"),Pi=TypeError,Ci=wi[ji],Di=!Ei(Ci)||Ci.prototype!==Ti||!Ii((function(){Ci({})})),Ni=function(){if(mi(this,Ti),Si(this)===Ti)throw new Pi("Abstract class Iterator not directly constructable")},Ui=function(r,t){xi?Oi(Ti,r,{configurable:!0,get:function(){return t},set:function(t){if(bi(this),this===Ti)throw new Pi("You can't redefine this property");Ri(this,r)?this[r]=t:Ai(this,r,t)}}):Ti[r]=t};Ri(Ti,ki)||Ui(ki,ji),!Di&&Ri(Ti,_i)&&Ti[_i]!==Object||Ui(_i,Ni),Ni.prototype=Ti,gi({global:!0,constructor:!0,forced:Di},{Iterator:Ni});var Mi=function(r){return{iterator:r,next:r.next,done:!1}},Li=Qe,Fi=f,Bi=Ct,zi=br,Wi=function(r,t,e){var n,o;Bi(r);try{if(!(n=zi(r,"return"))){if("throw"===t)throw e;return e}n=Fi(n,r)}catch(i){o=!0,n=i}if("throw"===t)throw e;if(o)throw n;return Bi(n),e},Hi=Wi,Vi=f,Yi=ui,Gi=$t,$i=function(r,t,e){for(var n in t)Li(r,n,t[n],e);return r},qi=xe,Ji=br,Xi=vi.IteratorPrototype,Qi=function(r,t){return{value:r,done:t}},Zi=Wi,Ki=function(r,t,e){for(var n=r.length-1;n>=0;n--)if(void 0!==r[n])try{e=Hi(r[n].iterator,t,e)}catch(o){t="throw",e=o}if("throw"===t)throw e;return e},ra=tt("toStringTag"),ta="IteratorHelper",ea="WrapForValidIterator",na="normal",oa="throw",ia=qi.set,aa=function(r){var t=qi.getterFor(r?ea:ta);return $i(Yi(Xi),{next:function(){var e=t(this);if(r)return e.nextHandler();if(e.done)return Qi(void 0,!0);try{var n=e.nextHandler();return e.returnHandlerResult?n:Qi(n,e.done)}catch(o){throw e.done=!0,o}},return:function(){var e=t(this),n=e.iterator;if(e.done=!0,r){var o=Ji(n,"return");return o?Vi(o,n):Qi(void 0,!0)}if(e.inner)try{Zi(e.inner.iterator,na)}catch(i){return Zi(n,oa,i)}if(e.openIters)try{Ki(e.openIters,na)}catch(i){return Zi(n,oa,i)}return n&&Zi(n,na),Qi(void 0,!0)}})},ua=aa(!0),ca=aa(!1);Gi(ca,ra,"Iterator Helper");var fa=function(r,t,e){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?ea:ta,o.returnHandlerResult=!!e,o.nextHandler=r,o.counter=0,o.done=!1,ia(this,o)};return n.prototype=t?ua:ca,n},sa=Ct,ha=Wi,la=function(r,t,e,n){try{return n?t(sa(e)[0],e[1]):t(e)}catch(o){ha(r,"throw",o)}},pa=function(r,t){var e="function"==typeof Iterator&&Iterator.prototype[r];if(e)try{e.call({next:null},t).next()}catch(n){return!0}},da=e,ya=function(r,t){var e=da.Iterator,n=e&&e.prototype,o=n&&n[r],i=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){i=!0}},-1)}catch(a){a instanceof t||(i=!1)}if(!i)return o},va=ro,ga=f,wa=gr,ma=Ct,ba=Mi,Ea=fa,Sa=la,Oa=Wi,Aa=ya,Ia=!pa("filter",(function(){})),Ra=!Ia&&Aa("filter",TypeError),Ta=Ia||Ra,xa=Ea((function(){for(var r,t,e=this.iterator,n=this.predicate,o=this.next;;){if(r=ma(ga(o,e)),this.done=!!r.done)return;if(t=r.value,Sa(e,n,[t,this.counter++],!0))return t}}));va({target:"Iterator",proto:!0,real:!0,forced:Ta},{filter:function(r){ma(this);try{wa(r)}catch(t){Oa(this,"throw",t)}return Ra?ga(Ra,this,r):new xa(ba(this),{predicate:r})}});var _a=I,ja=E,ka=function(r){if("Function"===_a(r))return ja(r)},Pa=gr,Ca=a,Da=ka(ka.bind),Na=function(r,t){return Pa(r),void 0===t?r:Ca?Da(r,t):function(){return r.apply(t,arguments)}},Ua={},Ma=Ua,La=tt("iterator"),Fa=Array.prototype,Ba={};Ba[tt("toStringTag")]="z";var za="[object z]"===String(Ba),Wa=F,Ha=I,Va=tt("toStringTag"),Ya=Object,Ga="Arguments"===Ha(function(){return arguments}()),$a=za?Ha:function(r){var t,e,n;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=Ya(r),Va))?e:Ga?Ha(t):"Object"===(n=Ha(t))&&Wa(t.callee)?"Arguments":n},qa=$a,Ja=br,Xa=k,Qa=Ua,Za=tt("iterator"),Ka=function(r){if(!Xa(r))return Ja(r,Za)||Ja(r,"@@iterator")||Qa[qa(r)]},ru=f,tu=gr,eu=Ct,nu=pr,ou=Ka,iu=TypeError,au=Na,uu=f,cu=Ct,fu=pr,su=function(r){return void 0!==r&&(Ma.Array===r||Fa[La]===r)},hu=hn,lu=Y,pu=function(r,t){var e=arguments.length<2?ou(r):t;if(tu(e))return eu(ru(e,r));throw new iu(nu(r)+" is not iterable")},du=Ka,yu=Wi,vu=TypeError,gu=function(r,t){this.stopped=r,this.result=t},wu=gu.prototype,mu=function(r,t,e){var n,o,i,a,u,c,f,s=e&&e.that,h=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),p=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),y=au(t,s),v=function(r){return n&&yu(n,"normal"),new gu(!0,r)},g=function(r){return h?(cu(r),d?y(r[0],r[1],v):y(r[0],r[1])):d?y(r,v):y(r)};if(l)n=r.iterator;else if(p)n=r;else{if(!(o=du(r)))throw new vu(fu(r)+" is not iterable");if(su(o)){for(i=0,a=hu(r);a>i;i++)if((u=g(r[i]))&&lu(wu,u))return u;return new gu(!1)}n=pu(r,o)}for(c=l?r.next:n.next;!(f=uu(c,n)).done;){try{u=g(f.value)}catch(w){yu(n,"throw",w)}if("object"==typeof u&&u&&lu(wu,u))return u}return new gu(!1)},bu=ro,Eu=f,Su=mu,Ou=gr,Au=Ct,Iu=Mi,Ru=Wi,Tu=ya("forEach",TypeError);bu({target:"Iterator",proto:!0,real:!0,forced:Tu},{forEach:function(r){Au(this);try{Ou(r)}catch(n){Ru(this,"throw",n)}if(Tu)return Eu(Tu,this,r);var t=Iu(this),e=0;Su(t,(function(t){r(t,e++)}),{IS_RECORD:!0})}});var xu=ro,_u=f,ju=gr,ku=Ct,Pu=Mi,Cu=fa,Du=la,Nu=Wi,Uu=ya,Mu=!pa("map",(function(){})),Lu=!Mu&&Uu("map",TypeError),Fu=Mu||Lu,Bu=Cu((function(){var r=this.iterator,t=ku(_u(this.next,r));if(!(this.done=!!t.done))return Du(r,this.mapper,[t.value,this.counter++],!0)}));xu({target:"Iterator",proto:!0,real:!0,forced:Fu},{map:function(r){ku(this);try{ju(r)}catch(t){Nu(this,"throw",t)}return Lu?_u(Lu,this,r):new Bu(Pu(this),{mapper:r})}});var zu=ro,Wu=f,Hu=mu,Vu=gr,Yu=Ct,Gu=Mi,$u=Wi,qu=ya("some",TypeError);zu({target:"Iterator",proto:!0,real:!0,forced:qu},{some:function(r){Yu(this);try{Vu(r)}catch(n){$u(this,"throw",n)}if(qu)return Wu(qu,this,r);var t=Gu(this),e=0;return Hu(t,(function(t,n){if(r(t,e++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var Ju=hn,Xu=function(r,t,e){for(var n=0,o=arguments.length>2?e:Ju(t),i=new r(o);o>n;)i[n]=t[n++];return i},Qu=Na,Zu=j,Ku=Lr,rc=lt,tc=hn,ec=ui,nc=Xu,oc=Array,ic=E([].push),ac=tt,uc=ui,cc=xt.f,fc=ac("unscopables"),sc=Array.prototype;void 0===sc[fc]&&cc(sc,fc,{configurable:!0,value:uc(null)});var hc=function(r,t,e,n){for(var o,i,a,u=Ku(r),c=Zu(u),f=Qu(t,e),s=ec(null),h=tc(c),l=0;h>l;l++)a=c[l],(i=rc(f(a,l,u)))in s?ic(s[i],a):s[i]=[a];if(n&&(o=n(u))!==oc)for(i in s)s[i]=nc(o,s[i]);return s},lc=function(r){sc[fc][r]=!0};ro({target:"Array",proto:!0},{group:function(r){return hc(this,r,arguments.length>1?arguments[1]:void 0)}}),lc("group");var pc="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,dc=E,yc=gr,vc=function(r,t,e){try{return dc(yc(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(n){}},gc=e,wc=vc,mc=I,bc=gc.ArrayBuffer,Ec=gc.TypeError,Sc=bc&&wc(bc.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==mc(r))throw new Ec("ArrayBuffer expected");return r.byteLength},Oc=pc,Ac=Sc,Ic=e.DataView,Rc=function(r){if(!Oc||0!==Ac(r))return!1;try{return new Ic(r),!1}catch(t){return!0}},Tc=i,xc=xo,_c=Rc,jc=ArrayBuffer.prototype;Tc&&!("detached"in jc)&&xc(jc,"detached",{configurable:!0,get:function(){return _c(this)}});var kc,Pc,Cc,Dc,Nc=en,Uc=fn,Mc=RangeError,Lc=Rc,Fc=TypeError,Bc=function(r){if(Lc(r))throw new Fc("ArrayBuffer is detached");return r},zc=e,Wc=q,Hc=I,Vc=function(r){return Wc.slice(0,r.length)===r},Yc=Vc("Bun/")?"BUN":Vc("Cloudflare-Workers")?"CLOUDFLARE":Vc("Deno/")?"DENO":Vc("Node.js/")?"NODE":zc.Bun&&"string"==typeof Bun.version?"BUN":zc.Deno&&"object"==typeof Deno.version?"DENO":"process"===Hc(zc.process)?"NODE":zc.window&&zc.document?"BROWSER":"REST",Gc="NODE"===Yc,$c=e,qc=Gc,Jc=o,Xc=tr,Qc=Yc,Zc=e.structuredClone,Kc=!!Zc&&!Jc((function(){if("DENO"===Qc&&Xc>92||"NODE"===Qc&&Xc>94||"BROWSER"===Qc&&Xc>97)return!1;var r=new ArrayBuffer(8),t=Zc(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})),rf=e,tf=function(r){if(qc){try{return $c.process.getBuiltinModule(r)}catch(t){}try{return Function('return require("'+r+'")')()}catch(t){}}},ef=Kc,nf=rf.structuredClone,of=rf.ArrayBuffer,af=rf.MessageChannel,uf=!1;if(ef)uf=function(r){nf(r,{transfer:[r]})};else if(of)try{af||(kc=tf("worker_threads"))&&(af=kc.MessageChannel),af&&(Pc=new af,Cc=new of(2),Dc=function(r){Pc.port1.postMessage(null,[r])},2===Cc.byteLength&&(Dc(Cc),0===Cc.byteLength&&(uf=Dc)))}catch(Ew){}var cf=e,ff=E,sf=vc,hf=function(r){if(void 0===r)return 0;var t=Nc(r),e=Uc(t);if(t!==e)throw new Mc("Wrong length or index");return e},lf=Bc,pf=Sc,df=uf,yf=Kc,vf=cf.structuredClone,gf=cf.ArrayBuffer,wf=cf.DataView,mf=Math.min,bf=gf.prototype,Ef=wf.prototype,Sf=ff(bf.slice),Of=sf(bf,"resizable","get"),Af=sf(bf,"maxByteLength","get"),If=ff(Ef.getInt8),Rf=ff(Ef.setInt8),Tf=(yf||df)&&function(r,t,e){var n,o=pf(r),i=void 0===t?o:hf(t),a=!Of||!Of(r);if(lf(r),yf&&(r=vf(r,{transfer:[r]}),o===i&&(e||a)))return r;if(o>=i&&(!e||a))n=Sf(r,0,i);else{var u=e&&!a&&Af?{maxByteLength:Af(r)}:void 0;n=new gf(i,u);for(var c=new wf(r),f=new wf(n),s=mf(i,o),h=0;h<s;h++)Rf(f,h,If(c,h))}return yf||df(r),n},xf=Tf;xf&&ro({target:"ArrayBuffer",proto:!0},{transfer:function(){return xf(this,arguments.length?arguments[0]:void 0,!0)}});var _f=Tf;_f&&ro({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return _f(this,arguments.length?arguments[0]:void 0,!1)}});var jf=ro,kf=f,Pf=mu,Cf=gr,Df=Ct,Nf=Mi,Uf=Wi,Mf=ya("find",TypeError);jf({target:"Iterator",proto:!0,real:!0,forced:Mf},{find:function(r){Df(this);try{Cf(r)}catch(Ew){Uf(this,"throw",Ew)}if(Mf)return kf(Mf,this,r);var t=Nf(this),e=0;return Pf(t,(function(t,n){if(r(t,e++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}});var Lf=a,Ff=Function.prototype,Bf=Ff.apply,zf=Ff.call,Wf="object"==typeof Reflect&&Reflect.apply||(Lf?zf.bind(Bf):function(){return zf.apply(Bf,arguments)}),Hf=ro,Vf=mu,Yf=gr,Gf=Ct,$f=Mi,qf=Wi,Jf=ya,Xf=Wf,Qf=TypeError,Zf=o((function(){[].keys().reduce((function(){}),void 0)})),Kf=!Zf&&Jf("reduce",Qf);Hf({target:"Iterator",proto:!0,real:!0,forced:Zf||Kf},{reduce:function(r){Gf(this);try{Yf(r)}catch(Ew){qf(this,"throw",Ew)}var t=arguments.length<2,e=t?void 0:arguments[1];if(Kf)return Xf(Kf,this,t?[r]:[r,e]);var n=$f(this),o=0;if(Vf(n,(function(n){t?(t=!1,e=n):e=r(e,n,o),o++}),{IS_RECORD:!0}),t)throw new Qf("Reduce of empty iterator with no initial value");return e}});var rs=E,ts=Set.prototype,es={Set:Set,add:rs(ts.add),has:rs(ts.has),remove:rs(ts.delete),proto:ts},ns=es.has,os=function(r){return ns(r),r},is=f,as=function(r,t,e){for(var n,o,i=e?r:r.iterator,a=r.next;!(n=is(a,i)).done;)if(void 0!==(o=t(n.value)))return o},us=E,cs=as,fs=es.Set,ss=es.proto,hs=us(ss.forEach),ls=us(ss.keys),ps=ls(new fs).next,ds=function(r,t,e){return e?cs({iterator:ls(r),next:ps},t):hs(r,t)},ys=ds,vs=es.Set,gs=es.add,ws=function(r){var t=new vs;return ys(r,(function(r){gs(t,r)})),t},ms=vc(es.proto,"size","get")||function(r){return r.size},bs=gr,Es=Ct,Ss=f,Os=en,As=Mi,Is="Invalid size",Rs=RangeError,Ts=TypeError,xs=Math.max,_s=function(r,t){this.set=r,this.size=xs(t,0),this.has=bs(r.has),this.keys=bs(r.keys)};_s.prototype={getIterator:function(){return As(Es(Ss(this.keys,this.set)))},includes:function(r){return Ss(this.has,this.set,r)}};var js=function(r){Es(r);var t=+r.size;if(t!=t)throw new Ts(Is);var e=Os(t);if(e<0)throw new Rs(Is);return new _s(r,e)},ks=os,Ps=ws,Cs=ms,Ds=js,Ns=ds,Us=as,Ms=es.has,Ls=es.remove,Fs=V,Bs=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},zs=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}},Ws=function(r,t){var e=Fs("Set");try{(new e)[r](Bs(0));try{return(new e)[r](Bs(-1)),!1}catch(o){if(!t)return!0;try{return(new e)[r](zs(-1/0)),!1}catch(Ew){var n=new e;return n.add(1),n.add(2),t(n[r](zs(1/0)))}}}catch(Ew){return!1}},Hs=function(r){var t=ks(this),e=Ds(r),n=Ps(t);return Cs(t)<=e.size?Ns(t,(function(r){e.includes(r)&&Ls(n,r)})):Us(e.getIterator(),(function(r){Ms(n,r)&&Ls(n,r)})),n},Vs=o;ro({target:"Set",proto:!0,real:!0,forced:!Ws("difference",(function(r){return 0===r.size}))||Vs((function(){var r={size:1,has:function(){return!0},keys:function(){var r=0;return{next:function(){var e=r++>1;return t.has(1)&&t.clear(),{done:e,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size}))},{difference:Hs});var Ys=os,Gs=ms,$s=js,qs=ds,Js=as,Xs=es.Set,Qs=es.add,Zs=es.has,Ks=o,rh=function(r){var t=Ys(this),e=$s(r),n=new Xs;return Gs(t)>e.size?Js(e.getIterator(),(function(r){Zs(t,r)&&Qs(n,r)})):qs(t,(function(r){e.includes(r)&&Qs(n,r)})),n};ro({target:"Set",proto:!0,real:!0,forced:!Ws("intersection",(function(r){return 2===r.size&&r.has(1)&&r.has(2)}))||Ks((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:rh});var th=os,eh=es.has,nh=ms,oh=js,ih=ds,ah=as,uh=Wi,ch=function(r){var t=th(this),e=oh(r);if(nh(t)<=e.size)return!1!==ih(t,(function(r){if(e.includes(r))return!1}),!0);var n=e.getIterator();return!1!==ah(n,(function(r){if(eh(t,r))return uh(n,"normal",!1)}))};ro({target:"Set",proto:!0,real:!0,forced:!Ws("isDisjointFrom",(function(r){return!r}))},{isDisjointFrom:ch});var fh=os,sh=ms,hh=ds,lh=js,ph=function(r){var t=fh(this),e=lh(r);return!(sh(t)>e.size)&&!1!==hh(t,(function(r){if(!e.includes(r))return!1}),!0)};ro({target:"Set",proto:!0,real:!0,forced:!Ws("isSubsetOf",(function(r){return r}))},{isSubsetOf:ph});var dh=os,yh=es.has,vh=ms,gh=js,wh=as,mh=Wi,bh=function(r){var t=dh(this),e=gh(r);if(vh(t)<e.size)return!1;var n=e.getIterator();return!1!==wh(n,(function(r){if(!yh(t,r))return mh(n,"normal",!1)}))};ro({target:"Set",proto:!0,real:!0,forced:!Ws("isSupersetOf",(function(r){return!r}))},{isSupersetOf:bh});var Eh=os,Sh=ws,Oh=js,Ah=as,Ih=es.add,Rh=es.has,Th=es.remove,xh=function(r){try{var t=new Set,e={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[r](e);return 1!==n.size||4!==n.values().next().value}catch(Ew){return!1}},_h=function(r){var t=Eh(this),e=Oh(r).getIterator(),n=Sh(t);return Ah(e,(function(r){Rh(t,r)?Th(n,r):Ih(n,r)})),n},jh=xh;ro({target:"Set",proto:!0,real:!0,forced:!Ws("symmetricDifference")||!jh("symmetricDifference")},{symmetricDifference:_h});var kh=os,Ph=es.add,Ch=ws,Dh=js,Nh=as,Uh=function(r){var t=kh(this),e=Dh(r).getIterator(),n=Ch(t);return Nh(e,(function(r){Ph(n,r)})),n},Mh=xh;ro({target:"Set",proto:!0,real:!0,forced:!Ws("union")||!Mh("union")},{union:Uh});var Lh,Fh,Bh,zh=hn,Wh=z,Hh=function(r){return Wh(r)||null===r},Vh=String,Yh=TypeError,Gh=vc,$h=z,qh=D,Jh=function(r){if(Hh(r))return r;throw new Yh("Can't set "+Vh(r)+" as a prototype")},Xh=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=Gh(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(Ew){}return function(e,n){return qh(e),Jh(n),$h(e)?(t?r(e,n):e.__proto__=n,e):e}}():void 0),Qh=pc,Zh=i,Kh=e,rl=F,tl=z,el=zr,nl=$a,ol=pr,il=$t,al=Qe,ul=xo,cl=Y,fl=Io,sl=Xh,hl=tt,ll=Gr,pl=xe.enforce,dl=xe.get,yl=Kh.Int8Array,vl=yl&&yl.prototype,gl=Kh.Uint8ClampedArray,wl=gl&&gl.prototype,ml=yl&&fl(yl),bl=vl&&fl(vl),El=Object.prototype,Sl=Kh.TypeError,Ol=hl("toStringTag"),Al=ll("TYPED_ARRAY_TAG"),Il="TypedArrayConstructor",Rl=Qh&&!!sl&&"Opera"!==nl(Kh.opera),Tl=!1,xl={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},_l={BigInt64Array:8,BigUint64Array:8},jl=function(r){var t=fl(r);if(tl(t)){var e=dl(t);return e&&el(e,Il)?e[Il]:jl(t)}},kl=function(r){if(!tl(r))return!1;var t=nl(r);return el(xl,t)||el(_l,t)};for(Lh in xl)(Bh=(Fh=Kh[Lh])&&Fh.prototype)?pl(Bh)[Il]=Fh:Rl=!1;for(Lh in _l)(Bh=(Fh=Kh[Lh])&&Fh.prototype)&&(pl(Bh)[Il]=Fh);if((!Rl||!rl(ml)||ml===Function.prototype)&&(ml=function(){throw new Sl("Incorrect invocation")},Rl))for(Lh in xl)Kh[Lh]&&sl(Kh[Lh],ml);if((!Rl||!bl||bl===El)&&(bl=ml.prototype,Rl))for(Lh in xl)Kh[Lh]&&sl(Kh[Lh].prototype,bl);if(Rl&&fl(wl)!==bl&&sl(wl,bl),Zh&&!el(bl,Ol))for(Lh in Tl=!0,ul(bl,Ol,{configurable:!0,get:function(){return tl(this)?this[Al]:void 0}}),xl)Kh[Lh]&&il(Kh[Lh],Al,Lh);var Pl={NATIVE_ARRAY_BUFFER_VIEWS:Rl,TYPED_ARRAY_TAG:Tl&&Al,aTypedArray:function(r){if(kl(r))return r;throw new Sl("Target is not a typed array")},aTypedArrayConstructor:function(r){if(rl(r)&&(!sl||cl(ml,r)))return r;throw new Sl(ol(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(Zh){if(e)for(var o in xl){var i=Kh[o];if(i&&el(i.prototype,r))try{delete i.prototype[r]}catch(Ew){try{i.prototype[r]=t}catch(a){}}}bl[r]&&!e||al(bl,r,e?t:Rl&&vl[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(Zh){if(sl){if(e)for(n in xl)if((o=Kh[n])&&el(o,r))try{delete o[r]}catch(Ew){}if(ml[r]&&!e)return;try{return al(ml,r,e?t:Rl&&ml[r]||t)}catch(Ew){}}for(n in xl)!(o=Kh[n])||o[r]&&!e||al(o,r,t)}},getTypedArrayConstructor:jl,isView:function(r){if(!tl(r))return!1;var t=nl(r);return"DataView"===t||el(xl,t)||el(_l,t)},isTypedArray:kl,TypedArray:ml,TypedArrayPrototype:bl},Cl=function(r,t){for(var e=zh(r),n=new t(e),o=0;o<e;o++)n[o]=r[e-o-1];return n},Dl=Pl.aTypedArray,Nl=Pl.getTypedArrayConstructor;(0,Pl.exportTypedArrayMethod)("toReversed",(function(){return Cl(Dl(this),Nl(this))}));var Ul=gr,Ml=Xu,Ll=Pl.aTypedArray,Fl=Pl.getTypedArrayConstructor,Bl=Pl.exportTypedArrayMethod,zl=E(Pl.TypedArrayPrototype.sort);Bl("toSorted",(function(r){void 0!==r&&Ul(r);var t=Ll(this),e=Ml(Fl(t),t);return zl(e,r)}));var Wl=hn,Hl=en,Vl=RangeError,Yl=$a,Gl=ft,$l=TypeError,ql=function(r,t,e,n){var o=Wl(r),i=Hl(e),a=i<0?o+i:i;if(a>=o||a<0)throw new Vl("Incorrect index");for(var u=new t(o),c=0;c<o;c++)u[c]=c===a?n:r[c];return u},Jl=function(r){var t=Yl(r);return"BigInt64Array"===t||"BigUint64Array"===t},Xl=en,Ql=function(r){var t=Gl(r,"number");if("number"==typeof t)throw new $l("Can't convert number to bigint");return BigInt(t)},Zl=Pl.aTypedArray,Kl=Pl.getTypedArrayConstructor,rp=Pl.exportTypedArrayMethod,tp=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(Ew){return 8===Ew}}(),ep=tp&&function(){try{new Int8Array(1).with(-.5,1)}catch(Ew){return!0}}();rp("with",{with:function(r,t){var e=Zl(this),n=Xl(r),o=Jl(e)?Ql(t):+t;return ql(e,Kl(e),n,o)}}.with,!tp||ep);var np=$a,op=String,ip=function(r){if("Symbol"===np(r))throw new TypeError("Cannot convert a Symbol value to a string");return op(r)},ap=E,up=zr,cp=SyntaxError,fp=parseInt,sp=String.fromCharCode,hp=ap("".charAt),lp=ap("".slice),pp=ap(/./.exec),dp={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},yp=/^[\da-f]{4}$/i,vp=/^[\u0000-\u001F]$/,gp=ro,wp=i,mp=e,bp=V,Ep=E,Sp=f,Op=F,Ap=z,Ip=eo,Rp=zr,Tp=ip,xp=hn,_p=Po,jp=o,kp=function(r,t){for(var e=!0,n="";t<r.length;){var o=hp(r,t);if("\\"===o){var i=lp(r,t,t+2);if(up(dp,i))n+=dp[i],t+=2;else{if("\\u"!==i)throw new cp('Unknown escape sequence: "'+i+'"');var a=lp(r,t+=2,t+4);if(!pp(yp,a))throw new cp("Bad Unicode escape at: "+t);n+=sp(fp(a,16)),t+=4}}else{if('"'===o){e=!1,t++;break}if(pp(vp,o))throw new cp("Bad control character in string literal at: "+t);n+=o,t++}}if(e)throw new cp("Unterminated string at: "+t);return{value:n,end:t}},Pp=ir,Cp=mp.JSON,Dp=mp.Number,Np=mp.SyntaxError,Up=Cp&&Cp.parse,Mp=bp("Object","keys"),Lp=Object.getOwnPropertyDescriptor,Fp=Ep("".charAt),Bp=Ep("".slice),zp=Ep(/./.exec),Wp=Ep([].push),Hp=/^\d$/,Vp=/^[1-9]$/,Yp=/^[\d-]$/,Gp=/^[\t\n\r ]$/,$p=function(r,t,e,n){var o,i,a,u,c,f=r[t],s=n&&f===n.value,h=s&&"string"==typeof n.source?{source:n.source}:{};if(Ap(f)){var l=Ip(f),p=s?n.nodes:l?[]:{};if(l)for(o=p.length,a=xp(f),u=0;u<a;u++)qp(f,u,$p(f,""+u,e,u<o?p[u]:void 0));else for(i=Mp(f),a=xp(i),u=0;u<a;u++)c=i[u],qp(f,c,$p(f,c,e,Rp(p,c)?p[c]:void 0))}return Sp(e,r,t,f,h)},qp=function(r,t,e){if(wp){var n=Lp(r,t);if(n&&!n.configurable)return}void 0===e?delete r[t]:_p(r,t,e)},Jp=function(r,t,e,n){this.value=r,this.end=t,this.source=e,this.nodes=n},Xp=function(r,t){this.source=r,this.index=t};Xp.prototype={fork:function(r){return new Xp(this.source,r)},parse:function(){var r=this.source,t=this.skip(Gp,this.index),e=this.fork(t),n=Fp(r,t);if(zp(Yp,n))return e.number();switch(n){case"{":return e.object();case"[":return e.array();case'"':return e.string();case"t":return e.keyword(!0);case"f":return e.keyword(!1);case"n":return e.keyword(null)}throw new Np('Unexpected character: "'+n+'" at: '+t)},node:function(r,t,e,n,o){return new Jp(t,n,r?null:Bp(this.source,e,n),o)},object:function(){for(var r=this.source,t=this.index+1,e=!1,n={},o={};t<r.length;){if(t=this.until(['"',"}"],t),"}"===Fp(r,t)&&!e){t++;break}var i=this.fork(t).string(),a=i.value;t=i.end,t=this.until([":"],t)+1,t=this.skip(Gp,t),i=this.fork(t).parse(),_p(o,a,i),_p(n,a,i.value),t=this.until([",","}"],i.end);var u=Fp(r,t);if(","===u)e=!0,t++;else if("}"===u){t++;break}}return this.node(1,n,this.index,t,o)},array:function(){for(var r=this.source,t=this.index+1,e=!1,n=[],o=[];t<r.length;){if(t=this.skip(Gp,t),"]"===Fp(r,t)&&!e){t++;break}var i=this.fork(t).parse();if(Wp(o,i),Wp(n,i.value),t=this.until([",","]"],i.end),","===Fp(r,t))e=!0,t++;else if("]"===Fp(r,t)){t++;break}}return this.node(1,n,this.index,t,o)},string:function(){var r=this.index,t=kp(this.source,this.index+1);return this.node(0,t.value,r,t.end)},number:function(){var r=this.source,t=this.index,e=t;if("-"===Fp(r,e)&&e++,"0"===Fp(r,e))e++;else{if(!zp(Vp,Fp(r,e)))throw new Np("Failed to parse number at: "+e);e=this.skip(Hp,e+1)}if(("."===Fp(r,e)&&(e=this.skip(Hp,e+1)),"e"===Fp(r,e)||"E"===Fp(r,e))&&(e++,"+"!==Fp(r,e)&&"-"!==Fp(r,e)||e++,e===(e=this.skip(Hp,e))))throw new Np("Failed to parse number's exponent value at: "+e);return this.node(0,Dp(Bp(r,t,e)),t,e)},keyword:function(r){var t=""+r,e=this.index,n=e+t.length;if(Bp(this.source,e,n)!==t)throw new Np("Failed to parse value at: "+e);return this.node(0,r,e,n)},skip:function(r,t){for(var e=this.source;t<e.length&&zp(r,Fp(e,t));t++);return t},until:function(r,t){t=this.skip(Gp,t);for(var e=Fp(this.source,t),n=0;n<r.length;n++)if(r[n]===e)return t;throw new Np('Unexpected character: "'+e+'" at: '+t)}};var Qp=jp((function(){var r,t="9007199254740993";return Up(t,(function(t,e,n){r=n.source})),r!==t})),Zp=Pp&&!jp((function(){return 1/Up("-0 \t")!=-1/0}));gp({target:"JSON",stat:!0,forced:Qp},{parse:function(r,t){return Zp&&!Op(t)?Up(r):function(r,t){r=Tp(r);var e=new Xp(r,0),n=e.parse(),o=n.value,i=e.skip(Gp,n.end);if(i<r.length)throw new Np('Unexpected extra character: "'+Fp(r,i)+'" after the parsed data at: '+i);return Op(t)?$p({"":o},"",t,n):o}(r,t)}});var Kp=z,rd=String,td=TypeError,ed=function(r){if(void 0===r||Kp(r))return r;throw new td(rd(r)+" is not an object or undefined")},nd=TypeError,od=function(r){if("string"==typeof r)return r;throw new nd("Argument is not a string")},id="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ad=id+"+/",ud=id+"-_",cd=function(r){for(var t={},e=0;e<64;e++)t[r.charAt(e)]=e;return t},fd={i2c:ad,c2i:cd(ad),i2cUrl:ud,c2iUrl:cd(ud)},sd=TypeError,hd=function(r){var t=r&&r.alphabet;if(void 0===t||"base64"===t||"base64url"===t)return t||"base64";throw new sd("Incorrect `alphabet` option")},ld=e,pd=E,dd=ed,yd=od,vd=zr,gd=hd,wd=Bc,md=fd.c2i,bd=fd.c2iUrl,Ed=ld.SyntaxError,Sd=ld.TypeError,Od=pd("".charAt),Ad=function(r,t){for(var e=r.length;t<e;t++){var n=Od(r,t);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return t},Id=function(r,t,e){var n=r.length;n<4&&(r+=2===n?"AA":"A");var o=(t[Od(r,0)]<<18)+(t[Od(r,1)]<<12)+(t[Od(r,2)]<<6)+t[Od(r,3)],i=[o>>16&255,o>>8&255,255&o];if(2===n){if(e&&0!==i[1])throw new Ed("Extra bits");return[i[0]]}if(3===n){if(e&&0!==i[2])throw new Ed("Extra bits");return[i[0],i[1]]}return i},Rd=function(r,t,e){for(var n=t.length,o=0;o<n;o++)r[e+o]=t[o];return e+n},Td=$a,xd=TypeError,_d=function(r){if("Uint8Array"===Td(r))return r;throw new xd("Argument is not an Uint8Array")},jd=ro,kd=function(r,t,e,n){yd(r),dd(t);var o="base64"===gd(t)?md:bd,i=t?t.lastChunkHandling:void 0;if(void 0===i&&(i="loose"),"loose"!==i&&"strict"!==i&&"stop-before-partial"!==i)throw new Sd("Incorrect `lastChunkHandling` option");e&&wd(e.buffer);var a=e||[],u=0,c=0,f="",s=0;if(n)for(;;){if((s=Ad(r,s))===r.length){if(f.length>0){if("stop-before-partial"===i)break;if("loose"!==i)throw new Ed("Missing padding");if(1===f.length)throw new Ed("Malformed padding: exactly one additional character");u=Rd(a,Id(f,o,!1),u)}c=r.length;break}var h=Od(r,s);if(++s,"="===h){if(f.length<2)throw new Ed("Padding is too early");if(s=Ad(r,s),2===f.length){if(s===r.length){if("stop-before-partial"===i)break;throw new Ed("Malformed padding: only one =")}"="===Od(r,s)&&(++s,s=Ad(r,s))}if(s<r.length)throw new Ed("Unexpected character after padding");u=Rd(a,Id(f,o,"strict"===i),u),c=r.length;break}if(!vd(o,h))throw new Ed("Unexpected character");var l=n-u;if(1===l&&2===f.length||2===l&&3===f.length)break;if(4===(f+=h).length&&(u=Rd(a,Id(f,o,!1),u),f="",c=s,u===n))break}return{bytes:a,read:c,written:u}},Pd=_d,Cd=e.Uint8Array,Dd=!Cd||!Cd.prototype.setFromBase64||!function(){var r=new Cd([255,255,255,255,255]);try{r.setFromBase64("MjYyZg===")}catch(Ew){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();Cd&&jd({target:"Uint8Array",proto:!0,forced:Dd},{setFromBase64:function(r){Pd(this);var t=kd(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}});var Nd=e,Ud=E,Md=Nd.Uint8Array,Ld=Nd.SyntaxError,Fd=Nd.parseInt,Bd=Math.min,zd=/[^\da-f]/i,Wd=Ud(zd.exec),Hd=Ud("".slice),Vd=ro,Yd=od,Gd=_d,$d=Bc,qd=function(r,t){var e=r.length;if(e%2!=0)throw new Ld("String should be an even number of characters");for(var n=t?Bd(t.length,e/2):e/2,o=t||new Md(n),i=0,a=0;a<n;){var u=Hd(r,i,i+=2);if(Wd(zd,u))throw new Ld("String should only contain hex characters");o[a++]=Fd(u,16)}return{bytes:o,read:i}};e.Uint8Array&&Vd({target:"Uint8Array",proto:!0},{setFromHex:function(r){Gd(this),Yd(r),$d(this.buffer);var t=qd(r,this).read;return{read:t,written:t/2}}});var Jd=ro,Xd=e,Qd=ed,Zd=_d,Kd=Bc,ry=hd,ty=fd.i2c,ey=fd.i2cUrl,ny=E("".charAt);Xd.Uint8Array&&Jd({target:"Uint8Array",proto:!0},{toBase64:function(){var r=Zd(this),t=arguments.length?Qd(arguments[0]):void 0,e="base64"===ry(t)?ty:ey,n=!!t&&!!t.omitPadding;Kd(this.buffer);for(var o,i="",a=0,u=r.length,c=function(r){return ny(e,o>>6*r&63)};a+2<u;a+=3)o=(r[a]<<16)+(r[a+1]<<8)+r[a+2],i+=c(3)+c(2)+c(1)+c(0);return a+2===u?(o=(r[a]<<16)+(r[a+1]<<8),i+=c(3)+c(2)+c(1)+(n?"":"=")):a+1===u&&(o=r[a]<<16,i+=c(3)+c(2)+(n?"":"==")),i}});var oy=ro,iy=e,ay=_d,uy=Bc,cy=E(1.1.toString);iy.Uint8Array&&oy({target:"Uint8Array",proto:!0},{toHex:function(){ay(this),uy(this.buffer);for(var r="",t=0,e=this.length;t<e;t++){var n=cy(this[t],16);r+=1===n.length?"0"+n:n}return r}});var fy=TypeError,sy=function(r,t){if(r<t)throw new fy("Not enough arguments");return r},hy=Qe,ly=E,py=ip,dy=sy,yy=URLSearchParams,vy=yy.prototype,gy=ly(vy.append),wy=ly(vy.delete),my=ly(vy.forEach),by=ly([].push),Ey=new yy("a=1&a=2&b=3");Ey.delete("a",1),Ey.delete("b",void 0),Ey+""!="a=2"&&hy(vy,"delete",(function(r){var t=arguments.length,e=t<2?void 0:arguments[1];if(t&&void 0===e)return wy(this,r);var n=[];my(this,(function(r,t){by(n,{key:t,value:r})})),dy(t,1);for(var o,i=py(r),a=py(e),u=0,c=0,f=!1,s=n.length;u<s;)o=n[u++],f||o.key===i?(f=!0,wy(this,o.key)):c++;for(;c<s;)(o=n[c++]).key===i&&o.value===a||gy(this,o.key,o.value)}),{enumerable:!0,unsafe:!0});var Sy=Qe,Oy=E,Ay=ip,Iy=sy,Ry=URLSearchParams,Ty=Ry.prototype,xy=Oy(Ty.getAll),_y=Oy(Ty.has),jy=new Ry("a=1");!jy.has("a",2)&&jy.has("a",void 0)||Sy(Ty,"has",(function(r){var t=arguments.length,e=t<2?void 0:arguments[1];if(t&&void 0===e)return _y(this,r);var n=xy(this,r);Iy(t,1);for(var o=Ay(e),i=0;i<n.length;)if(n[i++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0});var ky=i,Py=E,Cy=xo,Dy=URLSearchParams.prototype,Ny=Py(Dy.forEach);ky&&!("size"in Dy)&&Cy(Dy,"size",{get:function(){var r=0;return Ny(this,(function(){r++})),r},configurable:!0,enumerable:!0});var Uy=ro,My=f,Ly=mu,Fy=gr,By=Ct,zy=Mi,Wy=Wi,Hy=ya("every",TypeError);Uy({target:"Iterator",proto:!0,real:!0,forced:Hy},{every:function(r){By(this);try{Fy(r)}catch(Ew){Wy(this,"throw",Ew)}if(Hy)return My(Hy,this,r);var t=zy(this),e=0;return!Ly(t,(function(t,n){if(!r(t,e++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var Vy=Error,Yy=E("".replace),Gy=String(new Vy("zxcasd").stack),$y=/\n\s*at [^:]*:[^\n]*/,qy=$y.test(Gy),Jy=function(r,t){if(qy&&"string"==typeof r&&!Vy.prepareStackTrace)for(;t--;)r=Yy(r,$y,"");return r},Xy=v,Qy=!o((function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",Xy(1,7)),7!==r.stack)})),Zy=$t,Ky=Jy,rv=Qy,tv=Error.captureStackTrace,ev=ip,nv=function(r,t){return void 0===r?arguments.length<2?"":t:ev(r)},ov=ro,iv=Y,av=Io,uv=Xh,cv=Mn,fv=ui,sv=$t,hv=v,lv=function(r,t,e,n){rv&&(tv?tv(r,t):Zy(r,"stack",Ky(e,n)))},pv=nv,dv=tt,yv=o,vv=e.SuppressedError,gv=dv("toStringTag"),wv=Error,mv=!!vv&&3!==vv.length,bv=!!vv&&yv((function(){return 4===new vv(1,2,3,{cause:4}).cause})),Ev=mv||bv,Sv=function(r,t,e){var n,o=iv(Ov,this);return uv?n=!Ev||o&&av(this)!==Ov?uv(new wv,o?av(this):Ov):new vv:(n=o?this:fv(Ov),sv(n,gv,"Error")),void 0!==e&&sv(n,"message",pv(e)),lv(n,Sv,n.stack,1),sv(n,"error",r),sv(n,"suppressed",t),n};uv?uv(Sv,wv):cv(Sv,wv,{name:!0});var Ov=Sv.prototype=Ev?vv.prototype:fv(wv.prototype,{constructor:hv(1,Sv),message:hv(1,""),name:hv(1,"SuppressedError")});Ev&&(Ov.constructor=Sv),ov({global:!0,constructor:!0,arity:3,forced:Ev},{SuppressedError:Sv});var Av=F,Iv=z,Rv=Xh,Tv=ro,xv=e,_v=V,jv=v,kv=xt.f,Pv=zr,Cv=vo,Dv=function(r,t,e){var n,o;return Rv&&Av(n=t.constructor)&&n!==e&&Iv(o=n.prototype)&&o!==e.prototype&&Rv(r,o),r},Nv=nv,Uv={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Mv=Jy,Lv=i,Fv="DOMException",Bv=_v("Error"),zv=_v(Fv),Wv=function(){Cv(this,Hv);var r=arguments.length,t=Nv(r<1?void 0:arguments[0]),e=Nv(r<2?void 0:arguments[1],"Error"),n=new zv(t,e),o=new Bv(t);return o.name=Fv,kv(n,"stack",jv(1,Mv(o.stack,1))),Dv(n,this,Wv),n},Hv=Wv.prototype=zv.prototype,Vv="stack"in new Bv(Fv),Yv="stack"in new zv(1,2),Gv=zv&&Lv&&Object.getOwnPropertyDescriptor(xv,Fv),$v=!(!Gv||Gv.writable&&Gv.configurable),qv=Vv&&!$v&&!Yv;Tv({global:!0,constructor:!0,forced:qv},{DOMException:qv?Wv:zv});var Jv=_v(Fv),Xv=Jv.prototype;if(Xv.constructor!==Jv)for(var Qv in kv(Xv,"constructor",jv(1,Jv)),Uv)if(Pv(Uv,Qv)){var Zv=Uv[Qv],Kv=Zv.s;Pv(Jv,Kv)||kv(Jv,Kv,jv(6,Zv.c))}var rg=RangeError,tg=en,eg=RangeError,ng=ro,og=f,ig=Ct,ag=Mi,ug=function(r){if(r==r)return r;throw new rg("NaN is not allowed")},cg=function(r){var t=tg(r);if(t<0)throw new eg("The argument can't be less than 0");return t},fg=Wi,sg=fa,hg=ya,lg=!pa("drop",0),pg=!lg&&hg("drop",RangeError),dg=lg||pg,yg=sg((function(){for(var r,t=this.iterator,e=this.next;this.remaining;)if(this.remaining--,r=ig(og(e,t)),this.done=!!r.done)return;if(r=ig(og(e,t)),!(this.done=!!r.done))return r.value}));ng({target:"Iterator",proto:!0,real:!0,forced:dg},{drop:function(r){var t;ig(this);try{t=cg(ug(+r))}catch(Ew){fg(this,"throw",Ew)}return pg?og(pg,this,t):new yg(ag(this),{remaining:t})}});var vg=o,gg=e.RegExp,wg=!vg((function(){var r=!0;try{gg(".","d")}catch(Ew){r=!1}var t={},e="",n=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in r&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(gg.prototype,"flags").get.call(t)!==n||e!==n})),mg=Ct,bg=xo,Eg={correct:wg},Sg=function(){var r=mg(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t};i&&!Eg.correct&&(bg(RegExp.prototype,"flags",{configurable:!0,get:Sg}),Eg.correct=!0);var Og,Ag,Ig,Rg,Tg=E([].slice),xg=/(?:ipad|iphone|ipod).*applewebkit/i.test(q),_g=e,jg=Wf,kg=Na,Pg=F,Cg=zr,Dg=o,Ng=Vo,Ug=Tg,Mg=vt,Lg=sy,Fg=xg,Bg=Gc,zg=_g.setImmediate,Wg=_g.clearImmediate,Hg=_g.process,Vg=_g.Dispatch,Yg=_g.Function,Gg=_g.MessageChannel,$g=_g.String,qg=0,Jg={},Xg="onreadystatechange";Dg((function(){Og=_g.location}));var Qg=function(r){if(Cg(Jg,r)){var t=Jg[r];delete Jg[r],t()}},Zg=function(r){return function(){Qg(r)}},Kg=function(r){Qg(r.data)},rw=function(r){_g.postMessage($g(r),Og.protocol+"//"+Og.host)};zg&&Wg||(zg=function(r){Lg(arguments.length,1);var t=Pg(r)?r:Yg(r),e=Ug(arguments,1);return Jg[++qg]=function(){jg(t,void 0,e)},Ag(qg),qg},Wg=function(r){delete Jg[r]},Bg?Ag=function(r){Hg.nextTick(Zg(r))}:Vg&&Vg.now?Ag=function(r){Vg.now(Zg(r))}:Gg&&!Fg?(Rg=(Ig=new Gg).port2,Ig.port1.onmessage=Kg,Ag=kg(Rg.postMessage,Rg)):_g.addEventListener&&Pg(_g.postMessage)&&!_g.importScripts&&Og&&"file:"!==Og.protocol&&!Dg(rw)?(Ag=rw,_g.addEventListener("message",Kg,!1)):Ag=Xg in Mg("script")?function(r){Ng.appendChild(Mg("script"))[Xg]=function(){Ng.removeChild(this),Qg(r)}}:function(r){setTimeout(Zg(r),0)});var tw={set:zg,clear:Wg},ew=tw.clear;ro({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==ew},{clearImmediate:ew});var nw=e,ow=Wf,iw=F,aw=Yc,uw=q,cw=Tg,fw=sy,sw=nw.Function,hw=/MSIE .\./.test(uw)||"BUN"===aw&&function(){var r=nw.Bun.version.split(".");return r.length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2])}(),lw=ro,pw=e,dw=tw.set,yw=function(r,t){var e=t?2:1;return hw?function(n,o){var i=fw(arguments.length,1)>e,a=iw(n)?n:sw(n),u=i?cw(arguments,e):[],c=i?function(){ow(a,this,u)}:a;return t?r(c,o):r(c)}:r},vw=pw.setImmediate?yw(dw,!1):dw;lw({global:!0,bind:!0,enumerable:!0,forced:pw.setImmediate!==vw},{setImmediate:vw});var gw=Ct,ww=mu,mw=Mi,bw=[].push;ro({target:"Iterator",proto:!0,real:!0},{toArray:function(){var r=[];return ww(mw(gw(this)),bw,{that:r,IS_RECORD:!0}),r}}),function(){function t(r,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+r+")"}function e(r,t){if(-1!==r.indexOf("\\")&&(r=r.replace(A,"/")),"/"===r[0]&&"/"===r[1])return t.slice(0,t.indexOf(":")+1)+r;if("."===r[0]&&("/"===r[1]||"."===r[1]&&("/"===r[2]||2===r.length&&(r+="/"))||1===r.length&&(r+="/"))||"/"===r[0]){var e,n=t.slice(0,t.indexOf(":")+1);if(e="/"===t[n.length+1]?"file:"!==n?(e=t.slice(n.length+2)).slice(e.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===r[0])return t.slice(0,t.length-e.length-1)+r;for(var o=e.slice(0,e.lastIndexOf("/")+1)+r,i=[],a=-1,u=0;u<o.length;u++)-1!==a?"/"===o[u]&&(i.push(o.slice(a,u+1)),a=-1):"."===o[u]?"."!==o[u+1]||"/"!==o[u+2]&&u+2!==o.length?"/"===o[u+1]||u+1===o.length?u+=1:a=u:(i.pop(),u+=2):a=u;return-1!==a&&i.push(o.slice(a)),t.slice(0,t.length-e.length)+i.join("")}}function n(r,t){return e(r,t)||(-1!==r.indexOf(":")?r:e("./"+r,t))}function o(r,t,n,o,i){for(var a in r){var u=e(a,n)||a,s=r[a];if("string"==typeof s){var h=f(o,e(s,n)||s,i);h?t[u]=h:c("W1",a,s)}}}function i(r,t,e){var i;for(i in r.imports&&o(r.imports,e.imports,t,e,null),r.scopes||{}){var a=n(i,t);o(r.scopes[i],e.scopes[a]||(e.scopes[a]={}),t,e,a)}for(i in r.depcache||{})e.depcache[n(i,t)]=r.depcache[i];for(i in r.integrity||{})e.integrity[n(i,t)]=r.integrity[i]}function a(r,t){if(t[r])return r;var e=r.length;do{var n=r.slice(0,e+1);if(n in t)return n}while(-1!==(e=r.lastIndexOf("/",e-1)))}function u(r,t){var e=a(r,t);if(e){var n=t[e];if(null===n)return;if(!(r.length>e.length&&"/"!==n[n.length-1]))return n+r.slice(e.length);c("W2",e,n)}}function c(r,e,n){console.warn(t(r,[n,e].join(", ")))}function f(r,t,e){for(var n=r.scopes,o=e&&a(e,n);o;){var i=u(t,n[o]);if(i)return i;o=a(o.slice(0,o.lastIndexOf("/")),n)}return u(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[R]={}}function h(r,e,n,o){var i=r[R][e];if(i)return i;var a=[],u=Object.create(null);I&&Object.defineProperty(u,I,{value:"Module"});var c=Promise.resolve().then((function(){return r.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(t(2,e));var o=n[1]((function(r,t){i.h=!0;var e=!1;if("string"==typeof r)r in u&&u[r]===t||(u[r]=t,e=!0);else{for(var n in r)t=r[n],n in u&&u[n]===t||(u[n]=t,e=!0);r&&r.__esModule&&(u.__esModule=r.__esModule)}if(e)for(var o=0;o<a.length;o++){var c=a[o];c&&c(u)}return t}),2===n[1].length?{import:function(t,n){return r.import(t,e,n)},meta:r.createContext(e)}:void 0);return i.e=o.execute||function(){},[n[0],o.setters||[],n[2]||[]]}),(function(r){throw i.e=null,i.er=r,r})),f=c.then((function(t){return Promise.all(t[0].map((function(n,o){var i=t[1][o],a=t[2][o];return Promise.resolve(r.resolve(n,e)).then((function(t){var n=h(r,t,e,a);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(r){i.d=r}))}));return i=r[R][e]={id:e,i:a,n:u,m:o,I:c,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function l(r,t,e,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=e),Promise.all(t.d.map((function(t){return l(r,t,e,n)})))})).catch((function(r){if(t.er)throw r;throw t.e=null,r}))}function p(r,t){return t.C=l(r,t,t,{}).then((function(){return d(r,t,{})})).then((function(){return t.n}))}function d(r,t,e){function n(){try{var r=i.call(x);if(r)return r=r.then((function(){t.C=t.n,t.E=null}),(function(r){throw t.er=r,t.E=null,r})),t.E=r;t.C=t.n,t.L=t.I=void 0}catch(e){throw t.er=e,e}}if(!e[t.id]){if(e[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o,i=t.e;return t.e=null,t.d.forEach((function(n){try{var i=d(r,n,e);i&&(o=o||[]).push(i)}catch(u){throw t.er=u,u}})),o?Promise.all(o).then(n):n()}}function y(){[].forEach.call(document.querySelectorAll("script"),(function(r){if(!r.sp)if("systemjs-module"===r.type){if(r.sp=!0,!r.src)return;System.import("import:"===r.src.slice(0,7)?r.src.slice(7):n(r.src,v)).catch((function(t){if(t.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),r.dispatchEvent(e)}return Promise.reject(t)}))}else if("systemjs-importmap"===r.type){r.sp=!0;var e=r.src?(System.fetch||fetch)(r.src,{integrity:r.integrity,priority:r.fetchPriority,passThrough:!0}).then((function(r){if(!r.ok)throw Error(r.status);return r.text()})).catch((function(e){return e.message=t("W4",r.src)+"\n"+e.message,console.warn(e),"function"==typeof r.onerror&&r.onerror(),"{}"})):r.innerHTML;k=k.then((function(){return e})).then((function(e){!function(r,e,n){var o={};try{o=JSON.parse(e)}catch(u){console.warn(Error(t("W5")))}i(o,n,r)}(P,e,r.src||v)}))}}))}var v,g="undefined"!=typeof Symbol,w="undefined"!=typeof self,m="undefined"!=typeof document,b=w?self:r;if(m){var E=document.querySelector("base[href]");E&&(v=E.href)}if(!v&&"undefined"!=typeof location){var S=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==S&&(v=v.slice(0,S+1))}var O,A=/\\/g,I=g&&Symbol.toStringTag,R=g?Symbol():"@",T=s.prototype;T.import=function(r,t,e){var n=this;return t&&"object"==typeof t&&(e=t,t=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(r,t,e)})).then((function(r){var t=h(n,r,void 0,e);return t.C||p(n,t)}))},T.createContext=function(r){var t=this;return{url:r,resolve:function(e,n){return Promise.resolve(t.resolve(e,n||r))}}},T.register=function(r,t,e){O=[r,t,e]},T.getRegister=function(){var r=O;return O=void 0,r};var x=Object.freeze(Object.create(null));b.System=new s;var _,j,k=Promise.resolve(),P={imports:{},scopes:{},depcache:{},integrity:{}},C=m;if(T.prepareImport=function(r){return(C||r)&&(y(),C=!1),k},T.getImportMap=function(){return JSON.parse(JSON.stringify(P))},m&&(y(),window.addEventListener("DOMContentLoaded",y)),T.addImportMap=function(r,t){i(r,t||v,P)},m){window.addEventListener("error",(function(r){N=r.filename,U=r.error}));var D=location.origin}T.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(D+"/")&&(t.crossOrigin="anonymous");var e=P.integrity[r];return e&&(t.integrity=e),t.src=r,t};var N,U,M={},L=T.register;T.register=function(r,t){if(m&&"loading"===document.readyState&&"string"!=typeof r){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){_=r;var o=this;j=setTimeout((function(){M[n.src]=[r,t],o.import(n.src)}))}}else _=void 0;return L.call(this,r,t)},T.instantiate=function(r,e){var n=M[r];if(n)return delete M[r],n;var o=this;return Promise.resolve(T.createScript(r)).then((function(n){return new Promise((function(i,a){n.addEventListener("error",(function(){a(Error(t(3,[r,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),N===r)a(U);else{var t=o.getRegister(r);t&&t[0]===_&&clearTimeout(j),i(t)}})),document.head.appendChild(n)}))}))},T.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(T.fetch=fetch);var F=T.instantiate,B=/^(text|application)\/(x-)?javascript(;|$)/;T.instantiate=function(r,e,n){var o=this;return this.shouldFetch(r,e,n)?this.fetch(r,{credentials:"same-origin",integrity:P.integrity[r],meta:n}).then((function(n){if(!n.ok)throw Error(t(7,[n.status,n.statusText,r,e].join(", ")));var i=n.headers.get("content-type");if(!i||!B.test(i))throw Error(t(4,i));return n.text().then((function(t){return t.indexOf("//# sourceURL=")<0&&(t+="\n//# sourceURL="+r),(0,eval)(t),o.getRegister(r)}))})):F.apply(this,arguments)},T.resolve=function(r,n){return f(P,e(r,n=n||v)||r,n)||function(r,e){throw Error(t(8,[r,e].join(", ")))}(r,n)};var z=T.instantiate;T.instantiate=function(r,t,e){var n=P.depcache[r];if(n)for(var o=0;o<n.length;o++)h(this,this.resolve(n[o],r),r);return z.call(this,r,t,e)},w&&"function"==typeof importScripts&&(T.instantiate=function(r){var t=this;return Promise.resolve().then((function(){return importScripts(r),t.getRegister(r)}))})}()}();
|
|
1
|
+
!function(){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(r){return r&&r.Math===Math&&r},e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||t("object"==typeof r&&r)||function(){return this}()||Function("return this")(),n={},o=function(r){try{return!!r()}catch(t){return!0}},i=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),a=!o((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})),u=a,c=Function.prototype.call,f=u?c.bind(c):function(){return c.apply(c,arguments)},s={},h={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,p=l&&!h.call({1:2},1);s.f=p?function(r){var t=l(this,r);return!!t&&t.enumerable}:h;var d,y,v=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}},g=a,w=Function.prototype,m=w.call,b=g&&w.bind.bind(m,m),E=g?b:function(r){return function(){return m.apply(r,arguments)}},S=E,O=S({}.toString),A=S("".slice),I=function(r){return A(O(r),8,-1)},R=o,T=I,x=Object,_=E("".split),j=R((function(){return!x("z").propertyIsEnumerable(0)}))?function(r){return"String"===T(r)?_(r,""):x(r)}:x,k=function(r){return null==r},P=k,C=TypeError,D=function(r){if(P(r))throw new C("Can't call method on "+r);return r},N=j,U=D,M=function(r){return N(U(r))},L="object"==typeof document&&document.all,F=void 0===L&&void 0!==L?function(r){return"function"==typeof r||r===L}:function(r){return"function"==typeof r},B=F,z=function(r){return"object"==typeof r?null!==r:B(r)},W=e,H=F,V=function(r,t){return arguments.length<2?(e=W[r],H(e)?e:void 0):W[r]&&W[r][t];var e},Y=E({}.isPrototypeOf),G=e.navigator,$=G&&G.userAgent,q=$?String($):"",J=e,X=q,Q=J.process,Z=J.Deno,K=Q&&Q.versions||Z&&Z.version,rr=K&&K.v8;rr&&(y=(d=rr.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!y&&X&&(!(d=X.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=X.match(/Chrome\/(\d+)/))&&(y=+d[1]);var tr=y,er=tr,nr=o,or=e.String,ir=!!Object.getOwnPropertySymbols&&!nr((function(){var r=Symbol("symbol detection");return!or(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&er&&er<41})),ar=ir&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ur=V,cr=F,fr=Y,sr=Object,hr=ar?function(r){return"symbol"==typeof r}:function(r){var t=ur("Symbol");return cr(t)&&fr(t.prototype,sr(r))},lr=String,pr=function(r){try{return lr(r)}catch(t){return"Object"}},dr=F,yr=pr,vr=TypeError,gr=function(r){if(dr(r))return r;throw new vr(yr(r)+" is not a function")},wr=gr,mr=k,br=function(r,t){var e=r[t];return mr(e)?void 0:wr(e)},Er=f,Sr=F,Or=z,Ar=TypeError,Ir={exports:{}},Rr=e,Tr=Object.defineProperty,xr=function(r,t){try{Tr(Rr,r,{value:t,configurable:!0,writable:!0})}catch(e){Rr[r]=t}return t},_r=e,jr=xr,kr="__core-js_shared__",Pr=Ir.exports=_r[kr]||jr(kr,{});(Pr.versions||(Pr.versions=[])).push({version:"3.43.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Cr=Ir.exports,Dr=Cr,Nr=function(r,t){return Dr[r]||(Dr[r]=t||{})},Ur=D,Mr=Object,Lr=function(r){return Mr(Ur(r))},Fr=Lr,Br=E({}.hasOwnProperty),zr=Object.hasOwn||function(r,t){return Br(Fr(r),t)},Wr=E,Hr=0,Vr=Math.random(),Yr=Wr(1.1.toString),Gr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Yr(++Hr+Vr,36)},$r=Nr,qr=zr,Jr=Gr,Xr=ir,Qr=ar,Zr=e.Symbol,Kr=$r("wks"),rt=Qr?Zr.for||Zr:Zr&&Zr.withoutSetter||Jr,tt=function(r){return qr(Kr,r)||(Kr[r]=Xr&&qr(Zr,r)?Zr[r]:rt("Symbol."+r)),Kr[r]},et=f,nt=z,ot=hr,it=br,at=function(r,t){var e,n;if("string"===t&&Sr(e=r.toString)&&!Or(n=Er(e,r)))return n;if(Sr(e=r.valueOf)&&!Or(n=Er(e,r)))return n;if("string"!==t&&Sr(e=r.toString)&&!Or(n=Er(e,r)))return n;throw new Ar("Can't convert object to primitive value")},ut=TypeError,ct=tt("toPrimitive"),ft=function(r,t){if(!nt(r)||ot(r))return r;var e,n=it(r,ct);if(n){if(void 0===t&&(t="default"),e=et(n,r,t),!nt(e)||ot(e))return e;throw new ut("Can't convert object to primitive value")}return void 0===t&&(t="number"),at(r,t)},st=ft,ht=hr,lt=function(r){var t=st(r,"string");return ht(t)?t:t+""},pt=z,dt=e.document,yt=pt(dt)&&pt(dt.createElement),vt=function(r){return yt?dt.createElement(r):{}},gt=vt,wt=!i&&!o((function(){return 7!==Object.defineProperty(gt("div"),"a",{get:function(){return 7}}).a})),mt=i,bt=f,Et=s,St=v,Ot=M,At=lt,It=zr,Rt=wt,Tt=Object.getOwnPropertyDescriptor;n.f=mt?Tt:function(r,t){if(r=Ot(r),t=At(t),Rt)try{return Tt(r,t)}catch(e){}if(It(r,t))return St(!bt(Et.f,r,t),r[t])};var xt={},_t=i&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=z,kt=String,Pt=TypeError,Ct=function(r){if(jt(r))return r;throw new Pt(kt(r)+" is not an object")},Dt=i,Nt=wt,Ut=_t,Mt=Ct,Lt=lt,Ft=TypeError,Bt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Wt="enumerable",Ht="configurable",Vt="writable";xt.f=Dt?Ut?function(r,t,e){if(Mt(r),t=Lt(t),Mt(e),"function"==typeof r&&"prototype"===t&&"value"in e&&Vt in e&&!e[Vt]){var n=zt(r,t);n&&n[Vt]&&(r[t]=e.value,e={configurable:Ht in e?e[Ht]:n[Ht],enumerable:Wt in e?e[Wt]:n[Wt],writable:!1})}return Bt(r,t,e)}:Bt:function(r,t,e){if(Mt(r),t=Lt(t),Mt(e),Nt)try{return Bt(r,t,e)}catch(n){}if("get"in e||"set"in e)throw new Ft("Accessors not supported");return"value"in e&&(r[t]=e.value),r};var Yt=xt,Gt=v,$t=i?function(r,t,e){return Yt.f(r,t,Gt(1,e))}:function(r,t,e){return r[t]=e,r},qt={exports:{}},Jt=i,Xt=zr,Qt=Function.prototype,Zt=Jt&&Object.getOwnPropertyDescriptor,Kt=Xt(Qt,"name"),re={EXISTS:Kt,PROPER:Kt&&"something"===function(){}.name,CONFIGURABLE:Kt&&(!Jt||Jt&&Zt(Qt,"name").configurable)},te=F,ee=Cr,ne=E(Function.toString);te(ee.inspectSource)||(ee.inspectSource=function(r){return ne(r)});var oe,ie,ae,ue=ee.inspectSource,ce=F,fe=e.WeakMap,se=ce(fe)&&/native code/.test(String(fe)),he=Gr,le=Nr("keys"),pe=function(r){return le[r]||(le[r]=he(r))},de={},ye=se,ve=e,ge=z,we=$t,me=zr,be=Cr,Ee=pe,Se=de,Oe="Object already initialized",Ae=ve.TypeError,Ie=ve.WeakMap;if(ye||be.state){var Re=be.state||(be.state=new Ie);Re.get=Re.get,Re.has=Re.has,Re.set=Re.set,oe=function(r,t){if(Re.has(r))throw new Ae(Oe);return t.facade=r,Re.set(r,t),t},ie=function(r){return Re.get(r)||{}},ae=function(r){return Re.has(r)}}else{var Te=Ee("state");Se[Te]=!0,oe=function(r,t){if(me(r,Te))throw new Ae(Oe);return t.facade=r,we(r,Te,t),t},ie=function(r){return me(r,Te)?r[Te]:{}},ae=function(r){return me(r,Te)}}var xe={set:oe,get:ie,has:ae,enforce:function(r){return ae(r)?ie(r):oe(r,{})},getterFor:function(r){return function(t){var e;if(!ge(t)||(e=ie(t)).type!==r)throw new Ae("Incompatible receiver, "+r+" required");return e}}},_e=E,je=o,ke=F,Pe=zr,Ce=i,De=re.CONFIGURABLE,Ne=ue,Ue=xe.enforce,Me=xe.get,Le=String,Fe=Object.defineProperty,Be=_e("".slice),ze=_e("".replace),We=_e([].join),He=Ce&&!je((function(){return 8!==Fe((function(){}),"length",{value:8}).length})),Ve=String(String).split("String"),Ye=qt.exports=function(r,t,e){"Symbol("===Be(Le(t),0,7)&&(t="["+ze(Le(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!Pe(r,"name")||De&&r.name!==t)&&(Ce?Fe(r,"name",{value:t,configurable:!0}):r.name=t),He&&e&&Pe(e,"arity")&&r.length!==e.arity&&Fe(r,"length",{value:e.arity});try{e&&Pe(e,"constructor")&&e.constructor?Ce&&Fe(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=Ue(r);return Pe(n,"source")||(n.source=We(Ve,"string"==typeof t?t:"")),r};Function.prototype.toString=Ye((function(){return ke(this)&&Me(this).source||Ne(this)}),"toString");var Ge=qt.exports,$e=F,qe=xt,Je=Ge,Xe=xr,Qe=function(r,t,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if($e(e)&&Je(e,i,n),n.global)o?r[t]=e:Xe(t,e);else{try{n.unsafe?r[t]&&(o=!0):delete r[t]}catch(a){}o?r[t]=e:qe.f(r,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r},Ze={},Ke=Math.ceil,rn=Math.floor,tn=Math.trunc||function(r){var t=+r;return(t>0?rn:Ke)(t)},en=function(r){var t=+r;return t!=t||0===t?0:tn(t)},nn=en,on=Math.max,an=Math.min,un=en,cn=Math.min,fn=function(r){var t=un(r);return t>0?cn(t,9007199254740991):0},sn=fn,hn=function(r){return sn(r.length)},ln=M,pn=function(r,t){var e=nn(r);return e<0?on(e+t,0):an(e,t)},dn=hn,yn=function(r){return function(t,e,n){var o=ln(t),i=dn(o);if(0===i)return!r&&-1;var a,u=pn(n,i);if(r&&e!=e){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((r||u in o)&&o[u]===e)return r||u||0;return!r&&-1}},vn={includes:yn(!0),indexOf:yn(!1)},gn=zr,wn=M,mn=vn.indexOf,bn=de,En=E([].push),Sn=function(r,t){var e,n=wn(r),o=0,i=[];for(e in n)!gn(bn,e)&&gn(n,e)&&En(i,e);for(;t.length>o;)gn(n,e=t[o++])&&(~mn(i,e)||En(i,e));return i},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],An=Sn,In=On.concat("length","prototype");Ze.f=Object.getOwnPropertyNames||function(r){return An(r,In)};var Rn={};Rn.f=Object.getOwnPropertySymbols;var Tn=V,xn=Ze,_n=Rn,jn=Ct,kn=E([].concat),Pn=Tn("Reflect","ownKeys")||function(r){var t=xn.f(jn(r)),e=_n.f;return e?kn(t,e(r)):t},Cn=zr,Dn=Pn,Nn=n,Un=xt,Mn=function(r,t,e){for(var n=Dn(t),o=Un.f,i=Nn.f,a=0;a<n.length;a++){var u=n[a];Cn(r,u)||e&&Cn(e,u)||o(r,u,i(t,u))}},Ln=o,Fn=F,Bn=/#|\.prototype\./,zn=function(r,t){var e=Hn[Wn(r)];return e===Yn||e!==Vn&&(Fn(t)?Ln(t):!!t)},Wn=zn.normalize=function(r){return String(r).replace(Bn,".").toLowerCase()},Hn=zn.data={},Vn=zn.NATIVE="N",Yn=zn.POLYFILL="P",Gn=zn,$n=e,qn=n.f,Jn=$t,Xn=Qe,Qn=xr,Zn=Mn,Kn=Gn,ro=function(r,t){var e,n,o,i,a,u=r.target,c=r.global,f=r.stat;if(e=c?$n:f?$n[u]||Qn(u,{}):$n[u]&&$n[u].prototype)for(n in t){if(i=t[n],o=r.dontCallGetSet?(a=qn(e,n))&&a.value:e[n],!Kn(c?n:u+(f?".":"#")+n,r.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zn(i,o)}(r.sham||o&&o.sham)&&Jn(i,"sham",!0),Xn(e,n,i,r)}},to=I,eo=Array.isArray||function(r){return"Array"===to(r)},no=i,oo=eo,io=TypeError,ao=Object.getOwnPropertyDescriptor,uo=no&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}(),co=TypeError,fo=Lr,so=hn,ho=uo?function(r,t){if(oo(r)&&!ao(r,"length").writable)throw new io("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t},lo=function(r){if(r>9007199254740991)throw co("Maximum allowed index exceeded");return r};ro({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var t=fo(this),e=so(t),n=arguments.length;lo(e+n);for(var o=0;o<n;o++)t[e]=arguments[o],e++;return ho(t,e),e}});var po=Y,yo=TypeError,vo=function(r,t){if(po(t,r))return r;throw new yo("Incorrect invocation")},go=!o((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})),wo=zr,mo=F,bo=Lr,Eo=go,So=pe("IE_PROTO"),Oo=Object,Ao=Oo.prototype,Io=Eo?Oo.getPrototypeOf:function(r){var t=bo(r);if(wo(t,So))return t[So];var e=t.constructor;return mo(e)&&t instanceof e?e.prototype:t instanceof Oo?Ao:null},Ro=Ge,To=xt,xo=function(r,t,e){return e.get&&Ro(e.get,t,{getter:!0}),e.set&&Ro(e.set,t,{setter:!0}),To.f(r,t,e)},_o=i,jo=xt,ko=v,Po=function(r,t,e){_o?jo.f(r,t,ko(0,e)):r[t]=e},Co={},Do=Sn,No=On,Uo=Object.keys||function(r){return Do(r,No)},Mo=i,Lo=_t,Fo=xt,Bo=Ct,zo=M,Wo=Uo;Co.f=Mo&&!Lo?Object.defineProperties:function(r,t){Bo(r);for(var e,n=zo(t),o=Wo(t),i=o.length,a=0;i>a;)Fo.f(r,e=o[a++],n[e]);return r};var Ho,Vo=V("document","documentElement"),Yo=Ct,Go=Co,$o=On,qo=de,Jo=Vo,Xo=vt,Qo="prototype",Zo="script",Ko=pe("IE_PROTO"),ri=function(){},ti=function(r){return"<"+Zo+">"+r+"</"+Zo+">"},ei=function(r){r.write(ti("")),r.close();var t=r.parentWindow.Object;return r=null,t},ni=function(){try{Ho=new ActiveXObject("htmlfile")}catch(o){}var r,t,e;ni="undefined"!=typeof document?document.domain&&Ho?ei(Ho):(t=Xo("iframe"),e="java"+Zo+":",t.style.display="none",Jo.appendChild(t),t.src=String(e),(r=t.contentWindow.document).open(),r.write(ti("document.F=Object")),r.close(),r.F):ei(Ho);for(var n=$o.length;n--;)delete ni[Qo][$o[n]];return ni()};qo[Ko]=!0;var oi,ii,ai,ui=Object.create||function(r,t){var e;return null!==r?(ri[Qo]=Yo(r),e=new ri,ri[Qo]=null,e[Ko]=r):e=ni(),void 0===t?e:Go.f(e,t)},ci=o,fi=F,si=z,hi=Io,li=Qe,pi=tt("iterator"),di=!1;[].keys&&("next"in(ai=[].keys())?(ii=hi(hi(ai)))!==Object.prototype&&(oi=ii):di=!0);var yi=!si(oi)||ci((function(){var r={};return oi[pi].call(r)!==r}));yi&&(oi={}),fi(oi[pi])||li(oi,pi,(function(){return this}));var vi={IteratorPrototype:oi,BUGGY_SAFARI_ITERATORS:di},gi=ro,wi=e,mi=vo,bi=Ct,Ei=F,Si=Io,Oi=xo,Ai=Po,Ii=o,Ri=zr,Ti=vi.IteratorPrototype,xi=i,_i="constructor",ji="Iterator",ki=tt("toStringTag"),Pi=TypeError,Ci=wi[ji],Di=!Ei(Ci)||Ci.prototype!==Ti||!Ii((function(){Ci({})})),Ni=function(){if(mi(this,Ti),Si(this)===Ti)throw new Pi("Abstract class Iterator not directly constructable")},Ui=function(r,t){xi?Oi(Ti,r,{configurable:!0,get:function(){return t},set:function(t){if(bi(this),this===Ti)throw new Pi("You can't redefine this property");Ri(this,r)?this[r]=t:Ai(this,r,t)}}):Ti[r]=t};Ri(Ti,ki)||Ui(ki,ji),!Di&&Ri(Ti,_i)&&Ti[_i]!==Object||Ui(_i,Ni),Ni.prototype=Ti,gi({global:!0,constructor:!0,forced:Di},{Iterator:Ni});var Mi=function(r){return{iterator:r,next:r.next,done:!1}},Li=Qe,Fi=f,Bi=Ct,zi=br,Wi=function(r,t,e){var n,o;Bi(r);try{if(!(n=zi(r,"return"))){if("throw"===t)throw e;return e}n=Fi(n,r)}catch(i){o=!0,n=i}if("throw"===t)throw e;if(o)throw n;return Bi(n),e},Hi=Wi,Vi=f,Yi=ui,Gi=$t,$i=function(r,t,e){for(var n in t)Li(r,n,t[n],e);return r},qi=xe,Ji=br,Xi=vi.IteratorPrototype,Qi=function(r,t){return{value:r,done:t}},Zi=Wi,Ki=function(r,t,e){for(var n=r.length-1;n>=0;n--)if(void 0!==r[n])try{e=Hi(r[n].iterator,t,e)}catch(o){t="throw",e=o}if("throw"===t)throw e;return e},ra=tt("toStringTag"),ta="IteratorHelper",ea="WrapForValidIterator",na="normal",oa="throw",ia=qi.set,aa=function(r){var t=qi.getterFor(r?ea:ta);return $i(Yi(Xi),{next:function(){var e=t(this);if(r)return e.nextHandler();if(e.done)return Qi(void 0,!0);try{var n=e.nextHandler();return e.returnHandlerResult?n:Qi(n,e.done)}catch(o){throw e.done=!0,o}},return:function(){var e=t(this),n=e.iterator;if(e.done=!0,r){var o=Ji(n,"return");return o?Vi(o,n):Qi(void 0,!0)}if(e.inner)try{Zi(e.inner.iterator,na)}catch(i){return Zi(n,oa,i)}if(e.openIters)try{Ki(e.openIters,na)}catch(i){return Zi(n,oa,i)}return n&&Zi(n,na),Qi(void 0,!0)}})},ua=aa(!0),ca=aa(!1);Gi(ca,ra,"Iterator Helper");var fa=function(r,t,e){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?ea:ta,o.returnHandlerResult=!!e,o.nextHandler=r,o.counter=0,o.done=!1,ia(this,o)};return n.prototype=t?ua:ca,n},sa=Ct,ha=Wi,la=function(r,t,e,n){try{return n?t(sa(e)[0],e[1]):t(e)}catch(o){ha(r,"throw",o)}},pa=function(r,t){var e="function"==typeof Iterator&&Iterator.prototype[r];if(e)try{e.call({next:null},t).next()}catch(n){return!0}},da=e,ya=function(r,t){var e=da.Iterator,n=e&&e.prototype,o=n&&n[r],i=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){i=!0}},-1)}catch(a){a instanceof t||(i=!1)}if(!i)return o},va=ro,ga=f,wa=gr,ma=Ct,ba=Mi,Ea=fa,Sa=la,Oa=Wi,Aa=ya,Ia=!pa("filter",(function(){})),Ra=!Ia&&Aa("filter",TypeError),Ta=Ia||Ra,xa=Ea((function(){for(var r,t,e=this.iterator,n=this.predicate,o=this.next;;){if(r=ma(ga(o,e)),this.done=!!r.done)return;if(t=r.value,Sa(e,n,[t,this.counter++],!0))return t}}));va({target:"Iterator",proto:!0,real:!0,forced:Ta},{filter:function(r){ma(this);try{wa(r)}catch(t){Oa(this,"throw",t)}return Ra?ga(Ra,this,r):new xa(ba(this),{predicate:r})}});var _a=I,ja=E,ka=function(r){if("Function"===_a(r))return ja(r)},Pa=gr,Ca=a,Da=ka(ka.bind),Na=function(r,t){return Pa(r),void 0===t?r:Ca?Da(r,t):function(){return r.apply(t,arguments)}},Ua={},Ma=Ua,La=tt("iterator"),Fa=Array.prototype,Ba={};Ba[tt("toStringTag")]="z";var za="[object z]"===String(Ba),Wa=F,Ha=I,Va=tt("toStringTag"),Ya=Object,Ga="Arguments"===Ha(function(){return arguments}()),$a=za?Ha:function(r){var t,e,n;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=Ya(r),Va))?e:Ga?Ha(t):"Object"===(n=Ha(t))&&Wa(t.callee)?"Arguments":n},qa=$a,Ja=br,Xa=k,Qa=Ua,Za=tt("iterator"),Ka=function(r){if(!Xa(r))return Ja(r,Za)||Ja(r,"@@iterator")||Qa[qa(r)]},ru=f,tu=gr,eu=Ct,nu=pr,ou=Ka,iu=TypeError,au=Na,uu=f,cu=Ct,fu=pr,su=function(r){return void 0!==r&&(Ma.Array===r||Fa[La]===r)},hu=hn,lu=Y,pu=function(r,t){var e=arguments.length<2?ou(r):t;if(tu(e))return eu(ru(e,r));throw new iu(nu(r)+" is not iterable")},du=Ka,yu=Wi,vu=TypeError,gu=function(r,t){this.stopped=r,this.result=t},wu=gu.prototype,mu=function(r,t,e){var n,o,i,a,u,c,f,s=e&&e.that,h=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),p=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),y=au(t,s),v=function(r){return n&&yu(n,"normal"),new gu(!0,r)},g=function(r){return h?(cu(r),d?y(r[0],r[1],v):y(r[0],r[1])):d?y(r,v):y(r)};if(l)n=r.iterator;else if(p)n=r;else{if(!(o=du(r)))throw new vu(fu(r)+" is not iterable");if(su(o)){for(i=0,a=hu(r);a>i;i++)if((u=g(r[i]))&&lu(wu,u))return u;return new gu(!1)}n=pu(r,o)}for(c=l?r.next:n.next;!(f=uu(c,n)).done;){try{u=g(f.value)}catch(w){yu(n,"throw",w)}if("object"==typeof u&&u&&lu(wu,u))return u}return new gu(!1)},bu=ro,Eu=f,Su=mu,Ou=gr,Au=Ct,Iu=Mi,Ru=Wi,Tu=ya("forEach",TypeError);bu({target:"Iterator",proto:!0,real:!0,forced:Tu},{forEach:function(r){Au(this);try{Ou(r)}catch(n){Ru(this,"throw",n)}if(Tu)return Eu(Tu,this,r);var t=Iu(this),e=0;Su(t,(function(t){r(t,e++)}),{IS_RECORD:!0})}});var xu=ro,_u=f,ju=gr,ku=Ct,Pu=Mi,Cu=fa,Du=la,Nu=Wi,Uu=ya,Mu=!pa("map",(function(){})),Lu=!Mu&&Uu("map",TypeError),Fu=Mu||Lu,Bu=Cu((function(){var r=this.iterator,t=ku(_u(this.next,r));if(!(this.done=!!t.done))return Du(r,this.mapper,[t.value,this.counter++],!0)}));xu({target:"Iterator",proto:!0,real:!0,forced:Fu},{map:function(r){ku(this);try{ju(r)}catch(t){Nu(this,"throw",t)}return Lu?_u(Lu,this,r):new Bu(Pu(this),{mapper:r})}});var zu=ro,Wu=f,Hu=mu,Vu=gr,Yu=Ct,Gu=Mi,$u=Wi,qu=ya("some",TypeError);zu({target:"Iterator",proto:!0,real:!0,forced:qu},{some:function(r){Yu(this);try{Vu(r)}catch(n){$u(this,"throw",n)}if(qu)return Wu(qu,this,r);var t=Gu(this),e=0;return Hu(t,(function(t,n){if(r(t,e++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var Ju=hn,Xu=function(r,t,e){for(var n=0,o=arguments.length>2?e:Ju(t),i=new r(o);o>n;)i[n]=t[n++];return i},Qu=Na,Zu=j,Ku=Lr,rc=lt,tc=hn,ec=ui,nc=Xu,oc=Array,ic=E([].push),ac=tt,uc=ui,cc=xt.f,fc=ac("unscopables"),sc=Array.prototype;void 0===sc[fc]&&cc(sc,fc,{configurable:!0,value:uc(null)});var hc=function(r,t,e,n){for(var o,i,a,u=Ku(r),c=Zu(u),f=Qu(t,e),s=ec(null),h=tc(c),l=0;h>l;l++)a=c[l],(i=rc(f(a,l,u)))in s?ic(s[i],a):s[i]=[a];if(n&&(o=n(u))!==oc)for(i in s)s[i]=nc(o,s[i]);return s},lc=function(r){sc[fc][r]=!0};ro({target:"Array",proto:!0},{group:function(r){return hc(this,r,arguments.length>1?arguments[1]:void 0)}}),lc("group");var pc="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,dc=E,yc=gr,vc=function(r,t,e){try{return dc(yc(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(n){}},gc=e,wc=vc,mc=I,bc=gc.ArrayBuffer,Ec=gc.TypeError,Sc=bc&&wc(bc.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==mc(r))throw new Ec("ArrayBuffer expected");return r.byteLength},Oc=pc,Ac=Sc,Ic=e.DataView,Rc=function(r){if(!Oc||0!==Ac(r))return!1;try{return new Ic(r),!1}catch(t){return!0}},Tc=i,xc=xo,_c=Rc,jc=ArrayBuffer.prototype;Tc&&!("detached"in jc)&&xc(jc,"detached",{configurable:!0,get:function(){return _c(this)}});var kc,Pc,Cc,Dc,Nc=en,Uc=fn,Mc=RangeError,Lc=Rc,Fc=TypeError,Bc=function(r){if(Lc(r))throw new Fc("ArrayBuffer is detached");return r},zc=e,Wc=q,Hc=I,Vc=function(r){return Wc.slice(0,r.length)===r},Yc=Vc("Bun/")?"BUN":Vc("Cloudflare-Workers")?"CLOUDFLARE":Vc("Deno/")?"DENO":Vc("Node.js/")?"NODE":zc.Bun&&"string"==typeof Bun.version?"BUN":zc.Deno&&"object"==typeof Deno.version?"DENO":"process"===Hc(zc.process)?"NODE":zc.window&&zc.document?"BROWSER":"REST",Gc="NODE"===Yc,$c=e,qc=Gc,Jc=o,Xc=tr,Qc=Yc,Zc=e.structuredClone,Kc=!!Zc&&!Jc((function(){if("DENO"===Qc&&Xc>92||"NODE"===Qc&&Xc>94||"BROWSER"===Qc&&Xc>97)return!1;var r=new ArrayBuffer(8),t=Zc(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})),rf=e,tf=function(r){if(qc){try{return $c.process.getBuiltinModule(r)}catch(t){}try{return Function('return require("'+r+'")')()}catch(t){}}},ef=Kc,nf=rf.structuredClone,of=rf.ArrayBuffer,af=rf.MessageChannel,uf=!1;if(ef)uf=function(r){nf(r,{transfer:[r]})};else if(of)try{af||(kc=tf("worker_threads"))&&(af=kc.MessageChannel),af&&(Pc=new af,Cc=new of(2),Dc=function(r){Pc.port1.postMessage(null,[r])},2===Cc.byteLength&&(Dc(Cc),0===Cc.byteLength&&(uf=Dc)))}catch(Ew){}var cf=e,ff=E,sf=vc,hf=function(r){if(void 0===r)return 0;var t=Nc(r),e=Uc(t);if(t!==e)throw new Mc("Wrong length or index");return e},lf=Bc,pf=Sc,df=uf,yf=Kc,vf=cf.structuredClone,gf=cf.ArrayBuffer,wf=cf.DataView,mf=Math.min,bf=gf.prototype,Ef=wf.prototype,Sf=ff(bf.slice),Of=sf(bf,"resizable","get"),Af=sf(bf,"maxByteLength","get"),If=ff(Ef.getInt8),Rf=ff(Ef.setInt8),Tf=(yf||df)&&function(r,t,e){var n,o=pf(r),i=void 0===t?o:hf(t),a=!Of||!Of(r);if(lf(r),yf&&(r=vf(r,{transfer:[r]}),o===i&&(e||a)))return r;if(o>=i&&(!e||a))n=Sf(r,0,i);else{var u=e&&!a&&Af?{maxByteLength:Af(r)}:void 0;n=new gf(i,u);for(var c=new wf(r),f=new wf(n),s=mf(i,o),h=0;h<s;h++)Rf(f,h,If(c,h))}return yf||df(r),n},xf=Tf;xf&&ro({target:"ArrayBuffer",proto:!0},{transfer:function(){return xf(this,arguments.length?arguments[0]:void 0,!0)}});var _f=Tf;_f&&ro({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return _f(this,arguments.length?arguments[0]:void 0,!1)}});var jf=ro,kf=f,Pf=mu,Cf=gr,Df=Ct,Nf=Mi,Uf=Wi,Mf=ya("find",TypeError);jf({target:"Iterator",proto:!0,real:!0,forced:Mf},{find:function(r){Df(this);try{Cf(r)}catch(Ew){Uf(this,"throw",Ew)}if(Mf)return kf(Mf,this,r);var t=Nf(this),e=0;return Pf(t,(function(t,n){if(r(t,e++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}});var Lf=a,Ff=Function.prototype,Bf=Ff.apply,zf=Ff.call,Wf="object"==typeof Reflect&&Reflect.apply||(Lf?zf.bind(Bf):function(){return zf.apply(Bf,arguments)}),Hf=ro,Vf=mu,Yf=gr,Gf=Ct,$f=Mi,qf=Wi,Jf=ya,Xf=Wf,Qf=TypeError,Zf=o((function(){[].keys().reduce((function(){}),void 0)})),Kf=!Zf&&Jf("reduce",Qf);Hf({target:"Iterator",proto:!0,real:!0,forced:Zf||Kf},{reduce:function(r){Gf(this);try{Yf(r)}catch(Ew){qf(this,"throw",Ew)}var t=arguments.length<2,e=t?void 0:arguments[1];if(Kf)return Xf(Kf,this,t?[r]:[r,e]);var n=$f(this),o=0;if(Vf(n,(function(n){t?(t=!1,e=n):e=r(e,n,o),o++}),{IS_RECORD:!0}),t)throw new Qf("Reduce of empty iterator with no initial value");return e}});var rs=E,ts=Set.prototype,es={Set:Set,add:rs(ts.add),has:rs(ts.has),remove:rs(ts.delete),proto:ts},ns=es.has,os=function(r){return ns(r),r},is=f,as=function(r,t,e){for(var n,o,i=e?r:r.iterator,a=r.next;!(n=is(a,i)).done;)if(void 0!==(o=t(n.value)))return o},us=E,cs=as,fs=es.Set,ss=es.proto,hs=us(ss.forEach),ls=us(ss.keys),ps=ls(new fs).next,ds=function(r,t,e){return e?cs({iterator:ls(r),next:ps},t):hs(r,t)},ys=ds,vs=es.Set,gs=es.add,ws=function(r){var t=new vs;return ys(r,(function(r){gs(t,r)})),t},ms=vc(es.proto,"size","get")||function(r){return r.size},bs=gr,Es=Ct,Ss=f,Os=en,As=Mi,Is="Invalid size",Rs=RangeError,Ts=TypeError,xs=Math.max,_s=function(r,t){this.set=r,this.size=xs(t,0),this.has=bs(r.has),this.keys=bs(r.keys)};_s.prototype={getIterator:function(){return As(Es(Ss(this.keys,this.set)))},includes:function(r){return Ss(this.has,this.set,r)}};var js=function(r){Es(r);var t=+r.size;if(t!=t)throw new Ts(Is);var e=Os(t);if(e<0)throw new Rs(Is);return new _s(r,e)},ks=os,Ps=ws,Cs=ms,Ds=js,Ns=ds,Us=as,Ms=es.has,Ls=es.remove,Fs=V,Bs=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},zs=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}},Ws=function(r,t){var e=Fs("Set");try{(new e)[r](Bs(0));try{return(new e)[r](Bs(-1)),!1}catch(o){if(!t)return!0;try{return(new e)[r](zs(-1/0)),!1}catch(Ew){var n=new e;return n.add(1),n.add(2),t(n[r](zs(1/0)))}}}catch(Ew){return!1}},Hs=function(r){var t=ks(this),e=Ds(r),n=Ps(t);return Cs(t)<=e.size?Ns(t,(function(r){e.includes(r)&&Ls(n,r)})):Us(e.getIterator(),(function(r){Ms(n,r)&&Ls(n,r)})),n},Vs=o;ro({target:"Set",proto:!0,real:!0,forced:!Ws("difference",(function(r){return 0===r.size}))||Vs((function(){var r={size:1,has:function(){return!0},keys:function(){var r=0;return{next:function(){var e=r++>1;return t.has(1)&&t.clear(),{done:e,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size}))},{difference:Hs});var Ys=os,Gs=ms,$s=js,qs=ds,Js=as,Xs=es.Set,Qs=es.add,Zs=es.has,Ks=o,rh=function(r){var t=Ys(this),e=$s(r),n=new Xs;return Gs(t)>e.size?Js(e.getIterator(),(function(r){Zs(t,r)&&Qs(n,r)})):qs(t,(function(r){e.includes(r)&&Qs(n,r)})),n};ro({target:"Set",proto:!0,real:!0,forced:!Ws("intersection",(function(r){return 2===r.size&&r.has(1)&&r.has(2)}))||Ks((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:rh});var th=os,eh=es.has,nh=ms,oh=js,ih=ds,ah=as,uh=Wi,ch=function(r){var t=th(this),e=oh(r);if(nh(t)<=e.size)return!1!==ih(t,(function(r){if(e.includes(r))return!1}),!0);var n=e.getIterator();return!1!==ah(n,(function(r){if(eh(t,r))return uh(n,"normal",!1)}))};ro({target:"Set",proto:!0,real:!0,forced:!Ws("isDisjointFrom",(function(r){return!r}))},{isDisjointFrom:ch});var fh=os,sh=ms,hh=ds,lh=js,ph=function(r){var t=fh(this),e=lh(r);return!(sh(t)>e.size)&&!1!==hh(t,(function(r){if(!e.includes(r))return!1}),!0)};ro({target:"Set",proto:!0,real:!0,forced:!Ws("isSubsetOf",(function(r){return r}))},{isSubsetOf:ph});var dh=os,yh=es.has,vh=ms,gh=js,wh=as,mh=Wi,bh=function(r){var t=dh(this),e=gh(r);if(vh(t)<e.size)return!1;var n=e.getIterator();return!1!==wh(n,(function(r){if(!yh(t,r))return mh(n,"normal",!1)}))};ro({target:"Set",proto:!0,real:!0,forced:!Ws("isSupersetOf",(function(r){return!r}))},{isSupersetOf:bh});var Eh=os,Sh=ws,Oh=js,Ah=as,Ih=es.add,Rh=es.has,Th=es.remove,xh=function(r){try{var t=new Set,e={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[r](e);return 1!==n.size||4!==n.values().next().value}catch(Ew){return!1}},_h=function(r){var t=Eh(this),e=Oh(r).getIterator(),n=Sh(t);return Ah(e,(function(r){Rh(t,r)?Th(n,r):Ih(n,r)})),n},jh=xh;ro({target:"Set",proto:!0,real:!0,forced:!Ws("symmetricDifference")||!jh("symmetricDifference")},{symmetricDifference:_h});var kh=os,Ph=es.add,Ch=ws,Dh=js,Nh=as,Uh=function(r){var t=kh(this),e=Dh(r).getIterator(),n=Ch(t);return Nh(e,(function(r){Ph(n,r)})),n},Mh=xh;ro({target:"Set",proto:!0,real:!0,forced:!Ws("union")||!Mh("union")},{union:Uh});var Lh,Fh,Bh,zh=hn,Wh=z,Hh=function(r){return Wh(r)||null===r},Vh=String,Yh=TypeError,Gh=vc,$h=z,qh=D,Jh=function(r){if(Hh(r))return r;throw new Yh("Can't set "+Vh(r)+" as a prototype")},Xh=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=Gh(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(Ew){}return function(e,n){return qh(e),Jh(n),$h(e)?(t?r(e,n):e.__proto__=n,e):e}}():void 0),Qh=pc,Zh=i,Kh=e,rl=F,tl=z,el=zr,nl=$a,ol=pr,il=$t,al=Qe,ul=xo,cl=Y,fl=Io,sl=Xh,hl=tt,ll=Gr,pl=xe.enforce,dl=xe.get,yl=Kh.Int8Array,vl=yl&&yl.prototype,gl=Kh.Uint8ClampedArray,wl=gl&&gl.prototype,ml=yl&&fl(yl),bl=vl&&fl(vl),El=Object.prototype,Sl=Kh.TypeError,Ol=hl("toStringTag"),Al=ll("TYPED_ARRAY_TAG"),Il="TypedArrayConstructor",Rl=Qh&&!!sl&&"Opera"!==nl(Kh.opera),Tl=!1,xl={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},_l={BigInt64Array:8,BigUint64Array:8},jl=function(r){var t=fl(r);if(tl(t)){var e=dl(t);return e&&el(e,Il)?e[Il]:jl(t)}},kl=function(r){if(!tl(r))return!1;var t=nl(r);return el(xl,t)||el(_l,t)};for(Lh in xl)(Bh=(Fh=Kh[Lh])&&Fh.prototype)?pl(Bh)[Il]=Fh:Rl=!1;for(Lh in _l)(Bh=(Fh=Kh[Lh])&&Fh.prototype)&&(pl(Bh)[Il]=Fh);if((!Rl||!rl(ml)||ml===Function.prototype)&&(ml=function(){throw new Sl("Incorrect invocation")},Rl))for(Lh in xl)Kh[Lh]&&sl(Kh[Lh],ml);if((!Rl||!bl||bl===El)&&(bl=ml.prototype,Rl))for(Lh in xl)Kh[Lh]&&sl(Kh[Lh].prototype,bl);if(Rl&&fl(wl)!==bl&&sl(wl,bl),Zh&&!el(bl,Ol))for(Lh in Tl=!0,ul(bl,Ol,{configurable:!0,get:function(){return tl(this)?this[Al]:void 0}}),xl)Kh[Lh]&&il(Kh[Lh],Al,Lh);var Pl={NATIVE_ARRAY_BUFFER_VIEWS:Rl,TYPED_ARRAY_TAG:Tl&&Al,aTypedArray:function(r){if(kl(r))return r;throw new Sl("Target is not a typed array")},aTypedArrayConstructor:function(r){if(rl(r)&&(!sl||cl(ml,r)))return r;throw new Sl(ol(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(Zh){if(e)for(var o in xl){var i=Kh[o];if(i&&el(i.prototype,r))try{delete i.prototype[r]}catch(Ew){try{i.prototype[r]=t}catch(a){}}}bl[r]&&!e||al(bl,r,e?t:Rl&&vl[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(Zh){if(sl){if(e)for(n in xl)if((o=Kh[n])&&el(o,r))try{delete o[r]}catch(Ew){}if(ml[r]&&!e)return;try{return al(ml,r,e?t:Rl&&ml[r]||t)}catch(Ew){}}for(n in xl)!(o=Kh[n])||o[r]&&!e||al(o,r,t)}},getTypedArrayConstructor:jl,isView:function(r){if(!tl(r))return!1;var t=nl(r);return"DataView"===t||el(xl,t)||el(_l,t)},isTypedArray:kl,TypedArray:ml,TypedArrayPrototype:bl},Cl=function(r,t){for(var e=zh(r),n=new t(e),o=0;o<e;o++)n[o]=r[e-o-1];return n},Dl=Pl.aTypedArray,Nl=Pl.getTypedArrayConstructor;(0,Pl.exportTypedArrayMethod)("toReversed",(function(){return Cl(Dl(this),Nl(this))}));var Ul=gr,Ml=Xu,Ll=Pl.aTypedArray,Fl=Pl.getTypedArrayConstructor,Bl=Pl.exportTypedArrayMethod,zl=E(Pl.TypedArrayPrototype.sort);Bl("toSorted",(function(r){void 0!==r&&Ul(r);var t=Ll(this),e=Ml(Fl(t),t);return zl(e,r)}));var Wl=hn,Hl=en,Vl=RangeError,Yl=$a,Gl=ft,$l=TypeError,ql=function(r,t,e,n){var o=Wl(r),i=Hl(e),a=i<0?o+i:i;if(a>=o||a<0)throw new Vl("Incorrect index");for(var u=new t(o),c=0;c<o;c++)u[c]=c===a?n:r[c];return u},Jl=function(r){var t=Yl(r);return"BigInt64Array"===t||"BigUint64Array"===t},Xl=en,Ql=function(r){var t=Gl(r,"number");if("number"==typeof t)throw new $l("Can't convert number to bigint");return BigInt(t)},Zl=Pl.aTypedArray,Kl=Pl.getTypedArrayConstructor,rp=Pl.exportTypedArrayMethod,tp=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(Ew){return 8===Ew}}(),ep=tp&&function(){try{new Int8Array(1).with(-.5,1)}catch(Ew){return!0}}();rp("with",{with:function(r,t){var e=Zl(this),n=Xl(r),o=Jl(e)?Ql(t):+t;return ql(e,Kl(e),n,o)}}.with,!tp||ep);var np=$a,op=String,ip=function(r){if("Symbol"===np(r))throw new TypeError("Cannot convert a Symbol value to a string");return op(r)},ap=E,up=zr,cp=SyntaxError,fp=parseInt,sp=String.fromCharCode,hp=ap("".charAt),lp=ap("".slice),pp=ap(/./.exec),dp={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},yp=/^[\da-f]{4}$/i,vp=/^[\u0000-\u001F]$/,gp=ro,wp=i,mp=e,bp=V,Ep=E,Sp=f,Op=F,Ap=z,Ip=eo,Rp=zr,Tp=ip,xp=hn,_p=Po,jp=o,kp=function(r,t){for(var e=!0,n="";t<r.length;){var o=hp(r,t);if("\\"===o){var i=lp(r,t,t+2);if(up(dp,i))n+=dp[i],t+=2;else{if("\\u"!==i)throw new cp('Unknown escape sequence: "'+i+'"');var a=lp(r,t+=2,t+4);if(!pp(yp,a))throw new cp("Bad Unicode escape at: "+t);n+=sp(fp(a,16)),t+=4}}else{if('"'===o){e=!1,t++;break}if(pp(vp,o))throw new cp("Bad control character in string literal at: "+t);n+=o,t++}}if(e)throw new cp("Unterminated string at: "+t);return{value:n,end:t}},Pp=ir,Cp=mp.JSON,Dp=mp.Number,Np=mp.SyntaxError,Up=Cp&&Cp.parse,Mp=bp("Object","keys"),Lp=Object.getOwnPropertyDescriptor,Fp=Ep("".charAt),Bp=Ep("".slice),zp=Ep(/./.exec),Wp=Ep([].push),Hp=/^\d$/,Vp=/^[1-9]$/,Yp=/^[\d-]$/,Gp=/^[\t\n\r ]$/,$p=function(r,t,e,n){var o,i,a,u,c,f=r[t],s=n&&f===n.value,h=s&&"string"==typeof n.source?{source:n.source}:{};if(Ap(f)){var l=Ip(f),p=s?n.nodes:l?[]:{};if(l)for(o=p.length,a=xp(f),u=0;u<a;u++)qp(f,u,$p(f,""+u,e,u<o?p[u]:void 0));else for(i=Mp(f),a=xp(i),u=0;u<a;u++)c=i[u],qp(f,c,$p(f,c,e,Rp(p,c)?p[c]:void 0))}return Sp(e,r,t,f,h)},qp=function(r,t,e){if(wp){var n=Lp(r,t);if(n&&!n.configurable)return}void 0===e?delete r[t]:_p(r,t,e)},Jp=function(r,t,e,n){this.value=r,this.end=t,this.source=e,this.nodes=n},Xp=function(r,t){this.source=r,this.index=t};Xp.prototype={fork:function(r){return new Xp(this.source,r)},parse:function(){var r=this.source,t=this.skip(Gp,this.index),e=this.fork(t),n=Fp(r,t);if(zp(Yp,n))return e.number();switch(n){case"{":return e.object();case"[":return e.array();case'"':return e.string();case"t":return e.keyword(!0);case"f":return e.keyword(!1);case"n":return e.keyword(null)}throw new Np('Unexpected character: "'+n+'" at: '+t)},node:function(r,t,e,n,o){return new Jp(t,n,r?null:Bp(this.source,e,n),o)},object:function(){for(var r=this.source,t=this.index+1,e=!1,n={},o={};t<r.length;){if(t=this.until(['"',"}"],t),"}"===Fp(r,t)&&!e){t++;break}var i=this.fork(t).string(),a=i.value;t=i.end,t=this.until([":"],t)+1,t=this.skip(Gp,t),i=this.fork(t).parse(),_p(o,a,i),_p(n,a,i.value),t=this.until([",","}"],i.end);var u=Fp(r,t);if(","===u)e=!0,t++;else if("}"===u){t++;break}}return this.node(1,n,this.index,t,o)},array:function(){for(var r=this.source,t=this.index+1,e=!1,n=[],o=[];t<r.length;){if(t=this.skip(Gp,t),"]"===Fp(r,t)&&!e){t++;break}var i=this.fork(t).parse();if(Wp(o,i),Wp(n,i.value),t=this.until([",","]"],i.end),","===Fp(r,t))e=!0,t++;else if("]"===Fp(r,t)){t++;break}}return this.node(1,n,this.index,t,o)},string:function(){var r=this.index,t=kp(this.source,this.index+1);return this.node(0,t.value,r,t.end)},number:function(){var r=this.source,t=this.index,e=t;if("-"===Fp(r,e)&&e++,"0"===Fp(r,e))e++;else{if(!zp(Vp,Fp(r,e)))throw new Np("Failed to parse number at: "+e);e=this.skip(Hp,e+1)}if(("."===Fp(r,e)&&(e=this.skip(Hp,e+1)),"e"===Fp(r,e)||"E"===Fp(r,e))&&(e++,"+"!==Fp(r,e)&&"-"!==Fp(r,e)||e++,e===(e=this.skip(Hp,e))))throw new Np("Failed to parse number's exponent value at: "+e);return this.node(0,Dp(Bp(r,t,e)),t,e)},keyword:function(r){var t=""+r,e=this.index,n=e+t.length;if(Bp(this.source,e,n)!==t)throw new Np("Failed to parse value at: "+e);return this.node(0,r,e,n)},skip:function(r,t){for(var e=this.source;t<e.length&&zp(r,Fp(e,t));t++);return t},until:function(r,t){t=this.skip(Gp,t);for(var e=Fp(this.source,t),n=0;n<r.length;n++)if(r[n]===e)return t;throw new Np('Unexpected character: "'+e+'" at: '+t)}};var Qp=jp((function(){var r,t="9007199254740993";return Up(t,(function(t,e,n){r=n.source})),r!==t})),Zp=Pp&&!jp((function(){return 1/Up("-0 \t")!=-1/0}));gp({target:"JSON",stat:!0,forced:Qp},{parse:function(r,t){return Zp&&!Op(t)?Up(r):function(r,t){r=Tp(r);var e=new Xp(r,0),n=e.parse(),o=n.value,i=e.skip(Gp,n.end);if(i<r.length)throw new Np('Unexpected extra character: "'+Fp(r,i)+'" after the parsed data at: '+i);return Op(t)?$p({"":o},"",t,n):o}(r,t)}});var Kp=z,rd=String,td=TypeError,ed=function(r){if(void 0===r||Kp(r))return r;throw new td(rd(r)+" is not an object or undefined")},nd=TypeError,od=function(r){if("string"==typeof r)return r;throw new nd("Argument is not a string")},id="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ad=id+"+/",ud=id+"-_",cd=function(r){for(var t={},e=0;e<64;e++)t[r.charAt(e)]=e;return t},fd={i2c:ad,c2i:cd(ad),i2cUrl:ud,c2iUrl:cd(ud)},sd=TypeError,hd=function(r){var t=r&&r.alphabet;if(void 0===t||"base64"===t||"base64url"===t)return t||"base64";throw new sd("Incorrect `alphabet` option")},ld=e,pd=E,dd=ed,yd=od,vd=zr,gd=hd,wd=Bc,md=fd.c2i,bd=fd.c2iUrl,Ed=ld.SyntaxError,Sd=ld.TypeError,Od=pd("".charAt),Ad=function(r,t){for(var e=r.length;t<e;t++){var n=Od(r,t);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return t},Id=function(r,t,e){var n=r.length;n<4&&(r+=2===n?"AA":"A");var o=(t[Od(r,0)]<<18)+(t[Od(r,1)]<<12)+(t[Od(r,2)]<<6)+t[Od(r,3)],i=[o>>16&255,o>>8&255,255&o];if(2===n){if(e&&0!==i[1])throw new Ed("Extra bits");return[i[0]]}if(3===n){if(e&&0!==i[2])throw new Ed("Extra bits");return[i[0],i[1]]}return i},Rd=function(r,t,e){for(var n=t.length,o=0;o<n;o++)r[e+o]=t[o];return e+n},Td=$a,xd=TypeError,_d=function(r){if("Uint8Array"===Td(r))return r;throw new xd("Argument is not an Uint8Array")},jd=ro,kd=function(r,t,e,n){yd(r),dd(t);var o="base64"===gd(t)?md:bd,i=t?t.lastChunkHandling:void 0;if(void 0===i&&(i="loose"),"loose"!==i&&"strict"!==i&&"stop-before-partial"!==i)throw new Sd("Incorrect `lastChunkHandling` option");e&&wd(e.buffer);var a=e||[],u=0,c=0,f="",s=0;if(n)for(;;){if((s=Ad(r,s))===r.length){if(f.length>0){if("stop-before-partial"===i)break;if("loose"!==i)throw new Ed("Missing padding");if(1===f.length)throw new Ed("Malformed padding: exactly one additional character");u=Rd(a,Id(f,o,!1),u)}c=r.length;break}var h=Od(r,s);if(++s,"="===h){if(f.length<2)throw new Ed("Padding is too early");if(s=Ad(r,s),2===f.length){if(s===r.length){if("stop-before-partial"===i)break;throw new Ed("Malformed padding: only one =")}"="===Od(r,s)&&(++s,s=Ad(r,s))}if(s<r.length)throw new Ed("Unexpected character after padding");u=Rd(a,Id(f,o,"strict"===i),u),c=r.length;break}if(!vd(o,h))throw new Ed("Unexpected character");var l=n-u;if(1===l&&2===f.length||2===l&&3===f.length)break;if(4===(f+=h).length&&(u=Rd(a,Id(f,o,!1),u),f="",c=s,u===n))break}return{bytes:a,read:c,written:u}},Pd=_d,Cd=e.Uint8Array,Dd=!Cd||!Cd.prototype.setFromBase64||!function(){var r=new Cd([255,255,255,255,255]);try{r.setFromBase64("MjYyZg===")}catch(Ew){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();Cd&&jd({target:"Uint8Array",proto:!0,forced:Dd},{setFromBase64:function(r){Pd(this);var t=kd(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}});var Nd=e,Ud=E,Md=Nd.Uint8Array,Ld=Nd.SyntaxError,Fd=Nd.parseInt,Bd=Math.min,zd=/[^\da-f]/i,Wd=Ud(zd.exec),Hd=Ud("".slice),Vd=ro,Yd=od,Gd=_d,$d=Bc,qd=function(r,t){var e=r.length;if(e%2!=0)throw new Ld("String should be an even number of characters");for(var n=t?Bd(t.length,e/2):e/2,o=t||new Md(n),i=0,a=0;a<n;){var u=Hd(r,i,i+=2);if(Wd(zd,u))throw new Ld("String should only contain hex characters");o[a++]=Fd(u,16)}return{bytes:o,read:i}};e.Uint8Array&&Vd({target:"Uint8Array",proto:!0},{setFromHex:function(r){Gd(this),Yd(r),$d(this.buffer);var t=qd(r,this).read;return{read:t,written:t/2}}});var Jd=ro,Xd=e,Qd=ed,Zd=_d,Kd=Bc,ry=hd,ty=fd.i2c,ey=fd.i2cUrl,ny=E("".charAt);Xd.Uint8Array&&Jd({target:"Uint8Array",proto:!0},{toBase64:function(){var r=Zd(this),t=arguments.length?Qd(arguments[0]):void 0,e="base64"===ry(t)?ty:ey,n=!!t&&!!t.omitPadding;Kd(this.buffer);for(var o,i="",a=0,u=r.length,c=function(r){return ny(e,o>>6*r&63)};a+2<u;a+=3)o=(r[a]<<16)+(r[a+1]<<8)+r[a+2],i+=c(3)+c(2)+c(1)+c(0);return a+2===u?(o=(r[a]<<16)+(r[a+1]<<8),i+=c(3)+c(2)+c(1)+(n?"":"=")):a+1===u&&(o=r[a]<<16,i+=c(3)+c(2)+(n?"":"==")),i}});var oy=ro,iy=e,ay=_d,uy=Bc,cy=E(1.1.toString);iy.Uint8Array&&oy({target:"Uint8Array",proto:!0},{toHex:function(){ay(this),uy(this.buffer);for(var r="",t=0,e=this.length;t<e;t++){var n=cy(this[t],16);r+=1===n.length?"0"+n:n}return r}});var fy=TypeError,sy=function(r,t){if(r<t)throw new fy("Not enough arguments");return r},hy=Qe,ly=E,py=ip,dy=sy,yy=URLSearchParams,vy=yy.prototype,gy=ly(vy.append),wy=ly(vy.delete),my=ly(vy.forEach),by=ly([].push),Ey=new yy("a=1&a=2&b=3");Ey.delete("a",1),Ey.delete("b",void 0),Ey+""!="a=2"&&hy(vy,"delete",(function(r){var t=arguments.length,e=t<2?void 0:arguments[1];if(t&&void 0===e)return wy(this,r);var n=[];my(this,(function(r,t){by(n,{key:t,value:r})})),dy(t,1);for(var o,i=py(r),a=py(e),u=0,c=0,f=!1,s=n.length;u<s;)o=n[u++],f||o.key===i?(f=!0,wy(this,o.key)):c++;for(;c<s;)(o=n[c++]).key===i&&o.value===a||gy(this,o.key,o.value)}),{enumerable:!0,unsafe:!0});var Sy=Qe,Oy=E,Ay=ip,Iy=sy,Ry=URLSearchParams,Ty=Ry.prototype,xy=Oy(Ty.getAll),_y=Oy(Ty.has),jy=new Ry("a=1");!jy.has("a",2)&&jy.has("a",void 0)||Sy(Ty,"has",(function(r){var t=arguments.length,e=t<2?void 0:arguments[1];if(t&&void 0===e)return _y(this,r);var n=xy(this,r);Iy(t,1);for(var o=Ay(e),i=0;i<n.length;)if(n[i++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0});var ky=i,Py=E,Cy=xo,Dy=URLSearchParams.prototype,Ny=Py(Dy.forEach);ky&&!("size"in Dy)&&Cy(Dy,"size",{get:function(){var r=0;return Ny(this,(function(){r++})),r},configurable:!0,enumerable:!0});var Uy=ro,My=f,Ly=mu,Fy=gr,By=Ct,zy=Mi,Wy=Wi,Hy=ya("every",TypeError);Uy({target:"Iterator",proto:!0,real:!0,forced:Hy},{every:function(r){By(this);try{Fy(r)}catch(Ew){Wy(this,"throw",Ew)}if(Hy)return My(Hy,this,r);var t=zy(this),e=0;return!Ly(t,(function(t,n){if(!r(t,e++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var Vy=Error,Yy=E("".replace),Gy=String(new Vy("zxcasd").stack),$y=/\n\s*at [^:]*:[^\n]*/,qy=$y.test(Gy),Jy=function(r,t){if(qy&&"string"==typeof r&&!Vy.prepareStackTrace)for(;t--;)r=Yy(r,$y,"");return r},Xy=v,Qy=!o((function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",Xy(1,7)),7!==r.stack)})),Zy=$t,Ky=Jy,rv=Qy,tv=Error.captureStackTrace,ev=ip,nv=function(r,t){return void 0===r?arguments.length<2?"":t:ev(r)},ov=ro,iv=Y,av=Io,uv=Xh,cv=Mn,fv=ui,sv=$t,hv=v,lv=function(r,t,e,n){rv&&(tv?tv(r,t):Zy(r,"stack",Ky(e,n)))},pv=nv,dv=tt,yv=o,vv=e.SuppressedError,gv=dv("toStringTag"),wv=Error,mv=!!vv&&3!==vv.length,bv=!!vv&&yv((function(){return 4===new vv(1,2,3,{cause:4}).cause})),Ev=mv||bv,Sv=function(r,t,e){var n,o=iv(Ov,this);return uv?n=!Ev||o&&av(this)!==Ov?uv(new wv,o?av(this):Ov):new vv:(n=o?this:fv(Ov),sv(n,gv,"Error")),void 0!==e&&sv(n,"message",pv(e)),lv(n,Sv,n.stack,1),sv(n,"error",r),sv(n,"suppressed",t),n};uv?uv(Sv,wv):cv(Sv,wv,{name:!0});var Ov=Sv.prototype=Ev?vv.prototype:fv(wv.prototype,{constructor:hv(1,Sv),message:hv(1,""),name:hv(1,"SuppressedError")});Ev&&(Ov.constructor=Sv),ov({global:!0,constructor:!0,arity:3,forced:Ev},{SuppressedError:Sv});var Av=F,Iv=z,Rv=Xh,Tv=ro,xv=e,_v=V,jv=v,kv=xt.f,Pv=zr,Cv=vo,Dv=function(r,t,e){var n,o;return Rv&&Av(n=t.constructor)&&n!==e&&Iv(o=n.prototype)&&o!==e.prototype&&Rv(r,o),r},Nv=nv,Uv={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Mv=Jy,Lv=i,Fv="DOMException",Bv=_v("Error"),zv=_v(Fv),Wv=function(){Cv(this,Hv);var r=arguments.length,t=Nv(r<1?void 0:arguments[0]),e=Nv(r<2?void 0:arguments[1],"Error"),n=new zv(t,e),o=new Bv(t);return o.name=Fv,kv(n,"stack",jv(1,Mv(o.stack,1))),Dv(n,this,Wv),n},Hv=Wv.prototype=zv.prototype,Vv="stack"in new Bv(Fv),Yv="stack"in new zv(1,2),Gv=zv&&Lv&&Object.getOwnPropertyDescriptor(xv,Fv),$v=!(!Gv||Gv.writable&&Gv.configurable),qv=Vv&&!$v&&!Yv;Tv({global:!0,constructor:!0,forced:qv},{DOMException:qv?Wv:zv});var Jv=_v(Fv),Xv=Jv.prototype;if(Xv.constructor!==Jv)for(var Qv in kv(Xv,"constructor",jv(1,Jv)),Uv)if(Pv(Uv,Qv)){var Zv=Uv[Qv],Kv=Zv.s;Pv(Jv,Kv)||kv(Jv,Kv,jv(6,Zv.c))}var rg=RangeError,tg=en,eg=RangeError,ng=ro,og=f,ig=Ct,ag=Mi,ug=function(r){if(r==r)return r;throw new rg("NaN is not allowed")},cg=function(r){var t=tg(r);if(t<0)throw new eg("The argument can't be less than 0");return t},fg=Wi,sg=fa,hg=ya,lg=!pa("drop",0),pg=!lg&&hg("drop",RangeError),dg=lg||pg,yg=sg((function(){for(var r,t=this.iterator,e=this.next;this.remaining;)if(this.remaining--,r=ig(og(e,t)),this.done=!!r.done)return;if(r=ig(og(e,t)),!(this.done=!!r.done))return r.value}));ng({target:"Iterator",proto:!0,real:!0,forced:dg},{drop:function(r){var t;ig(this);try{t=cg(ug(+r))}catch(Ew){fg(this,"throw",Ew)}return pg?og(pg,this,t):new yg(ag(this),{remaining:t})}});var vg=o,gg=e.RegExp,wg=!vg((function(){var r=!0;try{gg(".","d")}catch(Ew){r=!1}var t={},e="",n=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in r&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(gg.prototype,"flags").get.call(t)!==n||e!==n})),mg=Ct,bg=xo,Eg={correct:wg},Sg=function(){var r=mg(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t};i&&!Eg.correct&&(bg(RegExp.prototype,"flags",{configurable:!0,get:Sg}),Eg.correct=!0);var Og=Ct,Ag=mu,Ig=Mi,Rg=[].push;ro({target:"Iterator",proto:!0,real:!0},{toArray:function(){var r=[];return Ag(Ig(Og(this)),Rg,{that:r,IS_RECORD:!0}),r}});var Tg,xg,_g,jg,kg=E([].slice),Pg=/(?:ipad|iphone|ipod).*applewebkit/i.test(q),Cg=e,Dg=Wf,Ng=Na,Ug=F,Mg=zr,Lg=o,Fg=Vo,Bg=kg,zg=vt,Wg=sy,Hg=Pg,Vg=Gc,Yg=Cg.setImmediate,Gg=Cg.clearImmediate,$g=Cg.process,qg=Cg.Dispatch,Jg=Cg.Function,Xg=Cg.MessageChannel,Qg=Cg.String,Zg=0,Kg={},rw="onreadystatechange";Lg((function(){Tg=Cg.location}));var tw=function(r){if(Mg(Kg,r)){var t=Kg[r];delete Kg[r],t()}},ew=function(r){return function(){tw(r)}},nw=function(r){tw(r.data)},ow=function(r){Cg.postMessage(Qg(r),Tg.protocol+"//"+Tg.host)};Yg&&Gg||(Yg=function(r){Wg(arguments.length,1);var t=Ug(r)?r:Jg(r),e=Bg(arguments,1);return Kg[++Zg]=function(){Dg(t,void 0,e)},xg(Zg),Zg},Gg=function(r){delete Kg[r]},Vg?xg=function(r){$g.nextTick(ew(r))}:qg&&qg.now?xg=function(r){qg.now(ew(r))}:Xg&&!Hg?(jg=(_g=new Xg).port2,_g.port1.onmessage=nw,xg=Ng(jg.postMessage,jg)):Cg.addEventListener&&Ug(Cg.postMessage)&&!Cg.importScripts&&Tg&&"file:"!==Tg.protocol&&!Lg(ow)?(xg=ow,Cg.addEventListener("message",nw,!1)):xg=rw in zg("script")?function(r){Fg.appendChild(zg("script"))[rw]=function(){Fg.removeChild(this),tw(r)}}:function(r){setTimeout(ew(r),0)});var iw={set:Yg,clear:Gg},aw=iw.clear;ro({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==aw},{clearImmediate:aw});var uw=e,cw=Wf,fw=F,sw=Yc,hw=q,lw=kg,pw=sy,dw=uw.Function,yw=/MSIE .\./.test(hw)||"BUN"===sw&&function(){var r=uw.Bun.version.split(".");return r.length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2])}(),vw=ro,gw=e,ww=iw.set,mw=function(r,t){var e=t?2:1;return yw?function(n,o){var i=pw(arguments.length,1)>e,a=fw(n)?n:dw(n),u=i?lw(arguments,e):[],c=i?function(){cw(a,this,u)}:a;return t?r(c,o):r(c)}:r},bw=gw.setImmediate?mw(ww,!1):ww;vw({global:!0,bind:!0,enumerable:!0,forced:gw.setImmediate!==bw},{setImmediate:bw}),function(){function t(r,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+r+")"}function e(r,t){if(-1!==r.indexOf("\\")&&(r=r.replace(A,"/")),"/"===r[0]&&"/"===r[1])return t.slice(0,t.indexOf(":")+1)+r;if("."===r[0]&&("/"===r[1]||"."===r[1]&&("/"===r[2]||2===r.length&&(r+="/"))||1===r.length&&(r+="/"))||"/"===r[0]){var e,n=t.slice(0,t.indexOf(":")+1);if(e="/"===t[n.length+1]?"file:"!==n?(e=t.slice(n.length+2)).slice(e.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===r[0])return t.slice(0,t.length-e.length-1)+r;for(var o=e.slice(0,e.lastIndexOf("/")+1)+r,i=[],a=-1,u=0;u<o.length;u++)-1!==a?"/"===o[u]&&(i.push(o.slice(a,u+1)),a=-1):"."===o[u]?"."!==o[u+1]||"/"!==o[u+2]&&u+2!==o.length?"/"===o[u+1]||u+1===o.length?u+=1:a=u:(i.pop(),u+=2):a=u;return-1!==a&&i.push(o.slice(a)),t.slice(0,t.length-e.length)+i.join("")}}function n(r,t){return e(r,t)||(-1!==r.indexOf(":")?r:e("./"+r,t))}function o(r,t,n,o,i){for(var a in r){var u=e(a,n)||a,s=r[a];if("string"==typeof s){var h=f(o,e(s,n)||s,i);h?t[u]=h:c("W1",a,s)}}}function i(r,t,e){var i;for(i in r.imports&&o(r.imports,e.imports,t,e,null),r.scopes||{}){var a=n(i,t);o(r.scopes[i],e.scopes[a]||(e.scopes[a]={}),t,e,a)}for(i in r.depcache||{})e.depcache[n(i,t)]=r.depcache[i];for(i in r.integrity||{})e.integrity[n(i,t)]=r.integrity[i]}function a(r,t){if(t[r])return r;var e=r.length;do{var n=r.slice(0,e+1);if(n in t)return n}while(-1!==(e=r.lastIndexOf("/",e-1)))}function u(r,t){var e=a(r,t);if(e){var n=t[e];if(null===n)return;if(!(r.length>e.length&&"/"!==n[n.length-1]))return n+r.slice(e.length);c("W2",e,n)}}function c(r,e,n){console.warn(t(r,[n,e].join(", ")))}function f(r,t,e){for(var n=r.scopes,o=e&&a(e,n);o;){var i=u(t,n[o]);if(i)return i;o=a(o.slice(0,o.lastIndexOf("/")),n)}return u(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[R]={}}function h(r,e,n,o){var i=r[R][e];if(i)return i;var a=[],u=Object.create(null);I&&Object.defineProperty(u,I,{value:"Module"});var c=Promise.resolve().then((function(){return r.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(t(2,e));var o=n[1]((function(r,t){i.h=!0;var e=!1;if("string"==typeof r)r in u&&u[r]===t||(u[r]=t,e=!0);else{for(var n in r)t=r[n],n in u&&u[n]===t||(u[n]=t,e=!0);r&&r.__esModule&&(u.__esModule=r.__esModule)}if(e)for(var o=0;o<a.length;o++){var c=a[o];c&&c(u)}return t}),2===n[1].length?{import:function(t,n){return r.import(t,e,n)},meta:r.createContext(e)}:void 0);return i.e=o.execute||function(){},[n[0],o.setters||[],n[2]||[]]}),(function(r){throw i.e=null,i.er=r,r})),f=c.then((function(t){return Promise.all(t[0].map((function(n,o){var i=t[1][o],a=t[2][o];return Promise.resolve(r.resolve(n,e)).then((function(t){var n=h(r,t,e,a);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(r){i.d=r}))}));return i=r[R][e]={id:e,i:a,n:u,m:o,I:c,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function l(r,t,e,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=e),Promise.all(t.d.map((function(t){return l(r,t,e,n)})))})).catch((function(r){if(t.er)throw r;throw t.e=null,r}))}function p(r,t){return t.C=l(r,t,t,{}).then((function(){return d(r,t,{})})).then((function(){return t.n}))}function d(r,t,e){function n(){try{var r=i.call(x);if(r)return r=r.then((function(){t.C=t.n,t.E=null}),(function(r){throw t.er=r,t.E=null,r})),t.E=r;t.C=t.n,t.L=t.I=void 0}catch(e){throw t.er=e,e}}if(!e[t.id]){if(e[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o,i=t.e;return t.e=null,t.d.forEach((function(n){try{var i=d(r,n,e);i&&(o=o||[]).push(i)}catch(u){throw t.er=u,u}})),o?Promise.all(o).then(n):n()}}function y(){[].forEach.call(document.querySelectorAll("script"),(function(r){if(!r.sp)if("systemjs-module"===r.type){if(r.sp=!0,!r.src)return;System.import("import:"===r.src.slice(0,7)?r.src.slice(7):n(r.src,v)).catch((function(t){if(t.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),r.dispatchEvent(e)}return Promise.reject(t)}))}else if("systemjs-importmap"===r.type){r.sp=!0;var e=r.src?(System.fetch||fetch)(r.src,{integrity:r.integrity,priority:r.fetchPriority,passThrough:!0}).then((function(r){if(!r.ok)throw Error(r.status);return r.text()})).catch((function(e){return e.message=t("W4",r.src)+"\n"+e.message,console.warn(e),"function"==typeof r.onerror&&r.onerror(),"{}"})):r.innerHTML;k=k.then((function(){return e})).then((function(e){!function(r,e,n){var o={};try{o=JSON.parse(e)}catch(u){console.warn(Error(t("W5")))}i(o,n,r)}(P,e,r.src||v)}))}}))}var v,g="undefined"!=typeof Symbol,w="undefined"!=typeof self,m="undefined"!=typeof document,b=w?self:r;if(m){var E=document.querySelector("base[href]");E&&(v=E.href)}if(!v&&"undefined"!=typeof location){var S=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==S&&(v=v.slice(0,S+1))}var O,A=/\\/g,I=g&&Symbol.toStringTag,R=g?Symbol():"@",T=s.prototype;T.import=function(r,t,e){var n=this;return t&&"object"==typeof t&&(e=t,t=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(r,t,e)})).then((function(r){var t=h(n,r,void 0,e);return t.C||p(n,t)}))},T.createContext=function(r){var t=this;return{url:r,resolve:function(e,n){return Promise.resolve(t.resolve(e,n||r))}}},T.register=function(r,t,e){O=[r,t,e]},T.getRegister=function(){var r=O;return O=void 0,r};var x=Object.freeze(Object.create(null));b.System=new s;var _,j,k=Promise.resolve(),P={imports:{},scopes:{},depcache:{},integrity:{}},C=m;if(T.prepareImport=function(r){return(C||r)&&(y(),C=!1),k},T.getImportMap=function(){return JSON.parse(JSON.stringify(P))},m&&(y(),window.addEventListener("DOMContentLoaded",y)),T.addImportMap=function(r,t){i(r,t||v,P)},m){window.addEventListener("error",(function(r){N=r.filename,U=r.error}));var D=location.origin}T.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(D+"/")&&(t.crossOrigin="anonymous");var e=P.integrity[r];return e&&(t.integrity=e),t.src=r,t};var N,U,M={},L=T.register;T.register=function(r,t){if(m&&"loading"===document.readyState&&"string"!=typeof r){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){_=r;var o=this;j=setTimeout((function(){M[n.src]=[r,t],o.import(n.src)}))}}else _=void 0;return L.call(this,r,t)},T.instantiate=function(r,e){var n=M[r];if(n)return delete M[r],n;var o=this;return Promise.resolve(T.createScript(r)).then((function(n){return new Promise((function(i,a){n.addEventListener("error",(function(){a(Error(t(3,[r,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),N===r)a(U);else{var t=o.getRegister(r);t&&t[0]===_&&clearTimeout(j),i(t)}})),document.head.appendChild(n)}))}))},T.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(T.fetch=fetch);var F=T.instantiate,B=/^(text|application)\/(x-)?javascript(;|$)/;T.instantiate=function(r,e,n){var o=this;return this.shouldFetch(r,e,n)?this.fetch(r,{credentials:"same-origin",integrity:P.integrity[r],meta:n}).then((function(n){if(!n.ok)throw Error(t(7,[n.status,n.statusText,r,e].join(", ")));var i=n.headers.get("content-type");if(!i||!B.test(i))throw Error(t(4,i));return n.text().then((function(t){return t.indexOf("//# sourceURL=")<0&&(t+="\n//# sourceURL="+r),(0,eval)(t),o.getRegister(r)}))})):F.apply(this,arguments)},T.resolve=function(r,n){return f(P,e(r,n=n||v)||r,n)||function(r,e){throw Error(t(8,[r,e].join(", ")))}(r,n)};var z=T.instantiate;T.instantiate=function(r,t,e){var n=P.depcache[r];if(n)for(var o=0;o<n.length;o++)h(this,this.resolve(n[o],r),r);return z.call(this,r,t,e)},w&&"function"==typeof importScripts&&(T.instantiate=function(r){var t=this;return Promise.resolve().then((function(){return importScripts(r),t.getRegister(r)}))})}()}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{df as z,dB as W,q as P,J as H,x as S,G as A,y as E,bP as Y,S as T,dq as R,cd as q,dC as k,aT as N,dD as I,dE as Q,dF as U,dA as Z,dw as tt,as as F,bN as et}from"./index-
|
|
1
|
+
import{df as z,dB as W,q as P,J as H,x as S,G as A,y as E,bP as Y,S as T,dq as R,cd as q,dC as k,aT as N,dD as I,dE as Q,dF as U,dA as Z,dw as tt,as as F,bN as et}from"./index-ebb2e1ad.js";var C=(t=>(t.menu="solid-contextmenu",t.submenu="solid-contextmenu solid-contextmenu__submenu",t.submenuArrow="solid-contextmenu__submenu-arrow",t.submenuOpen="solid-contextmenu__submenu--is-open",t.separator="solid-contextmenu__separator",t.item="solid-contextmenu__item",t.itemDisabled="solid-contextmenu__item--disabled",t.itemContent="solid-contextmenu__item__content",t.theme="solid-contextmenu__theme--",t.animationWillEnter="solid-contextmenu__will-enter--",t.animationWillLeave="solid-contextmenu__will-leave--",t))(C||{});function M(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}const nt=t=>{let e,i=!0;const[o,c]=P(),[y,x]=P(),w=I(()=>t.children),m=t.name||"s";t=H({name:m,enterActiveClass:m+"-enter-active",enterClass:m+"-enter",enterToClass:m+"-enter-to",exitActiveClass:m+"-exit-active",exitClass:m+"-exit",exitToClass:m+"-exit-to"},t);const{onBeforeEnter:b,onEnter:a,onAfterEnter:u,onBeforeExit:f,onExit:$,onAfterExit:r}=t;function p(n,s){if(!i||t.appear){let l=function(v){n&&(!v||v.target===n)&&(n.removeEventListener("transitionend",l),n.removeEventListener("animationend",l),n.classList.remove(...d),n.classList.remove(...h),et(()=>{o()!==n&&c(n),y()===n&&x(void 0)}),u&&u(n),t.mode==="inout"&&_(n,s))};const g=t.enterClass.split(" "),d=t.enterActiveClass.split(" "),h=t.enterToClass.split(" ");b&&b(n),n.classList.add(...g),n.classList.add(...d),M(()=>{n.classList.remove(...g),n.classList.add(...h),a&&a(n,()=>l()),(!a||a.length<2)&&(n.addEventListener("transitionend",l),n.addEventListener("animationend",l))})}s&&!t.mode?x(n):c(n)}function _(n,s){const l=t.exitClass.split(" "),g=t.exitActiveClass.split(" "),d=t.exitToClass.split(" ");if(!s.parentNode)return h();f&&f(s),s.classList.add(...l),s.classList.add(...g),M(()=>{s.classList.remove(...l),s.classList.add(...d)}),$&&$(s,()=>h()),(!$||$.length<2)&&(s.addEventListener("transitionend",h),s.addEventListener("animationend",h));function h(v){(!v||v.target===s)&&(s.removeEventListener("transitionend",h),s.removeEventListener("animationend",h),s.classList.remove(...g),s.classList.remove(...d),o()===s&&c(void 0),r&&r(s),t.mode==="outin"&&p(n,s))}}return Q(n=>{for(e=w();typeof e=="function";)e=e();return U(()=>(e&&e!==n&&(t.mode!=="outin"?p(e,n):i&&c(e)),n&&n!==e&&t.mode!=="inout"&&_(e,n),i=!1,e))}),[o,y]};function it(t){return{all:t=t||new Map,on:function(e,i){var o=t.get(e);o?o.push(i):t.set(e,[i])},off:function(e,i){var o=t.get(e);o&&(i?o.splice(o.indexOf(i)>>>0,1):t.set(e,[]))},emit:function(e,i){var o=t.get(e);o&&o.slice().map(function(c){c(i)}),(o=t.get("*"))&&o.slice().map(function(c){c(e,i)})}}}const L=it(),K=Z(),V=()=>tt(K);function X(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(i=X(t[e]))&&(o&&(o+=" "),o+=i);else for(e in t)t[e]&&(o&&(o+=" "),o+=e);return o}function j(){for(var t,e,i=0,o="";i<arguments.length;)(t=arguments[i++])&&(e=X(t))&&(o&&(o+=" "),o+=e);return o}const ot=F("<div></div>",2),O=(t,e,i)=>t+e<=i?t:t<e?i-e:t-e,st=(t,e)=>{const i={width:window.innerWidth,height:window.innerHeight};return{x:O(t.x,e.width,i.width),y:O(t.y,e.height,i.height)}},ht=t=>{const[e,i]=W(t,["id","theme","animation","onShown","onHidden"]),[o,c]=P(!1),[y,x]=P({x:0,y:0});let w;const[m,b]=P();L.on("show",r=>{var p;r.id===e.id&&(r.event.preventDefault(),b(r.props),c(!0),x((p=r.position)!=null?p:st({x:r.event.clientX,y:r.event.clientY},{width:w.offsetWidth,height:w.offsetHeight})))});const a=()=>{L.emit("hide",e.id),c(!1)},u=H({shown:o,animation:"scale",hide:a,props:m},e);L.on("hideAll",()=>{a()}),S(()=>{L.off("show"),L.off("hideAll")});const f=A(()=>{let r="";return e.animation&&(r="solid-contextmenu-".concat(e.animation)),console.log(r),r}),$=A(()=>({enterActiveClass:f()+"-enter-active",exitActiveClass:f()+"-exit-active"}));return E(K.Provider,{value:u,get children(){return E(Y,{get children(){return E(nt,H($,{get children(){return E(T,{get when(){return o()},get children(){const r=ot.cloneNode(!0),p=w;return typeof p=="function"?p(r):w=r,rt(r,()=>a()),R(r,i,!1,!1),q(_=>{const n=j(C.menu,i.class,{["".concat(C.theme).concat(e.theme)]:e.theme}),s=y().x+"px",l=y().y+"px";return n!==_._v$&&k(r,_._v$=n),s!==_._v$2&&r.style.setProperty("left",_._v$2=s),l!==_._v$3&&r.style.setProperty("top",_._v$3=l),_},{_v$:void 0,_v$2:void 0,_v$3:void 0}),r}})}}))}})}})};function rt(t,e){const i=o=>{var c;return!t.contains(o.target)&&((c=e())==null?void 0:c())};document.body.addEventListener("click",i),S(()=>document.body.removeEventListener("click",i))}function dt(t){return typeof t=="function"}function D(t,e){return dt(t)?t(e):t}const at=F("<div><div></div></div>",4),ut=t=>{const[e,i]=W(t,["hidden","disabled","onClick","data","children"]),o=H({hidden:!1,disabled:!1},e),{props:c,hide:y}=V(),x=A(()=>({props:c(),data:t.data})),w=A(()=>D(o.disabled,x())),m=A(()=>D(o.hidden,x())),b=a=>{var u;w()||((u=t.onClick)==null||u.call(t,{event:a,...x()}),y())};return E(T,{get when(){return!m()},get children(){const a=at.cloneNode(!0),u=a.firstChild;return a.$$click=b,R(a,i,!1,!0),N(u,()=>e.children),q(f=>{const $=j(C.item,{[C.itemDisabled]:w()}),r=C.itemContent;return $!==f._v$&&k(a,f._v$=$),r!==f._v$2&&k(u,f._v$2=r),f},{_v$:void 0,_v$2:void 0}),a}})};z(["click"]);const lt=F("<div></div>",2),ct=F("<div><div><span></span></div></div>",6),mt=t=>{const[e,i]=W(t,["arrow","children","disabled","hidden","label","class"]),o=H({arrow:"▶️",disabled:!1,hidden:!1},e),{props:c,id:y}=V(),x=A(()=>({props:c()})),w=A(()=>D(o.disabled,x())),m=A(()=>D(o.hidden,x()));let b,a;const[u,f]=P({x:0,y:0}),$=()=>{const n=b.getBoundingClientRect(),s=a.getBoundingClientRect(),l={width:window.innerWidth,height:window.innerHeight};let g=n.right;g+s.width>l.width&&(n.left-s.width>0?g=n.left-s.width:g=l.width-s.width);let d=n.top;d+s.height>l.height&&(n.bottom-s.height>0?d=n.bottom-s.height:d=l.height-s.height),f({x:g,y:d}),console.log(u())},[r,p]=P(!1),_=()=>{p(!0),$()};return L.on("hide",n=>{n===y&&p(!1)}),S(()=>{L.off("hide")}),E(T,{get when(){return!m()},get children(){const n=ct.cloneNode(!0),s=n.firstChild,l=s.firstChild;n.$$click=()=>r()?p(!1):_(),n.addEventListener("mouseleave",()=>p(!1)),n.addEventListener("mouseenter",()=>_()),R(n,i,!1,!0);const g=b;return typeof g=="function"?g(s):b=s,N(s,()=>o.label,l),N(l,()=>o.arrow),N(n,E(T,{get when(){return r()},get children(){const d=lt.cloneNode(!0),h=a;return typeof h=="function"?h(d):a=d,N(d,()=>o.children),q(v=>{const B=C.submenu,G=u().x+"px",J=u().y+"px";return B!==v._v$&&k(d,v._v$=B),G!==v._v$2&&d.style.setProperty("left",v._v$2=G),J!==v._v$3&&d.style.setProperty("top",v._v$3=J),v},{_v$:void 0,_v$2:void 0,_v$3:void 0}),d}}),null),q(d=>{const h=j(C.item,e.class,{[C.itemDisabled]:w()}),v=C.itemContent,B=C.submenuArrow;return h!==d._v$4&&k(n,d._v$4=h),v!==d._v$5&&k(s,d._v$5=v),B!==d._v$6&&k(l,d._v$6=B),d},{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n}})};z(["click"]);const ft=t=>({show:(e,i)=>{L.emit("show",{id:(i==null?void 0:i.id)||(t==null?void 0:t.id),props:(i==null?void 0:i.props)||(t==null?void 0:t.props),event:e,position:i==null?void 0:i.position})},hideAll:()=>{L.emit("hideAll")}});export{mt as C,ft as b,ht as w,ut as x};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy-1f04bc87.js"],(function(e,t){"use strict";var n,o,i,s,r,d,c,l,a,m,u,_,p,x,f,v,h,g,b,y;return{setters:[e=>{n=e.df,o=e.dB,i=e.q,s=e.J,r=e.x,d=e.G,c=e.y,l=e.bP,a=e.S,m=e.dq,u=e.cd,_=e.dC,p=e.aT,x=e.dD,f=e.dE,v=e.dF,h=e.dA,g=e.dw,b=e.as,y=e.bN}],execute:function(){var t=document.createElement("style");t.textContent=".solid-contextmenu{position:fixed;user-select:none;background-color:#fff;box-sizing:border-box;box-shadow:0 10px 30px -5px rgba(0,0,0,.3);border-radius:6px;padding:6px 0;min-width:200px;z-index:100}.solid-contextmenu__submenu--is-open,.solid-contextmenu__submenu--is-open>.solid-contextmenu__item__content{color:#fff;background-color:#4393e6}.solid-contextmenu__submenu--is-open>.solid-contextmenu__submenu{pointer-events:initial;opacity:1}.solid-contextmenu .solid-contextmenu__submenu{position:fixed;pointer-events:none;transition:opacity .275s}.solid-contextmenu__submenu-arrow{margin-left:auto;font-size:12px}.solid-contextmenu__separator{width:100%;height:1px;cursor:default;margin:4px 0;background-color:rgba(0,0,0,.2)}.solid-contextmenu__will-leave--disabled{pointer-events:none}.solid-contextmenu__item{cursor:pointer;position:relative}.solid-contextmenu__item:focus{outline:0}.solid-contextmenu__item:not(.solid-contextmenu__item--disabled):hover>.solid-contextmenu__item__content,.solid-contextmenu__item:not(.solid-contextmenu__item--disabled):focus>.solid-contextmenu__item__content{color:#fff;background-color:#4393e6}.solid-contextmenu__item:not(.solid-contextmenu__item--disabled):hover>.solid-contextmenu__submenu{pointer-events:initial;opacity:1}.solid-contextmenu__item--disabled{cursor:default;opacity:.5}.solid-contextmenu__item__content{padding:6px 12px;display:flex;align-items:center;white-space:nowrap;color:#333;position:relative}.solid-contextmenu__theme--dark,.solid-contextmenu__theme--dark .solid-contextmenu__submenu{background-color:rgba(40,40,40,.98)}.solid-contextmenu__theme--dark .solid-contextmenu__separator{background-color:#eee}.solid-contextmenu__theme--dark .solid-contextmenu__item__content{color:#fff}.solid-contextmenu__theme--light .solid-contextmenu__separator{background-color:#eee}.solid-contextmenu__theme--light .solid-contextmenu__submenu--is-open,.solid-contextmenu__theme--light .solid-contextmenu__submenu--is-open>.solid-contextmenu__item__content{color:#4393e6;background-color:#e0eefd}.solid-contextmenu__theme--light .solid-contextmenu__item:not(.solid-contextmenu__item--disabled):hover>.solid-contextmenu__item__content,.solid-contextmenu__theme--light .solid-contextmenu__item:not(.solid-contextmenu__item--disabled):focus>.solid-contextmenu__item__content{color:#4393e6;background-color:#e0eefd}.solid-contextmenu__theme--light .solid-contextmenu__item__content{color:#666}@keyframes solid-contextmenu__scaleIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:1}}@keyframes solid-contextmenu__scaleOut{0%{opacity:1}to{opacity:0;transform:scale3d(.3,.3,.3)}}.solid-contextmenu-scale-enter-active{transform-origin:top left;animation:solid-contextmenu__scaleIn .3s}.solid-contextmenu-scale-exit-active{transform-origin:top left;animation:solid-contextmenu__scaleOut .3s}@keyframes solid-contextmenu__fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes solid-contextmenu__fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(10px)}}.solid-contextmenu-fade-enter-active{animation:solid-contextmenu__fadeIn .3s ease}.solid-contextmenu-fade-exit-active{animation:solid-contextmenu__fadeOut .3s ease}@keyframes solid-contextmenu__flipInX{0%{transform:perspective(800px) rotateX(45deg)}to{transform:perspective(800px)}}@keyframes solid-contextmenu__flipOutX{0%{transform:perspective(800px)}to{transform:perspective(800px) rotateX(45deg);opacity:0}}.solid-contextmenu-flip-enter-active{backface-visibility:visible!important;transform-origin:top center;animation:solid-contextmenu__flipInX .3s}.solid-contextmenu-flip-exit-active{transform-origin:top center;animation:solid-contextmenu__flipOutX .3s;backface-visibility:visible!important}@keyframes swing-in-top-fwd{0%{transform:rotateX(-100deg);transform-origin:top;opacity:0}to{transform:rotateX(0);transform-origin:top;opacity:1}}@keyframes solid-contextmenu__slideIn{0%{opacity:0;transform:scale3d(1,.3,1)}to{opacity:1}}@keyframes solid-contextmenu__slideOut{0%{opacity:1}to{opacity:0;transform:scale3d(1,.3,1)}}.solid-contextmenu-slide-enter-active{transform-origin:top center;animation:solid-contextmenu__slideIn .3s}.solid-contextmenu-slide-exit-active{transform-origin:top center;animation:solid-contextmenu__slideOut .3s}\n",document.head.appendChild(t);var w=(e=>(e.menu="solid-contextmenu",e.submenu="solid-contextmenu solid-contextmenu__submenu",e.submenuArrow="solid-contextmenu__submenu-arrow",e.submenuOpen="solid-contextmenu__submenu--is-open",e.separator="solid-contextmenu__separator",e.item="solid-contextmenu__item",e.itemDisabled="solid-contextmenu__item--disabled",e.itemContent="solid-contextmenu__item__content",e.theme="solid-contextmenu__theme--",e.animationWillEnter="solid-contextmenu__will-enter--",e.animationWillLeave="solid-contextmenu__will-leave--",e))(w||{});function $(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}const k=e=>{let t,n=!0;const[o,r]=i(),[d,c]=i(),l=x((()=>e.children)),a=e.name||"s";e=s({name:a,enterActiveClass:a+"-enter-active",enterClass:a+"-enter",enterToClass:a+"-enter-to",exitActiveClass:a+"-exit-active",exitClass:a+"-exit",exitToClass:a+"-exit-to"},e);const{onBeforeEnter:m,onEnter:u,onAfterEnter:_,onBeforeExit:p,onExit:h,onAfterExit:g}=e;function b(t,i){if(!n||e.appear){let n=function(s){t&&(!s||s.target===t)&&(t.removeEventListener("transitionend",n),t.removeEventListener("animationend",n),t.classList.remove(...l),t.classList.remove(...a),y((()=>{o()!==t&&r(t),d()===t&&c(void 0)})),_&&_(t),"inout"===e.mode&&w(t,i))};const s=e.enterClass.split(" "),l=e.enterActiveClass.split(" "),a=e.enterToClass.split(" ");m&&m(t),t.classList.add(...s),t.classList.add(...l),$((()=>{t.classList.remove(...s),t.classList.add(...a),u&&u(t,(()=>n())),(!u||u.length<2)&&(t.addEventListener("transitionend",n),t.addEventListener("animationend",n))}))}i&&!e.mode?c(t):r(t)}function w(t,n){const i=e.exitClass.split(" "),s=e.exitActiveClass.split(" "),d=e.exitToClass.split(" ");if(!n.parentNode)return c();function c(i){(!i||i.target===n)&&(n.removeEventListener("transitionend",c),n.removeEventListener("animationend",c),n.classList.remove(...s),n.classList.remove(...d),o()===n&&r(void 0),g&&g(n),"outin"===e.mode&&b(t,n))}p&&p(n),n.classList.add(...i),n.classList.add(...s),$((()=>{n.classList.remove(...i),n.classList.add(...d)})),h&&h(n,(()=>c())),(!h||h.length<2)&&(n.addEventListener("transitionend",c),n.addEventListener("animationend",c))}return f((o=>{for(t=l();"function"==typeof t;)t=t();return v((()=>(t&&t!==o&&("outin"!==e.mode?b(t,o):n&&r(t)),o&&o!==t&&"inout"!==e.mode&&w(t,o),n=!1,t)))})),[o,d]},C={all:A=A||new Map,on:function(e,t){var n=A.get(e);n?n.push(t):A.set(e,[t])},off:function(e,t){var n=A.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):A.set(e,[]))},emit:function(e,t){var n=A.get(e);n&&n.slice().map((function(e){e(t)})),(n=A.get("*"))&&n.slice().map((function(n){n(e,t)}))}},L=h(),E=()=>g(L);var A;function O(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=O(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function X(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=O(e))&&(o&&(o+=" "),o+=t);return o}const I=b("<div></div>",2),N=(e,t,n)=>e+t<=n?e:e<t?n-t:e-t;function P(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}e("w",(e=>{const[t,n]=o(e,["id","theme","animation","onShown","onHidden"]),[p,x]=i(!1),[f,v]=i({x:0,y:0});let h;const[g,b]=i();C.on("show",(e=>{e.id===t.id&&(e.event.preventDefault(),b(e.props),x(!0),v(e.position??((e,t)=>{const n={width:window.innerWidth,height:window.innerHeight};return{x:N(e.x,t.width,n.width),y:N(e.y,t.height,n.height)}})({x:e.event.clientX,y:e.event.clientY},{width:h.offsetWidth,height:h.offsetHeight})))}));const y=()=>{C.emit("hide",t.id),x(!1)},$=s({shown:p,animation:"scale",hide:y,props:g},t);C.on("hideAll",(()=>{y()})),r((()=>{C.off("show"),C.off("hideAll")}));const E=d((()=>{let e="";return t.animation&&(e=`solid-contextmenu-${t.animation}`),console.log(e),e})),A=d((()=>({enterActiveClass:E()+"-enter-active",exitActiveClass:E()+"-exit-active"})));return c(L.Provider,{value:$,get children(){return c(l,{get children(){return c(k,s(A,{get children(){return c(a,{get when(){return p()},get children(){const e=I.cloneNode(!0);return"function"==typeof h?h(e):h=e,function(e,t){const n=n=>!e.contains(n.target)&&t()?.();document.body.addEventListener("click",n),r((()=>document.body.removeEventListener("click",n)))}(e,(()=>y())),m(e,n,!1,!1),u((o=>{const i=X(w.menu,n.class,{[`${w.theme}${t.theme}`]:t.theme}),s=f().x+"px",r=f().y+"px";return i!==o._v$&&_(e,o._v$=i),s!==o._v$2&&e.style.setProperty("left",o._v$2=s),r!==o._v$3&&e.style.setProperty("top",o._v$3=r),o}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})}}))}})}})}));const B=b("<div><div></div></div>",4);e("x",(e=>{const[t,n]=o(e,["hidden","disabled","onClick","data","children"]),i=s({hidden:!1,disabled:!1},t),{props:r,hide:l}=E(),x=d((()=>({props:r(),data:e.data}))),f=d((()=>P(i.disabled,x()))),v=d((()=>P(i.hidden,x()))),h=t=>{f()||(e.onClick?.({event:t,...x()}),l())};return c(a,{get when(){return!v()},get children(){const e=B.cloneNode(!0),o=e.firstChild;return e.$$click=h,m(e,n,!1,!0),p(o,(()=>t.children)),u((t=>{const n=X(w.item,{[w.itemDisabled]:f()}),i=w.itemContent;return n!==t._v$&&_(e,t._v$=n),i!==t._v$2&&_(o,t._v$2=i),t}),{_v$:void 0,_v$2:void 0}),e}})})),n(["click"]);const D=b("<div></div>",2),T=b("<div><div><span></span></div></div>",6);e("C",(e=>{const[t,n]=o(e,["arrow","children","disabled","hidden","label","class"]),l=s({arrow:"▶️",disabled:!1,hidden:!1},t),{props:x,id:f}=E(),v=d((()=>({props:x()}))),h=d((()=>P(l.disabled,v()))),g=d((()=>P(l.hidden,v())));let b,y;const[$,k]=i({x:0,y:0}),[L,A]=i(!1),O=()=>{A(!0),(()=>{const e=b.getBoundingClientRect(),t=y.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight;let i=e.right;i+t.width>n&&(i=e.left-t.width>0?e.left-t.width:n-t.width);let s=e.top;s+t.height>o&&(s=e.bottom-t.height>0?e.bottom-t.height:o-t.height),k({x:i,y:s}),console.log($())})()};return C.on("hide",(e=>{e===f&&A(!1)})),r((()=>{C.off("hide")})),c(a,{get when(){return!g()},get children(){const e=T.cloneNode(!0),o=e.firstChild,i=o.firstChild;return e.$$click=()=>L()?A(!1):O(),e.addEventListener("mouseleave",(()=>A(!1))),e.addEventListener("mouseenter",(()=>O())),m(e,n,!1,!0),"function"==typeof b?b(o):b=o,p(o,(()=>l.label),i),p(i,(()=>l.arrow)),p(e,c(a,{get when(){return L()},get children(){const e=D.cloneNode(!0);return"function"==typeof y?y(e):y=e,p(e,(()=>l.children)),u((t=>{const n=w.submenu,o=$().x+"px",i=$().y+"px";return n!==t._v$&&_(e,t._v$=n),o!==t._v$2&&e.style.setProperty("left",t._v$2=o),i!==t._v$3&&e.style.setProperty("top",t._v$3=i),t}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),u((n=>{const s=X(w.item,t.class,{[w.itemDisabled]:h()}),r=w.itemContent,d=w.submenuArrow;return s!==n._v$4&&_(e,n._v$4=s),r!==n._v$5&&_(o,n._v$5=r),d!==n._v$6&&_(i,n._v$6=d),n}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),e}})})),n(["click"]),e("b",(e=>({show:(t,n)=>{C.emit("show",{id:n?.id||e?.id,props:n?.props||e?.props,event:t,position:n?.position})},hideAll:()=>{C.emit("hideAll")}})))}}}));
|
|
1
|
+
System.register(["./index-legacy-1e4593e9.js"],(function(e,t){"use strict";var n,o,i,s,r,d,c,l,a,m,u,_,p,x,f,v,h,g,b,y;return{setters:[e=>{n=e.df,o=e.dB,i=e.q,s=e.J,r=e.x,d=e.G,c=e.y,l=e.bP,a=e.S,m=e.dq,u=e.cd,_=e.dC,p=e.aT,x=e.dD,f=e.dE,v=e.dF,h=e.dA,g=e.dw,b=e.as,y=e.bN}],execute:function(){var t=document.createElement("style");t.textContent=".solid-contextmenu{position:fixed;user-select:none;background-color:#fff;box-sizing:border-box;box-shadow:0 10px 30px -5px rgba(0,0,0,.3);border-radius:6px;padding:6px 0;min-width:200px;z-index:100}.solid-contextmenu__submenu--is-open,.solid-contextmenu__submenu--is-open>.solid-contextmenu__item__content{color:#fff;background-color:#4393e6}.solid-contextmenu__submenu--is-open>.solid-contextmenu__submenu{pointer-events:initial;opacity:1}.solid-contextmenu .solid-contextmenu__submenu{position:fixed;pointer-events:none;transition:opacity .275s}.solid-contextmenu__submenu-arrow{margin-left:auto;font-size:12px}.solid-contextmenu__separator{width:100%;height:1px;cursor:default;margin:4px 0;background-color:rgba(0,0,0,.2)}.solid-contextmenu__will-leave--disabled{pointer-events:none}.solid-contextmenu__item{cursor:pointer;position:relative}.solid-contextmenu__item:focus{outline:0}.solid-contextmenu__item:not(.solid-contextmenu__item--disabled):hover>.solid-contextmenu__item__content,.solid-contextmenu__item:not(.solid-contextmenu__item--disabled):focus>.solid-contextmenu__item__content{color:#fff;background-color:#4393e6}.solid-contextmenu__item:not(.solid-contextmenu__item--disabled):hover>.solid-contextmenu__submenu{pointer-events:initial;opacity:1}.solid-contextmenu__item--disabled{cursor:default;opacity:.5}.solid-contextmenu__item__content{padding:6px 12px;display:flex;align-items:center;white-space:nowrap;color:#333;position:relative}.solid-contextmenu__theme--dark,.solid-contextmenu__theme--dark .solid-contextmenu__submenu{background-color:rgba(40,40,40,.98)}.solid-contextmenu__theme--dark .solid-contextmenu__separator{background-color:#eee}.solid-contextmenu__theme--dark .solid-contextmenu__item__content{color:#fff}.solid-contextmenu__theme--light .solid-contextmenu__separator{background-color:#eee}.solid-contextmenu__theme--light .solid-contextmenu__submenu--is-open,.solid-contextmenu__theme--light .solid-contextmenu__submenu--is-open>.solid-contextmenu__item__content{color:#4393e6;background-color:#e0eefd}.solid-contextmenu__theme--light .solid-contextmenu__item:not(.solid-contextmenu__item--disabled):hover>.solid-contextmenu__item__content,.solid-contextmenu__theme--light .solid-contextmenu__item:not(.solid-contextmenu__item--disabled):focus>.solid-contextmenu__item__content{color:#4393e6;background-color:#e0eefd}.solid-contextmenu__theme--light .solid-contextmenu__item__content{color:#666}@keyframes solid-contextmenu__scaleIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:1}}@keyframes solid-contextmenu__scaleOut{0%{opacity:1}to{opacity:0;transform:scale3d(.3,.3,.3)}}.solid-contextmenu-scale-enter-active{transform-origin:top left;animation:solid-contextmenu__scaleIn .3s}.solid-contextmenu-scale-exit-active{transform-origin:top left;animation:solid-contextmenu__scaleOut .3s}@keyframes solid-contextmenu__fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes solid-contextmenu__fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(10px)}}.solid-contextmenu-fade-enter-active{animation:solid-contextmenu__fadeIn .3s ease}.solid-contextmenu-fade-exit-active{animation:solid-contextmenu__fadeOut .3s ease}@keyframes solid-contextmenu__flipInX{0%{transform:perspective(800px) rotateX(45deg)}to{transform:perspective(800px)}}@keyframes solid-contextmenu__flipOutX{0%{transform:perspective(800px)}to{transform:perspective(800px) rotateX(45deg);opacity:0}}.solid-contextmenu-flip-enter-active{backface-visibility:visible!important;transform-origin:top center;animation:solid-contextmenu__flipInX .3s}.solid-contextmenu-flip-exit-active{transform-origin:top center;animation:solid-contextmenu__flipOutX .3s;backface-visibility:visible!important}@keyframes swing-in-top-fwd{0%{transform:rotateX(-100deg);transform-origin:top;opacity:0}to{transform:rotateX(0);transform-origin:top;opacity:1}}@keyframes solid-contextmenu__slideIn{0%{opacity:0;transform:scale3d(1,.3,1)}to{opacity:1}}@keyframes solid-contextmenu__slideOut{0%{opacity:1}to{opacity:0;transform:scale3d(1,.3,1)}}.solid-contextmenu-slide-enter-active{transform-origin:top center;animation:solid-contextmenu__slideIn .3s}.solid-contextmenu-slide-exit-active{transform-origin:top center;animation:solid-contextmenu__slideOut .3s}\n",document.head.appendChild(t);var w=(e=>(e.menu="solid-contextmenu",e.submenu="solid-contextmenu solid-contextmenu__submenu",e.submenuArrow="solid-contextmenu__submenu-arrow",e.submenuOpen="solid-contextmenu__submenu--is-open",e.separator="solid-contextmenu__separator",e.item="solid-contextmenu__item",e.itemDisabled="solid-contextmenu__item--disabled",e.itemContent="solid-contextmenu__item__content",e.theme="solid-contextmenu__theme--",e.animationWillEnter="solid-contextmenu__will-enter--",e.animationWillLeave="solid-contextmenu__will-leave--",e))(w||{});function $(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}const k=e=>{let t,n=!0;const[o,r]=i(),[d,c]=i(),l=x((()=>e.children)),a=e.name||"s";e=s({name:a,enterActiveClass:a+"-enter-active",enterClass:a+"-enter",enterToClass:a+"-enter-to",exitActiveClass:a+"-exit-active",exitClass:a+"-exit",exitToClass:a+"-exit-to"},e);const{onBeforeEnter:m,onEnter:u,onAfterEnter:_,onBeforeExit:p,onExit:h,onAfterExit:g}=e;function b(t,i){if(!n||e.appear){let n=function(s){t&&(!s||s.target===t)&&(t.removeEventListener("transitionend",n),t.removeEventListener("animationend",n),t.classList.remove(...l),t.classList.remove(...a),y((()=>{o()!==t&&r(t),d()===t&&c(void 0)})),_&&_(t),"inout"===e.mode&&w(t,i))};const s=e.enterClass.split(" "),l=e.enterActiveClass.split(" "),a=e.enterToClass.split(" ");m&&m(t),t.classList.add(...s),t.classList.add(...l),$((()=>{t.classList.remove(...s),t.classList.add(...a),u&&u(t,(()=>n())),(!u||u.length<2)&&(t.addEventListener("transitionend",n),t.addEventListener("animationend",n))}))}i&&!e.mode?c(t):r(t)}function w(t,n){const i=e.exitClass.split(" "),s=e.exitActiveClass.split(" "),d=e.exitToClass.split(" ");if(!n.parentNode)return c();function c(i){(!i||i.target===n)&&(n.removeEventListener("transitionend",c),n.removeEventListener("animationend",c),n.classList.remove(...s),n.classList.remove(...d),o()===n&&r(void 0),g&&g(n),"outin"===e.mode&&b(t,n))}p&&p(n),n.classList.add(...i),n.classList.add(...s),$((()=>{n.classList.remove(...i),n.classList.add(...d)})),h&&h(n,(()=>c())),(!h||h.length<2)&&(n.addEventListener("transitionend",c),n.addEventListener("animationend",c))}return f((o=>{for(t=l();"function"==typeof t;)t=t();return v((()=>(t&&t!==o&&("outin"!==e.mode?b(t,o):n&&r(t)),o&&o!==t&&"inout"!==e.mode&&w(t,o),n=!1,t)))})),[o,d]},C={all:A=A||new Map,on:function(e,t){var n=A.get(e);n?n.push(t):A.set(e,[t])},off:function(e,t){var n=A.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):A.set(e,[]))},emit:function(e,t){var n=A.get(e);n&&n.slice().map((function(e){e(t)})),(n=A.get("*"))&&n.slice().map((function(n){n(e,t)}))}},L=h(),E=()=>g(L);var A;function O(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=O(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function X(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=O(e))&&(o&&(o+=" "),o+=t);return o}const I=b("<div></div>",2),N=(e,t,n)=>e+t<=n?e:e<t?n-t:e-t;function P(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}e("w",(e=>{const[t,n]=o(e,["id","theme","animation","onShown","onHidden"]),[p,x]=i(!1),[f,v]=i({x:0,y:0});let h;const[g,b]=i();C.on("show",(e=>{e.id===t.id&&(e.event.preventDefault(),b(e.props),x(!0),v(e.position??((e,t)=>{const n={width:window.innerWidth,height:window.innerHeight};return{x:N(e.x,t.width,n.width),y:N(e.y,t.height,n.height)}})({x:e.event.clientX,y:e.event.clientY},{width:h.offsetWidth,height:h.offsetHeight})))}));const y=()=>{C.emit("hide",t.id),x(!1)},$=s({shown:p,animation:"scale",hide:y,props:g},t);C.on("hideAll",(()=>{y()})),r((()=>{C.off("show"),C.off("hideAll")}));const E=d((()=>{let e="";return t.animation&&(e=`solid-contextmenu-${t.animation}`),console.log(e),e})),A=d((()=>({enterActiveClass:E()+"-enter-active",exitActiveClass:E()+"-exit-active"})));return c(L.Provider,{value:$,get children(){return c(l,{get children(){return c(k,s(A,{get children(){return c(a,{get when(){return p()},get children(){const e=I.cloneNode(!0);return"function"==typeof h?h(e):h=e,function(e,t){const n=n=>!e.contains(n.target)&&t()?.();document.body.addEventListener("click",n),r((()=>document.body.removeEventListener("click",n)))}(e,(()=>y())),m(e,n,!1,!1),u((o=>{const i=X(w.menu,n.class,{[`${w.theme}${t.theme}`]:t.theme}),s=f().x+"px",r=f().y+"px";return i!==o._v$&&_(e,o._v$=i),s!==o._v$2&&e.style.setProperty("left",o._v$2=s),r!==o._v$3&&e.style.setProperty("top",o._v$3=r),o}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})}}))}})}})}));const B=b("<div><div></div></div>",4);e("x",(e=>{const[t,n]=o(e,["hidden","disabled","onClick","data","children"]),i=s({hidden:!1,disabled:!1},t),{props:r,hide:l}=E(),x=d((()=>({props:r(),data:e.data}))),f=d((()=>P(i.disabled,x()))),v=d((()=>P(i.hidden,x()))),h=t=>{f()||(e.onClick?.({event:t,...x()}),l())};return c(a,{get when(){return!v()},get children(){const e=B.cloneNode(!0),o=e.firstChild;return e.$$click=h,m(e,n,!1,!0),p(o,(()=>t.children)),u((t=>{const n=X(w.item,{[w.itemDisabled]:f()}),i=w.itemContent;return n!==t._v$&&_(e,t._v$=n),i!==t._v$2&&_(o,t._v$2=i),t}),{_v$:void 0,_v$2:void 0}),e}})})),n(["click"]);const D=b("<div></div>",2),T=b("<div><div><span></span></div></div>",6);e("C",(e=>{const[t,n]=o(e,["arrow","children","disabled","hidden","label","class"]),l=s({arrow:"▶️",disabled:!1,hidden:!1},t),{props:x,id:f}=E(),v=d((()=>({props:x()}))),h=d((()=>P(l.disabled,v()))),g=d((()=>P(l.hidden,v())));let b,y;const[$,k]=i({x:0,y:0}),[L,A]=i(!1),O=()=>{A(!0),(()=>{const e=b.getBoundingClientRect(),t=y.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight;let i=e.right;i+t.width>n&&(i=e.left-t.width>0?e.left-t.width:n-t.width);let s=e.top;s+t.height>o&&(s=e.bottom-t.height>0?e.bottom-t.height:o-t.height),k({x:i,y:s}),console.log($())})()};return C.on("hide",(e=>{e===f&&A(!1)})),r((()=>{C.off("hide")})),c(a,{get when(){return!g()},get children(){const e=T.cloneNode(!0),o=e.firstChild,i=o.firstChild;return e.$$click=()=>L()?A(!1):O(),e.addEventListener("mouseleave",(()=>A(!1))),e.addEventListener("mouseenter",(()=>O())),m(e,n,!1,!0),"function"==typeof b?b(o):b=o,p(o,(()=>l.label),i),p(i,(()=>l.arrow)),p(e,c(a,{get when(){return L()},get children(){const e=D.cloneNode(!0);return"function"==typeof y?y(e):y=e,p(e,(()=>l.children)),u((t=>{const n=w.submenu,o=$().x+"px",i=$().y+"px";return n!==t._v$&&_(e,t._v$=n),o!==t._v$2&&e.style.setProperty("left",t._v$2=o),i!==t._v$3&&e.style.setProperty("top",t._v$3=i),t}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),u((n=>{const s=X(w.item,t.class,{[w.itemDisabled]:h()}),r=w.itemContent,d=w.submenuArrow;return s!==n._v$4&&_(e,n._v$4=s),r!==n._v$5&&_(o,n._v$5=r),d!==n._v$6&&_(i,n._v$6=d),n}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),e}})})),n(["click"]),e("b",(e=>({show:(t,n)=>{C.emit("show",{id:n?.id||e?.id,props:n?.props||e?.props,event:t,position:n?.position})},hideAll:()=>{C.emit("hideAll")}})))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dS as X,q as y,y as f,ah as H,am as Z,r as T,x as z,ag as _,dT as k,dU as ee,dV as te,a0 as W,dW as S,G as N,dL as ne,cu as re,d as oe,dM as ae,b as ie,b3 as ce,bk as ue,S as M,dN as se,a5 as $,aY as le,D as fe,aa as de,bl as ge,n as he}from"./index-ab115bbe.js";function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?R(Object(n),!0).forEach(function(r){pe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ve(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function me(e,t){if(e==null)return{};var n=ve(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ye(e,t){return be(e)||we(e,t)||Oe(e,t)||je()}function be(e){if(Array.isArray(e))return e}function we(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,o=!1,a=void 0;try{for(var i=e[Symbol.iterator](),c;!(r=(c=i.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw a}}return n}}function Oe(e,t){if(e){if(typeof e=="string")return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return K(e,t)}}function K(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function je(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?q(Object(n),!0).forEach(function(r){Se(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduceRight(function(o,a){return a(o)},r)}}function p(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];return t.apply(n,[].concat(o,c))}}}function E(e){return{}.toString.call(e).includes("Object")}function Ee(e){return!Object.keys(e).length}function b(e){return typeof e=="function"}function Pe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ce(e,t){return E(t)||d("changeType"),Object.keys(t).some(function(n){return!Pe(e,n)})&&d("changeField"),t}function Ie(e){b(e)||d("selectorType")}function Ae(e){b(e)||E(e)||d("handlerType"),E(e)&&Object.values(e).some(function(t){return!b(t)})&&d("handlersType")}function De(e){e||d("initialIsRequired"),E(e)||d("initialType"),Ee(e)&&d("initialContent")}function Me(e,t){throw new Error(e[t]||e.default)}var $e={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},d=p(Me)($e),j={changes:Ce,selector:Ie,handler:Ae,initial:De};function Re(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};j.initial(e),j.handler(t);var n={current:e},r=p(qe)(n,t),o=p(Ke)(n),a=p(j.changes)(e),i=p(Le)(n);function c(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(l){return l};return j.selector(u),u(n.current)}function s(u){Te(r,o,a,i)(u)}return[c,s]}function Le(e,t){return b(t)?t(e.current):t}function Ke(e,t){return e.current=x(x({},e.current),t),t}function qe(e,t,n){return b(t)?t(e.current):Object.keys(n).forEach(function(r){var o;return(o=t[r])===null||o===void 0?void 0:o.call(t,e.current[r])}),n}var xe={create:Re},Fe={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}};function Ue(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];return t.apply(n,[].concat(o,c))}}}function He(e){return{}.toString.call(e).includes("Object")}function ze(e){return e||F("configIsRequired"),He(e)||F("configType"),e.urls?(We(),{paths:{vs:e.urls.monacoBase}}):e}function We(){console.warn(V.deprecation)}function Ne(e,t){throw new Error(e[t]||e.default)}var V={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},F=Ue(Ne)(V),Ve={config:ze},Be=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(o){return n.reduceRight(function(a,i){return i(a)},o)}};function B(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],B(e[n],t[n]))}),L(L({},e),t)}var Ge={type:"cancelation",msg:"operation is manually canceled"};function C(e){var t=!1,n=new Promise(function(r,o){e.then(function(a){return t?o(Ge):r(a)}),e.catch(o)});return n.cancel=function(){return t=!0},n}var Ye=xe.create({config:Fe,isInitialized:!1,resolve:null,reject:null,monaco:null}),G=ye(Ye,2),w=G[0],P=G[1];function Je(e){var t=Ve.config(e),n=t.monaco,r=me(t,["monaco"]);P(function(o){return{config:B(o.config,r),monaco:n}})}function Qe(){var e=w(function(t){var n=t.monaco,r=t.isInitialized,o=t.resolve;return{monaco:n,isInitialized:r,resolve:o}});if(!e.isInitialized){if(P({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),C(I);if(window.monaco&&window.monaco.editor)return Y(window.monaco),e.resolve(window.monaco),C(I);Be(Xe,_e)(ke)}return C(I)}function Xe(e){return document.body.appendChild(e)}function Ze(e){var t=document.createElement("script");return e&&(t.src=e),t}function _e(e){var t=w(function(r){var o=r.config,a=r.reject;return{config:o,reject:a}}),n=Ze("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function ke(){var e=w(function(n){var r=n.config,o=n.resolve,a=n.reject;return{config:r,resolve:o,reject:a}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){Y(n),e.resolve(n)},function(n){e.reject(n)})}function Y(e){w().monaco||P({monaco:e})}function et(){return w(function(e){var t=e.monaco;return t})}var I=new Promise(function(e,t){return P({resolve:e,reject:t})}),J={config:Je,init:Qe,__getMonacoInstance:et};J.config({paths:{vs:X}});let v;const tt=e=>{const[t,n]=y(!0);return J.init().then(r=>{v=r,n(!1)}),f(H,{get loading(){return t()},get children(){return f(nt,e)}})},nt=e=>{let t,n,r;return Z(()=>{n=v.editor.create(t,{value:e.value,theme:e.theme}),r=v.editor.createModel(e.value,e.language,e.path?v.Uri.parse(e.path):void 0),n.setModel(r),n.onDidChangeModelContent(()=>{var o;(o=e.onChange)==null||o.call(e,n.getValue())})}),T(()=>{n.setValue(e.value)}),T(()=>{v.editor.setTheme(e.theme)}),z(()=>{r&&r.dispose(),n&&n.dispose()}),f(_,{w:"$full",h:"70vh",ref(o){var a=t;typeof a=="function"?a(o):t=o}})};function m(e,t,n,r){return e.addEventListener(t,n,r),k(e.removeEventListener.bind(e,t,n,r))}function A(e,t=te()){let n=0,r,o;return()=>(n++,z(()=>{n--,queueMicrotask(()=>{!n&&o&&(o(),o=r=void 0)})}),o||ee(a=>r=e(o=a),t),r)}function U(e,t){for(let n=e.length-1;n>=0;n--){const r=t.slice(0,n+1);if(!S(e[n],r))return!1}return!0}const Q=A(()=>{const[e,t]=y(null);return m(window,"keydown",n=>{t(n),setTimeout(()=>t(null))}),e}),rt=A(()=>{const[e,t]=y([]),n=()=>t([]),r=Q();return m(window,"keydown",o=>{if(o.repeat||typeof o.key!="string")return;const a=o.key.toUpperCase(),i=e();if(i.includes(a))return;const c=[...i,a];i.length===0&&a!=="ALT"&&a!=="CONTROL"&&a!=="META"&&a!=="SHIFT"&&(o.shiftKey&&c.unshift("SHIFT"),o.altKey&&c.unshift("ALT"),o.ctrlKey&&c.unshift("CONTROL"),o.metaKey&&c.unshift("META")),t(c)}),m(window,"keyup",o=>{if(typeof o.key!="string")return;const a=o.key.toUpperCase();t(i=>i.filter(c=>c!==a))}),m(window,"blur",n),m(window,"contextmenu",o=>{o.defaultPrevented||n()}),e[0]=e,e[1]={event:r},e[Symbol.iterator]=function*(){yield e[0],yield e[1]},e}),ot=A(()=>{const e=rt();return N(t=>e().length===0?[]:[...t,e()],[])});function at(e,t,n={}){if(!e.length)return;e=e.map(u=>u.toUpperCase());const{preventDefault:r=!0}=n,o=Q(),a=ot();let i=!1;const c=u=>{if(!u.length)return i=!1;if(i)return;const l=o();u.length<e.length?U(u,e.slice(0,u.length))?r&&l&&l.preventDefault():i=!0:(i=!0,U(u,e)&&(r&&l&&l.preventDefault(),t(l)))},s=u=>{const l=u.at(-1);if(!l)return;const g=o();if(r&&l.length<e.length){S(l,e.slice(0,e.length-1))&&g&&g.preventDefault();return}if(S(l,e)){const O=u.at(-2);(!O||S(O,e.slice(0,e.length-1)))&&(r&&g&&g.preventDefault(),t(g))}};T(W(a,n.requireReset?c:s))}function it(e){const{colorMode:t}=re(),n=N(()=>t()==="light"?"vs":"vs-dark"),{pathname:r}=oe(),{isString:o,text:a}=ae(e.data),[i,c]=y("utf-8"),[s,u]=y(a(i())),l=ie(),[g,O]=ce(()=>ue.put("/fs/put",s(),{headers:{"File-Path":encodeURIComponent(r()),"Content-Type":e.contentType||"text/plain"}}));T(W(i,h=>{u(a(h))}));async function D(){const h=await O();ge(h,()=>{he.success(l("global.save_success"))})}return at(["Control","S"],D),f(de,{w:"$full",alignItems:"start",spacing:"$2",pos:"relative",get children(){return[f(M,{when:!o,get children(){return f(se,{get encoding(){return i()},setEncoding:c,get referenceText(){return e.data}})}}),f(tt,{get value(){return a(i())},get theme(){return n()},get path(){return $.obj.name},onChange:h=>{u(h)}}),f(M,{get when(){return le("write")||$.write},get children(){return f(fe,{get loading(){return g()},onClick:D,get children(){return l("global.save")}})}})]}})}const ut=()=>{const[e]=ne();return f(H,{get loading(){return e.loading},get children(){return f(it,{get data(){var t;return(t=e())==null?void 0:t.content},get contentType(){var t;return(t=e())==null?void 0:t.contentType}})}})};export{ut as default};
|
|
1
|
+
import{dS as X,q as y,y as f,ah as H,am as Z,r as T,x as z,ag as _,dT as k,dU as ee,dV as te,a0 as W,dW as S,G as N,dL as ne,cu as re,d as oe,dM as ae,b as ie,b3 as ce,bk as ue,S as M,dN as se,a5 as $,aY as le,D as fe,aa as de,bl as ge,n as he}from"./index-ebb2e1ad.js";function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?R(Object(n),!0).forEach(function(r){pe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ve(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function me(e,t){if(e==null)return{};var n=ve(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ye(e,t){return be(e)||we(e,t)||Oe(e,t)||je()}function be(e){if(Array.isArray(e))return e}function we(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,o=!1,a=void 0;try{for(var i=e[Symbol.iterator](),c;!(r=(c=i.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw a}}return n}}function Oe(e,t){if(e){if(typeof e=="string")return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return K(e,t)}}function K(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function je(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?q(Object(n),!0).forEach(function(r){Se(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduceRight(function(o,a){return a(o)},r)}}function p(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];return t.apply(n,[].concat(o,c))}}}function E(e){return{}.toString.call(e).includes("Object")}function Ee(e){return!Object.keys(e).length}function b(e){return typeof e=="function"}function Pe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ce(e,t){return E(t)||d("changeType"),Object.keys(t).some(function(n){return!Pe(e,n)})&&d("changeField"),t}function Ie(e){b(e)||d("selectorType")}function Ae(e){b(e)||E(e)||d("handlerType"),E(e)&&Object.values(e).some(function(t){return!b(t)})&&d("handlersType")}function De(e){e||d("initialIsRequired"),E(e)||d("initialType"),Ee(e)&&d("initialContent")}function Me(e,t){throw new Error(e[t]||e.default)}var $e={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},d=p(Me)($e),j={changes:Ce,selector:Ie,handler:Ae,initial:De};function Re(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};j.initial(e),j.handler(t);var n={current:e},r=p(qe)(n,t),o=p(Ke)(n),a=p(j.changes)(e),i=p(Le)(n);function c(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(l){return l};return j.selector(u),u(n.current)}function s(u){Te(r,o,a,i)(u)}return[c,s]}function Le(e,t){return b(t)?t(e.current):t}function Ke(e,t){return e.current=x(x({},e.current),t),t}function qe(e,t,n){return b(t)?t(e.current):Object.keys(n).forEach(function(r){var o;return(o=t[r])===null||o===void 0?void 0:o.call(t,e.current[r])}),n}var xe={create:Re},Fe={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}};function Ue(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];return t.apply(n,[].concat(o,c))}}}function He(e){return{}.toString.call(e).includes("Object")}function ze(e){return e||F("configIsRequired"),He(e)||F("configType"),e.urls?(We(),{paths:{vs:e.urls.monacoBase}}):e}function We(){console.warn(V.deprecation)}function Ne(e,t){throw new Error(e[t]||e.default)}var V={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},F=Ue(Ne)(V),Ve={config:ze},Be=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(o){return n.reduceRight(function(a,i){return i(a)},o)}};function B(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],B(e[n],t[n]))}),L(L({},e),t)}var Ge={type:"cancelation",msg:"operation is manually canceled"};function C(e){var t=!1,n=new Promise(function(r,o){e.then(function(a){return t?o(Ge):r(a)}),e.catch(o)});return n.cancel=function(){return t=!0},n}var Ye=xe.create({config:Fe,isInitialized:!1,resolve:null,reject:null,monaco:null}),G=ye(Ye,2),w=G[0],P=G[1];function Je(e){var t=Ve.config(e),n=t.monaco,r=me(t,["monaco"]);P(function(o){return{config:B(o.config,r),monaco:n}})}function Qe(){var e=w(function(t){var n=t.monaco,r=t.isInitialized,o=t.resolve;return{monaco:n,isInitialized:r,resolve:o}});if(!e.isInitialized){if(P({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),C(I);if(window.monaco&&window.monaco.editor)return Y(window.monaco),e.resolve(window.monaco),C(I);Be(Xe,_e)(ke)}return C(I)}function Xe(e){return document.body.appendChild(e)}function Ze(e){var t=document.createElement("script");return e&&(t.src=e),t}function _e(e){var t=w(function(r){var o=r.config,a=r.reject;return{config:o,reject:a}}),n=Ze("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function ke(){var e=w(function(n){var r=n.config,o=n.resolve,a=n.reject;return{config:r,resolve:o,reject:a}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){Y(n),e.resolve(n)},function(n){e.reject(n)})}function Y(e){w().monaco||P({monaco:e})}function et(){return w(function(e){var t=e.monaco;return t})}var I=new Promise(function(e,t){return P({resolve:e,reject:t})}),J={config:Je,init:Qe,__getMonacoInstance:et};J.config({paths:{vs:X}});let v;const tt=e=>{const[t,n]=y(!0);return J.init().then(r=>{v=r,n(!1)}),f(H,{get loading(){return t()},get children(){return f(nt,e)}})},nt=e=>{let t,n,r;return Z(()=>{n=v.editor.create(t,{value:e.value,theme:e.theme}),r=v.editor.createModel(e.value,e.language,e.path?v.Uri.parse(e.path):void 0),n.setModel(r),n.onDidChangeModelContent(()=>{var o;(o=e.onChange)==null||o.call(e,n.getValue())})}),T(()=>{n.setValue(e.value)}),T(()=>{v.editor.setTheme(e.theme)}),z(()=>{r&&r.dispose(),n&&n.dispose()}),f(_,{w:"$full",h:"70vh",ref(o){var a=t;typeof a=="function"?a(o):t=o}})};function m(e,t,n,r){return e.addEventListener(t,n,r),k(e.removeEventListener.bind(e,t,n,r))}function A(e,t=te()){let n=0,r,o;return()=>(n++,z(()=>{n--,queueMicrotask(()=>{!n&&o&&(o(),o=r=void 0)})}),o||ee(a=>r=e(o=a),t),r)}function U(e,t){for(let n=e.length-1;n>=0;n--){const r=t.slice(0,n+1);if(!S(e[n],r))return!1}return!0}const Q=A(()=>{const[e,t]=y(null);return m(window,"keydown",n=>{t(n),setTimeout(()=>t(null))}),e}),rt=A(()=>{const[e,t]=y([]),n=()=>t([]),r=Q();return m(window,"keydown",o=>{if(o.repeat||typeof o.key!="string")return;const a=o.key.toUpperCase(),i=e();if(i.includes(a))return;const c=[...i,a];i.length===0&&a!=="ALT"&&a!=="CONTROL"&&a!=="META"&&a!=="SHIFT"&&(o.shiftKey&&c.unshift("SHIFT"),o.altKey&&c.unshift("ALT"),o.ctrlKey&&c.unshift("CONTROL"),o.metaKey&&c.unshift("META")),t(c)}),m(window,"keyup",o=>{if(typeof o.key!="string")return;const a=o.key.toUpperCase();t(i=>i.filter(c=>c!==a))}),m(window,"blur",n),m(window,"contextmenu",o=>{o.defaultPrevented||n()}),e[0]=e,e[1]={event:r},e[Symbol.iterator]=function*(){yield e[0],yield e[1]},e}),ot=A(()=>{const e=rt();return N(t=>e().length===0?[]:[...t,e()],[])});function at(e,t,n={}){if(!e.length)return;e=e.map(u=>u.toUpperCase());const{preventDefault:r=!0}=n,o=Q(),a=ot();let i=!1;const c=u=>{if(!u.length)return i=!1;if(i)return;const l=o();u.length<e.length?U(u,e.slice(0,u.length))?r&&l&&l.preventDefault():i=!0:(i=!0,U(u,e)&&(r&&l&&l.preventDefault(),t(l)))},s=u=>{const l=u.at(-1);if(!l)return;const g=o();if(r&&l.length<e.length){S(l,e.slice(0,e.length-1))&&g&&g.preventDefault();return}if(S(l,e)){const O=u.at(-2);(!O||S(O,e.slice(0,e.length-1)))&&(r&&g&&g.preventDefault(),t(g))}};T(W(a,n.requireReset?c:s))}function it(e){const{colorMode:t}=re(),n=N(()=>t()==="light"?"vs":"vs-dark"),{pathname:r}=oe(),{isString:o,text:a}=ae(e.data),[i,c]=y("utf-8"),[s,u]=y(a(i())),l=ie(),[g,O]=ce(()=>ue.put("/fs/put",s(),{headers:{"File-Path":encodeURIComponent(r()),"Content-Type":e.contentType||"text/plain"}}));T(W(i,h=>{u(a(h))}));async function D(){const h=await O();ge(h,()=>{he.success(l("global.save_success"))})}return at(["Control","S"],D),f(de,{w:"$full",alignItems:"start",spacing:"$2",pos:"relative",get children(){return[f(M,{when:!o,get children(){return f(se,{get encoding(){return i()},setEncoding:c,get referenceText(){return e.data}})}}),f(tt,{get value(){return a(i())},get theme(){return n()},get path(){return $.obj.name},onChange:h=>{u(h)}}),f(M,{get when(){return le("write")||$.write},get children(){return f(fe,{get loading(){return g()},onClick:D,get children(){return l("global.save")}})}})]}})}const ut=()=>{const[e]=ne();return f(H,{get loading(){return e.loading},get children(){return f(it,{get data(){var t;return(t=e())==null?void 0:t.content},get contentType(){var t;return(t=e())==null?void 0:t.contentType}})}})};export{ut as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy-1f04bc87.js"],(function(e,n){"use strict";var t,r,o,i,c,a,u,l,s,f,d,g,h,p,y,v,b,m,w,O,j,T,P,k,S,I,C,A,D;return{setters:[e=>{t=e.dS,r=e.q,o=e.y,i=e.ah,c=e.am,a=e.r,u=e.x,l=e.ag,s=e.dT,f=e.dU,d=e.dV,g=e.a0,h=e.dW,p=e.G,y=e.dL,v=e.cu,b=e.d,m=e.dM,w=e.b,O=e.b3,j=e.bk,T=e.S,P=e.dN,k=e.a5,S=e.aY,I=e.D,C=e.aa,A=e.bl,D=e.n}],execute:function(){function n(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function x(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function M(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function R(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function U(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?L(Object(t),!0).forEach((function(n){R(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):L(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function F(e){return function n(){for(var t=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.apply(t,[].concat(o,r))}}}function z(e){return{}.toString.call(e).includes("Object")}function K(e){return"function"==typeof e}var $=F((function(e,n){throw new Error(e[n]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),N={changes:function(e,n){return z(n)||$("changeType"),Object.keys(n).some((function(n){return t=e,r=n,!Object.prototype.hasOwnProperty.call(t,r);var t,r}))&&$("changeField"),n},selector:function(e){K(e)||$("selectorType")},handler:function(e){K(e)||z(e)||$("handlerType"),z(e)&&Object.values(e).some((function(e){return!K(e)}))&&$("handlersType")},initial:function(e){var n;e||$("initialIsRequired"),z(e)||$("initialType"),n=e,Object.keys(n).length||$("initialContent")}};function V(e,n){return K(n)?n(e.current):n}function _(e,n){return e.current=U(U({},e.current),n),n}function B(e,n,t){return K(n)?n(e.current):Object.keys(t).forEach((function(t){var r;return null===(r=n[t])||void 0===r?void 0:r.call(n,e.current[t])})),t}var H,Y={create:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N.initial(e),N.handler(n);var t={current:e},r=F(B)(t,n),o=F(_)(t),i=F(N.changes)(e),c=F(V)(t);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return N.selector(e),e(t.current)},function(e){!function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){return n.reduceRight((function(e,n){return n(e)}),e)}}(r,o,i,c)(e)}]}},G={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},W=(H=function(e,n){throw new Error(e[n]||e.default)},function e(){for(var n=this,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return r.length>=H.length?H.apply(this,r):function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e.apply(n,[].concat(r,o))}})(G),J={config:function(e){var n;return e||W("configIsRequired"),n=e,{}.toString.call(n).includes("Object")||W("configType"),e.urls?(console.warn(G.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};function Q(e,n){return Object.keys(n).forEach((function(t){n[t]instanceof Object&&e[t]&&Object.assign(n[t],Q(e[t],n[t]))})),q(q({},e),n)}var X={type:"cancelation",msg:"operation is manually canceled"};function Z(e){var n=!1,t=new Promise((function(t,r){e.then((function(e){return n?r(X):t(e)})),e.catch(r)}));return t.cancel=function(){return n=!0},t}var ee,ne,te=Y.create({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}),re=(ne=2,function(e){if(Array.isArray(e))return e}(ee=te)||function(e,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(t.push(c.value),!n||t.length!==n);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return t}}(ee,ne)||function(e,n){if(e){if("string"==typeof e)return M(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?M(e,n):void 0}}(ee,ne)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),oe=re[0],ie=re[1];function ce(e){return document.body.appendChild(e)}function ae(e){var n,t,r=oe((function(e){return{config:e.config,reject:e.reject}})),o=(n="".concat(r.config.paths.vs,"/loader.js"),t=document.createElement("script"),n&&(t.src=n),t);return o.onload=function(){return e()},o.onerror=r.reject,o}function ue(){var e=oe((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),n=window.require;n.config(e.config),n(["vs/editor/editor.main"],(function(n){le(n),e.resolve(n)}),(function(n){e.reject(n)}))}function le(e){oe().monaco||ie({monaco:e})}var se=new Promise((function(e,n){return ie({resolve:e,reject:n})})),fe={config:function(e){var n=J.config(e),t=n.monaco,r=x(n,["monaco"]);ie((function(e){return{config:Q(e.config,r),monaco:t}}))},init:function(){var e=oe((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(ie({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),Z(se);if(window.monaco&&window.monaco.editor)return le(window.monaco),e.resolve(window.monaco),Z(se);!function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){return n.reduceRight((function(e,n){return n(e)}),e)}}(ce,ae)(ue)}return Z(se)},__getMonacoInstance:function(){return oe((function(e){return e.monaco}))}};let de;fe.config({paths:{vs:t}});const ge=e=>{const[n,t]=r(!0);return fe.init().then((e=>{de=e,t(!1)})),o(i,{get loading(){return n()},get children(){return o(he,e)}})},he=e=>{let n,t,r;return c((()=>{t=de.editor.create(n,{value:e.value,theme:e.theme}),r=de.editor.createModel(e.value,e.language,e.path?de.Uri.parse(e.path):void 0),t.setModel(r),t.onDidChangeModelContent((()=>{e.onChange?.(t.getValue())}))})),a((()=>{t.setValue(e.value)})),a((()=>{de.editor.setTheme(e.theme)})),u((()=>{r&&r.dispose(),t&&t.dispose()})),o(l,{w:"$full",h:"70vh",ref(e){"function"==typeof n?n(e):n=e}})};function pe(e,n,t,r){return e.addEventListener(n,t,r),s(e.removeEventListener.bind(e,n,t,r))}function ye(e,n=d()){let t,r,o=0;return()=>(o++,u((()=>{o--,queueMicrotask((()=>{!o&&r&&(r(),r=t=void 0)}))})),r||f((n=>t=e(r=n)),n),t)}function ve(e,n){for(let t=e.length-1;t>=0;t--){const r=n.slice(0,t+1);if(!h(e[t],r))return!1}return!0}const be=ye((()=>{const[e,n]=r(null);return pe(window,"keydown",(e=>{n(e),setTimeout((()=>n(null)))})),e})),me=ye((()=>{const[e,n]=r([]),t=()=>n([]),o=be();return pe(window,"keydown",(t=>{if(t.repeat||"string"!=typeof t.key)return;const r=t.key.toUpperCase(),o=e();if(o.includes(r))return;const i=[...o,r];0===o.length&&"ALT"!==r&&"CONTROL"!==r&&"META"!==r&&"SHIFT"!==r&&(t.shiftKey&&i.unshift("SHIFT"),t.altKey&&i.unshift("ALT"),t.ctrlKey&&i.unshift("CONTROL"),t.metaKey&&i.unshift("META")),n(i)})),pe(window,"keyup",(e=>{if("string"!=typeof e.key)return;const t=e.key.toUpperCase();n((e=>e.filter((e=>e!==t))))})),pe(window,"blur",t),pe(window,"contextmenu",(e=>{e.defaultPrevented||t()})),e[0]=e,e[1]={event:o},e[Symbol.iterator]=function*(){yield e[0],yield e[1]},e})),we=ye((()=>{const e=me();return p((n=>0===e().length?[]:[...n,e()]),[])}));function Oe(e){const{colorMode:n}=v(),t=p((()=>"light"===n()?"vs":"vs-dark")),{pathname:i}=b(),{isString:c,text:u}=m(e.data),[l,s]=r("utf-8"),[f,d]=r(u(l())),y=w(),[E,q]=O((()=>j.put("/fs/put",f(),{headers:{"File-Path":encodeURIComponent(i()),"Content-Type":e.contentType||"text/plain"}})));async function x(){const e=await q();A(e,(()=>{D.success(y("global.save_success"))}))}return a(g(l,(e=>{d(u(e))}))),function(e,n,t={}){if(!e.length)return;e=e.map((e=>e.toUpperCase()));const{preventDefault:r=!0}=t,o=be(),i=we();let c=!1;a(g(i,t.requireReset?t=>{if(!t.length)return c=!1;if(c)return;const i=o();t.length<e.length?ve(t,e.slice(0,t.length))?r&&i&&i.preventDefault():c=!0:(c=!0,ve(t,e)&&(r&&i&&i.preventDefault(),n(i)))}:t=>{const i=t.at(-1);if(!i)return;const c=o();if(r&&i.length<e.length)h(i,e.slice(0,e.length-1))&&c&&c.preventDefault();else if(h(i,e)){const o=t.at(-2);o&&!h(o,e.slice(0,e.length-1))||(r&&c&&c.preventDefault(),n(c))}}))}(["Control","S"],x),o(C,{w:"$full",alignItems:"start",spacing:"$2",pos:"relative",get children(){return[o(T,{when:!c,get children(){return o(P,{get encoding(){return l()},setEncoding:s,get referenceText(){return e.data}})}}),o(ge,{get value(){return u(l())},get theme(){return t()},get path(){return k.obj.name},onChange:e=>{d(e)}}),o(T,{get when(){return S("write")||k.write},get children(){return o(I,{get loading(){return E()},onClick:x,get children(){return y("global.save")}})}})]}})}e("default",(()=>{const[e]=y();return o(i,{get loading(){return e.loading},get children(){return o(Oe,{get data(){return e()?.content},get contentType(){return e()?.contentType}})}})}))}}}));
|
|
1
|
+
System.register(["./index-legacy-1e4593e9.js"],(function(e,n){"use strict";var t,r,o,i,c,a,u,l,s,f,d,g,h,p,y,v,b,m,w,O,j,T,P,k,S,I,C,A,D;return{setters:[e=>{t=e.dS,r=e.q,o=e.y,i=e.ah,c=e.am,a=e.r,u=e.x,l=e.ag,s=e.dT,f=e.dU,d=e.dV,g=e.a0,h=e.dW,p=e.G,y=e.dL,v=e.cu,b=e.d,m=e.dM,w=e.b,O=e.b3,j=e.bk,T=e.S,P=e.dN,k=e.a5,S=e.aY,I=e.D,C=e.aa,A=e.bl,D=e.n}],execute:function(){function n(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function x(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function M(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function R(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function U(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?L(Object(t),!0).forEach((function(n){R(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):L(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function F(e){return function n(){for(var t=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.apply(t,[].concat(o,r))}}}function z(e){return{}.toString.call(e).includes("Object")}function K(e){return"function"==typeof e}var $=F((function(e,n){throw new Error(e[n]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),N={changes:function(e,n){return z(n)||$("changeType"),Object.keys(n).some((function(n){return t=e,r=n,!Object.prototype.hasOwnProperty.call(t,r);var t,r}))&&$("changeField"),n},selector:function(e){K(e)||$("selectorType")},handler:function(e){K(e)||z(e)||$("handlerType"),z(e)&&Object.values(e).some((function(e){return!K(e)}))&&$("handlersType")},initial:function(e){var n;e||$("initialIsRequired"),z(e)||$("initialType"),n=e,Object.keys(n).length||$("initialContent")}};function V(e,n){return K(n)?n(e.current):n}function _(e,n){return e.current=U(U({},e.current),n),n}function B(e,n,t){return K(n)?n(e.current):Object.keys(t).forEach((function(t){var r;return null===(r=n[t])||void 0===r?void 0:r.call(n,e.current[t])})),t}var H,Y={create:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N.initial(e),N.handler(n);var t={current:e},r=F(B)(t,n),o=F(_)(t),i=F(N.changes)(e),c=F(V)(t);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return N.selector(e),e(t.current)},function(e){!function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){return n.reduceRight((function(e,n){return n(e)}),e)}}(r,o,i,c)(e)}]}},G={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},W=(H=function(e,n){throw new Error(e[n]||e.default)},function e(){for(var n=this,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return r.length>=H.length?H.apply(this,r):function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e.apply(n,[].concat(r,o))}})(G),J={config:function(e){var n;return e||W("configIsRequired"),n=e,{}.toString.call(n).includes("Object")||W("configType"),e.urls?(console.warn(G.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};function Q(e,n){return Object.keys(n).forEach((function(t){n[t]instanceof Object&&e[t]&&Object.assign(n[t],Q(e[t],n[t]))})),q(q({},e),n)}var X={type:"cancelation",msg:"operation is manually canceled"};function Z(e){var n=!1,t=new Promise((function(t,r){e.then((function(e){return n?r(X):t(e)})),e.catch(r)}));return t.cancel=function(){return n=!0},t}var ee,ne,te=Y.create({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}),re=(ne=2,function(e){if(Array.isArray(e))return e}(ee=te)||function(e,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(t.push(c.value),!n||t.length!==n);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return t}}(ee,ne)||function(e,n){if(e){if("string"==typeof e)return M(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?M(e,n):void 0}}(ee,ne)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),oe=re[0],ie=re[1];function ce(e){return document.body.appendChild(e)}function ae(e){var n,t,r=oe((function(e){return{config:e.config,reject:e.reject}})),o=(n="".concat(r.config.paths.vs,"/loader.js"),t=document.createElement("script"),n&&(t.src=n),t);return o.onload=function(){return e()},o.onerror=r.reject,o}function ue(){var e=oe((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),n=window.require;n.config(e.config),n(["vs/editor/editor.main"],(function(n){le(n),e.resolve(n)}),(function(n){e.reject(n)}))}function le(e){oe().monaco||ie({monaco:e})}var se=new Promise((function(e,n){return ie({resolve:e,reject:n})})),fe={config:function(e){var n=J.config(e),t=n.monaco,r=x(n,["monaco"]);ie((function(e){return{config:Q(e.config,r),monaco:t}}))},init:function(){var e=oe((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(ie({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),Z(se);if(window.monaco&&window.monaco.editor)return le(window.monaco),e.resolve(window.monaco),Z(se);!function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){return n.reduceRight((function(e,n){return n(e)}),e)}}(ce,ae)(ue)}return Z(se)},__getMonacoInstance:function(){return oe((function(e){return e.monaco}))}};let de;fe.config({paths:{vs:t}});const ge=e=>{const[n,t]=r(!0);return fe.init().then((e=>{de=e,t(!1)})),o(i,{get loading(){return n()},get children(){return o(he,e)}})},he=e=>{let n,t,r;return c((()=>{t=de.editor.create(n,{value:e.value,theme:e.theme}),r=de.editor.createModel(e.value,e.language,e.path?de.Uri.parse(e.path):void 0),t.setModel(r),t.onDidChangeModelContent((()=>{e.onChange?.(t.getValue())}))})),a((()=>{t.setValue(e.value)})),a((()=>{de.editor.setTheme(e.theme)})),u((()=>{r&&r.dispose(),t&&t.dispose()})),o(l,{w:"$full",h:"70vh",ref(e){"function"==typeof n?n(e):n=e}})};function pe(e,n,t,r){return e.addEventListener(n,t,r),s(e.removeEventListener.bind(e,n,t,r))}function ye(e,n=d()){let t,r,o=0;return()=>(o++,u((()=>{o--,queueMicrotask((()=>{!o&&r&&(r(),r=t=void 0)}))})),r||f((n=>t=e(r=n)),n),t)}function ve(e,n){for(let t=e.length-1;t>=0;t--){const r=n.slice(0,t+1);if(!h(e[t],r))return!1}return!0}const be=ye((()=>{const[e,n]=r(null);return pe(window,"keydown",(e=>{n(e),setTimeout((()=>n(null)))})),e})),me=ye((()=>{const[e,n]=r([]),t=()=>n([]),o=be();return pe(window,"keydown",(t=>{if(t.repeat||"string"!=typeof t.key)return;const r=t.key.toUpperCase(),o=e();if(o.includes(r))return;const i=[...o,r];0===o.length&&"ALT"!==r&&"CONTROL"!==r&&"META"!==r&&"SHIFT"!==r&&(t.shiftKey&&i.unshift("SHIFT"),t.altKey&&i.unshift("ALT"),t.ctrlKey&&i.unshift("CONTROL"),t.metaKey&&i.unshift("META")),n(i)})),pe(window,"keyup",(e=>{if("string"!=typeof e.key)return;const t=e.key.toUpperCase();n((e=>e.filter((e=>e!==t))))})),pe(window,"blur",t),pe(window,"contextmenu",(e=>{e.defaultPrevented||t()})),e[0]=e,e[1]={event:o},e[Symbol.iterator]=function*(){yield e[0],yield e[1]},e})),we=ye((()=>{const e=me();return p((n=>0===e().length?[]:[...n,e()]),[])}));function Oe(e){const{colorMode:n}=v(),t=p((()=>"light"===n()?"vs":"vs-dark")),{pathname:i}=b(),{isString:c,text:u}=m(e.data),[l,s]=r("utf-8"),[f,d]=r(u(l())),y=w(),[E,q]=O((()=>j.put("/fs/put",f(),{headers:{"File-Path":encodeURIComponent(i()),"Content-Type":e.contentType||"text/plain"}})));async function x(){const e=await q();A(e,(()=>{D.success(y("global.save_success"))}))}return a(g(l,(e=>{d(u(e))}))),function(e,n,t={}){if(!e.length)return;e=e.map((e=>e.toUpperCase()));const{preventDefault:r=!0}=t,o=be(),i=we();let c=!1;a(g(i,t.requireReset?t=>{if(!t.length)return c=!1;if(c)return;const i=o();t.length<e.length?ve(t,e.slice(0,t.length))?r&&i&&i.preventDefault():c=!0:(c=!0,ve(t,e)&&(r&&i&&i.preventDefault(),n(i)))}:t=>{const i=t.at(-1);if(!i)return;const c=o();if(r&&i.length<e.length)h(i,e.slice(0,e.length-1))&&c&&c.preventDefault();else if(h(i,e)){const o=t.at(-2);o&&!h(o,e.slice(0,e.length-1))||(r&&c&&c.preventDefault(),n(c))}}))}(["Control","S"],x),o(C,{w:"$full",alignItems:"start",spacing:"$2",pos:"relative",get children(){return[o(T,{when:!c,get children(){return o(P,{get encoding(){return l()},setEncoding:s,get referenceText(){return e.data}})}}),o(ge,{get value(){return u(l())},get theme(){return t()},get path(){return k.obj.name},onChange:e=>{d(e)}}),o(T,{get when(){return S("write")||k.write},get children(){return o(I,{get loading(){return E()},onClick:x,get children(){return y("global.save")}})}})]}})}e("default",(()=>{const[e]=y();return o(i,{get loading(){return e.loading},get children(){return o(Oe,{get data(){return e()?.content},get contentType(){return e()?.contentType}})}})}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dL as j,da as S,b as $,y as p,D as w,ah as I,dR as T,dM as W}from"./index-
|
|
1
|
+
import{dL as j,da as S,b as $,y as p,D as w,ah as I,dR as T,dM as W}from"./index-ebb2e1ad.js";import{F as C}from"./File-fb0adc00.js";import"./icon-b516a923.js";import"./index-5fdd04f7.js";import"./Layout-fe51806e.js";import"./useTitle-e6838a6c.js";import"./FolderTree-1a44a44d.js";import"./index-c9375034.js";import"./index-a0638b88.js";import"./index-3400cea2.js";const{hasOwnProperty:A}=Object.prototype,_=(e,t={})=>{typeof t=="string"&&(t={section:t}),t.align=t.align===!0,t.newline=t.newline===!0,t.sort=t.sort===!0,t.whitespace=t.whitespace===!0||t.align===!0,t.platform=t.platform||typeof process<"u"&&process.platform,t.bracketedArray=t.bracketedArray!==!1;const s=t.platform==="win32"?"\r\n":"\n",n=t.whitespace?" = ":"=",i=[],o=t.sort?Object.keys(e).sort():Object.keys(e);let d=0;t.align&&(d=h(o.filter(r=>e[r]===null||Array.isArray(e[r])||typeof e[r]!="object").map(r=>Array.isArray(e[r])?"".concat(r,"[]"):r).concat([""]).reduce((r,c)=>h(r).length>=h(c).length?r:c)).length);let a="";const y=t.bracketedArray?"[]":"";for(const r of o){const c=e[r];if(c&&Array.isArray(c))for(const l of c)a+=h("".concat(r).concat(y)).padEnd(d," ")+n+h(l)+s;else c&&typeof c=="object"?i.push(r):a+=h(r).padEnd(d," ")+n+h(c)+s}t.section&&a.length&&(a="["+h(t.section)+"]"+(t.newline?s+s:s)+a);for(const r of i){const c=O(r,".").join("\\."),l=(t.section?t.section+".":"")+c,u=_(e[r],{...t,section:l});a.length&&u.length&&(a+=s),a+=u}return a};function O(e,t){var s=0,n=0,i=0,o=[];do if(i=e.indexOf(t,s),i!==-1){if(s=i+t.length,i>0&&e[i-1]==="\\")continue;o.push(e.slice(n,i)),n=i+t.length}while(i!==-1);return o.push(e.slice(n)),o}const b=(e,t={})=>{t.bracketedArray=t.bracketedArray!==!1;const s=Object.create(null);let n=s,i=null;const o=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,d=e.split(/[\r\n]+/g),a={};for(const r of d){if(!r||r.match(/^\s*[;#]/)||r.match(/^\s*$/))continue;const c=r.match(o);if(!c)continue;if(c[1]!==void 0){if(i=m(c[1]),i==="__proto__"){n=Object.create(null);continue}n=s[i]=s[i]||Object.create(null);continue}const l=m(c[2]);let u;t.bracketedArray?u=l.length>2&&l.slice(-2)==="[]":(a[l]=((a==null?void 0:a[l])||0)+1,u=a[l]>1);const f=u&&l.endsWith("[]")?l.slice(0,-2):l;if(f==="__proto__")continue;const g=c[3]?m(c[4]):!0,k=g==="true"||g==="false"||g==="null"?JSON.parse(g):g;u&&(A.call(n,f)?Array.isArray(n[f])||(n[f]=[n[f]]):n[f]=[]),Array.isArray(n[f])?n[f].push(k):n[f]=k}const y=[];for(const r of Object.keys(s)){if(!A.call(s,r)||typeof s[r]!="object"||Array.isArray(s[r]))continue;const c=O(r,".");n=s;const l=c.pop(),u=l.replace(/\\\./g,".");for(const f of c)f!=="__proto__"&&((!A.call(n,f)||typeof n[f]!="object")&&(n[f]=Object.create(null)),n=n[f]);n===s&&u===l||(n[u]=s[r],y.push(r))}for(const r of y)delete s[r];return s},x=e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"),h=e=>typeof e!="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&x(e)||e!==e.trim()?JSON.stringify(e):e.split(";").join("\\;").split("#").join("\\#"),m=e=>{if(e=(e||"").trim(),x(e)){e.charAt(0)==="'"&&(e=e.slice(1,-1));try{e=JSON.parse(e)}catch(t){}}else{let t=!1,s="";for(let n=0,i=e.length;n<i;n++){const o=e.charAt(n);if(t)"\\;#".indexOf(o)!==-1?s+=o:s+="\\"+o,t=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?t=!0:s+=o}}return t&&(s+="\\"),s.trim()}return e};var N={parse:b,decode:b,stringify:_,encode:_,safe:h,unsafe:m};function K(){var a;const[e]=j(),{copy:t}=S(),s=((a=e())==null?void 0:a.content)||"",{text:n}=W(s),o=(()=>{var y;try{return((y=T(N.parse(n()||"")).internetshortcut)==null?void 0:y.url)||"#"}catch(r){return console.error("Error parsing INI content:",r),"#"}})(),d=$();return p(I,{get loading(){return e.loading},get children(){return p(C,{get children(){return[p(w,{colorScheme:"accent",onClick:()=>t(o),get children(){return d("home.toolbar.copy_link")}}),p(w,{as:"a",href:o,target:"_blank",rel:"noopener noreferrer",get children(){return d("home.preview.open_in_new_window")}})]}})}})}export{K as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./index-legacy-
|
|
1
|
+
System.register(["./index-legacy-1e4593e9.js","./File-legacy-de6eafc9.js","./icon-legacy-f14c7703.js","./index-legacy-f67858f9.js","./Layout-legacy-7eb8c952.js","./useTitle-legacy-b04d394f.js","./FolderTree-legacy-fd63a766.js","./index-legacy-74bc636e.js","./index-legacy-16ccbe96.js","./index-legacy-9edb8124.js"],(function(e,t){"use strict";var n,r,c,o,s,l,i,a,f;return{setters:[e=>{n=e.dL,r=e.da,c=e.b,o=e.y,s=e.D,l=e.ah,i=e.dR,a=e.dM},e=>{f=e.F},null,null,null,null,null,null,null,null],execute:function(){e("default",(function(){const[e]=n(),{copy:t}=r(),u=e()?.content||"",{text:y}=a(u),h=(()=>{try{const e=i(j.parse(y()||""));return e.internetshortcut?.url||"#"}catch(e){return console.error("Error parsing INI content:",e),"#"}})(),p=c();return o(l,{get loading(){return e.loading},get children(){return o(f,{get children(){return[o(s,{colorScheme:"accent",onClick:()=>t(h),get children(){return p("home.toolbar.copy_link")}}),o(s,{as:"a",href:h,target:"_blank",rel:"noopener noreferrer",get children(){return p("home.preview.open_in_new_window")}})]}})}})}));const{hasOwnProperty:t}=Object.prototype,u=(e,t={})=>{"string"==typeof t&&(t={section:t}),t.align=!0===t.align,t.newline=!0===t.newline,t.sort=!0===t.sort,t.whitespace=!0===t.whitespace||!0===t.align,t.platform=t.platform||"undefined"!=typeof process&&process.platform,t.bracketedArray=!1!==t.bracketedArray;const n="win32"===t.platform?"\r\n":"\n",r=t.whitespace?" = ":"=",c=[],o=t.sort?Object.keys(e).sort():Object.keys(e);let s=0;t.align&&(s=d(o.filter((t=>null===e[t]||Array.isArray(e[t])||"object"!=typeof e[t])).map((t=>Array.isArray(e[t])?`${t}[]`:t)).concat([""]).reduce(((e,t)=>d(e).length>=d(t).length?e:t))).length);let l="";const i=t.bracketedArray?"[]":"";for(const a of o){const t=e[a];if(t&&Array.isArray(t))for(const e of t)l+=d(`${a}${i}`).padEnd(s," ")+r+d(e)+n;else t&&"object"==typeof t?c.push(a):l+=d(a).padEnd(s," ")+r+d(t)+n}t.section&&l.length&&(l="["+d(t.section)+"]"+(t.newline?n+n:n)+l);for(const a of c){const r=y(a,".").join("\\."),c=(t.section?t.section+".":"")+r,o=u(e[a],{...t,section:c});l.length&&o.length&&(l+=n),l+=o}return l};function y(e,t){var n=0,r=0,c=0,o=[];do{if(-1!==(c=e.indexOf(t,n))){if(n=c+t.length,c>0&&"\\"===e[c-1])continue;o.push(e.slice(r,c)),r=c+t.length}}while(-1!==c);return o.push(e.slice(r)),o}const h=(e,n={})=>{n.bracketedArray=!1!==n.bracketedArray;const r=Object.create(null);let c=r,o=null;const s=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,l=e.split(/[\r\n]+/g),i={};for(const f of l){if(!f||f.match(/^\s*[;#]/)||f.match(/^\s*$/))continue;const e=f.match(s);if(!e)continue;if(void 0!==e[1]){if(o=g(e[1]),"__proto__"===o){c=Object.create(null);continue}c=r[o]=r[o]||Object.create(null);continue}const l=g(e[2]);let a;n.bracketedArray?a=l.length>2&&"[]"===l.slice(-2):(i[l]=(i?.[l]||0)+1,a=i[l]>1);const u=a&&l.endsWith("[]")?l.slice(0,-2):l;if("__proto__"===u)continue;const y=!e[3]||g(e[4]),h="true"===y||"false"===y||"null"===y?JSON.parse(y):y;a&&(t.call(c,u)?Array.isArray(c[u])||(c[u]=[c[u]]):c[u]=[]),Array.isArray(c[u])?c[u].push(h):c[u]=h}const a=[];for(const f of Object.keys(r)){if(!t.call(r,f)||"object"!=typeof r[f]||Array.isArray(r[f]))continue;const e=y(f,".");c=r;const n=e.pop(),o=n.replace(/\\\./g,".");for(const r of e)"__proto__"!==r&&(t.call(c,r)&&"object"==typeof c[r]||(c[r]=Object.create(null)),c=c[r]);c===r&&o===n||(c[o]=r[f],a.push(f))}for(const t of a)delete r[t];return r},p=e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"),d=e=>"string"!=typeof e||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&p(e)||e!==e.trim()?JSON.stringify(e):e.split(";").join("\\;").split("#").join("\\#"),g=e=>{if(e=(e||"").trim(),!p(e)){let t=!1,n="";for(let r=0,c=e.length;r<c;r++){const c=e.charAt(r);if(t)-1!=="\\;#".indexOf(c)?n+=c:n+="\\"+c,t=!1;else{if(-1!==";#".indexOf(c))break;"\\"===c?t=!0:n+=c}}return t&&(n+="\\"),n.trim()}"'"===e.charAt(0)&&(e=e.slice(1,-1));try{e=JSON.parse(e)}catch{}return e};var j={parse:h,decode:h,stringify:u,encode:u,safe:d,unsafe:g}}}}));
|