@abtnode/blocklet-services 1.16.33-beta-20241108-105022-266cd380 → 1.16.33-beta-20241112-051238-c5de53cb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/middlewares/verify-sig.js +3 -0
- package/api/services/studio/index.js +10 -1
- package/dist/assets/{Add-D1b24h2C.js → Add-Cd_yQvQe.js} +1 -1
- package/dist/assets/{Alert-BQX_mYKK.js → Alert-BgBLV6hC.js} +1 -1
- package/dist/assets/{ArrowDropDown-CtY4f_6-.js → ArrowDropDown-CeFOQ6ru.js} +1 -1
- package/dist/assets/{Autocomplete-B8Nz_Pg9.js → Autocomplete-BRtfwRO2.js} +1 -1
- package/dist/assets/{Avatar-CZVIW9W4.js → Avatar-Bzc__GA_.js} +1 -1
- package/dist/assets/{ButtonGroup-NJAfDniA.js → ButtonGroup-DAIb8pi6.js} +1 -1
- package/dist/assets/{CSSTransition-DPu7hVaF.js → CSSTransition-1UY_Mwt7.js} +1 -1
- package/dist/assets/{CheckCircle-ClSMXBOP.js → CheckCircle-IWhJv4la.js} +1 -1
- package/dist/assets/{ChevronLeft-DgAFm-Gf.js → ChevronLeft-CMXpPaq0.js} +1 -1
- package/dist/assets/{ChevronRight-CSSyqQil.js → ChevronRight-1pvZRENi.js} +1 -1
- package/dist/assets/{Close-B0nabKwE.js → Close-DWpPuChw.js} +1 -1
- package/dist/assets/{Delete-B8S8LZmV.js → Delete-BSI8Q371.js} +1 -1
- package/dist/assets/{DeleteOutline-GMT7pXpg.js → DeleteOutline-8gmR0Wq-.js} +1 -1
- package/dist/assets/{DialogContentText-y_0HIwxq.js → DialogContentText-B9WAOpef.js} +1 -1
- package/dist/assets/{Done-dTmNtnR9.js → Done-AODcJj52.js} +1 -1
- package/dist/assets/{Download-CAOtDt4Y.js → Download-VqkvNccN.js} +1 -1
- package/dist/assets/{EditIcon-9Iv4a6S6.js → EditIcon-BBATg6Wa.js} +1 -1
- package/dist/assets/{Error-crhyvWwD.js → Error-CwjuSTRm.js} +1 -1
- package/dist/assets/{ExpandMore-BeTREEh4.js → ExpandMore-BEakKpHd.js} +1 -1
- package/dist/assets/{FormControl-BgufkNqy.js → FormControl-82jQTtg3.js} +1 -1
- package/dist/assets/{FormControlLabel-BGYw4cxF.js → FormControlLabel-CrpKBV25.js} +1 -1
- package/dist/assets/{FormGroup-ftMzhStq.js → FormGroup-CJBWhw2i.js} +1 -1
- package/dist/assets/{Google-CUxk9zex.js → Google-B3uiV2re.js} +1 -1
- package/dist/assets/{Grid-ByEv6TKi.js → Grid-CkrjUgJL.js} +1 -1
- package/dist/assets/{HelpOutline-gqc5t8GX.js → HelpOutline-B3Jz-uVv.js} +1 -1
- package/dist/assets/{Hidden-D2bPVc-Z.js → Hidden-WTda9E-U.js} +1 -1
- package/dist/assets/{InfoOutlined-CO_EvieX.js → InfoOutlined-X5X9DQJQ.js} +1 -1
- package/dist/assets/{InputAdornment-xdqfqU-t.js → InputAdornment-DWWAfgbh.js} +1 -1
- package/dist/assets/{LastPage-LleEi5ij.js → LastPage-BymLqQUe.js} +1 -1
- package/dist/assets/{Launch-cEuhc1Jw.js → Launch-ClPukciP.js} +1 -1
- package/dist/assets/{LaunchOutlined-CCsKompg.js → LaunchOutlined-h_thaRLZ.js} +1 -1
- package/dist/assets/{Link-BnwyStJD.js → Link-Bzz0LqwB.js} +1 -1
- package/dist/assets/{ListItemButton-BqEaHAjp.js → ListItemButton-B78E6KUX.js} +1 -1
- package/dist/assets/{ListSubheader-PoABAZS8.js → ListSubheader-BZvXwNSj.js} +1 -1
- package/dist/assets/{LoadingButton-_e9ZmSts.js → LoadingButton-hJGh9iD9.js} +1 -1
- package/dist/assets/{LockIcon-BWxqR8Xa.js → LockIcon-BTawnRcA.js} +1 -1
- package/dist/assets/{Loop-C1LJP15T.js → Loop-Bo_Vefvf.js} +1 -1
- package/dist/assets/{MarkEmailRead--oLpgRuK.js → MarkEmailRead-DlhVBNgW.js} +1 -1
- package/dist/assets/{Menu-C6ClxI8R.js → Menu-Bax38HCU.js} +1 -1
- package/dist/assets/{MoreHoriz-35xRvcur.js → MoreHoriz-YNKbW1C6.js} +1 -1
- package/dist/assets/{MoreVert-3qdVPLsP.js → MoreVert-Br_17wo6.js} +1 -1
- package/dist/assets/{OpenInNew-DTWztApy.js → OpenInNew-Cyk2AJha.js} +1 -1
- package/dist/assets/{Pagination-Byqc1LFt.js → Pagination-B2Gem_Xs.js} +1 -1
- package/dist/assets/{PlayArrow-Cm-QOoAu.js → PlayArrow-p8AyTcZ9.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-d1Ebd_H9.js → QuestionMarkCircle-CTDkWFD_.js} +1 -1
- package/dist/assets/{RadioGroup-Cni7TXcD.js → RadioGroup-CR_F7i1o.js} +1 -1
- package/dist/assets/{Search-jkInhIDL.js → Search-BG4Errw8.js} +1 -1
- package/dist/assets/{Select-DpoUFNPr.js → Select-t6kEf6gX.js} +1 -1
- package/dist/assets/{ServerLogo-YXLt5ISs.js → ServerLogo-BKntChh3.js} +1 -1
- package/dist/assets/{Skeleton-CwJc9kSo.js → Skeleton-cU8Nm0cO.js} +1 -1
- package/dist/assets/{Slider-OczkbKo7.js → Slider-CrFocuUu.js} +1 -1
- package/dist/assets/{Stack-tyHLs2nq.js → Stack-dDvED7m9.js} +1 -1
- package/dist/assets/{Stepper-DOTgGwGo.js → Stepper-Meb_6nT3.js} +1 -1
- package/dist/assets/{TextField-ExXHASMC.js → TextField-s78RmNlv.js} +1 -1
- package/dist/assets/{Toolbar-B24K0pP-.js → Toolbar-zdHHE27P.js} +1 -1
- package/dist/assets/{ViewColumn-WqJnmiSU.js → ViewColumn-DE_IxWqF.js} +1 -1
- package/dist/assets/{ViewList-D6RnIIAe.js → ViewList-CWOfhXR6.js} +1 -1
- package/dist/assets/{_createAggregator-CSHIra2n.js → _createAggregator-IgJV4bh3.js} +1 -1
- package/dist/assets/{access-control-CDT_Qjlo.js → access-control-Bqjiaqze.js} +1 -1
- package/dist/assets/{actions-LaK2FbCC.js → actions-B2hCfScN.js} +1 -1
- package/dist/assets/{add-component-core-BjyU3n3N.js → add-component-core-DNd7TAcA.js} +1 -1
- package/dist/assets/add-resource-CZiNYpZh.js +1 -0
- package/dist/assets/{addon-BSIcb_bw.js → addon-jt36mFib.js} +1 -1
- package/dist/assets/{analytics-Cngi1VA7.js → analytics-Cbu66nUy.js} +2 -2
- package/dist/assets/api-BiuVf1WQ.js +1 -0
- package/dist/assets/{ar-C78wXjK2.js → ar-CtJ3rdNY.js} +1 -1
- package/dist/assets/{audit-logs-D4W2vZGJ.js → audit-logs-D6lJ50eO.js} +1 -1
- package/dist/assets/{base32-CG6eSal8.js → base32-DxhCbQKu.js} +1 -1
- package/dist/assets/branding-BZpnyEWi.js +37 -0
- package/dist/assets/{bundle-avatar-C8-NjDQW.js → bundle-avatar-BjGriDIQ.js} +1 -1
- package/dist/assets/{button-DkuvN0wn.js → button-BWm4R7Kl.js} +1 -1
- package/dist/assets/{click-to-copy-Dzo_hSC7.js → click-to-copy-BmTNOg5J.js} +1 -1
- package/dist/assets/{complete-yykC_TCD.js → complete-DSKpvr_Y.js} +1 -1
- package/dist/assets/{component-DpbEJTFD.js → component-B186ZTRa.js} +1 -1
- package/dist/assets/{config-CcNVBsZ2.js → config-BeiBg_8j.js} +1 -1
- package/dist/assets/{config-Dq8WqIIS.js → config-DfJIRYEM.js} +1 -1
- package/dist/assets/{config-navigation-BAUysRmy.js → config-navigation-q5CU6Sbw.js} +5 -5
- package/dist/assets/config-space-DrnHxEkP.js +1 -0
- package/dist/assets/{confirm-Bst90PE4.js → confirm-GSIYdESI.js} +1 -1
- package/dist/assets/{connect-CXUPCbFy.js → connect-CvddT785.js} +1 -1
- package/dist/assets/{connect-C3TLeSd2.js → connect-DIlMnhLj.js} +1 -1
- package/dist/assets/connect-to-CaViA3hM.js +1 -0
- package/dist/assets/{content-layout-3ZZR8o8W.js → content-layout-CxbmE7-7.js} +1 -1
- package/dist/assets/{dashboard-BFXPVlTr.js → dashboard-DyVoELt9.js} +10 -10
- package/dist/assets/{de-DQ8SQ6Hy.js → de-DTnxq-W9.js} +1 -1
- package/dist/assets/{deprecate-zRAAntjP.js → deprecate-D0mJf8oc.js} +1 -1
- package/dist/assets/{did-address-C5wbfJu1.js → did-address-Bby2RNcx.js} +1 -1
- package/dist/assets/{domain-wTx2ySbZ.js → domain-BLGO1DTd.js} +1 -1
- package/dist/assets/{domain-list-B3STE3xp.js → domain-list-DQG8fDJh.js} +1 -1
- package/dist/assets/{email-jFdVx0rF.js → email-C0Hq6f-g.js} +3 -3
- package/dist/assets/emotion-cache.browser.esm-DjPCfq9u.js +1 -0
- package/dist/assets/{es-CyBN_iEY.js → es-C4ZuLuhd.js} +1 -1
- package/dist/assets/{exchange-passport-BhyGCja3.js → exchange-passport-BVPEPLbN.js} +1 -1
- package/dist/assets/{fallback-DYm2eQ_8.js → fallback-rUt_HJGx.js} +1 -1
- package/dist/assets/{form-text-input-CqR55KJe.js → form-text-input-BaTWUq88.js} +1 -1
- package/dist/assets/{format-error-zcoEKeqV.js → format-error-Bc6CM-TT.js} +1 -1
- package/dist/assets/{fr-CwEK7z3p.js → fr-DNHpAWrr.js} +1 -1
- package/dist/assets/{fuel-DvClmssM.js → fuel-DK2vvTEO.js} +1 -1
- package/dist/assets/{fullpage-Co_e0e0B.js → fullpage-DtHtzjcT.js} +1 -1
- package/dist/assets/{hi-CZoxQZ3r.js → hi-C4EqqsrC.js} +1 -1
- package/dist/assets/{home-BWkkUB7W.js → home-W867lKeB.js} +1 -1
- package/dist/assets/{id-CEtjLsgM.js → id-AvsOIq--.js} +1 -1
- package/dist/assets/{iframe-CxEHSM2a.js → iframe-DPaeBnez.js} +1 -1
- package/dist/assets/index--RjOSJ8x.js +6 -0
- package/dist/assets/index-B2yEBdej.js +102 -0
- package/dist/assets/{index-D9JHIwyT.js → index-B6387zjC.js} +1 -1
- package/dist/assets/{index-BaHNGoYq.js → index-BCr770UP.js} +1 -1
- package/dist/assets/{index-Iilpb1w3.js → index-BEP66QsY.js} +1 -1
- package/dist/assets/{index-O1LdcLGJ.js → index-BGgqHhcG.js} +1 -1
- package/dist/assets/index-BJTwOzGn.js +544 -0
- package/dist/assets/{index-DbHZUu86.js → index-BPOzbYSY.js} +1 -1
- package/dist/assets/{index-DJVbN6XR.js → index-BQZUyGwO.js} +1 -1
- package/dist/assets/{index-B4WeaDPZ.js → index-BauHu14u.js} +1 -1
- package/dist/assets/{index-D1GHK31x.js → index-Bi0iOns_.js} +1 -1
- package/dist/assets/{index-xn1-iBAc.js → index-Bnwdlerj.js} +1 -1
- package/dist/assets/{index-DBKQXsCe.js → index-BtN1LIrs.js} +1 -1
- package/dist/assets/{index-CqU3uv11.js → index-BzlhY5_d.js} +1 -1
- package/dist/assets/{index-B7WSZrX4.js → index-C8DY2onD.js} +3 -3
- package/dist/assets/{index-BoYQxNvz.js → index-CVEM3TuK.js} +1 -1
- package/dist/assets/{index-CQjjZ9D3.js → index-CiaKP1wg.js} +1 -1
- package/dist/assets/{index-jzqdpu4B.js → index-CnHRdli2.js} +1 -1
- package/dist/assets/{index-CWk3DsIq.js → index-D-auaVCs.js} +1 -1
- package/dist/assets/{index-31nbUtvf.js → index-D6bfKhZM.js} +1 -1
- package/dist/assets/{index-Cpcj45rd.js → index-DRzKRjCD.js} +62 -62
- package/dist/assets/{index-LH7XB4c1.js → index-DaQR6D_l.js} +1 -1
- package/dist/assets/index-DjCouQyF.js +4 -0
- package/dist/assets/{index-DaeMoett.js → index-DrM_ezQx.js} +1 -1
- package/dist/assets/{index-DpxcwASI.js → index-DsL0Ko7_.js} +1 -1
- package/dist/assets/{index-CLDXLIWr.js → index-DtP7NUcy.js} +19 -19
- package/dist/assets/{index-BGYwRIJ2.js → index-DzzyQGbq.js} +6 -6
- package/dist/assets/{index-Do-0aath.js → index-J1H6ls_I.js} +1 -1
- package/dist/assets/{index-jt9tbPDg.js → index-MEVf3Aeu.js} +1 -1
- package/dist/assets/{index-BwVo4eBB.js → index-MkOVx5FE.js} +1 -1
- package/dist/assets/{index-DQQ_S9kF.js → index-OnKrl2ZE.js} +1 -1
- package/dist/assets/{index-Dr2Mtdy2.js → index-UAlHquNF.js} +1 -1
- package/dist/assets/{index-CN-LUXv5.js → index-eYkz8m-Q.js} +1 -1
- package/dist/assets/{index-BWka1Lo8.js → index-qH-F6JYK.js} +3 -3
- package/dist/assets/{invitation-DDU-JTPq.js → invitation-BufrlB5a.js} +1 -1
- package/dist/assets/{invite-CXprXS6i.js → invite-CQtBbv_t.js} +1 -1
- package/dist/assets/{isEmail-Cq5ywVNL.js → isEmail-3Zd48MeT.js} +1 -1
- package/dist/assets/{issue-passport-Dx8J7LJs.js → issue-passport-C-9NIisn.js} +1 -1
- package/dist/assets/{item-1n-Obvap.js → item-Dlp5zxq6.js} +1 -1
- package/dist/assets/{ja-COJhuCqY.js → ja-q3zHjY57.js} +1 -1
- package/dist/assets/{jss-plugin-props-sort.esm-BFA_sJBd.js → jss-plugin-props-sort.esm-Dvv58J-X.js} +1 -1
- package/dist/assets/{ko-BGk_oSHx.js → ko-C7jqVqFn.js} +1 -1
- package/dist/assets/{launch-result-message-BKX39E3Q.js → launch-result-message-CcI5Ceh7.js} +1 -1
- package/dist/assets/{layout-2ilZJfm5.js → layout-BfoSJvAq.js} +1 -1
- package/dist/assets/{list-header-DEuvOwZm.js → list-header-C3FjG628.js} +1 -1
- package/dist/assets/localization-CNdVP5gD.js +1 -0
- package/dist/assets/{log-DmSR12UC.js → log-BFEIM6TS.js} +1 -1
- package/dist/assets/{login-DJyrnkUG.js → login-B0jG3xQG.js} +1 -1
- package/dist/assets/{login-oauth-callback-BVzGAgBu.js → login-oauth-callback-I3zl71wM.js} +1 -1
- package/dist/assets/{logo-uploader-BZLXFEM6.js → logo-uploader-DtR7gZMM.js} +3 -3
- package/dist/assets/{lost-passport-CsA6xO2h.js → lost-passport-CyGL-w0Y.js} +3 -3
- package/dist/assets/{lottie-react.esm-CbkKea8x.js → lottie-react.esm-DhfYeSRD.js} +1 -1
- package/dist/assets/{notifications-BD-_TAYM.js → notifications-BjZUCDZG.js} +1 -1
- package/dist/assets/{open-window-CgI-G8RY.js → open-window-BkcfDs6V.js} +1 -1
- package/dist/assets/{overview-D7Ba5KkA.js → overview-BQND0MfO.js} +1 -1
- package/dist/assets/{page-header-BztuQfIc.js → page-header-DwhrTE7U.js} +1 -1
- package/dist/assets/{permission-B7T41iuZ.js → permission-CMRIp6F9.js} +2 -2
- package/dist/assets/{preferences-CGUMh_y3.js → preferences-B96z6lBP.js} +1 -1
- package/dist/assets/{pt-hoTFzj_f.js → pt-BYSRNs9a.js} +1 -1
- package/dist/assets/publish-resource-TYh15efo.js +1 -0
- package/dist/assets/{raf-schd.esm-DQpWk2ID.js → raf-schd.esm-C6_EFLy1.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-Bg00PgH1.js → react-beautiful-dnd.esm-D5ecUPaU.js} +1 -1
- package/dist/assets/refType-B8imiZ6t.js +1 -0
- package/dist/assets/{resource-dialog-oLWtjFw9.js → resource-dialog-BBe0xDNe.js} +1 -1
- package/dist/assets/{ru-GY38BU_Y.js → ru-CsOHpt2l.js} +1 -1
- package/dist/assets/sdk-CZ-wE_Vi.js +1 -0
- package/dist/assets/{selector-D75xbVNs.js → selector-C9jeovPf.js} +1 -1
- package/dist/assets/session-DfpwMmuI.js +1 -0
- package/dist/assets/setup-BQJo5Z8K.js +19 -0
- package/dist/assets/{shorten-label-95kRH9My.js → shorten-label-6WFrxjkO.js} +1 -1
- package/dist/assets/{simple-select-BDtYVNDo.js → simple-select-Bh_v-Epg.js} +1 -1
- package/dist/assets/{slicedToArray-CnAQRO6y.js → slicedToArray-HWVo_4B4.js} +1 -1
- package/dist/assets/{start-Dx-J9oZM.js → start-Bih3j77m.js} +1 -1
- package/dist/assets/{step-actions-DHGDcg4f.js → step-actions-CrkQp65X.js} +1 -1
- package/dist/assets/{studio-BFAhRQYo.js → studio-Cv3T895E.js} +1 -1
- package/dist/assets/{switch-control-DMZxmV5h.js → switch-control-C31P3v9z.js} +1 -1
- package/dist/assets/{th-SRt9Aure.js → th-BCnUBKkm.js} +1 -1
- package/dist/assets/{toUpper-C6Pk29N9.js → toUpper-Dy4nnXsO.js} +1 -1
- package/dist/assets/{transfer-D7vWdeJz.js → transfer-D1GdAbb6.js} +1 -1
- package/dist/assets/{trim-CoIWX0qj.js → trim-CKpLHvMJ.js} +1 -1
- package/dist/assets/{uniqBy-BCr2VIxS.js → uniqBy-Cs2iNcx6.js} +1 -1
- package/dist/assets/{unsubscribe-MpT91ec7.js → unsubscribe-80FFQBrb.js} +1 -1
- package/dist/assets/{url-join-BHr3fLxq.js → url-join-CTDYtsp9.js} +1 -1
- package/dist/assets/{use-mobile-xkdfJLrW.js → use-mobile-DLwLhT7I.js} +1 -1
- package/dist/assets/{use-mobile-BNHy4X3p.js → use-mobile-DxNVqJxy.js} +1 -1
- package/dist/assets/{useAsync-BkL7KkDp.js → useAsync-CTA9HE_h.js} +1 -1
- package/dist/assets/{useFormControl-DmdM9XjQ.js → useFormControl-9xROUYKu.js} +1 -1
- package/dist/assets/{useLocalStorage-CQXvDKwD.js → useLocalStorage-BCBKuIiQ.js} +1 -1
- package/dist/assets/{useSetState-CvxpkYB6.js → useSetState-BWT8Wg2y.js} +1 -1
- package/dist/assets/{useSlot-C0VaVKX8.js → useSlot-B1Hk4mVb.js} +1 -1
- package/dist/assets/{useSlotProps-D25PFONA.js → useSlotProps-CYoC4G_o.js} +1 -1
- package/dist/assets/{useThemeProps-C9REtDKX.js → useThemeProps-BpYINYlz.js} +1 -1
- package/dist/assets/{user-center-BlJ8ubre.js → user-center-LcnE7R7X.js} +1 -1
- package/dist/assets/{user-sessions-p5w4GorO.js → user-sessions-BYtoaexg.js} +1 -1
- package/dist/assets/{util-CRpGHFlb.js → util-C35SfsdU.js} +1 -1
- package/dist/assets/{vi-DJ6rWAfj.js → vi-DmMnMC8q.js} +1 -1
- package/dist/assets/wrap-locale-CBIuVXI7.js +1 -0
- package/dist/assets/{zh-DCTfg4U1.js → zh-BVNmvgRl.js} +1 -1
- package/dist/assets/{zh-tw-Cd2Czsn6.js → zh-tw-DzMqfDGC.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +37 -37
- package/dist/assets/add-resource-BGaKRgvh.js +0 -1
- package/dist/assets/api-WvnjspXU.js +0 -1
- package/dist/assets/branding-DLypGD3X.js +0 -37
- package/dist/assets/connect-to-DRlYmNA0.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-DUnD1U-l.js +0 -1
- package/dist/assets/index-BVjelVjV.js +0 -544
- package/dist/assets/index-Bt4_QNc0.js +0 -4
- package/dist/assets/index-CMaQNm5I.js +0 -1
- package/dist/assets/index-NBbc-nqN.js +0 -102
- package/dist/assets/localization-DmADe8nj.js +0 -1
- package/dist/assets/publish-resource-CxT2YQfV.js +0 -1
- package/dist/assets/refType-BLddy3qS.js +0 -1
- package/dist/assets/sdk-CaGwd5_2.js +0 -1
- package/dist/assets/session-DSFe9JNg.js +0 -1
- package/dist/assets/setup-GMy_zhkY.js +0 -19
- package/dist/assets/spaces-Bh7-Ra1u.js +0 -1
- package/dist/assets/use-blocklet-info-for-connect-did-spaces-CS77R_yG.js +0 -1
- package/dist/assets/wrap-locale-Cml2-uON.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,T as i,P as e,dG as f,fx as c,bv as u}from"./index-
|
|
1
|
+
import{j as r,T as i,P as e,dG as f,fx as c,bv as u}from"./index-DRzKRjCD.js";function l({name:t,nameFormatter:o,layout:a,children:n,valueComponent:s,nameWidth:m,...p}){return r.jsxs(d,{layout:a,width:m,...p,children:[r.jsx(i,{color:"textSecondary",className:"info-row__name",children:o(t)}),n&&r.jsx(i,{color:"textPrimary",component:s,className:"info-row__value",children:n})]})}l.propTypes={name:e.any.isRequired,layout:e.oneOf(["horizontal","vertical"]),children:e.any,nameFormatter:e.func,valueComponent:e.string,nameWidth:e.number};l.defaultProps={children:null,nameWidth:90,nameFormatter:t=>{const o=t.split(" ").map(a=>f(c(a))).join(" ");return typeof t=="string"?o:t},valueComponent:"div",layout:"horizontal"};const d=u("div")`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${t=>t.layout==="vertical"?"column":"row"};
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{r as h,a2 as g,a_ as y,j as t,C as P,n as v,B as c,a3 as d,P as m,a0 as w}from"./index-DRzKRjCD.js";import{P as T}from"./page-header-DwhrTE7U.js";import{u as B}from"./config-space-DrnHxEkP.js";import{C as E,D,a as N}from"./connect-to-CaViA3hM.js";import{S as u}from"./step-actions-CrkQp65X.js";import{S as b}from"./layout-BfoSJvAq.js";import"./index-DrM_ezQx.js";import"./api-BiuVf1WQ.js";import"./index-UAlHquNF.js";import"./OpenInNew-Cyk2AJha.js";import"./Stack-dDvED7m9.js";import"./Link-Bzz0LqwB.js";import"./Skeleton-cU8Nm0cO.js";import"./HelpOutline-B3Jz-uVv.js";import"./index-B6387zjC.js";import"./ExpandMore-BEakKpHd.js";import"./ButtonGroup-DAIb8pi6.js";import"./DialogContentText-B9WAOpef.js";import"./TextField-s78RmNlv.js";import"./FormControl-82jQTtg3.js";import"./useFormControl-9xROUYKu.js";import"./Select-t6kEf6gX.js";import"./DeleteOutline-8gmR0Wq-.js";import"./format-error-Bc6CM-TT.js";import"./content-layout-CxbmE7-7.js";function l({onNext:a,onPrevious:x}){var n,r,p;const{t:i}=h.useContext(g),{blocklet:e}=y(),{spaceGateway:C,settingStorageEndpoint:j,updateSpaceGateway:f,hasStorageEndpoint:S,loading:o,storageEndpoint:s}=B();return o?t.jsx(P,{relative:"parent",children:t.jsx(v,{})}):t.jsxs(G,{children:[t.jsx("div",{className:"header",children:t.jsx(T,{title:i("setup.didSpace.title"),subTitle:i("setup.didSpace.subTitle"),onClickBack:x})}),t.jsx(c,{sx:{width:"100%",maxWidth:"720px"},children:S?t.jsx(E,{spaceGateway:C,settingStorageEndpoint:j}):t.jsx(D,{})}),((n=e==null?void 0:e.capabilities)==null?void 0:n.didSpace)&&t.jsx(c,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"24px",children:t.jsx(N,{onConnect:f,storageEndpoint:s})}),((r=e==null?void 0:e.capabilities)==null?void 0:r.didSpace)==="required"&&t.jsx(u,{mt:8,children:t.jsx(d,{loading:o,variant:"contained",disabled:o||!s,onClick:()=>a(),children:i("setup.continue")})}),((p=e==null?void 0:e.capabilities)==null?void 0:p.didSpace)==="optional"&&t.jsx(u,{blocklet:e,onStartNow:()=>a("complete"),children:t.jsx(d,{className:"start-now",loading:o,variant:"contained",disabled:o,onClick:()=>a(),children:i(s?"setup.continue":"setup.skip")})})]})}l.propTypes={onNext:m.func,onPrevious:m.func};l.defaultProps={onNext:()=>{},onPrevious:()=>{}};const G=w(b)`
|
|
2
|
+
height: 100%;
|
|
3
|
+
overflow-y: auto;
|
|
4
|
+
`;export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b9 as a}from"./index-
|
|
1
|
+
import{b9 as a}from"./index-DRzKRjCD.js";var e=i,s=/^(?:\w+:)?\/\/(\S+)$/,l=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/;function i(t){if(typeof t!="string")return!1;var o=t.match(s);if(!o)return!1;var r=o[1];return r?!!(l.test(r)||n.test(r)):!1}const c=a(e);export{c as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as H,j as i,g7 as ti,l as pr,g8 as ri,eM as vn,c7 as bn,f3 as Tt,g9 as pt,f2 as Ce,ga as ni,gb as xn,gc as wn,gd as ii,ge as oi,gf as jn,gg as dr,gh as ai,gi as si,gj as ci,gk as li,eX as rr,b9 as ui,co as qr,eZ as fi,aa as pi,aR as Re,u as ke,Q as En,B as se,aV as Et,A as Sn,D as di,T as Le,gl as mr,ah as Je,aw as Ze,a3 as Se,n as it,P as B,bC as mi,cs as nr,N as hi,f6 as gi,a0 as De,de as yi,a2 as mt,bn as Qe,t as $e,gm as vi,ac as Xe,dG as bi,a_ as Pn,G as Ee,a as dt,c as ir,b as xi,bF as wi,gn as On,bL as An,aX as ji,Z as Ei,$ as Si,bQ as Rn,m as Pi,aE as Oi,bH as Ai}from"./index-Cpcj45rd.js";import{c as Ri}from"./index-DbHZUu86.js";import{d as St}from"./Add-D1b24h2C.js";import{d as Ii}from"./Loop-C1LJP15T.js";import{d as _i}from"./ViewList-D6RnIIAe.js";import{L as Ci,S as Ti,d as In}from"./list-header-DEuvOwZm.js";import{D as _n,g as Ni}from"./index-DJVbN6XR.js";import"./index-DBKQXsCe.js";import"./index-jt9tbPDg.js";import{j as Cn}from"./resource-dialog-oLWtjFw9.js";import{T as Di}from"./index-B4WeaDPZ.js";import{E as Tn}from"./index-DQQ_S9kF.js";import"./fallback-DYm2eQ_8.js";import"./index-CqU3uv11.js";import{d as Ui,U as Li}from"./user-sessions-p5w4GorO.js";import{u as qe,d as Kr,W as Nn,a as ki}from"./dashboard-BFXPVlTr.js";import{W as Pt}from"./did-address-C5wbfJu1.js";import{P as Fe}from"./permission-B7T41iuZ.js";import{C as Nt}from"./click-to-copy-Dzo_hSC7.js";import{F as or}from"./FormControl-BgufkNqy.js";import{d as ar,S as sr}from"./Select-DpoUFNPr.js";import{T as Ot}from"./TextField-ExXHASMC.js";import{D as hr}from"./DialogContentText-y_0HIwxq.js";import{A as nt}from"./Alert-BQX_mYKK.js";import{f as Me}from"./format-error-zcoEKeqV.js";import{_ as qi}from"./useAsync-BkL7KkDp.js";import{I as cr}from"./index-LH7XB4c1.js";import{d as Ki}from"./DeleteOutline-GMT7pXpg.js";import{C as ht}from"./confirm-Bst90PE4.js";import{u as gr}from"./session-DSFe9JNg.js";import{N as Bi}from"./index-NBbc-nqN.js";import{a as Fi}from"./uniqBy-BCr2VIxS.js";import{b as $i}from"./sdk-CaGwd5_2.js";import{A as Mi}from"./Avatar-CZVIW9W4.js";import{d as zi,L as Wi,a as Vi}from"./Delete-B8S8LZmV.js";import{p as Hi}from"./index-Do-0aath.js";import{A as Gi}from"./actions-LaK2FbCC.js";import{S as Yi}from"./shorten-label-95kRH9My.js";import{F as Zi}from"./FormControlLabel-BGYw4cxF.js";import{C as Xi}from"./MoreVert-3qdVPLsP.js";import"./Search-jkInhIDL.js";import"./useThemeProps-C9REtDKX.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-DUnD1U-l.js";import"./index-CQjjZ9D3.js";import"./redux-CluOqhW1.js";import"./ViewColumn-WqJnmiSU.js";import"./useFormControl-DmdM9XjQ.js";import"./FormGroup-ftMzhStq.js";import"./Grid-ByEv6TKi.js";import"./LastPage-LleEi5ij.js";import"./Toolbar-B24K0pP-.js";import"./index-CLDXLIWr.js";import"./Menu-C6ClxI8R.js";import"./Hidden-D2bPVc-Z.js";import"./ExpandMore-BeTREEh4.js";import"./ListItemButton-BqEaHAjp.js";import"./selector-D75xbVNs.js";import"./index-Dr2Mtdy2.js";import"./OpenInNew-DTWztApy.js";import"./index-DaeMoett.js";import"./Stack-tyHLs2nq.js";import"./Link-BnwyStJD.js";import"./Skeleton-CwJc9kSo.js";import"./HelpOutline-gqc5t8GX.js";import"./index-D9JHIwyT.js";import"./ButtonGroup-NJAfDniA.js";import"./useLocalStorage-CQXvDKwD.js";import"./PlayArrow-Cm-QOoAu.js";import"./RadioGroup-Cni7TXcD.js";import"./index-31nbUtvf.js";import"./useSetState-CvxpkYB6.js";import"./deprecate-zRAAntjP.js";import"./useSlot-C0VaVKX8.js";import"./MoreHoriz-35xRvcur.js";var yr={};Object.defineProperty(yr,"__esModule",{value:!0});var Dn=yr.default=void 0;Ji(H);var tt=i;function Ji(e){return e&&e.__esModule?e:{default:e}}function Br(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function Fr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Br(Object(r),!0).forEach(function(n){Qi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Br(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Qi(e,t,r){return(t=eo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eo(e){var t=to(e,"string");return typeof t=="symbol"?t:t+""}function to(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vr=function(t){return(0,tt.jsxs)("svg",Fr(Fr({},t),{},{children:[(0,tt.jsx)("g",{clipPath:"url(#clip0)",children:(0,tt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,tt.jsx)("defs",{children:(0,tt.jsx)("clipPath",{id:"clip0",children:(0,tt.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};vr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};vr.displayName="person";Dn=yr.default=vr;var jt={},ro=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Un="%[a-f0-9]{2}",$r=new RegExp("("+Un+")|([^%]+?)","gi"),Mr=new RegExp("("+Un+")+","gi");function lr(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],lr(r),lr(n))}function no(e){try{return decodeURIComponent(e)}catch{for(var t=e.match($r)||[],r=1;r<t.length;r++)e=lr(t,r).join(""),t=e.match($r)||[];return e}}function io(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Mr.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=no(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Mr.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),u=0;u<s.length;u++){var d=s[u];e=e.replace(new RegExp(d,"g"),t[d])}return e}var oo=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return io(e)}},ao=(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)]},so=function(e,t){for(var r={},n=Object.keys(e),s=Array.isArray(t),u=0;u<n.length;u++){var d=n[u],S=e[d];(s?t.indexOf(d)!==-1:t(d,S,e))&&(r[d]=S)}return r};(function(e){const t=ro,r=oo,n=ao,s=so,u=a=>a==null;function d(a){switch(a.arrayFormat){case"index":return o=>(c,p)=>{const g=c.length;return p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?c:p===null?[...c,[w(o,a),"[",g,"]"].join("")]:[...c,[w(o,a),"[",w(g,a),"]=",w(p,a)].join("")]};case"bracket":return o=>(c,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?c:p===null?[...c,[w(o,a),"[]"].join("")]:[...c,[w(o,a),"[]=",w(p,a)].join("")];case"comma":case"separator":return o=>(c,p)=>p==null||p.length===0?c:c.length===0?[[w(o,a),"=",w(p,a)].join("")]:[[c,w(p,a)].join(a.arrayFormatSeparator)];default:return o=>(c,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?c:p===null?[...c,w(o,a)]:[...c,[w(o,a),"=",w(p,a)].join("")]}}function S(a){let o;switch(a.arrayFormat){case"index":return(c,p,g)=>{if(o=/\[(\d*)\]$/.exec(c),c=c.replace(/\[\d*\]$/,""),!o){g[c]=p;return}g[c]===void 0&&(g[c]={}),g[c][o[1]]=p};case"bracket":return(c,p,g)=>{if(o=/(\[\])$/.exec(c),c=c.replace(/\[\]$/,""),!o){g[c]=p;return}if(g[c]===void 0){g[c]=[p];return}g[c]=[].concat(g[c],p)};case"comma":case"separator":return(c,p,g)=>{const T=typeof p=="string"&&p.includes(a.arrayFormatSeparator),E=typeof p=="string"&&!T&&f(p,a).includes(a.arrayFormatSeparator);p=E?f(p,a):p;const N=T||E?p.split(a.arrayFormatSeparator).map(V=>f(V,a)):p===null?p:f(p,a);g[c]=N};default:return(c,p,g)=>{if(g[c]===void 0){g[c]=p;return}g[c]=[].concat(g[c],p)}}}function x(a){if(typeof a!="string"||a.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function w(a,o){return o.encode?o.strict?t(a):encodeURIComponent(a):a}function f(a,o){return o.decode?r(a):a}function D(a){return Array.isArray(a)?a.sort():typeof a=="object"?D(Object.keys(a)).sort((o,c)=>Number(o)-Number(c)).map(o=>a[o]):a}function b(a){const o=a.indexOf("#");return o!==-1&&(a=a.slice(0,o)),a}function O(a){let o="";const c=a.indexOf("#");return c!==-1&&(o=a.slice(c)),o}function P(a){a=b(a);const o=a.indexOf("?");return o===-1?"":a.slice(o+1)}function q(a,o){return o.parseNumbers&&!Number.isNaN(Number(a))&&typeof a=="string"&&a.trim()!==""?a=Number(a):o.parseBooleans&&a!==null&&(a.toLowerCase()==="true"||a.toLowerCase()==="false")&&(a=a.toLowerCase()==="true"),a}function j(a,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),x(o.arrayFormatSeparator);const c=S(o),p=Object.create(null);if(typeof a!="string"||(a=a.trim().replace(/^[?#&]/,""),!a))return p;for(const g of a.split("&")){if(g==="")continue;let[T,E]=n(o.decode?g.replace(/\+/g," "):g,"=");E=E===void 0?null:["comma","separator"].includes(o.arrayFormat)?E:f(E,o),c(f(T,o),E,p)}for(const g of Object.keys(p)){const T=p[g];if(typeof T=="object"&&T!==null)for(const E of Object.keys(T))T[E]=q(T[E],o);else p[g]=q(T,o)}return o.sort===!1?p:(o.sort===!0?Object.keys(p).sort():Object.keys(p).sort(o.sort)).reduce((g,T)=>{const E=p[T];return E&&typeof E=="object"&&!Array.isArray(E)?g[T]=D(E):g[T]=E,g},Object.create(null))}e.extract=P,e.parse=j,e.stringify=(a,o)=>{if(!a)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),x(o.arrayFormatSeparator);const c=E=>o.skipNull&&u(a[E])||o.skipEmptyString&&a[E]==="",p=d(o),g={};for(const E of Object.keys(a))c(E)||(g[E]=a[E]);const T=Object.keys(g);return o.sort!==!1&&T.sort(o.sort),T.map(E=>{const N=a[E];return N===void 0?"":N===null?w(E,o):Array.isArray(N)?N.reduce(p(E),[]).join("&"):w(E,o)+"="+w(N,o)}).filter(E=>E.length>0).join("&")},e.parseUrl=(a,o)=>{o=Object.assign({decode:!0},o);const[c,p]=n(a,"#");return Object.assign({url:c.split("?")[0]||"",query:j(P(a),o)},o&&o.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,o)}:{})},e.stringifyUrl=(a,o)=>{o=Object.assign({encode:!0,strict:!0},o);const c=b(a.url).split("?")[0]||"",p=e.extract(a.url),g=e.parse(p,{sort:!1}),T=Object.assign(g,a.query);let E=e.stringify(T,o);E&&(E=`?${E}`);let N=O(a.url);return a.fragmentIdentifier&&(N=`#${w(a.fragmentIdentifier,o)}`),`${c}${E}${N}`},e.pick=(a,o,c)=>{c=Object.assign({parseFragmentIdentifier:!0},c);const{url:p,query:g,fragmentIdentifier:T}=e.parseUrl(a,c);return e.stringifyUrl({url:p,query:s(g,o),fragmentIdentifier:T},c)},e.exclude=(a,o,c)=>{const p=Array.isArray(o)?g=>!o.includes(g):(g,T)=>!o(g,T);return e.pick(a,p,c)}})(jt);const lt=ri,co={parseNumbers:!1,parseBooleans:!1},lo={skipNull:!1,skipEmptyString:!1},uo=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:d}={},S=Object.assign(Object.assign({},co),u),x=Object.assign(Object.assign({},lo),d),w=lt.useLocation(),f=(r=lt.useHistory)===null||r===void 0?void 0:r.call(lt),D=(n=lt.useNavigate)===null||n===void 0?void 0:n.call(lt),b=ti(),O=H.useRef(typeof e=="function"?e():e||{}),P=H.useMemo(()=>jt.parse(w.search,S),[w.search]),q=H.useMemo(()=>Object.assign(Object.assign({},O.current),P),[P]);return[q,pr(a=>{const o=typeof a=="function"?a(q):a;b(),f&&f[s]({hash:w.hash,search:jt.stringify(Object.assign(Object.assign({},P),o),x)||"?"},w.state),D&&D({hash:w.hash,search:jt.stringify(Object.assign(Object.assign({},P),o),x)||"?"},{replace:s==="replace",state:w.state})})]},fo=uo;var he={};Object.defineProperty(he,"__esModule",{value:!0});he.isValid=he.fromJSON=he.fromRandom=he.fromAddress=he.fromPublicKey=he.fromSecretKey=he.Wallet=he.WalletType=void 0;const gt=bn,At=Tt,Ae=vn;he.WalletType=Ae.DidType;function ot(e,t="default"){const r=(0,Ae.DidType)(t),n=(0,At.getSigner)(r.pk),s=(0,At.getHasher)(r.hash);return{type:r,secretKey:e.sk,publicKey:e.pk,address:e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address,hash(u,d=1,S="hex"){return s(u,d,S)},sign(u,d=!0,S="hex"){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(d){const x=s(u,1);return n.sign(x,e.sk,S)}return n.sign(u,e.sk,S)},verify(u,d,S=!0){if(!e.pk)throw new Error("Cannot verify data without a publicKey");const x=S?s(u,1):u;return n.verify(x,d,e.pk)},ethHash(u){if(typeof n.ethHash!="function")throw new Error("ethHash is not supported by signer");return n.ethHash(u)},ethSign(u,d=!0){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(typeof n.ethHash!="function")throw new Error("ethSign is not supported by signer");return d?n.ethSign(n.ethHash(u),(0,gt.toHex)(e.sk)):n.ethSign(u,(0,gt.toHex)(e.sk))},ethVerify(u,d,S=!0){if(typeof n.ethHash!="function")throw new Error("ethVerify is not supported by signer");const x=S?n.ethHash(u):u;return n.ethRecover(x,d)===this.address},toAddress(){return e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address},toJSON(){return{type:Ae.DidType.toJSON(r),sk:(0,gt.toHex)(e.sk),pk:(0,gt.toHex)(e.pk),address:this.address}}}}he.Wallet=ot;function po(e,t="default"){const r=(0,Ae.DidType)(t),n={sk:e,pk:(0,At.getSigner)(r.pk).getPublicKey(e)};return ot(n,r)}he.fromSecretKey=po;function mo(e,t="default"){return ot({pk:e},(0,Ae.DidType)(t))}he.fromPublicKey=mo;function ho(e){return ot({address:(0,Ae.toAddress)(e)},(0,Ae.toTypeInfo)(e))}he.fromAddress=ho;function go(e="default"){const t=(0,Ae.DidType)(e),n=(0,At.getSigner)(t.pk).genKeyPair();return ot({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=go;function yo(e){const t=Ae.DidType.fromJSON(e.type);return ot(e,t)}he.fromJSON=yo;function vo(e,t=!0){return!(!e||typeof e!="object"||typeof e.verify!="function"||typeof e.toAddress!="function"||typeof e.toJSON!="function"||!e.type||!e.publicKey||t&&(!e.secretKey||typeof e.sign!="function"))}he.isValid=vo;var Kt={exports:{}},Bt={},zr;function Ln(){if(zr)return Bt;zr=1;function e(o){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},e(o)}function t(o,c,p){return Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function n(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(c&&c.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),c&&s(o,c)}function s(o,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,T){return g.__proto__=T,g},s(o,c)}function u(o){var c=x();return function(){var g=w(o),T;if(c){var E=w(this).constructor;T=Reflect.construct(g,arguments,E)}else T=g.apply(this,arguments);return d(this,T)}}function d(o,c){if(c&&(e(c)==="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(o)}function S(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function x(){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 w(o){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},w(o)}var f={},D,b;function O(o,c,p){p||(p=Error);function g(E,N,V){return typeof c=="string"?c:c(E,N,V)}var T=function(E){n(V,E);var N=u(V);function V(ee,X,G){var J;return r(this,V),J=N.call(this,g(ee,X,G)),J.code=o,J}return t(V)}(p);f[o]=T}function P(o,c){if(Array.isArray(o)){var p=o.length;return o=o.map(function(g){return String(g)}),p>2?"one of ".concat(c," ").concat(o.slice(0,p-1).join(", "),", or ")+o[p-1]:p===2?"one of ".concat(c," ").concat(o[0]," or ").concat(o[1]):"of ".concat(c," ").concat(o[0])}else return"of ".concat(c," ").concat(String(o))}function q(o,c,p){return o.substr(0,c.length)===c}function j(o,c,p){return(p===void 0||p>o.length)&&(p=o.length),o.substring(p-c.length,p)===c}function a(o,c,p){return typeof p!="number"&&(p=0),p+c.length>o.length?!1:o.indexOf(c,p)!==-1}return O("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),O("ERR_INVALID_ARG_TYPE",function(o,c,p){D===void 0&&(D=ur()),D(typeof o=="string","'name' must be a string");var g;typeof c=="string"&&q(c,"not ")?(g="must not be",c=c.replace(/^not /,"")):g="must be";var T;if(j(o," argument"))T="The ".concat(o," ").concat(g," ").concat(P(c,"type"));else{var E=a(o,".")?"property":"argument";T='The "'.concat(o,'" ').concat(E," ").concat(g," ").concat(P(c,"type"))}return T+=". Received type ".concat(e(p)),T},TypeError),O("ERR_INVALID_ARG_VALUE",function(o,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";b===void 0&&(b=pt);var g=b.inspect(c);return g.length>128&&(g="".concat(g.slice(0,128),"...")),"The argument '".concat(o,"' ").concat(p,". Received ").concat(g)},TypeError),O("ERR_INVALID_RETURN_VALUE",function(o,c,p){var g;return p&&p.constructor&&p.constructor.name?g="instance of ".concat(p.constructor.name):g="type ".concat(e(p)),"Expected ".concat(o,' to be returned from the "').concat(c,'"')+" function but got ".concat(g,".")},TypeError),O("ERR_MISSING_ARGS",function(){for(var o=arguments.length,c=new Array(o),p=0;p<o;p++)c[p]=arguments[p];D===void 0&&(D=ur()),D(c.length>0,"At least one arg needs to be specified");var g="The ",T=c.length;switch(c=c.map(function(E){return'"'.concat(E,'"')}),T){case 1:g+="".concat(c[0]," argument");break;case 2:g+="".concat(c[0]," and ").concat(c[1]," arguments");break;default:g+=c.slice(0,T-1).join(", "),g+=", and ".concat(c[T-1]," arguments");break}return"".concat(g," must be specified")},TypeError),Bt.codes=f,Bt}var Ft,Wr;function bo(){if(Wr)return Ft;Wr=1;function e(A,R){var F=Object.keys(A);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(A);R&&(_=_.filter(function(W){return Object.getOwnPropertyDescriptor(A,W).enumerable})),F.push.apply(F,_)}return F}function t(A){for(var R=1;R<arguments.length;R++){var F=arguments[R]!=null?arguments[R]:{};R%2?e(Object(F),!0).forEach(function(_){r(A,_,F[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(F)):e(Object(F)).forEach(function(_){Object.defineProperty(A,_,Object.getOwnPropertyDescriptor(F,_))})}return A}function r(A,R,F){return R=d(R),R in A?Object.defineProperty(A,R,{value:F,enumerable:!0,configurable:!0,writable:!0}):A[R]=F,A}function n(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function s(A,R){for(var F=0;F<R.length;F++){var _=R[F];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(A,d(_.key),_)}}function u(A,R,F){return R&&s(A.prototype,R),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A){var R=S(A,"string");return o(R)==="symbol"?R:String(R)}function S(A,R){if(o(A)!=="object"||A===null)return A;var F=A[Symbol.toPrimitive];if(F!==void 0){var _=F.call(A,R||"default");if(o(_)!=="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}function x(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),R&&j(A,R)}function w(A){var R=P();return function(){var _=a(A),W;if(R){var y=a(this).constructor;W=Reflect.construct(_,arguments,y)}else W=_.apply(this,arguments);return f(this,W)}}function f(A,R){if(R&&(o(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(A)}function D(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function b(A){var R=typeof Map=="function"?new Map:void 0;return b=function(_){if(_===null||!q(_))return _;if(typeof _!="function")throw new TypeError("Super expression must either be null or a function");if(typeof R<"u"){if(R.has(_))return R.get(_);R.set(_,W)}function W(){return O(_,arguments,a(this).constructor)}return W.prototype=Object.create(_.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),j(W,_)},b(A)}function O(A,R,F){return P()?O=Reflect.construct.bind():O=function(W,y,m){var v=[null];v.push.apply(v,y);var U=Function.bind.apply(W,v),C=new U;return m&&j(C,m.prototype),C},O.apply(null,arguments)}function P(){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 q(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function j(A,R){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,W){return _.__proto__=W,_},j(A,R)}function a(A){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},a(A)}function o(A){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},o(A)}var c=pt,p=c.inspect,g=Ln(),T=g.codes.ERR_INVALID_ARG_TYPE;function E(A,R,F){return(F===void 0||F>A.length)&&(F=A.length),A.substring(F-R.length,F)===R}function N(A,R){if(R=Math.floor(R),A.length==0||R==0)return"";var F=A.length*R;for(R=Math.floor(Math.log(R)/Math.log(2));R;)A+=A,R--;return A+=A.substring(0,F-A.length),A}var V="",ee="",X="",G="",J={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:"},xe=10;function Y(A){var R=Object.keys(A),F=Object.create(Object.getPrototypeOf(A));return R.forEach(function(_){F[_]=A[_]}),Object.defineProperty(F,"message",{value:A.message}),F}function pe(A){return p(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function we(A,R,F){var _="",W="",y=0,m="",v=!1,U=pe(A),C=U.split(`
|
|
1
|
+
import{r as H,j as i,g7 as ti,l as pr,g8 as ri,eM as vn,c7 as bn,f3 as Tt,g9 as pt,f2 as Ce,ga as ni,gb as xn,gc as wn,gd as ii,ge as oi,gf as jn,gg as dr,gh as ai,gi as si,gj as ci,gk as li,eX as rr,b9 as ui,co as qr,eZ as fi,aa as pi,aR as Re,u as ke,Q as En,B as se,aV as Et,A as Sn,D as di,T as Le,gl as mr,ah as Je,aw as Ze,a3 as Se,n as it,P as B,bC as mi,cs as nr,N as hi,f6 as gi,a0 as De,de as yi,a2 as mt,bn as Qe,t as $e,gm as vi,ac as Xe,dG as bi,a_ as Pn,G as Ee,a as dt,c as ir,b as xi,bF as wi,gn as On,bL as An,aX as ji,Z as Ei,$ as Si,bQ as Rn,m as Pi,aE as Oi,bH as Ai}from"./index-DRzKRjCD.js";import{c as Ri}from"./index-BPOzbYSY.js";import{d as St}from"./Add-Cd_yQvQe.js";import{d as Ii}from"./Loop-Bo_Vefvf.js";import{d as _i}from"./ViewList-CWOfhXR6.js";import{L as Ci,S as Ti,d as In}from"./list-header-C3FjG628.js";import{D as _n,g as Ni}from"./index-BQZUyGwO.js";import"./index-BtN1LIrs.js";import"./index-MEVf3Aeu.js";import{j as Cn}from"./resource-dialog-BBe0xDNe.js";import{T as Di}from"./index-BauHu14u.js";import{E as Tn}from"./index-OnKrl2ZE.js";import"./fallback-rUt_HJGx.js";import"./index-BzlhY5_d.js";import{d as Ui,U as Li}from"./user-sessions-BYtoaexg.js";import{u as qe,d as Kr,W as Nn,a as ki}from"./dashboard-DyVoELt9.js";import{W as Pt}from"./did-address-Bby2RNcx.js";import{P as Fe}from"./permission-CMRIp6F9.js";import{C as Nt}from"./click-to-copy-BmTNOg5J.js";import{F as or}from"./FormControl-82jQTtg3.js";import{d as ar,S as sr}from"./Select-t6kEf6gX.js";import{T as Ot}from"./TextField-s78RmNlv.js";import{D as hr}from"./DialogContentText-B9WAOpef.js";import{A as nt}from"./Alert-BgBLV6hC.js";import{f as Me}from"./format-error-Bc6CM-TT.js";import{_ as qi}from"./useAsync-CTA9HE_h.js";import{I as cr}from"./index-DaQR6D_l.js";import{d as Ki}from"./DeleteOutline-8gmR0Wq-.js";import{C as ht}from"./confirm-GSIYdESI.js";import{u as gr}from"./session-DfpwMmuI.js";import{N as Bi}from"./index-B2yEBdej.js";import{a as Fi}from"./uniqBy-Cs2iNcx6.js";import{b as $i}from"./sdk-CZ-wE_Vi.js";import{A as Mi}from"./Avatar-Bzc__GA_.js";import{d as zi,L as Wi,a as Vi}from"./Delete-BSI8Q371.js";import{p as Hi}from"./index-J1H6ls_I.js";import{A as Gi}from"./actions-B2hCfScN.js";import{S as Yi}from"./shorten-label-6WFrxjkO.js";import{F as Zi}from"./FormControlLabel-CrpKBV25.js";import{C as Xi}from"./MoreVert-Br_17wo6.js";import"./Search-BG4Errw8.js";import"./useThemeProps-BpYINYlz.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-DjPCfq9u.js";import"./index-CiaKP1wg.js";import"./redux-CluOqhW1.js";import"./ViewColumn-DE_IxWqF.js";import"./useFormControl-9xROUYKu.js";import"./FormGroup-CJBWhw2i.js";import"./Grid-CkrjUgJL.js";import"./LastPage-BymLqQUe.js";import"./Toolbar-zdHHE27P.js";import"./index-DtP7NUcy.js";import"./Menu-Bax38HCU.js";import"./Hidden-WTda9E-U.js";import"./ExpandMore-BEakKpHd.js";import"./ListItemButton-B78E6KUX.js";import"./selector-C9jeovPf.js";import"./index-UAlHquNF.js";import"./OpenInNew-Cyk2AJha.js";import"./index-DrM_ezQx.js";import"./Stack-dDvED7m9.js";import"./Link-Bzz0LqwB.js";import"./Skeleton-cU8Nm0cO.js";import"./HelpOutline-B3Jz-uVv.js";import"./index-B6387zjC.js";import"./ButtonGroup-DAIb8pi6.js";import"./useLocalStorage-BCBKuIiQ.js";import"./PlayArrow-p8AyTcZ9.js";import"./RadioGroup-CR_F7i1o.js";import"./index-D6bfKhZM.js";import"./useSetState-BWT8Wg2y.js";import"./deprecate-D0mJf8oc.js";import"./useSlot-B1Hk4mVb.js";import"./MoreHoriz-YNKbW1C6.js";var yr={};Object.defineProperty(yr,"__esModule",{value:!0});var Dn=yr.default=void 0;Ji(H);var tt=i;function Ji(e){return e&&e.__esModule?e:{default:e}}function Br(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function Fr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Br(Object(r),!0).forEach(function(n){Qi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Br(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Qi(e,t,r){return(t=eo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eo(e){var t=to(e,"string");return typeof t=="symbol"?t:t+""}function to(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vr=function(t){return(0,tt.jsxs)("svg",Fr(Fr({},t),{},{children:[(0,tt.jsx)("g",{clipPath:"url(#clip0)",children:(0,tt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,tt.jsx)("defs",{children:(0,tt.jsx)("clipPath",{id:"clip0",children:(0,tt.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};vr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};vr.displayName="person";Dn=yr.default=vr;var jt={},ro=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Un="%[a-f0-9]{2}",$r=new RegExp("("+Un+")|([^%]+?)","gi"),Mr=new RegExp("("+Un+")+","gi");function lr(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],lr(r),lr(n))}function no(e){try{return decodeURIComponent(e)}catch{for(var t=e.match($r)||[],r=1;r<t.length;r++)e=lr(t,r).join(""),t=e.match($r)||[];return e}}function io(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Mr.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=no(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Mr.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),u=0;u<s.length;u++){var d=s[u];e=e.replace(new RegExp(d,"g"),t[d])}return e}var oo=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return io(e)}},ao=(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)]},so=function(e,t){for(var r={},n=Object.keys(e),s=Array.isArray(t),u=0;u<n.length;u++){var d=n[u],S=e[d];(s?t.indexOf(d)!==-1:t(d,S,e))&&(r[d]=S)}return r};(function(e){const t=ro,r=oo,n=ao,s=so,u=a=>a==null;function d(a){switch(a.arrayFormat){case"index":return o=>(c,p)=>{const g=c.length;return p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?c:p===null?[...c,[w(o,a),"[",g,"]"].join("")]:[...c,[w(o,a),"[",w(g,a),"]=",w(p,a)].join("")]};case"bracket":return o=>(c,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?c:p===null?[...c,[w(o,a),"[]"].join("")]:[...c,[w(o,a),"[]=",w(p,a)].join("")];case"comma":case"separator":return o=>(c,p)=>p==null||p.length===0?c:c.length===0?[[w(o,a),"=",w(p,a)].join("")]:[[c,w(p,a)].join(a.arrayFormatSeparator)];default:return o=>(c,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?c:p===null?[...c,w(o,a)]:[...c,[w(o,a),"=",w(p,a)].join("")]}}function S(a){let o;switch(a.arrayFormat){case"index":return(c,p,g)=>{if(o=/\[(\d*)\]$/.exec(c),c=c.replace(/\[\d*\]$/,""),!o){g[c]=p;return}g[c]===void 0&&(g[c]={}),g[c][o[1]]=p};case"bracket":return(c,p,g)=>{if(o=/(\[\])$/.exec(c),c=c.replace(/\[\]$/,""),!o){g[c]=p;return}if(g[c]===void 0){g[c]=[p];return}g[c]=[].concat(g[c],p)};case"comma":case"separator":return(c,p,g)=>{const T=typeof p=="string"&&p.includes(a.arrayFormatSeparator),E=typeof p=="string"&&!T&&f(p,a).includes(a.arrayFormatSeparator);p=E?f(p,a):p;const N=T||E?p.split(a.arrayFormatSeparator).map(V=>f(V,a)):p===null?p:f(p,a);g[c]=N};default:return(c,p,g)=>{if(g[c]===void 0){g[c]=p;return}g[c]=[].concat(g[c],p)}}}function x(a){if(typeof a!="string"||a.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function w(a,o){return o.encode?o.strict?t(a):encodeURIComponent(a):a}function f(a,o){return o.decode?r(a):a}function D(a){return Array.isArray(a)?a.sort():typeof a=="object"?D(Object.keys(a)).sort((o,c)=>Number(o)-Number(c)).map(o=>a[o]):a}function b(a){const o=a.indexOf("#");return o!==-1&&(a=a.slice(0,o)),a}function O(a){let o="";const c=a.indexOf("#");return c!==-1&&(o=a.slice(c)),o}function P(a){a=b(a);const o=a.indexOf("?");return o===-1?"":a.slice(o+1)}function q(a,o){return o.parseNumbers&&!Number.isNaN(Number(a))&&typeof a=="string"&&a.trim()!==""?a=Number(a):o.parseBooleans&&a!==null&&(a.toLowerCase()==="true"||a.toLowerCase()==="false")&&(a=a.toLowerCase()==="true"),a}function j(a,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),x(o.arrayFormatSeparator);const c=S(o),p=Object.create(null);if(typeof a!="string"||(a=a.trim().replace(/^[?#&]/,""),!a))return p;for(const g of a.split("&")){if(g==="")continue;let[T,E]=n(o.decode?g.replace(/\+/g," "):g,"=");E=E===void 0?null:["comma","separator"].includes(o.arrayFormat)?E:f(E,o),c(f(T,o),E,p)}for(const g of Object.keys(p)){const T=p[g];if(typeof T=="object"&&T!==null)for(const E of Object.keys(T))T[E]=q(T[E],o);else p[g]=q(T,o)}return o.sort===!1?p:(o.sort===!0?Object.keys(p).sort():Object.keys(p).sort(o.sort)).reduce((g,T)=>{const E=p[T];return E&&typeof E=="object"&&!Array.isArray(E)?g[T]=D(E):g[T]=E,g},Object.create(null))}e.extract=P,e.parse=j,e.stringify=(a,o)=>{if(!a)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),x(o.arrayFormatSeparator);const c=E=>o.skipNull&&u(a[E])||o.skipEmptyString&&a[E]==="",p=d(o),g={};for(const E of Object.keys(a))c(E)||(g[E]=a[E]);const T=Object.keys(g);return o.sort!==!1&&T.sort(o.sort),T.map(E=>{const N=a[E];return N===void 0?"":N===null?w(E,o):Array.isArray(N)?N.reduce(p(E),[]).join("&"):w(E,o)+"="+w(N,o)}).filter(E=>E.length>0).join("&")},e.parseUrl=(a,o)=>{o=Object.assign({decode:!0},o);const[c,p]=n(a,"#");return Object.assign({url:c.split("?")[0]||"",query:j(P(a),o)},o&&o.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,o)}:{})},e.stringifyUrl=(a,o)=>{o=Object.assign({encode:!0,strict:!0},o);const c=b(a.url).split("?")[0]||"",p=e.extract(a.url),g=e.parse(p,{sort:!1}),T=Object.assign(g,a.query);let E=e.stringify(T,o);E&&(E=`?${E}`);let N=O(a.url);return a.fragmentIdentifier&&(N=`#${w(a.fragmentIdentifier,o)}`),`${c}${E}${N}`},e.pick=(a,o,c)=>{c=Object.assign({parseFragmentIdentifier:!0},c);const{url:p,query:g,fragmentIdentifier:T}=e.parseUrl(a,c);return e.stringifyUrl({url:p,query:s(g,o),fragmentIdentifier:T},c)},e.exclude=(a,o,c)=>{const p=Array.isArray(o)?g=>!o.includes(g):(g,T)=>!o(g,T);return e.pick(a,p,c)}})(jt);const lt=ri,co={parseNumbers:!1,parseBooleans:!1},lo={skipNull:!1,skipEmptyString:!1},uo=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:d}={},S=Object.assign(Object.assign({},co),u),x=Object.assign(Object.assign({},lo),d),w=lt.useLocation(),f=(r=lt.useHistory)===null||r===void 0?void 0:r.call(lt),D=(n=lt.useNavigate)===null||n===void 0?void 0:n.call(lt),b=ti(),O=H.useRef(typeof e=="function"?e():e||{}),P=H.useMemo(()=>jt.parse(w.search,S),[w.search]),q=H.useMemo(()=>Object.assign(Object.assign({},O.current),P),[P]);return[q,pr(a=>{const o=typeof a=="function"?a(q):a;b(),f&&f[s]({hash:w.hash,search:jt.stringify(Object.assign(Object.assign({},P),o),x)||"?"},w.state),D&&D({hash:w.hash,search:jt.stringify(Object.assign(Object.assign({},P),o),x)||"?"},{replace:s==="replace",state:w.state})})]},fo=uo;var he={};Object.defineProperty(he,"__esModule",{value:!0});he.isValid=he.fromJSON=he.fromRandom=he.fromAddress=he.fromPublicKey=he.fromSecretKey=he.Wallet=he.WalletType=void 0;const gt=bn,At=Tt,Ae=vn;he.WalletType=Ae.DidType;function ot(e,t="default"){const r=(0,Ae.DidType)(t),n=(0,At.getSigner)(r.pk),s=(0,At.getHasher)(r.hash);return{type:r,secretKey:e.sk,publicKey:e.pk,address:e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address,hash(u,d=1,S="hex"){return s(u,d,S)},sign(u,d=!0,S="hex"){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(d){const x=s(u,1);return n.sign(x,e.sk,S)}return n.sign(u,e.sk,S)},verify(u,d,S=!0){if(!e.pk)throw new Error("Cannot verify data without a publicKey");const x=S?s(u,1):u;return n.verify(x,d,e.pk)},ethHash(u){if(typeof n.ethHash!="function")throw new Error("ethHash is not supported by signer");return n.ethHash(u)},ethSign(u,d=!0){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(typeof n.ethHash!="function")throw new Error("ethSign is not supported by signer");return d?n.ethSign(n.ethHash(u),(0,gt.toHex)(e.sk)):n.ethSign(u,(0,gt.toHex)(e.sk))},ethVerify(u,d,S=!0){if(typeof n.ethHash!="function")throw new Error("ethVerify is not supported by signer");const x=S?n.ethHash(u):u;return n.ethRecover(x,d)===this.address},toAddress(){return e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address},toJSON(){return{type:Ae.DidType.toJSON(r),sk:(0,gt.toHex)(e.sk),pk:(0,gt.toHex)(e.pk),address:this.address}}}}he.Wallet=ot;function po(e,t="default"){const r=(0,Ae.DidType)(t),n={sk:e,pk:(0,At.getSigner)(r.pk).getPublicKey(e)};return ot(n,r)}he.fromSecretKey=po;function mo(e,t="default"){return ot({pk:e},(0,Ae.DidType)(t))}he.fromPublicKey=mo;function ho(e){return ot({address:(0,Ae.toAddress)(e)},(0,Ae.toTypeInfo)(e))}he.fromAddress=ho;function go(e="default"){const t=(0,Ae.DidType)(e),n=(0,At.getSigner)(t.pk).genKeyPair();return ot({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=go;function yo(e){const t=Ae.DidType.fromJSON(e.type);return ot(e,t)}he.fromJSON=yo;function vo(e,t=!0){return!(!e||typeof e!="object"||typeof e.verify!="function"||typeof e.toAddress!="function"||typeof e.toJSON!="function"||!e.type||!e.publicKey||t&&(!e.secretKey||typeof e.sign!="function"))}he.isValid=vo;var Kt={exports:{}},Bt={},zr;function Ln(){if(zr)return Bt;zr=1;function e(o){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},e(o)}function t(o,c,p){return Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function n(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(c&&c.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),c&&s(o,c)}function s(o,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,T){return g.__proto__=T,g},s(o,c)}function u(o){var c=x();return function(){var g=w(o),T;if(c){var E=w(this).constructor;T=Reflect.construct(g,arguments,E)}else T=g.apply(this,arguments);return d(this,T)}}function d(o,c){if(c&&(e(c)==="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(o)}function S(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function x(){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 w(o){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},w(o)}var f={},D,b;function O(o,c,p){p||(p=Error);function g(E,N,V){return typeof c=="string"?c:c(E,N,V)}var T=function(E){n(V,E);var N=u(V);function V(ee,X,G){var J;return r(this,V),J=N.call(this,g(ee,X,G)),J.code=o,J}return t(V)}(p);f[o]=T}function P(o,c){if(Array.isArray(o)){var p=o.length;return o=o.map(function(g){return String(g)}),p>2?"one of ".concat(c," ").concat(o.slice(0,p-1).join(", "),", or ")+o[p-1]:p===2?"one of ".concat(c," ").concat(o[0]," or ").concat(o[1]):"of ".concat(c," ").concat(o[0])}else return"of ".concat(c," ").concat(String(o))}function q(o,c,p){return o.substr(0,c.length)===c}function j(o,c,p){return(p===void 0||p>o.length)&&(p=o.length),o.substring(p-c.length,p)===c}function a(o,c,p){return typeof p!="number"&&(p=0),p+c.length>o.length?!1:o.indexOf(c,p)!==-1}return O("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),O("ERR_INVALID_ARG_TYPE",function(o,c,p){D===void 0&&(D=ur()),D(typeof o=="string","'name' must be a string");var g;typeof c=="string"&&q(c,"not ")?(g="must not be",c=c.replace(/^not /,"")):g="must be";var T;if(j(o," argument"))T="The ".concat(o," ").concat(g," ").concat(P(c,"type"));else{var E=a(o,".")?"property":"argument";T='The "'.concat(o,'" ').concat(E," ").concat(g," ").concat(P(c,"type"))}return T+=". Received type ".concat(e(p)),T},TypeError),O("ERR_INVALID_ARG_VALUE",function(o,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";b===void 0&&(b=pt);var g=b.inspect(c);return g.length>128&&(g="".concat(g.slice(0,128),"...")),"The argument '".concat(o,"' ").concat(p,". Received ").concat(g)},TypeError),O("ERR_INVALID_RETURN_VALUE",function(o,c,p){var g;return p&&p.constructor&&p.constructor.name?g="instance of ".concat(p.constructor.name):g="type ".concat(e(p)),"Expected ".concat(o,' to be returned from the "').concat(c,'"')+" function but got ".concat(g,".")},TypeError),O("ERR_MISSING_ARGS",function(){for(var o=arguments.length,c=new Array(o),p=0;p<o;p++)c[p]=arguments[p];D===void 0&&(D=ur()),D(c.length>0,"At least one arg needs to be specified");var g="The ",T=c.length;switch(c=c.map(function(E){return'"'.concat(E,'"')}),T){case 1:g+="".concat(c[0]," argument");break;case 2:g+="".concat(c[0]," and ").concat(c[1]," arguments");break;default:g+=c.slice(0,T-1).join(", "),g+=", and ".concat(c[T-1]," arguments");break}return"".concat(g," must be specified")},TypeError),Bt.codes=f,Bt}var Ft,Wr;function bo(){if(Wr)return Ft;Wr=1;function e(A,R){var F=Object.keys(A);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(A);R&&(_=_.filter(function(W){return Object.getOwnPropertyDescriptor(A,W).enumerable})),F.push.apply(F,_)}return F}function t(A){for(var R=1;R<arguments.length;R++){var F=arguments[R]!=null?arguments[R]:{};R%2?e(Object(F),!0).forEach(function(_){r(A,_,F[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(F)):e(Object(F)).forEach(function(_){Object.defineProperty(A,_,Object.getOwnPropertyDescriptor(F,_))})}return A}function r(A,R,F){return R=d(R),R in A?Object.defineProperty(A,R,{value:F,enumerable:!0,configurable:!0,writable:!0}):A[R]=F,A}function n(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function s(A,R){for(var F=0;F<R.length;F++){var _=R[F];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(A,d(_.key),_)}}function u(A,R,F){return R&&s(A.prototype,R),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A){var R=S(A,"string");return o(R)==="symbol"?R:String(R)}function S(A,R){if(o(A)!=="object"||A===null)return A;var F=A[Symbol.toPrimitive];if(F!==void 0){var _=F.call(A,R||"default");if(o(_)!=="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}function x(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),R&&j(A,R)}function w(A){var R=P();return function(){var _=a(A),W;if(R){var y=a(this).constructor;W=Reflect.construct(_,arguments,y)}else W=_.apply(this,arguments);return f(this,W)}}function f(A,R){if(R&&(o(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(A)}function D(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function b(A){var R=typeof Map=="function"?new Map:void 0;return b=function(_){if(_===null||!q(_))return _;if(typeof _!="function")throw new TypeError("Super expression must either be null or a function");if(typeof R<"u"){if(R.has(_))return R.get(_);R.set(_,W)}function W(){return O(_,arguments,a(this).constructor)}return W.prototype=Object.create(_.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),j(W,_)},b(A)}function O(A,R,F){return P()?O=Reflect.construct.bind():O=function(W,y,m){var v=[null];v.push.apply(v,y);var U=Function.bind.apply(W,v),C=new U;return m&&j(C,m.prototype),C},O.apply(null,arguments)}function P(){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 q(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function j(A,R){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,W){return _.__proto__=W,_},j(A,R)}function a(A){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},a(A)}function o(A){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},o(A)}var c=pt,p=c.inspect,g=Ln(),T=g.codes.ERR_INVALID_ARG_TYPE;function E(A,R,F){return(F===void 0||F>A.length)&&(F=A.length),A.substring(F-R.length,F)===R}function N(A,R){if(R=Math.floor(R),A.length==0||R==0)return"";var F=A.length*R;for(R=Math.floor(Math.log(R)/Math.log(2));R;)A+=A,R--;return A+=A.substring(0,F-A.length),A}var V="",ee="",X="",G="",J={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:"},xe=10;function Y(A){var R=Object.keys(A),F=Object.create(Object.getPrototypeOf(A));return R.forEach(function(_){F[_]=A[_]}),Object.defineProperty(F,"message",{value:A.message}),F}function pe(A){return p(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function we(A,R,F){var _="",W="",y=0,m="",v=!1,U=pe(A),C=U.split(`
|
|
2
2
|
`),k=pe(R).split(`
|
|
3
3
|
`),$=0,ne="";if(F==="strictEqual"&&o(A)==="object"&&o(R)==="object"&&A!==null&&R!==null&&(F="strictEqualObject"),C.length===1&&k.length===1&&C[0]!==k[0]){var ue=C[0].length+k[0].length;if(ue<=xe){if((o(A)!=="object"||A===null)&&(o(R)!=="object"||R===null)&&(A!==0||R!==0))return"".concat(J[F],`
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aH as
|
|
1
|
+
import{aH as Oe,aG as Ve,aI as De,ak as qe,aJ as X,aM as _,r as l,aK as Se,aL as Ue,j as n,aO as L,aP as Ge,X as Xe,db as Ye,dc as Qe,_ as Je,c5 as Ke,av as ne,P as o,Z as fe,$ as ge,bv as g,ae as Ze,al as te,aD as oe,L as Y,T as I,b as en,aE as be,B as k,bw as nn,I as O,dd as ve,H as ye,a1 as tn,Q as we,k as Z,de as on,l as U,df as an,dg as rn}from"./index-DRzKRjCD.js";import{d as je,D as ke}from"./Menu-Bax38HCU.js";import{T as sn}from"./Toolbar-zdHHE27P.js";import{H as $e}from"./Hidden-WTda9E-U.js";const ee={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function ln(e){return Oe("MuiAppBar",e)}Ve("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const dn=["className","color","enableColorOnDark","position"],cn=e=>{const{color:t,position:a,classes:r}=e,d={root:["root",`color${X(t)}`,`position${X(a)}`]};return Ge(d,ln,r)},G=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,pn=De(qe,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[`position${X(a.position)}`],t[`color${X(a.color)}`]]}})(({theme:e,ownerState:t})=>{const a=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return _({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&_({},t.color==="default"&&{backgroundColor:a,color:e.palette.getContrastText(a)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&_({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&_({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:G(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:G(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:G(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:G(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),un=l.forwardRef(function(t,a){const r=Se({props:t,name:"MuiAppBar"}),{className:d,color:p="primary",enableColorOnDark:c=!1,position:i="fixed"}=r,u=Ue(r,dn),s=_({},r,{color:p,position:i,enableColorOnDark:c}),m=cn(s);return n.jsx(pn,_({square:!0,component:"header",ownerState:s,elevation:4,className:L(m.root,d,i==="fixed"&&"mui-fixed"),ref:a},u))});function hn(e,t){var a,r=Xe(e),d=(a=t==null?void 0:t.wait)!==null&&a!==void 0?a:1e3,p=l.useMemo(function(){return Ye(function(){for(var c=[],i=0;i<arguments.length;i++)c[i]=arguments[i];return r.current.apply(r,Qe([],Je(c),!1))},d,t)},[]);return Ke(function(){p.cancel()}),{run:p,cancel:p.cancel,flush:p.flush}}const mn=ne(n.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),xn=ne(n.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),fn=ne(n.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),ze=l.createContext(),gn=e=>{const t=l.useContext(ze);return l.useLayoutEffect(()=>{},[]),t};function Ne({children:e,...t}){const[a,r]=l.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),d=()=>{r(c=>({...c,inFullPage:!c.inFullPage}))},p=l.useMemo(()=>({...a,headerVisible:!a.inFullPage||a.headerVisibleInFullPage,footerVisible:!a.inFullPage||a.footerVisibleInFullPage,sidebarVisible:!a.inFullPage||a.sidebarVisibleInFullPage,toggleFullPage:d,configure:c=>r(i=>({...i,...c}))}),[a]);return n.jsx(ze.Provider,{value:p,...t,children:e})}Ne.propTypes={children:o.node.isRequired};var ae={},bn=ge;Object.defineProperty(ae,"__esModule",{value:!0});var Ce=ae.default=void 0,vn=bn(fe()),yn=n;Ce=ae.default=(0,vn.default)((0,yn.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var re={},wn=ge;Object.defineProperty(re,"__esModule",{value:!0});var Pe=re.default=void 0,jn=wn(fe()),kn=n;Pe=re.default=(0,jn.default)((0,kn.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function se({name:e,size:t,alt:a,color:r,style:d,prefix:p,showBadge:c,...i}){const u=`${p}/${e}-${r.replace(/^#/,"")}.png`;return n.jsxs($n,{style:{width:t,height:t},children:[n.jsx(Ze,{width:t,height:t,alt:a||e,src:u,style:Object.assign({width:t},d),...i}),c&&n.jsx("i",{className:"badge-point"})]})}se.propTypes={name:o.string.isRequired,size:o.number,color:o.string,alt:o.string,style:o.object,prefix:o.string,showBadge:o.bool};se.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const $n=g("div")`
|
|
2
2
|
position: relative;
|
|
3
3
|
.badge-point {
|
|
4
4
|
position: absolute;
|
|
@@ -12,7 +12,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
12
12
|
0px 1px 4px rgba(0, 0, 0, 0.3),
|
|
13
13
|
0px 0px 20px rgba(0, 0, 0, 0.1);
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
`,zn=e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:45,height:52,viewBox:"0 0 45 52",...e},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF"},l.createElement("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25M.5 38.077l43.301-25"}),l.createElement("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"}))),Nn=e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:99,height:18,viewBox:"0 0 99 18",...e},l.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917H43.065v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4V12.822c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})),Cn=e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:45,height:52,viewBox:"0 0 45 52",...e},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"#000"},l.createElement("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25M.5 38.077l43.301-25"}),l.createElement("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"}))),Pn=e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:99,height:18,viewBox:"0 0 99 18",...e},l.createElement("path",{fill:"#000",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917H43.065v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4V12.822c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"}));function V({showText:e,showLogo:t,mode:a,layout:r,...d}){const p=a==="light"?n.jsx(zn,{}):n.jsx(Cn,{}),c=a==="light"?n.jsx(Nn,{className:"logo-text"}):n.jsx(Pn,{className:"logo-text"});return n.jsxs(Mn,{layout:r,...d,children:[t&&p,e&&c]})}V.propTypes={mode:o.oneOf(["light","dark"]),layout:o.oneOf(["vertical","horizontal"]),showText:o.bool,showLogo:o.bool};V.defaultProps={mode:"dark",layout:"vertical",showText:!0,showLogo:!0};const Mn=g("span")`
|
|
16
16
|
display: inline-flex;
|
|
17
17
|
flex-direction: ${e=>e.layout==="horizontal"?"row":"column"};
|
|
18
18
|
justify-content: center;
|
|
@@ -22,7 +22,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
22
22
|
${e=>e.layout==="vertical"?"margin-top: 8px;":""}
|
|
23
23
|
${e=>e.layout==="vertical"?"":"margin-left: 8px;"};
|
|
24
24
|
}
|
|
25
|
-
`;function ie({images:e,links:t,prefix:a,addons:r,logo:
|
|
25
|
+
`;function ie({images:e,links:t,prefix:a,addons:r,logo:d,...p}){const c=te(),i=oe(),u=(s,m)=>new RegExp(`/${m}`).test(i.pathname);return n.jsxs(In,{...p,children:[n.jsx(Y,{to:"/",className:"sidebar-logo",children:d||n.jsx(V,{showText:!1,size:20})}),t.map(({url:s,name:m,title:x,showBadge:y})=>{const w=u(s,m);return n.jsxs(Rn,{component:Y,selected:w,to:s,children:[n.jsx(se,{name:e[m],size:36,color:w?"#00c2c4":c.typography.color.main,prefix:a,showBadge:y}),n.jsx(I,{component:"span",className:"menu-title",children:x})]},s)}),n.jsx("div",{style:{flex:1}}),r]})}ie.propTypes={images:o.object.isRequired,links:o.array.isRequired,prefix:o.string,addons:o.any,logo:o.any};ie.defaultProps={prefix:"/images",addons:null,logo:null};const In=l.memo(g("div")`
|
|
26
26
|
flex: 1;
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
@@ -43,7 +43,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
43
43
|
display: block;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`),
|
|
46
|
+
`),xe="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",Rn=g(en)`
|
|
47
47
|
&& {
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
@@ -51,13 +51,13 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
51
51
|
align-items: center;
|
|
52
52
|
width: 100%;
|
|
53
53
|
transition: all 200ms ease-in-out;
|
|
54
|
-
background: ${e=>e.selected?
|
|
54
|
+
background: ${e=>e.selected?xe:""};
|
|
55
55
|
padding: 24px 0;
|
|
56
56
|
border-left: 2px solid ${e=>e.selected?ee.A700:"transparent"};
|
|
57
57
|
border-radius: 0;
|
|
58
58
|
|
|
59
59
|
&:hover {
|
|
60
|
-
background: ${
|
|
60
|
+
background: ${xe};
|
|
61
61
|
border-left-color: ${ee.A700};
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -72,7 +72,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
72
72
|
color: ${e=>e.theme.palette.text.primary};
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Ln=g(un)`
|
|
76
76
|
&& {
|
|
77
77
|
z-index: ${e=>e.theme.zIndex.drawer};
|
|
78
78
|
background: ${e=>e.theme.palette.background.default};
|
|
@@ -142,7 +142,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
142
142
|
display: block;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`;function le({children:e,brand:t,brandAddon:a,description:r,addons:
|
|
145
|
+
`;function le({children:e,brand:t,brandAddon:a,description:r,addons:d,onToggleMenu:p,homeUrl:c,logo:i,...u}){return n.jsx(Ln,{position:"sticky",className:"header",...u,children:n.jsxs(sn,{disableGutters:!1,className:"header-toolbar",children:[n.jsx(be,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:p,children:n.jsx(je,{})}),n.jsxs(Y,{to:c,className:"header-link",children:[n.jsx($e,{mdDown:!0,children:n.jsx("div",{className:"header-logo",children:i||n.jsx(V,{showText:!1})})}),n.jsxs("div",{className:"header-title",children:[n.jsxs(I,{component:"h2",noWrap:!0,className:"header-title__primary",children:[t,a]}),n.jsx(I,{component:"p",noWrap:!0,className:"header-title__secondary",children:r})]})]}),n.jsx(k,{flexGrow:1}),!!e&&n.jsx("div",{className:"header-children",children:e}),n.jsx("div",{className:"header-addons",children:d})]})})}le.propTypes={onToggleMenu:o.func.isRequired,brand:o.string.isRequired,brandAddon:o.object,description:o.any.isRequired,children:o.any,addons:o.any,homeUrl:o.string,logo:o.any};le.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function A(e){var x;const t=nn(e,A,["dark","style"]),{className:a,copyStart:r,style:d,brand:p,dark:c,addon:i}=t,u=`${new Date().getFullYear()}`,s=`${r}`,m=u===s?u:`${s}-${u}`;return n.jsxs(Tn,{className:a,style:d,dark:c,children:[n.jsx(O,{maxWidth:!1,children:n.jsxs(I,{component:"div",className:"footer",children:[n.jsxs(I,{component:"p",className:"footer-item",children:[n.jsxs("span",{className:"footer-copy",children:["Copyright © ",m," "]}),n.jsx("span",{className:"footer-brand",children:p})]}),i&&n.jsx(I,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),n.jsxs(I,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",n.jsx(V,{mode:c?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),n.jsx(k,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(x=window==null?void 0:window.blocklet)==null?void 0:x.version})]})}A.propTypes={dark:o.bool,className:o.string,copyStart:o.oneOfType([o.string,o.number]),brand:o.string,style:o.object,addon:o.node};A.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Tn=g("div",{shouldForwardProp:e=>e!=="dark"})`
|
|
146
146
|
position: relative;
|
|
147
147
|
margin-top: 64px;
|
|
148
148
|
padding: 24px 0 32px;
|
|
@@ -230,7 +230,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
230
230
|
box-shadow: 2px 16px 10px 0 rgba(0, 0, 0, ${e=>e.theme.mode==="light"?.05:.5});
|
|
231
231
|
border: 0;
|
|
232
232
|
}
|
|
233
|
-
`;function de({children:e,title:t,brand:a,description:r,brandAddon:
|
|
233
|
+
`;function de({children:e,title:t,brand:a,description:r,brandAddon:d,headerAddon:p,images:c,links:i,prefix:u,fullWidth:s,contentLayout:m,className:x,homeUrl:y,logo:w,...$}){const f=ve(document.body),z=(f==null?void 0:f.width)||0,[P,F]=l.useState(z>=960?"permanent":"temporary"),[W,N]=l.useState(P==="permanent");l.useEffect(()=>{const T=z>=960?"permanent":"temporary";F(T),N(T!=="temporary")},[z]);const b=()=>{N(!W)},C=s||m==="row";return n.jsxs(_n,{className:`dashboard ${x}`,...$,children:[n.jsx(ye,{title:`${t}-${a}`}),n.jsx(le,{className:"dashboard__header",onToggleMenu:b,brand:a,brandAddon:d,description:r,addons:p,homeUrl:y,logo:w}),n.jsxs(k,{display:"flex",className:"dashboard__body",children:[n.jsx(ke,{variant:P,className:"drawer",classes:{paper:"drawerPaper"},open:W,onClose:b,ModalProps:{disablePortal:!0,keepMounted:!0},children:n.jsx(ie,{className:"dashboard__sidebar",images:c,links:i,prefix:u,logo:w})}),n.jsxs(k,{className:"dashboard__main",children:[n.jsx(O,{maxWidth:C?!1:"lg",className:"dashboard__content",children:e}),n.jsx(A,{})]})]})]})}de.propTypes={children:o.any.isRequired,title:o.string,brand:o.string.isRequired,links:o.array.isRequired,images:o.object.isRequired,brandAddon:o.object,description:o.any.isRequired,headerAddon:o.any,prefix:o.string,contentLayout:o.oneOf(["row","column"]),fullWidth:o.bool,className:o.string,homeUrl:o.string,logo:o.any};de.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Me({height:e,...t}){return n.jsx(Bn,{height:e,...t})}Me.propTypes={height:o.oneOfType([o.number,o.string]).isRequired};const Bn=g(k)`
|
|
234
234
|
overflow: hidden;
|
|
235
235
|
&:before {
|
|
236
236
|
content: '';
|
|
@@ -243,7 +243,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
243
243
|
float: left;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
}
|
|
246
|
-
`;function
|
|
246
|
+
`;function E({logo:e,brand:t,brandAddon:a,description:r,children:d,addons:p,prepend:c,align:i,maxWidth:u,homeLink:s,...m}){const x=l.useRef(),[y,w]=l.useState("0px"),$={minWidth:y};l.useEffect(()=>{const{searchParams:f}=new URL(window.location.href);f.get("inviter")&&window.localStorage.setItem("inviter",f.get("inviter")),x.current&&w(`${x.current.offsetWidth}px`)},[]);const j=()=>{const f=n.jsxs(n.Fragment,{children:[e&&n.jsx("div",{className:"header-logo",ref:x,children:e}),t&&n.jsx(Me,{height:44,sx:{flexShrink:{xs:1}},children:n.jsxs("div",{className:"header-brand",children:[n.jsx("div",{className:"header-brand-title",children:n.jsx("h2",{children:t})}),n.jsx("div",{className:"header-brand-desc",children:r})]})})]});return typeof s=="function"?s(f):n.jsx("a",{href:s,children:f})};return n.jsx(An,{...m,children:n.jsxs(O,{maxWidth:u,className:"header-container",children:[c,n.jsx("div",{className:"header-brand-wrapper",style:$,children:j()}),n.jsx("div",{className:"header-brand-addon",children:a}),i==="right"&&n.jsx(k,{display:"inline-block",flexGrow:1}),d,i==="left"&&n.jsx(k,{display:"inline-block",flexGrow:1}),n.jsx("div",{className:"header-addons",children:p})]})})}E.propTypes={logo:o.node,brand:o.node,brandAddon:o.node,description:o.node,children:o.node,addons:o.node,prepend:o.node,align:o.oneOf(["left","right"]),maxWidth:o.oneOfType([o.string,o.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:o.oneOfType([o.string,o.func])};E.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const An=g(k)`
|
|
247
247
|
position: relative;
|
|
248
248
|
z-index: ${e=>e.theme.zIndex.appBar};
|
|
249
249
|
font-size: 14px;
|
|
@@ -339,7 +339,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
`;function ce({menu:e,prepend:t,children:a,...r}){const
|
|
342
|
+
`;function ce({menu:e,prepend:t,children:a,...r}){const d=te(),p=tn(d.breakpoints.down("md")),[c,i]=l.useState(!1),u=typeof a=="function"?a({isMobile:p,closeMenu:()=>i(!1)}):a,s=we({changed:!1,value:"",priority:""});return Z(()=>{var m;if((m=document.documentElement)!=null&&m.style){const x=()=>{s.changed&&(s.value?document.documentElement.style.setProperty("overflow",s.value,s.priority):document.documentElement.style.removeProperty("overflow"),s.value="",s.priority="",s.changed=!1)};return c?(s.changed=!0,s.value=document.documentElement.style.getPropertyValue("overflow"),s.priority=document.documentElement.style.getPropertyPriority("overflow"),document.documentElement.style.setProperty("overflow","revert","important")):x(),x}return()=>{}},[c]),a?n.jsxs(En,{prepend:t||n.jsx(be,{sx:{color:d.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!c),children:c?n.jsx(on,{}):n.jsx(je,{})}),...r,children:[!p&&u,p&&n.jsx(ke,{open:c,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:d.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:n.jsx(Fn,{children:u})})]}):n.jsx(E,{prepend:t,...r})}ce.propTypes={...E.PropTypes,children:o.oneOfType([o.node,o.func])};ce.defaultProps={...E.defaultProps};const En=g(E)`
|
|
343
343
|
.header-menu {
|
|
344
344
|
display: none;
|
|
345
345
|
}
|
|
@@ -349,7 +349,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
349
349
|
margin-right: 12px;
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
`,
|
|
352
|
+
`,Fn=g(O)`
|
|
353
353
|
padding-top: 8px;
|
|
354
354
|
padding-bottom: 16px;
|
|
355
355
|
.navmenu {
|
|
@@ -359,7 +359,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
359
359
|
border: 0;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
`,
|
|
362
|
+
`,Ie=g("nav")`
|
|
363
363
|
background-color: ${e=>e.$bgColor};
|
|
364
364
|
font-size: 16px;
|
|
365
365
|
// width: 100%;
|
|
@@ -436,7 +436,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
436
436
|
transition: transform 0.2s ease-in-out;
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
`,
|
|
439
|
+
`,Wn=g(Ie)`
|
|
440
440
|
padding: 8px 16px;
|
|
441
441
|
min-width: 50px;
|
|
442
442
|
// FIXME: @zhanghan 这个只是临时的解决方案,会导致 header align right 不能真正的右对齐,需要修改 header 才能真正解决这个问题
|
|
@@ -484,7 +484,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
484
484
|
display: block;
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
`,
|
|
487
|
+
`,Hn=g(Ie)`
|
|
488
488
|
font-size: 16px;
|
|
489
489
|
.navmenu-root {
|
|
490
490
|
display: flex;
|
|
@@ -536,7 +536,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
536
536
|
.navmenu-sub--opened > .navmenu-sub-container {
|
|
537
537
|
display: block;
|
|
538
538
|
}
|
|
539
|
-
`,pe=
|
|
539
|
+
`,pe=l.createContext();function Re(e){return e?l.Children.toArray(e).filter(t=>t.type===q||t.type===B):null}function Le(e){return l.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function D({items:e,mode:t,children:a,activeId:r,textColor:d,activeTextColor:p,bgColor:c,onSelected:i,...u}){var he;if(a=Re(a),!(e!=null&&e.length)&&!(a!=null&&a.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const s=we({activeId:r,openedIds:[],hiddenItemCount:0}),m=U(h=>{s.activeId=h,i==null||i(h)}),x=U(h=>{s.openedIds.push(h)}),y=U(h=>{s.openedIds=s.openedIds.filter(v=>v!==h)}),w=Z(()=>({...s,mode:t,activate:m,open:x,close:y}),[s.activeId,s.hiddenItemCount,s.openedIds,t,m,x,y]),$=l.useRef(),j=l.useRef([]),f=l.useRef(),z=s.hiddenItemCount===((he=j.current)==null?void 0:he.length),P=z?{marginLeft:"0px"}:void 0,F=Z(()=>z?n.jsx(xn,{}):n.jsx(fn,{}),[z]),W=h=>l.Children.map(h,(v,R)=>l.cloneElement(v,{ref:M=>{j.current[R]=M}})),N=ve($.current),{run:b}=hn(U(()=>{let h=0,v=0,R=!1;const M=(N==null?void 0:N.width)||0,K=f.current?f.current.offsetWidth+parseFloat(window.getComputedStyle(f.current).marginLeft):0;j.current.forEach((H,We)=>{if(H){H.style.display="flex";const He=We>0?parseFloat(window.getComputedStyle(H).marginLeft):0,me=H.offsetWidth+He;M-K>=h+me&&!R?h+=me:(H.style.display="none",R=!0,v++)}}),v!==s.hiddenItemCount&&(s.hiddenItemCount=v)}),{wait:100});l.useLayoutEffect(()=>{t==="horizontal"&&b()},[N==null?void 0:N.width,t]),l.useEffect(()=>{if(t==="horizontal")return b(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[t,e]),l.useEffect(()=>{r!=null&&(s.activeId=r)},[r]);const C=L("navmenu",`navmenu--${t}`,u.className),T=(h,v,R=!1)=>h!=null&&h.children?n.jsx(B,{id:h.id,icon:h.icon,label:h.label,ref:R?M=>{j.current[v]=M}:void 0,children:h.children.map((M,K)=>T(M,K,!1))},h.id):n.jsx(q,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:R?M=>{j.current[v]=M}:void 0},h.id),Ee=e?e==null?void 0:e.slice(-s.hiddenItemCount).map((h,v)=>T(h,v)):a==null?void 0:a.slice(-s.hiddenItemCount),Fe=t==="inline"?Hn:Wn;return n.jsx(pe.Provider,{value:w,children:n.jsx(Fe,{...u,className:C,$textColor:d,$activeTextColor:p,$bgColor:c,children:n.jsxs("ul",{className:"navmenu-root",ref:$,children:[e?e.map((h,v)=>T(h,v,!0)):W(a),s.hiddenItemCount>0&&n.jsx(B,{expandIcon:!1,icon:F,label:"",ref:f,style:P,children:Ee})]})})})}D.propTypes={items:o.array,mode:o.oneOf(["horizontal","vertical","inline"]),children:o.array,activeId:o.string,textColor:o.string,activeTextColor:o.string,bgColor:o.string,onSelected:o.func};D.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const q=l.forwardRef(({id:e,icon:t,label:a,active:r,onClick:d,...p},c)=>{const i=Le(e),{activeId:u,activate:s}=l.useContext(pe),m=L("navmenu-item",{"navmenu-item--active":u===i},p.className);l.useEffect(()=>{r&&s(i)},[r]);const x=()=>{d==null||d(),s(i)};return n.jsxs("li",{...p,className:m,onClick:x,ref:c,children:[t&&n.jsx("span",{className:"navmenu-item-icon",children:t}),n.jsx("span",{className:"navmenu-item-label",children:a})]})});q.propTypes={id:o.string,icon:o.element,label:o.node,active:o.bool,onClick:o.func};q.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const B=l.forwardRef(({id:e,icon:t,label:a,children:r,expandIcon:d,...p},c)=>{const i=Le(e),{openedIds:u,open:s,close:m,mode:x}=l.useContext(pe),y=u.includes(i),w=L("navmenu-sub",{"navmenu-sub--opened":y},p.className),$=x==="inline",j=$?{onClick:()=>{u.includes(i)?m(i):s(i)}}:{onMouseEnter:()=>s(i),onMouseLeave:()=>m(i)},f=$?{onClick:z=>z.stopPropagation()}:{};return n.jsxs("li",{...p,className:w,...j,ref:c,children:[t&&n.jsx("span",{className:"navmenu-sub-icon",children:t}),n.jsx("span",{className:"navmenu-sub-label",children:a}),d&&n.jsx("span",{className:"navmenu-sub-expand-icon",children:(d==null?void 0:d({isOpen:y}))||d}),n.jsx("div",{className:"navmenu-sub-container",...f,children:n.jsx("ul",{className:"navmenu-sub-list",children:Re(r)})})]})});B.propTypes={id:o.string,icon:o.element,label:o.node.isRequired,children:o.array.isRequired,expandIcon:o.oneOfType([o.node,o.func])};B.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>n.jsx(mn,{style:{transform:`rotate(${e?180:0}deg)`}})};D.Item=q;D.Sub=B;function J({children:e,routerLinkComponent:t,to:a,external:r,...d}){return r?n.jsx("a",{href:a,...d,children:e}):n.jsx(t,{to:a,...d,children:e})}J.propTypes={children:o.any.isRequired,routerLinkComponent:o.elementType.isRequired,external:o.bool,to:o.oneOfType([o.string,o.object]).isRequired};J.defaultProps={external:!1};function Te(e){return n.jsx(J,{routerLinkComponent:Y,...e})}function ue({className:e,...t}){const a=t.external&&typeof e=="function"?e({}):e;return n.jsx(J,{routerLinkComponent:an,className:a,...t})}ue.propTypes={className:o.oneOfType([o.string,o.func])};ue.defaultProps={className:""};function _e(e,t){var u;if((u=e.children)!=null&&u.length)return On(e,t);const{url:a,icon:r,title:d,showBadge:p,external:c,active:i}=e;return n.jsx("li",{className:"layout-sidebar-item",children:n.jsxs(ue,{external:c,to:a,className:({isActive:s})=>L("layout-sidebar-link",{"layout-sidebar-link--active":c?i:s}),children:[r&&n.jsx("span",{className:`layout-sidebar-icon ${p?"layout-sidebar-badge":""}`,children:r}),n.jsx(I,{component:"span",className:"layout-sidebar-link-text",children:d})]})},`${a}-${t}`)}function On(e,t){return n.jsxs("li",{className:"layout-sidebar-group",children:[n.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),n.jsx("ul",{children:e.children.map(_e)})]},`group-${e.title}-${t}`)}function Q({links:e,addons:t,dense:a,...r}){return n.jsxs(Dn,{...r,className:L({"layout-sidebar-dense":a}),children:[n.jsx("ul",{children:e.map(_e)}),n.jsx("div",{style:{flex:1}}),t]})}Q.propTypes={links:o.array.isRequired,addons:o.any,dense:o.bool};Q.defaultProps={addons:null,dense:!1};const Vn="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",Dn=g("div")`
|
|
540
540
|
display: flex;
|
|
541
541
|
flex-direction: column;
|
|
542
542
|
ul {
|
|
@@ -555,7 +555,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
555
555
|
&:hover,
|
|
556
556
|
&.layout-sidebar-link--active {
|
|
557
557
|
color: ${e=>e.theme.palette.primary.main};
|
|
558
|
-
background: ${
|
|
558
|
+
background: ${Vn};
|
|
559
559
|
border-left-color: ${ee.A700};
|
|
560
560
|
}
|
|
561
561
|
}
|
|
@@ -661,7 +661,7 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
661
661
|
margin-top: 16px;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
|
-
`;function qn({closeMenu:e,...t}){const a=oe();return
|
|
664
|
+
`;function qn({closeMenu:e,...t}){const a=oe();return l.useEffect(()=>{e()},[a]),n.jsx(D,{...t})}function Be(e,t){return e.map(a=>{var r;return(r=a.children)!=null&&r.length?{...a,label:a.title,children:Be(a.children,t)}:{...a,label:n.jsx(Te,{to:a.url,external:a.external,children:a.title}),active:a.external?a.active:!!rn({path:a.url,end:!1},t.pathname)}})}function S({children:e,title:t,headerProps:a,links:r=[],fullWidth:d,dense:p,footerProps:c,...i}){const u=te(),{inFullPage:s,showToggleButton:m,headerVisible:x,footerVisible:y,sidebarVisible:w,toggleFullPage:$}=gn(),j=oe(),f=l.useMemo(()=>Be(r,j),[j,r]),z=f.some(b=>{var C;return!!((C=b.children)!=null&&C.length)}),P=p==="auto"?f.length>=8||z:p,F=L("dashboard",{"dashboard-dense":P},i.className),N={homeLink:b=>{var C;return n.jsx(Te,{to:((C=window.blocklet)==null?void 0:C.prefix)||"/",children:b})},...a};return l.useEffect(()=>{const{searchParams:b}=new URL(window.location.href);b.get("inviter")&&window.localStorage.setItem("inviter",b.get("inviter"))},[]),n.jsxs(Sn,{...i,className:F,children:[n.jsx(ye,{title:t},t),x&&n.jsx(Un,{...N,className:"dashboard-header",children:r!=null&&r.length?({isMobile:b,closeMenu:C})=>b?n.jsx(qn,{mode:"inline",items:f,closeMenu:C,bgColor:"transparent",activeTextColor:u.palette.primary.main}):null:null}),n.jsxs(k,{display:"flex",className:"dashboard-body",children:[n.jsx($e,{mdDown:!0,children:!!(r!=null&&r.length)&&w&&n.jsx(k,{className:"dashboard-sidebar",children:P?n.jsx(Q,{links:r,dense:P}):n.jsx(k,{className:"dashboard-sidebar-container",children:n.jsx(Q,{links:r,dense:P})})})}),n.jsxs(k,{className:"dashboard-main",children:[m&&n.jsx(k,{sx:{position:"absolute",top:4,right:4,display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24,color:"#fff",bgcolor:"rgba(158,158,158, 0.6);",borderRadius:1,cursor:"pointer"},onClick:$,children:s?n.jsx(Pe,{style:{fontSize:18}}):n.jsx(Ce,{style:{fontSize:18}})}),n.jsx(O,{className:"dashboard-content",...d&&{maxWidth:!1},children:e}),y&&n.jsx(A,{...c})]})]})]})}S.propTypes={children:o.any.isRequired,title:o.string,links:o.array.isRequired,headerProps:o.object,fullWidth:o.bool,sidebarWidth:o.number,dense:o.oneOf([!0,!1,"auto"])};S.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const Sn=g("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
|
|
665
665
|
&.dashboard {
|
|
666
666
|
display: flex;
|
|
667
667
|
flex-direction: column;
|
|
@@ -718,4 +718,4 @@ import{aH as Se,aG as Ue,aI as Ge,ak as Xe,aJ as X,aM as _,r as p,aK as Ye,aL as
|
|
|
718
718
|
.header-container {
|
|
719
719
|
max-width: 100%;
|
|
720
720
|
}
|
|
721
|
-
`;function
|
|
721
|
+
`;function Ae({legacy:e,...t}){return e?n.jsx(de,{...t}):n.jsx(Ne,{children:n.jsx(S,{...t})})}Ae.propTypes={...S.propTypes,legacy:o.bool,footerProps:o.shape(A.propTypes)};Ae.defaultProps={...S.defaultProps,legacy:!0};export{Ae as D,D as N,ce as R,gn as u};
|