@abtnode/webapp 1.16.49-beta-20250828-094758-93e69d1f → 1.16.49-beta-20250828-131156-98768a61
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-DJEE-wTy.js → AdapterDayjs-CIstrKVv.js} +1 -1
- package/dist/assets/{Add-Cr3c4gAF.js → Add-C0YHZEMF.js} +1 -1
- package/dist/assets/ArrowDropDown-BKvKKeqj.js +1 -0
- package/dist/assets/{Autocomplete-DbRrWL7k.js → Autocomplete-DATLBfpd.js} +1 -1
- package/dist/assets/{Breadcrumbs-ClSgNxCN.js → Breadcrumbs-DRlV7-kk.js} +1 -1
- package/dist/assets/{ButtonGroup-acnMPkHS.js → ButtonGroup-Ctju9lEu.js} +1 -1
- package/dist/assets/{CSSTransition-DHA-N90h.js → CSSTransition-BnNERuyW.js} +1 -1
- package/dist/assets/{CallMerge-opNck1n5.js → CallMerge-Ca2m9g7Y.js} +1 -1
- package/dist/assets/{CardContent-_yQvAE0X.js → CardContent-DIbJ4mij.js} +1 -1
- package/dist/assets/{ChevronLeft-B167Ep4-.js → ChevronLeft-DcKCkxT6.js} +1 -1
- package/dist/assets/{ChevronRight-CmaK6-Ut.js → ChevronRight-B2Q7Jvhc.js} +1 -1
- package/dist/assets/{Clear-Dlc-9DWf.js → Clear-qCnYuHnh.js} +1 -1
- package/dist/assets/{DeleteOutline-BhOUwdXS.js → DeleteOutline-Dn8mVtBJ.js} +1 -1
- package/dist/assets/{Done-C1cbOLHi.js → Done-Bd7Qoktx.js} +1 -1
- package/dist/assets/{Edit-BiTJ_KjV.js → Edit-CocnRfDA.js} +1 -1
- package/dist/assets/{ErrorOutline-4sjQjdBV.js → ErrorOutline-X5N6d-TD.js} +1 -1
- package/dist/assets/{FilterList-CB5ygxyd.js → FilterList-Dha3AtBY.js} +1 -1
- package/dist/assets/{Google-6vThGKTt.js → Google-B3-FCcJ0.js} +1 -1
- package/dist/assets/{HelpOutline-CZk-aBcI.js → HelpOutline-BQ8ouXl-.js} +1 -1
- package/dist/assets/{Launch-B3c_3Gel.js → Launch-C02pAMNp.js} +1 -1
- package/dist/assets/{Link-Cgon9Xrn.js → Link-l3qNgXG7.js} +1 -1
- package/dist/assets/{ListItemButton-jMBcbNte.js → ListItemButton-BW050ou6.js} +1 -1
- package/dist/assets/{ListSubheader-CMmlO3V5.js → ListSubheader-BVAPJzaT.js} +1 -1
- package/dist/assets/{LoadingButton-DYkZw4nw.js → LoadingButton-DYzghvY7.js} +1 -1
- package/dist/assets/{MoreVert-CMpySeUX.js → MoreVert-DmBGqPyu.js} +1 -1
- package/dist/assets/{OpenInNew-CyTIne34.js → OpenInNew-CcDiTani.js} +1 -1
- package/dist/assets/{Refresh-B86YU-L7.js → Refresh-B5FgMfiH.js} +1 -1
- package/dist/assets/{Search-CakjAHsl.js → Search-EzDWTLb6.js} +1 -1
- package/dist/assets/{Slider-Bk0hNnex.js → Slider-CMwedrru.js} +1 -1
- package/dist/assets/{Stepper-kB2cC2uX.js → Stepper-BYwsJNCO.js} +1 -1
- package/dist/assets/{Switch-C35CQPNX.js → Switch-CN6Pq8K6.js} +1 -1
- package/dist/assets/{TableSearch-tlB0KdiH.js → TableSearch-BWWSW-BJ.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-BY5K0I9H.js → ToggleButtonGroup-DbQ09e4I.js} +1 -1
- package/dist/assets/{Verified-8BQOmKhN.js → Verified-DMoicoou.js} +1 -1
- package/dist/assets/{VerifiedUser-C3zT6eme.js → VerifiedUser-CCkZGBnK.js} +1 -1
- package/dist/assets/{ViewList-Cg6IUewq.js → ViewList-BWZeV2Gk.js} +1 -1
- package/dist/assets/{_createAggregator-CERviSJJ.js → _createAggregator-_6ALE79J.js} +1 -1
- package/dist/assets/{actions-DAhdoDit.js → actions-BRNKk34x.js} +1 -1
- package/dist/assets/{actions-kYVPMjpQ.js → actions-DB62CH6N.js} +1 -1
- package/dist/assets/{agreement-BvW8niPg.js → agreement-Dk2WszhW.js} +1 -1
- package/dist/assets/api-Brufao3T.js +1 -0
- package/dist/assets/{appearance-BP0SlA2-.js → appearance-DRlgEwhp.js} +1 -1
- package/dist/assets/{audit-logs-YQNWEWN_.js → audit-logs-gSCMKPZX.js} +1 -1
- package/dist/assets/{base-chart-lE5R088Z.js → base-chart-ICc1_J71.js} +1 -1
- package/dist/assets/{blocklet-BpCVGTh1.js → blocklet-C5ug93-o.js} +1 -1
- package/dist/assets/{chain-DskUxqSB.js → chain-UeSk7d8Z.js} +1 -1
- package/dist/assets/{click-to-copy-DZupaZfV.js → click-to-copy-BM7id_Dj.js} +1 -1
- package/dist/assets/client-C2q_XTav.js +1 -0
- package/dist/assets/cloneDeep-Q6JZmqRS.js +1 -0
- package/dist/assets/{collapse-CQyDlofa.js → collapse-DgfvslQN.js} +1 -1
- package/dist/assets/{config-navigation-DZr7epFg.js → config-navigation-Bj7cuPHQ.js} +3 -3
- package/dist/assets/{connect-to-iQbrtWJK.js → connect-to-DRB_hA-X.js} +1 -1
- package/dist/assets/{cssMode-Bz2tVBbT.js → cssMode-D-xSRLdQ.js} +1 -1
- package/dist/assets/{delete-confirm-Dq-8SucE.js → delete-confirm-D9Sv7WF-.js} +1 -1
- package/dist/assets/{depsEqual-CwWQAml5.js → depsEqual-CkzEt2LH.js} +1 -1
- package/dist/assets/{detail-CAUSDhOq.js → detail-DXGT_NA8.js} +3 -3
- package/dist/assets/{domains-W7YLH2ee.js → domains-BG0mw1yr.js} +1 -1
- package/dist/assets/{download-YphI-3xt.js → download-LVifTlxG.js} +1 -1
- package/dist/assets/{edit.svg-CYDUx7ZV.js → edit.svg-Dj32W53g.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-DX8fZlll.js +1 -0
- package/dist/assets/engine-CHm0gCgx.js +1 -0
- package/dist/assets/{freemarker2-BX9Fcc4j.js → freemarker2-CPJBU0NN.js} +1 -1
- package/dist/assets/{get-safe-url-D2aauHxL.js → get-safe-url-szUNezig.js} +1 -1
- package/dist/assets/getValidReactChildren-B5LSt471.js +1 -0
- package/dist/assets/{graphqlMode-B0to6hpj.js → graphqlMode-QqBe_854.js} +2 -2
- package/dist/assets/{handlebars-Bymuwng1.js → handlebars-D6LSRcXL.js} +1 -1
- package/dist/assets/{html-B_3bem3W.js → html-BQj6gmuO.js} +1 -1
- package/dist/assets/{html-title-DEwAOeWD.js → html-title-dLxZv_ck.js} +1 -1
- package/dist/assets/{htmlMode--Ki-Kq9_.js → htmlMode-9Mh-laYW.js} +1 -1
- package/dist/assets/{iframe-CcjLvkwq.js → iframe-j_e7aQJ_.js} +1 -1
- package/dist/assets/{index-CsvNRgRO.js → index-2Y4W_SU9.js} +1 -1
- package/dist/assets/{index-CaMNt2-a.js → index-4WID2mM6.js} +3 -3
- package/dist/assets/{index-DBBUtBPu.js → index-BKw6baKq.js} +3 -3
- package/dist/assets/{index-DI4U5gkC.js → index-BLb0xwJ6.js} +1 -1
- package/dist/assets/{index-Ds_-AsoD.js → index-B_WsY2v6.js} +1 -1
- package/dist/assets/{index-DwKJqdNW.js → index-B_dkn6yg.js} +1 -1
- package/dist/assets/{index-BAjvF9xC.js → index-Bf4TErAm.js} +1 -1
- package/dist/assets/{index-C_DQMnWq.js → index-Bi7RMaEd.js} +1 -1
- package/dist/assets/{index-C-fEUgi8.js → index-BkSxbD4n.js} +1 -1
- package/dist/assets/{index-C3hODBlI.js → index-BlR2vbHf.js} +1 -1
- package/dist/assets/{index-LbF2UaY9.js → index-Brbs5Ee9.js} +1 -1
- package/dist/assets/{index-BBWovsES.js → index-CAsAvy9a.js} +1 -1
- package/dist/assets/{index-DgdQ1XiU.js → index-CEotnM9h.js} +1 -1
- package/dist/assets/{index-C3XE-MpN.js → index-CM70OVEi.js} +1 -1
- package/dist/assets/{index-CsnS7ouZ.js → index-CMSOvub6.js} +1 -1
- package/dist/assets/{index-RLCK1i_c.js → index-CSPsvEST.js} +1 -1
- package/dist/assets/{index-ClBqwxud.js → index-CTQmilbM.js} +1 -1
- package/dist/assets/{index-s_mG_qSG.js → index-CWUlq3DR.js} +1 -1
- package/dist/assets/index-CcqDlLxo.js +1 -0
- package/dist/assets/{index-xp9TgO8W.js → index-Cev2T36Z.js} +1 -1
- package/dist/assets/{index-yXBrH7y1.js → index-Ch4umUcL.js} +2 -2
- package/dist/assets/{index-B5IOQH2f.js → index-ClJz59db.js} +1 -1
- package/dist/assets/{index-KXE03DrB.js → index-CtzWGdpP.js} +1 -1
- package/dist/assets/{index-29sOnFy-.js → index-DBwtIPWD.js} +1 -1
- package/dist/assets/{index-7Tur3k77.js → index-DGD76f88.js} +3 -3
- package/dist/assets/{index-BzXk1fr7.js → index-DIIMZSCW.js} +1 -1
- package/dist/assets/{index-CClfMbBm.js → index-DOOErL_T.js} +1 -1
- package/dist/assets/{index-Cs-9ZUmI.js → index-DawayUhV.js} +1 -1
- package/dist/assets/{index-DnDMyDRt.js → index-Dawcg46z.js} +1 -1
- package/dist/assets/{index-OYOGgQkT.js → index-DbBA8Opk.js} +1 -1
- package/dist/assets/{index-Djt5Ndd-.js → index-Dc1-VDTo.js} +1 -1
- package/dist/assets/{index-ByWtDYAf.js → index-DePgjzjw.js} +1 -1
- package/dist/assets/{index-DYeLz0GS.js → index-DffAiPQe.js} +1 -1
- package/dist/assets/{index-DKAIxENA.js → index-Dlfe3MRN.js} +1 -1
- package/dist/assets/{index-DWPAiSsP.js → index-Dli_ptVH.js} +1 -1
- package/dist/assets/{index-CT4hS8Ps.js → index-DlmLBW9T.js} +1 -1
- package/dist/assets/{index-CqFgMqLF.js → index-DxSRYp7e.js} +1 -1
- package/dist/assets/{index-C8Ixe8v6.js → index-DzkZt1qB.js} +1 -1
- package/dist/assets/{index-Dg1SGjdc.js → index-IgcGH4MX.js} +3 -3
- package/dist/assets/{index-DVHI1DSL.js → index-PX024DiR.js} +1 -1
- package/dist/assets/{index-QEDJH-Vl.js → index-Qt4XnA3c.js} +9 -9
- package/dist/assets/{index-Dwpm5LZK.js → index-Rt3DyuiL.js} +3 -3
- package/dist/assets/{index-D3j5duAr.js → index-_ojHhzvd.js} +1 -1
- package/dist/assets/{index-DLoasbqG.js → index-fFbl14A9.js} +1 -1
- package/dist/assets/{index-BpUyVPiG.js → index-n9S8I32r.js} +1 -1
- package/dist/assets/{index.esm-DVmNiYyZ.js → index.esm-BFy0YeoC.js} +1 -1
- package/dist/assets/{install-from-url-DcTttlW9.js → install-from-url-JcQ2h8T2.js} +1 -1
- package/dist/assets/{invitation-CQYHboHJ.js → invitation-DZpcgyd4.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-BZECxfkh.js → is-path-prefix-equal-DZvtsqy9.js} +1 -1
- package/dist/assets/{item-Ck6hFBri.js → item-CMLWGqDe.js} +1 -1
- package/dist/assets/{javascript-D5oZbZJo.js → javascript-BmoNEOCg.js} +1 -1
- package/dist/assets/{jsonMode-Bv5Ty2e3.js → jsonMode-D3LJQKVH.js} +1 -1
- package/dist/assets/{liquid-GWZZUwnl.js → liquid-Bx_fLrtk.js} +1 -1
- package/dist/assets/{list-header-L81w9LDW.js → list-header-BoOI2cgE.js} +1 -1
- package/dist/assets/{log-BJE1Y9UF.js → log-G8oMzKVC.js} +1 -1
- package/dist/assets/{lottie-react.esm-DFICSgu6.js → lottie-react.esm-CXhw4p-e.js} +1 -1
- package/dist/assets/{mdx-CEZq2CUa.js → mdx-UTEeU4k2.js} +1 -1
- package/dist/assets/{memory-Dhx3CMrs.js → memory-DLpN9mec.js} +1 -1
- package/dist/assets/{metric-CMYz2pxc.js → metric-v-fVqaRi.js} +1 -1
- package/dist/assets/omit-e4TAtY_4.js +1 -0
- package/dist/assets/{overview-AacYdf9H.js → overview-Gs5GTPXR.js} +1 -1
- package/dist/assets/{permission-cmUR1MRV.js → permission-CmQ3sqza.js} +1 -1
- package/dist/assets/{preference-DhYcy4H5.js → preference-BvicmE2z.js} +3 -3
- package/dist/assets/{python-WZ8cCiOS.js → python-HjT9khJX.js} +1 -1
- package/dist/assets/{raf-schd.esm-Bzsa2fMz.js → raf-schd.esm-CW-6EvJe.js} +1 -1
- package/dist/assets/{razor-Cn1lMdfu.js → razor-DGCvjBRk.js} +1 -1
- package/dist/assets/{rotate-session-key-oydKzuJn.js → rotate-session-key-3wfqyd2S.js} +1 -1
- package/dist/assets/{runtime-D8fzW8JO.js → runtime-DPK_B-pc.js} +1 -1
- package/dist/assets/schema-BFgtnMru.js +1 -0
- package/dist/assets/sdk-CYe5vfwI.js +1 -0
- package/dist/assets/{service-B1Y04J8b.js → service-Cx_KbfAx.js} +1 -1
- package/dist/assets/{shorten-label-BbHhNufZ.js → shorten-label-C0OOzz7V.js} +1 -1
- package/dist/assets/{simple-select-yTrlHVPW.js → simple-select-BfG9VryR.js} +1 -1
- package/dist/assets/{spaces-C-9RPVr-.js → spaces-CYUn53wE.js} +1 -1
- package/dist/assets/{status-DIDvwK1d.js → status-BH3ZwqDm.js} +1 -1
- package/dist/assets/{status-CWFudjy0.js → status-CtbjGbBR.js} +1 -1
- package/dist/assets/{switch-control-BzCDvzgS.js → switch-control-HHWzNytf.js} +1 -1
- package/dist/assets/{table-icons-BZXmgjYG.js → table-icons-D7xWig3O.js} +1 -1
- package/dist/assets/{team-CyNH8K5f.js → team-CYsCWDBB.js} +1 -1
- package/dist/assets/{toLower-C9EOB2st.js → toLower-qNai6rUJ.js} +1 -1
- package/dist/assets/toUpper-CPcDyyzn.js +1 -0
- package/dist/assets/{traffic-D1EOcU5E.js → traffic-C4Otg1LB.js} +1 -1
- package/dist/assets/{tsMode-67m9aKyf.js → tsMode-CoEXf-Vb.js} +1 -1
- package/dist/assets/{typescript-CX-F6WmE.js → typescript-BkUWETnY.js} +1 -1
- package/dist/assets/{url-evaluation-BUVeRblQ.js → url-evaluation-AMb0E96i.js} +1 -1
- package/dist/assets/{url-join-DwveZVqa.js → url-join-C7ra7mdN.js} +1 -1
- package/dist/assets/{use-mobile-Cj728WwC.js → use-mobile-BWekYeAn.js} +1 -1
- package/dist/assets/{use-mobile-HmCA1dmf.js → use-mobile-Bs2h_30y.js} +1 -1
- package/dist/assets/{useAsync-Bx6qEeDb.js → useAsync-C40jTZwA.js} +1 -1
- package/dist/assets/{useAsyncRetry-CXqV4RUO.js → useAsyncRetry-HDhaOYDg.js} +1 -1
- package/dist/assets/{useLocalStorage-NmAhVhzO.js → useLocalStorage-CsxbUGjN.js} +1 -1
- package/dist/assets/{useThemeProps-CXV2oWwO.js → useThemeProps-CDgVsyx0.js} +1 -1
- package/dist/assets/{util-BIj8Qd-X.js → util-DBbVV_OO.js} +1 -1
- package/dist/assets/{wait-container-CoHxl4po.js → wait-container-LVgsA0yp.js} +1 -1
- package/dist/assets/{without-wallet-nANfpcr1.js → without-wallet-75ovFrd5.js} +1 -1
- package/dist/assets/{wrap-locale-CtGHgQSA.js → wrap-locale-B1WuVtPz.js} +1 -1
- package/dist/assets/{xml-BEPbAm3S.js → xml-yR9kngKY.js} +1 -1
- package/dist/assets/{yaml-BLJiRaTn.js → yaml-DVdwE6iC.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-DhLFwvMt.js +0 -1
- package/dist/assets/api-Dc7f4ZAc.js +0 -1
- package/dist/assets/client-24ssvgeD.js +0 -1
- package/dist/assets/cloneDeep-CIrr-uMk.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-Dht1fPXx.js +0 -1
- package/dist/assets/engine-r2tN7QxB.js +0 -1
- package/dist/assets/getValidReactChildren-CY1Eb7UA.js +0 -1
- package/dist/assets/index-CCJVzbT0.js +0 -1
- package/dist/assets/omit-YXAq2-cQ.js +0 -1
- package/dist/assets/schema-D-ePk-Q5.js +0 -1
- package/dist/assets/sdk-DhMPmFnB.js +0 -1
- package/dist/assets/toUpper-D5N_gWF1.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{fI as xo,c0 as en,r as N,fJ as Co,fs as tn,fK as So,cR as rn,aG as si,j as r,fL as To,fM as Eo,cr as Ge,bd as ai,by as Ve,N as ne,at as li,az as Ke,T as we,eN as jo,aP as Xe,fN as Po,m as Te,F as ci,fO as Lr,fP as Do,cV as ui,cq as di,bk as nn,dH as We,dF as fi,P as xt,aU as yt,fQ as Ro,C as Je,fR as Ct,ey as ke,fS as pi,fT as Io,fU as ko,fV as Oo,fW as Ao,fX as _o,fY as mi,fZ as No,f_ as Ur,f$ as Mo,g0 as Lo,g1 as Uo,g2 as qo,ez as qr,g3 as hi,eA as Fo,cE as jr,eB as Bo,dD as Vo,g4 as $o,bW as ct,bX as ut,cf as gi,dN as Oe,eZ as ue,bZ as zo,b8 as Ce,db as Ot,d5 as bi,b_ as Ue,b$ as nt,U as et,av as tt,dJ as vi,d8 as Ko,g5 as Ft,bg as yi,g6 as wi,o as y,bf as Ee,Q as St,t as lt,g7 as Wo,bn as Pe,R as Pr,S as Dr,g8 as At,g9 as Ho,H as qe,au as Tt,$ as Ze,D as Fr,X as ot,v as je,Y as He,ga as Yo,h as Rr,aW as Go,w as Zo,x as Qo,s as De,f4 as Xo,g as Et,ad as jt,bz as rt,gb as Jo,dE as es,dl as ts,f as rs,n as dt,E as $e,dw as ns,gc as is,eC as os,gd as xi,ge as _t,gf as ss,dG as on,b as Qe,W as Br,dI as as,bq as Vr,br as Ci,bs as $r,z as ls,dn as Dt,aE as cs,fH as Si,gg as Ti,aS as us,aF as ds,a9 as fs,y as ps,gh as ms,a4 as hs,bB as gs,V as bs,O as vs}from"./index-Dg1SGjdc.js";import{A as Nt}from"./Add-Cr3c4gAF.js";import{V as ys}from"./ViewList-Cg6IUewq.js";import{H as zr,g as ws}from"./index-DKAIxENA.js";import{u as xs}from"./use-mobile-HmCA1dmf.js";import{e as sn}from"./client-24ssvgeD.js";import{R as Ei,a as kt,W as ji,D as Cs}from"./url-evaluation-BUVeRblQ.js";import{u as Ae}from"./team-CyNH8K5f.js";import{u as Pi}from"./blocklet-BpCVGTh1.js";import{P as ze}from"./permission-cmUR1MRV.js";import{C as Bt}from"./click-to-copy-DZupaZfV.js";import{s as Ye,g as Ss,S as Ts,u as Fe,a as Di,b as Pt,c as Ri,d as Vt,e as Ii,f as Kr,P as ki,D as Oi,h as Mt,M as bt,i as Ai,j as an,k as wt,v as Es,l as js,m as ln,n as Ps,o as Ds,p as Rs,q as Is,C as ks,r as Os,t as Lt,w as st,x as Ut,y as cn,z as un,A as As,T as _s,B as Wr,E as Ns,F as Ms,G as Ls,H as Us,I as qs,J as Fs,K as Bs,L as Rt,N as at,O as _i,Q as Vs,V as Ir,R as Ni,U as $s,W as dn,X as zs,Y as Ks,Z as Ws,_ as Hs,$ as Ys,a0 as Gs}from"./AdapterDayjs-DJEE-wTy.js";import{u as _e}from"./useThemeProps-CXV2oWwO.js";import{a as fn,b as Zs,t as Qs,T as Xs}from"./html-title-DEwAOeWD.js";import{v as Re}from"./index-DwKJqdNW.js";import{u as Js,V as ea}from"./Verified-8BQOmKhN.js";import{D as ta}from"./DeleteOutline-BhOUwdXS.js";import{E as pn}from"./ErrorOutline-4sjQjdBV.js";import{y as Hr}from"./index-B5IOQH2f.js";import{S as ra}from"./Search-CakjAHsl.js";import{N as na}from"./index-C3hODBlI.js";import{b as ia}from"./sdk-DhMPmFnB.js";import{A as oa}from"./actions-kYVPMjpQ.js";import{S as sa}from"./shorten-label-BbHhNufZ.js";var mn={},hn;function aa(){return hn||(hn=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch{return null}}var c=function(t){for(var s=t,v=e(s);v;)s=v.ownerDocument,v=e(s);return s}(window.document),a=[],i=null,x=null;function C(t){this.time=t.time,this.target=t.target,this.rootBounds=h(t.rootBounds),this.boundingClientRect=h(t.boundingClientRect),this.intersectionRect=h(t.intersectionRect||f()),this.isIntersecting=!!t.intersectionRect;var s=this.boundingClientRect,v=s.width*s.height,j=this.intersectionRect,T=j.width*j.height;v?this.intersectionRatio=Number((T/v).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function u(t,s){var v=s||{};if(typeof t!="function")throw new Error("callback must be a function");if(v.root&&v.root.nodeType!=1&&v.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(v.rootMargin),this.thresholds=this._initThresholds(v.threshold),this.root=v.root||null,this.rootMargin=this._rootMarginValues.map(function(j){return j.value+j.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}u.prototype.THROTTLE_TIMEOUT=100,u.prototype.POLL_INTERVAL=null,u.prototype.USE_MUTATION_OBSERVER=!0,u._setupCrossOriginUpdater=function(){return i||(i=function(t,s){!t||!s?x=f():x=o(t,s),a.forEach(function(v){v._checkForIntersections()})}),i},u._resetCrossOriginUpdater=function(){i=null,x=null},u.prototype.observe=function(t){var s=this._observationTargets.some(function(v){return v.element==t});if(!s){if(!(t&&t.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},u.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(s){return s.element!=t}),this._unmonitorIntersections(t.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},u.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},u.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},u.prototype._initThresholds=function(t){var s=t||[0];return Array.isArray(s)||(s=[s]),s.sort().filter(function(v,j,T){if(typeof v!="number"||isNaN(v)||v<0||v>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return v!==T[j-1]})},u.prototype._parseRootMargin=function(t){var s=t||"0px",v=s.split(/\s+/).map(function(j){var T=/^(-?\d*\.?\d+)(px|%)$/.exec(j);if(!T)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(T[1]),unit:T[2]}});return v[1]=v[1]||v[0],v[2]=v[2]||v[0],v[3]=v[3]||v[1],v},u.prototype._monitorIntersections=function(t){var s=t.defaultView;if(s&&this._monitoringDocuments.indexOf(t)==-1){var v=this._checkForIntersections,j=null,T=null;this.POLL_INTERVAL?j=s.setInterval(v,this.POLL_INTERVAL):(d(s,"resize",v,!0),d(t,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in s&&(T=new s.MutationObserver(v),T.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var _=t.defaultView;_&&(j&&_.clearInterval(j),n(_,"resize",v,!0)),n(t,"scroll",v,!0),T&&T.disconnect()});var M=this.root&&(this.root.ownerDocument||this.root)||c;if(t!=M){var I=e(t);I&&this._monitorIntersections(I.ownerDocument)}}},u.prototype._unmonitorIntersections=function(t){var s=this._monitoringDocuments.indexOf(t);if(s!=-1){var v=this.root&&(this.root.ownerDocument||this.root)||c,j=this._observationTargets.some(function(I){var _=I.element.ownerDocument;if(_==t)return!0;for(;_&&_!=v;){var W=e(_);if(_=W&&W.ownerDocument,_==t)return!0}return!1});if(!j){var T=this._monitoringUnsubscribes[s];if(this._monitoringDocuments.splice(s,1),this._monitoringUnsubscribes.splice(s,1),T(),t!=v){var M=e(t);M&&this._unmonitorIntersections(M.ownerDocument)}}}},u.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var s=0;s<t.length;s++)t[s]()},u.prototype._checkForIntersections=function(){if(!(!this.root&&i&&!x)){var t=this._rootIsInDom(),s=t?this._getRootRect():f();this._observationTargets.forEach(function(v){var j=v.element,T=p(j),M=this._rootContainsTarget(j),I=v.entry,_=t&&M&&this._computeTargetAndRootIntersection(j,T,s),W=null;this._rootContainsTarget(j)?(!i||this.root)&&(W=s):W=f();var F=v.entry=new C({time:m(),target:j,boundingClientRect:T,rootBounds:W,intersectionRect:_});I?t&&M?this._hasCrossedThreshold(I,F)&&this._queuedEntries.push(F):I&&I.isIntersecting&&this._queuedEntries.push(F):this._queuedEntries.push(F)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},u.prototype._computeTargetAndRootIntersection=function(t,s,v){if(window.getComputedStyle(t).display!="none"){for(var j=s,T=b(t),M=!1;!M&&T;){var I=null,_=T.nodeType==1?window.getComputedStyle(T):{};if(_.display=="none")return null;if(T==this.root||T.nodeType==9)if(M=!0,T==this.root||T==c)i&&!this.root?!x||x.width==0&&x.height==0?(T=null,I=null,j=null):I=x:I=v;else{var W=b(T),F=W&&p(W),H=W&&this._computeTargetAndRootIntersection(W,F,v);F&&H?(T=W,I=o(F,H)):(T=null,j=null)}else{var se=T.ownerDocument;T!=se.body&&T!=se.documentElement&&_.overflow!="visible"&&(I=p(T))}if(I&&(j=E(I,j)),!j)break;T=T&&b(T)}return j}},u.prototype._getRootRect=function(){var t;if(this.root&&!g(this.root))t=p(this.root);else{var s=g(this.root)?this.root:c,v=s.documentElement,j=s.body;t={top:0,left:0,right:v.clientWidth||j.clientWidth,width:v.clientWidth||j.clientWidth,bottom:v.clientHeight||j.clientHeight,height:v.clientHeight||j.clientHeight}}return this._expandRectByRootMargin(t)},u.prototype._expandRectByRootMargin=function(t){var s=this._rootMarginValues.map(function(j,T){return j.unit=="px"?j.value:j.value*(T%2?t.width:t.height)/100}),v={top:t.top-s[0],right:t.right+s[1],bottom:t.bottom+s[2],left:t.left-s[3]};return v.width=v.right-v.left,v.height=v.bottom-v.top,v},u.prototype._hasCrossedThreshold=function(t,s){var v=t&&t.isIntersecting?t.intersectionRatio||0:-1,j=s.isIntersecting?s.intersectionRatio||0:-1;if(v!==j)for(var T=0;T<this.thresholds.length;T++){var M=this.thresholds[T];if(M==v||M==j||M<v!=M<j)return!0}},u.prototype._rootIsInDom=function(){return!this.root||w(c,this.root)},u.prototype._rootContainsTarget=function(t){var s=this.root&&(this.root.ownerDocument||this.root)||c;return w(s,t)&&(!this.root||s==t.ownerDocument)},u.prototype._registerInstance=function(){a.indexOf(this)<0&&a.push(this)},u.prototype._unregisterInstance=function(){var t=a.indexOf(this);t!=-1&&a.splice(t,1)};function m(){return window.performance&&performance.now&&performance.now()}function l(t,s){var v=null;return function(){v||(v=setTimeout(function(){t(),v=null},s))}}function d(t,s,v,j){typeof t.addEventListener=="function"?t.addEventListener(s,v,j):typeof t.attachEvent=="function"&&t.attachEvent("on"+s,v)}function n(t,s,v,j){typeof t.removeEventListener=="function"?t.removeEventListener(s,v,j):typeof t.detachEvent=="function"&&t.detachEvent("on"+s,v)}function E(t,s){var v=Math.max(t.top,s.top),j=Math.min(t.bottom,s.bottom),T=Math.max(t.left,s.left),M=Math.min(t.right,s.right),I=M-T,_=j-v;return I>=0&&_>=0&&{top:v,bottom:j,left:T,right:M,width:I,height:_}||null}function p(t){var s;try{s=t.getBoundingClientRect()}catch{}return s?(s.width&&s.height||(s={top:s.top,right:s.right,bottom:s.bottom,left:s.left,width:s.right-s.left,height:s.bottom-s.top}),s):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function o(t,s){var v=s.top-t.top,j=s.left-t.left;return{top:v,left:j,height:s.height,width:s.width,bottom:v+s.height,right:j+s.width}}function w(t,s){for(var v=s;v;){if(v==t)return!0;v=b(v)}return!1}function b(t){var s=t.parentNode;return t.nodeType==9&&t!=c?e(t):(s&&s.assignedSlot&&(s=s.assignedSlot.parentNode),s&&s.nodeType==11&&s.host?s.host:s)}function g(t){return t&&t.nodeType===9}window.IntersectionObserver=u,window.IntersectionObserverEntry=C}()),mn}aa();function la(e,c){var a={},i=a.callback,x=xo(a,["callback"]),C=en(N.useState(),2),u=C[0],m=C[1],l=en(N.useState(),2),d=l[0],n=l[1];return Co(function(){var E=Array.isArray(e)?e:[e],p=E.map(function(h){return tn(h)}).filter(Boolean);if(p.length){var f=new IntersectionObserver(function(h){var o,w;try{for(var b=So(h),g=b.next();!g.done;g=b.next()){var t=g.value;n(t.intersectionRatio),m(t.isIntersecting),i?.(t)}}catch(s){o={error:s}}finally{try{g&&!g.done&&(w=b.return)&&w.call(b)}finally{if(o)throw o.error}}},rn(rn({},x),{root:tn(void 0)}));return p.forEach(function(h){return f.observe(h)}),function(){f.disconnect()}}},[void 0,void 0,i],e),[u,d]}const ca=si(r.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"})),ua=si(r.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"})),Mi=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)"})),Li=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"})),Ui=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})),da=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)"})))),qi=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 Kt={},Wt,gn;function fa(){return gn||(gn=1,Wt=e=>encodeURIComponent(e).replace(/[!'()*]/g,c=>`%${c.charCodeAt(0).toString(16).toUpperCase()}`)),Wt}var Ht,bn;function pa(){if(bn)return Ht;bn=1;var e="%[a-f0-9]{2}",c=new RegExp("("+e+")|([^%]+?)","gi"),a=new RegExp("("+e+")+","gi");function i(u,m){try{return[decodeURIComponent(u.join(""))]}catch{}if(u.length===1)return u;m=m||1;var l=u.slice(0,m),d=u.slice(m);return Array.prototype.concat.call([],i(l),i(d))}function x(u){try{return decodeURIComponent(u)}catch{for(var m=u.match(c)||[],l=1;l<m.length;l++)u=i(m,l).join(""),m=u.match(c)||[];return u}}function C(u){for(var m={"%FE%FF":"��","%FF%FE":"��"},l=a.exec(u);l;){try{m[l[0]]=decodeURIComponent(l[0])}catch{var d=x(l[0]);d!==l[0]&&(m[l[0]]=d)}l=a.exec(u)}m["%C2"]="�";for(var n=Object.keys(m),E=0;E<n.length;E++){var p=n[E];u=u.replace(new RegExp(p,"g"),m[p])}return u}return Ht=function(u){if(typeof u!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof u+"`");try{return u=u.replace(/\+/g," "),decodeURIComponent(u)}catch{return C(u)}},Ht}var Yt,vn;function ma(){return vn||(vn=1,Yt=(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 a=e.indexOf(c);return a===-1?[e]:[e.slice(0,a),e.slice(a+c.length)]}),Yt}var Gt,yn;function ha(){return yn||(yn=1,Gt=function(e,c){for(var a={},i=Object.keys(e),x=Array.isArray(c),C=0;C<i.length;C++){var u=i[C],m=e[u];(x?c.indexOf(u)!==-1:c(u,m,e))&&(a[u]=m)}return a}),Gt}var wn;function ga(){return wn||(wn=1,function(e){const c=fa(),a=pa(),i=ma(),x=ha(),C=b=>b==null;function u(b){switch(b.arrayFormat){case"index":return g=>(t,s)=>{const v=t.length;return s===void 0||b.skipNull&&s===null||b.skipEmptyString&&s===""?t:s===null?[...t,[d(g,b),"[",v,"]"].join("")]:[...t,[d(g,b),"[",d(v,b),"]=",d(s,b)].join("")]};case"bracket":return g=>(t,s)=>s===void 0||b.skipNull&&s===null||b.skipEmptyString&&s===""?t:s===null?[...t,[d(g,b),"[]"].join("")]:[...t,[d(g,b),"[]=",d(s,b)].join("")];case"comma":case"separator":return g=>(t,s)=>s==null||s.length===0?t:t.length===0?[[d(g,b),"=",d(s,b)].join("")]:[[t,d(s,b)].join(b.arrayFormatSeparator)];default:return g=>(t,s)=>s===void 0||b.skipNull&&s===null||b.skipEmptyString&&s===""?t:s===null?[...t,d(g,b)]:[...t,[d(g,b),"=",d(s,b)].join("")]}}function m(b){let g;switch(b.arrayFormat){case"index":return(t,s,v)=>{if(g=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),!g){v[t]=s;return}v[t]===void 0&&(v[t]={}),v[t][g[1]]=s};case"bracket":return(t,s,v)=>{if(g=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),!g){v[t]=s;return}if(v[t]===void 0){v[t]=[s];return}v[t]=[].concat(v[t],s)};case"comma":case"separator":return(t,s,v)=>{const j=typeof s=="string"&&s.includes(b.arrayFormatSeparator),T=typeof s=="string"&&!j&&n(s,b).includes(b.arrayFormatSeparator);s=T?n(s,b):s;const M=j||T?s.split(b.arrayFormatSeparator).map(I=>n(I,b)):s===null?s:n(s,b);v[t]=M};default:return(t,s,v)=>{if(v[t]===void 0){v[t]=s;return}v[t]=[].concat(v[t],s)}}}function l(b){if(typeof b!="string"||b.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function d(b,g){return g.encode?g.strict?c(b):encodeURIComponent(b):b}function n(b,g){return g.decode?a(b):b}function E(b){return Array.isArray(b)?b.sort():typeof b=="object"?E(Object.keys(b)).sort((g,t)=>Number(g)-Number(t)).map(g=>b[g]):b}function p(b){const g=b.indexOf("#");return g!==-1&&(b=b.slice(0,g)),b}function f(b){let g="";const t=b.indexOf("#");return t!==-1&&(g=b.slice(t)),g}function h(b){b=p(b);const g=b.indexOf("?");return g===-1?"":b.slice(g+1)}function o(b,g){return g.parseNumbers&&!Number.isNaN(Number(b))&&typeof b=="string"&&b.trim()!==""?b=Number(b):g.parseBooleans&&b!==null&&(b.toLowerCase()==="true"||b.toLowerCase()==="false")&&(b=b.toLowerCase()==="true"),b}function w(b,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),l(g.arrayFormatSeparator);const t=m(g),s=Object.create(null);if(typeof b!="string"||(b=b.trim().replace(/^[?#&]/,""),!b))return s;for(const v of b.split("&")){if(v==="")continue;let[j,T]=i(g.decode?v.replace(/\+/g," "):v,"=");T=T===void 0?null:["comma","separator"].includes(g.arrayFormat)?T:n(T,g),t(n(j,g),T,s)}for(const v of Object.keys(s)){const j=s[v];if(typeof j=="object"&&j!==null)for(const T of Object.keys(j))j[T]=o(j[T],g);else s[v]=o(j,g)}return g.sort===!1?s:(g.sort===!0?Object.keys(s).sort():Object.keys(s).sort(g.sort)).reduce((v,j)=>{const T=s[j];return T&&typeof T=="object"&&!Array.isArray(T)?v[j]=E(T):v[j]=T,v},Object.create(null))}e.extract=h,e.parse=w,e.stringify=(b,g)=>{if(!b)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),l(g.arrayFormatSeparator);const t=T=>g.skipNull&&C(b[T])||g.skipEmptyString&&b[T]==="",s=u(g),v={};for(const T of Object.keys(b))t(T)||(v[T]=b[T]);const j=Object.keys(v);return g.sort!==!1&&j.sort(g.sort),j.map(T=>{const M=b[T];return M===void 0?"":M===null?d(T,g):Array.isArray(M)?M.reduce(s(T),[]).join("&"):d(T,g)+"="+d(M,g)}).filter(T=>T.length>0).join("&")},e.parseUrl=(b,g)=>{g=Object.assign({decode:!0},g);const[t,s]=i(b,"#");return Object.assign({url:t.split("?")[0]||"",query:w(h(b),g)},g&&g.parseFragmentIdentifier&&s?{fragmentIdentifier:n(s,g)}:{})},e.stringifyUrl=(b,g)=>{g=Object.assign({encode:!0,strict:!0},g);const t=p(b.url).split("?")[0]||"",s=e.extract(b.url),v=e.parse(s,{sort:!1}),j=Object.assign(v,b.query);let T=e.stringify(j,g);T&&(T=`?${T}`);let M=f(b.url);return b.fragmentIdentifier&&(M=`#${d(b.fragmentIdentifier,g)}`),`${t}${T}${M}`},e.pick=(b,g,t)=>{t=Object.assign({parseFragmentIdentifier:!0},t);const{url:s,query:v,fragmentIdentifier:j}=e.parseUrl(b,t);return e.stringifyUrl({url:s,query:x(v,g),fragmentIdentifier:j},t)},e.exclude=(b,g,t)=>{const s=Array.isArray(g)?v=>!g.includes(v):(v,j)=>!g(v,j);return e.pick(b,s,t)}}(Kt)),Kt}var Zt=ga();const mt=To,ba={parseNumbers:!1,parseBooleans:!1},va={skipNull:!1,skipEmptyString:!1},ya=(e,c)=>{var a,i;const{navigateMode:x="push",parseOptions:C,stringifyOptions:u}={},m=Object.assign(Object.assign({},ba),C),l=Object.assign(Object.assign({},va),u),d=mt.useLocation(),n=(a=mt.useHistory)===null||a===void 0?void 0:a.call(mt),E=(i=mt.useNavigate)===null||i===void 0?void 0:i.call(mt),p=Eo(),f=N.useRef(typeof e=="function"?e():e||{}),h=N.useMemo(()=>Zt.parse(d.search,m),[d.search]),o=N.useMemo(()=>Object.assign(Object.assign({},f.current),h),[h]);return[o,Ge(b=>{const g=typeof b=="function"?b(o):b;p(),n&&n[x]({hash:d.hash,search:Zt.stringify(Object.assign(Object.assign({},h),g),l)||"?"},d.state),E&&E({hash:d.hash,search:Zt.stringify(Object.assign(Object.assign({},h),g),l)||"?"},{replace:x==="replace",state:d.state})})]};var vt={exports:{}},wa=vt.exports,xn;function xa(){return xn||(xn=1,function(e,c){(function(a,i){var x="1.0.40",C="",u="?",m="function",l="undefined",d="object",n="string",E="major",p="model",f="name",h="type",o="vendor",w="version",b="architecture",g="console",t="mobile",s="tablet",v="smarttv",j="wearable",T="embedded",M=500,I="Amazon",_="Apple",W="ASUS",F="BlackBerry",H="Browser",se="Chrome",ie="Edge",me="Firefox",ve="Google",re="Huawei",A="LG",q="Microsoft",G="Motorola",K="Opera",Z="Samsung",k="Sharp",P="Sony",R="Xiaomi",B="Zebra",V="Facebook",z="Chromium OS",X="Mac OS",ce=" Browser",fe=function(O,U){var L={};for(var Q in O)U[Q]&&U[Q].length%2===0?L[Q]=U[Q].concat(O[Q]):L[Q]=O[Q];return L},pe=function(O){for(var U={},L=0;L<O.length;L++)U[O[L].toUpperCase()]=O[L];return U},he=function(O,U){return typeof O===n?ye(U).indexOf(ye(O))!==-1:!1},ye=function(O){return O.toLowerCase()},Se=function(O){return typeof O===n?O.replace(/[^\d\.]/g,C).split(".")[0]:i},xe=function(O,U){if(typeof O===n)return O=O.replace(/^\s\s*/,C),typeof U===l?O:O.substring(0,M)},be=function(O,U){for(var L=0,Q,oe,de,te,ee,ge;L<U.length&&!ee;){var Ne=U[L],Me=U[L+1];for(Q=oe=0;Q<Ne.length&&!ee&&Ne[Q];)if(ee=Ne[Q++].exec(O),ee)for(de=0;de<Me.length;de++)ge=ee[++oe],te=Me[de],typeof te===d&&te.length>0?te.length===2?typeof te[1]==m?this[te[0]]=te[1].call(this,ge):this[te[0]]=te[1]:te.length===3?typeof te[1]===m&&!(te[1].exec&&te[1].test)?this[te[0]]=ge?te[1].call(this,ge,te[2]):i:this[te[0]]=ge?ge.replace(te[1],te[2]):i:te.length===4&&(this[te[0]]=ge?te[3].call(this,ge.replace(te[1],te[2])):i):this[te]=ge||i;L+=2}},le=function(O,U){for(var L in U)if(typeof U[L]===d&&U[L].length>0){for(var Q=0;Q<U[L].length;Q++)if(he(U[L][Q],O))return L===u?i:L}else if(he(U[L],O))return L===u?i:L;return U.hasOwnProperty("*")?U["*"]:O},ae={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},J={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"},$={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,w],[/opios[\/ ]+([\w\.]+)/i],[w,[f,K+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[f,K+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[f,K]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[w,[f,"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],[f,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[f,"UC"+H]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[f,"Smart Lenovo "+H]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+H],w],[/\bfocus\/([\w\.]+)/i],[w,[f,me+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[f,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[f,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[f,"MIUI"+ce]],[/fxios\/([\w\.-]+)/i],[w,[f,me]],[/\bqihoobrowser\/?([\w\.]*)/i],[w,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+ce],w],[/samsungbrowser\/([\w\.]+)/i],[w,[f,Z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[w,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[w,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,V],w],[/(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],[f,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[f,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,se+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[f,"Android "+H]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[w,le,ae]],[/(webkit|khtml)\/([\w\.]+)/i],[f,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],w],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[f,me+" 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],[f,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,ye]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,C,ye]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,ye]]],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],[p,[o,Z],[h,s]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[p,[o,Z],[h,t]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[o,_],[h,t]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[o,_],[h,s]],[/(macintosh);/i],[p,[o,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[o,k],[h,t]],[/(?:honor)([-\w ]+)[;\)]/i],[p,[o,"Honor"],[h,t]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[o,re],[h,s]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[o,re],[h,t]],[/\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],[[p,/_/g," "],[o,R],[h,t]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[o,R],[h,s]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[o,"OPPO"],[h,t]],[/\b(opd2\d{3}a?) bui/i],[p,[o,"OPPO"],[h,s]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[o,"Vivo"],[h,t]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[p,[o,"Realme"],[h,t]],[/\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],[p,[o,G],[h,t]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[o,G],[h,s]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[o,A],[h,s]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[o,A],[h,t]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[o,"Lenovo"],[h,s]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[o,"Nokia"],[h,t]],[/(pixel c)\b/i],[p,[o,ve],[h,s]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[o,ve],[h,t]],[/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],[p,[o,P],[h,t]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[o,P],[h,s]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[o,"OnePlus"],[h,t]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[o,I],[h,s]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[o,I],[h,t]],[/(playbook);[-\w\),; ]+(rim)/i],[p,o,[h,s]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[o,F],[h,t]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[o,W],[h,s]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[o,W],[h,t]],[/(nexus 9)/i],[p,[o,"HTC"],[h,s]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[p,/_/g," "],[h,t]],[/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],[p,[o,"TCL"],[h,s]],[/(itel) ((\w+))/i],[[o,ye],p,[h,le,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[o,"Acer"],[h,s]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[o,"Meizu"],[h,t]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[p,[o,"Ulefone"],[h,t]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[p,[o,"Energizer"],[h,t]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[p,[o,"Cat"],[h,t]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[p,[o,"Smartfren"],[h,t]],[/droid.+; (a(?:015|06[35]|142p?))/i],[p,[o,"Nothing"],[h,t]],[/(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],[o,p,[h,t]],[/(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],[o,p,[h,s]],[/(surface duo)/i],[p,[o,q],[h,s]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[o,"Fairphone"],[h,t]],[/(u304aa)/i],[p,[o,"AT&T"],[h,t]],[/\bsie-(\w*)/i],[p,[o,"Siemens"],[h,t]],[/\b(rct\w+) b/i],[p,[o,"RCA"],[h,s]],[/\b(venue[\d ]{2,7}) b/i],[p,[o,"Dell"],[h,s]],[/\b(q(?:mv|ta)\w+) b/i],[p,[o,"Verizon"],[h,s]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[o,"Barnes & Noble"],[h,s]],[/\b(tm\d{3}\w+) b/i],[p,[o,"NuVision"],[h,s]],[/\b(k88) b/i],[p,[o,"ZTE"],[h,s]],[/\b(nx\d{3}j) b/i],[p,[o,"ZTE"],[h,t]],[/\b(gen\d{3}) b.+49h/i],[p,[o,"Swiss"],[h,t]],[/\b(zur\d{3}) b/i],[p,[o,"Swiss"],[h,s]],[/\b((zeki)?tb.*\b) b/i],[p,[o,"Zeki"],[h,s]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],p,[h,s]],[/\b(ns-?\w{0,9}) b/i],[p,[o,"Insignia"],[h,s]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[o,"NextBook"],[h,s]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],p,[h,t]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],p,[h,t]],[/\b(ph-1) /i],[p,[o,"Essential"],[h,t]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[o,"Envizen"],[h,s]],[/\b(trio[-\w\. ]+) b/i],[p,[o,"MachSpeed"],[h,s]],[/\btu_(1491) b/i],[p,[o,"Rotor"],[h,s]],[/(shield[\w ]+) b/i],[p,[o,"Nvidia"],[h,s]],[/(sprint) (\w+)/i],[o,p,[h,t]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[o,q],[h,t]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[o,B],[h,s]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[o,B],[h,t]],[/smart-tv.+(samsung)/i],[o,[h,v]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[o,Z],[h,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,A],[h,v]],[/(apple) ?tv/i],[o,[p,_+" TV"],[h,v]],[/crkey/i],[[p,se+"cast"],[o,ve],[h,v]],[/droid.+aft(\w+)( bui|\))/i],[p,[o,I],[h,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[o,k],[h,v]],[/(bravia[\w ]+)( bui|\))/i],[p,[o,P],[h,v]],[/(mitv-\w{5}) bui/i],[p,[o,R],[h,v]],[/Hbbtv.*(technisat) (.*);/i],[o,p,[h,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,xe],[p,xe],[h,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,p,[h,g]],[/droid.+; (shield) bui/i],[p,[o,"Nvidia"],[h,g]],[/(playstation [345portablevi]+)/i],[p,[o,P],[h,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[o,q],[h,g]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[p,[o,Z],[h,j]],[/((pebble))app/i],[o,p,[h,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[o,_],[h,j]],[/droid.+; (glass) \d/i],[p,[o,ve],[h,j]],[/droid.+; (wt63?0{2,3})\)/i],[p,[o,B],[h,j]],[/droid.+; (glass) \d/i],[p,[o,ve],[h,j]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,p,[h,j]],[/; (quest( \d| pro)?)/i],[p,[o,V],[h,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[h,T]],[/(aeobc)\b/i],[p,[o,I],[h,T]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[p,[h,t]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[h,s]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,s]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,t]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[f,ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[f,w],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[f,"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],[f,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[w,le,J]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,le,J],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,X],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,w],[/\(bb(10);/i],[w,[f,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[f,me+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[f,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],w],[/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],[f,w],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,w]]},Y=function(O,U){if(typeof O===d&&(U=O,O=i),!(this instanceof Y))return new Y(O,U).getResult();var L=typeof a!==l&&a.navigator?a.navigator:i,Q=O||(L&&L.userAgent?L.userAgent:C),oe=L&&L.userAgentData?L.userAgentData:i,de=U?fe($,U):$,te=L&&L.userAgent==Q;return this.getBrowser=function(){var ee={};return ee[f]=i,ee[w]=i,be.call(ee,Q,de.browser),ee[E]=Se(ee[w]),te&&L&&L.brave&&typeof L.brave.isBrave==m&&(ee[f]="Brave"),ee},this.getCPU=function(){var ee={};return ee[b]=i,be.call(ee,Q,de.cpu),ee},this.getDevice=function(){var ee={};return ee[o]=i,ee[p]=i,ee[h]=i,be.call(ee,Q,de.device),te&&!ee[h]&&oe&&oe.mobile&&(ee[h]=t),te&&ee[p]=="Macintosh"&&L&&typeof L.standalone!==l&&L.maxTouchPoints&&L.maxTouchPoints>2&&(ee[p]="iPad",ee[h]=s),ee},this.getEngine=function(){var ee={};return ee[f]=i,ee[w]=i,be.call(ee,Q,de.engine),ee},this.getOS=function(){var ee={};return ee[f]=i,ee[w]=i,be.call(ee,Q,de.os),te&&!ee[f]&&oe&&oe.platform&&oe.platform!="Unknown"&&(ee[f]=oe.platform.replace(/chrome os/i,z).replace(/macos/i,X)),ee},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 Q},this.setUA=function(ee){return Q=typeof ee===n&&ee.length>M?xe(ee,M):ee,this},this.setUA(Q),this};Y.VERSION=x,Y.BROWSER=pe([f,w,E]),Y.CPU=pe([b]),Y.DEVICE=pe([p,o,h,g,t,v,s,j,T]),Y.ENGINE=Y.OS=pe([f,w]),e.exports&&(c=e.exports=Y),c.UAParser=Y;var S=typeof a!==l&&(a.jQuery||a.Zepto);if(S&&!S.ua){var D=new Y;S.ua=D.getResult(),S.ua.get=function(){return D.getUA()},S.ua.set=function(O){D.setUA(O);var U=D.getResult();for(var L in U)S.ua[L]=U[L]}}})(typeof window=="object"?window:wa)}(vt,vt.exports)),vt.exports}var Ca=xa();const Qt=ai(Ca);function Sa({user:e,sessionUser:c}){const a=Ve(()=>(e?.passports||[])?.find(i=>i.name===c.role),[e?.passports,c?.role]);return r.jsxs(ne,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(li,{size:40,variant:"circle",shape:"circle",src:c.avatar,did:c.did,sx:{flexShrink:0}}),r.jsxs(ne,{sx:{flex:1,overflow:"hidden"},children:[r.jsxs(ne,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(Ke,{title:c.fullName,children:r.jsx(we,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:c.fullName})}),r.jsx(jo,{label:a?.title||a?.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"}})]}),r.jsx(Ke,{title:c.email,children:r.jsx(we,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:c.email})})]})]})}const Ta={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"}},Fi="Reserved IP",Cn="ip-region-cache";async function Ea(e){const c=`https://ipapi.co/${e}/json/`,a=await(await fetch(c)).json();let i="";return a.error?a.reserved&&(i=Fi):i=[a.country_name,a.region,a.city].filter(Boolean).join("/"),i}async function ja(e){const c=`https://api.ip.sb/geoip/${e}`,a=await(await fetch(c)).json();let i="";return a.error?a.reserved&&(i=Fi):i=[a.country,a.region,a.city].filter(Boolean).join("/"),i}async function Pa(e){let c="",a={};try{const i=localStorage.getItem(Cn);i&&(a=JSON.parse(i))}catch{a={}}if(a[e])c=a[e];else{try{c=await ja(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!c)try{c=await Ea(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(c){const i=Object.keys(a);i.length>100&&delete a[i[0]],a[e]&&delete a[e],a[e]=c,localStorage.setItem(Cn,JSON.stringify(a))}return c}const Sn=e=>new Qt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Qt.BROWSER.NAME,Qt.BROWSER.VERSION]]}).getResult(),Tn={display:"flex",justifyContent:"flex-end",textAlign:"right"},Da=new Ro({concurrency:1}),Ra=N.memo(({userSession:e,isMobile:c=!1})=>{const a=Xe({loading:!0,ipRegion:""}),{t:i}=Te();return N.useEffect(()=>{Da.add(async()=>{try{a.ipRegion=await Pa(e.lastLoginIp)}finally{a.loading=!1}})},[a,e.lastLoginIp]),r.jsx(ne,{...c&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:a.ipRegion?r.jsxs(r.Fragment,{children:[r.jsx(we,{variant:"body2",children:a.ipRegion}),r.jsx(we,{variant:"body2",color:"grey",children:e.lastLoginIp||i("unknown")})]}):r.jsxs(r.Fragment,{children:[r.jsx(we,{children:e.lastLoginIp||i("unknown")}),a.loading?r.jsx(we,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:r.jsx(Je,{size:12,color:"inherit"})}):null]})})});function Ia({user:e,showAction:c=!0,showUser:a=!0,getUserSessions:i,showOffline:x=!1,showAppPid:C=!1}){const u=Xe({status:"online",page:1,pageSize:10}),m=Xe({online:0,expired:0,offline:0}),l=Po(),{locale:d}=Te(),n=xs({key:"md"}),E=ci(I=>I.breakpoints.down("lg")),{confirmApi:p,confirmHolder:f}=Lr(),h=Ge((I,_={})=>Do(Ta,I,d,"en",_)),o=Ge(async()=>{const I=await i({page:u.page,pageSize:u.pageSize,status:u.status}),_=I?.paging?.total||0;return m[u.status]=_,{total:_,list:I?.list||[]}});ui(async()=>{const I=await i({page:1,pageSize:1,status:"expired"});m.expired=I?.paging?.total||0;const _=await i({page:1,pageSize:1,status:"offline"});m.offline=_?.paging?.total||0});const w=di(o,{refreshDeps:[u.status,u.page,u.pageSize]}),b=Ve(()=>w.data?.list||[],[w.data?.list]),g=Ve(()=>{const I=u.status;return I==="online"?m[I]<=1:m[I]===0},[b,l]),t=Ve(()=>nn({},n?Tn:{}),[n]),s=Ge(({visitorId:I})=>{p.open({title:h("logoutThisSession"),content:h("logoutThisSessionConfirm"),confirmButtonText:h("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:h("cancel"),onConfirm:async()=>{await sn.user.logout({visitorId:I,includeFederated:!0});const{page:_=0}=u,{list:W=[]}=w.data||{},F=W.length||0;_>1&&F===1&&(u.page=Math.max(_-1,1)),w.refresh(),p.close()}})}),v=Ge(()=>{p.open({title:h("logoutAllSession",{type:h(u.status)}),content:h("logoutAllSessionConfirm",{type:h(u.status)}),confirmButtonText:h("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:h("cancel"),onConfirm:async()=>{await sn.user.logout({status:u.status,visitorId:l,includeFederated:!0}),u.page=1,w.refresh(),p.close()}})}),j=[];c&&j.push(r.jsx(Ke,{title:h("logoutAllTips",{type:h(u.status)}),children:r.jsx(We,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:v,disabled:g,children:h("logoutAll",{type:h(u.status)})})},"logoutAll"));const T=Ve(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:u.page-1,rowsPerPage:u.pageSize,count:w.data?.total||0}),[w.data?.total,u.page,u.pageSize]),M=[{label:h("platform"),name:"platform",options:{customBodyRenderLite:I=>{const _=b[I],W=Sn(_?.ua);return r.jsx(ne,{sx:t,children:[W.os?.name,W.os?.version].filter(Boolean).join("/")||h("unknown")})}}},{label:h("deviceType"),name:"deviceType",options:{customBodyRenderLite:I=>{const _=b[I],W=Sn(_?.ua);return r.jsx(ne,{sx:t,children:[W.browser?.name,W.browser?.version].filter(Boolean).join("/")||h("unknown")})}}},{label:h("walletOS"),name:"walletOS",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:_.extra?.walletOS||h("unknown")})}}},C&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:I=>{const _=b[I];return _.appPid?r.jsx(fi,{size:14,responsive:!1,compact:!0,did:_.appPid}):null}}},a&&{label:h("user"),name:"user",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:nn({minWidth:150,maxWidth:250},n?Tn:{}),children:r.jsx(Sa,{sessionUser:_.user,user:e})})}}},{label:h("createdAt"),name:"createdAt",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:_.createdAt?r.jsx(xt,{value:_.createdAt,relativeRange:3*86400*1e3,locale:d}):h("unknown")})}}},!x&&{label:h("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:_.status==="expired"?h("expired"):r.jsx(xt,{value:_.updatedAt,relativeRange:3*86400*1e3,locale:d})})}}},{label:h("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(Ra,{userSession:_,isMobile:n})}}},c&&{label:h("actions"),name:"actions",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:r.jsx(We,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:l===_.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>s({visitorId:_.visitorId}),children:_.status==="expired"?h("remove"):l===_.visitorId?h("currentSession"):h("logout")})})}}}].filter(Boolean);return r.jsxs(ne,{className:"pc-user-sessions",sx:{maxWidth:n?"unset":E?"calc(100vw - 300px)":"100%",...n&&{".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",...n&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[f,r.jsx(zr,{count:w.data?.total||0,locale:d,data:b,columns:M,customButtons:j,options:T,loading:w.loading,className:"pc-user-sessions-table",title:r.jsxs(Ei,{row:!0,sx:{lineHeight:1,ml:1},onChange:I=>{u.status=I.target.value},children:[r.jsx(yt,{value:"online",control:r.jsx(kt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="online"}),label:r.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[h("online"),r.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.online,")"]})]})}),r.jsx(yt,{value:"expired",control:r.jsx(kt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="expired"}),label:r.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[h("expired"),r.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.expired,")"]})]})}),x?r.jsx(yt,{value:"offline",control:r.jsx(kt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="offline"}),label:r.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[h("offline"),r.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.offline,")"]})]})}):null]}),onChange:I=>{u.page=I.page+1,u.pageSize=I.rowsPerPage}})]})}var Xt={exports:{}},Jt={},En;function Bi(){if(En)return Jt;En=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(g)}function c(g,t,s){return Object.defineProperty(g,"prototype",{writable:!1}),g}function a(g,t){if(!(g instanceof t))throw new TypeError("Cannot call a class as a function")}function i(g,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(t&&t.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),t&&x(g,t)}function x(g,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,j){return v.__proto__=j,v},x(g,t)}function C(g){var t=l();return function(){var v=d(g),j;if(t){var T=d(this).constructor;j=Reflect.construct(v,arguments,T)}else j=v.apply(this,arguments);return u(this,j)}}function u(g,t){if(t&&(e(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return m(g)}function m(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function l(){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(g){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},d(g)}var n={},E,p;function f(g,t,s){s||(s=Error);function v(T,M,I){return typeof t=="string"?t:t(T,M,I)}var j=function(T){i(I,T);var M=C(I);function I(_,W,F){var H;return a(this,I),H=M.call(this,v(_,W,F)),H.code=g,H}return c(I)}(s);n[g]=j}function h(g,t){if(Array.isArray(g)){var s=g.length;return g=g.map(function(v){return String(v)}),s>2?"one of ".concat(t," ").concat(g.slice(0,s-1).join(", "),", or ")+g[s-1]:s===2?"one of ".concat(t," ").concat(g[0]," or ").concat(g[1]):"of ".concat(t," ").concat(g[0])}else return"of ".concat(t," ").concat(String(g))}function o(g,t,s){return g.substr(0,t.length)===t}function w(g,t,s){return(s===void 0||s>g.length)&&(s=g.length),g.substring(s-t.length,s)===t}function b(g,t,s){return typeof s!="number"&&(s=0),s+t.length>g.length?!1:g.indexOf(t,s)!==-1}return f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",function(g,t,s){E===void 0&&(E=kr()),E(typeof g=="string","'name' must be a string");var v;typeof t=="string"&&o(t,"not ")?(v="must not be",t=t.replace(/^not /,"")):v="must be";var j;if(w(g," argument"))j="The ".concat(g," ").concat(v," ").concat(h(t,"type"));else{var T=b(g,".")?"property":"argument";j='The "'.concat(g,'" ').concat(T," ").concat(v," ").concat(h(t,"type"))}return j+=". Received type ".concat(e(s)),j},TypeError),f("ERR_INVALID_ARG_VALUE",function(g,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";p===void 0&&(p=Ct());var v=p.inspect(t);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(s,". Received ").concat(v)},TypeError),f("ERR_INVALID_RETURN_VALUE",function(g,t,s){var v;return s&&s.constructor&&s.constructor.name?v="instance of ".concat(s.constructor.name):v="type ".concat(e(s)),"Expected ".concat(g,' to be returned from the "').concat(t,'"')+" function but got ".concat(v,".")},TypeError),f("ERR_MISSING_ARGS",function(){for(var g=arguments.length,t=new Array(g),s=0;s<g;s++)t[s]=arguments[s];E===void 0&&(E=kr()),E(t.length>0,"At least one arg needs to be specified");var v="The ",j=t.length;switch(t=t.map(function(T){return'"'.concat(T,'"')}),j){case 1:v+="".concat(t[0]," argument");break;case 2:v+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:v+=t.slice(0,j-1).join(", "),v+=", and ".concat(t[j-1]," arguments");break}return"".concat(v," must be specified")},TypeError),Jt.codes=n,Jt}var er,jn;function ka(){if(jn)return er;jn=1;function e(A,q){var G=Object.keys(A);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(A);q&&(K=K.filter(function(Z){return Object.getOwnPropertyDescriptor(A,Z).enumerable})),G.push.apply(G,K)}return G}function c(A){for(var q=1;q<arguments.length;q++){var G=arguments[q]!=null?arguments[q]:{};q%2?e(Object(G),!0).forEach(function(K){a(A,K,G[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(K){Object.defineProperty(A,K,Object.getOwnPropertyDescriptor(G,K))})}return A}function a(A,q,G){return q=u(q),q in A?Object.defineProperty(A,q,{value:G,enumerable:!0,configurable:!0,writable:!0}):A[q]=G,A}function i(A,q){if(!(A instanceof q))throw new TypeError("Cannot call a class as a function")}function x(A,q){for(var G=0;G<q.length;G++){var K=q[G];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(A,u(K.key),K)}}function C(A,q,G){return q&&x(A.prototype,q),Object.defineProperty(A,"prototype",{writable:!1}),A}function u(A){var q=m(A,"string");return g(q)==="symbol"?q:String(q)}function m(A,q){if(g(A)!=="object"||A===null)return A;var G=A[Symbol.toPrimitive];if(G!==void 0){var K=G.call(A,q);if(g(K)!=="object")return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}function l(A,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(q&&q.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),q&&w(A,q)}function d(A){var q=h();return function(){var K=b(A),Z;if(q){var k=b(this).constructor;Z=Reflect.construct(K,arguments,k)}else Z=K.apply(this,arguments);return n(this,Z)}}function n(A,q){if(q&&(g(q)==="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return E(A)}function E(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function p(A){var q=typeof Map=="function"?new Map:void 0;return p=function(K){if(K===null||!o(K))return K;if(typeof K!="function")throw new TypeError("Super expression must either be null or a function");if(typeof q<"u"){if(q.has(K))return q.get(K);q.set(K,Z)}function Z(){return f(K,arguments,b(this).constructor)}return Z.prototype=Object.create(K.prototype,{constructor:{value:Z,enumerable:!1,writable:!0,configurable:!0}}),w(Z,K)},p(A)}function f(A,q,G){return h()?f=Reflect.construct.bind():f=function(Z,k,P){var R=[null];R.push.apply(R,k);var B=Function.bind.apply(Z,R),V=new B;return P&&w(V,P.prototype),V},f.apply(null,arguments)}function h(){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 o(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function w(A,q){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(K,Z){return K.__proto__=Z,K},w(A,q)}function b(A){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},b(A)}function g(A){"@babel/helpers - typeof";return g=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},g(A)}var t=Ct(),s=t.inspect,v=Bi(),j=v.codes.ERR_INVALID_ARG_TYPE;function T(A,q,G){return(G===void 0||G>A.length)&&(G=A.length),A.substring(G-q.length,G)===q}function M(A,q){if(q=Math.floor(q),A.length==0||q==0)return"";var G=A.length*q;for(q=Math.floor(Math.log(q)/Math.log(2));q;)A+=A,q--;return A+=A.substring(0,G-A.length),A}var I="",_="",W="",F="",H={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:"},se=10;function ie(A){var q=Object.keys(A),G=Object.create(Object.getPrototypeOf(A));return q.forEach(function(K){G[K]=A[K]}),Object.defineProperty(G,"message",{value:A.message}),G}function me(A){return s(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function ve(A,q,G){var K="",Z="",k=0,P="",R=!1,B=me(A),V=B.split(`
|
|
1
|
+
import{fI as xo,c0 as en,r as N,fJ as Co,fs as tn,fK as So,cR as rn,aG as si,j as r,fL as To,fM as Eo,cr as Ge,bd as ai,by as Ve,N as ne,at as li,az as Ke,T as we,eN as jo,aP as Xe,fN as Po,m as Te,F as ci,fO as Lr,fP as Do,cV as ui,cq as di,bk as nn,dH as We,dF as fi,P as xt,aU as yt,fQ as Ro,C as Je,fR as Ct,ey as ke,fS as pi,fT as Io,fU as ko,fV as Oo,fW as Ao,fX as _o,fY as mi,fZ as No,f_ as Ur,f$ as Mo,g0 as Lo,g1 as Uo,g2 as qo,ez as qr,g3 as hi,eA as Fo,cE as jr,eB as Bo,dD as Vo,g4 as $o,bW as ct,bX as ut,cf as gi,dN as Oe,eZ as ue,bZ as zo,b8 as Ce,db as Ot,d5 as bi,b_ as Ue,b$ as nt,U as et,av as tt,dJ as vi,d8 as Ko,g5 as Ft,bg as yi,g6 as wi,o as y,bf as Ee,Q as St,t as lt,g7 as Wo,bn as Pe,R as Pr,S as Dr,g8 as At,g9 as Ho,H as qe,au as Tt,$ as Ze,D as Fr,X as ot,v as je,Y as He,ga as Yo,h as Rr,aW as Go,w as Zo,x as Qo,s as De,f4 as Xo,g as Et,ad as jt,bz as rt,gb as Jo,dE as es,dl as ts,f as rs,n as dt,E as $e,dw as ns,gc as is,eC as os,gd as xi,ge as _t,gf as ss,dG as on,b as Qe,W as Br,dI as as,bq as Vr,br as Ci,bs as $r,z as ls,dn as Dt,aE as cs,fH as Si,gg as Ti,aS as us,aF as ds,a9 as fs,y as ps,gh as ms,a4 as hs,bB as gs,V as bs,O as vs}from"./index-IgcGH4MX.js";import{A as Nt}from"./Add-C0YHZEMF.js";import{V as ys}from"./ViewList-BWZeV2Gk.js";import{H as zr,g as ws}from"./index-Dlfe3MRN.js";import{u as xs}from"./use-mobile-Bs2h_30y.js";import{e as sn}from"./client-C2q_XTav.js";import{R as Ei,a as kt,W as ji,D as Cs}from"./url-evaluation-AMb0E96i.js";import{u as Ae}from"./team-CYsCWDBB.js";import{u as Pi}from"./blocklet-C5ug93-o.js";import{P as ze}from"./permission-CmQ3sqza.js";import{C as Bt}from"./click-to-copy-BM7id_Dj.js";import{s as Ye,g as Ss,S as Ts,u as Fe,a as Di,b as Pt,c as Ri,d as Vt,e as Ii,f as Kr,P as ki,D as Oi,h as Mt,M as bt,i as Ai,j as an,k as wt,v as Es,l as js,m as ln,n as Ps,o as Ds,p as Rs,q as Is,C as ks,r as Os,t as Lt,w as st,x as Ut,y as cn,z as un,A as As,T as _s,B as Wr,E as Ns,F as Ms,G as Ls,H as Us,I as qs,J as Fs,K as Bs,L as Rt,N as at,O as _i,Q as Vs,V as Ir,R as Ni,U as $s,W as dn,X as zs,Y as Ks,Z as Ws,_ as Hs,$ as Ys,a0 as Gs}from"./AdapterDayjs-CIstrKVv.js";import{u as _e}from"./useThemeProps-CDgVsyx0.js";import{a as fn,b as Zs,t as Qs,T as Xs}from"./html-title-dLxZv_ck.js";import{v as Re}from"./index-B_dkn6yg.js";import{u as Js,V as ea}from"./Verified-DMoicoou.js";import{D as ta}from"./DeleteOutline-Dn8mVtBJ.js";import{E as pn}from"./ErrorOutline-X5N6d-TD.js";import{y as Hr}from"./index-ClJz59db.js";import{S as ra}from"./Search-EzDWTLb6.js";import{N as na}from"./index-BlR2vbHf.js";import{b as ia}from"./sdk-CYe5vfwI.js";import{A as oa}from"./actions-DB62CH6N.js";import{S as sa}from"./shorten-label-C0OOzz7V.js";var mn={},hn;function aa(){return hn||(hn=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch{return null}}var c=function(t){for(var s=t,v=e(s);v;)s=v.ownerDocument,v=e(s);return s}(window.document),a=[],i=null,x=null;function C(t){this.time=t.time,this.target=t.target,this.rootBounds=h(t.rootBounds),this.boundingClientRect=h(t.boundingClientRect),this.intersectionRect=h(t.intersectionRect||f()),this.isIntersecting=!!t.intersectionRect;var s=this.boundingClientRect,v=s.width*s.height,j=this.intersectionRect,T=j.width*j.height;v?this.intersectionRatio=Number((T/v).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function u(t,s){var v=s||{};if(typeof t!="function")throw new Error("callback must be a function");if(v.root&&v.root.nodeType!=1&&v.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(v.rootMargin),this.thresholds=this._initThresholds(v.threshold),this.root=v.root||null,this.rootMargin=this._rootMarginValues.map(function(j){return j.value+j.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}u.prototype.THROTTLE_TIMEOUT=100,u.prototype.POLL_INTERVAL=null,u.prototype.USE_MUTATION_OBSERVER=!0,u._setupCrossOriginUpdater=function(){return i||(i=function(t,s){!t||!s?x=f():x=o(t,s),a.forEach(function(v){v._checkForIntersections()})}),i},u._resetCrossOriginUpdater=function(){i=null,x=null},u.prototype.observe=function(t){var s=this._observationTargets.some(function(v){return v.element==t});if(!s){if(!(t&&t.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},u.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(s){return s.element!=t}),this._unmonitorIntersections(t.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},u.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},u.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},u.prototype._initThresholds=function(t){var s=t||[0];return Array.isArray(s)||(s=[s]),s.sort().filter(function(v,j,T){if(typeof v!="number"||isNaN(v)||v<0||v>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return v!==T[j-1]})},u.prototype._parseRootMargin=function(t){var s=t||"0px",v=s.split(/\s+/).map(function(j){var T=/^(-?\d*\.?\d+)(px|%)$/.exec(j);if(!T)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(T[1]),unit:T[2]}});return v[1]=v[1]||v[0],v[2]=v[2]||v[0],v[3]=v[3]||v[1],v},u.prototype._monitorIntersections=function(t){var s=t.defaultView;if(s&&this._monitoringDocuments.indexOf(t)==-1){var v=this._checkForIntersections,j=null,T=null;this.POLL_INTERVAL?j=s.setInterval(v,this.POLL_INTERVAL):(d(s,"resize",v,!0),d(t,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in s&&(T=new s.MutationObserver(v),T.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var _=t.defaultView;_&&(j&&_.clearInterval(j),n(_,"resize",v,!0)),n(t,"scroll",v,!0),T&&T.disconnect()});var M=this.root&&(this.root.ownerDocument||this.root)||c;if(t!=M){var I=e(t);I&&this._monitorIntersections(I.ownerDocument)}}},u.prototype._unmonitorIntersections=function(t){var s=this._monitoringDocuments.indexOf(t);if(s!=-1){var v=this.root&&(this.root.ownerDocument||this.root)||c,j=this._observationTargets.some(function(I){var _=I.element.ownerDocument;if(_==t)return!0;for(;_&&_!=v;){var W=e(_);if(_=W&&W.ownerDocument,_==t)return!0}return!1});if(!j){var T=this._monitoringUnsubscribes[s];if(this._monitoringDocuments.splice(s,1),this._monitoringUnsubscribes.splice(s,1),T(),t!=v){var M=e(t);M&&this._unmonitorIntersections(M.ownerDocument)}}}},u.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var s=0;s<t.length;s++)t[s]()},u.prototype._checkForIntersections=function(){if(!(!this.root&&i&&!x)){var t=this._rootIsInDom(),s=t?this._getRootRect():f();this._observationTargets.forEach(function(v){var j=v.element,T=p(j),M=this._rootContainsTarget(j),I=v.entry,_=t&&M&&this._computeTargetAndRootIntersection(j,T,s),W=null;this._rootContainsTarget(j)?(!i||this.root)&&(W=s):W=f();var F=v.entry=new C({time:m(),target:j,boundingClientRect:T,rootBounds:W,intersectionRect:_});I?t&&M?this._hasCrossedThreshold(I,F)&&this._queuedEntries.push(F):I&&I.isIntersecting&&this._queuedEntries.push(F):this._queuedEntries.push(F)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},u.prototype._computeTargetAndRootIntersection=function(t,s,v){if(window.getComputedStyle(t).display!="none"){for(var j=s,T=b(t),M=!1;!M&&T;){var I=null,_=T.nodeType==1?window.getComputedStyle(T):{};if(_.display=="none")return null;if(T==this.root||T.nodeType==9)if(M=!0,T==this.root||T==c)i&&!this.root?!x||x.width==0&&x.height==0?(T=null,I=null,j=null):I=x:I=v;else{var W=b(T),F=W&&p(W),H=W&&this._computeTargetAndRootIntersection(W,F,v);F&&H?(T=W,I=o(F,H)):(T=null,j=null)}else{var se=T.ownerDocument;T!=se.body&&T!=se.documentElement&&_.overflow!="visible"&&(I=p(T))}if(I&&(j=E(I,j)),!j)break;T=T&&b(T)}return j}},u.prototype._getRootRect=function(){var t;if(this.root&&!g(this.root))t=p(this.root);else{var s=g(this.root)?this.root:c,v=s.documentElement,j=s.body;t={top:0,left:0,right:v.clientWidth||j.clientWidth,width:v.clientWidth||j.clientWidth,bottom:v.clientHeight||j.clientHeight,height:v.clientHeight||j.clientHeight}}return this._expandRectByRootMargin(t)},u.prototype._expandRectByRootMargin=function(t){var s=this._rootMarginValues.map(function(j,T){return j.unit=="px"?j.value:j.value*(T%2?t.width:t.height)/100}),v={top:t.top-s[0],right:t.right+s[1],bottom:t.bottom+s[2],left:t.left-s[3]};return v.width=v.right-v.left,v.height=v.bottom-v.top,v},u.prototype._hasCrossedThreshold=function(t,s){var v=t&&t.isIntersecting?t.intersectionRatio||0:-1,j=s.isIntersecting?s.intersectionRatio||0:-1;if(v!==j)for(var T=0;T<this.thresholds.length;T++){var M=this.thresholds[T];if(M==v||M==j||M<v!=M<j)return!0}},u.prototype._rootIsInDom=function(){return!this.root||w(c,this.root)},u.prototype._rootContainsTarget=function(t){var s=this.root&&(this.root.ownerDocument||this.root)||c;return w(s,t)&&(!this.root||s==t.ownerDocument)},u.prototype._registerInstance=function(){a.indexOf(this)<0&&a.push(this)},u.prototype._unregisterInstance=function(){var t=a.indexOf(this);t!=-1&&a.splice(t,1)};function m(){return window.performance&&performance.now&&performance.now()}function l(t,s){var v=null;return function(){v||(v=setTimeout(function(){t(),v=null},s))}}function d(t,s,v,j){typeof t.addEventListener=="function"?t.addEventListener(s,v,j):typeof t.attachEvent=="function"&&t.attachEvent("on"+s,v)}function n(t,s,v,j){typeof t.removeEventListener=="function"?t.removeEventListener(s,v,j):typeof t.detachEvent=="function"&&t.detachEvent("on"+s,v)}function E(t,s){var v=Math.max(t.top,s.top),j=Math.min(t.bottom,s.bottom),T=Math.max(t.left,s.left),M=Math.min(t.right,s.right),I=M-T,_=j-v;return I>=0&&_>=0&&{top:v,bottom:j,left:T,right:M,width:I,height:_}||null}function p(t){var s;try{s=t.getBoundingClientRect()}catch{}return s?(s.width&&s.height||(s={top:s.top,right:s.right,bottom:s.bottom,left:s.left,width:s.right-s.left,height:s.bottom-s.top}),s):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function o(t,s){var v=s.top-t.top,j=s.left-t.left;return{top:v,left:j,height:s.height,width:s.width,bottom:v+s.height,right:j+s.width}}function w(t,s){for(var v=s;v;){if(v==t)return!0;v=b(v)}return!1}function b(t){var s=t.parentNode;return t.nodeType==9&&t!=c?e(t):(s&&s.assignedSlot&&(s=s.assignedSlot.parentNode),s&&s.nodeType==11&&s.host?s.host:s)}function g(t){return t&&t.nodeType===9}window.IntersectionObserver=u,window.IntersectionObserverEntry=C}()),mn}aa();function la(e,c){var a={},i=a.callback,x=xo(a,["callback"]),C=en(N.useState(),2),u=C[0],m=C[1],l=en(N.useState(),2),d=l[0],n=l[1];return Co(function(){var E=Array.isArray(e)?e:[e],p=E.map(function(h){return tn(h)}).filter(Boolean);if(p.length){var f=new IntersectionObserver(function(h){var o,w;try{for(var b=So(h),g=b.next();!g.done;g=b.next()){var t=g.value;n(t.intersectionRatio),m(t.isIntersecting),i?.(t)}}catch(s){o={error:s}}finally{try{g&&!g.done&&(w=b.return)&&w.call(b)}finally{if(o)throw o.error}}},rn(rn({},x),{root:tn(void 0)}));return p.forEach(function(h){return f.observe(h)}),function(){f.disconnect()}}},[void 0,void 0,i],e),[u,d]}const ca=si(r.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"})),ua=si(r.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"})),Mi=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)"})),Li=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"})),Ui=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})),da=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)"})))),qi=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 Kt={},Wt,gn;function fa(){return gn||(gn=1,Wt=e=>encodeURIComponent(e).replace(/[!'()*]/g,c=>`%${c.charCodeAt(0).toString(16).toUpperCase()}`)),Wt}var Ht,bn;function pa(){if(bn)return Ht;bn=1;var e="%[a-f0-9]{2}",c=new RegExp("("+e+")|([^%]+?)","gi"),a=new RegExp("("+e+")+","gi");function i(u,m){try{return[decodeURIComponent(u.join(""))]}catch{}if(u.length===1)return u;m=m||1;var l=u.slice(0,m),d=u.slice(m);return Array.prototype.concat.call([],i(l),i(d))}function x(u){try{return decodeURIComponent(u)}catch{for(var m=u.match(c)||[],l=1;l<m.length;l++)u=i(m,l).join(""),m=u.match(c)||[];return u}}function C(u){for(var m={"%FE%FF":"��","%FF%FE":"��"},l=a.exec(u);l;){try{m[l[0]]=decodeURIComponent(l[0])}catch{var d=x(l[0]);d!==l[0]&&(m[l[0]]=d)}l=a.exec(u)}m["%C2"]="�";for(var n=Object.keys(m),E=0;E<n.length;E++){var p=n[E];u=u.replace(new RegExp(p,"g"),m[p])}return u}return Ht=function(u){if(typeof u!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof u+"`");try{return u=u.replace(/\+/g," "),decodeURIComponent(u)}catch{return C(u)}},Ht}var Yt,vn;function ma(){return vn||(vn=1,Yt=(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 a=e.indexOf(c);return a===-1?[e]:[e.slice(0,a),e.slice(a+c.length)]}),Yt}var Gt,yn;function ha(){return yn||(yn=1,Gt=function(e,c){for(var a={},i=Object.keys(e),x=Array.isArray(c),C=0;C<i.length;C++){var u=i[C],m=e[u];(x?c.indexOf(u)!==-1:c(u,m,e))&&(a[u]=m)}return a}),Gt}var wn;function ga(){return wn||(wn=1,function(e){const c=fa(),a=pa(),i=ma(),x=ha(),C=b=>b==null;function u(b){switch(b.arrayFormat){case"index":return g=>(t,s)=>{const v=t.length;return s===void 0||b.skipNull&&s===null||b.skipEmptyString&&s===""?t:s===null?[...t,[d(g,b),"[",v,"]"].join("")]:[...t,[d(g,b),"[",d(v,b),"]=",d(s,b)].join("")]};case"bracket":return g=>(t,s)=>s===void 0||b.skipNull&&s===null||b.skipEmptyString&&s===""?t:s===null?[...t,[d(g,b),"[]"].join("")]:[...t,[d(g,b),"[]=",d(s,b)].join("")];case"comma":case"separator":return g=>(t,s)=>s==null||s.length===0?t:t.length===0?[[d(g,b),"=",d(s,b)].join("")]:[[t,d(s,b)].join(b.arrayFormatSeparator)];default:return g=>(t,s)=>s===void 0||b.skipNull&&s===null||b.skipEmptyString&&s===""?t:s===null?[...t,d(g,b)]:[...t,[d(g,b),"=",d(s,b)].join("")]}}function m(b){let g;switch(b.arrayFormat){case"index":return(t,s,v)=>{if(g=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),!g){v[t]=s;return}v[t]===void 0&&(v[t]={}),v[t][g[1]]=s};case"bracket":return(t,s,v)=>{if(g=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),!g){v[t]=s;return}if(v[t]===void 0){v[t]=[s];return}v[t]=[].concat(v[t],s)};case"comma":case"separator":return(t,s,v)=>{const j=typeof s=="string"&&s.includes(b.arrayFormatSeparator),T=typeof s=="string"&&!j&&n(s,b).includes(b.arrayFormatSeparator);s=T?n(s,b):s;const M=j||T?s.split(b.arrayFormatSeparator).map(I=>n(I,b)):s===null?s:n(s,b);v[t]=M};default:return(t,s,v)=>{if(v[t]===void 0){v[t]=s;return}v[t]=[].concat(v[t],s)}}}function l(b){if(typeof b!="string"||b.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function d(b,g){return g.encode?g.strict?c(b):encodeURIComponent(b):b}function n(b,g){return g.decode?a(b):b}function E(b){return Array.isArray(b)?b.sort():typeof b=="object"?E(Object.keys(b)).sort((g,t)=>Number(g)-Number(t)).map(g=>b[g]):b}function p(b){const g=b.indexOf("#");return g!==-1&&(b=b.slice(0,g)),b}function f(b){let g="";const t=b.indexOf("#");return t!==-1&&(g=b.slice(t)),g}function h(b){b=p(b);const g=b.indexOf("?");return g===-1?"":b.slice(g+1)}function o(b,g){return g.parseNumbers&&!Number.isNaN(Number(b))&&typeof b=="string"&&b.trim()!==""?b=Number(b):g.parseBooleans&&b!==null&&(b.toLowerCase()==="true"||b.toLowerCase()==="false")&&(b=b.toLowerCase()==="true"),b}function w(b,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),l(g.arrayFormatSeparator);const t=m(g),s=Object.create(null);if(typeof b!="string"||(b=b.trim().replace(/^[?#&]/,""),!b))return s;for(const v of b.split("&")){if(v==="")continue;let[j,T]=i(g.decode?v.replace(/\+/g," "):v,"=");T=T===void 0?null:["comma","separator"].includes(g.arrayFormat)?T:n(T,g),t(n(j,g),T,s)}for(const v of Object.keys(s)){const j=s[v];if(typeof j=="object"&&j!==null)for(const T of Object.keys(j))j[T]=o(j[T],g);else s[v]=o(j,g)}return g.sort===!1?s:(g.sort===!0?Object.keys(s).sort():Object.keys(s).sort(g.sort)).reduce((v,j)=>{const T=s[j];return T&&typeof T=="object"&&!Array.isArray(T)?v[j]=E(T):v[j]=T,v},Object.create(null))}e.extract=h,e.parse=w,e.stringify=(b,g)=>{if(!b)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),l(g.arrayFormatSeparator);const t=T=>g.skipNull&&C(b[T])||g.skipEmptyString&&b[T]==="",s=u(g),v={};for(const T of Object.keys(b))t(T)||(v[T]=b[T]);const j=Object.keys(v);return g.sort!==!1&&j.sort(g.sort),j.map(T=>{const M=b[T];return M===void 0?"":M===null?d(T,g):Array.isArray(M)?M.reduce(s(T),[]).join("&"):d(T,g)+"="+d(M,g)}).filter(T=>T.length>0).join("&")},e.parseUrl=(b,g)=>{g=Object.assign({decode:!0},g);const[t,s]=i(b,"#");return Object.assign({url:t.split("?")[0]||"",query:w(h(b),g)},g&&g.parseFragmentIdentifier&&s?{fragmentIdentifier:n(s,g)}:{})},e.stringifyUrl=(b,g)=>{g=Object.assign({encode:!0,strict:!0},g);const t=p(b.url).split("?")[0]||"",s=e.extract(b.url),v=e.parse(s,{sort:!1}),j=Object.assign(v,b.query);let T=e.stringify(j,g);T&&(T=`?${T}`);let M=f(b.url);return b.fragmentIdentifier&&(M=`#${d(b.fragmentIdentifier,g)}`),`${t}${T}${M}`},e.pick=(b,g,t)=>{t=Object.assign({parseFragmentIdentifier:!0},t);const{url:s,query:v,fragmentIdentifier:j}=e.parseUrl(b,t);return e.stringifyUrl({url:s,query:x(v,g),fragmentIdentifier:j},t)},e.exclude=(b,g,t)=>{const s=Array.isArray(g)?v=>!g.includes(v):(v,j)=>!g(v,j);return e.pick(b,s,t)}}(Kt)),Kt}var Zt=ga();const mt=To,ba={parseNumbers:!1,parseBooleans:!1},va={skipNull:!1,skipEmptyString:!1},ya=(e,c)=>{var a,i;const{navigateMode:x="push",parseOptions:C,stringifyOptions:u}={},m=Object.assign(Object.assign({},ba),C),l=Object.assign(Object.assign({},va),u),d=mt.useLocation(),n=(a=mt.useHistory)===null||a===void 0?void 0:a.call(mt),E=(i=mt.useNavigate)===null||i===void 0?void 0:i.call(mt),p=Eo(),f=N.useRef(typeof e=="function"?e():e||{}),h=N.useMemo(()=>Zt.parse(d.search,m),[d.search]),o=N.useMemo(()=>Object.assign(Object.assign({},f.current),h),[h]);return[o,Ge(b=>{const g=typeof b=="function"?b(o):b;p(),n&&n[x]({hash:d.hash,search:Zt.stringify(Object.assign(Object.assign({},h),g),l)||"?"},d.state),E&&E({hash:d.hash,search:Zt.stringify(Object.assign(Object.assign({},h),g),l)||"?"},{replace:x==="replace",state:d.state})})]};var vt={exports:{}},wa=vt.exports,xn;function xa(){return xn||(xn=1,function(e,c){(function(a,i){var x="1.0.40",C="",u="?",m="function",l="undefined",d="object",n="string",E="major",p="model",f="name",h="type",o="vendor",w="version",b="architecture",g="console",t="mobile",s="tablet",v="smarttv",j="wearable",T="embedded",M=500,I="Amazon",_="Apple",W="ASUS",F="BlackBerry",H="Browser",se="Chrome",ie="Edge",me="Firefox",ve="Google",re="Huawei",A="LG",q="Microsoft",G="Motorola",K="Opera",Z="Samsung",k="Sharp",P="Sony",R="Xiaomi",B="Zebra",V="Facebook",z="Chromium OS",X="Mac OS",ce=" Browser",fe=function(O,U){var L={};for(var Q in O)U[Q]&&U[Q].length%2===0?L[Q]=U[Q].concat(O[Q]):L[Q]=O[Q];return L},pe=function(O){for(var U={},L=0;L<O.length;L++)U[O[L].toUpperCase()]=O[L];return U},he=function(O,U){return typeof O===n?ye(U).indexOf(ye(O))!==-1:!1},ye=function(O){return O.toLowerCase()},Se=function(O){return typeof O===n?O.replace(/[^\d\.]/g,C).split(".")[0]:i},xe=function(O,U){if(typeof O===n)return O=O.replace(/^\s\s*/,C),typeof U===l?O:O.substring(0,M)},be=function(O,U){for(var L=0,Q,oe,de,te,ee,ge;L<U.length&&!ee;){var Ne=U[L],Me=U[L+1];for(Q=oe=0;Q<Ne.length&&!ee&&Ne[Q];)if(ee=Ne[Q++].exec(O),ee)for(de=0;de<Me.length;de++)ge=ee[++oe],te=Me[de],typeof te===d&&te.length>0?te.length===2?typeof te[1]==m?this[te[0]]=te[1].call(this,ge):this[te[0]]=te[1]:te.length===3?typeof te[1]===m&&!(te[1].exec&&te[1].test)?this[te[0]]=ge?te[1].call(this,ge,te[2]):i:this[te[0]]=ge?ge.replace(te[1],te[2]):i:te.length===4&&(this[te[0]]=ge?te[3].call(this,ge.replace(te[1],te[2])):i):this[te]=ge||i;L+=2}},le=function(O,U){for(var L in U)if(typeof U[L]===d&&U[L].length>0){for(var Q=0;Q<U[L].length;Q++)if(he(U[L][Q],O))return L===u?i:L}else if(he(U[L],O))return L===u?i:L;return U.hasOwnProperty("*")?U["*"]:O},ae={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},J={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"},$={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,w],[/opios[\/ ]+([\w\.]+)/i],[w,[f,K+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[f,K+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[f,K]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[w,[f,"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],[f,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[f,"UC"+H]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[f,"Smart Lenovo "+H]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+H],w],[/\bfocus\/([\w\.]+)/i],[w,[f,me+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[f,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[f,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[f,"MIUI"+ce]],[/fxios\/([\w\.-]+)/i],[w,[f,me]],[/\bqihoobrowser\/?([\w\.]*)/i],[w,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+ce],w],[/samsungbrowser\/([\w\.]+)/i],[w,[f,Z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[w,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[w,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,V],w],[/(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],[f,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[f,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,se+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[f,"Android "+H]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[w,le,ae]],[/(webkit|khtml)\/([\w\.]+)/i],[f,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],w],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[f,me+" 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],[f,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,ye]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,C,ye]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,ye]]],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],[p,[o,Z],[h,s]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[p,[o,Z],[h,t]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[o,_],[h,t]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[o,_],[h,s]],[/(macintosh);/i],[p,[o,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[o,k],[h,t]],[/(?:honor)([-\w ]+)[;\)]/i],[p,[o,"Honor"],[h,t]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[o,re],[h,s]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[o,re],[h,t]],[/\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],[[p,/_/g," "],[o,R],[h,t]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[o,R],[h,s]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[o,"OPPO"],[h,t]],[/\b(opd2\d{3}a?) bui/i],[p,[o,"OPPO"],[h,s]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[o,"Vivo"],[h,t]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[p,[o,"Realme"],[h,t]],[/\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],[p,[o,G],[h,t]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[o,G],[h,s]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[o,A],[h,s]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[o,A],[h,t]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[o,"Lenovo"],[h,s]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[o,"Nokia"],[h,t]],[/(pixel c)\b/i],[p,[o,ve],[h,s]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[o,ve],[h,t]],[/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],[p,[o,P],[h,t]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[o,P],[h,s]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[o,"OnePlus"],[h,t]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[o,I],[h,s]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[o,I],[h,t]],[/(playbook);[-\w\),; ]+(rim)/i],[p,o,[h,s]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[o,F],[h,t]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[o,W],[h,s]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[o,W],[h,t]],[/(nexus 9)/i],[p,[o,"HTC"],[h,s]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[p,/_/g," "],[h,t]],[/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],[p,[o,"TCL"],[h,s]],[/(itel) ((\w+))/i],[[o,ye],p,[h,le,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[o,"Acer"],[h,s]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[o,"Meizu"],[h,t]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[p,[o,"Ulefone"],[h,t]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[p,[o,"Energizer"],[h,t]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[p,[o,"Cat"],[h,t]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[p,[o,"Smartfren"],[h,t]],[/droid.+; (a(?:015|06[35]|142p?))/i],[p,[o,"Nothing"],[h,t]],[/(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],[o,p,[h,t]],[/(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],[o,p,[h,s]],[/(surface duo)/i],[p,[o,q],[h,s]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[o,"Fairphone"],[h,t]],[/(u304aa)/i],[p,[o,"AT&T"],[h,t]],[/\bsie-(\w*)/i],[p,[o,"Siemens"],[h,t]],[/\b(rct\w+) b/i],[p,[o,"RCA"],[h,s]],[/\b(venue[\d ]{2,7}) b/i],[p,[o,"Dell"],[h,s]],[/\b(q(?:mv|ta)\w+) b/i],[p,[o,"Verizon"],[h,s]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[o,"Barnes & Noble"],[h,s]],[/\b(tm\d{3}\w+) b/i],[p,[o,"NuVision"],[h,s]],[/\b(k88) b/i],[p,[o,"ZTE"],[h,s]],[/\b(nx\d{3}j) b/i],[p,[o,"ZTE"],[h,t]],[/\b(gen\d{3}) b.+49h/i],[p,[o,"Swiss"],[h,t]],[/\b(zur\d{3}) b/i],[p,[o,"Swiss"],[h,s]],[/\b((zeki)?tb.*\b) b/i],[p,[o,"Zeki"],[h,s]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],p,[h,s]],[/\b(ns-?\w{0,9}) b/i],[p,[o,"Insignia"],[h,s]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[o,"NextBook"],[h,s]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],p,[h,t]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],p,[h,t]],[/\b(ph-1) /i],[p,[o,"Essential"],[h,t]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[o,"Envizen"],[h,s]],[/\b(trio[-\w\. ]+) b/i],[p,[o,"MachSpeed"],[h,s]],[/\btu_(1491) b/i],[p,[o,"Rotor"],[h,s]],[/(shield[\w ]+) b/i],[p,[o,"Nvidia"],[h,s]],[/(sprint) (\w+)/i],[o,p,[h,t]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[o,q],[h,t]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[o,B],[h,s]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[o,B],[h,t]],[/smart-tv.+(samsung)/i],[o,[h,v]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[o,Z],[h,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,A],[h,v]],[/(apple) ?tv/i],[o,[p,_+" TV"],[h,v]],[/crkey/i],[[p,se+"cast"],[o,ve],[h,v]],[/droid.+aft(\w+)( bui|\))/i],[p,[o,I],[h,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[o,k],[h,v]],[/(bravia[\w ]+)( bui|\))/i],[p,[o,P],[h,v]],[/(mitv-\w{5}) bui/i],[p,[o,R],[h,v]],[/Hbbtv.*(technisat) (.*);/i],[o,p,[h,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,xe],[p,xe],[h,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,p,[h,g]],[/droid.+; (shield) bui/i],[p,[o,"Nvidia"],[h,g]],[/(playstation [345portablevi]+)/i],[p,[o,P],[h,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[o,q],[h,g]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[p,[o,Z],[h,j]],[/((pebble))app/i],[o,p,[h,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[o,_],[h,j]],[/droid.+; (glass) \d/i],[p,[o,ve],[h,j]],[/droid.+; (wt63?0{2,3})\)/i],[p,[o,B],[h,j]],[/droid.+; (glass) \d/i],[p,[o,ve],[h,j]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,p,[h,j]],[/; (quest( \d| pro)?)/i],[p,[o,V],[h,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[h,T]],[/(aeobc)\b/i],[p,[o,I],[h,T]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[p,[h,t]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[h,s]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,s]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,t]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[f,ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[f,w],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[f,"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],[f,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[w,le,J]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,le,J],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,X],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,w],[/\(bb(10);/i],[w,[f,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[f,me+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[f,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],w],[/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],[f,w],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,w]]},Y=function(O,U){if(typeof O===d&&(U=O,O=i),!(this instanceof Y))return new Y(O,U).getResult();var L=typeof a!==l&&a.navigator?a.navigator:i,Q=O||(L&&L.userAgent?L.userAgent:C),oe=L&&L.userAgentData?L.userAgentData:i,de=U?fe($,U):$,te=L&&L.userAgent==Q;return this.getBrowser=function(){var ee={};return ee[f]=i,ee[w]=i,be.call(ee,Q,de.browser),ee[E]=Se(ee[w]),te&&L&&L.brave&&typeof L.brave.isBrave==m&&(ee[f]="Brave"),ee},this.getCPU=function(){var ee={};return ee[b]=i,be.call(ee,Q,de.cpu),ee},this.getDevice=function(){var ee={};return ee[o]=i,ee[p]=i,ee[h]=i,be.call(ee,Q,de.device),te&&!ee[h]&&oe&&oe.mobile&&(ee[h]=t),te&&ee[p]=="Macintosh"&&L&&typeof L.standalone!==l&&L.maxTouchPoints&&L.maxTouchPoints>2&&(ee[p]="iPad",ee[h]=s),ee},this.getEngine=function(){var ee={};return ee[f]=i,ee[w]=i,be.call(ee,Q,de.engine),ee},this.getOS=function(){var ee={};return ee[f]=i,ee[w]=i,be.call(ee,Q,de.os),te&&!ee[f]&&oe&&oe.platform&&oe.platform!="Unknown"&&(ee[f]=oe.platform.replace(/chrome os/i,z).replace(/macos/i,X)),ee},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 Q},this.setUA=function(ee){return Q=typeof ee===n&&ee.length>M?xe(ee,M):ee,this},this.setUA(Q),this};Y.VERSION=x,Y.BROWSER=pe([f,w,E]),Y.CPU=pe([b]),Y.DEVICE=pe([p,o,h,g,t,v,s,j,T]),Y.ENGINE=Y.OS=pe([f,w]),e.exports&&(c=e.exports=Y),c.UAParser=Y;var S=typeof a!==l&&(a.jQuery||a.Zepto);if(S&&!S.ua){var D=new Y;S.ua=D.getResult(),S.ua.get=function(){return D.getUA()},S.ua.set=function(O){D.setUA(O);var U=D.getResult();for(var L in U)S.ua[L]=U[L]}}})(typeof window=="object"?window:wa)}(vt,vt.exports)),vt.exports}var Ca=xa();const Qt=ai(Ca);function Sa({user:e,sessionUser:c}){const a=Ve(()=>(e?.passports||[])?.find(i=>i.name===c.role),[e?.passports,c?.role]);return r.jsxs(ne,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(li,{size:40,variant:"circle",shape:"circle",src:c.avatar,did:c.did,sx:{flexShrink:0}}),r.jsxs(ne,{sx:{flex:1,overflow:"hidden"},children:[r.jsxs(ne,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(Ke,{title:c.fullName,children:r.jsx(we,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:c.fullName})}),r.jsx(jo,{label:a?.title||a?.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"}})]}),r.jsx(Ke,{title:c.email,children:r.jsx(we,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:c.email})})]})]})}const Ta={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"}},Fi="Reserved IP",Cn="ip-region-cache";async function Ea(e){const c=`https://ipapi.co/${e}/json/`,a=await(await fetch(c)).json();let i="";return a.error?a.reserved&&(i=Fi):i=[a.country_name,a.region,a.city].filter(Boolean).join("/"),i}async function ja(e){const c=`https://api.ip.sb/geoip/${e}`,a=await(await fetch(c)).json();let i="";return a.error?a.reserved&&(i=Fi):i=[a.country,a.region,a.city].filter(Boolean).join("/"),i}async function Pa(e){let c="",a={};try{const i=localStorage.getItem(Cn);i&&(a=JSON.parse(i))}catch{a={}}if(a[e])c=a[e];else{try{c=await ja(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!c)try{c=await Ea(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(c){const i=Object.keys(a);i.length>100&&delete a[i[0]],a[e]&&delete a[e],a[e]=c,localStorage.setItem(Cn,JSON.stringify(a))}return c}const Sn=e=>new Qt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Qt.BROWSER.NAME,Qt.BROWSER.VERSION]]}).getResult(),Tn={display:"flex",justifyContent:"flex-end",textAlign:"right"},Da=new Ro({concurrency:1}),Ra=N.memo(({userSession:e,isMobile:c=!1})=>{const a=Xe({loading:!0,ipRegion:""}),{t:i}=Te();return N.useEffect(()=>{Da.add(async()=>{try{a.ipRegion=await Pa(e.lastLoginIp)}finally{a.loading=!1}})},[a,e.lastLoginIp]),r.jsx(ne,{...c&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:a.ipRegion?r.jsxs(r.Fragment,{children:[r.jsx(we,{variant:"body2",children:a.ipRegion}),r.jsx(we,{variant:"body2",color:"grey",children:e.lastLoginIp||i("unknown")})]}):r.jsxs(r.Fragment,{children:[r.jsx(we,{children:e.lastLoginIp||i("unknown")}),a.loading?r.jsx(we,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:r.jsx(Je,{size:12,color:"inherit"})}):null]})})});function Ia({user:e,showAction:c=!0,showUser:a=!0,getUserSessions:i,showOffline:x=!1,showAppPid:C=!1}){const u=Xe({status:"online",page:1,pageSize:10}),m=Xe({online:0,expired:0,offline:0}),l=Po(),{locale:d}=Te(),n=xs({key:"md"}),E=ci(I=>I.breakpoints.down("lg")),{confirmApi:p,confirmHolder:f}=Lr(),h=Ge((I,_={})=>Do(Ta,I,d,"en",_)),o=Ge(async()=>{const I=await i({page:u.page,pageSize:u.pageSize,status:u.status}),_=I?.paging?.total||0;return m[u.status]=_,{total:_,list:I?.list||[]}});ui(async()=>{const I=await i({page:1,pageSize:1,status:"expired"});m.expired=I?.paging?.total||0;const _=await i({page:1,pageSize:1,status:"offline"});m.offline=_?.paging?.total||0});const w=di(o,{refreshDeps:[u.status,u.page,u.pageSize]}),b=Ve(()=>w.data?.list||[],[w.data?.list]),g=Ve(()=>{const I=u.status;return I==="online"?m[I]<=1:m[I]===0},[b,l]),t=Ve(()=>nn({},n?Tn:{}),[n]),s=Ge(({visitorId:I})=>{p.open({title:h("logoutThisSession"),content:h("logoutThisSessionConfirm"),confirmButtonText:h("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:h("cancel"),onConfirm:async()=>{await sn.user.logout({visitorId:I,includeFederated:!0});const{page:_=0}=u,{list:W=[]}=w.data||{},F=W.length||0;_>1&&F===1&&(u.page=Math.max(_-1,1)),w.refresh(),p.close()}})}),v=Ge(()=>{p.open({title:h("logoutAllSession",{type:h(u.status)}),content:h("logoutAllSessionConfirm",{type:h(u.status)}),confirmButtonText:h("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:h("cancel"),onConfirm:async()=>{await sn.user.logout({status:u.status,visitorId:l,includeFederated:!0}),u.page=1,w.refresh(),p.close()}})}),j=[];c&&j.push(r.jsx(Ke,{title:h("logoutAllTips",{type:h(u.status)}),children:r.jsx(We,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:v,disabled:g,children:h("logoutAll",{type:h(u.status)})})},"logoutAll"));const T=Ve(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:u.page-1,rowsPerPage:u.pageSize,count:w.data?.total||0}),[w.data?.total,u.page,u.pageSize]),M=[{label:h("platform"),name:"platform",options:{customBodyRenderLite:I=>{const _=b[I],W=Sn(_?.ua);return r.jsx(ne,{sx:t,children:[W.os?.name,W.os?.version].filter(Boolean).join("/")||h("unknown")})}}},{label:h("deviceType"),name:"deviceType",options:{customBodyRenderLite:I=>{const _=b[I],W=Sn(_?.ua);return r.jsx(ne,{sx:t,children:[W.browser?.name,W.browser?.version].filter(Boolean).join("/")||h("unknown")})}}},{label:h("walletOS"),name:"walletOS",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:_.extra?.walletOS||h("unknown")})}}},C&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:I=>{const _=b[I];return _.appPid?r.jsx(fi,{size:14,responsive:!1,compact:!0,did:_.appPid}):null}}},a&&{label:h("user"),name:"user",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:nn({minWidth:150,maxWidth:250},n?Tn:{}),children:r.jsx(Sa,{sessionUser:_.user,user:e})})}}},{label:h("createdAt"),name:"createdAt",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:_.createdAt?r.jsx(xt,{value:_.createdAt,relativeRange:3*86400*1e3,locale:d}):h("unknown")})}}},!x&&{label:h("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:_.status==="expired"?h("expired"):r.jsx(xt,{value:_.updatedAt,relativeRange:3*86400*1e3,locale:d})})}}},{label:h("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(Ra,{userSession:_,isMobile:n})}}},c&&{label:h("actions"),name:"actions",options:{customBodyRenderLite:I=>{const _=b[I];return r.jsx(ne,{sx:t,children:r.jsx(We,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:l===_.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>s({visitorId:_.visitorId}),children:_.status==="expired"?h("remove"):l===_.visitorId?h("currentSession"):h("logout")})})}}}].filter(Boolean);return r.jsxs(ne,{className:"pc-user-sessions",sx:{maxWidth:n?"unset":E?"calc(100vw - 300px)":"100%",...n&&{".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",...n&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[f,r.jsx(zr,{count:w.data?.total||0,locale:d,data:b,columns:M,customButtons:j,options:T,loading:w.loading,className:"pc-user-sessions-table",title:r.jsxs(Ei,{row:!0,sx:{lineHeight:1,ml:1},onChange:I=>{u.status=I.target.value},children:[r.jsx(yt,{value:"online",control:r.jsx(kt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="online"}),label:r.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[h("online"),r.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.online,")"]})]})}),r.jsx(yt,{value:"expired",control:r.jsx(kt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="expired"}),label:r.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[h("expired"),r.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.expired,")"]})]})}),x?r.jsx(yt,{value:"offline",control:r.jsx(kt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="offline"}),label:r.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[h("offline"),r.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",m.offline,")"]})]})}):null]}),onChange:I=>{u.page=I.page+1,u.pageSize=I.rowsPerPage}})]})}var Xt={exports:{}},Jt={},En;function Bi(){if(En)return Jt;En=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(g)}function c(g,t,s){return Object.defineProperty(g,"prototype",{writable:!1}),g}function a(g,t){if(!(g instanceof t))throw new TypeError("Cannot call a class as a function")}function i(g,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(t&&t.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),t&&x(g,t)}function x(g,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,j){return v.__proto__=j,v},x(g,t)}function C(g){var t=l();return function(){var v=d(g),j;if(t){var T=d(this).constructor;j=Reflect.construct(v,arguments,T)}else j=v.apply(this,arguments);return u(this,j)}}function u(g,t){if(t&&(e(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return m(g)}function m(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function l(){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(g){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},d(g)}var n={},E,p;function f(g,t,s){s||(s=Error);function v(T,M,I){return typeof t=="string"?t:t(T,M,I)}var j=function(T){i(I,T);var M=C(I);function I(_,W,F){var H;return a(this,I),H=M.call(this,v(_,W,F)),H.code=g,H}return c(I)}(s);n[g]=j}function h(g,t){if(Array.isArray(g)){var s=g.length;return g=g.map(function(v){return String(v)}),s>2?"one of ".concat(t," ").concat(g.slice(0,s-1).join(", "),", or ")+g[s-1]:s===2?"one of ".concat(t," ").concat(g[0]," or ").concat(g[1]):"of ".concat(t," ").concat(g[0])}else return"of ".concat(t," ").concat(String(g))}function o(g,t,s){return g.substr(0,t.length)===t}function w(g,t,s){return(s===void 0||s>g.length)&&(s=g.length),g.substring(s-t.length,s)===t}function b(g,t,s){return typeof s!="number"&&(s=0),s+t.length>g.length?!1:g.indexOf(t,s)!==-1}return f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",function(g,t,s){E===void 0&&(E=kr()),E(typeof g=="string","'name' must be a string");var v;typeof t=="string"&&o(t,"not ")?(v="must not be",t=t.replace(/^not /,"")):v="must be";var j;if(w(g," argument"))j="The ".concat(g," ").concat(v," ").concat(h(t,"type"));else{var T=b(g,".")?"property":"argument";j='The "'.concat(g,'" ').concat(T," ").concat(v," ").concat(h(t,"type"))}return j+=". Received type ".concat(e(s)),j},TypeError),f("ERR_INVALID_ARG_VALUE",function(g,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";p===void 0&&(p=Ct());var v=p.inspect(t);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(s,". Received ").concat(v)},TypeError),f("ERR_INVALID_RETURN_VALUE",function(g,t,s){var v;return s&&s.constructor&&s.constructor.name?v="instance of ".concat(s.constructor.name):v="type ".concat(e(s)),"Expected ".concat(g,' to be returned from the "').concat(t,'"')+" function but got ".concat(v,".")},TypeError),f("ERR_MISSING_ARGS",function(){for(var g=arguments.length,t=new Array(g),s=0;s<g;s++)t[s]=arguments[s];E===void 0&&(E=kr()),E(t.length>0,"At least one arg needs to be specified");var v="The ",j=t.length;switch(t=t.map(function(T){return'"'.concat(T,'"')}),j){case 1:v+="".concat(t[0]," argument");break;case 2:v+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:v+=t.slice(0,j-1).join(", "),v+=", and ".concat(t[j-1]," arguments");break}return"".concat(v," must be specified")},TypeError),Jt.codes=n,Jt}var er,jn;function ka(){if(jn)return er;jn=1;function e(A,q){var G=Object.keys(A);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(A);q&&(K=K.filter(function(Z){return Object.getOwnPropertyDescriptor(A,Z).enumerable})),G.push.apply(G,K)}return G}function c(A){for(var q=1;q<arguments.length;q++){var G=arguments[q]!=null?arguments[q]:{};q%2?e(Object(G),!0).forEach(function(K){a(A,K,G[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(K){Object.defineProperty(A,K,Object.getOwnPropertyDescriptor(G,K))})}return A}function a(A,q,G){return q=u(q),q in A?Object.defineProperty(A,q,{value:G,enumerable:!0,configurable:!0,writable:!0}):A[q]=G,A}function i(A,q){if(!(A instanceof q))throw new TypeError("Cannot call a class as a function")}function x(A,q){for(var G=0;G<q.length;G++){var K=q[G];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(A,u(K.key),K)}}function C(A,q,G){return q&&x(A.prototype,q),Object.defineProperty(A,"prototype",{writable:!1}),A}function u(A){var q=m(A,"string");return g(q)==="symbol"?q:String(q)}function m(A,q){if(g(A)!=="object"||A===null)return A;var G=A[Symbol.toPrimitive];if(G!==void 0){var K=G.call(A,q);if(g(K)!=="object")return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}function l(A,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(q&&q.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),q&&w(A,q)}function d(A){var q=h();return function(){var K=b(A),Z;if(q){var k=b(this).constructor;Z=Reflect.construct(K,arguments,k)}else Z=K.apply(this,arguments);return n(this,Z)}}function n(A,q){if(q&&(g(q)==="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return E(A)}function E(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function p(A){var q=typeof Map=="function"?new Map:void 0;return p=function(K){if(K===null||!o(K))return K;if(typeof K!="function")throw new TypeError("Super expression must either be null or a function");if(typeof q<"u"){if(q.has(K))return q.get(K);q.set(K,Z)}function Z(){return f(K,arguments,b(this).constructor)}return Z.prototype=Object.create(K.prototype,{constructor:{value:Z,enumerable:!1,writable:!0,configurable:!0}}),w(Z,K)},p(A)}function f(A,q,G){return h()?f=Reflect.construct.bind():f=function(Z,k,P){var R=[null];R.push.apply(R,k);var B=Function.bind.apply(Z,R),V=new B;return P&&w(V,P.prototype),V},f.apply(null,arguments)}function h(){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 o(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function w(A,q){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(K,Z){return K.__proto__=Z,K},w(A,q)}function b(A){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},b(A)}function g(A){"@babel/helpers - typeof";return g=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},g(A)}var t=Ct(),s=t.inspect,v=Bi(),j=v.codes.ERR_INVALID_ARG_TYPE;function T(A,q,G){return(G===void 0||G>A.length)&&(G=A.length),A.substring(G-q.length,G)===q}function M(A,q){if(q=Math.floor(q),A.length==0||q==0)return"";var G=A.length*q;for(q=Math.floor(Math.log(q)/Math.log(2));q;)A+=A,q--;return A+=A.substring(0,G-A.length),A}var I="",_="",W="",F="",H={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:"},se=10;function ie(A){var q=Object.keys(A),G=Object.create(Object.getPrototypeOf(A));return q.forEach(function(K){G[K]=A[K]}),Object.defineProperty(G,"message",{value:A.message}),G}function me(A){return s(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function ve(A,q,G){var K="",Z="",k=0,P="",R=!1,B=me(A),V=B.split(`
|
|
2
2
|
`),z=me(q).split(`
|
|
3
3
|
`),X=0,ce="";if(G==="strictEqual"&&g(A)==="object"&&g(q)==="object"&&A!==null&&q!==null&&(G="strictEqualObject"),V.length===1&&z.length===1&&V[0]!==z[0]){var fe=V[0].length+z[0].length;if(fe<=se){if((g(A)!=="object"||A===null)&&(g(q)!=="object"||q===null)&&(A!==0||q!==0))return"".concat(H[G],`
|
|
4
4
|
|
|
@@ -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,p as j,h as J,i as k,T as h,G as v,k 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,p as j,h as J,i as k,T as h,G as v,k as K,l as z,s as q,C as Z}from"./index-IgcGH4MX.js";import{f as ee}from"./index-BojVbZw0.js";import{v as $}from"./index-B_dkn6yg.js";import{M as V}from"./metric-v-fVqaRi.js";import{C as M}from"./click-to-copy-BM7id_Dj.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,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lottie-react.esm-
|
|
2
|
-
import{c0 as V,r as b,ct as U,aG as N,j as e,hi as H,aP as O,fb as q,N as n,G as g,T as S,t as J,aU as W,dH as A,s as z,dn as E,a4 as X,dp as K,bE as C,f as Y,aQ as Q,f4 as Z,jf as ee}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lottie-react.esm-CXhw4p-e.js","./index-IgcGH4MX.js","./index-DGkT7afN.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{c0 as V,r as b,ct as U,aG as N,j as e,hi as H,aP as O,fb as q,N as n,G as g,T as S,t as J,aU as W,dH as A,s as z,dn as E,a4 as X,dp as K,bE as C,f as Y,aQ as Q,f4 as Z,jf as ee}from"./index-IgcGH4MX.js";import{R as te,a as oe,D as re}from"./url-evaluation-AMb0E96i.js";import{S as B}from"./Slider-CMwedrru.js";import{k as se,g as ie}from"./index-Rt3DyuiL.js";import"./visuallyHidden-Dan1xhjv.js";import"./url-join-C7ra7mdN.js";import"./index-DzkZt1qB.js";import"./_createAggregator-_6ALE79J.js";import"./depsEqual-CkzEt2LH.js";import"./index-fFbl14A9.js";import"./index-DRYJ0xIl.js";import"./toUpper-CPcDyyzn.js";function ae(o){var c=V(b.useState(o),2),i=c[0],r=c[1],a=U(i),h=b.useCallback(function(){return a.current},[]);return[i,r,h]}const ne=N([e.jsx("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m-2 13-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z",opacity:".3"},"0"),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 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"},"1")]),le=N(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 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),de=N(e.jsx("path",{d:"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2m-2-1h8v-2H5zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5m4.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94z"})),T=b.createContext({}),D=()=>b.useContext(T);function ce({children:o,restrictions:c,i18n:i,theme:r}){const[a,h]=ae({loading:!1}),p=s=>h(j=>({...j,loading:s})),u=b.useMemo(()=>({...a,onLoading:p,restrictions:c,i18n:i}),[a]);return e.jsx(H,{theme:r,children:e.jsx(T.Provider,{value:u,children:o})})}const pe=["1024x1024","1024x1792","1792x1024"],xe=["256x256","512x512","1024x1024"],ue=[{label:"DALL·E 3",value:"dall-e-3"},{label:"DALL·E 2",value:"dall-e-2"}];function me({onSubmit:o}){const{loading:c,i18n:i}=D(),r=O({model:"dall-e-3",prompt:"",size:"1024x1024",number:1}),a=()=>{const s=JSON.parse(JSON.stringify(r));Object.values(r).every(y=>!!y)&&o(s)},{run:h}=q(a,{wait:500}),p={width:"100%",pl:1,pr:1},u=r.model==="dall-e-2"?xe:pe;return e.jsxs(he,{onSubmit:s=>s.preventDefault(),children:[e.jsx(n,{sx:{flex:1,overflowY:"auto",overflowX:"hidden",m:2,mb:0},children:e.jsxs(g,{container:!0,sx:{gap:2.5},children:[e.jsxs(g,{size:12,children:[e.jsx(S,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:i("aiImagePrompt")}),e.jsx(J,{sx:{width:1,mt:1},size:"small",type:"text",required:!0,placeholder:i("aiImagePromptTip"),multiline:!0,minRows:5,maxRows:6,value:r.prompt??"",onChange:s=>{s.stopPropagation(),r.prompt=s.target.value},slotProps:{htmlInput:{maxLength:1e3}}})]}),e.jsxs(g,{size:12,children:[e.jsx(S,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${i("aiImageModel")}`}),e.jsx(te,{row:!0,sx:{".MuiFormControlLabel-label":{fontSize:"12px",color:"text.primary"}},value:r.model,onChange:s=>{r.number=1,r.size="1024x1024",r.model=s.target.value},children:ue.map(s=>e.jsx(W,{value:s.value,control:e.jsx(oe,{size:"small"}),label:s.label},s.label))})]}),e.jsxs(g,{size:12,children:[e.jsx(S,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${i("aiImageSize")}: ${r.size}`}),e.jsx(g,{container:!0,sx:{gap:2.5,pt:1},children:e.jsx(n,{sx:{flex:1},children:e.jsx(n,{...p,children:e.jsx(B,{size:"small",min:0,max:u.length-1,step:1,value:u.findIndex(s=>s==r.size),onChange:(s,j)=>{r.size=u[j]}})})})})]}),r.model==="dall-e-2"&&e.jsxs(g,{size:12,children:[e.jsx(S,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${i("aiImageNumber")}: ${r.number}`}),e.jsx(n,{...p,children:e.jsx(B,{size:"small",defaultValue:1,valueLabelDisplay:"auto",step:1,min:1,max:10,value:r.number,onChange:(s,j)=>{s.stopPropagation(),r.number=Number(j)}})})]})]})}),e.jsx(A,{sx:{m:2,transition:"all 0.3s"},className:"submit-ai",variant:"contained",onClick:h,disabled:c,children:i(c?"aiImageGenerating":"aiImageGenerate")},c?"loading-submit":"submit")]})}const he=z(n)`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
height: 100%;
|
|
@@ -93,7 +93,7 @@ import{c0 as V,r as b,ct as U,aG as N,j as e,hi as H,aP as O,fb as q,N as n,G as
|
|
|
93
93
|
& path:last-child {
|
|
94
94
|
fill: white;
|
|
95
95
|
}
|
|
96
|
-
`,ye=b.lazy(()=>C(()=>import("./lottie-react.esm-
|
|
96
|
+
`,ye=b.lazy(()=>C(()=>import("./lottie-react.esm-CXhw4p-e.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>({default:o.Player})));function R({src:o}){return e.jsx(ye,{src:o,loop:!0,autoplay:!0})}function we({options:o,handleApi:c,onSelect:i,onFinish:r,onClose:a,isMobile:h}){const{loading:p,onLoading:u,restrictions:s,i18n:j}=D(),[l,y]=b.useState([]),[f,I]=b.useState(),L=Y(),k=s?.maxNumberOfFiles,[x,_]=b.useState({}),m=O({}),P=Object.keys(m).filter(t=>m[t]);b.useEffect(()=>{f&&!x.error&&C(()=>import("./lottie-error-DeJ4jU66.js"),[],import.meta.url).then(t=>{_(d=>({...d,error:t.default}))}),o&&!l.length&&!x.loading&&C(()=>import("./lottie-loading-Npqo86wA.js"),[],import.meta.url).then(t=>{_(d=>({...d,loading:t.default}))}),!o&&!x.welcome&&C(()=>import("./lottie-welcome-oyMgXGo-.js"),[],import.meta.url).then(t=>{_(d=>({...d,welcome:t.default}))})},[f,o,l.length,x]),Q(async()=>{if(o){I(void 0),u(!0);try{const t=await c({...o,responseFormat:"b64_json"});if(t.data){const w=(t.data||[]).map(v=>({src:`data:image/png;base64,${v.b64Json||v.b64_json}`,width:o.size?Number((o.size||"").split("x")[0]):1024,alt:o.prompt}));y(l?[...w,...l]:w)}else I(t)}catch(t){console.error("AIImage generate error: ",t),I(t?.response?.data||t)}finally{u(!1),r()}}},[o?.number,o?.prompt,o?.size]);const F=t=>{const d=Object.keys(m).filter(v=>m[v]);if(k?d.length<k:!0)m[t]?m[t]=!1:m[t]=!0;else{const v=d.pop();v!==t&&(m[v]=!1),m[t]=!m[t]}},M=t=>{if(l){const d=l.findIndex(w=>w.src===t);d>-1&&(m[t]=!1,l.splice(d,1),y([...l]))}},$=()=>{const t={width:document.querySelector(".photo-item img")?.offsetWidth||0,height:document.querySelector(".photo-item img")?.offsetHeight||0};return e.jsx(e.Fragment,{children:Array.from({length:o?.number||1}).map((d,w)=>e.jsx(g,{children:e.jsx(E,{className:"lazy-image-skeleton",animation:"wave",variant:"rectangular",style:{borderRadius:"12px",...t}})},w))})},G=()=>f?e.jsxs(n,{sx:{width:300,height:300,m:"auto"},children:[x.error&&e.jsx(R,{src:x.error},"error"),e.jsx(n,{sx:{textAlign:"center",color:"#25292F",wordBreak:"break-all"},children:f?.message})]}):l&&Array.isArray(l)&&l.length>0?e.jsxs(e.Fragment,{children:[e.jsx(n,{sx:{flexGrow:1,height:0,overflowX:"hidden",overflowY:"auto"},children:e.jsx(ze,{sx:h?{p:0,border:"none !important"}:{p:2},children:e.jsxs(g,{spacing:2,container:!0,className:"photo-wrapper",children:[p&&e.jsx($,{}),l.map((t,d)=>e.jsx(g,{className:"photo-item",children:e.jsx(fe,{...t,selected:m[t.src],style:{objectFit:"cover",cursor:"pointer",transition:"all 0.3s",border:m[t.src]?`2px solid ${L.palette.primary.main}`:"2px solid transparent",WebkitUserDrag:"none",width:"100%",height:"100%"},onClick:()=>{F(t.src)},onDelete:()=>{M(t.src)}})},t.src))]})})}),e.jsxs(n,{sx:{mt:2,display:"flex",justifyContent:a?"space-between":"flex-end",button:{borderRadius:"30px",height:40,textTransform:"none"}},children:[a&&typeof a=="function"&&e.jsx(A,{color:"primary",variant:"outlined",onClick:a,children:e.jsx(Z,{})}),e.jsx(A,{color:"primary",variant:"contained",disabled:!P.length||p,onClick:()=>{const t=se(l,"src");i(P.map(d=>t[d]))},children:P.length?j("aiImageSelectedUse"):j("aiImageSelectedTip")})]})]}):o?e.jsx(n,{sx:{width:220,height:220,m:"auto"},children:x.loading&&e.jsx(R,{src:x.loading},"loading")}):e.jsx(n,{sx:{width:300,height:300,m:"auto"},children:x.welcome&&e.jsx(R,{src:x.welcome},"welcome")});return e.jsx(ve,{children:G()})}const ve=z(n)`
|
|
97
97
|
min-height: 100%;
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{eG as D}from"./index-Dg1SGjdc.js";function f(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function $(e){return f(e)==="object"}function re(e){return Array.isArray(e)&&e.length>0&&e.every(m=>"message"in m)}function Y(e,m){return e.length<124?e:m}const ne="graphql-transport-ws";var g;(function(e){e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"})(g||(g={}));var c;(function(e){e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete"})(c||(c={}));function v(e){if(!$(e))throw new Error(`Message is expected to be an object, but got ${f(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if(typeof e.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${f(e.type)}`);switch(e.type){case c.ConnectionInit:case c.ConnectionAck:case c.Ping:case c.Pong:{if(e.payload!=null&&!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break}case c.Subscribe:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);if(typeof e.payload.query!="string")throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${f(e.payload.query)}`);if(e.payload.variables!=null&&!$(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${f(e.payload.variables)}`);if(e.payload.operationName!=null&&f(e.payload.operationName)!=="string")throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${f(e.payload.operationName)}`);if(e.payload.extensions!=null&&!$(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${f(e.payload.extensions)}`);break}case c.Next:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);break}case c.Error:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!re(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break}case c.Complete:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function oe(e,m){return v(typeof e=="string"?JSON.parse(e,m):e)}function W(e,m){return v(e),JSON.stringify(e,m)}var A=function(e){return this instanceof A?(this.v=e,this):new A(e)},ie=function(e,m,R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var M=R.apply(e,m||[]),b,w=[];return b={},E("next"),E("throw"),E("return"),b[Symbol.asyncIterator]=function(){return this},b;function E(u){M[u]&&(b[u]=function(r){return new Promise(function(S,L){w.push([u,r,S,L])>1||I(u,r)})})}function I(u,r){try{q(M[u](r))}catch(S){G(w[0][3],S)}}function q(u){u.value instanceof A?Promise.resolve(u.value.v).then(z,F):G(w[0][2],u)}function z(u){I("next",u)}function F(u){I("throw",u)}function G(u,r){u(r),w.shift(),w.length&&I(w[0][0],w[0][1])}};function pe(e){const{url:m,connectionParams:R,lazy:M=!0,onNonLazyError:b=console.error,lazyCloseTimeout:w=0,keepAlive:E=0,disablePong:I,connectionAckWaitTimeout:q=0,retryAttempts:z=5,retryWait:F=async function(a){let t=1e3;for(let o=0;o<a;o++)t*=2;await new Promise(o=>setTimeout(o,t+Math.floor(Math.random()*2700+300)))},shouldRetry:G=J,isFatalConnectionProblem:u,on:r,webSocketImpl:S,generateID:L=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{const t=Math.random()*16|0;return(a=="x"?t:t&3|8).toString(16)})},jsonMessageReplacer:U,jsonMessageReviver:ee}=e;let T;if(S){if(!ae(S))throw new Error("Invalid WebSocket implementation provided");T=S}else typeof WebSocket<"u"?T=WebSocket:typeof D<"u"?T=D.WebSocket||D.MozWebSocket:typeof window<"u"&&(T=window.WebSocket||window.MozWebSocket);if(!T)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const N=T,d=(()=>{const n=(()=>{const t={};return{on(o,s){return t[o]=s,()=>{delete t[o]}},emit(o){var s;"id"in o&&((s=t[o.id])===null||s===void 0||s.call(t,o))}}})(),a={connecting:r?.connecting?[r.connecting]:[],opened:r?.opened?[r.opened]:[],connected:r?.connected?[r.connected]:[],ping:r?.ping?[r.ping]:[],pong:r?.pong?[r.pong]:[],message:r?.message?[n.emit,r.message]:[n.emit],closed:r?.closed?[r.closed]:[],error:r?.error?[r.error]:[]};return{onMessage:n.on,on(t,o){const s=a[t];return s.push(o),()=>{s.splice(s.indexOf(o),1)}},emit(t,...o){for(const s of[...a[t]])s(...o)}}})();function Q(n){const a=[d.on("error",t=>{a.forEach(o=>o()),n(t)}),d.on("closed",t=>{a.forEach(o=>o()),n(t)})]}let h,k=0,H,O=!1,j=0,C=!1;async function K(){clearTimeout(H);const[n,a]=await(h??(h=new Promise((s,y)=>(async()=>{if(O){if(await F(j),!k)return h=void 0,y({code:1e3,reason:"All Subscriptions Gone"});j++}d.emit("connecting",O);const i=new N(typeof m=="function"?await m():m,ne);let x,_;function B(){isFinite(E)&&E>0&&(clearTimeout(_),_=setTimeout(()=>{i.readyState===N.OPEN&&(i.send(W({type:c.Ping})),d.emit("ping",!1,void 0))},E))}Q(l=>{h=void 0,clearTimeout(x),clearTimeout(_),y(l),l instanceof Z&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=l=>d.emit("error",l),i.onclose=l=>d.emit("closed",l),i.onopen=async()=>{try{d.emit("opened",i);const l=typeof R=="function"?await R():R;if(i.readyState!==N.OPEN)return;i.send(W(l?{type:c.ConnectionInit,payload:l}:{type:c.ConnectionInit},U)),isFinite(q)&&q>0&&(x=setTimeout(()=>{i.close(g.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},q)),B()}catch(l){d.emit("error",l),i.close(g.InternalClientError,Y(l instanceof Error?l.message:new Error(l).message,"Internal client error"))}};let P=!1;i.onmessage=({data:l})=>{try{const p=oe(l,ee);if(d.emit("message",p),p.type==="ping"||p.type==="pong"){d.emit(p.type,!0,p.payload),p.type==="pong"?B():I||(i.send(W(p.payload?{type:c.Pong,payload:p.payload}:{type:c.Pong})),d.emit("pong",!1,p.payload));return}if(P)return;if(p.type!==c.ConnectionAck)throw new Error(`First message cannot be of type ${p.type}`);clearTimeout(x),P=!0,d.emit("connected",i,p.payload,O),O=!1,j=0,s([i,new Promise((ce,te)=>Q(te))])}catch(p){i.onmessage=null,d.emit("error",p),i.close(g.BadResponse,Y(p instanceof Error?p.message:new Error(p).message,"Bad response"))}}})())));n.readyState===N.CLOSING&&await a;let t=()=>{};const o=new Promise(s=>t=s);return[n,t,Promise.race([o.then(()=>{if(!k){const s=()=>n.close(1e3,"Normal Closure");isFinite(w)&&w>0?H=setTimeout(()=>{n.readyState===N.OPEN&&s()},w):s()}}),a])]}function V(n){if(J(n)&&(se(n.code)||[g.InternalServerError,g.InternalClientError,g.BadRequest,g.BadResponse,g.Unauthorized,g.SubprotocolNotAcceptable,g.SubscriberAlreadyExists,g.TooManyInitialisationRequests].includes(n.code)))throw n;if(C)return!1;if(J(n)&&n.code===1e3)return k>0;if(!z||j>=z||!G(n)||u?.(n))throw n;return O=!0}M||(async()=>{for(k++;;)try{const[,,n]=await K();await n}catch(n){try{if(!V(n))return}catch(a){return b?.(a)}}})();function X(n,a){const t=L(n);let o=!1,s=!1,y=()=>{k--,o=!0};return(async()=>{for(k++;;)try{const[i,x,_]=await K();if(o)return x();const B=d.onMessage(t,P=>{switch(P.type){case c.Next:{a.next(P.payload);return}case c.Error:{s=!0,o=!0,a.error(P.payload),y();return}case c.Complete:{o=!0,y();return}}});i.send(W({id:t,type:c.Subscribe,payload:n},U)),y=()=>{!o&&i.readyState===N.OPEN&&i.send(W({id:t,type:c.Complete},U)),k--,o=!0,x()},await _.finally(B);return}catch(i){if(!V(i))return}})().then(()=>{s||a.complete()}).catch(i=>{a.error(i)}),()=>{o||y()}}return{on:d.on,subscribe:X,iterate(n){const a=[],t={done:!1,error:null,resolve:()=>{}},o=X(n,{next(y){a.push(y),t.resolve()},error(y){t.done=!0,t.error=y,t.resolve()},complete(){t.done=!0,t.resolve()}}),s=function(){return ie(this,arguments,function*(){for(;;){for(a.length||(yield A(new Promise(x=>t.resolve=x)));a.length;)yield yield A(a.shift());if(t.error)throw t.error;if(t.done)return yield A(void 0)}})}();return s.throw=async y=>(t.done||(t.done=!0,t.error=y,t.resolve()),{done:!0,value:void 0}),s.return=async()=>(o(),{done:!0,value:void 0}),s},async dispose(){if(C=!0,h){const[n]=await h;n.close(1e3,"Normal Closure")}},terminate(){h&&d.emit("closed",new Z)}}}class Z extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function J(e){return $(e)&&"code"in e&&"reason"in e}function se(e){return[1e3,1001,1006,1005,1012,1013,1014].includes(e)?!1:e>=1e3&&e<=1999}function ae(e){return typeof e=="function"&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}export{g as CloseCode,ne as GRAPHQL_TRANSPORT_WS_PROTOCOL,c as MessageType,Z as TerminatedCloseEvent,pe as createClient,oe as parseMessage,W as stringifyMessage,v as validateMessage};
|
|
1
|
+
import{eG as D}from"./index-IgcGH4MX.js";function f(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function $(e){return f(e)==="object"}function re(e){return Array.isArray(e)&&e.length>0&&e.every(m=>"message"in m)}function Y(e,m){return e.length<124?e:m}const ne="graphql-transport-ws";var g;(function(e){e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"})(g||(g={}));var c;(function(e){e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete"})(c||(c={}));function v(e){if(!$(e))throw new Error(`Message is expected to be an object, but got ${f(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if(typeof e.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${f(e.type)}`);switch(e.type){case c.ConnectionInit:case c.ConnectionAck:case c.Ping:case c.Pong:{if(e.payload!=null&&!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break}case c.Subscribe:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);if(typeof e.payload.query!="string")throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${f(e.payload.query)}`);if(e.payload.variables!=null&&!$(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${f(e.payload.variables)}`);if(e.payload.operationName!=null&&f(e.payload.operationName)!=="string")throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${f(e.payload.operationName)}`);if(e.payload.extensions!=null&&!$(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${f(e.payload.extensions)}`);break}case c.Next:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);break}case c.Error:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!re(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break}case c.Complete:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function oe(e,m){return v(typeof e=="string"?JSON.parse(e,m):e)}function W(e,m){return v(e),JSON.stringify(e,m)}var A=function(e){return this instanceof A?(this.v=e,this):new A(e)},ie=function(e,m,R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var M=R.apply(e,m||[]),b,w=[];return b={},E("next"),E("throw"),E("return"),b[Symbol.asyncIterator]=function(){return this},b;function E(u){M[u]&&(b[u]=function(r){return new Promise(function(S,L){w.push([u,r,S,L])>1||I(u,r)})})}function I(u,r){try{q(M[u](r))}catch(S){G(w[0][3],S)}}function q(u){u.value instanceof A?Promise.resolve(u.value.v).then(z,F):G(w[0][2],u)}function z(u){I("next",u)}function F(u){I("throw",u)}function G(u,r){u(r),w.shift(),w.length&&I(w[0][0],w[0][1])}};function pe(e){const{url:m,connectionParams:R,lazy:M=!0,onNonLazyError:b=console.error,lazyCloseTimeout:w=0,keepAlive:E=0,disablePong:I,connectionAckWaitTimeout:q=0,retryAttempts:z=5,retryWait:F=async function(a){let t=1e3;for(let o=0;o<a;o++)t*=2;await new Promise(o=>setTimeout(o,t+Math.floor(Math.random()*2700+300)))},shouldRetry:G=J,isFatalConnectionProblem:u,on:r,webSocketImpl:S,generateID:L=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{const t=Math.random()*16|0;return(a=="x"?t:t&3|8).toString(16)})},jsonMessageReplacer:U,jsonMessageReviver:ee}=e;let T;if(S){if(!ae(S))throw new Error("Invalid WebSocket implementation provided");T=S}else typeof WebSocket<"u"?T=WebSocket:typeof D<"u"?T=D.WebSocket||D.MozWebSocket:typeof window<"u"&&(T=window.WebSocket||window.MozWebSocket);if(!T)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const N=T,d=(()=>{const n=(()=>{const t={};return{on(o,s){return t[o]=s,()=>{delete t[o]}},emit(o){var s;"id"in o&&((s=t[o.id])===null||s===void 0||s.call(t,o))}}})(),a={connecting:r?.connecting?[r.connecting]:[],opened:r?.opened?[r.opened]:[],connected:r?.connected?[r.connected]:[],ping:r?.ping?[r.ping]:[],pong:r?.pong?[r.pong]:[],message:r?.message?[n.emit,r.message]:[n.emit],closed:r?.closed?[r.closed]:[],error:r?.error?[r.error]:[]};return{onMessage:n.on,on(t,o){const s=a[t];return s.push(o),()=>{s.splice(s.indexOf(o),1)}},emit(t,...o){for(const s of[...a[t]])s(...o)}}})();function Q(n){const a=[d.on("error",t=>{a.forEach(o=>o()),n(t)}),d.on("closed",t=>{a.forEach(o=>o()),n(t)})]}let h,k=0,H,O=!1,j=0,C=!1;async function K(){clearTimeout(H);const[n,a]=await(h??(h=new Promise((s,y)=>(async()=>{if(O){if(await F(j),!k)return h=void 0,y({code:1e3,reason:"All Subscriptions Gone"});j++}d.emit("connecting",O);const i=new N(typeof m=="function"?await m():m,ne);let x,_;function B(){isFinite(E)&&E>0&&(clearTimeout(_),_=setTimeout(()=>{i.readyState===N.OPEN&&(i.send(W({type:c.Ping})),d.emit("ping",!1,void 0))},E))}Q(l=>{h=void 0,clearTimeout(x),clearTimeout(_),y(l),l instanceof Z&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=l=>d.emit("error",l),i.onclose=l=>d.emit("closed",l),i.onopen=async()=>{try{d.emit("opened",i);const l=typeof R=="function"?await R():R;if(i.readyState!==N.OPEN)return;i.send(W(l?{type:c.ConnectionInit,payload:l}:{type:c.ConnectionInit},U)),isFinite(q)&&q>0&&(x=setTimeout(()=>{i.close(g.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},q)),B()}catch(l){d.emit("error",l),i.close(g.InternalClientError,Y(l instanceof Error?l.message:new Error(l).message,"Internal client error"))}};let P=!1;i.onmessage=({data:l})=>{try{const p=oe(l,ee);if(d.emit("message",p),p.type==="ping"||p.type==="pong"){d.emit(p.type,!0,p.payload),p.type==="pong"?B():I||(i.send(W(p.payload?{type:c.Pong,payload:p.payload}:{type:c.Pong})),d.emit("pong",!1,p.payload));return}if(P)return;if(p.type!==c.ConnectionAck)throw new Error(`First message cannot be of type ${p.type}`);clearTimeout(x),P=!0,d.emit("connected",i,p.payload,O),O=!1,j=0,s([i,new Promise((ce,te)=>Q(te))])}catch(p){i.onmessage=null,d.emit("error",p),i.close(g.BadResponse,Y(p instanceof Error?p.message:new Error(p).message,"Bad response"))}}})())));n.readyState===N.CLOSING&&await a;let t=()=>{};const o=new Promise(s=>t=s);return[n,t,Promise.race([o.then(()=>{if(!k){const s=()=>n.close(1e3,"Normal Closure");isFinite(w)&&w>0?H=setTimeout(()=>{n.readyState===N.OPEN&&s()},w):s()}}),a])]}function V(n){if(J(n)&&(se(n.code)||[g.InternalServerError,g.InternalClientError,g.BadRequest,g.BadResponse,g.Unauthorized,g.SubprotocolNotAcceptable,g.SubscriberAlreadyExists,g.TooManyInitialisationRequests].includes(n.code)))throw n;if(C)return!1;if(J(n)&&n.code===1e3)return k>0;if(!z||j>=z||!G(n)||u?.(n))throw n;return O=!0}M||(async()=>{for(k++;;)try{const[,,n]=await K();await n}catch(n){try{if(!V(n))return}catch(a){return b?.(a)}}})();function X(n,a){const t=L(n);let o=!1,s=!1,y=()=>{k--,o=!0};return(async()=>{for(k++;;)try{const[i,x,_]=await K();if(o)return x();const B=d.onMessage(t,P=>{switch(P.type){case c.Next:{a.next(P.payload);return}case c.Error:{s=!0,o=!0,a.error(P.payload),y();return}case c.Complete:{o=!0,y();return}}});i.send(W({id:t,type:c.Subscribe,payload:n},U)),y=()=>{!o&&i.readyState===N.OPEN&&i.send(W({id:t,type:c.Complete},U)),k--,o=!0,x()},await _.finally(B);return}catch(i){if(!V(i))return}})().then(()=>{s||a.complete()}).catch(i=>{a.error(i)}),()=>{o||y()}}return{on:d.on,subscribe:X,iterate(n){const a=[],t={done:!1,error:null,resolve:()=>{}},o=X(n,{next(y){a.push(y),t.resolve()},error(y){t.done=!0,t.error=y,t.resolve()},complete(){t.done=!0,t.resolve()}}),s=function(){return ie(this,arguments,function*(){for(;;){for(a.length||(yield A(new Promise(x=>t.resolve=x)));a.length;)yield yield A(a.shift());if(t.error)throw t.error;if(t.done)return yield A(void 0)}})}();return s.throw=async y=>(t.done||(t.done=!0,t.error=y,t.resolve()),{done:!0,value:void 0}),s.return=async()=>(o(),{done:!0,value:void 0}),s},async dispose(){if(C=!0,h){const[n]=await h;n.close(1e3,"Normal Closure")}},terminate(){h&&d.emit("closed",new Z)}}}class Z extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function J(e){return $(e)&&"code"in e&&"reason"in e}function se(e){return[1e3,1001,1006,1005,1012,1013,1014].includes(e)?!1:e>=1e3&&e<=1999}function ae(e){return typeof e=="function"&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}export{g as CloseCode,ne as GRAPHQL_TRANSPORT_WS_PROTOCOL,c as MessageType,Z as TerminatedCloseEvent,pe as createClient,oe as parseMessage,W as stringifyMessage,v as validateMessage};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{dG as C,r as o,U as d,j as e,dH as c,b5 as b,dI as I,bu as E,dJ as z,dd as u,dK as A}from"./index-
|
|
1
|
+
import{dG as C,r as o,U as d,j as e,dH as c,b5 as b,dI as I,bu as E,dJ as z,dd as u,dK as A}from"./index-IgcGH4MX.js";import{B as L}from"./ButtonGroup-Ctju9lEu.js";function P({...r}){const{size:p="medium",color:i="primary",menu:a=[],children:s=null,variant:m="contained",onClick:x=C,menuButtonProps:f={},...h}=r,[j,l]=o.useState(!1),n=o.useRef(null),g=Array.isArray(a)?a.map((t,B)=>o.isValidElement(t)?t:o.createElement(d,{...t,key:B})):a,y=()=>{l(t=>!t)},k=t=>{n.current&&n.current.contains(t.target)||l(!1)},M=t=>{t.target.closest(".MuiMenuItem-root")&&l(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(v,{variant:m,size:p,color:i,ref:n,...h,children:[typeof s=="function"?s():e.jsx(c,{onClick:x,color:i,children:s}),e.jsx(c,{onClick:y,color:i,...f,"aria-label":"more functions",children:e.jsx(b,{})})]}),e.jsx(w,{open:j,anchorEl:n.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(I,{children:e.jsx(E,{onClickAway:k,children:e.jsx(z,{onClick:M,children:g})})})})]})}P.Item=d;const v=u(L)`
|
|
2
2
|
> .MuiButtonBase-root:last-of-type {
|
|
3
3
|
min-width: 2em;
|
|
4
4
|
padding-left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,N as g,_ as ue,s as R,a0 as K,m as U,r as f,a1 as fe,y as v,a2 as Me,a3 as ze,o as E,a4 as oe,a5 as We,H as I,Y as Q,T as $,a6 as He,v as B,$ as qe,D as Ve,t as Ye,X as xe,C as ge,a7 as Ke,a8 as Qe,a9 as Xe,u as N,g as Je,aa as M,n as se,B as Ze,ab as re,A as ye,q as ae,ac as et,W as ne,L as X,w as we,x as J,ad as tt,ae as ke,af as st,b as P,ag as le,ah as ot,K as rt,ai as at,aj as nt,O as it,f as lt,ak as ct,al as be,am as Se,an as ve,ao as L,ap as je,aq as Re,ar as Ce,as as Pe,at as Te,au as dt,av as ce}from"./index-
|
|
1
|
+
import{j as e,N as g,_ as ue,s as R,a0 as K,m as U,r as f,a1 as fe,y as v,a2 as Me,a3 as ze,o as E,a4 as oe,a5 as We,H as I,Y as Q,T as $,a6 as He,v as B,$ as qe,D as Ve,t as Ye,X as xe,C as ge,a7 as Ke,a8 as Qe,a9 as Xe,u as N,g as Je,aa as M,n as se,B as Ze,ab as re,A as ye,q as ae,ac as et,W as ne,L as X,w as we,x as J,ad as tt,ae as ke,af as st,b as P,ag as le,ah as ot,K as rt,ai as at,aj as nt,O as it,f as lt,ak as ct,al as be,am as Se,an as ve,ao as L,ap as je,aq as Re,ar as Ce,as as Pe,at as Te,au as dt,av as ce}from"./index-IgcGH4MX.js";import{t as pt}from"./toLower-qNai6rUJ.js";import{a as W,u as mt,W as ht,P as Ee,L as Be}from"./index-Cev2T36Z.js";import{A as ut,D as ie,u as ft,W as xt,P as gt,a as De,L as Ue}from"./wait-container-LVgsA0yp.js";import{g as Z}from"./get-safe-url-szUNezig.js";import{u as de}from"./useLocalStorage-CsxbUGjN.js";import{L as yt}from"./Launch-C02pAMNp.js";import{D as wt}from"./DeleteOutline-Dn8mVtBJ.js";import{g as kt,i as bt}from"./spaces-CYUn53wE.js";import{I as St}from"./MoreVert-DmBGqPyu.js";import{y as vt}from"./index-ClJz59db.js";import"./url-join-C7ra7mdN.js";import"./use-mobile-BWekYeAn.js";import"./api-Brufao3T.js";function Oe({children:s,selected:n=!1}){return e.jsxs(jt,{children:[s,e.jsx(g,{className:`selected-container ${n?"selected":""}`,children:e.jsx(ue,{className:"selected-icon"})})]})}const jt=R(g)`
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
4
|
.selected-container {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as f,g as Ce,j as e,C as H,L as ve,s as O,o as E,u as ce,m as Q,n as we,q as Se,$ as Be,D as Ee,T as F,t as G,v as q,w as Te,x as Le,y as Ae,z as Ie,A as me,H as M,B as De,d as Fe,f as Pe,E as Re,F as Ne,I as _e,J as N,K as ee,M as te,N as B,O as Ue,P as _,Q as se,R as Me,S as oe,U as le,V as Oe,X as ne,Y as We,Z as $e}from"./index-
|
|
1
|
+
import{r as f,g as Ce,j as e,C as H,L as ve,s as O,o as E,u as ce,m as Q,n as we,q as Se,$ as Be,D as Ee,T as F,t as G,v as q,w as Te,x as Le,y as Ae,z as Ie,A as me,H as M,B as De,d as Fe,f as Pe,E as Re,F as Ne,I as _e,J as N,K as ee,M as te,N as B,O as Ue,P as _,Q as se,R as Me,S as oe,U as le,V as Oe,X as ne,Y as We,Z as $e}from"./index-IgcGH4MX.js";import{u as ze}from"./useLocalStorage-CsxbUGjN.js";import{g as qe,H as Ve}from"./index-Dlfe3MRN.js";import{y as He}from"./index-ClJz59db.js";import{B as I}from"./status-CtbjGbBR.js";import{D as Qe,u as Ke,B as re}from"./actions-BRNKk34x.js";import{u as de,W as Xe}from"./url-evaluation-AMb0E96i.js";import{I as Je,B as Ye}from"./install-from-url-JcQ2h8T2.js";import{L as Ze}from"./Launch-C02pAMNp.js";import{A as Ge}from"./Add-C0YHZEMF.js";import{v as D}from"./index-DOOErL_T.js";import{s as ae}from"./schema-BFgtnMru.js";import{P as et}from"./permission-CmQ3sqza.js";import"./FilterList-Dha3AtBY.js";import"./CSSTransition-BnNERuyW.js";import"./emotion-cache.browser.esm-DX8fZlll.js";import"./index-CTQmilbM.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-CkzEt2LH.js";import"./TableSearch-BWWSW-BJ.js";import"./Search-EzDWTLb6.js";import"./Clear-qCnYuHnh.js";import"./MoreVert-DmBGqPyu.js";import"./get-safe-url-szUNezig.js";import"./ButtonGroup-Ctju9lEu.js";import"./getValidReactChildren-B5LSt471.js";import"./without-wallet-75ovFrd5.js";import"./index-DzkZt1qB.js";import"./cloneDeep-Q6JZmqRS.js";import"./index-B_dkn6yg.js";import"./Autocomplete-DATLBfpd.js";import"./ListSubheader-BVAPJzaT.js";import"./ListItemButton-BW050ou6.js";import"./Stepper-BYwsJNCO.js";function V({blocklet:j,skipAccessibilityCheck:d=!1,...c}){const{t:r}=f.useContext(Ce),{urls:C,loading:n,recommendedUrl:h}=de(j);if(n&&!d)return e.jsx(H,{size:12,...c});const g=d?C[0]:h;return g?e.jsx(st,{...c,children:e.jsx(tt,{children:e.jsxs(ve,{href:g,target:"_blank",className:"blocklet-interface",underline:"hover",children:[r("common.visit"),e.jsx(Ze,{fontSize:"12",sx:{marginLeft:.5}})]})})}):r("blocklet.router.noAccessibleUrl")}const tt=O.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
margin: 4px 0;
|
|
4
4
|
`,st=O.div`
|