@abtnode/webapp 1.17.3-beta-20251123-232619-53258789 → 1.17.3-beta-20251126-121502-d0926972
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-GSjt4DIz.js → AdapterDayjs-BjSFvDvr.js} +1 -1
- package/dist/assets/{Add-bw7LExYi.js → Add-BmZCIl-_.js} +1 -1
- package/dist/assets/ArrowDropDown-DAMbspww.js +1 -0
- package/dist/assets/{Autocomplete-C7pwOgja.js → Autocomplete-kBTyvXut.js} +1 -1
- package/dist/assets/{Breadcrumbs-01Zoyowa.js → Breadcrumbs-DbJOP5vy.js} +1 -1
- package/dist/assets/{ButtonGroup-CvkZLM_A.js → ButtonGroup-BlhSVfK3.js} +1 -1
- package/dist/assets/{CSSTransition-CUGJUBZa.js → CSSTransition-Cyc7snYy.js} +1 -1
- package/dist/assets/{CallMerge-1Wa1naTP.js → CallMerge-CKPqdgb2.js} +1 -1
- package/dist/assets/{CardContent-Bp9dBuHI.js → CardContent-CJq0LG9T.js} +1 -1
- package/dist/assets/{ChevronLeft-iV8RZK9l.js → ChevronLeft-B42HGuyE.js} +1 -1
- package/dist/assets/{ChevronRight-rhEdYh7r.js → ChevronRight-BLRImDEd.js} +1 -1
- package/dist/assets/{Clear-TsHHhjv8.js → Clear-BoRiznJI.js} +1 -1
- package/dist/assets/{DeleteOutline-CutnF8U7.js → DeleteOutline-_XfCv5J6.js} +1 -1
- package/dist/assets/{Done-8bsZuZu5.js → Done-b5-rnBrk.js} +1 -1
- package/dist/assets/{Edit-CW607hdk.js → Edit-DGAlfiQv.js} +1 -1
- package/dist/assets/{ErrorOutline-BVlSjT51.js → ErrorOutline-DevVxMhb.js} +1 -1
- package/dist/assets/{FilterList-BVOOp-qX.js → FilterList-tXxMVwM9.js} +1 -1
- package/dist/assets/{Google-D0deGelc.js → Google-MSCLr2Nf.js} +1 -1
- package/dist/assets/{HelpOutline-B2x2uyvQ.js → HelpOutline-DIH3coQJ.js} +1 -1
- package/dist/assets/{KeyboardArrowDown-BDLR_mDt.js → KeyboardArrowDown-DDe3llHj.js} +1 -1
- package/dist/assets/{Launch-BhpfIjR4.js → Launch-DZ6lDDzp.js} +1 -1
- package/dist/assets/{Link-D6g1Xkkg.js → Link-CQj5KcJh.js} +1 -1
- package/dist/assets/{ListItemButton-DBhd8Se9.js → ListItemButton-BJq_k_rp.js} +1 -1
- package/dist/assets/{ListSubheader-U4UKs_5o.js → ListSubheader-BO55OpFe.js} +1 -1
- package/dist/assets/{LoadingButton-Bg4ihiHh.js → LoadingButton-Bw73z7Kp.js} +1 -1
- package/dist/assets/{MoreVert-LlVBp8Yl.js → MoreVert-CykMlsrj.js} +1 -1
- package/dist/assets/{OpenInNew-BBMfbtyT.js → OpenInNew-D8CczU9i.js} +1 -1
- package/dist/assets/{Refresh-DwCMTrBg.js → Refresh-BClPDZOR.js} +1 -1
- package/dist/assets/{Search-DV0DmDJh.js → Search-BrXfrk6s.js} +1 -1
- package/dist/assets/{Stepper-DHEo1TwM.js → Stepper-Clv2yUpj.js} +1 -1
- package/dist/assets/{Switch-BV_bJmtO.js → Switch-btQlV2VF.js} +1 -1
- package/dist/assets/{TableSearch-Dw0n59eL.js → TableSearch-BkWoZDH8.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-DsgagStl.js → ToggleButtonGroup-BBbP2Jx0.js} +1 -1
- package/dist/assets/{UnfoldMore-OHiBiV6d.js → UnfoldMore-RJlxkooV.js} +1 -1
- package/dist/assets/{Verified-8SqBajcm.js → Verified-l0Y44mJl.js} +1 -1
- package/dist/assets/{VerifiedUser-Yl48fJHl.js → VerifiedUser-agBH4B6_.js} +1 -1
- package/dist/assets/{ViewList-Dlfa9YjE.js → ViewList-DqVhCHtG.js} +1 -1
- package/dist/assets/{_createAggregator-C9kdvL4F.js → _createAggregator-D2uXgg5x.js} +1 -1
- package/dist/assets/{actions-Cd1V0QXL.js → actions-BPQhtNul.js} +1 -1
- package/dist/assets/{actions-B8C-PCI5.js → actions-DOkacRyd.js} +1 -1
- package/dist/assets/{agreement-BUveUzQO.js → agreement-peew__AK.js} +1 -1
- package/dist/assets/api-BEwC7jzb.js +1 -0
- package/dist/assets/{appearance-DJ340BPT.js → appearance-Nhx9Kmv1.js} +1 -1
- package/dist/assets/{audit-logs-Budxmero.js → audit-logs-BlbUuwN_.js} +2 -2
- package/dist/assets/{base-chart-B0G5PbEt.js → base-chart-CzLW1tBo.js} +1 -1
- package/dist/assets/{blocklet-B_gm4lmi.js → blocklet-DooKd_sI.js} +1 -1
- package/dist/assets/chain-EI4hm_8e.js +6 -0
- package/dist/assets/{click-to-copy-C9rtZDLS.js → click-to-copy-BYLhYz_K.js} +1 -1
- package/dist/assets/cloneDeep-F6LuuTz3.js +1 -0
- package/dist/assets/{collapse-CXW4uktq.js → collapse-CmeTRdrT.js} +1 -1
- package/dist/assets/{config-navigation-XP4WQgYo.js → config-navigation-SDiPbeiK.js} +46 -46
- package/dist/assets/connect-to-DxqW5HVH.js +30 -0
- package/dist/assets/{cssMode--X9ZnCcB.js → cssMode-U50M1_i-.js} +1 -1
- package/dist/assets/{delete-confirm-H64HwgQW.js → delete-confirm-B_mXlLTh.js} +1 -1
- package/dist/assets/{depsEqual-DnLesJI5.js → depsEqual-CI7FeWZW.js} +1 -1
- package/dist/assets/{detail-BJu2Du0C.js → detail-B_ewDRP9.js} +3 -3
- package/dist/assets/{domains-dlolWlOv.js → domains-DWWQ8C3v.js} +1 -1
- package/dist/assets/{download-BfgyvMjJ.js → download-Jmt9jl6E.js} +1 -1
- package/dist/assets/{edit.svg-MioFY6RL.js → edit.svg-DOKf0NKv.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-CKIgFJwY.js +1 -0
- package/dist/assets/engine-PA5Hlqhs.js +1 -0
- package/dist/assets/{freemarker2-DaUACayH.js → freemarker2-wCdJg_1P.js} +1 -1
- package/dist/assets/{get-safe-url-BdtvVcQw.js → get-safe-url-mJazyUZj.js} +1 -1
- package/dist/assets/getValidReactChildren-C2GpPG5h.js +1 -0
- package/dist/assets/{graphqlMode-Cs4xUrf4.js → graphqlMode-r_xp5vcq.js} +2 -2
- package/dist/assets/{handlebars-TT0L6RLX.js → handlebars-CmQCPbdG.js} +1 -1
- package/dist/assets/{html-lavZKcN0.js → html-DYkdCzxq.js} +1 -1
- package/dist/assets/{html-title-BPny9upB.js → html-title-x1db95S1.js} +1 -1
- package/dist/assets/{htmlMode-DMFwjMOD.js → htmlMode-B2_nCAdZ.js} +1 -1
- package/dist/assets/{iframe-1S7jkX6i.js → iframe-BBrwuPrb.js} +1 -1
- package/dist/assets/{index-CW1fjR9h.js → index-8dobedE4.js} +1 -1
- package/dist/assets/{index-ndtAmeV1.js → index-9oTGqHiK.js} +9 -9
- package/dist/assets/{index-DaZkwaiO.js → index-B1zRPZ23.js} +1 -1
- package/dist/assets/{index-DRoFAJB5.js → index-B3mxPYvg.js} +1 -1
- package/dist/assets/{index-tjFbkwkg.js → index-B6WuMj55.js} +1 -1
- package/dist/assets/{index-cO6bb6Pk.js → index-B7vOpBED.js} +9 -9
- package/dist/assets/index-B8pH5JDj.js +1 -0
- package/dist/assets/{index-COSOS45R.js → index-BD7DDM8N.js} +1 -1
- package/dist/assets/{index-Br_vN976.js → index-BDfVLYgm.js} +1 -1
- package/dist/assets/{index-Fv7F4t_Q.js → index-BGAQvWoz.js} +1 -1
- package/dist/assets/{index-BHJmOQ7h.js → index-BJY_2WX8.js} +1 -1
- package/dist/assets/{index-QV6ZlHUk.js → index-BKe-qavD.js} +1 -1
- package/dist/assets/{index-G3qQEhRl.js → index-BNYZMueI.js} +1 -1
- package/dist/assets/{index-DtM0eWbB.js → index-BX3e3-Yl.js} +1 -1
- package/dist/assets/{index-kPygeO6n.js → index-Bexo5RVe.js} +1 -1
- package/dist/assets/{index-Dahvz4_C.js → index-Bf9Tsnzp.js} +1 -1
- package/dist/assets/{index-CapJ9GZ2.js → index-Bge0nxkS.js} +1 -1
- package/dist/assets/{index-cfZQGoxy.js → index-Bsv4O26i.js} +3 -3
- package/dist/assets/{index-Dgm8R3_G.js → index-BvQcTKRh.js} +1 -1
- package/dist/assets/{index-CvjKujEe.js → index-BwyiJPiC.js} +1 -1
- package/dist/assets/{index-DBElf0v4.js → index-C6cKgXcg.js} +1 -1
- package/dist/assets/{index-B6RQPS53.js → index-C6nj_8zr.js} +1 -1
- package/dist/assets/{index-DymefoL_.js → index-CCR0588i.js} +1 -1
- package/dist/assets/{index-B5g8M7OB.js → index-CMGLmPFR.js} +2 -2
- package/dist/assets/{index-CZoo5V2P.js → index-CNWl5k-n.js} +28 -27
- package/dist/assets/{index-C4c7H09E.js → index-Ca1VB0fP.js} +1 -1
- package/dist/assets/{index-DMIRBD0M.js → index-Cs2sn0We.js} +2 -2
- package/dist/assets/{index-qaEYO3ku.js → index-CsRtSmIh.js} +1 -1
- package/dist/assets/{index-BMTfpek5.js → index-CvM9vyEK.js} +1 -1
- package/dist/assets/{index-H_wq9PgB.js → index-D0h_Lxum.js} +1 -1
- package/dist/assets/{index-aiNsIJH9.js → index-D1rJ129A.js} +1 -1
- package/dist/assets/{index-DEi5xwZC.js → index-DMGtaArc.js} +3 -3
- package/dist/assets/{index-GpQ_N20f.js → index-DSwwhtGQ.js} +1 -1
- package/dist/assets/{index-DV2yUsDM.js → index-DWhhB9Hi.js} +1 -1
- package/dist/assets/{index-CAy_ntFG.js → index-DYWrZZLV.js} +1 -1
- package/dist/assets/{index-ClxFOl_D.js → index-DlRSxwJY.js} +3 -3
- package/dist/assets/{index-Dc9GzuOJ.js → index-MQfB--7g.js} +1 -1
- package/dist/assets/{index-BAFeziwg.js → index-Q3-b6N6x.js} +1 -1
- package/dist/assets/{index-CAeA1Cvc.js → index-bHYz6L_6.js} +4 -4
- package/dist/assets/{index-Cel7tx4n.js → index-cW_e6AnH.js} +3 -3
- package/dist/assets/{index-D2OqQrAZ.js → index-ccBUb-g_.js} +1 -1
- package/dist/assets/{index-DTKSzDFU.js → index-eIb8MZiw.js} +1 -1
- package/dist/assets/{index-UKgFVupi.js → index-l0ejZk6e.js} +160 -157
- package/dist/assets/{index-CDH7LNvM.js → index-m0BJnU58.js} +1 -1
- package/dist/assets/{index-CxOhjmog.js → index-sHP8LVQG.js} +1 -1
- package/dist/assets/{index-0KDfyThN.js → index-tY4NTQdt.js} +1 -1
- package/dist/assets/{index.esm-C1D-vjtU.js → index.esm-CmfVZ8uo.js} +1 -1
- package/dist/assets/{install-from-url-DsCL99L1.js → install-from-url-DKaI4Rhw.js} +1 -1
- package/dist/assets/{invitation-tfEd0Lsr.js → invitation-BP2qXMkU.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-Bvg8FYDR.js → is-path-prefix-equal-D367I16F.js} +1 -1
- package/dist/assets/{item-8U44hoCJ.js → item-C6-NqxXS.js} +9 -9
- package/dist/assets/{javascript-Be40gNv5.js → javascript-C8IdANXc.js} +1 -1
- package/dist/assets/{jsonMode-kLgPrjXr.js → jsonMode-7RTtLpT6.js} +1 -1
- package/dist/assets/{liquid-HxAxWFbN.js → liquid-CF0mRQ0b.js} +1 -1
- package/dist/assets/{list-header-CRu61Gzq.js → list-header-DnPG8RQK.js} +1 -1
- package/dist/assets/{lock.svg-B1POA68X.js → lock.svg-DIpUz3_T.js} +1 -1
- package/dist/assets/{log-C2U5MC50.js → log-CLLKDcVS.js} +1 -1
- package/dist/assets/{lottie-react.esm-C_wSYvC1.js → lottie-react.esm-BzADuacJ.js} +1 -1
- package/dist/assets/{mdx-BMPssTWP.js → mdx-393D49gD.js} +1 -1
- package/dist/assets/{memory-CucrqTb6.js → memory-BiZfGzaA.js} +1 -1
- package/dist/assets/{metric-CB5i39mr.js → metric-DQF3F8Ee.js} +1 -1
- package/dist/assets/omit-B8z6Iws2.js +1 -0
- package/dist/assets/{overview-BXVI29QP.js → overview-CCLYGiqE.js} +1 -1
- package/dist/assets/{permission-rweAJL4g.js → permission-CB_zs2G4.js} +1 -1
- package/dist/assets/{preference-gJ6ZF2Q4.js → preference-2qHeMKaE.js} +3 -3
- package/dist/assets/{python-BkToxfo1.js → python-DeXJ9-sq.js} +1 -1
- package/dist/assets/{raf-schd.esm-B9wpp0Qh.js → raf-schd.esm-gP-_XKJP.js} +1 -1
- package/dist/assets/{razor-wuUYkLrt.js → razor-D15rTZli.js} +1 -1
- package/dist/assets/{rotate-session-key-C8ucpOl_.js → rotate-session-key-BqAzAxv_.js} +1 -1
- package/dist/assets/{runtime-i_b0U5XU.js → runtime-Cf5aBcfV.js} +1 -1
- package/dist/assets/schema-DVKja_3K.js +1 -0
- package/dist/assets/sdk-D_BY3a8P.js +1 -0
- package/dist/assets/{service-CUx_uRl4.js → service-pECpZ6Fv.js} +1 -1
- package/dist/assets/{shorten-label-jgxOPsCZ.js → shorten-label-5tBjSQXq.js} +1 -1
- package/dist/assets/{simple-select-UnH3V90L.js → simple-select-DCNot1u5.js} +1 -1
- package/dist/assets/{spaces-C6mZH1kT.js → spaces-1p_UMor_.js} +1 -1
- package/dist/assets/{status-DL1Ex6i2.js → status-DyTELFmb.js} +1 -1
- package/dist/assets/{status-DDW9dFZ_.js → status-Xk2ZLYz1.js} +1 -1
- package/dist/assets/{switch-control-BIC-Nwu_.js → switch-control-DBKg8KSu.js} +1 -1
- package/dist/assets/{table-icons-B9tXAbnj.js → table-icons-DfjWu9CY.js} +1 -1
- package/dist/assets/{team-BpXTeXX3.js → team-DHZ07Mee.js} +1 -1
- package/dist/assets/{toLower-C-8MuvP9.js → toLower-ylIkvfVr.js} +1 -1
- package/dist/assets/toUpper-D9lAXG2I.js +1 -0
- package/dist/assets/{traffic-BEQzO7xQ.js → traffic-BlWSHfOP.js} +1 -1
- package/dist/assets/{tsMode-Dzl7y3L0.js → tsMode-BbObiMoD.js} +1 -1
- package/dist/assets/{typescript-B_dz3gG0.js → typescript-Cuj7nGhN.js} +1 -1
- package/dist/assets/{url-evaluation-DuQYeVhL.js → url-evaluation-DAoEPnuZ.js} +1 -1
- package/dist/assets/{url-join-cDXJRDHX.js → url-join-CNIVoOP5.js} +1 -1
- package/dist/assets/{use-mobile-CMTzn3M3.js → use-mobile-B06ZsBLv.js} +1 -1
- package/dist/assets/{use-mobile-HM6iZFZe.js → use-mobile-DRLSkCfk.js} +1 -1
- package/dist/assets/{useAsync-C6Eg4w89.js → useAsync-C_IdsZLT.js} +1 -1
- package/dist/assets/{useAsyncRetry-DAHR7IMw.js → useAsyncRetry-AD_J4c2Y.js} +1 -1
- package/dist/assets/{useLocalStorage-1RvhLwwW.js → useLocalStorage-CaDSR1Wc.js} +1 -1
- package/dist/assets/{useThemeProps-SIspLYj0.js → useThemeProps-DAtqRnvX.js} +1 -1
- package/dist/assets/{util-CQwua2ce.js → util-B5JRPt0_.js} +1 -1
- package/dist/assets/{wait-container-DH8upE6T.js → wait-container-D08poArP.js} +1 -1
- package/dist/assets/{without-wallet-BW1Rplxh.js → without-wallet-Cq0jHe0-.js} +1 -1
- package/dist/assets/wrap-locale-fe2iWyZX.js +1 -0
- package/dist/assets/{xml-Bw3uqPST.js → xml-yaEsWuy9.js} +1 -1
- package/dist/assets/{yaml-Bs3RMjTY.js → yaml-B2xGL9-8.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-DFxrtTfG.js +0 -1
- package/dist/assets/api-q4yep6BX.js +0 -1
- package/dist/assets/chain-Cq8v0ndB.js +0 -6
- package/dist/assets/cloneDeep-B_sIbdyU.js +0 -1
- package/dist/assets/connect-to-CyrO6atx.js +0 -29
- package/dist/assets/emotion-cache.browser.esm-F-H2n_Vz.js +0 -1
- package/dist/assets/engine-DeV5utCO.js +0 -1
- package/dist/assets/getValidReactChildren-BMWRE_Nn.js +0 -1
- package/dist/assets/index-CnRp8oF4.js +0 -1
- package/dist/assets/omit-Dmt7cKLM.js +0 -1
- package/dist/assets/schema-C8k5AIF2.js +0 -1
- package/dist/assets/sdk-CXtYA3ry.js +0 -1
- package/dist/assets/toUpper-DqUeOG5c.js +0 -1
- package/dist/assets/wrap-locale-BOO0hut3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,j as t,K as o,br as c,o as n}from"./index-
|
|
1
|
+
import{r as i,j as t,K as o,br as c,o as n}from"./index-l0ejZk6e.js";const h=e=>i.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.36096 2.3999C7.04725 2.3999 6.76249 2.58326 6.63267 2.86886L0.872671 15.5409C0.825415 15.6448 0.800964 15.7577 0.800964 15.8719V15.9999V27.3919C0.800964 27.8337 1.15914 28.1919 1.60096 28.1919H30.401C30.8428 28.1919 31.201 27.8337 31.201 27.3919V15.8719C31.201 15.7577 31.1765 15.6448 31.1293 15.5409L25.3693 2.86886C25.2394 2.58326 24.9547 2.3999 24.641 2.3999H7.36096ZM2.40096 16.7999V26.5919H29.601V16.7932C29.5669 16.7976 29.5321 16.7999 29.4968 16.7999H22.3993L20.3328 19.8997C20.1845 20.1222 19.9347 20.2559 19.6672 20.2559H11.6032C11.3357 20.2559 11.0859 20.1222 10.9375 19.8997L8.87104 16.7999H2.40096ZM29.2167 15.1999H21.9712C21.7037 15.1999 21.4539 15.3336 21.3056 15.5561L19.239 18.6559H12.0313L9.96483 15.5561C9.81645 15.3336 9.56667 15.1999 9.29919 15.1999H2.78519L7.8761 3.9999H24.1258L29.2167 15.1999Z",fill:"currentColor"})),a=c(o)`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b$ as Ke,b_ as Fe,r as h,c0 as Ge,j as e,b8 as ee,c2 as $e,cf as Z,c3 as Ye,bY as He,ch as qe,aF as he,M as q,bn as A,cu as Ce,H as B,X as V,bf as E,fC as we,aQ as Be,b as N,iP as Ve,V as D,gD as Qe,o as m,x as Xe,aw as De,y as fe,ak as Je,p as Ze,C as L,T as j,k as et,s as tt,f as ot,iQ as X,h_ as J,iR as st,K as S,aV as K,aH as T,L as nt,g as H,dl as at,ay as Se,Q as G,aE as $,a8 as Y,a4 as rt,dI as it,gt as ct,a$ as lt,v as pe,w as dt,G as be,Y as Ee,bC as xe,B as pt}from"./index-UKgFVupi.js";import{T as ut}from"./html-title-BPny9upB.js";import{u as U}from"./blocklet-B_gm4lmi.js";import{u as mt}from"./use-mobile-CMTzn3M3.js";import{c as Ie,d as ft,e as xt,f as gt,g as ue,h as ht,b as St,u as yt,C as bt,D as kt,a as jt}from"./connect-to-CyrO6atx.js";import"./index-DV2yUsDM.js";import"./index-BojVbZw0.js";import"./api-q4yep6BX.js";import{d as Ct,a as wt,g as Bt,i as Dt,e as ge,f as Et,h as It,j as Tt}from"./spaces-C6mZH1kT.js";import{v as Rt}from"./index-BMTfpek5.js";import{E as zt}from"./index-CAy_ntFG.js";import{H as vt}from"./HelpOutline-B2x2uyvQ.js";import{H as Pt}from"./index-QV6ZlHUk.js";import{x as At}from"./index-DRYJ0xIl.js";import{c as Lt}from"./actions-B8C-PCI5.js";import{D as Ut}from"./DeleteOutline-CutnF8U7.js";import{g as ke}from"./get-safe-url-BdtvVcQw.js";import{S as Ot}from"./switch-control-BIC-Nwu_.js";import{L as je}from"./list-header-CRu61Gzq.js";import"./OpenInNew-BBMfbtyT.js";import"./ButtonGroup-CvkZLM_A.js";import"./getValidReactChildren-BMWRE_Nn.js";import"./FilterList-BVOOp-qX.js";import"./CSSTransition-CUGJUBZa.js";import"./emotion-cache.browser.esm-F-H2n_Vz.js";import"./index-CvjKujEe.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-DnLesJI5.js";import"./index-DaZkwaiO.js";import"./TableSearch-Dw0n59eL.js";import"./Search-DV0DmDJh.js";import"./Clear-TsHHhjv8.js";import"./MoreVert-LlVBp8Yl.js";import"./useLocalStorage-1RvhLwwW.js";import"./url-evaluation-DuQYeVhL.js";import"./permission-rweAJL4g.js";import"./Switch-BV_bJmtO.js";function Mt(t){return Ke("MuiIcon",t)}Fe("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Nt=t=>{const{color:o,fontSize:n,classes:s}=t,r={root:["root",o!=="inherit"&&`color${Z(o)}`,`fontSize${Z(n)}`]};return Ye(r,Mt,s)},_t=ee("span",{name:"MuiIcon",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[o.root,n.color!=="inherit"&&o[`color${Z(n.color)}`],o[`fontSize${Z(n.fontSize)}`]]}})(He(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:t.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:t.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(t.vars||t).palette.action.active}},{props:{color:"disabled"},style:{color:(t.vars||t).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(t.palette).filter(qe()).map(([o])=>({props:{color:o},style:{color:(t.vars||t).palette[o].main}}))]}))),ye=h.forwardRef(function(o,n){const s=Ge({props:o,name:"MuiIcon"}),{baseClassName:r="material-icons",className:a,color:c="inherit",component:i="span",fontSize:d="medium",...l}=s,p={...s,baseClassName:r,color:c,component:i,fontSize:d},f=Nt(p);return e.jsx(_t,{as:i,className:$e(r,"notranslate",f.root,a),ownerState:p,"aria-hidden":!0,ref:n,...l})});ye.muiName="Icon";const Wt=he(e.jsx("path",{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"})),Kt=he(e.jsx("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02"})),Ft=he(e.jsx("path",{d:"m9.17 6 2 2H20v10H4V6zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}));async function Gt({blockletDid:t,nodeApi:o,spaceGateways:n}){let s=!1;const r=await Promise.all(n.map(async a=>{let{name:c}=a;const i=await Ct(a.endpoint);return!q(i)&&i!==c&&(c=i,s=!0),{...a,name:c}}));return s&&await Promise.all(r.filter(a=>a.did).map(a=>o.updateBlockletSpaceGateway({input:{did:t,where:{did:a.did},spaceGateway:{...a}}}))),r}function $t({refresh:t}={}){const{blocklet:o}=U(),n=o?.meta?.did,{api:s}=A();return Ce(async()=>{if(!n)return[];const{spaceGateways:r}=await s.getBlockletSpaceGateways({input:{did:n}});return await Gt({blockletDid:n,nodeApi:s,spaceGateways:r})??[]},{refreshDeps:[n,t],onError(r){r?.message?.includes("not logged")?console.warn(r):(console.error(r),B.error(V(r)))}})}function Te({deps:t,setLoading:o,backupDate:n}={deps:[],setLoading:()=>{},backupDate:new Date}){const{blocklet:s}=U(),[r,a]=h.useState([]),{api:c}=A(),[i,d]=h.useMemo(()=>n?[E(n).startOf("day").toISOString(),E(n).endOf("day").toISOString()]:[E().startOf("year").toISOString(),E().endOf("day").toISOString()],[n]),l=we(async()=>{try{if(o(!0),!s){a([]);return}const{backups:p}=await c.getBlockletBackups({input:{did:s.meta.did,startTime:i,endTime:d}});a(p??[])}catch(p){console.error(p),B.error(V(p))}finally{o(!1)}},1e3);return Be(async()=>{l()},[s?.meta?.did].concat(t)),{backups:r}}function Yt({appDid:t}){const{backups:o}=Te(),[n,s]=h.useState({message:"",progress:0,completed:!1}),r=A(),{ws:{useSubscription:a}}=r;return a(N.BlockletEvents.backupProgress,c=>{t===c?.appDid&&s(()=>({...c}))},[t]),h.useEffect(()=>{if(o?.length&&Ve(o[0]?.status)){const[c]=o;s(()=>({message:c.message,progress:c.progress,completed:c.progress>=100}))}},[o]),n}function Ht({deps:t=[],setLoading:o=()=>{}}={}){const{blocklet:n}=U(),[s,r]=h.useState([]),{api:a}=A(),c=h.useCallback(we(async()=>{if(!a||!n?.meta?.did){r([]);return}try{o(!0);const i=E(),d=i.subtract(1,"year"),{summary:l}=await a.getBlockletBackupSummary({input:{did:n.meta.did,startTime:d.toISOString(),endTime:i.toISOString()}});r(Array.isArray(l)?l:[])}catch(i){console.error("Failed to fetch backup summary:",i),B.error(V(i)),r([])}finally{o(!1)}},1e3),[]);return Be(async()=>(await c(),()=>{c.cancel()}),[n?.meta?.did].concat(t)),{backupSummary:s}}const Re=h.createContext({}),{Provider:qt,Consumer:Ho}=Re;function ze({children:t}){const{t:o}=D(),{api:n}=A(),{blocklet:s}=U(),[r,a]=h.useState(null),[c,i]=h.useState(!1),{data:d,loading:l,mutate:p}=$t({refresh:c}),f=Qe(d),x=Yt({appDid:s?.appDid}),u=h.useMemo(()=>wt(s?.environments),[s?.environments]),[k,w]=h.useState(!1),[y,b]=h.useState(0),{backups:te}=Te({deps:[y,r],setLoading:w,backupDate:r}),[oe,se]=h.useState(0),{backupSummary:ne}=Ht({deps:[oe]}),[_,M]=h.useState(d?.find(g=>g.endpoint===u)),I=s?.settings?.autoBackup,z=()=>{i(g=>!g)},ae=()=>{se(g=>g+1)},re=()=>{b(g=>g+1)},F=async g=>{await n.updateAutoBackup({input:{did:s.meta.did,autoBackup:g}})},Q=async()=>{await n.abortBlockletBackup({input:{appPid:s.meta.did}})},ie=async(g,P)=>{try{p(R=>{const v=[...R];return v.push({...g,loading:!0}),v}),await n.addBlockletSpaceGateway({input:{did:s.meta.did,spaceGateway:g}}),u!==P&&await n.configBlocklet({input:{did:[s.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:P}]}}),M(g),z(),B.success(o("storage.spaces.connectedWithName",{name:g?.name??"DID Spaces"}))}catch(R){throw console.error(R),p(v=>[...v].filter(W=>W.did!==g.did)),R}},ce=async g=>{g&&(g.endpoint===u&&(await n.configBlocklet({input:{did:[s.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:""}]}}),I?.enabled&&await F({enabled:!1})),await n.deleteBlockletSpaceGateway({input:{did:s.meta.did,spaceGatewayDid:g?.did}}),p(P=>{const R=[...P];return R.splice(R.indexOf(g),1),R}),M(g),z())},le=async g=>{await Promise.all([n.updateBlockletSpaceGateway({input:{did:s.meta.did,where:{did:g.did},spaceGateway:g}}),u!==g.endpoint&&n.configBlocklet({input:{did:[s.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:g.endpoint}]}})]),B.success(o("storage.spaces.connectedWithName",{name:g?.name??"DID Spaces"})),z()},C=g=>g?.endpoint===u;return e.jsx(qt,{value:{spaceGateways:d||[],selectedSpaceGateway:_,addSpaceGateway:ie,deleteSpaceGateway:ce,updateSpaceGateway:le,refreshSpaceGateways:z,spaceGatewaysLoading:l,spaceGatewaysFirstLoading:f,spaceGatewayIsSelected:C,updateAutoBackup:F,abortBlockletBackup:Q,backupEndpoint:u,backupProgress:x,backups:te,backupSummary:ne,refreshBackupSummary:ae,refreshBackups:re,setBackupDate:a,backupsLoading:k,autoBackup:I},children:t})}ze.propTypes={children:m.any.isRequired};function O(){return h.useContext(Re)}function ve({...t}){const{blocklet:o}=U(),{info:n}=A(),{t:s}=D(),r=Ie({blocklet:o}),a=Xe(n),{spaceGateways:c,addSpaceGateway:i}=O(),d={checkFn:De.create({baseURL:fe(window.location.origin,Je())}).get,webWalletUrl:a,extraParams:{appPid:o.appPid,appDid:r.appDid,appName:r.appName,appDescription:r.appDescription,appUrl:r.appUrl,referrer:r.referrer,scopes:r.scopes,nodeDid:n.did}},l=async({endpoint:f,name:x,did:u})=>{const k=await Bt(f);if(!await Dt(k)){B.error(s("storage.spaces.gateway.add.invalidUrl"));return}if(c.some(b=>b.endpoint===f)){B.error(s("storage.spaces.gateway.add.duplicate",{name:x}));return}await i({name:x,did:u,url:k,endpoint:f},f)},p=async({spaceGateway:f})=>{try{await l(f)}catch(x){console.error(x),B.error(V(x))}};return e.jsx(ft,{...t,connectScope:"app",options:d,onSuccess:p})}function Vt(){const{api:t}=A(),{blocklet:o}=U(),{data:n,loading:s}=Ce(()=>t.getBlocklet({input:{did:o?.meta?.did,attachDiskInfo:!0,attachRuntimeInfo:!0}}),{ready:!!o?.meta?.did,refreshDeps:[o?.meta?.did]});return{blocklet:n?.blocklet??null,loading:s}}function Pe({...t}){const{t:o}=h.useContext(Ze),{blocklet:n,loading:s}=Vt();if(n?.diskInfo){const r=(i,d,l)=>e.jsxs(j,{children:[i," ",e.jsx("strong",{children:d?et(d):"empty"})]}),a=n.environments.reduce((i,d)=>(i[d.key]=d.value,i),{}),c=[{key:"appDir",name:o("blocklet.diskInfo.appDir"),value:r(a.BLOCKLET_APP_DIR,n.diskInfo.app)},{key:"dataDir",name:o("blocklet.diskInfo.dataDir"),value:r(a.BLOCKLET_DATA_DIR,n.diskInfo.data)},{key:"logDir",name:o("blocklet.diskInfo.logDir"),value:r(a.BLOCKLET_LOG_DIR,n.diskInfo.log)},{key:"cacheDir",name:o("blocklet.diskInfo.cacheDir"),value:r(a.BLOCKLET_CACHE_DIR,n.diskInfo.cache)}];return e.jsx(Qt,{component:"div",...t,children:c.map(i=>e.jsx(Rt,{valueComponent:"div",nameWidth:120,name:i.name,children:i.value},i.key))})}return s?e.jsx(L,{}):e.jsx(j,{children:o("blocklet.diskInfo.empty")})}const Qt=tt(j)``;function Ae(){const{t}=D(),{setBackupDate:o,backupSummary:n}=O(),s=xt({key:"lg"}),r=h.useRef(null),a=ot(),c=h.useCallback(l=>{o(l)},[o]),i=h.useMemo(()=>{const l=E().add(1,"day"),p=l.subtract(1,"year"),f=new Map(n.map(u=>[u.date,{date:u.date,successCount:u.successCount,errorCount:u.errorCount}])),x=[];for(let u=p.clone();E(u).isBefore(l);u=u.add(1,"day")){const k=u.format("YYYY-MM-DD");x.push(f.get(k)||{date:k,successCount:0,errorCount:0})}return x},[n]),d=h.useMemo(()=>({grid:{containLabel:!0,right:10,top:30,bottom:12},tooltip:{formatter:k=>{const{date:w,successCount:y,errorCount:b}=i[k.dataIndex]||{date:k.data[0],successCount:0,errorCount:0};return[`<div>${t("common.time")}: ${w}</div>`,`<div>${t("common.succeeded")}: ${y}</div>`,`<div>${t("common.failed")}: ${b}</div>`].join(`
|
|
1
|
+
import{b$ as Ke,b_ as Fe,r as h,c0 as Ge,j as e,b8 as ee,c2 as $e,cf as Z,c3 as Ye,bY as He,ch as qe,aF as he,M as q,bn as A,cu as Ce,H as B,X as V,bf as E,fD as we,aQ as Be,b as N,i$ as Ve,V as D,gE as Qe,o as m,x as Xe,aw as De,y as fe,ak as Je,p as Ze,C as L,T as j,k as et,s as tt,f as ot,j0 as X,i1 as J,j1 as st,K as S,aV as K,aH as T,L as nt,g as H,dl as at,ay as Se,Q as G,aE as $,a8 as Y,a4 as rt,dI as it,gu as ct,a$ as lt,v as pe,w as dt,G as be,Y as Ee,bC as xe,B as pt}from"./index-l0ejZk6e.js";import{T as ut}from"./html-title-x1db95S1.js";import{u as U}from"./blocklet-DooKd_sI.js";import{u as mt}from"./use-mobile-B06ZsBLv.js";import{c as Ie,d as ft,e as xt,f as gt,g as ue,h as ht,b as St,u as yt,C as bt,D as kt,a as jt}from"./connect-to-DxqW5HVH.js";import"./index-DWhhB9Hi.js";import"./index-BojVbZw0.js";import"./api-BEwC7jzb.js";import{d as Ct,a as wt,g as Bt,i as Dt,e as ge,f as Et,h as It,j as Tt}from"./spaces-1p_UMor_.js";import{v as Rt}from"./index-CvM9vyEK.js";import{E as zt}from"./index-DYWrZZLV.js";import{H as vt}from"./HelpOutline-DIH3coQJ.js";import{H as Pt}from"./index-BKe-qavD.js";import{x as At}from"./index-DRYJ0xIl.js";import{c as Lt}from"./actions-DOkacRyd.js";import{D as Ut}from"./DeleteOutline-_XfCv5J6.js";import{g as ke}from"./get-safe-url-mJazyUZj.js";import{S as Ot}from"./switch-control-DBKg8KSu.js";import{L as je}from"./list-header-DnPG8RQK.js";import"./OpenInNew-D8CczU9i.js";import"./ButtonGroup-BlhSVfK3.js";import"./getValidReactChildren-C2GpPG5h.js";import"./FilterList-tXxMVwM9.js";import"./CSSTransition-Cyc7snYy.js";import"./emotion-cache.browser.esm-CKIgFJwY.js";import"./index-BwyiJPiC.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-CI7FeWZW.js";import"./index-B1zRPZ23.js";import"./TableSearch-BkWoZDH8.js";import"./Search-BrXfrk6s.js";import"./Clear-BoRiznJI.js";import"./MoreVert-CykMlsrj.js";import"./useLocalStorage-CaDSR1Wc.js";import"./url-evaluation-DAoEPnuZ.js";import"./permission-CB_zs2G4.js";import"./Switch-btQlV2VF.js";function Mt(t){return Ke("MuiIcon",t)}Fe("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Nt=t=>{const{color:o,fontSize:n,classes:s}=t,r={root:["root",o!=="inherit"&&`color${Z(o)}`,`fontSize${Z(n)}`]};return Ye(r,Mt,s)},_t=ee("span",{name:"MuiIcon",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[o.root,n.color!=="inherit"&&o[`color${Z(n.color)}`],o[`fontSize${Z(n.fontSize)}`]]}})(He(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:t.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:t.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(t.vars||t).palette.action.active}},{props:{color:"disabled"},style:{color:(t.vars||t).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(t.palette).filter(qe()).map(([o])=>({props:{color:o},style:{color:(t.vars||t).palette[o].main}}))]}))),ye=h.forwardRef(function(o,n){const s=Ge({props:o,name:"MuiIcon"}),{baseClassName:r="material-icons",className:a,color:c="inherit",component:i="span",fontSize:d="medium",...l}=s,p={...s,baseClassName:r,color:c,component:i,fontSize:d},f=Nt(p);return e.jsx(_t,{as:i,className:$e(r,"notranslate",f.root,a),ownerState:p,"aria-hidden":!0,ref:n,...l})});ye.muiName="Icon";const Wt=he(e.jsx("path",{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"})),Kt=he(e.jsx("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02"})),Ft=he(e.jsx("path",{d:"m9.17 6 2 2H20v10H4V6zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}));async function Gt({blockletDid:t,nodeApi:o,spaceGateways:n}){let s=!1;const r=await Promise.all(n.map(async a=>{let{name:c}=a;const i=await Ct(a.endpoint);return!q(i)&&i!==c&&(c=i,s=!0),{...a,name:c}}));return s&&await Promise.all(r.filter(a=>a.did).map(a=>o.updateBlockletSpaceGateway({input:{did:t,where:{did:a.did},spaceGateway:{...a}}}))),r}function $t({refresh:t}={}){const{blocklet:o}=U(),n=o?.meta?.did,{api:s}=A();return Ce(async()=>{if(!n)return[];const{spaceGateways:r}=await s.getBlockletSpaceGateways({input:{did:n}});return await Gt({blockletDid:n,nodeApi:s,spaceGateways:r})??[]},{refreshDeps:[n,t],onError(r){r?.message?.includes("not logged")?console.warn(r):(console.error(r),B.error(V(r)))}})}function Te({deps:t,setLoading:o,backupDate:n}={deps:[],setLoading:()=>{},backupDate:new Date}){const{blocklet:s}=U(),[r,a]=h.useState([]),{api:c}=A(),[i,d]=h.useMemo(()=>n?[E(n).startOf("day").toISOString(),E(n).endOf("day").toISOString()]:[E().startOf("year").toISOString(),E().endOf("day").toISOString()],[n]),l=we(async()=>{try{if(o(!0),!s){a([]);return}const{backups:p}=await c.getBlockletBackups({input:{did:s.meta.did,startTime:i,endTime:d}});a(p??[])}catch(p){console.error(p),B.error(V(p))}finally{o(!1)}},1e3);return Be(async()=>{l()},[s?.meta?.did].concat(t)),{backups:r}}function Yt({appDid:t}){const{backups:o}=Te(),[n,s]=h.useState({message:"",progress:0,completed:!1}),r=A(),{ws:{useSubscription:a}}=r;return a(N.BlockletEvents.backupProgress,c=>{t===c?.appDid&&s(()=>({...c}))},[t]),h.useEffect(()=>{if(o?.length&&Ve(o[0]?.status)){const[c]=o;s(()=>({message:c.message,progress:c.progress,completed:c.progress>=100}))}},[o]),n}function Ht({deps:t=[],setLoading:o=()=>{}}={}){const{blocklet:n}=U(),[s,r]=h.useState([]),{api:a}=A(),c=h.useCallback(we(async()=>{if(!a||!n?.meta?.did){r([]);return}try{o(!0);const i=E(),d=i.subtract(1,"year"),{summary:l}=await a.getBlockletBackupSummary({input:{did:n.meta.did,startTime:d.toISOString(),endTime:i.toISOString()}});r(Array.isArray(l)?l:[])}catch(i){console.error("Failed to fetch backup summary:",i),B.error(V(i)),r([])}finally{o(!1)}},1e3),[]);return Be(async()=>(await c(),()=>{c.cancel()}),[n?.meta?.did].concat(t)),{backupSummary:s}}const Re=h.createContext({}),{Provider:qt,Consumer:Ho}=Re;function ze({children:t}){const{t:o}=D(),{api:n}=A(),{blocklet:s}=U(),[r,a]=h.useState(null),[c,i]=h.useState(!1),{data:d,loading:l,mutate:p}=$t({refresh:c}),f=Qe(d),x=Yt({appDid:s?.appDid}),u=h.useMemo(()=>wt(s?.environments),[s?.environments]),[k,w]=h.useState(!1),[y,b]=h.useState(0),{backups:te}=Te({deps:[y,r],setLoading:w,backupDate:r}),[oe,se]=h.useState(0),{backupSummary:ne}=Ht({deps:[oe]}),[_,M]=h.useState(d?.find(g=>g.endpoint===u)),I=s?.settings?.autoBackup,z=()=>{i(g=>!g)},ae=()=>{se(g=>g+1)},re=()=>{b(g=>g+1)},F=async g=>{await n.updateAutoBackup({input:{did:s.meta.did,autoBackup:g}})},Q=async()=>{await n.abortBlockletBackup({input:{appPid:s.meta.did}})},ie=async(g,P)=>{try{p(R=>{const v=[...R];return v.push({...g,loading:!0}),v}),await n.addBlockletSpaceGateway({input:{did:s.meta.did,spaceGateway:g}}),u!==P&&await n.configBlocklet({input:{did:[s.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:P}]}}),M(g),z(),B.success(o("storage.spaces.connectedWithName",{name:g?.name??"DID Spaces"}))}catch(R){throw console.error(R),p(v=>[...v].filter(W=>W.did!==g.did)),R}},ce=async g=>{g&&(g.endpoint===u&&(await n.configBlocklet({input:{did:[s.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:""}]}}),I?.enabled&&await F({enabled:!1})),await n.deleteBlockletSpaceGateway({input:{did:s.meta.did,spaceGatewayDid:g?.did}}),p(P=>{const R=[...P];return R.splice(R.indexOf(g),1),R}),M(g),z())},le=async g=>{await Promise.all([n.updateBlockletSpaceGateway({input:{did:s.meta.did,where:{did:g.did},spaceGateway:g}}),u!==g.endpoint&&n.configBlocklet({input:{did:[s.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:g.endpoint}]}})]),B.success(o("storage.spaces.connectedWithName",{name:g?.name??"DID Spaces"})),z()},C=g=>g?.endpoint===u;return e.jsx(qt,{value:{spaceGateways:d||[],selectedSpaceGateway:_,addSpaceGateway:ie,deleteSpaceGateway:ce,updateSpaceGateway:le,refreshSpaceGateways:z,spaceGatewaysLoading:l,spaceGatewaysFirstLoading:f,spaceGatewayIsSelected:C,updateAutoBackup:F,abortBlockletBackup:Q,backupEndpoint:u,backupProgress:x,backups:te,backupSummary:ne,refreshBackupSummary:ae,refreshBackups:re,setBackupDate:a,backupsLoading:k,autoBackup:I},children:t})}ze.propTypes={children:m.any.isRequired};function O(){return h.useContext(Re)}function ve({...t}){const{blocklet:o}=U(),{info:n}=A(),{t:s}=D(),r=Ie({blocklet:o}),a=Xe(n),{spaceGateways:c,addSpaceGateway:i}=O(),d={checkFn:De.create({baseURL:fe(window.location.origin,Je())}).get,webWalletUrl:a,extraParams:{appPid:o.appPid,appDid:r.appDid,appName:r.appName,appDescription:r.appDescription,appUrl:r.appUrl,referrer:r.referrer,scopes:r.scopes,nodeDid:n.did}},l=async({endpoint:f,name:x,did:u})=>{const k=await Bt(f);if(!await Dt(k)){B.error(s("storage.spaces.gateway.add.invalidUrl"));return}if(c.some(b=>b.endpoint===f)){B.error(s("storage.spaces.gateway.add.duplicate",{name:x}));return}await i({name:x,did:u,url:k,endpoint:f},f)},p=async({spaceGateway:f})=>{try{await l(f)}catch(x){console.error(x),B.error(V(x))}};return e.jsx(ft,{...t,connectScope:"app",options:d,onSuccess:p})}function Vt(){const{api:t}=A(),{blocklet:o}=U(),{data:n,loading:s}=Ce(()=>t.getBlocklet({input:{did:o?.meta?.did,attachDiskInfo:!0,attachRuntimeInfo:!0}}),{ready:!!o?.meta?.did,refreshDeps:[o?.meta?.did]});return{blocklet:n?.blocklet??null,loading:s}}function Pe({...t}){const{t:o}=h.useContext(Ze),{blocklet:n,loading:s}=Vt();if(n?.diskInfo){const r=(i,d,l)=>e.jsxs(j,{children:[i," ",e.jsx("strong",{children:d?et(d):"empty"})]}),a=n.environments.reduce((i,d)=>(i[d.key]=d.value,i),{}),c=[{key:"appDir",name:o("blocklet.diskInfo.appDir"),value:r(a.BLOCKLET_APP_DIR,n.diskInfo.app)},{key:"dataDir",name:o("blocklet.diskInfo.dataDir"),value:r(a.BLOCKLET_DATA_DIR,n.diskInfo.data)},{key:"logDir",name:o("blocklet.diskInfo.logDir"),value:r(a.BLOCKLET_LOG_DIR,n.diskInfo.log)},{key:"cacheDir",name:o("blocklet.diskInfo.cacheDir"),value:r(a.BLOCKLET_CACHE_DIR,n.diskInfo.cache)}];return e.jsx(Qt,{component:"div",...t,children:c.map(i=>e.jsx(Rt,{valueComponent:"div",nameWidth:120,name:i.name,children:i.value},i.key))})}return s?e.jsx(L,{}):e.jsx(j,{children:o("blocklet.diskInfo.empty")})}const Qt=tt(j)``;function Ae(){const{t}=D(),{setBackupDate:o,backupSummary:n}=O(),s=xt({key:"lg"}),r=h.useRef(null),a=ot(),c=h.useCallback(l=>{o(l)},[o]),i=h.useMemo(()=>{const l=E().add(1,"day"),p=l.subtract(1,"year"),f=new Map(n.map(u=>[u.date,{date:u.date,successCount:u.successCount,errorCount:u.errorCount}])),x=[];for(let u=p.clone();E(u).isBefore(l);u=u.add(1,"day")){const k=u.format("YYYY-MM-DD");x.push(f.get(k)||{date:k,successCount:0,errorCount:0})}return x},[n]),d=h.useMemo(()=>({grid:{containLabel:!0,right:10,top:30,bottom:12},tooltip:{formatter:k=>{const{date:w,successCount:y,errorCount:b}=i[k.dataIndex]||{date:k.data[0],successCount:0,errorCount:0};return[`<div>${t("common.time")}: ${w}</div>`,`<div>${t("common.succeeded")}: ${y}</div>`,`<div>${t("common.failed")}: ${b}</div>`].join(`
|
|
2
2
|
`)},backgroundColor:a.palette.background.paper,borderColor:a.palette.divider,textStyle:{color:a.palette.text.primary,fontSize:14},extraCssText:`box-shadow: ${a.shadows[2]}; border-radius: 4px;`,padding:[8,10]},visualMap:{show:!1,min:-12,max:12,pieces:[{min:Number.MIN_SAFE_INTEGER,max:-9,color:X[600]},{min:-9,max:-6,color:X[500]},{min:-6,max:-3,color:X[400]},{min:-3,max:-1,color:X[300]},{min:0,max:0,color:a.palette.grey[200]},{min:1,max:3,color:J[300]},{min:3,max:6,color:J[400]},{min:6,max:9,color:J[500]},{min:9,max:Number.MAX_SAFE_INTEGER,color:J[600]}],orient:"horizontal",left:"center",bottom:12,itemWidth:12,itemHeight:12,textStyle:{color:a.palette.text.secondary,fontSize:12}},calendar:{top:30,left:50,right:10,bottom:4,cellSize:[8,8],splitLine:{show:!1},itemStyle:{borderWidth:2,borderColor:a.palette.background.default,color:a.palette.background.default},dayLabel:{show:!0,firstDay:0,nameMap:["","Mon","","Wed","","Fri",""],position:"start",margin:4,fontSize:10,color:a.palette.text.primary,fontWeight:"400",width:20},monthLabel:{show:!0,nameMap:"cn",align:"left",color:a.palette.text.primary,fontWeight:"400",fontSize:12,position:"start",margin:4,width:30,padding:[0,2]},yearLabel:{show:!1},range:[E().subtract(11,"month").startOf("month").format("YYYY-MM-DD"),E().endOf("month").format("YYYY-MM-DD")],orient:"horizontal"},series:{type:"heatmap",coordinateSystem:"calendar",data:i.map(k=>[k.date,k.errorCount?-k.errorCount:k.successCount]),label:{show:!1},itemStyle:{borderWidth:2,borderColor:a.palette.background.default,borderRadius:4},emphasis:{itemStyle:{borderWidth:2,borderColor:st[200],color:"inherit"}}}}),[i,t,a]);return e.jsxs(e.Fragment,{children:[e.jsx(S,{ref:r,sx:{maxWidth:"1280px",border:"1px solid",borderColor:"divider",padding:"8px",overflowX:"auto"},children:e.jsx(S,{sx:{width:"1200px",height:"180px",position:"relative"},children:e.jsx(zt,{option:d,style:{height:"100%",width:"100%"},notMerge:!0,lazyUpdate:!1,opts:{renderer:"canvas"},onEvents:{click:l=>{l.componentType==="series"&&l.data&&c(l.data[0])}}})})}),e.jsx(S,{sx:{display:"flex",justifyContent:"flex-end",mt:1,mr:s?2:5,mb:2},children:e.jsxs(K,{direction:s?"column":"row",spacing:s?2:1,sx:{width:"100%",justifyContent:"flex-start",alignItems:s?"flex-start":"center"},children:[e.jsxs(K,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[e.jsx(S,{sx:{width:32,height:12,borderRadius:.5,background:"linear-gradient(90deg, #8B5000 0%, #A36200 33%, #C17700 66%, #E29000 100%)"}}),e.jsx(j,{variant:"body2",sx:{color:"text.secondary"},children:t("storage.spaces.backup.failed")})]}),e.jsxs(K,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[e.jsx(S,{sx:{width:32,height:12,borderRadius:.5,bgcolor:"grey.200",border:"1px solid",borderColor:"grey.200"}}),e.jsx(j,{variant:"body2",sx:{color:"text.secondary"},children:t("storage.spaces.backup.without")})]}),e.jsxs(K,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[e.jsx(S,{sx:{width:32,height:12,borderRadius:.5,background:"linear-gradient(90deg, #9be9a8 0%, #40c463 33%, #30a14e 66%, #216e39 100%)"}}),e.jsx(j,{variant:"body2",sx:{color:"text.secondary"},children:t("storage.spaces.backup.succeeded")})]})]})})]})}const Xt=ee(({className:t,...o})=>e.jsx(Se,{...o,classes:{popper:t}}))(()=>({".MuiTooltip-tooltip":{backgroundColor:"transparent",padding:0,margin:0,boxShadow:"none",maxWidth:"none"},".MuiTooltip-arrow":{color:"rgba(230, 235, 245, 1)"}}));function Le({status:t,message:o="",createdAt:n}){const{t:s}=D(),r=t===T.BACKUPS.STATUS.PROGRESS&&E().diff(n,"hours")>=T.BACKUPS.TIMEOUT_HOURS,a=r&&s("common.timeoutError"),c=t===T.BACKUPS.STATUS.PROGRESS&&!r,i=t===T.BACKUPS.STATUS.SUCCEEDED&&!r;return c?e.jsxs(j,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},children:[e.jsx(L,{sx:{marginRight:"4px"},size:"12px"}),s("common.progress")]}):i?e.jsx(H,{type:"success",children:s("common.succeeded")}):e.jsxs(S,{sx:{display:"inline-flex",alignItems:"center"},children:[e.jsx(H,{type:"error",children:s("common.failed")}),e.jsx(Se,{style:{display:"flex",alignItems:"center",flexShrink:0},title:o||a,children:e.jsx(ye,{children:e.jsx(vt,{style:{width:"24px",height:"24px"},color:"error"})})})]})}Le.propTypes={status:m.string.isRequired,message:m.string,createdAt:m.string.isRequired};function Ue({metadata:t={}}){const{t:o}=D();if(q(t))return e.jsx(H,{type:"success",children:o("common.succeeded")});const n=t.count||0,s=t.size||0,r=At(s,{iec:!0}),a=e.jsxs(S,{sx:{p:1,borderRadius:1,boxShadow:2,color:"black",backgroundColor:"white"},children:[e.jsxs(j,{variant:"body2",children:[o("common.fileCount"),": ",n]}),e.jsxs(j,{variant:"body2",children:[o("common.fileSize"),": ",r]})]});return e.jsxs(S,{sx:{display:"inline-flex",alignItems:"center"},children:[e.jsx(H,{type:"success",children:o("common.succeeded")}),e.jsx(Xt,{title:a,style:{display:"flex",alignItems:"center",flexShrink:0},placement:"left",children:e.jsx(ye,{children:e.jsx(at,{style:{width:"24px",height:"24px"},color:"primary"})})})]})}Ue.propTypes={metadata:m.object};function Oe(){const{t,locale:o}=D(),{spaceGateways:n,backups:s,backupsLoading:r}=O(),a=h.useMemo(()=>[{label:"DID Space",name:"target",options:{customBodyRenderLite:i=>{const{targetUrl:d,targetName:l,status:p,createdAt:f}=s[i],x=p===T.BACKUPS.STATUS.PROGRESS&&E().diff(f,"hours")>=T.BACKUPS.TIMEOUT_HOURS,u=p===T.BACKUPS.STATUS.SUCCEEDED&&!x,k=l||n.find(w=>d?.includes(ge(w?.endpoint)))?.name||"Unknown DID Space";return u?e.jsx(nt,{href:d,target:"_blank",sx:{fontSize:"16px"},children:k}):e.jsx(j,{variant:"body1",sx:{fontSize:"16px"},children:k})}}},{label:t("common.strategy"),name:"strategy",options:{customBodyRender:i=>{const d=t(i===0?"common.auto":"common.manual");return e.jsx(H,{children:d})}}},{label:t("common.startTime"),name:"createdAt",options:{customBodyRender:i=>E(i).format("YYYY-MM-DD HH:mm:ss")}},{label:t("common.endTime"),name:"updatedAt",options:{customBodyRender:i=>q(i)?"":E(i).format("YYYY-MM-DD HH:mm:ss")}},{label:t("common.status"),name:"status",options:{customBodyRenderLite:i=>{const d=s?.[i]??{},{status:l,message:p,createdAt:f,metadata:x}=d,u=l===T.BACKUPS.STATUS.PROGRESS&&E().diff(f,"hours")>=T.BACKUPS.TIMEOUT_HOURS,k=l===T.BACKUPS.STATUS.PROGRESS&&!u,w=l===T.BACKUPS.STATUS.SUCCEEDED&&!u;return k?e.jsxs(j,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},children:[e.jsx(L,{sx:{marginRight:"4px"},size:"12px"}),t("common.progress")]}):w?e.jsx(Ue,{metadata:x}):e.jsx(Le,{status:l,message:p,createdAt:f})}}}],[s,n,t]),c=h.useMemo(()=>!s?.length,[s]);return e.jsx(e.Fragment,{children:c?e.jsx(S,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100px",color:"#9397A1",marginTop:"16px",marginBottom:"24px"},children:t("storage.spaces.record.emptyData")}):e.jsx(Pt,{title:"",loading:r,data:s,columns:a,emptyNode:t("storage.spaces.record.emptyData",o),options:{download:!1,filter:!1,print:!1,search:!1,viewColumns:!1}})})}function Jt(){const{t}=D();return e.jsxs(S,{children:[e.jsxs(S,{sx:{display:"flex",gap:3,flexDirection:{xs:"column",md:"row"}},children:[e.jsxs(S,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",minWidth:240},children:[e.jsx(gt,{style:{cursor:"pointer",width:"150px",height:"100%",maxHeight:160}}),e.jsx(j,{sx:{my:2,textAlign:"center",color:"text.secondary"},children:t("storage.spaces.connect.provider")}),e.jsx(ve,{})]}),e.jsxs(S,{sx:{flexGrow:1,minWidth:0},children:[e.jsx(S,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:e.jsx(j,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:t("storage.spaces.backup.records")})}),e.jsx(Ae,{})]})]}),e.jsx(Oe,{sx:{marginTop:"24px"}}),e.jsx(j,{sx:{fontSize:"1.2rem",fontWeight:"bold",mb:2,mt:2},children:t("common.dataStorage")}),e.jsx(Pe,{})]})}function Me({spaceGateway:t,onConfirm:o=()=>{},onCancel:n=()=>{}}){const{t:s}=D(),[r,a]=h.useState(!1),[c,i]=h.useState(!1),d=(f,x)=>{f?.preventDefault(),f?.stopPropagation(),a(x)},l=async f=>{try{f?.stopPropagation(),i(!0),await o?.(t),a(!1)}catch(x){console.error(x),B.error(`${s("storage.space.gateway.delete.failed")}: ${V(x)}`)}finally{a(!1),i(!1)}},p=f=>{d(f,!1),n?.(f)};return e.jsxs(e.Fragment,{children:[e.jsxs(G,{color:"red",onClick:f=>d(f,!0),children:[e.jsx($,{style:{minWidth:24,color:"red"},children:e.jsx(Ut,{fontSize:"small"})}),e.jsx(Y,{style:{color:"red"},children:s("common.disconnect")})]}),e.jsx(rt,{title:s("storage.spaces.gateway.delete.title"),open:r,confirmButton:{text:s("common.confirm"),props:{size:"small",variant:"contained",color:"error",loading:c}},cancelButton:{text:s("common.cancel"),props:{size:"small",variant:"outlined",disabled:c}},onConfirm:l,onCancel:p,children:e.jsx(j,{sx:{wordWrap:"break-word"},children:s("storage.spaces.gateway.delete.descForBackup",{name:`${t?.name}`})})})]})}Me.propTypes={spaceGateway:m.shape({name:m.string.isRequired,url:m.string.isRequired,protected:m.bool}).isRequired,onConfirm:m.func,onCancel:m.func};function Ne({spaceGateway:t,selected:o,onDelete:n=()=>{},onConnect:s=()=>{},enableSwitchToSpace:r=!0,backupInProgress:a=!1,...c}){const{abortBlockletBackup:i}=O(),[d,l]=h.useState(null),{t:p}=D(),[f,x]=h.useState(!1),u=(y,b)=>{y.stopPropagation(),y.preventDefault(),l(b&&y.currentTarget)},k=async y=>{try{x(!0),u(y,!1),await s(t)}catch(b){console.error(b),B.error(b.message)}finally{x(!1)}},w=async y=>{try{x(!0),u(y,!1),await i()}catch(b){console.error(b),B.error(b.message)}finally{x(!1)}};return e.jsxs(e.Fragment,{children:[f||t?.loading?e.jsx(L,{sx:{ml:1},size:"24px"}):e.jsx(it,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",variant:"outlined",size:"small",onClick:y=>u(y,!0),...c,children:e.jsx(ct,{})}),e.jsxs(lt,{id:"simple-menu",anchorEl:d,keepMounted:!0,open:!!d,onClose:y=>u(y,!1),children:[e.jsxs(G,{onClick:y=>{u(y,!1),window.open(ke(t.endpoint?Et(t.endpoint):t.url,{allowDomains:null}))},children:[e.jsx($,{style:{minWidth:24},children:e.jsx(Wt,{fontSize:"small"})}),e.jsx(Y,{children:p("common.open")})]}),e.jsxs(G,{onClick:y=>{u(y,!1),window.open(ke(It(t.endpoint),{allowDomains:null}))},children:[e.jsx($,{style:{minWidth:24},children:e.jsx(Ft,{fontSize:"small"})}),e.jsx(Y,{children:p("storage.spaces.strategy.viewBackupFiles")})]}),!o&&r&&e.jsxs(G,{onClick:k,children:[e.jsx($,{style:{minWidth:24},children:e.jsx(Kt,{fontSize:"small"})}),e.jsx(Y,{children:p("storage.spaces.connect.switchToSpace")})]}),a&&e.jsxs(G,{onClick:w,children:[e.jsx($,{style:{minWidth:24},children:e.jsx(Lt,{fontSize:"small"})}),e.jsx(Y,{children:p("storage.spaces.connect.abortBlockletBackup")})]}),!a&&e.jsx(Me,{spaceGateway:t,onConfirm:async()=>{l(null),await n?.(t)},onCancel:()=>l(null)})]})]})}Ne.propTypes={spaceGateway:m.shape({name:m.string.isRequired,url:m.string.isRequired,protected:m.bool,endpoint:m.string.isRequired,loading:m.bool}).isRequired,selected:m.bool.isRequired,enableSwitchToSpace:m.bool,onDelete:m.func,onConnect:m.func,backupInProgress:m.bool};const Zt=ee(({className:t,...o})=>e.jsx(Se,{...o,classes:{popper:t}}))(()=>({".MuiTooltip-tooltip":{backgroundColor:"transparent",padding:0,margin:0,boxShadow:"none",maxWidth:"none"},".MuiTooltip-arrow":{color:"rgba(230, 235, 245, 1)"}}));function _e({spaceGateway:t,spaceStatus:o,selected:n,onConnected:s=()=>{},onDeleted:r=()=>{},onBackedUp:a=()=>{}}){const{t:c,locale:i}=D(),{blocklet:d}=U(),{api:l,info:{did:p}}=A(),{appDid:f,appName:x,appDescription:u,scopes:k,appUrl:w,referrer:y}=Ie({blocklet:d}),{backupProgress:b,updateSpaceGateway:te,deleteSpaceGateway:oe,refreshBackupSummary:se,refreshBackups:ne}=O(),[_,M]=h.useState(!1),[I,z]=h.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,messages:{title:c("storage.spaces.authorize.title",{appName:x},i),scan:c("storage.spaces.authorize.scan",{appName:x},i),confirm:"",success:e.jsx(j,{gutterBottom:!0,children:c("storage.spaces.authorize.success")})},onClose:()=>{z(C=>({...C,open:!1}))}}),ae=n&&!_&&o===ue.DISCONNECTED,re=n&&!_&&!t.loading&&o===ue.CONNECTED,F=n&&_&&o===ue.CONNECTED&&b?.progress>=0,Q=async()=>{try{if(await Tt(t?.endpoint)){await l.configBlocklet({input:{did:[d.meta.did],configs:[{key:N.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:t.endpoint}]}}),B.success(c("storage.spaces.connect.switchToSpaceSucceeded",{name:t.name?`(${t.name})`:""})),s?.(null,t);return}}catch(C){console.error(C),s?.(C,t);return}z(C=>({...C,open:!0,prefix:fe(t.url,"space/api/did"),baseUrl:new URL(t.url).origin,checkFn:De.create({baseURL:fe(t.url,"space")}).get,extraParams:{appDid:f,appName:x,appDescription:u,scopes:k,appUrl:w,referrer:y,nodeDid:p,spaceDid:t.did}}))},ie=async(C,g)=>{const P=g(C.endpoint),R=ge(P),v=C.space?g(C.space):{};if(t.did&&R!==t.did){z(We=>({...We,open:!1}));const W=c("storage.spaces.gateway.switch.failedForMismatchSpace",{name:v?.name?v.name:""});B.error(W),s?.(new Error(W),t);return}const de={...t,name:v.name??"DID Space",did:v.did??ge(P),endpoint:P};await te(de),z(W=>({...W,open:!1})),s?.(null,de)},ce=async()=>{try{if(_)return;M(!0),await l.backupBlocklet({input:{appDid:d.appDid,to:"spaces"}})}catch(C){console.error(C),B.error(C.message),a?.(C,t)}finally{M(!0)}},le=async()=>{try{await oe(t),B.success(c("storage.spaces.gateway.delete.succeeded",{name:t.name?`(${t.name})`:""})),r?.(null,t)}catch(C){console.error(C),r?.(C,t)}};return h.useEffect(()=>{b?.completed?(n&&(b?.progress===100?(B.success(c("storage.spaces.backupSuccessfully")),a?.(null,t)):b.message&&a?.(new Error(b?.message),t),b.progress=0,b.message=""),M(!1),se(),ne()):b.progress&&M(!0)},[b]),e.jsxs(e.Fragment,{children:[e.jsxs(S,{sx:{display:"flex",alignItems:"center",".action-btn":{borderRadius:1,marginLeft:1}},children:[re&&e.jsx(pe,{className:"action-btn",variant:"outlined",size:"small",onClick:ce,children:c("storage.spaces.strategy.backupNow")}),ae&&e.jsx(pe,{className:"action-btn",variant:"outlined",size:"small",onClick:Q,children:c("storage.spaces.disconnected.reconnectNow")}),F&&e.jsx(Zt,{title:b?.message&&e.jsx(S,{sx:{p:1,borderRadius:1,boxShadow:2,color:"black",backgroundColor:"white"},children:e.jsx(j,{variant:"body2",children:b.message})}),children:e.jsxs(pe,{className:"action-btn",variant:"outlined",size:"small",sx:{minWidth:70},children:[e.jsx(L,{variant:"determinate",value:b?.progress,size:14,sx:{mr:1}}),b?.progress,"%"]})}),e.jsx(dt,{forceConnected:!1,saveConnect:!1,prefix:I.prefix,open:I.open,popup:!0,action:I.action,baseUrl:I.baseUrl,checkFn:I.checkFn,onSuccess:ie,onClose:I.onClose,checkTimeout:I.checkTimeout,extraParams:I.extraParams,messages:I.messages,locale:i},"get-endpoint")]}),e.jsx(Ne,{sx:{minWidth:32,padding:"2px 4px",ml:1},spaceGateway:t,selected:n,onDelete:le,onConnect:Q,enableSwitchToSpace:b?.completed||q(b?.message),backupInProgress:F})]})}_e.propTypes={spaceGateway:m.shape({did:m.string.isRequired,name:m.string.isRequired,url:m.string.isRequired,endpoint:m.string.isRequired,protected:m.bool,loading:m.bool}).isRequired,spaceStatus:m.string.isRequired,selected:m.bool.isRequired,onConnected:m.func,onDeleted:m.func,onBackedUp:m.func};function eo({...t}){const{t:o}=D();return e.jsxs(S,{...t,children:[e.jsx(S,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:e.jsx(j,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:o("storage.spaces.backup.records")})}),e.jsx(Ae,{}),e.jsx(Oe,{})]})}function to({...t}){const{t:o}=D(),{autoBackup:n,updateAutoBackup:s}=O(),r=async()=>{try{const a=!n?.enabled;await s({enabled:a}),B.success(o(a?"storage.spaces.autoBackup.enabled":"storage.spaces.autoBackup.disabled"))}catch(a){B.error(a.message)}};return e.jsx(Ot,{checked:!!n?.enabled,onChange:r,name:"enableWelcomePage",labelProps:{label:e.jsx(j,{sx:{marginRight:"8px"},children:e.jsx("span",{children:o("storage.spaces.autoBackup.title")})})},style:{...t.style}})}function oo(){const{t}=D(),{spaceGateways:o,spaceGatewaysLoading:n,spaceGatewayIsSelected:s}=O(),r=n&&!o?.length,a=({spaceGateway:c,spaceStatus:i,selected:d,refresh:l})=>e.jsx(_e,{spaceGateway:c,spaceStatus:i,selected:d,onConnected:()=>l(),onBackedUp:p=>p&&l()});return e.jsxs(S,{sx:{display:"flex",flexDirection:"column"},children:[e.jsxs(S,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:{xs:1,md:2},justifyContent:{xs:"center",md:"flex-start"},alignItems:{xs:"flex-start",md:"center"}},children:[e.jsx(j,{sx:{fontSize:"1.2rem",fontWeight:"bold",flexGrow:1},children:t("storage.spaces.connected.title")}),e.jsx(to,{}),e.jsx(ve,{})]}),e.jsx(S,{sx:{mt:2},children:r?e.jsx(S,{sx:{display:"flex",justifyContent:"center"},children:e.jsx(L,{})}):e.jsx(be,{container:!0,spacing:2,children:e.jsx(e.Fragment,{children:o.map(c=>e.jsx(be,{size:{xs:12,md:6},children:e.jsx(ht,{endpoint:c.endpoint,selected:s(c),action:a},c.endpoint)},c.endpoint))})})}),e.jsx(eo,{sx:{marginTop:"24px"}}),e.jsx(j,{sx:{fontSize:"1.2rem",fontWeight:"bold",mb:2},children:t("common.dataStorage")}),e.jsx(Pe,{})]})}function so(){const{spaceGatewaysFirstLoading:t,spaceGateways:o}=O();return t?e.jsx(Ee,{relative:"parent",children:e.jsx(L,{})}):q(o)?e.jsx(Jt,{}):e.jsx(oo,{})}function no(){return e.jsx(ze,{children:e.jsx(so,{})})}function ao(){const{spaceGateway:t,settingStorageEndpoint:o,updateSpaceGateway:n,hasStorageEndpoint:s,loading:r,storageEndpoint:a}=yt(),c=xe(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"16px"}));return r?e.jsx(Ee,{relative:"parent",children:e.jsx(L,{})}):e.jsxs(S,{sx:{maxWidth:"md",position:"relative"},children:[s?e.jsx(bt,{spaceGateway:t,settingStorageEndpoint:o}):e.jsx(kt,{}),e.jsx(S,{sx:c,children:e.jsx(jt,{onConnect:n,storageEndpoint:a})})]})}function ro(){const{t}=D();return e.jsxs(St,{children:[e.jsxs(K,{spacing:1,sx:{marginBottom:2},children:[e.jsx(j,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:t("storage.appLevel.title")}),e.jsx(j,{sx:{color:"text.secondary"},children:t("storage.appLevel.description")})]}),e.jsx(ao,{})]})}function io({navOrientation:t="vertical",...o}){const{t:n,locale:s}=D(),{blocklet:r}=U(),a=mt({key:"md"}),[c,i]=pt(),d=c.get("tab")||"backup",l=a?"horizontal":t,p=xe(()=>{const w=[{label:n("common.backup"),value:"backup"}],y=r?.capabilities?.didSpace;return(y===N.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED||y===N.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED_ON_SETUP)&&w.push({label:n("common.storage"),value:"storage"}),w},[s,l]),x=xe(()=>({backup:e.jsx(no,{}),storage:e.jsx(ro,{})}))[d],u=w=>{i(y=>(w==="backup"?y.delete("tab"):y.set("tab",w),y))};if(p.length<=1)return e.jsx(me,{children:x});const k=e.jsx(ut,{tabs:p,current:d,orientation:l,onChange:u,sx:[{borderRight:1,height:"100%",borderColor:"divider"},l==="horizontal"&&{borderRight:0}]});if(l==="vertical")return e.jsx(S,{...o,children:e.jsxs(K,{direction:{md:"column",lg:"row"},sx:{gap:2},children:[e.jsx(S,{sx:{flexShrink:0},children:e.jsx(je,{left:k})}),e.jsx(S,{sx:{flexGrow:1,minWidth:0},children:e.jsx(me,{sx:{mt:1},children:x})})]})});if(l==="horizontal")return e.jsxs(S,{...o,children:[e.jsx(je,{left:k}),e.jsx(me,{sx:{mt:2},children:x})]})}io.propTypes={navOrientation:m.oneOf(["vertical","horizontal"])};const me=ee(S)`
|
|
3
3
|
position: relative;
|
|
4
4
|
min-height: 66vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as P,fJ as ll,c4 as _o,fK as cl,ft as Mo,fL as ul,cV as Lo,aF as ur,j as i,fM as fl,fN as dl,cv as Tt,fO as or,ez as Je,fP as Qs,fQ as pl,fR as ml,fS as hl,fT as gl,fU as bl,fV as Js,fW as yl,fX as to,fY as xl,fZ as vl,f_ as wl,f$ as Cl,eA as ro,g0 as ei,eB as Sl,cI as qn,eC as jl,dE as El,g1 as Tl,g2 as Il,V as Ie,bn as Be,aP as ut,g3 as ti,H as Me,X as Ue,o as b,f as no,eO as ri,f5 as ni,n as xt,K as U,bX as kl,dL as Pl,by as Rl,au as ft,g4 as oi,S as jr,bk as Er,g5 as si,a_ as Dl,$ as et,t as lt,b1 as Ol,dI as qe,aU as Nt,E as oo,fe as Al,g6 as _l,g7 as Ml,g8 as Ll,D as Lr,T as Pe,bg as so,a3 as rr,g9 as Nl,U as Et,b_ as Vt,b$ as zt,cj as ii,dO as rt,e_ as ce,c1 as Fl,b8 as _e,dd as Tr,d7 as ai,c2 as dt,c3 as Rt,Q as kt,dK as li,da as Bl,ga as Nr,gb as ci,bC as it,bf as Ve,O as sr,bp as Ul,P as $n,as as ui,dG as ql,gc as Ir,bs as $l,at as ir,v as ze,C as bt,gd as Vl,h as Vn,aW as zl,w as Wl,x as Kl,s as He,p as fr,ac as dr,bD as Bt,ge as Hl,dF as Yl,dm as Gl,aH as gt,ay as yt,dx as Zl,gf as Xl,eD as Ql,gg as fi,gh as kr,gi as Jl,dH as ar,b as Se,W as io,dJ as ec,cu as di,z as tc,bu as ao,bv as pi,bw as lo,dp as hr,aD as rc,fI as mi,N as lr,aS as nc,gj as hi,aE as oc,a8 as sc,gk as ic,cZ as gi,gl as ac,bz as No,y as lc,gm as cc,bF as uc,R as fc,M as dc}from"./index-UKgFVupi.js";import{A as Ut}from"./Add-bw7LExYi.js";import{V as pc}from"./ViewList-Dlfa9YjE.js";import{c as mc,H as co,g as hc}from"./index-QV6ZlHUk.js";import{v as Fo}from"./index-DV2yUsDM.js";import{u as Ye}from"./team-BpXTeXX3.js";import{u as bi}from"./blocklet-B_gm4lmi.js";import{S as yi}from"./Search-DV0DmDJh.js";import{y as Fr}from"./index-DaZkwaiO.js";import{u as gc,C as Zt}from"./index.esm-C1D-vjtU.js";import{S as bc}from"./Google-D0deGelc.js";import{A as yc,a as gr}from"./Autocomplete-C7pwOgja.js";import{U as xc}from"./UnfoldMore-OHiBiV6d.js";import{P as Pt}from"./permission-rweAJL4g.js";import{C as Br}from"./click-to-copy-C9rtZDLS.js";import{s as vt,g as vc,S as wc,u as mt,a as xi,b as pr,c as vi,d as Ur,e as wi,f as uo,P as Ci,D as Si,h as Pr,M as tr,i as ji,j as Bo,k as nr,v as Cc,l as Sc,m as Uo,n as jc,o as Ec,p as Tc,q as Ic,C as kc,r as Pc,t as Rr,w as Lt,x as Dr,y as qo,z as $o,A as Rc,T as Dc,B as fo,E as Oc,F as Ac,G as _c,H as Mc,I as Lc,J as Nc,K as Fc,L as br,N as Ft,O as Ei,Q as Bc,V as zn,R as Ti,U as Uc,W as Vo,X as qc,Y as $c,Z as Vc,_ as zc,$ as Wc,a0 as Kc}from"./AdapterDayjs-GSjt4DIz.js";import{u as nt}from"./useThemeProps-SIspLYj0.js";import{a as zo,b as Hc,t as Yc,T as Gc}from"./html-title-BPny9upB.js";import{v as Ge}from"./index-BMTfpek5.js";import{V as Zc}from"./Verified-8SqBajcm.js";import{D as Xc}from"./DeleteOutline-CutnF8U7.js";import{E as Wo}from"./ErrorOutline-BVlSjT51.js";import{N as Qc}from"./index-CxOhjmog.js";import{R as Ii,a as Sr,D as Jc}from"./url-evaluation-DuQYeVhL.js";import{b as Wn}from"./sdk-CXtYA3ry.js";import{u as eu}from"./index-Br_vN976.js";import{u as ki}from"./use-mobile-CMTzn3M3.js";import{A as tu}from"./actions-Cd1V0QXL.js";import{S as ru}from"./shorten-label-jgxOPsCZ.js";import{U as Gr}from"./ua-parser-DP5omx3I.js";const nu=mc(P.useLayoutEffect);var Ko={},Ho;function ou(){return Ho||(Ho=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(d){try{return d.defaultView&&d.defaultView.frameElement||null}catch{return null}}var t=function(d){for(var p=d,y=e(p);y;)p=y.ownerDocument,y=e(p);return p}(window.document),r=[],n=null,o=null;function c(d){this.time=d.time,this.target=d.target,this.rootBounds=S(d.rootBounds),this.boundingClientRect=S(d.boundingClientRect),this.intersectionRect=S(d.intersectionRect||w()),this.isIntersecting=!!d.intersectionRect;var p=this.boundingClientRect,y=p.width*p.height,E=this.intersectionRect,C=E.width*E.height;y?this.intersectionRatio=Number((C/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(d,p){var y=p||{};if(typeof d!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=d,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(E){return E.value+E.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(d,p){!d||!p?o=w():o=j(d,p),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(d){var p=this._observationTargets.some(function(y){return y.element==d});if(!p){if(!(d&&d.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:d,entry:null}),this._monitorIntersections(d.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(d){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=d}),this._unmonitorIntersections(d.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var d=this._queuedEntries.slice();return this._queuedEntries=[],d},s.prototype._initThresholds=function(d){var p=d||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(y,E,C){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==C[E-1]})},s.prototype._parseRootMargin=function(d){var p=d||"0px",y=p.split(/\s+/).map(function(E){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(E);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(d){var p=d.defaultView;if(p&&this._monitoringDocuments.indexOf(d)==-1){var y=this._checkForIntersections,E=null,C=null;this.POLL_INTERVAL?E=p.setInterval(y,this.POLL_INTERVAL):(u(p,"resize",y,!0),u(d,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(C=new p.MutationObserver(y),C.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(d),this._monitoringUnsubscribes.push(function(){var D=d.defaultView;D&&(E&&D.clearInterval(E),f(D,"resize",y,!0)),f(d,"scroll",y,!0),C&&C.disconnect()});var T=this.root&&(this.root.ownerDocument||this.root)||t;if(d!=T){var I=e(d);I&&this._monitorIntersections(I.ownerDocument)}}},s.prototype._unmonitorIntersections=function(d){var p=this._monitoringDocuments.indexOf(d);if(p!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,E=this._observationTargets.some(function(I){var D=I.element.ownerDocument;if(D==d)return!0;for(;D&&D!=y;){var N=e(D);if(D=N&&N.ownerDocument,D==d)return!0}return!1});if(!E){var C=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),C(),d!=y){var T=e(d);T&&this._unmonitorIntersections(T.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var d=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<d.length;p++)d[p]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var d=this._rootIsInDom(),p=d?this._getRootRect():w();this._observationTargets.forEach(function(y){var E=y.element,C=v(E),T=this._rootContainsTarget(E),I=y.entry,D=d&&T&&this._computeTargetAndRootIntersection(E,C,p),N=null;this._rootContainsTarget(E)?(!n||this.root)&&(N=p):N=w();var B=y.entry=new c({time:l(),target:E,boundingClientRect:C,rootBounds:N,intersectionRect:D});I?d&&T?this._hasCrossedThreshold(I,B)&&this._queuedEntries.push(B):I&&I.isIntersecting&&this._queuedEntries.push(B):this._queuedEntries.push(B)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(d,p,y){if(window.getComputedStyle(d).display!="none"){for(var E=p,C=m(d),T=!1;!T&&C;){var I=null,D=C.nodeType==1?window.getComputedStyle(C):{};if(D.display=="none")return null;if(C==this.root||C.nodeType==9)if(T=!0,C==this.root||C==t)n&&!this.root?!o||o.width==0&&o.height==0?(C=null,I=null,E=null):I=o:I=y;else{var N=m(C),B=N&&v(N),W=N&&this._computeTargetAndRootIntersection(N,B,y);B&&W?(C=N,I=j(B,W)):(C=null,E=null)}else{var ne=C.ownerDocument;C!=ne.body&&C!=ne.documentElement&&D.overflow!="visible"&&(I=v(C))}if(I&&(E=h(I,E)),!E)break;C=C&&m(C)}return E}},s.prototype._getRootRect=function(){var d;if(this.root&&!g(this.root))d=v(this.root);else{var p=g(this.root)?this.root:t,y=p.documentElement,E=p.body;d={top:0,left:0,right:y.clientWidth||E.clientWidth,width:y.clientWidth||E.clientWidth,bottom:y.clientHeight||E.clientHeight,height:y.clientHeight||E.clientHeight}}return this._expandRectByRootMargin(d)},s.prototype._expandRectByRootMargin=function(d){var p=this._rootMarginValues.map(function(E,C){return E.unit=="px"?E.value:E.value*(C%2?d.width:d.height)/100}),y={top:d.top-p[0],right:d.right+p[1],bottom:d.bottom+p[2],left:d.left-p[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(d,p){var y=d&&d.isIntersecting?d.intersectionRatio||0:-1,E=p.isIntersecting?p.intersectionRatio||0:-1;if(y!==E)for(var C=0;C<this.thresholds.length;C++){var T=this.thresholds[C];if(T==y||T==E||T<y!=T<E)return!0}},s.prototype._rootIsInDom=function(){return!this.root||x(t,this.root)},s.prototype._rootContainsTarget=function(d){var p=this.root&&(this.root.ownerDocument||this.root)||t;return x(p,d)&&(!this.root||p==d.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var d=r.indexOf(this);d!=-1&&r.splice(d,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(d,p){var y=null;return function(){y||(y=setTimeout(function(){d(),y=null},p))}}function u(d,p,y,E){typeof d.addEventListener=="function"?d.addEventListener(p,y,E):typeof d.attachEvent=="function"&&d.attachEvent("on"+p,y)}function f(d,p,y,E){typeof d.removeEventListener=="function"?d.removeEventListener(p,y,E):typeof d.detachEvent=="function"&&d.detachEvent("on"+p,y)}function h(d,p){var y=Math.max(d.top,p.top),E=Math.min(d.bottom,p.bottom),C=Math.max(d.left,p.left),T=Math.min(d.right,p.right),I=T-C,D=E-y;return I>=0&&D>=0&&{top:y,bottom:E,left:C,right:T,width:I,height:D}||null}function v(d){var p;try{p=d.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):w()}function w(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function S(d){return!d||"x"in d?d:{top:d.top,y:d.top,bottom:d.bottom,left:d.left,x:d.left,right:d.right,width:d.width,height:d.height}}function j(d,p){var y=p.top-d.top,E=p.left-d.left;return{top:y,left:E,height:p.height,width:p.width,bottom:y+p.height,right:E+p.width}}function x(d,p){for(var y=p;y;){if(y==d)return!0;y=m(y)}return!1}function m(d){var p=d.parentNode;return d.nodeType==9&&d!=t?e(d):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function g(d){return d&&d.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c}()),Ko}ou();function su(e,t){var r={},n=r.callback,o=ll(r,["callback"]),c=_o(P.useState(),2),s=c[0],l=c[1],a=_o(P.useState(),2),u=a[0],f=a[1];return cl(function(){var h=Array.isArray(e)?e:[e],v=h.map(function(S){return Mo(S)}).filter(Boolean);if(v.length){var w=new IntersectionObserver(function(S){var j,x;try{for(var m=ul(S),g=m.next();!g.done;g=m.next()){var d=g.value;f(d.intersectionRatio),l(d.isIntersecting),n?.(d)}}catch(p){j={error:p}}finally{try{g&&!g.done&&(x=m.return)&&x.call(m)}finally{if(j)throw j.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return v.forEach(function(S){return w.observe(S)}),function(){w.disconnect()}}},[void 0,void 0,n],e),[s,u]}const iu=ur(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),au=ur(i.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=ur([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),lu=ur(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),cu=ur(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Pi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),P.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ri=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.25 2.7087C1.25 2.24826 1.62326 1.875 2.0837 1.875H14.339C14.7995 1.875 15.1727 2.24826 15.1727 2.7087V9.31574C15.1727 9.77618 14.7995 10.1494 14.339 10.1494C13.8786 10.1494 13.5053 9.77618 13.5053 9.31574V3.54239H2.91739V16.7565H6.53772H8.34788H9.32435C9.78479 16.7565 10.158 17.1297 10.158 17.5902C10.158 18.0506 9.78479 18.4239 9.32435 18.4239H8.34788H2.0837C1.62326 18.4239 1.25 18.0506 1.25 17.5902V2.7087Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21129 7.91935C7.70481 7.91935 7.29422 8.32993 7.29422 8.83641C7.29422 9.34289 7.70481 9.75348 8.21129 9.75348C8.71777 9.75348 9.12836 9.34289 9.12836 8.83641C9.12836 8.32993 8.71777 7.91935 8.21129 7.91935ZM5.62683 8.83641C5.62683 7.40905 6.78393 6.25195 8.21129 6.25195C9.63865 6.25195 10.7957 7.40905 10.7957 8.83641C10.7957 10.2638 9.63865 11.4209 8.21129 11.4209C6.78393 11.4209 5.62683 10.2638 5.62683 8.83641Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62683 13.2133C5.62683 12.7529 6.00009 12.3796 6.46053 12.3796H9.96205C10.4225 12.3796 10.7957 12.7529 10.7957 13.2133C10.7957 13.6737 10.4225 14.047 9.96205 14.047H6.46053C6.00009 14.047 5.62683 13.6737 5.62683 13.2133Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6406 11.3125C15.8547 11.3125 16.0503 11.434 16.145 11.626L17.1779 13.7184L19.4876 14.056C19.6994 14.087 19.8753 14.2355 19.9413 14.4391C20.0074 14.6427 19.9521 14.8662 19.7987 15.0156L18.1279 16.643L18.5222 18.9421C18.5584 19.1532 18.4716 19.3665 18.2984 19.4923C18.1252 19.6182 17.8955 19.6347 17.706 19.5351L15.6406 18.4489L13.5753 19.5351C13.3858 19.6347 13.1561 19.6182 12.9829 19.4923C12.8096 19.3665 12.7229 19.1532 12.7591 18.9421L13.1534 16.643L11.4825 15.0156C11.3292 14.8662 11.2739 14.6427 11.3399 14.4391C11.406 14.2355 11.5818 14.087 11.7937 14.056L14.1034 13.7184L15.1362 11.626C15.231 11.434 15.4265 11.3125 15.6406 11.3125ZM15.6406 13.1458L14.9815 14.4813C14.8996 14.6471 14.7414 14.7621 14.5584 14.7889L13.0835 15.0044L14.1503 16.0435C14.283 16.1727 14.3435 16.359 14.3122 16.5416L14.0606 18.0088L15.3788 17.3155C15.5427 17.2293 15.7386 17.2293 15.9025 17.3155L17.2207 18.0088L16.969 16.5416C16.9377 16.359 16.9983 16.1727 17.131 16.0435L18.1978 15.0044L16.7229 14.7889C16.5399 14.7621 16.3817 14.6471 16.2998 14.4813L15.6406 13.1458Z"})),Di=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),uu=e=>P.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("g",{clipPath:"url(#clip0)"},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99997 1.59778C8.19071 1.59778 7.39961 1.83775 6.72673 2.28736C6.05385 2.73697 5.5294 3.37601 5.21971 4.12367C4.91001 4.87134 4.82898 5.69405 4.98686 6.48777C5.14474 7.28149 5.53444 8.01056 6.10668 8.5828C6.67892 9.15504 7.408 9.54474 8.20172 9.70262C8.99544 9.8605 9.81815 9.77947 10.5658 9.46978C11.3135 9.16009 11.9525 8.63564 12.4021 7.96276C12.8517 7.28987 13.0917 6.49878 13.0917 5.68951C13.0917 4.60432 12.6606 3.56357 11.8933 2.79622C11.1259 2.02887 10.0852 1.59778 8.99997 1.59778ZM7.27426 3.9638C7.73195 3.50611 8.35271 3.24899 8.99997 3.24899C9.48266 3.24899 9.95452 3.39212 10.3559 3.66029C10.7572 3.92846 11.07 4.30962 11.2547 4.75556C11.4394 5.20151 11.4878 5.69222 11.3936 6.16563C11.2994 6.63905 11.067 7.07391 10.7257 7.41522C10.3844 7.75654 9.94951 7.98897 9.4761 8.08314C9.00268 8.17731 8.51197 8.12898 8.06603 7.94426C7.62008 7.75954 7.23892 7.44674 6.97075 7.04539C6.70258 6.64405 6.55945 6.1722 6.55945 5.68951C6.55945 5.04224 6.81658 4.42149 7.27426 3.9638ZM7.36691 10.3075C6.28172 10.3075 5.24097 10.7385 4.47362 11.5059C3.70627 12.2732 3.27518 13.314 3.27518 14.3992V17.121C3.27518 17.2763 3.4011 17.4022 3.55643 17.4022H4.64514C4.80047 17.4022 4.92639 17.2763 4.92639 17.121V14.3992C4.92639 13.7519 5.18351 13.1312 5.6412 12.6735C6.09889 12.2158 6.71964 11.9587 7.36691 11.9587H10.633C10.9535 11.9587 11.2709 12.0218 11.567 12.1444C11.8631 12.2671 12.1321 12.4469 12.3588 12.6735C12.5854 12.9001 12.7651 13.1691 12.8878 13.4652C13.0104 13.7613 13.0736 14.0787 13.0736 14.3992V17.121C13.0736 17.2763 13.1995 17.4022 13.3548 17.4022H14.4435C14.5989 17.4022 14.7248 17.2763 14.7248 17.121V14.3992C14.7248 13.314 14.2937 12.2732 13.5263 11.5059C12.759 10.7385 11.7182 10.3075 10.633 10.3075H7.36691Z"})),P.createElement("defs",null,P.createElement("clipPath",{id:"clip0"},P.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Oi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10C3.25 6.27208 6.27208 3.25 10 3.25C13.7279 3.25 16.75 6.27208 16.75 10C16.75 13.7279 13.7279 16.75 10 16.75C6.27208 16.75 3.25 13.7279 3.25 10ZM10 1.75C5.44365 1.75 1.75 5.44365 1.75 10C1.75 14.5564 5.44365 18.25 10 18.25C14.5563 18.25 18.25 14.5564 18.25 10C18.25 5.44365 14.5563 1.75 10 1.75ZM8.03033 6.96967C7.73744 6.67678 7.26256 6.67678 6.96967 6.96967C6.67678 7.26256 6.67678 7.73744 6.96967 8.03033L11.9697 13.0303C12.2626 13.3232 12.7374 13.3232 13.0303 13.0303C13.3232 12.7374 13.3232 12.2626 13.0303 11.9697L8.03033 6.96967Z"}));var Zr={},Xr,Yo;function fu(){return Yo||(Yo=1,Xr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xr}var Qr,Go;function du(){if(Go)return Qr;Go=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var v=f[h];s=s.replace(new RegExp(v,"g"),l[v])}return s}return Qr=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},Qr}var Jr,Zo;function pu(){return Zo||(Zo=1,Jr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Jr}var en,Xo;function mu(){return Xo||(Xo=1,en=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),en}var Qo;function hu(){return Qo||(Qo=1,function(e){const t=fu(),r=du(),n=pu(),o=mu(),c=m=>m==null;function s(m){switch(m.arrayFormat){case"index":return g=>(d,p)=>{const y=d.length;return p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[",y,"]"].join("")]:[...d,[u(g,m),"[",u(y,m),"]=",u(p,m)].join("")]};case"bracket":return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[]"].join("")]:[...d,[u(g,m),"[]=",u(p,m)].join("")];case"comma":case"separator":return g=>(d,p)=>p==null||p.length===0?d:d.length===0?[[u(g,m),"=",u(p,m)].join("")]:[[d,u(p,m)].join(m.arrayFormatSeparator)];default:return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,u(g,m)]:[...d,[u(g,m),"=",u(p,m)].join("")]}}function l(m){let g;switch(m.arrayFormat){case"index":return(d,p,y)=>{if(g=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),!g){y[d]=p;return}y[d]===void 0&&(y[d]={}),y[d][g[1]]=p};case"bracket":return(d,p,y)=>{if(g=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),!g){y[d]=p;return}if(y[d]===void 0){y[d]=[p];return}y[d]=[].concat(y[d],p)};case"comma":case"separator":return(d,p,y)=>{const E=typeof p=="string"&&p.includes(m.arrayFormatSeparator),C=typeof p=="string"&&!E&&f(p,m).includes(m.arrayFormatSeparator);p=C?f(p,m):p;const T=E||C?p.split(m.arrayFormatSeparator).map(I=>f(I,m)):p===null?p:f(p,m);y[d]=T};default:return(d,p,y)=>{if(y[d]===void 0){y[d]=p;return}y[d]=[].concat(y[d],p)}}}function a(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(m,g){return g.encode?g.strict?t(m):encodeURIComponent(m):m}function f(m,g){return g.decode?r(m):m}function h(m){return Array.isArray(m)?m.sort():typeof m=="object"?h(Object.keys(m)).sort((g,d)=>Number(g)-Number(d)).map(g=>m[g]):m}function v(m){const g=m.indexOf("#");return g!==-1&&(m=m.slice(0,g)),m}function w(m){let g="";const d=m.indexOf("#");return d!==-1&&(g=m.slice(d)),g}function S(m){m=v(m);const g=m.indexOf("?");return g===-1?"":m.slice(g+1)}function j(m,g){return g.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):g.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function x(m,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const d=l(g),p=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return p;for(const y of m.split("&")){if(y==="")continue;let[E,C]=n(g.decode?y.replace(/\+/g," "):y,"=");C=C===void 0?null:["comma","separator"].includes(g.arrayFormat)?C:f(C,g),d(f(E,g),C,p)}for(const y of Object.keys(p)){const E=p[y];if(typeof E=="object"&&E!==null)for(const C of Object.keys(E))E[C]=j(E[C],g);else p[y]=j(E,g)}return g.sort===!1?p:(g.sort===!0?Object.keys(p).sort():Object.keys(p).sort(g.sort)).reduce((y,E)=>{const C=p[E];return C&&typeof C=="object"&&!Array.isArray(C)?y[E]=h(C):y[E]=C,y},Object.create(null))}e.extract=S,e.parse=x,e.stringify=(m,g)=>{if(!m)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const d=C=>g.skipNull&&c(m[C])||g.skipEmptyString&&m[C]==="",p=s(g),y={};for(const C of Object.keys(m))d(C)||(y[C]=m[C]);const E=Object.keys(y);return g.sort!==!1&&E.sort(g.sort),E.map(C=>{const T=m[C];return T===void 0?"":T===null?u(C,g):Array.isArray(T)?T.reduce(p(C),[]).join("&"):u(C,g)+"="+u(T,g)}).filter(C=>C.length>0).join("&")},e.parseUrl=(m,g)=>{g=Object.assign({decode:!0},g);const[d,p]=n(m,"#");return Object.assign({url:d.split("?")[0]||"",query:x(S(m),g)},g&&g.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,g)}:{})},e.stringifyUrl=(m,g)=>{g=Object.assign({encode:!0,strict:!0},g);const d=v(m.url).split("?")[0]||"",p=e.extract(m.url),y=e.parse(p,{sort:!1}),E=Object.assign(y,m.query);let C=e.stringify(E,g);C&&(C=`?${C}`);let T=w(m.url);return m.fragmentIdentifier&&(T=`#${u(m.fragmentIdentifier,g)}`),`${d}${C}${T}`},e.pick=(m,g,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:p,query:y,fragmentIdentifier:E}=e.parseUrl(m,d);return e.stringifyUrl({url:p,query:o(y,g),fragmentIdentifier:E},d)},e.exclude=(m,g,d)=>{const p=Array.isArray(g)?y=>!g.includes(y):(y,E)=>!g(y,E);return e.pick(m,p,d)}}(Zr)),Zr}var tn=hu();const Xt=fl,gu={parseNumbers:!1,parseBooleans:!1},bu={skipNull:!1,skipEmptyString:!1},yu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},gu),c),a=Object.assign(Object.assign({},bu),s),u=Xt.useLocation(),f=(r=Xt.useHistory)===null||r===void 0?void 0:r.call(Xt),h=(n=Xt.useNavigate)===null||n===void 0?void 0:n.call(Xt),v=dl(),w=P.useRef(typeof e=="function"?e():e||{}),S=P.useMemo(()=>tn.parse(u.search,l),[u.search]),j=P.useMemo(()=>Object.assign(Object.assign({},w.current),S),[S]);return[j,Tt(m=>{const g=typeof m=="function"?m(j):m;v(),f&&f[o]({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},u.state),h&&h({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var jt={},Qt={},rn={exports:{}},nn={},Jo;function Ai(){if(Jo)return nn;Jo=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},e(g)}function t(g,d,p){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,d){if(!(g instanceof d))throw new TypeError("Cannot call a class as a function")}function n(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(d&&d.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),d&&o(g,d)}function o(g,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,E){return y.__proto__=E,y},o(g,d)}function c(g){var d=a();return function(){var y=u(g),E;if(d){var C=u(this).constructor;E=Reflect.construct(y,arguments,C)}else E=y.apply(this,arguments);return s(this,E)}}function s(g,d){if(d&&(e(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(g)}var f={},h,v;function w(g,d,p){p||(p=Error);function y(C,T,I){return typeof d=="string"?d:d(C,T,I)}var E=function(C){n(I,C);var T=c(I);function I(D,N,B){var W;return r(this,I),W=T.call(this,y(D,N,B)),W.code=g,W}return t(I)}(p);f[g]=E}function S(g,d){if(Array.isArray(g)){var p=g.length;return g=g.map(function(y){return String(y)}),p>2?"one of ".concat(d," ").concat(g.slice(0,p-1).join(", "),", or ")+g[p-1]:p===2?"one of ".concat(d," ").concat(g[0]," or ").concat(g[1]):"of ".concat(d," ").concat(g[0])}else return"of ".concat(d," ").concat(String(g))}function j(g,d,p){return g.substr(0,d.length)===d}function x(g,d,p){return(p===void 0||p>g.length)&&(p=g.length),g.substring(p-d.length,p)===d}function m(g,d,p){return typeof p!="number"&&(p=0),p+d.length>g.length?!1:g.indexOf(d,p)!==-1}return w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(g,d,p){h===void 0&&(h=Kn()),h(typeof g=="string","'name' must be a string");var y;typeof d=="string"&&j(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var E;if(x(g," argument"))E="The ".concat(g," ").concat(y," ").concat(S(d,"type"));else{var C=m(g,".")?"property":"argument";E='The "'.concat(g,'" ').concat(C," ").concat(y," ").concat(S(d,"type"))}return E+=". Received type ".concat(e(p)),E},TypeError),w("ERR_INVALID_ARG_VALUE",function(g,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=or());var y=v.inspect(d);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(p,". Received ").concat(y)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(g,d,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(g,' to be returned from the "').concat(d,'"')+" function but got ".concat(y,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var g=arguments.length,d=new Array(g),p=0;p<g;p++)d[p]=arguments[p];h===void 0&&(h=Kn()),h(d.length>0,"At least one arg needs to be specified");var y="The ",E=d.length;switch(d=d.map(function(C){return'"'.concat(C,'"')}),E){case 1:y+="".concat(d[0]," argument");break;case 2:y+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:y+=d.slice(0,E-1).join(", "),y+=", and ".concat(d[E-1]," arguments");break}return"".concat(y," must be specified")},TypeError),nn.codes=f,nn}var on,es;function xu(){if(es)return on;es=1;function e(_,F){var G=Object.keys(_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(_);F&&(H=H.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),G.push.apply(G,H)}return G}function t(_){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?e(Object(G),!0).forEach(function(H){r(_,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(H){Object.defineProperty(_,H,Object.getOwnPropertyDescriptor(G,H))})}return _}function r(_,F,G){return F=s(F),F in _?Object.defineProperty(_,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):_[F]=G,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(_,s(H.key),H)}}function c(_,F,G){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var G=_[Symbol.toPrimitive];if(G!==void 0){var H=G.call(_,F);if(g(H)!=="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&x(_,F)}function u(_){var F=S();return function(){var H=m(_),Q;if(F){var A=m(this).constructor;Q=Reflect.construct(H,arguments,A)}else Q=H.apply(this,arguments);return f(this,Q)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function v(_){var F=typeof Map=="function"?new Map:void 0;return v=function(H){if(H===null||!j(H))return H;if(typeof H!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(H))return F.get(H);F.set(H,Q)}function Q(){return w(H,arguments,m(this).constructor)}return Q.prototype=Object.create(H.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),x(Q,H)},v(_)}function w(_,F,G){return S()?w=Reflect.construct.bind():w=function(Q,A,R){var M=[null];M.push.apply(M,A);var z=Function.bind.apply(Q,M),L=new z;return R&&x(L,R.prototype),L},w.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function x(_,F){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,Q){return H.__proto__=Q,H},x(_,F)}function m(_){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},m(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var d=or(),p=d.inspect,y=Ai(),E=y.codes.ERR_INVALID_ARG_TYPE;function C(_,F,G){return(G===void 0||G>_.length)&&(G=_.length),_.substring(G-F.length,G)===F}function T(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var G=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,G-_.length),_}var I="",D="",N="",B="",W={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},ne=10;function te(_){var F=Object.keys(_),G=Object.create(Object.getPrototypeOf(_));return F.forEach(function(H){G[H]=_[H]}),Object.defineProperty(G,"message",{value:_.message}),G}function ge(_){return p(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ce(_,F,G){var H="",Q="",A=0,R="",M=!1,z=ge(_),L=z.split(`
|
|
1
|
+
import{r as P,fK as ll,c4 as _o,fL as cl,fu as Mo,fM as ul,cV as Lo,aF as ur,j as i,fN as fl,fO as dl,cv as Tt,fP as or,ez as Je,fQ as Qs,fR as pl,fS as ml,fT as hl,fU as gl,fV as bl,fW as Js,fX as yl,fY as to,fZ as xl,f_ as vl,f$ as wl,g0 as Cl,eA as ro,g1 as ei,eB as Sl,cI as qn,eC as jl,dE as El,g2 as Tl,g3 as Il,V as Ie,bn as Be,aP as ut,g4 as ti,H as Me,X as Ue,o as b,f as no,eO as ri,f5 as ni,n as xt,K as U,bX as kl,dL as Pl,by as Rl,au as ft,g5 as oi,S as jr,bk as Er,g6 as si,a_ as Dl,$ as et,t as lt,b1 as Ol,dI as qe,aU as Nt,E as oo,ff as Al,g7 as _l,g8 as Ml,g9 as Ll,D as Lr,T as Pe,bg as so,a3 as rr,ga as Nl,U as Et,b_ as Vt,b$ as zt,cj as ii,dO as rt,e_ as ce,c1 as Fl,b8 as _e,dd as Tr,d7 as ai,c2 as dt,c3 as Rt,Q as kt,dK as li,da as Bl,gb as Nr,gc as ci,bC as it,bf as Ve,O as sr,bp as Ul,P as $n,as as ui,dG as ql,gd as Ir,bs as $l,at as ir,v as ze,C as bt,ge as Vl,h as Vn,aW as zl,w as Wl,x as Kl,s as He,p as fr,ac as dr,bD as Bt,gf as Hl,dF as Yl,dm as Gl,aH as gt,ay as yt,dx as Zl,gg as Xl,eD as Ql,gh as fi,gi as kr,gj as Jl,dH as ar,b as Se,W as io,dJ as ec,cu as di,z as tc,bu as ao,bv as pi,bw as lo,dp as hr,aD as rc,fJ as mi,N as lr,aS as nc,gk as hi,aE as oc,a8 as sc,gl as ic,cZ as gi,gm as ac,bz as No,y as lc,gn as cc,bF as uc,R as fc,M as dc}from"./index-l0ejZk6e.js";import{A as Ut}from"./Add-BmZCIl-_.js";import{V as pc}from"./ViewList-DqVhCHtG.js";import{c as mc,H as co,g as hc}from"./index-BKe-qavD.js";import{v as Fo}from"./index-DWhhB9Hi.js";import{u as Ye}from"./team-DHZ07Mee.js";import{u as bi}from"./blocklet-DooKd_sI.js";import{S as yi}from"./Search-BrXfrk6s.js";import{y as Fr}from"./index-B1zRPZ23.js";import{u as gc,C as Zt}from"./index.esm-CmfVZ8uo.js";import{S as bc}from"./Google-MSCLr2Nf.js";import{A as yc,a as gr}from"./Autocomplete-kBTyvXut.js";import{U as xc}from"./UnfoldMore-RJlxkooV.js";import{P as Pt}from"./permission-CB_zs2G4.js";import{C as Br}from"./click-to-copy-BYLhYz_K.js";import{s as vt,g as vc,S as wc,u as mt,a as xi,b as pr,c as vi,d as Ur,e as wi,f as uo,P as Ci,D as Si,h as Pr,M as tr,i as ji,j as Bo,k as nr,v as Cc,l as Sc,m as Uo,n as jc,o as Ec,p as Tc,q as Ic,C as kc,r as Pc,t as Rr,w as Lt,x as Dr,y as qo,z as $o,A as Rc,T as Dc,B as fo,E as Oc,F as Ac,G as _c,H as Mc,I as Lc,J as Nc,K as Fc,L as br,N as Ft,O as Ei,Q as Bc,V as zn,R as Ti,U as Uc,W as Vo,X as qc,Y as $c,Z as Vc,_ as zc,$ as Wc,a0 as Kc}from"./AdapterDayjs-BjSFvDvr.js";import{u as nt}from"./useThemeProps-DAtqRnvX.js";import{a as zo,b as Hc,t as Yc,T as Gc}from"./html-title-x1db95S1.js";import{v as Ge}from"./index-CvM9vyEK.js";import{V as Zc}from"./Verified-l0Y44mJl.js";import{D as Xc}from"./DeleteOutline-_XfCv5J6.js";import{E as Wo}from"./ErrorOutline-DevVxMhb.js";import{N as Qc}from"./index-sHP8LVQG.js";import{R as Ii,a as Sr,D as Jc}from"./url-evaluation-DAoEPnuZ.js";import{b as Wn}from"./sdk-D_BY3a8P.js";import{u as eu}from"./index-BDfVLYgm.js";import{u as ki}from"./use-mobile-B06ZsBLv.js";import{A as tu}from"./actions-BPQhtNul.js";import{S as ru}from"./shorten-label-5tBjSQXq.js";import{U as Gr}from"./ua-parser-DP5omx3I.js";const nu=mc(P.useLayoutEffect);var Ko={},Ho;function ou(){return Ho||(Ho=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(d){try{return d.defaultView&&d.defaultView.frameElement||null}catch{return null}}var t=function(d){for(var p=d,y=e(p);y;)p=y.ownerDocument,y=e(p);return p}(window.document),r=[],n=null,o=null;function c(d){this.time=d.time,this.target=d.target,this.rootBounds=S(d.rootBounds),this.boundingClientRect=S(d.boundingClientRect),this.intersectionRect=S(d.intersectionRect||w()),this.isIntersecting=!!d.intersectionRect;var p=this.boundingClientRect,y=p.width*p.height,E=this.intersectionRect,C=E.width*E.height;y?this.intersectionRatio=Number((C/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(d,p){var y=p||{};if(typeof d!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=d,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(E){return E.value+E.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(d,p){!d||!p?o=w():o=j(d,p),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(d){var p=this._observationTargets.some(function(y){return y.element==d});if(!p){if(!(d&&d.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:d,entry:null}),this._monitorIntersections(d.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(d){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=d}),this._unmonitorIntersections(d.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var d=this._queuedEntries.slice();return this._queuedEntries=[],d},s.prototype._initThresholds=function(d){var p=d||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(y,E,C){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==C[E-1]})},s.prototype._parseRootMargin=function(d){var p=d||"0px",y=p.split(/\s+/).map(function(E){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(E);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(d){var p=d.defaultView;if(p&&this._monitoringDocuments.indexOf(d)==-1){var y=this._checkForIntersections,E=null,C=null;this.POLL_INTERVAL?E=p.setInterval(y,this.POLL_INTERVAL):(u(p,"resize",y,!0),u(d,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(C=new p.MutationObserver(y),C.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(d),this._monitoringUnsubscribes.push(function(){var D=d.defaultView;D&&(E&&D.clearInterval(E),f(D,"resize",y,!0)),f(d,"scroll",y,!0),C&&C.disconnect()});var T=this.root&&(this.root.ownerDocument||this.root)||t;if(d!=T){var I=e(d);I&&this._monitorIntersections(I.ownerDocument)}}},s.prototype._unmonitorIntersections=function(d){var p=this._monitoringDocuments.indexOf(d);if(p!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,E=this._observationTargets.some(function(I){var D=I.element.ownerDocument;if(D==d)return!0;for(;D&&D!=y;){var N=e(D);if(D=N&&N.ownerDocument,D==d)return!0}return!1});if(!E){var C=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),C(),d!=y){var T=e(d);T&&this._unmonitorIntersections(T.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var d=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<d.length;p++)d[p]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var d=this._rootIsInDom(),p=d?this._getRootRect():w();this._observationTargets.forEach(function(y){var E=y.element,C=v(E),T=this._rootContainsTarget(E),I=y.entry,D=d&&T&&this._computeTargetAndRootIntersection(E,C,p),N=null;this._rootContainsTarget(E)?(!n||this.root)&&(N=p):N=w();var B=y.entry=new c({time:l(),target:E,boundingClientRect:C,rootBounds:N,intersectionRect:D});I?d&&T?this._hasCrossedThreshold(I,B)&&this._queuedEntries.push(B):I&&I.isIntersecting&&this._queuedEntries.push(B):this._queuedEntries.push(B)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(d,p,y){if(window.getComputedStyle(d).display!="none"){for(var E=p,C=m(d),T=!1;!T&&C;){var I=null,D=C.nodeType==1?window.getComputedStyle(C):{};if(D.display=="none")return null;if(C==this.root||C.nodeType==9)if(T=!0,C==this.root||C==t)n&&!this.root?!o||o.width==0&&o.height==0?(C=null,I=null,E=null):I=o:I=y;else{var N=m(C),B=N&&v(N),W=N&&this._computeTargetAndRootIntersection(N,B,y);B&&W?(C=N,I=j(B,W)):(C=null,E=null)}else{var ne=C.ownerDocument;C!=ne.body&&C!=ne.documentElement&&D.overflow!="visible"&&(I=v(C))}if(I&&(E=h(I,E)),!E)break;C=C&&m(C)}return E}},s.prototype._getRootRect=function(){var d;if(this.root&&!g(this.root))d=v(this.root);else{var p=g(this.root)?this.root:t,y=p.documentElement,E=p.body;d={top:0,left:0,right:y.clientWidth||E.clientWidth,width:y.clientWidth||E.clientWidth,bottom:y.clientHeight||E.clientHeight,height:y.clientHeight||E.clientHeight}}return this._expandRectByRootMargin(d)},s.prototype._expandRectByRootMargin=function(d){var p=this._rootMarginValues.map(function(E,C){return E.unit=="px"?E.value:E.value*(C%2?d.width:d.height)/100}),y={top:d.top-p[0],right:d.right+p[1],bottom:d.bottom+p[2],left:d.left-p[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(d,p){var y=d&&d.isIntersecting?d.intersectionRatio||0:-1,E=p.isIntersecting?p.intersectionRatio||0:-1;if(y!==E)for(var C=0;C<this.thresholds.length;C++){var T=this.thresholds[C];if(T==y||T==E||T<y!=T<E)return!0}},s.prototype._rootIsInDom=function(){return!this.root||x(t,this.root)},s.prototype._rootContainsTarget=function(d){var p=this.root&&(this.root.ownerDocument||this.root)||t;return x(p,d)&&(!this.root||p==d.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var d=r.indexOf(this);d!=-1&&r.splice(d,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(d,p){var y=null;return function(){y||(y=setTimeout(function(){d(),y=null},p))}}function u(d,p,y,E){typeof d.addEventListener=="function"?d.addEventListener(p,y,E):typeof d.attachEvent=="function"&&d.attachEvent("on"+p,y)}function f(d,p,y,E){typeof d.removeEventListener=="function"?d.removeEventListener(p,y,E):typeof d.detachEvent=="function"&&d.detachEvent("on"+p,y)}function h(d,p){var y=Math.max(d.top,p.top),E=Math.min(d.bottom,p.bottom),C=Math.max(d.left,p.left),T=Math.min(d.right,p.right),I=T-C,D=E-y;return I>=0&&D>=0&&{top:y,bottom:E,left:C,right:T,width:I,height:D}||null}function v(d){var p;try{p=d.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):w()}function w(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function S(d){return!d||"x"in d?d:{top:d.top,y:d.top,bottom:d.bottom,left:d.left,x:d.left,right:d.right,width:d.width,height:d.height}}function j(d,p){var y=p.top-d.top,E=p.left-d.left;return{top:y,left:E,height:p.height,width:p.width,bottom:y+p.height,right:E+p.width}}function x(d,p){for(var y=p;y;){if(y==d)return!0;y=m(y)}return!1}function m(d){var p=d.parentNode;return d.nodeType==9&&d!=t?e(d):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function g(d){return d&&d.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c}()),Ko}ou();function su(e,t){var r={},n=r.callback,o=ll(r,["callback"]),c=_o(P.useState(),2),s=c[0],l=c[1],a=_o(P.useState(),2),u=a[0],f=a[1];return cl(function(){var h=Array.isArray(e)?e:[e],v=h.map(function(S){return Mo(S)}).filter(Boolean);if(v.length){var w=new IntersectionObserver(function(S){var j,x;try{for(var m=ul(S),g=m.next();!g.done;g=m.next()){var d=g.value;f(d.intersectionRatio),l(d.isIntersecting),n?.(d)}}catch(p){j={error:p}}finally{try{g&&!g.done&&(x=m.return)&&x.call(m)}finally{if(j)throw j.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return v.forEach(function(S){return w.observe(S)}),function(){w.disconnect()}}},[void 0,void 0,n],e),[s,u]}const iu=ur(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),au=ur(i.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=ur([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),lu=ur(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),cu=ur(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Pi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),P.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ri=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.25 2.7087C1.25 2.24826 1.62326 1.875 2.0837 1.875H14.339C14.7995 1.875 15.1727 2.24826 15.1727 2.7087V9.31574C15.1727 9.77618 14.7995 10.1494 14.339 10.1494C13.8786 10.1494 13.5053 9.77618 13.5053 9.31574V3.54239H2.91739V16.7565H6.53772H8.34788H9.32435C9.78479 16.7565 10.158 17.1297 10.158 17.5902C10.158 18.0506 9.78479 18.4239 9.32435 18.4239H8.34788H2.0837C1.62326 18.4239 1.25 18.0506 1.25 17.5902V2.7087Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21129 7.91935C7.70481 7.91935 7.29422 8.32993 7.29422 8.83641C7.29422 9.34289 7.70481 9.75348 8.21129 9.75348C8.71777 9.75348 9.12836 9.34289 9.12836 8.83641C9.12836 8.32993 8.71777 7.91935 8.21129 7.91935ZM5.62683 8.83641C5.62683 7.40905 6.78393 6.25195 8.21129 6.25195C9.63865 6.25195 10.7957 7.40905 10.7957 8.83641C10.7957 10.2638 9.63865 11.4209 8.21129 11.4209C6.78393 11.4209 5.62683 10.2638 5.62683 8.83641Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62683 13.2133C5.62683 12.7529 6.00009 12.3796 6.46053 12.3796H9.96205C10.4225 12.3796 10.7957 12.7529 10.7957 13.2133C10.7957 13.6737 10.4225 14.047 9.96205 14.047H6.46053C6.00009 14.047 5.62683 13.6737 5.62683 13.2133Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6406 11.3125C15.8547 11.3125 16.0503 11.434 16.145 11.626L17.1779 13.7184L19.4876 14.056C19.6994 14.087 19.8753 14.2355 19.9413 14.4391C20.0074 14.6427 19.9521 14.8662 19.7987 15.0156L18.1279 16.643L18.5222 18.9421C18.5584 19.1532 18.4716 19.3665 18.2984 19.4923C18.1252 19.6182 17.8955 19.6347 17.706 19.5351L15.6406 18.4489L13.5753 19.5351C13.3858 19.6347 13.1561 19.6182 12.9829 19.4923C12.8096 19.3665 12.7229 19.1532 12.7591 18.9421L13.1534 16.643L11.4825 15.0156C11.3292 14.8662 11.2739 14.6427 11.3399 14.4391C11.406 14.2355 11.5818 14.087 11.7937 14.056L14.1034 13.7184L15.1362 11.626C15.231 11.434 15.4265 11.3125 15.6406 11.3125ZM15.6406 13.1458L14.9815 14.4813C14.8996 14.6471 14.7414 14.7621 14.5584 14.7889L13.0835 15.0044L14.1503 16.0435C14.283 16.1727 14.3435 16.359 14.3122 16.5416L14.0606 18.0088L15.3788 17.3155C15.5427 17.2293 15.7386 17.2293 15.9025 17.3155L17.2207 18.0088L16.969 16.5416C16.9377 16.359 16.9983 16.1727 17.131 16.0435L18.1978 15.0044L16.7229 14.7889C16.5399 14.7621 16.3817 14.6471 16.2998 14.4813L15.6406 13.1458Z"})),Di=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),uu=e=>P.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("g",{clipPath:"url(#clip0)"},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99997 1.59778C8.19071 1.59778 7.39961 1.83775 6.72673 2.28736C6.05385 2.73697 5.5294 3.37601 5.21971 4.12367C4.91001 4.87134 4.82898 5.69405 4.98686 6.48777C5.14474 7.28149 5.53444 8.01056 6.10668 8.5828C6.67892 9.15504 7.408 9.54474 8.20172 9.70262C8.99544 9.8605 9.81815 9.77947 10.5658 9.46978C11.3135 9.16009 11.9525 8.63564 12.4021 7.96276C12.8517 7.28987 13.0917 6.49878 13.0917 5.68951C13.0917 4.60432 12.6606 3.56357 11.8933 2.79622C11.1259 2.02887 10.0852 1.59778 8.99997 1.59778ZM7.27426 3.9638C7.73195 3.50611 8.35271 3.24899 8.99997 3.24899C9.48266 3.24899 9.95452 3.39212 10.3559 3.66029C10.7572 3.92846 11.07 4.30962 11.2547 4.75556C11.4394 5.20151 11.4878 5.69222 11.3936 6.16563C11.2994 6.63905 11.067 7.07391 10.7257 7.41522C10.3844 7.75654 9.94951 7.98897 9.4761 8.08314C9.00268 8.17731 8.51197 8.12898 8.06603 7.94426C7.62008 7.75954 7.23892 7.44674 6.97075 7.04539C6.70258 6.64405 6.55945 6.1722 6.55945 5.68951C6.55945 5.04224 6.81658 4.42149 7.27426 3.9638ZM7.36691 10.3075C6.28172 10.3075 5.24097 10.7385 4.47362 11.5059C3.70627 12.2732 3.27518 13.314 3.27518 14.3992V17.121C3.27518 17.2763 3.4011 17.4022 3.55643 17.4022H4.64514C4.80047 17.4022 4.92639 17.2763 4.92639 17.121V14.3992C4.92639 13.7519 5.18351 13.1312 5.6412 12.6735C6.09889 12.2158 6.71964 11.9587 7.36691 11.9587H10.633C10.9535 11.9587 11.2709 12.0218 11.567 12.1444C11.8631 12.2671 12.1321 12.4469 12.3588 12.6735C12.5854 12.9001 12.7651 13.1691 12.8878 13.4652C13.0104 13.7613 13.0736 14.0787 13.0736 14.3992V17.121C13.0736 17.2763 13.1995 17.4022 13.3548 17.4022H14.4435C14.5989 17.4022 14.7248 17.2763 14.7248 17.121V14.3992C14.7248 13.314 14.2937 12.2732 13.5263 11.5059C12.759 10.7385 11.7182 10.3075 10.633 10.3075H7.36691Z"})),P.createElement("defs",null,P.createElement("clipPath",{id:"clip0"},P.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Oi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10C3.25 6.27208 6.27208 3.25 10 3.25C13.7279 3.25 16.75 6.27208 16.75 10C16.75 13.7279 13.7279 16.75 10 16.75C6.27208 16.75 3.25 13.7279 3.25 10ZM10 1.75C5.44365 1.75 1.75 5.44365 1.75 10C1.75 14.5564 5.44365 18.25 10 18.25C14.5563 18.25 18.25 14.5564 18.25 10C18.25 5.44365 14.5563 1.75 10 1.75ZM8.03033 6.96967C7.73744 6.67678 7.26256 6.67678 6.96967 6.96967C6.67678 7.26256 6.67678 7.73744 6.96967 8.03033L11.9697 13.0303C12.2626 13.3232 12.7374 13.3232 13.0303 13.0303C13.3232 12.7374 13.3232 12.2626 13.0303 11.9697L8.03033 6.96967Z"}));var Zr={},Xr,Yo;function fu(){return Yo||(Yo=1,Xr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xr}var Qr,Go;function du(){if(Go)return Qr;Go=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var v=f[h];s=s.replace(new RegExp(v,"g"),l[v])}return s}return Qr=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},Qr}var Jr,Zo;function pu(){return Zo||(Zo=1,Jr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Jr}var en,Xo;function mu(){return Xo||(Xo=1,en=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),en}var Qo;function hu(){return Qo||(Qo=1,function(e){const t=fu(),r=du(),n=pu(),o=mu(),c=m=>m==null;function s(m){switch(m.arrayFormat){case"index":return g=>(d,p)=>{const y=d.length;return p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[",y,"]"].join("")]:[...d,[u(g,m),"[",u(y,m),"]=",u(p,m)].join("")]};case"bracket":return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[]"].join("")]:[...d,[u(g,m),"[]=",u(p,m)].join("")];case"comma":case"separator":return g=>(d,p)=>p==null||p.length===0?d:d.length===0?[[u(g,m),"=",u(p,m)].join("")]:[[d,u(p,m)].join(m.arrayFormatSeparator)];default:return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,u(g,m)]:[...d,[u(g,m),"=",u(p,m)].join("")]}}function l(m){let g;switch(m.arrayFormat){case"index":return(d,p,y)=>{if(g=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),!g){y[d]=p;return}y[d]===void 0&&(y[d]={}),y[d][g[1]]=p};case"bracket":return(d,p,y)=>{if(g=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),!g){y[d]=p;return}if(y[d]===void 0){y[d]=[p];return}y[d]=[].concat(y[d],p)};case"comma":case"separator":return(d,p,y)=>{const E=typeof p=="string"&&p.includes(m.arrayFormatSeparator),C=typeof p=="string"&&!E&&f(p,m).includes(m.arrayFormatSeparator);p=C?f(p,m):p;const T=E||C?p.split(m.arrayFormatSeparator).map(I=>f(I,m)):p===null?p:f(p,m);y[d]=T};default:return(d,p,y)=>{if(y[d]===void 0){y[d]=p;return}y[d]=[].concat(y[d],p)}}}function a(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(m,g){return g.encode?g.strict?t(m):encodeURIComponent(m):m}function f(m,g){return g.decode?r(m):m}function h(m){return Array.isArray(m)?m.sort():typeof m=="object"?h(Object.keys(m)).sort((g,d)=>Number(g)-Number(d)).map(g=>m[g]):m}function v(m){const g=m.indexOf("#");return g!==-1&&(m=m.slice(0,g)),m}function w(m){let g="";const d=m.indexOf("#");return d!==-1&&(g=m.slice(d)),g}function S(m){m=v(m);const g=m.indexOf("?");return g===-1?"":m.slice(g+1)}function j(m,g){return g.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):g.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function x(m,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const d=l(g),p=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return p;for(const y of m.split("&")){if(y==="")continue;let[E,C]=n(g.decode?y.replace(/\+/g," "):y,"=");C=C===void 0?null:["comma","separator"].includes(g.arrayFormat)?C:f(C,g),d(f(E,g),C,p)}for(const y of Object.keys(p)){const E=p[y];if(typeof E=="object"&&E!==null)for(const C of Object.keys(E))E[C]=j(E[C],g);else p[y]=j(E,g)}return g.sort===!1?p:(g.sort===!0?Object.keys(p).sort():Object.keys(p).sort(g.sort)).reduce((y,E)=>{const C=p[E];return C&&typeof C=="object"&&!Array.isArray(C)?y[E]=h(C):y[E]=C,y},Object.create(null))}e.extract=S,e.parse=x,e.stringify=(m,g)=>{if(!m)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const d=C=>g.skipNull&&c(m[C])||g.skipEmptyString&&m[C]==="",p=s(g),y={};for(const C of Object.keys(m))d(C)||(y[C]=m[C]);const E=Object.keys(y);return g.sort!==!1&&E.sort(g.sort),E.map(C=>{const T=m[C];return T===void 0?"":T===null?u(C,g):Array.isArray(T)?T.reduce(p(C),[]).join("&"):u(C,g)+"="+u(T,g)}).filter(C=>C.length>0).join("&")},e.parseUrl=(m,g)=>{g=Object.assign({decode:!0},g);const[d,p]=n(m,"#");return Object.assign({url:d.split("?")[0]||"",query:x(S(m),g)},g&&g.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,g)}:{})},e.stringifyUrl=(m,g)=>{g=Object.assign({encode:!0,strict:!0},g);const d=v(m.url).split("?")[0]||"",p=e.extract(m.url),y=e.parse(p,{sort:!1}),E=Object.assign(y,m.query);let C=e.stringify(E,g);C&&(C=`?${C}`);let T=w(m.url);return m.fragmentIdentifier&&(T=`#${u(m.fragmentIdentifier,g)}`),`${d}${C}${T}`},e.pick=(m,g,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:p,query:y,fragmentIdentifier:E}=e.parseUrl(m,d);return e.stringifyUrl({url:p,query:o(y,g),fragmentIdentifier:E},d)},e.exclude=(m,g,d)=>{const p=Array.isArray(g)?y=>!g.includes(y):(y,E)=>!g(y,E);return e.pick(m,p,d)}}(Zr)),Zr}var tn=hu();const Xt=fl,gu={parseNumbers:!1,parseBooleans:!1},bu={skipNull:!1,skipEmptyString:!1},yu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},gu),c),a=Object.assign(Object.assign({},bu),s),u=Xt.useLocation(),f=(r=Xt.useHistory)===null||r===void 0?void 0:r.call(Xt),h=(n=Xt.useNavigate)===null||n===void 0?void 0:n.call(Xt),v=dl(),w=P.useRef(typeof e=="function"?e():e||{}),S=P.useMemo(()=>tn.parse(u.search,l),[u.search]),j=P.useMemo(()=>Object.assign(Object.assign({},w.current),S),[S]);return[j,Tt(m=>{const g=typeof m=="function"?m(j):m;v(),f&&f[o]({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},u.state),h&&h({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var jt={},Qt={},rn={exports:{}},nn={},Jo;function Ai(){if(Jo)return nn;Jo=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},e(g)}function t(g,d,p){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,d){if(!(g instanceof d))throw new TypeError("Cannot call a class as a function")}function n(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(d&&d.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),d&&o(g,d)}function o(g,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,E){return y.__proto__=E,y},o(g,d)}function c(g){var d=a();return function(){var y=u(g),E;if(d){var C=u(this).constructor;E=Reflect.construct(y,arguments,C)}else E=y.apply(this,arguments);return s(this,E)}}function s(g,d){if(d&&(e(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(g)}var f={},h,v;function w(g,d,p){p||(p=Error);function y(C,T,I){return typeof d=="string"?d:d(C,T,I)}var E=function(C){n(I,C);var T=c(I);function I(D,N,B){var W;return r(this,I),W=T.call(this,y(D,N,B)),W.code=g,W}return t(I)}(p);f[g]=E}function S(g,d){if(Array.isArray(g)){var p=g.length;return g=g.map(function(y){return String(y)}),p>2?"one of ".concat(d," ").concat(g.slice(0,p-1).join(", "),", or ")+g[p-1]:p===2?"one of ".concat(d," ").concat(g[0]," or ").concat(g[1]):"of ".concat(d," ").concat(g[0])}else return"of ".concat(d," ").concat(String(g))}function j(g,d,p){return g.substr(0,d.length)===d}function x(g,d,p){return(p===void 0||p>g.length)&&(p=g.length),g.substring(p-d.length,p)===d}function m(g,d,p){return typeof p!="number"&&(p=0),p+d.length>g.length?!1:g.indexOf(d,p)!==-1}return w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(g,d,p){h===void 0&&(h=Kn()),h(typeof g=="string","'name' must be a string");var y;typeof d=="string"&&j(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var E;if(x(g," argument"))E="The ".concat(g," ").concat(y," ").concat(S(d,"type"));else{var C=m(g,".")?"property":"argument";E='The "'.concat(g,'" ').concat(C," ").concat(y," ").concat(S(d,"type"))}return E+=". Received type ".concat(e(p)),E},TypeError),w("ERR_INVALID_ARG_VALUE",function(g,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=or());var y=v.inspect(d);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(p,". Received ").concat(y)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(g,d,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(g,' to be returned from the "').concat(d,'"')+" function but got ".concat(y,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var g=arguments.length,d=new Array(g),p=0;p<g;p++)d[p]=arguments[p];h===void 0&&(h=Kn()),h(d.length>0,"At least one arg needs to be specified");var y="The ",E=d.length;switch(d=d.map(function(C){return'"'.concat(C,'"')}),E){case 1:y+="".concat(d[0]," argument");break;case 2:y+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:y+=d.slice(0,E-1).join(", "),y+=", and ".concat(d[E-1]," arguments");break}return"".concat(y," must be specified")},TypeError),nn.codes=f,nn}var on,es;function xu(){if(es)return on;es=1;function e(_,F){var G=Object.keys(_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(_);F&&(H=H.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),G.push.apply(G,H)}return G}function t(_){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?e(Object(G),!0).forEach(function(H){r(_,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(H){Object.defineProperty(_,H,Object.getOwnPropertyDescriptor(G,H))})}return _}function r(_,F,G){return F=s(F),F in _?Object.defineProperty(_,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):_[F]=G,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(_,s(H.key),H)}}function c(_,F,G){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var G=_[Symbol.toPrimitive];if(G!==void 0){var H=G.call(_,F);if(g(H)!=="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&x(_,F)}function u(_){var F=S();return function(){var H=m(_),Q;if(F){var A=m(this).constructor;Q=Reflect.construct(H,arguments,A)}else Q=H.apply(this,arguments);return f(this,Q)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function v(_){var F=typeof Map=="function"?new Map:void 0;return v=function(H){if(H===null||!j(H))return H;if(typeof H!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(H))return F.get(H);F.set(H,Q)}function Q(){return w(H,arguments,m(this).constructor)}return Q.prototype=Object.create(H.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),x(Q,H)},v(_)}function w(_,F,G){return S()?w=Reflect.construct.bind():w=function(Q,A,R){var M=[null];M.push.apply(M,A);var z=Function.bind.apply(Q,M),L=new z;return R&&x(L,R.prototype),L},w.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function x(_,F){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,Q){return H.__proto__=Q,H},x(_,F)}function m(_){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},m(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var d=or(),p=d.inspect,y=Ai(),E=y.codes.ERR_INVALID_ARG_TYPE;function C(_,F,G){return(G===void 0||G>_.length)&&(G=_.length),_.substring(G-F.length,G)===F}function T(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var G=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,G-_.length),_}var I="",D="",N="",B="",W={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},ne=10;function te(_){var F=Object.keys(_),G=Object.create(Object.getPrototypeOf(_));return F.forEach(function(H){G[H]=_[H]}),Object.defineProperty(G,"message",{value:_.message}),G}function ge(_){return p(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ce(_,F,G){var H="",Q="",A=0,R="",M=!1,z=ge(_),L=z.split(`
|
|
2
2
|
`),q=ge(F).split(`
|
|
3
3
|
`),Z=0,oe="";if(G==="strictEqual"&&g(_)==="object"&&g(F)==="object"&&_!==null&&F!==null&&(G="strictEqualObject"),L.length===1&&q.length===1&&L[0]!==q[0]){var pe=L[0].length+q[0].length;if(pe<=ne){if((g(_)!=="object"||_===null)&&(g(F)!=="object"||F===null)&&(_!==0||F!==0))return"".concat(W[G],`
|
|
4
4
|
|