@abtnode/blocklet-services 1.16.52-beta-20251005-235515-42ad5caf → 1.16.52-beta-20251008-091027-c46c73e3

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 (173) hide show
  1. package/api/index.js +2 -0
  2. package/api/libs/connect/session.js +4 -0
  3. package/api/libs/jwt.js +16 -1
  4. package/api/middlewares/cdn.js +57 -0
  5. package/api/middlewares/launcher-login.js +3 -1
  6. package/api/routes/federated.js +2 -1
  7. package/api/routes/oauth/server.js +2 -1
  8. package/api/routes/user-session.js +4 -2
  9. package/api/routes/user.js +7 -4
  10. package/api/services/auth/connect/destroy-self.js +2 -1
  11. package/api/services/auth/connect/invite.js +2 -0
  12. package/api/services/auth/connect/issue-passport.js +2 -1
  13. package/api/services/auth/connect/receive-transfer-app-owner.js +2 -0
  14. package/api/services/auth/connect/verify-destroy.js +2 -1
  15. package/api/services/auth/connect/verify-elevated.js +2 -1
  16. package/api/services/auth/session.js +8 -2
  17. package/api/util/attach-shared-utils.js +27 -0
  18. package/api/util/user-util.js +4 -2
  19. package/dist/assets/{AdapterDayjs-wck-CfDF.js → AdapterDayjs-Bp0ir26R.js} +1 -1
  20. package/dist/assets/{Google-BFauCF2k.js → Google-E3u2a9g7.js} +1 -1
  21. package/dist/assets/{access-control-0wy7XAQb.js → access-control-Ba--N4dR.js} +1 -1
  22. package/dist/assets/{add-component-core-BM7p_09p.js → add-component-core-Bb9cf7tX.js} +1 -1
  23. package/dist/assets/{add-resource-DbQFT7Gg.js → add-resource-bRr_yw_3.js} +1 -1
  24. package/dist/assets/{addon-CUvC0k6Y.js → addon-yUrit7oi.js} +1 -1
  25. package/dist/assets/{advanced-BhCewgzQ.js → advanced-D9TZ4ybW.js} +1 -1
  26. package/dist/assets/{aigne-BQckonxP.js → aigne-Cu6_77H5.js} +1 -1
  27. package/dist/assets/{appearance-CjrhZWhd.js → appearance-BrKRJ2OH.js} +1 -1
  28. package/dist/assets/{arrow-down.svg-f3YCmAji.js → arrow-down.svg-DlrO603K.js} +1 -1
  29. package/dist/assets/{audit-logs-CASGp36e.js → audit-logs-Mq1PQXTB.js} +1 -1
  30. package/dist/assets/{authorize-CkVYs-vE.js → authorize-C--SRJv9.js} +1 -1
  31. package/dist/assets/{base32-Cyneng4p.js → base32-BK7MXAD4.js} +1 -1
  32. package/dist/assets/{bind-account-D6KenxOW.js → bind-account-pung7H5j.js} +1 -1
  33. package/dist/assets/{branding-DLDF3ZZP.js → branding-BLrOsw_-.js} +1 -1
  34. package/dist/assets/branding-C7mpxRh4.js +40 -0
  35. package/dist/assets/{branding-BVr5wVa5.js → branding-Dt37Dr7I.js} +1 -1
  36. package/dist/assets/{bundle-avatar-BpummNxa.js → bundle-avatar-DqG9a4da.js} +1 -1
  37. package/dist/assets/{button-DGHIlhos.js → button-BmGMF4AE.js} +1 -1
  38. package/dist/assets/{click-to-copy-B379bwP3.js → click-to-copy-CO6UIqva.js} +1 -1
  39. package/dist/assets/{complete-CQkeXJPL.js → complete-CoKZYR9F.js} +1 -1
  40. package/dist/assets/{component-DWN2cI-c.js → component-Bc7czE5l.js} +3 -3
  41. package/dist/assets/{config-BgdQYz7Z.js → config-CKLnLT0D.js} +1 -1
  42. package/dist/assets/{config-CPB45HHq.js → config-DVANrDYt.js} +1 -1
  43. package/dist/assets/{config-CRxOjKmb.js → config-DtmDVaR4.js} +1 -1
  44. package/dist/assets/{config-navigation-D1TBA90f.js → config-navigation-Cby9K4-E.js} +3 -3
  45. package/dist/assets/{config-space-DpOC6rFp.js → config-space-Dht59Ejw.js} +1 -1
  46. package/dist/assets/{confirm-BfJfcPyj.js → confirm--TizcqjW.js} +1 -1
  47. package/dist/assets/{connect-BbLXTlyu.js → connect-ClwbgmmS.js} +1 -1
  48. package/dist/assets/{connect-ZcwxKVuN.js → connect-Dtl48eI1.js} +1 -1
  49. package/dist/assets/{connect-to-Skv-ek56.js → connect-to-By6Le-Jn.js} +1 -1
  50. package/dist/assets/{create-passport-svg-DosyhcHP.js → create-passport-svg-n0J1kwzH.js} +1 -1
  51. package/dist/assets/{createClass-HFwzUuOB.js → createClass-D_F4rKN8.js} +1 -1
  52. package/dist/assets/{dashboard-DJ6Tc_2L.js → dashboard-W1yPGsmJ.js} +3 -3
  53. package/dist/assets/{delete-confirm-DNg1Z1xV.js → delete-confirm-D-yeVqhW.js} +1 -1
  54. package/dist/assets/{did-address-Dbg_LiWL.js → did-address-DnFNwELW.js} +1 -1
  55. package/dist/assets/{domain-3JvbKqlt.js → domain-D9aFylG7.js} +1 -1
  56. package/dist/assets/{domain-action-card-BixPviaZ.js → domain-action-card-CYQx-UV_.js} +1 -1
  57. package/dist/assets/{domains-D8QMeppe.js → domains-BpALgYqP.js} +1 -1
  58. package/dist/assets/email-BhtWr6R7.js +17 -0
  59. package/dist/assets/engine-DYqiOmI2.js +1 -0
  60. package/dist/assets/{exchange-passport-BraV0EOe.js → exchange-passport-BNEvLpB5.js} +1 -1
  61. package/dist/assets/{form-BIoto8u8.js → form-f821alW8.js} +1 -1
  62. package/dist/assets/{form-text-input-BgpOkOYh.js → form-text-input-CwOsIY5R.js} +1 -1
  63. package/dist/assets/{fuel-Dwo_gklT.js → fuel-DuwkxjDO.js} +1 -1
  64. package/dist/assets/{gen-access-key-DuRApUI5.js → gen-access-key-CN0zhLTt.js} +1 -1
  65. package/dist/assets/{gen-simple-access-key-xXyYChfi.js → gen-simple-access-key-DIgBggHb.js} +1 -1
  66. package/dist/assets/get-safe-url-vBpeXIdz.js +1 -0
  67. package/dist/assets/{home-D0rR9_38.js → home-mPwMffqg.js} +1 -1
  68. package/dist/assets/{iframe-COascK-f.js → iframe-KzW0dm8e.js} +1 -1
  69. package/dist/assets/{index-CARCeLG0.js → index-4jRQw4L_.js} +1 -1
  70. package/dist/assets/{index-B3o5bPY9.js → index-B6gW9Yjq.js} +1 -1
  71. package/dist/assets/{index-DKQpQSIL.js → index-BCCi6Lq2.js} +1 -1
  72. package/dist/assets/{index-BU5Qj_Uf.js → index-BEyElehf.js} +1 -1
  73. package/dist/assets/{index-DKp1VidC.js → index-BJmiMBT5.js} +1 -1
  74. package/dist/assets/{index-g1J2WU69.js → index-BOxaAkjO.js} +1 -1
  75. package/dist/assets/{index-DXDOA6wf.js → index-BQrqRaKe.js} +1 -1
  76. package/dist/assets/{index-BoF74OVD.js → index-BVKg9kyt.js} +4 -4
  77. package/dist/assets/{index-CjUelepA.js → index-BZdly4Mv.js} +1 -1
  78. package/dist/assets/{index-IYdn8PnM.js → index-Ba9-ArMT.js} +1 -1
  79. package/dist/assets/{index-BiMTr9N1.js → index-BwFIgPJi.js} +1 -1
  80. package/dist/assets/{index-DcGTEgwU.js → index-C2OUM1U1.js} +8 -9
  81. package/dist/assets/{index-d3X4O8S1.js → index-C7mL-9QT.js} +1 -1
  82. package/dist/assets/{index-DnsQF6x_.js → index-CESGl-7N.js} +1 -1
  83. package/dist/assets/{index-Cv0WQg6r.js → index-CNJImoEx.js} +3 -3
  84. package/dist/assets/{index-o5365tSi.js → index-CT821Gxy.js} +2 -2
  85. package/dist/assets/{index-cc7PDHui.js → index-Cdd4Tfik.js} +1 -1
  86. package/dist/assets/{index-pMD5HObM.js → index-CkGQymSq.js} +1 -1
  87. package/dist/assets/{index-DsZw1jDU.js → index-Cm-NT_bW.js} +8 -8
  88. package/dist/assets/index-D4mun0qD.js +1 -0
  89. package/dist/assets/{index-DOTZtBXk.js → index-DjYY4kdv.js} +1 -1
  90. package/dist/assets/{index-A5fXAFXl.js → index-DlrQ2HQP.js} +1 -1
  91. package/dist/assets/{index-Z8qCN0P1.js → index-Fh6kRzXi.js} +1 -1
  92. package/dist/assets/{index-un8ZaNww.js → index-L23hdRQP.js} +1 -1
  93. package/dist/assets/{index-CX8XMi66.js → index-PsRCU6L0.js} +1 -1
  94. package/dist/assets/{index-BrrIKxMS.js → index-Y8LQew4k.js} +1 -1
  95. package/dist/assets/{index-AMzbVwE1.js → index-Zg4das2-.js} +1 -1
  96. package/dist/assets/{index-BkMwz7Ha.js → index-ayyqwdz4.js} +1 -1
  97. package/dist/assets/{index-yINGgTD8.js → index-bHxYJHzd.js} +2 -2
  98. package/dist/assets/{index-Ds4S1_JK.js → index-baOgdvKt.js} +1 -1
  99. package/dist/assets/{invitation-HIuSHONR.js → invitation-D4kCwqOk.js} +1 -1
  100. package/dist/assets/{invitations-Bol3LHDV.js → invitations-DpOwRCbQ.js} +1 -1
  101. package/dist/assets/{invite--kfNCB-y.js → invite-wbFhcbNt.js} +1 -1
  102. package/dist/assets/{isURL-NLB1KXWU.js → isURL-G6x_O8uY.js} +1 -1
  103. package/dist/assets/{issue-passport-DEKfDU5Q.js → issue-passport-BajBQstU.js} +1 -1
  104. package/dist/assets/{item-8d2bomfb.js → item-CDlTR8j5.js} +1 -1
  105. package/dist/assets/{landing-page-BKWBeaB2.js → landing-page-DtGwsGjG.js} +1 -1
  106. package/dist/assets/{layout-BCGFP2fM.js → layout-BuaMn04z.js} +1 -1
  107. package/dist/assets/{list-CjwYZK4C.js → list-9ipLNgYh.js} +1 -1
  108. package/dist/assets/list-BJ8ZApBw.js +2 -0
  109. package/dist/assets/localization-C23KjUsD.js +1 -0
  110. package/dist/assets/{log-CwhRn7dG.js → log-CLdwEAyX.js} +1 -1
  111. package/dist/assets/logger-DVbuTPin.js +1 -0
  112. package/dist/assets/{login-D6vdg4tV.js → login-CyHjI083.js} +1 -1
  113. package/dist/assets/{login-oauth-callback-DNSbhkTX.js → login-oauth-callback-D8CJmm3G.js} +1 -1
  114. package/dist/assets/logo-uploader-KFwT9tkc.js +30 -0
  115. package/dist/assets/{lost-passport-JcRjjJMu.js → lost-passport-r1_GkMUE.js} +2 -3
  116. package/dist/assets/{open-window-5tX5UogI.js → open-window-DyYeAYHS.js} +1 -1
  117. package/dist/assets/{over-due-invoice-payment-BQTpVcW4.js → over-due-invoice-payment-B0CdR8TJ.js} +1 -1
  118. package/dist/assets/{overview-8cijjh6D.js → overview-sfT5Yibu.js} +1 -1
  119. package/dist/assets/{passport-dBKTMShn.js → passport-DQQ8X6jz.js} +1 -1
  120. package/dist/assets/{passport-item-DybXmjDL.js → passport-item-d0mYh9fE.js} +1 -1
  121. package/dist/assets/{permission-DPZmpN88.js → permission-CkYczF8Y.js} +1 -1
  122. package/dist/assets/{preferences-CSIWwAIC.js → preferences-VKwcqaIq.js} +1 -1
  123. package/dist/assets/profile-embed-DydXOOmr.js +1 -0
  124. package/dist/assets/{publish-resource-BEWgZsl5.js → publish-resource-C2l89_Ta.js} +1 -1
  125. package/dist/assets/{react-beautiful-dnd.esm-BbVphn6n.js → react-beautiful-dnd.esm-BeX82uI5.js} +1 -1
  126. package/dist/assets/{runtime-Dw23IX1l.js → runtime-gfyCn3ox.js} +1 -1
  127. package/dist/assets/sdk-D6yx55IK.js +1 -0
  128. package/dist/assets/{security-D_vkAC2F.js → security-DRzPHcOv.js} +1 -1
  129. package/dist/assets/{session-tOfkTx-G.js → session-DDq1z6GZ.js} +1 -1
  130. package/dist/assets/{setup-eJiK00ap.js → setup-k86HzPvL.js} +1 -1
  131. package/dist/assets/{spaces-f3sezu1Y.js → spaces-oEcRQ2FV.js} +1 -1
  132. package/dist/assets/{start-tshF2U2D.js → start-CCCc93bI.js} +1 -1
  133. package/dist/assets/{starting-progress-CNhbI5kz.js → starting-progress-CYME5Zxc.js} +1 -1
  134. package/dist/assets/{status-aauXt2lH.js → status-DOkMyJoB.js} +1 -1
  135. package/dist/assets/{step-actions-B_qluS-3.js → step-actions-twLrpzsB.js} +1 -1
  136. package/dist/assets/{studio-ahebVj52.js → studio-BFjODQ6U.js} +1 -1
  137. package/dist/assets/{switch-control-B8BKalcv.js → switch-control-DEpBEl7-.js} +1 -1
  138. package/dist/assets/{table-tips-CIe4hASP.js → table-tips-rCE1XKlc.js} +1 -1
  139. package/dist/assets/{team-DJZO6TyJ.js → team-BwPiOmaF.js} +1 -1
  140. package/dist/assets/{traffic-Dh4U8pnc.js → traffic-DpQHDLcs.js} +1 -1
  141. package/dist/assets/{transfer-CuvzwKCQ.js → transfer-Cf_iJEYW.js} +1 -1
  142. package/dist/assets/{unsubscribe-B1yTQQGf.js → unsubscribe-BSnjMXpn.js} +1 -1
  143. package/dist/assets/{use-app-logo-CqD9SoXr.js → use-app-logo-BOxU85aG.js} +1 -1
  144. package/dist/assets/use-window-close-CAdGHigF.js +1 -0
  145. package/dist/assets/{useLocalStorage-BPSCf_zz.js → useLocalStorage-BtAV-lV2.js} +1 -1
  146. package/dist/assets/{user-center-DDfna1uE.js → user-center-CMfgquz2.js} +4 -4
  147. package/dist/assets/{user-follower-Cc-51q-9.js → user-follower-Bpz7I8AJ.js} +1 -1
  148. package/dist/assets/{user-sessions-DkchVQBO.js → user-sessions-C9JRrUnO.js} +1 -1
  149. package/dist/assets/{util-B8Xud4vY.js → util-Df1wWBbn.js} +1 -1
  150. package/dist/assets/{util-D8KMfML_.js → util-DmoVzLCE.js} +1 -1
  151. package/dist/assets/{vendor-arcblock-CSGgL93G.js → vendor-arcblock-DeeG8u0h.js} +85 -85
  152. package/dist/assets/{vendor-ux-CDOuCaX1.js → vendor-ux-B9VfuZTg.js} +2 -2
  153. package/dist/assets/{wait-connect-CGOeOXHL.js → wait-connect-NY07DPE8.js} +1 -1
  154. package/dist/assets/{wizard-B7NraPoW.js → wizard-DyBuxY0o.js} +1 -1
  155. package/dist/assets/{wizard-components-Bl0PwqPC.js → wizard-components-AecBDiwz.js} +2 -2
  156. package/dist/assets/wrap-locale-DT0Mc5mX.js +1 -0
  157. package/dist/assets/{zh-DQ2rCoQ5.js → zh-Dcv0Swob.js} +1 -1
  158. package/dist/index.html +6 -8
  159. package/dist/service-worker.js +1 -1
  160. package/package.json +23 -23
  161. package/dist/assets/branding-CHhPscOd.js +0 -40
  162. package/dist/assets/email-C6m1mnbN.js +0 -18
  163. package/dist/assets/engine-DkWTqqhM.js +0 -1
  164. package/dist/assets/get-safe-url-HFT553nb.js +0 -1
  165. package/dist/assets/index-BAMrdOx5.js +0 -1
  166. package/dist/assets/list-CLnYaffq.js +0 -2
  167. package/dist/assets/localization-D4M90esB.js +0 -1
  168. package/dist/assets/logger-GZGSMwyW.js +0 -1
  169. package/dist/assets/logo-uploader-CehwiZZl.js +0 -30
  170. package/dist/assets/profile-embed-Dxmu0kHv.js +0 -1
  171. package/dist/assets/sdk-BIWRdmX9.js +0 -1
  172. package/dist/assets/use-window-close-CLNOz9Uq.js +0 -2
  173. package/dist/assets/wrap-locale-BQiQiZG-.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-DRxbhqaK.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-CDOuCaX1.js";import{F as z1}from"./vendor-utils-CUDP56Ff.js";import{r as b,g as K}from"./vendor-react-Dvs43sk9.js";import{g as O1,a as N1}from"./vendor-hooks-BlA8TRnZ.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 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-DRxbhqaK.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-B9VfuZTg.js";import{F as z1}from"./vendor-utils-CUDP56Ff.js";import{r as b,g as K}from"./vendor-react-Dvs43sk9.js";import{g as O1,a as N1}from"./vendor-hooks-BlA8TRnZ.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")`
2
2
  flex: 1;
3
3
  width: 100vw;
4
4
  height: 100vh;
@@ -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:s=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}}),s,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 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)`
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(),s=N(l.breakpoints.down("md")),[o,r]=b.useState(!1),h=typeof t=="function"?t({isMobile:s,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:[!s&&h,s&&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 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)`
119
119
  .header-menu {
120
120
  display: none;
121
121
  }
@@ -139,19 +139,19 @@ 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,s=parseInt(t.slice(4,6),16)/255,o=Math.max(i,l,s),r=Math.min(i,l,s);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-s)/g+(l<s?6:0);break;case l:h=(s-i)/g+2;break;case s:h=(i-l)/g+4;break}h/=6}return[h,d,f]}function O(e,t,i){let l,s,o;if(t===0)l=i,s=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),s=r(d,h,e),o=r(d,h,e-1/3)}return`#${[Math.round(l*255),Math.round(s*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],s=O(...i);return{start:O(...l),end:s}}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 n=(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,s,o)=>`<svg
143
- width="${s}"
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
143
+ width="${n}"
144
144
  height="${o}"
145
145
  viewBox="0 0 228 258"
146
146
  fill="none"
147
147
  xmlns="http://www.w3.org/2000/svg"
148
148
  xmlns:xlink="http://www.w3.org/1999/xlink">
149
- <g filter="url(#${n(t,"layout-filter")})">
149
+ <g filter="url(#${s(t,"layout-filter")})">
150
150
  <path
151
151
  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(#${n(t,"header-paint")})" />
152
+ fill="url(#${s(t,"header-paint")})" />
153
153
  <mask
154
- id="${n(t,"layout-mask")}"
154
+ id="${s(t,"layout-mask")}"
155
155
  style="mask-type: alpha"
156
156
  maskUnits="userSpaceOnUse"
157
157
  x="4"
@@ -162,14 +162,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
162
  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
163
  fill="#D9D9D9" />
164
164
  </mask>
165
- <g mask="url(#${n(t,"layout-mask")})">
165
+ <g mask="url(#${s(t,"layout-mask")})">
166
166
  <rect x="4" y="2" width="220" height="125" fill="none" />
167
- <rect x="4" y="127" width="220" height="125" fill="url(#${n(t,"footer-paint")})" />
167
+ <rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
168
168
  </g>
169
169
  </g>
170
170
  <defs>
171
171
  <filter
172
- id="${n(t,"layout-filter")}"
172
+ id="${s(t,"layout-filter")}"
173
173
  x="0"
174
174
  y="0"
175
175
  width="228"
@@ -190,7 +190,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
190
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1582_53235" result="shape" />
191
191
  </filter>
192
192
  <linearGradient
193
- id="${n(t,"header-paint")}"
193
+ id="${s(t,"header-paint")}"
194
194
  x1="220.071"
195
195
  y1="252"
196
196
  x2="-24.022"
@@ -200,7 +200,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
200
  <stop offset="1" stop-color="${i.end}" />
201
201
  </linearGradient>
202
202
  <linearGradient
203
- id="${n(t,"footer-paint")}"
203
+ id="${s(t,"footer-paint")}"
204
204
  x1="224"
205
205
  y1="157.738"
206
206
  x2="1.00001"
@@ -211,16 +211,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
211
211
  </linearGradient>
212
212
  </defs>
213
213
  ${l}
214
- </svg>`:e==="app-space"?(l,s,o)=>`<svg
215
- width="${s}"
214
+ </svg>`:e==="app-space"?(l,n,o)=>`<svg
215
+ width="${n}"
216
216
  height="${o}"
217
217
  viewBox="0 0 228 258"
218
218
  fill="none"
219
219
  xmlns="http://www.w3.org/2000/svg"
220
220
  xmlns:xlink="http://www.w3.org/1999/xlink">
221
- <g filter="url(#${n(t,"layout-filter")})">
221
+ <g filter="url(#${s(t,"layout-filter")})">
222
222
  <mask
223
- id="${n(t,"layout-mask")}"
223
+ id="${s(t,"layout-mask")}"
224
224
  style="mask-type: alpha"
225
225
  maskUnits="userSpaceOnUse"
226
226
  x="4"
@@ -231,17 +231,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
231
  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
232
  fill="#7D37D7" />
233
233
  </mask>
234
- <g mask="url(#${n(t,"layout-mask")})">
234
+ <g mask="url(#${s(t,"layout-mask")})">
235
235
  <path
236
236
  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(#${n(t,"header-paint")})" />
237
+ fill="url(#${s(t,"header-paint")})" />
238
238
  <rect x="4" y="2" width="220" height="125" fill="none" />
239
- <path d="M4 127H224V252H4V127Z" fill="url(#${n(t,"footer-paint")})" />
239
+ <path d="M4 127H224V252H4V127Z" fill="url(#${s(t,"footer-paint")})" />
240
240
  </g>
241
241
  </g>
242
242
  <defs>
243
243
  <filter
244
- id="${n(t,"layout-filter")}"
244
+ id="${s(t,"layout-filter")}"
245
245
  x="0"
246
246
  y="0"
247
247
  width="228"
@@ -262,7 +262,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
262
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54199" result="shape" />
263
263
  </filter>
264
264
  <linearGradient
265
- id="${n(t,"header-paint")}"
265
+ id="${s(t,"header-paint")}"
266
266
  x1="211.69"
267
267
  y1="7.13393"
268
268
  x2="51.0187"
@@ -272,7 +272,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
272
  <stop offset="1" stop-color="${i.end}" />
273
273
  </linearGradient>
274
274
  <linearGradient
275
- id="${n(t,"footer-paint")}"
275
+ id="${s(t,"footer-paint")}"
276
276
  x1="224"
277
277
  y1="157.738"
278
278
  x2="1.00001"
@@ -283,16 +283,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
283
283
  </linearGradient>
284
284
  </defs>
285
285
  ${l}
286
- </svg>`:e==="app-purchase"?(l,s,o)=>`<svg
287
- width="${s}"
286
+ </svg>`:e==="app-purchase"?(l,n,o)=>`<svg
287
+ width="${n}"
288
288
  height="${o}"
289
289
  viewBox="0 0 228 258"
290
290
  fill="none"
291
291
  xmlns="http://www.w3.org/2000/svg"
292
292
  xmlns:xlink="http://www.w3.org/1999/xlink">
293
- <g filter="url(#${n(t,"layout-filter")})">
293
+ <g filter="url(#${s(t,"layout-filter")})">
294
294
  <mask
295
- id="${n(t,"layout-mask")}"
295
+ id="${s(t,"layout-mask")}"
296
296
  style="mask-type: alpha"
297
297
  maskUnits="userSpaceOnUse"
298
298
  x="4"
@@ -303,16 +303,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
303
  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
304
  fill="#7D37D7" />
305
305
  </mask>
306
- <g mask="url(#${n(t,"layout-mask")})">
307
- <rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${n(t,"header-paint")})" />
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")})" />
308
308
  <rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
309
309
  <rect x="4" y="2" width="220" height="125" fill="none" />
310
- <rect x="4" y="127" width="220" height="125" fill="url(#${n(t,"footer-paint")})" />
310
+ <rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
311
311
  </g>
312
312
  </g>
313
313
  <defs>
314
314
  <filter
315
- id="${n(t,"layout-filter")}"
315
+ id="${s(t,"layout-filter")}"
316
316
  x="0"
317
317
  y="0"
318
318
  width="228"
@@ -333,7 +333,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
333
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54637" result="shape" />
334
334
  </filter>
335
335
  <linearGradient
336
- id="${n(t,"header-paint")}"
336
+ id="${s(t,"header-paint")}"
337
337
  x1="224"
338
338
  y1="252"
339
339
  x2="46.7372"
@@ -343,7 +343,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
343
  <stop offset="1" stop-color="${i.end}" />
344
344
  </linearGradient>
345
345
  <linearGradient
346
- id="${n(t,"footer-paint")}"
346
+ id="${s(t,"footer-paint")}"
347
347
  x1="224"
348
348
  y1="157.738"
349
349
  x2="1.00001"
@@ -354,16 +354,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
354
354
  </linearGradient>
355
355
  </defs>
356
356
  ${l}
357
- </svg>`:e==="app-passport"?(l,s,o)=>`<svg
358
- width="${s}"
357
+ </svg>`:e==="app-passport"?(l,n,o)=>`<svg
358
+ width="${n}"
359
359
  height="${o}"
360
360
  viewBox="0 0 228 258"
361
361
  fill="none"
362
362
  xmlns="http://www.w3.org/2000/svg"
363
363
  xmlns:xlink="http://www.w3.org/1999/xlink">
364
- <g filter="url(#${n(t,"layout-filter")})">
364
+ <g filter="url(#${s(t,"layout-filter")})">
365
365
  <mask
366
- id="${n(t,"layout-mask")}"
366
+ id="${s(t,"layout-mask")}"
367
367
  style="mask-type: alpha"
368
368
  maskUnits="userSpaceOnUse"
369
369
  x="4"
@@ -376,16 +376,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
376
  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
377
  fill="#7D37D7" />
378
378
  </mask>
379
- <g mask="url(#${n(t,"layout-mask")})">
380
- <rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${n(t,"header-paint")})" />
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")})" />
381
381
  <rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
382
382
  <rect x="4" y="2" width="220" height="125" fill="none" />
383
- <rect x="4" y="127" width="220" height="125" fill="url(#${n(t,"footer-paint")})" />
383
+ <rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
384
384
  </g>
385
385
  </g>
386
386
  <defs>
387
387
  <filter
388
- id="${n(t,"layout-filter")}"
388
+ id="${s(t,"layout-filter")}"
389
389
  x="0"
390
390
  y="0"
391
391
  width="228"
@@ -406,7 +406,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
406
  <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54471" result="shape" />
407
407
  </filter>
408
408
  <linearGradient
409
- id="${n(t,"header-paint")}"
409
+ id="${s(t,"header-paint")}"
410
410
  x1="224"
411
411
  y1="252"
412
412
  x2="46.7372"
@@ -416,7 +416,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
416
  <stop offset="1" stop-color="${i.end}" />
417
417
  </linearGradient>
418
418
  <linearGradient
419
- id="${n(t,"footer-paint")}"
419
+ id="${s(t,"footer-paint")}"
420
420
  x1="224"
421
421
  y1="157.738"
422
422
  x2="1.00001"
@@ -427,14 +427,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
427
427
  </linearGradient>
428
428
  </defs>
429
429
  ${l}
430
- </svg>`:e==="app-kyc"?(l,s,o)=>`<svg width="${s}" height="${o}" viewBox="0 0 228 258" fill="none" xmlns="http://www.w3.org/2000/svg"
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"
431
431
  xmlns:xlink="http://www.w3.org/1999/xlink">
432
- <g clip-path="url(#${n(t,"border-top")})">
433
- <g clip-path="url(#${n(t,"border-bottom")})">
432
+ <g clip-path="url(#${s(t,"border-top")})">
433
+ <g clip-path="url(#${s(t,"border-bottom")})">
434
434
  <path fill-rule="evenodd" clip-rule="evenodd"
435
435
  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
436
  style="fill:${i.start};fill-opacity:1;" />
437
- <g clip-path="url(#${n(t,"header-icon")})">
437
+ <g clip-path="url(#${s(t,"header-icon")})">
438
438
  <path
439
439
  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
440
  stroke="white" style="stroke:white;stroke-opacity:1;" stroke-width="3" stroke-linecap="round"
@@ -443,39 +443,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
443
  stroke-linecap="round" stroke-linejoin="round" />
444
444
  </g>
445
445
  </g>
446
- <rect width="220" height="125" transform="translate(4 126)" fill="url(#${n(t,"body-paint")})" style="" />
446
+ <rect width="220" height="125" transform="translate(4 126)" fill="url(#${s(t,"body-paint")})" style="" />
447
447
  ${l}
448
448
  </g>
449
449
  <defs>
450
- <linearGradient id="${n(t,"body-paint")}" x1="220" y1="30.7377" x2="-2.99999" y2="30.7377"
450
+ <linearGradient id="${s(t,"body-paint")}" x1="220" y1="30.7377" x2="-2.99999" y2="30.7377"
451
451
  gradientUnits="userSpaceOnUse">
452
452
  <stop stop-color="#101010"
453
453
  style="stop-color:#101010;stop-color:color(display-p3 0.0625 0.0625 0.0625);stop-opacity:1;" />
454
454
  <stop offset="1" stop-color="#272727"
455
455
  style="stop-color:#272727;stop-color:color(display-p3 0.1542 0.1542 0.1542);stop-opacity:1;" />
456
456
  </linearGradient>
457
- <clipPath id="${n(t,"border-top")}">
457
+ <clipPath id="${s(t,"border-top")}">
458
458
  <rect x="4" y="2" width="220" height="250" rx="8" fill="white" style="fill:white;fill-opacity:1;" />
459
459
  </clipPath>
460
- <clipPath id="${n(t,"border-bottom")}">
460
+ <clipPath id="${s(t,"border-bottom")}">
461
461
  <rect width="220" height="125" fill="white" style="fill:white;fill-opacity:1;" transform="translate(4 2)" />
462
462
  </clipPath>
463
- <clipPath id="${n(t,"header-icon")}">
463
+ <clipPath id="${s(t,"header-icon")}">
464
464
  <rect width="60" height="60" fill="white" style="fill:white;fill-opacity:1;" transform="translate(84 43)" />
465
465
  </clipPath>
466
466
  </defs>
467
- </svg>`:()=>"",a1=(e,t,i)=>{const l=n(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">
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
468
  <path
469
469
  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(#${n(t,"space-gradient1")})" />
470
+ fill="url(#${s(t,"space-gradient1")})" />
471
471
  <path
472
472
  fill-rule="evenodd"
473
473
  clip-rule="evenodd"
474
474
  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(#${n(t,"space-gradient2")})" />
475
+ fill="url(#${s(t,"space-gradient2")})" />
476
476
  <defs>
477
477
  <linearGradient
478
- id="${n(t,"space-gradient1")}"
478
+ id="${s(t,"space-gradient1")}"
479
479
  x1="31.3969"
480
480
  y1="0"
481
481
  x2="31.3969"
@@ -485,7 +485,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
485
  <stop offset="1" stop-color="white" />
486
486
  </linearGradient>
487
487
  <linearGradient
488
- id="${n(t,"space-gradient2")}"
488
+ id="${s(t,"space-gradient2")}"
489
489
  x1="16.603"
490
490
  y1="0"
491
491
  x2="16.603"
@@ -523,19 +523,19 @@ 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
523
  clip-rule="evenodd"
524
524
  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
525
  fill="white" />
526
- </g>`;if(e==="app-passport"){const s=n(t,"passport-avatar-mask");return i.icon?`<g id="${l}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
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
527
  <defs>
528
- <clipPath id="${s}">
528
+ <clipPath id="${n}">
529
529
  <circle cx="114" cy="20" r="20" fill="#FFFFFF" />
530
530
  </clipPath>
531
531
  </defs>
532
- <image xlink:href="${i.icon}" x="94" y="0" width="40" height="40" clip-path="url(#${s})" />
532
+ <image xlink:href="${i.icon}" x="94" y="0" width="40" height="40" clip-path="url(#${n})" />
533
533
  <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
534
  </g>`:`<g id="${l}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
535
535
  <circle cx="114" cy="15" r="20" fill="#D9D9D9"/>
536
536
  <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="${n(t,"holder")}" transform="translate(24, 151)" width="180" height="24">
538
- <circle cx="12" cy="12" r="12" fill="url(#${n(t,"holder-image")})" />
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")})" />
539
539
  <foreignObject x="32" y="0" width="156" height="24">
540
540
  <div
541
541
  xmlns="http://www.w3.org/1999/xhtml"
@@ -545,7 +545,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
545
  </div>
546
546
  </foreignObject>
547
547
  <defs>
548
- <pattern id="${n(t,"holder-image")}" width="24" height="24" patternUnits="userSpaceOnUse">
548
+ <pattern id="${s(t,"holder-image")}" width="24" height="24" patternUnits="userSpaceOnUse">
549
549
  <image
550
550
  xlink:href="${i.icon}"
551
551
  x="0"
@@ -554,8 +554,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
554
  height="24" />
555
555
  </pattern>
556
556
  </defs>
557
- </g>`:""},s1=(e,t,i,l=12)=>{const s=i==="app-kyc"?188:151;return i==="app-kyc"?`<g id="${n(t,"issuer")}" transform="translate(24, ${s})" width="180" height="14">
558
- <g id="${n(t,"issuer-badge")}">
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")}">
559
559
  <path
560
560
  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
561
  style="fill:white;fill-opacity:1;" />
@@ -574,8 +574,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
574
574
  ${e.name}
575
575
  </div>
576
576
  </foreignObject>
577
- </g>`:e.icon?`<g id="${n(t,"issuer")}" transform="translate(24, ${s})" width="180" height="14">
578
- <rect x="0" y="0" width="14" height="14" rx="2" fill="url(#${n(t,"issuer-image")})" />
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")})" />
579
579
  <foreignObject x="20" y="-2" width="156" height="18">
580
580
  <div
581
581
  xmlns="http://www.w3.org/1999/xhtml"
@@ -585,7 +585,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
585
585
  </div>
586
586
  </foreignObject>
587
587
  <defs>
588
- <pattern id="${n(t,"issuer-image")}" width="14" height="14" patternUnits="userSpaceOnUse">
588
+ <pattern id="${s(t,"issuer-image")}" width="14" height="14" patternUnits="userSpaceOnUse">
589
589
  <image
590
590
  xlink:href="${e.icon}"
591
591
  x="0"
@@ -594,7 +594,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
594
594
  height="14" />
595
595
  </pattern>
596
596
  </defs>
597
- </g>`:`<g id="${n(t,"issuer")}" transform="translate(24, ${s})" width="180" height="14">
597
+ </g>`:`<g id="${s(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
598
598
  <rect x="0" y="0" width="14" height="14" rx="2" fill="#6D6D6D"/>
599
599
  <foreignObject x="0" y="-2" width="176" height="18">
600
600
  <div
@@ -604,8 +604,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
604
604
  ${e.name}
605
605
  </div>
606
606
  </foreignObject>
607
- </g>`},n1=(e,t,i,l=12)=>{const s=i==="app-kyc"?211:181;return i==="app-kyc"&&e.key==="email"?`<g id="${n(t,"extra")}" transform="translate(24, ${s})" width="180" height="15">
608
- <g id="${n(t,"extra-badge")}">
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")}">
609
609
  <path
610
610
  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
611
  style="fill:white;fill-opacity:1;" />
@@ -624,7 +624,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
624
624
  dominant-baseline="middle">
625
625
  ${e.value}
626
626
  </text>
627
- </g>`:`<g id="${n(t,"extra")}" transform="translate(24, ${s})" width="180" height="14">
627
+ </g>`:`<g id="${s(t,"extra")}" transform="translate(24, ${n})" width="180" height="14">
628
628
  <text
629
629
  x="0"
630
630
  y="8"
@@ -647,7 +647,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
647
647
  ${e.value}
648
648
  </tspan>
649
649
  </text>
650
- </g>`},r1=(e,t,i=10)=>{const l=e.replace("did:abt:",""),s=Q1(l),o=s?Y1(l):H1(l).color,r=`<g id="${n(t,"did-prefix")}" transform="translate(24, 210)" height="14">
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
651
  <text
652
652
  x="0"
653
653
  y="8"
@@ -667,7 +667,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
667
  alignment-baseline="middle"
668
668
  dominant-baseline="middle">ABT:</tspan>
669
669
  </text>
670
- </g>`;let h="";s===!1&&(h=U1(l).replace("<svg ",`<g id="${n(t,"did-motif")}" transform="translate(67, 211) scale(0.12, 0.12)" width="12" height="12" `).replace("</svg>","</g>"));const d=`<g id="${n(t,"did-suffix")}" transform="translate(${s?67:80}, 210)" height="14">
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
671
  <text
672
672
  x="0"
673
673
  y="8"
@@ -679,16 +679,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
679
679
  dominant-baseline="middle">
680
680
  ${i1(l)}
681
681
  </text>
682
- </g>`;return[r,h,d].filter(Boolean).join("")},o1=e=>`<g id="${n(e,"verifiable-badge")}" transform="translate(189, 206)" width="22" height="22" viewBox="0 0 22 22" fill="none">
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
683
  <path
684
684
  fill-rule="evenodd"
685
685
  clip-rule="evenodd"
686
686
  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(#${n(e,"badge-gradient")})"
687
+ fill="url(#${s(e,"badge-gradient")})"
688
688
  />
689
689
  <defs>
690
690
  <radialGradient
691
- id="${n(e,"badge-gradient")}"
691
+ id="${s(e,"badge-gradient")}"
692
692
  cx="0"
693
693
  cy="0"
694
694
  r="1"
@@ -700,7 +700,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
700
  <stop offset="1" stop-color="#94F0BA" />
701
701
  </radialGradient>
702
702
  </defs>
703
- </g>`,d1=(e,t,i)=>{const l=n(i,"chain-badge"),s=t?189:162;return e==="ethereum"?`<g id="${l}" transform="translate(${s}, 205)" width="24" height="24" viewBox="0 0 24 24">
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
704
  <defs>
705
705
  <style>
706
706
  .cls-1,
@@ -782,7 +782,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
782
  </g>
783
783
  <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
784
  </g>
785
- </g>`:e==="arcblock"?`<g id="${l}" transform="translate(${s}, 205)" width="24" height="24" viewBox="0 0 24 24">
785
+ </g>`:e==="arcblock"?`<g id="${l}" transform="translate(${n}, 205)" width="24" height="24" viewBox="0 0 24 24">
786
786
  <defs>
787
787
  <style>
788
788
  .cls-1 {
@@ -885,7 +885,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
885
885
  />
886
886
  </g>
887
887
  </g>
888
- </g>`:""},c1=(e,t,i)=>{const l=e?o1(i):"",s=d1(t,!e,i);return[l,s].filter(Boolean).join("")},p1=(e,t,i)=>{const l={success:"#34BE74",error:"#F16E6E",info:"#0775F8",warning:"#DE9E37"};if(e){const s=n(i,"tag-distort");return`<g id="${n(i,"tag")}" transform="translate(112,-36) rotate(45)">
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
889
  <rect x="60" y="0" width="95" height="30" stroke="${l[t]}" stroke-width="2" />
890
890
  <text
891
891
  x="104"
@@ -896,14 +896,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
896
896
  fill="${l[t]}"
897
897
  text-anchor="middle"
898
898
  alignment-baseline="middle"
899
- dominant-baseline="middle" filter="url(#${s})">${e.toUpperCase()}</text>
899
+ dominant-baseline="middle" filter="url(#${n})">${e.toUpperCase()}</text>
900
900
  <defs>
901
- <filter id="${s}">
901
+ <filter id="${n}">
902
902
  <feTurbulence baseFrequency="0.01 0.01" numOctaves="1" result="noise" />
903
903
  <feDisplacementMap in="SourceGraphic" in2="noise" scale="10" xChannelSelector="R" yChannelSelector="R" />
904
904
  </filter>
905
905
  </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,s=e.color||E[e.variant]||E["app-passport"],o=l1(e.variant,t,s),r=a1(e.variant,t,e.header),h=s1(e.issuer,t,e.variant),d=n1(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:n1,getHeaderSvg:a1,getIssuerSvg:s1,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,s]=b.useState("");!l&&t.length&&s(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){s(c)}function f(c){if(typeof c=="function"){const u=c(r.findIndex(x=>x.key===l));s(r[u].key)}else s(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&&s(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 s in l)if(e.call(l,s))return!1;return!0}}return!1}return D=i,D}var le=ie();const ae=K(le);var V={exports:{}},se=V.exports,P;function ne(){return P||(P=1,function(e){(function(t,i,l){e.exports?e.exports=l():i[t]=l()})("urljoin",se,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 s=i.shift();i[0]=s+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=ne();const oe=K(re),de="/.well-known/service/static/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:s="",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:s}):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:s}){const o=R(i);return s?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`
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
907
  .ellipsis-title {
908
908
  flex: 1;
909
909
  position: absolute;
@@ -1061,7 +1061,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
1061
  }
1062
1062
  }
1063
1063
  }
1064
- `;function u1({blockletMeta:e,logoUrl:t="",locale:i="",useOfSkeleton:l=!1,subTitle:s="",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:s}),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)`
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
1065
  overflow-y: auto;
1066
1066
  display: flex;
1067
1067
  flex-direction: column;
@@ -1344,7 +1344,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
1344
1344
  height: 100%;
1345
1345
  max-height: 100%;
1346
1346
  }
1347
- `;function be({blockletMeta:e={},loading:t=!1,children:i,logoUrl:l="",locale:s="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(s);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:s,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:s,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")`
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
1348
  width: ${e=>e.width||"80%"};
1349
1349
  min-width: 900px;
1350
1350
  box-sizing: border-box;