@abtnode/webapp 1.17.8-beta-20260205-074433-9d1114cf → 1.17.8
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-IaUSFlm4.js → AdapterDayjs-CXgBZcQU.js} +1 -1
- package/dist/assets/{Add-D1qtasGt.js → Add-B-lIYZBc.js} +1 -1
- package/dist/assets/ArrowDropDown-C1ynmK1V.js +1 -0
- package/dist/assets/{Autocomplete-DTKIP70z.js → Autocomplete-BHqH72uG.js} +1 -1
- package/dist/assets/{Breadcrumbs-DYu6Ih3W.js → Breadcrumbs-CpZ2DeBG.js} +1 -1
- package/dist/assets/{ButtonGroup-BmKH0AR_.js → ButtonGroup-CXwzM552.js} +1 -1
- package/dist/assets/{CSSTransition-By0IzEZz.js → CSSTransition-hTlKGu0l.js} +1 -1
- package/dist/assets/{CallMerge-CBsd3n82.js → CallMerge-V8M4tzIM.js} +1 -1
- package/dist/assets/{CardContent-uQht8_nO.js → CardContent-MdG6Fo_s.js} +1 -1
- package/dist/assets/{ChevronLeft-YHLhmhXY.js → ChevronLeft-BPs9Erbv.js} +1 -1
- package/dist/assets/{ChevronRight-Bry_Rp2n.js → ChevronRight-C_yvQN06.js} +1 -1
- package/dist/assets/{Clear-C9b1QEIp.js → Clear-XkW6YpHE.js} +1 -1
- package/dist/assets/{Delete-BR43GocU.js → Delete-CCasVLgy.js} +1 -1
- package/dist/assets/{DeleteOutline-BknUUIOQ.js → DeleteOutline-CocEa6gq.js} +1 -1
- package/dist/assets/{Done-D38mSa7e.js → Done-DfHgd6VN.js} +1 -1
- package/dist/assets/{Edit-Cezv9GPx.js → Edit-CGdW8_LW.js} +1 -1
- package/dist/assets/{ErrorOutline-DSSui5bs.js → ErrorOutline-D3nJBXYA.js} +1 -1
- package/dist/assets/{FilterList-ByiwX7w6.js → FilterList-BiaeVs0C.js} +1 -1
- package/dist/assets/{Google-DW20cCdB.js → Google-D9HgkG4U.js} +1 -1
- package/dist/assets/{HelpOutline-C8Ii5pdp.js → HelpOutline-s5mQqTw1.js} +1 -1
- package/dist/assets/{Launch-BjUxWdZ_.js → Launch-DHnB5pzO.js} +1 -1
- package/dist/assets/{Link-rwof5_jN.js → Link-DUSQD8mc.js} +1 -1
- package/dist/assets/{ListItemButton-CLYRGxS5.js → ListItemButton-BIo7wBNv.js} +1 -1
- package/dist/assets/{ListSubheader-BrZqDYTB.js → ListSubheader-rZisNvzB.js} +1 -1
- package/dist/assets/{LoadingButton-CEhniQ1z.js → LoadingButton-egcGN7yK.js} +1 -1
- package/dist/assets/{LottiePlayer.modern-BOVXfijb.js → LottiePlayer.modern-DuQJ5g1j.js} +1 -1
- package/dist/assets/{MoreVert-YQMFdAci.js → MoreVert-Cw1fjU9L.js} +1 -1
- package/dist/assets/{OpenInNew-D__db3UD.js → OpenInNew-2i4mGCRx.js} +1 -1
- package/dist/assets/{Refresh-CEyibS7R.js → Refresh-BIkqgW7p.js} +1 -1
- package/dist/assets/{Replay-DJEt53W0.js → Replay-3PaYn2br.js} +1 -1
- package/dist/assets/{Search-B-Kpov_x.js → Search-mc0LftDb.js} +1 -1
- package/dist/assets/{Stepper-BkvTFi6y.js → Stepper-CnqNXODv.js} +1 -1
- package/dist/assets/{TableSearch-QTEwGVjE.js → TableSearch-ZIwL7jK3.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-leiBEwd_.js → ToggleButtonGroup-DeGfqT0G.js} +1 -1
- package/dist/assets/{UnfoldMore-BtGzVWNn.js → UnfoldMore-DFA58tLQ.js} +1 -1
- package/dist/assets/{Verified-GvGnFXRL.js → Verified-se8hbTqT.js} +1 -1
- package/dist/assets/{VerifiedUser-D8u3Hj9z.js → VerifiedUser-8QA2XNlm.js} +1 -1
- package/dist/assets/{ViewList-CI4jp_14.js → ViewList-DgyKMmIc.js} +1 -1
- package/dist/assets/{Visibility-Bmnp5dVh.js → Visibility-BqBwXDHr.js} +1 -1
- package/dist/assets/{_createAggregator-DcJLZ0MZ.js → _createAggregator-BS_ZCLsv.js} +1 -1
- package/dist/assets/{actions-CCjvPhEB.js → actions-BuX7-i-0.js} +1 -1
- package/dist/assets/{actions-DaRBxjah.js → actions-DR8B4Taf.js} +2 -2
- package/dist/assets/{actions-CAvjo_Ow.js → actions-Zy-oEKVg.js} +1 -1
- package/dist/assets/{agreement-B5uBdrUm.js → agreement-3SHQ4MuR.js} +1 -1
- package/dist/assets/api-DBq1KtcA.js +1 -0
- package/dist/assets/{appearance-BWTNqmDR.js → appearance-CRQaeOoe.js} +1 -1
- package/dist/assets/{audit-logs-BAppUNme.js → audit-logs-BGRhRsNS.js} +2 -2
- package/dist/assets/{babel-BttEwFDF.js → babel-BILHfcMU.js} +1 -1
- package/dist/assets/{base-chart-nzAgs-vq.js → base-chart-Cp-etWR-.js} +1 -1
- package/dist/assets/{blocklet-mQW2VRE3.js → blocklet-D7q_eJsm.js} +1 -1
- package/dist/assets/{chain-Bajmovwi.js → chain-DDmwEbOF.js} +1 -1
- package/dist/assets/{click-to-copy-BJwHXTAU.js → click-to-copy-wk3E32eY.js} +1 -1
- package/dist/assets/cloneDeep-BEJXcFgb.js +1 -0
- package/dist/assets/{config-navigation-DhuiKMvJ.js → config-navigation-iUuwjLA_.js} +17 -17
- package/dist/assets/{connect-lnVGHfaY.js → connect-DGRM2e01.js} +1 -1
- package/dist/assets/{connect-to-HWRwV1Zb.js → connect-to-BdinmIba.js} +3 -3
- package/dist/assets/{delete-confirm-D-pHWenk.js → delete-confirm-C8X53PNk.js} +1 -1
- package/dist/assets/{depsEqual-BTB47kAG.js → depsEqual-FU6HOfMn.js} +1 -1
- package/dist/assets/{detail-DPUG43Cf.js → detail-BX_klHKR.js} +2 -2
- package/dist/assets/domains-DlW2t7QG.js +28 -0
- package/dist/assets/{download-B_GCffOL.js → download-CHMW-VV9.js} +1 -1
- package/dist/assets/{edit.svg-DgkWXClh.js → edit.svg-CBqxioRV.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-D6kXFXIA.js +1 -0
- package/dist/assets/engine-hQAyActy.js +1 -0
- package/dist/assets/{federated-detail-dialog-BAAYkStt.js → federated-detail-dialog-C93dA_OW.js} +1 -1
- package/dist/assets/{get-safe-url-BmWKThk5.js → get-safe-url-n4nPkbEQ.js} +1 -1
- package/dist/assets/getValidReactChildren-dJeDeNuf.js +1 -0
- package/dist/assets/{graphql-DRZgDRnJ.js → graphql-BOG1t7Ob.js} +1 -1
- package/dist/assets/{graphqlMode-D6Ry3UyA.js → graphqlMode-BuOU6E0N.js} +2 -2
- package/dist/assets/{html-title-BO3r7YSd.js → html-title-DwrWBQUt.js} +1 -1
- package/dist/assets/{iframe-DaoKgbiQ.js → iframe-B0inMXzK.js} +1 -1
- package/dist/assets/{index-BsfgDen6.js → index-0lc-age1.js} +1 -1
- package/dist/assets/index-1nsTMIEw.js +1 -0
- package/dist/assets/{index-xie30Dh0.js → index-2jRJYLHP.js} +1 -1
- package/dist/assets/{index-DwPMkrzc.js → index-2tPqycMJ.js} +2 -2
- package/dist/assets/{index-Ohp5zy8G.js → index-4OvGI3tM.js} +1 -1
- package/dist/assets/{index-BA_zqSiS.js → index-7TgPZijh.js} +1 -1
- package/dist/assets/{index-IQ8RBJFB.js → index-8K8V7S7h.js} +1 -1
- package/dist/assets/{index-DgAeLiKC.js → index-B01of1n7.js} +1 -1
- package/dist/assets/{index-PZ2fx_h4.js → index-B8jKymjp.js} +3 -3
- package/dist/assets/{index-DUa2rZxk.js → index-B9oDQ5jy.js} +20 -20
- package/dist/assets/{index-CcXfL7E7.js → index-BDQexjSt.js} +1 -1
- package/dist/assets/{index-CAbi4Q6i.js → index-BFpYSXLl.js} +3 -3
- package/dist/assets/{index-CcPy8sB_.js → index-BIOcSTv1.js} +1 -1
- package/dist/assets/{index-BdqGdcv2.js → index-BJsW1I-W.js} +1 -1
- package/dist/assets/{index-DrKVMSE5.js → index-BPu5OFdR.js} +1 -1
- package/dist/assets/{index-DscVI0IV.js → index-BQ0GXRUy.js} +1 -1
- package/dist/assets/{index-C7RFlKtP.js → index-BbnbDlTc.js} +2 -2
- package/dist/assets/{index-I3asAR5r.js → index-Bg6xcyjD.js} +6 -6
- package/dist/assets/{index-N0aqGit9.js → index-BsmvyFtw.js} +1 -1
- package/dist/assets/{index-BfWiTV5L.js → index-C5xvmzdD.js} +1 -1
- package/dist/assets/{index-D7zthsmK.js → index-CGJGuomb.js} +3 -3
- package/dist/assets/{index-DEflHlyo.js → index-CP8e2zcP.js} +3 -3
- package/dist/assets/{index-CENTGsHb.js → index-CRRnOuLM.js} +3 -3
- package/dist/assets/{index-AGlbL6jT.js → index-Cm_CX9Km.js} +1 -1
- package/dist/assets/{index-C07Ljz-P.js → index-CqXuTw4d.js} +1 -1
- package/dist/assets/{index-Cj38JD_6.js → index-Cske9PWb.js} +3 -3
- package/dist/assets/{index-BWxIl7Zm.js → index-CyXVLDQI.js} +1 -1
- package/dist/assets/{index-DZ_f5Dfi.js → index-D3qtx7de.js} +1 -1
- package/dist/assets/{index-BcRKEX-z.js → index-DK8BRrRb.js} +2 -2
- package/dist/assets/{index-CWEDY4A2.js → index-DNGIFQtW.js} +4 -4
- package/dist/assets/{index-Bl5zzd5F.js → index-DX_ig3IR.js} +1 -1
- package/dist/assets/{index-CJe-L0_W.js → index-De_3fKYA.js} +1 -1
- package/dist/assets/{index-CXj3-Qmy.js → index-G4GuFOuO.js} +1 -1
- package/dist/assets/{index-DA3gthJ9.js → index-MLCJ7HJV.js} +2 -2
- package/dist/assets/{index-BlU32mL_.js → index-OZjARxbD.js} +1 -1
- package/dist/assets/{index-BbxLly-V.js → index-Oah-jRyx.js} +1 -1
- package/dist/assets/{index-22B4OxZa.js → index-PzC6rkTH.js} +1 -1
- package/dist/assets/{index-ll7_pfKU.js → index-StdVm_EG.js} +1 -1
- package/dist/assets/{index--_MX4Y7D.js → index-_qKxdWY4.js} +10 -10
- package/dist/assets/{index-C2XQ9Wkq.js → index-dKtf23Ej.js} +1 -1
- package/dist/assets/{index-C4zhyFnN.js → index-erCgIvu7.js} +1 -1
- package/dist/assets/{index-DzQavNm8.js → index-hxHDV4zb.js} +2 -2
- package/dist/assets/{index-PupLKSg6.js → index-mGRBDoXw.js} +1 -1
- package/dist/assets/{index-B9lrrb_O.js → index-p8ewFFuc.js} +5 -5
- package/dist/assets/{index-BI2ulEux.js → index-pMmL--Md.js} +1 -1
- package/dist/assets/{index.esm-uIPkYqTP.js → index.esm-DjcC6_YD.js} +1 -1
- package/dist/assets/{install-from-url-6nN6p8KI.js → install-from-url-DfM4lxPD.js} +1 -1
- package/dist/assets/{invitation-BwJczXLd.js → invitation-CyjIyIIY.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-B5QaVi7p.js → is-path-prefix-equal-sWdIB_FI.js} +1 -1
- package/dist/assets/{isEmail-DYZ2ooZR.js → isEmail-CpvKmXxu.js} +1 -1
- package/dist/assets/{item-9r2fa-dg.js → item-NX8BCXwV.js} +6 -6
- package/dist/assets/{jsonMode--ELrQNuw.js → jsonMode-wNz3PCor.js} +1 -1
- package/dist/assets/{list-header-W2Zqfuhf.js → list-header-DXqt77-Y.js} +1 -1
- package/dist/assets/{lite-eb-MtGjP.js → lite-D7_0Kk8P.js} +2 -2
- package/dist/assets/{lock.svg-BAPv5bGI.js → lock.svg-D22_UbmU.js} +1 -1
- package/dist/assets/{log-DfRitFTN.js → log-BtG4l72D.js} +1 -1
- package/dist/assets/{login-method-item-duWmEQ4c.js → login-method-item-CGUaonon.js} +1 -1
- package/dist/assets/{lottie-react.esm-Dg4E2zZC.js → lottie-react.esm-Cj9O6Lld.js} +1 -1
- package/dist/assets/{memory-CVCAiVAD.js → memory-MEOErB2y.js} +1 -1
- package/dist/assets/{metric-DGyzAosW.js → metric-DzrjUE5P.js} +1 -1
- package/dist/assets/{monaco-editor-CIyTCq3w.js → monaco-editor-i4E7Erh-.js} +3 -3
- package/dist/assets/{mouseTarget-yzhGv1sN.js → mouseTarget-DHjy6bBl.js} +1 -1
- package/dist/assets/omit-C1X-CRrb.js +1 -0
- package/dist/assets/{overview-CjC2_6TA.js → overview-BPSzB7yi.js} +1 -1
- package/dist/assets/{permission-Dgeoh_gC.js → permission-D6xGjoP4.js} +1 -1
- package/dist/assets/{preference-DPXvsW07.js → preference-CWfaETuk.js} +9 -9
- package/dist/assets/{provider-icon-H03n2Hjs.js → provider-icon-D-a204Ay.js} +1 -1
- package/dist/assets/{raf-schd.esm-Dgds4zE-.js → raf-schd.esm-vaS856Rv.js} +1 -1
- package/dist/assets/{rotate-session-key-Cg34J7dQ.js → rotate-session-key-Cn3NVWRi.js} +1 -1
- package/dist/assets/runtime-BJVsSRvX.js +1 -0
- package/dist/assets/schema-DeNYz3hJ.js +1 -0
- package/dist/assets/sdk-CyaYnqk4.js +1 -0
- package/dist/assets/{service-DoInkZVF.js → service-COrrqY-3.js} +1 -1
- package/dist/assets/{shorten-label-Ct9vHiPy.js → shorten-label-j-itDv6J.js} +1 -1
- package/dist/assets/{simple-select-DUBD32-K.js → simple-select-DApzKMrW.js} +1 -1
- package/dist/assets/{spaces-Ca-nLDun.js → spaces-BqdEt5Dg.js} +1 -1
- package/dist/assets/{status-DJJQr33v.js → status-CFw68CfZ.js} +2 -2
- package/dist/assets/{status-B8aMCivY.js → status-vwaEURfH.js} +1 -1
- package/dist/assets/{switch-control-DN6AO5e-.js → switch-control-BEw34mlq.js} +1 -1
- package/dist/assets/{table-icons-DPN-ujpU.js → table-icons-V0nzUvpC.js} +1 -1
- package/dist/assets/team-Bp-ehLS6.js +1 -0
- package/dist/assets/toLower-C4OoJYWk.js +1 -0
- package/dist/assets/toUpper-P-IpqDCE.js +1 -0
- package/dist/assets/{traffic-Coyo0eln.js → traffic-BuuDuC5C.js} +1 -1
- package/dist/assets/trim-BrqZEf0Q.js +1 -0
- package/dist/assets/{url-evaluation-DF8LRV6u.js → url-evaluation-BotqjpOW.js} +1 -1
- package/dist/assets/{url-join-BAOkJVTN.js → url-join-BYRfgTzL.js} +1 -1
- package/dist/assets/{use-mobile-D8q1By2e.js → use-mobile-BIorytbM.js} +1 -1
- package/dist/assets/{use-mobile-DjOKbbdW.js → use-mobile-BxCxZMSF.js} +1 -1
- package/dist/assets/{useAsync-CpuSmv4M.js → useAsync-CbHsXkPS.js} +1 -1
- package/dist/assets/{useAsyncRetry-DQ-1kK3Z.js → useAsyncRetry-6ULbruV9.js} +1 -1
- package/dist/assets/{useLocalStorage-B1cIHaab.js → useLocalStorage-CBx2eW_l.js} +1 -1
- package/dist/assets/{useThemeProps-CaL-a5Z3.js → useThemeProps-BWD3Vp6O.js} +1 -1
- package/dist/assets/{util-Dk5V-b84.js → util-BF2dKFyL.js} +1 -1
- package/dist/assets/{wait-container-BxmUT_e8.js → wait-container-Cc0h_2b3.js} +1 -1
- package/dist/assets/{without-wallet-DdcteX-E.js → without-wallet-lUjEmpWw.js} +1 -1
- package/dist/assets/wrap-locale-CF87ubG3.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-CLtIK8Ds.js +0 -1
- package/dist/assets/api-CtY709C1.js +0 -1
- package/dist/assets/cloneDeep-DcL7wHTZ.js +0 -1
- package/dist/assets/domains-DgOFqkxv.js +0 -28
- package/dist/assets/emotion-cache.browser.esm-C9pXLaus.js +0 -1
- package/dist/assets/engine-CsOVDEBF.js +0 -1
- package/dist/assets/getValidReactChildren-CaUdxsqb.js +0 -1
- package/dist/assets/index-DTHqSol2.js +0 -1
- package/dist/assets/omit-C9i7Uayy.js +0 -1
- package/dist/assets/runtime-3p5sMXNX.js +0 -1
- package/dist/assets/schema-DtiemgGr.js +0 -1
- package/dist/assets/sdk-CChXw_FN.js +0 -1
- package/dist/assets/team-pgmvSiLk.js +0 -1
- package/dist/assets/toUpper-DWIvDS3T.js +0 -1
- package/dist/assets/trim-CGi2LMwA.js +0 -1
- package/dist/assets/wrap-locale-BD1k5sx5.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as s,V as J,d_ as He,an as Ge,x as T,j as e,du as w1,cQ as y1,d$ as b1,e0 as j1,ab as Le,b as ce,cR as qe,e1 as ie,aT as Q,q as S,bz as B1,o as Be,h as E1,u as Ke,z as L1,ct as C1,e2 as U1,e3 as z1,bF as De,e4 as xe,d8 as S1,e5 as I1,bA as Pe,E as Ae,al as ke,e6 as R1,H as Z,bB as ae,e7 as N1,k as D1,bt as le,b3 as Y,C as q,bK as Ze,Q as re,B as $e,as as Qe,J as P1,e8 as A1,c8 as $1,A as T1,D as Ye,e9 as V1,s as M1,dV as Je,ea as Xe,W as e1,cX as _1,y as W1,eb as O1,ec as F1,ed as H1,ee as se,ef as G1,eg as q1,b5 as K1,eh as Z1}from"./index-DEflHlyo.js";import{u as oe,a as t1,B as Ee,P as Q1,L as Y1}from"./index-Cj38JD_6.js";import{u as J1,A as X1,W as et,P as a1,D as Te,a as tt,L as Ve}from"./wait-container-BxmUT_e8.js";import{u as at}from"./useAsyncRetry-DQ-1kK3Z.js";import{u as st}from"./use-mobile-D8q1By2e.js";import{C as s1,A as nt}from"./agreement-B5uBdrUm.js";import{W as lt}from"./without-wallet-DdcteX-E.js";import{a as Me}from"./api-CtY709C1.js";import{g as _e}from"./get-safe-url-BmWKThk5.js";import{s as we}from"./schema-DtiemgGr.js";import{u as rt}from"./useLocalStorage-B1cIHaab.js";import{s as ot}from"./logo-BKA11TRi.js";import{e as ne}from"./engine-CsOVDEBF.js";import"./url-join-BAOkJVTN.js";import"./useAsync-CpuSmv4M.js";import"./index-DrKVMSE5.js";import"./index-22B4OxZa.js";import"./login-method-item-duWmEQ4c.js";import"./passkey-rounded-_WDHIZVd.js";const ct=t=>s.createElement("svg",{width:193,height:64,viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),s.createElement("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zm9.731-3.024c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zm26.931-2.002v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zm6.662 1.764c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406a6.04 6.04 0 0 0-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zm22.861 1.273a1.577 1.577 0 0 1-.308.309c-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zm6.676-1.497a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zm21.6 3.99a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378 11.28 11.28 0 0 1-1.554.112 7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zm15.559-5.124c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.57 2.57 0 0 0-.812.49 3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642 30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#a)"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83 30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11 16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717 1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#b)"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:30.72,y1:95.721,x2:94.488,y2:34.325,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),s.createElement("linearGradient",{id:"b",x1:27.437,y1:99.246,x2:97.761,y2:44.937,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),it=t=>s.createElement("svg",{width:193,height:64,viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#fff"}),s.createElement("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zm9.731-3.024c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zm26.931-2.002v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zm6.662 1.764c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406a6.04 6.04 0 0 0-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zm22.861 1.273a1.577 1.577 0 0 1-.308.309c-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zm6.676-1.497a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zm21.6 3.99a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378 11.28 11.28 0 0 1-1.554.112 7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zm15.559-5.124c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.57 2.57 0 0 0-.812.49 3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#fff"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642 30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#a)"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83 30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11 16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717 1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#b)"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:30.72,y1:95.721,x2:94.488,y2:34.325,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),s.createElement("linearGradient",{id:"b",x1:27.437,y1:99.246,x2:97.761,y2:44.937,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),ht=t=>s.createElement("svg",{width:64,height:64,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642 31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#a)"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83 31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11 16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717 1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#b)"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:31.72,y1:95.721,x2:95.488,y2:34.325,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),s.createElement("linearGradient",{id:"b",x1:28.437,y1:99.246,x2:98.761,y2:44.937,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"}))));var n1=function(a){return e.jsx("svg",{...a,children:e.jsx("path",{d:"M4.006 31a3.005 3.005 0 0 1-2.991-2.717L1 27.995V5.956a3.005 3.005 0 0 1 2.717-2.99l.289-.015h9.015a3.005 3.005 0 0 1 2.992 2.715l.014.29v.51l4.385-4.547a3.005 3.005 0 0 1 4.021-.276l.233.202 5.523 5.46a3.005 3.005 0 0 1 .223 4.029l-.207.232-4.63 4.408h.47a3.005 3.005 0 0 1 2.99 2.715l.014.29v9.016a3.005 3.005 0 0 1-2.714 2.991l-.29.014H4.004Zm10.017-13.023H3.004v10.018a1.002 1.002 0 0 0 .653.94l.168.046.18.015h10.018V17.977Zm12.021 0H16.027v11.02h10.017a1.002 1.002 0 0 0 .986-.822l.016-.18v-9.016a1.002 1.002 0 0 0-.822-.986l-.18-.016Zm-10.017-5.59v3.587h3.586l-3.586-3.586ZM13.02 4.956H4.006a1.002 1.002 0 0 0-.986.821l-.016.18v10.018h11.02V5.956a1.002 1.002 0 0 0-.654-.94l-.168-.045-.18-.016Zm10.262-1.657a1.008 1.008 0 0 0-1.292-.106l-.136.12-5.241 5.435a1.001 1.001 0 0 0-.114 1.248l.126.157 5.24 5.239a1.002 1.002 0 0 0 1.243.14l.156-.122 5.526-5.263a1.002 1.002 0 0 0 .108-1.279l-.118-.138-5.498-5.431Z"})})};n1.defaultProps={width:"32",height:"32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};const l1="https://launcher.arcblock.io",r1=t=>{if(!t)return l1;const{protocol:a,host:f}=b1(j1(t));return`${a}//${f}`},o1=t=>t?{"__did-connect__":y1.from(JSON.stringify({switchBehavior:"auto",forceConnected:t,showClose:!1}),"utf8").toString("base64")}:{};function dt(t,a=l1,f=""){const{t:i}=J(),p=o1(f),{loading:h,value:I,error:v,retry:R}=at(async()=>{if(t!=="serverless")return null;const u=r1(a),N=await He(u),m=Ge(T(N,"/u/apps"),p);return{text:i("launchBlocklet.nav.myApps"),appText:i("launchBlocklet.nav.viewMyApps"),link:m,buttonProps:{sx:{fontSize:"1rem"}},icon:e.jsx(w1,{component:n1,fontSize:"small",viewBox:"0 0 32 32"})}},[t,a,f,i]);return t!=="serverless"||I===null?{}:h?{loading:!0}:v?{error:v,retry:R}:I||{}}function ut({style:t,...a}={}){const{palette:f}=Le(),i=st({key:"md"}),h=f.mode==="dark"?it:ct;return i?e.jsx(ht,{width:"32",height:"32",style:{cursor:"pointer",...t},...a}):e.jsx(h,{width:"145",height:"48",style:{cursor:"pointer",...t},...a})}function mt(){const{t}=J(),{info:a}=ce(),f=qe(),i=decodeURIComponent(f.get("accessUrl")||""),{meta:p}=ie();return e.jsx(ft,{children:e.jsx("div",{className:"body",children:e.jsx(oe,{variant:"success",title:Q.getDisplayName({meta:p},!0),subTitle:t("launchBlocklet.installSuccess",{serverName:a.name}),footer:e.jsx(pt,{href:i,rel:"noreferrer","data-cy":"open-blocklet",children:t("common.open")})})})})}const pt=S.a`
|
|
1
|
+
import{r as s,V as J,d_ as He,ao as Ge,x as V,j as e,du as w1,cQ as y1,d$ as b1,e0 as j1,ab as Le,b as ce,cR as qe,e1 as ie,aU as Q,q as S,bz as B1,o as Be,h as E1,u as Ke,z as L1,ct as C1,e2 as U1,e3 as z1,bF as De,e4 as xe,d8 as S1,e5 as I1,bA as Pe,E as Ae,am as ke,e6 as R1,H as Z,bB as ae,e7 as N1,k as D1,bt as le,b3 as Y,C as q,bK as Ze,Q as re,B as $e,at as Qe,J as P1,e8 as A1,c8 as $1,A as V1,D as Ye,e9 as T1,s as M1,dV as Je,ea as Xe,W as e1,cX as _1,y as W1,eb as O1,ec as F1,ed as H1,ee as se,ef as G1,eg as q1,b5 as K1,eh as Z1}from"./index-CP8e2zcP.js";import{u as oe,a as t1,B as Ee,P as Q1,L as Y1}from"./index-Cske9PWb.js";import{u as J1,A as X1,W as et,P as a1,D as Ve,a as tt,L as Te}from"./wait-container-Cc0h_2b3.js";import{u as at}from"./useAsyncRetry-6ULbruV9.js";import{u as st}from"./use-mobile-BIorytbM.js";import{C as s1,A as nt}from"./agreement-3SHQ4MuR.js";import{W as lt}from"./without-wallet-lUjEmpWw.js";import{a as Me}from"./api-DBq1KtcA.js";import{g as _e}from"./get-safe-url-n4nPkbEQ.js";import{s as we}from"./schema-DeNYz3hJ.js";import{u as rt}from"./useLocalStorage-CBx2eW_l.js";import{s as ot}from"./logo-BKA11TRi.js";import{e as ne}from"./engine-hQAyActy.js";import"./url-join-BYRfgTzL.js";import"./useAsync-CbHsXkPS.js";import"./index-BPu5OFdR.js";import"./index-PzC6rkTH.js";import"./login-method-item-CGUaonon.js";import"./passkey-rounded-_WDHIZVd.js";const ct=t=>s.createElement("svg",{width:193,height:64,viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),s.createElement("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zm9.731-3.024c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zm26.931-2.002v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zm6.662 1.764c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406a6.04 6.04 0 0 0-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zm22.861 1.273a1.577 1.577 0 0 1-.308.309c-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zm6.676-1.497a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zm21.6 3.99a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378 11.28 11.28 0 0 1-1.554.112 7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zm15.559-5.124c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.57 2.57 0 0 0-.812.49 3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642 30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#a)"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83 30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11 16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717 1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#b)"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:30.72,y1:95.721,x2:94.488,y2:34.325,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),s.createElement("linearGradient",{id:"b",x1:27.437,y1:99.246,x2:97.761,y2:44.937,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),it=t=>s.createElement("svg",{width:193,height:64,viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#fff"}),s.createElement("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zm9.731-3.024c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zm26.931-2.002v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zm6.662 1.764c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406a6.04 6.04 0 0 0-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zm22.861 1.273a1.577 1.577 0 0 1-.308.309c-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zm6.676-1.497a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zm21.6 3.99a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378 11.28 11.28 0 0 1-1.554.112 7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zm15.559-5.124c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.57 2.57 0 0 0-.812.49 3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#fff"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642 30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#a)"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83 30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11 16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717 1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#b)"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:30.72,y1:95.721,x2:94.488,y2:34.325,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),s.createElement("linearGradient",{id:"b",x1:27.437,y1:99.246,x2:97.761,y2:44.937,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),ht=t=>s.createElement("svg",{width:64,height:64,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642 31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#a)"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83 31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11 16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717 1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#b)"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:31.72,y1:95.721,x2:95.488,y2:34.325,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),s.createElement("linearGradient",{id:"b",x1:28.437,y1:99.246,x2:98.761,y2:44.937,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopColor:"#0FA4B7"}),s.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),s.createElement("stop",{offset:1,stopColor:"#2BE0D7"}))));var n1=function(a){return e.jsx("svg",{...a,children:e.jsx("path",{d:"M4.006 31a3.005 3.005 0 0 1-2.991-2.717L1 27.995V5.956a3.005 3.005 0 0 1 2.717-2.99l.289-.015h9.015a3.005 3.005 0 0 1 2.992 2.715l.014.29v.51l4.385-4.547a3.005 3.005 0 0 1 4.021-.276l.233.202 5.523 5.46a3.005 3.005 0 0 1 .223 4.029l-.207.232-4.63 4.408h.47a3.005 3.005 0 0 1 2.99 2.715l.014.29v9.016a3.005 3.005 0 0 1-2.714 2.991l-.29.014H4.004Zm10.017-13.023H3.004v10.018a1.002 1.002 0 0 0 .653.94l.168.046.18.015h10.018V17.977Zm12.021 0H16.027v11.02h10.017a1.002 1.002 0 0 0 .986-.822l.016-.18v-9.016a1.002 1.002 0 0 0-.822-.986l-.18-.016Zm-10.017-5.59v3.587h3.586l-3.586-3.586ZM13.02 4.956H4.006a1.002 1.002 0 0 0-.986.821l-.016.18v10.018h11.02V5.956a1.002 1.002 0 0 0-.654-.94l-.168-.045-.18-.016Zm10.262-1.657a1.008 1.008 0 0 0-1.292-.106l-.136.12-5.241 5.435a1.001 1.001 0 0 0-.114 1.248l.126.157 5.24 5.239a1.002 1.002 0 0 0 1.243.14l.156-.122 5.526-5.263a1.002 1.002 0 0 0 .108-1.279l-.118-.138-5.498-5.431Z"})})};n1.defaultProps={width:"32",height:"32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};const l1="https://launcher.arcblock.io",r1=t=>{if(!t)return l1;const{protocol:a,host:f}=b1(j1(t));return`${a}//${f}`},o1=t=>t?{"__did-connect__":y1.from(JSON.stringify({switchBehavior:"auto",forceConnected:t,showClose:!1}),"utf8").toString("base64")}:{};function dt(t,a=l1,f=""){const{t:i}=J(),p=o1(f),{loading:h,value:I,error:v,retry:R}=at(async()=>{if(t!=="serverless")return null;const u=r1(a),N=await He(u),m=Ge(V(N,"/u/apps"),p);return{text:i("launchBlocklet.nav.myApps"),appText:i("launchBlocklet.nav.viewMyApps"),link:m,buttonProps:{sx:{fontSize:"1rem"}},icon:e.jsx(w1,{component:n1,fontSize:"small",viewBox:"0 0 32 32"})}},[t,a,f,i]);return t!=="serverless"||I===null?{}:h?{loading:!0}:v?{error:v,retry:R}:I||{}}function ut({style:t,...a}={}){const{palette:f}=Le(),i=st({key:"md"}),h=f.mode==="dark"?it:ct;return i?e.jsx(ht,{width:"32",height:"32",style:{cursor:"pointer",...t},...a}):e.jsx(h,{width:"145",height:"48",style:{cursor:"pointer",...t},...a})}function mt(){const{t}=J(),{info:a}=ce(),f=qe(),i=decodeURIComponent(f.get("accessUrl")||""),{meta:p}=ie();return e.jsx(ft,{children:e.jsx("div",{className:"body",children:e.jsx(oe,{variant:"success",title:Q.getDisplayName({meta:p},!0),subTitle:t("launchBlocklet.installSuccess",{serverName:a.name}),footer:e.jsx(pt,{href:i,rel:"noreferrer","data-cy":"open-blocklet",children:t("common.open")})})})})}const pt=S.a`
|
|
2
2
|
display: block;
|
|
3
3
|
height: 36px;
|
|
4
4
|
color: ${t=>t.theme.palette.primary.main};
|
|
@@ -25,7 +25,7 @@ import{r as s,V as J,d_ as He,an as Ge,x as T,j as e,du as w1,cQ as y1,d$ as b1,
|
|
|
25
25
|
font-size: 58px;
|
|
26
26
|
color: ${t=>t.variant==="error"?t.theme.palette.error.main:t.theme.palette.success.main};
|
|
27
27
|
}
|
|
28
|
-
`;function W({children:t,...a}){return e.jsx(B1,{variant:"contained",color:"primary",...a,children:t})}W.propTypes={children:Be.any.isRequired};const $=I1("@abtnode/webapp:launch-blocklet:step-install"),We=(t,a)=>!a.statusChanged&&(t==="installed"||t==="running")&&!a.launching,gt=(t,a,f)=>f(a==="nft"?t?"launchBlocklet.dialog.nftFreeDescription":"launchBlocklet.dialog.nftPaidDescription":t?"launchBlocklet.dialog.freeDescription":"launchBlocklet.dialog.paidDescription"),ye="__temp_setup_token",be="__temp_visitor_id";function vt(){const t=qe(),{t:a,locale:f}=J(),{api:i,info:p}=ce(),{session:h,api:I}=E1(),v=Ke(),{loading:R,meta:u,isFree:N,appDid:m,sessionId:L,storeUrl:B,blockletMetaUrl:E,isExternal:V,setAppDid:D,launcherUrl:k,launcherSessionId:y,launcherSession:w,isInstalling:C,isInstalled:U}=ie(),b=u?Q.getDisplayName({meta:u},!0):null,d=t.get("launchType"),P=t.get("chainHost"),M=!!t.get("onlyRequired"),O=t.get("nftId"),F=t.get("from"),he=F==="url",A=F==="empty",X=s.useRef(null),{decrypt:i1,encryptKey:de}=L1(),ue=Le(),[ee,Ce]=s.useState(""),[h1]=rt("skip-blocklet-setup",!1),[r,g]=C1({launching:!1,visiting:!1,statusChanged:!1,isConnectOpen:!1,nextAccessUrl:"",loaded:!1,installError:null,progressIndex:0,connectData:{action:"",baseUrl:"",checkFn:()=>{},extraParams:{}}}),Ue=U1({user:h.user,launchType:d,nftId:O}),me=z1.getServerAuthMethod(p,d,y,Ue),ze=y&&w&&!w.walletDid,_=De(()=>F==="launcher",[F]),te=s.useMemo(()=>A?xe.CREATE:he?xe.URL:xe.STORE,[A,he]),H=s.useMemo(()=>h.user?(h.user?.connectedAccounts||[]).some(l=>l.provider===S1.WALLET):!1,[h.user]),z=J1(Ue?m:""),{status:j,eventName:pe}=z;s.useEffect(()=>{R||(!U&&!C&&ge(),g({loaded:!0}))},[R]);const d1=async()=>{const{isNew:n,decoded:o}=V1(B,p.blockletRegistryList);n&&await i.addBlockletStore({input:{teamDid:p.did,url:o}})},fe=async n=>{$("handleConnectSuccess",n),Z.success(a("launchBlocklet.dialog.success"));const o=Array.isArray(n)?n[n.length-1]:n;if(o.sessionToken&&(M1(o.sessionToken.split(".").length===3?o.sessionToken:i1(o.sessionToken)),await h.refresh()),o.setupToken&&sessionStorage.setItem(ye,o.setupToken),o.visitorId&&sessionStorage.setItem(be,o.visitorId),g({launching:!o.isInstalled,isConnectOpen:!1}),o.appDid){D(o.appDid,o.sessionId);const l=new URL(window.location.href);l.searchParams.set("appDid",o.appDid),l.searchParams.set("sessionId",o.sessionId),window.history.replaceState(null,"",l.toString())}},u1=async()=>{g({isConnectOpen:!1,launching:!0});let n=b;const o=u?.description;if(h.user&&!A){const l=`${h.user.fullName}'s ${b}`,{error:c}=we.titleSchema.validate(l);c?console.warn({appName:n,betterName:l,error:c}):n=l}try{const{data:l}=await i.launchBlockletByLauncher({input:{title:n,description:o,blockletMetaUrl:E,launcherSessionId:y,launcherUrl:k,chainHost:decodeURIComponent(P),onlyRequired:M,type:te,storeUrl:B}});fe(l)}catch(l){console.error("launchBlockletByLauncher error:",l),Z.error(ae(l),{autoHideDuration:3e3})}},ge=async()=>{$("handleLaunchStart",{launcherSessionId:y,launcherSession:w});let n=b;const o=u?.description;if(h.user&&!A){const l=`${h.user.fullName}'s ${b}`,{error:c}=we.titleSchema.validate(l);c?console.warn({appName:n,betterName:l,error:c}):n=l}if(g({installError:null}),h?.user&&!V&&d!=="serverless")try{await d1()}catch(l){console.error("addNewRegistryToRegistryList error:",l)}if(N){const l=`launch-free-blocklet-by-${me}`;g({isConnectOpen:!0,connectData:{action:l,baseUrl:"",checkFn:Ae.create({baseURL:window?.env?.apiPrefix??"/"}).get,extraParams:{wt:Pe(u),title:n,blockletMetaUrl:E,description:o,launchType:d,nftId:O,chainHost:decodeURIComponent(P),launcherUrl:k,launcherSessionId:y,onlyRequired:M,type:te,storeUrl:B}}})}else{const l=`launch-paid-blocklet-by-${me}`,c=new URL(window.location.href);c.pathname=T(window?.env?.apiPrefix??"/",`/api/did/${l}/token`),c.searchParams.set("wt",Pe(u)),c.searchParams.set("_ek_",de),c.searchParams.set("title",n),c.searchParams.set("autoConnect",!1),c.searchParams.set("blockletMetaUrl",E),d&&c.searchParams.set("launchType",d),O&&c.searchParams.set("nftId",O),k&&c.searchParams.set("launcherUrl",k),y&&c.searchParams.set("launcherSessionId",y);const{data:x}=await Me.get(c.href),K=B||new URL(E).origin;g({isConnectOpen:!0,connectData:{action:"verify-purchase-blocklet",baseUrl:K,checkFn:Ae.create({baseURL:K}).get,extraParams:{serverDid:p.did,blockletDid:u?.did,nw:x.url,type:te,storeUrl:B}}})}},Se=s.useCallback(async()=>{if(_||H||!r.connectData.action)return"";const n=new URL(window.location.href);n.pathname=T(window?.env?.apiPrefix??"/",`/api/did/${r.connectData.action}/token`),n.searchParams.set("_ek_",de),Object.keys(r.connectData.extraParams).forEach(l=>{n.searchParams.set(l,r.connectData.extraParams[l])});const{data:o}=await Me.get(n.href);o.url?Ce(o.url):Ce("")},[H,_,r.connectData.action,r.connectData.extraParams,de]),m1=async()=>{g({isConnectOpen:!1,launching:!0});let n=b;const o=u?.description;if(h.user&&!A){const l=`${h.user.fullName}'s ${b}`,{error:c}=we.titleSchema.validate(l);c?console.warn({appName:n,betterName:l,error:c}):n=l}$("launchBlockletWithoutWallet",{title:n,blockletMetaUrl:E});try{const{data:l}=await i.launchBlockletWithoutWallet({input:{title:n,blockletMetaUrl:E||"",type:te,description:o,storeUrl:B||"",onlyRequired:M}});fe(l)}catch(l){console.error("launchBlockletWithoutWallet error:",l),Z.error(ae(l),{autoHideDuration:3e3})}},p1=n=>{const o=`/${p.routing.adminPath}/blocklets/${n.meta.did}/configuration`.replace(/\/+/g,"/");let l=`/launch-blocklet/complete?status=installed&name=${encodeURIComponent(b)}&accessUrl=${encodeURIComponent(o)}&blocklet_meta_url=${E}&theme=${ue.palette.mode}`;const c=t.get("fromLauncher");c&&(l+=`&fromLauncher=${c}`),d&&(l+=`&launchType=${d}`),k&&(l+=`&launcherUrl=${k}`),P&&(l+=`&chainHost=${P}`),v(l)};s.useEffect(()=>{Se()},[Se]);const f1=s.useMemo(()=>!_&&!H&&ee&&h.user?{nw:ee,previousUserDid:h.user?.did,skipMigrateAccount:!0}:r.connectData.extraParams,[r.connectData.extraParams,H,_,ee,h.user]),g1=async n=>{if($("visitBlocklet",{status:j,state:r,appDid:m}),r.visiting)return;g({visiting:!0});const o=Je({blocklet:n}),l=await Xe(o);if(le(l)&&d!=="serverless"||h1){g({visiting:!1}),setTimeout(()=>{p1(n)},1e3);return}if(le(l)){g({visiting:!1});return}if(We(j,r)===!1)try{await I.post(`/api/launch/${L}`)}catch(k1){$("end launch failed",{error:ae(k1)})}let c=l;(A||!Q.hasStartEngine(n.meta))&&m&&(c=T(l||"",e1,"/setup"));const x=new URL(c);x.searchParams.set("theme",ue.palette.mode),x.searchParams.set("serverUrl",_1(p)),n.status!=="running"&&x.searchParams.set("__start__","1");const K=t.get("fromLauncher");K&&x.searchParams.set("fromLauncher",K),d&&x.searchParams.set("launchType",d),k&&x.searchParams.set("launcherUrl",k),O&&x.searchParams.set("nftId",O),P&&x.searchParams.set("chainHost",P);const Re=sessionStorage.getItem(ye);Re&&x.searchParams.set("setupToken",Re);const Ne=sessionStorage.getItem(be);Ne&&x.searchParams.set("visitorId",Ne),A&&x.searchParams.set("from","empty"),g({nextAccessUrl:x.href,visiting:!1}),setTimeout(()=>{sessionStorage.removeItem(ye),sessionStorage.removeItem(be),window.location.href=_e(x.href,{allowDomains:null})},1e3)},v1=[a("launchBlocklet.waiting.verifying"),a("launchBlocklet.waiting.downloading"),a("launchBlocklet.waiting.extracting"),a(j==="upgrading"?"common.upgrading":"launchBlocklet.waiting.installing"),a("launchBlocklet.waiting.done")],x1=De(()=>[a("launchBlocklet.waiting.initializing"),a("launchBlocklet.waiting.initializingOwner"),a("launchBlocklet.waiting.creatingSecurityRules"),a("launchBlocklet.waiting.assigningDomain"),a("launchBlocklet.waiting.waitingForDomain")],[a]),G=()=>{$("handleInstalledProgress",{status:j,state:r}),j&&(g({progressIndex:4}),X.current&&(clearTimeout(X.current),X.current=null),X.current=setTimeout(()=>{i.getBlocklet({input:{did:m,attachRuntimeInfo:!0}}).then(n=>{n.blocklet&&n.blocklet.site&&g1(n.blocklet)})},500))};s.useEffect(()=>{C&&g({launching:!0}),U&&G()},[U,C]),s.useEffect(()=>{if(d==="serverless"&&pe===ke.BlockletEvents.nftConsumed){G();return}switch(j){case"waiting":g({progressIndex:1,statusChanged:!0});break;case"downloading":g({progressIndex:2,statusChanged:!0});break;case"installing":case"upgrading":g({progressIndex:3,statusChanged:!0});break;case"installed":if(d==="serverless"&&!N1(z))break;G();break;case"starting":G();break;case"running":G();break;case"stopped":G();break;case"corrupted":case"error":{const n={message:z.error.message,name:z.eventName};[ke.BlockletEvents.downloadFailed,ke.BlockletEvents.installFailed].includes(z.eventName)?n.action="retry":(j==="error"||j==="corrupted")&&(n.action="view"),R1(n,r.installError)||z?.error?.message&&Z.error(ae(z.error))}break}},[j,pe,z]),$("render",{status:j,isInstalling:C,isBlockletInstalled:U,eventName:pe,launchType:d,launcherSessionId:y,runtimeBlockletState:z,state:r});const Ie=D1(async()=>{if(!w)return"";const n=o1(w?.userDid),o=r1(k),l=y?`/apps/${y}/overview`:"apps",c=await He(o);return Ge(T(c,"/u/",l),n)});if(s.useEffect(()=>{w?.status>=50&&Ie().then(n=>{g({nextAccessUrl:n}),setTimeout(()=>{window.location.href=n},2e3)})},[w,Ie,g]),R||h.user&&j===null||le(u))return e.jsx(Y,{relative:"parent",children:e.jsx(q,{})});if(r.installError){const n={view:!V&&e.jsx(W,{className:"bottom-button",component:Ze,to:`/blocklets/${m}/overview`,"data-cy":"view-blocklet",color:"primary",variant:"contained",children:a("launchBlocklet.viewApplication")}),retry:e.jsxs(wt,{children:[F&&e.jsx(W,{variant:"text",className:"bottom-button","data-cy":"go-back",disabled:r.isConnectOpen,onClick:()=>{window.location.href=he||A?"/blocklets":_e(F)},children:a("common.back")}),e.jsxs(W,{className:"bottom-button","data-cy":"retry-install",disabled:r.isConnectOpen,onClick:ge,children:[r.isConnectOpen&&e.jsx(q,{size:16}),a("common.retry")]})]})},o=r.installError.name?r.installError.name.replace("blocklet.",""):"installFailed";return e.jsx(je,{variant:"error",title:b,subTitle:e.jsxs(kt,{children:[e.jsx("div",{children:a(`launchBlocklet.error.${o}`)}),r.installError.message&&e.jsx("div",{className:"error-desc",children:a("common.errorMessage")+r.installError.message})]}),footer:n[r.installError.action]})}if(We(j,r))return $("alreadyExists",{status:j,state:r,runtimeBlockletState:z}),e.jsx(je,{variant:"info",title:a("common.reminder"),subTitle:a("launchBlocklet.alreadyExists",{name:Q.getDisplayName({meta:u},!0)}),footer:e.jsxs("div",{children:[!r.nextAccessUrl&&e.jsx(q,{size:16}),r.nextAccessUrl&&e.jsx(re,{href:r.nextAccessUrl,"data-cy":"open-blocklet",children:a("launchBlocklet.redirect")})]})});if(w?.status>=50)return e.jsx(je,{variant:"info",title:a("common.reminder"),subTitle:a("launchBlocklet.alreadyConsumed"),footer:e.jsx($e,{sx:{display:"flex",justifyContent:"center",alignItems:"center",gap:2},children:e.jsx(re,{href:r.nextAccessUrl,"data-cy":"open-blocklet",children:a("launchBlocklet.redirectToLauncherBlocklet")})})});const ve=!r.launching&&!j;return!_&&!H&&!ee&&h.user?e.jsx(Y,{relative:"parent",children:e.jsxs(Qe,{severity:"error",children:[a("launchBlocklet.nwFailed"),e.jsx(P1,{component:"span",onClick:()=>{window.location.reload()},sx:{fontSize:14,cursor:"pointer",color:"primary.main"},children:a("common.retry")})]})}):e.jsxs(xt,{children:[e.jsx("div",{className:"header",children:e.jsx(t1,{title:a(ve?"common.install":"common.installing"),subTitle:ve?a("launchBlocklet.subTitle",{appName:b,serverName:p.name}):""})}),e.jsxs("div",{className:"body",children:[ve&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"illustrations",children:[e.jsx("div",{className:"ills-block ills-block-left",children:e.jsxs("div",{className:"ills-block-inner",children:[e.jsx(X1,{className:"i-icon",blocklet:{meta:u},blockletMetaUrl:E,storeUrl:B}),e.jsx("div",{className:"i-name",children:b})]})}),e.jsx(A1,{className:"arrow-icon"}),e.jsx("div",{className:"ills-block ills-block-right",children:e.jsxs("div",{className:"ills-block-inner",children:[e.jsx("img",{width:"64",height:"64",src:ot,alt:""}),e.jsx("div",{className:"i-name",children:p.name}),e.jsx($1,{size:12,responsive:!1,compact:!0,did:p.did})]})})]}),r.loaded&&!U&&!r.launching&&e.jsxs(W,{className:"bottom-button","data-cy":"start-launch",disabled:r.isConnectOpen||ze,onClick:ge,children:[r.isConnectOpen||ze?e.jsx(q,{size:16,sx:{mr:1}}):null,a("launchBlocklet.confirmInstall")]})]}),r.launching&&e.jsxs(et,{children:[r.progressIndex!==4?e.jsx(Ee,{increaseSpeed:.3,messageLoop:!1,message:e.jsx(a1,{steps:v1,stepIndex:r.progressIndex,autoGrowth:4e3})}):null,r.progressIndex===4?e.jsx(Ee,{messageDuration:1e3,message:x1.map(n=>e.jsxs($e,{sx:{display:"flex",justifyContent:"center",alignItems:"center",gap:1},children:[e.jsx(q,{thickness:8,size:14}),e.jsx("span",{style:{color:ue.palette.primary.main},children:n})]},n))}):null,[1,2].includes(r.progressIndex)&&e.jsx(Te,{appDid:m})]})]}),r.isConnectOpen&&e.jsx(Te,{appDid:m,visible:!1}),e.jsx(T1,{open:r.isConnectOpen,popup:!0,saveConnect:!1,className:"connect",baseUrl:r.connectData.baseUrl,action:!H&&!_?"bind-wallet":r.connectData.action,checkFn:r.connectData.checkFn,extraParams:f1,forceConnected:!1,checkTimeout:600*1e3,webWalletUrl:Ye(p),onSuccess:fe,onClose:()=>g({isConnectOpen:!1}),locale:f,messages:{title:`${a("launchBlocklet.dialog.title")}`,scan:gt(N,me,a),confirm:a("launchBlocklet.dialog.confirm"),success:a("launchBlocklet.dialog.success")},customItems:[e.jsx(lt,{onClick:_?u1:m1})]})]})}const xt=S(s1)`
|
|
28
|
+
`;function W({children:t,...a}){return e.jsx(B1,{variant:"contained",color:"primary",...a,children:t})}W.propTypes={children:Be.any.isRequired};const $=I1("@abtnode/webapp:launch-blocklet:step-install"),We=(t,a)=>!a.statusChanged&&(t==="installed"||t==="running")&&!a.launching,gt=(t,a,f)=>f(a==="nft"?t?"launchBlocklet.dialog.nftFreeDescription":"launchBlocklet.dialog.nftPaidDescription":t?"launchBlocklet.dialog.freeDescription":"launchBlocklet.dialog.paidDescription"),ye="__temp_setup_token",be="__temp_visitor_id";function vt(){const t=qe(),{t:a,locale:f}=J(),{api:i,info:p}=ce(),{session:h,api:I}=E1(),v=Ke(),{loading:R,meta:u,isFree:N,appDid:m,sessionId:L,storeUrl:B,blockletMetaUrl:E,isExternal:T,setAppDid:D,launcherUrl:k,launcherSessionId:y,launcherSession:w,isInstalling:C,isInstalled:U}=ie(),b=u?Q.getDisplayName({meta:u},!0):null,d=t.get("launchType"),P=t.get("chainHost"),M=!!t.get("onlyRequired"),O=t.get("nftId"),F=t.get("from"),he=F==="url",A=F==="empty",X=s.useRef(null),{decrypt:i1,encryptKey:de}=L1(),ue=Le(),[ee,Ce]=s.useState(""),[h1]=rt("skip-blocklet-setup",!1),[r,g]=C1({launching:!1,visiting:!1,statusChanged:!1,isConnectOpen:!1,nextAccessUrl:"",loaded:!1,installError:null,progressIndex:0,connectData:{action:"",baseUrl:"",checkFn:()=>{},extraParams:{}}}),Ue=U1({user:h.user,launchType:d,nftId:O}),me=z1.getServerAuthMethod(p,d,y,Ue),ze=y&&w&&!w.walletDid,_=De(()=>F==="launcher",[F]),te=s.useMemo(()=>A?xe.CREATE:he?xe.URL:xe.STORE,[A,he]),H=s.useMemo(()=>h.user?(h.user?.connectedAccounts||[]).some(l=>l.provider===S1.WALLET):!1,[h.user]),z=J1(Ue?m:""),{status:j,eventName:pe}=z;s.useEffect(()=>{R||(!U&&!C&&ge(),g({loaded:!0}))},[R]);const d1=async()=>{const{isNew:n,decoded:o}=T1(B,p.blockletRegistryList);n&&await i.addBlockletStore({input:{teamDid:p.did,url:o}})},fe=async n=>{$("handleConnectSuccess",n),Z.success(a("launchBlocklet.dialog.success"));const o=Array.isArray(n)?n[n.length-1]:n;if(o.sessionToken&&(M1(o.sessionToken.split(".").length===3?o.sessionToken:i1(o.sessionToken)),await h.refresh()),o.setupToken&&sessionStorage.setItem(ye,o.setupToken),o.visitorId&&sessionStorage.setItem(be,o.visitorId),g({launching:!o.isInstalled,isConnectOpen:!1}),o.appDid){D(o.appDid,o.sessionId);const l=new URL(window.location.href);l.searchParams.set("appDid",o.appDid),l.searchParams.set("sessionId",o.sessionId),window.history.replaceState(null,"",l.toString())}},u1=async()=>{g({isConnectOpen:!1,launching:!0});let n=b;const o=u?.description;if(h.user&&!A){const l=`${h.user.fullName}'s ${b}`,{error:c}=we.titleSchema.validate(l);c?console.warn({appName:n,betterName:l,error:c}):n=l}try{const{data:l}=await i.launchBlockletByLauncher({input:{title:n,description:o,blockletMetaUrl:E,launcherSessionId:y,launcherUrl:k,chainHost:decodeURIComponent(P),onlyRequired:M,type:te,storeUrl:B}});fe(l)}catch(l){console.error("launchBlockletByLauncher error:",l),Z.error(ae(l),{autoHideDuration:3e3})}},ge=async()=>{$("handleLaunchStart",{launcherSessionId:y,launcherSession:w});let n=b;const o=u?.description;if(h.user&&!A){const l=`${h.user.fullName}'s ${b}`,{error:c}=we.titleSchema.validate(l);c?console.warn({appName:n,betterName:l,error:c}):n=l}if(g({installError:null}),h?.user&&!T&&d!=="serverless")try{await d1()}catch(l){console.error("addNewRegistryToRegistryList error:",l)}if(N){const l=`launch-free-blocklet-by-${me}`;g({isConnectOpen:!0,connectData:{action:l,baseUrl:"",checkFn:Ae.create({baseURL:window?.env?.apiPrefix??"/"}).get,extraParams:{wt:Pe(u),title:n,blockletMetaUrl:E,description:o,launchType:d,nftId:O,chainHost:decodeURIComponent(P),launcherUrl:k,launcherSessionId:y,onlyRequired:M,type:te,storeUrl:B}}})}else{const l=`launch-paid-blocklet-by-${me}`,c=new URL(window.location.href);c.pathname=V(window?.env?.apiPrefix??"/",`/api/did/${l}/token`),c.searchParams.set("wt",Pe(u)),c.searchParams.set("_ek_",de),c.searchParams.set("title",n),c.searchParams.set("autoConnect",!1),c.searchParams.set("blockletMetaUrl",E),d&&c.searchParams.set("launchType",d),O&&c.searchParams.set("nftId",O),k&&c.searchParams.set("launcherUrl",k),y&&c.searchParams.set("launcherSessionId",y);const{data:x}=await Me.get(c.href),K=B||new URL(E).origin;g({isConnectOpen:!0,connectData:{action:"verify-purchase-blocklet",baseUrl:K,checkFn:Ae.create({baseURL:K}).get,extraParams:{serverDid:p.did,blockletDid:u?.did,nw:x.url,type:te,storeUrl:B}}})}},Se=s.useCallback(async()=>{if(_||H||!r.connectData.action)return"";const n=new URL(window.location.href);n.pathname=V(window?.env?.apiPrefix??"/",`/api/did/${r.connectData.action}/token`),n.searchParams.set("_ek_",de),Object.keys(r.connectData.extraParams).forEach(l=>{n.searchParams.set(l,r.connectData.extraParams[l])});const{data:o}=await Me.get(n.href);o.url?Ce(o.url):Ce("")},[H,_,r.connectData.action,r.connectData.extraParams,de]),m1=async()=>{g({isConnectOpen:!1,launching:!0});let n=b;const o=u?.description;if(h.user&&!A){const l=`${h.user.fullName}'s ${b}`,{error:c}=we.titleSchema.validate(l);c?console.warn({appName:n,betterName:l,error:c}):n=l}$("launchBlockletWithoutWallet",{title:n,blockletMetaUrl:E});try{const{data:l}=await i.launchBlockletWithoutWallet({input:{title:n,blockletMetaUrl:E||"",type:te,description:o,storeUrl:B||"",onlyRequired:M}});fe(l)}catch(l){console.error("launchBlockletWithoutWallet error:",l),Z.error(ae(l),{autoHideDuration:3e3})}},p1=n=>{const o=`/${p.routing.adminPath}/blocklets/${n.meta.did}/configuration`.replace(/\/+/g,"/");let l=`/launch-blocklet/complete?status=installed&name=${encodeURIComponent(b)}&accessUrl=${encodeURIComponent(o)}&blocklet_meta_url=${E}&theme=${ue.palette.mode}`;const c=t.get("fromLauncher");c&&(l+=`&fromLauncher=${c}`),d&&(l+=`&launchType=${d}`),k&&(l+=`&launcherUrl=${k}`),P&&(l+=`&chainHost=${P}`),v(l)};s.useEffect(()=>{Se()},[Se]);const f1=s.useMemo(()=>!_&&!H&&ee&&h.user?{nw:ee,previousUserDid:h.user?.did,skipMigrateAccount:!0}:r.connectData.extraParams,[r.connectData.extraParams,H,_,ee,h.user]),g1=async n=>{if($("visitBlocklet",{status:j,state:r,appDid:m}),r.visiting)return;g({visiting:!0});const o=Je({blocklet:n}),l=await Xe(o);if(le(l)&&d!=="serverless"||h1){g({visiting:!1}),setTimeout(()=>{p1(n)},1e3);return}if(le(l)){g({visiting:!1});return}if(We(j,r)===!1)try{await I.post(`/api/launch/${L}`)}catch(k1){$("end launch failed",{error:ae(k1)})}let c=l;(A||!Q.hasStartEngine(n.meta))&&m&&(c=V(l||"",e1,"/setup"));const x=new URL(c);x.searchParams.set("theme",ue.palette.mode),x.searchParams.set("serverUrl",_1(p)),n.status!=="running"&&x.searchParams.set("__start__","1");const K=t.get("fromLauncher");K&&x.searchParams.set("fromLauncher",K),d&&x.searchParams.set("launchType",d),k&&x.searchParams.set("launcherUrl",k),O&&x.searchParams.set("nftId",O),P&&x.searchParams.set("chainHost",P);const Re=sessionStorage.getItem(ye);Re&&x.searchParams.set("setupToken",Re);const Ne=sessionStorage.getItem(be);Ne&&x.searchParams.set("visitorId",Ne),A&&x.searchParams.set("from","empty"),g({nextAccessUrl:x.href,visiting:!1}),setTimeout(()=>{sessionStorage.removeItem(ye),sessionStorage.removeItem(be),window.location.href=_e(x.href,{allowDomains:null})},1e3)},v1=[a("launchBlocklet.waiting.verifying"),a("launchBlocklet.waiting.downloading"),a("launchBlocklet.waiting.extracting"),a(j==="upgrading"?"common.upgrading":"launchBlocklet.waiting.installing"),a("launchBlocklet.waiting.done")],x1=De(()=>[a("launchBlocklet.waiting.initializing"),a("launchBlocklet.waiting.initializingOwner"),a("launchBlocklet.waiting.creatingSecurityRules"),a("launchBlocklet.waiting.assigningDomain"),a("launchBlocklet.waiting.waitingForDomain")],[a]),G=()=>{$("handleInstalledProgress",{status:j,state:r}),j&&(g({progressIndex:4}),X.current&&(clearTimeout(X.current),X.current=null),X.current=setTimeout(()=>{i.getBlocklet({input:{did:m,attachRuntimeInfo:!0}}).then(n=>{n.blocklet&&n.blocklet.site&&g1(n.blocklet)})},500))};s.useEffect(()=>{C&&g({launching:!0}),U&&G()},[U,C]),s.useEffect(()=>{if(d==="serverless"&&pe===ke.BlockletEvents.nftConsumed){G();return}switch(j){case"waiting":g({progressIndex:1,statusChanged:!0});break;case"downloading":g({progressIndex:2,statusChanged:!0});break;case"installing":case"upgrading":g({progressIndex:3,statusChanged:!0});break;case"installed":if(d==="serverless"&&!N1(z))break;G();break;case"starting":G();break;case"running":G();break;case"stopped":G();break;case"corrupted":case"error":{const n={message:z.error.message,name:z.eventName};[ke.BlockletEvents.downloadFailed,ke.BlockletEvents.installFailed].includes(z.eventName)?n.action="retry":(j==="error"||j==="corrupted")&&(n.action="view"),R1(n,r.installError)||z?.error?.message&&Z.error(ae(z.error))}break}},[j,pe,z]),$("render",{status:j,isInstalling:C,isBlockletInstalled:U,eventName:pe,launchType:d,launcherSessionId:y,runtimeBlockletState:z,state:r});const Ie=D1(async()=>{if(!w)return"";const n=o1(w?.userDid),o=r1(k),l=y?`/apps/${y}/overview`:"apps",c=await He(o);return Ge(V(c,"/u/",l),n)});if(s.useEffect(()=>{w?.status>=50&&Ie().then(n=>{g({nextAccessUrl:n}),setTimeout(()=>{window.location.href=n},2e3)})},[w,Ie,g]),R||h.user&&j===null||le(u))return e.jsx(Y,{relative:"parent",children:e.jsx(q,{})});if(r.installError){const n={view:!T&&e.jsx(W,{className:"bottom-button",component:Ze,to:`/blocklets/${m}/overview`,"data-cy":"view-blocklet",color:"primary",variant:"contained",children:a("launchBlocklet.viewApplication")}),retry:e.jsxs(wt,{children:[F&&e.jsx(W,{variant:"text",className:"bottom-button","data-cy":"go-back",disabled:r.isConnectOpen,onClick:()=>{window.location.href=he||A?"/blocklets":_e(F)},children:a("common.back")}),e.jsxs(W,{className:"bottom-button","data-cy":"retry-install",disabled:r.isConnectOpen,onClick:ge,children:[r.isConnectOpen&&e.jsx(q,{size:16}),a("common.retry")]})]})},o=r.installError.name?r.installError.name.replace("blocklet.",""):"installFailed";return e.jsx(je,{variant:"error",title:b,subTitle:e.jsxs(kt,{children:[e.jsx("div",{children:a(`launchBlocklet.error.${o}`)}),r.installError.message&&e.jsx("div",{className:"error-desc",children:a("common.errorMessage")+r.installError.message})]}),footer:n[r.installError.action]})}if(We(j,r))return $("alreadyExists",{status:j,state:r,runtimeBlockletState:z}),e.jsx(je,{variant:"info",title:a("common.reminder"),subTitle:a("launchBlocklet.alreadyExists",{name:Q.getDisplayName({meta:u},!0)}),footer:e.jsxs("div",{children:[!r.nextAccessUrl&&e.jsx(q,{size:16}),r.nextAccessUrl&&e.jsx(re,{href:r.nextAccessUrl,"data-cy":"open-blocklet",children:a("launchBlocklet.redirect")})]})});if(w?.status>=50)return e.jsx(je,{variant:"info",title:a("common.reminder"),subTitle:a("launchBlocklet.alreadyConsumed"),footer:e.jsx($e,{sx:{display:"flex",justifyContent:"center",alignItems:"center",gap:2},children:e.jsx(re,{href:r.nextAccessUrl,"data-cy":"open-blocklet",children:a("launchBlocklet.redirectToLauncherBlocklet")})})});const ve=!r.launching&&!j;return!_&&!H&&!ee&&h.user?e.jsx(Y,{relative:"parent",children:e.jsxs(Qe,{severity:"error",children:[a("launchBlocklet.nwFailed"),e.jsx(P1,{component:"span",onClick:()=>{window.location.reload()},sx:{fontSize:14,cursor:"pointer",color:"primary.main"},children:a("common.retry")})]})}):e.jsxs(xt,{children:[e.jsx("div",{className:"header",children:e.jsx(t1,{title:a(ve?"common.install":"common.installing"),subTitle:ve?a("launchBlocklet.subTitle",{appName:b,serverName:p.name}):""})}),e.jsxs("div",{className:"body",children:[ve&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"illustrations",children:[e.jsx("div",{className:"ills-block ills-block-left",children:e.jsxs("div",{className:"ills-block-inner",children:[e.jsx(X1,{className:"i-icon",blocklet:{meta:u},blockletMetaUrl:E,storeUrl:B}),e.jsx("div",{className:"i-name",children:b})]})}),e.jsx(A1,{className:"arrow-icon"}),e.jsx("div",{className:"ills-block ills-block-right",children:e.jsxs("div",{className:"ills-block-inner",children:[e.jsx("img",{width:"64",height:"64",src:ot,alt:""}),e.jsx("div",{className:"i-name",children:p.name}),e.jsx($1,{size:12,responsive:!1,compact:!0,did:p.did})]})})]}),r.loaded&&!U&&!r.launching&&e.jsxs(W,{className:"bottom-button","data-cy":"start-launch",disabled:r.isConnectOpen||ze,onClick:ge,children:[r.isConnectOpen||ze?e.jsx(q,{size:16,sx:{mr:1}}):null,a("launchBlocklet.confirmInstall")]})]}),r.launching&&e.jsxs(et,{children:[r.progressIndex!==4?e.jsx(Ee,{increaseSpeed:.3,messageLoop:!1,message:e.jsx(a1,{steps:v1,stepIndex:r.progressIndex,autoGrowth:4e3})}):null,r.progressIndex===4?e.jsx(Ee,{messageDuration:1e3,message:x1.map(n=>e.jsxs($e,{sx:{display:"flex",justifyContent:"center",alignItems:"center",gap:1},children:[e.jsx(q,{thickness:8,size:14}),e.jsx("span",{style:{color:ue.palette.primary.main},children:n})]},n))}):null,[1,2].includes(r.progressIndex)&&e.jsx(Ve,{appDid:m})]})]}),r.isConnectOpen&&e.jsx(Ve,{appDid:m,visible:!1}),e.jsx(V1,{open:r.isConnectOpen,popup:!0,saveConnect:!1,className:"connect",baseUrl:r.connectData.baseUrl,action:!H&&!_?"bind-wallet":r.connectData.action,checkFn:r.connectData.checkFn,extraParams:f1,forceConnected:!1,checkTimeout:600*1e3,webWalletUrl:Ye(p),onSuccess:fe,onClose:()=>g({isConnectOpen:!1}),locale:f,messages:{title:`${a("launchBlocklet.dialog.title")}`,scan:gt(N,me,a),confirm:a("launchBlocklet.dialog.confirm"),success:a("launchBlocklet.dialog.success")},customItems:[e.jsx(lt,{onClick:_?u1:m1})]})]})}const xt=S(s1)`
|
|
29
29
|
.body {
|
|
30
30
|
align-items: center;
|
|
31
31
|
animation: fadein ease 0.3s;
|
|
@@ -106,7 +106,7 @@ import{r as s,V as J,d_ as He,an as Ge,x as T,j as e,du as w1,cQ as y1,d$ as b1,
|
|
|
106
106
|
.result-footer {
|
|
107
107
|
height: auto;
|
|
108
108
|
}
|
|
109
|
-
`;function c1({onClickNext:t=null,showPageHeader:a=!0}){const f=Ke(),[i,p]=s.useState(null),[h,I]=s.useState(!1),{t:v}=J(),{info:R,api:u}=ce(),{loading:N,meta:m,isRunning:L,isInstalled:B,isInstalling:E,appDid:
|
|
109
|
+
`;function c1({onClickNext:t=null,showPageHeader:a=!0}){const f=Ke(),[i,p]=s.useState(null),[h,I]=s.useState(!1),{t:v}=J(),{info:R,api:u}=ce(),{loading:N,meta:m,isRunning:L,isInstalled:B,isInstalling:E,appDid:T,isExternal:D}=ie(),[k,y]=s.useState(!0),w=s.useMemo(()=>D?i?`${new URL(i).origin}${e1}/admin`:"":`/blocklets/${T}/overview`,[i,D,T]),C=()=>{const d=new URLSearchParams(window.location.search);k||d.set("onlyRequired","1"),f(`/launch-blocklet/install?${d.toString()}`)},U=t||C,b=async()=>{try{I(!0);const{blocklet:d}=await u.getBlocklet({input:{did:m.did,attachRuntimeInfo:!0}}),P=Je({blocklet:d}),M=await Xe(P);if(!M&&le(M)){p(null);return}p(new URL(M).href)}catch(d){Z.error(d.message)}finally{I(!1)}};if(s.useEffect(()=>{if(!N){if(E){C();return}(L||B&&D)&&b()}},[L,D,B,E]),B){const d=L?"alreadyRunning":"alreadyInstalled";return e.jsx(oe,{variant:"info",title:v("common.reminder"),subTitle:v(`launchBlocklet.${d}`,{name:Q.getDisplayName({meta:m},!0)}),footer:e.jsxs(yt,{children:[e.jsx(W,{loading:!w,"data-cy":"view-blocklet",component:D?void 0:Ze,to:w,href:w,variant:L?"outlined":"contained",color:"primary",children:v("launchBlocklet.viewApplication")}),L&&e.jsx(W,{loading:h,className:"last-button",disabled:!i,href:i,"data-cy":"open-blocklet",children:v("common.open")})]})})}return R?ne.hasStartEngine(m)||ne.isGatewayBlocklet(m)||ne.isPackBlocklet(m)||ne.hasMountPoint(m)?e.jsxs(Oe,{children:[a&&e.jsx(t1,{title:v("launchBlocklet.introduction"),subTitle:v("launchBlocklet.welcome")}),e.jsx(nt,{installRelated:k,onChangeInstallRelated:y,meta:m,onClickNext:U,handleDescEle:e.jsx("p",{children:v("blocklet.component.addComponentTip.belowInformation")})})]}):e.jsx(Oe,{className:"center",children:e.jsx(oe,{variant:"error",subTitle:v("launchBlocklet.error.resourceBlocklet")})}):e.jsx(Y,{relative:"parent",children:e.jsx(q,{})})}c1.propTypes={onClickNext:Be.func,showPageHeader:Be.bool};const Oe=S.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
112
112
|
align-items: center;
|
|
@@ -124,7 +124,7 @@ import{r as s,V as J,d_ as He,an as Ge,x as T,j as e,du as w1,cQ as y1,d$ as b1,
|
|
|
124
124
|
.last-button {
|
|
125
125
|
margin-left: ${t=>t.theme.spacing(2)};
|
|
126
126
|
}
|
|
127
|
-
`;function Ot(){const t=Le(),a=tt(),f=ut(),{t:i,locale:p}=J(),{info:h}=ce(),I=Ye(h),{serverUrl:v,fromLauncher:R,meta:u,isFree:N,loading:m,error:L,storeUrl:B,launchType:E,launcherUrl:
|
|
127
|
+
`;function Ot(){const t=Le(),a=tt(),f=ut(),{t:i,locale:p}=J(),{info:h}=ce(),I=Ye(h),{serverUrl:v,fromLauncher:R,meta:u,isFree:N,loading:m,error:L,storeUrl:B,launchType:E,launcherUrl:T,launcherSession:D}=ie(),k=V(W1(),"/launch-blocklet"),y=dt(E,T,D?.userDid),w=[{key:"install",name:i("launchBlocklet.steps.installApp"),path:V(k,"install")},{key:"setup",name:i("setup.steps.launchApp")}];let C=[{key:"agreement",name:i("launchBlocklet.introduction"),path:V(k,"agreement")},...w],U=e.jsx(Fe,{className:`${v?"logo-can-click":""}`,children:e.jsx(re,{href:v||"",target:"_blank",children:e.jsx(Te,{logo:a})})});R&&(C=[{key:"purchase-space",name:i("launchBlocklet.steps.purchaseSpace")},{key:"prepare-space",name:i("launchBlocklet.steps.prepareSpace")},...w],U=e.jsx(Fe,{className:`${v?"logo-can-click":""}`,children:e.jsx(re,{href:v||"",target:"_blank",children:e.jsx(Te,{logo:a,previousData:{logo:f}})})}));const b={meta:u,isFree:N};return e.jsx(Q1,{steps:C,children:e.jsx(Y1,{locale:p,loading:m,className:"page-layout",blockletMeta:{...u,isFree:N},useOfSkeleton:!1,navLogo:U,headerEndAddons:e.jsx(q1,{webWalletUrl:I,SessionContext:K1}),pcWidth:"80%",style:{height:"100%"},theme:t,logoUrl:u&&u.logo?O1({did:u.did,version:u.version,baseUrl:B,logoPath:u.logo}):null,extraNav:y,children:e.jsxs(jt,{children:[e.jsx(F1,{styles:bt}),m&&e.jsx(Y,{relative:"parent",children:e.jsx(Ee,{increaseSpeed:.3,messageLoop:!1,message:e.jsx(a1,{steps:[i("launchBlocklet.waiting.parsing")],stepIndex:0,autoGrowth:2e3})})}),!m&&L&&e.jsx(Y,{relative:"parent",children:e.jsx(Qe,{style:{wordBreak:"break-all"},severity:"error",children:L})}),!m&&!L&&e.jsxs(H1,{children:[e.jsx(se,{path:"agreement",element:e.jsx(c1,{})}),e.jsx(se,{path:"install",element:e.jsx(vt,{})}),e.jsx(se,{path:"complete",element:e.jsx(mt,{blocklet:b})}),e.jsx(se,{path:"*",element:e.jsx(G1,{to:`agreement${window.location.search}`,replace:!0})})]})]})})})}const bt=Z1`
|
|
128
128
|
html,
|
|
129
129
|
body,
|
|
130
130
|
#root,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,j as t,B as o,O as a,o as l}from"./index-
|
|
1
|
+
import{r as i,j as t,B as o,O as a,o as l}from"./index-CP8e2zcP.js";const c=e=>i.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33v11.523a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8H2.4zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1H12.03l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})),h=a(o)`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as I,ju as hl,aO as Fo,da as gl,c3 as Bo,db as bl,m as qo,c as Lr,j as i,jv as yl,gy as xl,k as Ct,gt as or,ah as Je,jw as oi,jx as vl,jy as wl,jz as Sl,jA as oo,jB as jl,jC as El,jD as Tl,jE as so,jF as Cl,jG as Pl,iu as kl,jH as Il,dy as Rl,dx as io,cQ as Vn,cP as Dl,eF as Al,jI as Ol,i5 as _l,V as Ce,aR as Le,b6 as dt,jJ as si,H as Me,bB as qe,o as b,ab as ao,aD as ii,eP as ai,d as xt,B,a7 as Ml,bf as Nl,bd as Ll,bq as ft,jK as li,S as Tr,ac as Cr,gu as ci,hJ as Fl,cu as tt,at as ct,fe as Bl,aA as Ue,ch as Lt,ak as lo,co as ql,cp as Ul,cq as $l,cr as zl,cv as Fr,J as ke,ax as co,au as Ft,jL as Vl,as as Tt,aY as Vt,aZ as Wt,a2 as ui,cd as ot,cf as ae,ca as Wl,a3 as _e,bR as Pr,a1 as di,a4 as pt,a5 as Rt,M as kt,be as fi,dP as Kl,iF as Br,fb as pi,bF as et,dg as ze,F as sr,aC as mi,aB as Wn,dn as uo,fh as Hl,jM as kr,fQ as Yl,eX as ir,bz as Ve,C as yt,gv as Gl,w as Kn,v as Xl,A as Zl,D as Ql,q as Ye,p as dr,ar as fr,bG as qt,jN as Jl,fg as ec,K as tc,fP as hr,ad as rt,ai as rc,jO as nc,dr as oc,jP as hi,jQ as Ir,af as ar,d8 as Uo,c8 as lr,bc as sc,i as gi,an as ic,iz as ac,fD as fo,fE as bi,fF as po,P as gr,al as Pe,X as lc,d7 as yi,gO as xi,jR as vi,cw as cr,f8 as cc,i7 as wi,ay as uc,az as dc,gG as fc,di as Si,jS as pc,dt as $o,x as mc,W as hc,jT as gc,bI as bc,cx as yc,bt as xc}from"./index-DEflHlyo.js";import{A as Ut}from"./Add-D1qtasGt.js";import{V as vc}from"./ViewList-CI4jp_14.js";import{c as wc,H as mo,g as Sc}from"./index-BA_zqSiS.js";import{r as ji}from"./index-DZ_f5Dfi.js";import{O as zo}from"./index-DzQavNm8.js";import{a as We}from"./team-pgmvSiLk.js";import{u as Ei}from"./blocklet-mQW2VRE3.js";import{S as Ti}from"./Search-B-Kpov_x.js";import{y as qr}from"./index-Bl5zzd5F.js";import{u as jc,C as Zt}from"./index.esm-uIPkYqTP.js";import{S as Ec}from"./Google-DW20cCdB.js";import{A as Tc,a as br}from"./Autocomplete-DTKIP70z.js";import{U as Cc}from"./UnfoldMore-BtGzVWNn.js";import{E as Pc,F as kc}from"./federated-detail-dialog-BAAYkStt.js";import{P as It}from"./permission-Dgeoh_gC.js";import{C as Ur}from"./click-to-copy-BJwHXTAU.js";import{s as vt,p as Ic,S as Rc,d as ht,q as Ci,f as pr,t as Pi,w as $r,x as ki,y as ho,z as Ii,B as Ri,E as Rr,M as rr,F as Di,G as Vo,H as nr,v as Dc,I as Ac,J as Wo,K as Oc,a as _c,b as Mc,P as Nc,c as Lc,C as Fc,N as Bc,O as Dr,Q as Nt,R as Ar,r as Ko,T as Ho,U as qc,V as Uc,e as go,g as $c,h as zc,W as Vc,j as Wc,X as Kc,Y as Hc,Z as Yc,_ as yr,k as Bt,l as Ai,m as Gc,$ as Hn,n as Oi,a0 as Xc,a1 as Yo,o as Zc,a2 as Qc,a3 as Jc,D as eu,L as tu,A as ru}from"./AdapterDayjs-IaUSFlm4.js";import{u as st}from"./useThemeProps-CaL-a5Z3.js";import{b as Go,a as nu,t as ou,T as su}from"./html-title-BO3r7YSd.js";import{v as Ge}from"./index-IQ8RBJFB.js";import{u as iu,V as au}from"./Verified-GvGnFXRL.js";import{D as lu}from"./DeleteOutline-BknUUIOQ.js";import{V as cu}from"./Visibility-Bmnp5dVh.js";import{E as Xo}from"./ErrorOutline-DSSui5bs.js";import{N as uu}from"./index-CXj3-Qmy.js";import{R as _i,b as Er}from"./url-evaluation-DF8LRV6u.js";import{b as Yn}from"./sdk-CChXw_FN.js";import{U as du}from"./actions-DaRBxjah.js";import{u as Mi}from"./use-mobile-D8q1By2e.js";import{D as fu}from"./Delete-BR43GocU.js";import{A as pu}from"./actions-CAvjo_Ow.js";import{S as mu}from"./shorten-label-Ct9vHiPy.js";import{U as Zr}from"./ua-parser-D6QF1h5N.js";import{S as hu}from"./simple-select-DUBD32-K.js";const gu=wc(I.useLayoutEffect);var Zo={},Qo;function bu(){return Qo||(Qo=1,(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(p){try{return p.defaultView&&p.defaultView.frameElement||null}catch{return null}}var t=(function(p){for(var m=p,y=e(m);y;)m=y.ownerDocument,y=e(m);return m})(window.document),r=[],n=null,o=null;function c(p){this.time=p.time,this.target=p.target,this.rootBounds=T(p.rootBounds),this.boundingClientRect=T(p.boundingClientRect),this.intersectionRect=T(p.intersectionRect||v()),this.isIntersecting=!!p.intersectionRect;var m=this.boundingClientRect,y=m.width*m.height,C=this.intersectionRect,E=C.width*C.height;y?this.intersectionRatio=Number((E/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(p,m){var y=m||{};if(typeof p!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=p,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(C){return C.value+C.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(p,m){!p||!m?o=v():o=S(p,m),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(p){var m=this._observationTargets.some(function(y){return y.element==p});if(!m){if(!(p&&p.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:p,entry:null}),this._monitorIntersections(p.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(p){this._observationTargets=this._observationTargets.filter(function(m){return m.element!=p}),this._unmonitorIntersections(p.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var p=this._queuedEntries.slice();return this._queuedEntries=[],p},s.prototype._initThresholds=function(p){var m=p||[0];return Array.isArray(m)||(m=[m]),m.sort().filter(function(y,C,E){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==E[C-1]})},s.prototype._parseRootMargin=function(p){var m=p||"0px",y=m.split(/\s+/).map(function(C){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(C);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(p){var m=p.defaultView;if(m&&this._monitoringDocuments.indexOf(p)==-1){var y=this._checkForIntersections,C=null,E=null;this.POLL_INTERVAL?C=m.setInterval(y,this.POLL_INTERVAL):(u(m,"resize",y,!0),u(p,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(E=new m.MutationObserver(y),E.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(p),this._monitoringUnsubscribes.push(function(){var D=p.defaultView;D&&(C&&D.clearInterval(C),f(D,"resize",y,!0)),f(p,"scroll",y,!0),E&&E.disconnect()});var j=this.root&&(this.root.ownerDocument||this.root)||t;if(p!=j){var P=e(p);P&&this._monitorIntersections(P.ownerDocument)}}},s.prototype._unmonitorIntersections=function(p){var m=this._monitoringDocuments.indexOf(p);if(m!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,C=this._observationTargets.some(function(P){var D=P.element.ownerDocument;if(D==p)return!0;for(;D&&D!=y;){var M=e(D);if(D=M&&M.ownerDocument,D==p)return!0}return!1});if(!C){var E=this._monitoringUnsubscribes[m];if(this._monitoringDocuments.splice(m,1),this._monitoringUnsubscribes.splice(m,1),E(),p!=y){var j=e(p);j&&this._unmonitorIntersections(j.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var p=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var m=0;m<p.length;m++)p[m]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var p=this._rootIsInDom(),m=p?this._getRootRect():v();this._observationTargets.forEach(function(y){var C=y.element,E=x(C),j=this._rootContainsTarget(C),P=y.entry,D=p&&j&&this._computeTargetAndRootIntersection(C,E,m),M=null;this._rootContainsTarget(C)?(!n||this.root)&&(M=m):M=v();var U=y.entry=new c({time:l(),target:C,boundingClientRect:E,rootBounds:M,intersectionRect:D});P?p&&j?this._hasCrossedThreshold(P,U)&&this._queuedEntries.push(U):P&&P.isIntersecting&&this._queuedEntries.push(U):this._queuedEntries.push(U)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(p,m,y){if(window.getComputedStyle(p).display!="none"){for(var C=m,E=d(p),j=!1;!j&&E;){var P=null,D=E.nodeType==1?window.getComputedStyle(E):{};if(D.display=="none")return null;if(E==this.root||E.nodeType==9)if(j=!0,E==this.root||E==t)n&&!this.root?!o||o.width==0&&o.height==0?(E=null,P=null,C=null):P=o:P=y;else{var M=d(E),U=M&&x(M),$=M&&this._computeTargetAndRootIntersection(M,U,y);U&&$?(E=M,P=S(U,$)):(E=null,C=null)}else{var re=E.ownerDocument;E!=re.body&&E!=re.documentElement&&D.overflow!="visible"&&(P=x(E))}if(P&&(C=h(P,C)),!C)break;E=E&&d(E)}return C}},s.prototype._getRootRect=function(){var p;if(this.root&&!g(this.root))p=x(this.root);else{var m=g(this.root)?this.root:t,y=m.documentElement,C=m.body;p={top:0,left:0,right:y.clientWidth||C.clientWidth,width:y.clientWidth||C.clientWidth,bottom:y.clientHeight||C.clientHeight,height:y.clientHeight||C.clientHeight}}return this._expandRectByRootMargin(p)},s.prototype._expandRectByRootMargin=function(p){var m=this._rootMarginValues.map(function(C,E){return C.unit=="px"?C.value:C.value*(E%2?p.width:p.height)/100}),y={top:p.top-m[0],right:p.right+m[1],bottom:p.bottom+m[2],left:p.left-m[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(p,m){var y=p&&p.isIntersecting?p.intersectionRatio||0:-1,C=m.isIntersecting?m.intersectionRatio||0:-1;if(y!==C)for(var E=0;E<this.thresholds.length;E++){var j=this.thresholds[E];if(j==y||j==C||j<y!=j<C)return!0}},s.prototype._rootIsInDom=function(){return!this.root||w(t,this.root)},s.prototype._rootContainsTarget=function(p){var m=this.root&&(this.root.ownerDocument||this.root)||t;return w(m,p)&&(!this.root||m==p.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var p=r.indexOf(this);p!=-1&&r.splice(p,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(p,m){var y=null;return function(){y||(y=setTimeout(function(){p(),y=null},m))}}function u(p,m,y,C){typeof p.addEventListener=="function"?p.addEventListener(m,y,C):typeof p.attachEvent=="function"&&p.attachEvent("on"+m,y)}function f(p,m,y,C){typeof p.removeEventListener=="function"?p.removeEventListener(m,y,C):typeof p.detachEvent=="function"&&p.detachEvent("on"+m,y)}function h(p,m){var y=Math.max(p.top,m.top),C=Math.min(p.bottom,m.bottom),E=Math.max(p.left,m.left),j=Math.min(p.right,m.right),P=j-E,D=C-y;return P>=0&&D>=0&&{top:y,bottom:C,left:E,right:j,width:P,height:D}||null}function x(p){var m;try{m=p.getBoundingClientRect()}catch{}return m?(m.width&&m.height||(m={top:m.top,right:m.right,bottom:m.bottom,left:m.left,width:m.right-m.left,height:m.bottom-m.top}),m):v()}function v(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function T(p){return!p||"x"in p?p:{top:p.top,y:p.top,bottom:p.bottom,left:p.left,x:p.left,right:p.right,width:p.width,height:p.height}}function S(p,m){var y=m.top-p.top,C=m.left-p.left;return{top:y,left:C,height:m.height,width:m.width,bottom:y+m.height,right:C+m.width}}function w(p,m){for(var y=m;y;){if(y==p)return!0;y=d(y)}return!1}function d(p){var m=p.parentNode;return p.nodeType==9&&p!=t?e(p):(m&&m.assignedSlot&&(m=m.assignedSlot.parentNode),m&&m.nodeType==11&&m.host?m.host:m)}function g(p){return p&&p.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c})()),Zo}bu();function yu(e,t){var r={},n=r.callback,o=hl(r,["callback"]),c=Fo(I.useState(),2),s=c[0],l=c[1],a=Fo(I.useState(),2),u=a[0],f=a[1];return gl(function(){var h=Array.isArray(e)?e:[e],x=h.map(function(T){return Bo(T)}).filter(Boolean);if(x.length){var v=new IntersectionObserver(function(T){var S,w;try{for(var d=bl(T),g=d.next();!g.done;g=d.next()){var p=g.value;f(p.intersectionRatio),l(p.isIntersecting),n?.(p)}}catch(m){S={error:m}}finally{try{g&&!g.done&&(w=d.return)&&w.call(d)}finally{if(S)throw S.error}}},qo(qo({},o),{root:Bo(void 0)}));return x.forEach(function(T){return v.observe(T)}),function(){v.disconnect()}}},[void 0,void 0,n],e),[s,u]}const xu=Lr(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),zr=Lr([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),vu=Lr(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),wu=Lr(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Ni=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938}),I.createElement("rect",{x:15.313,y:14.063,width:7.5,height:1.875,rx:.938,transform:"rotate(-90 15.313 14.063)"})),Li=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zm0 4.377c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zm10.013-1.9c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04a.56.56 0 0 1 .162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})),Fi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938})),Su=e=>I.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("g",{clipPath:"url(#a)"},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281V14.4a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281V14.4a4.091 4.091 0 0 0-4.092-4.091H7.367z"})),I.createElement("defs",null,I.createElement("clipPath",{id:"a"},I.createElement("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})))),Bi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"}));var Qr={},Jr,Jo;function ju(){return Jo||(Jo=1,Jr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Jr}var en,es;function Eu(){if(es)return en;es=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var x=f[h];s=s.replace(new RegExp(x,"g"),l[x])}return s}return en=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},en}var tn,ts;function Tu(){return ts||(ts=1,tn=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),tn}var rn,rs;function Cu(){return rs||(rs=1,rn=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),rn}var ns;function Pu(){return ns||(ns=1,(function(e){const t=ju(),r=Eu(),n=Tu(),o=Cu(),c=d=>d==null;function s(d){switch(d.arrayFormat){case"index":return g=>(p,m)=>{const y=p.length;return m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[",y,"]"].join("")]:[...p,[u(g,d),"[",u(y,d),"]=",u(m,d)].join("")]};case"bracket":return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[]"].join("")]:[...p,[u(g,d),"[]=",u(m,d)].join("")];case"comma":case"separator":return g=>(p,m)=>m==null||m.length===0?p:p.length===0?[[u(g,d),"=",u(m,d)].join("")]:[[p,u(m,d)].join(d.arrayFormatSeparator)];default:return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,u(g,d)]:[...p,[u(g,d),"=",u(m,d)].join("")]}}function l(d){let g;switch(d.arrayFormat){case"index":return(p,m,y)=>{if(g=/\[(\d*)\]$/.exec(p),p=p.replace(/\[\d*\]$/,""),!g){y[p]=m;return}y[p]===void 0&&(y[p]={}),y[p][g[1]]=m};case"bracket":return(p,m,y)=>{if(g=/(\[\])$/.exec(p),p=p.replace(/\[\]$/,""),!g){y[p]=m;return}if(y[p]===void 0){y[p]=[m];return}y[p]=[].concat(y[p],m)};case"comma":case"separator":return(p,m,y)=>{const C=typeof m=="string"&&m.includes(d.arrayFormatSeparator),E=typeof m=="string"&&!C&&f(m,d).includes(d.arrayFormatSeparator);m=E?f(m,d):m;const j=C||E?m.split(d.arrayFormatSeparator).map(P=>f(P,d)):m===null?m:f(m,d);y[p]=j};default:return(p,m,y)=>{if(y[p]===void 0){y[p]=m;return}y[p]=[].concat(y[p],m)}}}function a(d){if(typeof d!="string"||d.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(d,g){return g.encode?g.strict?t(d):encodeURIComponent(d):d}function f(d,g){return g.decode?r(d):d}function h(d){return Array.isArray(d)?d.sort():typeof d=="object"?h(Object.keys(d)).sort((g,p)=>Number(g)-Number(p)).map(g=>d[g]):d}function x(d){const g=d.indexOf("#");return g!==-1&&(d=d.slice(0,g)),d}function v(d){let g="";const p=d.indexOf("#");return p!==-1&&(g=d.slice(p)),g}function T(d){d=x(d);const g=d.indexOf("?");return g===-1?"":d.slice(g+1)}function S(d,g){return g.parseNumbers&&!Number.isNaN(Number(d))&&typeof d=="string"&&d.trim()!==""?d=Number(d):g.parseBooleans&&d!==null&&(d.toLowerCase()==="true"||d.toLowerCase()==="false")&&(d=d.toLowerCase()==="true"),d}function w(d,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const p=l(g),m=Object.create(null);if(typeof d!="string"||(d=d.trim().replace(/^[?#&]/,""),!d))return m;for(const y of d.split("&")){if(y==="")continue;let[C,E]=n(g.decode?y.replace(/\+/g," "):y,"=");E=E===void 0?null:["comma","separator"].includes(g.arrayFormat)?E:f(E,g),p(f(C,g),E,m)}for(const y of Object.keys(m)){const C=m[y];if(typeof C=="object"&&C!==null)for(const E of Object.keys(C))C[E]=S(C[E],g);else m[y]=S(C,g)}return g.sort===!1?m:(g.sort===!0?Object.keys(m).sort():Object.keys(m).sort(g.sort)).reduce((y,C)=>{const E=m[C];return E&&typeof E=="object"&&!Array.isArray(E)?y[C]=h(E):y[C]=E,y},Object.create(null))}e.extract=T,e.parse=w,e.stringify=(d,g)=>{if(!d)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const p=E=>g.skipNull&&c(d[E])||g.skipEmptyString&&d[E]==="",m=s(g),y={};for(const E of Object.keys(d))p(E)||(y[E]=d[E]);const C=Object.keys(y);return g.sort!==!1&&C.sort(g.sort),C.map(E=>{const j=d[E];return j===void 0?"":j===null?u(E,g):Array.isArray(j)?j.reduce(m(E),[]).join("&"):u(E,g)+"="+u(j,g)}).filter(E=>E.length>0).join("&")},e.parseUrl=(d,g)=>{g=Object.assign({decode:!0},g);const[p,m]=n(d,"#");return Object.assign({url:p.split("?")[0]||"",query:w(T(d),g)},g&&g.parseFragmentIdentifier&&m?{fragmentIdentifier:f(m,g)}:{})},e.stringifyUrl=(d,g)=>{g=Object.assign({encode:!0,strict:!0},g);const p=x(d.url).split("?")[0]||"",m=e.extract(d.url),y=e.parse(m,{sort:!1}),C=Object.assign(y,d.query);let E=e.stringify(C,g);E&&(E=`?${E}`);let j=v(d.url);return d.fragmentIdentifier&&(j=`#${u(d.fragmentIdentifier,g)}`),`${p}${E}${j}`},e.pick=(d,g,p)=>{p=Object.assign({parseFragmentIdentifier:!0},p);const{url:m,query:y,fragmentIdentifier:C}=e.parseUrl(d,p);return e.stringifyUrl({url:m,query:o(y,g),fragmentIdentifier:C},p)},e.exclude=(d,g,p)=>{const m=Array.isArray(g)?y=>!g.includes(y):(y,C)=>!g(y,C);return e.pick(d,m,p)}})(Qr)),Qr}var nn=Pu();const Qt=yl,ku={parseNumbers:!1,parseBooleans:!1},Iu={skipNull:!1,skipEmptyString:!1},Ru=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},ku),c),a=Object.assign(Object.assign({},Iu),s),u=Qt.useLocation(),f=(r=Qt.useHistory)===null||r===void 0?void 0:r.call(Qt),h=(n=Qt.useNavigate)===null||n===void 0?void 0:n.call(Qt),x=xl(),v=I.useRef(typeof e=="function"?e():e||{}),T=I.useMemo(()=>nn.parse(u.search,l),[u.search]),S=I.useMemo(()=>Object.assign(Object.assign({},v.current),T),[T]);return[S,Ct(d=>{const g=typeof d=="function"?d(S):d;x(),f&&f[o]({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},u.state),h&&h({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var Et={},Jt={},on={exports:{}},sn={},os;function qi(){if(os)return sn;os=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},e(g)}function t(g,p,m){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function n(g,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(p&&p.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),p&&o(g,p)}function o(g,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,C){return y.__proto__=C,y},o(g,p)}function c(g){var p=a();return function(){var y=u(g),C;if(p){var E=u(this).constructor;C=Reflect.construct(y,arguments,E)}else C=y.apply(this,arguments);return s(this,C)}}function s(g,p){if(p&&(e(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},u(g)}var f={},h,x;function v(g,p,m){m||(m=Error);function y(E,j,P){return typeof p=="string"?p:p(E,j,P)}var C=(function(E){n(P,E);var j=c(P);function P(D,M,U){var $;return r(this,P),$=j.call(this,y(D,M,U)),$.code=g,$}return t(P)})(m);f[g]=C}function T(g,p){if(Array.isArray(g)){var m=g.length;return g=g.map(function(y){return String(y)}),m>2?"one of ".concat(p," ").concat(g.slice(0,m-1).join(", "),", or ")+g[m-1]:m===2?"one of ".concat(p," ").concat(g[0]," or ").concat(g[1]):"of ".concat(p," ").concat(g[0])}else return"of ".concat(p," ").concat(String(g))}function S(g,p,m){return g.substr(0,p.length)===p}function w(g,p,m){return(m===void 0||m>g.length)&&(m=g.length),g.substring(m-p.length,m)===p}function d(g,p,m){return typeof m!="number"&&(m=0),m+p.length>g.length?!1:g.indexOf(p,m)!==-1}return v("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),v("ERR_INVALID_ARG_TYPE",function(g,p,m){h===void 0&&(h=Gn()),h(typeof g=="string","'name' must be a string");var y;typeof p=="string"&&S(p,"not ")?(y="must not be",p=p.replace(/^not /,"")):y="must be";var C;if(w(g," argument"))C="The ".concat(g," ").concat(y," ").concat(T(p,"type"));else{var E=d(g,".")?"property":"argument";C='The "'.concat(g,'" ').concat(E," ").concat(y," ").concat(T(p,"type"))}return C+=". Received type ".concat(e(m)),C},TypeError),v("ERR_INVALID_ARG_VALUE",function(g,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";x===void 0&&(x=or());var y=x.inspect(p);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(m,". Received ").concat(y)},TypeError),v("ERR_INVALID_RETURN_VALUE",function(g,p,m){var y;return m&&m.constructor&&m.constructor.name?y="instance of ".concat(m.constructor.name):y="type ".concat(e(m)),"Expected ".concat(g,' to be returned from the "').concat(p,'"')+" function but got ".concat(y,".")},TypeError),v("ERR_MISSING_ARGS",function(){for(var g=arguments.length,p=new Array(g),m=0;m<g;m++)p[m]=arguments[m];h===void 0&&(h=Gn()),h(p.length>0,"At least one arg needs to be specified");var y="The ",C=p.length;switch(p=p.map(function(E){return'"'.concat(E,'"')}),C){case 1:y+="".concat(p[0]," argument");break;case 2:y+="".concat(p[0]," and ").concat(p[1]," arguments");break;default:y+=p.slice(0,C-1).join(", "),y+=", and ".concat(p[C-1]," arguments");break}return"".concat(y," must be specified")},TypeError),sn.codes=f,sn}var an,ss;function Du(){if(ss)return an;ss=1;function e(_,F){var V=Object.keys(_);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(_);F&&(z=z.filter(function(G){return Object.getOwnPropertyDescriptor(_,G).enumerable})),V.push.apply(V,z)}return V}function t(_){for(var F=1;F<arguments.length;F++){var V=arguments[F]!=null?arguments[F]:{};F%2?e(Object(V),!0).forEach(function(z){r(_,z,V[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(V)):e(Object(V)).forEach(function(z){Object.defineProperty(_,z,Object.getOwnPropertyDescriptor(V,z))})}return _}function r(_,F,V){return F=s(F),F in _?Object.defineProperty(_,F,{value:V,enumerable:!0,configurable:!0,writable:!0}):_[F]=V,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var V=0;V<F.length;V++){var z=F[V];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(_,s(z.key),z)}}function c(_,F,V){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var V=_[Symbol.toPrimitive];if(V!==void 0){var z=V.call(_,F);if(g(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&w(_,F)}function u(_){var F=T();return function(){var z=d(_),G;if(F){var A=d(this).constructor;G=Reflect.construct(z,arguments,A)}else G=z.apply(this,arguments);return f(this,G)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function x(_){var F=typeof Map=="function"?new Map:void 0;return x=function(z){if(z===null||!S(z))return z;if(typeof z!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(z))return F.get(z);F.set(z,G)}function G(){return v(z,arguments,d(this).constructor)}return G.prototype=Object.create(z.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),w(G,z)},x(_)}function v(_,F,V){return T()?v=Reflect.construct.bind():v=function(G,A,R){var N=[null];N.push.apply(N,A);var H=Function.bind.apply(G,N),L=new H;return R&&w(L,R.prototype),L},v.apply(null,arguments)}function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function S(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function w(_,F){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,G){return z.__proto__=G,z},w(_,F)}function d(_){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)},d(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var p=or(),m=p.inspect,y=qi(),C=y.codes.ERR_INVALID_ARG_TYPE;function E(_,F,V){return(V===void 0||V>_.length)&&(V=_.length),_.substring(V-F.length,V)===F}function j(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var V=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,V-_.length),_}var P="",D="",M="",U="",$={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},re=10;function ee(_){var F=Object.keys(_),V=Object.create(Object.getPrototypeOf(_));return F.forEach(function(z){V[z]=_[z]}),Object.defineProperty(V,"message",{value:_.message}),V}function he(_){return m(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function be(_,F,V){var z="",G="",A=0,R="",N=!1,H=he(_),L=H.split(`
|
|
1
|
+
import{r as I,ju as hl,aP as Fo,da as gl,c3 as Bo,db as bl,m as qo,c as Lr,j as i,jv as yl,gy as xl,k as Ct,gt as or,ah as Je,jw as oi,jx as vl,jy as wl,jz as Sl,jA as oo,jB as jl,jC as El,jD as Tl,jE as so,jF as Cl,jG as Pl,iu as kl,jH as Il,dy as Rl,dx as io,cQ as Vn,cP as Dl,eF as Al,jI as Ol,i5 as _l,V as Ce,aS as Le,b6 as dt,jJ as si,H as Me,bB as qe,o as b,ab as ao,aE as ii,eP as ai,d as xt,B,a7 as Ml,bf as Nl,bd as Ll,bq as ft,jK as li,S as Tr,ac as Cr,gu as ci,hJ as Fl,cu as tt,au as ct,fe as Bl,aB as Ue,ch as Lt,al as lo,co as ql,cp as Ul,cq as $l,cr as zl,cv as Fr,J as ke,ay as co,av as Ft,jL as Vl,at as Tt,aY as Vt,aZ as Wt,a2 as ui,cd as ot,cf as ae,ca as Wl,a3 as _e,bR as Pr,a1 as di,a4 as pt,a5 as Rt,M as kt,be as fi,dP as Kl,iF as Br,fb as pi,bF as et,dg as ze,F as sr,aD as mi,aC as Wn,dn as uo,fh as Hl,jM as kr,fQ as Yl,eX as ir,bz as Ve,C as yt,gv as Gl,w as Kn,v as Xl,A as Zl,D as Ql,q as Ye,p as dr,as as fr,bG as qt,jN as Jl,fg as ec,K as tc,fP as hr,ad as rt,ai as rc,jO as nc,dr as oc,jP as hi,jQ as Ir,af as ar,d8 as Uo,c8 as lr,bc as sc,i as gi,ao as ic,iz as ac,fD as fo,fE as bi,fF as po,P as gr,am as Pe,X as lc,d7 as yi,gO as xi,jR as vi,cw as cr,f8 as cc,i7 as wi,az as uc,aA as dc,gG as fc,di as Si,jS as pc,dt as $o,x as mc,W as hc,jT as gc,bI as bc,cx as yc,bt as xc}from"./index-CP8e2zcP.js";import{A as Ut}from"./Add-B-lIYZBc.js";import{V as vc}from"./ViewList-DgyKMmIc.js";import{c as wc,H as mo,g as Sc}from"./index-7TgPZijh.js";import{r as ji}from"./index-D3qtx7de.js";import{O as zo}from"./index-hxHDV4zb.js";import{a as We}from"./team-Bp-ehLS6.js";import{u as Ei}from"./blocklet-D7q_eJsm.js";import{S as Ti}from"./Search-mc0LftDb.js";import{y as qr}from"./index-DX_ig3IR.js";import{u as jc,C as Zt}from"./index.esm-DjcC6_YD.js";import{S as Ec}from"./Google-D9HgkG4U.js";import{A as Tc,a as br}from"./Autocomplete-BHqH72uG.js";import{U as Cc}from"./UnfoldMore-DFA58tLQ.js";import{E as Pc,F as kc}from"./federated-detail-dialog-C93dA_OW.js";import{P as It}from"./permission-D6xGjoP4.js";import{C as Ur}from"./click-to-copy-wk3E32eY.js";import{s as vt,p as Ic,S as Rc,d as ht,q as Ci,f as pr,t as Pi,w as $r,x as ki,y as ho,z as Ii,B as Ri,E as Rr,M as rr,F as Di,G as Vo,H as nr,v as Dc,I as Ac,J as Wo,K as Oc,a as _c,b as Mc,P as Nc,c as Lc,C as Fc,N as Bc,O as Dr,Q as Nt,R as Ar,r as Ko,T as Ho,U as qc,V as Uc,e as go,g as $c,h as zc,W as Vc,j as Wc,X as Kc,Y as Hc,Z as Yc,_ as yr,k as Bt,l as Ai,m as Gc,$ as Hn,n as Oi,a0 as Xc,a1 as Yo,o as Zc,a2 as Qc,a3 as Jc,D as eu,L as tu,A as ru}from"./AdapterDayjs-CXgBZcQU.js";import{u as st}from"./useThemeProps-BWD3Vp6O.js";import{b as Go,a as nu,t as ou,T as su}from"./html-title-DwrWBQUt.js";import{v as Ge}from"./index-8K8V7S7h.js";import{u as iu,V as au}from"./Verified-se8hbTqT.js";import{D as lu}from"./DeleteOutline-CocEa6gq.js";import{V as cu}from"./Visibility-BqBwXDHr.js";import{E as Xo}from"./ErrorOutline-D3nJBXYA.js";import{N as uu}from"./index-G4GuFOuO.js";import{R as _i,b as Er}from"./url-evaluation-BotqjpOW.js";import{b as Yn}from"./sdk-CyaYnqk4.js";import{U as du}from"./actions-DR8B4Taf.js";import{u as Mi}from"./use-mobile-BIorytbM.js";import{D as fu}from"./Delete-CCasVLgy.js";import{A as pu}from"./actions-Zy-oEKVg.js";import{S as mu}from"./shorten-label-j-itDv6J.js";import{U as Zr}from"./ua-parser-D6QF1h5N.js";import{S as hu}from"./simple-select-DApzKMrW.js";const gu=wc(I.useLayoutEffect);var Zo={},Qo;function bu(){return Qo||(Qo=1,(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(p){try{return p.defaultView&&p.defaultView.frameElement||null}catch{return null}}var t=(function(p){for(var m=p,y=e(m);y;)m=y.ownerDocument,y=e(m);return m})(window.document),r=[],n=null,o=null;function c(p){this.time=p.time,this.target=p.target,this.rootBounds=T(p.rootBounds),this.boundingClientRect=T(p.boundingClientRect),this.intersectionRect=T(p.intersectionRect||v()),this.isIntersecting=!!p.intersectionRect;var m=this.boundingClientRect,y=m.width*m.height,C=this.intersectionRect,E=C.width*C.height;y?this.intersectionRatio=Number((E/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(p,m){var y=m||{};if(typeof p!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=p,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(C){return C.value+C.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(p,m){!p||!m?o=v():o=S(p,m),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(p){var m=this._observationTargets.some(function(y){return y.element==p});if(!m){if(!(p&&p.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:p,entry:null}),this._monitorIntersections(p.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(p){this._observationTargets=this._observationTargets.filter(function(m){return m.element!=p}),this._unmonitorIntersections(p.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var p=this._queuedEntries.slice();return this._queuedEntries=[],p},s.prototype._initThresholds=function(p){var m=p||[0];return Array.isArray(m)||(m=[m]),m.sort().filter(function(y,C,E){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==E[C-1]})},s.prototype._parseRootMargin=function(p){var m=p||"0px",y=m.split(/\s+/).map(function(C){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(C);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(p){var m=p.defaultView;if(m&&this._monitoringDocuments.indexOf(p)==-1){var y=this._checkForIntersections,C=null,E=null;this.POLL_INTERVAL?C=m.setInterval(y,this.POLL_INTERVAL):(u(m,"resize",y,!0),u(p,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(E=new m.MutationObserver(y),E.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(p),this._monitoringUnsubscribes.push(function(){var D=p.defaultView;D&&(C&&D.clearInterval(C),f(D,"resize",y,!0)),f(p,"scroll",y,!0),E&&E.disconnect()});var j=this.root&&(this.root.ownerDocument||this.root)||t;if(p!=j){var P=e(p);P&&this._monitorIntersections(P.ownerDocument)}}},s.prototype._unmonitorIntersections=function(p){var m=this._monitoringDocuments.indexOf(p);if(m!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,C=this._observationTargets.some(function(P){var D=P.element.ownerDocument;if(D==p)return!0;for(;D&&D!=y;){var M=e(D);if(D=M&&M.ownerDocument,D==p)return!0}return!1});if(!C){var E=this._monitoringUnsubscribes[m];if(this._monitoringDocuments.splice(m,1),this._monitoringUnsubscribes.splice(m,1),E(),p!=y){var j=e(p);j&&this._unmonitorIntersections(j.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var p=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var m=0;m<p.length;m++)p[m]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var p=this._rootIsInDom(),m=p?this._getRootRect():v();this._observationTargets.forEach(function(y){var C=y.element,E=x(C),j=this._rootContainsTarget(C),P=y.entry,D=p&&j&&this._computeTargetAndRootIntersection(C,E,m),M=null;this._rootContainsTarget(C)?(!n||this.root)&&(M=m):M=v();var U=y.entry=new c({time:l(),target:C,boundingClientRect:E,rootBounds:M,intersectionRect:D});P?p&&j?this._hasCrossedThreshold(P,U)&&this._queuedEntries.push(U):P&&P.isIntersecting&&this._queuedEntries.push(U):this._queuedEntries.push(U)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(p,m,y){if(window.getComputedStyle(p).display!="none"){for(var C=m,E=d(p),j=!1;!j&&E;){var P=null,D=E.nodeType==1?window.getComputedStyle(E):{};if(D.display=="none")return null;if(E==this.root||E.nodeType==9)if(j=!0,E==this.root||E==t)n&&!this.root?!o||o.width==0&&o.height==0?(E=null,P=null,C=null):P=o:P=y;else{var M=d(E),U=M&&x(M),$=M&&this._computeTargetAndRootIntersection(M,U,y);U&&$?(E=M,P=S(U,$)):(E=null,C=null)}else{var re=E.ownerDocument;E!=re.body&&E!=re.documentElement&&D.overflow!="visible"&&(P=x(E))}if(P&&(C=h(P,C)),!C)break;E=E&&d(E)}return C}},s.prototype._getRootRect=function(){var p;if(this.root&&!g(this.root))p=x(this.root);else{var m=g(this.root)?this.root:t,y=m.documentElement,C=m.body;p={top:0,left:0,right:y.clientWidth||C.clientWidth,width:y.clientWidth||C.clientWidth,bottom:y.clientHeight||C.clientHeight,height:y.clientHeight||C.clientHeight}}return this._expandRectByRootMargin(p)},s.prototype._expandRectByRootMargin=function(p){var m=this._rootMarginValues.map(function(C,E){return C.unit=="px"?C.value:C.value*(E%2?p.width:p.height)/100}),y={top:p.top-m[0],right:p.right+m[1],bottom:p.bottom+m[2],left:p.left-m[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(p,m){var y=p&&p.isIntersecting?p.intersectionRatio||0:-1,C=m.isIntersecting?m.intersectionRatio||0:-1;if(y!==C)for(var E=0;E<this.thresholds.length;E++){var j=this.thresholds[E];if(j==y||j==C||j<y!=j<C)return!0}},s.prototype._rootIsInDom=function(){return!this.root||w(t,this.root)},s.prototype._rootContainsTarget=function(p){var m=this.root&&(this.root.ownerDocument||this.root)||t;return w(m,p)&&(!this.root||m==p.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var p=r.indexOf(this);p!=-1&&r.splice(p,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(p,m){var y=null;return function(){y||(y=setTimeout(function(){p(),y=null},m))}}function u(p,m,y,C){typeof p.addEventListener=="function"?p.addEventListener(m,y,C):typeof p.attachEvent=="function"&&p.attachEvent("on"+m,y)}function f(p,m,y,C){typeof p.removeEventListener=="function"?p.removeEventListener(m,y,C):typeof p.detachEvent=="function"&&p.detachEvent("on"+m,y)}function h(p,m){var y=Math.max(p.top,m.top),C=Math.min(p.bottom,m.bottom),E=Math.max(p.left,m.left),j=Math.min(p.right,m.right),P=j-E,D=C-y;return P>=0&&D>=0&&{top:y,bottom:C,left:E,right:j,width:P,height:D}||null}function x(p){var m;try{m=p.getBoundingClientRect()}catch{}return m?(m.width&&m.height||(m={top:m.top,right:m.right,bottom:m.bottom,left:m.left,width:m.right-m.left,height:m.bottom-m.top}),m):v()}function v(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function T(p){return!p||"x"in p?p:{top:p.top,y:p.top,bottom:p.bottom,left:p.left,x:p.left,right:p.right,width:p.width,height:p.height}}function S(p,m){var y=m.top-p.top,C=m.left-p.left;return{top:y,left:C,height:m.height,width:m.width,bottom:y+m.height,right:C+m.width}}function w(p,m){for(var y=m;y;){if(y==p)return!0;y=d(y)}return!1}function d(p){var m=p.parentNode;return p.nodeType==9&&p!=t?e(p):(m&&m.assignedSlot&&(m=m.assignedSlot.parentNode),m&&m.nodeType==11&&m.host?m.host:m)}function g(p){return p&&p.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c})()),Zo}bu();function yu(e,t){var r={},n=r.callback,o=hl(r,["callback"]),c=Fo(I.useState(),2),s=c[0],l=c[1],a=Fo(I.useState(),2),u=a[0],f=a[1];return gl(function(){var h=Array.isArray(e)?e:[e],x=h.map(function(T){return Bo(T)}).filter(Boolean);if(x.length){var v=new IntersectionObserver(function(T){var S,w;try{for(var d=bl(T),g=d.next();!g.done;g=d.next()){var p=g.value;f(p.intersectionRatio),l(p.isIntersecting),n?.(p)}}catch(m){S={error:m}}finally{try{g&&!g.done&&(w=d.return)&&w.call(d)}finally{if(S)throw S.error}}},qo(qo({},o),{root:Bo(void 0)}));return x.forEach(function(T){return v.observe(T)}),function(){v.disconnect()}}},[void 0,void 0,n],e),[s,u]}const xu=Lr(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),zr=Lr([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),vu=Lr(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),wu=Lr(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Ni=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938}),I.createElement("rect",{x:15.313,y:14.063,width:7.5,height:1.875,rx:.938,transform:"rotate(-90 15.313 14.063)"})),Li=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zm0 4.377c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zm10.013-1.9c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04a.56.56 0 0 1 .162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})),Fi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938})),Su=e=>I.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("g",{clipPath:"url(#a)"},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281V14.4a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281V14.4a4.091 4.091 0 0 0-4.092-4.091H7.367z"})),I.createElement("defs",null,I.createElement("clipPath",{id:"a"},I.createElement("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})))),Bi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"}));var Qr={},Jr,Jo;function ju(){return Jo||(Jo=1,Jr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Jr}var en,es;function Eu(){if(es)return en;es=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var x=f[h];s=s.replace(new RegExp(x,"g"),l[x])}return s}return en=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},en}var tn,ts;function Tu(){return ts||(ts=1,tn=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),tn}var rn,rs;function Cu(){return rs||(rs=1,rn=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),rn}var ns;function Pu(){return ns||(ns=1,(function(e){const t=ju(),r=Eu(),n=Tu(),o=Cu(),c=d=>d==null;function s(d){switch(d.arrayFormat){case"index":return g=>(p,m)=>{const y=p.length;return m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[",y,"]"].join("")]:[...p,[u(g,d),"[",u(y,d),"]=",u(m,d)].join("")]};case"bracket":return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[]"].join("")]:[...p,[u(g,d),"[]=",u(m,d)].join("")];case"comma":case"separator":return g=>(p,m)=>m==null||m.length===0?p:p.length===0?[[u(g,d),"=",u(m,d)].join("")]:[[p,u(m,d)].join(d.arrayFormatSeparator)];default:return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,u(g,d)]:[...p,[u(g,d),"=",u(m,d)].join("")]}}function l(d){let g;switch(d.arrayFormat){case"index":return(p,m,y)=>{if(g=/\[(\d*)\]$/.exec(p),p=p.replace(/\[\d*\]$/,""),!g){y[p]=m;return}y[p]===void 0&&(y[p]={}),y[p][g[1]]=m};case"bracket":return(p,m,y)=>{if(g=/(\[\])$/.exec(p),p=p.replace(/\[\]$/,""),!g){y[p]=m;return}if(y[p]===void 0){y[p]=[m];return}y[p]=[].concat(y[p],m)};case"comma":case"separator":return(p,m,y)=>{const C=typeof m=="string"&&m.includes(d.arrayFormatSeparator),E=typeof m=="string"&&!C&&f(m,d).includes(d.arrayFormatSeparator);m=E?f(m,d):m;const j=C||E?m.split(d.arrayFormatSeparator).map(P=>f(P,d)):m===null?m:f(m,d);y[p]=j};default:return(p,m,y)=>{if(y[p]===void 0){y[p]=m;return}y[p]=[].concat(y[p],m)}}}function a(d){if(typeof d!="string"||d.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(d,g){return g.encode?g.strict?t(d):encodeURIComponent(d):d}function f(d,g){return g.decode?r(d):d}function h(d){return Array.isArray(d)?d.sort():typeof d=="object"?h(Object.keys(d)).sort((g,p)=>Number(g)-Number(p)).map(g=>d[g]):d}function x(d){const g=d.indexOf("#");return g!==-1&&(d=d.slice(0,g)),d}function v(d){let g="";const p=d.indexOf("#");return p!==-1&&(g=d.slice(p)),g}function T(d){d=x(d);const g=d.indexOf("?");return g===-1?"":d.slice(g+1)}function S(d,g){return g.parseNumbers&&!Number.isNaN(Number(d))&&typeof d=="string"&&d.trim()!==""?d=Number(d):g.parseBooleans&&d!==null&&(d.toLowerCase()==="true"||d.toLowerCase()==="false")&&(d=d.toLowerCase()==="true"),d}function w(d,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const p=l(g),m=Object.create(null);if(typeof d!="string"||(d=d.trim().replace(/^[?#&]/,""),!d))return m;for(const y of d.split("&")){if(y==="")continue;let[C,E]=n(g.decode?y.replace(/\+/g," "):y,"=");E=E===void 0?null:["comma","separator"].includes(g.arrayFormat)?E:f(E,g),p(f(C,g),E,m)}for(const y of Object.keys(m)){const C=m[y];if(typeof C=="object"&&C!==null)for(const E of Object.keys(C))C[E]=S(C[E],g);else m[y]=S(C,g)}return g.sort===!1?m:(g.sort===!0?Object.keys(m).sort():Object.keys(m).sort(g.sort)).reduce((y,C)=>{const E=m[C];return E&&typeof E=="object"&&!Array.isArray(E)?y[C]=h(E):y[C]=E,y},Object.create(null))}e.extract=T,e.parse=w,e.stringify=(d,g)=>{if(!d)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const p=E=>g.skipNull&&c(d[E])||g.skipEmptyString&&d[E]==="",m=s(g),y={};for(const E of Object.keys(d))p(E)||(y[E]=d[E]);const C=Object.keys(y);return g.sort!==!1&&C.sort(g.sort),C.map(E=>{const j=d[E];return j===void 0?"":j===null?u(E,g):Array.isArray(j)?j.reduce(m(E),[]).join("&"):u(E,g)+"="+u(j,g)}).filter(E=>E.length>0).join("&")},e.parseUrl=(d,g)=>{g=Object.assign({decode:!0},g);const[p,m]=n(d,"#");return Object.assign({url:p.split("?")[0]||"",query:w(T(d),g)},g&&g.parseFragmentIdentifier&&m?{fragmentIdentifier:f(m,g)}:{})},e.stringifyUrl=(d,g)=>{g=Object.assign({encode:!0,strict:!0},g);const p=x(d.url).split("?")[0]||"",m=e.extract(d.url),y=e.parse(m,{sort:!1}),C=Object.assign(y,d.query);let E=e.stringify(C,g);E&&(E=`?${E}`);let j=v(d.url);return d.fragmentIdentifier&&(j=`#${u(d.fragmentIdentifier,g)}`),`${p}${E}${j}`},e.pick=(d,g,p)=>{p=Object.assign({parseFragmentIdentifier:!0},p);const{url:m,query:y,fragmentIdentifier:C}=e.parseUrl(d,p);return e.stringifyUrl({url:m,query:o(y,g),fragmentIdentifier:C},p)},e.exclude=(d,g,p)=>{const m=Array.isArray(g)?y=>!g.includes(y):(y,C)=>!g(y,C);return e.pick(d,m,p)}})(Qr)),Qr}var nn=Pu();const Qt=yl,ku={parseNumbers:!1,parseBooleans:!1},Iu={skipNull:!1,skipEmptyString:!1},Ru=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},ku),c),a=Object.assign(Object.assign({},Iu),s),u=Qt.useLocation(),f=(r=Qt.useHistory)===null||r===void 0?void 0:r.call(Qt),h=(n=Qt.useNavigate)===null||n===void 0?void 0:n.call(Qt),x=xl(),v=I.useRef(typeof e=="function"?e():e||{}),T=I.useMemo(()=>nn.parse(u.search,l),[u.search]),S=I.useMemo(()=>Object.assign(Object.assign({},v.current),T),[T]);return[S,Ct(d=>{const g=typeof d=="function"?d(S):d;x(),f&&f[o]({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},u.state),h&&h({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var Et={},Jt={},on={exports:{}},sn={},os;function qi(){if(os)return sn;os=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},e(g)}function t(g,p,m){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function n(g,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(p&&p.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),p&&o(g,p)}function o(g,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,C){return y.__proto__=C,y},o(g,p)}function c(g){var p=a();return function(){var y=u(g),C;if(p){var E=u(this).constructor;C=Reflect.construct(y,arguments,E)}else C=y.apply(this,arguments);return s(this,C)}}function s(g,p){if(p&&(e(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},u(g)}var f={},h,x;function v(g,p,m){m||(m=Error);function y(E,j,P){return typeof p=="string"?p:p(E,j,P)}var C=(function(E){n(P,E);var j=c(P);function P(D,M,U){var $;return r(this,P),$=j.call(this,y(D,M,U)),$.code=g,$}return t(P)})(m);f[g]=C}function T(g,p){if(Array.isArray(g)){var m=g.length;return g=g.map(function(y){return String(y)}),m>2?"one of ".concat(p," ").concat(g.slice(0,m-1).join(", "),", or ")+g[m-1]:m===2?"one of ".concat(p," ").concat(g[0]," or ").concat(g[1]):"of ".concat(p," ").concat(g[0])}else return"of ".concat(p," ").concat(String(g))}function S(g,p,m){return g.substr(0,p.length)===p}function w(g,p,m){return(m===void 0||m>g.length)&&(m=g.length),g.substring(m-p.length,m)===p}function d(g,p,m){return typeof m!="number"&&(m=0),m+p.length>g.length?!1:g.indexOf(p,m)!==-1}return v("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),v("ERR_INVALID_ARG_TYPE",function(g,p,m){h===void 0&&(h=Gn()),h(typeof g=="string","'name' must be a string");var y;typeof p=="string"&&S(p,"not ")?(y="must not be",p=p.replace(/^not /,"")):y="must be";var C;if(w(g," argument"))C="The ".concat(g," ").concat(y," ").concat(T(p,"type"));else{var E=d(g,".")?"property":"argument";C='The "'.concat(g,'" ').concat(E," ").concat(y," ").concat(T(p,"type"))}return C+=". Received type ".concat(e(m)),C},TypeError),v("ERR_INVALID_ARG_VALUE",function(g,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";x===void 0&&(x=or());var y=x.inspect(p);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(m,". Received ").concat(y)},TypeError),v("ERR_INVALID_RETURN_VALUE",function(g,p,m){var y;return m&&m.constructor&&m.constructor.name?y="instance of ".concat(m.constructor.name):y="type ".concat(e(m)),"Expected ".concat(g,' to be returned from the "').concat(p,'"')+" function but got ".concat(y,".")},TypeError),v("ERR_MISSING_ARGS",function(){for(var g=arguments.length,p=new Array(g),m=0;m<g;m++)p[m]=arguments[m];h===void 0&&(h=Gn()),h(p.length>0,"At least one arg needs to be specified");var y="The ",C=p.length;switch(p=p.map(function(E){return'"'.concat(E,'"')}),C){case 1:y+="".concat(p[0]," argument");break;case 2:y+="".concat(p[0]," and ").concat(p[1]," arguments");break;default:y+=p.slice(0,C-1).join(", "),y+=", and ".concat(p[C-1]," arguments");break}return"".concat(y," must be specified")},TypeError),sn.codes=f,sn}var an,ss;function Du(){if(ss)return an;ss=1;function e(_,F){var V=Object.keys(_);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(_);F&&(z=z.filter(function(G){return Object.getOwnPropertyDescriptor(_,G).enumerable})),V.push.apply(V,z)}return V}function t(_){for(var F=1;F<arguments.length;F++){var V=arguments[F]!=null?arguments[F]:{};F%2?e(Object(V),!0).forEach(function(z){r(_,z,V[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(V)):e(Object(V)).forEach(function(z){Object.defineProperty(_,z,Object.getOwnPropertyDescriptor(V,z))})}return _}function r(_,F,V){return F=s(F),F in _?Object.defineProperty(_,F,{value:V,enumerable:!0,configurable:!0,writable:!0}):_[F]=V,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var V=0;V<F.length;V++){var z=F[V];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(_,s(z.key),z)}}function c(_,F,V){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var V=_[Symbol.toPrimitive];if(V!==void 0){var z=V.call(_,F);if(g(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&w(_,F)}function u(_){var F=T();return function(){var z=d(_),G;if(F){var A=d(this).constructor;G=Reflect.construct(z,arguments,A)}else G=z.apply(this,arguments);return f(this,G)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function x(_){var F=typeof Map=="function"?new Map:void 0;return x=function(z){if(z===null||!S(z))return z;if(typeof z!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(z))return F.get(z);F.set(z,G)}function G(){return v(z,arguments,d(this).constructor)}return G.prototype=Object.create(z.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),w(G,z)},x(_)}function v(_,F,V){return T()?v=Reflect.construct.bind():v=function(G,A,R){var N=[null];N.push.apply(N,A);var H=Function.bind.apply(G,N),L=new H;return R&&w(L,R.prototype),L},v.apply(null,arguments)}function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function S(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function w(_,F){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,G){return z.__proto__=G,z},w(_,F)}function d(_){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)},d(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var p=or(),m=p.inspect,y=qi(),C=y.codes.ERR_INVALID_ARG_TYPE;function E(_,F,V){return(V===void 0||V>_.length)&&(V=_.length),_.substring(V-F.length,V)===F}function j(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var V=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,V-_.length),_}var P="",D="",M="",U="",$={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},re=10;function ee(_){var F=Object.keys(_),V=Object.create(Object.getPrototypeOf(_));return F.forEach(function(z){V[z]=_[z]}),Object.defineProperty(V,"message",{value:_.message}),V}function he(_){return m(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function be(_,F,V){var z="",G="",A=0,R="",N=!1,H=he(_),L=H.split(`
|
|
2
2
|
`),q=he(F).split(`
|
|
3
3
|
`),X=0,ne="";if(V==="strictEqual"&&g(_)==="object"&&g(F)==="object"&&_!==null&&F!==null&&(V="strictEqualObject"),L.length===1&&q.length===1&&L[0]!==q[0]){var fe=L[0].length+q[0].length;if(fe<=re){if((g(_)!=="object"||_===null)&&(g(F)!=="object"||F===null)&&(_!==0||F!==0))return"".concat($[V],`
|
|
4
4
|
|