@abtnode/webapp 1.16.28-beta-7ddc3b2d → 1.16.28
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-i_eGmIkF.js → Add-B8Ae2MjM.js} +1 -1
- package/dist/assets/{ArrowDropDown-CRJiMsxl.js → ArrowDropDown-BNt-WuI3.js} +1 -1
- package/dist/assets/{Autocomplete-BkNAtuyq.js → Autocomplete-Bo6UH2XL.js} +1 -1
- package/dist/assets/{Breadcrumbs-D8UxFHZC.js → Breadcrumbs-CkmMkQDW.js} +1 -1
- package/dist/assets/{ButtonGroup-G7oFneKA.js → ButtonGroup-OcQcEz6r.js} +1 -1
- package/dist/assets/{CheckCircle-CpgwIoc6.js → CheckCircle-BnRenrK4.js} +1 -1
- package/dist/assets/{ChevronLeft-BqOWO5Oh.js → ChevronLeft-Dp9aa91c.js} +1 -1
- package/dist/assets/{ChevronRight-DDJkuJhV.js → ChevronRight-C3NPaw6o.js} +1 -1
- package/dist/assets/{Close-BltjIlg7.js → Close-Cbaq-RRq.js} +1 -1
- package/dist/assets/{Delete-KztH8pOq.js → Delete-CnrKsAGC.js} +1 -1
- package/dist/assets/DeleteOutline-B4LqoCK2.js +1 -0
- package/dist/assets/{Done-CEgWviUN.js → Done-BCLH1e-Y.js} +1 -1
- package/dist/assets/{Edit-jbcm5AKt.js → Edit-i_Bman7K.js} +1 -1
- package/dist/assets/{EditIcon-DAtBHTkl.js → EditIcon-DmNEjmIQ.js} +1 -1
- package/dist/assets/{FilterList-D84A-7C6.js → FilterList-fpG1-3KQ.js} +1 -1
- package/dist/assets/{Google-CCNGxrji.js → Google-DLkd6TAZ.js} +1 -1
- package/dist/assets/{Https-DsiZfUtZ.js → Https-amCzjB1a.js} +1 -1
- package/dist/assets/{InputAdornment-CfEcRXzS.js → InputAdornment-C6LFxcti.js} +1 -1
- package/dist/assets/{InputLabel-ERXbfftZ.js → InputLabel-avYwCvJM.js} +1 -1
- package/dist/assets/{LastPage-Cad46J9e.js → LastPage-DnBOlrut.js} +1 -1
- package/dist/assets/{Launch-fB5PS8PY.js → Launch-DPclIZbd.js} +1 -1
- package/dist/assets/{Link-Dzd80klt.js → Link-DfSEdivF.js} +1 -1
- package/dist/assets/{LoadingButton-hHC9D6Jh.js → LoadingButton-xveWP_M5.js} +1 -1
- package/dist/assets/{LockIcon-BgCC_gMD.js → LockIcon-9c7sG23a.js} +1 -1
- package/dist/assets/{Loop-BTQochTH.js → Loop-DwAWKPvc.js} +1 -1
- package/dist/assets/{MoreVert-CWypNP8g.js → MoreVert-Nc1QBj2D.js} +1 -1
- package/dist/assets/{Pagination-Btpup9Q2.js → Pagination-D5t0OCBH.js} +1 -1
- package/dist/assets/{Public-YuAmoyPx.js → Public-BLh26Bb9.js} +1 -1
- package/dist/assets/{SchemaReference.es-DbpM2rcO.js → SchemaReference.es--oFfd0mm.js} +1 -1
- package/dist/assets/{Search-uFerpv5L.js → Search-DnnCUnjB.js} +1 -1
- package/dist/assets/{Select-b09v8FPX.js → Select-CBA-xyOJ.js} +1 -1
- package/dist/assets/{Skeleton-zb5bXzJn.js → Skeleton-CQPjJHp3.js} +1 -1
- package/dist/assets/{Slider-Ct9swbug.js → Slider-Bdpm9oO4.js} +1 -1
- package/dist/assets/{Stepper-WgjnG7-H.js → Stepper-UEQaZPW7.js} +1 -1
- package/dist/assets/{TextField-BPO9Hci-.js → TextField-DjRhIjo4.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-PBOhq3jx.js → ToggleButtonGroup-Drarswgi.js} +1 -1
- package/dist/assets/{ViewList-DiAWVo-f.js → ViewList-CoYI2XgO.js} +1 -1
- package/dist/assets/{actions-CS2Trs8B.js → actions-BAUfPsQv.js} +1 -1
- package/dist/assets/{actions-CYOQRhpw.js → actions-C1t0ka-G.js} +1 -1
- package/dist/assets/{agreement-Br53N-6_.js → agreement-_qYynElX.js} +1 -1
- package/dist/assets/api-xvCGCwMn.js +1 -0
- package/dist/assets/{app-avatar-BhPctNAT.js → app-avatar-DcgC0kB0.js} +1 -1
- package/dist/assets/{audit-logs-DTUtFnAK.js → audit-logs-BqT_1MLt.js} +1 -1
- package/dist/assets/{brace-fold.es-BSNAOfKd.js → brace-fold.es-CkrKXotH.js} +1 -1
- package/dist/assets/{bundle-avatar-CbU_wbB2.js → bundle-avatar-RiFaz1Hb.js} +1 -1
- package/dist/assets/{chart-BUxn7CWp.js → chart-Cinf5zq_.js} +1 -1
- package/dist/assets/{click-to-copy-BLqu2SLV.js → click-to-copy-Bj13kdln.js} +1 -1
- package/dist/assets/{closebrackets.es-DynJAn1e.js → closebrackets.es-C32XuxI5.js} +1 -1
- package/dist/assets/{codemirror.es-cljF5Vfg.js → codemirror.es-oms3GpFv.js} +1 -1
- package/dist/assets/{comment.es-CoFz2Oy_.js → comment.es-AVZXTIDr.js} +1 -1
- package/dist/assets/{config-navigation-DZx1cn4-.js → config-navigation-LFUjTzgk.js} +1 -1
- package/dist/assets/{delete-confirm-CcpxufKB.js → delete-confirm-BoeDYrYX.js} +1 -1
- package/dist/assets/{detail-CIhc9jZt.js → detail-CHKmnQLc.js} +3 -3
- package/dist/assets/{dialog.es-C6n3qH0v.js → dialog.es-DHZdXjGS.js} +1 -1
- package/dist/assets/{download-xUEvruKh.js → download-DFPnF7mz.js} +1 -1
- package/dist/assets/{foldgutter.es-C2zr_tXR.js → foldgutter.es-CSicbQSJ.js} +1 -1
- package/dist/assets/getValidReactChildren-GMOIXwRG.js +1 -0
- package/dist/assets/{hint.es-D0wd5c9g.js → hint.es-DAEQ9N76.js} +1 -1
- package/dist/assets/{hint.es2-DMsolbMA.js → hint.es2-DYXluLKu.js} +1 -1
- package/dist/assets/{iframe-n_w2gI30.js → iframe-DwuYX0Xq.js} +1 -1
- package/dist/assets/{index-xRBNy1in.js → index-0RUAEm49.js} +1 -1
- package/dist/assets/{index-C8pFKy9H.js → index-7J6TijHC.js} +1 -1
- package/dist/assets/{index-BBEuxxjq.js → index-9R6mPPbN.js} +1 -1
- package/dist/assets/{index-Cr1Psinm.js → index-B60jROHj.js} +2 -2
- package/dist/assets/{index-Chps_oCL.js → index-BBnT5XB9.js} +1 -1
- package/dist/assets/{index-H43aSOyt.js → index-BKck0oIO.js} +1 -1
- package/dist/assets/{index-BgG0evtj.js → index-BKi0XLcv.js} +1 -1
- package/dist/assets/{index-BOADFDIv.js → index-BVznp3M0.js} +1 -1
- package/dist/assets/{index-C2Cgygdk.js → index-BbS1Wq4p.js} +1 -1
- package/dist/assets/{index-BEQyLEKb.js → index-BbW2IRRR.js} +1 -1
- package/dist/assets/{index-yF_Q2_O-.js → index-BnFWpIPQ.js} +1 -1
- package/dist/assets/{index-CxaGo2hZ.js → index-ByF3apMm.js} +10 -10
- package/dist/assets/{index-Dvf0fvGe.js → index-CHjwpGia.js} +1 -1
- package/dist/assets/{index-DxX4hb7b.js → index-CIbzY-F7.js} +1 -1
- package/dist/assets/{index-zZFI1GlJ.js → index-CKOyruf_.js} +1 -1
- package/dist/assets/{index-DIuisRmH.js → index-CZKHzmkC.js} +1 -1
- package/dist/assets/{index-D3ulER0U.js → index-CiZAReVP.js} +1 -1
- package/dist/assets/{index-BLEzKgrJ.js → index-Cl2QG8J6.js} +1 -1
- package/dist/assets/{index-DS1JU_-_.js → index-CqcpZ8C3.js} +2 -2
- package/dist/assets/{index-BSqmsUTI.js → index-CtzAe2AR.js} +1 -1
- package/dist/assets/{index-Dl2hud6k.js → index-CucnV9EX.js} +1 -1
- package/dist/assets/{index-DCQd0BKE.js → index-CyYUysSv.js} +1 -1
- package/dist/assets/{index-DxGSDzwI.js → index-D5MDxbqt.js} +1 -1
- package/dist/assets/{index-BwD5fAbE.js → index-DHYJxTcV.js} +5 -5
- package/dist/assets/{index-CHBNQD8C.js → index-DKkTRBZn.js} +3 -3
- package/dist/assets/{index-JffoMuKt.js → index-DOsg2sHH.js} +1 -1
- package/dist/assets/{index-CLIK5uaQ.js → index-DPx9NPlp.js} +1 -1
- package/dist/assets/{index-B2PJyxbf.js → index-DSByvARI.js} +1 -1
- package/dist/assets/{index-DNSbmp0u.js → index-DU7hJgoO.js} +1 -1
- package/dist/assets/{index-BoHcyWvQ.js → index-DV2quTIn.js} +1 -1
- package/dist/assets/{index-DqdZ9FKF.js → index-DcU_Cijj.js} +1 -1
- package/dist/assets/{index-Db0xkYaW.js → index-DfNh08gP.js} +3 -3
- package/dist/assets/{index-DvtCtx64.js → index-DmPgcoiv.js} +1 -1
- package/dist/assets/{index-BtKnBn2o.js → index-DrWhB0MJ.js} +1 -1
- package/dist/assets/{index-RAfI5Ovd.js → index-DsUZ7uiP.js} +1 -1
- package/dist/assets/{index-DZdSy-Ha.js → index-ECk6dODK.js} +1 -1
- package/dist/assets/index-HOVCi07-.js +54 -0
- package/dist/assets/index-ZQu91rXz.js +21 -0
- package/dist/assets/{index-DitmQRsw.js → index-baq8DMtQ.js} +1 -1
- package/dist/assets/{index-B_u7mT5U.js → index-cmiUur_8.js} +1 -1
- package/dist/assets/{index-CCIbtRAj.js → index-rPqHtLu4.js} +1 -1
- package/dist/assets/{index-BR3eM8Lx.js → index-v2cqn0eS.js} +1 -1
- package/dist/assets/{index-CzXBr0fB.js → index-zFXZLqso.js} +1 -1
- package/dist/assets/{index.es-Bq5abo39.js → index.es-Dkh9ejMp.js} +1 -1
- package/dist/assets/{index.esm-DvG22D3z.js → index.esm-Hqw0Nfnx.js} +1 -1
- package/dist/assets/{info-addon.es-C24VfKdY.js → info-addon.es-5NmROke-.js} +1 -1
- package/dist/assets/{info.es-Bqu2hgxq.js → info.es-CsELEfUv.js} +1 -1
- package/dist/assets/{install-from-url-BsrxhAMw.js → install-from-url-DXGlT7R8.js} +1 -1
- package/dist/assets/{invitation-BMg6rGzW.js → invitation-CSNEw5oM.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-PjyGugoV.js → is-path-prefix-equal-CoJozASB.js} +1 -1
- package/dist/assets/{isEqual-3iEl-twA.js → isEqual-BLnnfE4T.js} +1 -1
- package/dist/assets/{item-Yv551hqX.js → item-tD3jAfba.js} +1 -1
- package/dist/assets/{javascript.es-DqZLq1Ic.js → javascript.es-BIUhEWTj.js} +1 -1
- package/dist/assets/{jump-to-line.es-CUkkqFSr.js → jump-to-line.es-BQjWkUgo.js} +1 -1
- package/dist/assets/{jump.es-dT0NLpeH.js → jump.es-D8ZxFsmc.js} +1 -1
- package/dist/assets/{line-CG9AJRHJ.js → line-DW0juCGB.js} +3 -3
- package/dist/assets/{lint.es-BQv8s92u.js → lint.es-Dv2pWRyz.js} +1 -1
- package/dist/assets/{lint.es2-Bw5fcxch.js → lint.es2-CqGQ_rnk.js} +1 -1
- package/dist/assets/{lint.es3-CX_qCTWo.js → lint.es3-g58ofVJA.js} +1 -1
- package/dist/assets/{list-header-3UZEZSQm.js → list-header-tjKXNgOR.js} +1 -1
- package/dist/assets/{log-C6NBJs93.js → log-BFiA_Tyh.js} +1 -1
- package/dist/assets/{lottie-GpNsBU3J.js → lottie-yeTV0Y2m.js} +1 -1
- package/dist/assets/{matchbrackets.es-Kf3wI0kD.js → matchbrackets.es-B-Xj5H9Q.js} +1 -1
- package/dist/assets/{memory-CnY03W9t.js → memory-C7a59RsU.js} +1 -1
- package/dist/assets/{mode.es-DGRXJ00j.js → mode.es-BSNxo6gK.js} +1 -1
- package/dist/assets/{mode.es2-DtvaqXOt.js → mode.es2-C1LDwVOl.js} +1 -1
- package/dist/assets/{mode.es3-B8JtCbCV.js → mode.es3-C6-ZTyOk.js} +1 -1
- package/dist/assets/{onlineParser.es-ZkK82Jda.js → onlineParser.es-BzK7GlZv.js} +1 -1
- package/dist/assets/{overview-BUJYpj1Q.js → overview-BlWFlRx2.js} +1 -1
- package/dist/assets/{react-BjVyu04q.js → react-1fE0Sobf.js} +3 -3
- package/dist/assets/{redux-gonzvYQ4.js → redux-hfExDDyr.js} +1 -1
- package/dist/assets/{resource-dialog-DO7gkp11.js → resource-dialog-DinbvH2C.js} +1 -1
- package/dist/assets/{runtime-BtNyIENm.js → runtime-tAjj0dmb.js} +1 -1
- package/dist/assets/{search.es-B_DIO3P6.js → search.es-DxfjuUNu.js} +1 -1
- package/dist/assets/{searchcursor.es-DSbkhPIa.js → searchcursor.es-C0Z2DY1c.js} +1 -1
- package/dist/assets/service-1GhnQw9a.js +1 -0
- package/dist/assets/{show-hint.es-DNIrnFs-.js → show-hint.es-q24U0q_A.js} +1 -1
- package/dist/assets/{slicedToArray-CjyU228M.js → slicedToArray-CYGiqzmA.js} +1 -1
- package/dist/assets/{spaces-BSCd0GtL.js → spaces-C58gy1rM.js} +1 -1
- package/dist/assets/{sublime.es-PWDR4BS_.js → sublime.es-BffqyCoy.js} +1 -1
- package/dist/assets/{switch-control-C8El4PwO.js → switch-control-CuPWIx6T.js} +1 -1
- package/dist/assets/{table-icons-DwX90JdI.js → table-icons-DOOoyljy.js} +2 -2
- package/dist/assets/{tag-Cvwm2gDk.js → tag-Cxx1sXPF.js} +1 -1
- package/dist/assets/{team-N6DYcIw9.js → team-BynFP1rM.js} +1 -1
- package/dist/assets/{toUpper-psJiJObX.js → toUpper-mYvRPeiI.js} +1 -1
- package/dist/assets/{traffic-CQiojOw9.js → traffic-D03HdfGL.js} +1 -1
- package/dist/assets/{url-evaluation-DjVe9I2g.js → url-evaluation-dheoi_Nj.js} +1 -1
- package/dist/assets/{url-join-D1xrWbhs.js → url-join-DMIMYkEk.js} +1 -1
- package/dist/assets/{use-blocklet-info-for-connect-did-spaces-IAC6QCQz.js → use-blocklet-info-for-connect-did-spaces-DWywlTbc.js} +1 -1
- package/dist/assets/{useLocalStorage-CcTbqaWM.js → useLocalStorage-C3GQNaV2.js} +1 -1
- package/dist/assets/{util-_4tqOqNO.js → util-cf4pvQDW.js} +1 -1
- package/dist/assets/{wait-container-4d4Uc1iI.js → wait-container-BwlRhWl0.js} +1 -1
- package/dist/assets/{withStyles-BiL7OyyA.js → withStyles-BkcRLEgx.js} +1 -1
- package/dist/assets/{wrap-locale-b15Mq8e0.js → wrap-locale-BqGpRCMA.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-Cwej9e35.js +0 -1
- package/dist/assets/DeleteOutline-DvFRqyWQ.js +0 -1
- package/dist/assets/api-UFWd_s1k.js +0 -1
- package/dist/assets/getValidReactChildren-7IUHA6fR.js +0 -1
- package/dist/assets/index-D9E6SEa0.js +0 -21
- package/dist/assets/index-DPGMTLlW.js +0 -54
- package/dist/assets/service-B4g9jUew.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__fileDeps=["./overview-
|
|
2
|
-
import{q as Ae,t as Gt,bl as M,r as m,F as z,j as p,J as Ye,O as ne,B as Xe,x as qt,bm as Ht,M as A,A as D,K as ce,$ as Be,bn as ae,b as be,P as Kt,bg as Ze,bo as P,z as Qt,u as Wt,bp as pe,bq as Jt,V as Fe,C as Ue,N as Yt,br as Xt,m as he,U as Zt,n as en,bs as tn}from"./index-
|
|
1
|
+
const __vite__fileDeps=["./overview-BlWFlRx2.js","./index-CqcpZ8C3.js","./index-D7K8de1w.css","./index-BKi0XLcv.js","./team-BynFP1rM.js","./url-evaluation-dheoi_Nj.js","./Delete-CnrKsAGC.js","./tag-Cxx1sXPF.js","./Add-B8Ae2MjM.js","./LockIcon-9c7sG23a.js","./index-CtzAe2AR.js","./Https-amCzjB1a.js","./is-path-prefix-equal-CoJozASB.js","./index-rPqHtLu4.js","./api-xvCGCwMn.js","./util-cf4pvQDW.js","./TextField-DjRhIjo4.js","./Select-CBA-xyOJ.js","./InputLabel-avYwCvJM.js","./LoadingButton-xveWP_M5.js","./actions-BAUfPsQv.js","./index-Cl2QG8J6.js","./iframe-DwuYX0Xq.js","./line-DW0juCGB.js","./Done-BCLH1e-Y.js","./EditIcon-DmNEjmIQ.js","./ArrowDropDown-BNt-WuI3.js","./ButtonGroup-OcQcEz6r.js","./getValidReactChildren-GMOIXwRG.js","./index-v2cqn0eS.js","./ChevronRight-C3NPaw6o.js","./index-CIbzY-F7.js","./bundle-avatar-RiFaz1Hb.js","./app-avatar-DcgC0kB0.js","./isEqual-BLnnfE4T.js","./Loop-DwAWKPvc.js","./Autocomplete-Bo6UH2XL.js","./mode-B2dWMeTO.js","./Public-BLh26Bb9.js","./click-to-copy-Bj13kdln.js","./index-DcU_Cijj.js","./index.esm-Hqw0Nfnx.js","./Launch-DPclIZbd.js","./Edit-i_Bman7K.js","./actions-C1t0ka-G.js","./useLocalStorage-C3GQNaV2.js","./MoreVert-Nc1QBj2D.js","./index-baq8DMtQ.js","./redux-hfExDDyr.js","./switch-control-CuPWIx6T.js","./Slider-Bdpm9oO4.js","./index-CZKHzmkC.js","./FilterList-fpG1-3KQ.js","./LastPage-DnBOlrut.js","./Search-DnnCUnjB.js","./index-cmiUur_8.js","./index-DU3JORH0.css","./config-navigation-LFUjTzgk.js","./slicedToArray-CYGiqzmA.js","./index-DU7hJgoO.js","./InputAdornment-C6LFxcti.js","./index-ECk6dODK.js","./Skeleton-CQPjJHp3.js","./audit-logs-BqT_1MLt.js","./index-BbS1Wq4p.js","./index-D4PP6P2d.css","./Pagination-D5t0OCBH.js","./index-CHjwpGia.js","./index-CKOyruf_.js","./list-header-tjKXNgOR.js","./Google-DLkd6TAZ.js","./index-BVznp3M0.js","./index-CyYUysSv.js","./ToggleButtonGroup-Drarswgi.js","./index-BKck0oIO.js","./ViewList-CoYI2XgO.js","./resource-dialog-DinbvH2C.js","./index-DSByvARI.js","./service-1GhnQw9a.js","./table-icons-DOOoyljy.js","./ChevronLeft-Dp9aa91c.js","./DeleteOutline-B4LqoCK2.js","./memoize-one.esm-BdPwpGay.js","./index-B60jROHj.js","./agreement-_qYynElX.js","./url-join-DMIMYkEk.js","./Link-DfSEdivF.js","./item-tD3jAfba.js","./preact.module-B1z5cdvs.js","./delete-confirm-BoeDYrYX.js","./item-CxkJY_14.css","./index-D5MDxbqt.js","./Close-Cbaq-RRq.js","./lottie-yeTV0Y2m.js","./toUpper-mYvRPeiI.js","./spaces-C58gy1rM.js","./install-from-url-DXGlT7R8.js","./Stepper-UEQaZPW7.js","./use-blocklet-info-for-connect-did-spaces-DWywlTbc.js","./Breadcrumbs-CkmMkQDW.js","./log-BFiA_Tyh.js","./download-DFPnF7mz.js","./download-D33dFtt_.css","./runtime-tAjj0dmb.js","./memory-C7a59RsU.js","./chart-Cinf5zq_.js","./traffic-D03HdfGL.js","./index-HOVCi07-.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
import{q as Ae,t as Gt,bl as M,r as m,F as z,j as p,J as Ye,O as ne,B as Xe,x as qt,bm as Ht,M as A,A as D,K as ce,$ as Be,bn as ae,b as be,P as Kt,bg as Ze,bo as P,z as Qt,u as Wt,bp as pe,bq as Jt,V as Fe,C as Ue,N as Yt,br as Xt,m as he,U as Zt,n as en,bs as tn}from"./index-CqcpZ8C3.js";import{T as nn}from"./index-CIbzY-F7.js";import{B as on}from"./url-evaluation-dheoi_Nj.js";import{D as sn,B as rn}from"./actions-C1t0ka-G.js";import{B as cn}from"./app-avatar-DcgC0kB0.js";import{u as F,B as an,a as ln,T as un}from"./team-BynFP1rM.js";import{a as fn,b as dn}from"./spaces-C58gy1rM.js";import{B as pn}from"./Breadcrumbs-CkmMkQDW.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 Ae,t as Gt,bl as M,r as m,F as z,j as p,J as Ye,O as ne,B as Xe,x as
|
|
|
9
9
|
*
|
|
10
10
|
* @license MIT
|
|
11
11
|
* @version 3.1.1
|
|
12
|
-
*/const et=Object.freeze({left:0,top:0,width:16,height:16}),oe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Q=Object.freeze({...et,...oe}),ve=Object.freeze({...Q,body:"",hidden:!1});function hn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Ve(e,t){const n=hn(e,t);for(const o in ve)o in oe?o in e&&!(o in n)&&(n[o]=oe[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function mn(e,t){const n=e.icons,o=e.aliases||Object.create(null),s=Object.create(null);function r(i){if(n[i])return s[i]=[];if(!(i in s)){s[i]=null;const c=o[i]&&o[i].parent,a=c&&r(c);a&&(s[i]=[c].concat(a))}return s[i]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(r),s}function gn(e,t,n){const o=e.icons,s=e.aliases||Object.create(null);let r={};function i(c){r=Ve(o[c]||s[c],r)}return i(t),n.forEach(i),Ve(e,r)}function tt(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const o=mn(e);for(const s in o){const r=o[s];r&&(t(s,gn(e,s,r)),n.push(s))}return n}const $=/^[a-z0-9]+(-[a-z0-9]+)*$/,U=(e,t,n,o="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;o=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const c=s.pop(),a=s.pop(),l={provider:s.length>0?s[0]:o,prefix:a,name:c};return t&&!ee(l)?null:l}const r=s[0],i=r.split("-");if(i.length>1){const c={provider:o,prefix:i.shift(),name:i.join("-")};return t&&!ee(c)?null:c}if(n&&o===""){const c={provider:o,prefix:"",name:r};return t&&!ee(c,n)?null:c}return null},ee=(e,t)=>e?!!((e.provider===""||e.provider.match($))&&(t&&e.prefix===""||e.prefix.match($))&&e.name.match($)):!1,yn={provider:"",aliases:{},not_found:{},...et};function me(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function nt(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!me(e,yn))return null;const n=t.icons;for(const s in n){const r=n[s];if(!s.match($)||typeof r.body!="string"||!me(r,ve))return null}const o=t.aliases||Object.create(null);for(const s in o){const r=o[s],i=r.parent;if(!s.match($)||typeof i!="string"||!n[i]&&!o[i]||!me(r,ve))return null}return t}const se=Object.create(null);function bn(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function _(e,t){const n=se[e]||(se[e]=Object.create(null));return n[t]||(n[t]=bn(e,t))}function je(e,t){return nt(t)?tt(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function vn(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function xn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(se)).forEach(s=>{(typeof s=="string"&&typeof t=="string"?[t]:Object.keys(se[s]||{})).forEach(i=>{const c=_(s,i);n=n.concat(Object.keys(c.icons).map(a=>(s!==""?"@"+s+":":"")+i+":"+a))})}),n}let H=!1;function Sn(e){return typeof e=="boolean"&&(H=e),H}function W(e){const t=typeof e=="string"?U(e,!0,H):e;if(t){const n=_(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function ot(e,t){const n=U(e,!0,H);if(!n)return!1;const o=_(n.provider,n.prefix);return vn(o,n.name,t)}function st(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),H&&!t&&!e.prefix){let s=!1;return nt(e)&&(e.prefix="",tt(e,(r,i)=>{i&&ot(r,i)&&(s=!0)})),s}const n=e.prefix;if(!ee({provider:t,prefix:n,name:"a"}))return!1;const o=_(t,n);return!!je(o,e)}function wn(e){return!!W(e)}function kn(e){const t=W(e);return t?{...Q,...t}:null}const rt=Object.freeze({width:null,height:null}),it=Object.freeze({...rt,...oe}),In=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Cn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function xe(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 o=e.split(In);if(o===null||!o.length)return e;const s=[];let r=o.shift(),i=Cn.test(r);for(;;){if(i){const c=parseFloat(r);isNaN(c)?s.push(r):s.push(Math.ceil(c*t*n)/n)}else s.push(r);if(r=o.shift(),r===void 0)return s.join("");i=!i}}const En=e=>e==="unset"||e==="undefined"||e==="none";function le(e,t){const n={...Q,...e},o={...it,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,o].forEach(v=>{const x=[],C=v.hFlip,S=v.vFlip;let w=v.rotate;C?S?w+=2:(x.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),x.push("scale(-1 1)"),s.top=s.left=0):S&&(x.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),x.push("scale(1 -1)"),s.top=s.left=0);let k;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:k=s.height/2+s.top,x.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:x.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:k=s.width/2+s.left,x.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}w%2===1&&(s.left!==s.top&&(k=s.left,s.left=s.top,s.top=k),s.width!==s.height&&(k=s.width,s.width=s.height,s.height=k)),x.length&&(r='<g transform="'+x.join(" ")+'">'+r+"</g>")});const i=o.width,c=o.height,a=s.width,l=s.height;let u,d;i===null?(d=c===null?"1em":c==="auto"?l:c,u=xe(d,a/l)):(u=i==="auto"?a:i,d=c===null?xe(u,l/a):c==="auto"?l:c);const f={},y=(v,x)=>{En(x)||(f[v]=x.toString())};return y("width",u),y("height",d),f.viewBox=s.left.toString()+" "+s.top.toString()+" "+a.toString()+" "+l.toString(),{attributes:f,body:r}}const Pn=/\sid="(\S+)"/g,Tn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let _n=0;function ct(e,t=Tn){const n=[];let o;for(;o=Pn.exec(e);)n.push(o[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(r=>{const i=typeof t=="function"?t(r):t+(_n++).toString(),c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}const L={local:!0,session:!0},at={local:new Set,session:new Set};let Oe=!1;function An(e){Oe=e}const ze="iconify2",K="iconify",lt=K+"-count",$e=K+"-version",ut=36e5,Bn=168;function Se(e,t){try{return e.getItem(t)}catch{}}function De(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ge(e,t){try{e.removeItem(t)}catch{}}function we(e,t){return De(e,lt,t.toString())}function ke(e){return parseInt(Se(e,lt))||0}let X=typeof window>"u"?{}:window;function ft(e){const t=e+"Storage";try{if(X&&X[t]&&typeof X[t].length=="number")return X[t]}catch{}L[e]=!1}function dt(e,t){const n=ft(e);if(!n)return;const o=Se(n,$e);if(o!==ze){if(o){const c=ke(n);for(let a=0;a<c;a++)Ge(n,K+a.toString())}De(n,$e,ze),we(n,0);return}const s=Math.floor(Date.now()/ut)-Bn,r=c=>{const a=K+c.toString(),l=Se(n,a);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>s&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,c))return!0}catch{}Ge(n,a)}};let i=ke(n);for(let c=i-1;c>=0;c--)r(c)||(c===i-1?(i--,we(n,i)):at[e].add(c))}function pt(){if(!Oe){An(!0);for(const e in L)dt(e,t=>{const n=t.data,o=t.provider,s=n.prefix,r=_(o,s);if(!je(r,n).length)return!1;const i=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,i):i,!0})}}function ht(e,t){switch(e){case"local":case"session":L[e]=t;break;case"all":for(const n in L)L[n]=t;break}}const Ie=Object.create(null);function mt(e,t){Ie[e]=t}function Ce(e){return Ie[e]||Ie[""]}function Le(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 ue=Object.create(null),V=["https://api.simplesvg.com","https://api.unisvg.com"],te=[];for(;V.length>0;)V.length===1||Math.random()>.5?te.push(V.shift()):te.push(V.pop());ue[""]=Le({resources:["https://api.iconify.design"].concat(te)});function gt(e,t){const n=Le(t);return n===null?!1:(ue[e]=n,!0)}function fe(e){return ue[e]}function jn(){return Object.keys(ue)}const On=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let re=On();function Dn(e){re=e}function Ln(){return re}function Nn(e,t){const n=fe(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let s=0;n.resources.forEach(i=>{s=Math.max(s,i.length)});const r=t+".json?icons=";o=n.maxURL-s-n.path.length-r.length}return o}function Mn(e){return e===404}const Rn=(e,t,n)=>{const o=[],s=Nn(e,t),r="icons";let i={type:r,provider:e,prefix:t,icons:[]},c=0;return n.forEach((a,l)=>{c+=a.length+1,c>=s&&l>0&&(o.push(i),i={type:r,provider:e,prefix:t,icons:[]},c=a.length),i.icons.push(a)}),o.push(i),o};function Fn(e){if(typeof e=="string"){const t=fe(e);if(t)return t.path}return"/"}const Un=(e,t,n)=>{if(!re){n("abort",424);return}let o=Fn(t.provider);switch(t.type){case"icons":{const r=t.prefix,c=t.icons.join(","),a=new URLSearchParams({icons:c});o+=r+".json?"+a.toString();break}case"custom":{const r=t.uri;o+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let s=503;re(e+o).then(r=>{const i=r.status;if(i!==200){setTimeout(()=>{n(Mn(i)?"abort":"next",i)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",s)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",s)})},Vn={prepare:Rn,send:Un};function zn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let o={provider:"",prefix:"",name:""};return e.forEach(s=>{if(o.name===s.name&&o.prefix===s.prefix&&o.provider===s.provider)return;o=s;const r=s.provider,i=s.prefix,c=s.name,a=n[r]||(n[r]=Object.create(null)),l=a[i]||(a[i]=_(r,i));let u;c in l.icons?u=t.loaded:i===""||l.missing.has(c)?u=t.missing:u=t.pending;const d={provider:r,prefix:i,name:c};u.push(d)}),t}function yt(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(s=>s.id!==t))})}function $n(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 o=e.provider,s=e.prefix;t.forEach(r=>{const i=r.icons,c=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==s)return!0;const l=a.name;if(e.icons[l])i.loaded.push({provider:o,prefix:s,name:l});else if(e.missing.has(l))i.missing.push({provider:o,prefix:s,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||yt([e],r.id),r.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),r.abort))})}))}let Gn=0;function qn(e,t,n){const o=Gn++,s=yt.bind(null,n,o);if(!t.pending.length)return s;const r={id:o,icons:t,callback:e,abort:s};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(r)}),s}function Hn(e,t=!0,n=!1){const o=[];return e.forEach(s=>{const r=typeof s=="string"?U(s,t,n):s;r&&o.push(r)}),o}var Kn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Qn(e,t,n,o){const s=e.resources.length,r=e.random?Math.floor(Math.random()*s):e.index;let i;if(e.random){let g=e.resources.slice(0);for(i=[];g.length>1;){const I=Math.floor(Math.random()*g.length);i.push(g[I]),g=g.slice(0,I).concat(g.slice(I+1))}i=i.concat(g)}else i=e.resources.slice(r).concat(e.resources.slice(0,r));const c=Date.now();let a="pending",l=0,u,d=null,f=[],y=[];typeof o=="function"&&y.push(o);function v(){d&&(clearTimeout(d),d=null)}function x(){a==="pending"&&(a="aborted"),v(),f.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),f=[]}function C(g,I){I&&(y=[]),typeof g=="function"&&y.push(g)}function S(){return{startTime:c,payload:t,status:a,queriesSent:l,queriesPending:f.length,subscribe:C,abort:x}}function w(){a="failed",y.forEach(g=>{g(void 0,u)})}function k(){f.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),f=[]}function j(g,I,b){const T=I!=="success";switch(f=f.filter(E=>E!==g),a){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=b,w();return}if(T){u=b,f.length||(i.length?O():w());return}if(v(),k(),!e.random){const E=e.resources.indexOf(g.resource);E!==-1&&E!==e.index&&(e.index=E)}a="completed",y.forEach(E=>{E(b)})}function O(){if(a!=="pending")return;v();const g=i.shift();if(g===void 0){if(f.length){d=setTimeout(()=>{v(),a==="pending"&&(k(),w())},e.timeout);return}w();return}const I={status:"pending",resource:g,callback:(b,T)=>{j(I,b,T)}};f.push(I),l++,d=setTimeout(O,e.rotate),n(g,t,I.callback)}return setTimeout(O),S}function bt(e){const t={...Kn,...e};let n=[];function o(){n=n.filter(c=>c().status==="pending")}function s(c,a,l){const u=Qn(t,c,a,(d,f)=>{o(),l&&l(d,f)});return n.push(u),u}function r(c){return n.find(a=>c(a))||null}return{query:s,find:r,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:o}}function qe(){}const ge=Object.create(null);function Wn(e){if(!ge[e]){const t=fe(e);if(!t)return;const n=bt(t),o={config:t,redundancy:n};ge[e]=o}return ge[e]}function vt(e,t,n){let o,s;if(typeof e=="string"){const r=Ce(e);if(!r)return n(void 0,424),qe;s=r.send;const i=Wn(e);i&&(o=i.redundancy)}else{const r=Le(e);if(r){o=bt(r);const i=e.resources?e.resources[0]:"",c=Ce(i);c&&(s=c.send)}}return!o||!s?(n(void 0,424),qe):o.query(t,s,n)().abort}function Jn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in L)dt(o,s=>{const r=s.data;return s.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t});return!0}function Yn(e,t){Oe||pt();function n(o){let s;if(!L[o]||!(s=ft(o)))return;const r=at[o];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=ke(s),!we(s,i+1))return;const c={cached:Math.floor(Date.now()/ut),provider:e.provider,data:t};return De(s,K+i.toString(),JSON.stringify(c))}t.lastModified&&!Jn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function He(){}function Xn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,$n(e)}))}function Zn(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:o}=e,s=e.iconsToLoad;delete e.iconsToLoad;let r;if(!s||!(r=Ce(n)))return;r.prepare(n,o,s).forEach(c=>{vt(n,c,a=>{if(typeof a!="object")c.icons.forEach(l=>{e.missing.add(l)});else try{const l=je(e,a);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),Yn(e,a)}catch(l){console.error(l)}Xn(e)})})}))}const eo=e=>{const n=_(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},Ne=(e,t)=>{const n=Hn(e,!0,Sn()),o=zn(n);if(!o.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(o.loaded,o.missing,o.pending,He)}),()=>{a=!1}}const s=Object.create(null),r=[];let i,c;return o.pending.forEach(a=>{const{provider:l,prefix:u}=a;if(u===c&&l===i)return;i=l,c=u,r.push(_(l,u));const d=s[l]||(s[l]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(a=>{const{provider:l,prefix:u,name:d}=a,f=_(l,u),y=f.pendingIcons||(f.pendingIcons=new Set);y.has(d)||(y.add(d),s[l][u].push(d))}),r.forEach(a=>{const{provider:l,prefix:u}=a;s[l][u].length&&Zn(a,s[l][u])}),t?qn(t,o,r):He},to=e=>new Promise((t,n)=>{const o=typeof e=="string"?U(e,!0):e;if(!o){n(e);return}Ne([o||e],s=>{if(s.length&&o){const r=W(o);if(r){t({...Q,...r});return}}n(e)})});function xt(e,t){const n={...e};for(const o in t){const s=t[o],r=typeof s;o in rt?(s===null||s&&(r==="string"||r==="number"))&&(n[o]=s):r===typeof n[o]&&(n[o]=o==="rotate"?s%4:s)}return n}const de={...it,inline:!1},ye="iconify",Ee="iconify-inline",B="iconifyData"+Date.now();let N=[];function J(e){for(let t=0;t<N.length;t++){const n=N[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function St(e,t=!1){let n=J(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},N.push(n),n)}function no(){if(document.documentElement)return St(document.documentElement);N.push({node:()=>document.documentElement})}function oo(e){N=N.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function Y(){return N}function so(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let G=null;const ro={childList:!0,subtree:!0,attributes:!0};function wt(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,G&&G(e)}))}function io(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const s=t[o];if(s.addedNodes&&s.addedNodes.length>0||s.type==="attributes"&&s.target[B]!==void 0){n.paused||wt(e);return}}}function kt(e,t){e.observer.instance.observe(t,ro)}function ie(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(io.bind(null,e)),kt(e,n),t.paused||wt(e))}function Ke(){Y().forEach(ie)}function It(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 co(e){const t=G!==null;if(G!==e&&(G=e,t&&Y().forEach(It)),t){Ke();return}so(Ke)}function Pe(e){(e?[e]:Y()).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 ao(e){if(e){const t=J(e);t&&Pe(t)}else Pe()}function Te(e){(e?[e]:Y()).forEach(t=>{if(!t.observer){ie(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const o=typeof t.node=="function"?t.node():t.node;if(o)n.instance?kt(t,o):ie(t);else return}})}function lo(e){if(e){const t=J(e);t&&Te(t)}else Te()}function Ct(e,t=!1){const n=St(e,t);return ie(n),n}function Et(e){const t=J(e);t&&(It(t),oo(e))}function uo(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,o=t.customisations;for(const s in de)if(n[s]!==o[s])return!0;return!1}function fo(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:o(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/s,r%1===0?o(r):0)}}return t}const po=/[\s,]+/;function ho(e,t){t.split(po).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const mo=["width","height"],go=["inline","hFlip","vFlip"];function yo(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function bo(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&U(t,!0);if(!n)return null;const o={...de,inline:e.classList&&e.classList.contains(Ee)};mo.forEach(c=>{const a=e.getAttribute("data-"+c);a&&(o[c]=a)});const s=e.getAttribute("data-rotate");typeof s=="string"&&(o.rotate=fo(s));const r=e.getAttribute("data-flip");typeof r=="string"&&ho(o,r),go.forEach(c=>{const a="data-"+c,l=yo(e.getAttribute(a),a);typeof l=="boolean"&&(o[c]=l)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:o,mode:i}}const vo="svg."+ye+", i."+ye+", span."+ye+", i."+Ee+", span."+Ee;function xo(e){const t=[];return e.querySelectorAll(vo).forEach(n=>{const o=n[B]||n.tagName.toLowerCase()!=="svg"?bo(n):null;o&&t.push({node:n,props:o})}),t}function Pt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let q;function So(){try{q=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{q=null}}function wo(e){return q===void 0&&So(),q?q.createHTML(e):e}function Tt(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function _t(e,t,n,o){const s=e.classList;if(o){const i=o.classList;Array.from(i).forEach(c=>{s.add(c)})}const r=[];return t.forEach(i=>{s.contains(i)?n.has(i)&&r.push(i):(s.add(i),r.push(i))}),n.forEach(i=>{t.has(i)||s.remove(i)}),r}function At(e,t,n){const o=e.style;(n||[]).forEach(r=>{o.removeProperty(r)});const s=[];for(const r in t)o.getPropertyValue(r)||(s.push(r),o.setProperty(r,t[r]));return s}function Bt(e,t,n){let o;try{o=document.createElement("span")}catch{return e}const s=t.customisations,r=le(n,s),i=e[B],c=Pt(ct(r.body),{"aria-hidden":"true",role:"img",...r.attributes});o.innerHTML=wo(c);const a=o.childNodes[0],l=e.attributes;for(let v=0;v<l.length;v++){const x=l.item(v),C=x.name;C!=="class"&&!a.hasAttribute(C)&&a.setAttribute(C,x.value)}const u=Tt(t.icon),d=_t(a,u,new Set(i&&i.addedClasses),e),f=At(a,s.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),y={...t,status:"loaded",addedClasses:d,addedStyles:f};return a[B]=y,e.parentNode&&e.parentNode.replaceChild(a,e),a}function ko(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Io(e){return"data:image/svg+xml,"+ko(e)}function Co(e){return'url("'+Io(e)+'")'}const Eo={display:"inline-block"},_e={"background-color":"currentColor"},jt={"background-color":"transparent"},Qe={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},We={"-webkit-mask":_e,mask:_e,background:jt};for(const e in We){const t=We[e];for(const n in Qe)t[e+"-"+n]=Qe[n]}function Je(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function Po(e,t,n,o){const s=t.customisations,r=le(n,s),i=r.attributes,c=e[B],a=Pt(r.body,{...i,width:n.width+"",height:n.height+""}),l=Tt(t.icon),u=_t(e,l,new Set(c&&c.addedClasses)),f={"--svg":Co(a),width:Je(i.width),height:Je(i.height),...Eo,...o?_e:jt};s.inline&&(f["vertical-align"]="-0.125em");const y=At(e,f,c&&c.addedStyles),v={...t,status:"loaded",addedClasses:u,addedStyles:y};return e[B]=v,e}let Z=!1;function To(){Z||(Z=!0,setTimeout(()=>{Z&&(Z=!1,R())}))}function R(e,t=!1){const n=Object.create(null);function o(s,r){const{provider:i,prefix:c,name:a}=s,l=_(i,c),u=l.icons[a];if(u)return{status:"loaded",icon:u};if(l.missing.has(a))return{status:"missing"};if(r&&!eo(s)){const d=n[i]||(n[i]=Object.create(null));(d[c]||(d[c]=new Set)).add(a)}return{status:"loading"}}(e?[e]:Y()).forEach(s=>{const r=typeof s.node=="function"?s.node():s.node;if(!r||!r.querySelectorAll)return;let i=!1,c=!1;function a(l,u,d){if(c||(c=!0,Pe(s)),l.tagName.toUpperCase()!=="SVG"){const f=u.mode,y=f==="mask"||(f==="bg"?!1:f==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof y=="boolean"){Po(l,u,{...Q,...d},y);return}}Bt(l,u,d)}xo(r).forEach(({node:l,props:u})=>{const d=l[B];if(!d){const{status:y,icon:v}=o(u.icon,!0);if(v){a(l,u,v);return}i=i||y==="loading",l[B]={...u,status:y};return}let f;if(uo(d,u)){if(f=o(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=o(u.icon,!1),!f.icon){d.status=f.status;return}}a(l,u,f.icon)}),s.temporary&&!i?Et(r):t&&i?Ct(r,!0):c&&s.observer&&Te(s)});for(const s in n){const r=n[s];for(const i in r){const c=r[i];Ne(Array.from(c).map(a=>({provider:s,prefix:i,name:a})),To)}}}function _o(e){const t=J(e);t?R(t):R({node:e,temporary:!0},!0)}function Ot(e,t,n=!1){const o=W(e);if(!o)return null;const s=U(e),r=xt(de,t||{}),i=Bt(document.createElement("span"),{name:e,icon:s,customisations:r},o);return n?i.outerHTML:i}function Ao(){return"3.1.1"}function Bo(e,t){return Ot(e,t,!1)}function jo(e,t){return Ot(e,t,!0)}function Oo(e,t){const n=W(e);if(!n)return null;const o=xt(de,t||{});return le(n,o)}function Do(e){e?_o(e):R()}if(typeof document<"u"&&typeof window<"u"){no();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(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!st(o))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{co(R),R()})}function Lo(e,t){ht(e,t!==!1)}function No(e){ht(e,!0)}mt("",Vn);if(typeof document<"u"&&typeof window<"u"){pt();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const o="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;gt(n,s)||console.error(o)}catch{console.error(o)}}}}const Mo={getAPIConfig:fe,setAPIModule:mt,sendAPIQuery:vt,setFetch:Dn,getFetch:Ln,listAPIProviders:jn},Ro={_api:Mo,addAPIProvider:gt,loadIcons:Ne,loadIcon:to,iconExists:wn,getIcon:kn,listIcons:xn,addIcon:ot,addCollection:st,replaceIDs:ct,calculateSize:xe,buildIcon:le,getVersion:Ao,renderSVG:Bo,renderHTML:jo,renderIcon:Oo,scan:Do,observe:Ct,stopObserving:Et,pauseObserver:ao,resumeObserver:lo,enableCache:Lo,disableCache:No};try{self.Iconify===void 0&&(self.Iconify=Ro)}catch{}const Fo=e=>{const t={};let n=null;return A.forEachBlockletSync(e,o=>{t[o.meta.bundleDid]?n=A.getDisplayName(o,!0):o.meta.bundleDid&&(t[o.meta.bundleDid]=!0)}),n},Uo=(e,t,n)=>{var r;const{hostname:o,href:s}=e;if(!t)return s;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(o);if(!c)return s;const a=c[0],u=((((r=t.site)==null?void 0:r.domainAliases)||[]).map(d=>d.value).filter(Boolean).find(d=>d.endsWith(z.DEFAULT_DID_DOMAIN))||"").replace(`.${z.DEFAULT_DID_DOMAIN}`,"");return u?s.replace(o,`${u}-${a}.${z.DEFAULT_IP_DOMAIN_SUFFIX}`):s}return s.replace(t.meta.bundleDid,t.appPid)};function Dt(){const{t:e}=Ae(),{api:t}=Gt(),{blocklet:n}=F(),{inService:o}=M(),[s,r]=m.useState(!1),[i,c]=m.useState(5),a=n&&n.structVersion!==z.APP_STRUCT_VERSION,l=()=>{try{if(n.status==="running"){D.error(e("blocklet.migrate.tip.running"));return}const f=Fo(n);if(f){D.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}r(!0)}catch(f){D.error(ce(f))}},u=()=>{const f=Uo(window.location,n,o);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(y=>y-1)},1e3)},d=()=>r(!1);return[a&&p.jsxs(Ye,{type:"warning",style:{margin:"12px 0"},children:[p.jsxs(ne,{display:"flex",alignItems:"center",children:[p.jsx(Xe,{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(ne,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&p.jsx(qt,{popup:!0,open:s,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:Ht(n,!0),title:A.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")]}Dt.propTypes={};async function Vo({blockletDid:e,nodeApi:t,spaceGateways:n}){let o=!1;const s=await Promise.all(n.map(async r=>{let{name:i}=r;const c=await fn(r.endpoint);return!Be.isEmpty(c)&&c!==i&&(i=c,o=!0),{...r,name:i}}));return o&&await Promise.all(s.filter(r=>r.did).map(r=>t.updateBlockletSpaceGateway({input:{did:e,where:{did:r.did},spaceGateway:{...r}}}))),s}function zo({setLoading:e,refresh:t}={}){var a;const{blocklet:n,actions:{refreshBlocklet:o}}=F(),s=(a=n==null?void 0:n.meta)==null?void 0:a.did,[r,i]=m.useState([]),{api:c}=M();return ae(async()=>{try{if(!s){i([]);return}e==null||e(!0);const{spaceGateways:l}=await c.getBlockletSpaceGateways({input:{did:s}}),u=await Vo({blockletDid:s,nodeApi:c,spaceGateways:l});i(u??[])}catch(l){console.error(l),D.error(ce(l))}finally{e==null||e(!1)}},[s,o,t]),{spaceGateways:r}}function Lt({deps:e,setLoading:t}={deps:[],setLoading:()=>{}}){var c;const{blocklet:n}=F(),[o,s]=m.useState([]),{api:r}=M(),i=Be.debounce(async()=>{try{if(t(!0),!n){s([]);return}const{backups:a}=await r.getBlockletBackups({input:{did:n.meta.did}});s(a??[])}catch(a){console.error(a),D.error(ce(a))}finally{t(!1)}},2e3);return ae(async()=>{i()},[(c=n==null?void 0:n.meta)==null?void 0:c.did].concat(e)),{backups:o}}function $o({appDid:e}){const{backups:t}=Lt(),[n,o]=m.useState({message:"",progress:0,completed:!1}),s=M(),{ws:{useSubscription:r}}=s;return r(be.BlockletEvents.backupProgress,i=>{e===(i==null?void 0:i.appDid)&&o(()=>({...i}))},[e]),m.useEffect(()=>{var i;if(t!=null&&t.length&&Be.isNull((i=t[0])==null?void 0:i.status)){const[c]=t;o(()=>({message:c.message,progress:c.progress,completed:c.progress>=100}))}},[t]),n}function Go({deps:e}={deps:[]}){var r;const{blocklet:t}=F(),{api:n}=M(),[o,s]=m.useState(null);return ae(async()=>{var i;if((i=t==null?void 0:t.meta)!=null&&i.did){const{autoBackup:c}=await n.getAutoBackup({input:{did:t.meta.did}});s(c)}},[(r=t==null?void 0:t.meta)==null?void 0:r.did].concat(e)),o}function qo({deps:e}={deps:[]}){var r;const{blocklet:t}=F(),{api:n}=M(),[o,s]=m.useState(null);return ae(async()=>{var i;if((i=t==null?void 0:t.meta)!=null&&i.did){const{autoCheckUpdate:c}=await n.getAutoCheckUpdate({input:{did:t.meta.did}});s(c)}},[(r=t==null?void 0:t.meta)==null?void 0:r.did].concat(e)),o}const Nt=m.createContext({}),{Provider:Ho,Consumer:ys}=Nt;function Me({children:e}){const{t}=Ae(),{api:n}=M(),{blocklet:o}=F(),[s,r]=m.useState(!1),[i,c]=m.useState(!1),{spaceGateways:a}=zo({refresh:i,setLoading:r}),l=$o({appDid:o==null?void 0:o.appDid}),[u,d]=m.useState(!1),f=m.useMemo(()=>dn(o==null?void 0:o.environments),[o,i,u]),[y,v]=m.useState(!1),{backups:x}=Lt({deps:[l],setLoading:v}),[C,S]=m.useState(a==null?void 0:a.find(h=>h.endpoint===f)),[w,k]=m.useState(!1),j=Go({deps:[w]}),[O,g]=m.useState(!1),I=qo({deps:[O]}),b=()=>{c(h=>!h)},T=()=>{d(h=>!h)},E=()=>{k(h=>!h)},Mt=()=>{g(h=>!h)},Rt=async(h,Re)=>{a.push({...h,loading:!0}),await n.addBlockletSpaceGateway({input:{did:o.meta.did,spaceGateway:h}}),f!==Re&&await n.configBlocklet({input:{did:[o.meta.did],configs:[{key:be.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:Re}]}}),b(),S(h)},Ft=async h=>{h&&(await n.deleteBlockletSpaceGateway({input:{did:o.meta.did,spaceGatewayDid:h==null?void 0:h.did}}),b(),S(h))},Ut=async h=>{await n.updateBlockletSpaceGateway({input:{did:o.meta.did,where:{did:h.did},spaceGateway:h}}),f!==h.endpoint&&await n.configBlocklet({input:{did:[o.meta.did],configs:[{key:be.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:h.endpoint}]}}),D.success(t("storage.spaces.connectedWithName",{name:(h==null?void 0:h.name)??"DID Spaces"})),b()},Vt=h=>(h==null?void 0:h.endpoint)===f,zt=async h=>{await n.updateAutoBackup({input:{did:o.meta.did,autoBackup:h}}),E()},$t=async h=>{await n.updateAutoCheckUpdate({input:{did:o.meta.did,autoCheckUpdate:h}}),Mt()};return p.jsx(Ho,{value:{spaceGateways:a,selectedSpaceGateway:C,addSpaceGateway:Rt,deleteSpaceGateway:Ft,updateSpaceGateway:Ut,refreshSpaceGateways:b,spaceGatewaysLoading:s,spaceGatewayIsSelected:Vt,updateAutoBackup:zt,updateAutoCheckUpdate:$t,autoCheckUpdate:I,backupEndpoint:f,backupProgress:l,backups:x,backupsLoading:y,refreshBackupEndpoint:T,autoBackup:j},children:e})}Me.propTypes={children:Kt.any.isRequired};Me.defaultProps={};function bs(){return m.useContext(Nt)}const Ko=m.lazy(()=>P(()=>import("./overview-BUJYpj1Q.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)),Qo=m.lazy(()=>P(()=>import("./index-BLEzKgrJ.js"),__vite__mapDeps([21,1,2,22,23,24,25,26,27,28,16,17,18,29,30,31,6,32,33,34,35,36,37,38,4,39,40,10,41,42,43,44,45,46,5,7,47,48,49,50,51,52,53,54,3,55,56]),import.meta.url)),Wo=m.lazy(()=>P(()=>import("./config-navigation-DZx1cn4-.js"),__vite__mapDeps([57,1,2,47,48,58,34,44,45,46,6,27,28,5,7,41,59,17,18,16,31,4,60,36,61,33,62,19]),import.meta.url)),Jo=m.lazy(()=>P(()=>import("./audit-logs-DTUtFnAK.js"),__vite__mapDeps([63,1,2,64,65,10,45,17,18,66,53]),import.meta.url)),Yo=m.lazy(()=>P(()=>import("./index-Dvf0fvGe.js"),__vite__mapDeps([67,1,2,8,68,27,28,25,9,69,54,16,17,18,4,70,10,71,34,72,60,73]),import.meta.url)),Xo=m.lazy(()=>P(()=>import("./index-H43aSOyt.js").then(e=>e.i),__vite__mapDeps([74,1,2,29,8,35,75,69,54,16,17,18,51,52,6,53,47,48,10,46,61,76,77,31,40,7,4,39,3,20]),import.meta.url)),Zo=m.lazy(()=>P(()=>import("./service-B4g9jUew.js"),__vite__mapDeps([78,1,2,79,52,17,6,18,16,53,58,54,44,45,46,27,28,5,7,80,43,30,81,48,62,60,31,82,8,26]),import.meta.url)),es=m.lazy(()=>P(()=>import("./index-Cr1Psinm.js"),__vite__mapDeps([83,1,2,8,23,24,25,26,27,28,16,17,18,29,84,64,65,85,10,44,45,46,6,5,7,49,40,43,31,79,52,53,58,54,80,30,81,48,62,60,82,39,86,87,72,88,42,89,90,91,92,93,94,95,4,96,14,70,97,3,98,15,12,99,77,68,9,32,20,33,100]),import.meta.url)),ts=m.lazy(()=>P(()=>import("./log-C6NBJs93.js"),__vite__mapDeps([101,1,2,45,102,27,28,17,103]),import.meta.url)),ns=m.lazy(()=>P(()=>import("./runtime-BtNyIENm.js"),__vite__mapDeps([104,1,2,51,52,17,6,18,16,53,47,48,54,10,46,4,105,106,32]),import.meta.url)),os=m.lazy(()=>P(()=>import("./traffic-CQiojOw9.js"),__vite__mapDeps([107,1,2,22,80,30,17,106,16,18,60]),import.meta.url)),ss=m.lazy(()=>P(()=>import("./index-DPGMTLlW.js"),__vite__mapDeps([108,1,2,4,68,27,28,14,99,77,96,16,17,18,3,49,40,46,89,81,37,51,52,6,53,47,48,54,10,31,5,7,44,45,33,100]),import.meta.url)),rs=({children:e})=>e;function is(){var g,I;const e=Qt(),{tab:t="overview"}=Ze(),{did:n,blocklet:o,error:s,client:r,actions:{setBlocklet:i,refreshBlocklet:c}}=ln(),{refresh:a}=Wt(),{t:l}=Ae(),u=m.useCallback(()=>p.jsx(Jo,{scope:n}),[n]),d=((g=o==null?void 0:o.environments.find(b=>b.key==="BLOCKLET_APP_URL"))==null?void 0:g.value)||window.location.origin,f=b=>tn(b,d),y=b=>{e(`/blocklets/${n}/${b}`)},v=b=>{b&&i(b),c()},x=!o||pe(o.status)?[]:A.getAppMissingConfigs(o);let C=null;const S=[{label:l("common.overview"),value:"overview"},{breadcrumbsLabel:l("common.components"),label:p.jsx(Jt,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!x.length,children:l("common.components")}),value:"components"}];if(s)C=p.jsxs(p.Fragment,{children:[p.jsx(Ye,{type:"error",variant:"icon",children:ce(s)}),p.jsx(Xe,{onClick:()=>c(),children:p.jsx("span",{style:{textDecoration:"underline"},children:l("common.retry")})})]});else if(o){const b={overview:p.jsx(Ko,{}),configuration:Qo,navigation:Wo,services:Zo,members:p.jsx(Xo,{type:"blocklet",createPassportSvg:f}),passports:Yo,components:es,"audit-logs":u,logs:ts,runtime:p.jsx(ns,{}),traffic:p.jsx(os,{client:r,did:n}),storage:p.jsx(ss,{})};t==="configuration"&&pe(o.status)&&y("overview"),pe(o.status)||(S.push({label:l("common.members"),value:"members"}),S.push({label:l("common.passport"),value:"passports"}),S.push({label:l("common.configuration"),value:"configuration"})),S.push({label:l("common.auditLogs"),value:"audit-logs"}),o&&((I=o.children)!=null&&I.length)&&o.structVersion===z.APP_STRUCT_VERSION&&S.push({label:l("common.logs"),value:"logs"}),S.push({label:l("common.configNavigation"),value:"navigation"}),S.push({label:l("common.runtime"),value:"runtime"}),S.push({label:l("common.traffic"),value:"traffic"}),S.push({label:l("common.storage"),value:"storage"}),A.getBlockletServices(o).length&&S.splice(2,0,{label:l("blocklet.services"),value:"services"});const E=b[t]||b.overview;C=p.jsxs(sn,{type:"components",children:[!A.isExternalBlocklet(o)&&p.jsx(nn,{tabs:S,current:t,onChange:y,scrollButtons:"auto"}),p.jsx("div",{className:"page-content",children:p.jsx(m.Suspense,{fallback:p.jsx(Fe,{relative:"parent",children:p.jsx(Ue,{})}),children:m.isValidElement(E)?E:p.jsx(E,{blocklet:o,onUpdate:v,createPassportSvg:f})})})]})}else C=p.jsx(Fe,{relative:"parent",children:p.jsx(Ue,{})});const w=()=>{},k=({action:b,error:T})=>{if(T){D.error(T.message);return}b==="remove"?(a(),e("/blocklets")):c()},j=S.find(b=>b.value===t),O=o?un:rs;return p.jsx(O,{teamDid:n,children:p.jsxs(as,{children:[p.jsxs(pn,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[p.jsx(Yt,{color:"textSecondary",to:"/blocklets",children:l("common.blocklets")}),p.jsx(Xt,{to:`/blocklets/${n}/overview`,style:b=>b?{color:"inherit"}:{},children:l("common.detail")}),p.jsx(he,{color:"textSecondary",children:j?j.breadcrumbsLabel||j.label:""})]}),p.jsxs(he,{component:"div",className:"page-header",children:[p.jsxs(he,{component:"h2",variant:"h4",className:"page-title",color:"textPrimary",children:[o?p.jsx(cn,{blocklet:o,style:{marginRight:16}}):null,o?p.jsxs(ne,{display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,children:[p.jsx(ne,{children:A.getDisplayName(o)}),(o==null?void 0:o.status)!=="unknown"&&p.jsx(on,{size:"12px",status:o.status,source:o.source,progress:o.progress})]}):`${l("common.blocklet")} ${l("common.detail")}`]}),p.jsx(Zt,{permission:"mutate_blocklets",children:!!o&&!A.isExternalBlocklet(o)&&p.jsx(rn,{className:"page-actions",blocklet:o,onStart:w,onComplete:k,variant:"group"})})]}),p.jsx(Dt,{}),C]})})}function cs(){const{did:e}=Ze();return e?p.jsx(an,{did:e,children:p.jsx(Me,{children:p.jsx(is,{})})}):null}const as=en.main`
|
|
12
|
+
*/const et=Object.freeze({left:0,top:0,width:16,height:16}),oe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Q=Object.freeze({...et,...oe}),ve=Object.freeze({...Q,body:"",hidden:!1});function hn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Ve(e,t){const n=hn(e,t);for(const o in ve)o in oe?o in e&&!(o in n)&&(n[o]=oe[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function mn(e,t){const n=e.icons,o=e.aliases||Object.create(null),s=Object.create(null);function r(i){if(n[i])return s[i]=[];if(!(i in s)){s[i]=null;const c=o[i]&&o[i].parent,a=c&&r(c);a&&(s[i]=[c].concat(a))}return s[i]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(r),s}function gn(e,t,n){const o=e.icons,s=e.aliases||Object.create(null);let r={};function i(c){r=Ve(o[c]||s[c],r)}return i(t),n.forEach(i),Ve(e,r)}function tt(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const o=mn(e);for(const s in o){const r=o[s];r&&(t(s,gn(e,s,r)),n.push(s))}return n}const $=/^[a-z0-9]+(-[a-z0-9]+)*$/,U=(e,t,n,o="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;o=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const c=s.pop(),a=s.pop(),l={provider:s.length>0?s[0]:o,prefix:a,name:c};return t&&!ee(l)?null:l}const r=s[0],i=r.split("-");if(i.length>1){const c={provider:o,prefix:i.shift(),name:i.join("-")};return t&&!ee(c)?null:c}if(n&&o===""){const c={provider:o,prefix:"",name:r};return t&&!ee(c,n)?null:c}return null},ee=(e,t)=>e?!!((e.provider===""||e.provider.match($))&&(t&&e.prefix===""||e.prefix.match($))&&e.name.match($)):!1,yn={provider:"",aliases:{},not_found:{},...et};function me(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function nt(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!me(e,yn))return null;const n=t.icons;for(const s in n){const r=n[s];if(!s.match($)||typeof r.body!="string"||!me(r,ve))return null}const o=t.aliases||Object.create(null);for(const s in o){const r=o[s],i=r.parent;if(!s.match($)||typeof i!="string"||!n[i]&&!o[i]||!me(r,ve))return null}return t}const se=Object.create(null);function bn(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function _(e,t){const n=se[e]||(se[e]=Object.create(null));return n[t]||(n[t]=bn(e,t))}function je(e,t){return nt(t)?tt(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function vn(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function xn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(se)).forEach(s=>{(typeof s=="string"&&typeof t=="string"?[t]:Object.keys(se[s]||{})).forEach(i=>{const c=_(s,i);n=n.concat(Object.keys(c.icons).map(a=>(s!==""?"@"+s+":":"")+i+":"+a))})}),n}let H=!1;function Sn(e){return typeof e=="boolean"&&(H=e),H}function W(e){const t=typeof e=="string"?U(e,!0,H):e;if(t){const n=_(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function ot(e,t){const n=U(e,!0,H);if(!n)return!1;const o=_(n.provider,n.prefix);return vn(o,n.name,t)}function st(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),H&&!t&&!e.prefix){let s=!1;return nt(e)&&(e.prefix="",tt(e,(r,i)=>{i&&ot(r,i)&&(s=!0)})),s}const n=e.prefix;if(!ee({provider:t,prefix:n,name:"a"}))return!1;const o=_(t,n);return!!je(o,e)}function wn(e){return!!W(e)}function kn(e){const t=W(e);return t?{...Q,...t}:null}const rt=Object.freeze({width:null,height:null}),it=Object.freeze({...rt,...oe}),In=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Cn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function xe(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 o=e.split(In);if(o===null||!o.length)return e;const s=[];let r=o.shift(),i=Cn.test(r);for(;;){if(i){const c=parseFloat(r);isNaN(c)?s.push(r):s.push(Math.ceil(c*t*n)/n)}else s.push(r);if(r=o.shift(),r===void 0)return s.join("");i=!i}}const En=e=>e==="unset"||e==="undefined"||e==="none";function le(e,t){const n={...Q,...e},o={...it,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,o].forEach(v=>{const x=[],C=v.hFlip,S=v.vFlip;let w=v.rotate;C?S?w+=2:(x.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),x.push("scale(-1 1)"),s.top=s.left=0):S&&(x.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),x.push("scale(1 -1)"),s.top=s.left=0);let k;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:k=s.height/2+s.top,x.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:x.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:k=s.width/2+s.left,x.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}w%2===1&&(s.left!==s.top&&(k=s.left,s.left=s.top,s.top=k),s.width!==s.height&&(k=s.width,s.width=s.height,s.height=k)),x.length&&(r='<g transform="'+x.join(" ")+'">'+r+"</g>")});const i=o.width,c=o.height,a=s.width,l=s.height;let u,d;i===null?(d=c===null?"1em":c==="auto"?l:c,u=xe(d,a/l)):(u=i==="auto"?a:i,d=c===null?xe(u,l/a):c==="auto"?l:c);const f={},y=(v,x)=>{En(x)||(f[v]=x.toString())};return y("width",u),y("height",d),f.viewBox=s.left.toString()+" "+s.top.toString()+" "+a.toString()+" "+l.toString(),{attributes:f,body:r}}const Pn=/\sid="(\S+)"/g,Tn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let _n=0;function ct(e,t=Tn){const n=[];let o;for(;o=Pn.exec(e);)n.push(o[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(r=>{const i=typeof t=="function"?t(r):t+(_n++).toString(),c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}const L={local:!0,session:!0},at={local:new Set,session:new Set};let Oe=!1;function An(e){Oe=e}const ze="iconify2",K="iconify",lt=K+"-count",$e=K+"-version",ut=36e5,Bn=168;function Se(e,t){try{return e.getItem(t)}catch{}}function De(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ge(e,t){try{e.removeItem(t)}catch{}}function we(e,t){return De(e,lt,t.toString())}function ke(e){return parseInt(Se(e,lt))||0}let X=typeof window>"u"?{}:window;function ft(e){const t=e+"Storage";try{if(X&&X[t]&&typeof X[t].length=="number")return X[t]}catch{}L[e]=!1}function dt(e,t){const n=ft(e);if(!n)return;const o=Se(n,$e);if(o!==ze){if(o){const c=ke(n);for(let a=0;a<c;a++)Ge(n,K+a.toString())}De(n,$e,ze),we(n,0);return}const s=Math.floor(Date.now()/ut)-Bn,r=c=>{const a=K+c.toString(),l=Se(n,a);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>s&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,c))return!0}catch{}Ge(n,a)}};let i=ke(n);for(let c=i-1;c>=0;c--)r(c)||(c===i-1?(i--,we(n,i)):at[e].add(c))}function pt(){if(!Oe){An(!0);for(const e in L)dt(e,t=>{const n=t.data,o=t.provider,s=n.prefix,r=_(o,s);if(!je(r,n).length)return!1;const i=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,i):i,!0})}}function ht(e,t){switch(e){case"local":case"session":L[e]=t;break;case"all":for(const n in L)L[n]=t;break}}const Ie=Object.create(null);function mt(e,t){Ie[e]=t}function Ce(e){return Ie[e]||Ie[""]}function Le(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 ue=Object.create(null),V=["https://api.simplesvg.com","https://api.unisvg.com"],te=[];for(;V.length>0;)V.length===1||Math.random()>.5?te.push(V.shift()):te.push(V.pop());ue[""]=Le({resources:["https://api.iconify.design"].concat(te)});function gt(e,t){const n=Le(t);return n===null?!1:(ue[e]=n,!0)}function fe(e){return ue[e]}function jn(){return Object.keys(ue)}const On=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let re=On();function Dn(e){re=e}function Ln(){return re}function Nn(e,t){const n=fe(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let s=0;n.resources.forEach(i=>{s=Math.max(s,i.length)});const r=t+".json?icons=";o=n.maxURL-s-n.path.length-r.length}return o}function Mn(e){return e===404}const Rn=(e,t,n)=>{const o=[],s=Nn(e,t),r="icons";let i={type:r,provider:e,prefix:t,icons:[]},c=0;return n.forEach((a,l)=>{c+=a.length+1,c>=s&&l>0&&(o.push(i),i={type:r,provider:e,prefix:t,icons:[]},c=a.length),i.icons.push(a)}),o.push(i),o};function Fn(e){if(typeof e=="string"){const t=fe(e);if(t)return t.path}return"/"}const Un=(e,t,n)=>{if(!re){n("abort",424);return}let o=Fn(t.provider);switch(t.type){case"icons":{const r=t.prefix,c=t.icons.join(","),a=new URLSearchParams({icons:c});o+=r+".json?"+a.toString();break}case"custom":{const r=t.uri;o+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let s=503;re(e+o).then(r=>{const i=r.status;if(i!==200){setTimeout(()=>{n(Mn(i)?"abort":"next",i)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",s)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",s)})},Vn={prepare:Rn,send:Un};function zn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let o={provider:"",prefix:"",name:""};return e.forEach(s=>{if(o.name===s.name&&o.prefix===s.prefix&&o.provider===s.provider)return;o=s;const r=s.provider,i=s.prefix,c=s.name,a=n[r]||(n[r]=Object.create(null)),l=a[i]||(a[i]=_(r,i));let u;c in l.icons?u=t.loaded:i===""||l.missing.has(c)?u=t.missing:u=t.pending;const d={provider:r,prefix:i,name:c};u.push(d)}),t}function yt(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(s=>s.id!==t))})}function $n(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 o=e.provider,s=e.prefix;t.forEach(r=>{const i=r.icons,c=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==s)return!0;const l=a.name;if(e.icons[l])i.loaded.push({provider:o,prefix:s,name:l});else if(e.missing.has(l))i.missing.push({provider:o,prefix:s,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||yt([e],r.id),r.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),r.abort))})}))}let Gn=0;function qn(e,t,n){const o=Gn++,s=yt.bind(null,n,o);if(!t.pending.length)return s;const r={id:o,icons:t,callback:e,abort:s};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(r)}),s}function Hn(e,t=!0,n=!1){const o=[];return e.forEach(s=>{const r=typeof s=="string"?U(s,t,n):s;r&&o.push(r)}),o}var Kn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Qn(e,t,n,o){const s=e.resources.length,r=e.random?Math.floor(Math.random()*s):e.index;let i;if(e.random){let g=e.resources.slice(0);for(i=[];g.length>1;){const I=Math.floor(Math.random()*g.length);i.push(g[I]),g=g.slice(0,I).concat(g.slice(I+1))}i=i.concat(g)}else i=e.resources.slice(r).concat(e.resources.slice(0,r));const c=Date.now();let a="pending",l=0,u,d=null,f=[],y=[];typeof o=="function"&&y.push(o);function v(){d&&(clearTimeout(d),d=null)}function x(){a==="pending"&&(a="aborted"),v(),f.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),f=[]}function C(g,I){I&&(y=[]),typeof g=="function"&&y.push(g)}function S(){return{startTime:c,payload:t,status:a,queriesSent:l,queriesPending:f.length,subscribe:C,abort:x}}function w(){a="failed",y.forEach(g=>{g(void 0,u)})}function k(){f.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),f=[]}function j(g,I,b){const T=I!=="success";switch(f=f.filter(E=>E!==g),a){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=b,w();return}if(T){u=b,f.length||(i.length?O():w());return}if(v(),k(),!e.random){const E=e.resources.indexOf(g.resource);E!==-1&&E!==e.index&&(e.index=E)}a="completed",y.forEach(E=>{E(b)})}function O(){if(a!=="pending")return;v();const g=i.shift();if(g===void 0){if(f.length){d=setTimeout(()=>{v(),a==="pending"&&(k(),w())},e.timeout);return}w();return}const I={status:"pending",resource:g,callback:(b,T)=>{j(I,b,T)}};f.push(I),l++,d=setTimeout(O,e.rotate),n(g,t,I.callback)}return setTimeout(O),S}function bt(e){const t={...Kn,...e};let n=[];function o(){n=n.filter(c=>c().status==="pending")}function s(c,a,l){const u=Qn(t,c,a,(d,f)=>{o(),l&&l(d,f)});return n.push(u),u}function r(c){return n.find(a=>c(a))||null}return{query:s,find:r,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:o}}function qe(){}const ge=Object.create(null);function Wn(e){if(!ge[e]){const t=fe(e);if(!t)return;const n=bt(t),o={config:t,redundancy:n};ge[e]=o}return ge[e]}function vt(e,t,n){let o,s;if(typeof e=="string"){const r=Ce(e);if(!r)return n(void 0,424),qe;s=r.send;const i=Wn(e);i&&(o=i.redundancy)}else{const r=Le(e);if(r){o=bt(r);const i=e.resources?e.resources[0]:"",c=Ce(i);c&&(s=c.send)}}return!o||!s?(n(void 0,424),qe):o.query(t,s,n)().abort}function Jn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in L)dt(o,s=>{const r=s.data;return s.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t});return!0}function Yn(e,t){Oe||pt();function n(o){let s;if(!L[o]||!(s=ft(o)))return;const r=at[o];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=ke(s),!we(s,i+1))return;const c={cached:Math.floor(Date.now()/ut),provider:e.provider,data:t};return De(s,K+i.toString(),JSON.stringify(c))}t.lastModified&&!Jn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function He(){}function Xn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,$n(e)}))}function Zn(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:o}=e,s=e.iconsToLoad;delete e.iconsToLoad;let r;if(!s||!(r=Ce(n)))return;r.prepare(n,o,s).forEach(c=>{vt(n,c,a=>{if(typeof a!="object")c.icons.forEach(l=>{e.missing.add(l)});else try{const l=je(e,a);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),Yn(e,a)}catch(l){console.error(l)}Xn(e)})})}))}const eo=e=>{const n=_(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},Ne=(e,t)=>{const n=Hn(e,!0,Sn()),o=zn(n);if(!o.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(o.loaded,o.missing,o.pending,He)}),()=>{a=!1}}const s=Object.create(null),r=[];let i,c;return o.pending.forEach(a=>{const{provider:l,prefix:u}=a;if(u===c&&l===i)return;i=l,c=u,r.push(_(l,u));const d=s[l]||(s[l]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(a=>{const{provider:l,prefix:u,name:d}=a,f=_(l,u),y=f.pendingIcons||(f.pendingIcons=new Set);y.has(d)||(y.add(d),s[l][u].push(d))}),r.forEach(a=>{const{provider:l,prefix:u}=a;s[l][u].length&&Zn(a,s[l][u])}),t?qn(t,o,r):He},to=e=>new Promise((t,n)=>{const o=typeof e=="string"?U(e,!0):e;if(!o){n(e);return}Ne([o||e],s=>{if(s.length&&o){const r=W(o);if(r){t({...Q,...r});return}}n(e)})});function xt(e,t){const n={...e};for(const o in t){const s=t[o],r=typeof s;o in rt?(s===null||s&&(r==="string"||r==="number"))&&(n[o]=s):r===typeof n[o]&&(n[o]=o==="rotate"?s%4:s)}return n}const de={...it,inline:!1},ye="iconify",Ee="iconify-inline",B="iconifyData"+Date.now();let N=[];function J(e){for(let t=0;t<N.length;t++){const n=N[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function St(e,t=!1){let n=J(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},N.push(n),n)}function no(){if(document.documentElement)return St(document.documentElement);N.push({node:()=>document.documentElement})}function oo(e){N=N.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function Y(){return N}function so(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let G=null;const ro={childList:!0,subtree:!0,attributes:!0};function wt(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,G&&G(e)}))}function io(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const s=t[o];if(s.addedNodes&&s.addedNodes.length>0||s.type==="attributes"&&s.target[B]!==void 0){n.paused||wt(e);return}}}function kt(e,t){e.observer.instance.observe(t,ro)}function ie(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(io.bind(null,e)),kt(e,n),t.paused||wt(e))}function Ke(){Y().forEach(ie)}function It(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 co(e){const t=G!==null;if(G!==e&&(G=e,t&&Y().forEach(It)),t){Ke();return}so(Ke)}function Pe(e){(e?[e]:Y()).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 ao(e){if(e){const t=J(e);t&&Pe(t)}else Pe()}function Te(e){(e?[e]:Y()).forEach(t=>{if(!t.observer){ie(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const o=typeof t.node=="function"?t.node():t.node;if(o)n.instance?kt(t,o):ie(t);else return}})}function lo(e){if(e){const t=J(e);t&&Te(t)}else Te()}function Ct(e,t=!1){const n=St(e,t);return ie(n),n}function Et(e){const t=J(e);t&&(It(t),oo(e))}function uo(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,o=t.customisations;for(const s in de)if(n[s]!==o[s])return!0;return!1}function fo(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:o(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/s,r%1===0?o(r):0)}}return t}const po=/[\s,]+/;function ho(e,t){t.split(po).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const mo=["width","height"],go=["inline","hFlip","vFlip"];function yo(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function bo(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&U(t,!0);if(!n)return null;const o={...de,inline:e.classList&&e.classList.contains(Ee)};mo.forEach(c=>{const a=e.getAttribute("data-"+c);a&&(o[c]=a)});const s=e.getAttribute("data-rotate");typeof s=="string"&&(o.rotate=fo(s));const r=e.getAttribute("data-flip");typeof r=="string"&&ho(o,r),go.forEach(c=>{const a="data-"+c,l=yo(e.getAttribute(a),a);typeof l=="boolean"&&(o[c]=l)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:o,mode:i}}const vo="svg."+ye+", i."+ye+", span."+ye+", i."+Ee+", span."+Ee;function xo(e){const t=[];return e.querySelectorAll(vo).forEach(n=>{const o=n[B]||n.tagName.toLowerCase()!=="svg"?bo(n):null;o&&t.push({node:n,props:o})}),t}function Pt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let q;function So(){try{q=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{q=null}}function wo(e){return q===void 0&&So(),q?q.createHTML(e):e}function Tt(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function _t(e,t,n,o){const s=e.classList;if(o){const i=o.classList;Array.from(i).forEach(c=>{s.add(c)})}const r=[];return t.forEach(i=>{s.contains(i)?n.has(i)&&r.push(i):(s.add(i),r.push(i))}),n.forEach(i=>{t.has(i)||s.remove(i)}),r}function At(e,t,n){const o=e.style;(n||[]).forEach(r=>{o.removeProperty(r)});const s=[];for(const r in t)o.getPropertyValue(r)||(s.push(r),o.setProperty(r,t[r]));return s}function Bt(e,t,n){let o;try{o=document.createElement("span")}catch{return e}const s=t.customisations,r=le(n,s),i=e[B],c=Pt(ct(r.body),{"aria-hidden":"true",role:"img",...r.attributes});o.innerHTML=wo(c);const a=o.childNodes[0],l=e.attributes;for(let v=0;v<l.length;v++){const x=l.item(v),C=x.name;C!=="class"&&!a.hasAttribute(C)&&a.setAttribute(C,x.value)}const u=Tt(t.icon),d=_t(a,u,new Set(i&&i.addedClasses),e),f=At(a,s.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),y={...t,status:"loaded",addedClasses:d,addedStyles:f};return a[B]=y,e.parentNode&&e.parentNode.replaceChild(a,e),a}function ko(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Io(e){return"data:image/svg+xml,"+ko(e)}function Co(e){return'url("'+Io(e)+'")'}const Eo={display:"inline-block"},_e={"background-color":"currentColor"},jt={"background-color":"transparent"},Qe={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},We={"-webkit-mask":_e,mask:_e,background:jt};for(const e in We){const t=We[e];for(const n in Qe)t[e+"-"+n]=Qe[n]}function Je(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function Po(e,t,n,o){const s=t.customisations,r=le(n,s),i=r.attributes,c=e[B],a=Pt(r.body,{...i,width:n.width+"",height:n.height+""}),l=Tt(t.icon),u=_t(e,l,new Set(c&&c.addedClasses)),f={"--svg":Co(a),width:Je(i.width),height:Je(i.height),...Eo,...o?_e:jt};s.inline&&(f["vertical-align"]="-0.125em");const y=At(e,f,c&&c.addedStyles),v={...t,status:"loaded",addedClasses:u,addedStyles:y};return e[B]=v,e}let Z=!1;function To(){Z||(Z=!0,setTimeout(()=>{Z&&(Z=!1,R())}))}function R(e,t=!1){const n=Object.create(null);function o(s,r){const{provider:i,prefix:c,name:a}=s,l=_(i,c),u=l.icons[a];if(u)return{status:"loaded",icon:u};if(l.missing.has(a))return{status:"missing"};if(r&&!eo(s)){const d=n[i]||(n[i]=Object.create(null));(d[c]||(d[c]=new Set)).add(a)}return{status:"loading"}}(e?[e]:Y()).forEach(s=>{const r=typeof s.node=="function"?s.node():s.node;if(!r||!r.querySelectorAll)return;let i=!1,c=!1;function a(l,u,d){if(c||(c=!0,Pe(s)),l.tagName.toUpperCase()!=="SVG"){const f=u.mode,y=f==="mask"||(f==="bg"?!1:f==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof y=="boolean"){Po(l,u,{...Q,...d},y);return}}Bt(l,u,d)}xo(r).forEach(({node:l,props:u})=>{const d=l[B];if(!d){const{status:y,icon:v}=o(u.icon,!0);if(v){a(l,u,v);return}i=i||y==="loading",l[B]={...u,status:y};return}let f;if(uo(d,u)){if(f=o(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=o(u.icon,!1),!f.icon){d.status=f.status;return}}a(l,u,f.icon)}),s.temporary&&!i?Et(r):t&&i?Ct(r,!0):c&&s.observer&&Te(s)});for(const s in n){const r=n[s];for(const i in r){const c=r[i];Ne(Array.from(c).map(a=>({provider:s,prefix:i,name:a})),To)}}}function _o(e){const t=J(e);t?R(t):R({node:e,temporary:!0},!0)}function Ot(e,t,n=!1){const o=W(e);if(!o)return null;const s=U(e),r=xt(de,t||{}),i=Bt(document.createElement("span"),{name:e,icon:s,customisations:r},o);return n?i.outerHTML:i}function Ao(){return"3.1.1"}function Bo(e,t){return Ot(e,t,!1)}function jo(e,t){return Ot(e,t,!0)}function Oo(e,t){const n=W(e);if(!n)return null;const o=xt(de,t||{});return le(n,o)}function Do(e){e?_o(e):R()}if(typeof document<"u"&&typeof window<"u"){no();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(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!st(o))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{co(R),R()})}function Lo(e,t){ht(e,t!==!1)}function No(e){ht(e,!0)}mt("",Vn);if(typeof document<"u"&&typeof window<"u"){pt();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const o="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;gt(n,s)||console.error(o)}catch{console.error(o)}}}}const Mo={getAPIConfig:fe,setAPIModule:mt,sendAPIQuery:vt,setFetch:Dn,getFetch:Ln,listAPIProviders:jn},Ro={_api:Mo,addAPIProvider:gt,loadIcons:Ne,loadIcon:to,iconExists:wn,getIcon:kn,listIcons:xn,addIcon:ot,addCollection:st,replaceIDs:ct,calculateSize:xe,buildIcon:le,getVersion:Ao,renderSVG:Bo,renderHTML:jo,renderIcon:Oo,scan:Do,observe:Ct,stopObserving:Et,pauseObserver:ao,resumeObserver:lo,enableCache:Lo,disableCache:No};try{self.Iconify===void 0&&(self.Iconify=Ro)}catch{}const Fo=e=>{const t={};let n=null;return A.forEachBlockletSync(e,o=>{t[o.meta.bundleDid]?n=A.getDisplayName(o,!0):o.meta.bundleDid&&(t[o.meta.bundleDid]=!0)}),n},Uo=(e,t,n)=>{var r;const{hostname:o,href:s}=e;if(!t)return s;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(o);if(!c)return s;const a=c[0],u=((((r=t.site)==null?void 0:r.domainAliases)||[]).map(d=>d.value).filter(Boolean).find(d=>d.endsWith(z.DEFAULT_DID_DOMAIN))||"").replace(`.${z.DEFAULT_DID_DOMAIN}`,"");return u?s.replace(o,`${u}-${a}.${z.DEFAULT_IP_DOMAIN_SUFFIX}`):s}return s.replace(t.meta.bundleDid,t.appPid)};function Dt(){const{t:e}=Ae(),{api:t}=Gt(),{blocklet:n}=F(),{inService:o}=M(),[s,r]=m.useState(!1),[i,c]=m.useState(5),a=n&&n.structVersion!==z.APP_STRUCT_VERSION,l=()=>{try{if(n.status==="running"){D.error(e("blocklet.migrate.tip.running"));return}const f=Fo(n);if(f){D.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}r(!0)}catch(f){D.error(ce(f))}},u=()=>{const f=Uo(window.location,n,o);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(y=>y-1)},1e3)},d=()=>r(!1);return[a&&p.jsxs(Ye,{type:"warning",style:{margin:"12px 0"},children:[p.jsxs(ne,{display:"flex",alignItems:"center",children:[p.jsx(Xe,{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(ne,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&p.jsx(qt,{popup:!0,open:s,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:Ht(n,!0),title:A.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")]}Dt.propTypes={};async function Vo({blockletDid:e,nodeApi:t,spaceGateways:n}){let o=!1;const s=await Promise.all(n.map(async r=>{let{name:i}=r;const c=await fn(r.endpoint);return!Be.isEmpty(c)&&c!==i&&(i=c,o=!0),{...r,name:i}}));return o&&await Promise.all(s.filter(r=>r.did).map(r=>t.updateBlockletSpaceGateway({input:{did:e,where:{did:r.did},spaceGateway:{...r}}}))),s}function zo({setLoading:e,refresh:t}={}){var a;const{blocklet:n,actions:{refreshBlocklet:o}}=F(),s=(a=n==null?void 0:n.meta)==null?void 0:a.did,[r,i]=m.useState([]),{api:c}=M();return ae(async()=>{try{if(!s){i([]);return}e==null||e(!0);const{spaceGateways:l}=await c.getBlockletSpaceGateways({input:{did:s}}),u=await Vo({blockletDid:s,nodeApi:c,spaceGateways:l});i(u??[])}catch(l){console.error(l),D.error(ce(l))}finally{e==null||e(!1)}},[s,o,t]),{spaceGateways:r}}function Lt({deps:e,setLoading:t}={deps:[],setLoading:()=>{}}){var c;const{blocklet:n}=F(),[o,s]=m.useState([]),{api:r}=M(),i=Be.debounce(async()=>{try{if(t(!0),!n){s([]);return}const{backups:a}=await r.getBlockletBackups({input:{did:n.meta.did}});s(a??[])}catch(a){console.error(a),D.error(ce(a))}finally{t(!1)}},2e3);return ae(async()=>{i()},[(c=n==null?void 0:n.meta)==null?void 0:c.did].concat(e)),{backups:o}}function $o({appDid:e}){const{backups:t}=Lt(),[n,o]=m.useState({message:"",progress:0,completed:!1}),s=M(),{ws:{useSubscription:r}}=s;return r(be.BlockletEvents.backupProgress,i=>{e===(i==null?void 0:i.appDid)&&o(()=>({...i}))},[e]),m.useEffect(()=>{var i;if(t!=null&&t.length&&Be.isNull((i=t[0])==null?void 0:i.status)){const[c]=t;o(()=>({message:c.message,progress:c.progress,completed:c.progress>=100}))}},[t]),n}function Go({deps:e}={deps:[]}){var r;const{blocklet:t}=F(),{api:n}=M(),[o,s]=m.useState(null);return ae(async()=>{var i;if((i=t==null?void 0:t.meta)!=null&&i.did){const{autoBackup:c}=await n.getAutoBackup({input:{did:t.meta.did}});s(c)}},[(r=t==null?void 0:t.meta)==null?void 0:r.did].concat(e)),o}function qo({deps:e}={deps:[]}){var r;const{blocklet:t}=F(),{api:n}=M(),[o,s]=m.useState(null);return ae(async()=>{var i;if((i=t==null?void 0:t.meta)!=null&&i.did){const{autoCheckUpdate:c}=await n.getAutoCheckUpdate({input:{did:t.meta.did}});s(c)}},[(r=t==null?void 0:t.meta)==null?void 0:r.did].concat(e)),o}const Nt=m.createContext({}),{Provider:Ho,Consumer:ys}=Nt;function Me({children:e}){const{t}=Ae(),{api:n}=M(),{blocklet:o}=F(),[s,r]=m.useState(!1),[i,c]=m.useState(!1),{spaceGateways:a}=zo({refresh:i,setLoading:r}),l=$o({appDid:o==null?void 0:o.appDid}),[u,d]=m.useState(!1),f=m.useMemo(()=>dn(o==null?void 0:o.environments),[o,i,u]),[y,v]=m.useState(!1),{backups:x}=Lt({deps:[l],setLoading:v}),[C,S]=m.useState(a==null?void 0:a.find(h=>h.endpoint===f)),[w,k]=m.useState(!1),j=Go({deps:[w]}),[O,g]=m.useState(!1),I=qo({deps:[O]}),b=()=>{c(h=>!h)},T=()=>{d(h=>!h)},E=()=>{k(h=>!h)},Mt=()=>{g(h=>!h)},Rt=async(h,Re)=>{a.push({...h,loading:!0}),await n.addBlockletSpaceGateway({input:{did:o.meta.did,spaceGateway:h}}),f!==Re&&await n.configBlocklet({input:{did:[o.meta.did],configs:[{key:be.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:Re}]}}),b(),S(h)},Ft=async h=>{h&&(await n.deleteBlockletSpaceGateway({input:{did:o.meta.did,spaceGatewayDid:h==null?void 0:h.did}}),b(),S(h))},Ut=async h=>{await n.updateBlockletSpaceGateway({input:{did:o.meta.did,where:{did:h.did},spaceGateway:h}}),f!==h.endpoint&&await n.configBlocklet({input:{did:[o.meta.did],configs:[{key:be.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:h.endpoint}]}}),D.success(t("storage.spaces.connectedWithName",{name:(h==null?void 0:h.name)??"DID Spaces"})),b()},Vt=h=>(h==null?void 0:h.endpoint)===f,zt=async h=>{await n.updateAutoBackup({input:{did:o.meta.did,autoBackup:h}}),E()},$t=async h=>{await n.updateAutoCheckUpdate({input:{did:o.meta.did,autoCheckUpdate:h}}),Mt()};return p.jsx(Ho,{value:{spaceGateways:a,selectedSpaceGateway:C,addSpaceGateway:Rt,deleteSpaceGateway:Ft,updateSpaceGateway:Ut,refreshSpaceGateways:b,spaceGatewaysLoading:s,spaceGatewayIsSelected:Vt,updateAutoBackup:zt,updateAutoCheckUpdate:$t,autoCheckUpdate:I,backupEndpoint:f,backupProgress:l,backups:x,backupsLoading:y,refreshBackupEndpoint:T,autoBackup:j},children:e})}Me.propTypes={children:Kt.any.isRequired};Me.defaultProps={};function bs(){return m.useContext(Nt)}const Ko=m.lazy(()=>P(()=>import("./overview-BlWFlRx2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)),Qo=m.lazy(()=>P(()=>import("./index-Cl2QG8J6.js"),__vite__mapDeps([21,1,2,22,23,24,25,26,27,28,16,17,18,29,30,31,6,32,33,34,35,36,37,38,4,39,40,10,41,42,43,44,45,46,5,7,47,48,49,50,51,52,53,54,3,55,56]),import.meta.url)),Wo=m.lazy(()=>P(()=>import("./config-navigation-LFUjTzgk.js"),__vite__mapDeps([57,1,2,47,48,58,34,44,45,46,6,27,28,5,7,41,59,17,18,16,31,4,60,36,61,33,62,19]),import.meta.url)),Jo=m.lazy(()=>P(()=>import("./audit-logs-BqT_1MLt.js"),__vite__mapDeps([63,1,2,64,65,10,45,17,18,66,53]),import.meta.url)),Yo=m.lazy(()=>P(()=>import("./index-CHjwpGia.js"),__vite__mapDeps([67,1,2,8,68,27,28,25,9,69,54,16,17,18,4,70,10,71,34,72,60,73]),import.meta.url)),Xo=m.lazy(()=>P(()=>import("./index-BKck0oIO.js").then(e=>e.i),__vite__mapDeps([74,1,2,29,8,35,75,69,54,16,17,18,51,52,6,53,47,48,10,46,61,76,77,31,40,7,4,39,3,20]),import.meta.url)),Zo=m.lazy(()=>P(()=>import("./service-1GhnQw9a.js"),__vite__mapDeps([78,1,2,79,52,17,6,18,16,53,58,54,44,45,46,27,28,5,7,80,43,30,81,48,62,60,31,82,8,26]),import.meta.url)),es=m.lazy(()=>P(()=>import("./index-B60jROHj.js"),__vite__mapDeps([83,1,2,8,23,24,25,26,27,28,16,17,18,29,84,64,65,85,10,44,45,46,6,5,7,49,40,43,31,79,52,53,58,54,80,30,81,48,62,60,82,39,86,87,72,88,42,89,90,91,92,93,94,4,95,14,70,96,3,97,15,12,98,77,68,9,32,20,33,99]),import.meta.url)),ts=m.lazy(()=>P(()=>import("./log-BFiA_Tyh.js"),__vite__mapDeps([100,1,2,45,101,27,28,17,102]),import.meta.url)),ns=m.lazy(()=>P(()=>import("./runtime-tAjj0dmb.js"),__vite__mapDeps([103,1,2,51,52,17,6,18,16,53,47,48,54,10,46,4,104,105,32]),import.meta.url)),os=m.lazy(()=>P(()=>import("./traffic-D03HdfGL.js"),__vite__mapDeps([106,1,2,22,80,30,17,105,16,18,60]),import.meta.url)),ss=m.lazy(()=>P(()=>import("./index-HOVCi07-.js"),__vite__mapDeps([107,1,2,4,68,27,28,14,98,77,95,16,17,18,3,49,40,46,81,37,51,52,6,53,47,48,54,10,31,5,7,44,45,33,99]),import.meta.url)),rs=({children:e})=>e;function is(){var g,I;const e=Qt(),{tab:t="overview"}=Ze(),{did:n,blocklet:o,error:s,client:r,actions:{setBlocklet:i,refreshBlocklet:c}}=ln(),{refresh:a}=Wt(),{t:l}=Ae(),u=m.useCallback(()=>p.jsx(Jo,{scope:n}),[n]),d=((g=o==null?void 0:o.environments.find(b=>b.key==="BLOCKLET_APP_URL"))==null?void 0:g.value)||window.location.origin,f=b=>tn(b,d),y=b=>{e(`/blocklets/${n}/${b}`)},v=b=>{b&&i(b),c()},x=!o||pe(o.status)?[]:A.getAppMissingConfigs(o);let C=null;const S=[{label:l("common.overview"),value:"overview"},{breadcrumbsLabel:l("common.components"),label:p.jsx(Jt,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!x.length,children:l("common.components")}),value:"components"}];if(s)C=p.jsxs(p.Fragment,{children:[p.jsx(Ye,{type:"error",variant:"icon",children:ce(s)}),p.jsx(Xe,{onClick:()=>c(),children:p.jsx("span",{style:{textDecoration:"underline"},children:l("common.retry")})})]});else if(o){const b={overview:p.jsx(Ko,{}),configuration:Qo,navigation:Wo,services:Zo,members:p.jsx(Xo,{type:"blocklet",createPassportSvg:f}),passports:Yo,components:es,"audit-logs":u,logs:ts,runtime:p.jsx(ns,{}),traffic:p.jsx(os,{client:r,did:n}),storage:p.jsx(ss,{})};t==="configuration"&&pe(o.status)&&y("overview"),pe(o.status)||(S.push({label:l("common.members"),value:"members"}),S.push({label:l("common.passport"),value:"passports"}),S.push({label:l("common.configuration"),value:"configuration"})),S.push({label:l("common.auditLogs"),value:"audit-logs"}),o&&((I=o.children)!=null&&I.length)&&o.structVersion===z.APP_STRUCT_VERSION&&S.push({label:l("common.logs"),value:"logs"}),S.push({label:l("common.configNavigation"),value:"navigation"}),S.push({label:l("common.runtime"),value:"runtime"}),S.push({label:l("common.traffic"),value:"traffic"}),S.push({label:l("common.storage"),value:"storage"}),A.getBlockletServices(o).length&&S.splice(2,0,{label:l("blocklet.services"),value:"services"});const E=b[t]||b.overview;C=p.jsxs(sn,{type:"components",children:[!A.isExternalBlocklet(o)&&p.jsx(nn,{tabs:S,current:t,onChange:y,scrollButtons:"auto"}),p.jsx("div",{className:"page-content",children:p.jsx(m.Suspense,{fallback:p.jsx(Fe,{relative:"parent",children:p.jsx(Ue,{})}),children:m.isValidElement(E)?E:p.jsx(E,{blocklet:o,onUpdate:v,createPassportSvg:f})})})]})}else C=p.jsx(Fe,{relative:"parent",children:p.jsx(Ue,{})});const w=()=>{},k=({action:b,error:T})=>{if(T){D.error(T.message);return}b==="remove"?(a(),e("/blocklets")):c()},j=S.find(b=>b.value===t),O=o?un:rs;return p.jsx(O,{teamDid:n,children:p.jsxs(as,{children:[p.jsxs(pn,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[p.jsx(Yt,{color:"textSecondary",to:"/blocklets",children:l("common.blocklets")}),p.jsx(Xt,{to:`/blocklets/${n}/overview`,style:b=>b?{color:"inherit"}:{},children:l("common.detail")}),p.jsx(he,{color:"textSecondary",children:j?j.breadcrumbsLabel||j.label:""})]}),p.jsxs(he,{component:"div",className:"page-header",children:[p.jsxs(he,{component:"h2",variant:"h4",className:"page-title",color:"textPrimary",children:[o?p.jsx(cn,{blocklet:o,style:{marginRight:16}}):null,o?p.jsxs(ne,{display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,children:[p.jsx(ne,{children:A.getDisplayName(o)}),(o==null?void 0:o.status)!=="unknown"&&p.jsx(on,{size:"12px",status:o.status,source:o.source,progress:o.progress})]}):`${l("common.blocklet")} ${l("common.detail")}`]}),p.jsx(Zt,{permission:"mutate_blocklets",children:!!o&&!A.isExternalBlocklet(o)&&p.jsx(rn,{className:"page-actions",blocklet:o,onStart:w,onComplete:k,variant:"group"})})]}),p.jsx(Dt,{}),C]})})}function cs(){const{did:e}=Ze();return e?p.jsx(an,{did:e,children:p.jsx(Me,{children:p.jsx(is,{})})}):null}const as=en.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-oms3GpFv.js";import"./index-DHYJxTcV.js";import"./index-CqcpZ8C3.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};
|