@abtnode/blocklet-services 1.16.28-beta-bfbab430 → 1.16.28-beta-641c9f13

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 (248) hide show
  1. package/api/emails/components/footer.js +3 -3
  2. package/api/emails/libs/explorer-url.js +12 -15
  3. package/api/libs/connect/session.js +2 -2
  4. package/api/libs/push-kit/index.js +2 -1
  5. package/api/routes/oauth.js +0 -1
  6. package/api/routes/user.js +40 -0
  7. package/api/services/auth/connect/receive-transfer-app-owner.js +0 -1
  8. package/api/services/auth/connect/setup.js +0 -1
  9. package/api/socket/channel/did.js +23 -12
  10. package/api/validators/user.js +0 -0
  11. package/dist/assets/{Add-BM20NrQO.js → Add-BoJrm-_O.js} +1 -1
  12. package/dist/assets/{AddBox--wxfR3G0.js → AddBox-CglHuqgI.js} +1 -1
  13. package/dist/assets/{Alert-DtzaUssX.js → Alert-C-4qT4T1.js} +1 -1
  14. package/dist/assets/{ArrowDropDown-Iyfxx2xg.js → ArrowDropDown-CH8dy3iN.js} +1 -1
  15. package/dist/assets/{Avatar-CUpS4Ilr.js → Avatar-CgWpdEUZ.js} +1 -1
  16. package/dist/assets/{ButtonGroup-CYyG5u2K.js → ButtonGroup-CUkbJx8D.js} +1 -1
  17. package/dist/assets/{CheckCircle-DoaQShhi.js → CheckCircle-CuoHMdIz.js} +1 -1
  18. package/dist/assets/ChevronRight-BHYSOolN.js +1 -0
  19. package/dist/assets/{Close-BLsWc_Tk.js → Close-ChY2rWsh.js} +1 -1
  20. package/dist/assets/{CloseOutlined-DW47mLri.js → CloseOutlined-ccm2kUSn.js} +1 -1
  21. package/dist/assets/{Delete-BeboIHFa.js → Delete-cKx4wn4L.js} +1 -1
  22. package/dist/assets/{DeleteOutline-BaCf1XtY.js → DeleteOutline-BajgjWmQ.js} +1 -1
  23. package/dist/assets/{Done-BEjApK9u.js → Done-M_teJd5z.js} +1 -1
  24. package/dist/assets/{Download-DjWaMhPn.js → Download-BnoFEZzk.js} +1 -1
  25. package/dist/assets/{Edit-DyzvkXNJ.js → Edit-Dj4NxOul.js} +1 -1
  26. package/dist/assets/{EditIcon-BXRvvSFr.js → EditIcon-DUkUdCKb.js} +1 -1
  27. package/dist/assets/{Error-DcCaeZ_S.js → Error-Dd1BeBpO.js} +1 -1
  28. package/dist/assets/{ExpandMore-Dw5iC69g.js → ExpandMore-eB64-CR7.js} +1 -1
  29. package/dist/assets/{FilterList-B_AYjksa.js → FilterList-B09sgPde.js} +4 -4
  30. package/dist/assets/FormControl-gyxvExMf.js +1 -0
  31. package/dist/assets/{FormControlLabel-J_nG7S9r.js → FormControlLabel-C4AXeCOg.js} +1 -1
  32. package/dist/assets/{FormGroup-B2XKvk2U.js → FormGroup-BZxFtH7N.js} +1 -1
  33. package/dist/assets/{Google-_J6to4FR.js → Google-D0jHnMze.js} +4 -4
  34. package/dist/assets/{Hidden-BLdLc8h9.js → Hidden-CSvVqUp2.js} +1 -1
  35. package/dist/assets/{InfoOutlined-jXjX6Tro.js → InfoOutlined-CGXWsDsF.js} +1 -1
  36. package/dist/assets/{InputAdornment-DYTxgt6k.js → InputAdornment-CTTplW9R.js} +1 -1
  37. package/dist/assets/{InputLabel-lATzw7NR.js → InputLabel-CBpb3z-d.js} +1 -1
  38. package/dist/assets/{LastPage-2k34T11k.js → LastPage-Cp57ba8Z.js} +1 -1
  39. package/dist/assets/{Launch-DOIBGLzl.js → Launch-CtC0_-jO.js} +1 -1
  40. package/dist/assets/{LaunchOutlined-SrMQHpJM.js → LaunchOutlined-MP7wPvgW.js} +1 -1
  41. package/dist/assets/{Link-5b2HVhJS.js → Link-vz3XPYKM.js} +1 -1
  42. package/dist/assets/ListItemText-DrAKNhly.js +1 -0
  43. package/dist/assets/{LoadingButton-CK30gWPr.js → LoadingButton-Biu_s1u6.js} +1 -1
  44. package/dist/assets/{LockIcon-DSoFeiUW.js → LockIcon-D99eBbC0.js} +1 -1
  45. package/dist/assets/{Loop-CBPEms0Q.js → Loop-DiLW1m7v.js} +1 -1
  46. package/dist/assets/{MoreHoriz-D2VMH51n.js → MoreHoriz-S86jiXzp.js} +1 -1
  47. package/dist/assets/{MoreVert-BEZvlzF-.js → MoreVert-DejELzAc.js} +1 -1
  48. package/dist/assets/{OpenInNew-Ck3ijqlL.js → OpenInNew-B6bifJIQ.js} +1 -1
  49. package/dist/assets/Pagination-fYrjcXB2.js +2 -0
  50. package/dist/assets/{PlayArrow-Bep57q0l.js → PlayArrow-BTsEt3W2.js} +1 -1
  51. package/dist/assets/{QuestionMarkCircle-BRJ6UWDC.js → QuestionMarkCircle-BXgeZwx-.js} +1 -1
  52. package/dist/assets/{RadioGroup-DjYscIah.js → RadioGroup-8qdmtSJL.js} +1 -1
  53. package/dist/assets/{Search-DFMpNFHb.js → Search-ChwoTIiQ.js} +1 -1
  54. package/dist/assets/{Select-B59j8vqU.js → Select-DOh43naI.js} +2 -2
  55. package/dist/assets/{ServerLogo-B-brfx83.js → ServerLogo-BRf5xKrc.js} +1 -1
  56. package/dist/assets/{Skeleton-CjiEfCyO.js → Skeleton-VU1JfbjL.js} +3 -3
  57. package/dist/assets/{Slider-BJkaec7K.js → Slider-BrpNHBjx.js} +1 -1
  58. package/dist/assets/{Stepper-JkeBEOuY.js → Stepper-x1wxBoUF.js} +1 -1
  59. package/dist/assets/{TextField-C5D15Ugf.js → TextField-Bk3nGKmi.js} +1 -1
  60. package/dist/assets/{Toolbar-CSkIjhiI.js → Toolbar-XVIuGeuS.js} +1 -1
  61. package/dist/assets/{ViewList-BKInLQTN.js → ViewList-Bea1OSDp.js} +1 -1
  62. package/dist/assets/{access-control-BCwpKFRG.js → access-control-CXxCQ16c.js} +2 -2
  63. package/dist/assets/{actions-DPCHP2Zq.js → actions-Cg5ng0nA.js} +1 -1
  64. package/dist/assets/{add-component-core-07RqFKRp.js → add-component-core-BV3RvJ8V.js} +46 -46
  65. package/dist/assets/add-resource-PHhEwhcr.js +1 -0
  66. package/dist/assets/{addon-Dd_1kHaH.js → addon-DzxhvKSZ.js} +1 -1
  67. package/dist/assets/{analytics-CpnXFlCP.js → analytics-mAMBxR0F.js} +1 -1
  68. package/dist/assets/api-OQWmht2h.js +1 -0
  69. package/dist/assets/ar-BBBE9MEJ.js +1 -0
  70. package/dist/assets/{ar-DXpJw3XU.js → ar-BV2QgAob.js} +1 -1
  71. package/dist/assets/{audit-logs-CcdVOnke.js → audit-logs-ByXaHKtl.js} +1 -1
  72. package/dist/assets/{button-BKUtHuLK.js → button-DR_Wda41.js} +1 -1
  73. package/dist/assets/{click-to-copy-C5Z-YhEj.js → click-to-copy-Cw5I6OVv.js} +1 -1
  74. package/dist/assets/{complete-DGbpqS5n.js → complete-B6S1-D-n.js} +4 -4
  75. package/dist/assets/{component-DqG0gKuO.js → component-ZnouV9LF.js} +32 -32
  76. package/dist/assets/{config-DLELBWuY.js → config-B7cnvcPi.js} +1 -1
  77. package/dist/assets/{config-DseId50E.js → config-DGAmlqoF.js} +2 -2
  78. package/dist/assets/{config-navigation-D3NGEvCy.js → config-navigation-CfwJSRxp.js} +5 -5
  79. package/dist/assets/{config-space-Dq3sHJW8.js → config-space-CzerCUdm.js} +5 -5
  80. package/dist/assets/confirm-B1z63FNK.js +7 -0
  81. package/dist/assets/{connect-De6kBvVp.js → connect-3a9sxLCM.js} +1 -1
  82. package/dist/assets/{connect-CCqeZs4y.js → connect-B32wMH4E.js} +1 -1
  83. package/dist/assets/connect-to-jSwrNtPR.js +54 -0
  84. package/dist/assets/{content-layout-FX0-4e_U.js → content-layout-DDYWTc0V.js} +1 -1
  85. package/dist/assets/{dashboard-gEbtoKpZ.js → dashboard-luq_v-xO.js} +4 -4
  86. package/dist/assets/{de-CWxlIdre.js → de-D6Ok_WHi.js} +1 -1
  87. package/dist/assets/de-D7y-iIl6.js +1 -0
  88. package/dist/assets/{did-address-Etx4oDtC.js → did-address-D6imOEeD.js} +1 -1
  89. package/dist/assets/{domain-Bp688Xuz.js → domain-ithD8S2D.js} +1 -1
  90. package/dist/assets/domain-list-DQgcBwrQ.js +12 -0
  91. package/dist/assets/{es-BmrvDK07.js → es-DiLJksPa.js} +1 -1
  92. package/dist/assets/es-HVsRXA4c.js +1 -0
  93. package/dist/assets/{exchange-passport-Ca8hn9GK.js → exchange-passport-zLSoMB3r.js} +1 -1
  94. package/dist/assets/{fallback-CIBVmJin.js → fallback-3kuSb7UA.js} +1 -1
  95. package/dist/assets/fr-6zwjbTaD.js +1 -0
  96. package/dist/assets/{fr-B7SxgRy3.js → fr-CrYEbJK3.js} +1 -1
  97. package/dist/assets/{fuel-CJOxfEOO.js → fuel-CCglUK0s.js} +1 -1
  98. package/dist/assets/{fullpage-D3A4C5-R.js → fullpage-CHRTm5Gh.js} +1 -1
  99. package/dist/assets/hi-C16WI9sl.js +1 -0
  100. package/dist/assets/{hi-BRRtNIB_.js → hi-D0zLUK6N.js} +1 -1
  101. package/dist/assets/{home-CjQy6Wn4.js → home-BuHJTDgB.js} +1 -1
  102. package/dist/assets/{id-D6-Qi7Q1.js → id-Cx-4j40c.js} +1 -1
  103. package/dist/assets/id-DqavapTP.js +1 -0
  104. package/dist/assets/{iframe-BBq0Voai.js → iframe-8MUemecG.js} +1 -1
  105. package/dist/assets/{index-B0YP3d1_.js → index-3Oh_3ZCT.js} +4 -4
  106. package/dist/assets/{index-CzncbcdH.js → index-BS4zc5ji.js} +1 -1
  107. package/dist/assets/{index-C7siWm6R.js → index-BYpdRSF0.js} +1 -1
  108. package/dist/assets/{index-Cy0soagJ.js → index-Bg5zYzqK.js} +1 -1
  109. package/dist/assets/{index-BJX9Tvpd.js → index-BiLO6A8D.js} +6 -6
  110. package/dist/assets/{index-DA6RGcPS.js → index-BntTdyPD.js} +2 -2
  111. package/dist/assets/{index-DxgnjIVN.js → index-BoFHsp7-.js} +1 -1
  112. package/dist/assets/{index-BNte_m1O.js → index-BqwRMOQl.js} +1 -1
  113. package/dist/assets/{index-zD9-bZuV.js → index-BwG3VK9d.js} +1 -1
  114. package/dist/assets/{index-CR0jMc07.js → index-BxQuA81k.js} +1 -1
  115. package/dist/assets/{index-BvWO4cX9.js → index-C5tjSF8T.js} +1 -1
  116. package/dist/assets/{index-DzIqbqJ_.js → index-CG1wXF6V.js} +4 -4
  117. package/dist/assets/{index-B4NnGwvJ.js → index-CLMiwwfy.js} +1 -1
  118. package/dist/assets/{index-BvTERmRP.js → index-CPa4_NBo.js} +1 -1
  119. package/dist/assets/{index-QBptYklD.js → index-CVw9aJcw.js} +1 -1
  120. package/dist/assets/{index-B-MiDNZJ.js → index-Cc-mv9TN.js} +1 -1
  121. package/dist/assets/index-Cl04GA-t.js +1290 -0
  122. package/dist/assets/{index-r7u0jEi1.js → index-CtJrc1zY.js} +1 -1
  123. package/dist/assets/index-Cu_vozD_.js +54 -0
  124. package/dist/assets/{index-lo0p8vGs.js → index-D4jaozuN.js} +7 -7
  125. package/dist/assets/{index-kTvctsLd.js → index-DHotJsk6.js} +1 -1
  126. package/dist/assets/{index-3J8dxrpv.js → index-DKUQr-8u.js} +1 -1
  127. package/dist/assets/{index-QUyszNOn.js → index-DL3372bC.js} +1 -1
  128. package/dist/assets/index-DmyQ27xP.js +16 -0
  129. package/dist/assets/{index-DUsylIII.js → index-DqGhwItx.js} +1 -1
  130. package/dist/assets/{index-CnSZHHme.js → index-NvKdVeIw.js} +1 -1
  131. package/dist/assets/{index-DWdOmPJK.js → index-TKvCRjMK.js} +8 -8
  132. package/dist/assets/{index-C2gRwmn2.js → index-boYAhdRX.js} +1 -1
  133. package/dist/assets/{index-BYYybgec.js → index-eBzEv8Sk.js} +12 -12
  134. package/dist/assets/{index-Dm4QfKgj.js → index-fr1W9KLk.js} +13 -13
  135. package/dist/assets/{index-D4zAIKo5.js → index-jeCZ_y7F.js} +4 -4
  136. package/dist/assets/index-u8gukLNL.js +4 -0
  137. package/dist/assets/{index.es-BwRDpSz4.js → index.es-Dy5oQKao.js} +1 -1
  138. package/dist/assets/index.esm-BHW7biJ6.js +1 -0
  139. package/dist/assets/{invitation-DmGeq7ty.js → invitation-DtKdyqJf.js} +2 -2
  140. package/dist/assets/{invite-BHr71ERq.js → invite-Dnoshc4d.js} +1 -1
  141. package/dist/assets/{issue-passport-CVLycMc5.js → issue-passport-CWZ7ZyNa.js} +1 -1
  142. package/dist/assets/item-j9ZARjwM.js +1 -0
  143. package/dist/assets/ja-C1S0Noey.js +1 -0
  144. package/dist/assets/{ja--dtwu5Xy.js → ja-CtQcd1E5.js} +1 -1
  145. package/dist/assets/{jss-plugin-props-sort.esm-CS5B424R.js → jss-plugin-props-sort.esm-BWWQpXB1.js} +5 -5
  146. package/dist/assets/{ko-DpRJDWhF.js → ko-B-N9xtBl.js} +1 -1
  147. package/dist/assets/ko-mzBFf7JJ.js +1 -0
  148. package/dist/assets/{launch-result-message-CAUmoCmH.js → launch-result-message-BV-huuom.js} +1 -1
  149. package/dist/assets/{layout-l6KrRo_j.js → layout-DdQD8S23.js} +1 -1
  150. package/dist/assets/{list-header-C_S_alCD.js → list-header-BxY4I9CY.js} +1 -1
  151. package/dist/assets/localization-FyTbHx1K.js +1 -0
  152. package/dist/assets/{log-Ch42uXqw.js → log-S1OMjUCZ.js} +8 -8
  153. package/dist/assets/{login-BxjyT1qS.js → login-BnpI278T.js} +1 -1
  154. package/dist/assets/{login-oauth-callback-C6s-4b1V.js → login-oauth-callback-DxGdmmMx.js} +1 -1
  155. package/dist/assets/logo-uploader-BgNXWz6E.js +122 -0
  156. package/dist/assets/{lost-passport-By5cjQFH.js → lost-passport-CcdUL0q6.js} +3 -3
  157. package/dist/assets/{lottie-DVm7n_Um.js → lottie-BvOsI7zm.js} +1 -1
  158. package/dist/assets/notifications-kGCpNmKx.js +62 -0
  159. package/dist/assets/{overview-GOUiKG2a.js → overview-BLIBQ1sd.js} +1 -1
  160. package/dist/assets/{page-header-COyUenU-.js → page-header-rVfDLsj0.js} +1 -1
  161. package/dist/assets/{permission-DWzaHXWC.js → permission-CKySuhLV.js} +1 -1
  162. package/dist/assets/{preferences-CE-9QBFo.js → preferences-TGnIr6dq.js} +1 -1
  163. package/dist/assets/{pt-BxA88dKG.js → pt-Bbu04bsN.js} +1 -1
  164. package/dist/assets/pt-C1_nXkr0.js +1 -0
  165. package/dist/assets/publish-resource-Dz9epNbr.js +1 -0
  166. package/dist/assets/{react-CY_QENHU.js → react-CbZ_Vtk1.js} +18 -23
  167. package/dist/assets/{redux-CTTkxs7M.js → redux-DMr4dsLY.js} +1 -1
  168. package/dist/assets/resource-dialog-DdTKR9NE.js +57 -0
  169. package/dist/assets/{ru-C9WJaQoQ.js → ru-B2kEUdnW.js} +1 -1
  170. package/dist/assets/ru-BuH3KMgW.js +1 -0
  171. package/dist/assets/selector-CoY6PplM.js +46 -0
  172. package/dist/assets/session-CYvCBKsv.js +1 -0
  173. package/dist/assets/setup-CzWJfkv1.js +14 -0
  174. package/dist/assets/{slicedToArray-DCpTgETk.js → slicedToArray-CkCjmyV-.js} +2 -2
  175. package/dist/assets/spaces-vbfU-St-.js +1 -0
  176. package/dist/assets/{start-CvZw2F8k.js → start-DNlGXizD.js} +1 -1
  177. package/dist/assets/{step-actions-5tGgPrhF.js → step-actions-DUUxagLA.js} +2 -2
  178. package/dist/assets/{studio-CGE88nOP.js → studio-JSMRqBR7.js} +1 -1
  179. package/dist/assets/{switch-control-DBbuPW4q.js → switch-control-BC42lODZ.js} +1 -1
  180. package/dist/assets/th-BKJeKgwj.js +1 -0
  181. package/dist/assets/{th-z7LSYRZi.js → th-hxX0mxam.js} +1 -1
  182. package/dist/assets/{toUpper-DTIWej6b.js → toUpper-BizFqthm.js} +1 -1
  183. package/dist/assets/{transfer-26ConaJn.js → transfer-CiSCFYPU.js} +1 -1
  184. package/dist/assets/{uniqBy-BF_2_CqX.js → uniqBy-DMhoJ2Al.js} +1 -1
  185. package/dist/assets/{unsubscribe-Cwx3CGkA.js → unsubscribe-O7OhXLMr.js} +1 -1
  186. package/dist/assets/url-join-CrBLd4sj.js +1 -0
  187. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-DXCdpGY7.js → use-blocklet-info-for-connect-did-spaces-C9mRg-mi.js} +1 -1
  188. package/dist/assets/{use-mobile-DTODc0Do.js → use-mobile-SXn9sKtS.js} +1 -1
  189. package/dist/assets/{useAsync-BIhajT1g.js → useAsync-BPz0DsVI.js} +1 -1
  190. package/dist/assets/{useFormControl-D74Gykn0.js → useFormControl-DhfhAmtn.js} +1 -1
  191. package/dist/assets/{useLocalStorage-CTTJpYi8.js → useLocalStorage-Bmthit4M.js} +1 -1
  192. package/dist/assets/{useSetState-B8DWdra7.js → useSetState-CJhaMhso.js} +1 -1
  193. package/dist/assets/{useSlot-C0EbF40A.js → useSlot-lUaeK9hA.js} +1 -1
  194. package/dist/assets/user-center-CU-A6eoJ.js +1 -0
  195. package/dist/assets/{user-sessions-DFuVpXta.js → user-sessions-7k7AWpir.js} +1 -1
  196. package/dist/assets/{util-BfdLSo0f.js → util-J_XyZpSB.js} +1 -1
  197. package/dist/assets/{vi-CAtyUyNW.js → vi-BvdHaGW6.js} +1 -1
  198. package/dist/assets/vi-CcAlvGiJ.js +1 -0
  199. package/dist/assets/wrap-locale-Duh9BG3P.js +1 -0
  200. package/dist/assets/zh-BiD8p9-Q.js +1 -0
  201. package/dist/assets/zh-D9mkCsIM.js +2 -0
  202. package/dist/assets/zh-tw-CEn1lfUx.js +1 -0
  203. package/dist/assets/zh-tw-D-Z5mIZW.js +1 -0
  204. package/dist/index.html +1 -1
  205. package/dist/service-worker.js +1 -1
  206. package/package.json +27 -27
  207. package/dist/assets/ChevronRight-CoSoIqx4.js +0 -1
  208. package/dist/assets/FormControl-CKJrH8LS.js +0 -1
  209. package/dist/assets/ListItemText-BWOzBiMo.js +0 -1
  210. package/dist/assets/Pagination-DYCSDEOZ.js +0 -2
  211. package/dist/assets/add-resource-DyhrbJxX.js +0 -1
  212. package/dist/assets/api-BEakJrYk.js +0 -1
  213. package/dist/assets/ar-B34f4HdK.js +0 -1
  214. package/dist/assets/confirm-Bp1YUyru.js +0 -7
  215. package/dist/assets/connect-to-DNQSW4Zf.js +0 -54
  216. package/dist/assets/de-CbWSpQPN.js +0 -1
  217. package/dist/assets/domain-list-xUOKEmgZ.js +0 -12
  218. package/dist/assets/es-D2WPMiOg.js +0 -1
  219. package/dist/assets/fr-BU_67rSB.js +0 -1
  220. package/dist/assets/hi-D5wWKqkp.js +0 -1
  221. package/dist/assets/id-Do44PG5N.js +0 -1
  222. package/dist/assets/index-BgwjaAEK.js +0 -16
  223. package/dist/assets/index-BvsLirqD.js +0 -1286
  224. package/dist/assets/index-CBJAk2V8.js +0 -54
  225. package/dist/assets/index-Ta8CgfK0.js +0 -4
  226. package/dist/assets/index.esm-CpvBYn6L.js +0 -1
  227. package/dist/assets/item-BcWo6lea.js +0 -1
  228. package/dist/assets/ja-D8qblxbX.js +0 -1
  229. package/dist/assets/ko-C8eR3MIF.js +0 -1
  230. package/dist/assets/localization-Bewup7q7.js +0 -1
  231. package/dist/assets/logo-uploader-CGtIsD0T.js +0 -122
  232. package/dist/assets/notifications-CEpa_xHz.js +0 -62
  233. package/dist/assets/pt-Dly5Myel.js +0 -1
  234. package/dist/assets/publish-resource-UvJbVy1r.js +0 -1
  235. package/dist/assets/resource-dialog-CfRq8NMl.js +0 -57
  236. package/dist/assets/ru-C9Wh9IKf.js +0 -1
  237. package/dist/assets/selector-BEck9RSE.js +0 -46
  238. package/dist/assets/session-CVIETtuz.js +0 -1
  239. package/dist/assets/setup-CkCZJ55S.js +0 -14
  240. package/dist/assets/spaces-BFbdkHH8.js +0 -1
  241. package/dist/assets/th-B6Z2fc62.js +0 -1
  242. package/dist/assets/user-center-BurgeGnu.js +0 -1
  243. package/dist/assets/vi-Di0ynKe6.js +0 -1
  244. package/dist/assets/wrap-locale-mANFn3Dq.js +0 -1
  245. package/dist/assets/zh-BVBeddUa.js +0 -2
  246. package/dist/assets/zh-e04FR-Ps.js +0 -1
  247. package/dist/assets/zh-tw-CoStw7dd.js +0 -1
  248. package/dist/assets/zh-tw-DlepKNg6.js +0 -1
@@ -1 +1 @@
1
- import{aB as vt,aC as mt,aD as D,cC as jt,aE as Ht,aG as p,r as d,aK as St,aF as at,aI as N,j as u,aJ as gt,ao as At,cx as ae,cD as Ot,cE as Dt,cF as Xt,aH as st,bj as ie,cG as ft,cH as ce,c0 as de,M as $,P as W}from"./index-BvsLirqD.js";let U;function _t(){if(U)return U;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),U="reverse",t.scrollLeft>0?U="default":(t.scrollLeft=1,t.scrollLeft===0&&(U="negative")),document.body.removeChild(t),U}function ue(t,e){const l=t.scrollLeft;if(e!=="rtl")return l;switch(_t()){case"negative":return t.scrollWidth-t.clientWidth+l;case"reverse":return t.scrollWidth-t.clientWidth-l;default:return l}}function be(t){return mt("MuiTab",t)}const pe=vt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),O=pe,fe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],he=t=>{const{classes:e,textColor:l,fullWidth:s,wrapped:n,icon:a,label:v,selected:h,disabled:b}=t,g={root:["root",a&&v&&"labelIcon",`textColor${Ht(l)}`,s&&"fullWidth",n&&"wrapped",h&&"selected",b&&"disabled"],iconWrapper:["iconWrapper"]};return gt(g,be,e)},ve=D(jt,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.root,l.label&&l.icon&&e.labelIcon,e[`textColor${Ht(l.textColor)}`],l.fullWidth&&e.fullWidth,l.wrapped&&e.wrapped]}})(({theme:t,ownerState:e})=>p({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${O.iconWrapper}`]:p({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${O.selected}`]:{opacity:1},[`&.${O.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${O.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${O.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${O.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${O.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),me=d.forwardRef(function(e,l){const s=St({props:e,name:"MuiTab"}),{className:n,disabled:a=!1,disableFocusRipple:v=!1,fullWidth:h,icon:b,iconPosition:g="top",indicator:B,label:y,onChange:m,onClick:T,onFocus:L,selected:w,selectionFollowsFocus:x,textColor:X="inherit",value:R,wrapped:it=!1}=s,_=at(s,fe),V=p({},s,{disabled:a,disableFocusRipple:v,selected:w,icon:!!b,iconPosition:g,label:!!y,fullWidth:h,textColor:X,wrapped:it}),q=he(V),F=b&&y&&d.isValidElement(b)?d.cloneElement(b,{className:N(q.iconWrapper,b.props.className)}):b,tt=E=>{!w&&m&&m(E,R),T&&T(E)},K=E=>{x&&!w&&m&&m(E,R),L&&L(E)};return u.jsxs(ve,p({focusRipple:!v,className:N(q.root,n),ref:l,role:"tab","aria-selected":w,disabled:a,onClick:tt,onFocus:K,ownerState:V,tabIndex:w?0:-1},_,{children:[g==="top"||g==="start"?u.jsxs(d.Fragment,{children:[F,y]}):u.jsxs(d.Fragment,{children:[y,F]}),B]}))}),xt=me,Se=At(u.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ge=At(u.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function xe(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function ye(t,e,l,s={},n=()=>{}){const{ease:a=xe,duration:v=300}=s;let h=null;const b=e[t];let g=!1;const B=()=>{g=!0},y=m=>{if(g){n(new Error("Animation cancelled"));return}h===null&&(h=m);const T=Math.min(1,(m-h)/v);if(e[t]=a(T)*(l-b)+b,T>=1){requestAnimationFrame(()=>{n(null)});return}requestAnimationFrame(y)};return b===l?(n(new Error("Element already at target position")),B):(requestAnimationFrame(y),B)}const Ce=["onChange"],Be={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Te(t){const{onChange:e}=t,l=at(t,Ce),s=d.useRef(),n=d.useRef(null),a=()=>{s.current=n.current.offsetHeight-n.current.clientHeight};return ae(()=>{const v=Ot(()=>{const b=s.current;a(),b!==s.current&&e(s.current)}),h=Dt(n.current);return h.addEventListener("resize",v),()=>{v.clear(),h.removeEventListener("resize",v)}},[e]),d.useEffect(()=>{a(),e(s.current)},[e]),u.jsx("div",p({style:Be,ref:n},l))}function we(t){return mt("MuiTabScrollButton",t)}const Me=vt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Ie=Me,Re=["className","slots","slotProps","direction","orientation","disabled"],Ee=t=>{const{classes:e,orientation:l,disabled:s}=t;return gt({root:["root",l,s&&"disabled"]},we,e)},ze=D(jt,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.root,l.orientation&&e[l.orientation]]}})(({ownerState:t})=>p({width:40,flexShrink:0,opacity:.8,[`&.${Ie.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),We=d.forwardRef(function(e,l){var s,n;const a=St({props:e,name:"MuiTabScrollButton"}),{className:v,slots:h={},slotProps:b={},direction:g}=a,B=at(a,Re),y=Xt(),m=p({isRtl:y},a),T=Ee(m),L=(s=h.StartScrollButtonIcon)!=null?s:Se,w=(n=h.EndScrollButtonIcon)!=null?n:ge,x=st({elementType:L,externalSlotProps:b.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),X=st({elementType:w,externalSlotProps:b.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return u.jsx(ze,p({component:"div",className:N(T.root,v),ref:l,role:null,ownerState:m,tabIndex:null},B,{children:g==="left"?u.jsx(L,p({},x)):u.jsx(w,p({},X))}))}),Pe=We;function ke(t){return mt("MuiTabs",t)}const Ne=vt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),ht=Ne,$e=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Nt=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,$t=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,nt=(t,e,l)=>{let s=!1,n=l(t,e);for(;n;){if(n===t.firstChild){if(s)return;s=!0}const a=n.disabled||n.getAttribute("aria-disabled")==="true";if(!n.hasAttribute("tabindex")||a)n=l(t,n);else{n.focus();return}}},Le=t=>{const{vertical:e,fixed:l,hideScrollbar:s,scrollableX:n,scrollableY:a,centered:v,scrollButtonsHideMobile:h,classes:b}=t;return gt({root:["root",e&&"vertical"],scroller:["scroller",l&&"fixed",s&&"hideScrollbar",n&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",v&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",h&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[s&&"hideScrollbar"]},ke,b)},Fe=D("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[{[`& .${ht.scrollButtons}`]:e.scrollButtons},{[`& .${ht.scrollButtons}`]:l.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,l.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>p({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${ht.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),je=D("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.scroller,l.fixed&&e.fixed,l.hideScrollbar&&e.hideScrollbar,l.scrollableX&&e.scrollableX,l.scrollableY&&e.scrollableY]}})(({ownerState:t})=>p({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),He=D("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.flexContainer,l.vertical&&e.flexContainerVertical,l.centered&&e.centered]}})(({ownerState:t})=>p({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),Ae=D("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>p({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),Oe=D(Te)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Lt={},De=d.forwardRef(function(e,l){const s=St({props:e,name:"MuiTabs"}),n=ie(),a=Xt(),{"aria-label":v,"aria-labelledby":h,action:b,centered:g=!1,children:B,className:y,component:m="div",allowScrollButtonsMobile:T=!1,indicatorColor:L="primary",onChange:w,orientation:x="horizontal",ScrollButtonComponent:X=Pe,scrollButtons:R="auto",selectionFollowsFocus:it,slots:_={},slotProps:V={},TabIndicatorProps:q={},TabScrollButtonProps:F={},textColor:tt="primary",value:K,variant:E="standard",visibleScrollbar:ct=!1}=s,Ut=at(s,$e),M=E==="scrollable",C=x==="vertical",G=C?"scrollTop":"scrollLeft",et=C?"top":"left",ot=C?"bottom":"right",dt=C?"clientHeight":"clientWidth",J=C?"height":"width",j=p({},s,{component:m,allowScrollButtonsMobile:T,indicatorColor:L,orientation:x,vertical:C,scrollButtons:R,textColor:tt,variant:E,visibleScrollbar:ct,fixed:!M,hideScrollbar:M&&!ct,scrollableX:M&&!C,scrollableY:M&&C,centered:g&&!M,scrollButtonsHideMobile:!T}),P=Le(j),Yt=st({elementType:_.StartScrollButtonIcon,externalSlotProps:V.startScrollButtonIcon,ownerState:j}),Vt=st({elementType:_.EndScrollButtonIcon,externalSlotProps:V.endScrollButtonIcon,ownerState:j}),[Ct,Gt]=d.useState(!1),[H,Bt]=d.useState(Lt),[Tt,Jt]=d.useState(!1),[wt,Qt]=d.useState(!1),[Mt,Zt]=d.useState(!1),[It,te]=d.useState({overflow:"hidden",scrollbarWidth:0}),Rt=new Map,z=d.useRef(null),A=d.useRef(null),Et=()=>{const o=z.current;let r;if(o){const i=o.getBoundingClientRect();r={clientWidth:o.clientWidth,scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollLeftNormalized:ue(o,a?"rtl":"ltr"),scrollWidth:o.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}let c;if(o&&K!==!1){const i=A.current.children;if(i.length>0){const f=i[Rt.get(K)];c=f?f.getBoundingClientRect():null}}return{tabsMeta:r,tabMeta:c}},Q=ft(()=>{const{tabsMeta:o,tabMeta:r}=Et();let c=0,i;if(C)i="top",r&&o&&(c=r.top-o.top+o.scrollTop);else if(i=a?"right":"left",r&&o){const S=a?o.scrollLeftNormalized+o.clientWidth-o.scrollWidth:o.scrollLeft;c=(a?-1:1)*(r[i]-o[i]+S)}const f={[i]:c,[J]:r?r[J]:0};if(isNaN(H[i])||isNaN(H[J]))Bt(f);else{const S=Math.abs(H[i]-f[i]),I=Math.abs(H[J]-f[J]);(S>=1||I>=1)&&Bt(f)}}),ut=(o,{animation:r=!0}={})=>{r?ye(G,z.current,o,{duration:n.transitions.duration.standard}):z.current[G]=o},zt=o=>{let r=z.current[G];C?r+=o:(r+=o*(a?-1:1),r*=a&&_t()==="reverse"?-1:1),ut(r)},Wt=()=>{const o=z.current[dt];let r=0;const c=Array.from(A.current.children);for(let i=0;i<c.length;i+=1){const f=c[i];if(r+f[dt]>o){i===0&&(r=o);break}r+=f[dt]}return r},ee=()=>{zt(-1*Wt())},oe=()=>{zt(Wt())},le=d.useCallback(o=>{te({overflow:null,scrollbarWidth:o})},[]),re=()=>{const o={};o.scrollbarSizeListener=M?u.jsx(Oe,{onChange:le,className:N(P.scrollableX,P.hideScrollbar)}):null;const c=M&&(R==="auto"&&(Tt||wt)||R===!0);return o.scrollButtonStart=c?u.jsx(X,p({slots:{StartScrollButtonIcon:_.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Yt},orientation:x,direction:a?"right":"left",onClick:ee,disabled:!Tt},F,{className:N(P.scrollButtons,F.className)})):null,o.scrollButtonEnd=c?u.jsx(X,p({slots:{EndScrollButtonIcon:_.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:Vt},orientation:x,direction:a?"left":"right",onClick:oe,disabled:!wt},F,{className:N(P.scrollButtons,F.className)})):null,o},Pt=ft(o=>{const{tabsMeta:r,tabMeta:c}=Et();if(!(!c||!r)){if(c[et]<r[et]){const i=r[G]+(c[et]-r[et]);ut(i,{animation:o})}else if(c[ot]>r[ot]){const i=r[G]+(c[ot]-r[ot]);ut(i,{animation:o})}}}),lt=ft(()=>{M&&R!==!1&&Zt(!Mt)});d.useEffect(()=>{const o=Ot(()=>{z.current&&Q()});let r;const c=S=>{S.forEach(I=>{I.removedNodes.forEach(Z=>{var k;(k=r)==null||k.unobserve(Z)}),I.addedNodes.forEach(Z=>{var k;(k=r)==null||k.observe(Z)})}),o(),lt()},i=Dt(z.current);i.addEventListener("resize",o);let f;return typeof ResizeObserver<"u"&&(r=new ResizeObserver(o),Array.from(A.current.children).forEach(S=>{r.observe(S)})),typeof MutationObserver<"u"&&(f=new MutationObserver(c),f.observe(A.current,{childList:!0})),()=>{var S,I;o.clear(),i.removeEventListener("resize",o),(S=f)==null||S.disconnect(),(I=r)==null||I.disconnect()}},[Q,lt]),d.useEffect(()=>{const o=Array.from(A.current.children),r=o.length;if(typeof IntersectionObserver<"u"&&r>0&&M&&R!==!1){const c=o[0],i=o[r-1],f={root:z.current,threshold:.99},S=pt=>{Jt(!pt[0].isIntersecting)},I=new IntersectionObserver(S,f);I.observe(c);const Z=pt=>{Qt(!pt[0].isIntersecting)},k=new IntersectionObserver(Z,f);return k.observe(i),()=>{I.disconnect(),k.disconnect()}}},[M,R,Mt,B==null?void 0:B.length]),d.useEffect(()=>{Gt(!0)},[]),d.useEffect(()=>{Q()}),d.useEffect(()=>{Pt(Lt!==H)},[Pt,H]),d.useImperativeHandle(b,()=>({updateIndicator:Q,updateScrollButtons:lt}),[Q,lt]);const kt=u.jsx(Ae,p({},q,{className:N(P.indicator,q.className),ownerState:j,style:p({},H,q.style)}));let rt=0;const ne=d.Children.map(B,o=>{if(!d.isValidElement(o))return null;const r=o.props.value===void 0?rt:o.props.value;Rt.set(r,rt);const c=r===K;return rt+=1,d.cloneElement(o,p({fullWidth:E==="fullWidth",indicator:c&&!Ct&&kt,selected:c,selectionFollowsFocus:it,onChange:w,textColor:tt,value:r},rt===1&&K===!1&&!o.props.tabIndex?{tabIndex:0}:{}))}),se=o=>{const r=A.current,c=ce(r).activeElement;if(c.getAttribute("role")!=="tab")return;let f=x==="horizontal"?"ArrowLeft":"ArrowUp",S=x==="horizontal"?"ArrowRight":"ArrowDown";switch(x==="horizontal"&&a&&(f="ArrowRight",S="ArrowLeft"),o.key){case f:o.preventDefault(),nt(r,c,$t);break;case S:o.preventDefault(),nt(r,c,Nt);break;case"Home":o.preventDefault(),nt(r,null,Nt);break;case"End":o.preventDefault(),nt(r,null,$t);break}},bt=re();return u.jsxs(Fe,p({className:N(P.root,y),ownerState:j,ref:l,as:m},Ut,{children:[bt.scrollButtonStart,bt.scrollbarSizeListener,u.jsxs(je,{className:P.scroller,ownerState:j,style:{overflow:It.overflow,[C?`margin${a?"Left":"Right"}`:"marginBottom"]:ct?void 0:-It.scrollbarWidth},ref:z,children:[u.jsx(He,{"aria-label":v,"aria-labelledby":h,"aria-orientation":x==="vertical"?"vertical":null,className:P.flexContainer,ownerState:j,onKeyDown:se,ref:A,role:"tablist",children:ne}),Ct&&kt]}),bt.scrollButtonEnd]}))}),yt=De,Ft="index",Y={tabs:`${Ft}-tabs`,tab:`${Ft}-tab`},Xe=de(yt)(({theme:t})=>({[`& .${Y.tabs}`]:{},[`& .${Y.tab}`]:{fontSize:"0.875rem",[t.breakpoints.up("md")]:{fontSize:"1rem"}}}));function qt({tabs:t,current:e,onChange:l,...s}){return u.jsx(yt,{scrollButtons:"auto",value:e,onChange:(n,a)=>l(a),...s,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{borderRadius:"100vw"},".MuiTabs-flexContainer":{borderRadius:"100vw",backgroundColor:$.backgroundsBgComponent,padding:.5,display:"inline-flex",columnGap:.25,maxWidth:"100%",overflowX:"auto"},".MuiTab-root":{borderRadius:"100vw",border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,color:$.foregroundsFgSubtile,fontSize:"13px",fontWeight:"normal",textTransform:"capitalize",transition:"background-color 0.2s ease","&.Mui-selected, &:hover":{backgroundColor:"white",borderColor:$.lineBorderBase,color:$.foregroundsFgBase}},".MuiTabs-indicator":{display:"none"},...s.sx},children:t.map(n=>u.jsx(xt,{className:Y.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}qt.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};function Kt({tabs:t,current:e,onChange:l,...s}){return u.jsx(yt,{scrollButtons:"auto",value:e,onChange:(n,a)=>l(a),...s,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{"&::after":{content:'""',display:"block",width:"100%",height:"1px",backgroundColor:$.strokeBorderStrong,bottom:0}},".MuiTabs-flexContainer":{display:"inline-flex",columnGap:2.5,px:0,pb:.5},".MuiTab-root":{border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,px:0,color:$.foregroundsFgSubtile,fontSize:"14px",fontWeight:500,textTransform:"capitalize",minWidth:"auto","&.Mui-selected, &:hover":{color:$.foregroundsFgBase}},".MuiTabs-indicator":{height:"1px",backgroundColor:$.foregroundsFgBase},...s.sx},children:t.map(n=>u.jsx(xt,{className:Y.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}Kt.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};function _e({tabs:t,current:e,onChange:l,...s}){return s.variant==="card"?u.jsx(qt,{...s,tabs:t,current:e,onChange:l}):s.variant==="line"?u.jsx(Kt,{...s,tabs:t,current:e,onChange:l}):u.jsx(Xe,{scrollButtons:"auto",variant:"scrollable",value:e,onChange:(n,a)=>l(a),indicatorColor:"primary",...s,className:[Y.tabs,s.className||""].join(" "),children:t.map(n=>u.jsx(xt,{className:Y.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}_e.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};export{ge as K,_e as T,Se as a,yt as b,xt as c,ht as t};
1
+ import{aA as vt,aB as mt,aC as D,cD as jt,aD as Ht,aF as p,r as d,aJ as St,aE as at,aH as N,j as u,aI as gt,ao as At,cy as ae,cE as Ot,cF as Dt,cG as Xt,aG as st,bi as ie,cH as ft,cI as ce,c1 as de,M as $,P as W}from"./index-Cl04GA-t.js";let Y;function _t(){if(Y)return Y;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),Y="reverse",t.scrollLeft>0?Y="default":(t.scrollLeft=1,t.scrollLeft===0&&(Y="negative")),document.body.removeChild(t),Y}function ue(t,e){const l=t.scrollLeft;if(e!=="rtl")return l;switch(_t()){case"negative":return t.scrollWidth-t.clientWidth+l;case"reverse":return t.scrollWidth-t.clientWidth-l;default:return l}}function be(t){return mt("MuiTab",t)}const pe=vt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),O=pe,fe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],he=t=>{const{classes:e,textColor:l,fullWidth:s,wrapped:n,icon:a,label:v,selected:h,disabled:b}=t,g={root:["root",a&&v&&"labelIcon",`textColor${Ht(l)}`,s&&"fullWidth",n&&"wrapped",h&&"selected",b&&"disabled"],iconWrapper:["iconWrapper"]};return gt(g,be,e)},ve=D(jt,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.root,l.label&&l.icon&&e.labelIcon,e[`textColor${Ht(l.textColor)}`],l.fullWidth&&e.fullWidth,l.wrapped&&e.wrapped]}})(({theme:t,ownerState:e})=>p({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${O.iconWrapper}`]:p({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${O.selected}`]:{opacity:1},[`&.${O.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${O.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${O.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${O.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${O.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),me=d.forwardRef(function(e,l){const s=St({props:e,name:"MuiTab"}),{className:n,disabled:a=!1,disableFocusRipple:v=!1,fullWidth:h,icon:b,iconPosition:g="top",indicator:B,label:y,onChange:m,onClick:T,onFocus:L,selected:w,selectionFollowsFocus:x,textColor:X="inherit",value:R,wrapped:it=!1}=s,_=at(s,fe),V=p({},s,{disabled:a,disableFocusRipple:v,selected:w,icon:!!b,iconPosition:g,label:!!y,fullWidth:h,textColor:X,wrapped:it}),q=he(V),F=b&&y&&d.isValidElement(b)?d.cloneElement(b,{className:N(q.iconWrapper,b.props.className)}):b,tt=E=>{!w&&m&&m(E,R),T&&T(E)},U=E=>{x&&!w&&m&&m(E,R),L&&L(E)};return u.jsxs(ve,p({focusRipple:!v,className:N(q.root,n),ref:l,role:"tab","aria-selected":w,disabled:a,onClick:tt,onFocus:U,ownerState:V,tabIndex:w?0:-1},_,{children:[g==="top"||g==="start"?u.jsxs(d.Fragment,{children:[F,y]}):u.jsxs(d.Fragment,{children:[y,F]}),B]}))}),xt=me,Se=At(u.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ge=At(u.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function xe(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function ye(t,e,l,s={},n=()=>{}){const{ease:a=xe,duration:v=300}=s;let h=null;const b=e[t];let g=!1;const B=()=>{g=!0},y=m=>{if(g){n(new Error("Animation cancelled"));return}h===null&&(h=m);const T=Math.min(1,(m-h)/v);if(e[t]=a(T)*(l-b)+b,T>=1){requestAnimationFrame(()=>{n(null)});return}requestAnimationFrame(y)};return b===l?(n(new Error("Element already at target position")),B):(requestAnimationFrame(y),B)}const Ce=["onChange"],Be={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Te(t){const{onChange:e}=t,l=at(t,Ce),s=d.useRef(),n=d.useRef(null),a=()=>{s.current=n.current.offsetHeight-n.current.clientHeight};return ae(()=>{const v=Ot(()=>{const b=s.current;a(),b!==s.current&&e(s.current)}),h=Dt(n.current);return h.addEventListener("resize",v),()=>{v.clear(),h.removeEventListener("resize",v)}},[e]),d.useEffect(()=>{a(),e(s.current)},[e]),u.jsx("div",p({style:Be,ref:n},l))}function we(t){return mt("MuiTabScrollButton",t)}const Me=vt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Ie=Me,Re=["className","slots","slotProps","direction","orientation","disabled"],Ee=t=>{const{classes:e,orientation:l,disabled:s}=t;return gt({root:["root",l,s&&"disabled"]},we,e)},ze=D(jt,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.root,l.orientation&&e[l.orientation]]}})(({ownerState:t})=>p({width:40,flexShrink:0,opacity:.8,[`&.${Ie.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),We=d.forwardRef(function(e,l){var s,n;const a=St({props:e,name:"MuiTabScrollButton"}),{className:v,slots:h={},slotProps:b={},direction:g}=a,B=at(a,Re),y=Xt(),m=p({isRtl:y},a),T=Ee(m),L=(s=h.StartScrollButtonIcon)!=null?s:Se,w=(n=h.EndScrollButtonIcon)!=null?n:ge,x=st({elementType:L,externalSlotProps:b.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),X=st({elementType:w,externalSlotProps:b.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return u.jsx(ze,p({component:"div",className:N(T.root,v),ref:l,role:null,ownerState:m,tabIndex:null},B,{children:g==="left"?u.jsx(L,p({},x)):u.jsx(w,p({},X))}))}),Pe=We;function ke(t){return mt("MuiTabs",t)}const Ne=vt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),ht=Ne,$e=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Nt=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,$t=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,nt=(t,e,l)=>{let s=!1,n=l(t,e);for(;n;){if(n===t.firstChild){if(s)return;s=!0}const a=n.disabled||n.getAttribute("aria-disabled")==="true";if(!n.hasAttribute("tabindex")||a)n=l(t,n);else{n.focus();return}}},Le=t=>{const{vertical:e,fixed:l,hideScrollbar:s,scrollableX:n,scrollableY:a,centered:v,scrollButtonsHideMobile:h,classes:b}=t;return gt({root:["root",e&&"vertical"],scroller:["scroller",l&&"fixed",s&&"hideScrollbar",n&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",v&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",h&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[s&&"hideScrollbar"]},ke,b)},Fe=D("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[{[`& .${ht.scrollButtons}`]:e.scrollButtons},{[`& .${ht.scrollButtons}`]:l.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,l.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>p({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${ht.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),je=D("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.scroller,l.fixed&&e.fixed,l.hideScrollbar&&e.hideScrollbar,l.scrollableX&&e.scrollableX,l.scrollableY&&e.scrollableY]}})(({ownerState:t})=>p({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),He=D("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:l}=t;return[e.flexContainer,l.vertical&&e.flexContainerVertical,l.centered&&e.centered]}})(({ownerState:t})=>p({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),Ae=D("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>p({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),Oe=D(Te)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Lt={},De=d.forwardRef(function(e,l){const s=St({props:e,name:"MuiTabs"}),n=ie(),a=Xt(),{"aria-label":v,"aria-labelledby":h,action:b,centered:g=!1,children:B,className:y,component:m="div",allowScrollButtonsMobile:T=!1,indicatorColor:L="primary",onChange:w,orientation:x="horizontal",ScrollButtonComponent:X=Pe,scrollButtons:R="auto",selectionFollowsFocus:it,slots:_={},slotProps:V={},TabIndicatorProps:q={},TabScrollButtonProps:F={},textColor:tt="primary",value:U,variant:E="standard",visibleScrollbar:ct=!1}=s,Yt=at(s,$e),M=E==="scrollable",C=x==="vertical",G=C?"scrollTop":"scrollLeft",et=C?"top":"left",ot=C?"bottom":"right",dt=C?"clientHeight":"clientWidth",J=C?"height":"width",j=p({},s,{component:m,allowScrollButtonsMobile:T,indicatorColor:L,orientation:x,vertical:C,scrollButtons:R,textColor:tt,variant:E,visibleScrollbar:ct,fixed:!M,hideScrollbar:M&&!ct,scrollableX:M&&!C,scrollableY:M&&C,centered:g&&!M,scrollButtonsHideMobile:!T}),P=Le(j),Kt=st({elementType:_.StartScrollButtonIcon,externalSlotProps:V.startScrollButtonIcon,ownerState:j}),Vt=st({elementType:_.EndScrollButtonIcon,externalSlotProps:V.endScrollButtonIcon,ownerState:j}),[Ct,Gt]=d.useState(!1),[H,Bt]=d.useState(Lt),[Tt,Jt]=d.useState(!1),[wt,Qt]=d.useState(!1),[Mt,Zt]=d.useState(!1),[It,te]=d.useState({overflow:"hidden",scrollbarWidth:0}),Rt=new Map,z=d.useRef(null),A=d.useRef(null),Et=()=>{const o=z.current;let r;if(o){const i=o.getBoundingClientRect();r={clientWidth:o.clientWidth,scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollLeftNormalized:ue(o,a?"rtl":"ltr"),scrollWidth:o.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}let c;if(o&&U!==!1){const i=A.current.children;if(i.length>0){const f=i[Rt.get(U)];c=f?f.getBoundingClientRect():null}}return{tabsMeta:r,tabMeta:c}},Q=ft(()=>{const{tabsMeta:o,tabMeta:r}=Et();let c=0,i;if(C)i="top",r&&o&&(c=r.top-o.top+o.scrollTop);else if(i=a?"right":"left",r&&o){const S=a?o.scrollLeftNormalized+o.clientWidth-o.scrollWidth:o.scrollLeft;c=(a?-1:1)*(r[i]-o[i]+S)}const f={[i]:c,[J]:r?r[J]:0};if(isNaN(H[i])||isNaN(H[J]))Bt(f);else{const S=Math.abs(H[i]-f[i]),I=Math.abs(H[J]-f[J]);(S>=1||I>=1)&&Bt(f)}}),ut=(o,{animation:r=!0}={})=>{r?ye(G,z.current,o,{duration:n.transitions.duration.standard}):z.current[G]=o},zt=o=>{let r=z.current[G];C?r+=o:(r+=o*(a?-1:1),r*=a&&_t()==="reverse"?-1:1),ut(r)},Wt=()=>{const o=z.current[dt];let r=0;const c=Array.from(A.current.children);for(let i=0;i<c.length;i+=1){const f=c[i];if(r+f[dt]>o){i===0&&(r=o);break}r+=f[dt]}return r},ee=()=>{zt(-1*Wt())},oe=()=>{zt(Wt())},le=d.useCallback(o=>{te({overflow:null,scrollbarWidth:o})},[]),re=()=>{const o={};o.scrollbarSizeListener=M?u.jsx(Oe,{onChange:le,className:N(P.scrollableX,P.hideScrollbar)}):null;const c=M&&(R==="auto"&&(Tt||wt)||R===!0);return o.scrollButtonStart=c?u.jsx(X,p({slots:{StartScrollButtonIcon:_.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Kt},orientation:x,direction:a?"right":"left",onClick:ee,disabled:!Tt},F,{className:N(P.scrollButtons,F.className)})):null,o.scrollButtonEnd=c?u.jsx(X,p({slots:{EndScrollButtonIcon:_.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:Vt},orientation:x,direction:a?"left":"right",onClick:oe,disabled:!wt},F,{className:N(P.scrollButtons,F.className)})):null,o},Pt=ft(o=>{const{tabsMeta:r,tabMeta:c}=Et();if(!(!c||!r)){if(c[et]<r[et]){const i=r[G]+(c[et]-r[et]);ut(i,{animation:o})}else if(c[ot]>r[ot]){const i=r[G]+(c[ot]-r[ot]);ut(i,{animation:o})}}}),lt=ft(()=>{M&&R!==!1&&Zt(!Mt)});d.useEffect(()=>{const o=Ot(()=>{z.current&&Q()});let r;const c=S=>{S.forEach(I=>{I.removedNodes.forEach(Z=>{var k;(k=r)==null||k.unobserve(Z)}),I.addedNodes.forEach(Z=>{var k;(k=r)==null||k.observe(Z)})}),o(),lt()},i=Dt(z.current);i.addEventListener("resize",o);let f;return typeof ResizeObserver<"u"&&(r=new ResizeObserver(o),Array.from(A.current.children).forEach(S=>{r.observe(S)})),typeof MutationObserver<"u"&&(f=new MutationObserver(c),f.observe(A.current,{childList:!0})),()=>{var S,I;o.clear(),i.removeEventListener("resize",o),(S=f)==null||S.disconnect(),(I=r)==null||I.disconnect()}},[Q,lt]),d.useEffect(()=>{const o=Array.from(A.current.children),r=o.length;if(typeof IntersectionObserver<"u"&&r>0&&M&&R!==!1){const c=o[0],i=o[r-1],f={root:z.current,threshold:.99},S=pt=>{Jt(!pt[0].isIntersecting)},I=new IntersectionObserver(S,f);I.observe(c);const Z=pt=>{Qt(!pt[0].isIntersecting)},k=new IntersectionObserver(Z,f);return k.observe(i),()=>{I.disconnect(),k.disconnect()}}},[M,R,Mt,B==null?void 0:B.length]),d.useEffect(()=>{Gt(!0)},[]),d.useEffect(()=>{Q()}),d.useEffect(()=>{Pt(Lt!==H)},[Pt,H]),d.useImperativeHandle(b,()=>({updateIndicator:Q,updateScrollButtons:lt}),[Q,lt]);const kt=u.jsx(Ae,p({},q,{className:N(P.indicator,q.className),ownerState:j,style:p({},H,q.style)}));let rt=0;const ne=d.Children.map(B,o=>{if(!d.isValidElement(o))return null;const r=o.props.value===void 0?rt:o.props.value;Rt.set(r,rt);const c=r===U;return rt+=1,d.cloneElement(o,p({fullWidth:E==="fullWidth",indicator:c&&!Ct&&kt,selected:c,selectionFollowsFocus:it,onChange:w,textColor:tt,value:r},rt===1&&U===!1&&!o.props.tabIndex?{tabIndex:0}:{}))}),se=o=>{const r=A.current,c=ce(r).activeElement;if(c.getAttribute("role")!=="tab")return;let f=x==="horizontal"?"ArrowLeft":"ArrowUp",S=x==="horizontal"?"ArrowRight":"ArrowDown";switch(x==="horizontal"&&a&&(f="ArrowRight",S="ArrowLeft"),o.key){case f:o.preventDefault(),nt(r,c,$t);break;case S:o.preventDefault(),nt(r,c,Nt);break;case"Home":o.preventDefault(),nt(r,null,Nt);break;case"End":o.preventDefault(),nt(r,null,$t);break}},bt=re();return u.jsxs(Fe,p({className:N(P.root,y),ownerState:j,ref:l,as:m},Yt,{children:[bt.scrollButtonStart,bt.scrollbarSizeListener,u.jsxs(je,{className:P.scroller,ownerState:j,style:{overflow:It.overflow,[C?`margin${a?"Left":"Right"}`:"marginBottom"]:ct?void 0:-It.scrollbarWidth},ref:z,children:[u.jsx(He,{"aria-label":v,"aria-labelledby":h,"aria-orientation":x==="vertical"?"vertical":null,className:P.flexContainer,ownerState:j,onKeyDown:se,ref:A,role:"tablist",children:ne}),Ct&&kt]}),bt.scrollButtonEnd]}))}),yt=De,Ft="index",K={tabs:`${Ft}-tabs`,tab:`${Ft}-tab`},Xe=de(yt)(({theme:t})=>({[`& .${K.tabs}`]:{},[`& .${K.tab}`]:{fontSize:"0.875rem",[t.breakpoints.up("md")]:{fontSize:"1rem"}}}));function qt({tabs:t,current:e,onChange:l,...s}){return u.jsx(yt,{scrollButtons:"auto",value:e,onChange:(n,a)=>l(a),...s,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{borderRadius:"100vw"},".MuiTabs-flexContainer":{borderRadius:"100vw",backgroundColor:$.backgroundsBgComponent,padding:.5,display:"inline-flex",columnGap:.25,maxWidth:"100%",overflowX:"auto"},".MuiTab-root":{borderRadius:"100vw",border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,color:$.foregroundsFgSubtile,fontSize:"13px",fontWeight:"normal",textTransform:"capitalize",transition:"background-color 0.2s ease","&.Mui-selected, &:hover":{backgroundColor:"white",borderColor:$.lineBorderBase,color:$.foregroundsFgBase}},".MuiTabs-indicator":{display:"none"},...s.sx},children:t.map(n=>u.jsx(xt,{className:K.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}qt.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};function Ut({tabs:t,current:e,onChange:l,...s}){return u.jsx(yt,{scrollButtons:"auto",value:e,onChange:(n,a)=>l(a),...s,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{"&::after":{content:'""',display:"block",width:"100%",height:"1px",backgroundColor:$.strokeBorderStrong,bottom:0}},".MuiTabs-flexContainer":{display:"inline-flex",columnGap:2.5,px:0,pb:.5},".MuiTab-root":{border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,px:0,color:$.foregroundsFgSubtile,fontSize:"14px",fontWeight:500,textTransform:"capitalize",minWidth:"auto","&.Mui-selected, &:hover":{color:$.foregroundsFgBase}},".MuiTabs-indicator":{height:"1px",backgroundColor:$.foregroundsFgBase},...s.sx},children:t.map(n=>u.jsx(xt,{className:K.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}Ut.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};function _e({tabs:t,current:e,onChange:l,...s}){return s.variant==="card"?u.jsx(qt,{...s,tabs:t,current:e,onChange:l}):s.variant==="line"?u.jsx(Ut,{...s,tabs:t,current:e,onChange:l}):u.jsx(Xe,{scrollButtons:"auto",variant:"scrollable",value:e,onChange:(n,a)=>l(a),indicatorColor:"primary",...s,className:[K.tabs,s.className||""].join(" "),children:t.map(n=>u.jsx(xt,{className:K.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}_e.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};export{ge as K,_e as T,Se as a,yt as b,xt as c,ht as t};
@@ -0,0 +1,16 @@
1
+ import{r,aP as d,j as e,b as p,ae as M,bm as I,cj as z,P as o,bw as E,c1 as m,bl as O}from"./index-Cl04GA-t.js";import{d as S}from"./ExpandMore-eB64-CR7.js";import{B as v}from"./ButtonGroup-CUkbJx8D.js";function u(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...j}=s,[g,c]=r.useState(!1),t=r.useRef(null),P=Array.isArray(a)?a.map((n,b)=>r.isValidElement(n)?n:r.createElement(d,{...n,key:b})):a,k=()=>{c(n=>!n)},B=n=>{t.current&&t.current.contains(n.target)||c(!1)},C=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(w,{variant:h,size:f,color:i,ref:t,...j,children:[typeof l=="function"?l():e.jsx(p,{onClick:x,color:i,children:l}),e.jsx(p,{onClick:k,color:i,...y,"aria-label":"more functions",children:e.jsx(S,{})})]}),e.jsx(A,{open:g,anchorEl:t.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(M,{children:e.jsx(I,{onClickAway:B,children:e.jsx(z,{onClick:C,children:P})})})})]})}u.propTypes={size:o.oneOf(["small","medium","large"]),color:o.oneOf(["primary","secondary","inherit"]),menu:o.oneOfType([o.node,o.array]),children:o.node,variant:o.oneOf(["outlined","contained"]),onClick:o.func,menuButtonProps:o.object};u.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:E,menuButtonProps:{}};u.Item=d;const w=m(v)`
2
+ > .MuiButtonBase-root:last-of-type {
3
+ min-width: 2em;
4
+ padding-left: 0;
5
+ padding-right: 0;
6
+ }
7
+ `,A=m(O)`
8
+ z-index: ${s=>s.theme.zIndex.tooltip};
9
+ .MuiList-root {
10
+ padding: 4px 0;
11
+ }
12
+ .MuiListItem-root {
13
+ padding-top: 4px;
14
+ padding-bottom: 4px;
15
+ }
16
+ `;export{u as S};
@@ -1,4 +1,4 @@
1
- import{b$ as e,P as o,r as u,j as p,c0 as h,c1 as x,bj as b,T as w}from"./index-BvsLirqD.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,bi as b,T as w}from"./index-Cl04GA-t.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 +1 @@
1
- import{r as v,j as c,P as f,a1 as d}from"./index-BvsLirqD.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var s=o.default=void 0;m(v);var n=c;function m(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(a){y(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function y(e,t,r){return t=g(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(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 a=r.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var i=function(t){return(0,n.jsxs)("svg",u(u({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};i.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};i.displayName="connect-logo";s=o.default=i;function p({children:e,...t}){return c.jsxs(d,{color:"did",variant:"contained",...t,children:[c.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),c.jsx(s,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}p.propTypes={children:f.any};p.defaultProps={children:""};export{p as C};
1
+ import{r as v,j as c,P as f,a1 as d}from"./index-Cl04GA-t.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var s=o.default=void 0;m(v);var n=c;function m(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(a){y(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function y(e,t,r){return t=g(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(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 a=r.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var i=function(t){return(0,n.jsxs)("svg",u(u({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};i.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};i.displayName="connect-logo";s=o.default=i;function p({children:e,...t}){return c.jsxs(d,{color:"did",variant:"contained",...t,children:[c.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),c.jsx(s,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}p.propTypes={children:f.any};p.defaultProps={children:""};export{p as C};
@@ -1,4 +1,4 @@
1
- import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as ae,j as o,aI as T,aJ as Re,d6 as eo,cU as oo,bj as oe,cF as ro,d7 as to,P as t,X as ie,Y as le,c0 as v,ac as no,ay as de,L as Q,T as F,b as ao,az as Me,B as C,c1 as so,F as S,d8 as io,H as Te,$ as lo,N as co,f as po,d9 as uo,h as ho,da as xo,db as mo}from"./index-BvsLirqD.js";import{T as fo}from"./Toolbar-CSkIjhiI.js";import{H as Be}from"./Hidden-BLdLc8h9.js";import{d as go}from"./MoreHoriz-D2VMH51n.js";import{d as bo}from"./ExpandMore-Dw5iC69g.js";const se={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function vo(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const yo=["className","color","enableColorOnDark","position"],jo=e=>{const{color:r,position:n,classes:a}=e,s={root:["root",`color${W(r)}`,`position${W(n)}`]};return Re(s,vo,a)},K=(e,r)=>e?`${e==null?void 0:e.replace(")","")}, ${r})`:r,wo=ee(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.root,r[`position${W(n.position)}`],r[`color${W(n.color)}`]]}})(({theme:e,ownerState:r})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return P({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},r.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},r.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="static"&&{position:"static"},r.position==="relative"&&{position:"relative"},!e.vars&&P({},r.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},r.color&&r.color!=="default"&&r.color!=="inherit"&&r.color!=="transparent"&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},r.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!r.enableColorOnDark&&{backgroundColor:null,color:null},r.color==="transparent"&&P({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&P({},r.color==="default"&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:K(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:K(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:K(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:K(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:r.color==="inherit"?"inherit":"var(--AppBar-color)"},r.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),ko=c.forwardRef(function(r,n){const a=Ce({props:r,name:"MuiAppBar"}),{className:s,color:p="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,u=ae(a,yo),l=P({},a,{color:p,position:i,enableColorOnDark:d}),h=jo(l);return o.jsx(wo,P({square:!0,component:"header",ownerState:l,elevation:4,className:T(h.root,s,i==="fixed"&&"mui-fixed"),ref:n},u))}),$o=ko;function Po(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const zo=["BackdropProps"],No=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Le=(e,r)=>{const{ownerState:n}=e;return[r.root,(n.variant==="permanent"||n.variant==="persistent")&&r.docked,r.modal]},Co=e=>{const{classes:r,anchor:n,variant:a}=e,s={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(n)}`,a!=="temporary"&&`paperAnchorDocked${W(n)}`]};return Re(s,Po,r)},Ro=ee(eo,{name:"MuiDrawer",slot:"Root",overridesResolver:Le})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=ee("div",{shouldForwardProp:oo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Le})({flex:"0 0 auto"}),Mo=ee(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.paper,r[`paperAnchor${W(n.anchor)}`],n.variant!=="temporary"&&r[`paperAnchorDocked${W(n.anchor)}`]]}})(({theme:e,ownerState:r})=>P({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Ae={left:"right",right:"left",top:"down",bottom:"up"};function To(e){return["left","right"].indexOf(e)!==-1}function Bo({direction:e},r){return e==="rtl"&&To(r)?Ae[r]:r}const Lo=c.forwardRef(function(r,n){const a=Ce({props:r,name:"MuiDrawer"}),s=oe(),p=ro(),d={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:u,children:l,className:h,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:y}={},onClose:z,open:g=!1,PaperProps:b={},SlideProps:N,TransitionComponent:w=to,transitionDuration:R=d,variant:M="temporary"}=a,I=ae(a.ModalProps,zo),k=ae(a,No),$=c.useRef(!1);c.useEffect(()=>{$.current=!0},[]);const _=Bo({direction:p?"rtl":"ltr"},i),B=P({},a,{anchor:i,elevation:m,open:g,variant:M},k),L=Co(B),J=o.jsx(Mo,P({elevation:M==="temporary"?m:0,square:!0},b,{className:T(L.paper,b.className),ownerState:B,children:l}));if(M==="permanent")return o.jsx(ke,P({className:T(L.root,L.docked,h),ownerState:B,ref:n},k,{children:J}));const q=o.jsx(w,P({in:g,direction:Ae[_],timeout:R,appear:$.current},N,{children:J}));return M==="persistent"?o.jsx(ke,P({className:T(L.root,L.docked,h),ownerState:B,ref:n},k,{children:q})):o.jsx(Ro,P({BackdropProps:P({},u,y,{transitionDuration:R}),className:T(L.root,L.modal,h),open:g,ownerState:B,onClose:z,hideBackdrop:j,ref:n},k,I,{children:q}))}),De=Lo,Ie=c.createContext(),Ao=e=>{const r=c.useContext(Ie);return c.useLayoutEffect(()=>{e&&r.configure(e)},[]),r};function _e({children:e,...r}){const[n,a]=c.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},p=c.useMemo(()=>({...n,headerVisible:!n.inFullPage||n.headerVisibleInFullPage,footerVisible:!n.inFullPage||n.footerVisibleInFullPage,sidebarVisible:!n.inFullPage||n.sidebarVisibleInFullPage,toggleFullPage:s,configure:d=>a(i=>({...i,...d}))}),[n]);return o.jsx(Ie.Provider,{value:p,...r,children:e})}_e.propTypes={children:t.node.isRequired};var ce={},Do=le;Object.defineProperty(ce,"__esModule",{value:!0});var Fe=ce.default=void 0,Io=Do(ie()),_o=o;Fe=ce.default=(0,Io.default)((0,_o.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Fo=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,Wo=Fo(ie()),Oo=o;We=pe.default=(0,Wo.default)((0,Oo.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function ue({name:e,size:r,alt:n,color:a,style:s,prefix:p,showBadge:d,...i}){const u=`${p}/${e}-${a.replace(/^#/,"")}.png`;return o.jsxs(Ho,{style:{width:r,height:r},children:[o.jsx(no,{width:r,height:r,alt:n||e,src:u,style:Object.assign({width:r},s),...i}),d&&o.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:t.string.isRequired,size:t.number,color:t.string,alt:t.string,style:t.object,prefix:t.string,showBadge:t.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const Ho=v("div")`
1
+ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as c,aJ as Ce,aE as ae,j as o,aH as T,aI as Re,d7 as eo,cV as oo,bi as oe,cG as ro,d8 as to,P as t,X as ie,Y as le,c1 as v,ac as no,ax as de,L as K,T as F,b as ao,ay as Me,B as C,c2 as so,F as S,d9 as io,H as Te,$ as lo,N as co,f as po,da as uo,h as ho,db as xo,dc as mo}from"./index-Cl04GA-t.js";import{T as fo}from"./Toolbar-XVIuGeuS.js";import{H as Be}from"./Hidden-CSvVqUp2.js";import{d as go}from"./MoreHoriz-S86jiXzp.js";import{d as bo}from"./ExpandMore-eB64-CR7.js";const se={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function vo(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const yo=["className","color","enableColorOnDark","position"],jo=e=>{const{color:r,position:n,classes:a}=e,s={root:["root",`color${W(r)}`,`position${W(n)}`]};return Re(s,vo,a)},Q=(e,r)=>e?`${e==null?void 0:e.replace(")","")}, ${r})`:r,wo=ee(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.root,r[`position${W(n.position)}`],r[`color${W(n.color)}`]]}})(({theme:e,ownerState:r})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return P({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},r.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},r.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="static"&&{position:"static"},r.position==="relative"&&{position:"relative"},!e.vars&&P({},r.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},r.color&&r.color!=="default"&&r.color!=="inherit"&&r.color!=="transparent"&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},r.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!r.enableColorOnDark&&{backgroundColor:null,color:null},r.color==="transparent"&&P({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&P({},r.color==="default"&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Q(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:Q(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:Q(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:Q(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:r.color==="inherit"?"inherit":"var(--AppBar-color)"},r.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),ko=c.forwardRef(function(r,n){const a=Ce({props:r,name:"MuiAppBar"}),{className:s,color:p="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,u=ae(a,yo),l=P({},a,{color:p,position:i,enableColorOnDark:d}),h=jo(l);return o.jsx(wo,P({square:!0,component:"header",ownerState:l,elevation:4,className:T(h.root,s,i==="fixed"&&"mui-fixed"),ref:n},u))}),$o=ko;function Po(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const zo=["BackdropProps"],No=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ae=(e,r)=>{const{ownerState:n}=e;return[r.root,(n.variant==="permanent"||n.variant==="persistent")&&r.docked,r.modal]},Co=e=>{const{classes:r,anchor:n,variant:a}=e,s={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(n)}`,a!=="temporary"&&`paperAnchorDocked${W(n)}`]};return Re(s,Po,r)},Ro=ee(eo,{name:"MuiDrawer",slot:"Root",overridesResolver:Ae})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=ee("div",{shouldForwardProp:oo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ae})({flex:"0 0 auto"}),Mo=ee(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.paper,r[`paperAnchor${W(n.anchor)}`],n.variant!=="temporary"&&r[`paperAnchorDocked${W(n.anchor)}`]]}})(({theme:e,ownerState:r})=>P({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Le={left:"right",right:"left",top:"down",bottom:"up"};function To(e){return["left","right"].indexOf(e)!==-1}function Bo({direction:e},r){return e==="rtl"&&To(r)?Le[r]:r}const Ao=c.forwardRef(function(r,n){const a=Ce({props:r,name:"MuiDrawer"}),s=oe(),p=ro(),d={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:u,children:l,className:h,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:y}={},onClose:z,open:g=!1,PaperProps:b={},SlideProps:N,TransitionComponent:w=to,transitionDuration:R=d,variant:M="temporary"}=a,I=ae(a.ModalProps,zo),k=ae(a,No),$=c.useRef(!1);c.useEffect(()=>{$.current=!0},[]);const _=Bo({direction:p?"rtl":"ltr"},i),B=P({},a,{anchor:i,elevation:m,open:g,variant:M},k),A=Co(B),J=o.jsx(Mo,P({elevation:M==="temporary"?m:0,square:!0},b,{className:T(A.paper,b.className),ownerState:B,children:l}));if(M==="permanent")return o.jsx(ke,P({className:T(A.root,A.docked,h),ownerState:B,ref:n},k,{children:J}));const q=o.jsx(w,P({in:g,direction:Le[_],timeout:R,appear:$.current},N,{children:J}));return M==="persistent"?o.jsx(ke,P({className:T(A.root,A.docked,h),ownerState:B,ref:n},k,{children:q})):o.jsx(Ro,P({BackdropProps:P({},u,y,{transitionDuration:R}),className:T(A.root,A.modal,h),open:g,ownerState:B,onClose:z,hideBackdrop:j,ref:n},k,I,{children:q}))}),De=Ao,Ie=c.createContext(),Lo=e=>{const r=c.useContext(Ie);return c.useLayoutEffect(()=>{e&&r.configure(e)},[]),r};function _e({children:e,...r}){const[n,a]=c.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},p=c.useMemo(()=>({...n,headerVisible:!n.inFullPage||n.headerVisibleInFullPage,footerVisible:!n.inFullPage||n.footerVisibleInFullPage,sidebarVisible:!n.inFullPage||n.sidebarVisibleInFullPage,toggleFullPage:s,configure:d=>a(i=>({...i,...d}))}),[n]);return o.jsx(Ie.Provider,{value:p,...r,children:e})}_e.propTypes={children:t.node.isRequired};var ce={},Do=le;Object.defineProperty(ce,"__esModule",{value:!0});var Fe=ce.default=void 0,Io=Do(ie()),_o=o;Fe=ce.default=(0,Io.default)((0,_o.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Fo=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,Wo=Fo(ie()),Oo=o;We=pe.default=(0,Wo.default)((0,Oo.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function ue({name:e,size:r,alt:n,color:a,style:s,prefix:p,showBadge:d,...i}){const u=`${p}/${e}-${a.replace(/^#/,"")}.png`;return o.jsxs(Ho,{style:{width:r,height:r},children:[o.jsx(no,{width:r,height:r,alt:n||e,src:u,style:Object.assign({width:r},s),...i}),d&&o.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:t.string.isRequired,size:t.number,color:t.string,alt:t.string,style:t.object,prefix:t.string,showBadge:t.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const Ho=v("div")`
2
2
  position: relative;
3
3
  .badge-point {
4
4
  position: absolute;
@@ -20,7 +20,7 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
20
20
  ${e=>e.layout==="vertical"?"margin-top: 8px;":""}
21
21
  ${e=>e.layout==="vertical"?"":"margin-left: 8px;"};
22
22
  }
23
- `;function he({images:e,links:r,prefix:n,addons:a,logo:s,...p}){const d=oe(),i=de(),u=(l,h)=>new RegExp(`/${h}`).test(i.pathname);return o.jsxs(qo,{...p,children:[o.jsx(Q,{to:"/",className:"sidebar-logo",children:s||o.jsx(U,{showText:!1,size:20})}),r.map(({url:l,name:h,title:m,showBadge:j})=>{const y=u(l,h);return o.jsxs(Eo,{component:Q,selected:y,to:l,children:[o.jsx(ue,{name:e[h],size:36,color:y?"#00c2c4":d.typography.color.main,prefix:n,showBadge:j}),o.jsx(F,{component:"span",className:"menu-title",children:m})]},l)}),o.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:t.object.isRequired,links:t.array.isRequired,prefix:t.string,addons:t.any,logo:t.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const qo=c.memo(v("div")`
23
+ `;function he({images:e,links:r,prefix:n,addons:a,logo:s,...p}){const d=oe(),i=de(),u=(l,h)=>new RegExp(`/${h}`).test(i.pathname);return o.jsxs(qo,{...p,children:[o.jsx(K,{to:"/",className:"sidebar-logo",children:s||o.jsx(U,{showText:!1,size:20})}),r.map(({url:l,name:h,title:m,showBadge:j})=>{const y=u(l,h);return o.jsxs(Eo,{component:K,selected:y,to:l,children:[o.jsx(ue,{name:e[h],size:36,color:y?"#00c2c4":d.typography.color.main,prefix:n,showBadge:j}),o.jsx(F,{component:"span",className:"menu-title",children:m})]},l)}),o.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:t.object.isRequired,links:t.array.isRequired,prefix:t.string,addons:t.any,logo:t.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const qo=c.memo(v("div")`
24
24
  flex: 1;
25
25
  display: flex;
26
26
  flex-direction: column;
@@ -140,7 +140,7 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
140
140
  display: block;
141
141
  }
142
142
  }
143
- `;function me({children:e,brand:r,brandAddon:n,description:a,addons:s,onToggleMenu:p,homeUrl:d,logo:i,...u}){return o.jsx(Yo,{position:"sticky",className:"header",...u,children:o.jsxs(fo,{disableGutters:!1,className:"header-toolbar",children:[o.jsx(Me,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:p,children:o.jsx(re,{})}),o.jsxs(Q,{to:d,className:"header-link",children:[o.jsx(Be,{mdDown:!0,children:o.jsx("div",{className:"header-logo",children:i||o.jsx(U,{showText:!1})})}),o.jsxs("div",{className:"header-title",children:[o.jsxs(F,{component:"h2",noWrap:!0,className:"header-title__primary",children:[r,n]}),o.jsx(F,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),o.jsx(C,{flexGrow:1}),!!e&&o.jsx("div",{className:"header-children",children:e}),o.jsx("div",{className:"header-addons",children:s})]})})}me.propTypes={onToggleMenu:t.func.isRequired,brand:t.string.isRequired,brandAddon:t.object,description:t.any.isRequired,children:t.any,addons:t.any,homeUrl:t.string,logo:t.any};me.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function H(e){var m;const r=so(e,H,["dark","style"]),{className:n,copyStart:a,style:s,brand:p,dark:d,addon:i}=r,u=`${new Date().getFullYear()}`,l=`${a}`,h=u===l?u:`${l}-${u}`;return o.jsxs(Xo,{className:n,style:s,dark:d,children:[o.jsx(S,{maxWidth:!1,children:o.jsxs(F,{component:"div",className:"footer",children:[o.jsxs(F,{component:"p",className:"footer-item",children:[o.jsxs("span",{className:"footer-copy",children:["Copyright © ",h," "]}),o.jsx("span",{className:"footer-brand",children:p})]}),i&&o.jsx(F,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),o.jsxs(F,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",o.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),o.jsx(C,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(m=window==null?void 0:window.blocklet)==null?void 0:m.version})]})}H.propTypes={dark:t.bool,className:t.string,copyStart:t.oneOfType([t.string,t.number]),brand:t.string,style:t.object,addon:t.node};H.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Xo=v("div",{shouldForwardProp:e=>e!=="dark"})`
143
+ `;function me({children:e,brand:r,brandAddon:n,description:a,addons:s,onToggleMenu:p,homeUrl:d,logo:i,...u}){return o.jsx(Yo,{position:"sticky",className:"header",...u,children:o.jsxs(fo,{disableGutters:!1,className:"header-toolbar",children:[o.jsx(Me,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:p,children:o.jsx(re,{})}),o.jsxs(K,{to:d,className:"header-link",children:[o.jsx(Be,{mdDown:!0,children:o.jsx("div",{className:"header-logo",children:i||o.jsx(U,{showText:!1})})}),o.jsxs("div",{className:"header-title",children:[o.jsxs(F,{component:"h2",noWrap:!0,className:"header-title__primary",children:[r,n]}),o.jsx(F,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),o.jsx(C,{flexGrow:1}),!!e&&o.jsx("div",{className:"header-children",children:e}),o.jsx("div",{className:"header-addons",children:s})]})})}me.propTypes={onToggleMenu:t.func.isRequired,brand:t.string.isRequired,brandAddon:t.object,description:t.any.isRequired,children:t.any,addons:t.any,homeUrl:t.string,logo:t.any};me.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function H(e){var m;const r=so(e,H,["dark","style"]),{className:n,copyStart:a,style:s,brand:p,dark:d,addon:i}=r,u=`${new Date().getFullYear()}`,l=`${a}`,h=u===l?u:`${l}-${u}`;return o.jsxs(Xo,{className:n,style:s,dark:d,children:[o.jsx(S,{maxWidth:!1,children:o.jsxs(F,{component:"div",className:"footer",children:[o.jsxs(F,{component:"p",className:"footer-item",children:[o.jsxs("span",{className:"footer-copy",children:["Copyright © ",h," "]}),o.jsx("span",{className:"footer-brand",children:p})]}),i&&o.jsx(F,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),o.jsxs(F,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",o.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),o.jsx(C,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(m=window==null?void 0:window.blocklet)==null?void 0:m.version})]})}H.propTypes={dark:t.bool,className:t.string,copyStart:t.oneOfType([t.string,t.number]),brand:t.string,style:t.object,addon:t.node};H.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Xo=v("div",{shouldForwardProp:e=>e!=="dark"})`
144
144
  position: relative;
145
145
  margin-top: 64px;
146
146
  padding: 24px 0 32px;
@@ -228,7 +228,7 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
228
228
  box-shadow: 2px 16px 10px 0 rgba(0, 0, 0, ${e=>e.theme.mode==="light"?.05:.5});
229
229
  border: 0;
230
230
  }
231
- `;function fe({children:e,title:r,brand:n,description:a,brandAddon:s,headerAddon:p,images:d,links:i,prefix:u,fullWidth:l,contentLayout:h,className:m,homeUrl:j,logo:y,...z}){const b=io(document.body),N=(b==null?void 0:b.width)||0,[w,R]=c.useState(N>=960?"permanent":"temporary"),[M,I]=c.useState(w==="permanent");c.useEffect(()=>{const _=N>=960?"permanent":"temporary";R(_),I(_!=="temporary")},[N]);const k=()=>{I(!M)},$=l||h==="row";return o.jsxs(Jo,{className:`dashboard ${m}`,...z,children:[o.jsx(Te,{title:`${r}-${n}`}),o.jsx(me,{className:"dashboard__header",onToggleMenu:k,brand:n,brandAddon:s,description:a,addons:p,homeUrl:j,logo:y}),o.jsxs(C,{display:"flex",className:"dashboard__body",children:[o.jsx(De,{variant:w,className:"drawer",classes:{paper:"drawerPaper"},open:M,onClose:k,ModalProps:{disablePortal:!0,keepMounted:!0},children:o.jsx(he,{className:"dashboard__sidebar",images:d,links:i,prefix:u,logo:y})}),o.jsxs(C,{className:"dashboard__main",children:[o.jsx(S,{maxWidth:$?!1:"lg",className:"dashboard__content",children:e}),o.jsx(H,{})]})]})]})}fe.propTypes={children:t.any.isRequired,title:t.string,brand:t.string.isRequired,links:t.array.isRequired,images:t.object.isRequired,brandAddon:t.object,description:t.any.isRequired,headerAddon:t.any,prefix:t.string,contentLayout:t.oneOf(["row","column"]),fullWidth:t.bool,className:t.string,homeUrl:t.string,logo:t.any};fe.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Ee({height:e,...r}){return o.jsx(Ko,{height:e,...r})}Ee.propTypes={height:t.oneOfType([t.number,t.string]).isRequired};const Ko=v(C)`
231
+ `;function fe({children:e,title:r,brand:n,description:a,brandAddon:s,headerAddon:p,images:d,links:i,prefix:u,fullWidth:l,contentLayout:h,className:m,homeUrl:j,logo:y,...z}){const b=io(document.body),N=(b==null?void 0:b.width)||0,[w,R]=c.useState(N>=960?"permanent":"temporary"),[M,I]=c.useState(w==="permanent");c.useEffect(()=>{const _=N>=960?"permanent":"temporary";R(_),I(_!=="temporary")},[N]);const k=()=>{I(!M)},$=l||h==="row";return o.jsxs(Jo,{className:`dashboard ${m}`,...z,children:[o.jsx(Te,{title:`${r}-${n}`}),o.jsx(me,{className:"dashboard__header",onToggleMenu:k,brand:n,brandAddon:s,description:a,addons:p,homeUrl:j,logo:y}),o.jsxs(C,{display:"flex",className:"dashboard__body",children:[o.jsx(De,{variant:w,className:"drawer",classes:{paper:"drawerPaper"},open:M,onClose:k,ModalProps:{disablePortal:!0,keepMounted:!0},children:o.jsx(he,{className:"dashboard__sidebar",images:d,links:i,prefix:u,logo:y})}),o.jsxs(C,{className:"dashboard__main",children:[o.jsx(S,{maxWidth:$?!1:"lg",className:"dashboard__content",children:e}),o.jsx(H,{})]})]})]})}fe.propTypes={children:t.any.isRequired,title:t.string,brand:t.string.isRequired,links:t.array.isRequired,images:t.object.isRequired,brandAddon:t.object,description:t.any.isRequired,headerAddon:t.any,prefix:t.string,contentLayout:t.oneOf(["row","column"]),fullWidth:t.bool,className:t.string,homeUrl:t.string,logo:t.any};fe.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Ee({height:e,...r}){return o.jsx(Qo,{height:e,...r})}Ee.propTypes={height:t.oneOfType([t.number,t.string]).isRequired};const Qo=v(C)`
232
232
  overflow: hidden;
233
233
  &:before {
234
234
  content: '';
@@ -241,7 +241,7 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
241
241
  float: left;
242
242
  white-space: nowrap;
243
243
  }
244
- `;function V({logo:e,brand:r,brandAddon:n,description:a,children:s,addons:p,prepend:d,align:i,maxWidth:u,homeLink:l,...h}){const m=c.useRef(),[j,y]=c.useState("0px"),z={minWidth:j};c.useEffect(()=>{m.current&&y(`${m.current.offsetWidth}px`)},[]);const g=()=>{const b=o.jsxs(o.Fragment,{children:[e&&o.jsx("div",{className:"header-logo",ref:m,children:e}),r&&o.jsx(Ee,{height:44,sx:{flexShrink:{xs:1}},children:o.jsxs("div",{className:"header-brand",children:[o.jsx("div",{className:"header-brand-title",children:o.jsx("h2",{children:r})}),o.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof l=="function"?l(b):o.jsx("a",{href:l,children:b})};return o.jsx(Qo,{...h,children:o.jsxs(S,{maxWidth:u,className:"header-container",children:[d,o.jsx("div",{className:"header-brand-wrapper",style:z,children:g()}),o.jsx("div",{className:"header-brand-addon",children:n}),i==="right"&&o.jsx(C,{flexGrow:1}),s,i==="left"&&o.jsx(C,{flexGrow:1}),o.jsx("div",{className:"header-addons",children:p})]})})}V.propTypes={logo:t.node,brand:t.node,brandAddon:t.node,description:t.node,children:t.node,addons:t.node,prepend:t.node,align:t.oneOf(["left","right"]),maxWidth:t.oneOfType([t.string,t.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:t.oneOfType([t.string,t.func])};V.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const Qo=v("div")`
244
+ `;function V({logo:e,brand:r,brandAddon:n,description:a,children:s,addons:p,prepend:d,align:i,maxWidth:u,homeLink:l,...h}){const m=c.useRef(),[j,y]=c.useState("0px"),z={minWidth:j};c.useEffect(()=>{m.current&&y(`${m.current.offsetWidth}px`)},[]);const g=()=>{const b=o.jsxs(o.Fragment,{children:[e&&o.jsx("div",{className:"header-logo",ref:m,children:e}),r&&o.jsx(Ee,{height:44,sx:{flexShrink:{xs:1}},children:o.jsxs("div",{className:"header-brand",children:[o.jsx("div",{className:"header-brand-title",children:o.jsx("h2",{children:r})}),o.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof l=="function"?l(b):o.jsx("a",{href:l,children:b})};return o.jsx(Ko,{...h,children:o.jsxs(S,{maxWidth:u,className:"header-container",children:[d,o.jsx("div",{className:"header-brand-wrapper",style:z,children:g()}),o.jsx("div",{className:"header-brand-addon",children:n}),i==="right"&&o.jsx(C,{flexGrow:1}),s,i==="left"&&o.jsx(C,{flexGrow:1}),o.jsx("div",{className:"header-addons",children:p})]})})}V.propTypes={logo:t.node,brand:t.node,brandAddon:t.node,description:t.node,children:t.node,addons:t.node,prepend:t.node,align:t.oneOf(["left","right"]),maxWidth:t.oneOfType([t.string,t.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:t.oneOfType([t.string,t.func])};V.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const Ko=v("div")`
245
245
  position: relative;
246
246
  z-index: ${e=>e.theme.zIndex.appBar};
247
247
  font-size: 14px;
@@ -532,7 +532,7 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
532
532
  .navmenu-sub--opened > .navmenu-sub-container {
533
533
  display: block;
534
534
  }
535
- `,be=c.createContext();function Ue(e){return e?c.Children.toArray(e).filter(r=>r.type===Y||r.type===O):null}function Ge(e){return c.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function G({items:e,mode:r,children:n,activeId:a,textColor:s,activeTextColor:p,bgColor:d,onSelected:i,...u}){var q;if(n=Ue(n),!(e!=null&&e.length)&&!(n!=null&&n.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const[l,h]=c.useState({activeId:a,openedIds:[]}),m=c.useCallback(x=>{h(f=>({...f,activeId:x})),i==null||i(x)},[i]),j=c.useCallback(x=>{h(f=>({...f,openedIds:[...f.openedIds,x]}))},[]),y=c.useCallback(x=>{h(f=>({...f,openedIds:f.openedIds.filter(A=>A!==x)}))},[]),z=c.useMemo(()=>({...l,mode:r,activate:m,open:j,close:y}),[l,r,m,j,y]),[g,b]=c.useState(0),N=c.useRef(),w=c.useRef([]),R=c.useRef(),M=g===((q=w.current)==null?void 0:q.length),I=M?o.jsx(re,{}):o.jsx(go,{}),k=M?{marginLeft:"0px"}:void 0,$=x=>c.Children.map(x,(f,A)=>c.cloneElement(f,{ref:D=>{w.current[A]=D}})),_=ho(()=>{var je;let x=0,f=0,A=!1;const D=((je=N.current)==null?void 0:je.offsetWidth)||0,ne=R.current?R.current.offsetWidth+parseFloat(window.getComputedStyle(R.current).marginLeft):0;w.current.forEach((E,Qe)=>{if(E){E.style.display="flex";const Ze=Qe>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+Ze;D-ne>=x+we&&!A?x+=we:(E.style.display="none",A=!0,f++)}}),f!==g&&b(f)});c.useEffect(()=>{if(r==="horizontal")return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[r]),c.useEffect(()=>{a!=null&&h(x=>({...x,activeId:a}))},[a]);const ye=T("navmenu",`navmenu--${r}`,u.className),B=(x,f,A=!1)=>x!=null&&x.children?o.jsx(O,{id:x.id,icon:x.icon,label:x.label,ref:A?D=>{w.current[f]=D}:void 0,children:x.children.map((D,ne)=>B(D,ne,!1))},f):o.jsx(Y,{id:x.id,icon:x.icon,label:x.label,active:x.active,ref:A?D=>{w.current[f]=D}:void 0},f),L=e?e==null?void 0:e.slice(-g).map((x,f)=>B(x,f)):n==null?void 0:n.slice(-g),J=r==="inline"?rr:or;return o.jsx(be.Provider,{value:z,children:o.jsx(J,{...u,className:ye,$textColor:s,$activeTextColor:p,$bgColor:d,children:o.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((x,f)=>B(x,f,!0)):$(n),g>0&&o.jsx(O,{expandIcon:!1,icon:I,label:"",ref:R,style:k,children:L})]})})})}G.propTypes={items:t.array,mode:t.oneOf(["horizontal","vertical","inline"]),children:t.array,activeId:t.string,textColor:t.string,activeTextColor:t.string,bgColor:t.string,onSelected:t.func};G.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const Y=c.forwardRef(({id:e,icon:r,label:n,active:a,onClick:s,...p},d)=>{const i=Ge(e),{activeId:u,activate:l}=c.useContext(be),h=T("navmenu-item",{"navmenu-item--active":u===i},p.className);c.useEffect(()=>{a&&l(i)},[a]);const m=()=>{s==null||s(),l(i)};return o.jsxs("li",{...p,className:h,onClick:m,ref:d,children:[r&&o.jsx("span",{className:"navmenu-item-icon",children:r}),o.jsx("span",{className:"navmenu-item-label",children:n})]})});Y.propTypes={id:t.string,icon:t.element,label:t.node,active:t.bool,onClick:t.func};Y.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=c.forwardRef(({id:e,icon:r,label:n,children:a,expandIcon:s,...p},d)=>{const i=Ge(e),{openedIds:u,open:l,close:h,mode:m}=c.useContext(be),j=u.includes(i),y=T("navmenu-sub",{"navmenu-sub--opened":j},p.className),z=m==="inline",g=z?{onClick:()=>u.includes(i)?h(i):l(i)}:{onMouseEnter:()=>l(i),onMouseLeave:()=>h(i)},b=z?{onClick:N=>N.stopPropagation()}:{};return o.jsxs("li",{...p,className:y,...g,ref:d,children:[r&&o.jsx("span",{className:"navmenu-sub-icon",children:r}),o.jsx("span",{className:"navmenu-sub-label",children:n}),s&&o.jsx("span",{className:"navmenu-sub-expand-icon",children:(s==null?void 0:s({isOpen:j}))||s}),o.jsx("div",{className:"navmenu-sub-container",...b,children:o.jsx("ul",{className:"navmenu-sub-list",children:Ue(a)})})]})});O.propTypes={id:t.string,icon:t.element,label:t.node.isRequired,children:t.array.isRequired,expandIcon:t.oneOfType([t.node,t.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>o.jsx(bo,{style:{transform:`rotate(${e?180:0}deg)`}})};G.Item=Y;G.Sub=O;function te({children:e,routerLinkComponent:r,to:n,external:a,...s}){return a?o.jsx("a",{href:n,...s,children:e}):o.jsx(r,{to:n,...s,children:e})}te.propTypes={children:t.any.isRequired,routerLinkComponent:t.elementType.isRequired,external:t.bool,to:t.oneOfType([t.string,t.object]).isRequired};te.defaultProps={external:!1};function Ye(e){return o.jsx(te,{routerLinkComponent:Q,...e})}function ve({className:e,...r}){const n=r.external&&typeof e=="function"?e({}):e;return o.jsx(te,{routerLinkComponent:xo,className:n,...r})}ve.propTypes={className:t.oneOfType([t.string,t.func])};ve.defaultProps={className:""};function tr(e,r){return o.jsxs("li",{className:"layout-sidebar-group",children:[o.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),o.jsx("ul",{children:e.children.map(Xe)})]},`group-${e.title}-${r}`)}function Xe(e,r){var u;if((u=e.children)!=null&&u.length)return tr(e,r);const{url:n,icon:a,title:s,showBadge:p,external:d,active:i}=e;return o.jsx("li",{className:"layout-sidebar-item",children:o.jsxs(ve,{external:d,to:n,className:({isActive:l})=>T("layout-sidebar-link",{"layout-sidebar-link--active":d?i:l}),children:[a&&o.jsx("span",{className:`layout-sidebar-icon ${p?"layout-sidebar-badge":""}`,children:a}),o.jsx(F,{component:"span",className:"layout-sidebar-link-text",children:s})]})},`${n}-${r}`)}function Z({links:e,addons:r,dense:n,...a}){return o.jsxs(ar,{...a,className:T({"layout-sidebar-dense":n}),children:[o.jsx("ul",{children:e.map(Xe)}),o.jsx("div",{style:{flex:1}}),r]})}Z.propTypes={links:t.array.isRequired,addons:t.any,dense:t.bool};Z.defaultProps={addons:null,dense:!1};const nr="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",ar=v("div")`
535
+ `,be=c.createContext();function Ue(e){return e?c.Children.toArray(e).filter(r=>r.type===Y||r.type===O):null}function Ge(e){return c.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function G({items:e,mode:r,children:n,activeId:a,textColor:s,activeTextColor:p,bgColor:d,onSelected:i,...u}){var q;if(n=Ue(n),!(e!=null&&e.length)&&!(n!=null&&n.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const[l,h]=c.useState({activeId:a,openedIds:[]}),m=c.useCallback(x=>{h(f=>({...f,activeId:x})),i==null||i(x)},[i]),j=c.useCallback(x=>{h(f=>({...f,openedIds:[...f.openedIds,x]}))},[]),y=c.useCallback(x=>{h(f=>({...f,openedIds:f.openedIds.filter(L=>L!==x)}))},[]),z=c.useMemo(()=>({...l,mode:r,activate:m,open:j,close:y}),[l,r,m,j,y]),[g,b]=c.useState(0),N=c.useRef(),w=c.useRef([]),R=c.useRef(),M=g===((q=w.current)==null?void 0:q.length),I=M?o.jsx(re,{}):o.jsx(go,{}),k=M?{marginLeft:"0px"}:void 0,$=x=>c.Children.map(x,(f,L)=>c.cloneElement(f,{ref:D=>{w.current[L]=D}})),_=ho(()=>{var je;let x=0,f=0,L=!1;const D=((je=N.current)==null?void 0:je.offsetWidth)||0,ne=R.current?R.current.offsetWidth+parseFloat(window.getComputedStyle(R.current).marginLeft):0;w.current.forEach((E,Ke)=>{if(E){E.style.display="flex";const Ze=Ke>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+Ze;D-ne>=x+we&&!L?x+=we:(E.style.display="none",L=!0,f++)}}),f!==g&&b(f)});c.useEffect(()=>{if(r==="horizontal")return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[r]),c.useEffect(()=>{a!=null&&h(x=>({...x,activeId:a}))},[a]);const ye=T("navmenu",`navmenu--${r}`,u.className),B=(x,f,L=!1)=>x!=null&&x.children?o.jsx(O,{id:x.id,icon:x.icon,label:x.label,ref:L?D=>{w.current[f]=D}:void 0,children:x.children.map((D,ne)=>B(D,ne,!1))},f):o.jsx(Y,{id:x.id,icon:x.icon,label:x.label,active:x.active,ref:L?D=>{w.current[f]=D}:void 0},f),A=e?e==null?void 0:e.slice(-g).map((x,f)=>B(x,f)):n==null?void 0:n.slice(-g),J=r==="inline"?rr:or;return o.jsx(be.Provider,{value:z,children:o.jsx(J,{...u,className:ye,$textColor:s,$activeTextColor:p,$bgColor:d,children:o.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((x,f)=>B(x,f,!0)):$(n),g>0&&o.jsx(O,{expandIcon:!1,icon:I,label:"",ref:R,style:k,children:A})]})})})}G.propTypes={items:t.array,mode:t.oneOf(["horizontal","vertical","inline"]),children:t.array,activeId:t.string,textColor:t.string,activeTextColor:t.string,bgColor:t.string,onSelected:t.func};G.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const Y=c.forwardRef(({id:e,icon:r,label:n,active:a,onClick:s,...p},d)=>{const i=Ge(e),{activeId:u,activate:l}=c.useContext(be),h=T("navmenu-item",{"navmenu-item--active":u===i},p.className);c.useEffect(()=>{a&&l(i)},[a]);const m=()=>{s==null||s(),l(i)};return o.jsxs("li",{...p,className:h,onClick:m,ref:d,children:[r&&o.jsx("span",{className:"navmenu-item-icon",children:r}),o.jsx("span",{className:"navmenu-item-label",children:n})]})});Y.propTypes={id:t.string,icon:t.element,label:t.node,active:t.bool,onClick:t.func};Y.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=c.forwardRef(({id:e,icon:r,label:n,children:a,expandIcon:s,...p},d)=>{const i=Ge(e),{openedIds:u,open:l,close:h,mode:m}=c.useContext(be),j=u.includes(i),y=T("navmenu-sub",{"navmenu-sub--opened":j},p.className),z=m==="inline",g=z?{onClick:()=>u.includes(i)?h(i):l(i)}:{onMouseEnter:()=>l(i),onMouseLeave:()=>h(i)},b=z?{onClick:N=>N.stopPropagation()}:{};return o.jsxs("li",{...p,className:y,...g,ref:d,children:[r&&o.jsx("span",{className:"navmenu-sub-icon",children:r}),o.jsx("span",{className:"navmenu-sub-label",children:n}),s&&o.jsx("span",{className:"navmenu-sub-expand-icon",children:(s==null?void 0:s({isOpen:j}))||s}),o.jsx("div",{className:"navmenu-sub-container",...b,children:o.jsx("ul",{className:"navmenu-sub-list",children:Ue(a)})})]})});O.propTypes={id:t.string,icon:t.element,label:t.node.isRequired,children:t.array.isRequired,expandIcon:t.oneOfType([t.node,t.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>o.jsx(bo,{style:{transform:`rotate(${e?180:0}deg)`}})};G.Item=Y;G.Sub=O;function te({children:e,routerLinkComponent:r,to:n,external:a,...s}){return a?o.jsx("a",{href:n,...s,children:e}):o.jsx(r,{to:n,...s,children:e})}te.propTypes={children:t.any.isRequired,routerLinkComponent:t.elementType.isRequired,external:t.bool,to:t.oneOfType([t.string,t.object]).isRequired};te.defaultProps={external:!1};function Ye(e){return o.jsx(te,{routerLinkComponent:K,...e})}function ve({className:e,...r}){const n=r.external&&typeof e=="function"?e({}):e;return o.jsx(te,{routerLinkComponent:xo,className:n,...r})}ve.propTypes={className:t.oneOfType([t.string,t.func])};ve.defaultProps={className:""};function tr(e,r){return o.jsxs("li",{className:"layout-sidebar-group",children:[o.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),o.jsx("ul",{children:e.children.map(Xe)})]},`group-${e.title}-${r}`)}function Xe(e,r){var u;if((u=e.children)!=null&&u.length)return tr(e,r);const{url:n,icon:a,title:s,showBadge:p,external:d,active:i}=e;return o.jsx("li",{className:"layout-sidebar-item",children:o.jsxs(ve,{external:d,to:n,className:({isActive:l})=>T("layout-sidebar-link",{"layout-sidebar-link--active":d?i:l}),children:[a&&o.jsx("span",{className:`layout-sidebar-icon ${p?"layout-sidebar-badge":""}`,children:a}),o.jsx(F,{component:"span",className:"layout-sidebar-link-text",children:s})]})},`${n}-${r}`)}function Z({links:e,addons:r,dense:n,...a}){return o.jsxs(ar,{...a,className:T({"layout-sidebar-dense":n}),children:[o.jsx("ul",{children:e.map(Xe)}),o.jsx("div",{style:{flex:1}}),r]})}Z.propTypes={links:t.array.isRequired,addons:t.any,dense:t.bool};Z.defaultProps={addons:null,dense:!1};const nr="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",ar=v("div")`
536
536
  display: flex;
537
537
  flex-direction: column;
538
538
  ul {
@@ -655,7 +655,7 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
655
655
  margin-top: 16px;
656
656
  }
657
657
  }
658
- `;function sr({closeMenu:e,...r}){const n=de();return c.useEffect(()=>{e()},[n]),o.jsx(G,{...r})}function Je(e,r){return e.map(n=>{var a;return(a=n.children)!=null&&a.length?{...n,label:n.title,children:Je(n.children,r)}:{...n,label:o.jsx(Ye,{to:n.url,external:n.external,children:n.title}),active:n.external?n.active:!!mo({path:n.url,end:!1},r.pathname)}})}function X({children:e,title:r,headerProps:n,links:a=[],fullWidth:s,dense:p,footerProps:d,...i}){const u=oe(),{inFullPage:l,showToggleButton:h,headerVisible:m,footerVisible:j,sidebarVisible:y,toggleFullPage:z}=Ao(),g=de(),b=c.useMemo(()=>Je(a,g),[g,a]),N=b.some(k=>{var $;return!!(($=k.children)!=null&&$.length)}),w=p==="auto"?b.length>=8||N:p,R=T("dashboard",{"dashboard-dense":w},i.className),I={homeLink:k=>{var $;return o.jsx(Ye,{to:(($=window.blocklet)==null?void 0:$.prefix)||"/",children:k})},...n};return o.jsxs(ir,{...i,className:R,children:[o.jsx(Te,{title:r},r),m&&o.jsx(lr,{...I,className:"dashboard-header",children:a!=null&&a.length?({isMobile:k,closeMenu:$})=>k?o.jsx(sr,{mode:"inline",items:b,closeMenu:$,bgColor:"transparent",activeTextColor:u.palette.primary.main}):null:null}),o.jsxs(C,{display:"flex",className:"dashboard-body",children:[o.jsx(Be,{mdDown:!0,children:!!(a!=null&&a.length)&&y&&o.jsx(C,{className:"dashboard-sidebar",children:w?o.jsx(Z,{links:a,dense:w}):o.jsx(C,{className:"dashboard-sidebar-container",children:o.jsx(Z,{links:a,dense:w})})})}),o.jsxs(C,{className:"dashboard-main",children:[h&&o.jsx(C,{sx:{position:"absolute",top:4,right:4,display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24,color:"#fff",bgcolor:"rgba(158,158,158, 0.6);",borderRadius:1,cursor:"pointer"},onClick:z,children:l?o.jsx(We,{style:{fontSize:18}}):o.jsx(Fe,{style:{fontSize:18}})}),o.jsx(S,{className:"dashboard-content",...s&&{maxWidth:!1},children:e}),j&&o.jsx(H,{...d})]})]})]})}X.propTypes={children:t.any.isRequired,title:t.string,links:t.array.isRequired,headerProps:t.object,fullWidth:t.bool,sidebarWidth:t.number,dense:t.oneOf([!0,!1,"auto"])};X.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const ir=v("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
658
+ `;function sr({closeMenu:e,...r}){const n=de();return c.useEffect(()=>{e()},[n]),o.jsx(G,{...r})}function Je(e,r){return e.map(n=>{var a;return(a=n.children)!=null&&a.length?{...n,label:n.title,children:Je(n.children,r)}:{...n,label:o.jsx(Ye,{to:n.url,external:n.external,children:n.title}),active:n.external?n.active:!!mo({path:n.url,end:!1},r.pathname)}})}function X({children:e,title:r,headerProps:n,links:a=[],fullWidth:s,dense:p,footerProps:d,...i}){const u=oe(),{inFullPage:l,showToggleButton:h,headerVisible:m,footerVisible:j,sidebarVisible:y,toggleFullPage:z}=Lo(),g=de(),b=c.useMemo(()=>Je(a,g),[g,a]),N=b.some(k=>{var $;return!!(($=k.children)!=null&&$.length)}),w=p==="auto"?b.length>=8||N:p,R=T("dashboard",{"dashboard-dense":w},i.className),I={homeLink:k=>{var $;return o.jsx(Ye,{to:(($=window.blocklet)==null?void 0:$.prefix)||"/",children:k})},...n};return o.jsxs(ir,{...i,className:R,children:[o.jsx(Te,{title:r},r),m&&o.jsx(lr,{...I,className:"dashboard-header",children:a!=null&&a.length?({isMobile:k,closeMenu:$})=>k?o.jsx(sr,{mode:"inline",items:b,closeMenu:$,bgColor:"transparent",activeTextColor:u.palette.primary.main}):null:null}),o.jsxs(C,{display:"flex",className:"dashboard-body",children:[o.jsx(Be,{mdDown:!0,children:!!(a!=null&&a.length)&&y&&o.jsx(C,{className:"dashboard-sidebar",children:w?o.jsx(Z,{links:a,dense:w}):o.jsx(C,{className:"dashboard-sidebar-container",children:o.jsx(Z,{links:a,dense:w})})})}),o.jsxs(C,{className:"dashboard-main",children:[h&&o.jsx(C,{sx:{position:"absolute",top:4,right:4,display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24,color:"#fff",bgcolor:"rgba(158,158,158, 0.6);",borderRadius:1,cursor:"pointer"},onClick:z,children:l?o.jsx(We,{style:{fontSize:18}}):o.jsx(Fe,{style:{fontSize:18}})}),o.jsx(S,{className:"dashboard-content",...s&&{maxWidth:!1},children:e}),j&&o.jsx(H,{...d})]})]})]})}X.propTypes={children:t.any.isRequired,title:t.string,links:t.array.isRequired,headerProps:t.object,fullWidth:t.bool,sidebarWidth:t.number,dense:t.oneOf([!0,!1,"auto"])};X.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const ir=v("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
659
659
  &.dashboard {
660
660
  display: flex;
661
661
  flex-direction: column;
@@ -712,4 +712,4 @@ import{aC as Pe,aB as ze,aD as ee,ae as Ne,aE as W,aG as P,r as c,aK as Ce,aF as
712
712
  .header-container {
713
713
  max-width: 100%;
714
714
  }
715
- `;function Ke({legacy:e,...r}){return e?o.jsx(fe,{...r}):o.jsx(_e,{children:o.jsx(X,{...r})})}Ke.propTypes={...X.propTypes,legacy:t.bool,footerProps:t.shape(H.propTypes)};Ke.defaultProps={...X.defaultProps,legacy:!0};export{Ke as D,G as N,ge as R,Ao as u};
715
+ `;function Qe({legacy:e,...r}){return e?o.jsx(fe,{...r}):o.jsx(_e,{children:o.jsx(X,{...r})})}Qe.propTypes={...X.propTypes,legacy:t.bool,footerProps:t.shape(H.propTypes)};Qe.defaultProps={...X.defaultProps,legacy:!0};export{Qe as D,G as N,ge as R,Lo as u};
@@ -1 +1 @@
1
- import{d as A,v as R,p as w,e as p}from"./index-CR0jMc07.js";const O=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,x=/^[a-zA-Z]:\\/;function N(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return x.test(e)?!1:O.test(e)}const _=["http","https"],z=["nofollow"],L={};function T(e){const r=e||L,g=r.protocols||_,u=A(r.test);return function(h){R(h,"element",function(t,y,E){if(t.tagName==="a"&&typeof t.properties.href=="string"&&u(t,y,E)){const o=t.properties.href;if(N(o)?g.includes(o.slice(0,o.indexOf(":"))):o.startsWith("//")){const n=s(r.content,t),c=n&&!Array.isArray(n)?[n]:n,i=s(r.rel,t)||z,a=typeof i=="string"?w(i):i,f=s(r.target,t),l=s(r.properties,t);if(l&&Object.assign(t.properties,p(l)),a.length>0&&(t.properties.rel=[...a]),f&&(t.properties.target=f),c){const m=s(r.contentProperties,t)||{};t.children.push({type:"element",tagName:"span",properties:p(m),children:p(c)})}}}})}}function s(e,r){return typeof e=="function"?e(r):e}export{T as r};
1
+ import{d as A,v as R,p as w,e as p}from"./index-BxQuA81k.js";const O=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,x=/^[a-zA-Z]:\\/;function N(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return x.test(e)?!1:O.test(e)}const _=["http","https"],z=["nofollow"],L={};function T(e){const r=e||L,g=r.protocols||_,u=A(r.test);return function(h){R(h,"element",function(t,y,E){if(t.tagName==="a"&&typeof t.properties.href=="string"&&u(t,y,E)){const o=t.properties.href;if(N(o)?g.includes(o.slice(0,o.indexOf(":"))):o.startsWith("//")){const n=s(r.content,t),c=n&&!Array.isArray(n)?[n]:n,i=s(r.rel,t)||z,a=typeof i=="string"?w(i):i,f=s(r.target,t),l=s(r.properties,t);if(l&&Object.assign(t.properties,p(l)),a.length>0&&(t.properties.rel=[...a]),f&&(t.properties.target=f),c){const m=s(r.contentProperties,t)||{};t.children.push({type:"element",tagName:"span",properties:p(m),children:p(c)})}}}})}}function s(e,r){return typeof e=="function"?e(r):e}export{T as r};