@abtnode/blocklet-services 1.16.26 → 1.16.27-beta-aa9c2977

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/api/libs/connect/session.js +4 -1
  2. package/api/services/auth/connect/connect-to-did-spaces-for-user.js +4 -1
  3. package/dist/assets/{Add-DIA77Wk3.js → Add-DWPkhR7c.js} +1 -1
  4. package/dist/assets/{AddBox-MzLKjNmn.js → AddBox-BjX9Z2uj.js} +1 -1
  5. package/dist/assets/{Alert-BygHZzhE.js → Alert-D5YfCoUW.js} +1 -1
  6. package/dist/assets/{ArrowDropDown-YFFRu0vB.js → ArrowDropDown-BdjbdLb6.js} +1 -1
  7. package/dist/assets/{Avatar-DHCjhYxv.js → Avatar-isxOT3tA.js} +1 -1
  8. package/dist/assets/{ButtonGroup-0AYfC2uX.js → ButtonGroup-DPL_1wz3.js} +1 -1
  9. package/dist/assets/{CheckCircle-CJXWHar8.js → CheckCircle-8mrK7i0B.js} +1 -1
  10. package/dist/assets/{ChevronRight-BADwthFI.js → ChevronRight-DNv1gZKn.js} +1 -1
  11. package/dist/assets/{CloseOutlined-xexRtaWG.js → CloseOutlined-DoNA2OX4.js} +1 -1
  12. package/dist/assets/{Delete-DtWTmSqa.js → Delete-0zNQNl-n.js} +1 -1
  13. package/dist/assets/{DeleteOutline-DDjtK5tx.js → DeleteOutline-CR22pWuT.js} +1 -1
  14. package/dist/assets/{Done-DqUiEqH9.js → Done-hH5-N5v0.js} +1 -1
  15. package/dist/assets/{Download-BnTqKxz0.js → Download-kFyuuqiT.js} +1 -1
  16. package/dist/assets/{Edit-kupjPg0A.js → Edit-DGi8qwHM.js} +1 -1
  17. package/dist/assets/{EditIcon-Bcr3Znu6.js → EditIcon-BTer7WGq.js} +1 -1
  18. package/dist/assets/{Error-CWii8pWp.js → Error-Mcb_XNeI.js} +1 -1
  19. package/dist/assets/{ExpandMore-D71_DIhI.js → ExpandMore-BgFo69Uu.js} +1 -1
  20. package/dist/assets/{FilterList-BmIinI7r.js → FilterList-D37rH1lX.js} +1 -1
  21. package/dist/assets/{FormControl-C0JDbWmb.js → FormControl-FOGVkAoE.js} +1 -1
  22. package/dist/assets/{FormControlLabel-_DnQwUBx.js → FormControlLabel-C2ynx6-R.js} +1 -1
  23. package/dist/assets/{FormGroup-DH3_9KKM.js → FormGroup-C8bxvRCn.js} +1 -1
  24. package/dist/assets/{Google-w6ghQPGJ.js → Google-B0xyZx_J.js} +1 -1
  25. package/dist/assets/{Grid-C2hHVV3P.js → Grid-yCxJQYxc.js} +1 -1
  26. package/dist/assets/{Hidden-pz9c1-mN.js → Hidden-BUue-5gv.js} +1 -1
  27. package/dist/assets/{InfoOutlined-BCDDsv6d.js → InfoOutlined-BFaZfobd.js} +1 -1
  28. package/dist/assets/{InputAdornment-08Q78sOI.js → InputAdornment-DUA05h7f.js} +1 -1
  29. package/dist/assets/{InputLabel-BozZQaWO.js → InputLabel-D30LulZb.js} +1 -1
  30. package/dist/assets/{LastPage-CvO902hR.js → LastPage-Bsc_HsDo.js} +1 -1
  31. package/dist/assets/{Launch-BKE3puNE.js → Launch-H3e02OgF.js} +1 -1
  32. package/dist/assets/{LaunchOutlined-BmjlPXWZ.js → LaunchOutlined-DNUOXpqM.js} +1 -1
  33. package/dist/assets/{Link-plM74wGq.js → Link-BXzMp1xg.js} +1 -1
  34. package/dist/assets/{ListItemText-CocITKxT.js → ListItemText-e5ekg1wb.js} +1 -1
  35. package/dist/assets/{LockIcon-BdwllO8i.js → LockIcon-BRSKZc9o.js} +1 -1
  36. package/dist/assets/{Loop-BWcZT09b.js → Loop-CWFhlQjS.js} +1 -1
  37. package/dist/assets/{MoreHoriz-DSt0ckiN.js → MoreHoriz-BUMFUhwJ.js} +1 -1
  38. package/dist/assets/{MoreVert-8tv87Xfn.js → MoreVert-BlfI-m1v.js} +1 -1
  39. package/dist/assets/{OpenInNew-DZdhFZlL.js → OpenInNew-DvfZ3_35.js} +1 -1
  40. package/dist/assets/{Pagination-CyBYtPyy.js → Pagination-Bfb8zZCL.js} +1 -1
  41. package/dist/assets/{PlayArrow-CJPTKnq_.js → PlayArrow-Nl_H1UBL.js} +1 -1
  42. package/dist/assets/{RadioGroup-BHeNOU3p.js → RadioGroup-DeoyugEj.js} +1 -1
  43. package/dist/assets/{Search-BCAeGz_m.js → Search-BVORi6f0.js} +1 -1
  44. package/dist/assets/{Select-02ImOZY8.js → Select-DeWWNQVN.js} +1 -1
  45. package/dist/assets/{ServerLogo-J0pFm_Ke.js → ServerLogo-CV1h1XOP.js} +1 -1
  46. package/dist/assets/{Skeleton-DT9Pv-2g.js → Skeleton-VINmMOpD.js} +1 -1
  47. package/dist/assets/{Slider-CdKeUdKF.js → Slider-N26z0sGm.js} +1 -1
  48. package/dist/assets/{Stepper-Dp1ULIot.js → Stepper-ComI9dBA.js} +1 -1
  49. package/dist/assets/{TableRow-CZUgHLQV.js → TableRow-M2pFTiJl.js} +1 -1
  50. package/dist/assets/{TextField-BmvBrtDY.js → TextField-CLOKo8rr.js} +1 -1
  51. package/dist/assets/{Toolbar-B0HE6nXl.js → Toolbar-CoiO3etm.js} +1 -1
  52. package/dist/assets/{ViewList-DBSseQJ3.js → ViewList-BrbecVug.js} +1 -1
  53. package/dist/assets/{access-control-CPCzgqLR.js → access-control-C2cqYXUQ.js} +1 -1
  54. package/dist/assets/{actions-p1-LcZUp.js → actions-DyCrUvyK.js} +1 -1
  55. package/dist/assets/{add-component-core-4GrPyl5C.js → add-component-core-DoRXeX-w.js} +1 -1
  56. package/dist/assets/add-resource-QkjPtdbT.js +1 -0
  57. package/dist/assets/{addon-CTBDVJzs.js → addon-BBtelOiC.js} +1 -1
  58. package/dist/assets/{analytics-GBEDVuCH.js → analytics-D8MDZMbX.js} +1 -1
  59. package/dist/assets/api-Cf224rl9.js +1 -0
  60. package/dist/assets/{audit-logs-BFTN7GVN.js → audit-logs-jozrzJUr.js} +1 -1
  61. package/dist/assets/{button-C4ay0Jfr.js → button-CI-oFf7d.js} +1 -1
  62. package/dist/assets/{click-to-copy-DnccfQFL.js → click-to-copy-9gHOXiDu.js} +1 -1
  63. package/dist/assets/{complete-DOxGeW4J.js → complete-aAfV5RH9.js} +1 -1
  64. package/dist/assets/{component-CLreGMem.js → component-Bs-IQqJC.js} +1 -1
  65. package/dist/assets/{config-DCY6VfoC.js → config-DMnGG-GJ.js} +1 -1
  66. package/dist/assets/{config-D0qp0npw.js → config-ebXdghGN.js} +1 -1
  67. package/dist/assets/{config-navigation-C7CpcvsA.js → config-navigation-DS6DN5tQ.js} +1 -1
  68. package/dist/assets/{config-space-B76BkN1W.js → config-space-D1Y6KkQv.js} +1 -1
  69. package/dist/assets/{confirm-DPRcEpGW.js → confirm-B3mdFD--.js} +1 -1
  70. package/dist/assets/{connect-BtsB-yr3.js → connect-CmJVbU43.js} +1 -1
  71. package/dist/assets/{connect-DC2UnqkU.js → connect-DrV6NO8b.js} +1 -1
  72. package/dist/assets/{connect-to-BR486qQ-.js → connect-to-CQCEiCCI.js} +1 -1
  73. package/dist/assets/{content-layout-DVbziL_Z.js → content-layout-D8kIZCKQ.js} +1 -1
  74. package/dist/assets/{dashboard-DjotZE1P.js → dashboard-DQ4ngxOJ.js} +3 -3
  75. package/dist/assets/{did-address-DMmr-ulK.js → did-address-D8Z_pYLU.js} +1 -1
  76. package/dist/assets/{domain-CDOTL1V4.js → domain-NZNiqcv3.js} +1 -1
  77. package/dist/assets/{domain-list-BPVa-zFG.js → domain-list-B0zVqUne.js} +1 -1
  78. package/dist/assets/{exchange-passport-CLwUOOG6.js → exchange-passport-C4mP-9HH.js} +1 -1
  79. package/dist/assets/{fallback-BBXjqdDF.js → fallback-BMS2ZyNw.js} +1 -1
  80. package/dist/assets/{fuel-f9bCXTYw.js → fuel-C6kRWSpP.js} +1 -1
  81. package/dist/assets/{fullpage-VSoIYHoq.js → fullpage-BKnA5p29.js} +1 -1
  82. package/dist/assets/{home-qnhrKmah.js → home-D5bBAzrV.js} +1 -1
  83. package/dist/assets/{iframe-CXArE-p3.js → iframe-COqXiy5h.js} +1 -1
  84. package/dist/assets/{index-Bp7mvilU.js → index-AKJaR9ia.js} +3 -3
  85. package/dist/assets/{index-BAD_PbXC.js → index-BCCq9_Ig.js} +1 -1
  86. package/dist/assets/{index-BuJmui28.js → index-BRZA9I2v.js} +1 -1
  87. package/dist/assets/{index-CUkdI1pe.js → index-BT5FnniW.js} +1 -1
  88. package/dist/assets/{index-GKAzM3DT.js → index-BTsP4qi4.js} +3 -3
  89. package/dist/assets/{index-CWjN4LiN.js → index-BViVYSQ1.js} +1 -1
  90. package/dist/assets/{index-C-fIhqkw.js → index-BeplF-8F.js} +1 -1
  91. package/dist/assets/{index-DggnUIPU.js → index-Bggpk5vn.js} +1 -1
  92. package/dist/assets/{index-D7Zgzqvf.js → index-ByQRo8Xy.js} +91 -91
  93. package/dist/assets/{index-Cm3In7gq.js → index-CGGlwLvN.js} +1 -1
  94. package/dist/assets/{index-CTdXiNOv.js → index-CIQ9hzkz.js} +1 -1
  95. package/dist/assets/{index-mXQkzZb3.js → index-CJsfi4dA.js} +1 -1
  96. package/dist/assets/{index-CLtaH2gg.js → index-CPnYs_Ln.js} +1 -1
  97. package/dist/assets/{index-D_whreeH.js → index-CWJA5SaB.js} +1 -1
  98. package/dist/assets/{index-bAWouySA.js → index-Cmhf1ahn.js} +1 -1
  99. package/dist/assets/{index-Cq1CD61h.js → index-Ctp5CUSN.js} +1 -1
  100. package/dist/assets/{index-BTEQOjBJ.js → index-CuZN5rgD.js} +1 -1
  101. package/dist/assets/{index-Blx3r6CN.js → index-DCy8FR-g.js} +1 -1
  102. package/dist/assets/{index-B-WPMcoJ.js → index-DLbZ_JZr.js} +1 -1
  103. package/dist/assets/{index-tLeFqZsA.js → index-DN1AldP1.js} +1 -1
  104. package/dist/assets/{index-Ces4UQCA.js → index-DRKjEemf.js} +1 -1
  105. package/dist/assets/{index-BfDq96FI.js → index-DfGed4IO.js} +1 -1
  106. package/dist/assets/{index-4rAg96KI.js → index-DhBpZKlv.js} +1 -1
  107. package/dist/assets/{index-Qzwy9UR4.js → index-Dmhy_Ear.js} +1 -1
  108. package/dist/assets/{index-DAioXRVj.js → index-Dnjq7L3Z.js} +1 -1
  109. package/dist/assets/{index-BYtTCf9C.js → index-Do5sTIF0.js} +1 -1
  110. package/dist/assets/{index-83FnRuku.js → index-RP6u2JcN.js} +1 -1
  111. package/dist/assets/{index-DaSSOJBL.js → index-_QTdMI-0.js} +1 -1
  112. package/dist/assets/{index-Dh4etxTn.js → index-nVrcEkAx.js} +1 -1
  113. package/dist/assets/{index-oMSGvgwl.js → index-pDpS4wtg.js} +1 -1
  114. package/dist/assets/{index.es-CPxtfyru.js → index.es-D8GMZhbX.js} +1 -1
  115. package/dist/assets/{index.esm-ZMDv8A4I.js → index.esm-CPLyPsEX.js} +1 -1
  116. package/dist/assets/{info-outline-rounded-DIO70eIt.js → info-outline-rounded-Co0YkUeY.js} +1 -1
  117. package/dist/assets/{invitation-C5O01VK5.js → invitation-D_-jPAXO.js} +1 -1
  118. package/dist/assets/{invite-DNij_86g.js → invite-iyotQadP.js} +1 -1
  119. package/dist/assets/{issue-passport-C6z7tDcB.js → issue-passport-BvKYs7bh.js} +1 -1
  120. package/dist/assets/{item-CNPSXLHC.js → item-glU9YOhe.js} +1 -1
  121. package/dist/assets/{jss-plugin-props-sort.esm-D_B1fPoj.js → jss-plugin-props-sort.esm-Cck9yaTo.js} +1 -1
  122. package/dist/assets/{launch-result-message-BZ0wi0KB.js → launch-result-message-BVtC_IiO.js} +1 -1
  123. package/dist/assets/{layout-BfZMok9K.js → layout-DKfygYsQ.js} +1 -1
  124. package/dist/assets/{list-header-CK0jcYAC.js → list-header-DqXEZJxg.js} +1 -1
  125. package/dist/assets/localization-CY8nt2G9.js +1 -0
  126. package/dist/assets/{log-DuWuHcXs.js → log-BxpRSoBS.js} +1 -1
  127. package/dist/assets/{login-DI8Wwff2.js → login-CZkpmrO2.js} +1 -1
  128. package/dist/assets/{login-oauth-callback-CXzKIOm0.js → login-oauth-callback-Cyh1oNk-.js} +1 -1
  129. package/dist/assets/{logo-uploader-BNamLax1.js → logo-uploader-Qe4fSMre.js} +3 -3
  130. package/dist/assets/{lost-passport-DSIZrkJO.js → lost-passport-PftHNz1-.js} +3 -3
  131. package/dist/assets/{lottie-zaaVihgx.js → lottie-AQzixJ8T.js} +1 -1
  132. package/dist/assets/{notifications-Dg86xPuo.js → notifications-CuLpCibe.js} +1 -1
  133. package/dist/assets/{overview-6iAwatID.js → overview-D-s5mNXr.js} +1 -1
  134. package/dist/assets/{page-header-C80tv5gv.js → page-header-H2fMhHk4.js} +1 -1
  135. package/dist/assets/{permission-CwsymMzr.js → permission-CZsnNTVZ.js} +1 -1
  136. package/dist/assets/{preferences-CE2p5muU.js → preferences-BlS-FVDW.js} +1 -1
  137. package/dist/assets/publish-resource-C2QIe-xk.js +1 -0
  138. package/dist/assets/{react-BVnMg-4k.js → react-iADoo1z8.js} +3 -3
  139. package/dist/assets/{redux-DqAY_QOQ.js → redux-ChkYhsNh.js} +1 -1
  140. package/dist/assets/{selector-Cyb8gMBQ.js → selector-CqvONJVH.js} +1 -1
  141. package/dist/assets/session-D1eiA1_r.js +1 -0
  142. package/dist/assets/{setup-DdbZaLgV.js → setup-BvEzJzmk.js} +3 -3
  143. package/dist/assets/{slicedToArray-Df4uvnnj.js → slicedToArray-Bc7bSR7A.js} +1 -1
  144. package/dist/assets/{spaces-Bdh3jJdm.js → spaces-9alAi49r.js} +1 -1
  145. package/dist/assets/{start-DWG3ORow.js → start-D02qA9U-.js} +1 -1
  146. package/dist/assets/{step-actions-DcOL80xy.js → step-actions-Do8z_g9W.js} +1 -1
  147. package/dist/assets/{studio-NgfBHuK0.js → studio-z9437wlc.js} +1 -1
  148. package/dist/assets/{switch-control-CMSy5ysA.js → switch-control-C87yjmRR.js} +1 -1
  149. package/dist/assets/{toUpper-uYYku7-8.js → toUpper-B0fLjeHy.js} +1 -1
  150. package/dist/assets/{transfer-Bo6v4P9V.js → transfer-DdS4kBmB.js} +1 -1
  151. package/dist/assets/{uniqBy-CS9b37H3.js → uniqBy-B_wbSsCI.js} +1 -1
  152. package/dist/assets/{unsubscribe-cJBGTetK.js → unsubscribe-B_fGdHJO.js} +1 -1
  153. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-BThBufdw.js → use-blocklet-info-for-connect-did-spaces-BoWcj6lQ.js} +1 -1
  154. package/dist/assets/{useAsync-7vT1eoLv.js → useAsync-vQc8FFGm.js} +1 -1
  155. package/dist/assets/{useFormControl-B7_hyGpw.js → useFormControl-BVamiUiv.js} +1 -1
  156. package/dist/assets/{useLocalStorage-CqyHbzgs.js → useLocalStorage-BupvKFw0.js} +1 -1
  157. package/dist/assets/{useSetState-DaSq8jCq.js → useSetState-B4GQTE_e.js} +1 -1
  158. package/dist/assets/{useSlot-BVvp7wxX.js → useSlot-BO5miOj3.js} +1 -1
  159. package/dist/assets/{user-center-DI2qpN6B.js → user-center-C0G3ba3x.js} +1 -1
  160. package/dist/assets/{user-sessions-DJhM3XoF.js → user-sessions-CV5jkPWE.js} +1 -1
  161. package/dist/assets/{util-D1je62vQ.js → util-Cn17RU6M.js} +1 -1
  162. package/dist/assets/{wrap-locale-C6Acf-wc.js → wrap-locale-CIiBTX7X.js} +1 -1
  163. package/dist/index.html +1 -1
  164. package/dist/service-worker.js +1 -1
  165. package/package.json +24 -24
  166. package/dist/assets/add-resource-Cw46bBXt.js +0 -1
  167. package/dist/assets/api-BQLv83kT.js +0 -1
  168. package/dist/assets/localization-BF-YiFFv.js +0 -1
  169. package/dist/assets/publish-resource-D-03E9HF.js +0 -1
  170. package/dist/assets/session-CB6J79G5.js +0 -1
@@ -1,4 +1,4 @@
1
- import{c0 as e,P as o,r as u,j as p,c1 as h,c2 as x,bm as b,T as w}from"./index-D7Zgzqvf.js";const c={error:{color:e.common.white,backgroundColor:e.error.main},warning:{color:e.common.white,backgroundColor:e.warning.main},success:{color:e.common.white,backgroundColor:e.success.main},primary:{color:e.common.white,backgroundColor:e.primary.main},reverse:{color:"#fff",backgroundColor:"#222"}};function s(n){const t=x(n,s,["style"]),{type:r,content:l,children:m,style:y,className:g,forwardedRef:d,...f}=t,{palette:a}=b(),i=Object.assign({},c[r]||c.primary,y);return a[r]&&Object.assign(i,{color:a[r].contrastText||e.common.white,backgroundColor:a[r].main}),p.jsx(j,{ref:d,component:"span",className:g,style:i,...f,children:l||m})}s.propTypes={children:o.any.isRequired,type:o.oneOf(Object.keys(c)),content:o.string,className:o.string,style:o.oneOfType([o.object,o.string])};s.defaultProps={type:"primary",content:"",className:"",style:{}};const T=u.forwardRef((n,t)=>p.jsx(s,{...n,forwardedRef:t})),C=T,j=h(w)`
1
+ import{c0 as e,P as o,r as u,j as p,c1 as h,c2 as x,bm as b,T as w}from"./index-ByQRo8Xy.js";const c={error:{color:e.common.white,backgroundColor:e.error.main},warning:{color:e.common.white,backgroundColor:e.warning.main},success:{color:e.common.white,backgroundColor:e.success.main},primary:{color:e.common.white,backgroundColor:e.primary.main},reverse:{color:"#fff",backgroundColor:"#222"}};function s(n){const t=x(n,s,["style"]),{type:r,content:l,children:m,style:y,className:g,forwardedRef:d,...f}=t,{palette:a}=b(),i=Object.assign({},c[r]||c.primary,y);return a[r]&&Object.assign(i,{color:a[r].contrastText||e.common.white,backgroundColor:a[r].main}),p.jsx(j,{ref:d,component:"span",className:g,style:i,...f,children:l||m})}s.propTypes={children:o.any.isRequired,type:o.oneOf(Object.keys(c)),content:o.string,className:o.string,style:o.oneOfType([o.object,o.string])};s.defaultProps={type:"primary",content:"",className:"",style:{}};const T=u.forwardRef((n,t)=>p.jsx(s,{...n,forwardedRef:t})),C=T,j=h(w)`
2
2
  && {
3
3
  display: inline-flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{W as Fe,X as $e,j as t,P as K,Y as be,bp as la,r as F,ey as ua,B as h,da as In,bi as Qn,ay as Ce,S as pt,u as me,aL as ue,a0 as re,o as X,aY as fe,x as ye,fT as da,aM as fa,F as es,bO as ga,T as Bt,fU as pa,aa as ma,ap as Ye,a8 as ae,bo as ha,$ as _e,fH as ba,cp as De,aX as Ft,aR as He,fV as _a,fW as Ea,b8 as Ze,h as M,M as Ue,bA as pe,f2 as xa,bU as Re,f as Pe,aS as ts,bm as Ve,a6 as Qt,fX as ya,fY as Sa,fZ as va,f_ as Na,a as Ln,fh as Aa,b as ve,K as st,bB as ke,bS as Ca,bT as Ta,bR as Ra,b0 as Oa,b1 as wa,f$ as Ia,fr as La,b7 as ja,c as $t,g0 as Ut,dp as Ma,ci as ns,c1 as Da,c0 as Ae,cq as ka,g1 as ss,w as Pa}from"./index-D7Zgzqvf.js";import{I as Ba}from"./iframe-CXArE-p3.js";import{I as Fa,F as Kt,d as $a,L as Ua,a as Ka}from"./Edit-kupjPg0A.js";import{B as as,d as rs}from"./ChevronRight-BADwthFI.js";import{d as is}from"./ExpandMore-D71_DIhI.js";import{T as en}from"./index-Qzwy9UR4.js";import{u as tn,b as za,c as Ha,e as Ga}from"./dashboard-DjotZE1P.js";import{d as Wa}from"./Loop-BWcZT09b.js";import{d as qa}from"./Done-DqUiEqH9.js";import{F as Ya,R as Za,L as vt}from"./logo-uploader-BNamLax1.js";import{a as jn,A as Va,u as Ke,C as ne}from"./index.esm-ZMDv8A4I.js";import{T as se,F as Xa}from"./TextField-BmvBrtDY.js";import{e as Ja}from"./mode-B2dWMeTO.js";import{w as os,P as Qa}from"./permission-CwsymMzr.js";import{C as cs}from"./confirm-DPRcEpGW.js";import{f as nn,D as er,A as tr}from"./index-oMSGvgwl.js";import{_ as nr}from"./useSetState-DaSq8jCq.js";import{u as sr}from"./session-CB6J79G5.js";import{C as ar}from"./click-to-copy-DnccfQFL.js";import{F as Oe,C as ls,S as rr}from"./FormControlLabel-_DnQwUBx.js";import{a as ut}from"./index-DAioXRVj.js";import{E as sn}from"./index-BTEQOjBJ.js";import{F as oe}from"./FormControl-C0JDbWmb.js";import{d as ir}from"./Launch-BKE3puNE.js";import{d as or}from"./EditIcon-Bcr3Znu6.js";import{A as zt}from"./config-DCY6VfoC.js";import{a as cr}from"./ListItemText-CocITKxT.js";import{u as lr,a as ur,D as dr,H as fr}from"./index-Ces4UQCA.js";import{S as mt}from"./switch-control-CMSy5ysA.js";import{S as gr}from"./Slider-CdKeUdKF.js";import{D as pr}from"./index-Dh4etxTn.js";import{I as mr}from"./index-DggnUIPU.js";import"./index-BuJmui28.js";import{i as us}from"./index-C-fIhqkw.js";import{G as Nt}from"./Grid-C2hHVV3P.js";import"./ArrowDropDown-YFFRu0vB.js";import"./ButtonGroup-0AYfC2uX.js";import"./Avatar-DHCjhYxv.js";import"./useSlot-BVvp7wxX.js";import"./useLocalStorage-CqyHbzgs.js";import"./MoreVert-8tv87Xfn.js";import"./Delete-DtWTmSqa.js";import"./PlayArrow-CJPTKnq_.js";import"./Alert-BygHZzhE.js";import"./RadioGroup-BHeNOU3p.js";import"./FormGroup-DH3_9KKM.js";import"./useFormControl-B7_hyGpw.js";import"./index-Cm3In7gq.js";import"./spaces-Bdh3jJdm.js";import"./index-D-XBJ_hS.js";import"./api-BQLv83kT.js";import"./Link-plM74wGq.js";import"./fallback-BBXjqdDF.js";import"./index-tLeFqZsA.js";import"./Toolbar-B0HE6nXl.js";import"./Hidden-pz9c1-mN.js";import"./MoreHoriz-DSt0ckiN.js";import"./index-CLtaH2gg.js";import"./selector-Cyb8gMBQ.js";import"./index-BYtTCf9C.js";import"./Select-02ImOZY8.js";import"./InputLabel-BozZQaWO.js";import"./useAsync-7vT1eoLv.js";import"./redux-DqAY_QOQ.js";import"./FilterList-BmIinI7r.js";import"./TableRow-CZUgHLQV.js";import"./LastPage-CvO902hR.js";import"./Search-BCAeGz_m.js";var an={},hr=$e;Object.defineProperty(an,"__esModule",{value:!0});var ds=an.default=void 0,br=hr(Fe()),_r=t;ds=an.default=(0,br.default)((0,_r.jsx)("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"}),"TuneRounded");var rn={},Er=$e;Object.defineProperty(rn,"__esModule",{value:!0});var fs=rn.default=void 0,xr=Er(Fe()),yr=t;fs=rn.default=(0,xr.default)((0,yr.jsx)("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"}),"Key");var on={},Sr=$e;Object.defineProperty(on,"__esModule",{value:!0});var gs=on.default=void 0,vr=Sr(Fe()),Nr=t;gs=on.default=(0,vr.default)((0,Nr.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login");var cn={},Ar=$e;Object.defineProperty(cn,"__esModule",{value:!0});var ps=cn.default=void 0,Cr=Ar(Fe()),Tr=t;ps=cn.default=(0,Cr.default)((0,Tr.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"}),"NotificationsNone");function ln({label:e,disabled:n,required:s,initialValue:a,onChange:d,style:c,onSubmit:i,triggers:r,options:o,formatterBeforeSubmit:l,helperText:u,placeholder:E,renderImage:b,renderLabel:m,filterKeys:S,noEmpty:N,...C}){const[w,f]=F.useState(!1),[g,y]=F.useState(!1),[p,A]=ua.useState(""),[I,B]=F.useState(a),[R,x]=F.useState(I),k=F.useMemo(()=>{if(!o)return{};const $={};return o.forEach(_=>{$[_.code]=_}),$},[o]),T=()=>{if(!o)return[];if(!p)return o.map(_=>_.code);const $=new RegExp(p.toLowerCase());return o.filter(_=>{var v;for(let D=0;D<S.length;D++){const z=S[D];if($.test((v=_[z])==null?void 0:v.toLowerCase()))return!0}return!1}).map(_=>_.code)},L=async()=>{y(!0);try{await i(typeof l=="function"?l(R):R)===!1?x(I):N&&!R.length?(x(a),B(a)):(x(R),B(R))}catch{x(I)}finally{y(!1),f(!1)}},U=($,_)=>{if(!Array.isArray(_)){x([]),d([]);return}const v=_.filter(D=>k[D]);if(!v.length){x([]),d([]);return}x(v),d(v)},q=w?t.jsx(Va,{options:o,value:R,onChange:U,inputValue:p,onInputChange:($,_)=>{A(_)},PopperComponent:Or,fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:T,getOptionLabel:$=>{var _;return(_=k[$])==null?void 0:_.name},renderInput:$=>t.jsx(se,{...$,label:"",placeholder:E}),renderOption:($,_)=>{var D;const v=R.indexOf(_)!==-1;return F.createElement(Rr,{component:"li",...$,key:_},b(k[_]||{}),t.jsx(h,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:v?"700":"normal"},children:m(_,k[_])||((D=k[_])==null?void 0:D.name)}),t.jsx(h,{component:In,sx:{opacity:.5,width:18,height:18},style:{visibility:v?"visible":"hidden"}}))},...C}):t.jsx(h,{px:1,className:"form-item-input slot",style:{whiteSpace:"pre-wrap"},children:R.filter($=>o.some(_=>_.code===$)).map($=>t.jsx(Qn,{label:o.find(_=>_.code===$).name,style:{marginRight:8},size:"small"},$))});return t.jsx(Ya,{className:"form",style:c,children:t.jsxs(h,{className:"form-item",children:[t.jsxs(h,{className:"form-item-label",children:[e,s&&t.jsx(Za,{})]}),t.jsxs(h,{className:"form-item-body",children:[t.jsx(h,{className:"form-item-input",children:q}),t.jsx(h,{className:"form-item-action",children:w?t.jsxs(t.Fragment,{children:[t.jsx(Ce,{"data-cy":"schema-form-item-confirm",onClick:L,disabled:n||g,size:"large",children:g?t.jsx(pt,{size:24}):t.jsx(qa,{})}),t.jsx(Ce,{"data-cy":"schema-form-item-cancel",onClick:()=>{x(I),f(!1)},disabled:n||g,size:"large",children:t.jsx(In,{})})]}):t.jsx(Fa,{triggers:r,onEnterEdit:()=>f(!0),disabled:n})})]}),w&&u&&t.jsx(Xa,{children:u})]})})}ln.propTypes={style:K.object,onSubmit:K.func,onChange:K.func,label:K.string,initialValue:K.string,required:K.bool,disabled:K.bool,triggers:K.array,options:K.array,helperText:K.string,formatterBeforeSubmit:K.func,placeholder:K.string,renderImage:K.func,filterKeys:K.arrayOf(K.string),noEmpty:K.bool,renderLabel:K.func};ln.defaultProps={style:{},onSubmit:()=>{},onChange:()=>{},label:"",initialValue:"",required:!1,disabled:!1,triggers:[],options:[],helperText:"",formatterBeforeSubmit:e=>e.join(","),placeholder:"",filterKeys:["name"],renderImage:()=>null,renderLabel:(e,n)=>"",noEmpty:!1};const Rr=be.div`
1
+ import{W as Fe,X as $e,j as t,P as K,Y as be,bp as la,r as F,ey as ua,B as h,da as In,bi as Qn,ay as Ce,S as pt,u as me,aL as ue,a0 as re,o as X,aY as fe,x as ye,fT as da,aM as fa,F as es,bO as ga,T as Bt,fU as pa,aa as ma,ap as Ye,a8 as ae,bo as ha,$ as _e,fH as ba,cp as De,aX as Ft,aR as He,fV as _a,fW as Ea,b8 as Ze,h as M,M as Ue,bA as pe,f2 as xa,bU as Re,f as Pe,aS as ts,bm as Ve,a6 as Qt,fX as ya,fY as Sa,fZ as va,f_ as Na,a as Ln,fh as Aa,b as ve,K as st,bB as ke,bS as Ca,bT as Ta,bR as Ra,b0 as Oa,b1 as wa,f$ as Ia,fr as La,b7 as ja,c as $t,g0 as Ut,dp as Ma,ci as ns,c1 as Da,c0 as Ae,cq as ka,g1 as ss,w as Pa}from"./index-ByQRo8Xy.js";import{I as Ba}from"./iframe-COqXiy5h.js";import{I as Fa,F as Kt,d as $a,L as Ua,a as Ka}from"./Edit-DGi8qwHM.js";import{B as as,d as rs}from"./ChevronRight-DNv1gZKn.js";import{d as is}from"./ExpandMore-BgFo69Uu.js";import{T as en}from"./index-Dmhy_Ear.js";import{u as tn,b as za,c as Ha,e as Ga}from"./dashboard-DQ4ngxOJ.js";import{d as Wa}from"./Loop-CWFhlQjS.js";import{d as qa}from"./Done-hH5-N5v0.js";import{F as Ya,R as Za,L as vt}from"./logo-uploader-Qe4fSMre.js";import{a as jn,A as Va,u as Ke,C as ne}from"./index.esm-CPLyPsEX.js";import{T as se,F as Xa}from"./TextField-CLOKo8rr.js";import{e as Ja}from"./mode-B2dWMeTO.js";import{w as os,P as Qa}from"./permission-CZsnNTVZ.js";import{C as cs}from"./confirm-B3mdFD--.js";import{f as nn,D as er,A as tr}from"./index-pDpS4wtg.js";import{_ as nr}from"./useSetState-B4GQTE_e.js";import{u as sr}from"./session-D1eiA1_r.js";import{C as ar}from"./click-to-copy-9gHOXiDu.js";import{F as Oe,C as ls,S as rr}from"./FormControlLabel-C2ynx6-R.js";import{a as ut}from"./index-Dnjq7L3Z.js";import{E as sn}from"./index-CuZN5rgD.js";import{F as oe}from"./FormControl-FOGVkAoE.js";import{d as ir}from"./Launch-H3e02OgF.js";import{d as or}from"./EditIcon-BTer7WGq.js";import{A as zt}from"./config-DMnGG-GJ.js";import{a as cr}from"./ListItemText-e5ekg1wb.js";import{u as lr,a as ur,D as dr,H as fr}from"./index-DRKjEemf.js";import{S as mt}from"./switch-control-C87yjmRR.js";import{S as gr}from"./Slider-N26z0sGm.js";import{D as pr}from"./index-nVrcEkAx.js";import{I as mr}from"./index-Bggpk5vn.js";import"./index-BRZA9I2v.js";import{i as us}from"./index-BeplF-8F.js";import{G as Nt}from"./Grid-yCxJQYxc.js";import"./ArrowDropDown-BdjbdLb6.js";import"./ButtonGroup-DPL_1wz3.js";import"./Avatar-isxOT3tA.js";import"./useSlot-BO5miOj3.js";import"./useLocalStorage-BupvKFw0.js";import"./MoreVert-BlfI-m1v.js";import"./Delete-0zNQNl-n.js";import"./PlayArrow-Nl_H1UBL.js";import"./Alert-D5YfCoUW.js";import"./RadioGroup-DeoyugEj.js";import"./FormGroup-C8bxvRCn.js";import"./useFormControl-BVamiUiv.js";import"./index-CGGlwLvN.js";import"./spaces-9alAi49r.js";import"./index-D-XBJ_hS.js";import"./api-Cf224rl9.js";import"./Link-BXzMp1xg.js";import"./fallback-BMS2ZyNw.js";import"./index-DN1AldP1.js";import"./Toolbar-CoiO3etm.js";import"./Hidden-BUue-5gv.js";import"./MoreHoriz-BUMFUhwJ.js";import"./index-CPnYs_Ln.js";import"./selector-CqvONJVH.js";import"./index-Do5sTIF0.js";import"./Select-DeWWNQVN.js";import"./InputLabel-D30LulZb.js";import"./useAsync-vQc8FFGm.js";import"./redux-ChkYhsNh.js";import"./FilterList-D37rH1lX.js";import"./TableRow-M2pFTiJl.js";import"./LastPage-Bsc_HsDo.js";import"./Search-BVORi6f0.js";var an={},hr=$e;Object.defineProperty(an,"__esModule",{value:!0});var ds=an.default=void 0,br=hr(Fe()),_r=t;ds=an.default=(0,br.default)((0,_r.jsx)("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"}),"TuneRounded");var rn={},Er=$e;Object.defineProperty(rn,"__esModule",{value:!0});var fs=rn.default=void 0,xr=Er(Fe()),yr=t;fs=rn.default=(0,xr.default)((0,yr.jsx)("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"}),"Key");var on={},Sr=$e;Object.defineProperty(on,"__esModule",{value:!0});var gs=on.default=void 0,vr=Sr(Fe()),Nr=t;gs=on.default=(0,vr.default)((0,Nr.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login");var cn={},Ar=$e;Object.defineProperty(cn,"__esModule",{value:!0});var ps=cn.default=void 0,Cr=Ar(Fe()),Tr=t;ps=cn.default=(0,Cr.default)((0,Tr.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"}),"NotificationsNone");function ln({label:e,disabled:n,required:s,initialValue:a,onChange:d,style:c,onSubmit:i,triggers:r,options:o,formatterBeforeSubmit:l,helperText:u,placeholder:E,renderImage:b,renderLabel:m,filterKeys:S,noEmpty:N,...C}){const[w,f]=F.useState(!1),[g,y]=F.useState(!1),[p,A]=ua.useState(""),[I,B]=F.useState(a),[R,x]=F.useState(I),k=F.useMemo(()=>{if(!o)return{};const $={};return o.forEach(_=>{$[_.code]=_}),$},[o]),T=()=>{if(!o)return[];if(!p)return o.map(_=>_.code);const $=new RegExp(p.toLowerCase());return o.filter(_=>{var v;for(let D=0;D<S.length;D++){const z=S[D];if($.test((v=_[z])==null?void 0:v.toLowerCase()))return!0}return!1}).map(_=>_.code)},L=async()=>{y(!0);try{await i(typeof l=="function"?l(R):R)===!1?x(I):N&&!R.length?(x(a),B(a)):(x(R),B(R))}catch{x(I)}finally{y(!1),f(!1)}},U=($,_)=>{if(!Array.isArray(_)){x([]),d([]);return}const v=_.filter(D=>k[D]);if(!v.length){x([]),d([]);return}x(v),d(v)},q=w?t.jsx(Va,{options:o,value:R,onChange:U,inputValue:p,onInputChange:($,_)=>{A(_)},PopperComponent:Or,fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:T,getOptionLabel:$=>{var _;return(_=k[$])==null?void 0:_.name},renderInput:$=>t.jsx(se,{...$,label:"",placeholder:E}),renderOption:($,_)=>{var D;const v=R.indexOf(_)!==-1;return F.createElement(Rr,{component:"li",...$,key:_},b(k[_]||{}),t.jsx(h,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:v?"700":"normal"},children:m(_,k[_])||((D=k[_])==null?void 0:D.name)}),t.jsx(h,{component:In,sx:{opacity:.5,width:18,height:18},style:{visibility:v?"visible":"hidden"}}))},...C}):t.jsx(h,{px:1,className:"form-item-input slot",style:{whiteSpace:"pre-wrap"},children:R.filter($=>o.some(_=>_.code===$)).map($=>t.jsx(Qn,{label:o.find(_=>_.code===$).name,style:{marginRight:8},size:"small"},$))});return t.jsx(Ya,{className:"form",style:c,children:t.jsxs(h,{className:"form-item",children:[t.jsxs(h,{className:"form-item-label",children:[e,s&&t.jsx(Za,{})]}),t.jsxs(h,{className:"form-item-body",children:[t.jsx(h,{className:"form-item-input",children:q}),t.jsx(h,{className:"form-item-action",children:w?t.jsxs(t.Fragment,{children:[t.jsx(Ce,{"data-cy":"schema-form-item-confirm",onClick:L,disabled:n||g,size:"large",children:g?t.jsx(pt,{size:24}):t.jsx(qa,{})}),t.jsx(Ce,{"data-cy":"schema-form-item-cancel",onClick:()=>{x(I),f(!1)},disabled:n||g,size:"large",children:t.jsx(In,{})})]}):t.jsx(Fa,{triggers:r,onEnterEdit:()=>f(!0),disabled:n})})]}),w&&u&&t.jsx(Xa,{children:u})]})})}ln.propTypes={style:K.object,onSubmit:K.func,onChange:K.func,label:K.string,initialValue:K.string,required:K.bool,disabled:K.bool,triggers:K.array,options:K.array,helperText:K.string,formatterBeforeSubmit:K.func,placeholder:K.string,renderImage:K.func,filterKeys:K.arrayOf(K.string),noEmpty:K.bool,renderLabel:K.func};ln.defaultProps={style:{},onSubmit:()=>{},onChange:()=>{},label:"",initialValue:"",required:!1,disabled:!1,triggers:[],options:[],helperText:"",formatterBeforeSubmit:e=>e.join(","),placeholder:"",filterKeys:["name"],renderImage:()=>null,renderLabel:(e,n)=>"",noEmpty:!1};const Rr=be.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -1,2 +1,2 @@
1
- import{b8 as G}from"./index-D7Zgzqvf.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{b8 as G}from"./index-ByQRo8Xy.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};
@@ -1,4 +1,4 @@
1
- var bt=Object.defineProperty;var yt=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var D=(e,t,n)=>(yt(e,typeof t!="symbol"?t+"":t,n),n);import{aC as xt,cD as wt,cV as vt,aF as G,cg as V,r as A,aJ as It,aE as Ct,aK as ve,cy as St,cd as Tt,j as m,aH as Ie,aI as At,P as f,M as jt,h as Pt,ay as kt,bB as Ce,bp as Lt,bq as Mt,dd as Ot,ae as Rt,K as j,bn as Et,B as _t,bI as Nt,T as qt,de as Ft,df as $t,a0 as Bt,dg as zt,bO as De,u as Ve,az as Ht,_ as Dt,v as Vt}from"./index-D7Zgzqvf.js";import{D as Ut}from"./index-tLeFqZsA.js";import{l as R,g as Qt,L as Wt}from"./MoreVert-8tv87Xfn.js";import{L as Gt}from"./selector-Cyb8gMBQ.js";const Zt=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Jt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Xt=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:s,divider:i,selected:a}=e,l=At({root:["root",r&&"dense",!s&&"gutters",i&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},Qt,n);return G({},n,l)},Yt=xt(wt,{shouldForwardProp:e=>vt(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Jt})(({theme:e,ownerState:t})=>G({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${R.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:V(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${R.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:V(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${R.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:V(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:V(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${R.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${R.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Kt=A.forwardRef(function(t,n){const r=It({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:s=!1,component:i="div",children:a,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:g}=r,b=Ct(r,Zt),x=A.useContext(ve),I=A.useMemo(()=>({dense:c||x.dense||!1,alignItems:o,disableGutters:l}),[o,x.dense,c,l]),T=A.useRef(null);St(()=>{s&&T.current&&T.current.focus()},[s]);const w=G({},r,{alignItems:o,dense:I.dense,disableGutters:l,divider:u,selected:p}),y=Xt(w),O=Tt(T,n);return m.jsx(ve.Provider,{value:I,children:m.jsx(Yt,G({ref:O,href:b.href||b.to,component:(b.href||b.to)&&i==="div"?"button":i,focusVisibleClassName:Ie(y.focusVisible,d),ownerState:w,className:Ie(y.root,g)},b,{classes:y,children:a}))})}),en=Kt;/**
1
+ var bt=Object.defineProperty;var yt=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var D=(e,t,n)=>(yt(e,typeof t!="symbol"?t+"":t,n),n);import{aC as xt,cD as wt,cV as vt,aF as G,cg as V,r as A,aJ as It,aE as Ct,aK as ve,cy as St,cd as Tt,j as m,aH as Ie,aI as At,P as f,M as jt,h as Pt,ay as kt,bB as Ce,bp as Lt,bq as Mt,dd as Ot,ae as Rt,K as j,bn as Et,B as _t,bI as Nt,T as qt,de as Ft,df as $t,a0 as Bt,dg as zt,bO as De,u as Ve,az as Ht,_ as Dt,v as Vt}from"./index-ByQRo8Xy.js";import{D as Ut}from"./index-DN1AldP1.js";import{l as R,g as Qt,L as Wt}from"./MoreVert-BlfI-m1v.js";import{L as Gt}from"./selector-CqvONJVH.js";const Zt=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Jt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Xt=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:s,divider:i,selected:a}=e,l=At({root:["root",r&&"dense",!s&&"gutters",i&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},Qt,n);return G({},n,l)},Yt=xt(wt,{shouldForwardProp:e=>vt(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Jt})(({theme:e,ownerState:t})=>G({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${R.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:V(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${R.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:V(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${R.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:V(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:V(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${R.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${R.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Kt=A.forwardRef(function(t,n){const r=It({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:s=!1,component:i="div",children:a,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:g}=r,b=Ct(r,Zt),x=A.useContext(ve),I=A.useMemo(()=>({dense:c||x.dense||!1,alignItems:o,disableGutters:l}),[o,x.dense,c,l]),T=A.useRef(null);St(()=>{s&&T.current&&T.current.focus()},[s]);const w=G({},r,{alignItems:o,dense:I.dense,disableGutters:l,divider:u,selected:p}),y=Xt(w),O=Tt(T,n);return m.jsx(ve.Provider,{value:I,children:m.jsx(Yt,G({ref:O,href:b.href||b.to,component:(b.href||b.to)&&i==="div"?"button":i,focusVisibleClassName:Ie(y.focusVisible,d),ownerState:w,className:Ie(y.root,g)},b,{classes:y,children:a}))})}),en=Kt;/**
2
2
  * (c) Iconify
3
3
  *
4
4
  * For the full copyright and license information, please view the license.txt
@@ -1,4 +1,4 @@
1
- import{r as y,j as t,fK as Zt,h as Ee,fL as Jt,aL as q,u as K,T as te,aS as Ne,fM as _e,aa as ce,ap as X,a0 as B,S as ne,P as b,Y as z,bO as er,cp as Te,F as tr,eG as rr,da as nr,$ as le,B as A,bo as G,o as se,fN as sr,a8 as Y,dm as or,aY as wt,x as M,a as fe,c as ct,M as ir,fO as Ct,bG as Pt,aV as ar,W as cr,X as lr,bN as Rt,Z as dr,i as mr,ay as ur,A as pr,dp as fr}from"./index-D7Zgzqvf.js";import{c as gr}from"./index-BYtTCf9C.js";import{d as ge}from"./Add-DIA77Wk3.js";import{d as hr}from"./Loop-BWcZT09b.js";import{d as xr}from"./ViewList-DBSseQJ3.js";import{L as br,S as vr,d as Ot}from"./list-header-CK0jcYAC.js";import{D as It,g as yr}from"./index-Dh4etxTn.js";import"./index-BAD_PbXC.js";import"./index-CLtaH2gg.js";import{g as Dt}from"./info-outline-rounded-DIO70eIt.js";import{T as jr}from"./index-Qzwy9UR4.js";import{E as Tt}from"./index-BTEQOjBJ.js";import"./fallback-BBXjqdDF.js";import"./index-DAioXRVj.js";import{U as Sr}from"./user-sessions-DJhM3XoF.js";import{u as Q,d as lt,W as At,a as wr}from"./dashboard-DjotZE1P.js";import{W as Le}from"./did-address-DMmr-ulK.js";import{P as V}from"./permission-CwsymMzr.js";import{D as Fe,A as re,f as Z}from"./index-oMSGvgwl.js";import{C as be}from"./click-to-copy-DnccfQFL.js";import{F as kt}from"./FormControl-C0JDbWmb.js";import{I as Et}from"./InputLabel-BozZQaWO.js";import{S as Nt}from"./Select-02ImOZY8.js";import{T as _t}from"./TextField-BmvBrtDY.js";import{_ as Cr}from"./useAsync-7vT1eoLv.js";import{I as Ae}from"./index-DggnUIPU.js";import{C as ve}from"./confirm-DPRcEpGW.js";import{u as Lt}from"./session-CB6J79G5.js";import{A as Pr}from"./Avatar-DHCjhYxv.js";import{d as Rr}from"./Delete-DtWTmSqa.js";import{A as Or}from"./actions-p1-LcZUp.js";import{L as Ir,a as Dr}from"./ListItemText-CocITKxT.js";import{F as Tr,C as Ar}from"./FormControlLabel-_DnQwUBx.js";import"./Search-BCAeGz_m.js";import"./FilterList-BmIinI7r.js";import"./TableRow-CZUgHLQV.js";import"./Grid-C2hHVV3P.js";import"./useFormControl-B7_hyGpw.js";import"./FormGroup-DH3_9KKM.js";import"./LastPage-CvO902hR.js";import"./Toolbar-B0HE6nXl.js";import"./index-Ces4UQCA.js";import"./redux-DqAY_QOQ.js";import"./MoreVert-8tv87Xfn.js";import"./index-tLeFqZsA.js";import"./Hidden-pz9c1-mN.js";import"./MoreHoriz-DSt0ckiN.js";import"./ExpandMore-D71_DIhI.js";import"./selector-Cyb8gMBQ.js";import"./index-D-XBJ_hS.js";import"./OpenInNew-DZdhFZlL.js";import"./CloseOutlined-xexRtaWG.js";import"./useSlot-BVvp7wxX.js";import"./useLocalStorage-CqyHbzgs.js";import"./PlayArrow-CJPTKnq_.js";import"./Alert-BygHZzhE.js";import"./ButtonGroup-0AYfC2uX.js";import"./RadioGroup-BHeNOU3p.js";import"./index-Cm3In7gq.js";import"./spaces-Bdh3jJdm.js";import"./index-C-fIhqkw.js";import"./api-BQLv83kT.js";import"./Link-plM74wGq.js";import"./useSetState-DaSq8jCq.js";var Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});var Ft=Ue.default=void 0;kr(y);var ee=t;function kr(e){return e&&e.__esModule?e:{default:e}}function dt(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(g){return Object.getOwnPropertyDescriptor(e,g).enumerable})),s.push.apply(s,i)}return s}function mt(e){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?dt(Object(s),!0).forEach(function(i){Er(e,i,s[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):dt(Object(s)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(s,i))})}return e}function Er(e,r,s){return r=Nr(r),r in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s,e}function Nr(e){var r=_r(e,"string");return typeof r=="symbol"?r:String(r)}function _r(e,r){if(typeof e!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var i=s.call(e,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}var $e=function(r){return(0,ee.jsxs)("svg",mt(mt({},r),{},{children:[(0,ee.jsx)("g",{clipPath:"url(#clip0)",children:(0,ee.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,ee.jsx)("defs",{children:(0,ee.jsx)("clipPath",{id:"clip0",children:(0,ee.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};$e.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};$e.displayName="person";Ft=Ue.default=$e;var pe={},Lr=e=>encodeURIComponent(e).replace(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`),Ut="%[a-f0-9]{2}",ut=new RegExp("("+Ut+")|([^%]+?)","gi"),pt=new RegExp("("+Ut+")+","gi");function ke(e,r){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;r=r||1;var s=e.slice(0,r),i=e.slice(r);return Array.prototype.concat.call([],ke(s),ke(i))}function Fr(e){try{return decodeURIComponent(e)}catch{for(var r=e.match(ut)||[],s=1;s<r.length;s++)e=ke(r,s).join(""),r=e.match(ut)||[];return e}}function Ur(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},s=pt.exec(e);s;){try{r[s[0]]=decodeURIComponent(s[0])}catch{var i=Fr(s[0]);i!==s[0]&&(r[s[0]]=i)}s=pt.exec(e)}r["%C2"]="�";for(var g=Object.keys(r),C=0;C<g.length;C++){var R=g[C];e=e.replace(new RegExp(R,"g"),r[R])}return e}var $r=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 Ur(e)}},Br=(e,r)=>{if(!(typeof e=="string"&&typeof r=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(r==="")return[e];const s=e.indexOf(r);return s===-1?[e]:[e.slice(0,s),e.slice(s+r.length)]},Mr=function(e,r){for(var s={},i=Object.keys(e),g=Array.isArray(r),C=0;C<i.length;C++){var R=i[C],P=e[R];(g?r.indexOf(R)!==-1:r(R,P,e))&&(s[R]=P)}return s};(function(e){const r=Lr,s=$r,i=Br,g=Mr,C=n=>n==null;function R(n){switch(n.arrayFormat){case"index":return o=>(a,c)=>{const l=a.length;return c===void 0||n.skipNull&&c===null||n.skipEmptyString&&c===""?a:c===null?[...a,[x(o,n),"[",l,"]"].join("")]:[...a,[x(o,n),"[",x(l,n),"]=",x(c,n)].join("")]};case"bracket":return o=>(a,c)=>c===void 0||n.skipNull&&c===null||n.skipEmptyString&&c===""?a:c===null?[...a,[x(o,n),"[]"].join("")]:[...a,[x(o,n),"[]=",x(c,n)].join("")];case"comma":case"separator":return o=>(a,c)=>c==null||c.length===0?a:a.length===0?[[x(o,n),"=",x(c,n)].join("")]:[[a,x(c,n)].join(n.arrayFormatSeparator)];default:return o=>(a,c)=>c===void 0||n.skipNull&&c===null||n.skipEmptyString&&c===""?a:c===null?[...a,x(o,n)]:[...a,[x(o,n),"=",x(c,n)].join("")]}}function P(n){let o;switch(n.arrayFormat){case"index":return(a,c,l)=>{if(o=/\[(\d*)\]$/.exec(a),a=a.replace(/\[\d*\]$/,""),!o){l[a]=c;return}l[a]===void 0&&(l[a]={}),l[a][o[1]]=c};case"bracket":return(a,c,l)=>{if(o=/(\[\])$/.exec(a),a=a.replace(/\[\]$/,""),!o){l[a]=c;return}if(l[a]===void 0){l[a]=[c];return}l[a]=[].concat(l[a],c)};case"comma":case"separator":return(a,c,l)=>{const w=typeof c=="string"&&c.includes(n.arrayFormatSeparator),u=typeof c=="string"&&!w&&d(c,n).includes(n.arrayFormatSeparator);c=u?d(c,n):c;const h=w||u?c.split(n.arrayFormatSeparator).map(E=>d(E,n)):c===null?c:d(c,n);l[a]=h};default:return(a,c,l)=>{if(l[a]===void 0){l[a]=c;return}l[a]=[].concat(l[a],c)}}}function f(n){if(typeof n!="string"||n.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function x(n,o){return o.encode?o.strict?r(n):encodeURIComponent(n):n}function d(n,o){return o.decode?s(n):n}function S(n){return Array.isArray(n)?n.sort():typeof n=="object"?S(Object.keys(n)).sort((o,a)=>Number(o)-Number(a)).map(o=>n[o]):n}function m(n){const o=n.indexOf("#");return o!==-1&&(n=n.slice(0,o)),n}function j(n){let o="";const a=n.indexOf("#");return a!==-1&&(o=n.slice(a)),o}function O(n){n=m(n);const o=n.indexOf("?");return o===-1?"":n.slice(o+1)}function I(n,o){return o.parseNumbers&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?n=Number(n):o.parseBooleans&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")&&(n=n.toLowerCase()==="true"),n}function p(n,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),f(o.arrayFormatSeparator);const a=P(o),c=Object.create(null);if(typeof n!="string"||(n=n.trim().replace(/^[?#&]/,""),!n))return c;for(const l of n.split("&")){if(l==="")continue;let[w,u]=i(o.decode?l.replace(/\+/g," "):l,"=");u=u===void 0?null:["comma","separator"].includes(o.arrayFormat)?u:d(u,o),a(d(w,o),u,c)}for(const l of Object.keys(c)){const w=c[l];if(typeof w=="object"&&w!==null)for(const u of Object.keys(w))w[u]=I(w[u],o);else c[l]=I(w,o)}return o.sort===!1?c:(o.sort===!0?Object.keys(c).sort():Object.keys(c).sort(o.sort)).reduce((l,w)=>{const u=c[w];return u&&typeof u=="object"&&!Array.isArray(u)?l[w]=S(u):l[w]=u,l},Object.create(null))}e.extract=O,e.parse=p,e.stringify=(n,o)=>{if(!n)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),f(o.arrayFormatSeparator);const a=u=>o.skipNull&&C(n[u])||o.skipEmptyString&&n[u]==="",c=R(o),l={};for(const u of Object.keys(n))a(u)||(l[u]=n[u]);const w=Object.keys(l);return o.sort!==!1&&w.sort(o.sort),w.map(u=>{const h=n[u];return h===void 0?"":h===null?x(u,o):Array.isArray(h)?h.reduce(c(u),[]).join("&"):x(u,o)+"="+x(h,o)}).filter(u=>u.length>0).join("&")},e.parseUrl=(n,o)=>{o=Object.assign({decode:!0},o);const[a,c]=i(n,"#");return Object.assign({url:a.split("?")[0]||"",query:p(O(n),o)},o&&o.parseFragmentIdentifier&&c?{fragmentIdentifier:d(c,o)}:{})},e.stringifyUrl=(n,o)=>{o=Object.assign({encode:!0,strict:!0},o);const a=m(n.url).split("?")[0]||"",c=e.extract(n.url),l=e.parse(c,{sort:!1}),w=Object.assign(l,n.query);let u=e.stringify(w,o);u&&(u=`?${u}`);let h=j(n.url);return n.fragmentIdentifier&&(h=`#${x(n.fragmentIdentifier,o)}`),`${a}${u}${h}`},e.pick=(n,o,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:c,query:l,fragmentIdentifier:w}=e.parseUrl(n,a);return e.stringifyUrl({url:c,query:g(l,o),fragmentIdentifier:w},a)},e.exclude=(n,o,a)=>{const c=Array.isArray(o)?l=>!o.includes(l):(l,w)=>!o(l,w);return e.pick(n,c,a)}})(pe);const ie=Jt,zr={parseNumbers:!1,parseBooleans:!1},Wr={skipNull:!1,skipEmptyString:!1},qr=(e,r)=>{var s,i;const{navigateMode:g="push",parseOptions:C,stringifyOptions:R}=r||{},P=Object.assign(Object.assign({},zr),C),f=Object.assign(Object.assign({},Wr),R),x=ie.useLocation(),d=(s=ie.useHistory)===null||s===void 0?void 0:s.call(ie),S=(i=ie.useNavigate)===null||i===void 0?void 0:i.call(ie),m=Zt(),j=y.useRef(typeof e=="function"?e():e||{}),O=y.useMemo(()=>pe.parse(x.search,P),[x.search]),I=y.useMemo(()=>Object.assign(Object.assign({},j.current),O),[O]);return[I,Ee(n=>{const o=typeof n=="function"?n(I):n;m(),d&&d[g]({hash:x.hash,search:pe.stringify(Object.assign(Object.assign({},O),o),f)||"?"},x.state),S&&S({hash:x.hash,search:pe.stringify(Object.assign(Object.assign({},O),o),f)||"?"},{replace:g==="replace",state:x.state})})]},Hr=qr;function Be({teamDid:e,roles:r,onCancel:s,onSuccess:i,onError:g,endpoint:C}){const{api:R}=q(),[P,f]=y.useState(!1),[x,d]=y.useState(""),{t:S,locale:m}=K(),[j,O]=y.useState(0),[I,p]=y.useState(""),[n,o]=y.useState(""),[a,c]=y.useState(""),l=async()=>{if(!n){d(S("team.member.error.passportEmpty"));return}const h=a.trim();d(null),f(!0);try{const{inviteInfo:E}=await R.createMemberInvitation({input:{teamDid:e,role:n,remark:h}});p(E),O(1)}catch(E){const W=Z(E);d(W),g(E)}finally{f(!1)}},u=[{body:t.jsxs(te,{component:"div",children:[t.jsxs(kt,{style:{width:"100%"},variant:"outlined",children:[t.jsx(Et,{children:S("common.passport")}),t.jsx(Nt,{"data-cy":"invite-member-select-role",value:n,onChange:h=>{d(null),o(h.target.value)},fullWidth:!0,label:S("common.passport"),disabled:P,onKeyPress:h=>{h.key==="Enter"&&(h.preventDefault(),l())},children:r.filter(h=>h.name!=="owner").map(h=>t.jsx(Ne,{value:h.name,"data-cy":`invite-member-select-option-${h.name}`,children:t.jsx("span",{children:h.title||h.name})},h.name))})]}),t.jsx("div",{style:{marginTop:20,marginBottom:10}}),t.jsx(_t,{label:S("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:a,onChange:h=>{d(null),c(h.target.value)},disabled:P,"data-cy":"invite-member-input-remark"}),t.jsx("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:S("common.cancel"),confirm:S("team.member.inviteDialog.createInviteLink"),onCancel:s,onConfirm:l},{body:()=>{const h=_e({inviteId:I.inviteId,endpoint:C});return t.jsxs("div",{children:[t.jsx(Vr,{children:S("team.member.inviteDialog.createSuccessTip",{expireDate:ce(I.expireDate,m)})}),t.jsx("div",{style:{marginTop:"40px"}}),t.jsx(be,{children:h})]})},confirm:S("common.confirm"),onConfirm:i}][j];return t.jsxs(X,{title:S("common.invite"),fullWidth:!0,open:!0,showCloseButton:!1,actions:t.jsxs(t.Fragment,{children:[u.cancel&&t.jsx(B,{onClick:u.onCancel,color:"inherit",children:u.cancel}),t.jsxs(B,{onClick:u.onConfirm,color:"primary",disabled:P||!n,variant:"contained",autoFocus:!0,children:[P&&t.jsx(ne,{size:16}),u.confirm]})]}),children:[t.jsx(Fe,{component:"div",children:typeof u.body=="function"?u.body():u.body}),!!x&&t.jsx(re,{type:"error",variant:"icon",children:x})]})}Be.propTypes={teamDid:b.string.isRequired,onCancel:b.func.isRequired,onSuccess:b.func.isRequired,onError:b.func,roles:b.array,endpoint:b.string};Be.defaultProps={onError:()=>{},roles:[],endpoint:""};const Vr=z.div`
1
+ import{r as y,j as t,fK as Zt,h as Ee,fL as Jt,aL as q,u as K,T as te,aS as Ne,fM as _e,aa as ce,ap as X,a0 as B,S as ne,P as b,Y as z,bO as er,cp as Te,F as tr,eG as rr,da as nr,$ as le,B as A,bo as G,o as se,fN as sr,a8 as Y,dm as or,aY as wt,x as M,a as fe,c as ct,M as ir,fO as Ct,bG as Pt,aV as ar,W as cr,X as lr,bN as Rt,Z as dr,i as mr,ay as ur,A as pr,dp as fr}from"./index-ByQRo8Xy.js";import{c as gr}from"./index-Do5sTIF0.js";import{d as ge}from"./Add-DWPkhR7c.js";import{d as hr}from"./Loop-CWFhlQjS.js";import{d as xr}from"./ViewList-BrbecVug.js";import{L as br,S as vr,d as Ot}from"./list-header-DqXEZJxg.js";import{D as It,g as yr}from"./index-nVrcEkAx.js";import"./index-BCCq9_Ig.js";import"./index-CPnYs_Ln.js";import{g as Dt}from"./info-outline-rounded-Co0YkUeY.js";import{T as jr}from"./index-Dmhy_Ear.js";import{E as Tt}from"./index-CuZN5rgD.js";import"./fallback-BMS2ZyNw.js";import"./index-Dnjq7L3Z.js";import{U as Sr}from"./user-sessions-CV5jkPWE.js";import{u as Q,d as lt,W as At,a as wr}from"./dashboard-DQ4ngxOJ.js";import{W as Le}from"./did-address-D8Z_pYLU.js";import{P as V}from"./permission-CZsnNTVZ.js";import{D as Fe,A as re,f as Z}from"./index-pDpS4wtg.js";import{C as be}from"./click-to-copy-9gHOXiDu.js";import{F as kt}from"./FormControl-FOGVkAoE.js";import{I as Et}from"./InputLabel-D30LulZb.js";import{S as Nt}from"./Select-DeWWNQVN.js";import{T as _t}from"./TextField-CLOKo8rr.js";import{_ as Cr}from"./useAsync-vQc8FFGm.js";import{I as Ae}from"./index-Bggpk5vn.js";import{C as ve}from"./confirm-B3mdFD--.js";import{u as Lt}from"./session-D1eiA1_r.js";import{A as Pr}from"./Avatar-isxOT3tA.js";import{d as Rr}from"./Delete-0zNQNl-n.js";import{A as Or}from"./actions-DyCrUvyK.js";import{L as Ir,a as Dr}from"./ListItemText-e5ekg1wb.js";import{F as Tr,C as Ar}from"./FormControlLabel-C2ynx6-R.js";import"./Search-BVORi6f0.js";import"./FilterList-D37rH1lX.js";import"./TableRow-M2pFTiJl.js";import"./Grid-yCxJQYxc.js";import"./useFormControl-BVamiUiv.js";import"./FormGroup-C8bxvRCn.js";import"./LastPage-Bsc_HsDo.js";import"./Toolbar-CoiO3etm.js";import"./index-DRKjEemf.js";import"./redux-ChkYhsNh.js";import"./MoreVert-BlfI-m1v.js";import"./index-DN1AldP1.js";import"./Hidden-BUue-5gv.js";import"./MoreHoriz-BUMFUhwJ.js";import"./ExpandMore-BgFo69Uu.js";import"./selector-CqvONJVH.js";import"./index-D-XBJ_hS.js";import"./OpenInNew-DvfZ3_35.js";import"./CloseOutlined-DoNA2OX4.js";import"./useSlot-BO5miOj3.js";import"./useLocalStorage-BupvKFw0.js";import"./PlayArrow-Nl_H1UBL.js";import"./Alert-D5YfCoUW.js";import"./ButtonGroup-DPL_1wz3.js";import"./RadioGroup-DeoyugEj.js";import"./index-CGGlwLvN.js";import"./spaces-9alAi49r.js";import"./index-BeplF-8F.js";import"./api-Cf224rl9.js";import"./Link-BXzMp1xg.js";import"./useSetState-B4GQTE_e.js";var Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});var Ft=Ue.default=void 0;kr(y);var ee=t;function kr(e){return e&&e.__esModule?e:{default:e}}function dt(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(g){return Object.getOwnPropertyDescriptor(e,g).enumerable})),s.push.apply(s,i)}return s}function mt(e){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?dt(Object(s),!0).forEach(function(i){Er(e,i,s[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):dt(Object(s)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(s,i))})}return e}function Er(e,r,s){return r=Nr(r),r in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s,e}function Nr(e){var r=_r(e,"string");return typeof r=="symbol"?r:String(r)}function _r(e,r){if(typeof e!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var i=s.call(e,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}var $e=function(r){return(0,ee.jsxs)("svg",mt(mt({},r),{},{children:[(0,ee.jsx)("g",{clipPath:"url(#clip0)",children:(0,ee.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,ee.jsx)("defs",{children:(0,ee.jsx)("clipPath",{id:"clip0",children:(0,ee.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};$e.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};$e.displayName="person";Ft=Ue.default=$e;var pe={},Lr=e=>encodeURIComponent(e).replace(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`),Ut="%[a-f0-9]{2}",ut=new RegExp("("+Ut+")|([^%]+?)","gi"),pt=new RegExp("("+Ut+")+","gi");function ke(e,r){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;r=r||1;var s=e.slice(0,r),i=e.slice(r);return Array.prototype.concat.call([],ke(s),ke(i))}function Fr(e){try{return decodeURIComponent(e)}catch{for(var r=e.match(ut)||[],s=1;s<r.length;s++)e=ke(r,s).join(""),r=e.match(ut)||[];return e}}function Ur(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},s=pt.exec(e);s;){try{r[s[0]]=decodeURIComponent(s[0])}catch{var i=Fr(s[0]);i!==s[0]&&(r[s[0]]=i)}s=pt.exec(e)}r["%C2"]="�";for(var g=Object.keys(r),C=0;C<g.length;C++){var R=g[C];e=e.replace(new RegExp(R,"g"),r[R])}return e}var $r=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 Ur(e)}},Br=(e,r)=>{if(!(typeof e=="string"&&typeof r=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(r==="")return[e];const s=e.indexOf(r);return s===-1?[e]:[e.slice(0,s),e.slice(s+r.length)]},Mr=function(e,r){for(var s={},i=Object.keys(e),g=Array.isArray(r),C=0;C<i.length;C++){var R=i[C],P=e[R];(g?r.indexOf(R)!==-1:r(R,P,e))&&(s[R]=P)}return s};(function(e){const r=Lr,s=$r,i=Br,g=Mr,C=n=>n==null;function R(n){switch(n.arrayFormat){case"index":return o=>(a,c)=>{const l=a.length;return c===void 0||n.skipNull&&c===null||n.skipEmptyString&&c===""?a:c===null?[...a,[x(o,n),"[",l,"]"].join("")]:[...a,[x(o,n),"[",x(l,n),"]=",x(c,n)].join("")]};case"bracket":return o=>(a,c)=>c===void 0||n.skipNull&&c===null||n.skipEmptyString&&c===""?a:c===null?[...a,[x(o,n),"[]"].join("")]:[...a,[x(o,n),"[]=",x(c,n)].join("")];case"comma":case"separator":return o=>(a,c)=>c==null||c.length===0?a:a.length===0?[[x(o,n),"=",x(c,n)].join("")]:[[a,x(c,n)].join(n.arrayFormatSeparator)];default:return o=>(a,c)=>c===void 0||n.skipNull&&c===null||n.skipEmptyString&&c===""?a:c===null?[...a,x(o,n)]:[...a,[x(o,n),"=",x(c,n)].join("")]}}function P(n){let o;switch(n.arrayFormat){case"index":return(a,c,l)=>{if(o=/\[(\d*)\]$/.exec(a),a=a.replace(/\[\d*\]$/,""),!o){l[a]=c;return}l[a]===void 0&&(l[a]={}),l[a][o[1]]=c};case"bracket":return(a,c,l)=>{if(o=/(\[\])$/.exec(a),a=a.replace(/\[\]$/,""),!o){l[a]=c;return}if(l[a]===void 0){l[a]=[c];return}l[a]=[].concat(l[a],c)};case"comma":case"separator":return(a,c,l)=>{const w=typeof c=="string"&&c.includes(n.arrayFormatSeparator),u=typeof c=="string"&&!w&&d(c,n).includes(n.arrayFormatSeparator);c=u?d(c,n):c;const h=w||u?c.split(n.arrayFormatSeparator).map(E=>d(E,n)):c===null?c:d(c,n);l[a]=h};default:return(a,c,l)=>{if(l[a]===void 0){l[a]=c;return}l[a]=[].concat(l[a],c)}}}function f(n){if(typeof n!="string"||n.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function x(n,o){return o.encode?o.strict?r(n):encodeURIComponent(n):n}function d(n,o){return o.decode?s(n):n}function S(n){return Array.isArray(n)?n.sort():typeof n=="object"?S(Object.keys(n)).sort((o,a)=>Number(o)-Number(a)).map(o=>n[o]):n}function m(n){const o=n.indexOf("#");return o!==-1&&(n=n.slice(0,o)),n}function j(n){let o="";const a=n.indexOf("#");return a!==-1&&(o=n.slice(a)),o}function O(n){n=m(n);const o=n.indexOf("?");return o===-1?"":n.slice(o+1)}function I(n,o){return o.parseNumbers&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?n=Number(n):o.parseBooleans&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")&&(n=n.toLowerCase()==="true"),n}function p(n,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),f(o.arrayFormatSeparator);const a=P(o),c=Object.create(null);if(typeof n!="string"||(n=n.trim().replace(/^[?#&]/,""),!n))return c;for(const l of n.split("&")){if(l==="")continue;let[w,u]=i(o.decode?l.replace(/\+/g," "):l,"=");u=u===void 0?null:["comma","separator"].includes(o.arrayFormat)?u:d(u,o),a(d(w,o),u,c)}for(const l of Object.keys(c)){const w=c[l];if(typeof w=="object"&&w!==null)for(const u of Object.keys(w))w[u]=I(w[u],o);else c[l]=I(w,o)}return o.sort===!1?c:(o.sort===!0?Object.keys(c).sort():Object.keys(c).sort(o.sort)).reduce((l,w)=>{const u=c[w];return u&&typeof u=="object"&&!Array.isArray(u)?l[w]=S(u):l[w]=u,l},Object.create(null))}e.extract=O,e.parse=p,e.stringify=(n,o)=>{if(!n)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),f(o.arrayFormatSeparator);const a=u=>o.skipNull&&C(n[u])||o.skipEmptyString&&n[u]==="",c=R(o),l={};for(const u of Object.keys(n))a(u)||(l[u]=n[u]);const w=Object.keys(l);return o.sort!==!1&&w.sort(o.sort),w.map(u=>{const h=n[u];return h===void 0?"":h===null?x(u,o):Array.isArray(h)?h.reduce(c(u),[]).join("&"):x(u,o)+"="+x(h,o)}).filter(u=>u.length>0).join("&")},e.parseUrl=(n,o)=>{o=Object.assign({decode:!0},o);const[a,c]=i(n,"#");return Object.assign({url:a.split("?")[0]||"",query:p(O(n),o)},o&&o.parseFragmentIdentifier&&c?{fragmentIdentifier:d(c,o)}:{})},e.stringifyUrl=(n,o)=>{o=Object.assign({encode:!0,strict:!0},o);const a=m(n.url).split("?")[0]||"",c=e.extract(n.url),l=e.parse(c,{sort:!1}),w=Object.assign(l,n.query);let u=e.stringify(w,o);u&&(u=`?${u}`);let h=j(n.url);return n.fragmentIdentifier&&(h=`#${x(n.fragmentIdentifier,o)}`),`${a}${u}${h}`},e.pick=(n,o,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:c,query:l,fragmentIdentifier:w}=e.parseUrl(n,a);return e.stringifyUrl({url:c,query:g(l,o),fragmentIdentifier:w},a)},e.exclude=(n,o,a)=>{const c=Array.isArray(o)?l=>!o.includes(l):(l,w)=>!o(l,w);return e.pick(n,c,a)}})(pe);const ie=Jt,zr={parseNumbers:!1,parseBooleans:!1},Wr={skipNull:!1,skipEmptyString:!1},qr=(e,r)=>{var s,i;const{navigateMode:g="push",parseOptions:C,stringifyOptions:R}=r||{},P=Object.assign(Object.assign({},zr),C),f=Object.assign(Object.assign({},Wr),R),x=ie.useLocation(),d=(s=ie.useHistory)===null||s===void 0?void 0:s.call(ie),S=(i=ie.useNavigate)===null||i===void 0?void 0:i.call(ie),m=Zt(),j=y.useRef(typeof e=="function"?e():e||{}),O=y.useMemo(()=>pe.parse(x.search,P),[x.search]),I=y.useMemo(()=>Object.assign(Object.assign({},j.current),O),[O]);return[I,Ee(n=>{const o=typeof n=="function"?n(I):n;m(),d&&d[g]({hash:x.hash,search:pe.stringify(Object.assign(Object.assign({},O),o),f)||"?"},x.state),S&&S({hash:x.hash,search:pe.stringify(Object.assign(Object.assign({},O),o),f)||"?"},{replace:g==="replace",state:x.state})})]},Hr=qr;function Be({teamDid:e,roles:r,onCancel:s,onSuccess:i,onError:g,endpoint:C}){const{api:R}=q(),[P,f]=y.useState(!1),[x,d]=y.useState(""),{t:S,locale:m}=K(),[j,O]=y.useState(0),[I,p]=y.useState(""),[n,o]=y.useState(""),[a,c]=y.useState(""),l=async()=>{if(!n){d(S("team.member.error.passportEmpty"));return}const h=a.trim();d(null),f(!0);try{const{inviteInfo:E}=await R.createMemberInvitation({input:{teamDid:e,role:n,remark:h}});p(E),O(1)}catch(E){const W=Z(E);d(W),g(E)}finally{f(!1)}},u=[{body:t.jsxs(te,{component:"div",children:[t.jsxs(kt,{style:{width:"100%"},variant:"outlined",children:[t.jsx(Et,{children:S("common.passport")}),t.jsx(Nt,{"data-cy":"invite-member-select-role",value:n,onChange:h=>{d(null),o(h.target.value)},fullWidth:!0,label:S("common.passport"),disabled:P,onKeyPress:h=>{h.key==="Enter"&&(h.preventDefault(),l())},children:r.filter(h=>h.name!=="owner").map(h=>t.jsx(Ne,{value:h.name,"data-cy":`invite-member-select-option-${h.name}`,children:t.jsx("span",{children:h.title||h.name})},h.name))})]}),t.jsx("div",{style:{marginTop:20,marginBottom:10}}),t.jsx(_t,{label:S("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:a,onChange:h=>{d(null),c(h.target.value)},disabled:P,"data-cy":"invite-member-input-remark"}),t.jsx("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:S("common.cancel"),confirm:S("team.member.inviteDialog.createInviteLink"),onCancel:s,onConfirm:l},{body:()=>{const h=_e({inviteId:I.inviteId,endpoint:C});return t.jsxs("div",{children:[t.jsx(Vr,{children:S("team.member.inviteDialog.createSuccessTip",{expireDate:ce(I.expireDate,m)})}),t.jsx("div",{style:{marginTop:"40px"}}),t.jsx(be,{children:h})]})},confirm:S("common.confirm"),onConfirm:i}][j];return t.jsxs(X,{title:S("common.invite"),fullWidth:!0,open:!0,showCloseButton:!1,actions:t.jsxs(t.Fragment,{children:[u.cancel&&t.jsx(B,{onClick:u.onCancel,color:"inherit",children:u.cancel}),t.jsxs(B,{onClick:u.onConfirm,color:"primary",disabled:P||!n,variant:"contained",autoFocus:!0,children:[P&&t.jsx(ne,{size:16}),u.confirm]})]}),children:[t.jsx(Fe,{component:"div",children:typeof u.body=="function"?u.body():u.body}),!!x&&t.jsx(re,{type:"error",variant:"icon",children:x})]})}Be.propTypes={teamDid:b.string.isRequired,onCancel:b.func.isRequired,onSuccess:b.func.isRequired,onError:b.func,roles:b.array,endpoint:b.string};Be.defaultProps={onError:()=>{},roles:[],endpoint:""};const Vr=z.div`
2
2
  font-size: 16px;
3
3
  font-weight: bold;
4
4
  `;function Me({teamDid:e,onCancel:r,onSuccess:s,onError:i,endpoint:g}){const{api:C,info:R}=q(),{api:P}=y.useContext(er),[f,x]=y.useState(!1),{t:d,locale:S}=K(),[m,j]=y.useState(""),[O,I]=y.useState(!1),[p,n]=y.useState(0),[o,a]=y.useState(""),[c,l]=y.useState(""),w=!!Te(R,"ownerNft.did"),u=Cr(async()=>{if(w){const{state:F}=await C.getDelegationState();return F}return{delegated:!0}});if(u.loading)return t.jsx(X,{title:d("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:r,children:t.jsx("div",{style:{display:"flex",justifyContent:"center"},children:t.jsx(ne,{})})});if(u.error)return t.jsx(X,{title:d("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:r,children:t.jsx(re,{type:"error",variant:"icon",children:Z(u.error)})});const h=async()=>{j(null),x(!0);try{const{inviteInfo:F}=await C.createTransferInvitation({input:{teamDid:e,role:"owner",remark:c.trim()}});a(F),n(H.length-1)}catch(F){const J=Z(F);j(J),i(F)}finally{x(!1)}},E=()=>{I(!0),n(1)},W=()=>{I(!1),n(0)},H=[{body:t.jsxs(te,{component:"div",children:[t.jsxs(re,{type:"warning",children:[t.jsx(te,{children:d("team.transferNode.inviteDialog.tips.progress")}),t.jsx(te,{children:d("team.transferNode.inviteDialog.tips.newOwnerPermissions")})]}),t.jsx(re,{type:"warning",children:t.jsx(te,{children:d("team.transferNode.inviteDialog.tips.revoke")})}),t.jsx("div",{style:{marginTop:20,marginBottom:10}}),t.jsx(_t,{label:d("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:c,onChange:F=>{j(null),l(F.target.value)},disabled:f,"data-cy":"transfer-node-input-remark"}),t.jsx("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:d("common.cancel"),confirm:d("team.transferNode.inviteDialog.createInviteLink"),onCancel:r,onConfirm:w&&!Te(u,"value.delegated")?E:h},{body:()=>t.jsx(tr,{action:"delegate-transfer-nft",open:O,locale:S,checkFn:P.get,onClose:W,onSuccess:h,checkTimeout:5*60*1e3,webWalletUrl:rr(R),extraParams:{targetDID:R.did},messages:{title:d("team.transferNode.delegateDialog.title"),scan:d("team.transferNode.delegateDialog.scan"),confirm:d("team.transferNode.delegateDialog.confirm"),success:d("team.transferNode.delegateDialog.success")},popup:!0})},{body:()=>{const F=_e({inviteId:o.inviteId,endpoint:g});return t.jsxs("div",{children:[t.jsx(Kr,{children:d("team.transferNode.inviteDialog.createSuccessTip",{expireDate:ce(o.expireDate,S)})}),t.jsx("div",{style:{marginTop:"40px"}}),t.jsx(be,{children:F})]})},confirm:d("common.confirm"),onConfirm:s}],N=H[p];return t.jsxs(X,{title:d("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,showCloseButton:!1,actions:t.jsxs(t.Fragment,{children:[N.cancel&&t.jsx(B,{onClick:N.onCancel,color:"inherit",children:N.cancel}),t.jsxs(B,{onClick:N.onConfirm,color:"primary",disabled:f,variant:"contained",autoFocus:!0,children:[f&&t.jsx(ne,{size:16}),N.confirm]})]}),children:[t.jsx(Fe,{component:"div",children:typeof N.body=="function"?N.body():N.body}),!!m&&t.jsx(re,{type:"error",variant:"icon",children:m})]})}Me.propTypes={teamDid:b.string.isRequired,onCancel:b.func.isRequired,onSuccess:b.func.isRequired,onError:b.func,endpoint:b.string};Me.defaultProps={onError:()=>{},endpoint:""};const Kr=z.div`
@@ -1,4 +1,4 @@
1
- import{r as g,$ as y,aY as v,j as t,C as w,S as P,B as c,a0 as d,P as m,Y as T}from"./index-D7Zgzqvf.js";import{P as B}from"./page-header-C80tv5gv.js";import{u as E}from"./config-space-B76BkN1W.js";import{C as b,D,a as N}from"./connect-to-BR486qQ-.js";import{u as G,S as u}from"./step-actions-DcOL80xy.js";import{S as L}from"./layout-BfZMok9K.js";import"./Skeleton-DT9Pv-2g.js";import"./Hidden-pz9c1-mN.js";import"./spaces-Bdh3jJdm.js";import"./index-C-fIhqkw.js";import"./index-D-XBJ_hS.js";import"./api-BQLv83kT.js";import"./use-blocklet-info-for-connect-did-spaces-BThBufdw.js";import"./CloseOutlined-xexRtaWG.js";import"./did-address-DMmr-ulK.js";import"./Link-plM74wGq.js";import"./DeleteOutline-DDjtK5tx.js";import"./index-oMSGvgwl.js";import"./index-CWjN4LiN.js";import"./ExpandMore-D71_DIhI.js";import"./ButtonGroup-0AYfC2uX.js";import"./TextField-BmvBrtDY.js";import"./FormControl-C0JDbWmb.js";import"./useFormControl-B7_hyGpw.js";import"./InputLabel-BozZQaWO.js";import"./Select-02ImOZY8.js";import"./content-layout-DVbziL_Z.js";function l({onNext:s,onPrevious:x}){var n,r,p;const{t:i}=g.useContext(y),{blocklet:e}=v(),S=G(),{spaceGateway:j,settingStorageEndpoint:C,updateSpaceGateway:f,hasStorageEndpoint:h,loading:o,storageEndpoint:a}=E();return o?t.jsx(w,{relative:"parent",children:t.jsx(P,{})}):t.jsxs(M,{children:[t.jsx("div",{className:"header",children:t.jsx(B,{title:i("setup.didSpace.title"),subTitle:i("setup.didSpace.subTitle"),onClickBack:x})}),t.jsx(c,{width:S?"360px":"720px",children:h?t.jsx(b,{spaceGateway:j,settingStorageEndpoint:C}):t.jsx(D,{})}),((n=e==null?void 0:e.capabilities)==null?void 0:n.didSpace)&&t.jsx(c,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"24px",children:t.jsx(N,{onConnect:f,storageEndpoint:a})}),((r=e==null?void 0:e.capabilities)==null?void 0:r.didSpace)==="required"&&t.jsx(u,{mt:8,children:t.jsx(d,{loading:o,variant:"contained",disabled:o||!a,onClick:()=>s(),children:i("setup.continue")})}),((p=e==null?void 0:e.capabilities)==null?void 0:p.didSpace)==="optional"&&t.jsx(u,{blocklet:e,onStartNow:()=>s("complete"),children:t.jsx(d,{className:"start-now",loading:o,variant:"contained",disabled:o,onClick:()=>s(),children:i(a?"setup.continue":"setup.skip")})})]})}l.propTypes={onNext:m.func,onPrevious:m.func};l.defaultProps={onNext:()=>{},onPrevious:()=>{}};const M=T(L)`
1
+ import{r as g,$ as y,aY as v,j as t,C as w,S as P,B as c,a0 as d,P as m,Y as T}from"./index-ByQRo8Xy.js";import{P as B}from"./page-header-H2fMhHk4.js";import{u as E}from"./config-space-D1Y6KkQv.js";import{C as b,D,a as N}from"./connect-to-CQCEiCCI.js";import{u as G,S as u}from"./step-actions-Do8z_g9W.js";import{S as L}from"./layout-DKfygYsQ.js";import"./Skeleton-VINmMOpD.js";import"./Hidden-BUue-5gv.js";import"./spaces-9alAi49r.js";import"./index-BeplF-8F.js";import"./index-D-XBJ_hS.js";import"./api-Cf224rl9.js";import"./use-blocklet-info-for-connect-did-spaces-BoWcj6lQ.js";import"./CloseOutlined-DoNA2OX4.js";import"./did-address-D8Z_pYLU.js";import"./Link-BXzMp1xg.js";import"./DeleteOutline-CR22pWuT.js";import"./index-pDpS4wtg.js";import"./index-BViVYSQ1.js";import"./ExpandMore-BgFo69Uu.js";import"./ButtonGroup-DPL_1wz3.js";import"./TextField-CLOKo8rr.js";import"./FormControl-FOGVkAoE.js";import"./useFormControl-BVamiUiv.js";import"./InputLabel-D30LulZb.js";import"./Select-DeWWNQVN.js";import"./content-layout-D8kIZCKQ.js";function l({onNext:s,onPrevious:x}){var n,r,p;const{t:i}=g.useContext(y),{blocklet:e}=v(),S=G(),{spaceGateway:j,settingStorageEndpoint:C,updateSpaceGateway:f,hasStorageEndpoint:h,loading:o,storageEndpoint:a}=E();return o?t.jsx(w,{relative:"parent",children:t.jsx(P,{})}):t.jsxs(M,{children:[t.jsx("div",{className:"header",children:t.jsx(B,{title:i("setup.didSpace.title"),subTitle:i("setup.didSpace.subTitle"),onClickBack:x})}),t.jsx(c,{width:S?"360px":"720px",children:h?t.jsx(b,{spaceGateway:j,settingStorageEndpoint:C}):t.jsx(D,{})}),((n=e==null?void 0:e.capabilities)==null?void 0:n.didSpace)&&t.jsx(c,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"24px",children:t.jsx(N,{onConnect:f,storageEndpoint:a})}),((r=e==null?void 0:e.capabilities)==null?void 0:r.didSpace)==="required"&&t.jsx(u,{mt:8,children:t.jsx(d,{loading:o,variant:"contained",disabled:o||!a,onClick:()=>s(),children:i("setup.continue")})}),((p=e==null?void 0:e.capabilities)==null?void 0:p.didSpace)==="optional"&&t.jsx(u,{blocklet:e,onStartNow:()=>s("complete"),children:t.jsx(d,{className:"start-now",loading:o,variant:"contained",disabled:o,onClick:()=>s(),children:i(a?"setup.continue":"setup.skip")})})]})}l.propTypes={onNext:m.func,onPrevious:m.func};l.defaultProps={onNext:()=>{},onPrevious:()=>{}};const M=T(L)`
2
2
  height: 100%;
3
3
  overflow-y: auto;
4
4
  `;export{l as default};
@@ -1 +1 @@
1
- import{gm as J,r as x,ez as Q,U as P,eA as U,gn as S,go as V,Q as B,by as $,dx as j}from"./index-D7Zgzqvf.js";var X=function(i,e){return i===void 0&&(i=[]),e===void 0&&(e=[]),J(i,e)},Y=function(i,e,r){var n=x.useRef(),t=x.useRef(0);X(e,n.current)||(n.current=e,t.current+=1),Q(i,[t.current],r)},Z=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator==null?void 0:navigator.platform:""),D={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:Z?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},R={ctrl:function(i){return i.ctrlKey},shift:function(i){return i.shiftKey},alt:function(i){return i.altKey},meta:function(i){return i.type==="keyup"?D.meta.includes(i.keyCode):i.metaKey}};function G(i){return V(i)||B(i)}function p(i){var e=Object.keys(R).reduce(function(r,n){return R[n](i)?r+1:r},0);return[16,17,18,91,92].includes(i.keyCode)?e:e+1}function z(i,e,r){var n,t;if(!i.key)return!1;if(B(e))return i.keyCode===e?e:!1;var l=e.split("."),a=0;try{for(var f=S(l),o=f.next();!o.done;o=f.next()){var c=o.value,s=R[c],u=D[c.toLowerCase()];(s&&s(i)||u&&u===i.keyCode)&&a++}}catch(b){n={error:b}}finally{try{o&&!o.done&&(t=f.return)&&t.call(f)}finally{if(n)throw n.error}}return r?a===l.length&&p(i)===l.length?e:!1:a===l.length?e:!1}function N(i,e){return $(i)?i:G(i)?function(r){return z(r,i,e)}:Array.isArray(i)?function(r){return i.find(function(n){return z(r,n,e)})}:function(){return!!i}}var O=["keydown"];function _(i,e,r){var n=r||{},t=n.events,l=t===void 0?O:t,a=n.target,f=n.exactMatch,o=f===void 0?!1:f,c=n.useCapture,s=c===void 0?!1:c,u=P(e),b=P(i);Y(function(){var A,m,L,v=U(a,window);if(v){var T=function(g){var C,E=N(b.current,o),y=E(g),h=G(y)?y:g.key;if(y)return(C=u.current)===null||C===void 0?void 0:C.call(u,g,h)};try{for(var K=S(l),k=K.next();!k.done;k=K.next()){var H=k.value;(L=v==null?void 0:v.addEventListener)===null||L===void 0||L.call(v,H,T,s)}}catch(g){A={error:g}}finally{try{k&&!k.done&&(m=K.return)&&m.call(K)}finally{if(A)throw A.error}}return function(){var g,C,E;try{for(var y=S(l),h=y.next();!h.done;h=y.next()){var M=h.value;(E=v==null?void 0:v.removeEventListener)===null||E===void 0||E.call(v,M,T,s)}}catch(W){g={error:W}}finally{try{h&&!h.done&&(C=y.return)&&C.call(y)}finally{if(g)throw g.error}}}}},[l],a)}function d(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function q(i,e){for(var r="",n=0,t=-1,l=0,a,f=0;f<=i.length;++f){if(f<i.length)a=i.charCodeAt(f);else{if(a===47)break;a=47}if(a===47){if(!(t===f-1||l===1))if(t!==f-1&&l===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var o=r.lastIndexOf("/");if(o!==r.length-1){o===-1?(r="",n=0):(r=r.slice(0,o),n=r.length-1-r.lastIndexOf("/")),t=f,l=0;continue}}else if(r.length===2||r.length===1){r="",n=0,t=f,l=0;continue}}e&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+i.slice(t+1,f):r=i.slice(t+1,f),n=f-t-1;t=f,l=0}else a===46&&l!==-1?++l:l=-1}return r}function I(i,e){var r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+n:r+i+n:n}var w={resolve:function(){for(var e="",r=!1,n,t=arguments.length-1;t>=-1&&!r;t--){var l;t>=0?l=arguments[t]:(n===void 0&&(n=j.cwd()),l=n),d(l),l.length!==0&&(e=l+"/"+e,r=l.charCodeAt(0)===47)}return e=q(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(d(e),e.length===0)return".";var r=e.charCodeAt(0)===47,n=e.charCodeAt(e.length-1)===47;return e=q(e,!r),e.length===0&&!r&&(e="."),e.length>0&&n&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return d(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];d(n),n.length>0&&(e===void 0?e=n:e+="/"+n)}return e===void 0?".":w.normalize(e)},relative:function(e,r){if(d(e),d(r),e===r||(e=w.resolve(e),r=w.resolve(r),e===r))return"";for(var n=1;n<e.length&&e.charCodeAt(n)===47;++n);for(var t=e.length,l=t-n,a=1;a<r.length&&r.charCodeAt(a)===47;++a);for(var f=r.length,o=f-a,c=l<o?l:o,s=-1,u=0;u<=c;++u){if(u===c){if(o>c){if(r.charCodeAt(a+u)===47)return r.slice(a+u+1);if(u===0)return r.slice(a+u)}else l>c&&(e.charCodeAt(n+u)===47?s=u:u===0&&(s=0));break}var b=e.charCodeAt(n+u),A=r.charCodeAt(a+u);if(b!==A)break;b===47&&(s=u)}var m="";for(u=n+s+1;u<=t;++u)(u===t||e.charCodeAt(u)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+r.slice(a+s):(a+=s,r.charCodeAt(a)===47&&++a,r.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(d(e),e.length===0)return".";for(var r=e.charCodeAt(0),n=r===47,t=-1,l=!0,a=e.length-1;a>=1;--a)if(r=e.charCodeAt(a),r===47){if(!l){t=a;break}}else l=!1;return t===-1?n?"/":".":n&&t===1?"//":e.slice(0,t)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');d(e);var n=0,t=-1,l=!0,a;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,o=-1;for(a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(c===47){if(!l){n=a+1;break}}else o===-1&&(l=!1,o=a+1),f>=0&&(c===r.charCodeAt(f)?--f===-1&&(t=a):(f=-1,t=o))}return n===t?t=o:t===-1&&(t=e.length),e.slice(n,t)}else{for(a=e.length-1;a>=0;--a)if(e.charCodeAt(a)===47){if(!l){n=a+1;break}}else t===-1&&(l=!1,t=a+1);return t===-1?"":e.slice(n,t)}},extname:function(e){d(e);for(var r=-1,n=0,t=-1,l=!0,a=0,f=e.length-1;f>=0;--f){var o=e.charCodeAt(f);if(o===47){if(!l){n=f+1;break}continue}t===-1&&(l=!1,t=f+1),o===46?r===-1?r=f:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||t===-1||a===0||a===1&&r===t-1&&r===n+1?"":e.slice(r,t)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return I("/",e)},parse:function(e){d(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var n=e.charCodeAt(0),t=n===47,l;t?(r.root="/",l=1):l=0;for(var a=-1,f=0,o=-1,c=!0,s=e.length-1,u=0;s>=l;--s){if(n=e.charCodeAt(s),n===47){if(!c){f=s+1;break}continue}o===-1&&(c=!1,o=s+1),n===46?a===-1?a=s:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||o===-1||u===0||u===1&&a===o-1&&a===f+1?o!==-1&&(f===0&&t?r.base=r.name=e.slice(1,o):r.base=r.name=e.slice(f,o)):(f===0&&t?(r.name=e.slice(1,a),r.base=e.slice(1,o)):(r.name=e.slice(f,a),r.base=e.slice(f,o)),r.ext=e.slice(a,o)),f>0?r.dir=e.slice(0,f-1):t&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};w.posix=w;var ee=w;export{ee as p,_ as u};
1
+ import{gm as J,r as x,ez as Q,U as P,eA as U,gn as S,go as V,Q as B,by as $,dx as j}from"./index-ByQRo8Xy.js";var X=function(i,e){return i===void 0&&(i=[]),e===void 0&&(e=[]),J(i,e)},Y=function(i,e,r){var n=x.useRef(),t=x.useRef(0);X(e,n.current)||(n.current=e,t.current+=1),Q(i,[t.current],r)},Z=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator==null?void 0:navigator.platform:""),D={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:Z?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},R={ctrl:function(i){return i.ctrlKey},shift:function(i){return i.shiftKey},alt:function(i){return i.altKey},meta:function(i){return i.type==="keyup"?D.meta.includes(i.keyCode):i.metaKey}};function G(i){return V(i)||B(i)}function p(i){var e=Object.keys(R).reduce(function(r,n){return R[n](i)?r+1:r},0);return[16,17,18,91,92].includes(i.keyCode)?e:e+1}function z(i,e,r){var n,t;if(!i.key)return!1;if(B(e))return i.keyCode===e?e:!1;var l=e.split("."),a=0;try{for(var f=S(l),o=f.next();!o.done;o=f.next()){var c=o.value,s=R[c],u=D[c.toLowerCase()];(s&&s(i)||u&&u===i.keyCode)&&a++}}catch(b){n={error:b}}finally{try{o&&!o.done&&(t=f.return)&&t.call(f)}finally{if(n)throw n.error}}return r?a===l.length&&p(i)===l.length?e:!1:a===l.length?e:!1}function N(i,e){return $(i)?i:G(i)?function(r){return z(r,i,e)}:Array.isArray(i)?function(r){return i.find(function(n){return z(r,n,e)})}:function(){return!!i}}var O=["keydown"];function _(i,e,r){var n=r||{},t=n.events,l=t===void 0?O:t,a=n.target,f=n.exactMatch,o=f===void 0?!1:f,c=n.useCapture,s=c===void 0?!1:c,u=P(e),b=P(i);Y(function(){var A,m,L,v=U(a,window);if(v){var T=function(g){var C,E=N(b.current,o),y=E(g),h=G(y)?y:g.key;if(y)return(C=u.current)===null||C===void 0?void 0:C.call(u,g,h)};try{for(var K=S(l),k=K.next();!k.done;k=K.next()){var H=k.value;(L=v==null?void 0:v.addEventListener)===null||L===void 0||L.call(v,H,T,s)}}catch(g){A={error:g}}finally{try{k&&!k.done&&(m=K.return)&&m.call(K)}finally{if(A)throw A.error}}return function(){var g,C,E;try{for(var y=S(l),h=y.next();!h.done;h=y.next()){var M=h.value;(E=v==null?void 0:v.removeEventListener)===null||E===void 0||E.call(v,M,T,s)}}catch(W){g={error:W}}finally{try{h&&!h.done&&(C=y.return)&&C.call(y)}finally{if(g)throw g.error}}}}},[l],a)}function d(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function q(i,e){for(var r="",n=0,t=-1,l=0,a,f=0;f<=i.length;++f){if(f<i.length)a=i.charCodeAt(f);else{if(a===47)break;a=47}if(a===47){if(!(t===f-1||l===1))if(t!==f-1&&l===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var o=r.lastIndexOf("/");if(o!==r.length-1){o===-1?(r="",n=0):(r=r.slice(0,o),n=r.length-1-r.lastIndexOf("/")),t=f,l=0;continue}}else if(r.length===2||r.length===1){r="",n=0,t=f,l=0;continue}}e&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+i.slice(t+1,f):r=i.slice(t+1,f),n=f-t-1;t=f,l=0}else a===46&&l!==-1?++l:l=-1}return r}function I(i,e){var r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+n:r+i+n:n}var w={resolve:function(){for(var e="",r=!1,n,t=arguments.length-1;t>=-1&&!r;t--){var l;t>=0?l=arguments[t]:(n===void 0&&(n=j.cwd()),l=n),d(l),l.length!==0&&(e=l+"/"+e,r=l.charCodeAt(0)===47)}return e=q(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(d(e),e.length===0)return".";var r=e.charCodeAt(0)===47,n=e.charCodeAt(e.length-1)===47;return e=q(e,!r),e.length===0&&!r&&(e="."),e.length>0&&n&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return d(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];d(n),n.length>0&&(e===void 0?e=n:e+="/"+n)}return e===void 0?".":w.normalize(e)},relative:function(e,r){if(d(e),d(r),e===r||(e=w.resolve(e),r=w.resolve(r),e===r))return"";for(var n=1;n<e.length&&e.charCodeAt(n)===47;++n);for(var t=e.length,l=t-n,a=1;a<r.length&&r.charCodeAt(a)===47;++a);for(var f=r.length,o=f-a,c=l<o?l:o,s=-1,u=0;u<=c;++u){if(u===c){if(o>c){if(r.charCodeAt(a+u)===47)return r.slice(a+u+1);if(u===0)return r.slice(a+u)}else l>c&&(e.charCodeAt(n+u)===47?s=u:u===0&&(s=0));break}var b=e.charCodeAt(n+u),A=r.charCodeAt(a+u);if(b!==A)break;b===47&&(s=u)}var m="";for(u=n+s+1;u<=t;++u)(u===t||e.charCodeAt(u)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+r.slice(a+s):(a+=s,r.charCodeAt(a)===47&&++a,r.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(d(e),e.length===0)return".";for(var r=e.charCodeAt(0),n=r===47,t=-1,l=!0,a=e.length-1;a>=1;--a)if(r=e.charCodeAt(a),r===47){if(!l){t=a;break}}else l=!1;return t===-1?n?"/":".":n&&t===1?"//":e.slice(0,t)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');d(e);var n=0,t=-1,l=!0,a;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,o=-1;for(a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(c===47){if(!l){n=a+1;break}}else o===-1&&(l=!1,o=a+1),f>=0&&(c===r.charCodeAt(f)?--f===-1&&(t=a):(f=-1,t=o))}return n===t?t=o:t===-1&&(t=e.length),e.slice(n,t)}else{for(a=e.length-1;a>=0;--a)if(e.charCodeAt(a)===47){if(!l){n=a+1;break}}else t===-1&&(l=!1,t=a+1);return t===-1?"":e.slice(n,t)}},extname:function(e){d(e);for(var r=-1,n=0,t=-1,l=!0,a=0,f=e.length-1;f>=0;--f){var o=e.charCodeAt(f);if(o===47){if(!l){n=f+1;break}continue}t===-1&&(l=!1,t=f+1),o===46?r===-1?r=f:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||t===-1||a===0||a===1&&r===t-1&&r===n+1?"":e.slice(r,t)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return I("/",e)},parse:function(e){d(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var n=e.charCodeAt(0),t=n===47,l;t?(r.root="/",l=1):l=0;for(var a=-1,f=0,o=-1,c=!0,s=e.length-1,u=0;s>=l;--s){if(n=e.charCodeAt(s),n===47){if(!c){f=s+1;break}continue}o===-1&&(c=!1,o=s+1),n===46?a===-1?a=s:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||o===-1||u===0||u===1&&a===o-1&&a===f+1?o!==-1&&(f===0&&t?r.base=r.name=e.slice(1,o):r.base=r.name=e.slice(f,o)):(f===0&&t?(r.name=e.slice(1,a),r.base=e.slice(1,o)):(r.name=e.slice(f,a),r.base=e.slice(f,o)),r.ext=e.slice(a,o)),f>0?r.dir=e.slice(0,f-1):t&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};w.posix=w;var ee=w;export{ee as p,_ as u};
@@ -1,4 +1,4 @@
1
- import{r as y,j as i,c1 as h,B as p,P as o}from"./index-D7Zgzqvf.js";var a={};Object.defineProperty(a,"__esModule",{value:!0});var f=a.default=void 0;v(y);var c=i;function v(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(n){g(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function g(e,t,r){return t=b(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=j(e,"string");return typeof t=="symbol"?t:String(t)}function j(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var l=function(t){return(0,c.jsx)("svg",s(s({},t),{},{children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};l.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};l.displayName="empty";f=a.default=l;const O=h(p)`
1
+ import{r as y,j as i,c1 as h,B as p,P as o}from"./index-ByQRo8Xy.js";var a={};Object.defineProperty(a,"__esModule",{value:!0});var f=a.default=void 0;v(y);var c=i;function v(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(n){g(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function g(e,t,r){return t=b(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=j(e,"string");return typeof t=="symbol"?t:String(t)}function j(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var l=function(t){return(0,c.jsx)("svg",s(s({},t),{},{children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};l.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};l.displayName="empty";f=a.default=l;const O=h(p)`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;