@abtnode/blocklet-services 1.17.3-beta-20251117-130331-b2ce7065 → 1.17.3-beta-20251118-061144-335cd35d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/middlewares/verify-sig.js +14 -4
- package/api/services/auth/session.js +1 -1
- package/dist/assets/{AdapterDayjs-CSsn7VEX.js → AdapterDayjs-C8RSaHa0.js} +1 -1
- package/dist/assets/{Google-C-Ei9n0a.js → Google-BT1deiYa.js} +1 -1
- package/dist/assets/{access-control-D0vxk-Ay.js → access-control-Ddnn1J4F.js} +1 -1
- package/dist/assets/{actions-C0hEY5iN.js → actions-DqoNrBDK.js} +1 -1
- package/dist/assets/{add-component-core-7Qng0h9D.js → add-component-core-CZQBpP2b.js} +15 -15
- package/dist/assets/{add-resource-CS6pw4MD.js → add-resource-DUXwdNKB.js} +1 -1
- package/dist/assets/{addon-B5iZc5zB.js → addon-BgN564dt.js} +2 -2
- package/dist/assets/{advanced-QXzUapJI.js → advanced-D9d385yZ.js} +2 -2
- package/dist/assets/{aigne-CviOmneT.js → aigne-BK9oL3LS.js} +1 -1
- package/dist/assets/api-Btn0Tp3W.js +1 -0
- package/dist/assets/{appearance-CkaT_h9I.js → appearance-BLjBQMnd.js} +1 -1
- package/dist/assets/{arrow-down.svg-CDi8ywws.js → arrow-down.svg-Uxqj9Lez.js} +1 -1
- package/dist/assets/{audit-logs-D2VdqDH8.js → audit-logs-B9JmO_5U.js} +2 -2
- package/dist/assets/{authorize-BJr_whxb.js → authorize-BseET0LV.js} +1 -1
- package/dist/assets/{base-chart-BIsPFns6.js → base-chart-C-Raz4Q-.js} +1 -1
- package/dist/assets/{base32-cypJRki8.js → base32-DB18VP05.js} +1 -1
- package/dist/assets/bind-account-DWu2ZbPT.js +1 -0
- package/dist/assets/{branding-wKKLyZjs.js → branding-CPYtF-6a.js} +5 -5
- package/dist/assets/{branding-B7OUNmDC.js → branding-CmMCHUpY.js} +1 -1
- package/dist/assets/branding-DO47QT9Q.js +1 -0
- package/dist/assets/{bundle-avatar-Bft1K1fA.js → bundle-avatar-B9iCn_eS.js} +1 -1
- package/dist/assets/button-Bm6Z4hYZ.js +1 -0
- package/dist/assets/{click-to-copy-Kd1YilQn.js → click-to-copy-CzGMi2Jw.js} +1 -1
- package/dist/assets/{cloneDeep-3LGZOUYL.js → cloneDeep-C6qewg0C.js} +1 -1
- package/dist/assets/{collapse-Cc8IqFzl.js → collapse-BMy0GGFk.js} +1 -1
- package/dist/assets/{complete-FhkNOVEb.js → complete-DFxZ9mZl.js} +1 -1
- package/dist/assets/{component-YEpcN0PM.js → component-CmpGxsIf.js} +2 -2
- package/dist/assets/{config-ABsyghax.js → config-BMeucuGh.js} +1 -1
- package/dist/assets/{config-CfZ5vdbi.js → config-Bg2nv4Ct.js} +5 -5
- package/dist/assets/{config-BH7esTqa.js → config-Dj032f65.js} +1 -1
- package/dist/assets/{config-navigation-C2Cya4Ts.js → config-navigation-Wws6cRZg.js} +2 -2
- package/dist/assets/{config-space-k6_NPjjD.js → config-space-DVbXpK0p.js} +1 -1
- package/dist/assets/{confirm-BWGQvLZx.js → confirm-D_oS4C5N.js} +1 -1
- package/dist/assets/{connect-DohcTFiY.js → connect-BeM9KScn.js} +1 -1
- package/dist/assets/{connect-B1DJAH4e.js → connect-td4SUK2j.js} +1 -1
- package/dist/assets/connect-to-CK_BBgim.js +1 -0
- package/dist/assets/{content-layout-DJL10aJT.js → content-layout-oyz1EqNZ.js} +1 -1
- package/dist/assets/{create-passport-svg-aTWV-cva.js → create-passport-svg-B2TKOs7K.js} +1 -1
- package/dist/assets/createClass-BWB0NSWO.js +1 -0
- package/dist/assets/{dashboard-CuicHcGI.js → dashboard-B59Yx2EA.js} +2 -2
- package/dist/assets/{delete-confirm-DgdA8XR6.js → delete-confirm-DwFvaC6s.js} +1 -1
- package/dist/assets/{did-address-B_YPBiI4.js → did-address-C5FXzeAS.js} +1 -1
- package/dist/assets/domain-Dwzb8N6w.js +9 -0
- package/dist/assets/domain-action-card-CXIxAIsm.js +28 -0
- package/dist/assets/domains-0qUGORQe.js +1 -0
- package/dist/assets/{email-Bn3hPH00.js → email-CDYDF-7u.js} +1 -1
- package/dist/assets/{empty-spinner-Dqkt-AHg.js → empty-spinner-DYOzicuy.js} +1 -1
- package/dist/assets/engine-DXhw4g-J.js +1 -0
- package/dist/assets/{exchange-passport-3kSU2YMT.js → exchange-passport-CoU5Q4QA.js} +1 -1
- package/dist/assets/{form-MjxZB__D.js → form-I14bCwkb.js} +1 -1
- package/dist/assets/{form-text-input-BhAqaNAJ.js → form-text-input-B2T0zM2q.js} +1 -1
- package/dist/assets/{form-wrapper-SZH1FnTd.js → form-wrapper-C8oo_Fdy.js} +1 -1
- package/dist/assets/{fuel-C5ze4Cx7.js → fuel-DlHj4E28.js} +2 -2
- package/dist/assets/{gen-access-key-DKzPF3CU.js → gen-access-key-C54GFXyN.js} +1 -1
- package/dist/assets/{gen-simple-access-key-DTWz63Us.js → gen-simple-access-key-Cgw0gqQM.js} +1 -1
- package/dist/assets/get-safe-url-mKD2PdwN.js +1 -0
- package/dist/assets/{home-Bqn3mvqQ.js → home-D6Wx3vEh.js} +1 -1
- package/dist/assets/{iframe-CxCgprun.js → iframe-fHGifsex.js} +1 -1
- package/dist/assets/{index-BTBrooUu.js → index-B5fUUj0x.js} +1 -1
- package/dist/assets/{index-B_NniBaO.js → index-BJAIYdQp.js} +1 -1
- package/dist/assets/{index-BPKZON9n.js → index-BUTKGY5W.js} +7 -7
- package/dist/assets/{index-CdA2hOvz.js → index-Bdyv52fm.js} +1 -1
- package/dist/assets/{index-Clfe99AI.js → index-Bnv7SivR.js} +1 -1
- package/dist/assets/index-C1cWdBpP.js +120 -0
- package/dist/assets/{index-Dgk0_7wf.js → index-C5hO5d4a.js} +5 -5
- package/dist/assets/{index-C_odLDQq.js → index-CPlFvcnd.js} +13 -13
- package/dist/assets/index-CWemdG9k.js +7 -0
- package/dist/assets/{index-BwSFbkVa.js → index-ChNXm8zt.js} +1 -1
- package/dist/assets/{index-Bero09ZY.js → index-Cq3xfsOS.js} +126 -128
- package/dist/assets/{index-PwQ2doS3.js → index-CsRxFZuh.js} +1 -1
- package/dist/assets/{index-CPJ0NzQN.js → index-Ctf-FbXC.js} +8 -8
- package/dist/assets/{index-D9bRGwyn.js → index-D1c_Zlts.js} +1 -1
- package/dist/assets/{index-CAMegfIe.js → index-D5TNmV3K.js} +1 -1
- package/dist/assets/{index-DlPcYWy3.js → index-DTj7lG0j.js} +1 -1
- package/dist/assets/index-DVBwQI1h.js +6 -0
- package/dist/assets/{index-CNndXmIt.js → index-DVZm1sCw.js} +1 -1
- package/dist/assets/index-DW-pVTUA.js +1 -0
- package/dist/assets/{index-OAcqMuQz.js → index-Dd1dREUL.js} +2 -2
- package/dist/assets/{index-DKuLdlGi.js → index-De-Vgsb6.js} +1 -1
- package/dist/assets/index-DnKyoEA9.js +55 -0
- package/dist/assets/{index-VyLFO7R7.js → index-Mix8V5gr.js} +4 -4
- package/dist/assets/{index-WzLE1u-g.js → index-NomqB6Iy.js} +1 -1
- package/dist/assets/index-S8uuD-j6.js +29 -0
- package/dist/assets/{index-DUJ8lwX7.js → index-Tj1dVBHC.js} +10 -10
- package/dist/assets/index-WsuqXAUT.js +1 -0
- package/dist/assets/{index-BWszlIaS.js → index-ecxGjzSN.js} +2 -2
- package/dist/assets/{index-CI7en2_Z.js → index-j9zHEMDv.js} +2 -2
- package/dist/assets/{index-CWQp0vgv.js → index-nYsahwVM.js} +1 -1
- package/dist/assets/{index-DnJ0ECmd.js → index-phW48DJg.js} +1 -1
- package/dist/assets/{index-CXA6Z-BW.js → index-qme31tNJ.js} +5 -5
- package/dist/assets/{index-BCKWe_QR.js → index-sE6ANlb1.js} +1 -1
- package/dist/assets/{invitation-KNbJYWOf.js → invitation-p9I7Fs_7.js} +2 -2
- package/dist/assets/{invitations-Di31zIeh.js → invitations-BYrxk2XC.js} +1 -1
- package/dist/assets/{invite-Cq1bQR9j.js → invite-DptGZzm9.js} +1 -1
- package/dist/assets/{isURL-RzSyCgzI.js → isURL-DmCvTfVx.js} +2 -2
- package/dist/assets/{issue-passport-DnHvhKR-.js → issue-passport-CeJy-eGP.js} +1 -1
- package/dist/assets/{item-DVQ8TUdv.js → item-D48n_jCS.js} +1 -1
- package/dist/assets/{landing-page-BzztE6uh.js → landing-page-C-nrxraJ.js} +1 -1
- package/dist/assets/{launch-result-message-DZJ76kCs.js → launch-result-message-DWeUg9rM.js} +1 -1
- package/dist/assets/{layout-D4qCeoWb.js → layout-Bu-krdMM.js} +1 -1
- package/dist/assets/{list-BIECWQvk.js → list-Bm-Ae18B.js} +1 -1
- package/dist/assets/list-DTYfy5jI.js +103 -0
- package/dist/assets/{list-header-BNFs7V0b.js → list-header-BE2kzda_.js} +1 -1
- package/dist/assets/localization-BILR5z0M.js +1 -0
- package/dist/assets/{log-Uj0MJfkC.js → log-QCNL7fmO.js} +1 -1
- package/dist/assets/logger-LLowKmBx.js +1 -0
- package/dist/assets/login-CEAH4IAS.js +1 -0
- package/dist/assets/{login-oauth-callback-DB_9NuV_.js → login-oauth-callback-C2H6pyf0.js} +1 -1
- package/dist/assets/{logo-uploader-BaFwvDBA.js → logo-uploader-D9dqlBcG.js} +1 -1
- package/dist/assets/{lost-passport-C2SpMW8x.js → lost-passport-D-HNQTYL.js} +2 -2
- package/dist/assets/{observability-BjKI3tFt.js → observability-Zow0Sv-X.js} +1 -1
- package/dist/assets/{omit-BZEryV5a.js → omit-hhiOJGRf.js} +1 -1
- package/dist/assets/{open-window-CVU9iEs4.js → open-window-DgCyIQ1g.js} +1 -1
- package/dist/assets/{over-due-invoice-payment-CFwnz6K1.js → over-due-invoice-payment-DSTf3GE0.js} +1 -1
- package/dist/assets/{overview-DpyqbS6x.js → overview-ClqTYGzr.js} +2 -2
- package/dist/assets/{page-header-xpG0yfsa.js → page-header-DCvzRay5.js} +1 -1
- package/dist/assets/passport-C04lgrV5.js +1 -0
- package/dist/assets/{passport-item-Af9VCIFW.js → passport-item-BDPJusYi.js} +1 -1
- package/dist/assets/{permission-bm6ygywx.js → permission-CPpfaEat.js} +1 -1
- package/dist/assets/{playground-DKMlueFr.js → playground-CAOOFQT1.js} +1 -1
- package/dist/assets/preferences-D2CWTpgr.js +1 -0
- package/dist/assets/profile-embed-CLHyEYTf.js +1 -0
- package/dist/assets/publish-resource-B1BSffEx.js +1 -0
- package/dist/assets/{react-beautiful-dnd.esm-aD7p6S7F.js → react-beautiful-dnd.esm-ZwmTP19t.js} +1 -1
- package/dist/assets/{react-stripe.esm-BV6kfV2w.js → react-stripe.esm-Dc9snvfb.js} +1 -1
- package/dist/assets/{required-C9DLcn9T.js → required-BGaDOGrj.js} +1 -1
- package/dist/assets/runtime-AXM1IbpE.js +1 -0
- package/dist/assets/{sanitize-usZAK6S4.js → sanitize-BEqBHa8a.js} +1 -1
- package/dist/assets/sdk-CvRW7Vwp.js +1 -0
- package/dist/assets/{section-MSasF4Cx.js → section-C75bzkkL.js} +1 -1
- package/dist/assets/{security-DbLAyZY0.js → security-BKCc6kr9.js} +1 -1
- package/dist/assets/{session-jDtNo9RS.js → session-BYq9-2GE.js} +1 -1
- package/dist/assets/{setup-C5jTmWDG.js → setup-CdiiCta6.js} +1 -1
- package/dist/assets/{shorten-label-dRmYvYJ7.js → shorten-label-RqvHqcC3.js} +1 -1
- package/dist/assets/{simple-select-CQxVe4SK.js → simple-select-iVD4-YUy.js} +1 -1
- package/dist/assets/{spaces-V5-JD9i7.js → spaces-Bhd_JZon.js} +1 -1
- package/dist/assets/{start-6JVejCmJ.js → start-BXKCBBDg.js} +1 -1
- package/dist/assets/{starting-progress-BYVwnaNc.js → starting-progress-Ls9oWS4w.js} +1 -1
- package/dist/assets/status-Cu5kOgRL.js +1 -0
- package/dist/assets/{step-actions-C1GR4GhW.js → step-actions-sALFE9jn.js} +1 -1
- package/dist/assets/{studio-DmcnkjTl.js → studio-2AfcGI4x.js} +1 -1
- package/dist/assets/{switch-control-CG7qdize.js → switch-control-CLq7MYhJ.js} +1 -1
- package/dist/assets/{table-tips-CdXwFA3X.js → table-tips-DBCvmY1v.js} +1 -1
- package/dist/assets/team-4Qq9vwj5.js +146 -0
- package/dist/assets/traffic-DU_BMQPm.js +1 -0
- package/dist/assets/{transfer-D3XcQgCt.js → transfer-DAvviBGy.js} +1 -1
- package/dist/assets/{unsubscribe-D-eN0zoM.js → unsubscribe-CzukIuIE.js} +1 -1
- package/dist/assets/{use-app-logo-CMlvKxYW.js → use-app-logo-9qTsLgnV.js} +1 -1
- package/dist/assets/{use-mobile-Bjbo_Gou.js → use-mobile-DCNBsOlH.js} +1 -1
- package/dist/assets/{use-mobile-CjZIGfWP.js → use-mobile-maRlSUwU.js} +1 -1
- package/dist/assets/{use-server-logo-uMEEt675.js → use-server-logo-n_aaKVoZ.js} +1 -1
- package/dist/assets/use-window-close-PzHKtiXA.js +1 -0
- package/dist/assets/{useAsync-BT7wPXCF.js → useAsync-BcVLpt2E.js} +1 -1
- package/dist/assets/{useAsync-D25sKCXL.js → useAsync-cZ_FPf9k.js} +1 -1
- package/dist/assets/{useAsyncRetry-D-vTCNcS.js → useAsyncRetry-DwwEjrjs.js} +1 -1
- package/dist/assets/{useLocalStorage-BVI5Gy_v.js → useLocalStorage-CvPFnddH.js} +1 -1
- package/dist/assets/user-center-DynXe12u.js +126 -0
- package/dist/assets/{user-follower-CaGHj3ZA.js → user-follower-Br2H5oAR.js} +1 -1
- package/dist/assets/{util-BsBRHu6F.js → util-4xOccFjr.js} +1 -1
- package/dist/assets/{util-B-6GuSKY.js → util-B1w9UqzK.js} +1 -1
- package/dist/assets/{vendor-arcblock-B0VYnHWE.js → vendor-arcblock-CqplRmyi.js} +114 -115
- package/dist/assets/{vendor-hooks-iFsOjihK.js → vendor-hooks-CjESGRlR.js} +1 -1
- package/dist/assets/{vendor-mui-core-BPcN1m8_.js → vendor-mui-core-CnXrAOs3.js} +1 -1
- package/dist/assets/{vendor-mui-x-DEgOZXst.js → vendor-mui-x-bJ5idfMH.js} +1 -1
- package/dist/assets/vendor-utils-cJEl_UEd.js +213 -0
- package/dist/assets/{vendor-ux-CheVAuK7.js → vendor-ux-5OlTXZBe.js} +10 -10
- package/dist/assets/{wait-connect-DyWyU1dI.js → wait-connect-BA-9v9IK.js} +1 -1
- package/dist/assets/{wizard-CwvOHxpL.js → wizard-B70SUVne.js} +1 -1
- package/dist/assets/{wizard-components-Cu3iAFug.js → wizard-components-Bj1vePv_.js} +1 -1
- package/dist/assets/wrap-locale-CyFByfaX.js +1 -0
- package/dist/assets/{zh-qs5i9EFZ.js → zh-DBbr_lO3.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +23 -23
- package/dist/assets/api-VWP7Oo6L.js +0 -1
- package/dist/assets/bind-account-BCP_Ypfy.js +0 -1
- package/dist/assets/branding-BDdxk2E2.js +0 -1
- package/dist/assets/button-DAumqZoi.js +0 -1
- package/dist/assets/connect-to-BrFtlkBE.js +0 -1
- package/dist/assets/createClass-sKvm4qit.js +0 -1
- package/dist/assets/domain-BeE_hgxW.js +0 -9
- package/dist/assets/domain-action-card-CBIJJCbh.js +0 -28
- package/dist/assets/domains-DgAenuDY.js +0 -1
- package/dist/assets/engine-DH9sKH0j.js +0 -1
- package/dist/assets/get-safe-url-DEmvtN3J.js +0 -1
- package/dist/assets/index-B3O5tZNc.js +0 -55
- package/dist/assets/index-Bth96Xcv.js +0 -7
- package/dist/assets/index-CZ4Y1y1j.js +0 -120
- package/dist/assets/index-DUiyqDLR.js +0 -30
- package/dist/assets/index-bd0w0UHw.js +0 -6
- package/dist/assets/index-hKD4Miak.js +0 -1
- package/dist/assets/index-vci0NXIe.js +0 -1
- package/dist/assets/list-Dd8HkY3P.js +0 -103
- package/dist/assets/localization-CCBoTGdU.js +0 -1
- package/dist/assets/logger-D-AxDn18.js +0 -1
- package/dist/assets/login-DWAFC8kE.js +0 -1
- package/dist/assets/passport-Bei4Q65O.js +0 -1
- package/dist/assets/preferences-lGhRntFn.js +0 -1
- package/dist/assets/profile-embed-JHxbEwL7.js +0 -1
- package/dist/assets/publish-resource-D19FmjtU.js +0 -1
- package/dist/assets/runtime-Kn_kNxXD.js +0 -1
- package/dist/assets/sdk-C0BAXQzO.js +0 -1
- package/dist/assets/status-C9q9BOVN.js +0 -1
- package/dist/assets/team-PZ1SHeY3.js +0 -146
- package/dist/assets/traffic-Dh35q8G-.js +0 -1
- package/dist/assets/use-window-close-Dmw6cTVQ.js +0 -1
- package/dist/assets/user-center-Cwsrx5yP.js +0 -126
- package/dist/assets/vendor-utils-D6HS5QsS.js +0 -213
- package/dist/assets/wrap-locale-BLNR9__l.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as
|
|
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-5OlTXZBe.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")`
|
|
2
2
|
flex: 1;
|
|
3
3
|
width: 100vw;
|
|
4
4
|
height: 100vh;
|
|
@@ -6,7 +6,7 @@ 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,
|
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: center;
|
|
8
8
|
align-items: center;
|
|
9
|
-
`;var
|
|
9
|
+
`;var G1=E1();function I1({height:e,...t}){return a.jsx(_1,{height:e,...t})}const _1=S(k)`
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
&:before {
|
|
12
12
|
content: '';
|
|
@@ -19,7 +19,7 @@ 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,
|
|
|
19
19
|
float: left;
|
|
20
20
|
white-space: nowrap;
|
|
21
21
|
}
|
|
22
|
-
`;function
|
|
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 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,
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
`;function
|
|
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
|
}
|
|
@@ -129,7 +129,7 @@ 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,
|
|
|
129
129
|
margin-right: 8px;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
`,W1=S(q)`
|
|
133
133
|
padding-top: 8px;
|
|
134
134
|
padding-bottom: 16px;
|
|
135
135
|
.navmenu {
|
|
@@ -139,20 +139,19 @@ 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,
|
|
|
139
139
|
border: 0;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
|
|
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
|
|
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
|
|
144
143
|
width="${n}"
|
|
145
|
-
height="${
|
|
144
|
+
height="${o}"
|
|
146
145
|
viewBox="0 0 228 258"
|
|
147
146
|
fill="none"
|
|
148
147
|
xmlns="http://www.w3.org/2000/svg"
|
|
149
148
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
150
|
-
<g filter="url(#${
|
|
149
|
+
<g filter="url(#${s(t,"layout-filter")})">
|
|
151
150
|
<path
|
|
152
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"
|
|
153
|
-
fill="url(#${
|
|
152
|
+
fill="url(#${s(t,"header-paint")})" />
|
|
154
153
|
<mask
|
|
155
|
-
id="${
|
|
154
|
+
id="${s(t,"layout-mask")}"
|
|
156
155
|
style="mask-type: alpha"
|
|
157
156
|
maskUnits="userSpaceOnUse"
|
|
158
157
|
x="4"
|
|
@@ -163,14 +162,14 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
163
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"
|
|
164
163
|
fill="#D9D9D9" />
|
|
165
164
|
</mask>
|
|
166
|
-
<g mask="url(#${
|
|
165
|
+
<g mask="url(#${s(t,"layout-mask")})">
|
|
167
166
|
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
168
|
-
<rect x="4" y="127" width="220" height="125" fill="url(#${
|
|
167
|
+
<rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
|
|
169
168
|
</g>
|
|
170
169
|
</g>
|
|
171
170
|
<defs>
|
|
172
171
|
<filter
|
|
173
|
-
id="${
|
|
172
|
+
id="${s(t,"layout-filter")}"
|
|
174
173
|
x="0"
|
|
175
174
|
y="0"
|
|
176
175
|
width="228"
|
|
@@ -191,7 +190,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
191
190
|
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1582_53235" result="shape" />
|
|
192
191
|
</filter>
|
|
193
192
|
<linearGradient
|
|
194
|
-
id="${
|
|
193
|
+
id="${s(t,"header-paint")}"
|
|
195
194
|
x1="220.071"
|
|
196
195
|
y1="252"
|
|
197
196
|
x2="-24.022"
|
|
@@ -201,7 +200,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
201
200
|
<stop offset="1" stop-color="${i.end}" />
|
|
202
201
|
</linearGradient>
|
|
203
202
|
<linearGradient
|
|
204
|
-
id="${
|
|
203
|
+
id="${s(t,"footer-paint")}"
|
|
205
204
|
x1="224"
|
|
206
205
|
y1="157.738"
|
|
207
206
|
x2="1.00001"
|
|
@@ -211,17 +210,17 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
211
210
|
<stop offset="1" stop-color="#272727" />
|
|
212
211
|
</linearGradient>
|
|
213
212
|
</defs>
|
|
214
|
-
${
|
|
215
|
-
</svg>`:e==="app-space"?(
|
|
213
|
+
${l}
|
|
214
|
+
</svg>`:e==="app-space"?(l,n,o)=>`<svg
|
|
216
215
|
width="${n}"
|
|
217
|
-
height="${
|
|
216
|
+
height="${o}"
|
|
218
217
|
viewBox="0 0 228 258"
|
|
219
218
|
fill="none"
|
|
220
219
|
xmlns="http://www.w3.org/2000/svg"
|
|
221
220
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
222
|
-
<g filter="url(#${
|
|
221
|
+
<g filter="url(#${s(t,"layout-filter")})">
|
|
223
222
|
<mask
|
|
224
|
-
id="${
|
|
223
|
+
id="${s(t,"layout-mask")}"
|
|
225
224
|
style="mask-type: alpha"
|
|
226
225
|
maskUnits="userSpaceOnUse"
|
|
227
226
|
x="4"
|
|
@@ -232,17 +231,17 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
232
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"
|
|
233
232
|
fill="#7D37D7" />
|
|
234
233
|
</mask>
|
|
235
|
-
<g mask="url(#${
|
|
234
|
+
<g mask="url(#${s(t,"layout-mask")})">
|
|
236
235
|
<path
|
|
237
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"
|
|
238
|
-
fill="url(#${
|
|
237
|
+
fill="url(#${s(t,"header-paint")})" />
|
|
239
238
|
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
240
|
-
<path d="M4 127H224V252H4V127Z" fill="url(#${
|
|
239
|
+
<path d="M4 127H224V252H4V127Z" fill="url(#${s(t,"footer-paint")})" />
|
|
241
240
|
</g>
|
|
242
241
|
</g>
|
|
243
242
|
<defs>
|
|
244
243
|
<filter
|
|
245
|
-
id="${
|
|
244
|
+
id="${s(t,"layout-filter")}"
|
|
246
245
|
x="0"
|
|
247
246
|
y="0"
|
|
248
247
|
width="228"
|
|
@@ -263,7 +262,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
263
262
|
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54199" result="shape" />
|
|
264
263
|
</filter>
|
|
265
264
|
<linearGradient
|
|
266
|
-
id="${
|
|
265
|
+
id="${s(t,"header-paint")}"
|
|
267
266
|
x1="211.69"
|
|
268
267
|
y1="7.13393"
|
|
269
268
|
x2="51.0187"
|
|
@@ -273,7 +272,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
273
272
|
<stop offset="1" stop-color="${i.end}" />
|
|
274
273
|
</linearGradient>
|
|
275
274
|
<linearGradient
|
|
276
|
-
id="${
|
|
275
|
+
id="${s(t,"footer-paint")}"
|
|
277
276
|
x1="224"
|
|
278
277
|
y1="157.738"
|
|
279
278
|
x2="1.00001"
|
|
@@ -283,17 +282,17 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
283
282
|
<stop offset="1" stop-color="#272727" />
|
|
284
283
|
</linearGradient>
|
|
285
284
|
</defs>
|
|
286
|
-
${
|
|
287
|
-
</svg>`:e==="app-purchase"?(
|
|
285
|
+
${l}
|
|
286
|
+
</svg>`:e==="app-purchase"?(l,n,o)=>`<svg
|
|
288
287
|
width="${n}"
|
|
289
|
-
height="${
|
|
288
|
+
height="${o}"
|
|
290
289
|
viewBox="0 0 228 258"
|
|
291
290
|
fill="none"
|
|
292
291
|
xmlns="http://www.w3.org/2000/svg"
|
|
293
292
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
294
|
-
<g filter="url(#${
|
|
293
|
+
<g filter="url(#${s(t,"layout-filter")})">
|
|
295
294
|
<mask
|
|
296
|
-
id="${
|
|
295
|
+
id="${s(t,"layout-mask")}"
|
|
297
296
|
style="mask-type: alpha"
|
|
298
297
|
maskUnits="userSpaceOnUse"
|
|
299
298
|
x="4"
|
|
@@ -304,16 +303,16 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
304
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"
|
|
305
304
|
fill="#7D37D7" />
|
|
306
305
|
</mask>
|
|
307
|
-
<g mask="url(#${
|
|
308
|
-
<rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${
|
|
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")})" />
|
|
309
308
|
<rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
|
|
310
309
|
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
311
|
-
<rect x="4" y="127" width="220" height="125" fill="url(#${
|
|
310
|
+
<rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
|
|
312
311
|
</g>
|
|
313
312
|
</g>
|
|
314
313
|
<defs>
|
|
315
314
|
<filter
|
|
316
|
-
id="${
|
|
315
|
+
id="${s(t,"layout-filter")}"
|
|
317
316
|
x="0"
|
|
318
317
|
y="0"
|
|
319
318
|
width="228"
|
|
@@ -334,7 +333,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
334
333
|
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54637" result="shape" />
|
|
335
334
|
</filter>
|
|
336
335
|
<linearGradient
|
|
337
|
-
id="${
|
|
336
|
+
id="${s(t,"header-paint")}"
|
|
338
337
|
x1="224"
|
|
339
338
|
y1="252"
|
|
340
339
|
x2="46.7372"
|
|
@@ -344,7 +343,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
344
343
|
<stop offset="1" stop-color="${i.end}" />
|
|
345
344
|
</linearGradient>
|
|
346
345
|
<linearGradient
|
|
347
|
-
id="${
|
|
346
|
+
id="${s(t,"footer-paint")}"
|
|
348
347
|
x1="224"
|
|
349
348
|
y1="157.738"
|
|
350
349
|
x2="1.00001"
|
|
@@ -354,17 +353,17 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
354
353
|
<stop offset="1" stop-color="#272727" />
|
|
355
354
|
</linearGradient>
|
|
356
355
|
</defs>
|
|
357
|
-
${
|
|
358
|
-
</svg>`:e==="app-passport"?(
|
|
356
|
+
${l}
|
|
357
|
+
</svg>`:e==="app-passport"?(l,n,o)=>`<svg
|
|
359
358
|
width="${n}"
|
|
360
|
-
height="${
|
|
359
|
+
height="${o}"
|
|
361
360
|
viewBox="0 0 228 258"
|
|
362
361
|
fill="none"
|
|
363
362
|
xmlns="http://www.w3.org/2000/svg"
|
|
364
363
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
365
|
-
<g filter="url(#${
|
|
364
|
+
<g filter="url(#${s(t,"layout-filter")})">
|
|
366
365
|
<mask
|
|
367
|
-
id="${
|
|
366
|
+
id="${s(t,"layout-mask")}"
|
|
368
367
|
style="mask-type: alpha"
|
|
369
368
|
maskUnits="userSpaceOnUse"
|
|
370
369
|
x="4"
|
|
@@ -377,16 +376,16 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
377
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"
|
|
378
377
|
fill="#7D37D7" />
|
|
379
378
|
</mask>
|
|
380
|
-
<g mask="url(#${
|
|
381
|
-
<rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${
|
|
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")})" />
|
|
382
381
|
<rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
|
|
383
382
|
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
384
|
-
<rect x="4" y="127" width="220" height="125" fill="url(#${
|
|
383
|
+
<rect x="4" y="127" width="220" height="125" fill="url(#${s(t,"footer-paint")})" />
|
|
385
384
|
</g>
|
|
386
385
|
</g>
|
|
387
386
|
<defs>
|
|
388
387
|
<filter
|
|
389
|
-
id="${
|
|
388
|
+
id="${s(t,"layout-filter")}"
|
|
390
389
|
x="0"
|
|
391
390
|
y="0"
|
|
392
391
|
width="228"
|
|
@@ -407,7 +406,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
407
406
|
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54471" result="shape" />
|
|
408
407
|
</filter>
|
|
409
408
|
<linearGradient
|
|
410
|
-
id="${
|
|
409
|
+
id="${s(t,"header-paint")}"
|
|
411
410
|
x1="224"
|
|
412
411
|
y1="252"
|
|
413
412
|
x2="46.7372"
|
|
@@ -417,7 +416,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
417
416
|
<stop offset="1" stop-color="${i.end}" />
|
|
418
417
|
</linearGradient>
|
|
419
418
|
<linearGradient
|
|
420
|
-
id="${
|
|
419
|
+
id="${s(t,"footer-paint")}"
|
|
421
420
|
x1="224"
|
|
422
421
|
y1="157.738"
|
|
423
422
|
x2="1.00001"
|
|
@@ -427,15 +426,15 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
427
426
|
<stop offset="1" stop-color="#272727" />
|
|
428
427
|
</linearGradient>
|
|
429
428
|
</defs>
|
|
430
|
-
${
|
|
431
|
-
</svg>`:e==="app-kyc"?(
|
|
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"
|
|
432
431
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
433
|
-
<g clip-path="url(#${
|
|
434
|
-
<g clip-path="url(#${
|
|
432
|
+
<g clip-path="url(#${s(t,"border-top")})">
|
|
433
|
+
<g clip-path="url(#${s(t,"border-bottom")})">
|
|
435
434
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
436
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"
|
|
437
436
|
style="fill:${i.start};fill-opacity:1;" />
|
|
438
|
-
<g clip-path="url(#${
|
|
437
|
+
<g clip-path="url(#${s(t,"header-icon")})">
|
|
439
438
|
<path
|
|
440
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"
|
|
441
440
|
stroke="white" style="stroke:white;stroke-opacity:1;" stroke-width="3" stroke-linecap="round"
|
|
@@ -444,39 +443,39 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
444
443
|
stroke-linecap="round" stroke-linejoin="round" />
|
|
445
444
|
</g>
|
|
446
445
|
</g>
|
|
447
|
-
<rect width="220" height="125" transform="translate(4 126)" fill="url(#${
|
|
448
|
-
${
|
|
446
|
+
<rect width="220" height="125" transform="translate(4 126)" fill="url(#${s(t,"body-paint")})" style="" />
|
|
447
|
+
${l}
|
|
449
448
|
</g>
|
|
450
449
|
<defs>
|
|
451
|
-
<linearGradient id="${
|
|
450
|
+
<linearGradient id="${s(t,"body-paint")}" x1="220" y1="30.7377" x2="-2.99999" y2="30.7377"
|
|
452
451
|
gradientUnits="userSpaceOnUse">
|
|
453
452
|
<stop stop-color="#101010"
|
|
454
453
|
style="stop-color:#101010;stop-color:color(display-p3 0.0625 0.0625 0.0625);stop-opacity:1;" />
|
|
455
454
|
<stop offset="1" stop-color="#272727"
|
|
456
455
|
style="stop-color:#272727;stop-color:color(display-p3 0.1542 0.1542 0.1542);stop-opacity:1;" />
|
|
457
456
|
</linearGradient>
|
|
458
|
-
<clipPath id="${
|
|
457
|
+
<clipPath id="${s(t,"border-top")}">
|
|
459
458
|
<rect x="4" y="2" width="220" height="250" rx="8" fill="white" style="fill:white;fill-opacity:1;" />
|
|
460
459
|
</clipPath>
|
|
461
|
-
<clipPath id="${
|
|
460
|
+
<clipPath id="${s(t,"border-bottom")}">
|
|
462
461
|
<rect width="220" height="125" fill="white" style="fill:white;fill-opacity:1;" transform="translate(4 2)" />
|
|
463
462
|
</clipPath>
|
|
464
|
-
<clipPath id="${
|
|
463
|
+
<clipPath id="${s(t,"header-icon")}">
|
|
465
464
|
<rect width="60" height="60" fill="white" style="fill:white;fill-opacity:1;" transform="translate(84 43)" />
|
|
466
465
|
</clipPath>
|
|
467
466
|
</defs>
|
|
468
|
-
</svg>`:()=>"",
|
|
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">
|
|
469
468
|
<path
|
|
470
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"
|
|
471
|
-
fill="url(#${
|
|
470
|
+
fill="url(#${s(t,"space-gradient1")})" />
|
|
472
471
|
<path
|
|
473
472
|
fill-rule="evenodd"
|
|
474
473
|
clip-rule="evenodd"
|
|
475
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"
|
|
476
|
-
fill="url(#${
|
|
475
|
+
fill="url(#${s(t,"space-gradient2")})" />
|
|
477
476
|
<defs>
|
|
478
477
|
<linearGradient
|
|
479
|
-
id="${
|
|
478
|
+
id="${s(t,"space-gradient1")}"
|
|
480
479
|
x1="31.3969"
|
|
481
480
|
y1="0"
|
|
482
481
|
x2="31.3969"
|
|
@@ -486,7 +485,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
486
485
|
<stop offset="1" stop-color="white" />
|
|
487
486
|
</linearGradient>
|
|
488
487
|
<linearGradient
|
|
489
|
-
id="${
|
|
488
|
+
id="${s(t,"space-gradient2")}"
|
|
490
489
|
x1="16.603"
|
|
491
490
|
y1="0"
|
|
492
491
|
x2="16.603"
|
|
@@ -496,7 +495,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
496
495
|
<stop offset="1" stop-color="white" stop-opacity="0.4" />
|
|
497
496
|
</linearGradient>
|
|
498
497
|
</defs>
|
|
499
|
-
</g>`;if(e==="app-purchase")return`<g id="${
|
|
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">
|
|
500
499
|
<path
|
|
501
500
|
opacity="0.6"
|
|
502
501
|
fill-rule="evenodd"
|
|
@@ -513,7 +512,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
513
512
|
clip-rule="evenodd"
|
|
514
513
|
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"
|
|
515
514
|
fill="white" />
|
|
516
|
-
</g>`;if(e==="app-space")return`<g id="${
|
|
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">
|
|
517
516
|
<path
|
|
518
517
|
fill-rule="evenodd"
|
|
519
518
|
clip-rule="evenodd"
|
|
@@ -524,7 +523,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
524
523
|
clip-rule="evenodd"
|
|
525
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"
|
|
526
525
|
fill="white" />
|
|
527
|
-
</g>`;if(e==="app-passport"){const n=
|
|
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">
|
|
528
527
|
<defs>
|
|
529
528
|
<clipPath id="${n}">
|
|
530
529
|
<circle cx="114" cy="20" r="20" fill="#FFFFFF" />
|
|
@@ -532,11 +531,11 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
532
531
|
</defs>
|
|
533
532
|
<image xlink:href="${i.icon}" x="94" y="0" width="40" height="40" clip-path="url(#${n})" />
|
|
534
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>
|
|
535
|
-
</g>`:`<g id="${
|
|
534
|
+
</g>`:`<g id="${l}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
|
|
536
535
|
<circle cx="114" cy="15" r="20" fill="#D9D9D9"/>
|
|
537
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>
|
|
538
|
-
</g>`}return e==="app-kyc"?`<g id="${
|
|
539
|
-
<circle cx="12" cy="12" r="12" fill="url(#${
|
|
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")})" />
|
|
540
539
|
<foreignObject x="32" y="0" width="156" height="24">
|
|
541
540
|
<div
|
|
542
541
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
@@ -546,7 +545,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
546
545
|
</div>
|
|
547
546
|
</foreignObject>
|
|
548
547
|
<defs>
|
|
549
|
-
<pattern id="${
|
|
548
|
+
<pattern id="${s(t,"holder-image")}" width="24" height="24" patternUnits="userSpaceOnUse">
|
|
550
549
|
<image
|
|
551
550
|
xlink:href="${i.icon}"
|
|
552
551
|
x="0"
|
|
@@ -555,8 +554,8 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
555
554
|
height="24" />
|
|
556
555
|
</pattern>
|
|
557
556
|
</defs>
|
|
558
|
-
</g>`:""},
|
|
559
|
-
<g id="${
|
|
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")}">
|
|
560
559
|
<path
|
|
561
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"
|
|
562
561
|
style="fill:white;fill-opacity:1;" />
|
|
@@ -570,23 +569,23 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
570
569
|
<foreignObject x="18" y="-2" width="156" height="18">
|
|
571
570
|
<div
|
|
572
571
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
573
|
-
style="font-size: ${
|
|
572
|
+
style="font-size: ${l}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
|
|
574
573
|
>
|
|
575
574
|
${e.name}
|
|
576
575
|
</div>
|
|
577
576
|
</foreignObject>
|
|
578
|
-
</g>`:e.icon?`<g id="${
|
|
579
|
-
<rect x="0" y="0" width="14" height="14" rx="2" fill="url(#${
|
|
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")})" />
|
|
580
579
|
<foreignObject x="20" y="-2" width="156" height="18">
|
|
581
580
|
<div
|
|
582
581
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
583
|
-
style="font-size: ${
|
|
582
|
+
style="font-size: ${l}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
|
|
584
583
|
>
|
|
585
584
|
${e.name}
|
|
586
585
|
</div>
|
|
587
586
|
</foreignObject>
|
|
588
587
|
<defs>
|
|
589
|
-
<pattern id="${
|
|
588
|
+
<pattern id="${s(t,"issuer-image")}" width="14" height="14" patternUnits="userSpaceOnUse">
|
|
590
589
|
<image
|
|
591
590
|
xlink:href="${e.icon}"
|
|
592
591
|
x="0"
|
|
@@ -595,18 +594,18 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
595
594
|
height="14" />
|
|
596
595
|
</pattern>
|
|
597
596
|
</defs>
|
|
598
|
-
</g>`:`<g id="${
|
|
597
|
+
</g>`:`<g id="${s(t,"issuer")}" transform="translate(24, ${n})" width="180" height="14">
|
|
599
598
|
<rect x="0" y="0" width="14" height="14" rx="2" fill="#6D6D6D"/>
|
|
600
599
|
<foreignObject x="0" y="-2" width="176" height="18">
|
|
601
600
|
<div
|
|
602
601
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
603
|
-
style="font-size: ${
|
|
602
|
+
style="font-size: ${l}px; line-height: 18px; color: #D1D1D1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"
|
|
604
603
|
>
|
|
605
604
|
${e.name}
|
|
606
605
|
</div>
|
|
607
606
|
</foreignObject>
|
|
608
|
-
</g>`},
|
|
609
|
-
<g id="${
|
|
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")}">
|
|
610
609
|
<path
|
|
611
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"
|
|
612
611
|
style="fill:white;fill-opacity:1;" />
|
|
@@ -617,7 +616,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
617
616
|
<text
|
|
618
617
|
x="18"
|
|
619
618
|
y="8"
|
|
620
|
-
font-size="${
|
|
619
|
+
font-size="${l}"
|
|
621
620
|
font-family="Helvetica, Arial, sans-serif"
|
|
622
621
|
fill="#D1D1D1"
|
|
623
622
|
text-anchor="start"
|
|
@@ -625,11 +624,11 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
625
624
|
dominant-baseline="middle">
|
|
626
625
|
${e.value}
|
|
627
626
|
</text>
|
|
628
|
-
</g>`:`<g id="${
|
|
627
|
+
</g>`:`<g id="${s(t,"extra")}" transform="translate(24, ${n})" width="180" height="14">
|
|
629
628
|
<text
|
|
630
629
|
x="0"
|
|
631
630
|
y="8"
|
|
632
|
-
font-size="${
|
|
631
|
+
font-size="${l}"
|
|
633
632
|
font-family="Helvetica, Arial, sans-serif"
|
|
634
633
|
fill="#D1D1D1"
|
|
635
634
|
text-anchor="start"
|
|
@@ -639,7 +638,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
639
638
|
<tspan
|
|
640
639
|
dx="${e.key.length?4:0}"
|
|
641
640
|
dy="0"
|
|
642
|
-
font-size="${
|
|
641
|
+
font-size="${l}"
|
|
643
642
|
font-family="Helvetica, Arial, sans-serif"
|
|
644
643
|
fill="#FFFFFF"
|
|
645
644
|
text-anchor="start"
|
|
@@ -648,13 +647,13 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
648
647
|
${e.value}
|
|
649
648
|
</tspan>
|
|
650
649
|
</text>
|
|
651
|
-
</g>`},
|
|
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">
|
|
652
651
|
<text
|
|
653
652
|
x="0"
|
|
654
653
|
y="8"
|
|
655
654
|
font-size="${i}"
|
|
656
655
|
font-family="Helvetica, Arial, sans-serif"
|
|
657
|
-
fill="${
|
|
656
|
+
fill="${o}"
|
|
658
657
|
text-anchor="start"
|
|
659
658
|
alignment-baseline="middle"
|
|
660
659
|
dominant-baseline="middle">
|
|
@@ -668,7 +667,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
668
667
|
alignment-baseline="middle"
|
|
669
668
|
dominant-baseline="middle">ABT:</tspan>
|
|
670
669
|
</text>
|
|
671
|
-
</g>`;let h="";n===!1&&(h=
|
|
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">
|
|
672
671
|
<text
|
|
673
672
|
x="0"
|
|
674
673
|
y="8"
|
|
@@ -678,18 +677,18 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
678
677
|
text-anchor="start"
|
|
679
678
|
alignment-baseline="middle"
|
|
680
679
|
dominant-baseline="middle">
|
|
681
|
-
${
|
|
680
|
+
${i1(l)}
|
|
682
681
|
</text>
|
|
683
|
-
</g>`;return[r,h,d].filter(Boolean).join("")},
|
|
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">
|
|
684
683
|
<path
|
|
685
684
|
fill-rule="evenodd"
|
|
686
685
|
clip-rule="evenodd"
|
|
687
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"
|
|
688
|
-
fill="url(#${
|
|
687
|
+
fill="url(#${s(e,"badge-gradient")})"
|
|
689
688
|
/>
|
|
690
689
|
<defs>
|
|
691
690
|
<radialGradient
|
|
692
|
-
id="${
|
|
691
|
+
id="${s(e,"badge-gradient")}"
|
|
693
692
|
cx="0"
|
|
694
693
|
cy="0"
|
|
695
694
|
r="1"
|
|
@@ -701,7 +700,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
701
700
|
<stop offset="1" stop-color="#94F0BA" />
|
|
702
701
|
</radialGradient>
|
|
703
702
|
</defs>
|
|
704
|
-
</g>`,
|
|
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">
|
|
705
704
|
<defs>
|
|
706
705
|
<style>
|
|
707
706
|
.cls-1,
|
|
@@ -783,7 +782,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
783
782
|
</g>
|
|
784
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" />
|
|
785
784
|
</g>
|
|
786
|
-
</g>`:e==="arcblock"?`<g id="${
|
|
785
|
+
</g>`:e==="arcblock"?`<g id="${l}" transform="translate(${n}, 205)" width="24" height="24" viewBox="0 0 24 24">
|
|
787
786
|
<defs>
|
|
788
787
|
<style>
|
|
789
788
|
.cls-1 {
|
|
@@ -886,15 +885,15 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
886
885
|
/>
|
|
887
886
|
</g>
|
|
888
887
|
</g>
|
|
889
|
-
</g>`:""},
|
|
890
|
-
<rect x="60" y="0" width="95" height="30" stroke="${
|
|
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" />
|
|
891
890
|
<text
|
|
892
891
|
x="104"
|
|
893
892
|
y="12"
|
|
894
893
|
font-size="14"
|
|
895
894
|
font-weight="bold"
|
|
896
895
|
font-family="Helvetica, Arial, sans-serif"
|
|
897
|
-
fill="${
|
|
896
|
+
fill="${l[t]}"
|
|
898
897
|
text-anchor="middle"
|
|
899
898
|
alignment-baseline="middle"
|
|
900
899
|
dominant-baseline="middle" filter="url(#${n})">${e.toUpperCase()}</text>
|
|
@@ -904,7 +903,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
904
903
|
<feDisplacementMap in="SourceGraphic" in2="noise" scale="10" xChannelSelector="R" yChannelSelector="R" />
|
|
905
904
|
</filter>
|
|
906
905
|
</defs>
|
|
907
|
-
</g>`}return""},
|
|
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`
|
|
908
907
|
.ellipsis-title {
|
|
909
908
|
flex: 1;
|
|
910
909
|
position: absolute;
|
|
@@ -921,7 +920,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
921
920
|
width: calc(100% - 26px);
|
|
922
921
|
}
|
|
923
922
|
}
|
|
924
|
-
`;
|
|
923
|
+
`;x1.propTypes={blockletMeta:p.object};const ge=M.a`
|
|
925
924
|
color: ${e=>e.theme.palette.text.primary};
|
|
926
925
|
text-decoration: none;
|
|
927
926
|
overflow: hidden;
|
|
@@ -953,7 +952,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
953
952
|
overflow: hidden;
|
|
954
953
|
text-overflow: ellipsis;
|
|
955
954
|
}
|
|
956
|
-
`,
|
|
955
|
+
`,me=M.div`
|
|
957
956
|
display: flex;
|
|
958
957
|
justify-content: flex-start;
|
|
959
958
|
align-items: flex-start;
|
|
@@ -1062,7 +1061,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1062
1061
|
}
|
|
1063
1062
|
}
|
|
1064
1063
|
}
|
|
1065
|
-
`;function
|
|
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)`
|
|
1066
1065
|
overflow-y: auto;
|
|
1067
1066
|
display: flex;
|
|
1068
1067
|
flex-direction: column;
|
|
@@ -1110,7 +1109,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1110
1109
|
.extra-nav-button {
|
|
1111
1110
|
cursor: pointer;
|
|
1112
1111
|
}
|
|
1113
|
-
`,
|
|
1112
|
+
`,ue=M(k)`
|
|
1114
1113
|
display: flex;
|
|
1115
1114
|
flex-direction: column;
|
|
1116
1115
|
margin-top: 60px;
|
|
@@ -1313,7 +1312,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1313
1312
|
height: 24px;
|
|
1314
1313
|
}
|
|
1315
1314
|
}
|
|
1316
|
-
`;
|
|
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`
|
|
1317
1316
|
display: inline-block;
|
|
1318
1317
|
position: relative;
|
|
1319
1318
|
> * {
|
|
@@ -1323,14 +1322,14 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1323
1322
|
width: 100%;
|
|
1324
1323
|
height: 100%;
|
|
1325
1324
|
}
|
|
1326
|
-
`,
|
|
1325
|
+
`,A="72px",ye=Z("div")`
|
|
1327
1326
|
box-sizing: border-box;
|
|
1328
1327
|
display: flex;
|
|
1329
1328
|
overflow: hidden;
|
|
1330
1329
|
width: 100%;
|
|
1331
1330
|
height: 100%;
|
|
1332
|
-
padding-top: ${
|
|
1333
|
-
`,
|
|
1331
|
+
padding-top: ${A};
|
|
1332
|
+
`,we=Z("div")`
|
|
1334
1333
|
display: flex;
|
|
1335
1334
|
min-width: 900px;
|
|
1336
1335
|
max-width: ${e=>e.contentMaxWidth};
|
|
@@ -1341,11 +1340,11 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1341
1340
|
height: ${e=>e.height||"80%"};
|
|
1342
1341
|
|
|
1343
1342
|
@media (max-height: 1200px) {
|
|
1344
|
-
margin-top: ${
|
|
1343
|
+
margin-top: ${A};
|
|
1345
1344
|
height: 100%;
|
|
1346
1345
|
max-height: 100%;
|
|
1347
1346
|
}
|
|
1348
|
-
`;function
|
|
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")`
|
|
1349
1348
|
width: ${e=>e.width||"80%"};
|
|
1350
1349
|
min-width: 900px;
|
|
1351
1350
|
box-sizing: border-box;
|
|
@@ -1364,7 +1363,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1364
1363
|
${e=>e.theme.breakpoints.down("md")} {
|
|
1365
1364
|
min-width: 360px;
|
|
1366
1365
|
width: 100%;
|
|
1367
|
-
height: ${
|
|
1366
|
+
height: ${A};
|
|
1368
1367
|
justify-content: space-between;
|
|
1369
1368
|
background-color: ${({theme:e})=>e.palette.mode==="dark"?e.palette.background.default:e.palette.grey[100]};
|
|
1370
1369
|
}
|
|
@@ -1374,14 +1373,14 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1374
1373
|
display: flex;
|
|
1375
1374
|
align-items: center;
|
|
1376
1375
|
}
|
|
1377
|
-
`,
|
|
1376
|
+
`,Ce=Z("div")`
|
|
1378
1377
|
display: flex;
|
|
1379
1378
|
flex-direction: column;
|
|
1380
1379
|
justify-content: center;
|
|
1381
1380
|
align-items: center;
|
|
1382
1381
|
letter-spacing: normal;
|
|
1383
1382
|
background: ${({theme:e})=>e.palette.mode==="dark"?e.palette.background.default:e.palette.grey[100]};
|
|
1384
|
-
${
|
|
1383
|
+
${y1}
|
|
1385
1384
|
|
|
1386
1385
|
header:empty {
|
|
1387
1386
|
display: none;
|
|
@@ -1418,7 +1417,7 @@ ${f.length}`,o=V.from(u),g=V.concat([o,c]);return i.default.keccak256s(g)}ethSig
|
|
|
1418
1417
|
padding: 16px;
|
|
1419
1418
|
}
|
|
1420
1419
|
}
|
|
1421
|
-
`,
|
|
1420
|
+
`,ke=Z("div")`
|
|
1422
1421
|
display: block;
|
|
1423
1422
|
margin-top: 4px;
|
|
1424
|
-
`;export{
|
|
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};
|