@abtnode/webapp 1.16.53-beta-20251010-233105-b0ddacda → 1.16.53-beta-20251011-095147-8bd212c5

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.
Files changed (188) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-DQepVz3x.js → AdapterDayjs-CeksOrhl.js} +1 -1
  4. package/dist/assets/{Add-CQt7mq1G.js → Add-C8Lm-hkR.js} +1 -1
  5. package/dist/assets/ArrowDropDown-D3yioOpG.js +1 -0
  6. package/dist/assets/{Autocomplete-Bf1Ho3Hd.js → Autocomplete-BQrCutXD.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-CPilcW9u.js → Breadcrumbs-CjoKrRSd.js} +1 -1
  8. package/dist/assets/{ButtonGroup-9zvLC_k0.js → ButtonGroup-0m6xN_hM.js} +1 -1
  9. package/dist/assets/{CSSTransition-dwX1-RMJ.js → CSSTransition-r6UVh1d4.js} +1 -1
  10. package/dist/assets/{CallMerge-BYCLcH5E.js → CallMerge-Dw8aSOXl.js} +1 -1
  11. package/dist/assets/{CardContent-C22npYBc.js → CardContent-Dn4qVn0M.js} +1 -1
  12. package/dist/assets/{ChevronLeft-Bmmo6bzu.js → ChevronLeft-vJUfXHLK.js} +1 -1
  13. package/dist/assets/{ChevronRight-X_FMXVA4.js → ChevronRight-CBhWmXPb.js} +1 -1
  14. package/dist/assets/{Clear-B-e33dNn.js → Clear-Dm80eYkN.js} +1 -1
  15. package/dist/assets/{DeleteOutline-CIuy8JMu.js → DeleteOutline-DBp8IxLy.js} +1 -1
  16. package/dist/assets/{Done-yHCWLz6K.js → Done-C3L_U1d0.js} +1 -1
  17. package/dist/assets/{Edit-CLiO2h_l.js → Edit-T8wWfQhn.js} +1 -1
  18. package/dist/assets/{ErrorOutline-B_qBOUnI.js → ErrorOutline-DDgW0IIs.js} +1 -1
  19. package/dist/assets/{FilterList-BOMn8eqm.js → FilterList-DOx5uN4S.js} +1 -1
  20. package/dist/assets/{Google-KOeLJ7n-.js → Google-DT749Dih.js} +1 -1
  21. package/dist/assets/{HelpOutline-BXdmHwaP.js → HelpOutline-Y8yJx9_1.js} +1 -1
  22. package/dist/assets/{KeyboardArrowDown-CdK82Qsb.js → KeyboardArrowDown-Vjm82N0l.js} +1 -1
  23. package/dist/assets/{Launch-cxvym2iP.js → Launch-CbU-zIFy.js} +1 -1
  24. package/dist/assets/{Link-DKb1MvxW.js → Link-C1xLiB79.js} +1 -1
  25. package/dist/assets/{ListItemButton-E5H4lrRx.js → ListItemButton-ClnowAwh.js} +1 -1
  26. package/dist/assets/{ListSubheader-FJVGwx1O.js → ListSubheader-DBKVdByu.js} +1 -1
  27. package/dist/assets/{LoadingButton-C7IcO9Nb.js → LoadingButton-Cyu7epth.js} +1 -1
  28. package/dist/assets/{MoreVert-bx--E19j.js → MoreVert-Dt9p1lZE.js} +1 -1
  29. package/dist/assets/{OpenInNew-BdVhgoOc.js → OpenInNew-SrFDopIl.js} +1 -1
  30. package/dist/assets/{Refresh-mYLoMEkT.js → Refresh-DibDVagJ.js} +1 -1
  31. package/dist/assets/{Search-Dm2dt-Sr.js → Search-DUF2osvO.js} +1 -1
  32. package/dist/assets/{Stepper-B1wBWjZo.js → Stepper-CTMouRdp.js} +1 -1
  33. package/dist/assets/{Switch-CE03jZ_8.js → Switch-DVmHUng5.js} +1 -1
  34. package/dist/assets/{TableSearch-Bj41g7St.js → TableSearch-x3y0kzP6.js} +1 -1
  35. package/dist/assets/{ToggleButtonGroup-BEjde42R.js → ToggleButtonGroup-CDxsnBYJ.js} +1 -1
  36. package/dist/assets/{UnfoldMore-zrMTJNOp.js → UnfoldMore-DfHvwMX2.js} +1 -1
  37. package/dist/assets/{Verified-B-cFyGP0.js → Verified-RZDxPBl3.js} +1 -1
  38. package/dist/assets/{VerifiedUser-aSWRZr_Y.js → VerifiedUser-C5GKL4NI.js} +1 -1
  39. package/dist/assets/{ViewList-BbDrtZvr.js → ViewList-BIasqeLT.js} +1 -1
  40. package/dist/assets/{_createAggregator-OKIbDBKF.js → _createAggregator-CT54gRWr.js} +1 -1
  41. package/dist/assets/{actions-DaOidt88.js → actions-BTo9FCWY.js} +1 -1
  42. package/dist/assets/{actions-BBls_wa0.js → actions-Bkf_XgjE.js} +1 -1
  43. package/dist/assets/{agreement-B9tSzjmL.js → agreement-V0j80REH.js} +1 -1
  44. package/dist/assets/api-CUhmsggO.js +1 -0
  45. package/dist/assets/{appearance-BOeNpo6Y.js → appearance-CaphgLyB.js} +1 -1
  46. package/dist/assets/{audit-logs-Bdg8Eitt.js → audit-logs-BwQjwQRC.js} +1 -1
  47. package/dist/assets/{base-chart-D7y6qq9u.js → base-chart-C5PdAmLw.js} +1 -1
  48. package/dist/assets/{blocklet-C67aFvl7.js → blocklet-qrkDxr_e.js} +1 -1
  49. package/dist/assets/{chain-se1xvUDC.js → chain-CA7TjYnf.js} +1 -1
  50. package/dist/assets/{click-to-copy-D50kkiW4.js → click-to-copy-Pl4hIypx.js} +1 -1
  51. package/dist/assets/client-CPdeHHs9.js +1 -0
  52. package/dist/assets/cloneDeep-LYTwa-JV.js +1 -0
  53. package/dist/assets/{collapse-UPIFGGD9.js → collapse-DASgp2d0.js} +1 -1
  54. package/dist/assets/{config-navigation-CutTRHe-.js → config-navigation-DDLekmi-.js} +3 -3
  55. package/dist/assets/{connect-to-Dz9eH_td.js → connect-to-Bi6Hyl3q.js} +1 -1
  56. package/dist/assets/{cssMode-73_XXe8t.js → cssMode-C7ESlTK9.js} +1 -1
  57. package/dist/assets/{delete-confirm-cbt-tN11.js → delete-confirm-B-r93j03.js} +1 -1
  58. package/dist/assets/{depsEqual-BaUhqVSn.js → depsEqual-DfTLPdgg.js} +1 -1
  59. package/dist/assets/{detail-BR9P1Yx6.js → detail-BD2IFxMv.js} +3 -3
  60. package/dist/assets/{domains-BDMd9S2d.js → domains-C4W6m2uy.js} +1 -1
  61. package/dist/assets/{download-Oh1d5P58.js → download-CehHaiXA.js} +1 -1
  62. package/dist/assets/{edit.svg-BHG50OdM.js → edit.svg-BLR5epzr.js} +1 -1
  63. package/dist/assets/emotion-cache.browser.esm-DZEVfVIs.js +1 -0
  64. package/dist/assets/engine-CXYcW8tV.js +1 -0
  65. package/dist/assets/{freemarker2-BQ02ePgw.js → freemarker2-DfzPp9s6.js} +1 -1
  66. package/dist/assets/{get-safe-url-CteWIr5a.js → get-safe-url-CumOcp7c.js} +1 -1
  67. package/dist/assets/getValidReactChildren-BKEsPaXS.js +1 -0
  68. package/dist/assets/{graphqlMode-BTvp4HDh.js → graphqlMode-CsAQlaEf.js} +2 -2
  69. package/dist/assets/{handlebars-DPMLBiwS.js → handlebars-CA_-cqDJ.js} +1 -1
  70. package/dist/assets/{html-iuKRS8o1.js → html-C9RxEE-e.js} +1 -1
  71. package/dist/assets/{html-title-vsl-TT26.js → html-title-3CG5UyIt.js} +1 -1
  72. package/dist/assets/{htmlMode-CvGrTtxZ.js → htmlMode-uPtGYFj3.js} +1 -1
  73. package/dist/assets/{iframe-Dl-yNrp9.js → iframe-aJ3sDUVb.js} +1 -1
  74. package/dist/assets/{index-C-1MOEs6.js → index-0Dj9yC88.js} +1 -1
  75. package/dist/assets/{index-BGSPRFxN.js → index-0slfmis0.js} +1 -1
  76. package/dist/assets/{index-GerkFFyW.js → index-3bOYCU_O.js} +3 -3
  77. package/dist/assets/{index-BtY4M62T.js → index-3tLE8Mjd.js} +3 -3
  78. package/dist/assets/{index-BYQEC6o1.js → index-5b60aMk8.js} +1 -1
  79. package/dist/assets/{index-ClSpNPOh.js → index-B0iEGhMY.js} +1 -1
  80. package/dist/assets/{index-B2jTgxcq.js → index-B27Mzk9d.js} +1 -1
  81. package/dist/assets/{index-DfEAejxd.js → index-B2EpuvFX.js} +1 -1
  82. package/dist/assets/{index-2UXtfcoT.js → index-BIbaiVup.js} +30 -30
  83. package/dist/assets/{index-CC45e4UO.js → index-BOjR9vg6.js} +1 -1
  84. package/dist/assets/{index-W1Jg0zqO.js → index-BPsgcLTY.js} +1 -1
  85. package/dist/assets/{index-DnNVPfHo.js → index-BXCHVLcm.js} +1 -1
  86. package/dist/assets/{index-BvVI7Mxo.js → index-B_DdwI_f.js} +1 -1
  87. package/dist/assets/{index-oHwXuk_n.js → index-Bb2FNNL0.js} +1 -1
  88. package/dist/assets/{index-8DgiLFWe.js → index-BdNOQK8-.js} +1 -1
  89. package/dist/assets/{index-D9p6b5Uq.js → index-BiOrweAN.js} +1 -1
  90. package/dist/assets/{index-DsOZQCxX.js → index-BmgIzODJ.js} +1 -1
  91. package/dist/assets/{index-DfPrMmoZ.js → index-BsMctdy8.js} +1 -1
  92. package/dist/assets/{index-BxxgnmFX.js → index-BuQjZmfi.js} +1 -1
  93. package/dist/assets/{index-eYZIsLRo.js → index-C-p8VUs-.js} +1 -1
  94. package/dist/assets/{index-D_jr-SDL.js → index-CAv2tOhi.js} +1 -1
  95. package/dist/assets/{index-CHmcCDqZ.js → index-CEfdMhRs.js} +1 -1
  96. package/dist/assets/{index-CpuUG8Z1.js → index-CLAxAmz7.js} +1 -1
  97. package/dist/assets/{index-DWy1kjL1.js → index-CLPR7ihj.js} +1 -1
  98. package/dist/assets/{index-BzM5LY8-.js → index-CS7Cpww7.js} +1 -1
  99. package/dist/assets/{index-Cwp0FKW3.js → index-CeEola33.js} +2 -2
  100. package/dist/assets/{index-BIIfr0Cp.js → index-CoZAeEqA.js} +1 -1
  101. package/dist/assets/{index-Cisz7h7X.js → index-CsTazi5p.js} +1 -1
  102. package/dist/assets/{index-CRZ7_NI2.js → index-CtVrHc87.js} +1 -1
  103. package/dist/assets/{index-BDFC1sP1.js → index-CuYfzE9Z.js} +1 -1
  104. package/dist/assets/{index-ClxIMfsM.js → index-CyD53ctP.js} +1 -1
  105. package/dist/assets/{index-AKf23glP.js → index-DD8ntqdX.js} +1 -1
  106. package/dist/assets/{index-BP0DWBRY.js → index-DIS4k28C.js} +1 -1
  107. package/dist/assets/{index-C7egXf_h.js → index-DJuZ9nhg.js} +2 -2
  108. package/dist/assets/{index-rrAKD-3O.js → index-DQ7-a_Yl.js} +1 -1
  109. package/dist/assets/index-DQq1Zt3Z.js +1 -0
  110. package/dist/assets/{index-C31TKs2j.js → index-DUhy4qU3.js} +1 -1
  111. package/dist/assets/{index-B28OSLEk.js → index-DW2RdjBK.js} +1 -1
  112. package/dist/assets/{index-Dxww66F8.js → index-DX626HNP.js} +1 -1
  113. package/dist/assets/{index-CFw_f03A.js → index-DmvJyGWn.js} +1 -1
  114. package/dist/assets/{index-DbXGWrH9.js → index-DzOEPYi6.js} +9 -9
  115. package/dist/assets/{index-DnZwjPBr.js → index-E_CTV0v0.js} +1 -1
  116. package/dist/assets/{index-B5Z2178w.js → index-UhL8ZNVc.js} +3 -3
  117. package/dist/assets/{index-CgJV4oal.js → index-ZGV5ibHs.js} +1 -1
  118. package/dist/assets/{index-BkGL3dW2.js → index-apvSg0Un.js} +1 -1
  119. package/dist/assets/{index-BOBzLa1k.js → index-w74fQNNd.js} +1 -1
  120. package/dist/assets/{index.esm-DkqB0mnE.js → index.esm-CUQzywxe.js} +1 -1
  121. package/dist/assets/{install-from-url-DOR8ZaEG.js → install-from-url-D1dFcWCR.js} +1 -1
  122. package/dist/assets/{invitation-BOK3Xmtg.js → invitation-DFyK6TJC.js} +1 -1
  123. package/dist/assets/{is-path-prefix-equal-Cl2onSKX.js → is-path-prefix-equal-CiLM8lGB.js} +1 -1
  124. package/dist/assets/{item-BQYMoVUI.js → item-TSYlBggO.js} +1 -1
  125. package/dist/assets/{javascript-BaLTUeT9.js → javascript-EM--ygX_.js} +1 -1
  126. package/dist/assets/{jsonMode-P_9C43Nc.js → jsonMode-DH-rRMEi.js} +1 -1
  127. package/dist/assets/{liquid-amkaEf3E.js → liquid-CPNnvOnm.js} +1 -1
  128. package/dist/assets/{list-header-DAiEDwhs.js → list-header-CSkrCQnJ.js} +1 -1
  129. package/dist/assets/{lock.svg-CNAb9wZc.js → lock.svg-f30K2Q3n.js} +1 -1
  130. package/dist/assets/{log-1_m4xF_N.js → log-BNvsxBZM.js} +1 -1
  131. package/dist/assets/{lottie-react.esm-BmVAhuIy.js → lottie-react.esm-DrKTtVJH.js} +1 -1
  132. package/dist/assets/{mdx-Bd0pfo5p.js → mdx-D8UbuZxT.js} +1 -1
  133. package/dist/assets/{memory-UJLIVuot.js → memory-C-FNQnOM.js} +1 -1
  134. package/dist/assets/{metric-DNUD7jbr.js → metric-DLT0xGvO.js} +1 -1
  135. package/dist/assets/omit-Cok1Xpup.js +1 -0
  136. package/dist/assets/{overview-DqrKT2dL.js → overview-BlGEtn8-.js} +1 -1
  137. package/dist/assets/{permission-ycsOOBwp.js → permission-DNpvmcDO.js} +1 -1
  138. package/dist/assets/{preference-BhfekBAB.js → preference-u7m9CcMY.js} +3 -3
  139. package/dist/assets/{python-B5XVaf0B.js → python-B8mnJBlR.js} +1 -1
  140. package/dist/assets/{raf-schd.esm-yET3NUrL.js → raf-schd.esm-YM3QK6AK.js} +1 -1
  141. package/dist/assets/{razor-TLp_5QYQ.js → razor-DojlprmT.js} +1 -1
  142. package/dist/assets/{rotate-session-key-B90qT4kq.js → rotate-session-key-CeXBuq4a.js} +1 -1
  143. package/dist/assets/{runtime-D_DvOf5h.js → runtime-DGPwslIs.js} +1 -1
  144. package/dist/assets/schema-KXHYgx_0.js +1 -0
  145. package/dist/assets/sdk-DfZRIh46.js +1 -0
  146. package/dist/assets/{service-DjmXGMON.js → service-MFlOMoBK.js} +1 -1
  147. package/dist/assets/{shorten-label-BOfK6p4p.js → shorten-label-DZAvaXjZ.js} +1 -1
  148. package/dist/assets/{simple-select-BZu6cCw3.js → simple-select-BOihC2wB.js} +1 -1
  149. package/dist/assets/{spaces-CNd41sir.js → spaces-C9qYfO4e.js} +1 -1
  150. package/dist/assets/{status-C32bwmXC.js → status-DD9VFS3g.js} +1 -1
  151. package/dist/assets/{status-DnBUY_P3.js → status-Mggvc_gJ.js} +1 -1
  152. package/dist/assets/{switch-control-Ce2o9ffJ.js → switch-control-C6Td5SBH.js} +1 -1
  153. package/dist/assets/{table-icons-BYT0kQuz.js → table-icons-LMjLX7nG.js} +1 -1
  154. package/dist/assets/{team-CxcPF7A7.js → team-CMHYwDgb.js} +1 -1
  155. package/dist/assets/{toLower-DJOalyNw.js → toLower-CTEP5nFX.js} +1 -1
  156. package/dist/assets/toUpper-BtDx3pcE.js +1 -0
  157. package/dist/assets/{traffic-C17ygInL.js → traffic-z7f03zNE.js} +1 -1
  158. package/dist/assets/{tsMode-YA-whx9N.js → tsMode-lGeC_vCj.js} +1 -1
  159. package/dist/assets/{typescript-Balm-M-7.js → typescript-DiGD7n7I.js} +1 -1
  160. package/dist/assets/{url-evaluation-w8X_lgzG.js → url-evaluation-PoqA_faF.js} +1 -1
  161. package/dist/assets/{url-join-3aXvW59g.js → url-join-C-ehcRI1.js} +1 -1
  162. package/dist/assets/{use-mobile-BxUSznYk.js → use-mobile-GbhQCYjE.js} +1 -1
  163. package/dist/assets/{use-mobile-IHqsUzt1.js → use-mobile-v5_YeznP.js} +1 -1
  164. package/dist/assets/{useAsync-Bkh8Rg6Z.js → useAsync-C9kvrJTF.js} +1 -1
  165. package/dist/assets/{useAsyncRetry-CwoOKXPC.js → useAsyncRetry-C1G4OCyZ.js} +1 -1
  166. package/dist/assets/{useLocalStorage-DZYDHTFQ.js → useLocalStorage-rIF260NZ.js} +1 -1
  167. package/dist/assets/{useThemeProps-Bs1lG48z.js → useThemeProps-CIXT-uHm.js} +1 -1
  168. package/dist/assets/{util-CC0K7Xya.js → util-daXkBzvl.js} +1 -1
  169. package/dist/assets/{wait-container-DeaT7Cuc.js → wait-container-DcvUvcI3.js} +1 -1
  170. package/dist/assets/{without-wallet-B5UEEmrQ.js → without-wallet-Cifhravr.js} +1 -1
  171. package/dist/assets/{wrap-locale-gBhiwBoM.js → wrap-locale-CTx-eXFm.js} +1 -1
  172. package/dist/assets/{xml-CZ5H3llM.js → xml-PLx49qdR.js} +1 -1
  173. package/dist/assets/{yaml-CL1tqltg.js → yaml-DrWuPUdc.js} +1 -1
  174. package/dist/index.html +1 -1
  175. package/dist/service-worker.js +1 -1
  176. package/package.json +1 -1
  177. package/dist/assets/ArrowDropDown-aNeHE2A2.js +0 -1
  178. package/dist/assets/api-r-_fEWsI.js +0 -1
  179. package/dist/assets/client-Dj0WAiOq.js +0 -1
  180. package/dist/assets/cloneDeep-Dqj81-8-.js +0 -1
  181. package/dist/assets/emotion-cache.browser.esm-B4ZmPeHk.js +0 -1
  182. package/dist/assets/engine-BWGbIQAy.js +0 -1
  183. package/dist/assets/getValidReactChildren-DDB1J2y7.js +0 -1
  184. package/dist/assets/index-DVAwbdhJ.js +0 -1
  185. package/dist/assets/omit-DVVVCRDp.js +0 -1
  186. package/dist/assets/schema-Db5OWlWL.js +0 -1
  187. package/dist/assets/sdk-BZ4-wJ5p.js +0 -1
  188. package/dist/assets/toUpper-B5TzdczN.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as R,fJ as ll,c1 as _o,fK as cl,ft as Mo,fL as ul,cS as Lo,aF as cr,j as s,fM as dl,fN as fl,cs as mt,bd as es,bz as ht,M as $,as as ts,ay as gt,T as Re,eO as rs,aP as yt,fO as pl,n as Ie,F as to,fP as ro,fQ as ml,cW as ns,cr as os,bk as jr,dI as qe,dG as is,O as or,aU as Lt,fR as hl,C as vt,fS as ir,ez as Je,fT as ss,fU as bl,fV as gl,fW as yl,fX as vl,fY as xl,fZ as as,f_ as wl,f$ as no,g0 as Cl,g1 as jl,g2 as Sl,g3 as Tl,eA as oo,g4 as ls,eB as El,cF as Un,eC as kl,dE as Pl,g5 as Il,g6 as Rl,bn as Fe,g7 as cs,H as Me,X as Ue,o as j,f as io,f5 as us,q as xt,bU as Al,dL as Dl,bv as Ol,au as ct,g8 as ds,S as Sr,g9 as fs,a_ as _l,$ as st,v as at,b1 as Ml,fd as Ll,ga as Nl,gb as Bl,gc as Fl,D as Mr,bg as so,a3 as rr,gd as ql,V as St,bX as $t,bY as Vt,cg as ps,dO as tt,e_ as pe,b_ as Ul,b8 as _e,dc as Tr,d6 as ms,b$ as ut,c0 as It,R as kt,dK as hs,d9 as $l,ge as Lr,gf as bs,bf as $e,P as sr,bp as Vl,Q as $n,gg as Er,gh as zl,at as ar,w as Ve,gi as Wl,h as Vn,aW as Kl,x as Hl,y as Yl,s as Ke,g as ur,ac as dr,bA as Bt,gj as Gl,dF as Zl,dm as Xl,aH as bt,dx as Ql,gk as Jl,eD as ec,gl as gs,gm as kr,gn as tc,dH as zn,b as Tt,W as ao,dJ as rc,A as nc,br as lo,bs as ys,bt as co,dp as mr,aD as oc,fI as vs,aS as ic,aE as sc,a8 as ac,z as lc,go as cc,bC as uc,U as dc,N as fc}from"./index-C7egXf_h.js";import{A as Ft}from"./Add-CQt7mq1G.js";import{V as pc}from"./ViewList-BbDrtZvr.js";import{c as mc,H as uo,g as hc}from"./index-8DgiLFWe.js";import{u as bc}from"./use-mobile-IHqsUzt1.js";import{e as No}from"./client-Dj0WAiOq.js";import{R as xs,a as Cr,D as gc}from"./url-evaluation-w8X_lgzG.js";import{v as Bo}from"./index-C-1MOEs6.js";import{u as He}from"./team-CxcPF7A7.js";import{u as ws}from"./blocklet-C67aFvl7.js";import{S as Cs}from"./Search-Dm2dt-Sr.js";import{y as Nr}from"./index-BxxgnmFX.js";import{u as yc,C as Gt}from"./index.esm-DkqB0mnE.js";import{S as vc}from"./Google-KOeLJ7n-.js";import{A as xc,a as hr}from"./Autocomplete-Bf1Ho3Hd.js";import{U as wc}from"./UnfoldMore-zrMTJNOp.js";import{P as Pt}from"./permission-ycsOOBwp.js";import{C as Br}from"./click-to-copy-D50kkiW4.js";import{s as wt,g as Cc,S as jc,u as ft,a as js,b as fr,c as Ss,d as Fr,e as Ts,f as fo,P as Es,D as ks,h as Pr,M as er,i as Ps,j as Fo,k as nr,v as Sc,l as Tc,m as qo,n as Ec,o as kc,p as Pc,q as Ic,C as Rc,r as Ac,t as Ir,w as Mt,x as Rr,y as Uo,z as $o,A as Dc,T as Oc,B as po,E as _c,F as Mc,G as Lc,H as Nc,I as Bc,J as Fc,K as qc,L as br,N as Nt,O as Is,Q as Uc,V as Wn,R as Rs,U as $c,W as Vo,X as Vc,Y as zc,Z as Wc,_ as Kc,$ as Hc,a0 as Yc}from"./AdapterDayjs-DQepVz3x.js";import{u as rt}from"./useThemeProps-Bs1lG48z.js";import{a as zo,b as Gc,t as Zc,T as Xc}from"./html-title-vsl-TT26.js";import{v as Ge}from"./index-DWy1kjL1.js";import{V as Qc}from"./Verified-B-cFyGP0.js";import{D as Jc}from"./DeleteOutline-CIuy8JMu.js";import{E as Wo}from"./ErrorOutline-B_qBOUnI.js";import{N as eu}from"./index-B2jTgxcq.js";import{b as tu}from"./sdk-BZ4-wJ5p.js";import{u as ru}from"./index-CC45e4UO.js";import{u as nu}from"./use-mobile-BxUSznYk.js";import{A as ou}from"./actions-DaOidt88.js";import{S as iu}from"./shorten-label-BOfK6p4p.js";const su=mc(R.useLayoutEffect);var Ko={},Ho;function au(){return Ho||(Ho=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch{return null}}var t=function(f){for(var p=f,C=e(p);C;)p=C.ownerDocument,C=e(p);return p}(window.document),r=[],n=null,o=null;function c(f){this.time=f.time,this.target=f.target,this.rootBounds=b(f.rootBounds),this.boundingClientRect=b(f.boundingClientRect),this.intersectionRect=b(f.intersectionRect||g()),this.isIntersecting=!!f.intersectionRect;var p=this.boundingClientRect,C=p.width*p.height,T=this.intersectionRect,S=T.width*T.height;C?this.intersectionRatio=Number((S/C).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(f,p){var C=p||{};if(typeof f!="function")throw new Error("callback must be a function");if(C.root&&C.root.nodeType!=1&&C.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(C.rootMargin),this.thresholds=this._initThresholds(C.threshold),this.root=C.root||null,this.rootMargin=this._rootMarginValues.map(function(T){return T.value+T.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return n||(n=function(f,p){!f||!p?o=g():o=w(f,p),r.forEach(function(C){C._checkForIntersections()})}),n},i._resetCrossOriginUpdater=function(){n=null,o=null},i.prototype.observe=function(f){var p=this._observationTargets.some(function(C){return C.element==f});if(!p){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},i.prototype._initThresholds=function(f){var p=f||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(C,T,S){if(typeof C!="number"||isNaN(C)||C<0||C>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return C!==S[T-1]})},i.prototype._parseRootMargin=function(f){var p=f||"0px",C=p.split(/\s+/).map(function(T){var S=/^(-?\d*\.?\d+)(px|%)$/.exec(T);if(!S)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(S[1]),unit:S[2]}});return C[1]=C[1]||C[0],C[2]=C[2]||C[0],C[3]=C[3]||C[1],C},i.prototype._monitorIntersections=function(f){var p=f.defaultView;if(p&&this._monitoringDocuments.indexOf(f)==-1){var C=this._checkForIntersections,T=null,S=null;this.POLL_INTERVAL?T=p.setInterval(C,this.POLL_INTERVAL):(u(p,"resize",C,!0),u(f,"scroll",C,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(S=new p.MutationObserver(C),S.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var k=f.defaultView;k&&(T&&k.clearInterval(T),d(k,"resize",C,!0)),d(f,"scroll",C,!0),S&&S.disconnect()});var A=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=A){var E=e(f);E&&this._monitorIntersections(E.ownerDocument)}}},i.prototype._unmonitorIntersections=function(f){var p=this._monitoringDocuments.indexOf(f);if(p!=-1){var C=this.root&&(this.root.ownerDocument||this.root)||t,T=this._observationTargets.some(function(E){var k=E.element.ownerDocument;if(k==f)return!0;for(;k&&k!=C;){var B=e(k);if(k=B&&B.ownerDocument,k==f)return!0}return!1});if(!T){var S=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),S(),f!=C){var A=e(f);A&&this._unmonitorIntersections(A.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<f.length;p++)f[p]()},i.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var f=this._rootIsInDom(),p=f?this._getRootRect():g();this._observationTargets.forEach(function(C){var T=C.element,S=h(T),A=this._rootContainsTarget(T),E=C.entry,k=f&&A&&this._computeTargetAndRootIntersection(T,S,p),B=null;this._rootContainsTarget(T)?(!n||this.root)&&(B=p):B=g();var q=C.entry=new c({time:l(),target:T,boundingClientRect:S,rootBounds:B,intersectionRect:k});E?f&&A?this._hasCrossedThreshold(E,q)&&this._queuedEntries.push(q):E&&E.isIntersecting&&this._queuedEntries.push(q):this._queuedEntries.push(q)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},i.prototype._computeTargetAndRootIntersection=function(f,p,C){if(window.getComputedStyle(f).display!="none"){for(var T=p,S=y(f),A=!1;!A&&S;){var E=null,k=S.nodeType==1?window.getComputedStyle(S):{};if(k.display=="none")return null;if(S==this.root||S.nodeType==9)if(A=!0,S==this.root||S==t)n&&!this.root?!o||o.width==0&&o.height==0?(S=null,E=null,T=null):E=o:E=C;else{var B=y(S),q=B&&h(B),H=B&&this._computeTargetAndRootIntersection(B,q,C);q&&H?(S=B,E=w(q,H)):(S=null,T=null)}else{var se=S.ownerDocument;S!=se.body&&S!=se.documentElement&&k.overflow!="visible"&&(E=h(S))}if(E&&(T=x(E,T)),!T)break;S=S&&y(S)}return T}},i.prototype._getRootRect=function(){var f;if(this.root&&!v(this.root))f=h(this.root);else{var p=v(this.root)?this.root:t,C=p.documentElement,T=p.body;f={top:0,left:0,right:C.clientWidth||T.clientWidth,width:C.clientWidth||T.clientWidth,bottom:C.clientHeight||T.clientHeight,height:C.clientHeight||T.clientHeight}}return this._expandRectByRootMargin(f)},i.prototype._expandRectByRootMargin=function(f){var p=this._rootMarginValues.map(function(T,S){return T.unit=="px"?T.value:T.value*(S%2?f.width:f.height)/100}),C={top:f.top-p[0],right:f.right+p[1],bottom:f.bottom+p[2],left:f.left-p[3]};return C.width=C.right-C.left,C.height=C.bottom-C.top,C},i.prototype._hasCrossedThreshold=function(f,p){var C=f&&f.isIntersecting?f.intersectionRatio||0:-1,T=p.isIntersecting?p.intersectionRatio||0:-1;if(C!==T)for(var S=0;S<this.thresholds.length;S++){var A=this.thresholds[S];if(A==C||A==T||A<C!=A<T)return!0}},i.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},i.prototype._rootContainsTarget=function(f){var p=this.root&&(this.root.ownerDocument||this.root)||t;return m(p,f)&&(!this.root||p==f.ownerDocument)},i.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},i.prototype._unregisterInstance=function(){var f=r.indexOf(this);f!=-1&&r.splice(f,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(f,p){var C=null;return function(){C||(C=setTimeout(function(){f(),C=null},p))}}function u(f,p,C,T){typeof f.addEventListener=="function"?f.addEventListener(p,C,T):typeof f.attachEvent=="function"&&f.attachEvent("on"+p,C)}function d(f,p,C,T){typeof f.removeEventListener=="function"?f.removeEventListener(p,C,T):typeof f.detachEvent=="function"&&f.detachEvent("on"+p,C)}function x(f,p){var C=Math.max(f.top,p.top),T=Math.min(f.bottom,p.bottom),S=Math.max(f.left,p.left),A=Math.min(f.right,p.right),E=A-S,k=T-C;return E>=0&&k>=0&&{top:C,bottom:T,left:S,right:A,width:E,height:k}||null}function h(f){var p;try{p=f.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function b(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function w(f,p){var C=p.top-f.top,T=p.left-f.left;return{top:C,left:T,height:p.height,width:p.width,bottom:C+p.height,right:T+p.width}}function m(f,p){for(var C=p;C;){if(C==f)return!0;C=y(C)}return!1}function y(f){var p=f.parentNode;return f.nodeType==9&&f!=t?e(f):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function v(f){return f&&f.nodeType===9}window.IntersectionObserver=i,window.IntersectionObserverEntry=c}()),Ko}au();function lu(e,t){var r={},n=r.callback,o=ll(r,["callback"]),c=_o(R.useState(),2),i=c[0],l=c[1],a=_o(R.useState(),2),u=a[0],d=a[1];return cl(function(){var x=Array.isArray(e)?e:[e],h=x.map(function(b){return Mo(b)}).filter(Boolean);if(h.length){var g=new IntersectionObserver(function(b){var w,m;try{for(var y=ul(b),v=y.next();!v.done;v=y.next()){var f=v.value;d(f.intersectionRatio),l(f.isIntersecting),n?.(f)}}catch(p){w={error:p}}finally{try{v&&!v.done&&(m=y.return)&&m.call(y)}finally{if(w)throw w.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return h.forEach(function(b){return g.observe(b)}),function(){g.disconnect()}}},[void 0,void 0,n],e),[i,u]}const cu=cr(s.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),uu=cr(s.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=cr([s.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),s.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),du=cr(s.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"})),fu=cr(s.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"})),As=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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"}),R.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),R.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ds=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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"}),R.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"}),R.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"}),R.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"})),Os=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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"}),R.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),pu=e=>R.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},R.createElement("g",{clipPath:"url(#clip0)"},R.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"})),R.createElement("defs",null,R.createElement("clipPath",{id:"clip0"},R.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),_s=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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 Yr={},Gr,Yo;function mu(){return Yo||(Yo=1,Gr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Gr}var Zr,Go;function hu(){if(Go)return Zr;Go=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(i,l){try{return[decodeURIComponent(i.join(""))]}catch{}if(i.length===1)return i;l=l||1;var a=i.slice(0,l),u=i.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(i){try{return decodeURIComponent(i)}catch{for(var l=i.match(t)||[],a=1;a<l.length;a++)i=n(l,a).join(""),l=i.match(t)||[];return i}}function c(i){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(i);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(i)}l["%C2"]="�";for(var d=Object.keys(l),x=0;x<d.length;x++){var h=d[x];i=i.replace(new RegExp(h,"g"),l[h])}return i}return Zr=function(i){if(typeof i!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof i+"`");try{return i=i.replace(/\+/g," "),decodeURIComponent(i)}catch{return c(i)}},Zr}var Xr,Zo;function bu(){return Zo||(Zo=1,Xr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Xr}var Qr,Xo;function gu(){return Xo||(Xo=1,Qr=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var i=n[c],l=e[i];(o?t.indexOf(i)!==-1:t(i,l,e))&&(r[i]=l)}return r}),Qr}var Qo;function yu(){return Qo||(Qo=1,function(e){const t=mu(),r=hu(),n=bu(),o=gu(),c=y=>y==null;function i(y){switch(y.arrayFormat){case"index":return v=>(f,p)=>{const C=f.length;return p===void 0||y.skipNull&&p===null||y.skipEmptyString&&p===""?f:p===null?[...f,[u(v,y),"[",C,"]"].join("")]:[...f,[u(v,y),"[",u(C,y),"]=",u(p,y)].join("")]};case"bracket":return v=>(f,p)=>p===void 0||y.skipNull&&p===null||y.skipEmptyString&&p===""?f:p===null?[...f,[u(v,y),"[]"].join("")]:[...f,[u(v,y),"[]=",u(p,y)].join("")];case"comma":case"separator":return v=>(f,p)=>p==null||p.length===0?f:f.length===0?[[u(v,y),"=",u(p,y)].join("")]:[[f,u(p,y)].join(y.arrayFormatSeparator)];default:return v=>(f,p)=>p===void 0||y.skipNull&&p===null||y.skipEmptyString&&p===""?f:p===null?[...f,u(v,y)]:[...f,[u(v,y),"=",u(p,y)].join("")]}}function l(y){let v;switch(y.arrayFormat){case"index":return(f,p,C)=>{if(v=/\[(\d*)\]$/.exec(f),f=f.replace(/\[\d*\]$/,""),!v){C[f]=p;return}C[f]===void 0&&(C[f]={}),C[f][v[1]]=p};case"bracket":return(f,p,C)=>{if(v=/(\[\])$/.exec(f),f=f.replace(/\[\]$/,""),!v){C[f]=p;return}if(C[f]===void 0){C[f]=[p];return}C[f]=[].concat(C[f],p)};case"comma":case"separator":return(f,p,C)=>{const T=typeof p=="string"&&p.includes(y.arrayFormatSeparator),S=typeof p=="string"&&!T&&d(p,y).includes(y.arrayFormatSeparator);p=S?d(p,y):p;const A=T||S?p.split(y.arrayFormatSeparator).map(E=>d(E,y)):p===null?p:d(p,y);C[f]=A};default:return(f,p,C)=>{if(C[f]===void 0){C[f]=p;return}C[f]=[].concat(C[f],p)}}}function a(y){if(typeof y!="string"||y.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(y,v){return v.encode?v.strict?t(y):encodeURIComponent(y):y}function d(y,v){return v.decode?r(y):y}function x(y){return Array.isArray(y)?y.sort():typeof y=="object"?x(Object.keys(y)).sort((v,f)=>Number(v)-Number(f)).map(v=>y[v]):y}function h(y){const v=y.indexOf("#");return v!==-1&&(y=y.slice(0,v)),y}function g(y){let v="";const f=y.indexOf("#");return f!==-1&&(v=y.slice(f)),v}function b(y){y=h(y);const v=y.indexOf("?");return v===-1?"":y.slice(v+1)}function w(y,v){return v.parseNumbers&&!Number.isNaN(Number(y))&&typeof y=="string"&&y.trim()!==""?y=Number(y):v.parseBooleans&&y!==null&&(y.toLowerCase()==="true"||y.toLowerCase()==="false")&&(y=y.toLowerCase()==="true"),y}function m(y,v){v=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},v),a(v.arrayFormatSeparator);const f=l(v),p=Object.create(null);if(typeof y!="string"||(y=y.trim().replace(/^[?#&]/,""),!y))return p;for(const C of y.split("&")){if(C==="")continue;let[T,S]=n(v.decode?C.replace(/\+/g," "):C,"=");S=S===void 0?null:["comma","separator"].includes(v.arrayFormat)?S:d(S,v),f(d(T,v),S,p)}for(const C of Object.keys(p)){const T=p[C];if(typeof T=="object"&&T!==null)for(const S of Object.keys(T))T[S]=w(T[S],v);else p[C]=w(T,v)}return v.sort===!1?p:(v.sort===!0?Object.keys(p).sort():Object.keys(p).sort(v.sort)).reduce((C,T)=>{const S=p[T];return S&&typeof S=="object"&&!Array.isArray(S)?C[T]=x(S):C[T]=S,C},Object.create(null))}e.extract=b,e.parse=m,e.stringify=(y,v)=>{if(!y)return"";v=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},v),a(v.arrayFormatSeparator);const f=S=>v.skipNull&&c(y[S])||v.skipEmptyString&&y[S]==="",p=i(v),C={};for(const S of Object.keys(y))f(S)||(C[S]=y[S]);const T=Object.keys(C);return v.sort!==!1&&T.sort(v.sort),T.map(S=>{const A=y[S];return A===void 0?"":A===null?u(S,v):Array.isArray(A)?A.reduce(p(S),[]).join("&"):u(S,v)+"="+u(A,v)}).filter(S=>S.length>0).join("&")},e.parseUrl=(y,v)=>{v=Object.assign({decode:!0},v);const[f,p]=n(y,"#");return Object.assign({url:f.split("?")[0]||"",query:m(b(y),v)},v&&v.parseFragmentIdentifier&&p?{fragmentIdentifier:d(p,v)}:{})},e.stringifyUrl=(y,v)=>{v=Object.assign({encode:!0,strict:!0},v);const f=h(y.url).split("?")[0]||"",p=e.extract(y.url),C=e.parse(p,{sort:!1}),T=Object.assign(C,y.query);let S=e.stringify(T,v);S&&(S=`?${S}`);let A=g(y.url);return y.fragmentIdentifier&&(A=`#${u(y.fragmentIdentifier,v)}`),`${f}${S}${A}`},e.pick=(y,v,f)=>{f=Object.assign({parseFragmentIdentifier:!0},f);const{url:p,query:C,fragmentIdentifier:T}=e.parseUrl(y,f);return e.stringifyUrl({url:p,query:o(C,v),fragmentIdentifier:T},f)},e.exclude=(y,v,f)=>{const p=Array.isArray(v)?C=>!v.includes(C):(C,T)=>!v(C,T);return e.pick(y,p,f)}}(Yr)),Yr}var Jr=yu();const Zt=dl,vu={parseNumbers:!1,parseBooleans:!1},xu={skipNull:!1,skipEmptyString:!1},wu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:i}={},l=Object.assign(Object.assign({},vu),c),a=Object.assign(Object.assign({},xu),i),u=Zt.useLocation(),d=(r=Zt.useHistory)===null||r===void 0?void 0:r.call(Zt),x=(n=Zt.useNavigate)===null||n===void 0?void 0:n.call(Zt),h=fl(),g=R.useRef(typeof e=="function"?e():e||{}),b=R.useMemo(()=>Jr.parse(u.search,l),[u.search]),w=R.useMemo(()=>Object.assign(Object.assign({},g.current),b),[b]);return[w,mt(y=>{const v=typeof y=="function"?y(w):y;h(),d&&d[o]({hash:u.hash,search:Jr.stringify(Object.assign(Object.assign({},b),v),a)||"?"},u.state),x&&x({hash:u.hash,search:Jr.stringify(Object.assign(Object.assign({},b),v),a)||"?"},{replace:o==="replace",state:u.state})})]};var tr={exports:{}},Cu=tr.exports,Jo;function ju(){return Jo||(Jo=1,function(e,t){(function(r,n){var o="1.0.40",c="",i="?",l="function",a="undefined",u="object",d="string",x="major",h="model",g="name",b="type",w="vendor",m="version",y="architecture",v="console",f="mobile",p="tablet",C="smarttv",T="wearable",S="embedded",A=500,E="Amazon",k="Apple",B="ASUS",q="BlackBerry",H="Browser",se="Chrome",oe="Edge",ge="Firefox",Se="Google",Y="Huawei",O="LG",F="Microsoft",X="Motorola",G="Opera",J="Samsung",_="Sharp",I="Sony",M="Xiaomi",W="Zebra",L="Facebook",U="Chromium OS",Q="Mac OS",le=" Browser",be=function(N,z){var V={};for(var ee in N)z[ee]&&z[ee].length%2===0?V[ee]=z[ee].concat(N[ee]):V[ee]=N[ee];return V},we=function(N){for(var z={},V=0;V<N.length;V++)z[N[V].toUpperCase()]=N[V];return z},ke=function(N,z){return typeof N===d?Ae(z).indexOf(Ae(N))!==-1:!1},Ae=function(N){return N.toLowerCase()},Ne=function(N){return typeof N===d?N.replace(/[^\d\.]/g,c).split(".")[0]:n},ye=function(N,z){if(typeof N===d)return N=N.replace(/^\s\s*/,c),typeof z===a?N:N.substring(0,A)},Te=function(N,z){for(var V=0,ee,ae,fe,ne,re,Ee;V<z.length&&!re;){var Ye=z[V],Z=z[V+1];for(ee=ae=0;ee<Ye.length&&!re&&Ye[ee];)if(re=Ye[ee++].exec(N),re)for(fe=0;fe<Z.length;fe++)Ee=re[++ae],ne=Z[fe],typeof ne===u&&ne.length>0?ne.length===2?typeof ne[1]==l?this[ne[0]]=ne[1].call(this,Ee):this[ne[0]]=ne[1]:ne.length===3?typeof ne[1]===l&&!(ne[1].exec&&ne[1].test)?this[ne[0]]=Ee?ne[1].call(this,Ee,ne[2]):n:this[ne[0]]=Ee?Ee.replace(ne[1],ne[2]):n:ne.length===4&&(this[ne[0]]=Ee?ne[3].call(this,Ee.replace(ne[1],ne[2])):n):this[ne]=Ee||n;V+=2}},ue=function(N,z){for(var V in z)if(typeof z[V]===u&&z[V].length>0){for(var ee=0;ee<z[V].length;ee++)if(ke(z[V][ee],N))return V===i?n:V}else if(ke(z[V],N))return V===i?n:V;return z.hasOwnProperty("*")?z["*"]:N},ce={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},te={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"},Ce={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[g,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[g,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[g,m],[/opios[\/ ]+([\w\.]+)/i],[m,[g,G+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[g,G+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[g,G]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[g,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[m,[g,"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],[g,m],[/quark(?:pc)?\/([-\w\.]+)/i],[m,[g,"Quark"]],[/\bddg\/([\w\.]+)/i],[m,[g,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[g,"UC"+H]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[g,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[g,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[g,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[g,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[g,"Smart Lenovo "+H]],[/(avast|avg)\/([\w\.]+)/i],[[g,/(.+)/,"$1 Secure "+H],m],[/\bfocus\/([\w\.]+)/i],[m,[g,ge+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[g,G+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[g,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[g,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[g,G+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[g,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[m,[g,ge]],[/\bqihoobrowser\/?([\w\.]*)/i],[m,[g,"360"]],[/\b(qq)\/([\w\.]+)/i],[[g,/(.+)/,"$1Browser"],m],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[g,/(.+)/,"$1"+le],m],[/samsungbrowser\/([\w\.]+)/i],[m,[g,J+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[m,[g,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[g,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[g,m],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[g],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[m,g],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[g,L],m],[/(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],[g,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[g,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[g,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[g,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[g,se+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[g,"Android "+H]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[g,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[g,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,g],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[g,[m,ue,ce]],[/(webkit|khtml)\/([\w\.]+)/i],[g,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[g,"Netscape"],m],[/(wolvic|librewolf)\/([\w\.]+)/i],[g,m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[g,ge+" 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],[g,[m,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[g,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,Ae]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,c,Ae]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,Ae]]],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],[h,[w,J],[b,p]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[w,J],[b,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[w,k],[b,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[w,k],[b,p]],[/(macintosh);/i],[h,[w,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[w,_],[b,f]],[/(?:honor)([-\w ]+)[;\)]/i],[h,[w,"Honor"],[b,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[w,Y],[b,p]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[w,Y],[b,f]],[/\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],[[h,/_/g," "],[w,M],[b,f]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[w,M],[b,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[w,"OPPO"],[b,f]],[/\b(opd2\d{3}a?) bui/i],[h,[w,"OPPO"],[b,p]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[w,"Vivo"],[b,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[w,"Realme"],[b,f]],[/\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],[h,[w,X],[b,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[w,X],[b,p]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[w,O],[b,p]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[w,O],[b,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[w,"Lenovo"],[b,p]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[w,"Nokia"],[b,f]],[/(pixel c)\b/i],[h,[w,Se],[b,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[w,Se],[b,f]],[/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],[h,[w,I],[b,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[w,I],[b,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[w,"OnePlus"],[b,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[w,E],[b,p]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[w,E],[b,f]],[/(playbook);[-\w\),; ]+(rim)/i],[h,w,[b,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[w,q],[b,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[w,B],[b,p]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[w,B],[b,f]],[/(nexus 9)/i],[h,[w,"HTC"],[b,p]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[h,/_/g," "],[b,f]],[/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],[h,[w,"TCL"],[b,p]],[/(itel) ((\w+))/i],[[w,Ae],h,[b,ue,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[w,"Acer"],[b,p]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[w,"Meizu"],[b,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[w,"Ulefone"],[b,f]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[h,[w,"Energizer"],[b,f]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[h,[w,"Cat"],[b,f]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[h,[w,"Smartfren"],[b,f]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[w,"Nothing"],[b,f]],[/(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],[w,h,[b,f]],[/(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],[w,h,[b,p]],[/(surface duo)/i],[h,[w,F],[b,p]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[w,"Fairphone"],[b,f]],[/(u304aa)/i],[h,[w,"AT&T"],[b,f]],[/\bsie-(\w*)/i],[h,[w,"Siemens"],[b,f]],[/\b(rct\w+) b/i],[h,[w,"RCA"],[b,p]],[/\b(venue[\d ]{2,7}) b/i],[h,[w,"Dell"],[b,p]],[/\b(q(?:mv|ta)\w+) b/i],[h,[w,"Verizon"],[b,p]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[w,"Barnes & Noble"],[b,p]],[/\b(tm\d{3}\w+) b/i],[h,[w,"NuVision"],[b,p]],[/\b(k88) b/i],[h,[w,"ZTE"],[b,p]],[/\b(nx\d{3}j) b/i],[h,[w,"ZTE"],[b,f]],[/\b(gen\d{3}) b.+49h/i],[h,[w,"Swiss"],[b,f]],[/\b(zur\d{3}) b/i],[h,[w,"Swiss"],[b,p]],[/\b((zeki)?tb.*\b) b/i],[h,[w,"Zeki"],[b,p]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],h,[b,p]],[/\b(ns-?\w{0,9}) b/i],[h,[w,"Insignia"],[b,p]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[w,"NextBook"],[b,p]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],h,[b,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],h,[b,f]],[/\b(ph-1) /i],[h,[w,"Essential"],[b,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[w,"Envizen"],[b,p]],[/\b(trio[-\w\. ]+) b/i],[h,[w,"MachSpeed"],[b,p]],[/\btu_(1491) b/i],[h,[w,"Rotor"],[b,p]],[/(shield[\w ]+) b/i],[h,[w,"Nvidia"],[b,p]],[/(sprint) (\w+)/i],[w,h,[b,f]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[w,F],[b,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[w,W],[b,p]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[w,W],[b,f]],[/smart-tv.+(samsung)/i],[w,[b,C]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[w,J],[b,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,O],[b,C]],[/(apple) ?tv/i],[w,[h,k+" TV"],[b,C]],[/crkey/i],[[h,se+"cast"],[w,Se],[b,C]],[/droid.+aft(\w+)( bui|\))/i],[h,[w,E],[b,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[w,_],[b,C]],[/(bravia[\w ]+)( bui|\))/i],[h,[w,I],[b,C]],[/(mitv-\w{5}) bui/i],[h,[w,M],[b,C]],[/Hbbtv.*(technisat) (.*);/i],[w,h,[b,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,ye],[h,ye],[b,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,h,[b,v]],[/droid.+; (shield) bui/i],[h,[w,"Nvidia"],[b,v]],[/(playstation [345portablevi]+)/i],[h,[w,I],[b,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[w,F],[b,v]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[h,[w,J],[b,T]],[/((pebble))app/i],[w,h,[b,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[w,k],[b,T]],[/droid.+; (glass) \d/i],[h,[w,Se],[b,T]],[/droid.+; (wt63?0{2,3})\)/i],[h,[w,W],[b,T]],[/droid.+; (glass) \d/i],[h,[w,Se],[b,T]],[/(pico) (4|neo3(?: link|pro)?)/i],[w,h,[b,T]],[/; (quest( \d| pro)?)/i],[h,[w,L],[b,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[b,S]],[/(aeobc)\b/i],[h,[w,E],[b,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[b,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[b,p]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,p]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,f]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[g,oe+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[g,m],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[g,"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],[g,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,g]],os:[[/microsoft (windows) (vista|xp)/i],[g,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[g,[m,ue,te]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,ue,te],[g,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[g,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[g,Q],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,g],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[g,m],[/\(bb(10);/i],[m,[g,q]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[g,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[g,ge+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[g,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[g,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[g,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[g,U],m],[/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],[g,m],[/(sunos) ?([\w\.\d]*)/i],[[g,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[g,m]]},je=function(N,z){if(typeof N===u&&(z=N,N=n),!(this instanceof je))return new je(N,z).getResult();var V=typeof r!==a&&r.navigator?r.navigator:n,ee=N||(V&&V.userAgent?V.userAgent:c),ae=V&&V.userAgentData?V.userAgentData:n,fe=z?be(Ce,z):Ce,ne=V&&V.userAgent==ee;return this.getBrowser=function(){var re={};return re[g]=n,re[m]=n,Te.call(re,ee,fe.browser),re[x]=Ne(re[m]),ne&&V&&V.brave&&typeof V.brave.isBrave==l&&(re[g]="Brave"),re},this.getCPU=function(){var re={};return re[y]=n,Te.call(re,ee,fe.cpu),re},this.getDevice=function(){var re={};return re[w]=n,re[h]=n,re[b]=n,Te.call(re,ee,fe.device),ne&&!re[b]&&ae&&ae.mobile&&(re[b]=f),ne&&re[h]=="Macintosh"&&V&&typeof V.standalone!==a&&V.maxTouchPoints&&V.maxTouchPoints>2&&(re[h]="iPad",re[b]=p),re},this.getEngine=function(){var re={};return re[g]=n,re[m]=n,Te.call(re,ee,fe.engine),re},this.getOS=function(){var re={};return re[g]=n,re[m]=n,Te.call(re,ee,fe.os),ne&&!re[g]&&ae&&ae.platform&&ae.platform!="Unknown"&&(re[g]=ae.platform.replace(/chrome os/i,U).replace(/macos/i,Q)),re},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 ee},this.setUA=function(re){return ee=typeof re===d&&re.length>A?ye(re,A):re,this},this.setUA(ee),this};je.VERSION=o,je.BROWSER=we([g,m,x]),je.CPU=we([y]),je.DEVICE=we([h,w,b,v,f,C,p,T,S]),je.ENGINE=je.OS=we([g,m]),e.exports&&(t=e.exports=je),t.UAParser=je;var P=typeof r!==a&&(r.jQuery||r.Zepto);if(P&&!P.ua){var D=new je;P.ua=D.getResult(),P.ua.get=function(){return D.getUA()},P.ua.set=function(N){D.setUA(N);var z=D.getResult();for(var V in z)P.ua[V]=z[V]}}})(typeof window=="object"?window:Cu)}(tr,tr.exports)),tr.exports}var Su=ju();const en=es(Su);function Tu({user:e,sessionUser:t}){const r=ht(()=>(e?.passports||[])?.find(n=>n.name===t.role),[e?.passports,t?.role]);return s.jsxs($,{sx:{display:"flex",alignItems:"center",gap:1},children:[s.jsx(ts,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),s.jsxs($,{sx:{flex:1,overflow:"hidden"},children:[s.jsxs($,{sx:{display:"flex",alignItems:"center",gap:1},children:[s.jsx(gt,{title:t.fullName,children:s.jsx(Re,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),s.jsx(rs,{label:r?.title||r?.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"}})]}),s.jsx(gt,{title:t.email,children:s.jsx(Re,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const Eu={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"}},Ms="Reserved IP",ei="ip-region-cache";async function ku(e){const t=`https://ipapi.co/${e}/json/`,r=await(await fetch(t)).json();let n="";return r.error?r.reserved&&(n=Ms):n=[r.country_name,r.region,r.city].filter(Boolean).join("/"),n}async function Pu(e){const t=`https://api.ip.sb/geoip/${e}`,r=await(await fetch(t)).json();let n="";return r.error?r.reserved&&(n=Ms):n=[r.country,r.region,r.city].filter(Boolean).join("/"),n}async function Iu(e){let t="",r={};try{const n=localStorage.getItem(ei);n&&(r=JSON.parse(n))}catch{r={}}if(r[e])t=r[e];else{try{t=await Pu(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!t)try{t=await ku(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(t){const n=Object.keys(r);n.length>100&&delete r[n[0]],r[e]&&delete r[e],r[e]=t,localStorage.setItem(ei,JSON.stringify(r))}return t}const ti=e=>new en(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[en.BROWSER.NAME,en.BROWSER.VERSION]]}).getResult(),ri={display:"flex",justifyContent:"flex-end",textAlign:"right"},Ru=new hl({concurrency:1}),Au=R.memo(({userSession:e,isMobile:t=!1})=>{const r=yt({loading:!0,ipRegion:""}),{t:n}=Ie();return R.useEffect(()=>{Ru.add(async()=>{try{r.ipRegion=await Iu(e.lastLoginIp)}finally{r.loading=!1}})},[r,e.lastLoginIp]),s.jsx($,{...t&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:r.ipRegion?s.jsxs(s.Fragment,{children:[s.jsx(Re,{variant:"body2",children:r.ipRegion}),s.jsx(Re,{variant:"body2",color:"grey",children:e.lastLoginIp||n("unknown")})]}):s.jsxs(s.Fragment,{children:[s.jsx(Re,{children:e.lastLoginIp||n("unknown")}),r.loading?s.jsx(Re,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:s.jsx(vt,{size:12,color:"inherit"})}):null]})})});function Du({user:e,showAction:t=!0,showUser:r=!0,getUserSessions:n,showOffline:o=!1,showAppPid:c=!1}){const i=yt({status:"online",page:1,pageSize:10}),l=yt({online:0,expired:0,offline:0}),a=pl(),{locale:u}=Ie(),d=bc({key:"md"}),x=to(E=>E.breakpoints.down("lg")),{confirmApi:h,confirmHolder:g}=ro(),b=mt((E,k={})=>ml(Eu,E,u,"en",k)),w=mt(async()=>{const E=await n({page:i.page,pageSize:i.pageSize,status:i.status}),k=E?.paging?.total||0;return l[i.status]=k,{total:k,list:E?.list||[]}});ns(async()=>{const E=await n({page:1,pageSize:1,status:"expired"});l.expired=E?.paging?.total||0;const k=await n({page:1,pageSize:1,status:"offline"});l.offline=k?.paging?.total||0});const m=os(w,{refreshDeps:[i.status,i.page,i.pageSize]}),y=ht(()=>m.data?.list||[],[m.data?.list]),v=ht(()=>{const E=i.status;return E==="online"?l[E]<=1:l[E]===0},[y,a]),f=ht(()=>jr({},d?ri:{}),[d]),p=mt(({visitorId:E})=>{h.open({title:b("logoutThisSession"),content:b("logoutThisSessionConfirm"),confirmButtonText:b("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:b("cancel"),onConfirm:async()=>{await No.user.logout({visitorId:E,includeFederated:!0});const{page:k=0}=i,{list:B=[]}=m.data||{},q=B.length||0;k>1&&q===1&&(i.page=Math.max(k-1,1)),m.refresh(),h.close()}})}),C=mt(()=>{h.open({title:b("logoutAllSession",{type:b(i.status)}),content:b("logoutAllSessionConfirm",{type:b(i.status)}),confirmButtonText:b("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:b("cancel"),onConfirm:async()=>{await No.user.logout({status:i.status,visitorId:a,includeFederated:!0}),i.page=1,m.refresh(),h.close()}})}),T=[];t&&T.push(s.jsx(gt,{title:b("logoutAllTips",{type:b(i.status)}),children:s.jsx(qe,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:C,disabled:v,children:b("logoutAll",{type:b(i.status)})})},"logoutAll"));const S=ht(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:i.page-1,rowsPerPage:i.pageSize,count:m.data?.total||0}),[m.data?.total,i.page,i.pageSize]),A=[{label:b("platform"),name:"platform",options:{customBodyRenderLite:E=>{const k=y[E],B=ti(k?.ua);return s.jsx($,{sx:f,children:[B.os?.name,B.os?.version].filter(Boolean).join("/")||b("unknown")})}}},{label:b("deviceType"),name:"deviceType",options:{customBodyRenderLite:E=>{const k=y[E],B=ti(k?.ua);return s.jsx($,{sx:f,children:[B.browser?.name,B.browser?.version].filter(Boolean).join("/")||b("unknown")})}}},{label:b("walletOS"),name:"walletOS",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:k.extra?.walletOS||b("unknown")})}}},c&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:E=>{const k=y[E];return k.appPid?s.jsx(is,{size:14,responsive:!1,compact:!0,did:k.appPid}):null}}},r&&{label:b("user"),name:"user",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:jr({minWidth:150,maxWidth:250},d?ri:{}),children:s.jsx(Tu,{sessionUser:k.user,user:e})})}}},{label:b("createdAt"),name:"createdAt",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:k.createdAt?s.jsx(or,{value:k.createdAt,relativeRange:3*86400*1e3,locale:u}):b("unknown")})}}},!o&&{label:b("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:k.status==="expired"?b("expired"):s.jsx(or,{value:k.updatedAt,relativeRange:3*86400*1e3,locale:u})})}}},{label:b("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx(Au,{userSession:k,isMobile:d})}}},t&&{label:b("actions"),name:"actions",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:s.jsx(qe,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:a===k.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>p({visitorId:k.visitorId}),children:k.status==="expired"?b("remove"):a===k.visitorId?b("currentSession"):b("logout")})})}}}].filter(Boolean);return s.jsxs($,{className:"pc-user-sessions",sx:{maxWidth:d?"unset":x?"calc(100vw - 300px)":"100%",...d&&{".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:E=>`${E.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...d&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[g,s.jsx(uo,{count:m.data?.total||0,locale:u,data:y,columns:A,customButtons:T,options:S,loading:m.loading,className:"pc-user-sessions-table",title:s.jsxs(xs,{row:!0,sx:{lineHeight:1,ml:1},onChange:E=>{i.status=E.target.value},children:[s.jsx(Lt,{value:"online",control:s.jsx(Cr,{size:"small",sx:{lineHeight:1,fontSize:0},checked:i.status==="online"}),label:s.jsxs(Re,{sx:{display:"flex",alignItems:"center"},children:[b("online"),s.jsxs(Re,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",l.online,")"]})]})}),s.jsx(Lt,{value:"expired",control:s.jsx(Cr,{size:"small",sx:{lineHeight:1,fontSize:0},checked:i.status==="expired"}),label:s.jsxs(Re,{sx:{display:"flex",alignItems:"center"},children:[b("expired"),s.jsxs(Re,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",l.expired,")"]})]})}),o?s.jsx(Lt,{value:"offline",control:s.jsx(Cr,{size:"small",sx:{lineHeight:1,fontSize:0},checked:i.status==="offline"}),label:s.jsxs(Re,{sx:{display:"flex",alignItems:"center"},children:[b("offline"),s.jsxs(Re,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",l.offline,")"]})]})}):null]}),onChange:E=>{i.page=E.page+1,i.pageSize=E.rowsPerPage}})]})}var tn={exports:{}},rn={},ni;function Ls(){if(ni)return rn;ni=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},e(v)}function t(v,f,p){return Object.defineProperty(v,"prototype",{writable:!1}),v}function r(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function n(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&o(v,f)}function o(v,f){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,T){return C.__proto__=T,C},o(v,f)}function c(v){var f=a();return function(){var C=u(v),T;if(f){var S=u(this).constructor;T=Reflect.construct(C,arguments,S)}else T=C.apply(this,arguments);return i(this,T)}}function i(v,f){if(f&&(e(f)==="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(v)}function l(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(v){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(v)}var d={},x,h;function g(v,f,p){p||(p=Error);function C(S,A,E){return typeof f=="string"?f:f(S,A,E)}var T=function(S){n(E,S);var A=c(E);function E(k,B,q){var H;return r(this,E),H=A.call(this,C(k,B,q)),H.code=v,H}return t(E)}(p);d[v]=T}function b(v,f){if(Array.isArray(v)){var p=v.length;return v=v.map(function(C){return String(C)}),p>2?"one of ".concat(f," ").concat(v.slice(0,p-1).join(", "),", or ")+v[p-1]:p===2?"one of ".concat(f," ").concat(v[0]," or ").concat(v[1]):"of ".concat(f," ").concat(v[0])}else return"of ".concat(f," ").concat(String(v))}function w(v,f,p){return v.substr(0,f.length)===f}function m(v,f,p){return(p===void 0||p>v.length)&&(p=v.length),v.substring(p-f.length,p)===f}function y(v,f,p){return typeof p!="number"&&(p=0),p+f.length>v.length?!1:v.indexOf(f,p)!==-1}return g("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),g("ERR_INVALID_ARG_TYPE",function(v,f,p){x===void 0&&(x=Kn()),x(typeof v=="string","'name' must be a string");var C;typeof f=="string"&&w(f,"not ")?(C="must not be",f=f.replace(/^not /,"")):C="must be";var T;if(m(v," argument"))T="The ".concat(v," ").concat(C," ").concat(b(f,"type"));else{var S=y(v,".")?"property":"argument";T='The "'.concat(v,'" ').concat(S," ").concat(C," ").concat(b(f,"type"))}return T+=". Received type ".concat(e(p)),T},TypeError),g("ERR_INVALID_ARG_VALUE",function(v,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";h===void 0&&(h=ir());var C=h.inspect(f);return C.length>128&&(C="".concat(C.slice(0,128),"...")),"The argument '".concat(v,"' ").concat(p,". Received ").concat(C)},TypeError),g("ERR_INVALID_RETURN_VALUE",function(v,f,p){var C;return p&&p.constructor&&p.constructor.name?C="instance of ".concat(p.constructor.name):C="type ".concat(e(p)),"Expected ".concat(v,' to be returned from the "').concat(f,'"')+" function but got ".concat(C,".")},TypeError),g("ERR_MISSING_ARGS",function(){for(var v=arguments.length,f=new Array(v),p=0;p<v;p++)f[p]=arguments[p];x===void 0&&(x=Kn()),x(f.length>0,"At least one arg needs to be specified");var C="The ",T=f.length;switch(f=f.map(function(S){return'"'.concat(S,'"')}),T){case 1:C+="".concat(f[0]," argument");break;case 2:C+="".concat(f[0]," and ").concat(f[1]," arguments");break;default:C+=f.slice(0,T-1).join(", "),C+=", and ".concat(f[T-1]," arguments");break}return"".concat(C," must be specified")},TypeError),rn.codes=d,rn}var nn,oi;function Ou(){if(oi)return nn;oi=1;function e(O,F){var X=Object.keys(O);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(O);F&&(G=G.filter(function(J){return Object.getOwnPropertyDescriptor(O,J).enumerable})),X.push.apply(X,G)}return X}function t(O){for(var F=1;F<arguments.length;F++){var X=arguments[F]!=null?arguments[F]:{};F%2?e(Object(X),!0).forEach(function(G){r(O,G,X[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(X)):e(Object(X)).forEach(function(G){Object.defineProperty(O,G,Object.getOwnPropertyDescriptor(X,G))})}return O}function r(O,F,X){return F=i(F),F in O?Object.defineProperty(O,F,{value:X,enumerable:!0,configurable:!0,writable:!0}):O[F]=X,O}function n(O,F){if(!(O instanceof F))throw new TypeError("Cannot call a class as a function")}function o(O,F){for(var X=0;X<F.length;X++){var G=F[X];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(O,i(G.key),G)}}function c(O,F,X){return F&&o(O.prototype,F),Object.defineProperty(O,"prototype",{writable:!1}),O}function i(O){var F=l(O,"string");return v(F)==="symbol"?F:String(F)}function l(O,F){if(v(O)!=="object"||O===null)return O;var X=O[Symbol.toPrimitive];if(X!==void 0){var G=X.call(O,F);if(v(G)!=="object")return G;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}function a(O,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(F&&F.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),F&&m(O,F)}function u(O){var F=b();return function(){var G=y(O),J;if(F){var _=y(this).constructor;J=Reflect.construct(G,arguments,_)}else J=G.apply(this,arguments);return d(this,J)}}function d(O,F){if(F&&(v(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x(O)}function x(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O){var F=typeof Map=="function"?new Map:void 0;return h=function(G){if(G===null||!w(G))return G;if(typeof G!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(G))return F.get(G);F.set(G,J)}function J(){return g(G,arguments,y(this).constructor)}return J.prototype=Object.create(G.prototype,{constructor:{value:J,enumerable:!1,writable:!0,configurable:!0}}),m(J,G)},h(O)}function g(O,F,X){return b()?g=Reflect.construct.bind():g=function(J,_,I){var M=[null];M.push.apply(M,_);var W=Function.bind.apply(J,M),L=new W;return I&&m(L,I.prototype),L},g.apply(null,arguments)}function b(){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 w(O){return Function.toString.call(O).indexOf("[native code]")!==-1}function m(O,F){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,J){return G.__proto__=J,G},m(O,F)}function y(O){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(X){return X.__proto__||Object.getPrototypeOf(X)},y(O)}function v(O){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},v(O)}var f=ir(),p=f.inspect,C=Ls(),T=C.codes.ERR_INVALID_ARG_TYPE;function S(O,F,X){return(X===void 0||X>O.length)&&(X=O.length),O.substring(X-F.length,X)===F}function A(O,F){if(F=Math.floor(F),O.length==0||F==0)return"";var X=O.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)O+=O,F--;return O+=O.substring(0,X-O.length),O}var E="",k="",B="",q="",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 oe(O){var F=Object.keys(O),X=Object.create(Object.getPrototypeOf(O));return F.forEach(function(G){X[G]=O[G]}),Object.defineProperty(X,"message",{value:O.message}),X}function ge(O){return p(O,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Se(O,F,X){var G="",J="",_=0,I="",M=!1,W=ge(O),L=W.split(`
1
+ import{r as R,fJ as ll,c1 as _o,fK as cl,ft as Mo,fL as ul,cS as Lo,aF as cr,j as s,fM as dl,fN as fl,cs as mt,bd as es,bz as ht,M as $,as as ts,ay as gt,T as Re,eO as rs,aP as yt,fO as pl,n as Ie,F as to,fP as ro,fQ as ml,cW as ns,cr as os,bk as jr,dI as qe,dG as is,O as or,aU as Lt,fR as hl,C as vt,fS as ir,ez as Je,fT as ss,fU as bl,fV as gl,fW as yl,fX as vl,fY as xl,fZ as as,f_ as wl,f$ as no,g0 as Cl,g1 as jl,g2 as Sl,g3 as Tl,eA as oo,g4 as ls,eB as El,cF as Un,eC as kl,dE as Pl,g5 as Il,g6 as Rl,bn as Fe,g7 as cs,H as Me,X as Ue,o as j,f as io,f5 as us,q as xt,bU as Al,dL as Dl,bv as Ol,au as ct,g8 as ds,S as Sr,g9 as fs,a_ as _l,$ as st,v as at,b1 as Ml,fd as Ll,ga as Nl,gb as Bl,gc as Fl,D as Mr,bg as so,a3 as rr,gd as ql,V as St,bX as $t,bY as Vt,cg as ps,dO as tt,e_ as pe,b_ as Ul,b8 as _e,dc as Tr,d6 as ms,b$ as ut,c0 as It,R as kt,dK as hs,d9 as $l,ge as Lr,gf as bs,bf as $e,P as sr,bp as Vl,Q as $n,gg as Er,gh as zl,at as ar,w as Ve,gi as Wl,h as Vn,aW as Kl,x as Hl,y as Yl,s as Ke,g as ur,ac as dr,bA as Bt,gj as Gl,dF as Zl,dm as Xl,aH as bt,dx as Ql,gk as Jl,eD as ec,gl as gs,gm as kr,gn as tc,dH as zn,b as Tt,W as ao,dJ as rc,A as nc,br as lo,bs as ys,bt as co,dp as mr,aD as oc,fI as vs,aS as ic,aE as sc,a8 as ac,z as lc,go as cc,bC as uc,U as dc,N as fc}from"./index-DJuZ9nhg.js";import{A as Ft}from"./Add-C8Lm-hkR.js";import{V as pc}from"./ViewList-BIasqeLT.js";import{c as mc,H as uo,g as hc}from"./index-BdNOQK8-.js";import{u as bc}from"./use-mobile-v5_YeznP.js";import{e as No}from"./client-CPdeHHs9.js";import{R as xs,a as Cr,D as gc}from"./url-evaluation-PoqA_faF.js";import{v as Bo}from"./index-0Dj9yC88.js";import{u as He}from"./team-CMHYwDgb.js";import{u as ws}from"./blocklet-qrkDxr_e.js";import{S as Cs}from"./Search-DUF2osvO.js";import{y as Nr}from"./index-BuQjZmfi.js";import{u as yc,C as Gt}from"./index.esm-CUQzywxe.js";import{S as vc}from"./Google-DT749Dih.js";import{A as xc,a as hr}from"./Autocomplete-BQrCutXD.js";import{U as wc}from"./UnfoldMore-DfHvwMX2.js";import{P as Pt}from"./permission-DNpvmcDO.js";import{C as Br}from"./click-to-copy-Pl4hIypx.js";import{s as wt,g as Cc,S as jc,u as ft,a as js,b as fr,c as Ss,d as Fr,e as Ts,f as fo,P as Es,D as ks,h as Pr,M as er,i as Ps,j as Fo,k as nr,v as Sc,l as Tc,m as qo,n as Ec,o as kc,p as Pc,q as Ic,C as Rc,r as Ac,t as Ir,w as Mt,x as Rr,y as Uo,z as $o,A as Dc,T as Oc,B as po,E as _c,F as Mc,G as Lc,H as Nc,I as Bc,J as Fc,K as qc,L as br,N as Nt,O as Is,Q as Uc,V as Wn,R as Rs,U as $c,W as Vo,X as Vc,Y as zc,Z as Wc,_ as Kc,$ as Hc,a0 as Yc}from"./AdapterDayjs-CeksOrhl.js";import{u as rt}from"./useThemeProps-CIXT-uHm.js";import{a as zo,b as Gc,t as Zc,T as Xc}from"./html-title-3CG5UyIt.js";import{v as Ge}from"./index-CLPR7ihj.js";import{V as Qc}from"./Verified-RZDxPBl3.js";import{D as Jc}from"./DeleteOutline-DBp8IxLy.js";import{E as Wo}from"./ErrorOutline-DDgW0IIs.js";import{N as eu}from"./index-B27Mzk9d.js";import{b as tu}from"./sdk-DfZRIh46.js";import{u as ru}from"./index-BOjR9vg6.js";import{u as nu}from"./use-mobile-GbhQCYjE.js";import{A as ou}from"./actions-BTo9FCWY.js";import{S as iu}from"./shorten-label-DZAvaXjZ.js";const su=mc(R.useLayoutEffect);var Ko={},Ho;function au(){return Ho||(Ho=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch{return null}}var t=function(f){for(var p=f,C=e(p);C;)p=C.ownerDocument,C=e(p);return p}(window.document),r=[],n=null,o=null;function c(f){this.time=f.time,this.target=f.target,this.rootBounds=b(f.rootBounds),this.boundingClientRect=b(f.boundingClientRect),this.intersectionRect=b(f.intersectionRect||g()),this.isIntersecting=!!f.intersectionRect;var p=this.boundingClientRect,C=p.width*p.height,T=this.intersectionRect,S=T.width*T.height;C?this.intersectionRatio=Number((S/C).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(f,p){var C=p||{};if(typeof f!="function")throw new Error("callback must be a function");if(C.root&&C.root.nodeType!=1&&C.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(C.rootMargin),this.thresholds=this._initThresholds(C.threshold),this.root=C.root||null,this.rootMargin=this._rootMarginValues.map(function(T){return T.value+T.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return n||(n=function(f,p){!f||!p?o=g():o=w(f,p),r.forEach(function(C){C._checkForIntersections()})}),n},i._resetCrossOriginUpdater=function(){n=null,o=null},i.prototype.observe=function(f){var p=this._observationTargets.some(function(C){return C.element==f});if(!p){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},i.prototype._initThresholds=function(f){var p=f||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(C,T,S){if(typeof C!="number"||isNaN(C)||C<0||C>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return C!==S[T-1]})},i.prototype._parseRootMargin=function(f){var p=f||"0px",C=p.split(/\s+/).map(function(T){var S=/^(-?\d*\.?\d+)(px|%)$/.exec(T);if(!S)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(S[1]),unit:S[2]}});return C[1]=C[1]||C[0],C[2]=C[2]||C[0],C[3]=C[3]||C[1],C},i.prototype._monitorIntersections=function(f){var p=f.defaultView;if(p&&this._monitoringDocuments.indexOf(f)==-1){var C=this._checkForIntersections,T=null,S=null;this.POLL_INTERVAL?T=p.setInterval(C,this.POLL_INTERVAL):(u(p,"resize",C,!0),u(f,"scroll",C,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(S=new p.MutationObserver(C),S.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var k=f.defaultView;k&&(T&&k.clearInterval(T),d(k,"resize",C,!0)),d(f,"scroll",C,!0),S&&S.disconnect()});var A=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=A){var E=e(f);E&&this._monitorIntersections(E.ownerDocument)}}},i.prototype._unmonitorIntersections=function(f){var p=this._monitoringDocuments.indexOf(f);if(p!=-1){var C=this.root&&(this.root.ownerDocument||this.root)||t,T=this._observationTargets.some(function(E){var k=E.element.ownerDocument;if(k==f)return!0;for(;k&&k!=C;){var B=e(k);if(k=B&&B.ownerDocument,k==f)return!0}return!1});if(!T){var S=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),S(),f!=C){var A=e(f);A&&this._unmonitorIntersections(A.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<f.length;p++)f[p]()},i.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var f=this._rootIsInDom(),p=f?this._getRootRect():g();this._observationTargets.forEach(function(C){var T=C.element,S=h(T),A=this._rootContainsTarget(T),E=C.entry,k=f&&A&&this._computeTargetAndRootIntersection(T,S,p),B=null;this._rootContainsTarget(T)?(!n||this.root)&&(B=p):B=g();var q=C.entry=new c({time:l(),target:T,boundingClientRect:S,rootBounds:B,intersectionRect:k});E?f&&A?this._hasCrossedThreshold(E,q)&&this._queuedEntries.push(q):E&&E.isIntersecting&&this._queuedEntries.push(q):this._queuedEntries.push(q)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},i.prototype._computeTargetAndRootIntersection=function(f,p,C){if(window.getComputedStyle(f).display!="none"){for(var T=p,S=y(f),A=!1;!A&&S;){var E=null,k=S.nodeType==1?window.getComputedStyle(S):{};if(k.display=="none")return null;if(S==this.root||S.nodeType==9)if(A=!0,S==this.root||S==t)n&&!this.root?!o||o.width==0&&o.height==0?(S=null,E=null,T=null):E=o:E=C;else{var B=y(S),q=B&&h(B),H=B&&this._computeTargetAndRootIntersection(B,q,C);q&&H?(S=B,E=w(q,H)):(S=null,T=null)}else{var se=S.ownerDocument;S!=se.body&&S!=se.documentElement&&k.overflow!="visible"&&(E=h(S))}if(E&&(T=x(E,T)),!T)break;S=S&&y(S)}return T}},i.prototype._getRootRect=function(){var f;if(this.root&&!v(this.root))f=h(this.root);else{var p=v(this.root)?this.root:t,C=p.documentElement,T=p.body;f={top:0,left:0,right:C.clientWidth||T.clientWidth,width:C.clientWidth||T.clientWidth,bottom:C.clientHeight||T.clientHeight,height:C.clientHeight||T.clientHeight}}return this._expandRectByRootMargin(f)},i.prototype._expandRectByRootMargin=function(f){var p=this._rootMarginValues.map(function(T,S){return T.unit=="px"?T.value:T.value*(S%2?f.width:f.height)/100}),C={top:f.top-p[0],right:f.right+p[1],bottom:f.bottom+p[2],left:f.left-p[3]};return C.width=C.right-C.left,C.height=C.bottom-C.top,C},i.prototype._hasCrossedThreshold=function(f,p){var C=f&&f.isIntersecting?f.intersectionRatio||0:-1,T=p.isIntersecting?p.intersectionRatio||0:-1;if(C!==T)for(var S=0;S<this.thresholds.length;S++){var A=this.thresholds[S];if(A==C||A==T||A<C!=A<T)return!0}},i.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},i.prototype._rootContainsTarget=function(f){var p=this.root&&(this.root.ownerDocument||this.root)||t;return m(p,f)&&(!this.root||p==f.ownerDocument)},i.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},i.prototype._unregisterInstance=function(){var f=r.indexOf(this);f!=-1&&r.splice(f,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(f,p){var C=null;return function(){C||(C=setTimeout(function(){f(),C=null},p))}}function u(f,p,C,T){typeof f.addEventListener=="function"?f.addEventListener(p,C,T):typeof f.attachEvent=="function"&&f.attachEvent("on"+p,C)}function d(f,p,C,T){typeof f.removeEventListener=="function"?f.removeEventListener(p,C,T):typeof f.detachEvent=="function"&&f.detachEvent("on"+p,C)}function x(f,p){var C=Math.max(f.top,p.top),T=Math.min(f.bottom,p.bottom),S=Math.max(f.left,p.left),A=Math.min(f.right,p.right),E=A-S,k=T-C;return E>=0&&k>=0&&{top:C,bottom:T,left:S,right:A,width:E,height:k}||null}function h(f){var p;try{p=f.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function b(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function w(f,p){var C=p.top-f.top,T=p.left-f.left;return{top:C,left:T,height:p.height,width:p.width,bottom:C+p.height,right:T+p.width}}function m(f,p){for(var C=p;C;){if(C==f)return!0;C=y(C)}return!1}function y(f){var p=f.parentNode;return f.nodeType==9&&f!=t?e(f):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function v(f){return f&&f.nodeType===9}window.IntersectionObserver=i,window.IntersectionObserverEntry=c}()),Ko}au();function lu(e,t){var r={},n=r.callback,o=ll(r,["callback"]),c=_o(R.useState(),2),i=c[0],l=c[1],a=_o(R.useState(),2),u=a[0],d=a[1];return cl(function(){var x=Array.isArray(e)?e:[e],h=x.map(function(b){return Mo(b)}).filter(Boolean);if(h.length){var g=new IntersectionObserver(function(b){var w,m;try{for(var y=ul(b),v=y.next();!v.done;v=y.next()){var f=v.value;d(f.intersectionRatio),l(f.isIntersecting),n?.(f)}}catch(p){w={error:p}}finally{try{v&&!v.done&&(m=y.return)&&m.call(y)}finally{if(w)throw w.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return h.forEach(function(b){return g.observe(b)}),function(){g.disconnect()}}},[void 0,void 0,n],e),[i,u]}const cu=cr(s.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),uu=cr(s.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=cr([s.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),s.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),du=cr(s.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"})),fu=cr(s.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"})),As=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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"}),R.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),R.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ds=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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"}),R.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"}),R.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"}),R.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"})),Os=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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"}),R.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),pu=e=>R.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},R.createElement("g",{clipPath:"url(#clip0)"},R.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"})),R.createElement("defs",null,R.createElement("clipPath",{id:"clip0"},R.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),_s=e=>R.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},R.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 Yr={},Gr,Yo;function mu(){return Yo||(Yo=1,Gr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Gr}var Zr,Go;function hu(){if(Go)return Zr;Go=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(i,l){try{return[decodeURIComponent(i.join(""))]}catch{}if(i.length===1)return i;l=l||1;var a=i.slice(0,l),u=i.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(i){try{return decodeURIComponent(i)}catch{for(var l=i.match(t)||[],a=1;a<l.length;a++)i=n(l,a).join(""),l=i.match(t)||[];return i}}function c(i){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(i);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(i)}l["%C2"]="�";for(var d=Object.keys(l),x=0;x<d.length;x++){var h=d[x];i=i.replace(new RegExp(h,"g"),l[h])}return i}return Zr=function(i){if(typeof i!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof i+"`");try{return i=i.replace(/\+/g," "),decodeURIComponent(i)}catch{return c(i)}},Zr}var Xr,Zo;function bu(){return Zo||(Zo=1,Xr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Xr}var Qr,Xo;function gu(){return Xo||(Xo=1,Qr=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var i=n[c],l=e[i];(o?t.indexOf(i)!==-1:t(i,l,e))&&(r[i]=l)}return r}),Qr}var Qo;function yu(){return Qo||(Qo=1,function(e){const t=mu(),r=hu(),n=bu(),o=gu(),c=y=>y==null;function i(y){switch(y.arrayFormat){case"index":return v=>(f,p)=>{const C=f.length;return p===void 0||y.skipNull&&p===null||y.skipEmptyString&&p===""?f:p===null?[...f,[u(v,y),"[",C,"]"].join("")]:[...f,[u(v,y),"[",u(C,y),"]=",u(p,y)].join("")]};case"bracket":return v=>(f,p)=>p===void 0||y.skipNull&&p===null||y.skipEmptyString&&p===""?f:p===null?[...f,[u(v,y),"[]"].join("")]:[...f,[u(v,y),"[]=",u(p,y)].join("")];case"comma":case"separator":return v=>(f,p)=>p==null||p.length===0?f:f.length===0?[[u(v,y),"=",u(p,y)].join("")]:[[f,u(p,y)].join(y.arrayFormatSeparator)];default:return v=>(f,p)=>p===void 0||y.skipNull&&p===null||y.skipEmptyString&&p===""?f:p===null?[...f,u(v,y)]:[...f,[u(v,y),"=",u(p,y)].join("")]}}function l(y){let v;switch(y.arrayFormat){case"index":return(f,p,C)=>{if(v=/\[(\d*)\]$/.exec(f),f=f.replace(/\[\d*\]$/,""),!v){C[f]=p;return}C[f]===void 0&&(C[f]={}),C[f][v[1]]=p};case"bracket":return(f,p,C)=>{if(v=/(\[\])$/.exec(f),f=f.replace(/\[\]$/,""),!v){C[f]=p;return}if(C[f]===void 0){C[f]=[p];return}C[f]=[].concat(C[f],p)};case"comma":case"separator":return(f,p,C)=>{const T=typeof p=="string"&&p.includes(y.arrayFormatSeparator),S=typeof p=="string"&&!T&&d(p,y).includes(y.arrayFormatSeparator);p=S?d(p,y):p;const A=T||S?p.split(y.arrayFormatSeparator).map(E=>d(E,y)):p===null?p:d(p,y);C[f]=A};default:return(f,p,C)=>{if(C[f]===void 0){C[f]=p;return}C[f]=[].concat(C[f],p)}}}function a(y){if(typeof y!="string"||y.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(y,v){return v.encode?v.strict?t(y):encodeURIComponent(y):y}function d(y,v){return v.decode?r(y):y}function x(y){return Array.isArray(y)?y.sort():typeof y=="object"?x(Object.keys(y)).sort((v,f)=>Number(v)-Number(f)).map(v=>y[v]):y}function h(y){const v=y.indexOf("#");return v!==-1&&(y=y.slice(0,v)),y}function g(y){let v="";const f=y.indexOf("#");return f!==-1&&(v=y.slice(f)),v}function b(y){y=h(y);const v=y.indexOf("?");return v===-1?"":y.slice(v+1)}function w(y,v){return v.parseNumbers&&!Number.isNaN(Number(y))&&typeof y=="string"&&y.trim()!==""?y=Number(y):v.parseBooleans&&y!==null&&(y.toLowerCase()==="true"||y.toLowerCase()==="false")&&(y=y.toLowerCase()==="true"),y}function m(y,v){v=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},v),a(v.arrayFormatSeparator);const f=l(v),p=Object.create(null);if(typeof y!="string"||(y=y.trim().replace(/^[?#&]/,""),!y))return p;for(const C of y.split("&")){if(C==="")continue;let[T,S]=n(v.decode?C.replace(/\+/g," "):C,"=");S=S===void 0?null:["comma","separator"].includes(v.arrayFormat)?S:d(S,v),f(d(T,v),S,p)}for(const C of Object.keys(p)){const T=p[C];if(typeof T=="object"&&T!==null)for(const S of Object.keys(T))T[S]=w(T[S],v);else p[C]=w(T,v)}return v.sort===!1?p:(v.sort===!0?Object.keys(p).sort():Object.keys(p).sort(v.sort)).reduce((C,T)=>{const S=p[T];return S&&typeof S=="object"&&!Array.isArray(S)?C[T]=x(S):C[T]=S,C},Object.create(null))}e.extract=b,e.parse=m,e.stringify=(y,v)=>{if(!y)return"";v=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},v),a(v.arrayFormatSeparator);const f=S=>v.skipNull&&c(y[S])||v.skipEmptyString&&y[S]==="",p=i(v),C={};for(const S of Object.keys(y))f(S)||(C[S]=y[S]);const T=Object.keys(C);return v.sort!==!1&&T.sort(v.sort),T.map(S=>{const A=y[S];return A===void 0?"":A===null?u(S,v):Array.isArray(A)?A.reduce(p(S),[]).join("&"):u(S,v)+"="+u(A,v)}).filter(S=>S.length>0).join("&")},e.parseUrl=(y,v)=>{v=Object.assign({decode:!0},v);const[f,p]=n(y,"#");return Object.assign({url:f.split("?")[0]||"",query:m(b(y),v)},v&&v.parseFragmentIdentifier&&p?{fragmentIdentifier:d(p,v)}:{})},e.stringifyUrl=(y,v)=>{v=Object.assign({encode:!0,strict:!0},v);const f=h(y.url).split("?")[0]||"",p=e.extract(y.url),C=e.parse(p,{sort:!1}),T=Object.assign(C,y.query);let S=e.stringify(T,v);S&&(S=`?${S}`);let A=g(y.url);return y.fragmentIdentifier&&(A=`#${u(y.fragmentIdentifier,v)}`),`${f}${S}${A}`},e.pick=(y,v,f)=>{f=Object.assign({parseFragmentIdentifier:!0},f);const{url:p,query:C,fragmentIdentifier:T}=e.parseUrl(y,f);return e.stringifyUrl({url:p,query:o(C,v),fragmentIdentifier:T},f)},e.exclude=(y,v,f)=>{const p=Array.isArray(v)?C=>!v.includes(C):(C,T)=>!v(C,T);return e.pick(y,p,f)}}(Yr)),Yr}var Jr=yu();const Zt=dl,vu={parseNumbers:!1,parseBooleans:!1},xu={skipNull:!1,skipEmptyString:!1},wu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:i}={},l=Object.assign(Object.assign({},vu),c),a=Object.assign(Object.assign({},xu),i),u=Zt.useLocation(),d=(r=Zt.useHistory)===null||r===void 0?void 0:r.call(Zt),x=(n=Zt.useNavigate)===null||n===void 0?void 0:n.call(Zt),h=fl(),g=R.useRef(typeof e=="function"?e():e||{}),b=R.useMemo(()=>Jr.parse(u.search,l),[u.search]),w=R.useMemo(()=>Object.assign(Object.assign({},g.current),b),[b]);return[w,mt(y=>{const v=typeof y=="function"?y(w):y;h(),d&&d[o]({hash:u.hash,search:Jr.stringify(Object.assign(Object.assign({},b),v),a)||"?"},u.state),x&&x({hash:u.hash,search:Jr.stringify(Object.assign(Object.assign({},b),v),a)||"?"},{replace:o==="replace",state:u.state})})]};var tr={exports:{}},Cu=tr.exports,Jo;function ju(){return Jo||(Jo=1,function(e,t){(function(r,n){var o="1.0.40",c="",i="?",l="function",a="undefined",u="object",d="string",x="major",h="model",g="name",b="type",w="vendor",m="version",y="architecture",v="console",f="mobile",p="tablet",C="smarttv",T="wearable",S="embedded",A=500,E="Amazon",k="Apple",B="ASUS",q="BlackBerry",H="Browser",se="Chrome",oe="Edge",ge="Firefox",Se="Google",Y="Huawei",O="LG",F="Microsoft",X="Motorola",G="Opera",J="Samsung",_="Sharp",I="Sony",M="Xiaomi",W="Zebra",L="Facebook",U="Chromium OS",Q="Mac OS",le=" Browser",be=function(N,z){var V={};for(var ee in N)z[ee]&&z[ee].length%2===0?V[ee]=z[ee].concat(N[ee]):V[ee]=N[ee];return V},we=function(N){for(var z={},V=0;V<N.length;V++)z[N[V].toUpperCase()]=N[V];return z},ke=function(N,z){return typeof N===d?Ae(z).indexOf(Ae(N))!==-1:!1},Ae=function(N){return N.toLowerCase()},Ne=function(N){return typeof N===d?N.replace(/[^\d\.]/g,c).split(".")[0]:n},ye=function(N,z){if(typeof N===d)return N=N.replace(/^\s\s*/,c),typeof z===a?N:N.substring(0,A)},Te=function(N,z){for(var V=0,ee,ae,fe,ne,re,Ee;V<z.length&&!re;){var Ye=z[V],Z=z[V+1];for(ee=ae=0;ee<Ye.length&&!re&&Ye[ee];)if(re=Ye[ee++].exec(N),re)for(fe=0;fe<Z.length;fe++)Ee=re[++ae],ne=Z[fe],typeof ne===u&&ne.length>0?ne.length===2?typeof ne[1]==l?this[ne[0]]=ne[1].call(this,Ee):this[ne[0]]=ne[1]:ne.length===3?typeof ne[1]===l&&!(ne[1].exec&&ne[1].test)?this[ne[0]]=Ee?ne[1].call(this,Ee,ne[2]):n:this[ne[0]]=Ee?Ee.replace(ne[1],ne[2]):n:ne.length===4&&(this[ne[0]]=Ee?ne[3].call(this,Ee.replace(ne[1],ne[2])):n):this[ne]=Ee||n;V+=2}},ue=function(N,z){for(var V in z)if(typeof z[V]===u&&z[V].length>0){for(var ee=0;ee<z[V].length;ee++)if(ke(z[V][ee],N))return V===i?n:V}else if(ke(z[V],N))return V===i?n:V;return z.hasOwnProperty("*")?z["*"]:N},ce={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},te={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"},Ce={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[g,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[g,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[g,m],[/opios[\/ ]+([\w\.]+)/i],[m,[g,G+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[g,G+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[g,G]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[g,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[m,[g,"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],[g,m],[/quark(?:pc)?\/([-\w\.]+)/i],[m,[g,"Quark"]],[/\bddg\/([\w\.]+)/i],[m,[g,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[g,"UC"+H]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[g,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[g,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[g,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[g,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[g,"Smart Lenovo "+H]],[/(avast|avg)\/([\w\.]+)/i],[[g,/(.+)/,"$1 Secure "+H],m],[/\bfocus\/([\w\.]+)/i],[m,[g,ge+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[g,G+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[g,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[g,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[g,G+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[g,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[m,[g,ge]],[/\bqihoobrowser\/?([\w\.]*)/i],[m,[g,"360"]],[/\b(qq)\/([\w\.]+)/i],[[g,/(.+)/,"$1Browser"],m],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[g,/(.+)/,"$1"+le],m],[/samsungbrowser\/([\w\.]+)/i],[m,[g,J+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[m,[g,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[g,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[g,m],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[g],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[m,g],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[g,L],m],[/(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],[g,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[g,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[g,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[g,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[g,se+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[g,"Android "+H]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[g,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[g,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,g],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[g,[m,ue,ce]],[/(webkit|khtml)\/([\w\.]+)/i],[g,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[g,"Netscape"],m],[/(wolvic|librewolf)\/([\w\.]+)/i],[g,m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[g,ge+" 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],[g,[m,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[g,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,Ae]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,c,Ae]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,Ae]]],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],[h,[w,J],[b,p]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[w,J],[b,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[w,k],[b,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[w,k],[b,p]],[/(macintosh);/i],[h,[w,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[w,_],[b,f]],[/(?:honor)([-\w ]+)[;\)]/i],[h,[w,"Honor"],[b,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[w,Y],[b,p]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[w,Y],[b,f]],[/\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],[[h,/_/g," "],[w,M],[b,f]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[w,M],[b,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[w,"OPPO"],[b,f]],[/\b(opd2\d{3}a?) bui/i],[h,[w,"OPPO"],[b,p]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[w,"Vivo"],[b,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[w,"Realme"],[b,f]],[/\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],[h,[w,X],[b,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[w,X],[b,p]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[w,O],[b,p]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[w,O],[b,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[w,"Lenovo"],[b,p]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[w,"Nokia"],[b,f]],[/(pixel c)\b/i],[h,[w,Se],[b,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[w,Se],[b,f]],[/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],[h,[w,I],[b,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[w,I],[b,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[w,"OnePlus"],[b,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[w,E],[b,p]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[w,E],[b,f]],[/(playbook);[-\w\),; ]+(rim)/i],[h,w,[b,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[w,q],[b,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[w,B],[b,p]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[w,B],[b,f]],[/(nexus 9)/i],[h,[w,"HTC"],[b,p]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[h,/_/g," "],[b,f]],[/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],[h,[w,"TCL"],[b,p]],[/(itel) ((\w+))/i],[[w,Ae],h,[b,ue,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[w,"Acer"],[b,p]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[w,"Meizu"],[b,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[w,"Ulefone"],[b,f]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[h,[w,"Energizer"],[b,f]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[h,[w,"Cat"],[b,f]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[h,[w,"Smartfren"],[b,f]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[w,"Nothing"],[b,f]],[/(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],[w,h,[b,f]],[/(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],[w,h,[b,p]],[/(surface duo)/i],[h,[w,F],[b,p]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[w,"Fairphone"],[b,f]],[/(u304aa)/i],[h,[w,"AT&T"],[b,f]],[/\bsie-(\w*)/i],[h,[w,"Siemens"],[b,f]],[/\b(rct\w+) b/i],[h,[w,"RCA"],[b,p]],[/\b(venue[\d ]{2,7}) b/i],[h,[w,"Dell"],[b,p]],[/\b(q(?:mv|ta)\w+) b/i],[h,[w,"Verizon"],[b,p]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[w,"Barnes & Noble"],[b,p]],[/\b(tm\d{3}\w+) b/i],[h,[w,"NuVision"],[b,p]],[/\b(k88) b/i],[h,[w,"ZTE"],[b,p]],[/\b(nx\d{3}j) b/i],[h,[w,"ZTE"],[b,f]],[/\b(gen\d{3}) b.+49h/i],[h,[w,"Swiss"],[b,f]],[/\b(zur\d{3}) b/i],[h,[w,"Swiss"],[b,p]],[/\b((zeki)?tb.*\b) b/i],[h,[w,"Zeki"],[b,p]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],h,[b,p]],[/\b(ns-?\w{0,9}) b/i],[h,[w,"Insignia"],[b,p]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[w,"NextBook"],[b,p]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],h,[b,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],h,[b,f]],[/\b(ph-1) /i],[h,[w,"Essential"],[b,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[w,"Envizen"],[b,p]],[/\b(trio[-\w\. ]+) b/i],[h,[w,"MachSpeed"],[b,p]],[/\btu_(1491) b/i],[h,[w,"Rotor"],[b,p]],[/(shield[\w ]+) b/i],[h,[w,"Nvidia"],[b,p]],[/(sprint) (\w+)/i],[w,h,[b,f]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[w,F],[b,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[w,W],[b,p]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[w,W],[b,f]],[/smart-tv.+(samsung)/i],[w,[b,C]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[w,J],[b,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,O],[b,C]],[/(apple) ?tv/i],[w,[h,k+" TV"],[b,C]],[/crkey/i],[[h,se+"cast"],[w,Se],[b,C]],[/droid.+aft(\w+)( bui|\))/i],[h,[w,E],[b,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[w,_],[b,C]],[/(bravia[\w ]+)( bui|\))/i],[h,[w,I],[b,C]],[/(mitv-\w{5}) bui/i],[h,[w,M],[b,C]],[/Hbbtv.*(technisat) (.*);/i],[w,h,[b,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,ye],[h,ye],[b,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,h,[b,v]],[/droid.+; (shield) bui/i],[h,[w,"Nvidia"],[b,v]],[/(playstation [345portablevi]+)/i],[h,[w,I],[b,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[w,F],[b,v]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[h,[w,J],[b,T]],[/((pebble))app/i],[w,h,[b,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[w,k],[b,T]],[/droid.+; (glass) \d/i],[h,[w,Se],[b,T]],[/droid.+; (wt63?0{2,3})\)/i],[h,[w,W],[b,T]],[/droid.+; (glass) \d/i],[h,[w,Se],[b,T]],[/(pico) (4|neo3(?: link|pro)?)/i],[w,h,[b,T]],[/; (quest( \d| pro)?)/i],[h,[w,L],[b,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[b,S]],[/(aeobc)\b/i],[h,[w,E],[b,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[b,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[b,p]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,p]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,f]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[g,oe+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[g,m],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[g,"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],[g,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,g]],os:[[/microsoft (windows) (vista|xp)/i],[g,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[g,[m,ue,te]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,ue,te],[g,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[g,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[g,Q],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,g],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[g,m],[/\(bb(10);/i],[m,[g,q]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[g,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[g,ge+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[g,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[g,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[g,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[g,U],m],[/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],[g,m],[/(sunos) ?([\w\.\d]*)/i],[[g,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[g,m]]},je=function(N,z){if(typeof N===u&&(z=N,N=n),!(this instanceof je))return new je(N,z).getResult();var V=typeof r!==a&&r.navigator?r.navigator:n,ee=N||(V&&V.userAgent?V.userAgent:c),ae=V&&V.userAgentData?V.userAgentData:n,fe=z?be(Ce,z):Ce,ne=V&&V.userAgent==ee;return this.getBrowser=function(){var re={};return re[g]=n,re[m]=n,Te.call(re,ee,fe.browser),re[x]=Ne(re[m]),ne&&V&&V.brave&&typeof V.brave.isBrave==l&&(re[g]="Brave"),re},this.getCPU=function(){var re={};return re[y]=n,Te.call(re,ee,fe.cpu),re},this.getDevice=function(){var re={};return re[w]=n,re[h]=n,re[b]=n,Te.call(re,ee,fe.device),ne&&!re[b]&&ae&&ae.mobile&&(re[b]=f),ne&&re[h]=="Macintosh"&&V&&typeof V.standalone!==a&&V.maxTouchPoints&&V.maxTouchPoints>2&&(re[h]="iPad",re[b]=p),re},this.getEngine=function(){var re={};return re[g]=n,re[m]=n,Te.call(re,ee,fe.engine),re},this.getOS=function(){var re={};return re[g]=n,re[m]=n,Te.call(re,ee,fe.os),ne&&!re[g]&&ae&&ae.platform&&ae.platform!="Unknown"&&(re[g]=ae.platform.replace(/chrome os/i,U).replace(/macos/i,Q)),re},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 ee},this.setUA=function(re){return ee=typeof re===d&&re.length>A?ye(re,A):re,this},this.setUA(ee),this};je.VERSION=o,je.BROWSER=we([g,m,x]),je.CPU=we([y]),je.DEVICE=we([h,w,b,v,f,C,p,T,S]),je.ENGINE=je.OS=we([g,m]),e.exports&&(t=e.exports=je),t.UAParser=je;var P=typeof r!==a&&(r.jQuery||r.Zepto);if(P&&!P.ua){var D=new je;P.ua=D.getResult(),P.ua.get=function(){return D.getUA()},P.ua.set=function(N){D.setUA(N);var z=D.getResult();for(var V in z)P.ua[V]=z[V]}}})(typeof window=="object"?window:Cu)}(tr,tr.exports)),tr.exports}var Su=ju();const en=es(Su);function Tu({user:e,sessionUser:t}){const r=ht(()=>(e?.passports||[])?.find(n=>n.name===t.role),[e?.passports,t?.role]);return s.jsxs($,{sx:{display:"flex",alignItems:"center",gap:1},children:[s.jsx(ts,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),s.jsxs($,{sx:{flex:1,overflow:"hidden"},children:[s.jsxs($,{sx:{display:"flex",alignItems:"center",gap:1},children:[s.jsx(gt,{title:t.fullName,children:s.jsx(Re,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),s.jsx(rs,{label:r?.title||r?.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"}})]}),s.jsx(gt,{title:t.email,children:s.jsx(Re,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const Eu={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"}},Ms="Reserved IP",ei="ip-region-cache";async function ku(e){const t=`https://ipapi.co/${e}/json/`,r=await(await fetch(t)).json();let n="";return r.error?r.reserved&&(n=Ms):n=[r.country_name,r.region,r.city].filter(Boolean).join("/"),n}async function Pu(e){const t=`https://api.ip.sb/geoip/${e}`,r=await(await fetch(t)).json();let n="";return r.error?r.reserved&&(n=Ms):n=[r.country,r.region,r.city].filter(Boolean).join("/"),n}async function Iu(e){let t="",r={};try{const n=localStorage.getItem(ei);n&&(r=JSON.parse(n))}catch{r={}}if(r[e])t=r[e];else{try{t=await Pu(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!t)try{t=await ku(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(t){const n=Object.keys(r);n.length>100&&delete r[n[0]],r[e]&&delete r[e],r[e]=t,localStorage.setItem(ei,JSON.stringify(r))}return t}const ti=e=>new en(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[en.BROWSER.NAME,en.BROWSER.VERSION]]}).getResult(),ri={display:"flex",justifyContent:"flex-end",textAlign:"right"},Ru=new hl({concurrency:1}),Au=R.memo(({userSession:e,isMobile:t=!1})=>{const r=yt({loading:!0,ipRegion:""}),{t:n}=Ie();return R.useEffect(()=>{Ru.add(async()=>{try{r.ipRegion=await Iu(e.lastLoginIp)}finally{r.loading=!1}})},[r,e.lastLoginIp]),s.jsx($,{...t&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:r.ipRegion?s.jsxs(s.Fragment,{children:[s.jsx(Re,{variant:"body2",children:r.ipRegion}),s.jsx(Re,{variant:"body2",color:"grey",children:e.lastLoginIp||n("unknown")})]}):s.jsxs(s.Fragment,{children:[s.jsx(Re,{children:e.lastLoginIp||n("unknown")}),r.loading?s.jsx(Re,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:s.jsx(vt,{size:12,color:"inherit"})}):null]})})});function Du({user:e,showAction:t=!0,showUser:r=!0,getUserSessions:n,showOffline:o=!1,showAppPid:c=!1}){const i=yt({status:"online",page:1,pageSize:10}),l=yt({online:0,expired:0,offline:0}),a=pl(),{locale:u}=Ie(),d=bc({key:"md"}),x=to(E=>E.breakpoints.down("lg")),{confirmApi:h,confirmHolder:g}=ro(),b=mt((E,k={})=>ml(Eu,E,u,"en",k)),w=mt(async()=>{const E=await n({page:i.page,pageSize:i.pageSize,status:i.status}),k=E?.paging?.total||0;return l[i.status]=k,{total:k,list:E?.list||[]}});ns(async()=>{const E=await n({page:1,pageSize:1,status:"expired"});l.expired=E?.paging?.total||0;const k=await n({page:1,pageSize:1,status:"offline"});l.offline=k?.paging?.total||0});const m=os(w,{refreshDeps:[i.status,i.page,i.pageSize]}),y=ht(()=>m.data?.list||[],[m.data?.list]),v=ht(()=>{const E=i.status;return E==="online"?l[E]<=1:l[E]===0},[y,a]),f=ht(()=>jr({},d?ri:{}),[d]),p=mt(({visitorId:E})=>{h.open({title:b("logoutThisSession"),content:b("logoutThisSessionConfirm"),confirmButtonText:b("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:b("cancel"),onConfirm:async()=>{await No.user.logout({visitorId:E,includeFederated:!0});const{page:k=0}=i,{list:B=[]}=m.data||{},q=B.length||0;k>1&&q===1&&(i.page=Math.max(k-1,1)),m.refresh(),h.close()}})}),C=mt(()=>{h.open({title:b("logoutAllSession",{type:b(i.status)}),content:b("logoutAllSessionConfirm",{type:b(i.status)}),confirmButtonText:b("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:b("cancel"),onConfirm:async()=>{await No.user.logout({status:i.status,visitorId:a,includeFederated:!0}),i.page=1,m.refresh(),h.close()}})}),T=[];t&&T.push(s.jsx(gt,{title:b("logoutAllTips",{type:b(i.status)}),children:s.jsx(qe,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:C,disabled:v,children:b("logoutAll",{type:b(i.status)})})},"logoutAll"));const S=ht(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:i.page-1,rowsPerPage:i.pageSize,count:m.data?.total||0}),[m.data?.total,i.page,i.pageSize]),A=[{label:b("platform"),name:"platform",options:{customBodyRenderLite:E=>{const k=y[E],B=ti(k?.ua);return s.jsx($,{sx:f,children:[B.os?.name,B.os?.version].filter(Boolean).join("/")||b("unknown")})}}},{label:b("deviceType"),name:"deviceType",options:{customBodyRenderLite:E=>{const k=y[E],B=ti(k?.ua);return s.jsx($,{sx:f,children:[B.browser?.name,B.browser?.version].filter(Boolean).join("/")||b("unknown")})}}},{label:b("walletOS"),name:"walletOS",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:k.extra?.walletOS||b("unknown")})}}},c&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:E=>{const k=y[E];return k.appPid?s.jsx(is,{size:14,responsive:!1,compact:!0,did:k.appPid}):null}}},r&&{label:b("user"),name:"user",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:jr({minWidth:150,maxWidth:250},d?ri:{}),children:s.jsx(Tu,{sessionUser:k.user,user:e})})}}},{label:b("createdAt"),name:"createdAt",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:k.createdAt?s.jsx(or,{value:k.createdAt,relativeRange:3*86400*1e3,locale:u}):b("unknown")})}}},!o&&{label:b("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:k.status==="expired"?b("expired"):s.jsx(or,{value:k.updatedAt,relativeRange:3*86400*1e3,locale:u})})}}},{label:b("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx(Au,{userSession:k,isMobile:d})}}},t&&{label:b("actions"),name:"actions",options:{customBodyRenderLite:E=>{const k=y[E];return s.jsx($,{sx:f,children:s.jsx(qe,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:a===k.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>p({visitorId:k.visitorId}),children:k.status==="expired"?b("remove"):a===k.visitorId?b("currentSession"):b("logout")})})}}}].filter(Boolean);return s.jsxs($,{className:"pc-user-sessions",sx:{maxWidth:d?"unset":x?"calc(100vw - 300px)":"100%",...d&&{".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:E=>`${E.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...d&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[g,s.jsx(uo,{count:m.data?.total||0,locale:u,data:y,columns:A,customButtons:T,options:S,loading:m.loading,className:"pc-user-sessions-table",title:s.jsxs(xs,{row:!0,sx:{lineHeight:1,ml:1},onChange:E=>{i.status=E.target.value},children:[s.jsx(Lt,{value:"online",control:s.jsx(Cr,{size:"small",sx:{lineHeight:1,fontSize:0},checked:i.status==="online"}),label:s.jsxs(Re,{sx:{display:"flex",alignItems:"center"},children:[b("online"),s.jsxs(Re,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",l.online,")"]})]})}),s.jsx(Lt,{value:"expired",control:s.jsx(Cr,{size:"small",sx:{lineHeight:1,fontSize:0},checked:i.status==="expired"}),label:s.jsxs(Re,{sx:{display:"flex",alignItems:"center"},children:[b("expired"),s.jsxs(Re,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",l.expired,")"]})]})}),o?s.jsx(Lt,{value:"offline",control:s.jsx(Cr,{size:"small",sx:{lineHeight:1,fontSize:0},checked:i.status==="offline"}),label:s.jsxs(Re,{sx:{display:"flex",alignItems:"center"},children:[b("offline"),s.jsxs(Re,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",l.offline,")"]})]})}):null]}),onChange:E=>{i.page=E.page+1,i.pageSize=E.rowsPerPage}})]})}var tn={exports:{}},rn={},ni;function Ls(){if(ni)return rn;ni=1;function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},e(v)}function t(v,f,p){return Object.defineProperty(v,"prototype",{writable:!1}),v}function r(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function n(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&o(v,f)}function o(v,f){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,T){return C.__proto__=T,C},o(v,f)}function c(v){var f=a();return function(){var C=u(v),T;if(f){var S=u(this).constructor;T=Reflect.construct(C,arguments,S)}else T=C.apply(this,arguments);return i(this,T)}}function i(v,f){if(f&&(e(f)==="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(v)}function l(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(v){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(v)}var d={},x,h;function g(v,f,p){p||(p=Error);function C(S,A,E){return typeof f=="string"?f:f(S,A,E)}var T=function(S){n(E,S);var A=c(E);function E(k,B,q){var H;return r(this,E),H=A.call(this,C(k,B,q)),H.code=v,H}return t(E)}(p);d[v]=T}function b(v,f){if(Array.isArray(v)){var p=v.length;return v=v.map(function(C){return String(C)}),p>2?"one of ".concat(f," ").concat(v.slice(0,p-1).join(", "),", or ")+v[p-1]:p===2?"one of ".concat(f," ").concat(v[0]," or ").concat(v[1]):"of ".concat(f," ").concat(v[0])}else return"of ".concat(f," ").concat(String(v))}function w(v,f,p){return v.substr(0,f.length)===f}function m(v,f,p){return(p===void 0||p>v.length)&&(p=v.length),v.substring(p-f.length,p)===f}function y(v,f,p){return typeof p!="number"&&(p=0),p+f.length>v.length?!1:v.indexOf(f,p)!==-1}return g("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),g("ERR_INVALID_ARG_TYPE",function(v,f,p){x===void 0&&(x=Kn()),x(typeof v=="string","'name' must be a string");var C;typeof f=="string"&&w(f,"not ")?(C="must not be",f=f.replace(/^not /,"")):C="must be";var T;if(m(v," argument"))T="The ".concat(v," ").concat(C," ").concat(b(f,"type"));else{var S=y(v,".")?"property":"argument";T='The "'.concat(v,'" ').concat(S," ").concat(C," ").concat(b(f,"type"))}return T+=". Received type ".concat(e(p)),T},TypeError),g("ERR_INVALID_ARG_VALUE",function(v,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";h===void 0&&(h=ir());var C=h.inspect(f);return C.length>128&&(C="".concat(C.slice(0,128),"...")),"The argument '".concat(v,"' ").concat(p,". Received ").concat(C)},TypeError),g("ERR_INVALID_RETURN_VALUE",function(v,f,p){var C;return p&&p.constructor&&p.constructor.name?C="instance of ".concat(p.constructor.name):C="type ".concat(e(p)),"Expected ".concat(v,' to be returned from the "').concat(f,'"')+" function but got ".concat(C,".")},TypeError),g("ERR_MISSING_ARGS",function(){for(var v=arguments.length,f=new Array(v),p=0;p<v;p++)f[p]=arguments[p];x===void 0&&(x=Kn()),x(f.length>0,"At least one arg needs to be specified");var C="The ",T=f.length;switch(f=f.map(function(S){return'"'.concat(S,'"')}),T){case 1:C+="".concat(f[0]," argument");break;case 2:C+="".concat(f[0]," and ").concat(f[1]," arguments");break;default:C+=f.slice(0,T-1).join(", "),C+=", and ".concat(f[T-1]," arguments");break}return"".concat(C," must be specified")},TypeError),rn.codes=d,rn}var nn,oi;function Ou(){if(oi)return nn;oi=1;function e(O,F){var X=Object.keys(O);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(O);F&&(G=G.filter(function(J){return Object.getOwnPropertyDescriptor(O,J).enumerable})),X.push.apply(X,G)}return X}function t(O){for(var F=1;F<arguments.length;F++){var X=arguments[F]!=null?arguments[F]:{};F%2?e(Object(X),!0).forEach(function(G){r(O,G,X[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(X)):e(Object(X)).forEach(function(G){Object.defineProperty(O,G,Object.getOwnPropertyDescriptor(X,G))})}return O}function r(O,F,X){return F=i(F),F in O?Object.defineProperty(O,F,{value:X,enumerable:!0,configurable:!0,writable:!0}):O[F]=X,O}function n(O,F){if(!(O instanceof F))throw new TypeError("Cannot call a class as a function")}function o(O,F){for(var X=0;X<F.length;X++){var G=F[X];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(O,i(G.key),G)}}function c(O,F,X){return F&&o(O.prototype,F),Object.defineProperty(O,"prototype",{writable:!1}),O}function i(O){var F=l(O,"string");return v(F)==="symbol"?F:String(F)}function l(O,F){if(v(O)!=="object"||O===null)return O;var X=O[Symbol.toPrimitive];if(X!==void 0){var G=X.call(O,F);if(v(G)!=="object")return G;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}function a(O,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(F&&F.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),F&&m(O,F)}function u(O){var F=b();return function(){var G=y(O),J;if(F){var _=y(this).constructor;J=Reflect.construct(G,arguments,_)}else J=G.apply(this,arguments);return d(this,J)}}function d(O,F){if(F&&(v(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x(O)}function x(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O){var F=typeof Map=="function"?new Map:void 0;return h=function(G){if(G===null||!w(G))return G;if(typeof G!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(G))return F.get(G);F.set(G,J)}function J(){return g(G,arguments,y(this).constructor)}return J.prototype=Object.create(G.prototype,{constructor:{value:J,enumerable:!1,writable:!0,configurable:!0}}),m(J,G)},h(O)}function g(O,F,X){return b()?g=Reflect.construct.bind():g=function(J,_,I){var M=[null];M.push.apply(M,_);var W=Function.bind.apply(J,M),L=new W;return I&&m(L,I.prototype),L},g.apply(null,arguments)}function b(){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 w(O){return Function.toString.call(O).indexOf("[native code]")!==-1}function m(O,F){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,J){return G.__proto__=J,G},m(O,F)}function y(O){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(X){return X.__proto__||Object.getPrototypeOf(X)},y(O)}function v(O){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},v(O)}var f=ir(),p=f.inspect,C=Ls(),T=C.codes.ERR_INVALID_ARG_TYPE;function S(O,F,X){return(X===void 0||X>O.length)&&(X=O.length),O.substring(X-F.length,X)===F}function A(O,F){if(F=Math.floor(F),O.length==0||F==0)return"";var X=O.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)O+=O,F--;return O+=O.substring(0,X-O.length),O}var E="",k="",B="",q="",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 oe(O){var F=Object.keys(O),X=Object.create(Object.getPrototypeOf(O));return F.forEach(function(G){X[G]=O[G]}),Object.defineProperty(X,"message",{value:O.message}),X}function ge(O){return p(O,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Se(O,F,X){var G="",J="",_=0,I="",M=!1,W=ge(O),L=W.split(`
2
2
  `),U=ge(F).split(`
3
3
  `),Q=0,le="";if(X==="strictEqual"&&v(O)==="object"&&v(F)==="object"&&O!==null&&F!==null&&(X="strictEqualObject"),L.length===1&&U.length===1&&L[0]!==U[0]){var be=L[0].length+U[0].length;if(be<=se){if((v(O)!=="object"||O===null)&&(v(F)!=="object"||F===null)&&(O!==0||F!==0))return"".concat(H[X],`
4
4
 
@@ -1,4 +1,4 @@
1
- import{r as a,u as D,j as e,T as k,be as J,M as i,s as U,b2 as Q,o as l,g as $,k as M,d3 as X,bk as ee,d as te,Y as re,C as ne,n as se,i as v,a as h,aH as L,b,d4 as oe,K as ie,bu as ae,aD as le,d5 as me,G as C,H as R,l as ce,m as ue,B as de,bm as pe}from"./index-C7egXf_h.js";import{u as fe,T as xe}from"./html-title-vsl-TT26.js";import{T as ge}from"./traffic-C17ygInL.js";import{H as he}from"./index-8DgiLFWe.js";import{x as V}from"./index-DRYJ0xIl.js";import{C as ye,M as T}from"./memory-UJLIVuot.js";import{C as ve}from"./CardContent-C22npYBc.js";import{u as Ce}from"./useLocalStorage-DZYDHTFQ.js";import{T as je,a as Ie}from"./ToggleButtonGroup-BEjde42R.js";import"./iframe-Dl-yNrp9.js";import"./ChevronLeft-Bmmo6bzu.js";import"./ChevronRight-X_FMXVA4.js";import"./index-DBii9-f-.js";import"./typeof-QjJsDpFa.js";import"./base-chart-D7y6qq9u.js";import"./index-CpuUG8Z1.js";import"./AdapterDayjs-DQepVz3x.js";import"./useThemeProps-Bs1lG48z.js";import"./CSSTransition-dwX1-RMJ.js";import"./visuallyHidden-Dan1xhjv.js";import"./FilterList-BOMn8eqm.js";import"./emotion-cache.browser.esm-B4ZmPeHk.js";import"./index-rrAKD-3O.js";import"./redux-DfszZyTl.js";import"./depsEqual-BaUhqVSn.js";import"./index-BxxgnmFX.js";import"./TableSearch-Bj41g7St.js";import"./Search-Dm2dt-Sr.js";import"./Clear-B-e33dNn.js";import"./MoreVert-bx--E19j.js";import"./getValidReactChildren-DDB1J2y7.js";const be=o=>a.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...o},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.08295 3.2C2.08295 2.58144 2.58439 2.08 3.20295 2.08H28.8029C29.4215 2.08 29.9229 2.58144 29.9229 3.2V13.44C29.9229 14.0586 29.4215 14.56 28.8029 14.56H3.20295C2.58439 14.56 2.08295 14.0586 2.08295 13.44V3.2ZM4.32295 4.32V12.32H27.6829V4.32H4.32295ZM2.08295 18.56C2.08295 17.9414 2.58439 17.44 3.20295 17.44H28.8029C29.4215 17.44 29.9229 17.9414 29.9229 18.56V28.8C29.9229 29.4186 29.4215 29.92 28.8029 29.92H3.20295C2.58439 29.92 2.08295 29.4186 2.08295 28.8V18.56ZM4.32295 19.68V27.68H27.6829V19.68H4.32295Z",fill:"currentColor"}),a.createElement("path",{d:"M8.96297 7.04001H7.68297C7.51323 7.04001 7.35044 7.10744 7.23042 7.22746C7.1104 7.34748 7.04297 7.51027 7.04297 7.68001V8.96001C7.04297 9.12975 7.1104 9.29253 7.23042 9.41256C7.35044 9.53258 7.51323 9.60001 7.68297 9.60001H8.96297C9.13271 9.60001 9.29549 9.53258 9.41552 9.41256C9.53554 9.29253 9.60297 9.12975 9.60297 8.96001V7.68001C9.60297 7.51027 9.53554 7.34748 9.41552 7.22746C9.29549 7.10744 9.13271 7.04001 8.96297 7.04001ZM8.96297 22.4H7.68297C7.51323 22.4 7.35044 22.4674 7.23042 22.5875C7.1104 22.7075 7.04297 22.8703 7.04297 23.04V24.32C7.04297 24.4897 7.1104 24.6525 7.23042 24.7726C7.35044 24.8926 7.51323 24.96 7.68297 24.96H8.96297C9.13271 24.96 9.29549 24.8926 9.41552 24.7726C9.53554 24.6525 9.60297 24.4897 9.60297 24.32V23.04C9.60297 22.8703 9.53554 22.7075 9.41552 22.5875C9.29549 22.4674 9.13271 22.4 8.96297 22.4ZM14.083 7.04001H12.803C12.6332 7.04001 12.4704 7.10744 12.3504 7.22746C12.2304 7.34748 12.163 7.51027 12.163 7.68001V8.96001C12.163 9.12975 12.2304 9.29253 12.3504 9.41256C12.4704 9.53258 12.6332 9.60001 12.803 9.60001H14.083C14.2527 9.60001 14.4155 9.53258 14.5355 9.41256C14.6555 9.29253 14.723 9.12975 14.723 8.96001V7.68001C14.723 7.51027 14.6555 7.34748 14.5355 7.22746C14.4155 7.10744 14.2527 7.04001 14.083 7.04001ZM14.083 22.4H12.803C12.6332 22.4 12.4704 22.4674 12.3504 22.5875C12.2304 22.7075 12.163 22.8703 12.163 23.04V24.32C12.163 24.4897 12.2304 24.6525 12.3504 24.7726C12.4704 24.8926 12.6332 24.96 12.803 24.96H14.083C14.2527 24.96 14.4155 24.8926 14.5355 24.7726C14.6555 24.6525 14.723 24.4897 14.723 24.32V23.04C14.723 22.8703 14.6555 22.7075 14.5355 22.5875C14.4155 22.4674 14.2527 22.4 14.083 22.4Z",fill:"currentColor"}));function Me(){const{api:o,info:s}=D();return e.jsx(ge,{client:o,did:s.did})}function P({style:o={},title:s=null,value:m=null,graph:c=null,description:p=null,empty:f=null}){return e.jsx(ke,{children:e.jsxs(ve,{style:{...o},children:[e.jsx(k,{sx:{color:"text.secondary",fontSize:14},children:s}),f&&J.isValidElement(f)?e.jsx(i,{style:{height:150},sx:{color:"text.secondary",display:"flex",justifyContent:"center",alignItems:"center"},children:f}):e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"h5",component:"div",sx:{mt:1},children:m}),c,!!p&&e.jsx(i,{sx:{display:"flex",color:"text.secondary",fontSize:12,marginTop:3},children:p})]})]})})}P.propTypes={style:l.object,title:l.node,value:l.node,graph:l.node,description:l.any,empty:l.node};const ke=U(Q)`
1
+ import{r as a,u as D,j as e,T as k,be as J,M as i,s as U,b2 as Q,o as l,g as $,k as M,d3 as X,bk as ee,d as te,Y as re,C as ne,n as se,i as v,a as h,aH as L,b,d4 as oe,K as ie,bu as ae,aD as le,d5 as me,G as C,H as R,l as ce,m as ue,B as de,bm as pe}from"./index-DJuZ9nhg.js";import{u as fe,T as xe}from"./html-title-3CG5UyIt.js";import{T as ge}from"./traffic-z7f03zNE.js";import{H as he}from"./index-BdNOQK8-.js";import{x as V}from"./index-DRYJ0xIl.js";import{C as ye,M as T}from"./memory-C-FNQnOM.js";import{C as ve}from"./CardContent-Dn4qVn0M.js";import{u as Ce}from"./useLocalStorage-rIF260NZ.js";import{T as je,a as Ie}from"./ToggleButtonGroup-CDxsnBYJ.js";import"./iframe-aJ3sDUVb.js";import"./ChevronLeft-vJUfXHLK.js";import"./ChevronRight-CBhWmXPb.js";import"./index-DBii9-f-.js";import"./typeof-QjJsDpFa.js";import"./base-chart-C5PdAmLw.js";import"./index-CLAxAmz7.js";import"./AdapterDayjs-CeksOrhl.js";import"./useThemeProps-CIXT-uHm.js";import"./CSSTransition-r6UVh1d4.js";import"./visuallyHidden-Dan1xhjv.js";import"./FilterList-DOx5uN4S.js";import"./emotion-cache.browser.esm-DZEVfVIs.js";import"./index-DQ7-a_Yl.js";import"./redux-DfszZyTl.js";import"./depsEqual-DfTLPdgg.js";import"./index-BuQjZmfi.js";import"./TableSearch-x3y0kzP6.js";import"./Search-DUF2osvO.js";import"./Clear-Dm80eYkN.js";import"./MoreVert-Dt9p1lZE.js";import"./getValidReactChildren-BKEsPaXS.js";const be=o=>a.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...o},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.08295 3.2C2.08295 2.58144 2.58439 2.08 3.20295 2.08H28.8029C29.4215 2.08 29.9229 2.58144 29.9229 3.2V13.44C29.9229 14.0586 29.4215 14.56 28.8029 14.56H3.20295C2.58439 14.56 2.08295 14.0586 2.08295 13.44V3.2ZM4.32295 4.32V12.32H27.6829V4.32H4.32295ZM2.08295 18.56C2.08295 17.9414 2.58439 17.44 3.20295 17.44H28.8029C29.4215 17.44 29.9229 17.9414 29.9229 18.56V28.8C29.9229 29.4186 29.4215 29.92 28.8029 29.92H3.20295C2.58439 29.92 2.08295 29.4186 2.08295 28.8V18.56ZM4.32295 19.68V27.68H27.6829V19.68H4.32295Z",fill:"currentColor"}),a.createElement("path",{d:"M8.96297 7.04001H7.68297C7.51323 7.04001 7.35044 7.10744 7.23042 7.22746C7.1104 7.34748 7.04297 7.51027 7.04297 7.68001V8.96001C7.04297 9.12975 7.1104 9.29253 7.23042 9.41256C7.35044 9.53258 7.51323 9.60001 7.68297 9.60001H8.96297C9.13271 9.60001 9.29549 9.53258 9.41552 9.41256C9.53554 9.29253 9.60297 9.12975 9.60297 8.96001V7.68001C9.60297 7.51027 9.53554 7.34748 9.41552 7.22746C9.29549 7.10744 9.13271 7.04001 8.96297 7.04001ZM8.96297 22.4H7.68297C7.51323 22.4 7.35044 22.4674 7.23042 22.5875C7.1104 22.7075 7.04297 22.8703 7.04297 23.04V24.32C7.04297 24.4897 7.1104 24.6525 7.23042 24.7726C7.35044 24.8926 7.51323 24.96 7.68297 24.96H8.96297C9.13271 24.96 9.29549 24.8926 9.41552 24.7726C9.53554 24.6525 9.60297 24.4897 9.60297 24.32V23.04C9.60297 22.8703 9.53554 22.7075 9.41552 22.5875C9.29549 22.4674 9.13271 22.4 8.96297 22.4ZM14.083 7.04001H12.803C12.6332 7.04001 12.4704 7.10744 12.3504 7.22746C12.2304 7.34748 12.163 7.51027 12.163 7.68001V8.96001C12.163 9.12975 12.2304 9.29253 12.3504 9.41256C12.4704 9.53258 12.6332 9.60001 12.803 9.60001H14.083C14.2527 9.60001 14.4155 9.53258 14.5355 9.41256C14.6555 9.29253 14.723 9.12975 14.723 8.96001V7.68001C14.723 7.51027 14.6555 7.34748 14.5355 7.22746C14.4155 7.10744 14.2527 7.04001 14.083 7.04001ZM14.083 22.4H12.803C12.6332 22.4 12.4704 22.4674 12.3504 22.5875C12.2304 22.7075 12.163 22.8703 12.163 23.04V24.32C12.163 24.4897 12.2304 24.6525 12.3504 24.7726C12.4704 24.8926 12.6332 24.96 12.803 24.96H14.083C14.2527 24.96 14.4155 24.8926 14.5355 24.7726C14.6555 24.6525 14.723 24.4897 14.723 24.32V23.04C14.723 22.8703 14.6555 22.7075 14.5355 22.5875C14.4155 22.4674 14.2527 22.4 14.083 22.4Z",fill:"currentColor"}));function Me(){const{api:o,info:s}=D();return e.jsx(ge,{client:o,did:s.did})}function P({style:o={},title:s=null,value:m=null,graph:c=null,description:p=null,empty:f=null}){return e.jsx(ke,{children:e.jsxs(ve,{style:{...o},children:[e.jsx(k,{sx:{color:"text.secondary",fontSize:14},children:s}),f&&J.isValidElement(f)?e.jsx(i,{style:{height:150},sx:{color:"text.secondary",display:"flex",justifyContent:"center",alignItems:"center"},children:f}):e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"h5",component:"div",sx:{mt:1},children:m}),c,!!p&&e.jsx(i,{sx:{display:"flex",color:"text.secondary",fontSize:12,marginTop:3},children:p})]})]})})}P.propTypes={style:l.object,title:l.node,value:l.node,graph:l.node,description:l.any,empty:l.node};const ke=U(Q)`
2
2
  .card-content {
3
3
  height: 150px;
4
4
  }
@@ -1 +1 @@
1
- import{be as v,r as at}from"./index-C7egXf_h.js";var he=e=>e.type==="checkbox",ue=e=>e instanceof Date,$=e=>e==null;const _t=e=>typeof e=="object";var P=e=>!$(e)&&!Array.isArray(e)&&_t(e)&&!ue(e),ht=e=>P(e)&&e.target?he(e.target)?e.target.checked:e.target.value:e,Nt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,mt=(e,r)=>e.has(Nt(r)),Bt=e=>{const r=e.constructor&&e.constructor.prototype;return P(r)&&r.hasOwnProperty("isPrototypeOf")},je=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function T(e){let r;const t=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)r=new Date(e);else if(e instanceof Set)r=new Set(e);else if(!(je&&(e instanceof Blob||i))&&(t||P(e)))if(r=t?[]:{},!t&&!Bt(e))r=e;else for(const n in e)e.hasOwnProperty(n)&&(r[n]=T(e[n]));else return e;return r}var Se=e=>/^\w*$/.test(e),U=e=>e===void 0,we=e=>Array.isArray(e)?e.filter(Boolean):[],Ke=e=>we(e.replace(/["|']|\]/g,"").split(/\.|\[/)),c=(e,r,t)=>{if(!r||!P(e))return t;const i=(Se(r)?[r]:Ke(r)).reduce((n,l)=>$(n)?n:n[l],e);return U(i)||i===e?U(e[r])?t:e[r]:i},Q=e=>typeof e=="boolean",E=(e,r,t)=>{let i=-1;const n=Se(r)?[r]:Ke(r),l=n.length,f=l-1;for(;++i<l;){const d=n[i];let b=t;if(i!==f){const x=e[d];b=P(x)||Array.isArray(x)?x:isNaN(+n[i+1])?{}:[]}if(d==="__proto__"||d==="constructor"||d==="prototype")return;e[d]=b,e=e[d]}};const Fe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Z={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ie={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},vt=v.createContext(null);vt.displayName="HookFormContext";const ke=()=>v.useContext(vt);var bt=(e,r,t,i=!0)=>{const n={defaultValues:r._defaultValues};for(const l in e)Object.defineProperty(n,l,{get:()=>{const f=l;return r._proxyFormState[f]!==Z.all&&(r._proxyFormState[f]=!i||Z.all),t&&(t[f]=!0),e[f]}});return n};const De=typeof window<"u"?at.useLayoutEffect:at.useEffect;function Pt(e){const r=ke(),{control:t=r.control,disabled:i,name:n,exact:l}=e||{},[f,d]=v.useState(t._formState),b=v.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return De(()=>t._subscribe({name:n,formState:b.current,exact:l,callback:x=>{!i&&d({...t._formState,...x})}}),[n,i,l]),v.useEffect(()=>{b.current.isValid&&t._setValid(!0)},[t]),v.useMemo(()=>bt(f,t,b.current,!1),[f,t])}var se=e=>typeof e=="string",Ft=(e,r,t,i,n)=>se(e)?(i&&r.watch.add(e),c(t,e,n)):Array.isArray(e)?e.map(l=>(i&&r.watch.add(l),c(t,l))):(i&&(r.watchAll=!0),t);function Wt(e){const r=ke(),{control:t=r.control,name:i,defaultValue:n,disabled:l,exact:f}=e||{},d=v.useRef(n),[b,x]=v.useState(t._getWatch(i,d.current));return De(()=>t._subscribe({name:i,formState:{values:!0},exact:f,callback:D=>!l&&x(Ft(i,t._names,D.values||t._formValues,!1,d.current))}),[i,t,l,f]),v.useEffect(()=>t._removeUnmounted()),b}function qt(e){const r=ke(),{name:t,disabled:i,control:n=r.control,shouldUnregister:l}=e,f=mt(n._names.array,t),d=Wt({control:n,name:t,defaultValue:c(n._formValues,t,c(n._defaultValues,t,e.defaultValue)),exact:!0}),b=Pt({control:n,name:t,exact:!0}),x=v.useRef(e),D=v.useRef(n.register(t,{...e.rules,value:d,...Q(e.disabled)?{disabled:e.disabled}:{}})),C=v.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!c(b.errors,t)},isDirty:{enumerable:!0,get:()=>!!c(b.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!c(b.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!c(b.validatingFields,t)},error:{enumerable:!0,get:()=>c(b.errors,t)}}),[b,t]),F=v.useCallback(L=>D.current.onChange({target:{value:ht(L),name:t},type:Fe.CHANGE}),[t]),M=v.useCallback(()=>D.current.onBlur({target:{value:c(n._formValues,t),name:t},type:Fe.BLUR}),[t,n._formValues]),z=v.useCallback(L=>{const ee=c(n._fields,t);ee&&L&&(ee._f.ref={focus:()=>L.focus&&L.focus(),select:()=>L.select&&L.select(),setCustomValidity:V=>L.setCustomValidity(V),reportValidity:()=>L.reportValidity()})},[n._fields,t]),R=v.useMemo(()=>({name:t,value:d,...Q(i)||b.disabled?{disabled:b.disabled||i}:{},onChange:F,onBlur:M,ref:z}),[t,i,b.disabled,F,M,z,d]);return v.useEffect(()=>{const L=n._options.shouldUnregister||l;n.register(t,{...x.current.rules,...Q(x.current.disabled)?{disabled:x.current.disabled}:{}});const ee=(V,G)=>{const W=c(n._fields,V);W&&W._f&&(W._f.mount=G)};if(ee(t,!0),L){const V=T(c(n._options.defaultValues,t));E(n._defaultValues,t,V),U(c(n._formValues,t))&&E(n._formValues,t,V)}return!f&&n.register(t),()=>{(f?L&&!n._state.action:L)?n.unregister(t):ee(t,!1)}},[t,n,f,l]),v.useEffect(()=>{n._setDisabledField({disabled:i,name:t})},[i,t,n]),v.useMemo(()=>({field:R,formState:b,fieldState:C}),[R,b,C])}const ar=e=>e.render(qt(e));var Ht=(e,r,t,i,n)=>r?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[i]:n||!0}}:{},K=e=>Array.isArray(e)?e:[e],nt=()=>{let e=[];return{get observers(){return e},next:n=>{for(const l of e)l.next&&l.next(n)},subscribe:n=>(e.push(n),{unsubscribe:()=>{e=e.filter(l=>l!==n)}}),unsubscribe:()=>{e=[]}}},qe=e=>$(e)||!_t(e);function le(e,r,t=new WeakSet){if(qe(e)||qe(r))return e===r;if(ue(e)&&ue(r))return e.getTime()===r.getTime();const i=Object.keys(e),n=Object.keys(r);if(i.length!==n.length)return!1;if(t.has(e)||t.has(r))return!0;t.add(e),t.add(r);for(const l of i){const f=e[l];if(!n.includes(l))return!1;if(l!=="ref"){const d=r[l];if(ue(f)&&ue(d)||P(f)&&P(d)||Array.isArray(f)&&Array.isArray(d)?!le(f,d,t):f!==d)return!1}}return!0}var H=e=>P(e)&&!Object.keys(e).length,ze=e=>e.type==="file",te=e=>typeof e=="function",Ve=e=>{if(!je)return!1;const r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},Vt=e=>e.type==="select-multiple",Ge=e=>e.type==="radio",$t=e=>Ge(e)||he(e),Me=e=>Ve(e)&&e.isConnected;function jt(e,r){const t=r.slice(0,-1).length;let i=0;for(;i<t;)e=U(e)?i++:e[r[i++]];return e}function Kt(e){for(const r in e)if(e.hasOwnProperty(r)&&!U(e[r]))return!1;return!0}function B(e,r){const t=Array.isArray(r)?r:Se(r)?[r]:Ke(r),i=t.length===1?e:jt(e,t),n=t.length-1,l=t[n];return i&&delete i[l],n!==0&&(P(i)&&H(i)||Array.isArray(i)&&Kt(i))&&B(e,t.slice(0,-1)),e}var At=e=>{for(const r in e)if(te(e[r]))return!0;return!1};function Ae(e,r={}){const t=Array.isArray(e);if(P(e)||t)for(const i in e)Array.isArray(e[i])||P(e[i])&&!At(e[i])?(r[i]=Array.isArray(e[i])?[]:{},Ae(e[i],r[i])):$(e[i])||(r[i]=!0);return r}function xt(e,r,t){const i=Array.isArray(e);if(P(e)||i)for(const n in e)Array.isArray(e[n])||P(e[n])&&!At(e[n])?U(r)||qe(t[n])?t[n]=Array.isArray(e[n])?Ae(e[n],[]):{...Ae(e[n])}:xt(e[n],$(r)?{}:r[n],t[n]):t[n]=!le(e[n],r[n]);return t}var ge=(e,r)=>xt(e,r,Ae(r));const lt={value:!1,isValid:!1},ut={value:!0,isValid:!0};var St=e=>{if(Array.isArray(e)){if(e.length>1){const r=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:r,isValid:!!r.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!U(e[0].attributes.value)?U(e[0].value)||e[0].value===""?ut:{value:e[0].value,isValid:!0}:ut:lt}return lt},wt=(e,{valueAsNumber:r,valueAsDate:t,setValueAs:i})=>U(e)?e:r?e===""?NaN:e&&+e:t&&se(e)?new Date(e):i?i(e):e;const ot={isValid:!1,value:null};var kt=e=>Array.isArray(e)?e.reduce((r,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:r,ot):ot;function ct(e){const r=e.ref;return ze(r)?r.files:Ge(r)?kt(e.refs).value:Vt(r)?[...r.selectedOptions].map(({value:t})=>t):he(r)?St(e.refs).value:wt(U(r.value)?e.ref.value:r.value,e)}var zt=(e,r,t,i)=>{const n={};for(const l of e){const f=c(r,l);f&&E(n,l,f._f)}return{criteriaMode:t,names:[...e],fields:n,shouldUseNativeValidation:i}},xe=e=>e instanceof RegExp,_e=e=>U(e)?e:xe(e)?e.source:P(e)?xe(e.value)?e.value.source:e.value:e,de=e=>({isOnSubmit:!e||e===Z.onSubmit,isOnBlur:e===Z.onBlur,isOnChange:e===Z.onChange,isOnAll:e===Z.all,isOnTouch:e===Z.onTouched});const dt="AsyncFunction";var Gt=e=>!!e&&!!e.validate&&!!(te(e.validate)&&e.validate.constructor.name===dt||P(e.validate)&&Object.values(e.validate).find(r=>r.constructor.name===dt)),Yt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),He=(e,r,t)=>!t&&(r.watchAll||r.watch.has(e)||[...r.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const fe=(e,r,t,i)=>{for(const n of t||Object.keys(e)){const l=c(e,n);if(l){const{_f:f,...d}=l;if(f){if(f.refs&&f.refs[0]&&r(f.refs[0],n)&&!i)return!0;if(f.ref&&r(f.ref,f.name)&&!i)return!0;if(fe(d,r))break}else if(P(d)&&fe(d,r))break}}};function ft(e,r,t){const i=c(e,t);if(i||Se(t))return{error:i,name:t};const n=t.split(".");for(;n.length;){const l=n.join("."),f=c(r,l),d=c(e,l);if(f&&!Array.isArray(f)&&t!==l)return{name:t};if(d&&d.type)return{name:l,error:d};if(d&&d.root&&d.root.type)return{name:`${l}.root`,error:d.root};n.pop()}return{name:t}}var Jt=(e,r,t,i)=>{t(e);const{name:n,...l}=e;return H(l)||Object.keys(l).length>=Object.keys(r).length||Object.keys(l).find(f=>r[f]===(!i||Z.all))},Qt=(e,r,t)=>!e||!r||e===r||K(e).some(i=>i&&(t?i===r:i.startsWith(r)||r.startsWith(i))),Xt=(e,r,t,i,n)=>n.isOnAll?!1:!t&&n.isOnTouch?!(r||e):(t?i.isOnBlur:n.isOnBlur)?!e:(t?i.isOnChange:n.isOnChange)?e:!0,Zt=(e,r)=>!we(c(e,r)).length&&B(e,r),Dt=(e,r,t)=>{const i=K(c(e,t));return E(i,"root",r[t]),E(e,t,i),e},be=e=>se(e);function yt(e,r,t="validate"){if(be(e)||Array.isArray(e)&&e.every(be)||Q(e)&&!e)return{type:t,message:be(e)?e:"",ref:r}}var ce=e=>P(e)&&!xe(e)?e:{value:e,message:""},$e=async(e,r,t,i,n,l)=>{const{ref:f,refs:d,required:b,maxLength:x,minLength:D,min:C,max:F,pattern:M,validate:z,name:R,valueAsNumber:L,mount:ee}=e._f,V=c(t,R);if(!ee||r.has(R))return{};const G=d?d[0]:f,W=w=>{n&&G.reportValidity&&(G.setCustomValidity(Q(w)?"":w||""),G.reportValidity())},I={},m=Ge(f),h=he(f),A=m||h,S=(L||ze(f))&&U(f.value)&&U(V)||Ve(f)&&f.value===""||V===""||Array.isArray(V)&&!V.length,Y=Ht.bind(null,R,i,I),J=(w,p,N,q=ie.maxLength,j=ie.minLength)=>{const re=w?p:N;I[R]={type:w?q:j,message:re,ref:f,...Y(w?q:j,re)}};if(l?!Array.isArray(V)||!V.length:b&&(!A&&(S||$(V))||Q(V)&&!V||h&&!St(d).isValid||m&&!kt(d).isValid)){const{value:w,message:p}=be(b)?{value:!!b,message:b}:ce(b);if(w&&(I[R]={type:ie.required,message:p,ref:G,...Y(ie.required,p)},!i))return W(p),I}if(!S&&(!$(C)||!$(F))){let w,p;const N=ce(F),q=ce(C);if(!$(V)&&!isNaN(V)){const j=f.valueAsNumber||V&&+V;$(N.value)||(w=j>N.value),$(q.value)||(p=j<q.value)}else{const j=f.valueAsDate||new Date(V),re=me=>new Date(new Date().toDateString()+" "+me),ye=f.type=="time",oe=f.type=="week";se(N.value)&&V&&(w=ye?re(V)>re(N.value):oe?V>N.value:j>new Date(N.value)),se(q.value)&&V&&(p=ye?re(V)<re(q.value):oe?V<q.value:j<new Date(q.value))}if((w||p)&&(J(!!w,N.message,q.message,ie.max,ie.min),!i))return W(I[R].message),I}if((x||D)&&!S&&(se(V)||l&&Array.isArray(V))){const w=ce(x),p=ce(D),N=!$(w.value)&&V.length>+w.value,q=!$(p.value)&&V.length<+p.value;if((N||q)&&(J(N,w.message,p.message),!i))return W(I[R].message),I}if(M&&!S&&se(V)){const{value:w,message:p}=ce(M);if(xe(w)&&!V.match(w)&&(I[R]={type:ie.pattern,message:p,ref:f,...Y(ie.pattern,p)},!i))return W(p),I}if(z){if(te(z)){const w=await z(V,t),p=yt(w,G);if(p&&(I[R]={...p,...Y(ie.validate,p.message)},!i))return W(p.message),I}else if(P(z)){let w={};for(const p in z){if(!H(w)&&!i)break;const N=yt(await z[p](V,t),G,p);N&&(w={...N,...Y(p,N.message)},W(N.message),i&&(I[R]=w))}if(!H(w)&&(I[R]={ref:G,...w},!i))return I}}return W(!0),I};const er={mode:Z.onSubmit,reValidateMode:Z.onChange,shouldFocusError:!0};function tr(e={}){let r={...er,...e},t={submitCount:0,isDirty:!1,isReady:!1,isLoading:te(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1};const i={};let n=P(r.defaultValues)||P(r.values)?T(r.defaultValues||r.values)||{}:{},l=r.shouldUnregister?{}:T(n),f={action:!1,mount:!1,watch:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},b,x=0;const D={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let C={...D};const F={array:nt(),state:nt()},M=r.criteriaMode===Z.all,z=s=>a=>{clearTimeout(x),x=setTimeout(s,a)},R=async s=>{if(!r.disabled&&(D.isValid||C.isValid||s)){const a=r.resolver?H((await h()).errors):await S(i,!0);a!==t.isValid&&F.state.next({isValid:a})}},L=(s,a)=>{!r.disabled&&(D.isValidating||D.validatingFields||C.isValidating||C.validatingFields)&&((s||Array.from(d.mount)).forEach(u=>{u&&(a?E(t.validatingFields,u,a):B(t.validatingFields,u))}),F.state.next({validatingFields:t.validatingFields,isValidating:!H(t.validatingFields)}))},ee=(s,a=[],u,g,y=!0,o=!0)=>{if(g&&u&&!r.disabled){if(f.action=!0,o&&Array.isArray(c(i,s))){const _=u(c(i,s),g.argA,g.argB);y&&E(i,s,_)}if(o&&Array.isArray(c(t.errors,s))){const _=u(c(t.errors,s),g.argA,g.argB);y&&E(t.errors,s,_),Zt(t.errors,s)}if((D.touchedFields||C.touchedFields)&&o&&Array.isArray(c(t.touchedFields,s))){const _=u(c(t.touchedFields,s),g.argA,g.argB);y&&E(t.touchedFields,s,_)}(D.dirtyFields||C.dirtyFields)&&(t.dirtyFields=ge(n,l)),F.state.next({name:s,isDirty:J(s,a),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else E(l,s,a)},V=(s,a)=>{E(t.errors,s,a),F.state.next({errors:t.errors})},G=s=>{t.errors=s,F.state.next({errors:t.errors,isValid:!1})},W=(s,a,u,g)=>{const y=c(i,s);if(y){const o=c(l,s,U(u)?c(n,s):u);U(o)||g&&g.defaultChecked||a?E(l,s,a?o:ct(y._f)):N(s,o),f.mount&&R()}},I=(s,a,u,g,y)=>{let o=!1,_=!1;const k={name:s};if(!r.disabled){if(!u||g){(D.isDirty||C.isDirty)&&(_=t.isDirty,t.isDirty=k.isDirty=J(),o=_!==k.isDirty);const O=le(c(n,s),a);_=!!c(t.dirtyFields,s),O?B(t.dirtyFields,s):E(t.dirtyFields,s,!0),k.dirtyFields=t.dirtyFields,o=o||(D.dirtyFields||C.dirtyFields)&&_!==!O}if(u){const O=c(t.touchedFields,s);O||(E(t.touchedFields,s,u),k.touchedFields=t.touchedFields,o=o||(D.touchedFields||C.touchedFields)&&O!==u)}o&&y&&F.state.next(k)}return o?k:{}},m=(s,a,u,g)=>{const y=c(t.errors,s),o=(D.isValid||C.isValid)&&Q(a)&&t.isValid!==a;if(r.delayError&&u?(b=z(()=>V(s,u)),b(r.delayError)):(clearTimeout(x),b=null,u?E(t.errors,s,u):B(t.errors,s)),(u?!le(y,u):y)||!H(g)||o){const _={...g,...o&&Q(a)?{isValid:a}:{},errors:t.errors,name:s};t={...t,..._},F.state.next(_)}},h=async s=>{L(s,!0);const a=await r.resolver(l,r.context,zt(s||d.mount,i,r.criteriaMode,r.shouldUseNativeValidation));return L(s),a},A=async s=>{const{errors:a}=await h(s);if(s)for(const u of s){const g=c(a,u);g?E(t.errors,u,g):B(t.errors,u)}else t.errors=a;return a},S=async(s,a,u={valid:!0})=>{for(const g in s){const y=s[g];if(y){const{_f:o,..._}=y;if(o){const k=d.array.has(o.name),O=y._f&&Gt(y._f);O&&D.validatingFields&&L([g],!0);const X=await $e(y,d.disabled,l,M,r.shouldUseNativeValidation&&!a,k);if(O&&D.validatingFields&&L([g]),X[o.name]&&(u.valid=!1,a))break;!a&&(c(X,o.name)?k?Dt(t.errors,X,o.name):E(t.errors,o.name,X[o.name]):B(t.errors,o.name))}!H(_)&&await S(_,a,u)}}return u.valid},Y=()=>{for(const s of d.unMount){const a=c(i,s);a&&(a._f.refs?a._f.refs.every(u=>!Me(u)):!Me(a._f.ref))&&Ee(s)}d.unMount=new Set},J=(s,a)=>!r.disabled&&(s&&a&&E(l,s,a),!le(me(),n)),w=(s,a,u)=>Ft(s,d,{...f.mount?l:U(a)?n:se(s)?{[s]:a}:a},u,a),p=s=>we(c(f.mount?l:n,s,r.shouldUnregister?c(n,s,[]):[])),N=(s,a,u={})=>{const g=c(i,s);let y=a;if(g){const o=g._f;o&&(!o.disabled&&E(l,s,wt(a,o)),y=Ve(o.ref)&&$(a)?"":a,Vt(o.ref)?[...o.ref.options].forEach(_=>_.selected=y.includes(_.value)):o.refs?he(o.ref)?o.refs.forEach(_=>{(!_.defaultChecked||!_.disabled)&&(Array.isArray(y)?_.checked=!!y.find(k=>k===_.value):_.checked=y===_.value||!!y)}):o.refs.forEach(_=>_.checked=_.value===y):ze(o.ref)?o.ref.value="":(o.ref.value=y,o.ref.type||F.state.next({name:s,values:T(l)})))}(u.shouldDirty||u.shouldTouch)&&I(s,y,u.shouldTouch,u.shouldDirty,!0),u.shouldValidate&&oe(s)},q=(s,a,u)=>{for(const g in a){if(!a.hasOwnProperty(g))return;const y=a[g],o=s+"."+g,_=c(i,o);(d.array.has(s)||P(y)||_&&!_._f)&&!ue(y)?q(o,y,u):N(o,y,u)}},j=(s,a,u={})=>{const g=c(i,s),y=d.array.has(s),o=T(a);E(l,s,o),y?(F.array.next({name:s,values:T(l)}),(D.isDirty||D.dirtyFields||C.isDirty||C.dirtyFields)&&u.shouldDirty&&F.state.next({name:s,dirtyFields:ge(n,l),isDirty:J(s,o)})):g&&!g._f&&!$(o)?q(s,o,u):N(s,o,u),He(s,d)&&F.state.next({...t}),F.state.next({name:f.mount?s:void 0,values:T(l)})},re=async s=>{f.mount=!0;const a=s.target;let u=a.name,g=!0;const y=c(i,u),o=O=>{g=Number.isNaN(O)||ue(O)&&isNaN(O.getTime())||le(O,c(l,u,O))},_=de(r.mode),k=de(r.reValidateMode);if(y){let O,X;const ve=a.type?ct(y._f):ht(s),ae=s.type===Fe.BLUR||s.type===Fe.FOCUS_OUT,Lt=!Yt(y._f)&&!r.resolver&&!c(t.errors,u)&&!y._f.deps||Xt(ae,c(t.touchedFields,u),t.isSubmitted,k,_),Oe=He(u,d,ae);E(l,u,ve),ae?(y._f.onBlur&&y._f.onBlur(s),b&&b(0)):y._f.onChange&&y._f.onChange(s);const Ue=I(u,ve,ae),Tt=!H(Ue)||Oe;if(!ae&&F.state.next({name:u,type:s.type,values:T(l)}),Lt)return(D.isValid||C.isValid)&&(r.mode==="onBlur"?ae&&R():ae||R()),Tt&&F.state.next({name:u,...Oe?{}:Ue});if(!ae&&Oe&&F.state.next({...t}),r.resolver){const{errors:st}=await h([u]);if(o(ve),g){const It=ft(t.errors,i,u),it=ft(st,i,It.name||u);O=it.error,u=it.name,X=H(st)}}else L([u],!0),O=(await $e(y,d.disabled,l,M,r.shouldUseNativeValidation))[u],L([u]),o(ve),g&&(O?X=!1:(D.isValid||C.isValid)&&(X=await S(i,!0)));g&&(y._f.deps&&oe(y._f.deps),m(u,X,O,Ue))}},ye=(s,a)=>{if(c(t.errors,a)&&s.focus)return s.focus(),1},oe=async(s,a={})=>{let u,g;const y=K(s);if(r.resolver){const o=await A(U(s)?s:y);u=H(o),g=s?!y.some(_=>c(o,_)):u}else s?(g=(await Promise.all(y.map(async o=>{const _=c(i,o);return await S(_&&_._f?{[o]:_}:_)}))).every(Boolean),!(!g&&!t.isValid)&&R()):g=u=await S(i);return F.state.next({...!se(s)||(D.isValid||C.isValid)&&u!==t.isValid?{}:{name:s},...r.resolver||!s?{isValid:u}:{},errors:t.errors}),a.shouldFocus&&!g&&fe(i,ye,s?y:d.mount),g},me=s=>{const a={...f.mount?l:n};return U(s)?a:se(s)?c(a,s):s.map(u=>c(a,u))},Ye=(s,a)=>({invalid:!!c((a||t).errors,s),isDirty:!!c((a||t).dirtyFields,s),error:c((a||t).errors,s),isValidating:!!c(t.validatingFields,s),isTouched:!!c((a||t).touchedFields,s)}),Et=s=>{s&&K(s).forEach(a=>B(t.errors,a)),F.state.next({errors:s?t.errors:{}})},Je=(s,a,u)=>{const g=(c(i,s,{_f:{}})._f||{}).ref,y=c(t.errors,s)||{},{ref:o,message:_,type:k,...O}=y;E(t.errors,s,{...O,...a,ref:g}),F.state.next({name:s,errors:t.errors,isValid:!1}),u&&u.shouldFocus&&g&&g.focus&&g.focus()},pt=(s,a)=>te(s)?F.state.subscribe({next:u=>s(w(void 0,a),u)}):w(s,a,!0),Qe=s=>F.state.subscribe({next:a=>{Qt(s.name,a.name,s.exact)&&Jt(a,s.formState||D,Rt,s.reRenderRoot)&&s.callback({values:{...l},...t,...a})}}).unsubscribe,Ct=s=>(f.mount=!0,C={...C,...s.formState},Qe({...s,formState:C})),Ee=(s,a={})=>{for(const u of s?K(s):d.mount)d.mount.delete(u),d.array.delete(u),a.keepValue||(B(i,u),B(l,u)),!a.keepError&&B(t.errors,u),!a.keepDirty&&B(t.dirtyFields,u),!a.keepTouched&&B(t.touchedFields,u),!a.keepIsValidating&&B(t.validatingFields,u),!r.shouldUnregister&&!a.keepDefaultValue&&B(n,u);F.state.next({values:T(l)}),F.state.next({...t,...a.keepDirty?{isDirty:J()}:{}}),!a.keepIsValid&&R()},Xe=({disabled:s,name:a})=>{(Q(s)&&f.mount||s||d.disabled.has(a))&&(s?d.disabled.add(a):d.disabled.delete(a))},pe=(s,a={})=>{let u=c(i,s);const g=Q(a.disabled)||Q(r.disabled);return E(i,s,{...u||{},_f:{...u&&u._f?u._f:{ref:{name:s}},name:s,mount:!0,...a}}),d.mount.add(s),u?Xe({disabled:Q(a.disabled)?a.disabled:r.disabled,name:s}):W(s,!0,a.value),{...g?{disabled:a.disabled||r.disabled}:{},...r.progressive?{required:!!a.required,min:_e(a.min),max:_e(a.max),minLength:_e(a.minLength),maxLength:_e(a.maxLength),pattern:_e(a.pattern)}:{},name:s,onChange:re,onBlur:re,ref:y=>{if(y){pe(s,a),u=c(i,s);const o=U(y.value)&&y.querySelectorAll&&y.querySelectorAll("input,select,textarea")[0]||y,_=$t(o),k=u._f.refs||[];if(_?k.find(O=>O===o):o===u._f.ref)return;E(i,s,{_f:{...u._f,..._?{refs:[...k.filter(Me),o,...Array.isArray(c(n,s))?[{}]:[]],ref:{type:o.type,name:s}}:{ref:o}}}),W(s,!1,void 0,o)}else u=c(i,s,{}),u._f&&(u._f.mount=!1),(r.shouldUnregister||a.shouldUnregister)&&!(mt(d.array,s)&&f.action)&&d.unMount.add(s)}}},Ce=()=>r.shouldFocusError&&fe(i,ye,d.mount),Ot=s=>{Q(s)&&(F.state.next({disabled:s}),fe(i,(a,u)=>{const g=c(i,u);g&&(a.disabled=g._f.disabled||s,Array.isArray(g._f.refs)&&g._f.refs.forEach(y=>{y.disabled=g._f.disabled||s}))},0,!1))},Ze=(s,a)=>async u=>{let g;u&&(u.preventDefault&&u.preventDefault(),u.persist&&u.persist());let y=T(l);if(F.state.next({isSubmitting:!0}),r.resolver){const{errors:o,values:_}=await h();t.errors=o,y=T(_)}else await S(i);if(d.disabled.size)for(const o of d.disabled)B(y,o);if(B(t.errors,"root"),H(t.errors)){F.state.next({errors:{}});try{await s(y,u)}catch(o){g=o}}else a&&await a({...t.errors},u),Ce(),setTimeout(Ce);if(F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:H(t.errors)&&!g,submitCount:t.submitCount+1,errors:t.errors}),g)throw g},Ut=(s,a={})=>{c(i,s)&&(U(a.defaultValue)?j(s,T(c(n,s))):(j(s,a.defaultValue),E(n,s,T(a.defaultValue))),a.keepTouched||B(t.touchedFields,s),a.keepDirty||(B(t.dirtyFields,s),t.isDirty=a.defaultValue?J(s,T(c(n,s))):J()),a.keepError||(B(t.errors,s),D.isValid&&R()),F.state.next({...t}))},et=(s,a={})=>{const u=s?T(s):n,g=T(u),y=H(s),o=y?n:g;if(a.keepDefaultValues||(n=u),!a.keepValues){if(a.keepDirtyValues){const _=new Set([...d.mount,...Object.keys(ge(n,l))]);for(const k of Array.from(_))c(t.dirtyFields,k)?E(o,k,c(l,k)):j(k,c(o,k))}else{if(je&&U(s))for(const _ of d.mount){const k=c(i,_);if(k&&k._f){const O=Array.isArray(k._f.refs)?k._f.refs[0]:k._f.ref;if(Ve(O)){const X=O.closest("form");if(X){X.reset();break}}}}for(const _ of d.mount){const k=c(o,_,c(n,_));U(k)||(E(o,_,k),j(_,c(o,_)))}}l=T(o),F.array.next({values:{...o}}),F.state.next({values:{...o}})}d={mount:a.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},f.mount=!D.isValid||!!a.keepIsValid||!!a.keepDirtyValues,f.watch=!!r.shouldUnregister,F.state.next({submitCount:a.keepSubmitCount?t.submitCount:0,isDirty:y?!1:a.keepDirty?t.isDirty:!!(a.keepDefaultValues&&!le(s,n)),isSubmitted:a.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:y?{}:a.keepDirtyValues?a.keepDefaultValues&&l?ge(n,l):t.dirtyFields:a.keepDefaultValues&&s?ge(n,s):a.keepDirty?t.dirtyFields:{},touchedFields:a.keepTouched?t.touchedFields:{},errors:a.keepErrors?t.errors:{},isSubmitSuccessful:a.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},tt=(s,a)=>et(te(s)?s(l):s,a),Mt=(s,a={})=>{const u=c(i,s),g=u&&u._f;if(g){const y=g.refs?g.refs[0]:g.ref;y.focus&&(y.focus(),a.shouldSelect&&te(y.select)&&y.select())}},Rt=s=>{t={...t,...s}},rt={control:{register:pe,unregister:Ee,getFieldState:Ye,handleSubmit:Ze,setError:Je,_subscribe:Qe,_runSchema:h,_focusError:Ce,_getWatch:w,_getDirty:J,_setValid:R,_setFieldArray:ee,_setDisabledField:Xe,_setErrors:G,_getFieldArray:p,_reset:et,_resetDefaultValues:()=>te(r.defaultValues)&&r.defaultValues().then(s=>{tt(s,r.resetOptions),F.state.next({isLoading:!1})}),_removeUnmounted:Y,_disableForm:Ot,_subjects:F,_proxyFormState:D,get _fields(){return i},get _formValues(){return l},get _state(){return f},set _state(s){f=s},get _defaultValues(){return n},get _names(){return d},set _names(s){d=s},get _formState(){return t},get _options(){return r},set _options(s){r={...r,...s}}},subscribe:Ct,trigger:oe,register:pe,handleSubmit:Ze,watch:pt,setValue:j,getValues:me,reset:tt,resetField:Ut,clearErrors:Et,unregister:Ee,setError:Je,setFocus:Mt,getFieldState:Ye};return{...rt,formControl:rt}}var ne=()=>{if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{const t=(Math.random()*16+e)%16|0;return(r=="x"?t:t&3|8).toString(16)})},Re=(e,r,t={})=>t.shouldFocus||U(t.shouldFocus)?t.focusName||`${e}.${U(t.focusIndex)?r:t.focusIndex}.`:"",Le=(e,r)=>[...e,...K(r)],Te=e=>Array.isArray(e)?e.map(()=>{}):void 0;function Ie(e,r,t){return[...e.slice(0,r),...K(t),...e.slice(r)]}var Ne=(e,r,t)=>Array.isArray(e)?(U(e[t])&&(e[t]=void 0),e.splice(t,0,e.splice(r,1)[0]),e):[],Be=(e,r)=>[...K(r),...K(e)];function rr(e,r){let t=0;const i=[...e];for(const n of r)i.splice(n-t,1),t++;return we(i).length?i:[]}var Pe=(e,r)=>U(r)?[]:rr(e,K(r).sort((t,i)=>t-i)),We=(e,r,t)=>{[e[r],e[t]]=[e[t],e[r]]},gt=(e,r,t)=>(e[r]=t,e);function nr(e){const r=ke(),{control:t=r.control,name:i,keyName:n="id",shouldUnregister:l,rules:f}=e,[d,b]=v.useState(t._getFieldArray(i)),x=v.useRef(t._getFieldArray(i).map(ne)),D=v.useRef(d),C=v.useRef(i),F=v.useRef(!1);C.current=i,D.current=d,t._names.array.add(i),f&&t.register(i,f),De(()=>t._subjects.array.subscribe({next:({values:m,name:h})=>{if(h===C.current||!h){const A=c(m,C.current);Array.isArray(A)&&(b(A),x.current=A.map(ne))}}}).unsubscribe,[t]);const M=v.useCallback(m=>{F.current=!0,t._setFieldArray(i,m)},[t,i]),z=(m,h)=>{const A=K(T(m)),S=Le(t._getFieldArray(i),A);t._names.focus=Re(i,S.length-1,h),x.current=Le(x.current,A.map(ne)),M(S),b(S),t._setFieldArray(i,S,Le,{argA:Te(m)})},R=(m,h)=>{const A=K(T(m)),S=Be(t._getFieldArray(i),A);t._names.focus=Re(i,0,h),x.current=Be(x.current,A.map(ne)),M(S),b(S),t._setFieldArray(i,S,Be,{argA:Te(m)})},L=m=>{const h=Pe(t._getFieldArray(i),m);x.current=Pe(x.current,m),M(h),b(h),!Array.isArray(c(t._fields,i))&&E(t._fields,i,void 0),t._setFieldArray(i,h,Pe,{argA:m})},ee=(m,h,A)=>{const S=K(T(h)),Y=Ie(t._getFieldArray(i),m,S);t._names.focus=Re(i,m,A),x.current=Ie(x.current,m,S.map(ne)),M(Y),b(Y),t._setFieldArray(i,Y,Ie,{argA:m,argB:Te(h)})},V=(m,h)=>{const A=t._getFieldArray(i);We(A,m,h),We(x.current,m,h),M(A),b(A),t._setFieldArray(i,A,We,{argA:m,argB:h},!1)},G=(m,h)=>{const A=t._getFieldArray(i);Ne(A,m,h),Ne(x.current,m,h),M(A),b(A),t._setFieldArray(i,A,Ne,{argA:m,argB:h},!1)},W=(m,h)=>{const A=T(h),S=gt(t._getFieldArray(i),m,A);x.current=[...S].map((Y,J)=>!Y||J===m?ne():x.current[J]),M(S),b([...S]),t._setFieldArray(i,S,gt,{argA:m,argB:A},!0,!1)},I=m=>{const h=K(T(m));x.current=h.map(ne),M([...h]),b([...h]),t._setFieldArray(i,[...h],A=>A,{},!0,!1)};return v.useEffect(()=>{if(t._state.action=!1,He(i,t._names)&&t._subjects.state.next({...t._formState}),F.current&&(!de(t._options.mode).isOnSubmit||t._formState.isSubmitted)&&!de(t._options.reValidateMode).isOnSubmit)if(t._options.resolver)t._runSchema([i]).then(m=>{const h=c(m.errors,i),A=c(t._formState.errors,i);(A?!h&&A.type||h&&(A.type!==h.type||A.message!==h.message):h&&h.type)&&(h?E(t._formState.errors,i,h):B(t._formState.errors,i),t._subjects.state.next({errors:t._formState.errors}))});else{const m=c(t._fields,i);m&&m._f&&!(de(t._options.reValidateMode).isOnSubmit&&de(t._options.mode).isOnSubmit)&&$e(m,t._names.disabled,t._formValues,t._options.criteriaMode===Z.all,t._options.shouldUseNativeValidation,!0).then(h=>!H(h)&&t._subjects.state.next({errors:Dt(t._formState.errors,h,i)}))}t._subjects.state.next({name:i,values:T(t._formValues)}),t._names.focus&&fe(t._fields,(m,h)=>{if(t._names.focus&&h.startsWith(t._names.focus)&&m.focus)return m.focus(),1}),t._names.focus="",t._setValid(),F.current=!1},[d,i,t]),v.useEffect(()=>(!c(t._formValues,i)&&t._setFieldArray(i),()=>{const m=(h,A)=>{const S=c(t._fields,h);S&&S._f&&(S._f.mount=A)};t._options.shouldUnregister||l?t.unregister(i):m(i,!1)}),[i,t,n,l]),{swap:v.useCallback(V,[M,i,t]),move:v.useCallback(G,[M,i,t]),prepend:v.useCallback(R,[M,i,t]),append:v.useCallback(z,[M,i,t]),remove:v.useCallback(L,[M,i,t]),insert:v.useCallback(ee,[M,i,t]),update:v.useCallback(W,[M,i,t]),replace:v.useCallback(I,[M,i,t]),fields:v.useMemo(()=>d.map((m,h)=>({...m,[n]:x.current[h]||ne()})),[d,n])}}function lr(e={}){const r=v.useRef(void 0),t=v.useRef(void 0),[i,n]=v.useState({isDirty:!1,isValidating:!1,isLoading:te(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:te(e.defaultValues)?void 0:e.defaultValues});if(!r.current)if(e.formControl)r.current={...e.formControl,formState:i},e.defaultValues&&!te(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:f,...d}=tr(e);r.current={...d,formState:i}}const l=r.current.control;return l._options=e,De(()=>{const f=l._subscribe({formState:l._proxyFormState,callback:()=>n({...l._formState}),reRenderRoot:!0});return n(d=>({...d,isReady:!0})),l._formState.isReady=!0,f},[l]),v.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),v.useEffect(()=>{e.mode&&(l._options.mode=e.mode),e.reValidateMode&&(l._options.reValidateMode=e.reValidateMode)},[l,e.mode,e.reValidateMode]),v.useEffect(()=>{e.errors&&(l._setErrors(e.errors),l._focusError())},[l,e.errors]),v.useEffect(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),v.useEffect(()=>{if(l._proxyFormState.isDirty){const f=l._getDirty();f!==i.isDirty&&l._subjects.state.next({isDirty:f})}},[l,i.isDirty]),v.useEffect(()=>{e.values&&!le(e.values,t.current)?(l._reset(e.values,l._options.resetOptions),t.current=e.values,n(f=>({...f}))):l._resetDefaultValues()},[l,e.values]),v.useEffect(()=>{l._state.mount||(l._setValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),r.current.formState=bt(i,l),r.current}export{ar as C,Wt as a,nr as b,lr as u};
1
+ import{be as v,r as at}from"./index-DJuZ9nhg.js";var he=e=>e.type==="checkbox",ue=e=>e instanceof Date,$=e=>e==null;const _t=e=>typeof e=="object";var P=e=>!$(e)&&!Array.isArray(e)&&_t(e)&&!ue(e),ht=e=>P(e)&&e.target?he(e.target)?e.target.checked:e.target.value:e,Nt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,mt=(e,r)=>e.has(Nt(r)),Bt=e=>{const r=e.constructor&&e.constructor.prototype;return P(r)&&r.hasOwnProperty("isPrototypeOf")},je=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function T(e){let r;const t=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)r=new Date(e);else if(e instanceof Set)r=new Set(e);else if(!(je&&(e instanceof Blob||i))&&(t||P(e)))if(r=t?[]:{},!t&&!Bt(e))r=e;else for(const n in e)e.hasOwnProperty(n)&&(r[n]=T(e[n]));else return e;return r}var Se=e=>/^\w*$/.test(e),U=e=>e===void 0,we=e=>Array.isArray(e)?e.filter(Boolean):[],Ke=e=>we(e.replace(/["|']|\]/g,"").split(/\.|\[/)),c=(e,r,t)=>{if(!r||!P(e))return t;const i=(Se(r)?[r]:Ke(r)).reduce((n,l)=>$(n)?n:n[l],e);return U(i)||i===e?U(e[r])?t:e[r]:i},Q=e=>typeof e=="boolean",E=(e,r,t)=>{let i=-1;const n=Se(r)?[r]:Ke(r),l=n.length,f=l-1;for(;++i<l;){const d=n[i];let b=t;if(i!==f){const x=e[d];b=P(x)||Array.isArray(x)?x:isNaN(+n[i+1])?{}:[]}if(d==="__proto__"||d==="constructor"||d==="prototype")return;e[d]=b,e=e[d]}};const Fe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Z={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ie={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},vt=v.createContext(null);vt.displayName="HookFormContext";const ke=()=>v.useContext(vt);var bt=(e,r,t,i=!0)=>{const n={defaultValues:r._defaultValues};for(const l in e)Object.defineProperty(n,l,{get:()=>{const f=l;return r._proxyFormState[f]!==Z.all&&(r._proxyFormState[f]=!i||Z.all),t&&(t[f]=!0),e[f]}});return n};const De=typeof window<"u"?at.useLayoutEffect:at.useEffect;function Pt(e){const r=ke(),{control:t=r.control,disabled:i,name:n,exact:l}=e||{},[f,d]=v.useState(t._formState),b=v.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return De(()=>t._subscribe({name:n,formState:b.current,exact:l,callback:x=>{!i&&d({...t._formState,...x})}}),[n,i,l]),v.useEffect(()=>{b.current.isValid&&t._setValid(!0)},[t]),v.useMemo(()=>bt(f,t,b.current,!1),[f,t])}var se=e=>typeof e=="string",Ft=(e,r,t,i,n)=>se(e)?(i&&r.watch.add(e),c(t,e,n)):Array.isArray(e)?e.map(l=>(i&&r.watch.add(l),c(t,l))):(i&&(r.watchAll=!0),t);function Wt(e){const r=ke(),{control:t=r.control,name:i,defaultValue:n,disabled:l,exact:f}=e||{},d=v.useRef(n),[b,x]=v.useState(t._getWatch(i,d.current));return De(()=>t._subscribe({name:i,formState:{values:!0},exact:f,callback:D=>!l&&x(Ft(i,t._names,D.values||t._formValues,!1,d.current))}),[i,t,l,f]),v.useEffect(()=>t._removeUnmounted()),b}function qt(e){const r=ke(),{name:t,disabled:i,control:n=r.control,shouldUnregister:l}=e,f=mt(n._names.array,t),d=Wt({control:n,name:t,defaultValue:c(n._formValues,t,c(n._defaultValues,t,e.defaultValue)),exact:!0}),b=Pt({control:n,name:t,exact:!0}),x=v.useRef(e),D=v.useRef(n.register(t,{...e.rules,value:d,...Q(e.disabled)?{disabled:e.disabled}:{}})),C=v.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!c(b.errors,t)},isDirty:{enumerable:!0,get:()=>!!c(b.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!c(b.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!c(b.validatingFields,t)},error:{enumerable:!0,get:()=>c(b.errors,t)}}),[b,t]),F=v.useCallback(L=>D.current.onChange({target:{value:ht(L),name:t},type:Fe.CHANGE}),[t]),M=v.useCallback(()=>D.current.onBlur({target:{value:c(n._formValues,t),name:t},type:Fe.BLUR}),[t,n._formValues]),z=v.useCallback(L=>{const ee=c(n._fields,t);ee&&L&&(ee._f.ref={focus:()=>L.focus&&L.focus(),select:()=>L.select&&L.select(),setCustomValidity:V=>L.setCustomValidity(V),reportValidity:()=>L.reportValidity()})},[n._fields,t]),R=v.useMemo(()=>({name:t,value:d,...Q(i)||b.disabled?{disabled:b.disabled||i}:{},onChange:F,onBlur:M,ref:z}),[t,i,b.disabled,F,M,z,d]);return v.useEffect(()=>{const L=n._options.shouldUnregister||l;n.register(t,{...x.current.rules,...Q(x.current.disabled)?{disabled:x.current.disabled}:{}});const ee=(V,G)=>{const W=c(n._fields,V);W&&W._f&&(W._f.mount=G)};if(ee(t,!0),L){const V=T(c(n._options.defaultValues,t));E(n._defaultValues,t,V),U(c(n._formValues,t))&&E(n._formValues,t,V)}return!f&&n.register(t),()=>{(f?L&&!n._state.action:L)?n.unregister(t):ee(t,!1)}},[t,n,f,l]),v.useEffect(()=>{n._setDisabledField({disabled:i,name:t})},[i,t,n]),v.useMemo(()=>({field:R,formState:b,fieldState:C}),[R,b,C])}const ar=e=>e.render(qt(e));var Ht=(e,r,t,i,n)=>r?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[i]:n||!0}}:{},K=e=>Array.isArray(e)?e:[e],nt=()=>{let e=[];return{get observers(){return e},next:n=>{for(const l of e)l.next&&l.next(n)},subscribe:n=>(e.push(n),{unsubscribe:()=>{e=e.filter(l=>l!==n)}}),unsubscribe:()=>{e=[]}}},qe=e=>$(e)||!_t(e);function le(e,r,t=new WeakSet){if(qe(e)||qe(r))return e===r;if(ue(e)&&ue(r))return e.getTime()===r.getTime();const i=Object.keys(e),n=Object.keys(r);if(i.length!==n.length)return!1;if(t.has(e)||t.has(r))return!0;t.add(e),t.add(r);for(const l of i){const f=e[l];if(!n.includes(l))return!1;if(l!=="ref"){const d=r[l];if(ue(f)&&ue(d)||P(f)&&P(d)||Array.isArray(f)&&Array.isArray(d)?!le(f,d,t):f!==d)return!1}}return!0}var H=e=>P(e)&&!Object.keys(e).length,ze=e=>e.type==="file",te=e=>typeof e=="function",Ve=e=>{if(!je)return!1;const r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},Vt=e=>e.type==="select-multiple",Ge=e=>e.type==="radio",$t=e=>Ge(e)||he(e),Me=e=>Ve(e)&&e.isConnected;function jt(e,r){const t=r.slice(0,-1).length;let i=0;for(;i<t;)e=U(e)?i++:e[r[i++]];return e}function Kt(e){for(const r in e)if(e.hasOwnProperty(r)&&!U(e[r]))return!1;return!0}function B(e,r){const t=Array.isArray(r)?r:Se(r)?[r]:Ke(r),i=t.length===1?e:jt(e,t),n=t.length-1,l=t[n];return i&&delete i[l],n!==0&&(P(i)&&H(i)||Array.isArray(i)&&Kt(i))&&B(e,t.slice(0,-1)),e}var At=e=>{for(const r in e)if(te(e[r]))return!0;return!1};function Ae(e,r={}){const t=Array.isArray(e);if(P(e)||t)for(const i in e)Array.isArray(e[i])||P(e[i])&&!At(e[i])?(r[i]=Array.isArray(e[i])?[]:{},Ae(e[i],r[i])):$(e[i])||(r[i]=!0);return r}function xt(e,r,t){const i=Array.isArray(e);if(P(e)||i)for(const n in e)Array.isArray(e[n])||P(e[n])&&!At(e[n])?U(r)||qe(t[n])?t[n]=Array.isArray(e[n])?Ae(e[n],[]):{...Ae(e[n])}:xt(e[n],$(r)?{}:r[n],t[n]):t[n]=!le(e[n],r[n]);return t}var ge=(e,r)=>xt(e,r,Ae(r));const lt={value:!1,isValid:!1},ut={value:!0,isValid:!0};var St=e=>{if(Array.isArray(e)){if(e.length>1){const r=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:r,isValid:!!r.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!U(e[0].attributes.value)?U(e[0].value)||e[0].value===""?ut:{value:e[0].value,isValid:!0}:ut:lt}return lt},wt=(e,{valueAsNumber:r,valueAsDate:t,setValueAs:i})=>U(e)?e:r?e===""?NaN:e&&+e:t&&se(e)?new Date(e):i?i(e):e;const ot={isValid:!1,value:null};var kt=e=>Array.isArray(e)?e.reduce((r,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:r,ot):ot;function ct(e){const r=e.ref;return ze(r)?r.files:Ge(r)?kt(e.refs).value:Vt(r)?[...r.selectedOptions].map(({value:t})=>t):he(r)?St(e.refs).value:wt(U(r.value)?e.ref.value:r.value,e)}var zt=(e,r,t,i)=>{const n={};for(const l of e){const f=c(r,l);f&&E(n,l,f._f)}return{criteriaMode:t,names:[...e],fields:n,shouldUseNativeValidation:i}},xe=e=>e instanceof RegExp,_e=e=>U(e)?e:xe(e)?e.source:P(e)?xe(e.value)?e.value.source:e.value:e,de=e=>({isOnSubmit:!e||e===Z.onSubmit,isOnBlur:e===Z.onBlur,isOnChange:e===Z.onChange,isOnAll:e===Z.all,isOnTouch:e===Z.onTouched});const dt="AsyncFunction";var Gt=e=>!!e&&!!e.validate&&!!(te(e.validate)&&e.validate.constructor.name===dt||P(e.validate)&&Object.values(e.validate).find(r=>r.constructor.name===dt)),Yt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),He=(e,r,t)=>!t&&(r.watchAll||r.watch.has(e)||[...r.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const fe=(e,r,t,i)=>{for(const n of t||Object.keys(e)){const l=c(e,n);if(l){const{_f:f,...d}=l;if(f){if(f.refs&&f.refs[0]&&r(f.refs[0],n)&&!i)return!0;if(f.ref&&r(f.ref,f.name)&&!i)return!0;if(fe(d,r))break}else if(P(d)&&fe(d,r))break}}};function ft(e,r,t){const i=c(e,t);if(i||Se(t))return{error:i,name:t};const n=t.split(".");for(;n.length;){const l=n.join("."),f=c(r,l),d=c(e,l);if(f&&!Array.isArray(f)&&t!==l)return{name:t};if(d&&d.type)return{name:l,error:d};if(d&&d.root&&d.root.type)return{name:`${l}.root`,error:d.root};n.pop()}return{name:t}}var Jt=(e,r,t,i)=>{t(e);const{name:n,...l}=e;return H(l)||Object.keys(l).length>=Object.keys(r).length||Object.keys(l).find(f=>r[f]===(!i||Z.all))},Qt=(e,r,t)=>!e||!r||e===r||K(e).some(i=>i&&(t?i===r:i.startsWith(r)||r.startsWith(i))),Xt=(e,r,t,i,n)=>n.isOnAll?!1:!t&&n.isOnTouch?!(r||e):(t?i.isOnBlur:n.isOnBlur)?!e:(t?i.isOnChange:n.isOnChange)?e:!0,Zt=(e,r)=>!we(c(e,r)).length&&B(e,r),Dt=(e,r,t)=>{const i=K(c(e,t));return E(i,"root",r[t]),E(e,t,i),e},be=e=>se(e);function yt(e,r,t="validate"){if(be(e)||Array.isArray(e)&&e.every(be)||Q(e)&&!e)return{type:t,message:be(e)?e:"",ref:r}}var ce=e=>P(e)&&!xe(e)?e:{value:e,message:""},$e=async(e,r,t,i,n,l)=>{const{ref:f,refs:d,required:b,maxLength:x,minLength:D,min:C,max:F,pattern:M,validate:z,name:R,valueAsNumber:L,mount:ee}=e._f,V=c(t,R);if(!ee||r.has(R))return{};const G=d?d[0]:f,W=w=>{n&&G.reportValidity&&(G.setCustomValidity(Q(w)?"":w||""),G.reportValidity())},I={},m=Ge(f),h=he(f),A=m||h,S=(L||ze(f))&&U(f.value)&&U(V)||Ve(f)&&f.value===""||V===""||Array.isArray(V)&&!V.length,Y=Ht.bind(null,R,i,I),J=(w,p,N,q=ie.maxLength,j=ie.minLength)=>{const re=w?p:N;I[R]={type:w?q:j,message:re,ref:f,...Y(w?q:j,re)}};if(l?!Array.isArray(V)||!V.length:b&&(!A&&(S||$(V))||Q(V)&&!V||h&&!St(d).isValid||m&&!kt(d).isValid)){const{value:w,message:p}=be(b)?{value:!!b,message:b}:ce(b);if(w&&(I[R]={type:ie.required,message:p,ref:G,...Y(ie.required,p)},!i))return W(p),I}if(!S&&(!$(C)||!$(F))){let w,p;const N=ce(F),q=ce(C);if(!$(V)&&!isNaN(V)){const j=f.valueAsNumber||V&&+V;$(N.value)||(w=j>N.value),$(q.value)||(p=j<q.value)}else{const j=f.valueAsDate||new Date(V),re=me=>new Date(new Date().toDateString()+" "+me),ye=f.type=="time",oe=f.type=="week";se(N.value)&&V&&(w=ye?re(V)>re(N.value):oe?V>N.value:j>new Date(N.value)),se(q.value)&&V&&(p=ye?re(V)<re(q.value):oe?V<q.value:j<new Date(q.value))}if((w||p)&&(J(!!w,N.message,q.message,ie.max,ie.min),!i))return W(I[R].message),I}if((x||D)&&!S&&(se(V)||l&&Array.isArray(V))){const w=ce(x),p=ce(D),N=!$(w.value)&&V.length>+w.value,q=!$(p.value)&&V.length<+p.value;if((N||q)&&(J(N,w.message,p.message),!i))return W(I[R].message),I}if(M&&!S&&se(V)){const{value:w,message:p}=ce(M);if(xe(w)&&!V.match(w)&&(I[R]={type:ie.pattern,message:p,ref:f,...Y(ie.pattern,p)},!i))return W(p),I}if(z){if(te(z)){const w=await z(V,t),p=yt(w,G);if(p&&(I[R]={...p,...Y(ie.validate,p.message)},!i))return W(p.message),I}else if(P(z)){let w={};for(const p in z){if(!H(w)&&!i)break;const N=yt(await z[p](V,t),G,p);N&&(w={...N,...Y(p,N.message)},W(N.message),i&&(I[R]=w))}if(!H(w)&&(I[R]={ref:G,...w},!i))return I}}return W(!0),I};const er={mode:Z.onSubmit,reValidateMode:Z.onChange,shouldFocusError:!0};function tr(e={}){let r={...er,...e},t={submitCount:0,isDirty:!1,isReady:!1,isLoading:te(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1};const i={};let n=P(r.defaultValues)||P(r.values)?T(r.defaultValues||r.values)||{}:{},l=r.shouldUnregister?{}:T(n),f={action:!1,mount:!1,watch:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},b,x=0;const D={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let C={...D};const F={array:nt(),state:nt()},M=r.criteriaMode===Z.all,z=s=>a=>{clearTimeout(x),x=setTimeout(s,a)},R=async s=>{if(!r.disabled&&(D.isValid||C.isValid||s)){const a=r.resolver?H((await h()).errors):await S(i,!0);a!==t.isValid&&F.state.next({isValid:a})}},L=(s,a)=>{!r.disabled&&(D.isValidating||D.validatingFields||C.isValidating||C.validatingFields)&&((s||Array.from(d.mount)).forEach(u=>{u&&(a?E(t.validatingFields,u,a):B(t.validatingFields,u))}),F.state.next({validatingFields:t.validatingFields,isValidating:!H(t.validatingFields)}))},ee=(s,a=[],u,g,y=!0,o=!0)=>{if(g&&u&&!r.disabled){if(f.action=!0,o&&Array.isArray(c(i,s))){const _=u(c(i,s),g.argA,g.argB);y&&E(i,s,_)}if(o&&Array.isArray(c(t.errors,s))){const _=u(c(t.errors,s),g.argA,g.argB);y&&E(t.errors,s,_),Zt(t.errors,s)}if((D.touchedFields||C.touchedFields)&&o&&Array.isArray(c(t.touchedFields,s))){const _=u(c(t.touchedFields,s),g.argA,g.argB);y&&E(t.touchedFields,s,_)}(D.dirtyFields||C.dirtyFields)&&(t.dirtyFields=ge(n,l)),F.state.next({name:s,isDirty:J(s,a),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else E(l,s,a)},V=(s,a)=>{E(t.errors,s,a),F.state.next({errors:t.errors})},G=s=>{t.errors=s,F.state.next({errors:t.errors,isValid:!1})},W=(s,a,u,g)=>{const y=c(i,s);if(y){const o=c(l,s,U(u)?c(n,s):u);U(o)||g&&g.defaultChecked||a?E(l,s,a?o:ct(y._f)):N(s,o),f.mount&&R()}},I=(s,a,u,g,y)=>{let o=!1,_=!1;const k={name:s};if(!r.disabled){if(!u||g){(D.isDirty||C.isDirty)&&(_=t.isDirty,t.isDirty=k.isDirty=J(),o=_!==k.isDirty);const O=le(c(n,s),a);_=!!c(t.dirtyFields,s),O?B(t.dirtyFields,s):E(t.dirtyFields,s,!0),k.dirtyFields=t.dirtyFields,o=o||(D.dirtyFields||C.dirtyFields)&&_!==!O}if(u){const O=c(t.touchedFields,s);O||(E(t.touchedFields,s,u),k.touchedFields=t.touchedFields,o=o||(D.touchedFields||C.touchedFields)&&O!==u)}o&&y&&F.state.next(k)}return o?k:{}},m=(s,a,u,g)=>{const y=c(t.errors,s),o=(D.isValid||C.isValid)&&Q(a)&&t.isValid!==a;if(r.delayError&&u?(b=z(()=>V(s,u)),b(r.delayError)):(clearTimeout(x),b=null,u?E(t.errors,s,u):B(t.errors,s)),(u?!le(y,u):y)||!H(g)||o){const _={...g,...o&&Q(a)?{isValid:a}:{},errors:t.errors,name:s};t={...t,..._},F.state.next(_)}},h=async s=>{L(s,!0);const a=await r.resolver(l,r.context,zt(s||d.mount,i,r.criteriaMode,r.shouldUseNativeValidation));return L(s),a},A=async s=>{const{errors:a}=await h(s);if(s)for(const u of s){const g=c(a,u);g?E(t.errors,u,g):B(t.errors,u)}else t.errors=a;return a},S=async(s,a,u={valid:!0})=>{for(const g in s){const y=s[g];if(y){const{_f:o,..._}=y;if(o){const k=d.array.has(o.name),O=y._f&&Gt(y._f);O&&D.validatingFields&&L([g],!0);const X=await $e(y,d.disabled,l,M,r.shouldUseNativeValidation&&!a,k);if(O&&D.validatingFields&&L([g]),X[o.name]&&(u.valid=!1,a))break;!a&&(c(X,o.name)?k?Dt(t.errors,X,o.name):E(t.errors,o.name,X[o.name]):B(t.errors,o.name))}!H(_)&&await S(_,a,u)}}return u.valid},Y=()=>{for(const s of d.unMount){const a=c(i,s);a&&(a._f.refs?a._f.refs.every(u=>!Me(u)):!Me(a._f.ref))&&Ee(s)}d.unMount=new Set},J=(s,a)=>!r.disabled&&(s&&a&&E(l,s,a),!le(me(),n)),w=(s,a,u)=>Ft(s,d,{...f.mount?l:U(a)?n:se(s)?{[s]:a}:a},u,a),p=s=>we(c(f.mount?l:n,s,r.shouldUnregister?c(n,s,[]):[])),N=(s,a,u={})=>{const g=c(i,s);let y=a;if(g){const o=g._f;o&&(!o.disabled&&E(l,s,wt(a,o)),y=Ve(o.ref)&&$(a)?"":a,Vt(o.ref)?[...o.ref.options].forEach(_=>_.selected=y.includes(_.value)):o.refs?he(o.ref)?o.refs.forEach(_=>{(!_.defaultChecked||!_.disabled)&&(Array.isArray(y)?_.checked=!!y.find(k=>k===_.value):_.checked=y===_.value||!!y)}):o.refs.forEach(_=>_.checked=_.value===y):ze(o.ref)?o.ref.value="":(o.ref.value=y,o.ref.type||F.state.next({name:s,values:T(l)})))}(u.shouldDirty||u.shouldTouch)&&I(s,y,u.shouldTouch,u.shouldDirty,!0),u.shouldValidate&&oe(s)},q=(s,a,u)=>{for(const g in a){if(!a.hasOwnProperty(g))return;const y=a[g],o=s+"."+g,_=c(i,o);(d.array.has(s)||P(y)||_&&!_._f)&&!ue(y)?q(o,y,u):N(o,y,u)}},j=(s,a,u={})=>{const g=c(i,s),y=d.array.has(s),o=T(a);E(l,s,o),y?(F.array.next({name:s,values:T(l)}),(D.isDirty||D.dirtyFields||C.isDirty||C.dirtyFields)&&u.shouldDirty&&F.state.next({name:s,dirtyFields:ge(n,l),isDirty:J(s,o)})):g&&!g._f&&!$(o)?q(s,o,u):N(s,o,u),He(s,d)&&F.state.next({...t}),F.state.next({name:f.mount?s:void 0,values:T(l)})},re=async s=>{f.mount=!0;const a=s.target;let u=a.name,g=!0;const y=c(i,u),o=O=>{g=Number.isNaN(O)||ue(O)&&isNaN(O.getTime())||le(O,c(l,u,O))},_=de(r.mode),k=de(r.reValidateMode);if(y){let O,X;const ve=a.type?ct(y._f):ht(s),ae=s.type===Fe.BLUR||s.type===Fe.FOCUS_OUT,Lt=!Yt(y._f)&&!r.resolver&&!c(t.errors,u)&&!y._f.deps||Xt(ae,c(t.touchedFields,u),t.isSubmitted,k,_),Oe=He(u,d,ae);E(l,u,ve),ae?(y._f.onBlur&&y._f.onBlur(s),b&&b(0)):y._f.onChange&&y._f.onChange(s);const Ue=I(u,ve,ae),Tt=!H(Ue)||Oe;if(!ae&&F.state.next({name:u,type:s.type,values:T(l)}),Lt)return(D.isValid||C.isValid)&&(r.mode==="onBlur"?ae&&R():ae||R()),Tt&&F.state.next({name:u,...Oe?{}:Ue});if(!ae&&Oe&&F.state.next({...t}),r.resolver){const{errors:st}=await h([u]);if(o(ve),g){const It=ft(t.errors,i,u),it=ft(st,i,It.name||u);O=it.error,u=it.name,X=H(st)}}else L([u],!0),O=(await $e(y,d.disabled,l,M,r.shouldUseNativeValidation))[u],L([u]),o(ve),g&&(O?X=!1:(D.isValid||C.isValid)&&(X=await S(i,!0)));g&&(y._f.deps&&oe(y._f.deps),m(u,X,O,Ue))}},ye=(s,a)=>{if(c(t.errors,a)&&s.focus)return s.focus(),1},oe=async(s,a={})=>{let u,g;const y=K(s);if(r.resolver){const o=await A(U(s)?s:y);u=H(o),g=s?!y.some(_=>c(o,_)):u}else s?(g=(await Promise.all(y.map(async o=>{const _=c(i,o);return await S(_&&_._f?{[o]:_}:_)}))).every(Boolean),!(!g&&!t.isValid)&&R()):g=u=await S(i);return F.state.next({...!se(s)||(D.isValid||C.isValid)&&u!==t.isValid?{}:{name:s},...r.resolver||!s?{isValid:u}:{},errors:t.errors}),a.shouldFocus&&!g&&fe(i,ye,s?y:d.mount),g},me=s=>{const a={...f.mount?l:n};return U(s)?a:se(s)?c(a,s):s.map(u=>c(a,u))},Ye=(s,a)=>({invalid:!!c((a||t).errors,s),isDirty:!!c((a||t).dirtyFields,s),error:c((a||t).errors,s),isValidating:!!c(t.validatingFields,s),isTouched:!!c((a||t).touchedFields,s)}),Et=s=>{s&&K(s).forEach(a=>B(t.errors,a)),F.state.next({errors:s?t.errors:{}})},Je=(s,a,u)=>{const g=(c(i,s,{_f:{}})._f||{}).ref,y=c(t.errors,s)||{},{ref:o,message:_,type:k,...O}=y;E(t.errors,s,{...O,...a,ref:g}),F.state.next({name:s,errors:t.errors,isValid:!1}),u&&u.shouldFocus&&g&&g.focus&&g.focus()},pt=(s,a)=>te(s)?F.state.subscribe({next:u=>s(w(void 0,a),u)}):w(s,a,!0),Qe=s=>F.state.subscribe({next:a=>{Qt(s.name,a.name,s.exact)&&Jt(a,s.formState||D,Rt,s.reRenderRoot)&&s.callback({values:{...l},...t,...a})}}).unsubscribe,Ct=s=>(f.mount=!0,C={...C,...s.formState},Qe({...s,formState:C})),Ee=(s,a={})=>{for(const u of s?K(s):d.mount)d.mount.delete(u),d.array.delete(u),a.keepValue||(B(i,u),B(l,u)),!a.keepError&&B(t.errors,u),!a.keepDirty&&B(t.dirtyFields,u),!a.keepTouched&&B(t.touchedFields,u),!a.keepIsValidating&&B(t.validatingFields,u),!r.shouldUnregister&&!a.keepDefaultValue&&B(n,u);F.state.next({values:T(l)}),F.state.next({...t,...a.keepDirty?{isDirty:J()}:{}}),!a.keepIsValid&&R()},Xe=({disabled:s,name:a})=>{(Q(s)&&f.mount||s||d.disabled.has(a))&&(s?d.disabled.add(a):d.disabled.delete(a))},pe=(s,a={})=>{let u=c(i,s);const g=Q(a.disabled)||Q(r.disabled);return E(i,s,{...u||{},_f:{...u&&u._f?u._f:{ref:{name:s}},name:s,mount:!0,...a}}),d.mount.add(s),u?Xe({disabled:Q(a.disabled)?a.disabled:r.disabled,name:s}):W(s,!0,a.value),{...g?{disabled:a.disabled||r.disabled}:{},...r.progressive?{required:!!a.required,min:_e(a.min),max:_e(a.max),minLength:_e(a.minLength),maxLength:_e(a.maxLength),pattern:_e(a.pattern)}:{},name:s,onChange:re,onBlur:re,ref:y=>{if(y){pe(s,a),u=c(i,s);const o=U(y.value)&&y.querySelectorAll&&y.querySelectorAll("input,select,textarea")[0]||y,_=$t(o),k=u._f.refs||[];if(_?k.find(O=>O===o):o===u._f.ref)return;E(i,s,{_f:{...u._f,..._?{refs:[...k.filter(Me),o,...Array.isArray(c(n,s))?[{}]:[]],ref:{type:o.type,name:s}}:{ref:o}}}),W(s,!1,void 0,o)}else u=c(i,s,{}),u._f&&(u._f.mount=!1),(r.shouldUnregister||a.shouldUnregister)&&!(mt(d.array,s)&&f.action)&&d.unMount.add(s)}}},Ce=()=>r.shouldFocusError&&fe(i,ye,d.mount),Ot=s=>{Q(s)&&(F.state.next({disabled:s}),fe(i,(a,u)=>{const g=c(i,u);g&&(a.disabled=g._f.disabled||s,Array.isArray(g._f.refs)&&g._f.refs.forEach(y=>{y.disabled=g._f.disabled||s}))},0,!1))},Ze=(s,a)=>async u=>{let g;u&&(u.preventDefault&&u.preventDefault(),u.persist&&u.persist());let y=T(l);if(F.state.next({isSubmitting:!0}),r.resolver){const{errors:o,values:_}=await h();t.errors=o,y=T(_)}else await S(i);if(d.disabled.size)for(const o of d.disabled)B(y,o);if(B(t.errors,"root"),H(t.errors)){F.state.next({errors:{}});try{await s(y,u)}catch(o){g=o}}else a&&await a({...t.errors},u),Ce(),setTimeout(Ce);if(F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:H(t.errors)&&!g,submitCount:t.submitCount+1,errors:t.errors}),g)throw g},Ut=(s,a={})=>{c(i,s)&&(U(a.defaultValue)?j(s,T(c(n,s))):(j(s,a.defaultValue),E(n,s,T(a.defaultValue))),a.keepTouched||B(t.touchedFields,s),a.keepDirty||(B(t.dirtyFields,s),t.isDirty=a.defaultValue?J(s,T(c(n,s))):J()),a.keepError||(B(t.errors,s),D.isValid&&R()),F.state.next({...t}))},et=(s,a={})=>{const u=s?T(s):n,g=T(u),y=H(s),o=y?n:g;if(a.keepDefaultValues||(n=u),!a.keepValues){if(a.keepDirtyValues){const _=new Set([...d.mount,...Object.keys(ge(n,l))]);for(const k of Array.from(_))c(t.dirtyFields,k)?E(o,k,c(l,k)):j(k,c(o,k))}else{if(je&&U(s))for(const _ of d.mount){const k=c(i,_);if(k&&k._f){const O=Array.isArray(k._f.refs)?k._f.refs[0]:k._f.ref;if(Ve(O)){const X=O.closest("form");if(X){X.reset();break}}}}for(const _ of d.mount){const k=c(o,_,c(n,_));U(k)||(E(o,_,k),j(_,c(o,_)))}}l=T(o),F.array.next({values:{...o}}),F.state.next({values:{...o}})}d={mount:a.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},f.mount=!D.isValid||!!a.keepIsValid||!!a.keepDirtyValues,f.watch=!!r.shouldUnregister,F.state.next({submitCount:a.keepSubmitCount?t.submitCount:0,isDirty:y?!1:a.keepDirty?t.isDirty:!!(a.keepDefaultValues&&!le(s,n)),isSubmitted:a.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:y?{}:a.keepDirtyValues?a.keepDefaultValues&&l?ge(n,l):t.dirtyFields:a.keepDefaultValues&&s?ge(n,s):a.keepDirty?t.dirtyFields:{},touchedFields:a.keepTouched?t.touchedFields:{},errors:a.keepErrors?t.errors:{},isSubmitSuccessful:a.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},tt=(s,a)=>et(te(s)?s(l):s,a),Mt=(s,a={})=>{const u=c(i,s),g=u&&u._f;if(g){const y=g.refs?g.refs[0]:g.ref;y.focus&&(y.focus(),a.shouldSelect&&te(y.select)&&y.select())}},Rt=s=>{t={...t,...s}},rt={control:{register:pe,unregister:Ee,getFieldState:Ye,handleSubmit:Ze,setError:Je,_subscribe:Qe,_runSchema:h,_focusError:Ce,_getWatch:w,_getDirty:J,_setValid:R,_setFieldArray:ee,_setDisabledField:Xe,_setErrors:G,_getFieldArray:p,_reset:et,_resetDefaultValues:()=>te(r.defaultValues)&&r.defaultValues().then(s=>{tt(s,r.resetOptions),F.state.next({isLoading:!1})}),_removeUnmounted:Y,_disableForm:Ot,_subjects:F,_proxyFormState:D,get _fields(){return i},get _formValues(){return l},get _state(){return f},set _state(s){f=s},get _defaultValues(){return n},get _names(){return d},set _names(s){d=s},get _formState(){return t},get _options(){return r},set _options(s){r={...r,...s}}},subscribe:Ct,trigger:oe,register:pe,handleSubmit:Ze,watch:pt,setValue:j,getValues:me,reset:tt,resetField:Ut,clearErrors:Et,unregister:Ee,setError:Je,setFocus:Mt,getFieldState:Ye};return{...rt,formControl:rt}}var ne=()=>{if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{const t=(Math.random()*16+e)%16|0;return(r=="x"?t:t&3|8).toString(16)})},Re=(e,r,t={})=>t.shouldFocus||U(t.shouldFocus)?t.focusName||`${e}.${U(t.focusIndex)?r:t.focusIndex}.`:"",Le=(e,r)=>[...e,...K(r)],Te=e=>Array.isArray(e)?e.map(()=>{}):void 0;function Ie(e,r,t){return[...e.slice(0,r),...K(t),...e.slice(r)]}var Ne=(e,r,t)=>Array.isArray(e)?(U(e[t])&&(e[t]=void 0),e.splice(t,0,e.splice(r,1)[0]),e):[],Be=(e,r)=>[...K(r),...K(e)];function rr(e,r){let t=0;const i=[...e];for(const n of r)i.splice(n-t,1),t++;return we(i).length?i:[]}var Pe=(e,r)=>U(r)?[]:rr(e,K(r).sort((t,i)=>t-i)),We=(e,r,t)=>{[e[r],e[t]]=[e[t],e[r]]},gt=(e,r,t)=>(e[r]=t,e);function nr(e){const r=ke(),{control:t=r.control,name:i,keyName:n="id",shouldUnregister:l,rules:f}=e,[d,b]=v.useState(t._getFieldArray(i)),x=v.useRef(t._getFieldArray(i).map(ne)),D=v.useRef(d),C=v.useRef(i),F=v.useRef(!1);C.current=i,D.current=d,t._names.array.add(i),f&&t.register(i,f),De(()=>t._subjects.array.subscribe({next:({values:m,name:h})=>{if(h===C.current||!h){const A=c(m,C.current);Array.isArray(A)&&(b(A),x.current=A.map(ne))}}}).unsubscribe,[t]);const M=v.useCallback(m=>{F.current=!0,t._setFieldArray(i,m)},[t,i]),z=(m,h)=>{const A=K(T(m)),S=Le(t._getFieldArray(i),A);t._names.focus=Re(i,S.length-1,h),x.current=Le(x.current,A.map(ne)),M(S),b(S),t._setFieldArray(i,S,Le,{argA:Te(m)})},R=(m,h)=>{const A=K(T(m)),S=Be(t._getFieldArray(i),A);t._names.focus=Re(i,0,h),x.current=Be(x.current,A.map(ne)),M(S),b(S),t._setFieldArray(i,S,Be,{argA:Te(m)})},L=m=>{const h=Pe(t._getFieldArray(i),m);x.current=Pe(x.current,m),M(h),b(h),!Array.isArray(c(t._fields,i))&&E(t._fields,i,void 0),t._setFieldArray(i,h,Pe,{argA:m})},ee=(m,h,A)=>{const S=K(T(h)),Y=Ie(t._getFieldArray(i),m,S);t._names.focus=Re(i,m,A),x.current=Ie(x.current,m,S.map(ne)),M(Y),b(Y),t._setFieldArray(i,Y,Ie,{argA:m,argB:Te(h)})},V=(m,h)=>{const A=t._getFieldArray(i);We(A,m,h),We(x.current,m,h),M(A),b(A),t._setFieldArray(i,A,We,{argA:m,argB:h},!1)},G=(m,h)=>{const A=t._getFieldArray(i);Ne(A,m,h),Ne(x.current,m,h),M(A),b(A),t._setFieldArray(i,A,Ne,{argA:m,argB:h},!1)},W=(m,h)=>{const A=T(h),S=gt(t._getFieldArray(i),m,A);x.current=[...S].map((Y,J)=>!Y||J===m?ne():x.current[J]),M(S),b([...S]),t._setFieldArray(i,S,gt,{argA:m,argB:A},!0,!1)},I=m=>{const h=K(T(m));x.current=h.map(ne),M([...h]),b([...h]),t._setFieldArray(i,[...h],A=>A,{},!0,!1)};return v.useEffect(()=>{if(t._state.action=!1,He(i,t._names)&&t._subjects.state.next({...t._formState}),F.current&&(!de(t._options.mode).isOnSubmit||t._formState.isSubmitted)&&!de(t._options.reValidateMode).isOnSubmit)if(t._options.resolver)t._runSchema([i]).then(m=>{const h=c(m.errors,i),A=c(t._formState.errors,i);(A?!h&&A.type||h&&(A.type!==h.type||A.message!==h.message):h&&h.type)&&(h?E(t._formState.errors,i,h):B(t._formState.errors,i),t._subjects.state.next({errors:t._formState.errors}))});else{const m=c(t._fields,i);m&&m._f&&!(de(t._options.reValidateMode).isOnSubmit&&de(t._options.mode).isOnSubmit)&&$e(m,t._names.disabled,t._formValues,t._options.criteriaMode===Z.all,t._options.shouldUseNativeValidation,!0).then(h=>!H(h)&&t._subjects.state.next({errors:Dt(t._formState.errors,h,i)}))}t._subjects.state.next({name:i,values:T(t._formValues)}),t._names.focus&&fe(t._fields,(m,h)=>{if(t._names.focus&&h.startsWith(t._names.focus)&&m.focus)return m.focus(),1}),t._names.focus="",t._setValid(),F.current=!1},[d,i,t]),v.useEffect(()=>(!c(t._formValues,i)&&t._setFieldArray(i),()=>{const m=(h,A)=>{const S=c(t._fields,h);S&&S._f&&(S._f.mount=A)};t._options.shouldUnregister||l?t.unregister(i):m(i,!1)}),[i,t,n,l]),{swap:v.useCallback(V,[M,i,t]),move:v.useCallback(G,[M,i,t]),prepend:v.useCallback(R,[M,i,t]),append:v.useCallback(z,[M,i,t]),remove:v.useCallback(L,[M,i,t]),insert:v.useCallback(ee,[M,i,t]),update:v.useCallback(W,[M,i,t]),replace:v.useCallback(I,[M,i,t]),fields:v.useMemo(()=>d.map((m,h)=>({...m,[n]:x.current[h]||ne()})),[d,n])}}function lr(e={}){const r=v.useRef(void 0),t=v.useRef(void 0),[i,n]=v.useState({isDirty:!1,isValidating:!1,isLoading:te(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:te(e.defaultValues)?void 0:e.defaultValues});if(!r.current)if(e.formControl)r.current={...e.formControl,formState:i},e.defaultValues&&!te(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:f,...d}=tr(e);r.current={...d,formState:i}}const l=r.current.control;return l._options=e,De(()=>{const f=l._subscribe({formState:l._proxyFormState,callback:()=>n({...l._formState}),reRenderRoot:!0});return n(d=>({...d,isReady:!0})),l._formState.isReady=!0,f},[l]),v.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),v.useEffect(()=>{e.mode&&(l._options.mode=e.mode),e.reValidateMode&&(l._options.reValidateMode=e.reValidateMode)},[l,e.mode,e.reValidateMode]),v.useEffect(()=>{e.errors&&(l._setErrors(e.errors),l._focusError())},[l,e.errors]),v.useEffect(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),v.useEffect(()=>{if(l._proxyFormState.isDirty){const f=l._getDirty();f!==i.isDirty&&l._subjects.state.next({isDirty:f})}},[l,i.isDirty]),v.useEffect(()=>{e.values&&!le(e.values,t.current)?(l._reset(e.values,l._options.resetOptions),t.current=e.values,n(f=>({...f}))):l._resetDefaultValues()},[l,e.values]),v.useEffect(()=>{l._state.mount||(l._setValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),r.current.formState=bt(i,l),r.current}export{ar as C,Wt as a,nr as b,lr as u};