@abtnode/blocklet-services 1.16.25-beta-85e265d1 → 1.16.25-beta-bc165d9b

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 (199) hide show
  1. package/api/routes/blocklet.js +3 -1
  2. package/dist/assets/{Add-6Epcd3ga.js → Add-Lnt-pXSV.js} +1 -1
  3. package/dist/assets/{Alert-l-TBUZOJ.js → Alert-XtZ4AbSm.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-qomhDOQM.js → ArrowDropDown-ceUhJF81.js} +1 -1
  5. package/dist/assets/{Avatar-cxKY3Rtk.js → Avatar-GOdToP4j.js} +1 -1
  6. package/dist/assets/{ButtonGroup-d9hIu1lo.js → ButtonGroup-aIe1r9So.js} +1 -1
  7. package/dist/assets/{CheckCircle-SesF25PD.js → CheckCircle-F4e_lCOq.js} +1 -1
  8. package/dist/assets/{ChevronRight-LwhbSu8i.js → ChevronRight-auU_8n8N.js} +1 -1
  9. package/dist/assets/{CloseOutlined-Fbty67Zs.js → CloseOutlined-PLOW9UrW.js} +1 -1
  10. package/dist/assets/{Delete-qtfdnw9L.js → Delete-jR0U5oQM.js} +1 -1
  11. package/dist/assets/{DeleteOutline-7A8DKOTU.js → DeleteOutline-KZfxJMoF.js} +1 -1
  12. package/dist/assets/{Done-tVllrZpa.js → Done-D1uUSVNM.js} +1 -1
  13. package/dist/assets/{Download-9QjfUJIg.js → Download-abeFRb1V.js} +1 -1
  14. package/dist/assets/{Edit-QVLPptvL.js → Edit-p41JYmGC.js} +1 -1
  15. package/dist/assets/{EditIcon-uFacruuw.js → EditIcon-cvgd_m44.js} +1 -1
  16. package/dist/assets/{ExpandMore-OfaPyHFu.js → ExpandMore-svMob0Kw.js} +1 -1
  17. package/dist/assets/{FilterList-sfUjmYG8.js → FilterList-65npUnCP.js} +4 -4
  18. package/dist/assets/{FormControl-h5DYMIOP.js → FormControl-0hlUZfjP.js} +1 -1
  19. package/dist/assets/{FormControlLabel-qsKowZCH.js → FormControlLabel-AR3EqP1P.js} +1 -1
  20. package/dist/assets/{FormGroup-T1QpJsQV.js → FormGroup-ea0l38T_.js} +1 -1
  21. package/dist/assets/{Google-8LJLh9Kk.js → Google-_WbKPTXv.js} +4 -4
  22. package/dist/assets/{Grid-JpQPjX6n.js → Grid-q5nKgpEH.js} +1 -1
  23. package/dist/assets/{Hidden-TBO3Yr4z.js → Hidden-z8Sjsln3.js} +1 -1
  24. package/dist/assets/{InfoOutlined-66Ex39Rb.js → InfoOutlined-dJO57Gi1.js} +1 -1
  25. package/dist/assets/{InputAdornment-GgFKxUBs.js → InputAdornment-4szKt1KV.js} +1 -1
  26. package/dist/assets/{InputLabel-17wQImkZ.js → InputLabel-7f_i2Q81.js} +1 -1
  27. package/dist/assets/{LastPage-0D9_k_9q.js → LastPage-bWgI6VtB.js} +1 -1
  28. package/dist/assets/{Launch-nxkyUWue.js → Launch-A5BXs4Bs.js} +1 -1
  29. package/dist/assets/{LaunchOutlined-PUWiYDAf.js → LaunchOutlined-aMo9tT0b.js} +1 -1
  30. package/dist/assets/{Link-41pb7UbS.js → Link-fP3C6sYJ.js} +1 -1
  31. package/dist/assets/{ListItem-Ny9BoTNl.js → ListItem-VO4irUhp.js} +1 -1
  32. package/dist/assets/{ListItemText--ZuBk1kp.js → ListItemText-mWv8kaZK.js} +1 -1
  33. package/dist/assets/{LockIcon-RapfU2xd.js → LockIcon-2zHVOoE1.js} +1 -1
  34. package/dist/assets/{Loop-piYHwDQL.js → Loop-QQmyWzoD.js} +1 -1
  35. package/dist/assets/{MoreHoriz-TWznoE3n.js → MoreHoriz-o30dgPK5.js} +1 -1
  36. package/dist/assets/{MoreVert-jKyVzYn5.js → MoreVert-DV2yTYFA.js} +1 -1
  37. package/dist/assets/{OpenInNew-dwmHvRym.js → OpenInNew-N7yhQSZw.js} +1 -1
  38. package/dist/assets/{Pagination-d_hO67qo.js → Pagination-XHzj8YB-.js} +1 -1
  39. package/dist/assets/{PlayArrow-fGfeCJ-G.js → PlayArrow-41TArfDK.js} +1 -1
  40. package/dist/assets/{RadioGroup-lfBNZfIY.js → RadioGroup-y8SDAxbB.js} +1 -1
  41. package/dist/assets/{Search-UmwZ55Km.js → Search--I4-eR9y.js} +1 -1
  42. package/dist/assets/{Select-M3S6C0yl.js → Select-fntejhyc.js} +2 -2
  43. package/dist/assets/{ServerLogo-E9M3451Y.js → ServerLogo-1rzkYGg3.js} +1 -1
  44. package/dist/assets/{Skeleton-8HgKwEWM.js → Skeleton-jyTG7EyB.js} +2 -2
  45. package/dist/assets/{Slider-9hB7agEl.js → Slider-HS11dzG6.js} +1 -1
  46. package/dist/assets/{Stepper-kRtP3_O9.js → Stepper-aEKsYaBA.js} +1 -1
  47. package/dist/assets/{TableRow-rbvkGhj_.js → TableRow-htCmnqVf.js} +2 -2
  48. package/dist/assets/{TextField-zBuNVnb8.js → TextField-SWRSa9bn.js} +1 -1
  49. package/dist/assets/{Toolbar-AykKd5Yb.js → Toolbar-t4f5PZ_M.js} +1 -1
  50. package/dist/assets/{ViewList-bn33hiJy.js → ViewList-p0b2jzTg.js} +1 -1
  51. package/dist/assets/{access-control-xwupf7Kt.js → access-control-jBA5LWse.js} +1 -1
  52. package/dist/assets/{actions-zELNtNca.js → actions-J3NNd0JN.js} +1 -1
  53. package/dist/assets/{add-component-core-oMshV-b1.js → add-component-core-aneiKgri.js} +1 -1
  54. package/dist/assets/add-resource-lypSzIIG.js +1 -0
  55. package/dist/assets/{addon-rWclJCML.js → addon-5AcSwMvH.js} +1 -1
  56. package/dist/assets/{analytics-QUpy8BB1.js → analytics-Y-g_mCRB.js} +6 -6
  57. package/dist/assets/api-S4_PC961.js +1 -0
  58. package/dist/assets/ar-GhaeoIRX.js +1 -0
  59. package/dist/assets/{audit-logs-1bRwLNp0.js → audit-logs-pW758Auj.js} +1 -1
  60. package/dist/assets/{button-A2-bJKoY.js → button-h7-LJK4-.js} +1 -1
  61. package/dist/assets/{click-to-copy-H10anlG-.js → click-to-copy-BP1e3OBH.js} +1 -1
  62. package/dist/assets/{complete-MQw2U2If.js → complete-fDuBXtWP.js} +4 -4
  63. package/dist/assets/{component-8AomvIia.js → component-lyeZOifp.js} +14 -14
  64. package/dist/assets/{config-lWI0gCVD.js → config--QkVHHLE.js} +2 -2
  65. package/dist/assets/{config-navigation-TmFeW4aT.js → config-navigation-SUDWI5Ci.js} +5 -5
  66. package/dist/assets/{config-space-_0nxn5mY.js → config-space-e4H84HSf.js} +1 -1
  67. package/dist/assets/{config-U6r4LfqY.js → config-wvNu1mmB.js} +1 -1
  68. package/dist/assets/{confirm-BdVzKoyv.js → confirm-1dWhCOej.js} +1 -1
  69. package/dist/assets/{connect-TjvqWo8w.js → connect-keZKysMf.js} +1 -1
  70. package/dist/assets/{connect-AWams3AW.js → connect-q0Xl8DWc.js} +1 -1
  71. package/dist/assets/{connect-to-gNBYvYUc.js → connect-to-RBHsm1CM.js} +2 -2
  72. package/dist/assets/{content-layout-wPpWHwtn.js → content-layout-s6SRZn2K.js} +1 -1
  73. package/dist/assets/dashboard-x0ZekfKq.js +134 -0
  74. package/dist/assets/de-xwlaLxE5.js +1 -0
  75. package/dist/assets/{did-address-E0zTjER8.js → did-address-k04yv_z0.js} +1 -1
  76. package/dist/assets/{domain-ru01i1Lx.js → domain-1WFSBZ36.js} +1 -1
  77. package/dist/assets/{domain-list-5K-gNYNS.js → domain-list-GzxXA7Br.js} +2 -2
  78. package/dist/assets/es-WU0JxH3v.js +1 -0
  79. package/dist/assets/{exchange-passport-m2nPYhfg.js → exchange-passport-BxY4LxFX.js} +1 -1
  80. package/dist/assets/{fallback-WLwa7Jex.js → fallback-Eayu19Kp.js} +1 -1
  81. package/dist/assets/fr-s2654-DL.js +1 -0
  82. package/dist/assets/{fuel-m2nrI0EI.js → fuel-XCfjJFpr.js} +1 -1
  83. package/dist/assets/{fullpage-LTuFh3eo.js → fullpage-6EOl6h0m.js} +1 -1
  84. package/dist/assets/hi-lcoNZDY5.js +1 -0
  85. package/dist/assets/{home-7fmmS4Al.js → home-mGNIqLsC.js} +1 -1
  86. package/dist/assets/id-uVaD_Ehi.js +1 -0
  87. package/dist/assets/iframe-CAzgCrnE.js +1 -0
  88. package/dist/assets/{index-VvItb3OK.js → index-0AeKDhu7.js} +1 -1
  89. package/dist/assets/{index-b9iwzv-G.js → index-1izMQO3u.js} +1 -1
  90. package/dist/assets/{index-54larodz.js → index-2onGe1gp.js} +9 -9
  91. package/dist/assets/{index-Y_4tl5Qc.js → index-CRnDTWnW.js} +1 -1
  92. package/dist/assets/index-Fb5zZwNt.js +1 -0
  93. package/dist/assets/{index-5_MVsYdQ.js → index-GdV8yGpX.js} +1 -1
  94. package/dist/assets/{index-BVdXvtK3.js → index-N45RLJJa.js} +1 -1
  95. package/dist/assets/{index-KS6_MsHI.js → index-NSCjO0de.js} +1 -1
  96. package/dist/assets/{index-rLnjvpIb.js → index-PvuzB0XW.js} +1 -1
  97. package/dist/assets/{index-E2paL42k.js → index-UTc44NvS.js} +7 -7
  98. package/dist/assets/{index-ECLv9_aC.js → index-W9lZ56nO.js} +1 -1
  99. package/dist/assets/{index-ZDzdcJZT.js → index-Xf2A8Us1.js} +1 -1
  100. package/dist/assets/{index-mbnSg7Jx.js → index-_HL7nNqY.js} +5 -5
  101. package/dist/assets/{index-Scf2aR55.js → index-_a5LvPR1.js} +18 -18
  102. package/dist/assets/{index-RrK_ISxc.js → index-c9Kb2LrT.js} +1 -1
  103. package/dist/assets/{index-enA3_J3s.js → index-dg5PeY5B.js} +3 -3
  104. package/dist/assets/{index-8r-VQqt2.js → index-hv-D03lE.js} +2 -2
  105. package/dist/assets/{index-m_6kdee8.js → index-o6cjzjkW.js} +1 -1
  106. package/dist/assets/{index-gz1sTrh1.js → index-oBwF2Hxy.js} +4 -4
  107. package/dist/assets/{index-jbkwSTiK.js → index-oWwT-DlR.js} +1 -1
  108. package/dist/assets/{index-YeqD-xBR.js → index-q330fpH4.js} +1 -1
  109. package/dist/assets/index-sXUa8K_p.js +4 -0
  110. package/dist/assets/{index-TyIzZRs-.js → index-tnO0LUhq.js} +1 -1
  111. package/dist/assets/{index-EZ31v4dT.js → index-u5huyIp5.js} +1 -1
  112. package/dist/assets/index-uX1Y3cB6.js +1301 -0
  113. package/dist/assets/{index-dUktCDkw.js → index-uh3JVYYs.js} +2 -2
  114. package/dist/assets/{index-fhGcwyej.js → index-uyclj_A0.js} +3 -3
  115. package/dist/assets/{index-Y8YgLCJZ.js → index-ygsry8B4.js} +9 -9
  116. package/dist/assets/{index.es-bN4f5-K-.js → index.es-kCNiQ9Lo.js} +1 -1
  117. package/dist/assets/{index.esm-1FnD031i.js → index.esm-Ymr_9beW.js} +1 -1
  118. package/dist/assets/{invitation-ZOQm2qju.js → invitation-WM0eVKYA.js} +1 -1
  119. package/dist/assets/{invite-2Rm-lvWH.js → invite-JZtgd7w3.js} +1 -1
  120. package/dist/assets/{issue-passport-D2uxHu_i.js → issue-passport-tpoR3FJI.js} +1 -1
  121. package/dist/assets/ja-9UaRFNdy.js +1 -0
  122. package/dist/assets/{jss-plugin-props-sort.esm-fUHko8qV.js → jss-plugin-props-sort.esm-X4utxJBX.js} +1 -1
  123. package/dist/assets/ko-yTikii17.js +1 -0
  124. package/dist/assets/{launch-result-message-IUgl8S_D.js → launch-result-message-MP4kG6RJ.js} +1 -1
  125. package/dist/assets/{layout-9s7NK74W.js → layout-W-Y_JO3B.js} +1 -1
  126. package/dist/assets/{list-header-2fZA__Ld.js → list-header-GnEXUyH5.js} +1 -1
  127. package/dist/assets/localization-2GI0gy8p.js +1 -0
  128. package/dist/assets/{log-lp2msxv9.js → log-SbhJ0-D-.js} +1 -1
  129. package/dist/assets/{login-QYMng9me.js → login-RQFo7s-t.js} +1 -1
  130. package/dist/assets/{logo-uploader-BYrURljp.js → logo-uploader-uk95tRX_.js} +3 -3
  131. package/dist/assets/{lost-passport-x2Bu6WM3.js → lost-passport-joGjjJkN.js} +3 -3
  132. package/dist/assets/{lottie-PyWCBPW0.js → lottie-yG8osFs5.js} +1 -1
  133. package/dist/assets/{notifications-bhNBAwYZ.js → notifications-DOxubwia.js} +2 -2
  134. package/dist/assets/overview-ryDSple6.js +12 -0
  135. package/dist/assets/{page-header-CHw-WQA2.js → page-header-zk_vGpbh.js} +1 -1
  136. package/dist/assets/{permission-9nzt-q4b.js → permission-SllzgDua.js} +1 -1
  137. package/dist/assets/{preferences-4tXaXGnj.js → preferences-F-PM1lpN.js} +1 -1
  138. package/dist/assets/pt-zAir0hVe.js +1 -0
  139. package/dist/assets/publish-resource-RsJO2Hq1.js +1 -0
  140. package/dist/assets/{react-S17hN1iH.js → react-VuQOP3L6.js} +3 -3
  141. package/dist/assets/{redux-gRDWHG8c.js → redux-kc3-kmsu.js} +1 -1
  142. package/dist/assets/ru-Gi96O-Vb.js +1 -0
  143. package/dist/assets/selector-DTL7zNX_.js +46 -0
  144. package/dist/assets/session-BYfUMbJk.js +1 -0
  145. package/dist/assets/{setup-dY6aNRX3.js → setup-DPfp5CGT.js} +3 -3
  146. package/dist/assets/{slicedToArray-mck4X0q5.js → slicedToArray-iFruSMqg.js} +2 -2
  147. package/dist/assets/{spaces-PUl6VuEw.js → spaces-J1r769JG.js} +1 -1
  148. package/dist/assets/start-lY990yZO.js +186 -0
  149. package/dist/assets/{step-actions-hJO9vJJ2.js → step-actions-pbMKlmy7.js} +1 -1
  150. package/dist/assets/{studio-caITeK-r.js → studio-7-raEmM6.js} +1 -1
  151. package/dist/assets/{switch-control-5DKcjr7K.js → switch-control-mlgW5FPR.js} +1 -1
  152. package/dist/assets/{th-sbvh70hx.js → th-TxDimAv4.js} +1 -1
  153. package/dist/assets/{toUpper-NbngLfu_.js → toUpper-r8rRJQKe.js} +1 -1
  154. package/dist/assets/{transfer-JZzkTf8v.js → transfer-yrY7D8nI.js} +1 -1
  155. package/dist/assets/{ua-parser-i2ofVHAy.js → ua-parser-gHDQaKhq.js} +3 -3
  156. package/dist/assets/{uniqBy-tAxpWE-O.js → uniqBy-qDRpbVgw.js} +1 -1
  157. package/dist/assets/{unsubscribe--9hIbo49.js → unsubscribe-wC5B9E40.js} +1 -1
  158. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-Bcu8RYGE.js → use-blocklet-info-for-connect-did-spaces-2L97PzJq.js} +1 -1
  159. package/dist/assets/{useAsync-WzK7ZSwT.js → useAsync-5uJxDS-U.js} +1 -1
  160. package/dist/assets/{useFormControl-jdgDLs6W.js → useFormControl-_t-2NjZI.js} +1 -1
  161. package/dist/assets/{useLocalStorage-4f-61B8p.js → useLocalStorage-GnZ8ygVs.js} +1 -1
  162. package/dist/assets/{useSetState-Zqz3mRV-.js → useSetState-PcL2uKmD.js} +1 -1
  163. package/dist/assets/{useSlot-BhQ4Lfcp.js → useSlot-FhKMtbcE.js} +1 -1
  164. package/dist/assets/{user-center-cNn0sVzK.js → user-center-7xAjmGFG.js} +1 -1
  165. package/dist/assets/{user-sessions-jwHGe5G-.js → user-sessions-Qi3aDWm2.js} +1 -1
  166. package/dist/assets/{util-34S6iA5N.js → util-0BXgqFVS.js} +1 -1
  167. package/dist/assets/vi-hic6htLz.js +1 -0
  168. package/dist/assets/{wrap-locale-dUnM3tZX.js → wrap-locale-j87K3AQt.js} +1 -1
  169. package/dist/assets/zh-VrMBUqtA.js +1 -0
  170. package/dist/assets/zh-tw-wjxZMUrx.js +1 -0
  171. package/dist/index.html +1 -1
  172. package/dist/service-worker.js +1 -1
  173. package/package.json +18 -18
  174. package/dist/assets/add-resource-jbzGvP0x.js +0 -1
  175. package/dist/assets/api-JSGQgEYG.js +0 -1
  176. package/dist/assets/ar-u_bJ5PrA.js +0 -1
  177. package/dist/assets/dashboard-m0_f98IA.js +0 -134
  178. package/dist/assets/de-oOiOcG-A.js +0 -1
  179. package/dist/assets/es-LbdnOHug.js +0 -1
  180. package/dist/assets/fr-bGflKMpT.js +0 -1
  181. package/dist/assets/hi-VjNJEiVA.js +0 -1
  182. package/dist/assets/id-Hep-nnEn.js +0 -1
  183. package/dist/assets/iframe-RY3IszT5.js +0 -1
  184. package/dist/assets/index-9nGLjeMJ.js +0 -1
  185. package/dist/assets/index-Q73bL4kQ.js +0 -1314
  186. package/dist/assets/index-hvq3gD1K.js +0 -4
  187. package/dist/assets/ja-R_MWRpmY.js +0 -1
  188. package/dist/assets/ko-HYtqmoCZ.js +0 -1
  189. package/dist/assets/localization-jw88dK_C.js +0 -1
  190. package/dist/assets/overview-IG3m8550.js +0 -12
  191. package/dist/assets/pt-WcnHMD2V.js +0 -1
  192. package/dist/assets/publish-resource-sYQ5Ad-I.js +0 -1
  193. package/dist/assets/ru-C9FX25DR.js +0 -1
  194. package/dist/assets/selector-MKIYf6Up.js +0 -46
  195. package/dist/assets/session-qul76cK0.js +0 -1
  196. package/dist/assets/start-wpEK4hsR.js +0 -186
  197. package/dist/assets/vi-0MuYwLtl.js +0 -1
  198. package/dist/assets/zh-o3NAnHCw.js +0 -1
  199. package/dist/assets/zh-tw-_4y2N8Jn.js +0 -1
@@ -1,4 +1,4 @@
1
- import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as ae,j as o,aH as T,aI as Re,d0 as eo,cJ as oo,bp as oe,cu as ro,d1 as no,Q as ie,R as le,P as n,bU as v,ab as to,ax as de,L as K,T as F,b as ao,ay as Me,B as C,bV as so,Y as S,d2 as io,H as Te,a0 as lo,d3 as co,h as po,d4 as uo,d5 as ho}from"./index-Q73bL4kQ.js";import{T as xo}from"./Toolbar-AykKd5Yb.js";import{H as Be}from"./Hidden-TBO3Yr4z.js";import{d as mo}from"./MoreHoriz-TWznoE3n.js";import{d as fo}from"./ExpandMore-OfaPyHFu.js";const se={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function go(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const bo=["className","color","enableColorOnDark","position"],vo=e=>{const{color:r,position:t,classes:a}=e,s={root:["root",`color${W(r)}`,`position${W(t)}`]};return Re(s,go,a)},X=(e,r)=>e?`${e==null?void 0:e.replace(")","")}, ${r})`:r,yo=ee(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[`position${W(t.position)}`],r[`color${W(t.color)}`]]}})(({theme:e,ownerState:r})=>{const t=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return P({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},r.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},r.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="static"&&{position:"static"},r.position==="relative"&&{position:"relative"},!e.vars&&P({},r.color==="default"&&{backgroundColor:t,color:e.palette.getContrastText(t)},r.color&&r.color!=="default"&&r.color!=="inherit"&&r.color!=="transparent"&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},r.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!r.enableColorOnDark&&{backgroundColor:null,color:null},r.color==="transparent"&&P({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&P({},r.color==="default"&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:X(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:X(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:X(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:X(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:r.color==="inherit"?"inherit":"var(--AppBar-color)"},r.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),jo=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiAppBar"}),{className:s,color:c="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,p=ae(a,bo),u=P({},a,{color:c,position:i,enableColorOnDark:d}),x=vo(u);return o.jsx(yo,P({square:!0,component:"header",ownerState:u,elevation:4,className:T(x.root,s,i==="fixed"&&"mui-fixed"),ref:t},p))}),wo=jo;function ko(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const $o=["BackdropProps"],Po=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ae=(e,r)=>{const{ownerState:t}=e;return[r.root,(t.variant==="permanent"||t.variant==="persistent")&&r.docked,r.modal]},zo=e=>{const{classes:r,anchor:t,variant:a}=e,s={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(t)}`,a!=="temporary"&&`paperAnchorDocked${W(t)}`]};return Re(s,ko,r)},No=ee(eo,{name:"MuiDrawer",slot:"Root",overridesResolver:Ae})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=ee("div",{shouldForwardProp:oo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ae})({flex:"0 0 auto"}),Co=ee(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.paper,r[`paperAnchor${W(t.anchor)}`],t.variant!=="temporary"&&r[`paperAnchorDocked${W(t.anchor)}`]]}})(({theme:e,ownerState:r})=>P({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Le={left:"right",right:"left",top:"down",bottom:"up"};function Ro(e){return["left","right"].indexOf(e)!==-1}function Mo({direction:e},r){return e==="rtl"&&Ro(r)?Le[r]:r}const To=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiDrawer"}),s=oe(),c=ro(),d={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:p,children:u,className:x,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:y}={},onClose:z,open:g=!1,PaperProps:b={},SlideProps:N,TransitionComponent:w=no,transitionDuration:R=d,variant:M="temporary"}=a,I=ae(a.ModalProps,$o),k=ae(a,Po),$=l.useRef(!1);l.useEffect(()=>{$.current=!0},[]);const _=Mo({direction:c?"rtl":"ltr"},i),B=P({},a,{anchor:i,elevation:m,open:g,variant:M},k),A=zo(B),Q=o.jsx(Co,P({elevation:M==="temporary"?m:0,square:!0},b,{className:T(A.paper,b.className),ownerState:B,children:u}));if(M==="permanent")return o.jsx(ke,P({className:T(A.root,A.docked,x),ownerState:B,ref:t},k,{children:Q}));const q=o.jsx(w,P({in:g,direction:Le[_],timeout:R,appear:$.current},N,{children:Q}));return M==="persistent"?o.jsx(ke,P({className:T(A.root,A.docked,x),ownerState:B,ref:t},k,{children:q})):o.jsx(No,P({BackdropProps:P({},p,y,{transitionDuration:R}),className:T(A.root,A.modal,x),open:g,ownerState:B,onClose:z,hideBackdrop:j,ref:t},k,I,{children:q}))}),De=To;var ce={},Bo=le;Object.defineProperty(ce,"__esModule",{value:!0});var Ie=ce.default=void 0,Ao=Bo(ie()),Lo=o;Ie=ce.default=(0,Ao.default)((0,Lo.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Do=le;Object.defineProperty(pe,"__esModule",{value:!0});var _e=pe.default=void 0,Io=Do(ie()),_o=o;_e=pe.default=(0,Io.default)((0,_o.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function ue({name:e,size:r,alt:t,color:a,style:s,prefix:c,showBadge:d,...i}){const p=`${c}/${e}-${a.replace(/^#/,"")}.png`;return o.jsxs(Fo,{style:{width:r,height:r},children:[o.jsx(to,{width:r,height:r,alt:t||e,src:p,style:Object.assign({width:r},s),...i}),d&&o.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:n.string.isRequired,size:n.number,color:n.string,alt:n.string,style:n.object,prefix:n.string,showBadge:n.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const Fo=v("div")`
1
+ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as ae,j as o,aH as T,aI as Re,cW as eo,cH as oo,bn as oe,cs as ro,cX as no,P as n,Q as ie,R as le,bS as v,ab as to,ax as de,L as Z,T as F,b as ao,ay as Me,B as C,bT as so,Y as S,cY as io,H as Te,a2 as lo,cZ as co,h as po,c_ as uo,c$ as ho}from"./index-uX1Y3cB6.js";import{T as xo}from"./Toolbar-t4f5PZ_M.js";import{H as Be}from"./Hidden-z8Sjsln3.js";import{d as mo}from"./MoreHoriz-o30dgPK5.js";import{d as fo}from"./ExpandMore-svMob0Kw.js";const se={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function go(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const bo=["className","color","enableColorOnDark","position"],vo=e=>{const{color:r,position:t,classes:a}=e,s={root:["root",`color${W(r)}`,`position${W(t)}`]};return Re(s,go,a)},J=(e,r)=>e?`${e==null?void 0:e.replace(")","")}, ${r})`:r,yo=ee(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[`position${W(t.position)}`],r[`color${W(t.color)}`]]}})(({theme:e,ownerState:r})=>{const t=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return P({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},r.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},r.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="static"&&{position:"static"},r.position==="relative"&&{position:"relative"},!e.vars&&P({},r.color==="default"&&{backgroundColor:t,color:e.palette.getContrastText(t)},r.color&&r.color!=="default"&&r.color!=="inherit"&&r.color!=="transparent"&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},r.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!r.enableColorOnDark&&{backgroundColor:null,color:null},r.color==="transparent"&&P({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&P({},r.color==="default"&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:J(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:J(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:J(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:J(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:r.color==="inherit"?"inherit":"var(--AppBar-color)"},r.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),jo=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiAppBar"}),{className:s,color:c="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,p=ae(a,bo),u=P({},a,{color:c,position:i,enableColorOnDark:d}),x=vo(u);return o.jsx(yo,P({square:!0,component:"header",ownerState:u,elevation:4,className:T(x.root,s,i==="fixed"&&"mui-fixed"),ref:t},p))}),wo=jo;function ko(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const $o=["BackdropProps"],Po=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ae=(e,r)=>{const{ownerState:t}=e;return[r.root,(t.variant==="permanent"||t.variant==="persistent")&&r.docked,r.modal]},zo=e=>{const{classes:r,anchor:t,variant:a}=e,s={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(t)}`,a!=="temporary"&&`paperAnchorDocked${W(t)}`]};return Re(s,ko,r)},No=ee(eo,{name:"MuiDrawer",slot:"Root",overridesResolver:Ae})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=ee("div",{shouldForwardProp:oo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ae})({flex:"0 0 auto"}),Co=ee(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.paper,r[`paperAnchor${W(t.anchor)}`],t.variant!=="temporary"&&r[`paperAnchorDocked${W(t.anchor)}`]]}})(({theme:e,ownerState:r})=>P({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Le={left:"right",right:"left",top:"down",bottom:"up"};function Ro(e){return["left","right"].indexOf(e)!==-1}function Mo({direction:e},r){return e==="rtl"&&Ro(r)?Le[r]:r}const To=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiDrawer"}),s=oe(),c=ro(),d={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:p,children:u,className:x,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:y}={},onClose:z,open:g=!1,PaperProps:b={},SlideProps:N,TransitionComponent:w=no,transitionDuration:R=d,variant:M="temporary"}=a,I=ae(a.ModalProps,$o),k=ae(a,Po),$=l.useRef(!1);l.useEffect(()=>{$.current=!0},[]);const _=Mo({direction:c?"rtl":"ltr"},i),B=P({},a,{anchor:i,elevation:m,open:g,variant:M},k),A=zo(B),X=o.jsx(Co,P({elevation:M==="temporary"?m:0,square:!0},b,{className:T(A.paper,b.className),ownerState:B,children:u}));if(M==="permanent")return o.jsx(ke,P({className:T(A.root,A.docked,x),ownerState:B,ref:t},k,{children:X}));const V=o.jsx(w,P({in:g,direction:Le[_],timeout:R,appear:$.current},N,{children:X}));return M==="persistent"?o.jsx(ke,P({className:T(A.root,A.docked,x),ownerState:B,ref:t},k,{children:V})):o.jsx(No,P({BackdropProps:P({},p,y,{transitionDuration:R}),className:T(A.root,A.modal,x),open:g,ownerState:B,onClose:z,hideBackdrop:j,ref:t},k,I,{children:V}))}),De=To,Ie=l.createContext(),Bo=e=>{const r=l.useContext(Ie);return l.useLayoutEffect(()=>{e&&r.configure(e)},[]),r};function _e({children:e,...r}){const[t,a]=l.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},c=l.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:s,configure:d=>a(i=>({...i,...d}))}),[t]);return o.jsx(Ie.Provider,{value:c,...r,children:e})}_e.propTypes={children:n.node.isRequired};var ce={},Ao=le;Object.defineProperty(ce,"__esModule",{value:!0});var Fe=ce.default=void 0,Lo=Ao(ie()),Do=o;Fe=ce.default=(0,Lo.default)((0,Do.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Io=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,_o=Io(ie()),Fo=o;We=pe.default=(0,_o.default)((0,Fo.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function ue({name:e,size:r,alt:t,color:a,style:s,prefix:c,showBadge:d,...i}){const p=`${c}/${e}-${a.replace(/^#/,"")}.png`;return o.jsxs(Wo,{style:{width:r,height:r},children:[o.jsx(to,{width:r,height:r,alt:t||e,src:p,style:Object.assign({width:r},s),...i}),d&&o.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:n.string.isRequired,size:n.number,color:n.string,alt:n.string,style:n.object,prefix:n.string,showBadge:n.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const Wo=v("div")`
2
2
  position: relative;
3
3
  .badge-point {
4
4
  position: absolute;
@@ -10,7 +10,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
10
10
  top: 0;
11
11
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3), 0px 0px 20px rgba(0, 0, 0, 0.1);
12
12
  }
13
- `;var Fe=function(r){return o.jsx("svg",{...r,children:o.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",children:[o.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"}),o.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};Fe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var We=function(r){return o.jsx("svg",{...r,children:o.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"})})};We.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};var Oe=function(r){return o.jsx("svg",{...r,children:o.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#000",children:[o.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"}),o.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};Oe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var He=function(r){return o.jsx("svg",{...r,children:o.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"})})};He.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};function U({showText:e,showLogo:r,mode:t,layout:a,...s}){const c=t==="light"?o.jsx(Fe,{}):o.jsx(Oe,{}),d=t==="light"?o.jsx(We,{className:"logo-text"}):o.jsx(He,{className:"logo-text"});return o.jsxs(Wo,{layout:a,...s,children:[r&&c,e&&d]})}U.propTypes={mode:n.oneOf(["light","dark"]),layout:n.oneOf(["vertical","horizontal"]),showText:n.bool,showLogo:n.bool};U.defaultProps={mode:"dark",layout:"vertical",showText:!0,showLogo:!0};const Wo=v("span")`
13
+ `;var He=function(r){return o.jsx("svg",{...r,children:o.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",children:[o.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"}),o.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};He.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var Oe=function(r){return o.jsx("svg",{...r,children:o.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"})})};Oe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};var qe=function(r){return o.jsx("svg",{...r,children:o.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#000",children:[o.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"}),o.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 Ve=function(r){return o.jsx("svg",{...r,children:o.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"})})};Ve.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};function U({showText:e,showLogo:r,mode:t,layout:a,...s}){const c=t==="light"?o.jsx(He,{}):o.jsx(qe,{}),d=t==="light"?o.jsx(Oe,{className:"logo-text"}):o.jsx(Ve,{className:"logo-text"});return o.jsxs(Ho,{layout:a,...s,children:[r&&c,e&&d]})}U.propTypes={mode:n.oneOf(["light","dark"]),layout:n.oneOf(["vertical","horizontal"]),showText:n.bool,showLogo:n.bool};U.defaultProps={mode:"dark",layout:"vertical",showText:!0,showLogo:!0};const Ho=v("span")`
14
14
  display: inline-flex;
15
15
  flex-direction: ${e=>e.layout==="horizontal"?"row":"column"};
16
16
  justify-content: center;
@@ -20,7 +20,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
20
20
  ${e=>e.layout==="vertical"?"margin-top: 8px;":""}
21
21
  ${e=>e.layout==="vertical"?"":"margin-left: 8px;"};
22
22
  }
23
- `;function he({images:e,links:r,prefix:t,addons:a,logo:s,...c}){const d=oe(),i=de(),p=(u,x)=>new RegExp(`/${x}`).test(i.pathname);return o.jsxs(Oo,{...c,children:[o.jsx(K,{to:"/",className:"sidebar-logo",children:s||o.jsx(U,{showText:!1,size:20})}),r.map(({url:u,name:x,title:m,showBadge:j})=>{const y=p(u,x);return o.jsxs(Ho,{component:K,selected:y,to:u,children:[o.jsx(ue,{name:e[x],size:36,color:y?"#00c2c4":d.typography.color.main,prefix:t,showBadge:j}),o.jsx(F,{component:"span",className:"menu-title",children:m})]},u)}),o.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:n.object.isRequired,links:n.array.isRequired,prefix:n.string,addons:n.any,logo:n.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const Oo=l.memo(v("div")`
23
+ `;function he({images:e,links:r,prefix:t,addons:a,logo:s,...c}){const d=oe(),i=de(),p=(u,x)=>new RegExp(`/${x}`).test(i.pathname);return o.jsxs(Oo,{...c,children:[o.jsx(Z,{to:"/",className:"sidebar-logo",children:s||o.jsx(U,{showText:!1,size:20})}),r.map(({url:u,name:x,title:m,showBadge:j})=>{const y=p(u,x);return o.jsxs(qo,{component:Z,selected:y,to:u,children:[o.jsx(ue,{name:e[x],size:36,color:y?"#00c2c4":d.typography.color.main,prefix:t,showBadge:j}),o.jsx(F,{component:"span",className:"menu-title",children:m})]},u)}),o.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:n.object.isRequired,links:n.array.isRequired,prefix:n.string,addons:n.any,logo:n.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const Oo=l.memo(v("div")`
24
24
  flex: 1;
25
25
  display: flex;
26
26
  flex-direction: column;
@@ -41,7 +41,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
41
41
  display: block;
42
42
  }
43
43
  }
44
- `),$e="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",Ho=v(ao)`
44
+ `),$e="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",qo=v(ao)`
45
45
  && {
46
46
  display: flex;
47
47
  flex-direction: column;
@@ -70,7 +70,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
70
70
  color: ${e=>e.theme.palette.text.primary};
71
71
  }
72
72
  }
73
- `;var xe={},Vo=le;Object.defineProperty(xe,"__esModule",{value:!0});var re=xe.default=void 0,qo=Vo(ie()),Eo=o;re=xe.default=(0,qo.default)((0,Eo.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");const So=v(wo)`
73
+ `;var xe={},Vo=le;Object.defineProperty(xe,"__esModule",{value:!0});var re=xe.default=void 0,Eo=Vo(ie()),So=o;re=xe.default=(0,Eo.default)((0,So.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");const Uo=v(wo)`
74
74
  && {
75
75
  z-index: ${e=>e.theme.zIndex.drawer};
76
76
  background: ${e=>e.theme.palette.background.default};
@@ -140,7 +140,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
140
140
  display: block;
141
141
  }
142
142
  }
143
- `;function me({children:e,brand:r,brandAddon:t,description:a,addons:s,onToggleMenu:c,homeUrl:d,logo:i,...p}){return o.jsx(So,{position:"sticky",className:"header",...p,children:o.jsxs(xo,{disableGutters:!1,className:"header-toolbar",children:[o.jsx(Me,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:c,children:o.jsx(re,{})}),o.jsxs(K,{to:d,className:"header-link",children:[o.jsx(Be,{mdDown:!0,children:o.jsx("div",{className:"header-logo",children:i||o.jsx(U,{showText:!1})})}),o.jsxs("div",{className:"header-title",children:[o.jsxs(F,{component:"h2",noWrap:!0,className:"header-title__primary",children:[r,t]}),o.jsx(F,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),o.jsx(C,{flexGrow:1}),!!e&&o.jsx("div",{className:"header-children",children:e}),o.jsx("div",{className:"header-addons",children:s})]})})}me.propTypes={onToggleMenu:n.func.isRequired,brand:n.string.isRequired,brandAddon:n.object,description:n.any.isRequired,children:n.any,addons:n.any,homeUrl:n.string,logo:n.any};me.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function H(e){var m;const r=so(e,H,["dark","style"]),{className:t,copyStart:a,style:s,brand:c,dark:d,addon:i}=r,p=`${new Date().getFullYear()}`,u=`${a}`,x=p===u?p:`${u}-${p}`;return o.jsxs(Uo,{className:t,style:s,dark:d,children:[o.jsx(S,{maxWidth:!1,children:o.jsxs(F,{component:"div",className:"footer",children:[o.jsxs(F,{component:"p",className:"footer-item",children:[o.jsxs("span",{className:"footer-copy",children:["Copyright © ",x," "]}),o.jsx("span",{className:"footer-brand",children:c})]}),i&&o.jsx(F,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),o.jsxs(F,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",o.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),o.jsx(C,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(m=window==null?void 0:window.blocklet)==null?void 0:m.version})]})}H.propTypes={dark:n.bool,className:n.string,copyStart:n.oneOfType([n.string,n.number]),brand:n.string,style:n.object,addon:n.node};H.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Uo=v("div",{shouldForwardProp:e=>e!=="dark"})`
143
+ `;function me({children:e,brand:r,brandAddon:t,description:a,addons:s,onToggleMenu:c,homeUrl:d,logo:i,...p}){return o.jsx(Uo,{position:"sticky",className:"header",...p,children:o.jsxs(xo,{disableGutters:!1,className:"header-toolbar",children:[o.jsx(Me,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:c,children:o.jsx(re,{})}),o.jsxs(Z,{to:d,className:"header-link",children:[o.jsx(Be,{mdDown:!0,children:o.jsx("div",{className:"header-logo",children:i||o.jsx(U,{showText:!1})})}),o.jsxs("div",{className:"header-title",children:[o.jsxs(F,{component:"h2",noWrap:!0,className:"header-title__primary",children:[r,t]}),o.jsx(F,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),o.jsx(C,{flexGrow:1}),!!e&&o.jsx("div",{className:"header-children",children:e}),o.jsx("div",{className:"header-addons",children:s})]})})}me.propTypes={onToggleMenu:n.func.isRequired,brand:n.string.isRequired,brandAddon:n.object,description:n.any.isRequired,children:n.any,addons:n.any,homeUrl:n.string,logo:n.any};me.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function O(e){var m;const r=so(e,O,["dark","style"]),{className:t,copyStart:a,style:s,brand:c,dark:d,addon:i}=r,p=`${new Date().getFullYear()}`,u=`${a}`,x=p===u?p:`${u}-${p}`;return o.jsxs(Go,{className:t,style:s,dark:d,children:[o.jsx(S,{maxWidth:!1,children:o.jsxs(F,{component:"div",className:"footer",children:[o.jsxs(F,{component:"p",className:"footer-item",children:[o.jsxs("span",{className:"footer-copy",children:["Copyright © ",x," "]}),o.jsx("span",{className:"footer-brand",children:c})]}),i&&o.jsx(F,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),o.jsxs(F,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",o.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),o.jsx(C,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(m=window==null?void 0:window.blocklet)==null?void 0:m.version})]})}O.propTypes={dark:n.bool,className:n.string,copyStart:n.oneOfType([n.string,n.number]),brand:n.string,style:n.object,addon:n.node};O.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Go=v("div",{shouldForwardProp:e=>e!=="dark"})`
144
144
  position: relative;
145
145
  margin-top: 64px;
146
146
  padding: 24px 0 32px;
@@ -200,7 +200,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
200
200
  }
201
201
  }
202
202
  }
203
- `,Go=v("div")`
203
+ `,Yo=v("div")`
204
204
  &.dashboard {
205
205
  display: flex;
206
206
  flex-direction: column;
@@ -228,7 +228,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
228
228
  box-shadow: 2px 16px 10px 0 rgba(0, 0, 0, ${e=>e.theme.mode==="light"?.05:.5});
229
229
  border: 0;
230
230
  }
231
- `;function fe({children:e,title:r,brand:t,description:a,brandAddon:s,headerAddon:c,images:d,links:i,prefix:p,fullWidth:u,contentLayout:x,className:m,homeUrl:j,logo:y,...z}){const b=io(document.body),N=(b==null?void 0:b.width)||0,[w,R]=l.useState(N>=960?"permanent":"temporary"),[M,I]=l.useState(w==="permanent");l.useEffect(()=>{const _=N>=960?"permanent":"temporary";R(_),I(_!=="temporary")},[N]);const k=()=>{I(!M)},$=u||x==="row";return o.jsxs(Go,{className:`dashboard ${m}`,...z,children:[o.jsx(Te,{title:`${r}-${t}`}),o.jsx(me,{className:"dashboard__header",onToggleMenu:k,brand:t,brandAddon:s,description:a,addons:c,homeUrl:j,logo:y}),o.jsxs(C,{display:"flex",className:"dashboard__body",children:[o.jsx(De,{variant:w,className:"drawer",classes:{paper:"drawerPaper"},open:M,onClose:k,ModalProps:{disablePortal:!0,keepMounted:!0},children:o.jsx(he,{className:"dashboard__sidebar",images:d,links:i,prefix:p,logo:y})}),o.jsxs(C,{className:"dashboard__main",children:[o.jsx(S,{maxWidth:$?!1:"lg",className:"dashboard__content",children:e}),o.jsx(H,{})]})]})]})}fe.propTypes={children:n.any.isRequired,title:n.string,brand:n.string.isRequired,links:n.array.isRequired,images:n.object.isRequired,brandAddon:n.object,description:n.any.isRequired,headerAddon:n.any,prefix:n.string,contentLayout:n.oneOf(["row","column"]),fullWidth:n.bool,className:n.string,homeUrl:n.string,logo:n.any};fe.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Ve({height:e,...r}){return o.jsx(Yo,{height:e,...r})}Ve.propTypes={height:n.oneOfType([n.number,n.string]).isRequired};const Yo=v(C)`
231
+ `;function fe({children:e,title:r,brand:t,description:a,brandAddon:s,headerAddon:c,images:d,links:i,prefix:p,fullWidth:u,contentLayout:x,className:m,homeUrl:j,logo:y,...z}){const b=io(document.body),N=(b==null?void 0:b.width)||0,[w,R]=l.useState(N>=960?"permanent":"temporary"),[M,I]=l.useState(w==="permanent");l.useEffect(()=>{const _=N>=960?"permanent":"temporary";R(_),I(_!=="temporary")},[N]);const k=()=>{I(!M)},$=u||x==="row";return o.jsxs(Yo,{className:`dashboard ${m}`,...z,children:[o.jsx(Te,{title:`${r}-${t}`}),o.jsx(me,{className:"dashboard__header",onToggleMenu:k,brand:t,brandAddon:s,description:a,addons:c,homeUrl:j,logo:y}),o.jsxs(C,{display:"flex",className:"dashboard__body",children:[o.jsx(De,{variant:w,className:"drawer",classes:{paper:"drawerPaper"},open:M,onClose:k,ModalProps:{disablePortal:!0,keepMounted:!0},children:o.jsx(he,{className:"dashboard__sidebar",images:d,links:i,prefix:p,logo:y})}),o.jsxs(C,{className:"dashboard__main",children:[o.jsx(S,{maxWidth:$?!1:"lg",className:"dashboard__content",children:e}),o.jsx(O,{})]})]})]})}fe.propTypes={children:n.any.isRequired,title:n.string,brand:n.string.isRequired,links:n.array.isRequired,images:n.object.isRequired,brandAddon:n.object,description:n.any.isRequired,headerAddon:n.any,prefix:n.string,contentLayout:n.oneOf(["row","column"]),fullWidth:n.bool,className:n.string,homeUrl:n.string,logo:n.any};fe.defaultProps={title:"Home",contentLayout:"column",headerAddon:null,brandAddon:null,prefix:"/images",fullWidth:!1,className:"",homeUrl:"/",logo:null};function Ee({height:e,...r}){return o.jsx(Qo,{height:e,...r})}Ee.propTypes={height:n.oneOfType([n.number,n.string]).isRequired};const Qo=v(C)`
232
232
  overflow: hidden;
233
233
  &:before {
234
234
  content: '';
@@ -241,7 +241,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
241
241
  float: left;
242
242
  white-space: nowrap;
243
243
  }
244
- `;function V({logo:e,brand:r,brandAddon:t,description:a,children:s,addons:c,prepend:d,align:i,maxWidth:p,homeLink:u,...x}){const m=l.useRef(),[j,y]=l.useState("0px"),z={minWidth:j};l.useEffect(()=>{m.current&&y(`${m.current.offsetWidth}px`)},[]);const g=()=>{const b=o.jsxs(o.Fragment,{children:[e&&o.jsx("div",{className:"header-logo",ref:m,children:e}),r&&o.jsx(Ve,{height:44,sx:{flexShrink:{xs:1}},children:o.jsxs("div",{className:"header-brand",children:[o.jsx("div",{className:"header-brand-title",children:o.jsx("h2",{children:r})}),o.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof u=="function"?u(b):o.jsx("a",{href:u,children:b})};return o.jsx(Jo,{...x,children:o.jsxs(S,{maxWidth:p,className:"header-container",children:[d,o.jsx("div",{className:"header-brand-wrapper",style:z,children:g()}),o.jsx("div",{className:"header-brand-addon",children:t}),i==="right"&&o.jsx(C,{flexGrow:1}),s,i==="left"&&o.jsx(C,{flexGrow:1}),o.jsx("div",{className:"header-addons",children:c})]})})}V.propTypes={logo:n.node,brand:n.node,brandAddon:n.node,description:n.node,children:n.node,addons:n.node,prepend:n.node,align:n.oneOf(["left","right"]),maxWidth:n.oneOfType([n.string,n.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:n.oneOfType([n.string,n.func])};V.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const Jo=v("div")`
244
+ `;function q({logo:e,brand:r,brandAddon:t,description:a,children:s,addons:c,prepend:d,align:i,maxWidth:p,homeLink:u,...x}){const m=l.useRef(),[j,y]=l.useState("0px"),z={minWidth:j};l.useEffect(()=>{m.current&&y(`${m.current.offsetWidth}px`)},[]);const g=()=>{const b=o.jsxs(o.Fragment,{children:[e&&o.jsx("div",{className:"header-logo",ref:m,children:e}),r&&o.jsx(Ee,{height:44,sx:{flexShrink:{xs:1}},children:o.jsxs("div",{className:"header-brand",children:[o.jsx("div",{className:"header-brand-title",children:o.jsx("h2",{children:r})}),o.jsx("div",{className:"header-brand-desc",children:a})]})})]});return typeof u=="function"?u(b):o.jsx("a",{href:u,children:b})};return o.jsx(Xo,{...x,children:o.jsxs(S,{maxWidth:p,className:"header-container",children:[d,o.jsx("div",{className:"header-brand-wrapper",style:z,children:g()}),o.jsx("div",{className:"header-brand-addon",children:t}),i==="right"&&o.jsx(C,{flexGrow:1}),s,i==="left"&&o.jsx(C,{flexGrow:1}),o.jsx("div",{className:"header-addons",children:c})]})})}q.propTypes={logo:n.node,brand:n.node,brandAddon:n.node,description:n.node,children:n.node,addons:n.node,prepend:n.node,align:n.oneOf(["left","right"]),maxWidth:n.oneOfType([n.string,n.oneOf(["xs","sm","md","lg","xl",!1])]),homeLink:n.oneOfType([n.string,n.func])};q.defaultProps={logo:null,brand:null,brandAddon:null,description:null,children:null,addons:null,prepend:null,align:"left",maxWidth:void 0,homeLink:"/"};const Xo=v("div")`
245
245
  position: relative;
246
246
  z-index: ${e=>e.theme.zIndex.appBar};
247
247
  font-size: 14px;
@@ -337,7 +337,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
337
337
  }
338
338
  }
339
339
  }
340
- `;function ge({menu:e,prepend:r,children:t,...a}){const s=oe(),c=lo(s.breakpoints.down("md")),[d,i]=l.useState(!1),p=typeof t=="function"?t({isMobile:c,closeMenu:()=>i(!1)}):t;return t?o.jsxs(Qo,{prepend:r||o.jsx(Me,{sx:{color:s.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!d),children:d?o.jsx(co,{}):o.jsx(re,{})}),...a,children:[!c&&p,c&&o.jsx(De,{open:d,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:s.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:o.jsx(Xo,{children:p})})]}):o.jsx(V,{prepend:r,...a})}ge.propTypes={...V.PropTypes,children:n.oneOfType([n.node,n.func])};ge.defaultProps={...V.defaultProps};const Qo=v(V)`
340
+ `;function ge({menu:e,prepend:r,children:t,...a}){const s=oe(),c=lo(s.breakpoints.down("md")),[d,i]=l.useState(!1),p=typeof t=="function"?t({isMobile:c,closeMenu:()=>i(!1)}):t;return t?o.jsxs(Jo,{prepend:r||o.jsx(Me,{sx:{color:s.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!d),children:d?o.jsx(co,{}):o.jsx(re,{})}),...a,children:[!c&&p,c&&o.jsx(De,{open:d,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:s.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:o.jsx(Zo,{children:p})})]}):o.jsx(q,{prepend:r,...a})}ge.propTypes={...q.PropTypes,children:n.oneOfType([n.node,n.func])};ge.defaultProps={...q.defaultProps};const Jo=v(q)`
341
341
  .header-menu {
342
342
  display: none;
343
343
  }
@@ -347,7 +347,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
347
347
  margin-right: 12px;
348
348
  }
349
349
  }
350
- `,Xo=v(S)`
350
+ `,Zo=v(S)`
351
351
  padding-top: 8px;
352
352
  padding-bottom: 16px;
353
353
  .navmenu {
@@ -357,7 +357,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
357
357
  border: 0;
358
358
  }
359
359
  }
360
- `,qe=v("nav")`
360
+ `,Se=v("nav")`
361
361
  background-color: ${e=>e.$bgColor};
362
362
  font-size: 16px;
363
363
  ul {
@@ -433,7 +433,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
433
433
  transition: transform 0.2s ease-in-out;
434
434
  }
435
435
  }
436
- `,Ko=v(qe)`
436
+ `,Ko=v(Se)`
437
437
  padding: 8px 16px;
438
438
  min-width: 50px;
439
439
  flex-grow: 1;
@@ -480,7 +480,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
480
480
  display: block;
481
481
  }
482
482
  }
483
- `,Zo=v(qe)`
483
+ `,er=v(Se)`
484
484
  font-size: 16px;
485
485
  .navmenu-root {
486
486
  display: flex;
@@ -532,7 +532,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
532
532
  .navmenu-sub--opened > .navmenu-sub-container {
533
533
  display: block;
534
534
  }
535
- `,be=l.createContext();function Ee(e){return e?l.Children.toArray(e).filter(r=>r.type===Y||r.type===O):null}function Se(e){return l.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function G({items:e,mode:r,children:t,activeId:a,textColor:s,activeTextColor:c,bgColor:d,onSelected:i,...p}){var q;if(t=Ee(t),!(e!=null&&e.length)&&!(t!=null&&t.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const[u,x]=l.useState({activeId:a,openedIds:[]}),m=l.useCallback(h=>{x(f=>({...f,activeId:h})),i==null||i(h)},[i]),j=l.useCallback(h=>{x(f=>({...f,openedIds:[...f.openedIds,h]}))},[]),y=l.useCallback(h=>{x(f=>({...f,openedIds:f.openedIds.filter(L=>L!==h)}))},[]),z=l.useMemo(()=>({...u,mode:r,activate:m,open:j,close:y}),[u,r,m,j,y]),[g,b]=l.useState(0),N=l.useRef(),w=l.useRef([]),R=l.useRef(),M=g===((q=w.current)==null?void 0:q.length),I=M?o.jsx(re,{}):o.jsx(mo,{}),k=M?{marginLeft:"0px"}:void 0,$=h=>l.Children.map(h,(f,L)=>l.cloneElement(f,{ref:D=>{w.current[L]=D}})),_=po(()=>{var je;let h=0,f=0,L=!1;const D=((je=N.current)==null?void 0:je.offsetWidth)||0,te=R.current?R.current.offsetWidth+parseFloat(window.getComputedStyle(R.current).marginLeft):0;w.current.forEach((E,Ke)=>{if(E){E.style.display="flex";const Ze=Ke>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+Ze;D-te>=h+we&&!L?h+=we:(E.style.display="none",L=!0,f++)}}),f!==g&&b(f)});l.useEffect(()=>{if(r==="horizontal")return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[r]),l.useEffect(()=>{a!=null&&x(h=>({...h,activeId:a}))},[a]);const ye=T("navmenu",`navmenu--${r}`,p.className),B=(h,f,L=!1)=>h!=null&&h.children?o.jsx(O,{id:h.id,icon:h.icon,label:h.label,ref:L?D=>{w.current[f]=D}:void 0,children:h.children.map((D,te)=>B(D,te,!1))},f):o.jsx(Y,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:L?D=>{w.current[f]=D}:void 0},f),A=e?e==null?void 0:e.slice(-g).map((h,f)=>B(h,f)):t==null?void 0:t.slice(-g),Q=r==="inline"?Zo:Ko;return o.jsx(be.Provider,{value:z,children:o.jsx(Q,{...p,className:ye,$textColor:s,$activeTextColor:c,$bgColor:d,children:o.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((h,f)=>B(h,f,!0)):$(t),g>0&&o.jsx(O,{expandIcon:!1,icon:I,label:"",ref:R,style:k,children:A})]})})})}G.propTypes={items:n.array,mode:n.oneOf(["horizontal","vertical","inline"]),children:n.array,activeId:n.string,textColor:n.string,activeTextColor:n.string,bgColor:n.string,onSelected:n.func};G.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const Y=l.forwardRef(({id:e,icon:r,label:t,active:a,onClick:s,...c},d)=>{const i=Se(e),{activeId:p,activate:u}=l.useContext(be),x=T("navmenu-item",{"navmenu-item--active":p===i},c.className);l.useEffect(()=>{a&&u(i)},[a]);const m=()=>{s==null||s(),u(i)};return o.jsxs("li",{...c,className:x,onClick:m,ref:d,children:[r&&o.jsx("span",{className:"navmenu-item-icon",children:r}),o.jsx("span",{className:"navmenu-item-label",children:t})]})});Y.propTypes={id:n.string,icon:n.element,label:n.node,active:n.bool,onClick:n.func};Y.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=l.forwardRef(({id:e,icon:r,label:t,children:a,expandIcon:s,...c},d)=>{const i=Se(e),{openedIds:p,open:u,close:x,mode:m}=l.useContext(be),j=p.includes(i),y=T("navmenu-sub",{"navmenu-sub--opened":j},c.className),z=m==="inline",g=z?{onClick:()=>p.includes(i)?x(i):u(i)}:{onMouseEnter:()=>u(i),onMouseLeave:()=>x(i)},b=z?{onClick:N=>N.stopPropagation()}:{};return o.jsxs("li",{...c,className:y,...g,ref:d,children:[r&&o.jsx("span",{className:"navmenu-sub-icon",children:r}),o.jsx("span",{className:"navmenu-sub-label",children:t}),s&&o.jsx("span",{className:"navmenu-sub-expand-icon",children:(s==null?void 0:s({isOpen:j}))||s}),o.jsx("div",{className:"navmenu-sub-container",...b,children:o.jsx("ul",{className:"navmenu-sub-list",children:Ee(a)})})]})});O.propTypes={id:n.string,icon:n.element,label:n.node.isRequired,children:n.array.isRequired,expandIcon:n.oneOfType([n.node,n.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>o.jsx(fo,{style:{transform:`rotate(${e?180:0}deg)`}})};G.Item=Y;G.Sub=O;function ne({children:e,routerLinkComponent:r,to:t,external:a,...s}){return a?o.jsx("a",{href:t,...s,children:e}):o.jsx(r,{to:t,...s,children:e})}ne.propTypes={children:n.any.isRequired,routerLinkComponent:n.elementType.isRequired,external:n.bool,to:n.oneOfType([n.string,n.object]).isRequired};ne.defaultProps={external:!1};function Ue(e){return o.jsx(ne,{routerLinkComponent:K,...e})}function ve({className:e,...r}){const t=r.external&&typeof e=="function"?e({}):e;return o.jsx(ne,{routerLinkComponent:uo,className:t,...r})}ve.propTypes={className:n.oneOfType([n.string,n.func])};ve.defaultProps={className:""};function er(e,r){return o.jsxs("li",{className:"layout-sidebar-group",children:[o.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),o.jsx("ul",{children:e.children.map(Ge)})]},`group-${e.title}-${r}`)}function Ge(e,r){var p;if((p=e.children)!=null&&p.length)return er(e,r);const{url:t,icon:a,title:s,showBadge:c,external:d,active:i}=e;return o.jsx("li",{className:"layout-sidebar-item",children:o.jsxs(ve,{external:d,to:t,className:({isActive:u})=>T("layout-sidebar-link",{"layout-sidebar-link--active":d?i:u}),children:[a&&o.jsx("span",{className:`layout-sidebar-icon ${c?"layout-sidebar-badge":""}`,children:a}),o.jsx(F,{component:"span",className:"layout-sidebar-link-text",children:s})]})},`${t}-${r}`)}function Z({links:e,addons:r,dense:t,...a}){return o.jsxs(rr,{...a,className:T({"layout-sidebar-dense":t}),children:[o.jsx("ul",{children:e.map(Ge)}),o.jsx("div",{style:{flex:1}}),r]})}Z.propTypes={links:n.array.isRequired,addons:n.any,dense:n.bool};Z.defaultProps={addons:null,dense:!1};const or="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",rr=v("div")`
535
+ `,be=l.createContext();function Ue(e){return e?l.Children.toArray(e).filter(r=>r.type===Y||r.type===H):null}function Ge(e){return l.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function G({items:e,mode:r,children:t,activeId:a,textColor:s,activeTextColor:c,bgColor:d,onSelected:i,...p}){var V;if(t=Ue(t),!(e!=null&&e.length)&&!(t!=null&&t.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const[u,x]=l.useState({activeId:a,openedIds:[]}),m=l.useCallback(h=>{x(f=>({...f,activeId:h})),i==null||i(h)},[i]),j=l.useCallback(h=>{x(f=>({...f,openedIds:[...f.openedIds,h]}))},[]),y=l.useCallback(h=>{x(f=>({...f,openedIds:f.openedIds.filter(L=>L!==h)}))},[]),z=l.useMemo(()=>({...u,mode:r,activate:m,open:j,close:y}),[u,r,m,j,y]),[g,b]=l.useState(0),N=l.useRef(),w=l.useRef([]),R=l.useRef(),M=g===((V=w.current)==null?void 0:V.length),I=M?o.jsx(re,{}):o.jsx(mo,{}),k=M?{marginLeft:"0px"}:void 0,$=h=>l.Children.map(h,(f,L)=>l.cloneElement(f,{ref:D=>{w.current[L]=D}})),_=po(()=>{var je;let h=0,f=0,L=!1;const D=((je=N.current)==null?void 0:je.offsetWidth)||0,te=R.current?R.current.offsetWidth+parseFloat(window.getComputedStyle(R.current).marginLeft):0;w.current.forEach((E,Ze)=>{if(E){E.style.display="flex";const Ke=Ze>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+Ke;D-te>=h+we&&!L?h+=we:(E.style.display="none",L=!0,f++)}}),f!==g&&b(f)});l.useEffect(()=>{if(r==="horizontal")return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[r]),l.useEffect(()=>{a!=null&&x(h=>({...h,activeId:a}))},[a]);const ye=T("navmenu",`navmenu--${r}`,p.className),B=(h,f,L=!1)=>h!=null&&h.children?o.jsx(H,{id:h.id,icon:h.icon,label:h.label,ref:L?D=>{w.current[f]=D}:void 0,children:h.children.map((D,te)=>B(D,te,!1))},f):o.jsx(Y,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:L?D=>{w.current[f]=D}:void 0},f),A=e?e==null?void 0:e.slice(-g).map((h,f)=>B(h,f)):t==null?void 0:t.slice(-g),X=r==="inline"?er:Ko;return o.jsx(be.Provider,{value:z,children:o.jsx(X,{...p,className:ye,$textColor:s,$activeTextColor:c,$bgColor:d,children:o.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((h,f)=>B(h,f,!0)):$(t),g>0&&o.jsx(H,{expandIcon:!1,icon:I,label:"",ref:R,style:k,children:A})]})})})}G.propTypes={items:n.array,mode:n.oneOf(["horizontal","vertical","inline"]),children:n.array,activeId:n.string,textColor:n.string,activeTextColor:n.string,bgColor:n.string,onSelected:n.func};G.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const Y=l.forwardRef(({id:e,icon:r,label:t,active:a,onClick:s,...c},d)=>{const i=Ge(e),{activeId:p,activate:u}=l.useContext(be),x=T("navmenu-item",{"navmenu-item--active":p===i},c.className);l.useEffect(()=>{a&&u(i)},[a]);const m=()=>{s==null||s(),u(i)};return o.jsxs("li",{...c,className:x,onClick:m,ref:d,children:[r&&o.jsx("span",{className:"navmenu-item-icon",children:r}),o.jsx("span",{className:"navmenu-item-label",children:t})]})});Y.propTypes={id:n.string,icon:n.element,label:n.node,active:n.bool,onClick:n.func};Y.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const H=l.forwardRef(({id:e,icon:r,label:t,children:a,expandIcon:s,...c},d)=>{const i=Ge(e),{openedIds:p,open:u,close:x,mode:m}=l.useContext(be),j=p.includes(i),y=T("navmenu-sub",{"navmenu-sub--opened":j},c.className),z=m==="inline",g=z?{onClick:()=>p.includes(i)?x(i):u(i)}:{onMouseEnter:()=>u(i),onMouseLeave:()=>x(i)},b=z?{onClick:N=>N.stopPropagation()}:{};return o.jsxs("li",{...c,className:y,...g,ref:d,children:[r&&o.jsx("span",{className:"navmenu-sub-icon",children:r}),o.jsx("span",{className:"navmenu-sub-label",children:t}),s&&o.jsx("span",{className:"navmenu-sub-expand-icon",children:(s==null?void 0:s({isOpen:j}))||s}),o.jsx("div",{className:"navmenu-sub-container",...b,children:o.jsx("ul",{className:"navmenu-sub-list",children:Ue(a)})})]})});H.propTypes={id:n.string,icon:n.element,label:n.node.isRequired,children:n.array.isRequired,expandIcon:n.oneOfType([n.node,n.func])};H.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>o.jsx(fo,{style:{transform:`rotate(${e?180:0}deg)`}})};G.Item=Y;G.Sub=H;function ne({children:e,routerLinkComponent:r,to:t,external:a,...s}){return a?o.jsx("a",{href:t,...s,children:e}):o.jsx(r,{to:t,...s,children:e})}ne.propTypes={children:n.any.isRequired,routerLinkComponent:n.elementType.isRequired,external:n.bool,to:n.oneOfType([n.string,n.object]).isRequired};ne.defaultProps={external:!1};function Ye(e){return o.jsx(ne,{routerLinkComponent:Z,...e})}function ve({className:e,...r}){const t=r.external&&typeof e=="function"?e({}):e;return o.jsx(ne,{routerLinkComponent:uo,className:t,...r})}ve.propTypes={className:n.oneOfType([n.string,n.func])};ve.defaultProps={className:""};function or(e,r){return o.jsxs("li",{className:"layout-sidebar-group",children:[o.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),o.jsx("ul",{children:e.children.map(Qe)})]},`group-${e.title}-${r}`)}function Qe(e,r){var p;if((p=e.children)!=null&&p.length)return or(e,r);const{url:t,icon:a,title:s,showBadge:c,external:d,active:i}=e;return o.jsx("li",{className:"layout-sidebar-item",children:o.jsxs(ve,{external:d,to:t,className:({isActive:u})=>T("layout-sidebar-link",{"layout-sidebar-link--active":d?i:u}),children:[a&&o.jsx("span",{className:`layout-sidebar-icon ${c?"layout-sidebar-badge":""}`,children:a}),o.jsx(F,{component:"span",className:"layout-sidebar-link-text",children:s})]})},`${t}-${r}`)}function K({links:e,addons:r,dense:t,...a}){return o.jsxs(nr,{...a,className:T({"layout-sidebar-dense":t}),children:[o.jsx("ul",{children:e.map(Qe)}),o.jsx("div",{style:{flex:1}}),r]})}K.propTypes={links:n.array.isRequired,addons:n.any,dense:n.bool};K.defaultProps={addons:null,dense:!1};const rr="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",nr=v("div")`
536
536
  display: flex;
537
537
  flex-direction: column;
538
538
  ul {
@@ -551,7 +551,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
551
551
  &:hover,
552
552
  &.layout-sidebar-link--active {
553
553
  color: ${e=>e.theme.palette.primary.main};
554
- background: ${or};
554
+ background: ${rr};
555
555
  border-left-color: ${se.A700};
556
556
  }
557
557
  }
@@ -655,7 +655,7 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
655
655
  margin-top: 16px;
656
656
  }
657
657
  }
658
- `,Ye=l.createContext(),nr=e=>{const r=l.useContext(Ye);return l.useLayoutEffect(()=>{e&&r.configure(e)},[]),r};function Je({children:e,...r}){const[t,a]=l.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},c=l.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:s,configure:d=>a(i=>({...i,...d}))}),[t]);return o.jsx(Ye.Provider,{value:c,...r,children:e})}Je.propTypes={children:n.node.isRequired};function tr({closeMenu:e,...r}){const t=de();return l.useEffect(()=>{e()},[t]),o.jsx(G,{...r})}function Qe(e,r){return e.map(t=>{var a;return(a=t.children)!=null&&a.length?{...t,label:t.title,children:Qe(t.children,r)}:{...t,label:o.jsx(Ue,{to:t.url,external:t.external,children:t.title}),active:t.external?t.active:!!ho({path:t.url,end:!1},r.pathname)}})}function J({children:e,title:r,headerProps:t,links:a=[],fullWidth:s,dense:c,footerProps:d,...i}){const p=oe(),{inFullPage:u,showToggleButton:x,headerVisible:m,footerVisible:j,sidebarVisible:y,toggleFullPage:z}=nr(),g=de(),b=l.useMemo(()=>Qe(a,g),[g,a]),N=b.some(k=>{var $;return!!(($=k.children)!=null&&$.length)}),w=c==="auto"?b.length>=8||N:c,R=T("dashboard",{"dashboard-dense":w},i.className),I={homeLink:k=>{var $;return o.jsx(Ue,{to:(($=window.blocklet)==null?void 0:$.prefix)||"/",children:k})},...t};return o.jsxs(ar,{...i,className:R,children:[o.jsx(Te,{title:r},r),m&&o.jsx(sr,{...I,className:"dashboard-header",children:a!=null&&a.length?({isMobile:k,closeMenu:$})=>k?o.jsx(tr,{mode:"inline",items:b,closeMenu:$,bgColor:"transparent",activeTextColor:p.palette.primary.main}):null:null}),o.jsxs(C,{display:"flex",className:"dashboard-body",children:[o.jsx(Be,{mdDown:!0,children:!!(a!=null&&a.length)&&y&&o.jsx(C,{className:"dashboard-sidebar",children:w?o.jsx(Z,{links:a,dense:w}):o.jsx(C,{className:"dashboard-sidebar-container",children:o.jsx(Z,{links:a,dense:w})})})}),o.jsxs(C,{className:"dashboard-main",children:[x&&o.jsx(C,{sx:{position:"absolute",top:4,right:4,display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24,color:"#fff",bgcolor:"rgba(158,158,158, 0.6);",borderRadius:1,cursor:"pointer"},onClick:z,children:u?o.jsx(_e,{style:{fontSize:18}}):o.jsx(Ie,{style:{fontSize:18}})}),o.jsx(S,{className:"dashboard-content",...s&&{maxWidth:!1},children:e}),j&&o.jsx(H,{...d})]})]})]})}J.propTypes={children:n.any.isRequired,title:n.string,links:n.array.isRequired,headerProps:n.object,fullWidth:n.bool,sidebarWidth:n.number,dense:n.oneOf([!0,!1,"auto"])};J.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const ar=v("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
658
+ `;function tr({closeMenu:e,...r}){const t=de();return l.useEffect(()=>{e()},[t]),o.jsx(G,{...r})}function Xe(e,r){return e.map(t=>{var a;return(a=t.children)!=null&&a.length?{...t,label:t.title,children:Xe(t.children,r)}:{...t,label:o.jsx(Ye,{to:t.url,external:t.external,children:t.title}),active:t.external?t.active:!!ho({path:t.url,end:!1},r.pathname)}})}function Q({children:e,title:r,headerProps:t,links:a=[],fullWidth:s,dense:c,footerProps:d,...i}){const p=oe(),{inFullPage:u,showToggleButton:x,headerVisible:m,footerVisible:j,sidebarVisible:y,toggleFullPage:z}=Bo(),g=de(),b=l.useMemo(()=>Xe(a,g),[g,a]),N=b.some(k=>{var $;return!!(($=k.children)!=null&&$.length)}),w=c==="auto"?b.length>=8||N:c,R=T("dashboard",{"dashboard-dense":w},i.className),I={homeLink:k=>{var $;return o.jsx(Ye,{to:(($=window.blocklet)==null?void 0:$.prefix)||"/",children:k})},...t};return o.jsxs(ar,{...i,className:R,children:[o.jsx(Te,{title:r},r),m&&o.jsx(sr,{...I,className:"dashboard-header",children:a!=null&&a.length?({isMobile:k,closeMenu:$})=>k?o.jsx(tr,{mode:"inline",items:b,closeMenu:$,bgColor:"transparent",activeTextColor:p.palette.primary.main}):null:null}),o.jsxs(C,{display:"flex",className:"dashboard-body",children:[o.jsx(Be,{mdDown:!0,children:!!(a!=null&&a.length)&&y&&o.jsx(C,{className:"dashboard-sidebar",children:w?o.jsx(K,{links:a,dense:w}):o.jsx(C,{className:"dashboard-sidebar-container",children:o.jsx(K,{links:a,dense:w})})})}),o.jsxs(C,{className:"dashboard-main",children:[x&&o.jsx(C,{sx:{position:"absolute",top:4,right:4,display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24,color:"#fff",bgcolor:"rgba(158,158,158, 0.6);",borderRadius:1,cursor:"pointer"},onClick:z,children:u?o.jsx(We,{style:{fontSize:18}}):o.jsx(Fe,{style:{fontSize:18}})}),o.jsx(S,{className:"dashboard-content",...s&&{maxWidth:!1},children:e}),j&&o.jsx(O,{...d})]})]})]})}Q.propTypes={children:n.any.isRequired,title:n.string,links:n.array.isRequired,headerProps:n.object,fullWidth:n.bool,sidebarWidth:n.number,dense:n.oneOf([!0,!1,"auto"])};Q.defaultProps={title:"Home",headerProps:{},fullWidth:!1,sidebarWidth:120,dense:"auto"};const ar=v("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
659
659
  &.dashboard {
660
660
  display: flex;
661
661
  flex-direction: column;
@@ -714,4 +714,4 @@ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as
714
714
  .header-container {
715
715
  max-width: 100%;
716
716
  }
717
- `;function Xe({legacy:e,...r}){return e?o.jsx(fe,{...r}):o.jsx(Je,{children:o.jsx(J,{...r})})}Xe.propTypes={...J.propTypes,legacy:n.bool,footerProps:n.shape(H.propTypes)};Xe.defaultProps={...J.defaultProps,legacy:!0};export{Xe as D,G as N,ge as R,nr as u};
717
+ `;function Je({legacy:e,...r}){return e?o.jsx(fe,{...r}):o.jsx(_e,{children:o.jsx(Q,{...r})})}Je.propTypes={...Q.propTypes,legacy:n.bool,footerProps:n.shape(O.propTypes)};Je.defaultProps={...Q.defaultProps,legacy:!0};export{Je as D,G as N,ge as R,Bo as u};
@@ -1 +1 @@
1
- import{aU as j,cc as O}from"./index-Q73bL4kQ.js";function J(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var g=l.pop(),b=l.join("."),c=this._dsf._obs,f=c[b]||{},n=f[g];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[b]||{},n=f[g],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const N=j(h),k=J({__proto__:null,default:N},[h]);export{k as i};
1
+ import{aU as j,ca as O}from"./index-uX1Y3cB6.js";function J(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var g=l.pop(),b=l.join("."),c=this._dsf._obs,f=c[b]||{},n=f[g];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[b]||{},n=f[g],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const N=j(h),k=J({__proto__:null,default:N},[h]);export{k as i};
@@ -1,4 +1,4 @@
1
- import{P as o,j as n,d9 as z,da as Z,db as U,bU as b,G as q,u as B,r as $,dc as _,aH as C,bp as ee,B as w,Y as W}from"./index-Q73bL4kQ.js";import{E as D}from"./fallback-WLwa7Jex.js";import{R as oe,N as ne}from"./index-Scf2aR55.js";import{i as te,a as re,B as G,S as ie,u as ae,f as Y,g as R,p as se,m as K,b as le,c as pe,H as de}from"./index-fhGcwyej.js";import{d as ce}from"./ExpandMore-OfaPyHFu.js";import{A}from"./Avatar-cxKY3Rtk.js";function N({icon:e,size:t,sx:r,...a}){const i=[...Array.isArray(r)?r:[r]];if(t&&i.push({width:t,height:t}),a.variant||i.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),te(e))return n.jsx(A,{as:"span",...a,src:e,sx:i});if(re(e)){const u=t?.6*t+4:0;return n.jsx(A,{as:"span",...a,sx:i,children:n.jsx("iconify-icon",{icon:e,height:u||void 0})})}return e&&typeof e=="string"?(i.push({"&.MuiAvatar-root":{display:"inline-flex",...t&&{fontSize:t-2}}}),n.jsx(A,{as:"span",...a,sx:i,children:Array.from(e)[0]})):null}N.propTypes={icon:o.string.isRequired,size:o.number,sx:o.oneOfType([o.array,o.func,o.object])};N.defaultProps={size:null,sx:null};const ue=z();function S({theme:e,children:t}){const r=e?z(e):ue;return n.jsx(Z,{theme:r,children:t})}S.propTypes={children:o.any.isRequired,theme:o.object};S.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,c;const p=s.icon?n.jsx(N,{icon:s.icon}):null;if(s.items)return{id:`${t++}`,label:s.title,icon:p,children:s.items};let l={};return((d=s.link)!=null&&d.startsWith("http://")||(c=s.link)!=null&&c.startsWith("https://"))&&(l={target:"_blank",rel:"noreferrer"}),{id:`${t++}`,label:n.jsx("a",{href:s.link,...l,children:s.title}),icon:p,link:s.link}},"items"),i=le(a),u=pe(i.map(s=>s.link));return{navItems:a,activeId:u>=0?i[u].id:null}};function P({meta:e,addons:t,sessionManagerProps:r,homeLink:a,theme:i,hideNavMenu:u,...s}){var h,M;ae();const{locale:p}=B()||{},l=$.useMemo(()=>{const j=Object.assign({},window.blocklet,e);try{return Y(j)}catch(X){return console.error("Failed to format blocklet info",X,j),j}},[e]);if(!l.appName)return null;const{appLogo:d,appLogoRect:c,theme:m}=l,f=R((h=l==null?void 0:l.navigation)==null?void 0:h.header,p),y=fe(f),{navItems:g,activeId:k}=y,v=typeof t=="function"?j=>t(j,{navigation:y}):t,x=n.jsx(de,{formattedBlocklet:l,addons:v,sessionManagerProps:r});return n.jsx(S,{theme:i,children:n.jsx(he,{homeLink:a,logo:n.jsx("img",{src:c||d,alt:"logo"}),addons:x,..._(s,["bordered"]),$bordered:s==null?void 0:s.bordered,$bgcolor:(M=m==null?void 0:m.background)==null?void 0:M.header,children:u||!(g!=null&&g.length)?null:({isMobile:j})=>n.jsx(ne,{mode:j?"inline":"horizontal",activeId:k,items:g,className:"header-nav",bgColor:"transparent",textColor:"#777"})})})}P.propTypes={meta:G,addons:o.oneOfType([o.func,o.node]),sessionManagerProps:ie,homeLink:o.string,theme:o.object,hideNavMenu:o.bool};P.defaultProps={meta:{},addons:null,sessionManagerProps:{showRole:!0},homeLink:se,theme:null,hideNavMenu:!1};const he=b(oe)`
1
+ import{P as o,j as n,d7 as z,d8 as Z,d9 as U,bS as b,G as q,u as B,r as $,da as _,aH as C,bn as ee,B as w,Y as W}from"./index-uX1Y3cB6.js";import{E as D}from"./fallback-Eayu19Kp.js";import{R as oe,N as ne}from"./index-_a5LvPR1.js";import{i as te,a as re,B as G,S as ie,u as ae,f as Y,g as R,p as se,m as K,b as le,c as pe,H as de}from"./index-uyclj_A0.js";import{d as ce}from"./ExpandMore-svMob0Kw.js";import{A}from"./Avatar-GOdToP4j.js";function N({icon:e,size:t,sx:r,...a}){const i=[...Array.isArray(r)?r:[r]];if(t&&i.push({width:t,height:t}),a.variant||i.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),te(e))return n.jsx(A,{as:"span",...a,src:e,sx:i});if(re(e)){const u=t?.6*t+4:0;return n.jsx(A,{as:"span",...a,sx:i,children:n.jsx("iconify-icon",{icon:e,height:u||void 0})})}return e&&typeof e=="string"?(i.push({"&.MuiAvatar-root":{display:"inline-flex",...t&&{fontSize:t-2}}}),n.jsx(A,{as:"span",...a,sx:i,children:Array.from(e)[0]})):null}N.propTypes={icon:o.string.isRequired,size:o.number,sx:o.oneOfType([o.array,o.func,o.object])};N.defaultProps={size:null,sx:null};const ue=z();function I({theme:e,children:t}){const r=e?z(e):ue;return n.jsx(Z,{theme:r,children:t})}I.propTypes={children:o.any.isRequired,theme:o.object};I.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,c;const p=s.icon?n.jsx(N,{icon:s.icon}):null;if(s.items)return{id:`${t++}`,label:s.title,icon:p,children:s.items};let l={};return((d=s.link)!=null&&d.startsWith("http://")||(c=s.link)!=null&&c.startsWith("https://"))&&(l={target:"_blank",rel:"noreferrer"}),{id:`${t++}`,label:n.jsx("a",{href:s.link,...l,children:s.title}),icon:p,link:s.link}},"items"),i=le(a),u=pe(i.map(s=>s.link));return{navItems:a,activeId:u>=0?i[u].id:null}};function P({meta:e,addons:t,sessionManagerProps:r,homeLink:a,theme:i,hideNavMenu:u,...s}){var h,M;ae();const{locale:p}=B()||{},l=$.useMemo(()=>{const j=Object.assign({},window.blocklet,e);try{return Y(j)}catch(X){return console.error("Failed to format blocklet info",X,j),j}},[e]);if(!l.appName)return null;const{appLogo:d,appLogoRect:c,theme:m}=l,f=R((h=l==null?void 0:l.navigation)==null?void 0:h.header,p),y=fe(f),{navItems:g,activeId:k}=y,v=typeof t=="function"?j=>t(j,{navigation:y}):t,x=n.jsx(de,{formattedBlocklet:l,addons:v,sessionManagerProps:r});return n.jsx(I,{theme:i,children:n.jsx(he,{homeLink:a,logo:n.jsx("img",{src:c||d,alt:"logo"}),addons:x,..._(s,["bordered"]),$bordered:s==null?void 0:s.bordered,$bgcolor:(M=m==null?void 0:m.background)==null?void 0:M.header,children:u||!(g!=null&&g.length)?null:({isMobile:j})=>n.jsx(ne,{mode:j?"inline":"horizontal",activeId:k,items:g,className:"header-nav",bgColor:"transparent",textColor:"#777"})})})}P.propTypes={meta:G,addons:o.oneOfType([o.func,o.node]),sessionManagerProps:ie,homeLink:o.string,theme:o.object,hideNavMenu:o.bool};P.defaultProps={meta:{},addons:null,sessionManagerProps:{showRole:!0},homeLink:se,theme:null,hideNavMenu:!1};const he=b(oe)`
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';
@@ -76,7 +76,7 @@ import{P as o,j as n,d9 as z,da as Z,db as U,bU as b,G as q,u as B,r as $,dc as
76
76
  }
77
77
  }
78
78
  }
79
- `;function I({links:e,flowLayout:t,...r}){const[a,i]=$.useState(-1);if(!(e!=null&&e.length))return null;const u=e.some(p=>{var l;return(l=p.items)==null?void 0:l.length}),s=({label:p,link:l,icon:d,render:c,props:m})=>{let f=p;return c?f=c({label:p,link:l,props:m}):l&&(f=n.jsx("a",{href:l,"aria-label":`Footer link for ${p}`,...m,children:p})),n.jsxs(n.Fragment,{children:[d&&n.jsx(N,{icon:d,size:20,sx:{mr:.5}}),f]})};return n.jsx(ge,{...r,className:C(r.className,{"footer-links--grouped":u,"footer-links--flow":t}),children:n.jsxs("div",{className:"footer-links-inner",children:[t&&e.map((p,l)=>n.jsx("span",{className:"footer-links-item",children:s(p)},l)),!t&&e.map((p,l)=>{const{items:d}=p,c=l===a;return n.jsxs("div",{className:C("footer-links-group",{"footer-links-group--active":c}),onClick:()=>i(a===l?-1:l),children:[n.jsxs("span",{className:"footer-links-item",children:[s(p),!!(d!=null&&d.length)&&n.jsx("span",{className:"footer-links-group-expand-icon",children:n.jsx(ce,{style:{transform:`rotate(${c?180:0}deg)`}})})]}),!!(d!=null&&d.length)&&n.jsx("div",{className:"footer-links-sub",children:d.map((m,f)=>n.jsx("span",{className:"footer-links-item",children:s(m)},f))})]},l)})]})})}I.propTypes={links:o.arrayOf(o.shape({label:o.string,link:o.string,render:o.func,props:o.object})),flowLayout:o.bool};I.defaultProps={links:[],flowLayout:!1};const ge=b("div")`
79
+ `;function S({links:e,flowLayout:t,...r}){const[a,i]=$.useState(-1);if(!(e!=null&&e.length))return null;const u=e.some(p=>{var l;return(l=p.items)==null?void 0:l.length}),s=({label:p,link:l,icon:d,render:c,props:m})=>{let f=p;return c?f=c({label:p,link:l,props:m}):l&&(f=n.jsx("a",{href:l,"aria-label":`Footer link for ${p}`,...m,children:p})),n.jsxs(n.Fragment,{children:[d&&n.jsx(N,{icon:d,size:20,sx:{mr:.5}}),f]})};return n.jsx(ge,{...r,className:C(r.className,{"footer-links--grouped":u,"footer-links--flow":t}),children:n.jsxs("div",{className:"footer-links-inner",children:[t&&e.map((p,l)=>n.jsx("span",{className:"footer-links-item",children:s(p)},l)),!t&&e.map((p,l)=>{const{items:d}=p,c=l===a;return n.jsxs("div",{className:C("footer-links-group",{"footer-links-group--active":c}),onClick:()=>i(a===l?-1:l),children:[n.jsxs("span",{className:"footer-links-item",children:[s(p),!!(d!=null&&d.length)&&n.jsx("span",{className:"footer-links-group-expand-icon",children:n.jsx(ce,{style:{transform:`rotate(${c?180:0}deg)`}})})]}),!!(d!=null&&d.length)&&n.jsx("div",{className:"footer-links-sub",children:d.map((m,f)=>n.jsx("span",{className:"footer-links-item",children:s(m)},f))})]},l)})]})})}S.propTypes={links:o.arrayOf(o.shape({label:o.string,link:o.string,render:o.func,props:o.object})),flowLayout:o.bool};S.defaultProps={links:[],flowLayout:!1};const ge=b("div")`
80
80
  overflow: hidden;
81
81
  color: ${e=>e.theme.palette.grey[600]};
82
82
  .footer-links-inner {
@@ -259,7 +259,7 @@ import{P as o,j as n,d9 as z,da as Z,db as U,bU as b,G as q,u as B,r as $,dc as
259
259
  flex-wrap: wrap;
260
260
  gap: 8px;
261
261
  }
262
- `,Q=[{name:"plain",support:(e,t)=>{var r,a;return!((r=t.navigation)!=null&&r.length)&&!((a=t.socialMedia)!=null&&a.length)},component:J},{name:"standard",support:()=>!0,component:V}],je=Q.reduce((e,t)=>({...e,[t.name]:t}),{});function H(e){var k,v;const{brand:t,navigation:r,socialMedia:a,copyright:i,links:u,layout:s,...p}=e,l=()=>t?n.jsx(F,{...t}):null,d=()=>r!=null&&r.length?n.jsx(I,{links:r}):null,c=()=>a!=null&&a.length?n.jsx(L,{items:a}):null,m=()=>{const x=(i==null?void 0:i.owner)||(t==null?void 0:t.name);return x?n.jsx(E,{owner:x,year:(i==null?void 0:i.year)||void 0}):null},f=()=>u!=null&&u.length?n.jsx(I,{flowLayout:!0,links:u}):null,y={brand:l(),navigation:d(),socialMedia:c(),copyright:m(),links:f()};let g=null;if(s==="auto"?g=Q.find(x=>x.support(y,e)).component:g=(k=je[s])==null?void 0:k.component,!g)throw new Error(`layout ${s} is not supported.`);return n.jsxs(w,{position:"relative",...p,children:[n.jsx(g,{elements:y,data:e}),n.jsx(w,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(v=window==null?void 0:window.blocklet)==null?void 0:v.version})]})}H.propTypes={brand:o.shape({name:o.node,description:o.string,logo:o.node}),navigation:o.arrayOf(o.shape({label:o.node,link:o.string})),socialMedia:o.arrayOf(o.shape({icon:o.node,link:o.string})),copyright:o.shape({owner:o.string,year:o.oneOfType([o.string,o.number])}),links:o.arrayOf(o.shape({label:o.node,link:o.string})),layout:o.oneOf(["auto","standard","plain"])};H.defaultProps={brand:null,navigation:null,copyright:null,socialMedia:null,links:null,layout:"auto"};function O({meta:e,theme:t,...r}){var g,k,v,x;const{locale:a}=B()||{},i=$.useMemo(()=>{const h=Object.assign({},window.blocklet,e);try{return Y(h)}catch(M){return console.error("Failed to format blocklet info",M,h),h}},[e]);if(!i.appName)return null;const{appLogo:u,appLogoRect:s,appName:p,appDescription:l,description:d,theme:c,copyright:m}=i,f={footerNav:R((g=i==null?void 0:i.navigation)==null?void 0:g.footer,a)||[],socialMedia:R((k=i==null?void 0:i.navigation)==null?void 0:k.social,a)||[],links:R((v=i==null?void 0:i.navigation)==null?void 0:v.bottom,a)||[]},y={brand:{name:p,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 n.jsx(S,{theme:t,children:n.jsx(we,{...y,..._(r,["bordered"]),$bordered:r==null?void 0:r.bordered,$bgcolor:(x=c==null?void 0:c.background)==null?void 0:x.footer})})}O.propTypes={meta:G,theme:o.object};O.defaultProps={meta:{},theme:null};const we=b(H)`
262
+ `,Q=[{name:"plain",support:(e,t)=>{var r,a;return!((r=t.navigation)!=null&&r.length)&&!((a=t.socialMedia)!=null&&a.length)},component:J},{name:"standard",support:()=>!0,component:V}],je=Q.reduce((e,t)=>({...e,[t.name]:t}),{});function H(e){var k,v;const{brand:t,navigation:r,socialMedia:a,copyright:i,links:u,layout:s,...p}=e,l=()=>t?n.jsx(F,{...t}):null,d=()=>r!=null&&r.length?n.jsx(S,{links:r}):null,c=()=>a!=null&&a.length?n.jsx(L,{items:a}):null,m=()=>{const x=(i==null?void 0:i.owner)||(t==null?void 0:t.name);return x?n.jsx(E,{owner:x,year:(i==null?void 0:i.year)||void 0}):null},f=()=>u!=null&&u.length?n.jsx(S,{flowLayout:!0,links:u}):null,y={brand:l(),navigation:d(),socialMedia:c(),copyright:m(),links:f()};let g=null;if(s==="auto"?g=Q.find(x=>x.support(y,e)).component:g=(k=je[s])==null?void 0:k.component,!g)throw new Error(`layout ${s} is not supported.`);return n.jsxs(w,{position:"relative",...p,children:[n.jsx(g,{elements:y,data:e}),n.jsx(w,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(v=window==null?void 0:window.blocklet)==null?void 0:v.version})]})}H.propTypes={brand:o.shape({name:o.node,description:o.string,logo:o.node}),navigation:o.arrayOf(o.shape({label:o.node,link:o.string})),socialMedia:o.arrayOf(o.shape({icon:o.node,link:o.string})),copyright:o.shape({owner:o.string,year:o.oneOfType([o.string,o.number])}),links:o.arrayOf(o.shape({label:o.node,link:o.string})),layout:o.oneOf(["auto","standard","plain"])};H.defaultProps={brand:null,navigation:null,copyright:null,socialMedia:null,links:null,layout:"auto"};function O({meta:e,theme:t,...r}){var g,k,v,x;const{locale:a}=B()||{},i=$.useMemo(()=>{const h=Object.assign({},window.blocklet,e);try{return Y(h)}catch(M){return console.error("Failed to format blocklet info",M,h),h}},[e]);if(!i.appName)return null;const{appLogo:u,appLogoRect:s,appName:p,appDescription:l,description:d,theme:c,copyright:m}=i,f={footerNav:R((g=i==null?void 0:i.navigation)==null?void 0:g.footer,a)||[],socialMedia:R((k=i==null?void 0:i.navigation)==null?void 0:k.social,a)||[],links:R((v=i==null?void 0:i.navigation)==null?void 0:v.bottom,a)||[]},y={brand:{name:p,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 n.jsx(I,{theme:t,children:n.jsx(we,{...y,..._(r,["bordered"]),$bordered:r==null?void 0:r.bordered,$bgcolor:(x=c==null?void 0:c.background)==null?void 0:x.footer})})}O.propTypes={meta:G,theme:o.object};O.defaultProps={meta:{},theme:null};const we=b(H)`
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};`}
@@ -1,10 +1,10 @@
1
- import{r,b4 as d,j as e,b as p,ae as M,bt as I,c7 as z,P as o,bE as E,bU as m,bs as O}from"./index-Q73bL4kQ.js";import{d as S}from"./ExpandMore-OfaPyHFu.js";import{B as v}from"./ButtonGroup-d9hIu1lo.js";function u(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...g}=s,[j,c]=r.useState(!1),t=r.useRef(null),b=Array.isArray(a)?a.map((n,P)=>r.isValidElement(n)?n:r.createElement(d,{...n,key:P})):a,k=()=>{c(n=>!n)},B=n=>{t.current&&t.current.contains(n.target)||c(!1)},C=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(A,{variant:h,size:f,color:i,ref:t,...g,children:[typeof l=="function"?l():e.jsx(p,{onClick:x,color:i,children:l}),e.jsx(p,{onClick:k,color:i,...y,"aria-label":"more functions",children:e.jsx(S,{})})]}),e.jsx(L,{open:j,anchorEl:t.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(M,{children:e.jsx(I,{onClickAway:B,children:e.jsx(z,{onClick:C,children:b})})})})]})}u.propTypes={size:o.oneOf(["small","medium","large"]),color:o.oneOf(["primary","secondary","inherit"]),menu:o.oneOfType([o.node,o.array]),children:o.node,variant:o.oneOf(["outlined","contained"]),onClick:o.func,menuButtonProps:o.object};u.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:E,menuButtonProps:{}};u.Item=d;const A=m(v)`
1
+ import{r,b3 as d,j as e,b as p,ae as M,br as I,c5 as z,P as o,bC as S,bS as m,bq as E}from"./index-uX1Y3cB6.js";import{d as O}from"./ExpandMore-svMob0Kw.js";import{B as v}from"./ButtonGroup-aIe1r9So.js";function u(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...g}=s,[j,c]=r.useState(!1),t=r.useRef(null),b=Array.isArray(a)?a.map((n,P)=>r.isValidElement(n)?n:r.createElement(d,{...n,key:P})):a,C=()=>{c(n=>!n)},k=n=>{t.current&&t.current.contains(n.target)||c(!1)},B=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(A,{variant:h,size:f,color:i,ref:t,...g,children:[typeof l=="function"?l():e.jsx(p,{onClick:x,color:i,children:l}),e.jsx(p,{onClick:C,color:i,...y,"aria-label":"more functions",children:e.jsx(O,{})})]}),e.jsx(L,{open:j,anchorEl:t.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(M,{children:e.jsx(I,{onClickAway:k,children:e.jsx(z,{onClick:B,children:b})})})})]})}u.propTypes={size:o.oneOf(["small","medium","large"]),color:o.oneOf(["primary","secondary","inherit"]),menu:o.oneOfType([o.node,o.array]),children:o.node,variant:o.oneOf(["outlined","contained"]),onClick:o.func,menuButtonProps:o.object};u.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:S,menuButtonProps:{}};u.Item=d;const A=m(v)`
2
2
  > .MuiButtonBase-root:last-of-type {
3
3
  min-width: 2em;
4
4
  padding-left: 0;
5
5
  padding-right: 0;
6
6
  }
7
- `,L=m(O)`
7
+ `,L=m(E)`
8
8
  z-index: ${s=>s.theme.zIndex.tooltip};
9
9
  .MuiList-root {
10
10
  padding: 4px 0;