@abtnode/webapp 1.16.30-beta-e7a90fb2 → 1.16.30

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 (176) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-nimIss-R.js → Add-B6ZIiZST.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-SDLo8AU6.js → ArrowDropDown-CTOfLnwc.js} +1 -1
  5. package/dist/assets/{Autocomplete-mLMpcAAZ.js → Autocomplete-BRgMnZ52.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-Bt0YLDiP.js → Breadcrumbs-s9U9zLgF.js} +1 -1
  7. package/dist/assets/{ButtonGroup-BIMC9S6K.js → ButtonGroup-3w5LvaA0.js} +1 -1
  8. package/dist/assets/{CheckCircle-__Xpcyhc.js → CheckCircle-DE_y9vib.js} +1 -1
  9. package/dist/assets/{ChevronLeft-DFREsjdS.js → ChevronLeft-CvWKad8W.js} +1 -1
  10. package/dist/assets/{ChevronRight-SbPIKwoC.js → ChevronRight-93HrdGCM.js} +1 -1
  11. package/dist/assets/{Close-BpEmkp97.js → Close-DzKkufzk.js} +1 -1
  12. package/dist/assets/{Delete-B-wviuP1.js → Delete-DFFe3xyW.js} +1 -1
  13. package/dist/assets/DeleteOutline-yYcRq6ni.js +1 -0
  14. package/dist/assets/{Done-DEwehpwv.js → Done-3-QQ_TOf.js} +1 -1
  15. package/dist/assets/{Edit-DK6KZi0P.js → Edit-wLc7o2cw.js} +1 -1
  16. package/dist/assets/{EditIcon-FDN14b0G.js → EditIcon-BCVTD6hP.js} +1 -1
  17. package/dist/assets/{ExpandMore-CoMbEsJD.js → ExpandMore-CFYbzpsT.js} +1 -1
  18. package/dist/assets/{FilterList-BSbt4VER.js → FilterList-FEjK2Fox.js} +1 -1
  19. package/dist/assets/{Google-DvvB9-RU.js → Google-C9I0SVEJ.js} +1 -1
  20. package/dist/assets/{Https-CHMUgx6-.js → Https-BPSFFlg6.js} +1 -1
  21. package/dist/assets/{InputAdornment-C_X3KhDA.js → InputAdornment-DT4h3g9o.js} +1 -1
  22. package/dist/assets/{InputLabel-qD-ek4kX.js → InputLabel-BOR0LpK5.js} +1 -1
  23. package/dist/assets/{LastPage-DRexSCl8.js → LastPage-BmNCoOR7.js} +1 -1
  24. package/dist/assets/{Launch-CXTnJ_ZP.js → Launch-BN3gZaS3.js} +1 -1
  25. package/dist/assets/{Link-BVKoqsek.js → Link-Dxx2K6Ua.js} +1 -1
  26. package/dist/assets/{LoadingButton-DHGZB25W.js → LoadingButton-DdNqcAhj.js} +1 -1
  27. package/dist/assets/{LockIcon-DGE39kAx.js → LockIcon-BB4v3xDA.js} +1 -1
  28. package/dist/assets/{Loop-DQi2cfGf.js → Loop-COqhNCYW.js} +1 -1
  29. package/dist/assets/{MoreHoriz-BXgBR7_l.js → MoreHoriz-IPlU_Vvy.js} +1 -1
  30. package/dist/assets/{MoreVert-xXktVXrB.js → MoreVert-C_-FQbwq.js} +1 -1
  31. package/dist/assets/{Pagination-DnPfWmf4.js → Pagination-BfGbGnHW.js} +1 -1
  32. package/dist/assets/{Public-DZG9u5nc.js → Public-CcSZDx4-.js} +1 -1
  33. package/dist/assets/{SchemaReference.es-DknvTEzi.js → SchemaReference.es-DmaLWYOX.js} +1 -1
  34. package/dist/assets/{Search-D2g_vALD.js → Search-CjX0JQkS.js} +1 -1
  35. package/dist/assets/{Select-DEE1eR0K.js → Select-C44-YCyD.js} +1 -1
  36. package/dist/assets/{Skeleton-m_lkZ6lH.js → Skeleton-4s7n7VqF.js} +1 -1
  37. package/dist/assets/{Slider-CBmIjsNj.js → Slider-C0JALcDq.js} +1 -1
  38. package/dist/assets/{Stepper-D4h3SXw3.js → Stepper-BRwbb4LL.js} +1 -1
  39. package/dist/assets/{TextField-Cml5LlcX.js → TextField-BjNW7Bjw.js} +1 -1
  40. package/dist/assets/{ToggleButtonGroup-DdMGIkJV.js → ToggleButtonGroup-DtqIWzr-.js} +1 -1
  41. package/dist/assets/{ViewList-Lg33z4FS.js → ViewList-CHj6lFwi.js} +1 -1
  42. package/dist/assets/{actions-Rsfuoore.js → actions-DGcLEhc9.js} +1 -1
  43. package/dist/assets/{actions-CCw2fiQZ.js → actions-TtrKwsqz.js} +1 -1
  44. package/dist/assets/{agreement-C2LFpgfH.js → agreement-DXIl-xR_.js} +1 -1
  45. package/dist/assets/api-Rcl-3MyM.js +1 -0
  46. package/dist/assets/{app-avatar-Z0pI74yn.js → app-avatar-BvOjNwzf.js} +1 -1
  47. package/dist/assets/{audit-logs-CGjF68d3.js → audit-logs-D4-Bez8p.js} +1 -1
  48. package/dist/assets/blocklet-d8bc_SQ4.js +1 -0
  49. package/dist/assets/{brace-fold.es-D-xxO9tk.js → brace-fold.es-B1LEOxqn.js} +1 -1
  50. package/dist/assets/{bundle-avatar-k-apmNe0.js → bundle-avatar-CW4zHZR5.js} +1 -1
  51. package/dist/assets/{chart-BHydpm-Q.js → chart-TIGkq42g.js} +1 -1
  52. package/dist/assets/{click-to-copy--CxmqZHP.js → click-to-copy-ZbSHXJko.js} +1 -1
  53. package/dist/assets/{closebrackets.es-CV5tiUGf.js → closebrackets.es-hz2Jou3O.js} +1 -1
  54. package/dist/assets/{codemirror.es-BSwJ_jke.js → codemirror.es-DRCfXk0r.js} +1 -1
  55. package/dist/assets/{comment.es-CN939E1H.js → comment.es-BmnkGJwk.js} +1 -1
  56. package/dist/assets/{config-navigation-BKucf5SM.js → config-navigation-DS08ePOc.js} +1 -1
  57. package/dist/assets/{delete-confirm-DOwYzFRf.js → delete-confirm-CGv3y6py.js} +1 -1
  58. package/dist/assets/{detail-BBO1G3ZP.js → detail-DmU03eC7.js} +3 -3
  59. package/dist/assets/{dialog.es-K7-bZIzF.js → dialog.es-CSYXNrcw.js} +1 -1
  60. package/dist/assets/{download-D88K6-GQ.js → download-CAroNPKK.js} +1 -1
  61. package/dist/assets/{foldgutter.es-DPSTEVXv.js → foldgutter.es-BSRJoBoZ.js} +1 -1
  62. package/dist/assets/getValidReactChildren-Y-QNoefA.js +1 -0
  63. package/dist/assets/{hint.es-DHTbet23.js → hint.es-DuHUgHT3.js} +1 -1
  64. package/dist/assets/{hint.es2-DaSN5I8T.js → hint.es2-CLzxOo96.js} +1 -1
  65. package/dist/assets/{iframe-DjGjc5CU.js → iframe-C3LtsJmK.js} +1 -1
  66. package/dist/assets/index-3tln4L6C.js +21 -0
  67. package/dist/assets/{index-D3GDvQdK.js → index-8azRnZez.js} +1 -1
  68. package/dist/assets/{index-TQDBcpeB.js → index-BApbAOLy.js} +1 -1
  69. package/dist/assets/{index-CF-WslF6.js → index-BN-HHDJJ.js} +1 -1
  70. package/dist/assets/{index-Daw6hKm4.js → index-BQmNmoac.js} +1 -1
  71. package/dist/assets/{index-DxgXNSd2.js → index-BZCt88Kn.js} +14 -14
  72. package/dist/assets/{index-C1KbWOak.js → index-BatYQHX2.js} +3 -3
  73. package/dist/assets/{index-wB3ekx1K.js → index-BdL0EBBo.js} +1 -1
  74. package/dist/assets/{index-Blc0lQcO.js → index-BfvNFce6.js} +1 -1
  75. package/dist/assets/{index-Co3JrBLr.js → index-BrDzj3_R.js} +1 -1
  76. package/dist/assets/{index-D3_NSRjd.js → index-C3UQMAkF.js} +1 -1
  77. package/dist/assets/{index-Dx95ER6O.js → index-C3q33eZl.js} +1 -1
  78. package/dist/assets/{index-CBTLvRHC.js → index-C4LMPu9u.js} +1 -1
  79. package/dist/assets/{index-BGI6bUJP.js → index-CJBZPdm6.js} +1 -1
  80. package/dist/assets/{index-DKrhe0Pd.js → index-CR_2MaC1.js} +1 -1
  81. package/dist/assets/{index-CE0mBRzM.js → index-CUztA_gz.js} +1 -1
  82. package/dist/assets/{index-ZTQq6T3W.js → index-CkbP6S_A.js} +1 -1
  83. package/dist/assets/{index-CAo0UcQ2.js → index-Cmy0GHU-.js} +1 -1
  84. package/dist/assets/{index-D_qCD-1x.js → index-Ctog4pYE.js} +1 -1
  85. package/dist/assets/{index-6hnZjYIo.js → index-CveYHk3t.js} +1 -1
  86. package/dist/assets/{index-BGXvULAc.js → index-D0RT0rzU.js} +1 -1
  87. package/dist/assets/{index-De9X8iTH.js → index-D53ihNsv.js} +1 -1
  88. package/dist/assets/{index-f7aL1bUo.js → index-D6q9zEjn.js} +5 -5
  89. package/dist/assets/{index-Cpw6Ga8g.js → index-DQo_Dew3.js} +1 -1
  90. package/dist/assets/{index-cqDbkK4O.js → index-DTSardYw.js} +1 -1
  91. package/dist/assets/{index-AO3oCF1x.js → index-DfTYGL67.js} +3 -3
  92. package/dist/assets/index-DnLx-UdH.js +68 -0
  93. package/dist/assets/{index-CeV4jn0N.js → index-DpVeIVbC.js} +1 -1
  94. package/dist/assets/{index-guvEPGrM.js → index-DrdqOXJL.js} +3 -3
  95. package/dist/assets/{index-DBP_eUf8.js → index-DtsnjFBd.js} +1 -1
  96. package/dist/assets/{index-C4Q4NeqR.js → index-Dy-ye0PE.js} +1 -1
  97. package/dist/assets/{index-BHdqgom8.js → index-DzlR4ROA.js} +2 -2
  98. package/dist/assets/{index-BKhW6tEi.js → index-EKqCJff8.js} +1 -1
  99. package/dist/assets/{index-o8JHOBc-.js → index-RRgjvIfT.js} +1 -1
  100. package/dist/assets/{index-mgj182ld.js → index-RrRN76hq.js} +1 -1
  101. package/dist/assets/{index-Mn9Cn8cU.js → index-UbiaSDM9.js} +1 -1
  102. package/dist/assets/{index-BsbdXNYr.js → index-aiikLstk.js} +1 -1
  103. package/dist/assets/{index-CgsfYcwc.js → index-ffNDefbl.js} +1 -1
  104. package/dist/assets/{index-DGNm6YxS.js → index-fiBRRSS-.js} +1 -1
  105. package/dist/assets/{index-BPHA36fg.js → index-po1Du4Ca.js} +1 -1
  106. package/dist/assets/{index-Dj8gJMNb.js → index-qSHb4AGp.js} +1 -1
  107. package/dist/assets/{index-ChCCjycd.js → index-sw48VBzs.js} +1 -1
  108. package/dist/assets/{index-DBjm0dlo.js → index-vCyUMIWI.js} +1 -1
  109. package/dist/assets/{index-D-FCWV-1.js → index-x2vTLzR6.js} +1 -1
  110. package/dist/assets/{index.es-39a3Nx9Z.js → index.es-C2y5LgUg.js} +1 -1
  111. package/dist/assets/{index.esm-VCHOqK12.js → index.esm-DNLYWMPY.js} +1 -1
  112. package/dist/assets/{info-addon.es-BC4uTAVC.js → info-addon.es-OU9D4WD4.js} +1 -1
  113. package/dist/assets/{info.es-BOB5BDAa.js → info.es-BYpWwfiq.js} +1 -1
  114. package/dist/assets/{install-from-url-BlpJ_JCL.js → install-from-url-BHRJMyoo.js} +1 -1
  115. package/dist/assets/{invitation-B9vV54jI.js → invitation-4BcBcG3g.js} +1 -1
  116. package/dist/assets/{is-path-prefix-equal-5RuRfdDZ.js → is-path-prefix-equal-QODAXh-c.js} +1 -1
  117. package/dist/assets/{isEqual-BMA5WXPh.js → isEqual-CFOAIOWs.js} +1 -1
  118. package/dist/assets/{item-BCjdddLT.js → item-DinHwjuB.js} +1 -1
  119. package/dist/assets/{javascript.es-CKHSRONz.js → javascript.es-BZ4hu16-.js} +1 -1
  120. package/dist/assets/{jump-to-line.es-BGiUhkkZ.js → jump-to-line.es-ds6uZCNW.js} +1 -1
  121. package/dist/assets/{jump.es-jlQKmx9y.js → jump.es-Dow2EsmT.js} +1 -1
  122. package/dist/assets/{line-BQ1AqKfx.js → line-Cpeu8572.js} +3 -3
  123. package/dist/assets/{lint.es-Ccw618G7.js → lint.es-BumMccTK.js} +1 -1
  124. package/dist/assets/{lint.es2-EOTuUPIZ.js → lint.es2-BzVHBAgd.js} +1 -1
  125. package/dist/assets/{lint.es3-DvHlvUn_.js → lint.es3-ziEStM1n.js} +1 -1
  126. package/dist/assets/{list-header-RtdpLA8N.js → list-header-5GKfEIKg.js} +1 -1
  127. package/dist/assets/{log-C240GbUG.js → log-BzeVufdm.js} +1 -1
  128. package/dist/assets/{lottie-DlriAay1.js → lottie-Dittdj4N.js} +1 -1
  129. package/dist/assets/{matchbrackets.es-C5JsbqKa.js → matchbrackets.es-DqPFoH1c.js} +1 -1
  130. package/dist/assets/{memory-DmcKHXq0.js → memory-CVFS6lDi.js} +1 -1
  131. package/dist/assets/{mode.es-mDILARJO.js → mode.es-tUbE6Sz4.js} +1 -1
  132. package/dist/assets/{mode.es2-BBLB98Wl.js → mode.es2-DOWb3-oK.js} +1 -1
  133. package/dist/assets/{mode.es3-Bp7C6PMW.js → mode.es3-BcjY2hx8.js} +1 -1
  134. package/dist/assets/{onlineParser.es-BoSRyIcT.js → onlineParser.es-BdeAPFTn.js} +1 -1
  135. package/dist/assets/{overview-_Rxbv1NB.js → overview-D7vbgmTw.js} +1 -1
  136. package/dist/assets/{react-DuJ5ZkKy.js → react-Dervdh0W.js} +3 -3
  137. package/dist/assets/{redux-B1Qumh5U.js → redux-C4Q_CSvp.js} +1 -1
  138. package/dist/assets/{resource-dialog-WWRI08PV.js → resource-dialog-Byph1CoJ.js} +1 -1
  139. package/dist/assets/{runtime-5oxnTidw.js → runtime-7TSih23R.js} +1 -1
  140. package/dist/assets/{schema-5ne-6Bp4.js → schema-Bq2ly-4o.js} +1 -1
  141. package/dist/assets/sdk-aTAcQDv-.js +1 -0
  142. package/dist/assets/{search.es-R2FORdVe.js → search.es-CMLj29wb.js} +1 -1
  143. package/dist/assets/{searchcursor.es-DO5Jf4gN.js → searchcursor.es-eHb4SABv.js} +1 -1
  144. package/dist/assets/service-FolPIcUS.js +1 -0
  145. package/dist/assets/{shorten-label-CZlXdSOl.js → shorten-label-BSQEIROA.js} +1 -1
  146. package/dist/assets/{show-hint.es-Bx2uNweg.js → show-hint.es-Bn3zEE4X.js} +1 -1
  147. package/dist/assets/{slicedToArray-Bg3ityWL.js → slicedToArray-ROu8OO6l.js} +1 -1
  148. package/dist/assets/{spaces-fC9EAj53.js → spaces-CKLphlMZ.js} +1 -1
  149. package/dist/assets/{status-BXJ91n7W.js → status-6F7XJ5dp.js} +1 -1
  150. package/dist/assets/{sublime.es-DHZMehLW.js → sublime.es-CYqGOBLs.js} +1 -1
  151. package/dist/assets/{switch-control-BuiDLx3e.js → switch-control-BxRwCbFm.js} +1 -1
  152. package/dist/assets/{table-icons-bAAAjGK1.js → table-icons-BXeoVsYd.js} +2 -2
  153. package/dist/assets/{team-QnBuJ2rq.js → team-nBwKhOsv.js} +1 -1
  154. package/dist/assets/{toUpper-CFRRtQH6.js → toUpper-BBB_TInl.js} +1 -1
  155. package/dist/assets/{traffic-CNgUOmfv.js → traffic-BgMFjNc5.js} +1 -1
  156. package/dist/assets/{url-evaluation-BTdmiGRO.js → url-evaluation-C7b_jErN.js} +1 -1
  157. package/dist/assets/{url-join-CiWL3EAW.js → url-join-LN7aIhdX.js} +1 -1
  158. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-CMsH-TzL.js → use-blocklet-info-for-connect-did-spaces-Dw7UZ6Jz.js} +1 -1
  159. package/dist/assets/{useLocalStorage-D6Ii7-Uk.js → useLocalStorage-F8gidp1W.js} +1 -1
  160. package/dist/assets/{useThemeProps-BlrL4N8K.js → useThemeProps-CRpVKi5P.js} +1 -1
  161. package/dist/assets/{util-DSMcrouF.js → util-DjDIVQpP.js} +1 -1
  162. package/dist/assets/{wait-container-BRhHYdS-.js → wait-container-fwTsXfbb.js} +1 -1
  163. package/dist/assets/{withStyles-CHrv3QJu.js → withStyles-unQnV9F2.js} +1 -1
  164. package/dist/assets/{wrap-locale-D-OFTljj.js → wrap-locale-CCm3KObK.js} +1 -1
  165. package/dist/index.html +1 -1
  166. package/dist/service-worker.js +1 -1
  167. package/package.json +1 -1
  168. package/dist/assets/DeleteOutline-DU3a7Mie.js +0 -1
  169. package/dist/assets/DeleteOutline-Dy_sSwNK.js +0 -1
  170. package/dist/assets/api-_ETsEoGC.js +0 -1
  171. package/dist/assets/blocklet-D8qZlMLE.js +0 -1
  172. package/dist/assets/getValidReactChildren-86LVJ_ka.js +0 -1
  173. package/dist/assets/index-CqrpWUFf.js +0 -21
  174. package/dist/assets/index-DUXbXc9f.js +0 -68
  175. package/dist/assets/sdk-Go6IWQIY.js +0 -1
  176. package/dist/assets/service-VyIQYaE6.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as H,j as i,fv as fo,ch as Ye,fw as po,fd as dt,Q,as as gr,ax as Ke,m as xe,ez as mo,d0 as zr,fx as ho,t as ke,fy as yr,fz as go,aG as yo,cg as bo,dM as or,S as jt,dx as Rn,dA as Tt,fA as mt,eU as Ce,fB as vo,fj as Tn,fC as xo,fD as wo,fk as Cn,fE as br,fF as Eo,fG as jo,fH as So,fI as Ao,dw as ir,g as Po,cN as Wr,dD as Oo,N as Io,bl as _e,aO as Dn,U as St,dE as Ro,fJ as vr,at as ht,D as Ze,B as Ae,C as ot,x as xr,K as nt,M as Xe,P as $,fK as To,k as ar,aU as Co,y as Do,z as No,n as Be,fc as _o,f as gt,ac as Ct,V as Fe,cb as Qe,E as it,fL as Bo,aK as Nn,aL as _n,b as Je,d4 as Lo,v as Bn,H as Se,q as sr,W as wr,cd as ko,fM as Uo,fN as Ln,aQ as qo,aD as Fo,a8 as Ko,cz as Mo,a2 as $o,bp as zo,aZ as Wo,a_ as Vo,R as Ho}from"./index-BHdqgom8.js";import{c as Go}from"./index-Dj8gJMNb.js";import{d as At}from"./Add-nimIss-R.js";import{d as Yo}from"./Loop-DQi2cfGf.js";import{d as Zo}from"./ViewList-Lg33z4FS.js";import{L as Jo,S as Xo,d as kn}from"./list-header-RtdpLA8N.js";import{D as Er,g as Qo}from"./index-cqDbkK4O.js";import"./index-CgsfYcwc.js";import{c as Ut,U as qt,d as Un}from"./resource-dialog-WWRI08PV.js";import{T as ei}from"./index-CAo0UcQ2.js";import{E as qn}from"./index-BPHA36fg.js";import"./index-ZTQq6T3W.js";import"./index-DKrhe0Pd.js";import{l as Fn}from"./index-wB3ekx1K.js";import{o as Kn}from"./index-ZG7jWpak.js";import{W as Mn}from"./url-evaluation-BTdmiGRO.js";import{a as $e}from"./team-QnBuJ2rq.js";import{u as $n}from"./blocklet-D8qZlMLE.js";import{C as Dt}from"./click-to-copy--CxmqZHP.js";import{F as cr,S as lr}from"./Select-DEE1eR0K.js";import{I as ur}from"./InputLabel-qD-ek4kX.js";import{T as zn}from"./TextField-Cml5LlcX.js";import{I as fr}from"./index-D3GDvQdK.js";import{b as ti}from"./sdk-Go6IWQIY.js";import{d as ri}from"./Delete-B-wviuP1.js";import{A as ni}from"./actions-CCw2fiQZ.js";import{S as oi}from"./shorten-label-CZlXdSOl.js";var jr={};Object.defineProperty(jr,"__esModule",{value:!0});var Wn=jr.default=void 0;ii(H);var tt=i;function ii(e){return e&&e.__esModule?e:{default:e}}function Vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function Hr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vr(Object(r),!0).forEach(function(n){ai(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ai(e,t,r){return(t=si(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){var t=ci(e,"string");return typeof t=="symbol"?t:t+""}function ci(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sr=function(t){return(0,tt.jsxs)("svg",Hr(Hr({},t),{},{children:[(0,tt.jsx)("g",{clipPath:"url(#clip0)",children:(0,tt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,tt.jsx)("defs",{children:(0,tt.jsx)("clipPath",{id:"clip0",children:(0,tt.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};Sr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};Sr.displayName="person";Wn=jr.default=Sr;var Et={},li=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Vn="%[a-f0-9]{2}",Gr=new RegExp("("+Vn+")|([^%]+?)","gi"),Yr=new RegExp("("+Vn+")+","gi");function dr(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],dr(r),dr(n))}function ui(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Gr)||[],r=1;r<t.length;r++)e=dr(t,r).join(""),t=e.match(Gr)||[];return e}}function fi(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Yr.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=ui(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Yr.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),u=0;u<s.length;u++){var p=s[u];e=e.replace(new RegExp(p,"g"),t[p])}return e}var di=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return fi(e)}},pi=(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)]},mi=function(e,t){for(var r={},n=Object.keys(e),s=Array.isArray(t),u=0;u<n.length;u++){var p=n[u],y=e[p];(s?t.indexOf(p)!==-1:t(p,y,e))&&(r[p]=y)}return r};(function(e){const t=li,r=di,n=pi,s=mi,u=c=>c==null;function p(c){switch(c.arrayFormat){case"index":return o=>(a,f)=>{const v=a.length;return f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(o,c),"[",v,"]"].join("")]:[...a,[E(o,c),"[",E(v,c),"]=",E(f,c)].join("")]};case"bracket":return o=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(o,c),"[]"].join("")]:[...a,[E(o,c),"[]=",E(f,c)].join("")];case"comma":case"separator":return o=>(a,f)=>f==null||f.length===0?a:a.length===0?[[E(o,c),"=",E(f,c)].join("")]:[[a,E(f,c)].join(c.arrayFormatSeparator)];default:return o=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,E(o,c)]:[...a,[E(o,c),"=",E(f,c)].join("")]}}function y(c){let o;switch(c.arrayFormat){case"index":return(a,f,v)=>{if(o=/\[(\d*)\]$/.exec(a),a=a.replace(/\[\d*\]$/,""),!o){v[a]=f;return}v[a]===void 0&&(v[a]={}),v[a][o[1]]=f};case"bracket":return(a,f,v)=>{if(o=/(\[\])$/.exec(a),a=a.replace(/\[\]$/,""),!o){v[a]=f;return}if(v[a]===void 0){v[a]=[f];return}v[a]=[].concat(v[a],f)};case"comma":case"separator":return(a,f,v)=>{const I=typeof f=="string"&&f.includes(c.arrayFormatSeparator),j=typeof f=="string"&&!I&&d(f,c).includes(c.arrayFormatSeparator);f=j?d(f,c):f;const B=I||j?f.split(c.arrayFormatSeparator).map(z=>d(z,c)):f===null?f:d(f,c);v[a]=B};default:return(a,f,v)=>{if(v[a]===void 0){v[a]=f;return}v[a]=[].concat(v[a],f)}}}function x(c){if(typeof c!="string"||c.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function E(c,o){return o.encode?o.strict?t(c):encodeURIComponent(c):c}function d(c,o){return o.decode?r(c):c}function O(c){return Array.isArray(c)?c.sort():typeof c=="object"?O(Object.keys(c)).sort((o,a)=>Number(o)-Number(a)).map(o=>c[o]):c}function w(c){const o=c.indexOf("#");return o!==-1&&(c=c.slice(0,o)),c}function A(c){let o="";const a=c.indexOf("#");return a!==-1&&(o=c.slice(a)),o}function S(c){c=w(c);const o=c.indexOf("?");return o===-1?"":c.slice(o+1)}function _(c,o){return o.parseNumbers&&!Number.isNaN(Number(c))&&typeof c=="string"&&c.trim()!==""?c=Number(c):o.parseBooleans&&c!==null&&(c.toLowerCase()==="true"||c.toLowerCase()==="false")&&(c=c.toLowerCase()==="true"),c}function P(c,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),x(o.arrayFormatSeparator);const a=y(o),f=Object.create(null);if(typeof c!="string"||(c=c.trim().replace(/^[?#&]/,""),!c))return f;for(const v of c.split("&")){if(v==="")continue;let[I,j]=n(o.decode?v.replace(/\+/g," "):v,"=");j=j===void 0?null:["comma","separator"].includes(o.arrayFormat)?j:d(j,o),a(d(I,o),j,f)}for(const v of Object.keys(f)){const I=f[v];if(typeof I=="object"&&I!==null)for(const j of Object.keys(I))I[j]=_(I[j],o);else f[v]=_(I,o)}return o.sort===!1?f:(o.sort===!0?Object.keys(f).sort():Object.keys(f).sort(o.sort)).reduce((v,I)=>{const j=f[I];return j&&typeof j=="object"&&!Array.isArray(j)?v[I]=O(j):v[I]=j,v},Object.create(null))}e.extract=S,e.parse=P,e.stringify=(c,o)=>{if(!c)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),x(o.arrayFormatSeparator);const a=j=>o.skipNull&&u(c[j])||o.skipEmptyString&&c[j]==="",f=p(o),v={};for(const j of Object.keys(c))a(j)||(v[j]=c[j]);const I=Object.keys(v);return o.sort!==!1&&I.sort(o.sort),I.map(j=>{const B=c[j];return B===void 0?"":B===null?E(j,o):Array.isArray(B)?B.reduce(f(j),[]).join("&"):E(j,o)+"="+E(B,o)}).filter(j=>j.length>0).join("&")},e.parseUrl=(c,o)=>{o=Object.assign({decode:!0},o);const[a,f]=n(c,"#");return Object.assign({url:a.split("?")[0]||"",query:P(S(c),o)},o&&o.parseFragmentIdentifier&&f?{fragmentIdentifier:d(f,o)}:{})},e.stringifyUrl=(c,o)=>{o=Object.assign({encode:!0,strict:!0},o);const a=w(c.url).split("?")[0]||"",f=e.extract(c.url),v=e.parse(f,{sort:!1}),I=Object.assign(v,c.query);let j=e.stringify(I,o);j&&(j=`?${j}`);let B=A(c.url);return c.fragmentIdentifier&&(B=`#${E(c.fragmentIdentifier,o)}`),`${a}${j}${B}`},e.pick=(c,o,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:f,query:v,fragmentIdentifier:I}=e.parseUrl(c,a);return e.stringifyUrl({url:f,query:s(v,o),fragmentIdentifier:I},a)},e.exclude=(c,o,a)=>{const f=Array.isArray(o)?v=>!o.includes(v):(v,I)=>!o(v,I);return e.pick(c,f,a)}})(Et);const ut=po,hi={parseNumbers:!1,parseBooleans:!1},gi={skipNull:!1,skipEmptyString:!1},yi=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:p}={},y=Object.assign(Object.assign({},hi),u),x=Object.assign(Object.assign({},gi),p),E=ut.useLocation(),d=(r=ut.useHistory)===null||r===void 0?void 0:r.call(ut),O=(n=ut.useNavigate)===null||n===void 0?void 0:n.call(ut),w=fo(),A=H.useRef(typeof e=="function"?e():e||{}),S=H.useMemo(()=>Et.parse(E.search,y),[E.search]),_=H.useMemo(()=>Object.assign(Object.assign({},A.current),S),[S]);return[_,Ye(c=>{const o=typeof c=="function"?c(_):c;w(),d&&d[s]({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),o),x)||"?"},E.state),O&&O({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),o),x)||"?"},{replace:s==="replace",state:E.state})})]},bi=yi;let vi=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}};const Zr=e=>globalThis.DOMException===void 0?new vi(e):new DOMException(e),Jr=e=>{const t=e.reason===void 0?Zr("This operation was aborted."):e.reason;return t instanceof Error?t:Zr(t)};async function xi(e,t,{concurrency:r=Number.POSITIVE_INFINITY,stopOnError:n=!0,signal:s}={}){return new Promise((u,p)=>{if(e[Symbol.iterator]===void 0&&e[Symbol.asyncIterator]===void 0)throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof e})`);if(typeof t!="function")throw new TypeError("Mapper function is required");if(!((Number.isSafeInteger(r)||r===Number.POSITIVE_INFINITY)&&r>=1))throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${r}\` (${typeof r})`);const y=[],x=[],E=new Map;let d=!1,O=!1,w=!1,A=0,S=0;const _=e[Symbol.iterator]===void 0?e[Symbol.asyncIterator]():e[Symbol.iterator](),P=o=>{d=!0,O=!0,p(o)};s&&(s.aborted&&P(Jr(s)),s.addEventListener("abort",()=>{P(Jr(s))}));const c=async()=>{if(O)return;const o=await _.next(),a=S;if(S++,o.done){if(w=!0,A===0&&!O){if(!n&&x.length>0){P(new AggregateError(x));return}if(O=!0,E.size===0){u(y);return}const f=[];for(const[v,I]of y.entries())E.get(v)!==Xr&&f.push(I);u(f)}return}A++,(async()=>{try{const f=await o.value;if(O)return;const v=await t(f,a);v===Xr&&E.set(a,v),y[a]=v,A--,await c()}catch(f){if(n)P(f);else{x.push(f),A--;try{await c()}catch(v){P(v)}}}})()};(async()=>{for(let o=0;o<r;o++){try{await c()}catch(a){P(a);break}if(w||d)break}})()})}const Xr=Symbol("skip");async function wi(e,t){return xi(e,r=>r(),t)}function Ei({user:e,sessionUser:t}){const r=dt(()=>{var n;return(n=(e==null?void 0:e.passports)||[])==null?void 0:n.find(s=>s.name===t.role)},[e==null?void 0:e.passports,t==null?void 0:t.role]);return i.jsxs(Q,{sx:{display:"flex",alignItems:"center",gap:1},children:[i.jsx(gr,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),i.jsxs(Q,{sx:{flex:1,overflow:"hidden"},children:[i.jsxs(Q,{sx:{display:"flex",alignItems:"center",gap:1},children:[i.jsx(Ke,{title:t.fullName,children:i.jsx(xe,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),i.jsx(mo,{label:(r==null?void 0:r.title)||(r==null?void 0:r.name)||"Guest",size:"small",variant:"outlined",sx:{flexShrink:0,fontWeight:"bold",fontSize:"12px",color:zr.textBase,borderColor:zr.strokeBorderStrong,backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),i.jsx(Ke,{title:t.email,children:i.jsx(xe,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const ji={zh:{confirm:"确认",cancel:"取消",visitorId:"设备标识",deviceType:"设备类型",platform:"操作系统",walletOS:"钱包类型",role:"角色",fullname:"姓名",email:"邮箱",avatar:"头像",user:"用户",createdAt:"首次活动时间",updatedAt:"最近活动时间",lastLoginIp:"最近活动地址",actions:"操作",logoutAll:"注销所有会话",logoutAllTips:"不会注销当前会话",logout:"注销",currentSession:"当前会话",unknown:"未知",expired:"已过期",remove:"删除",logoutThisSession:"注销指定会话",logoutThisSessionConfirm:"确定要注销此会话吗?",logoutAllSession:"注销所有会话",logoutAllSessionConfirm:"确定要注销所有会话吗?"},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",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 sessions",logoutAllSessionConfirm:"Are you sure to logout all sessions?"}},Hn="Reserved IP",Qr="ip-region-cache";async function Si(e){const t=`https://ipapi.co/${e}/json/`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Hn):s=[n.country_name,n.region,n.city].filter(Boolean).join("/"),s}async function Ai(e){const t=`https://api.ip.sb/geoip/${e}`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Hn):s=[n.country,n.region,n.city].filter(Boolean).join("/"),s}async function Pi(e){let t="",r={};try{const n=localStorage.getItem(Qr);n&&(r=JSON.parse(n))}catch{r={}}if(r[e])t=r[e];else{try{t=await Ai(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!t)try{t=await Si(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(Qr,JSON.stringify(r))}return t}async function Oi(e){return Promise.all(e.map(t=>Pi(t)))}const en=e=>new qt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[qt.BROWSER.NAME,qt.BROWSER.VERSION]]}).getResult();function Ii({user:e,showAction:t=!0,showUser:r=!0}){const n=ho(),{locale:s}=ke(),{confirmApi:u,confirmHolder:p}=yr(),y=Ye((o,a={})=>go(ji,o,s,"en",a)),x=Ye(async()=>{let o=e==null?void 0:e.userSessions;o||(o=await Ut.userSession.getUserSessions({did:e.did}));try{const f=o==null?void 0:o.map((j,B)=>[B,j.lastLoginIp]).filter(j=>!!j[1]),v=f==null?void 0:f.map(j=>j[1]),I=await Oi(v);for(let j=0;j<I.length;j++){const B=I[j],z=f[j],J=o[z[0]];J.ipRegion=B}}catch(f){console.warn("Failed to convert ip to region"),console.error(f)}const a=new Date().getTime();return yo(o,f=>f.visitorId===n?-1:a-new Date(f.updatedAt).getTime())}),E=bo(x),d=dt(()=>E.data||[],[E.data]),O=dt(()=>d.reduce((o,a)=>(o[a.lastLoginIp]=a.ipRegion,o),{}),[d]),w=Ye(({visitorId:o})=>{u.open({title:y("logoutThisSession"),content:y("logoutThisSessionConfirm"),confirmButtonText:y("confirm"),cancelButtonText:y("cancel"),onConfirm:async()=>{await Ut.user.logout({visitorId:o}),E.refresh(),u.close()}})}),A=dt(()=>d.filter(a=>a.visitorId!==n),[d]),S=Ye(()=>{u.open({title:y("logoutAllSession"),content:y("logoutAllSessionConfirm"),confirmButtonText:y("confirm"),cancelButtonText:y("cancel"),onConfirm:async()=>{const o=A.map(a=>()=>Ut.user.logout({visitorId:a.visitorId}));await wi(o,{concurrency:3,stopOnError:!1}),E.refresh(),u.close()}})}),_=[];t&&_.push(i.jsx(Ke,{title:y("logoutAllTips"),children:i.jsx(or,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:S,disabled:A.length===0,children:y("logoutAll")})},"logoutAll"));const P=dt(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600}),[]),c=[{label:y("platform"),name:"platform",options:{customBodyRenderLite:o=>{var v,I;const a=d[o],f=en(a.ua);return i.jsx(Q,{children:[(v=f.os)==null?void 0:v.name,(I=f.os)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("deviceType"),name:"deviceType",options:{customBodyRenderLite:o=>{var v,I;const a=d[o],f=en(a.ua);return i.jsx(Q,{children:[(v=f.browser)==null?void 0:v.name,(I=f.browser)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("walletOS"),name:"walletOS",options:{customBodyRenderLite:o=>{var f;const a=d[o];return i.jsx(Q,{children:((f=a.extra)==null?void 0:f.walletOS)||y("unknown")})}}},r&&{label:y("user"),name:"user",options:{customBodyRenderLite:o=>{const a=d[o];return i.jsx(Q,{sx:{minWidth:150,maxWidth:250},children:i.jsx(Ei,{sessionUser:a.user,user:e})})}}},{label:y("createdAt"),name:"createdAt",options:{customBodyRenderLite:o=>{const a=d[o];return a.createdAt?i.jsx(jt,{value:a.createdAt,relativeRange:3*86400*1e3,locale:s}):y("unknown")}}},{label:y("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:o=>{const a=d[o];return a.status==="expired"?y("expired"):i.jsx(jt,{value:a.updatedAt,relativeRange:3*86400*1e3,locale:s})}}},{label:y("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:o=>{const a=d[o];return i.jsx(Q,{children:O[a.lastLoginIp]?i.jsxs(i.Fragment,{children:[i.jsx(xe,{variant:"body2",children:O[a.lastLoginIp]}),i.jsx(xe,{variant:"body2",color:"grey",children:a.lastLoginIp||y("unknown")})]}):i.jsx(xe,{children:a.lastLoginIp||y("unknown")})})}}},t&&{label:y("actions"),name:"actions",options:{customBodyRenderLite:o=>{const a=d[o];return i.jsx(Q,{children:i.jsx(or,{sx:{whiteSpace:"nowrap",fontSize:"12px",px:1},disabled:n===a.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>w({visitorId:a.visitorId}),children:a.status==="expired"?y("remove"):n===a.visitorId?y("currentSession"):y("logout")})})}}}].filter(Boolean);return i.jsxs(Q,{sx:{".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"}},children:[p,i.jsx(Er,{locale:s,data:d,columns:c,customButtons:_,options:P,loading:E.loading})]})}var he={};Object.defineProperty(he,"__esModule",{value:!0});he.isValid=he.fromJSON=he.fromRandom=he.fromAddress=he.fromPublicKey=he.fromSecretKey=he.Wallet=he.WalletType=void 0;const yt=Rn,Pt=Tt,Ie=Fn;he.WalletType=Ie.DidType;function at(e,t="default"){const r=(0,Ie.DidType)(t),n=(0,Pt.getSigner)(r.pk),s=(0,Pt.getHasher)(r.hash);return{type:r,secretKey:e.sk,publicKey:e.pk,address:e.pk?(0,Ie.fromPublicKey)(e.pk,r):e.address,hash(u,p=1,y="hex"){return s(u,p,y)},sign(u,p=!0,y="hex"){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(p){const x=s(u,1);return n.sign(x,e.sk,y)}return n.sign(u,e.sk,y)},verify(u,p,y=!0){if(!e.pk)throw new Error("Cannot verify data without a publicKey");const x=y?s(u,1):u;return n.verify(x,p,e.pk)},ethHash(u){if(typeof n.ethHash!="function")throw new Error("ethHash is not supported by signer");return n.ethHash(u)},ethSign(u,p=!0){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(typeof n.ethHash!="function")throw new Error("ethSign is not supported by signer");return p?n.ethSign(n.ethHash(u),(0,yt.toHex)(e.sk)):n.ethSign(u,(0,yt.toHex)(e.sk))},ethVerify(u,p,y=!0){if(typeof n.ethHash!="function")throw new Error("ethVerify is not supported by signer");const x=y?n.ethHash(u):u;return n.ethRecover(x,p)===this.address},toAddress(){return e.pk?(0,Ie.fromPublicKey)(e.pk,r):e.address},toJSON(){return{type:Ie.DidType.toJSON(r),sk:(0,yt.toHex)(e.sk),pk:(0,yt.toHex)(e.pk),address:this.address}}}}he.Wallet=at;function Ri(e,t="default"){const r=(0,Ie.DidType)(t),n={sk:e,pk:(0,Pt.getSigner)(r.pk).getPublicKey(e)};return at(n,r)}he.fromSecretKey=Ri;function Ti(e,t="default"){return at({pk:e},(0,Ie.DidType)(t))}he.fromPublicKey=Ti;function Ci(e){return at({address:(0,Ie.toAddress)(e)},(0,Ie.toTypeInfo)(e))}he.fromAddress=Ci;function Di(e="default"){const t=(0,Ie.DidType)(e),n=(0,Pt.getSigner)(t.pk).genKeyPair();return at({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=Di;function Ni(e){const t=Ie.DidType.fromJSON(e.type);return at(e,t)}he.fromJSON=Ni;function _i(e,t=!0){return!(!e||typeof e!="object"||typeof e.verify!="function"||typeof e.toAddress!="function"||typeof e.toJSON!="function"||!e.type||!e.publicKey||t&&(!e.secretKey||typeof e.sign!="function"))}he.isValid=_i;var Ft={exports:{}},Kt={},tn;function Gn(){if(tn)return Kt;tn=1;function e(o){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(o)}function t(o,a,f){return Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}function n(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),a&&s(o,a)}function s(o,a){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,I){return v.__proto__=I,v},s(o,a)}function u(o){var a=x();return function(){var v=E(o),I;if(a){var j=E(this).constructor;I=Reflect.construct(v,arguments,j)}else I=v.apply(this,arguments);return p(this,I)}}function p(o,a){if(a&&(e(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(o)}function y(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function x(){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 E(o){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},E(o)}var d={},O,w;function A(o,a,f){f||(f=Error);function v(j,B,z){return typeof a=="string"?a:a(j,B,z)}var I=function(j){n(z,j);var B=u(z);function z(J,X,G){var ee;return r(this,z),ee=B.call(this,v(J,X,G)),ee.code=o,ee}return t(z)}(f);d[o]=I}function S(o,a){if(Array.isArray(o)){var f=o.length;return o=o.map(function(v){return String(v)}),f>2?"one of ".concat(a," ").concat(o.slice(0,f-1).join(", "),", or ")+o[f-1]:f===2?"one of ".concat(a," ").concat(o[0]," or ").concat(o[1]):"of ".concat(a," ").concat(o[0])}else return"of ".concat(a," ").concat(String(o))}function _(o,a,f){return o.substr(0,a.length)===a}function P(o,a,f){return(f===void 0||f>o.length)&&(f=o.length),o.substring(f-a.length,f)===a}function c(o,a,f){return typeof f!="number"&&(f=0),f+a.length>o.length?!1:o.indexOf(a,f)!==-1}return A("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),A("ERR_INVALID_ARG_TYPE",function(o,a,f){O===void 0&&(O=pr()),O(typeof o=="string","'name' must be a string");var v;typeof a=="string"&&_(a,"not ")?(v="must not be",a=a.replace(/^not /,"")):v="must be";var I;if(P(o," argument"))I="The ".concat(o," ").concat(v," ").concat(S(a,"type"));else{var j=c(o,".")?"property":"argument";I='The "'.concat(o,'" ').concat(j," ").concat(v," ").concat(S(a,"type"))}return I+=". Received type ".concat(e(f)),I},TypeError),A("ERR_INVALID_ARG_VALUE",function(o,a){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";w===void 0&&(w=mt);var v=w.inspect(a);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(o,"' ").concat(f,". Received ").concat(v)},TypeError),A("ERR_INVALID_RETURN_VALUE",function(o,a,f){var v;return f&&f.constructor&&f.constructor.name?v="instance of ".concat(f.constructor.name):v="type ".concat(e(f)),"Expected ".concat(o,' to be returned from the "').concat(a,'"')+" function but got ".concat(v,".")},TypeError),A("ERR_MISSING_ARGS",function(){for(var o=arguments.length,a=new Array(o),f=0;f<o;f++)a[f]=arguments[f];O===void 0&&(O=pr()),O(a.length>0,"At least one arg needs to be specified");var v="The ",I=a.length;switch(a=a.map(function(j){return'"'.concat(j,'"')}),I){case 1:v+="".concat(a[0]," argument");break;case 2:v+="".concat(a[0]," and ").concat(a[1]," arguments");break;default:v+=a.slice(0,I-1).join(", "),v+=", and ".concat(a[I-1]," arguments");break}return"".concat(v," must be specified")},TypeError),Kt.codes=d,Kt}var Mt,rn;function Bi(){if(rn)return Mt;rn=1;function e(R,T){var F=Object.keys(R);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(R);T&&(D=D.filter(function(V){return Object.getOwnPropertyDescriptor(R,V).enumerable})),F.push.apply(F,D)}return F}function t(R){for(var T=1;T<arguments.length;T++){var F=arguments[T]!=null?arguments[T]:{};T%2?e(Object(F),!0).forEach(function(D){r(R,D,F[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(F)):e(Object(F)).forEach(function(D){Object.defineProperty(R,D,Object.getOwnPropertyDescriptor(F,D))})}return R}function r(R,T,F){return T=p(T),T in R?Object.defineProperty(R,T,{value:F,enumerable:!0,configurable:!0,writable:!0}):R[T]=F,R}function n(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function s(R,T){for(var F=0;F<T.length;F++){var D=T[F];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(R,p(D.key),D)}}function u(R,T,F){return T&&s(R.prototype,T),Object.defineProperty(R,"prototype",{writable:!1}),R}function p(R){var T=y(R,"string");return o(T)==="symbol"?T:String(T)}function y(R,T){if(o(R)!=="object"||R===null)return R;var F=R[Symbol.toPrimitive];if(F!==void 0){var D=F.call(R,T||"default");if(o(D)!=="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}function x(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),T&&P(R,T)}function E(R){var T=S();return function(){var D=c(R),V;if(T){var g=c(this).constructor;V=Reflect.construct(D,arguments,g)}else V=D.apply(this,arguments);return d(this,V)}}function d(R,T){if(T&&(o(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(R)}function O(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function w(R){var T=typeof Map=="function"?new Map:void 0;return w=function(D){if(D===null||!_(D))return D;if(typeof D!="function")throw new TypeError("Super expression must either be null or a function");if(typeof T<"u"){if(T.has(D))return T.get(D);T.set(D,V)}function V(){return A(D,arguments,c(this).constructor)}return V.prototype=Object.create(D.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),P(V,D)},w(R)}function A(R,T,F){return S()?A=Reflect.construct.bind():A=function(V,g,m){var b=[null];b.push.apply(b,g);var L=Function.bind.apply(V,b),N=new L;return m&&P(N,m.prototype),N},A.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _(R){return Function.toString.call(R).indexOf("[native code]")!==-1}function P(R,T){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,V){return D.__proto__=V,D},P(R,T)}function c(R){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},c(R)}function o(R){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},o(R)}var a=mt,f=a.inspect,v=Gn(),I=v.codes.ERR_INVALID_ARG_TYPE;function j(R,T,F){return(F===void 0||F>R.length)&&(F=R.length),R.substring(F-T.length,F)===T}function B(R,T){if(T=Math.floor(T),R.length==0||T==0)return"";var F=R.length*T;for(T=Math.floor(Math.log(T)/Math.log(2));T;)R+=R,T--;return R+=R.substring(0,F-R.length),R}var z="",J="",X="",G="",ee={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:"},we=10;function Y(R){var T=Object.keys(R),F=Object.create(Object.getPrototypeOf(R));return T.forEach(function(D){F[D]=R[D]}),Object.defineProperty(F,"message",{value:R.message}),F}function de(R){return f(R,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ee(R,T,F){var D="",V="",g=0,m="",b=!1,L=de(R),N=L.split(`
1
+ import{r as H,j as i,fv as fo,ch as Ye,fw as po,fd as dt,Q,as as gr,ax as Ke,m as xe,ez as mo,d0 as zr,fx as ho,t as ke,fy as yr,fz as go,aG as yo,cg as bo,dM as or,S as jt,dx as Rn,dA as Tt,fA as mt,eU as Ce,fB as vo,fj as Tn,fC as xo,fD as wo,fk as Cn,fE as br,fF as Eo,fG as jo,fH as So,fI as Ao,dw as ir,g as Po,cN as Wr,dD as Oo,N as Io,bl as _e,aO as Dn,U as St,dE as Ro,fJ as vr,at as ht,D as Ze,B as Ae,C as ot,x as xr,K as nt,M as Xe,P as $,fK as To,k as ar,aU as Co,y as Do,z as No,n as Be,fc as _o,f as gt,ac as Ct,V as Fe,cb as Qe,E as it,fL as Bo,aK as Nn,aL as _n,b as Je,d4 as Lo,v as Bn,H as Se,q as sr,W as wr,cd as ko,fM as Uo,fN as Ln,aQ as qo,aD as Fo,a8 as Ko,cz as Mo,a2 as $o,bp as zo,aZ as Wo,a_ as Vo,R as Ho}from"./index-DzlR4ROA.js";import{c as Go}from"./index-qSHb4AGp.js";import{d as At}from"./Add-B6ZIiZST.js";import{d as Yo}from"./Loop-COqhNCYW.js";import{d as Zo}from"./ViewList-CHj6lFwi.js";import{L as Jo,S as Xo,d as kn}from"./list-header-5GKfEIKg.js";import{D as Er,g as Qo}from"./index-DTSardYw.js";import"./index-ffNDefbl.js";import{c as Ut,U as qt,d as Un}from"./resource-dialog-Byph1CoJ.js";import{T as ei}from"./index-Cmy0GHU-.js";import{E as qn}from"./index-po1Du4Ca.js";import"./index-CkbP6S_A.js";import"./index-CR_2MaC1.js";import{l as Fn}from"./index-BdL0EBBo.js";import{o as Kn}from"./index-ZG7jWpak.js";import{W as Mn}from"./url-evaluation-C7b_jErN.js";import{a as $e}from"./team-nBwKhOsv.js";import{u as $n}from"./blocklet-d8bc_SQ4.js";import{C as Dt}from"./click-to-copy-ZbSHXJko.js";import{F as cr,S as lr}from"./Select-C44-YCyD.js";import{I as ur}from"./InputLabel-BOR0LpK5.js";import{T as zn}from"./TextField-BjNW7Bjw.js";import{I as fr}from"./index-8azRnZez.js";import{b as ti}from"./sdk-aTAcQDv-.js";import{d as ri}from"./Delete-DFFe3xyW.js";import{A as ni}from"./actions-TtrKwsqz.js";import{S as oi}from"./shorten-label-BSQEIROA.js";var jr={};Object.defineProperty(jr,"__esModule",{value:!0});var Wn=jr.default=void 0;ii(H);var tt=i;function ii(e){return e&&e.__esModule?e:{default:e}}function Vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function Hr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vr(Object(r),!0).forEach(function(n){ai(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ai(e,t,r){return(t=si(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){var t=ci(e,"string");return typeof t=="symbol"?t:t+""}function ci(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sr=function(t){return(0,tt.jsxs)("svg",Hr(Hr({},t),{},{children:[(0,tt.jsx)("g",{clipPath:"url(#clip0)",children:(0,tt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,tt.jsx)("defs",{children:(0,tt.jsx)("clipPath",{id:"clip0",children:(0,tt.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};Sr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};Sr.displayName="person";Wn=jr.default=Sr;var Et={},li=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Vn="%[a-f0-9]{2}",Gr=new RegExp("("+Vn+")|([^%]+?)","gi"),Yr=new RegExp("("+Vn+")+","gi");function dr(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],dr(r),dr(n))}function ui(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Gr)||[],r=1;r<t.length;r++)e=dr(t,r).join(""),t=e.match(Gr)||[];return e}}function fi(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Yr.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=ui(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Yr.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),u=0;u<s.length;u++){var p=s[u];e=e.replace(new RegExp(p,"g"),t[p])}return e}var di=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return fi(e)}},pi=(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)]},mi=function(e,t){for(var r={},n=Object.keys(e),s=Array.isArray(t),u=0;u<n.length;u++){var p=n[u],y=e[p];(s?t.indexOf(p)!==-1:t(p,y,e))&&(r[p]=y)}return r};(function(e){const t=li,r=di,n=pi,s=mi,u=c=>c==null;function p(c){switch(c.arrayFormat){case"index":return o=>(a,f)=>{const v=a.length;return f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(o,c),"[",v,"]"].join("")]:[...a,[E(o,c),"[",E(v,c),"]=",E(f,c)].join("")]};case"bracket":return o=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(o,c),"[]"].join("")]:[...a,[E(o,c),"[]=",E(f,c)].join("")];case"comma":case"separator":return o=>(a,f)=>f==null||f.length===0?a:a.length===0?[[E(o,c),"=",E(f,c)].join("")]:[[a,E(f,c)].join(c.arrayFormatSeparator)];default:return o=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,E(o,c)]:[...a,[E(o,c),"=",E(f,c)].join("")]}}function y(c){let o;switch(c.arrayFormat){case"index":return(a,f,v)=>{if(o=/\[(\d*)\]$/.exec(a),a=a.replace(/\[\d*\]$/,""),!o){v[a]=f;return}v[a]===void 0&&(v[a]={}),v[a][o[1]]=f};case"bracket":return(a,f,v)=>{if(o=/(\[\])$/.exec(a),a=a.replace(/\[\]$/,""),!o){v[a]=f;return}if(v[a]===void 0){v[a]=[f];return}v[a]=[].concat(v[a],f)};case"comma":case"separator":return(a,f,v)=>{const I=typeof f=="string"&&f.includes(c.arrayFormatSeparator),j=typeof f=="string"&&!I&&d(f,c).includes(c.arrayFormatSeparator);f=j?d(f,c):f;const B=I||j?f.split(c.arrayFormatSeparator).map(z=>d(z,c)):f===null?f:d(f,c);v[a]=B};default:return(a,f,v)=>{if(v[a]===void 0){v[a]=f;return}v[a]=[].concat(v[a],f)}}}function x(c){if(typeof c!="string"||c.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function E(c,o){return o.encode?o.strict?t(c):encodeURIComponent(c):c}function d(c,o){return o.decode?r(c):c}function O(c){return Array.isArray(c)?c.sort():typeof c=="object"?O(Object.keys(c)).sort((o,a)=>Number(o)-Number(a)).map(o=>c[o]):c}function w(c){const o=c.indexOf("#");return o!==-1&&(c=c.slice(0,o)),c}function A(c){let o="";const a=c.indexOf("#");return a!==-1&&(o=c.slice(a)),o}function S(c){c=w(c);const o=c.indexOf("?");return o===-1?"":c.slice(o+1)}function _(c,o){return o.parseNumbers&&!Number.isNaN(Number(c))&&typeof c=="string"&&c.trim()!==""?c=Number(c):o.parseBooleans&&c!==null&&(c.toLowerCase()==="true"||c.toLowerCase()==="false")&&(c=c.toLowerCase()==="true"),c}function P(c,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),x(o.arrayFormatSeparator);const a=y(o),f=Object.create(null);if(typeof c!="string"||(c=c.trim().replace(/^[?#&]/,""),!c))return f;for(const v of c.split("&")){if(v==="")continue;let[I,j]=n(o.decode?v.replace(/\+/g," "):v,"=");j=j===void 0?null:["comma","separator"].includes(o.arrayFormat)?j:d(j,o),a(d(I,o),j,f)}for(const v of Object.keys(f)){const I=f[v];if(typeof I=="object"&&I!==null)for(const j of Object.keys(I))I[j]=_(I[j],o);else f[v]=_(I,o)}return o.sort===!1?f:(o.sort===!0?Object.keys(f).sort():Object.keys(f).sort(o.sort)).reduce((v,I)=>{const j=f[I];return j&&typeof j=="object"&&!Array.isArray(j)?v[I]=O(j):v[I]=j,v},Object.create(null))}e.extract=S,e.parse=P,e.stringify=(c,o)=>{if(!c)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),x(o.arrayFormatSeparator);const a=j=>o.skipNull&&u(c[j])||o.skipEmptyString&&c[j]==="",f=p(o),v={};for(const j of Object.keys(c))a(j)||(v[j]=c[j]);const I=Object.keys(v);return o.sort!==!1&&I.sort(o.sort),I.map(j=>{const B=c[j];return B===void 0?"":B===null?E(j,o):Array.isArray(B)?B.reduce(f(j),[]).join("&"):E(j,o)+"="+E(B,o)}).filter(j=>j.length>0).join("&")},e.parseUrl=(c,o)=>{o=Object.assign({decode:!0},o);const[a,f]=n(c,"#");return Object.assign({url:a.split("?")[0]||"",query:P(S(c),o)},o&&o.parseFragmentIdentifier&&f?{fragmentIdentifier:d(f,o)}:{})},e.stringifyUrl=(c,o)=>{o=Object.assign({encode:!0,strict:!0},o);const a=w(c.url).split("?")[0]||"",f=e.extract(c.url),v=e.parse(f,{sort:!1}),I=Object.assign(v,c.query);let j=e.stringify(I,o);j&&(j=`?${j}`);let B=A(c.url);return c.fragmentIdentifier&&(B=`#${E(c.fragmentIdentifier,o)}`),`${a}${j}${B}`},e.pick=(c,o,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:f,query:v,fragmentIdentifier:I}=e.parseUrl(c,a);return e.stringifyUrl({url:f,query:s(v,o),fragmentIdentifier:I},a)},e.exclude=(c,o,a)=>{const f=Array.isArray(o)?v=>!o.includes(v):(v,I)=>!o(v,I);return e.pick(c,f,a)}})(Et);const ut=po,hi={parseNumbers:!1,parseBooleans:!1},gi={skipNull:!1,skipEmptyString:!1},yi=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:p}={},y=Object.assign(Object.assign({},hi),u),x=Object.assign(Object.assign({},gi),p),E=ut.useLocation(),d=(r=ut.useHistory)===null||r===void 0?void 0:r.call(ut),O=(n=ut.useNavigate)===null||n===void 0?void 0:n.call(ut),w=fo(),A=H.useRef(typeof e=="function"?e():e||{}),S=H.useMemo(()=>Et.parse(E.search,y),[E.search]),_=H.useMemo(()=>Object.assign(Object.assign({},A.current),S),[S]);return[_,Ye(c=>{const o=typeof c=="function"?c(_):c;w(),d&&d[s]({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),o),x)||"?"},E.state),O&&O({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),o),x)||"?"},{replace:s==="replace",state:E.state})})]},bi=yi;let vi=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}};const Zr=e=>globalThis.DOMException===void 0?new vi(e):new DOMException(e),Jr=e=>{const t=e.reason===void 0?Zr("This operation was aborted."):e.reason;return t instanceof Error?t:Zr(t)};async function xi(e,t,{concurrency:r=Number.POSITIVE_INFINITY,stopOnError:n=!0,signal:s}={}){return new Promise((u,p)=>{if(e[Symbol.iterator]===void 0&&e[Symbol.asyncIterator]===void 0)throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof e})`);if(typeof t!="function")throw new TypeError("Mapper function is required");if(!((Number.isSafeInteger(r)||r===Number.POSITIVE_INFINITY)&&r>=1))throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${r}\` (${typeof r})`);const y=[],x=[],E=new Map;let d=!1,O=!1,w=!1,A=0,S=0;const _=e[Symbol.iterator]===void 0?e[Symbol.asyncIterator]():e[Symbol.iterator](),P=o=>{d=!0,O=!0,p(o)};s&&(s.aborted&&P(Jr(s)),s.addEventListener("abort",()=>{P(Jr(s))}));const c=async()=>{if(O)return;const o=await _.next(),a=S;if(S++,o.done){if(w=!0,A===0&&!O){if(!n&&x.length>0){P(new AggregateError(x));return}if(O=!0,E.size===0){u(y);return}const f=[];for(const[v,I]of y.entries())E.get(v)!==Xr&&f.push(I);u(f)}return}A++,(async()=>{try{const f=await o.value;if(O)return;const v=await t(f,a);v===Xr&&E.set(a,v),y[a]=v,A--,await c()}catch(f){if(n)P(f);else{x.push(f),A--;try{await c()}catch(v){P(v)}}}})()};(async()=>{for(let o=0;o<r;o++){try{await c()}catch(a){P(a);break}if(w||d)break}})()})}const Xr=Symbol("skip");async function wi(e,t){return xi(e,r=>r(),t)}function Ei({user:e,sessionUser:t}){const r=dt(()=>{var n;return(n=(e==null?void 0:e.passports)||[])==null?void 0:n.find(s=>s.name===t.role)},[e==null?void 0:e.passports,t==null?void 0:t.role]);return i.jsxs(Q,{sx:{display:"flex",alignItems:"center",gap:1},children:[i.jsx(gr,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),i.jsxs(Q,{sx:{flex:1,overflow:"hidden"},children:[i.jsxs(Q,{sx:{display:"flex",alignItems:"center",gap:1},children:[i.jsx(Ke,{title:t.fullName,children:i.jsx(xe,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),i.jsx(mo,{label:(r==null?void 0:r.title)||(r==null?void 0:r.name)||"Guest",size:"small",variant:"outlined",sx:{flexShrink:0,fontWeight:"bold",fontSize:"12px",color:zr.textBase,borderColor:zr.strokeBorderStrong,backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),i.jsx(Ke,{title:t.email,children:i.jsx(xe,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const ji={zh:{confirm:"确认",cancel:"取消",visitorId:"设备标识",deviceType:"设备类型",platform:"操作系统",walletOS:"钱包类型",role:"角色",fullname:"姓名",email:"邮箱",avatar:"头像",user:"用户",createdAt:"首次活动时间",updatedAt:"最近活动时间",lastLoginIp:"最近活动地址",actions:"操作",logoutAll:"注销所有会话",logoutAllTips:"不会注销当前会话",logout:"注销",currentSession:"当前会话",unknown:"未知",expired:"已过期",remove:"删除",logoutThisSession:"注销指定会话",logoutThisSessionConfirm:"确定要注销此会话吗?",logoutAllSession:"注销所有会话",logoutAllSessionConfirm:"确定要注销所有会话吗?"},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",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 sessions",logoutAllSessionConfirm:"Are you sure to logout all sessions?"}},Hn="Reserved IP",Qr="ip-region-cache";async function Si(e){const t=`https://ipapi.co/${e}/json/`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Hn):s=[n.country_name,n.region,n.city].filter(Boolean).join("/"),s}async function Ai(e){const t=`https://api.ip.sb/geoip/${e}`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Hn):s=[n.country,n.region,n.city].filter(Boolean).join("/"),s}async function Pi(e){let t="",r={};try{const n=localStorage.getItem(Qr);n&&(r=JSON.parse(n))}catch{r={}}if(r[e])t=r[e];else{try{t=await Ai(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!t)try{t=await Si(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(Qr,JSON.stringify(r))}return t}async function Oi(e){return Promise.all(e.map(t=>Pi(t)))}const en=e=>new qt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[qt.BROWSER.NAME,qt.BROWSER.VERSION]]}).getResult();function Ii({user:e,showAction:t=!0,showUser:r=!0}){const n=ho(),{locale:s}=ke(),{confirmApi:u,confirmHolder:p}=yr(),y=Ye((o,a={})=>go(ji,o,s,"en",a)),x=Ye(async()=>{let o=e==null?void 0:e.userSessions;o||(o=await Ut.userSession.getUserSessions({did:e.did}));try{const f=o==null?void 0:o.map((j,B)=>[B,j.lastLoginIp]).filter(j=>!!j[1]),v=f==null?void 0:f.map(j=>j[1]),I=await Oi(v);for(let j=0;j<I.length;j++){const B=I[j],z=f[j],J=o[z[0]];J.ipRegion=B}}catch(f){console.warn("Failed to convert ip to region"),console.error(f)}const a=new Date().getTime();return yo(o,f=>f.visitorId===n?-1:a-new Date(f.updatedAt).getTime())}),E=bo(x),d=dt(()=>E.data||[],[E.data]),O=dt(()=>d.reduce((o,a)=>(o[a.lastLoginIp]=a.ipRegion,o),{}),[d]),w=Ye(({visitorId:o})=>{u.open({title:y("logoutThisSession"),content:y("logoutThisSessionConfirm"),confirmButtonText:y("confirm"),cancelButtonText:y("cancel"),onConfirm:async()=>{await Ut.user.logout({visitorId:o}),E.refresh(),u.close()}})}),A=dt(()=>d.filter(a=>a.visitorId!==n),[d]),S=Ye(()=>{u.open({title:y("logoutAllSession"),content:y("logoutAllSessionConfirm"),confirmButtonText:y("confirm"),cancelButtonText:y("cancel"),onConfirm:async()=>{const o=A.map(a=>()=>Ut.user.logout({visitorId:a.visitorId}));await wi(o,{concurrency:3,stopOnError:!1}),E.refresh(),u.close()}})}),_=[];t&&_.push(i.jsx(Ke,{title:y("logoutAllTips"),children:i.jsx(or,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:S,disabled:A.length===0,children:y("logoutAll")})},"logoutAll"));const P=dt(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600}),[]),c=[{label:y("platform"),name:"platform",options:{customBodyRenderLite:o=>{var v,I;const a=d[o],f=en(a.ua);return i.jsx(Q,{children:[(v=f.os)==null?void 0:v.name,(I=f.os)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("deviceType"),name:"deviceType",options:{customBodyRenderLite:o=>{var v,I;const a=d[o],f=en(a.ua);return i.jsx(Q,{children:[(v=f.browser)==null?void 0:v.name,(I=f.browser)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("walletOS"),name:"walletOS",options:{customBodyRenderLite:o=>{var f;const a=d[o];return i.jsx(Q,{children:((f=a.extra)==null?void 0:f.walletOS)||y("unknown")})}}},r&&{label:y("user"),name:"user",options:{customBodyRenderLite:o=>{const a=d[o];return i.jsx(Q,{sx:{minWidth:150,maxWidth:250},children:i.jsx(Ei,{sessionUser:a.user,user:e})})}}},{label:y("createdAt"),name:"createdAt",options:{customBodyRenderLite:o=>{const a=d[o];return a.createdAt?i.jsx(jt,{value:a.createdAt,relativeRange:3*86400*1e3,locale:s}):y("unknown")}}},{label:y("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:o=>{const a=d[o];return a.status==="expired"?y("expired"):i.jsx(jt,{value:a.updatedAt,relativeRange:3*86400*1e3,locale:s})}}},{label:y("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:o=>{const a=d[o];return i.jsx(Q,{children:O[a.lastLoginIp]?i.jsxs(i.Fragment,{children:[i.jsx(xe,{variant:"body2",children:O[a.lastLoginIp]}),i.jsx(xe,{variant:"body2",color:"grey",children:a.lastLoginIp||y("unknown")})]}):i.jsx(xe,{children:a.lastLoginIp||y("unknown")})})}}},t&&{label:y("actions"),name:"actions",options:{customBodyRenderLite:o=>{const a=d[o];return i.jsx(Q,{children:i.jsx(or,{sx:{whiteSpace:"nowrap",fontSize:"12px",px:1},disabled:n===a.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>w({visitorId:a.visitorId}),children:a.status==="expired"?y("remove"):n===a.visitorId?y("currentSession"):y("logout")})})}}}].filter(Boolean);return i.jsxs(Q,{sx:{".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"}},children:[p,i.jsx(Er,{locale:s,data:d,columns:c,customButtons:_,options:P,loading:E.loading})]})}var he={};Object.defineProperty(he,"__esModule",{value:!0});he.isValid=he.fromJSON=he.fromRandom=he.fromAddress=he.fromPublicKey=he.fromSecretKey=he.Wallet=he.WalletType=void 0;const yt=Rn,Pt=Tt,Ie=Fn;he.WalletType=Ie.DidType;function at(e,t="default"){const r=(0,Ie.DidType)(t),n=(0,Pt.getSigner)(r.pk),s=(0,Pt.getHasher)(r.hash);return{type:r,secretKey:e.sk,publicKey:e.pk,address:e.pk?(0,Ie.fromPublicKey)(e.pk,r):e.address,hash(u,p=1,y="hex"){return s(u,p,y)},sign(u,p=!0,y="hex"){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(p){const x=s(u,1);return n.sign(x,e.sk,y)}return n.sign(u,e.sk,y)},verify(u,p,y=!0){if(!e.pk)throw new Error("Cannot verify data without a publicKey");const x=y?s(u,1):u;return n.verify(x,p,e.pk)},ethHash(u){if(typeof n.ethHash!="function")throw new Error("ethHash is not supported by signer");return n.ethHash(u)},ethSign(u,p=!0){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(typeof n.ethHash!="function")throw new Error("ethSign is not supported by signer");return p?n.ethSign(n.ethHash(u),(0,yt.toHex)(e.sk)):n.ethSign(u,(0,yt.toHex)(e.sk))},ethVerify(u,p,y=!0){if(typeof n.ethHash!="function")throw new Error("ethVerify is not supported by signer");const x=y?n.ethHash(u):u;return n.ethRecover(x,p)===this.address},toAddress(){return e.pk?(0,Ie.fromPublicKey)(e.pk,r):e.address},toJSON(){return{type:Ie.DidType.toJSON(r),sk:(0,yt.toHex)(e.sk),pk:(0,yt.toHex)(e.pk),address:this.address}}}}he.Wallet=at;function Ri(e,t="default"){const r=(0,Ie.DidType)(t),n={sk:e,pk:(0,Pt.getSigner)(r.pk).getPublicKey(e)};return at(n,r)}he.fromSecretKey=Ri;function Ti(e,t="default"){return at({pk:e},(0,Ie.DidType)(t))}he.fromPublicKey=Ti;function Ci(e){return at({address:(0,Ie.toAddress)(e)},(0,Ie.toTypeInfo)(e))}he.fromAddress=Ci;function Di(e="default"){const t=(0,Ie.DidType)(e),n=(0,Pt.getSigner)(t.pk).genKeyPair();return at({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=Di;function Ni(e){const t=Ie.DidType.fromJSON(e.type);return at(e,t)}he.fromJSON=Ni;function _i(e,t=!0){return!(!e||typeof e!="object"||typeof e.verify!="function"||typeof e.toAddress!="function"||typeof e.toJSON!="function"||!e.type||!e.publicKey||t&&(!e.secretKey||typeof e.sign!="function"))}he.isValid=_i;var Ft={exports:{}},Kt={},tn;function Gn(){if(tn)return Kt;tn=1;function e(o){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(o)}function t(o,a,f){return Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}function n(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),a&&s(o,a)}function s(o,a){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,I){return v.__proto__=I,v},s(o,a)}function u(o){var a=x();return function(){var v=E(o),I;if(a){var j=E(this).constructor;I=Reflect.construct(v,arguments,j)}else I=v.apply(this,arguments);return p(this,I)}}function p(o,a){if(a&&(e(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(o)}function y(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function x(){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 E(o){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},E(o)}var d={},O,w;function A(o,a,f){f||(f=Error);function v(j,B,z){return typeof a=="string"?a:a(j,B,z)}var I=function(j){n(z,j);var B=u(z);function z(J,X,G){var ee;return r(this,z),ee=B.call(this,v(J,X,G)),ee.code=o,ee}return t(z)}(f);d[o]=I}function S(o,a){if(Array.isArray(o)){var f=o.length;return o=o.map(function(v){return String(v)}),f>2?"one of ".concat(a," ").concat(o.slice(0,f-1).join(", "),", or ")+o[f-1]:f===2?"one of ".concat(a," ").concat(o[0]," or ").concat(o[1]):"of ".concat(a," ").concat(o[0])}else return"of ".concat(a," ").concat(String(o))}function _(o,a,f){return o.substr(0,a.length)===a}function P(o,a,f){return(f===void 0||f>o.length)&&(f=o.length),o.substring(f-a.length,f)===a}function c(o,a,f){return typeof f!="number"&&(f=0),f+a.length>o.length?!1:o.indexOf(a,f)!==-1}return A("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),A("ERR_INVALID_ARG_TYPE",function(o,a,f){O===void 0&&(O=pr()),O(typeof o=="string","'name' must be a string");var v;typeof a=="string"&&_(a,"not ")?(v="must not be",a=a.replace(/^not /,"")):v="must be";var I;if(P(o," argument"))I="The ".concat(o," ").concat(v," ").concat(S(a,"type"));else{var j=c(o,".")?"property":"argument";I='The "'.concat(o,'" ').concat(j," ").concat(v," ").concat(S(a,"type"))}return I+=". Received type ".concat(e(f)),I},TypeError),A("ERR_INVALID_ARG_VALUE",function(o,a){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";w===void 0&&(w=mt);var v=w.inspect(a);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(o,"' ").concat(f,". Received ").concat(v)},TypeError),A("ERR_INVALID_RETURN_VALUE",function(o,a,f){var v;return f&&f.constructor&&f.constructor.name?v="instance of ".concat(f.constructor.name):v="type ".concat(e(f)),"Expected ".concat(o,' to be returned from the "').concat(a,'"')+" function but got ".concat(v,".")},TypeError),A("ERR_MISSING_ARGS",function(){for(var o=arguments.length,a=new Array(o),f=0;f<o;f++)a[f]=arguments[f];O===void 0&&(O=pr()),O(a.length>0,"At least one arg needs to be specified");var v="The ",I=a.length;switch(a=a.map(function(j){return'"'.concat(j,'"')}),I){case 1:v+="".concat(a[0]," argument");break;case 2:v+="".concat(a[0]," and ").concat(a[1]," arguments");break;default:v+=a.slice(0,I-1).join(", "),v+=", and ".concat(a[I-1]," arguments");break}return"".concat(v," must be specified")},TypeError),Kt.codes=d,Kt}var Mt,rn;function Bi(){if(rn)return Mt;rn=1;function e(R,T){var F=Object.keys(R);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(R);T&&(D=D.filter(function(V){return Object.getOwnPropertyDescriptor(R,V).enumerable})),F.push.apply(F,D)}return F}function t(R){for(var T=1;T<arguments.length;T++){var F=arguments[T]!=null?arguments[T]:{};T%2?e(Object(F),!0).forEach(function(D){r(R,D,F[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(F)):e(Object(F)).forEach(function(D){Object.defineProperty(R,D,Object.getOwnPropertyDescriptor(F,D))})}return R}function r(R,T,F){return T=p(T),T in R?Object.defineProperty(R,T,{value:F,enumerable:!0,configurable:!0,writable:!0}):R[T]=F,R}function n(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function s(R,T){for(var F=0;F<T.length;F++){var D=T[F];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(R,p(D.key),D)}}function u(R,T,F){return T&&s(R.prototype,T),Object.defineProperty(R,"prototype",{writable:!1}),R}function p(R){var T=y(R,"string");return o(T)==="symbol"?T:String(T)}function y(R,T){if(o(R)!=="object"||R===null)return R;var F=R[Symbol.toPrimitive];if(F!==void 0){var D=F.call(R,T||"default");if(o(D)!=="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}function x(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),T&&P(R,T)}function E(R){var T=S();return function(){var D=c(R),V;if(T){var g=c(this).constructor;V=Reflect.construct(D,arguments,g)}else V=D.apply(this,arguments);return d(this,V)}}function d(R,T){if(T&&(o(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(R)}function O(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function w(R){var T=typeof Map=="function"?new Map:void 0;return w=function(D){if(D===null||!_(D))return D;if(typeof D!="function")throw new TypeError("Super expression must either be null or a function");if(typeof T<"u"){if(T.has(D))return T.get(D);T.set(D,V)}function V(){return A(D,arguments,c(this).constructor)}return V.prototype=Object.create(D.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),P(V,D)},w(R)}function A(R,T,F){return S()?A=Reflect.construct.bind():A=function(V,g,m){var b=[null];b.push.apply(b,g);var L=Function.bind.apply(V,b),N=new L;return m&&P(N,m.prototype),N},A.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _(R){return Function.toString.call(R).indexOf("[native code]")!==-1}function P(R,T){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,V){return D.__proto__=V,D},P(R,T)}function c(R){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},c(R)}function o(R){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},o(R)}var a=mt,f=a.inspect,v=Gn(),I=v.codes.ERR_INVALID_ARG_TYPE;function j(R,T,F){return(F===void 0||F>R.length)&&(F=R.length),R.substring(F-T.length,F)===T}function B(R,T){if(T=Math.floor(T),R.length==0||T==0)return"";var F=R.length*T;for(T=Math.floor(Math.log(T)/Math.log(2));T;)R+=R,T--;return R+=R.substring(0,F-R.length),R}var z="",J="",X="",G="",ee={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:"},we=10;function Y(R){var T=Object.keys(R),F=Object.create(Object.getPrototypeOf(R));return T.forEach(function(D){F[D]=R[D]}),Object.defineProperty(F,"message",{value:R.message}),F}function de(R){return f(R,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ee(R,T,F){var D="",V="",g=0,m="",b=!1,L=de(R),N=L.split(`
2
2
  `),U=de(T).split(`
3
3
  `),K=0,oe="";if(F==="strictEqual"&&o(R)==="object"&&o(T)==="object"&&R!==null&&T!==null&&(F="strictEqualObject"),N.length===1&&U.length===1&&N[0]!==U[0]){var ue=N[0].length+U[0].length;if(ue<=we){if((o(R)!=="object"||R===null)&&(o(T)!=="object"||T===null)&&(R!==0||T!==0))return"".concat(ee[F],`
4
4