@abtnode/blocklet-services 1.16.30-beta-b7f31b10 → 1.16.30-beta-2876881d

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 (317) hide show
  1. package/api/emails/components/actions.js +1 -1
  2. package/api/emails/components/article.js +6 -6
  3. package/api/emails/components/asset.js +1 -1
  4. package/api/emails/components/attachments.js +3 -3
  5. package/api/emails/components/compose.js +2 -2
  6. package/api/emails/components/content.js +1 -1
  7. package/api/emails/components/copyright.js +2 -2
  8. package/api/emails/components/dapp.js +2 -2
  9. package/api/emails/components/footer.js +3 -3
  10. package/api/emails/components/layout.js +1 -1
  11. package/api/emails/components/token.js +1 -1
  12. package/api/emails/components/transaction.js +2 -2
  13. package/api/emails/libs/chain.js +2 -3
  14. package/api/emails/libs/explorer-url.js +1 -1
  15. package/api/emails/pages/notification.js +1 -1
  16. package/api/routes/openembed.js +1 -0
  17. package/api/socket/channel/did.js +4 -2
  18. package/dist/assets/{Add-DYawrlLL.js → Add-C8ubkurs.js} +1 -1
  19. package/dist/assets/{AddBox-DWPBW2qZ.js → AddBox-vRFgQWSp.js} +1 -1
  20. package/dist/assets/Alert-GvL63HzP.js +1 -0
  21. package/dist/assets/{ArrowDropDown-DwPUfbYb.js → ArrowDropDown-DoIALVvz.js} +1 -1
  22. package/dist/assets/{Avatar-D-B0yhoX.js → Avatar-BdTjyfm3.js} +1 -1
  23. package/dist/assets/{ButtonGroup-Ptc-1Uqx.js → ButtonGroup-CRQZuiJl.js} +1 -1
  24. package/dist/assets/{CheckCircle-CZPS3iaO.js → CheckCircle-Bt8di5pd.js} +1 -1
  25. package/dist/assets/{ChevronRight-CpIf_r2f.js → ChevronRight-CQWVFTZb.js} +1 -1
  26. package/dist/assets/{Close-CvoO2-Uz.js → Close-CLfk_TJF.js} +1 -1
  27. package/dist/assets/{CloseOutlined-CfMZZN4J.js → CloseOutlined-Cs4rcyNz.js} +1 -1
  28. package/dist/assets/{Delete-Be_ghnzM.js → Delete-mJ7bx4Bi.js} +1 -1
  29. package/dist/assets/{DeleteOutline-Cw4nevZ-.js → DeleteOutline-FQd6Aq0S.js} +1 -1
  30. package/dist/assets/{Done-DVI_YEXw.js → Done-iB3eYDkt.js} +1 -1
  31. package/dist/assets/{Download-BHLTRa1Z.js → Download-BC2V_SC7.js} +1 -1
  32. package/dist/assets/{Edit-BmGTZxAx.js → Edit-DuwCzKUk.js} +1 -1
  33. package/dist/assets/{EditIcon-BudHelws.js → EditIcon-CCOrVCRx.js} +1 -1
  34. package/dist/assets/{Error-CdaFXW5Q.js → Error-RqQ0xNYf.js} +1 -1
  35. package/dist/assets/{ExpandMore-C8Kjhem0.js → ExpandMore-Dvys4ITm.js} +1 -1
  36. package/dist/assets/FilterList-BmXpXZ3T.js +26 -0
  37. package/dist/assets/FormControl-DwlzifJW.js +1 -0
  38. package/dist/assets/FormControlLabel-k6ZmtY-V.js +1 -0
  39. package/dist/assets/{FormGroup-D-Gv1gnJ.js → FormGroup-2IT9cIiz.js} +1 -1
  40. package/dist/assets/{Hidden-xeAig8ZS.js → Hidden-CHlMC7OU.js} +1 -1
  41. package/dist/assets/{InfoOutlined-xAH33Hqk.js → InfoOutlined-eXZ3eXVZ.js} +1 -1
  42. package/dist/assets/InputAdornment-BqbETU7V.js +1 -0
  43. package/dist/assets/InputLabel-Ca6kdYK6.js +1 -0
  44. package/dist/assets/{LastPage-Cz9h-Qem.js → LastPage-DaPsmTkp.js} +1 -1
  45. package/dist/assets/{Launch-DDcDaH6b.js → Launch-CHU4vJIe.js} +1 -1
  46. package/dist/assets/{LaunchOutlined-95qHz-RO.js → LaunchOutlined-nwIVgtZH.js} +1 -1
  47. package/dist/assets/Link-DD34cacH.js +1 -0
  48. package/dist/assets/ListItemText-CfDCU89L.js +1 -0
  49. package/dist/assets/LoadingButton-D-bseFUB.js +1 -0
  50. package/dist/assets/{LockIcon-3Wp4auIp.js → LockIcon-BaWrgksC.js} +1 -1
  51. package/dist/assets/{Loop-DWgfoSrj.js → Loop-CDnviZ7z.js} +1 -1
  52. package/dist/assets/MoreVert-CvCn3RFF.js +1 -0
  53. package/dist/assets/{OpenInNew-CVAUGBhw.js → OpenInNew-DBIQreys.js} +1 -1
  54. package/dist/assets/Pagination-Dohxdm5M.js +2 -0
  55. package/dist/assets/{PlayArrow-BmBaKxOl.js → PlayArrow-BGkRE_DP.js} +1 -1
  56. package/dist/assets/{QuestionMarkCircle-d4NSwAKE.js → QuestionMarkCircle-DYX2KPFf.js} +1 -1
  57. package/dist/assets/RadioGroup-ByKgTwHa.js +1 -0
  58. package/dist/assets/{Search-BaB0jKO7.js → Search-DwD5E7i5.js} +1 -1
  59. package/dist/assets/Select-CcAPm5Nd.js +2 -0
  60. package/dist/assets/{ServerLogo-BJUly2v9.js → ServerLogo-DjGJAZHq.js} +1 -1
  61. package/dist/assets/{Skeleton-C1o9U3A_.js → Skeleton-q1B90uVI.js} +4 -4
  62. package/dist/assets/Slider-B4T-S2PL.js +1 -0
  63. package/dist/assets/Stepper-DYXD0VIN.js +1 -0
  64. package/dist/assets/TextField-kyKaYRv3.js +1 -0
  65. package/dist/assets/{Toolbar-BjU2foSj.js → Toolbar-DBvMCYsj.js} +1 -1
  66. package/dist/assets/{ViewList-ejR6DIXj.js → ViewList-DtEpX929.js} +1 -1
  67. package/dist/assets/{access-control-CO_2bHIV.js → access-control-Dk9_s4_I.js} +1 -1
  68. package/dist/assets/{actions-C1eqo0hd.js → actions-DWwCJMtd.js} +1 -1
  69. package/dist/assets/{add-component-core-CxkJY_14.css → add-component-core-D_j8BgsJ.css} +1 -1
  70. package/dist/assets/add-component-core-Daq7acMA.js +979 -0
  71. package/dist/assets/add-resource-BPfn5_QL.js +1 -0
  72. package/dist/assets/{addon-Dru3HZqF.js → addon-3P1qriGM.js} +1 -1
  73. package/dist/assets/analytics-BWdKTfKM.js +52 -0
  74. package/dist/assets/api-oiSrSB3g.js +1 -0
  75. package/dist/assets/ar-Bk-8E67P.js +1 -0
  76. package/dist/assets/{audit-logs-C7blov8C.js → audit-logs-D8VNVyG4.js} +1 -1
  77. package/dist/assets/{button-Dh36Whbv.js → button-GD6UgeuQ.js} +1 -1
  78. package/dist/assets/{click-to-copy-a_WhsuTv.js → click-to-copy-Lp9b-CPW.js} +1 -1
  79. package/dist/assets/{complete-BoonLutQ.js → complete-BJOB_PRE.js} +1 -1
  80. package/dist/assets/component-CXZMF8nm.js +456 -0
  81. package/dist/assets/{config-DCvKS3BB.js → config-8Ahtf1I_.js} +1 -1
  82. package/dist/assets/{config-B3GInTdX.js → config-BHZY2MFD.js} +2 -2
  83. package/dist/assets/config-navigation-DhOTF_Er.js +25 -0
  84. package/dist/assets/confirm-BlSGYm6p.js +7 -0
  85. package/dist/assets/{connect-veT2mTQj.js → connect-B8BrhLVJ.js} +1 -1
  86. package/dist/assets/{connect-CIdC8-aG.js → connect-BgFhr5J3.js} +1 -1
  87. package/dist/assets/{connect-to-CGsiYjyv.js → connect-to-BF7JknI8.js} +2 -2
  88. package/dist/assets/{content-layout-CQh4TzyI.js → content-layout-D6A4YWBQ.js} +1 -1
  89. package/dist/assets/dashboard-D2FU3SEA.js +165 -0
  90. package/dist/assets/de-Cu2RTl6l.js +1 -0
  91. package/dist/assets/did-address-BXE9CEE6.js +1 -0
  92. package/dist/assets/{domain-5hwWx6MJ.js → domain-BO2HQTUu.js} +1 -1
  93. package/dist/assets/{domain-list-On7x8b1i.js → domain-list-B8VPWSkq.js} +2 -2
  94. package/dist/assets/es-DDPFvDl4.js +1 -0
  95. package/dist/assets/{exchange-passport-d-xizSJJ.js → exchange-passport-CkKwXRpV.js} +1 -1
  96. package/dist/assets/{fallback-CbJRVXwl.js → fallback-CZphvxUW.js} +1 -1
  97. package/dist/assets/format-error-CXdN1FRr.js +2 -0
  98. package/dist/assets/fr-CnF6MLuI.js +1 -0
  99. package/dist/assets/{fuel-CUY-uBKy.js → fuel-BGk_pRUi.js} +1 -1
  100. package/dist/assets/{fullpage-CJ3iyD2f.js → fullpage-t0Eb7gOv.js} +1 -1
  101. package/dist/assets/hi-BXN3D_GN.js +1 -0
  102. package/dist/assets/{home-Obf_S8f7.js → home-CAcslAId.js} +1 -1
  103. package/dist/assets/id-BEXmSSv4.js +1 -0
  104. package/dist/assets/{iframe-Be_yHlIO.js → iframe-BweF8i2N.js} +1 -1
  105. package/dist/assets/{index-Bky9d3tQ.js → index-6CmFWKxW.js} +1 -1
  106. package/dist/assets/{index-BO_OKxnM.js → index-BAHSSBIt.js} +6 -6
  107. package/dist/assets/index-BIJ1ShEj.js +11 -0
  108. package/dist/assets/{index-CA3xlu-k.js → index-BKgLr7iJ.js} +1 -1
  109. package/dist/assets/index-BV59_fK8.js +5 -0
  110. package/dist/assets/{index-BvpzJMEC.js → index-B_KSOQaY.js} +18 -18
  111. package/dist/assets/{index-Dhqy9-yY.js → index-BhM6MUHW.js} +1 -1
  112. package/dist/assets/{index-BmyGxs6V.js → index-BoADayf0.js} +1 -1
  113. package/dist/assets/index-BpurFcj_.js +304 -0
  114. package/dist/assets/index-Bq873m-M.js +12 -0
  115. package/dist/assets/index-BudjNeVm.js +292 -0
  116. package/dist/assets/index-BwNafjpz.js +41 -0
  117. package/dist/assets/{index-_ZvuFtZB.js → index-BywbtwuD.js} +9 -9
  118. package/dist/assets/{index-B12cEALh.js → index-C2i42yz-.js} +1 -1
  119. package/dist/assets/index-CCeMT7tu.js +1 -0
  120. package/dist/assets/index-CEmYvrWS.js +706 -0
  121. package/dist/assets/{index-Bu9MpwgG.js → index-COhNoKZB.js} +12 -12
  122. package/dist/assets/{index-tt24MRYq.js → index-CZtE_X_i.js} +1 -1
  123. package/dist/assets/index-Cmvsrm6T.js +262 -0
  124. package/dist/assets/index-CsSPItMW.js +1 -0
  125. package/dist/assets/index-D5OtG6Mk.js +13 -0
  126. package/dist/assets/index-D6mWS7ID.js +16 -0
  127. package/dist/assets/index-D72EFlhx.js +1293 -0
  128. package/dist/assets/{index-CCovGSMB.css → index-D8NuaJ66.css} +1 -1
  129. package/dist/assets/index-D8Rwl_oY.js +1 -0
  130. package/dist/assets/{index-DCK0LZKG.js → index-DUH3b1i-.js} +7 -7
  131. package/dist/assets/{index-eM_9zSWz.js → index-DWSAJlMZ.js} +1 -1
  132. package/dist/assets/{index-DSqbwZ5j.js → index-DXYqhcEQ.js} +1 -1
  133. package/dist/assets/{index-8cDbzyJl.js → index-DhnDeXju.js} +1 -1
  134. package/dist/assets/{index-DvHUoMvf.js → index-DqJagf6z.js} +1 -1
  135. package/dist/assets/index-DqianND3.js +54 -0
  136. package/dist/assets/{index-4yn1YsbW.js → index-DwcT7eOS.js} +3 -3
  137. package/dist/assets/{index-BITDcOni.js → index-ToKR5qui.js} +1 -1
  138. package/dist/assets/{index-RTMFvlSa.js → index-VSD7bmHs.js} +1 -1
  139. package/dist/assets/index-foZCwT8M.css +1 -0
  140. package/dist/assets/index.es-CUlHuCEu.js +3 -0
  141. package/dist/assets/index.esm-2vHQs0-V.js +1 -0
  142. package/dist/assets/inter-latin-300-normal-CvRFFuZy.woff2 +0 -0
  143. package/dist/assets/inter-latin-300-normal-ORCTF8i-.woff +0 -0
  144. package/dist/assets/inter-latin-400-normal-BOOGhInR.woff2 +0 -0
  145. package/dist/assets/inter-latin-400-normal-gitzw0hO.woff +0 -0
  146. package/dist/assets/inter-latin-500-normal-D2bGa7uu.woff2 +0 -0
  147. package/dist/assets/inter-latin-500-normal-deR1Tlfd.woff +0 -0
  148. package/dist/assets/inter-latin-700-normal-B8MtJ_2k.woff +0 -0
  149. package/dist/assets/inter-latin-700-normal-Sckx8rpT.woff2 +0 -0
  150. package/dist/assets/inter-latin-ext-300-normal-C2kLfG2J.woff2 +0 -0
  151. package/dist/assets/inter-latin-ext-300-normal-n8Ps4oXY.woff +0 -0
  152. package/dist/assets/inter-latin-ext-400-normal-C1t-h-pH.woff +0 -0
  153. package/dist/assets/inter-latin-ext-400-normal-hnt3BR84.woff2 +0 -0
  154. package/dist/assets/inter-latin-ext-500-normal-CIS2RHJS.woff2 +0 -0
  155. package/dist/assets/inter-latin-ext-500-normal-UMdmhHu2.woff +0 -0
  156. package/dist/assets/inter-latin-ext-700-normal-6V9MnIL5.woff +0 -0
  157. package/dist/assets/inter-latin-ext-700-normal-CzikT_rs.woff2 +0 -0
  158. package/dist/assets/{invitation-CjUgfrC2.js → invitation-DTLEsIoa.js} +1 -1
  159. package/dist/assets/{invite-BlCoxCyf.js → invite-DGnUdveP.js} +1 -1
  160. package/dist/assets/{issue-passport-CzmDWgQh.js → issue-passport-DqqvxmZe.js} +1 -1
  161. package/dist/assets/item-BuLQUhWe.js +1 -0
  162. package/dist/assets/ja-nMk3xlFJ.js +1 -0
  163. package/dist/assets/jss-plugin-props-sort.esm-C_H5IgvT.js +14 -0
  164. package/dist/assets/ko-CsOxrRrq.js +1 -0
  165. package/dist/assets/{launch-result-message-B6CiQFBL.js → launch-result-message-DyYZCmeT.js} +1 -1
  166. package/dist/assets/{layout-DFuxjkrE.js → layout-Bx7Peyvz.js} +1 -1
  167. package/dist/assets/{list-header-DRYmm-Xm.js → list-header-DDHmhEnv.js} +1 -1
  168. package/dist/assets/localization-DhZidr_T.js +1 -0
  169. package/dist/assets/{log-BpY9Dsfn.js → log-BPfsbYqD.js} +3 -3
  170. package/dist/assets/{login-D1BDJ22h.js → login-C278QolI.js} +1 -1
  171. package/dist/assets/{login-oauth-callback-utiO-rvS.js → login-oauth-callback-PaiObKN8.js} +1 -1
  172. package/dist/assets/{logo-uploader-BBtbbc7r.js → logo-uploader-B4UtraHT.js} +3 -3
  173. package/dist/assets/{lost-passport-D2u0myAt.js → lost-passport-I93PXLcK.js} +3 -3
  174. package/dist/assets/{lottie-BxejBzYz.js → lottie-DU_0GgxZ.js} +1 -1
  175. package/dist/assets/notifications-C0_Sgq4c.js +62 -0
  176. package/dist/assets/{open-window-B0KmmItG.js → open-window-CS3xM-f5.js} +1 -1
  177. package/dist/assets/{overview-BRmNWvge.js → overview-CLfnBcZ6.js} +1 -1
  178. package/dist/assets/{page-header-DtuvpAXI.js → page-header-DpscBZ9E.js} +1 -1
  179. package/dist/assets/{permission-DaCv0YJT.js → permission-FLxnRevE.js} +1 -1
  180. package/dist/assets/preact.module-DJUF--8d.js +1 -0
  181. package/dist/assets/{preferences-CMNxa5wG.js → preferences-BnuOBvF-.js} +1 -1
  182. package/dist/assets/pt-BViI9ESj.js +1 -0
  183. package/dist/assets/publish-resource-Dqf9cH9l.js +1 -0
  184. package/dist/assets/react-BJCDFtrW.js +56 -0
  185. package/dist/assets/redux-at50qVr-.js +1 -0
  186. package/dist/assets/resource-dialog-BER6eqT7.js +736 -0
  187. package/dist/assets/ru-C_GgRAP9.js +1 -0
  188. package/dist/assets/sdk-L75L1LA-.js +1 -0
  189. package/dist/assets/selector-CqQYOmjD.js +48 -0
  190. package/dist/assets/session-CfYWCxVo.js +1 -0
  191. package/dist/assets/{setup-CNxh7prE.js → setup-DtP6fUSN.js} +3 -3
  192. package/dist/assets/{shorten-label-BHO8zxp1.js → shorten-label-D4iLfdk8.js} +1 -1
  193. package/dist/assets/slicedToArray-j2OF5Cw0.js +2 -0
  194. package/dist/assets/{spaces-BxlYf4BN.js → spaces-BKJQsY1h.js} +1 -1
  195. package/dist/assets/start-GYuyJD7V.js +187 -0
  196. package/dist/assets/{step-actions-BzKdFGVC.js → step-actions-CGhmznVv.js} +1 -1
  197. package/dist/assets/{studio-1ObqO9ii.js → studio-Dzfff8g5.js} +1 -1
  198. package/dist/assets/{switch-control-Ccs3ud0m.js → switch-control-B2DhyLZ9.js} +1 -1
  199. package/dist/assets/th-BmzrcHqy.js +1 -0
  200. package/dist/assets/{toPropertyKey-hKuLU48H.js → toPropertyKey-PLuKRk1e.js} +1 -1
  201. package/dist/assets/{toUpper-t5Izbkea.js → toUpper-D0lSoqZ7.js} +1 -1
  202. package/dist/assets/{transfer-DDaNRomR.js → transfer-DtsP93rN.js} +1 -1
  203. package/dist/assets/{uniqBy-Dbt5Nj8I.js → uniqBy-CMRtLz4S.js} +1 -1
  204. package/dist/assets/{unsubscribe-DJ3dAD1T.js → unsubscribe-_5jQ2YpV.js} +1 -1
  205. package/dist/assets/{url-join-BPMtGM0_.js → url-join-CgmN-Pq9.js} +1 -1
  206. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-Dh6Qca14.js → use-blocklet-info-for-connect-did-spaces-p5yhH4W4.js} +1 -1
  207. package/dist/assets/{use-mobile-BecyuRyS.js → use-mobile-Citjf6m0.js} +1 -1
  208. package/dist/assets/{useAsync-D7A4lSIu.js → useAsync-uTaa68Wb.js} +1 -1
  209. package/dist/assets/useFormControl-CUXKZ_gu.js +1 -0
  210. package/dist/assets/{useLocalStorage-BWJpWQ8e.js → useLocalStorage-CLAY664q.js} +1 -1
  211. package/dist/assets/{useSetState-BQyW0id3.js → useSetState-BnwlPJSP.js} +1 -1
  212. package/dist/assets/{useSlot-Cpwm_EEO.js → useSlot-CdCl0qNN.js} +1 -1
  213. package/dist/assets/{useSlotProps-Stj87BQ_.js → useSlotProps-DMpXItJY.js} +1 -1
  214. package/dist/assets/useThemeProps-t8Z-VTfo.js +1 -0
  215. package/dist/assets/user-center-w2aQ7xJJ.js +1 -0
  216. package/dist/assets/user-sessions-D1Gr5AEC.js +1 -0
  217. package/dist/assets/{util-9GOVpsde.js → util-CmRFW-SV.js} +1 -1
  218. package/dist/assets/vi-NbF9HZkr.js +1 -0
  219. package/dist/assets/wrap-locale-gasrkW-r.js +1 -0
  220. package/dist/assets/zh-C1zF4vlg.js +2 -0
  221. package/dist/assets/zh-tw-BXz91JiB.js +1 -0
  222. package/dist/index.html +2 -2
  223. package/dist/service-worker.js +2 -2
  224. package/package.json +18 -18
  225. package/dist/assets/Alert-BTshuaNi.js +0 -1
  226. package/dist/assets/FilterList-8sV2VTL2.js +0 -26
  227. package/dist/assets/FormControl-Bf6hyrkL.js +0 -1
  228. package/dist/assets/FormControlLabel-mzUMyHHG.js +0 -1
  229. package/dist/assets/Google-DwWp9qzD.js +0 -27
  230. package/dist/assets/InputAdornment-D_yABNDh.js +0 -1
  231. package/dist/assets/InputLabel-B0gnxWIe.js +0 -1
  232. package/dist/assets/Link-DEgb7b4S.js +0 -1
  233. package/dist/assets/ListItemText-BsB4f1L-.js +0 -1
  234. package/dist/assets/LoadingButton-B-2TPjWV.js +0 -1
  235. package/dist/assets/MoreVert-UNF7JO2W.js +0 -1
  236. package/dist/assets/Pagination-B0y6upZZ.js +0 -2
  237. package/dist/assets/RadioGroup-CnjaGoeZ.js +0 -1
  238. package/dist/assets/Select-BVyfzCHz.js +0 -2
  239. package/dist/assets/Slider-Desss8SV.js +0 -1
  240. package/dist/assets/Stepper-mdoczOkX.js +0 -1
  241. package/dist/assets/TextField-wNnDxiyn.js +0 -1
  242. package/dist/assets/add-component-core-CvAUzaip.js +0 -979
  243. package/dist/assets/add-resource-BxlGfcRN.js +0 -1
  244. package/dist/assets/analytics-BmR1ZGFq.js +0 -52
  245. package/dist/assets/api-CDVr_ngS.js +0 -1
  246. package/dist/assets/ar-CYspPmSu.js +0 -1
  247. package/dist/assets/component-GJ2Ih7o1.js +0 -440
  248. package/dist/assets/config-navigation-D4EW71cl.js +0 -25
  249. package/dist/assets/confirm-BYJUxBIc.js +0 -7
  250. package/dist/assets/dashboard-Bc7xljHi.js +0 -165
  251. package/dist/assets/de-DIG5UukX.js +0 -1
  252. package/dist/assets/did-address-Do2yzULT.js +0 -1
  253. package/dist/assets/es-iIE-oygq.js +0 -1
  254. package/dist/assets/format-error-Blhy9VT0.js +0 -2
  255. package/dist/assets/fr-D8XyKysR.js +0 -1
  256. package/dist/assets/hi-C12r029w.js +0 -1
  257. package/dist/assets/id-BM1nX889.js +0 -1
  258. package/dist/assets/index-8tm1Ihzh.js +0 -288
  259. package/dist/assets/index-BDvagjrk.js +0 -5
  260. package/dist/assets/index-BUplKQEg.js +0 -1
  261. package/dist/assets/index-BUs00uPs.js +0 -1290
  262. package/dist/assets/index-BV6Ha6ib.js +0 -13
  263. package/dist/assets/index-BaU6d9wU.js +0 -11
  264. package/dist/assets/index-Bv7ZWFxT.js +0 -304
  265. package/dist/assets/index-CY-YbrSN.js +0 -16
  266. package/dist/assets/index-Cag6-Yt4.js +0 -40
  267. package/dist/assets/index-CkhxO230.js +0 -262
  268. package/dist/assets/index-Cu7JOoBD.js +0 -1
  269. package/dist/assets/index-Cz_xI6xM.js +0 -12
  270. package/dist/assets/index-DU3JORH0.css +0 -1
  271. package/dist/assets/index-f8jvmbqW.js +0 -1
  272. package/dist/assets/index-q23BC-cq.js +0 -54
  273. package/dist/assets/index.es-DXjYep8j.js +0 -3
  274. package/dist/assets/index.esm-BZVs89Un.js +0 -1
  275. package/dist/assets/inter-latin-300-normal-DaM40sQc.woff +0 -0
  276. package/dist/assets/inter-latin-300-normal-IcD-qYDc.woff2 +0 -0
  277. package/dist/assets/inter-latin-400-normal-BT1H-PT_.woff2 +0 -0
  278. package/dist/assets/inter-latin-400-normal-Cdi8t5Mu.woff +0 -0
  279. package/dist/assets/inter-latin-500-normal-D4I8BKCx.woff +0 -0
  280. package/dist/assets/inter-latin-500-normal-kWhwEdDH.woff2 +0 -0
  281. package/dist/assets/inter-latin-700-normal-C2zfFY7I.woff2 +0 -0
  282. package/dist/assets/inter-latin-700-normal-CHFldGL2.woff +0 -0
  283. package/dist/assets/inter-latin-ext-300-normal-7cgkpXcN.woff +0 -0
  284. package/dist/assets/inter-latin-ext-300-normal-uPfKXXtp.woff2 +0 -0
  285. package/dist/assets/inter-latin-ext-400-normal-8tIzm-yw.woff +0 -0
  286. package/dist/assets/inter-latin-ext-400-normal-D3W-OpO-.woff2 +0 -0
  287. package/dist/assets/inter-latin-ext-500-normal-B9u8Q_zH.woff2 +0 -0
  288. package/dist/assets/inter-latin-ext-500-normal-SuUkSNTU.woff +0 -0
  289. package/dist/assets/inter-latin-ext-700-normal-Bu7lG2nd.woff +0 -0
  290. package/dist/assets/inter-latin-ext-700-normal-CAa3MqUt.woff2 +0 -0
  291. package/dist/assets/item-CuP7BKY_.js +0 -1
  292. package/dist/assets/ja-D8yfIRFO.js +0 -1
  293. package/dist/assets/jss-plugin-props-sort.esm-BZSIPan7.js +0 -14
  294. package/dist/assets/ko-BYDKCXC0.js +0 -1
  295. package/dist/assets/localization-IL-dv9qY.js +0 -1
  296. package/dist/assets/notifications-Cu_cDaRO.js +0 -62
  297. package/dist/assets/preact.module-B1z5cdvs.js +0 -1
  298. package/dist/assets/pt-B9DRiZEN.js +0 -1
  299. package/dist/assets/publish-resource-JyXjlwzc.js +0 -1
  300. package/dist/assets/react-BpP-0QBx.js +0 -56
  301. package/dist/assets/redux-L6olCJRi.js +0 -1
  302. package/dist/assets/resource-dialog-D4qjrv55.js +0 -57
  303. package/dist/assets/ru-CUxGgO8D.js +0 -1
  304. package/dist/assets/sdk-CxiaGf8d.js +0 -1
  305. package/dist/assets/selector-CmjH6iEF.js +0 -48
  306. package/dist/assets/session-C2GbCLtF.js +0 -1
  307. package/dist/assets/slicedToArray-CZ-cNsNk.js +0 -2
  308. package/dist/assets/start-BqHKq4sL.js +0 -187
  309. package/dist/assets/th-D6abaOt7.js +0 -1
  310. package/dist/assets/useFormControl-BPoGiGgv.js +0 -1
  311. package/dist/assets/useThemeProps-B5GmRF_7.js +0 -1
  312. package/dist/assets/user-center-CD-K_xkg.js +0 -1
  313. package/dist/assets/user-sessions-Bf3BBZ6T.js +0 -1
  314. package/dist/assets/vi-BsX5AAJJ.js +0 -1
  315. package/dist/assets/wrap-locale-B_-NipDA.js +0 -1
  316. package/dist/assets/zh-BxFByN8K.js +0 -2
  317. package/dist/assets/zh-tw-D7VeUoit.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as $,bW as X,dq as Z,j as o,bE as O,dr as z,P as n,ds as ee,dt as U,bt as b,N as q,u as B,du as _,B as y,aM as C,ai as oe,G as W}from"./index-BUs00uPs.js";import{E as D}from"./fallback-CbJRVXwl.js";import{R as ne,N as te}from"./index-BvpzJMEC.js";import{i as re,u as ie,f as G,g as I,p as ae,m as K,a as se,b as le,H as ce,B as de}from"./index-BaU6d9wU.js";import{d as pe}from"./ExpandMore-C8Kjhem0.js";import{A as S}from"./Avatar-D-B0yhoX.js";function T({icon:e,size:t,sx:r,...a}){const i=[...Array.isArray(r)?r:[r]];t&&i.push({width:t,height:t});const[u,s]=$.useState(!1),[c,l]=$.useState(!0);if(X(async()=>{l(!0);try{await Z(e),s(!0)}catch{s(!1)}l(!1)},[e]),a.variant||i.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),re(e))return o.jsx(S,{component:"span",...a,src:e,sx:i});const d=t?.6*t+4:0;return c?o.jsx(O,{icon:"codicon:blank",height:d||void 0}):u?o.jsx(S,{component:"span",...a,sx:i,children:o.jsx(O,{icon:e,height:d||void 0})}):e&&typeof e=="string"?(i.push({"&.MuiAvatar-root":{display:"inline-flex",...t&&{fontSize:t-2}}}),o.jsx(S,{component:"span",...a,sx:i,children:Array.from(e)[0]})):null}const ue=z();function M({theme:e,children:t}){const r=e?z(e):ue;return o.jsx(ee,{theme:r,children:t})}M.propTypes={children:n.any.isRequired,theme:n.object};M.defaultProps={theme:null};const fe=e=>{if(!(e!=null&&e.length))return{navItems:[],activeId:null};let t=1;const a=K(e,s=>{var d,p;const c=s.icon?o.jsx(T,{icon:s.icon}):null;if(s.items)return{id:`${t++}`,label:s.title,icon:c,children:s.items};let l={};return((d=s.link)!=null&&d.startsWith("http://")||(p=s.link)!=null&&p.startsWith("https://"))&&(l={target:"_blank",rel:"noreferrer"}),{id:`${t++}`,label:o.jsx("a",{href:s.link,...l,children:s.title}),icon:c,link:s.link}},"items"),i=se(a),u=le(i.map(s=>s.link));return{navItems:a,activeId:u>=0?i[u].id:null}};function he({meta:e={},addons:t,sessionManagerProps:r={showRole:!0},homeLink:a=ae,theme:i,hideNavMenu:u=!1,...s}){var h,N;ie();const{locale:c}=B()||{},l=$.useMemo(()=>{const w=Object.assign({},window.blocklet,e);try{return G(w)}catch(Q){return console.error("Failed to format blocklet info",Q,w),w}},[e]);if(!l.appName)return null;const{appLogo:d,appLogoRect:p,theme:m}=l,f=I((h=l==null?void 0:l.navigation)==null?void 0:h.header,c),k=fe(f),{navItems:g,activeId:v}=k,j=typeof t=="function"?w=>t(w,{navigation:k}):t,x=o.jsx(ce,{formattedBlocklet:l,addons:j,sessionManagerProps:r});return o.jsx(M,{theme:i,children:o.jsx(me,{homeLink:a,logo:o.jsx("img",{src:p||d,alt:"logo"}),addons:x,..._(s,["bordered"]),$bordered:s==null?void 0:s.bordered,$bgcolor:(N=m==null?void 0:m.background)==null?void 0:N.header,children:u||!(g!=null&&g.length)?null:({isMobile:w})=>o.jsx(te,{mode:w?"inline":"horizontal",activeId:v,items:g,className:"header-nav",bgColor:"transparent",textColor:"#777"})})})}const me=b(ne)`
1
+ import{r as $,bV as X,dp as Z,j as o,bD as O,dq as z,P as n,dr as ee,ds as U,bt as b,N as q,u as B,dt as _,B as y,aM as C,ai as oe,G as D}from"./index-D72EFlhx.js";import{E as W}from"./fallback-CZphvxUW.js";import{R as ne,N as te}from"./index-B_KSOQaY.js";import{i as re,u as ie,f as G,g as I,p as ae,m as V,a as se,b as le,H as ce,B as de}from"./index-BIJ1ShEj.js";import{d as pe}from"./ExpandMore-Dvys4ITm.js";import{A as S}from"./Avatar-BdTjyfm3.js";function T({icon:e,size:t,sx:r,...a}){const i=[...Array.isArray(r)?r:[r]];t&&i.push({width:t,height:t});const[u,s]=$.useState(!1),[c,l]=$.useState(!0);if(X(async()=>{l(!0);try{await Z(e),s(!0)}catch{s(!1)}l(!1)},[e]),a.variant||i.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),re(e))return o.jsx(S,{component:"span",...a,src:e,sx:i});const d=t?.6*t+4:0;return c?o.jsx(O,{icon:"codicon:blank",height:d||void 0}):u?o.jsx(S,{component:"span",...a,sx:i,children:o.jsx(O,{icon:e,height:d||void 0})}):e&&typeof e=="string"?(i.push({"&.MuiAvatar-root":{display:"inline-flex",...t&&{fontSize:t-2}}}),o.jsx(S,{component:"span",...a,sx:i,children:Array.from(e)[0]})):null}const ue=z();function M({theme:e,children:t}){const r=e?z(e):ue;return o.jsx(ee,{theme:r,children:t})}M.propTypes={children:n.any.isRequired,theme:n.object};M.defaultProps={theme:null};const fe=e=>{if(!(e!=null&&e.length))return{navItems:[],activeId:null};let t=1;const a=V(e,s=>{var d,p;const c=s.icon?o.jsx(T,{icon:s.icon}):null;if(s.items)return{id:`${t++}`,label:s.title,icon:c,children:s.items};let l={};return((d=s.link)!=null&&d.startsWith("http://")||(p=s.link)!=null&&p.startsWith("https://"))&&(l={target:"_blank",rel:"noreferrer"}),{id:`${t++}`,label:o.jsx("a",{href:s.link,...l,children:s.title}),icon:c,link:s.link}},"items"),i=se(a),u=le(i.map(s=>s.link));return{navItems:a,activeId:u>=0?i[u].id:null}};function he({meta:e={},addons:t,sessionManagerProps:r={showRole:!0},homeLink:a=ae,theme:i,hideNavMenu:u=!1,...s}){var h,N;ie();const{locale:c}=B()||{},l=$.useMemo(()=>{const w=Object.assign({},window.blocklet,e);try{return G(w)}catch(Q){return console.error("Failed to format blocklet info",Q,w),w}},[e]);if(!l.appName)return null;const{appLogo:d,appLogoRect:p,theme:m}=l,f=I((h=l==null?void 0:l.navigation)==null?void 0:h.header,c),k=fe(f),{navItems:g,activeId:v}=k,j=typeof t=="function"?w=>t(w,{navigation:k}):t,x=o.jsx(ce,{formattedBlocklet:l,addons:j,sessionManagerProps:r});return o.jsx(M,{theme:i,children:o.jsx(me,{homeLink:a,logo:o.jsx("img",{src:p||d,alt:"logo"}),addons:x,..._(s,["bordered"]),$bordered:s==null?void 0:s.bordered,$bgcolor:(N=m==null?void 0:m.background)==null?void 0:N.header,children:u||!(g!=null&&g.length)?null:({isMobile:w})=>o.jsx(te,{mode:w?"inline":"horizontal",activeId:v,items:g,className:"header-nav",bgColor:"transparent",textColor:"#777"})})})}const me=b(ne)`
2
2
  ${({$bgcolor:e})=>`background-color: ${e||"#fff"};`}
3
3
  font-family: Inter, Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
4
4
  'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -31,7 +31,7 @@ import{r as $,bW as X,dq as Z,j as o,bE as O,dr as z,P as n,ds as ee,dt as U,bt
31
31
  height: 20px;
32
32
  }
33
33
  }
34
- `,Ce=U(he,{FallbackComponent:D});function F({name:e,logo:t,description:r,...a}){if(!e&&!t&&!r)return null;const i=$.isValidElement(t)?t:o.jsx("img",{src:t,alt:e});return o.jsxs(ge,{...a,children:[o.jsxs("div",{children:[t&&o.jsx(y,{component:"a",href:"/",className:"footer-brand-logo",children:i}),e&&o.jsx("div",{className:"footer-brand-name",children:e})]}),r&&o.jsx("div",{className:"footer-brand-desc",children:r})]})}F.propTypes={name:n.node,logo:n.node,description:n.string};F.defaultProps={name:"",logo:"",description:""};const ge=b("div")`
34
+ `,Ce=U(he,{FallbackComponent:W});function F({name:e,logo:t,description:r,...a}){if(!e&&!t&&!r)return null;const i=$.isValidElement(t)?t:o.jsx("img",{src:t,alt:e});return o.jsxs(ge,{...a,children:[o.jsxs("div",{children:[t&&o.jsx(y,{component:"a",href:"/",className:"footer-brand-logo",children:i}),e&&o.jsx("div",{className:"footer-brand-name",children:e})]}),r&&o.jsx("div",{className:"footer-brand-desc",children:r})]})}F.propTypes={name:n.node,logo:n.node,description:n.string};F.defaultProps={name:"",logo:"",description:""};const ge=b("div")`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  font-size: 14px;
@@ -241,7 +241,7 @@ import{r as $,bW as X,dq as Z,j as o,bE as O,dr as z,P as n,ds as ee,dt as U,bt
241
241
  margin: 0 auto;
242
242
  }
243
243
  }
244
- `;function V({elements:e,data:t,...r}){var a;return o.jsx(ve,{...r,children:o.jsxs(W,{children:[o.jsxs(y,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:{xs:"center",md:"space-between"},gap:2,pb:3},children:[o.jsx(y,{children:e.brand}),o.jsx(y,{lineHeight:1,children:e.socialMedia})]}),!!((a=t.navigation)!=null&&a.length)&&o.jsx(y,{sx:{mb:6,pt:3,borderTop:1,borderColor:"grey.200"},children:e.navigation}),o.jsxs(A,{sx:{pt:3,borderTop:1,borderColor:"grey.200"},autoCenter:!0,children:[e.copyright,e.links]})]})})}V.propTypes={elements:n.shape({brand:n.element,navigation:n.element,socialMedia:n.element,copyright:n.element,links:n.element}).isRequired,data:n.object.isRequired};const ve=b("div")`
244
+ `;function K({elements:e,data:t,...r}){var a;return o.jsx(ve,{...r,children:o.jsxs(D,{children:[o.jsxs(y,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:{xs:"center",md:"space-between"},gap:2,pb:3},children:[o.jsx(y,{children:e.brand}),o.jsx(y,{lineHeight:1,children:e.socialMedia})]}),!!((a=t.navigation)!=null&&a.length)&&o.jsx(y,{sx:{mb:6,pt:3,borderTop:1,borderColor:"grey.200"},children:e.navigation}),o.jsxs(A,{sx:{pt:3,borderTop:1,borderColor:"grey.200"},autoCenter:!0,children:[e.copyright,e.links]})]})})}K.propTypes={elements:n.shape({brand:n.element,navigation:n.element,socialMedia:n.element,copyright:n.element,links:n.element}).isRequired,data:n.object.isRequired};const ve=b("div")`
245
245
  padding: 32px 0 24px 0;
246
246
  .footer-brand-name,
247
247
  .footer-brand-desc {
@@ -250,7 +250,7 @@ import{r as $,bW as X,dq as Z,j as o,bE as O,dr as z,P as n,ds as ee,dt as U,bt
250
250
  && .footer-brand-logo {
251
251
  margin-right: 0;
252
252
  }
253
- `;function Y({elements:e,data:t,...r}){return o.jsx(je,{...r,children:o.jsxs(W,{className:"plain-layout-container",children:[!!t.links&&o.jsxs(A,{sx:{width:1},autoCenter:!0,children:[e.copyright,e.links]}),!t.links&&o.jsxs(o.Fragment,{children:[$.cloneElement(e.brand,{name:null,description:null}),e.copyright]})]})})}Y.propTypes={elements:n.shape({brand:n.element,navigation:n.element,socialMedia:n.element,copyright:n.element,links:n.element}).isRequired,data:n.object.isRequired};const je=b("div")`
253
+ `;function Y({elements:e,data:t,...r}){return o.jsx(je,{...r,children:o.jsxs(D,{className:"plain-layout-container",children:[!!t.links&&o.jsxs(A,{sx:{width:1},autoCenter:!0,children:[e.copyright,e.links]}),!t.links&&o.jsxs(o.Fragment,{children:[$.cloneElement(e.brand,{name:null,description:null}),e.copyright]})]})})}Y.propTypes={elements:n.shape({brand:n.element,navigation:n.element,socialMedia:n.element,copyright:n.element,links:n.element}).isRequired,data:n.object.isRequired};const je=b("div")`
254
254
  padding: 24px 0;
255
255
  .plain-layout-container {
256
256
  display: flex;
@@ -259,10 +259,10 @@ import{r as $,bW as X,dq as Z,j as o,bE as O,dr as z,P as n,ds as ee,dt as U,bt
259
259
  flex-wrap: wrap;
260
260
  gap: 8px;
261
261
  }
262
- `,J=[{name:"plain",support:(e,t)=>{var r,a;return!((r=t.navigation)!=null&&r.length)&&!((a=t.socialMedia)!=null&&a.length)},component:Y},{name:"standard",support:()=>!0,component:V}],we=J.reduce((e,t)=>({...e,[t.name]:t}),{});function L(e){var v,j;const{brand:t,navigation:r,socialMedia:a,copyright:i,links:u,layout:s,...c}=e,l=()=>t?o.jsx(F,{...t}):null,d=()=>r!=null&&r.length?o.jsx(R,{links:r}):null,p=()=>a!=null&&a.length?o.jsx(P,{items:a}):null,m=()=>{const x=(i==null?void 0:i.owner)||(t==null?void 0:t.name);return x?o.jsx(E,{owner:x,year:(i==null?void 0:i.year)||void 0}):null},f=()=>u!=null&&u.length?o.jsx(R,{flowLayout:!0,links:u}):null,k={brand:l(),navigation:d(),socialMedia:p(),copyright:m(),links:f()};let g=null;if(s==="auto"?g=J.find(x=>x.support(k,e)).component:g=(v=we[s])==null?void 0:v.component,!g)throw new Error(`layout ${s} is not supported.`);return o.jsxs(y,{position:"relative",...c,children:[o.jsx(g,{elements:k,data:e}),o.jsx(y,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(j=window==null?void 0:window.blocklet)==null?void 0:j.version})]})}L.propTypes={brand:n.shape({name:n.node,description:n.string,logo:n.node}),navigation:n.arrayOf(n.shape({label:n.node,link:n.string})),socialMedia:n.arrayOf(n.shape({icon:n.node,link:n.string})),copyright:n.shape({owner:n.string,year:n.oneOfType([n.string,n.number])}),links:n.arrayOf(n.shape({label:n.node,link:n.string})),layout:n.oneOf(["auto","standard","plain"])};L.defaultProps={brand:null,navigation:null,copyright:null,socialMedia:null,links:null,layout:"auto"};function H({meta:e,theme:t,...r}){var g,v,j,x;const{locale:a}=B()||{},i=$.useMemo(()=>{const h=Object.assign({},window.blocklet,e);try{return G(h)}catch(N){return console.error("Failed to format blocklet info",N,h),h}},[e]);if(!i.appName)return null;const{appLogo:u,appLogoRect:s,appName:c,appDescription:l,description:d,theme:p,copyright:m}=i,f={footerNav:I((g=i==null?void 0:i.navigation)==null?void 0:g.footer,a)||[],socialMedia:I((v=i==null?void 0:i.navigation)==null?void 0:v.social,a)||[],links:I((j=i==null?void 0:i.navigation)==null?void 0:j.bottom,a)||[]},k={brand:{name:c,description:l||d,logo:s||u},navigation:K(f.footerNav,h=>({...h,label:h.title,link:h.link}),"items"),copyright:m,socialMedia:f.socialMedia,links:f.links.map(h=>({...h,label:h.title}))};return o.jsx(M,{theme:t,children:o.jsx($e,{...k,..._(r,["bordered"]),$bordered:r==null?void 0:r.bordered,$bgcolor:(x=p==null?void 0:p.background)==null?void 0:x.footer})})}H.propTypes={meta:de,theme:n.object};H.defaultProps={meta:{},theme:null};const $e=b(L)`
262
+ `,J=[{name:"plain",support:(e,t)=>{var r,a;return!((r=t.navigation)!=null&&r.length)&&!((a=t.socialMedia)!=null&&a.length)},component:Y},{name:"standard",support:()=>!0,component:K}],we=J.reduce((e,t)=>({...e,[t.name]:t}),{});function L(e){var v,j;const{brand:t,navigation:r,socialMedia:a,copyright:i,links:u,layout:s,...c}=e,l=()=>t?o.jsx(F,{...t}):null,d=()=>r!=null&&r.length?o.jsx(R,{links:r}):null,p=()=>a!=null&&a.length?o.jsx(P,{items:a}):null,m=()=>{const x=(i==null?void 0:i.owner)||(t==null?void 0:t.name);return x?o.jsx(E,{owner:x,year:(i==null?void 0:i.year)||void 0}):null},f=()=>u!=null&&u.length?o.jsx(R,{flowLayout:!0,links:u}):null,k={brand:l(),navigation:d(),socialMedia:p(),copyright:m(),links:f()};let g=null;if(s==="auto"?g=J.find(x=>x.support(k,e)).component:g=(v=we[s])==null?void 0:v.component,!g)throw new Error(`layout ${s} is not supported.`);return o.jsxs(y,{position:"relative",...c,children:[o.jsx(g,{elements:k,data:e}),o.jsx(y,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(j=window==null?void 0:window.blocklet)==null?void 0:j.version})]})}L.propTypes={brand:n.shape({name:n.node,description:n.string,logo:n.node}),navigation:n.arrayOf(n.shape({label:n.node,link:n.string})),socialMedia:n.arrayOf(n.shape({icon:n.node,link:n.string})),copyright:n.shape({owner:n.string,year:n.oneOfType([n.string,n.number])}),links:n.arrayOf(n.shape({label:n.node,link:n.string})),layout:n.oneOf(["auto","standard","plain"])};L.defaultProps={brand:null,navigation:null,copyright:null,socialMedia:null,links:null,layout:"auto"};function H({meta:e,theme:t,...r}){var g,v,j,x;const{locale:a}=B()||{},i=$.useMemo(()=>{const h=Object.assign({},window.blocklet,e);try{return G(h)}catch(N){return console.error("Failed to format blocklet info",N,h),h}},[e]);if(!i.appName)return null;const{appLogo:u,appLogoRect:s,appName:c,appDescription:l,description:d,theme:p,copyright:m}=i,f={footerNav:I((g=i==null?void 0:i.navigation)==null?void 0:g.footer,a)||[],socialMedia:I((v=i==null?void 0:i.navigation)==null?void 0:v.social,a)||[],links:I((j=i==null?void 0:i.navigation)==null?void 0:j.bottom,a)||[]},k={brand:{name:c,description:l||d,logo:s||u},navigation:V(f.footerNav,h=>({...h,label:h.title,link:h.link}),"items"),copyright:m,socialMedia:f.socialMedia,links:f.links.map(h=>({...h,label:h.title}))};return o.jsx(M,{theme:t,children:o.jsx($e,{...k,..._(r,["bordered"]),$bordered:r==null?void 0:r.bordered,$bgcolor:(x=p==null?void 0:p.background)==null?void 0:x.footer})})}H.propTypes={meta:de,theme:n.object};H.defaultProps={meta:{},theme:null};const $e=b(L)`
263
263
  ${({$bordered:e})=>`border-top: 1px solid ${e?q.strokeSep:"#eee"};`}
264
264
  color: ${e=>e.theme.palette.grey[600]};
265
265
  ${({$bgcolor:e})=>e&&`background-color: ${e};`}
266
266
  font-family: Inter, Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
267
267
  'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
268
- `,Te=U(H,{FallbackComponent:D});export{Te as F,Ce as H};
268
+ `,Te=U(H,{FallbackComponent:W});export{Te as F,Ce as H};
@@ -0,0 +1,11 @@
1
+ var bt=Object.defineProperty;var yt=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var D=(e,t,n)=>yt(e,typeof t!="symbol"?t+"":t,n);import{aG as xt,cH as wt,cZ as vt,aK as W,ci as V,r as A,aI as It,aJ as Ct,aO as ve,cC as St,cf as Tt,j as m,aM as Ie,aN as At,P as f,O as kt,k as jt,aC as Pt,bD as Ce,bm as Lt,bn as Ot,dj as Mt,ah as Rt,N as k,bk as Et,B as Nt,bA as _t,T as qt,dk as Ft,dl as Bt,a1 as $t,dm as zt,bB as De,u as Ve,aD as Ht,f as Dt,z as Vt}from"./index-D72EFlhx.js";import{D as Ut}from"./index-B_KSOQaY.js";import{l as R,g as Qt,L as Gt}from"./MoreVert-CvCn3RFF.js";import{L as Wt}from"./selector-CqQYOmjD.js";const Zt=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Jt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Xt=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:s,divider:i,selected:a}=e,l=At({root:["root",r&&"dense",!s&&"gutters",i&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},Qt,n);return W({},n,l)},Yt=xt(wt,{shouldForwardProp:e=>vt(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Jt})(({theme:e,ownerState:t})=>W({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${R.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:V(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${R.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:V(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${R.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:V(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:V(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${R.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${R.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Kt=A.forwardRef(function(t,n){const r=It({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:s=!1,component:i="div",children:a,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:g}=r,b=Ct(r,Zt),x=A.useContext(ve),I=A.useMemo(()=>({dense:c||x.dense||!1,alignItems:o,disableGutters:l}),[o,x.dense,c,l]),T=A.useRef(null);St(()=>{s&&T.current&&T.current.focus()},[s]);const w=W({},r,{alignItems:o,dense:I.dense,disableGutters:l,divider:u,selected:p}),y=Xt(w),M=Tt(T,n);return m.jsx(ve.Provider,{value:I,children:m.jsx(Yt,W({ref:M,href:b.href||b.to,component:(b.href||b.to)&&i==="div"?"button":i,focusVisibleClassName:Ie(y.focusVisible,d),ownerState:w,className:Ie(y.root,g)},b,{classes:y,children:a}))})});/**
2
+ * (c) Iconify
3
+ *
4
+ * For the full copyright and license information, please view the license.txt
5
+ * files at https://github.com/iconify/iconify
6
+ *
7
+ * Licensed under MIT.
8
+ *
9
+ * @license MIT
10
+ * @version 1.0.8
11
+ */const Ue=Object.freeze({left:0,top:0,width:16,height:16}),Z=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),$=Object.freeze({...Ue,...Z}),re=Object.freeze({...$,body:"",hidden:!1}),en=Object.freeze({width:null,height:null}),Qe=Object.freeze({...en,...Z});function tn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const nn=/[\s,]+/;function on(e,t){t.split(nn).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Ge={...Qe,preserveAspectRatio:""};function Se(e){const t={...Ge},n=(r,o)=>e.getAttribute(r)||o;return t.width=n("width",null),t.height=n("height",null),t.rotate=tn(n("rotate","")),on(t,n("flip","")),t.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),t}function rn(e,t){for(const n in Ge)if(e[n]!==t[n])return!0;return!1}const N=/^[a-z0-9]+(-[a-z0-9]+)*$/,z=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!Q(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Q(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Q(a,n)?null:a}return null},Q=(e,t)=>e?!!((e.provider===""||e.provider.match(N))&&(t&&e.prefix===""||e.prefix.match(N))&&e.name.match(N)):!1;function sn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Te(e,t){const n=sn(e,t);for(const r in re)r in Z?r in e&&!(r in n)&&(n[r]=Z[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function cn(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}function an(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Te(r[a]||o[a],s)}return i(t),n.forEach(i),Te(e,s)}function We(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=cn(e);for(const o in r){const s=r[o];s&&(t(o,an(e,o,s)),n.push(o))}return n}const ln={provider:"",aliases:{},not_found:{},...Ue};function ee(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ze(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ee(e,ln))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(N)||typeof s.body!="string"||!ee(s,re))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(N)||typeof i!="string"||!n[i]&&!r[i]||!ee(s,re))return null}return t}const J=Object.create(null);function un(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function P(e,t){const n=J[e]||(J[e]=Object.create(null));return n[t]||(n[t]=un(e,t))}function pe(e,t){return Ze(t)?We(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function fn(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function dn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(J)).forEach(o=>{(typeof o=="string"&&typeof t=="string"?[t]:Object.keys(J[o]||{})).forEach(i=>{const a=P(o,i);n=n.concat(Object.keys(a.icons).map(c=>(o!==""?"@"+o+":":"")+i+":"+c))})}),n}let q=!1;function Je(e){return typeof e=="boolean"&&(q=e),q}function F(e){const t=typeof e=="string"?z(e,!0,q):e;if(t){const n=P(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Xe(e,t){const n=z(e,!0,q);if(!n)return!1;const r=P(n.provider,n.prefix);return fn(r,n.name,t)}function Ae(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),q&&!t&&!e.prefix){let o=!1;return Ze(e)&&(e.prefix="",We(e,(s,i)=>{i&&Xe(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Q({provider:t,prefix:n,name:"a"}))return!1;const r=P(t,n);return!!pe(r,e)}function pn(e){return!!F(e)}function hn(e){const t=F(e);return t?{...$,...t}:null}function gn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=P(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const d={provider:s,prefix:i,name:a};u.push(d)}),t}function Ye(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function mn(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Ye([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let bn=0;function yn(e,t,n){const r=bn++,o=Ye.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}const se=Object.create(null);function ke(e,t){se[e]=t}function ie(e){return se[e]||se[""]}function xn(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?z(o,t,n):o;s&&r.push(s)}),r}var wn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vn(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const v=Math.floor(Math.random()*h.length);i.push(h[v]),h=h.slice(0,v).concat(h.slice(v+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,d=null,p=[],g=[];typeof r=="function"&&g.push(r);function b(){d&&(clearTimeout(d),d=null)}function x(){c==="pending"&&(c="aborted"),b(),p.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),p=[]}function I(h,v){v&&(g=[]),typeof h=="function"&&g.push(h)}function T(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:p.length,subscribe:I,abort:x}}function w(){c="failed",g.forEach(h=>{h(void 0,u)})}function y(){p.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),p=[]}function M(h,v,j){const S=v!=="success";switch(p=p.filter(L=>L!==h),c){case"pending":break;case"failed":if(S||!e.dataAfterTimeout)return;break;default:return}if(v==="abort"){u=j,w();return}if(S){u=j,p.length||(i.length?C():w());return}if(b(),y(),!e.random){const L=e.resources.indexOf(h.resource);L!==-1&&L!==e.index&&(e.index=L)}c="completed",g.forEach(L=>{L(j)})}function C(){if(c!=="pending")return;b();const h=i.shift();if(h===void 0){if(p.length){d=setTimeout(()=>{b(),c==="pending"&&(y(),w())},e.timeout);return}w();return}const v={status:"pending",resource:h,callback:(j,S)=>{M(v,j,S)}};p.push(v),l++,d=setTimeout(C,e.rotate),n(h,t,v.callback)}return setTimeout(C),T}function Ke(e){const t={...wn,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=vn(t,a,c,(d,p)=>{r(),l&&l(d,p)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function he(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Y=Object.create(null),E=["https://api.simplesvg.com","https://api.unisvg.com"],G=[];for(;E.length>0;)E.length===1||Math.random()>.5?G.push(E.shift()):G.push(E.pop());Y[""]=he({resources:["https://api.iconify.design"].concat(G)});function je(e,t){const n=he(t);return n===null?!1:(Y[e]=n,!0)}function K(e){return Y[e]}function In(){return Object.keys(Y)}function Pe(){}const te=Object.create(null);function Cn(e){if(!te[e]){const t=K(e);if(!t)return;const n=Ke(t),r={config:t,redundancy:n};te[e]=r}return te[e]}function et(e,t,n){let r,o;if(typeof e=="string"){const s=ie(e);if(!s)return n(void 0,424),Pe;o=s.send;const i=Cn(e);i&&(r=i.redundancy)}else{const s=he(e);if(s){r=Ke(s);const i=e.resources?e.resources[0]:"",a=ie(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Pe):r.query(t,o,n)().abort}const Le="iconify2",B="iconify",tt=B+"-count",Oe=B+"-version",nt=36e5,Sn=168;function ce(e,t){try{return e.getItem(t)}catch{}}function ge(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Me(e,t){try{e.removeItem(t)}catch{}}function ae(e,t){return ge(e,tt,t.toString())}function le(e){return parseInt(ce(e,tt))||0}const O={local:!0,session:!0},ot={local:new Set,session:new Set};let me=!1;function Tn(e){me=e}let U=typeof window>"u"?{}:window;function rt(e){const t=e+"Storage";try{if(U&&U[t]&&typeof U[t].length=="number")return U[t]}catch{}O[e]=!1}function st(e,t){const n=rt(e);if(!n)return;const r=ce(n,Oe);if(r!==Le){if(r){const a=le(n);for(let c=0;c<a;c++)Me(n,B+c.toString())}ge(n,Oe,Le),ae(n,0);return}const o=Math.floor(Date.now()/nt)-Sn,s=a=>{const c=B+a.toString(),l=ce(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}Me(n,c)}};let i=le(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,ae(n,i)):ot[e].add(a))}function it(){if(!me){Tn(!0);for(const e in O)st(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=P(r,o);if(!pe(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function An(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in O)st(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function kn(e,t){me||it();function n(r){let o;if(!O[r]||!(o=rt(r)))return;const s=ot[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=le(o),!ae(o,i+1))return;const a={cached:Math.floor(Date.now()/nt),provider:e.provider,data:t};return ge(o,B+i.toString(),JSON.stringify(a))}t.lastModified&&!An(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Re(){}function jn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,mn(e)}))}function Pn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=ie(n)))return;s.prepare(n,r,o).forEach(a=>{et(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=pe(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),kn(e,c)}catch(l){console.error(l)}jn(e)})})}))}const be=(e,t)=>{const n=xn(e,!0,Je()),r=gn(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Re)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(P(l,u));const d=o[l]||(o[l]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:d}=c,p=P(l,u),g=p.pendingIcons||(p.pendingIcons=new Set);g.has(d)||(g.add(d),o[l][u].push(d))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&Pn(c,o[l][u])}),t?yn(t,r,s):Re},Ln=e=>new Promise((t,n)=>{const r=typeof e=="string"?z(e,!0):e;if(!r){n(e);return}be([r||e],o=>{if(o.length&&r){const s=F(r);if(s){t({...$,...s});return}}n(e)})});function On(e){try{const t=typeof e=="string"?JSON.parse(e):e;if(typeof t.body=="string")return{...t}}catch{}}function Mn(e,t){const n=typeof e=="string"?z(e,!0,!0):null;if(!n){const s=On(e);return{value:e,data:s}}const r=F(n);if(r!==void 0||!n.prefix)return{value:e,name:n,data:r};const o=be([n],()=>t(e,n,F(n)));return{value:e,name:n,loading:o}}function ne(e){return e.hasAttribute("inline")}let ct=!1;try{ct=navigator.vendor.indexOf("Apple")===0}catch{}function Rn(e,t){switch(t){case"svg":case"bg":case"mask":return t}return t!=="style"&&(ct||e.indexOf("<a")===-1)?"svg":e.indexOf("currentColor")===-1?"bg":"mask"}const En=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Nn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ue(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(En);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Nn.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const _n=e=>e==="unset"||e==="undefined"||e==="none";function at(e,t){const n={...$,...e},r={...Qe,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(b=>{const x=[],I=b.hFlip,T=b.vFlip;let w=b.rotate;I?T?w+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):T&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let y;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:y=o.height/2+o.top,x.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,x.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}w%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),x.length&&(s='<g transform="'+x.join(" ")+'">'+s+"</g>")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,d;i===null?(d=a===null?"1em":a==="auto"?l:a,u=ue(d,c/l)):(u=i==="auto"?c:i,d=a===null?ue(u,l/c):a==="auto"?l:a);const p={},g=(b,x)=>{_n(x)||(p[b]=x.toString())};return g("width",u),g("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:p,body:s}}const qn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let X=qn();function Fn(e){X=e}function Bn(){return X}function $n(e,t){const n=K(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function zn(e){return e===404}const Hn=(e,t,n)=>{const r=[],o=$n(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function Dn(e){if(typeof e=="string"){const t=K(e);if(t)return t.path}return"/"}const Vn=(e,t,n)=>{if(!X){n("abort",424);return}let r=Dn(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;X(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(zn(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},Un={prepare:Hn,send:Vn};function Ee(e,t){switch(e){case"local":case"session":O[e]=t;break;case"all":for(const n in O)O[n]=t;break}}const oe="data-style";let lt="";function Qn(e){lt=e}function Ne(e,t){let n=Array.from(e.childNodes).find(r=>r.hasAttribute&&r.hasAttribute(oe));n||(n=document.createElement("style"),n.setAttribute(oe,oe),e.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(t?"-0.125em":"0")+"}span,svg{display:block}"+lt}function ut(){ke("",Un),Je(!0);let e;try{e=window}catch{}if(e){if(it(),e.IconifyPreload!==void 0){const n=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Ae(o))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(const r in n){const o="IconifyProviders["+r+"] is invalid.";try{const s=n[r];if(typeof s!="object"||!s||s.resources===void 0)continue;je(r,s)||console.error(o)}catch{console.error(o)}}}}return{enableCache:n=>Ee(n,!0),disableCache:n=>Ee(n,!1),iconExists:pn,getIcon:hn,listIcons:dn,addIcon:Xe,addCollection:Ae,calculateSize:ue,buildIcon:at,loadIcons:be,loadIcon:Ln,addAPIProvider:je,appendCustomStyle:Qn,_api:{getAPIConfig:K,setAPIModule:ke,sendAPIQuery:et,setFetch:Fn,getFetch:Bn,listAPIProviders:In}}}function ft(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Gn(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Wn(e){return"data:image/svg+xml,"+Gn(e)}function Zn(e){return'url("'+Wn(e)+'")'}const fe={"background-color":"currentColor"},dt={"background-color":"transparent"},_e={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},qe={"-webkit-mask":fe,mask:fe,background:dt};for(const e in qe){const t=qe[e];for(const n in _e)t[e+"-"+n]=_e[n]}function Fe(e){return e?e+(e.match(/^[-0-9.]+$/)?"px":""):"inherit"}function Jn(e,t,n){const r=document.createElement("span");let o=e.body;o.indexOf("<a")!==-1&&(o+="<!-- "+Date.now()+" -->");const s=e.attributes,i=ft(o,{...s,width:t.width+"",height:t.height+""}),a=Zn(i),c=r.style,l={"--svg":a,width:Fe(s.width),height:Fe(s.height),...n?fe:dt};for(const u in l)c.setProperty(u,l[u]);return r}let _;function Xn(){try{_=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{_=null}}function Yn(e){return _===void 0&&Xn(),_?_.createHTML(e):e}function Kn(e){const t=document.createElement("span"),n=e.attributes;let r="";n.width||(r="width: inherit;"),n.height||(r+="height: inherit;"),r&&(n.style=r);const o=ft(e.body,n);return t.innerHTML=Yn(o),t.firstChild}function Be(e,t){const n=t.icon.data,r=t.customisations,o=at(n,r);r.preserveAspectRatio&&(o.attributes.preserveAspectRatio=r.preserveAspectRatio);const s=t.renderedMode;let i;switch(s){case"svg":i=Kn(o);break;default:i=Jn(o,{...$,...n},s==="mask")}const a=Array.from(e.childNodes).find(c=>{const l=c.tagName&&c.tagName.toUpperCase();return l==="SPAN"||l==="SVG"});a?i.tagName==="SPAN"&&a.tagName===i.tagName?a.setAttribute("style",i.getAttribute("style")):e.replaceChild(i,a):e.appendChild(i)}function $e(e,t,n){const r=n&&(n.rendered?n:n.lastRender);return{rendered:!1,inline:t,icon:e,lastRender:r}}function eo(e="iconify-icon"){let t,n;try{t=window.customElements,n=window.HTMLElement}catch{return}if(!t||!n)return;const r=t.get(e);if(r)return r;const o=["icon","mode","inline","width","height","rotate","flip"],s=class extends n{constructor(){super();D(this,"_shadowRoot");D(this,"_state");D(this,"_checkQueued",!1);const c=this._shadowRoot=this.attachShadow({mode:"open"}),l=ne(this);Ne(c,l),this._state=$e({value:""},l),this._queueCheck()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(c){if(c==="inline"){const l=ne(this),u=this._state;l!==u.inline&&(u.inline=l,Ne(this._shadowRoot,l))}else this._queueCheck()}get icon(){const c=this.getAttribute("icon");if(c&&c.slice(0,1)==="{")try{return JSON.parse(c)}catch{}return c}set icon(c){typeof c=="object"&&(c=JSON.stringify(c)),this.setAttribute("icon",c)}get inline(){return ne(this)}set inline(c){c?this.setAttribute("inline","true"):this.removeAttribute("inline")}restartAnimation(){const c=this._state;if(c.rendered){const l=this._shadowRoot;if(c.renderedMode==="svg")try{l.lastChild.setCurrentTime(0);return}catch{}Be(l,c)}}get status(){const c=this._state;return c.rendered?"rendered":c.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const c=this._state,l=this.getAttribute("icon");if(l!==c.icon.value){this._iconChanged(l);return}if(!c.rendered)return;const u=this.getAttribute("mode"),d=Se(this);(c.attrMode!==u||rn(c.customisations,d))&&this._renderIcon(c.icon,d,u)}_iconChanged(c){const l=Mn(c,(u,d,p)=>{const g=this._state;if(g.rendered||this.getAttribute("icon")!==u)return;const b={value:u,name:d,data:p};b.data?this._gotIconData(b):g.icon=b});l.data?this._gotIconData(l):this._state=$e(l,this._state.inline,this._state)}_gotIconData(c){this._checkQueued=!1,this._renderIcon(c,Se(this),this.getAttribute("mode"))}_renderIcon(c,l,u){const d=Rn(c.data.body,u),p=this._state.inline;Be(this._shadowRoot,this._state={rendered:!0,icon:c,inline:p,customisations:l,attrMode:u,renderedMode:d})}};o.forEach(a=>{a in s.prototype||Object.defineProperty(s.prototype,a,{get:function(){return this.getAttribute(a)},set:function(c){c!==null?this.setAttribute(a,c):this.removeAttribute(a)}})});const i=ut();for(const a in i)s[a]=s.prototype[a]=i[a];return t.define(e,s),s}eo()||ut();const to=f.shape({appLogo:f.node,appName:f.string,theme:f.shape({background:f.string}),enableConnect:f.bool,enableLocale:f.bool,navigation:f.arrayOf(f.shape({title:f.oneOfType([f.string,f.object]),link:f.oneOfType([f.string,f.object]),icon:f.string,items:f.arrayOf(f.shape({title:f.oneOfType([f.string,f.object]),link:f.oneOfType([f.string,f.object])}))}))}),pt=f.shape({showText:f.bool,showRole:f.bool,switchDid:f.bool,switchProfile:f.bool,switchPassport:f.bool,disableLogout:f.bool,onLogin:f.func,onLogout:f.func,onSwitchDid:f.func,onSwitchProfile:f.func,onSwitchPassport:f.func,menu:f.array,menuRender:f.func,dark:f.bool,size:f.number}),H=(e,t,n="children")=>e.map(r=>Array.isArray(r[n])?t({...r,[n]:H(r[n],t,n)}):t(r)),no=(e,t="children")=>{const n=[];return H(e,r=>n.push(r),t),n},ye=(e,t,n="children")=>e.map(r=>({...r})).filter(r=>{const o=r[n];if(Array.isArray(o)){const i=ye(o,t,n);r[n]=i!=null&&i.length?i:void 0}const s={filteredChildren:r[n],isLeaf:!(o!=null&&o.length)};return t(r,s)}),oo=e=>/^https?:\/\//.test(e),ro=e=>{if(!e||!(e!=null&&e.startsWith("/")))return!1;const t=o=>o.endsWith("/")?o:`${o}/`,n=t(window.location.pathname),r=t(new URL(e,window.location.origin).pathname);return n.startsWith(r)},so=(e=[])=>{const t=e.map((r,o)=>({path:r,index:o})).filter(r=>ro(r.path));return t!=null&&t.length?t.slice(1).reduce((r,o)=>r.path.length>=o.path.length?r:o,t[0]).index:-1};var ze,He;const de=((ze=window==null?void 0:window.blocklet)==null?void 0:ze.groupPrefix)||((He=window==null?void 0:window.blocklet)==null?void 0:He.prefix)||"/",io=e=>{const t={...e},n=e==null?void 0:e.background;return typeof n=="string"?t.background={header:n,footer:n,default:n}:n&&typeof n=="object"&&(t.background={header:n.header||n.default,footer:n.footer||n.default,default:n.default}),t},ht=(e,t="en")=>{if(!(e!=null&&e.length))return e;const n=(o,s)=>typeof o=="string"?o:typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o,r=(o,s)=>{if(typeof o=="string"){if(oo(o)){const a=new URL(o);return a.searchParams.set("locale",s),a.href}const i=new URL(o,window.location.origin);return i.searchParams.set("locale",s),i.pathname+i.search}return typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o};return H(e,o=>{var s;return{...o,title:n(o.title,t),link:(s=o.items)!=null&&s.length?o.link:r(o.link,t),_rawLink:o.link}},"items")},co=e=>H(e,t=>t.role?{...t,role:Array.isArray(t.role)?t.role:[t.role]}:t,"items"),ao=e=>{if(!(e!=null&&e.length))return null;const t=co(e),n={header:[],footer:[],social:[],bottom:[],dashboard:[],sessionManager:[],userCenter:[]};return t.forEach(r=>{var o;r.section?Array.isArray(r.section)?r.section.forEach(s=>{var i;(i=n[s])==null||i.push(r)}):typeof r.section=="string"&&((o=n[r.section])==null||o.push(r)):n.header.push(r)}),n},lo=e=>{if(!e)return null;const t={...e};return t.theme=io(t.theme),t.navigation=ao(uo(t.navigation)),t},uo=(e=[])=>ye(e,(t,n)=>{var r;return!!t.link||((r=n.filteredChildren)==null?void 0:r.length)},"items"),gt=(e,t)=>ye(e,(n,r)=>{var s;const o=!n.role||t&&n.role.includes(t);return r.isLeaf?o:o&&((s=r.filteredChildren)==null?void 0:s.length)},"items"),fo={top:-960,width:960,height:960,body:'<path fill="currentColor" d="M510-600v-210q0-12.75 8.625-21.375T540-840h270q12.75 0 21.375 8.625T840-810v210q0 12.75-8.625 21.375T810-570H540q-12.75 0-21.375-8.625T510-600M120-480v-330q0-12.75 8.625-21.375T150-840h270q12.75 0 21.375 8.625T450-810v330q0 12.75-8.625 21.375T420-450H150q-12.75 0-21.375-8.625T120-480m390 330v-330q0-12.75 8.625-21.375T540-510h270q12.75 0 21.375 8.625T840-480v330q0 12.75-8.625 21.375T810-120H540q-12.75 0-21.375-8.625T510-150m-390 0v-210q0-12.75 8.625-21.375T150-390h270q12.75 0 21.375 8.625T450-360v210q0 12.75-8.625 21.375T420-120H150q-12.75 0-21.375-8.625T120-150m60-360h210v-270H180zm390 330h210v-270H570zm0-450h210v-150H570zM180-180h210v-150H180zm210-150"/>'},po={width:24,height:24,body:'<path fill="currentColor" d="M15.95 12.3L11.7 8.05q-.15-.15-.212-.325t-.063-.375q0-.2.063-.375t.212-.325l4.25-4.25q.15-.15.325-.212t.375-.063q.2 0 .375.063t.325.212l4.25 4.25q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.25 4.25q-.15.15-.325.213t-.375.062q-.2 0-.375-.062t-.325-.213ZM3 10V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v6q0 .425-.288.713T10 11H4q-.425 0-.713-.288T3 10Zm10 10v-6q0-.425.288-.713T14 13h6q.425 0 .713.288T21 14v6q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-6q0-.425.288-.713T4 13h6q.425 0 .713.288T11 14v6q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20ZM5 9h4V5H5v4Zm11.675 1.2L19.5 7.375L16.675 4.55L13.85 7.375l2.825 2.825ZM15 19h4v-4h-4v4ZM5 19h4v-4H5v4ZM9 9Zm4.85-1.625ZM9 15Zm6 0Z"/>'};function xe({session:e,locale:t,size:n}){const r=(window==null?void 0:window.blocklet)||{},o=(r.navigation||[]).filter(c=>c.section==="sessionManager"&&!["/sessionManager"].includes(c.id)).filter(c=>{var l;return!!((c==null?void 0:c.role)||[]).includes(((l=e==null?void 0:e.user)==null?void 0:l.role)||"guest")}).map(c=>{const l=((r==null?void 0:r.componentMountPoints)||[]).find(u=>c.component===u.name);return{...c,component:l}}),s=A.useRef(null),i=kt({open:!1}),a=jt((c=!i.open)=>{i.open=c});return o.length===0||!(e!=null&&e.user)?null:m.jsxs(m.Fragment,{children:[m.jsx(Pt,{size:"medium",ref:s,onClick:()=>a(),children:m.jsx(Ce,{icon:fo,fontSize:n,style:{transform:"scale(1.08)"}})}),m.jsx(Lt,{open:i.open,onClose:()=>a(!1),anchorEl:s.current,transition:!0,placement:"bottom-end",sx:{zIndex:1600},children:({TransitionProps:c})=>m.jsx(Ot,{onClickAway:l=>{l.preventDefault(),l.stopPropagation(),a(!1)},children:m.jsx(Mt,{...c,timeout:350,children:m.jsxs(Rt,{variant:"outlined",sx:{borderRadius:3,width:350,maxWidth:"90vw",borderColor:k.lineStep,p:2,border:"0 !important",boxShadow:`0px 8px 16px 0px ${k.gray6}, 0px 0px 0px 1px ${k.gray6}`},children:[m.jsx(Et,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, 100px)",gridAutoRows:"minmax(100px, max-content)",justifyContent:"space-between",maxHeight:350,overflowY:"auto",p:0},children:o.map(l=>{var u;return m.jsx(Gt,{disablePadding:!0,children:m.jsxs(Kt,{href:l.link,sx:{p:1,display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",height:"100%",borderRadius:2,"&:hover":{backgroundColor:k.surfacePrimarySubtitle}},children:[(u=l==null?void 0:l.component)!=null&&u.did?m.jsx(Nt,{component:"img",src:`${_t}/blocklet/logo-bundle/${l.component.did}`,sx:{borderRadius:2,width:50,height:50,objectFit:"contain"}}):m.jsx(Ce,{fontSize:50,icon:l.icon||po,color:k.textSubtitle}),m.jsx(qt,{sx:{fontSize:"12px",color:k.textBase,textAlign:"center",lineHeight:"normal"},children:Ft(l.title,t)})]})},l.id)})}),m.jsx(Bt,{session:e,children:m.jsx($t,{variant:"outlined",fullWidth:!0,href:zt,sx:{mt:1,borderRadius:2,color:k.textBase,borderColor:k.lineBorderStrong,"&:hover":{color:k.primaryBase,borderColor:k.primaryBase}},children:t==="zh"?"管理":"Manage"})})]})})})})]})}xe.propTypes={session:f.object.isRequired,locale:f.string,size:f.number};xe.defaultProps={locale:"en",size:24};function we({formattedBlocklet:e,addons:t,sessionManagerProps:n}){var p,g,b,x;const r=A.useContext(De),{locale:o}=Ve()||{},{enableConnect:s=!0,enableLocale:i=!0}=e,a=!!((p=r==null?void 0:r.session)!=null&&p.user);let c=ht((g=e==null?void 0:e.navigation)==null?void 0:g.sessionManager,o)||[];c=gt(c,(x=(b=r==null?void 0:r.session)==null?void 0:b.user)==null?void 0:x.role);const u=(()=>{if(t&&typeof t!="function")return Array.isArray(t)?t:[t];let I=[];if(i&&o&&I.push(m.jsx(Wt,{showText:!1},"locale-selector")),s&&r){const T=[];a&&(c?c.slice(0,5):[]).forEach(y=>{T.push({label:y.title,icon:y.icon?m.jsx("iconify-icon",{icon:y.icon,height:24,style:{marginRight:8}}):null,component:"a",href:y.link,key:y.link})}),I.push(m.jsx(xe,{session:r.session,locale:o},"session-blocklet")),I.push(m.jsx(Ht,{session:r.session,locale:o,menu:T,showRole:!0,...n},"session-user"))}return typeof t=="function"&&(I=t(I)||[]),I})();return A.createElement(m.Fragment,null,...Array.isArray(u)?u:[u])}we.propTypes={formattedBlocklet:f.object.isRequired,addons:f.oneOfType([f.func,f.node]),sessionManagerProps:pt};we.defaultProps={addons:null,sessionManagerProps:{showRole:!0}};const ho=()=>{const e=Dt();A.useEffect(()=>{e.wallet&&Vt.call("arcHideTopBar","{}")},[e])};function mt({meta:e,fallbackUrl:t,invalidPathFallback:n,headerAddons:r,sessionManagerProps:o,links:s,...i}){var M;ho();const a=A.useContext(De),c=(M=a==null?void 0:a.session)==null?void 0:M.user,l=c==null?void 0:c.role,{locale:u}=Ve()||{},d=A.useMemo(()=>{const C=Object.assign({},window.blocklet,e);try{return lo(C)}catch(h){return console.error("Failed to format blocklet info",h,C),C}},[e]),{localizedNav:p,flattened:g,matchedIndex:b}=A.useMemo(()=>{var j;let C=ht((j=d==null?void 0:d.navigation)==null?void 0:j.dashboard,u)||[];C=gt(C,l),C=H(C,S=>({title:S.title,url:S.link,icon:S.icon?m.jsx("iconify-icon",{height:"100%",width:"100%",icon:S.icon}):null,external:!0,children:S.items}),"items");const h=no(C).filter(S=>!!S.url),v=so(h.map(S=>S.url));return v!==-1&&(h[v].active=!0),{localizedNav:C,flattened:h,matchedIndex:v}},[d,u,l]),x=typeof s=="function"?s(p):[...p,...s];if(A.useLayoutEffect(()=>{c&&!(g!=null&&g.length)&&t&&(window.location.href=t)},[t]),A.useLayoutEffect(()=>{c&&(g!=null&&g.length)&&b===-1&&n&&n()},[n,g,b]),!d.appName)return null;const{appLogo:I,appLogoRect:T,appName:w}=d,y=m.jsx(we,{formattedBlocklet:d,addons:r,sessionManagerProps:o});return m.jsx(Ut,{title:w,fullWidth:!0,sidebarWidth:128,legacy:!1,links:x,...i,headerProps:{homeLink:de,logo:m.jsx("img",{src:T||I,alt:"logo"}),addons:y,...i.headerProps}})}mt.propTypes={meta:to,fallbackUrl:f.string,invalidPathFallback:f.func,headerAddons:f.oneOfType([f.func,f.node]),sessionManagerProps:pt,links:f.oneOfType([f.array,f.func])};mt.defaultProps={meta:{},fallbackUrl:de,invalidPathFallback:null,headerAddons:void 0,sessionManagerProps:{showRole:!0,onLogout:()=>{window.location.href=de}},links:[]};export{to as B,mt as D,we as H,Kt as L,no as a,so as b,lo as f,ht as g,oo as i,H as m,de as p,ho as u};
@@ -1 +1 @@
1
- import{dE as b}from"./index-BUs00uPs.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
1
+ import{eO as b}from"./index-D72EFlhx.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
@@ -0,0 +1,5 @@
1
+ import{b7 as c}from"./index-D72EFlhx.js";var i={exports:{}};/*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */(function(e){(function(){var f={}.hasOwnProperty;function s(){for(var t="",r=0;r<arguments.length;r++){var n=arguments[r];n&&(t=o(t,a(n)))}return t}function a(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return s.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var n in t)f.call(t,n)&&t[n]&&(r=o(r,n));return r}function o(t,r){return r?t?t+" "+r:t+r:t}e.exports?(s.default=s,e.exports=s):window.classNames=s})()})(i);var p=i.exports;const l=c(p);export{l as c};
@@ -1,4 +1,4 @@
1
- import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as re,j as n,aM as R,aN as Me,dc as no,c_ as ro,ai as ee,cL as to,dd as ao,V as so,de as io,df as lo,_ as co,c4 as po,as as se,P as r,X as ie,Y as le,bt as y,ab as uo,aB as de,L as K,T as _,b as ho,aC as Re,B as C,bu as xo,G as q,dg as Ie,H as Te,$ as mo,O as Be,h as te,dh as fo,k as X,di as go,dj as bo}from"./index-BUs00uPs.js";import{T as vo}from"./Toolbar-BjU2foSj.js";import{H as Le}from"./Hidden-xeAig8ZS.js";const ae={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 yo(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const jo=["className","color","enableColorOnDark","position"],wo=e=>{const{color:o,position:t,classes:a}=e,l={root:["root",`color${D(o)}`,`position${D(t)}`]};return Me(l,yo,a)},J=(e,o)=>e?`${e==null?void 0:e.replace(")","")}, ${o})`:o,ko=Z(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[`position${D(t.position)}`],o[`color${D(t.color)}`]]}})(({theme:e,ownerState:o})=>{const t=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return $({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},o.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},o.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},o.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},o.position==="static"&&{position:"static"},o.position==="relative"&&{position:"relative"},!e.vars&&$({},o.color==="default"&&{backgroundColor:t,color:e.palette.getContrastText(t)},o.color&&o.color!=="default"&&o.color!=="inherit"&&o.color!=="transparent"&&{backgroundColor:e.palette[o.color].main,color:e.palette[o.color].contrastText},o.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!o.enableColorOnDark&&{backgroundColor:null,color:null},o.color==="transparent"&&$({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&$({},o.color==="default"&&{"--AppBar-background":o.enableColorOnDark?e.vars.palette.AppBar.defaultBg:J(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":o.enableColorOnDark?e.vars.palette.text.primary:J(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},o.color&&!o.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":o.enableColorOnDark?e.vars.palette[o.color].main:J(e.vars.palette.AppBar.darkBg,e.vars.palette[o.color].main),"--AppBar-color":o.enableColorOnDark?e.vars.palette[o.color].contrastText:J(e.vars.palette.AppBar.darkColor,e.vars.palette[o.color].contrastText)},!["inherit","transparent"].includes(o.color)&&{backgroundColor:"var(--AppBar-background)"},{color:o.color==="inherit"?"inherit":"var(--AppBar-color)"},o.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),$o=p.forwardRef(function(o,t){const a=Ce({props:o,name:"MuiAppBar"}),{className:l,color:c="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,u=re(a,jo),s=$({},a,{color:c,position:i,enableColorOnDark:d}),x=wo(s);return n.jsx(ko,$({square:!0,component:"header",ownerState:s,elevation:4,className:R(x.root,l,i==="fixed"&&"mui-fixed"),ref:t},u))}),Po=$o;function zo(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const No=["BackdropProps"],Co=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ae=(e,o)=>{const{ownerState:t}=e;return[o.root,(t.variant==="permanent"||t.variant==="persistent")&&o.docked,o.modal]},Mo=e=>{const{classes:o,anchor:t,variant:a}=e,l={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${D(t)}`,a!=="temporary"&&`paperAnchorDocked${D(t)}`]};return Me(l,zo,o)},Ro=Z(no,{name:"MuiDrawer",slot:"Root",overridesResolver:Ae})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=Z("div",{shouldForwardProp:ro,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ae})({flex:"0 0 auto"}),Io=Z(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.paper,o[`paperAnchor${D(t.anchor)}`],t.variant!=="temporary"&&o[`paperAnchorDocked${D(t.anchor)}`]]}})(({theme:e,ownerState:o})=>$({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},o.anchor==="left"&&{left:0},o.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},o.anchor==="right"&&{right:0},o.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},o.anchor==="left"&&o.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},o.anchor==="top"&&o.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},o.anchor==="right"&&o.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},o.anchor==="bottom"&&o.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),_e={left:"right",right:"left",top:"down",bottom:"up"};function To(e){return["left","right"].indexOf(e)!==-1}function Bo({direction:e},o){return e==="rtl"&&To(o)?_e[o]:o}const Lo=p.forwardRef(function(o,t){const a=Ce({props:o,name:"MuiDrawer"}),l=ee(),c=to(),d={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:u,children:s,className:x,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:w}={},onClose:P,open:b=!1,PaperProps:f={},SlideProps:z,TransitionComponent:M=ao,transitionDuration:L=d,variant:I="temporary"}=a,N=re(a.ModalProps,No),g=re(a,Co),k=p.useRef(!1);p.useEffect(()=>{k.current=!0},[]);const A=Bo({direction:c?"rtl":"ltr"},i),F=$({},a,{anchor:i,elevation:m,open:b,variant:I},g),T=Mo(F),h=n.jsx(Io,$({elevation:I==="temporary"?m:0,square:!0},f,{className:R(T.paper,f.className),ownerState:F,children:s}));if(I==="permanent")return n.jsx(ke,$({className:R(T.root,T.docked,x),ownerState:F,ref:t},g,{children:h}));const v=n.jsx(M,$({in:b,direction:_e[A],timeout:L,appear:k.current},z,{children:h}));return I==="persistent"?n.jsx(ke,$({className:R(T.root,T.docked,x),ownerState:F,ref:t},g,{children:v})):n.jsx(Ro,$({BackdropProps:$({},u,w,{transitionDuration:L}),className:R(T.root,T.modal,x),open:b,ownerState:F,onClose:P,hideBackdrop:j,ref:t},g,N,{children:v}))}),De=Lo;function Ao(e,o){var t,a=so(e),l=(t=o==null?void 0:o.wait)!==null&&t!==void 0?t:1e3,c=p.useMemo(function(){return io(function(){for(var d=[],i=0;i<arguments.length;i++)d[i]=arguments[i];return a.current.apply(a,lo([],co(d),!1))},l,o)},[]);return po(function(){c.cancel()}),{run:c,cancel:c.cancel,flush:c.flush}}const _o=se(n.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),Do=se(n.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),Fo=se(n.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),Fe=p.createContext(),Ho=e=>{const o=p.useContext(Fe);return p.useLayoutEffect(()=>{e&&o.configure(e)},[]),o};function He({children:e,...o}){const[t,a]=p.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),l=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},c=p.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:l,configure:d=>a(i=>({...i,...d}))}),[t]);return n.jsx(Fe.Provider,{value:c,...o,children:e})}He.propTypes={children:r.node.isRequired};var ce={},Oo=le;Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ce.default=void 0,Wo=Oo(ie()),Vo=n;Oe=ce.default=(0,Wo.default)((0,Vo.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Eo=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,qo=Eo(ie()),Uo=n;We=pe.default=(0,qo.default)((0,Uo.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:o,alt:t,color:a,style:l,prefix:c,showBadge:d,...i}){const u=`${c}/${e}-${a.replace(/^#/,"")}.png`;return n.jsxs(So,{style:{width:o,height:o},children:[n.jsx(uo,{width:o,height:o,alt:t||e,src:u,style:Object.assign({width:o},l),...i}),d&&n.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:r.string.isRequired,size:r.number,color:r.string,alt:r.string,style:r.object,prefix:r.string,showBadge:r.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const So=y("div")`
1
+ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as re,j as n,aM as R,aN as Me,db as no,cZ as ro,ai as ee,cK as to,dc as ao,V as so,dd as io,de as lo,_ as co,c3 as po,as as se,P as r,X as ie,Y as le,bt as y,ab as uo,aB as de,L as J,T as _,b as ho,aC as Re,B as C,bu as xo,G as q,df as Ie,H as Te,$ as mo,O as Be,h as te,dg as fo,k as X,dh as go,di as bo}from"./index-D72EFlhx.js";import{T as vo}from"./Toolbar-DBvMCYsj.js";import{H as Le}from"./Hidden-CHlMC7OU.js";const ae={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 yo(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const jo=["className","color","enableColorOnDark","position"],wo=e=>{const{color:o,position:t,classes:a}=e,l={root:["root",`color${D(o)}`,`position${D(t)}`]};return Me(l,yo,a)},K=(e,o)=>e?`${e==null?void 0:e.replace(")","")}, ${o})`:o,ko=Z(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[`position${D(t.position)}`],o[`color${D(t.color)}`]]}})(({theme:e,ownerState:o})=>{const t=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return $({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},o.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},o.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},o.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},o.position==="static"&&{position:"static"},o.position==="relative"&&{position:"relative"},!e.vars&&$({},o.color==="default"&&{backgroundColor:t,color:e.palette.getContrastText(t)},o.color&&o.color!=="default"&&o.color!=="inherit"&&o.color!=="transparent"&&{backgroundColor:e.palette[o.color].main,color:e.palette[o.color].contrastText},o.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!o.enableColorOnDark&&{backgroundColor:null,color:null},o.color==="transparent"&&$({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&$({},o.color==="default"&&{"--AppBar-background":o.enableColorOnDark?e.vars.palette.AppBar.defaultBg:K(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":o.enableColorOnDark?e.vars.palette.text.primary:K(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},o.color&&!o.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":o.enableColorOnDark?e.vars.palette[o.color].main:K(e.vars.palette.AppBar.darkBg,e.vars.palette[o.color].main),"--AppBar-color":o.enableColorOnDark?e.vars.palette[o.color].contrastText:K(e.vars.palette.AppBar.darkColor,e.vars.palette[o.color].contrastText)},!["inherit","transparent"].includes(o.color)&&{backgroundColor:"var(--AppBar-background)"},{color:o.color==="inherit"?"inherit":"var(--AppBar-color)"},o.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),$o=p.forwardRef(function(o,t){const a=Ce({props:o,name:"MuiAppBar"}),{className:l,color:c="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,u=re(a,jo),s=$({},a,{color:c,position:i,enableColorOnDark:d}),x=wo(s);return n.jsx(ko,$({square:!0,component:"header",ownerState:s,elevation:4,className:R(x.root,l,i==="fixed"&&"mui-fixed"),ref:t},u))});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,o)=>{const{ownerState:t}=e;return[o.root,(t.variant==="permanent"||t.variant==="persistent")&&o.docked,o.modal]},Co=e=>{const{classes:o,anchor:t,variant:a}=e,l={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${D(t)}`,a!=="temporary"&&`paperAnchorDocked${D(t)}`]};return Me(l,Po,o)},Mo=Z(no,{name:"MuiDrawer",slot:"Root",overridesResolver:Ae})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=Z("div",{shouldForwardProp:ro,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ae})({flex:"0 0 auto"}),Ro=Z(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.paper,o[`paperAnchor${D(t.anchor)}`],t.variant!=="temporary"&&o[`paperAnchorDocked${D(t.anchor)}`]]}})(({theme:e,ownerState:o})=>$({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},o.anchor==="left"&&{left:0},o.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},o.anchor==="right"&&{right:0},o.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},o.anchor==="left"&&o.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},o.anchor==="top"&&o.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},o.anchor==="right"&&o.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},o.anchor==="bottom"&&o.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),_e={left:"right",right:"left",top:"down",bottom:"up"};function Io(e){return["left","right"].indexOf(e)!==-1}function To({direction:e},o){return e==="rtl"&&Io(o)?_e[o]:o}const De=p.forwardRef(function(o,t){const a=Ce({props:o,name:"MuiDrawer"}),l=ee(),c=to(),d={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:u,children:s,className:x,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:w}={},onClose:P,open:b=!1,PaperProps:f={},SlideProps:z,TransitionComponent:M=ao,transitionDuration:L=d,variant:I="temporary"}=a,N=re(a.ModalProps,zo),g=re(a,No),k=p.useRef(!1);p.useEffect(()=>{k.current=!0},[]);const A=To({direction:c?"rtl":"ltr"},i),F=$({},a,{anchor:i,elevation:m,open:b,variant:I},g),T=Co(F),h=n.jsx(Ro,$({elevation:I==="temporary"?m:0,square:!0},f,{className:R(T.paper,f.className),ownerState:F,children:s}));if(I==="permanent")return n.jsx(ke,$({className:R(T.root,T.docked,x),ownerState:F,ref:t},g,{children:h}));const v=n.jsx(M,$({in:b,direction:_e[A],timeout:L,appear:k.current},z,{children:h}));return I==="persistent"?n.jsx(ke,$({className:R(T.root,T.docked,x),ownerState:F,ref:t},g,{children:v})):n.jsx(Mo,$({BackdropProps:$({},u,w,{transitionDuration:L}),className:R(T.root,T.modal,x),open:b,ownerState:F,onClose:P,hideBackdrop:j,ref:t},g,N,{children:v}))});function Bo(e,o){var t,a=so(e),l=(t=o==null?void 0:o.wait)!==null&&t!==void 0?t:1e3,c=p.useMemo(function(){return io(function(){for(var d=[],i=0;i<arguments.length;i++)d[i]=arguments[i];return a.current.apply(a,lo([],co(d),!1))},l,o)},[]);return po(function(){c.cancel()}),{run:c,cancel:c.cancel,flush:c.flush}}const Lo=se(n.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),Ao=se(n.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),_o=se(n.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),Fe=p.createContext(),Do=e=>{const o=p.useContext(Fe);return p.useLayoutEffect(()=>{},[]),o};function He({children:e,...o}){const[t,a]=p.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),l=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},c=p.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:l,configure:d=>a(i=>({...i,...d}))}),[t]);return n.jsx(Fe.Provider,{value:c,...o,children:e})}He.propTypes={children:r.node.isRequired};var ce={},Fo=le;Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ce.default=void 0,Ho=Fo(ie()),Oo=n;Oe=ce.default=(0,Ho.default)((0,Oo.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Wo=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,Vo=Wo(ie()),Eo=n;We=pe.default=(0,Vo.default)((0,Eo.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:o,alt:t,color:a,style:l,prefix:c,showBadge:d,...i}){const u=`${c}/${e}-${a.replace(/^#/,"")}.png`;return n.jsxs(qo,{style:{width:o,height:o},children:[n.jsx(uo,{width:o,height:o,alt:t||e,src:u,style:Object.assign({width:o},l),...i}),d&&n.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:r.string.isRequired,size:r.number,color:r.string,alt:r.string,style:r.object,prefix:r.string,showBadge:r.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const qo=y("div")`
2
2
  position: relative;
3
3
  .badge-point {
4
4
  position: absolute;
@@ -12,7 +12,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
12
12
  0px 1px 4px rgba(0, 0, 0, 0.3),
13
13
  0px 0px 20px rgba(0, 0, 0, 0.1);
14
14
  }
15
- `;var Ve=function(o){return n.jsx("svg",{...o,children:n.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",children:[n.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25m-43.301 0l43.301-25"}),n.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};Ve.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var Ee=function(o){return n.jsx("svg",{...o,children:n.jsx("path",{fill:"#FFF",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917h-7.09v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4v2.021c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};Ee.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};var qe=function(o){return n.jsx("svg",{...o,children:n.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#000",children:[n.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25m-43.301 0l43.301-25"}),n.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};qe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var Ue=function(o){return n.jsx("svg",{...o,children:n.jsx("path",{fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917h-7.09v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4v2.021c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};Ue.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};function U({showText:e,showLogo:o,mode:t,layout:a,...l}){const c=t==="light"?n.jsx(Ve,{}):n.jsx(qe,{}),d=t==="light"?n.jsx(Ee,{className:"logo-text"}):n.jsx(Ue,{className:"logo-text"});return n.jsxs(Go,{layout:a,...l,children:[o&&c,e&&d]})}U.propTypes={mode:r.oneOf(["light","dark"]),layout:r.oneOf(["vertical","horizontal"]),showText:r.bool,showLogo:r.bool};U.defaultProps={mode:"dark",layout:"vertical",showText:!0,showLogo:!0};const Go=y("span")`
15
+ `;var Ve=function(o){return n.jsx("svg",{...o,children:n.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",children:[n.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25m-43.301 0l43.301-25"}),n.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};Ve.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var Ee=function(o){return n.jsx("svg",{...o,children:n.jsx("path",{fill:"#FFF",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917h-7.09v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4v2.021c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};Ee.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};var qe=function(o){return n.jsx("svg",{...o,children:n.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#000",children:[n.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25m-43.301 0l43.301-25"}),n.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};qe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var Ue=function(o){return n.jsx("svg",{...o,children:n.jsx("path",{fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917h-7.09v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4v2.021c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};Ue.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};function U({showText:e,showLogo:o,mode:t,layout:a,...l}){const c=t==="light"?n.jsx(Ve,{}):n.jsx(qe,{}),d=t==="light"?n.jsx(Ee,{className:"logo-text"}):n.jsx(Ue,{className:"logo-text"});return n.jsxs(Uo,{layout:a,...l,children:[o&&c,e&&d]})}U.propTypes={mode:r.oneOf(["light","dark"]),layout:r.oneOf(["vertical","horizontal"]),showText:r.bool,showLogo:r.bool};U.defaultProps={mode:"dark",layout:"vertical",showText:!0,showLogo:!0};const Uo=y("span")`
16
16
  display: inline-flex;
17
17
  flex-direction: ${e=>e.layout==="horizontal"?"row":"column"};
18
18
  justify-content: center;
@@ -22,7 +22,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
22
22
  ${e=>e.layout==="vertical"?"margin-top: 8px;":""}
23
23
  ${e=>e.layout==="vertical"?"":"margin-left: 8px;"};
24
24
  }
25
- `;function he({images:e,links:o,prefix:t,addons:a,logo:l,...c}){const d=ee(),i=de(),u=(s,x)=>new RegExp(`/${x}`).test(i.pathname);return n.jsxs(Yo,{...c,children:[n.jsx(K,{to:"/",className:"sidebar-logo",children:l||n.jsx(U,{showText:!1,size:20})}),o.map(({url:s,name:x,title:m,showBadge:j})=>{const w=u(s,x);return n.jsxs(Xo,{component:K,selected:w,to:s,children:[n.jsx(ue,{name:e[x],size:36,color:w?"#00c2c4":d.typography.color.main,prefix:t,showBadge:j}),n.jsx(_,{component:"span",className:"menu-title",children:m})]},s)}),n.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:r.object.isRequired,links:r.array.isRequired,prefix:r.string,addons:r.any,logo:r.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const Yo=p.memo(y("div")`
25
+ `;function he({images:e,links:o,prefix:t,addons:a,logo:l,...c}){const d=ee(),i=de(),u=(s,x)=>new RegExp(`/${x}`).test(i.pathname);return n.jsxs(So,{...c,children:[n.jsx(J,{to:"/",className:"sidebar-logo",children:l||n.jsx(U,{showText:!1,size:20})}),o.map(({url:s,name:x,title:m,showBadge:j})=>{const w=u(s,x);return n.jsxs(Go,{component:J,selected:w,to:s,children:[n.jsx(ue,{name:e[x],size:36,color:w?"#00c2c4":d.typography.color.main,prefix:t,showBadge:j}),n.jsx(_,{component:"span",className:"menu-title",children:m})]},s)}),n.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:r.object.isRequired,links:r.array.isRequired,prefix:r.string,addons:r.any,logo:r.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const So=p.memo(y("div")`
26
26
  flex: 1;
27
27
  display: flex;
28
28
  flex-direction: column;
@@ -43,7 +43,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
43
43
  display: block;
44
44
  }
45
45
  }
46
- `),$e="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",Xo=y(ho)`
46
+ `),$e="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",Go=y(ho)`
47
47
  && {
48
48
  display: flex;
49
49
  flex-direction: column;
@@ -72,7 +72,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
72
72
  color: ${e=>e.theme.palette.text.primary};
73
73
  }
74
74
  }
75
- `;var xe={},Jo=le;Object.defineProperty(xe,"__esModule",{value:!0});var me=xe.default=void 0,Ko=Jo(ie()),Qo=n;me=xe.default=(0,Ko.default)((0,Qo.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");const Zo=y(Po)`
75
+ `;var xe={},Yo=le;Object.defineProperty(xe,"__esModule",{value:!0});var me=xe.default=void 0,Xo=Yo(ie()),Ko=n;me=xe.default=(0,Xo.default)((0,Ko.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");const Jo=y($o)`
76
76
  && {
77
77
  z-index: ${e=>e.theme.zIndex.drawer};
78
78
  background: ${e=>e.theme.palette.background.default};
@@ -142,7 +142,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
142
142
  display: block;
143
143
  }
144
144
  }
145
- `;function fe({children:e,brand:o,brandAddon:t,description:a,addons:l,onToggleMenu:c,homeUrl:d,logo:i,...u}){return n.jsx(Zo,{position:"sticky",className:"header",...u,children:n.jsxs(vo,{disableGutters:!1,className:"header-toolbar",children:[n.jsx(Re,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:c,children:n.jsx(me,{})}),n.jsxs(K,{to:d,className:"header-link",children:[n.jsx(Le,{mdDown:!0,children:n.jsx("div",{className:"header-logo",children:i||n.jsx(U,{showText:!1})})}),n.jsxs("div",{className:"header-title",children:[n.jsxs(_,{component:"h2",noWrap:!0,className:"header-title__primary",children:[o,t]}),n.jsx(_,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),n.jsx(C,{flexGrow:1}),!!e&&n.jsx("div",{className:"header-children",children:e}),n.jsx("div",{className:"header-addons",children:l})]})})}fe.propTypes={onToggleMenu:r.func.isRequired,brand:r.string.isRequired,brandAddon:r.object,description:r.any.isRequired,children:r.any,addons:r.any,homeUrl:r.string,logo:r.any};fe.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function W(e){var m;const o=xo(e,W,["dark","style"]),{className:t,copyStart:a,style:l,brand:c,dark:d,addon:i}=o,u=`${new Date().getFullYear()}`,s=`${a}`,x=u===s?u:`${s}-${u}`;return n.jsxs(en,{className:t,style:l,dark:d,children:[n.jsx(q,{maxWidth:!1,children:n.jsxs(_,{component:"div",className:"footer",children:[n.jsxs(_,{component:"p",className:"footer-item",children:[n.jsxs("span",{className:"footer-copy",children:["Copyright © ",x," "]}),n.jsx("span",{className:"footer-brand",children:c})]}),i&&n.jsx(_,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),n.jsxs(_,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",n.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),n.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})]})}W.propTypes={dark:r.bool,className:r.string,copyStart:r.oneOfType([r.string,r.number]),brand:r.string,style:r.object,addon:r.node};W.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const en=y("div",{shouldForwardProp:e=>e!=="dark"})`
145
+ `;function fe({children:e,brand:o,brandAddon:t,description:a,addons:l,onToggleMenu:c,homeUrl:d,logo:i,...u}){return n.jsx(Jo,{position:"sticky",className:"header",...u,children:n.jsxs(vo,{disableGutters:!1,className:"header-toolbar",children:[n.jsx(Re,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:c,children:n.jsx(me,{})}),n.jsxs(J,{to:d,className:"header-link",children:[n.jsx(Le,{mdDown:!0,children:n.jsx("div",{className:"header-logo",children:i||n.jsx(U,{showText:!1})})}),n.jsxs("div",{className:"header-title",children:[n.jsxs(_,{component:"h2",noWrap:!0,className:"header-title__primary",children:[o,t]}),n.jsx(_,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),n.jsx(C,{flexGrow:1}),!!e&&n.jsx("div",{className:"header-children",children:e}),n.jsx("div",{className:"header-addons",children:l})]})})}fe.propTypes={onToggleMenu:r.func.isRequired,brand:r.string.isRequired,brandAddon:r.object,description:r.any.isRequired,children:r.any,addons:r.any,homeUrl:r.string,logo:r.any};fe.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function W(e){var m;const o=xo(e,W,["dark","style"]),{className:t,copyStart:a,style:l,brand:c,dark:d,addon:i}=o,u=`${new Date().getFullYear()}`,s=`${a}`,x=u===s?u:`${s}-${u}`;return n.jsxs(Qo,{className:t,style:l,dark:d,children:[n.jsx(q,{maxWidth:!1,children:n.jsxs(_,{component:"div",className:"footer",children:[n.jsxs(_,{component:"p",className:"footer-item",children:[n.jsxs("span",{className:"footer-copy",children:["Copyright © ",x," "]}),n.jsx("span",{className:"footer-brand",children:c})]}),i&&n.jsx(_,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),n.jsxs(_,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",n.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),n.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})]})}W.propTypes={dark:r.bool,className:r.string,copyStart:r.oneOfType([r.string,r.number]),brand:r.string,style:r.object,addon:r.node};W.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Qo=y("div",{shouldForwardProp:e=>e!=="dark"})`
146
146
  position: relative;
147
147
  margin-top: 64px;
148
148
  padding: 24px 0 32px;
@@ -202,7 +202,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
202
202
  }
203
203
  }
204
204
  }
205
- `,on=y("div")`
205
+ `,Zo=y("div")`
206
206
  &.dashboard {
207
207
  display: flex;
208
208
  flex-direction: column;
@@ -230,7 +230,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
230
230
  box-shadow: 2px 16px 10px 0 rgba(0, 0, 0, ${e=>e.theme.mode==="light"?.05:.5});
231
231
  border: 0;
232
232
  }
233
- `;function ge({children:e,title:o,brand:t,description:a,brandAddon:l,headerAddon:c,images:d,links:i,prefix:u,fullWidth:s,contentLayout:x,className:m,homeUrl:j,logo:w,...P}){const f=Ie(document.body),z=(f==null?void 0:f.width)||0,[M,L]=p.useState(z>=960?"permanent":"temporary"),[I,N]=p.useState(M==="permanent");p.useEffect(()=>{const A=z>=960?"permanent":"temporary";L(A),N(A!=="temporary")},[z]);const g=()=>{N(!I)},k=s||x==="row";return n.jsxs(on,{className:`dashboard ${m}`,...P,children:[n.jsx(Te,{title:`${o}-${t}`}),n.jsx(fe,{className:"dashboard__header",onToggleMenu:g,brand:t,brandAddon:l,description:a,addons:c,homeUrl:j,logo:w}),n.jsxs(C,{display:"flex",className:"dashboard__body",children:[n.jsx(De,{variant:M,className:"drawer",classes:{paper:"drawerPaper"},open:I,onClose:g,ModalProps:{disablePortal:!0,keepMounted:!0},children:n.jsx(he,{className:"dashboard__sidebar",images:d,links:i,prefix:u,logo:w})}),n.jsxs(C,{className:"dashboard__main",children:[n.jsx(q,{maxWidth:k?!1:"lg",className:"dashboard__content",children:e}),n.jsx(W,{})]})]})]})}ge.propTypes={children:r.any.isRequired,title:r.string,brand:r.string.isRequired,links:r.array.isRequired,images:r.object.isRequired,brandAddon:r.object,description:r.any.isRequired,headerAddon:r.any,prefix:r.string,contentLayout:r.oneOf(["row","column"]),fullWidth:r.bool,className:r.string,homeUrl:r.string,logo:r.any};ge.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Se({height:e,...o}){return n.jsx(nn,{height:e,...o})}Se.propTypes={height:r.oneOfType([r.number,r.string]).isRequired};const nn=y(C)`
233
+ `;function ge({children:e,title:o,brand:t,description:a,brandAddon:l,headerAddon:c,images:d,links:i,prefix:u,fullWidth:s,contentLayout:x,className:m,homeUrl:j,logo:w,...P}){const f=Ie(document.body),z=(f==null?void 0:f.width)||0,[M,L]=p.useState(z>=960?"permanent":"temporary"),[I,N]=p.useState(M==="permanent");p.useEffect(()=>{const A=z>=960?"permanent":"temporary";L(A),N(A!=="temporary")},[z]);const g=()=>{N(!I)},k=s||x==="row";return n.jsxs(Zo,{className:`dashboard ${m}`,...P,children:[n.jsx(Te,{title:`${o}-${t}`}),n.jsx(fe,{className:"dashboard__header",onToggleMenu:g,brand:t,brandAddon:l,description:a,addons:c,homeUrl:j,logo:w}),n.jsxs(C,{display:"flex",className:"dashboard__body",children:[n.jsx(De,{variant:M,className:"drawer",classes:{paper:"drawerPaper"},open:I,onClose:g,ModalProps:{disablePortal:!0,keepMounted:!0},children:n.jsx(he,{className:"dashboard__sidebar",images:d,links:i,prefix:u,logo:w})}),n.jsxs(C,{className:"dashboard__main",children:[n.jsx(q,{maxWidth:k?!1:"lg",className:"dashboard__content",children:e}),n.jsx(W,{})]})]})]})}ge.propTypes={children:r.any.isRequired,title:r.string,brand:r.string.isRequired,links:r.array.isRequired,images:r.object.isRequired,brandAddon:r.object,description:r.any.isRequired,headerAddon:r.any,prefix:r.string,contentLayout:r.oneOf(["row","column"]),fullWidth:r.bool,className:r.string,homeUrl:r.string,logo:r.any};ge.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Se({height:e,...o}){return n.jsx(en,{height:e,...o})}Se.propTypes={height:r.oneOfType([r.number,r.string]).isRequired};const en=y(C)`
234
234
  overflow: hidden;
235
235
  &:before {
236
236
  content: '';
@@ -243,7 +243,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
243
243
  float: left;
244
244
  white-space: nowrap;
245
245
  }
246
- `;function V({logo:e,brand:o,brandAddon:t,description:a,children:l,addons:c,prepend:d,align:i,maxWidth:u,homeLink:s,...x}){const m=p.useRef(),[j,w]=p.useState("0px"),P={minWidth:j};p.useEffect(()=>{m.current&&w(`${m.current.offsetWidth}px`)},[]);const b=()=>{const f=n.jsxs(n.Fragment,{children:[e&&n.jsx("div",{className:"header-logo",ref:m,children:e}),o&&n.jsx(Se,{height:44,sx:{flexShrink:{xs:1}},children:n.jsxs("div",{className:"header-brand",children:[n.jsx("div",{className:"header-brand-title",children:n.jsx("h2",{children:o})}),n.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof s=="function"?s(f):n.jsx("a",{href:s,children:f})};return n.jsx(rn,{...x,children:n.jsxs(q,{maxWidth:u,className:"header-container",children:[d,n.jsx("div",{className:"header-brand-wrapper",style:P,children:b()}),n.jsx("div",{className:"header-brand-addon",children:t}),i==="right"&&n.jsx(C,{display:"inline-block",flexGrow:1}),l,i==="left"&&n.jsx(C,{display:"inline-block",flexGrow:1}),n.jsx("div",{className:"header-addons",children:c})]})})}V.propTypes={logo:r.node,brand:r.node,brandAddon:r.node,description:r.node,children:r.node,addons:r.node,prepend:r.node,align:r.oneOf(["left","right"]),maxWidth:r.oneOfType([r.string,r.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:r.oneOfType([r.string,r.func])};V.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const rn=y(C)`
246
+ `;function V({logo:e,brand:o,brandAddon:t,description:a,children:l,addons:c,prepend:d,align:i,maxWidth:u,homeLink:s,...x}){const m=p.useRef(),[j,w]=p.useState("0px"),P={minWidth:j};p.useEffect(()=>{m.current&&w(`${m.current.offsetWidth}px`)},[]);const b=()=>{const f=n.jsxs(n.Fragment,{children:[e&&n.jsx("div",{className:"header-logo",ref:m,children:e}),o&&n.jsx(Se,{height:44,sx:{flexShrink:{xs:1}},children:n.jsxs("div",{className:"header-brand",children:[n.jsx("div",{className:"header-brand-title",children:n.jsx("h2",{children:o})}),n.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof s=="function"?s(f):n.jsx("a",{href:s,children:f})};return n.jsx(on,{...x,children:n.jsxs(q,{maxWidth:u,className:"header-container",children:[d,n.jsx("div",{className:"header-brand-wrapper",style:P,children:b()}),n.jsx("div",{className:"header-brand-addon",children:t}),i==="right"&&n.jsx(C,{display:"inline-block",flexGrow:1}),l,i==="left"&&n.jsx(C,{display:"inline-block",flexGrow:1}),n.jsx("div",{className:"header-addons",children:c})]})})}V.propTypes={logo:r.node,brand:r.node,brandAddon:r.node,description:r.node,children:r.node,addons:r.node,prepend:r.node,align:r.oneOf(["left","right"]),maxWidth:r.oneOfType([r.string,r.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:r.oneOfType([r.string,r.func])};V.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const on=y(C)`
247
247
  position: relative;
248
248
  z-index: ${e=>e.theme.zIndex.appBar};
249
249
  font-size: 14px;
@@ -339,7 +339,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
339
339
  }
340
340
  }
341
341
  }
342
- `;function be({menu:e,prepend:o,children:t,...a}){const l=ee(),c=mo(l.breakpoints.down("md")),[d,i]=p.useState(!1),u=typeof t=="function"?t({isMobile:c,closeMenu:()=>i(!1)}):t,s=Be({changed:!1,value:"",priority:""});return te(()=>{var x;if((x=document.documentElement)!=null&&x.style){const m=()=>{s.changed&&(s.value?document.documentElement.style.setProperty("overflow",s.value,s.priority):document.documentElement.style.removeProperty("overflow"),s.value="",s.priority="",s.changed=!1)};return d?(s.changed=!0,s.value=document.documentElement.style.getPropertyValue("overflow"),s.priority=document.documentElement.style.getPropertyPriority("overflow"),document.documentElement.style.setProperty("overflow","revert","important")):m(),m}return()=>{}},[d]),t?n.jsxs(tn,{prepend:o||n.jsx(Re,{sx:{color:l.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!d),children:d?n.jsx(fo,{}):n.jsx(me,{})}),...a,children:[!c&&u,c&&n.jsx(De,{open:d,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:l.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:n.jsx(an,{children:u})})]}):n.jsx(V,{prepend:o,...a})}be.propTypes={...V.PropTypes,children:r.oneOfType([r.node,r.func])};be.defaultProps={...V.defaultProps};const tn=y(V)`
342
+ `;function be({menu:e,prepend:o,children:t,...a}){const l=ee(),c=mo(l.breakpoints.down("md")),[d,i]=p.useState(!1),u=typeof t=="function"?t({isMobile:c,closeMenu:()=>i(!1)}):t,s=Be({changed:!1,value:"",priority:""});return te(()=>{var x;if((x=document.documentElement)!=null&&x.style){const m=()=>{s.changed&&(s.value?document.documentElement.style.setProperty("overflow",s.value,s.priority):document.documentElement.style.removeProperty("overflow"),s.value="",s.priority="",s.changed=!1)};return d?(s.changed=!0,s.value=document.documentElement.style.getPropertyValue("overflow"),s.priority=document.documentElement.style.getPropertyPriority("overflow"),document.documentElement.style.setProperty("overflow","revert","important")):m(),m}return()=>{}},[d]),t?n.jsxs(nn,{prepend:o||n.jsx(Re,{sx:{color:l.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!d),children:d?n.jsx(fo,{}):n.jsx(me,{})}),...a,children:[!c&&u,c&&n.jsx(De,{open:d,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:l.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:n.jsx(rn,{children:u})})]}):n.jsx(V,{prepend:o,...a})}be.propTypes={...V.PropTypes,children:r.oneOfType([r.node,r.func])};be.defaultProps={...V.defaultProps};const nn=y(V)`
343
343
  .header-menu {
344
344
  display: none;
345
345
  }
@@ -349,7 +349,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
349
349
  margin-right: 12px;
350
350
  }
351
351
  }
352
- `,an=y(q)`
352
+ `,rn=y(q)`
353
353
  padding-top: 8px;
354
354
  padding-bottom: 16px;
355
355
  .navmenu {
@@ -436,7 +436,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
436
436
  transition: transform 0.2s ease-in-out;
437
437
  }
438
438
  }
439
- `,sn=y(Ge)`
439
+ `,tn=y(Ge)`
440
440
  padding: 8px 16px;
441
441
  min-width: 50px;
442
442
  // FIXME: @zhanghan 这个只是临时的解决方案,会导致 header align right 不能真正的右对齐,需要修改 header 才能真正解决这个问题
@@ -484,7 +484,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
484
484
  display: block;
485
485
  }
486
486
  }
487
- `,ln=y(Ge)`
487
+ `,an=y(Ge)`
488
488
  font-size: 16px;
489
489
  .navmenu-root {
490
490
  display: flex;
@@ -536,7 +536,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
536
536
  .navmenu-sub--opened > .navmenu-sub-container {
537
537
  display: block;
538
538
  }
539
- `,ve=p.createContext();function Ye(e){return e?p.Children.toArray(e).filter(o=>o.type===G||o.type===O):null}function Xe(e){return p.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function S({items:e,mode:o,children:t,activeId:a,textColor:l,activeTextColor:c,bgColor:d,onSelected:i,...u}){var T;if(t=Ye(t),!(e!=null&&e.length)&&!(t!=null&&t.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const s=Be({activeId:a,openedIds:[],hiddenItemCount:0}),x=X(h=>{s.activeId=h,i==null||i(h)}),m=X(h=>{s.openedIds.push(h)}),j=X(h=>{s.openedIds=s.openedIds.filter(v=>v!==h)}),w=te(()=>({...s,mode:o,activate:x,open:m,close:j}),[s.activeId,s.hiddenItemCount,s.openedIds,o,x,m,j]),P=p.useRef(),b=p.useRef([]),f=p.useRef(),z=s.hiddenItemCount===((T=b.current)==null?void 0:T.length),M=z?{marginLeft:"0px"}:void 0,L=te(()=>z?n.jsx(Do,{}):n.jsx(Fo,{}),[z]),I=h=>p.Children.map(h,(v,H)=>p.cloneElement(v,{ref:B=>{b.current[H]=B}})),N=Ie(P.current),{run:g}=Ao(X(()=>{let h=0,v=0,H=!1;const B=(N==null?void 0:N.width)||0,ne=f.current?f.current.offsetWidth+parseFloat(window.getComputedStyle(f.current).marginLeft):0;b.current.forEach((E,eo)=>{if(E){E.style.display="flex";const oo=eo>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+oo;B-ne>=h+we&&!H?h+=we:(E.style.display="none",H=!0,v++)}}),v!==s.hiddenItemCount&&(s.hiddenItemCount=v)}),{wait:100});p.useLayoutEffect(()=>{o==="horizontal"&&g()},[N==null?void 0:N.width,o]),p.useEffect(()=>{if(o==="horizontal")return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[o,e]),p.useEffect(()=>{a!=null&&(s.activeId=a)},[a]);const k=R("navmenu",`navmenu--${o}`,u.className),A=(h,v,H=!1)=>h!=null&&h.children?n.jsx(O,{id:h.id,icon:h.icon,label:h.label,ref:H?B=>{b.current[v]=B}:void 0,children:h.children.map((B,ne)=>A(B,ne,!1))},h.id):n.jsx(G,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:H?B=>{b.current[v]=B}:void 0},h.id),je=e?e==null?void 0:e.slice(-s.hiddenItemCount).map((h,v)=>A(h,v)):t==null?void 0:t.slice(-s.hiddenItemCount),F=o==="inline"?ln:sn;return n.jsx(ve.Provider,{value:w,children:n.jsx(F,{...u,className:k,$textColor:l,$activeTextColor:c,$bgColor:d,children:n.jsxs("ul",{className:"navmenu-root",ref:P,children:[e?e.map((h,v)=>A(h,v,!0)):I(t),s.hiddenItemCount>0&&n.jsx(O,{expandIcon:!1,icon:L,label:"",ref:f,style:M,children:je})]})})})}S.propTypes={items:r.array,mode:r.oneOf(["horizontal","vertical","inline"]),children:r.array,activeId:r.string,textColor:r.string,activeTextColor:r.string,bgColor:r.string,onSelected:r.func};S.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const G=p.forwardRef(({id:e,icon:o,label:t,active:a,onClick:l,...c},d)=>{const i=Xe(e),{activeId:u,activate:s}=p.useContext(ve),x=R("navmenu-item",{"navmenu-item--active":u===i},c.className);p.useEffect(()=>{a&&s(i)},[a]);const m=()=>{l==null||l(),s(i)};return n.jsxs("li",{...c,className:x,onClick:m,ref:d,children:[o&&n.jsx("span",{className:"navmenu-item-icon",children:o}),n.jsx("span",{className:"navmenu-item-label",children:t})]})});G.propTypes={id:r.string,icon:r.element,label:r.node,active:r.bool,onClick:r.func};G.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=p.forwardRef(({id:e,icon:o,label:t,children:a,expandIcon:l,...c},d)=>{const i=Xe(e),{openedIds:u,open:s,close:x,mode:m}=p.useContext(ve),j=u.includes(i),w=R("navmenu-sub",{"navmenu-sub--opened":j},c.className),P=m==="inline",b=P?{onClick:()=>{u.includes(i)?x(i):s(i)}}:{onMouseEnter:()=>s(i),onMouseLeave:()=>x(i)},f=P?{onClick:z=>z.stopPropagation()}:{};return n.jsxs("li",{...c,className:w,...b,ref:d,children:[o&&n.jsx("span",{className:"navmenu-sub-icon",children:o}),n.jsx("span",{className:"navmenu-sub-label",children:t}),l&&n.jsx("span",{className:"navmenu-sub-expand-icon",children:(l==null?void 0:l({isOpen:j}))||l}),n.jsx("div",{className:"navmenu-sub-container",...f,children:n.jsx("ul",{className:"navmenu-sub-list",children:Ye(a)})})]})});O.propTypes={id:r.string,icon:r.element,label:r.node.isRequired,children:r.array.isRequired,expandIcon:r.oneOfType([r.node,r.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>n.jsx(_o,{style:{transform:`rotate(${e?180:0}deg)`}})};S.Item=G;S.Sub=O;function oe({children:e,routerLinkComponent:o,to:t,external:a,...l}){return a?n.jsx("a",{href:t,...l,children:e}):n.jsx(o,{to:t,...l,children:e})}oe.propTypes={children:r.any.isRequired,routerLinkComponent:r.elementType.isRequired,external:r.bool,to:r.oneOfType([r.string,r.object]).isRequired};oe.defaultProps={external:!1};function Je(e){return n.jsx(oe,{routerLinkComponent:K,...e})}function ye({className:e,...o}){const t=o.external&&typeof e=="function"?e({}):e;return n.jsx(oe,{routerLinkComponent:go,className:t,...o})}ye.propTypes={className:r.oneOfType([r.string,r.func])};ye.defaultProps={className:""};function Ke(e,o){var u;if((u=e.children)!=null&&u.length)return dn(e,o);const{url:t,icon:a,title:l,showBadge:c,external:d,active:i}=e;return n.jsx("li",{className:"layout-sidebar-item",children:n.jsxs(ye,{external:d,to:t,className:({isActive:s})=>R("layout-sidebar-link",{"layout-sidebar-link--active":d?i:s}),children:[a&&n.jsx("span",{className:`layout-sidebar-icon ${c?"layout-sidebar-badge":""}`,children:a}),n.jsx(_,{component:"span",className:"layout-sidebar-link-text",children:l})]})},`${t}-${o}`)}function dn(e,o){return n.jsxs("li",{className:"layout-sidebar-group",children:[n.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),n.jsx("ul",{children:e.children.map(Ke)})]},`group-${e.title}-${o}`)}function Q({links:e,addons:o,dense:t,...a}){return n.jsxs(pn,{...a,className:R({"layout-sidebar-dense":t}),children:[n.jsx("ul",{children:e.map(Ke)}),n.jsx("div",{style:{flex:1}}),o]})}Q.propTypes={links:r.array.isRequired,addons:r.any,dense:r.bool};Q.defaultProps={addons:null,dense:!1};const cn="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",pn=y("div")`
539
+ `,ve=p.createContext();function Ye(e){return e?p.Children.toArray(e).filter(o=>o.type===G||o.type===O):null}function Xe(e){return p.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function S({items:e,mode:o,children:t,activeId:a,textColor:l,activeTextColor:c,bgColor:d,onSelected:i,...u}){var T;if(t=Ye(t),!(e!=null&&e.length)&&!(t!=null&&t.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const s=Be({activeId:a,openedIds:[],hiddenItemCount:0}),x=X(h=>{s.activeId=h,i==null||i(h)}),m=X(h=>{s.openedIds.push(h)}),j=X(h=>{s.openedIds=s.openedIds.filter(v=>v!==h)}),w=te(()=>({...s,mode:o,activate:x,open:m,close:j}),[s.activeId,s.hiddenItemCount,s.openedIds,o,x,m,j]),P=p.useRef(),b=p.useRef([]),f=p.useRef(),z=s.hiddenItemCount===((T=b.current)==null?void 0:T.length),M=z?{marginLeft:"0px"}:void 0,L=te(()=>z?n.jsx(Ao,{}):n.jsx(_o,{}),[z]),I=h=>p.Children.map(h,(v,H)=>p.cloneElement(v,{ref:B=>{b.current[H]=B}})),N=Ie(P.current),{run:g}=Bo(X(()=>{let h=0,v=0,H=!1;const B=(N==null?void 0:N.width)||0,ne=f.current?f.current.offsetWidth+parseFloat(window.getComputedStyle(f.current).marginLeft):0;b.current.forEach((E,eo)=>{if(E){E.style.display="flex";const oo=eo>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+oo;B-ne>=h+we&&!H?h+=we:(E.style.display="none",H=!0,v++)}}),v!==s.hiddenItemCount&&(s.hiddenItemCount=v)}),{wait:100});p.useLayoutEffect(()=>{o==="horizontal"&&g()},[N==null?void 0:N.width,o]),p.useEffect(()=>{if(o==="horizontal")return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[o,e]),p.useEffect(()=>{a!=null&&(s.activeId=a)},[a]);const k=R("navmenu",`navmenu--${o}`,u.className),A=(h,v,H=!1)=>h!=null&&h.children?n.jsx(O,{id:h.id,icon:h.icon,label:h.label,ref:H?B=>{b.current[v]=B}:void 0,children:h.children.map((B,ne)=>A(B,ne,!1))},h.id):n.jsx(G,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:H?B=>{b.current[v]=B}:void 0},h.id),je=e?e==null?void 0:e.slice(-s.hiddenItemCount).map((h,v)=>A(h,v)):t==null?void 0:t.slice(-s.hiddenItemCount),F=o==="inline"?an:tn;return n.jsx(ve.Provider,{value:w,children:n.jsx(F,{...u,className:k,$textColor:l,$activeTextColor:c,$bgColor:d,children:n.jsxs("ul",{className:"navmenu-root",ref:P,children:[e?e.map((h,v)=>A(h,v,!0)):I(t),s.hiddenItemCount>0&&n.jsx(O,{expandIcon:!1,icon:L,label:"",ref:f,style:M,children:je})]})})})}S.propTypes={items:r.array,mode:r.oneOf(["horizontal","vertical","inline"]),children:r.array,activeId:r.string,textColor:r.string,activeTextColor:r.string,bgColor:r.string,onSelected:r.func};S.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const G=p.forwardRef(({id:e,icon:o,label:t,active:a,onClick:l,...c},d)=>{const i=Xe(e),{activeId:u,activate:s}=p.useContext(ve),x=R("navmenu-item",{"navmenu-item--active":u===i},c.className);p.useEffect(()=>{a&&s(i)},[a]);const m=()=>{l==null||l(),s(i)};return n.jsxs("li",{...c,className:x,onClick:m,ref:d,children:[o&&n.jsx("span",{className:"navmenu-item-icon",children:o}),n.jsx("span",{className:"navmenu-item-label",children:t})]})});G.propTypes={id:r.string,icon:r.element,label:r.node,active:r.bool,onClick:r.func};G.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=p.forwardRef(({id:e,icon:o,label:t,children:a,expandIcon:l,...c},d)=>{const i=Xe(e),{openedIds:u,open:s,close:x,mode:m}=p.useContext(ve),j=u.includes(i),w=R("navmenu-sub",{"navmenu-sub--opened":j},c.className),P=m==="inline",b=P?{onClick:()=>{u.includes(i)?x(i):s(i)}}:{onMouseEnter:()=>s(i),onMouseLeave:()=>x(i)},f=P?{onClick:z=>z.stopPropagation()}:{};return n.jsxs("li",{...c,className:w,...b,ref:d,children:[o&&n.jsx("span",{className:"navmenu-sub-icon",children:o}),n.jsx("span",{className:"navmenu-sub-label",children:t}),l&&n.jsx("span",{className:"navmenu-sub-expand-icon",children:(l==null?void 0:l({isOpen:j}))||l}),n.jsx("div",{className:"navmenu-sub-container",...f,children:n.jsx("ul",{className:"navmenu-sub-list",children:Ye(a)})})]})});O.propTypes={id:r.string,icon:r.element,label:r.node.isRequired,children:r.array.isRequired,expandIcon:r.oneOfType([r.node,r.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>n.jsx(Lo,{style:{transform:`rotate(${e?180:0}deg)`}})};S.Item=G;S.Sub=O;function oe({children:e,routerLinkComponent:o,to:t,external:a,...l}){return a?n.jsx("a",{href:t,...l,children:e}):n.jsx(o,{to:t,...l,children:e})}oe.propTypes={children:r.any.isRequired,routerLinkComponent:r.elementType.isRequired,external:r.bool,to:r.oneOfType([r.string,r.object]).isRequired};oe.defaultProps={external:!1};function Ke(e){return n.jsx(oe,{routerLinkComponent:J,...e})}function ye({className:e,...o}){const t=o.external&&typeof e=="function"?e({}):e;return n.jsx(oe,{routerLinkComponent:go,className:t,...o})}ye.propTypes={className:r.oneOfType([r.string,r.func])};ye.defaultProps={className:""};function Je(e,o){var u;if((u=e.children)!=null&&u.length)return sn(e,o);const{url:t,icon:a,title:l,showBadge:c,external:d,active:i}=e;return n.jsx("li",{className:"layout-sidebar-item",children:n.jsxs(ye,{external:d,to:t,className:({isActive:s})=>R("layout-sidebar-link",{"layout-sidebar-link--active":d?i:s}),children:[a&&n.jsx("span",{className:`layout-sidebar-icon ${c?"layout-sidebar-badge":""}`,children:a}),n.jsx(_,{component:"span",className:"layout-sidebar-link-text",children:l})]})},`${t}-${o}`)}function sn(e,o){return n.jsxs("li",{className:"layout-sidebar-group",children:[n.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),n.jsx("ul",{children:e.children.map(Je)})]},`group-${e.title}-${o}`)}function Q({links:e,addons:o,dense:t,...a}){return n.jsxs(dn,{...a,className:R({"layout-sidebar-dense":t}),children:[n.jsx("ul",{children:e.map(Je)}),n.jsx("div",{style:{flex:1}}),o]})}Q.propTypes={links:r.array.isRequired,addons:r.any,dense:r.bool};Q.defaultProps={addons:null,dense:!1};const ln="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",dn=y("div")`
540
540
  display: flex;
541
541
  flex-direction: column;
542
542
  ul {
@@ -555,7 +555,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
555
555
  &:hover,
556
556
  &.layout-sidebar-link--active {
557
557
  color: ${e=>e.theme.palette.primary.main};
558
- background: ${cn};
558
+ background: ${ln};
559
559
  border-left-color: ${ae.A700};
560
560
  }
561
561
  }
@@ -661,7 +661,7 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
661
661
  margin-top: 16px;
662
662
  }
663
663
  }
664
- `;function un({closeMenu:e,...o}){const t=de();return p.useEffect(()=>{e()},[t]),n.jsx(S,{...o})}function Qe(e,o){return e.map(t=>{var a;return(a=t.children)!=null&&a.length?{...t,label:t.title,children:Qe(t.children,o)}:{...t,label:n.jsx(Je,{to:t.url,external:t.external,children:t.title}),active:t.external?t.active:!!bo({path:t.url,end:!1},o.pathname)}})}function Y({children:e,title:o,headerProps:t,links:a=[],fullWidth:l,dense:c,footerProps:d,...i}){const u=ee(),{inFullPage:s,showToggleButton:x,headerVisible:m,footerVisible:j,sidebarVisible:w,toggleFullPage:P}=Ho(),b=de(),f=p.useMemo(()=>Qe(a,b),[b,a]),z=f.some(g=>{var k;return!!((k=g.children)!=null&&k.length)}),M=c==="auto"?f.length>=8||z:c,L=R("dashboard",{"dashboard-dense":M},i.className),N={homeLink:g=>{var k;return n.jsx(Je,{to:((k=window.blocklet)==null?void 0:k.prefix)||"/",children:g})},...t};return n.jsxs(hn,{...i,className:L,children:[n.jsx(Te,{title:o},o),m&&n.jsx(xn,{...N,className:"dashboard-header",children:a!=null&&a.length?({isMobile:g,closeMenu:k})=>g?n.jsx(un,{mode:"inline",items:f,closeMenu:k,bgColor:"transparent",activeTextColor:u.palette.primary.main}):null:null}),n.jsxs(C,{display:"flex",className:"dashboard-body",children:[n.jsx(Le,{mdDown:!0,children:!!(a!=null&&a.length)&&w&&n.jsx(C,{className:"dashboard-sidebar",children:M?n.jsx(Q,{links:a,dense:M}):n.jsx(C,{className:"dashboard-sidebar-container",children:n.jsx(Q,{links:a,dense:M})})})}),n.jsxs(C,{className:"dashboard-main",children:[x&&n.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:P,children:s?n.jsx(We,{style:{fontSize:18}}):n.jsx(Oe,{style:{fontSize:18}})}),n.jsx(q,{className:"dashboard-content",...l&&{maxWidth:!1},children:e}),j&&n.jsx(W,{...d})]})]})]})}Y.propTypes={children:r.any.isRequired,title:r.string,links:r.array.isRequired,headerProps:r.object,fullWidth:r.bool,sidebarWidth:r.number,dense:r.oneOf([!0,!1,"auto"])};Y.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const hn=y("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
664
+ `;function cn({closeMenu:e,...o}){const t=de();return p.useEffect(()=>{e()},[t]),n.jsx(S,{...o})}function Qe(e,o){return e.map(t=>{var a;return(a=t.children)!=null&&a.length?{...t,label:t.title,children:Qe(t.children,o)}:{...t,label:n.jsx(Ke,{to:t.url,external:t.external,children:t.title}),active:t.external?t.active:!!bo({path:t.url,end:!1},o.pathname)}})}function Y({children:e,title:o,headerProps:t,links:a=[],fullWidth:l,dense:c,footerProps:d,...i}){const u=ee(),{inFullPage:s,showToggleButton:x,headerVisible:m,footerVisible:j,sidebarVisible:w,toggleFullPage:P}=Do(),b=de(),f=p.useMemo(()=>Qe(a,b),[b,a]),z=f.some(g=>{var k;return!!((k=g.children)!=null&&k.length)}),M=c==="auto"?f.length>=8||z:c,L=R("dashboard",{"dashboard-dense":M},i.className),N={homeLink:g=>{var k;return n.jsx(Ke,{to:((k=window.blocklet)==null?void 0:k.prefix)||"/",children:g})},...t};return n.jsxs(pn,{...i,className:L,children:[n.jsx(Te,{title:o},o),m&&n.jsx(un,{...N,className:"dashboard-header",children:a!=null&&a.length?({isMobile:g,closeMenu:k})=>g?n.jsx(cn,{mode:"inline",items:f,closeMenu:k,bgColor:"transparent",activeTextColor:u.palette.primary.main}):null:null}),n.jsxs(C,{display:"flex",className:"dashboard-body",children:[n.jsx(Le,{mdDown:!0,children:!!(a!=null&&a.length)&&w&&n.jsx(C,{className:"dashboard-sidebar",children:M?n.jsx(Q,{links:a,dense:M}):n.jsx(C,{className:"dashboard-sidebar-container",children:n.jsx(Q,{links:a,dense:M})})})}),n.jsxs(C,{className:"dashboard-main",children:[x&&n.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:P,children:s?n.jsx(We,{style:{fontSize:18}}):n.jsx(Oe,{style:{fontSize:18}})}),n.jsx(q,{className:"dashboard-content",...l&&{maxWidth:!1},children:e}),j&&n.jsx(W,{...d})]})]})]})}Y.propTypes={children:r.any.isRequired,title:r.string,links:r.array.isRequired,headerProps:r.object,fullWidth:r.bool,sidebarWidth:r.number,dense:r.oneOf([!0,!1,"auto"])};Y.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const pn=y("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
665
665
  &.dashboard {
666
666
  display: flex;
667
667
  flex-direction: column;
@@ -714,8 +714,8 @@ import{aF as Pe,aE as ze,aG as Z,ah as Ne,aH as D,aK as $,r as p,aI as Ce,aJ as
714
714
  }
715
715
  }
716
716
  }
717
- `,xn=y(be)`
717
+ `,un=y(be)`
718
718
  .header-container {
719
719
  max-width: 100%;
720
720
  }
721
- `;function Ze({legacy:e,...o}){return e?n.jsx(ge,{...o}):n.jsx(He,{children:n.jsx(Y,{...o})})}Ze.propTypes={...Y.propTypes,legacy:r.bool,footerProps:r.shape(W.propTypes)};Ze.defaultProps={...Y.defaultProps,legacy:!0};export{Ze as D,S as N,be as R,Ho as u};
721
+ `;function Ze({legacy:e,...o}){return e?n.jsx(ge,{...o}):n.jsx(He,{children:n.jsx(Y,{...o})})}Ze.propTypes={...Y.propTypes,legacy:r.bool,footerProps:r.shape(W.propTypes)};Ze.defaultProps={...Y.defaultProps,legacy:!0};export{Ze as D,S as N,be as R,Do as u};
@@ -1 +1 @@
1
- import{b7 as a}from"./index-BUs00uPs.js";var e=i,s=/^(?:\w+:)?\/\/(\S+)$/,l=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/;function i(t){if(typeof t!="string")return!1;var o=t.match(s);if(!o)return!1;var r=o[1];return r?!!(l.test(r)||n.test(r)):!1}const c=a(e);export{c as i};
1
+ import{b7 as a}from"./index-D72EFlhx.js";var e=i,s=/^(?:\w+:)?\/\/(\S+)$/,l=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/;function i(t){if(typeof t!="string")return!1;var o=t.match(s);if(!o)return!1;var r=o[1];return r?!!(l.test(r)||n.test(r)):!1}const c=a(e);export{c as i};
@@ -1 +1 @@
1
- import{b7 as y}from"./index-BUs00uPs.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var n=this._errors[r],o=n.message,a=(e[o]||0)+1;e[o]=a,a>=t&&(i=n,t=a)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)r[n]=t[n];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],a=0;a<r.retries;a++)o.push(this.createTimeout(a,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(a,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var n=r.randomize?Math.random()+1:1,o=Math.round(n*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n){n=[];for(var o in t)typeof t[o]=="function"&&n.push(o)}for(var a=0;a<n.length;a++){var s=n[a],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
1
+ import{b7 as y}from"./index-D72EFlhx.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var n=this._errors[r],o=n.message,a=(e[o]||0)+1;e[o]=a,a>=t&&(i=n,t=a)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)r[n]=t[n];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],a=0;a<r.retries;a++)o.push(this.createTimeout(a,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(a,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var n=r.randomize?Math.random()+1:1,o=Math.round(n*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n){n=[];for(var o in t)typeof t[o]=="function"&&n.push(o)}for(var a=0;a<n.length;a++){var s=n[a],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};