@abtnode/webapp 1.16.29-beta-cbfd116d → 1.16.29-beta-1fedbcdd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{Add-DiqSqlhj.js → Add-BHECDESg.js} +1 -1
- package/dist/assets/{ArrowDropDown-9DQuvaIf.js → ArrowDropDown-BDtEjKYX.js} +1 -1
- package/dist/assets/{Autocomplete-DAPdBU_C.js → Autocomplete-DFC_FbfN.js} +1 -1
- package/dist/assets/{Breadcrumbs-JY-AOJsc.js → Breadcrumbs--tlhx_kY.js} +1 -1
- package/dist/assets/{ButtonGroup-CnSZJdO-.js → ButtonGroup-BsGeyHPH.js} +1 -1
- package/dist/assets/{CheckCircle-BcIXmxwL.js → CheckCircle-1AjtuJml.js} +1 -1
- package/dist/assets/{ChevronLeft-GdOz3FFz.js → ChevronLeft-DtF4yZw5.js} +1 -1
- package/dist/assets/{ChevronRight-DTSbdiO9.js → ChevronRight-Cg_Yljmq.js} +1 -1
- package/dist/assets/{Close-DSPV3CNA.js → Close-Dh1S6C94.js} +1 -1
- package/dist/assets/{Delete-C5xn6WBN.js → Delete-DrNN1_NC.js} +1 -1
- package/dist/assets/DeleteOutline-BbEJp5Yv.js +1 -0
- package/dist/assets/DeleteOutline-DcoGpr4d.js +1 -0
- package/dist/assets/{Done-Bj8_3suh.js → Done-BQoc16v1.js} +1 -1
- package/dist/assets/{Edit-eEaW9uQd.js → Edit-CJIEc-k0.js} +1 -1
- package/dist/assets/{EditIcon-CwmNryz4.js → EditIcon-BCZEwD1D.js} +1 -1
- package/dist/assets/{ExpandMore-B-eh--rZ.js → ExpandMore-DBZtVOu2.js} +1 -1
- package/dist/assets/{FilterList-BdSdHr3_.js → FilterList-DFTqCvYV.js} +1 -1
- package/dist/assets/{Google-WY0BO4_p.js → Google-2ljVxqxA.js} +1 -1
- package/dist/assets/{Https-2PaIz1Mj.js → Https-HIHB_mu-.js} +1 -1
- package/dist/assets/{InputAdornment-DDTwW0WR.js → InputAdornment-7NSF5tvp.js} +1 -1
- package/dist/assets/{InputLabel-kl4d4Afd.js → InputLabel-BVacxmju.js} +1 -1
- package/dist/assets/{LastPage-erHk2ZH1.js → LastPage-TCg78JGB.js} +1 -1
- package/dist/assets/{Launch-CAo1lLU6.js → Launch-B7XdcudY.js} +1 -1
- package/dist/assets/{Link-DXUHsj8a.js → Link-DEY_OBXK.js} +1 -1
- package/dist/assets/{LoadingButton-aHGLPfZ-.js → LoadingButton-DqL1fjxO.js} +1 -1
- package/dist/assets/{LockIcon-1DSaApOb.js → LockIcon-C9kXDs34.js} +1 -1
- package/dist/assets/{Loop-CuMM_YqO.js → Loop-CU1cNNql.js} +1 -1
- package/dist/assets/{MoreVert-pFjb7TqH.js → MoreVert-Dt18zfj9.js} +1 -1
- package/dist/assets/{Pagination-BHNfBA4C.js → Pagination-BdwJr2l9.js} +1 -1
- package/dist/assets/{Public-BmojyP-T.js → Public-xCpRfmFo.js} +1 -1
- package/dist/assets/{SchemaReference.es-ajHOOp8o.js → SchemaReference.es-uz8Zc0eu.js} +1 -1
- package/dist/assets/{Search-raLlCMJk.js → Search-CDAInWfT.js} +1 -1
- package/dist/assets/{Select-cp6_ZHE7.js → Select-DM4jz5L4.js} +1 -1
- package/dist/assets/{Skeleton-D5UyHItu.js → Skeleton-gv5XrTGj.js} +1 -1
- package/dist/assets/{Slider-ecnPtLPj.js → Slider--a155kQq.js} +1 -1
- package/dist/assets/{Stepper-D7Rp4vlm.js → Stepper-D4YMSiMG.js} +1 -1
- package/dist/assets/{TextField-De1OeNfZ.js → TextField-Cb27WYFh.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-Bdg3Invr.js → ToggleButtonGroup-zw2F4d4K.js} +1 -1
- package/dist/assets/{ViewList-C83zj7rF.js → ViewList-BN391huQ.js} +1 -1
- package/dist/assets/{actions-C-0J_ddu.js → actions-CqEyEGdi.js} +1 -1
- package/dist/assets/{actions-7_FKWiUA.js → actions-Dt2hzsMg.js} +1 -1
- package/dist/assets/{agreement-CnVZqe64.js → agreement-8wzPI5A2.js} +1 -1
- package/dist/assets/api-BNsi_m3T.js +1 -0
- package/dist/assets/{app-avatar-g5Pn3nvf.js → app-avatar-Ciqu7DzN.js} +1 -1
- package/dist/assets/{audit-logs-if1tZvua.js → audit-logs-DM5qrzhq.js} +1 -1
- package/dist/assets/blocklet-B866XgcM.js +1 -0
- package/dist/assets/{brace-fold.es-DUo6FtkK.js → brace-fold.es-CDyoGvqf.js} +1 -1
- package/dist/assets/{bundle-avatar-CHZNUrui.js → bundle-avatar-DQouFsLp.js} +1 -1
- package/dist/assets/{chart-BqdlHAIk.js → chart-CxTMvY28.js} +1 -1
- package/dist/assets/{click-to-copy-Ci6mXYLS.js → click-to-copy-BWS50T1W.js} +1 -1
- package/dist/assets/{closebrackets.es-B_3eQLj6.js → closebrackets.es-C8aDSBEc.js} +1 -1
- package/dist/assets/{codemirror.es-CxmI1MZI.js → codemirror.es-DIkx1wNL.js} +1 -1
- package/dist/assets/{comment.es-CzvTeML6.js → comment.es-Bj4rfy15.js} +1 -1
- package/dist/assets/{config-navigation-CVUMcunz.js → config-navigation-DHVobtoo.js} +1 -1
- package/dist/assets/{delete-confirm-BvJrJyBD.js → delete-confirm-COcoVEWd.js} +1 -1
- package/dist/assets/{detail-CbKNMHOv.js → detail-zEMR4hLv.js} +3 -3
- package/dist/assets/{dialog.es-BJ41s4Cl.js → dialog.es-5ELfbGGf.js} +1 -1
- package/dist/assets/{download-9ooqNiDB.js → download-CufT6M7y.js} +1 -1
- package/dist/assets/{foldgutter.es-D-hc2eHU.js → foldgutter.es-BluK5_B7.js} +1 -1
- package/dist/assets/getValidReactChildren-C6TVYF1_.js +1 -0
- package/dist/assets/{hint.es-CxW18Lnu.js → hint.es-_r7Ti8Sm.js} +1 -1
- package/dist/assets/{hint.es2-CpBfqvnT.js → hint.es2-0WBsR7fo.js} +1 -1
- package/dist/assets/{iframe-dtu0sSkn.js → iframe-D7XRwAcu.js} +1 -1
- package/dist/assets/{index-2GizaExc.js → index-4cUBvM9c.js} +1 -1
- package/dist/assets/{index-DkHucXVl.js → index-8Whrl_cz.js} +1 -1
- package/dist/assets/{index-DJ0BZ1f0.js → index-B8SfR5SO.js} +5 -5
- package/dist/assets/index-BL91wUxY.js +21 -0
- package/dist/assets/{index-CPTaSMMt.js → index-BMpCIzIn.js} +1 -1
- package/dist/assets/{index-B9bBENg5.js → index-BQHGajKV.js} +1 -1
- package/dist/assets/{index-BK9uVuLM.js → index-B_rtSE94.js} +10 -10
- package/dist/assets/{index-1ouNgxgi.js → index-BdwqHkId.js} +1 -1
- package/dist/assets/{index-DQYRaCdB.js → index-BlbV7Lbg.js} +41 -41
- package/dist/assets/{index-Cvt_EuXc.js → index-BmZ7fxmH.js} +1 -1
- package/dist/assets/{index-aG_TZ2ao.js → index-BmgCwWx8.js} +1 -1
- package/dist/assets/{index-Col2kLJU.js → index-BwHAod4o.js} +1 -1
- package/dist/assets/{index-Cwul5-Ge.js → index-Bx-0NTkd.js} +1 -1
- package/dist/assets/{index-DfnZyC-Q.js → index-C8tv-5HO.js} +1 -1
- package/dist/assets/{index-dn7DkX5z.js → index-CB-tsmEC.js} +1 -1
- package/dist/assets/index-CXHazti0.js +54 -0
- package/dist/assets/{index-Dpb6wQjU.js → index-Ce_LNkxm.js} +1 -1
- package/dist/assets/{index-B5t-vzvI.js → index-Ch7pvL8F.js} +1 -1
- package/dist/assets/{index-DeyjciFW.js → index-CkgIO-Ei.js} +1 -1
- package/dist/assets/{index-D5PxJp2e.js → index-CskaRAHF.js} +1 -1
- package/dist/assets/{index-B_svRTuF.js → index-CuAczo7P.js} +1 -1
- package/dist/assets/{index-BK64HUrZ.js → index-CwegGsPe.js} +1 -1
- package/dist/assets/{index-BLWTCfoo.js → index-CxOlUKp-.js} +1 -1
- package/dist/assets/{index-BsaVztdp.js → index-D3a_ZvXr.js} +1 -1
- package/dist/assets/{index-BWhWAS_S.js → index-D4-XA9ZN.js} +1 -1
- package/dist/assets/{index-Cy0-aW7U.js → index-D40jtuqJ.js} +1 -1
- package/dist/assets/{index-CY_rOxjZ.js → index-D4GRkcdU.js} +1 -1
- package/dist/assets/{index-QOcfFwdi.js → index-D52n0VvB.js} +1 -1
- package/dist/assets/{index-B340bMPK.js → index-DAHLtXpZ.js} +1 -1
- package/dist/assets/{index-WfxCd25J.js → index-DCPwvqqA.js} +1 -1
- package/dist/assets/{index-C5ovAp04.js → index-D_4uGOGz.js} +1 -1
- package/dist/assets/{index-D3BjUmxN.js → index-Db3MJtg9.js} +1 -1
- package/dist/assets/{index-C_RXntkM.js → index-Dczcia8A.js} +3 -3
- package/dist/assets/{index-DU8rbzfp.js → index-DhMPr-Sf.js} +1 -1
- package/dist/assets/{index-QHILeAPv.js → index-Dl7kYtXZ.js} +1 -1
- package/dist/assets/{index-BBOgCzBo.js → index-DmSo_rH-.js} +1 -1
- package/dist/assets/{index-8Fg683El.js → index-DnntsDmR.js} +1 -1
- package/dist/assets/{index-SA9KFCJd.js → index-LhVZUpfu.js} +1 -1
- package/dist/assets/{index-B37qKP2B.js → index-PLNnQedK.js} +1 -1
- package/dist/assets/{index-Clb1BN1w.js → index-WqNucEB5.js} +1 -1
- package/dist/assets/{index-BeNQNQmg.js → index-_5qLstzu.js} +3 -3
- package/dist/assets/{index-BCE3QRG4.js → index-_k8oY6yd.js} +1 -1
- package/dist/assets/{index-ApUKcTB6.js → index-opQnaV74.js} +1 -1
- package/dist/assets/{index-DX3JXbQb.js → index-sv8YNhSG.js} +1 -1
- package/dist/assets/{index-Dml7jmrq.js → index-yTu8ymIr.js} +2 -2
- package/dist/assets/{index.es-BDInjNfg.js → index.es-BYddSuDT.js} +1 -1
- package/dist/assets/{index.esm-BU72PdQQ.js → index.esm-BD4d3uVr.js} +1 -1
- package/dist/assets/{info-addon.es-Xn3SUOrf.js → info-addon.es-BJJ5pk51.js} +1 -1
- package/dist/assets/{info.es-B1u_NGqd.js → info.es-BprPoOcs.js} +1 -1
- package/dist/assets/{install-from-url-CH7lpg1m.js → install-from-url-ZYnVPJZA.js} +1 -1
- package/dist/assets/{invitation-BsnKeELU.js → invitation-C4QKldyI.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-t1z6fh3o.js → is-path-prefix-equal-BVP7ErMV.js} +1 -1
- package/dist/assets/{isEqual-Da-RbHn4.js → isEqual-D_04lJVB.js} +1 -1
- package/dist/assets/{item-CV3h78Bc.js → item-ChafvRb9.js} +1 -1
- package/dist/assets/{javascript.es-OqtW_UTL.js → javascript.es-tZuBoyo_.js} +1 -1
- package/dist/assets/{jump-to-line.es-zSveRTL4.js → jump-to-line.es-DxxXKbig.js} +1 -1
- package/dist/assets/{jump.es-D9HErZw4.js → jump.es-UWy_0T4j.js} +1 -1
- package/dist/assets/{line-3LuKyLyu.js → line-fPz-YMhM.js} +3 -3
- package/dist/assets/{lint.es-BwS4nEkH.js → lint.es-Dh2OBAEf.js} +1 -1
- package/dist/assets/{lint.es2-kWn9droA.js → lint.es2-_OaBpmrB.js} +1 -1
- package/dist/assets/{lint.es3-DqCXv9QX.js → lint.es3-CywO0hV7.js} +1 -1
- package/dist/assets/{list-header-B7OR53lN.js → list-header-Dt_lAmlF.js} +1 -1
- package/dist/assets/{log-B3I8TEBI.js → log-KWjsxMN4.js} +1 -1
- package/dist/assets/{lottie-CpmMaK50.js → lottie-CdVErR-8.js} +1 -1
- package/dist/assets/{matchbrackets.es-CwQH4b4x.js → matchbrackets.es-XbamjB0p.js} +1 -1
- package/dist/assets/{memory-Dcz53oCr.js → memory-iTIi7m4P.js} +1 -1
- package/dist/assets/{mode.es-B9Ou3L_t.js → mode.es-CxfnkJk0.js} +1 -1
- package/dist/assets/{mode.es2-Y9WZpOUZ.js → mode.es2-Dy3nODPA.js} +1 -1
- package/dist/assets/{mode.es3-BDsxnz5X.js → mode.es3-p9hzDihk.js} +1 -1
- package/dist/assets/{onlineParser.es-CZYol-HK.js → onlineParser.es-CpFSa7g2.js} +1 -1
- package/dist/assets/{overview-CqH7N4Bl.js → overview-Cn3o0JSR.js} +1 -1
- package/dist/assets/{react-igFgRd_9.js → react-DOpT91Sx.js} +3 -3
- package/dist/assets/{redux-BffWKrDO.js → redux-CrGkFo1C.js} +1 -1
- package/dist/assets/{runtime-CEr1Nvlj.js → runtime-DH27bqmv.js} +1 -1
- package/dist/assets/{search.es-Dr95-rca.js → search.es-DU6gLcL9.js} +1 -1
- package/dist/assets/{searchcursor.es-BOckckbU.js → searchcursor.es-DYLQM5hy.js} +1 -1
- package/dist/assets/service-BE-W-CQl.js +1 -0
- package/dist/assets/{shorten-label-Cwua8w8y.js → shorten-label-C8wzxApJ.js} +1 -1
- package/dist/assets/{show-hint.es-DC1xY__9.js → show-hint.es-aYSOCw1L.js} +1 -1
- package/dist/assets/{slicedToArray-CS-bonDA.js → slicedToArray-CTprXHPZ.js} +1 -1
- package/dist/assets/{spaces-Cy0WiDqw.js → spaces-a8m9RMdh.js} +1 -1
- package/dist/assets/{sublime.es-DpA2RzKn.js → sublime.es-DWBRVmfV.js} +1 -1
- package/dist/assets/{switch-control-NaEEozhc.js → switch-control-DPEcexre.js} +1 -1
- package/dist/assets/{table-icons-B0kRJbTK.js → table-icons-C4o-NnhS.js} +2 -2
- package/dist/assets/{tag-Z7mPKVvq.js → tag-Bdou5m1X.js} +1 -1
- package/dist/assets/{team-BJ7ItRYP.js → team-DHy_RyhB.js} +1 -1
- package/dist/assets/{toUpper-BIRWGc_f.js → toUpper-CAcCx7d-.js} +1 -1
- package/dist/assets/{traffic-BUI5AcsC.js → traffic-DB2NxLKJ.js} +1 -1
- package/dist/assets/{ua-parser-C8b57cGC.js → ua-parser-BSFgl4aM.js} +1 -1
- package/dist/assets/{url-evaluation-BmTdICYl.js → url-evaluation-C3ISZkf1.js} +1 -1
- package/dist/assets/{url-join-CzgNur4y.js → url-join-DiQ25GxI.js} +1 -1
- package/dist/assets/{use-blocklet-info-for-connect-did-spaces-DmO4dvo0.js → use-blocklet-info-for-connect-did-spaces-D54Dv1sp.js} +1 -1
- package/dist/assets/{useLocalStorage-BV7bkq7L.js → useLocalStorage-DjVTK9Hv.js} +1 -1
- package/dist/assets/{util-ClcVo8u2.js → util-Cymy87Bf.js} +1 -1
- package/dist/assets/{wait-container-Bo2u9r31.js → wait-container-D3CNDB0j.js} +1 -1
- package/dist/assets/{withStyles-gQ2FYysM.js → withStyles-CeJ3MZXD.js} +1 -1
- package/dist/assets/{wrap-locale-DgOTHwBu.js → wrap-locale-OY8SqaYo.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/DeleteOutline-CvnGFYQc.js +0 -1
- package/dist/assets/api-Ds0tawHV.js +0 -1
- package/dist/assets/blocklet-CAvqFbwn.js +0 -1
- package/dist/assets/getValidReactChildren-CSpxXCOO.js +0 -1
- package/dist/assets/index-BKS0pysx.js +0 -21
- package/dist/assets/index-BVm7HRmN.js +0 -54
- package/dist/assets/service-uk6SebUo.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__fileDeps=["./overview-
|
|
2
|
-
import{q as ze,t as Tt,bm as jt,r as x,F as R,j as p,J as $e,O as Z,B as Ue,x as _t,bn as Pt,M as _,A as J,K as qe,bh as He,bo as C,z as At,u as Ot,bp as ae,bq as Lt,V as _e,C as Pe,N as Dt,br as Bt,m as le,U as Mt,n as Nt,bs as Rt}from"./index-
|
|
1
|
+
const __vite__fileDeps=["./overview-Cn3o0JSR.js","./index-BlbV7Lbg.js","./index-D7K8de1w.css","./keyboard-arrow-down-rounded-DadBVmpO.js","./index-LhVZUpfu.js","./blocklet-B866XgcM.js","./url-evaluation-C3ISZkf1.js","./Delete-DrNN1_NC.js","./tag-Bdou5m1X.js","./Add-BHECDESg.js","./ExpandMore-DBZtVOu2.js","./LockIcon-C9kXDs34.js","./index-CxOlUKp-.js","./Https-HIHB_mu-.js","./is-path-prefix-equal-BVP7ErMV.js","./index-BMpCIzIn.js","./api-BNsi_m3T.js","./util-Cymy87Bf.js","./TextField-Cb27WYFh.js","./Select-DM4jz5L4.js","./InputLabel-BVacxmju.js","./LoadingButton-DqL1fjxO.js","./actions-Dt2hzsMg.js","./index-Db3MJtg9.js","./iframe-D7XRwAcu.js","./line-fPz-YMhM.js","./Done-BQoc16v1.js","./EditIcon-BCZEwD1D.js","./ArrowDropDown-BDtEjKYX.js","./ButtonGroup-BsGeyHPH.js","./getValidReactChildren-C6TVYF1_.js","./index-BmZ7fxmH.js","./ChevronRight-Cg_Yljmq.js","./index-PLNnQedK.js","./bundle-avatar-DQouFsLp.js","./app-avatar-Ciqu7DzN.js","./isEqual-D_04lJVB.js","./Loop-CU1cNNql.js","./Autocomplete-DFC_FbfN.js","./mode-B2dWMeTO.js","./Public-xCpRfmFo.js","./click-to-copy-BWS50T1W.js","./team-DHy_RyhB.js","./index-8Whrl_cz.js","./index.esm-BD4d3uVr.js","./Launch-B7XdcudY.js","./Edit-CJIEc-k0.js","./actions-CqEyEGdi.js","./useLocalStorage-DjVTK9Hv.js","./MoreVert-Dt18zfj9.js","./index-WqNucEB5.js","./redux-CrGkFo1C.js","./switch-control-DPEcexre.js","./Slider--a155kQq.js","./index-sv8YNhSG.js","./FilterList-DFTqCvYV.js","./LastPage-TCg78JGB.js","./Search-CDAInWfT.js","./index-DnntsDmR.js","./index-DU3JORH0.css","./config-navigation-DHVobtoo.js","./slicedToArray-CTprXHPZ.js","./index-C8tv-5HO.js","./index-DhMPr-Sf.js","./InputAdornment-7NSF5tvp.js","./index-DmSo_rH-.js","./index-D4-XA9ZN.js","./Skeleton-gv5XrTGj.js","./audit-logs-DM5qrzhq.js","./index-D4GRkcdU.js","./index-D4PP6P2d.css","./Pagination-BdwJr2l9.js","./index-D52n0VvB.js","./index-BdwqHkId.js","./list-header-Dt_lAmlF.js","./Google-2ljVxqxA.js","./index-Bx-0NTkd.js","./index-Ce_LNkxm.js","./index-ZG7jWpak.js","./ToggleButtonGroup-zw2F4d4K.js","./index-D3a_ZvXr.js","./ViewList-BN391huQ.js","./ua-parser-BSFgl4aM.js","./index-CB-tsmEC.js","./shorten-label-C8wzxApJ.js","./service-BE-W-CQl.js","./table-icons-C4o-NnhS.js","./ChevronLeft-DtF4yZw5.js","./DeleteOutline-DcoGpr4d.js","./memoize-one.esm-BdPwpGay.js","./index-yTu8ymIr.js","./agreement-8wzPI5A2.js","./url-join-DiQ25GxI.js","./use-blocklet-info-for-connect-did-spaces-D54Dv1sp.js","./spaces-a8m9RMdh.js","./Link-DEY_OBXK.js","./item-ChafvRb9.js","./preact.module-B1z5cdvs.js","./DeleteOutline-BbEJp5Yv.js","./delete-confirm-COcoVEWd.js","./item-CxkJY_14.css","./index-BmgCwWx8.js","./Close-Dh1S6C94.js","./lottie-CdVErR-8.js","./toUpper-CAcCx7d-.js","./install-from-url-ZYnVPJZA.js","./Stepper-D4YMSiMG.js","./log-KWjsxMN4.js","./download-CufT6M7y.js","./download-D33dFtt_.css","./runtime-DH27bqmv.js","./memory-iTIi7m4P.js","./chart-CxTMvY28.js","./traffic-DB2NxLKJ.js","./index-CXHazti0.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
import{q as ze,t as Tt,bm as jt,r as x,F as R,j as p,J as $e,O as Z,B as Ue,x as _t,bn as Pt,M as _,A as J,K as qe,bh as He,bo as C,z as At,u as Ot,bp as ae,bq as Lt,V as _e,C as Pe,N as Dt,br as Bt,m as le,U as Mt,n as Nt,bs as Rt}from"./index-BlbV7Lbg.js";import{T as Ft}from"./index-PLNnQedK.js";import{B as Vt}from"./url-evaluation-C3ISZkf1.js";import{D as zt,B as $t}from"./actions-CqEyEGdi.js";import{B as Ut}from"./app-avatar-Ciqu7DzN.js";import{u as qt}from"./blocklet-B866XgcM.js";import{B as Ht,u as Qt,T as Gt}from"./team-DHy_RyhB.js";import{B as Kt}from"./Breadcrumbs--tlhx_kY.js";import"./Delete-DrNN1_NC.js";import"./tag-Bdou5m1X.js";import"./useLocalStorage-DjVTK9Hv.js";import"./MoreVert-Dt18zfj9.js";import"./ButtonGroup-BsGeyHPH.js";import"./getValidReactChildren-C6TVYF1_.js";/**
|
|
3
3
|
* (c) Iconify
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the license.txt or license.gpl.txt
|
|
@@ -9,7 +9,7 @@ import{q as ze,t as Tt,bm as jt,r as x,F as R,j as p,J as $e,O as Z,B as Ue,x as
|
|
|
9
9
|
*
|
|
10
10
|
* @license MIT
|
|
11
11
|
* @version 3.1.1
|
|
12
|
-
*/const Qe=Object.freeze({left:0,top:0,width:16,height:16}),ee=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),q=Object.freeze({...Qe,...ee}),pe=Object.freeze({...q,body:"",hidden:!1});function Wt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ae(e,t){const n=Wt(e,t);for(const r in pe)r in ee?r in e&&!(r in n)&&(n[r]=ee[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Jt(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=r[i]&&r[i].parent,a=c&&s(c);a&&(o[i]=[c].concat(a))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Xt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(c){s=Ae(r[c]||o[c],s)}return i(t),n.forEach(i),Ae(e,s)}function Ge(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Jt(e);for(const o in r){const s=r[o];s&&(t(o,Xt(e,o,s)),n.push(o))}return n}const F=/^[a-z0-9]+(-[a-z0-9]+)*$/,D=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),a=o.pop(),l={provider:o.length>0?o[0]:r,prefix:a,name:c};return t&&!X(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!X(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!X(c,n)?null:c}return null},X=(e,t)=>e?!!((e.provider===""||e.provider.match(F))&&(t&&e.prefix===""||e.prefix.match(F))&&e.name.match(F)):!1,Yt={provider:"",aliases:{},not_found:{},...Qe};function ue(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ke(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ue(e,Yt))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(F)||typeof s.body!="string"||!ue(s,pe))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(F)||typeof i!="string"||!n[i]&&!r[i]||!ue(s,pe))return null}return t}const te=Object.create(null);function Zt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function T(e,t){const n=te[e]||(te[e]=Object.create(null));return n[t]||(n[t]=Zt(e,t))}function ke(e,t){return Ke(t)?Ge(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function en(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function tn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(te)).forEach(o=>{(typeof o=="string"&&typeof t=="string"?[t]:Object.keys(te[o]||{})).forEach(i=>{const c=T(o,i);n=n.concat(Object.keys(c.icons).map(a=>(o!==""?"@"+o+":":"")+i+":"+a))})}),n}let $=!1;function nn(e){return typeof e=="boolean"&&($=e),$}function H(e){const t=typeof e=="string"?D(e,!0,$):e;if(t){const n=T(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function We(e,t){const n=D(e,!0,$);if(!n)return!1;const r=T(n.provider,n.prefix);return en(r,n.name,t)}function Je(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),$&&!t&&!e.prefix){let o=!1;return Ke(e)&&(e.prefix="",Ge(e,(s,i)=>{i&&We(s,i)&&(o=!0)})),o}const n=e.prefix;if(!X({provider:t,prefix:n,name:"a"}))return!1;const r=T(t,n);return!!ke(r,e)}function on(e){return!!H(e)}function rn(e){const t=H(e);return t?{...q,...t}:null}const Xe=Object.freeze({width:null,height:null}),Ye=Object.freeze({...Xe,...ee}),sn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function he(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(sn);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=cn.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const an=e=>e==="unset"||e==="undefined"||e==="none";function re(e,t){const n={...q,...e},r={...Ye,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(b=>{const y=[],k=b.hFlip,v=b.vFlip;let w=b.rotate;k?v?w+=2:(y.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),y.push("scale(-1 1)"),o.top=o.left=0):v&&(y.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),y.push("scale(1 -1)"),o.top=o.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=o.height/2+o.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:S=o.width/2+o.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(o.left!==o.top&&(S=o.left,o.left=o.top,o.top=S),o.width!==o.height&&(S=o.width,o.width=o.height,o.height=S)),y.length&&(s='<g transform="'+y.join(" ")+'">'+s+"</g>")});const i=r.width,c=r.height,a=o.width,l=o.height;let u,d;i===null?(d=c===null?"1em":c==="auto"?l:c,u=he(d,a/l)):(u=i==="auto"?a:i,d=c===null?he(u,l/a):c==="auto"?l:c);const f={},m=(b,y)=>{an(y)||(f[b]=y.toString())};return m("width",u),m("height",d),f.viewBox=o.left.toString()+" "+o.top.toString()+" "+a.toString()+" "+l.toString(),{attributes:f,body:s}}const ln=/\sid="(\S+)"/g,un="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let fn=0;function Ze(e,t=un){const n=[];let r;for(;r=ln.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(fn++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const A={local:!0,session:!0},et={local:new Set,session:new Set};let Ce=!1;function dn(e){Ce=e}const Oe="iconify2",U="iconify",tt=U+"-count",Le=U+"-version",nt=36e5,pn=168;function me(e,t){try{return e.getItem(t)}catch{}}function Ee(e,t,n){try{return e.setItem(t,n),!0}catch{}}function De(e,t){try{e.removeItem(t)}catch{}}function ge(e,t){return Ee(e,tt,t.toString())}function be(e){return parseInt(me(e,tt))||0}let K=typeof window>"u"?{}:window;function ot(e){const t=e+"Storage";try{if(K&&K[t]&&typeof K[t].length=="number")return K[t]}catch{}A[e]=!1}function rt(e,t){const n=ot(e);if(!n)return;const r=me(n,Le);if(r!==Oe){if(r){const c=be(n);for(let a=0;a<c;a++)De(n,U+a.toString())}Ee(n,Le,Oe),ge(n,0);return}const o=Math.floor(Date.now()/nt)-pn,s=c=>{const a=U+c.toString(),l=me(n,a);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,c))return!0}catch{}De(n,a)}};let i=be(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,ge(n,i)):et[e].add(c))}function st(){if(!Ce){dn(!0);for(const e in A)rt(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=T(r,o);if(!ke(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function it(e,t){switch(e){case"local":case"session":A[e]=t;break;case"all":for(const n in A)A[n]=t;break}}const ye=Object.create(null);function ct(e,t){ye[e]=t}function ve(e){return ye[e]||ye[""]}function Te(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const se=Object.create(null),N=["https://api.simplesvg.com","https://api.unisvg.com"],Y=[];for(;N.length>0;)N.length===1||Math.random()>.5?Y.push(N.shift()):Y.push(N.pop());se[""]=Te({resources:["https://api.iconify.design"].concat(Y)});function at(e,t){const n=Te(t);return n===null?!1:(se[e]=n,!0)}function ie(e){return se[e]}function hn(){return Object.keys(se)}const mn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ne=mn();function gn(e){ne=e}function bn(){return ne}function yn(e,t){const n=ie(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function vn(e){return e===404}const xn=(e,t,n)=>{const r=[],o=yn(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((a,l)=>{c+=a.length+1,c>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=a.length),i.icons.push(a)}),r.push(i),r};function wn(e){if(typeof e=="string"){const t=ie(e);if(t)return t.path}return"/"}const Sn=(e,t,n)=>{if(!ne){n("abort",424);return}let r=wn(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),a=new URLSearchParams({icons:c});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;ne(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(vn(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},In={prepare:xn,send:Sn};function kn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,c=o.name,a=n[s]||(n[s]=Object.create(null)),l=a[i]||(a[i]=T(s,i));let u;c in l.icons?u=t.loaded:i===""||l.missing.has(c)?u=t.missing:u=t.pending;const d={provider:s,prefix:i,name:c};u.push(d)}),t}function lt(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Cn(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==o)return!0;const l=a.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||lt([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let En=0;function Tn(e,t,n){const r=En++,o=lt.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function jn(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?D(o,t,n):o;s&&r.push(s)}),r}var _n={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pn(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const I=Math.floor(Math.random()*h.length);i.push(h[I]),h=h.slice(0,I).concat(h.slice(I+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let a="pending",l=0,u,d=null,f=[],m=[];typeof r=="function"&&m.push(r);function b(){d&&(clearTimeout(d),d=null)}function y(){a==="pending"&&(a="aborted"),b(),f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function k(h,I){I&&(m=[]),typeof h=="function"&&m.push(h)}function v(){return{startTime:c,payload:t,status:a,queriesSent:l,queriesPending:f.length,subscribe:k,abort:y}}function w(){a="failed",m.forEach(h=>{h(void 0,u)})}function S(){f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function B(h,I,g){const j=I!=="success";switch(f=f.filter(E=>E!==h),a){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=g,w();return}if(j){u=g,f.length||(i.length?M():w());return}if(b(),S(),!e.random){const E=e.resources.indexOf(h.resource);E!==-1&&E!==e.index&&(e.index=E)}a="completed",m.forEach(E=>{E(g)})}function M(){if(a!=="pending")return;b();const h=i.shift();if(h===void 0){if(f.length){d=setTimeout(()=>{b(),a==="pending"&&(S(),w())},e.timeout);return}w();return}const I={status:"pending",resource:h,callback:(g,j)=>{B(I,g,j)}};f.push(I),l++,d=setTimeout(M,e.rotate),n(h,t,I.callback)}return setTimeout(M),v}function ut(e){const t={..._n,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,a,l){const u=Pn(t,c,a,(d,f)=>{r(),l&&l(d,f)});return n.push(u),u}function s(c){return n.find(a=>c(a))||null}return{query:o,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function Be(){}const fe=Object.create(null);function An(e){if(!fe[e]){const t=ie(e);if(!t)return;const n=ut(t),r={config:t,redundancy:n};fe[e]=r}return fe[e]}function ft(e,t,n){let r,o;if(typeof e=="string"){const s=ve(e);if(!s)return n(void 0,424),Be;o=s.send;const i=An(e);i&&(r=i.redundancy)}else{const s=Te(e);if(s){r=ut(s);const i=e.resources?e.resources[0]:"",c=ve(i);c&&(o=c.send)}}return!r||!o?(n(void 0,424),Be):r.query(t,o,n)().abort}function On(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in A)rt(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Ln(e,t){Ce||st();function n(r){let o;if(!A[r]||!(o=ot(r)))return;const s=et[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=be(o),!ge(o,i+1))return;const c={cached:Math.floor(Date.now()/nt),provider:e.provider,data:t};return Ee(o,U+i.toString(),JSON.stringify(c))}t.lastModified&&!On(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Me(){}function Dn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Cn(e)}))}function Bn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=ve(n)))return;s.prepare(n,r,o).forEach(c=>{ft(n,c,a=>{if(typeof a!="object")c.icons.forEach(l=>{e.missing.add(l)});else try{const l=ke(e,a);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),Ln(e,a)}catch(l){console.error(l)}Dn(e)})})}))}const Mn=e=>{const n=T(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},je=(e,t)=>{const n=jn(e,!0,nn()),r=kn(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,Me)}),()=>{a=!1}}const o=Object.create(null),s=[];let i,c;return r.pending.forEach(a=>{const{provider:l,prefix:u}=a;if(u===c&&l===i)return;i=l,c=u,s.push(T(l,u));const d=o[l]||(o[l]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(a=>{const{provider:l,prefix:u,name:d}=a,f=T(l,u),m=f.pendingIcons||(f.pendingIcons=new Set);m.has(d)||(m.add(d),o[l][u].push(d))}),s.forEach(a=>{const{provider:l,prefix:u}=a;o[l][u].length&&Bn(a,o[l][u])}),t?Tn(t,r,s):Me},Nn=e=>new Promise((t,n)=>{const r=typeof e=="string"?D(e,!0):e;if(!r){n(e);return}je([r||e],o=>{if(o.length&&r){const s=H(r);if(s){t({...q,...s});return}}n(e)})});function dt(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Xe?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ce={...Ye,inline:!1},de="iconify",xe="iconify-inline",P="iconifyData"+Date.now();let O=[];function Q(e){for(let t=0;t<O.length;t++){const n=O[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function pt(e,t=!1){let n=Q(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},O.push(n),n)}function Rn(){if(document.documentElement)return pt(document.documentElement);O.push({node:()=>document.documentElement})}function Fn(e){O=O.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function G(){return O}function Vn(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let V=null;const zn={childList:!0,subtree:!0,attributes:!0};function ht(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,V&&V(e)}))}function $n(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r<t.length;r++){const o=t[r];if(o.addedNodes&&o.addedNodes.length>0||o.type==="attributes"&&o.target[P]!==void 0){n.paused||ht(e);return}}}function mt(e,t){e.observer.instance.observe(t,zn)}function oe(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||!window||(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver($n.bind(null,e)),mt(e,n),t.paused||ht(e))}function Ne(){G().forEach(oe)}function gt(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function Un(e){const t=V!==null;if(V!==e&&(V=e,t&&G().forEach(gt)),t){Ne();return}Vn(Ne)}function we(e){(e?[e]:G()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function qn(e){if(e){const t=Q(e);t&&we(t)}else we()}function Se(e){(e?[e]:G()).forEach(t=>{if(!t.observer){oe(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(r)n.instance?mt(t,r):oe(t);else return}})}function Hn(e){if(e){const t=Q(e);t&&Se(t)}else Se()}function bt(e,t=!1){const n=pt(e,t);return oe(n),n}function yt(e){const t=Q(e);t&&(gt(t),Fn(e))}function Qn(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,r=t.customisations;for(const o in ce)if(n[o]!==r[o])return!0;return!1}function Gn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const Kn=/[\s,]+/;function Wn(e,t){t.split(Kn).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Jn=["width","height"],Xn=["inline","hFlip","vFlip"];function Yn(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function Zn(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&D(t,!0);if(!n)return null;const r={...ce,inline:e.classList&&e.classList.contains(xe)};Jn.forEach(c=>{const a=e.getAttribute("data-"+c);a&&(r[c]=a)});const o=e.getAttribute("data-rotate");typeof o=="string"&&(r.rotate=Gn(o));const s=e.getAttribute("data-flip");typeof s=="string"&&Wn(r,s),Xn.forEach(c=>{const a="data-"+c,l=Yn(e.getAttribute(a),a);typeof l=="boolean"&&(r[c]=l)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:r,mode:i}}const eo="svg."+de+", i."+de+", span."+de+", i."+xe+", span."+xe;function to(e){const t=[];return e.querySelectorAll(eo).forEach(n=>{const r=n[P]||n.tagName.toLowerCase()!=="svg"?Zn(n):null;r&&t.push({node:n,props:r})}),t}function vt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let z;function no(){try{z=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{z=null}}function oo(e){return z===void 0&&no(),z?z.createHTML(e):e}function xt(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function wt(e,t,n,r){const o=e.classList;if(r){const i=r.classList;Array.from(i).forEach(c=>{o.add(c)})}const s=[];return t.forEach(i=>{o.contains(i)?n.has(i)&&s.push(i):(o.add(i),s.push(i))}),n.forEach(i=>{t.has(i)||o.remove(i)}),s}function St(e,t,n){const r=e.style;(n||[]).forEach(s=>{r.removeProperty(s)});const o=[];for(const s in t)r.getPropertyValue(s)||(o.push(s),r.setProperty(s,t[s]));return o}function It(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const o=t.customisations,s=re(n,o),i=e[P],c=vt(Ze(s.body),{"aria-hidden":"true",role:"img",...s.attributes});r.innerHTML=oo(c);const a=r.childNodes[0],l=e.attributes;for(let b=0;b<l.length;b++){const y=l.item(b),k=y.name;k!=="class"&&!a.hasAttribute(k)&&a.setAttribute(k,y.value)}const u=xt(t.icon),d=wt(a,u,new Set(i&&i.addedClasses),e),f=St(a,o.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),m={...t,status:"loaded",addedClasses:d,addedStyles:f};return a[P]=m,e.parentNode&&e.parentNode.replaceChild(a,e),a}function ro(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function so(e){return"data:image/svg+xml,"+ro(e)}function io(e){return'url("'+so(e)+'")'}const co={display:"inline-block"},Ie={"background-color":"currentColor"},kt={"background-color":"transparent"},Re={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Fe={"-webkit-mask":Ie,mask:Ie,background:kt};for(const e in Fe){const t=Fe[e];for(const n in Re)t[e+"-"+n]=Re[n]}function Ve(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function ao(e,t,n,r){const o=t.customisations,s=re(n,o),i=s.attributes,c=e[P],a=vt(s.body,{...i,width:n.width+"",height:n.height+""}),l=xt(t.icon),u=wt(e,l,new Set(c&&c.addedClasses)),f={"--svg":io(a),width:Ve(i.width),height:Ve(i.height),...co,...r?Ie:kt};o.inline&&(f["vertical-align"]="-0.125em");const m=St(e,f,c&&c.addedStyles),b={...t,status:"loaded",addedClasses:u,addedStyles:m};return e[P]=b,e}let W=!1;function lo(){W||(W=!0,setTimeout(()=>{W&&(W=!1,L())}))}function L(e,t=!1){const n=Object.create(null);function r(o,s){const{provider:i,prefix:c,name:a}=o,l=T(i,c),u=l.icons[a];if(u)return{status:"loaded",icon:u};if(l.missing.has(a))return{status:"missing"};if(s&&!Mn(o)){const d=n[i]||(n[i]=Object.create(null));(d[c]||(d[c]=new Set)).add(a)}return{status:"loading"}}(e?[e]:G()).forEach(o=>{const s=typeof o.node=="function"?o.node():o.node;if(!s||!s.querySelectorAll)return;let i=!1,c=!1;function a(l,u,d){if(c||(c=!0,we(o)),l.tagName.toUpperCase()!=="SVG"){const f=u.mode,m=f==="mask"||(f==="bg"?!1:f==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof m=="boolean"){ao(l,u,{...q,...d},m);return}}It(l,u,d)}to(s).forEach(({node:l,props:u})=>{const d=l[P];if(!d){const{status:m,icon:b}=r(u.icon,!0);if(b){a(l,u,b);return}i=i||m==="loading",l[P]={...u,status:m};return}let f;if(Qn(d,u)){if(f=r(u.icon,d.name!==u.name),!f.icon){i=i||f.status==="loading",Object.assign(d,{...u,status:f.status});return}}else{if(d.status!=="loading")return;if(f=r(u.icon,!1),!f.icon){d.status=f.status;return}}a(l,u,f.icon)}),o.temporary&&!i?yt(s):t&&i?bt(s,!0):c&&o.observer&&Se(o)});for(const o in n){const s=n[o];for(const i in s){const c=s[i];je(Array.from(c).map(a=>({provider:o,prefix:i,name:a})),lo)}}}function uo(e){const t=Q(e);t?L(t):L({node:e,temporary:!0},!0)}function Ct(e,t,n=!1){const r=H(e);if(!r)return null;const o=D(e),s=dt(ce,t||{}),i=It(document.createElement("span"),{name:e,icon:o,customisations:s},r);return n?i.outerHTML:i}function fo(){return"3.1.1"}function po(e,t){return Ct(e,t,!1)}function ho(e,t){return Ct(e,t,!0)}function mo(e,t){const n=H(e);if(!n)return null;const r=dt(ce,t||{});return re(n,r)}function go(e){e?uo(e):L()}if(typeof document<"u"&&typeof window<"u"){Rn();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Je(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{Un(L),L()})}function bo(e,t){it(e,t!==!1)}function yo(e){it(e,!0)}ct("",In);if(typeof document<"u"&&typeof window<"u"){st();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;at(n,o)||console.error(r)}catch{console.error(r)}}}}const vo={getAPIConfig:ie,setAPIModule:ct,sendAPIQuery:ft,setFetch:gn,getFetch:bn,listAPIProviders:hn},xo={_api:vo,addAPIProvider:at,loadIcons:je,loadIcon:Nn,iconExists:on,getIcon:rn,listIcons:tn,addIcon:We,addCollection:Je,replaceIDs:Ze,calculateSize:he,buildIcon:re,getVersion:fo,renderSVG:po,renderHTML:ho,renderIcon:mo,scan:go,observe:bt,stopObserving:yt,pauseObserver:qn,resumeObserver:Hn,enableCache:bo,disableCache:yo};try{self.Iconify===void 0&&(self.Iconify=xo)}catch{}const wo=e=>{const t={};let n=null;return _.forEachBlockletSync(e,r=>{t[r.meta.bundleDid]?n=_.getDisplayName(r,!0):r.meta.bundleDid&&(t[r.meta.bundleDid]=!0)}),n},So=(e,t,n)=>{var s;const{hostname:r,href:o}=e;if(!t)return o;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(r);if(!c)return o;const a=c[0],u=((((s=t.site)==null?void 0:s.domainAliases)||[]).map(d=>d.value).filter(Boolean).find(d=>d.endsWith(R.DEFAULT_DID_DOMAIN))||"").replace(`.${R.DEFAULT_DID_DOMAIN}`,"");return u?o.replace(r,`${u}-${a}.${R.DEFAULT_IP_DOMAIN_SUFFIX}`):o}return o.replace(t.meta.bundleDid,t.appPid)};function Et(){const{t:e}=ze(),{api:t}=Tt(),{blocklet:n}=qt(),{inService:r}=jt(),[o,s]=x.useState(!1),[i,c]=x.useState(5),a=n&&n.structVersion!==R.APP_STRUCT_VERSION,l=()=>{try{if(n.status==="running"){J.error(e("blocklet.migrate.tip.running"));return}const f=wo(n);if(f){J.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}s(!0)}catch(f){J.error(qe(f))}},u=()=>{const f=So(window.location,n,r);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(m=>m-1)},1e3)},d=()=>s(!1);return[a&&p.jsxs($e,{severity:"warning",style:{margin:"12px 0"},children:[p.jsxs(Z,{display:"flex",alignItems:"center",children:[p.jsx(Ue,{variant:"contained",size:"small",color:"primary",onClick:()=>l(),style:{marginRight:8},children:e("blocklet.migrate.intro.l1")}),p.jsx("span",{children:e("blocklet.migrate.intro.l2")})]}),["l3","l4","l5","l6"].map(f=>p.jsx(Z,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&p.jsx(_t,{popup:!0,open:o,saveConnect:!1,forceConnected:!1,action:"migrate-app-to-struct-v2",checkFn:t.get,checkTimeout:5*60*1e3,onSuccess:u,extraParams:{appDid:n.appDid,did:n.meta.did,wt:Pt(n,!0),title:_.getDisplayName(n)},messages:{title:e("blocklet.migrate.title"),scan:e("blocklet.migrate.scan"),confirm:e("blocklet.migrate.confirm"),success:i>=0?e("blocklet.migrate.success",{sec:i}):"Redirecting..."},onClose:d},"connect")]}Et.propTypes={};const Io=x.lazy(()=>C(()=>import("./overview-CqH7N4Bl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)),ko=x.lazy(()=>C(()=>import("./index-D3BjUmxN.js"),__vite__mapDeps([23,1,2,24,25,26,27,28,29,30,18,19,20,31,32,10,33,7,34,35,36,37,38,39,40,5,41,42,43,12,44,45,46,47,48,49,6,8,50,51,52,3,53,54,55,56,57,4,58,59]),import.meta.url)),Co=x.lazy(()=>C(()=>import("./config-navigation-CVUMcunz.js"),__vite__mapDeps([60,1,2,50,51,61,36,47,48,49,7,29,30,6,8,44,62,63,19,20,18,33,42,5,64,38,65,10,66,35,67,21]),import.meta.url)),Eo=x.lazy(()=>C(()=>import("./audit-logs-if1tZvua.js"),__vite__mapDeps([68,1,2,69,70,12,48,19,20,71,56]),import.meta.url)),To=x.lazy(()=>C(()=>import("./index-QOcfFwdi.js"),__vite__mapDeps([72,1,2,9,73,10,29,30,27,11,74,57,18,19,20,42,5,75,12,76,36,77,78,64,79]),import.meta.url)),jo=x.lazy(()=>C(()=>import("./index-BsaVztdp.js").then(e=>e.i),__vite__mapDeps([80,1,2,31,9,37,81,74,57,18,19,20,54,55,7,56,50,51,12,49,65,10,66,33,82,43,83,76,36,78,8,42,5,41,4,22,84]),import.meta.url)),_o=x.lazy(()=>C(()=>import("./service-uk6SebUo.js"),__vite__mapDeps([85,1,2,86,55,19,7,20,18,56,61,57,47,48,49,29,30,6,8,87,46,32,88,51,67,64,33,89,9,28]),import.meta.url)),Po=x.lazy(()=>C(()=>import("./index-Dml7jmrq.js"),__vite__mapDeps([90,1,2,9,25,26,27,28,29,30,18,19,20,31,91,69,70,92,12,47,48,49,7,6,8,52,43,93,5,94,16,83,46,33,86,55,56,61,57,87,32,88,51,67,64,89,41,95,96,77,78,97,45,98,84,99,100,101,102,103,75,104,4,105,17,14,73,10,11,34,22,42]),import.meta.url)),Ao=x.lazy(()=>C(()=>import("./log-B3I8TEBI.js"),__vite__mapDeps([106,1,2,48,107,29,30,19,108]),import.meta.url)),Oo=x.lazy(()=>C(()=>import("./runtime-CEr1Nvlj.js"),__vite__mapDeps([109,1,2,54,55,19,7,20,18,56,50,51,57,12,49,5,110,111,34]),import.meta.url)),Lo=x.lazy(()=>C(()=>import("./traffic-BUI5AcsC.js"),__vite__mapDeps([112,1,2,24,87,32,19,111,18,20,64]),import.meta.url)),Do=x.lazy(()=>C(()=>import("./index-BVm7HRmN.js"),__vite__mapDeps([113,1,2,5,73,10,29,30,16,93,94,83,18,19,20,4,52,43,49,88,39,54,55,7,56,50,51,57,12]),import.meta.url)),Bo=({children:e})=>e;function Mo(){var h,I;const e=At(),{tab:t="overview"}=He(),{did:n,blocklet:r,error:o,client:s,actions:{setBlocklet:i,refreshBlocklet:c}}=Qt(),{refresh:a}=Ot(),{t:l}=ze(),u=x.useCallback(()=>p.jsx(Eo,{scope:n}),[n]),d=((h=r==null?void 0:r.environments.find(g=>g.key==="BLOCKLET_APP_URL"))==null?void 0:h.value)||window.location.origin,f=g=>Rt(g,d),m=g=>{e(`/blocklets/${n}/${g}`)},b=g=>{g&&i(g),c()},y=!r||ae(r.status)?[]:_.getAppMissingConfigs(r);let k=null;const v=[{label:l("common.overview"),value:"overview"},{breadcrumbsLabel:l("common.components"),label:p.jsx(Lt,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!y.length,children:l("common.components")}),value:"components"}];if(o)k=p.jsxs(p.Fragment,{children:[p.jsx($e,{severity:"error",variant:"icon",children:qe(o)}),p.jsx(Ue,{onClick:()=>c(),children:p.jsx("span",{style:{textDecoration:"underline"},children:l("common.retry")})})]});else if(r){const g={overview:p.jsx(Io,{}),configuration:ko,navigation:Co,services:_o,members:p.jsx(jo,{type:"blocklet",createPassportSvg:f}),passports:To,components:Po,"audit-logs":u,logs:Ao,runtime:p.jsx(Oo,{}),traffic:p.jsx(Lo,{client:s,did:n}),storage:p.jsx(Do,{})};t==="configuration"&&ae(r.status)&&m("overview"),ae(r.status)||(v.push({label:l("common.members"),value:"members"}),v.push({label:l("common.passport"),value:"passports"}),v.push({label:l("common.configuration"),value:"configuration"})),v.push({label:l("common.auditLogs"),value:"audit-logs"}),r&&((I=r.children)!=null&&I.length)&&r.structVersion===R.APP_STRUCT_VERSION&&v.push({label:l("common.logs"),value:"logs"}),v.push({label:l("common.configNavigation"),value:"navigation"}),v.push({label:l("common.runtime"),value:"runtime"}),v.push({label:l("common.traffic"),value:"traffic"}),v.push({label:l("common.storage"),value:"storage"}),_.getBlockletServices(r).length&&v.splice(2,0,{label:l("blocklet.services"),value:"services"});const E=g[t]||g.overview;k=p.jsxs(zt,{type:"components",children:[!_.isExternalBlocklet(r)&&p.jsx(Ft,{tabs:v,current:t,onChange:m,scrollButtons:"auto"}),p.jsx("div",{className:"page-content",children:p.jsx(x.Suspense,{fallback:p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})}),children:x.isValidElement(E)?E:p.jsx(E,{blocklet:r,onUpdate:b,createPassportSvg:f})})})]})}else k=p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})});const w=()=>{},S=({action:g,error:j})=>{if(j){J.error(j.message);return}g==="remove"?(a(),e("/blocklets")):c()},B=v.find(g=>g.value===t),M=r?Gt:Bo;return p.jsx(M,{teamDid:n,children:p.jsxs(No,{children:[p.jsxs(Kt,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[p.jsx(Dt,{color:"textSecondary",to:"/blocklets",children:l("common.blocklets")}),p.jsx(Bt,{to:`/blocklets/${n}/overview`,style:g=>g?{color:"inherit"}:{},children:l("common.detail")}),p.jsx(le,{color:"textSecondary",children:B?B.breadcrumbsLabel||B.label:""})]}),p.jsxs(le,{component:"div",className:"page-header",children:[p.jsxs(le,{component:"h2",variant:"h4",className:"page-title",color:"textPrimary",children:[r?p.jsx(Ut,{blocklet:r,style:{marginRight:16}}):null,r?p.jsxs(Z,{display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,children:[p.jsx(Z,{children:_.getDisplayName(r)}),(r==null?void 0:r.status)!=="unknown"&&p.jsx(Vt,{size:"12px",status:r.status,source:r.source,progress:r.progress})]}):`${l("common.blocklet")} ${l("common.detail")}`]}),p.jsx(Mt,{permission:"mutate_blocklets",children:!!r&&!_.isExternalBlocklet(r)&&p.jsx($t,{className:"page-actions",blocklet:r,onStart:w,onComplete:S,variant:"group"})})]}),p.jsx(Et,{}),k]})})}function Yo(){const{did:e}=He();return e?p.jsx(Ht,{did:e,children:p.jsx(Mo,{})}):null}const No=Nt.main`
|
|
12
|
+
*/const Qe=Object.freeze({left:0,top:0,width:16,height:16}),ee=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),q=Object.freeze({...Qe,...ee}),pe=Object.freeze({...q,body:"",hidden:!1});function Wt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ae(e,t){const n=Wt(e,t);for(const r in pe)r in ee?r in e&&!(r in n)&&(n[r]=ee[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Jt(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=r[i]&&r[i].parent,a=c&&s(c);a&&(o[i]=[c].concat(a))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Xt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(c){s=Ae(r[c]||o[c],s)}return i(t),n.forEach(i),Ae(e,s)}function Ge(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Jt(e);for(const o in r){const s=r[o];s&&(t(o,Xt(e,o,s)),n.push(o))}return n}const F=/^[a-z0-9]+(-[a-z0-9]+)*$/,D=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),a=o.pop(),l={provider:o.length>0?o[0]:r,prefix:a,name:c};return t&&!X(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!X(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!X(c,n)?null:c}return null},X=(e,t)=>e?!!((e.provider===""||e.provider.match(F))&&(t&&e.prefix===""||e.prefix.match(F))&&e.name.match(F)):!1,Yt={provider:"",aliases:{},not_found:{},...Qe};function ue(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ke(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ue(e,Yt))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(F)||typeof s.body!="string"||!ue(s,pe))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(F)||typeof i!="string"||!n[i]&&!r[i]||!ue(s,pe))return null}return t}const te=Object.create(null);function Zt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function T(e,t){const n=te[e]||(te[e]=Object.create(null));return n[t]||(n[t]=Zt(e,t))}function ke(e,t){return Ke(t)?Ge(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function en(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function tn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(te)).forEach(o=>{(typeof o=="string"&&typeof t=="string"?[t]:Object.keys(te[o]||{})).forEach(i=>{const c=T(o,i);n=n.concat(Object.keys(c.icons).map(a=>(o!==""?"@"+o+":":"")+i+":"+a))})}),n}let $=!1;function nn(e){return typeof e=="boolean"&&($=e),$}function H(e){const t=typeof e=="string"?D(e,!0,$):e;if(t){const n=T(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function We(e,t){const n=D(e,!0,$);if(!n)return!1;const r=T(n.provider,n.prefix);return en(r,n.name,t)}function Je(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),$&&!t&&!e.prefix){let o=!1;return Ke(e)&&(e.prefix="",Ge(e,(s,i)=>{i&&We(s,i)&&(o=!0)})),o}const n=e.prefix;if(!X({provider:t,prefix:n,name:"a"}))return!1;const r=T(t,n);return!!ke(r,e)}function on(e){return!!H(e)}function rn(e){const t=H(e);return t?{...q,...t}:null}const Xe=Object.freeze({width:null,height:null}),Ye=Object.freeze({...Xe,...ee}),sn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function he(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(sn);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=cn.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const an=e=>e==="unset"||e==="undefined"||e==="none";function re(e,t){const n={...q,...e},r={...Ye,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(b=>{const y=[],k=b.hFlip,v=b.vFlip;let w=b.rotate;k?v?w+=2:(y.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),y.push("scale(-1 1)"),o.top=o.left=0):v&&(y.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),y.push("scale(1 -1)"),o.top=o.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=o.height/2+o.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:S=o.width/2+o.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(o.left!==o.top&&(S=o.left,o.left=o.top,o.top=S),o.width!==o.height&&(S=o.width,o.width=o.height,o.height=S)),y.length&&(s='<g transform="'+y.join(" ")+'">'+s+"</g>")});const i=r.width,c=r.height,a=o.width,l=o.height;let u,d;i===null?(d=c===null?"1em":c==="auto"?l:c,u=he(d,a/l)):(u=i==="auto"?a:i,d=c===null?he(u,l/a):c==="auto"?l:c);const f={},m=(b,y)=>{an(y)||(f[b]=y.toString())};return m("width",u),m("height",d),f.viewBox=o.left.toString()+" "+o.top.toString()+" "+a.toString()+" "+l.toString(),{attributes:f,body:s}}const ln=/\sid="(\S+)"/g,un="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let fn=0;function Ze(e,t=un){const n=[];let r;for(;r=ln.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(fn++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const A={local:!0,session:!0},et={local:new Set,session:new Set};let Ce=!1;function dn(e){Ce=e}const Oe="iconify2",U="iconify",tt=U+"-count",Le=U+"-version",nt=36e5,pn=168;function me(e,t){try{return e.getItem(t)}catch{}}function Ee(e,t,n){try{return e.setItem(t,n),!0}catch{}}function De(e,t){try{e.removeItem(t)}catch{}}function ge(e,t){return Ee(e,tt,t.toString())}function be(e){return parseInt(me(e,tt))||0}let K=typeof window>"u"?{}:window;function ot(e){const t=e+"Storage";try{if(K&&K[t]&&typeof K[t].length=="number")return K[t]}catch{}A[e]=!1}function rt(e,t){const n=ot(e);if(!n)return;const r=me(n,Le);if(r!==Oe){if(r){const c=be(n);for(let a=0;a<c;a++)De(n,U+a.toString())}Ee(n,Le,Oe),ge(n,0);return}const o=Math.floor(Date.now()/nt)-pn,s=c=>{const a=U+c.toString(),l=me(n,a);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,c))return!0}catch{}De(n,a)}};let i=be(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,ge(n,i)):et[e].add(c))}function st(){if(!Ce){dn(!0);for(const e in A)rt(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=T(r,o);if(!ke(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function it(e,t){switch(e){case"local":case"session":A[e]=t;break;case"all":for(const n in A)A[n]=t;break}}const ye=Object.create(null);function ct(e,t){ye[e]=t}function ve(e){return ye[e]||ye[""]}function Te(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const se=Object.create(null),N=["https://api.simplesvg.com","https://api.unisvg.com"],Y=[];for(;N.length>0;)N.length===1||Math.random()>.5?Y.push(N.shift()):Y.push(N.pop());se[""]=Te({resources:["https://api.iconify.design"].concat(Y)});function at(e,t){const n=Te(t);return n===null?!1:(se[e]=n,!0)}function ie(e){return se[e]}function hn(){return Object.keys(se)}const mn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ne=mn();function gn(e){ne=e}function bn(){return ne}function yn(e,t){const n=ie(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function vn(e){return e===404}const xn=(e,t,n)=>{const r=[],o=yn(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((a,l)=>{c+=a.length+1,c>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=a.length),i.icons.push(a)}),r.push(i),r};function wn(e){if(typeof e=="string"){const t=ie(e);if(t)return t.path}return"/"}const Sn=(e,t,n)=>{if(!ne){n("abort",424);return}let r=wn(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),a=new URLSearchParams({icons:c});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;ne(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(vn(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},In={prepare:xn,send:Sn};function kn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,c=o.name,a=n[s]||(n[s]=Object.create(null)),l=a[i]||(a[i]=T(s,i));let u;c in l.icons?u=t.loaded:i===""||l.missing.has(c)?u=t.missing:u=t.pending;const d={provider:s,prefix:i,name:c};u.push(d)}),t}function lt(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Cn(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==o)return!0;const l=a.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||lt([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let En=0;function Tn(e,t,n){const r=En++,o=lt.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function jn(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?D(o,t,n):o;s&&r.push(s)}),r}var _n={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pn(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const I=Math.floor(Math.random()*h.length);i.push(h[I]),h=h.slice(0,I).concat(h.slice(I+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let a="pending",l=0,u,d=null,f=[],m=[];typeof r=="function"&&m.push(r);function b(){d&&(clearTimeout(d),d=null)}function y(){a==="pending"&&(a="aborted"),b(),f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function k(h,I){I&&(m=[]),typeof h=="function"&&m.push(h)}function v(){return{startTime:c,payload:t,status:a,queriesSent:l,queriesPending:f.length,subscribe:k,abort:y}}function w(){a="failed",m.forEach(h=>{h(void 0,u)})}function S(){f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function B(h,I,g){const j=I!=="success";switch(f=f.filter(E=>E!==h),a){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=g,w();return}if(j){u=g,f.length||(i.length?M():w());return}if(b(),S(),!e.random){const E=e.resources.indexOf(h.resource);E!==-1&&E!==e.index&&(e.index=E)}a="completed",m.forEach(E=>{E(g)})}function M(){if(a!=="pending")return;b();const h=i.shift();if(h===void 0){if(f.length){d=setTimeout(()=>{b(),a==="pending"&&(S(),w())},e.timeout);return}w();return}const I={status:"pending",resource:h,callback:(g,j)=>{B(I,g,j)}};f.push(I),l++,d=setTimeout(M,e.rotate),n(h,t,I.callback)}return setTimeout(M),v}function ut(e){const t={..._n,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,a,l){const u=Pn(t,c,a,(d,f)=>{r(),l&&l(d,f)});return n.push(u),u}function s(c){return n.find(a=>c(a))||null}return{query:o,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function Be(){}const fe=Object.create(null);function An(e){if(!fe[e]){const t=ie(e);if(!t)return;const n=ut(t),r={config:t,redundancy:n};fe[e]=r}return fe[e]}function ft(e,t,n){let r,o;if(typeof e=="string"){const s=ve(e);if(!s)return n(void 0,424),Be;o=s.send;const i=An(e);i&&(r=i.redundancy)}else{const s=Te(e);if(s){r=ut(s);const i=e.resources?e.resources[0]:"",c=ve(i);c&&(o=c.send)}}return!r||!o?(n(void 0,424),Be):r.query(t,o,n)().abort}function On(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in A)rt(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Ln(e,t){Ce||st();function n(r){let o;if(!A[r]||!(o=ot(r)))return;const s=et[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=be(o),!ge(o,i+1))return;const c={cached:Math.floor(Date.now()/nt),provider:e.provider,data:t};return Ee(o,U+i.toString(),JSON.stringify(c))}t.lastModified&&!On(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Me(){}function Dn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Cn(e)}))}function Bn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=ve(n)))return;s.prepare(n,r,o).forEach(c=>{ft(n,c,a=>{if(typeof a!="object")c.icons.forEach(l=>{e.missing.add(l)});else try{const l=ke(e,a);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),Ln(e,a)}catch(l){console.error(l)}Dn(e)})})}))}const Mn=e=>{const n=T(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},je=(e,t)=>{const n=jn(e,!0,nn()),r=kn(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,Me)}),()=>{a=!1}}const o=Object.create(null),s=[];let i,c;return r.pending.forEach(a=>{const{provider:l,prefix:u}=a;if(u===c&&l===i)return;i=l,c=u,s.push(T(l,u));const d=o[l]||(o[l]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(a=>{const{provider:l,prefix:u,name:d}=a,f=T(l,u),m=f.pendingIcons||(f.pendingIcons=new Set);m.has(d)||(m.add(d),o[l][u].push(d))}),s.forEach(a=>{const{provider:l,prefix:u}=a;o[l][u].length&&Bn(a,o[l][u])}),t?Tn(t,r,s):Me},Nn=e=>new Promise((t,n)=>{const r=typeof e=="string"?D(e,!0):e;if(!r){n(e);return}je([r||e],o=>{if(o.length&&r){const s=H(r);if(s){t({...q,...s});return}}n(e)})});function dt(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Xe?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ce={...Ye,inline:!1},de="iconify",xe="iconify-inline",P="iconifyData"+Date.now();let O=[];function Q(e){for(let t=0;t<O.length;t++){const n=O[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function pt(e,t=!1){let n=Q(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},O.push(n),n)}function Rn(){if(document.documentElement)return pt(document.documentElement);O.push({node:()=>document.documentElement})}function Fn(e){O=O.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function G(){return O}function Vn(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let V=null;const zn={childList:!0,subtree:!0,attributes:!0};function ht(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,V&&V(e)}))}function $n(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r<t.length;r++){const o=t[r];if(o.addedNodes&&o.addedNodes.length>0||o.type==="attributes"&&o.target[P]!==void 0){n.paused||ht(e);return}}}function mt(e,t){e.observer.instance.observe(t,zn)}function oe(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||!window||(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver($n.bind(null,e)),mt(e,n),t.paused||ht(e))}function Ne(){G().forEach(oe)}function gt(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function Un(e){const t=V!==null;if(V!==e&&(V=e,t&&G().forEach(gt)),t){Ne();return}Vn(Ne)}function we(e){(e?[e]:G()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function qn(e){if(e){const t=Q(e);t&&we(t)}else we()}function Se(e){(e?[e]:G()).forEach(t=>{if(!t.observer){oe(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(r)n.instance?mt(t,r):oe(t);else return}})}function Hn(e){if(e){const t=Q(e);t&&Se(t)}else Se()}function bt(e,t=!1){const n=pt(e,t);return oe(n),n}function yt(e){const t=Q(e);t&&(gt(t),Fn(e))}function Qn(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,r=t.customisations;for(const o in ce)if(n[o]!==r[o])return!0;return!1}function Gn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const Kn=/[\s,]+/;function Wn(e,t){t.split(Kn).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Jn=["width","height"],Xn=["inline","hFlip","vFlip"];function Yn(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function Zn(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&D(t,!0);if(!n)return null;const r={...ce,inline:e.classList&&e.classList.contains(xe)};Jn.forEach(c=>{const a=e.getAttribute("data-"+c);a&&(r[c]=a)});const o=e.getAttribute("data-rotate");typeof o=="string"&&(r.rotate=Gn(o));const s=e.getAttribute("data-flip");typeof s=="string"&&Wn(r,s),Xn.forEach(c=>{const a="data-"+c,l=Yn(e.getAttribute(a),a);typeof l=="boolean"&&(r[c]=l)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:r,mode:i}}const eo="svg."+de+", i."+de+", span."+de+", i."+xe+", span."+xe;function to(e){const t=[];return e.querySelectorAll(eo).forEach(n=>{const r=n[P]||n.tagName.toLowerCase()!=="svg"?Zn(n):null;r&&t.push({node:n,props:r})}),t}function vt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let z;function no(){try{z=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{z=null}}function oo(e){return z===void 0&&no(),z?z.createHTML(e):e}function xt(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function wt(e,t,n,r){const o=e.classList;if(r){const i=r.classList;Array.from(i).forEach(c=>{o.add(c)})}const s=[];return t.forEach(i=>{o.contains(i)?n.has(i)&&s.push(i):(o.add(i),s.push(i))}),n.forEach(i=>{t.has(i)||o.remove(i)}),s}function St(e,t,n){const r=e.style;(n||[]).forEach(s=>{r.removeProperty(s)});const o=[];for(const s in t)r.getPropertyValue(s)||(o.push(s),r.setProperty(s,t[s]));return o}function It(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const o=t.customisations,s=re(n,o),i=e[P],c=vt(Ze(s.body),{"aria-hidden":"true",role:"img",...s.attributes});r.innerHTML=oo(c);const a=r.childNodes[0],l=e.attributes;for(let b=0;b<l.length;b++){const y=l.item(b),k=y.name;k!=="class"&&!a.hasAttribute(k)&&a.setAttribute(k,y.value)}const u=xt(t.icon),d=wt(a,u,new Set(i&&i.addedClasses),e),f=St(a,o.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),m={...t,status:"loaded",addedClasses:d,addedStyles:f};return a[P]=m,e.parentNode&&e.parentNode.replaceChild(a,e),a}function ro(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function so(e){return"data:image/svg+xml,"+ro(e)}function io(e){return'url("'+so(e)+'")'}const co={display:"inline-block"},Ie={"background-color":"currentColor"},kt={"background-color":"transparent"},Re={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Fe={"-webkit-mask":Ie,mask:Ie,background:kt};for(const e in Fe){const t=Fe[e];for(const n in Re)t[e+"-"+n]=Re[n]}function Ve(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function ao(e,t,n,r){const o=t.customisations,s=re(n,o),i=s.attributes,c=e[P],a=vt(s.body,{...i,width:n.width+"",height:n.height+""}),l=xt(t.icon),u=wt(e,l,new Set(c&&c.addedClasses)),f={"--svg":io(a),width:Ve(i.width),height:Ve(i.height),...co,...r?Ie:kt};o.inline&&(f["vertical-align"]="-0.125em");const m=St(e,f,c&&c.addedStyles),b={...t,status:"loaded",addedClasses:u,addedStyles:m};return e[P]=b,e}let W=!1;function lo(){W||(W=!0,setTimeout(()=>{W&&(W=!1,L())}))}function L(e,t=!1){const n=Object.create(null);function r(o,s){const{provider:i,prefix:c,name:a}=o,l=T(i,c),u=l.icons[a];if(u)return{status:"loaded",icon:u};if(l.missing.has(a))return{status:"missing"};if(s&&!Mn(o)){const d=n[i]||(n[i]=Object.create(null));(d[c]||(d[c]=new Set)).add(a)}return{status:"loading"}}(e?[e]:G()).forEach(o=>{const s=typeof o.node=="function"?o.node():o.node;if(!s||!s.querySelectorAll)return;let i=!1,c=!1;function a(l,u,d){if(c||(c=!0,we(o)),l.tagName.toUpperCase()!=="SVG"){const f=u.mode,m=f==="mask"||(f==="bg"?!1:f==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof m=="boolean"){ao(l,u,{...q,...d},m);return}}It(l,u,d)}to(s).forEach(({node:l,props:u})=>{const d=l[P];if(!d){const{status:m,icon:b}=r(u.icon,!0);if(b){a(l,u,b);return}i=i||m==="loading",l[P]={...u,status:m};return}let f;if(Qn(d,u)){if(f=r(u.icon,d.name!==u.name),!f.icon){i=i||f.status==="loading",Object.assign(d,{...u,status:f.status});return}}else{if(d.status!=="loading")return;if(f=r(u.icon,!1),!f.icon){d.status=f.status;return}}a(l,u,f.icon)}),o.temporary&&!i?yt(s):t&&i?bt(s,!0):c&&o.observer&&Se(o)});for(const o in n){const s=n[o];for(const i in s){const c=s[i];je(Array.from(c).map(a=>({provider:o,prefix:i,name:a})),lo)}}}function uo(e){const t=Q(e);t?L(t):L({node:e,temporary:!0},!0)}function Ct(e,t,n=!1){const r=H(e);if(!r)return null;const o=D(e),s=dt(ce,t||{}),i=It(document.createElement("span"),{name:e,icon:o,customisations:s},r);return n?i.outerHTML:i}function fo(){return"3.1.1"}function po(e,t){return Ct(e,t,!1)}function ho(e,t){return Ct(e,t,!0)}function mo(e,t){const n=H(e);if(!n)return null;const r=dt(ce,t||{});return re(n,r)}function go(e){e?uo(e):L()}if(typeof document<"u"&&typeof window<"u"){Rn();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Je(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{Un(L),L()})}function bo(e,t){it(e,t!==!1)}function yo(e){it(e,!0)}ct("",In);if(typeof document<"u"&&typeof window<"u"){st();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;at(n,o)||console.error(r)}catch{console.error(r)}}}}const vo={getAPIConfig:ie,setAPIModule:ct,sendAPIQuery:ft,setFetch:gn,getFetch:bn,listAPIProviders:hn},xo={_api:vo,addAPIProvider:at,loadIcons:je,loadIcon:Nn,iconExists:on,getIcon:rn,listIcons:tn,addIcon:We,addCollection:Je,replaceIDs:Ze,calculateSize:he,buildIcon:re,getVersion:fo,renderSVG:po,renderHTML:ho,renderIcon:mo,scan:go,observe:bt,stopObserving:yt,pauseObserver:qn,resumeObserver:Hn,enableCache:bo,disableCache:yo};try{self.Iconify===void 0&&(self.Iconify=xo)}catch{}const wo=e=>{const t={};let n=null;return _.forEachBlockletSync(e,r=>{t[r.meta.bundleDid]?n=_.getDisplayName(r,!0):r.meta.bundleDid&&(t[r.meta.bundleDid]=!0)}),n},So=(e,t,n)=>{var s;const{hostname:r,href:o}=e;if(!t)return o;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(r);if(!c)return o;const a=c[0],u=((((s=t.site)==null?void 0:s.domainAliases)||[]).map(d=>d.value).filter(Boolean).find(d=>d.endsWith(R.DEFAULT_DID_DOMAIN))||"").replace(`.${R.DEFAULT_DID_DOMAIN}`,"");return u?o.replace(r,`${u}-${a}.${R.DEFAULT_IP_DOMAIN_SUFFIX}`):o}return o.replace(t.meta.bundleDid,t.appPid)};function Et(){const{t:e}=ze(),{api:t}=Tt(),{blocklet:n}=qt(),{inService:r}=jt(),[o,s]=x.useState(!1),[i,c]=x.useState(5),a=n&&n.structVersion!==R.APP_STRUCT_VERSION,l=()=>{try{if(n.status==="running"){J.error(e("blocklet.migrate.tip.running"));return}const f=wo(n);if(f){J.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}s(!0)}catch(f){J.error(qe(f))}},u=()=>{const f=So(window.location,n,r);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(m=>m-1)},1e3)},d=()=>s(!1);return[a&&p.jsxs($e,{severity:"warning",style:{margin:"12px 0"},children:[p.jsxs(Z,{display:"flex",alignItems:"center",children:[p.jsx(Ue,{variant:"contained",size:"small",color:"primary",onClick:()=>l(),style:{marginRight:8},children:e("blocklet.migrate.intro.l1")}),p.jsx("span",{children:e("blocklet.migrate.intro.l2")})]}),["l3","l4","l5","l6"].map(f=>p.jsx(Z,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&p.jsx(_t,{popup:!0,open:o,saveConnect:!1,forceConnected:!1,action:"migrate-app-to-struct-v2",checkFn:t.get,checkTimeout:5*60*1e3,onSuccess:u,extraParams:{appDid:n.appDid,did:n.meta.did,wt:Pt(n,!0),title:_.getDisplayName(n)},messages:{title:e("blocklet.migrate.title"),scan:e("blocklet.migrate.scan"),confirm:e("blocklet.migrate.confirm"),success:i>=0?e("blocklet.migrate.success",{sec:i}):"Redirecting..."},onClose:d},"connect")]}Et.propTypes={};const Io=x.lazy(()=>C(()=>import("./overview-Cn3o0JSR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)),ko=x.lazy(()=>C(()=>import("./index-Db3MJtg9.js"),__vite__mapDeps([23,1,2,24,25,26,27,28,29,30,18,19,20,31,32,10,33,7,34,35,36,37,38,39,40,5,41,42,43,12,44,45,46,47,48,49,6,8,50,51,52,3,53,54,55,56,57,4,58,59]),import.meta.url)),Co=x.lazy(()=>C(()=>import("./config-navigation-DHVobtoo.js"),__vite__mapDeps([60,1,2,50,51,61,36,47,48,49,7,29,30,6,8,44,62,63,19,20,18,33,42,5,64,38,65,10,66,35,67,21]),import.meta.url)),Eo=x.lazy(()=>C(()=>import("./audit-logs-DM5qrzhq.js"),__vite__mapDeps([68,1,2,69,70,12,48,19,20,71,56]),import.meta.url)),To=x.lazy(()=>C(()=>import("./index-D52n0VvB.js"),__vite__mapDeps([72,1,2,9,73,10,29,30,27,11,74,57,18,19,20,42,5,75,12,76,36,77,78,64,79]),import.meta.url)),jo=x.lazy(()=>C(()=>import("./index-D3a_ZvXr.js").then(e=>e.i),__vite__mapDeps([80,1,2,31,9,37,81,74,57,18,19,20,54,55,7,56,50,51,12,49,65,10,66,33,82,43,83,76,36,78,8,42,5,41,4,22,84]),import.meta.url)),_o=x.lazy(()=>C(()=>import("./service-BE-W-CQl.js"),__vite__mapDeps([85,1,2,86,55,19,7,20,18,56,61,57,47,48,49,29,30,6,8,87,46,32,88,51,67,64,33,89,9,28]),import.meta.url)),Po=x.lazy(()=>C(()=>import("./index-yTu8ymIr.js"),__vite__mapDeps([90,1,2,9,25,26,27,28,29,30,18,19,20,31,91,69,70,92,12,47,48,49,7,6,8,52,43,93,5,94,16,83,46,33,86,55,56,61,57,87,32,88,51,67,64,89,41,95,96,77,78,97,45,98,99,84,100,101,102,103,104,75,105,4,106,17,14,73,10,11,34,22,42]),import.meta.url)),Ao=x.lazy(()=>C(()=>import("./log-KWjsxMN4.js"),__vite__mapDeps([107,1,2,48,108,29,30,19,109]),import.meta.url)),Oo=x.lazy(()=>C(()=>import("./runtime-DH27bqmv.js"),__vite__mapDeps([110,1,2,54,55,19,7,20,18,56,50,51,57,12,49,5,111,112,34]),import.meta.url)),Lo=x.lazy(()=>C(()=>import("./traffic-DB2NxLKJ.js"),__vite__mapDeps([113,1,2,24,87,32,19,112,18,20,64]),import.meta.url)),Do=x.lazy(()=>C(()=>import("./index-CXHazti0.js"),__vite__mapDeps([114,1,2,5,73,10,29,30,16,93,94,83,18,19,20,4,52,43,49,98,88,39,54,55,7,56,50,51,57,12]),import.meta.url)),Bo=({children:e})=>e;function Mo(){var h,I;const e=At(),{tab:t="overview"}=He(),{did:n,blocklet:r,error:o,client:s,actions:{setBlocklet:i,refreshBlocklet:c}}=Qt(),{refresh:a}=Ot(),{t:l}=ze(),u=x.useCallback(()=>p.jsx(Eo,{scope:n}),[n]),d=((h=r==null?void 0:r.environments.find(g=>g.key==="BLOCKLET_APP_URL"))==null?void 0:h.value)||window.location.origin,f=g=>Rt(g,d),m=g=>{e(`/blocklets/${n}/${g}`)},b=g=>{g&&i(g),c()},y=!r||ae(r.status)?[]:_.getAppMissingConfigs(r);let k=null;const v=[{label:l("common.overview"),value:"overview"},{breadcrumbsLabel:l("common.components"),label:p.jsx(Lt,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!y.length,children:l("common.components")}),value:"components"}];if(o)k=p.jsxs(p.Fragment,{children:[p.jsx($e,{severity:"error",variant:"icon",children:qe(o)}),p.jsx(Ue,{onClick:()=>c(),children:p.jsx("span",{style:{textDecoration:"underline"},children:l("common.retry")})})]});else if(r){const g={overview:p.jsx(Io,{}),configuration:ko,navigation:Co,services:_o,members:p.jsx(jo,{type:"blocklet",createPassportSvg:f}),passports:To,components:Po,"audit-logs":u,logs:Ao,runtime:p.jsx(Oo,{}),traffic:p.jsx(Lo,{client:s,did:n}),storage:p.jsx(Do,{})};t==="configuration"&&ae(r.status)&&m("overview"),ae(r.status)||(v.push({label:l("common.members"),value:"members"}),v.push({label:l("common.passport"),value:"passports"}),v.push({label:l("common.configuration"),value:"configuration"})),v.push({label:l("common.auditLogs"),value:"audit-logs"}),r&&((I=r.children)!=null&&I.length)&&r.structVersion===R.APP_STRUCT_VERSION&&v.push({label:l("common.logs"),value:"logs"}),v.push({label:l("common.configNavigation"),value:"navigation"}),v.push({label:l("common.runtime"),value:"runtime"}),v.push({label:l("common.traffic"),value:"traffic"}),v.push({label:l("common.storage"),value:"storage"}),_.getBlockletServices(r).length&&v.splice(2,0,{label:l("blocklet.services"),value:"services"});const E=g[t]||g.overview;k=p.jsxs(zt,{type:"components",children:[!_.isExternalBlocklet(r)&&p.jsx(Ft,{tabs:v,current:t,onChange:m,scrollButtons:"auto"}),p.jsx("div",{className:"page-content",children:p.jsx(x.Suspense,{fallback:p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})}),children:x.isValidElement(E)?E:p.jsx(E,{blocklet:r,onUpdate:b,createPassportSvg:f})})})]})}else k=p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})});const w=()=>{},S=({action:g,error:j})=>{if(j){J.error(j.message);return}g==="remove"?(a(),e("/blocklets")):c()},B=v.find(g=>g.value===t),M=r?Gt:Bo;return p.jsx(M,{teamDid:n,children:p.jsxs(No,{children:[p.jsxs(Kt,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[p.jsx(Dt,{color:"textSecondary",to:"/blocklets",children:l("common.blocklets")}),p.jsx(Bt,{to:`/blocklets/${n}/overview`,style:g=>g?{color:"inherit"}:{},children:l("common.detail")}),p.jsx(le,{color:"textSecondary",children:B?B.breadcrumbsLabel||B.label:""})]}),p.jsxs(le,{component:"div",className:"page-header",children:[p.jsxs(le,{component:"h2",variant:"h4",className:"page-title",color:"textPrimary",children:[r?p.jsx(Ut,{blocklet:r,style:{marginRight:16}}):null,r?p.jsxs(Z,{display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,children:[p.jsx(Z,{children:_.getDisplayName(r)}),(r==null?void 0:r.status)!=="unknown"&&p.jsx(Vt,{size:"12px",status:r.status,source:r.source,progress:r.progress})]}):`${l("common.blocklet")} ${l("common.detail")}`]}),p.jsx(Mt,{permission:"mutate_blocklets",children:!!r&&!_.isExternalBlocklet(r)&&p.jsx($t,{className:"page-actions",blocklet:r,onStart:w,onComplete:S,variant:"group"})})]}),p.jsx(Et,{}),k]})})}function Yo(){const{did:e}=He();return e?p.jsx(Ht,{did:e,children:p.jsx(Mo,{})}):null}const No=Nt.main`
|
|
13
13
|
.page-header {
|
|
14
14
|
display: flex;
|
|
15
15
|
justify-content: space-between;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as _}from"./codemirror.es-
|
|
1
|
+
import{a as _}from"./codemirror.es-DIkx1wNL.js";import"./index-B8SfR5SO.js";import"./index-BlbV7Lbg.js";var O=Object.defineProperty,m=(g,v)=>O(g,"name",{value:v,configurable:!0});function N(g,v){return v.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(c){if(c!=="default"&&!(c in g)){var d=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(g,c,d.get?d:{enumerable:!0,get:function(){return e[c]}})}})}),Object.freeze(g)}m(N,"_mergeNamespaces");var b={exports:{}};(function(g,v){(function(e){e(_.exports)})(function(e){function c(f,u,n){var o=f.getWrapperElement(),l;return l=o.appendChild(document.createElement("div")),n?l.className="CodeMirror-dialog CodeMirror-dialog-bottom":l.className="CodeMirror-dialog CodeMirror-dialog-top",typeof u=="string"?l.innerHTML=u:l.appendChild(u),e.addClass(o,"dialog-opened"),l}m(c,"dialogDiv");function d(f,u){f.state.currentNotificationClose&&f.state.currentNotificationClose(),f.state.currentNotificationClose=u}m(d,"closeNotification"),e.defineExtension("openDialog",function(f,u,n){n||(n={}),d(this,null);var o=c(this,f,n.bottom),l=!1,r=this;function i(t){if(typeof t=="string")a.value=t;else{if(l)return;l=!0,e.rmClass(o.parentNode,"dialog-opened"),o.parentNode.removeChild(o),r.focus(),n.onClose&&n.onClose(o)}}m(i,"close");var a=o.getElementsByTagName("input")[0],s;return a?(a.focus(),n.value&&(a.value=n.value,n.selectValueOnOpen!==!1&&a.select()),n.onInput&&e.on(a,"input",function(t){n.onInput(t,a.value,i)}),n.onKeyUp&&e.on(a,"keyup",function(t){n.onKeyUp(t,a.value,i)}),e.on(a,"keydown",function(t){n&&n.onKeyDown&&n.onKeyDown(t,a.value,i)||((t.keyCode==27||n.closeOnEnter!==!1&&t.keyCode==13)&&(a.blur(),e.e_stop(t),i()),t.keyCode==13&&u(a.value,t))}),n.closeOnBlur!==!1&&e.on(o,"focusout",function(t){t.relatedTarget!==null&&i()})):(s=o.getElementsByTagName("button")[0])&&(e.on(s,"click",function(){i(),r.focus()}),n.closeOnBlur!==!1&&e.on(s,"blur",i),s.focus()),i}),e.defineExtension("openConfirm",function(f,u,n){d(this,null);var o=c(this,f,n&&n.bottom),l=o.getElementsByTagName("button"),r=!1,i=this,a=1;function s(){r||(r=!0,e.rmClass(o.parentNode,"dialog-opened"),o.parentNode.removeChild(o),i.focus())}m(s,"close"),l[0].focus();for(var t=0;t<l.length;++t){var p=l[t];(function(y){e.on(p,"click",function(h){e.e_preventDefault(h),s(),y&&y(i)})})(u[t]),e.on(p,"blur",function(){--a,setTimeout(function(){a<=0&&s()},200)}),e.on(p,"focus",function(){++a})}}),e.defineExtension("openNotification",function(f,u){d(this,i);var n=c(this,f,u&&u.bottom),o=!1,l,r=u&&typeof u.duration<"u"?u.duration:5e3;function i(){o||(o=!0,clearTimeout(l),e.rmClass(n.parentNode,"dialog-opened"),n.parentNode.removeChild(n))}return m(i,"close"),e.on(n,"click",function(a){e.e_preventDefault(a),i()}),r&&(l=setTimeout(i,r)),i})})})();var E=b.exports,j=Object.freeze(N({__proto__:null,[Symbol.toStringTag]:"Module",default:E},[b.exports]));export{b as a,j as d};
|