@abtnode/blocklet-services 1.16.22 → 1.16.23-beta-f85576a6

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 (180) hide show
  1. package/dist/assets/{Add-fjbSIcnc.js → Add-WOKsiMJk.js} +1 -1
  2. package/dist/assets/{Alert-nav821gk.js → Alert-sYFXq3Al.js} +1 -1
  3. package/dist/assets/{ArrowDropDown-HzxvBXz1.js → ArrowDropDown-H7oIyp0F.js} +1 -1
  4. package/dist/assets/{Autocomplete-FZ1Hog9u.js → Autocomplete-vDgjSkCK.js} +1 -1
  5. package/dist/assets/{Avatar-4W2iSGC-.js → Avatar-sPQLj-7K.js} +1 -1
  6. package/dist/assets/{ButtonGroup-qjjm6C6u.js → ButtonGroup-T2tPvlgZ.js} +1 -1
  7. package/dist/assets/{CardContent-hsa9cKyn.js → CardContent-hFzeKFHi.js} +1 -1
  8. package/dist/assets/{CheckCircle-htlybHjr.js → CheckCircle-ttstfmEU.js} +1 -1
  9. package/dist/assets/{ChevronRight-7cKIhy5z.js → ChevronRight-43UHN-z-.js} +1 -1
  10. package/dist/assets/{DeleteOutline-QxqDOFWu.js → DeleteOutline-e9e8OEcE.js} +1 -1
  11. package/dist/assets/{Done-ApQZxhfW.js → Done-E-Gh1lkh.js} +1 -1
  12. package/dist/assets/{Download-eudDXSjG.js → Download-ayiRETlJ.js} +1 -1
  13. package/dist/assets/{Edit-4h5n3zVg.js → Edit-lj_ebVEl.js} +1 -1
  14. package/dist/assets/{EditIcon-CEHYlrp-.js → EditIcon-vBYCcMT4.js} +1 -1
  15. package/dist/assets/{ExpandMore-JmnmUnd8.js → ExpandMore-205fwIPh.js} +1 -1
  16. package/dist/assets/{FilterList-rU96K2al.js → FilterList-kWJ_p-Xk.js} +2 -2
  17. package/dist/assets/{FormControl-U_6qW76h.js → FormControl-9fKakpMh.js} +1 -1
  18. package/dist/assets/FormControlLabel-EmYIE4Ks.js +1 -0
  19. package/dist/assets/{FormGroup-6byJTUh5.js → FormGroup-lOaPA6kB.js} +1 -1
  20. package/dist/assets/{Google-0MAQRWrd.js → Google-ik5OMx5W.js} +1 -1
  21. package/dist/assets/{Hidden-SKwxA9k1.js → Hidden-3SNT7G6f.js} +1 -1
  22. package/dist/assets/{Icon-9CFlKIHS.js → Icon-42MXOEvW.js} +1 -1
  23. package/dist/assets/{InfoOutlined-0GqWWO-f.js → InfoOutlined-fvTeaIHi.js} +1 -1
  24. package/dist/assets/{InputAdornment-iwL7P_Vm.js → InputAdornment-DhK5XGEl.js} +1 -1
  25. package/dist/assets/{InputLabel-qtx_TKpe.js → InputLabel-wK2bWpSD.js} +1 -1
  26. package/dist/assets/{LastPage-pHa4HGK_.js → LastPage-VBH3ZNA2.js} +1 -1
  27. package/dist/assets/{Launch-gJCQmpyL.js → Launch-Xygdj5kt.js} +1 -1
  28. package/dist/assets/{LaunchOutlined-WAN0Led7.js → LaunchOutlined-3Jpkcyko.js} +1 -1
  29. package/dist/assets/{ListItem-kYIyq9wN.js → ListItem-Mc-6Sx7a.js} +1 -1
  30. package/dist/assets/{LockIcon-e6UtCqfh.js → LockIcon-R_R57epV.js} +1 -1
  31. package/dist/assets/{Loop-PXldOGkJ.js → Loop-aSwEwGmw.js} +1 -1
  32. package/dist/assets/{MoreHoriz-1QS3N81v.js → MoreHoriz-3Yd91mwt.js} +1 -1
  33. package/dist/assets/{MoreVert-b_wUncc4.js → MoreVert-4y42cx0s.js} +1 -1
  34. package/dist/assets/{OpenInNew-cyQNIeON.js → OpenInNew-tmusoGGX.js} +1 -1
  35. package/dist/assets/{Pagination-yeBOKJgc.js → Pagination-AapFkNsX.js} +1 -1
  36. package/dist/assets/{PlayArrow-DsCR1WAD.js → PlayArrow-NomOs4fE.js} +1 -1
  37. package/dist/assets/{RadioGroup-MeoNWf5B.js → RadioGroup-ds0DRyXx.js} +1 -1
  38. package/dist/assets/{Search-pq50dDMP.js → Search-JFjur7RV.js} +1 -1
  39. package/dist/assets/{Select-1vnu6Wod.js → Select-gum5gwN9.js} +1 -1
  40. package/dist/assets/{ServerLogo-RRmp6mc-.js → ServerLogo-6ooEEYN8.js} +1 -1
  41. package/dist/assets/{Skeleton-bmmJmS0u.js → Skeleton-d1ARVMzl.js} +1 -1
  42. package/dist/assets/{Stepper-V9gE9w3-.js → Stepper-kfcuXM-6.js} +1 -1
  43. package/dist/assets/{TableRow-7b-DLFKT.js → TableRow-OmKn0_uE.js} +1 -1
  44. package/dist/assets/{TextField-HfFRez76.js → TextField-SIkk5GBD.js} +1 -1
  45. package/dist/assets/{Toolbar-z-FYIGbv.js → Toolbar-NMQzSDZI.js} +1 -1
  46. package/dist/assets/access-control-Azg2skw_.js +13 -0
  47. package/dist/assets/{actions-c_BF9d9e.js → actions-c-PXZIk7.js} +1 -1
  48. package/dist/assets/{add-component-core-cwUA8ONY.js → add-component-core-0mqZzfNI.js} +4 -4
  49. package/dist/assets/add-resource-UgWhIHuw.js +1 -0
  50. package/dist/assets/{addon-7yjXaIX_.js → addon-jPojDgo_.js} +1 -1
  51. package/dist/assets/{analytics-b1UCJ6Cn.js → analytics-HAGGLVM8.js} +8 -8
  52. package/dist/assets/api-vzG5R7gz.js +1 -0
  53. package/dist/assets/{audit-logs-poKE0OY8.js → audit-logs-CZDNePJG.js} +3 -3
  54. package/dist/assets/{button-lOeSUgmq.js → button-9FEeAZF5.js} +1 -1
  55. package/dist/assets/{click-to-copy-H2O9ZAs8.js → click-to-copy-z0bRySrb.js} +1 -1
  56. package/dist/assets/{complete--aJHmuMX.js → complete-5wmNK-Kr.js} +1 -1
  57. package/dist/assets/{component-O_4jZEKT.js → component-noCyoaJE.js} +16 -16
  58. package/dist/assets/{config-_s2-tqfS.js → config-3kWa06jg.js} +1 -1
  59. package/dist/assets/{config-Fxb0qTJ0.js → config-L7IY53NO.js} +1 -1
  60. package/dist/assets/{config-navigation-YoH5FRo8.js → config-navigation-l2UUL5GX.js} +11 -11
  61. package/dist/assets/confirm-VPAExB8S.js +7 -0
  62. package/dist/assets/{confirm-yusCbmM9.js → confirm-aWG4liTX.js} +1 -1
  63. package/dist/assets/{connect-91kkXTrG.js → connect-3nZsP0Y7.js} +1 -1
  64. package/dist/assets/{connect-tamQdAs3.js → connect-Ut_qUKGn.js} +1 -1
  65. package/dist/assets/{content-layout-P9P08qyU.js → content-layout-NQeupjc8.js} +1 -1
  66. package/dist/assets/{dashboard-wLNTNF45.js → dashboard-IqdH25X5.js} +8 -8
  67. package/dist/assets/{did-address-fR8IBME6.js → did-address-0zsr9FGE.js} +1 -1
  68. package/dist/assets/{did-utils-LIvwQDYN.js → did-utils-2mzsdPOz.js} +1 -1
  69. package/dist/assets/domain-LGO9FXxu.js +9 -0
  70. package/dist/assets/domain-list-o5CVt5cn.js +12 -0
  71. package/dist/assets/{exchange-passport-T-h-OnRN.js → exchange-passport-8-3A99qv.js} +1 -1
  72. package/dist/assets/{fallback-wCdaTD2t.js → fallback-eXgiG5Pr.js} +1 -1
  73. package/dist/assets/{format-error-iCYgDtF5.js → format-error-lyZJ-vR8.js} +1 -1
  74. package/dist/assets/{fuel-KNzdaW-g.js → fuel-MWRKFgDm.js} +1 -1
  75. package/dist/assets/{fullpage-JCH-m3GS.js → fullpage-HBGx7AXk.js} +1 -1
  76. package/dist/assets/{home-Po2ga9wZ.js → home-ZOyRqxG6.js} +1 -1
  77. package/dist/assets/{iframe-5bCtjLAp.js → iframe-UeX3-BnF.js} +1 -1
  78. package/dist/assets/{index-nNJj_XhL.js → index--pe7TOaI.js} +1 -1
  79. package/dist/assets/{index-2HiYYWCO.js → index-1UDTrmOX.js} +1 -1
  80. package/dist/assets/{index-R3dXtQXo.js → index-2z2N5UaY.js} +1 -1
  81. package/dist/assets/index-3pcwx4gz.js +57 -0
  82. package/dist/assets/{index-4MBFFo4b.js → index-4KpCdTmK.js} +1 -1
  83. package/dist/assets/{index-NURviigq.js → index-7CKFrXrK.js} +1 -1
  84. package/dist/assets/{index-3kUoZ2Ef.js → index-DxSli22q.js} +1 -1
  85. package/dist/assets/{index-KswRO1Cx.js → index-HFGXBlAK.js} +1 -1
  86. package/dist/assets/{index-ax5KBcO9.js → index-JDaNxIsV.js} +59 -8
  87. package/dist/assets/{index-FMCeh-OO.js → index-JaoLJlQo.js} +1 -1
  88. package/dist/assets/{index-C7hr4YV8.js → index-NIuSKnAA.js} +1 -1
  89. package/dist/assets/index-NKi4Ykg5.js +1 -0
  90. package/dist/assets/{index-nXJuMgJq.js → index-OinRqSU-.js} +1 -1
  91. package/dist/assets/index-Rx4AmqwM.js +37 -0
  92. package/dist/assets/index-YS2sbIaj.js +203 -0
  93. package/dist/assets/{index-hnUD7mNC.js → index-arjlRv-U.js} +1 -1
  94. package/dist/assets/{index-3S1MajfA.js → index-dGMkSc6M.js} +3 -3
  95. package/dist/assets/index-ensthqSY.js +262 -0
  96. package/dist/assets/{index-7N0uMPlx.js → index-etPzRhyP.js} +1 -1
  97. package/dist/assets/index-h9Qzr9Ij.js +54 -0
  98. package/dist/assets/{index-q4YuEk6Y.js → index-hGEyozRl.js} +1 -1
  99. package/dist/assets/{index-lnLE9M77.js → index-jFRsVOWf.js} +1 -1
  100. package/dist/assets/{index-dQP0j7rR.js → index-jkuqfE6z.js} +1 -1
  101. package/dist/assets/{index-uIKkPDx2.js → index-mBoNVAkF.js} +41 -41
  102. package/dist/assets/{index-FT9kP6qN.js → index-p7HYJjf1.js} +1 -1
  103. package/dist/assets/{index-GsSFMKbP.js → index-vQOHKZcI.js} +1 -1
  104. package/dist/assets/{index-GG6_BZrf.js → index-zzHjRlUr.js} +1 -1
  105. package/dist/assets/{index.es-vxViMQsn.js → index.es-SmEqR8v0.js} +1 -1
  106. package/dist/assets/{index.esm-xVa55Zup.js → index.esm-Fk-GXIgo.js} +1 -1
  107. package/dist/assets/{invite-EUhwRkSk.js → invite-wSBdWHDI.js} +1 -1
  108. package/dist/assets/{issue-passport-Z7ofkA6K.js → issue-passport-vHldGpRg.js} +1 -1
  109. package/dist/assets/{jss-plugin-props-sort.esm-NWykbogG.js → jss-plugin-props-sort.esm-egoHvTKv.js} +1 -1
  110. package/dist/assets/{launch-result-message-E79l1MGN.js → launch-result-message-iDsonzeo.js} +1 -1
  111. package/dist/assets/{layout-ZhSAbpLd.js → layout-zzysI8Bj.js} +1 -1
  112. package/dist/assets/{list-header-OJgTzNF1.js → list-header-4FSJXt5l.js} +1 -1
  113. package/dist/assets/localization-JHpBkuFr.js +1 -0
  114. package/dist/assets/{log-4VclxlhZ.js → log-IHBBDSFp.js} +1 -1
  115. package/dist/assets/{login-7XksV0rI.js → login-qQGlXI6G.js} +1 -1
  116. package/dist/assets/{logo-uploader-enkwnhCD.js → logo-uploader-hR6FFn-4.js} +4 -4
  117. package/dist/assets/{lost-passport-cJF6p-67.js → lost-passport-CLoK127V.js} +4 -4
  118. package/dist/assets/{lottie-2uuZhpDU.js → lottie-X29n5HYo.js} +1 -1
  119. package/dist/assets/{memoize-one.esm-Y0hnttfr.js → memoize-one.esm-LD5HLm_4.js} +1 -1
  120. package/dist/assets/{nav-menu-2LU_iiMs.js → nav-menu-1ENXh9G_.js} +1 -1
  121. package/dist/assets/notifications-dFwaKILc.js +62 -0
  122. package/dist/assets/overview-KFyYnpN3.js +12 -0
  123. package/dist/assets/{page-header-CBzxlYad.js → page-header-8tWFobCu.js} +1 -1
  124. package/dist/assets/{permission-K-J3su8S.js → permission-oSc67tVg.js} +1 -1
  125. package/dist/assets/preferences-4qWEpSzN.js +1 -0
  126. package/dist/assets/publish-resource-ZwETSLtn.js +1 -0
  127. package/dist/assets/react-cBGiULoP.js +160 -0
  128. package/dist/assets/{redux-XOuz_cVf.js → redux-OxlCLGwT.js} +1 -1
  129. package/dist/assets/{selector-ykYLL3HG.js → selector-DDVRP6ux.js} +1 -1
  130. package/dist/assets/session-p0WamCWG.js +1 -0
  131. package/dist/assets/setup-vvvXA-tK.js +19 -0
  132. package/dist/assets/{slicedToArray-ttVd16Np.js → slicedToArray-o0-7iTky.js} +1 -1
  133. package/dist/assets/{spaces-ciJpOZGt.js → spaces--f1ECR1p.js} +1 -1
  134. package/dist/assets/{start-uztJSUel.js → start-hbohyu1u.js} +1 -1
  135. package/dist/assets/{step-actions-DJIhDuRf.js → step-actions-yuXDfRYd.js} +1 -1
  136. package/dist/assets/{studio--sQ-x80O.js → studio-sH4ftY9Y.js} +1 -1
  137. package/dist/assets/{switch-control-HdRcPAzs.js → switch-control-Q8hGL7Dp.js} +1 -1
  138. package/dist/assets/toPropertyKey-x0vRpJ6G.js +1 -0
  139. package/dist/assets/{transfer-3Gc3ycMl.js → transfer-25pDMv7-.js} +1 -1
  140. package/dist/assets/{uniqBy-k-IuKA35.js → uniqBy-ee2n6S1k.js} +1 -1
  141. package/dist/assets/{unsubscribe-XLKaVY1Y.js → unsubscribe-dD_FM5MN.js} +1 -1
  142. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-3Ylh35kg.js → use-blocklet-info-for-connect-did-spaces-U7E-FAZZ.js} +1 -1
  143. package/dist/assets/{useAsync-eueWQMQv.js → useAsync-B1gkUbWE.js} +1 -1
  144. package/dist/assets/{useFormControl-egCRc-oY.js → useFormControl-MFcUIOcD.js} +1 -1
  145. package/dist/assets/{useLocalStorage--e-ZnzAS.js → useLocalStorage-P7Xfe7vr.js} +1 -1
  146. package/dist/assets/{useSetState-FhUMbwgE.js → useSetState-aTBeha54.js} +1 -1
  147. package/dist/assets/user-oCYYn8TG.js +22 -0
  148. package/dist/assets/{util-ScgYi65n.js → util-piM_BAzR.js} +1 -1
  149. package/dist/assets/{wallet-hidden-topbar-4xE3Zmur.js → wallet-hidden-topbar-mQy-B-PP.js} +4 -4
  150. package/dist/assets/{wrap-locale-eKtYETDv.js → wrap-locale-gKjEjXie.js} +2 -2
  151. package/dist/assets/{zh-ZEZ2eHqG.js → zh-lWXip989.js} +1 -1
  152. package/dist/index.html +1 -1
  153. package/package.json +18 -18
  154. package/dist/assets/Checkbox-iS0aPWS5.js +0 -1
  155. package/dist/assets/DialogContentText-2StByoPg.js +0 -1
  156. package/dist/assets/FormControlLabel-Yzi0VkLB.js +0 -1
  157. package/dist/assets/Grid-G2b-U3nu.js +0 -1
  158. package/dist/assets/Slider-24UR9uuQ.js +0 -1
  159. package/dist/assets/access-control-140xtlbD.js +0 -13
  160. package/dist/assets/add-resource-iCbxZ67X.js +0 -1
  161. package/dist/assets/api-Rgr2QdHb.js +0 -1
  162. package/dist/assets/confirm-Q5y49s7X.js +0 -7
  163. package/dist/assets/domain-list-lVne43El.js +0 -12
  164. package/dist/assets/domain-zuaklUGn.js +0 -9
  165. package/dist/assets/index-8qpwDSzw.js +0 -203
  166. package/dist/assets/index-SVSv1xqW.js +0 -54
  167. package/dist/assets/index-_typwRVC.js +0 -37
  168. package/dist/assets/index-auhYXn_h.js +0 -262
  169. package/dist/assets/index-nBzqT-lu.js +0 -1
  170. package/dist/assets/index-p4r1RVIJ.js +0 -57
  171. package/dist/assets/localization-cO5MmVsH.js +0 -1
  172. package/dist/assets/notifications-Y8Uw-nJi.js +0 -62
  173. package/dist/assets/overview-9xOIDQ82.js +0 -12
  174. package/dist/assets/preferences-d-eWeFvi.js +0 -1
  175. package/dist/assets/publish-resource-4G2Mwb1d.js +0 -1
  176. package/dist/assets/react-QMgqj51s.js +0 -87
  177. package/dist/assets/session-4pK31v9z.js +0 -1
  178. package/dist/assets/setup-vcogg-M1.js +0 -19
  179. package/dist/assets/toPropertyKey-NzAT2yhV.js +0 -1
  180. package/dist/assets/user-waJ6JIkq.js +0 -22
@@ -1 +1 @@
1
- import{r as C,u as T,e as j,j as e,C as k,S as W,B as S,x as I,n as m,w as R,y as v,z as L,s as U,o as b}from"./index-uIKkPDx2.js";import{F}from"./fullpage-JCH-m3GS.js";import{w as N}from"./wrap-locale-eKtYETDv.js";function _({SessionContext:a,webWalletUrl:t,onSuccess:s}){var g,h;const{api:n,session:i}=C.useContext(a),{t:o,locale:w}=T(),u=j(),{searchParams:l}=new URL(window.location.href),x=l.get("redirect"),f=async(c,E)=>{s(c,E),await i.refresh(),m.success(o("exchangePassport.success")),setTimeout(()=>{if(x){const r=decodeURIComponent(x);r.startsWith(R.WELLKNOWN_SERVICE_PATH_PREFIX)?u(r,{replace:!0}):window.location=r}else window.location=window.env.pathPrefix||window.env.apiPrefix||"/"},3e3)},P=c=>{m.error(c.message)},p={},d=l.get("componentId");return d&&(p.componentId=d),i.loading?e.jsx(k,{children:e.jsx(W,{})}):e.jsx(F,{did:((g=window==null?void 0:window.blocklet)==null?void 0:g.appPid)||((h=window==null?void 0:window.env)==null?void 0:h.appPid),children:e.jsx(S,{sx:{width:"560px",maxWidth:"100%",height:"100%"},children:e.jsx(I,{className:"connect",action:"exchange-passport",checkFn:n.get,checkTimeout:10*60*1e3,webWalletUrl:t,onSuccess:f,onError:P,locale:w,messages:{title:o("exchangePassport.dialog.title"),scan:o("exchangePassport.dialog.scan"),confirm:o("exchangePassport.dialog.confirm"),success:o("exchangePassport.dialog.success")},extraParams:p,extraContent:null})})})}const B=N(_);function A(){const a=v(),t=(s,n)=>{s.sessionToken&&(U(n(s.sessionToken)),b(n(s.refreshToken)))};return e.jsx(B,{SessionContext:L,webWalletUrl:a,onSuccess:t})}export{A as default};
1
+ import{r as C,u as T,e as j,j as e,C as k,S as W,B as S,x as I,n as m,w as R,y as v,z as L,s as U,o as b}from"./index-mBoNVAkF.js";import{F}from"./fullpage-HBGx7AXk.js";import{w as N}from"./wrap-locale-gKjEjXie.js";function _({SessionContext:a,webWalletUrl:t,onSuccess:s}){var g,h;const{api:n,session:i}=C.useContext(a),{t:o,locale:w}=T(),u=j(),{searchParams:l}=new URL(window.location.href),x=l.get("redirect"),f=async(c,E)=>{s(c,E),await i.refresh(),m.success(o("exchangePassport.success")),setTimeout(()=>{if(x){const r=decodeURIComponent(x);r.startsWith(R.WELLKNOWN_SERVICE_PATH_PREFIX)?u(r,{replace:!0}):window.location=r}else window.location=window.env.pathPrefix||window.env.apiPrefix||"/"},3e3)},P=c=>{m.error(c.message)},p={},d=l.get("componentId");return d&&(p.componentId=d),i.loading?e.jsx(k,{children:e.jsx(W,{})}):e.jsx(F,{did:((g=window==null?void 0:window.blocklet)==null?void 0:g.appPid)||((h=window==null?void 0:window.env)==null?void 0:h.appPid),children:e.jsx(S,{sx:{width:"560px",maxWidth:"100%",height:"100%"},children:e.jsx(I,{className:"connect",action:"exchange-passport",checkFn:n.get,checkTimeout:10*60*1e3,webWalletUrl:t,onSuccess:f,onError:P,locale:w,messages:{title:o("exchangePassport.dialog.title"),scan:o("exchangePassport.dialog.scan"),confirm:o("exchangePassport.dialog.confirm"),success:o("exchangePassport.dialog.success")},extraParams:p,extraContent:null})})})}const B=N(_);function A(){const a=v(),t=(s,n)=>{s.sessionToken&&(U(n(s.sessionToken)),b(n(s.refreshToken)))};return e.jsx(B,{SessionContext:L,webWalletUrl:a,onSuccess:t})}export{A as default};
@@ -1,4 +1,4 @@
1
- import{P as e,j as o,bQ as i,c4 as a,F as l}from"./index-uIKkPDx2.js";function n({title:r,desc:t,retryFunc:s}){return o.jsxs(p,{role:"alert",children:[o.jsx("h3",{children:r}),o.jsx("pre",{children:t}),s&&o.jsx(l,{variant:"contained",color:"error",size:"small",onClick:s,children:"Try again"})]})}n.propTypes={title:e.string,desc:e.string.isRequired,retryFunc:e.func};n.defaultProps={title:"Something went wrong...",retryFunc:null};function c({error:r}){return o.jsx(n,{desc:r.message})}c.propTypes={error:e.instanceOf(Error).isRequired};e.instanceOf(Error).isRequired,e.func.isRequired;const p=i("div")`
1
+ import{P as e,j as o,bQ as i,c4 as a,F as l}from"./index-mBoNVAkF.js";function n({title:r,desc:t,retryFunc:s}){return o.jsxs(p,{role:"alert",children:[o.jsx("h3",{children:r}),o.jsx("pre",{children:t}),s&&o.jsx(l,{variant:"contained",color:"error",size:"small",onClick:s,children:"Try again"})]})}n.propTypes={title:e.string,desc:e.string.isRequired,retryFunc:e.func};n.defaultProps={title:"Something went wrong...",retryFunc:null};function c({error:r}){return o.jsx(n,{desc:r.message})}c.propTypes={error:e.instanceOf(Error).isRequired};e.instanceOf(Error).isRequired,e.func.isRequired;const p=i("div")`
2
2
  padding: 16px;
3
3
  border: 2px solid ${r=>r.theme.palette.error.main};
4
4
  border-radius: 4px;
@@ -1,2 +1,2 @@
1
- import{aS as i}from"./index-uIKkPDx2.js";const f=t=>{const{details:a,errors:e,response:r}=t;return Array.isArray(e)?e.map(s=>s.message).join(`
1
+ import{aS as i}from"./index-mBoNVAkF.js";const f=t=>{const{details:a,errors:e,response:r}=t;return Array.isArray(e)?e.map(s=>s.message).join(`
2
2
  `):Array.isArray(a)?`Validate failed: ${a.map(o=>{const n=o.message.replace(/["]/g,"'");return`${o.path.join(".")}: ${n}`}).join(";")}`:r?`Request failed: ${r.status} ${r.statusText}: ${JSON.stringify(r.data)}`:t.message};var m=f;const c=i(m);export{c as f};
@@ -1,4 +1,4 @@
1
- import{r as l,E as N,a8 as P,d as W,j as e,B as t,S as v,H as E,c as I,x as $,P as p,G as D}from"./index-uIKkPDx2.js";import{d as L}from"./Launch-gJCQmpyL.js";import{W as T}from"./did-address-fR8IBME6.js";import{P as z}from"./page-header-CBzxlYad.js";import{S as A}from"./layout-ZhSAbpLd.js";import{S as F}from"./step-actions-DJIhDuRf.js";import{S as u}from"./button-lOeSUgmq.js";import"./content-layout-P9P08qyU.js";function m({onNext:n,onPrevious:x}){const{locale:f,t:s}=l.useContext(N),{blocklet:a,gas:c,tokenInfo:h,actions:j}=P(),{api:y}=W(),[g,o]=l.useState(!1),{need:d="",current:S="",owe:r=99999,deficiency:k,symbol:b="",endpoint:i}=c||{},{origin:C="/"}=i?new URL(i):{};l.useEffect(()=>{const B=setInterval(()=>{j.refreshFuel()},2e3);return()=>{clearInterval(B)}},[]);const w=()=>{o(!1)};return c?e.jsxs(H,{children:[e.jsx("div",{className:"header",children:e.jsx(z,{title:s("setup.fuel.title"),onClickBack:x})}),e.jsxs(t,{className:"qr-body",children:[e.jsxs(t,{mb:6,className:"tip",children:[s("setup.fuel.tipStart").replace("slot",""),e.jsx("span",{className:"amount",children:`${d} ${b}`}),s("setup.fuel.tipEnd")]}),e.jsx(t,{fontSize:16,fontWeight:"fontWeightBold",mb:.5,children:s("setup.fuel.addressTitle")}),e.jsxs(t,{display:"flex",alignItems:"center",children:[e.jsx(T,{className:"address",did:a.appDid}),e.jsx(E,{style:{lineHeight:1},target:"_blank",href:I(C,"/explorer/accounts/",a.appDid),underline:"hover",children:e.jsx(L,{className:"icon-launch"})})]}),e.jsx(t,{my:2,children:e.jsx(u,{color:"primary",onClick:()=>o(!0),disabled:!r,children:s("setup.fuel.fuelApp")})}),e.jsx($,{popup:!0,open:g,action:"fuel",checkFn:y.get,checkTimeout:10*60*1e3,onSuccess:w,onClose:()=>o(!1),locale:f,messages:{title:s("setup.connect.title"),scan:s("setup.connect.scan"),confirm:s("setup.connect.confirm"),success:s("setup.connect.success")},extraParams:{amount:k,...h,endpoint:i}}),e.jsxs(t,{display:"flex",color:"text.secondary",children:[e.jsxs(t,{display:"flex",children:[e.jsxs(t,{children:[s("setup.fuel.need"),":"]}),e.jsx(t,{ml:.5,color:"primary.main",fontWeight:"fontWeightBold",children:d})]}),e.jsxs(t,{display:"flex",ml:3,children:[e.jsxs(t,{children:[s("setup.fuel.current"),":"]}),e.jsx(t,{ml:.5,color:r>0?"error.main":"primary.main",fontWeight:"fontWeightBold",children:S})]})]})]}),e.jsx(F,{mt:8,children:e.jsx(u,{disabled:r>0,onClick:()=>n(),children:s("setup.next")})})]}):e.jsx(t,{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",children:e.jsx(v,{})})}m.propTypes={onNext:p.func,onPrevious:p.func};m.defaultProps={onNext:()=>{},onPrevious:()=>{}};const H=D(A)`
1
+ import{r as l,E as N,a8 as P,d as W,j as e,B as t,S as v,H as E,c as I,x as $,P as p,G as D}from"./index-mBoNVAkF.js";import{d as L}from"./Launch-Xygdj5kt.js";import{W as T}from"./did-address-0zsr9FGE.js";import{P as z}from"./page-header-8tWFobCu.js";import{S as A}from"./layout-zzysI8Bj.js";import{S as F}from"./step-actions-yuXDfRYd.js";import{S as u}from"./button-9FEeAZF5.js";import"./content-layout-NQeupjc8.js";function m({onNext:n,onPrevious:x}){const{locale:f,t:s}=l.useContext(N),{blocklet:a,gas:c,tokenInfo:h,actions:j}=P(),{api:y}=W(),[g,o]=l.useState(!1),{need:d="",current:S="",owe:r=99999,deficiency:k,symbol:b="",endpoint:i}=c||{},{origin:C="/"}=i?new URL(i):{};l.useEffect(()=>{const B=setInterval(()=>{j.refreshFuel()},2e3);return()=>{clearInterval(B)}},[]);const w=()=>{o(!1)};return c?e.jsxs(H,{children:[e.jsx("div",{className:"header",children:e.jsx(z,{title:s("setup.fuel.title"),onClickBack:x})}),e.jsxs(t,{className:"qr-body",children:[e.jsxs(t,{mb:6,className:"tip",children:[s("setup.fuel.tipStart").replace("slot",""),e.jsx("span",{className:"amount",children:`${d} ${b}`}),s("setup.fuel.tipEnd")]}),e.jsx(t,{fontSize:16,fontWeight:"fontWeightBold",mb:.5,children:s("setup.fuel.addressTitle")}),e.jsxs(t,{display:"flex",alignItems:"center",children:[e.jsx(T,{className:"address",did:a.appDid}),e.jsx(E,{style:{lineHeight:1},target:"_blank",href:I(C,"/explorer/accounts/",a.appDid),underline:"hover",children:e.jsx(L,{className:"icon-launch"})})]}),e.jsx(t,{my:2,children:e.jsx(u,{color:"primary",onClick:()=>o(!0),disabled:!r,children:s("setup.fuel.fuelApp")})}),e.jsx($,{popup:!0,open:g,action:"fuel",checkFn:y.get,checkTimeout:10*60*1e3,onSuccess:w,onClose:()=>o(!1),locale:f,messages:{title:s("setup.connect.title"),scan:s("setup.connect.scan"),confirm:s("setup.connect.confirm"),success:s("setup.connect.success")},extraParams:{amount:k,...h,endpoint:i}}),e.jsxs(t,{display:"flex",color:"text.secondary",children:[e.jsxs(t,{display:"flex",children:[e.jsxs(t,{children:[s("setup.fuel.need"),":"]}),e.jsx(t,{ml:.5,color:"primary.main",fontWeight:"fontWeightBold",children:d})]}),e.jsxs(t,{display:"flex",ml:3,children:[e.jsxs(t,{children:[s("setup.fuel.current"),":"]}),e.jsx(t,{ml:.5,color:r>0?"error.main":"primary.main",fontWeight:"fontWeightBold",children:S})]})]})]}),e.jsx(F,{mt:8,children:e.jsx(u,{disabled:r>0,onClick:()=>n(),children:s("setup.next")})})]}):e.jsx(t,{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",children:e.jsx(v,{})})}m.propTypes={onNext:p.func,onPrevious:p.func};m.defaultProps={onNext:()=>{},onPrevious:()=>{}};const H=D(A)`
2
2
  .qr-body {
3
3
  width: 580px;
4
4
  ${n=>n.theme.breakpoints.down("md")} {
@@ -1 +1 @@
1
- import{j as e,T as g,H as h,P as i,I as v,B as r,A as w,J as c}from"./index-uIKkPDx2.js";function u({linkProps:o,...a}){return e.jsxs(g,{...a,children:["Powered by"," ",e.jsx(h,{href:"https://www.arcblock.io",target:"_blank",underline:"hover",...o,children:"ArcBlock"}),"'s"," ",e.jsx(h,{href:"https://www.blocklet.io",target:"_blank",underline:"hover",...o,children:"Blocklet Technology"}),", the decentralized web engine."]})}u.propTypes={linkProps:i.object};u.defaultProps={linkProps:{}};const k="/.well-known/service/static/assets/login-bg-m34fVHNm.png";function j({did:o,children:a,title:l,description:d,logo:n,logoSize:x,appUrl:t}){var b,p,y,m;if(!o)return a;let s;try{s=v(o)}catch{console.warn("Invalid did:",o)}const f=(globalThis==null?void 0:globalThis.blocklet)||(globalThis==null?void 0:globalThis.env)||{};return l===void 0&&(l=f.appName),d===void 0&&(d=f.appDescription),n===void 0&&(n=((b=globalThis==null?void 0:globalThis.blocklet)==null?void 0:b.appLogoRect)||((p=globalThis==null?void 0:globalThis.blocklet)==null?void 0:p.appLogo)||""),typeof n=="string"&&(n?n=e.jsx(r,{sx:{height:x,maxHeight:x,maxWidth:"50%",objectFit:"contain"},component:"img",src:n}):n=e.jsx(w,{size:x,did:o,src:n,variant:"rounded"})),typeof t=="string"&&(t=((y=globalThis==null?void 0:globalThis.blocklet)==null?void 0:y.appUrl)||"",!t&&(globalThis!=null&&globalThis.env)&&(t=(m=globalThis==null?void 0:globalThis.env)==null?void 0:m.baseUrl)),e.jsxs(r,{sx:{width:"100vw",height:"100vh",display:"flex"},children:[e.jsxs(r,{sx:{position:"relative",fontSize:0,flex:30,display:{xs:"none",lg:"flex"},minWidth:"400px",backgroundColor:c.surfaceBgSubtitle},children:[e.jsx(r,{sx:{position:"absolute",top:0,bottom:0,left:0,right:0,background:s?`linear-gradient(0deg, ${s} 0%, ${s} 100%), url(${k}), lightgray 50% / cover no-repeat`:`url(${k}), lightgray 50% / cover no-repeat`,backgroundPosition:"center",backgroundSize:"cover",backgroundBlendMode:s?"soft-light, normal":"unset",mask:"linear-gradient(172deg, rgba(0, 0, 0, 0.0) 24.62%, rgba(0, 0, 0, 0.80) 44.47%, #000 100%)"}}),e.jsxs(r,{sx:{display:"flex",flexDirection:"column",position:"absolute",top:0,left:0,width:"100%",p:3},children:[t?e.jsx(r,{children:e.jsx(h,{href:t,underline:"none",color:"inherit",children:n})}):n,l&&e.jsx(g,{variant:"h4",sx:{mt:3,mb:1,p:0,mx:0,fontWeight:"bold"},children:t?e.jsx(h,{href:t,underline:"none",color:"inherit",children:l}):l}),d&&e.jsx(g,{variant:"body2",sx:{m:0,p:0,color:c.textSubtitle,fontSize:"14px",lineHeight:"24px"},children:d})]}),e.jsx(u,{linkProps:{underline:"always",color:c.textSubtitle},sx:{zIndex:10,position:"absolute",bottom:40,left:20,right:20,textAlign:"center",fontSize:"14px",color:c.textSubtitle}})]}),e.jsx(r,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flex:70,maxWidth:"90%",margin:"auto",height:"100%"},children:a})]})}j.propTypes={did:i.string.isRequired,children:i.any.isRequired,title:i.any,description:i.any,logo:i.any,logoSize:i.number,appUrl:i.string};j.defaultProps={title:void 0,description:void 0,logo:void 0,logoSize:40,appUrl:""};export{j as F};
1
+ import{j as e,T as g,H as h,P as i,I as v,B as r,A as w,J as c}from"./index-mBoNVAkF.js";function u({linkProps:o,...a}){return e.jsxs(g,{...a,children:["Powered by"," ",e.jsx(h,{href:"https://www.arcblock.io",target:"_blank",underline:"hover",...o,children:"ArcBlock"}),"'s"," ",e.jsx(h,{href:"https://www.blocklet.io",target:"_blank",underline:"hover",...o,children:"Blocklet Technology"}),", the decentralized web engine."]})}u.propTypes={linkProps:i.object};u.defaultProps={linkProps:{}};const k="/.well-known/service/static/assets/login-bg-m34fVHNm.png";function j({did:o,children:a,title:l,description:d,logo:n,logoSize:x,appUrl:t}){var b,p,y,m;if(!o)return a;let s;try{s=v(o)}catch{console.warn("Invalid did:",o)}const f=(globalThis==null?void 0:globalThis.blocklet)||(globalThis==null?void 0:globalThis.env)||{};return l===void 0&&(l=f.appName),d===void 0&&(d=f.appDescription),n===void 0&&(n=((b=globalThis==null?void 0:globalThis.blocklet)==null?void 0:b.appLogoRect)||((p=globalThis==null?void 0:globalThis.blocklet)==null?void 0:p.appLogo)||""),typeof n=="string"&&(n?n=e.jsx(r,{sx:{height:x,maxHeight:x,maxWidth:"50%",objectFit:"contain"},component:"img",src:n}):n=e.jsx(w,{size:x,did:o,src:n,variant:"rounded"})),typeof t=="string"&&(t=((y=globalThis==null?void 0:globalThis.blocklet)==null?void 0:y.appUrl)||"",!t&&(globalThis!=null&&globalThis.env)&&(t=(m=globalThis==null?void 0:globalThis.env)==null?void 0:m.baseUrl)),e.jsxs(r,{sx:{width:"100vw",height:"100vh",display:"flex"},children:[e.jsxs(r,{sx:{position:"relative",fontSize:0,flex:30,display:{xs:"none",lg:"flex"},minWidth:"400px",backgroundColor:c.surfaceBgSubtitle},children:[e.jsx(r,{sx:{position:"absolute",top:0,bottom:0,left:0,right:0,background:s?`linear-gradient(0deg, ${s} 0%, ${s} 100%), url(${k}), lightgray 50% / cover no-repeat`:`url(${k}), lightgray 50% / cover no-repeat`,backgroundPosition:"center",backgroundSize:"cover",backgroundBlendMode:s?"soft-light, normal":"unset",mask:"linear-gradient(172deg, rgba(0, 0, 0, 0.0) 24.62%, rgba(0, 0, 0, 0.80) 44.47%, #000 100%)"}}),e.jsxs(r,{sx:{display:"flex",flexDirection:"column",position:"absolute",top:0,left:0,width:"100%",p:3},children:[t?e.jsx(r,{children:e.jsx(h,{href:t,underline:"none",color:"inherit",children:n})}):n,l&&e.jsx(g,{variant:"h4",sx:{mt:3,mb:1,p:0,mx:0,fontWeight:"bold"},children:t?e.jsx(h,{href:t,underline:"none",color:"inherit",children:l}):l}),d&&e.jsx(g,{variant:"body2",sx:{m:0,p:0,color:c.textSubtitle,fontSize:"14px",lineHeight:"24px"},children:d})]}),e.jsx(u,{linkProps:{underline:"always",color:c.textSubtitle},sx:{zIndex:10,position:"absolute",bottom:40,left:20,right:20,textAlign:"center",fontSize:"14px",color:c.textSubtitle}})]}),e.jsx(r,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flex:70,maxWidth:"90%",margin:"auto",height:"100%"},children:a})]})}j.propTypes={did:i.string.isRequired,children:i.any.isRequired,title:i.any,description:i.any,logo:i.any,logoSize:i.number,appUrl:i.string};j.defaultProps={title:void 0,description:void 0,logo:void 0,logoSize:40,appUrl:""};export{j as F};
@@ -1 +1 @@
1
- import{j as o,B as e,F as t,L as r,w as i}from"./index-uIKkPDx2.js";import{S as n}from"./studio--sQ-x80O.js";import"./index-nXJuMgJq.js";import"./nav-menu-2LU_iiMs.js";import"./MoreHoriz-1QS3N81v.js";import"./ExpandMore-JmnmUnd8.js";import"./Toolbar-z-FYIGbv.js";import"./Hidden-SKwxA9k1.js";import"./fallback-wCdaTD2t.js";function L(){return o.jsx(n,{children:o.jsxs(e,{m:4,children:[o.jsx(t,{component:r,to:`${i.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,size:"large",color:"primary",variant:"outlined",children:"Preference Builder"}),o.jsx(t,{component:r,style:{marginLeft:16},to:`${i.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,size:"large",color:"primary",variant:"outlined",children:"Localization"})]})})}export{L as default};
1
+ import{j as o,B as e,F as t,L as r,w as i}from"./index-mBoNVAkF.js";import{S as n}from"./studio-sH4ftY9Y.js";import"./index-OinRqSU-.js";import"./nav-menu-1ENXh9G_.js";import"./MoreHoriz-3Yd91mwt.js";import"./ExpandMore-205fwIPh.js";import"./Toolbar-NMQzSDZI.js";import"./Hidden-3SNT7G6f.js";import"./fallback-eXgiG5Pr.js";function L(){return o.jsx(n,{children:o.jsxs(e,{m:4,children:[o.jsx(t,{component:r,to:`${i.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,size:"large",color:"primary",variant:"outlined",children:"Preference Builder"}),o.jsx(t,{component:r,style:{marginLeft:16},to:`${i.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,size:"large",color:"primary",variant:"outlined",children:"Localization"})]})})}export{L as default};
@@ -1 +1 @@
1
- import{bU as x}from"./index-uIKkPDx2.js";import{o as E}from"./index-nXJuMgJq.js";const L=({url:o,allowFullScreen:r,position:a,display:i,height:u,width:c,overflow:f,styles:y,onLoad:p,onMouseOver:m,onMouseOut:b,scrolling:w,id:d,frameBorder:n,ariaHidden:O,sandbox:s,allow:j,className:g,title:h,ariaLabel:k,ariaLabelledby:I,name:P,target:v,loading:A,importance:F,referrerpolicy:M,allowpaymentrequest:S,src:$,key:q})=>{const t=E({src:$||o,target:v||null,style:{position:a||null,display:i||"initial",overflow:f||null},scrolling:w||null,allowpaymentrequest:S||null,importance:F||null,sandbox:s&&[...s].join(" ")||null,loading:A||null,styles:y||null,name:P||null,className:g||null,allowFullScreen:"allowFullScreen",referrerpolicy:M||null,title:h||null,allow:j||null,id:d||null,"aria-labelledby":I||null,"aria-hidden":O||null,"aria-label":k||null,width:c||null,height:u||null,onLoad:p||null,onMouseOver:m||null,onMouseOut:b||null,key:q||"iframe"});let l=Object.create(null);for(let e of Object.keys(t))t[e]!=null&&(l[e]=t[e]);for(let e of Object.keys(l.style))l.style[e]==null&&delete l.style[e];if(l.styles)for(let e of Object.keys(l.styles))l.styles.hasOwnProperty(e)&&(l.style[e]=l.styles[e]),Object.keys(l.styles).pop()==e&&delete l.styles;if(r)if("allow"in l){const e=l.allow.replace("fullscreen","");l.allow=`fullscreen ${e.trim()}`.trim()}else l.allow="fullscreen";return n>=0&&(l.style.hasOwnProperty("border")||(l.style.border=n)),x.createElement("iframe",Object.assign({},l))},U=L;export{U as I};
1
+ import{bU as x}from"./index-mBoNVAkF.js";import{o as E}from"./index-OinRqSU-.js";const L=({url:o,allowFullScreen:r,position:a,display:i,height:u,width:c,overflow:f,styles:y,onLoad:p,onMouseOver:m,onMouseOut:b,scrolling:w,id:d,frameBorder:n,ariaHidden:O,sandbox:s,allow:j,className:g,title:h,ariaLabel:k,ariaLabelledby:I,name:P,target:v,loading:A,importance:F,referrerpolicy:M,allowpaymentrequest:S,src:$,key:q})=>{const t=E({src:$||o,target:v||null,style:{position:a||null,display:i||"initial",overflow:f||null},scrolling:w||null,allowpaymentrequest:S||null,importance:F||null,sandbox:s&&[...s].join(" ")||null,loading:A||null,styles:y||null,name:P||null,className:g||null,allowFullScreen:"allowFullScreen",referrerpolicy:M||null,title:h||null,allow:j||null,id:d||null,"aria-labelledby":I||null,"aria-hidden":O||null,"aria-label":k||null,width:c||null,height:u||null,onLoad:p||null,onMouseOver:m||null,onMouseOut:b||null,key:q||"iframe"});let l=Object.create(null);for(let e of Object.keys(t))t[e]!=null&&(l[e]=t[e]);for(let e of Object.keys(l.style))l.style[e]==null&&delete l.style[e];if(l.styles)for(let e of Object.keys(l.styles))l.styles.hasOwnProperty(e)&&(l.style[e]=l.styles[e]),Object.keys(l.styles).pop()==e&&delete l.styles;if(r)if("allow"in l){const e=l.allow.replace("fullscreen","");l.allow=`fullscreen ${e.trim()}`.trim()}else l.allow="fullscreen";return n>=0&&(l.style.hasOwnProperty("border")||(l.style.border=n)),x.createElement("iframe",Object.assign({},l))},U=L;export{U as I};
@@ -1,4 +1,4 @@
1
- import{P as C,G as E0,j as y,S as YM,r as o1,cd as KM,ce as AA,cf as QM,cg as nb,aS as oA,U as Nb,a4 as qA,c as eA,ch as WA,ci as aA,cj as nA,ck as dA,cl as tA,cm as iA,T as rA,C as sA}from"./index-uIKkPDx2.js";import{S as W2}from"./Skeleton-bmmJmS0u.js";import{H as fA}from"./Hidden-SKwxA9k1.js";function JM({value:M,size:b,style:O,...c}){return y.jsxs(uA,{style:{width:b,height:b,...O},...c,children:[y.jsx(YM,{variant:"determinate",role:"progressbar",value:100,size:b,"aria-label":"decorative progress bar",thickness:10,style:{color:"#dddddd"}}),y.jsx(YM,{variant:"determinate",value:M,role:"progressbar",size:b,thickness:10,"aria-label":"main progress bar"})]})}JM.propTypes={value:C.number.isRequired,size:C.number,style:C.object};JM.defaultProps={size:10,style:{}};const uA=E0.span`
1
+ import{P as C,G as E0,j as y,S as YM,r as o1,cd as KM,ce as AA,cf as QM,cg as nb,aS as oA,U as Nb,a4 as qA,c as eA,ch as WA,ci as aA,cj as nA,ck as dA,cl as tA,cm as iA,T as rA,C as sA}from"./index-mBoNVAkF.js";import{S as W2}from"./Skeleton-d1ARVMzl.js";import{H as fA}from"./Hidden-3SNT7G6f.js";function JM({value:M,size:b,style:O,...c}){return y.jsxs(uA,{style:{width:b,height:b,...O},...c,children:[y.jsx(YM,{variant:"determinate",role:"progressbar",value:100,size:b,"aria-label":"decorative progress bar",thickness:10,style:{color:"#dddddd"}}),y.jsx(YM,{variant:"determinate",value:M,role:"progressbar",size:b,thickness:10,"aria-label":"main progress bar"})]})}JM.propTypes={value:C.number.isRequired,size:C.number,style:C.object};JM.defaultProps={size:10,style:{}};const uA=E0.span`
2
2
  display: inline-block;
3
3
  position: relative;
4
4
  > * {
@@ -1,4 +1,4 @@
1
- import{r as x,j as t,ff as kt,f as Et,fg as At,a9 as M,u as Q,T as ee,b1 as Oe,fh as Re,bk as ie,am as V,F as U,S as re,P as C,G as z,bd as Nt,bA as we,x as Ft,d8 as _t,b$ as Lt,E as ce,B as N,bn as H,n as ne,fi as $t,aX as it,w as _,a as me,bB as ct,c as Xe,N as Ut,$ as Bt,fj as lt,dO as dt,b4 as zt,h as Mt,A as qt,dh as Wt}from"./index-uIKkPDx2.js";import{c as Kt}from"./index-NURviigq.js";import{d as ue}from"./Add-fjbSIcnc.js";import{d as Vt}from"./Loop-PXldOGkJ.js";import{L as Ht,S as Xt,d as mt}from"./list-header-OJgTzNF1.js";import{D as ut,g as Qt}from"./index-hnUD7mNC.js";import{u as K,d as Qe,W as pt}from"./dashboard-wLNTNF45.js";import{W as ft}from"./did-address-fR8IBME6.js";import{P as W}from"./permission-K-J3su8S.js";import{A as te}from"./index-_typwRVC.js";import{C as ge}from"./click-to-copy-H2O9ZAs8.js";import{F as gt}from"./FormControl-U_6qW76h.js";import{I as ht}from"./InputLabel-qtx_TKpe.js";import{S as xt}from"./Select-1vnu6Wod.js";import{T as vt}from"./TextField-HfFRez76.js";import{D as De}from"./DialogContentText-2StByoPg.js";import{f as X}from"./format-error-iCYgDtF5.js";import{_ as Gt}from"./useAsync-eueWQMQv.js";import{T as Yt}from"./index-FT9kP6qN.js";import{I as Ge}from"./index-GsSFMKbP.js";import{C as he,L as Jt,a as Zt}from"./confirm-Q5y49s7X.js";import{P as er,d as tr,g as yt,U as rr}from"./did-utils-LIvwQDYN.js";import{u as bt}from"./session-4pK31v9z.js";import{A as nr}from"./Avatar-4W2iSGC-.js";import{d as sr}from"./useSetState-FhUMbwgE.js";import{A as ar}from"./actions-c_BF9d9e.js";import{F as or}from"./FormControlLabel-Yzi0VkLB.js";import{C as ir}from"./Checkbox-iS0aPWS5.js";import"./Search-pq50dDMP.js";import"./FilterList-rU96K2al.js";import"./TableRow-7b-DLFKT.js";import"./useFormControl-egCRc-oY.js";import"./FormGroup-6byJTUh5.js";import"./LastPage-pHa4HGK_.js";import"./Toolbar-z-FYIGbv.js";import"./index-3kUoZ2Ef.js";import"./redux-XOuz_cVf.js";import"./toPropertyKey-NzAT2yhV.js";import"./Grid-G2b-U3nu.js";import"./MoreVert-b_wUncc4.js";import"./useLocalStorage--e-ZnzAS.js";import"./PlayArrow-DsCR1WAD.js";import"./Alert-nav821gk.js";import"./ButtonGroup-qjjm6C6u.js";import"./RadioGroup-MeoNWf5B.js";import"./spaces-ciJpOZGt.js";import"./index-KswRO1Cx.js";import"./api-Rgr2QdHb.js";import"./fallback-wCdaTD2t.js";import"./wallet-hidden-topbar-4xE3Zmur.js";import"./ListItem-kYIyq9wN.js";import"./selector-ykYLL3HG.js";import"./index-nXJuMgJq.js";import"./nav-menu-2LU_iiMs.js";import"./MoreHoriz-1QS3N81v.js";import"./ExpandMore-JmnmUnd8.js";import"./Hidden-SKwxA9k1.js";var Te={};Object.defineProperty(Te,"__esModule",{value:!0});var jt=Te.default=void 0;cr(x);var Z=t;function cr(e){return e&&e.__esModule?e:{default:e}}function Ye(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),s.push.apply(s,o)}return s}function Je(e){for(var n=1;n<arguments.length;n++){var s=arguments[n]!=null?arguments[n]:{};n%2?Ye(Object(s),!0).forEach(function(o){lr(e,o,s[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Ye(Object(s)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(s,o))})}return e}function lr(e,n,s){return n=dr(n),n in e?Object.defineProperty(e,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[n]=s,e}function dr(e){var n=mr(e,"string");return typeof n=="symbol"?n:String(n)}function mr(e,n){if(typeof e!="object"||e===null)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var o=s.call(e,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}var Ie=function(n){return(0,Z.jsxs)("svg",Je(Je({},n),{},{children:[(0,Z.jsx)("g",{clipPath:"url(#clip0)",children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,Z.jsx)("defs",{children:(0,Z.jsx)("clipPath",{id:"clip0",children:(0,Z.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};Ie.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};Ie.displayName="person";var ur=Ie;jt=Te.default=ur;var de={},pr=e=>encodeURIComponent(e).replace(/[!'()*]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`),St="%[a-f0-9]{2}",Ze=new RegExp("("+St+")|([^%]+?)","gi"),et=new RegExp("("+St+")+","gi");function Pe(e,n){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;n=n||1;var s=e.slice(0,n),o=e.slice(n);return Array.prototype.concat.call([],Pe(s),Pe(o))}function fr(e){try{return decodeURIComponent(e)}catch{for(var n=e.match(Ze)||[],s=1;s<n.length;s++)e=Pe(n,s).join(""),n=e.match(Ze)||[];return e}}function gr(e){for(var n={"%FE%FF":"��","%FF%FE":"��"},s=et.exec(e);s;){try{n[s[0]]=decodeURIComponent(s[0])}catch{var o=fr(s[0]);o!==s[0]&&(n[s[0]]=o)}s=et.exec(e)}n["%C2"]="�";for(var h=Object.keys(n),P=0;P<h.length;P++){var O=h[P];e=e.replace(new RegExp(O,"g"),n[O])}return e}var hr=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return gr(e)}},xr=(e,n)=>{if(!(typeof e=="string"&&typeof n=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(n==="")return[e];const s=e.indexOf(n);return s===-1?[e]:[e.slice(0,s),e.slice(s+n.length)]},vr=function(e,n){for(var s={},o=Object.keys(e),h=Array.isArray(n),P=0;P<o.length;P++){var O=o[P],w=e[O];(h?n.indexOf(O)!==-1:n(O,w,e))&&(s[O]=w)}return s};(function(e){const n=pr,s=hr,o=xr,h=vr,P=r=>r==null;function O(r){switch(r.arrayFormat){case"index":return a=>(i,c)=>{const p=i.length;return c===void 0||r.skipNull&&c===null||r.skipEmptyString&&c===""?i:c===null?[...i,[g(a,r),"[",p,"]"].join("")]:[...i,[g(a,r),"[",g(p,r),"]=",g(c,r)].join("")]};case"bracket":return a=>(i,c)=>c===void 0||r.skipNull&&c===null||r.skipEmptyString&&c===""?i:c===null?[...i,[g(a,r),"[]"].join("")]:[...i,[g(a,r),"[]=",g(c,r)].join("")];case"comma":case"separator":return a=>(i,c)=>c==null||c.length===0?i:i.length===0?[[g(a,r),"=",g(c,r)].join("")]:[[i,g(c,r)].join(r.arrayFormatSeparator)];default:return a=>(i,c)=>c===void 0||r.skipNull&&c===null||r.skipEmptyString&&c===""?i:c===null?[...i,g(a,r)]:[...i,[g(a,r),"=",g(c,r)].join("")]}}function w(r){let a;switch(r.arrayFormat){case"index":return(i,c,p)=>{if(a=/\[(\d*)\]$/.exec(i),i=i.replace(/\[\d*\]$/,""),!a){p[i]=c;return}p[i]===void 0&&(p[i]={}),p[i][a[1]]=c};case"bracket":return(i,c,p)=>{if(a=/(\[\])$/.exec(i),i=i.replace(/\[\]$/,""),!a){p[i]=c;return}if(p[i]===void 0){p[i]=[c];return}p[i]=[].concat(p[i],c)};case"comma":case"separator":return(i,c,p)=>{const u=typeof c=="string"&&c.includes(r.arrayFormatSeparator),m=typeof c=="string"&&!u&&l(c,r).includes(r.arrayFormatSeparator);c=m?l(c,r):c;const f=u||m?c.split(r.arrayFormatSeparator).map(D=>l(D,r)):c===null?c:l(c,r);p[i]=f};default:return(i,c,p)=>{if(p[i]===void 0){p[i]=c;return}p[i]=[].concat(p[i],c)}}}function v(r){if(typeof r!="string"||r.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function g(r,a){return a.encode?a.strict?n(r):encodeURIComponent(r):r}function l(r,a){return a.decode?s(r):r}function b(r){return Array.isArray(r)?r.sort():typeof r=="object"?b(Object.keys(r)).sort((a,i)=>Number(a)-Number(i)).map(a=>r[a]):r}function d(r){const a=r.indexOf("#");return a!==-1&&(r=r.slice(0,a)),r}function j(r){let a="";const i=r.indexOf("#");return i!==-1&&(a=r.slice(i)),a}function T(r){r=d(r);const a=r.indexOf("?");return a===-1?"":r.slice(a+1)}function I(r,a){return a.parseNumbers&&!Number.isNaN(Number(r))&&typeof r=="string"&&r.trim()!==""?r=Number(r):a.parseBooleans&&r!==null&&(r.toLowerCase()==="true"||r.toLowerCase()==="false")&&(r=r.toLowerCase()==="true"),r}function y(r,a){a=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},a),v(a.arrayFormatSeparator);const i=w(a),c=Object.create(null);if(typeof r!="string"||(r=r.trim().replace(/^[?#&]/,""),!r))return c;for(const p of r.split("&")){if(p==="")continue;let[u,m]=o(a.decode?p.replace(/\+/g," "):p,"=");m=m===void 0?null:["comma","separator"].includes(a.arrayFormat)?m:l(m,a),i(l(u,a),m,c)}for(const p of Object.keys(c)){const u=c[p];if(typeof u=="object"&&u!==null)for(const m of Object.keys(u))u[m]=I(u[m],a);else c[p]=I(u,a)}return a.sort===!1?c:(a.sort===!0?Object.keys(c).sort():Object.keys(c).sort(a.sort)).reduce((p,u)=>{const m=c[u];return m&&typeof m=="object"&&!Array.isArray(m)?p[u]=b(m):p[u]=m,p},Object.create(null))}e.extract=T,e.parse=y,e.stringify=(r,a)=>{if(!r)return"";a=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},a),v(a.arrayFormatSeparator);const i=m=>a.skipNull&&P(r[m])||a.skipEmptyString&&r[m]==="",c=O(a),p={};for(const m of Object.keys(r))i(m)||(p[m]=r[m]);const u=Object.keys(p);return a.sort!==!1&&u.sort(a.sort),u.map(m=>{const f=r[m];return f===void 0?"":f===null?g(m,a):Array.isArray(f)?f.reduce(c(m),[]).join("&"):g(m,a)+"="+g(f,a)}).filter(m=>m.length>0).join("&")},e.parseUrl=(r,a)=>{a=Object.assign({decode:!0},a);const[i,c]=o(r,"#");return Object.assign({url:i.split("?")[0]||"",query:y(T(r),a)},a&&a.parseFragmentIdentifier&&c?{fragmentIdentifier:l(c,a)}:{})},e.stringifyUrl=(r,a)=>{a=Object.assign({encode:!0,strict:!0},a);const i=d(r.url).split("?")[0]||"",c=e.extract(r.url),p=e.parse(c,{sort:!1}),u=Object.assign(p,r.query);let m=e.stringify(u,a);m&&(m=`?${m}`);let f=j(r.url);return r.fragmentIdentifier&&(f=`#${g(r.fragmentIdentifier,a)}`),`${i}${m}${f}`},e.pick=(r,a,i)=>{i=Object.assign({parseFragmentIdentifier:!0},i);const{url:c,query:p,fragmentIdentifier:u}=e.parseUrl(r,i);return e.stringifyUrl({url:c,query:h(p,a),fragmentIdentifier:u},i)},e.exclude=(r,a,i)=>{const c=Array.isArray(a)?p=>!a.includes(p):(p,u)=>!a(p,u);return e.pick(r,c,i)}})(de);const ae=At,yr={parseNumbers:!1,parseBooleans:!1},br={skipNull:!1,skipEmptyString:!1},jr=(e,n)=>{var s,o;const{navigateMode:h="push",parseOptions:P,stringifyOptions:O}=n||{},w=Object.assign(Object.assign({},yr),P),v=Object.assign(Object.assign({},br),O),g=ae.useLocation(),l=(s=ae.useHistory)===null||s===void 0?void 0:s.call(ae),b=(o=ae.useNavigate)===null||o===void 0?void 0:o.call(ae),d=kt(),j=x.useRef(typeof e=="function"?e():e||{}),T=x.useMemo(()=>de.parse(g.search,w),[g.search]),I=x.useMemo(()=>Object.assign(Object.assign({},j.current),T),[T]);return[I,Et(r=>{const a=typeof r=="function"?r(I):r;d(),l&&l[h]({hash:g.hash,search:de.stringify(Object.assign(Object.assign({},T),a),v)||"?"},g.state),b&&b({hash:g.hash,search:de.stringify(Object.assign(Object.assign({},T),a),v)||"?"},{replace:h==="replace",state:g.state})})]},Sr=jr;function ke({teamDid:e,roles:n,onCancel:s,onSuccess:o,onError:h,endpoint:P}){const{api:O}=M(),[w,v]=x.useState(!1),[g,l]=x.useState(""),{t:b,locale:d}=Q(),[j,T]=x.useState(0),[I,y]=x.useState(""),[r,a]=x.useState(""),[i,c]=x.useState(""),p=async()=>{if(!r){l(b("team.member.error.passportEmpty"));return}const f=i.trim();l(null),v(!0);try{const{inviteInfo:D}=await O.createMemberInvitation({input:{teamDid:e,role:r,remark:f}});y(D),T(1)}catch(D){const B=X(D);l(B),h(D)}finally{v(!1)}},m=[{body:t.jsxs(ee,{component:"div",children:[t.jsxs(gt,{style:{width:"100%"},variant:"outlined",children:[t.jsx(ht,{children:b("common.passport")}),t.jsx(xt,{"data-cy":"invite-member-select-role",value:r,onChange:f=>{l(null),a(f.target.value)},fullWidth:!0,label:b("common.passport"),disabled:w,onKeyPress:f=>{f.key==="Enter"&&(f.preventDefault(),p())},children:n.filter(f=>f.name!=="owner").map(f=>t.jsx(Oe,{value:f.name,"data-cy":`invite-member-select-option-${f.name}`,children:t.jsx("span",{children:f.title||f.name})},f.name))})]}),t.jsx("div",{style:{marginTop:20,marginBottom:10}}),t.jsx(vt,{label:b("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:i,onChange:f=>{l(null),c(f.target.value)},disabled:w,"data-cy":"invite-member-input-remark"}),t.jsx("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:b("common.cancel"),confirm:b("team.member.inviteDialog.createInviteLink"),onCancel:s,onConfirm:p},{body:()=>{const f=Re({inviteId:I.inviteId,endpoint:P});return t.jsxs("div",{children:[t.jsx(Cr,{children:b("team.member.inviteDialog.createSuccessTip",{expireDate:ie(I.expireDate,d)})}),t.jsx("div",{style:{marginTop:"40px"}}),t.jsx(ge,{children:f})]})},confirm:b("common.confirm"),onConfirm:o}][j];return t.jsxs(V,{title:b("common.invite"),fullWidth:!0,open:!0,showCloseButton:!1,actions:t.jsxs(t.Fragment,{children:[m.cancel&&t.jsx(U,{onClick:m.onCancel,color:"inherit",children:m.cancel}),t.jsxs(U,{onClick:m.onConfirm,color:"primary",disabled:w||!r,variant:"contained",autoFocus:!0,children:[w&&t.jsx(re,{size:16}),m.confirm]})]}),children:[t.jsx(De,{component:"div",children:typeof m.body=="function"?m.body():m.body}),!!g&&t.jsx(te,{type:"error",variant:"icon",children:g})]})}ke.propTypes={teamDid:C.string.isRequired,onCancel:C.func.isRequired,onSuccess:C.func.isRequired,onError:C.func,roles:C.array,endpoint:C.string};ke.defaultProps={onError:()=>{},roles:[],endpoint:""};const Cr=z.div`
1
+ import{r as x,j as t,ff as kt,f as Et,fg as At,a9 as M,u as Q,T as ee,b1 as Oe,fh as Re,bk as ie,am as V,F as U,S as re,P as C,G as z,bd as Nt,bA as we,x as Ft,d8 as _t,b$ as Lt,E as ce,B as N,bn as H,n as ne,fi as $t,aX as it,w as _,a as me,bB as ct,c as Xe,N as Ut,$ as Bt,fj as lt,dO as dt,b4 as zt,h as Mt,A as qt,dh as Wt}from"./index-mBoNVAkF.js";import{c as Kt}from"./index-7CKFrXrK.js";import{d as ue}from"./Add-WOKsiMJk.js";import{d as Vt}from"./Loop-aSwEwGmw.js";import{L as Ht,S as Xt,d as mt}from"./list-header-4FSJXt5l.js";import{D as ut,g as Qt}from"./index-arjlRv-U.js";import{u as K,d as Qe,W as pt}from"./dashboard-IqdH25X5.js";import{W as ft}from"./did-address-0zsr9FGE.js";import{P as W}from"./permission-oSc67tVg.js";import{D as De,A as te}from"./index-Rx4AmqwM.js";import{C as ge}from"./click-to-copy-z0bRySrb.js";import{F as gt}from"./FormControl-9fKakpMh.js";import{I as ht}from"./InputLabel-wK2bWpSD.js";import{S as xt}from"./Select-gum5gwN9.js";import{M as vt}from"./TextField-SIkk5GBD.js";import{f as X}from"./format-error-lyZJ-vR8.js";import{_ as Gt}from"./useAsync-B1gkUbWE.js";import{T as Yt}from"./index-p7HYJjf1.js";import{I as Ge}from"./index-vQOHKZcI.js";import{C as he,L as Jt,a as Zt}from"./confirm-VPAExB8S.js";import{P as er,d as tr,g as yt,U as rr}from"./did-utils-2mzsdPOz.js";import{u as bt}from"./session-p0WamCWG.js";import{A as nr}from"./Avatar-sPQLj-7K.js";import{d as sr}from"./useSetState-aTBeha54.js";import{A as ar}from"./actions-c-PXZIk7.js";import{F as or,C as ir}from"./FormControlLabel-EmYIE4Ks.js";import"./Search-JFjur7RV.js";import"./FilterList-kWJ_p-Xk.js";import"./TableRow-OmKn0_uE.js";import"./useFormControl-MFcUIOcD.js";import"./FormGroup-lOaPA6kB.js";import"./LastPage-VBH3ZNA2.js";import"./Toolbar-NMQzSDZI.js";import"./index-DxSli22q.js";import"./redux-OxlCLGwT.js";import"./toPropertyKey-x0vRpJ6G.js";import"./MoreVert-4y42cx0s.js";import"./useLocalStorage-P7Xfe7vr.js";import"./PlayArrow-NomOs4fE.js";import"./Alert-sYFXq3Al.js";import"./ButtonGroup-T2tPvlgZ.js";import"./RadioGroup-ds0DRyXx.js";import"./spaces--f1ECR1p.js";import"./index-HFGXBlAK.js";import"./api-vzG5R7gz.js";import"./fallback-eXgiG5Pr.js";import"./wallet-hidden-topbar-mQy-B-PP.js";import"./ListItem-Mc-6Sx7a.js";import"./selector-DDVRP6ux.js";import"./index-OinRqSU-.js";import"./nav-menu-1ENXh9G_.js";import"./MoreHoriz-3Yd91mwt.js";import"./ExpandMore-205fwIPh.js";import"./Hidden-3SNT7G6f.js";var Te={};Object.defineProperty(Te,"__esModule",{value:!0});var jt=Te.default=void 0;cr(x);var Z=t;function cr(e){return e&&e.__esModule?e:{default:e}}function Ye(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),s.push.apply(s,o)}return s}function Je(e){for(var n=1;n<arguments.length;n++){var s=arguments[n]!=null?arguments[n]:{};n%2?Ye(Object(s),!0).forEach(function(o){lr(e,o,s[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Ye(Object(s)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(s,o))})}return e}function lr(e,n,s){return n=dr(n),n in e?Object.defineProperty(e,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[n]=s,e}function dr(e){var n=mr(e,"string");return typeof n=="symbol"?n:String(n)}function mr(e,n){if(typeof e!="object"||e===null)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var o=s.call(e,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}var Ie=function(n){return(0,Z.jsxs)("svg",Je(Je({},n),{},{children:[(0,Z.jsx)("g",{clipPath:"url(#clip0)",children:(0,Z.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,Z.jsx)("defs",{children:(0,Z.jsx)("clipPath",{id:"clip0",children:(0,Z.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};Ie.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};Ie.displayName="person";var ur=Ie;jt=Te.default=ur;var de={},pr=e=>encodeURIComponent(e).replace(/[!'()*]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`),St="%[a-f0-9]{2}",Ze=new RegExp("("+St+")|([^%]+?)","gi"),et=new RegExp("("+St+")+","gi");function Pe(e,n){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;n=n||1;var s=e.slice(0,n),o=e.slice(n);return Array.prototype.concat.call([],Pe(s),Pe(o))}function fr(e){try{return decodeURIComponent(e)}catch{for(var n=e.match(Ze)||[],s=1;s<n.length;s++)e=Pe(n,s).join(""),n=e.match(Ze)||[];return e}}function gr(e){for(var n={"%FE%FF":"��","%FF%FE":"��"},s=et.exec(e);s;){try{n[s[0]]=decodeURIComponent(s[0])}catch{var o=fr(s[0]);o!==s[0]&&(n[s[0]]=o)}s=et.exec(e)}n["%C2"]="�";for(var h=Object.keys(n),P=0;P<h.length;P++){var O=h[P];e=e.replace(new RegExp(O,"g"),n[O])}return e}var hr=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return gr(e)}},xr=(e,n)=>{if(!(typeof e=="string"&&typeof n=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(n==="")return[e];const s=e.indexOf(n);return s===-1?[e]:[e.slice(0,s),e.slice(s+n.length)]},vr=function(e,n){for(var s={},o=Object.keys(e),h=Array.isArray(n),P=0;P<o.length;P++){var O=o[P],w=e[O];(h?n.indexOf(O)!==-1:n(O,w,e))&&(s[O]=w)}return s};(function(e){const n=pr,s=hr,o=xr,h=vr,P=r=>r==null;function O(r){switch(r.arrayFormat){case"index":return a=>(i,c)=>{const p=i.length;return c===void 0||r.skipNull&&c===null||r.skipEmptyString&&c===""?i:c===null?[...i,[g(a,r),"[",p,"]"].join("")]:[...i,[g(a,r),"[",g(p,r),"]=",g(c,r)].join("")]};case"bracket":return a=>(i,c)=>c===void 0||r.skipNull&&c===null||r.skipEmptyString&&c===""?i:c===null?[...i,[g(a,r),"[]"].join("")]:[...i,[g(a,r),"[]=",g(c,r)].join("")];case"comma":case"separator":return a=>(i,c)=>c==null||c.length===0?i:i.length===0?[[g(a,r),"=",g(c,r)].join("")]:[[i,g(c,r)].join(r.arrayFormatSeparator)];default:return a=>(i,c)=>c===void 0||r.skipNull&&c===null||r.skipEmptyString&&c===""?i:c===null?[...i,g(a,r)]:[...i,[g(a,r),"=",g(c,r)].join("")]}}function w(r){let a;switch(r.arrayFormat){case"index":return(i,c,p)=>{if(a=/\[(\d*)\]$/.exec(i),i=i.replace(/\[\d*\]$/,""),!a){p[i]=c;return}p[i]===void 0&&(p[i]={}),p[i][a[1]]=c};case"bracket":return(i,c,p)=>{if(a=/(\[\])$/.exec(i),i=i.replace(/\[\]$/,""),!a){p[i]=c;return}if(p[i]===void 0){p[i]=[c];return}p[i]=[].concat(p[i],c)};case"comma":case"separator":return(i,c,p)=>{const u=typeof c=="string"&&c.includes(r.arrayFormatSeparator),m=typeof c=="string"&&!u&&l(c,r).includes(r.arrayFormatSeparator);c=m?l(c,r):c;const f=u||m?c.split(r.arrayFormatSeparator).map(D=>l(D,r)):c===null?c:l(c,r);p[i]=f};default:return(i,c,p)=>{if(p[i]===void 0){p[i]=c;return}p[i]=[].concat(p[i],c)}}}function v(r){if(typeof r!="string"||r.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function g(r,a){return a.encode?a.strict?n(r):encodeURIComponent(r):r}function l(r,a){return a.decode?s(r):r}function b(r){return Array.isArray(r)?r.sort():typeof r=="object"?b(Object.keys(r)).sort((a,i)=>Number(a)-Number(i)).map(a=>r[a]):r}function d(r){const a=r.indexOf("#");return a!==-1&&(r=r.slice(0,a)),r}function j(r){let a="";const i=r.indexOf("#");return i!==-1&&(a=r.slice(i)),a}function T(r){r=d(r);const a=r.indexOf("?");return a===-1?"":r.slice(a+1)}function I(r,a){return a.parseNumbers&&!Number.isNaN(Number(r))&&typeof r=="string"&&r.trim()!==""?r=Number(r):a.parseBooleans&&r!==null&&(r.toLowerCase()==="true"||r.toLowerCase()==="false")&&(r=r.toLowerCase()==="true"),r}function y(r,a){a=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},a),v(a.arrayFormatSeparator);const i=w(a),c=Object.create(null);if(typeof r!="string"||(r=r.trim().replace(/^[?#&]/,""),!r))return c;for(const p of r.split("&")){if(p==="")continue;let[u,m]=o(a.decode?p.replace(/\+/g," "):p,"=");m=m===void 0?null:["comma","separator"].includes(a.arrayFormat)?m:l(m,a),i(l(u,a),m,c)}for(const p of Object.keys(c)){const u=c[p];if(typeof u=="object"&&u!==null)for(const m of Object.keys(u))u[m]=I(u[m],a);else c[p]=I(u,a)}return a.sort===!1?c:(a.sort===!0?Object.keys(c).sort():Object.keys(c).sort(a.sort)).reduce((p,u)=>{const m=c[u];return m&&typeof m=="object"&&!Array.isArray(m)?p[u]=b(m):p[u]=m,p},Object.create(null))}e.extract=T,e.parse=y,e.stringify=(r,a)=>{if(!r)return"";a=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},a),v(a.arrayFormatSeparator);const i=m=>a.skipNull&&P(r[m])||a.skipEmptyString&&r[m]==="",c=O(a),p={};for(const m of Object.keys(r))i(m)||(p[m]=r[m]);const u=Object.keys(p);return a.sort!==!1&&u.sort(a.sort),u.map(m=>{const f=r[m];return f===void 0?"":f===null?g(m,a):Array.isArray(f)?f.reduce(c(m),[]).join("&"):g(m,a)+"="+g(f,a)}).filter(m=>m.length>0).join("&")},e.parseUrl=(r,a)=>{a=Object.assign({decode:!0},a);const[i,c]=o(r,"#");return Object.assign({url:i.split("?")[0]||"",query:y(T(r),a)},a&&a.parseFragmentIdentifier&&c?{fragmentIdentifier:l(c,a)}:{})},e.stringifyUrl=(r,a)=>{a=Object.assign({encode:!0,strict:!0},a);const i=d(r.url).split("?")[0]||"",c=e.extract(r.url),p=e.parse(c,{sort:!1}),u=Object.assign(p,r.query);let m=e.stringify(u,a);m&&(m=`?${m}`);let f=j(r.url);return r.fragmentIdentifier&&(f=`#${g(r.fragmentIdentifier,a)}`),`${i}${m}${f}`},e.pick=(r,a,i)=>{i=Object.assign({parseFragmentIdentifier:!0},i);const{url:c,query:p,fragmentIdentifier:u}=e.parseUrl(r,i);return e.stringifyUrl({url:c,query:h(p,a),fragmentIdentifier:u},i)},e.exclude=(r,a,i)=>{const c=Array.isArray(a)?p=>!a.includes(p):(p,u)=>!a(p,u);return e.pick(r,c,i)}})(de);const ae=At,yr={parseNumbers:!1,parseBooleans:!1},br={skipNull:!1,skipEmptyString:!1},jr=(e,n)=>{var s,o;const{navigateMode:h="push",parseOptions:P,stringifyOptions:O}=n||{},w=Object.assign(Object.assign({},yr),P),v=Object.assign(Object.assign({},br),O),g=ae.useLocation(),l=(s=ae.useHistory)===null||s===void 0?void 0:s.call(ae),b=(o=ae.useNavigate)===null||o===void 0?void 0:o.call(ae),d=kt(),j=x.useRef(typeof e=="function"?e():e||{}),T=x.useMemo(()=>de.parse(g.search,w),[g.search]),I=x.useMemo(()=>Object.assign(Object.assign({},j.current),T),[T]);return[I,Et(r=>{const a=typeof r=="function"?r(I):r;d(),l&&l[h]({hash:g.hash,search:de.stringify(Object.assign(Object.assign({},T),a),v)||"?"},g.state),b&&b({hash:g.hash,search:de.stringify(Object.assign(Object.assign({},T),a),v)||"?"},{replace:h==="replace",state:g.state})})]},Sr=jr;function ke({teamDid:e,roles:n,onCancel:s,onSuccess:o,onError:h,endpoint:P}){const{api:O}=M(),[w,v]=x.useState(!1),[g,l]=x.useState(""),{t:b,locale:d}=Q(),[j,T]=x.useState(0),[I,y]=x.useState(""),[r,a]=x.useState(""),[i,c]=x.useState(""),p=async()=>{if(!r){l(b("team.member.error.passportEmpty"));return}const f=i.trim();l(null),v(!0);try{const{inviteInfo:D}=await O.createMemberInvitation({input:{teamDid:e,role:r,remark:f}});y(D),T(1)}catch(D){const B=X(D);l(B),h(D)}finally{v(!1)}},m=[{body:t.jsxs(ee,{component:"div",children:[t.jsxs(gt,{style:{width:"100%"},variant:"outlined",children:[t.jsx(ht,{children:b("common.passport")}),t.jsx(xt,{"data-cy":"invite-member-select-role",value:r,onChange:f=>{l(null),a(f.target.value)},fullWidth:!0,label:b("common.passport"),disabled:w,onKeyPress:f=>{f.key==="Enter"&&(f.preventDefault(),p())},children:n.filter(f=>f.name!=="owner").map(f=>t.jsx(Oe,{value:f.name,"data-cy":`invite-member-select-option-${f.name}`,children:t.jsx("span",{children:f.title||f.name})},f.name))})]}),t.jsx("div",{style:{marginTop:20,marginBottom:10}}),t.jsx(vt,{label:b("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:i,onChange:f=>{l(null),c(f.target.value)},disabled:w,"data-cy":"invite-member-input-remark"}),t.jsx("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:b("common.cancel"),confirm:b("team.member.inviteDialog.createInviteLink"),onCancel:s,onConfirm:p},{body:()=>{const f=Re({inviteId:I.inviteId,endpoint:P});return t.jsxs("div",{children:[t.jsx(Cr,{children:b("team.member.inviteDialog.createSuccessTip",{expireDate:ie(I.expireDate,d)})}),t.jsx("div",{style:{marginTop:"40px"}}),t.jsx(ge,{children:f})]})},confirm:b("common.confirm"),onConfirm:o}][j];return t.jsxs(V,{title:b("common.invite"),fullWidth:!0,open:!0,showCloseButton:!1,actions:t.jsxs(t.Fragment,{children:[m.cancel&&t.jsx(U,{onClick:m.onCancel,color:"inherit",children:m.cancel}),t.jsxs(U,{onClick:m.onConfirm,color:"primary",disabled:w||!r,variant:"contained",autoFocus:!0,children:[w&&t.jsx(re,{size:16}),m.confirm]})]}),children:[t.jsx(De,{component:"div",children:typeof m.body=="function"?m.body():m.body}),!!g&&t.jsx(te,{type:"error",variant:"icon",children:g})]})}ke.propTypes={teamDid:C.string.isRequired,onCancel:C.func.isRequired,onSuccess:C.func.isRequired,onError:C.func,roles:C.array,endpoint:C.string};ke.defaultProps={onError:()=>{},roles:[],endpoint:""};const Cr=z.div`
2
2
  font-size: 16px;
3
3
  font-weight: bold;
4
4
  `;function Ee({teamDid:e,onCancel:n,onSuccess:s,onError:o,endpoint:h}){const{api:P,info:O}=M(),{api:w}=x.useContext(Nt),[v,g]=x.useState(!1),{t:l,locale:b}=Q(),[d,j]=x.useState(""),[T,I]=x.useState(!1),[y,r]=x.useState(0),[a,i]=x.useState(""),[c,p]=x.useState(""),u=!!we(O,"ownerNft.did"),m=Gt(async()=>{if(u){const{state:A}=await P.getDelegationState();return A}return{delegated:!0}});if(m.loading)return t.jsx(V,{title:l("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:n,children:t.jsx("div",{style:{display:"flex",justifyContent:"center"},children:t.jsx(re,{})})});if(m.error)return t.jsx(V,{title:l("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:n,children:t.jsx(te,{type:"error",variant:"icon",children:X(m.error)})});const f=async()=>{j(null),g(!0);try{const{inviteInfo:A}=await P.createTransferInvitation({input:{teamDid:e,role:"owner",remark:c.trim()}});i(A),r(G.length-1)}catch(A){const Y=X(A);j(Y),o(A)}finally{g(!1)}},D=()=>{I(!0),r(1)},B=()=>{I(!1),r(0)},G=[{body:t.jsxs(ee,{component:"div",children:[t.jsxs(te,{type:"warning",children:[t.jsx(ee,{children:l("team.transferNode.inviteDialog.tips.progress")}),t.jsx(ee,{children:l("team.transferNode.inviteDialog.tips.newOwnerPermissions")})]}),t.jsx(te,{type:"warning",children:t.jsx(ee,{children:l("team.transferNode.inviteDialog.tips.revoke")})}),t.jsx("div",{style:{marginTop:20,marginBottom:10}}),t.jsx(vt,{label:l("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:c,onChange:A=>{j(null),p(A.target.value)},disabled:v,"data-cy":"transfer-node-input-remark"}),t.jsx("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:l("common.cancel"),confirm:l("team.transferNode.inviteDialog.createInviteLink"),onCancel:n,onConfirm:u&&!we(m,"value.delegated")?D:f},{body:()=>t.jsx(Ft,{action:"delegate-transfer-nft",open:T,locale:b,checkFn:w.get,onClose:B,onSuccess:f,checkTimeout:5*60*1e3,webWalletUrl:_t(O),extraParams:{targetDID:O.did},messages:{title:l("team.transferNode.delegateDialog.title"),scan:l("team.transferNode.delegateDialog.scan"),confirm:l("team.transferNode.delegateDialog.confirm"),success:l("team.transferNode.delegateDialog.success")},popup:!0})},{body:()=>{const A=Re({inviteId:a.inviteId,endpoint:h});return t.jsxs("div",{children:[t.jsx(wr,{children:l("team.transferNode.inviteDialog.createSuccessTip",{expireDate:ie(a.expireDate,b)})}),t.jsx("div",{style:{marginTop:"40px"}}),t.jsx(ge,{children:A})]})},confirm:l("common.confirm"),onConfirm:s}],L=G[y];return t.jsxs(V,{title:l("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,showCloseButton:!1,actions:t.jsxs(t.Fragment,{children:[L.cancel&&t.jsx(U,{onClick:L.onCancel,color:"inherit",children:L.cancel}),t.jsxs(U,{onClick:L.onConfirm,color:"primary",disabled:v,variant:"contained",autoFocus:!0,children:[v&&t.jsx(re,{size:16}),L.confirm]})]}),children:[t.jsx(De,{component:"div",children:typeof L.body=="function"?L.body():L.body}),!!d&&t.jsx(te,{type:"error",variant:"icon",children:d})]})}Ee.propTypes={teamDid:C.string.isRequired,onCancel:C.func.isRequired,onSuccess:C.func.isRequired,onError:C.func,endpoint:C.string};Ee.defaultProps={onError:()=>{},endpoint:""};const wr=z.div`
@@ -1,2 +1,2 @@
1
- import{aS as G}from"./index-uIKkPDx2.js";class w{constructor(e,t,o){this.property=e,this.normal=t,o&&(this.space=o)}}w.prototype.property={};w.prototype.normal={};w.prototype.space=null;function B(l,e){const t={},o={};let c=-1;for(;++c<l.length;)Object.assign(t,l[c].property),Object.assign(o,l[c].normal);return new w(t,o,e)}function L(l){return l.toLowerCase()}class h{constructor(e,t){this.property=e,this.attribute=t}}h.prototype.space=null;h.prototype.boolean=!1;h.prototype.booleanish=!1;h.prototype.overloadedBoolean=!1;h.prototype.number=!1;h.prototype.commaSeparated=!1;h.prototype.spaceSeparated=!1;h.prototype.commaOrSpaceSeparated=!1;h.prototype.mustUseProperty=!1;h.prototype.defined=!1;let $=0;const r=k(),p=k(),H=k(),n=k(),u=k(),x=k(),g=k();function k(){return 2**++$}const P=Object.freeze(Object.defineProperty({__proto__:null,boolean:r,booleanish:p,commaOrSpaceSeparated:g,commaSeparated:x,number:n,overloadedBoolean:H,spaceSeparated:u},Symbol.toStringTag,{value:"Module"})),C=Object.keys(P);class E extends h{constructor(e,t,o,c){let s=-1;if(super(e,t),R(this,"space",c),typeof o=="number")for(;++s<C.length;){const d=C[s];R(this,C[s],(o&P[d])===P[d])}}}E.prototype.defined=!0;function R(l,e,t){t&&(l[e]=t)}const Z={}.hasOwnProperty;function S(l){const e={},t={};let o;for(o in l.properties)if(Z.call(l.properties,o)){const c=l.properties[o],s=new E(o,l.transform(l.attributes||{},o),c,l.space);l.mustUseProperty&&l.mustUseProperty.includes(o)&&(s.mustUseProperty=!0),e[o]=s,t[L(o)]=o,t[L(s.attribute)]=o}return new w(e,t,l.space)}const F=S({space:"xlink",transform(l,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),j=S({space:"xml",transform(l,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function N(l,e){return e in l?l[e]:e}function X(l,e){return N(l,e.toLowerCase())}const _=S({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:X,properties:{xmlns:null,xmlnsXLink:null}}),V=S({transform(l,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:p,ariaAutoComplete:null,ariaBusy:p,ariaChecked:p,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:u,ariaCurrent:null,ariaDescribedBy:u,ariaDetails:null,ariaDisabled:p,ariaDropEffect:u,ariaErrorMessage:null,ariaExpanded:p,ariaFlowTo:u,ariaGrabbed:p,ariaHasPopup:null,ariaHidden:p,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:u,ariaLevel:n,ariaLive:null,ariaModal:p,ariaMultiLine:p,ariaMultiSelectable:p,ariaOrientation:null,ariaOwns:u,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:p,ariaReadOnly:p,ariaRelevant:null,ariaRequired:p,ariaRoleDescription:u,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:p,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null}}),J=S({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:X,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:x,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:r,allowPaymentRequest:r,allowUserMedia:r,alt:null,as:null,async:r,autoCapitalize:null,autoComplete:u,autoFocus:r,autoPlay:r,capture:r,charSet:null,checked:r,cite:null,className:u,cols:n,colSpan:null,content:null,contentEditable:p,controls:r,controlsList:u,coords:n|x,crossOrigin:null,data:null,dateTime:null,decoding:null,default:r,defer:r,dir:null,dirName:null,disabled:r,download:H,draggable:p,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:r,formTarget:null,headers:u,height:n,hidden:r,high:n,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:r,itemId:null,itemProp:u,itemRef:u,itemScope:r,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:r,low:n,manifest:null,max:null,maxLength:n,media:null,method:null,min:null,minLength:n,multiple:r,muted:r,name:null,nonce:null,noModule:r,noValidate:r,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:r,optimum:n,pattern:null,ping:u,placeholder:null,playsInline:r,poster:null,preload:null,readOnly:r,referrerPolicy:null,rel:u,required:r,reversed:r,rows:n,rowSpan:n,sandbox:u,scope:null,scoped:r,seamless:r,selected:r,shape:null,size:n,sizes:null,slot:null,span:n,spellCheck:p,src:null,srcDoc:null,srcLang:null,srcSet:null,start:n,step:null,style:null,tabIndex:n,target:null,title:null,translate:null,type:null,typeMustMatch:r,useMap:null,value:p,width:n,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:n,borderColor:null,bottomMargin:n,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:r,declare:r,event:null,face:null,frame:null,frameBorder:null,hSpace:n,leftMargin:n,link:null,longDesc:null,lowSrc:null,marginHeight:n,marginWidth:n,noResize:r,noHref:r,noShade:r,noWrap:r,object:null,profile:null,prompt:null,rev:null,rightMargin:n,rules:null,scheme:null,scrolling:p,standby:null,summary:null,text:null,topMargin:n,valueType:null,version:null,vAlign:null,vLink:null,vSpace:n,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:r,disableRemotePlayback:r,prefix:null,property:null,results:n,security:null,unselectable:null}}),Q=S({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:N,properties:{about:g,accentHeight:n,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:n,amplitude:n,arabicForm:null,ascent:n,attributeName:null,attributeType:null,azimuth:n,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:n,by:null,calcMode:null,capHeight:n,className:u,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:n,diffuseConstant:n,direction:null,display:null,dur:null,divisor:n,dominantBaseline:null,download:r,dx:null,dy:null,edgeMode:null,editable:null,elevation:n,enableBackground:null,end:null,event:null,exponent:n,externalResourcesRequired:null,fill:null,fillOpacity:n,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:x,g2:x,glyphName:x,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:n,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:n,horizOriginX:n,horizOriginY:n,id:null,ideographic:n,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:n,k:n,k1:n,k2:n,k3:n,k4:n,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:n,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:n,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:n,overlineThickness:n,paintOrder:null,panose1:null,path:null,pathLength:n,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:n,pointsAtY:n,pointsAtZ:n,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:n,specularExponent:n,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:n,strikethroughThickness:n,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:n,strokeOpacity:n,strokeWidth:null,style:null,surfaceScale:n,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:n,tableValues:null,target:null,targetX:n,targetY:n,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,u1:null,u2:null,underlinePosition:n,underlineThickness:n,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:n,values:null,vAlphabetic:n,vMathematical:n,vectorEffect:null,vHanging:n,vIdeographic:n,version:null,vertAdvY:n,vertOriginX:n,vertOriginY:n,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:n,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nn=/^data[-\w.:]+$/i,T=/-[a-z]/g,ln=/[A-Z]/g;function kn(l,e){const t=L(e);let o=e,c=h;if(t in l.normal)return l.property[l.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&nn.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(T,on);o="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!T.test(s)){let d=s.replace(ln,en);d.charAt(0)!=="-"&&(d="-"+d),e="data"+d}}c=E}return new c(o,e)}function en(l){return"-"+l.toLowerCase()}function on(l){return l.charAt(1).toUpperCase()}const xn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Sn=B([j,F,_,V,J],"html"),wn=B([j,F,_,V,Q],"svg");function bn(l){const e=String(l||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Cn(l){return l.join(" ").trim()}function Ln(l){const e=[],t=String(l||"");let o=t.indexOf(","),c=0,s=!1;for(;!s;){o===-1&&(o=t.length,s=!0);const d=t.slice(c,o).trim();(d||!s)&&e.push(d),c=o+1,o=t.indexOf(",",c)}return e}function Pn(l,e){const t=e||{};return(l[l.length-1]===""?[...l,""]:l).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var O={exports:{}},A=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,tn=/\n/g,rn=/^\s*/,an=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,un=/^:\s*/,sn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,cn=/^[;\s]*/,pn=/^\s+|\s+$/g,dn=`
1
+ import{aS as G}from"./index-mBoNVAkF.js";class w{constructor(e,t,o){this.property=e,this.normal=t,o&&(this.space=o)}}w.prototype.property={};w.prototype.normal={};w.prototype.space=null;function B(l,e){const t={},o={};let c=-1;for(;++c<l.length;)Object.assign(t,l[c].property),Object.assign(o,l[c].normal);return new w(t,o,e)}function L(l){return l.toLowerCase()}class h{constructor(e,t){this.property=e,this.attribute=t}}h.prototype.space=null;h.prototype.boolean=!1;h.prototype.booleanish=!1;h.prototype.overloadedBoolean=!1;h.prototype.number=!1;h.prototype.commaSeparated=!1;h.prototype.spaceSeparated=!1;h.prototype.commaOrSpaceSeparated=!1;h.prototype.mustUseProperty=!1;h.prototype.defined=!1;let $=0;const r=k(),p=k(),H=k(),n=k(),u=k(),x=k(),g=k();function k(){return 2**++$}const P=Object.freeze(Object.defineProperty({__proto__:null,boolean:r,booleanish:p,commaOrSpaceSeparated:g,commaSeparated:x,number:n,overloadedBoolean:H,spaceSeparated:u},Symbol.toStringTag,{value:"Module"})),C=Object.keys(P);class E extends h{constructor(e,t,o,c){let s=-1;if(super(e,t),R(this,"space",c),typeof o=="number")for(;++s<C.length;){const d=C[s];R(this,C[s],(o&P[d])===P[d])}}}E.prototype.defined=!0;function R(l,e,t){t&&(l[e]=t)}const Z={}.hasOwnProperty;function S(l){const e={},t={};let o;for(o in l.properties)if(Z.call(l.properties,o)){const c=l.properties[o],s=new E(o,l.transform(l.attributes||{},o),c,l.space);l.mustUseProperty&&l.mustUseProperty.includes(o)&&(s.mustUseProperty=!0),e[o]=s,t[L(o)]=o,t[L(s.attribute)]=o}return new w(e,t,l.space)}const F=S({space:"xlink",transform(l,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),j=S({space:"xml",transform(l,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function N(l,e){return e in l?l[e]:e}function X(l,e){return N(l,e.toLowerCase())}const _=S({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:X,properties:{xmlns:null,xmlnsXLink:null}}),V=S({transform(l,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:p,ariaAutoComplete:null,ariaBusy:p,ariaChecked:p,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:u,ariaCurrent:null,ariaDescribedBy:u,ariaDetails:null,ariaDisabled:p,ariaDropEffect:u,ariaErrorMessage:null,ariaExpanded:p,ariaFlowTo:u,ariaGrabbed:p,ariaHasPopup:null,ariaHidden:p,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:u,ariaLevel:n,ariaLive:null,ariaModal:p,ariaMultiLine:p,ariaMultiSelectable:p,ariaOrientation:null,ariaOwns:u,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:p,ariaReadOnly:p,ariaRelevant:null,ariaRequired:p,ariaRoleDescription:u,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:p,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null}}),J=S({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:X,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:x,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:r,allowPaymentRequest:r,allowUserMedia:r,alt:null,as:null,async:r,autoCapitalize:null,autoComplete:u,autoFocus:r,autoPlay:r,capture:r,charSet:null,checked:r,cite:null,className:u,cols:n,colSpan:null,content:null,contentEditable:p,controls:r,controlsList:u,coords:n|x,crossOrigin:null,data:null,dateTime:null,decoding:null,default:r,defer:r,dir:null,dirName:null,disabled:r,download:H,draggable:p,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:r,formTarget:null,headers:u,height:n,hidden:r,high:n,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:r,itemId:null,itemProp:u,itemRef:u,itemScope:r,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:r,low:n,manifest:null,max:null,maxLength:n,media:null,method:null,min:null,minLength:n,multiple:r,muted:r,name:null,nonce:null,noModule:r,noValidate:r,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:r,optimum:n,pattern:null,ping:u,placeholder:null,playsInline:r,poster:null,preload:null,readOnly:r,referrerPolicy:null,rel:u,required:r,reversed:r,rows:n,rowSpan:n,sandbox:u,scope:null,scoped:r,seamless:r,selected:r,shape:null,size:n,sizes:null,slot:null,span:n,spellCheck:p,src:null,srcDoc:null,srcLang:null,srcSet:null,start:n,step:null,style:null,tabIndex:n,target:null,title:null,translate:null,type:null,typeMustMatch:r,useMap:null,value:p,width:n,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:n,borderColor:null,bottomMargin:n,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:r,declare:r,event:null,face:null,frame:null,frameBorder:null,hSpace:n,leftMargin:n,link:null,longDesc:null,lowSrc:null,marginHeight:n,marginWidth:n,noResize:r,noHref:r,noShade:r,noWrap:r,object:null,profile:null,prompt:null,rev:null,rightMargin:n,rules:null,scheme:null,scrolling:p,standby:null,summary:null,text:null,topMargin:n,valueType:null,version:null,vAlign:null,vLink:null,vSpace:n,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:r,disableRemotePlayback:r,prefix:null,property:null,results:n,security:null,unselectable:null}}),Q=S({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:N,properties:{about:g,accentHeight:n,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:n,amplitude:n,arabicForm:null,ascent:n,attributeName:null,attributeType:null,azimuth:n,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:n,by:null,calcMode:null,capHeight:n,className:u,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:n,diffuseConstant:n,direction:null,display:null,dur:null,divisor:n,dominantBaseline:null,download:r,dx:null,dy:null,edgeMode:null,editable:null,elevation:n,enableBackground:null,end:null,event:null,exponent:n,externalResourcesRequired:null,fill:null,fillOpacity:n,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:x,g2:x,glyphName:x,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:n,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:n,horizOriginX:n,horizOriginY:n,id:null,ideographic:n,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:n,k:n,k1:n,k2:n,k3:n,k4:n,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:n,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:n,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:n,overlineThickness:n,paintOrder:null,panose1:null,path:null,pathLength:n,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:n,pointsAtY:n,pointsAtZ:n,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:n,specularExponent:n,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:n,strikethroughThickness:n,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:n,strokeOpacity:n,strokeWidth:null,style:null,surfaceScale:n,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:n,tableValues:null,target:null,targetX:n,targetY:n,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,u1:null,u2:null,underlinePosition:n,underlineThickness:n,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:n,values:null,vAlphabetic:n,vMathematical:n,vectorEffect:null,vHanging:n,vIdeographic:n,version:null,vertAdvY:n,vertOriginX:n,vertOriginY:n,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:n,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nn=/^data[-\w.:]+$/i,T=/-[a-z]/g,ln=/[A-Z]/g;function kn(l,e){const t=L(e);let o=e,c=h;if(t in l.normal)return l.property[l.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&nn.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(T,on);o="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!T.test(s)){let d=s.replace(ln,en);d.charAt(0)!=="-"&&(d="-"+d),e="data"+d}}c=E}return new c(o,e)}function en(l){return"-"+l.toLowerCase()}function on(l){return l.charAt(1).toUpperCase()}const xn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Sn=B([j,F,_,V,J],"html"),wn=B([j,F,_,V,Q],"svg");function bn(l){const e=String(l||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Cn(l){return l.join(" ").trim()}function Ln(l){const e=[],t=String(l||"");let o=t.indexOf(","),c=0,s=!1;for(;!s;){o===-1&&(o=t.length,s=!0);const d=t.slice(c,o).trim();(d||!s)&&e.push(d),c=o+1,o=t.indexOf(",",c)}return e}function Pn(l,e){const t=e||{};return(l[l.length-1]===""?[...l,""]:l).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var O={exports:{}},A=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,tn=/\n/g,rn=/^\s*/,an=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,un=/^:\s*/,sn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,cn=/^[;\s]*/,pn=/^\s+|\s+$/g,dn=`
2
2
  `,I="/",U="*",y="",gn="comment",hn="declaration",mn=function(l,e){if(typeof l!="string")throw new TypeError("First argument must be a string");if(!l)return[];e=e||{};var t=1,o=1;function c(i){var a=i.match(tn);a&&(t+=a.length);var m=i.lastIndexOf(dn);o=~m?i.length-m:o+i.length}function s(){var i={line:t,column:o};return function(a){return a.position=new d(i),b(),a}}function d(i){this.start=i,this.end={line:t,column:o},this.source=e.source}d.prototype.content=l;function v(i){var a=new Error(e.source+":"+t+":"+o+": "+i);if(a.reason=i,a.filename=e.source,a.line=t,a.column=o,a.source=l,!e.silent)throw a}function f(i){var a=i.exec(l);if(a){var m=a[0];return c(m),l=l.slice(m.length),a}}function b(){f(rn)}function M(i){var a;for(i=i||[];a=D();)a!==!1&&i.push(a);return i}function D(){var i=s();if(!(I!=l.charAt(0)||U!=l.charAt(1))){for(var a=2;y!=l.charAt(a)&&(U!=l.charAt(a)||I!=l.charAt(a+1));)++a;if(a+=2,y===l.charAt(a-1))return v("End of comment missing");var m=l.slice(2,a-2);return o+=2,c(m),l=l.slice(a),o+=2,i({type:gn,comment:m})}}function K(){var i=s(),a=f(an);if(a){if(D(),!f(un))return v("property missing ':'");var m=f(sn),q=i({type:hn,property:z(a[0].replace(A,y)),value:m?z(m[0].replace(A,y)):y});return f(cn),q}}function Y(){var i=[];M(i);for(var a;a=K();)a!==!1&&(i.push(a),M(i));return i}return b(),Y()};function z(l){return l?l.replace(pn,y):y}var fn=mn;function W(l,e){var t=null;if(!l||typeof l!="string")return t;for(var o,c=fn(l),s=typeof e=="function",d,v,f=0,b=c.length;f<b;f++)o=c[f],d=o.property,v=o.value,s?e(d,v,o):v&&(t||(t={}),t[d]=v);return t}O.exports=W;O.exports.default=W;var vn=O.exports;const En=G(vn),On={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Mn(l){const e=l&&typeof l=="object"&&l.type==="text"?l.value||"":l;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}export{En as S,Pn as a,Cn as b,xn as c,Mn as d,Ln as e,kn as f,Sn as h,L as n,bn as p,wn as s,On as w};
@@ -0,0 +1,57 @@
1
+ import{a8 as n1,a9 as s1,u as L,r as t,d8 as o1,c as U,w as D,c0 as Q,j as e,T as y,B as r,x as G,am as i1,F as w,S as W,ab as V,n as I,P as C,aw as r1,cW as l1,G as Y,bf as c1,ch as p1,E as d1,aX as C1,C as m1}from"./index-mBoNVAkF.js";import{P as h1}from"./page-header-8tWFobCu.js";import{u as q,S as P}from"./step-actions-yuXDfRYd.js";import{S as g1}from"./layout-zzysI8Bj.js";import{S as z}from"./index-hGEyozRl.js";import{D as f1,A as u1}from"./index-Rx4AmqwM.js";import"./api-vzG5R7gz.js";import{e as x1,f as X,i as K,h as A1,d as y1}from"./spaces--f1ECR1p.js";import{u as E1,P as S1}from"./use-blocklet-info-for-connect-did-spaces-U7E-FAZZ.js";import{u as F}from"./setup-vvvXA-tK.js";import{M as B1}from"./TextField-SIkk5GBD.js";import{f as k}from"./format-error-lyZJ-vR8.js";import{W as H1}from"./did-address-0zsr9FGE.js";import{d as I1}from"./DeleteOutline-e9e8OEcE.js";import"./content-layout-NQeupjc8.js";import"./ExpandMore-205fwIPh.js";import"./ButtonGroup-T2tPvlgZ.js";import"./index-HFGXBlAK.js";import"./index--pe7TOaI.js";import"./Skeleton-d1ARVMzl.js";import"./Hidden-3SNT7G6f.js";import"./addon-jPojDgo_.js";import"./selector-DDVRP6ux.js";import"./ServerLogo-6ooEEYN8.js";import"./FormControl-9fKakpMh.js";import"./useFormControl-MFcUIOcD.js";import"./InputLabel-wK2bWpSD.js";import"./Select-gum5gwN9.js";function v({onConnect:a,...m}){const{blocklet:l}=n1(),{info:o}=s1(),{t:n,locale:p}=L(),[g,d]=t.useState(""),[A,i]=t.useState(!1),[f,E]=t.useState(!1),[b,O]=t.useState(""),c=E1({blocklet:l}),e1=o1(o),{storageEndpoint:J}=F(),[u,j]=t.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,prefix:U(D.PROD_DID_SPACES.CORE_URL,"space/api/did"),baseUrl:new URL(D.PROD_DID_SPACES.CORE_URL).origin,checkFn:Q.create({baseURL:U(D.PROD_DID_SPACES.CORE_URL,"space")}).get,messages:{title:n("storage.spaces.provideNFT.title",{appName:c.appName},p),scan:n("storage.spaces.provideNFT.scan",{appName:c.appName},p),confirm:"",success:e.jsx(y,{gutterBottom:!0,children:n("storage.spaces.provideNFT.success")})},onClose:()=>{j(s=>({...s,open:!1}))}}),[x,M]=t.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,messages:{title:n("storage.spaces.authorize.title",{appName:c.appName},p),scan:n("storage.spaces.authorize.scan",{appName:c.appName},p),confirm:"",success:e.jsx(y,{gutterBottom:!0,children:n("storage.spaces.authorize.success")})},onClose:()=>{M(s=>({...s,open:!1}))}}),Z=(s,h)=>{setTimeout(async()=>{M(H=>({...H,open:!1})),d(null),j(H=>({...H,open:!1}));const S=h(s.endpoint),B=s.space?h(s.space):{};await t1({endpoint:S,did:x1(S),name:"DID Space",...B})},0)},t1=async({did:s,name:h,endpoint:S})=>{const B=await X(S);if(!await K(B)){I.error(n("storage.spaces.gateway.add.invalidUrl"));return}const H={name:h,did:s,url:B,endpoint:S};await a(H),I.success(n("storage.spaces.connectedWithName",{name:H.name}))},a1=()=>{j(s=>({...s,open:!0,extraParams:{appDid:c.appDid,appName:c.appName,appDescription:c.appDescription,scopes:c.scopes,appUrl:c.appUrl,referrer:c.referrer,nodeDid:o.did}}))},N=async()=>{try{i(!0);const s=await X(g),h=A1(s),S=new URL(s).searchParams.get("spaceDid");if(!await K(h))throw new Error(n("storage.spaces.gateway.add.invalidUrl"));M(B=>({...B,open:!0,prefix:U(h,"space/api/did"),baseUrl:new URL(h).origin,checkFn:Q.create({baseURL:U(h,"space")}).get,extraParams:{appDid:c.appDid,appName:c.appName,appDescription:c.appDescription,scopes:c.scopes,appUrl:c.appUrl,referrer:c.referrer,nodeDid:o.did,spaceDid:S}})),E(!1)}catch(s){console.error(s);const h=`${n("storage.spaces.gateway.add.failed",p)}: ${k(s)}`;O(h)}finally{i(!1)}};return e.jsxs(r,{children:[e.jsx(z,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:a1,variant:"outlined",menu:[e.jsx(z.Item,{sx:{textTransform:"none"},onClick:()=>E(!0),size:"small",...m,children:n(J?"storage.spaces.connect.useSpaceGatewayReconnect":"storage.spaces.connect.useSpaceGateway")},"1")],children:e.jsx(y,{sx:{fontWeight:"bold",textTransform:"none"},children:n(J?"storage.spaces.connect.useWalletReconnect":"storage.spaces.connect.useWallet")})}),e.jsx(G,{forceConnected:!1,saveConnect:!1,prefix:u.prefix,open:u.open,popup:!0,action:u.action,webWalletUrl:e1,baseUrl:u.baseUrl,checkFn:u.checkFn,onSuccess:Z,onClose:u.onClose,checkTimeout:u.checkTimeout,extraParams:u.extraParams,messages:u.messages,locale:p}),e.jsx(G,{forceConnected:!1,saveConnect:!1,prefix:x.prefix,open:x.open,popup:!0,action:x.action,baseUrl:x.baseUrl,checkFn:x.checkFn,onSuccess:Z,onClose:x.onClose,checkTimeout:x.checkTimeout,extraParams:x.extraParams,messages:x.messages,locale:p}),e.jsxs(i1,{title:n("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:f,onClose:()=>E(!1),PaperProps:{style:{minHeight:"auto"}},actions:e.jsxs(e.Fragment,{children:[e.jsx(w,{onClick:s=>{s.stopPropagation(),E(!1)},color:"inherit",children:n("common.cancel")}),e.jsxs(w,{onClick:N,color:"primary",disabled:A||!g,variant:"contained",autoFocus:!0,children:[A&&e.jsx(W,{size:16}),n("common.confirm")]})]}),children:[e.jsx("div",{style:{paddingTop:12,overflowY:"hidden"},children:e.jsx(f1,{component:"div",children:e.jsx(y,{component:"div",children:e.jsx(B1,{label:n("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:g,onChange:s=>{O(null),d(s.target.value)},disabled:A,onKeyPress:async s=>{s.key==="Enter"&&await N()},autoFocus:!0})})})}),!!b&&e.jsx(u1,{type:"error",style:{width:"100%"},children:b})]})]})}v.propTypes={onConnect:V.func};v.defaultProps={onConnect:()=>{}};const L1=a=>t.createElement("svg",{width:228,height:258,viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...a},t.createElement("g",{filter:"url(#filter0_d_1410_22507)"},t.createElement("path",{d:"M56.9706 2C53.788 2 50.7357 3.26428 48.4853 5.51472L7.51472 46.4853C5.26428 48.7357 4 51.788 4 54.9706V240C4 246.627 9.37258 252 16 252H212C218.627 252 224 246.627 224 240V14C224 7.37258 218.627 2 212 2H56.9706Z",fill:"#DDDDDD"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.1924 6.22183L8.22182 47.1924C6.15892 49.2553 5 52.0532 5 54.9706V240C5 246.075 9.92487 251 16 251H212C218.075 251 223 246.075 223 240V14C223 7.92486 218.075 3 212 3H56.9706C54.0532 3 51.2553 4.15893 49.1924 6.22183ZM48.4853 5.51472C50.7357 3.26428 53.788 2 56.9706 2H212C218.627 2 224 7.37258 224 14V240C224 246.627 218.627 252 212 252H16C9.37258 252 4 246.627 4 240V54.9706C4 51.788 5.26428 48.7357 7.51472 46.4853L48.4853 5.51472Z",fill:"black",fillOpacity:.08}),t.createElement("mask",{id:"mask0_1410_22507",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:4,y:2,width:220,height:250},t.createElement("path",{d:"M56.9706 2C53.788 2 50.7357 3.26428 48.4853 5.51472L7.51472 46.4853C5.26428 48.7357 4 51.788 4 54.9706V240C4 246.627 9.37258 252 16 252H212C218.627 252 224 246.627 224 240V14C224 7.37258 218.627 2 212 2H56.9706Z",fill:"#D9D9D9"})),t.createElement("g",{mask:"url(#mask0_1410_22507)"},t.createElement("rect",{opacity:.5,x:4,y:2,width:220,height:128,fill:"url(#pattern0)"}),t.createElement("rect",{opacity:.1,x:4,y:130,width:220,height:122,fill:"url(#paint0_linear_1410_22507)"}),t.createElement("path",{d:"M33.0455 169H29.2784V157.364H33.1648C34.3049 157.364 35.2841 157.597 36.1023 158.062C36.9205 158.525 37.5473 159.189 37.983 160.057C38.4223 160.92 38.642 161.956 38.642 163.165C38.642 164.377 38.4205 165.419 37.9773 166.29C37.5379 167.161 36.9015 167.831 36.0682 168.301C35.2348 168.767 34.2273 169 33.0455 169ZM31.0341 167.466H32.9489C33.8352 167.466 34.572 167.299 35.1591 166.966C35.7462 166.629 36.1856 166.142 36.4773 165.506C36.7689 164.866 36.9148 164.085 36.9148 163.165C36.9148 162.252 36.7689 161.477 36.4773 160.841C36.1894 160.205 35.7595 159.722 35.1875 159.392C34.6155 159.062 33.9053 158.898 33.0568 158.898H31.0341V167.466ZM42.581 157.364V169H40.8253V157.364H42.581ZM48.9048 169H45.1378V157.364H49.0241C50.1643 157.364 51.1435 157.597 51.9616 158.062C52.7798 158.525 53.4067 159.189 53.8423 160.057C54.2817 160.92 54.5014 161.956 54.5014 163.165C54.5014 164.377 54.2798 165.419 53.8366 166.29C53.3973 167.161 52.7609 167.831 51.9276 168.301C51.0942 168.767 50.0866 169 48.9048 169ZM46.8935 167.466H48.8082C49.6946 167.466 50.4313 167.299 51.0185 166.966C51.6056 166.629 52.045 166.142 52.3366 165.506C52.6283 164.866 52.7741 164.085 52.7741 163.165C52.7741 162.252 52.6283 161.477 52.3366 160.841C52.0488 160.205 51.6188 159.722 51.0469 159.392C50.4749 159.062 49.7647 158.898 48.9162 158.898H46.8935V167.466ZM67.2656 160.42C67.205 159.883 66.955 159.466 66.5156 159.17C66.0762 158.871 65.5232 158.722 64.8565 158.722C64.3793 158.722 63.9664 158.797 63.6179 158.949C63.2694 159.097 62.9986 159.301 62.8054 159.562C62.616 159.82 62.5213 160.114 62.5213 160.443C62.5213 160.72 62.5857 160.958 62.7145 161.159C62.8471 161.36 63.0194 161.528 63.2315 161.665C63.4474 161.797 63.6785 161.909 63.9247 162C64.1709 162.087 64.4077 162.159 64.6349 162.216L65.7713 162.511C66.1425 162.602 66.5232 162.725 66.9134 162.881C67.3035 163.036 67.6652 163.241 67.9986 163.494C68.3319 163.748 68.6009 164.062 68.8054 164.438C69.0137 164.812 69.1179 165.261 69.1179 165.784C69.1179 166.443 68.9474 167.028 68.6065 167.54C68.2694 168.051 67.7789 168.455 67.1349 168.75C66.4948 169.045 65.7202 169.193 64.8111 169.193C63.9399 169.193 63.1861 169.055 62.5497 168.778C61.9134 168.502 61.4152 168.11 61.0554 167.602C60.6955 167.091 60.4967 166.485 60.4588 165.784H62.2202C62.2543 166.205 62.3906 166.555 62.6293 166.835C62.8717 167.112 63.1804 167.318 63.5554 167.455C63.9342 167.587 64.349 167.653 64.7997 167.653C65.2959 167.653 65.7372 167.576 66.1236 167.42C66.5137 167.261 66.8205 167.042 67.044 166.761C67.2675 166.477 67.3793 166.146 67.3793 165.767C67.3793 165.422 67.2808 165.14 67.0838 164.92C66.8906 164.701 66.6274 164.519 66.294 164.375C65.9645 164.231 65.5914 164.104 65.1747 163.994L63.7997 163.619C62.8679 163.366 62.1293 162.992 61.5838 162.5C61.0421 162.008 60.7713 161.356 60.7713 160.545C60.7713 159.875 60.9531 159.29 61.3168 158.79C61.6804 158.29 62.1728 157.902 62.794 157.625C63.4152 157.345 64.116 157.205 64.8963 157.205C65.6842 157.205 66.3793 157.343 66.9815 157.619C67.5876 157.896 68.0649 158.277 68.4134 158.761C68.7618 159.242 68.9437 159.795 68.9588 160.42H67.2656ZM71.0795 172.273V160.273H72.7386V161.688H72.8807C72.9792 161.506 73.1212 161.295 73.3068 161.057C73.4924 160.818 73.75 160.61 74.0795 160.432C74.4091 160.25 74.8447 160.159 75.3864 160.159C76.0909 160.159 76.7197 160.337 77.2727 160.693C77.8258 161.049 78.2595 161.562 78.5739 162.233C78.892 162.903 79.0511 163.71 79.0511 164.653C79.0511 165.597 78.8939 166.405 78.5795 167.08C78.2652 167.75 77.8333 168.267 77.2841 168.631C76.7348 168.991 76.108 169.17 75.4034 169.17C74.8731 169.17 74.4394 169.081 74.1023 168.903C73.7689 168.725 73.5076 168.517 73.3182 168.278C73.1288 168.04 72.983 167.828 72.8807 167.642H72.7784V172.273H71.0795ZM72.7443 164.636C72.7443 165.25 72.8333 165.788 73.0114 166.25C73.1894 166.712 73.447 167.074 73.7841 167.335C74.1212 167.593 74.5341 167.722 75.0227 167.722C75.5303 167.722 75.9545 167.587 76.2955 167.318C76.6364 167.045 76.8939 166.676 77.0682 166.21C77.2462 165.744 77.3352 165.22 77.3352 164.636C77.3352 164.061 77.2481 163.544 77.0739 163.085C76.9034 162.627 76.6458 162.265 76.3011 162C75.9602 161.735 75.5341 161.602 75.0227 161.602C74.5303 161.602 74.1136 161.729 73.7727 161.983C73.4356 162.237 73.1799 162.591 73.0057 163.045C72.8314 163.5 72.7443 164.03 72.7443 164.636ZM83.4943 169.193C82.9413 169.193 82.4413 169.091 81.9943 168.886C81.5473 168.678 81.1932 168.377 80.9318 167.983C80.6742 167.589 80.5455 167.106 80.5455 166.534C80.5455 166.042 80.6402 165.636 80.8295 165.318C81.0189 165 81.2746 164.748 81.5966 164.562C81.9186 164.377 82.2784 164.237 82.6761 164.142C83.0739 164.047 83.4792 163.975 83.892 163.926C84.4148 163.866 84.839 163.816 85.1648 163.778C85.4905 163.737 85.7273 163.67 85.875 163.58C86.0227 163.489 86.0966 163.341 86.0966 163.136V163.097C86.0966 162.6 85.9564 162.216 85.6761 161.943C85.3996 161.67 84.9867 161.534 84.4375 161.534C83.8655 161.534 83.4148 161.661 83.0852 161.915C82.7595 162.165 82.5341 162.443 82.4091 162.75L80.8125 162.386C81.0019 161.856 81.2784 161.428 81.642 161.102C82.0095 160.773 82.4318 160.534 82.9091 160.386C83.3864 160.235 83.8883 160.159 84.4148 160.159C84.7633 160.159 85.1326 160.201 85.5227 160.284C85.9167 160.364 86.2841 160.511 86.625 160.727C86.9697 160.943 87.2519 161.252 87.4716 161.653C87.6913 162.051 87.8011 162.568 87.8011 163.205V169H86.142V167.807H86.0739C85.964 168.027 85.7992 168.242 85.5795 168.455C85.3598 168.667 85.0777 168.843 84.733 168.983C84.3883 169.123 83.9754 169.193 83.4943 169.193ZM83.8636 167.83C84.3333 167.83 84.7348 167.737 85.0682 167.551C85.4053 167.366 85.661 167.123 85.8352 166.824C86.0133 166.521 86.1023 166.197 86.1023 165.852V164.727C86.0417 164.788 85.9242 164.845 85.75 164.898C85.5795 164.947 85.3845 164.991 85.1648 165.028C84.9451 165.062 84.7311 165.095 84.5227 165.125C84.3144 165.152 84.1402 165.174 84 165.193C83.6705 165.235 83.3693 165.305 83.0966 165.403C82.8277 165.502 82.6117 165.644 82.4489 165.83C82.2898 166.011 82.2102 166.254 82.2102 166.557C82.2102 166.977 82.3655 167.295 82.6761 167.511C82.9867 167.723 83.3826 167.83 83.8636 167.83ZM93.7401 169.176C92.8954 169.176 92.1681 168.985 91.5582 168.602C90.9522 168.216 90.4863 167.684 90.1605 167.006C89.8348 166.328 89.6719 165.551 89.6719 164.676C89.6719 163.79 89.8385 163.008 90.1719 162.33C90.5052 161.648 90.9749 161.116 91.581 160.733C92.187 160.35 92.901 160.159 93.723 160.159C94.3859 160.159 94.9768 160.282 95.4957 160.528C96.0147 160.771 96.4332 161.112 96.7514 161.551C97.0734 161.991 97.2647 162.504 97.3253 163.091H95.6719C95.581 162.682 95.3726 162.33 95.0469 162.034C94.7249 161.739 94.2931 161.591 93.7514 161.591C93.2779 161.591 92.8632 161.716 92.5071 161.966C92.1548 162.212 91.8802 162.564 91.6832 163.023C91.4863 163.477 91.3878 164.015 91.3878 164.636C91.3878 165.273 91.4844 165.822 91.6776 166.284C91.8707 166.746 92.1435 167.104 92.4957 167.358C92.8518 167.612 93.2704 167.739 93.7514 167.739C94.0734 167.739 94.3651 167.68 94.6264 167.562C94.8916 167.441 95.1132 167.269 95.2912 167.045C95.473 166.822 95.5999 166.553 95.6719 166.239H97.3253C97.2647 166.803 97.081 167.307 96.7741 167.75C96.4673 168.193 96.0563 168.542 95.5412 168.795C95.0298 169.049 94.4295 169.176 93.7401 169.176ZM102.903 169.176C102.044 169.176 101.303 168.992 100.682 168.625C100.064 168.254 99.5871 167.733 99.25 167.062C98.9167 166.388 98.75 165.598 98.75 164.693C98.75 163.799 98.9167 163.011 99.25 162.33C99.5871 161.648 100.057 161.116 100.659 160.733C101.265 160.35 101.973 160.159 102.784 160.159C103.277 160.159 103.754 160.241 104.216 160.403C104.678 160.566 105.093 160.822 105.46 161.17C105.828 161.519 106.117 161.972 106.33 162.528C106.542 163.081 106.648 163.754 106.648 164.545V165.148H99.7102V163.875H104.983C104.983 163.428 104.892 163.032 104.71 162.688C104.528 162.339 104.273 162.064 103.943 161.864C103.617 161.663 103.235 161.562 102.795 161.562C102.318 161.562 101.902 161.68 101.545 161.915C101.193 162.146 100.92 162.449 100.727 162.824C100.538 163.195 100.443 163.598 100.443 164.034V165.028C100.443 165.612 100.545 166.108 100.75 166.517C100.958 166.926 101.248 167.239 101.619 167.455C101.991 167.667 102.424 167.773 102.92 167.773C103.242 167.773 103.536 167.727 103.801 167.636C104.066 167.542 104.295 167.402 104.489 167.216C104.682 167.03 104.83 166.801 104.932 166.528L106.54 166.818C106.411 167.292 106.18 167.706 105.847 168.062C105.517 168.415 105.102 168.689 104.602 168.886C104.106 169.08 103.54 169.176 102.903 169.176Z",fill:"white"}),t.createElement("path",{d:"M117.604 47.2627L121.523 45H135.79V86.8617H121.523L106.188 78.0079L106.188 53.8537L108.006 52.8045L111.206 54.652L109.388 55.7013V76.1604L122.381 83.6617H132.59V48.2H122.381L120.804 49.1102L117.604 47.2627Z",fill:"url(#paint1_linear_1410_22507)"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.1604V55.7013L106.409 48.2H96.2V83.6617H106.409L107.991 82.7486L111.191 84.5961L107.267 86.8617H93V45H107.267L122.602 53.8537V78.0079L120.789 79.0543L117.589 77.2068L119.402 76.1604Z",fill:"url(#paint2_linear_1410_22507)"}),t.createElement("g",{clipPath:"url(#clip0_1410_22507)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.9284 216.089L51.9616 218.941H49.4587L50.487 216.099C50.5226 216 50.5582 215.888 50.5938 215.761C50.6326 215.635 50.6697 215.498 50.7053 215.352C50.7797 215.649 50.8541 215.894 50.9284 216.089ZM53.2082 221.68H54.0037L51.2292 214.328H50.1863L47.4118 221.68H48.2073C48.2946 221.68 48.369 221.654 48.4304 221.603C48.4919 221.549 48.5339 221.489 48.5565 221.424L49.1725 219.719H52.2429L52.8589 221.424C52.8848 221.499 52.9269 221.561 52.9851 221.608C53.0433 221.656 53.1176 221.68 53.2082 221.68ZM58.031 220.717C57.8466 220.782 57.6235 220.815 57.3616 220.815H55.9064V218.362H57.3616C57.8628 218.362 58.2331 218.468 58.4724 218.68C58.7117 218.888 58.8313 219.175 58.8313 219.54C58.8313 219.724 58.8038 219.895 58.7488 220.052C58.6939 220.205 58.6066 220.339 58.4869 220.451C58.3705 220.564 58.2185 220.653 58.031 220.717ZM55.9064 217.589V215.183H57.1433C57.6413 215.183 58.0083 215.278 58.2444 215.469C58.4804 215.661 58.5985 215.966 58.5985 216.386C58.5985 216.755 58.474 217.048 58.225 217.267C57.9792 217.482 57.6025 217.589 57.0948 217.589H55.9064ZM58.2638 214.461C57.9534 214.372 57.5799 214.328 57.1433 214.328H54.8733V221.68H57.381C57.7723 221.68 58.1215 221.629 58.4287 221.526C58.7359 221.424 58.9946 221.279 59.2048 221.091C59.415 220.903 59.5751 220.682 59.685 220.426C59.7949 220.166 59.8499 219.879 59.8499 219.565C59.8499 218.661 59.3438 218.103 58.3317 217.891C58.5516 217.816 58.7424 217.722 58.9041 217.61C59.0657 217.497 59.1999 217.371 59.3067 217.231C59.4134 217.087 59.4926 216.934 59.5443 216.77C59.5961 216.606 59.6219 216.435 59.6219 216.258C59.6219 215.958 59.5734 215.69 59.4764 215.454C59.3826 215.215 59.2355 215.012 59.035 214.845C58.8345 214.678 58.5775 214.55 58.2638 214.461ZM65.7988 215.239H63.5869V221.68H62.5586V215.239H60.3371V214.328H65.7988V215.239ZM68.2377 215.803H67.1074V216.996H68.2377V215.803ZM67.1074 218.786H68.2377V219.979H67.1074V218.786Z",fill:"white",fillOpacity:.8}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.2472 221.771V214H32.141C33.1319 214.072 33.9063 214.944 33.9063 215.998V219.768C33.9063 220.874 33.0569 221.771 32.0091 221.771H28.2472ZM36.3546 214H35.3436V221.783H36.3546V214ZM29.2582 220.704V215.062H32.0091C32.4986 215.062 32.8953 215.481 32.8953 215.998V219.768C32.8953 220.285 32.4986 220.704 32.0091 220.704H29.2582ZM37.7748 214V221.771H41.5367C42.5845 221.771 43.4339 220.874 43.4339 219.768V215.998C43.4339 214.944 42.6595 214.072 41.6686 214H37.7748ZM44.7205 215.803H45.8508V216.996H44.7205V215.803ZM45.8508 218.786H44.7205V219.979H45.8508V218.786ZM38.7858 215.062V220.704H41.5367C42.0262 220.704 42.4229 220.285 42.4229 219.768V215.998C42.4229 215.481 42.0262 215.062 41.5367 215.062H38.7858Z",fill:"white"})),t.createElement("circle",{cx:191.32,cy:218,r:10,fill:"url(#paint3_radial_1410_22507)"}),t.createElement("path",{d:"M192.064 213.333L193.04 212.769H196.594V223.196H193.308C193.133 223.196 192.96 223.15 192.808 223.062L189.22 220.991L189.22 214.975L189.673 214.713L190.47 215.173L190.017 215.435V220.531L193.254 222.399H195.797V213.566H193.254L192.861 213.793L192.064 213.333Z",fill:"white"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531V215.435L189.275 213.566H186.732V222.399H189.275L189.669 222.172L190.466 222.632L189.489 223.196H185.935V212.769H189.489L193.309 214.975V220.991L192.857 221.252L192.06 220.791L192.512 220.531Z",fill:"white"}))),t.createElement("defs",null,t.createElement("filter",{id:"filter0_d_1410_22507",x:0,y:0,width:228,height:258,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:2}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})),t.createElement("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:1,height:1},t.createElement("use",{xlinkHref:"#image0_1410_22507",transform:"scale(0.00454545 0.0078125)"})),t.createElement("linearGradient",{id:"paint0_linear_1410_22507",x1:114,y1:130,x2:114,y2:252,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#101010"}),t.createElement("stop",{offset:1,stopColor:"#272727"})),t.createElement("linearGradient",{id:"paint1_linear_1410_22507",x1:120.989,y1:45,x2:120.989,y2:86.8617,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"white",stopOpacity:.4}),t.createElement("stop",{offset:1,stopColor:"white"})),t.createElement("linearGradient",{id:"paint2_linear_1410_22507",x1:107.801,y1:45,x2:107.801,y2:86.8617,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"white"}),t.createElement("stop",{offset:1,stopColor:"white",stopOpacity:.4})),t.createElement("radialGradient",{id:"paint3_radial_1410_22507",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(183.166 221) rotate(-27.2864) scale(19.1285 15.2161)"},t.createElement("stop",{stopColor:"#016BED"}),t.createElement("stop",{offset:.69919,stopColor:"#4498FB"}),t.createElement("stop",{offset:1,stopColor:"#9DFFE8"})),t.createElement("clipPath",{id:"clip0_1410_22507"},t.createElement("rect",{width:40.32,height:8,fill:"white",transform:"translate(28 214)"})),t.createElement("image",{id:"image0_1410_22507",width:220,height:128,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb4YjgbAkmpyEOINs1gCtSC4YsjwnY9l1MJYRz1NMk5NAC3MffnLwiHnNH7IoyER5VEI6S4Um++uKyho0BwmD+1rA90yarpO4ZpjLgs8+BTUfU9w+gkwEi6ftxqyB9Wt6IBstE0E8kxJLeKaVhNA/uEwIslv1JmRwcSzAo+URPCF5M8AGzEF8yG+QVBFl53FqhfYqd7/PM6AmJouW4cVge9pZuMJga2NQH918Sp4VIXddVCKizUTFu3CbUMxyxgOUoSpidf+JEuRy/g3EyyCTz0yw2KRGtDs4fE8btEktCKZzL3J6mFoLZdlcJKLW33guKRC44aAhkhSWKMOT5uF2kd283asHcBt5C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oGmNAwCyvrKe2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})));function _(){const{t:a}=L();return e.jsx(r,{children:e.jsxs(r,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[e.jsx(L1,{style:{width:200,height:250}}),e.jsx(y,{marginTop:"24px",marginBottom:"24px",children:a("storage.spaces.connect.providerForStorage")})]})})}_.propTypes={};const U1=a=>t.createElement("svg",{width:8,height:8,viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},t.createElement("circle",{cx:4,cy:4,r:4,fill:"#25C99B"}));function R({spaceGateway:a,onDeleteSpace:m}){const{t:l}=L(),[o,n]=t.useState(!1),[p,g]=t.useState(!1),d=(i,f)=>{i==null||i.stopPropagation(),n(f)},A=async i=>{try{i==null||i.stopPropagation(),g(!0),await m(a),n(!1)}catch(f){console.error(f),I.error(`${l("storage.spaces.gateway.delete.failed")}: ${k(f)}`)}finally{g(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(r1,{size:"small",onClick:i=>d(i,!0),children:e.jsx(I1,{})}),e.jsx(l1,{title:l("common.delConfirmDescription",{data:`${a==null?void 0:a.name}`}),open:o,confirmButton:{text:l("common.confirm"),props:{variant:"contained",color:"error",loading:p}},cancelButton:{text:l("common.cancel"),props:{variant:"contained",color:"primary"}},onConfirm:A,onCancel:i=>d(i,!1)})]})}R.propTypes={onDeleteSpace:C.func,spaceGateway:C.shape({name:C.string.isRequired,url:C.string.isRequired,protected:C.bool}).isRequired};R.defaultProps={onDeleteSpace:()=>{}};function T({spaceGateway:a,connected:m,onDisconnect:l,...o}){const n=q(),{t:p}=L(),g=async()=>{try{await l(),I.success(p("storage.spaces.gateway.delete.succeeded",{name:a.name}))}catch(d){console.error(d),I.error(k(d))}};return e.jsxs(w1,{style:{position:"relative"},children:[e.jsxs(r,{sx:{backgroundColor:m?"#F0FDFF":"inherit","&:hover":{backgroundColor:m?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px",...o,children:[e.jsx(r,{display:"flex",children:e.jsx(S1,{alt:a.did,src:y1(a.endpoint)})}),e.jsxs(r,{className:"spaces-info",display:"flex",flexGrow:1,flexDirection:"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[e.jsxs(r,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[e.jsx(y,{color:m?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:a.name}),e.jsx(c1,{label:e.jsxs(e.Fragment,{children:[e.jsx(U1,{style:{marginRight:"4px"}}),p("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:n?null:"20px",fontWeight:"bold"}})]}),e.jsx(r,{className:"spaces-address",display:"flex",color:"#9397A1",marginTop:"8px",children:e.jsx(y,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:a.did&&e.jsx(H1,{copyable:!1,size:14,compact:!0,responsive:!1,did:a.did})})})]}),e.jsx(r,{className:"spaces-backup",display:"flex",alignItems:"center",children:e.jsx(r,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:e.jsx(R,{spaceGateway:a,onDeleteSpace:g})})})]}),e.jsx(r,{className:"selected-container selected",children:e.jsx(p1,{className:"selected-icon"})})]})}T.propTypes={spaceGateway:C.shape({did:C.string.isRequired,name:C.string.isRequired,url:C.string.isRequired,endpoint:C.string.isRequired,protected:C.bool}).isRequired,connected:V.bool,onDisconnect:V.func};T.defaultProps={connected:!1,onDisconnect:()=>{}};const w1=Y(r)`
2
+ .selected-container {
3
+ position: absolute;
4
+ right: 0px;
5
+ bottom: 0px;
6
+ display: flex;
7
+ -webkit-box-pack: end;
8
+ justify-content: flex-end;
9
+ align-items: flex-end;
10
+ width: 32px;
11
+ height: 32px;
12
+ border-radius: 0px 0px 8px;
13
+ color: rgb(255, 255, 255);
14
+ overflow: hidden;
15
+ transition: all 0.4s ease 0s;
16
+
17
+ &::after {
18
+ position: absolute;
19
+ z-index: 0;
20
+ left: 60px;
21
+ top: 60px;
22
+ display: block;
23
+ width: 0px;
24
+ height: 0px;
25
+ border-width: 16px;
26
+ border-style: solid;
27
+ border-color: transparent #1dc1c7 #1dc1c7 transparent;
28
+ transition: all 0.1s ease 0s;
29
+ content: '';
30
+ }
31
+
32
+ .selected-icon {
33
+ visibility: hidden;
34
+ width: 60%;
35
+ height: 60%;
36
+ position: relative;
37
+ z-index: 2;
38
+ margin: 0px 1px 1px 0px;
39
+ font-size: 16px;
40
+ transition: all 0.2s ease 0s;
41
+ }
42
+ }
43
+
44
+ .selected-container.selected {
45
+ &::after {
46
+ left: 0px;
47
+ top: 0px;
48
+ }
49
+
50
+ .selected-icon {
51
+ visibility: visible;
52
+ }
53
+ }
54
+ `;function j1(){const{t:a}=L(),{spaceGateway:m,settingStorageEndpoint:l}=F();return e.jsxs(r,{display:"flex",flexDirection:"column",children:[e.jsx(r,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",children:e.jsx(y,{fontSize:"1.2rem",fontWeight:"bold",children:a("storage.spaces.connected.title")})}),e.jsx(r,{children:e.jsx(T,{style:{marginTop:"12px"},spaceGateway:m,connected:!0,onDisconnect:()=>l(null)},m.endpoint)})]})}function $({onNext:a,onPrevious:m}){var i,f,E;const{t:l}=t.useContext(d1),{blocklet:o}=C1(),n=q(),{updateSpaceGateway:p,hasStorageEndpoint:g,loading:d,storageEndpoint:A}=F();return d?e.jsx(m1,{relative:"parent",children:e.jsx(W,{})}):e.jsxs(M1,{children:[e.jsx("div",{className:"header",children:e.jsx(h1,{title:l("setup.didSpace.title"),subTitle:l("setup.didSpace.subTitle"),onClickBack:m})}),e.jsx(r,{width:n?"360px":"720px",children:g?e.jsx(j1,{}):e.jsx(_,{})}),((i=o==null?void 0:o.capabilities)==null?void 0:i.didSpace)&&e.jsx(r,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"24px",children:e.jsx(v,{onConnect:p})}),((f=o==null?void 0:o.capabilities)==null?void 0:f.didSpace)==="required"&&e.jsx(P,{mt:8,children:e.jsx(w,{loading:d,variant:"contained",disabled:d||!A,onClick:()=>a(),children:l("setup.continue")})}),((E=o==null?void 0:o.capabilities)==null?void 0:E.didSpace)==="optional"&&e.jsx(P,{blocklet:o,onStartNow:()=>a("complete"),children:e.jsx(w,{className:"start-now",loading:d,variant:"contained",disabled:d,onClick:()=>a(),children:l(A?"setup.continue":"setup.skip")})})]})}$.propTypes={onNext:C.func,onPrevious:C.func};$.defaultProps={onNext:()=>{},onPrevious:()=>{}};const M1=Y(g1)`
55
+ height: 100%;
56
+ overflow-y: auto;
57
+ `;export{$ as default};
@@ -1 +1 @@
1
- import{r as a,E as e,j as t,ar as n,G as o}from"./index-uIKkPDx2.js";function p(){const{t:s}=a.useContext(e);return t.jsx(r,{style:{paddingTop:"25vh"},children:t.jsx(n,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const r=o.main``;export{p as default};
1
+ import{r as a,E as e,j as t,ar as n,G as o}from"./index-mBoNVAkF.js";function p(){const{t:s}=a.useContext(e);return t.jsx(r,{style:{paddingTop:"25vh"},children:t.jsx(n,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const r=o.main``;export{p as default};
@@ -1,4 +1,4 @@
1
- import{aS as l}from"./index-uIKkPDx2.js";var c={exports:{}};/*!
1
+ import{aS as l}from"./index-mBoNVAkF.js";var c={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames