@abtnode/blocklet-services 1.16.44-beta-20250518-020443-77ba168f → 1.16.44-beta-20250520-104453-912ed737

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 (175) hide show
  1. package/dist/assets/{AdapterDayjs-YbaNvT9I.js → AdapterDayjs-Bck9Dv3l.js} +1 -1
  2. package/dist/assets/{ArrowDropDown-xgs4N3Rf.js → ArrowDropDown-BleCy3ti.js} +1 -1
  3. package/dist/assets/{CheckCircle-JXD6tKIa.js → CheckCircle-XrJDG94y.js} +1 -1
  4. package/dist/assets/{ChevronLeft-D0eko_T8.js → ChevronLeft-BlDLI-Qo.js} +1 -1
  5. package/dist/assets/{ChevronRight-CQY9Ni7X.js → ChevronRight-DkPaON7R.js} +1 -1
  6. package/dist/assets/{DeleteOutline-BEGOj_wq.js → DeleteOutline-Cj7UhBbF.js} +1 -1
  7. package/dist/assets/{Done-BUJJNjlP.js → Done-UEZFWnHj.js} +1 -1
  8. package/dist/assets/{Download-DdZEsxmZ.js → Download-CsoZ8yOi.js} +1 -1
  9. package/dist/assets/{Edit-vxeVwrqO.js → Edit-Bj4m2hpD.js} +1 -1
  10. package/dist/assets/{Error-C-RD4e9g.js → Error-BwUoSWOt.js} +1 -1
  11. package/dist/assets/{ExpandLess-CmqG9SE7.js → ExpandLess-CjIzahHO.js} +1 -1
  12. package/dist/assets/{Google-B7PA4qF8.js → Google-BON6upKi.js} +1 -1
  13. package/dist/assets/{InfoOutlined-BIr5nkjV.js → InfoOutlined-uoMMChNE.js} +1 -1
  14. package/dist/assets/{Launch-KvZQI_SA.js → Launch-rj4Kr2rA.js} +1 -1
  15. package/dist/assets/{LaunchOutlined-ClxZU_tj.js → LaunchOutlined-0gUfY-5D.js} +1 -1
  16. package/dist/assets/{MoreHoriz-H8rabTmY.js → MoreHoriz-3SNxR36h.js} +1 -1
  17. package/dist/assets/{PlayArrow-CmxnItFZ.js → PlayArrow-BHO_DqT2.js} +1 -1
  18. package/dist/assets/{TuneOutlined-DmhFMgM-.js → TuneOutlined-BvtfOd23.js} +1 -1
  19. package/dist/assets/{ViewList-DXk3qGFU.js → ViewList-BvucdDXZ.js} +1 -1
  20. package/dist/assets/{access-control-DupKwlXi.js → access-control-C9ZsDLlM.js} +1 -1
  21. package/dist/assets/{actions-V9hjjowb.js → actions-BWSNMC_c.js} +1 -1
  22. package/dist/assets/{add-component-core-hWyA0oyr.js → add-component-core-Dd9KPcvp.js} +15 -15
  23. package/dist/assets/add-resource-BHmsfuUO.js +1 -0
  24. package/dist/assets/{addon-DtaZ0TB3.js → addon-CaGk2PdY.js} +1 -1
  25. package/dist/assets/{advanced-EG10mbK7.js → advanced-DlILcrRl.js} +2 -2
  26. package/dist/assets/appearance-D1sGjeMk.js +1 -0
  27. package/dist/assets/{ar-2yn9i2dw.js → ar-C_INBNFD.js} +1 -1
  28. package/dist/assets/{audit-logs-WqpwTrlM.js → audit-logs-DfXh1JQZ.js} +3 -3
  29. package/dist/assets/{authorize-DEmcifx9.js → authorize-mEHpiCQH.js} +1 -1
  30. package/dist/assets/{base32-BPfgmw66.js → base32-BnPQ4q4v.js} +1 -1
  31. package/dist/assets/{branding-CJx0esf8.js → branding-BHziMdwk.js} +2 -2
  32. package/dist/assets/{branding-DFhJVvNX.js → branding-CbgACClH.js} +2 -2
  33. package/dist/assets/{bundle-avatar-BbIyJr7P.js → bundle-avatar-D7QQIJpo.js} +1 -1
  34. package/dist/assets/{button-m03GMAJs.js → button-DXOAf3Np.js} +1 -1
  35. package/dist/assets/{click-to-copy-DmYkL7Ui.js → click-to-copy-DtGgy9Ua.js} +1 -1
  36. package/dist/assets/{collapse-FsvH0gRe.js → collapse-iOiHn4dy.js} +1 -1
  37. package/dist/assets/complete-CKdswLjZ.js +39 -0
  38. package/dist/assets/{component-BK7TQ5JB.js → component-amc-22MQ.js} +1 -1
  39. package/dist/assets/{config-Dl_53WnU.js → config-B_jIm01w.js} +1 -1
  40. package/dist/assets/{config-Cc-40NNR.js → config-D3UduD_R.js} +2 -2
  41. package/dist/assets/{config-navigation-DH93rn-r.js → config-navigation-PoVJgHNU.js} +3 -3
  42. package/dist/assets/{config-space-CxEu1ku3.js → config-space-D-DWHYER.js} +1 -1
  43. package/dist/assets/{confirm-DFwkkng7.js → confirm-DaR0Yx39.js} +1 -1
  44. package/dist/assets/{connect-tnlrEGOa.js → connect-CVfkW49h.js} +1 -1
  45. package/dist/assets/connect-CvEHPjqh.js +5 -0
  46. package/dist/assets/{connect-to-jqzhxL2-.js → connect-to-DrhAN5Nn.js} +1 -1
  47. package/dist/assets/dashboard-B_QqB4aw.js +239 -0
  48. package/dist/assets/{de-CEKbJD3-.js → de-EYXdEi3Y.js} +1 -1
  49. package/dist/assets/{delete-confirm-cVLum8Er.js → delete-confirm-DHB0S_Co.js} +1 -1
  50. package/dist/assets/{did-address-BI9LYTx-.js → did-address-mv0Qw7hC.js} +1 -1
  51. package/dist/assets/domain-BR9srj-p.js +9 -0
  52. package/dist/assets/domain-action-card-DtwNOaxH.js +28 -0
  53. package/dist/assets/domains-Bg_t1pz-.js +1 -0
  54. package/dist/assets/dot-D3X4DSlo.js +7 -0
  55. package/dist/assets/{email-9P_7A90f.js → email-DiuMAA8U.js} +2 -2
  56. package/dist/assets/{es-dvMygD-W.js → es-3jqVamM8.js} +1 -1
  57. package/dist/assets/{exchange-passport-CfsGf2j7.js → exchange-passport-Bcw--2wm.js} +1 -1
  58. package/dist/assets/{fr-BvFd5xp9.js → fr-CUcR-yNv.js} +1 -1
  59. package/dist/assets/{fuel-DOrn9jKI.js → fuel-BitXgq2D.js} +1 -1
  60. package/dist/assets/{gen-access-key-Ddbn2A92.js → gen-access-key-CrHniwdW.js} +1 -1
  61. package/dist/assets/{get-safe-url-BcH2iukm.js → get-safe-url-BRocR2aJ.js} +1 -1
  62. package/dist/assets/{get-safe-url-OaLLn0UN.js → get-safe-url-DYtntqqo.js} +1 -1
  63. package/dist/assets/hi-DNldhMTl.js +5 -0
  64. package/dist/assets/{home-CJ28zTIJ.js → home-jh95SgT7.js} +1 -1
  65. package/dist/assets/{id-B1Mq_eQI.js → id-CmSIFhX-.js} +1 -1
  66. package/dist/assets/iframe-BlPuY8Pu.js +1 -0
  67. package/dist/assets/{index-BmR2oN4p.js → index-BDcuaL48.js} +5 -5
  68. package/dist/assets/{index-CeU2W9XY.js → index-BO7CJLK3.js} +8 -8
  69. package/dist/assets/{index-BQ8PIDUu.js → index-BWshat_T.js} +7 -7
  70. package/dist/assets/{index-BBKe69-Z.js → index-BXkKeWVW.js} +1 -1
  71. package/dist/assets/index-B_y3Xcdb.js +55 -0
  72. package/dist/assets/{index-Bi8r1T8R.js → index-Bi-YrbEk.js} +3 -3
  73. package/dist/assets/{index-D3iGbfL9.js → index-Bv8sds6g.js} +1 -1
  74. package/dist/assets/{index-DwswX2WL.js → index-C0w1ugDi.js} +1 -1
  75. package/dist/assets/{index-d-GNQQ24.js → index-CZOVduSH.js} +1 -1
  76. package/dist/assets/{index-DPmpjBeE.js → index-Cgdb1aGn.js} +4 -4
  77. package/dist/assets/{index-DfO-sKO8.js → index-CleFkLt8.js} +1 -1
  78. package/dist/assets/{index-DxVAvQEw.js → index-CqRVUIz0.js} +1 -1
  79. package/dist/assets/{index-DK8EXxrQ.js → index-D0TzEmpA.js} +2 -2
  80. package/dist/assets/{index-BoYbZj00.js → index-D3Od1Ju7.js} +9 -9
  81. package/dist/assets/{index-BEVde8cE.js → index-DO4zGWKz.js} +1 -1
  82. package/dist/assets/{index-D-mbJPLJ.js → index-DYlN9Brg.js} +1 -1
  83. package/dist/assets/{index-BXdw6keY.js → index-RDZtjGNC.js} +1 -1
  84. package/dist/assets/{index-BiIZw9KG.js → index-YuW8IExe.js} +7 -7
  85. package/dist/assets/index-c0hdujdn.js +10 -0
  86. package/dist/assets/{index-C2sWzOOC.js → index-hjv3dFXZ.js} +1 -1
  87. package/dist/assets/{invitation-DmNSx8lT.js → invitation-BtuI3wbb.js} +2 -2
  88. package/dist/assets/{invite-BRV4-5NB.js → invite-CelTXbxx.js} +1 -1
  89. package/dist/assets/{issue-passport-DVYjG5SL.js → issue-passport-DGinrMdr.js} +1 -1
  90. package/dist/assets/{item-F_qGx0RW.js → item-BhN-qZd_.js} +2 -2
  91. package/dist/assets/{ja-CCKVmbEX.js → ja-D-vAGmH7.js} +1 -1
  92. package/dist/assets/{ko-A_w8tIEg.js → ko-DpdamIdS.js} +1 -1
  93. package/dist/assets/{landing-page-CUrvCtHZ.js → landing-page-D_TLvQ3s.js} +1 -1
  94. package/dist/assets/{layout-Dkaou_pj.js → layout-0pbi4f6l.js} +1 -1
  95. package/dist/assets/list-C_1TcitB.js +236 -0
  96. package/dist/assets/{list-Dq129hfR.js → list-DKIkIMue.js} +2 -2
  97. package/dist/assets/localization-CpjVJ6VE.js +1 -0
  98. package/dist/assets/{log-C_uY3dq9.js → log-DnUF9orj.js} +1 -1
  99. package/dist/assets/{logger-BYg6vYBA.js → logger-jMgD3u5g.js} +1 -1
  100. package/dist/assets/{login-D8Wk5up1.js → login-Boq_S2S7.js} +1 -1
  101. package/dist/assets/{login-oauth-callback-DMou-vp-.js → login-oauth-callback-CuSXnq1m.js} +1 -1
  102. package/dist/assets/{logo-uploader-CHTXjHOW.js → logo-uploader-DtAT8iaJ.js} +4 -4
  103. package/dist/assets/{lost-passport-DlnOD9y-.js → lost-passport-DuJeKcGu.js} +1 -1
  104. package/dist/assets/{open-window-CuyFfntO.js → open-window-DXP1LoPD.js} +1 -1
  105. package/dist/assets/{overview-B451HiB6.js → overview-DHcHPq6g.js} +2 -2
  106. package/dist/assets/{page-header-DpNvpd52.js → page-header-PO_g4wSK.js} +1 -1
  107. package/dist/assets/{passport-item-BWCHjFYy.js → passport-item-NMGbWwTG.js} +1 -1
  108. package/dist/assets/{permission-Cnn9EYOW.js → permission-BfddnDBs.js} +1 -1
  109. package/dist/assets/{preferences-Cqm2olsT.js → preferences-Nt4L8Zgv.js} +1 -1
  110. package/dist/assets/{profile-embed-CcuuyEXm.js → profile-embed-C9nHKFrf.js} +1 -1
  111. package/dist/assets/pt-CEcOQeEC.js +5 -0
  112. package/dist/assets/publish-resource-BL83FldI.js +1 -0
  113. package/dist/assets/{react-beautiful-dnd.esm-cfY5JZV6.js → react-beautiful-dnd.esm-0e7VDGmi.js} +1 -1
  114. package/dist/assets/ru-83xhwzPD.js +5 -0
  115. package/dist/assets/runtime-FDEoUn52.js +1 -0
  116. package/dist/assets/sdk-CytUSheP.js +1 -0
  117. package/dist/assets/{security-C8vye2TA.js → security-BuN2nUoZ.js} +4 -4
  118. package/dist/assets/{session-B2z_IWIe.js → session-DUt5rVEy.js} +1 -1
  119. package/dist/assets/setup-BB0XLqW9.js +30 -0
  120. package/dist/assets/{spaces-DMMN97uo.js → spaces-MprwX1Iq.js} +1 -1
  121. package/dist/assets/start-C7CIzLBY.js +187 -0
  122. package/dist/assets/{starting-progress-DeFtXRb_.js → starting-progress-BJCVRFkE.js} +2 -2
  123. package/dist/assets/{status-C73nIKwK.js → status-Bo92foK0.js} +1 -1
  124. package/dist/assets/{step-actions-CqbOBcvS.js → step-actions-D__rjlW_.js} +1 -1
  125. package/dist/assets/{studio-CiFHrC57.js → studio-kVKG7W3n.js} +1 -1
  126. package/dist/assets/{switch-control-DnNP5DPe.js → switch-control-BgwZFVCJ.js} +1 -1
  127. package/dist/assets/{table-tips-hNIkakER.js → table-tips-nPiIcvAy.js} +1 -1
  128. package/dist/assets/th-BQLlyW1N.js +5 -0
  129. package/dist/assets/{traffic-B7XP49Y5.js → traffic-Cd92p-Xb.js} +2 -2
  130. package/dist/assets/{transfer-BfUTfR-d.js → transfer-U9z5JNMl.js} +1 -1
  131. package/dist/assets/{unsubscribe-Bf4dBSoS.js → unsubscribe-BmAshFCd.js} +1 -1
  132. package/dist/assets/use-blocklet-logo-3VH4RBTr.js +2 -0
  133. package/dist/assets/useAsync-CDjYBiwf.js +1 -0
  134. package/dist/assets/useAsync-dC0jHVWO.js +1 -0
  135. package/dist/assets/{useLocalStorage-BRd3tKN9.js → useLocalStorage-DotMjDUB.js} +1 -1
  136. package/dist/assets/{user-center-Ck0gNc-m.js → user-center-8aoMSkJ_.js} +2 -2
  137. package/dist/assets/{util-CVjZG67N.js → util-CiTimo-i.js} +1 -1
  138. package/dist/assets/{util-DWicJSOi.js → util-CuK9uaNS.js} +1 -1
  139. package/dist/assets/{vendor-arcblock-DPRICUXM.js → vendor-arcblock-Ca95GLVH.js} +31 -45
  140. package/dist/assets/{vendor-hooks-Zkb4Ilbj.js → vendor-hooks-DpwFseeF.js} +1 -1
  141. package/dist/assets/{vendor-ux-did-connect-Ck9lzrbN.js → vendor-ux-did-connect-D0L9YnHn.js} +6 -6
  142. package/dist/assets/vi-DgWAr6FA.js +5 -0
  143. package/dist/assets/wrap-locale-QBHz1ECC.js +1 -0
  144. package/dist/assets/{zh-Cti0XXui.js → zh-BL80PoOh.js} +2 -2
  145. package/dist/assets/{zh-tw-BLcDG99i.js → zh-tw-Dg5z1DFE.js} +1 -1
  146. package/dist/index.html +4 -4
  147. package/dist/service-worker.js +1 -1
  148. package/package.json +31 -31
  149. package/dist/assets/add-resource-BE6wXeqY.js +0 -1
  150. package/dist/assets/appearance-Czknho-C.js +0 -1
  151. package/dist/assets/complete-C834qh46.js +0 -39
  152. package/dist/assets/connect-CX2tLgwf.js +0 -5
  153. package/dist/assets/dashboard-Dc5xtJBc.js +0 -239
  154. package/dist/assets/domain-7fDuc1TD.js +0 -9
  155. package/dist/assets/domain-action-card-CoP_GfSR.js +0 -28
  156. package/dist/assets/domains-CGg1il1q.js +0 -1
  157. package/dist/assets/dot-BB5occkV.js +0 -7
  158. package/dist/assets/hi-C51yBXa5.js +0 -5
  159. package/dist/assets/iframe-D0kv9-rE.js +0 -1
  160. package/dist/assets/index-C26jJx3Z.js +0 -55
  161. package/dist/assets/index-DoCu_ga_.js +0 -10
  162. package/dist/assets/list-CUP3NH6M.js +0 -236
  163. package/dist/assets/localization-Cl5vfs2R.js +0 -1
  164. package/dist/assets/pt-7HHecjdA.js +0 -5
  165. package/dist/assets/publish-resource-BdSfAE92.js +0 -1
  166. package/dist/assets/ru-Bw8FVC4M.js +0 -5
  167. package/dist/assets/runtime-BKK1_RAt.js +0 -1
  168. package/dist/assets/sdk-CXaHNlMH.js +0 -1
  169. package/dist/assets/setup-CS2QWFMb.js +0 -30
  170. package/dist/assets/start-6o3_Gxa0.js +0 -187
  171. package/dist/assets/th-DyW-mYrC.js +0 -5
  172. package/dist/assets/use-blocklet-logo-Bv56-gH-.js +0 -2
  173. package/dist/assets/useAsync-DnXpD472.js +0 -1
  174. package/dist/assets/vi-bzer6J4H.js +0 -5
  175. package/dist/assets/wrap-locale-HcPVeI43.js +0 -1
@@ -1 +1 @@
1
- import{j as s,at as m,aa as r,T as u,ak as p,y as x}from"./vendor-mui-core-Bh-qMRq3.js";import{a as f,i as h,m as j}from"./vendor-hooks-Zkb4Ilbj.js";import{h as d}from"./vendor-react-DEoibe3W.js";import{j as y,aV as w,aW as C,a as v}from"./vendor-ux-did-connect-Ck9lzrbN.js";import{E as A}from"./vendor-arcblock-DPRICUXM.js";import{A as L}from"./vendor-utils-rHXShPKm.js";import"./lottie-web-jYmAQWuC.js";const M="authorization_response",E=C();function D(){const{t:e}=v(),[t]=d(),a=()=>{window.close()};return j(()=>{const i=t.get("state"),c=t.get("code"),n={type:M,response:{code:c}};if(window.opener)try{const o=new URL(i);window.opener.postMessage(n,o.origin),setTimeout(()=>{window.close()},2e3)}catch(o){console.error("Invalid login caller",o)}}),s.jsx(p,{severity:"success",children:s.jsxs(r,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",gap:1},children:[e("login.needManualClose"),s.jsx(r,{sx:{textAlign:"center"},children:s.jsx(x,{variant:"outlined",size:"small",onClick:a,children:e("login.closeWindow")})})]})})}function N(){var l;const{blocklet:e}=window,[t]=d(),a=t.get("error"),i=t.get("error_description"),c=t.get("state"),n=f({errorMesage:"",loading:!0});h(async()=>{if(a)n.errorMesage=i,n.loading=!1;else try{const g=new URL(c);(await E.federated.getTrustedDomains()).includes(g.hostname)||(n.errorMesage="Invalid login caller")}catch{n.errorMesage="Invalid login caller"}finally{n.loading=!1}},[a,i,c]);const o=L(y.WELLKNOWN_SERVICE_PATH_PREFIX,`/blocklet/logo?&version=${((l=e==null?void 0:e.meta)==null?void 0:l.version)||""}`);return s.jsx(m,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",justifyContent:"center",alignContent:"center"},children:s.jsxs(r,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:2,minHeight:"100vh",margin:"auto",paddingBottom:{sx:0,md:15}},children:[s.jsxs(r,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:.5},children:[s.jsx(r,{component:"img",src:o,alt:`${(e==null?void 0:e.appName)||"site"} logo`,sx:{width:80}}),s.jsx(u,{variant:"h6",component:"p",children:e==null?void 0:e.appName})]}),n.loading?n.errorMesage?s.jsx(A,{error:{message:n.errorMesage}}):s.jsx(D,{}):null,s.jsx(w,{sx:{mt:4}})]})})}export{N as default};
1
+ import{j as s,at as m,aa as r,T as u,ak as p,y as x}from"./vendor-mui-core-Bh-qMRq3.js";import{a as f,i as h,m as j}from"./vendor-hooks-DpwFseeF.js";import{h as d}from"./vendor-react-DEoibe3W.js";import{j as y,aV as w,aW as C,a as v}from"./vendor-ux-did-connect-D0L9YnHn.js";import{E as A}from"./vendor-arcblock-Ca95GLVH.js";import{A as L}from"./vendor-utils-rHXShPKm.js";import"./lottie-web-jYmAQWuC.js";const M="authorization_response",E=C();function D(){const{t:e}=v(),[t]=d(),a=()=>{window.close()};return j(()=>{const i=t.get("state"),c=t.get("code"),n={type:M,response:{code:c}};if(window.opener)try{const o=new URL(i);window.opener.postMessage(n,o.origin),setTimeout(()=>{window.close()},2e3)}catch(o){console.error("Invalid login caller",o)}}),s.jsx(p,{severity:"success",children:s.jsxs(r,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",gap:1},children:[e("login.needManualClose"),s.jsx(r,{sx:{textAlign:"center"},children:s.jsx(x,{variant:"outlined",size:"small",onClick:a,children:e("login.closeWindow")})})]})})}function N(){var l;const{blocklet:e}=window,[t]=d(),a=t.get("error"),i=t.get("error_description"),c=t.get("state"),n=f({errorMesage:"",loading:!0});h(async()=>{if(a)n.errorMesage=i,n.loading=!1;else try{const g=new URL(c);(await E.federated.getTrustedDomains()).includes(g.hostname)||(n.errorMesage="Invalid login caller")}catch{n.errorMesage="Invalid login caller"}finally{n.loading=!1}},[a,i,c]);const o=L(y.WELLKNOWN_SERVICE_PATH_PREFIX,`/blocklet/logo?&version=${((l=e==null?void 0:e.meta)==null?void 0:l.version)||""}`);return s.jsx(m,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",justifyContent:"center",alignContent:"center"},children:s.jsxs(r,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:2,minHeight:"100vh",margin:"auto",paddingBottom:{sx:0,md:15}},children:[s.jsxs(r,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:.5},children:[s.jsx(r,{component:"img",src:o,alt:`${(e==null?void 0:e.appName)||"site"} logo`,sx:{width:80}}),s.jsx(u,{variant:"h6",component:"p",children:e==null?void 0:e.appName})]}),n.loading?n.errorMesage?s.jsx(A,{error:{message:n.errorMesage}}):s.jsx(D,{}):null,s.jsx(w,{sx:{mt:4}})]})})}export{N as default};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Bi8r1T8R.js","assets/vendor-ux-did-connect-Ck9lzrbN.js","assets/vendor-react-DEoibe3W.js","assets/vendor-utils-rHXShPKm.js","assets/vendor-mui-core-Bh-qMRq3.js","assets/vendor-hooks-Zkb4Ilbj.js","assets/lottie-web-jYmAQWuC.js","assets/vendor-ux-did-connect-DpSGLE7B.css","assets/vendor-arcblock-DPRICUXM.js","assets/index-Bs1kxR8_.js","assets/index-BiIZw9KG.js","assets/index-DOq-_YXu.css","assets/index-DVQCgvFb.js","assets/index-AgKpYdvC.css"])))=>i.map(i=>d[i]);
2
- import{ah as s,aa as l,H as o,j as r}from"./vendor-mui-core-Bh-qMRq3.js";import{_ as E}from"./vendor-arcblock-DPRICUXM.js";import{r as h}from"./vendor-react-DEoibe3W.js";import{A as q,n as F}from"./vendor-utils-rHXShPKm.js";import{c as O}from"./index-DVQCgvFb.js";import{a as S}from"./vendor-ux-did-connect-Ck9lzrbN.js";const _=s.span`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Bi-YrbEk.js","assets/vendor-ux-did-connect-D0L9YnHn.js","assets/vendor-react-DEoibe3W.js","assets/vendor-utils-rHXShPKm.js","assets/vendor-mui-core-Bh-qMRq3.js","assets/vendor-hooks-DpwFseeF.js","assets/lottie-web-jYmAQWuC.js","assets/vendor-ux-did-connect-DpSGLE7B.css","assets/vendor-arcblock-Ca95GLVH.js","assets/index-Bs1kxR8_.js","assets/index-YuW8IExe.js","assets/index-DOq-_YXu.css","assets/index-DVQCgvFb.js","assets/index-AgKpYdvC.css"])))=>i.map(i=>d[i]);
2
+ import{ah as s,aa as l,H as o,j as r}from"./vendor-mui-core-Bh-qMRq3.js";import{_ as E}from"./vendor-arcblock-Ca95GLVH.js";import{r as h}from"./vendor-react-DEoibe3W.js";import{A as q,n as F}from"./vendor-utils-rHXShPKm.js";import{c as O}from"./index-DVQCgvFb.js";import{a as S}from"./vendor-ux-did-connect-D0L9YnHn.js";const _=s.span`
3
3
  color: ${e=>e.theme.palette.error.main};
4
4
  &::before {
5
5
  content: '*';
@@ -74,7 +74,7 @@ import{ah as s,aa as l,H as o,j as r}from"./vendor-mui-core-Bh-qMRq3.js";import{
74
74
  margin-top: -4px;
75
75
  }
76
76
  .placeholder {
77
- color: rgba(0, 0, 0, 0.23);
77
+ color: ${({theme:e})=>e.palette.text.secondary};
78
78
  }
79
79
  }
80
80
 
@@ -102,7 +102,7 @@ import{ah as s,aa as l,H as o,j as r}from"./vendor-mui-core-Bh-qMRq3.js";import{
102
102
  }
103
103
  }
104
104
  }
105
- `,C=h.lazy(()=>E(()=>import("./index-Bi8r1T8R.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])).then(e=>({default:e.Uploader}))),U="/blocklet/logo/upload",m=[".png",".jpg",".jpeg",".webp",".bmp",".ico"];function f({url:e,height:g,width:x,enabled:p,allowSVG:b,type:i,did:a,prefix:w,headers:v,aspectRatio:d,minWidth:k,minHeight:y,onUploaded:R,children:u}){const{t:$,locale:P}=S(),n=h.useRef(null),c=()=>{var t;(t=n.current)==null||t.open()},j=()=>{var t;R(),(t=n.current)==null||t.close()},z={cursor:p?"pointer":"default","&::after":{content:`"${$("common.switch")}"`}};return r.jsxs(M,{id:`uploader-${a}-${i}`,children:[r.jsx(C,{ref:n,locale:P,popup:!0,onUploadFinish:j,plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:q(w,U,i,a),disableMediaKitPrefix:!0,disableMediaKitStatus:!0},coreProps:{restrictions:{allowedFileExts:b?[...m,".svg"]:m,maxFileSize:1024*1024*5,maxNumberOfFiles:1}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!1,cropWidescreen:!1,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,autoCropArea:1,aspectRatio:d,initialAspectRatio:d,croppedCanvasOptions:{minWidth:k,minHeight:y}}},tusProps:{headers:v}}),u?r.jsx(l,{onClick:c,children:u}):r.jsx(l,{className:O("uploader-wrapper",p&&"enabled"),sx:z,onClick:c,children:r.jsx("img",{alt:i,src:e,style:{width:x,height:g}})})]},`uploader-${a}-${i}`)}f.propTypes={url:o.string.isRequired,type:o.oneOf(["square","rect","favicon","splash-portrait","splash-landscape","og-image"]).isRequired,did:o.string.isRequired,prefix:o.string.isRequired,headers:o.func,onUploaded:o.func,height:o.number,width:o.any,enabled:o.bool,allowSVG:o.bool,aspectRatio:o.number,minWidth:o.number,minHeight:o.number,children:o.node};f.defaultProps={height:80,width:"auto",enabled:!0,allowSVG:!0,headers:()=>({}),onUploaded:F,aspectRatio:1,minWidth:256,minHeight:256,children:null};const M=s.div`
105
+ `,C=h.lazy(()=>E(()=>import("./index-Bi-YrbEk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])).then(e=>({default:e.Uploader}))),U="/blocklet/logo/upload",m=[".png",".jpg",".jpeg",".webp",".bmp",".ico"];function f({url:e,height:x,width:g,enabled:p,allowSVG:b,type:i,did:a,prefix:w,headers:v,aspectRatio:d,minWidth:y,minHeight:k,onUploaded:$,children:c}){const{t:R,locale:P}=S(),n=h.useRef(null),u=()=>{var t;(t=n.current)==null||t.open()},j=()=>{var t;$(),(t=n.current)==null||t.close()},z={cursor:p?"pointer":"default","&::after":{content:`"${R("common.switch")}"`}};return r.jsxs(M,{id:`uploader-${a}-${i}`,children:[r.jsx(C,{ref:n,locale:P,popup:!0,onUploadFinish:j,plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:q(w,U,i,a),disableMediaKitPrefix:!0,disableMediaKitStatus:!0},coreProps:{restrictions:{allowedFileExts:b?[...m,".svg"]:m,maxFileSize:1024*1024*5,maxNumberOfFiles:1}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!1,cropWidescreen:!1,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,autoCropArea:1,aspectRatio:d,initialAspectRatio:d,croppedCanvasOptions:{minWidth:y,minHeight:k}}},tusProps:{headers:v}}),c?r.jsx(l,{onClick:u,children:c}):r.jsx(l,{className:O("uploader-wrapper",p&&"enabled"),sx:z,onClick:u,children:r.jsx("img",{alt:i,src:e,style:{width:g,height:x}})})]},`uploader-${a}-${i}`)}f.propTypes={url:o.string.isRequired,type:o.oneOf(["square","rect","favicon","splash-portrait","splash-landscape","og-image"]).isRequired,did:o.string.isRequired,prefix:o.string.isRequired,headers:o.func,onUploaded:o.func,height:o.number,width:o.any,enabled:o.bool,allowSVG:o.bool,aspectRatio:o.number,minWidth:o.number,minHeight:o.number,children:o.node};f.defaultProps={height:80,width:"auto",enabled:!0,allowSVG:!0,headers:()=>({}),onUploaded:F,aspectRatio:1,minWidth:256,minHeight:256,children:null};const M=s.div`
106
106
  .uploader-wrapper {
107
107
  display: inline-flex;
108
108
  position: relative;
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CPE8Apzb.js","assets/vendor-react-DEoibe3W.js"])))=>i.map(i=>d[i]);
2
- import{a9 as U,j as t,ah as M,H as v,v as H,aa as d,bc as B,T as I,bE as X,bF as G,bG as q,be as O,at as V}from"./vendor-mui-core-Bh-qMRq3.js";import{a as J,_ as Q,H as K}from"./vendor-arcblock-DPRICUXM.js";import{r as u}from"./vendor-react-DEoibe3W.js";import{d as Y}from"./CheckCircle-JXD6tKIa.js";import{d as Z}from"./ViewList-DXk3qGFU.js";import{r as ee,b1 as te,o as se,an as L,B as _,b0 as oe,a as ae}from"./vendor-ux-did-connect-Ck9lzrbN.js";import{d as ne}from"./Done-BUJJNjlP.js";import{a as re,w as ie}from"./vendor-hooks-Zkb4Ilbj.js";import{O as ce}from"./vendor-utils-rHXShPKm.js";import{W as le}from"./did-address-BI9LYTx-.js";import{w as pe}from"./wrap-locale-HcPVeI43.js";import{u as de}from"./use-passport-id-B-b-_oYF.js";import{i as $,S as ue,c as me,s as he,a as fe}from"./index-BiIZw9KG.js";import{g as xe}from"./get-safe-url-BcH2iukm.js";import"./lottie-web-jYmAQWuC.js";var k={},ge=U;Object.defineProperty(k,"__esModule",{value:!0});var W=k.default=void 0,ve=ge(ee()),be=t;W=k.default=(0,ve.default)((0,be.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp");function P({list:s,width:c,height:m,cardSpace:l,onSelect:r,defaultIndex:h}){const[b,f]=u.useState(0),[o,x]=u.useState(0),w=u.useRef(null),g=n=>{if(n<0||n>s.length-1)return;f(n);const i=w.current.clientWidth;x(n*(c+l)-(i-c)/2+l*.5),r(n)};u.useEffect(()=>{g(h);const n=i=>i.preventDefault();w.current.addEventListener("touchmove",n,{passive:!1})},[]);let a;const j=n=>{a=n.touches[0].clientX},y=n=>{const i=n.changedTouches[0],S=a-i.clientX;Math.abs(S)>60&&(S>0?g(b+1):g(b-1))};return t.jsx(we,{ref:w,onTouchStart:j,onTouchEnd:y,children:t.jsx("div",{className:"card-container",style:{transform:`translate(${-o}px, 0)`},children:s.map((n,i)=>t.jsx("div",{className:`card-item ${i===b?"selected":""}`,style:{width:c,height:m,margin:l/2},onClick:()=>g(i),children:n.display?t.jsx("div",{className:"card-content",children:t.jsx(J,{data:n.display,style:{width:"100%",height:"100%"}})}):t.jsx("div",{className:"card-content",dangerouslySetInnerHTML:{__html:n.src}})},n.id))})})}const we=M.div`
2
+ import{a9 as U,j as t,ah as M,H as v,v as H,aa as d,bc as B,T as I,bE as X,bF as G,bG as q,be as O,at as V}from"./vendor-mui-core-Bh-qMRq3.js";import{a as J,_ as Q,H as K}from"./vendor-arcblock-Ca95GLVH.js";import{r as u}from"./vendor-react-DEoibe3W.js";import{d as Y}from"./CheckCircle-XrJDG94y.js";import{d as Z}from"./ViewList-BvucdDXZ.js";import{r as ee,b1 as te,o as se,am as L,B as _,b0 as oe,a as ae}from"./vendor-ux-did-connect-D0L9YnHn.js";import{d as ne}from"./Done-UEZFWnHj.js";import{a as re,w as ie}from"./vendor-hooks-DpwFseeF.js";import{O as ce}from"./vendor-utils-rHXShPKm.js";import{W as le}from"./did-address-mv0Qw7hC.js";import{w as pe}from"./wrap-locale-QBHz1ECC.js";import{u as de}from"./use-passport-id-B-b-_oYF.js";import{i as $,S as ue,c as me,s as he,a as fe}from"./index-YuW8IExe.js";import{g as xe}from"./get-safe-url-DYtntqqo.js";import"./lottie-web-jYmAQWuC.js";var k={},ge=U;Object.defineProperty(k,"__esModule",{value:!0});var W=k.default=void 0,ve=ge(ee()),be=t;W=k.default=(0,ve.default)((0,be.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp");function P({list:s,width:c,height:m,cardSpace:l,onSelect:r,defaultIndex:h}){const[b,f]=u.useState(0),[o,x]=u.useState(0),w=u.useRef(null),g=n=>{if(n<0||n>s.length-1)return;f(n);const i=w.current.clientWidth;x(n*(c+l)-(i-c)/2+l*.5),r(n)};u.useEffect(()=>{g(h);const n=i=>i.preventDefault();w.current.addEventListener("touchmove",n,{passive:!1})},[]);let a;const j=n=>{a=n.touches[0].clientX},y=n=>{const i=n.changedTouches[0],S=a-i.clientX;Math.abs(S)>60&&(S>0?g(b+1):g(b-1))};return t.jsx(we,{ref:w,onTouchStart:j,onTouchEnd:y,children:t.jsx("div",{className:"card-container",style:{transform:`translate(${-o}px, 0)`},children:s.map((n,i)=>t.jsx("div",{className:`card-item ${i===b?"selected":""}`,style:{width:c,height:m,margin:l/2},onClick:()=>g(i),children:n.display?t.jsx("div",{className:"card-content",children:t.jsx(J,{data:n.display,style:{width:"100%",height:"100%"}})}):t.jsx("div",{className:"card-content",dangerouslySetInnerHTML:{__html:n.src}})},n.id))})})}const we=M.div`
3
3
  overflow: hidden;
4
4
  mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);
5
5
  overflow: hidden;
@@ -1 +1 @@
1
- import{j as c}from"./vendor-mui-core-Bh-qMRq3.js";import{r as t}from"./vendor-react-DEoibe3W.js";import{g as i}from"./get-safe-url-OaLLn0UN.js";import"./vendor-ux-did-connect-Ck9lzrbN.js";import"./vendor-utils-rHXShPKm.js";import"./vendor-hooks-Zkb4Ilbj.js";import"./lottie-web-jYmAQWuC.js";function v(){const e=t.useRef(null),n=t.useRef(Date.now());return t.useEffect(()=>{const r=`open-window-url-${new URLSearchParams(window.location.search).get("key")}`;return e.current=setInterval(()=>{if(Date.now()-n.current>10*1e3){localStorage.removeItem(r),clearInterval(e.current);return}const o=localStorage.getItem(r);if(o)try{const{url:a,time:s}=JSON.parse(o);localStorage.removeItem(r),Date.now()-s<10*1e3&&(window.location.href=i(a,{allowDomains:null}))}catch{}},200),()=>clearInterval(e.current)},[]),c.jsx("div",{})}export{v as default};
1
+ import{j as c}from"./vendor-mui-core-Bh-qMRq3.js";import{r as t}from"./vendor-react-DEoibe3W.js";import{g as i}from"./get-safe-url-BRocR2aJ.js";import"./vendor-ux-did-connect-D0L9YnHn.js";import"./vendor-utils-rHXShPKm.js";import"./vendor-hooks-DpwFseeF.js";import"./lottie-web-jYmAQWuC.js";function v(){const e=t.useRef(null),n=t.useRef(Date.now());return t.useEffect(()=>{const r=`open-window-url-${new URLSearchParams(window.location.search).get("key")}`;return e.current=setInterval(()=>{if(Date.now()-n.current>10*1e3){localStorage.removeItem(r),clearInterval(e.current);return}const o=localStorage.getItem(r);if(o)try{const{url:a,time:s}=JSON.parse(o);localStorage.removeItem(r),Date.now()-s<10*1e3&&(window.location.href=i(a,{allowDomains:null}))}catch{}},200),()=>clearInterval(e.current)},[]),c.jsx("div",{})}export{v as default};
@@ -1,4 +1,4 @@
1
- import{j as t,be as le,aa as i,H as h,ah as ce,ad as w,T as A,bb as ie}from"./vendor-mui-core-Bh-qMRq3.js";import{r as d,b as ve}from"./vendor-react-DEoibe3W.js";import{I as u,a as _,B as je,W as ye,b6 as be,j as I}from"./vendor-ux-did-connect-Ck9lzrbN.js";import{Z as ke,$ as z}from"./vendor-arcblock-DPRICUXM.js";import{d as $}from"./InfoOutlined-BIr5nkjV.js";import{K as we}from"./keyboard-arrow-down-rounded-DadBVmpO.js";import{p as Se}from"./use-blocklet-logo-Bv56-gH-.js";import{z as Te,C as Ie,I as Ae,w as _e,aj as Re,t as q}from"./index-BiIZw9KG.js";import{I as Ce}from"./index-D3iGbfL9.js";import{_ as Me}from"./dot-BB5occkV.js";import{A as $e}from"./vendor-utils-rHXShPKm.js";import{u as Be}from"./dashboard-Dc5xtJBc.js";import{W as v}from"./did-address-BI9LYTx-.js";import{V as De}from"./status-C73nIKwK.js";import{c as ze}from"./spaces-DMMN97uo.js";import"./vendor-hooks-Zkb4Ilbj.js";import"./lottie-web-jYmAQWuC.js";import"./session-B2z_IWIe.js";import"./useAsync-DnXpD472.js";import"./useLocalStorage-BRd3tKN9.js";import"./index-8eXqqyHQ.js";import"./confirm-DFwkkng7.js";import"./PlayArrow-CmxnItFZ.js";import"./get-safe-url-BcH2iukm.js";import"./useSetState-CWq0AVWn.js";import"./use-mobile-JEGQfLZ2.js";import"./omit-D2k92RIF.js";import"./api-BjteVZFg.js";const qe={width:24,height:24,body:'<path fill="currentColor" d="m12 10.8l-3.9 3.9q-.275.275-.7.275t-.7-.275q-.275-.275-.275-.7t.275-.7l4.6-4.6q.3-.3.7-.3t.7.3l4.6 4.6q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275L12 10.8Z"/>'},Ee=qe,Ne={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 17a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm12 0a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM6 15v-1a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1m-6-6v3"/>'},Pe=Ne,Ue={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 7a4 4 0 1 0 8 0a4 4 0 1 0-8 0M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2m1-17.87a4 4 0 0 1 0 7.75M21 21v-2a4 4 0 0 0-3-3.85"/>'},He=Ue,Le={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M7 12h3v4H7z"/><path d="M10 6H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-6"/><path d="M10 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm4 12h2m-2-4h4"/></g>'},Ke=Le,Ve={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M19.5 7A9 9 0 0 0 12 3a8.991 8.991 0 0 0-7.484 4"/><path d="M11.5 3a16.989 16.989 0 0 0-1.826 4M12.5 3a16.989 16.989 0 0 1 1.828 4M19.5 17a9 9 0 0 1-7.5 4a8.991 8.991 0 0 1-7.484-4"/><path d="M11.5 21a16.989 16.989 0 0 1-1.826-4m2.826 4a16.989 16.989 0 0 0 1.828-4M2 10l1 4l1.5-4L6 14l1-4m10 0l1 4l1.5-4l1.5 4l1-4M9.5 10l1 4l1.5-4l1.5 4l1-4"/></g>'},We=Ve,Oe={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0"/><path d="M12 7v5l3 3"/></g>'},re=Oe,Qe={width:24,height:24,body:'<path fill="currentColor" d="M12 14q-.825 0-1.413-.588T10 12q0-.825.588-1.413T12 10q.825 0 1.413.588T14 12q0 .825-.588 1.413T12 14Zm0 7q-3.475 0-6.025-2.288T3.05 13H5.1q.35 2.6 2.313 4.3T12 19q2.925 0 4.963-2.038T19 12q0-2.925-2.038-4.963T12 5q-1.725 0-3.225.8T6.25 8H9v2H3V4h2v2.35q1.275-1.6 3.113-2.475T12 3q1.875 0 3.513.713t2.85 1.924q1.212 1.213 1.925 2.85T21 12q0 1.875-.713 3.513t-1.924 2.85q-1.213 1.212-2.85 1.925T12 21Z"/>'},Fe=Qe;function E({icon:e,value:a,name:o,url:l="",animated:c=!1,LinkComponent:m=le}){const x=()=>ve.isValidElement(e)?e:t.jsx(i,{component:u,icon:e,alt:typeof o=="string"?o:"",sx:{fontSize:30}}),p=t.jsxs(t.Fragment,{children:[e&&t.jsx(i,{className:"metric__image",children:x()}),t.jsxs(i,{children:[d.isValidElement(a)?t.jsx(i,{className:`metric__number ${c?"metric__number--animated":""}`,children:a}):t.jsx(i,{className:`metric__number ${c?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:a}}),t.jsx(i,{className:"metric__name",children:o})]})]});return t.jsx(Ge,{children:l?t.jsx(m,{href:l,sx:{textDecoration:"none"},children:p}):p})}E.propTypes={icon:h.string.isRequired,value:h.string.isRequired,name:h.string.isRequired,url:h.string,animated:h.bool,LinkComponent:h.elementType};E.defaultProps={url:"",animated:!1,LinkComponent:le};const Ge=ce("div")`
1
+ import{j as t,be as le,aa as i,H as h,ah as ce,ad as w,T as A,bb as ie}from"./vendor-mui-core-Bh-qMRq3.js";import{r as d,b as ve}from"./vendor-react-DEoibe3W.js";import{I as u,a as _,B as je,V as ye,b6 as be,j as I}from"./vendor-ux-did-connect-D0L9YnHn.js";import{$ as ke,a0 as z}from"./vendor-arcblock-Ca95GLVH.js";import{d as C}from"./InfoOutlined-uoMMChNE.js";import{K as we}from"./keyboard-arrow-down-rounded-DadBVmpO.js";import{u as Se,p as Te}from"./dashboard-B_QqB4aw.js";import{A as Ie,D as Ae,J as _e,x as Re,ak as Me,v as q}from"./index-YuW8IExe.js";import{I as $e}from"./index-Bv8sds6g.js";import{_ as Ce}from"./dot-D3X4DSlo.js";import{A as Be}from"./vendor-utils-rHXShPKm.js";import{W as v}from"./did-address-mv0Qw7hC.js";import{V as De}from"./status-Bo92foK0.js";import{c as ze}from"./spaces-MprwX1Iq.js";import"./vendor-hooks-DpwFseeF.js";import"./lottie-web-jYmAQWuC.js";import"./useLocalStorage-DotMjDUB.js";import"./index-8eXqqyHQ.js";import"./confirm-DaR0Yx39.js";import"./PlayArrow-BHO_DqT2.js";import"./get-safe-url-DYtntqqo.js";import"./session-DUt5rVEy.js";import"./use-blocklet-logo-3VH4RBTr.js";import"./useSetState-CWq0AVWn.js";import"./use-mobile-JEGQfLZ2.js";import"./useAsync-CDjYBiwf.js";import"./omit-D2k92RIF.js";import"./api-BjteVZFg.js";const qe={width:24,height:24,body:'<path fill="currentColor" d="m12 10.8l-3.9 3.9q-.275.275-.7.275t-.7-.275q-.275-.275-.275-.7t.275-.7l4.6-4.6q.3-.3.7-.3t.7.3l4.6 4.6q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275L12 10.8Z"/>'},Ee=qe,Ne={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 17a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm12 0a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM6 15v-1a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1m-6-6v3"/>'},Pe=Ne,Ue={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 7a4 4 0 1 0 8 0a4 4 0 1 0-8 0M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2m1-17.87a4 4 0 0 1 0 7.75M21 21v-2a4 4 0 0 0-3-3.85"/>'},He=Ue,Le={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M7 12h3v4H7z"/><path d="M10 6H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-6"/><path d="M10 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm4 12h2m-2-4h4"/></g>'},Ke=Le,Ve={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M19.5 7A9 9 0 0 0 12 3a8.991 8.991 0 0 0-7.484 4"/><path d="M11.5 3a16.989 16.989 0 0 0-1.826 4M12.5 3a16.989 16.989 0 0 1 1.828 4M19.5 17a9 9 0 0 1-7.5 4a8.991 8.991 0 0 1-7.484-4"/><path d="M11.5 21a16.989 16.989 0 0 1-1.826-4m2.826 4a16.989 16.989 0 0 0 1.828-4M2 10l1 4l1.5-4L6 14l1-4m10 0l1 4l1.5-4l1.5 4l1-4M9.5 10l1 4l1.5-4l1.5 4l1-4"/></g>'},Oe=Ve,Qe={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0"/><path d="M12 7v5l3 3"/></g>'},re=Qe,We={width:24,height:24,body:'<path fill="currentColor" d="M12 14q-.825 0-1.413-.588T10 12q0-.825.588-1.413T12 10q.825 0 1.413.588T14 12q0 .825-.588 1.413T12 14Zm0 7q-3.475 0-6.025-2.288T3.05 13H5.1q.35 2.6 2.313 4.3T12 19q2.925 0 4.963-2.038T19 12q0-2.925-2.038-4.963T12 5q-1.725 0-3.225.8T6.25 8H9v2H3V4h2v2.35q1.275-1.6 3.113-2.475T12 3q1.875 0 3.513.713t2.85 1.924q1.212 1.213 1.925 2.85T21 12q0 1.875-.713 3.513t-1.924 2.85q-1.213 1.212-2.85 1.925T12 21Z"/>'},Fe=We;function E({icon:e,value:a,name:o,url:l="",animated:c=!1,LinkComponent:m=le}){const x=()=>ve.isValidElement(e)?e:t.jsx(i,{component:u,icon:e,alt:typeof o=="string"?o:"",sx:{fontSize:30}}),p=t.jsxs(t.Fragment,{children:[e&&t.jsx(i,{className:"metric__image",children:x()}),t.jsxs(i,{children:[d.isValidElement(a)?t.jsx(i,{className:`metric__number ${c?"metric__number--animated":""}`,children:a}):t.jsx(i,{className:`metric__number ${c?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:a}}),t.jsx(i,{className:"metric__name",children:o})]})]});return t.jsx(Ge,{children:l?t.jsx(m,{href:l,sx:{textDecoration:"none"},children:p}):p})}E.propTypes={icon:h.string.isRequired,value:h.string.isRequired,name:h.string.isRequired,url:h.string,animated:h.bool,LinkComponent:h.elementType};E.defaultProps={url:"",animated:!1,LinkComponent:le};const Ge=ce("div")`
2
2
  border-left: 1px solid ${e=>e.theme.palette.divider};
3
3
  padding: 10px 0 10px 16px;
4
4
  @media (max-width: ${e=>e.theme.breakpoints.values.sm}px) {
@@ -70,7 +70,7 @@ import{j as t,be as le,aa as i,H as h,ah as ce,ad as w,T as A,bb as ie}from"./ve
70
70
  opacity: 1;
71
71
  }
72
72
  }
73
- `,j={oneSecond:1,oneMin:1*60,oneHour:1*60*60,oneDay:24*60*60},Ze=(e,a)=>{const[o,l]=d.useState(0),c=p=>p>=j.oneDay?j.oneDay:p>=j.oneHour?j.oneHour:p>=j.oneMin?j.oneMin:j.oneSecond,[m,x]=d.useState(c(e/1e3));return d.useEffect(()=>{const p=setInterval(()=>{l(o+m);const R=c(e/1e3+o+m);m!==R&&x(R)},m*1e3);return()=>clearInterval(p)},[m,o]),d.useEffect(()=>{l(0),x(c(e/1e3))},[e]),a(e+o*1e3)};h.number.isRequired,h.func;const Xe={arcblock:"ArcBlock",ethereum:"Ethereum"};function me({source:e,migrated:a}){const{t:o}=_();return e?e.startsWith("managed")?t.jsxs(i,{sx:{display:"flex",alignItems:"center",gap:.5},children:[t.jsx(A,{children:e}),t.jsx(w,{title:o(a?"blocklet.skSourceMigratedTip":"blocklet.skSourceManagedTip"),children:t.jsx($,{sx:{fontSize:16,color:a?"text.secondary":"warning.main"}})})]}):t.jsx(A,{children:e}):null}me.propTypes={source:h.string.isRequired,migrated:h.bool.isRequired};const Ye=e=>{const{t:a}=_();let o=0,l=0;e&&(o=e.length,l=e.filter(m=>m.status==="running").length);let c=o;return l&&(c+=`<small>${a("common.running")} ${l}</small>`),c},Je=(e,a)=>{const{t:o}=_();return a.length?t.jsxs(i,{component:"small",children:[o("router.domainAlias.custom")," ",a.length]}):t.jsxs(i,{component:"small",sx:{display:"flex",alignItems:"center",gap:.5,color:a.length?"text.primary":"warning.main"},children:[o("router.domainAlias.noCustom"),t.jsx(w,{title:o("router.domainAlias.noCustomTip"),children:t.jsx($,{sx:{fontSize:16}})})]})},et=(e,a)=>{const o=e===I.BACKUPS.STATUS.PROGRESS&&q().diff(a,"hours")>=I.BACKUPS.TIMEOUT_HOURS,l=e===I.BACKUPS.STATUS.PROGRESS&&!o;return e===I.BACKUPS.STATUS.SUCCEEDED&&!o?t.jsx(i,{sx:{width:8,height:8,borderRadius:"100%",bgcolor:"success.main"}}):l?t.jsx(i,{sx:{width:8,height:8,borderRadius:"100%",bgcolor:"error.main"}}):t.jsx(i,{sx:{width:8,height:8,borderRadius:"100%",bgcolor:"warning.main"}})},tt=(e,a)=>{const{t:o,locale:l}=_(),c=a==null?void 0:a.createdAt;return e&&c?t.jsxs(i,{sx:{display:"flex",alignItems:"baseline",gap:.5,color:q(c).add(1,"day").isAfter(q())?"text.primary":"warning.main"},children:[z(c,l==="tw"?"zh":l),t.jsx(w,{title:o("storage.spaces.backup.lastBackupTip",{time:z(c,l==="tw"?"zh":l)}),children:t.jsx($,{sx:{fontSize:16}})})]}):t.jsxs(i,{sx:{display:"flex",alignItems:"baseline",gap:.5,color:"warning.main"},children:[o("storage.spaces.backup.noBackup"),t.jsx(w,{title:o("storage.spaces.backup.noBackupTip"),children:t.jsx($,{sx:{fontSize:16}})})]})},y={fontSize:30,color:"text.primary"};function nt(){var H,L,K,V,W,O,Q,F,G,Z,X,Y,J,ee,te,ne,oe,se;const{t:e,locale:a}=_(),{info:o,inService:l,api:c}=Te(),{teamDid:m}=Be(),[x,p]=d.useState(!1),{did:R,blocklet:n}=Ie(),r=Me(()=>c.getBlockletBaseInfo({input:{teamDid:m}})),{appDid:B,appPid:D,migratedFrom:g=[]}=n,N=(H=n.environments.find(s=>s.key==="BLOCKLET_APP_CHAIN_TYPE"))==null?void 0:H.value,C=s=>typeof s!="number"||Number.isNaN(s)?"0":s>=1e4?new Intl.NumberFormat(a,{notation:"compact",compactDisplay:"short"}).format(s):new Intl.NumberFormat(a).format(s),P=[B?{name:e("blocklet.appId"),value:t.jsx(v,{did:B,showQrcode:!0})}:null,D&&B!==D?{name:t.jsxs(i,{children:[e("blocklet.appPid"),t.jsx(w,{title:e("blocklet.whyNeedAppPid"),style:{cursor:"help",fontSize:16},children:t.jsx(ke,{sx:{verticalAlign:"middle",mt:"-2px",ml:"2px"}})})]}),value:t.jsx(v,{did:D,showQrcode:!0})}:null,(g==null?void 0:g.length)>1?{name:e("blocklet.alsoKnownAs"),value:t.jsxs("div",{children:[(x?g.slice(1):g.slice(1,2)).map(s=>t.jsx(v,{did:s.appDid,showQrcode:!0})),g.length>2&&t.jsx(je,{sx:{pl:0,"&:hover":{backgroundColor:"transparent"}},endIcon:x?t.jsx(u,{icon:Ee}):t.jsx(u,{icon:we}),onClick:()=>p(!x),children:e(x?"common.collapseAll":"blocklet.router.showAllDIDs")})]})}:null,Ae(n)?{name:"NFT",value:t.jsx(v,{external:!0,href:_e((L=n==null?void 0:n.controller)==null?void 0:L.chainHost,(K=n==null?void 0:n.controller)==null?void 0:K.nftId,"asset"),did:(V=n==null?void 0:n.controller)==null?void 0:V.nftId,showQrcode:!0})}:null,{name:e("common.owner"),value:(W=n.settings)!=null&&W.owner?t.jsx(v,{did:n.settings.owner.did,showQrcode:!0}):"-"},(O=n.vaults)!=null&&O.length?{name:e("blocklet.config.vault.name"),value:t.jsxs(i,{sx:{display:"flex",alignItems:"center",gap:.5,"& > span":{width:"auto"}},children:[t.jsx(v,{did:n.vaults[n.vaults.length-1].did,showQrcode:!0}),t.jsx(De,{vaults:n.vaults,appPid:n.appPid})]})}:null,{name:e("blocklet.installedAt"),value:n.installedAt?t.jsx(ye,{value:n.installedAt,type:"all",locale:a}):"-"},{name:e("blocklet.config.walletType.name"),value:Xe[N||"arcblock"]||N},n.externalSkSource?{name:e("blocklet.skSource"),value:t.jsx(me,{source:n.externalSkSource,migrated:g.length>0})}:null].filter(Boolean);l&&P.push({name:e("common.serverDid"),value:t.jsx(v,{did:o.did,showQrcode:!0})},{name:e("common.serverVersion"),value:t.jsx(be,{children:o.version})});const de=s=>s.map(f=>t.jsx(Ce,{style:{display:"flex",alignItems:"flex-start"},valueComponent:"div",nameWidth:150,name:f.name,nameFormatter:()=>f.name,children:f.value},f.name)),pe=Ye(n.children),ue=Ze(Number(((F=(Q=r==null?void 0:r.value)==null?void 0:Q.appRuntimeInfo)==null?void 0:F.uptime)||0),s=>Se(s,{compact:!0,verbose:!0,locale:a==="tw"?"zh":a})),M=d.useMemo(()=>{var s;return((s=n==null?void 0:n.site)==null?void 0:s.domainAliases)||[]},[(G=n==null?void 0:n.site)==null?void 0:G.domainAliases]),he=d.useMemo(()=>M.filter(s=>Re.isCustomDomain(s.value)),[M]),b=d.useMemo(()=>{var s;return((s=r==null?void 0:r.value)==null?void 0:s.passport)||{}},[(Z=r==null?void 0:r.value)==null?void 0:Z.passport]),k=d.useMemo(()=>{var s;return((s=r==null?void 0:r.value)==null?void 0:s.user)||{}},[(X=r==null?void 0:r.value)==null?void 0:X.user]),U=d.useMemo(()=>ze(n==null?void 0:n.environments),[n==null?void 0:n.environments]),xe=Je(M,he),fe=tt(U,(Y=r==null?void 0:r.value)==null?void 0:Y.backup),S=(s,f)=>`${I.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/${s}/${f}`,T=s=>{var ae;const f=(ae=o==null?void 0:o.routing)==null?void 0:ae.adminPath;return $e(f,`/blocklets/${R}/${s}`)},ge=[{name:e("common.blocklets"),value:pe,icon:t.jsx(i,{component:u,icon:Pe,sx:y}),url:l?S("overview","components"):T("components")},{name:e("common.members"),value:`${C((k==null?void 0:k.users)||0)}<small>${e("common.active")} ${C(k==null?void 0:k.approvedUsers)}</small>`,icon:t.jsx(i,{component:u,icon:He,sx:y}),url:l?S("did-connect","members"):T("members")},{name:e("team.member.passports"),value:`${C((b==null?void 0:b.passports)||0)}<small>${e("common.active")} ${C(b==null?void 0:b.activePassports)}</small>`,icon:t.jsx(i,{component:u,icon:Ke,sx:y}),url:l?S("did-connect","passports"):T("passports")},{name:e("common.domains"),value:t.jsxs(i,{display:"flex",alignItems:"baseline",children:[M.length,xe]}),icon:t.jsx(i,{component:u,icon:We,sx:y}),url:l?S("website","domains"):T("domains")},{name:e("common.uptime"),value:(J=n==null?void 0:n.appRuntimeInfo)!=null&&J.uptime?ue:`${e("common.waiting")}...`,icon:t.jsx(i,{component:u,icon:re,sx:y})},n.createdAt&&+new Date(n.createdAt)!=+new Date(0)?{name:e("common.created"),value:z(new Date(n.createdAt).getTime(),a==="tw"?"zh":a),icon:t.jsx(i,{component:u,icon:re,sx:y})}:null,{name:t.jsxs(i,{display:"flex",alignItems:"baseline",gap:.5,children:[e("storage.spaces.backup.lastBackup"),((ee=r==null?void 0:r.value)==null?void 0:ee.backup)&&U&&t.jsx(w,{children:et((ne=(te=r==null?void 0:r.value)==null?void 0:te.backup)==null?void 0:ne.status,(se=(oe=r==null?void 0:r.value)==null?void 0:oe.backup)==null?void 0:se.createdAt)})]}),value:fe,icon:t.jsx(i,{component:u,icon:Fe,sx:y}),url:l?S("did-spaces","backups"):T("didSpaces")}].filter(Boolean);return t.jsxs(ot,{component:"div",children:[t.jsxs(i,{className:"section",children:[t.jsx(A,{className:"section__header",color:"textPrimary",children:e("common.overview")}),t.jsx(ie,{className:"page-metrics",container:!0,spacing:5,children:ge.map(s=>t.jsx(ie,{item:!0,lg:3,md:4,sm:6,xs:12,sx:{small:{ml:.5}},children:t.jsx(E,{...s})},s.name))})]}),t.jsxs(i,{className:"section",children:[t.jsx(A,{className:"section__header",color:"textPrimary",children:e("common.basicInfo")}),t.jsx(i,{className:"basicInfo",children:de(P)})]})]})}nt.propTypes={};const ot=ce(A)`
73
+ `,j={oneSecond:1,oneMin:1*60,oneHour:1*60*60,oneDay:24*60*60},Ze=(e,a)=>{const[o,l]=d.useState(0),c=p=>p>=j.oneDay?j.oneDay:p>=j.oneHour?j.oneHour:p>=j.oneMin?j.oneMin:j.oneSecond,[m,x]=d.useState(c(e/1e3));return d.useEffect(()=>{const p=setInterval(()=>{l(o+m);const R=c(e/1e3+o+m);m!==R&&x(R)},m*1e3);return()=>clearInterval(p)},[m,o]),d.useEffect(()=>{l(0),x(c(e/1e3))},[e]),a(e+o*1e3)};h.number.isRequired,h.func;const Je={arcblock:"ArcBlock",ethereum:"Ethereum"};function me({source:e,migrated:a}){const{t:o}=_();return e?e.startsWith("managed")?t.jsxs(i,{sx:{display:"flex",alignItems:"center",gap:.5},children:[t.jsx(A,{children:e}),t.jsx(w,{title:o(a?"blocklet.skSourceMigratedTip":"blocklet.skSourceManagedTip"),children:t.jsx(C,{sx:{fontSize:16,color:a?"text.secondary":"warning.main"}})})]}):t.jsx(A,{children:e}):null}me.propTypes={source:h.string.isRequired,migrated:h.bool.isRequired};const Xe=e=>{const{t:a}=_();let o=0,l=0;e&&(o=e.length,l=e.filter(m=>m.status==="running").length);let c=o;return l&&(c+=`<small>${a("common.running")} ${l}</small>`),c},Ye=(e,a)=>{const{t:o}=_();return a.length?t.jsxs(i,{component:"small",children:[o("router.domainAlias.custom")," ",a.length]}):t.jsxs(i,{component:"small",sx:{display:"flex",alignItems:"center",gap:.5,color:a.length?"text.primary":"warning.main"},children:[o("router.domainAlias.noCustom"),t.jsx(w,{title:o("router.domainAlias.noCustomTip"),children:t.jsx(C,{sx:{fontSize:16}})})]})},et=(e,a)=>{const o=e===I.BACKUPS.STATUS.PROGRESS&&q().diff(a,"hours")>=I.BACKUPS.TIMEOUT_HOURS,l=e===I.BACKUPS.STATUS.PROGRESS&&!o;return e===I.BACKUPS.STATUS.SUCCEEDED&&!o?t.jsx(i,{sx:{width:8,height:8,borderRadius:"100%",bgcolor:"success.main"}}):l?t.jsx(i,{sx:{width:8,height:8,borderRadius:"100%",bgcolor:"error.main"}}):t.jsx(i,{sx:{width:8,height:8,borderRadius:"100%",bgcolor:"warning.main"}})},tt=(e,a)=>{const{t:o,locale:l}=_(),c=a==null?void 0:a.createdAt;return e&&c?t.jsxs(i,{sx:{display:"flex",alignItems:"baseline",gap:.5,color:q(c).add(1,"day").isAfter(q())?"text.primary":"warning.main"},children:[z(c,l==="tw"?"zh":l),t.jsx(w,{title:o("storage.spaces.backup.lastBackupTip",{time:z(c,l==="tw"?"zh":l)}),children:t.jsx(C,{sx:{fontSize:16}})})]}):t.jsxs(i,{sx:{display:"flex",alignItems:"baseline",gap:.5,color:"warning.main"},children:[o("storage.spaces.backup.noBackup"),t.jsx(w,{title:o("storage.spaces.backup.noBackupTip"),children:t.jsx(C,{sx:{fontSize:16}})})]})},y={fontSize:30,color:"text.primary"};function nt(){var H,L,K,V,O,Q,W,F,G,Z,J,X,Y,ee,te,ne,oe,se;const{t:e,locale:a}=_(),{info:o,inService:l,api:c}=Ie(),{teamDid:m}=Se(),[x,p]=d.useState(!1),{did:R,blocklet:n}=Ae(),r=Ce(()=>c.getBlockletBaseInfo({input:{teamDid:m}})),{appDid:B,appPid:D,migratedFrom:g=[]}=n,N=(H=n.environments.find(s=>s.key==="BLOCKLET_APP_CHAIN_TYPE"))==null?void 0:H.value,M=s=>typeof s!="number"||Number.isNaN(s)?"0":s>=1e4?new Intl.NumberFormat(a,{notation:"compact",compactDisplay:"short"}).format(s):new Intl.NumberFormat(a).format(s),P=[B?{name:e("blocklet.appId"),value:t.jsx(v,{did:B,showQrcode:!0})}:null,D&&B!==D?{name:t.jsxs(i,{children:[e("blocklet.appPid"),t.jsx(w,{title:e("blocklet.whyNeedAppPid"),style:{cursor:"help",fontSize:16},children:t.jsx(ke,{sx:{verticalAlign:"middle",mt:"-2px",ml:"2px"}})})]}),value:t.jsx(v,{did:D,showQrcode:!0})}:null,(g==null?void 0:g.length)>1?{name:e("blocklet.alsoKnownAs"),value:t.jsxs("div",{children:[(x?g.slice(1):g.slice(1,2)).map(s=>t.jsx(v,{did:s.appDid,showQrcode:!0})),g.length>2&&t.jsx(je,{sx:{pl:0,"&:hover":{backgroundColor:"transparent"}},endIcon:x?t.jsx(u,{icon:Ee}):t.jsx(u,{icon:we}),onClick:()=>p(!x),children:e(x?"common.collapseAll":"blocklet.router.showAllDIDs")})]})}:null,_e(n)?{name:"NFT",value:t.jsx(v,{external:!0,href:Re((L=n==null?void 0:n.controller)==null?void 0:L.chainHost,(K=n==null?void 0:n.controller)==null?void 0:K.nftId,"asset"),did:(V=n==null?void 0:n.controller)==null?void 0:V.nftId,showQrcode:!0})}:null,{name:e("common.owner"),value:(O=n.settings)!=null&&O.owner?t.jsx(v,{did:n.settings.owner.did,showQrcode:!0}):"-"},(Q=n.vaults)!=null&&Q.length?{name:e("blocklet.config.vault.name"),value:t.jsxs(i,{sx:{display:"flex",alignItems:"center",gap:.5,"& > span":{width:"auto"}},children:[t.jsx(v,{did:n.vaults[n.vaults.length-1].did,showQrcode:!0}),t.jsx(De,{vaults:n.vaults,appPid:n.appPid})]})}:null,{name:e("blocklet.installedAt"),value:n.installedAt?t.jsx(ye,{value:n.installedAt,type:"all",locale:a}):"-"},{name:e("blocklet.config.walletType.name"),value:Je[N||"arcblock"]||N},n.externalSkSource?{name:e("blocklet.skSource"),value:t.jsx(me,{source:n.externalSkSource,migrated:g.length>0})}:null].filter(Boolean);l&&P.push({name:e("common.serverDid"),value:t.jsx(v,{did:o.did,showQrcode:!0})},{name:e("common.serverVersion"),value:t.jsx(be,{children:o.version})});const de=s=>s.map(f=>t.jsx($e,{style:{display:"flex",alignItems:"flex-start"},valueComponent:"div",nameWidth:150,name:f.name,nameFormatter:()=>f.name,children:f.value},f.name)),pe=Xe(n.children),ue=Ze(Number(((F=(W=r==null?void 0:r.value)==null?void 0:W.appRuntimeInfo)==null?void 0:F.uptime)||0),s=>Te(s,{compact:!0,verbose:!0,locale:a==="tw"?"zh":a})),$=d.useMemo(()=>{var s;return((s=n==null?void 0:n.site)==null?void 0:s.domainAliases)||[]},[(G=n==null?void 0:n.site)==null?void 0:G.domainAliases]),he=d.useMemo(()=>$.filter(s=>Me.isCustomDomain(s.value)),[$]),b=d.useMemo(()=>{var s;return((s=r==null?void 0:r.value)==null?void 0:s.passport)||{}},[(Z=r==null?void 0:r.value)==null?void 0:Z.passport]),k=d.useMemo(()=>{var s;return((s=r==null?void 0:r.value)==null?void 0:s.user)||{}},[(J=r==null?void 0:r.value)==null?void 0:J.user]),U=d.useMemo(()=>ze(n==null?void 0:n.environments),[n==null?void 0:n.environments]),xe=Ye($,he),fe=tt(U,(X=r==null?void 0:r.value)==null?void 0:X.backup),S=(s,f)=>`${I.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/${s}/${f}`,T=s=>{var ae;const f=(ae=o==null?void 0:o.routing)==null?void 0:ae.adminPath;return Be(f,`/blocklets/${R}/${s}`)},ge=[{name:e("common.blocklets"),value:pe,icon:t.jsx(i,{component:u,icon:Pe,sx:y}),url:l?S("overview","components"):T("components")},{name:e("common.members"),value:`${M((k==null?void 0:k.users)||0)}<small>${e("common.active")} ${M(k==null?void 0:k.approvedUsers)}</small>`,icon:t.jsx(i,{component:u,icon:He,sx:y}),url:l?S("did-connect","members"):T("members")},{name:e("team.member.passports"),value:`${M((b==null?void 0:b.passports)||0)}<small>${e("common.active")} ${M(b==null?void 0:b.activePassports)}</small>`,icon:t.jsx(i,{component:u,icon:Ke,sx:y}),url:l?S("did-connect","passports"):T("passports")},{name:e("common.domains"),value:t.jsxs(i,{display:"flex",alignItems:"baseline",children:[$.length,xe]}),icon:t.jsx(i,{component:u,icon:Oe,sx:y}),url:l?S("website","domains"):T("domains")},{name:e("common.uptime"),value:(Y=n==null?void 0:n.appRuntimeInfo)!=null&&Y.uptime?ue:`${e("common.waiting")}...`,icon:t.jsx(i,{component:u,icon:re,sx:y})},n.createdAt&&+new Date(n.createdAt)!=+new Date(0)?{name:e("common.created"),value:z(new Date(n.createdAt).getTime(),a==="tw"?"zh":a),icon:t.jsx(i,{component:u,icon:re,sx:y})}:null,{name:t.jsxs(i,{display:"flex",alignItems:"baseline",gap:.5,children:[e("storage.spaces.backup.lastBackup"),((ee=r==null?void 0:r.value)==null?void 0:ee.backup)&&U&&t.jsx(w,{children:et((ne=(te=r==null?void 0:r.value)==null?void 0:te.backup)==null?void 0:ne.status,(se=(oe=r==null?void 0:r.value)==null?void 0:oe.backup)==null?void 0:se.createdAt)})]}),value:fe,icon:t.jsx(i,{component:u,icon:Fe,sx:y}),url:l?S("did-spaces","backups"):T("didSpaces")}].filter(Boolean);return t.jsxs(ot,{component:"div",children:[t.jsxs(i,{className:"section",children:[t.jsx(A,{className:"section__header",color:"textPrimary",children:e("common.overview")}),t.jsx(ie,{className:"page-metrics",container:!0,spacing:5,children:ge.map(s=>t.jsx(ie,{item:!0,lg:3,md:4,sm:6,xs:12,sx:{small:{ml:.5}},children:t.jsx(E,{...s})},s.name))})]}),t.jsxs(i,{className:"section",children:[t.jsx(A,{className:"section__header",color:"textPrimary",children:e("common.basicInfo")}),t.jsx(i,{className:"basicInfo",children:de(P)})]})]})}nt.propTypes={};const ot=ce(A)`
74
74
  .section {
75
75
  display: flex;
76
76
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as p,j as r,ah as c,H as t}from"./vendor-mui-core-Bh-qMRq3.js";import{r as u}from"./vendor-ux-did-connect-Ck9lzrbN.js";var o={},d=p;Object.defineProperty(o,"__esModule",{value:!0});var a=o.default=void 0,f=d(u()),x=r;a=o.default=(0,f.default)((0,x.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function s({title:e,subTitle:n,onClickBack:i,...l}){return r.jsxs(m,{...l,children:[i&&r.jsx(a,{className:"back-btn",onClick:i}),r.jsx("div",{className:"title",children:e}),r.jsx("div",{className:"sub-title",children:n})]})}const m=c.div`
1
+ import{a9 as p,j as r,ah as c,H as t}from"./vendor-mui-core-Bh-qMRq3.js";import{r as u}from"./vendor-ux-did-connect-D0L9YnHn.js";var o={},d=p;Object.defineProperty(o,"__esModule",{value:!0});var a=o.default=void 0,f=d(u()),x=r;a=o.default=(0,f.default)((0,x.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function s({title:e,subTitle:n,onClickBack:i,...l}){return r.jsxs(m,{...l,children:[i&&r.jsx(a,{className:"back-btn",onClick:i}),r.jsx("div",{className:"title",children:e}),r.jsx("div",{className:"sub-title",children:n})]})}const m=c.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  text-align: center;
@@ -1 +1 @@
1
- import{a9 as $,j as w,H as h,al as He,bc as ri,T as pe,ad as Pi,s as yi,E as ki,aa as Ue}from"./vendor-mui-core-Bh-qMRq3.js";import{r as q,a as Ne,W as Li,b as oi}from"./vendor-ux-did-connect-Ck9lzrbN.js";import{U as $i,C as qi,I as Ni}from"./index-DoCu_ga_.js";import{r as Bi,b as ke}from"./vendor-react-DEoibe3W.js";import{f as Fi}from"./vendor-hooks-Zkb4Ilbj.js";import{W as ze}from"./did-address-BI9LYTx-.js";import{p as Wi}from"./util-CVjZG67N.js";import{u as Vi}from"./dashboard-Dc5xtJBc.js";var Be={},Gi=$;Object.defineProperty(Be,"__esModule",{value:!0});var De=Be.default=void 0;Ki(Bi);var Xi=Gi(q()),Yi=w;function _i(e){if(typeof WeakMap!="function")return null;var i=new WeakMap,s=new WeakMap;return(_i=function(u){return u?s:i})(e)}function Ki(e,i){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var s=_i(i);if(s&&s.has(e))return s.get(e);var u={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in e)if(b!=="default"&&Object.prototype.hasOwnProperty.call(e,b)){var d=l?Object.getOwnPropertyDescriptor(e,b):null;d&&(d.get||d.set)?Object.defineProperty(u,b,d):u[b]=e[b]}return u.default=e,s&&s.set(e,u),u}De=Be.default=(0,Xi.default)((0,Yi.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"}),"Apple");var Fe={},Zi=$;Object.defineProperty(Fe,"__esModule",{value:!0});var Ri=Fe.default=void 0,Ji=Zi(q()),Qi=w;Ri=Fe.default=(0,Ji.default)((0,Qi.jsx)("path",{d:"M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"}),"Laptop");var We={},et=$;Object.defineProperty(We,"__esModule",{value:!0});var fe=We.default=void 0,it=et(q()),tt=w;fe=We.default=(0,it.default)((0,tt.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-5 14H4v-4h11zm0-5H4V9h11zm5 5h-4V9h4z"}),"Web");var Ve={},rt=$;Object.defineProperty(Ve,"__esModule",{value:!0});var Si=Ve.default=void 0,ot=rt(q()),at=w;Si=Ve.default=(0,ot.default)((0,at.jsx)("path",{d:"m17.6 9.48 1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.18-.37.54-.22.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52M7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25"}),"Android");var Ge={},nt=$;Object.defineProperty(Ge,"__esModule",{value:!0});var Oi=Ge.default=void 0,st=nt(q()),lt=w;Oi=Ge.default=(0,st.default)((0,lt.jsx)("path",{d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1m-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m4.5-4H7V4h9z"}),"PhoneIphone");var Xe={},dt=$;Object.defineProperty(Xe,"__esModule",{value:!0});var Ei=Xe.default=void 0,ct=dt(q()),ut=w;Ei=Xe.default=(0,ct.default)((0,ut.jsx)("path",{d:"M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2m-2 14H5V6h14z"}),"Tablet");var Ye={},wt=$;Object.defineProperty(Ye,"__esModule",{value:!0});var be=Ye.default=void 0,ft=wt(q()),bt=w;be=Ye.default=(0,ft.default)((0,bt.jsx)("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"DesktopWindows");var pt="2.0.3",Pe=500,ai="user-agent",V="",ni="?",me="function",z="undefined",G="object",Le="string",x="browser",A="cpu",O="device",R="engine",_="os",F="result",a="name",t="type",o="vendor",n="version",y="architecture",se="major",r="model",ae="console",f="mobile",v="tablet",g="smarttv",S="wearable",_e="xr",ne="embedded",J="inapp",Ke="brands",L="formFactors",Ze="fullVersionList",W="platform",Je="platformVersion",ve="bitness",D="sec-ch-ua",mt=D+"-full-version-list",ht=D+"-arch",vt=D+"-"+ve,gt=D+"-form-factors",xt=D+"-"+f,yt=D+"-"+r,Ai=D+"-"+W,kt=Ai+"-version",Ci=[Ke,Ze,f,r,W,Je,y,L,ve],ce="Amazon",N="Apple",si="ASUS",li="BlackBerry",P="Google",di="Huawei",ci="Lenovo",ui="Honor",ue="LG",Re="Microsoft",Se="Motorola",Oe="Nvidia",wi="OnePlus",Ee="OPPO",Q="Samsung",fi="Sharp",ee="Sony",Ae="Xiaomi",Ce="Zebra",bi="Chrome",pi="Chromium",I="Chromecast",_t="Edge",ie="Firefox",te="Opera",je="Facebook",mi="Sogou",B="Mobile ",re=" Browser",$e="Windows",Rt=typeof window!==z,k=Rt&&window.navigator?window.navigator:void 0,H=k&&k.userAgentData?k.userAgentData:void 0,St=function(e,i){var s={},u=i;if(!he(i)){u={};for(var l in i)for(var b in i[l])u[b]=i[l][b].concat(u[b]?u[b]:[])}for(var d in e)s[d]=u[d]&&u[d].length%2===0?u[d].concat(e[d]):e[d];return s},ge=function(e){for(var i={},s=0;s<e.length;s++)i[e[s].toUpperCase()]=e[s];return i},qe=function(e,i){if(typeof e===G&&e.length>0){for(var s in e)if(C(e[s])==C(i))return!0;return!1}return Y(e)?C(i).indexOf(C(e))!==-1:!1},he=function(e,i){for(var s in e)return/^(browser|cpu|device|engine|os)$/.test(s)||(i?he(e[s]):!1)},Y=function(e){return typeof e===Le},Te=function(e){if(e){for(var i=[],s=X(/\\?\"/g,e).split(","),u=0;u<s.length;u++)if(s[u].indexOf(";")>-1){var l=le(s[u]).split(";v=");i[u]={brand:l[0],version:l[1]}}else i[u]=le(s[u]);return i}},C=function(e){return Y(e)?e.toLowerCase():e},Me=function(e){return Y(e)?X(/[^\d\.]/g,e).split(".")[0]:void 0},j=function(e){for(var i in e){var s=e[i];typeof s==G&&s.length==2?this[s[0]]=s[1]:this[s]=void 0}return this},X=function(e,i){return Y(i)?i.replace(e,V):i},oe=function(e){return X(/\\?\"/g,e)},le=function(e,i){if(Y(e))return e=X(/^\s\s*/,e),typeof i===z?e:e.substring(0,Pe)},Ie=function(e,i){if(!(!e||!i))for(var s=0,u,l,b,d,p,c;s<i.length&&!p;){var m=i[s],E=i[s+1];for(u=l=0;u<m.length&&!p&&m[u];)if(p=m[u++].exec(e),p)for(b=0;b<E.length;b++)c=p[++l],d=E[b],typeof d===G&&d.length>0?d.length===2?typeof d[1]==me?this[d[0]]=d[1].call(this,c):this[d[0]]=d[1]:d.length===3?typeof d[1]===me&&!(d[1].exec&&d[1].test)?this[d[0]]=c?d[1].call(this,c,d[2]):void 0:this[d[0]]=c?c.replace(d[1],d[2]):void 0:d.length===4&&(this[d[0]]=c?d[3].call(this,c.replace(d[1],d[2])):void 0):this[d]=c||void 0;s+=2}},U=function(e,i){for(var s in i)if(typeof i[s]===G&&i[s].length>0){for(var u=0;u<i[s].length;u++)if(qe(i[s][u],e))return s===ni?void 0:s}else if(qe(i[s],e))return s===ni?void 0:s;return i.hasOwnProperty("*")?i["*"]:e},hi={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},vi={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},gi={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[a,B+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,n],[/opios[\/ ]+([\w\.]+)/i],[n,[a,te+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,te+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,te]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[a,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[n,[a,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[a,n],[/quark(?:pc)?\/([-\w\.]+)/i],[n,[a,"Quark"]],[/\bddg\/([\w\.]+)/i],[n,[a,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[a,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[a,"Smart "+ci+re]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure"+re],n],[/\bfocus\/([\w\.]+)/i],[n,[a,ie+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,te+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,te+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+re]],[/fxios\/([\w\.-]+)/i],[n,[a,B+ie]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+re],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,Q+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[n,[a,mi+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,mi+" Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a,n],[/(lbbrowser|rekonq)/i],[a],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[n,a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,je],n,[t,J]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[a,n,[t,J]],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[a,"GSA"],[t,J]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[a,"TikTok"],[t,J]],[/\[(linkedin)app\]/i],[a,[t,J]],[/(chromium)[\/ ]([-\w\.]+)/i],[a,n],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[a,bi+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,bi+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android"+re]],[/chrome\/([\w\.]+) mobile/i],[n,[a,B+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,n],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[n,[a,B+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[a,B+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[n,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[n,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[a,n],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[a,B+ie],n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],n],[/(wolvic|librewolf)\/([\w\.]+)/i],[a,n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[a,ie+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a,[n,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[a,[n,/[^\d\.]+./,V]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[y,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[y,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[y,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[y,/ower/,V,C]],[/ sun4\w[;\)]/i],[[y,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[y,C]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[r,[o,Q],[t,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[r,[o,Q],[t,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[r,[o,N],[t,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[r,[o,N],[t,v]],[/(macintosh);/i],[r,[o,N]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[r,[o,fi],[t,f]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[r,[o,ui],[t,v]],[/honor([-\w ]+)[;\)]/i],[r,[o,ui],[t,f]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[r,[o,di],[t,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[r,[o,di],[t,f]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[r,/_/g," "],[o,Ae],[t,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[r,/_/g," "],[o,Ae],[t,f]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[r,[o,Ee],[t,f]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[r,[o,U,{OnePlus:["304","403","203"],"*":Ee}],[t,v]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[r,[o,"BLU"],[t,f]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[r,[o,"Vivo"],[t,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[r,[o,"Realme"],[t,f]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[r,[o,Se],[t,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[r,[o,Se],[t,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[r,[o,ue],[t,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[r,[o,ue],[t,f]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[r,[o,ci],[t,v]],[/(nokia) (t[12][01])/i],[o,r,[t,v]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[r,/_/g," "],[t,f],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[r,[o,P],[t,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[r,[o,P],[t,f]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[r,[o,ee],[t,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[r,"Xperia Tablet"],[o,ee],[t,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[r,[o,wi],[t,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[r,[o,ce],[t,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[r,/(.+)/g,"Fire Phone $1"],[o,ce],[t,f]],[/(playbook);[-\w\),; ]+(rim)/i],[r,o,[t,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[r,[o,li],[t,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[r,[o,si],[t,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[r,[o,si],[t,f]],[/(nexus 9)/i],[r,[o,"HTC"],[t,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[r,/_/g," "],[t,f]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[r,[o,"TCL"],[t,v]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[r,[o,"TCL"],[t,f]],[/(itel) ((\w+))/i],[[o,C],r,[t,U,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[r,[o,"Acer"],[t,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[r,[o,"Meizu"],[t,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[r,[o,"Ulefone"],[t,f]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[r,[o,"Energizer"],[t,f]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[r,[o,"Cat"],[t,f]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[r,[o,"Smartfren"],[t,f]],[/droid.+; (a(?:015|06[35]|142p?))/i],[r,[o,"Nothing"],[t,f]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[r,[o,"Archos"],[t,v]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[r,[o,"Archos"],[t,f]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,r,[t,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,r,[t,f]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[o,r,[t,v]],[/(surface duo)/i],[r,[o,Re],[t,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[r,[o,"Fairphone"],[t,f]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[r,[o,Oe],[t,v]],[/(sprint) (\w+)/i],[o,r,[t,f]],[/(kin\.[onetw]{3})/i],[[r,/\./g," "],[o,Re],[t,f]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[r,[o,Ce],[t,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[r,[o,Ce],[t,f]],[/smart-tv.+(samsung)/i],[o,[t,g]],[/hbbtv.+maple;(\d+)/i],[[r,/^/,"SmartTV"],[o,Q],[t,g]],[/tcast.+(lg)e?. ([-\w]+)/i],[o,r,[t,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,ue],[t,g]],[/(apple) ?tv/i],[o,[r,N+" TV"],[t,g]],[/crkey.*devicetype\/chromecast/i],[[r,I+" Third Generation"],[o,P],[t,g]],[/crkey.*devicetype\/([^/]*)/i],[[r,/^/,"Chromecast "],[o,P],[t,g]],[/fuchsia.*crkey/i],[[r,I+" Nest Hub"],[o,P],[t,g]],[/crkey/i],[[r,I],[o,P],[t,g]],[/(portaltv)/i],[r,[o,je],[t,g]],[/droid.+aft(\w+)( bui|\))/i],[r,[o,ce],[t,g]],[/(shield \w+ tv)/i],[r,[o,Oe],[t,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[r,[o,fi],[t,g]],[/(bravia[\w ]+)( bui|\))/i],[r,[o,ee],[t,g]],[/(mi(tv|box)-?\w+) bui/i],[r,[o,Ae],[t,g]],[/Hbbtv.*(technisat) (.*);/i],[o,r,[t,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,le],[r,le],[t,g]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[r,[t,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,g]],[/(ouya)/i,/(nintendo) (\w+)/i],[o,r,[t,ae]],[/droid.+; (shield)( bui|\))/i],[r,[o,Oe],[t,ae]],[/(playstation \w+)/i],[r,[o,ee],[t,ae]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[r,[o,Re],[t,ae]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[r,[o,Q],[t,S]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,r,[t,S]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[r,[o,Ee],[t,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[r,[o,N],[t,S]],[/(opwwe\d{3})/i],[r,[o,wi],[t,S]],[/(moto 360)/i],[r,[o,Se],[t,S]],[/(smartwatch 3)/i],[r,[o,ee],[t,S]],[/(g watch r)/i],[r,[o,ue],[t,S]],[/droid.+; (wt63?0{2,3})\)/i],[r,[o,Ce],[t,S]],[/droid.+; (glass) \d/i],[r,[o,P],[t,_e]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,r,[t,_e]],[/(quest( \d| pro)?s?).+vr/i],[r,[o,je],[t,_e]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[t,ne]],[/(aeobc)\b/i],[r,[o,ce],[t,ne]],[/(homepod).+mac os/i],[r,[o,N],[t,ne]],[/windows iot/i],[[t,ne]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[r,[t,U,{mobile:"Mobile",xr:"VR","*":v}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,f]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[r,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,_t+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[a,n],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[a,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a,n],[/ladybird\//i],[[a,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,n],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a,[n,U,hi]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,U,hi],[a,$e]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,"macOS"],[n,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[n,[a,I+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[n,[a,I+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[n,[a,I+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[n,[a,I+" Linux"]],[/crkey\/([\d\.]+)/i],[n,[a,I]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,a],[/(ubuntu) ([\w\.]+) like android/i],[[a,/(.+)/,"$1 Touch"],n],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[a,n],[/\(bb(10);/i],[n,[a,li]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,ie+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[a,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,"Chrome OS"],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a,n],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,n]]},we=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return j.call(e.init,[[x,[a,n,se,t]],[A,[y]],[O,[t,r,o]],[R,[a,n]],[_,[a,n]]]),j.call(e.isIgnore,[[x,[n,se]],[R,[n]],[_,[n]]]),j.call(e.isIgnoreRgx,[[x,/ ?browser$/i],[_,/ ?os$/i]]),j.call(e.toString,[[x,[a,n]],[A,[y]],[O,[o,r]],[R,[a,n]],[_,[a,n]]]),e}(),Ot=function(e,i){var s=we.init[i],u=we.isIgnore[i]||0,l=we.isIgnoreRgx[i]||0,b=we.toString[i]||0;function d(){j.call(this,s)}return d.prototype.getItem=function(){return e},d.prototype.withClientHints=function(){return H?H.getHighEntropyValues(Ci).then(function(p){return e.setCH(new ji(p,!1)).parseCH().get()}):e.parseCH().get()},d.prototype.withFeatureCheck=function(){return e.detectFeature().get()},i!=F&&(d.prototype.is=function(p){var c=!1;for(var m in this)if(this.hasOwnProperty(m)&&!qe(u,m)&&C(l?X(l,this[m]):this[m])==C(l?X(l,p):p)){if(c=!0,p!=z)break}else if(p==z&&c){c=!c;break}return c},d.prototype.toString=function(){var p=V;for(var c in b)typeof this[b[c]]!==z&&(p+=(p?" ":V)+this[b[c]]);return p||z}),H||(d.prototype.then=function(p){var c=this,m=function(){for(var M in c)c.hasOwnProperty(M)&&(this[M]=c[M])};m.prototype={is:d.prototype.is,toString:d.prototype.toString};var E=new m;return p(E),E}),new d};function ji(e,i){if(e=e||{},j.call(this,Ci),i)j.call(this,[[Ke,Te(e[D])],[Ze,Te(e[mt])],[f,/\?1/.test(e[xt])],[r,oe(e[yt])],[W,oe(e[Ai])],[Je,oe(e[kt])],[y,oe(e[ht])],[L,Te(e[gt])],[ve,oe(e[vt])]]);else for(var s in e)this.hasOwnProperty(s)&&typeof e[s]!==z&&(this[s]=e[s])}function xi(e,i,s,u){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,b){return this.data[l]=b,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(k&&k.userAgent==this.ua)switch(this.itemType){case x:k.brave&&typeof k.brave.isBrave==me&&this.set(a,"Brave");break;case O:!this.get(t)&&H&&H[f]&&this.set(t,f),this.get(r)=="Macintosh"&&k&&typeof k.standalone!==z&&k.maxTouchPoints&&k.maxTouchPoints>2&&this.set(r,"iPad").set(t,v);break;case _:!this.get(a)&&H&&H[W]&&this.set(a,H[W]);break;case F:var l=this.data,b=function(d){return l[d].getItem().detectFeature().get()};this.set(x,b(x)).set(A,b(A)).set(O,b(O)).set(R,b(R)).set(_,b(_))}return this},this.parseUA=function(){return this.itemType!=F&&Ie.call(this.data,this.ua,this.rgxMap),this.itemType==x&&this.set(se,Me(this.get(n))),this},this.parseCH=function(){var l=this.uaCH,b=this.rgxMap;switch(this.itemType){case x:case R:var d=l[Ze]||l[Ke],p;if(d)for(var c in d){var m=d[c].brand||d[c],E=d[c].version;this.itemType==x&&!/not.a.brand/i.test(m)&&(!p||/chrom/i.test(p)&&m!=pi)&&(m=U(m,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(a,m).set(n,E).set(se,Me(E)),p=m),this.itemType==R&&m==pi&&this.set(n,E)}break;case A:var M=l[y];M&&(M&&l[ve]=="64"&&(M+="64"),Ie.call(this.data,M+";",b));break;case O:if(l[f]&&this.set(t,f),l[r]&&(this.set(r,l[r]),!this.get(t)||!this.get(o))){var K={};Ie.call(K,"droid 9; "+l[r]+")",b),!this.get(t)&&K.type&&this.set(t,K.type),!this.get(o)&&K.vendor&&this.set(o,K.vendor)}if(l[L]){var de;if(typeof l[L]!="string")for(var ti=0;!de&&ti<l[L].length;)de=U(l[L][ti++],vi);else de=U(l[L],vi);this.set(t,de)}break;case _:var xe=l[W];if(xe){var ye=l[Je];xe==$e&&(ye=parseInt(Me(ye),10)>=13?"11":"10"),this.set(a,xe).set(n,ye)}this.get(a)==$e&&l[r]=="Xbox"&&this.set(a,"Xbox").set(n,void 0);break;case F:var zi=this.data,Z=function(Di){return zi[Di].getItem().setCH(l).parseCH().get()};this.set(x,Z(x)).set(A,Z(A)).set(O,Z(O)).set(R,Z(R)).set(_,Z(_))}return this},j.call(this,[["itemType",e],["ua",i],["uaCH",u],["rgxMap",s],["data",Ot(this,e)]]),this}function T(e,i,s){if(typeof e===G?(he(e,!0)?(typeof i===G&&(s=i),i=e):(s=e,i=void 0),e=void 0):typeof e===Le&&!he(i,!0)&&(s=i,i=void 0),s&&typeof s.append===me){var u={};s.forEach(function(c,m){u[m]=c}),s=u}if(!(this instanceof T))return new T(e,i,s).getResult();var l=typeof e===Le?e:s&&s[ai]?s[ai]:k&&k.userAgent?k.userAgent:V,b=new ji(s,!0),d=i?St(gi,i):gi,p=function(c){return c==F?function(){return new xi(c,l,d,b).set("ua",l).set(x,this.getBrowser()).set(A,this.getCPU()).set(O,this.getDevice()).set(R,this.getEngine()).set(_,this.getOS()).get()}:function(){return new xi(c,l,d[c],b).parseUA().get()}};return j.call(this,[["getBrowser",p(x)],["getCPU",p(A)],["getDevice",p(O)],["getEngine",p(R)],["getOS",p(_)],["getResult",p(F)],["getUA",function(){return l}],["setUA",function(c){return Y(c)&&(l=c.length>Pe?le(c,Pe):c),this}]]).setUA(l),this}T.VERSION=pt;T.BROWSER=ge([a,n,se,t]);T.CPU=ge([y]);T.DEVICE=ge([r,o,t,ae,f,g,v,S,ne]);T.ENGINE=T.OS=ge([a,n]);function Et(e){return!e||typeof e!="string"?"break-all":e.includes(" ")?"break-word":"break-all"}function Qe(e){const i={width:e.size,height:e.size,...e.sx},s=typeof e.name=="string"?e.name:e.logo,u=w.jsxs(He,{direction:"row",alignItems:"center",spacing:1,className:`info-card-wrapper ${e.className}`,sx:{cursor:e.tooltip?"pointer":"default"},children:[e.logo?w.jsx(ri,{src:e.logo,alt:e.logoName??s,variant:e.variant,sx:i}):w.jsx(ri,{variant:e.variant,sx:i,children:s==null?void 0:s.slice(0,1)}),w.jsxs(He,{direction:"column",alignItems:"flex-start",justifyContent:"space-around",sx:{wordBreak:Et(e.name),minWidth:{xs:100,sm:140}},children:[w.jsx(pe,{variant:"body1",color:"text.primary",component:"div",children:e.name}),e.description&&w.jsx(pe,{variant:"subtitle1",color:"text.secondary",children:e.description})]})]});return e.tooltip?w.jsx(Pi,{title:e.tooltip,placement:"top-start",componentsProps:{tooltip:{sx:{bgcolor:l=>l.palette.mode==="dark"?"#2a2e37":"#ffffff",color:l=>l.palette.mode==="dark"?"#ffffff":l.palette.text.primary,boxShadow:"0 2px 10px rgba(0, 0, 0, 0.15)",borderRadius:2,padding:"10px 16px",fontSize:14,maxWidth:400,minWidth:240,wordBreak:"break-word",border:l=>l.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0","& .MuiTooltip-arrow":{color:l=>l.palette.mode==="dark"?"#2a2e37":"#ffffff","&::before":{border:l=>l.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0",backgroundColor:l=>l.palette.mode==="dark"?"#2a2e37":"#ffffff"}}}}},children:u}):u}Qe.propTypes={logo:h.string,name:h.oneOfType([h.string,h.node]).isRequired,description:h.oneOfType([h.string,h.node]),size:h.oneOfType([h.number,h.string]),variant:h.oneOf(["square","rounded","circular"]),sx:h.object,className:h.string,logoName:h.string,tooltip:h.oneOfType([h.string,h.node])};Qe.defaultProps={description:"",logo:"",size:40,variant:"rounded",sx:{},className:"",logoName:"",tooltip:null};function At(e){try{if(!e.trim())return{device:{icon:w.jsx(be,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:w.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}};const s=new T(e).getResult();let u="";const l=e.split(/\s+/).find(c=>c.startsWith("arcwallet"));if(l){const c=l.split("/");c.length>1&&oi.coerce(c[1])&&(u=oi.coerce(c[1]).version)}const b=(()=>{const{type:c="",model:m=""}=s.device;return c==="mobile"?{icon:w.jsx(Oi,{fontSize:"small"}),text:m||"Mobile Device"}:c==="tablet"?{icon:w.jsx(Ei,{fontSize:"small"}),text:m||"Tablet"}:{icon:w.jsx(Ri,{fontSize:"small"}),text:m||"Desktop"}})(),d=(()=>{const{name:c="",version:m=""}=s.os;return c.toLowerCase().includes("mac")?{icon:w.jsx(De,{fontSize:"small"}),text:`${c} ${m}`}:c.toLowerCase().includes("ios")?{icon:w.jsx(De,{fontSize:"small"}),text:`${c} ${m}`}:c.toLowerCase().includes("android")?{icon:w.jsx(Si,{fontSize:"small"}),text:`${c} ${m}`}:c.toLowerCase().includes("windows")?{icon:w.jsx(be,{fontSize:"small"}),text:`${c} ${m}`}:{icon:null,text:c?`${c} ${m}`:"Unknown OS"}})(),p=(()=>{const{name:c="",version:m=""}=s.browser;return{icon:w.jsx(fe,{fontSize:"small"}),text:c?`${c} ${m}`:"Unknown Browser"}})();return{device:b,os:d,browser:p,...u?{walletVersion:{icon:null,text:u}}:{}}}catch(i){return console.error("Error parsing user agent:",i),{device:{icon:w.jsx(be,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:w.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}}}}function Ti({ua:e}){const i=At(e);return w.jsx(He,{spacing:1,children:Object.entries(i).map(([s,{icon:u,text:l}])=>w.jsxs(Ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[w.jsx(Ue,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:u}),w.jsx(pe,{variant:"body2",sx:{display:"flex"},children:l})]},s))})}Ti.propTypes={ua:h.string.isRequired};const Ct=()=>{const{t:e}=Ne(),i={$all:e("common.all"),owner:"Owner",admin:"Admin",member:"Member",guest:"Guest"};return{SYSTEM_ROLES:i,formatRoleName:u=>{const l=(u||"").toLowerCase();return l.startsWith("$")?i[l]||l.slice(1):i[l]||l}}},jt=(e,i=!1)=>{const s=i?1:.6;switch(e){case"owner":return`rgba(232, 222, 255, ${s})`;case"admin":return`rgba(227, 242, 253, ${s})`;case"member":return`rgba(232, 245, 233, ${s})`;case"guest":return`rgba(245, 245, 245, ${s})`;default:return`rgba(245, 245, 245, ${s})`}},Tt=yi(ki)(({role:e})=>({backgroundColor:jt(e.toLowerCase()),color:"#000000"})),Mt=e=>{switch(e){case"valid":return i=>i.palette.success.light;case"expired":return i=>i.palette.text.disabled;case"revoked":return i=>i.palette.error.light;default:return i=>i.palette.warning.light}},It=yi(ki)(({theme:e,status:i})=>({backgroundColor:Mt(i)(e),color:"#FFFFFF"}));function Mi({did:e}){return w.jsx(ze,{size:14,responsive:!1,compact:!0,copyable:!1,did:e})}Mi.propTypes={did:h.string.isRequired};function Ii({timestamp:e,locale:i}){return w.jsx(Ue,{sx:{minWidth:"100px"},children:w.jsx(Li,{value:e,locale:i})})}Ii.propTypes={timestamp:h.number.isRequired,locale:h.string.isRequired};function ei({name:e,role:i}){const{formatRoleName:s}=Ct();return w.jsx(Tt,{label:s(e||i),size:"small",role:e||i,sx:{borderRadius:1}})}ei.propTypes={role:h.string.isRequired,name:h.string};ei.defaultProps={name:""};function Hi({status:e}){const{t:i}=Ne();return w.jsx(It,{label:i(`team.passport.statusMap.${e}`),size:"small",status:e,sx:{borderRadius:1}})}Hi.propTypes={status:h.string.isRequired};function Ui({source:e}){const{t:i}=Ne();return e?i(`team.passport.sourceMaps.${e}`):"-"}Ui.propTypes={source:h.string.isRequired};const ii=ke.memo(function({user:i,size:s="default",tooltip:u=!1,inService:l}){const{teamDid:b}=Vi(),d=ke.useMemo(()=>Wi(i.avatar,b,l),[i.avatar,b,l]),p=ke.useMemo(()=>w.jsx(ze,{did:i==null?void 0:i.did,compact:!0,responsive:!1,sx:{whiteSpace:"nowrap"},size:12}),[i==null?void 0:i.did]),c=Fi(()=>({...i,avatar:d}),[i,d]);return s==="small"?w.jsx(Qe,{variant:"circular",logo:d,name:w.jsx(pe,{sx:{maxWidth:320,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},className:"customer-link-name",children:i.fullName||i.email}),...s==="small"?{tooltip:u?w.jsx(ze,{did:i==null?void 0:i.did}):!1,size:24}:{description:p,size:36}}):w.jsx($i,{user:c,avatarSize:s==="small"?24:36,cardType:qi.Detailed,infoType:Ni.Minimal,sx:{padding:0,border:"none"},showDid:!0,didProps:{compact:!0,responsive:!1},showHoverCard:!1})});ii.propTypes={user:h.object.isRequired,size:h.string,tooltip:h.bool,inService:h.bool};ii.defaultProps={size:"default",tooltip:!1,inService:!1};const Nt=e=>w.jsx(Mi,{did:e}),Bt=(e,i)=>w.jsx(ei,{name:e,role:i}),Ft=e=>w.jsx(Hi,{status:e}),Wt=(e,i)=>w.jsx(Ii,{timestamp:e,locale:i}),Vt=e=>w.jsx(Ui,{source:e}),Gt=(e,i=!1)=>w.jsx(ii,{user:e,inService:i}),Xt=e=>w.jsx(Ti,{ua:e});export{Ft as a,Gt as b,Vt as c,Xt as d,Wt as e,Nt as f,Bt as r,Ct as u};
1
+ import{a9 as $,j as w,H as h,al as He,bc as ri,T as pe,ad as Pi,s as yi,E as ki,aa as Ue}from"./vendor-mui-core-Bh-qMRq3.js";import{r as q,a as Ne,V as Li,b as oi}from"./vendor-ux-did-connect-D0L9YnHn.js";import{U as $i,C as qi,I as Ni}from"./index-c0hdujdn.js";import{r as Bi,b as ke}from"./vendor-react-DEoibe3W.js";import{f as Fi}from"./vendor-hooks-DpwFseeF.js";import{W as ze}from"./did-address-mv0Qw7hC.js";import{p as Vi}from"./util-CiTimo-i.js";import{u as Wi}from"./dashboard-B_QqB4aw.js";var Be={},Gi=$;Object.defineProperty(Be,"__esModule",{value:!0});var De=Be.default=void 0;Ki(Bi);var Xi=Gi(q()),Yi=w;function _i(e){if(typeof WeakMap!="function")return null;var i=new WeakMap,s=new WeakMap;return(_i=function(u){return u?s:i})(e)}function Ki(e,i){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var s=_i(i);if(s&&s.has(e))return s.get(e);var u={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in e)if(b!=="default"&&Object.prototype.hasOwnProperty.call(e,b)){var d=l?Object.getOwnPropertyDescriptor(e,b):null;d&&(d.get||d.set)?Object.defineProperty(u,b,d):u[b]=e[b]}return u.default=e,s&&s.set(e,u),u}De=Be.default=(0,Xi.default)((0,Yi.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"}),"Apple");var Fe={},Zi=$;Object.defineProperty(Fe,"__esModule",{value:!0});var Ri=Fe.default=void 0,Ji=Zi(q()),Qi=w;Ri=Fe.default=(0,Ji.default)((0,Qi.jsx)("path",{d:"M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"}),"Laptop");var Ve={},et=$;Object.defineProperty(Ve,"__esModule",{value:!0});var fe=Ve.default=void 0,it=et(q()),tt=w;fe=Ve.default=(0,it.default)((0,tt.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-5 14H4v-4h11zm0-5H4V9h11zm5 5h-4V9h4z"}),"Web");var We={},rt=$;Object.defineProperty(We,"__esModule",{value:!0});var Si=We.default=void 0,ot=rt(q()),at=w;Si=We.default=(0,ot.default)((0,at.jsx)("path",{d:"m17.6 9.48 1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.18-.37.54-.22.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52M7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25"}),"Android");var Ge={},nt=$;Object.defineProperty(Ge,"__esModule",{value:!0});var Oi=Ge.default=void 0,st=nt(q()),lt=w;Oi=Ge.default=(0,st.default)((0,lt.jsx)("path",{d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1m-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m4.5-4H7V4h9z"}),"PhoneIphone");var Xe={},dt=$;Object.defineProperty(Xe,"__esModule",{value:!0});var Ei=Xe.default=void 0,ct=dt(q()),ut=w;Ei=Xe.default=(0,ct.default)((0,ut.jsx)("path",{d:"M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2m-2 14H5V6h14z"}),"Tablet");var Ye={},wt=$;Object.defineProperty(Ye,"__esModule",{value:!0});var be=Ye.default=void 0,ft=wt(q()),bt=w;be=Ye.default=(0,ft.default)((0,bt.jsx)("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"DesktopWindows");var pt="2.0.3",Pe=500,ai="user-agent",W="",ni="?",me="function",z="undefined",G="object",Le="string",x="browser",A="cpu",O="device",R="engine",_="os",F="result",a="name",t="type",o="vendor",n="version",y="architecture",se="major",r="model",ae="console",f="mobile",v="tablet",g="smarttv",S="wearable",_e="xr",ne="embedded",J="inapp",Ke="brands",L="formFactors",Ze="fullVersionList",V="platform",Je="platformVersion",ve="bitness",D="sec-ch-ua",mt=D+"-full-version-list",ht=D+"-arch",vt=D+"-"+ve,gt=D+"-form-factors",xt=D+"-"+f,yt=D+"-"+r,Ai=D+"-"+V,kt=Ai+"-version",Ci=[Ke,Ze,f,r,V,Je,y,L,ve],ce="Amazon",N="Apple",si="ASUS",li="BlackBerry",P="Google",di="Huawei",ci="Lenovo",ui="Honor",ue="LG",Re="Microsoft",Se="Motorola",Oe="Nvidia",wi="OnePlus",Ee="OPPO",Q="Samsung",fi="Sharp",ee="Sony",Ae="Xiaomi",Ce="Zebra",bi="Chrome",pi="Chromium",I="Chromecast",_t="Edge",ie="Firefox",te="Opera",je="Facebook",mi="Sogou",B="Mobile ",re=" Browser",$e="Windows",Rt=typeof window!==z,k=Rt&&window.navigator?window.navigator:void 0,H=k&&k.userAgentData?k.userAgentData:void 0,St=function(e,i){var s={},u=i;if(!he(i)){u={};for(var l in i)for(var b in i[l])u[b]=i[l][b].concat(u[b]?u[b]:[])}for(var d in e)s[d]=u[d]&&u[d].length%2===0?u[d].concat(e[d]):e[d];return s},ge=function(e){for(var i={},s=0;s<e.length;s++)i[e[s].toUpperCase()]=e[s];return i},qe=function(e,i){if(typeof e===G&&e.length>0){for(var s in e)if(C(e[s])==C(i))return!0;return!1}return Y(e)?C(i).indexOf(C(e))!==-1:!1},he=function(e,i){for(var s in e)return/^(browser|cpu|device|engine|os)$/.test(s)||(i?he(e[s]):!1)},Y=function(e){return typeof e===Le},Te=function(e){if(e){for(var i=[],s=X(/\\?\"/g,e).split(","),u=0;u<s.length;u++)if(s[u].indexOf(";")>-1){var l=le(s[u]).split(";v=");i[u]={brand:l[0],version:l[1]}}else i[u]=le(s[u]);return i}},C=function(e){return Y(e)?e.toLowerCase():e},Me=function(e){return Y(e)?X(/[^\d\.]/g,e).split(".")[0]:void 0},j=function(e){for(var i in e){var s=e[i];typeof s==G&&s.length==2?this[s[0]]=s[1]:this[s]=void 0}return this},X=function(e,i){return Y(i)?i.replace(e,W):i},oe=function(e){return X(/\\?\"/g,e)},le=function(e,i){if(Y(e))return e=X(/^\s\s*/,e),typeof i===z?e:e.substring(0,Pe)},Ie=function(e,i){if(!(!e||!i))for(var s=0,u,l,b,d,p,c;s<i.length&&!p;){var m=i[s],E=i[s+1];for(u=l=0;u<m.length&&!p&&m[u];)if(p=m[u++].exec(e),p)for(b=0;b<E.length;b++)c=p[++l],d=E[b],typeof d===G&&d.length>0?d.length===2?typeof d[1]==me?this[d[0]]=d[1].call(this,c):this[d[0]]=d[1]:d.length===3?typeof d[1]===me&&!(d[1].exec&&d[1].test)?this[d[0]]=c?d[1].call(this,c,d[2]):void 0:this[d[0]]=c?c.replace(d[1],d[2]):void 0:d.length===4&&(this[d[0]]=c?d[3].call(this,c.replace(d[1],d[2])):void 0):this[d]=c||void 0;s+=2}},U=function(e,i){for(var s in i)if(typeof i[s]===G&&i[s].length>0){for(var u=0;u<i[s].length;u++)if(qe(i[s][u],e))return s===ni?void 0:s}else if(qe(i[s],e))return s===ni?void 0:s;return i.hasOwnProperty("*")?i["*"]:e},hi={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},vi={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},gi={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[a,B+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,n],[/opios[\/ ]+([\w\.]+)/i],[n,[a,te+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,te+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,te]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[a,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[n,[a,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[a,n],[/quark(?:pc)?\/([-\w\.]+)/i],[n,[a,"Quark"]],[/\bddg\/([\w\.]+)/i],[n,[a,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[a,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[a,"Smart "+ci+re]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure"+re],n],[/\bfocus\/([\w\.]+)/i],[n,[a,ie+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,te+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,te+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+re]],[/fxios\/([\w\.-]+)/i],[n,[a,B+ie]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+re],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,Q+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[n,[a,mi+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,mi+" Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a,n],[/(lbbrowser|rekonq)/i],[a],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[n,a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,je],n,[t,J]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[a,n,[t,J]],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[a,"GSA"],[t,J]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[a,"TikTok"],[t,J]],[/\[(linkedin)app\]/i],[a,[t,J]],[/(chromium)[\/ ]([-\w\.]+)/i],[a,n],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[a,bi+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,bi+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android"+re]],[/chrome\/([\w\.]+) mobile/i],[n,[a,B+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,n],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[n,[a,B+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[a,B+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[n,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[n,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[a,n],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[a,B+ie],n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],n],[/(wolvic|librewolf)\/([\w\.]+)/i],[a,n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[a,ie+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a,[n,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[a,[n,/[^\d\.]+./,W]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[y,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[y,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[y,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[y,/ower/,W,C]],[/ sun4\w[;\)]/i],[[y,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[y,C]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[r,[o,Q],[t,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[r,[o,Q],[t,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[r,[o,N],[t,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[r,[o,N],[t,v]],[/(macintosh);/i],[r,[o,N]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[r,[o,fi],[t,f]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[r,[o,ui],[t,v]],[/honor([-\w ]+)[;\)]/i],[r,[o,ui],[t,f]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[r,[o,di],[t,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[r,[o,di],[t,f]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[r,/_/g," "],[o,Ae],[t,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[r,/_/g," "],[o,Ae],[t,f]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[r,[o,Ee],[t,f]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[r,[o,U,{OnePlus:["304","403","203"],"*":Ee}],[t,v]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[r,[o,"BLU"],[t,f]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[r,[o,"Vivo"],[t,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[r,[o,"Realme"],[t,f]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[r,[o,Se],[t,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[r,[o,Se],[t,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[r,[o,ue],[t,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[r,[o,ue],[t,f]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[r,[o,ci],[t,v]],[/(nokia) (t[12][01])/i],[o,r,[t,v]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[r,/_/g," "],[t,f],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[r,[o,P],[t,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[r,[o,P],[t,f]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[r,[o,ee],[t,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[r,"Xperia Tablet"],[o,ee],[t,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[r,[o,wi],[t,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[r,[o,ce],[t,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[r,/(.+)/g,"Fire Phone $1"],[o,ce],[t,f]],[/(playbook);[-\w\),; ]+(rim)/i],[r,o,[t,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[r,[o,li],[t,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[r,[o,si],[t,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[r,[o,si],[t,f]],[/(nexus 9)/i],[r,[o,"HTC"],[t,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[r,/_/g," "],[t,f]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[r,[o,"TCL"],[t,v]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[r,[o,"TCL"],[t,f]],[/(itel) ((\w+))/i],[[o,C],r,[t,U,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[r,[o,"Acer"],[t,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[r,[o,"Meizu"],[t,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[r,[o,"Ulefone"],[t,f]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[r,[o,"Energizer"],[t,f]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[r,[o,"Cat"],[t,f]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[r,[o,"Smartfren"],[t,f]],[/droid.+; (a(?:015|06[35]|142p?))/i],[r,[o,"Nothing"],[t,f]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[r,[o,"Archos"],[t,v]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[r,[o,"Archos"],[t,f]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,r,[t,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,r,[t,f]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[o,r,[t,v]],[/(surface duo)/i],[r,[o,Re],[t,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[r,[o,"Fairphone"],[t,f]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[r,[o,Oe],[t,v]],[/(sprint) (\w+)/i],[o,r,[t,f]],[/(kin\.[onetw]{3})/i],[[r,/\./g," "],[o,Re],[t,f]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[r,[o,Ce],[t,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[r,[o,Ce],[t,f]],[/smart-tv.+(samsung)/i],[o,[t,g]],[/hbbtv.+maple;(\d+)/i],[[r,/^/,"SmartTV"],[o,Q],[t,g]],[/tcast.+(lg)e?. ([-\w]+)/i],[o,r,[t,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,ue],[t,g]],[/(apple) ?tv/i],[o,[r,N+" TV"],[t,g]],[/crkey.*devicetype\/chromecast/i],[[r,I+" Third Generation"],[o,P],[t,g]],[/crkey.*devicetype\/([^/]*)/i],[[r,/^/,"Chromecast "],[o,P],[t,g]],[/fuchsia.*crkey/i],[[r,I+" Nest Hub"],[o,P],[t,g]],[/crkey/i],[[r,I],[o,P],[t,g]],[/(portaltv)/i],[r,[o,je],[t,g]],[/droid.+aft(\w+)( bui|\))/i],[r,[o,ce],[t,g]],[/(shield \w+ tv)/i],[r,[o,Oe],[t,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[r,[o,fi],[t,g]],[/(bravia[\w ]+)( bui|\))/i],[r,[o,ee],[t,g]],[/(mi(tv|box)-?\w+) bui/i],[r,[o,Ae],[t,g]],[/Hbbtv.*(technisat) (.*);/i],[o,r,[t,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,le],[r,le],[t,g]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[r,[t,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,g]],[/(ouya)/i,/(nintendo) (\w+)/i],[o,r,[t,ae]],[/droid.+; (shield)( bui|\))/i],[r,[o,Oe],[t,ae]],[/(playstation \w+)/i],[r,[o,ee],[t,ae]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[r,[o,Re],[t,ae]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[r,[o,Q],[t,S]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,r,[t,S]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[r,[o,Ee],[t,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[r,[o,N],[t,S]],[/(opwwe\d{3})/i],[r,[o,wi],[t,S]],[/(moto 360)/i],[r,[o,Se],[t,S]],[/(smartwatch 3)/i],[r,[o,ee],[t,S]],[/(g watch r)/i],[r,[o,ue],[t,S]],[/droid.+; (wt63?0{2,3})\)/i],[r,[o,Ce],[t,S]],[/droid.+; (glass) \d/i],[r,[o,P],[t,_e]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,r,[t,_e]],[/(quest( \d| pro)?s?).+vr/i],[r,[o,je],[t,_e]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[t,ne]],[/(aeobc)\b/i],[r,[o,ce],[t,ne]],[/(homepod).+mac os/i],[r,[o,N],[t,ne]],[/windows iot/i],[[t,ne]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[r,[t,U,{mobile:"Mobile",xr:"VR","*":v}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,f]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[r,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,_t+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[a,n],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[a,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a,n],[/ladybird\//i],[[a,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,n],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a,[n,U,hi]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,U,hi],[a,$e]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,"macOS"],[n,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[n,[a,I+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[n,[a,I+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[n,[a,I+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[n,[a,I+" Linux"]],[/crkey\/([\d\.]+)/i],[n,[a,I]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,a],[/(ubuntu) ([\w\.]+) like android/i],[[a,/(.+)/,"$1 Touch"],n],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[a,n],[/\(bb(10);/i],[n,[a,li]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,ie+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[a,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,"Chrome OS"],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a,n],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,n]]},we=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return j.call(e.init,[[x,[a,n,se,t]],[A,[y]],[O,[t,r,o]],[R,[a,n]],[_,[a,n]]]),j.call(e.isIgnore,[[x,[n,se]],[R,[n]],[_,[n]]]),j.call(e.isIgnoreRgx,[[x,/ ?browser$/i],[_,/ ?os$/i]]),j.call(e.toString,[[x,[a,n]],[A,[y]],[O,[o,r]],[R,[a,n]],[_,[a,n]]]),e}(),Ot=function(e,i){var s=we.init[i],u=we.isIgnore[i]||0,l=we.isIgnoreRgx[i]||0,b=we.toString[i]||0;function d(){j.call(this,s)}return d.prototype.getItem=function(){return e},d.prototype.withClientHints=function(){return H?H.getHighEntropyValues(Ci).then(function(p){return e.setCH(new ji(p,!1)).parseCH().get()}):e.parseCH().get()},d.prototype.withFeatureCheck=function(){return e.detectFeature().get()},i!=F&&(d.prototype.is=function(p){var c=!1;for(var m in this)if(this.hasOwnProperty(m)&&!qe(u,m)&&C(l?X(l,this[m]):this[m])==C(l?X(l,p):p)){if(c=!0,p!=z)break}else if(p==z&&c){c=!c;break}return c},d.prototype.toString=function(){var p=W;for(var c in b)typeof this[b[c]]!==z&&(p+=(p?" ":W)+this[b[c]]);return p||z}),H||(d.prototype.then=function(p){var c=this,m=function(){for(var M in c)c.hasOwnProperty(M)&&(this[M]=c[M])};m.prototype={is:d.prototype.is,toString:d.prototype.toString};var E=new m;return p(E),E}),new d};function ji(e,i){if(e=e||{},j.call(this,Ci),i)j.call(this,[[Ke,Te(e[D])],[Ze,Te(e[mt])],[f,/\?1/.test(e[xt])],[r,oe(e[yt])],[V,oe(e[Ai])],[Je,oe(e[kt])],[y,oe(e[ht])],[L,Te(e[gt])],[ve,oe(e[vt])]]);else for(var s in e)this.hasOwnProperty(s)&&typeof e[s]!==z&&(this[s]=e[s])}function xi(e,i,s,u){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,b){return this.data[l]=b,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(k&&k.userAgent==this.ua)switch(this.itemType){case x:k.brave&&typeof k.brave.isBrave==me&&this.set(a,"Brave");break;case O:!this.get(t)&&H&&H[f]&&this.set(t,f),this.get(r)=="Macintosh"&&k&&typeof k.standalone!==z&&k.maxTouchPoints&&k.maxTouchPoints>2&&this.set(r,"iPad").set(t,v);break;case _:!this.get(a)&&H&&H[V]&&this.set(a,H[V]);break;case F:var l=this.data,b=function(d){return l[d].getItem().detectFeature().get()};this.set(x,b(x)).set(A,b(A)).set(O,b(O)).set(R,b(R)).set(_,b(_))}return this},this.parseUA=function(){return this.itemType!=F&&Ie.call(this.data,this.ua,this.rgxMap),this.itemType==x&&this.set(se,Me(this.get(n))),this},this.parseCH=function(){var l=this.uaCH,b=this.rgxMap;switch(this.itemType){case x:case R:var d=l[Ze]||l[Ke],p;if(d)for(var c in d){var m=d[c].brand||d[c],E=d[c].version;this.itemType==x&&!/not.a.brand/i.test(m)&&(!p||/chrom/i.test(p)&&m!=pi)&&(m=U(m,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(a,m).set(n,E).set(se,Me(E)),p=m),this.itemType==R&&m==pi&&this.set(n,E)}break;case A:var M=l[y];M&&(M&&l[ve]=="64"&&(M+="64"),Ie.call(this.data,M+";",b));break;case O:if(l[f]&&this.set(t,f),l[r]&&(this.set(r,l[r]),!this.get(t)||!this.get(o))){var K={};Ie.call(K,"droid 9; "+l[r]+")",b),!this.get(t)&&K.type&&this.set(t,K.type),!this.get(o)&&K.vendor&&this.set(o,K.vendor)}if(l[L]){var de;if(typeof l[L]!="string")for(var ti=0;!de&&ti<l[L].length;)de=U(l[L][ti++],vi);else de=U(l[L],vi);this.set(t,de)}break;case _:var xe=l[V];if(xe){var ye=l[Je];xe==$e&&(ye=parseInt(Me(ye),10)>=13?"11":"10"),this.set(a,xe).set(n,ye)}this.get(a)==$e&&l[r]=="Xbox"&&this.set(a,"Xbox").set(n,void 0);break;case F:var zi=this.data,Z=function(Di){return zi[Di].getItem().setCH(l).parseCH().get()};this.set(x,Z(x)).set(A,Z(A)).set(O,Z(O)).set(R,Z(R)).set(_,Z(_))}return this},j.call(this,[["itemType",e],["ua",i],["uaCH",u],["rgxMap",s],["data",Ot(this,e)]]),this}function T(e,i,s){if(typeof e===G?(he(e,!0)?(typeof i===G&&(s=i),i=e):(s=e,i=void 0),e=void 0):typeof e===Le&&!he(i,!0)&&(s=i,i=void 0),s&&typeof s.append===me){var u={};s.forEach(function(c,m){u[m]=c}),s=u}if(!(this instanceof T))return new T(e,i,s).getResult();var l=typeof e===Le?e:s&&s[ai]?s[ai]:k&&k.userAgent?k.userAgent:W,b=new ji(s,!0),d=i?St(gi,i):gi,p=function(c){return c==F?function(){return new xi(c,l,d,b).set("ua",l).set(x,this.getBrowser()).set(A,this.getCPU()).set(O,this.getDevice()).set(R,this.getEngine()).set(_,this.getOS()).get()}:function(){return new xi(c,l,d[c],b).parseUA().get()}};return j.call(this,[["getBrowser",p(x)],["getCPU",p(A)],["getDevice",p(O)],["getEngine",p(R)],["getOS",p(_)],["getResult",p(F)],["getUA",function(){return l}],["setUA",function(c){return Y(c)&&(l=c.length>Pe?le(c,Pe):c),this}]]).setUA(l),this}T.VERSION=pt;T.BROWSER=ge([a,n,se,t]);T.CPU=ge([y]);T.DEVICE=ge([r,o,t,ae,f,g,v,S,ne]);T.ENGINE=T.OS=ge([a,n]);function Et(e){return!e||typeof e!="string"?"break-all":e.includes(" ")?"break-word":"break-all"}function Qe(e){const i={width:e.size,height:e.size,...e.sx},s=typeof e.name=="string"?e.name:e.logo,u=w.jsxs(He,{direction:"row",alignItems:"center",spacing:1,className:`info-card-wrapper ${e.className}`,sx:{cursor:e.tooltip?"pointer":"default"},children:[e.logo?w.jsx(ri,{src:e.logo,alt:e.logoName??s,variant:e.variant,sx:i}):w.jsx(ri,{variant:e.variant,sx:i,children:s==null?void 0:s.slice(0,1)}),w.jsxs(He,{direction:"column",alignItems:"flex-start",justifyContent:"space-around",sx:{wordBreak:Et(e.name),minWidth:{xs:100,sm:140}},children:[w.jsx(pe,{variant:"body1",color:"text.primary",component:"div",children:e.name}),e.description&&w.jsx(pe,{variant:"subtitle1",color:"text.secondary",children:e.description})]})]});return e.tooltip?w.jsx(Pi,{title:e.tooltip,placement:"top-start",componentsProps:{tooltip:{sx:{bgcolor:l=>l.palette.mode==="dark"?"#2a2e37":"#ffffff",color:l=>l.palette.mode==="dark"?"#ffffff":l.palette.text.primary,boxShadow:"0 2px 10px rgba(0, 0, 0, 0.15)",borderRadius:2,padding:"10px 16px",fontSize:14,maxWidth:400,minWidth:240,wordBreak:"break-word",border:l=>l.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0","& .MuiTooltip-arrow":{color:l=>l.palette.mode==="dark"?"#2a2e37":"#ffffff","&::before":{border:l=>l.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0",backgroundColor:l=>l.palette.mode==="dark"?"#2a2e37":"#ffffff"}}}}},children:u}):u}Qe.propTypes={logo:h.string,name:h.oneOfType([h.string,h.node]).isRequired,description:h.oneOfType([h.string,h.node]),size:h.oneOfType([h.number,h.string]),variant:h.oneOf(["square","rounded","circular"]),sx:h.object,className:h.string,logoName:h.string,tooltip:h.oneOfType([h.string,h.node])};Qe.defaultProps={description:"",logo:"",size:40,variant:"rounded",sx:{},className:"",logoName:"",tooltip:null};function At(e){try{if(!e.trim())return{device:{icon:w.jsx(be,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:w.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}};const s=new T(e).getResult();let u="";const l=e.split(/\s+/).find(c=>c.startsWith("arcwallet"));if(l){const c=l.split("/");c.length>1&&oi.coerce(c[1])&&(u=oi.coerce(c[1]).version)}const b=(()=>{const{type:c="",model:m=""}=s.device;return c==="mobile"?{icon:w.jsx(Oi,{fontSize:"small"}),text:m||"Mobile Device"}:c==="tablet"?{icon:w.jsx(Ei,{fontSize:"small"}),text:m||"Tablet"}:{icon:w.jsx(Ri,{fontSize:"small"}),text:m||"Desktop"}})(),d=(()=>{const{name:c="",version:m=""}=s.os;return c.toLowerCase().includes("mac")?{icon:w.jsx(De,{fontSize:"small"}),text:`${c} ${m}`}:c.toLowerCase().includes("ios")?{icon:w.jsx(De,{fontSize:"small"}),text:`${c} ${m}`}:c.toLowerCase().includes("android")?{icon:w.jsx(Si,{fontSize:"small"}),text:`${c} ${m}`}:c.toLowerCase().includes("windows")?{icon:w.jsx(be,{fontSize:"small"}),text:`${c} ${m}`}:{icon:null,text:c?`${c} ${m}`:"Unknown OS"}})(),p=(()=>{const{name:c="",version:m=""}=s.browser;return{icon:w.jsx(fe,{fontSize:"small"}),text:c?`${c} ${m}`:"Unknown Browser"}})();return{device:b,os:d,browser:p,...u?{walletVersion:{icon:null,text:u}}:{}}}catch(i){return console.error("Error parsing user agent:",i),{device:{icon:w.jsx(be,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:w.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}}}}function Ti({ua:e}){const i=At(e);return w.jsx(He,{spacing:1,children:Object.entries(i).map(([s,{icon:u,text:l}])=>w.jsxs(Ue,{sx:{display:"flex",alignItems:"center",gap:1},children:[w.jsx(Ue,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:u}),w.jsx(pe,{variant:"body2",sx:{display:"flex"},children:l})]},s))})}Ti.propTypes={ua:h.string.isRequired};const Ct=()=>{const{t:e}=Ne(),i={$all:e("common.all"),owner:"Owner",admin:"Admin",member:"Member",guest:"Guest"};return{SYSTEM_ROLES:i,formatRoleName:u=>{const l=(u||"").toLowerCase();return l.startsWith("$")?i[l]||l.slice(1):i[l]||l}}},jt=(e,i=!1)=>{const s=i?1:.6;switch(e){case"owner":return`rgba(232, 222, 255, ${s})`;case"admin":return`rgba(227, 242, 253, ${s})`;case"member":return`rgba(232, 245, 233, ${s})`;case"guest":return`rgba(245, 245, 245, ${s})`;default:return`rgba(245, 245, 245, ${s})`}},Tt=yi(ki)(({role:e})=>({backgroundColor:jt(e.toLowerCase()),color:"#000000"})),Mt=e=>{switch(e){case"valid":return i=>i.palette.success.light;case"expired":return i=>i.palette.text.disabled;case"revoked":return i=>i.palette.error.light;default:return i=>i.palette.warning.light}},It=yi(ki)(({theme:e,status:i})=>({backgroundColor:Mt(i)(e),color:"#FFFFFF"}));function Mi({did:e}){return w.jsx(ze,{size:14,responsive:!1,compact:!0,copyable:!1,did:e})}Mi.propTypes={did:h.string.isRequired};function Ii({timestamp:e,locale:i}){return w.jsx(Ue,{sx:{minWidth:"100px"},children:w.jsx(Li,{value:e,locale:i})})}Ii.propTypes={timestamp:h.number.isRequired,locale:h.string.isRequired};function ei({name:e,role:i}){const{formatRoleName:s}=Ct();return w.jsx(Tt,{label:s(e||i),size:"small",role:e||i,sx:{borderRadius:1}})}ei.propTypes={role:h.string.isRequired,name:h.string};ei.defaultProps={name:""};function Hi({status:e}){const{t:i}=Ne();return w.jsx(It,{label:i(`team.passport.statusMap.${e}`),size:"small",status:e,sx:{borderRadius:1}})}Hi.propTypes={status:h.string.isRequired};function Ui({source:e}){const{t:i}=Ne();return e?i(`team.passport.sourceMaps.${e}`):"-"}Ui.propTypes={source:h.string.isRequired};const ii=ke.memo(function({user:i,size:s="default",tooltip:u=!1,inService:l}){const{teamDid:b}=Wi(),d=ke.useMemo(()=>Vi(i.avatar,b,l),[i.avatar,b,l]),p=ke.useMemo(()=>w.jsx(ze,{did:i==null?void 0:i.did,compact:!0,responsive:!1,sx:{whiteSpace:"nowrap"},size:12}),[i==null?void 0:i.did]),c=Fi(()=>({...i,avatar:d}),[i,d]);return s==="small"?w.jsx(Qe,{variant:"circular",logo:d,name:w.jsx(pe,{sx:{maxWidth:320,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},className:"customer-link-name",children:i.fullName||i.email}),...s==="small"?{tooltip:u?w.jsx(ze,{did:i==null?void 0:i.did}):!1,size:24}:{description:p,size:36}}):w.jsx($i,{user:c,avatarSize:s==="small"?24:36,cardType:qi.Detailed,infoType:Ni.Minimal,sx:{padding:0,border:"none"},showDid:!0,didProps:{compact:!0,responsive:!1},showHoverCard:!1})});ii.propTypes={user:h.object.isRequired,size:h.string,tooltip:h.bool,inService:h.bool};ii.defaultProps={size:"default",tooltip:!1,inService:!1};const Nt=e=>w.jsx(Mi,{did:e}),Bt=(e,i)=>w.jsx(ei,{name:e,role:i}),Ft=e=>w.jsx(Hi,{status:e}),Vt=(e,i)=>w.jsx(Ii,{timestamp:e,locale:i}),Wt=e=>w.jsx(Ui,{source:e}),Gt=(e,i=!1)=>w.jsx(ii,{user:e,inService:i}),Xt=e=>w.jsx(Ti,{ua:e});export{Ft as a,Gt as b,Wt as c,Xt as d,Vt as e,Nt as f,Bt as r,Ct as u};
@@ -1 +1 @@
1
- import{H as n,j as p}from"./vendor-mui-core-Bh-qMRq3.js";import{u as m}from"./session-B2z_IWIe.js";function u({permission:i,role:t,component:s,children:o}){const{session:r}=m();let e=!0;const f=[].concat(i).filter(Boolean),l=[].concat(t).filter(Boolean);if(f.length){const c=r.user&&r.user.permissions||[];e=f.some(a=>c.includes(a))}return e&&l.length&&(e=l.includes(r.user.role)),typeof s=="function"?s(e):typeof o=="function"?o(e):e&&(s||o)||null}function d(i,t,s){return function(r){return p.jsx(u,{permission:t,role:s,children:e=>p.jsx(i,{...r,hasPermission:e})})}}u.propTypes={permission:n.oneOfType([n.string,n.arrayOf(n.string)]),role:n.oneOfType([n.string,n.arrayOf(n.string)]),component:n.oneOfType([n.func,n.node]),children:n.oneOfType([n.func,n.node])};u.defaultProps={permission:"",role:"",component:null,children:null};export{u as P,d as w};
1
+ import{H as n,j as p}from"./vendor-mui-core-Bh-qMRq3.js";import{u as m}from"./session-DUt5rVEy.js";function u({permission:i,role:t,component:s,children:o}){const{session:r}=m();let e=!0;const f=[].concat(i).filter(Boolean),l=[].concat(t).filter(Boolean);if(f.length){const c=r.user&&r.user.permissions||[];e=f.some(a=>c.includes(a))}return e&&l.length&&(e=l.includes(r.user.role)),typeof s=="function"?s(e):typeof o=="function"?o(e):e&&(s||o)||null}function d(i,t,s){return function(r){return p.jsx(u,{permission:t,role:s,children:e=>p.jsx(i,{...r,hasPermission:e})})}}u.propTypes={permission:n.oneOfType([n.string,n.arrayOf(n.string)]),role:n.oneOfType([n.string,n.arrayOf(n.string)]),component:n.oneOfType([n.func,n.node]),children:n.oneOfType([n.func,n.node])};u.defaultProps={permission:"",role:"",component:null,children:null};export{u as P,d as w};
@@ -1 +1 @@
1
- import{j as o}from"./vendor-mui-core-Bh-qMRq3.js";import{A as t}from"./vendor-utils-rHXShPKm.js";import{I as s}from"./iframe-D0kv9-rE.js";import{j as e}from"./vendor-ux-did-connect-Ck9lzrbN.js";import{S as m}from"./studio-CiFHrC57.js";import"./vendor-react-DEoibe3W.js";import"./vendor-arcblock-DPRICUXM.js";import"./vendor-hooks-Zkb4Ilbj.js";import"./lottie-web-jYmAQWuC.js";import"./TuneOutlined-DmhFMgM-.js";function P(){const r=new URLSearchParams;r.set("title","Preference Builder"),r.set("schemaKey",t(window.location.origin,e.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/studio/preferences"));const i=`${t(window.location.origin,e.WELLKNOWN_SERVICE_PATH_PREFIX,"/hosted/form-builder/")}?${r.toString()}`;return o.jsx(m,{children:o.jsx(s,{url:i,width:"100%",height:"100%",frameBorder:0,styles:{border:0}})})}export{P as default};
1
+ import{j as o}from"./vendor-mui-core-Bh-qMRq3.js";import{A as t}from"./vendor-utils-rHXShPKm.js";import{I as s}from"./iframe-BlPuY8Pu.js";import{j as e}from"./vendor-ux-did-connect-D0L9YnHn.js";import{S as m}from"./studio-kVKG7W3n.js";import"./vendor-react-DEoibe3W.js";import"./vendor-arcblock-Ca95GLVH.js";import"./vendor-hooks-DpwFseeF.js";import"./lottie-web-jYmAQWuC.js";import"./TuneOutlined-BvtfOd23.js";function P(){const r=new URLSearchParams;r.set("title","Preference Builder"),r.set("schemaKey",t(window.location.origin,e.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/studio/preferences"));const i=`${t(window.location.origin,e.WELLKNOWN_SERVICE_PATH_PREFIX,"/hosted/form-builder/")}?${r.toString()}`;return o.jsx(m,{children:o.jsx(s,{url:i,width:"100%",height:"100%",frameBorder:0,styles:{border:0}})})}export{P as default};
@@ -1 +1 @@
1
- import{j as e}from"./vendor-mui-core-Bh-qMRq3.js";import{H as t,U as o}from"./vendor-arcblock-DPRICUXM.js";import"./vendor-react-DEoibe3W.js";import{a as s}from"./vendor-ux-did-connect-Ck9lzrbN.js";import"./vendor-utils-rHXShPKm.js";import"./vendor-hooks-Zkb4Ilbj.js";import"./lottie-web-jYmAQWuC.js";function x(){const{t:r}=s();return e.jsxs(e.Fragment,{children:[e.jsx(t,{children:e.jsx("title",{children:r("pageTitle.userCenter")})}),e.jsx(o,{onlyProfile:!0,currentTab:"",disableAutoRedirect:!0})]})}export{x as default};
1
+ import{j as e}from"./vendor-mui-core-Bh-qMRq3.js";import{H as t,U as o}from"./vendor-arcblock-Ca95GLVH.js";import"./vendor-react-DEoibe3W.js";import{a as s}from"./vendor-ux-did-connect-D0L9YnHn.js";import"./vendor-utils-rHXShPKm.js";import"./vendor-hooks-DpwFseeF.js";import"./lottie-web-jYmAQWuC.js";function x(){const{t:r}=s();return e.jsxs(e.Fragment,{children:[e.jsx(t,{children:e.jsx("title",{children:r("pageTitle.userCenter")})}),e.jsx(o,{onlyProfile:!0,currentTab:"",disableAutoRedirect:!0})]})}export{x as default};