@abtnode/blocklet-services 1.16.29-beta-ec04c755 → 1.16.29-beta-2eaf40bc

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 (226) hide show
  1. package/api/index.js +6 -0
  2. package/api/libs/push-kit/index.js +1 -1
  3. package/api/routes/openapi.js +145 -0
  4. package/api/routes/opencomponent.js +141 -0
  5. package/api/routes/user.js +21 -21
  6. package/dist/assets/{Add-CbycMEbf.js → Add-C5zWPWbi.js} +1 -1
  7. package/dist/assets/{AddBox-DTM_80hR.js → AddBox-C4A7DDm4.js} +1 -1
  8. package/dist/assets/{Alert-YB1c66Kp.js → Alert-D91U5h--.js} +1 -1
  9. package/dist/assets/{ArrowDropDown-CyWdnmLZ.js → ArrowDropDown-Cq32DOpt.js} +1 -1
  10. package/dist/assets/{Avatar-D9rpNCqX.js → Avatar-XXXVLUFk.js} +1 -1
  11. package/dist/assets/{ButtonGroup-DGBxXxUQ.js → ButtonGroup-k3SZjeUa.js} +1 -1
  12. package/dist/assets/{CheckCircle-CRnx5xGs.js → CheckCircle-CbXxG2JL.js} +1 -1
  13. package/dist/assets/ChevronRight-BKcNccG9.js +1 -0
  14. package/dist/assets/{Close-Bn601fxJ.js → Close-CdBP5F4J.js} +1 -1
  15. package/dist/assets/{CloseOutlined-CptcS6gg.js → CloseOutlined-Crg0BDr4.js} +1 -1
  16. package/dist/assets/{Delete-Cx0Gf7gM.js → Delete-DlfFien6.js} +1 -1
  17. package/dist/assets/{DeleteOutline-BzwVBrxY.js → DeleteOutline-De4xAGvs.js} +1 -1
  18. package/dist/assets/{Done-B1UDtldR.js → Done-DO1tfb2_.js} +1 -1
  19. package/dist/assets/{Download-BwTZ49dl.js → Download-CVseEK0o.js} +1 -1
  20. package/dist/assets/{Edit-DYPDizZY.js → Edit-DOJCHJ5p.js} +1 -1
  21. package/dist/assets/{EditIcon-DrRjhUgU.js → EditIcon-Bg4AkV00.js} +1 -1
  22. package/dist/assets/{Error-BS_LdXbq.js → Error-CQmWghPs.js} +1 -1
  23. package/dist/assets/{ExpandMore-CKKkjQcY.js → ExpandMore-DD2GykPj.js} +1 -1
  24. package/dist/assets/{FilterList-MtVGweDW.js → FilterList-QafrkXbd.js} +1 -1
  25. package/dist/assets/{FormControl-D32uXM3n.js → FormControl-Kt4xANtI.js} +1 -1
  26. package/dist/assets/{FormControlLabel-e33RviPs.js → FormControlLabel-B6ISinfm.js} +1 -1
  27. package/dist/assets/{FormGroup-BLcBQcJn.js → FormGroup-BEMyIGSj.js} +1 -1
  28. package/dist/assets/{Google-Duvh4o_V.js → Google-DGP2JaKw.js} +3 -3
  29. package/dist/assets/{Hidden-BLWrU9rp.js → Hidden-kl5Tbw1B.js} +1 -1
  30. package/dist/assets/{InfoOutlined-gB9H6_Ii.js → InfoOutlined-BRuBRFbl.js} +1 -1
  31. package/dist/assets/{InputAdornment-BXT7PVpt.js → InputAdornment-C5IWgB4u.js} +1 -1
  32. package/dist/assets/{InputLabel-CWy9m12B.js → InputLabel-DbdmcDbJ.js} +1 -1
  33. package/dist/assets/{LastPage-CDtyKz24.js → LastPage-DXISIPs8.js} +1 -1
  34. package/dist/assets/{Launch-CzAofQSz.js → Launch-CDcio2Tm.js} +1 -1
  35. package/dist/assets/{LaunchOutlined-CeH0d6B4.js → LaunchOutlined-D8a8pCOt.js} +1 -1
  36. package/dist/assets/{Link-DD0QeQw6.js → Link-DFzOJFD-.js} +1 -1
  37. package/dist/assets/{ListItemText-BFKiv21F.js → ListItemText-Bnnk7Gbj.js} +1 -1
  38. package/dist/assets/{LoadingButton-Dz5AXKd9.js → LoadingButton-DGVicOWa.js} +1 -1
  39. package/dist/assets/{LockIcon-B487phFo.js → LockIcon-CTWJWfSc.js} +1 -1
  40. package/dist/assets/{Loop-BYS1LLqK.js → Loop-CbV2fFUd.js} +1 -1
  41. package/dist/assets/{MoreVert-CO-YEIdW.js → MoreVert-er-bltGF.js} +1 -1
  42. package/dist/assets/{OpenInNew-BhWlEURK.js → OpenInNew-Bu6iI6eA.js} +1 -1
  43. package/dist/assets/{Pagination-CydZ_ZS3.js → Pagination-Dz7kgZlB.js} +1 -1
  44. package/dist/assets/{PlayArrow-Cwl8HhMy.js → PlayArrow-2r36AAmk.js} +1 -1
  45. package/dist/assets/{QuestionMarkCircle-P8-fp7ZK.js → QuestionMarkCircle-CoIXItlb.js} +1 -1
  46. package/dist/assets/{RadioGroup-Betu38Nc.js → RadioGroup-C7j1KJ7y.js} +1 -1
  47. package/dist/assets/{Search-DJGc3pyw.js → Search-CMyGk9R2.js} +1 -1
  48. package/dist/assets/{Select-BtAvJtd9.js → Select-BeNQ99oP.js} +2 -2
  49. package/dist/assets/{ServerLogo-D8TxN4Jj.js → ServerLogo-D12k9g2u.js} +1 -1
  50. package/dist/assets/{Skeleton-DVKyXmm6.js → Skeleton-FXGSJdkA.js} +1 -1
  51. package/dist/assets/{Slider-BVffQOhx.js → Slider-GjDHfyBj.js} +1 -1
  52. package/dist/assets/{Stepper-BtyxP6gd.js → Stepper-BF6lz4ut.js} +1 -1
  53. package/dist/assets/{TextField-ZfIhKMlW.js → TextField-D3XEyFR4.js} +1 -1
  54. package/dist/assets/{Toolbar-_kp5UmF_.js → Toolbar-_9it32pJ.js} +1 -1
  55. package/dist/assets/{ViewList-CTVORyRy.js → ViewList-BhIE_M4V.js} +1 -1
  56. package/dist/assets/{access-control-D13qKQRZ.js → access-control-BWh_6uO-.js} +1 -1
  57. package/dist/assets/actions-DLO5dlyV.js +1 -0
  58. package/dist/assets/{add-component-core-BsClbBJx.js → add-component-core-C3OBXrft.js} +1 -1
  59. package/dist/assets/{add-resource-C27tcyN6.js → add-resource-DdlMvNYe.js} +1 -1
  60. package/dist/assets/{addon-BR28jmtN.js → addon-1j40gf6h.js} +1 -1
  61. package/dist/assets/{analytics-Bf2T1Aa5.js → analytics-DVd3xO2s.js} +8 -8
  62. package/dist/assets/api-C37A8mCN.js +1 -0
  63. package/dist/assets/ar-DAUz5_Ej.js +1 -0
  64. package/dist/assets/audit-logs-CJh_A9OZ.js +58 -0
  65. package/dist/assets/{button-D8ZxWj_Y.js → button-2f4tapJk.js} +1 -1
  66. package/dist/assets/{click-to-copy-BsmI9ksY.js → click-to-copy-CNizZfqS.js} +1 -1
  67. package/dist/assets/{complete-0EoJlSKH.js → complete-CTg4NtH_.js} +2 -2
  68. package/dist/assets/{component-BeTHUdSb.js → component-DyLPRRkR.js} +4 -1
  69. package/dist/assets/{config-Bc22LHzP.js → config-BBl1Og8k.js} +2 -2
  70. package/dist/assets/{config-BjGpyxSf.js → config-Cl9yfIWh.js} +1 -1
  71. package/dist/assets/{config-navigation-CiFM3Pkt.js → config-navigation-RZ9QpkFv.js} +2 -2
  72. package/dist/assets/{config-space-u4RHkocA.js → config-space-DTE8U19b.js} +1 -1
  73. package/dist/assets/{confirm-DZzubb9G.js → confirm-CD6_CMUq.js} +1 -1
  74. package/dist/assets/{connect-B84lJikd.js → connect-B-qpRVvn.js} +1 -1
  75. package/dist/assets/{connect-Bs0eOgUl.js → connect-DDELE721.js} +1 -1
  76. package/dist/assets/{connect-to-Dg702AqR.js → connect-to-DMAPIkc9.js} +1 -1
  77. package/dist/assets/{content-layout-jcciEmtz.js → content-layout-CK5XQfmW.js} +1 -1
  78. package/dist/assets/{dashboard-D5zK6xk2.js → dashboard-BOQEjKT8.js} +3 -3
  79. package/dist/assets/de-JXmbvsP-.js +1 -0
  80. package/dist/assets/{did-address-eujShTX2.js → did-address-GzRMEyk7.js} +1 -1
  81. package/dist/assets/domain-C3D9kcXD.js +9 -0
  82. package/dist/assets/domain-list-BRcBrFVB.js +15 -0
  83. package/dist/assets/es-D_uIRKnu.js +1 -0
  84. package/dist/assets/{exchange-passport-B9EVUjA6.js → exchange-passport-B9ZrHETZ.js} +1 -1
  85. package/dist/assets/{fallback-C_4si_rV.js → fallback-rg9fefdL.js} +1 -1
  86. package/dist/assets/{format-error-CjSMm5Vi.js → format-error-B3RYdl6q.js} +1 -1
  87. package/dist/assets/fr-BocLckhV.js +1 -0
  88. package/dist/assets/{fuel-C4na8ybQ.js → fuel-BDMvUxVC.js} +1 -1
  89. package/dist/assets/{fullpage-Dw1AcFTi.js → fullpage-DFMbQYE_.js} +1 -1
  90. package/dist/assets/hi-Bn38t0nX.js +1 -0
  91. package/dist/assets/home-YZ2dUhxo.js +1 -0
  92. package/dist/assets/id-DuC9mOr4.js +1 -0
  93. package/dist/assets/iframe-s25HWReH.js +1 -0
  94. package/dist/assets/{index-CS3NeNhP.js → index-5qacoeSv.js} +1 -1
  95. package/dist/assets/{index-T01X8GVg.js → index-BCpZXkUS.js} +1 -1
  96. package/dist/assets/index-BEbMx7tF.js +54 -0
  97. package/dist/assets/{index-QkFfPTY0.js → index-BPSr4f2j.js} +1 -1
  98. package/dist/assets/{index-DlS6Nfdi.js → index-BU9mgEVG.js} +1 -1
  99. package/dist/assets/index-BfhVorqV.js +1290 -0
  100. package/dist/assets/{index-DssKTsr4.js → index-Bva9FLKW.js} +1 -1
  101. package/dist/assets/{index-MrjkTnwO.js → index-CGXAjTXD.js} +5 -5
  102. package/dist/assets/index-CHJwugzh.js +268 -0
  103. package/dist/assets/{index-CKSMFqMY.js → index-CHbscbku.js} +1 -1
  104. package/dist/assets/{index-BdOmFQx3.js → index-CcddEj1V.js} +1 -1
  105. package/dist/assets/index-Ce3CP3Jp.js +721 -0
  106. package/dist/assets/{index-D3_-uxGg.js → index-CscyFLCJ.js} +1 -1
  107. package/dist/assets/{index-DcyNKKFa.js → index-CvOK9BmX.js} +1 -1
  108. package/dist/assets/{index-CsJ48DX9.js → index-Cx1j9azw.js} +1 -1
  109. package/dist/assets/{index-BOAwzMIx.js → index-D12KUiCG.js} +1 -1
  110. package/dist/assets/{index-I0PotiiS.js → index-DJLK29SJ.js} +1 -1
  111. package/dist/assets/{index-bXSSsGyP.js → index-DMq0_62n.js} +7 -7
  112. package/dist/assets/{index-B3fl5ZNI.js → index-DOU4d3bN.js} +23 -23
  113. package/dist/assets/{index-BCA-5NcY.js → index-DU7-35nh.js} +1 -1
  114. package/dist/assets/{index-B3IAFR-c.js → index-Db5U7Aba.js} +1 -1
  115. package/dist/assets/{index-XerBd5gM.js → index-Dcp0-2H6.js} +1 -1
  116. package/dist/assets/{index-CoTilh_C.js → index-Dn7MhkOZ.js} +2 -2
  117. package/dist/assets/{index-BmM6WRMt.js → index-UmXxvIz7.js} +1 -1
  118. package/dist/assets/{index-DOYpYIlu.js → index-VRudjsk_.js} +12 -12
  119. package/dist/assets/{index-CpmTHBat.js → index-WDF_phnR.js} +1 -1
  120. package/dist/assets/{index-CCfWoc62.js → index-Xh4BYwzS.js} +1 -1
  121. package/dist/assets/{index-_rl2L_ks.js → index-_y2ZXCMC.js} +1 -1
  122. package/dist/assets/{index-WNkObbJS.js → index-nyOsFIwy.js} +1 -1
  123. package/dist/assets/{index-D5HpWHRb.js → index-u_IDQFrq.js} +1 -1
  124. package/dist/assets/{index.es-CSkvA6BL.js → index.es-BySfVRax.js} +1 -1
  125. package/dist/assets/{index.esm-B1JHctvs.js → index.esm-Cpbu1bqz.js} +1 -1
  126. package/dist/assets/{invitation-BQDJkTqd.js → invitation-ZiYOpo0m.js} +1 -1
  127. package/dist/assets/{invite-B09RGp8m.js → invite-CP_9mlTp.js} +1 -1
  128. package/dist/assets/{issue-passport-B_jBeR91.js → issue-passport-OdsEQRgF.js} +1 -1
  129. package/dist/assets/item-B9vXmxNy.js +1 -0
  130. package/dist/assets/ja-B2J7-ZGM.js +1 -0
  131. package/dist/assets/{jss-plugin-props-sort.esm-CPTwTzr4.js → jss-plugin-props-sort.esm-InWevx1Y.js} +1 -1
  132. package/dist/assets/ko-TAMb2jXz.js +1 -0
  133. package/dist/assets/{launch-result-message-DwBMK891.js → launch-result-message-Z1C1sG3K.js} +1 -1
  134. package/dist/assets/{layout-CvQrD_gZ.js → layout-BJYUy5aS.js} +1 -1
  135. package/dist/assets/{list-header-ZAiNp7fJ.js → list-header-7mHFR-6j.js} +1 -1
  136. package/dist/assets/localization-DH4Rcoxd.js +1 -0
  137. package/dist/assets/{log-C6ON7x0p.js → log-D0ihnCPe.js} +1 -1
  138. package/dist/assets/{login-wWHcg30F.js → login-BJ99c8Da.js} +1 -1
  139. package/dist/assets/{login-oauth-callback-CQ285Vg9.js → login-oauth-callback-DXPZbXE8.js} +1 -1
  140. package/dist/assets/logo-uploader-Cb8u4LYv.js +122 -0
  141. package/dist/assets/{lost-passport-CexiR3Fy.js → lost-passport-PezCqF0f.js} +3 -3
  142. package/dist/assets/{lottie-FwjuTraW.js → lottie-BCG4dny2.js} +1 -1
  143. package/dist/assets/notifications-CKxrvr1-.js +62 -0
  144. package/dist/assets/{open-window-hBWl30km.js → open-window-CuGAzF2Z.js} +1 -1
  145. package/dist/assets/overview-BSBWgzbj.js +12 -0
  146. package/dist/assets/{page-header-CiI4ihlj.js → page-header-C5ecJ6Qd.js} +1 -1
  147. package/dist/assets/{permission-DPWxsEsJ.js → permission-BEPRmEw3.js} +1 -1
  148. package/dist/assets/preferences-knw56gSD.js +1 -0
  149. package/dist/assets/pt-DAmg1w9n.js +1 -0
  150. package/dist/assets/publish-resource-D_KlfXTF.js +1 -0
  151. package/dist/assets/{react-CPynQ78n.js → react-Di5TTO9l.js} +3 -3
  152. package/dist/assets/{redux-Dzi5_x1P.js → redux-tOVF_oDT.js} +1 -1
  153. package/dist/assets/resource-dialog-5vdlaAuh.js +57 -0
  154. package/dist/assets/ru-BqJl8PYs.js +1 -0
  155. package/dist/assets/{selector-f-DWZqru.js → selector-CNsCKDRb.js} +1 -1
  156. package/dist/assets/session-Cf-ZqG4P.js +1 -0
  157. package/dist/assets/setup-CbG6rF4U.js +14 -0
  158. package/dist/assets/{shorten-label-BlEZNxcS.js → shorten-label-CunJMulX.js} +1 -1
  159. package/dist/assets/{slicedToArray-Bu31_H15.js → slicedToArray-C9-uQLEN.js} +1 -1
  160. package/dist/assets/{spaces-5xok4VJR.js → spaces-Dm4toCmL.js} +1 -1
  161. package/dist/assets/{start-B0Kjrb_2.js → start-CrrzSOx-.js} +1 -1
  162. package/dist/assets/{step-actions-hcblvpy4.js → step-actions-BkxasUm3.js} +1 -1
  163. package/dist/assets/{studio-DZY4RG0a.js → studio-Cz2NXhoj.js} +1 -1
  164. package/dist/assets/{switch-control-CQFuZj13.js → switch-control-BOre_YDJ.js} +1 -1
  165. package/dist/assets/th-CGcwcZWK.js +1 -0
  166. package/dist/assets/{toUpper-1-4t-eKJ.js → toUpper-6wIhNvu3.js} +1 -1
  167. package/dist/assets/{transfer-CMipwPHo.js → transfer-DQPf7r9j.js} +1 -1
  168. package/dist/assets/{uniqBy-BUeS57o_.js → uniqBy-C3O4Rmks.js} +1 -1
  169. package/dist/assets/{unsubscribe-DPIZA8eJ.js → unsubscribe-DhdgpWxi.js} +1 -1
  170. package/dist/assets/{url-join-CumQIGHb.js → url-join-DH_b1eAH.js} +1 -1
  171. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-BlvTBdcE.js → use-blocklet-info-for-connect-did-spaces-gtr1x-_o.js} +1 -1
  172. package/dist/assets/{use-mobile-VmAoH7cf.js → use-mobile-CnnusHmf.js} +1 -1
  173. package/dist/assets/{useAsync-CHwNvR5w.js → useAsync-6Zzjy7PW.js} +1 -1
  174. package/dist/assets/{useFormControl-CKIqQYYi.js → useFormControl-DUzGwbSY.js} +1 -1
  175. package/dist/assets/{useLocalStorage-BwTfVICM.js → useLocalStorage-B-I-NsSz.js} +1 -1
  176. package/dist/assets/{useSetState-C2Fy5a5C.js → useSetState-Be-I2Gl-.js} +1 -1
  177. package/dist/assets/{useSlot-qUg8hMqb.js → useSlot-LBVvloQJ.js} +1 -1
  178. package/dist/assets/user-center-BXOQaeTd.js +1 -0
  179. package/dist/assets/{user-sessions-CF43osXe.js → user-sessions-CdgU8G0J.js} +1 -1
  180. package/dist/assets/{util-BgtPa_LA.js → util-CoWq6oMk.js} +1 -1
  181. package/dist/assets/vi-lYszmNr_.js +1 -0
  182. package/dist/assets/wrap-locale-Cn1jipF7.js +1 -0
  183. package/dist/assets/zh-DMGrvlv0.js +2 -0
  184. package/dist/assets/zh-tw-BkGc-T4k.js +1 -0
  185. package/dist/index.html +1 -1
  186. package/dist/service-worker.js +1 -1
  187. package/package.json +27 -26
  188. package/dist/assets/ChevronRight-CQFbCeFz.js +0 -1
  189. package/dist/assets/MoreHoriz-DXVNYHju.js +0 -1
  190. package/dist/assets/actions-C7XEfs3G.js +0 -1
  191. package/dist/assets/api-CTyhvZ_-.js +0 -1
  192. package/dist/assets/ar-C47j1nYN.js +0 -1
  193. package/dist/assets/audit-logs-DJspdLu1.js +0 -58
  194. package/dist/assets/de-Cku7GZWy.js +0 -1
  195. package/dist/assets/domain-dHNHfYFB.js +0 -9
  196. package/dist/assets/domain-list-BgPUULga.js +0 -12
  197. package/dist/assets/es-DQdPvLwC.js +0 -1
  198. package/dist/assets/fr-BANF9nk5.js +0 -1
  199. package/dist/assets/hi-3nYHQeSr.js +0 -1
  200. package/dist/assets/home-acB4wYr7.js +0 -1
  201. package/dist/assets/id-C4ULMWl7.js +0 -1
  202. package/dist/assets/iframe-D_Wekpko.js +0 -1
  203. package/dist/assets/index-CFGAX9C8.js +0 -719
  204. package/dist/assets/index-D2UR_i8S.js +0 -1291
  205. package/dist/assets/index-DcPK4-8I.js +0 -54
  206. package/dist/assets/index-GrtnklOv.js +0 -268
  207. package/dist/assets/item-CdwwMeVt.js +0 -1
  208. package/dist/assets/ja-DUtPzStV.js +0 -1
  209. package/dist/assets/ko-DHayH4OX.js +0 -1
  210. package/dist/assets/localization-DWMiEH8J.js +0 -1
  211. package/dist/assets/logo-uploader-BGESEvUM.js +0 -122
  212. package/dist/assets/notifications-DX9G-nKj.js +0 -62
  213. package/dist/assets/overview-LbqVzqfg.js +0 -12
  214. package/dist/assets/preferences-CCwHkP3g.js +0 -1
  215. package/dist/assets/pt-CtekrXAD.js +0 -1
  216. package/dist/assets/publish-resource-B_tonO3N.js +0 -1
  217. package/dist/assets/resource-dialog-CWv37rT1.js +0 -57
  218. package/dist/assets/ru-aujlmrJM.js +0 -1
  219. package/dist/assets/session-ClfaP8Dd.js +0 -1
  220. package/dist/assets/setup-B9T0hKlN.js +0 -14
  221. package/dist/assets/th-WxIih8J2.js +0 -1
  222. package/dist/assets/user-center-Bk4t_jqb.js +0 -1
  223. package/dist/assets/vi-DgBgwcpZ.js +0 -1
  224. package/dist/assets/wrap-locale-DD1QDW-M.js +0 -1
  225. package/dist/assets/zh-g9dUotWi.js +0 -2
  226. package/dist/assets/zh-tw-CoNRcnfg.js +0 -1
@@ -1,9 +1,9 @@
1
- const __vite__fileDeps=["assets/react-CPynQ78n.js","assets/index-D2UR_i8S.js","assets/index-CCovGSMB.css","assets/index-CpmTHBat.js","assets/preact.module-B1z5cdvs.js","assets/index-DcyNKKFa.js","assets/index-BCA-5NcY.js","assets/toUpper-1-4t-eKJ.js","assets/index-GrtnklOv.js","assets/fallback-C_4si_rV.js","assets/index-CFGAX9C8.js","assets/Toolbar-_kp5UmF_.js","assets/Hidden-BLWrU9rp.js","assets/MoreHoriz-DXVNYHju.js","assets/ExpandMore-CKKkjQcY.js","assets/index-CoTilh_C.js","assets/MoreVert-CO-YEIdW.js","assets/selector-f-DWZqru.js","assets/Avatar-D9rpNCqX.js","assets/useSlot-qUg8hMqb.js","assets/resource-dialog-CWv37rT1.js","assets/use-mobile-VmAoH7cf.js","assets/OpenInNew-BhWlEURK.js","assets/CloseOutlined-CptcS6gg.js","assets/index-I0PotiiS.js","assets/index-BOAwzMIx.js","assets/index-WNkObbJS.js","assets/FormControlLabel-e33RviPs.js","assets/useFormControl-CKIqQYYi.js","assets/index-CS3NeNhP.js","assets/FilterList-MtVGweDW.js","assets/toPropertyKey-hKuLU48H.js","assets/FormControl-D32uXM3n.js","assets/FormGroup-BLcBQcJn.js","assets/InputLabel-CWy9m12B.js","assets/ListItemText-BFKiv21F.js","assets/Select-BtAvJtd9.js","assets/TextField-ZfIhKMlW.js","assets/LastPage-CDtyKz24.js","assets/index-QkFfPTY0.js","assets/redux-Dzi5_x1P.js","assets/Search-DJGc3pyw.js","assets/Delete-Cx0Gf7gM.js","assets/url-join-CumQIGHb.js","assets/uniqBy-BUeS57o_.js","assets/react-BW7E7-P9.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC as Be,T as J,r as R,aK as Ee,aH as d0,aI as Ae,aJ as Oe,cK as J0,fh as Ke,X as Le,Y as Pe,B as z,l as c1,P as f,$ as He,E as q,e as d1,u as te,aM as Ce,aV as Te,bx as Xe,a1 as Ue,L as pe,bG as u0,a as ve,az as ie,I as Q0,q as $,Z as ae,dn as Y0,a9 as we,c as he,F as Z0,bU as u1,ce as p0,cz as e2,cI as De,cJ as h0,bj as t2,cZ as o2,cD as qe,bB as We,c1 as o1,f1 as l2,b as ne,bm as r2,dr as s2,ae as f0,bn as n2,ck as i2,aQ as F1,aP as a2,a2 as x0,bk as c2,eS as ke,fi as q1,cQ as d2,ap as u2,ay as p2,al as h2,am as Qe}from"./index-D2UR_i8S.js";import{d as p1}from"./Add-CbycMEbf.js";import{d as f2}from"./AddBox-DTM_80hR.js";import{d as m0}from"./Delete-Cx0Gf7gM.js";import{d as x2}from"./Error-BS_LdXbq.js";import{D as h1}from"./index-CS3NeNhP.js";import{T as v0,b as m2}from"./index-CCfWoc62.js";import{C as f1}from"./confirm-DZzubb9G.js";import{u as Je}from"./session-ClfaP8Dd.js";import{W as U1}from"./did-address-eujShTX2.js";import{B as x1,d as v2}from"./ChevronRight-CQFbCeFz.js";import{S as ge}from"./shorten-label-BlEZNxcS.js";import{A as g0}from"./Avatar-D9rpNCqX.js";import{d as g2}from"./Download-BwTZ49dl.js";import{d as b2}from"./QuestionMarkCircle-P8-fp7ZK.js";import{b as j2,c as W1,T as w2}from"./index-I0PotiiS.js";import{_ as Se}from"./useSetState-C2Fy5a5C.js";import{c as m1}from"./index-BCA-5NcY.js";import{C as l1,F as r1,S as R2}from"./FormControlLabel-e33RviPs.js";import{A as b0}from"./Alert-YB1c66Kp.js";import{p as j0}from"./index-HqFqdQ4r.js";import"./api-CTyhvZ_-.js";import{i as C2}from"./index-BmM6WRMt.js";import{d as y2}from"./ExpandMore-CKKkjQcY.js";import{d as z2}from"./OpenInNew-BhWlEURK.js";import{d as S2}from"./DeleteOutline-BzwVBrxY.js";import{d as k2}from"./ArrowDropDown-CyWdnmLZ.js";import{f as Ie}from"./format-error-CjSMm5Vi.js";import{c as M2,A as w0,u as I2,S as L2}from"./item-CdwwMeVt.js";import{B as P2}from"./ButtonGroup-DGBxXxUQ.js";import{T as Me}from"./TextField-ZfIhKMlW.js";import{M as v1}from"./InputAdornment-BXT7PVpt.js";import{d as T2}from"./Launch-CzAofQSz.js";import{L as N2}from"./MoreVert-CO-YEIdW.js";import{a as V2}from"./ListItemText-BFKiv21F.js";import{C as D2}from"./click-to-copy-BsmI9ksY.js";import{M as _2}from"./index-T01X8GVg.js";import{r as B2}from"./index-BdOmFQx3.js";import{d as E2}from"./Done-B1UDtldR.js";import{c as R0,d as C0,b as A2,S as O2,a as H2}from"./Stepper-BtyxP6gd.js";import{R as $2,a as G1}from"./RadioGroup-Betu38Nc.js";import"./FilterList-MtVGweDW.js";import"./toPropertyKey-hKuLU48H.js";import"./FormControl-D32uXM3n.js";import"./useFormControl-CKIqQYYi.js";import"./FormGroup-BLcBQcJn.js";import"./InputLabel-CWy9m12B.js";import"./Select-BtAvJtd9.js";import"./LastPage-CDtyKz24.js";import"./Toolbar-_kp5UmF_.js";import"./index-QkFfPTY0.js";import"./redux-Dzi5_x1P.js";import"./Search-DJGc3pyw.js";import"./index-BOAwzMIx.js";import"./Link-DD0QeQw6.js";import"./useSlot-qUg8hMqb.js";import"./jss-plugin-props-sort.esm-CPTwTzr4.js";const F2=X0(o.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),q2=["slots","slotProps"],U2=oe(c0)(({theme:e})=>A({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":A({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":A({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:$1(e.palette.grey[200],.12)}:{backgroundColor:$1(e.palette.grey[600],.12)})})),W2=oe(F2)({width:24,height:16});function G2(e){const{slots:t={},slotProps:l={}}=e,s=be(e,q2),n=e;return o.jsx("li",{children:o.jsx(U2,A({focusRipple:!0},s,{ownerState:n,children:o.jsx(W2,A({as:t.CollapsedIcon,ownerState:n},l.collapsedIcon))}))})}function K2(e){return Be("MuiBreadcrumbs",e)}const X2=_e("MuiBreadcrumbs",["root","ol","li","separator"]),J2=X2,Q2=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],Y2=e=>{const{classes:t}=e;return Oe({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},K2,t)},Z2=oe(J,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${J2.li}`]:t.li},t.root]})({}),et=oe("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),tt=oe("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function ot(e,t,l,s){return e.reduce((n,a,d)=>(d<e.length-1?n=n.concat(a,o.jsx(tt,{"aria-hidden":!0,className:t,ownerState:s,children:l},`separator-${d}`)):n.push(a),n),[])}const lt=R.forwardRef(function(t,l){const s=Ee({props:t,name:"MuiBreadcrumbs"}),{children:n,className:a,component:d="nav",slots:c={},slotProps:u={},expandText:h="Show path",itemsAfterCollapse:x=1,itemsBeforeCollapse:g=1,maxItems:y=8,separator:p="/"}=s,i=be(s,Q2),[m,w]=R.useState(!1),v=A({},s,{component:d,expanded:m,expandText:h,itemsAfterCollapse:x,itemsBeforeCollapse:g,maxItems:y,separator:p}),C=Y2(v),S=d0({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:v}),N=R.useRef(null),T=k=>{const F=()=>{w(!0);const D=N.current.querySelector("a[href],button,[tabindex]");D&&D.focus()};return g+x>=k.length?k:[...k.slice(0,g),o.jsx(G2,{"aria-label":h,slots:{CollapsedIcon:c.CollapsedIcon},slotProps:{collapsedIcon:S},onClick:F},"ellipsis"),...k.slice(k.length-x,k.length)]},I=R.Children.toArray(n).filter(k=>R.isValidElement(k)).map((k,F)=>o.jsx("li",{className:C.li,children:k},`child-${F}`));return o.jsx(Z2,A({ref:l,component:d,color:"text.secondary",className:Ae(C.root,a),ownerState:v},i,{children:o.jsx(et,{className:C.ol,ref:N,ownerState:v,children:ot(m||y&&I.length<=y?I:T(I),C.separator,p,v)})}))}),y0=lt;function rt(e){return Be("MuiStepButton",e)}const st=_e("MuiStepButton",["root","horizontal","vertical","touchRipple"]),K1=st,nt=["children","className","icon","optional"],it=e=>{const{classes:t,orientation:l}=e;return Oe({root:["root",l],touchRipple:["touchRipple"]},rt,t)},at=oe(c0,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[{[`& .${K1.touchRipple}`]:t.touchRipple},t.root,t[l.orientation]]}})(({ownerState:e})=>A({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},e.orientation==="vertical"&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${K1.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}})),ct=R.forwardRef(function(t,l){const s=Ee({props:t,name:"MuiStepButton"}),{children:n,className:a,icon:d,optional:c}=s,u=be(s,nt),{disabled:h,active:x}=R.useContext(R0),{orientation:g}=R.useContext(C0),y=A({},s,{orientation:g}),p=it(y),i={icon:d,optional:c},m=J0(n,["StepLabel"])?R.cloneElement(n,i):o.jsx(A2,A({},i,{children:n}));return o.jsx(at,A({focusRipple:!0,disabled:h,TouchRippleProps:{className:p.touchRipple},className:Ae(p.root,a),ref:l,ownerState:y,"aria-current":x?"step":void 0},u,{children:m}))}),dt=ct;function ut(e){return Be("MuiStepContent",e)}_e("MuiStepContent",["root","last","transition"]);const pt=["children","className","TransitionComponent","transitionDuration","TransitionProps"],ht=e=>{const{classes:t,last:l}=e;return Oe({root:["root",l&&"last"],transition:["transition"]},ut,t)},ft=oe("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.root,l.last&&t.last]}})(({ownerState:e,theme:t})=>A({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"})),xt=oe(Ke,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),mt=R.forwardRef(function(t,l){const s=Ee({props:t,name:"MuiStepContent"}),{children:n,className:a,TransitionComponent:d=Ke,transitionDuration:c="auto",TransitionProps:u}=s,h=be(s,pt);R.useContext(C0);const{active:x,last:g,expanded:y}=R.useContext(R0),p=A({},s,{last:g}),i=ht(p);let m=c;return c==="auto"&&!d.muiSupportAuto&&(m=void 0),o.jsx(ft,A({className:Ae(i.root,a),ref:l,ownerState:p},h,{children:o.jsx(xt,A({as:d,in:x||y,className:i.transition,ownerState:p,timeout:m,unmountOnExit:!0},u,{children:n}))}))}),vt=mt;var g1={},gt=Pe;Object.defineProperty(g1,"__esModule",{value:!0});var z0=g1.default=void 0,bt=gt(Le()),jt=o;z0=g1.default=(0,bt.default)((0,jt.jsx)("path",{d:"M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H15v-8h5V8zm-1 7V3.5L18.5 9zm4 12.66V16h5.66v2h-2.24l2.95 2.95-1.41 1.41L19 19.41v2.24h-2z"}),"FileOpen");var b1={},wt=Pe;Object.defineProperty(b1,"__esModule",{value:!0});var S0=b1.default=void 0,Rt=wt(Le()),Ct=o;S0=b1.default=(0,Rt.default)((0,Ct.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined");function ye({size:e,...t}){return o.jsx(z,{display:"flex",mt:4,...t,children:o.jsx(c1,{size:e})})}ye.propTypes={size:f.number};ye.defaultProps={size:24};function j1({did:e,projectId:t,title:l,logo:s,describe:n}){const d=`${`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e}/${t}/logo/upload`}/${s}`,[c,u]=R.useState(!1),h=He(x=>x.breakpoints.down("md"));return o.jsxs(z,{sx:{display:"flex",flexDirection:"row",color:c?"primary.main":"grey.900",gap:1},onPointerEnter:()=>u(!0),onPointerLeave:()=>u(!1),children:[o.jsx(g0,{sx:{borderRadius:1},src:d}),o.jsxs(z,{children:[o.jsx(ge,{hiddenTip:!0,maxLength:"24",sx:{fontSize:"14px",fontWeight:"500",color:h?"primary.main":""},children:l||"/"}),o.jsx(ge,{hiddenTip:!0,maxLength:"58",sx:{fontSize:"12px",color:h||c?"primary.main":"grey.700"},children:n||"/"})]})]})}j1.propTypes={projectId:f.string.isRequired,did:f.string.isRequired,title:f.string.isRequired,logo:f.string.isRequired,describe:f.string.isRequired};function w1({initUrl:e}){const t=d1(),l=(e==null?void 0:e.searchParams.get("tenantScope"))||"",{t:s,locale:n}=te(),{api:a}=Ce(),{api:d}=Je(),[c,u]=R.useState(!0),{blocklet:h}=Te(),[x,g]=R.useState(null),[y,p]=R.useState(!1),i=He(M=>M.breakpoints.down("xl")),{componentDid:m=""}=Xe(),[w,v]=R.useState(null),C=()=>{a.getProjects({input:{did:h.meta.did,componentDid:m,tenantScope:l}}).then(M=>{const L=(M==null?void 0:M.projects)||[];u(!1),v(L)}).catch(M=>{u(!1),$.error(M.message)})},S=()=>{t(`${q.UNOWNED_DID}/create/none`,{replace:!0})},N=M=>{g(M)},T=()=>{u(!1),p(!0)},I=()=>{p(!1),g(null)},k=M=>{$.error(M.message),p(!1),g(null)},F=M=>{if(!(M!=null&&M.deleted)){$.error("Delete project failed");return}C(),p(!1),g(null)};if(R.useEffect(()=>{C()},[]),!w&&c)return o.jsx(z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(ye,{})});if(!w)return null;if(!w.length)return o.jsxs(z,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(z,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:s("blocklet.publish.blockletEmptyTip")}),o.jsx(z,{sx:{fontSize:14,color:"text.secondary",mb:3},children:s("blocklet.publish.createBlockletTip")}),o.jsx(Ue,{onClick:S,variant:"contained",children:s("blocklet.publish.createBlocklet")})]});const D=[{label:"Blocklet",name:"blockletTitle",minWidth:160,options:{customBodyRenderLite:M=>{const L=w[M];return o.jsx(pe,{to:`${L.id}`,children:o.jsx(j1,{did:h.meta.did,projectId:L.id,logo:L.blockletLogo,title:L.blockletTitle,describe:L.blockletDescription})})}}},{label:"Version",name:"blockletVersion",options:{customBodyRender:M=>M?o.jsx(v0,{type:"success",children:M}):""}},{label:"DID",name:"blockletDid",options:{customBodyRender:M=>M?o.jsx(U1,{size:14,compact:!0,responsive:!1,did:M}):null}},i||m?null:{label:s("common.createdBy"),name:"createdBy",options:{customBodyRender:M=>M?o.jsx(U1,{onClick:()=>{t(`/.well-known/service/admin/members?did=${M}`)},style:{cursor:"pointer"},size:14,compact:!0,copyable:!1,showQrcode:!1,responsive:!1,did:M}):null}},i||m?null:{label:s("common.scope"),name:"componentDid",options:{customBodyRender:M=>{const L=(h.children||[]).find(H=>H.meta.did===M);return L?o.jsxs(z,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(x1,{size:14,blocklet:L,ancestors:[h]}),o.jsx(z,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:L.meta.title})]},M):""}}},i||l?null:{label:s("blocklet.publish.tenantScope"),name:"tenantScope",options:{customBodyRender:M=>o.jsx(z,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:o.jsx(ge,{children:M})})}},{label:s("common.updatedAt"),name:"updatedAt",options:{customBodyRender:M=>o.jsx(u0,{value:Number(M),locale:n})}},{label:s("common.actions"),name:"actions",options:{customBodyRenderLite:M=>{const L=w[M];return o.jsxs(z,{display:"flex",children:[o.jsx(pe,{to:`${L.id}/new-release/${L.lastReleaseId}`,children:o.jsx(ve,{title:s("blocklet.publish.createRelease"),placement:"top",children:o.jsx(ie,{color:"primary","aria-label":"create",children:o.jsx(f2,{style:{fontSize:18}})})})}),!!L.lastReleaseId&&o.jsx(ve,{title:s("blocklet.publish.viewLastRelease",{name:L.blockletTitle}),placement:"top",children:o.jsx(ie,{color:"secondary","aria-label":"create",children:o.jsx(pe,{style:{display:"flex"},to:`${L.id}/view/${L.lastReleaseId}`,children:o.jsx(z0,{sx:{fontSize:18}})})})}),o.jsx(ve,{title:s("blocklet.publish.delete",{name:L.blockletTitle}),placement:"top",children:o.jsx(ie,{color:"primary","aria-label":"delete",onClick:()=>N(L),children:o.jsx(m0,{sx:{fontSize:18}})})})]})}}}].filter(Boolean),P=y?o.jsx(Q0,{open:!0,popup:!0,onClose:I,action:"check-has-project-id",locale:n,checkFn:d.get,saveConnect:!1,forceConnected:!1,checkTimeout:5*60*1e3,onSuccess:F,onError:k,extraParams:{projectId:x.id,did:h.meta.did,name:x.blockletTitle},messages:{title:s("blocklet.publish.deleteProject.title",{name:x.blockletTitle}),scan:s("blocklet.publish.deleteProject.scan",{name:x.blockletTitle}),confirm:s("blocklet.publish.deleteProject.confirm"),success:s("blocklet.publish.deleteProject.success")}}):null;return o.jsxs(yt,{children:[o.jsxs(z,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[o.jsxs(z,{display:"flex",flexDirection:"row",alignItems:"center",children:[o.jsx(z,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:s("common.blockletStudio")}),o.jsx(ve,{title:s("blocklet.publish.createBlockletTip"),arrow:!0,placement:"right",children:o.jsx(S0,{sx:{opacity:.6,fontSize:"1.1em",ml:1}})})]}),o.jsxs(Ue,{onClick:S,variant:"contained",children:[o.jsx(p1,{style:{fontSize:"1.3em",marginRight:4}}),s("blocklet.publish.createBlocklet")]})]}),o.jsx(z,{mt:3}),o.jsx(h1,{className:"main-table",locale:n,data:w,columns:D,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),x&&o.jsx(f1,{title:`${s("common.delete")} ${x.blockletTitle}`,description:s("blocklet.publish.deleteProject.description"),confirm:s("common.confirm"),onConfirm:T,onCancel:()=>g(null),children:o.jsx(z,{sx:{marginTop:2},children:[s("blocklet.publish.deleteProject.tip1"),s("blocklet.publish.deleteProject.tip2"),s("blocklet.publish.deleteProject.tip3")].map(M=>o.jsxs(z,{sx:{display:"flex",marginTop:1,flexDirection:"row",alignItems:"flex-start"},children:[o.jsx(x2,{color:"warning",sx:{marginRight:1,fontSize:20,marginTop:"2px"}}),o.jsx(J,{component:"span",variant:"inherit",color:"text.secondary",children:M})]}))})}),P]})}w1.propTypes={initUrl:f.object};w1.defaultProps={initUrl:null};const yt=ae(z)`
1
+ const __vite__fileDeps=["assets/react-Di5TTO9l.js","assets/index-BfhVorqV.js","assets/index-CCovGSMB.css","assets/index-WDF_phnR.js","assets/preact.module-B1z5cdvs.js","assets/index-CvOK9BmX.js","assets/index-DU7-35nh.js","assets/toUpper-6wIhNvu3.js","assets/index-CHJwugzh.js","assets/fallback-rg9fefdL.js","assets/index-Ce3CP3Jp.js","assets/Toolbar-_9it32pJ.js","assets/Hidden-kl5Tbw1B.js","assets/index-Dn7MhkOZ.js","assets/MoreVert-er-bltGF.js","assets/selector-CNsCKDRb.js","assets/ExpandMore-DD2GykPj.js","assets/Avatar-XXXVLUFk.js","assets/useSlot-LBVvloQJ.js","assets/resource-dialog-5vdlaAuh.js","assets/use-mobile-CnnusHmf.js","assets/OpenInNew-Bu6iI6eA.js","assets/CloseOutlined-Crg0BDr4.js","assets/index-DJLK29SJ.js","assets/index-D12KUiCG.js","assets/index-nyOsFIwy.js","assets/FormControlLabel-B6ISinfm.js","assets/useFormControl-DUzGwbSY.js","assets/index-5qacoeSv.js","assets/FilterList-QafrkXbd.js","assets/toPropertyKey-hKuLU48H.js","assets/FormControl-Kt4xANtI.js","assets/FormGroup-BEMyIGSj.js","assets/InputLabel-DbdmcDbJ.js","assets/ListItemText-Bnnk7Gbj.js","assets/Select-BeNQ99oP.js","assets/TextField-D3XEyFR4.js","assets/LastPage-DXISIPs8.js","assets/index-BPSr4f2j.js","assets/redux-tOVF_oDT.js","assets/Search-CMyGk9R2.js","assets/Delete-DlfFien6.js","assets/url-join-DH_b1eAH.js","assets/uniqBy-C3O4Rmks.js","assets/react-BW7E7-P9.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{ao as J0,j as o,aD as oe,cE as u0,aG as A,fh as U1,aF as be,aB as Be,aC as Ee,T as Q,r as R,aK as Ae,aH as p0,aI as Oe,aJ as He,cK as Q0,fi as Je,X as Pe,Y as Te,B as z,l as We,P as f,$ as $e,E as q,e as p1,u as te,aM as ye,aV as Ne,bx as Qe,a1 as Ge,L as he,bG as h0,a as ve,az as ce,I as Y0,q as $,Z as de,dq as Z0,a9 as Re,c as fe,F as e2,bU as h1,ce as f0,cz as t2,cI as _e,cJ as x0,bj as o2,cZ as l2,cD as qe,bB as Ke,c1 as r1,f2 as r2,b as ae,bm as s2,dt as n2,ae as m0,bn as i2,ck as a2,aQ as q1,aP as c2,a2 as v0,bk as d2,eT as Me,fj as W1,cQ as u2,ap as p2,h as h2,ay as f2,al as x2,am as Ze}from"./index-BfhVorqV.js";import{d as f1}from"./Add-C5zWPWbi.js";import{d as m2}from"./AddBox-C4A7DDm4.js";import{d as g0}from"./Delete-DlfFien6.js";import{d as v2}from"./Error-CQmWghPs.js";import{D as x1}from"./index-5qacoeSv.js";import{T as b0,b as g2}from"./index-Xh4BYwzS.js";import{C as m1}from"./confirm-CD6_CMUq.js";import{u as Ye}from"./session-Cf-ZqG4P.js";import{W as G1}from"./did-address-GzRMEyk7.js";import{B as v1,d as b2}from"./ChevronRight-BKcNccG9.js";import{S as ge}from"./shorten-label-CunJMulX.js";import{A as j0}from"./Avatar-XXXVLUFk.js";import{d as j2}from"./Download-CVseEK0o.js";import{d as w2}from"./QuestionMarkCircle-CoIXItlb.js";import{b as R2,c as K1,T as C2}from"./index-DJLK29SJ.js";import{_ as ke}from"./useSetState-Be-I2Gl-.js";import{c as g1}from"./index-DU7-35nh.js";import{C as s1,F as n1,S as y2}from"./FormControlLabel-B6ISinfm.js";import{A as w0}from"./Alert-D91U5h--.js";import{p as i1}from"./index-HqFqdQ4r.js";import"./api-C37A8mCN.js";import{i as z2}from"./index-UmXxvIz7.js";import{d as S2}from"./ExpandMore-DD2GykPj.js";import{d as k2}from"./OpenInNew-Bu6iI6eA.js";import{d as M2}from"./DeleteOutline-De4xAGvs.js";import{d as I2}from"./ArrowDropDown-Cq32DOpt.js";import{f as Le}from"./format-error-B3RYdl6q.js";import{c as L2,A as R0,u as P2,S as T2,U as N2}from"./item-B9vXmxNy.js";import{B as V2}from"./ButtonGroup-k3SZjeUa.js";import{T as Ie}from"./TextField-D3XEyFR4.js";import{M as b1}from"./InputAdornment-C5IWgB4u.js";import{d as D2}from"./Launch-CDcio2Tm.js";import{L as _2}from"./MoreVert-er-bltGF.js";import{a as B2}from"./ListItemText-Bnnk7Gbj.js";import{C as E2}from"./click-to-copy-CNizZfqS.js";import{M as A2}from"./index-BCpZXkUS.js";import{r as O2}from"./index-CcddEj1V.js";import{d as H2}from"./Done-DO1tfb2_.js";import{c as C0,d as y0,b as $2,S as F2,a as U2}from"./Stepper-BF6lz4ut.js";import{R as q2,a as X1}from"./RadioGroup-C7j1KJ7y.js";import"./FilterList-QafrkXbd.js";import"./toPropertyKey-hKuLU48H.js";import"./FormControl-Kt4xANtI.js";import"./useFormControl-DUzGwbSY.js";import"./FormGroup-BEMyIGSj.js";import"./InputLabel-DbdmcDbJ.js";import"./Select-BeNQ99oP.js";import"./LastPage-DXISIPs8.js";import"./Toolbar-_9it32pJ.js";import"./index-BPSr4f2j.js";import"./redux-tOVF_oDT.js";import"./Search-CMyGk9R2.js";import"./index-D12KUiCG.js";import"./Link-DFzOJFD-.js";import"./useSlot-LBVvloQJ.js";import"./jss-plugin-props-sort.esm-InWevx1Y.js";const W2=J0(o.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),G2=["slots","slotProps"],K2=oe(u0)(({theme:e})=>A({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":A({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":A({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:U1(e.palette.grey[200],.12)}:{backgroundColor:U1(e.palette.grey[600],.12)})})),X2=oe(W2)({width:24,height:16});function J2(e){const{slots:t={},slotProps:l={}}=e,s=be(e,G2),n=e;return o.jsx("li",{children:o.jsx(K2,A({focusRipple:!0},s,{ownerState:n,children:o.jsx(X2,A({as:t.CollapsedIcon,ownerState:n},l.collapsedIcon))}))})}function Q2(e){return Ee("MuiBreadcrumbs",e)}const Y2=Be("MuiBreadcrumbs",["root","ol","li","separator"]),Z2=Y2,et=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],tt=e=>{const{classes:t}=e;return He({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},Q2,t)},ot=oe(Q,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${Z2.li}`]:t.li},t.root]})({}),lt=oe("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),rt=oe("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function st(e,t,l,s){return e.reduce((n,c,d)=>(d<e.length-1?n=n.concat(c,o.jsx(rt,{"aria-hidden":!0,className:t,ownerState:s,children:l},`separator-${d}`)):n.push(c),n),[])}const nt=R.forwardRef(function(t,l){const s=Ae({props:t,name:"MuiBreadcrumbs"}),{children:n,className:c,component:d="nav",slots:a={},slotProps:u={},expandText:h="Show path",itemsAfterCollapse:x=1,itemsBeforeCollapse:g=1,maxItems:y=8,separator:p="/"}=s,i=be(s,et),[m,w]=R.useState(!1),v=A({},s,{component:d,expanded:m,expandText:h,itemsAfterCollapse:x,itemsBeforeCollapse:g,maxItems:y,separator:p}),C=tt(v),S=p0({elementType:a.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:v}),N=R.useRef(null),T=k=>{const F=()=>{w(!0);const V=N.current.querySelector("a[href],button,[tabindex]");V&&V.focus()};return g+x>=k.length?k:[...k.slice(0,g),o.jsx(J2,{"aria-label":h,slots:{CollapsedIcon:a.CollapsedIcon},slotProps:{collapsedIcon:S},onClick:F},"ellipsis"),...k.slice(k.length-x,k.length)]},I=R.Children.toArray(n).filter(k=>R.isValidElement(k)).map((k,F)=>o.jsx("li",{className:C.li,children:k},`child-${F}`));return o.jsx(ot,A({ref:l,component:d,color:"text.secondary",className:Oe(C.root,c),ownerState:v},i,{children:o.jsx(lt,{className:C.ol,ref:N,ownerState:v,children:st(m||y&&I.length<=y?I:T(I),C.separator,p,v)})}))}),z0=nt;function it(e){return Ee("MuiStepButton",e)}const at=Be("MuiStepButton",["root","horizontal","vertical","touchRipple"]),J1=at,ct=["children","className","icon","optional"],dt=e=>{const{classes:t,orientation:l}=e;return He({root:["root",l],touchRipple:["touchRipple"]},it,t)},ut=oe(u0,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[{[`& .${J1.touchRipple}`]:t.touchRipple},t.root,t[l.orientation]]}})(({ownerState:e})=>A({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},e.orientation==="vertical"&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${J1.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}})),pt=R.forwardRef(function(t,l){const s=Ae({props:t,name:"MuiStepButton"}),{children:n,className:c,icon:d,optional:a}=s,u=be(s,ct),{disabled:h,active:x}=R.useContext(C0),{orientation:g}=R.useContext(y0),y=A({},s,{orientation:g}),p=dt(y),i={icon:d,optional:a},m=Q0(n,["StepLabel"])?R.cloneElement(n,i):o.jsx($2,A({},i,{children:n}));return o.jsx(ut,A({focusRipple:!0,disabled:h,TouchRippleProps:{className:p.touchRipple},className:Oe(p.root,c),ref:l,ownerState:y,"aria-current":x?"step":void 0},u,{children:m}))}),ht=pt;function ft(e){return Ee("MuiStepContent",e)}Be("MuiStepContent",["root","last","transition"]);const xt=["children","className","TransitionComponent","transitionDuration","TransitionProps"],mt=e=>{const{classes:t,last:l}=e;return He({root:["root",l&&"last"],transition:["transition"]},ft,t)},vt=oe("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.root,l.last&&t.last]}})(({ownerState:e,theme:t})=>A({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"})),gt=oe(Je,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),bt=R.forwardRef(function(t,l){const s=Ae({props:t,name:"MuiStepContent"}),{children:n,className:c,TransitionComponent:d=Je,transitionDuration:a="auto",TransitionProps:u}=s,h=be(s,xt);R.useContext(y0);const{active:x,last:g,expanded:y}=R.useContext(C0),p=A({},s,{last:g}),i=mt(p);let m=a;return a==="auto"&&!d.muiSupportAuto&&(m=void 0),o.jsx(vt,A({className:Oe(i.root,c),ref:l,ownerState:p},h,{children:o.jsx(gt,A({as:d,in:x||y,className:i.transition,ownerState:p,timeout:m,unmountOnExit:!0},u,{children:n}))}))}),jt=bt;var j1={},wt=Te;Object.defineProperty(j1,"__esModule",{value:!0});var S0=j1.default=void 0,Rt=wt(Pe()),Ct=o;S0=j1.default=(0,Rt.default)((0,Ct.jsx)("path",{d:"M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H15v-8h5V8zm-1 7V3.5L18.5 9zm4 12.66V16h5.66v2h-2.24l2.95 2.95-1.41 1.41L19 19.41v2.24h-2z"}),"FileOpen");var w1={},yt=Te;Object.defineProperty(w1,"__esModule",{value:!0});var k0=w1.default=void 0,zt=yt(Pe()),St=o;k0=w1.default=(0,zt.default)((0,St.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined");function ze({size:e,...t}){return o.jsx(z,{display:"flex",mt:4,...t,children:o.jsx(We,{size:e})})}ze.propTypes={size:f.number};ze.defaultProps={size:24};function R1({did:e,projectId:t,title:l,logo:s,describe:n}){const d=`${`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e}/${t}/logo/upload`}/${s}`,[a,u]=R.useState(!1),h=$e(x=>x.breakpoints.down("md"));return o.jsxs(z,{sx:{display:"flex",flexDirection:"row",color:a?"primary.main":"grey.900",gap:1},onPointerEnter:()=>u(!0),onPointerLeave:()=>u(!1),children:[o.jsx(j0,{sx:{borderRadius:1},src:d}),o.jsxs(z,{children:[o.jsx(ge,{hiddenTip:!0,maxLength:"24",sx:{fontSize:"14px",fontWeight:"500",color:h?"primary.main":""},children:l||"/"}),o.jsx(ge,{hiddenTip:!0,maxLength:"58",sx:{fontSize:"12px",color:h||a?"primary.main":"grey.700"},children:n||"/"})]})]})}R1.propTypes={projectId:f.string.isRequired,did:f.string.isRequired,title:f.string.isRequired,logo:f.string.isRequired,describe:f.string.isRequired};function C1({initUrl:e}){const t=p1(),l=(e==null?void 0:e.searchParams.get("tenantScope"))||"",{t:s,locale:n}=te(),{api:c}=ye(),{api:d}=Ye(),[a,u]=R.useState(!0),{blocklet:h}=Ne(),[x,g]=R.useState(null),[y,p]=R.useState(!1),i=$e(M=>M.breakpoints.down("xl")),{componentDid:m=""}=Qe(),[w,v]=R.useState(null),C=()=>{c.getProjects({input:{did:h.meta.did,componentDid:m,tenantScope:l}}).then(M=>{const L=(M==null?void 0:M.projects)||[];u(!1),v(L)}).catch(M=>{u(!1),$.error(M.message)})},S=()=>{t(`${q.UNOWNED_DID}/create/none`,{replace:!0})},N=M=>{g(M)},T=()=>{u(!1),p(!0)},I=()=>{p(!1),g(null)},k=M=>{$.error(M.message),p(!1),g(null)},F=M=>{if(!(M!=null&&M.deleted)){$.error("Delete project failed");return}C(),p(!1),g(null)};if(R.useEffect(()=>{C()},[]),!w&&a)return o.jsx(z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(ze,{})});if(!w)return null;if(!w.length)return o.jsxs(z,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(z,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:s("blocklet.publish.blockletEmptyTip")}),o.jsx(z,{sx:{fontSize:14,color:"text.secondary",mb:3},children:s("blocklet.publish.createBlockletTip")}),o.jsx(Ge,{onClick:S,variant:"contained",children:s("blocklet.publish.createBlocklet")})]});const V=[{label:"Blocklet",name:"blockletTitle",minWidth:160,options:{customBodyRenderLite:M=>{const L=w[M];return o.jsx(he,{to:`${L.id}`,children:o.jsx(R1,{did:h.meta.did,projectId:L.id,logo:L.blockletLogo,title:L.blockletTitle,describe:L.blockletDescription})})}}},{label:"Version",name:"blockletVersion",options:{customBodyRender:M=>M?o.jsx(b0,{type:"success",children:M}):""}},{label:"DID",name:"blockletDid",options:{customBodyRender:M=>M?o.jsx(G1,{size:14,compact:!0,responsive:!1,did:M}):null}},i||m?null:{label:s("common.createdBy"),name:"createdBy",options:{customBodyRender:M=>M?o.jsx(G1,{onClick:()=>{t(`/.well-known/service/admin/members?did=${M}`)},style:{cursor:"pointer"},size:14,compact:!0,copyable:!1,showQrcode:!1,responsive:!1,did:M}):null}},i||m?null:{label:s("common.scope"),name:"componentDid",options:{customBodyRender:M=>{const L=(h.children||[]).find(H=>H.meta.did===M);return L?o.jsxs(z,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(v1,{size:14,blocklet:L,ancestors:[h]}),o.jsx(z,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:L.meta.title})]},M):""}}},i||l?null:{label:s("blocklet.publish.tenantScope"),name:"tenantScope",options:{customBodyRender:M=>o.jsx(z,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:o.jsx(ge,{children:M})})}},{label:s("common.updatedAt"),name:"updatedAt",options:{customBodyRender:M=>o.jsx(h0,{value:Number(M),locale:n})}},{label:s("common.actions"),name:"actions",options:{customBodyRenderLite:M=>{const L=w[M];return o.jsxs(z,{display:"flex",children:[o.jsx(he,{to:`${L.id}/new-release/${L.lastReleaseId}`,children:o.jsx(ve,{title:s("blocklet.publish.createRelease"),placement:"top",children:o.jsx(ce,{color:"primary","aria-label":"create",children:o.jsx(m2,{style:{fontSize:18}})})})}),!!L.lastReleaseId&&o.jsx(ve,{title:s("blocklet.publish.viewLastRelease",{name:L.blockletTitle}),placement:"top",children:o.jsx(ce,{color:"secondary","aria-label":"create",children:o.jsx(he,{style:{display:"flex"},to:`${L.id}/view/${L.lastReleaseId}`,children:o.jsx(S0,{sx:{fontSize:18}})})})}),o.jsx(ve,{title:s("blocklet.publish.delete",{name:L.blockletTitle}),placement:"top",children:o.jsx(ce,{color:"primary","aria-label":"delete",onClick:()=>N(L),children:o.jsx(g0,{sx:{fontSize:18}})})})]})}}}].filter(Boolean),P=y?o.jsx(Y0,{open:!0,popup:!0,onClose:I,action:"check-has-project-id",locale:n,checkFn:d.get,saveConnect:!1,forceConnected:!1,checkTimeout:5*60*1e3,onSuccess:F,onError:k,extraParams:{projectId:x.id,did:h.meta.did,name:x.blockletTitle},messages:{title:s("blocklet.publish.deleteProject.title",{name:x.blockletTitle}),scan:s("blocklet.publish.deleteProject.scan",{name:x.blockletTitle}),confirm:s("blocklet.publish.deleteProject.confirm"),success:s("blocklet.publish.deleteProject.success")}}):null;return o.jsxs(kt,{children:[o.jsxs(z,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[o.jsxs(z,{display:"flex",flexDirection:"row",alignItems:"center",children:[o.jsx(z,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:s("common.blockletStudio")}),o.jsx(ve,{title:s("blocklet.publish.createBlockletTip"),arrow:!0,placement:"right",children:o.jsx(k0,{sx:{opacity:.6,fontSize:"1.1em",ml:1}})})]}),o.jsxs(Ge,{onClick:S,variant:"contained",children:[o.jsx(f1,{style:{fontSize:"1.3em",marginRight:4}}),s("blocklet.publish.createBlocklet")]})]}),o.jsx(z,{mt:3}),o.jsx(x1,{className:"main-table",locale:n,data:w,columns:V,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),x&&o.jsx(m1,{title:`${s("common.delete")} ${x.blockletTitle}`,description:s("blocklet.publish.deleteProject.description"),confirm:s("common.confirm"),onConfirm:T,onCancel:()=>g(null),children:o.jsx(z,{sx:{marginTop:2},children:[s("blocklet.publish.deleteProject.tip1"),s("blocklet.publish.deleteProject.tip2"),s("blocklet.publish.deleteProject.tip3")].map(M=>o.jsxs(z,{sx:{display:"flex",marginTop:1,flexDirection:"row",alignItems:"flex-start"},children:[o.jsx(v2,{color:"warning",sx:{marginRight:1,fontSize:20,marginTop:"2px"}}),o.jsx(Q,{component:"span",variant:"inherit",color:"text.secondary",children:M})]}))})}),P]})}C1.propTypes={initUrl:f.object};C1.defaultProps={initUrl:null};const kt=de(z)`
3
3
  .main-table > div:first-child {
4
4
  display: none;
5
5
  }
6
- `;var R1={},zt=Pe;Object.defineProperty(R1,"__esModule",{value:!0});var k0=R1.default=void 0,St=zt(Le()),X1=o;k0=R1.default=(0,St.default)([(0,X1.jsx)("path",{d:"M20 17H4V5h8V3H4c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h4v2h8v-2h4c1.1 0 2-.9 2-2v-3h-2z"},"0"),(0,X1.jsx)("path",{d:"m17 14 5-5-1.41-1.41L18 10.17V3h-2v7.17l-2.59-2.58L12 9z"},"1")],"InstallDesktop");function kt(){var T;const{t:e,locale:t}=te(),{projectId:l}=Xe(),{api:s}=Ce(),[n,a]=R.useState(!0),{blocklet:d}=Te(),c=He(I=>I.breakpoints.down("md")),[u,h]=R.useState(null),[x,g]=R.useState(null),[y,p]=R.useState(null),i=(T=window.env)==null?void 0:T.serverEndpoint,m=()=>{s.getReleases({input:{did:d.meta.did,projectId:l}}).then(I=>{const k=(I==null?void 0:I.releases)||[];a(!1),h(k)}).catch(I=>{a(!1),$.error(I.message)})},w=()=>{s.doBatchQuery({getProject:{input:{did:d.meta.did,projectId:l}},getReleases:{input:{did:d.meta.did,projectId:l}}}).then(I=>{g(I.getProject.project||{}),h(I.getReleases.releases||[]),a(!1)}).catch(I=>{a(!1),$.error(I.message)})};R.useEffect(()=>{w()},[]);const v=()=>{a(!1);const I=y.id;s.deleteRelease({input:{did:d.meta.did,projectId:l,releaseId:I}}).then(()=>{a(!1),m(),$.success(e("common.removeSuccess")),p(null)}).catch(k=>{a(!1),$.error(k.message)})},C=I=>{p(I)};if(!u&&n)return o.jsx(z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(ye,{})});if(!u)return null;const S=o.jsxs(y0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(pe,{to:"..",children:e("common.blockletStudio")}),o.jsx(J,{color:"text.primary",children:o.jsx(ge,{maxLength:c?6:30,children:x.blockletTitle})})]});if(!u.length)return o.jsxs(o.Fragment,{children:[S,o.jsxs(z,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(z,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:e("blocklet.publish.releaseEmptyTip")}),o.jsx(z,{sx:{fontSize:14,color:"text.secondary",mb:3},children:e("blocklet.publish.createReleaseTip")}),o.jsx(pe,{to:"create/none",children:o.jsx(Ue,{variant:"contained",children:e("blocklet.publish.createRelease")})})]})]});const N=[{label:e("common.version"),name:"blockletVersion",minWidth:160,options:{customBodyRenderLite:I=>{const k=u[I];return o.jsx(pe,{to:`view/${k.id}`,children:o.jsx(j1,{did:d.meta.did,projectId:x.id,logo:k.blockletLogo,title:k.blockletVersion,describe:k.blockletTitle})})}}},{label:e("blocklet.publish.releaseNote"),name:"note",options:{customBodyRenderLite:I=>{const k=u[I];return o.jsx(J,{className:"note",children:k.note||""})}}},{label:e("common.status"),name:"status",options:{customBodyRender:I=>o.jsx(v0,{type:I==="published"?"success":"warning",children:I==="published"?"Released":Y0(I)})}},{label:e("common.lastPublishedAt"),name:"updatedAt",options:{customBodyRenderLite:I=>{const k=u[I];return k.status!==we.PROJECT.RELEASE_STATUS.published?"":o.jsx(u0,{value:Number(k.updatedAt),locale:t})}}},{label:e("common.actions"),name:"actions",options:{customBodyRenderLite:I=>{var L;const k=u[I];let F="",D="";const P=k.status==="published";if(P){const H=he(i,`/api/project/${d.meta.did}/${x.id}/${x.lastReleaseId}/release/blocklet.json`),O=new URL(i);O.pathname=he(O.pathname,"/launch-blocklet/agreement"),O.searchParams.set("blocklet_meta_url",H),F=O.href,D=he(`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${d.meta.did}/${x.id}/${x.lastReleaseId}/download/${(x.lastReleaseFiles||[])[0]}`)}const M=(L=x.blockletComponents)!=null&&L.some(H=>H.included)||k.uploadedResource?"pack":"resource";return o.jsxs(z,{display:"flex",alignItems:"center",children:[P&&M==="pack"&&o.jsx(ve,{title:e("blocklet.publish.install",{name:x.blockletTitle}),placement:"top",children:o.jsx(ie,{color:"secondary","aria-label":"create",children:o.jsx("a",{style:{display:"flex"},href:F,target:"_blank",rel:"noreferrer",children:o.jsx(k0,{sx:{fontSize:18}})})})}),P&&o.jsx(ve,{title:e("blocklet.publish.download",{name:x.blockletTitle}),placement:"top",children:o.jsx(ie,{color:"primary","aria-label":"download",children:o.jsx("a",{style:{display:"flex"},href:D,children:o.jsx(g2,{sx:{fontSize:18}})})})}),o.jsx(ve,{title:e("blocklet.publish.delete",{name:x.blockletTitle}),placement:"top",children:o.jsx(ie,{color:"primary","aria-label":"delete",onClick:()=>C(k),children:o.jsx(m0,{sx:{fontSize:18}})})})]})}}}];return o.jsxs(Mt,{children:[o.jsxs(z,{className:"header",children:[S,o.jsx(pe,{to:"new-release/none",children:o.jsxs(Ue,{variant:"contained",children:[o.jsx(p1,{style:{fontSize:"1.3em",marginRight:4}}),e("blocklet.publish.createRelease")]})})]}),o.jsx(h1,{className:"main-table",verticalKeyWidth:100,locale:t,data:u,columns:N,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),y&&o.jsx(f1,{title:e(`${e("common.delete")} ${y.blockletVersion}`),description:e("blocklet.publish.deleteReleaseTip"),confirm:e("common.confirm"),onConfirm:v,onCancel:()=>p(null)})]})}const Mt=ae(z)`
6
+ `;var y1={},Mt=Te;Object.defineProperty(y1,"__esModule",{value:!0});var M0=y1.default=void 0,It=Mt(Pe()),Q1=o;M0=y1.default=(0,It.default)([(0,Q1.jsx)("path",{d:"M20 17H4V5h8V3H4c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h4v2h8v-2h4c1.1 0 2-.9 2-2v-3h-2z"},"0"),(0,Q1.jsx)("path",{d:"m17 14 5-5-1.41-1.41L18 10.17V3h-2v7.17l-2.59-2.58L12 9z"},"1")],"InstallDesktop");function Lt(){var T;const{t:e,locale:t}=te(),{projectId:l}=Qe(),{api:s}=ye(),[n,c]=R.useState(!0),{blocklet:d}=Ne(),a=$e(I=>I.breakpoints.down("md")),[u,h]=R.useState(null),[x,g]=R.useState(null),[y,p]=R.useState(null),i=(T=window.env)==null?void 0:T.serverEndpoint,m=()=>{s.getReleases({input:{did:d.meta.did,projectId:l}}).then(I=>{const k=(I==null?void 0:I.releases)||[];c(!1),h(k)}).catch(I=>{c(!1),$.error(I.message)})},w=()=>{s.doBatchQuery({getProject:{input:{did:d.meta.did,projectId:l}},getReleases:{input:{did:d.meta.did,projectId:l}}}).then(I=>{g(I.getProject.project||{}),h(I.getReleases.releases||[]),c(!1)}).catch(I=>{c(!1),$.error(I.message)})};R.useEffect(()=>{w()},[]);const v=()=>{c(!1);const I=y.id;s.deleteRelease({input:{did:d.meta.did,projectId:l,releaseId:I}}).then(()=>{c(!1),m(),$.success(e("common.removeSuccess")),p(null)}).catch(k=>{c(!1),$.error(k.message)})},C=I=>{p(I)};if(!u&&n)return o.jsx(z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(ze,{})});if(!u)return null;const S=o.jsxs(z0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(he,{to:"..",children:e("common.blockletStudio")}),o.jsx(Q,{color:"text.primary",children:o.jsx(ge,{maxLength:a?6:30,children:x.blockletTitle})})]});if(!u.length)return o.jsxs(o.Fragment,{children:[S,o.jsxs(z,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(z,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:e("blocklet.publish.releaseEmptyTip")}),o.jsx(z,{sx:{fontSize:14,color:"text.secondary",mb:3},children:e("blocklet.publish.createReleaseTip")}),o.jsx(he,{to:"create/none",children:o.jsx(Ge,{variant:"contained",children:e("blocklet.publish.createRelease")})})]})]});const N=[{label:e("common.version"),name:"blockletVersion",minWidth:160,options:{customBodyRenderLite:I=>{const k=u[I];return o.jsx(he,{to:`view/${k.id}`,children:o.jsx(R1,{did:d.meta.did,projectId:x.id,logo:k.blockletLogo,title:k.blockletVersion,describe:k.blockletTitle})})}}},{label:e("blocklet.publish.releaseNote"),name:"note",options:{customBodyRenderLite:I=>{const k=u[I];return o.jsx(Q,{className:"note",children:k.note||""})}}},{label:e("common.status"),name:"status",options:{customBodyRender:I=>o.jsx(b0,{type:I==="published"?"success":"warning",children:I==="published"?"Released":Z0(I)})}},{label:e("common.lastPublishedAt"),name:"updatedAt",options:{customBodyRenderLite:I=>{const k=u[I];return k.status!==Re.PROJECT.RELEASE_STATUS.published?"":o.jsx(h0,{value:Number(k.updatedAt),locale:t})}}},{label:e("common.actions"),name:"actions",options:{customBodyRenderLite:I=>{var L;const k=u[I];let F="",V="";const P=k.status==="published";if(P){const H=fe(i,`/api/project/${d.meta.did}/${x.id}/${x.lastReleaseId}/release/blocklet.json`),O=new URL(i);O.pathname=fe(O.pathname,"/launch-blocklet/agreement"),O.searchParams.set("blocklet_meta_url",H),F=O.href,V=fe(`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${d.meta.did}/${x.id}/${x.lastReleaseId}/download/${(x.lastReleaseFiles||[])[0]}`)}const M=(L=x.blockletComponents)!=null&&L.some(H=>H.included)||k.uploadedResource?"pack":"resource";return o.jsxs(z,{display:"flex",alignItems:"center",children:[P&&M==="pack"&&o.jsx(ve,{title:e("blocklet.publish.install",{name:x.blockletTitle}),placement:"top",children:o.jsx(ce,{color:"secondary","aria-label":"create",children:o.jsx("a",{style:{display:"flex"},href:F,target:"_blank",rel:"noreferrer",children:o.jsx(M0,{sx:{fontSize:18}})})})}),P&&o.jsx(ve,{title:e("blocklet.publish.download",{name:x.blockletTitle}),placement:"top",children:o.jsx(ce,{color:"primary","aria-label":"download",children:o.jsx("a",{style:{display:"flex"},href:V,children:o.jsx(j2,{sx:{fontSize:18}})})})}),o.jsx(ve,{title:e("blocklet.publish.delete",{name:x.blockletTitle}),placement:"top",children:o.jsx(ce,{color:"primary","aria-label":"delete",onClick:()=>C(k),children:o.jsx(g0,{sx:{fontSize:18}})})})]})}}}];return o.jsxs(Pt,{children:[o.jsxs(z,{className:"header",children:[S,o.jsx(he,{to:"new-release/none",children:o.jsxs(Ge,{variant:"contained",children:[o.jsx(f1,{style:{fontSize:"1.3em",marginRight:4}}),e("blocklet.publish.createRelease")]})})]}),o.jsx(x1,{className:"main-table",verticalKeyWidth:100,locale:t,data:u,columns:N,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),y&&o.jsx(m1,{title:e(`${e("common.delete")} ${y.blockletVersion}`),description:e("blocklet.publish.deleteReleaseTip"),confirm:e("common.confirm"),onConfirm:v,onCancel:()=>p(null)})]})}const Pt=de(z)`
7
7
  .header {
8
8
  display: flex;
9
9
  align-items: center;
@@ -19,7 +19,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
19
19
  word-break: break-all;
20
20
  white-space: pre-line;
21
21
  }
22
- `;var b={},$e;Object.defineProperty(b,"__esModule",{value:!0});b.WalletTextLogo=b.Tx=b.Token=b.Team=b.Switch=b.StoreLogoNotext=b.StoreLogoBg=b.StoreLogo=b.Store=b.Setting=b.ServerLogoNotext=b.ServerLogoBg=b.ServerLogo=b.Server=b.Rollup=b.RevokeIcon=b.QuestionMarkCircle=b.Plan=b.PersonIcon=b.Pending=b.PassportIcon=b.OpenIn=b.Notification=b.NFT=b.Mobile=b.Log=b.LockIcon=b.LauncherLogoNotext=b.LauncherLogoBg=b.LauncherLogo=b.Label=b.Key=b.Globe=b.ForbidLoginIcon=b.ExternalIssuerIcon=$e=b.EmptyIcon=b.EditIcon=b.Disconnect=b.DidWalletLogo=b.DidWallet=b.DidLogoColorful=b.DidLogo=b.DeleteIcon=b.Dashboard=b.Dapp=b.Copy=b.ConnectLogo=b.Connect=b.Computer=b.CodeFolder=b.Circles=b.BridgeMoveOut=b.BridgeMoveIn=b.Bridge=b.Blocklets=b.Approve=b.AllowLoginIcon=b.Add=b.Account=b.ABTNode=void 0;It(R);var r=o;function It(e){return e&&e.__esModule?e:{default:e}}function J1(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),l.push.apply(l,s)}return l}function j(e){for(var t=1;t<arguments.length;t++){var l=arguments[t]!=null?arguments[t]:{};t%2?J1(Object(l),!0).forEach(function(s){Lt(e,s,l[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):J1(Object(l)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(l,s))})}return e}function Lt(e,t,l){return t=Pt(t),t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function Pt(e){var t=Tt(e,"string");return typeof t=="symbol"?t:String(t)}function Tt(e,t){if(typeof e!="object"||!e)return e;var l=e[Symbol.toPrimitive];if(l!==void 0){var s=l.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nt=b.Computer=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M5.472.371H60.94c3.061 0 5.565 2.412 5.565 5.473v35.431c0 3.061-2.504 5.658-5.565 5.658H39.328v9.183h15.768c2.319 0 2.504 7.606 2.782 7.884H8.626s0-7.884 2.783-7.884h15.768v-9.183H5.472C2.412 46.933 0 44.336 0 41.275V5.844C0 2.783 2.412.37 5.472.37zm0 40.904H60.94V5.844H5.472v35.431z"})}))};Nt.defaultProps={width:"67",height:"64",viewBox:"0 0 67 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Vt=b.ConnectLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,r.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};Vt.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Dt=b.Copy=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M12.342.063h-9.75A1.63 1.63 0 0 0 .967 1.688v11.374h1.625V1.688h9.75V.063zm2.437 3.25H5.842a1.63 1.63 0 0 0-1.625 1.624v11.375a1.63 1.63 0 0 0 1.625 1.625h8.937a1.63 1.63 0 0 0 1.625-1.625V4.938a1.63 1.63 0 0 0-1.625-1.625zm0 13H5.842V4.938h8.937v11.375z"})}))};Dt.defaultProps={width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"};var _t=b.DidLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"})]}))};_t.defaultProps={width:"43",height:"42",viewBox:"0 0 43 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Bt=b.DidLogoColorful=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M7.366.646L8.46 0h3.981v11.96H8.564a.381.381 0 0 1-.194-.053L4.18 9.431V2.53l.508-.3.893.528-.508.3v5.845L8.7 11.046h2.85V.914h-2.85l-.44.26-.893-.528z",fill:"color(display-p3 .4196 .7412 .9961)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.868 8.903V3.057L4.242.915H1.393v10.132h2.85l.44-.26.893.527-1.095.647H.5V0h3.981l4.28 2.53v6.9l-.506.3-.893-.528.506-.299z",fill:"color(display-p3 .2706 .5961 .9804)"})]}))};Bt.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};var Et=b.DidWallet=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,r.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"url(#paint0_linear)"}),(0,r.jsx)("path",{d:"M3.52 7.36A2.56 2.56 0 0 1 6.08 4.8h19.84a2.56 2.56 0 0 1 2.56 2.56v12.16a2.56 2.56 0 0 1-2.56 2.56H6.08a2.56 2.56 0 0 1-2.56-2.56V7.36z",fill:"#9FCBFF",filter:"url(#filter0_i)"}),(0,r.jsx)("path",{d:"M2.56 9.28a2.56 2.56 0 0 1 2.56-2.56h21.76a2.56 2.56 0 0 1 2.56 2.56v13.6a2.56 2.56 0 0 1-2.56 2.56H5.12a2.56 2.56 0 0 1-2.56-2.56V9.28z",fill:"url(#paint1_linear)",filter:"url(#filter1_d)"}),(0,r.jsx)("path",{d:"M0 22.32l32-6.16V32H0v-9.68z",fill:"url(#paint2_linear)",filter:"url(#filter2_d)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.536 9.248h8.288c.408 0 .74.3.74.672v4.64c0 .371-.332.672-.74.672H5.536c-.408 0-.74-.3-.74-.672v-.04a.158.158 0 1 0-.316 0v.04c0 .53.473.96 1.056.96h8.288c.583 0 1.056-.43 1.056-.96V9.92c0-.53-.473-.96-1.056-.96H5.536c-.583 0-1.056.43-1.056.96v.04a.158.158 0 0 0 .317 0v-.04c0-.371.33-.672.739-.672zm-1.023 4.638a.127.127 0 0 0 .087.034h1.267c.472 0 .83-.107 1.076-.322.25-.217.381-.548.397-.993a11.281 11.281 0 0 0 0-.734c-.012-.426-.148-.751-.406-.975-.258-.224-.622-.336-1.09-.336H4.6a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.794-.806c-.099.1-.253.149-.464.149h-.502V11.25h.478c.21 0 .369.051.474.154.108.102.166.26.172.475.006.09.01.208.01.355s-.004.267-.01.36c-.006.221-.059.383-.158.485zm1.63.806a.127.127 0 0 0 .087.034h.64a.116.116 0 0 0 .087-.034.11.11 0 0 0 .038-.086v-3.12a.11.11 0 0 0-.038-.086.116.116 0 0 0-.086-.034h-.641a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.637.034a.127.127 0 0 1-.086-.034.128.128 0 0 1-.033-.086v-3.12c0-.035.01-.064.033-.086a.127.127 0 0 1 .086-.034h1.244c.469 0 .832.112 1.09.336.259.224.394.549.407.974a11.244 11.244 0 0 1 0 .735c-.016.445-.148.776-.397.993-.245.215-.604.322-1.076.322H9.574zm1.244-.691c.21 0 .365-.05.464-.149.099-.102.152-.264.158-.485a5.52 5.52 0 0 0 .01-.36c0-.147-.004-.265-.01-.355-.006-.214-.064-.373-.172-.475-.106-.103-.263-.154-.474-.154h-.478v1.978h.502zm2.468-1.382a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.286-.288.286zm0 1.495a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.287-.288.287z",fill:"#4598FA"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_i",x:"3.52",y:"1.8",width:"24.96",height:"20.28",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{dy:"-3"}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,r.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),(0,r.jsx)("feBlend",{in2:"shape",result:"effect1_innerShadow"})]}),(0,r.jsxs)("filter",{id:"filter1_d",x:"-1.44",y:"1.72",width:"34.88",height:"26.72",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{dy:"-1"}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0.220767 0 0 0 0 0.470803 0 0 0 0 0.701605 0 0 0 0.18 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,r.jsxs)("filter",{id:"filter2_d",x:"-5",y:"11.16",width:"42",height:"25.84",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0.14382 0 0 0 0 0.205065 0 0 0 0 0.522634 0 0 0 0.25 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear",x1:"16",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#4F9DF6"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#0A79F8"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear",x1:"16",y1:"6.72",x2:"16",y2:"25.44",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#fff"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#ECEFFF"})]}),(0,r.jsxs)("linearGradient",{id:"paint2_linear",x1:"16",y1:"19.2",x2:"18.48",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:".007",stopColor:"#77B2F6"}),(0,r.jsx)("stop",{offset:".055",stopColor:"#4F9DF6"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#4598FA"})]}),(0,r.jsx)("clipPath",{id:"clip0",children:(0,r.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"#fff"})})]})]}))};Et.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var At=b.Disconnect=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.012 2.012a4.25 4.25 0 0 0-5.463.462l-1.068 1.069a1.75 1.75 0 0 0 0 2.474l3.585 3.586a1.75 1.75 0 0 0 2.475 0l1.068-1.068a4.251 4.251 0 0 0 .463-5.463L21.78 3.28zm-3.585 2.475l.022.023.003.002.002.003.023.022a2.75 2.75 0 0 1 0 3.89l-1.068 1.067a.25.25 0 0 1-.354 0l-3.586-3.585a.251.251 0 0 1 0-.354l1.068-1.068a2.75 2.75 0 0 1 3.89 0zM10.78 11.28a.75.75 0 1 0-1.06-1.06L8 11.94l-.47-.47a.75.75 0 0 0-1.06 0l-1.775 1.775a4.251 4.251 0 0 0-.463 5.463L2.22 20.72a.75.75 0 1 0 1.06 1.06l2.012-2.012a4.251 4.251 0 0 0 5.463-.463l1.775-1.775a.75.75 0 0 0 0-1.06l-.47-.47 1.72-1.72a.75.75 0 1 0-1.06-1.06L11 14.94 9.06 13l1.72-1.72zm-3.314 2.247l.004.003.003.004 2.993 2.993.004.003.003.004.466.466-1.244 1.245a2.75 2.75 0 0 1-3.89 0l-.05-.05a2.75 2.75 0 0 1 0-3.89L7 13.062l.466.466v-.001z",fill:"currentColor"})}))};At.defaultProps={viewBox:"0 0 24 24",fill:"none"};var Ot=b.Mobile=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M3.833.833h13.334A3.333 3.333 0 0 1 20.5 4.167v26.666a3.333 3.333 0 0 1-3.333 3.334H3.833A3.333 3.333 0 0 1 .5 30.833V4.168A3.333 3.333 0 0 1 3.833.833zm0 3.334v25h13.334v-25H3.833z"})}))};Ot.defaultProps={width:"21",height:"35",viewBox:"0 0 21 35",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Ht=b.OpenIn=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.924 3.617a.997.997 0 0 0-.215-.322l-.004-.004A.997.997 0 0 0 20 3h-6a1 1 0 1 0 0 2h3.586l-7.293 7.293a1 1 0 1 0 1.414 1.414L19 6.414V10a1 1 0 0 0 2 0V3.997a.999.999 0 0 0-.076-.38zM3 8a5 5 0 0 1 5-5h1a1 1 0 0 1 0 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-1a1 1 0 0 1 2 0v1a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z",fill:"currentColor"})}))};Ht.defaultProps={viewBox:"0 0 24 24",fill:"none"};var $t=b.Switch=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M4 17l4-4m0-6h12H8zm12 0l-4-4 4 4zm0 0l-4 4 4-4zm-4 10H4h12zM4 17l4 4-4-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))};$t.defaultProps={viewBox:"0 0 24 24",fill:"none"};var Ft=b.EditIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M6.04 17.625a.953.953 0 0 0 .14-.012l3.943-.691a.23.23 0 0 0 .124-.066l9.935-9.935a.233.233 0 0 0 0-.33l-3.895-3.898a.232.232 0 0 0-.167-.068.232.232 0 0 0-.166.068l-9.935 9.935a.238.238 0 0 0-.066.124l-.691 3.943a.785.785 0 0 0 .22.698c.155.15.35.232.558.232zm1.58-4.088l8.5-8.498 1.718 1.718-8.5 8.498-2.084.368.366-2.085zm13.005 6.057H3.375a.75.75 0 0 0-.75.75v.843c0 .104.084.188.188.188h18.375a.188.188 0 0 0 .187-.188v-.843a.75.75 0 0 0-.75-.75z"})}))};Ft.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var qt=b.DeleteIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M8.438 4.313H8.25a.188.188 0 0 0 .188-.188v.188h7.124v-.188c0 .103.085.188.188.188h-.188V6h1.688V4.125c0-.827-.673-1.5-1.5-1.5h-7.5c-.827 0-1.5.673-1.5 1.5V6h1.688V4.312zM20.25 6H3.75a.75.75 0 0 0-.75.75v.75c0 .103.084.188.188.188h1.415l.579 12.257c.038.8.698 1.43 1.498 1.43h10.64c.802 0 1.46-.628 1.498-1.43l.579-12.258h1.416A.188.188 0 0 0 21 7.5v-.75a.75.75 0 0 0-.75-.75zm-3.11 13.688H6.86l-.567-12h11.414l-.567 12z"})}))};qt.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var Ut=b.PassportIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.333 4.292c0-.46.373-.834.834-.834h12.25c.46 0 .833.373.833.834v14.875c0 .46-.373.833-.833.833H4.167a.833.833 0 0 1-.834-.833V4.292zM5 5.125v13.208h10.583V5.125H5z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.297 1.004a.833.833 0 0 1 .328.663v2.625a.833.833 0 1 1-1.667 0V2.758L4.386 5.096a.833.833 0 1 1-.439-1.608L13.572.863a.833.833 0 0 1 .726.141zM10.292 9.5a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833zm-2.584.917a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0zM7.708 14.792c0-.46.373-.834.834-.834h3.5a.833.833 0 0 1 0 1.667h-3.5a.833.833 0 0 1-.834-.833z"})]}))};Ut.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Wt=b.ExternalIssuerIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zM5.627 13.213c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zM15.64 11.313c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833l-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04c.133.129.194.315.162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})]}))};Wt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Gt=b.AllowLoginIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,r.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"}),(0,r.jsx)("rect",{x:"15.313",y:"14.063",width:"7.5",height:"1.875",rx:".938",transform:"rotate(-90 15.313 14.063)"})]}))};Gt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Kt=b.ForbidLoginIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,r.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"})]}))};Kt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Xt=b.LockIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M11.78 2.25c-2.767 0-5.019 2.271-5.019 5.063v3.037H5.758a2.018 2.018 0 0 0-2.008 2.025v8.1c0 1.117.9 2.025 2.008 2.025h12.045a2.018 2.018 0 0 0 2.007-2.025v-8.1c0-1.117-.9-2.025-2.007-2.025h-1.004V7.313c0-2.792-2.251-5.063-5.019-5.063zm6.023 10.125l.002 8.1H5.758v-8.1h12.045zM8.769 10.35V7.313c0-1.675 1.35-3.038 3.011-3.038 1.66 0 3.011 1.363 3.011 3.037v3.038H8.77z"})}))};Xt.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var Jt=b.PersonIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("g",{clipPath:"url(#clip0)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0",children:(0,r.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};Jt.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};var Qt=b.RevokeIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};Qt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Yt=b.Dapp=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M6.404 28a2.404 2.404 0 0 1-2.393-2.173L4 25.596V7.966a2.404 2.404 0 0 1 2.173-2.394l.231-.011h7.213a2.404 2.404 0 0 1 2.393 2.172l.01.232v.407l3.51-3.637a2.404 2.404 0 0 1 3.216-.22l.186.161 4.42 4.368a2.404 2.404 0 0 1 .177 3.223l-.165.186-3.704 3.526h.375a2.404 2.404 0 0 1 2.393 2.172l.011.232v7.213a2.404 2.404 0 0 1-2.172 2.393l-.232.011H6.405zm8.014-10.418H5.603v8.014a.801.801 0 0 0 .522.752l.135.036.144.013h8.014v-8.815zm9.617 0H16.02v8.815h8.014a.802.802 0 0 0 .788-.657l.013-.144v-7.213a.802.802 0 0 0-.657-.788l-.144-.013zM16.02 13.11v2.87h2.869l-2.87-2.87zm-2.404-5.946H6.404a.801.801 0 0 0-.788.657l-.013.144v8.014h8.815V7.965a.801.801 0 0 0-.522-.752l-.135-.036-.144-.013zm8.21-1.326a.806.806 0 0 0-1.035-.085l-.109.096-4.192 4.349a.801.801 0 0 0-.092.998l.101.125 4.193 4.192a.801.801 0 0 0 .994.112l.125-.098 4.42-4.21a.802.802 0 0 0 .087-1.023l-.095-.11-4.398-4.346z",fill:"currentColor"})}))};Yt.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Zt=b.Add=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4a1.333 1.333 0 0 0-1.333 1.333v9.334H5.333A1.333 1.333 0 0 0 4 15.992a1.253 1.253 0 0 0 1.353 1.288h9.314v9.387a1.333 1.333 0 1 0 2.666 0v-9.334h9.334a1.333 1.333 0 1 0 0-2.666h-9.334V5.333A1.333 1.333 0 0 0 16 4z",fill:"currentColor"})}))};Zt.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var eo=b.NFT=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.654 12.75c-.533 0-.904.404-.904.829V24.42c0 .425.371.829.904.829h18.692c.532 0 .904-.404.904-.829V13.58c0-.425-.372-.829-.904-.829H5.654zm-2.404.829c0-1.319 1.11-2.329 2.404-2.329h18.692c1.294 0 2.404 1.01 2.404 2.329V24.42c0 1.319-1.11 2.329-2.404 2.329H5.654c-1.294 0-2.404-1.01-2.404-2.329V13.58zM8.25 6A.75.75 0 0 1 9 5.25h12.25a.75.75 0 0 1 0 1.5H9A.75.75 0 0 1 8.25 6zM6.25 9A.75.75 0 0 1 7 8.25h15.75a.75.75 0 0 1 0 1.5H7A.75.75 0 0 1 6.25 9z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.762 22a.3.3 0 0 0 .3-.3v-2.85c0-.303.398-.416.556-.157l1.934 3.163a.3.3 0 0 0 .256.144h.637a.3.3 0 0 0 .3-.3v-5.4a.3.3 0 0 0-.3-.3h-.462a.3.3 0 0 0-.3.3v2.837c0 .302-.397.415-.555.157l-1.943-3.151A.3.3 0 0 0 7.93 16H7.3a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.462zm5.756 0a.3.3 0 0 0 .3-.3v-1.905a.3.3 0 0 1 .3-.3h2.273a.3.3 0 0 0 .3-.3v-.39a.3.3 0 0 0-.3-.3h-2.273a.3.3 0 0 1-.3-.3v-.916a.3.3 0 0 1 .3-.3h2.656a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-3.762a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.506zm7.258 0a.3.3 0 0 0 .3-.3v-4.436a.3.3 0 0 1 .3-.3H22.7a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-4.359a.3.3 0 0 0-.3.3v.364a.3.3 0 0 0 .3.3h1.329a.3.3 0 0 1 .3.3V21.7a.3.3 0 0 0 .3.3h.506z",fill:"currentColor"})]}))};eo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var to=b.Rollup=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M18 21.5H6.5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a3 3 0 0 0 3-3v-14m0 0H26a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-.5a2 2 0 0 0-2 2v3.5z",stroke:"currentColor",strokeWidth:"1.6"}),(0,r.jsx)("path",{d:"M8 21.5V8a3 3 0 0 1 3-3h15",stroke:"currentColor",strokeWidth:"1.6"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.895 10.05a.65.65 0 0 0-.211.14l-2.493 2.494a.651.651 0 1 0 .92.92l1.382-1.38v4.125a.651.651 0 1 0 1.302 0v-4.126l1.381 1.381a.651.651 0 0 0 .921-.92l-2.492-2.492-.008-.008a.65.65 0 0 0-.702-.135z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M16 23.5v2a2 2 0 1 0 4 0v-2a2 2 0 1 0-4 0z",stroke:"currentColor",strokeWidth:"1.6"})]}))};to.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var oo=b.Token=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.272 10.48c-1.93 1.272-5.138 1.944-8.24 1.944-3.095 0-6.313-.668-8.213-1.977v4.198c0 1.16 2.768 2.756 7.368 2.935.318.012.606.191.755.469a.866.866 0 0 1-.035.878.896.896 0 0 1-.79.409c-2.792-.103-5.573-.763-7.314-1.909v4.188c0 1.16 2.769 2.755 7.368 2.935a.894.894 0 0 1 .753.472.867.867 0 0 1-.039.878.897.897 0 0 1-.791.405C8.529 26.095 4 24.47 4 21.603V7.713C4 4.654 9.17 3 14.032 3c4.863 0 10.032 1.66 10.032 4.714v3.4a.889.889 0 0 1-.896.882.889.889 0 0 1-.896-.882v-.633zm0-2.766c0-1.233-3.133-2.95-8.24-2.95s-8.244 1.71-8.244 2.942c0 1.233 3.152 2.95 8.244 2.95 5.091 0 8.24-1.71 8.24-2.942zm-.225 5.675c-4.44 0-6.763 1.684-6.763 3.344v8.924c0 1.66 2.327 3.343 6.763 3.343 4.437 0 6.732-1.657 6.771-3.305v-8.962c0-1.664-2.327-3.344-6.77-3.344zm4.98 3.344c0-.477-1.695-1.584-4.98-1.584-3.28 0-4.975 1.11-4.975 1.584 0 .473 1.695 1.58 4.976 1.58 3.28 0 4.979-1.103 4.979-1.58zm-4.98 10.504c-3.28 0-4.975-1.107-4.975-1.58v-2.13c1.136.607 2.804 1.007 4.976 1.007 2.171 0 3.842-.381 4.979-1.007v2.13c.003.473-1.699 1.58-4.98 1.58zm-4.975-6.046c0 .477 1.695 1.584 4.976 1.584 3.28.004 4.983-1.107 4.979-1.584v-2.137c-1.137.614-2.808 1.01-4.98 1.01-2.171 0-3.839-.404-4.975-1.01v2.137z",fill:"currentColor"})}))};oo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var lo=b.Tx=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.727 4.773h11.819A2.955 2.955 0 0 1 24.5 7.727v16.546a2.955 2.955 0 0 1-2.954 2.954H9.726a2.955 2.955 0 0 1-2.954-2.954V7.727a2.955 2.955 0 0 1 2.954-2.954zM5 7.727A4.727 4.727 0 0 1 9.727 3h11.819a4.727 4.727 0 0 1 4.727 4.727v16.546A4.727 4.727 0 0 1 21.546 29H9.726A4.727 4.727 0 0 1 5 24.273V7.727zM11.796 9.5a.886.886 0 1 0 0 1.773h7.681a.886.886 0 1 0 0-1.773h-7.681zm-.887 10.34c0-.489.397-.886.886-.886h7.682a.886.886 0 0 1 0 1.773h-7.681a.886.886 0 0 1-.887-.886zm.886-5.613a.886.886 0 1 0 0 1.773h7.682a.886.886 0 0 0 0-1.773h-7.681z",fill:"currentColor"})}))};lo.defaultProps={width:"32",height:"33",viewBox:"0 0 32 33",xmlns:"http://www.w3.org/2000/svg"};var ro=b.Connect=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("circle",{cx:"24",cy:"24",r:"24"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.76 28.844a1.4 1.4 0 0 1 1.98 0l2.917 2.916a1.4 1.4 0 0 1 0 1.98l-2.917 2.917a1.4 1.4 0 0 1-1.98-1.98l1.927-1.927-1.927-1.927a1.4 1.4 0 0 1 0-1.98zM12.027 12.027a3.733 3.733 0 1 1 5.28 5.28 3.733 3.733 0 0 1-5.28-5.28zm2.64 1.707a.933.933 0 1 0 0 1.866.933.933 0 0 0 0-1.866z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6 14.667a1.4 1.4 0 0 1 1.4-1.4h4.667A3.733 3.733 0 0 1 25.4 17v13.417a.933.933 0 0 0 .933.933h9.334a1.4 1.4 0 1 1 0 2.8h-9.334a3.733 3.733 0 0 1-3.733-3.733V17a.933.933 0 0 0-.933-.933H17a1.4 1.4 0 0 1-1.4-1.4z",fill:"#fff"})]}))};ro.defaultProps={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var so=b.WalletTextLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.22.878h25.268c1.244 0 2.253.917 2.253 2.049v14.146c0 1.132-1.009 2.049-2.253 2.049H3.22c-1.245 0-2.254-.917-2.254-2.049v-.12a.483.483 0 0 0-.966 0v.12C0 18.69 1.441 20 3.22 20h25.268c1.778 0 3.22-1.31 3.22-2.927V2.927C31.707 1.31 30.265 0 28.487 0H3.22C1.44 0 0 1.31 0 2.927v.12a.483.483 0 1 0 .966 0v-.12C.966 1.795 1.975.878 3.22.878zM.102 15.02a.387.387 0 0 0 .263.103h3.864c1.439 0 2.533-.327 3.281-.98.759-.664 1.162-1.674 1.21-3.03.01-.273.015-.644.015-1.112 0-.469-.005-.844-.014-1.127-.04-1.298-.452-2.288-1.24-2.97-.787-.684-1.896-1.025-3.325-1.025H.365a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm5.469-2.458c-.302.302-.773.453-1.415.453H2.625V6.986h1.458c.642 0 1.123.156 1.444.468.33.313.506.795.525 1.45.02.272.03.633.03 1.082 0 .449-.01.815-.03 1.098-.02.673-.18 1.165-.481 1.478zm4.97 2.458a.388.388 0 0 0 .262.103h1.955a.355.355 0 0 0 .262-.103.334.334 0 0 0 .117-.263V5.245a.334.334 0 0 0-.117-.264.355.355 0 0 0-.262-.102h-1.954a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm4.99.103a.388.388 0 0 1-.262-.103.39.39 0 0 1-.102-.263V5.245c0-.108.034-.196.102-.264a.388.388 0 0 1 .263-.102h3.791c1.43 0 2.538.341 3.325 1.024.788.683 1.201 1.673 1.24 2.97.01.284.014.66.014 1.128 0 .468-.004.839-.014 1.112-.049 1.356-.452 2.366-1.21 3.03-.75.653-1.843.98-3.282.98h-3.864zm3.792-2.108c.642 0 1.113-.15 1.415-.453.301-.313.462-.805.481-1.478.02-.283.03-.65.03-1.098 0-.449-.01-.81-.03-1.083-.02-.654-.194-1.136-.525-1.449-.32-.312-.802-.468-1.444-.468h-1.458v6.03h1.531zm7.524-4.212a.878.878 0 0 1-.879-.872c0-.482.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872zm0 4.558a.878.878 0 0 1-.879-.872c0-.481.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872z",fill:"#4598FA"}),(0,r.jsx)("path",{d:"M37.138 14.838a.526.526 0 0 1-.365-.122.56.56 0 0 1-.163-.325l-1.474-8.645a.3.3 0 0 1-.014-.095.26.26 0 0 1 .081-.19.285.285 0 0 1 .203-.094h1.678c.252 0 .392.1.42.298l.879 5.276.974-3.111c.099-.244.248-.366.446-.366h.974c.226 0 .375.122.447.366l.974 3.111.88-5.276c.026-.199.166-.298.419-.298h1.677c.081 0 .15.032.203.095a.243.243 0 0 1 .095.19l-.014.094-1.474 8.645a.53.53 0 0 1-.176.325.506.506 0 0 1-.352.122h-1.285a.492.492 0 0 1-.338-.108.646.646 0 0 1-.176-.244l-1.367-3.87-1.366 3.87c-.081.234-.248.352-.5.352h-1.286zM45.929 14.838a.307.307 0 0 1-.203-.081.307.307 0 0 1-.081-.203c0-.055.004-.095.013-.122l3.18-8.686a.492.492 0 0 1 .175-.27.546.546 0 0 1 .352-.109h2.002c.145 0 .262.036.352.108.09.073.15.163.176.271l3.166 8.686.027.122c0 .072-.032.14-.095.203a.276.276 0 0 1-.203.08h-1.664c-.216 0-.36-.094-.433-.283l-.527-1.38h-3.613l-.514 1.38c-.072.19-.22.284-.446.284h-1.664zm5.696-3.613l-1.259-3.571-1.258 3.571h2.517zM56.493 14.838a.36.36 0 0 1-.244-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .244-.095h1.786c.099 0 .18.032.243.095a.33.33 0 0 1 .095.243v7.09h4.1c.099 0 .18.036.243.108a.33.33 0 0 1 .094.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.223zM64.565 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h1.786c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v7.09h4.099c.1 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.224zM72.638 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h6.318c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v1.272a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.094H74.64v1.827h4.019c.099 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.177a.36.36 0 0 1-.095.243.33.33 0 0 1-.243.095H74.64v1.88h4.425c.099 0 .18.032.243.095a.33.33 0 0 1 .095.244v1.271a.36.36 0 0 1-.095.244.33.33 0 0 1-.243.095h-6.427zM83.362 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V7.491h-2.408a.36.36 0 0 1-.243-.094.36.36 0 0 1-.095-.244V5.705c0-.099.031-.18.094-.243a.36.36 0 0 1 .244-.095h7.279c.1 0 .18.032.243.095a.33.33 0 0 1 .095.243v1.448c0 .1-.031.18-.095.244a.33.33 0 0 1-.243.094h-2.408V14.5a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.095h-1.785z",fill:"#334660"})]}))};so.defaultProps={width:"89",height:"20",viewBox:"0 0 89 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var no=b.Pending=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("circle",{opacity:".2",cx:"12",cy:"12",r:"12"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"7.385"})]}))};no.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var io=b.ABTNode=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 9.2c.81 0 1.467.657 1.467 1.467v16c0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065v-16a1.467 1.467 0 1 1 2.933 0v16c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087v-16c0-.81.656-1.467 1.466-1.467z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 17.2c.81 0 1.467.657 1.467 1.467 0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065a1.467 1.467 0 1 1 2.933 0c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-.81.656-1.467 1.466-1.467z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.339 9.601c-.427.449-.539.806-.539 1.066s.112.617.539 1.065c.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065 0-.26-.113-.617-.54-1.066-.433-.456-1.13-.933-2.104-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.89 1.435-.973.433-1.67.91-2.104 1.366zm.914-4.046c2.4-1.067 5.611-1.688 9.08-1.688 3.47 0 6.682.621 9.08 1.688 1.199.532 2.259 1.204 3.04 2.024.788.828 1.347 1.874 1.347 3.088 0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.024-2.398 1.067-5.61 1.689-9.08 1.689-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-1.214.56-2.26 1.347-3.088.78-.82 1.84-1.492 3.039-2.024zM34.667 35.867c.81 0 1.466.656 1.466 1.466v16c0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066v-16a1.467 1.467 0 0 1 2.933 0v16c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088v-16c0-.81.657-1.466 1.467-1.466z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.667 43.867c.81 0 1.466.656 1.466 1.466 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066a1.467 1.467 0 0 1 2.933 0c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088 0-.81.657-1.466 1.467-1.466z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.672 36.268c-.426.448-.539.806-.539 1.065 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066s-.112-.617-.539-1.065c-.434-.456-1.131-.933-2.105-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.889 1.435-.974.433-1.67.91-2.105 1.366zm.914-4.047c2.4-1.066 5.611-1.688 9.08-1.688 3.47 0 6.682.622 9.081 1.688 1.198.533 2.258 1.204 3.039 2.025.788.828 1.347 1.873 1.347 3.087 0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088s.56-2.26 1.347-3.087c.781-.82 1.841-1.492 3.04-2.025zM41.2 8c0-.81.657-1.467 1.467-1.467h8a6.8 6.8 0 0 1 6.8 6.8v8a1.467 1.467 0 0 1-2.934 0v-8a3.866 3.866 0 0 0-3.866-3.866h-8c-.81 0-1.467-.657-1.467-1.467zM8 41.2c.81 0 1.467.657 1.467 1.467v8a3.867 3.867 0 0 0 3.866 3.866h8a1.467 1.467 0 1 1 0 2.934h-8a6.8 6.8 0 0 1-6.8-6.8v-8c0-.81.657-1.467 1.467-1.467z"})]}))};io.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var ao=b.Bridge=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.01 3.2a.8.8 0 0 0-.8.8v12.486a.84.84 0 0 0 0 .026v2.338h-1.2a.8.8 0 1 0 0 1.6h24.3a.8.8 0 0 0 0-1.6h-1.58a.797.797 0 0 0 .08-.35v-1.993a.96.96 0 0 0 0-.024V4a.8.8 0 0 0-.8-.8h-20zm19.281 15.65a.797.797 0 0 1-.08-.35v-1.77l-.03-.047c-.1-.15-.252-.37-.454-.635a14.045 14.045 0 0 0-1.81-1.95C21.319 12.678 19 11.3 16.01 11.3c-2.99 0-5.308 1.377-6.906 2.798a14.044 14.044 0 0 0-1.81 1.95c-.203.265-.354.485-.454.635l-.03.047v2.12h18.48zm-.08-4.722V4.8h-3.4v6.514c.83.489 1.553 1.04 2.169 1.588.47.419.881.837 1.23 1.226zm-5-3.606V4.8h-3.4v4.928c1.248.09 2.383.382 3.4.794zm-5-.794a11.116 11.116 0 0 0-3.4.794V4.8h3.4v4.928zm-5 1.586V4.8h-3.4v9.328c.35-.39.76-.807 1.23-1.226.616-.547 1.34-1.1 2.17-1.588zm-5 12.336a.8.8 0 0 1 .8-.8h20a.8.8 0 1 1 0 1.6h-20a.8.8 0 0 1-.8-.8zm2.8 3.2a.8.8 0 1 0 0 1.6h16a.8.8 0 0 0 0-1.6h-16z",fill:"currentColor"})}))};ao.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var co=b.BridgeMoveIn=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.077.934a.8.8 0 0 0-1.131 1.132L23.08 3.2H8.012a.8.8 0 1 0 0 1.6H23.08l-1.134 1.134a.8.8 0 0 0 1.131 1.132l2.5-2.5a.8.8 0 0 0 0-1.132l-2.5-2.5zm-17.632 8.5a.8.8 0 0 1 .566-.234h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 0 1 0 1.6H4.01a.8.8 0 1 1 0-1.6h1.2v-2.338V10a.8.8 0 0 1 .234-.566zM25.211 24.5c0 .125.029.244.08.35H6.811v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.05 14.05 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.051 14.051 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328a15.53 15.53 0 0 0-1.231-1.226c-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514c-.83.489-1.554 1.041-2.17 1.588-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 0 0 0 1.6h20a.8.8 0 1 0 0-1.6h-20z",fill:"currentColor"})}))};co.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var uo=b.BridgeMoveOut=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.946 7.066a.8.8 0 0 0 1.132-1.132L9.943 4.8h14.069a.8.8 0 0 0 0-1.6H9.943l1.135-1.134A.8.8 0 0 0 9.946.934L7.452 3.428a.804.804 0 0 0-.24.572c0 .225.093.429.242.574l2.492 2.492zM5.444 9.434A.8.8 0 0 1 6.01 9.2h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 1 1 0 1.6H4.01a.8.8 0 0 1 0-1.6h1.2v-2.335V10a.8.8 0 0 1 .234-.566zM25.21 24.5c0 .126.029.244.08.35H6.81v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.044 14.044 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.045 14.045 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328c-.35-.389-.76-.807-1.231-1.226-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514a13.87 13.87 0 0 0-2.17 1.588c-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 1 0 0 1.6h20a.8.8 0 0 0 0-1.6h-20z",fill:"currentColor"})}))};uo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var po=b.DidWalletLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.791a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z",fill:"#6BBDFE"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"#4598FA"}),(0,r.jsx)("path",{d:"M152.732 9.627l-7.02 22.502h-3.009l-5.484-16.688a7.8 7.8 0 0 1-.329-1.207c-.115.48-.225.883-.329 1.207l-5.548 16.688h-2.993L121 9.627h2.789c.293 0 .538.073.737.22a.955.955 0 0 1 .392.563l4.434 15.06c.084.292.157.61.22.955.073.345.146.706.219 1.082.073-.377.146-.737.219-1.082.084-.344.178-.663.282-.956l5.078-15.059c.062-.209.193-.391.391-.548.209-.157.455-.235.737-.235h.956c.292 0 .533.073.721.22.188.145.323.334.407.563l5.061 15.06c.189.574.356 1.227.502 1.958.125-.72.261-1.374.407-1.959l4.451-15.059c.052-.209.183-.391.391-.548.209-.157.455-.235.737-.235h2.601zM162.039 25.062c-1.244.042-2.299.141-3.166.298-.867.146-1.572.345-2.115.595-.543.25-.935.549-1.175.893-.241.335-.361.71-.361 1.129 0 .397.063.741.188 1.034.136.282.314.517.533.705.23.178.496.308.799.392a3.7 3.7 0 0 0 .987.125 5.433 5.433 0 0 0 2.398-.533c.345-.177.674-.391.987-.642.314-.25.622-.538.925-.862v-3.134zm-8.964-6.629c.888-.846 1.849-1.478 2.884-1.896 1.044-.418 2.188-.626 3.431-.626.909 0 1.714.151 2.414.454.7.293 1.29.705 1.77 1.238.481.533.841 1.17 1.082 1.912.25.741.376 1.561.376 2.46v10.154h-1.364c-.303 0-.532-.047-.689-.14-.157-.105-.282-.293-.376-.565l-.329-1.395c-.408.377-.81.71-1.207 1.003a8.387 8.387 0 0 1-1.254.737c-.428.198-.888.35-1.379.454a7.84 7.84 0 0 1-1.629.157 6.1 6.1 0 0 1-1.771-.25 4.064 4.064 0 0 1-1.426-.8 3.824 3.824 0 0 1-.971-1.332c-.23-.533-.345-1.154-.345-1.865 0-.626.167-1.227.501-1.802.345-.585.899-1.107 1.661-1.567.773-.46 1.776-.835 3.009-1.128 1.243-.293 2.768-.46 4.576-.501v-1.16c0-1.201-.256-2.1-.768-2.695-.512-.596-1.264-.893-2.257-.893-.668 0-1.232.083-1.692.25a6.476 6.476 0 0 0-1.175.564 26.04 26.04 0 0 0-.862.549 1.3 1.3 0 0 1-.752.25.904.904 0 0 1-.549-.172 1.49 1.49 0 0 1-.36-.407l-.549-.988zM172.256 9v23.13h-3.071V9h3.071zM179.755 9v23.13h-3.072V9h3.072zM194.665 22.398c0-.606-.088-1.165-.266-1.677a3.714 3.714 0 0 0-.752-1.332 3.46 3.46 0 0 0-1.223-.877c-.48-.21-1.034-.314-1.661-.314-1.285 0-2.298.371-3.04 1.113-.731.742-1.196 1.77-1.394 3.087h8.336zm2.523 7.46c-.376.438-.809.82-1.3 1.143a7.805 7.805 0 0 1-1.567.768 9.5 9.5 0 0 1-1.724.439c-.585.094-1.165.14-1.74.14-1.096 0-2.115-.182-3.055-.548a7.001 7.001 0 0 1-2.429-1.63c-.679-.72-1.212-1.608-1.599-2.663-.376-1.066-.564-2.288-.564-3.667 0-1.108.173-2.137.517-3.087a7.51 7.51 0 0 1 1.473-2.508 6.915 6.915 0 0 1 2.367-1.676c.929-.408 1.974-.611 3.134-.611.971 0 1.865.161 2.679.485a5.869 5.869 0 0 1 2.132 1.38c.595.605 1.06 1.352 1.394 2.24.345.888.517 1.902.517 3.04 0 .47-.052.789-.156.956-.105.157-.298.235-.58.235H186.25c.032.95.168 1.781.408 2.492.24.7.569 1.285.987 1.755.428.47.935.82 1.52 1.05.585.23 1.238.344 1.959.344.679 0 1.264-.078 1.755-.235.501-.156.93-.323 1.285-.501.366-.188.668-.36.909-.517.25-.157.47-.235.658-.235.251 0 .444.094.58.282l.877 1.128zM205.568 32.38c-1.285 0-2.277-.36-2.977-1.081-.689-.721-1.034-1.75-1.034-3.087v-9.528h-1.849a.688.688 0 0 1-.455-.157c-.115-.114-.172-.282-.172-.5v-1.239l2.585-.36.69-4.748a.72.72 0 0 1 .235-.408.708.708 0 0 1 .47-.156h1.551v5.343h4.514v2.225h-4.514v9.324c0 .627.152 1.097.455 1.41.313.303.71.455 1.191.455.282 0 .522-.037.721-.11.209-.073.386-.151.532-.235.147-.094.272-.178.377-.25a.507.507 0 0 1 .282-.11c.104 0 .182.026.235.078a.691.691 0 0 1 .188.22l.909 1.472a5.282 5.282 0 0 1-1.787 1.066 6.232 6.232 0 0 1-2.147.376z",fill:"#4598FA"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z",fill:"#363844"})]}))};po.defaultProps={viewBox:"0 0 210 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ho=b.ServerLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,r.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};ho.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var fo=b.ServerLogoNotext=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_426)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H29.47a.96.96 0 0 1-.924-.697L27.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_426)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_426",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_426",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};fo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var xo=b.ServerLogoBg=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_615_429)",d:"M0 0h119.883v119.883H0z"}),(0,r.jsx)("mask",{id:"mask0_615_429",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,r.jsxs)("g",{mask:"url(#mask0_615_429)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783V-2.927L59.812-29.83z",fill:"#0FA4B7"}),(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783.475-103.641-78.042-30.709z",fill:"#2BE0D7"})]}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.92 50.292l1.466-5.132h6.851l1.466 5.132 4.25 2.453 5.177-1.296 3.425 5.933-3.711 3.835v4.907l3.711 3.835-3.425 5.933-5.178-1.296-4.249 2.453-1.466 5.132h-6.85l-1.467-5.132-4.249-2.453-5.177 1.296-3.425-5.933 3.71-3.835v-4.907l-3.71-3.835 3.425-5.933 5.177 1.296 4.25-2.453z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.812 71.597a7.927 7.927 0 1 0 0-15.853 7.927 7.927 0 0 0 0 15.853z",fill:"#1ABBC4"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_429",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};xo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var mo=b.LauncherLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,r.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};mo.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var vo=b.LauncherLogoNotext=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};vo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var go=b.LauncherLogoBg=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_615_431)",d:"M0 0h119.883v119.883H0z"}),(0,r.jsx)("mask",{id:"mask0_615_431",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,r.jsxs)("g",{mask:"url(#mask0_615_431)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783L-6.439-12.293l66.25-17.538z",fill:"#0FA4B7"}),(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783-1.281-105.982-76.286-28.368z",fill:"#2BE0D7"})]}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.51 18.656-10.772.046.026.045-.026 18.656 10.772 25.131-14.51V59.903z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.445 50.929l10.483-6.13 18.93 11.082.91.517V70.54l-.61.43-19.23 11.256-10.511-6.113.028-25.184z",fill:"#fff"}),(0,r.jsx)("path",{d:"M54.128 55.69l2.196-1.258 13.41 7.803v2.525l-13.462 7.833-2.196-1.267.052-15.636z",fill:"#19B9C3"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_431",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};go.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var bo=b.StoreLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_417)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.903L30.72 14.23 12.288 24.903V46.25L30.72 56.92 49.152 46.25V24.903zm-34.944 1.112l16.512-9.561 16.512 9.56v19.123l-16.512 9.56-16.512-9.56V26.015zm17.471-.59v2.168a6.931 6.931 0 0 1 5.042-2.168h4.135v4.148a6.97 6.97 0 0 1-2.13 5.026h2.13v11.128H20.584V25.425h11.095zm-9.175 1.926v7.276h7.255v-7.276h-7.255zm14.217 0h2.215v2.222c0 2.791-2.256 5.054-5.04 5.054h-2.215v-2.222c0-2.791 2.256-5.054 5.04-5.054zM22.504 43.8h7.255v-7.276h-7.255V43.8zm9.177 0v-7.276h7.255V43.8h-7.255z",fill:"url(#paint1_linear_615_417)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,r.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM99.234 53.306c-1.25 0-2.212-.35-2.884-1.05-.662-.71-.994-1.685-.994-2.926v-8.022h-1.47a.674.674 0 0 1-.476-.182c-.13-.122-.196-.304-.196-.546v-1.372l2.31-.378.728-3.92a.767.767 0 0 1 .266-.434.791.791 0 0 1 .504-.154h1.792v4.522h3.836v2.464h-3.836v7.784c0 .448.108.798.322 1.05.224.252.528.378.91.378.215 0 .392-.024.532-.07a2.91 2.91 0 0 0 .378-.168c.112-.056.21-.108.294-.154a.452.452 0 0 1 .252-.084c.103 0 .187.028.252.084a.96.96 0 0 1 .21.224l1.036 1.68a5.229 5.229 0 0 1-1.736.952 6.46 6.46 0 0 1-2.03.322zM111.111 38.494c1.064 0 2.03.172 2.898.518a6.283 6.283 0 0 1 2.24 1.47c.625.634 1.106 1.409 1.442 2.324.336.914.504 1.936.504 3.066 0 1.138-.168 2.165-.504 3.08-.336.914-.817 1.694-1.442 2.338a6.195 6.195 0 0 1-2.24 1.484c-.868.345-1.834.518-2.898.518-1.073 0-2.049-.173-2.926-.518a6.329 6.329 0 0 1-2.254-1.484c-.616-.644-1.097-1.424-1.442-2.338-.336-.915-.504-1.942-.504-3.08 0-1.13.168-2.152.504-3.066.345-.915.826-1.69 1.442-2.324a6.421 6.421 0 0 1 2.254-1.47c.877-.346 1.853-.518 2.926-.518zm0 12.138c1.195 0 2.077-.402 2.646-1.204.579-.803.868-1.979.868-3.528 0-1.55-.289-2.73-.868-3.542-.569-.812-1.451-1.218-2.646-1.218-1.213 0-2.114.41-2.702 1.232-.579.812-.868 1.988-.868 3.528s.289 2.716.868 3.528c.588.802 1.489 1.204 2.702 1.204zM124.095 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.723.056-1.022.168a2.587 2.587 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM140.122 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.178-.831-.266-1.344-.266-.999 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.205.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.765-.276 1.064-.434.308-.159.574-.304.798-.434.233-.131.457-.196.672-.196.289 0 .504.107.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.316 8.316 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.786-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56a7.03 7.03 0 0 1 2.506.434 5.42 5.42 0 0 1 1.974 1.274c.551.55.98 1.232 1.288 2.044.317.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.327.266-.644.266h-8.89z",fill:"#121319"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_417",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_417",x1:"27.437",y1:"99.536",x2:"97.914",y2:"45.267",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};bo.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var jo=b.StoreLogoNotext=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_427)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm17.471-.589v2.162a6.94 6.94 0 0 1 5.042-2.162h4.135v4.136a6.94 6.94 0 0 1-2.13 5.011h2.13v11.096H21.584V25.35h11.095zm-9.175 1.92v7.255h7.255v-7.255h-7.255zm14.217 0h2.215v2.215a5.04 5.04 0 0 1-5.04 5.04h-2.215v-2.215a5.04 5.04 0 0 1 5.04-5.04zM23.504 43.674h7.255v-7.256h-7.255v7.256zm9.177 0v-7.256h7.255v7.256h-7.255z",fill:"url(#paint1_linear_615_427)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_427",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_427",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};jo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var wo=b.StoreLogoBg=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_615_430)",d:"M0 0h119.883v119.883H0z"}),(0,r.jsx)("mask",{id:"mask0_615_430",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,r.jsxs)("g",{mask:"url(#mask0_615_430)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783 1.95-119.446L59.812-29.83z",fill:"#0FA4B7"}),(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783V-12.878L59.812-29.831z",fill:"#2BE0D7"})]}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.277 61.997V49.162h12.835v12.835H45.277zm25.15-12.835h3.92v3.919a8.916 8.916 0 0 1-8.916 8.916h-3.92v-3.92a8.916 8.916 0 0 1 8.917-8.915zm-25.15 29.017h12.835V65.344H45.277v12.835zm16.235 0V65.344h12.835v12.835H61.512z",fill:"#fff"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_430",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};wo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ro=b.Blocklets=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M4.005 31a3.005 3.005 0 0 1-2.99-2.717L1 27.995V5.956a3.005 3.005 0 0 1 2.717-2.99l.288-.015h9.016a3.005 3.005 0 0 1 2.992 2.715l.014.29v.51l4.385-4.547a3.005 3.005 0 0 1 4.022-.276l.232.202 5.524 5.46a3.005 3.005 0 0 1 .222 4.029l-.206.232-4.63 4.408h.468a3.005 3.005 0 0 1 2.992 2.715l.014.29v9.016a3.006 3.006 0 0 1-2.715 2.991l-.29.014H4.004zm10.018-13.023H3.003v10.018a1.002 1.002 0 0 0 .654.94l.168.046.18.015h10.018V17.977zm12.021 0H16.027v11.02h10.017a1.002 1.002 0 0 0 .986-.822l.016-.18v-9.016a1.002 1.002 0 0 0-.821-.986l-.18-.016zm-10.017-5.59v3.587h3.586l-3.586-3.586zM13.02 4.956H4.005a1.002 1.002 0 0 0-.985.821l-.016.18v10.018h11.02V5.956a1.001 1.001 0 0 0-.654-.94l-.168-.045-.18-.016zm10.262-1.657a1.008 1.008 0 0 0-1.292-.106l-.136.12-5.241 5.435a1.001 1.001 0 0 0-.114 1.248l.126.157 5.241 5.239a1.002 1.002 0 0 0 1.242.14l.156-.122 5.526-5.263a1.002 1.002 0 0 0 .108-1.279l-.118-.138-5.497-5.431z",fill:"currentColor"})}))};Ro.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Co=b.CodeFolder=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.667 5.2a.133.133 0 0 0-.134.133v21.334a.133.133 0 0 0 .134.133h22.666a.133.133 0 0 0 .134-.133V9.333a.133.133 0 0 0-.134-.133H16a1.2 1.2 0 0 1-.922-.432L12.105 5.2H4.667zM2.875 3.542A2.533 2.533 0 0 1 4.667 2.8h8a1.2 1.2 0 0 1 .921.432L16.563 6.8h10.771a2.533 2.533 0 0 1 2.534 2.533v17.334a2.533 2.533 0 0 1-2.534 2.533H4.667a2.533 2.533 0 0 1-2.534-2.533V5.333c0-.672.267-1.316.742-1.791z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.182 13.818a1.2 1.2 0 0 1 0 1.697L11.697 18l2.485 2.485a1.2 1.2 0 1 1-1.697 1.697L9.15 18.849a1.2 1.2 0 0 1 0-1.698l3.334-3.333a1.2 1.2 0 0 1 1.697 0zm3.636 0a1.2 1.2 0 0 1 1.697 0l3.334 3.333a1.2 1.2 0 0 1 0 1.698l-3.334 3.333a1.2 1.2 0 1 1-1.697-1.697L20.303 18l-2.485-2.485a1.2 1.2 0 0 1 0-1.697z",fill:"currentColor"})]}))};Co.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var yo=b.Dashboard=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.33 8.207A11.52 11.52 0 0 1 23.504 26.34H8.496A11.52 11.52 0 0 1 9.33 8.207zM16 3.52a14.08 14.08 0 0 0-8.76 25.102c.226.18.506.278.796.278h15.928c.29 0 .57-.098.797-.278A14.08 14.08 0 0 0 16 3.52zm5.883 10.072a1.28 1.28 0 0 0-1.81-1.81l-2.205 2.205a4.124 4.124 0 1 0 1.81 1.81l2.205-2.205zm-7.447 4.073a1.564 1.564 0 1 1 3.128 0 1.564 1.564 0 0 1-3.129 0z",fill:"currentColor"})}))};yo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var zo=b.Log=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.2h16c2.646 0 4.8 2.125 4.8 4.8 0 1.571-.54 3.093-1.253 4.509-.709 1.406-1.645 2.813-2.531 4.14l-.018.028c-.908 1.365-1.766 2.654-2.401 3.913-.637 1.263-.997 2.39-.997 3.418a2.4 2.4 0 1 0 3.733-1.997 1.2 1.2 0 0 1 1.334-1.993A4.8 4.8 0 0 1 24 28.808H8a4.8 4.8 0 0 1-4.8-4.8c0-2.531 1.426-5.016 2.843-7.21.333-.513.666-1.015.993-1.507l.004-.006c.757-1.135 1.477-2.218 2.06-3.277H7.215c-.922 0-2.21-.213-3.051-1.253A4.288 4.288 0 0 1 3.2 8 4.8 4.8 0 0 1 8 3.2zM6.303 6.303A2.4 2.4 0 0 1 8 5.6h11.842A4.782 4.782 0 0 0 19.2 8c-.004.55.096 1.095.294 1.608H7.216c-.664 0-1.029-.171-1.184-.363A1.889 1.889 0 0 1 5.6 8a2.4 2.4 0 0 1 .703-1.697zM26.4 8c0-1.34-1.07-2.4-2.4-2.4A2.4 2.4 0 0 0 21.6 8c0 .762.357 1.334 1.067 1.811A1.2 1.2 0 0 1 22 12.008H11.789c-.747 1.605-1.826 3.224-2.837 4.74l-.183.276c-.244.366-.483.726-.71 1.077C6.608 20.346 5.6 22.274 5.6 24.008a2.4 2.4 0 0 0 2.4 2.4h11.842a4.782 4.782 0 0 1-.642-2.4c0-1.566.54-3.085 1.254-4.5.706-1.398 1.637-2.796 2.52-4.12l.028-.042c.908-1.365 1.764-2.653 2.401-3.917.637-1.264.997-2.395.997-3.429zm-14.396 7.462a1.186 1.186 0 0 0 .838 2.024h6.324a1.186 1.186 0 0 0 0-2.371h-6.324c-.314 0-.616.125-.838.347zm-2.766 4.742c.222-.222.524-.347.838-.347H16.4a1.186 1.186 0 1 1 0 2.371h-6.323a1.185 1.185 0 0 1-.838-2.024z",fill:"currentColor"})}))};zo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var So=b.Setting=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.996 2.168A3.968 3.968 0 0 0 17.173 1h-1.852a3.963 3.963 0 0 0-2.78 1.132 3.81 3.81 0 0 0-1.128 2.39l-.013.291a1.707 1.707 0 0 1-1.72 1.686 1.619 1.619 0 0 1-.637-.141l-.2-.105a3.969 3.969 0 0 0-5.329 1.44L2.54 9.261a3.813 3.813 0 0 0 1.146 5.11l.234.147c.572.324.9.88.9 1.482 0 .553-.277 1.07-.74 1.384l-.157.096a3.79 3.79 0 0 0-1.545 4.946l.128.24.955 1.617a3.91 3.91 0 0 0 2.355 1.822 4.01 4.01 0 0 0 2.691-.193l.266-.13c.45-.254.915-.316 1.35-.201.434.112.805.392 1.032.778.119.192.194.408.222.633l.012.22C11.386 29.275 13.148 31 15.32 31h1.852c2.052 0 3.756-1.544 3.923-3.538l.012-.257a1.692 1.692 0 0 1 1.714-1.731c.226.008.447.06.653.15l.204.104c1.722.973 3.98.473 5.14-1.165l.15-.227.99-1.616a3.776 3.776 0 0 0 .408-2.935 3.842 3.842 0 0 0-1.542-2.159l-.249-.158c-.435-.247-.723-.611-.84-1.042a1.641 1.641 0 0 1 .176-1.27c.123-.213.292-.396.495-.535l.385-.238a3.804 3.804 0 0 0 1.326-4.806l-.085-.166a1.006 1.006 0 0 0-.063-.128l-.921-1.564c-1.023-1.74-3.236-2.416-5.08-1.567l-.247.125c-.44.253-.906.316-1.344.205a1.693 1.693 0 0 1-1.042-.77 1.536 1.536 0 0 1-.216-.624l-.014-.221c.033-.943-.369-1.951-1.11-2.699zm-4.675 1.003h1.853c.463 0 .907.183 1.234.51.322.324.497.765.485 1.221l.02.38a3.73 3.73 0 0 0 .514 1.531 3.91 3.91 0 0 0 2.394 1.77 3.992 3.992 0 0 0 2.976-.408l.154-.076.168-.066c.767-.24 1.6.078 2.01.77l.878 1.492.02.042.104.201c.356.744.059 1.686-.71 2.126l-.24.148a3.86 3.86 0 0 0-1.189 1.257 3.77 3.77 0 0 0-.397 2.916c.247.9.813 1.68 1.593 2.193l.41.255c.693.5.89 1.447.454 2.183l-.966 1.578-.11.166c-.447.628-1.329.861-2.073.541l-.474-.236a4.12 4.12 0 0 0-1.572-.362 3.976 3.976 0 0 0-2.815 1.125 3.802 3.802 0 0 0-1.15 2.735l-.008.165c-.07.825-.813 1.5-1.71 1.5h-1.851c-.888 0-1.617-.657-1.71-1.5l-.03-.53a3.888 3.888 0 0 0-2.888-3.315 3.978 3.978 0 0 0-2.979.392l-.163.078a1.74 1.74 0 0 1-2.163-.741l-.945-1.595-.084-.16c-.357-.742-.06-1.684.708-2.119l.234-.143c1.098-.744 1.734-1.928 1.734-3.196a3.834 3.834 0 0 0-1.731-3.193l-.392-.243a1.654 1.654 0 0 1-.468-2.196l.975-1.568a1.744 1.744 0 0 1 2.357-.645l.288.15c.502.234 1.049.359 1.603.366 2.08 0 3.78-1.566 3.936-3.558l.02-.459a1.64 1.64 0 0 1 .487-.99 1.727 1.727 0 0 1 1.21-.492zm.933 7.926c2.764 0 5.004 2.195 5.004 4.902 0 2.708-2.24 4.902-5.004 4.902-2.763 0-5.004-2.194-5.004-4.902 0-2.707 2.241-4.902 5.004-4.902zM13.467 16c0-1.507 1.248-2.73 2.787-2.73 1.54 0 2.787 1.223 2.787 2.73 0 1.508-1.248 2.73-2.787 2.73s-2.787-1.222-2.787-2.73z",fill:"currentColor"})}))};So.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ko=b.Store=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M30.4 12.034v-.056a.582.582 0 0 1-.014-.069v-.041c-.014-.028-.014-.056-.027-.083v-.028l-1.98-6.95A2.243 2.243 0 0 0 26.245 3.2H5.754a2.243 2.243 0 0 0-2.132 1.606l-1.98 6.95v.029c-.014.027-.014.055-.028.083v.041a.594.594 0 0 1-.014.07v2.298a5.538 5.538 0 0 0 2.215 4.43v8.862a2.216 2.216 0 0 0 2.216 2.216h19.938a2.215 2.215 0 0 0 2.216-2.216v-8.861a5.537 5.537 0 0 0 2.215-4.431v-2.243zM5.754 5.415h20.492l1.579 5.539H4.175l1.579-5.539zm6.923 7.754h6.646v1.108a3.323 3.323 0 1 1-6.646 0v-1.108zm-2.216 0v1.108a3.323 3.323 0 0 1-4.86 2.95 1.201 1.201 0 0 0-.249-.153 3.31 3.31 0 0 1-1.537-2.797v-1.108h6.646zm15.508 14.4H6.031v-7.864a5.539 5.539 0 0 0 5.538-2.105 5.538 5.538 0 0 0 8.862 0 5.537 5.537 0 0 0 5.538 2.105v7.864zm.679-10.495a1.2 1.2 0 0 0-.25.152 3.323 3.323 0 0 1-4.86-2.95V13.17h6.647v1.108a3.31 3.31 0 0 1-1.537 2.797z",fill:"currentColor"})}))};ko.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Mo=b.Team=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.275 5.323a3.697 3.697 0 1 1 5.229 5.228 3.697 3.697 0 0 1-5.229-5.228zM9.89 2.16a5.777 5.777 0 0 0-3.483 10.385A9.33 9.33 0 0 0 .56 21.2a1.04 1.04 0 0 0 1.04 1.04h15.408a9.322 9.322 0 0 0-3.862 7.56 1.04 1.04 0 0 0 1.04 1.04h16.578a1.04 1.04 0 0 0 1.04-1.04 9.33 9.33 0 0 0-5.845-8.655 5.78 5.78 0 0 0 2.293-4.608 5.777 5.777 0 0 0-11.356-1.498 9.338 9.338 0 0 0-3.523-2.494 5.78 5.78 0 0 0 2.293-4.608A5.777 5.777 0 0 0 9.89 2.16zm9.972 11.763a3.697 3.697 0 1 1 5.228 5.228 3.697 3.697 0 0 1-5.228-5.228zm2.614 8.627a7.25 7.25 0 0 0-7.175 6.21h14.35a7.25 7.25 0 0 0-7.175-6.21zM4.763 16.075a7.25 7.25 0 0 1 12.301 4.086H2.714a7.25 7.25 0 0 1 2.05-4.086z",fill:"currentColor"})}))};Mo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Io=b.Approve=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.673 4.673A6.12 6.12 0 0 1 7 2.88h18A6.12 6.12 0 0 1 31.12 9v10A6.12 6.12 0 0 1 25 25.12h-7.203l-5.81 5.083a3.082 3.082 0 0 1-5.107-2.319v-2.765A6.12 6.12 0 0 1 .88 19V9a6.12 6.12 0 0 1 1.793-4.327zM7 5.12A3.88 3.88 0 0 0 3.12 9v10A3.88 3.88 0 0 0 7 22.88h1c.619 0 1.12.501 1.12 1.12v3.884a.84.84 0 0 0 1.393.633l6.126-5.36a1.12 1.12 0 0 1 .737-.277H25A3.881 3.881 0 0 0 28.88 19V9A3.88 3.88 0 0 0 25 5.12H7z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M20.63 9.719a1.156 1.156 0 0 1 1.65 1.619L16.13 19.03a1.156 1.156 0 0 1-1.665.03l-4.08-4.079a1.156 1.156 0 1 1 1.635-1.634l3.228 3.227 5.354-6.822a.405.405 0 0 1 .031-.034h-.002z",fill:"currentColor"})]}))};Io.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Lo=b.Circles=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.23 3.995a1.272 1.272 0 1 1 1.28 1.272h-.014a1.272 1.272 0 0 1-1.265-1.272zm.2 3.245A3.425 3.425 0 0 1 13.737 6L5.07 10.875V21.07a3.41 3.41 0 0 1 1.055.572l4.616-2.638v-4.458c0-.381.203-.734.532-.926l4.158-2.425V7.24zM2.926 10.247V21.07a3.419 3.419 0 0 0 1.073 6.663c.886 0 1.694-.338 2.302-.892l9.677 5.444c.327.183.725.183 1.052 0l6.253-3.517 3.424-1.927a3.417 3.417 0 1 0 3.375-5.77V10.246c0-.387-.21-.744-.547-.934L19.92 3.904a3.417 3.417 0 0 0-6.832 0L3.472 9.313c-.338.19-.547.547-.547.934zm25.01 10.823V10.875L19.27 6a3.425 3.425 0 0 1-1.694 1.24v3.954l4.157 2.426c.33.192.532.545.532.926v4.458l4.616 2.637a3.411 3.411 0 0 1 1.055-.57zm-2.23 2.37l-4.168-2.382-4.493 2.621a1.072 1.072 0 0 1-1.081 0l-4.493-2.62-4.168 2.38a3.423 3.423 0 0 1 .05 1.533l9.151 5.147 5.727-3.22 3.424-1.927a3.439 3.439 0 0 1 .05-1.532zm-12.819-8.278l3.617-2.11 3.617 2.11v4.24l-3.617 2.109-3.617-2.11v-4.239zm-8.888 7.882a1.272 1.272 0 1 0 0 2.544 1.272 1.272 0 0 0 0-2.544zm23.738 1.272a1.272 1.272 0 1 1 2.544 0 1.272 1.272 0 0 1-2.544 0z",fill:"currentColor"})}))};Lo.defaultProps={width:"33",height:"33",viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"};var Po=b.Key=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.987 8.889c0-.707.573-1.28 1.28-1.28a4.124 4.124 0 0 1 4.124 4.124 1.28 1.28 0 1 1-2.56 0 1.564 1.564 0 0 0-1.564-1.564 1.28 1.28 0 0 1-1.28-1.28z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.382 1.92a9.813 9.813 0 0 0-9.706 11.905l-7.964 7.964a2.703 2.703 0 0 0-.792 1.91v3.679a2.702 2.702 0 0 0 2.702 2.702h2.845a2.702 2.702 0 0 0 2.702-2.702.142.142 0 0 1 .14-.142h.002a2.712 2.712 0 0 0 1.91-.792 2.702 2.702 0 0 0 .792-1.91.142.142 0 0 1 .143-.143h.833c.717 0 1.404-.285 1.91-.792l2.277-2.276a9.813 9.813 0 1 0 2.206-19.402zm-9.13 20.695a2.702 2.702 0 0 1 1.904-.784h.833a.142.142 0 0 0 .1-.041l2.794-2.794a1.28 1.28 0 0 1 1.275-.32 7.257 7.257 0 0 0 8.994-4.67 7.253 7.253 0 1 0-13.835-.188 1.286 1.286 0 0 1-.332 1.319l-8.463 8.462a.143.143 0 0 0-.042.101v3.678a.142.142 0 0 0 .142.142h2.845a.142.142 0 0 0 .142-.142 2.702 2.702 0 0 1 2.702-2.702l.014-.001a.143.143 0 0 0 .128-.142c0-.716.285-1.404.792-1.91l.008-.008z",fill:"currentColor"})]}))};Po.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var To=b.Label=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("g",{clipPath:"url(#clip0_802_356)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.567.629l15.96 15.96a1.606 1.606 0 0 1 .047 2.229l-11.63 12.64a1.6 1.6 0 0 1-1.186.52c-.41.001-.803-.155-1.101-.436L.678 15.592a2.155 2.155 0 0 1-.677-1.564V3.22A3.224 3.224 0 0 1 3.221 0H14.05a2.133 2.133 0 0 1 1.518.629zM2.148 14.028l16.584 15.578 10.914-11.863L14.049 2.147H3.222A1.075 1.075 0 0 0 2.148 3.22v10.808zm4.771-8.073a3.489 3.489 0 1 1 3.877 5.802 3.489 3.489 0 0 1-3.877-5.802zm1.193 4.017A1.342 1.342 0 1 0 9.603 7.74a1.342 1.342 0 0 0-1.491 2.232z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_802_356",children:(0,r.jsx)("path",{fill:"transparent",transform:"translate(.009)",d:"M0 0h32.001v32H0z"})})})]}))};To.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"};var No=b.Plan=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h9.956c.618 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32H4.323zM17.727 3.2c0-.619.502-1.12 1.12-1.12h9.956c.619 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12h-9.956a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32h-7.716zM2.083 18.844c0-.618.501-1.12 1.12-1.12h9.956c.618 0 1.12.502 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12v-9.956zm2.24 1.12v7.716h7.716v-7.716H4.323zm14.525-2.24h9.955a1.12 1.12 0 0 1 0 2.24H21.55l8.044 8.044a1.12 1.12 0 0 1-1.584 1.584l-8.044-8.044V28.8a1.12 1.12 0 1 1-2.24 0v-9.955-.01.02m.318-.792l.01-.01a.972.972 0 0 1-.01.01zm.803-.339h-.01zm-.01 0h.02",fill:"currentColor"})}))};No.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Vo=b.Server=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12v10.24a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v8h23.36v-8H4.323zm-2.24 14.24c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V18.56zm2.24 1.12v8h23.36v-8H4.323z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M8.963 7.04h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64zm5.12-15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64z",fill:"currentColor"})]}))};Vo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Do=b.Globe=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.606 17.32a7.933 7.933 0 0 1-.581-1.18c-.165-.411-.312-.86-.44-1.339a7.639 7.639 0 0 0-1.586 1.054 7.69 7.69 0 0 0 2.607 1.465zm.657-1.675c-.16-.4-.305-.848-.429-1.335A7.643 7.643 0 0 1 10 14h.002c.734 0 1.463.104 2.165.31-.124.487-.268.935-.428 1.335-.283.707-.604 1.235-.925 1.575-.32.339-.595.447-.813.447-.218 0-.493-.108-.813-.447-.322-.34-.642-.867-.925-1.575zM10 12.667a8.976 8.976 0 0 1 2.436.334c.116-.727.193-1.511.22-2.334H7.344c.027.823.103 1.607.22 2.334A8.972 8.972 0 0 1 10 12.667zM7.345 9.333c.027-.823.103-1.607.22-2.334.791.223 1.61.335 2.436.334A8.974 8.974 0 0 0 12.437 7c.116.727.193 1.511.22 2.334H7.344zm6.646 1.334c-.03.982-.127 1.925-.28 2.797.81.367 1.56.852 2.227 1.439a7.666 7.666 0 0 0 1.734-4.236h-3.681zm3.681-1.334H13.99a19.718 19.718 0 0 0-.28-2.798 8.975 8.975 0 0 0 2.228-1.438 7.665 7.665 0 0 1 1.734 4.236zm1.329.669A9 9 0 1 1 1 10a9 9 0 0 1 18 0v.002zM2.329 9.333a7.665 7.665 0 0 1 1.734-4.236A8.974 8.974 0 0 0 6.29 6.535a19.74 19.74 0 0 0-.28 2.798H2.329zm0 1.334h3.682c.03.983.126 1.925.28 2.797a8.974 8.974 0 0 0-2.228 1.439 7.665 7.665 0 0 1-1.734-4.236zm10.648 5.473c.164-.411.312-.86.44-1.34.57.285 1.103.639 1.585 1.055a7.687 7.687 0 0 1-2.606 1.465c.216-.354.41-.751.58-1.18zm-.581-13.46c.967.316 1.85.819 2.606 1.465A7.64 7.64 0 0 1 13.417 5.2c-.128-.48-.276-.928-.44-1.34a7.925 7.925 0 0 0-.581-1.18zm-.657 1.675c.16.4.304.848.428 1.335a7.64 7.64 0 0 1-2.165.31H10a7.64 7.64 0 0 1-2.166-.31c.124-.487.268-.935.429-1.335.283-.708.603-1.235.925-1.575.32-.339.595-.447.813-.447.218 0 .492.108.813.447.321.34.642.867.925 1.575zM7.025 3.86c-.165.411-.312.86-.44 1.34a7.64 7.64 0 0 1-1.586-1.055A7.688 7.688 0 0 1 7.606 2.68c-.216.354-.41.751-.581 1.18z",fill:"currentColor"})}))};Do.defaultProps={width:"21",height:"20",viewBox:"0 0 21 20",xmlns:"http://www.w3.org/2000/svg"};var _o=b.Notification=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.251 2.5c-2.576-.006-4.747 2.1-4.766 4.506v5.784c0 .793-.084 1.778-.58 2.71h12.19c-.496-.932-.58-1.917-.58-2.711V7.01c-.035-2.403-2.21-4.502-4.797-4.508L9.25 2.5zM17.015 7v5.789c0 .79.1 1.562.53 2.219l.287.438c.436.664-.033 1.554-.817 1.554H2.985c-.785 0-1.255-.89-.818-1.554l.287-.438c.43-.657.53-1.428.53-2.218V7c.024-3.291 2.927-6.008 6.27-6l1.467.003c3.344.008 6.254 2.706 6.294 5.998zM11.06 18.06A1.5 1.5 0 0 0 11.5 17H13a3 3 0 0 1-6 0h1.5a1.5 1.5 0 0 0 2.56 1.06z",fill:"currentColor"})}))};_o.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Bo=b.QuestionMarkCircle=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M9.928 13.133a.981.981 0 0 0-.678.252.79.79 0 0 0-.281.61c0 .27.094.482.283.636.19.154.41.231.663.231.257 0 .48-.076.673-.228.19-.153.287-.365.287-.639a.796.796 0 0 0-.275-.61.958.958 0 0 0-.672-.252zM12.633 7.2a2.526 2.526 0 0 0-1.035-.88c-.441-.212-.955-.32-1.528-.32-.617 0-1.166.129-1.63.383-.467.255-.826.582-1.07.972-.245.392-.37.786-.37 1.172 0 .205.086.397.254.57.169.174.38.262.625.262.419 0 .705-.246.85-.729.132-.399.296-.703.485-.905.177-.19.465-.286.856-.286.336 0 .602.095.813.29.208.191.309.42.309.698a.78.78 0 0 1-.1.387c-.07.125-.156.24-.258.342-.108.109-.287.27-.53.484a9.184 9.184 0 0 0-.679.647 2.268 2.268 0 0 0-.42.656 2.27 2.27 0 0 0-.159.884c0 .288.08.511.24.663.156.15.352.227.58.227.439 0 .714-.24.796-.687.041-.186.073-.316.094-.39.019-.067.046-.136.081-.205.034-.068.089-.144.162-.227.076-.088.179-.19.305-.306.472-.422.805-.727.99-.908.19-.186.356-.41.493-.665A1.9 1.9 0 0 0 13 8.416a2.18 2.18 0 0 0-.367-1.217",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15zm0 1.5a9 9 0 1 0 0-18 9 9 0 0 0 0 18z",fill:"currentColor"})]}))};Bo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Eo=b.Account=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.826 1.75a1.937 1.937 0 1 0 0 3.875 1.937 1.937 0 0 0 0-3.875zM3.838 3.687a2.987 2.987 0 1 1 5.975 0 2.987 2.987 0 0 1-5.975 0zM2.556 9.812l-.102 1.302a1.009 1.009 0 0 0 1.005 1.087h6.733c.588 0 1.051-.5 1.005-1.087l-.102-1.302a2.29 2.29 0 0 0-2.234-1.79H4.79c-1.073 0-2.001.745-2.234 1.79zM1.52 9.628A3.34 3.34 0 0 1 4.79 6.971H8.86a3.34 3.34 0 0 1 3.269 2.657.53.53 0 0 1 .01.066l.104 1.338a2.059 2.059 0 0 1-2.052 2.22H3.459a2.059 2.059 0 0 1-2.052-2.22l.105-1.338a.524.524 0 0 1 .01-.066z",fill:"currentColor"})}))};Eo.defaultProps={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ao=$e=b.EmptyIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};Ao.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var C1={},Oo=Pe;Object.defineProperty(C1,"__esModule",{value:!0});var M0=C1.default=void 0,Ho=Oo(Le()),$o=o;M0=C1.default=(0,Ho.default)((0,$o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"DoDisturbAlt");function Re({children:e,Icon:t}){return o.jsxs(Z0,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",paddingTop:"10px",margin:"10px 0px"},children:[o.jsx(z,{sx:{opacity:.3,fontSize:32},children:o.jsx(t,{})}),o.jsx(z,{sx:{mb:2,opacity:.7,fontSize:"small",color:"action"},children:e})]})}Re.propTypes={children:f.node.isRequired,Icon:f.elementType};Re.defaultProps={Icon:M0};function y1({value:e,app:t,onChange:l,disabled:s,resourceRelateComponents:n,projectType:a,dependentComponentsMode:d}){const{t:c,locale:u}=te(),h=d==="readonly",x=R.useMemo(()=>{const w=e.reduce((v,C)=>(v[C.did]=C.included,v),{});return(t.children||[]).filter(v=>h?n[v.meta.did]||w[v.meta.did]:!0)},[t.children,e,n,h]),g=R.useMemo(()=>x.map(w=>e.find(C=>C.did===w.meta.did)||{did:w.meta.did}),[x,e]),y=g.reduce((w,v)=>(w[v.did]=u1(v,["required","included"]),w),{}),p=w=>{const v=g.map(C=>{if(C.did===w){const S=!C.included;return{...C,included:S,required:S}}return C});l(v)},i=w=>{const v=g.map(C=>C.did===w?{...C,required:!C.required}:C);l(v)},m=[{label:c("common.name"),name:"meta.title",width:200,options:{customBodyRenderLite:w=>{var S;const v=x[w],C=(S=y[v.meta.did])==null?void 0:S.included;return o.jsxs(z,{display:"flex",alignItems:"center",children:[o.jsx(x1,{size:24,blocklet:v,ancestors:[t]}),o.jsx(z,{ml:"4px",className:m1("text",{excluded:!C}),children:o.jsx(z,{children:v.meta.title})})]})}}},{label:c("blocklet.publish.componentIncluded"),width:100,options:{customBodyRenderLite:w=>{var N;const v=x[w],C=n[v.meta.did],S=!!((N=y[v.meta.did])!=null&&N.included);return o.jsx(l1,{size:"small",checked:C||S,onClick:()=>p(v.meta.did),disabled:h||C||s})}}},{label:c("blocklet.publish.componentForceRequired"),width:100,options:{customBodyRenderLite:w=>{var T,I;const v=x[w],C=n[v.meta.did],S=!!((T=y[v.meta.did])!=null&&T.included),N=!!((I=y[v.meta.did])!=null&&I.required);return o.jsx(l1,{size:"small",checked:C||N&&S,onClick:()=>i(v.meta.did),disabled:h||C||s||!S})}}}];return o.jsx(Fo,{children:x!=null&&x.length?o.jsxs(o.Fragment,{children:[o.jsx(h1,{className:"main-table",verticalKeyWidth:100,locale:u,data:x,columns:m,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1,rowsPerPage:50}}),o.jsx(b0,{severity:"info",style:{width:"100%"},children:o.jsx(z,{display:"flex",alignItems:"center",rel:"noreferrer",children:c(a==="pack"?"blocklet.publish.packTip":"blocklet.publish.resourceTip")})})]}):o.jsx(Re,{Icon:$e,children:c("blocklet.publish.blockletEmptyTip")})})}y1.propTypes={app:f.object.isRequired,value:f.arrayOf(f.shape({did:f.string.isRequired,required:f.bool,included:f.bool})),onChange:f.func,disabled:f.bool,dependentComponentsMode:f.string,resourceRelateComponents:f.object,projectType:f.string.isRequired};y1.defaultProps={value:[],onChange:()=>{},disabled:!1,dependentComponentsMode:"auto",resourceRelateComponents:{}};const Fo=ae(z)`
22
+ `;var b={},Fe;Object.defineProperty(b,"__esModule",{value:!0});b.WalletTextLogo=b.Tx=b.Token=b.Team=b.Switch=b.StoreLogoNotext=b.StoreLogoBg=b.StoreLogo=b.Store=b.Setting=b.ServerLogoNotext=b.ServerLogoBg=b.ServerLogo=b.Server=b.Rollup=b.RevokeIcon=b.QuestionMarkCircle=b.Plan=b.PersonIcon=b.Pending=b.PassportIcon=b.OpenIn=b.Notification=b.NFT=b.Mobile=b.Log=b.LockIcon=b.LauncherLogoNotext=b.LauncherLogoBg=b.LauncherLogo=b.Label=b.Key=b.Globe=b.ForbidLoginIcon=b.ExternalIssuerIcon=Fe=b.EmptyIcon=b.EditIcon=b.Disconnect=b.DidWalletLogo=b.DidWallet=b.DidLogoColorful=b.DidLogo=b.DeleteIcon=b.Dashboard=b.Dapp=b.Copy=b.ConnectLogo=b.Connect=b.Computer=b.CodeFolder=b.Circles=b.BridgeMoveOut=b.BridgeMoveIn=b.Bridge=b.Blocklets=b.Approve=b.AllowLoginIcon=b.Add=b.Account=b.ABTNode=void 0;Tt(R);var r=o;function Tt(e){return e&&e.__esModule?e:{default:e}}function Y1(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),l.push.apply(l,s)}return l}function j(e){for(var t=1;t<arguments.length;t++){var l=arguments[t]!=null?arguments[t]:{};t%2?Y1(Object(l),!0).forEach(function(s){Nt(e,s,l[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Y1(Object(l)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(l,s))})}return e}function Nt(e,t,l){return t=Vt(t),t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function Vt(e){var t=Dt(e,"string");return typeof t=="symbol"?t:String(t)}function Dt(e,t){if(typeof e!="object"||!e)return e;var l=e[Symbol.toPrimitive];if(l!==void 0){var s=l.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var _t=b.Computer=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M5.472.371H60.94c3.061 0 5.565 2.412 5.565 5.473v35.431c0 3.061-2.504 5.658-5.565 5.658H39.328v9.183h15.768c2.319 0 2.504 7.606 2.782 7.884H8.626s0-7.884 2.783-7.884h15.768v-9.183H5.472C2.412 46.933 0 44.336 0 41.275V5.844C0 2.783 2.412.37 5.472.37zm0 40.904H60.94V5.844H5.472v35.431z"})}))};_t.defaultProps={width:"67",height:"64",viewBox:"0 0 67 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Bt=b.ConnectLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,r.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};Bt.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Et=b.Copy=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M12.342.063h-9.75A1.63 1.63 0 0 0 .967 1.688v11.374h1.625V1.688h9.75V.063zm2.437 3.25H5.842a1.63 1.63 0 0 0-1.625 1.624v11.375a1.63 1.63 0 0 0 1.625 1.625h8.937a1.63 1.63 0 0 0 1.625-1.625V4.938a1.63 1.63 0 0 0-1.625-1.625zm0 13H5.842V4.938h8.937v11.375z"})}))};Et.defaultProps={width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"};var At=b.DidLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"})]}))};At.defaultProps={width:"43",height:"42",viewBox:"0 0 43 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Ot=b.DidLogoColorful=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M7.366.646L8.46 0h3.981v11.96H8.564a.381.381 0 0 1-.194-.053L4.18 9.431V2.53l.508-.3.893.528-.508.3v5.845L8.7 11.046h2.85V.914h-2.85l-.44.26-.893-.528z",fill:"color(display-p3 .4196 .7412 .9961)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.868 8.903V3.057L4.242.915H1.393v10.132h2.85l.44-.26.893.527-1.095.647H.5V0h3.981l4.28 2.53v6.9l-.506.3-.893-.528.506-.299z",fill:"color(display-p3 .2706 .5961 .9804)"})]}))};Ot.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};var Ht=b.DidWallet=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,r.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"url(#paint0_linear)"}),(0,r.jsx)("path",{d:"M3.52 7.36A2.56 2.56 0 0 1 6.08 4.8h19.84a2.56 2.56 0 0 1 2.56 2.56v12.16a2.56 2.56 0 0 1-2.56 2.56H6.08a2.56 2.56 0 0 1-2.56-2.56V7.36z",fill:"#9FCBFF",filter:"url(#filter0_i)"}),(0,r.jsx)("path",{d:"M2.56 9.28a2.56 2.56 0 0 1 2.56-2.56h21.76a2.56 2.56 0 0 1 2.56 2.56v13.6a2.56 2.56 0 0 1-2.56 2.56H5.12a2.56 2.56 0 0 1-2.56-2.56V9.28z",fill:"url(#paint1_linear)",filter:"url(#filter1_d)"}),(0,r.jsx)("path",{d:"M0 22.32l32-6.16V32H0v-9.68z",fill:"url(#paint2_linear)",filter:"url(#filter2_d)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.536 9.248h8.288c.408 0 .74.3.74.672v4.64c0 .371-.332.672-.74.672H5.536c-.408 0-.74-.3-.74-.672v-.04a.158.158 0 1 0-.316 0v.04c0 .53.473.96 1.056.96h8.288c.583 0 1.056-.43 1.056-.96V9.92c0-.53-.473-.96-1.056-.96H5.536c-.583 0-1.056.43-1.056.96v.04a.158.158 0 0 0 .317 0v-.04c0-.371.33-.672.739-.672zm-1.023 4.638a.127.127 0 0 0 .087.034h1.267c.472 0 .83-.107 1.076-.322.25-.217.381-.548.397-.993a11.281 11.281 0 0 0 0-.734c-.012-.426-.148-.751-.406-.975-.258-.224-.622-.336-1.09-.336H4.6a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.794-.806c-.099.1-.253.149-.464.149h-.502V11.25h.478c.21 0 .369.051.474.154.108.102.166.26.172.475.006.09.01.208.01.355s-.004.267-.01.36c-.006.221-.059.383-.158.485zm1.63.806a.127.127 0 0 0 .087.034h.64a.116.116 0 0 0 .087-.034.11.11 0 0 0 .038-.086v-3.12a.11.11 0 0 0-.038-.086.116.116 0 0 0-.086-.034h-.641a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.637.034a.127.127 0 0 1-.086-.034.128.128 0 0 1-.033-.086v-3.12c0-.035.01-.064.033-.086a.127.127 0 0 1 .086-.034h1.244c.469 0 .832.112 1.09.336.259.224.394.549.407.974a11.244 11.244 0 0 1 0 .735c-.016.445-.148.776-.397.993-.245.215-.604.322-1.076.322H9.574zm1.244-.691c.21 0 .365-.05.464-.149.099-.102.152-.264.158-.485a5.52 5.52 0 0 0 .01-.36c0-.147-.004-.265-.01-.355-.006-.214-.064-.373-.172-.475-.106-.103-.263-.154-.474-.154h-.478v1.978h.502zm2.468-1.382a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.286-.288.286zm0 1.495a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.287-.288.287z",fill:"#4598FA"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_i",x:"3.52",y:"1.8",width:"24.96",height:"20.28",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{dy:"-3"}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,r.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),(0,r.jsx)("feBlend",{in2:"shape",result:"effect1_innerShadow"})]}),(0,r.jsxs)("filter",{id:"filter1_d",x:"-1.44",y:"1.72",width:"34.88",height:"26.72",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{dy:"-1"}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0.220767 0 0 0 0 0.470803 0 0 0 0 0.701605 0 0 0 0.18 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,r.jsxs)("filter",{id:"filter2_d",x:"-5",y:"11.16",width:"42",height:"25.84",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0.14382 0 0 0 0 0.205065 0 0 0 0 0.522634 0 0 0 0.25 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear",x1:"16",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#4F9DF6"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#0A79F8"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear",x1:"16",y1:"6.72",x2:"16",y2:"25.44",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#fff"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#ECEFFF"})]}),(0,r.jsxs)("linearGradient",{id:"paint2_linear",x1:"16",y1:"19.2",x2:"18.48",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:".007",stopColor:"#77B2F6"}),(0,r.jsx)("stop",{offset:".055",stopColor:"#4F9DF6"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#4598FA"})]}),(0,r.jsx)("clipPath",{id:"clip0",children:(0,r.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"#fff"})})]})]}))};Ht.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $t=b.Disconnect=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.012 2.012a4.25 4.25 0 0 0-5.463.462l-1.068 1.069a1.75 1.75 0 0 0 0 2.474l3.585 3.586a1.75 1.75 0 0 0 2.475 0l1.068-1.068a4.251 4.251 0 0 0 .463-5.463L21.78 3.28zm-3.585 2.475l.022.023.003.002.002.003.023.022a2.75 2.75 0 0 1 0 3.89l-1.068 1.067a.25.25 0 0 1-.354 0l-3.586-3.585a.251.251 0 0 1 0-.354l1.068-1.068a2.75 2.75 0 0 1 3.89 0zM10.78 11.28a.75.75 0 1 0-1.06-1.06L8 11.94l-.47-.47a.75.75 0 0 0-1.06 0l-1.775 1.775a4.251 4.251 0 0 0-.463 5.463L2.22 20.72a.75.75 0 1 0 1.06 1.06l2.012-2.012a4.251 4.251 0 0 0 5.463-.463l1.775-1.775a.75.75 0 0 0 0-1.06l-.47-.47 1.72-1.72a.75.75 0 1 0-1.06-1.06L11 14.94 9.06 13l1.72-1.72zm-3.314 2.247l.004.003.003.004 2.993 2.993.004.003.003.004.466.466-1.244 1.245a2.75 2.75 0 0 1-3.89 0l-.05-.05a2.75 2.75 0 0 1 0-3.89L7 13.062l.466.466v-.001z",fill:"currentColor"})}))};$t.defaultProps={viewBox:"0 0 24 24",fill:"none"};var Ft=b.Mobile=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M3.833.833h13.334A3.333 3.333 0 0 1 20.5 4.167v26.666a3.333 3.333 0 0 1-3.333 3.334H3.833A3.333 3.333 0 0 1 .5 30.833V4.168A3.333 3.333 0 0 1 3.833.833zm0 3.334v25h13.334v-25H3.833z"})}))};Ft.defaultProps={width:"21",height:"35",viewBox:"0 0 21 35",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Ut=b.OpenIn=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.924 3.617a.997.997 0 0 0-.215-.322l-.004-.004A.997.997 0 0 0 20 3h-6a1 1 0 1 0 0 2h3.586l-7.293 7.293a1 1 0 1 0 1.414 1.414L19 6.414V10a1 1 0 0 0 2 0V3.997a.999.999 0 0 0-.076-.38zM3 8a5 5 0 0 1 5-5h1a1 1 0 0 1 0 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-1a1 1 0 0 1 2 0v1a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z",fill:"currentColor"})}))};Ut.defaultProps={viewBox:"0 0 24 24",fill:"none"};var qt=b.Switch=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M4 17l4-4m0-6h12H8zm12 0l-4-4 4 4zm0 0l-4 4 4-4zm-4 10H4h12zM4 17l4 4-4-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))};qt.defaultProps={viewBox:"0 0 24 24",fill:"none"};var Wt=b.EditIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M6.04 17.625a.953.953 0 0 0 .14-.012l3.943-.691a.23.23 0 0 0 .124-.066l9.935-9.935a.233.233 0 0 0 0-.33l-3.895-3.898a.232.232 0 0 0-.167-.068.232.232 0 0 0-.166.068l-9.935 9.935a.238.238 0 0 0-.066.124l-.691 3.943a.785.785 0 0 0 .22.698c.155.15.35.232.558.232zm1.58-4.088l8.5-8.498 1.718 1.718-8.5 8.498-2.084.368.366-2.085zm13.005 6.057H3.375a.75.75 0 0 0-.75.75v.843c0 .104.084.188.188.188h18.375a.188.188 0 0 0 .187-.188v-.843a.75.75 0 0 0-.75-.75z"})}))};Wt.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var Gt=b.DeleteIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M8.438 4.313H8.25a.188.188 0 0 0 .188-.188v.188h7.124v-.188c0 .103.085.188.188.188h-.188V6h1.688V4.125c0-.827-.673-1.5-1.5-1.5h-7.5c-.827 0-1.5.673-1.5 1.5V6h1.688V4.312zM20.25 6H3.75a.75.75 0 0 0-.75.75v.75c0 .103.084.188.188.188h1.415l.579 12.257c.038.8.698 1.43 1.498 1.43h10.64c.802 0 1.46-.628 1.498-1.43l.579-12.258h1.416A.188.188 0 0 0 21 7.5v-.75a.75.75 0 0 0-.75-.75zm-3.11 13.688H6.86l-.567-12h11.414l-.567 12z"})}))};Gt.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var Kt=b.PassportIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.333 4.292c0-.46.373-.834.834-.834h12.25c.46 0 .833.373.833.834v14.875c0 .46-.373.833-.833.833H4.167a.833.833 0 0 1-.834-.833V4.292zM5 5.125v13.208h10.583V5.125H5z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.297 1.004a.833.833 0 0 1 .328.663v2.625a.833.833 0 1 1-1.667 0V2.758L4.386 5.096a.833.833 0 1 1-.439-1.608L13.572.863a.833.833 0 0 1 .726.141zM10.292 9.5a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833zm-2.584.917a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0zM7.708 14.792c0-.46.373-.834.834-.834h3.5a.833.833 0 0 1 0 1.667h-3.5a.833.833 0 0 1-.834-.833z"})]}))};Kt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Xt=b.ExternalIssuerIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zM5.627 13.213c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zM15.64 11.313c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833l-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04c.133.129.194.315.162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})]}))};Xt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Jt=b.AllowLoginIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,r.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"}),(0,r.jsx)("rect",{x:"15.313",y:"14.063",width:"7.5",height:"1.875",rx:".938",transform:"rotate(-90 15.313 14.063)"})]}))};Jt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Qt=b.ForbidLoginIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,r.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"})]}))};Qt.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Yt=b.LockIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M11.78 2.25c-2.767 0-5.019 2.271-5.019 5.063v3.037H5.758a2.018 2.018 0 0 0-2.008 2.025v8.1c0 1.117.9 2.025 2.008 2.025h12.045a2.018 2.018 0 0 0 2.007-2.025v-8.1c0-1.117-.9-2.025-2.007-2.025h-1.004V7.313c0-2.792-2.251-5.063-5.019-5.063zm6.023 10.125l.002 8.1H5.758v-8.1h12.045zM8.769 10.35V7.313c0-1.675 1.35-3.038 3.011-3.038 1.66 0 3.011 1.363 3.011 3.037v3.038H8.77z"})}))};Yt.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var Zt=b.PersonIcon=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("g",{clipPath:"url(#clip0)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0",children:(0,r.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};Zt.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};var eo=b.RevokeIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};eo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var to=b.Dapp=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M6.404 28a2.404 2.404 0 0 1-2.393-2.173L4 25.596V7.966a2.404 2.404 0 0 1 2.173-2.394l.231-.011h7.213a2.404 2.404 0 0 1 2.393 2.172l.01.232v.407l3.51-3.637a2.404 2.404 0 0 1 3.216-.22l.186.161 4.42 4.368a2.404 2.404 0 0 1 .177 3.223l-.165.186-3.704 3.526h.375a2.404 2.404 0 0 1 2.393 2.172l.011.232v7.213a2.404 2.404 0 0 1-2.172 2.393l-.232.011H6.405zm8.014-10.418H5.603v8.014a.801.801 0 0 0 .522.752l.135.036.144.013h8.014v-8.815zm9.617 0H16.02v8.815h8.014a.802.802 0 0 0 .788-.657l.013-.144v-7.213a.802.802 0 0 0-.657-.788l-.144-.013zM16.02 13.11v2.87h2.869l-2.87-2.87zm-2.404-5.946H6.404a.801.801 0 0 0-.788.657l-.013.144v8.014h8.815V7.965a.801.801 0 0 0-.522-.752l-.135-.036-.144-.013zm8.21-1.326a.806.806 0 0 0-1.035-.085l-.109.096-4.192 4.349a.801.801 0 0 0-.092.998l.101.125 4.193 4.192a.801.801 0 0 0 .994.112l.125-.098 4.42-4.21a.802.802 0 0 0 .087-1.023l-.095-.11-4.398-4.346z",fill:"currentColor"})}))};to.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var oo=b.Add=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4a1.333 1.333 0 0 0-1.333 1.333v9.334H5.333A1.333 1.333 0 0 0 4 15.992a1.253 1.253 0 0 0 1.353 1.288h9.314v9.387a1.333 1.333 0 1 0 2.666 0v-9.334h9.334a1.333 1.333 0 1 0 0-2.666h-9.334V5.333A1.333 1.333 0 0 0 16 4z",fill:"currentColor"})}))};oo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var lo=b.NFT=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.654 12.75c-.533 0-.904.404-.904.829V24.42c0 .425.371.829.904.829h18.692c.532 0 .904-.404.904-.829V13.58c0-.425-.372-.829-.904-.829H5.654zm-2.404.829c0-1.319 1.11-2.329 2.404-2.329h18.692c1.294 0 2.404 1.01 2.404 2.329V24.42c0 1.319-1.11 2.329-2.404 2.329H5.654c-1.294 0-2.404-1.01-2.404-2.329V13.58zM8.25 6A.75.75 0 0 1 9 5.25h12.25a.75.75 0 0 1 0 1.5H9A.75.75 0 0 1 8.25 6zM6.25 9A.75.75 0 0 1 7 8.25h15.75a.75.75 0 0 1 0 1.5H7A.75.75 0 0 1 6.25 9z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.762 22a.3.3 0 0 0 .3-.3v-2.85c0-.303.398-.416.556-.157l1.934 3.163a.3.3 0 0 0 .256.144h.637a.3.3 0 0 0 .3-.3v-5.4a.3.3 0 0 0-.3-.3h-.462a.3.3 0 0 0-.3.3v2.837c0 .302-.397.415-.555.157l-1.943-3.151A.3.3 0 0 0 7.93 16H7.3a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.462zm5.756 0a.3.3 0 0 0 .3-.3v-1.905a.3.3 0 0 1 .3-.3h2.273a.3.3 0 0 0 .3-.3v-.39a.3.3 0 0 0-.3-.3h-2.273a.3.3 0 0 1-.3-.3v-.916a.3.3 0 0 1 .3-.3h2.656a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-3.762a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.506zm7.258 0a.3.3 0 0 0 .3-.3v-4.436a.3.3 0 0 1 .3-.3H22.7a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-4.359a.3.3 0 0 0-.3.3v.364a.3.3 0 0 0 .3.3h1.329a.3.3 0 0 1 .3.3V21.7a.3.3 0 0 0 .3.3h.506z",fill:"currentColor"})]}))};lo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var ro=b.Rollup=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M18 21.5H6.5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a3 3 0 0 0 3-3v-14m0 0H26a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-.5a2 2 0 0 0-2 2v3.5z",stroke:"currentColor",strokeWidth:"1.6"}),(0,r.jsx)("path",{d:"M8 21.5V8a3 3 0 0 1 3-3h15",stroke:"currentColor",strokeWidth:"1.6"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.895 10.05a.65.65 0 0 0-.211.14l-2.493 2.494a.651.651 0 1 0 .92.92l1.382-1.38v4.125a.651.651 0 1 0 1.302 0v-4.126l1.381 1.381a.651.651 0 0 0 .921-.92l-2.492-2.492-.008-.008a.65.65 0 0 0-.702-.135z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M16 23.5v2a2 2 0 1 0 4 0v-2a2 2 0 1 0-4 0z",stroke:"currentColor",strokeWidth:"1.6"})]}))};ro.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var so=b.Token=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.272 10.48c-1.93 1.272-5.138 1.944-8.24 1.944-3.095 0-6.313-.668-8.213-1.977v4.198c0 1.16 2.768 2.756 7.368 2.935.318.012.606.191.755.469a.866.866 0 0 1-.035.878.896.896 0 0 1-.79.409c-2.792-.103-5.573-.763-7.314-1.909v4.188c0 1.16 2.769 2.755 7.368 2.935a.894.894 0 0 1 .753.472.867.867 0 0 1-.039.878.897.897 0 0 1-.791.405C8.529 26.095 4 24.47 4 21.603V7.713C4 4.654 9.17 3 14.032 3c4.863 0 10.032 1.66 10.032 4.714v3.4a.889.889 0 0 1-.896.882.889.889 0 0 1-.896-.882v-.633zm0-2.766c0-1.233-3.133-2.95-8.24-2.95s-8.244 1.71-8.244 2.942c0 1.233 3.152 2.95 8.244 2.95 5.091 0 8.24-1.71 8.24-2.942zm-.225 5.675c-4.44 0-6.763 1.684-6.763 3.344v8.924c0 1.66 2.327 3.343 6.763 3.343 4.437 0 6.732-1.657 6.771-3.305v-8.962c0-1.664-2.327-3.344-6.77-3.344zm4.98 3.344c0-.477-1.695-1.584-4.98-1.584-3.28 0-4.975 1.11-4.975 1.584 0 .473 1.695 1.58 4.976 1.58 3.28 0 4.979-1.103 4.979-1.58zm-4.98 10.504c-3.28 0-4.975-1.107-4.975-1.58v-2.13c1.136.607 2.804 1.007 4.976 1.007 2.171 0 3.842-.381 4.979-1.007v2.13c.003.473-1.699 1.58-4.98 1.58zm-4.975-6.046c0 .477 1.695 1.584 4.976 1.584 3.28.004 4.983-1.107 4.979-1.584v-2.137c-1.137.614-2.808 1.01-4.98 1.01-2.171 0-3.839-.404-4.975-1.01v2.137z",fill:"currentColor"})}))};so.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var no=b.Tx=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.727 4.773h11.819A2.955 2.955 0 0 1 24.5 7.727v16.546a2.955 2.955 0 0 1-2.954 2.954H9.726a2.955 2.955 0 0 1-2.954-2.954V7.727a2.955 2.955 0 0 1 2.954-2.954zM5 7.727A4.727 4.727 0 0 1 9.727 3h11.819a4.727 4.727 0 0 1 4.727 4.727v16.546A4.727 4.727 0 0 1 21.546 29H9.726A4.727 4.727 0 0 1 5 24.273V7.727zM11.796 9.5a.886.886 0 1 0 0 1.773h7.681a.886.886 0 1 0 0-1.773h-7.681zm-.887 10.34c0-.489.397-.886.886-.886h7.682a.886.886 0 0 1 0 1.773h-7.681a.886.886 0 0 1-.887-.886zm.886-5.613a.886.886 0 1 0 0 1.773h7.682a.886.886 0 0 0 0-1.773h-7.681z",fill:"currentColor"})}))};no.defaultProps={width:"32",height:"33",viewBox:"0 0 32 33",xmlns:"http://www.w3.org/2000/svg"};var io=b.Connect=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("circle",{cx:"24",cy:"24",r:"24"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.76 28.844a1.4 1.4 0 0 1 1.98 0l2.917 2.916a1.4 1.4 0 0 1 0 1.98l-2.917 2.917a1.4 1.4 0 0 1-1.98-1.98l1.927-1.927-1.927-1.927a1.4 1.4 0 0 1 0-1.98zM12.027 12.027a3.733 3.733 0 1 1 5.28 5.28 3.733 3.733 0 0 1-5.28-5.28zm2.64 1.707a.933.933 0 1 0 0 1.866.933.933 0 0 0 0-1.866z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6 14.667a1.4 1.4 0 0 1 1.4-1.4h4.667A3.733 3.733 0 0 1 25.4 17v13.417a.933.933 0 0 0 .933.933h9.334a1.4 1.4 0 1 1 0 2.8h-9.334a3.733 3.733 0 0 1-3.733-3.733V17a.933.933 0 0 0-.933-.933H17a1.4 1.4 0 0 1-1.4-1.4z",fill:"#fff"})]}))};io.defaultProps={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ao=b.WalletTextLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.22.878h25.268c1.244 0 2.253.917 2.253 2.049v14.146c0 1.132-1.009 2.049-2.253 2.049H3.22c-1.245 0-2.254-.917-2.254-2.049v-.12a.483.483 0 0 0-.966 0v.12C0 18.69 1.441 20 3.22 20h25.268c1.778 0 3.22-1.31 3.22-2.927V2.927C31.707 1.31 30.265 0 28.487 0H3.22C1.44 0 0 1.31 0 2.927v.12a.483.483 0 1 0 .966 0v-.12C.966 1.795 1.975.878 3.22.878zM.102 15.02a.387.387 0 0 0 .263.103h3.864c1.439 0 2.533-.327 3.281-.98.759-.664 1.162-1.674 1.21-3.03.01-.273.015-.644.015-1.112 0-.469-.005-.844-.014-1.127-.04-1.298-.452-2.288-1.24-2.97-.787-.684-1.896-1.025-3.325-1.025H.365a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm5.469-2.458c-.302.302-.773.453-1.415.453H2.625V6.986h1.458c.642 0 1.123.156 1.444.468.33.313.506.795.525 1.45.02.272.03.633.03 1.082 0 .449-.01.815-.03 1.098-.02.673-.18 1.165-.481 1.478zm4.97 2.458a.388.388 0 0 0 .262.103h1.955a.355.355 0 0 0 .262-.103.334.334 0 0 0 .117-.263V5.245a.334.334 0 0 0-.117-.264.355.355 0 0 0-.262-.102h-1.954a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm4.99.103a.388.388 0 0 1-.262-.103.39.39 0 0 1-.102-.263V5.245c0-.108.034-.196.102-.264a.388.388 0 0 1 .263-.102h3.791c1.43 0 2.538.341 3.325 1.024.788.683 1.201 1.673 1.24 2.97.01.284.014.66.014 1.128 0 .468-.004.839-.014 1.112-.049 1.356-.452 2.366-1.21 3.03-.75.653-1.843.98-3.282.98h-3.864zm3.792-2.108c.642 0 1.113-.15 1.415-.453.301-.313.462-.805.481-1.478.02-.283.03-.65.03-1.098 0-.449-.01-.81-.03-1.083-.02-.654-.194-1.136-.525-1.449-.32-.312-.802-.468-1.444-.468h-1.458v6.03h1.531zm7.524-4.212a.878.878 0 0 1-.879-.872c0-.482.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872zm0 4.558a.878.878 0 0 1-.879-.872c0-.481.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872z",fill:"#4598FA"}),(0,r.jsx)("path",{d:"M37.138 14.838a.526.526 0 0 1-.365-.122.56.56 0 0 1-.163-.325l-1.474-8.645a.3.3 0 0 1-.014-.095.26.26 0 0 1 .081-.19.285.285 0 0 1 .203-.094h1.678c.252 0 .392.1.42.298l.879 5.276.974-3.111c.099-.244.248-.366.446-.366h.974c.226 0 .375.122.447.366l.974 3.111.88-5.276c.026-.199.166-.298.419-.298h1.677c.081 0 .15.032.203.095a.243.243 0 0 1 .095.19l-.014.094-1.474 8.645a.53.53 0 0 1-.176.325.506.506 0 0 1-.352.122h-1.285a.492.492 0 0 1-.338-.108.646.646 0 0 1-.176-.244l-1.367-3.87-1.366 3.87c-.081.234-.248.352-.5.352h-1.286zM45.929 14.838a.307.307 0 0 1-.203-.081.307.307 0 0 1-.081-.203c0-.055.004-.095.013-.122l3.18-8.686a.492.492 0 0 1 .175-.27.546.546 0 0 1 .352-.109h2.002c.145 0 .262.036.352.108.09.073.15.163.176.271l3.166 8.686.027.122c0 .072-.032.14-.095.203a.276.276 0 0 1-.203.08h-1.664c-.216 0-.36-.094-.433-.283l-.527-1.38h-3.613l-.514 1.38c-.072.19-.22.284-.446.284h-1.664zm5.696-3.613l-1.259-3.571-1.258 3.571h2.517zM56.493 14.838a.36.36 0 0 1-.244-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .244-.095h1.786c.099 0 .18.032.243.095a.33.33 0 0 1 .095.243v7.09h4.1c.099 0 .18.036.243.108a.33.33 0 0 1 .094.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.223zM64.565 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h1.786c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v7.09h4.099c.1 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.224zM72.638 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h6.318c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v1.272a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.094H74.64v1.827h4.019c.099 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.177a.36.36 0 0 1-.095.243.33.33 0 0 1-.243.095H74.64v1.88h4.425c.099 0 .18.032.243.095a.33.33 0 0 1 .095.244v1.271a.36.36 0 0 1-.095.244.33.33 0 0 1-.243.095h-6.427zM83.362 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V7.491h-2.408a.36.36 0 0 1-.243-.094.36.36 0 0 1-.095-.244V5.705c0-.099.031-.18.094-.243a.36.36 0 0 1 .244-.095h7.279c.1 0 .18.032.243.095a.33.33 0 0 1 .095.243v1.448c0 .1-.031.18-.095.244a.33.33 0 0 1-.243.094h-2.408V14.5a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.095h-1.785z",fill:"#334660"})]}))};ao.defaultProps={width:"89",height:"20",viewBox:"0 0 89 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var co=b.Pending=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("circle",{opacity:".2",cx:"12",cy:"12",r:"12"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"7.385"})]}))};co.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var uo=b.ABTNode=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 9.2c.81 0 1.467.657 1.467 1.467v16c0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065v-16a1.467 1.467 0 1 1 2.933 0v16c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087v-16c0-.81.656-1.467 1.466-1.467z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 17.2c.81 0 1.467.657 1.467 1.467 0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065a1.467 1.467 0 1 1 2.933 0c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-.81.656-1.467 1.466-1.467z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.339 9.601c-.427.449-.539.806-.539 1.066s.112.617.539 1.065c.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065 0-.26-.113-.617-.54-1.066-.433-.456-1.13-.933-2.104-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.89 1.435-.973.433-1.67.91-2.104 1.366zm.914-4.046c2.4-1.067 5.611-1.688 9.08-1.688 3.47 0 6.682.621 9.08 1.688 1.199.532 2.259 1.204 3.04 2.024.788.828 1.347 1.874 1.347 3.088 0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.024-2.398 1.067-5.61 1.689-9.08 1.689-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-1.214.56-2.26 1.347-3.088.78-.82 1.84-1.492 3.039-2.024zM34.667 35.867c.81 0 1.466.656 1.466 1.466v16c0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066v-16a1.467 1.467 0 0 1 2.933 0v16c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088v-16c0-.81.657-1.466 1.467-1.466z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.667 43.867c.81 0 1.466.656 1.466 1.466 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066a1.467 1.467 0 0 1 2.933 0c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088 0-.81.657-1.466 1.467-1.466z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.672 36.268c-.426.448-.539.806-.539 1.065 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066s-.112-.617-.539-1.065c-.434-.456-1.131-.933-2.105-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.889 1.435-.974.433-1.67.91-2.105 1.366zm.914-4.047c2.4-1.066 5.611-1.688 9.08-1.688 3.47 0 6.682.622 9.081 1.688 1.198.533 2.258 1.204 3.039 2.025.788.828 1.347 1.873 1.347 3.087 0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088s.56-2.26 1.347-3.087c.781-.82 1.841-1.492 3.04-2.025zM41.2 8c0-.81.657-1.467 1.467-1.467h8a6.8 6.8 0 0 1 6.8 6.8v8a1.467 1.467 0 0 1-2.934 0v-8a3.866 3.866 0 0 0-3.866-3.866h-8c-.81 0-1.467-.657-1.467-1.467zM8 41.2c.81 0 1.467.657 1.467 1.467v8a3.867 3.867 0 0 0 3.866 3.866h8a1.467 1.467 0 1 1 0 2.934h-8a6.8 6.8 0 0 1-6.8-6.8v-8c0-.81.657-1.467 1.467-1.467z"})]}))};uo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var po=b.Bridge=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.01 3.2a.8.8 0 0 0-.8.8v12.486a.84.84 0 0 0 0 .026v2.338h-1.2a.8.8 0 1 0 0 1.6h24.3a.8.8 0 0 0 0-1.6h-1.58a.797.797 0 0 0 .08-.35v-1.993a.96.96 0 0 0 0-.024V4a.8.8 0 0 0-.8-.8h-20zm19.281 15.65a.797.797 0 0 1-.08-.35v-1.77l-.03-.047c-.1-.15-.252-.37-.454-.635a14.045 14.045 0 0 0-1.81-1.95C21.319 12.678 19 11.3 16.01 11.3c-2.99 0-5.308 1.377-6.906 2.798a14.044 14.044 0 0 0-1.81 1.95c-.203.265-.354.485-.454.635l-.03.047v2.12h18.48zm-.08-4.722V4.8h-3.4v6.514c.83.489 1.553 1.04 2.169 1.588.47.419.881.837 1.23 1.226zm-5-3.606V4.8h-3.4v4.928c1.248.09 2.383.382 3.4.794zm-5-.794a11.116 11.116 0 0 0-3.4.794V4.8h3.4v4.928zm-5 1.586V4.8h-3.4v9.328c.35-.39.76-.807 1.23-1.226.616-.547 1.34-1.1 2.17-1.588zm-5 12.336a.8.8 0 0 1 .8-.8h20a.8.8 0 1 1 0 1.6h-20a.8.8 0 0 1-.8-.8zm2.8 3.2a.8.8 0 1 0 0 1.6h16a.8.8 0 0 0 0-1.6h-16z",fill:"currentColor"})}))};po.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ho=b.BridgeMoveIn=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.077.934a.8.8 0 0 0-1.131 1.132L23.08 3.2H8.012a.8.8 0 1 0 0 1.6H23.08l-1.134 1.134a.8.8 0 0 0 1.131 1.132l2.5-2.5a.8.8 0 0 0 0-1.132l-2.5-2.5zm-17.632 8.5a.8.8 0 0 1 .566-.234h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 0 1 0 1.6H4.01a.8.8 0 1 1 0-1.6h1.2v-2.338V10a.8.8 0 0 1 .234-.566zM25.211 24.5c0 .125.029.244.08.35H6.811v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.05 14.05 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.051 14.051 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328a15.53 15.53 0 0 0-1.231-1.226c-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514c-.83.489-1.554 1.041-2.17 1.588-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 0 0 0 1.6h20a.8.8 0 1 0 0-1.6h-20z",fill:"currentColor"})}))};ho.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var fo=b.BridgeMoveOut=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.946 7.066a.8.8 0 0 0 1.132-1.132L9.943 4.8h14.069a.8.8 0 0 0 0-1.6H9.943l1.135-1.134A.8.8 0 0 0 9.946.934L7.452 3.428a.804.804 0 0 0-.24.572c0 .225.093.429.242.574l2.492 2.492zM5.444 9.434A.8.8 0 0 1 6.01 9.2h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 1 1 0 1.6H4.01a.8.8 0 0 1 0-1.6h1.2v-2.335V10a.8.8 0 0 1 .234-.566zM25.21 24.5c0 .126.029.244.08.35H6.81v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.044 14.044 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.045 14.045 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328c-.35-.389-.76-.807-1.231-1.226-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514a13.87 13.87 0 0 0-2.17 1.588c-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 1 0 0 1.6h20a.8.8 0 0 0 0-1.6h-20z",fill:"currentColor"})}))};fo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var xo=b.DidWalletLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.791a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z",fill:"#6BBDFE"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"#4598FA"}),(0,r.jsx)("path",{d:"M152.732 9.627l-7.02 22.502h-3.009l-5.484-16.688a7.8 7.8 0 0 1-.329-1.207c-.115.48-.225.883-.329 1.207l-5.548 16.688h-2.993L121 9.627h2.789c.293 0 .538.073.737.22a.955.955 0 0 1 .392.563l4.434 15.06c.084.292.157.61.22.955.073.345.146.706.219 1.082.073-.377.146-.737.219-1.082.084-.344.178-.663.282-.956l5.078-15.059c.062-.209.193-.391.391-.548.209-.157.455-.235.737-.235h.956c.292 0 .533.073.721.22.188.145.323.334.407.563l5.061 15.06c.189.574.356 1.227.502 1.958.125-.72.261-1.374.407-1.959l4.451-15.059c.052-.209.183-.391.391-.548.209-.157.455-.235.737-.235h2.601zM162.039 25.062c-1.244.042-2.299.141-3.166.298-.867.146-1.572.345-2.115.595-.543.25-.935.549-1.175.893-.241.335-.361.71-.361 1.129 0 .397.063.741.188 1.034.136.282.314.517.533.705.23.178.496.308.799.392a3.7 3.7 0 0 0 .987.125 5.433 5.433 0 0 0 2.398-.533c.345-.177.674-.391.987-.642.314-.25.622-.538.925-.862v-3.134zm-8.964-6.629c.888-.846 1.849-1.478 2.884-1.896 1.044-.418 2.188-.626 3.431-.626.909 0 1.714.151 2.414.454.7.293 1.29.705 1.77 1.238.481.533.841 1.17 1.082 1.912.25.741.376 1.561.376 2.46v10.154h-1.364c-.303 0-.532-.047-.689-.14-.157-.105-.282-.293-.376-.565l-.329-1.395c-.408.377-.81.71-1.207 1.003a8.387 8.387 0 0 1-1.254.737c-.428.198-.888.35-1.379.454a7.84 7.84 0 0 1-1.629.157 6.1 6.1 0 0 1-1.771-.25 4.064 4.064 0 0 1-1.426-.8 3.824 3.824 0 0 1-.971-1.332c-.23-.533-.345-1.154-.345-1.865 0-.626.167-1.227.501-1.802.345-.585.899-1.107 1.661-1.567.773-.46 1.776-.835 3.009-1.128 1.243-.293 2.768-.46 4.576-.501v-1.16c0-1.201-.256-2.1-.768-2.695-.512-.596-1.264-.893-2.257-.893-.668 0-1.232.083-1.692.25a6.476 6.476 0 0 0-1.175.564 26.04 26.04 0 0 0-.862.549 1.3 1.3 0 0 1-.752.25.904.904 0 0 1-.549-.172 1.49 1.49 0 0 1-.36-.407l-.549-.988zM172.256 9v23.13h-3.071V9h3.071zM179.755 9v23.13h-3.072V9h3.072zM194.665 22.398c0-.606-.088-1.165-.266-1.677a3.714 3.714 0 0 0-.752-1.332 3.46 3.46 0 0 0-1.223-.877c-.48-.21-1.034-.314-1.661-.314-1.285 0-2.298.371-3.04 1.113-.731.742-1.196 1.77-1.394 3.087h8.336zm2.523 7.46c-.376.438-.809.82-1.3 1.143a7.805 7.805 0 0 1-1.567.768 9.5 9.5 0 0 1-1.724.439c-.585.094-1.165.14-1.74.14-1.096 0-2.115-.182-3.055-.548a7.001 7.001 0 0 1-2.429-1.63c-.679-.72-1.212-1.608-1.599-2.663-.376-1.066-.564-2.288-.564-3.667 0-1.108.173-2.137.517-3.087a7.51 7.51 0 0 1 1.473-2.508 6.915 6.915 0 0 1 2.367-1.676c.929-.408 1.974-.611 3.134-.611.971 0 1.865.161 2.679.485a5.869 5.869 0 0 1 2.132 1.38c.595.605 1.06 1.352 1.394 2.24.345.888.517 1.902.517 3.04 0 .47-.052.789-.156.956-.105.157-.298.235-.58.235H186.25c.032.95.168 1.781.408 2.492.24.7.569 1.285.987 1.755.428.47.935.82 1.52 1.05.585.23 1.238.344 1.959.344.679 0 1.264-.078 1.755-.235.501-.156.93-.323 1.285-.501.366-.188.668-.36.909-.517.25-.157.47-.235.658-.235.251 0 .444.094.58.282l.877 1.128zM205.568 32.38c-1.285 0-2.277-.36-2.977-1.081-.689-.721-1.034-1.75-1.034-3.087v-9.528h-1.849a.688.688 0 0 1-.455-.157c-.115-.114-.172-.282-.172-.5v-1.239l2.585-.36.69-4.748a.72.72 0 0 1 .235-.408.708.708 0 0 1 .47-.156h1.551v5.343h4.514v2.225h-4.514v9.324c0 .627.152 1.097.455 1.41.313.303.71.455 1.191.455.282 0 .522-.037.721-.11.209-.073.386-.151.532-.235.147-.094.272-.178.377-.25a.507.507 0 0 1 .282-.11c.104 0 .182.026.235.078a.691.691 0 0 1 .188.22l.909 1.472a5.282 5.282 0 0 1-1.787 1.066 6.232 6.232 0 0 1-2.147.376z",fill:"#4598FA"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z",fill:"#363844"})]}))};xo.defaultProps={viewBox:"0 0 210 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var mo=b.ServerLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,r.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};mo.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var vo=b.ServerLogoNotext=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_426)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H29.47a.96.96 0 0 1-.924-.697L27.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_426)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_426",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_426",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};vo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var go=b.ServerLogoBg=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_615_429)",d:"M0 0h119.883v119.883H0z"}),(0,r.jsx)("mask",{id:"mask0_615_429",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,r.jsxs)("g",{mask:"url(#mask0_615_429)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783V-2.927L59.812-29.83z",fill:"#0FA4B7"}),(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783.475-103.641-78.042-30.709z",fill:"#2BE0D7"})]}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.92 50.292l1.466-5.132h6.851l1.466 5.132 4.25 2.453 5.177-1.296 3.425 5.933-3.711 3.835v4.907l3.711 3.835-3.425 5.933-5.178-1.296-4.249 2.453-1.466 5.132h-6.85l-1.467-5.132-4.249-2.453-5.177 1.296-3.425-5.933 3.71-3.835v-4.907l-3.71-3.835 3.425-5.933 5.177 1.296 4.25-2.453z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.812 71.597a7.927 7.927 0 1 0 0-15.853 7.927 7.927 0 0 0 0 15.853z",fill:"#1ABBC4"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_429",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};go.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var bo=b.LauncherLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,r.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};bo.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var jo=b.LauncherLogoNotext=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};jo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var wo=b.LauncherLogoBg=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_615_431)",d:"M0 0h119.883v119.883H0z"}),(0,r.jsx)("mask",{id:"mask0_615_431",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,r.jsxs)("g",{mask:"url(#mask0_615_431)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783L-6.439-12.293l66.25-17.538z",fill:"#0FA4B7"}),(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783-1.281-105.982-76.286-28.368z",fill:"#2BE0D7"})]}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.51 18.656-10.772.046.026.045-.026 18.656 10.772 25.131-14.51V59.903z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.445 50.929l10.483-6.13 18.93 11.082.91.517V70.54l-.61.43-19.23 11.256-10.511-6.113.028-25.184z",fill:"#fff"}),(0,r.jsx)("path",{d:"M54.128 55.69l2.196-1.258 13.41 7.803v2.525l-13.462 7.833-2.196-1.267.052-15.636z",fill:"#19B9C3"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_431",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};wo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ro=b.StoreLogo=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_417)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.903L30.72 14.23 12.288 24.903V46.25L30.72 56.92 49.152 46.25V24.903zm-34.944 1.112l16.512-9.561 16.512 9.56v19.123l-16.512 9.56-16.512-9.56V26.015zm17.471-.59v2.168a6.931 6.931 0 0 1 5.042-2.168h4.135v4.148a6.97 6.97 0 0 1-2.13 5.026h2.13v11.128H20.584V25.425h11.095zm-9.175 1.926v7.276h7.255v-7.276h-7.255zm14.217 0h2.215v2.222c0 2.791-2.256 5.054-5.04 5.054h-2.215v-2.222c0-2.791 2.256-5.054 5.04-5.054zM22.504 43.8h7.255v-7.276h-7.255V43.8zm9.177 0v-7.276h7.255V43.8h-7.255z",fill:"url(#paint1_linear_615_417)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,r.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM99.234 53.306c-1.25 0-2.212-.35-2.884-1.05-.662-.71-.994-1.685-.994-2.926v-8.022h-1.47a.674.674 0 0 1-.476-.182c-.13-.122-.196-.304-.196-.546v-1.372l2.31-.378.728-3.92a.767.767 0 0 1 .266-.434.791.791 0 0 1 .504-.154h1.792v4.522h3.836v2.464h-3.836v7.784c0 .448.108.798.322 1.05.224.252.528.378.91.378.215 0 .392-.024.532-.07a2.91 2.91 0 0 0 .378-.168c.112-.056.21-.108.294-.154a.452.452 0 0 1 .252-.084c.103 0 .187.028.252.084a.96.96 0 0 1 .21.224l1.036 1.68a5.229 5.229 0 0 1-1.736.952 6.46 6.46 0 0 1-2.03.322zM111.111 38.494c1.064 0 2.03.172 2.898.518a6.283 6.283 0 0 1 2.24 1.47c.625.634 1.106 1.409 1.442 2.324.336.914.504 1.936.504 3.066 0 1.138-.168 2.165-.504 3.08-.336.914-.817 1.694-1.442 2.338a6.195 6.195 0 0 1-2.24 1.484c-.868.345-1.834.518-2.898.518-1.073 0-2.049-.173-2.926-.518a6.329 6.329 0 0 1-2.254-1.484c-.616-.644-1.097-1.424-1.442-2.338-.336-.915-.504-1.942-.504-3.08 0-1.13.168-2.152.504-3.066.345-.915.826-1.69 1.442-2.324a6.421 6.421 0 0 1 2.254-1.47c.877-.346 1.853-.518 2.926-.518zm0 12.138c1.195 0 2.077-.402 2.646-1.204.579-.803.868-1.979.868-3.528 0-1.55-.289-2.73-.868-3.542-.569-.812-1.451-1.218-2.646-1.218-1.213 0-2.114.41-2.702 1.232-.579.812-.868 1.988-.868 3.528s.289 2.716.868 3.528c.588.802 1.489 1.204 2.702 1.204zM124.095 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.723.056-1.022.168a2.587 2.587 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM140.122 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.178-.831-.266-1.344-.266-.999 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.205.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.765-.276 1.064-.434.308-.159.574-.304.798-.434.233-.131.457-.196.672-.196.289 0 .504.107.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.316 8.316 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.786-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56a7.03 7.03 0 0 1 2.506.434 5.42 5.42 0 0 1 1.974 1.274c.551.55.98 1.232 1.288 2.044.317.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.327.266-.644.266h-8.89z",fill:"#121319"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_417",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_417",x1:"27.437",y1:"99.536",x2:"97.914",y2:"45.267",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Ro.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Co=b.StoreLogoNotext=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_427)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm17.471-.589v2.162a6.94 6.94 0 0 1 5.042-2.162h4.135v4.136a6.94 6.94 0 0 1-2.13 5.011h2.13v11.096H21.584V25.35h11.095zm-9.175 1.92v7.255h7.255v-7.255h-7.255zm14.217 0h2.215v2.215a5.04 5.04 0 0 1-5.04 5.04h-2.215v-2.215a5.04 5.04 0 0 1 5.04-5.04zM23.504 43.674h7.255v-7.256h-7.255v7.256zm9.177 0v-7.256h7.255v7.256h-7.255z",fill:"url(#paint1_linear_615_427)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_427",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_615_427",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Co.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var yo=b.StoreLogoBg=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_615_430)",d:"M0 0h119.883v119.883H0z"}),(0,r.jsx)("mask",{id:"mask0_615_430",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,r.jsxs)("g",{mask:"url(#mask0_615_430)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783 1.95-119.446L59.812-29.83z",fill:"#0FA4B7"}),(0,r.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783V-12.878L59.812-29.831z",fill:"#2BE0D7"})]}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.277 61.997V49.162h12.835v12.835H45.277zm25.15-12.835h3.92v3.919a8.916 8.916 0 0 1-8.916 8.916h-3.92v-3.92a8.916 8.916 0 0 1 8.917-8.915zm-25.15 29.017h12.835V65.344H45.277v12.835zm16.235 0V65.344h12.835v12.835H61.512z",fill:"#fff"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_615_430",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0FA4B7"}),(0,r.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};yo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var zo=b.Blocklets=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M4.005 31a3.005 3.005 0 0 1-2.99-2.717L1 27.995V5.956a3.005 3.005 0 0 1 2.717-2.99l.288-.015h9.016a3.005 3.005 0 0 1 2.992 2.715l.014.29v.51l4.385-4.547a3.005 3.005 0 0 1 4.022-.276l.232.202 5.524 5.46a3.005 3.005 0 0 1 .222 4.029l-.206.232-4.63 4.408h.468a3.005 3.005 0 0 1 2.992 2.715l.014.29v9.016a3.006 3.006 0 0 1-2.715 2.991l-.29.014H4.004zm10.018-13.023H3.003v10.018a1.002 1.002 0 0 0 .654.94l.168.046.18.015h10.018V17.977zm12.021 0H16.027v11.02h10.017a1.002 1.002 0 0 0 .986-.822l.016-.18v-9.016a1.002 1.002 0 0 0-.821-.986l-.18-.016zm-10.017-5.59v3.587h3.586l-3.586-3.586zM13.02 4.956H4.005a1.002 1.002 0 0 0-.985.821l-.016.18v10.018h11.02V5.956a1.001 1.001 0 0 0-.654-.94l-.168-.045-.18-.016zm10.262-1.657a1.008 1.008 0 0 0-1.292-.106l-.136.12-5.241 5.435a1.001 1.001 0 0 0-.114 1.248l.126.157 5.241 5.239a1.002 1.002 0 0 0 1.242.14l.156-.122 5.526-5.263a1.002 1.002 0 0 0 .108-1.279l-.118-.138-5.497-5.431z",fill:"currentColor"})}))};zo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var So=b.CodeFolder=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.667 5.2a.133.133 0 0 0-.134.133v21.334a.133.133 0 0 0 .134.133h22.666a.133.133 0 0 0 .134-.133V9.333a.133.133 0 0 0-.134-.133H16a1.2 1.2 0 0 1-.922-.432L12.105 5.2H4.667zM2.875 3.542A2.533 2.533 0 0 1 4.667 2.8h8a1.2 1.2 0 0 1 .921.432L16.563 6.8h10.771a2.533 2.533 0 0 1 2.534 2.533v17.334a2.533 2.533 0 0 1-2.534 2.533H4.667a2.533 2.533 0 0 1-2.534-2.533V5.333c0-.672.267-1.316.742-1.791z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.182 13.818a1.2 1.2 0 0 1 0 1.697L11.697 18l2.485 2.485a1.2 1.2 0 1 1-1.697 1.697L9.15 18.849a1.2 1.2 0 0 1 0-1.698l3.334-3.333a1.2 1.2 0 0 1 1.697 0zm3.636 0a1.2 1.2 0 0 1 1.697 0l3.334 3.333a1.2 1.2 0 0 1 0 1.698l-3.334 3.333a1.2 1.2 0 1 1-1.697-1.697L20.303 18l-2.485-2.485a1.2 1.2 0 0 1 0-1.697z",fill:"currentColor"})]}))};So.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ko=b.Dashboard=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.33 8.207A11.52 11.52 0 0 1 23.504 26.34H8.496A11.52 11.52 0 0 1 9.33 8.207zM16 3.52a14.08 14.08 0 0 0-8.76 25.102c.226.18.506.278.796.278h15.928c.29 0 .57-.098.797-.278A14.08 14.08 0 0 0 16 3.52zm5.883 10.072a1.28 1.28 0 0 0-1.81-1.81l-2.205 2.205a4.124 4.124 0 1 0 1.81 1.81l2.205-2.205zm-7.447 4.073a1.564 1.564 0 1 1 3.128 0 1.564 1.564 0 0 1-3.129 0z",fill:"currentColor"})}))};ko.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Mo=b.Log=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.2h16c2.646 0 4.8 2.125 4.8 4.8 0 1.571-.54 3.093-1.253 4.509-.709 1.406-1.645 2.813-2.531 4.14l-.018.028c-.908 1.365-1.766 2.654-2.401 3.913-.637 1.263-.997 2.39-.997 3.418a2.4 2.4 0 1 0 3.733-1.997 1.2 1.2 0 0 1 1.334-1.993A4.8 4.8 0 0 1 24 28.808H8a4.8 4.8 0 0 1-4.8-4.8c0-2.531 1.426-5.016 2.843-7.21.333-.513.666-1.015.993-1.507l.004-.006c.757-1.135 1.477-2.218 2.06-3.277H7.215c-.922 0-2.21-.213-3.051-1.253A4.288 4.288 0 0 1 3.2 8 4.8 4.8 0 0 1 8 3.2zM6.303 6.303A2.4 2.4 0 0 1 8 5.6h11.842A4.782 4.782 0 0 0 19.2 8c-.004.55.096 1.095.294 1.608H7.216c-.664 0-1.029-.171-1.184-.363A1.889 1.889 0 0 1 5.6 8a2.4 2.4 0 0 1 .703-1.697zM26.4 8c0-1.34-1.07-2.4-2.4-2.4A2.4 2.4 0 0 0 21.6 8c0 .762.357 1.334 1.067 1.811A1.2 1.2 0 0 1 22 12.008H11.789c-.747 1.605-1.826 3.224-2.837 4.74l-.183.276c-.244.366-.483.726-.71 1.077C6.608 20.346 5.6 22.274 5.6 24.008a2.4 2.4 0 0 0 2.4 2.4h11.842a4.782 4.782 0 0 1-.642-2.4c0-1.566.54-3.085 1.254-4.5.706-1.398 1.637-2.796 2.52-4.12l.028-.042c.908-1.365 1.764-2.653 2.401-3.917.637-1.264.997-2.395.997-3.429zm-14.396 7.462a1.186 1.186 0 0 0 .838 2.024h6.324a1.186 1.186 0 0 0 0-2.371h-6.324c-.314 0-.616.125-.838.347zm-2.766 4.742c.222-.222.524-.347.838-.347H16.4a1.186 1.186 0 1 1 0 2.371h-6.323a1.185 1.185 0 0 1-.838-2.024z",fill:"currentColor"})}))};Mo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Io=b.Setting=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.996 2.168A3.968 3.968 0 0 0 17.173 1h-1.852a3.963 3.963 0 0 0-2.78 1.132 3.81 3.81 0 0 0-1.128 2.39l-.013.291a1.707 1.707 0 0 1-1.72 1.686 1.619 1.619 0 0 1-.637-.141l-.2-.105a3.969 3.969 0 0 0-5.329 1.44L2.54 9.261a3.813 3.813 0 0 0 1.146 5.11l.234.147c.572.324.9.88.9 1.482 0 .553-.277 1.07-.74 1.384l-.157.096a3.79 3.79 0 0 0-1.545 4.946l.128.24.955 1.617a3.91 3.91 0 0 0 2.355 1.822 4.01 4.01 0 0 0 2.691-.193l.266-.13c.45-.254.915-.316 1.35-.201.434.112.805.392 1.032.778.119.192.194.408.222.633l.012.22C11.386 29.275 13.148 31 15.32 31h1.852c2.052 0 3.756-1.544 3.923-3.538l.012-.257a1.692 1.692 0 0 1 1.714-1.731c.226.008.447.06.653.15l.204.104c1.722.973 3.98.473 5.14-1.165l.15-.227.99-1.616a3.776 3.776 0 0 0 .408-2.935 3.842 3.842 0 0 0-1.542-2.159l-.249-.158c-.435-.247-.723-.611-.84-1.042a1.641 1.641 0 0 1 .176-1.27c.123-.213.292-.396.495-.535l.385-.238a3.804 3.804 0 0 0 1.326-4.806l-.085-.166a1.006 1.006 0 0 0-.063-.128l-.921-1.564c-1.023-1.74-3.236-2.416-5.08-1.567l-.247.125c-.44.253-.906.316-1.344.205a1.693 1.693 0 0 1-1.042-.77 1.536 1.536 0 0 1-.216-.624l-.014-.221c.033-.943-.369-1.951-1.11-2.699zm-4.675 1.003h1.853c.463 0 .907.183 1.234.51.322.324.497.765.485 1.221l.02.38a3.73 3.73 0 0 0 .514 1.531 3.91 3.91 0 0 0 2.394 1.77 3.992 3.992 0 0 0 2.976-.408l.154-.076.168-.066c.767-.24 1.6.078 2.01.77l.878 1.492.02.042.104.201c.356.744.059 1.686-.71 2.126l-.24.148a3.86 3.86 0 0 0-1.189 1.257 3.77 3.77 0 0 0-.397 2.916c.247.9.813 1.68 1.593 2.193l.41.255c.693.5.89 1.447.454 2.183l-.966 1.578-.11.166c-.447.628-1.329.861-2.073.541l-.474-.236a4.12 4.12 0 0 0-1.572-.362 3.976 3.976 0 0 0-2.815 1.125 3.802 3.802 0 0 0-1.15 2.735l-.008.165c-.07.825-.813 1.5-1.71 1.5h-1.851c-.888 0-1.617-.657-1.71-1.5l-.03-.53a3.888 3.888 0 0 0-2.888-3.315 3.978 3.978 0 0 0-2.979.392l-.163.078a1.74 1.74 0 0 1-2.163-.741l-.945-1.595-.084-.16c-.357-.742-.06-1.684.708-2.119l.234-.143c1.098-.744 1.734-1.928 1.734-3.196a3.834 3.834 0 0 0-1.731-3.193l-.392-.243a1.654 1.654 0 0 1-.468-2.196l.975-1.568a1.744 1.744 0 0 1 2.357-.645l.288.15c.502.234 1.049.359 1.603.366 2.08 0 3.78-1.566 3.936-3.558l.02-.459a1.64 1.64 0 0 1 .487-.99 1.727 1.727 0 0 1 1.21-.492zm.933 7.926c2.764 0 5.004 2.195 5.004 4.902 0 2.708-2.24 4.902-5.004 4.902-2.763 0-5.004-2.194-5.004-4.902 0-2.707 2.241-4.902 5.004-4.902zM13.467 16c0-1.507 1.248-2.73 2.787-2.73 1.54 0 2.787 1.223 2.787 2.73 0 1.508-1.248 2.73-2.787 2.73s-2.787-1.222-2.787-2.73z",fill:"currentColor"})}))};Io.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Lo=b.Store=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{d:"M30.4 12.034v-.056a.582.582 0 0 1-.014-.069v-.041c-.014-.028-.014-.056-.027-.083v-.028l-1.98-6.95A2.243 2.243 0 0 0 26.245 3.2H5.754a2.243 2.243 0 0 0-2.132 1.606l-1.98 6.95v.029c-.014.027-.014.055-.028.083v.041a.594.594 0 0 1-.014.07v2.298a5.538 5.538 0 0 0 2.215 4.43v8.862a2.216 2.216 0 0 0 2.216 2.216h19.938a2.215 2.215 0 0 0 2.216-2.216v-8.861a5.537 5.537 0 0 0 2.215-4.431v-2.243zM5.754 5.415h20.492l1.579 5.539H4.175l1.579-5.539zm6.923 7.754h6.646v1.108a3.323 3.323 0 1 1-6.646 0v-1.108zm-2.216 0v1.108a3.323 3.323 0 0 1-4.86 2.95 1.201 1.201 0 0 0-.249-.153 3.31 3.31 0 0 1-1.537-2.797v-1.108h6.646zm15.508 14.4H6.031v-7.864a5.539 5.539 0 0 0 5.538-2.105 5.538 5.538 0 0 0 8.862 0 5.537 5.537 0 0 0 5.538 2.105v7.864zm.679-10.495a1.2 1.2 0 0 0-.25.152 3.323 3.323 0 0 1-4.86-2.95V13.17h6.647v1.108a3.31 3.31 0 0 1-1.537 2.797z",fill:"currentColor"})}))};Lo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Po=b.Team=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.275 5.323a3.697 3.697 0 1 1 5.229 5.228 3.697 3.697 0 0 1-5.229-5.228zM9.89 2.16a5.777 5.777 0 0 0-3.483 10.385A9.33 9.33 0 0 0 .56 21.2a1.04 1.04 0 0 0 1.04 1.04h15.408a9.322 9.322 0 0 0-3.862 7.56 1.04 1.04 0 0 0 1.04 1.04h16.578a1.04 1.04 0 0 0 1.04-1.04 9.33 9.33 0 0 0-5.845-8.655 5.78 5.78 0 0 0 2.293-4.608 5.777 5.777 0 0 0-11.356-1.498 9.338 9.338 0 0 0-3.523-2.494 5.78 5.78 0 0 0 2.293-4.608A5.777 5.777 0 0 0 9.89 2.16zm9.972 11.763a3.697 3.697 0 1 1 5.228 5.228 3.697 3.697 0 0 1-5.228-5.228zm2.614 8.627a7.25 7.25 0 0 0-7.175 6.21h14.35a7.25 7.25 0 0 0-7.175-6.21zM4.763 16.075a7.25 7.25 0 0 1 12.301 4.086H2.714a7.25 7.25 0 0 1 2.05-4.086z",fill:"currentColor"})}))};Po.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var To=b.Approve=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.673 4.673A6.12 6.12 0 0 1 7 2.88h18A6.12 6.12 0 0 1 31.12 9v10A6.12 6.12 0 0 1 25 25.12h-7.203l-5.81 5.083a3.082 3.082 0 0 1-5.107-2.319v-2.765A6.12 6.12 0 0 1 .88 19V9a6.12 6.12 0 0 1 1.793-4.327zM7 5.12A3.88 3.88 0 0 0 3.12 9v10A3.88 3.88 0 0 0 7 22.88h1c.619 0 1.12.501 1.12 1.12v3.884a.84.84 0 0 0 1.393.633l6.126-5.36a1.12 1.12 0 0 1 .737-.277H25A3.881 3.881 0 0 0 28.88 19V9A3.88 3.88 0 0 0 25 5.12H7z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M20.63 9.719a1.156 1.156 0 0 1 1.65 1.619L16.13 19.03a1.156 1.156 0 0 1-1.665.03l-4.08-4.079a1.156 1.156 0 1 1 1.635-1.634l3.228 3.227 5.354-6.822a.405.405 0 0 1 .031-.034h-.002z",fill:"currentColor"})]}))};To.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var No=b.Circles=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.23 3.995a1.272 1.272 0 1 1 1.28 1.272h-.014a1.272 1.272 0 0 1-1.265-1.272zm.2 3.245A3.425 3.425 0 0 1 13.737 6L5.07 10.875V21.07a3.41 3.41 0 0 1 1.055.572l4.616-2.638v-4.458c0-.381.203-.734.532-.926l4.158-2.425V7.24zM2.926 10.247V21.07a3.419 3.419 0 0 0 1.073 6.663c.886 0 1.694-.338 2.302-.892l9.677 5.444c.327.183.725.183 1.052 0l6.253-3.517 3.424-1.927a3.417 3.417 0 1 0 3.375-5.77V10.246c0-.387-.21-.744-.547-.934L19.92 3.904a3.417 3.417 0 0 0-6.832 0L3.472 9.313c-.338.19-.547.547-.547.934zm25.01 10.823V10.875L19.27 6a3.425 3.425 0 0 1-1.694 1.24v3.954l4.157 2.426c.33.192.532.545.532.926v4.458l4.616 2.637a3.411 3.411 0 0 1 1.055-.57zm-2.23 2.37l-4.168-2.382-4.493 2.621a1.072 1.072 0 0 1-1.081 0l-4.493-2.62-4.168 2.38a3.423 3.423 0 0 1 .05 1.533l9.151 5.147 5.727-3.22 3.424-1.927a3.439 3.439 0 0 1 .05-1.532zm-12.819-8.278l3.617-2.11 3.617 2.11v4.24l-3.617 2.109-3.617-2.11v-4.239zm-8.888 7.882a1.272 1.272 0 1 0 0 2.544 1.272 1.272 0 0 0 0-2.544zm23.738 1.272a1.272 1.272 0 1 1 2.544 0 1.272 1.272 0 0 1-2.544 0z",fill:"currentColor"})}))};No.defaultProps={width:"33",height:"33",viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"};var Vo=b.Key=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.987 8.889c0-.707.573-1.28 1.28-1.28a4.124 4.124 0 0 1 4.124 4.124 1.28 1.28 0 1 1-2.56 0 1.564 1.564 0 0 0-1.564-1.564 1.28 1.28 0 0 1-1.28-1.28z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.382 1.92a9.813 9.813 0 0 0-9.706 11.905l-7.964 7.964a2.703 2.703 0 0 0-.792 1.91v3.679a2.702 2.702 0 0 0 2.702 2.702h2.845a2.702 2.702 0 0 0 2.702-2.702.142.142 0 0 1 .14-.142h.002a2.712 2.712 0 0 0 1.91-.792 2.702 2.702 0 0 0 .792-1.91.142.142 0 0 1 .143-.143h.833c.717 0 1.404-.285 1.91-.792l2.277-2.276a9.813 9.813 0 1 0 2.206-19.402zm-9.13 20.695a2.702 2.702 0 0 1 1.904-.784h.833a.142.142 0 0 0 .1-.041l2.794-2.794a1.28 1.28 0 0 1 1.275-.32 7.257 7.257 0 0 0 8.994-4.67 7.253 7.253 0 1 0-13.835-.188 1.286 1.286 0 0 1-.332 1.319l-8.463 8.462a.143.143 0 0 0-.042.101v3.678a.142.142 0 0 0 .142.142h2.845a.142.142 0 0 0 .142-.142 2.702 2.702 0 0 1 2.702-2.702l.014-.001a.143.143 0 0 0 .128-.142c0-.716.285-1.404.792-1.91l.008-.008z",fill:"currentColor"})]}))};Vo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Do=b.Label=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("g",{clipPath:"url(#clip0_802_356)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.567.629l15.96 15.96a1.606 1.606 0 0 1 .047 2.229l-11.63 12.64a1.6 1.6 0 0 1-1.186.52c-.41.001-.803-.155-1.101-.436L.678 15.592a2.155 2.155 0 0 1-.677-1.564V3.22A3.224 3.224 0 0 1 3.221 0H14.05a2.133 2.133 0 0 1 1.518.629zM2.148 14.028l16.584 15.578 10.914-11.863L14.049 2.147H3.222A1.075 1.075 0 0 0 2.148 3.22v10.808zm4.771-8.073a3.489 3.489 0 1 1 3.877 5.802 3.489 3.489 0 0 1-3.877-5.802zm1.193 4.017A1.342 1.342 0 1 0 9.603 7.74a1.342 1.342 0 0 0-1.491 2.232z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_802_356",children:(0,r.jsx)("path",{fill:"transparent",transform:"translate(.009)",d:"M0 0h32.001v32H0z"})})})]}))};Do.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"};var _o=b.Plan=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h9.956c.618 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32H4.323zM17.727 3.2c0-.619.502-1.12 1.12-1.12h9.956c.619 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12h-9.956a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32h-7.716zM2.083 18.844c0-.618.501-1.12 1.12-1.12h9.956c.618 0 1.12.502 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12v-9.956zm2.24 1.12v7.716h7.716v-7.716H4.323zm14.525-2.24h9.955a1.12 1.12 0 0 1 0 2.24H21.55l8.044 8.044a1.12 1.12 0 0 1-1.584 1.584l-8.044-8.044V28.8a1.12 1.12 0 1 1-2.24 0v-9.955-.01.02m.318-.792l.01-.01a.972.972 0 0 1-.01.01zm.803-.339h-.01zm-.01 0h.02",fill:"currentColor"})}))};_o.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Bo=b.Server=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12v10.24a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v8h23.36v-8H4.323zm-2.24 14.24c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V18.56zm2.24 1.12v8h23.36v-8H4.323z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M8.963 7.04h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64zm5.12-15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64z",fill:"currentColor"})]}))};Bo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Eo=b.Globe=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.606 17.32a7.933 7.933 0 0 1-.581-1.18c-.165-.411-.312-.86-.44-1.339a7.639 7.639 0 0 0-1.586 1.054 7.69 7.69 0 0 0 2.607 1.465zm.657-1.675c-.16-.4-.305-.848-.429-1.335A7.643 7.643 0 0 1 10 14h.002c.734 0 1.463.104 2.165.31-.124.487-.268.935-.428 1.335-.283.707-.604 1.235-.925 1.575-.32.339-.595.447-.813.447-.218 0-.493-.108-.813-.447-.322-.34-.642-.867-.925-1.575zM10 12.667a8.976 8.976 0 0 1 2.436.334c.116-.727.193-1.511.22-2.334H7.344c.027.823.103 1.607.22 2.334A8.972 8.972 0 0 1 10 12.667zM7.345 9.333c.027-.823.103-1.607.22-2.334.791.223 1.61.335 2.436.334A8.974 8.974 0 0 0 12.437 7c.116.727.193 1.511.22 2.334H7.344zm6.646 1.334c-.03.982-.127 1.925-.28 2.797.81.367 1.56.852 2.227 1.439a7.666 7.666 0 0 0 1.734-4.236h-3.681zm3.681-1.334H13.99a19.718 19.718 0 0 0-.28-2.798 8.975 8.975 0 0 0 2.228-1.438 7.665 7.665 0 0 1 1.734 4.236zm1.329.669A9 9 0 1 1 1 10a9 9 0 0 1 18 0v.002zM2.329 9.333a7.665 7.665 0 0 1 1.734-4.236A8.974 8.974 0 0 0 6.29 6.535a19.74 19.74 0 0 0-.28 2.798H2.329zm0 1.334h3.682c.03.983.126 1.925.28 2.797a8.974 8.974 0 0 0-2.228 1.439 7.665 7.665 0 0 1-1.734-4.236zm10.648 5.473c.164-.411.312-.86.44-1.34.57.285 1.103.639 1.585 1.055a7.687 7.687 0 0 1-2.606 1.465c.216-.354.41-.751.58-1.18zm-.581-13.46c.967.316 1.85.819 2.606 1.465A7.64 7.64 0 0 1 13.417 5.2c-.128-.48-.276-.928-.44-1.34a7.925 7.925 0 0 0-.581-1.18zm-.657 1.675c.16.4.304.848.428 1.335a7.64 7.64 0 0 1-2.165.31H10a7.64 7.64 0 0 1-2.166-.31c.124-.487.268-.935.429-1.335.283-.708.603-1.235.925-1.575.32-.339.595-.447.813-.447.218 0 .492.108.813.447.321.34.642.867.925 1.575zM7.025 3.86c-.165.411-.312.86-.44 1.34a7.64 7.64 0 0 1-1.586-1.055A7.688 7.688 0 0 1 7.606 2.68c-.216.354-.41.751-.581 1.18z",fill:"currentColor"})}))};Eo.defaultProps={width:"21",height:"20",viewBox:"0 0 21 20",xmlns:"http://www.w3.org/2000/svg"};var Ao=b.Notification=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.251 2.5c-2.576-.006-4.747 2.1-4.766 4.506v5.784c0 .793-.084 1.778-.58 2.71h12.19c-.496-.932-.58-1.917-.58-2.711V7.01c-.035-2.403-2.21-4.502-4.797-4.508L9.25 2.5zM17.015 7v5.789c0 .79.1 1.562.53 2.219l.287.438c.436.664-.033 1.554-.817 1.554H2.985c-.785 0-1.255-.89-.818-1.554l.287-.438c.43-.657.53-1.428.53-2.218V7c.024-3.291 2.927-6.008 6.27-6l1.467.003c3.344.008 6.254 2.706 6.294 5.998zM11.06 18.06A1.5 1.5 0 0 0 11.5 17H13a3 3 0 0 1-6 0h1.5a1.5 1.5 0 0 0 2.56 1.06z",fill:"currentColor"})}))};Ao.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Oo=b.QuestionMarkCircle=function(t){return(0,r.jsxs)("svg",j(j({},t),{},{children:[(0,r.jsx)("path",{d:"M9.928 13.133a.981.981 0 0 0-.678.252.79.79 0 0 0-.281.61c0 .27.094.482.283.636.19.154.41.231.663.231.257 0 .48-.076.673-.228.19-.153.287-.365.287-.639a.796.796 0 0 0-.275-.61.958.958 0 0 0-.672-.252zM12.633 7.2a2.526 2.526 0 0 0-1.035-.88c-.441-.212-.955-.32-1.528-.32-.617 0-1.166.129-1.63.383-.467.255-.826.582-1.07.972-.245.392-.37.786-.37 1.172 0 .205.086.397.254.57.169.174.38.262.625.262.419 0 .705-.246.85-.729.132-.399.296-.703.485-.905.177-.19.465-.286.856-.286.336 0 .602.095.813.29.208.191.309.42.309.698a.78.78 0 0 1-.1.387c-.07.125-.156.24-.258.342-.108.109-.287.27-.53.484a9.184 9.184 0 0 0-.679.647 2.268 2.268 0 0 0-.42.656 2.27 2.27 0 0 0-.159.884c0 .288.08.511.24.663.156.15.352.227.58.227.439 0 .714-.24.796-.687.041-.186.073-.316.094-.39.019-.067.046-.136.081-.205.034-.068.089-.144.162-.227.076-.088.179-.19.305-.306.472-.422.805-.727.99-.908.19-.186.356-.41.493-.665A1.9 1.9 0 0 0 13 8.416a2.18 2.18 0 0 0-.367-1.217",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15zm0 1.5a9 9 0 1 0 0-18 9 9 0 0 0 0 18z",fill:"currentColor"})]}))};Oo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Ho=b.Account=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.826 1.75a1.937 1.937 0 1 0 0 3.875 1.937 1.937 0 0 0 0-3.875zM3.838 3.687a2.987 2.987 0 1 1 5.975 0 2.987 2.987 0 0 1-5.975 0zM2.556 9.812l-.102 1.302a1.009 1.009 0 0 0 1.005 1.087h6.733c.588 0 1.051-.5 1.005-1.087l-.102-1.302a2.29 2.29 0 0 0-2.234-1.79H4.79c-1.073 0-2.001.745-2.234 1.79zM1.52 9.628A3.34 3.34 0 0 1 4.79 6.971H8.86a3.34 3.34 0 0 1 3.269 2.657.53.53 0 0 1 .01.066l.104 1.338a2.059 2.059 0 0 1-2.052 2.22H3.459a2.059 2.059 0 0 1-2.052-2.22l.105-1.338a.524.524 0 0 1 .01-.066z",fill:"currentColor"})}))};Ho.defaultProps={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $o=Fe=b.EmptyIcon=function(t){return(0,r.jsx)("svg",j(j({},t),{},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};$o.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var z1={},Fo=Te;Object.defineProperty(z1,"__esModule",{value:!0});var I0=z1.default=void 0,Uo=Fo(Pe()),qo=o;I0=z1.default=(0,Uo.default)((0,qo.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"DoDisturbAlt");function Ce({children:e,Icon:t}){return o.jsxs(e2,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",paddingTop:"10px",margin:"10px 0px"},children:[o.jsx(z,{sx:{opacity:.3,fontSize:32},children:o.jsx(t,{})}),o.jsx(z,{sx:{mb:2,opacity:.7,fontSize:"small",color:"action"},children:e})]})}Ce.propTypes={children:f.node.isRequired,Icon:f.elementType};Ce.defaultProps={Icon:I0};function S1({value:e,app:t,onChange:l,disabled:s,resourceRelateComponents:n,projectType:c,dependentComponentsMode:d}){const{t:a,locale:u}=te(),h=d==="readonly",x=R.useMemo(()=>{const w=e.reduce((v,C)=>(v[C.did]=C.included,v),{});return(t.children||[]).filter(v=>h?n[v.meta.did]||w[v.meta.did]:!0)},[t.children,e,n,h]),g=R.useMemo(()=>x.map(w=>e.find(C=>C.did===w.meta.did)||{did:w.meta.did}),[x,e]),y=g.reduce((w,v)=>(w[v.did]=h1(v,["required","included"]),w),{}),p=w=>{const v=g.map(C=>{if(C.did===w){const S=!C.included;return{...C,included:S,required:S}}return C});l(v)},i=w=>{const v=g.map(C=>C.did===w?{...C,required:!C.required}:C);l(v)},m=[{label:a("common.name"),name:"meta.title",width:200,options:{customBodyRenderLite:w=>{var S;const v=x[w],C=(S=y[v.meta.did])==null?void 0:S.included;return o.jsxs(z,{display:"flex",alignItems:"center",children:[o.jsx(v1,{size:24,blocklet:v,ancestors:[t]}),o.jsx(z,{ml:"4px",className:g1("text",{excluded:!C}),children:o.jsx(z,{children:v.meta.title})})]})}}},{label:a("blocklet.publish.componentIncluded"),width:100,options:{customBodyRenderLite:w=>{var N;const v=x[w],C=n[v.meta.did],S=!!((N=y[v.meta.did])!=null&&N.included);return o.jsx(s1,{size:"small",checked:C||S,onClick:()=>p(v.meta.did),disabled:h||C||s})}}},{label:a("blocklet.publish.componentForceRequired"),width:100,options:{customBodyRenderLite:w=>{var T,I;const v=x[w],C=n[v.meta.did],S=!!((T=y[v.meta.did])!=null&&T.included),N=!!((I=y[v.meta.did])!=null&&I.required);return o.jsx(s1,{size:"small",checked:C||N&&S,onClick:()=>i(v.meta.did),disabled:h||C||s||!S})}}}];return o.jsx(Wo,{children:x!=null&&x.length?o.jsxs(o.Fragment,{children:[o.jsx(x1,{className:"main-table",verticalKeyWidth:100,locale:u,data:x,columns:m,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1,rowsPerPage:50}}),o.jsx(w0,{severity:"info",style:{width:"100%"},children:o.jsx(z,{display:"flex",alignItems:"center",rel:"noreferrer",children:a(c==="pack"?"blocklet.publish.packTip":"blocklet.publish.resourceTip")})})]}):o.jsx(Ce,{Icon:Fe,children:a("blocklet.publish.blockletEmptyTip")})})}S1.propTypes={app:f.object.isRequired,value:f.arrayOf(f.shape({did:f.string.isRequired,required:f.bool,included:f.bool})),onChange:f.func,disabled:f.bool,dependentComponentsMode:f.string,resourceRelateComponents:f.object,projectType:f.string.isRequired};S1.defaultProps={value:[],onChange:()=>{},disabled:!1,dependentComponentsMode:"auto",resourceRelateComponents:{}};const Wo=de(z)`
23
23
  .main-table {
24
24
  .text.excluded {
25
25
  color: #999;
@@ -43,7 +43,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
43
43
  display: none;
44
44
  }
45
45
  }
46
- `;function qo(e){return Be("MuiTreeView",e)}_e("MuiTreeView",["root"]);const I0={instance:null,multiSelect:!1,disabledItemsFocusable:!1,treeId:void 0,icons:{defaultCollapseIcon:null,defaultExpandIcon:null,defaultParentIcon:null,defaultEndIcon:null}},L0=R.createContext(I0),Uo=(e,t)=>{const l=R.useRef({}),[s,n]=R.useState(()=>{const d={};return e.forEach(c=>{c.models&&Object.entries(c.models).forEach(([u,h])=>{l.current[u]={controlledProp:h.controlledProp,defaultProp:h.defaultProp,isControlled:t[h.controlledProp]!==void 0},d[u]=t[h.defaultProp]})}),d});return Object.fromEntries(Object.entries(l.current).map(([d,c])=>{const u=c.isControlled?t[c.controlledProp]:s[d];return[d,{value:u,setValue:h=>{c.isControlled||n(x=>A({},x,{[d]:h}))}}]}))};class Wo{constructor(){this.maxListeners=20,this.warnOnce=!1,this.events={}}on(t,l,s={}){let n=this.events[t];n||(n={highPriority:new Map,regular:new Map},this.events[t]=n),s.isFirst?n.highPriority.set(l,!0):n.regular.set(l,!0)}removeListener(t,l){this.events[t]&&(this.events[t].regular.delete(l),this.events[t].highPriority.delete(l))}removeAllListeners(){this.events={}}emit(t,...l){const s=this.events[t];if(!s)return;const n=Array.from(s.highPriority.keys()),a=Array.from(s.regular.keys());for(let d=n.length-1;d>=0;d-=1){const c=n[d];s.highPriority.has(c)&&c.apply(this,l)}for(let d=0;d<a.length;d+=1){const c=a[d];s.regular.has(c)&&c.apply(this,l)}}once(t,l){const s=this;this.on(t,function n(...a){s.removeListener(t,n),l.apply(s,a)})}}const Ye=(e,t)=>{const l=e.getNode(t),s=e.getNavigableChildrenIds(l.parentId),n=s.indexOf(t);if(n===0)return l.parentId;let a=s[n-1];for(;e.isNodeExpanded(a)&&e.getNavigableChildrenIds(a).length>0;)a=e.getNavigableChildrenIds(a).pop();return a},Ve=(e,t)=>{if(e.isNodeExpanded(t)&&e.getNavigableChildrenIds(t).length>0)return e.getNavigableChildrenIds(t)[0];let l=e.getNode(t);for(;l!=null;){const s=e.getNavigableChildrenIds(l.parentId),n=s[s.indexOf(l.id)+1];if(n)return n;l=e.getNode(l.parentId)}return null},s1=e=>{let t=e.getNavigableChildrenIds(null).pop();for(;e.isNodeExpanded(t);)t=e.getNavigableChildrenIds(t).pop();return t},n1=e=>e.getNavigableChildrenIds(null)[0],Ne=(e,t)=>{Object.assign(e,t)},Go=e=>e.isPropagationStopped!==void 0,Ko=({instance:e})=>{const[t]=R.useState(()=>new Wo),l=R.useCallback((...n)=>{const[a,d,c={}]=n;c.defaultMuiPrevented=!1,!(Go(c)&&c.isPropagationStopped())&&t.emit(a,d,c)},[t]),s=R.useCallback((n,a)=>(t.on(n,a),()=>{t.removeListener(n,a)}),[t]);Ne(e,{$$publishEvent:l,$$subscribeEvent:s})},Xo=[Ko],Jo=e=>{const t=[...Xo,...e.plugins],l=t.reduce((i,m)=>m.getDefaultizedParams?m.getDefaultizedParams(i):i,e),s=Uo(t,l),a=R.useRef({}).current,d=R.useRef(null),c=p0(d,e.rootRef),[u,h]=R.useState(()=>{const i={};return t.forEach(m=>{m.getInitialState&&Object.assign(i,m.getInitialState(l))}),i}),x=[];let g=I0;const y=i=>{const m=i({instance:a,params:l,state:u,setState:h,rootRef:d,models:s})||{};m.getRootProps&&x.push(m.getRootProps),m.contextValue&&(g=m.contextValue)};return t.forEach(y),{getRootProps:(i={})=>{const m=A({role:"tree",tabIndex:0},i,{ref:c});return x.forEach(w=>{Object.assign(m,w(i))}),m},rootRef:c,contextValue:g}},Qo=["element"];function Yo(e,t){for(let l=0;l<e.length;l+=1)if(t(e[l]))return l;return-1}function Zo(e,t){let l=0,s=e.length-1;for(;l<=s;){const n=Math.floor((l+s)/2);if(e[n].element===t)return n;e[n].element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?s=n-1:l=n+1}return l}const P0=R.createContext({});function el(e){const t=R.useRef(null);return R.useEffect(()=>{t.current=e},[e]),t.current}const Q1=()=>{};function tl(e){const[,t]=R.useState(),{registerDescendant:l=Q1,unregisterDescendant:s=Q1,descendants:n=[],parentId:a=null}=R.useContext(P0),d=Yo(n,h=>h.element===e.element),c=el(n),u=n.some((h,x)=>c&&c[x]&&c[x].element!==h.element);return e2(()=>{if(e.element)return l(A({},e,{index:d})),()=>{s(e.element)};t({})},[l,s,d,u,e]),{parentId:a,index:d}}function T0(e){const{children:t,id:l}=e,[s,n]=R.useState([]),a=R.useCallback(u=>{let{element:h}=u,x=be(u,Qo);n(g=>{if(g.length===0)return[A({},x,{element:h,index:0})];const y=Zo(g,h);let p;if(g[y]&&g[y].element===h)p=g;else{const i=A({},x,{element:h,index:y});p=g.slice(),p.splice(y,0,i)}return p.forEach((i,m)=>{i.index=m}),p})},[]),d=R.useCallback(u=>{n(h=>h.filter(x=>u!==x.element))},[]),c=R.useMemo(()=>({descendants:s,registerDescendant:a,unregisterDescendant:d,parentId:l}),[s,a,d,l]);return o.jsx(P0.Provider,{value:c,children:t})}function ol(e){const{value:t,children:l}=e;return o.jsx(L0.Provider,{value:t,children:o.jsx(T0,{children:l})})}const ll=(e,t,l)=>{e.$$publishEvent(t,l)},rl=({instance:e,params:t})=>{const l=R.useRef({}),s=R.useCallback(h=>l.current[h],[]),n=R.useCallback(h=>{l.current[h.id]=h},[]),a=R.useCallback(h=>{const x=A({},l.current);delete x[h],l.current=x,ll(e,"removeNode",{id:h})},[e]),d=R.useCallback(h=>{if(h==null)return!1;let x=e.getNode(h);if(!x)return!1;if(x.disabled)return!0;for(;x.parentId!=null;)if(x=e.getNode(x.parentId),x.disabled)return!0;return!1},[e]),c=De(h=>Object.values(l.current).filter(x=>x.parentId===h).sort((x,g)=>x.index-g.index).map(x=>x.id));Ne(e,{getNode:s,updateNode:n,removeNode:a,getChildrenIds:c,getNavigableChildrenIds:h=>{let x=e.getChildrenIds(h);return t.disabledItemsFocusable||(x=x.filter(g=>!e.isNodeDisabled(g))),x},isNodeDisabled:d})},z1=({instance:e,params:t,models:l})=>{const s=R.useCallback(c=>Array.isArray(l.expanded.value)?l.expanded.value.indexOf(c)!==-1:!1,[l.expanded.value]),n=R.useCallback(c=>{var u;return!!((u=e.getNode(c))!=null&&u.expandable)},[e]),a=De((c,u)=>{if(u==null)return;let h;l.expanded.value.indexOf(u)!==-1?h=l.expanded.value.filter(x=>x!==u):h=[u].concat(l.expanded.value),t.onNodeToggle&&t.onNodeToggle(c,h),l.expanded.setValue(h)});Ne(e,{isNodeExpanded:s,isNodeExpandable:n,toggleNodeExpansion:a,expandAllSiblings:(c,u)=>{const h=e.getNode(u),g=e.getChildrenIds(h.parentId).filter(p=>e.isNodeExpandable(p)&&!e.isNodeExpanded(p)),y=l.expanded.value.concat(g);g.length>0&&(l.expanded.setValue(y),t.onNodeToggle&&t.onNodeToggle(c,y))}})};z1.models={expanded:{controlledProp:"expanded",defaultProp:"defaultExpanded"}};const sl=[];z1.getDefaultizedParams=e=>{var t;return A({},e,{defaultExpanded:(t=e.defaultExpanded)!=null?t:sl})};const nl=(e,t,l)=>{if(t===l)return[t,l];const s=e.getNode(t),n=e.getNode(l);if(s.parentId===n.id||n.parentId===s.id)return n.parentId===s.id?[s.id,n.id]:[n.id,s.id];const a=[s.id],d=[n.id];let c=s.parentId,u=n.parentId,h=d.indexOf(c)!==-1,x=a.indexOf(u)!==-1,g=!0,y=!0;for(;!x&&!h;)g&&(a.push(c),h=d.indexOf(c)!==-1,g=c!==null,!h&&g&&(c=e.getNode(c).parentId)),y&&!h&&(d.push(u),x=a.indexOf(u)!==-1,y=u!==null,!x&&y&&(u=e.getNode(u).parentId));const p=h?c:u,i=e.getChildrenIds(p),m=a[a.indexOf(p)-1],w=d[d.indexOf(p)-1];return i.indexOf(m)<i.indexOf(w)?[t,l]:[l,t]},S1=({instance:e,params:t,models:l})=>{const s=R.useRef(null),n=R.useRef(!1),a=R.useRef([]),d=i=>Array.isArray(l.selected.value)?l.selected.value.indexOf(i)!==-1:l.selected.value===i,c=(i,m,w=!1)=>{if(!t.disableSelection){if(w){if(Array.isArray(l.selected.value)){let v;l.selected.value.indexOf(m)!==-1?v=l.selected.value.filter(C=>C!==m):v=[m].concat(l.selected.value),t.onNodeSelect&&t.onNodeSelect(i,v),l.selected.setValue(v)}}else{const v=t.multiSelect?[m]:m;t.onNodeSelect&&t.onNodeSelect(i,v),l.selected.setValue(v)}s.current=m,n.current=!1,a.current=[]}},u=(i,m)=>{const[w,v]=nl(e,i,m),C=[w];let S=w;for(;S!==v;)S=Ve(e,S),C.push(S);return C},h=(i,m)=>{let w=l.selected.value.slice();const{start:v,next:C,current:S}=m;!C||!S||(a.current.indexOf(S)===-1&&(a.current=[]),n.current?a.current.indexOf(C)!==-1?(w=w.filter(N=>N===v||N!==S),a.current=a.current.filter(N=>N===v||N!==S)):(w.push(C),a.current.push(C)):(w.push(C),a.current.push(S,C)),t.onNodeSelect&&t.onNodeSelect(i,w),l.selected.setValue(w))},x=(i,m)=>{let w=l.selected.value.slice();const{start:v,end:C}=m;n.current&&(w=w.filter(T=>a.current.indexOf(T)===-1));let S=u(v,C);S=S.filter(T=>!e.isNodeDisabled(T)),a.current=S;let N=w.concat(S);N=N.filter((T,I)=>N.indexOf(T)===I),t.onNodeSelect&&t.onNodeSelect(i,N),l.selected.setValue(N)};return Ne(e,{isNodeSelected:d,selectNode:c,selectRange:(i,m,w=!1)=>{if(t.disableSelection)return;const{start:v=s.current,end:C,current:S}=m;w?h(i,{start:v,next:C,current:S}):v!=null&&C!=null&&x(i,{start:v,end:C}),n.current=!0},rangeSelectToLast:(i,m)=>{s.current||(s.current=m);const w=n.current?s.current:m;e.selectRange(i,{start:w,end:s1(e)})},rangeSelectToFirst:(i,m)=>{s.current||(s.current=m);const w=n.current?s.current:m;e.selectRange(i,{start:w,end:n1(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect})}};S1.models={selected:{controlledProp:"selected",defaultProp:"defaultSelected"}};const il=[];S1.getDefaultizedParams=e=>{var t,l,s;return A({},e,{disableSelection:(t=e.disableSelection)!=null?t:!1,multiSelect:(l=e.multiSelect)!=null?l:!1,defaultSelected:(s=e.defaultSelected)!=null?s:e.multiSelect?il:null})};const Y1=1e3;class al{constructor(t=Y1){this.timeouts=new Map,this.cleanupTimeout=Y1,this.cleanupTimeout=t}register(t,l,s){this.timeouts||(this.timeouts=new Map);const n=setTimeout(()=>{typeof l=="function"&&l(),this.timeouts.delete(s.cleanupToken)},this.cleanupTimeout);this.timeouts.set(s.cleanupToken,n)}unregister(t){const l=this.timeouts.get(t.cleanupToken);l&&(this.timeouts.delete(t.cleanupToken),clearTimeout(l))}reset(){this.timeouts&&(this.timeouts.forEach((t,l)=>{this.unregister({cleanupToken:l})}),this.timeouts=void 0)}}class cl{constructor(){this.registry=new FinalizationRegistry(t=>{typeof t=="function"&&t()})}register(t,l,s){this.registry.register(t,l,s)}unregister(t){this.registry.unregister(t)}reset(){}}class dl{}function ul(e){let t=0;return function(s,n,a){e.registry===null&&(e.registry=typeof FinalizationRegistry<"u"?new cl:new al);const[d]=R.useState(new dl),c=R.useRef(null),u=R.useRef();u.current=a;const h=R.useRef(null);if(!c.current&&u.current){const x=(g,y)=>{if(!y.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,y)}};c.current=s.$$subscribeEvent(n,x),t+=1,h.current={cleanupToken:t},e.registry.register(d,()=>{var g;(g=c.current)==null||g.call(c),c.current=null,h.current=null},h.current)}else!u.current&&c.current&&(c.current(),c.current=null,h.current&&(e.registry.unregister(h.current),h.current=null));R.useEffect(()=>{if(!c.current&&u.current){const x=(g,y)=>{if(!y.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,y)}};c.current=s.$$subscribeEvent(n,x)}return h.current&&e.registry&&(e.registry.unregister(h.current),h.current=null),()=>{var x;(x=c.current)==null||x.call(c),c.current=null}},[s,n])}}const pl={registry:null},hl=ul(pl),k1=({instance:e,params:t,state:l,setState:s,models:n,rootRef:a})=>{const d=De(p=>{const i=typeof p=="function"?p(l.focusedNodeId):p;s(m=>A({},m,{focusedNodeId:i}))}),c=R.useCallback(p=>l.focusedNodeId===p,[l.focusedNodeId]),u=De((p,i)=>{i&&(d(i),t.onNodeFocus&&t.onNodeFocus(p,i))});Ne(e,{isNodeFocused:c,focusNode:u}),hl(e,"removeNode",({id:p})=>{d(i=>i===p&&a.current===h0(a.current).activeElement?e.getChildrenIds(null)[0]:i)});const h=p=>i=>{var m;if((m=p.onFocus)==null||m.call(p,i),i.target===i.currentTarget){const w=C=>{const S=e.getNode(C);return S&&(S.parentId==null||e.isNodeExpanded(S.parentId))};let v;Array.isArray(n.selected.value)?v=n.selected.value.find(w):n.selected.value!=null&&w(n.selected.value)&&(v=n.selected.value),v==null&&(v=e.getNavigableChildrenIds(null)[0]),e.focusNode(i,v)}},x=p=>i=>{var m;(m=p.onBlur)==null||m.call(p,i),d(null)},g=e.getNode(l.focusedNodeId),y=g?g.idAttribute:null;return{getRootProps:p=>({onFocus:h(p),onBlur:x(p),"aria-activedescendant":y??void 0})}};k1.getInitialState=()=>({focusedNodeId:null});k1.getDefaultizedParams=e=>{var t;return A({},e,{disabledItemsFocusable:(t=e.disabledItemsFocusable)!=null?t:!1})};function fl(e){return e&&e.length===1&&e.match(/\S/)}function Z1(e,t,l){for(let s=t;s<e.length;s+=1)if(l===e[s])return s;return-1}const xl=({instance:e,params:t,state:l})=>{const n=t2().direction==="rtl",a=R.useRef({}),d=De((p,i)=>(a.current[p]=i,()=>{const m=A({},a.current);delete m[p],a.current=m}));Ne(e,{mapFirstChar:d});const c=p=>(l.focusedNodeId!=null&&e.isNodeExpandable(l.focusedNodeId)&&(e.isNodeExpanded(l.focusedNodeId)?e.focusNode(p,Ve(e,l.focusedNodeId)):e.isNodeDisabled(l.focusedNodeId)||e.toggleNodeExpansion(p,l.focusedNodeId)),!0),u=p=>{if(l.focusedNodeId==null)return!1;if(e.isNodeExpanded(l.focusedNodeId)&&!e.isNodeDisabled(l.focusedNodeId))return e.toggleNodeExpansion(p,l.focusedNodeId),!0;const i=e.getNode(l.focusedNodeId).parentId;return i?(e.focusNode(p,i),!0):!1},h=(p,i,m)=>{let w,v;const C=m.toLowerCase(),S=[],N=[];Object.keys(a.current).forEach(T=>{const I=e.getNode(T),k=I.parentId?e.isNodeExpanded(I.parentId):!0,F=t.disabledItemsFocusable?!1:e.isNodeDisabled(T);k&&!F&&(S.push(T),N.push(a.current[T]))}),w=S.indexOf(i)+1,w>=S.length&&(w=0),v=Z1(N,w,C),v===-1&&(v=Z1(N,0,C)),v>-1&&e.focusNode(p,S[v])},x=(p,i)=>{e.isNodeDisabled(Ve(e,i))||e.selectRange(p,{end:Ve(e,i),current:i},!0)},g=(p,i)=>{e.isNodeDisabled(Ye(e,i))||e.selectRange(p,{end:Ye(e,i),current:i},!0)},y=p=>i=>{var m;(m=p.onKeyDown)==null||m.call(p,i);let w=!1;const v=i.key;if(i.altKey||i.currentTarget!==i.target||l.focusedNodeId==null)return;const C=i.ctrlKey||i.metaKey;switch(v){case" ":!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&(w=!0,t.multiSelect&&i.shiftKey?e.selectRange(i,{end:l.focusedNodeId}):t.multiSelect?e.selectNode(i,l.focusedNodeId,!0):e.selectNode(i,l.focusedNodeId)),i.stopPropagation();break;case"Enter":e.isNodeDisabled(l.focusedNodeId)||(e.isNodeExpandable(l.focusedNodeId)?(e.toggleNodeExpansion(i,l.focusedNodeId),w=!0):t.disableSelection||(w=!0,t.multiSelect?e.selectNode(i,l.focusedNodeId,!0):e.selectNode(i,l.focusedNodeId))),i.stopPropagation();break;case"ArrowDown":t.multiSelect&&i.shiftKey&&!t.disableSelection&&x(i,l.focusedNodeId),e.focusNode(i,Ve(e,l.focusedNodeId)),w=!0;break;case"ArrowUp":t.multiSelect&&i.shiftKey&&!t.disableSelection&&g(i,l.focusedNodeId),e.focusNode(i,Ye(e,l.focusedNodeId)),w=!0;break;case"ArrowRight":n?w=u(i):w=c(i);break;case"ArrowLeft":n?w=c(i):w=u(i);break;case"Home":t.multiSelect&&C&&i.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToFirst(i,l.focusedNodeId),e.focusNode(i,n1(e)),w=!0;break;case"End":t.multiSelect&&C&&i.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToLast(i,l.focusedNodeId),e.focusNode(i,s1(e)),w=!0;break;default:v==="*"?(e.expandAllSiblings(i,l.focusedNodeId),w=!0):t.multiSelect&&C&&v.toLowerCase()==="a"&&!t.disableSelection?(e.selectRange(i,{start:n1(e),end:s1(e)}),w=!0):!C&&!i.shiftKey&&fl(v)&&(h(i,l.focusedNodeId,v),w=!0)}w&&(i.preventDefault(),i.stopPropagation())};return{getRootProps:p=>({onKeyDown:y(p)})}},ml=({instance:e,params:t})=>{const l=o2(t.id);return{getRootProps:()=>({id:l}),contextValue:{treeId:l,instance:e,multiSelect:t.multiSelect,disabledItemsFocusable:t.disabledItemsFocusable,icons:{defaultCollapseIcon:t.defaultCollapseIcon,defaultEndIcon:t.defaultEndIcon,defaultExpandIcon:t.defaultExpandIcon,defaultParentIcon:t.defaultParentIcon}}}},vl=[rl,z1,S1,k1,xl,ml],gl=["disabledItemsFocusable","expanded","defaultExpanded","onNodeToggle","onNodeFocus","disableSelection","defaultSelected","selected","multiSelect","onNodeSelect","id","defaultCollapseIcon","defaultEndIcon","defaultExpandIcon","defaultParentIcon","children"],bl=e=>{const{classes:t}=e;return Oe({root:["root"]},qo,t)},e0=oe("ul",{name:"MuiTreeView",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,margin:0,listStyle:"none",outline:0}),jl=R.forwardRef(function(t,l){const s=Ee({props:t,name:"MuiTreeView"}),n=s,a=s,{disabledItemsFocusable:d,expanded:c,defaultExpanded:u,onNodeToggle:h,onNodeFocus:x,disableSelection:g,defaultSelected:y,selected:p,multiSelect:i,onNodeSelect:m,id:w,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:N,children:T}=a,I=be(a,gl),{getRootProps:k,contextValue:F}=Jo({disabledItemsFocusable:d,expanded:c,defaultExpanded:u,onNodeToggle:h,onNodeFocus:x,disableSelection:g,defaultSelected:y,selected:p,multiSelect:i,onNodeSelect:m,id:w,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:N,plugins:vl,rootRef:l}),D=bl(s),P=d0({elementType:e0,externalSlotProps:{},externalForwardedProps:I,className:D.root,getSlotProps:k,ownerState:n});return o.jsx(ol,{value:F,children:o.jsx(e0,A({},P,{children:T}))})}),N0=()=>R.useContext(L0);function wl(e){const{instance:t,multiSelect:l}=N0(),s=t?t.isNodeExpandable(e):!1,n=t?t.isNodeExpanded(e):!1,a=t?t.isNodeFocused(e):!1,d=t?t.isNodeSelected(e):!1,c=t?t.isNodeDisabled(e):!1;return{disabled:c,expanded:n,selected:d,focused:a,handleExpansion:g=>{if(t&&!c){a||t.focusNode(g,e);const y=l&&(g.shiftKey||g.ctrlKey||g.metaKey);s&&!(y&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(g,e)}},handleSelection:g=>{t&&!c&&(a||t.focusNode(g,e),l&&(g.shiftKey||g.ctrlKey||g.metaKey)?g.shiftKey?t.selectRange(g,{end:e}):t.selectNode(g,e,!0):t.selectNode(g,e))},preventSelection:g=>{(g.shiftKey||g.ctrlKey||g.metaKey||c)&&g.preventDefault()}}}const Rl=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],V0=R.forwardRef(function(t,l){const{classes:s,className:n,displayIcon:a,expansionIcon:d,icon:c,label:u,nodeId:h,onClick:x,onMouseDown:g}=t,y=be(t,Rl),{disabled:p,expanded:i,selected:m,focused:w,handleExpansion:v,handleSelection:C,preventSelection:S}=wl(h),N=c||d||a,T=k=>{S(k),g&&g(k)},I=k=>{v(k),C(k),x&&x(k)};return o.jsxs("div",A({},y,{className:Ae(n,s.root,i&&s.expanded,m&&s.selected,w&&s.focused,p&&s.disabled),onClick:I,onMouseDown:T,ref:l,children:[o.jsx("div",{className:s.iconContainer,children:N}),o.jsx("div",{className:s.label,children:u})]}))});function Cl(e){return Be("MuiTreeItem",e)}const me=_e("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]),yl=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],zl=e=>{const{classes:t}=e;return Oe({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},Cl,t)},Sl=oe("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),kl=oe(V0,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${me.iconContainer}`]:t.iconContainer},t.label&&{[`& .${me.label}`]:t.label}]})(({theme:e})=>({padding:"0 8px",width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${me.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${me.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${me.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:qe(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${me.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${me.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${me.label}`]:A({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),Ml=oe(Ke,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),Il=R.forwardRef(function(t,l){const s=Ee({props:t,name:"MuiTreeItem"}),{children:n,className:a,collapseIcon:d,ContentComponent:c=V0,ContentProps:u,endIcon:h,expandIcon:x,disabled:g,icon:y,id:p,label:i,nodeId:m,onClick:w,onMouseDown:v,TransitionComponent:C=Ke,TransitionProps:S}=s,N=be(s,yl),{icons:T,multiSelect:I,disabledItemsFocusable:k,treeId:F,instance:D}=N0();let P;p!=null?P=p:F&&m&&(P=`${F}-${m}`);const[M,L]=R.useState(null),H=R.useRef(null),O=p0(L,l),B=R.useMemo(()=>({element:M,id:m}),[m,M]),{index:G,parentId:K}=tl(B),X=!!(Array.isArray(n)?n.length:n),re=D?D.isNodeExpanded(m):!1,ce=D?D.isNodeFocused(m):!1,se=D?D.isNodeSelected(m):!1,U=D?D.isNodeDisabled(m):!1,ee=A({},s,{expanded:re,focused:ce,selected:se,disabled:U}),E=zl(ee);let fe,Q;X&&(re?Q=d||T.defaultCollapseIcon:Q=x||T.defaultExpandIcon),X?fe=T.defaultParentIcon:fe=h||T.defaultEndIcon,R.useEffect(()=>{if(D&&G!==-1)return D.updateNode({id:m,idAttribute:P,index:G,parentId:K,expandable:X,disabled:g}),()=>D.removeNode(m)},[D,K,G,m,X,g,P]),R.useEffect(()=>{if(D&&i){var Z,le;return D.mapFirstChar(m,((Z=(le=H.current)==null?void 0:le.textContent)!=null?Z:"").substring(0,1).toLowerCase())}},[D,m,i]);let de;I?de=se:se&&(de=!0);function xe(Z){if(Z.target===Z.currentTarget){let V;typeof Z.target.getRootNode=="function"?V=Z.target.getRootNode():V=h0(Z.target),V.getElementById(F).focus({preventScroll:!0})}const le=!k&&U;D&&!ce&&Z.currentTarget===Z.target&&!le&&D.focusNode(Z,m)}return o.jsxs(Sl,A({className:Ae(E.root,a),role:"treeitem","aria-expanded":X?re:void 0,"aria-selected":de,"aria-disabled":U||void 0,id:P,tabIndex:-1},N,{ownerState:ee,onFocus:xe,ref:O,children:[o.jsx(kl,A({as:c,ref:H,classes:{root:E.content,expanded:E.expanded,selected:E.selected,focused:E.focused,disabled:E.disabled,iconContainer:E.iconContainer,label:E.label},label:i,nodeId:m,onClick:w,onMouseDown:v,icon:y,expansionIcon:Q,displayIcon:fe,ownerState:ee},u)),n&&o.jsx(T0,{id:m,children:o.jsx(Ml,A({as:C,unmountOnExit:!0,className:E.group,in:re,component:"ul",role:"group"},S,{children:n}))})]}))});function M1({data:e,...t}){return!e||!e.length?null:o.jsx(Ll,{...t,children:e.map(l=>o.jsx("a",{href:l.url,target:"_blank",rel:"noreferrer",children:o.jsx("img",{src:l.url,alt:l.alt||""})},l.url))})}M1.propTypes={data:f.arrayOf(f.shape({url:f.string,alt:f.string}))};M1.defaultProps={data:[]};const Ll=ae(z)`
46
+ `;function Go(e){return Ee("MuiTreeView",e)}Be("MuiTreeView",["root"]);const L0={instance:null,multiSelect:!1,disabledItemsFocusable:!1,treeId:void 0,icons:{defaultCollapseIcon:null,defaultExpandIcon:null,defaultParentIcon:null,defaultEndIcon:null}},P0=R.createContext(L0),Ko=(e,t)=>{const l=R.useRef({}),[s,n]=R.useState(()=>{const d={};return e.forEach(a=>{a.models&&Object.entries(a.models).forEach(([u,h])=>{l.current[u]={controlledProp:h.controlledProp,defaultProp:h.defaultProp,isControlled:t[h.controlledProp]!==void 0},d[u]=t[h.defaultProp]})}),d});return Object.fromEntries(Object.entries(l.current).map(([d,a])=>{const u=a.isControlled?t[a.controlledProp]:s[d];return[d,{value:u,setValue:h=>{a.isControlled||n(x=>A({},x,{[d]:h}))}}]}))};class Xo{constructor(){this.maxListeners=20,this.warnOnce=!1,this.events={}}on(t,l,s={}){let n=this.events[t];n||(n={highPriority:new Map,regular:new Map},this.events[t]=n),s.isFirst?n.highPriority.set(l,!0):n.regular.set(l,!0)}removeListener(t,l){this.events[t]&&(this.events[t].regular.delete(l),this.events[t].highPriority.delete(l))}removeAllListeners(){this.events={}}emit(t,...l){const s=this.events[t];if(!s)return;const n=Array.from(s.highPriority.keys()),c=Array.from(s.regular.keys());for(let d=n.length-1;d>=0;d-=1){const a=n[d];s.highPriority.has(a)&&a.apply(this,l)}for(let d=0;d<c.length;d+=1){const a=c[d];s.regular.has(a)&&a.apply(this,l)}}once(t,l){const s=this;this.on(t,function n(...c){s.removeListener(t,n),l.apply(s,c)})}}const e1=(e,t)=>{const l=e.getNode(t),s=e.getNavigableChildrenIds(l.parentId),n=s.indexOf(t);if(n===0)return l.parentId;let c=s[n-1];for(;e.isNodeExpanded(c)&&e.getNavigableChildrenIds(c).length>0;)c=e.getNavigableChildrenIds(c).pop();return c},De=(e,t)=>{if(e.isNodeExpanded(t)&&e.getNavigableChildrenIds(t).length>0)return e.getNavigableChildrenIds(t)[0];let l=e.getNode(t);for(;l!=null;){const s=e.getNavigableChildrenIds(l.parentId),n=s[s.indexOf(l.id)+1];if(n)return n;l=e.getNode(l.parentId)}return null},a1=e=>{let t=e.getNavigableChildrenIds(null).pop();for(;e.isNodeExpanded(t);)t=e.getNavigableChildrenIds(t).pop();return t},c1=e=>e.getNavigableChildrenIds(null)[0],Ve=(e,t)=>{Object.assign(e,t)},Jo=e=>e.isPropagationStopped!==void 0,Qo=({instance:e})=>{const[t]=R.useState(()=>new Xo),l=R.useCallback((...n)=>{const[c,d,a={}]=n;a.defaultMuiPrevented=!1,!(Jo(a)&&a.isPropagationStopped())&&t.emit(c,d,a)},[t]),s=R.useCallback((n,c)=>(t.on(n,c),()=>{t.removeListener(n,c)}),[t]);Ve(e,{$$publishEvent:l,$$subscribeEvent:s})},Yo=[Qo],Zo=e=>{const t=[...Yo,...e.plugins],l=t.reduce((i,m)=>m.getDefaultizedParams?m.getDefaultizedParams(i):i,e),s=Ko(t,l),c=R.useRef({}).current,d=R.useRef(null),a=f0(d,e.rootRef),[u,h]=R.useState(()=>{const i={};return t.forEach(m=>{m.getInitialState&&Object.assign(i,m.getInitialState(l))}),i}),x=[];let g=L0;const y=i=>{const m=i({instance:c,params:l,state:u,setState:h,rootRef:d,models:s})||{};m.getRootProps&&x.push(m.getRootProps),m.contextValue&&(g=m.contextValue)};return t.forEach(y),{getRootProps:(i={})=>{const m=A({role:"tree",tabIndex:0},i,{ref:a});return x.forEach(w=>{Object.assign(m,w(i))}),m},rootRef:a,contextValue:g}},el=["element"];function tl(e,t){for(let l=0;l<e.length;l+=1)if(t(e[l]))return l;return-1}function ol(e,t){let l=0,s=e.length-1;for(;l<=s;){const n=Math.floor((l+s)/2);if(e[n].element===t)return n;e[n].element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?s=n-1:l=n+1}return l}const T0=R.createContext({});function ll(e){const t=R.useRef(null);return R.useEffect(()=>{t.current=e},[e]),t.current}const Z1=()=>{};function rl(e){const[,t]=R.useState(),{registerDescendant:l=Z1,unregisterDescendant:s=Z1,descendants:n=[],parentId:c=null}=R.useContext(T0),d=tl(n,h=>h.element===e.element),a=ll(n),u=n.some((h,x)=>a&&a[x]&&a[x].element!==h.element);return t2(()=>{if(e.element)return l(A({},e,{index:d})),()=>{s(e.element)};t({})},[l,s,d,u,e]),{parentId:c,index:d}}function N0(e){const{children:t,id:l}=e,[s,n]=R.useState([]),c=R.useCallback(u=>{let{element:h}=u,x=be(u,el);n(g=>{if(g.length===0)return[A({},x,{element:h,index:0})];const y=ol(g,h);let p;if(g[y]&&g[y].element===h)p=g;else{const i=A({},x,{element:h,index:y});p=g.slice(),p.splice(y,0,i)}return p.forEach((i,m)=>{i.index=m}),p})},[]),d=R.useCallback(u=>{n(h=>h.filter(x=>u!==x.element))},[]),a=R.useMemo(()=>({descendants:s,registerDescendant:c,unregisterDescendant:d,parentId:l}),[s,c,d,l]);return o.jsx(T0.Provider,{value:a,children:t})}function sl(e){const{value:t,children:l}=e;return o.jsx(P0.Provider,{value:t,children:o.jsx(N0,{children:l})})}const nl=(e,t,l)=>{e.$$publishEvent(t,l)},il=({instance:e,params:t})=>{const l=R.useRef({}),s=R.useCallback(h=>l.current[h],[]),n=R.useCallback(h=>{l.current[h.id]=h},[]),c=R.useCallback(h=>{const x=A({},l.current);delete x[h],l.current=x,nl(e,"removeNode",{id:h})},[e]),d=R.useCallback(h=>{if(h==null)return!1;let x=e.getNode(h);if(!x)return!1;if(x.disabled)return!0;for(;x.parentId!=null;)if(x=e.getNode(x.parentId),x.disabled)return!0;return!1},[e]),a=_e(h=>Object.values(l.current).filter(x=>x.parentId===h).sort((x,g)=>x.index-g.index).map(x=>x.id));Ve(e,{getNode:s,updateNode:n,removeNode:c,getChildrenIds:a,getNavigableChildrenIds:h=>{let x=e.getChildrenIds(h);return t.disabledItemsFocusable||(x=x.filter(g=>!e.isNodeDisabled(g))),x},isNodeDisabled:d})},k1=({instance:e,params:t,models:l})=>{const s=R.useCallback(a=>Array.isArray(l.expanded.value)?l.expanded.value.indexOf(a)!==-1:!1,[l.expanded.value]),n=R.useCallback(a=>{var u;return!!((u=e.getNode(a))!=null&&u.expandable)},[e]),c=_e((a,u)=>{if(u==null)return;let h;l.expanded.value.indexOf(u)!==-1?h=l.expanded.value.filter(x=>x!==u):h=[u].concat(l.expanded.value),t.onNodeToggle&&t.onNodeToggle(a,h),l.expanded.setValue(h)});Ve(e,{isNodeExpanded:s,isNodeExpandable:n,toggleNodeExpansion:c,expandAllSiblings:(a,u)=>{const h=e.getNode(u),g=e.getChildrenIds(h.parentId).filter(p=>e.isNodeExpandable(p)&&!e.isNodeExpanded(p)),y=l.expanded.value.concat(g);g.length>0&&(l.expanded.setValue(y),t.onNodeToggle&&t.onNodeToggle(a,y))}})};k1.models={expanded:{controlledProp:"expanded",defaultProp:"defaultExpanded"}};const al=[];k1.getDefaultizedParams=e=>{var t;return A({},e,{defaultExpanded:(t=e.defaultExpanded)!=null?t:al})};const cl=(e,t,l)=>{if(t===l)return[t,l];const s=e.getNode(t),n=e.getNode(l);if(s.parentId===n.id||n.parentId===s.id)return n.parentId===s.id?[s.id,n.id]:[n.id,s.id];const c=[s.id],d=[n.id];let a=s.parentId,u=n.parentId,h=d.indexOf(a)!==-1,x=c.indexOf(u)!==-1,g=!0,y=!0;for(;!x&&!h;)g&&(c.push(a),h=d.indexOf(a)!==-1,g=a!==null,!h&&g&&(a=e.getNode(a).parentId)),y&&!h&&(d.push(u),x=c.indexOf(u)!==-1,y=u!==null,!x&&y&&(u=e.getNode(u).parentId));const p=h?a:u,i=e.getChildrenIds(p),m=c[c.indexOf(p)-1],w=d[d.indexOf(p)-1];return i.indexOf(m)<i.indexOf(w)?[t,l]:[l,t]},M1=({instance:e,params:t,models:l})=>{const s=R.useRef(null),n=R.useRef(!1),c=R.useRef([]),d=i=>Array.isArray(l.selected.value)?l.selected.value.indexOf(i)!==-1:l.selected.value===i,a=(i,m,w=!1)=>{if(!t.disableSelection){if(w){if(Array.isArray(l.selected.value)){let v;l.selected.value.indexOf(m)!==-1?v=l.selected.value.filter(C=>C!==m):v=[m].concat(l.selected.value),t.onNodeSelect&&t.onNodeSelect(i,v),l.selected.setValue(v)}}else{const v=t.multiSelect?[m]:m;t.onNodeSelect&&t.onNodeSelect(i,v),l.selected.setValue(v)}s.current=m,n.current=!1,c.current=[]}},u=(i,m)=>{const[w,v]=cl(e,i,m),C=[w];let S=w;for(;S!==v;)S=De(e,S),C.push(S);return C},h=(i,m)=>{let w=l.selected.value.slice();const{start:v,next:C,current:S}=m;!C||!S||(c.current.indexOf(S)===-1&&(c.current=[]),n.current?c.current.indexOf(C)!==-1?(w=w.filter(N=>N===v||N!==S),c.current=c.current.filter(N=>N===v||N!==S)):(w.push(C),c.current.push(C)):(w.push(C),c.current.push(S,C)),t.onNodeSelect&&t.onNodeSelect(i,w),l.selected.setValue(w))},x=(i,m)=>{let w=l.selected.value.slice();const{start:v,end:C}=m;n.current&&(w=w.filter(T=>c.current.indexOf(T)===-1));let S=u(v,C);S=S.filter(T=>!e.isNodeDisabled(T)),c.current=S;let N=w.concat(S);N=N.filter((T,I)=>N.indexOf(T)===I),t.onNodeSelect&&t.onNodeSelect(i,N),l.selected.setValue(N)};return Ve(e,{isNodeSelected:d,selectNode:a,selectRange:(i,m,w=!1)=>{if(t.disableSelection)return;const{start:v=s.current,end:C,current:S}=m;w?h(i,{start:v,next:C,current:S}):v!=null&&C!=null&&x(i,{start:v,end:C}),n.current=!0},rangeSelectToLast:(i,m)=>{s.current||(s.current=m);const w=n.current?s.current:m;e.selectRange(i,{start:w,end:a1(e)})},rangeSelectToFirst:(i,m)=>{s.current||(s.current=m);const w=n.current?s.current:m;e.selectRange(i,{start:w,end:c1(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect})}};M1.models={selected:{controlledProp:"selected",defaultProp:"defaultSelected"}};const dl=[];M1.getDefaultizedParams=e=>{var t,l,s;return A({},e,{disableSelection:(t=e.disableSelection)!=null?t:!1,multiSelect:(l=e.multiSelect)!=null?l:!1,defaultSelected:(s=e.defaultSelected)!=null?s:e.multiSelect?dl:null})};const e0=1e3;class ul{constructor(t=e0){this.timeouts=new Map,this.cleanupTimeout=e0,this.cleanupTimeout=t}register(t,l,s){this.timeouts||(this.timeouts=new Map);const n=setTimeout(()=>{typeof l=="function"&&l(),this.timeouts.delete(s.cleanupToken)},this.cleanupTimeout);this.timeouts.set(s.cleanupToken,n)}unregister(t){const l=this.timeouts.get(t.cleanupToken);l&&(this.timeouts.delete(t.cleanupToken),clearTimeout(l))}reset(){this.timeouts&&(this.timeouts.forEach((t,l)=>{this.unregister({cleanupToken:l})}),this.timeouts=void 0)}}class pl{constructor(){this.registry=new FinalizationRegistry(t=>{typeof t=="function"&&t()})}register(t,l,s){this.registry.register(t,l,s)}unregister(t){this.registry.unregister(t)}reset(){}}class hl{}function fl(e){let t=0;return function(s,n,c){e.registry===null&&(e.registry=typeof FinalizationRegistry<"u"?new pl:new ul);const[d]=R.useState(new hl),a=R.useRef(null),u=R.useRef();u.current=c;const h=R.useRef(null);if(!a.current&&u.current){const x=(g,y)=>{if(!y.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,y)}};a.current=s.$$subscribeEvent(n,x),t+=1,h.current={cleanupToken:t},e.registry.register(d,()=>{var g;(g=a.current)==null||g.call(a),a.current=null,h.current=null},h.current)}else!u.current&&a.current&&(a.current(),a.current=null,h.current&&(e.registry.unregister(h.current),h.current=null));R.useEffect(()=>{if(!a.current&&u.current){const x=(g,y)=>{if(!y.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,y)}};a.current=s.$$subscribeEvent(n,x)}return h.current&&e.registry&&(e.registry.unregister(h.current),h.current=null),()=>{var x;(x=a.current)==null||x.call(a),a.current=null}},[s,n])}}const xl={registry:null},ml=fl(xl),I1=({instance:e,params:t,state:l,setState:s,models:n,rootRef:c})=>{const d=_e(p=>{const i=typeof p=="function"?p(l.focusedNodeId):p;s(m=>A({},m,{focusedNodeId:i}))}),a=R.useCallback(p=>l.focusedNodeId===p,[l.focusedNodeId]),u=_e((p,i)=>{i&&(d(i),t.onNodeFocus&&t.onNodeFocus(p,i))});Ve(e,{isNodeFocused:a,focusNode:u}),ml(e,"removeNode",({id:p})=>{d(i=>i===p&&c.current===x0(c.current).activeElement?e.getChildrenIds(null)[0]:i)});const h=p=>i=>{var m;if((m=p.onFocus)==null||m.call(p,i),i.target===i.currentTarget){const w=C=>{const S=e.getNode(C);return S&&(S.parentId==null||e.isNodeExpanded(S.parentId))};let v;Array.isArray(n.selected.value)?v=n.selected.value.find(w):n.selected.value!=null&&w(n.selected.value)&&(v=n.selected.value),v==null&&(v=e.getNavigableChildrenIds(null)[0]),e.focusNode(i,v)}},x=p=>i=>{var m;(m=p.onBlur)==null||m.call(p,i),d(null)},g=e.getNode(l.focusedNodeId),y=g?g.idAttribute:null;return{getRootProps:p=>({onFocus:h(p),onBlur:x(p),"aria-activedescendant":y??void 0})}};I1.getInitialState=()=>({focusedNodeId:null});I1.getDefaultizedParams=e=>{var t;return A({},e,{disabledItemsFocusable:(t=e.disabledItemsFocusable)!=null?t:!1})};function vl(e){return e&&e.length===1&&e.match(/\S/)}function t0(e,t,l){for(let s=t;s<e.length;s+=1)if(l===e[s])return s;return-1}const gl=({instance:e,params:t,state:l})=>{const n=o2().direction==="rtl",c=R.useRef({}),d=_e((p,i)=>(c.current[p]=i,()=>{const m=A({},c.current);delete m[p],c.current=m}));Ve(e,{mapFirstChar:d});const a=p=>(l.focusedNodeId!=null&&e.isNodeExpandable(l.focusedNodeId)&&(e.isNodeExpanded(l.focusedNodeId)?e.focusNode(p,De(e,l.focusedNodeId)):e.isNodeDisabled(l.focusedNodeId)||e.toggleNodeExpansion(p,l.focusedNodeId)),!0),u=p=>{if(l.focusedNodeId==null)return!1;if(e.isNodeExpanded(l.focusedNodeId)&&!e.isNodeDisabled(l.focusedNodeId))return e.toggleNodeExpansion(p,l.focusedNodeId),!0;const i=e.getNode(l.focusedNodeId).parentId;return i?(e.focusNode(p,i),!0):!1},h=(p,i,m)=>{let w,v;const C=m.toLowerCase(),S=[],N=[];Object.keys(c.current).forEach(T=>{const I=e.getNode(T),k=I.parentId?e.isNodeExpanded(I.parentId):!0,F=t.disabledItemsFocusable?!1:e.isNodeDisabled(T);k&&!F&&(S.push(T),N.push(c.current[T]))}),w=S.indexOf(i)+1,w>=S.length&&(w=0),v=t0(N,w,C),v===-1&&(v=t0(N,0,C)),v>-1&&e.focusNode(p,S[v])},x=(p,i)=>{e.isNodeDisabled(De(e,i))||e.selectRange(p,{end:De(e,i),current:i},!0)},g=(p,i)=>{e.isNodeDisabled(e1(e,i))||e.selectRange(p,{end:e1(e,i),current:i},!0)},y=p=>i=>{var m;(m=p.onKeyDown)==null||m.call(p,i);let w=!1;const v=i.key;if(i.altKey||i.currentTarget!==i.target||l.focusedNodeId==null)return;const C=i.ctrlKey||i.metaKey;switch(v){case" ":!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&(w=!0,t.multiSelect&&i.shiftKey?e.selectRange(i,{end:l.focusedNodeId}):t.multiSelect?e.selectNode(i,l.focusedNodeId,!0):e.selectNode(i,l.focusedNodeId)),i.stopPropagation();break;case"Enter":e.isNodeDisabled(l.focusedNodeId)||(e.isNodeExpandable(l.focusedNodeId)?(e.toggleNodeExpansion(i,l.focusedNodeId),w=!0):t.disableSelection||(w=!0,t.multiSelect?e.selectNode(i,l.focusedNodeId,!0):e.selectNode(i,l.focusedNodeId))),i.stopPropagation();break;case"ArrowDown":t.multiSelect&&i.shiftKey&&!t.disableSelection&&x(i,l.focusedNodeId),e.focusNode(i,De(e,l.focusedNodeId)),w=!0;break;case"ArrowUp":t.multiSelect&&i.shiftKey&&!t.disableSelection&&g(i,l.focusedNodeId),e.focusNode(i,e1(e,l.focusedNodeId)),w=!0;break;case"ArrowRight":n?w=u(i):w=a(i);break;case"ArrowLeft":n?w=a(i):w=u(i);break;case"Home":t.multiSelect&&C&&i.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToFirst(i,l.focusedNodeId),e.focusNode(i,c1(e)),w=!0;break;case"End":t.multiSelect&&C&&i.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToLast(i,l.focusedNodeId),e.focusNode(i,a1(e)),w=!0;break;default:v==="*"?(e.expandAllSiblings(i,l.focusedNodeId),w=!0):t.multiSelect&&C&&v.toLowerCase()==="a"&&!t.disableSelection?(e.selectRange(i,{start:c1(e),end:a1(e)}),w=!0):!C&&!i.shiftKey&&vl(v)&&(h(i,l.focusedNodeId,v),w=!0)}w&&(i.preventDefault(),i.stopPropagation())};return{getRootProps:p=>({onKeyDown:y(p)})}},bl=({instance:e,params:t})=>{const l=l2(t.id);return{getRootProps:()=>({id:l}),contextValue:{treeId:l,instance:e,multiSelect:t.multiSelect,disabledItemsFocusable:t.disabledItemsFocusable,icons:{defaultCollapseIcon:t.defaultCollapseIcon,defaultEndIcon:t.defaultEndIcon,defaultExpandIcon:t.defaultExpandIcon,defaultParentIcon:t.defaultParentIcon}}}},jl=[il,k1,M1,I1,gl,bl],wl=["disabledItemsFocusable","expanded","defaultExpanded","onNodeToggle","onNodeFocus","disableSelection","defaultSelected","selected","multiSelect","onNodeSelect","id","defaultCollapseIcon","defaultEndIcon","defaultExpandIcon","defaultParentIcon","children"],Rl=e=>{const{classes:t}=e;return He({root:["root"]},Go,t)},o0=oe("ul",{name:"MuiTreeView",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,margin:0,listStyle:"none",outline:0}),Cl=R.forwardRef(function(t,l){const s=Ae({props:t,name:"MuiTreeView"}),n=s,c=s,{disabledItemsFocusable:d,expanded:a,defaultExpanded:u,onNodeToggle:h,onNodeFocus:x,disableSelection:g,defaultSelected:y,selected:p,multiSelect:i,onNodeSelect:m,id:w,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:N,children:T}=c,I=be(c,wl),{getRootProps:k,contextValue:F}=Zo({disabledItemsFocusable:d,expanded:a,defaultExpanded:u,onNodeToggle:h,onNodeFocus:x,disableSelection:g,defaultSelected:y,selected:p,multiSelect:i,onNodeSelect:m,id:w,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:N,plugins:jl,rootRef:l}),V=Rl(s),P=p0({elementType:o0,externalSlotProps:{},externalForwardedProps:I,className:V.root,getSlotProps:k,ownerState:n});return o.jsx(sl,{value:F,children:o.jsx(o0,A({},P,{children:T}))})}),V0=()=>R.useContext(P0);function yl(e){const{instance:t,multiSelect:l}=V0(),s=t?t.isNodeExpandable(e):!1,n=t?t.isNodeExpanded(e):!1,c=t?t.isNodeFocused(e):!1,d=t?t.isNodeSelected(e):!1,a=t?t.isNodeDisabled(e):!1;return{disabled:a,expanded:n,selected:d,focused:c,handleExpansion:g=>{if(t&&!a){c||t.focusNode(g,e);const y=l&&(g.shiftKey||g.ctrlKey||g.metaKey);s&&!(y&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(g,e)}},handleSelection:g=>{t&&!a&&(c||t.focusNode(g,e),l&&(g.shiftKey||g.ctrlKey||g.metaKey)?g.shiftKey?t.selectRange(g,{end:e}):t.selectNode(g,e,!0):t.selectNode(g,e))},preventSelection:g=>{(g.shiftKey||g.ctrlKey||g.metaKey||a)&&g.preventDefault()}}}const zl=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],D0=R.forwardRef(function(t,l){const{classes:s,className:n,displayIcon:c,expansionIcon:d,icon:a,label:u,nodeId:h,onClick:x,onMouseDown:g}=t,y=be(t,zl),{disabled:p,expanded:i,selected:m,focused:w,handleExpansion:v,handleSelection:C,preventSelection:S}=yl(h),N=a||d||c,T=k=>{S(k),g&&g(k)},I=k=>{v(k),C(k),x&&x(k)};return o.jsxs("div",A({},y,{className:Oe(n,s.root,i&&s.expanded,m&&s.selected,w&&s.focused,p&&s.disabled),onClick:I,onMouseDown:T,ref:l,children:[o.jsx("div",{className:s.iconContainer,children:N}),o.jsx("div",{className:s.label,children:u})]}))});function Sl(e){return Ee("MuiTreeItem",e)}const me=Be("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]),kl=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],Ml=e=>{const{classes:t}=e;return He({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},Sl,t)},Il=oe("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),Ll=oe(D0,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${me.iconContainer}`]:t.iconContainer},t.label&&{[`& .${me.label}`]:t.label}]})(({theme:e})=>({padding:"0 8px",width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${me.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${me.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${me.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:qe(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${me.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${me.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${me.label}`]:A({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),Pl=oe(Je,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),Tl=R.forwardRef(function(t,l){const s=Ae({props:t,name:"MuiTreeItem"}),{children:n,className:c,collapseIcon:d,ContentComponent:a=D0,ContentProps:u,endIcon:h,expandIcon:x,disabled:g,icon:y,id:p,label:i,nodeId:m,onClick:w,onMouseDown:v,TransitionComponent:C=Je,TransitionProps:S}=s,N=be(s,kl),{icons:T,multiSelect:I,disabledItemsFocusable:k,treeId:F,instance:V}=V0();let P;p!=null?P=p:F&&m&&(P=`${F}-${m}`);const[M,L]=R.useState(null),H=R.useRef(null),O=f0(L,l),E=R.useMemo(()=>({element:M,id:m}),[m,M]),{index:G,parentId:K}=rl(E),X=!!(Array.isArray(n)?n.length:n),se=V?V.isNodeExpanded(m):!1,je=V?V.isNodeFocused(m):!1,le=V?V.isNodeSelected(m):!1,re=V?V.isNodeDisabled(m):!1,W=A({},s,{expanded:se,focused:je,selected:le,disabled:re}),Y=Ml(W);let U,ee;X&&(se?ee=d||T.defaultCollapseIcon:ee=x||T.defaultExpandIcon),X?U=T.defaultParentIcon:U=h||T.defaultEndIcon,R.useEffect(()=>{if(V&&G!==-1)return V.updateNode({id:m,idAttribute:P,index:G,parentId:K,expandable:X,disabled:g}),()=>V.removeNode(m)},[V,K,G,m,X,g,P]),R.useEffect(()=>{if(V&&i){var Z,ne;return V.mapFirstChar(m,((Z=(ne=H.current)==null?void 0:ne.textContent)!=null?Z:"").substring(0,1).toLowerCase())}},[V,m,i]);let ue;I?ue=le:le&&(ue=!0);function xe(Z){if(Z.target===Z.currentTarget){let ie;typeof Z.target.getRootNode=="function"?ie=Z.target.getRootNode():ie=x0(Z.target),ie.getElementById(F).focus({preventScroll:!0})}const ne=!k&&re;V&&!je&&Z.currentTarget===Z.target&&!ne&&V.focusNode(Z,m)}return o.jsxs(Il,A({className:Oe(Y.root,c),role:"treeitem","aria-expanded":X?se:void 0,"aria-selected":ue,"aria-disabled":re||void 0,id:P,tabIndex:-1},N,{ownerState:W,onFocus:xe,ref:O,children:[o.jsx(Ll,A({as:a,ref:H,classes:{root:Y.content,expanded:Y.expanded,selected:Y.selected,focused:Y.focused,disabled:Y.disabled,iconContainer:Y.iconContainer,label:Y.label},label:i,nodeId:m,onClick:w,onMouseDown:v,icon:y,expansionIcon:ee,displayIcon:U,ownerState:W},u)),n&&o.jsx(N0,{id:m,children:o.jsx(Pl,A({as:C,unmountOnExit:!0,className:Y.group,in:se,component:"ul",role:"group"},S,{children:n}))})]}))});function L1({data:e,...t}){return!e||!e.length?null:o.jsx(Nl,{...t,children:e.map(l=>o.jsx("a",{href:l.url,target:"_blank",rel:"noreferrer",children:o.jsx("img",{src:l.url,alt:l.alt||""})},l.url))})}L1.propTypes={data:f.arrayOf(f.shape({url:f.string,alt:f.string}))};L1.defaultProps={data:[]};const Nl=de(z)`
47
47
  display: flex;
48
48
  justify-content: flex-start;
49
49
  flex-wrap: wrap;
@@ -57,7 +57,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
57
57
  margin-right: 12px;
58
58
  margin-bottom: 12px;
59
59
  }
60
- `,Ze=(e,t)=>{const l=[...e];for(;l.length>0;){const s=l.shift();if(s.id===t)return s;s.children&&l.push(...s.children)}return[]};function I1({icon:e}){return e?C2(e)?o.jsx("img",{className:"resource-icon",src:e,alt:"icon"}):o.jsx(We,{className:"resource-icon",icon:e}):null}I1.propTypes={icon:f.string};I1.defaultProps={icon:""};function L1({disabled:e,data:t,onChange:l,value:s}){const n=s;function a(p,i=[]){return i.push(p.id),p.children&&p.children.forEach(m=>a(m,i)),i}const d=p=>a(Ze(t,p)),c=(p,i=[])=>{const m=Ze(t,p);return m.parent?(i.push(m.parent),c(m.parent,i)):i};function u(p,i){const m=d(p.id),w=m.indexOf(p.id);return m.splice(w,1),m.every(v=>n.concat(i).includes(v))}const h=(p,i)=>{p.stopPropagation();const m=d(i),w=c(i);if(n.includes(i)){const v=n.filter(C=>!m.concat(w).includes(C));l(v)}else{const v=m;for(let C=0;C<w.length;++C)u(Ze(t,w[C]),v)&&v.push(w[C]);l([...n].concat(v))}},x=p=>{p.stopPropagation()},g=t.some(p=>{var i;return((i=p.children)==null?void 0:i.length)>0}),y=p=>{var C;const i=n.indexOf(p.id)!==-1,m=Array.isArray(p.children),w=d(p.id),v=m&&!i&&n.some(S=>w.includes(S));return o.jsx(Il,{nodeId:p.id,label:o.jsx(r1,{onClick:x,control:o.jsx(l1,{size:"small",checked:i,indeterminate:v,tabIndex:-1,disableRipple:!0,onClick:S=>h(S,p.id),disabled:p.disabled||e}),label:o.jsxs(z,{className:"content",children:[o.jsxs(z,{display:"flex",alignItems:"center",children:[p.icon&&o.jsx(I1,{icon:p.icon}),o.jsx(z,{className:"name",children:p.name}),p.url&&o.jsx("a",{href:p.url,target:"_blank",rel:"noreferrer",className:"link",children:o.jsx(z2,{className:"link-icon"})})]}),!!p.description&&o.jsx(z,{className:"description",children:p.description}),!!((C=p.images)!=null&&C.length)&&o.jsx(M1,{className:"images",data:p.images})]})}),children:m?p.children.map(y):null},p.id)};return o.jsx(Pl,{className:m1(!g&&"no-children"),multiSelect:!0,defaultCollapseIcon:o.jsx(y2,{}),defaultExpandIcon:o.jsx(v2,{}),selected:n,children:t.map(p=>y(p))})}L1.propTypes={data:f.array,value:f.array,onChange:f.func,disabled:f.bool};L1.defaultProps={data:[],value:[],onChange:()=>{},disabled:!1};const Pl=ae(jl)`
60
+ `,t1=(e,t)=>{const l=[...e];for(;l.length>0;){const s=l.shift();if(s.id===t)return s;s.children&&l.push(...s.children)}return[]};function P1({icon:e}){return e?z2(e)?o.jsx("img",{className:"resource-icon",src:e,alt:"icon"}):o.jsx(Ke,{className:"resource-icon",icon:e}):null}P1.propTypes={icon:f.string};P1.defaultProps={icon:""};function T1({disabled:e,data:t,onChange:l,value:s}){const n=s;function c(p,i=[]){return i.push(p.id),p.children&&p.children.forEach(m=>c(m,i)),i}const d=p=>c(t1(t,p)),a=(p,i=[])=>{const m=t1(t,p);return m.parent?(i.push(m.parent),a(m.parent,i)):i};function u(p,i){const m=d(p.id),w=m.indexOf(p.id);return m.splice(w,1),m.every(v=>n.concat(i).includes(v))}const h=(p,i)=>{p.stopPropagation();const m=d(i),w=a(i);if(n.includes(i)){const v=n.filter(C=>!m.concat(w).includes(C));l(v)}else{const v=m;for(let C=0;C<w.length;++C)u(t1(t,w[C]),v)&&v.push(w[C]);l([...n].concat(v))}},x=p=>{p.stopPropagation()},g=t.some(p=>{var i;return((i=p.children)==null?void 0:i.length)>0}),y=p=>{var C;const i=n.indexOf(p.id)!==-1,m=Array.isArray(p.children),w=d(p.id),v=m&&!i&&n.some(S=>w.includes(S));return o.jsx(Tl,{nodeId:p.id,label:o.jsx(n1,{onClick:x,control:o.jsx(s1,{size:"small",checked:i,indeterminate:v,tabIndex:-1,disableRipple:!0,onClick:S=>h(S,p.id),disabled:p.disabled||e}),label:o.jsxs(z,{className:"content",children:[o.jsxs(z,{display:"flex",alignItems:"center",children:[p.icon&&o.jsx(P1,{icon:p.icon}),o.jsx(z,{className:"name",children:p.name}),p.url&&o.jsx("a",{href:p.url,target:"_blank",rel:"noreferrer",className:"link",children:o.jsx(k2,{className:"link-icon"})})]}),!!p.description&&o.jsx(z,{className:"description",children:p.description}),!!((C=p.images)!=null&&C.length)&&o.jsx(L1,{className:"images",data:p.images})]})}),children:m?p.children.map(y):null},p.id)};return o.jsx(Vl,{className:g1(!g&&"no-children"),multiSelect:!0,defaultCollapseIcon:o.jsx(S2,{}),defaultExpandIcon:o.jsx(b2,{}),selected:n,children:t.map(p=>y(p))})}T1.propTypes={data:f.array,value:f.array,onChange:f.func,disabled:f.bool};T1.defaultProps={data:[],value:[],onChange:()=>{},disabled:!1};const Vl=de(Cl)`
61
61
  &.no-children {
62
62
  .MuiTreeItem-content {
63
63
  padding: 0;
@@ -112,7 +112,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
112
112
  font-size: 14px;
113
113
  color: ${({theme:e})=>e.palette.text.secondary};
114
114
  }
115
- `;function Tl(e,t){const l=new Set(t||[]),s=[];function n(a){l.has(a==null?void 0:a.id)&&s.push(a==null?void 0:a.id),a!=null&&a.children&&a.children.forEach(n)}return(e||[]).forEach(n),s}const i1=(e,t)=>(e.forEach(l=>{t&&(l.parent=t),(l.children||[]).forEach(s=>{s.parent=l.id,i1(s.children||[],s.id)})}),e),a1=(e,t,l,s,n)=>{const{exportApi:a="/"}=(e==null?void 0:e.meta.resource)||{},d=new URL(he("http://127.0.0.1",e.mountPoint,a||"/").replace(/\/+/g,"/"));return d.searchParams.set("projectId",t),d.searchParams.set("releaseId",l),d.searchParams.set("local",s),n&&d.searchParams.set("resourcesParams",n.searchParams.get("resourcesParams")),`${d.pathname}${d.search}`},Nl=async({api:e,appDid:t,component:l,projectId:s,releaseId:n,locale:a,initUrl:d,resources:c})=>{await o1.post(a1(l,s,n,a,d),{resources:c,projectId:s,releaseId:n,locale:a}),await e.updateSelectedResources({input:{did:t,projectId:s,releaseId:n,componentDid:l.meta.did,resources:c}})},Vl=(e,t)=>{if(!e)return{};const l=t.reduce((n,a)=>(n[a]=!0,n),{}),s=(n,a)=>(n.forEach(d=>{var c;l[d.id]&&((c=d.dependentComponents)!=null&&c.length)&&d.dependentComponents.forEach(u=>{a[u]=!0}),d.children&&s(d.children,a)}),a);return s(e,{})};function P1({app:e,component:t,projectId:l,release:s,loading:n,error:a,saveSelectedEventsRef:d,readOnly:c,componentDid:u,initialResources:h={},setResourceComponentsMap:x,selectedResourceIds:g,setSelectedResourceIds:y,initUrl:p}){var D;const{t:i,locale:m}=te(),{api:w}=Ce(),[v,C]=Se({}),S=R.useRef({}),N=R.useRef(!1),T=s.id;S.current.projectId=l,S.current.releaseId=T;const I=(P,M,L)=>{if(!M)return;const H=Vl(M,L);x==null||x({[P]:Object.keys(H)})},k=P=>{d.current[t.meta.did]={resources:P,component:t},y({[t.meta.did]:P}),I(t.meta.did,v[t.meta.did],P)};R.useEffect(()=>{v[t==null?void 0:t.meta.did]||o1.get(a1(t,l,T,m,p)).then(P=>{var L;const M=i1(((L=P.data)==null?void 0:L.resources)||[]);C({[t==null?void 0:t.meta.did]:M})}).catch(P=>{$.error(P.message)})},[t,l,s,m,p,C,v,T]),R.useEffect(()=>{T&&l&&!N.current&&j0(e.children.map(P=>async()=>{var M;if(!(u&&u!==P.meta.did)&&!(!(P!=null&&P.mountPoint)||!l2.hasStartEngine(P==null?void 0:P.meta)))try{const L=await o1.get(a1(P,l,T,m,p)),H=i1(((M=L==null?void 0:L.data)==null?void 0:M.resources)||[]);C({[P==null?void 0:P.meta.did]:H});const O=await w.getSelectedResources({input:{did:e.meta.did,projectId:l,releaseId:T,componentDid:P.meta.did}}),B=(O==null?void 0:O.resources)||[];B!=null&&B.length&&(y({[P.meta.did]:Tl(H,B)}),I(P.meta.did,H,B),c||(d.current[P==null?void 0:P.meta.did]={resources:B,component:P}))}catch(L){$.error(L.message)}}),{concurrency:2}).then(()=>{N.current=!0})},[T,l,c,m,p,C]),R.useEffect(()=>{h&&Object.keys(h).length&&e.children.forEach(P=>{const M=h[P.meta.did];M!=null&&M.length&&(y({[P.meta.did]:M}),c||(d.current[P==null?void 0:P.meta.did]={resources:M,component:P}))})},[e,h,c]);let F=null;return(!t||!((D=v[t.meta.did])!=null&&D.length))&&(F=o.jsx(Re,{Icon:$e,children:i("blocklet.publish.resourceEmptyTip",{name:t.meta.title})})),(t==null?void 0:t.status)!=="running"&&(F=o.jsx(Re,{children:i("blocklet.publish.componentNotRunning",{name:t.meta.title})})),o.jsxs(o.Fragment,{children:[o.jsx(Dl,{className:m1(a&&"error"),children:o.jsx(z,{pb:2,width:"100%",children:F||o.jsx(L1,{data:v[t.meta.did]||[],value:g[t.meta.did]||[],onChange:k,disabled:n||c})})}),!!a&&o.jsx(z,{color:"error.main",mt:1,fontSize:14,children:a})]})}P1.propTypes={component:f.object.isRequired,app:f.object.isRequired,projectId:f.string.isRequired,error:f.string,saveSelectedEventsRef:f.object.isRequired,readOnly:f.bool.isRequired,loading:f.bool.isRequired,release:f.shape({id:f.string.isRequired,status:f.string}),initialResources:f.object,initUrl:f.object,setResourceComponentsMap:f.func,componentDid:f.string,selectedResourceIds:f.array.isRequired,setSelectedResourceIds:f.func.isRequired};P1.defaultProps={error:"",release:{id:""},initUrl:null,initialResources:{},setResourceComponentsMap:()=>{},componentDid:""};const Dl=ae(z)`
115
+ `;function Dl(e,t){const l=new Set(t||[]),s=[];function n(c){l.has(c==null?void 0:c.id)&&s.push(c==null?void 0:c.id),c!=null&&c.children&&c.children.forEach(n)}return(e||[]).forEach(n),s}const d1=(e,t)=>(e.forEach(l=>{t&&(l.parent=t),(l.children||[]).forEach(s=>{s.parent=l.id,d1(s.children||[],s.id)})}),e),u1=(e,t,l,s,n)=>{const{exportApi:c="/"}=(e==null?void 0:e.meta.resource)||{},d=new URL(fe("http://127.0.0.1",e.mountPoint,c||"/").replace(/\/+/g,"/"));return d.searchParams.set("projectId",t),d.searchParams.set("releaseId",l),d.searchParams.set("local",s),n&&d.searchParams.set("resourcesParams",n.searchParams.get("resourcesParams")),`${d.pathname}${d.search}`},_l=async({api:e,appDid:t,component:l,projectId:s,releaseId:n,locale:c,initUrl:d,resources:a})=>{await r1.post(u1(l,s,n,c,d),{resources:a,projectId:s,releaseId:n,locale:c}),await e.updateSelectedResources({input:{did:t,projectId:s,releaseId:n,componentDid:l.meta.did,resources:a}})},Bl=(e,t)=>{if(!e)return{};const l=t.reduce((n,c)=>(n[c]=!0,n),{}),s=(n,c)=>(n.forEach(d=>{var a;l[d.id]&&((a=d.dependentComponents)!=null&&a.length)&&d.dependentComponents.forEach(u=>{c[u]=!0}),d.children&&s(d.children,c)}),c);return s(e,{})};function N1({app:e,component:t,projectId:l,release:s,loading:n,error:c,saveSelectedEventsRef:d,readOnly:a,componentDid:u,initialResources:h={},setResourceComponentsMap:x,selectedResourceIds:g,setSelectedResourceIds:y,initUrl:p}){var V;const{t:i,locale:m}=te(),{api:w}=ye(),[v,C]=ke({}),S=R.useRef({}),N=R.useRef(!1),T=s.id;S.current.projectId=l,S.current.releaseId=T;const I=(P,M,L)=>{if(!M)return;const H=Bl(M,L);x==null||x({[P]:Object.keys(H)})},k=P=>{d.current[t.meta.did]={resources:P,component:t},y({[t.meta.did]:P}),I(t.meta.did,v[t.meta.did],P)};R.useEffect(()=>{v[t==null?void 0:t.meta.did]||r1.get(u1(t,l,T,m,p)).then(P=>{var L;const M=d1(((L=P.data)==null?void 0:L.resources)||[]);C({[t==null?void 0:t.meta.did]:M})}).catch(P=>{$.error(P.message)})},[t,l,s,m,p,C,v,T]),R.useEffect(()=>{T&&l&&!N.current&&i1(e.children.map(P=>async()=>{var M;if(!(u&&u!==P.meta.did)&&!(!(P!=null&&P.mountPoint)||!r2.hasStartEngine(P==null?void 0:P.meta)))try{const L=await r1.get(u1(P,l,T,m,p)),H=d1(((M=L==null?void 0:L.data)==null?void 0:M.resources)||[]);C({[P==null?void 0:P.meta.did]:H});const O=await w.getSelectedResources({input:{did:e.meta.did,projectId:l,releaseId:T,componentDid:P.meta.did}}),E=(O==null?void 0:O.resources)||[];E!=null&&E.length&&(y({[P.meta.did]:Dl(H,E)}),I(P.meta.did,H,E),a||(d.current[P==null?void 0:P.meta.did]={resources:E,component:P}))}catch(L){$.error(L.message)}}),{concurrency:2}).then(()=>{N.current=!0})},[T,l,a,m,p,C]),R.useEffect(()=>{h&&Object.keys(h).length&&e.children.forEach(P=>{const M=h[P.meta.did];M!=null&&M.length&&(y({[P.meta.did]:M}),a||(d.current[P==null?void 0:P.meta.did]={resources:M,component:P}))})},[e,h,a]);let F=null;return(!t||!((V=v[t.meta.did])!=null&&V.length))&&(F=o.jsx(Ce,{Icon:Fe,children:i("blocklet.publish.resourceEmptyTip",{name:t.meta.title})})),(t==null?void 0:t.status)!=="running"&&(F=o.jsx(Ce,{children:i("blocklet.publish.componentNotRunning",{name:t.meta.title})})),o.jsxs(o.Fragment,{children:[o.jsx(El,{className:g1(c&&"error"),children:o.jsx(z,{pb:2,width:"100%",children:F||o.jsx(T1,{data:v[t.meta.did]||[],value:g[t.meta.did]||[],onChange:k,disabled:n||a})})}),!!c&&o.jsx(z,{color:"error.main",mt:1,fontSize:14,children:c})]})}N1.propTypes={component:f.object.isRequired,app:f.object.isRequired,projectId:f.string.isRequired,error:f.string,saveSelectedEventsRef:f.object.isRequired,readOnly:f.bool.isRequired,loading:f.bool.isRequired,release:f.shape({id:f.string.isRequired,status:f.string}),initialResources:f.object,initUrl:f.object,setResourceComponentsMap:f.func,componentDid:f.string,selectedResourceIds:f.array.isRequired,setSelectedResourceIds:f.func.isRequired};N1.defaultProps={error:"",release:{id:""},initUrl:null,initialResources:{},setResourceComponentsMap:()=>{},componentDid:""};const El=de(z)`
116
116
  border: 1px solid #ccc;
117
117
  max-height: 600px;
118
118
  width: 100%;
@@ -133,7 +133,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
133
133
  background: #fff;
134
134
  z-index: 10;
135
135
  }
136
- `,D0=({fromBlocklet:e,nodeInfo:t,blocklet:l,userDid:s})=>{var d,c;const n=e?(d=l==null?void 0:l.meta)==null?void 0:d.did:t==null?void 0:t.did;let a=e?((c=l==null?void 0:l.settings)==null?void 0:c.storeList)||[]:(t==null?void 0:t.blockletRegistryList)||[];return a=a.filter(u=>u.protected||!u.scope||u.scope==="studio"||u.scope===s),{teamDid:n,storeList:a}};function T1({blocklet:e,store:t,onChangeStore:l,onClick:s,disabled:n,loading:a,componentDid:d}){var L,H,O;const{t:c}=te(),{session:u}=Je(),{api:h,info:x,inService:g}=Ce(),y=Te(),[p,i]=R.useState(!1),m=R.useRef(null),[w,v]=R.useState(!1),[C,S]=R.useState(null),N=B=>{l(B),i(!1)},T=()=>{i(!0)},I=B=>{m.current&&m.current.contains(B.target)||i(!1)},k=()=>{v(!0)},F=()=>{v(!1)},D=async()=>{var B;if(C)try{await h.deleteBlockletStore({input:{teamDid:e.meta.did,url:C.url,projectId:"",scope:C.scope||"studio"}}),await((B=y==null?void 0:y.actions)==null?void 0:B.refreshBlocklet())}catch(G){$.error(`Remove Blocklet Store Error: ${Ie(G)}`)}finally{S(null)}},{storeList:P}=D0({fromBlocklet:g,blocklet:e,nodeInfo:x,componentDid:d,userDid:(L=u==null?void 0:u.user)==null?void 0:L.did}),M=(H=e==null?void 0:e.meta)==null?void 0:H.did;return o.jsxs(o.Fragment,{children:[o.jsxs(P2,{disabled:n,ref:m,variant:"contained",color:"primary","aria-label":"Button group with connect store",children:[o.jsxs(ne,{onClick:s,children:[a&&o.jsx(c1,{size:14,sx:{mr:.5}}),`${c("common.connect")} ${(t==null?void 0:t.name)||""}`]}),o.jsx(ne,{size:"small","aria-controls":p?"split-button-menu":void 0,"aria-expanded":p?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:T,children:o.jsx(k2,{})})]}),o.jsx(r2,{sx:{zIndex:10},open:p,anchorEl:m.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:B})=>o.jsx(s2,{...B,style:{transformOrigin:"center top"},children:o.jsx(f0,{children:o.jsx(n2,{onClickAway:I,children:o.jsxs(i2,{id:"split-button-menu",autoFocusItem:!0,sx:{maxHeight:300,overflowY:"auto"},children:[P.map(G=>{var K;return o.jsxs(F1,{selected:G.id===t.id,sx:{height:56},onClick:()=>N(G),children:[o.jsxs(z,{children:[o.jsx(ge,{sx:{fontSize:"16px"},maxLength:24,children:G.name}),o.jsx(ge,{sx:{fontSize:"13px",opacity:.6},maxLength:30,children:G.url})]}),M2({store:G,userDid:(K=u==null?void 0:u.user)==null?void 0:K.did})&&o.jsx(ie,{sx:{ml:1},onClick:X=>{X.preventDefault(),X.stopPropagation(),S(G)},children:o.jsx(We,{icon:"ic:outline-delete"})})]},G.url)}),o.jsx(a2,{}),o.jsxs(F1,{onClick:k,children:[o.jsx(p1,{font:!0}),o.jsx(J,{variant:"inherit",children:c("store.blockletRegistry.addRegistry")})]})]})})})})}),w&&o.jsx(w0,{hiddenChildren:!0,open:!0,onClose:F,teamDid:M,storeList:P,scope:"studio",onAdd:(O=y==null?void 0:y.actions)==null?void 0:O.refreshBlocklet}),C&&o.jsx(f1,{displayError:!0,title:`${c("common.delete")} ${C.name}`,description:c("blocklet.publish.deleteStoreTip",{name:C.name}),confirm:c("common.confirm"),onConfirm:D,onCancel:()=>S(null)})]})}T1.propTypes={store:f.object,blocklet:f.object,onChangeStore:f.func.isRequired,onClick:f.func.isRequired,loading:f.bool.isRequired,disabled:f.bool.isRequired,componentDid:f.string.isRequired,projectType:f.string.isRequired,getData:f.func.isRequired};T1.defaultProps={store:null,blocklet:null};const e1={};async function _0(e,{interval:t=1e3,maxDuration:l=120*1e3,intervalFirst:s=4e3,timerKey:n=""}){e1[n]&&clearTimeout(e1[n]),await new Promise(c=>setTimeout(c,s));const a=Date.now(),d=async(c,u)=>{try{const h=await e();c(h)}catch(h){Date.now()-a>l?u(h):n?e1[n]=setTimeout(()=>d(c,u),t):setTimeout(()=>d(c,u),t)}};return new Promise(d)}function _l(){return Math.random().toString(36).slice(2)+Math.random().toString(36).slice(2)+`${Date.now()}`.slice(-6)}function Bl(e,{did:t,projectId:l,messageId:s}){return _0(async()=>{var a;const n=await e.getProject({input:{did:t,projectId:l,messageId:s}});if(!((a=n==null?void 0:n.project)!=null&&a.blockletDid))throw new Error("Connected store not found");return n.project.blockletDid},{timerKey:"connect-studio"})}function El(e,{did:t,projectId:l,storeId:s}){return _0(async()=>{var d,c;const n=await e.getProject({input:{did:t,projectId:l,messageId:""}});if(!((c=(d=n==null?void 0:n.project)==null?void 0:d.connectedStores)!=null&&c.length))throw new Error("Connected store not found");if(!n.project.connectedStores.find(u=>u.storeId===s))throw new Error("Connected store not found")},{timerKey:`connect-store-${s}`})}const t0="lastWantToConnectStoreId";function Al(e){var c,u;const[t,l]=R.useState(null),{session:s}=Je(),n=R.useCallback(h=>{l(h),localStorage.setItem(t0,h==null?void 0:h.id)},[l]),a=R.useMemo(()=>{var g,y;const h=localStorage.getItem(t0),x=h?(((g=e==null?void 0:e.settings)==null?void 0:g.storeList)||[]).find(p=>p.id===h):null;return x||(((y=e==null?void 0:e.settings)==null?void 0:y.storeList)||[]).find(p=>{var i;return!(p.id!==q.BLOCKLET_STORE.id||p.scope&&p.scope!=="studio"&&p.scope!==((i=s==null?void 0:s.user)==null?void 0:i.did))})},[(c=e==null?void 0:e.settings)==null?void 0:c.storeList,(u=s==null?void 0:s.user)==null?void 0:u.did]);return[t||a,n]}const o0=[".webp",".jpg",".jpeg",".png",".gif",".svg"],l0=1024*1024*10,r0=R.lazy(()=>x0(()=>import("./react-CPynQ78n.js").then(e=>e.r),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])).then(e=>({default:e.Uploader})));function B0({projectId:e,readOnly:t,loading:l,blocklet:s,params:n,setParams:a,paramsErrTip:d,setParamsErrTip:c,setLoading:u,initUrl:h,initLogoUrl:x,setInitLogoUrl:g,componentDid:y}){const{t:p}=te(),{api:i}=Ce(),m=d1(),w=R.useRef(null),v=R.useRef(null),[C,S]=Al(s),N=I2({messageType:"connect-store-message",onOpen:()=>u(!0),onClose:()=>u(!1)}),T=async L=>{const H=setTimeout(()=>{u(!1)},2e4),O=await Bl(i,L);u(!1),clearTimeout(H),window.parent.postMessage({event:"studioDialog.connected",componentDid:y},"*"),m(window.location.pathname.replace(`${q.UNOWNED_DID}/create`,`${O}/create`),{replace:!0})},I=()=>{if(!n.blockletTitle){$.error(p("blocklet.publish.errorTip.noTitle"));return}if(!C){$.error("No store found");return}const L=_l();N(async(H,O)=>{var B,G,K;try{const X=await i.connectByStudio({input:{did:(B=s==null?void 0:s.meta)==null?void 0:B.did,blockletTitle:n==null?void 0:n.blockletTitle,storeUrl:C.url,storeId:C.id,storeName:C.name,type:((G=n==null?void 0:n.blockletComponents)==null?void 0:G.length)>0?"pack":"resource",componentDid:y,messageId:L,tenantScope:(h==null?void 0:h.searchParams.get("tenantScope"))||""}});if(!(X!=null&&X.url)){$.error("failed to connect to store");return}O(X.url),T({did:(K=s==null?void 0:s.meta)==null?void 0:K.did,projectId:"",messageId:L})}catch(X){const re=Ie(X);$.error(re),u(!1)}})},k=`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/logo/upload`,F=`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/screenshot/upload`,D=n!=null&&n.blockletLogo?`${k}/${n.blockletLogo}`:`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images/logo.png`,P=((n==null?void 0:n.blockletScreenshots)||[]).filter(Boolean).map(L=>`${F}/${L}`),M=()=>t?!1:!e||e===q.UNOWNED_DID?($.error(p("blocklet.publish.errorTip.noFirstDid")),!1):!0;return o.jsxs(Ol,{children:[o.jsx(z,{display:"flex",className:"section",children:o.jsxs(z,{sx:{flex:1},children:[o.jsx(Me,{disabled:l||t,label:`Blocklet ${p("common.title")}`,placeholder:`Blocklet ${p("common.title")}`,InputProps:{"data-cy":"blocklet-title",readOnly:t},autoComplete:"off",variant:"outlined",fullWidth:!0,required:!0,value:n.blockletTitle||"",onChange:L=>{c({blockletTitle:""}),a({blockletTitle:L.target.value})},error:!!d.blockletTitle,helperText:d.blockletTitle||""}),o.jsx(Me,{required:!0,label:"Blocklet DID",fullWidth:!0,readonly:!0,disabled:!0,autoComplete:"off",variant:"outlined",InputProps:{"data-cy":"export-blocklet-did",endAdornment:e===q.UNOWNED_DID&&o.jsx(v1,{position:"end",children:o.jsx(T1,{blocklet:s,store:C,componentDid:y,onChangeStore:S,disabled:!n.blockletTitle||t||l,loading:l,onClick:I})})},error:!!d.projectId,helperText:d.projectId||"",value:e===q.UNOWNED_DID?"":`did:abt:${e}`,sx:{mt:3}}),o.jsx(Me,{disabled:l||t,label:`Blocklet ${p("common.description")}`,placeholder:`Blocklet ${p("common.description")}`,InputProps:{"data-cy":"blocklet-description",readOnly:t},required:!0,autoComplete:"off",variant:"outlined",fullWidth:!0,value:n.blockletDescription||"",onChange:L=>{c({blockletDescription:""}),a({blockletDescription:L.target.value})},error:!!d.blockletDescription,helperText:d.blockletDescription||"",sx:{mt:3}})]})}),o.jsx(z,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(z,{sx:{flex:1},children:[o.jsxs(z,{display:"flex",children:[o.jsx(J,{variant:"subtitle1",sx:{mr:2},children:p("common.logo")}),o.jsx(z,{sx:{flex:1,cursor:t?"default":"pointer"},children:o.jsx(g0,{variant:"square",sx:{width:80,height:80},alt:"Blocklet Logo",src:x||D,onClick:()=>{M()&&w.current.open()}})})]}),o.jsxs(z,{display:"flex",mt:3,children:[o.jsx(J,{variant:"subtitle1",sx:{mr:2},children:p("common.screenshot")}),o.jsxs(z,{display:"flex",alignItems:"center",sx:{flex:1,flexWrap:"wrap"},children:[P.map((L,H)=>o.jsxs(z,{className:"screenshot",children:[o.jsx("img",{alt:"screenshot",src:L}),!t&&o.jsx(ie,{className:"action",onClick:()=>{a(O=>{const B=[...O.blockletScreenshots];return B.splice(H,1),{...O,blockletScreenshots:B}})},children:o.jsx(S2,{})})]},L)),P.length<5&&o.jsx(z,{sx:{width:200,height:140,background:"#eee",cursor:t?"default":"pointer",color:"#999",mb:2},display:"flex",justifyContent:"center",alignItems:"center",fontSize:40,onClick:()=>{M()&&v.current.open()},children:"+"})]})]})]})}),o.jsxs(R.Suspense,{fallback:o.jsx(ye,{}),children:[o.jsx(r0,{ref:w,popup:!0,onUploadFinish:L=>{a({blockletLogo:L.data.filename}),g(""),w.current.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:k,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:o0,maxFileSize:l0,maxNumberOfFiles:1}}},"uploader-logo"),o.jsx(r0,{ref:v,popup:!0,onUploadFinish:L=>{a(H=>{var B;const O=H.blockletScreenshots||[];return O.push((B=L.data)==null?void 0:B.filename),{...H,blockletScreenshots:O}}),v.current.close()},plugins:["ImageEditor"],apiPathProps:{uploader:F,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:o0,maxFileSize:l0,maxNumberOfFiles:5-P.length}}},"uploader-screenshot")]})]})}B0.propTypes={projectId:f.string.isRequired,readOnly:f.bool.isRequired,params:f.object.isRequired,setParams:f.func.isRequired,paramsErrTip:f.object.isRequired,setParamsErrTip:f.func.isRequired,loading:f.bool.isRequired,blocklet:f.object.isRequired,setLoading:f.func.isRequired,initUrl:f.object.isRequired,componentDid:f.isRequired,initLogoUrl:f.string.isRequired,setInitLogoUrl:f.func.isRequired};const Ol=ae.div`
136
+ `,_0=({fromBlocklet:e,nodeInfo:t,blocklet:l,userDid:s})=>{var d,a;const n=e?(d=l==null?void 0:l.meta)==null?void 0:d.did:t==null?void 0:t.did;let c=e?((a=l==null?void 0:l.settings)==null?void 0:a.storeList)||[]:(t==null?void 0:t.blockletRegistryList)||[];return c=c.filter(u=>u.protected||!u.scope||u.scope==="studio"||u.scope===s),{teamDid:n,storeList:c}};function V1({blocklet:e,store:t,onChangeStore:l,onClick:s,disabled:n,loading:c,componentDid:d}){var L,H,O;const{t:a}=te(),{session:u}=Ye(),{api:h,info:x,inService:g}=ye(),y=Ne(),[p,i]=R.useState(!1),m=R.useRef(null),[w,v]=R.useState(!1),[C,S]=R.useState(null),N=E=>{l(E),i(!1)},T=()=>{i(!0)},I=E=>{m.current&&m.current.contains(E.target)||i(!1)},k=()=>{v(!0)},F=()=>{v(!1)},V=async()=>{var E;if(C)try{await h.deleteBlockletStore({input:{teamDid:e.meta.did,url:C.url,projectId:"",scope:C.scope||"studio"}}),await((E=y==null?void 0:y.actions)==null?void 0:E.refreshBlocklet())}catch(G){$.error(`Remove Blocklet Store Error: ${Le(G)}`)}finally{S(null)}},{storeList:P}=_0({fromBlocklet:g,blocklet:e,nodeInfo:x,componentDid:d,userDid:(L=u==null?void 0:u.user)==null?void 0:L.did}),M=(H=e==null?void 0:e.meta)==null?void 0:H.did;return o.jsxs(o.Fragment,{children:[o.jsxs(V2,{disabled:n,ref:m,variant:"contained",color:"primary","aria-label":"Button group with connect store",children:[o.jsxs(ae,{onClick:s,children:[c&&o.jsx(We,{size:14,sx:{mr:.5}}),`${a("common.connect")} ${(t==null?void 0:t.name)||""}`]}),o.jsx(ae,{size:"small","aria-controls":p?"split-button-menu":void 0,"aria-expanded":p?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:T,children:o.jsx(I2,{})})]}),o.jsx(s2,{sx:{zIndex:10},open:p,anchorEl:m.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:E})=>o.jsx(n2,{...E,style:{transformOrigin:"center top"},children:o.jsx(m0,{children:o.jsx(i2,{onClickAway:I,children:o.jsxs(a2,{id:"split-button-menu",autoFocusItem:!0,sx:{maxHeight:300,overflowY:"auto"},children:[P.map(G=>{var K;return o.jsxs(q1,{selected:G.id===t.id,sx:{height:56},onClick:()=>N(G),children:[o.jsxs(z,{children:[o.jsx(ge,{sx:{fontSize:"16px"},maxLength:24,children:G.name}),o.jsx(ge,{sx:{fontSize:"13px",opacity:.6},maxLength:30,children:G.url})]}),L2({store:G,userDid:(K=u==null?void 0:u.user)==null?void 0:K.did})&&o.jsx(ce,{sx:{ml:1},onClick:X=>{X.preventDefault(),X.stopPropagation(),S(G)},children:o.jsx(Ke,{icon:"ic:outline-delete"})})]},G.url)}),o.jsx(c2,{}),o.jsxs(q1,{onClick:k,children:[o.jsx(f1,{font:!0}),o.jsx(Q,{variant:"inherit",children:a("store.blockletRegistry.addRegistry")})]})]})})})})}),w&&o.jsx(R0,{hiddenChildren:!0,open:!0,onClose:F,teamDid:M,storeList:P,scope:"studio",onAdd:(O=y==null?void 0:y.actions)==null?void 0:O.refreshBlocklet}),C&&o.jsx(m1,{displayError:!0,title:`${a("common.delete")} ${C.name}`,description:a("blocklet.publish.deleteStoreTip",{name:C.name}),confirm:a("common.confirm"),onConfirm:V,onCancel:()=>S(null)})]})}V1.propTypes={store:f.object,blocklet:f.object,onChangeStore:f.func.isRequired,onClick:f.func.isRequired,loading:f.bool.isRequired,disabled:f.bool.isRequired,componentDid:f.string.isRequired,projectType:f.string.isRequired,getData:f.func.isRequired};V1.defaultProps={store:null,blocklet:null};const o1={};async function B0(e,{interval:t=1e3,maxDuration:l=120*1e3,intervalFirst:s=4e3,timerKey:n=""}){o1[n]&&clearTimeout(o1[n]),await new Promise(a=>setTimeout(a,s));const c=Date.now(),d=async(a,u)=>{try{const h=await e();a(h)}catch(h){Date.now()-c>l?u(h):n?o1[n]=setTimeout(()=>d(a,u),t):setTimeout(()=>d(a,u),t)}};return new Promise(d)}function Al(){return Math.random().toString(36).slice(2)+Math.random().toString(36).slice(2)+`${Date.now()}`.slice(-6)}function Ol(e,{did:t,projectId:l,messageId:s}){return B0(async()=>{var c;const n=await e.getProject({input:{did:t,projectId:l,messageId:s}});if(!((c=n==null?void 0:n.project)!=null&&c.blockletDid))throw new Error("Connected store not found");return n.project.blockletDid},{timerKey:"connect-studio"})}function Hl(e,{did:t,projectId:l,storeId:s}){return B0(async()=>{var d,a;const n=await e.getProject({input:{did:t,projectId:l,messageId:""}});if(!((a=(d=n==null?void 0:n.project)==null?void 0:d.connectedStores)!=null&&a.length))throw new Error("Connected store not found");if(!n.project.connectedStores.find(u=>u.storeId===s))throw new Error("Connected store not found")},{timerKey:`connect-store-${s}`})}const l0="lastWantToConnectStoreId";function $l(e){var a,u;const[t,l]=R.useState(null),{session:s}=Ye(),n=R.useCallback(h=>{l(h),localStorage.setItem(l0,h==null?void 0:h.id)},[l]),c=R.useMemo(()=>{var g,y;const h=localStorage.getItem(l0),x=h?(((g=e==null?void 0:e.settings)==null?void 0:g.storeList)||[]).find(p=>p.id===h):null;return x||(((y=e==null?void 0:e.settings)==null?void 0:y.storeList)||[]).find(p=>{var i;return!(p.id!==q.BLOCKLET_STORE.id||p.scope&&p.scope!=="studio"&&p.scope!==((i=s==null?void 0:s.user)==null?void 0:i.did))})},[(a=e==null?void 0:e.settings)==null?void 0:a.storeList,(u=s==null?void 0:s.user)==null?void 0:u.did]);return[t||c,n]}const r0=[".webp",".jpg",".jpeg",".png",".gif",".svg"],s0=1024*1024*10,n0=R.lazy(()=>v0(()=>import("./react-Di5TTO9l.js").then(e=>e.r),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])).then(e=>({default:e.Uploader})));function E0({projectId:e,readOnly:t,loading:l,blocklet:s,params:n,setParams:c,paramsErrTip:d,setParamsErrTip:a,setLoading:u,initUrl:h,initLogoUrl:x,setInitLogoUrl:g,componentDid:y}){const{t:p}=te(),{api:i}=ye(),m=p1(),w=R.useRef(null),v=R.useRef(null),[C,S]=$l(s),N=P2({messageType:"connect-store-message",onOpen:()=>u(!0),onClose:()=>u(!1)}),T=async L=>{const H=setTimeout(()=>{u(!1)},2e4),O=await Ol(i,L);u(!1),clearTimeout(H),window.parent.postMessage({event:"studioDialog.connected",componentDid:y},"*"),m(window.location.pathname.replace(`${q.UNOWNED_DID}/create`,`${O}/create`),{replace:!0})},I=()=>{if(!n.blockletTitle){$.error(p("blocklet.publish.errorTip.noTitle"));return}if(!C){$.error("No store found");return}const L=Al();N(async(H,O)=>{var E,G,K;try{const X=await i.connectByStudio({input:{did:(E=s==null?void 0:s.meta)==null?void 0:E.did,blockletTitle:n==null?void 0:n.blockletTitle,storeUrl:C.url,storeId:C.id,storeName:C.name,type:((G=n==null?void 0:n.blockletComponents)==null?void 0:G.length)>0?"pack":"resource",componentDid:y,messageId:L,tenantScope:(h==null?void 0:h.searchParams.get("tenantScope"))||""}});if(!(X!=null&&X.url)){$.error("failed to connect to store");return}O(X.url),T({did:(K=s==null?void 0:s.meta)==null?void 0:K.did,projectId:"",messageId:L})}catch(X){const se=Le(X);$.error(se),u(!1)}})},k=`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/logo/upload`,F=`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/screenshot/upload`,V=n!=null&&n.blockletLogo?`${k}/${n.blockletLogo}`:`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images/logo.png`,P=((n==null?void 0:n.blockletScreenshots)||[]).filter(Boolean).map(L=>`${F}/${L}`),M=()=>t?!1:!e||e===q.UNOWNED_DID?($.error(p("blocklet.publish.errorTip.noFirstDid")),!1):!0;return o.jsxs(Fl,{children:[o.jsx(z,{display:"flex",className:"section",children:o.jsxs(z,{sx:{flex:1},children:[o.jsx(Ie,{disabled:l||t,label:`Blocklet ${p("common.title")}`,placeholder:`Blocklet ${p("common.title")}`,InputProps:{"data-cy":"blocklet-title",readOnly:t},autoComplete:"off",variant:"outlined",fullWidth:!0,required:!0,value:n.blockletTitle||"",onChange:L=>{a({blockletTitle:""}),c({blockletTitle:L.target.value})},error:!!d.blockletTitle,helperText:d.blockletTitle||""}),o.jsx(Ie,{required:!0,label:"Blocklet DID",fullWidth:!0,readonly:!0,disabled:!0,autoComplete:"off",variant:"outlined",InputProps:{"data-cy":"export-blocklet-did",endAdornment:e===q.UNOWNED_DID&&o.jsx(b1,{position:"end",children:o.jsx(V1,{blocklet:s,store:C,componentDid:y,onChangeStore:S,disabled:!n.blockletTitle||t||l,loading:l,onClick:I})})},error:!!d.projectId,helperText:d.projectId||"",value:e===q.UNOWNED_DID?"":`did:abt:${e}`,sx:{mt:3}}),o.jsx(Ie,{disabled:l||t,label:`Blocklet ${p("common.description")}`,placeholder:`Blocklet ${p("common.description")}`,InputProps:{"data-cy":"blocklet-description",readOnly:t},required:!0,autoComplete:"off",variant:"outlined",fullWidth:!0,value:n.blockletDescription||"",onChange:L=>{a({blockletDescription:""}),c({blockletDescription:L.target.value})},error:!!d.blockletDescription,helperText:d.blockletDescription||"",sx:{mt:3}})]})}),o.jsx(z,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(z,{sx:{flex:1},children:[o.jsxs(z,{display:"flex",children:[o.jsx(Q,{variant:"subtitle1",sx:{mr:2},children:p("common.logo")}),o.jsx(z,{sx:{flex:1,cursor:t?"default":"pointer"},children:o.jsx(j0,{variant:"square",sx:{width:80,height:80},alt:"Blocklet Logo",src:x||V,onClick:()=>{M()&&w.current.open()}})})]}),o.jsxs(z,{display:"flex",mt:3,children:[o.jsx(Q,{variant:"subtitle1",sx:{mr:2},children:p("common.screenshot")}),o.jsxs(z,{display:"flex",alignItems:"center",sx:{flex:1,flexWrap:"wrap"},children:[P.map((L,H)=>o.jsxs(z,{className:"screenshot",children:[o.jsx("img",{alt:"screenshot",src:L}),!t&&o.jsx(ce,{className:"action",onClick:()=>{c(O=>{const E=[...O.blockletScreenshots];return E.splice(H,1),{...O,blockletScreenshots:E}})},children:o.jsx(M2,{})})]},L)),P.length<5&&o.jsx(z,{sx:{width:200,height:140,background:"#eee",cursor:t?"default":"pointer",color:"#999",mb:2},display:"flex",justifyContent:"center",alignItems:"center",fontSize:40,onClick:()=>{M()&&v.current.open()},children:"+"})]})]})]})}),o.jsxs(R.Suspense,{fallback:o.jsx(ze,{}),children:[o.jsx(n0,{ref:w,popup:!0,onUploadFinish:L=>{c({blockletLogo:L.data.filename}),g(""),w.current.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:k,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:r0,maxFileSize:s0,maxNumberOfFiles:1}}},"uploader-logo"),o.jsx(n0,{ref:v,popup:!0,onUploadFinish:L=>{c(H=>{var E;const O=H.blockletScreenshots||[];return O.push((E=L.data)==null?void 0:E.filename),{...H,blockletScreenshots:O}}),v.current.close()},plugins:["ImageEditor"],apiPathProps:{uploader:F,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:r0,maxFileSize:s0,maxNumberOfFiles:5-P.length}}},"uploader-screenshot")]})]})}E0.propTypes={projectId:f.string.isRequired,readOnly:f.bool.isRequired,params:f.object.isRequired,setParams:f.func.isRequired,paramsErrTip:f.object.isRequired,setParamsErrTip:f.func.isRequired,loading:f.bool.isRequired,blocklet:f.object.isRequired,setLoading:f.func.isRequired,initUrl:f.object.isRequired,componentDid:f.isRequired,initLogoUrl:f.string.isRequired,setInitLogoUrl:f.func.isRequired};const Fl=de.div`
137
137
  margin-top: 24px;
138
138
  .screenshot {
139
139
  margin-bottom: 16px;
@@ -164,7 +164,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
164
164
  width: 100%; /* 图像宽度填充容器 */
165
165
  height: auto; /* 图像高度自适应 */
166
166
  }
167
- `;var N1={},Hl=Pe;Object.defineProperty(N1,"__esModule",{value:!0});var E0=N1.default=void 0,$l=Hl(Le()),Fl=o;E0=N1.default=(0,$l.default)((0,Fl.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13z"}),"CloudUploadRounded");function V1({blocklet:e,releaseId:t,connectedStores:l,projectId:s,releaseType:n,publishedStoreIds:a,onPublish:d,onDelete:c,projectType:u,componentDid:h,onOpenConnectStore:x,behavior:g,onSelectConnectStore:y}){var S,N;const{t:p}=te(),{actions:{refreshBlocklet:i}}=Te(),{session:m}=Je(),{storeList:w}=D0({fromBlocklet:!0,blocklet:e,componentDid:h,userDid:(S=m==null?void 0:m.user)==null?void 0:S.did}),v=R.useMemo(()=>l!=null&&l.length?l==null?void 0:l.reduce((T,I)=>(T[I.storeId]=I,T),{}):{},[l]),C=(N=e==null?void 0:e.meta)==null?void 0:N.did;return o.jsxs(o.Fragment,{children:[g==="connect"&&!!(w!=null&&w.length)&&o.jsx(b0,{severity:"info",style:{width:"100%"},children:o.jsxs(z,{color:m2[400],component:"a",href:u==="pack"?"https://www.arcblock.io/docs/blocklet-developer/en/5PXToZve-5IXAN1bc8rkpxAc":"https://www.arcblock.io/docs/blocklet-developer/en/hB5VWLfg9VnbWsL1JGLuLUfW",target:"_blank",display:"flex",alignItems:"center",rel:"noreferrer",children:[p(u==="pack"?"blocklet.publish.whyCantSeeInStore":"blocklet.publish.whyCantSeeResourceBlockletInStore"),o.jsx(T2,{sx:{marginLeft:1}})]})}),o.jsx(c2,{children:w==null?void 0:w.map(T=>o.jsx(N2,{"data-cy":"store-switch",children:o.jsx(V2,{children:o.jsx(L2,{behavior:g,onSelectConnectStore:y,releaseId:t,projectId:s,releaseType:n,kind:"publish",teamDid:C,store:T,published:(a==null?void 0:a.indexOf(T.id))>-1,connectedStore:v[T.id],onPublish:d,onDelete:c,scope:T.scope||"studio",onOpenConnectStore:x})})},T.url))}),o.jsx(w0,{teamDid:C,storeList:w,scope:"studio",onAdd:i})]})}V1.propTypes={blocklet:f.object.isRequired,projectId:f.string.isRequired,releaseId:f.string.isRequired,releaseType:f.string.isRequired,onPublish:f.func,onDelete:f.func,publishedStoreIds:f.arrayOf(f.string),connectedStores:f.arrayOf(f.object).isRequired,projectType:f.string,componentDid:f.string,onOpenConnectStore:f.func,onSelectConnectStore:f.func,behavior:f.string};V1.defaultProps={projectType:"",componentDid:"",publishedStoreIds:[],onPublish:()=>{},onDelete:()=>{},onOpenConnectStore:()=>{},onSelectConnectStore:()=>{},behavior:"connect"};const A0=({params:e,hasSelectedResources:t,projectId:l,status:s,t:n})=>{const a=[];return e.blockletTitle||a.push({param:"blockletTitle",message:n("blocklet.publish.errorTip.noTitle")}),(!l||l===q.UNOWNED_DID)&&a.push({param:"projectId",message:n("blocklet.publish.errorTip.noDid")}),!e.uploadedResource&&!t&&a.push({param:"blockletResource",message:n("blocklet.publish.errorTip.noResource")}),e.blockletVersion?ke.valid(e.blockletVersion)||a.push({param:"blockletVersion",message:n("blocklet.publish.errorTip.inValidVersion")}):a.push({param:"blockletVersion",message:n("blocklet.publish.errorTip.noVersion")}),s===we.PROJECT.RELEASE_STATUS.published&&(e.blockletDescription||a.push({param:"blockletDescription",message:n("blocklet.publish.errorTip.noDescription")}),e.note||a.push({param:"note",message:n("blocklet.publish.errorTip.noNote")})),a.length?a:null},ql=({params:e,hasSelectedResources:t,step:l,t:s,projectId:n})=>{if(l===0){if(!e.blockletTitle)return s("blocklet.publish.errorTip.noTitle");if(!n||n===q.UNOWNED_DID)return s("blocklet.publish.errorTip.noDid");if(!e.blockletDescription)return s("blocklet.publish.errorTip.noDescription")}if(l===2&&!e.uploadedResource&&!t)return s("blocklet.publish.errorTip.noResource");if(l>=4){if(!e.blockletVersion)return s("blocklet.publish.errorTip.noVersion");if(!ke.valid(e.blockletVersion))return s("blocklet.publish.errorTip.inValidVersion");if(!e.note)return s("blocklet.publish.errorTip.noNote")}return""},Ul=async e=>{if(typeof e!="string")throw new Error("URL must be a string");try{const t=e.split("/").pop().split("?")[0],s=await(await fetch(e)).blob();return new File([s],t,{type:s.type})}catch{throw new Error("Failed to convert Logo URL to file")}};function*Wl(e,t){let l=0;for(;l<e.size;)yield e.slice(l,l+t),l+=t}const Gl=async({did:e,projectId:t,uploadType:l="logo",imageUrl:s})=>{const n=await Ul(s);new FormData().append("file",n);const d={uploaderId:"Uploader",relativePath:encodeURIComponent(n.name),name:encodeURIComponent(n.name),type:n.type},u=(await q1.post(he(q.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/project",e,t,l,"upload"),null,{headers:{"Tus-Resumable":"1.0.0","Upload-Length":n.size,"X-Uploader-File-Ext":n.name.split(".").pop(),"Upload-Metadata":Object.keys(d).map(y=>`${y} ${btoa(d[y])}`).join(",")}})).headers.location,h=2*1024*1024;let x=0,g="";for(const y of Wl(n,h)){const p=await q1.patch(he(q.WELLKNOWN_SERVICE_PATH_PREFIX,u),y,{headers:{"Tus-Resumable":"1.0.0","Upload-Offset":x,"Content-Type":"application/offset+octet-stream"}});x+=y.size,g=p.data.filename}return g};var a0;const t1=(a0=window.env)==null?void 0:a0.serverEndpoint;function O0({projectId:e,params:t,setParamsErrTip:l,initUrl:s,setParams:n,mode:a,loading:d,blocklet:c,release:u,isPublished:h,releaseId:x,getData:g,getRelease:y,componentDid:p,resourceRelateComponents:i,disabledSelectComponents:m,saveSelectedEventsRef:w,hasSelectedResources:v,initLogoUrl:C,setLoading:S,releaseUsedLast:N,setReleaseUsedLast:T,projectType:I}){var se;const{t:k,locale:F}=te(),{api:D}=Ce(),P=d1(),[M,L]=R.useState(!1),[H,O]=R.useState(),B=He(U=>U.breakpoints.down("md")),G=((se=t==null?void 0:t.blockletComponents)==null?void 0:se.length)>0?"pack":"resource",K=()=>{window.parent.postMessage({event:"studioDialog.uploaded",componentDid:p},"*"),y()},X=async U=>{var de,xe,Z,le;const ee=A0({params:t,hasSelectedResources:v,projectId:e,status:U,t:k});if(ee){$.error(ee.map(V=>V.message).join("; ")),l(ee.reduce((V,W)=>({...V,[W.param]:W.message}),{}));return}const E={...t},fe=((c==null?void 0:c.children)||[]).reduce((V,W)=>(V[W.meta.did]=!0,V),{});if(Object.keys(i).forEach(V=>{if(!fe[V])return;let W=!1;m||E.blockletComponents.forEach(ue=>{ue.did===V&&(ue.included=!0,ue.required=!0,W=!0)}),W||E.blockletComponents.push({did:V,included:!0,required:!0})}),E.blockletVersion=ke.valid(E.blockletVersion),!E.blockletVersion){$.error("Invalid Blocklet Version"),l({blockletVersion:"Invalid Blocklet Version"});return}if(S(!0),C)try{const V=await Gl({did:c.meta.did,projectId:e,imageUrl:C});E.blockletLogo=V,n({blockletLogo:V})}catch(V){$.error(V.message),S(!1);return}if(t.resourceFromSelect){E.uploadedResource="";try{const V=Object.keys(w.current);await j0(V.map(W=>()=>{const ue=w.current[W];return Nl({api:D,locale:F,projectId:e,releaseId:N?"":x,appDid:c.meta.did,component:ue.component,resources:ue.resources,initUrl:s})}),{concurrency:2})}catch(V){$.error(((Z=(xe=(de=V==null?void 0:V.response)==null?void 0:de.data)==null?void 0:xe.error)==null?void 0:Z.message)||V.message),S(!1),l({blockletResource:"Invalid save the resource"});return}}else E.blockletComponents=[];E.blockletTitle=(E.blockletTitle||"").trim(),E.blockletDescription=(E.blockletDescription||"").trim(),E.blockletIntroduction=(E.blockletIntroduction||"").trim(),E.note=(E.note||"").trim(),E.blockletComponents=((E==null?void 0:E.blockletComponents)||[]).filter(V=>V.included).map(V=>u1(V,["did","required"])).map(JSON.stringify),S(!0);let Q=x;try{const V=await D.createRelease({input:{...E,did:c.meta.did,projectId:e,releaseId:N?"":x,status:U}}).finally(()=>{S(!1)});U==="draft"?$.success(k("blocklet.publish.saveDraftSuccess")):(T(!1),$.success(k("blocklet.publish.createReleaseSuccess")),window.parent.postMessage({event:"studioDialog.released",componentDid:p},"*")),l({blockletResource:"",blockletTitle:"",blockletDescription:"",blockletVersion:"",blockletLogo:"",projectId:"",blockletIntroduction:"",note:""}),(a==="create"||a==="new-release")&&(Q=(le=V==null?void 0:V.release)==null?void 0:le.id)}catch(V){const W=Ie(V);$.error(W),(/resource/.test(W)||/zip/.test(W))&&l({blockletResource:W})}for(const V of t.connectedStores)try{const W=await D.publishToStore({input:{did:c.meta.did,storeId:V.storeId,storeName:V.storeName,projectId:e,releaseId:Q,type:G}});W.url==="uploaded"?$.success(k("blocklet.publish.uploadToStoreSuccess",{name:V.storeName})):W.url==="published"&&$.success(k("blocklet.publish.publishToStoreSuccess",{name:V.storeName}))}catch(W){$.error(Ie(W))}K==null||K(),a==="create"||a==="new-release"?P(`../${e}/view/${Q}`,{replace:!0}):y(),S(!1)},re=async U=>{await El(D,U),g()};let ce=null;if(h&&t1){const U=he(t1,`/api/project/${c.meta.did}/${e}/${x}/release/blocklet.json`);if(I==="pack"){const ee=new URL(t1);ee.pathname=he(ee.pathname,"/launch-blocklet/agreement"),ee.searchParams.set("blocklet_meta_url",U),ce=o.jsx("a",{href:ee.href,target:"_blank",rel:"noreferrer",children:B?o.jsx(ie,{color:"primary",sx:{mr:1},onClick:()=>O(U),children:o.jsx(We,{icon:"ic:baseline-install-desktop"})}):o.jsx(ne,{variant:"outlined",sx:{mr:1},onClick:()=>O(U),children:k("common.install")})})}else ce=o.jsxs(o.Fragment,{children:[B?o.jsx(ie,{color:"primary",sx:{mr:1},onClick:()=>O(U),children:o.jsx(We,{icon:"ic:baseline-install-desktop"})}):o.jsx(ne,{variant:"outlined",sx:{mr:1},onClick:()=>O(U),children:k("blocklet.publish.copyInstallUrl")}),o.jsx(d2,{fullWidth:!0,maxWidth:"sm",open:H,onClose:()=>O(""),children:o.jsxs(z,{sx:{py:5,px:4,wordBreak:"break-all"},children:[o.jsx(J,{variant:"h6",sx:{mb:2},children:k("blocklet.publish.installResourceTip")}),o.jsx(D2,{children:H}),o.jsxs(J,{sx:{mt:2},children:[k("blocklet.publish.installResourceTip2"),o.jsx("a",{style:{marginLeft:4},href:"https://www.arcblock.io/docs/blocklet-developer/R3weqCy7WPI8ggudt0C2alWv",target:"_blank",rel:"noreferrer",children:k("blocklet.publish.installResourceHelp")})]})]})})]})}return o.jsxs(o.Fragment,{children:[o.jsx(Kl,{className:"sticky-header",children:o.jsxs(z,{display:"flex",alignItems:"center",flexDirection:"row",children:[o.jsxs(y0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(pe,{to:"../",children:k("common.blockletStudio")}),e===q.UNOWNED_DID?o.jsx(J,{color:"text.primary",children:o.jsx(ge,{maxLength:B?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}):o.jsx(pe,{to:`../${e}`,children:o.jsx(ge,{maxLength:B?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}),o.jsx(J,{color:"text.primary",children:a==="create"?k("common.create"):(t==null?void 0:t.blockletVersion)||k("common.edit")})]}),o.jsx(z,{flex:"1"}),!h&&o.jsxs(ne,{variant:"contained",disabled:d,style:{marginRight:12},onClick:()=>X(we.PROJECT.RELEASE_STATUS.published),children:[d&&o.jsx(c1,{size:14,sx:{mr:.5},color:"inherit"}),k("blocklet.publish.createRelease")]}),h&&o.jsxs(o.Fragment,{children:[ce,o.jsx("a",{href:he(`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${c.meta.did}/${e}/${x}/download/${(u.files||[])[0]}`),children:B?null:o.jsx(ne,{variant:"outlined",sx:{mr:1},children:k("common.download")})}),o.jsxs(ne,{variant:"contained",onClick:()=>L(!0),children:[o.jsx(E0,{style:{fontSize:"1.3em",marginRight:4}}),k(B?"common.upload":"blocklet.publish.connectOrUpload")]})]})]})}),o.jsx(u2,{title:k("blocklet.publish.connectOrUpload"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:M,onClose:()=>L(!1),children:o.jsx(V1,{projectType:I,blocklet:c,releaseType:G,projectId:e,releaseId:x,componentDid:p,onPublish:K,onOpenConnectStore:re,onDelete:g,connectedStores:t.connectedStores||[],publishedStoreIds:u==null?void 0:u.publishedStoreIds})})]})}O0.propTypes={projectId:f.string.isRequired,params:f.object.isRequired,mode:f.string.isRequired,loading:f.bool.isRequired,blocklet:f.object.isRequired,release:f.object.isRequired,isPublished:f.bool.isRequired,releaseId:f.string.isRequired,getData:f.func.isRequired,getRelease:f.func.isRequired,componentDid:f.string.isRequired,resourceRelateComponents:f.object.isRequired,disabledSelectComponents:f.bool.isRequired,saveSelectedEventsRef:f.object.isRequired,hasSelectedResources:f.bool.isRequired,initLogoUrl:f.string.isRequired,setLoading:f.func.isRequired,releaseUsedLast:f.bool.isRequired,setReleaseUsedLast:f.func.isRequired,projectType:f.string.isRequired,setParamsErrTip:f.func.isRequired,setParams:f.func.isRequired,initUrl:f.object.isRequired};const Kl=ae.div`
167
+ `;var D1={},Ul=Te;Object.defineProperty(D1,"__esModule",{value:!0});var A0=D1.default=void 0,ql=Ul(Pe()),Wl=o;A0=D1.default=(0,ql.default)((0,Wl.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13z"}),"CloudUploadRounded");function _1({blocklet:e,releaseId:t,connectedStores:l,projectId:s,releaseType:n,publishedStoreIds:c,onPublish:d,onDelete:a,projectType:u,componentDid:h,onOpenConnectStore:x,behavior:g,onSelectConnectStore:y}){var S,N;const{t:p}=te(),{actions:{refreshBlocklet:i}}=Ne(),{session:m}=Ye(),{storeList:w}=_0({fromBlocklet:!0,blocklet:e,componentDid:h,userDid:(S=m==null?void 0:m.user)==null?void 0:S.did}),v=R.useMemo(()=>l!=null&&l.length?l==null?void 0:l.reduce((T,I)=>(T[I.storeId]=I,T),{}):{},[l]),C=(N=e==null?void 0:e.meta)==null?void 0:N.did;return o.jsxs(o.Fragment,{children:[g==="connect"&&!!(w!=null&&w.length)&&o.jsx(w0,{severity:"info",style:{width:"100%"},children:o.jsxs(z,{color:g2[400],component:"a",href:u==="pack"?"https://www.arcblock.io/docs/blocklet-developer/en/5PXToZve-5IXAN1bc8rkpxAc":"https://www.arcblock.io/docs/blocklet-developer/en/hB5VWLfg9VnbWsL1JGLuLUfW",target:"_blank",display:"flex",alignItems:"center",rel:"noreferrer",children:[p(u==="pack"?"blocklet.publish.whyCantSeeInStore":"blocklet.publish.whyCantSeeResourceBlockletInStore"),o.jsx(D2,{sx:{marginLeft:1}})]})}),o.jsx(d2,{children:w==null?void 0:w.map(T=>o.jsx(_2,{"data-cy":"store-switch",children:o.jsx(B2,{children:o.jsx(T2,{behavior:g,onSelectConnectStore:y,releaseId:t,projectId:s,releaseType:n,kind:"publish",teamDid:C,store:T,published:(c==null?void 0:c.indexOf(T.id))>-1,connectedStore:v[T.id],onPublish:d,onDelete:a,scope:T.scope||"studio",onOpenConnectStore:x})})},T.url))}),o.jsx(R0,{teamDid:C,storeList:w,scope:"studio",onAdd:i})]})}_1.propTypes={blocklet:f.object.isRequired,projectId:f.string.isRequired,releaseId:f.string.isRequired,releaseType:f.string.isRequired,onPublish:f.func,onDelete:f.func,publishedStoreIds:f.arrayOf(f.string),connectedStores:f.arrayOf(f.object).isRequired,projectType:f.string,componentDid:f.string,onOpenConnectStore:f.func,onSelectConnectStore:f.func,behavior:f.string};_1.defaultProps={projectType:"",componentDid:"",publishedStoreIds:[],onPublish:()=>{},onDelete:()=>{},onOpenConnectStore:()=>{},onSelectConnectStore:()=>{},behavior:"connect"};const O0=({params:e,hasSelectedResources:t,projectId:l,status:s,t:n})=>{const c=[];return e.blockletTitle||c.push({param:"blockletTitle",message:n("blocklet.publish.errorTip.noTitle")}),(!l||l===q.UNOWNED_DID)&&c.push({param:"projectId",message:n("blocklet.publish.errorTip.noDid")}),!e.uploadedResource&&!t&&c.push({param:"blockletResource",message:n("blocklet.publish.errorTip.noResource")}),e.blockletVersion?Me.valid(e.blockletVersion)||c.push({param:"blockletVersion",message:n("blocklet.publish.errorTip.inValidVersion")}):c.push({param:"blockletVersion",message:n("blocklet.publish.errorTip.noVersion")}),s===Re.PROJECT.RELEASE_STATUS.published&&(e.blockletDescription||c.push({param:"blockletDescription",message:n("blocklet.publish.errorTip.noDescription")}),e.note||c.push({param:"note",message:n("blocklet.publish.errorTip.noNote")})),c.length?c:null},Gl=({params:e,hasSelectedResources:t,step:l,t:s,projectId:n})=>{if(l===0){if(!e.blockletTitle)return s("blocklet.publish.errorTip.noTitle");if(!n||n===q.UNOWNED_DID)return s("blocklet.publish.errorTip.noDid");if(!e.blockletDescription)return s("blocklet.publish.errorTip.noDescription")}if(l===2&&!e.uploadedResource&&!t)return s("blocklet.publish.errorTip.noResource");if(l>=4){if(!e.blockletVersion)return s("blocklet.publish.errorTip.noVersion");if(!Me.valid(e.blockletVersion))return s("blocklet.publish.errorTip.inValidVersion");if(!e.note)return s("blocklet.publish.errorTip.noNote")}return""},Kl=async e=>{if(typeof e!="string")throw new Error("URL must be a string");try{const t=e.split("/").pop().split("?")[0],s=await(await fetch(e)).blob();return new File([s],t,{type:s.type})}catch{throw new Error("Failed to convert Logo URL to file")}};function*Xl(e,t){let l=0;for(;l<e.size;)yield e.slice(l,l+t),l+=t}const Jl=async({did:e,projectId:t,uploadType:l="logo",imageUrl:s})=>{const n=await Kl(s);new FormData().append("file",n);const d={uploaderId:"Uploader",relativePath:encodeURIComponent(n.name),name:encodeURIComponent(n.name),type:n.type},u=(await W1.post(fe(q.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/project",e,t,l,"upload"),null,{headers:{"Tus-Resumable":"1.0.0","Upload-Length":n.size,"X-Uploader-File-Ext":n.name.split(".").pop(),"Upload-Metadata":Object.keys(d).map(y=>`${y} ${btoa(d[y])}`).join(",")}})).headers.location,h=2*1024*1024;let x=0,g="";for(const y of Xl(n,h)){const p=await W1.patch(fe(q.WELLKNOWN_SERVICE_PATH_PREFIX,u),y,{headers:{"Tus-Resumable":"1.0.0","Upload-Offset":x,"Content-Type":"application/offset+octet-stream"}});x+=y.size,g=p.data.filename}return g};var d0;const l1=(d0=window.env)==null?void 0:d0.serverEndpoint;function H0({projectId:e,params:t,setParamsErrTip:l,initUrl:s,setParams:n,mode:c,loading:d,blocklet:a,release:u,isPublished:h,releaseId:x,getData:g,getRelease:y,componentDid:p,resourceRelateComponents:i,disabledSelectComponents:m,saveSelectedEventsRef:w,hasSelectedResources:v,initLogoUrl:C,setLoading:S,releaseUsedLast:N,setReleaseUsedLast:T,projectType:I}){var re;const{t:k,locale:F}=te(),{api:V}=ye(),P=p1(),[M,L]=R.useState(!1),[H,O]=R.useState(),E=$e(W=>W.breakpoints.down("md")),G=((re=t==null?void 0:t.blockletComponents)==null?void 0:re.length)>0?"pack":"resource",K=()=>{window.parent.postMessage({event:"studioDialog.uploaded",componentDid:p},"*"),y()},X=async W=>{var Z,ne,ie;const Y=O0({params:t,hasSelectedResources:v,projectId:e,status:W,t:k});if(Y){$.error(Y.map(_=>_.message).join("; ")),l(Y.reduce((_,J)=>({..._,[J.param]:J.message}),{}));return}const U={...t},ee=((a==null?void 0:a.children)||[]).reduce((_,J)=>(_[J.meta.did]=!0,_),{});if(Object.keys(i).forEach(_=>{if(!ee[_])return;let J=!1;m||U.blockletComponents.forEach(pe=>{pe.did===_&&(pe.included=!0,pe.required=!0,J=!0)}),J||U.blockletComponents.push({did:_,included:!0,required:!0})}),U.blockletVersion=Me.valid(U.blockletVersion),!U.blockletVersion){$.error("Invalid Blocklet Version"),l({blockletVersion:"Invalid Blocklet Version"});return}if(C)try{const _=await Jl({did:a.meta.did,projectId:e,imageUrl:C});U.blockletLogo=_,n({blockletLogo:_})}catch(_){$.error(_.message);return}if(t.resourceFromSelect){U.uploadedResource="";try{const _=Object.keys(w.current);await i1(_.map(J=>()=>{const pe=w.current[J];return _l({api:V,locale:F,projectId:e,releaseId:N?"":x,appDid:a.meta.did,component:pe.component,resources:pe.resources,initUrl:s})}),{concurrency:2})}catch(_){$.error(((ie=(ne=(Z=_==null?void 0:_.response)==null?void 0:Z.data)==null?void 0:ne.error)==null?void 0:ie.message)||_.message),l({blockletResource:"Invalid save the resource"});return}}else U.blockletComponents=[];U.blockletTitle=(U.blockletTitle||"").trim(),U.blockletDescription=(U.blockletDescription||"").trim(),U.blockletIntroduction=(U.blockletIntroduction||"").trim(),U.note=(U.note||"").trim(),U.blockletComponents=((U==null?void 0:U.blockletComponents)||[]).filter(_=>_.included).map(_=>h1(_,["did","required"])).map(JSON.stringify);try{await V.createRelease({input:{...U,did:a.meta.did,projectId:e,releaseId:N?"":x,status:W}}),W==="draft"?$.success(k("blocklet.publish.saveDraftSuccess")):(T(!1),$.success(k("blocklet.publish.createReleaseSuccess")),window.parent.postMessage({event:"studioDialog.released",componentDid:p},"*")),l({blockletResource:"",blockletTitle:"",blockletDescription:"",blockletVersion:"",blockletLogo:"",projectId:"",blockletIntroduction:"",note:""})}catch(_){const J=Le(_);$.error(J),(/resource/.test(J)||/zip/.test(J))&&l({blockletResource:J})}const ue=await V.getProject({input:{did:a.meta.did,projectId:e}}),xe=ue.project.lastReleaseId;await i1(ue.project.connectedStores.map(_=>async()=>{try{const J=await V.publishToStore({input:{did:a.meta.did,storeId:_.storeId,storeName:_.storeName,projectId:e,releaseId:xe,type:G}});$.success(o.jsx(N2,{storeName:_.storeName,storeUrl:_.storeUrl,developerDid:_.developerDid,published:J.url==="published"}),{duration:1e4})}catch(J){$.error(Le(J))}}),{concurrency:4}),K==null||K(),P(`../${e}/view/${xe}`,{replace:!0})},se=W=>(S(!0),X(W).finally(()=>{S(!1)})),je=async W=>{await Hl(V,W),g()};let le=null;if(h&&l1){const W=fe(l1,`/api/project/${a.meta.did}/${e}/${x}/release/blocklet.json`);if(I==="pack"){const Y=new URL(l1);Y.pathname=fe(Y.pathname,"/launch-blocklet/agreement"),Y.searchParams.set("blocklet_meta_url",W),le=o.jsx("a",{href:Y.href,target:"_blank",rel:"noreferrer",children:E?o.jsx(ce,{color:"primary",sx:{mr:1},onClick:()=>O(W),children:o.jsx(Ke,{icon:"ic:baseline-install-desktop"})}):o.jsx(ae,{variant:"outlined",sx:{mr:1},onClick:()=>O(W),children:k("common.install")})})}else le=o.jsxs(o.Fragment,{children:[E?o.jsx(ce,{color:"primary",sx:{mr:1},onClick:()=>O(W),children:o.jsx(Ke,{icon:"ic:baseline-install-desktop"})}):o.jsx(ae,{variant:"outlined",sx:{mr:1},onClick:()=>O(W),children:k("blocklet.publish.copyInstallUrl")}),o.jsx(u2,{fullWidth:!0,maxWidth:"sm",open:H,onClose:()=>O(""),children:o.jsxs(z,{sx:{py:5,px:4,wordBreak:"break-all"},children:[o.jsx(Q,{variant:"h6",sx:{mb:2},children:k("blocklet.publish.installResourceTip")}),o.jsx(E2,{children:H}),o.jsxs(Q,{sx:{mt:2},children:[k("blocklet.publish.installResourceTip2"),o.jsx("a",{style:{marginLeft:4},href:"https://www.arcblock.io/docs/blocklet-developer/R3weqCy7WPI8ggudt0C2alWv",target:"_blank",rel:"noreferrer",children:k("blocklet.publish.installResourceHelp")})]})]})})]})}return o.jsxs(o.Fragment,{children:[o.jsx(Ql,{className:"sticky-header",children:o.jsxs(z,{display:"flex",alignItems:"center",flexDirection:"row",children:[o.jsxs(z0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(he,{to:"../",children:k("common.blockletStudio")}),e===q.UNOWNED_DID?o.jsx(Q,{color:"text.primary",children:o.jsx(ge,{maxLength:E?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}):o.jsx(he,{to:`../${e}`,children:o.jsx(ge,{maxLength:E?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}),o.jsx(Q,{color:"text.primary",children:c==="create"?k("common.create"):(t==null?void 0:t.blockletVersion)||k("common.edit")})]}),o.jsx(z,{flex:"1"}),!h&&o.jsxs(ae,{variant:"contained",disabled:d,style:{marginRight:12},onClick:()=>se(Re.PROJECT.RELEASE_STATUS.published),children:[d&&o.jsx(We,{size:14,sx:{mr:.5},color:"inherit"}),k("blocklet.publish.createRelease")]}),h&&o.jsxs(o.Fragment,{children:[le,o.jsx("a",{href:fe(`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${a.meta.did}/${e}/${x}/download/${(u.files||[])[0]}`),children:E?null:o.jsx(ae,{variant:"outlined",sx:{mr:1},children:k("common.download")})}),o.jsxs(ae,{disabled:d,variant:"contained",onClick:()=>L(!0),children:[d?o.jsx(We,{size:14,sx:{mr:1},color:"inherit"}):o.jsx(A0,{sx:{fontSize:"1.3em",mr:1}}),k(E?"common.upload":"blocklet.publish.connectOrUpload")]})]})]})}),o.jsx(p2,{title:k("blocklet.publish.connectOrUpload"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:M,onClose:()=>L(!1),children:o.jsx(_1,{projectType:I,blocklet:a,releaseType:G,projectId:e,releaseId:x,componentDid:p,onPublish:K,onOpenConnectStore:je,onDelete:g,connectedStores:t.connectedStores||[],publishedStoreIds:u==null?void 0:u.publishedStoreIds})})]})}H0.propTypes={projectId:f.string.isRequired,params:f.object.isRequired,mode:f.string.isRequired,loading:f.bool.isRequired,blocklet:f.object.isRequired,release:f.object.isRequired,isPublished:f.bool.isRequired,releaseId:f.string.isRequired,getData:f.func.isRequired,getRelease:f.func.isRequired,componentDid:f.string.isRequired,resourceRelateComponents:f.object.isRequired,disabledSelectComponents:f.bool.isRequired,saveSelectedEventsRef:f.object.isRequired,hasSelectedResources:f.bool.isRequired,initLogoUrl:f.string.isRequired,setLoading:f.func.isRequired,releaseUsedLast:f.bool.isRequired,setReleaseUsedLast:f.func.isRequired,projectType:f.string.isRequired,setParamsErrTip:f.func.isRequired,setParams:f.func.isRequired,initUrl:f.object.isRequired};const Ql=de.div`
168
168
  .sticky-header {
169
169
  margin-top: -12px;
170
170
  padding: 12px 0;
@@ -178,7 +178,7 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
178
178
  padding-bottom: 12px;
179
179
  border-bottom: ${({theme:e})=>`1px solid ${e.palette.divider}`};
180
180
  }
181
- `;function H0({text:e}){return e?o.jsx(_2,{wrapperElement:{"data-color-mode":"light"},source:e,rehypePlugins:[[B2,{target:"_blank"}]]}):o.jsx(Re,{Icon:$e})}H0.propTypes={text:f.string.isRequired};function $0({params:e,setParams:t,paramsErrTip:l,loading:s,setParamsErrTip:n,readOnly:a}){var x;const{t:d}=te(),[c,u]=R.useState(a?"preview":"write"),h=(g,y)=>{u(y)};return o.jsxs(z,{sx:{border:"1px solid #fff",width:"100%",borderRadius:2},children:[o.jsxs(z,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[o.jsx(J,{variant:"h6",fontWeight:"bold",sx:{},children:d("common.introduction")}),o.jsxs(j2,{value:c,onChange:h,"aria-label":"wrapped label tabs example",children:[o.jsx(W1,{value:"write",label:"Write"}),o.jsx(W1,{value:"preview",label:"Preview"})]})]}),o.jsx(z,{display:c==="write"?"block":"none",sx:{width:"100%",marginTop:3},children:o.jsx(Me,{disabled:s||a,sx:{border:"none"},placeholder:`Blocklet ${d("common.introduction")}`,InputProps:{"data-cy":"export-blocklet-introduction",readOnly:a,endAdornment:o.jsxs(v1,{position:"end",children:[((x=e==null?void 0:e.blockletIntroduction)==null?void 0:x.length)||0," / ",we.PROJECT.MAX_INTRO_LENGTH]})},autoComplete:"off",variant:"outlined",fullWidth:!0,multiline:!0,minRows:4,value:e.blockletIntroduction||"",onChange:g=>{n({blockletIntroduction:""}),t({blockletIntroduction:g.target.value.slice(0,we.PROJECT.MAX_INTRO_LENGTH)})},error:!!l.blockletIntroduction,helperText:l.blockletIntroduction||""})}),o.jsx(z,{display:c==="preview"?"block":"none",mt:3,children:o.jsx(H0,{text:e.blockletIntroduction||""})})]})}$0.propTypes={params:f.object.isRequired,setParams:f.func.isRequired,paramsErrTip:f.object.isRequired,setParamsErrTip:f.func.isRequired,readOnly:f.bool.isRequired,loading:f.bool.isRequired};var D1={},Xl=Pe;Object.defineProperty(D1,"__esModule",{value:!0});var F0=D1.default=void 0,Jl=Xl(Le()),s0=o;F0=D1.default=(0,Jl.default)([(0,s0.jsx)("circle",{cx:"12",cy:"19",r:"2"},"0"),(0,s0.jsx)("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");function _1({step:e,ok:t,active:l,error:s}){let n="grey.500",a=e+1;return t&&(a=o.jsx(E2,{sx:{fontSize:18,margin:0},color:"white"})),s||!t&&l>e?(n="error.main",a=o.jsx(F0,{sx:{fontSize:18,margin:0},color:"white"})):l>=e&&(n="primary.main"),o.jsx(z,{width:24,height:24,bgcolor:n,borderRadius:"100%",color:"white",display:"flex",justifyContent:"center",fontWeight:"bold",fontSize:14,alignItems:"center",children:a})}_1.propTypes={step:f.number,ok:f.bool,active:f.number,error:f.string};_1.defaultProps={step:0,ok:!1,active:0,error:""};function q0({steps:e,activeStep:t,setActiveStep:l,hasSelectedResources:s,params:n,loading:a,paramsErrTip:d,viewMode:c,projectId:u}){const{t:h}=te(),x=()=>{l(i=>i+1)},g=()=>{l(i=>i-1)},y=i=>i===0?(d==null?void 0:d.blockletTitle)||(d==null?void 0:d.projectId)||(d==null?void 0:d.blockletDescription):i===2?d==null?void 0:d.blockletResource:i>=4?(d==null?void 0:d.blockletVersion)||(d==null?void 0:d.note):"",p=c||A0({hasSelectedResources:s,params:n,projectId:u,t:h})===null;return o.jsxs(z,{sx:{width:300,maxWidth:300,minWidth:300,padding:2,border:"1px solid #ccc",borderRadius:2},children:[o.jsx(O2,{activeStep:t,orientation:"vertical",children:e.map((i,m)=>{const w={},v=a||!ql({hasSelectedResources:s,params:n,projectId:u,step:m,t:h}),C=a?"":y(m);return C&&(w.optional=o.jsx(J,{variant:"caption",color:"error",children:C}),w.error=!0),o.jsxs(H2,{children:[o.jsx(dt,{icon:o.jsx(_1,{error:C,active:p?99:t,step:m,ok:v}),sx:{cursor:"pointer",color:C?"error.main":"inherit"},disabled:!1,onClick:()=>l(m),...w,children:o.jsx(J,{fontSize:"14px",fontWeight:"500",color:C||!v&&t>m?"error.main":"inherit",children:i.label})}),o.jsxs(vt,{children:[o.jsx(J,{fontSize:12,children:i.description}),!p&&o.jsx(z,{sx:{mb:2},children:o.jsxs("div",{children:[m<e.length-1&&o.jsx(ne,{variant:"contained",onClick:x,sx:{mt:1,mr:1},disabled:C||!v,children:h("common.continue")}),m>0&&o.jsx(ne,{disabled:m===0,onClick:g,sx:{mt:1,mr:1},children:h("common.back")})]})})]})]},i.label)})}),t>=e.length-1&&o.jsx(f0,{square:!0,elevation:0,sx:{p:3},children:o.jsx(J,{fontSize:12,sx:{opacity:.5},children:"Click right top button to release"})})]})}q0.propTypes={steps:f.array.isRequired,activeStep:f.number.isRequired,setActiveStep:f.func.isRequired,params:f.object.isRequired,viewMode:f.string.isRequired,loading:f.bool.isRequired,projectId:f.string.isRequired,hasSelectedResources:f.bool.isRequired,paramsErrTip:f.shape({projectId:f.string,blockletVersion:f.string,blockletTitle:f.string,blockletDescription:f.string,note:f.string,blockletResource:f.string}).isRequired};function Ge({readOnly:e,params:t,setParams:l,paramsErrTip:s,setParamsErrTip:n,loading:a}){var c;const{t:d}=te();return o.jsx(z,{display:"flex",mt:3,className:"section",children:o.jsxs(z,{sx:{flex:1},children:[o.jsx(Me,{required:!0,disabled:a||e,label:`Blocklet ${d("common.version")}`,placeholder:`Blocklet ${d("common.version")}`,InputProps:{"data-cy":"blocklet-version",readOnly:e},autoComplete:"off",variant:"outlined",fullWidth:!0,value:t.blockletVersion||"",onChange:u=>{n({blockletVersion:""}),l({blockletVersion:u.target.value})},error:!!s.blockletVersion,helperText:s.blockletVersion||""}),o.jsx(Me,{label:d("blocklet.publish.releaseNote"),autoComplete:"off",disabled:a||e,variant:"outlined",InputProps:{"data-cy":"release-note",readOnly:e,endAdornment:o.jsxs(v1,{position:"end",children:[((c=t==null?void 0:t.note)==null?void 0:c.length)||0," / ",we.PROJECT.MAX_NOTE_LENGTH]})},fullWidth:!0,multiline:!0,minRows:4,required:!0,value:t.note||"",onChange:u=>{n({note:""}),l({note:u.target.value.slice(0,we.PROJECT.MAX_NOTE_LENGTH)})},error:!!s.note,helperText:s.note||"",sx:{mt:3}})]})})}Ge.propTypes={readOnly:f.bool.isRequired,params:f.object.isRequired,setParams:f.func.isRequired,paramsErrTip:f.object.isRequired,setParamsErrTip:f.func.isRequired,loading:f.bool.isRequired};Ge.defaultProps={};const Ql=[".zip",".gz"],Yl=1024*1024*100,Zl=R.lazy(()=>x0(()=>import("./react-CPynQ78n.js").then(e=>e.r),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])).then(e=>({default:e.Uploader})));function B1({app:e,projectId:t,readOnly:l,params:s,setParams:n,setParamsErrTip:a,error:d}){const{t:c}=te(),u=R.useRef(null),h=()=>l?!1:!t||t===q.UNOWNED_DID?($.error(c("blocklet.publish.errorTip.noFirstDid")),!1):!0,x=`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e.meta.did}/${t}/resource/upload`;return o.jsxs(z,{sx:{mt:3},children:[o.jsx(J,{gutterBottom:!0,children:c("blocklet.publish.resourceUpload")}),o.jsxs(R2,{direction:"row",alignItems:"center",spacing:1,sx:{flex:1,cursor:l?"default":"pointer"},children:[!!s.uploadedResource&&o.jsx(J,{component:"a",href:`${x}/params.uploadedResource`,children:s.uploadedResource}),!l&&o.jsx(ne,{variant:"outlined",size:"small",onClick:()=>{var g;h()&&((g=u.current)==null||g.open())},children:s.uploadedResource?c("common.change"):c("common.upload")})]}),o.jsx(R.Suspense,{fallback:o.jsx(ye,{}),children:o.jsx(Zl,{ref:u,popup:!0,onUploadFinish:g=>{var y;n({uploadedResource:g.data.filename}),a({blockletResource:""}),(y=u.current)==null||y.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:x,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:Ql,maxFileSize:Yl,maxNumberOfFiles:1}}},"uploader-resource")}),!!d&&o.jsx(z,{color:"error.main",mt:1,fontSize:14,children:d})]})}B1.propTypes={app:f.object.isRequired,projectId:f.string.isRequired,readOnly:f.bool.isRequired,params:f.object.isRequired,setParams:f.func.isRequired,error:f.string.isRequired,setParamsErrTip:f.func.isRequired};B1.defaultProps={};const e3=({tabs:e,blocklet:t,ancestors:l=[]})=>{const s=t.meta.did;e.push({label:o.jsxs(z,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(x1,{size:24,blocklet:t,ancestors:l}),o.jsx(z,{ml:"4px",className:"text",children:o.jsx(z,{children:t.meta.title})})]},s),value:s})},n0=(e,t)=>{const l=u1(e,["blockletVersion","blockletTitle","blockletDescription","blockletLogo","blockletIntroduction","blockletScreenshots","connectedStores","blockletComponents","lastReleaseId","uploadedResource","note"]);return l.blockletComponents?l.blockletComponents=l.blockletComponents.map(s=>({...s,included:!0})):l.blockletComponents=(t.children||[]).map(s=>({did:s.meta.did,included:!1,required:!1})),l.resourceFromSelect=!l.uploadedResource,l},t3={0:"branding",1:"introduction",2:"resources",3:"blocklets",4:"version"},i0={branding:0,introduction:1,resources:2,blocklets:3,version:4};function E1({initUrl:e,...t}){var H1;const{projectId:l,mode:s,releaseId:n,componentDid:a=""}=Xe(),{t:d}=te(),{blocklet:c}=Te(),[u,h]=Se({blockletScreenshots:[],publishedStoreIds:[],connectedStores:[],uploadedResource:"",resourceFromSelect:!0}),[x,g]=Se({}),[y,p]=R.useState(!1),[i,m]=Se(null),{api:w}=Ce(),v=He(_=>_.breakpoints.down("md")),[C,S]=R.useState({}),[N,T]=R.useState(!1),I=R.useRef({}),[k,F]=Se({}),[D,P]=R.useState(""),[M,L]=Se({}),H=e==null?void 0:e.searchParams.get("dependentComponentsMode"),O=H==="readonly",B=R.useCallback(_=>{O&&h({blockletComponents:[]}),L(_)},[O,L,h]),G=R.useCallback((..._)=>{F(..._),g({blockletResource:""})},[]),K=n==="none"?(u==null?void 0:u.lastReleaseId)||"":n,[X,re]=R.useState(s==="new-release"?4:0);R.useEffect(()=>{l&&g({projectId:""})},[l,g]);const ce=R.useMemo(()=>{var _;return(_=u==null?void 0:u.blockletComponents)!=null&&_.some(Y=>Y.included)||u!=null&&u.uploadedResource?"pack":"resource"},[u==null?void 0:u.blockletComponents,u==null?void 0:u.uploadedResource]),se=[],U=((c==null?void 0:c.children)||[]).filter(_=>{var Y;return(Y=_.meta.resource)==null?void 0:Y.exportApi}).filter(_=>!a||_.meta.did===a);U.forEach(_=>{e3({tabs:se,blocklet:_,t:d,ancestors:[c]})});const[ee,E]=R.useState((H1=se[0])==null?void 0:H1.value),fe=!N&&(i==null?void 0:i.status)==="published",Q=fe,de=R.useMemo(()=>{const _={};return Object.keys(M).forEach(Y=>{const Fe=M[Y];Fe&&Fe.forEach(K0=>{_[K0]=!0})}),_},[M]),xe=async()=>{if(K)try{const _=await w.getRelease({input:{did:c.meta.did,projectId:l,releaseId:K}});if(p(!1),!_.release){$.error("Release not found");return}s!=="view"&&(_.release.note=""),h(Y=>n0({...Y,..._.release,blockletVersion:s==="create"||s==="new-release"?ke.inc(_.release.blockletVersion,"patch"):_.release.blockletVersion},c)),m(_.release)}catch(_){p(!1),$.error(Ie(_))}},Z=async()=>{if(l===q.UNOWNED_DID){h({blockletVersion:"1.0.0",blockletTitle:""});return}if(!l){$.error(d("blocklet.publish.errorTip.noDid"));return}try{const _=await w.getProject({input:{did:c.meta.did,projectId:l}});p(!1);const Y=_.project||{};Y.blockletVersion?(s==="create"||s==="new-release")&&ke.valid(Y.blockletVersion)&&(Y.blockletVersion=ke.inc(Y.blockletVersion,"patch")):Y.blockletVersion="1.0.0";const Fe=n0(Y,c);h(Fe)}catch(_){p(!1),$.error(Ie(_))}},le=R.useCallback(async()=>{if(s==="view"){if(!K){$.error("Empty release id");return}await Z(),await xe();return}await Z(),K&&(T(!0),await xe())},[s,K]),V=_=>{h({blockletComponents:_})};R.useEffect(()=>{le()},[le]),R.useEffect(()=>{if(l===q.UNOWNED_DID&&(s==="create"||s==="new-release")&&e){P(e.searchParams.get("logo")),h({blockletTitle:e.searchParams.get("title"),blockletDescription:e.searchParams.get("description"),blockletIntroduction:e.searchParams.get("introduction")||e.searchParams.get("description"),blockletComponents:JSON.parse(e.searchParams.get("components")||"[]"),note:e.searchParams.get("note")||"No note"});const _=e.searchParams.get("resources");try{const Y=JSON.parse(_);S(Y)}catch{}}},[h,l,e,s]);const W=R.useMemo(()=>!!Object.keys(k).find(_=>!!k[_].length),[k]);if(!u&&y)return o.jsx(ye,{});if(!u)return null;const ue=U.find(_=>_.meta.did===ee);if(U.every(_=>_.status!=="running"))return o.jsx(Re,{children:d("blocklet.publish.allComponentsNotRunning")});const W0=_=>{E(_)},A1=e==null?void 0:e.searchParams.get("resourcesTitle"),O1=e==null?void 0:e.searchParams.get("componentsTitle"),ze=[{label:d("blocklet.publish.branding"),description:d("blocklet.publish.steps.branding")},{label:d("common.introduction"),description:d("blocklet.publish.steps.introduction")},{label:A1||d("blocklet.publish.resourceTitle"),description:d("blocklet.publish.steps.resources")},{label:O1||d("common.components"),description:d("blocklet.publish.steps.blocklets")},{label:d("blocklet.publish.versionTitle"),description:d("blocklet.publish.steps.version")}],G0=ze[X]||ze[ze.length-1],je=t3[X];return o.jsxs(o3,{...t,children:[o.jsx(O0,{blocklet:c,release:i,getData:le,getRelease:xe,mode:s,params:u,setParams:h,setParamsErrTip:g,readOnly:Q,isPublished:fe,loading:y,setLoading:p,initLogoUrl:D,releaseId:K,projectId:l,projectType:ce,resourceComponents:U,resourceComponentsMap:M,resourceRelateComponents:de,resourceItem:ue,saveSelectedEventsRef:I,hasSelectedResources:W,releaseUsedLast:N,setReleaseUsedLast:T,setRelease:m}),o.jsxs(z,{display:"flex",flexDirection:"column",sx:{width:"100%"},children:[o.jsx(z,{pt:3}),o.jsxs(z,{sx:{gap:3},display:"flex",flexDirection:v?"column":"row",children:[!v&&o.jsx(q0,{steps:ze,viewMode:s==="view",params:u,hasSelectedResources:W||u.uploadedResource,paramsErrTip:x,activeStep:X,setActiveStep:re,projectId:l,resourcesUrlTitle:A1,componentsUrlTitle:O1}),o.jsxs(z,{flex:"1",maxWidth:"720px",children:[!v&&je!=="introduction"&&o.jsxs(J,{variant:"h6",fontWeight:"bold",display:"flex",flexDirection:"row",alignItems:"center",children:[G0.label,je==="branding"&&o.jsx(ve,{title:d("blocklet.publish.brandingHelp"),placement:"right",children:o.jsx(z,{component:"a",target:"_blank",href:"https://www.arcblock.io/docs/blocklet-store/en/blocklet-detail-page",sx:{paddingTop:1,marginLeft:1},style:{color:"gray"},children:o.jsx(b2,{})})})]}),(v||je==="branding")&&o.jsx(z,{flexDirection:"column",children:o.jsx(B0,{projectId:l,setParams:h,setParamsErrTip:g,params:u,componentDid:a,blocklet:c,initUrl:e,loading:y,setLoading:p,paramsErrTip:x,readOnly:Q,initLogoUrl:D,setInitLogoUrl:P})}),v&&o.jsx(z,{flexDirection:"column",children:o.jsx(Ge,{loading:y,params:u,paramsErrTip:x,setParams:h,setParamsErrTip:g,readOnly:Q})}),(v||je==="introduction")&&o.jsx(z,{display:"flex",flexDirection:"column",sx:{mt:v?5:0,width:"100%"},children:o.jsx($0,{loading:y,readOnly:Q,params:u,setParams:h,paramsErrTip:x,setParamsErrTip:g})}),v&&o.jsx(J,{variant:"h6",fontWeight:"bold",mt:5,children:ze[i0.resources].label}),o.jsx(z,{display:v||je==="resources"?"flex":"none",sx:{maxWidth:720},flexDirection:"column",children:o.jsx(z,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(z,{sx:{flex:1},children:[o.jsxs($2,{onChange:()=>h({resourceFromSelect:!u.resourceFromSelect}),children:[o.jsx(r1,{value:"select",disabled:Q,control:o.jsx(G1,{size:"small",checked:u.resourceFromSelect}),label:d("blocklet.publish.resourceSelect")}),o.jsx(r1,{value:"select",disabled:Q,control:o.jsx(G1,{size:"small",checked:!u.resourceFromSelect}),label:d("blocklet.publish.resourceUpload")})]}),u.resourceFromSelect&&o.jsxs(o.Fragment,{children:[!a&&o.jsx(w2,{tabs:se,current:ee,onChange:W0,sx:{ml:-2,mt:2,maxWidth:v?window.innerWidth-24:"100%"}}),o.jsx(P1,{loading:y,initialResources:C,saveSelectedEventsRef:I,selectedResourceIds:k,setSelectedResourceIds:G,setResourceComponentsMap:B,error:x.blockletResource,app:c,readOnly:Q,component:ue,componentDid:a,initUrl:e,params:u,setParams:h,projectId:l===q.UNOWNED_DID?"":l,releaseUsedLast:N,release:{...i,id:K}})]}),!u.resourceFromSelect&&o.jsx(B1,{app:c,readOnly:Q,projectId:l===q.UNOWNED_DID?"":l,params:u,error:x.blockletResource,setParams:h,setParamsErrTip:g})]})})}),v&&o.jsx(J,{variant:"h6",fontWeight:"bold",mt:5,children:ze[i0.blocklets].label}),(v||je==="blocklets")&&o.jsx(z,{flexDirection:"column",children:o.jsx(z,{display:"flex",mt:3,className:"section full-width",children:o.jsx(z,{sx:{flex:1},children:o.jsx(y1,{projectType:ce,disabled:y||Q,app:c,value:(u==null?void 0:u.blockletComponents)||[],onChange:V,resourceRelateComponents:de,dependentComponentsMode:H})})})}),!v&&je==="version"&&o.jsx(z,{flexDirection:"column",children:o.jsx(Ge,{loading:y,params:u,paramsErrTip:x,setParams:h,setParamsErrTip:g,readOnly:Q})})]})]})]})]})}E1.propTypes={initUrl:f.object};E1.defaultProps={initUrl:null};const o3=ae.div`
181
+ `;function $0({text:e}){return e?o.jsx(A2,{wrapperElement:{"data-color-mode":"light"},source:e,rehypePlugins:[[O2,{target:"_blank"}]]}):o.jsx(Ce,{Icon:Fe})}$0.propTypes={text:f.string.isRequired};function F0({params:e,setParams:t,paramsErrTip:l,loading:s,setParamsErrTip:n,readOnly:c}){var x;const{t:d}=te(),[a,u]=R.useState(c?"preview":"write"),h=(g,y)=>{u(y)};return o.jsxs(z,{sx:{border:"1px solid #fff",width:"100%",borderRadius:2},children:[o.jsxs(z,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[o.jsx(Q,{variant:"h6",fontWeight:"bold",sx:{},children:d("common.introduction")}),o.jsxs(R2,{value:a,onChange:h,"aria-label":"wrapped label tabs example",children:[o.jsx(K1,{value:"write",label:"Write"}),o.jsx(K1,{value:"preview",label:"Preview"})]})]}),o.jsx(z,{display:a==="write"?"block":"none",sx:{width:"100%",marginTop:3},children:o.jsx(Ie,{disabled:s||c,sx:{border:"none"},placeholder:`Blocklet ${d("common.introduction")}`,InputProps:{"data-cy":"export-blocklet-introduction",readOnly:c,endAdornment:o.jsxs(b1,{position:"end",children:[((x=e==null?void 0:e.blockletIntroduction)==null?void 0:x.length)||0," / ",Re.PROJECT.MAX_INTRO_LENGTH]})},autoComplete:"off",variant:"outlined",fullWidth:!0,multiline:!0,minRows:4,value:e.blockletIntroduction||"",onChange:g=>{n({blockletIntroduction:""}),t({blockletIntroduction:g.target.value.slice(0,Re.PROJECT.MAX_INTRO_LENGTH)})},error:!!l.blockletIntroduction,helperText:l.blockletIntroduction||""})}),o.jsx(z,{display:a==="preview"?"block":"none",mt:3,children:o.jsx($0,{text:e.blockletIntroduction||""})})]})}F0.propTypes={params:f.object.isRequired,setParams:f.func.isRequired,paramsErrTip:f.object.isRequired,setParamsErrTip:f.func.isRequired,readOnly:f.bool.isRequired,loading:f.bool.isRequired};var B1={},Yl=Te;Object.defineProperty(B1,"__esModule",{value:!0});var U0=B1.default=void 0,Zl=Yl(Pe()),i0=o;U0=B1.default=(0,Zl.default)([(0,i0.jsx)("circle",{cx:"12",cy:"19",r:"2"},"0"),(0,i0.jsx)("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");function E1({step:e,ok:t,active:l,error:s}){let n="grey.500",c=e+1;return t&&(c=o.jsx(H2,{sx:{fontSize:18,margin:0},color:"white"})),s||!t&&l>e?(n="error.main",c=o.jsx(U0,{sx:{fontSize:18,margin:0},color:"white"})):l>=e&&(n="primary.main"),o.jsx(z,{width:24,height:24,bgcolor:n,borderRadius:"100%",color:"white",display:"flex",justifyContent:"center",fontWeight:"bold",fontSize:14,alignItems:"center",children:c})}E1.propTypes={step:f.number,ok:f.bool,active:f.number,error:f.string};E1.defaultProps={step:0,ok:!1,active:0,error:""};function q0({steps:e,activeStep:t,setActiveStep:l,hasSelectedResources:s,params:n,loading:c,paramsErrTip:d,viewMode:a,projectId:u}){const{t:h}=te(),x=()=>{l(i=>i+1)},g=()=>{l(i=>i-1)},y=i=>i===0?(d==null?void 0:d.blockletTitle)||(d==null?void 0:d.projectId)||(d==null?void 0:d.blockletDescription):i===2?d==null?void 0:d.blockletResource:i>=4?(d==null?void 0:d.blockletVersion)||(d==null?void 0:d.note):"",p=a||O0({hasSelectedResources:s,params:n,projectId:u,t:h})===null;return o.jsxs(z,{sx:{width:300,maxWidth:300,minWidth:300,padding:2,border:"1px solid #ccc",borderRadius:2},children:[o.jsx(F2,{activeStep:t,orientation:"vertical",children:e.map((i,m)=>{const w={},v=c||!Gl({hasSelectedResources:s,params:n,projectId:u,step:m,t:h}),C=c?"":y(m);return C&&(w.optional=o.jsx(Q,{variant:"caption",color:"error",children:C}),w.error=!0),o.jsxs(U2,{children:[o.jsx(ht,{icon:o.jsx(E1,{error:C,active:p?99:t,step:m,ok:v}),sx:{cursor:"pointer",color:C?"error.main":"inherit"},disabled:!1,onClick:()=>l(m),...w,children:o.jsx(Q,{fontSize:"14px",fontWeight:"500",color:C||!v&&t>m?"error.main":"inherit",children:i.label})}),o.jsxs(jt,{children:[o.jsx(Q,{fontSize:12,children:i.description}),!p&&o.jsx(z,{sx:{mb:2},children:o.jsxs("div",{children:[m<e.length-1&&o.jsx(ae,{variant:"contained",onClick:x,sx:{mt:1,mr:1},disabled:C||!v,children:h("common.continue")}),m>0&&o.jsx(ae,{disabled:m===0,onClick:g,sx:{mt:1,mr:1},children:h("common.back")})]})})]})]},i.label)})}),t>=e.length-1&&o.jsx(m0,{square:!0,elevation:0,sx:{p:3},children:o.jsx(Q,{fontSize:12,sx:{opacity:.5},children:"Click right top button to release"})})]})}q0.propTypes={steps:f.array.isRequired,activeStep:f.number.isRequired,setActiveStep:f.func.isRequired,params:f.object.isRequired,viewMode:f.string.isRequired,loading:f.bool.isRequired,projectId:f.string.isRequired,hasSelectedResources:f.bool.isRequired,paramsErrTip:f.shape({projectId:f.string,blockletVersion:f.string,blockletTitle:f.string,blockletDescription:f.string,note:f.string,blockletResource:f.string}).isRequired};const e3=[".zip",".gz"],t3=1024*1024*100,o3=R.lazy(()=>v0(()=>import("./react-Di5TTO9l.js").then(e=>e.r),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])).then(e=>({default:e.Uploader})));function A1({app:e,projectId:t,readOnly:l,params:s,setParams:n,setParamsErrTip:c,error:d}){const{t:a}=te(),u=R.useRef(null),h=()=>l?!1:!t||t===q.UNOWNED_DID?($.error(a("blocklet.publish.errorTip.noFirstDid")),!1):!0,x=`${q.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e.meta.did}/${t}/resource/upload`;return o.jsxs(z,{sx:{mt:3},children:[o.jsx(Q,{gutterBottom:!0,children:a("blocklet.publish.resourceUpload")}),o.jsxs(y2,{direction:"row",alignItems:"center",spacing:1,sx:{flex:1,cursor:l?"default":"pointer"},children:[!!s.uploadedResource&&o.jsx(Q,{component:"a",href:`${x}/params.uploadedResource`,children:s.uploadedResource}),!l&&o.jsx(ae,{variant:"outlined",size:"small",onClick:()=>{var g;h()&&((g=u.current)==null||g.open())},children:s.uploadedResource?a("common.change"):a("common.upload")})]}),o.jsx(R.Suspense,{fallback:o.jsx(ze,{}),children:o.jsx(o3,{ref:u,popup:!0,onUploadFinish:g=>{var y;n({uploadedResource:g.data.filename}),c({blockletResource:""}),(y=u.current)==null||y.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:x,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:e3,maxFileSize:t3,maxNumberOfFiles:1}}},"uploader-resource")}),!!d&&o.jsx(z,{color:"error.main",mt:1,fontSize:14,children:d})]})}A1.propTypes={app:f.object.isRequired,projectId:f.string.isRequired,readOnly:f.bool.isRequired,params:f.object.isRequired,setParams:f.func.isRequired,error:f.string.isRequired,setParamsErrTip:f.func.isRequired};A1.defaultProps={};function Xe({readOnly:e,params:t,setParams:l,paramsErrTip:s,setParamsErrTip:n,loading:c}){var a;const{t:d}=te();return o.jsx(z,{display:"flex",mt:3,className:"section",children:o.jsxs(z,{sx:{flex:1},children:[o.jsx(Ie,{required:!0,disabled:c||e,label:`Blocklet ${d("common.version")}`,placeholder:`Blocklet ${d("common.version")}`,InputProps:{"data-cy":"blocklet-version",readOnly:e},autoComplete:"off",variant:"outlined",fullWidth:!0,value:t.blockletVersion||"",onChange:u=>{n({blockletVersion:""}),l({blockletVersion:u.target.value})},error:!!s.blockletVersion,helperText:s.blockletVersion||""}),o.jsx(Ie,{label:d("blocklet.publish.releaseNote"),autoComplete:"off",disabled:c||e,variant:"outlined",InputProps:{"data-cy":"release-note",readOnly:e,endAdornment:o.jsxs(b1,{position:"end",children:[((a=t==null?void 0:t.note)==null?void 0:a.length)||0," / ",Re.PROJECT.MAX_NOTE_LENGTH]})},fullWidth:!0,multiline:!0,minRows:4,required:!0,value:t.note||"",onChange:u=>{n({note:""}),l({note:u.target.value.slice(0,Re.PROJECT.MAX_NOTE_LENGTH)})},error:!!s.note,helperText:s.note||"",sx:{mt:3}})]})})}Xe.propTypes={readOnly:f.bool.isRequired,params:f.object.isRequired,setParams:f.func.isRequired,paramsErrTip:f.object.isRequired,setParamsErrTip:f.func.isRequired,loading:f.bool.isRequired};Xe.defaultProps={};const l3=({tabs:e,blocklet:t,ancestors:l=[]})=>{const s=t.meta.did;e.push({label:o.jsxs(z,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(v1,{size:24,blocklet:t,ancestors:l}),o.jsx(z,{ml:"4px",className:"text",children:o.jsx(z,{children:t.meta.title})})]},s),value:s})},a0=(e,t)=>{const l=h1(e,["blockletVersion","blockletTitle","blockletDescription","blockletLogo","blockletIntroduction","blockletScreenshots","connectedStores","blockletComponents","lastReleaseId","uploadedResource","note"]);return l.blockletComponents?l.blockletComponents=l.blockletComponents.map(s=>({...s,included:!0})):l.blockletComponents=(t.children||[]).map(s=>({did:s.meta.did,included:!1,required:!1})),l.resourceFromSelect=!l.uploadedResource,l},r3={0:"branding",1:"introduction",2:"resources",3:"blocklets",4:"version"},c0={branding:0,introduction:1,resources:2,blocklets:3,version:4};function O1({initUrl:e,...t}){var F1;const{projectId:l,mode:s,releaseId:n,componentDid:c=""}=Qe(),{t:d}=te(),{blocklet:a}=Ne(),[u,h]=ke({blockletScreenshots:[],publishedStoreIds:[],connectedStores:[],uploadedResource:"",resourceFromSelect:!0}),[x,g]=ke({}),[y,p]=R.useState(!1),[i,m]=ke(null),{api:w}=ye(),v=$e(D=>D.breakpoints.down("md")),[C,S]=R.useState({}),[N,T]=R.useState(!1),I=R.useRef({}),[k,F]=ke({}),[V,P]=R.useState(""),[M,L]=ke({}),H=e==null?void 0:e.searchParams.get("dependentComponentsMode"),O=H==="readonly",E=R.useCallback(D=>{O&&h({blockletComponents:[]}),L(D)},[O,L,h]),G=R.useCallback((...D)=>{F(...D),g({blockletResource:""})},[]),K=n==="none"?(u==null?void 0:u.lastReleaseId)||"":n,[X,se]=R.useState(s==="new-release"?4:0);R.useEffect(()=>{l&&g({projectId:""})},[l,g]);const je=R.useMemo(()=>{var D;return(D=u==null?void 0:u.blockletComponents)!=null&&D.some(B=>B.included)||u!=null&&u.uploadedResource?"pack":"resource"},[u==null?void 0:u.blockletComponents,u==null?void 0:u.uploadedResource]),le=[],re=((a==null?void 0:a.children)||[]).filter(D=>{var B;return(B=D.meta.resource)==null?void 0:B.exportApi}).filter(D=>!c||D.meta.did===c);re.forEach(D=>{l3({tabs:le,blocklet:D,t:d,ancestors:[a]})});const[W,Y]=R.useState((F1=le[0])==null?void 0:F1.value),U=!N&&(i==null?void 0:i.status)==="published",ee=U,ue=R.useMemo(()=>{const D={};return Object.keys(M).forEach(B=>{const Ue=M[B];Ue&&Ue.forEach(X0=>{D[X0]=!0})}),D},[M]),xe=h2(()=>{if(!e)return;P(e.searchParams.get("logo")),h(B=>({...B,blockletTitle:(B==null?void 0:B.blockletTitle)||e.searchParams.get("title"),blockletDescription:(B==null?void 0:B.blockletDescription)||e.searchParams.get("description"),blockletIntroduction:(B==null?void 0:B.blockletIntroduction)||e.searchParams.get("introduction")||e.searchParams.get("description"),blockletComponents:(B==null?void 0:B.blockletComponents)||JSON.parse(e.searchParams.get("components")||"[]"),note:(B==null?void 0:B.note)||e.searchParams.get("note")||"No note"}));const D=e.searchParams.get("resources");try{const B=JSON.parse(D);S(B)}catch{}}),Z=async()=>{if(K)try{const D=await w.getRelease({input:{did:a.meta.did,projectId:l,releaseId:K}});if(p(!1),!D.release){$.error("Release not found");return}s!=="view"&&(D.release.note=""),h(B=>a0({...B,...D.release,blockletVersion:s==="create"||s==="new-release"?Me.inc(D.release.blockletVersion,"patch"):D.release.blockletVersion},a)),m(D.release)}catch(D){p(!1),$.error(Le(D))}},ne=async()=>{if(l===q.UNOWNED_DID){h({blockletVersion:"1.0.0",blockletTitle:""});return}if(!l){$.error(d("blocklet.publish.errorTip.noDid"));return}try{const D=await w.getProject({input:{did:a.meta.did,projectId:l}});p(!1);const B=D.project||{};B.blockletVersion?(s==="create"||s==="new-release")&&Me.valid(B.blockletVersion)&&(B.blockletVersion=Me.inc(B.blockletVersion,"patch")):B.blockletVersion="1.0.0";const Ue=a0(B,a);h(Ue),B.lastReleaseId||xe()}catch(D){p(!1),$.error(Le(D))}},ie=R.useCallback(async()=>{if(s==="view"){if(!K){$.error("Empty release id");return}await ne(),await Z();return}await ne(),K&&(T(!0),await Z())},[s,K]),_=D=>{h({blockletComponents:D})};R.useEffect(()=>{ie()},[ie]),R.useEffect(()=>{l===q.UNOWNED_DID&&(s==="create"||s==="new-release")&&e&&xe()},[l,e,s,xe]);const J=R.useMemo(()=>!!Object.keys(k).find(D=>!!k[D].length),[k]);if(!u&&y)return o.jsx(ze,{});if(!u)return null;const pe=re.find(D=>D.meta.did===W);if(re.every(D=>D.status!=="running"))return o.jsx(Ce,{children:d("blocklet.publish.allComponentsNotRunning")});const G0=D=>{Y(D)},H1=e==null?void 0:e.searchParams.get("resourcesTitle"),$1=e==null?void 0:e.searchParams.get("componentsTitle"),Se=[{label:d("blocklet.publish.branding"),description:d("blocklet.publish.steps.branding")},{label:d("common.introduction"),description:d("blocklet.publish.steps.introduction")},{label:H1||d("blocklet.publish.resourceTitle"),description:d("blocklet.publish.steps.resources")},{label:$1||d("common.components"),description:d("blocklet.publish.steps.blocklets")},{label:d("blocklet.publish.versionTitle"),description:d("blocklet.publish.steps.version")}],K0=Se[X]||Se[Se.length-1],we=r3[X];return o.jsxs(s3,{...t,children:[o.jsx(H0,{blocklet:a,release:i,getData:ie,getRelease:Z,mode:s,params:u,setParams:h,setParamsErrTip:g,readOnly:ee,isPublished:U,loading:y,setLoading:p,initLogoUrl:V,releaseId:K,projectId:l,projectType:je,resourceComponents:re,resourceComponentsMap:M,resourceRelateComponents:ue,resourceItem:pe,saveSelectedEventsRef:I,hasSelectedResources:J,releaseUsedLast:N,setReleaseUsedLast:T,setRelease:m}),o.jsxs(z,{display:"flex",flexDirection:"column",sx:{width:"100%"},children:[o.jsx(z,{pt:3}),o.jsxs(z,{sx:{gap:3},display:"flex",flexDirection:v?"column":"row",children:[!v&&o.jsx(q0,{steps:Se,viewMode:s==="view",params:u,hasSelectedResources:J||u.uploadedResource,paramsErrTip:x,activeStep:X,setActiveStep:se,projectId:l,resourcesUrlTitle:H1,componentsUrlTitle:$1}),o.jsxs(z,{flex:"1",maxWidth:"720px",children:[!v&&we!=="introduction"&&o.jsxs(Q,{variant:"h6",fontWeight:"bold",display:"flex",flexDirection:"row",alignItems:"center",children:[K0.label,we==="branding"&&o.jsx(ve,{title:d("blocklet.publish.brandingHelp"),placement:"right",children:o.jsx(z,{component:"a",target:"_blank",href:"https://www.arcblock.io/docs/blocklet-store/en/blocklet-detail-page",sx:{paddingTop:1,marginLeft:1},style:{color:"gray"},children:o.jsx(w2,{})})})]}),(v||we==="branding")&&o.jsx(z,{flexDirection:"column",children:o.jsx(E0,{projectId:l,setParams:h,setParamsErrTip:g,params:u,componentDid:c,blocklet:a,initUrl:e,loading:y,setLoading:p,paramsErrTip:x,readOnly:ee,initLogoUrl:V,setInitLogoUrl:P})}),v&&o.jsx(z,{flexDirection:"column",children:o.jsx(Xe,{loading:y,params:u,paramsErrTip:x,setParams:h,setParamsErrTip:g,readOnly:ee})}),(v||we==="introduction")&&o.jsx(z,{display:"flex",flexDirection:"column",sx:{mt:v?5:0,width:"100%"},children:o.jsx(F0,{loading:y,readOnly:ee,params:u,setParams:h,paramsErrTip:x,setParamsErrTip:g})}),v&&o.jsx(Q,{variant:"h6",fontWeight:"bold",mt:5,children:Se[c0.resources].label}),o.jsx(z,{display:v||we==="resources"?"flex":"none",sx:{maxWidth:720},flexDirection:"column",children:o.jsx(z,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(z,{sx:{flex:1},children:[o.jsxs(q2,{onChange:()=>h({resourceFromSelect:!u.resourceFromSelect}),children:[o.jsx(n1,{value:"select",disabled:ee,control:o.jsx(X1,{size:"small",checked:u.resourceFromSelect}),label:d("blocklet.publish.resourceSelect")}),o.jsx(n1,{value:"select",disabled:ee,control:o.jsx(X1,{size:"small",checked:!u.resourceFromSelect}),label:d("blocklet.publish.resourceUpload")})]}),u.resourceFromSelect&&o.jsxs(o.Fragment,{children:[!c&&o.jsx(C2,{tabs:le,current:W,onChange:G0,sx:{ml:-2,mt:2,maxWidth:v?window.innerWidth-24:"100%"}}),o.jsx(N1,{loading:y,initialResources:C,saveSelectedEventsRef:I,selectedResourceIds:k,setSelectedResourceIds:G,setResourceComponentsMap:E,error:x.blockletResource,app:a,readOnly:ee,component:pe,componentDid:c,initUrl:e,params:u,setParams:h,projectId:l===q.UNOWNED_DID?"":l,releaseUsedLast:N,release:{...i,id:K}})]}),!u.resourceFromSelect&&o.jsx(A1,{app:a,readOnly:ee,projectId:l===q.UNOWNED_DID?"":l,params:u,error:x.blockletResource,setParams:h,setParamsErrTip:g})]})})}),v&&o.jsx(Q,{variant:"h6",fontWeight:"bold",mt:5,children:Se[c0.blocklets].label}),(v||we==="blocklets")&&o.jsx(z,{flexDirection:"column",children:o.jsx(z,{display:"flex",mt:3,className:"section full-width",children:o.jsx(z,{sx:{flex:1},children:o.jsx(S1,{projectType:je,disabled:y||ee,app:a,value:(u==null?void 0:u.blockletComponents)||[],onChange:_,resourceRelateComponents:ue,dependentComponentsMode:H})})})}),!v&&we==="version"&&o.jsx(z,{flexDirection:"column",children:o.jsx(Xe,{loading:y,params:u,paramsErrTip:x,setParams:h,setParamsErrTip:g,readOnly:ee})})]})]})]})]})}O1.propTypes={initUrl:f.object};O1.defaultProps={initUrl:null};const s3=de.div`
182
182
  .section {
183
183
  &.full-width {
184
184
  max-width: 100%;
@@ -215,8 +215,8 @@ import{ao as X0,j as o,aD as oe,cE as c0,aG as A,fg as $1,aF as be,aB as _e,aC a
215
215
  }
216
216
  font-size: 0.8rem;
217
217
  }
218
- `;function U0({padding:e,initUrl:t}){const{blocklet:l}=Te(),s=p2(),{componentDid:n}=Xe();if(R.useEffect(()=>{if(n&&window.parent){const d=`${s.pathname}${s.search}`;window.parent.postMessage({event:"popstate",page:"publish",componentDid:n,path:d},"*")}},[n,s]),!l)return null;const a={};return e&&(a.padding=e),o.jsx(l3,{style:a,children:o.jsxs(h2,{children:[o.jsx(Qe,{path:"/",element:o.jsx(w1,{initUrl:t})}),o.jsx(Qe,{path:"/:projectId",element:o.jsx(kt,{})}),o.jsx(Qe,{path:"/:projectId/:mode/:releaseId",element:o.jsx(E1,{initUrl:t})})]})})}U0.propTypes={padding:f.oneOfType([f.string,f.number]),initUrl:f.object};U0.defaultProps={padding:"",initUrl:null};const l3=ae(z)`
218
+ `;function W0({padding:e,initUrl:t}){const{blocklet:l}=Ne(),s=f2(),{componentDid:n}=Qe();if(R.useEffect(()=>{if(n&&window.parent){const d=`${s.pathname}${s.search}`;window.parent.postMessage({event:"popstate",page:"publish",componentDid:n,path:d},"*")}},[n,s]),!l)return null;const c={};return e&&(c.padding=e),o.jsx(n3,{style:c,children:o.jsxs(x2,{children:[o.jsx(Ze,{path:"/",element:o.jsx(C1,{initUrl:t})}),o.jsx(Ze,{path:"/:projectId",element:o.jsx(Lt,{})}),o.jsx(Ze,{path:"/:projectId/:mode/:releaseId",element:o.jsx(O1,{initUrl:t})})]})})}W0.propTypes={padding:f.oneOfType([f.string,f.number]),initUrl:f.object};W0.defaultProps={padding:"",initUrl:null};const n3=de(z)`
219
219
  a {
220
220
  color: ${({theme:e})=>e.palette.primary.main};
221
221
  }
222
- `;export{U0 as default};
222
+ `;export{W0 as default};