@abtnode/webapp 1.16.46-beta-20250704-234926-09d872ad → 1.16.46-beta-20250706-075512-de1b046b
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-BnxZDorn.js → AdapterDayjs-DTe0H3sA.js} +1 -1
- package/dist/assets/{Add-D3hlszsk.js → Add-BymIQBtf.js} +1 -1
- package/dist/assets/ArrowDropDown-ndgFCjTY.js +1 -0
- package/dist/assets/{Autocomplete-BeDEbxRe.js → Autocomplete-CcAxh0ub.js} +1 -1
- package/dist/assets/{Breadcrumbs-Clb9ZWfx.js → Breadcrumbs-CSaJ00xP.js} +1 -1
- package/dist/assets/{ButtonGroup-Cj5cw3TS.js → ButtonGroup-ChSK0wST.js} +1 -1
- package/dist/assets/{CSSTransition-DNSWKbST.js → CSSTransition-DNQ9D2zK.js} +1 -1
- package/dist/assets/{CallMerge-Cqu_5PEy.js → CallMerge-O-LHHdxA.js} +1 -1
- package/dist/assets/{CardContent-CrdoeuDN.js → CardContent-CT_RUWPw.js} +1 -1
- package/dist/assets/{ChevronLeft-D17moq_a.js → ChevronLeft-meShZeXO.js} +1 -1
- package/dist/assets/{ChevronRight-DyL89MQl.js → ChevronRight-Dbp6SWVd.js} +1 -1
- package/dist/assets/{Clear-D9uSacB1.js → Clear-p844YSwh.js} +1 -1
- package/dist/assets/{DeleteOutline-DgXOu8u_.js → DeleteOutline-CCV79tdr.js} +1 -1
- package/dist/assets/{Done-CLlj_kqE.js → Done-BqBB1uAk.js} +1 -1
- package/dist/assets/{Edit-BwjAMjgB.js → Edit-tcaHLZwO.js} +1 -1
- package/dist/assets/{ErrorOutline-WA15iMfN.js → ErrorOutline-EYQE3srx.js} +1 -1
- package/dist/assets/{FilterList-BKJZT-rd.js → FilterList-DaUCH-oq.js} +1 -1
- package/dist/assets/{Google-ByUnfkQ5.js → Google-B7s7IngH.js} +1 -1
- package/dist/assets/{HelpOutline-Dyh6htio.js → HelpOutline-NlzKf6CP.js} +1 -1
- package/dist/assets/{Launch-B1mCGG_t.js → Launch-DS5gvqhh.js} +1 -1
- package/dist/assets/{Link-S5G9Mu5F.js → Link-BCe5qQeR.js} +1 -1
- package/dist/assets/{ListItemButton-CGr8fCS3.js → ListItemButton-C_QR03A_.js} +1 -1
- package/dist/assets/{ListSubheader-ws9wlK5r.js → ListSubheader-Hh3VbYlw.js} +1 -1
- package/dist/assets/{LoadingButton-o3Oq7dlX.js → LoadingButton-D9J8aueN.js} +1 -1
- package/dist/assets/{MoreVert-EJHlZMhJ.js → MoreVert-DIGG56nA.js} +1 -1
- package/dist/assets/{OpenInNew-CrXt4z-t.js → OpenInNew-gA0mcfwY.js} +1 -1
- package/dist/assets/{Refresh-C9BMEvsW.js → Refresh-C4oW4Rhz.js} +1 -1
- package/dist/assets/{Search-D-ErXUO5.js → Search-_DW2WIA7.js} +1 -1
- package/dist/assets/{Slider-C7HEYQhJ.js → Slider-CCJ6QWNJ.js} +1 -1
- package/dist/assets/{Stepper-DXJJFrBZ.js → Stepper-DYxiNj41.js} +1 -1
- package/dist/assets/{Switch-CUUjSBWg.js → Switch-C6V5HrKP.js} +1 -1
- package/dist/assets/{TableSearch-B9KZFG9T.js → TableSearch-DTxk-XEV.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-U-XmSUHX.js → ToggleButtonGroup-BRNwPp_U.js} +1 -1
- package/dist/assets/{Verified-CNQ_caq5.js → Verified-BInuzHap.js} +1 -1
- package/dist/assets/{VerifiedUser-B1YTxFw2.js → VerifiedUser-ii-wCS7I.js} +1 -1
- package/dist/assets/{ViewList-BsQHtDlS.js → ViewList-DXpY0bh9.js} +1 -1
- package/dist/assets/{_createAggregator-DFTWYo1E.js → _createAggregator-CyTk23kS.js} +1 -1
- package/dist/assets/{actions-qfcQNc0I.js → actions-D2CRUeMK.js} +1 -1
- package/dist/assets/{actions-fRb9wHcd.js → actions-rj1WgPwO.js} +1 -1
- package/dist/assets/{agreement-C0OuPbmh.js → agreement-DSmE5Hd3.js} +1 -1
- package/dist/assets/api-Dfd-W8my.js +1 -0
- package/dist/assets/appearance-Bs5W2NNC.js +1 -0
- package/dist/assets/{audit-logs-DLTUpMDc.js → audit-logs-C2BTJuBo.js} +1 -1
- package/dist/assets/{base-chart-DRRDVv7f.js → base-chart-Co4CMrhA.js} +1 -1
- package/dist/assets/{blocklet-DfVATcWI.js → blocklet-BFZSXHzf.js} +1 -1
- package/dist/assets/{chain-CtguDGrG.js → chain-CRTvHqpE.js} +1 -1
- package/dist/assets/{click-to-copy-DOPOnrYk.js → click-to-copy-Ej5vUTZR.js} +1 -1
- package/dist/assets/client-kxHC35hM.js +1 -0
- package/dist/assets/cloneDeep-Ba3aXNUu.js +1 -0
- package/dist/assets/{collapse-CYWTPqSk.js → collapse-CAb-Gn_l.js} +1 -1
- package/dist/assets/{config-navigation-CT792zIJ.js → config-navigation-Cs_qHzER.js} +26 -26
- package/dist/assets/{connect-to-AtIRQOX6.js → connect-to-DkhhW68O.js} +1 -1
- package/dist/assets/{cssMode-DW3JPc0k.js → cssMode-CrVEzyxC.js} +1 -1
- package/dist/assets/{delete-confirm-N2rsO0iW.js → delete-confirm-Dz69MAu0.js} +1 -1
- package/dist/assets/{depsEqual-xnv5gh8I.js → depsEqual-DfiSjGDF.js} +1 -1
- package/dist/assets/{detail-BmCTzpOD.js → detail-BnT9dQ5L.js} +3 -3
- package/dist/assets/{domains-DfYoNwdt.js → domains-qVXK0hWW.js} +1 -1
- package/dist/assets/{download-1iVvpl6e.js → download-C978t_bv.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-BKb81Oqx.js +1 -0
- package/dist/assets/engine-BhzKUVLU.js +1 -0
- package/dist/assets/{freemarker2-BwNVlSxX.js → freemarker2-DOa0F2Rz.js} +1 -1
- package/dist/assets/{get-safe-url-BluXV-un.js → get-safe-url-Cuqqffna.js} +1 -1
- package/dist/assets/getValidReactChildren-DPiNgBSM.js +1 -0
- package/dist/assets/{graphqlMode-DpwKt7ZH.js → graphqlMode-CKDQI3wd.js} +2 -2
- package/dist/assets/{handlebars-Dx6BdfNc.js → handlebars-lf82ljB_.js} +1 -1
- package/dist/assets/{html-CTCyirYa.js → html-By42GBXH.js} +1 -1
- package/dist/assets/{htmlMode-pUTJKqCP.js → htmlMode-BeGmS-sv.js} +1 -1
- package/dist/assets/{iframe-NLzJ049J.js → iframe-CWQD2D2P.js} +1 -1
- package/dist/assets/{index-CzcZrRaf.js → index-04Cg3rq1.js} +3 -3
- package/dist/assets/{index-DxQWHyss.js → index-30uk3Zde.js} +1 -1
- package/dist/assets/{index-CzWvhXy-.js → index-3Gr8DDQi.js} +1 -1
- package/dist/assets/{index-COUZ8InY.js → index-6RpNlUXw.js} +1 -1
- package/dist/assets/{index-CYjqs8LO.js → index-B3zdiR4I.js} +1 -1
- package/dist/assets/{index-o4ni_1Hd.js → index-BFXERHlf.js} +1 -1
- package/dist/assets/{index-Dq_DEEwF.js → index-BcSklsUP.js} +1 -1
- package/dist/assets/{index-CKmtGoYk.js → index-Bgse3464.js} +1 -1
- package/dist/assets/{index-DyQj-Vml.js → index-Bi6RkZIu.js} +1 -1
- package/dist/assets/{index-BmSZG99M.js → index-BkAmHTzO.js} +2 -2
- package/dist/assets/{index-Rzkz5lVh.js → index-BkKGnide.js} +1 -1
- package/dist/assets/{index-C1oVtl_z.js → index-Bnxl9k2v.js} +1 -1
- package/dist/assets/{index-BMfTNBEz.js → index-BvXZoEXP.js} +1 -1
- package/dist/assets/{index-BuDPmilG.js → index-Bx5fxhO5.js} +1 -1
- package/dist/assets/{index-Cb9KrgD3.js → index-C23cxsIf.js} +91 -91
- package/dist/assets/{index-CAn0dZpL.js → index-C5u5PlQ4.js} +1 -1
- package/dist/assets/{index-Dh4Zcz13.js → index-C63bSXKY.js} +1 -1
- package/dist/assets/{index-Bd7ICWHK.js → index-C8opdYMn.js} +9 -9
- package/dist/assets/{index-BirK7_K1.js → index-CC_PPI8G.js} +1 -1
- package/dist/assets/{index-BzWxYccA.js → index-CDo4jf6C.js} +1 -1
- package/dist/assets/{index-Cqi-_wUf.js → index-CULQHTfE.js} +1 -1
- package/dist/assets/{index--4Easf-0.js → index-CZcXWL-X.js} +1 -1
- package/dist/assets/{index-DGwYpVlq.js → index-Cc_JPZGW.js} +1 -1
- package/dist/assets/{index-DwXS8-Pw.js → index-CetxjOR4.js} +1 -1
- package/dist/assets/{index-DnQo1P-7.js → index-CggE-p2z.js} +1 -1
- package/dist/assets/{index-BWaFl-0n.js → index-CsAeHLaJ.js} +1 -1
- package/dist/assets/{index-4oiEWI_y.js → index-CtQwTN0O.js} +1 -1
- package/dist/assets/{index-DcTumMjn.js → index-D1Xg-WES.js} +1 -1
- package/dist/assets/{index-Be9t8ERl.js → index-DOV4j9Xg.js} +1 -1
- package/dist/assets/{index-Dm-d7DsT.js → index-DP6vW9Qm.js} +3 -3
- package/dist/assets/{index-C4V555fa.js → index-DisxfPKg.js} +3 -3
- package/dist/assets/{index-BRJu-qqS.js → index-DnEBdfll.js} +1 -1
- package/dist/assets/{index-BQQW0IE4.js → index-DrqMX8P3.js} +3 -3
- package/dist/assets/{index-Be_C0bQ4.js → index-Ds3_t_-i.js} +1 -1
- package/dist/assets/{index-DgIvGKrA.js → index-DvPvczBM.js} +1 -1
- package/dist/assets/index-EyhFROpx.js +1 -0
- package/dist/assets/{index-Can5QPp6.js → index-Fkt3goDq.js} +1 -1
- package/dist/assets/{index-wfnvuead.js → index-Gf-l8_nu.js} +1 -1
- package/dist/assets/{index-CDKukYBE.js → index-LTSbzbAK.js} +1 -1
- package/dist/assets/index-br0Yc9xd.js +1 -0
- package/dist/assets/{index-B6gMXNTq.js → index-cTnbzuAx.js} +1 -1
- package/dist/assets/{index-KDa0T1wg.js → index-eIJb2ap_.js} +1 -1
- package/dist/assets/{index-CGQXnIJP.js → index-oYJVEvEN.js} +1 -1
- package/dist/assets/{index-3t_LMkfW.js → index-oYMWAdg8.js} +1 -1
- package/dist/assets/{index-DZpjuMA4.js → index-yYXVqxlj.js} +1 -1
- package/dist/assets/{index-D1VFUioX.js → index-ynYCdfgX.js} +1 -1
- package/dist/assets/{index-DeFMIAXr.js → index-zzs1-5cA.js} +1 -1
- package/dist/assets/{index.esm-B_mZYMOX.js → index.esm-tAsUUhHo.js} +1 -1
- package/dist/assets/{install-from-url-LGIARj2I.js → install-from-url-Ehaondnu.js} +1 -1
- package/dist/assets/{invitation-BRoQQyFM.js → invitation-Ci8HwvdV.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-BGgOj15I.js → is-path-prefix-equal-tOARVLuw.js} +1 -1
- package/dist/assets/{item-BkFEMGLR.js → item-DDx7OQOD.js} +1 -1
- package/dist/assets/{javascript-DRLhCPG3.js → javascript-CBOwwSpS.js} +1 -1
- package/dist/assets/{jsonMode-DfA6q40T.js → jsonMode-DR24XfTY.js} +1 -1
- package/dist/assets/{liquid-c7RXB6Bj.js → liquid-Di3CtWhP.js} +1 -1
- package/dist/assets/{list-header-C0K4j-D9.js → list-header-DLBFnxRG.js} +1 -1
- package/dist/assets/{log-8PyEKTls.js → log-DyP5xia3.js} +1 -1
- package/dist/assets/{lottie-react.esm-CiESf2_N.js → lottie-react.esm-CmWcDm1o.js} +1 -1
- package/dist/assets/{mdx-Clo3HWip.js → mdx-CN8vJ_bw.js} +1 -1
- package/dist/assets/{memory-BRNbl-6k.js → memory-DWcKQvu0.js} +1 -1
- package/dist/assets/{metric-CJ76D0ti.js → metric-CiNgH_tm.js} +1 -1
- package/dist/assets/omit-B07LOFnR.js +1 -0
- package/dist/assets/{overview-BQrL7A4S.js → overview-D1hJrUmT.js} +1 -1
- package/dist/assets/{permission-BxfY1Wq9.js → permission-DameKqO6.js} +1 -1
- package/dist/assets/{preference-C1O8R7mN.js → preference-BdBmam_p.js} +3 -3
- package/dist/assets/{python-CzC-dWWi.js → python-CItf4Czs.js} +1 -1
- package/dist/assets/{raf-schd.esm-DEPBQbH-.js → raf-schd.esm-6_EN7Kbo.js} +1 -1
- package/dist/assets/{razor-BhM5d1lB.js → razor-C3kzStME.js} +1 -1
- package/dist/assets/{rotate-session-key-Dq1w_BEA.js → rotate-session-key-BwK5-Edg.js} +1 -1
- package/dist/assets/{runtime-CKJ0-hvk.js → runtime-BQVOLIg_.js} +1 -1
- package/dist/assets/schema-CbMP50vC.js +1 -0
- package/dist/assets/sdk-8zqQRufe.js +1 -0
- package/dist/assets/{service-BEwWHDTL.js → service-BKKmXiPj.js} +1 -1
- package/dist/assets/{shorten-label-DoYHrub6.js → shorten-label-K42tqImX.js} +1 -1
- package/dist/assets/{simple-select-DDOasqyk.js → simple-select-CJ_NHgZE.js} +1 -1
- package/dist/assets/{spaces-BEDHb5iE.js → spaces-D8W9oSU1.js} +1 -1
- package/dist/assets/{status-DVCtkaOq.js → status-CNsm8Uxk.js} +1 -1
- package/dist/assets/{status-9AntvYD_.js → status-DPf6KSuT.js} +1 -1
- package/dist/assets/{switch-control-DG4sIGKL.js → switch-control-C7a0YAjY.js} +1 -1
- package/dist/assets/{table-icons-K9Wr0Ckj.js → table-icons-XKLLe8QL.js} +1 -1
- package/dist/assets/{team-CTOVYZOy.js → team-BIASMfBE.js} +1 -1
- package/dist/assets/{toLower-CXFIRZQk.js → toLower-BMJtQmSy.js} +1 -1
- package/dist/assets/toUpper-NnRBh7Fo.js +1 -0
- package/dist/assets/{traffic-DvAnJeY0.js → traffic-s6-mNuLF.js} +1 -1
- package/dist/assets/{tsMode-CkRrMvYB.js → tsMode-zr05hq8A.js} +1 -1
- package/dist/assets/{typescript-BWnnRX4a.js → typescript-C3VyJB76.js} +1 -1
- package/dist/assets/{url-evaluation-7fqZ9p8l.js → url-evaluation-je_DqWx8.js} +1 -1
- package/dist/assets/{url-join-Dg-bQ5x_.js → url-join-DJY-Qasn.js} +1 -1
- package/dist/assets/{use-mobile-IJD_1AJD.js → use-mobile-CiA019Iw.js} +1 -1
- package/dist/assets/{use-mobile-DC8D-Il0.js → use-mobile-DpB9DOv8.js} +1 -1
- package/dist/assets/{useAsync-BYAWjEyq.js → useAsync-DC5_iMZM.js} +1 -1
- package/dist/assets/{useAsyncRetry-D0iQE1V-.js → useAsyncRetry-tHEIeLbe.js} +1 -1
- package/dist/assets/{useLocalStorage-BqSLkRiM.js → useLocalStorage-DrRAHSy6.js} +1 -1
- package/dist/assets/{useThemeProps-DNt1D53E.js → useThemeProps-BHnFz5Rn.js} +1 -1
- package/dist/assets/{util-WGys2T7V.js → util-BOa_X6eX.js} +1 -1
- package/dist/assets/{wait-container-Nqb4ZKGr.js → wait-container-DT_8Jv4t.js} +1 -1
- package/dist/assets/{without-wallet-DB2j5n1b.js → without-wallet-nJ_sZ-Wg.js} +1 -1
- package/dist/assets/{wrap-locale-DuPqsGuQ.js → wrap-locale-CRGOQGWL.js} +1 -1
- package/dist/assets/{xml-n3KfmOhB.js → xml-CmB0j4sA.js} +1 -1
- package/dist/assets/{yaml-BJLPfG2M.js → yaml-CfU0dQ9l.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-Brk10bpS.js +0 -1
- package/dist/assets/api-CAva5vT6.js +0 -1
- package/dist/assets/appearance-BuuWomyP.js +0 -1
- package/dist/assets/client-5Gr69tqr.js +0 -1
- package/dist/assets/cloneDeep-CceTLm9o.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-8tur4lWB.js +0 -1
- package/dist/assets/engine-BvhLJSw5.js +0 -1
- package/dist/assets/getValidReactChildren-BgYwBCAf.js +0 -1
- package/dist/assets/index-BR63jEhx.js +0 -1
- package/dist/assets/index-wzk9f73f.js +0 -1
- package/dist/assets/omit-BEynnNgX.js +0 -1
- package/dist/assets/schema-CfjtebxL.js +0 -1
- package/dist/assets/sdk-Bnh1Axee.js +0 -1
- package/dist/assets/toUpper-CL7Qu0pb.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aG as ce,j as e,r as W,aV as A,N as j,T as ue,s as G,o as _,hs as de,bd as me,bn as te,m as re,fI as ie,f9 as ne,aP as se,cr as m,H as k,ht as B,t as x,hu as $,aU as J,Q as p,az as fe,v as L,z as he,y as xe,E as pe,g as je,by as ve}from"./index-
|
|
1
|
+
import{aG as ce,j as e,r as W,aV as A,N as j,T as ue,s as G,o as _,hs as de,bd as me,bn as te,m as re,fI as ie,f9 as ne,aP as se,cr as m,H as k,ht as B,t as x,hu as $,aU as J,Q as p,az as fe,v as L,z as he,y as xe,E as pe,g as je,by as ve}from"./index-C23cxsIf.js";import{T as ge}from"./index-br0Yc9xd.js";import{u as ae,C as f}from"./index.esm-tAsUUhHo.js";import{A as be,a as ye,b as we,c as Re}from"./collapse-CAb-Gn_l.js";import{u as oe}from"./blocklet-BFZSXHzf.js";import{S as Q}from"./Switch-C6V5HrKP.js";const Te=ce(e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}));function h({title:c,desc:n="",link:t="",sectionLeftSx:u={width:"384px"},sectionRightSx:v={},children:d,...C}){const R=W.useMemo(()=>t?n?n.replace(/<b>(.*?)<\/b>/g,`<a href="${t}" target="_blank" rel="noopener noreferrer">$1</a>`):"":n,[n,t]);return e.jsx(Se,{...C,children:e.jsxs(A,{className:"section",direction:{sm:"column",md:"row"},sx:{gap:{xs:3,md:6}},children:[e.jsxs(j,{className:"section-left",sx:u,children:[e.jsx(ue,{className:"section-title",children:c}),e.jsx(j,{className:"section-desc",sx:{color:"text.secondary"},dangerouslySetInnerHTML:{__html:R}})]}),e.jsx(A,{className:"section-content",direction:"column",sx:{width:"100%",...v},children:d})]})})}h.propTypes={title:_.string.isRequired,children:_.node.isRequired,desc:_.string,sectionLeftSx:_.object,sectionRightSx:_.object,link:_.node};const Se=G(j)`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: flex-start;
|
|
4
4
|
width: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,g as n,j as t,s as r}from"./index-
|
|
1
|
+
import{r as o,g as n,j as t,s as r}from"./index-C23cxsIf.js";import{p as a}from"./index-C63bSXKY.js";function c(){const{t:s}=o.useContext(n);return t.jsx(e,{style:{paddingTop:"25vh"},children:t.jsx(a,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const e=r.main``;export{c as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
2
|
-
import{r as t,g as n,j as r,bE as i,d0 as a}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-C8opdYMn.js","./index-C23cxsIf.js","./index-DGkT7afN.css","./decode-DPztD6kB.js","./index-CX3PrUL2.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as t,g as n,j as r,bE as i,d0 as a}from"./index-C23cxsIf.js";const s=t.lazy(()=>i(()=>import("./index-C8opdYMn.js").then(o=>o.i),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),d=`{
|
|
3
3
|
getNodeInfo {
|
|
4
4
|
code
|
|
5
5
|
info {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as O,u as W,r as i,a as R,b as D,j as e,o as y,d as H,e as Q,g as Y,f as F,W as U,L as X,h as j,i as J,k,T as h,G as v,p as K,l as z,s as q,C as Z}from"./index-
|
|
1
|
+
import{c as O,u as W,r as i,a as R,b as D,j as e,o as y,d as H,e as Q,g as Y,f as F,W as U,L as X,h as j,i as J,k,T as h,G as v,p as K,l as z,s as q,C as Z}from"./index-C23cxsIf.js";import{f as ee}from"./index-BojVbZw0.js";import{v as $}from"./index-oYJVEvEN.js";import{M as V}from"./metric-CiNgH_tm.js";import{C as M}from"./click-to-copy-Ej5vUTZR.js";var ne=O(function(a,d,r){return a+(r?" ":"")+d.toLowerCase()});const B=i.createContext({}),{Provider:se,Consumer:xe}=B;function ae({children:a}){const{api:d,info:r}=W(),[u,l]=i.useState(null),[c,t]=i.useState(!1),[s,p]=i.useState([]),_=4,f=async({silent:o=!0,retries:m=_}={})=>{o||t(!0);try{l(null);const{users:x}=await d.getUsers({input:{teamDid:r.did,paging:{pageSize:100}}});t(!1),p(x)}catch(x){m>0?setTimeout(()=>f({silent:o,retries:m-1}),1e3):(t(!1),l(x))}};i.useEffect(()=>{f({silent:!1})},[]),R(D.TeamEvents.userAdded,({teamDid:o})=>{o===r.did&&f()}),R(D.TeamEvents.userRemoved,({teamDid:o,user:{did:m}})=>{o===r.did&&p(x=>x.filter(N=>N.did!==m))}),R(D.TeamEvents.userUpdated,({teamDid:o})=>{o===r.did&&f()});const b={loading:c,error:u,users:s,refresh:f};return e.jsx(se,{value:{users:b},children:a})}function te(){const{users:a}=i.useContext(B);return a}const g={oneSecond:1,oneMin:1*60,oneHour:1*60*60,oneDay:24*60*60},re=(a,d)=>{const[r,u]=i.useState(0),l=s=>s>=g.oneDay?g.oneDay:s>=g.oneHour?g.oneHour:s>=g.oneMin?g.oneMin:g.oneSecond,[c,t]=i.useState(l(a/1e3));return i.useEffect(()=>{const s=setInterval(()=>{u(r+c);const p=l(a/1e3+r+c);c!==p&&t(p)},c*1e3);return()=>clearInterval(s)},[c,r]),i.useEffect(()=>{u(0),t(l(a/1e3))},[a]),d(a+r*1e3)};y.number.isRequired,y.func;const oe=async a=>{const d=await a.getNodeEnv();return Object.assign({},d.info||{})};y.number.isRequired;y.string.isRequired,y.string.isRequired,y.string.isRequired;function ie(){const{info:a,api:d,loading:r}=W(),{data:u,externalData:l}=H(),{users:c}=te(),t=Q(()=>oe(d)),{t:s,locale:p}=i.useContext(Y),_=F(),f=re(+new Date-a.startAt,o=>{const m={compact:!0,verbose:!0,locale:z(p)};return K(o,m)});let b=null;if(r)b=e.jsx(Z,{});else{const o=[{name:s("dashboard.nodeDid"),value:e.jsx(U,{did:a.did,showQrcode:!0})}];a.nodeOwner&&o.push({name:s("dashboard.ownerDid"),value:e.jsx(U,{did:a.nodeOwner.did,showQrcode:!0})});let m=[];a.launcher&&(m=[{name:s("common.did"),value:e.jsx(U,{did:a.launcher.did,showQrcode:!0})},{name:s("common.type"),value:a.launcher.type},{name:s("launcher.provider"),value:a.launcher.provider},{name:s("launcher.adminUrl"),value:e.jsx(X,{target:"_blank",href:a.launcher.url,underline:"hover",children:a.launcher.url})}]);const x=(n,w)=>!n&&!w?"-":n==="-"?n:!w||w==="-"?e.jsxs(h,{className:"ip-item",children:[e.jsx(j,{children:"IPV4"}),e.jsx(M,{children:n})]}):e.jsxs(h,{component:"ul",children:[e.jsxs("li",{className:"ip-item",children:[e.jsx(j,{children:"IPV4"}),e.jsx(M,{children:n})]}),e.jsxs("li",{className:"ip-item",children:[e.jsx(j,{children:"IPV6"}),e.jsx(M,{children:w})]})]}),N=()=>{const n=[{name:`${s("common.internalIp")}`,value:x(t.value.ip.internalV4,t.value.ip.internalV6)},{name:`${s("common.externalIp")}`,value:x(t.value.ip.externalV4,t.value.ip.externalV6)}];return t.value.docker?[]:n},T=t.value?[{name:`${s("common.version")}`,value:a.version},...N(),{name:`${s("common.os")}`,value:t.value.os},t.value.docker?{name:`${s("common.docker")}`,value:e.jsx(j,{type:"success",children:"Yes"})}:null,t.value.gitpod?{name:`${s("common.gitpod")}`,value:e.jsx(j,{type:"success",children:"Yes"})}:null].filter(Boolean):[];Array.isArray(J(t,"value.blockletEngines",null))&&t.value.blockletEngines.filter(n=>n.visible&&n.available).forEach(n=>{T.push({name:n.displayName,value:e.jsx(j,{type:"success",children:`${n.version}`||"N/A"})})});const L=c.length,A=c.filter(n=>n.approved).length;let P=L;A&&(P+=`<small><strong>${ne(s("common.approved"))} ${A}</strong></small>`);let S=0,C=0;u&&(S=u.length,C=u.filter(n=>n.status==="running").length),Array.isArray(l)&&(S+=l.length,C+=l.filter(n=>n.status==="running").length);let I=S;C&&(I+=`<small>${s("common.running")} ${C}</small>`);const G=[{name:s("common.blocklets"),value:I},{name:s("common.members"),value:P},{name:s("common.uptime"),value:f},{name:s("common.created"),value:ee(new Date(a.createdAt).getTime(),z(p))}];let E=[];t.value&&t.value.disk&&Object.values(t.value.disk).some(n=>n>0)&&(E=[{name:s("common.blockletsStorage"),value:k(t.value.disk.blocklets||0).toUpperCase()},{name:s("common.dataStorage"),value:k(t.value.disk.data||0).toUpperCase()},{name:s("common.logStorage"),value:k(t.value.disk.log||0).toUpperCase()},{name:s("common.cacheStorage"),value:k(t.value.disk.cache||0).toUpperCase()},{name:s("common.coreStorage"),value:k(t.value.disk.app||0).toUpperCase()}]),b=e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"section",children:[e.jsx(h,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:s("common.overview")}),e.jsx(v,{className:"page-metrics",container:!0,spacing:{xs:2,sm:3,md:4,lg:5},children:G.map(n=>e.jsx(v,{size:{xl:2,lg:3,md:4,sm:6,xs:6},children:e.jsx(V,{...n})},n.name))})]}),E.length>0&&e.jsxs("div",{className:"section",children:[e.jsx(h,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:s("common.storage")}),e.jsx(v,{className:"page-metrics",container:!0,spacing:{xs:2,sm:3,md:4,lg:5},children:E.map(n=>e.jsx(v,{size:{xl:2,lg:3,md:4,sm:6,xs:6},children:e.jsx(V,{...n})},n.name))})]}),e.jsxs("div",{className:"section",children:[e.jsx(h,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:s("common.meta")}),e.jsxs(v,{className:"page-metrics",container:!0,spacing:{xs:2,sm:3,md:4,lg:5},children:[e.jsxs(v,{size:{lg:6,md:12,sm:12,xs:12},children:[e.jsx(h,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:s("common.dAddress")}),o.map(n=>e.jsx($,{nameWidth:150,name:n.name,children:n.value},n.name)),m.length>0&&e.jsxs("div",{style:{marginTop:_.spacing(8)},children:[e.jsx(h,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:s("common.launcher")}),m.map(n=>e.jsx($,{nameWidth:150,name:n.name,children:n.value},n.name))]})]},"address"),e.jsxs(v,{size:{lg:6,md:12,sm:12,xs:12},children:[e.jsx(h,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:s("common.env")}),T.map(n=>e.jsx($,{valueComponent:"div",nameWidth:150,name:n.name,children:n.value},n.name))]},"environment")]})]})]})}return e.jsx(le,{children:b})}const le=q.main`
|
|
2
2
|
.page-header {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cE as $m,bd as jL,gV as oT,ba as Xm,bb as Zm,cR as qm,be as JL,r as QL}from"./index-
|
|
1
|
+
import{cE as $m,bd as jL,gV as oT,ba as Xm,bb as Zm,cR as qm,be as JL,r as QL}from"./index-C23cxsIf.js";/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,N as g,_ as he,s as C,a0 as K,m as D,r as f,a1 as ue,y as v,a2 as Me,a3 as Ge,o as R,a4 as se,a5 as ze,H as I,Y as Q,T as _,h as We,a6 as He,v as E,$ as qe,D as Ve,t as Ye,X as fe,C as xe,a7 as Ke,a8 as Qe,a9 as Xe,u as N,g as Je,aa as G,n as te,B as Ze,ab as oe,A as ge,q as re,ac as et,W as ae,L as X,w as ye,x as J,ad as tt,ae as ke,af as st,b as B,ag as le,ah as ot,K as rt,ai as at,aj as nt,O as lt,f as it,ak as ct,al as we,am as be,an as Se,ao as A,ap as ve,aq as je,ar as Ce,as as Pe,at as Re,au as dt,av as ie}from"./index-
|
|
1
|
+
import{j as e,N as g,_ as he,s as C,a0 as K,m as D,r as f,a1 as ue,y as v,a2 as Me,a3 as Ge,o as R,a4 as se,a5 as ze,H as I,Y as Q,T as _,h as We,a6 as He,v as E,$ as qe,D as Ve,t as Ye,X as fe,C as xe,a7 as Ke,a8 as Qe,a9 as Xe,u as N,g as Je,aa as G,n as te,B as Ze,ab as oe,A as ge,q as re,ac as et,W as ae,L as X,w as ye,x as J,ad as tt,ae as ke,af as st,b as B,ag as le,ah as ot,K as rt,ai as at,aj as nt,O as lt,f as it,ak as ct,al as we,am as be,an as Se,ao as A,ap as ve,aq as je,ar as Ce,as as Pe,at as Re,au as dt,av as ie}from"./index-C23cxsIf.js";import{t as pt}from"./toLower-BMJtQmSy.js";import{a as W,u as mt,W as ht,P as Te,L as Be}from"./index-ynYCdfgX.js";import{A as ut,D as ne,u as ft,W as xt,P as gt,a as Ee,L as De}from"./wait-container-DT_8Jv4t.js";import{g as Z}from"./get-safe-url-Cuqqffna.js";import{u as ce}from"./useLocalStorage-DrRAHSy6.js";import{L as yt}from"./Launch-DS5gvqhh.js";import{D as kt}from"./DeleteOutline-CCV79tdr.js";import{g as wt,i as bt}from"./spaces-D8W9oSU1.js";import{I as St}from"./MoreVert-DIGG56nA.js";import{y as vt}from"./index-DOV4j9Xg.js";import"./url-join-DJY-Qasn.js";import"./use-mobile-CiA019Iw.js";import"./api-Dfd-W8my.js";function Ue({children:s,selected:a=!1}){return e.jsxs(jt,{children:[s,e.jsx(g,{className:`selected-container ${a?"selected":""}`,children:e.jsx(he,{className:"selected-icon"})})]})}const jt=C(g)`
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
4
|
.selected-container {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aG as Yn,j as t,r as N,fF as no,fG as io,cr as We,bd as Gn,by as He,N as ae,at as Zn,az as $e,T as we,eK as oo,aP as ot,fH as so,m as Ee,F as Qn,fI as Lr,fJ as ao,cU as Xn,cq as lo,bk as Yr,dE as bt,P as yt,aU as Dt,fK as co,C as Qe,fL as vt,ev as Ae,fM as Jn,fN as uo,fO as fo,fP as po,fQ as mo,fR as ho,fS as ei,fT as go,fU as _r,fV as bo,fW as yo,fX as vo,fY as wo,ew as qr,fZ as ti,ex as xo,cE as Er,ey as Co,dA as So,f_ as To,bW as at,bX as lt,cf as ri,dK as Oe,eW as ce,bZ as Eo,b8 as Se,da as Rt,d4 as ni,b_ as qe,b$ as et,U as Xe,av as kt,dG as ii,d7 as jo,f$ as qt,bg as oi,g0 as si,o as b,bf as De,Q as wt,bi as Po,t as st,g1 as Do,bn as Re,R as jr,S as Pr,dC as Ro,g2 as At,g3 as ko,H as Ue,au as xt,$ as Ge,D as Ur,X as rt,v as Te,Y as ze,g4 as Ao,i as Dr,aW as Oo,w as Io,x as No,s as je,f1 as Mo,g as Ct,ad as St,bz as Je,g5 as Lo,dB as _o,di as qo,f as Uo,n as Tt,E as Ye,dt as Fo,g6 as Bo,ez as Vo,g7 as ai,g8 as Ot,g9 as $o,dD as Gr,b as Ze,W as Fr,dF as zo,bq as li,br as Ko,bs as ci,aE as Wo,fE as ui,ga as di,aS as Ho,aF as Yo,a9 as Go,y as Zo,gb as Qo,a4 as Xo,bB as Jo,V as es,O as ts}from"./index-Cb9KrgD3.js";import{A as It}from"./Add-D3hlszsk.js";import{V as rs}from"./ViewList-BsQHtDlS.js";import{H as Br,g as ns}from"./index-DcTumMjn.js";import{u as is}from"./use-mobile-DC8D-Il0.js";import{e as Zr}from"./client-5Gr69tqr.js";import{R as os,a as $t,W as fi,D as ss}from"./url-evaluation-7fqZ9p8l.js";import{u as Ie}from"./team-CTOVYZOy.js";import{u as pi}from"./blocklet-DfVATcWI.js";import{P as Ve}from"./permission-BxfY1Wq9.js";import{C as Ut}from"./click-to-copy-DOPOnrYk.js";import{s as Ke,g as as,S as ls,u as Fe,a as mi,b as Et,c as hi,d as Ft,e as gi,f as Vr,P as bi,D as yi,h as Nt,M as mt,i as vi,j as Qr,k as gt,v as cs,l as us,m as Xr,n as ds,o as fs,p as ps,q as ms,C as hs,r as gs,t as Mt,w as nt,x as Lt,y as Jr,z as en,A as bs,T as ys,B as $r,E as vs,F as ws,G as xs,H as Cs,I as Ss,J as Ts,K as Es,L as jt,N as it,O as wi,Q as js,V as Rr,R as xi,U as Ps,W as tn,X as Ds,Y as Rs,Z as ks,_ as As,$ as Os,a0 as Is}from"./AdapterDayjs-BnxZDorn.js";import{u as Ne}from"./useThemeProps-DNt1D53E.js";import{a as rn,b as Ns,t as Ms,T as Ls}from"./index-BR63jEhx.js";import{v as Pe}from"./index-CGQXnIJP.js";import{V as _s}from"./Verified-CNQ_caq5.js";import{D as qs}from"./DeleteOutline-DgXOu8u_.js";import{E as nn}from"./ErrorOutline-WA15iMfN.js";import{y as Ci}from"./index-Be9t8ERl.js";import{S as Us}from"./Search-D-ErXUO5.js";import{N as Fs}from"./index-DgIvGKrA.js";import{b as Bs}from"./sdk-Bnh1Axee.js";import{A as Vs}from"./actions-qfcQNc0I.js";import{S as $s}from"./shorten-label-DoYHrub6.js";const zs=Yn(t.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"})),Ks=Yn(t.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"})),Si=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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"}),N.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"}),N.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"}),N.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"})),Ti=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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"}),N.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),N.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ei=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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"}),N.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),Ws=e=>N.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},N.createElement("g",{clipPath:"url(#clip0)"},N.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"})),N.createElement("defs",null,N.createElement("clipPath",{id:"clip0"},N.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),ji=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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 zt={},Kt,on;function Hs(){return on||(on=1,Kt=e=>encodeURIComponent(e).replace(/[!'()*]/g,c=>`%${c.charCodeAt(0).toString(16).toUpperCase()}`)),Kt}var Wt,sn;function Ys(){if(sn)return Wt;sn=1;var e="%[a-f0-9]{2}",c=new RegExp("("+e+")|([^%]+?)","gi"),o=new RegExp("("+e+")+","gi");function r(m,p){try{return[decodeURIComponent(m.join(""))]}catch{}if(m.length===1)return m;p=p||1;var s=m.slice(0,p),i=m.slice(p);return Array.prototype.concat.call([],r(s),r(i))}function y(m){try{return decodeURIComponent(m)}catch{for(var p=m.match(c)||[],s=1;s<p.length;s++)m=r(p,s).join(""),p=m.match(c)||[];return m}}function x(m){for(var p={"%FE%FF":"��","%FF%FE":"��"},s=o.exec(m);s;){try{p[s[0]]=decodeURIComponent(s[0])}catch{var i=y(s[0]);i!==s[0]&&(p[s[0]]=i)}s=o.exec(m)}p["%C2"]="�";for(var n=Object.keys(p),S=0;S<n.length;S++){var a=n[S];m=m.replace(new RegExp(a,"g"),p[a])}return m}return Wt=function(m){if(typeof m!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof m+"`");try{return m=m.replace(/\+/g," "),decodeURIComponent(m)}catch{return x(m)}},Wt}var Ht,an;function Gs(){return an||(an=1,Ht=(e,c)=>{if(!(typeof e=="string"&&typeof c=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(c==="")return[e];const o=e.indexOf(c);return o===-1?[e]:[e.slice(0,o),e.slice(o+c.length)]}),Ht}var Yt,ln;function Zs(){return ln||(ln=1,Yt=function(e,c){for(var o={},r=Object.keys(e),y=Array.isArray(c),x=0;x<r.length;x++){var m=r[x],p=e[m];(y?c.indexOf(m)!==-1:c(m,p,e))&&(o[m]=p)}return o}),Yt}var cn;function Qs(){return cn||(cn=1,function(e){const c=Hs(),o=Ys(),r=Gs(),y=Zs(),x=g=>g==null;function m(g){switch(g.arrayFormat){case"index":return f=>(h,w)=>{const T=h.length;return w===void 0||g.skipNull&&w===null||g.skipEmptyString&&w===""?h:w===null?[...h,[i(f,g),"[",T,"]"].join("")]:[...h,[i(f,g),"[",i(T,g),"]=",i(w,g)].join("")]};case"bracket":return f=>(h,w)=>w===void 0||g.skipNull&&w===null||g.skipEmptyString&&w===""?h:w===null?[...h,[i(f,g),"[]"].join("")]:[...h,[i(f,g),"[]=",i(w,g)].join("")];case"comma":case"separator":return f=>(h,w)=>w==null||w.length===0?h:h.length===0?[[i(f,g),"=",i(w,g)].join("")]:[[h,i(w,g)].join(g.arrayFormatSeparator)];default:return f=>(h,w)=>w===void 0||g.skipNull&&w===null||g.skipEmptyString&&w===""?h:w===null?[...h,i(f,g)]:[...h,[i(f,g),"=",i(w,g)].join("")]}}function p(g){let f;switch(g.arrayFormat){case"index":return(h,w,T)=>{if(f=/\[(\d*)\]$/.exec(h),h=h.replace(/\[\d*\]$/,""),!f){T[h]=w;return}T[h]===void 0&&(T[h]={}),T[h][f[1]]=w};case"bracket":return(h,w,T)=>{if(f=/(\[\])$/.exec(h),h=h.replace(/\[\]$/,""),!f){T[h]=w;return}if(T[h]===void 0){T[h]=[w];return}T[h]=[].concat(T[h],w)};case"comma":case"separator":return(h,w,T)=>{const A=typeof w=="string"&&w.includes(g.arrayFormatSeparator),k=typeof w=="string"&&!A&&n(w,g).includes(g.arrayFormatSeparator);w=k?n(w,g):w;const I=A||k?w.split(g.arrayFormatSeparator).map(D=>n(D,g)):w===null?w:n(w,g);T[h]=I};default:return(h,w,T)=>{if(T[h]===void 0){T[h]=w;return}T[h]=[].concat(T[h],w)}}}function s(g){if(typeof g!="string"||g.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function i(g,f){return f.encode?f.strict?c(g):encodeURIComponent(g):g}function n(g,f){return f.decode?o(g):g}function S(g){return Array.isArray(g)?g.sort():typeof g=="object"?S(Object.keys(g)).sort((f,h)=>Number(f)-Number(h)).map(f=>g[f]):g}function a(g){const f=g.indexOf("#");return f!==-1&&(g=g.slice(0,f)),g}function l(g){let f="";const h=g.indexOf("#");return h!==-1&&(f=g.slice(h)),f}function u(g){g=a(g);const f=g.indexOf("?");return f===-1?"":g.slice(f+1)}function d(g,f){return f.parseNumbers&&!Number.isNaN(Number(g))&&typeof g=="string"&&g.trim()!==""?g=Number(g):f.parseBooleans&&g!==null&&(g.toLowerCase()==="true"||g.toLowerCase()==="false")&&(g=g.toLowerCase()==="true"),g}function v(g,f){f=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},f),s(f.arrayFormatSeparator);const h=p(f),w=Object.create(null);if(typeof g!="string"||(g=g.trim().replace(/^[?#&]/,""),!g))return w;for(const T of g.split("&")){if(T==="")continue;let[A,k]=r(f.decode?T.replace(/\+/g," "):T,"=");k=k===void 0?null:["comma","separator"].includes(f.arrayFormat)?k:n(k,f),h(n(A,f),k,w)}for(const T of Object.keys(w)){const A=w[T];if(typeof A=="object"&&A!==null)for(const k of Object.keys(A))A[k]=d(A[k],f);else w[T]=d(A,f)}return f.sort===!1?w:(f.sort===!0?Object.keys(w).sort():Object.keys(w).sort(f.sort)).reduce((T,A)=>{const k=w[A];return k&&typeof k=="object"&&!Array.isArray(k)?T[A]=S(k):T[A]=k,T},Object.create(null))}e.extract=u,e.parse=v,e.stringify=(g,f)=>{if(!g)return"";f=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},f),s(f.arrayFormatSeparator);const h=k=>f.skipNull&&x(g[k])||f.skipEmptyString&&g[k]==="",w=m(f),T={};for(const k of Object.keys(g))h(k)||(T[k]=g[k]);const A=Object.keys(T);return f.sort!==!1&&A.sort(f.sort),A.map(k=>{const I=g[k];return I===void 0?"":I===null?i(k,f):Array.isArray(I)?I.reduce(w(k),[]).join("&"):i(k,f)+"="+i(I,f)}).filter(k=>k.length>0).join("&")},e.parseUrl=(g,f)=>{f=Object.assign({decode:!0},f);const[h,w]=r(g,"#");return Object.assign({url:h.split("?")[0]||"",query:v(u(g),f)},f&&f.parseFragmentIdentifier&&w?{fragmentIdentifier:n(w,f)}:{})},e.stringifyUrl=(g,f)=>{f=Object.assign({encode:!0,strict:!0},f);const h=a(g.url).split("?")[0]||"",w=e.extract(g.url),T=e.parse(w,{sort:!1}),A=Object.assign(T,g.query);let k=e.stringify(A,f);k&&(k=`?${k}`);let I=l(g.url);return g.fragmentIdentifier&&(I=`#${i(g.fragmentIdentifier,f)}`),`${h}${k}${I}`},e.pick=(g,f,h)=>{h=Object.assign({parseFragmentIdentifier:!0},h);const{url:w,query:T,fragmentIdentifier:A}=e.parseUrl(g,h);return e.stringifyUrl({url:w,query:y(T,f),fragmentIdentifier:A},h)},e.exclude=(g,f,h)=>{const w=Array.isArray(f)?T=>!f.includes(T):(T,A)=>!f(T,A);return e.pick(g,w,h)}}(zt)),zt}var Gt=Qs();const dt=no,Xs={parseNumbers:!1,parseBooleans:!1},Js={skipNull:!1,skipEmptyString:!1},ea=(e,c)=>{var o,r;const{navigateMode:y="push",parseOptions:x,stringifyOptions:m}={},p=Object.assign(Object.assign({},Xs),x),s=Object.assign(Object.assign({},Js),m),i=dt.useLocation(),n=(o=dt.useHistory)===null||o===void 0?void 0:o.call(dt),S=(r=dt.useNavigate)===null||r===void 0?void 0:r.call(dt),a=io(),l=N.useRef(typeof e=="function"?e():e||{}),u=N.useMemo(()=>Gt.parse(i.search,p),[i.search]),d=N.useMemo(()=>Object.assign(Object.assign({},l.current),u),[u]);return[d,We(g=>{const f=typeof g=="function"?g(d):g;a(),n&&n[y]({hash:i.hash,search:Gt.stringify(Object.assign(Object.assign({},u),f),s)||"?"},i.state),S&&S({hash:i.hash,search:Gt.stringify(Object.assign(Object.assign({},u),f),s)||"?"},{replace:y==="replace",state:i.state})})]};var ht={exports:{}},ta=ht.exports,un;function ra(){return un||(un=1,function(e,c){(function(o,r){var y="1.0.40",x="",m="?",p="function",s="undefined",i="object",n="string",S="major",a="model",l="name",u="type",d="vendor",v="version",g="architecture",f="console",h="mobile",w="tablet",T="smarttv",A="wearable",k="embedded",I=500,D="Amazon",B="Apple",W="ASUS",G="BlackBerry",te="Browser",pe="Chrome",ne="Edge",re="Firefox",fe="Google",ye="Huawei",M="LG",q="Microsoft",H="Motorola",z="Opera",Y="Samsung",R="Sharp",E="Sony",P="Xiaomi",U="Zebra",F="Facebook",$="Chromium OS",Q="Mac OS",le=" Browser",de=function(O,_){var L={};for(var Z in O)_[Z]&&_[Z].length%2===0?L[Z]=_[Z].concat(O[Z]):L[Z]=O[Z];return L},me=function(O){for(var _={},L=0;L<O.length;L++)_[O[L].toUpperCase()]=O[L];return _},he=function(O,_){return typeof O===n?ve(_).indexOf(ve(O))!==-1:!1},ve=function(O){return O.toLowerCase()},Ce=function(O){return typeof O===n?O.replace(/[^\d\.]/g,x).split(".")[0]:r},xe=function(O,_){if(typeof O===n)return O=O.replace(/^\s\s*/,x),typeof _===s?O:O.substring(0,I)},be=function(O,_){for(var L=0,Z,ie,ue,ee,J,ge;L<_.length&&!J;){var Me=_[L],Le=_[L+1];for(Z=ie=0;Z<Me.length&&!J&&Me[Z];)if(J=Me[Z++].exec(O),J)for(ue=0;ue<Le.length;ue++)ge=J[++ie],ee=Le[ue],typeof ee===i&&ee.length>0?ee.length===2?typeof ee[1]==p?this[ee[0]]=ee[1].call(this,ge):this[ee[0]]=ee[1]:ee.length===3?typeof ee[1]===p&&!(ee[1].exec&&ee[1].test)?this[ee[0]]=ge?ee[1].call(this,ge,ee[2]):r:this[ee[0]]=ge?ge.replace(ee[1],ee[2]):r:ee.length===4&&(this[ee[0]]=ge?ee[3].call(this,ge.replace(ee[1],ee[2])):r):this[ee]=ge||r;L+=2}},se=function(O,_){for(var L in _)if(typeof _[L]===i&&_[L].length>0){for(var Z=0;Z<_[L].length;Z++)if(he(_[L][Z],O))return L===m?r:L}else if(he(_[L],O))return L===m?r:L;return _.hasOwnProperty("*")?_["*"]:O},oe={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,v],[/opios[\/ ]+([\w\.]+)/i],[v,[l,z+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[l,z+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[l,z]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[v,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,v],[/quark(?:pc)?\/([-\w\.]+)/i],[v,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[v,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[l,"UC"+te]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[l,"Smart Lenovo "+te]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+te],v],[/\bfocus\/([\w\.]+)/i],[v,[l,re+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[l,z+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[l,z+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[l,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[v,[l,re]],[/\bqihoobrowser\/?([\w\.]*)/i],[v,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],v],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+le],v],[/samsungbrowser\/([\w\.]+)/i],[v,[l,Y+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[v,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,v],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[l],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[v,l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,F],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[l,pe+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,pe+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[l,"Android "+te]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[v,se,oe]],[/(webkit|khtml)\/([\w\.]+)/i],[l,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],v],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[l,re+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,[v,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,ve]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,x,ve]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,ve]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[d,Y],[u,w]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a,[d,Y],[u,h]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a,[d,B],[u,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[d,B],[u,w]],[/(macintosh);/i],[a,[d,B]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[d,R],[u,h]],[/(?:honor)([-\w ]+)[;\)]/i],[a,[d,"Honor"],[u,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[d,ye],[u,w]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[d,ye],[u,h]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[a,/_/g," "],[d,P],[u,h]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[d,P],[u,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[d,"OPPO"],[u,h]],[/\b(opd2\d{3}a?) bui/i],[a,[d,"OPPO"],[u,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[d,"Vivo"],[u,h]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a,[d,"Realme"],[u,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[d,H],[u,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[d,H],[u,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[d,M],[u,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[d,M],[u,h]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[d,"Lenovo"],[u,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[d,"Nokia"],[u,h]],[/(pixel c)\b/i],[a,[d,fe],[u,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[d,fe],[u,h]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[d,E],[u,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[d,E],[u,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[d,"OnePlus"],[u,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[d,D],[u,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[d,D],[u,h]],[/(playbook);[-\w\),; ]+(rim)/i],[a,d,[u,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[d,G],[u,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[d,W],[u,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[d,W],[u,h]],[/(nexus 9)/i],[a,[d,"HTC"],[u,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[a,/_/g," "],[u,h]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a,[d,"TCL"],[u,w]],[/(itel) ((\w+))/i],[[d,ve],a,[u,se,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[d,"Acer"],[u,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[d,"Meizu"],[u,h]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a,[d,"Ulefone"],[u,h]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[a,[d,"Energizer"],[u,h]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[a,[d,"Cat"],[u,h]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[a,[d,"Smartfren"],[u,h]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a,[d,"Nothing"],[u,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,a,[u,h]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,a,[u,w]],[/(surface duo)/i],[a,[d,q],[u,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[d,"Fairphone"],[u,h]],[/(u304aa)/i],[a,[d,"AT&T"],[u,h]],[/\bsie-(\w*)/i],[a,[d,"Siemens"],[u,h]],[/\b(rct\w+) b/i],[a,[d,"RCA"],[u,w]],[/\b(venue[\d ]{2,7}) b/i],[a,[d,"Dell"],[u,w]],[/\b(q(?:mv|ta)\w+) b/i],[a,[d,"Verizon"],[u,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[d,"Barnes & Noble"],[u,w]],[/\b(tm\d{3}\w+) b/i],[a,[d,"NuVision"],[u,w]],[/\b(k88) b/i],[a,[d,"ZTE"],[u,w]],[/\b(nx\d{3}j) b/i],[a,[d,"ZTE"],[u,h]],[/\b(gen\d{3}) b.+49h/i],[a,[d,"Swiss"],[u,h]],[/\b(zur\d{3}) b/i],[a,[d,"Swiss"],[u,w]],[/\b((zeki)?tb.*\b) b/i],[a,[d,"Zeki"],[u,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],a,[u,w]],[/\b(ns-?\w{0,9}) b/i],[a,[d,"Insignia"],[u,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[d,"NextBook"],[u,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],a,[u,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],a,[u,h]],[/\b(ph-1) /i],[a,[d,"Essential"],[u,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[d,"Envizen"],[u,w]],[/\b(trio[-\w\. ]+) b/i],[a,[d,"MachSpeed"],[u,w]],[/\btu_(1491) b/i],[a,[d,"Rotor"],[u,w]],[/(shield[\w ]+) b/i],[a,[d,"Nvidia"],[u,w]],[/(sprint) (\w+)/i],[d,a,[u,h]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[d,q],[u,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[d,U],[u,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[d,U],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,T]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[d,Y],[u,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,M],[u,T]],[/(apple) ?tv/i],[d,[a,B+" TV"],[u,T]],[/crkey/i],[[a,pe+"cast"],[d,fe],[u,T]],[/droid.+aft(\w+)( bui|\))/i],[a,[d,D],[u,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[d,R],[u,T]],[/(bravia[\w ]+)( bui|\))/i],[a,[d,E],[u,T]],[/(mitv-\w{5}) bui/i],[a,[d,P],[u,T]],[/Hbbtv.*(technisat) (.*);/i],[d,a,[u,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,xe],[a,xe],[u,T]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,a,[u,f]],[/droid.+; (shield) bui/i],[a,[d,"Nvidia"],[u,f]],[/(playstation [345portablevi]+)/i],[a,[d,E],[u,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[d,q],[u,f]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[a,[d,Y],[u,A]],[/((pebble))app/i],[d,a,[u,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a,[d,B],[u,A]],[/droid.+; (glass) \d/i],[a,[d,fe],[u,A]],[/droid.+; (wt63?0{2,3})\)/i],[a,[d,U],[u,A]],[/droid.+; (glass) \d/i],[a,[d,fe],[u,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,a,[u,A]],[/; (quest( \d| pro)?)/i],[a,[d,F],[u,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,k]],[/(aeobc)\b/i],[a,[d,D],[u,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a,[u,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[u,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,h]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[l,ne+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[l,v],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[v,se,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,se,X],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,Q],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,v],[/\(bb(10);/i],[v,[l,G]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[l,re+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[l,pe+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,$],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,v],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,v]]},K=function(O,_){if(typeof O===i&&(_=O,O=r),!(this instanceof K))return new K(O,_).getResult();var L=typeof o!==s&&o.navigator?o.navigator:r,Z=O||(L&&L.userAgent?L.userAgent:x),ie=L&&L.userAgentData?L.userAgentData:r,ue=_?de(V,_):V,ee=L&&L.userAgent==Z;return this.getBrowser=function(){var J={};return J[l]=r,J[v]=r,be.call(J,Z,ue.browser),J[S]=Ce(J[v]),ee&&L&&L.brave&&typeof L.brave.isBrave==p&&(J[l]="Brave"),J},this.getCPU=function(){var J={};return J[g]=r,be.call(J,Z,ue.cpu),J},this.getDevice=function(){var J={};return J[d]=r,J[a]=r,J[u]=r,be.call(J,Z,ue.device),ee&&!J[u]&&ie&&ie.mobile&&(J[u]=h),ee&&J[a]=="Macintosh"&&L&&typeof L.standalone!==s&&L.maxTouchPoints&&L.maxTouchPoints>2&&(J[a]="iPad",J[u]=w),J},this.getEngine=function(){var J={};return J[l]=r,J[v]=r,be.call(J,Z,ue.engine),J},this.getOS=function(){var J={};return J[l]=r,J[v]=r,be.call(J,Z,ue.os),ee&&!J[l]&&ie&&ie.platform&&ie.platform!="Unknown"&&(J[l]=ie.platform.replace(/chrome os/i,$).replace(/macos/i,Q)),J},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Z},this.setUA=function(J){return Z=typeof J===n&&J.length>I?xe(J,I):J,this},this.setUA(Z),this};K.VERSION=y,K.BROWSER=me([l,v,S]),K.CPU=me([g]),K.DEVICE=me([a,d,u,f,h,T,w,A,k]),K.ENGINE=K.OS=me([l,v]),e.exports&&(c=e.exports=K),c.UAParser=K;var C=typeof o!==s&&(o.jQuery||o.Zepto);if(C&&!C.ua){var j=new K;C.ua=j.getResult(),C.ua.get=function(){return j.getUA()},C.ua.set=function(O){j.setUA(O);var _=j.getResult();for(var L in _)C.ua[L]=_[L]}}})(typeof window=="object"?window:ta)}(ht,ht.exports)),ht.exports}var na=ra();const Zt=Gn(na);function ia({user:e,sessionUser:c}){const o=He(()=>(e?.passports||[])?.find(r=>r.name===c.role),[e?.passports,c?.role]);return t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(Zn,{size:40,variant:"circle",shape:"circle",src:c.avatar,did:c.did,sx:{flexShrink:0}}),t.jsxs(ae,{sx:{flex:1,overflow:"hidden"},children:[t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx($e,{title:c.fullName,children:t.jsx(we,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:c.fullName})}),t.jsx(oo,{label:o?.title||o?.name||"Guest",size:"small",variant:"outlined",sx:{flexShrink:0,fontWeight:"bold",fontSize:"12px",color:"text.primary",borderColor:"grey.300",backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),t.jsx($e,{title:c.email,children:t.jsx(we,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:c.email})})]})]})}const oa={zh:{confirm:"确认",cancel:"取消",visitorId:"设备标识",deviceType:"设备类型",platform:"操作系统",walletOS:"钱包类型",role:"角色",fullname:"姓名",email:"邮箱",avatar:"头像",user:"用户",createdAt:"首次活动时间",updatedAt:"最近活动时间",lastLoginIp:"最近活动地址",actions:"操作",logoutAll:"注销所有{type}会话",logoutAllTips:"不会注销当前会话",logout:"注销",currentSession:"当前会话",unknown:"未知",expired:"已过期",remove:"删除",logoutThisSession:"注销指定会话",logoutThisSessionConfirm:"确定要注销此会话吗?",logoutAllSession:"注销所有{type}会话",logoutAllSessionConfirm:"确定要注销所有{type}会话吗?",online:"活跃"},en:{confirm:"Confirm",cancel:"Cancel",visitorId:"Device ID",deviceType:"Device Type",platform:"Platform",walletOS:"Wallet OS",role:"Role",fullname:"Fullname",email:"Email",avatar:"Avatar",user:"User",createdAt:"First Active Time",updatedAt:"Last Active Time",actions:"Actions",lastLoginIp:"Last Login IP",logoutAll:"Logout all {type} sessions",logoutAllTips:"Will not logout current session",logout:"Logout",currentSession:"Current Session",unknown:"Unknown",expired:"Expired",remove:"Remove",logoutThisSession:"Logout this session",logoutThisSessionConfirm:"Are you sure to logout this session?",logoutAllSession:"Logout all {type} sessions",logoutAllSessionConfirm:"Are you sure to logout all {type} sessions?",online:"Active"}},Pi="Reserved IP",dn="ip-region-cache";async function sa(e){const c=`https://ipapi.co/${e}/json/`,o=await(await fetch(c)).json();let r="";return o.error?o.reserved&&(r=Pi):r=[o.country_name,o.region,o.city].filter(Boolean).join("/"),r}async function aa(e){const c=`https://api.ip.sb/geoip/${e}`,o=await(await fetch(c)).json();let r="";return o.error?o.reserved&&(r=Pi):r=[o.country,o.region,o.city].filter(Boolean).join("/"),r}async function la(e){let c="",o={};try{const r=localStorage.getItem(dn);r&&(o=JSON.parse(r))}catch{o={}}if(o[e])c=o[e];else{try{c=await aa(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!c)try{c=await sa(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(c){const r=Object.keys(o);r.length>100&&delete o[r[0]],o[e]&&delete o[e],o[e]=c,localStorage.setItem(dn,JSON.stringify(o))}return c}const fn=e=>new Zt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Zt.BROWSER.NAME,Zt.BROWSER.VERSION]]}).getResult(),pn={display:"flex",justifyContent:"flex-end",textAlign:"right"},ca=new co({concurrency:1}),ua=N.memo(({userSession:e,isMobile:c=!1})=>{const o=ot({loading:!0,ipRegion:""}),{t:r}=Ee();return N.useEffect(()=>{ca.add(async()=>{try{o.ipRegion=await la(e.lastLoginIp)}finally{o.loading=!1}})},[o,e.lastLoginIp]),t.jsx(ae,{...c&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:o.ipRegion?t.jsxs(t.Fragment,{children:[t.jsx(we,{variant:"body2",children:o.ipRegion}),t.jsx(we,{variant:"body2",color:"grey",children:e.lastLoginIp||r("unknown")})]}):t.jsxs(t.Fragment,{children:[t.jsx(we,{children:e.lastLoginIp||r("unknown")}),o.loading?t.jsx(we,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:t.jsx(Qe,{size:12,color:"inherit"})}):null]})})});function da({user:e,showAction:c=!0,showUser:o=!0,getUserSessions:r,showOffline:y=!1}){const x=ot({status:"online",page:1,pageSize:10}),m=ot({online:0,expired:0,offline:0}),p=so(),{locale:s}=Ee(),i=is({key:"md"}),n=Qn(I=>I.breakpoints.down("lg")),{confirmApi:S,confirmHolder:a}=Lr(),l=We((I,D={})=>ao(oa,I,s,"en",D)),u=We(async()=>{const I=await r({page:x.page,pageSize:x.pageSize,status:x.status}),D=I?.paging?.total||0;return m[x.status]=D,{total:D,list:I?.list||[]}});Xn(async()=>{const I=await r({page:1,pageSize:1,status:"expired"});m.expired=I?.paging?.total||0;const D=await r({page:1,pageSize:1,status:"offline"});m.offline=D?.paging?.total||0});const d=lo(u,{refreshDeps:[x.status,x.page,x.pageSize]}),v=He(()=>d.data?.list||[],[d.data?.list]),g=He(()=>{const I=x.status;return I==="online"?m[I]<=1:m[I]===0},[v,p]),f=He(()=>Yr({},i?pn:{}),[i]),h=We(({visitorId:I})=>{S.open({title:l("logoutThisSession"),content:l("logoutThisSessionConfirm"),confirmButtonText:l("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:l("cancel"),onConfirm:async()=>{await Zr.user.logout({visitorId:I,includeFederated:!0});const{page:D=0}=x,{list:B=[]}=d.data||{},W=B.length||0;D>1&&W===1&&(x.page=Math.max(D-1,1)),d.refresh(),S.close()}})}),w=We(()=>{S.open({title:l("logoutAllSession",{type:l(x.status)}),content:l("logoutAllSessionConfirm",{type:l(x.status)}),confirmButtonText:l("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:l("cancel"),onConfirm:async()=>{await Zr.user.logout({status:x.status,visitorId:p,includeFederated:!0}),x.page=1,d.refresh(),S.close()}})}),T=[];c&&T.push(t.jsx($e,{title:l("logoutAllTips",{type:l(x.status)}),children:t.jsx(bt,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:w,disabled:g,children:l("logoutAll",{type:l(x.status)})})},"logoutAll"));const A=He(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:x.page-1,rowsPerPage:x.pageSize,count:d.data?.total||0}),[d.data?.total,x.page,x.pageSize]),k=[{label:l("platform"),name:"platform",options:{customBodyRenderLite:I=>{const D=v[I],B=fn(D?.ua);return t.jsx(ae,{sx:f,children:[B.os?.name,B.os?.version].filter(Boolean).join("/")||l("unknown")})}}},{label:l("deviceType"),name:"deviceType",options:{customBodyRenderLite:I=>{const D=v[I],B=fn(D?.ua);return t.jsx(ae,{sx:f,children:[B.browser?.name,B.browser?.version].filter(Boolean).join("/")||l("unknown")})}}},{label:l("walletOS"),name:"walletOS",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:D.extra?.walletOS||l("unknown")})}}},o&&{label:l("user"),name:"user",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:Yr({minWidth:150,maxWidth:250},i?pn:{}),children:t.jsx(ia,{sessionUser:D.user,user:e})})}}},{label:l("createdAt"),name:"createdAt",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:D.createdAt?t.jsx(yt,{value:D.createdAt,relativeRange:3*86400*1e3,locale:s}):l("unknown")})}}},!y&&{label:l("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:D.status==="expired"?l("expired"):t.jsx(yt,{value:D.updatedAt,relativeRange:3*86400*1e3,locale:s})})}}},{label:l("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ua,{userSession:D,isMobile:i})}}},c&&{label:l("actions"),name:"actions",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:t.jsx(bt,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:p===D.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>h({visitorId:D.visitorId}),children:D.status==="expired"?l("remove"):p===D.visitorId?l("currentSession"):l("logout")})})}}}].filter(Boolean);return t.jsxs(ae,{className:"pc-user-sessions",sx:{maxWidth:i?"unset":n?"calc(100vw - 300px)":"100%",...i&&{".pc-user-sessions-table > div:nth-child(2)":{border:"1px solid",borderColor:"divider",borderRadius:1}},".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"},".MuiTableRow-root":{border:"unset","&:nth-child(even)":{backgroundColor:"grey.50","&:hover":{backgroundColor:I=>`${I.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...i&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[a,t.jsx(Br,{count:d.data?.total||0,locale:s,data:v,columns:k,customButtons:T,options:A,loading:d.loading,className:"pc-user-sessions-table",title:t.jsxs(os,{row:!0,sx:{lineHeight:1,ml:1},onChange:I=>{x.status=I.target.value},children:[t.jsx(Dt,{value:"online",control:t.jsx($t,{size:"small",sx:{lineHeight:1,fontSize:0},checked:x.status==="online"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[l("online"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.online,")"]})]})}),t.jsx(Dt,{value:"expired",control:t.jsx($t,{size:"small",sx:{lineHeight:1,fontSize:0},checked:x.status==="expired"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[l("expired"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.expired,")"]})]})}),y?t.jsx(Dt,{value:"offline",control:t.jsx($t,{size:"small",sx:{lineHeight:1,fontSize:0},checked:x.status==="offline"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[l("offline"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.offline,")"]})]})}):null]}),onChange:I=>{x.page=I.page+1,x.pageSize=I.rowsPerPage}})]})}var Qt={exports:{}},Xt={},mn;function Di(){if(mn)return Xt;mn=1;function e(f){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},e(f)}function c(f,h,w){return Object.defineProperty(f,"prototype",{writable:!1}),f}function o(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function r(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(h&&h.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),h&&y(f,h)}function y(f,h){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,A){return T.__proto__=A,T},y(f,h)}function x(f){var h=s();return function(){var T=i(f),A;if(h){var k=i(this).constructor;A=Reflect.construct(T,arguments,k)}else A=T.apply(this,arguments);return m(this,A)}}function m(f,h){if(h&&(e(h)==="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p(f)}function p(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}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 i(f){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},i(f)}var n={},S,a;function l(f,h,w){w||(w=Error);function T(k,I,D){return typeof h=="string"?h:h(k,I,D)}var A=function(k){r(D,k);var I=x(D);function D(B,W,G){var te;return o(this,D),te=I.call(this,T(B,W,G)),te.code=f,te}return c(D)}(w);n[f]=A}function u(f,h){if(Array.isArray(f)){var w=f.length;return f=f.map(function(T){return String(T)}),w>2?"one of ".concat(h," ").concat(f.slice(0,w-1).join(", "),", or ")+f[w-1]:w===2?"one of ".concat(h," ").concat(f[0]," or ").concat(f[1]):"of ".concat(h," ").concat(f[0])}else return"of ".concat(h," ").concat(String(f))}function d(f,h,w){return f.substr(0,h.length)===h}function v(f,h,w){return(w===void 0||w>f.length)&&(w=f.length),f.substring(w-h.length,w)===h}function g(f,h,w){return typeof w!="number"&&(w=0),w+h.length>f.length?!1:f.indexOf(h,w)!==-1}return l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(f,h,w){S===void 0&&(S=kr()),S(typeof f=="string","'name' must be a string");var T;typeof h=="string"&&d(h,"not ")?(T="must not be",h=h.replace(/^not /,"")):T="must be";var A;if(v(f," argument"))A="The ".concat(f," ").concat(T," ").concat(u(h,"type"));else{var k=g(f,".")?"property":"argument";A='The "'.concat(f,'" ').concat(k," ").concat(T," ").concat(u(h,"type"))}return A+=". Received type ".concat(e(w)),A},TypeError),l("ERR_INVALID_ARG_VALUE",function(f,h){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";a===void 0&&(a=vt());var T=a.inspect(h);return T.length>128&&(T="".concat(T.slice(0,128),"...")),"The argument '".concat(f,"' ").concat(w,". Received ").concat(T)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(f,h,w){var T;return w&&w.constructor&&w.constructor.name?T="instance of ".concat(w.constructor.name):T="type ".concat(e(w)),"Expected ".concat(f,' to be returned from the "').concat(h,'"')+" function but got ".concat(T,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var f=arguments.length,h=new Array(f),w=0;w<f;w++)h[w]=arguments[w];S===void 0&&(S=kr()),S(h.length>0,"At least one arg needs to be specified");var T="The ",A=h.length;switch(h=h.map(function(k){return'"'.concat(k,'"')}),A){case 1:T+="".concat(h[0]," argument");break;case 2:T+="".concat(h[0]," and ").concat(h[1]," arguments");break;default:T+=h.slice(0,A-1).join(", "),T+=", and ".concat(h[A-1]," arguments");break}return"".concat(T," must be specified")},TypeError),Xt.codes=n,Xt}var Jt,hn;function fa(){if(hn)return Jt;hn=1;function e(M,q){var H=Object.keys(M);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(M);q&&(z=z.filter(function(Y){return Object.getOwnPropertyDescriptor(M,Y).enumerable})),H.push.apply(H,z)}return H}function c(M){for(var q=1;q<arguments.length;q++){var H=arguments[q]!=null?arguments[q]:{};q%2?e(Object(H),!0).forEach(function(z){o(M,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(H)):e(Object(H)).forEach(function(z){Object.defineProperty(M,z,Object.getOwnPropertyDescriptor(H,z))})}return M}function o(M,q,H){return q=m(q),q in M?Object.defineProperty(M,q,{value:H,enumerable:!0,configurable:!0,writable:!0}):M[q]=H,M}function r(M,q){if(!(M instanceof q))throw new TypeError("Cannot call a class as a function")}function y(M,q){for(var H=0;H<q.length;H++){var z=q[H];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(M,m(z.key),z)}}function x(M,q,H){return q&&y(M.prototype,q),Object.defineProperty(M,"prototype",{writable:!1}),M}function m(M){var q=p(M,"string");return f(q)==="symbol"?q:String(q)}function p(M,q){if(f(M)!=="object"||M===null)return M;var H=M[Symbol.toPrimitive];if(H!==void 0){var z=H.call(M,q);if(f(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}function s(M,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(q&&q.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),Object.defineProperty(M,"prototype",{writable:!1}),q&&v(M,q)}function i(M){var q=u();return function(){var z=g(M),Y;if(q){var R=g(this).constructor;Y=Reflect.construct(z,arguments,R)}else Y=z.apply(this,arguments);return n(this,Y)}}function n(M,q){if(q&&(f(q)==="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(M)}function S(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function a(M){var q=typeof Map=="function"?new Map:void 0;return a=function(z){if(z===null||!d(z))return z;if(typeof z!="function")throw new TypeError("Super expression must either be null or a function");if(typeof q<"u"){if(q.has(z))return q.get(z);q.set(z,Y)}function Y(){return l(z,arguments,g(this).constructor)}return Y.prototype=Object.create(z.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}}),v(Y,z)},a(M)}function l(M,q,H){return u()?l=Reflect.construct.bind():l=function(Y,R,E){var P=[null];P.push.apply(P,R);var U=Function.bind.apply(Y,P),F=new U;return E&&v(F,E.prototype),F},l.apply(null,arguments)}function u(){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 d(M){return Function.toString.call(M).indexOf("[native code]")!==-1}function v(M,q){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,Y){return z.__proto__=Y,z},v(M,q)}function g(M){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(H){return H.__proto__||Object.getPrototypeOf(H)},g(M)}function f(M){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},f(M)}var h=vt(),w=h.inspect,T=Di(),A=T.codes.ERR_INVALID_ARG_TYPE;function k(M,q,H){return(H===void 0||H>M.length)&&(H=M.length),M.substring(H-q.length,H)===q}function I(M,q){if(q=Math.floor(q),M.length==0||q==0)return"";var H=M.length*q;for(q=Math.floor(Math.log(q)/Math.log(2));q;)M+=M,q--;return M+=M.substring(0,H-M.length),M}var D="",B="",W="",G="",te={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:"},pe=10;function ne(M){var q=Object.keys(M),H=Object.create(Object.getPrototypeOf(M));return q.forEach(function(z){H[z]=M[z]}),Object.defineProperty(H,"message",{value:M.message}),H}function re(M){return w(M,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function fe(M,q,H){var z="",Y="",R=0,E="",P=!1,U=re(M),F=U.split(`
|
|
1
|
+
import{aG as Yn,j as t,r as N,fF as no,fG as io,cr as We,bd as Gn,by as He,N as ae,at as Zn,az as $e,T as we,eK as oo,aP as ot,fH as so,m as Ee,F as Qn,fI as Lr,fJ as ao,cU as Xn,cq as lo,bk as Yr,dE as bt,P as yt,aU as Dt,fK as co,C as Qe,fL as vt,ev as Ae,fM as Jn,fN as uo,fO as fo,fP as po,fQ as mo,fR as ho,fS as ei,fT as go,fU as _r,fV as bo,fW as yo,fX as vo,fY as wo,ew as qr,fZ as ti,ex as xo,cE as Er,ey as Co,dA as So,f_ as To,bW as at,bX as lt,cf as ri,dK as Oe,eW as ce,bZ as Eo,b8 as Se,da as Rt,d4 as ni,b_ as qe,b$ as et,U as Xe,av as kt,dG as ii,d7 as jo,f$ as qt,bg as oi,g0 as si,o as b,bf as De,Q as wt,bi as Po,t as st,g1 as Do,bn as Re,R as jr,S as Pr,dC as Ro,g2 as At,g3 as ko,H as Ue,au as xt,$ as Ge,D as Ur,X as rt,v as Te,Y as ze,g4 as Ao,i as Dr,aW as Oo,w as Io,x as No,s as je,f1 as Mo,g as Ct,ad as St,bz as Je,g5 as Lo,dB as _o,di as qo,f as Uo,n as Tt,E as Ye,dt as Fo,g6 as Bo,ez as Vo,g7 as ai,g8 as Ot,g9 as $o,dD as Gr,b as Ze,W as Fr,dF as zo,bq as li,br as Ko,bs as ci,aE as Wo,fE as ui,ga as di,aS as Ho,aF as Yo,a9 as Go,y as Zo,gb as Qo,a4 as Xo,bB as Jo,V as es,O as ts}from"./index-C23cxsIf.js";import{A as It}from"./Add-BymIQBtf.js";import{V as rs}from"./ViewList-DXpY0bh9.js";import{H as Br,g as ns}from"./index-D1Xg-WES.js";import{u as is}from"./use-mobile-DpB9DOv8.js";import{e as Zr}from"./client-kxHC35hM.js";import{R as os,a as $t,W as fi,D as ss}from"./url-evaluation-je_DqWx8.js";import{u as Ie}from"./team-BIASMfBE.js";import{u as pi}from"./blocklet-BFZSXHzf.js";import{P as Ve}from"./permission-DameKqO6.js";import{C as Ut}from"./click-to-copy-Ej5vUTZR.js";import{s as Ke,g as as,S as ls,u as Fe,a as mi,b as Et,c as hi,d as Ft,e as gi,f as Vr,P as bi,D as yi,h as Nt,M as mt,i as vi,j as Qr,k as gt,v as cs,l as us,m as Xr,n as ds,o as fs,p as ps,q as ms,C as hs,r as gs,t as Mt,w as nt,x as Lt,y as Jr,z as en,A as bs,T as ys,B as $r,E as vs,F as ws,G as xs,H as Cs,I as Ss,J as Ts,K as Es,L as jt,N as it,O as wi,Q as js,V as Rr,R as xi,U as Ps,W as tn,X as Ds,Y as Rs,Z as ks,_ as As,$ as Os,a0 as Is}from"./AdapterDayjs-DTe0H3sA.js";import{u as Ne}from"./useThemeProps-BHnFz5Rn.js";import{a as rn,b as Ns,t as Ms,T as Ls}from"./index-br0Yc9xd.js";import{v as Pe}from"./index-oYJVEvEN.js";import{V as _s}from"./Verified-BInuzHap.js";import{D as qs}from"./DeleteOutline-CCV79tdr.js";import{E as nn}from"./ErrorOutline-EYQE3srx.js";import{y as Ci}from"./index-DOV4j9Xg.js";import{S as Us}from"./Search-_DW2WIA7.js";import{N as Fs}from"./index-DvPvczBM.js";import{b as Bs}from"./sdk-8zqQRufe.js";import{A as Vs}from"./actions-D2CRUeMK.js";import{S as $s}from"./shorten-label-K42tqImX.js";const zs=Yn(t.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"})),Ks=Yn(t.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"})),Si=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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"}),N.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"}),N.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"}),N.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"})),Ti=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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"}),N.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),N.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ei=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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"}),N.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),Ws=e=>N.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},N.createElement("g",{clipPath:"url(#clip0)"},N.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"})),N.createElement("defs",null,N.createElement("clipPath",{id:"clip0"},N.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),ji=e=>N.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},N.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 zt={},Kt,on;function Hs(){return on||(on=1,Kt=e=>encodeURIComponent(e).replace(/[!'()*]/g,c=>`%${c.charCodeAt(0).toString(16).toUpperCase()}`)),Kt}var Wt,sn;function Ys(){if(sn)return Wt;sn=1;var e="%[a-f0-9]{2}",c=new RegExp("("+e+")|([^%]+?)","gi"),o=new RegExp("("+e+")+","gi");function r(m,p){try{return[decodeURIComponent(m.join(""))]}catch{}if(m.length===1)return m;p=p||1;var s=m.slice(0,p),i=m.slice(p);return Array.prototype.concat.call([],r(s),r(i))}function y(m){try{return decodeURIComponent(m)}catch{for(var p=m.match(c)||[],s=1;s<p.length;s++)m=r(p,s).join(""),p=m.match(c)||[];return m}}function x(m){for(var p={"%FE%FF":"��","%FF%FE":"��"},s=o.exec(m);s;){try{p[s[0]]=decodeURIComponent(s[0])}catch{var i=y(s[0]);i!==s[0]&&(p[s[0]]=i)}s=o.exec(m)}p["%C2"]="�";for(var n=Object.keys(p),S=0;S<n.length;S++){var a=n[S];m=m.replace(new RegExp(a,"g"),p[a])}return m}return Wt=function(m){if(typeof m!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof m+"`");try{return m=m.replace(/\+/g," "),decodeURIComponent(m)}catch{return x(m)}},Wt}var Ht,an;function Gs(){return an||(an=1,Ht=(e,c)=>{if(!(typeof e=="string"&&typeof c=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(c==="")return[e];const o=e.indexOf(c);return o===-1?[e]:[e.slice(0,o),e.slice(o+c.length)]}),Ht}var Yt,ln;function Zs(){return ln||(ln=1,Yt=function(e,c){for(var o={},r=Object.keys(e),y=Array.isArray(c),x=0;x<r.length;x++){var m=r[x],p=e[m];(y?c.indexOf(m)!==-1:c(m,p,e))&&(o[m]=p)}return o}),Yt}var cn;function Qs(){return cn||(cn=1,function(e){const c=Hs(),o=Ys(),r=Gs(),y=Zs(),x=g=>g==null;function m(g){switch(g.arrayFormat){case"index":return f=>(h,w)=>{const T=h.length;return w===void 0||g.skipNull&&w===null||g.skipEmptyString&&w===""?h:w===null?[...h,[i(f,g),"[",T,"]"].join("")]:[...h,[i(f,g),"[",i(T,g),"]=",i(w,g)].join("")]};case"bracket":return f=>(h,w)=>w===void 0||g.skipNull&&w===null||g.skipEmptyString&&w===""?h:w===null?[...h,[i(f,g),"[]"].join("")]:[...h,[i(f,g),"[]=",i(w,g)].join("")];case"comma":case"separator":return f=>(h,w)=>w==null||w.length===0?h:h.length===0?[[i(f,g),"=",i(w,g)].join("")]:[[h,i(w,g)].join(g.arrayFormatSeparator)];default:return f=>(h,w)=>w===void 0||g.skipNull&&w===null||g.skipEmptyString&&w===""?h:w===null?[...h,i(f,g)]:[...h,[i(f,g),"=",i(w,g)].join("")]}}function p(g){let f;switch(g.arrayFormat){case"index":return(h,w,T)=>{if(f=/\[(\d*)\]$/.exec(h),h=h.replace(/\[\d*\]$/,""),!f){T[h]=w;return}T[h]===void 0&&(T[h]={}),T[h][f[1]]=w};case"bracket":return(h,w,T)=>{if(f=/(\[\])$/.exec(h),h=h.replace(/\[\]$/,""),!f){T[h]=w;return}if(T[h]===void 0){T[h]=[w];return}T[h]=[].concat(T[h],w)};case"comma":case"separator":return(h,w,T)=>{const A=typeof w=="string"&&w.includes(g.arrayFormatSeparator),k=typeof w=="string"&&!A&&n(w,g).includes(g.arrayFormatSeparator);w=k?n(w,g):w;const I=A||k?w.split(g.arrayFormatSeparator).map(D=>n(D,g)):w===null?w:n(w,g);T[h]=I};default:return(h,w,T)=>{if(T[h]===void 0){T[h]=w;return}T[h]=[].concat(T[h],w)}}}function s(g){if(typeof g!="string"||g.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function i(g,f){return f.encode?f.strict?c(g):encodeURIComponent(g):g}function n(g,f){return f.decode?o(g):g}function S(g){return Array.isArray(g)?g.sort():typeof g=="object"?S(Object.keys(g)).sort((f,h)=>Number(f)-Number(h)).map(f=>g[f]):g}function a(g){const f=g.indexOf("#");return f!==-1&&(g=g.slice(0,f)),g}function l(g){let f="";const h=g.indexOf("#");return h!==-1&&(f=g.slice(h)),f}function u(g){g=a(g);const f=g.indexOf("?");return f===-1?"":g.slice(f+1)}function d(g,f){return f.parseNumbers&&!Number.isNaN(Number(g))&&typeof g=="string"&&g.trim()!==""?g=Number(g):f.parseBooleans&&g!==null&&(g.toLowerCase()==="true"||g.toLowerCase()==="false")&&(g=g.toLowerCase()==="true"),g}function v(g,f){f=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},f),s(f.arrayFormatSeparator);const h=p(f),w=Object.create(null);if(typeof g!="string"||(g=g.trim().replace(/^[?#&]/,""),!g))return w;for(const T of g.split("&")){if(T==="")continue;let[A,k]=r(f.decode?T.replace(/\+/g," "):T,"=");k=k===void 0?null:["comma","separator"].includes(f.arrayFormat)?k:n(k,f),h(n(A,f),k,w)}for(const T of Object.keys(w)){const A=w[T];if(typeof A=="object"&&A!==null)for(const k of Object.keys(A))A[k]=d(A[k],f);else w[T]=d(A,f)}return f.sort===!1?w:(f.sort===!0?Object.keys(w).sort():Object.keys(w).sort(f.sort)).reduce((T,A)=>{const k=w[A];return k&&typeof k=="object"&&!Array.isArray(k)?T[A]=S(k):T[A]=k,T},Object.create(null))}e.extract=u,e.parse=v,e.stringify=(g,f)=>{if(!g)return"";f=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},f),s(f.arrayFormatSeparator);const h=k=>f.skipNull&&x(g[k])||f.skipEmptyString&&g[k]==="",w=m(f),T={};for(const k of Object.keys(g))h(k)||(T[k]=g[k]);const A=Object.keys(T);return f.sort!==!1&&A.sort(f.sort),A.map(k=>{const I=g[k];return I===void 0?"":I===null?i(k,f):Array.isArray(I)?I.reduce(w(k),[]).join("&"):i(k,f)+"="+i(I,f)}).filter(k=>k.length>0).join("&")},e.parseUrl=(g,f)=>{f=Object.assign({decode:!0},f);const[h,w]=r(g,"#");return Object.assign({url:h.split("?")[0]||"",query:v(u(g),f)},f&&f.parseFragmentIdentifier&&w?{fragmentIdentifier:n(w,f)}:{})},e.stringifyUrl=(g,f)=>{f=Object.assign({encode:!0,strict:!0},f);const h=a(g.url).split("?")[0]||"",w=e.extract(g.url),T=e.parse(w,{sort:!1}),A=Object.assign(T,g.query);let k=e.stringify(A,f);k&&(k=`?${k}`);let I=l(g.url);return g.fragmentIdentifier&&(I=`#${i(g.fragmentIdentifier,f)}`),`${h}${k}${I}`},e.pick=(g,f,h)=>{h=Object.assign({parseFragmentIdentifier:!0},h);const{url:w,query:T,fragmentIdentifier:A}=e.parseUrl(g,h);return e.stringifyUrl({url:w,query:y(T,f),fragmentIdentifier:A},h)},e.exclude=(g,f,h)=>{const w=Array.isArray(f)?T=>!f.includes(T):(T,A)=>!f(T,A);return e.pick(g,w,h)}}(zt)),zt}var Gt=Qs();const dt=no,Xs={parseNumbers:!1,parseBooleans:!1},Js={skipNull:!1,skipEmptyString:!1},ea=(e,c)=>{var o,r;const{navigateMode:y="push",parseOptions:x,stringifyOptions:m}={},p=Object.assign(Object.assign({},Xs),x),s=Object.assign(Object.assign({},Js),m),i=dt.useLocation(),n=(o=dt.useHistory)===null||o===void 0?void 0:o.call(dt),S=(r=dt.useNavigate)===null||r===void 0?void 0:r.call(dt),a=io(),l=N.useRef(typeof e=="function"?e():e||{}),u=N.useMemo(()=>Gt.parse(i.search,p),[i.search]),d=N.useMemo(()=>Object.assign(Object.assign({},l.current),u),[u]);return[d,We(g=>{const f=typeof g=="function"?g(d):g;a(),n&&n[y]({hash:i.hash,search:Gt.stringify(Object.assign(Object.assign({},u),f),s)||"?"},i.state),S&&S({hash:i.hash,search:Gt.stringify(Object.assign(Object.assign({},u),f),s)||"?"},{replace:y==="replace",state:i.state})})]};var ht={exports:{}},ta=ht.exports,un;function ra(){return un||(un=1,function(e,c){(function(o,r){var y="1.0.40",x="",m="?",p="function",s="undefined",i="object",n="string",S="major",a="model",l="name",u="type",d="vendor",v="version",g="architecture",f="console",h="mobile",w="tablet",T="smarttv",A="wearable",k="embedded",I=500,D="Amazon",B="Apple",W="ASUS",G="BlackBerry",te="Browser",pe="Chrome",ne="Edge",re="Firefox",fe="Google",ye="Huawei",M="LG",q="Microsoft",H="Motorola",z="Opera",Y="Samsung",R="Sharp",E="Sony",P="Xiaomi",U="Zebra",F="Facebook",$="Chromium OS",Q="Mac OS",le=" Browser",de=function(O,_){var L={};for(var Z in O)_[Z]&&_[Z].length%2===0?L[Z]=_[Z].concat(O[Z]):L[Z]=O[Z];return L},me=function(O){for(var _={},L=0;L<O.length;L++)_[O[L].toUpperCase()]=O[L];return _},he=function(O,_){return typeof O===n?ve(_).indexOf(ve(O))!==-1:!1},ve=function(O){return O.toLowerCase()},Ce=function(O){return typeof O===n?O.replace(/[^\d\.]/g,x).split(".")[0]:r},xe=function(O,_){if(typeof O===n)return O=O.replace(/^\s\s*/,x),typeof _===s?O:O.substring(0,I)},be=function(O,_){for(var L=0,Z,ie,ue,ee,J,ge;L<_.length&&!J;){var Me=_[L],Le=_[L+1];for(Z=ie=0;Z<Me.length&&!J&&Me[Z];)if(J=Me[Z++].exec(O),J)for(ue=0;ue<Le.length;ue++)ge=J[++ie],ee=Le[ue],typeof ee===i&&ee.length>0?ee.length===2?typeof ee[1]==p?this[ee[0]]=ee[1].call(this,ge):this[ee[0]]=ee[1]:ee.length===3?typeof ee[1]===p&&!(ee[1].exec&&ee[1].test)?this[ee[0]]=ge?ee[1].call(this,ge,ee[2]):r:this[ee[0]]=ge?ge.replace(ee[1],ee[2]):r:ee.length===4&&(this[ee[0]]=ge?ee[3].call(this,ge.replace(ee[1],ee[2])):r):this[ee]=ge||r;L+=2}},se=function(O,_){for(var L in _)if(typeof _[L]===i&&_[L].length>0){for(var Z=0;Z<_[L].length;Z++)if(he(_[L][Z],O))return L===m?r:L}else if(he(_[L],O))return L===m?r:L;return _.hasOwnProperty("*")?_["*"]:O},oe={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,v],[/opios[\/ ]+([\w\.]+)/i],[v,[l,z+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[l,z+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[l,z]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[v,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,v],[/quark(?:pc)?\/([-\w\.]+)/i],[v,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[v,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[l,"UC"+te]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[l,"Smart Lenovo "+te]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+te],v],[/\bfocus\/([\w\.]+)/i],[v,[l,re+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[l,z+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[l,z+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[l,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[v,[l,re]],[/\bqihoobrowser\/?([\w\.]*)/i],[v,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],v],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+le],v],[/samsungbrowser\/([\w\.]+)/i],[v,[l,Y+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[v,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,v],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[l],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[v,l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,F],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[l,pe+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,pe+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[l,"Android "+te]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[v,se,oe]],[/(webkit|khtml)\/([\w\.]+)/i],[l,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],v],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[l,re+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,[v,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,ve]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,x,ve]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,ve]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[d,Y],[u,w]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a,[d,Y],[u,h]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a,[d,B],[u,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[d,B],[u,w]],[/(macintosh);/i],[a,[d,B]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[d,R],[u,h]],[/(?:honor)([-\w ]+)[;\)]/i],[a,[d,"Honor"],[u,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[d,ye],[u,w]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[d,ye],[u,h]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[a,/_/g," "],[d,P],[u,h]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[d,P],[u,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[d,"OPPO"],[u,h]],[/\b(opd2\d{3}a?) bui/i],[a,[d,"OPPO"],[u,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[d,"Vivo"],[u,h]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a,[d,"Realme"],[u,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[d,H],[u,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[d,H],[u,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[d,M],[u,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[d,M],[u,h]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[d,"Lenovo"],[u,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[d,"Nokia"],[u,h]],[/(pixel c)\b/i],[a,[d,fe],[u,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[d,fe],[u,h]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[d,E],[u,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[d,E],[u,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[d,"OnePlus"],[u,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[d,D],[u,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[d,D],[u,h]],[/(playbook);[-\w\),; ]+(rim)/i],[a,d,[u,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[d,G],[u,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[d,W],[u,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[d,W],[u,h]],[/(nexus 9)/i],[a,[d,"HTC"],[u,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[a,/_/g," "],[u,h]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a,[d,"TCL"],[u,w]],[/(itel) ((\w+))/i],[[d,ve],a,[u,se,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[d,"Acer"],[u,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[d,"Meizu"],[u,h]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a,[d,"Ulefone"],[u,h]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[a,[d,"Energizer"],[u,h]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[a,[d,"Cat"],[u,h]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[a,[d,"Smartfren"],[u,h]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a,[d,"Nothing"],[u,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,a,[u,h]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,a,[u,w]],[/(surface duo)/i],[a,[d,q],[u,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[d,"Fairphone"],[u,h]],[/(u304aa)/i],[a,[d,"AT&T"],[u,h]],[/\bsie-(\w*)/i],[a,[d,"Siemens"],[u,h]],[/\b(rct\w+) b/i],[a,[d,"RCA"],[u,w]],[/\b(venue[\d ]{2,7}) b/i],[a,[d,"Dell"],[u,w]],[/\b(q(?:mv|ta)\w+) b/i],[a,[d,"Verizon"],[u,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[d,"Barnes & Noble"],[u,w]],[/\b(tm\d{3}\w+) b/i],[a,[d,"NuVision"],[u,w]],[/\b(k88) b/i],[a,[d,"ZTE"],[u,w]],[/\b(nx\d{3}j) b/i],[a,[d,"ZTE"],[u,h]],[/\b(gen\d{3}) b.+49h/i],[a,[d,"Swiss"],[u,h]],[/\b(zur\d{3}) b/i],[a,[d,"Swiss"],[u,w]],[/\b((zeki)?tb.*\b) b/i],[a,[d,"Zeki"],[u,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],a,[u,w]],[/\b(ns-?\w{0,9}) b/i],[a,[d,"Insignia"],[u,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[d,"NextBook"],[u,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],a,[u,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],a,[u,h]],[/\b(ph-1) /i],[a,[d,"Essential"],[u,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[d,"Envizen"],[u,w]],[/\b(trio[-\w\. ]+) b/i],[a,[d,"MachSpeed"],[u,w]],[/\btu_(1491) b/i],[a,[d,"Rotor"],[u,w]],[/(shield[\w ]+) b/i],[a,[d,"Nvidia"],[u,w]],[/(sprint) (\w+)/i],[d,a,[u,h]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[d,q],[u,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[d,U],[u,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[d,U],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,T]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[d,Y],[u,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,M],[u,T]],[/(apple) ?tv/i],[d,[a,B+" TV"],[u,T]],[/crkey/i],[[a,pe+"cast"],[d,fe],[u,T]],[/droid.+aft(\w+)( bui|\))/i],[a,[d,D],[u,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[d,R],[u,T]],[/(bravia[\w ]+)( bui|\))/i],[a,[d,E],[u,T]],[/(mitv-\w{5}) bui/i],[a,[d,P],[u,T]],[/Hbbtv.*(technisat) (.*);/i],[d,a,[u,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,xe],[a,xe],[u,T]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,a,[u,f]],[/droid.+; (shield) bui/i],[a,[d,"Nvidia"],[u,f]],[/(playstation [345portablevi]+)/i],[a,[d,E],[u,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[d,q],[u,f]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[a,[d,Y],[u,A]],[/((pebble))app/i],[d,a,[u,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a,[d,B],[u,A]],[/droid.+; (glass) \d/i],[a,[d,fe],[u,A]],[/droid.+; (wt63?0{2,3})\)/i],[a,[d,U],[u,A]],[/droid.+; (glass) \d/i],[a,[d,fe],[u,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,a,[u,A]],[/; (quest( \d| pro)?)/i],[a,[d,F],[u,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,k]],[/(aeobc)\b/i],[a,[d,D],[u,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a,[u,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[u,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,h]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[l,ne+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[l,v],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[v,se,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,se,X],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,Q],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,v],[/\(bb(10);/i],[v,[l,G]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[l,re+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[l,pe+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,$],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,v],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,v]]},K=function(O,_){if(typeof O===i&&(_=O,O=r),!(this instanceof K))return new K(O,_).getResult();var L=typeof o!==s&&o.navigator?o.navigator:r,Z=O||(L&&L.userAgent?L.userAgent:x),ie=L&&L.userAgentData?L.userAgentData:r,ue=_?de(V,_):V,ee=L&&L.userAgent==Z;return this.getBrowser=function(){var J={};return J[l]=r,J[v]=r,be.call(J,Z,ue.browser),J[S]=Ce(J[v]),ee&&L&&L.brave&&typeof L.brave.isBrave==p&&(J[l]="Brave"),J},this.getCPU=function(){var J={};return J[g]=r,be.call(J,Z,ue.cpu),J},this.getDevice=function(){var J={};return J[d]=r,J[a]=r,J[u]=r,be.call(J,Z,ue.device),ee&&!J[u]&&ie&&ie.mobile&&(J[u]=h),ee&&J[a]=="Macintosh"&&L&&typeof L.standalone!==s&&L.maxTouchPoints&&L.maxTouchPoints>2&&(J[a]="iPad",J[u]=w),J},this.getEngine=function(){var J={};return J[l]=r,J[v]=r,be.call(J,Z,ue.engine),J},this.getOS=function(){var J={};return J[l]=r,J[v]=r,be.call(J,Z,ue.os),ee&&!J[l]&&ie&&ie.platform&&ie.platform!="Unknown"&&(J[l]=ie.platform.replace(/chrome os/i,$).replace(/macos/i,Q)),J},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Z},this.setUA=function(J){return Z=typeof J===n&&J.length>I?xe(J,I):J,this},this.setUA(Z),this};K.VERSION=y,K.BROWSER=me([l,v,S]),K.CPU=me([g]),K.DEVICE=me([a,d,u,f,h,T,w,A,k]),K.ENGINE=K.OS=me([l,v]),e.exports&&(c=e.exports=K),c.UAParser=K;var C=typeof o!==s&&(o.jQuery||o.Zepto);if(C&&!C.ua){var j=new K;C.ua=j.getResult(),C.ua.get=function(){return j.getUA()},C.ua.set=function(O){j.setUA(O);var _=j.getResult();for(var L in _)C.ua[L]=_[L]}}})(typeof window=="object"?window:ta)}(ht,ht.exports)),ht.exports}var na=ra();const Zt=Gn(na);function ia({user:e,sessionUser:c}){const o=He(()=>(e?.passports||[])?.find(r=>r.name===c.role),[e?.passports,c?.role]);return t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(Zn,{size:40,variant:"circle",shape:"circle",src:c.avatar,did:c.did,sx:{flexShrink:0}}),t.jsxs(ae,{sx:{flex:1,overflow:"hidden"},children:[t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx($e,{title:c.fullName,children:t.jsx(we,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:c.fullName})}),t.jsx(oo,{label:o?.title||o?.name||"Guest",size:"small",variant:"outlined",sx:{flexShrink:0,fontWeight:"bold",fontSize:"12px",color:"text.primary",borderColor:"grey.300",backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),t.jsx($e,{title:c.email,children:t.jsx(we,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:c.email})})]})]})}const oa={zh:{confirm:"确认",cancel:"取消",visitorId:"设备标识",deviceType:"设备类型",platform:"操作系统",walletOS:"钱包类型",role:"角色",fullname:"姓名",email:"邮箱",avatar:"头像",user:"用户",createdAt:"首次活动时间",updatedAt:"最近活动时间",lastLoginIp:"最近活动地址",actions:"操作",logoutAll:"注销所有{type}会话",logoutAllTips:"不会注销当前会话",logout:"注销",currentSession:"当前会话",unknown:"未知",expired:"已过期",remove:"删除",logoutThisSession:"注销指定会话",logoutThisSessionConfirm:"确定要注销此会话吗?",logoutAllSession:"注销所有{type}会话",logoutAllSessionConfirm:"确定要注销所有{type}会话吗?",online:"活跃"},en:{confirm:"Confirm",cancel:"Cancel",visitorId:"Device ID",deviceType:"Device Type",platform:"Platform",walletOS:"Wallet OS",role:"Role",fullname:"Fullname",email:"Email",avatar:"Avatar",user:"User",createdAt:"First Active Time",updatedAt:"Last Active Time",actions:"Actions",lastLoginIp:"Last Login IP",logoutAll:"Logout all {type} sessions",logoutAllTips:"Will not logout current session",logout:"Logout",currentSession:"Current Session",unknown:"Unknown",expired:"Expired",remove:"Remove",logoutThisSession:"Logout this session",logoutThisSessionConfirm:"Are you sure to logout this session?",logoutAllSession:"Logout all {type} sessions",logoutAllSessionConfirm:"Are you sure to logout all {type} sessions?",online:"Active"}},Pi="Reserved IP",dn="ip-region-cache";async function sa(e){const c=`https://ipapi.co/${e}/json/`,o=await(await fetch(c)).json();let r="";return o.error?o.reserved&&(r=Pi):r=[o.country_name,o.region,o.city].filter(Boolean).join("/"),r}async function aa(e){const c=`https://api.ip.sb/geoip/${e}`,o=await(await fetch(c)).json();let r="";return o.error?o.reserved&&(r=Pi):r=[o.country,o.region,o.city].filter(Boolean).join("/"),r}async function la(e){let c="",o={};try{const r=localStorage.getItem(dn);r&&(o=JSON.parse(r))}catch{o={}}if(o[e])c=o[e];else{try{c=await aa(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!c)try{c=await sa(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(c){const r=Object.keys(o);r.length>100&&delete o[r[0]],o[e]&&delete o[e],o[e]=c,localStorage.setItem(dn,JSON.stringify(o))}return c}const fn=e=>new Zt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Zt.BROWSER.NAME,Zt.BROWSER.VERSION]]}).getResult(),pn={display:"flex",justifyContent:"flex-end",textAlign:"right"},ca=new co({concurrency:1}),ua=N.memo(({userSession:e,isMobile:c=!1})=>{const o=ot({loading:!0,ipRegion:""}),{t:r}=Ee();return N.useEffect(()=>{ca.add(async()=>{try{o.ipRegion=await la(e.lastLoginIp)}finally{o.loading=!1}})},[o,e.lastLoginIp]),t.jsx(ae,{...c&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:o.ipRegion?t.jsxs(t.Fragment,{children:[t.jsx(we,{variant:"body2",children:o.ipRegion}),t.jsx(we,{variant:"body2",color:"grey",children:e.lastLoginIp||r("unknown")})]}):t.jsxs(t.Fragment,{children:[t.jsx(we,{children:e.lastLoginIp||r("unknown")}),o.loading?t.jsx(we,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:t.jsx(Qe,{size:12,color:"inherit"})}):null]})})});function da({user:e,showAction:c=!0,showUser:o=!0,getUserSessions:r,showOffline:y=!1}){const x=ot({status:"online",page:1,pageSize:10}),m=ot({online:0,expired:0,offline:0}),p=so(),{locale:s}=Ee(),i=is({key:"md"}),n=Qn(I=>I.breakpoints.down("lg")),{confirmApi:S,confirmHolder:a}=Lr(),l=We((I,D={})=>ao(oa,I,s,"en",D)),u=We(async()=>{const I=await r({page:x.page,pageSize:x.pageSize,status:x.status}),D=I?.paging?.total||0;return m[x.status]=D,{total:D,list:I?.list||[]}});Xn(async()=>{const I=await r({page:1,pageSize:1,status:"expired"});m.expired=I?.paging?.total||0;const D=await r({page:1,pageSize:1,status:"offline"});m.offline=D?.paging?.total||0});const d=lo(u,{refreshDeps:[x.status,x.page,x.pageSize]}),v=He(()=>d.data?.list||[],[d.data?.list]),g=He(()=>{const I=x.status;return I==="online"?m[I]<=1:m[I]===0},[v,p]),f=He(()=>Yr({},i?pn:{}),[i]),h=We(({visitorId:I})=>{S.open({title:l("logoutThisSession"),content:l("logoutThisSessionConfirm"),confirmButtonText:l("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:l("cancel"),onConfirm:async()=>{await Zr.user.logout({visitorId:I,includeFederated:!0});const{page:D=0}=x,{list:B=[]}=d.data||{},W=B.length||0;D>1&&W===1&&(x.page=Math.max(D-1,1)),d.refresh(),S.close()}})}),w=We(()=>{S.open({title:l("logoutAllSession",{type:l(x.status)}),content:l("logoutAllSessionConfirm",{type:l(x.status)}),confirmButtonText:l("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:l("cancel"),onConfirm:async()=>{await Zr.user.logout({status:x.status,visitorId:p,includeFederated:!0}),x.page=1,d.refresh(),S.close()}})}),T=[];c&&T.push(t.jsx($e,{title:l("logoutAllTips",{type:l(x.status)}),children:t.jsx(bt,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:w,disabled:g,children:l("logoutAll",{type:l(x.status)})})},"logoutAll"));const A=He(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:x.page-1,rowsPerPage:x.pageSize,count:d.data?.total||0}),[d.data?.total,x.page,x.pageSize]),k=[{label:l("platform"),name:"platform",options:{customBodyRenderLite:I=>{const D=v[I],B=fn(D?.ua);return t.jsx(ae,{sx:f,children:[B.os?.name,B.os?.version].filter(Boolean).join("/")||l("unknown")})}}},{label:l("deviceType"),name:"deviceType",options:{customBodyRenderLite:I=>{const D=v[I],B=fn(D?.ua);return t.jsx(ae,{sx:f,children:[B.browser?.name,B.browser?.version].filter(Boolean).join("/")||l("unknown")})}}},{label:l("walletOS"),name:"walletOS",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:D.extra?.walletOS||l("unknown")})}}},o&&{label:l("user"),name:"user",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:Yr({minWidth:150,maxWidth:250},i?pn:{}),children:t.jsx(ia,{sessionUser:D.user,user:e})})}}},{label:l("createdAt"),name:"createdAt",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:D.createdAt?t.jsx(yt,{value:D.createdAt,relativeRange:3*86400*1e3,locale:s}):l("unknown")})}}},!y&&{label:l("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:D.status==="expired"?l("expired"):t.jsx(yt,{value:D.updatedAt,relativeRange:3*86400*1e3,locale:s})})}}},{label:l("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ua,{userSession:D,isMobile:i})}}},c&&{label:l("actions"),name:"actions",options:{customBodyRenderLite:I=>{const D=v[I];return t.jsx(ae,{sx:f,children:t.jsx(bt,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:p===D.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>h({visitorId:D.visitorId}),children:D.status==="expired"?l("remove"):p===D.visitorId?l("currentSession"):l("logout")})})}}}].filter(Boolean);return t.jsxs(ae,{className:"pc-user-sessions",sx:{maxWidth:i?"unset":n?"calc(100vw - 300px)":"100%",...i&&{".pc-user-sessions-table > div:nth-child(2)":{border:"1px solid",borderColor:"divider",borderRadius:1}},".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"},".MuiTableRow-root":{border:"unset","&:nth-child(even)":{backgroundColor:"grey.50","&:hover":{backgroundColor:I=>`${I.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...i&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[a,t.jsx(Br,{count:d.data?.total||0,locale:s,data:v,columns:k,customButtons:T,options:A,loading:d.loading,className:"pc-user-sessions-table",title:t.jsxs(os,{row:!0,sx:{lineHeight:1,ml:1},onChange:I=>{x.status=I.target.value},children:[t.jsx(Dt,{value:"online",control:t.jsx($t,{size:"small",sx:{lineHeight:1,fontSize:0},checked:x.status==="online"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[l("online"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.online,")"]})]})}),t.jsx(Dt,{value:"expired",control:t.jsx($t,{size:"small",sx:{lineHeight:1,fontSize:0},checked:x.status==="expired"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[l("expired"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.expired,")"]})]})}),y?t.jsx(Dt,{value:"offline",control:t.jsx($t,{size:"small",sx:{lineHeight:1,fontSize:0},checked:x.status==="offline"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[l("offline"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.offline,")"]})]})}):null]}),onChange:I=>{x.page=I.page+1,x.pageSize=I.rowsPerPage}})]})}var Qt={exports:{}},Xt={},mn;function Di(){if(mn)return Xt;mn=1;function e(f){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},e(f)}function c(f,h,w){return Object.defineProperty(f,"prototype",{writable:!1}),f}function o(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function r(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(h&&h.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),h&&y(f,h)}function y(f,h){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,A){return T.__proto__=A,T},y(f,h)}function x(f){var h=s();return function(){var T=i(f),A;if(h){var k=i(this).constructor;A=Reflect.construct(T,arguments,k)}else A=T.apply(this,arguments);return m(this,A)}}function m(f,h){if(h&&(e(h)==="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p(f)}function p(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}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 i(f){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},i(f)}var n={},S,a;function l(f,h,w){w||(w=Error);function T(k,I,D){return typeof h=="string"?h:h(k,I,D)}var A=function(k){r(D,k);var I=x(D);function D(B,W,G){var te;return o(this,D),te=I.call(this,T(B,W,G)),te.code=f,te}return c(D)}(w);n[f]=A}function u(f,h){if(Array.isArray(f)){var w=f.length;return f=f.map(function(T){return String(T)}),w>2?"one of ".concat(h," ").concat(f.slice(0,w-1).join(", "),", or ")+f[w-1]:w===2?"one of ".concat(h," ").concat(f[0]," or ").concat(f[1]):"of ".concat(h," ").concat(f[0])}else return"of ".concat(h," ").concat(String(f))}function d(f,h,w){return f.substr(0,h.length)===h}function v(f,h,w){return(w===void 0||w>f.length)&&(w=f.length),f.substring(w-h.length,w)===h}function g(f,h,w){return typeof w!="number"&&(w=0),w+h.length>f.length?!1:f.indexOf(h,w)!==-1}return l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(f,h,w){S===void 0&&(S=kr()),S(typeof f=="string","'name' must be a string");var T;typeof h=="string"&&d(h,"not ")?(T="must not be",h=h.replace(/^not /,"")):T="must be";var A;if(v(f," argument"))A="The ".concat(f," ").concat(T," ").concat(u(h,"type"));else{var k=g(f,".")?"property":"argument";A='The "'.concat(f,'" ').concat(k," ").concat(T," ").concat(u(h,"type"))}return A+=". Received type ".concat(e(w)),A},TypeError),l("ERR_INVALID_ARG_VALUE",function(f,h){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";a===void 0&&(a=vt());var T=a.inspect(h);return T.length>128&&(T="".concat(T.slice(0,128),"...")),"The argument '".concat(f,"' ").concat(w,". Received ").concat(T)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(f,h,w){var T;return w&&w.constructor&&w.constructor.name?T="instance of ".concat(w.constructor.name):T="type ".concat(e(w)),"Expected ".concat(f,' to be returned from the "').concat(h,'"')+" function but got ".concat(T,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var f=arguments.length,h=new Array(f),w=0;w<f;w++)h[w]=arguments[w];S===void 0&&(S=kr()),S(h.length>0,"At least one arg needs to be specified");var T="The ",A=h.length;switch(h=h.map(function(k){return'"'.concat(k,'"')}),A){case 1:T+="".concat(h[0]," argument");break;case 2:T+="".concat(h[0]," and ").concat(h[1]," arguments");break;default:T+=h.slice(0,A-1).join(", "),T+=", and ".concat(h[A-1]," arguments");break}return"".concat(T," must be specified")},TypeError),Xt.codes=n,Xt}var Jt,hn;function fa(){if(hn)return Jt;hn=1;function e(M,q){var H=Object.keys(M);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(M);q&&(z=z.filter(function(Y){return Object.getOwnPropertyDescriptor(M,Y).enumerable})),H.push.apply(H,z)}return H}function c(M){for(var q=1;q<arguments.length;q++){var H=arguments[q]!=null?arguments[q]:{};q%2?e(Object(H),!0).forEach(function(z){o(M,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(H)):e(Object(H)).forEach(function(z){Object.defineProperty(M,z,Object.getOwnPropertyDescriptor(H,z))})}return M}function o(M,q,H){return q=m(q),q in M?Object.defineProperty(M,q,{value:H,enumerable:!0,configurable:!0,writable:!0}):M[q]=H,M}function r(M,q){if(!(M instanceof q))throw new TypeError("Cannot call a class as a function")}function y(M,q){for(var H=0;H<q.length;H++){var z=q[H];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(M,m(z.key),z)}}function x(M,q,H){return q&&y(M.prototype,q),Object.defineProperty(M,"prototype",{writable:!1}),M}function m(M){var q=p(M,"string");return f(q)==="symbol"?q:String(q)}function p(M,q){if(f(M)!=="object"||M===null)return M;var H=M[Symbol.toPrimitive];if(H!==void 0){var z=H.call(M,q);if(f(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}function s(M,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(q&&q.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),Object.defineProperty(M,"prototype",{writable:!1}),q&&v(M,q)}function i(M){var q=u();return function(){var z=g(M),Y;if(q){var R=g(this).constructor;Y=Reflect.construct(z,arguments,R)}else Y=z.apply(this,arguments);return n(this,Y)}}function n(M,q){if(q&&(f(q)==="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(M)}function S(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function a(M){var q=typeof Map=="function"?new Map:void 0;return a=function(z){if(z===null||!d(z))return z;if(typeof z!="function")throw new TypeError("Super expression must either be null or a function");if(typeof q<"u"){if(q.has(z))return q.get(z);q.set(z,Y)}function Y(){return l(z,arguments,g(this).constructor)}return Y.prototype=Object.create(z.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}}),v(Y,z)},a(M)}function l(M,q,H){return u()?l=Reflect.construct.bind():l=function(Y,R,E){var P=[null];P.push.apply(P,R);var U=Function.bind.apply(Y,P),F=new U;return E&&v(F,E.prototype),F},l.apply(null,arguments)}function u(){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 d(M){return Function.toString.call(M).indexOf("[native code]")!==-1}function v(M,q){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,Y){return z.__proto__=Y,z},v(M,q)}function g(M){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(H){return H.__proto__||Object.getPrototypeOf(H)},g(M)}function f(M){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},f(M)}var h=vt(),w=h.inspect,T=Di(),A=T.codes.ERR_INVALID_ARG_TYPE;function k(M,q,H){return(H===void 0||H>M.length)&&(H=M.length),M.substring(H-q.length,H)===q}function I(M,q){if(q=Math.floor(q),M.length==0||q==0)return"";var H=M.length*q;for(q=Math.floor(Math.log(q)/Math.log(2));q;)M+=M,q--;return M+=M.substring(0,H-M.length),M}var D="",B="",W="",G="",te={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:"},pe=10;function ne(M){var q=Object.keys(M),H=Object.create(Object.getPrototypeOf(M));return q.forEach(function(z){H[z]=M[z]}),Object.defineProperty(H,"message",{value:M.message}),H}function re(M){return w(M,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function fe(M,q,H){var z="",Y="",R=0,E="",P=!1,U=re(M),F=U.split(`
|
|
2
2
|
`),$=re(q).split(`
|
|
3
3
|
`),Q=0,le="";if(H==="strictEqual"&&f(M)==="object"&&f(q)==="object"&&M!==null&&q!==null&&(H="strictEqualObject"),F.length===1&&$.length===1&&F[0]!==$[0]){var de=F[0].length+$[0].length;if(de<=pe){if((f(M)!=="object"||M===null)&&(f(q)!=="object"||q===null)&&(M!==0||q!==0))return"".concat(te[H],`
|
|
4
4
|
|