@abtnode/webapp 1.16.32-beta-5463e017 → 1.16.32-beta-93e1a798

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 (170) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-DaKGD4dI.js → Add-D_k4pI9W.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-ChTH4y6x.js → ArrowDropDown-Fj1T5r_G.js} +1 -1
  5. package/dist/assets/{Autocomplete-4JAYTzWy.js → Autocomplete-36UFOW-a.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-CSvwbIEG.js → Breadcrumbs-kKBUARWg.js} +1 -1
  7. package/dist/assets/{ButtonGroup-CZh258li.js → ButtonGroup-CES_ASkn.js} +1 -1
  8. package/dist/assets/{CheckCircle-C9wvczio.js → CheckCircle-BebjtNY9.js} +1 -1
  9. package/dist/assets/{ChevronLeft-BcAe4jGL.js → ChevronLeft-BVPkwsiy.js} +1 -1
  10. package/dist/assets/{ChevronRight-D3x_9psV.js → ChevronRight-ChF0KBJG.js} +1 -1
  11. package/dist/assets/{Close-Yb6PTPgZ.js → Close-DrkkcxlK.js} +1 -1
  12. package/dist/assets/{Delete-DUmhYiAq.js → Delete-DzIkIBeP.js} +1 -1
  13. package/dist/assets/{DeleteOutline-D5ZTK7Ka.js → DeleteOutline-Bby7Ht9O.js} +1 -1
  14. package/dist/assets/{Done-DlneRio5.js → Done-LLl5p9CV.js} +1 -1
  15. package/dist/assets/{Edit-Bxg4cu8b.js → Edit-CF2dV-p0.js} +1 -1
  16. package/dist/assets/{EditIcon-DZ4AA4ec.js → EditIcon-CS66rX17.js} +1 -1
  17. package/dist/assets/{ExpandMore-DpwumCaI.js → ExpandMore-BjFpCvCs.js} +1 -1
  18. package/dist/assets/{Google-ppCuuQRJ.js → Google-CEg0_-Ba.js} +1 -1
  19. package/dist/assets/{Https-ChBXh5m-.js → Https-6X3V6mo0.js} +1 -1
  20. package/dist/assets/{InputAdornment-I3Qa54dS.js → InputAdornment-ycCoKHr0.js} +1 -1
  21. package/dist/assets/{InputLabel-x5fGAphs.js → InputLabel-CbBV3Frl.js} +1 -1
  22. package/dist/assets/{LastPage-CFPei4j4.js → LastPage-BPNA0QD7.js} +1 -1
  23. package/dist/assets/{Launch-DawysiT2.js → Launch-BQ5k3Pyt.js} +1 -1
  24. package/dist/assets/{Link-Cl6uWJH_.js → Link-CrgCiVTG.js} +1 -1
  25. package/dist/assets/{LoadingButton-Bw0KBLnj.js → LoadingButton-DK2qXs8-.js} +1 -1
  26. package/dist/assets/{LockIcon-CnkvxSHY.js → LockIcon-Dsr8612h.js} +1 -1
  27. package/dist/assets/{Loop-BuLkY4qW.js → Loop-DKDVusA2.js} +1 -1
  28. package/dist/assets/{MoreHoriz-C_qvzy_d.js → MoreHoriz-DpkDHId8.js} +1 -1
  29. package/dist/assets/{MoreVert-DSqbsAYy.js → MoreVert-EDIahDDk.js} +1 -1
  30. package/dist/assets/{Pagination-CtEI84NR.js → Pagination-889zSuEV.js} +1 -1
  31. package/dist/assets/{Public-DTWYgdJa.js → Public-B1TdO-Ph.js} +1 -1
  32. package/dist/assets/{SchemaReference.es-DDBbuRq5.js → SchemaReference.es-CIGzgiK1.js} +1 -1
  33. package/dist/assets/{Search-LvG1ITyu.js → Search-Dol4CnmY.js} +1 -1
  34. package/dist/assets/{Select-DsA6mJ7A.js → Select-CYNjgjo3.js} +1 -1
  35. package/dist/assets/{Skeleton-DkInRABR.js → Skeleton-CzjJPNB7.js} +1 -1
  36. package/dist/assets/{Slider-ZuZU2f6x.js → Slider-wwN-tiI7.js} +1 -1
  37. package/dist/assets/{Stepper-AWCpL8Wp.js → Stepper-BG1rAugU.js} +1 -1
  38. package/dist/assets/{TextField-CRqdsKdk.js → TextField-B8Ndn_Ly.js} +1 -1
  39. package/dist/assets/{ToggleButtonGroup-AtNMdn7e.js → ToggleButtonGroup-CgfxUxDK.js} +1 -1
  40. package/dist/assets/{ViewColumn-BCkzYaEc.js → ViewColumn-DkiM5eqL.js} +1 -1
  41. package/dist/assets/{ViewList-5t3FBolC.js → ViewList-SsmYyAxZ.js} +1 -1
  42. package/dist/assets/{actions-BkAN9H2U.js → actions-C-Plplr7.js} +1 -1
  43. package/dist/assets/{actions-S3zHaigm.js → actions-CrXporZt.js} +1 -1
  44. package/dist/assets/{agreement-mUf-NNwH.js → agreement-WG4qIDoW.js} +1 -1
  45. package/dist/assets/api-B-aFuxhe.js +1 -0
  46. package/dist/assets/{app-avatar-CZMX5yC0.js → app-avatar-d8qNeOSe.js} +1 -1
  47. package/dist/assets/{audit-logs-C6NHUyCb.js → audit-logs--xCClvIG.js} +1 -1
  48. package/dist/assets/blocklet-fx7ejRT1.js +1 -0
  49. package/dist/assets/{brace-fold.es-BL24oDCP.js → brace-fold.es-D9Lmc_JQ.js} +1 -1
  50. package/dist/assets/{bundle-avatar-B_KhS55w.js → bundle-avatar-Csnfb0Gl.js} +1 -1
  51. package/dist/assets/{chart-TH03FheV.js → chart-YMtcv4Pw.js} +1 -1
  52. package/dist/assets/{click-to-copy-DLjgvWtN.js → click-to-copy-BVC4LJBm.js} +1 -1
  53. package/dist/assets/{closebrackets.es-CRue5Lj9.js → closebrackets.es-Bp0tSkEe.js} +1 -1
  54. package/dist/assets/{codemirror.es-D6n4hw-Q.js → codemirror.es-oZBhhqd0.js} +1 -1
  55. package/dist/assets/{comment.es-CMqHFDro.js → comment.es-DsmOpPCK.js} +1 -1
  56. package/dist/assets/{config-navigation-BkjjlNR1.js → config-navigation-C22iRX72.js} +1 -1
  57. package/dist/assets/{delete-confirm-DSDxj3rA.js → delete-confirm-DB1Hsz09.js} +1 -1
  58. package/dist/assets/{detail-BXayVQVW.js → detail-BRhupi6R.js} +3 -3
  59. package/dist/assets/{dialog.es-D689jSEc.js → dialog.es-DUxAmmR0.js} +1 -1
  60. package/dist/assets/{download-BzRIfvfp.js → download-CS0Nwqbd.js} +1 -1
  61. package/dist/assets/{foldgutter.es-B9YVusGB.js → foldgutter.es-BUBeDpkw.js} +1 -1
  62. package/dist/assets/getValidReactChildren-DP5iwnLz.js +1 -0
  63. package/dist/assets/{hint.es-CskV4nd4.js → hint.es-DYpAHag2.js} +1 -1
  64. package/dist/assets/{hint.es2-CfwqzILV.js → hint.es2-BGuO_Ryp.js} +1 -1
  65. package/dist/assets/{iframe-ZIaXI_5u.js → iframe-DP4MxIys.js} +1 -1
  66. package/dist/assets/{index-BISktdZp.js → index--bLRFav8.js} +1 -1
  67. package/dist/assets/{index-Do26lepM.js → index-5PA93kSc.js} +5 -5
  68. package/dist/assets/{index-B5btqJ4H.js → index-6g5X1kQS.js} +1 -1
  69. package/dist/assets/{index-BGLg0vvo.js → index-9y4YR_6P.js} +10 -10
  70. package/dist/assets/{index-DKtCLP01.js → index-B0pJul6M.js} +1 -1
  71. package/dist/assets/{index-B1dhqxPU.js → index-B5kkYZq8.js} +1 -1
  72. package/dist/assets/{index-Cw0JQB9z.js → index-BJ57e_hS.js} +1 -1
  73. package/dist/assets/{index-BZ5mGJWw.js → index-BJrQBQOR.js} +1 -1
  74. package/dist/assets/{index-CrvugMt9.js → index-BLWpQDG1.js} +1 -1
  75. package/dist/assets/{index-2hMSNFcX.js → index-BVMgCTFa.js} +1 -1
  76. package/dist/assets/{index-DDuCsifa.js → index-BZupyUWp.js} +1 -1
  77. package/dist/assets/{index-Cr3n4oxk.js → index-BarUm_gh.js} +1 -1
  78. package/dist/assets/{index-D8jEuOKc.js → index-BdODRvyL.js} +6 -6
  79. package/dist/assets/{index-CK4JTdjQ.js → index-BsrqDkz-.js} +1 -1
  80. package/dist/assets/{index-DAyoBn_4.js → index-C-rb1x2V.js} +1 -1
  81. package/dist/assets/{index-CqCsZC4C.js → index-C58ue_9I.js} +1 -1
  82. package/dist/assets/{index-CNUQDecb.js → index-C9LZUW4N.js} +1 -1
  83. package/dist/assets/{index-ePYaxWaQ.js → index-CFm2Y_4c.js} +1 -1
  84. package/dist/assets/{index-BEhFvOUG.js → index-CLn0Mq8q.js} +1 -1
  85. package/dist/assets/{index-C-WTI7Cb.js → index-CTRjGuKx.js} +3 -3
  86. package/dist/assets/{index-DK-C26MA.js → index-Cd5kGc_9.js} +1 -1
  87. package/dist/assets/{index-DJbyuP0k.js → index-ChSFSE0T.js} +1 -1
  88. package/dist/assets/{index-CGxA_e3u.js → index-CiSkmE2u.js} +3 -3
  89. package/dist/assets/{index-cBkUep-u.js → index-CpvpLQ3r.js} +1 -1
  90. package/dist/assets/{index-D8MQ9ZVB.js → index-D-HUAuYc.js} +1 -1
  91. package/dist/assets/{index-CrJbtDDR.js → index-D19VVree.js} +1 -1
  92. package/dist/assets/{index-X_twkRjU.js → index-D4j0UCn_.js} +1 -1
  93. package/dist/assets/{index-CnJqCwcF.js → index-DITPbpVB.js} +1 -1
  94. package/dist/assets/{index-D7RYoUXY.js → index-DL0tSq_I.js} +1 -1
  95. package/dist/assets/{index-zAZnE_sV.js → index-DQOcXiyw.js} +1 -1
  96. package/dist/assets/{index-CAr2bcCQ.js → index-DZeE4hxl.js} +1 -1
  97. package/dist/assets/{index-By4cIMG9.js → index-D_JFrv2N.js} +1 -1
  98. package/dist/assets/{index-Dew8IExT.js → index-D_enoZPw.js} +1 -1
  99. package/dist/assets/{index-2il1V33n.js → index-DcM9WqBq.js} +1 -1
  100. package/dist/assets/{index-CPveBdmQ.js → index-DcQHhGHM.js} +26 -26
  101. package/dist/assets/{index-ikTCZuew.js → index-Dgsigr8r.js} +1 -1
  102. package/dist/assets/{index-BZeec5qC.js → index-Dz_vS133.js} +1 -1
  103. package/dist/assets/{index-D7uj8y87.js → index-JJQ9Omt7.js} +1 -1
  104. package/dist/assets/{index-IhPupL71.js → index-TrxAhXnV.js} +12 -12
  105. package/dist/assets/{index-DToDGE56.js → index-Ud3GHmKK.js} +1 -1
  106. package/dist/assets/{index-ZzQVQqI_.js → index-X5ZsLA2j.js} +1 -1
  107. package/dist/assets/{index-UkVmuOk4.js → index-XhvmS84N.js} +1 -1
  108. package/dist/assets/{index-BmM7M1I1.js → index-f7uSWUvq.js} +1 -1
  109. package/dist/assets/{index.es-Ce1reDLt.js → index.es-B4ORsvbs.js} +1 -1
  110. package/dist/assets/{index.esm-D4aSKUKj.js → index.esm-B270ufs-.js} +1 -1
  111. package/dist/assets/{info-addon.es-Gw4G3zLm.js → info-addon.es-BzRM6G1a.js} +1 -1
  112. package/dist/assets/{info.es-DwIeLjFc.js → info.es-DGgsrgEc.js} +1 -1
  113. package/dist/assets/{install-from-url-41g9-VzW.js → install-from-url-C2gBahK1.js} +1 -1
  114. package/dist/assets/{invitation-Cn2oy3yS.js → invitation-CdX27Uxz.js} +1 -1
  115. package/dist/assets/{is-path-prefix-equal-DNcDIcWb.js → is-path-prefix-equal-BkEH1NZx.js} +1 -1
  116. package/dist/assets/{isEqual-Bqorz6b9.js → isEqual-CNnvQgen.js} +1 -1
  117. package/dist/assets/{item-SOaEd0D1.js → item-JRZi_aRE.js} +31 -31
  118. package/dist/assets/{javascript.es-H569uOzV.js → javascript.es-By6ZeMFv.js} +1 -1
  119. package/dist/assets/{jump-to-line.es-BEsHX6V3.js → jump-to-line.es-BBq6_jaH.js} +1 -1
  120. package/dist/assets/{jump.es-Ckm7XeeY.js → jump.es-CwMJ9osH.js} +1 -1
  121. package/dist/assets/{line-BpgEsi16.js → line-CKpAedts.js} +3 -3
  122. package/dist/assets/{lint.es-BqlNOL8M.js → lint.es-1aZjgiyc.js} +1 -1
  123. package/dist/assets/{lint.es2-BDoZAwzu.js → lint.es2-Db-t_UEm.js} +1 -1
  124. package/dist/assets/{lint.es3-_dkyqTUe.js → lint.es3-D8HsQO7s.js} +1 -1
  125. package/dist/assets/{list-header-dggL7_n2.js → list-header-B-qlxkz3.js} +1 -1
  126. package/dist/assets/{log-Dl3vYHcH.js → log-Bk7_nQYj.js} +1 -1
  127. package/dist/assets/{lottie-C3nxmlxK.js → lottie-BM_265d4.js} +1 -1
  128. package/dist/assets/{matchbrackets.es-tA0nPUuc.js → matchbrackets.es-BWKnOHAT.js} +1 -1
  129. package/dist/assets/{memory-Bu0JELz3.js → memory-nuYLHuFl.js} +1 -1
  130. package/dist/assets/{mode.es-D4L5Xyl2.js → mode.es-BDqcWOl_.js} +1 -1
  131. package/dist/assets/{mode.es2-CUsDPFgy.js → mode.es2-CB0HZW7S.js} +1 -1
  132. package/dist/assets/{mode.es3-Ch4z8bv5.js → mode.es3-DyR4-E4M.js} +1 -1
  133. package/dist/assets/{onlineParser.es-DzN1JLcS.js → onlineParser.es-CPCTT-Qa.js} +1 -1
  134. package/dist/assets/{overview-C7jzc_u_.js → overview-B97iWfKs.js} +1 -1
  135. package/dist/assets/{react-X622xIru.js → react-B2TCaRmX.js} +3 -3
  136. package/dist/assets/{redux-rfMuaiI1.js → redux-DYkNRFlr.js} +1 -1
  137. package/dist/assets/{resource-dialog-D-vI8e9q.js → resource-dialog-BhhfM8h1.js} +1 -1
  138. package/dist/assets/{runtime-DP943eRP.js → runtime-9pTI3HeQ.js} +1 -1
  139. package/dist/assets/{schema-DeVB3oly.js → schema-Bj-RxzG3.js} +1 -1
  140. package/dist/assets/sdk-muHS20Ah.js +1 -0
  141. package/dist/assets/{search.es-BaUbACv2.js → search.es-Djf8-sUv.js} +1 -1
  142. package/dist/assets/{searchcursor.es-39IycBFs.js → searchcursor.es-DZEW11iz.js} +1 -1
  143. package/dist/assets/{service-BimlVy43.js → service-Oon6YJGj.js} +1 -1
  144. package/dist/assets/{shorten-label-CBdfm00-.js → shorten-label-Dc8UKk1Q.js} +1 -1
  145. package/dist/assets/{show-hint.es-DMpxvfoA.js → show-hint.es-k48vHIcC.js} +1 -1
  146. package/dist/assets/{slicedToArray-7c7-iQ0t.js → slicedToArray-rpnwAzRV.js} +2 -2
  147. package/dist/assets/{spaces-UaG0_4_u.js → spaces-BJikzBFK.js} +1 -1
  148. package/dist/assets/{status-BGxv0mkt.js → status-CBbIVZ8o.js} +1 -1
  149. package/dist/assets/{sublime.es-qDoQTC8D.js → sublime.es-C9MYLBy2.js} +1 -1
  150. package/dist/assets/{switch-control-D6_lOJtw.js → switch-control-7-MGIzPK.js} +1 -1
  151. package/dist/assets/{table-icons-C1Wv7bvQ.js → table-icons-BS_ATSp2.js} +1 -1
  152. package/dist/assets/{team-BOnxiYnY.js → team-CpKT_TRB.js} +1 -1
  153. package/dist/assets/{toUpper-C-8-jotc.js → toUpper-Cji_NEex.js} +1 -1
  154. package/dist/assets/{traffic-Hfc3zrFY.js → traffic-D_VS-ogp.js} +1 -1
  155. package/dist/assets/{url-evaluation-DRU1r0m1.js → url-evaluation-CeM0t6WP.js} +1 -1
  156. package/dist/assets/{url-join-gOj2D4JC.js → url-join-C4mC0iDe.js} +1 -1
  157. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-BqkHUfqx.js → use-blocklet-info-for-connect-did-spaces-DOU25_RL.js} +1 -1
  158. package/dist/assets/{useLocalStorage-VUDmm0Mk.js → useLocalStorage-Djk9mE88.js} +1 -1
  159. package/dist/assets/{useThemeProps-_vPkb6TM.js → useThemeProps-DZY4Hl_X.js} +1 -1
  160. package/dist/assets/{util-CKYVxmGJ.js → util-Bg0Sovun.js} +1 -1
  161. package/dist/assets/{wait-container-BbsYBUX1.js → wait-container-BXER-iJR.js} +1 -1
  162. package/dist/assets/{withStyles-DM17B_mO.js → withStyles-DeG1LPw1.js} +1 -1
  163. package/dist/assets/{wrap-locale-BYabtx-L.js → wrap-locale-C0m1LlXs.js} +1 -1
  164. package/dist/index.html +1 -1
  165. package/dist/service-worker.js +1 -1
  166. package/package.json +1 -1
  167. package/dist/assets/api-DaQrSR6d.js +0 -1
  168. package/dist/assets/blocklet-_qJbakx7.js +0 -1
  169. package/dist/assets/getValidReactChildren-DAG74NDJ.js +0 -1
  170. package/dist/assets/sdk-BqXPS3TR.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as d,j as o,s as h,Q as p,P as i}from"./index-D8jEuOKc.js";var a={};Object.defineProperty(a,"__esModule",{value:!0});var f=a.default=void 0;v(d);var c=o;function v(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(y){return Object.getOwnPropertyDescriptor(e,y).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(n){b(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function b(e,t,r){return(t=j(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){var t=g(e,"string");return typeof t=="symbol"?t:t+""}function g(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 l=function(t){return(0,c.jsx)("svg",u(u({},t),{},{children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};l.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};l.displayName="empty";f=a.default=l;const O=h(p)`
1
+ import{r as d,j as o,s as h,Q as p,P as i}from"./index-BdODRvyL.js";var a={};Object.defineProperty(a,"__esModule",{value:!0});var f=a.default=void 0;v(d);var c=o;function v(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(y){return Object.getOwnPropertyDescriptor(e,y).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(n){b(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function b(e,t,r){return(t=j(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){var t=g(e,"string");return typeof t=="symbol"?t:t+""}function g(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 l=function(t){return(0,c.jsx)("svg",u(u({},t),{},{children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};l.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};l.displayName="empty";f=a.default=l;const O=h(p)`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1 +1 @@
1
- import{r as o,f as n,j as t,n as e}from"./index-D8jEuOKc.js";import{R as r}from"./index-CNUQDecb.js";function i(){const{t:s}=o.useContext(n);return t.jsx(a,{style:{paddingTop:"25vh"},children:t.jsx(r,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const a=e.main``;export{i as default};
1
+ import{r as o,f as n,j as t,n as e}from"./index-BdODRvyL.js";import{R as r}from"./index-C9LZUW4N.js";function i(){const{t:s}=o.useContext(n);return t.jsx(a,{style:{paddingTop:"25vh"},children:t.jsx(r,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const a=e.main``;export{i as default};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-D7uj8y87.js","./index-D8jEuOKc.js","./index-BEj64JY8.css"])))=>i.map(i=>d[i]);
2
- import{r as p,ci as X,cj as F,ck as O,cl as q,aK as H,aL as G,j as s,n as E,P as y,J,aO as Q,f as V,cm as K,y as I,Q as x,cd as Y,W as Z,B as M,m as D,cn as $,O as ee,co as te,bn as se,cp as ae,cq as ne,u as oe,z as re,am as ie,bk as ce,ad as le}from"./index-D8jEuOKc.js";import{d as pe}from"./CheckCircle-C9wvczio.js";import{d as de}from"./ViewList-5t3FBolC.js";import{d as ue}from"./Done-DlneRio5.js";import{w as me}from"./wrap-locale-BYabtx-L.js";import{S as fe,a as he,b as xe}from"./Stepper-AWCpL8Wp.js";var P=function(t){if(!t)return 0;var r=q(t).valueOf()-Date.now();return r<0?0:r},ge=function(t){return{days:Math.floor(t/864e5),hours:Math.floor(t/36e5)%24,minutes:Math.floor(t/6e4)%60,seconds:Math.floor(t/1e3)%60,milliseconds:Math.floor(t)%1e3}},ve=function(t){t===void 0&&(t={});var r=t||{},l=r.leftTime,i=r.targetDate,d=r.interval,v=d===void 0?1e3:d,b=r.onEnd,g=p.useMemo(function(){return X(l)&&l>0?Date.now()+l:void 0},[l]),a="leftTime"in t?g:i,f=F(p.useState(function(){return P(a)}),2),h=f[0],u=f[1],n=O(b);p.useEffect(function(){if(!a){u(0);return}u(P(a));var w=setInterval(function(){var o,c=P(a);u(c),c===0&&(clearInterval(w),(o=n.current)===null||o===void 0||o.call(n))},v);return function(){return clearInterval(w)}},[a,v]);var j=p.useMemo(function(){return ge(h)},[h]);return[h,j]},k={},be=G;Object.defineProperty(k,"__esModule",{value:!0});var R=k.default=void 0,we=be(H()),je=s;R=k.default=(0,we.default)((0,je.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp");function T({list:t,width:r,height:l,cardSpace:i,onSelect:d,defaultIndex:v}){const[b,g]=p.useState(0),[a,f]=p.useState(0),h=p.useRef(null),u=o=>{if(o<0||o>t.length-1)return;g(o);const c=h.current.clientWidth;f(o*(r+i)-(c-r)/2+i*.5),d(o)};p.useEffect(()=>{u(v);const o=c=>c.preventDefault();h.current.addEventListener("touchmove",o,{passive:!1})},[]);let n;const j=o=>{n=o.touches[0].clientX},w=o=>{const c=o.changedTouches[0],S=n-c.clientX;Math.abs(S)>60&&(S>0?u(b+1):u(b-1))};return s.jsx(ye,{ref:h,onTouchStart:j,onTouchEnd:w,children:s.jsx("div",{className:"card-container",style:{transform:`translate(${-a}px, 0)`},children:t.map((o,c)=>s.jsx("div",{className:`card-item ${c===b?"selected":""}`,style:{width:r,height:l,margin:i/2},onClick:()=>u(c),children:s.jsx("div",{className:"card-content",dangerouslySetInnerHTML:{__html:o.src}})},o.id))})})}const ye=E.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-JJQ9Omt7.js","./index-BdODRvyL.js","./index-BEj64JY8.css"])))=>i.map(i=>d[i]);
2
+ import{r as p,ci as X,cj as F,ck as O,cl as q,aK as H,aL as G,j as s,n as E,P as y,J,aO as Q,f as V,cm as K,y as I,Q as x,cd as Y,W as Z,B as M,m as D,cn as $,O as ee,co as te,bn as se,cp as ae,cq as ne,u as oe,z as re,am as ie,bk as ce,ad as le}from"./index-BdODRvyL.js";import{d as pe}from"./CheckCircle-BebjtNY9.js";import{d as de}from"./ViewList-SsmYyAxZ.js";import{d as ue}from"./Done-LLl5p9CV.js";import{w as me}from"./wrap-locale-C0m1LlXs.js";import{S as fe,a as he,b as xe}from"./Stepper-BG1rAugU.js";var P=function(t){if(!t)return 0;var r=q(t).valueOf()-Date.now();return r<0?0:r},ge=function(t){return{days:Math.floor(t/864e5),hours:Math.floor(t/36e5)%24,minutes:Math.floor(t/6e4)%60,seconds:Math.floor(t/1e3)%60,milliseconds:Math.floor(t)%1e3}},ve=function(t){t===void 0&&(t={});var r=t||{},l=r.leftTime,i=r.targetDate,d=r.interval,v=d===void 0?1e3:d,b=r.onEnd,g=p.useMemo(function(){return X(l)&&l>0?Date.now()+l:void 0},[l]),a="leftTime"in t?g:i,f=F(p.useState(function(){return P(a)}),2),h=f[0],u=f[1],n=O(b);p.useEffect(function(){if(!a){u(0);return}u(P(a));var w=setInterval(function(){var o,c=P(a);u(c),c===0&&(clearInterval(w),(o=n.current)===null||o===void 0||o.call(n))},v);return function(){return clearInterval(w)}},[a,v]);var j=p.useMemo(function(){return ge(h)},[h]);return[h,j]},k={},be=G;Object.defineProperty(k,"__esModule",{value:!0});var R=k.default=void 0,we=be(H()),je=s;R=k.default=(0,we.default)((0,je.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp");function T({list:t,width:r,height:l,cardSpace:i,onSelect:d,defaultIndex:v}){const[b,g]=p.useState(0),[a,f]=p.useState(0),h=p.useRef(null),u=o=>{if(o<0||o>t.length-1)return;g(o);const c=h.current.clientWidth;f(o*(r+i)-(c-r)/2+i*.5),d(o)};p.useEffect(()=>{u(v);const o=c=>c.preventDefault();h.current.addEventListener("touchmove",o,{passive:!1})},[]);let n;const j=o=>{n=o.touches[0].clientX},w=o=>{const c=o.changedTouches[0],S=n-c.clientX;Math.abs(S)>60&&(S>0?u(b+1):u(b-1))};return s.jsx(ye,{ref:h,onTouchStart:j,onTouchEnd:w,children:s.jsx("div",{className:"card-container",style:{transform:`translate(${-a}px, 0)`},children:t.map((o,c)=>s.jsx("div",{className:`card-item ${c===b?"selected":""}`,style:{width:r,height:l,margin:i/2},onClick:()=>u(c),children:s.jsx("div",{className:"card-content",dangerouslySetInnerHTML:{__html:o.src}})},o.id))})})}const ye=E.div`
3
3
  overflow: hidden;
4
4
  mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);
5
5
  overflow: hidden;
@@ -33,7 +33,7 @@ import{r as p,ci as X,cj as F,ck as O,cl as q,aK as H,aL as G,j as s,n as E,P as
33
33
  }
34
34
  }
35
35
  }
36
- `;T.propTypes={list:y.array,width:y.number,height:y.number,cardSpace:y.number,onSelect:y.func,defaultIndex:y.number};T.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:()=>{},defaultIndex:0};function Se({icon:t,active:r,completed:l}){const i={1:s.jsx(de,{className:"step-icon"}),2:s.jsx(R,{className:"step-icon"}),3:s.jsx(ue,{className:"step-icon"})},d=["step-icon-w"];return r&&d.push("step-icon-w--active"),l&&d.push("step-icon-w--completed"),s.jsx("div",{className:d.join(" "),children:i[String(t)]})}function Pe({SessionContext:t,webWalletUrl:r,createPassportSvg:l,passportColor:i,onLogin:d}){const{api:v,session:b}=p.useContext(t),g=J(e=>e.breakpoints.down("sm")),a=Q({user:null,passport:null,success:!1,activeStep:0}),f=p.useRef({sessionToken:"",refreshToken:""}),{setPassportId:h,clearPassportId:u}=ne(),{t:n,locale:j}=p.useContext(V),{wallet:w}=K(),[o,c]=p.useState(0),{searchParams:S}=new URL(window.location.href),C=()=>{a.activeStep++},W=e=>{a.user=e.user},A=()=>{C()},z=(e,m)=>{e!=null&&e.passportId&&h(e.passportId),e!=null&&e.sessionToken&&(f.current.sessionToken=m(e.sessionToken)),e!=null&&e.refreshToken&&(f.current.refreshToken=m(e.refreshToken)),a.success=!0,C()},U=()=>new Promise(e=>{try{b.logout(()=>{e()})}catch{e()}}),L=async()=>{if(w&&$()){se(()=>import("./index-D7uj8y87.js").then(m=>m.i),__vite__mapDeps([0,1,2]),import.meta.url).then(m=>{m.call("arcClosePage")});return}await U(),ae(d)&&d({sessionToken:f.current.sessionToken,refreshToken:f.current.refreshToken});const e=S.get("redirect");if(e){window.location.replace(e);return}u(),window.location.replace("/")},B=e=>{a.passport=e.target.value},[N]=ve({leftTime:o,onEnd:()=>{L()}}),_=[{label:n("lostPassport.selectPassport"),content:()=>a.user?s.jsxs(x,{className:"select-passport",children:[s.jsxs(x,{my:1,display:"flex",alignItems:"center",className:"user-info",children:[s.jsx(Y,{src:a.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),s.jsxs(x,{children:[s.jsx(x,{className:"name",children:a.user.fullName}),s.jsx(x,{className:"did",mt:1,children:s.jsx(Z,{responsive:!g,compact:g,did:a.user.did})})]})]}),s.jsx("div",{children:s.jsx(T,{width:g?180:230,height:g?240:306,cardSpace:24,list:a.user.passportTypes.map(e=>({src:l({scope:e.scope,role:e.role,title:e.scope==="passport"?e.title:e.name,issuer:e.issuer.name,issuerDid:e.issuer.id,ownerDid:a.user.did,ownerName:a.user.fullName,ownerAvatarUrl:a.user.avatar,preferredColor:i||"auto",extra:e.scope==="kyc"?{key:"Email",value:e.name}:void 0}),name:e.title,id:e.id})),onSelect:e=>B({target:{value:a.user.passportTypes[e].id}}),defaultIndex:0})}),s.jsx(x,{textAlign:"center",children:s.jsx(M,{variant:"contained",color:"primary",onClick:()=>A(),disabled:!a.passport,children:n("common.next")})})]}):s.jsx(I,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-list",forceConnected:!1,autoConnect:!1,checkFn:v.get,checkTimeout:10*60*1e3,webWalletUrl:r,onSuccess:W,locale:j,messages:{title:n("lostPassport.dialog.title"),scan:n("lostPassport.dialog.scan"),confirm:n("lostPassport.dialog.confirm"),success:n("lostPassport.dialog.success")}})},{label:n("lostPassport.receivePassport"),content:()=>{var m;const e={receiverDid:a.user.did,passportId:a.passport,teamDid:((m=window==null?void 0:window.blocklet)==null?void 0:m.did)||""};return s.jsx(I,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-issue",checkFn:v.get,checkTimeout:10*60*1e3,webWalletUrl:r,onSuccess:z,locale:j,messages:{title:`${n("lostPassport.dialog.title")}`,scan:n("lostPassport.dialog.scan"),confirm:n("lostPassport.dialog.confirm"),success:n("lostPassport.dialog.success")},extraParams:e})}},{label:n("common.complete"),content:()=>(o===0&&c(3e3),s.jsxs(x,{textAlign:"center",children:[s.jsx(x,{mb:3,color:"success.main",children:s.jsx(pe,{style:{fontSize:60}})}),s.jsx(D,{component:"p",variant:"body1",className:"subheader",children:n("issuePassport.dialog.success")}),s.jsx(D,{component:"p",variant:"body2",color:"gray",children:w&&$()?n("issuePassport.dialog.autoClose",{seconds:Math.round(N/1e3)}):n("issuePassport.dialog.autoJump",{seconds:Math.round(N/1e3)})}),s.jsx(M,{style:{marginTop:40},variant:"contained",color:"primary",onClick:L,children:n("issuePassport.dialog.loginWithPassport")})]}))}];return s.jsx(ke,{children:s.jsxs("div",{className:"stepper",children:[s.jsx(fe,{className:"stepper-progress",alternativeLabel:!0,activeStep:a.activeStep,children:_.map(({label:e})=>s.jsx(he,{children:s.jsx(xe,{StepIconComponent:Se,children:e})},e))}),s.jsx("div",{className:"stepper-content",children:_[a.activeStep].content()}),!a.success&&s.jsx(x,{textAlign:"center",fontSize:12,children:s.jsx(ee,{to:"/",style:{color:"#4598FA"},children:n("lostPassport.return")})})]})})}const ke=E(te)`
36
+ `;T.propTypes={list:y.array,width:y.number,height:y.number,cardSpace:y.number,onSelect:y.func,defaultIndex:y.number};T.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:()=>{},defaultIndex:0};function Se({icon:t,active:r,completed:l}){const i={1:s.jsx(de,{className:"step-icon"}),2:s.jsx(R,{className:"step-icon"}),3:s.jsx(ue,{className:"step-icon"})},d=["step-icon-w"];return r&&d.push("step-icon-w--active"),l&&d.push("step-icon-w--completed"),s.jsx("div",{className:d.join(" "),children:i[String(t)]})}function Pe({SessionContext:t,webWalletUrl:r,createPassportSvg:l,passportColor:i,onLogin:d}){const{api:v,session:b}=p.useContext(t),g=J(e=>e.breakpoints.down("sm")),a=Q({user:null,passport:null,success:!1,activeStep:0}),f=p.useRef({sessionToken:"",refreshToken:""}),{setPassportId:h,clearPassportId:u}=ne(),{t:n,locale:j}=p.useContext(V),{wallet:w}=K(),[o,c]=p.useState(0),{searchParams:S}=new URL(window.location.href),C=()=>{a.activeStep++},W=e=>{a.user=e.user},A=()=>{C()},z=(e,m)=>{e!=null&&e.passportId&&h(e.passportId),e!=null&&e.sessionToken&&(f.current.sessionToken=m(e.sessionToken)),e!=null&&e.refreshToken&&(f.current.refreshToken=m(e.refreshToken)),a.success=!0,C()},U=()=>new Promise(e=>{try{b.logout(()=>{e()})}catch{e()}}),L=async()=>{if(w&&$()){se(()=>import("./index-JJQ9Omt7.js").then(m=>m.i),__vite__mapDeps([0,1,2]),import.meta.url).then(m=>{m.call("arcClosePage")});return}await U(),ae(d)&&d({sessionToken:f.current.sessionToken,refreshToken:f.current.refreshToken});const e=S.get("redirect");if(e){window.location.replace(e);return}u(),window.location.replace("/")},B=e=>{a.passport=e.target.value},[N]=ve({leftTime:o,onEnd:()=>{L()}}),_=[{label:n("lostPassport.selectPassport"),content:()=>a.user?s.jsxs(x,{className:"select-passport",children:[s.jsxs(x,{my:1,display:"flex",alignItems:"center",className:"user-info",children:[s.jsx(Y,{src:a.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),s.jsxs(x,{children:[s.jsx(x,{className:"name",children:a.user.fullName}),s.jsx(x,{className:"did",mt:1,children:s.jsx(Z,{responsive:!g,compact:g,did:a.user.did})})]})]}),s.jsx("div",{children:s.jsx(T,{width:g?180:230,height:g?240:306,cardSpace:24,list:a.user.passportTypes.map(e=>({src:l({scope:e.scope,role:e.role,title:e.scope==="passport"?e.title:e.name,issuer:e.issuer.name,issuerDid:e.issuer.id,ownerDid:a.user.did,ownerName:a.user.fullName,ownerAvatarUrl:a.user.avatar,preferredColor:i||"auto",extra:e.scope==="kyc"?{key:"Email",value:e.name}:void 0}),name:e.title,id:e.id})),onSelect:e=>B({target:{value:a.user.passportTypes[e].id}}),defaultIndex:0})}),s.jsx(x,{textAlign:"center",children:s.jsx(M,{variant:"contained",color:"primary",onClick:()=>A(),disabled:!a.passport,children:n("common.next")})})]}):s.jsx(I,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-list",forceConnected:!1,autoConnect:!1,checkFn:v.get,checkTimeout:10*60*1e3,webWalletUrl:r,onSuccess:W,locale:j,messages:{title:n("lostPassport.dialog.title"),scan:n("lostPassport.dialog.scan"),confirm:n("lostPassport.dialog.confirm"),success:n("lostPassport.dialog.success")}})},{label:n("lostPassport.receivePassport"),content:()=>{var m;const e={receiverDid:a.user.did,passportId:a.passport,teamDid:((m=window==null?void 0:window.blocklet)==null?void 0:m.did)||""};return s.jsx(I,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-issue",checkFn:v.get,checkTimeout:10*60*1e3,webWalletUrl:r,onSuccess:z,locale:j,messages:{title:`${n("lostPassport.dialog.title")}`,scan:n("lostPassport.dialog.scan"),confirm:n("lostPassport.dialog.confirm"),success:n("lostPassport.dialog.success")},extraParams:e})}},{label:n("common.complete"),content:()=>(o===0&&c(3e3),s.jsxs(x,{textAlign:"center",children:[s.jsx(x,{mb:3,color:"success.main",children:s.jsx(pe,{style:{fontSize:60}})}),s.jsx(D,{component:"p",variant:"body1",className:"subheader",children:n("issuePassport.dialog.success")}),s.jsx(D,{component:"p",variant:"body2",color:"gray",children:w&&$()?n("issuePassport.dialog.autoClose",{seconds:Math.round(N/1e3)}):n("issuePassport.dialog.autoJump",{seconds:Math.round(N/1e3)})}),s.jsx(M,{style:{marginTop:40},variant:"contained",color:"primary",onClick:L,children:n("issuePassport.dialog.loginWithPassport")})]}))}];return s.jsx(ke,{children:s.jsxs("div",{className:"stepper",children:[s.jsx(fe,{className:"stepper-progress",alternativeLabel:!0,activeStep:a.activeStep,children:_.map(({label:e})=>s.jsx(he,{children:s.jsx(xe,{StepIconComponent:Se,children:e})},e))}),s.jsx("div",{className:"stepper-content",children:_[a.activeStep].content()}),!a.success&&s.jsx(x,{textAlign:"center",fontSize:12,children:s.jsx(ee,{to:"/",style:{color:"#4598FA"},children:n("lostPassport.return")})})]})})}const ke=E(te)`
37
37
  padding-top: 46px;
38
38
  padding-bottom: 46px;
39
39
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{r,U as u,j as e,dZ as p,dO as I,eQ as M,eR as S,P as t,ez as b,s as m,eS as E}from"./index-D8jEuOKc.js";import{d as v}from"./ExpandMore-DpwumCaI.js";import{B as A}from"./ButtonGroup-CZh258li.js";function d(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...g}=s,[j,c]=r.useState(!1),o=r.useRef(null),k=Array.isArray(a)?a.map((n,z)=>r.isValidElement(n)?n:r.createElement(u,{...n,key:z})):a,B=()=>{c(n=>!n)},C=n=>{o.current&&o.current.contains(n.target)||c(!1)},P=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(L,{variant:h,size:f,color:i,ref:o,...g,children:[typeof l=="function"?l():e.jsx(p,{onClick:x,color:i,children:l}),e.jsx(p,{onClick:B,color:i,...y,"aria-label":"more functions",children:e.jsx(v,{})})]}),e.jsx(O,{open:j,anchorEl:o.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(I,{children:e.jsx(M,{onClickAway:C,children:e.jsx(S,{onClick:P,children:k})})})})]})}d.propTypes={size:t.string,color:t.string,menu:t.oneOfType([t.node,t.array]),children:t.node,variant:t.oneOf(["outlined","contained"]),onClick:t.func,menuButtonProps:t.object};d.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:b,menuButtonProps:{}};d.Item=u;const L=m(A)`
1
+ import{r,U as u,j as e,dZ as p,dO as I,eQ as M,eR as S,P as t,ez as b,s as m,eS as E}from"./index-BdODRvyL.js";import{d as v}from"./ExpandMore-BjFpCvCs.js";import{B as A}from"./ButtonGroup-CES_ASkn.js";function d(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...g}=s,[j,c]=r.useState(!1),o=r.useRef(null),k=Array.isArray(a)?a.map((n,z)=>r.isValidElement(n)?n:r.createElement(u,{...n,key:z})):a,B=()=>{c(n=>!n)},C=n=>{o.current&&o.current.contains(n.target)||c(!1)},P=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(L,{variant:h,size:f,color:i,ref:o,...g,children:[typeof l=="function"?l():e.jsx(p,{onClick:x,color:i,children:l}),e.jsx(p,{onClick:B,color:i,...y,"aria-label":"more functions",children:e.jsx(v,{})})]}),e.jsx(O,{open:j,anchorEl:o.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(I,{children:e.jsx(M,{onClickAway:C,children:e.jsx(S,{onClick:P,children:k})})})})]})}d.propTypes={size:t.string,color:t.string,menu:t.oneOfType([t.node,t.array]),children:t.node,variant:t.oneOf(["outlined","contained"]),onClick:t.func,menuButtonProps:t.object};d.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:b,menuButtonProps:{}};d.Item=u;const L=m(A)`
2
2
  > .MuiButtonBase-root:last-of-type {
3
3
  min-width: 2em;
4
4
  padding-left: 0;
@@ -1,4 +1,4 @@
1
- import{bJ as Vc,j as h,P as E,n as D0,C as bM,r as V,eZ as tb,cJ as Cc,cO as qb,k as gz,g as rb,J as Qz,cy as Pc,$ as Fc,e_ as jc,eA as Yc,dt as Ic,du as Uc,e$ as Hc,f0 as Kc,m as Qc,X as Jc,aK as $c,aL as Zc,f1 as MA,eD as wz,bb as bA,ez as zA,s as pA}from"./index-D8jEuOKc.js";import{j as OA}from"./url-join-gOj2D4JC.js";import{S as h2}from"./Skeleton-DkInRABR.js";import{C as oA}from"./Close-Yb6PTPgZ.js";import{l as cA}from"./lottie-C3nxmlxK.js";const AA=Vc([h.jsx("circle",{cx:"12",cy:"19",r:"2"},"0"),h.jsx("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");function nb({value:M,size:z,style:O,...o}){return h.jsxs(eA,{style:{width:z,height:z,...O},...o,children:[h.jsx(bM,{variant:"determinate",role:"progressbar",value:100,size:z,"aria-label":"decorative progress bar",thickness:10,style:{color:"#dddddd"}}),h.jsx(bM,{variant:"determinate",value:M,role:"progressbar",size:z,thickness:10,"aria-label":"main progress bar"})]})}nb.propTypes={value:E.number.isRequired,size:E.number,style:E.object};nb.defaultProps={size:10,style:{}};const eA=D0.span`
1
+ import{bJ as Vc,j as h,P as E,n as D0,C as bM,r as V,eZ as tb,cJ as Cc,cO as qb,k as gz,g as rb,J as Qz,cy as Pc,$ as Fc,e_ as jc,eA as Yc,dt as Ic,du as Uc,e$ as Hc,f0 as Kc,m as Qc,X as Jc,aK as $c,aL as Zc,f1 as MA,eD as wz,bb as bA,ez as zA,s as pA}from"./index-BdODRvyL.js";import{j as OA}from"./url-join-C4mC0iDe.js";import{S as h2}from"./Skeleton-CzjJPNB7.js";import{C as oA}from"./Close-DrkkcxlK.js";import{l as cA}from"./lottie-BM_265d4.js";const AA=Vc([h.jsx("circle",{cx:"12",cy:"19",r:"2"},"0"),h.jsx("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");function nb({value:M,size:z,style:O,...o}){return h.jsxs(eA,{style:{width:z,height:z,...O},...o,children:[h.jsx(bM,{variant:"determinate",role:"progressbar",value:100,size:z,"aria-label":"decorative progress bar",thickness:10,style:{color:"#dddddd"}}),h.jsx(bM,{variant:"determinate",value:M,role:"progressbar",size:z,thickness:10,"aria-label":"main progress bar"})]})}nb.propTypes={value:E.number.isRequired,size:E.number,style:E.object};nb.defaultProps={size:10,style:{}};const eA=D0.span`
2
2
  display: inline-block;
3
3
  position: relative;
4
4
  > * {
@@ -1,4 +1,4 @@
1
- import{r as H,j as o,fw as ho,ch as Ye,fx as go,aK as yr,aL as vr,fe as dt,Q as J,as as br,ax as Ke,m as xe,dW as yo,d1 as Hr,fy as vo,t as ke,fz as xr,fA as bo,aG as xo,cg as wo,dZ as ir,S as jt,eE as _n,eH as Ct,fB as mt,eV as Ce,fC as Eo,fk as Nn,fD as jo,fE as So,fl as Ln,fF as wr,fG as Ao,fH as Po,fI as Oo,fJ as Io,eD as ar,g as Ro,cO as Gr,eK as To,N as Co,bl as Ne,aO as Bn,U as St,eL as Do,fK as Er,at as ht,D as Ze,B as Ae,C as ot,x as jr,K as nt,M as Xe,P as $,fL as _o,k as sr,aU as No,y as Lo,z as Bo,n as Le,fd as ko,f as gt,ac as Dt,V as Fe,cb as Qe,E as it,fM as Uo,b as Je,d5 as qo,v as kn,H as Se,q as cr,W as At,cd as Fo,fN as Ko,fO as Un,aQ as Mo,aD as $o,a8 as zo,cA as Vo,a2 as Wo,bp as Ho,aZ as Go,a_ as Yo,R as Zo}from"./index-D8jEuOKc.js";import{c as Jo}from"./index-BmM7M1I1.js";import{d as Pt}from"./Add-DaKGD4dI.js";import{d as Xo}from"./Loop-BuLkY4qW.js";import{d as Qo}from"./ViewList-5t3FBolC.js";import{L as ei,S as ti,d as qn}from"./list-header-dggL7_n2.js";import{D as Sr,g as ri}from"./index-UkVmuOk4.js";import"./index-ePYaxWaQ.js";import{c as qt,U as Ft,d as Fn}from"./resource-dialog-D-vI8e9q.js";import{T as ni}from"./index-BZ5mGJWw.js";import{E as Kn}from"./index-DK-C26MA.js";import"./index-CNUQDecb.js";import"./index-Cw0JQB9z.js";import{l as Mn}from"./index-B1dhqxPU.js";import{o as $n}from"./index-ZG7jWpak.js";import{W as zn}from"./url-evaluation-DRU1r0m1.js";import{a as $e}from"./team-BOnxiYnY.js";import{u as Vn}from"./blocklet-_qJbakx7.js";import{C as _t}from"./click-to-copy-DLjgvWtN.js";import{F as lr,S as ur}from"./Select-DsA6mJ7A.js";import{I as fr}from"./InputLabel-x5fGAphs.js";import{T as Wn}from"./TextField-CRqdsKdk.js";import{I as dr}from"./index-zAZnE_sV.js";import{b as oi}from"./sdk-BqXPS3TR.js";import{d as ii}from"./Delete-DUmhYiAq.js";import{A as ai}from"./actions-BkAN9H2U.js";import{S as si}from"./shorten-label-CBdfm00-.js";var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});var Hn=Ar.default=void 0;ci(H);var tt=o;function ci(e){return e&&e.__esModule?e:{default:e}}function Yr(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 Zr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yr(Object(r),!0).forEach(function(n){li(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function li(e,t,r){return(t=ui(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){var t=fi(e,"string");return typeof t=="symbol"?t:t+""}function fi(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 Pr=function(t){return(0,tt.jsxs)("svg",Zr(Zr({},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"})})})]}))};Pr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};Pr.displayName="person";Hn=Ar.default=Pr;var Et={},di=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Gn="%[a-f0-9]{2}",Jr=new RegExp("("+Gn+")|([^%]+?)","gi"),Xr=new RegExp("("+Gn+")+","gi");function pr(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([],pr(r),pr(n))}function pi(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Jr)||[],r=1;r<t.length;r++)e=pr(t,r).join(""),t=e.match(Jr)||[];return e}}function mi(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Xr.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=pi(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Xr.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 hi=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 mi(e)}},gi=(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)]},yi=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=di,r=hi,n=gi,s=yi,u=c=>c==null;function p(c){switch(c.arrayFormat){case"index":return i=>(a,f)=>{const b=a.length;return f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(i,c),"[",b,"]"].join("")]:[...a,[E(i,c),"[",E(b,c),"]=",E(f,c)].join("")]};case"bracket":return i=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(i,c),"[]"].join("")]:[...a,[E(i,c),"[]=",E(f,c)].join("")];case"comma":case"separator":return i=>(a,f)=>f==null||f.length===0?a:a.length===0?[[E(i,c),"=",E(f,c)].join("")]:[[a,E(f,c)].join(c.arrayFormatSeparator)];default:return i=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,E(i,c)]:[...a,[E(i,c),"=",E(f,c)].join("")]}}function y(c){let i;switch(c.arrayFormat){case"index":return(a,f,b)=>{if(i=/\[(\d*)\]$/.exec(a),a=a.replace(/\[\d*\]$/,""),!i){b[a]=f;return}b[a]===void 0&&(b[a]={}),b[a][i[1]]=f};case"bracket":return(a,f,b)=>{if(i=/(\[\])$/.exec(a),a=a.replace(/\[\]$/,""),!i){b[a]=f;return}if(b[a]===void 0){b[a]=[f];return}b[a]=[].concat(b[a],f)};case"comma":case"separator":return(a,f,b)=>{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 L=I||j?f.split(c.arrayFormatSeparator).map(z=>d(z,c)):f===null?f:d(f,c);b[a]=L};default:return(a,f,b)=>{if(b[a]===void 0){b[a]=f;return}b[a]=[].concat(b[a],f)}}}function w(c){if(typeof c!="string"||c.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function E(c,i){return i.encode?i.strict?t(c):encodeURIComponent(c):c}function d(c,i){return i.decode?r(c):c}function O(c){return Array.isArray(c)?c.sort():typeof c=="object"?O(Object.keys(c)).sort((i,a)=>Number(i)-Number(a)).map(i=>c[i]):c}function x(c){const i=c.indexOf("#");return i!==-1&&(c=c.slice(0,i)),c}function A(c){let i="";const a=c.indexOf("#");return a!==-1&&(i=c.slice(a)),i}function S(c){c=x(c);const i=c.indexOf("?");return i===-1?"":c.slice(i+1)}function N(c,i){return i.parseNumbers&&!Number.isNaN(Number(c))&&typeof c=="string"&&c.trim()!==""?c=Number(c):i.parseBooleans&&c!==null&&(c.toLowerCase()==="true"||c.toLowerCase()==="false")&&(c=c.toLowerCase()==="true"),c}function P(c,i){i=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},i),w(i.arrayFormatSeparator);const a=y(i),f=Object.create(null);if(typeof c!="string"||(c=c.trim().replace(/^[?#&]/,""),!c))return f;for(const b of c.split("&")){if(b==="")continue;let[I,j]=n(i.decode?b.replace(/\+/g," "):b,"=");j=j===void 0?null:["comma","separator"].includes(i.arrayFormat)?j:d(j,i),a(d(I,i),j,f)}for(const b of Object.keys(f)){const I=f[b];if(typeof I=="object"&&I!==null)for(const j of Object.keys(I))I[j]=N(I[j],i);else f[b]=N(I,i)}return i.sort===!1?f:(i.sort===!0?Object.keys(f).sort():Object.keys(f).sort(i.sort)).reduce((b,I)=>{const j=f[I];return j&&typeof j=="object"&&!Array.isArray(j)?b[I]=O(j):b[I]=j,b},Object.create(null))}e.extract=S,e.parse=P,e.stringify=(c,i)=>{if(!c)return"";i=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},i),w(i.arrayFormatSeparator);const a=j=>i.skipNull&&u(c[j])||i.skipEmptyString&&c[j]==="",f=p(i),b={};for(const j of Object.keys(c))a(j)||(b[j]=c[j]);const I=Object.keys(b);return i.sort!==!1&&I.sort(i.sort),I.map(j=>{const L=c[j];return L===void 0?"":L===null?E(j,i):Array.isArray(L)?L.reduce(f(j),[]).join("&"):E(j,i)+"="+E(L,i)}).filter(j=>j.length>0).join("&")},e.parseUrl=(c,i)=>{i=Object.assign({decode:!0},i);const[a,f]=n(c,"#");return Object.assign({url:a.split("?")[0]||"",query:P(S(c),i)},i&&i.parseFragmentIdentifier&&f?{fragmentIdentifier:d(f,i)}:{})},e.stringifyUrl=(c,i)=>{i=Object.assign({encode:!0,strict:!0},i);const a=x(c.url).split("?")[0]||"",f=e.extract(c.url),b=e.parse(f,{sort:!1}),I=Object.assign(b,c.query);let j=e.stringify(I,i);j&&(j=`?${j}`);let L=A(c.url);return c.fragmentIdentifier&&(L=`#${E(c.fragmentIdentifier,i)}`),`${a}${j}${L}`},e.pick=(c,i,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:f,query:b,fragmentIdentifier:I}=e.parseUrl(c,a);return e.stringifyUrl({url:f,query:s(b,i),fragmentIdentifier:I},a)},e.exclude=(c,i,a)=>{const f=Array.isArray(i)?b=>!i.includes(b):(b,I)=>!i(b,I);return e.pick(c,f,a)}})(Et);const ut=go,vi={parseNumbers:!1,parseBooleans:!1},bi={skipNull:!1,skipEmptyString:!1},xi=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:p}={},y=Object.assign(Object.assign({},vi),u),w=Object.assign(Object.assign({},bi),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),x=ho(),A=H.useRef(typeof e=="function"?e():e||{}),S=H.useMemo(()=>Et.parse(E.search,y),[E.search]),N=H.useMemo(()=>Object.assign(Object.assign({},A.current),S),[S]);return[N,Ye(c=>{const i=typeof c=="function"?c(N):c;x(),d&&d[s]({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),i),w)||"?"},E.state),O&&O({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),i),w)||"?"},{replace:s==="replace",state:E.state})})]},wi=xi;var Or={},Ei=vr;Object.defineProperty(Or,"__esModule",{value:!0});var Yn=Or.default=void 0,ji=Ei(yr()),Si=o;Yn=Or.default=(0,ji.default)((0,Si.jsx)("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}),"Verified");let Ai=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}};const Qr=e=>globalThis.DOMException===void 0?new Ai(e):new DOMException(e),en=e=>{const t=e.reason===void 0?Qr("This operation was aborted."):e.reason;return t instanceof Error?t:Qr(t)};async function Pi(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=[],w=[],E=new Map;let d=!1,O=!1,x=!1,A=0,S=0;const N=e[Symbol.iterator]===void 0?e[Symbol.asyncIterator]():e[Symbol.iterator](),P=i=>{d=!0,O=!0,p(i)};s&&(s.aborted&&P(en(s)),s.addEventListener("abort",()=>{P(en(s))}));const c=async()=>{if(O)return;const i=await N.next(),a=S;if(S++,i.done){if(x=!0,A===0&&!O){if(!n&&w.length>0){P(new AggregateError(w));return}if(O=!0,E.size===0){u(y);return}const f=[];for(const[b,I]of y.entries())E.get(b)!==tn&&f.push(I);u(f)}return}A++,(async()=>{try{const f=await i.value;if(O)return;const b=await t(f,a);b===tn&&E.set(a,b),y[a]=b,A--,await c()}catch(f){if(n)P(f);else{w.push(f),A--;try{await c()}catch(b){P(b)}}}})()};(async()=>{for(let i=0;i<r;i++){try{await c()}catch(a){P(a);break}if(x||d)break}})()})}const tn=Symbol("skip");async function Oi(e,t){return Pi(e,r=>r(),t)}function Ii({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 o.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[o.jsx(br,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),o.jsxs(J,{sx:{flex:1,overflow:"hidden"},children:[o.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[o.jsx(Ke,{title:t.fullName,children:o.jsx(xe,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),o.jsx(yo,{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:Hr.textBase,borderColor:Hr.strokeBorderStrong,backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),o.jsx(Ke,{title:t.email,children:o.jsx(xe,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const Ri={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?"}},Zn="Reserved IP",rn="ip-region-cache";async function Ti(e){const t=`https://ipapi.co/${e}/json/`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Zn):s=[n.country_name,n.region,n.city].filter(Boolean).join("/"),s}async function Ci(e){const t=`https://api.ip.sb/geoip/${e}`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Zn):s=[n.country,n.region,n.city].filter(Boolean).join("/"),s}async function Di(e){let t="",r={};try{const n=localStorage.getItem(rn);n&&(r=JSON.parse(n))}catch{r={}}if(r[e])t=r[e];else{try{t=await Ci(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!t)try{t=await Ti(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(rn,JSON.stringify(r))}return t}async function _i(e){return Promise.all(e.map(t=>Di(t)))}const nn=e=>new Ft(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Ft.BROWSER.NAME,Ft.BROWSER.VERSION]]}).getResult();function Ni({user:e,showAction:t=!0,showUser:r=!0}){const n=vo(),{locale:s}=ke(),{confirmApi:u,confirmHolder:p}=xr(),y=Ye((i,a={})=>bo(Ri,i,s,"en",a)),w=Ye(async()=>{let i=e==null?void 0:e.userSessions;i||(i=await qt.userSession.getUserSessions({did:e.did}));try{const f=i==null?void 0:i.map((j,L)=>[L,j.lastLoginIp]).filter(j=>!!j[1]),b=f==null?void 0:f.map(j=>j[1]),I=await _i(b);for(let j=0;j<I.length;j++){const L=I[j],z=f[j],X=i[z[0]];X.ipRegion=L}}catch(f){console.warn("Failed to convert ip to region"),console.error(f)}const a=new Date().getTime();return xo(i,f=>f.visitorId===n?-1:a-new Date(f.updatedAt).getTime())}),E=wo(w),d=dt(()=>E.data||[],[E.data]),O=dt(()=>d.reduce((i,a)=>(i[a.lastLoginIp]=a.ipRegion,i),{}),[d]),x=Ye(({visitorId:i})=>{u.open({title:y("logoutThisSession"),content:y("logoutThisSessionConfirm"),confirmButtonText:y("confirm"),cancelButtonText:y("cancel"),onConfirm:async()=>{await qt.user.logout({visitorId:i}),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 i=A.map(a=>()=>qt.user.logout({visitorId:a.visitorId}));await Oi(i,{concurrency:3,stopOnError:!1}),E.refresh(),u.close()}})}),N=[];t&&N.push(o.jsx(Ke,{title:y("logoutAllTips"),children:o.jsx(ir,{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:i=>{var b,I;const a=d[i],f=nn(a.ua);return o.jsx(J,{children:[(b=f.os)==null?void 0:b.name,(I=f.os)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("deviceType"),name:"deviceType",options:{customBodyRenderLite:i=>{var b,I;const a=d[i],f=nn(a.ua);return o.jsx(J,{children:[(b=f.browser)==null?void 0:b.name,(I=f.browser)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("walletOS"),name:"walletOS",options:{customBodyRenderLite:i=>{var f;const a=d[i];return o.jsx(J,{children:((f=a.extra)==null?void 0:f.walletOS)||y("unknown")})}}},r&&{label:y("user"),name:"user",options:{customBodyRenderLite:i=>{const a=d[i];return o.jsx(J,{sx:{minWidth:150,maxWidth:250},children:o.jsx(Ii,{sessionUser:a.user,user:e})})}}},{label:y("createdAt"),name:"createdAt",options:{customBodyRenderLite:i=>{const a=d[i];return a.createdAt?o.jsx(jt,{value:a.createdAt,relativeRange:3*86400*1e3,locale:s}):y("unknown")}}},{label:y("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:i=>{const a=d[i];return a.status==="expired"?y("expired"):o.jsx(jt,{value:a.updatedAt,relativeRange:3*86400*1e3,locale:s})}}},{label:y("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:i=>{const a=d[i];return o.jsx(J,{children:O[a.lastLoginIp]?o.jsxs(o.Fragment,{children:[o.jsx(xe,{variant:"body2",children:O[a.lastLoginIp]}),o.jsx(xe,{variant:"body2",color:"grey",children:a.lastLoginIp||y("unknown")})]}):o.jsx(xe,{children:a.lastLoginIp||y("unknown")})})}}},t&&{label:y("actions"),name:"actions",options:{customBodyRenderLite:i=>{const a=d[i];return o.jsx(J,{children:o.jsx(ir,{sx:{whiteSpace:"nowrap",fontSize:"12px",px:1},disabled:n===a.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>x({visitorId:a.visitorId}),children:a.status==="expired"?y("remove"):n===a.visitorId?y("currentSession"):y("logout")})})}}}].filter(Boolean);return o.jsxs(J,{sx:{".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"}},children:[p,o.jsx(Sr,{locale:s,data:d,columns:c,customButtons:N,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=_n,Ot=Ct,Ie=Mn;he.WalletType=Ie.DidType;function at(e,t="default"){const r=(0,Ie.DidType)(t),n=(0,Ot.getSigner)(r.pk),s=(0,Ot.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 w=s(u,1);return n.sign(w,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 w=y?s(u,1):u;return n.verify(w,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 w=y?n.ethHash(u):u;return n.ethRecover(w,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 Li(e,t="default"){const r=(0,Ie.DidType)(t),n={sk:e,pk:(0,Ot.getSigner)(r.pk).getPublicKey(e)};return at(n,r)}he.fromSecretKey=Li;function Bi(e,t="default"){return at({pk:e},(0,Ie.DidType)(t))}he.fromPublicKey=Bi;function ki(e){return at({address:(0,Ie.toAddress)(e)},(0,Ie.toTypeInfo)(e))}he.fromAddress=ki;function Ui(e="default"){const t=(0,Ie.DidType)(e),n=(0,Ot.getSigner)(t.pk).genKeyPair();return at({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=Ui;function qi(e){const t=Ie.DidType.fromJSON(e.type);return at(e,t)}he.fromJSON=qi;function Fi(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=Fi;var Kt={exports:{}},Mt={},on;function Jn(){if(on)return Mt;on=1;function e(i){"@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(i)}function t(i,a,f){return Object.defineProperty(i,"prototype",{writable:!1}),i}function r(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function n(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(a&&a.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),a&&s(i,a)}function s(i,a){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,I){return b.__proto__=I,b},s(i,a)}function u(i){var a=w();return function(){var b=E(i),I;if(a){var j=E(this).constructor;I=Reflect.construct(b,arguments,j)}else I=b.apply(this,arguments);return p(this,I)}}function p(i,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(i)}function y(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function w(){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(i){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},E(i)}var d={},O,x;function A(i,a,f){f||(f=Error);function b(j,L,z){return typeof a=="string"?a:a(j,L,z)}var I=function(j){n(z,j);var L=u(z);function z(X,Q,G){var ee;return r(this,z),ee=L.call(this,b(X,Q,G)),ee.code=i,ee}return t(z)}(f);d[i]=I}function S(i,a){if(Array.isArray(i)){var f=i.length;return i=i.map(function(b){return String(b)}),f>2?"one of ".concat(a," ").concat(i.slice(0,f-1).join(", "),", or ")+i[f-1]:f===2?"one of ".concat(a," ").concat(i[0]," or ").concat(i[1]):"of ".concat(a," ").concat(i[0])}else return"of ".concat(a," ").concat(String(i))}function N(i,a,f){return i.substr(0,a.length)===a}function P(i,a,f){return(f===void 0||f>i.length)&&(f=i.length),i.substring(f-a.length,f)===a}function c(i,a,f){return typeof f!="number"&&(f=0),f+a.length>i.length?!1:i.indexOf(a,f)!==-1}return A("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),A("ERR_INVALID_ARG_TYPE",function(i,a,f){O===void 0&&(O=mr()),O(typeof i=="string","'name' must be a string");var b;typeof a=="string"&&N(a,"not ")?(b="must not be",a=a.replace(/^not /,"")):b="must be";var I;if(P(i," argument"))I="The ".concat(i," ").concat(b," ").concat(S(a,"type"));else{var j=c(i,".")?"property":"argument";I='The "'.concat(i,'" ').concat(j," ").concat(b," ").concat(S(a,"type"))}return I+=". Received type ".concat(e(f)),I},TypeError),A("ERR_INVALID_ARG_VALUE",function(i,a){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";x===void 0&&(x=mt);var b=x.inspect(a);return b.length>128&&(b="".concat(b.slice(0,128),"...")),"The argument '".concat(i,"' ").concat(f,". Received ").concat(b)},TypeError),A("ERR_INVALID_RETURN_VALUE",function(i,a,f){var b;return f&&f.constructor&&f.constructor.name?b="instance of ".concat(f.constructor.name):b="type ".concat(e(f)),"Expected ".concat(i,' to be returned from the "').concat(a,'"')+" function but got ".concat(b,".")},TypeError),A("ERR_MISSING_ARGS",function(){for(var i=arguments.length,a=new Array(i),f=0;f<i;f++)a[f]=arguments[f];O===void 0&&(O=mr()),O(a.length>0,"At least one arg needs to be specified");var b="The ",I=a.length;switch(a=a.map(function(j){return'"'.concat(j,'"')}),I){case 1:b+="".concat(a[0]," argument");break;case 2:b+="".concat(a[0]," and ").concat(a[1]," arguments");break;default:b+=a.slice(0,I-1).join(", "),b+=", and ".concat(a[I-1]," arguments");break}return"".concat(b," must be specified")},TypeError),Mt.codes=d,Mt}var $t,an;function Ki(){if(an)return $t;an=1;function e(R,T){var F=Object.keys(R);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(R);T&&(D=D.filter(function(W){return Object.getOwnPropertyDescriptor(R,W).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 i(T)==="symbol"?T:String(T)}function y(R,T){if(i(R)!=="object"||R===null)return R;var F=R[Symbol.toPrimitive];if(F!==void 0){var D=F.call(R,T||"default");if(i(D)!=="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}function w(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),W;if(T){var g=c(this).constructor;W=Reflect.construct(D,arguments,g)}else W=D.apply(this,arguments);return d(this,W)}}function d(R,T){if(T&&(i(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 x(R){var T=typeof Map=="function"?new Map:void 0;return x=function(D){if(D===null||!N(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,W)}function W(){return A(D,arguments,c(this).constructor)}return W.prototype=Object.create(D.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),P(W,D)},x(R)}function A(R,T,F){return S()?A=Reflect.construct.bind():A=function(W,g,m){var v=[null];v.push.apply(v,g);var B=Function.bind.apply(W,v),_=new B;return m&&P(_,m.prototype),_},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 N(R){return Function.toString.call(R).indexOf("[native code]")!==-1}function P(R,T){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,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 i(R){"@babel/helpers - typeof";return i=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},i(R)}var a=mt,f=a.inspect,b=Jn(),I=b.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 L(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="",X="",Q="",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="",W="",g=0,m="",v=!1,B=de(R),_=B.split(`
1
+ import{r as H,j as o,fw as ho,ch as Ye,fx as go,aK as yr,aL as vr,fe as dt,Q as J,as as br,ax as Ke,m as xe,dW as yo,d1 as Hr,fy as vo,t as ke,fz as xr,fA as bo,aG as xo,cg as wo,dZ as ir,S as jt,eE as _n,eH as Ct,fB as mt,eV as Ce,fC as Eo,fk as Nn,fD as jo,fE as So,fl as Ln,fF as wr,fG as Ao,fH as Po,fI as Oo,fJ as Io,eD as ar,g as Ro,cO as Gr,eK as To,N as Co,bl as Ne,aO as Bn,U as St,eL as Do,fK as Er,at as ht,D as Ze,B as Ae,C as ot,x as jr,K as nt,M as Xe,P as $,fL as _o,k as sr,aU as No,y as Lo,z as Bo,n as Le,fd as ko,f as gt,ac as Dt,V as Fe,cb as Qe,E as it,fM as Uo,b as Je,d5 as qo,v as kn,H as Se,q as cr,W as At,cd as Fo,fN as Ko,fO as Un,aQ as Mo,aD as $o,a8 as zo,cA as Vo,a2 as Wo,bp as Ho,aZ as Go,a_ as Yo,R as Zo}from"./index-BdODRvyL.js";import{c as Jo}from"./index-f7uSWUvq.js";import{d as Pt}from"./Add-D_k4pI9W.js";import{d as Xo}from"./Loop-DKDVusA2.js";import{d as Qo}from"./ViewList-SsmYyAxZ.js";import{L as ei,S as ti,d as qn}from"./list-header-B-qlxkz3.js";import{D as Sr,g as ri}from"./index-XhvmS84N.js";import"./index-CFm2Y_4c.js";import{c as qt,U as Ft,d as Fn}from"./resource-dialog-BhhfM8h1.js";import{T as ni}from"./index-BJrQBQOR.js";import{E as Kn}from"./index-Cd5kGc_9.js";import"./index-C9LZUW4N.js";import"./index-BJ57e_hS.js";import{l as Mn}from"./index-B5kkYZq8.js";import{o as $n}from"./index-ZG7jWpak.js";import{W as zn}from"./url-evaluation-CeM0t6WP.js";import{a as $e}from"./team-CpKT_TRB.js";import{u as Vn}from"./blocklet-fx7ejRT1.js";import{C as _t}from"./click-to-copy-BVC4LJBm.js";import{F as lr,S as ur}from"./Select-CYNjgjo3.js";import{I as fr}from"./InputLabel-CbBV3Frl.js";import{T as Wn}from"./TextField-B8Ndn_Ly.js";import{I as dr}from"./index-DQOcXiyw.js";import{b as oi}from"./sdk-muHS20Ah.js";import{d as ii}from"./Delete-DzIkIBeP.js";import{A as ai}from"./actions-C-Plplr7.js";import{S as si}from"./shorten-label-Dc8UKk1Q.js";var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});var Hn=Ar.default=void 0;ci(H);var tt=o;function ci(e){return e&&e.__esModule?e:{default:e}}function Yr(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 Zr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yr(Object(r),!0).forEach(function(n){li(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function li(e,t,r){return(t=ui(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){var t=fi(e,"string");return typeof t=="symbol"?t:t+""}function fi(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 Pr=function(t){return(0,tt.jsxs)("svg",Zr(Zr({},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"})})})]}))};Pr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};Pr.displayName="person";Hn=Ar.default=Pr;var Et={},di=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Gn="%[a-f0-9]{2}",Jr=new RegExp("("+Gn+")|([^%]+?)","gi"),Xr=new RegExp("("+Gn+")+","gi");function pr(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([],pr(r),pr(n))}function pi(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Jr)||[],r=1;r<t.length;r++)e=pr(t,r).join(""),t=e.match(Jr)||[];return e}}function mi(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Xr.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=pi(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Xr.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 hi=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 mi(e)}},gi=(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)]},yi=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=di,r=hi,n=gi,s=yi,u=c=>c==null;function p(c){switch(c.arrayFormat){case"index":return i=>(a,f)=>{const b=a.length;return f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(i,c),"[",b,"]"].join("")]:[...a,[E(i,c),"[",E(b,c),"]=",E(f,c)].join("")]};case"bracket":return i=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,[E(i,c),"[]"].join("")]:[...a,[E(i,c),"[]=",E(f,c)].join("")];case"comma":case"separator":return i=>(a,f)=>f==null||f.length===0?a:a.length===0?[[E(i,c),"=",E(f,c)].join("")]:[[a,E(f,c)].join(c.arrayFormatSeparator)];default:return i=>(a,f)=>f===void 0||c.skipNull&&f===null||c.skipEmptyString&&f===""?a:f===null?[...a,E(i,c)]:[...a,[E(i,c),"=",E(f,c)].join("")]}}function y(c){let i;switch(c.arrayFormat){case"index":return(a,f,b)=>{if(i=/\[(\d*)\]$/.exec(a),a=a.replace(/\[\d*\]$/,""),!i){b[a]=f;return}b[a]===void 0&&(b[a]={}),b[a][i[1]]=f};case"bracket":return(a,f,b)=>{if(i=/(\[\])$/.exec(a),a=a.replace(/\[\]$/,""),!i){b[a]=f;return}if(b[a]===void 0){b[a]=[f];return}b[a]=[].concat(b[a],f)};case"comma":case"separator":return(a,f,b)=>{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 L=I||j?f.split(c.arrayFormatSeparator).map(z=>d(z,c)):f===null?f:d(f,c);b[a]=L};default:return(a,f,b)=>{if(b[a]===void 0){b[a]=f;return}b[a]=[].concat(b[a],f)}}}function w(c){if(typeof c!="string"||c.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function E(c,i){return i.encode?i.strict?t(c):encodeURIComponent(c):c}function d(c,i){return i.decode?r(c):c}function O(c){return Array.isArray(c)?c.sort():typeof c=="object"?O(Object.keys(c)).sort((i,a)=>Number(i)-Number(a)).map(i=>c[i]):c}function x(c){const i=c.indexOf("#");return i!==-1&&(c=c.slice(0,i)),c}function A(c){let i="";const a=c.indexOf("#");return a!==-1&&(i=c.slice(a)),i}function S(c){c=x(c);const i=c.indexOf("?");return i===-1?"":c.slice(i+1)}function N(c,i){return i.parseNumbers&&!Number.isNaN(Number(c))&&typeof c=="string"&&c.trim()!==""?c=Number(c):i.parseBooleans&&c!==null&&(c.toLowerCase()==="true"||c.toLowerCase()==="false")&&(c=c.toLowerCase()==="true"),c}function P(c,i){i=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},i),w(i.arrayFormatSeparator);const a=y(i),f=Object.create(null);if(typeof c!="string"||(c=c.trim().replace(/^[?#&]/,""),!c))return f;for(const b of c.split("&")){if(b==="")continue;let[I,j]=n(i.decode?b.replace(/\+/g," "):b,"=");j=j===void 0?null:["comma","separator"].includes(i.arrayFormat)?j:d(j,i),a(d(I,i),j,f)}for(const b of Object.keys(f)){const I=f[b];if(typeof I=="object"&&I!==null)for(const j of Object.keys(I))I[j]=N(I[j],i);else f[b]=N(I,i)}return i.sort===!1?f:(i.sort===!0?Object.keys(f).sort():Object.keys(f).sort(i.sort)).reduce((b,I)=>{const j=f[I];return j&&typeof j=="object"&&!Array.isArray(j)?b[I]=O(j):b[I]=j,b},Object.create(null))}e.extract=S,e.parse=P,e.stringify=(c,i)=>{if(!c)return"";i=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},i),w(i.arrayFormatSeparator);const a=j=>i.skipNull&&u(c[j])||i.skipEmptyString&&c[j]==="",f=p(i),b={};for(const j of Object.keys(c))a(j)||(b[j]=c[j]);const I=Object.keys(b);return i.sort!==!1&&I.sort(i.sort),I.map(j=>{const L=c[j];return L===void 0?"":L===null?E(j,i):Array.isArray(L)?L.reduce(f(j),[]).join("&"):E(j,i)+"="+E(L,i)}).filter(j=>j.length>0).join("&")},e.parseUrl=(c,i)=>{i=Object.assign({decode:!0},i);const[a,f]=n(c,"#");return Object.assign({url:a.split("?")[0]||"",query:P(S(c),i)},i&&i.parseFragmentIdentifier&&f?{fragmentIdentifier:d(f,i)}:{})},e.stringifyUrl=(c,i)=>{i=Object.assign({encode:!0,strict:!0},i);const a=x(c.url).split("?")[0]||"",f=e.extract(c.url),b=e.parse(f,{sort:!1}),I=Object.assign(b,c.query);let j=e.stringify(I,i);j&&(j=`?${j}`);let L=A(c.url);return c.fragmentIdentifier&&(L=`#${E(c.fragmentIdentifier,i)}`),`${a}${j}${L}`},e.pick=(c,i,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:f,query:b,fragmentIdentifier:I}=e.parseUrl(c,a);return e.stringifyUrl({url:f,query:s(b,i),fragmentIdentifier:I},a)},e.exclude=(c,i,a)=>{const f=Array.isArray(i)?b=>!i.includes(b):(b,I)=>!i(b,I);return e.pick(c,f,a)}})(Et);const ut=go,vi={parseNumbers:!1,parseBooleans:!1},bi={skipNull:!1,skipEmptyString:!1},xi=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:p}={},y=Object.assign(Object.assign({},vi),u),w=Object.assign(Object.assign({},bi),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),x=ho(),A=H.useRef(typeof e=="function"?e():e||{}),S=H.useMemo(()=>Et.parse(E.search,y),[E.search]),N=H.useMemo(()=>Object.assign(Object.assign({},A.current),S),[S]);return[N,Ye(c=>{const i=typeof c=="function"?c(N):c;x(),d&&d[s]({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),i),w)||"?"},E.state),O&&O({hash:E.hash,search:Et.stringify(Object.assign(Object.assign({},S),i),w)||"?"},{replace:s==="replace",state:E.state})})]},wi=xi;var Or={},Ei=vr;Object.defineProperty(Or,"__esModule",{value:!0});var Yn=Or.default=void 0,ji=Ei(yr()),Si=o;Yn=Or.default=(0,ji.default)((0,Si.jsx)("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}),"Verified");let Ai=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}};const Qr=e=>globalThis.DOMException===void 0?new Ai(e):new DOMException(e),en=e=>{const t=e.reason===void 0?Qr("This operation was aborted."):e.reason;return t instanceof Error?t:Qr(t)};async function Pi(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=[],w=[],E=new Map;let d=!1,O=!1,x=!1,A=0,S=0;const N=e[Symbol.iterator]===void 0?e[Symbol.asyncIterator]():e[Symbol.iterator](),P=i=>{d=!0,O=!0,p(i)};s&&(s.aborted&&P(en(s)),s.addEventListener("abort",()=>{P(en(s))}));const c=async()=>{if(O)return;const i=await N.next(),a=S;if(S++,i.done){if(x=!0,A===0&&!O){if(!n&&w.length>0){P(new AggregateError(w));return}if(O=!0,E.size===0){u(y);return}const f=[];for(const[b,I]of y.entries())E.get(b)!==tn&&f.push(I);u(f)}return}A++,(async()=>{try{const f=await i.value;if(O)return;const b=await t(f,a);b===tn&&E.set(a,b),y[a]=b,A--,await c()}catch(f){if(n)P(f);else{w.push(f),A--;try{await c()}catch(b){P(b)}}}})()};(async()=>{for(let i=0;i<r;i++){try{await c()}catch(a){P(a);break}if(x||d)break}})()})}const tn=Symbol("skip");async function Oi(e,t){return Pi(e,r=>r(),t)}function Ii({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 o.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[o.jsx(br,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),o.jsxs(J,{sx:{flex:1,overflow:"hidden"},children:[o.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[o.jsx(Ke,{title:t.fullName,children:o.jsx(xe,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),o.jsx(yo,{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:Hr.textBase,borderColor:Hr.strokeBorderStrong,backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),o.jsx(Ke,{title:t.email,children:o.jsx(xe,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const Ri={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?"}},Zn="Reserved IP",rn="ip-region-cache";async function Ti(e){const t=`https://ipapi.co/${e}/json/`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Zn):s=[n.country_name,n.region,n.city].filter(Boolean).join("/"),s}async function Ci(e){const t=`https://api.ip.sb/geoip/${e}`,n=await(await fetch(t)).json();let s="";return n.error?n.reserved&&(s=Zn):s=[n.country,n.region,n.city].filter(Boolean).join("/"),s}async function Di(e){let t="",r={};try{const n=localStorage.getItem(rn);n&&(r=JSON.parse(n))}catch{r={}}if(r[e])t=r[e];else{try{t=await Ci(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!t)try{t=await Ti(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(rn,JSON.stringify(r))}return t}async function _i(e){return Promise.all(e.map(t=>Di(t)))}const nn=e=>new Ft(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Ft.BROWSER.NAME,Ft.BROWSER.VERSION]]}).getResult();function Ni({user:e,showAction:t=!0,showUser:r=!0}){const n=vo(),{locale:s}=ke(),{confirmApi:u,confirmHolder:p}=xr(),y=Ye((i,a={})=>bo(Ri,i,s,"en",a)),w=Ye(async()=>{let i=e==null?void 0:e.userSessions;i||(i=await qt.userSession.getUserSessions({did:e.did}));try{const f=i==null?void 0:i.map((j,L)=>[L,j.lastLoginIp]).filter(j=>!!j[1]),b=f==null?void 0:f.map(j=>j[1]),I=await _i(b);for(let j=0;j<I.length;j++){const L=I[j],z=f[j],X=i[z[0]];X.ipRegion=L}}catch(f){console.warn("Failed to convert ip to region"),console.error(f)}const a=new Date().getTime();return xo(i,f=>f.visitorId===n?-1:a-new Date(f.updatedAt).getTime())}),E=wo(w),d=dt(()=>E.data||[],[E.data]),O=dt(()=>d.reduce((i,a)=>(i[a.lastLoginIp]=a.ipRegion,i),{}),[d]),x=Ye(({visitorId:i})=>{u.open({title:y("logoutThisSession"),content:y("logoutThisSessionConfirm"),confirmButtonText:y("confirm"),cancelButtonText:y("cancel"),onConfirm:async()=>{await qt.user.logout({visitorId:i}),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 i=A.map(a=>()=>qt.user.logout({visitorId:a.visitorId}));await Oi(i,{concurrency:3,stopOnError:!1}),E.refresh(),u.close()}})}),N=[];t&&N.push(o.jsx(Ke,{title:y("logoutAllTips"),children:o.jsx(ir,{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:i=>{var b,I;const a=d[i],f=nn(a.ua);return o.jsx(J,{children:[(b=f.os)==null?void 0:b.name,(I=f.os)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("deviceType"),name:"deviceType",options:{customBodyRenderLite:i=>{var b,I;const a=d[i],f=nn(a.ua);return o.jsx(J,{children:[(b=f.browser)==null?void 0:b.name,(I=f.browser)==null?void 0:I.version].filter(Boolean).join("/")||y("unknown")})}}},{label:y("walletOS"),name:"walletOS",options:{customBodyRenderLite:i=>{var f;const a=d[i];return o.jsx(J,{children:((f=a.extra)==null?void 0:f.walletOS)||y("unknown")})}}},r&&{label:y("user"),name:"user",options:{customBodyRenderLite:i=>{const a=d[i];return o.jsx(J,{sx:{minWidth:150,maxWidth:250},children:o.jsx(Ii,{sessionUser:a.user,user:e})})}}},{label:y("createdAt"),name:"createdAt",options:{customBodyRenderLite:i=>{const a=d[i];return a.createdAt?o.jsx(jt,{value:a.createdAt,relativeRange:3*86400*1e3,locale:s}):y("unknown")}}},{label:y("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:i=>{const a=d[i];return a.status==="expired"?y("expired"):o.jsx(jt,{value:a.updatedAt,relativeRange:3*86400*1e3,locale:s})}}},{label:y("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:i=>{const a=d[i];return o.jsx(J,{children:O[a.lastLoginIp]?o.jsxs(o.Fragment,{children:[o.jsx(xe,{variant:"body2",children:O[a.lastLoginIp]}),o.jsx(xe,{variant:"body2",color:"grey",children:a.lastLoginIp||y("unknown")})]}):o.jsx(xe,{children:a.lastLoginIp||y("unknown")})})}}},t&&{label:y("actions"),name:"actions",options:{customBodyRenderLite:i=>{const a=d[i];return o.jsx(J,{children:o.jsx(ir,{sx:{whiteSpace:"nowrap",fontSize:"12px",px:1},disabled:n===a.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>x({visitorId:a.visitorId}),children:a.status==="expired"?y("remove"):n===a.visitorId?y("currentSession"):y("logout")})})}}}].filter(Boolean);return o.jsxs(J,{sx:{".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"}},children:[p,o.jsx(Sr,{locale:s,data:d,columns:c,customButtons:N,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=_n,Ot=Ct,Ie=Mn;he.WalletType=Ie.DidType;function at(e,t="default"){const r=(0,Ie.DidType)(t),n=(0,Ot.getSigner)(r.pk),s=(0,Ot.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 w=s(u,1);return n.sign(w,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 w=y?s(u,1):u;return n.verify(w,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 w=y?n.ethHash(u):u;return n.ethRecover(w,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 Li(e,t="default"){const r=(0,Ie.DidType)(t),n={sk:e,pk:(0,Ot.getSigner)(r.pk).getPublicKey(e)};return at(n,r)}he.fromSecretKey=Li;function Bi(e,t="default"){return at({pk:e},(0,Ie.DidType)(t))}he.fromPublicKey=Bi;function ki(e){return at({address:(0,Ie.toAddress)(e)},(0,Ie.toTypeInfo)(e))}he.fromAddress=ki;function Ui(e="default"){const t=(0,Ie.DidType)(e),n=(0,Ot.getSigner)(t.pk).genKeyPair();return at({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=Ui;function qi(e){const t=Ie.DidType.fromJSON(e.type);return at(e,t)}he.fromJSON=qi;function Fi(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=Fi;var Kt={exports:{}},Mt={},on;function Jn(){if(on)return Mt;on=1;function e(i){"@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(i)}function t(i,a,f){return Object.defineProperty(i,"prototype",{writable:!1}),i}function r(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function n(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(a&&a.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),a&&s(i,a)}function s(i,a){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,I){return b.__proto__=I,b},s(i,a)}function u(i){var a=w();return function(){var b=E(i),I;if(a){var j=E(this).constructor;I=Reflect.construct(b,arguments,j)}else I=b.apply(this,arguments);return p(this,I)}}function p(i,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(i)}function y(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function w(){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(i){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},E(i)}var d={},O,x;function A(i,a,f){f||(f=Error);function b(j,L,z){return typeof a=="string"?a:a(j,L,z)}var I=function(j){n(z,j);var L=u(z);function z(X,Q,G){var ee;return r(this,z),ee=L.call(this,b(X,Q,G)),ee.code=i,ee}return t(z)}(f);d[i]=I}function S(i,a){if(Array.isArray(i)){var f=i.length;return i=i.map(function(b){return String(b)}),f>2?"one of ".concat(a," ").concat(i.slice(0,f-1).join(", "),", or ")+i[f-1]:f===2?"one of ".concat(a," ").concat(i[0]," or ").concat(i[1]):"of ".concat(a," ").concat(i[0])}else return"of ".concat(a," ").concat(String(i))}function N(i,a,f){return i.substr(0,a.length)===a}function P(i,a,f){return(f===void 0||f>i.length)&&(f=i.length),i.substring(f-a.length,f)===a}function c(i,a,f){return typeof f!="number"&&(f=0),f+a.length>i.length?!1:i.indexOf(a,f)!==-1}return A("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),A("ERR_INVALID_ARG_TYPE",function(i,a,f){O===void 0&&(O=mr()),O(typeof i=="string","'name' must be a string");var b;typeof a=="string"&&N(a,"not ")?(b="must not be",a=a.replace(/^not /,"")):b="must be";var I;if(P(i," argument"))I="The ".concat(i," ").concat(b," ").concat(S(a,"type"));else{var j=c(i,".")?"property":"argument";I='The "'.concat(i,'" ').concat(j," ").concat(b," ").concat(S(a,"type"))}return I+=". Received type ".concat(e(f)),I},TypeError),A("ERR_INVALID_ARG_VALUE",function(i,a){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";x===void 0&&(x=mt);var b=x.inspect(a);return b.length>128&&(b="".concat(b.slice(0,128),"...")),"The argument '".concat(i,"' ").concat(f,". Received ").concat(b)},TypeError),A("ERR_INVALID_RETURN_VALUE",function(i,a,f){var b;return f&&f.constructor&&f.constructor.name?b="instance of ".concat(f.constructor.name):b="type ".concat(e(f)),"Expected ".concat(i,' to be returned from the "').concat(a,'"')+" function but got ".concat(b,".")},TypeError),A("ERR_MISSING_ARGS",function(){for(var i=arguments.length,a=new Array(i),f=0;f<i;f++)a[f]=arguments[f];O===void 0&&(O=mr()),O(a.length>0,"At least one arg needs to be specified");var b="The ",I=a.length;switch(a=a.map(function(j){return'"'.concat(j,'"')}),I){case 1:b+="".concat(a[0]," argument");break;case 2:b+="".concat(a[0]," and ").concat(a[1]," arguments");break;default:b+=a.slice(0,I-1).join(", "),b+=", and ".concat(a[I-1]," arguments");break}return"".concat(b," must be specified")},TypeError),Mt.codes=d,Mt}var $t,an;function Ki(){if(an)return $t;an=1;function e(R,T){var F=Object.keys(R);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(R);T&&(D=D.filter(function(W){return Object.getOwnPropertyDescriptor(R,W).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 i(T)==="symbol"?T:String(T)}function y(R,T){if(i(R)!=="object"||R===null)return R;var F=R[Symbol.toPrimitive];if(F!==void 0){var D=F.call(R,T||"default");if(i(D)!=="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}function w(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),W;if(T){var g=c(this).constructor;W=Reflect.construct(D,arguments,g)}else W=D.apply(this,arguments);return d(this,W)}}function d(R,T){if(T&&(i(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 x(R){var T=typeof Map=="function"?new Map:void 0;return x=function(D){if(D===null||!N(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,W)}function W(){return A(D,arguments,c(this).constructor)}return W.prototype=Object.create(D.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),P(W,D)},x(R)}function A(R,T,F){return S()?A=Reflect.construct.bind():A=function(W,g,m){var v=[null];v.push.apply(v,g);var B=Function.bind.apply(W,v),_=new B;return m&&P(_,m.prototype),_},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 N(R){return Function.toString.call(R).indexOf("[native code]")!==-1}function P(R,T){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,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 i(R){"@babel/helpers - typeof";return i=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},i(R)}var a=mt,f=a.inspect,b=Jn(),I=b.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 L(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="",X="",Q="",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="",W="",g=0,m="",v=!1,B=de(R),_=B.split(`
2
2
  `),U=de(T).split(`
3
3
  `),K=0,oe="";if(F==="strictEqual"&&i(R)==="object"&&i(T)==="object"&&R!==null&&T!==null&&(F="strictEqualObject"),_.length===1&&U.length===1&&_[0]!==U[0]){var ue=_[0].length+U[0].length;if(ue<=we){if((i(R)!=="object"||R===null)&&(i(T)!=="object"||T===null)&&(R!==0||T!==0))return"".concat(ee[F],`
4
4
 
@@ -1 +1 @@
1
- import{g as y}from"./index-D8jEuOKc.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var n=this._errors[r],o=n.message,a=(e[o]||0)+1;e[o]=a,a>=t&&(i=n,t=a)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)r[n]=t[n];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],a=0;a<r.retries;a++)o.push(this.createTimeout(a,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(a,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var n=r.randomize?Math.random()+1:1,o=Math.round(n*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n){n=[];for(var o in t)typeof t[o]=="function"&&n.push(o)}for(var a=0;a<n.length;a++){var s=n[a],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
1
+ import{g as y}from"./index-BdODRvyL.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var n=this._errors[r],o=n.message,a=(e[o]||0)+1;e[o]=a,a>=t&&(i=n,t=a)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)r[n]=t[n];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],a=0;a<r.retries;a++)o.push(this.createTimeout(a,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(a,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var n=r.randomize?Math.random()+1:1,o=Math.round(n*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n){n=[];for(var o in t)typeof t[o]=="function"&&n.push(o)}for(var a=0;a<n.length;a++){var s=n[a],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
@@ -1,4 +1,4 @@
1
- import{g as O,_ as F,P as o,s as Q,j as e,I as Y,r as p,u as q,c as X,a as P,b as R,L as J,d as K,e as Z,f as ee,h as ne,W as T,i as te,T as j,k as ae,l as b,m as g,G as v,n as V,p as se,C as re,o as L}from"./index-D8jEuOKc.js";import{f as oe}from"./index-BojVbZw0.js";import{I as E}from"./index-zAZnE_sV.js";import{C as I}from"./click-to-copy-DLjgvWtN.js";import{w as ie}from"./withStyles-DM17B_mO.js";var le=F,ce=le(function(n,i,r){return n+(r?" ":"")+i.toLowerCase()}),me=ce;const de=O(me);function w({icon:n,value:i,name:r,url:x,animated:c,LinkComponent:l,prefix:d}){const s=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"metric__image",children:e.jsx(Y,{name:n,alt:typeof r=="string"?r:"",size:30,prefix:d,color:"#222222"})}),e.jsxs("div",{children:[e.jsx("div",{className:`metric__number ${c?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:i}}),e.jsx("div",{className:"metric__name",children:r})]})]});return e.jsx(ue,{children:x?e.jsx(l,{to:x,children:s}):s})}w.propTypes={icon:o.string.isRequired,value:o.oneOfType([o.string,o.number]).isRequired,name:o.node.isRequired,animated:o.bool,url:o.string,LinkComponent:o.any,prefix:o.string};w.defaultProps={animated:!1,url:"",LinkComponent:null,prefix:"/images"};const ue=Q("div")`
1
+ import{g as O,_ as F,P as o,s as Q,j as e,I as Y,r as p,u as q,c as X,a as P,b as R,L as J,d as K,e as Z,f as ee,h as ne,W as T,i as te,T as j,k as ae,l as b,m as g,G as v,n as V,p as se,C as re,o as L}from"./index-BdODRvyL.js";import{f as oe}from"./index-BojVbZw0.js";import{I as E}from"./index-DQOcXiyw.js";import{C as I}from"./click-to-copy-BVC4LJBm.js";import{w as ie}from"./withStyles-DeG1LPw1.js";var le=F,ce=le(function(n,i,r){return n+(r?" ":"")+i.toLowerCase()}),me=ce;const de=O(me);function w({icon:n,value:i,name:r,url:x,animated:c,LinkComponent:l,prefix:d}){const s=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"metric__image",children:e.jsx(Y,{name:n,alt:typeof r=="string"?r:"",size:30,prefix:d,color:"#222222"})}),e.jsxs("div",{children:[e.jsx("div",{className:`metric__number ${c?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:i}}),e.jsx("div",{className:"metric__name",children:r})]})]});return e.jsx(ue,{children:x?e.jsx(l,{to:x,children:s}):s})}w.propTypes={icon:o.string.isRequired,value:o.oneOfType([o.string,o.number]).isRequired,name:o.node.isRequired,animated:o.bool,url:o.string,LinkComponent:o.any,prefix:o.string};w.defaultProps={animated:!1,url:"",LinkComponent:null,prefix:"/images"};const ue=Q("div")`
2
2
  border-left: 1px solid ${n=>n.theme.typography.color.main};
3
3
  padding: 10px 0 10px 16px;
4
4
  @media (max-width: ${n=>n.theme.breakpoints.values.sm}px) {
@@ -1 +1 @@
1
- import{eV as b}from"./index-D8jEuOKc.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
1
+ import{eV as b}from"./index-BdODRvyL.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
@@ -1,4 +1,4 @@
1
- import{j as r,m as i,P as e,d5 as c,d6 as f,s as u}from"./index-D8jEuOKc.js";function l({name:t,nameFormatter:o,layout:a,children:n,valueComponent:s,nameWidth:m,...p}){return r.jsxs(d,{layout:a,width:m,...p,children:[r.jsx(i,{color:"textSecondary",className:"info-row__name",children:o(t)}),n&&r.jsx(i,{color:"textPrimary",component:s,className:"info-row__value",children:n})]})}l.propTypes={name:e.any.isRequired,layout:e.oneOf(["horizontal","vertical"]),children:e.any,nameFormatter:e.func,valueComponent:e.string,nameWidth:e.number};l.defaultProps={children:null,nameWidth:90,nameFormatter:t=>{const o=t.split(" ").map(a=>c(f(a))).join(" ");return typeof t=="string"?o:t},valueComponent:"div",layout:"horizontal"};const d=u("div")`
1
+ import{j as r,m as i,P as e,d5 as c,d6 as f,s as u}from"./index-BdODRvyL.js";function l({name:t,nameFormatter:o,layout:a,children:n,valueComponent:s,nameWidth:m,...p}){return r.jsxs(d,{layout:a,width:m,...p,children:[r.jsx(i,{color:"textSecondary",className:"info-row__name",children:o(t)}),n&&r.jsx(i,{color:"textPrimary",component:s,className:"info-row__value",children:n})]})}l.propTypes={name:e.any.isRequired,layout:e.oneOf(["horizontal","vertical"]),children:e.any,nameFormatter:e.func,valueComponent:e.string,nameWidth:e.number};l.defaultProps={children:null,nameWidth:90,nameFormatter:t=>{const o=t.split(" ").map(a=>c(f(a))).join(" ");return typeof t=="string"?o:t},valueComponent:"div",layout:"horizontal"};const d=u("div")`
2
2
  display: flex;
3
3
  flex-direction: ${t=>t.layout==="vertical"?"column":"row"};
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{r as P,j as t,t as J,u as Z,aj as De,cs as ee,N as Q,n as U,B as tt,P as de,aw as st,A as $e,ct as nt,w as at,cu as rt,ab as ot,av as ye,bm as je,q as K,b as oe,E as ue,M as ke,ag as lt,R as G,X,C as A,O as ze,i as pe,W as it,y as ct,z as Ee,af as dt,cv as ut,ad as pt,c7 as Te,cw as Ae,a9 as ht,H as mt,aC as le,J as ft,ai as gt,ak as vt,al as xt,am as bt,cx as yt,an as jt,K as kt,ao as wt,ap as q,aq as Pt,ar as Ct}from"./index-D8jEuOKc.js";import{L as Y,P as Me,A as _t,S as Lt,a as Bt}from"./index-D8MQ9ZVB.js";import{u as Ut,A as St,W as Ot,P as It,D as we,L as Pe,d as Ce,a as _e}from"./wait-container-BbsYBUX1.js";import{C as Ve,d as Nt,A as Rt}from"./agreement-mUf-NNwH.js";import{a as Dt}from"./api-DaQrSR6d.js";import{i as $t}from"./isEqual-Bqorz6b9.js";import{_ as zt}from"./useLocalStorage-VUDmm0Mk.js";import{t as Et}from"./schema-DeVB3oly.js";import{s as Tt}from"./logo-BKA11TRi.js";import"./url-join-gOj2D4JC.js";import"./Skeleton-DkInRABR.js";import"./Close-Yb6PTPgZ.js";import"./lottie-C3nxmlxK.js";import"./index-IhPupL71.js";import"./index-B1dhqxPU.js";import"./index-D7RYoUXY.js";var he={};Object.defineProperty(he,"__esModule",{value:!0});var Fe=he.default=void 0;At(P);var w=t;function At(e){return e&&e.__esModule?e:{default:e}}function Le(e,s){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);s&&(a=a.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,a)}return n}function Be(e){for(var s=1;s<arguments.length;s++){var n=arguments[s]!=null?arguments[s]:{};s%2?Le(Object(n),!0).forEach(function(a){Mt(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Mt(e,s,n){return(s=Vt(s))in e?Object.defineProperty(e,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[s]=n,e}function Vt(e){var s=Ft(e,"string");return typeof s=="symbol"?s:s+""}function Ft(e,s){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,s||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var me=function(s){return(0,w.jsxs)("svg",Be(Be({},s),{},{children:[(0,w.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,w.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,w.jsxs)("defs",{children:[(0,w.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,w.jsx)("stop",{stopColor:"#0FA4B7"}),(0,w.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,w.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,w.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,w.jsx)("stop",{stopColor:"#0FA4B7"}),(0,w.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,w.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};me.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};me.displayName="launcher-logo-notext";Fe=he.default=me;var fe={};Object.defineProperty(fe,"__esModule",{value:!0});var We=fe.default=void 0;Wt(P);var x=t;function Wt(e){return e&&e.__esModule?e:{default:e}}function Ue(e,s){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);s&&(a=a.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,a)}return n}function Se(e){for(var s=1;s<arguments.length;s++){var n=arguments[s]!=null?arguments[s]:{};s%2?Ue(Object(n),!0).forEach(function(a){Ht(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Ht(e,s,n){return(s=qt(s))in e?Object.defineProperty(e,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[s]=n,e}function qt(e){var s=Kt(e,"string");return typeof s=="symbol"?s:s+""}function Kt(e,s){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,s||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var ge=function(s){return(0,x.jsxs)("svg",Se(Se({},s),{},{children:[(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,x.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,x.jsxs)("defs",{children:[(0,x.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#0FA4B7"}),(0,x.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,x.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#0FA4B7"}),(0,x.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};ge.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};ge.displayName="launcher-logo";We=fe.default=ge;function Gt(){const{t:e}=J(),{info:s}=Z(),n=De(),a=decodeURIComponent(n.get("accessUrl")||""),{meta:c}=ee();return t.jsx(Xt,{children:t.jsx("div",{className:"body",children:t.jsx(Y,{variant:"success",title:Q.getDisplayName({meta:c},!0),subTitle:e("launchBlocklet.installSuccess",{serverName:s.name}),footer:t.jsx(Qt,{href:a,rel:"noreferrer","data-cy":"open-blocklet",children:e("common.open")})})})})}const Qt=U.a`
1
+ import{r as P,j as t,t as J,u as Z,aj as De,cs as ee,N as Q,n as U,B as tt,P as de,aw as st,A as $e,ct as nt,w as at,cu as rt,ab as ot,av as ye,bm as je,q as K,b as oe,E as ue,M as ke,ag as lt,R as G,X,C as A,O as ze,i as pe,W as it,y as ct,z as Ee,af as dt,cv as ut,ad as pt,c7 as Te,cw as Ae,a9 as ht,H as mt,aC as le,J as ft,ai as gt,ak as vt,al as xt,am as bt,cx as yt,an as jt,K as kt,ao as wt,ap as q,aq as Pt,ar as Ct}from"./index-BdODRvyL.js";import{L as Y,P as Me,A as _t,S as Lt,a as Bt}from"./index-D-HUAuYc.js";import{u as Ut,A as St,W as Ot,P as It,D as we,L as Pe,d as Ce,a as _e}from"./wait-container-BXER-iJR.js";import{C as Ve,d as Nt,A as Rt}from"./agreement-WG4qIDoW.js";import{a as Dt}from"./api-B-aFuxhe.js";import{i as $t}from"./isEqual-CNnvQgen.js";import{_ as zt}from"./useLocalStorage-Djk9mE88.js";import{t as Et}from"./schema-Bj-RxzG3.js";import{s as Tt}from"./logo-BKA11TRi.js";import"./url-join-C4mC0iDe.js";import"./Skeleton-CzjJPNB7.js";import"./Close-DrkkcxlK.js";import"./lottie-BM_265d4.js";import"./index-TrxAhXnV.js";import"./index-B5kkYZq8.js";import"./index-DL0tSq_I.js";var he={};Object.defineProperty(he,"__esModule",{value:!0});var Fe=he.default=void 0;At(P);var w=t;function At(e){return e&&e.__esModule?e:{default:e}}function Le(e,s){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);s&&(a=a.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,a)}return n}function Be(e){for(var s=1;s<arguments.length;s++){var n=arguments[s]!=null?arguments[s]:{};s%2?Le(Object(n),!0).forEach(function(a){Mt(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Mt(e,s,n){return(s=Vt(s))in e?Object.defineProperty(e,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[s]=n,e}function Vt(e){var s=Ft(e,"string");return typeof s=="symbol"?s:s+""}function Ft(e,s){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,s||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var me=function(s){return(0,w.jsxs)("svg",Be(Be({},s),{},{children:[(0,w.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,w.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,w.jsxs)("defs",{children:[(0,w.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,w.jsx)("stop",{stopColor:"#0FA4B7"}),(0,w.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,w.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,w.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,w.jsx)("stop",{stopColor:"#0FA4B7"}),(0,w.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,w.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};me.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};me.displayName="launcher-logo-notext";Fe=he.default=me;var fe={};Object.defineProperty(fe,"__esModule",{value:!0});var We=fe.default=void 0;Wt(P);var x=t;function Wt(e){return e&&e.__esModule?e:{default:e}}function Ue(e,s){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);s&&(a=a.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,a)}return n}function Se(e){for(var s=1;s<arguments.length;s++){var n=arguments[s]!=null?arguments[s]:{};s%2?Ue(Object(n),!0).forEach(function(a){Ht(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Ht(e,s,n){return(s=qt(s))in e?Object.defineProperty(e,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[s]=n,e}function qt(e){var s=Kt(e,"string");return typeof s=="symbol"?s:s+""}function Kt(e,s){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,s||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var ge=function(s){return(0,x.jsxs)("svg",Se(Se({},s),{},{children:[(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,x.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,x.jsxs)("defs",{children:[(0,x.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#0FA4B7"}),(0,x.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,x.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#0FA4B7"}),(0,x.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};ge.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};ge.displayName="launcher-logo";We=fe.default=ge;function Gt(){const{t:e}=J(),{info:s}=Z(),n=De(),a=decodeURIComponent(n.get("accessUrl")||""),{meta:c}=ee();return t.jsx(Xt,{children:t.jsx("div",{className:"body",children:t.jsx(Y,{variant:"success",title:Q.getDisplayName({meta:c},!0),subTitle:e("launchBlocklet.installSuccess",{serverName:s.name}),footer:t.jsx(Qt,{href:a,rel:"noreferrer","data-cy":"open-blocklet",children:e("common.open")})})})})}const Qt=U.a`
2
2
  display: block;
3
3
  height: 36px;
4
4
  color: ${e=>e.theme.palette.primary.main};
@@ -1,4 +1,4 @@
1
- import{u as R,j as o,C,aw as F,cz as T,A as b,t as W,ct as D,r,aU as _,k as d,q as x,ak as k,ad as z,y as E,av as O,z as $,bk as q,n as A}from"./index-D8jEuOKc.js";import{I as K}from"./invitation-Cn2oy3yS.js";import"./index-CNUQDecb.js";import"./index-2il1V33n.js";import"./sdk-BqXPS3TR.js";import"./CheckCircle-C9wvczio.js";import"./wrap-locale-BYabtx-L.js";function M(v){const{api:i,session:f}=F(),{info:s}=R(),c=T(),p=b(),{t:l,locale:m}=W(),{encryptKey:P,decrypt:N}=D(),[S,w]=r.useState(!1),h=r.useMemo(()=>new URLSearchParams(c.search).get("inviteId"),[c]),a=_(async()=>{if(!h)return null;let e;const{data:n}=await i.get("/api/invitation",{params:{inviteId:h}}),t=!!d(s,"ownerNft.did")&&n.role.name==="owner";if(t){const u=new URL(window.location.href);u.pathname=x(k(),"/api/did/invite/token"),u.searchParams.set("_ek_",P),u.searchParams.set("inviteId",h);const{data:j}=await i.get(u.href);e=j}return{invitation:n,nextWorkflow:e,needReceiveNFT:t}}),L=r.useCallback(()=>{w(!0)},[]),y=r.useCallback(()=>{if(a.error)throw a.error;return a.value.invitation},[a]),g=r.useCallback(async e=>{e&&z(N(e.sessionToken));const n=new URLSearchParams(c.search);n.delete("inviteId");const t=n.toString();await f.refresh(),p(`/${t&&`?${t}`}`,{replace:!0})},[c,p,f]);if(a.loading)return o.jsx(C,{});const I=()=>{const e=new URL(window.location.href);e.pathname=x(k(),"/api/did/invite/status"),e.searchParams.set("_t_",a.value.nextWorkflow.token),e.searchParams.set("locale",m);const n=setInterval(async()=>{const{data:t}=await i.get(e.href);t.status==="succeed"&&(clearInterval(n),f.updateConnectedInfo(t),g(t))},2e3)},U=()=>{w(!1)};return o.jsxs(B,{className:"page-invite",children:[d(a,"value.needReceiveNFT")&&o.jsx(E,{action:"login",popup:!0,className:"connect",open:S,locale:m,baseUrl:s.launcher.url,checkFn:O.create({baseURL:s.launcher.url}).get,onSuccess:I,onClose:U,checkTimeout:5*60*1e3,webWalletUrl:$(s),extraParams:{nw:d(a,"value.nextWorkflow.url")},messages:{title:l("invite.transferNFTDialog.title",{name:s.name}),scan:l("invite.transferNFTDialog.scan"),confirm:l("invite.transferNFTDialog.confirm"),success:l("invite.transferNFTDialog.success")},prefix:"/.well-known/service/api/did"}),o.jsx(K,{...v,getDataFn:y,createPassportSvg:e=>q(e,s),checkFn:i.get,onLoginSuccess:g,passportColor:"default",onReceive:d(a,"value.needReceiveNFT")?L:null})]})}const B=A.div`
1
+ import{u as R,j as o,C,aw as F,cz as T,A as b,t as W,ct as D,r,aU as _,k as d,q as x,ak as k,ad as z,y as E,av as O,z as $,bk as q,n as A}from"./index-BdODRvyL.js";import{I as K}from"./invitation-CdX27Uxz.js";import"./index-C9LZUW4N.js";import"./index-DcM9WqBq.js";import"./sdk-muHS20Ah.js";import"./CheckCircle-BebjtNY9.js";import"./wrap-locale-C0m1LlXs.js";function M(v){const{api:i,session:f}=F(),{info:s}=R(),c=T(),p=b(),{t:l,locale:m}=W(),{encryptKey:P,decrypt:N}=D(),[S,w]=r.useState(!1),h=r.useMemo(()=>new URLSearchParams(c.search).get("inviteId"),[c]),a=_(async()=>{if(!h)return null;let e;const{data:n}=await i.get("/api/invitation",{params:{inviteId:h}}),t=!!d(s,"ownerNft.did")&&n.role.name==="owner";if(t){const u=new URL(window.location.href);u.pathname=x(k(),"/api/did/invite/token"),u.searchParams.set("_ek_",P),u.searchParams.set("inviteId",h);const{data:j}=await i.get(u.href);e=j}return{invitation:n,nextWorkflow:e,needReceiveNFT:t}}),L=r.useCallback(()=>{w(!0)},[]),y=r.useCallback(()=>{if(a.error)throw a.error;return a.value.invitation},[a]),g=r.useCallback(async e=>{e&&z(N(e.sessionToken));const n=new URLSearchParams(c.search);n.delete("inviteId");const t=n.toString();await f.refresh(),p(`/${t&&`?${t}`}`,{replace:!0})},[c,p,f]);if(a.loading)return o.jsx(C,{});const I=()=>{const e=new URL(window.location.href);e.pathname=x(k(),"/api/did/invite/status"),e.searchParams.set("_t_",a.value.nextWorkflow.token),e.searchParams.set("locale",m);const n=setInterval(async()=>{const{data:t}=await i.get(e.href);t.status==="succeed"&&(clearInterval(n),f.updateConnectedInfo(t),g(t))},2e3)},U=()=>{w(!1)};return o.jsxs(B,{className:"page-invite",children:[d(a,"value.needReceiveNFT")&&o.jsx(E,{action:"login",popup:!0,className:"connect",open:S,locale:m,baseUrl:s.launcher.url,checkFn:O.create({baseURL:s.launcher.url}).get,onSuccess:I,onClose:U,checkTimeout:5*60*1e3,webWalletUrl:$(s),extraParams:{nw:d(a,"value.nextWorkflow.url")},messages:{title:l("invite.transferNFTDialog.title",{name:s.name}),scan:l("invite.transferNFTDialog.scan"),confirm:l("invite.transferNFTDialog.confirm"),success:l("invite.transferNFTDialog.success")},prefix:"/.well-known/service/api/did"}),o.jsx(K,{...v,getDataFn:y,createPassportSvg:e=>q(e,s),checkFn:i.get,onLoginSuccess:g,passportColor:"default",onReceive:d(a,"value.needReceiveNFT")?L:null})]})}const B=A.div`
2
2
  width: 100vw;
3
3
  height: 100%;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{A as l,bg as m,u as p,j as s,U as u}from"./index-D8jEuOKc.js";import{L as g,D as v}from"./download-BzRIfvfp.js";import{F as f,S as x}from"./Select-DsA6mJ7A.js";import"./ButtonGroup-CZh258li.js";import"./getValidReactChildren-DAG74NDJ.js";function k(){const i=l(),{name:a="abtnode"}=m(),{info:n}=p(),r=n.routing.provider,o=[{id:"abtnode",name:"Blocklet Server",types:["error","info","access","stdout","stderr","pm2"]},{id:"blocklet-services",name:"Blocklet Services",types:["error","info","access","stdout","stderr"]}];if(r){const e=`Service Gateway(${r})`;o.push({id:`service-gateway-${r}`,name:e,types:["error","access"]})}const c=e=>{i(`/logs/${e.target.value}`)},d=s.jsx(f,{sx:{minWidth:240},children:s.jsx(x,{value:a,onChange:c,size:"small",children:o.map(e=>s.jsx(u,{value:e.id,children:e.name},e.id))})}),t=o.find(e=>e.id===a)||o[0];return s.jsx(g,{name:t.name,logId:t.id,types:t.types,prepend:d,postpend:s.jsx(v,{id:n.did,name:"blocklet-server"})},t.id)}export{k as default};
1
+ import{A as l,bg as m,u as p,j as s,U as u}from"./index-BdODRvyL.js";import{L as g,D as v}from"./download-CS0Nwqbd.js";import{F as f,S as x}from"./Select-CYNjgjo3.js";import"./ButtonGroup-CES_ASkn.js";import"./getValidReactChildren-DP5iwnLz.js";function k(){const i=l(),{name:a="abtnode"}=m(),{info:n}=p(),r=n.routing.provider,o=[{id:"abtnode",name:"Blocklet Server",types:["error","info","access","stdout","stderr","pm2"]},{id:"blocklet-services",name:"Blocklet Services",types:["error","info","access","stdout","stderr"]}];if(r){const e=`Service Gateway(${r})`;o.push({id:`service-gateway-${r}`,name:e,types:["error","access"]})}const c=e=>{i(`/logs/${e.target.value}`)},d=s.jsx(f,{sx:{minWidth:240},children:s.jsx(x,{value:a,onChange:c,size:"small",children:o.map(e=>s.jsx(u,{value:e.id,children:e.name},e.id))})}),t=o.find(e=>e.id===a)||o[0];return s.jsx(g,{name:t.name,logId:t.id,types:t.types,prepend:d,postpend:s.jsx(v,{id:n.did,name:"blocklet-server"})},t.id)}export{k as default};
@@ -1 +1 @@
1
- import{P as s,j as t,B as i,gl as r}from"./index-D8jEuOKc.js";function n({children:e,...o}){return t.jsxs(i,{color:"did",variant:"contained",...o,children:[t.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),t.jsx(r,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}n.propTypes={children:s.any};n.defaultProps={children:""};export{n as C};
1
+ import{P as s,j as t,B as i,gk as r}from"./index-BdODRvyL.js";function n({children:e,...o}){return t.jsxs(i,{color:"did",variant:"contained",...o,children:[t.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),t.jsx(r,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}n.propTypes={children:s.any};n.defaultProps={children:""};export{n as C};