@abtnode/blocklet-services 1.17.2 → 1.17.3-beta-20251117-102849-8103f298

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 (214) hide show
  1. package/api/middlewares/check-federated.js +1 -73
  2. package/api/routes/federated.js +10 -3
  3. package/api/services/auth/connect/verify-destroy.js +1 -0
  4. package/dist/assets/{AdapterDayjs-B04P6h7J.js → AdapterDayjs-CSsn7VEX.js} +1 -1
  5. package/dist/assets/{Google-CqFo2faB.js → Google-C-Ei9n0a.js} +1 -1
  6. package/dist/assets/{access-control-CjCxQlMu.js → access-control-D0vxk-Ay.js} +1 -1
  7. package/dist/assets/{actions-DqoNrBDK.js → actions-C0hEY5iN.js} +1 -1
  8. package/dist/assets/{add-component-core-C2S9QiqL.js → add-component-core-7Qng0h9D.js} +18 -18
  9. package/dist/assets/{add-resource-CuaLDI6L.js → add-resource-CS6pw4MD.js} +1 -1
  10. package/dist/assets/{addon-D41X7_Ha.js → addon-B5iZc5zB.js} +2 -2
  11. package/dist/assets/{advanced-DgrelCY3.js → advanced-QXzUapJI.js} +2 -2
  12. package/dist/assets/{aigne-Yr1coV9J.js → aigne-CviOmneT.js} +1 -1
  13. package/dist/assets/api-VWP7Oo6L.js +1 -0
  14. package/dist/assets/{appearance-DTPu5zPe.js → appearance-CkaT_h9I.js} +1 -1
  15. package/dist/assets/{arrow-down.svg-BIX16b-P.js → arrow-down.svg-CDi8ywws.js} +1 -1
  16. package/dist/assets/{audit-logs-ChufMFKS.js → audit-logs-D2VdqDH8.js} +2 -2
  17. package/dist/assets/{authorize-BvRxf82d.js → authorize-BJr_whxb.js} +1 -1
  18. package/dist/assets/{base-chart-C-Raz4Q-.js → base-chart-BIsPFns6.js} +1 -1
  19. package/dist/assets/{base32-CE_1-AN3.js → base32-cypJRki8.js} +1 -1
  20. package/dist/assets/bind-account-BCP_Ypfy.js +1 -0
  21. package/dist/assets/{branding-DbQznVYe.js → branding-B7OUNmDC.js} +1 -1
  22. package/dist/assets/branding-BDdxk2E2.js +1 -0
  23. package/dist/assets/{branding-C1ye6wGf.js → branding-wKKLyZjs.js} +5 -5
  24. package/dist/assets/{bundle-avatar-B1050zFo.js → bundle-avatar-Bft1K1fA.js} +1 -1
  25. package/dist/assets/button-DAumqZoi.js +1 -0
  26. package/dist/assets/{click-to-copy-BkU88dAD.js → click-to-copy-Kd1YilQn.js} +1 -1
  27. package/dist/assets/{cloneDeep-C6qewg0C.js → cloneDeep-3LGZOUYL.js} +1 -1
  28. package/dist/assets/{collapse-BMy0GGFk.js → collapse-Cc8IqFzl.js} +1 -1
  29. package/dist/assets/{complete-DZVVfX5P.js → complete-FhkNOVEb.js} +1 -1
  30. package/dist/assets/{component-CfrOI6i5.js → component-YEpcN0PM.js} +30 -30
  31. package/dist/assets/{config-CkNzsAXv.js → config-ABsyghax.js} +1 -1
  32. package/dist/assets/{config-D5LRMmb0.js → config-BH7esTqa.js} +1 -1
  33. package/dist/assets/config-CfZ5vdbi.js +57 -0
  34. package/dist/assets/{config-navigation-kBAhTt_z.js → config-navigation-C2Cya4Ts.js} +2 -2
  35. package/dist/assets/{config-space-GWPehdiS.js → config-space-k6_NPjjD.js} +1 -1
  36. package/dist/assets/{confirm-Cb7UwqYS.js → confirm-BWGQvLZx.js} +1 -1
  37. package/dist/assets/{connect-BXfNpVtu.js → connect-B1DJAH4e.js} +1 -1
  38. package/dist/assets/{connect-DL9YrliM.js → connect-DohcTFiY.js} +1 -1
  39. package/dist/assets/connect-to-BrFtlkBE.js +1 -0
  40. package/dist/assets/{content-layout-oyz1EqNZ.js → content-layout-DJL10aJT.js} +1 -1
  41. package/dist/assets/{create-passport-svg--kCsicWA.js → create-passport-svg-aTWV-cva.js} +1 -1
  42. package/dist/assets/createClass-sKvm4qit.js +1 -0
  43. package/dist/assets/{dashboard-Blst3P1q.js → dashboard-CuicHcGI.js} +2 -2
  44. package/dist/assets/{delete-confirm-oFx7NRBG.js → delete-confirm-DgdA8XR6.js} +1 -1
  45. package/dist/assets/{did-address-BeDbQEgo.js → did-address-B_YPBiI4.js} +1 -1
  46. package/dist/assets/domain-BeE_hgxW.js +9 -0
  47. package/dist/assets/domain-action-card-CBIJJCbh.js +28 -0
  48. package/dist/assets/domains-DgAenuDY.js +1 -0
  49. package/dist/assets/{email-AE87NO3k.js → email-Bn3hPH00.js} +1 -1
  50. package/dist/assets/{empty-spinner-DYOzicuy.js → empty-spinner-Dqkt-AHg.js} +1 -1
  51. package/dist/assets/engine-DH9sKH0j.js +1 -0
  52. package/dist/assets/{exchange-passport-Chzr6DQN.js → exchange-passport-3kSU2YMT.js} +1 -1
  53. package/dist/assets/{form-D_b_DG-x.js → form-MjxZB__D.js} +1 -1
  54. package/dist/assets/{form-text-input-C2U1m5ol.js → form-text-input-BhAqaNAJ.js} +1 -1
  55. package/dist/assets/{form-wrapper-C8oo_Fdy.js → form-wrapper-SZH1FnTd.js} +1 -1
  56. package/dist/assets/{fuel-C8FRHxLR.js → fuel-C5ze4Cx7.js} +2 -2
  57. package/dist/assets/{gen-access-key-DwnkD6OQ.js → gen-access-key-DKzPF3CU.js} +1 -1
  58. package/dist/assets/{gen-simple-access-key-D5wTuY1t.js → gen-simple-access-key-DTWz63Us.js} +1 -1
  59. package/dist/assets/get-safe-url-DEmvtN3J.js +1 -0
  60. package/dist/assets/{home-2prkME-Q.js → home-Bqn3mvqQ.js} +1 -1
  61. package/dist/assets/{iframe-DqyN02cu.js → iframe-CxCgprun.js} +1 -1
  62. package/dist/assets/index-B3O5tZNc.js +55 -0
  63. package/dist/assets/{index-BcWDbRWR.js → index-BCKWe_QR.js} +1 -1
  64. package/dist/assets/{index-D45OiFud.js → index-BPKZON9n.js} +7 -7
  65. package/dist/assets/{index-BK6jWBnR.js → index-BTBrooUu.js} +1 -1
  66. package/dist/assets/{index-D_MyW6is.js → index-BWszlIaS.js} +2 -2
  67. package/dist/assets/{index-Bkmh68gh.js → index-B_NniBaO.js} +1 -1
  68. package/dist/assets/{index-CDLNMKDM.js → index-Bero09ZY.js} +128 -126
  69. package/dist/assets/index-Bth96Xcv.js +7 -0
  70. package/dist/assets/{index-erLJSqBe.js → index-BwSFbkVa.js} +1 -1
  71. package/dist/assets/{index-D5TNmV3K.js → index-CAMegfIe.js} +1 -1
  72. package/dist/assets/{index-BjPh-7kQ.js → index-CI7en2_Z.js} +2 -2
  73. package/dist/assets/{index-CHnA2nN2.js → index-CNndXmIt.js} +1 -1
  74. package/dist/assets/{index-CkLEqkuR.js → index-CPJ0NzQN.js} +8 -8
  75. package/dist/assets/{index-0PQCgggo.js → index-CWQp0vgv.js} +1 -1
  76. package/dist/assets/{index-CIHjwyhW.js → index-CXA6Z-BW.js} +5 -5
  77. package/dist/assets/index-CZ4Y1y1j.js +120 -0
  78. package/dist/assets/{index-CA0pv3Uq.js → index-C_odLDQq.js} +13 -13
  79. package/dist/assets/{index-Dw-Z7YrL.js → index-CdA2hOvz.js} +1 -1
  80. package/dist/assets/{index-CiTIvXav.js → index-Clfe99AI.js} +1 -1
  81. package/dist/assets/{index-Ds523Kr4.js → index-D9bRGwyn.js} +1 -1
  82. package/dist/assets/{index-De-Vgsb6.js → index-DKuLdlGi.js} +1 -1
  83. package/dist/assets/{index-DEoXYS44.js → index-DUJ8lwX7.js} +10 -10
  84. package/dist/assets/index-DUiyqDLR.js +30 -0
  85. package/dist/assets/{index-DfxScG8C.js → index-Dgk0_7wf.js} +5 -5
  86. package/dist/assets/{index-DTf1TIHb.js → index-DlPcYWy3.js} +1 -1
  87. package/dist/assets/{index-BKvI-HQW.js → index-DnJ0ECmd.js} +1 -1
  88. package/dist/assets/{index-6DYfiGIi.js → index-OAcqMuQz.js} +2 -2
  89. package/dist/assets/{index-CHmNqpEJ.js → index-PwQ2doS3.js} +1 -1
  90. package/dist/assets/{index-DVeHusdz.js → index-VyLFO7R7.js} +4 -4
  91. package/dist/assets/{index-NomqB6Iy.js → index-WzLE1u-g.js} +1 -1
  92. package/dist/assets/index-bd0w0UHw.js +6 -0
  93. package/dist/assets/index-hKD4Miak.js +1 -0
  94. package/dist/assets/index-vci0NXIe.js +1 -0
  95. package/dist/assets/{invitation-BLXeyB9R.js → invitation-KNbJYWOf.js} +2 -2
  96. package/dist/assets/{invitations-DAbKE0z_.js → invitations-Di31zIeh.js} +1 -1
  97. package/dist/assets/{invite-nkH5yAFh.js → invite-Cq1bQR9j.js} +1 -1
  98. package/dist/assets/{isURL-B8QEuluM.js → isURL-RzSyCgzI.js} +2 -2
  99. package/dist/assets/{issue-passport-DHA-EFAO.js → issue-passport-DnHvhKR-.js} +1 -1
  100. package/dist/assets/{item-CjT9qBlP.js → item-DVQ8TUdv.js} +1 -1
  101. package/dist/assets/{landing-page-4maignTY.js → landing-page-BzztE6uh.js} +1 -1
  102. package/dist/assets/{launch-result-message-DWeUg9rM.js → launch-result-message-DZJ76kCs.js} +1 -1
  103. package/dist/assets/{layout-e6DMnPsI.js → layout-D4qCeoWb.js} +1 -1
  104. package/dist/assets/{list-DG5rE6en.js → list-BIECWQvk.js} +1 -1
  105. package/dist/assets/list-Dd8HkY3P.js +103 -0
  106. package/dist/assets/{list-header-BE2kzda_.js → list-header-BNFs7V0b.js} +1 -1
  107. package/dist/assets/localization-CCBoTGdU.js +1 -0
  108. package/dist/assets/{log-BUSdWhUD.js → log-Uj0MJfkC.js} +1 -1
  109. package/dist/assets/logger-D-AxDn18.js +1 -0
  110. package/dist/assets/login-DWAFC8kE.js +1 -0
  111. package/dist/assets/{login-oauth-callback-D958pJEU.js → login-oauth-callback-DB_9NuV_.js} +1 -1
  112. package/dist/assets/{logo-uploader-BBf1tYyb.js → logo-uploader-BaFwvDBA.js} +1 -1
  113. package/dist/assets/{lost-passport-C0Gat_y8.js → lost-passport-C2SpMW8x.js} +2 -2
  114. package/dist/assets/{observability-Zow0Sv-X.js → observability-BjKI3tFt.js} +1 -1
  115. package/dist/assets/{omit-hhiOJGRf.js → omit-BZEryV5a.js} +1 -1
  116. package/dist/assets/{open-window-BCPyuDbV.js → open-window-CVU9iEs4.js} +1 -1
  117. package/dist/assets/over-due-invoice-payment-CFwnz6K1.js +1 -0
  118. package/dist/assets/{overview-DDe_917X.js → overview-DpyqbS6x.js} +2 -2
  119. package/dist/assets/{page-header-DCvzRay5.js → page-header-xpG0yfsa.js} +1 -1
  120. package/dist/assets/passport-Bei4Q65O.js +1 -0
  121. package/dist/assets/{passport-item-CrqI8LZP.js → passport-item-Af9VCIFW.js} +1 -1
  122. package/dist/assets/{permission-CRiK9UiX.js → permission-bm6ygywx.js} +1 -1
  123. package/dist/assets/{playground-CAOOFQT1.js → playground-DKMlueFr.js} +1 -1
  124. package/dist/assets/preferences-lGhRntFn.js +1 -0
  125. package/dist/assets/profile-embed-JHxbEwL7.js +1 -0
  126. package/dist/assets/publish-resource-D19FmjtU.js +1 -0
  127. package/dist/assets/{react-beautiful-dnd.esm-BsXmsXbi.js → react-beautiful-dnd.esm-aD7p6S7F.js} +1 -1
  128. package/dist/assets/{react-stripe.esm-Dc9snvfb.js → react-stripe.esm-BV6kfV2w.js} +1 -1
  129. package/dist/assets/{required-BGaDOGrj.js → required-C9DLcn9T.js} +1 -1
  130. package/dist/assets/runtime-Kn_kNxXD.js +1 -0
  131. package/dist/assets/{sanitize-BEqBHa8a.js → sanitize-usZAK6S4.js} +1 -1
  132. package/dist/assets/sdk-C0BAXQzO.js +1 -0
  133. package/dist/assets/{section-C75bzkkL.js → section-MSasF4Cx.js} +1 -1
  134. package/dist/assets/{security-CDnrU-XX.js → security-DbLAyZY0.js} +1 -1
  135. package/dist/assets/{session-BDmvqOvc.js → session-jDtNo9RS.js} +1 -1
  136. package/dist/assets/{setup-Cju8Z063.js → setup-C5jTmWDG.js} +1 -1
  137. package/dist/assets/{shorten-label-RqvHqcC3.js → shorten-label-dRmYvYJ7.js} +1 -1
  138. package/dist/assets/{simple-select-DWI2SRq6.js → simple-select-CQxVe4SK.js} +1 -1
  139. package/dist/assets/{spaces-CNXRZTcd.js → spaces-V5-JD9i7.js} +1 -1
  140. package/dist/assets/{start-BBRJjidX.js → start-6JVejCmJ.js} +1 -1
  141. package/dist/assets/{starting-progress-D-1aLd8t.js → starting-progress-BYVwnaNc.js} +1 -1
  142. package/dist/assets/status-C9q9BOVN.js +1 -0
  143. package/dist/assets/{step-actions-CWp-NtsH.js → step-actions-C1GR4GhW.js} +1 -1
  144. package/dist/assets/{studio-B1WBQVRk.js → studio-DmcnkjTl.js} +1 -1
  145. package/dist/assets/{switch-control-BXLt-KrD.js → switch-control-CG7qdize.js} +1 -1
  146. package/dist/assets/{table-tips-CD2JCnV7.js → table-tips-CdXwFA3X.js} +1 -1
  147. package/dist/assets/team-PZ1SHeY3.js +146 -0
  148. package/dist/assets/traffic-Dh35q8G-.js +1 -0
  149. package/dist/assets/{transfer-8WkD_jUd.js → transfer-D3XcQgCt.js} +1 -1
  150. package/dist/assets/{unsubscribe-DVeiVKLX.js → unsubscribe-D-eN0zoM.js} +1 -1
  151. package/dist/assets/{use-app-logo-lNueneHC.js → use-app-logo-CMlvKxYW.js} +1 -1
  152. package/dist/assets/{use-mobile-DCNBsOlH.js → use-mobile-Bjbo_Gou.js} +1 -1
  153. package/dist/assets/{use-mobile-maRlSUwU.js → use-mobile-CjZIGfWP.js} +1 -1
  154. package/dist/assets/{use-server-logo-n_aaKVoZ.js → use-server-logo-uMEEt675.js} +1 -1
  155. package/dist/assets/use-window-close-Dmw6cTVQ.js +1 -0
  156. package/dist/assets/{useAsync-BcVLpt2E.js → useAsync-BT7wPXCF.js} +1 -1
  157. package/dist/assets/{useAsync-cZ_FPf9k.js → useAsync-D25sKCXL.js} +1 -1
  158. package/dist/assets/{useAsyncRetry-DwwEjrjs.js → useAsyncRetry-D-vTCNcS.js} +1 -1
  159. package/dist/assets/{useLocalStorage-E5ZXDlU2.js → useLocalStorage-BVI5Gy_v.js} +1 -1
  160. package/dist/assets/user-center-Cwsrx5yP.js +126 -0
  161. package/dist/assets/{user-follower-DLzUfaiE.js → user-follower-CaGHj3ZA.js} +1 -1
  162. package/dist/assets/{util-Bj9Es728.js → util-B-6GuSKY.js} +1 -1
  163. package/dist/assets/{util-CeZoM_ul.js → util-BsBRHu6F.js} +1 -1
  164. package/dist/assets/{vendor-arcblock-DrHS8FbJ.js → vendor-arcblock-B0VYnHWE.js} +115 -114
  165. package/dist/assets/{vendor-hooks-CjESGRlR.js → vendor-hooks-iFsOjihK.js} +1 -1
  166. package/dist/assets/{vendor-mui-core-CnXrAOs3.js → vendor-mui-core-BPcN1m8_.js} +1 -1
  167. package/dist/assets/{vendor-mui-x-bJ5idfMH.js → vendor-mui-x-DEgOZXst.js} +1 -1
  168. package/dist/assets/vendor-utils-D6HS5QsS.js +213 -0
  169. package/dist/assets/{vendor-ux-CzE32faw.js → vendor-ux-CheVAuK7.js} +10 -10
  170. package/dist/assets/{wait-connect-ySKEj_Ph.js → wait-connect-DyWyU1dI.js} +1 -1
  171. package/dist/assets/{wizard-sjepmmF5.js → wizard-CwvOHxpL.js} +1 -1
  172. package/dist/assets/{wizard-components-B1CGAMtl.js → wizard-components-Cu3iAFug.js} +1 -1
  173. package/dist/assets/wrap-locale-BLNR9__l.js +1 -0
  174. package/dist/assets/{zh-CUmZifBZ.js → zh-qs5i9EFZ.js} +1 -1
  175. package/dist/index.html +1 -1
  176. package/dist/service-worker.js +1 -1
  177. package/package.json +50 -50
  178. package/dist/assets/api-Btn0Tp3W.js +0 -1
  179. package/dist/assets/bind-account-xMtYaPJ7.js +0 -1
  180. package/dist/assets/branding-C5BV6PKe.js +0 -1
  181. package/dist/assets/button-9QcssggO.js +0 -1
  182. package/dist/assets/config-DeWFFWZ4.js +0 -53
  183. package/dist/assets/connect-to-5xKcFhJq.js +0 -1
  184. package/dist/assets/createClass-D9-Z7Ng8.js +0 -1
  185. package/dist/assets/domain-BAz5Jnp3.js +0 -9
  186. package/dist/assets/domain-action-card-BPIGiyRz.js +0 -28
  187. package/dist/assets/domains-DzH4E7Ky.js +0 -1
  188. package/dist/assets/engine-CHbWdoYF.js +0 -1
  189. package/dist/assets/get-safe-url-mHb8MGmt.js +0 -1
  190. package/dist/assets/index-BFjPk5rY.js +0 -29
  191. package/dist/assets/index-C-PaVJtk.js +0 -1
  192. package/dist/assets/index-CGsJfc7B.js +0 -1
  193. package/dist/assets/index-CLdviW_b.js +0 -120
  194. package/dist/assets/index-YZ0yjUWt.js +0 -6
  195. package/dist/assets/index-dhiRVZZQ.js +0 -55
  196. package/dist/assets/index-heiIZy8r.js +0 -7
  197. package/dist/assets/list-B_m0p7sB.js +0 -103
  198. package/dist/assets/localization-Ds_U2GMW.js +0 -1
  199. package/dist/assets/logger-BsYh0hGr.js +0 -1
  200. package/dist/assets/login-ML7YmOtr.js +0 -1
  201. package/dist/assets/over-due-invoice-payment-BXBLnoyA.js +0 -1
  202. package/dist/assets/passport-Be2_BAlL.js +0 -1
  203. package/dist/assets/preferences-B8QM8HJG.js +0 -1
  204. package/dist/assets/profile-embed-Dkf-JFZx.js +0 -1
  205. package/dist/assets/publish-resource-DDAEroSI.js +0 -1
  206. package/dist/assets/runtime-Dx-xN_gK.js +0 -1
  207. package/dist/assets/sdk-DjGKLOyd.js +0 -1
  208. package/dist/assets/status-CK9xg7pT.js +0 -1
  209. package/dist/assets/team-CCbX1N7p.js +0 -146
  210. package/dist/assets/traffic-Bxkf9fJx.js +0 -1
  211. package/dist/assets/use-window-close-D8vmtt2d.js +0 -1
  212. package/dist/assets/user-center-BU_yo3ue.js +0 -126
  213. package/dist/assets/vendor-utils-cJEl_UEd.js +0 -213
  214. package/dist/assets/wrap-locale-cNkWnEw5.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W as p,at as M,ar as j,an as M1,am as j1,T as B,a6 as F,ac as Z1,ad as S1,aW as V1,s as Z}from"./vendor-mui-core-CnXrAOs3.js";import{l as S,r as E1,a as D1,g as H1,t as U1,M as B1,m as F1}from"./vendor-ux-CzE32faw.js";import{F as z1}from"./vendor-utils-cJEl_UEd.js";import{r as b,g as K}from"./vendor-react-Dvs43sk9.js";import{g as O1,a as N1}from"./vendor-hooks-CjESGRlR.js";function T1({children:e=null,relative:t="screen"}){let i={};return t==="parent"&&(i={width:"100%",height:"100%"}),a.jsx(A1,{style:i,children:e})}const A1=S("div")`
1
+ import{j as l,ak as H,av as Le,D as we,J as Q,aU as Je,Q as G,aj as Ye,aV as Qe,W as m,at as A,ar as T,an as Xe,am as e1,T as q,a6 as W,ac as t1,ad as i1,aW as a1,s as F}from"./vendor-mui-core-BPcN1m8_.js";import{l as P,r as C,a as be,b as r1,c as n1,d as s1,e as X,f as l1,g as o1,h as c1,i as d1,j as h1,t as p1,M as f1,m as u1}from"./vendor-ux-CheVAuK7.js";import{B as V,F as g1}from"./vendor-utils-D6HS5QsS.js";import{r as b,g as ve}from"./vendor-react-Dvs43sk9.js";import{g as m1,a as x1}from"./vendor-hooks-iFsOjihK.js";function y1({children:e=null,relative:t="screen"}){let i={};return t==="parent"&&(i={width:"100%",height:"100%"}),l.jsx(L1,{style:i,children:e})}const L1=P("div")`
2
2
  flex: 1;
3
3
  width: 100vw;
4
4
  height: 100vh;
@@ -6,7 +6,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
6
6
  display: flex;
7
7
  justify-content: center;
8
8
  align-items: center;
9
- `;var G1=E1();function I1({height:e,...t}){return a.jsx(_1,{height:e,...t})}const _1=S(k)`
9
+ `;var w1=C();function b1({height:e,...t}){return l.jsx(v1,{height:e,...t})}const v1=P(H)`
10
10
  overflow: hidden;
11
11
  &:before {
12
12
  content: '';
@@ -19,7 +19,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
19
19
  float: left;
20
20
  white-space: nowrap;
21
21
  }
22
- `;function Q({children:e,...t}){return a.jsx(k,{sx:{display:"flex",alignItems:"center",gap:1.5,"> *":{m:"0px!important"},".MuiIconButton-root":{width:32,height:32,p:0,border:1,borderColor:"divider"},".MuiIconButton-root svg, .MuiButton-root svg":{fontSize:18,width:"1em!important",height:"1em!important"},".arc-session-user-logged-in > *, .arc-session-user-logged-in svg":{width:"100%!important",height:"100%!important"},".arc-session-user-unlogin svg":{transform:"scale(1)!important"}},...t,children:e})}function Y({logo:e=null,brand:t=null,brandAddon:i=null,description:l=null,children:n=null,addons:o=null,prepend:r=null,align:h="left",maxWidth:d=!1,homeLink:f="/",...g}){const L=b.useRef(null),[c,u]=b.useState("0px"),x={minWidth:c};return b.useEffect(()=>{const{searchParams:y}=new URL(window.location.href);y.get("inviter")&&window.localStorage.setItem("inviter",y.get("inviter")),L.current&&u(`${L.current.offsetWidth}px`)},[]),a.jsx(P1,{...g,children:a.jsxs(q,{maxWidth:d,className:"header-container",children:[r,a.jsx("div",{className:"header-brand-wrapper",style:x,children:(()=>{const y=a.jsxs(a.Fragment,{children:[e&&a.jsx("div",{className:"header-logo",ref:L,children:e}),t&&a.jsx(I1,{height:44,sx:{flexShrink:{xs:1}},children:a.jsxs("div",{className:"header-brand",children:[a.jsx("div",{className:"header-brand-title",children:a.jsx("h2",{children:t})}),a.jsx("div",{className:"header-brand-desc",children:l})]})})]});return typeof f=="function"?f(y):a.jsx("a",{href:f,children:y})})()}),a.jsx("div",{className:"header-brand-addon",children:i}),h==="right"&&a.jsx(k,{sx:{display:"inline-block",flexGrow:1}}),n,h==="left"&&a.jsx(k,{sx:{display:"inline-block",flexGrow:1}}),a.jsx(Q,{className:"header-addons",children:o})]})})}const P1=S(k)`
22
+ `;function ke({children:e,...t}){return l.jsx(H,{sx:{display:"flex",alignItems:"center",gap:1.5,"> *":{m:"0px!important"},".MuiIconButton-root":{width:32,height:32,p:0,border:1,borderColor:"divider"},".MuiIconButton-root svg, .MuiButton-root svg":{fontSize:18,width:"1em!important",height:"1em!important"},".arc-session-user-logged-in > *, .arc-session-user-logged-in svg":{width:"100%!important",height:"100%!important"},".arc-session-user-unlogin svg":{transform:"scale(1)!important"}},...t,children:e})}function Ce({logo:e=null,brand:t=null,brandAddon:i=null,description:a=null,children:n=null,addons:s=null,prepend:r=null,align:h="left",maxWidth:d=!1,homeLink:f="/",...c}){const u=b.useRef(null),[o,g]=b.useState("0px"),x={minWidth:o};return b.useEffect(()=>{const{searchParams:y}=new URL(window.location.href);y.get("inviter")&&window.localStorage.setItem("inviter",y.get("inviter")),u.current&&g(`${u.current.offsetWidth}px`)},[]),l.jsx(k1,{...c,children:l.jsxs(Le,{maxWidth:d,className:"header-container",children:[r,l.jsx("div",{className:"header-brand-wrapper",style:x,children:(()=>{const y=l.jsxs(l.Fragment,{children:[e&&l.jsx("div",{className:"header-logo",ref:u,children:e}),t&&l.jsx(b1,{height:44,sx:{flexShrink:{xs:1}},children:l.jsxs("div",{className:"header-brand",children:[l.jsx("div",{className:"header-brand-title",children:l.jsx("h2",{children:t})}),l.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof f=="function"?f(y):l.jsx("a",{href:f,children:y})})()}),l.jsx("div",{className:"header-brand-addon",children:i}),h==="right"&&l.jsx(H,{sx:{display:"inline-block",flexGrow:1}}),n,h==="left"&&l.jsx(H,{sx:{display:"inline-block",flexGrow:1}}),l.jsx(ke,{className:"header-addons",children:s})]})})}const k1=P(H)`
23
23
  position: relative;
24
24
  font-size: 14px;
25
25
  z-index: ${({theme:e})=>e.zIndex.appBar};
@@ -115,7 +115,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
115
115
  }
116
116
  }
117
117
  }
118
- `;function Ve({prepend:e,children:t=null,...i}){const l=J(),n=N(l.breakpoints.down("md")),[o,r]=b.useState(!1),h=typeof t=="function"?t({isMobile:n,closeMenu:()=>r(!1)}):t,d=O1({changed:!1,value:"",priority:""});return N1(()=>{if(document.documentElement?.style){const f=()=>{d.changed&&(d.value?document.documentElement.style.setProperty("overflow",d.value,d.priority):document.documentElement.style.removeProperty("overflow"),d.value="",d.priority="",d.changed=!1)};return o?(d.changed=!0,d.value=document.documentElement.style.getPropertyValue("overflow"),d.priority=document.documentElement.style.getPropertyPriority("overflow"),document.documentElement.style.setProperty("overflow","revert","important")):f(),f}return()=>{}},[o]),t?a.jsxs(R1,{prepend:e||a.jsx(U,{sx:{color:l.palette.grey[500]},className:"header-menu","aria-label":"header menu button",onClick:()=>r(!o),children:o?a.jsx(k1,{}):a.jsx($1,{})}),...i,children:[!n&&h,n&&a.jsx(C1,{open:o,onClose:()=>r(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:void 0},anchor:"top",sx:{top:64,zIndex:l.zIndex.appBar-1},slotProps:{paper:{sx:{top:64,bottom:0,boxShadow:"none",backgroundImage:"none",backgroundColor:l.palette.background.paper,"& .navmenu.navmenu--inline":{margin:0,padding:0}}}},children:a.jsx(W1,{children:h})})]}):a.jsx(Y,{prepend:e,...i})}const R1=S(Y)`
118
+ `;function mt({prepend:e,children:t=null,...i}){const a=we(),n=Q(a.breakpoints.down("md")),[s,r]=b.useState(!1),h=typeof t=="function"?t({isMobile:n,closeMenu:()=>r(!1)}):t,d=m1({changed:!1,value:"",priority:""});return x1(()=>{if(document.documentElement?.style){const f=()=>{d.changed&&(d.value?document.documentElement.style.setProperty("overflow",d.value,d.priority):document.documentElement.style.removeProperty("overflow"),d.value="",d.priority="",d.changed=!1)};return s?(d.changed=!0,d.value=document.documentElement.style.getPropertyValue("overflow"),d.priority=document.documentElement.style.getPropertyPriority("overflow"),document.documentElement.style.setProperty("overflow","revert","important")):f(),f}return()=>{}},[s]),t?l.jsxs(C1,{prepend:e||l.jsx(G,{sx:{color:a.palette.grey[500]},className:"header-menu","aria-label":"header menu button",onClick:()=>r(!s),children:s?l.jsx(Ye,{}):l.jsx(Qe,{})}),...i,children:[!n&&h,n&&l.jsx(Je,{open:s,onClose:()=>r(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:void 0},anchor:"top",sx:{top:64,zIndex:a.zIndex.appBar-1},slotProps:{paper:{sx:{top:64,bottom:0,boxShadow:"none",backgroundImage:"none",backgroundColor:a.palette.background.paper,"& .navmenu.navmenu--inline":{margin:0,padding:0}}}},children:l.jsx($1,{children:h})})]}):l.jsx(Ce,{prepend:e,...i})}const C1=P(Ce)`
119
119
  .header-menu {
120
120
  display: none;
121
121
  }
@@ -129,7 +129,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
129
129
  margin-right: 8px;
130
130
  }
131
131
  }
132
- `,W1=S(q)`
132
+ `,$1=P(Le)`
133
133
  padding-top: 8px;
134
134
  padding-bottom: 16px;
135
135
  .navmenu {
@@ -139,19 +139,20 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
139
139
  border: 0;
140
140
  }
141
141
  }
142
- `,E={"did-space":{start:"#7D3AC5",end:"#9761D1"},"app-space":{start:"#6CC68D",end:"#47B871"},"app-purchase":{start:"#DE7021",end:"#E48D4E"},"app-passport":{start:"#3882C7",end:"#7AB2F6"},"app-kyc":{start:"#3882C7",end:"#7AB2F6"}},z=["#E94E4E","#E41115","#E96B4E","#E5502E","#E98F4E","#E57A2E","#E98F4E","#E5A82E","#DACD5D","#DAC825","#BDD13D","#C8E31C","#AEE94E","#7FD558","#52CC19","#4FC469","#59DE9C","#19CC73","#5ED9D1","#19CCC0","#4ED7E9","#19B7CC","#45ACE8","#1C97DE","#4E68E9","#2E4DE5","#7F4EE9","#682EE5","#BE65E7","#AF40E2","#DF58C2","#E94E8F"];function X(e){const t=e.replace("#",""),i=parseInt(t.slice(0,2),16)/255,l=parseInt(t.slice(2,4),16)/255,n=parseInt(t.slice(4,6),16)/255,o=Math.max(i,l,n),r=Math.min(i,l,n);let h,d;const f=(o+r)/2;if(o===r)h=0,d=0;else{const g=o-r;switch(d=f>.5?g/(2-o-r):g/(o+r),o){case i:h=(l-n)/g+(l<n?6:0);break;case l:h=(n-i)/g+2;break;case n:h=(i-l)/g+4;break}h/=6}return[h,d,f]}function O(e,t,i){let l,n,o;if(t===0)l=i,n=i,o=i;else{const r=(f,g,L)=>{let c=L;return c<0&&(c+=1),c>1&&(c-=1),c<.16666666666666666?f+(g-f)*6*c:c<.5?g:c<.6666666666666666?f+(g-f)*(.6666666666666666-c)*6:f},h=i<.5?i*(1+t):i+t-i*t,d=2*i-h;l=r(d,h,e+1/3),n=r(d,h,e),o=r(d,h,e-1/3)}return`#${[Math.round(l*255),Math.round(n*255),Math.round(o*255)].map(r=>r.toString(16).padStart(2,"0")).join("")}`}function e1(e){if(e){const t=X(e),i=[t[0]];t[1]>.7?i.push(.7):i.push(t[1]),t[2]>.6?i.push(.6):t[2]<.3?i.push(.3):i.push(t[2]);const l=[i[0],i[1],i[2]-.1],n=O(...i);return{start:O(...l),end:n}}return E["app-passport"]}function t1(e){return`#${G1.toHex(D1.Hasher.SHA3.hash224(e)).slice(-6)}`}function q1(e){return e1(t1(e))}const s=(e,t)=>[e,t].join("-"),J1=228,K1=258,Q1=e=>/^(0x)?[0-9a-f]{40}$/i.test(e),Y1=e=>{const t=Uint8Array.from(e.slice(2).match(/.{1,2}/g).map(i=>parseInt(i,16))).slice(0,8).reduce((i,l)=>i+l,0)%z.length;return z[t]},i1=(e,t=5)=>e.length>2*t?`${e.slice(0,t)}..${e.slice(-t)}`:e,l1=(e,t,i)=>e==="did-space"?(l,n,o)=>`<svg
142
+ `;var U={},R={},re;function B(){if(re)return R;re=1,Object.defineProperty(R,"__esModule",{value:!0}),R.encode=t;const e=C();function t(i,a="hex"){return["hex","base16"].includes(a)?(0,e.toHex)(i):a==="base58"?(0,e.toBase58)(i):a==="base64"?(0,e.toBase64)(i):a==="Uint8Array"?(0,e.toUint8Array)(i):a==="buffer"?(0,e.toBuffer)(i):i}return R}var $={},ne;function S1(){if(ne)return $;ne=1;var e=$&&$.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty($,"__esModule",{value:!0}),$.KeccakHasher=void 0;const t=e(be()),i=C(),a=B();class n{constructor(){[224,256,384,512].forEach(r=>{const h=`hash${r}`,d=c=>t.default[`keccak${r}`](c),f=(c,u)=>u===1?d(c):f(d(c),u-1);this[h]=(c,u=1,o="hex")=>{let g=c;try{g=(0,i.toUint8Array)(c)}catch{}const x=f(g,u);return(0,a.encode)(`0x${x}`,o)}})}}return $.KeccakHasher=n,$.default=new n,$}var O={},se;function M1(){if(se)return O;se=1,Object.defineProperty(O,"__esModule",{value:!0}),O.Sha2Hasher=void 0;const e=C(),t=r1(),i=B(),a={sha224:t.sha224,sha256:t.sha256,sha384:t.sha384,sha512:t.sha512};class n{constructor(){[224,256,384,512].forEach(r=>{const h=`hash${r}`,d=a[`sha${r}`],f=(c,u)=>{let o=c;try{o=(0,e.toUint8Array)(c)}catch{}return u===1?`0x${d().update(o).digest("hex")}`:f(f(o,1),u-1)};this[h]=(c,u=2,o="hex")=>{const g=f(c,u);return(0,i.encode)(g,o)}})}}return O.Sha2Hasher=n,O.default=new n,O}var S={},le;function _1(){if(le)return S;le=1;var e=S&&S.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(S,"__esModule",{value:!0}),S.Sha3Hasher=void 0;const t=e(be()),i=C(),a=B();class n{constructor(){[224,256,384,512].forEach(r=>{const h=`hash${r}`,d=t.default[`sha3_${r}`],f=(c,u)=>u===1?d(c):f(d(c),u-1);this[h]=(c,u=1,o="hex")=>{let g=c;try{g=(0,i.toUint8Array)(c)}catch{}const x=f(g,u);return(0,a.encode)(`0x${x}`,o)}})}}return S.Sha3Hasher=n,S.default=new n,S}var M={},D={},oe;function ee(){if(oe)return D;oe=1;var e=D&&D.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(D,"__esModule",{value:!0});const t=e(n1());return D.default=t.default.create("genKeyPair","getPublicKey","sign","verify"),D}var ce;function E1(){if(ce)return M;ce=1;var e=M&&M.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(M,"__esModule",{value:!0}),M.Ed25519Signer=void 0;const t=e(s1()),i=e(X()),a=C(),n=e(ee()),s=B(),r=t.default.sign;class h extends n.default{constructor(){super()}genKeyPair(f="hex",c){const u=c?(0,a.toUint8Array)(c):new Uint8Array((0,i.default)(32));if(u.byteLength!==32)throw new Error("Invalid seed to generate key pair");const o=r.keyPair.fromSeed(u);return o.publicKey=(0,s.encode)(o.publicKey,f),o.secretKey=(0,s.encode)(o.secretKey,f),o}getPublicKey(f,c="hex"){const u=(0,a.toUint8Array)(f),o=r.keyPair.fromSecretKey(u).publicKey;return(0,s.encode)(o,c)}sign(f,c,u="hex"){const o=(0,a.toUint8Array)(c),g=(0,a.toUint8Array)(f),x=r.detached(g,o);return(0,s.encode)(x,u)}verify(f,c,u){const o=(0,a.toUint8Array)(u),g=(0,a.toUint8Array)(f),x=(0,a.toUint8Array)(c);return r.detached.verify(g,x,o)}}return M.Ed25519Signer=h,M.default=new h,M}var _={},E={},de;function $e(){if(de)return E;de=1;var e=E&&E.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(E,"__esModule",{value:!0}),E.Secp256k1Signer=void 0;const t=e(l1()),i=C(),a=e(X()),n=e(ee()),s=B(),r=t.default.ec,h=new r("secp256k1");class d extends n.default{constructor(){super(),this.pkHasFormatPrefix=!0,this.pkCompressed=!1}isValidSK(c){if(c.byteLength!==32)return!1;const u=new i.BN(c);return u.cmp(h.curve.n)<0&&!u.isZero()}genKeyPair(c="hex"){let u=null;do u=new Uint8Array((0,a.default)(32));while(!this.isValidSK(u));const o=this.getPublicKey((0,i.toHex)(u));return{secretKey:(0,s.encode)(u,c),publicKey:(0,s.encode)(o,c)}}getPublicKey(c,u="hex"){if(!this.isValidSK((0,i.toUint8Array)(c)))throw new Error("Invalid secret key");let o=h.keyFromPrivate((0,i.toBuffer)(c)).getPublic(this.pkCompressed,"hex");return this.pkHasFormatPrefix===!1&&(o=o.slice(2)),(0,s.encode)(`0x${o}`,u)}sign(c,u,o="hex"){let g=c;try{g=(0,i.toUint8Array)(c)}catch{}const x=h.keyFromPrivate((0,i.toBuffer)(u)).sign((0,i.stripHexPrefix)(g),{canonical:!0}).toDER("hex");return(0,s.encode)(`0x${x}`,o)}verify(c,u,o){let g=c;try{g=(0,i.toUint8Array)(c)}catch{}let x=(0,i.toBuffer)(o);return this.pkHasFormatPrefix===!1&&x[0]!==4&&x.byteLength===64&&(x=V.concat([V.from([4]),x])),h.keyFromPublic(x).verify((0,i.stripHexPrefix)(g),(0,i.stripHexPrefix)((0,i.toHex)(u)))}}return E.Secp256k1Signer=d,E.default=new d,E}var he;function j1(){if(he)return _;he=1;var e=_&&_.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_,"__esModule",{value:!0}),_.EthereumSigner=void 0;const t=e(o1()),i=e(c1()),a=C(),n=$e();class s extends n.Secp256k1Signer{constructor(){super(),this.pkHasFormatPrefix=!1}ethHash(h){const d=(0,a.isHexStrict)(h)?h:(0,a.utf8ToHex)(h),f=(0,a.hexToBytes)(d),c=V.from(f),u=`Ethereum Signed Message:
143
+ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSign(h,d){return t.default.sign(h,d)}ethRecover(h,d){return t.default.recover(h,d)}}return _.EthereumSigner=s,_.default=new s,_}var j={},pe;function H1(){if(pe)return j;pe=1;var e=j&&j.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(j,"__esModule",{value:!0}),j.PasskeySigner=void 0;const t=C(),i=d1(),a=e(ee());class n extends a.default{constructor(){super()}genKeyPair(r="hex",h){throw new Error("Not supported")}getPublicKey(r,h="hex"){throw new Error("Not supported")}sign(r,h,d="hex"){throw new Error("Not supported")}async verify(r,h,d,f){const c=JSON.parse(f);if(!c.authenticatorData||!c.clientDataJSON)throw new Error("extra.authenticatorData or extra.clientDataJSON is required for passkey signature verification");const u=(0,t.toBuffer)((0,t.fromBase64)(c.authenticatorData)),o=await(0,i.toHash)(i.isoBase64URL.toBuffer(c.clientDataJSON));if((0,i.decodeClientDataJSON)(c.clientDataJSON).challenge!==(0,t.toBase64)(r))throw new Error("challenge mismatch for passkey signature");return(0,i.verifySignature)({signature:i.isoBase64URL.toBuffer(typeof h=="string"?h:(0,t.toBase64)(h)),data:i.isoUint8Array.concat([u,o]),credentialPublicKey:d})}}return j.PasskeySigner=n,j.default=new n,j}var fe;function Z1(){return fe||(fe=1,function(e){var t=U&&U.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.toTxHash=e.Hashers=e.Signers=e.types=e.Hasher=e.Signer=void 0,e.getSigner=u,e.getHasher=o,e.getRandomBytes=g;const i=t(X()),a=B(),n=t(S1()),s=t(M1()),r=t(_1()),h=t(E1()),d=t(j1()),f=t($e()),c=t(H1());e.Signer={Ed25519:h.default,Secp256k1:f.default,Ethereum:d.default,Passkey:c.default},e.Hasher={SHA2:s.default,SHA3:r.default,Keccak:n.default},e.types={KeyType:{ED25519:0,SECP256K1:1,ETHEREUM:2,PASSKEY:3},HashType:{KECCAK:0,SHA3:1,KECCAK_384:2,SHA3_384:3,KECCAK_512:4,SHA3_512:5,SHA2:6},RoleType:{ROLE_ACCOUNT:0,ROLE_NODE:1,ROLE_DEVICE:2,ROLE_APPLICATION:3,ROLE_SMART_CONTRACT:4,ROLE_BOT:5,ROLE_ASSET:6,ROLE_STAKE:7,ROLE_VALIDATOR:8,ROLE_GROUP:9,ROLE_TX:10,ROLE_TETHER:11,ROLE_SWAP:12,ROLE_DELEGATION:13,ROLE_VC:14,ROLE_BLOCKLET:15,ROLE_STORE:16,ROLE_TOKEN:17,ROLE_FACTORY:18,ROLE_ROLLUP:19,ROLE_STORAGE:20,ROLE_PROFILE:21,ROLE_PASSKEY:22,ROLE_TOKEN_FACTORY:23,ROLE_ANY:63},EncodingType:{BASE16:0,BASE58:1}};function u(y){if(typeof e.Signers[y]>"u")throw new Error(`Unsupported signer type: ${y}`);return e.Signers[y]}function o(y){if(typeof e.Hashers[y]>"u")throw new Error(`Unsupported hash type: ${y}`);return e.Hashers[y]}function g(y=32,L="hex"){return(0,a.encode)((0,i.default)(y),L)}e.Signers=Object.freeze({[e.types.KeyType.ED25519]:e.Signer.Ed25519,[e.types.KeyType.SECP256K1]:e.Signer.Secp256k1,[e.types.KeyType.ETHEREUM]:e.Signer.Ethereum,[e.types.KeyType.PASSKEY]:e.Signer.Passkey}),e.Hashers=Object.freeze({[e.types.HashType.KECCAK]:e.Hasher.Keccak.hash256,[e.types.HashType.KECCAK_384]:e.Hasher.Keccak.hash384,[e.types.HashType.KECCAK_512]:e.Hasher.Keccak.hash512,[e.types.HashType.SHA3]:e.Hasher.SHA3.hash256,[e.types.HashType.SHA3_384]:e.Hasher.SHA3.hash384,[e.types.HashType.SHA3_512]:e.Hasher.SHA3.hash512,[e.types.HashType.SHA2]:e.Hasher.SHA2.hash256});const x=y=>e.Hasher.SHA2.hash256(y,1,"hex").replace(/^0x/,"").toUpperCase();e.toTxHash=x}(U)),U}var O1=Z1();const z={"did-space":{start:"#7D3AC5",end:"#9761D1"},"app-space":{start:"#6CC68D",end:"#47B871"},"app-purchase":{start:"#DE7021",end:"#E48D4E"},"app-passport":{start:"#3882C7",end:"#7AB2F6"},"app-kyc":{start:"#3882C7",end:"#7AB2F6"}},J=["#E94E4E","#E41115","#E96B4E","#E5502E","#E98F4E","#E57A2E","#E98F4E","#E5A82E","#DACD5D","#DAC825","#BDD13D","#C8E31C","#AEE94E","#7FD558","#52CC19","#4FC469","#59DE9C","#19CC73","#5ED9D1","#19CCC0","#4ED7E9","#19B7CC","#45ACE8","#1C97DE","#4E68E9","#2E4DE5","#7F4EE9","#682EE5","#BE65E7","#AF40E2","#DF58C2","#E94E8F"];function Se(e){const t=e.replace("#",""),i=parseInt(t.slice(0,2),16)/255,a=parseInt(t.slice(2,4),16)/255,n=parseInt(t.slice(4,6),16)/255,s=Math.max(i,a,n),r=Math.min(i,a,n);let h,d;const f=(s+r)/2;if(s===r)h=0,d=0;else{const c=s-r;switch(d=f>.5?c/(2-s-r):c/(s+r),s){case i:h=(a-n)/c+(a<n?6:0);break;case a:h=(n-i)/c+2;break;case n:h=(i-a)/c+4;break}h/=6}return[h,d,f]}function Y(e,t,i){let a,n,s;if(t===0)a=i,n=i,s=i;else{const r=(f,c,u)=>{let o=u;return o<0&&(o+=1),o>1&&(o-=1),o<.16666666666666666?f+(c-f)*6*o:o<.5?c:o<.6666666666666666?f+(c-f)*(.6666666666666666-o)*6:f},h=i<.5?i*(1+t):i+t-i*t,d=2*i-h;a=r(d,h,e+1/3),n=r(d,h,e),s=r(d,h,e-1/3)}return`#${[Math.round(a*255),Math.round(n*255),Math.round(s*255)].map(r=>r.toString(16).padStart(2,"0")).join("")}`}function Me(e){if(e){const t=Se(e),i=[t[0]];t[1]>.7?i.push(.7):i.push(t[1]),t[2]>.6?i.push(.6):t[2]<.3?i.push(.3):i.push(t[2]);const a=[i[0],i[1],i[2]-.1],n=Y(...i);return{start:Y(...a),end:n}}return z["app-passport"]}function _e(e){return`#${w1.toHex(O1.Hasher.SHA3.hash224(e)).slice(-6)}`}function D1(e){return Me(_e(e))}const p=(e,t)=>[e,t].join("-"),A1=228,B1=258,U1=e=>/^(0x)?[0-9a-f]{40}$/i.test(e),V1=e=>{const t=Uint8Array.from(e.slice(2).match(/.{1,2}/g).map(i=>parseInt(i,16))).slice(0,8).reduce((i,a)=>i+a,0)%J.length;return J[t]},Ee=(e,t=5)=>e.length>2*t?`${e.slice(0,t)}..${e.slice(-t)}`:e,je=(e,t,i)=>e==="did-space"?(a,n,s)=>`<svg
143
144
  width="${n}"
144
- height="${o}"
145
+ height="${s}"
145
146
  viewBox="0 0 228 258"
146
147
  fill="none"
147
148
  xmlns="http://www.w3.org/2000/svg"
148
149
  xmlns:xlink="http://www.w3.org/1999/xlink">
149
- <g filter="url(#${s(t,"layout-filter")})">
150
+ <g filter="url(#${p(t,"layout-filter")})">
150
151
  <path
151
152
  d="M56.9706 2C53.788 2 50.7357 3.26428 48.4853 5.51472L7.51472 46.4853C5.26428 48.7357 4 51.788 4 54.9706V240C4 246.627 9.37258 252 16 252H212C218.627 252 224 246.627 224 240V14C224 7.37258 218.627 2 212 2H56.9706Z"
152
- fill="url(#${s(t,"header-paint")})" />
153
+ fill="url(#${p(t,"header-paint")})" />
153
154
  <mask
154
- id="${s(t,"layout-mask")}"
155
+ id="${p(t,"layout-mask")}"
155
156
  style="mask-type: alpha"
156
157
  maskUnits="userSpaceOnUse"
157
158
  x="4"
@@ -162,14 +163,14 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
162
163
  d="M56.9706 2C53.788 2 50.7357 3.26428 48.4853 5.51472L7.51472 46.4853C5.26428 48.7357 4 51.788 4 54.9706V240C4 246.627 9.37258 252 16 252H212C218.627 252 224 246.627 224 240V14C224 7.37258 218.627 2 212 2H56.9706Z"
163
164
  fill="#D9D9D9" />
164
165
  </mask>
165
- <g mask="url(#${s(t,"layout-mask")})">
166
+ <g mask="url(#${p(t,"layout-mask")})">
166
167
  <rect x="4" y="2" width="220" height="125" fill="none" />
167
- <rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
168
+ <rect x="4" y="127" width="220" height="125" fill="url(#${p(t,"footer-paint")})" />
168
169
  </g>
169
170
  </g>
170
171
  <defs>
171
172
  <filter
172
- id="${s(t,"layout-filter")}"
173
+ id="${p(t,"layout-filter")}"
173
174
  x="0"
174
175
  y="0"
175
176
  width="228"
@@ -190,7 +191,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
190
191
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1582_53235" result="shape" />
191
192
  </filter>
192
193
  <linearGradient
193
- id="${s(t,"header-paint")}"
194
+ id="${p(t,"header-paint")}"
194
195
  x1="220.071"
195
196
  y1="252"
196
197
  x2="-24.022"
@@ -200,7 +201,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
200
201
  <stop offset="1" stop-color="${i.end}" />
201
202
  </linearGradient>
202
203
  <linearGradient
203
- id="${s(t,"footer-paint")}"
204
+ id="${p(t,"footer-paint")}"
204
205
  x1="224"
205
206
  y1="157.738"
206
207
  x2="1.00001"
@@ -210,17 +211,17 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
210
211
  <stop offset="1" stop-color="#272727" />
211
212
  </linearGradient>
212
213
  </defs>
213
- ${l}
214
- </svg>`:e==="app-space"?(l,n,o)=>`<svg
214
+ ${a}
215
+ </svg>`:e==="app-space"?(a,n,s)=>`<svg
215
216
  width="${n}"
216
- height="${o}"
217
+ height="${s}"
217
218
  viewBox="0 0 228 258"
218
219
  fill="none"
219
220
  xmlns="http://www.w3.org/2000/svg"
220
221
  xmlns:xlink="http://www.w3.org/1999/xlink">
221
- <g filter="url(#${s(t,"layout-filter")})">
222
+ <g filter="url(#${p(t,"layout-filter")})">
222
223
  <mask
223
- id="${s(t,"layout-mask")}"
224
+ id="${p(t,"layout-mask")}"
224
225
  style="mask-type: alpha"
225
226
  maskUnits="userSpaceOnUse"
226
227
  x="4"
@@ -231,17 +232,17 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
231
232
  d="M187.029 2C190.212 2 193.264 3.26428 195.515 5.51472L220.485 30.4853C222.736 32.7357 224 35.788 224 38.9706V240C224 246.627 218.627 252 212 252H40.4706C37.288 252 34.2357 250.736 31.9853 248.485L7.51472 224.015C5.26428 221.764 4 218.712 4 215.529V14C4 7.37258 9.37259 2 16 2H187.029Z"
232
233
  fill="#7D37D7" />
233
234
  </mask>
234
- <g mask="url(#${s(t,"layout-mask")})">
235
+ <g mask="url(#${p(t,"layout-mask")})">
235
236
  <path
236
237
  d="M187.029 2C190.212 2 193.264 3.26428 195.515 5.51472L220.485 30.4853C222.736 32.7357 224 35.788 224 38.9706V240C224 246.627 218.627 252 212 252H40.4706C37.288 252 34.2357 250.736 31.9853 248.485L7.51472 224.015C5.26428 221.764 4 218.712 4 215.529V14C4 7.37258 9.37259 2 16 2H187.029Z"
237
- fill="url(#${s(t,"header-paint")})" />
238
+ fill="url(#${p(t,"header-paint")})" />
238
239
  <rect x="4" y="2" width="220" height="125" fill="none" />
239
- <path d="M4 127H224V252H4V127Z" fill="url(#${s(t,"footer-paint")})" />
240
+ <path d="M4 127H224V252H4V127Z" fill="url(#${p(t,"footer-paint")})" />
240
241
  </g>
241
242
  </g>
242
243
  <defs>
243
244
  <filter
244
- id="${s(t,"layout-filter")}"
245
+ id="${p(t,"layout-filter")}"
245
246
  x="0"
246
247
  y="0"
247
248
  width="228"
@@ -262,7 +263,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
262
263
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54199" result="shape" />
263
264
  </filter>
264
265
  <linearGradient
265
- id="${s(t,"header-paint")}"
266
+ id="${p(t,"header-paint")}"
266
267
  x1="211.69"
267
268
  y1="7.13393"
268
269
  x2="51.0187"
@@ -272,7 +273,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
272
273
  <stop offset="1" stop-color="${i.end}" />
273
274
  </linearGradient>
274
275
  <linearGradient
275
- id="${s(t,"footer-paint")}"
276
+ id="${p(t,"footer-paint")}"
276
277
  x1="224"
277
278
  y1="157.738"
278
279
  x2="1.00001"
@@ -282,17 +283,17 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
282
283
  <stop offset="1" stop-color="#272727" />
283
284
  </linearGradient>
284
285
  </defs>
285
- ${l}
286
- </svg>`:e==="app-purchase"?(l,n,o)=>`<svg
286
+ ${a}
287
+ </svg>`:e==="app-purchase"?(a,n,s)=>`<svg
287
288
  width="${n}"
288
- height="${o}"
289
+ height="${s}"
289
290
  viewBox="0 0 228 258"
290
291
  fill="none"
291
292
  xmlns="http://www.w3.org/2000/svg"
292
293
  xmlns:xlink="http://www.w3.org/1999/xlink">
293
- <g filter="url(#${s(t,"layout-filter")})">
294
+ <g filter="url(#${p(t,"layout-filter")})">
294
295
  <mask
295
- id="${s(t,"layout-mask")}"
296
+ id="${p(t,"layout-mask")}"
296
297
  style="mask-type: alpha"
297
298
  maskUnits="userSpaceOnUse"
298
299
  x="4"
@@ -303,16 +304,16 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
303
304
  d="M4 14C4 7.37258 9.37258 2 16 2H212C218.627 2 224 7.37258 224 14V240C224 246.627 218.627 252 212 252H16C9.37258 252 4 246.627 4 240V14Z"
304
305
  fill="#7D37D7" />
305
306
  </mask>
306
- <g mask="url(#${s(t,"layout-mask")})">
307
- <rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${s(t,"header-paint")})" />
307
+ <g mask="url(#${p(t,"layout-mask")})">
308
+ <rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${p(t,"header-paint")})" />
308
309
  <rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
309
310
  <rect x="4" y="2" width="220" height="125" fill="none" />
310
- <rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
311
+ <rect x="4" y="127" width="220" height="125" fill="url(#${p(t,"footer-paint")})" />
311
312
  </g>
312
313
  </g>
313
314
  <defs>
314
315
  <filter
315
- id="${s(t,"layout-filter")}"
316
+ id="${p(t,"layout-filter")}"
316
317
  x="0"
317
318
  y="0"
318
319
  width="228"
@@ -333,7 +334,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
333
334
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54637" result="shape" />
334
335
  </filter>
335
336
  <linearGradient
336
- id="${s(t,"header-paint")}"
337
+ id="${p(t,"header-paint")}"
337
338
  x1="224"
338
339
  y1="252"
339
340
  x2="46.7372"
@@ -343,7 +344,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
343
344
  <stop offset="1" stop-color="${i.end}" />
344
345
  </linearGradient>
345
346
  <linearGradient
346
- id="${s(t,"footer-paint")}"
347
+ id="${p(t,"footer-paint")}"
347
348
  x1="224"
348
349
  y1="157.738"
349
350
  x2="1.00001"
@@ -353,17 +354,17 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
353
354
  <stop offset="1" stop-color="#272727" />
354
355
  </linearGradient>
355
356
  </defs>
356
- ${l}
357
- </svg>`:e==="app-passport"?(l,n,o)=>`<svg
357
+ ${a}
358
+ </svg>`:e==="app-passport"?(a,n,s)=>`<svg
358
359
  width="${n}"
359
- height="${o}"
360
+ height="${s}"
360
361
  viewBox="0 0 228 258"
361
362
  fill="none"
362
363
  xmlns="http://www.w3.org/2000/svg"
363
364
  xmlns:xlink="http://www.w3.org/1999/xlink">
364
- <g filter="url(#${s(t,"layout-filter")})">
365
+ <g filter="url(#${p(t,"layout-filter")})">
365
366
  <mask
366
- id="${s(t,"layout-mask")}"
367
+ id="${p(t,"layout-mask")}"
367
368
  style="mask-type: alpha"
368
369
  maskUnits="userSpaceOnUse"
369
370
  x="4"
@@ -376,16 +377,16 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
376
377
  d="M4 14C4 7.37258 9.37258 2 16 2H212C218.627 2 224 7.37258 224 14V115C224 117.209 222.102 118.917 220.164 119.978C217.683 121.336 216 123.972 216 127C216 130.028 217.683 132.664 220.164 134.022C222.102 135.083 224 136.791 224 139V240C224 246.627 218.627 252 212 252H16C9.37258 252 4 246.627 4 240V139C4 136.791 5.89809 135.083 7.83588 134.022C10.3173 132.664 12 130.028 12 127C12 123.972 10.3173 121.336 7.83589 119.978C5.89809 118.917 4 117.209 4 115V14Z"
377
378
  fill="#7D37D7" />
378
379
  </mask>
379
- <g mask="url(#${s(t,"layout-mask")})">
380
- <rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${s(t,"header-paint")})" />
380
+ <g mask="url(#${p(t,"layout-mask")})">
381
+ <rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${p(t,"header-paint")})" />
381
382
  <rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
382
383
  <rect x="4" y="2" width="220" height="125" fill="none" />
383
- <rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
384
+ <rect x="4" y="127" width="220" height="125" fill="url(#${p(t,"footer-paint")})" />
384
385
  </g>
385
386
  </g>
386
387
  <defs>
387
388
  <filter
388
- id="${s(t,"layout-filter")}"
389
+ id="${p(t,"layout-filter")}"
389
390
  x="0"
390
391
  y="0"
391
392
  width="228"
@@ -406,7 +407,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
406
407
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54471" result="shape" />
407
408
  </filter>
408
409
  <linearGradient
409
- id="${s(t,"header-paint")}"
410
+ id="${p(t,"header-paint")}"
410
411
  x1="224"
411
412
  y1="252"
412
413
  x2="46.7372"
@@ -416,7 +417,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
416
417
  <stop offset="1" stop-color="${i.end}" />
417
418
  </linearGradient>
418
419
  <linearGradient
419
- id="${s(t,"footer-paint")}"
420
+ id="${p(t,"footer-paint")}"
420
421
  x1="224"
421
422
  y1="157.738"
422
423
  x2="1.00001"
@@ -426,15 +427,15 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
426
427
  <stop offset="1" stop-color="#272727" />
427
428
  </linearGradient>
428
429
  </defs>
429
- ${l}
430
- </svg>`:e==="app-kyc"?(l,n,o)=>`<svg width="${n}" height="${o}" viewBox="0 0 228 258" fill="none" xmlns="http://www.w3.org/2000/svg"
430
+ ${a}
431
+ </svg>`:e==="app-kyc"?(a,n,s)=>`<svg width="${n}" height="${s}" viewBox="0 0 228 258" fill="none" xmlns="http://www.w3.org/2000/svg"
431
432
  xmlns:xlink="http://www.w3.org/1999/xlink">
432
- <g clip-path="url(#${s(t,"border-top")})">
433
- <g clip-path="url(#${s(t,"border-bottom")})">
433
+ <g clip-path="url(#${p(t,"border-top")})">
434
+ <g clip-path="url(#${p(t,"border-bottom")})">
434
435
  <path fill-rule="evenodd" clip-rule="evenodd"
435
436
  d="M224 2H4V127H224V2ZM102 12C99.7909 12 98 13.7909 98 16C98 18.2091 99.7909 20 102 20H126C128.209 20 130 18.2091 130 16C130 13.7909 128.209 12 126 12H102Z"
436
437
  style="fill:${i.start};fill-opacity:1;" />
437
- <g clip-path="url(#${s(t,"header-icon")})">
438
+ <g clip-path="url(#${p(t,"header-icon")})">
438
439
  <path
439
440
  d="M96.5 61C96.5 59.5413 97.0795 58.1424 98.1109 57.1109C99.1424 56.0795 100.541 55.5 102 55.5H104.5C105.952 55.4992 107.345 54.924 108.375 53.9L110.125 52.15C110.636 51.636 111.244 51.2281 111.913 50.9498C112.582 50.6714 113.3 50.5281 114.025 50.5281C114.75 50.5281 115.468 50.6714 116.137 50.9498C116.806 51.2281 117.414 51.636 117.925 52.15L119.675 53.9C120.705 54.925 122.1 55.5 123.55 55.5H126.05C127.509 55.5 128.908 56.0795 129.939 57.1109C130.971 58.1424 131.55 59.5413 131.55 61V63.5C131.55 64.95 132.125 66.345 133.15 67.375L134.9 69.125C135.414 69.6361 135.822 70.2438 136.1 70.9131C136.379 71.5824 136.522 72.3001 136.522 73.025C136.522 73.7499 136.379 74.4676 136.1 75.1369C135.822 75.8062 135.414 76.4139 134.9 76.925L133.15 78.675C132.126 79.7048 131.551 81.0977 131.55 82.55V85.05C131.55 86.5087 130.971 87.9076 129.939 88.9391C128.908 89.9705 127.509 90.55 126.05 90.55H123.55C122.098 90.5508 120.705 91.126 119.675 92.15L117.925 93.9C117.414 94.414 116.806 94.8219 116.137 95.1002C115.468 95.3786 114.75 95.5219 114.025 95.5219C113.3 95.5219 112.582 95.3786 111.913 95.1002C111.244 94.8219 110.636 94.414 110.125 93.9L108.375 92.15C107.345 91.126 105.952 90.5508 104.5 90.55H102C100.541 90.55 99.1424 89.9705 98.1109 88.9391C97.0795 87.9076 96.5 86.5087 96.5 85.05V82.55C96.4992 81.0977 95.924 79.7048 94.9 78.675L93.15 76.925C92.636 76.4139 92.2281 75.8062 91.9498 75.1369C91.6714 74.4676 91.5281 73.7499 91.5281 73.025C91.5281 72.3001 91.6714 71.5824 91.9498 70.9131C92.2281 70.2438 92.636 69.6361 93.15 69.125L94.9 67.375C95.924 66.3452 96.4992 64.9522 96.5 63.5V61Z"
440
441
  stroke="white" style="stroke:white;stroke-opacity:1;" stroke-width="3" stroke-linecap="round"
@@ -443,39 +444,39 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
443
444
  stroke-linecap="round" stroke-linejoin="round" />
444
445
  </g>
445
446
  </g>
446
- <rect width="220" height="125" transform="translate(4 126)" fill="url(#${s(t,"body-paint")})" style="" />
447
- ${l}
447
+ <rect width="220" height="125" transform="translate(4 126)" fill="url(#${p(t,"body-paint")})" style="" />
448
+ ${a}
448
449
  </g>
449
450
  <defs>
450
- <linearGradient id="${s(t,"body-paint")}" x1="220" y1="30.7377" x2="-2.99999" y2="30.7377"
451
+ <linearGradient id="${p(t,"body-paint")}" x1="220" y1="30.7377" x2="-2.99999" y2="30.7377"
451
452
  gradientUnits="userSpaceOnUse">
452
453
  <stop stop-color="#101010"
453
454
  style="stop-color:#101010;stop-color:color(display-p3 0.0625 0.0625 0.0625);stop-opacity:1;" />
454
455
  <stop offset="1" stop-color="#272727"
455
456
  style="stop-color:#272727;stop-color:color(display-p3 0.1542 0.1542 0.1542);stop-opacity:1;" />
456
457
  </linearGradient>
457
- <clipPath id="${s(t,"border-top")}">
458
+ <clipPath id="${p(t,"border-top")}">
458
459
  <rect x="4" y="2" width="220" height="250" rx="8" fill="white" style="fill:white;fill-opacity:1;" />
459
460
  </clipPath>
460
- <clipPath id="${s(t,"border-bottom")}">
461
+ <clipPath id="${p(t,"border-bottom")}">
461
462
  <rect width="220" height="125" fill="white" style="fill:white;fill-opacity:1;" transform="translate(4 2)" />
462
463
  </clipPath>
463
- <clipPath id="${s(t,"header-icon")}">
464
+ <clipPath id="${p(t,"header-icon")}">
464
465
  <rect width="60" height="60" fill="white" style="fill:white;fill-opacity:1;" transform="translate(84 43)" />
465
466
  </clipPath>
466
467
  </defs>
467
- </svg>`:()=>"",a1=(e,t,i)=>{const l=s(t,"header");if(e==="did-space")return`<g id="${l}" transform="translate(90, 42)" width="48" height="47" viewBox="0 0 48 47" fill="none">
468
+ </svg>`:()=>"",He=(e,t,i)=>{const a=p(t,"header");if(e==="did-space")return`<g id="${a}" transform="translate(90, 42)" width="48" height="47" viewBox="0 0 48 47" fill="none">
468
469
  <path
469
470
  d="M27.5999 2.53821L31.9962 0H47.9999V46.9586H31.9962L14.7939 37.0269L14.7939 9.93175L16.8325 8.75477L20.4222 10.8272L18.3836 12.0042V34.9544L32.9581 43.369H44.4103V3.58962H32.9581L31.1896 4.61068L27.5999 2.53821Z"
470
- fill="url(#${s(t,"space-gradient1")})" />
471
+ fill="url(#${p(t,"space-gradient1")})" />
471
472
  <path
472
473
  fill-rule="evenodd"
473
474
  clip-rule="evenodd"
474
475
  d="M29.6164 34.9544V12.0042L15.0419 3.58962H3.58962V43.369H15.0419L16.8159 42.3448L20.4055 44.4173L16.0037 46.9586H0V0H16.0037L33.206 9.93175V37.0269L31.1729 38.2007L27.5833 36.1282L29.6164 34.9544Z"
475
- fill="url(#${s(t,"space-gradient2")})" />
476
+ fill="url(#${p(t,"space-gradient2")})" />
476
477
  <defs>
477
478
  <linearGradient
478
- id="${s(t,"space-gradient1")}"
479
+ id="${p(t,"space-gradient1")}"
479
480
  x1="31.3969"
480
481
  y1="0"
481
482
  x2="31.3969"
@@ -485,7 +486,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
485
486
  <stop offset="1" stop-color="white" />
486
487
  </linearGradient>
487
488
  <linearGradient
488
- id="${s(t,"space-gradient2")}"
489
+ id="${p(t,"space-gradient2")}"
489
490
  x1="16.603"
490
491
  y1="0"
491
492
  x2="16.603"
@@ -495,7 +496,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
495
496
  <stop offset="1" stop-color="white" stop-opacity="0.4" />
496
497
  </linearGradient>
497
498
  </defs>
498
- </g>`;if(e==="app-purchase")return`<g id="${l}" transform="translate(90, 42)" width="47" height="48" viewBox="0 0 47 48" fill="none">
499
+ </g>`;if(e==="app-purchase")return`<g id="${a}" transform="translate(90, 42)" width="47" height="48" viewBox="0 0 47 48" fill="none">
499
500
  <path
500
501
  opacity="0.6"
501
502
  fill-rule="evenodd"
@@ -512,7 +513,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
512
513
  clip-rule="evenodd"
513
514
  d="M15.9236 25.8547V19.5111H22.2671V25.8547H15.9236ZM28.3539 19.5111H30.2908V21.448C30.2908 23.8817 28.3179 25.8547 25.8842 25.8547H23.9473V23.9177C23.9473 21.484 25.9202 19.5111 28.3539 19.5111ZM15.9236 33.8523H22.2671V27.5088H15.9236V33.8523ZM23.9473 33.8523V27.5088H30.2908V33.8523H23.9473Z"
514
515
  fill="white" />
515
- </g>`;if(e==="app-space")return`<g id="${l}" transform="translate(90, 42)" width="48" height="48" viewBox="0 0 48 48" fill="none">
516
+ </g>`;if(e==="app-space")return`<g id="${a}" transform="translate(90, 42)" width="48" height="48" viewBox="0 0 48 48" fill="none">
516
517
  <path
517
518
  fill-rule="evenodd"
518
519
  clip-rule="evenodd"
@@ -523,7 +524,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
523
524
  clip-rule="evenodd"
524
525
  d="M37.6141 18.623L23.7901 10.6417L9.96606 18.623V34.5856L23.7901 42.5669L37.6141 34.5856V18.623ZM11.4061 19.4544L23.7901 12.3045L36.1741 19.4544V33.7542L23.7901 40.9041L11.4061 33.7542V19.4544ZM21.4098 17.2848C21.4981 16.9757 21.7806 16.7626 22.1021 16.7626H25.478C25.7995 16.7626 26.082 16.9757 26.1703 17.2848L26.8128 19.5335L28.4022 20.4511L30.6709 19.8832C30.9827 19.8051 31.3085 19.9432 31.4693 20.2216L33.1572 23.1453C33.318 23.4237 33.2747 23.7749 33.0511 24.0059L31.4249 25.6867V27.5219L33.0511 29.2027C33.2747 29.4337 33.318 29.7849 33.1572 30.0633L31.4693 32.987C31.3085 33.2654 30.9827 33.4035 30.6709 33.3254L28.4022 32.7575L26.8128 33.6751L26.1703 35.9238C26.082 36.2329 25.7995 36.446 25.478 36.446H22.1021C21.7806 36.446 21.4981 36.2329 21.4098 35.9238L20.7673 33.6751L19.1779 32.7575L16.9093 33.3254C16.5974 33.4035 16.2716 33.2654 16.1109 32.987L14.4229 30.0633C14.2622 29.7849 14.3055 29.4337 14.529 29.2027L16.1552 27.5219V25.6867L14.529 24.0059C14.3055 23.7749 14.2622 23.4237 14.4229 23.1453L16.1109 20.2216C16.2716 19.9432 16.5974 19.8051 16.9093 19.8832L19.1779 20.4511L20.7673 19.5335L21.4098 17.2848ZM21.7396 20.6349C21.9014 20.5415 22.0205 20.3888 22.0719 20.2092L22.6452 18.2026H24.9349L25.5083 20.2092C25.5596 20.3888 25.6787 20.5415 25.8406 20.6349L27.9345 21.8438C28.0963 21.9373 28.2881 21.9641 28.4693 21.9187L30.4937 21.4119L31.6386 23.3949L30.1875 24.8947C30.0576 25.029 29.9849 25.2085 29.9849 25.3954V27.8132C29.9849 28.0001 30.0576 28.1796 30.1875 28.3139L31.6386 29.8137L30.4937 31.7967L28.4693 31.2899C28.2881 31.2445 28.0963 31.2713 27.9345 31.3648L25.8406 32.5737C25.6787 32.6671 25.5596 32.8198 25.5083 32.9994L24.9349 35.006H22.6452L22.0719 32.9994C22.0205 32.8198 21.9014 32.6671 21.7396 32.5737L19.6457 31.3648C19.4839 31.2713 19.2921 31.2445 19.1108 31.2899L17.0864 31.7967L15.9415 29.8137L17.3926 28.3139C17.5226 28.1796 17.5952 28.0001 17.5952 27.8132V25.3954C17.5952 25.2085 17.5226 25.029 17.3926 24.8947L15.9415 23.3949L17.0864 21.4119L19.1108 21.9187C19.2921 21.9641 19.4839 21.9373 19.6457 21.8438L21.7396 20.6349ZM23.7901 31.2306C21.2351 31.2306 19.1638 29.1593 19.1638 26.6043C19.1638 24.0493 21.2351 21.9781 23.7901 21.9781C26.3451 21.9781 28.4163 24.0493 28.4163 26.6043C28.4163 29.1593 26.3451 31.2306 23.7901 31.2306ZM26.9763 26.6043C26.9763 28.364 25.5498 29.7906 23.7901 29.7906C22.0303 29.7906 20.6038 28.364 20.6038 26.6043C20.6038 24.8446 22.0303 23.418 23.7901 23.418C25.5498 23.418 26.9763 24.8446 26.9763 26.6043Z"
525
526
  fill="white" />
526
- </g>`;if(e==="app-passport"){const n=s(t,"passport-avatar-mask");return i.icon?`<g id="${l}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
527
+ </g>`;if(e==="app-passport"){const n=p(t,"passport-avatar-mask");return i.icon?`<g id="${a}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
527
528
  <defs>
528
529
  <clipPath id="${n}">
529
530
  <circle cx="114" cy="20" r="20" fill="#FFFFFF" />
@@ -531,11 +532,11 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
531
532
  </defs>
532
533
  <image xlink:href="${i.icon}" x="94" y="0" width="40" height="40" clip-path="url(#${n})" />
533
534
  <text x="50%" y="55" width="228" font-size="14" fill="#FFFFFF" text-anchor="middle" dominant-baseline="middle" font-family="Helvetica, Arial, sans-serif">${i.name}</text>
534
- </g>`:`<g id="${l}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
535
+ </g>`:`<g id="${a}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
535
536
  <circle cx="114" cy="15" r="20" fill="#D9D9D9"/>
536
537
  <text x="50%" y="55" width="228" font-size="14" fill="#FFFFFF" text-anchor="middle" dominant-baseline="middle" font-family="Helvetica, Arial, sans-serif">${i.name}</text>
537
- </g>`}return e==="app-kyc"?`<g id="${s(t,"holder")}" transform="translate(24, 151)" width="180" height="24">
538
- <circle cx="12" cy="12" r="12" fill="url(#${s(t,"holder-image")})" />
538
+ </g>`}return e==="app-kyc"?`<g id="${p(t,"holder")}" transform="translate(24, 151)" width="180" height="24">
539
+ <circle cx="12" cy="12" r="12" fill="url(#${p(t,"holder-image")})" />
539
540
  <foreignObject x="32" y="0" width="156" height="24">
540
541
  <div
541
542
  xmlns="http://www.w3.org/1999/xhtml"
@@ -545,7 +546,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
545
546
  </div>
546
547
  </foreignObject>
547
548
  <defs>
548
- <pattern id="${s(t,"holder-image")}" width="24" height="24" patternUnits="userSpaceOnUse">
549
+ <pattern id="${p(t,"holder-image")}" width="24" height="24" patternUnits="userSpaceOnUse">
549
550
  <image
550
551
  xlink:href="${i.icon}"
551
552
  x="0"
@@ -554,8 +555,8 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
554
555
  height="24" />
555
556
  </pattern>
556
557
  </defs>
557
- </g>`:""},n1=(e,t,i,l=12)=>{const n=i==="app-kyc"?188:151;return i==="app-kyc"?`<g id="${s(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
558
- <g id="${s(t,"issuer-badge")}">
558
+ </g>`:""},Ze=(e,t,i,a=12)=>{const n=i==="app-kyc"?188:151;return i==="app-kyc"?`<g id="${p(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
559
+ <g id="${p(t,"issuer-badge")}">
559
560
  <path
560
561
  d="M11.3727 8.65674L12.5195 10.6436C12.5667 10.7254 12.5933 10.8174 12.5972 10.9118C12.601 11.0061 12.5818 11.1 12.5414 11.1854C12.501 11.2707 12.4404 11.345 12.365 11.4018C12.2895 11.4586 12.2014 11.4963 12.1083 11.5116L12.0423 11.518L11.977 11.5174L10.2661 11.4066L9.506 12.9442C9.46474 13.0275 9.4042 13.0997 9.32941 13.1549C9.25463 13.21 9.16775 13.2465 9.07602 13.2614C8.98428 13.2762 8.89033 13.2689 8.80198 13.2402C8.71362 13.2114 8.6334 13.1619 8.568 13.0959L8.52017 13.0411L8.47817 12.9769L7.33017 10.9895C8.13831 10.939 8.92378 10.7021 9.6251 10.2974C10.3264 9.89269 10.9246 9.33115 11.3727 8.65674Z"
561
562
  style="fill:white;fill-opacity:1;" />
@@ -569,23 +570,23 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
569
570
  <foreignObject x="18" y="-2" width="156" height="18">
570
571
  <div
571
572
  xmlns="http://www.w3.org/1999/xhtml"
572
- style="font-size: ${l}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
573
+ style="font-size: ${a}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
573
574
  >
574
575
  ${e.name}
575
576
  </div>
576
577
  </foreignObject>
577
- </g>`:e.icon?`<g id="${s(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
578
- <rect x="0" y="0" width="14" height="14" rx="2" fill="url(#${s(t,"issuer-image")})" />
578
+ </g>`:e.icon?`<g id="${p(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
579
+ <rect x="0" y="0" width="14" height="14" rx="2" fill="url(#${p(t,"issuer-image")})" />
579
580
  <foreignObject x="20" y="-2" width="156" height="18">
580
581
  <div
581
582
  xmlns="http://www.w3.org/1999/xhtml"
582
- style="font-size: ${l}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
583
+ style="font-size: ${a}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
583
584
  >
584
585
  ${e.name}
585
586
  </div>
586
587
  </foreignObject>
587
588
  <defs>
588
- <pattern id="${s(t,"issuer-image")}" width="14" height="14" patternUnits="userSpaceOnUse">
589
+ <pattern id="${p(t,"issuer-image")}" width="14" height="14" patternUnits="userSpaceOnUse">
589
590
  <image
590
591
  xlink:href="${e.icon}"
591
592
  x="0"
@@ -594,18 +595,18 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
594
595
  height="14" />
595
596
  </pattern>
596
597
  </defs>
597
- </g>`:`<g id="${s(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
598
+ </g>`:`<g id="${p(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
598
599
  <rect x="0" y="0" width="14" height="14" rx="2" fill="#6D6D6D"/>
599
600
  <foreignObject x="0" y="-2" width="176" height="18">
600
601
  <div
601
602
  xmlns="http://www.w3.org/1999/xhtml"
602
- style="font-size: ${l}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
603
+ style="font-size: ${a}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
603
604
  >
604
605
  ${e.name}
605
606
  </div>
606
607
  </foreignObject>
607
- </g>`},s1=(e,t,i,l=12)=>{const n=i==="app-kyc"?211:181;return i==="app-kyc"&&e.key==="email"?`<g id="${s(t,"extra")}" transform="translate(24, ${n})" width="180" height="15">
608
- <g id="${s(t,"extra-badge")}">
608
+ </g>`},Oe=(e,t,i,a=12)=>{const n=i==="app-kyc"?211:181;return i==="app-kyc"&&e.key==="email"?`<g id="${p(t,"extra")}" transform="translate(24, ${n})" width="180" height="15">
609
+ <g id="${p(t,"extra-badge")}">
609
610
  <path
610
611
  d="M12.8333 4.89545V10.4167C12.8334 10.8631 12.6628 11.2926 12.3566 11.6173C12.0504 11.9421 11.6316 12.1376 11.186 12.1638L11.0833 12.1667H2.91666C2.47029 12.1667 2.04078 11.9962 1.71601 11.6899C1.39124 11.3837 1.19577 10.965 1.16958 10.5194L1.16666 10.4167V4.89545L6.67625 8.5687L6.74391 8.6072C6.82366 8.64616 6.91124 8.66641 7 8.66641C7.08875 8.66641 7.17634 8.64616 7.25608 8.6072L7.32375 8.5687L12.8333 4.89545Z"
611
612
  style="fill:white;fill-opacity:1;" />
@@ -616,7 +617,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
616
617
  <text
617
618
  x="18"
618
619
  y="8"
619
- font-size="${l}"
620
+ font-size="${a}"
620
621
  font-family="Helvetica, Arial, sans-serif"
621
622
  fill="#D1D1D1"
622
623
  text-anchor="start"
@@ -624,11 +625,11 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
624
625
  dominant-baseline="middle">
625
626
  ${e.value}
626
627
  </text>
627
- </g>`:`<g id="${s(t,"extra")}" transform="translate(24, ${n})" width="180" height="14">
628
+ </g>`:`<g id="${p(t,"extra")}" transform="translate(24, ${n})" width="180" height="14">
628
629
  <text
629
630
  x="0"
630
631
  y="8"
631
- font-size="${l}"
632
+ font-size="${a}"
632
633
  font-family="Helvetica, Arial, sans-serif"
633
634
  fill="#D1D1D1"
634
635
  text-anchor="start"
@@ -638,7 +639,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
638
639
  <tspan
639
640
  dx="${e.key.length?4:0}"
640
641
  dy="0"
641
- font-size="${l}"
642
+ font-size="${a}"
642
643
  font-family="Helvetica, Arial, sans-serif"
643
644
  fill="#FFFFFF"
644
645
  text-anchor="start"
@@ -647,13 +648,13 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
647
648
  ${e.value}
648
649
  </tspan>
649
650
  </text>
650
- </g>`},r1=(e,t,i=10)=>{const l=e.replace("did:abt:",""),n=Q1(l),o=n?Y1(l):H1(l).color,r=`<g id="${s(t,"did-prefix")}" transform="translate(24, 210)" height="14">
651
+ </g>`},De=(e,t,i=10)=>{const a=e.replace("did:abt:",""),n=U1(a),s=n?V1(a):h1(a).color,r=`<g id="${p(t,"did-prefix")}" transform="translate(24, 210)" height="14">
651
652
  <text
652
653
  x="0"
653
654
  y="8"
654
655
  font-size="${i}"
655
656
  font-family="Helvetica, Arial, sans-serif"
656
- fill="${o}"
657
+ fill="${s}"
657
658
  text-anchor="start"
658
659
  alignment-baseline="middle"
659
660
  dominant-baseline="middle">
@@ -667,7 +668,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
667
668
  alignment-baseline="middle"
668
669
  dominant-baseline="middle">ABT:</tspan>
669
670
  </text>
670
- </g>`;let h="";n===!1&&(h=U1(l).replace("<svg ",`<g id="${s(t,"did-motif")}" transform="translate(67, 211) scale(0.12, 0.12)" width="12" height="12" `).replace("</svg>","</g>"));const d=`<g id="${s(t,"did-suffix")}" transform="translate(${n?67:80}, 210)" height="14">
671
+ </g>`;let h="";n===!1&&(h=p1(a).replace("<svg ",`<g id="${p(t,"did-motif")}" transform="translate(67, 211) scale(0.12, 0.12)" width="12" height="12" `).replace("</svg>","</g>"));const d=`<g id="${p(t,"did-suffix")}" transform="translate(${n?67:80}, 210)" height="14">
671
672
  <text
672
673
  x="0"
673
674
  y="8"
@@ -677,18 +678,18 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
677
678
  text-anchor="start"
678
679
  alignment-baseline="middle"
679
680
  dominant-baseline="middle">
680
- ${i1(l)}
681
+ ${Ee(a)}
681
682
  </text>
682
- </g>`;return[r,h,d].filter(Boolean).join("")},o1=e=>`<g id="${s(e,"verifiable-badge")}" transform="translate(189, 206)" width="22" height="22" viewBox="0 0 22 22" fill="none">
683
+ </g>`;return[r,h,d].filter(Boolean).join("")},Ae=e=>`<g id="${p(e,"verifiable-badge")}" transform="translate(189, 206)" width="22" height="22" viewBox="0 0 22 22" fill="none">
683
684
  <path
684
685
  fill-rule="evenodd"
685
686
  clip-rule="evenodd"
686
687
  d="M9.32218 0.226122L10.6305 0.0488281L10.6849 0.437063L9.84501 0.550946L9.90971 1.03495L10.6267 0.937887L10.6797 1.32612L9.96277 1.42318L10.0715 2.22942L9.60301 2.29283L9.32218 0.226122ZM7.90771 0.615652L7.46254 0.776122L8.17301 2.74448L8.61818 2.584L7.90771 0.615652ZM4.86783 2.18153L5.50065 1.77259C5.87336 1.53189 6.26289 1.46459 6.53595 1.88259C6.71202 2.15212 6.68901 2.3969 6.55052 2.60097L7.39783 3.04471L6.95265 3.32553L6.20681 2.91365L5.99371 3.04989L6.40265 3.68271L6.00536 3.94153L4.86783 2.18153ZM5.98983 2.60342C6.19948 2.474 6.24865 2.30706 6.14254 2.13365C6.03642 1.96024 5.88371 1.97448 5.67148 2.10906L5.4683 2.23848L5.78665 2.73153L5.98983 2.60342ZM3.72771 3.16506L2.85289 4.14083L4.40971 5.53848L5.30654 4.52906L5.01148 4.27024L4.43042 4.9173L4.07195 4.59248L4.54689 4.06189L4.25183 3.80306L3.7756 4.33495L3.46371 4.04765L4.02277 3.42389L3.72771 3.16506ZM1.27018 6.79765L1.49795 6.35118L2.48018 6.57118C2.5982 6.59558 2.70984 6.62299 2.82194 6.65053L2.82197 6.65053L2.82199 6.65054C2.9299 6.67704 3.03825 6.70365 3.15313 6.72777V6.71612C3.06117 6.63161 2.97134 6.55416 2.88178 6.47695L2.88178 6.47694L2.88177 6.47694L2.88177 6.47693C2.79991 6.40636 2.71829 6.33598 2.63548 6.26059L1.87971 5.598L2.09971 5.16706L3.67465 6.68118L3.41583 7.18718L1.27018 6.79765ZM12.0668 13.0321V8.62819L9.27011 7.0135H7.07252V14.6468H9.27011L9.61052 14.4503L10.2993 14.848L9.45467 15.3356H6.3837V6.32468H9.45467L12.7556 8.2305V13.4298L12.3655 13.6551L11.6767 13.2574L12.0668 13.0321ZM11.6799 6.81176L12.5235 6.3247H15.5945V15.3356H12.7914C12.6159 15.3356 12.4435 15.2894 12.2914 15.2017L9.22253 13.4298V8.23051L9.61372 8.00466L10.3025 8.40235L9.91135 8.6282V13.0321L12.7081 14.6468H14.9057V7.01351H12.7081L12.3687 7.20944L11.6799 6.81176ZM3.02371 13.5788C2.87489 13.0612 2.35465 12.7364 1.68042 12.9318C0.997126 13.1311 0.765479 13.6642 0.915596 14.1832C0.949598 14.3085 1.01116 14.4247 1.09579 14.5232C1.18042 14.6217 1.28599 14.7001 1.40477 14.7526L1.62089 14.4174C1.54869 14.3853 1.48413 14.3383 1.43148 14.2794C1.37883 14.2205 1.33929 14.1511 1.31548 14.0758C1.23007 13.7807 1.42418 13.5115 1.83313 13.3925C2.24207 13.2734 2.55007 13.4222 2.6303 13.7005C2.64794 13.7684 2.65199 13.8392 2.64222 13.9087C2.63245 13.9782 2.60905 14.0451 2.57336 14.1055L2.9383 14.266C2.99751 14.1629 3.03556 14.049 3.05022 13.931C3.06489 13.813 3.05588 13.6933 3.02371 13.5788ZM3.50642 14.9351L3.90889 15.5821C4.14571 15.9626 4.20654 16.3586 3.77948 16.6174C3.50841 16.7817 3.2655 16.7593 3.06364 16.6238L2.59795 17.478L2.31583 17.0238L2.74969 16.2773L2.6083 16.0506L1.96124 16.4518L1.71148 16.0467L3.50642 14.9351ZM3.06124 16.0635C3.19065 16.2771 3.3563 16.334 3.5336 16.2253C3.71089 16.1166 3.69795 15.9665 3.56595 15.7491L3.43654 15.542L2.93183 15.8552L3.06124 16.0635ZM5.8863 17.8404L4.91571 16.9345L3.47536 18.4861L4.46795 19.4114L4.74877 19.1086L4.10171 18.5094L4.4343 18.1522L4.96101 18.644L5.23407 18.3502L4.70736 17.8585L4.99465 17.5531L5.61324 18.1315L5.8863 17.8404ZM6.62136 18.3761L7.15065 18.6531C7.72265 18.9507 7.94265 19.4295 7.60748 20.0766C7.2723 20.7237 6.7443 20.8285 6.1956 20.5425L5.64301 20.2539L6.62136 18.3761ZM6.32501 20.1711C6.64207 20.3367 6.93842 20.2927 7.17266 19.8449C7.40689 19.3972 7.26454 19.1448 6.94748 18.9792L6.86595 18.9365L6.24477 20.1284L6.32501 20.1711ZM10.2061 19.6871L8.91195 19.4114L8.47324 21.4678L9.79971 21.7499L9.88383 21.3617L9.02324 21.1818L9.12418 20.7055L9.82948 20.8557L9.9123 20.4674L9.2083 20.3173L9.29501 19.898L10.1232 20.0753L10.2061 19.6871ZM11.1119 19.7647L11.6011 19.7337L12.2171 20.7482L12.4552 21.1986H12.4682C12.4606 21.152 12.452 21.1022 12.443 21.0501L12.443 21.0501C12.4093 20.8548 12.3704 20.6292 12.3582 20.4351L12.3116 19.6897L12.7658 19.6612L12.8952 21.7706L12.4061 21.8017L11.7901 20.7845L11.5519 20.3367H11.539C11.5471 20.3861 11.5559 20.4378 11.5651 20.491L11.5651 20.4913C11.5986 20.6862 11.6355 20.9012 11.6477 21.0964L11.6956 21.8457L11.2414 21.8741L11.1119 19.7647ZM13.6704 19.8812L14.2191 19.6871L14.7924 21.3034L15.2428 21.1442L14.6721 19.5279L15.2234 19.3351L15.0939 18.9572L13.541 19.5033L13.6704 19.8812ZM15.8031 18.5431L16.2095 18.292L17.3224 20.0882L16.9161 20.3393L15.8031 18.5431ZM17.7132 17.0458L17.303 17.4444L18.2956 19.4244L18.6489 19.084L18.3941 18.6348L18.8557 18.1822L19.2985 18.4525L19.6622 18.1005L17.7132 17.0458ZM18.5275 17.9818L18.3551 17.8766C18.2405 17.8103 18.1169 17.7327 17.9943 17.6557C17.9135 17.605 17.8331 17.5546 17.7559 17.5078L17.7469 17.5168L17.7557 17.5312C17.8724 17.7228 18.0005 17.9331 18.1028 18.1212L18.2027 18.2974L18.5275 17.9818ZM18.5932 16.0066L18.8417 15.5989L20.3041 16.4906L20.7389 15.7788L21.0805 15.9872L20.3972 17.1079L18.5932 16.0066ZM21.1038 14.4304L21.3381 14.7888C21.5849 14.64 21.7682 14.4055 21.8531 14.1301C21.9994 13.6474 21.7936 13.2799 21.4584 13.1777C21.1737 13.0897 20.9602 13.1945 20.7855 13.4106L20.603 13.6371C20.4788 13.7924 20.3843 13.9075 20.2691 13.8726C20.1539 13.8377 20.119 13.7173 20.1669 13.5594C20.2163 13.4062 20.3174 13.275 20.4529 13.188L20.2355 12.8697C20.0129 12.992 19.8467 13.1963 19.7722 13.4391C19.6492 13.8622 19.8252 14.244 20.1604 14.3449C20.2839 14.3807 20.4155 14.3768 20.5367 14.3339C20.6579 14.2909 20.7625 14.2111 20.8359 14.1055L21.0275 13.8726L21.0309 13.8685C21.1558 13.7168 21.2382 13.6167 21.3575 13.6539C21.4778 13.6914 21.5244 13.8066 21.4662 13.9981C21.3986 14.1796 21.2707 14.3322 21.1038 14.4304ZM12.4255 0.0967106L11.9544 0.0617694L11.7991 2.14789L12.2715 2.18283L12.4255 0.0967106ZM14.2592 0.430593L14.8015 0.593652L14.8248 2.79365L14.3459 2.64871L14.3668 2.12973L13.7601 1.9465L13.4879 2.39377L13.0259 2.254L14.2592 0.430593ZM14.3899 1.55518L14.3822 1.74864L13.9585 1.62052L14.0574 1.45812C14.166 1.28796 14.2813 1.08628 14.3877 0.900319L14.3877 0.900299L14.4107 0.86024H14.4223C14.4189 0.944179 14.4136 1.03189 14.4082 1.12017L14.4082 1.12021C14.3991 1.26873 14.3899 1.41883 14.3899 1.55518ZM17.2008 1.74024L16.5964 1.352L15.4757 3.12236L16.1305 3.53906C16.5136 3.78236 16.9199 3.81471 17.1477 3.45495C17.2142 3.36233 17.2452 3.24887 17.235 3.1353C17.2248 3.02172 17.1741 2.91561 17.0921 2.83636L17.0998 2.826C17.193 2.83723 17.2874 2.82105 17.3716 2.77945C17.4557 2.73785 17.5258 2.67263 17.5735 2.59177C17.7883 2.25789 17.567 1.97318 17.2008 1.74024ZM16.7737 3.17671C16.6728 3.33459 16.511 3.34236 16.2936 3.20518L16.0645 3.06283L16.3544 2.6073L16.5822 2.74836C16.8022 2.88812 16.8747 3.01883 16.7737 3.17671ZM17.1464 2.39506C17.0649 2.52448 16.9264 2.55812 16.7336 2.42871L16.5408 2.30965L16.7996 1.91106L16.9898 2.03142C17.1762 2.14918 17.2279 2.26565 17.1464 2.39506ZM18.9918 3.13271L19.3115 3.48083L18.064 4.62871L18.6243 5.23565L18.3318 5.50483L17.4518 4.54977L18.9918 3.13271ZM21.2928 6.38612L20.6729 5.23177L18.8262 6.22177L19.4603 7.40459L19.8149 7.21695L19.4034 6.45083L19.8278 6.22306L20.1643 6.85071L20.5137 6.66306L20.1772 6.03542L20.5474 5.83612L20.9434 6.57377L21.2928 6.38612Z"
687
- fill="url(#${s(e,"badge-gradient")})"
688
+ fill="url(#${p(e,"badge-gradient")})"
688
689
  />
689
690
  <defs>
690
691
  <radialGradient
691
- id="${s(e,"badge-gradient")}"
692
+ id="${p(e,"badge-gradient")}"
692
693
  cx="0"
693
694
  cy="0"
694
695
  r="1"
@@ -700,7 +701,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
700
701
  <stop offset="1" stop-color="#94F0BA" />
701
702
  </radialGradient>
702
703
  </defs>
703
- </g>`,d1=(e,t,i)=>{const l=s(i,"chain-badge"),n=t?189:162;return e==="ethereum"?`<g id="${l}" transform="translate(${n}, 205)" width="24" height="24" viewBox="0 0 24 24">
704
+ </g>`,Be=(e,t,i)=>{const a=p(i,"chain-badge"),n=t?189:162;return e==="ethereum"?`<g id="${a}" transform="translate(${n}, 205)" width="24" height="24" viewBox="0 0 24 24">
704
705
  <defs>
705
706
  <style>
706
707
  .cls-1,
@@ -782,7 +783,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
782
783
  </g>
783
784
  <path class="cls-3" d="M15,12.09l-3,1.82L9,12.09,12,7Zm-3,2.4L9,12.68,12,17l3-4.32Z" />
784
785
  </g>
785
- </g>`:e==="arcblock"?`<g id="${l}" transform="translate(${n}, 205)" width="24" height="24" viewBox="0 0 24 24">
786
+ </g>`:e==="arcblock"?`<g id="${a}" transform="translate(${n}, 205)" width="24" height="24" viewBox="0 0 24 24">
786
787
  <defs>
787
788
  <style>
788
789
  .cls-1 {
@@ -885,15 +886,15 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
885
886
  />
886
887
  </g>
887
888
  </g>
888
- </g>`:""},c1=(e,t,i)=>{const l=e?o1(i):"",n=d1(t,!e,i);return[l,n].filter(Boolean).join("")},p1=(e,t,i)=>{const l={success:"#34BE74",error:"#F16E6E",info:"#0775F8",warning:"#DE9E37"};if(e){const n=s(i,"tag-distort");return`<g id="${s(i,"tag")}" transform="translate(112,-36) rotate(45)">
889
- <rect x="60" y="0" width="95" height="30" stroke="${l[t]}" stroke-width="2" />
889
+ </g>`:""},Ue=(e,t,i)=>{const a=e?Ae(i):"",n=Be(t,!e,i);return[a,n].filter(Boolean).join("")},Ve=(e,t,i)=>{const a={success:"#34BE74",error:"#F16E6E",info:"#0775F8",warning:"#DE9E37"};if(e){const n=p(i,"tag-distort");return`<g id="${p(i,"tag")}" transform="translate(112,-36) rotate(45)">
890
+ <rect x="60" y="0" width="95" height="30" stroke="${a[t]}" stroke-width="2" />
890
891
  <text
891
892
  x="104"
892
893
  y="12"
893
894
  font-size="14"
894
895
  font-weight="bold"
895
896
  font-family="Helvetica, Arial, sans-serif"
896
- fill="${l[t]}"
897
+ fill="${a[t]}"
897
898
  text-anchor="middle"
898
899
  alignment-baseline="middle"
899
900
  dominant-baseline="middle" filter="url(#${n})">${e.toUpperCase()}</text>
@@ -903,7 +904,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
903
904
  <feDisplacementMap in="SourceGraphic" in2="noise" scale="10" xChannelSelector="R" yChannelSelector="R" />
904
905
  </filter>
905
906
  </defs>
906
- </g>`}return""},h1=(e=8)=>[...Array(e)].map(()=>Math.random().toString(36)[2]).join(""),X1=e=>{const t=e.id||h1(8),i=e.width||J1,l=e.height||K1,n=e.color||E[e.variant]||E["app-passport"],o=l1(e.variant,t,n),r=a1(e.variant,t,e.header),h=n1(e.issuer,t,e.variant),d=s1(e.extra,t,e.variant),f=c1(e.verifiable,e.chain,t),g=e.variant!=="app-kyc"?r1(e.did,t):"",L=p1(e.tag,e.tagVariant,t);return o([r,h,d,f,g,L].filter(Boolean).join(""),i,l)},Ee=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_COLORS:E,MOTIF_COLORS:z,formatDid:i1,getBadgesSvg:c1,getChainBadge:d1,getDidSvg:r1,getExtraSvg:s1,getHeaderSvg:a1,getIssuerSvg:n1,getLayoutSvg:l1,getNftBGColor:e1,getNftBGColorFromDid:q1,getPassportColorFromDid:t1,getSvg:X1,getTagSvg:p1,getVerifiableBadge:o1,hslToRgb:O,nanoid:h1,rgbToHsl:X},Symbol.toStringTag,{value:"Module"})),f1=b.createContext(),{Provider:ee}=f1,I=(e,t,i=window.location.pathname.replace(/\/$/,"/"))=>e?t?e===i:new RegExp(e).test(i):!1;function te({children:e,steps:t,mode:i="history"}){const[l,n]=b.useState("");!l&&t.length&&n(t[0].key);const o=t.map(c=>c.children?[{key:c.key,hasChild:!0},c.children.map(u=>({parentKey:c.key,key:u.key}))]:{key:c.key}).flat(1/0),r=o.filter(c=>!c.hasChild),h=c=>{let u;const x=o.findIndex(m=>m.key===l?(u=m.parentKey,!0):!1);if(u===c)return"current";const y=o.findIndex(m=>m.key===c);if(y!==-1){if(y===x)return"current";if(y<x)return"before"}return"after"};function d(c){n(c)}function f(c){if(typeof c=="function"){const u=c(r.findIndex(x=>x.key===l));n(r[u].key)}else n(r[c].key)}const g=r.findIndex(c=>c.key===l);b.useEffect(()=>{if(i==="history"){let c="";t.some(u=>u.children&&u.children.length?u.children.some(x=>I(x.path,x.exact)?(c=x.key,!0):!1):I(u.path,u.exact)?(c=u.key,!0):!1),c&&n(c)}return()=>{}},[t,i]);const L={steps:t,totalStepsCount:r.length,getStepStatus:h,setActiveStepByKey:d,setActiveStepByIndex:f,activeStep:g,canBackToStep:c=>i==="memory"&&g!==0&&c<g};return a.jsx(ee,{value:L,children:e})}function g1(){return b.use(f1)}te.propTypes={children:p.any.isRequired,steps:p.array.isRequired,mode:p.string};var D,_;function ie(){if(_)return D;_=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function i(l){if(l==null)return!0;if(typeof l=="boolean")return!1;if(typeof l=="number")return l===0;if(typeof l=="string"||typeof l=="function"||Array.isArray(l))return l.length===0;if(l instanceof Error)return l.message==="";if(l.toString==t)switch(l.toString()){case"[object File]":case"[object Map]":case"[object Set]":return l.size===0;case"[object Object]":{for(var n in l)if(e.call(l,n))return!1;return!0}}return!1}return D=i,D}var le=ie();const ae=K(le);var V={exports:{}},ne=V.exports,P;function se(){return P||(P=1,function(e){(function(t,i,l){e.exports?e.exports=l():i[t]=l()})("urljoin",ne,function(){function t(i){var l=[];if(i.length===0)return"";if(typeof i[0]!="string")throw new TypeError("Url must be a string. Received "+i[0]);if(i[0].match(/^[^/:]+:\/*$/)&&i.length>1){var n=i.shift();i[0]=n+i[0]}i[0].match(/^file:\/\/\//)?i[0]=i[0].replace(/^([^/:]+):\/*/,"$1:///"):i[0]=i[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o<i.length;o++){var r=i[o];if(typeof r!="string")throw new TypeError("Url must be a string. Received "+r);r!==""&&(o>0&&(r=r.replace(/^[\/]+/,"")),o<i.length-1?r=r.replace(/[\/]+$/,""):r=r.replace(/[\/]+$/,"/"),l.push(r))}var h=l.join("/");h=h.replace(/\/(\?|&|#[^!])/g,"$1");var d=h.split("?");return h=d.shift()+(d.length>0?"?":"")+d.join("&"),h}return function(){var i;return typeof arguments[0]=="object"?i=arguments[0]:i=[].slice.call(arguments),t(i)}})}(V)),V.exports}var re=se();const oe=K(re),de=""+window.__toCdnUrl("assets/blocklet-default-logo-Bspnu_ws.png"),H={en:{optional:"Optional",defaultNavSubTitle:"Launching"},zh:{optional:"可选",defaultNavSubTitle:"启动"}},ce=e=>H[e]?H[e]:H.en,pe=e=>e==="zh"?"启动":"Launching",R=e=>e?.title||e?.name||"";function T({blockletMeta:e={},subTitle:t="",logoUrl:i="",locale:l="",navLogo:n="",loading:o=!1}){const r=N(L=>L.breakpoints.down("md")),h=r?18:48,d=b.useRef(null),[f,g]=b.useState("");return b.useEffect(()=>{d.current&&d.current.offsetHeight>34&&(f===""?g("middle"):f==="middle"&&g("small"))},[f]),a.jsxs(me,{className:f==="small"?"center-mode":"",children:[r?a.jsx("div",{className:"app-icon",children:n}):a.jsxs("div",{className:"app-icon",children:[o&&a.jsx(he,{blockletSize:h,isMobile:r}),!o&&a.jsx(m1,{blockletSize:h,logoUrl:i})]}),a.jsxs("div",{className:"header-title",children:[r&&t&&a.jsx("div",{className:"header-title-sub",children:t}),a.jsxs("div",{className:"app-name-content",children:[!r&&a.jsx("div",{className:"launching-context",children:t||pe(l)}),a.jsx("div",{className:`header-title-name ${f==="middle"||f==="small"?"middle-size":""}`,ref:d,children:a.jsx(x1,{logoUrl:i,isMobile:r,blockletMeta:e,blockletSize:h,loading:o})})]})]})]})}T.propTypes={blockletMeta:p.object,subTitle:p.any,logoUrl:p.string,locale:p.string,navLogo:p.any,loading:p.bool};function he({blockletSize:e,isMobile:t}){return t?a.jsx(j,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):a.jsx(j,{variant:"rectangular",width:e,height:e})}function m1({logoUrl:e,blockletSize:t}){return a.jsx(B1,{width:t,height:t,src:e,alt:"blocklet icon",fallback:de,style:{verticalAlign:"text-bottom"}},`layout-app-icon-${e}`)}function x1({isMobile:e,logoUrl:t,blockletMeta:i={},blockletSize:l,loading:n}){const o=R(i);return n?a.jsx(j,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):ae(i)?a.jsx(j,{variant:"rectangular",animation:!1,width:100,height:16,alt:"icon",style:{marginTop:4}}):e?a.jsxs(fe,{children:[a.jsx(m1,{blockletSize:l,logoUrl:t}),a.jsx("span",{className:"ellipsis-title",children:R(i)})]}):a.jsx(ge,{className:"app-link",target:"_blank",href:oe(i?.registryUrl||"",`/blocklets/${i?.did}`),title:o,children:o})}const fe=M.div`
907
+ </g>`}return""},Te=(e=8)=>[...Array(e)].map(()=>Math.random().toString(36)[2]).join(""),T1=e=>{const t=e.id||Te(8),i=e.width||A1,a=e.height||B1,n=e.color||z[e.variant]||z["app-passport"],s=je(e.variant,t,n),r=He(e.variant,t,e.header),h=Ze(e.issuer,t,e.variant),d=Oe(e.extra,t,e.variant),f=Ue(e.verifiable,e.chain,t),c=e.variant!=="app-kyc"?De(e.did,t):"",u=Ve(e.tag,e.tagVariant,t);return s([r,h,d,f,c,u].filter(Boolean).join(""),i,a)},xt=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_COLORS:z,MOTIF_COLORS:J,formatDid:Ee,getBadgesSvg:Ue,getChainBadge:Be,getDidSvg:De,getExtraSvg:Oe,getHeaderSvg:He,getIssuerSvg:Ze,getLayoutSvg:je,getNftBGColor:Me,getNftBGColorFromDid:D1,getPassportColorFromDid:_e,getSvg:T1,getTagSvg:Ve,getVerifiableBadge:Ae,hslToRgb:Y,nanoid:Te,rgbToHsl:Se},Symbol.toStringTag,{value:"Module"})),Fe=b.createContext(),{Provider:F1}=Fe,ue=(e,t,i=window.location.pathname.replace(/\/$/,"/"))=>e?t?e===i:new RegExp(e).test(i):!1;function P1({children:e,steps:t,mode:i="history"}){const[a,n]=b.useState("");!a&&t.length&&n(t[0].key);const s=t.map(o=>o.children?[{key:o.key,hasChild:!0},o.children.map(g=>({parentKey:o.key,key:g.key}))]:{key:o.key}).flat(1/0),r=s.filter(o=>!o.hasChild),h=o=>{let g;const x=s.findIndex(L=>L.key===a?(g=L.parentKey,!0):!1);if(g===o)return"current";const y=s.findIndex(L=>L.key===o);if(y!==-1){if(y===x)return"current";if(y<x)return"before"}return"after"};function d(o){n(o)}function f(o){if(typeof o=="function"){const g=o(r.findIndex(x=>x.key===a));n(r[g].key)}else n(r[o].key)}const c=r.findIndex(o=>o.key===a);b.useEffect(()=>{if(i==="history"){let o="";t.some(g=>g.children&&g.children.length?g.children.some(x=>ue(x.path,x.exact)?(o=x.key,!0):!1):ue(g.path,g.exact)?(o=g.key,!0):!1),o&&n(o)}return()=>{}},[t,i]);const u={steps:t,totalStepsCount:r.length,getStepStatus:h,setActiveStepByKey:d,setActiveStepByIndex:f,activeStep:c,canBackToStep:o=>i==="memory"&&c!==0&&o<c};return l.jsx(F1,{value:u,children:e})}function Pe(){return b.use(Fe)}P1.propTypes={children:m.any.isRequired,steps:m.array.isRequired,mode:m.string};var K,ge;function R1(){if(ge)return K;ge=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function i(a){if(a==null)return!0;if(typeof a=="boolean")return!1;if(typeof a=="number")return a===0;if(typeof a=="string"||typeof a=="function"||Array.isArray(a))return a.length===0;if(a instanceof Error)return a.message==="";if(a.toString==t)switch(a.toString()){case"[object File]":case"[object Map]":case"[object Set]":return a.size===0;case"[object Object]":{for(var n in a)if(e.call(a,n))return!1;return!0}}return!1}return K=i,K}var N1=R1();const z1=ve(N1);var N={exports:{}},K1=N.exports,me;function I1(){return me||(me=1,function(e){(function(t,i,a){e.exports?e.exports=a():i[t]=a()})("urljoin",K1,function(){function t(i){var a=[];if(i.length===0)return"";if(typeof i[0]!="string")throw new TypeError("Url must be a string. Received "+i[0]);if(i[0].match(/^[^/:]+:\/*$/)&&i.length>1){var n=i.shift();i[0]=n+i[0]}i[0].match(/^file:\/\/\//)?i[0]=i[0].replace(/^([^/:]+):\/*/,"$1:///"):i[0]=i[0].replace(/^([^/:]+):\/*/,"$1://");for(var s=0;s<i.length;s++){var r=i[s];if(typeof r!="string")throw new TypeError("Url must be a string. Received "+r);r!==""&&(s>0&&(r=r.replace(/^[\/]+/,"")),s<i.length-1?r=r.replace(/[\/]+$/,""):r=r.replace(/[\/]+$/,"/"),a.push(r))}var h=a.join("/");h=h.replace(/\/(\?|&|#[^!])/g,"$1");var d=h.split("?");return h=d.shift()+(d.length>0?"?":"")+d.join("&"),h}return function(){var i;return typeof arguments[0]=="object"?i=arguments[0]:i=[].slice.call(arguments),t(i)}})}(N)),N.exports}var G1=I1();const q1=ve(G1),W1=""+window.__toCdnUrl("assets/blocklet-default-logo-Bspnu_ws.png"),I={en:{optional:"Optional",defaultNavSubTitle:"Launching"},zh:{optional:"可选",defaultNavSubTitle:"启动"}},J1=e=>I[e]?I[e]:I.en,Y1=e=>e==="zh"?"启动":"Launching",xe=e=>e?.title||e?.name||"";function te({blockletMeta:e={},subTitle:t="",logoUrl:i="",locale:a="",navLogo:n="",loading:s=!1}){const r=Q(u=>u.breakpoints.down("md")),h=r?18:48,d=b.useRef(null),[f,c]=b.useState("");return b.useEffect(()=>{d.current&&d.current.offsetHeight>34&&(f===""?c("middle"):f==="middle"&&c("small"))},[f]),l.jsxs(tt,{className:f==="small"?"center-mode":"",children:[r?l.jsx("div",{className:"app-icon",children:n}):l.jsxs("div",{className:"app-icon",children:[s&&l.jsx(Q1,{blockletSize:h,isMobile:r}),!s&&l.jsx(Re,{blockletSize:h,logoUrl:i})]}),l.jsxs("div",{className:"header-title",children:[r&&t&&l.jsx("div",{className:"header-title-sub",children:t}),l.jsxs("div",{className:"app-name-content",children:[!r&&l.jsx("div",{className:"launching-context",children:t||Y1(a)}),l.jsx("div",{className:`header-title-name ${f==="middle"||f==="small"?"middle-size":""}`,ref:d,children:l.jsx(Ne,{logoUrl:i,isMobile:r,blockletMeta:e,blockletSize:h,loading:s})})]})]})]})}te.propTypes={blockletMeta:m.object,subTitle:m.any,logoUrl:m.string,locale:m.string,navLogo:m.any,loading:m.bool};function Q1({blockletSize:e,isMobile:t}){return t?l.jsx(T,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):l.jsx(T,{variant:"rectangular",width:e,height:e})}function Re({logoUrl:e,blockletSize:t}){return l.jsx(f1,{width:t,height:t,src:e,alt:"blocklet icon",fallback:W1,style:{verticalAlign:"text-bottom"}},`layout-app-icon-${e}`)}function Ne({isMobile:e,logoUrl:t,blockletMeta:i={},blockletSize:a,loading:n}){const s=xe(i);return n?l.jsx(T,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):z1(i)?l.jsx(T,{variant:"rectangular",animation:!1,width:100,height:16,alt:"icon",style:{marginTop:4}}):e?l.jsxs(X1,{children:[l.jsx(Re,{blockletSize:a,logoUrl:t}),l.jsx("span",{className:"ellipsis-title",children:xe(i)})]}):l.jsx(et,{className:"app-link",target:"_blank",href:q1(i?.registryUrl||"",`/blocklets/${i?.did}`),title:s,children:s})}const X1=A.div`
907
908
  .ellipsis-title {
908
909
  flex: 1;
909
910
  position: absolute;
@@ -920,7 +921,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
920
921
  width: calc(100% - 26px);
921
922
  }
922
923
  }
923
- `;x1.propTypes={blockletMeta:p.object};const ge=M.a`
924
+ `;Ne.propTypes={blockletMeta:m.object};const et=A.a`
924
925
  color: ${e=>e.theme.palette.text.primary};
925
926
  text-decoration: none;
926
927
  overflow: hidden;
@@ -952,7 +953,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
952
953
  overflow: hidden;
953
954
  text-overflow: ellipsis;
954
955
  }
955
- `,me=M.div`
956
+ `,tt=A.div`
956
957
  display: flex;
957
958
  justify-content: flex-start;
958
959
  align-items: flex-start;
@@ -1061,7 +1062,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1061
1062
  }
1062
1063
  }
1063
1064
  }
1064
- `;function u1({blockletMeta:e,logoUrl:t="",locale:i="",useOfSkeleton:l=!1,subTitle:n="",loading:o=!1,extraNav:r=null,sx:h={}}){const{steps:d,activeStep:f,setActiveStepByKey:g,setActiveStepByIndex:L,getStepStatus:c,canBackToStep:u}=g1(),x=l?o:!1,y=(m,C)=>{const w=["step-block"],v=c(m.key);switch(v){case"current":w.push("step-active");break;case"before":w.push("step-checked");break}switch(m.showChild){case"activated":v==="after"&&w.push("hide-step-child");break;case"activating":(v==="after"||v==="before")&&w.push("hide-step-child");break;case"always":w.push("always-step-child");break}return m.optional===!0&&f<C&&w.push("step-optional"),w.join(" ")};return a.jsxs(xe,{sx:h,children:[a.jsx(T,{blockletMeta:e,loading:o,logoUrl:t,locale:i,subTitle:n}),a.jsx(ue,{className:`${x?"hide-child-step-desc":""}`,children:d.map((m,C)=>{const w=!x&&u(C);return a.jsxs("div",{className:y(m,C),children:[a.jsx("div",{className:"step-icon",children:a.jsx(M1,{style:{fontSize:16}})}),a.jsx("div",{className:"step-line"}),a.jsxs("div",{className:"step-content",title:m.name,children:[a.jsx("span",{className:`step-content-name ${w?" step-clickable":""}`,onClick:()=>{if(w){if(m.key){g(m.key);return}L(C)}},children:x?a.jsx(j,{variant:"text",width:100}):m.name}),m.description&&a.jsx("div",{className:"step-desc",children:m.description}),m.children&&m.children.length&&a.jsx("div",{className:"step-children",children:m.children.map(v=>{let $="";switch(c(v.key)){case"before":$="step-child-block-checked";break;case"current":$="step-child-block-active";break}return a.jsx("div",{className:`step-child-block ${$}`,children:v.name},v.key)})})]})]},m.key)})}),r&&a.jsxs("div",{className:"extra-nav",children:[r.tooltipText?a.jsx(j1,{title:r.tooltipText,children:a.jsx(U,{variant:r.buttonProps?.variant||"text",onClick:()=>{r.link&&window.open(r.link,"_blank")},startIcon:r.icon,className:"extra-nav-button",size:"small",...r.buttonProps,children:r.text})}):a.jsx(U,{variant:r.buttonProps?.variant||"text",onClick:()=>{r.link&&window.open(r.link,"_blank")},startIcon:r.icon,size:"small",className:"extra-nav-button",...r.buttonProps,children:r.text}),r.description&&a.jsx(B,{variant:"caption",sx:{color:"text.secondary",mt:.5},component:"p",className:"extra-nav-description",children:r.description})]})]})}const xe=M(k)`
1065
+ `;function ze({blockletMeta:e,logoUrl:t="",locale:i="",useOfSkeleton:a=!1,subTitle:n="",loading:s=!1,extraNav:r=null,sx:h={}}){const{steps:d,activeStep:f,setActiveStepByKey:c,setActiveStepByIndex:u,getStepStatus:o,canBackToStep:g}=Pe(),x=a?s:!1,y=(L,k)=>{const w=["step-block"],v=o(L.key);switch(v){case"current":w.push("step-active");break;case"before":w.push("step-checked");break}switch(L.showChild){case"activated":v==="after"&&w.push("hide-step-child");break;case"activating":(v==="after"||v==="before")&&w.push("hide-step-child");break;case"always":w.push("always-step-child");break}return L.optional===!0&&f<k&&w.push("step-optional"),w.join(" ")};return l.jsxs(it,{sx:h,children:[l.jsx(te,{blockletMeta:e,loading:s,logoUrl:t,locale:i,subTitle:n}),l.jsx(at,{className:`${x?"hide-child-step-desc":""}`,children:d.map((L,k)=>{const w=!x&&g(k);return l.jsxs("div",{className:y(L,k),children:[l.jsx("div",{className:"step-icon",children:l.jsx(Xe,{style:{fontSize:16}})}),l.jsx("div",{className:"step-line"}),l.jsxs("div",{className:"step-content",title:L.name,children:[l.jsx("span",{className:`step-content-name ${w?" step-clickable":""}`,onClick:()=>{if(w){if(L.key){c(L.key);return}u(k)}},children:x?l.jsx(T,{variant:"text",width:100}):L.name}),L.description&&l.jsx("div",{className:"step-desc",children:L.description}),L.children&&L.children.length&&l.jsx("div",{className:"step-children",children:L.children.map(v=>{let Z="";switch(o(v.key)){case"before":Z="step-child-block-checked";break;case"current":Z="step-child-block-active";break}return l.jsx("div",{className:`step-child-block ${Z}`,children:v.name},v.key)})})]})]},L.key)})}),r&&l.jsxs("div",{className:"extra-nav",children:[r.tooltipText?l.jsx(e1,{title:r.tooltipText,children:l.jsx(G,{variant:r.buttonProps?.variant||"text",onClick:()=>{r.link&&window.open(r.link,"_blank")},startIcon:r.icon,className:"extra-nav-button",size:"small",...r.buttonProps,children:r.text})}):l.jsx(G,{variant:r.buttonProps?.variant||"text",onClick:()=>{r.link&&window.open(r.link,"_blank")},startIcon:r.icon,size:"small",className:"extra-nav-button",...r.buttonProps,children:r.text}),r.description&&l.jsx(q,{variant:"caption",sx:{color:"text.secondary",mt:.5},component:"p",className:"extra-nav-description",children:r.description})]})]})}const it=A(H)`
1065
1066
  overflow-y: auto;
1066
1067
  display: flex;
1067
1068
  flex-direction: column;
@@ -1109,7 +1110,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1109
1110
  .extra-nav-button {
1110
1111
  cursor: pointer;
1111
1112
  }
1112
- `,ue=M(k)`
1113
+ `,at=A(H)`
1113
1114
  display: flex;
1114
1115
  flex-direction: column;
1115
1116
  margin-top: 60px;
@@ -1312,7 +1313,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1312
1313
  height: 24px;
1313
1314
  }
1314
1315
  }
1315
- `;u1.propTypes={blockletMeta:p.object.isRequired,logoUrl:p.string,locale:p.string,useOfSkeleton:p.bool,subTitle:p.string,loading:p.bool,extraNav:p.object,sx:p.any};function L1({value:e,size:t=10,style:i={},...l}){return a.jsxs(Le,{style:{width:t,height:t,...i},...l,children:[a.jsx(F,{variant:"determinate",role:"progressbar",value:100,size:t,"aria-label":"decorative progress bar",thickness:10,sx:{color:"grey.300"}}),a.jsx(F,{variant:"determinate",value:e,role:"progressbar",size:t,thickness:10,"aria-label":"main progress bar"})]})}L1.propTypes={value:p.number.isRequired,size:p.number,style:p.object};const Le=M.span`
1316
+ `;ze.propTypes={blockletMeta:m.object.isRequired,logoUrl:m.string,locale:m.string,useOfSkeleton:m.bool,subTitle:m.string,loading:m.bool,extraNav:m.object,sx:m.any};function Ke({value:e,size:t=10,style:i={},...a}){return l.jsxs(rt,{style:{width:t,height:t,...i},...a,children:[l.jsx(W,{variant:"determinate",role:"progressbar",value:100,size:t,"aria-label":"decorative progress bar",thickness:10,sx:{color:"grey.300"}}),l.jsx(W,{variant:"determinate",value:e,role:"progressbar",size:t,thickness:10,"aria-label":"main progress bar"})]})}Ke.propTypes={value:m.number.isRequired,size:m.number,style:m.object};const rt=A.span`
1316
1317
  display: inline-block;
1317
1318
  position: relative;
1318
1319
  > * {
@@ -1322,14 +1323,14 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1322
1323
  width: 100%;
1323
1324
  height: 100%;
1324
1325
  }
1325
- `,A="72px",ye=Z("div")`
1326
+ `,ie="72px",nt=F("div")`
1326
1327
  box-sizing: border-box;
1327
1328
  display: flex;
1328
1329
  overflow: hidden;
1329
1330
  width: 100%;
1330
1331
  height: 100%;
1331
- padding-top: ${A};
1332
- `,we=Z("div")`
1332
+ padding-top: ${ie};
1333
+ `,st=F("div")`
1333
1334
  display: flex;
1334
1335
  min-width: 900px;
1335
1336
  max-width: ${e=>e.contentMaxWidth};
@@ -1340,11 +1341,11 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1340
1341
  height: ${e=>e.height||"80%"};
1341
1342
 
1342
1343
  @media (max-height: 1200px) {
1343
- margin-top: ${A};
1344
+ margin-top: ${ie};
1344
1345
  height: 100%;
1345
1346
  max-height: 100%;
1346
1347
  }
1347
- `;function be({blockletMeta:e={},loading:t=!1,children:i,logoUrl:l="",locale:n="en",header:o=null,headerEndAddons:r=null,pcWidth:h="80%",navLogo:d="",useOfSkeleton:f=!0,navSubTitle:g="",contentMaxWidth:L="1245px",theme:c=null,themeOverrides:u=null,extraNav:x=null,...y}){const m=J(),C=N(v1=>v1.breakpoints.down("md")),{activeStep:w,totalStepsCount:v}=g1(),$=e||{},w1=C?ye:we,b1=ce(n);d&&!b.isValidElement(d)&&z1(d)&&(C?d=d.mobile:d=a.jsx(ke,{children:d.desktop}));const G=F1(m,c||{});return a.jsx(Z1,{injectFirst:!0,children:a.jsx(S1,{theme:G,children:a.jsx(V1,{theme:G,children:a.jsxs(Ce,{...y,children:[a.jsxs(ve,{maxWidth:L,width:h,className:"ll-header",children:[o&&o,!o&&a.jsxs(a.Fragment,{children:[C&&a.jsx("div",{className:"left",children:a.jsx(T,{blockletMeta:$,navLogo:d,subTitle:a.jsxs("span",{children:[`${g||b1.defaultNavSubTitle} ${w+1}/${v}`,a.jsx(L1,{value:(w+1)/v*100,style:{marginLeft:3}}),x&&a.jsx(B,{variant:"caption",className:"extra-nav-text",onClick:()=>{x.link&&window.open(x.link,"_blank")},sx:{ml:1,color:"primary.main",cursor:"pointer","&:hover":{opacity:.8}},children:x.appText||x.text})]}),logoUrl:l,locale:n,loading:t})}),d&&!C&&a.jsx("div",{className:"left",children:d}),r&&a.jsx(Q,{className:"right",children:r})]})]}),a.jsxs(w1,{contentMaxWidth:L,className:"ll-container",children:[a.jsx(u1,{sx:{display:{xs:"none",md:"block"}},locale:n,blockletMeta:$,logoUrl:l,useOfSkeleton:f,subTitle:g,loading:t,extraNav:x}),a.jsx(B,{component:"div",className:"layout-content",children:a.jsx(b.Suspense,{fallback:a.jsx(T1,{relative:"parent",children:a.jsx(F,{style:{marginTop:36}})}),children:i})})]})]})})})})}be.propTypes={loading:p.bool,blockletMeta:p.object,children:p.object.isRequired,logoUrl:p.string,locale:p.oneOf(["en","zh"]),header:p.any,headerEndAddons:p.any,pcWidth:p.any,pcHeight:p.any,contentMaxWidth:p.string,navLogo:p.oneOfType([p.node,p.object]),useOfSkeleton:p.bool,stepTip:p.string,navSubTitle:p.string,theme:p.object,themeOverrides:p.object,extraNav:p.object};const W=navigator.userAgent.toLocaleLowerCase();let y1="";W.includes("iphone os")&&W.includes("crios")&&(y1="height: calc(100vh - 60px);");const ve=Z("header")`
1348
+ `;function lt({blockletMeta:e={},loading:t=!1,children:i,logoUrl:a="",locale:n="en",header:s=null,headerEndAddons:r=null,pcWidth:h="80%",navLogo:d="",useOfSkeleton:f=!0,navSubTitle:c="",contentMaxWidth:u="1245px",theme:o=null,themeOverrides:g=null,extraNav:x=null,...y}){const L=we(),k=Q(We=>We.breakpoints.down("md")),{activeStep:w,totalStepsCount:v}=Pe(),Z=e||{},Ge=k?nt:st,qe=J1(n);d&&!b.isValidElement(d)&&g1(d)&&(k?d=d.mobile:d=l.jsx(dt,{children:d.desktop}));const ae=u1(L,o||{});return l.jsx(t1,{injectFirst:!0,children:l.jsx(i1,{theme:ae,children:l.jsx(a1,{theme:ae,children:l.jsxs(ct,{...y,children:[l.jsxs(ot,{maxWidth:u,width:h,className:"ll-header",children:[s&&s,!s&&l.jsxs(l.Fragment,{children:[k&&l.jsx("div",{className:"left",children:l.jsx(te,{blockletMeta:Z,navLogo:d,subTitle:l.jsxs("span",{children:[`${c||qe.defaultNavSubTitle} ${w+1}/${v}`,l.jsx(Ke,{value:(w+1)/v*100,style:{marginLeft:3}}),x&&l.jsx(q,{variant:"caption",className:"extra-nav-text",onClick:()=>{x.link&&window.open(x.link,"_blank")},sx:{ml:1,color:"primary.main",cursor:"pointer","&:hover":{opacity:.8}},children:x.appText||x.text})]}),logoUrl:a,locale:n,loading:t})}),d&&!k&&l.jsx("div",{className:"left",children:d}),r&&l.jsx(ke,{className:"right",children:r})]})]}),l.jsxs(Ge,{contentMaxWidth:u,className:"ll-container",children:[l.jsx(ze,{sx:{display:{xs:"none",md:"block"}},locale:n,blockletMeta:Z,logoUrl:a,useOfSkeleton:f,subTitle:c,loading:t,extraNav:x}),l.jsx(q,{component:"div",className:"layout-content",children:l.jsx(b.Suspense,{fallback:l.jsx(y1,{relative:"parent",children:l.jsx(W,{style:{marginTop:36}})}),children:i})})]})]})})})})}lt.propTypes={loading:m.bool,blockletMeta:m.object,children:m.object.isRequired,logoUrl:m.string,locale:m.oneOf(["en","zh"]),header:m.any,headerEndAddons:m.any,pcWidth:m.any,pcHeight:m.any,contentMaxWidth:m.string,navLogo:m.oneOfType([m.node,m.object]),useOfSkeleton:m.bool,stepTip:m.string,navSubTitle:m.string,theme:m.object,themeOverrides:m.object,extraNav:m.object};const ye=navigator.userAgent.toLocaleLowerCase();let Ie="";ye.includes("iphone os")&&ye.includes("crios")&&(Ie="height: calc(100vh - 60px);");const ot=F("header")`
1348
1349
  width: ${e=>e.width||"80%"};
1349
1350
  min-width: 900px;
1350
1351
  box-sizing: border-box;
@@ -1363,7 +1364,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1363
1364
  ${e=>e.theme.breakpoints.down("md")} {
1364
1365
  min-width: 360px;
1365
1366
  width: 100%;
1366
- height: ${A};
1367
+ height: ${ie};
1367
1368
  justify-content: space-between;
1368
1369
  background-color: ${({theme:e})=>e.palette.mode==="dark"?e.palette.background.default:e.palette.grey[100]};
1369
1370
  }
@@ -1373,14 +1374,14 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1373
1374
  display: flex;
1374
1375
  align-items: center;
1375
1376
  }
1376
- `,Ce=Z("div")`
1377
+ `,ct=F("div")`
1377
1378
  display: flex;
1378
1379
  flex-direction: column;
1379
1380
  justify-content: center;
1380
1381
  align-items: center;
1381
1382
  letter-spacing: normal;
1382
1383
  background: ${({theme:e})=>e.palette.mode==="dark"?e.palette.background.default:e.palette.grey[100]};
1383
- ${y1}
1384
+ ${Ie}
1384
1385
 
1385
1386
  header:empty {
1386
1387
  display: none;
@@ -1417,7 +1418,7 @@ import{j as a,ak as k,av as q,D as J,J as N,aU as C1,Q as U,aj as k1,aV as $1,W
1417
1418
  padding: 16px;
1418
1419
  }
1419
1420
  }
1420
- `,ke=Z("div")`
1421
+ `,dt=F("div")`
1421
1422
  display: block;
1422
1423
  margin-top: 4px;
1423
- `;export{t1 as A,e1 as F,be as L,te as P,g1 as T,X1 as U,E as d,Ee as e,q1 as g,oe as j,G1 as l,T1 as o,Q as s,Ve as z};
1424
+ `;export{_e as A,Me as F,lt as L,P1 as P,Pe as T,T1 as U,z as d,xt as e,D1 as g,q1 as j,w1 as l,y1 as o,ke as s,mt as z};