@abtnode/blocklet-services 1.16.49-beta-20250819-084933-3bcbd851 → 1.16.49-beta-20250822-070545-6d3344cc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/api/libs/connect/session.js +4 -4
  2. package/api/routes/env.js +0 -1
  3. package/api/services/analytics/index.js +8 -5
  4. package/api/services/auth/connect/connect-to-did-spaces-for-user.js +5 -5
  5. package/api/services/auth/connect/migrate-app-to-struct-v2.js +1 -1
  6. package/api/state/profile.js +1 -1
  7. package/api/util/blocklet-utils.js +2 -2
  8. package/dist/assets/{AdapterDayjs-DQyL5DVQ.js → AdapterDayjs-VDBijwaM.js} +1 -1
  9. package/dist/assets/{Google-C3EYOLRU.js → Google-Sm1AunGv.js} +1 -1
  10. package/dist/assets/{access-control-CuUB1GoU.js → access-control-VF0jIUag.js} +1 -1
  11. package/dist/assets/{actions-DnpJX6lQ.js → actions-Bf4UKTeu.js} +1 -1
  12. package/dist/assets/{add-component-core-JXDWXmkX.js → add-component-core-DPxKUwJB.js} +7 -7
  13. package/dist/assets/add-resource-DuOqQFR-.js +1 -0
  14. package/dist/assets/{addon-D99FdIJX.js → addon-CosTdlat.js} +1 -1
  15. package/dist/assets/{advanced-CGlqr3Vl.js → advanced-B9TR0x_M.js} +2 -2
  16. package/dist/assets/{aigne-DceTN7Rt.js → aigne-C7JPp9u1.js} +1 -1
  17. package/dist/assets/api-IUmhrtIY.js +1 -0
  18. package/dist/assets/{appearance-fnwZybsp.js → appearance-Byekpih2.js} +1 -1
  19. package/dist/assets/{ar-B5ZCU4Ws.js → ar-fE5SSTrt.js} +1 -1
  20. package/dist/assets/{arrow-down.svg-BcoTeNyX.js → arrow-down.svg-lBR1lfm2.js} +1 -1
  21. package/dist/assets/{audit-logs-Dzq32Y_L.js → audit-logs-BTyQcfWp.js} +2 -2
  22. package/dist/assets/authorize-BbCQomqp.js +1 -0
  23. package/dist/assets/{base-chart-CBzZ3RX9.js → base-chart-DZz4r8-E.js} +1 -1
  24. package/dist/assets/base32-D7JDMggs.js +1 -0
  25. package/dist/assets/bind-account-B-fdpRuH.js +1 -0
  26. package/dist/assets/{branding-BgclUoWJ.js → branding-Bp4tsvug.js} +5 -5
  27. package/dist/assets/branding-CXO5C9Lb.js +1 -0
  28. package/dist/assets/{branding-g04aJopG.js → branding-DKOBu_eV.js} +2 -2
  29. package/dist/assets/{bundle-avatar-VT8FLC3N.js → bundle-avatar-FLzOZWlh.js} +1 -1
  30. package/dist/assets/button-DEDR-8Tu.js +1 -0
  31. package/dist/assets/{click-to-copy-LMYjlbUz.js → click-to-copy-CVpUD4ji.js} +1 -1
  32. package/dist/assets/{cloneDeep-KmDjD-jP.js → cloneDeep-DqaMBldf.js} +1 -1
  33. package/dist/assets/{collapse-XWrflTSv.js → collapse-C-BNkgS6.js} +1 -1
  34. package/dist/assets/{complete-BnL-RLHX.js → complete-CnjLDP7N.js} +2 -2
  35. package/dist/assets/{component-B20Ffd5t.js → component-Dogt0tzj.js} +3 -3
  36. package/dist/assets/{config-DRsQLuMp.js → config-B5Y8LOpp.js} +3 -3
  37. package/dist/assets/{config-BV0yp1Ym.js → config-BxiVjVAu.js} +1 -1
  38. package/dist/assets/{config-CJHA8pSh.js → config-gL555Qh4.js} +2 -2
  39. package/dist/assets/{config-navigation-CR3DV4xf.js → config-navigation-CveewaP3.js} +11 -11
  40. package/dist/assets/{config-space-BzTYceTE.js → config-space-h6V3UKMc.js} +1 -1
  41. package/dist/assets/confirm-C9tgdTJT.js +7 -0
  42. package/dist/assets/{connect-Dvl9nMFJ.js → connect-CYT-S8fi.js} +1 -1
  43. package/dist/assets/{connect-BaSUwW0G.js → connect-Cx2VNYgu.js} +1 -1
  44. package/dist/assets/connect-to-DiEQlFbF.js +1 -0
  45. package/dist/assets/{content-layout-yAb710pQ.js → content-layout-DoBqUAz1.js} +1 -1
  46. package/dist/assets/createClass-D9kGlylC.js +1 -0
  47. package/dist/assets/{dashboard-CuNuXf3l.js → dashboard-D1d9MQbs.js} +6 -6
  48. package/dist/assets/{de-Bt2QRaGQ.js → de-Byq6SyWJ.js} +1 -1
  49. package/dist/assets/{delete-confirm-DTjAa9xG.js → delete-confirm-XVeEePxy.js} +1 -1
  50. package/dist/assets/{did-address-CY4nLJqm.js → did-address-CcsL3-Qm.js} +1 -1
  51. package/dist/assets/{domain-C8-oT2Wp.js → domain-CV6OAKYE.js} +1 -1
  52. package/dist/assets/domain-action-card-BXYZu_pS.js +28 -0
  53. package/dist/assets/domains-DrF1lJas.js +1 -0
  54. package/dist/assets/{email-BXcDoVMA.js → email-CniDyVLQ.js} +3 -3
  55. package/dist/assets/{empty-spinner-CvzdEO93.js → empty-spinner-BMVhld2Z.js} +1 -1
  56. package/dist/assets/engine-hsJUTQxh.js +1 -0
  57. package/dist/assets/{es-RcHRYKIM.js → es-Q8J1CCMS.js} +1 -1
  58. package/dist/assets/{exchange-passport-BJ2cvp1M.js → exchange-passport-BnNDAYeY.js} +1 -1
  59. package/dist/assets/{form-Df41zlMi.js → form-BndJ7ZnS.js} +2 -2
  60. package/dist/assets/{form-text-input-DHhw6HI1.js → form-text-input-DJPCEDjA.js} +1 -1
  61. package/dist/assets/{form-wrapper-DihET07L.js → form-wrapper-CHYdE4By.js} +1 -1
  62. package/dist/assets/{fr-CQKeqjRX.js → fr-8njRrvuV.js} +1 -1
  63. package/dist/assets/{fuel-D_lR2dCI.js → fuel-BTh7B67H.js} +1 -1
  64. package/dist/assets/gen-access-key-CbaepD9-.js +1 -0
  65. package/dist/assets/gen-simple-access-key-mJK0zx1B.js +1 -0
  66. package/dist/assets/get-safe-url-Bpq2IOGY.js +1 -0
  67. package/dist/assets/hdkey-BpKJbkt5.js +62 -0
  68. package/dist/assets/hi-JUTdfcRr.js +5 -0
  69. package/dist/assets/{home-YcebrtVr.js → home-BwLLSjzW.js} +1 -1
  70. package/dist/assets/{id-B2v2gNB3.js → id-CrtgRPeX.js} +1 -1
  71. package/dist/assets/iframe-CbjzikLk.js +1 -0
  72. package/dist/assets/index-0VNYJQln.js +271 -0
  73. package/dist/assets/{index-COzISRvj.js → index-B5t6TkeL.js} +9 -9
  74. package/dist/assets/{index-Pzk7QDI_.js → index-B9sHaKla.js} +1 -1
  75. package/dist/assets/{index-I45i29I1.js → index-BFQdM_lT.js} +1 -1
  76. package/dist/assets/index-BH6jQqKY.js +55 -0
  77. package/dist/assets/{index-C2CNlq3a.js → index-BIfpX-Mq.js} +1 -1
  78. package/dist/assets/index-BKiTWpo1.js +6 -0
  79. package/dist/assets/{index-DtDUB9t6.js → index-BY2dcTa4.js} +1 -1
  80. package/dist/assets/{index-yRvJst1p.js → index-Bk02VaQE.js} +10 -10
  81. package/dist/assets/index-BtHQU9Nx.js +30 -0
  82. package/dist/assets/{index-BbOvyzfE.js → index-BtkFo6d6.js} +1 -1
  83. package/dist/assets/{index-BusluHY3.js → index-BxU3q403.js} +12 -12
  84. package/dist/assets/{index-CV12n3b0.js → index-Bzij4iIk.js} +1 -1
  85. package/dist/assets/{index-DYgvuymH.js → index-C-DpXzH8.js} +1 -1
  86. package/dist/assets/index-C4e0bu4c.js +124 -0
  87. package/dist/assets/{index-Bx4IaUHc.js → index-Ca4b_pCt.js} +6 -6
  88. package/dist/assets/{index-Bv7qQ-8a.js → index-Cd2DJL-w.js} +1 -1
  89. package/dist/assets/index-CjfYhb8W.js +1 -0
  90. package/dist/assets/index-CuQBOJqN.js +1022 -0
  91. package/dist/assets/index-DEu06Btv.js +1 -0
  92. package/dist/assets/index-DQmcrxe_.js +1 -0
  93. package/dist/assets/{index-DHaiY3PI.js → index-DT3k66ox.js} +1 -1
  94. package/dist/assets/{index-BNm1HXpF.js → index-DzSOofQf.js} +11 -11
  95. package/dist/assets/{index-CX5AEYFR.js → index-DzqNo2lD.js} +1 -1
  96. package/dist/assets/index-JixySlIT.js +7 -0
  97. package/dist/assets/{index-DeQPqRmy.js → index-SbRD4xbu.js} +2 -2
  98. package/dist/assets/{index-D4wH7CER.js → index-ew1if2W6.js} +6 -6
  99. package/dist/assets/index-hXRVhE3g.js +113 -0
  100. package/dist/assets/{index-DQ3_Wuxe.js → index-pAv7g5o_.js} +1 -1
  101. package/dist/assets/{index-Q_U4JZ73.js → index-yi4PlkyH.js} +1 -1
  102. package/dist/assets/{invitation-Cic0zA9s.js → invitation-CsvJMPo7.js} +3 -3
  103. package/dist/assets/{invite-EVcEzrIF.js → invite-DEEX5t_7.js} +1 -1
  104. package/dist/assets/{isURL-BZcSl4qG.js → isURL-Cuto2_sB.js} +2 -2
  105. package/dist/assets/{issue-passport-B3O3mNxG.js → issue-passport-BuT9-mlQ.js} +1 -1
  106. package/dist/assets/{item-BJ_EimT6.js → item-CEYjCEHD.js} +1 -1
  107. package/dist/assets/{ja-BweNHYYv.js → ja-BDFhRccP.js} +1 -1
  108. package/dist/assets/{ko-BrUV9qyv.js → ko-Dde62QRb.js} +1 -1
  109. package/dist/assets/landing-page-CbZO5p-X.js +1 -0
  110. package/dist/assets/{launch-result-message-CFuQ3Maq.js → launch-result-message-BhJWVXUs.js} +1 -1
  111. package/dist/assets/{layout-DTue3JyF.js → layout-BOMMbsdq.js} +1 -1
  112. package/dist/assets/list-CIIZmkmF.js +4 -0
  113. package/dist/assets/list-CcfeNfGu.js +103 -0
  114. package/dist/assets/{list-header-bAafK8zK.js → list-header-BQx81X9X.js} +1 -1
  115. package/dist/assets/localization-DNJagVoT.js +1 -0
  116. package/dist/assets/{log-DiR01oV7.js → log-CHaoSWXc.js} +1 -1
  117. package/dist/assets/logger-yrkSQn8c.js +1 -0
  118. package/dist/assets/login-C0FSm4ep.js +1 -0
  119. package/dist/assets/{login-oauth-callback-D2Bc3xAH.js → login-oauth-callback-DJxlMwXZ.js} +1 -1
  120. package/dist/assets/{logo-uploader-BayOewpo.js → logo-uploader-C0ihL7E6.js} +2 -2
  121. package/dist/assets/{lost-passport-flvvhlNS.js → lost-passport-BoAvHfI_.js} +2 -2
  122. package/dist/assets/{observability-DUV9CYIA.js → observability-F2NkCkza.js} +1 -1
  123. package/dist/assets/{omit-DdJriebF.js → omit-BM-5z5qE.js} +1 -1
  124. package/dist/assets/{open-window-Cj2XU2ZE.js → open-window-BNY_OfK6.js} +1 -1
  125. package/dist/assets/{over-due-invoice-payment-DveCusKe.js → over-due-invoice-payment-DXbfRbJ6.js} +1 -1
  126. package/dist/assets/{overview-BCygf-5_.js → overview-DpF1loGs.js} +2 -2
  127. package/dist/assets/{page-header-BtdOLX8d.js → page-header-CSMnIoYZ.js} +1 -1
  128. package/dist/assets/passport-item-VXkf3FVk.js +1 -0
  129. package/dist/assets/{permission-BPBzp1tm.js → permission-DeQz9qFD.js} +1 -1
  130. package/dist/assets/{playground-Doy13-fN.js → playground-CTvnZW2L.js} +1 -1
  131. package/dist/assets/preferences-C7TivEto.js +1 -0
  132. package/dist/assets/profile-embed-Dzt59MHT.js +1 -0
  133. package/dist/assets/pt-C4nfuExm.js +5 -0
  134. package/dist/assets/publish-resource-BSY6p0as.js +1 -0
  135. package/dist/assets/{react-beautiful-dnd.esm-DR1a-vn2.js → react-beautiful-dnd.esm-CYy644iX.js} +1 -1
  136. package/dist/assets/{react-stripe.esm-DJ2wjb7C.js → react-stripe.esm-CLg1-THR.js} +1 -1
  137. package/dist/assets/{required-2qxcR9JF.js → required-CobBjKC9.js} +1 -1
  138. package/dist/assets/ru-B4GtNlEa.js +5 -0
  139. package/dist/assets/runtime-B01d8fEk.js +1 -0
  140. package/dist/assets/{sanitize-t-NsAK4g.js → sanitize-NVxeYIWy.js} +1 -1
  141. package/dist/assets/sdk-ZTxfQBV1.js +1 -0
  142. package/dist/assets/{section-D4T7FV6C.js → section-Dq8SB7lh.js} +1 -1
  143. package/dist/assets/{security-BAcM8QUq.js → security-sVehajDA.js} +3 -3
  144. package/dist/assets/session-Bk6ebojT.js +1 -0
  145. package/dist/assets/{setup-Cs_D4O1K.js → setup-B9yaqoQM.js} +1 -1
  146. package/dist/assets/{shorten-label-BfHH-3ih.js → shorten-label-BHlFrl9P.js} +1 -1
  147. package/dist/assets/{simple-select-DIgPQFb4.js → simple-select-rm53gQ69.js} +1 -1
  148. package/dist/assets/{spaces-CU7Gi53i.js → spaces-HwfT17d7.js} +1 -1
  149. package/dist/assets/{start-Ds4Of13F.js → start-4J_Dh_zH.js} +1 -1
  150. package/dist/assets/{starting-progress-BTMrLOch.js → starting-progress-mgdXXqlr.js} +1 -1
  151. package/dist/assets/status-B1AV3yPH.js +1 -0
  152. package/dist/assets/{step-actions-DDyCXELh.js → step-actions-YjxSTbIE.js} +1 -1
  153. package/dist/assets/{studio-CYLOXolI.js → studio-Cx6j_6QU.js} +1 -1
  154. package/dist/assets/{switch-control-CAUrltdD.js → switch-control-BR8H_fdm.js} +1 -1
  155. package/dist/assets/{table-tips-BNjmTVFL.js → table-tips-BP283GGZ.js} +1 -1
  156. package/dist/assets/team-Dl23XmaY.js +146 -0
  157. package/dist/assets/th-BkShd6jD.js +5 -0
  158. package/dist/assets/traffic-O-wVx65-.js +1 -0
  159. package/dist/assets/{transfer-2ba_g--R.js → transfer-gEq9B27K.js} +1 -1
  160. package/dist/assets/{unsubscribe-B0KWDak0.js → unsubscribe-vpGsla5T.js} +1 -1
  161. package/dist/assets/{use-app-logo-pyV6ZPrc.js → use-app-logo-7cjs_pn8.js} +1 -1
  162. package/dist/assets/{use-mobile-BcHeqFSk.js → use-mobile-C_DcJ5SZ.js} +1 -1
  163. package/dist/assets/{use-mobile-BmKySh5X.js → use-mobile-DM4d_PLd.js} +1 -1
  164. package/dist/assets/{use-server-logo-CFQEMdB-.js → use-server-logo-Cxah39TH.js} +1 -1
  165. package/dist/assets/{use-window-close-PwuafSt8.js → use-window-close-DpgRKaaP.js} +1 -1
  166. package/dist/assets/{useAsync-BrjQTmBf.js → useAsync-BrMo9m7W.js} +1 -1
  167. package/dist/assets/{useAsync-C0iFIKqR.js → useAsync-CsYRBczg.js} +1 -1
  168. package/dist/assets/{useAsyncRetry-BmdG-NgH.js → useAsyncRetry-D4-sRZN-.js} +1 -1
  169. package/dist/assets/useLocalStorage-DqhgzGNT.js +1 -0
  170. package/dist/assets/user-center-DtJ32yjF.js +126 -0
  171. package/dist/assets/user-sessions-CFxn5EHL.js +1 -0
  172. package/dist/assets/{util-Dceeaiqy.js → util-Ca2jlZN4.js} +1 -1
  173. package/dist/assets/{util-BW0qhGTg.js → util-o8U4JIlX.js} +1 -1
  174. package/dist/assets/{vendor-arcblock-D_Dm09bZ.js → vendor-arcblock-B7AoUs4o.js} +139 -138
  175. package/dist/assets/{vendor-hooks-9cd36rYd.js → vendor-hooks-BRXKH6Nb.js} +1 -1
  176. package/dist/assets/{vendor-mui-core-DV92LEhm.js → vendor-mui-core-B7zoO8f5.js} +1 -1
  177. package/dist/assets/{vendor-mui-x-8McV6Pkb.js → vendor-mui-x-Qph0dQcg.js} +1 -1
  178. package/dist/assets/vendor-utils-DtY42AM-.js +213 -0
  179. package/dist/assets/{vendor-ux-C9Q7otQi.js → vendor-ux-B7q8W4Pg.js} +11 -11
  180. package/dist/assets/vi-C1PSP5SP.js +5 -0
  181. package/dist/assets/{wait-connect-CZLL86-A.js → wait-connect-DPAxcgcf.js} +1 -1
  182. package/dist/assets/{wizard-B45wL4-0.js → wizard-072KuoFQ.js} +1 -1
  183. package/dist/assets/{wizard-components-DtebwiYw.js → wizard-components-Dx5C9E35.js} +3 -3
  184. package/dist/assets/wrap-locale-BQM6_LkP.js +1 -0
  185. package/dist/assets/{zh-DBSThusI.js → zh-C_fDhC3R.js} +1 -1
  186. package/dist/assets/{zh-BaEjqGHy.js → zh-gAK37O_Y.js} +2 -2
  187. package/dist/assets/{zh-tw-xcyHbP3V.js → zh-tw-BGfyObps.js} +2 -2
  188. package/dist/index.html +6 -6
  189. package/dist/service-worker.js +1 -1
  190. package/package.json +33 -33
  191. package/dist/assets/add-resource-DfcJCfFx.js +0 -1
  192. package/dist/assets/api-ZbpPN5Q9.js +0 -1
  193. package/dist/assets/authorize-Cp-IEkvY.js +0 -1
  194. package/dist/assets/base32-rvunYmjt.js +0 -1
  195. package/dist/assets/bind-account-DWpWB9oY.js +0 -1
  196. package/dist/assets/branding-C1Ia1UuG.js +0 -1
  197. package/dist/assets/button-DTxgdpBB.js +0 -1
  198. package/dist/assets/confirm-DTV46cI2.js +0 -7
  199. package/dist/assets/connect-to-DqRnkSJR.js +0 -1
  200. package/dist/assets/createClass-BMZZ4tvt.js +0 -1
  201. package/dist/assets/domain-action-card-CEOtRquC.js +0 -28
  202. package/dist/assets/domains-UcvU4SNI.js +0 -1
  203. package/dist/assets/engine-D80vWtQO.js +0 -1
  204. package/dist/assets/gen-access-key-CceVm9CK.js +0 -1
  205. package/dist/assets/gen-simple-access-key-DBtfSm_M.js +0 -1
  206. package/dist/assets/get-safe-url-C-ga6boD.js +0 -1
  207. package/dist/assets/hi-C3FQ6j4Z.js +0 -5
  208. package/dist/assets/iframe-yWzH7Y70.js +0 -1
  209. package/dist/assets/index-9RuhtmiE.js +0 -7
  210. package/dist/assets/index-B8oq6zxb.js +0 -1
  211. package/dist/assets/index-BPLFlpyZ.js +0 -1
  212. package/dist/assets/index-Bpx_SHfH.js +0 -124
  213. package/dist/assets/index-BwWh6qt0.js +0 -113
  214. package/dist/assets/index-CBuBVmWe.js +0 -1020
  215. package/dist/assets/index-CJ69vsWG.js +0 -271
  216. package/dist/assets/index-DMpO3u1o.js +0 -29
  217. package/dist/assets/index-DTwsbX7O.js +0 -55
  218. package/dist/assets/index-Dib9OV0s.js +0 -6
  219. package/dist/assets/index-GUfN0pBe.js +0 -62
  220. package/dist/assets/index-OkiS9ggb.js +0 -1
  221. package/dist/assets/landing-page-CEwZuo6C.js +0 -1
  222. package/dist/assets/list-DFvUHI6u.js +0 -103
  223. package/dist/assets/list-DKV7bt8d.js +0 -2
  224. package/dist/assets/localization-BAcpaWtp.js +0 -1
  225. package/dist/assets/logger-__gJZTBC.js +0 -1
  226. package/dist/assets/login-DcV8dmSg.js +0 -1
  227. package/dist/assets/passport-item-Bej8KfmX.js +0 -1
  228. package/dist/assets/preferences-f1ltD9jG.js +0 -1
  229. package/dist/assets/profile-embed-DKKNp824.js +0 -1
  230. package/dist/assets/pt-DopXhOk4.js +0 -5
  231. package/dist/assets/publish-resource-Ce_uMtZk.js +0 -1
  232. package/dist/assets/ru-pXOMfITZ.js +0 -5
  233. package/dist/assets/runtime-EaR7CQWh.js +0 -1
  234. package/dist/assets/sdk-D0Pm334j.js +0 -1
  235. package/dist/assets/session-DW40g2df.js +0 -1
  236. package/dist/assets/status-D4MGFqcv.js +0 -1
  237. package/dist/assets/team-C8yfeoct.js +0 -146
  238. package/dist/assets/th-Dt7avnjd.js +0 -5
  239. package/dist/assets/traffic-BjVQYor-.js +0 -1
  240. package/dist/assets/useLocalStorage-BRaJWH_j.js +0 -1
  241. package/dist/assets/user-center-V4qQZYhM.js +0 -126
  242. package/dist/assets/user-sessions-DYh09QrL.js +0 -1
  243. package/dist/assets/vendor-utils-CddrUZ58.js +0 -213
  244. package/dist/assets/vi-BbB_zl6_.js +0 -5
  245. package/dist/assets/wrap-locale-FkxlVw29.js +0 -1
@@ -0,0 +1 @@
1
+ import{j as o}from"./vendor-mui-core-B7zoO8f5.js";import{D as r}from"./vendor-ux-B7q8W4Pg.js";function m({...t}){return o.jsx(r,{className:"bottom-button",variant:"contained",color:"primary",...t})}export{m as S};
@@ -1 +1 @@
1
- import{r as i}from"./vendor-react-Dvs43sk9.js";import{j as t,W as e}from"./vendor-mui-core-DV92LEhm.js";import{c as s,R as c}from"./vendor-ux-C9Q7otQi.js";function m({children:p,...r}){const{t:o}=i.useContext(s);return t.jsx(c,{tip:o("common.copyTip"),copiedTip:o("common.copiedTip"),...r,children:p})}m.propTypes={children:e.any.isRequired};export{m as C};
1
+ import{r as i}from"./vendor-react-Dvs43sk9.js";import{j as t,W as e}from"./vendor-mui-core-B7zoO8f5.js";import{G as s,R as c}from"./vendor-ux-B7q8W4Pg.js";function m({children:p,...r}){const{t:o}=i.useContext(s);return t.jsx(c,{tip:o("common.copyTip"),copiedTip:o("common.copiedTip"),...r,children:p})}m.propTypes={children:e.any.isRequired};export{m as C};
@@ -1 +1 @@
1
- import{e}from"./vendor-react-Dvs43sk9.js";import{M as r}from"./vendor-utils-CddrUZ58.js";const t=e(r);export{t as r};
1
+ import{e}from"./vendor-react-Dvs43sk9.js";import{M as r}from"./vendor-utils-DtY42AM-.js";const t=e(r);export{t as r};
@@ -1 +1 @@
1
- import"./vendor-react-Dvs43sk9.js";import{s as a,j as r,bk as e,bl as s,bm as n,bn as i}from"./vendor-mui-core-DV92LEhm.js";const c=a(o=>r.jsx(e,{disableGutters:!0,elevation:0,square:!0,...o}))(({theme:o})=>({border:`1px solid ${o.palette.divider}`,"&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}})),p=a(o=>r.jsx(s,{expandIcon:r.jsx(n,{sx:{fontSize:"0.9rem"}}),...o}))(({theme:o})=>({backgroundColor:o.palette.mode==="dark"?"rgba(255, 255, 255, .05)":"rgba(0, 0, 0, .03)",flexDirection:"row-reverse","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"},"& .MuiAccordionSummary-content":{marginLeft:o.spacing(1)}})),m=a(i)(({theme:o})=>({padding:o.spacing(2),borderTop:"1px solid rgba(0, 0, 0, .125)"}));export{c as A,p as a,m as b};
1
+ import"./vendor-react-Dvs43sk9.js";import{s as a,j as r,bk as e,bl as s,bm as n,bn as i}from"./vendor-mui-core-B7zoO8f5.js";const c=a(o=>r.jsx(e,{disableGutters:!0,elevation:0,square:!0,...o}))(({theme:o})=>({border:`1px solid ${o.palette.divider}`,"&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}})),p=a(o=>r.jsx(s,{expandIcon:r.jsx(n,{sx:{fontSize:"0.9rem"}}),...o}))(({theme:o})=>({backgroundColor:o.palette.mode==="dark"?"rgba(255, 255, 255, .05)":"rgba(0, 0, 0, .03)",flexDirection:"row-reverse","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"},"& .MuiAccordionSummary-content":{marginLeft:o.spacing(1)}})),m=a(i)(({theme:o})=>({padding:o.spacing(2),borderTop:"1px solid rgba(0, 0, 0, .125)"}));export{c as A,p as a,m as b};
@@ -1,11 +1,11 @@
1
- import{at as E,j as e,ak as m,W as H}from"./vendor-mui-core-DV92LEhm.js";import{a8 as q,m as ne,ab as O,au as oe,X as ae,av as V,c as ie,e as ce,h as le,aw as ue,ae as de}from"./index-CBuBVmWe.js";import{r as d}from"./vendor-react-Dvs43sk9.js";import{U as me,O as he,B as pe,J as fe,C as X}from"./vendor-utils-CddrUZ58.js";import{b as ge,a as j}from"./vendor-hooks-9cd36rYd.js";import{u as we}from"./launch-result-message-CFuQ3Maq.js";import{T as xe,o as be,H as J}from"./vendor-ux-C9Q7otQi.js";import{g as ke}from"./get-safe-url-C-ga6boD.js";import{S as Q}from"./button-DTxgdpBB.js";import{S as Ue}from"./layout-DTue3JyF.js";import{p as ye,P as Re,S as Se}from"./starting-progress-BTMrLOch.js";import"./vendor-arcblock-D_Dm09bZ.js";import"./lottie-web-4koyQiv_.js";import"./content-layout-yAb710pQ.js";const ve=E(we)`
1
+ import{at as E,j as e,ak as m,W as H}from"./vendor-mui-core-B7zoO8f5.js";import{a9 as q,m as ne,ac as O,aw as oe,Y as ae,ax as V,c as ie,e as ce,h as le,ay as ue,af as de}from"./index-CuQBOJqN.js";import{r as d}from"./vendor-react-Dvs43sk9.js";import{U as me,O as he,B as pe,J as fe,C as J}from"./vendor-utils-DtY42AM-.js";import{b as ge,a as j}from"./vendor-hooks-BRXKH6Nb.js";import{u as we}from"./launch-result-message-BhJWVXUs.js";import{T as xe,C as be,H as Q}from"./vendor-ux-B7q8W4Pg.js";import{g as ke}from"./get-safe-url-Bpq2IOGY.js";import{S as X}from"./button-DEDR-8Tu.js";import{S as Ue}from"./layout-BOMMbsdq.js";import{p as ye,P as Re,S as Se}from"./starting-progress-mgdXXqlr.js";import"./vendor-arcblock-B7AoUs4o.js";import"./lottie-web-4koyQiv_.js";import"./content-layout-DoBqUAz1.js";const Le=E(we)`
2
2
  && .result-footer {
3
3
  height: 120px;
4
4
  > div {
5
5
  flex-wrap: wrap;
6
6
  }
7
7
  }
8
- `,Le="https://launcher.arcblock.io",je=t=>{if(!t)return Le;const{protocol:c,host:s}=me(he(t));return`${c}//${s}`},Ee=t=>t?{"__did-connect__":pe.from(JSON.stringify({switchBehavior:"auto",forceConnected:t,showClose:!1}),"utf8").toString("base64")}:{},$e=(t=0)=>new Promise(c=>setTimeout(c,t));async function Ce(t,c=5){if(!t)throw new Error("domain is required");if(typeof c!="number")throw new Error("timeout must be a number");if(c<=1)throw new Error("time must be greater than 1s");async function s(n){try{const l=`${n}://${t}`,a=await q.evaluateURL(l,{preferAccessible:!0});return a.accessible?a.url:!1}catch{return!1}}async function R(){let n=await s("https");if(n)return n;let l=c;for(;l-- >0;)if(await $e(1e3),n=await s("https"),n)return n;return n||null}const h=await R();return h?{accessible:!0,url:h}:{accessible:!1}}function Pe({onPrevious:t=()=>{},launcherSession:c={}}){const{t:s}=xe(),[R,h]=d.useState(!1),[n,l]=d.useState("starting"),[a,$]=d.useState(),[g,C]=d.useState(null),{blocklet:o}=ne(),[P,B]=d.useState(!1),[p,K]=d.useState(""),S=O("fromLauncher"),G=O("launcherUrl"),Y=je(G),Z=Ee(c?.userDid),w=!["starting","running"].includes(n),T=n==="starting",_={stopped:s("blocklet.start"),starting:s("blocklet.starting"),running:s("blocklet.open")},I=ge(async()=>{const r=o?.controller?.launcherSessionId||o?.meta?.did,i=r?`/apps/${r}/overview`:"apps",u=await oe(Y);return fe(X(u,"/u/",i),Z)});d.useEffect(()=>{I().then(r=>{C(r)}).catch(()=>{C(null)})},[I]);const ee=async()=>{try{const i=new URL(window.location.href).searchParams.get("redirect");if(!i)return null;const u=await Ce(i,6);return u.accessible?u.url:null}catch(r){return console.error("checkRedirectUrl error",r),null}},A=async()=>{if(S&&g){window.location.href=g;return}B(!0);const r=await ee(),u=new URL(window.location.href).searchParams.get("redirect"),M=u&&r;if(!p||!ae(p)){J.error(s("blocklet.gotoVisitError"));return}let U=p,L=[];if(M)try{const y=new URL(r);U=y.href,L=[y.hostname]}catch(y){console.error("Invalid redirect URL:",u,y)}const z=V.get("login_token"),W=V.get("vid"),f=new URL(U);f.host!==window.location.host&&z&&(f.pathname=X(ie.WELLKNOWN_SERVICE_PATH_PREFIX,"redirect-with-login"),f.searchParams.set("setupToken",z),W&&f.searchParams.set("visitorId",W),U=f.href),window.location.href=ke(U,L.length?{allowDomains:L}:{}),B(!1)},v=async()=>{h(!0),l("starting");try{await ce.post("/blocklet/start?fromSetup=1");const{blocklet:{status:r}={}}=await le.getBlocklet({input:{did:o.meta.did}});h(!1),l(r),$(r==="running"?null:s("setup.complete.notRunning"))}catch(r){const i=r?.response?.data||r.message;J.error(i),h(!1),l("stopped"),$(i)}};d.useEffect(()=>{l(o.status),["starting","running"].includes(o.status)||v()},[]),d.useEffect(()=>{p||(async()=>{const i=await q.evaluateURLs(o.site.domainAliases.map(u=>ue(u.value,de)),{preferAccessible:!0});i.length>0&&K(i[0].url)})()},[o,p]);const x=j(()=>o?.children?.length,[o]),b=j(()=>o?.children?.filter(r=>r.status==="running")?.length||0,[o]),k=j(()=>x?b?Math.round(Math.max(b/x,.15)*100):5:0,[b,x]),D=localStorage.getItem("blocklet-server-url"),N=T||!p;S&&!N&&(w?v():A());const te=be(ye,w?{ml:3}:{},T?{width:`${k}%`,"&::after":{width:`${k}%`},"&::before":{width:`${k}%`,animation:"shimmer 1s infinite cubic-bezier(0.4, 0.0, 0.2, 1)","@keyframes shimmer":{"0%":{width:0},"100%":{width:`${k}%`}}}}:{}),re={starting:s("setup.complete.readyToStart"),running:s("setup.complete.title")},se=()=>P?s("setup.complete.opening"):n==="starting"&&!a?`(${b}/${x}) ${s("blocklet.starting")}`:_[n]||_.stopped,F=e.jsx(Re,{blocklets:o.children??[],status:n,debounce:!1,children:e.jsx(Q,{sx:te,onClick:()=>w?v():A(),loading:N||P,children:e.jsx("span",{style:{position:"relative",zIndex:2},children:se()})})});return e.jsx(Be,{children:e.jsx(ve,{variant:a?"error":"success",title:e.jsxs(m,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:[e.jsx(m,{sx:{fontSize:24,fontWeight:600},children:a?s("setup.complete.failedTitle"):re[n]||""}),n==="starting"&&!a?e.jsx(Se,{blocklets:o.children??[]}):null]}),footer:e.jsxs(Te,{children:[w&&e.jsx(Q,{variant:"outlined",disabled:R,onClick:()=>t(),children:s("setup.previous")}),S?e.jsxs(e.Fragment,{children:[e.jsx(m,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:F}),a&&g?e.jsx(m,{sx:{width:"100%",mt:2},children:e.jsx("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"back-to-server-link",children:s("launchBlocklet.nav.viewMyApps")})}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(m,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:F}),(n==="running"||a)&&!!D&&e.jsx(m,{sx:{width:"100%",mt:2},children:e.jsx("a",{href:D,target:"_blank",rel:"noopener noreferrer",className:"back-to-server-link",children:s("setup.complete.backToServer")})}),a&&e.jsx(m,{className:"error-message",sx:{fontSize:14,color:"#888",mt:1},children:a})]})]})})})}const Be=E(Ue)`
8
+ `,ve="https://launcher.arcblock.io",je=t=>{if(!t)return ve;const{protocol:c,host:s}=me(he(t));return`${c}//${s}`},Ee=t=>t?{"__did-connect__":pe.from(JSON.stringify({switchBehavior:"auto",forceConnected:t,showClose:!1}),"utf8").toString("base64")}:{},Ce=(t=0)=>new Promise(c=>setTimeout(c,t));async function $e(t,c=5){if(!t)throw new Error("domain is required");if(typeof c!="number")throw new Error("timeout must be a number");if(c<=1)throw new Error("time must be greater than 1s");async function s(n){try{const l=`${n}://${t}`,a=await q.evaluateURL(l,{preferAccessible:!0});return a.accessible?a.url:!1}catch{return!1}}async function R(){let n=await s("https");if(n)return n;let l=c;for(;l-- >0;)if(await Ce(1e3),n=await s("https"),n)return n;return n||null}const h=await R();return h?{accessible:!0,url:h}:{accessible:!1}}function Pe({onPrevious:t=()=>{},launcherSession:c={}}){const{t:s}=xe(),[R,h]=d.useState(!1),[n,l]=d.useState("starting"),[a,C]=d.useState(),[g,$]=d.useState(null),{blocklet:o}=ne(),[P,B]=d.useState(!1),[p,K]=d.useState(""),S=O("fromLauncher"),Y=O("launcherUrl"),G=je(Y),Z=Ee(c?.userDid),w=!["starting","running"].includes(n),T=n==="starting",_={stopped:s("blocklet.start"),starting:s("blocklet.starting"),running:s("blocklet.open")},I=ge(async()=>{const r=o?.controller?.launcherSessionId||o?.meta?.did,i=r?`/apps/${r}/overview`:"apps",u=await oe(G);return fe(J(u,"/u/",i),Z)});d.useEffect(()=>{I().then(r=>{$(r)}).catch(()=>{$(null)})},[I]);const ee=async()=>{try{const i=new URL(window.location.href).searchParams.get("redirect");if(!i)return null;const u=await $e(i,6);return u.accessible?u.url:null}catch(r){return console.error("checkRedirectUrl error",r),null}},A=async()=>{if(S&&g){window.location.href=g;return}B(!0);const r=await ee(),u=new URL(window.location.href).searchParams.get("redirect"),M=u&&r;if(!p||!ae(p)){Q.error(s("blocklet.gotoVisitError"));return}let U=p,v=[];if(M)try{const y=new URL(r);U=y.href,v=[y.hostname]}catch(y){console.error("Invalid redirect URL:",u,y)}const z=V.get("login_token"),W=V.get("vid"),f=new URL(U);f.host!==window.location.host&&z&&(f.pathname=J(ie.WELLKNOWN_SERVICE_PATH_PREFIX,"redirect-with-login"),f.searchParams.set("setupToken",z),W&&f.searchParams.set("visitorId",W),U=f.href),window.location.href=ke(U,v.length?{allowDomains:v}:{}),B(!1)},L=async()=>{h(!0),l("starting");try{await ce.post("/blocklet/start?fromSetup=1");const{blocklet:{status:r}={}}=await le.getBlocklet({input:{did:o.meta.did}});h(!1),l(r),C(r==="running"?null:s("setup.complete.notRunning"))}catch(r){const i=r?.response?.data||r.message;Q.error(i),h(!1),l("stopped"),C(i)}};d.useEffect(()=>{l(o.status),["starting","running"].includes(o.status)||L()},[]),d.useEffect(()=>{p||(async()=>{const i=await q.evaluateURLs(o.site.domainAliases.map(u=>ue(u.value,de)),{preferAccessible:!0});i.length>0&&K(i[0].url)})()},[o,p]);const x=j(()=>o?.children?.length,[o]),b=j(()=>o?.children?.filter(r=>r.status==="running")?.length||0,[o]),k=j(()=>x?b?Math.round(Math.max(b/x,.15)*100):5:0,[b,x]),D=localStorage.getItem("blocklet-server-url"),N=T||!p;S&&!N&&(w?L():A());const te=be(ye,w?{ml:3}:{},T?{width:`${k}%`,"&::after":{width:`${k}%`},"&::before":{width:`${k}%`,animation:"shimmer 1s infinite cubic-bezier(0.4, 0.0, 0.2, 1)","@keyframes shimmer":{"0%":{width:0},"100%":{width:`${k}%`}}}}:{}),re={starting:s("setup.complete.readyToStart"),running:s("setup.complete.title")},se=()=>P?s("setup.complete.opening"):n==="starting"&&!a?`(${b}/${x}) ${s("blocklet.starting")}`:_[n]||_.stopped,F=e.jsx(Re,{blocklets:o.children??[],status:n,debounce:!1,children:e.jsx(X,{sx:te,onClick:()=>w?L():A(),loading:N||P,children:e.jsx("span",{style:{position:"relative",zIndex:2},children:se()})})});return e.jsx(Be,{children:e.jsx(Le,{variant:a?"error":"success",title:e.jsxs(m,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:[e.jsx(m,{sx:{fontSize:24,fontWeight:600},children:a?s("setup.complete.failedTitle"):re[n]||""}),n==="starting"&&!a?e.jsx(Se,{blocklets:o.children??[]}):null]}),footer:e.jsxs(Te,{children:[w&&e.jsx(X,{variant:"outlined",disabled:R,onClick:()=>t(),children:s("setup.previous")}),S?e.jsxs(e.Fragment,{children:[e.jsx(m,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:F}),a&&g?e.jsx(m,{sx:{width:"100%",mt:2},children:e.jsx("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"back-to-server-link",children:s("launchBlocklet.nav.viewMyApps")})}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(m,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:F}),(n==="running"||a)&&!!D&&e.jsx(m,{sx:{width:"100%",mt:2},children:e.jsx("a",{href:D,target:"_blank",rel:"noopener noreferrer",className:"back-to-server-link",children:s("setup.complete.backToServer")})}),a&&e.jsx(m,{className:"error-message",sx:{fontSize:14,color:"#888",mt:1},children:a})]})]})})})}const Be=E(Ue)`
9
9
  justify-content: center;
10
10
  .icon-success {
11
11
  width: 64px;
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BusluHY3.js","assets/index-CBuBVmWe.js","assets/vendor-mui-core-DV92LEhm.js","assets/vendor-react-Dvs43sk9.js","assets/vendor-ux-C9Q7otQi.js","assets/vendor-utils-CddrUZ58.js","assets/vendor-hooks-9cd36rYd.js","assets/lottie-web-4koyQiv_.js","assets/vendor-ux-DYcPPYq2.css","assets/vendor-arcblock-D_Dm09bZ.js","assets/index-DrVXX4fX.css","assets/index-BPy8_fa2.js","assets/index-DRYJ0xIl.js","assets/index-B5LvOF-F.css"])))=>i.map(i=>d[i]);
2
- import{ce as ae,j as D,ak as le,am as _t,W as K,ax as ze,aD as dt,b as Ve,g as Ue,a as Te,m as Gh,s as oe,_ as U,h as We,T as rt,n as va,u as Fe,dT as Hh,i as ml,k as Oa,E as xf,G as wf,l as Pn,B as Yh,H as Kh,D as _n,c as Yt,I as tt,t as Qh,q as Df,ar as Xh,c1 as dr,Q as wn,R as Pf,K as Zh,L as Jh,N as lo,O as eg,P as tg,A as ng,Y as Gi,Z as _s,$ as Hi,J as _a,a0 as Is,a1 as rg,a2 as ag,aH as As,at as st,aL as og,dw as ig,dU as lg,bD as sg,aJ as js,aI as ug,c5 as cg,c6 as Ls,dV as dg,dW as fg,dX as pg,cg as hl,c9 as Mr,an as mg,cf as Tf,aX as Bs,z as mt,b1 as Sf,dN as kf,dY as hg,M as Vt,a6 as an,bc as Rf,dZ as gg,b4 as bg,a$ as Ia,d_ as vg,bp as yg,b6 as Yi,bq as Ns,cM as Cg,aZ as xg,d$ as wg,ds as Ef,bx as Mf,bd as Dg,d3 as Pg,e0 as Tg,bB as Fs,a5 as $s,e1 as Sg,be as kg}from"./vendor-mui-core-DV92LEhm.js";import{aw as qs,n as zs,C as yr,ax as Rg,av as Eg}from"./vendor-utils-CddrUZ58.js";import{d as Pe,a as Me,e as ln,g as Of,r as O,c as gl,b as Mg,i as _f}from"./vendor-react-Dvs43sk9.js";import{a_ as ne,O as Og,T as ut,H as je,b6 as re,b7 as If,b8 as sn,b9 as Kt,ba as Tt,bb as Or,bc as Aa,bd as Ye,be as ja,bf as La,bg as bl,bh as Ba,bi as Af,bj as Na,bk as Fa,bl as _g,bm as Ig,bn as Ag,bo as jg,bp as Lg,bq as Bg,br as Ng,bs as Fg,bt as $g,bu as qg,bv as zg,bw as jt,bx as It,by as $a,bz as un,bA as jf,bB as vl,bC as Lf,bD as Vg,bE as Ug,bF as Wg,bG as In,bH as cn,bI as Gg,bJ as Hg,bK as Yg,bL as Kg,bM as Qg,bN as Xg,bO as _r,bP as Zg,bQ as Jg,bR as eb,bS as tb,ab as Vs,ac as nb,ad as rb,ae as ab,bT as Bf,bU as ob,bV as ib,bW as lb,bX as sb,bY as ub,bZ as cb,b_ as db,b$ as fb,c0 as pb,c1 as mb,c2 as hb,c as Qt,b as qa,_ as gb,a2 as bb,C as so,J as Pt,n as uo,I as vb}from"./vendor-ux-C9Q7otQi.js";import{Y as ft,a7 as dn,_ as Tn,W as At,f as $e,B as Cr,cv as yb,c as be,cn as Sn,cm as Nf,aw as Ff,cw as $f,X as Cb,ap as fr,aR as xb,cx as wb}from"./index-CBuBVmWe.js";import{f as Dt}from"./index-DBs9Ljax.js";import{b as Db,W as kn,u as yl,B as qf}from"./dashboard-CuNuXf3l.js";import{S as Pb}from"./switch-control-CAUrltdD.js";import{P as Ki,w as za}from"./permission-BPBzp1tm.js";import{u as zf,r as Tb}from"./vendor-mui-x-8McV6Pkb.js";import{r as Se,A as Cl,B as pt,C as ya,D as Qi,t as De,E as Vf,F as Uf,c as Xi,o as Sb,G as $t,H as kb,I as Rb,J as Zi,K as Wf,L as Eb,M as Mb,N as Gf,O as xl,P as Us,Q as Ob,R as Ws,S as _b,T as Ib,p as Ab,a as Gs,b as jb,j as co,h as Hs,m as Lb,k as qr,u as mn,i as Bb,n as Nb,g as zr,f as fo,d as Vr,s as po,e as mo,x as Fb,z as $b,q as qb,l as zb,v as Vb,w as Ub,U as Wb,y as Gb,V as Hb,W as Yb}from"./index-OkiS9ggb.js";import{f as Kb,d as Ys,c as Qb,b as Oe,_ as Re,a as Ee}from"./createClass-BMZZ4tvt.js";import{u as ke,a as ue,r as xr,w as Ca,g as Hf,b as fn,e as Yf,c as Xb,d as Zb,o as Ji}from"./raf-schd.esm-CHNehTG3.js";import{s as Jb}from"./sanitize-t-NsAK4g.js";import{C as Ks}from"./click-to-copy-LMYjlbUz.js";import{v as ho}from"./index-DYgvuymH.js";import{A as ev,a as tv,b as nv,I as rv,f as av,B as ov,d as iv}from"./add-component-core-JXDWXmkX.js";import{C as An}from"./confirm-DTV46cI2.js";import{a as xa,v as lv}from"./util-BW0qhGTg.js";import{C as sv}from"./lock.svg-COUP8tyO.js";import{D as uv}from"./delete-confirm-DTjAa9xG.js";import{e as cv}from"./engine-D80vWtQO.js";import{I as dv}from"./iframe-yWzH7Y70.js";import{B as fv}from"./bundle-avatar-VT8FLC3N.js";import{A as Kf}from"./actions-DnpJX6lQ.js";import{v as go}from"./index-CV12n3b0.js";import{W as pv}from"./did-address-CY4nLJqm.js";import{b as mv}from"./vendor-hooks-9cd36rYd.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-D_Dm09bZ.js";import"./useLocalStorage-BRaJWH_j.js";import"./get-safe-url-C-ga6boD.js";import"./session-DW40g2df.js";import"./team-C8yfeoct.js";import"./isURL-BZcSl4qG.js";import"./use-app-logo-pyV6ZPrc.js";import"./useAsyncRetry-BmdG-NgH.js";import"./useAsync-BrjQTmBf.js";import"./useSetState-DFuQZPPV.js";import"./index-BNm1HXpF.js";import"./over-due-invoice-payment-DveCusKe.js";import"./use-mobile-BmKySh5X.js";import"./index-BbOvyzfE.js";import"./omit-DdJriebF.js";import"./index-BPy8_fa2.js";import"./item-BJ_EimT6.js";import"./wait-connect-CZLL86-A.js";import"./launch-result-message-CFuQ3Maq.js";import"./page-header-BtdOLX8d.js";import"./config-space-BzTYceTE.js";import"./spaces-CU7Gi53i.js";import"./api-ZbpPN5Q9.js";import"./required-2qxcR9JF.js";import"./index-DtDUB9t6.js";import"./Google-C3EYOLRU.js";import"./cloneDeep-KmDjD-jP.js";import"./form-wrapper-DihET07L.js";import"./logo-uploader-BayOewpo.js";import"./collapse-XWrflTSv.js";import"./index-I45i29I1.js";import"./config-DRsQLuMp.js";import"./section-D4T7FV6C.js";import"./form-text-input-DHhw6HI1.js";import"./edit.svg-DycWG9v3.js";import"./index-CX5AEYFR.js";import"./use-mobile-BcHeqFSk.js";import"./content-layout-yAb710pQ.js";import"./connect-to-DqRnkSJR.js";import"./index-DMpO3u1o.js";import"./index-DRYJ0xIl.js";import"./index-BojVbZw0.js";import"./search-4YYphs0l.js";var hv=36e5;function gv(e,t){Se(2,arguments);var n=pt(t);return Cl(e,n*hv)}var bv=864e5;function vv(e,t){Se(2,arguments);var n=ya(e),a=ya(t),r=n.getTime()-Qi(n),o=a.getTime()-Qi(a);return Math.round((r-o)/bv)}var yv=6e4;function Cv(e,t){Se(2,arguments);var n=pt(t);return Cl(e,n*yv)}function xv(e,t){Se(2,arguments);var n=pt(t);return Cl(e,n*1e3)}function hr(e,t){Se(2,arguments);var n=De(e),a=De(t),r=n.getTime()-a.getTime();return r<0?-1:r>0?1:r}function wv(e,t){Se(2,arguments);var n=De(e),a=De(t);return n.getFullYear()-a.getFullYear()}function Qs(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Qf(e,t){Se(2,arguments);var n=De(e),a=De(t),r=Qs(n,a),o=Math.abs(vv(n,a));n.setDate(n.getDate()-r*o);var i=+(Qs(n,a)===-r),l=r*(o-i);return l===0?0:l}function Va(e,t){return Se(2,arguments),De(e).getTime()-De(t).getTime()}var Xs={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},Dv="trunc";function Ir(e){return e?Xs[e]:Xs[Dv]}function Pv(e,t,n){Se(2,arguments);var a=Va(e,t)/Vf;return Ir(void 0)(a)}function Tv(e,t,n){Se(2,arguments);var a=Va(e,t)/Uf;return Ir(void 0)(a)}function el(e){Se(1,arguments);var t=De(e);return t.setHours(23,59,59,999),t}function Sv(e){Se(1,arguments);var t=De(e);return el(t).getTime()===Xi(t).getTime()}function Xf(e,t){Se(2,arguments);var n=De(e),a=De(t),r=hr(n,a),o=Math.abs(Sb(n,a)),i;if(o<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-r*o);var l=hr(n,a)===-r;Sv(De(e))&&o===1&&hr(e,a)===1&&(l=!1),i=r*(o-Number(l))}return i===0?0:i}function kv(e,t,n){Se(2,arguments);var a=Xf(e,t)/3;return Ir(void 0)(a)}function Rv(e,t,n){Se(2,arguments);var a=Va(e,t)/1e3;return Ir(void 0)(a)}function Ev(e,t,n){Se(2,arguments);var a=Qf(e,t)/7;return Ir(void 0)(a)}function Mv(e,t){Se(2,arguments);var n=De(e),a=De(t),r=hr(n,a),o=Math.abs(wv(n,a));n.setFullYear(1584),a.setFullYear(1584);var i=hr(n,a)===-r,l=r*(o-Number(i));return l===0?0:l}function Ov(e,t){var n;Se(1,arguments);var a=e||{},r=De(a.start),o=De(a.end),i=o.getTime();if(!(r.getTime()<=i))throw new RangeError("Invalid interval");var l=[],u=r;u.setHours(0,0,0,0);var s=Number((n=void 0)!==null&&n!==void 0?n:1);if(s<1||isNaN(s))throw new RangeError("`options.step` must be a number greater than 1");for(;u.getTime()<=i;)l.push(De(u)),u.setDate(u.getDate()+s),u.setHours(0,0,0,0);return l}function _v(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Iv(e,t){var n,a;Se(1,arguments);var r=De(e);if(isNaN(r.getTime()))throw new RangeError("Invalid time value");var o=String((n=t?.format)!==null&&n!==void 0?n:"extended"),i=String((a=t?.representation)!==null&&a!==void 0?a:"complete");if(o!=="extended"&&o!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(i!=="date"&&i!=="time"&&i!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",u="",s=o==="extended"?"-":"",f=o==="extended"?":":"";if(i!=="time"){var c=$t(r.getDate(),2),d=$t(r.getMonth()+1,2),v=$t(r.getFullYear(),4);l="".concat(v).concat(s).concat(d).concat(s).concat(c)}if(i!=="date"){var y=r.getTimezoneOffset();if(y!==0){var g=Math.abs(y),C=$t(Math.floor(g/60),2),h=$t(g%60,2),p=y<0?"+":"-";u="".concat(p).concat(C,":").concat(h)}else u="Z";var m=$t(r.getHours(),2),b=$t(r.getMinutes(),2),k=$t(r.getSeconds(),2),x=l===""?"":"T",w=[m,b,k].join(f);l="".concat(l).concat(x).concat(w).concat(u)}return l}function Av(e){Se(1,arguments);var t=De(e),n=t.getDay();return n}function jv(e){Se(1,arguments);var t=De(e),n=t.getHours();return n}function Lv(e){Se(1,arguments);var t=De(e),n=t.getMinutes();return n}function Bv(e){Se(1,arguments);var t=De(e),n=t.getSeconds();return n}function Nv(e,t){Se(2,arguments);var n=De(e),a=De(t);return n.getTime()===a.getTime()}function Zs(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Kb(e))||t){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BxU3q403.js","assets/index-CuQBOJqN.js","assets/vendor-mui-core-B7zoO8f5.js","assets/vendor-react-Dvs43sk9.js","assets/vendor-ux-B7q8W4Pg.js","assets/vendor-utils-DtY42AM-.js","assets/vendor-hooks-BRXKH6Nb.js","assets/lottie-web-4koyQiv_.js","assets/vendor-ux-DYcPPYq2.css","assets/vendor-arcblock-B7AoUs4o.js","assets/index-DrVXX4fX.css","assets/index-BPy8_fa2.js","assets/index-DRYJ0xIl.js","assets/index-B5LvOF-F.css"])))=>i.map(i=>d[i]);
2
+ import{ce as ae,j as D,ak as le,am as _t,W as K,ax as ze,aD as dt,b as Ve,g as Ue,a as Te,m as Gh,s as oe,_ as U,h as We,T as rt,n as va,u as Fe,dT as Hh,i as ml,k as Oa,E as xf,G as wf,l as Pn,B as Yh,H as Kh,D as _n,c as Yt,I as tt,t as Qh,q as Df,ar as Xh,c1 as dr,Q as wn,R as Pf,K as Zh,L as Jh,N as lo,O as eg,P as tg,A as ng,Y as Gi,Z as _s,$ as Hi,J as _a,a0 as Is,a1 as rg,a2 as ag,aH as As,at as st,aL as og,dv as ig,dU as lg,bD as sg,aJ as js,aI as ug,c5 as cg,c6 as Ls,dV as dg,dW as fg,dX as pg,cl as hl,c9 as Mr,an as mg,ck as Tf,aX as Bs,z as mt,b1 as Sf,dM as kf,dY as hg,M as Vt,a6 as an,bc as Rf,dZ as gg,b4 as bg,a$ as Ia,d_ as vg,bp as yg,b6 as Yi,bq as Ns,cM as Cg,aZ as xg,d$ as wg,dr as Ef,bx as Mf,bd as Dg,d3 as Pg,e0 as Tg,bB as Fs,a5 as $s,e1 as Sg,be as kg}from"./vendor-mui-core-B7zoO8f5.js";import{aw as qs,n as zs,C as yr,ax as Rg,av as Eg}from"./vendor-utils-DtY42AM-.js";import{d as Pe,a as Me,e as ln,g as Of,r as O,c as gl,b as Mg,i as _f}from"./vendor-react-Dvs43sk9.js";import{bb as ne,ad as Og,T as ut,H as je,bj as re,bk as If,bl as sn,bm as Kt,bn as Tt,bo as Or,bp as Aa,bq as Ye,br as ja,bs as La,bt as bl,bu as Ba,bv as Af,bw as Na,bx as Fa,by as _g,bz as Ig,bA as Ag,bB as jg,bC as Lg,bD as Bg,bE as Ng,bF as Fg,bG as $g,bH as qg,bI as zg,bJ as jt,bK as It,bL as $a,bM as un,bN as jf,bO as vl,bP as Lf,bQ as Vg,bR as Ug,bS as Wg,bT as In,bU as cn,bV as Gg,bW as Hg,bX as Yg,bY as Kg,bZ as Qg,b_ as Xg,b$ as _r,c0 as Zg,c1 as Jg,c2 as eb,c3 as tb,as as Vs,at as nb,au as rb,av as ab,c4 as Bf,c5 as ob,c6 as ib,c7 as lb,c8 as sb,c9 as ub,ca as cb,cb as db,cc as fb,cd as pb,ce as mb,cf as hb,G as Qt,F as qa,_ as gb,ak as bb,a5 as so,aa as Pt,D as uo,a9 as vb}from"./vendor-ux-B7q8W4Pg.js";import{Z as ft,a8 as dn,$ as Tn,X as At,f as $e,B as Cr,cA as yb,c as be,cs as Sn,cr as Nf,ay as Ff,cB as $f,Y as Cb,aq as fr,aU as xb,cC as wb}from"./index-CuQBOJqN.js";import{f as Dt}from"./index-DBs9Ljax.js";import{b as Db,W as kn,u as yl,B as qf}from"./dashboard-D1d9MQbs.js";import{S as Pb}from"./switch-control-BR8H_fdm.js";import{P as Ki,w as za}from"./permission-DeQz9qFD.js";import{u as zf,r as Tb}from"./vendor-mui-x-Qph0dQcg.js";import{r as Se,A as Cl,B as pt,C as ya,D as Qi,t as De,E as Vf,F as Uf,c as Xi,o as Sb,G as $t,H as kb,I as Rb,J as Zi,K as Wf,L as Eb,M as Mb,N as Gf,O as xl,P as Us,Q as Ob,R as Ws,S as _b,T as Ib,p as Ab,a as Gs,b as jb,j as co,h as Hs,m as Lb,k as qr,u as mn,i as Bb,n as Nb,g as zr,f as fo,d as Vr,s as po,e as mo,x as Fb,z as $b,q as qb,l as zb,v as Vb,w as Ub,U as Wb,y as Gb,V as Hb,W as Yb}from"./index-DQmcrxe_.js";import{f as Kb,d as Ys,c as Qb,b as Oe,_ as Re,a as Ee}from"./createClass-D9kGlylC.js";import{u as ke,a as ue,r as xr,w as Ca,g as Hf,b as fn,e as Yf,c as Xb,d as Zb,o as Ji}from"./raf-schd.esm-CHNehTG3.js";import{s as Jb}from"./sanitize-NVxeYIWy.js";import{C as Ks}from"./click-to-copy-CVpUD4ji.js";import{v as ho}from"./index-C-DpXzH8.js";import{A as ev,a as tv,b as nv,I as rv,f as av,B as ov,d as iv}from"./add-component-core-DPxKUwJB.js";import{C as An}from"./confirm-C9tgdTJT.js";import{a as xa,v as lv}from"./util-o8U4JIlX.js";import{C as sv}from"./lock.svg-COUP8tyO.js";import{D as uv}from"./delete-confirm-XVeEePxy.js";import{e as cv}from"./engine-hsJUTQxh.js";import{I as dv}from"./iframe-CbjzikLk.js";import{B as fv}from"./bundle-avatar-FLzOZWlh.js";import{A as Kf}from"./actions-Bf4UKTeu.js";import{v as go}from"./index-Bzij4iIk.js";import{W as pv}from"./did-address-CcsL3-Qm.js";import{b as mv}from"./vendor-hooks-BRXKH6Nb.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-B7AoUs4o.js";import"./useLocalStorage-DqhgzGNT.js";import"./get-safe-url-Bpq2IOGY.js";import"./session-Bk6ebojT.js";import"./team-Dl23XmaY.js";import"./isURL-Cuto2_sB.js";import"./use-app-logo-7cjs_pn8.js";import"./useAsyncRetry-D4-sRZN-.js";import"./useAsync-BrMo9m7W.js";import"./useSetState-DFuQZPPV.js";import"./index-DzSOofQf.js";import"./over-due-invoice-payment-DXbfRbJ6.js";import"./use-mobile-DM4d_PLd.js";import"./index-BtkFo6d6.js";import"./omit-BM-5z5qE.js";import"./index-BPy8_fa2.js";import"./item-CEYjCEHD.js";import"./wait-connect-DPAxcgcf.js";import"./launch-result-message-BhJWVXUs.js";import"./page-header-CSMnIoYZ.js";import"./config-space-h6V3UKMc.js";import"./spaces-HwfT17d7.js";import"./api-IUmhrtIY.js";import"./required-CobBjKC9.js";import"./index-BY2dcTa4.js";import"./Google-Sm1AunGv.js";import"./cloneDeep-DqaMBldf.js";import"./form-wrapper-CHYdE4By.js";import"./logo-uploader-C0ihL7E6.js";import"./collapse-C-BNkgS6.js";import"./index-BFQdM_lT.js";import"./config-B5Y8LOpp.js";import"./section-Dq8SB7lh.js";import"./form-text-input-DJPCEDjA.js";import"./edit.svg-DycWG9v3.js";import"./index-DzqNo2lD.js";import"./use-mobile-C_DcJ5SZ.js";import"./content-layout-DoBqUAz1.js";import"./connect-to-DiEQlFbF.js";import"./index-BtHQU9Nx.js";import"./index-DRYJ0xIl.js";import"./index-BojVbZw0.js";import"./search-4YYphs0l.js";var hv=36e5;function gv(e,t){Se(2,arguments);var n=pt(t);return Cl(e,n*hv)}var bv=864e5;function vv(e,t){Se(2,arguments);var n=ya(e),a=ya(t),r=n.getTime()-Qi(n),o=a.getTime()-Qi(a);return Math.round((r-o)/bv)}var yv=6e4;function Cv(e,t){Se(2,arguments);var n=pt(t);return Cl(e,n*yv)}function xv(e,t){Se(2,arguments);var n=pt(t);return Cl(e,n*1e3)}function hr(e,t){Se(2,arguments);var n=De(e),a=De(t),r=n.getTime()-a.getTime();return r<0?-1:r>0?1:r}function wv(e,t){Se(2,arguments);var n=De(e),a=De(t);return n.getFullYear()-a.getFullYear()}function Qs(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Qf(e,t){Se(2,arguments);var n=De(e),a=De(t),r=Qs(n,a),o=Math.abs(vv(n,a));n.setDate(n.getDate()-r*o);var i=+(Qs(n,a)===-r),l=r*(o-i);return l===0?0:l}function Va(e,t){return Se(2,arguments),De(e).getTime()-De(t).getTime()}var Xs={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},Dv="trunc";function Ir(e){return e?Xs[e]:Xs[Dv]}function Pv(e,t,n){Se(2,arguments);var a=Va(e,t)/Vf;return Ir(void 0)(a)}function Tv(e,t,n){Se(2,arguments);var a=Va(e,t)/Uf;return Ir(void 0)(a)}function el(e){Se(1,arguments);var t=De(e);return t.setHours(23,59,59,999),t}function Sv(e){Se(1,arguments);var t=De(e);return el(t).getTime()===Xi(t).getTime()}function Xf(e,t){Se(2,arguments);var n=De(e),a=De(t),r=hr(n,a),o=Math.abs(Sb(n,a)),i;if(o<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-r*o);var l=hr(n,a)===-r;Sv(De(e))&&o===1&&hr(e,a)===1&&(l=!1),i=r*(o-Number(l))}return i===0?0:i}function kv(e,t,n){Se(2,arguments);var a=Xf(e,t)/3;return Ir(void 0)(a)}function Rv(e,t,n){Se(2,arguments);var a=Va(e,t)/1e3;return Ir(void 0)(a)}function Ev(e,t,n){Se(2,arguments);var a=Qf(e,t)/7;return Ir(void 0)(a)}function Mv(e,t){Se(2,arguments);var n=De(e),a=De(t),r=hr(n,a),o=Math.abs(wv(n,a));n.setFullYear(1584),a.setFullYear(1584);var i=hr(n,a)===-r,l=r*(o-Number(i));return l===0?0:l}function Ov(e,t){var n;Se(1,arguments);var a=e||{},r=De(a.start),o=De(a.end),i=o.getTime();if(!(r.getTime()<=i))throw new RangeError("Invalid interval");var l=[],u=r;u.setHours(0,0,0,0);var s=Number((n=void 0)!==null&&n!==void 0?n:1);if(s<1||isNaN(s))throw new RangeError("`options.step` must be a number greater than 1");for(;u.getTime()<=i;)l.push(De(u)),u.setDate(u.getDate()+s),u.setHours(0,0,0,0);return l}function _v(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Iv(e,t){var n,a;Se(1,arguments);var r=De(e);if(isNaN(r.getTime()))throw new RangeError("Invalid time value");var o=String((n=t?.format)!==null&&n!==void 0?n:"extended"),i=String((a=t?.representation)!==null&&a!==void 0?a:"complete");if(o!=="extended"&&o!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(i!=="date"&&i!=="time"&&i!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",u="",s=o==="extended"?"-":"",f=o==="extended"?":":"";if(i!=="time"){var c=$t(r.getDate(),2),d=$t(r.getMonth()+1,2),v=$t(r.getFullYear(),4);l="".concat(v).concat(s).concat(d).concat(s).concat(c)}if(i!=="date"){var y=r.getTimezoneOffset();if(y!==0){var g=Math.abs(y),C=$t(Math.floor(g/60),2),h=$t(g%60,2),p=y<0?"+":"-";u="".concat(p).concat(C,":").concat(h)}else u="Z";var m=$t(r.getHours(),2),b=$t(r.getMinutes(),2),k=$t(r.getSeconds(),2),x=l===""?"":"T",w=[m,b,k].join(f);l="".concat(l).concat(x).concat(w).concat(u)}return l}function Av(e){Se(1,arguments);var t=De(e),n=t.getDay();return n}function jv(e){Se(1,arguments);var t=De(e),n=t.getHours();return n}function Lv(e){Se(1,arguments);var t=De(e),n=t.getMinutes();return n}function Bv(e){Se(1,arguments);var t=De(e),n=t.getSeconds();return n}function Nv(e,t){Se(2,arguments);var n=De(e),a=De(t);return n.getTime()===a.getTime()}function Zs(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Kb(e))||t){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return i=s.done,s},e:function(s){l=!0,o=s},f:function(){try{i||n.return==null||n.return()}finally{if(l)throw o}}}}function Zf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Zf=function(){return!!e})()}function _e(e){var t=Zf();return function(){var n,a=Ys(e);if(t){var r=Ys(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Qb(this,n)}}var Fv=10,Jf=function(){function e(){Ee(this,e),ne(this,"priority",void 0),ne(this,"subPriority",0)}return Re(e,[{key:"validate",value:function(n,a){return!0}}]),e}(),$v=function(e){Oe(n,e);var t=_e(n);function n(a,r,o,i,l){var u;return Ee(this,n),u=t.call(this),u.value=a,u.validateValue=r,u.setValue=o,u.priority=i,l&&(u.subPriority=l),u}return Re(n,[{key:"validate",value:function(r,o){return this.validateValue(r,this.value,o)}},{key:"set",value:function(r,o,i){return this.setValue(r,o,this.value,i)}}]),n}(Jf),qv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",Fv),ne(ae(a),"subPriority",-1),a}return Re(n,[{key:"set",value:function(r,o){if(o.timestampIsSet)return r;var i=new Date(0);return i.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),i.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),i}}]),n}(Jf),Le=function(){function e(){Ee(this,e),ne(this,"incompatibleTokens",void 0),ne(this,"priority",void 0),ne(this,"subPriority",void 0)}return Re(e,[{key:"run",value:function(n,a,r,o){var i=this.parse(n,a,r,o);return i?{setter:new $v(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(n,a,r){return!0}}]),e}(),zv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",140),ne(ae(a),"incompatibleTokens",["R","u","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"})||i.era(r,{width:"narrow"});case"GGGGG":return i.era(r,{width:"narrow"});case"GGGG":default:return i.era(r,{width:"wide"})||i.era(r,{width:"abbreviated"})||i.era(r,{width:"narrow"})}}},{key:"set",value:function(r,o,i){return o.era=i,r.setUTCFullYear(i,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le),Ze={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Et={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Je(e,t){return e&&{value:t(e.value),rest:e.rest}}function He(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Mt(e,t){var n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};var a=n[1]==="+"?1:-1,r=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,i=n[5]?parseInt(n[5],10):0;return{value:a*(r*Vf+o*Uf+i*kb),rest:t.slice(n[0].length)}}function ep(e){return He(Ze.anyDigitsSigned,e)}function Xe(e,t){switch(e){case 1:return He(Ze.singleDigit,t);case 2:return He(Ze.twoDigits,t);case 3:return He(Ze.threeDigits,t);case 4:return He(Ze.fourDigits,t);default:return He(new RegExp("^\\d{1,"+e+"}"),t)}}function wa(e,t){switch(e){case 1:return He(Ze.singleDigitSigned,t);case 2:return He(Ze.twoDigitsSigned,t);case 3:return He(Ze.threeDigitsSigned,t);case 4:return He(Ze.fourDigitsSigned,t);default:return He(new RegExp("^-?\\d{1,"+e+"}"),t)}}function wl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function tp(e,t){var n=t>0,a=n?t:1-t,r;if(a<=50)r=e||100;else{var o=a+50,i=Math.floor(o/100)*100,l=e>=o%100;r=e+i-(l?100:0)}return n?r:1-r}function np(e){return e%400===0||e%4===0&&e%100!==0}var Vv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",130),ne(ae(a),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){var l=function(s){return{year:s,isTwoDigitYear:o==="yy"}};switch(o){case"y":return Je(Xe(4,r),l);case"yo":return Je(i.ordinalNumber(r,{unit:"year"}),l);default:return Je(Xe(o.length,r),l)}}},{key:"validate",value:function(r,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(r,o,i){var l=r.getUTCFullYear();if(i.isTwoDigitYear){var u=tp(i.year,l);return r.setUTCFullYear(u,0,1),r.setUTCHours(0,0,0,0),r}var s=!("era"in o)||o.era===1?i.year:1-i.year;return r.setUTCFullYear(s,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le),Uv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",130),ne(ae(a),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){var l=function(s){return{year:s,isTwoDigitYear:o==="YY"}};switch(o){case"Y":return Je(Xe(4,r),l);case"Yo":return Je(i.ordinalNumber(r,{unit:"year"}),l);default:return Je(Xe(o.length,r),l)}}},{key:"validate",value:function(r,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(r,o,i,l){var u=Rb(r,l);if(i.isTwoDigitYear){var s=tp(i.year,u);return r.setUTCFullYear(s,0,l.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Zi(r,l)}var f=!("era"in o)||o.era===1?i.year:1-i.year;return r.setUTCFullYear(f,0,l.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Zi(r,l)}}]),n}(Le),Wv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",130),ne(ae(a),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o){return wa(o==="R"?4:o.length,r)}},{key:"set",value:function(r,o,i){var l=new Date(0);return l.setUTCFullYear(i,0,4),l.setUTCHours(0,0,0,0),Wf(l)}}]),n}(Le),Gv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",130),ne(ae(a),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o){return wa(o==="u"?4:o.length,r)}},{key:"set",value:function(r,o,i){return r.setUTCFullYear(i,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le),Hv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",120),ne(ae(a),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"Q":case"QQ":return Xe(o.length,r);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"})||i.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(r,{width:"wide",context:"formatting"})||i.quarter(r,{width:"abbreviated",context:"formatting"})||i.quarter(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=1&&o<=4}},{key:"set",value:function(r,o,i){return r.setUTCMonth((i-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le),Yv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",120),ne(ae(a),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"q":case"qq":return Xe(o.length,r);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"})||i.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(r,{width:"wide",context:"standalone"})||i.quarter(r,{width:"abbreviated",context:"standalone"})||i.quarter(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=1&&o<=4}},{key:"set",value:function(r,o,i){return r.setUTCMonth((i-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le),Kv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ne(ae(a),"priority",110),a}return Re(n,[{key:"parse",value:function(r,o,i){var l=function(s){return s-1};switch(o){case"M":return Je(He(Ze.month,r),l);case"MM":return Je(Xe(2,r),l);case"Mo":return Je(i.ordinalNumber(r,{unit:"month"}),l);case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"})||i.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(r,{width:"wide",context:"formatting"})||i.month(r,{width:"abbreviated",context:"formatting"})||i.month(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,i){return r.setUTCMonth(i,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le),Qv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",110),ne(ae(a),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){var l=function(s){return s-1};switch(o){case"L":return Je(He(Ze.month,r),l);case"LL":return Je(Xe(2,r),l);case"Lo":return Je(i.ordinalNumber(r,{unit:"month"}),l);case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"})||i.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(r,{width:"wide",context:"standalone"})||i.month(r,{width:"abbreviated",context:"standalone"})||i.month(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,i){return r.setUTCMonth(i,1),r.setUTCHours(0,0,0,0),r}}]),n}(Le);function Xv(e,t,n){Se(2,arguments);var a=De(e),r=pt(t),o=Eb(a,n)-r;return a.setUTCDate(a.getUTCDate()-o*7),a}var Zv=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",100),ne(ae(a),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"w":return He(Ze.week,r);case"wo":return i.ordinalNumber(r,{unit:"week"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=53}},{key:"set",value:function(r,o,i,l){return Zi(Xv(r,i,l),l)}}]),n}(Le);function Jv(e,t){Se(2,arguments);var n=De(e),a=pt(t),r=Mb(n)-a;return n.setUTCDate(n.getUTCDate()-r*7),n}var ey=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",100),ne(ae(a),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"I":return He(Ze.week,r);case"Io":return i.ordinalNumber(r,{unit:"week"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=53}},{key:"set",value:function(r,o,i){return Wf(Jv(r,i))}}]),n}(Le),ty=[31,28,31,30,31,30,31,31,30,31,30,31],ny=[31,29,31,30,31,30,31,31,30,31,30,31],ry=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",90),ne(ae(a),"subPriority",1),ne(ae(a),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"d":return He(Ze.date,r);case"do":return i.ordinalNumber(r,{unit:"date"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){var i=r.getUTCFullYear(),l=np(i),u=r.getUTCMonth();return l?o>=1&&o<=ny[u]:o>=1&&o<=ty[u]}},{key:"set",value:function(r,o,i){return r.setUTCDate(i),r.setUTCHours(0,0,0,0),r}}]),n}(Le),ay=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",90),ne(ae(a),"subpriority",1),ne(ae(a),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"D":case"DD":return He(Ze.dayOfYear,r);case"Do":return i.ordinalNumber(r,{unit:"date"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){var i=r.getUTCFullYear(),l=np(i);return l?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,i){return r.setUTCMonth(0,i),r.setUTCHours(0,0,0,0),r}}]),n}(Le);function Dl(e,t,n){var a,r,o,i,l,u,s,f;Se(2,arguments);var c=Gf(),d=pt((a=(r=(o=(i=n?.weekStartsOn)!==null&&i!==void 0?i:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&o!==void 0?o:c.weekStartsOn)!==null&&r!==void 0?r:(s=c.locale)===null||s===void 0||(f=s.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&a!==void 0?a:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=De(e),y=pt(t),g=v.getUTCDay(),C=y%7,h=(C+7)%7,p=(h<d?7:0)+y-g;return v.setUTCDate(v.getUTCDate()+p),v}var oy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",90),ne(ae(a),"incompatibleTokens",["D","i","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(r,{width:"wide",context:"formatting"})||i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,i,l){return r=Dl(r,i,l),r.setUTCHours(0,0,0,0),r}}]),n}(Le),iy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",90),ne(ae(a),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i,l){var u=function(f){var c=Math.floor((f-1)/7)*7;return(f+l.weekStartsOn+6)%7+c};switch(o){case"e":case"ee":return Je(Xe(o.length,r),u);case"eo":return Je(i.ordinalNumber(r,{unit:"day"}),u);case"eee":return i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(r,{width:"wide",context:"formatting"})||i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,i,l){return r=Dl(r,i,l),r.setUTCHours(0,0,0,0),r}}]),n}(Le),ly=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",90),ne(ae(a),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i,l){var u=function(f){var c=Math.floor((f-1)/7)*7;return(f+l.weekStartsOn+6)%7+c};switch(o){case"c":case"cc":return Je(Xe(o.length,r),u);case"co":return Je(i.ordinalNumber(r,{unit:"day"}),u);case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"})||i.day(r,{width:"short",context:"standalone"})||i.day(r,{width:"narrow",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"})||i.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(r,{width:"wide",context:"standalone"})||i.day(r,{width:"abbreviated",context:"standalone"})||i.day(r,{width:"short",context:"standalone"})||i.day(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,i,l){return r=Dl(r,i,l),r.setUTCHours(0,0,0,0),r}}]),n}(Le);function sy(e,t){Se(2,arguments);var n=pt(t);n%7===0&&(n=n-7);var a=1,r=De(e),o=r.getUTCDay(),i=n%7,l=(i+7)%7,u=(l<a?7:0)+n-o;return r.setUTCDate(r.getUTCDate()+u),r}var uy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",90),ne(ae(a),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){var l=function(s){return s===0?7:s};switch(o){case"i":case"ii":return Xe(o.length,r);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return Je(i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"}),l);case"iiiii":return Je(i.day(r,{width:"narrow",context:"formatting"}),l);case"iiiiii":return Je(i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"}),l);case"iiii":default:return Je(i.day(r,{width:"wide",context:"formatting"})||i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"}),l)}}},{key:"validate",value:function(r,o){return o>=1&&o<=7}},{key:"set",value:function(r,o,i){return r=sy(r,i),r.setUTCHours(0,0,0,0),r}}]),n}(Le),cy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",80),ne(ae(a),"incompatibleTokens",["b","B","H","k","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"a":case"aa":case"aaa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(r,{width:"wide",context:"formatting"})||i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,i){return r.setUTCHours(wl(i),0,0,0),r}}]),n}(Le),dy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",80),ne(ae(a),"incompatibleTokens",["a","B","H","k","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"b":case"bb":case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(r,{width:"wide",context:"formatting"})||i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,i){return r.setUTCHours(wl(i),0,0,0),r}}]),n}(Le),fy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",80),ne(ae(a),"incompatibleTokens",["a","b","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(r,{width:"wide",context:"formatting"})||i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,i){return r.setUTCHours(wl(i),0,0,0),r}}]),n}(Le),py=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",70),ne(ae(a),"incompatibleTokens",["H","K","k","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"h":return He(Ze.hour12h,r);case"ho":return i.ordinalNumber(r,{unit:"hour"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=12}},{key:"set",value:function(r,o,i){var l=r.getUTCHours()>=12;return l&&i<12?r.setUTCHours(i+12,0,0,0):!l&&i===12?r.setUTCHours(0,0,0,0):r.setUTCHours(i,0,0,0),r}}]),n}(Le),my=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",70),ne(ae(a),"incompatibleTokens",["a","b","h","K","k","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"H":return He(Ze.hour23h,r);case"Ho":return i.ordinalNumber(r,{unit:"hour"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=23}},{key:"set",value:function(r,o,i){return r.setUTCHours(i,0,0,0),r}}]),n}(Le),hy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",70),ne(ae(a),"incompatibleTokens",["h","H","k","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"K":return He(Ze.hour11h,r);case"Ko":return i.ordinalNumber(r,{unit:"hour"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,i){var l=r.getUTCHours()>=12;return l&&i<12?r.setUTCHours(i+12,0,0,0):r.setUTCHours(i,0,0,0),r}}]),n}(Le),gy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",70),ne(ae(a),"incompatibleTokens",["a","b","h","H","K","t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"k":return He(Ze.hour24h,r);case"ko":return i.ordinalNumber(r,{unit:"hour"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=24}},{key:"set",value:function(r,o,i){var l=i<=24?i%24:i;return r.setUTCHours(l,0,0,0),r}}]),n}(Le),by=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",60),ne(ae(a),"incompatibleTokens",["t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"m":return He(Ze.minute,r);case"mo":return i.ordinalNumber(r,{unit:"minute"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=59}},{key:"set",value:function(r,o,i){return r.setUTCMinutes(i,0,0),r}}]),n}(Le),vy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",50),ne(ae(a),"incompatibleTokens",["t","T"]),a}return Re(n,[{key:"parse",value:function(r,o,i){switch(o){case"s":return He(Ze.second,r);case"so":return i.ordinalNumber(r,{unit:"second"});default:return Xe(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=59}},{key:"set",value:function(r,o,i){return r.setUTCSeconds(i,0),r}}]),n}(Le),yy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",30),ne(ae(a),"incompatibleTokens",["t","T"]),a}return Re(n,[{key:"parse",value:function(r,o){var i=function(u){return Math.floor(u*Math.pow(10,-o.length+3))};return Je(Xe(o.length,r),i)}},{key:"set",value:function(r,o,i){return r.setUTCMilliseconds(i),r}}]),n}(Le),Cy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",10),ne(ae(a),"incompatibleTokens",["t","T","x"]),a}return Re(n,[{key:"parse",value:function(r,o){switch(o){case"X":return Mt(Et.basicOptionalMinutes,r);case"XX":return Mt(Et.basic,r);case"XXXX":return Mt(Et.basicOptionalSeconds,r);case"XXXXX":return Mt(Et.extendedOptionalSeconds,r);case"XXX":default:return Mt(Et.extended,r)}}},{key:"set",value:function(r,o,i){return o.timestampIsSet?r:new Date(r.getTime()-i)}}]),n}(Le),xy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",10),ne(ae(a),"incompatibleTokens",["t","T","X"]),a}return Re(n,[{key:"parse",value:function(r,o){switch(o){case"x":return Mt(Et.basicOptionalMinutes,r);case"xx":return Mt(Et.basic,r);case"xxxx":return Mt(Et.basicOptionalSeconds,r);case"xxxxx":return Mt(Et.extendedOptionalSeconds,r);case"xxx":default:return Mt(Et.extended,r)}}},{key:"set",value:function(r,o,i){return o.timestampIsSet?r:new Date(r.getTime()-i)}}]),n}(Le),wy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",40),ne(ae(a),"incompatibleTokens","*"),a}return Re(n,[{key:"parse",value:function(r){return ep(r)}},{key:"set",value:function(r,o,i){return[new Date(i*1e3),{timestampIsSet:!0}]}}]),n}(Le),Dy=function(e){Oe(n,e);var t=_e(n);function n(){var a;Ee(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=t.call.apply(t,[this].concat(o)),ne(ae(a),"priority",20),ne(ae(a),"incompatibleTokens","*"),a}return Re(n,[{key:"parse",value:function(r){return ep(r)}},{key:"set",value:function(r,o,i){return[new Date(i),{timestampIsSet:!0}]}}]),n}(Le),Py={G:new zv,y:new Vv,Y:new Uv,R:new Wv,u:new Gv,Q:new Hv,q:new Yv,M:new Kv,L:new Qv,w:new Zv,I:new ey,d:new ry,D:new ay,E:new oy,e:new iy,c:new ly,i:new uy,a:new cy,b:new dy,B:new fy,h:new py,H:new my,K:new hy,k:new gy,m:new by,s:new vy,S:new yy,X:new Cy,x:new xy,t:new wy,T:new Dy},Ty=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sy=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ky=/^'([^]*?)'?$/,Ry=/''/g,Ey=/\S/,My=/[a-zA-Z]/;function Oy(e,t,n,a){var r,o,i,l,u,s,f,c,d,v,y,g,C,h,p,m,b,k;Se(3,arguments);var x=String(e),w=String(t),P=Gf(),S=(r=(o=a?.locale)!==null&&o!==void 0?o:P.locale)!==null&&r!==void 0?r:xl;if(!S.match)throw new RangeError("locale must contain match property");var R=pt((i=(l=(u=(s=a?.firstWeekContainsDate)!==null&&s!==void 0?s:a==null||(f=a.locale)===null||f===void 0||(c=f.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&u!==void 0?u:P.firstWeekContainsDate)!==null&&l!==void 0?l:(d=P.locale)===null||d===void 0||(v=d.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(R>=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var E=pt((y=(g=(C=(h=a?.weekStartsOn)!==null&&h!==void 0?h:a==null||(p=a.locale)===null||p===void 0||(m=p.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&C!==void 0?C:P.weekStartsOn)!==null&&g!==void 0?g:(b=P.locale)===null||b===void 0||(k=b.options)===null||k===void 0?void 0:k.weekStartsOn)!==null&&y!==void 0?y:0);if(!(E>=0&&E<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(w==="")return x===""?De(n):new Date(NaN);var _={firstWeekContainsDate:R,weekStartsOn:E,locale:S},M=[new qv],A=w.match(Sy).map(function(V){var G=V[0];if(G in Us){var J=Us[G];return J(V,S.formatLong)}return V}).join("").match(Ty),B=[],q=Zs(A),W;try{var z=function(){var G=W.value;!(a!=null&&a.useAdditionalWeekYearTokens)&&Ob(G)&&Ws(G,w,e),!(a!=null&&a.useAdditionalDayOfYearTokens)&&_b(G)&&Ws(G,w,e);var J=G[0],fe=Py[J];if(fe){var Q=fe.incompatibleTokens;if(Array.isArray(Q)){var Z=B.find(function(Ce){return Q.includes(Ce.token)||Ce.token===J});if(Z)throw new RangeError("The format string mustn't contain `".concat(Z.fullToken,"` and `").concat(G,"` at the same time"))}else if(fe.incompatibleTokens==="*"&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(G,"` and any other token at the same time"));B.push({token:J,fullToken:G});var ge=fe.run(x,G,S.match,_);if(!ge)return{v:new Date(NaN)};M.push(ge.setter),x=ge.rest}else{if(J.match(My))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");if(G==="''"?G="'":J==="'"&&(G=_y(G)),x.indexOf(G)===0)x=x.slice(G.length);else return{v:new Date(NaN)}}};for(q.s();!(W=q.n()).done;){var Y=z();if(Og(Y)==="object")return Y.v}}catch(V){q.e(V)}finally{q.f()}if(x.length>0&&Ey.test(x))return new Date(NaN);var H=M.map(function(V){return V.priority}).sort(function(V,G){return G-V}).filter(function(V,G,J){return J.indexOf(V)===G}).map(function(V){return M.filter(function(G){return G.priority===V}).sort(function(G,J){return J.subPriority-G.subPriority})}).map(function(V){return V[0]}),T=De(n);if(isNaN(T.getTime()))return new Date(NaN);var N=Ib(T,Qi(T)),$={},j=Zs(H),I;try{for(j.s();!(I=j.n()).done;){var L=I.value;if(!L.validate(N,_))return new Date(NaN);var F=L.set(N,$,_);Array.isArray(F)?(N=F[0],_v($,F[1])):N=F}}catch(V){j.e(V)}finally{j.f()}return N}function _y(e){return e.match(ky)[1].replace(Ry,"'")}function Js(e){Se(1,arguments);var t=De(e);return t.setMinutes(0,0,0),t}function Iy(e,t){Se(2,arguments);var n=Js(e),a=Js(t);return n.getTime()===a.getTime()}function Ay(e,t){Se(2,arguments);var n=De(e),a=De(t);return n.getFullYear()===a.getFullYear()}function jy(e,t){Se(2,arguments);var n=De(e),a=pt(t);return n.setDate(a),n}function Ly(e,t){Se(2,arguments);var n=De(e),a=pt(t);return n.setHours(a),n}function By(e,t){Se(2,arguments);var n=De(e),a=pt(t);return n.setMinutes(a),n}function Ny(e,t){Se(2,arguments);var n=De(e),a=pt(t);return n.setSeconds(a),n}function rp({children:e=null,...t}){const{t:n}=ut(),{api:a}=ft(),{blocklet:r}=dn(),o=r?.settings?.autoCheckUpdate,i=async s=>{await a.updateAutoCheckUpdate({input:{did:r.meta.did,autoCheckUpdate:s}})},l=async()=>{try{const s=!o?.enabled;await i({enabled:s}),je.success(n(s?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(s){je.error(s.message)}},u=!!o?.enabled;return D.jsxs(le,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e,D.jsx(_t,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:D.jsx("div",{children:D.jsx(Pb,{checked:u,onChange:l,name:"enableWelcomePage",style:{...t.style,zoom:.8}})})})]})}rp.propTypes={children:K.any};var bo={},vo={exports:{}},eu;function Ge(){return eu||(eu=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var o in r)({}).hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(vo)),vo.exports}var zn={},yo={},Co={},xo={},tu;function Fy(){return tu||(tu=1,function(e){var t=re();Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(Ge()),a=t(If()),r=t(Pe()),o=t(ze()),i=sn();function l(s){var f=(0,i.useTheme)();return r.default.createElement("div",{ref:s.forwardedRef,style:{display:"table",width:"100%",height:"100%",backgroundColor:f.palette.background.paper,opacity:.7}},r.default.createElement("div",{style:{display:"table-cell",width:"100%",height:"100%",verticalAlign:"middle",textAlign:"center"}},r.default.createElement(a.default,null)))}l.propTypes={theme:o.default.any};var u=r.default.forwardRef(function(f,c){return r.default.createElement(l,(0,n.default)({},f,{forwardedRef:c}))});e.default=u}(xo)),xo}var wo={},Do={},wt={},Po={exports:{}},To={exports:{}},So={exports:{}},nu;function $y(){return nu||(nu=1,function(e){var t=Kt().default;function n(a,r){if(t(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var i=o.call(a,r||"default");if(t(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(a)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(So)),So.exports}var ru;function ap(){return ru||(ru=1,function(e){var t=Kt().default,n=$y();function a(r){var o=n(r,"string");return t(o)=="symbol"?o:o+""}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports}(To)),To.exports}var au;function nt(){return au||(au=1,function(e){var t=ap();function n(a,r,o){return(r=t(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,a}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Po)),Po.exports}const qy={},ou=e=>{let t;const n=new Set,a=(f,c)=>{const d=typeof f=="function"?f(t):f;if(!Object.is(d,t)){const v=t;t=c??(typeof d!="object"||d===null)?d:Object.assign({},t,d),n.forEach(y=>y(t,v))}},r=()=>t,u={setState:a,getState:r,getInitialState:()=>s,subscribe:f=>(n.add(f),()=>n.delete(f)),destroy:()=>{(qy?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(a,r,u);return u},op=e=>e?ou(e):ou,{useDebugValue:zy}=Me,{useSyncExternalStoreWithSelector:Vy}=zf,Uy=e=>e;function ip(e,t=Uy,n){const a=Vy(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return zy(a),a}const iu=e=>{const t=typeof e=="function"?op(e):e,n=(a,r)=>ip(t,a,r);return Object.assign(n,t),n},lp=e=>e?iu(e):iu;var Wy=e=>lp(e);const Gy=Object.freeze(Object.defineProperty({__proto__:null,create:lp,createStore:op,default:Wy,useStore:ip},Symbol.toStringTag,{value:"Module"})),Hy=ln(Gy),{useDebugValue:Yy}=Me,{useSyncExternalStoreWithSelector:Ky}=zf,Qy=e=>e;function Xy(e,t=Qy,n){const a=Ky(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return Yy(a),a}const{createElement:Zy,createContext:Jy,useContext:lu,useMemo:eC,useRef:tC}=Me;function nC(){const e=Jy(void 0);return{Provider:({createStore:r,children:o})=>{const i=tC();return i.current||(i.current=r()),Zy(e.Provider,{value:i.current},o)},useStore:(r,o)=>{const i=lu(e);if(!i)throw new Error("Seems like you have not used zustand provider as an ancestor.");return Xy(i,r,o)},useStoreApi:()=>{const r=lu(e);if(!r)throw new Error("Seems like you have not used zustand provider as an ancestor.");return eC(()=>({...r}),[r])}}}const rC=Object.freeze(Object.defineProperty({__proto__:null,default:nC},Symbol.toStringTag,{value:"Module"})),aC=ln(rC);var Ur={exports:{}},ha={exports:{}},oC=ha.exports,su;function iC(){return su||(su=1,function(e,t){(function(n,a){e.exports=a()})(oC,function(){var n=typeof Promise=="function",a=function(w){if(typeof globalThis=="object")return globalThis;Object.defineProperty(w,"typeDetectGlobalObject",{get:function(){return this},configurable:!0});var P=typeDetectGlobalObject;return delete w.typeDetectGlobalObject,P}(Object.prototype),r=typeof Symbol<"u",o=typeof Map<"u",i=typeof Set<"u",l=typeof WeakMap<"u",u=typeof WeakSet<"u",s=typeof DataView<"u",f=r&&typeof Symbol.iterator<"u",c=r&&typeof Symbol.toStringTag<"u",d=i&&typeof Set.prototype.entries=="function",v=o&&typeof Map.prototype.entries=="function",y=d&&Object.getPrototypeOf(new Set().entries()),g=v&&Object.getPrototypeOf(new Map().entries()),C=f&&typeof Array.prototype[Symbol.iterator]=="function",h=C&&Object.getPrototypeOf([][Symbol.iterator]()),p=f&&typeof String.prototype[Symbol.iterator]=="function",m=p&&Object.getPrototypeOf(""[Symbol.iterator]()),b=8,k=-1;function x(w){var P=typeof w;if(P!=="object")return P;if(w===null)return"null";if(w===a)return"global";if(Array.isArray(w)&&(c===!1||!(Symbol.toStringTag in w)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&w===window.location)return"Location";if(typeof window.document=="object"&&w===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&w===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&w===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&w instanceof window.HTMLElement){if(w.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(w.tagName==="TD")return"HTMLTableDataCellElement";if(w.tagName==="TH")return"HTMLTableHeaderCellElement"}}var S=c&&w[Symbol.toStringTag];if(typeof S=="string")return S;var R=Object.getPrototypeOf(w);return R===RegExp.prototype?"RegExp":R===Date.prototype?"Date":n&&R===Promise.prototype?"Promise":i&&R===Set.prototype?"Set":o&&R===Map.prototype?"Map":u&&R===WeakSet.prototype?"WeakSet":l&&R===WeakMap.prototype?"WeakMap":s&&R===DataView.prototype?"DataView":o&&R===g?"Map Iterator":i&&R===y?"Set Iterator":C&&R===h?"Array Iterator":p&&R===m?"String Iterator":R===null?"Object":Object.prototype.toString.call(w).slice(b,k)}return x})}(ha)),ha.exports}var uu;function sp(){if(uu)return Ur.exports;uu=1;/*!
4
4
  * deep-eql
5
5
  * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
@@ -346,7 +346,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
346
346
  .ux-dialog_closeButton {
347
347
  margin: 0;
348
348
  }
349
- `,rM=O.lazy(()=>gb(()=>import("./index-BusluHY3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])).then(e=>({default:e.Uploader}))),aM="/blocklet/component/upload",yf=[".html",".htm",".tgz",".zip"],oM=Number(window.env?.MAX_UPLOAD_FILE_SIZE)||be.MAX_UPLOAD_FILE_SIZE,iM=oM*1024*1024;function Mh({did:e,prefix:t,headers:n=()=>({}),onUploaded:a=zs,open:r=!1,onClose:o=zs}){const{t:i,locale:l}=ut(),u=O.useRef(null),s=O.useCallback(f=>{const{status:c,data:d}=f;if(c===200){a(d);return}je.error(i("blocklet.component.addComponentTip.uploadFailed"))},[a,i]);return O.useEffect(()=>{r?u.current?.open():u.current?.close()},[r]),D.jsx(lM,{id:`component-uploader-${e}`,children:D.jsx(rM,{ref:u,locale:l,popup:!0,onUploadFinish:s,plugins:[],onClose:o,installerProps:{disabled:!0},apiPathProps:{uploader:yr(t,aM,e),disableMediaKitPrefix:!0,disableMediaKitStatus:!0},coreProps:{restrictions:{allowedFileTypes:yf,maxFileSize:iM,maxNumberOfFiles:1}},tusProps:{headers:n},dashboardProps:{note:i("blocklet.component.addComponentTip.allowedFileTypes",{types:yf.map(f=>f.replace(".","")).join(", ")})}})},`component-uploader-${e}`)}Mh.propTypes={did:K.string.isRequired,prefix:K.string.isRequired,open:K.bool,headers:K.func,onUploaded:K.func,onClose:K.func};const lM=oe(le)`
349
+ `,rM=O.lazy(()=>gb(()=>import("./index-BxU3q403.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])).then(e=>({default:e.Uploader}))),aM="/blocklet/component/upload",yf=[".html",".htm",".tgz",".zip"],oM=Number(window.env?.MAX_UPLOAD_FILE_SIZE)||be.MAX_UPLOAD_FILE_SIZE,iM=oM*1024*1024;function Mh({did:e,prefix:t,headers:n=()=>({}),onUploaded:a=zs,open:r=!1,onClose:o=zs}){const{t:i,locale:l}=ut(),u=O.useRef(null),s=O.useCallback(f=>{const{status:c,data:d}=f;if(c===200){a(d);return}je.error(i("blocklet.component.addComponentTip.uploadFailed"))},[a,i]);return O.useEffect(()=>{r?u.current?.open():u.current?.close()},[r]),D.jsx(lM,{id:`component-uploader-${e}`,children:D.jsx(rM,{ref:u,locale:l,popup:!0,onUploadFinish:s,plugins:[],onClose:o,installerProps:{disabled:!0},apiPathProps:{uploader:yr(t,aM,e),disableMediaKitPrefix:!0,disableMediaKitStatus:!0},coreProps:{restrictions:{allowedFileTypes:yf,maxFileSize:iM,maxNumberOfFiles:1}},tusProps:{headers:n},dashboardProps:{note:i("blocklet.component.addComponentTip.allowedFileTypes",{types:yf.map(f=>f.replace(".","")).join(", ")})}})},`component-uploader-${e}`)}Mh.propTypes={did:K.string.isRequired,prefix:K.string.isRequired,open:K.bool,headers:K.func,onUploaded:K.func,onClose:K.func};const lM=oe(le)`
350
350
  .uploader-wrapper {
351
351
  display: inline-flex;
352
352
  position: relative;