@cgi-learning-hub/ui 1.3.5 → 1.4.0

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 (297) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/CardContent-u1MKaFvP.js +226 -0
  11. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/Chip-6-zATjcr.js +521 -0
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
  18. package/dist/CloseRounded-DTpqUeWr.js +8 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
  22. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
  23. package/dist/Dialog-CgBiKk8B.js +477 -0
  24. package/dist/Dialog-Cmv58WoN.cjs +1 -0
  25. package/dist/DialogContent-CGEdCDYk.cjs +1 -0
  26. package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
  36. package/dist/IconButton-Edo5JMfQ.cjs +2 -0
  37. package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
  43. package/dist/Menu-C-R0FVOB.cjs +7 -0
  44. package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
  48. package/dist/Modal-D8lS9C1l.cjs +2 -0
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
  51. package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/Radio-BxMxeQa-.js +567 -0
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/RadioGroup-BLrD8_Lp.js +190 -0
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/Switch-BOpqo-TS.js +329 -0
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
  67. package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
  78. package/dist/Typography-DEAE8-8u.cjs +1 -0
  79. package/dist/components/Alert/Alert.es.js +13 -4
  80. package/dist/components/Button/Button.cjs.js +1 -1
  81. package/dist/components/Button/Button.d.ts +1 -2
  82. package/dist/components/Button/Button.es.js +12 -325
  83. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  84. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  85. package/dist/components/DatePicker/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/index.es.js +1 -1
  87. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  88. package/dist/components/Dialog/Dialog.es.js +12 -14
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  91. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  94. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  95. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  96. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  97. package/dist/components/FileList/FileIcon.d.ts +3 -0
  98. package/dist/components/FileList/FileIcon.es.js +56 -0
  99. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  100. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  101. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  102. package/dist/components/FileList/FileList.cjs.js +1 -1
  103. package/dist/components/FileList/FileList.d.ts +5 -3
  104. package/dist/components/FileList/FileList.es.js +22 -15
  105. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  106. package/dist/components/FileList/FileListItem.d.ts +9 -5
  107. package/dist/components/FileList/FileListItem.es.js +117 -24
  108. package/dist/components/FileList/utils.cjs.js +1 -0
  109. package/dist/components/FileList/utils.d.ts +2 -0
  110. package/dist/components/FileList/utils.es.js +13 -0
  111. package/dist/components/Heading/Heading.cjs.js +1 -1
  112. package/dist/components/Heading/Heading.es.js +2 -2
  113. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  114. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  115. package/dist/components/Loader/Loader.cjs.js +1 -1
  116. package/dist/components/Loader/Loader.d.ts +1 -2
  117. package/dist/components/Loader/Loader.es.js +1 -1
  118. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  119. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  121. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  122. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  123. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  124. package/dist/components/QueryError/QueryError.d.ts +2 -2
  125. package/dist/components/QueryError/QueryError.es.js +14 -14
  126. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  127. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  128. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  129. package/dist/components/ResourceCard/index.cjs.js +1 -0
  130. package/dist/components/ResourceCard/index.d.ts +2 -0
  131. package/dist/components/ResourceCard/index.es.js +4 -0
  132. package/dist/components/ResourceCard/style.cjs.js +1 -0
  133. package/dist/components/ResourceCard/style.es.js +125 -0
  134. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  135. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  136. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  137. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  138. package/dist/components/TextInput/TextInput.es.js +1 -1
  139. package/dist/components/index.cjs.js +1 -1
  140. package/dist/components/index.d.ts +35 -0
  141. package/dist/components/index.es.js +348 -294
  142. package/dist/components/stories/Button.stories.cjs.js +1 -1
  143. package/dist/components/stories/Button.stories.es.js +1 -1
  144. package/dist/components/stories/Card.stories.cjs.js +1 -1
  145. package/dist/components/stories/Card.stories.es.js +17 -168
  146. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  147. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  148. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  149. package/dist/components/stories/Chip.stories.d.ts +10 -0
  150. package/dist/components/stories/Chip.stories.es.js +77 -0
  151. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  152. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  153. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  154. package/dist/components/stories/Dialog.stories.es.js +2 -2
  155. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  156. package/dist/components/stories/Divider.stories.es.js +5 -5
  157. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  158. package/dist/components/stories/FileList.stories.es.js +144 -20
  159. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  160. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  161. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  162. package/dist/components/stories/Heading.stories.es.js +2 -2
  163. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  164. package/dist/components/stories/IconButton.stories.es.js +2 -2
  165. package/dist/components/stories/Link.stories.cjs.js +1 -1
  166. package/dist/components/stories/Link.stories.es.js +1 -1
  167. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  168. package/dist/components/stories/Menu.stories.es.js +16 -16
  169. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  170. package/dist/components/stories/Paper.stories.es.js +1 -1
  171. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  172. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  173. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  174. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  175. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  176. package/dist/components/stories/Select.stories.cjs.js +1 -1
  177. package/dist/components/stories/Select.stories.es.js +3 -3
  178. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  179. package/dist/components/stories/TabList.stories.es.js +14 -14
  180. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  181. package/dist/components/stories/TextField.stories.es.js +3 -3
  182. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  183. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  184. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  185. package/dist/components/stories/Typography.stories.es.js +1 -1
  186. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
  187. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  188. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
  189. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  190. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  191. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  192. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  193. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
  194. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  195. package/dist/hooks/lazySvgImport.d.ts +1 -1
  196. package/dist/identifier-5n4d7br9.cjs +75 -0
  197. package/dist/identifier-D58rA1gM.js +3267 -0
  198. package/dist/index-5BAFzrXD.cjs +1 -0
  199. package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
  200. package/dist/index-CFm-oAsb.cjs +1 -0
  201. package/dist/index-CJW5gB6d.cjs +5 -0
  202. package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
  203. package/dist/index-DwHI-aa0.js +45 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  207. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
  208. package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
  209. package/dist/refType-CjW6JOBA.cjs +1 -0
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
  211. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CZNcsPv1.js +48 -0
  215. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  216. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  217. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  218. package/dist/useTheme-Clhsq4HW.js +11 -0
  219. package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
  220. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
  221. package/dist/useThemeProps-C6qniHmV.js +17 -0
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  223. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  224. package/dist/utils-D4if93Yl.cjs +1 -0
  225. package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
  226. package/package.json +9 -9
  227. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  228. package/dist/Box-mP2Th61z.cjs +0 -1
  229. package/dist/Button-BH9MUvmz.cjs +0 -1
  230. package/dist/Button-BnNYfQ3E.js +0 -484
  231. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  232. package/dist/Card-AJG0TUOx.js +0 -74
  233. package/dist/Card-NqCXQteq.cjs +0 -1
  234. package/dist/Checkbox-DYrDbdy1.cjs +0 -1
  235. package/dist/CircularProgress-BByrCLjv.cjs +0 -28
  236. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  237. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  238. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  239. package/dist/Delete-BkZN7Xu5.js +0 -8
  240. package/dist/Delete-D1EiKoL5.cjs +0 -1
  241. package/dist/Dialog-D_lS4J_M.js +0 -415
  242. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  243. package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
  244. package/dist/DialogTitle-BboPDaoB.cjs +0 -1
  245. package/dist/Divider-CcrM3lNn.cjs +0 -1
  246. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  247. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  248. package/dist/FormGroup-CbczEc6e.js +0 -95
  249. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  250. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  251. package/dist/Grow-CUBJs6WD.cjs +0 -1
  252. package/dist/IconButton-CJfzspZK.cjs +0 -2
  253. package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
  254. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  255. package/dist/Link-CWczkFp0.cjs +0 -1
  256. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  257. package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
  258. package/dist/Modal-DImrEpYJ.cjs +0 -2
  259. package/dist/Paper-Cr56xkCr.cjs +0 -2
  260. package/dist/Popper-YT5WAMV-.cjs +0 -4
  261. package/dist/Portal-DF0RKOcD.cjs +0 -1
  262. package/dist/Radio-CVAEGXKi.cjs +0 -1
  263. package/dist/Radio-DGhot3Cd.js +0 -313
  264. package/dist/Select-CwAWNiiv.cjs +0 -3
  265. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  266. package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
  267. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  268. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  269. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  270. package/dist/TextField-BI9KVqjC.cjs +0 -1
  271. package/dist/Tooltip-DhDtvULK.cjs +0 -4
  272. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  273. package/dist/Typography-DfRMDngd.cjs +0 -1
  274. package/dist/capitalize-B3GG7Wn6.cjs +0 -1
  275. package/dist/capitalize-CkF8kU4n.js +0 -9
  276. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  277. package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
  278. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
  279. package/dist/extendSxProp-apyK-EBz.cjs +0 -1
  280. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  281. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  282. package/dist/index-Aa73Kpym.cjs +0 -1
  283. package/dist/index-ChM1Ett8.cjs +0 -5
  284. package/dist/index-Cw0GDedk.cjs +0 -17
  285. package/dist/index-DXD5J5Eu.js +0 -186
  286. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  287. package/dist/refType-CoaxQOPt.cjs +0 -1
  288. package/dist/useSlot-BTpHG6jf.js +0 -50
  289. package/dist/useSlot-CByalpSD.cjs +0 -1
  290. package/dist/useSlotProps-B31YQlzb.js +0 -45
  291. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  292. package/dist/useTheme-Cy5kyKJF.cjs +0 -1
  293. package/dist/useTheme-Dukx-__T.cjs +0 -1
  294. package/dist/useTheme-DyaNKf4e.js +0 -11
  295. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  296. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  297. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,3145 +0,0 @@
1
- import ut from "@emotion/styled";
2
- import "@emotion/react";
3
- import * as Ve from "react";
4
- function lt(e) {
5
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
- }
7
- var Re = { exports: {} }, Ie = { exports: {} }, M = {};
8
- /** @license React v16.13.1
9
- * react-is.production.min.js
10
- *
11
- * Copyright (c) Facebook, Inc. and its affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */
16
- var vr;
17
- function ft() {
18
- if (vr) return M;
19
- vr = 1;
20
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
21
- function w(m) {
22
- if (typeof m == "object" && m !== null) {
23
- var q = m.$$typeof;
24
- switch (q) {
25
- case r:
26
- switch (m = m.type, m) {
27
- case l:
28
- case f:
29
- case n:
30
- case a:
31
- case o:
32
- case d:
33
- return m;
34
- default:
35
- switch (m = m && m.$$typeof, m) {
36
- case c:
37
- case h:
38
- case T:
39
- case S:
40
- case s:
41
- return m;
42
- default:
43
- return q;
44
- }
45
- }
46
- case t:
47
- return q;
48
- }
49
- }
50
- }
51
- function E(m) {
52
- return w(m) === f;
53
- }
54
- return M.AsyncMode = l, M.ConcurrentMode = f, M.ContextConsumer = c, M.ContextProvider = s, M.Element = r, M.ForwardRef = h, M.Fragment = n, M.Lazy = T, M.Memo = S, M.Portal = t, M.Profiler = a, M.StrictMode = o, M.Suspense = d, M.isAsyncMode = function(m) {
55
- return E(m) || w(m) === l;
56
- }, M.isConcurrentMode = E, M.isContextConsumer = function(m) {
57
- return w(m) === c;
58
- }, M.isContextProvider = function(m) {
59
- return w(m) === s;
60
- }, M.isElement = function(m) {
61
- return typeof m == "object" && m !== null && m.$$typeof === r;
62
- }, M.isForwardRef = function(m) {
63
- return w(m) === h;
64
- }, M.isFragment = function(m) {
65
- return w(m) === n;
66
- }, M.isLazy = function(m) {
67
- return w(m) === T;
68
- }, M.isMemo = function(m) {
69
- return w(m) === S;
70
- }, M.isPortal = function(m) {
71
- return w(m) === t;
72
- }, M.isProfiler = function(m) {
73
- return w(m) === a;
74
- }, M.isStrictMode = function(m) {
75
- return w(m) === o;
76
- }, M.isSuspense = function(m) {
77
- return w(m) === d;
78
- }, M.isValidElementType = function(m) {
79
- return typeof m == "string" || typeof m == "function" || m === n || m === f || m === a || m === o || m === d || m === p || typeof m == "object" && m !== null && (m.$$typeof === T || m.$$typeof === S || m.$$typeof === s || m.$$typeof === c || m.$$typeof === h || m.$$typeof === x || m.$$typeof === $ || m.$$typeof === Y || m.$$typeof === b);
80
- }, M.typeOf = w, M;
81
- }
82
- var D = {};
83
- /** @license React v16.13.1
84
- * react-is.development.js
85
- *
86
- * Copyright (c) Facebook, Inc. and its affiliates.
87
- *
88
- * This source code is licensed under the MIT license found in the
89
- * LICENSE file in the root directory of this source tree.
90
- */
91
- var Sr;
92
- function dt() {
93
- return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() {
94
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
95
- function w(y) {
96
- return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
97
- y === n || y === f || y === a || y === o || y === d || y === p || typeof y == "object" && y !== null && (y.$$typeof === T || y.$$typeof === S || y.$$typeof === s || y.$$typeof === c || y.$$typeof === h || y.$$typeof === x || y.$$typeof === $ || y.$$typeof === Y || y.$$typeof === b);
98
- }
99
- function E(y) {
100
- if (typeof y == "object" && y !== null) {
101
- var te = y.$$typeof;
102
- switch (te) {
103
- case r:
104
- var ke = y.type;
105
- switch (ke) {
106
- case l:
107
- case f:
108
- case n:
109
- case a:
110
- case o:
111
- case d:
112
- return ke;
113
- default:
114
- var br = ke && ke.$$typeof;
115
- switch (br) {
116
- case c:
117
- case h:
118
- case T:
119
- case S:
120
- case s:
121
- return br;
122
- default:
123
- return te;
124
- }
125
- }
126
- case t:
127
- return te;
128
- }
129
- }
130
- }
131
- var m = l, q = f, J = c, oe = s, K = r, i = h, C = n, B = T, F = S, ee = t, ce = a, re = o, pe = d, Pe = !1;
132
- function er(y) {
133
- return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(y) || E(y) === l;
134
- }
135
- function g(y) {
136
- return E(y) === f;
137
- }
138
- function v(y) {
139
- return E(y) === c;
140
- }
141
- function k(y) {
142
- return E(y) === s;
143
- }
144
- function _(y) {
145
- return typeof y == "object" && y !== null && y.$$typeof === r;
146
- }
147
- function O(y) {
148
- return E(y) === h;
149
- }
150
- function R(y) {
151
- return E(y) === n;
152
- }
153
- function A(y) {
154
- return E(y) === T;
155
- }
156
- function P(y) {
157
- return E(y) === S;
158
- }
159
- function I(y) {
160
- return E(y) === t;
161
- }
162
- function N(y) {
163
- return E(y) === a;
164
- }
165
- function j(y) {
166
- return E(y) === o;
167
- }
168
- function H(y) {
169
- return E(y) === d;
170
- }
171
- D.AsyncMode = m, D.ConcurrentMode = q, D.ContextConsumer = J, D.ContextProvider = oe, D.Element = K, D.ForwardRef = i, D.Fragment = C, D.Lazy = B, D.Memo = F, D.Portal = ee, D.Profiler = ce, D.StrictMode = re, D.Suspense = pe, D.isAsyncMode = er, D.isConcurrentMode = g, D.isContextConsumer = v, D.isContextProvider = k, D.isElement = _, D.isForwardRef = O, D.isFragment = R, D.isLazy = A, D.isMemo = P, D.isPortal = I, D.isProfiler = N, D.isStrictMode = j, D.isSuspense = H, D.isValidElementType = w, D.typeOf = E;
172
- }()), D;
173
- }
174
- var Cr;
175
- function Gr() {
176
- return Cr || (Cr = 1, process.env.NODE_ENV === "production" ? Ie.exports = ft() : Ie.exports = dt()), Ie.exports;
177
- }
178
- /*
179
- object-assign
180
- (c) Sindre Sorhus
181
- @license MIT
182
- */
183
- var rr, Tr;
184
- function pt() {
185
- if (Tr) return rr;
186
- Tr = 1;
187
- var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
188
- function n(a) {
189
- if (a == null)
190
- throw new TypeError("Object.assign cannot be called with null or undefined");
191
- return Object(a);
192
- }
193
- function o() {
194
- try {
195
- if (!Object.assign)
196
- return !1;
197
- var a = new String("abc");
198
- if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
199
- return !1;
200
- for (var s = {}, c = 0; c < 10; c++)
201
- s["_" + String.fromCharCode(c)] = c;
202
- var l = Object.getOwnPropertyNames(s).map(function(h) {
203
- return s[h];
204
- });
205
- if (l.join("") !== "0123456789")
206
- return !1;
207
- var f = {};
208
- return "abcdefghijklmnopqrst".split("").forEach(function(h) {
209
- f[h] = h;
210
- }), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
211
- } catch {
212
- return !1;
213
- }
214
- }
215
- return rr = o() ? Object.assign : function(a, s) {
216
- for (var c, l = n(a), f, h = 1; h < arguments.length; h++) {
217
- c = Object(arguments[h]);
218
- for (var d in c)
219
- r.call(c, d) && (l[d] = c[d]);
220
- if (e) {
221
- f = e(c);
222
- for (var p = 0; p < f.length; p++)
223
- t.call(c, f[p]) && (l[f[p]] = c[f[p]]);
224
- }
225
- }
226
- return l;
227
- }, rr;
228
- }
229
- var tr, Er;
230
- function fr() {
231
- if (Er) return tr;
232
- Er = 1;
233
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
234
- return tr = e, tr;
235
- }
236
- var nr, wr;
237
- function Yr() {
238
- return wr || (wr = 1, nr = Function.call.bind(Object.prototype.hasOwnProperty)), nr;
239
- }
240
- var or, xr;
241
- function gt() {
242
- if (xr) return or;
243
- xr = 1;
244
- var e = function() {
245
- };
246
- if (process.env.NODE_ENV !== "production") {
247
- var r = /* @__PURE__ */ fr(), t = {}, n = /* @__PURE__ */ Yr();
248
- e = function(a) {
249
- var s = "Warning: " + a;
250
- typeof console < "u" && console.error(s);
251
- try {
252
- throw new Error(s);
253
- } catch {
254
- }
255
- };
256
- }
257
- function o(a, s, c, l, f) {
258
- if (process.env.NODE_ENV !== "production") {
259
- for (var h in a)
260
- if (n(a, h)) {
261
- var d;
262
- try {
263
- if (typeof a[h] != "function") {
264
- var p = Error(
265
- (l || "React class") + ": " + c + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
266
- );
267
- throw p.name = "Invariant Violation", p;
268
- }
269
- d = a[h](s, h, l, c, null, r);
270
- } catch (T) {
271
- d = T;
272
- }
273
- if (d && !(d instanceof Error) && e(
274
- (l || "React class") + ": type specification of " + c + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
275
- ), d instanceof Error && !(d.message in t)) {
276
- t[d.message] = !0;
277
- var S = f ? f() : "";
278
- e(
279
- "Failed " + c + " type: " + d.message + (S ?? "")
280
- );
281
- }
282
- }
283
- }
284
- }
285
- return o.resetWarningCache = function() {
286
- process.env.NODE_ENV !== "production" && (t = {});
287
- }, or = o, or;
288
- }
289
- var ir, Or;
290
- function mt() {
291
- if (Or) return ir;
292
- Or = 1;
293
- var e = Gr(), r = pt(), t = /* @__PURE__ */ fr(), n = /* @__PURE__ */ Yr(), o = /* @__PURE__ */ gt(), a = function() {
294
- };
295
- process.env.NODE_ENV !== "production" && (a = function(c) {
296
- var l = "Warning: " + c;
297
- typeof console < "u" && console.error(l);
298
- try {
299
- throw new Error(l);
300
- } catch {
301
- }
302
- });
303
- function s() {
304
- return null;
305
- }
306
- return ir = function(c, l) {
307
- var f = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
308
- function d(g) {
309
- var v = g && (f && g[f] || g[h]);
310
- if (typeof v == "function")
311
- return v;
312
- }
313
- var p = "<<anonymous>>", S = {
314
- array: $("array"),
315
- bigint: $("bigint"),
316
- bool: $("boolean"),
317
- func: $("function"),
318
- number: $("number"),
319
- object: $("object"),
320
- string: $("string"),
321
- symbol: $("symbol"),
322
- any: Y(),
323
- arrayOf: w,
324
- element: E(),
325
- elementType: m(),
326
- instanceOf: q,
327
- node: i(),
328
- objectOf: oe,
329
- oneOf: J,
330
- oneOfType: K,
331
- shape: B,
332
- exact: F
333
- };
334
- function T(g, v) {
335
- return g === v ? g !== 0 || 1 / g === 1 / v : g !== g && v !== v;
336
- }
337
- function b(g, v) {
338
- this.message = g, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
339
- }
340
- b.prototype = Error.prototype;
341
- function x(g) {
342
- if (process.env.NODE_ENV !== "production")
343
- var v = {}, k = 0;
344
- function _(R, A, P, I, N, j, H) {
345
- if (I = I || p, j = j || P, H !== t) {
346
- if (l) {
347
- var y = new Error(
348
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
349
- );
350
- throw y.name = "Invariant Violation", y;
351
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
352
- var te = I + ":" + P;
353
- !v[te] && // Avoid spamming the console because they are often not actionable except for lib authors
354
- k < 3 && (a(
355
- "You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + I + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
356
- ), v[te] = !0, k++);
357
- }
358
- }
359
- return A[P] == null ? R ? A[P] === null ? new b("The " + N + " `" + j + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new b("The " + N + " `" + j + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : g(A, P, I, N, j);
360
- }
361
- var O = _.bind(null, !1);
362
- return O.isRequired = _.bind(null, !0), O;
363
- }
364
- function $(g) {
365
- function v(k, _, O, R, A, P) {
366
- var I = k[_], N = re(I);
367
- if (N !== g) {
368
- var j = pe(I);
369
- return new b(
370
- "Invalid " + R + " `" + A + "` of type " + ("`" + j + "` supplied to `" + O + "`, expected ") + ("`" + g + "`."),
371
- { expectedType: g }
372
- );
373
- }
374
- return null;
375
- }
376
- return x(v);
377
- }
378
- function Y() {
379
- return x(s);
380
- }
381
- function w(g) {
382
- function v(k, _, O, R, A) {
383
- if (typeof g != "function")
384
- return new b("Property `" + A + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
385
- var P = k[_];
386
- if (!Array.isArray(P)) {
387
- var I = re(P);
388
- return new b("Invalid " + R + " `" + A + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected an array."));
389
- }
390
- for (var N = 0; N < P.length; N++) {
391
- var j = g(P, N, O, R, A + "[" + N + "]", t);
392
- if (j instanceof Error)
393
- return j;
394
- }
395
- return null;
396
- }
397
- return x(v);
398
- }
399
- function E() {
400
- function g(v, k, _, O, R) {
401
- var A = v[k];
402
- if (!c(A)) {
403
- var P = re(A);
404
- return new b("Invalid " + O + " `" + R + "` of type " + ("`" + P + "` supplied to `" + _ + "`, expected a single ReactElement."));
405
- }
406
- return null;
407
- }
408
- return x(g);
409
- }
410
- function m() {
411
- function g(v, k, _, O, R) {
412
- var A = v[k];
413
- if (!e.isValidElementType(A)) {
414
- var P = re(A);
415
- return new b("Invalid " + O + " `" + R + "` of type " + ("`" + P + "` supplied to `" + _ + "`, expected a single ReactElement type."));
416
- }
417
- return null;
418
- }
419
- return x(g);
420
- }
421
- function q(g) {
422
- function v(k, _, O, R, A) {
423
- if (!(k[_] instanceof g)) {
424
- var P = g.name || p, I = er(k[_]);
425
- return new b("Invalid " + R + " `" + A + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected ") + ("instance of `" + P + "`."));
426
- }
427
- return null;
428
- }
429
- return x(v);
430
- }
431
- function J(g) {
432
- if (!Array.isArray(g))
433
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
434
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
435
- ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
436
- function v(k, _, O, R, A) {
437
- for (var P = k[_], I = 0; I < g.length; I++)
438
- if (T(P, g[I]))
439
- return null;
440
- var N = JSON.stringify(g, function(H, y) {
441
- var te = pe(y);
442
- return te === "symbol" ? String(y) : y;
443
- });
444
- return new b("Invalid " + R + " `" + A + "` of value `" + String(P) + "` " + ("supplied to `" + O + "`, expected one of " + N + "."));
445
- }
446
- return x(v);
447
- }
448
- function oe(g) {
449
- function v(k, _, O, R, A) {
450
- if (typeof g != "function")
451
- return new b("Property `" + A + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
452
- var P = k[_], I = re(P);
453
- if (I !== "object")
454
- return new b("Invalid " + R + " `" + A + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected an object."));
455
- for (var N in P)
456
- if (n(P, N)) {
457
- var j = g(P, N, O, R, A + "." + N, t);
458
- if (j instanceof Error)
459
- return j;
460
- }
461
- return null;
462
- }
463
- return x(v);
464
- }
465
- function K(g) {
466
- if (!Array.isArray(g))
467
- return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
468
- for (var v = 0; v < g.length; v++) {
469
- var k = g[v];
470
- if (typeof k != "function")
471
- return a(
472
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Pe(k) + " at index " + v + "."
473
- ), s;
474
- }
475
- function _(O, R, A, P, I) {
476
- for (var N = [], j = 0; j < g.length; j++) {
477
- var H = g[j], y = H(O, R, A, P, I, t);
478
- if (y == null)
479
- return null;
480
- y.data && n(y.data, "expectedType") && N.push(y.data.expectedType);
481
- }
482
- var te = N.length > 0 ? ", expected one of type [" + N.join(", ") + "]" : "";
483
- return new b("Invalid " + P + " `" + I + "` supplied to " + ("`" + A + "`" + te + "."));
484
- }
485
- return x(_);
486
- }
487
- function i() {
488
- function g(v, k, _, O, R) {
489
- return ee(v[k]) ? null : new b("Invalid " + O + " `" + R + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
490
- }
491
- return x(g);
492
- }
493
- function C(g, v, k, _, O) {
494
- return new b(
495
- (g || "React class") + ": " + v + " type `" + k + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
496
- );
497
- }
498
- function B(g) {
499
- function v(k, _, O, R, A) {
500
- var P = k[_], I = re(P);
501
- if (I !== "object")
502
- return new b("Invalid " + R + " `" + A + "` of type `" + I + "` " + ("supplied to `" + O + "`, expected `object`."));
503
- for (var N in g) {
504
- var j = g[N];
505
- if (typeof j != "function")
506
- return C(O, R, A, N, pe(j));
507
- var H = j(P, N, O, R, A + "." + N, t);
508
- if (H)
509
- return H;
510
- }
511
- return null;
512
- }
513
- return x(v);
514
- }
515
- function F(g) {
516
- function v(k, _, O, R, A) {
517
- var P = k[_], I = re(P);
518
- if (I !== "object")
519
- return new b("Invalid " + R + " `" + A + "` of type `" + I + "` " + ("supplied to `" + O + "`, expected `object`."));
520
- var N = r({}, k[_], g);
521
- for (var j in N) {
522
- var H = g[j];
523
- if (n(g, j) && typeof H != "function")
524
- return C(O, R, A, j, pe(H));
525
- if (!H)
526
- return new b(
527
- "Invalid " + R + " `" + A + "` key `" + j + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(k[_], null, " ") + `
528
- Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
529
- );
530
- var y = H(P, j, O, R, A + "." + j, t);
531
- if (y)
532
- return y;
533
- }
534
- return null;
535
- }
536
- return x(v);
537
- }
538
- function ee(g) {
539
- switch (typeof g) {
540
- case "number":
541
- case "string":
542
- case "undefined":
543
- return !0;
544
- case "boolean":
545
- return !g;
546
- case "object":
547
- if (Array.isArray(g))
548
- return g.every(ee);
549
- if (g === null || c(g))
550
- return !0;
551
- var v = d(g);
552
- if (v) {
553
- var k = v.call(g), _;
554
- if (v !== g.entries) {
555
- for (; !(_ = k.next()).done; )
556
- if (!ee(_.value))
557
- return !1;
558
- } else
559
- for (; !(_ = k.next()).done; ) {
560
- var O = _.value;
561
- if (O && !ee(O[1]))
562
- return !1;
563
- }
564
- } else
565
- return !1;
566
- return !0;
567
- default:
568
- return !1;
569
- }
570
- }
571
- function ce(g, v) {
572
- return g === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
573
- }
574
- function re(g) {
575
- var v = typeof g;
576
- return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : ce(v, g) ? "symbol" : v;
577
- }
578
- function pe(g) {
579
- if (typeof g > "u" || g === null)
580
- return "" + g;
581
- var v = re(g);
582
- if (v === "object") {
583
- if (g instanceof Date)
584
- return "date";
585
- if (g instanceof RegExp)
586
- return "regexp";
587
- }
588
- return v;
589
- }
590
- function Pe(g) {
591
- var v = pe(g);
592
- switch (v) {
593
- case "array":
594
- case "object":
595
- return "an " + v;
596
- case "boolean":
597
- case "date":
598
- case "regexp":
599
- return "a " + v;
600
- default:
601
- return v;
602
- }
603
- }
604
- function er(g) {
605
- return !g.constructor || !g.constructor.name ? p : g.constructor.name;
606
- }
607
- return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
608
- }, ir;
609
- }
610
- var ar, $r;
611
- function ht() {
612
- if ($r) return ar;
613
- $r = 1;
614
- var e = /* @__PURE__ */ fr();
615
- function r() {
616
- }
617
- function t() {
618
- }
619
- return t.resetWarningCache = r, ar = function() {
620
- function n(s, c, l, f, h, d) {
621
- if (d !== e) {
622
- var p = new Error(
623
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
624
- );
625
- throw p.name = "Invariant Violation", p;
626
- }
627
- }
628
- n.isRequired = n;
629
- function o() {
630
- return n;
631
- }
632
- var a = {
633
- array: n,
634
- bigint: n,
635
- bool: n,
636
- func: n,
637
- number: n,
638
- object: n,
639
- string: n,
640
- symbol: n,
641
- any: n,
642
- arrayOf: o,
643
- element: n,
644
- elementType: n,
645
- instanceOf: o,
646
- node: n,
647
- objectOf: o,
648
- oneOf: o,
649
- oneOfType: o,
650
- shape: o,
651
- exact: o,
652
- checkPropTypes: t,
653
- resetWarningCache: r
654
- };
655
- return a.PropTypes = a, a;
656
- }, ar;
657
- }
658
- var Ar;
659
- function yt() {
660
- if (Ar) return Re.exports;
661
- if (Ar = 1, process.env.NODE_ENV !== "production") {
662
- var e = Gr(), r = !0;
663
- Re.exports = /* @__PURE__ */ mt()(e.isElement, r);
664
- } else
665
- Re.exports = /* @__PURE__ */ ht()();
666
- return Re.exports;
667
- }
668
- var bt = /* @__PURE__ */ yt();
669
- const Te = /* @__PURE__ */ lt(bt);
670
- function qr(e) {
671
- var r, t, n = "";
672
- if (typeof e == "string" || typeof e == "number") n += e;
673
- else if (typeof e == "object") if (Array.isArray(e)) {
674
- var o = e.length;
675
- for (r = 0; r < o; r++) e[r] && (t = qr(e[r])) && (n && (n += " "), n += t);
676
- } else for (t in e) e[t] && (n && (n += " "), n += t);
677
- return n;
678
- }
679
- function vo() {
680
- for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = qr(e)) && (n && (n += " "), n += r);
681
- return n;
682
- }
683
- function Me(e, ...r) {
684
- const t = new URL(`https://mui.com/production-error/?code=${e}`);
685
- return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
686
- }
687
- function Kr(e) {
688
- if (typeof e != "string")
689
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Me(7));
690
- return e.charAt(0).toUpperCase() + e.slice(1);
691
- }
692
- function Se(e) {
693
- if (typeof e != "object" || e === null)
694
- return !1;
695
- const r = Object.getPrototypeOf(e);
696
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
697
- }
698
- function Hr(e) {
699
- if (/* @__PURE__ */ Ve.isValidElement(e) || !Se(e))
700
- return e;
701
- const r = {};
702
- return Object.keys(e).forEach((t) => {
703
- r[t] = Hr(e[t]);
704
- }), r;
705
- }
706
- function fe(e, r, t = {
707
- clone: !0
708
- }) {
709
- const n = t.clone ? {
710
- ...e
711
- } : e;
712
- return Se(e) && Se(r) && Object.keys(r).forEach((o) => {
713
- /* @__PURE__ */ Ve.isValidElement(r[o]) ? n[o] = r[o] : Se(r[o]) && // Avoid prototype pollution
714
- Object.prototype.hasOwnProperty.call(e, o) && Se(e[o]) ? n[o] = fe(e[o], r[o], t) : t.clone ? n[o] = Se(r[o]) ? Hr(r[o]) : r[o] : n[o] = r[o];
715
- }), n;
716
- }
717
- function Oe(e, r) {
718
- return r ? fe(e, r, {
719
- clone: !1
720
- // No need to clone deep, it's way faster.
721
- }) : e;
722
- }
723
- const de = process.env.NODE_ENV !== "production" ? Te.oneOfType([Te.number, Te.string, Te.object, Te.array]) : {};
724
- function vt(e, r) {
725
- if (!e.containerQueries)
726
- return r;
727
- const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
728
- var s, c;
729
- const a = /min-width:\s*([0-9.]+)/;
730
- return +(((s = n.match(a)) == null ? void 0 : s[1]) || 0) - +(((c = o.match(a)) == null ? void 0 : c[1]) || 0);
731
- });
732
- return t.length ? t.reduce((n, o) => {
733
- const a = r[o];
734
- return delete n[o], n[o] = a, n;
735
- }, {
736
- ...r
737
- }) : r;
738
- }
739
- function St(e, r) {
740
- return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
741
- }
742
- function Ct(e, r) {
743
- const t = r.match(/^@([^/]+)?\/?(.+)?$/);
744
- if (!t) {
745
- if (process.env.NODE_ENV !== "production")
746
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
747
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Me(18, `(${r})`));
748
- return null;
749
- }
750
- const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
751
- return e.containerQueries(o).up(a);
752
- }
753
- function Tt(e) {
754
- const r = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
755
- function t(a, s) {
756
- a.up = (...c) => r(e.breakpoints.up(...c), s), a.down = (...c) => r(e.breakpoints.down(...c), s), a.between = (...c) => r(e.breakpoints.between(...c), s), a.only = (...c) => r(e.breakpoints.only(...c), s), a.not = (...c) => {
757
- const l = r(e.breakpoints.not(...c), s);
758
- return l.includes("not all and") ? l.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : l;
759
- };
760
- }
761
- const n = {}, o = (a) => (t(n, a), n);
762
- return t(o), {
763
- ...e,
764
- containerQueries: o
765
- };
766
- }
767
- const Fe = {
768
- xs: 0,
769
- // phone
770
- sm: 600,
771
- // tablet
772
- md: 900,
773
- // small laptop
774
- lg: 1200,
775
- // desktop
776
- xl: 1536
777
- // large screen
778
- }, _r = {
779
- // Sorted ASC by size. That's important.
780
- // It can't be configured as it's used statically for propTypes.
781
- keys: ["xs", "sm", "md", "lg", "xl"],
782
- up: (e) => `@media (min-width:${Fe[e]}px)`
783
- }, Et = {
784
- containerQueries: (e) => ({
785
- up: (r) => {
786
- let t = typeof r == "number" ? r : Fe[r] || r;
787
- return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
788
- }
789
- })
790
- };
791
- function ae(e, r, t) {
792
- const n = e.theme || {};
793
- if (Array.isArray(r)) {
794
- const a = n.breakpoints || _r;
795
- return r.reduce((s, c, l) => (s[a.up(a.keys[l])] = t(r[l]), s), {});
796
- }
797
- if (typeof r == "object") {
798
- const a = n.breakpoints || _r;
799
- return Object.keys(r).reduce((s, c) => {
800
- if (St(a.keys, c)) {
801
- const l = Ct(n.containerQueries ? n : Et, c);
802
- l && (s[l] = t(r[c], c));
803
- } else if (Object.keys(a.values || Fe).includes(c)) {
804
- const l = a.up(c);
805
- s[l] = t(r[c], c);
806
- } else {
807
- const l = c;
808
- s[l] = r[l];
809
- }
810
- return s;
811
- }, {});
812
- }
813
- return t(r);
814
- }
815
- function Qr(e = {}) {
816
- var t;
817
- return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
818
- const a = e.up(o);
819
- return n[a] = {}, n;
820
- }, {})) || {};
821
- }
822
- function Jr(e, r) {
823
- return e.reduce((t, n) => {
824
- const o = t[n];
825
- return (!o || Object.keys(o).length === 0) && delete t[n], t;
826
- }, r);
827
- }
828
- function So(e, ...r) {
829
- const t = Qr(e), n = [t, ...r].reduce((o, a) => fe(o, a), {});
830
- return Jr(Object.keys(t), n);
831
- }
832
- function wt(e, r) {
833
- if (typeof e != "object")
834
- return {};
835
- const t = {}, n = Object.keys(r);
836
- return Array.isArray(e) ? n.forEach((o, a) => {
837
- a < e.length && (t[o] = !0);
838
- }) : n.forEach((o) => {
839
- e[o] != null && (t[o] = !0);
840
- }), t;
841
- }
842
- function Co({
843
- values: e,
844
- breakpoints: r,
845
- base: t
846
- }) {
847
- const n = t || wt(e, r), o = Object.keys(n);
848
- if (o.length === 0)
849
- return e;
850
- let a;
851
- return o.reduce((s, c, l) => (Array.isArray(e) ? (s[c] = e[l] != null ? e[l] : e[a], a = l) : typeof e == "object" ? (s[c] = e[c] != null ? e[c] : e[a], a = c) : s[c] = e, s), {});
852
- }
853
- function Le(e, r, t = !0) {
854
- if (!r || typeof r != "string")
855
- return null;
856
- if (e && e.vars && t) {
857
- const n = `vars.${r}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
858
- if (n != null)
859
- return n;
860
- }
861
- return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
862
- }
863
- function De(e, r, t, n = t) {
864
- let o;
865
- return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = Le(e, t) || n, r && (o = r(o, n, e)), o;
866
- }
867
- function G(e) {
868
- const {
869
- prop: r,
870
- cssProperty: t = e.prop,
871
- themeKey: n,
872
- transform: o
873
- } = e, a = (s) => {
874
- if (s[r] == null)
875
- return null;
876
- const c = s[r], l = s.theme, f = Le(l, n) || {};
877
- return ae(s, c, (d) => {
878
- let p = De(f, o, d);
879
- return d === p && typeof d == "string" && (p = De(f, o, `${r}${d === "default" ? "" : Kr(d)}`, d)), t === !1 ? p : {
880
- [t]: p
881
- };
882
- });
883
- };
884
- return a.propTypes = process.env.NODE_ENV !== "production" ? {
885
- [r]: de
886
- } : {}, a.filterProps = [r], a;
887
- }
888
- function xt(e) {
889
- const r = {};
890
- return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
891
- }
892
- const Ot = {
893
- m: "margin",
894
- p: "padding"
895
- }, $t = {
896
- t: "Top",
897
- r: "Right",
898
- b: "Bottom",
899
- l: "Left",
900
- x: ["Left", "Right"],
901
- y: ["Top", "Bottom"]
902
- }, Pr = {
903
- marginX: "mx",
904
- marginY: "my",
905
- paddingX: "px",
906
- paddingY: "py"
907
- }, At = xt((e) => {
908
- if (e.length > 2)
909
- if (Pr[e])
910
- e = Pr[e];
911
- else
912
- return [e];
913
- const [r, t] = e.split(""), n = Ot[r], o = $t[t] || "";
914
- return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
915
- }), ze = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ge = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], _t = [...ze, ...Ge];
916
- function Ae(e, r, t, n) {
917
- const o = Le(e, r, !0) ?? t;
918
- return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
919
- if (typeof a == "string")
920
- return a;
921
- const s = Math.abs(a);
922
- process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
923
- `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
924
- `)));
925
- const c = o[s];
926
- return a >= 0 ? c : typeof c == "number" ? -c : `-${c}`;
927
- } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
928
- `)), () => {
929
- });
930
- }
931
- function dr(e) {
932
- return Ae(e, "spacing", 8, "spacing");
933
- }
934
- function _e(e, r) {
935
- return typeof r == "string" || r == null ? r : e(r);
936
- }
937
- function Pt(e, r) {
938
- return (t) => e.reduce((n, o) => (n[o] = _e(r, t), n), {});
939
- }
940
- function kt(e, r, t, n) {
941
- if (!r.includes(t))
942
- return null;
943
- const o = At(t), a = Pt(o, n), s = e[t];
944
- return ae(e, s, a);
945
- }
946
- function Xr(e, r) {
947
- const t = dr(e.theme);
948
- return Object.keys(e).map((n) => kt(e, r, n, t)).reduce(Oe, {});
949
- }
950
- function L(e) {
951
- return Xr(e, ze);
952
- }
953
- L.propTypes = process.env.NODE_ENV !== "production" ? ze.reduce((e, r) => (e[r] = de, e), {}) : {};
954
- L.filterProps = ze;
955
- function z(e) {
956
- return Xr(e, Ge);
957
- }
958
- z.propTypes = process.env.NODE_ENV !== "production" ? Ge.reduce((e, r) => (e[r] = de, e), {}) : {};
959
- z.filterProps = Ge;
960
- process.env.NODE_ENV !== "production" && _t.reduce((e, r) => (e[r] = de, e), {});
961
- function Ye(...e) {
962
- const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
963
- n[a] = o;
964
- }), n), {}), t = (n) => Object.keys(n).reduce((o, a) => r[a] ? Oe(o, r[a](n)) : o, {});
965
- return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
966
- }
967
- function X(e) {
968
- return typeof e != "number" ? e : `${e}px solid`;
969
- }
970
- function Z(e, r) {
971
- return G({
972
- prop: e,
973
- themeKey: "borders",
974
- transform: r
975
- });
976
- }
977
- const Rt = Z("border", X), It = Z("borderTop", X), jt = Z("borderRight", X), Bt = Z("borderBottom", X), Mt = Z("borderLeft", X), Dt = Z("borderColor"), Nt = Z("borderTopColor"), Wt = Z("borderRightColor"), Ut = Z("borderBottomColor"), Vt = Z("borderLeftColor"), Ft = Z("outline", X), Lt = Z("outlineColor"), qe = (e) => {
978
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
979
- const r = Ae(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
980
- borderRadius: _e(r, n)
981
- });
982
- return ae(e, e.borderRadius, t);
983
- }
984
- return null;
985
- };
986
- qe.propTypes = process.env.NODE_ENV !== "production" ? {
987
- borderRadius: de
988
- } : {};
989
- qe.filterProps = ["borderRadius"];
990
- Ye(Rt, It, jt, Bt, Mt, Dt, Nt, Wt, Ut, Vt, qe, Ft, Lt);
991
- const Ke = (e) => {
992
- if (e.gap !== void 0 && e.gap !== null) {
993
- const r = Ae(e.theme, "spacing", 8, "gap"), t = (n) => ({
994
- gap: _e(r, n)
995
- });
996
- return ae(e, e.gap, t);
997
- }
998
- return null;
999
- };
1000
- Ke.propTypes = process.env.NODE_ENV !== "production" ? {
1001
- gap: de
1002
- } : {};
1003
- Ke.filterProps = ["gap"];
1004
- const He = (e) => {
1005
- if (e.columnGap !== void 0 && e.columnGap !== null) {
1006
- const r = Ae(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1007
- columnGap: _e(r, n)
1008
- });
1009
- return ae(e, e.columnGap, t);
1010
- }
1011
- return null;
1012
- };
1013
- He.propTypes = process.env.NODE_ENV !== "production" ? {
1014
- columnGap: de
1015
- } : {};
1016
- He.filterProps = ["columnGap"];
1017
- const Qe = (e) => {
1018
- if (e.rowGap !== void 0 && e.rowGap !== null) {
1019
- const r = Ae(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1020
- rowGap: _e(r, n)
1021
- });
1022
- return ae(e, e.rowGap, t);
1023
- }
1024
- return null;
1025
- };
1026
- Qe.propTypes = process.env.NODE_ENV !== "production" ? {
1027
- rowGap: de
1028
- } : {};
1029
- Qe.filterProps = ["rowGap"];
1030
- const zt = G({
1031
- prop: "gridColumn"
1032
- }), Gt = G({
1033
- prop: "gridRow"
1034
- }), Yt = G({
1035
- prop: "gridAutoFlow"
1036
- }), qt = G({
1037
- prop: "gridAutoColumns"
1038
- }), Kt = G({
1039
- prop: "gridAutoRows"
1040
- }), Ht = G({
1041
- prop: "gridTemplateColumns"
1042
- }), Qt = G({
1043
- prop: "gridTemplateRows"
1044
- }), Jt = G({
1045
- prop: "gridTemplateAreas"
1046
- }), Xt = G({
1047
- prop: "gridArea"
1048
- });
1049
- Ye(Ke, He, Qe, zt, Gt, Yt, qt, Kt, Ht, Qt, Jt, Xt);
1050
- function Ce(e, r) {
1051
- return r === "grey" ? r : e;
1052
- }
1053
- const Zt = G({
1054
- prop: "color",
1055
- themeKey: "palette",
1056
- transform: Ce
1057
- }), en = G({
1058
- prop: "bgcolor",
1059
- cssProperty: "backgroundColor",
1060
- themeKey: "palette",
1061
- transform: Ce
1062
- }), rn = G({
1063
- prop: "backgroundColor",
1064
- themeKey: "palette",
1065
- transform: Ce
1066
- });
1067
- Ye(Zt, en, rn);
1068
- function Q(e) {
1069
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1070
- }
1071
- const tn = G({
1072
- prop: "width",
1073
- transform: Q
1074
- }), pr = (e) => {
1075
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1076
- const r = (t) => {
1077
- var o, a, s, c, l;
1078
- const n = ((s = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : s[t]) || Fe[t];
1079
- return n ? ((l = (c = e.theme) == null ? void 0 : c.breakpoints) == null ? void 0 : l.unit) !== "px" ? {
1080
- maxWidth: `${n}${e.theme.breakpoints.unit}`
1081
- } : {
1082
- maxWidth: n
1083
- } : {
1084
- maxWidth: Q(t)
1085
- };
1086
- };
1087
- return ae(e, e.maxWidth, r);
1088
- }
1089
- return null;
1090
- };
1091
- pr.filterProps = ["maxWidth"];
1092
- const nn = G({
1093
- prop: "minWidth",
1094
- transform: Q
1095
- }), on = G({
1096
- prop: "height",
1097
- transform: Q
1098
- }), an = G({
1099
- prop: "maxHeight",
1100
- transform: Q
1101
- }), sn = G({
1102
- prop: "minHeight",
1103
- transform: Q
1104
- });
1105
- G({
1106
- prop: "size",
1107
- cssProperty: "width",
1108
- transform: Q
1109
- });
1110
- G({
1111
- prop: "size",
1112
- cssProperty: "height",
1113
- transform: Q
1114
- });
1115
- const cn = G({
1116
- prop: "boxSizing"
1117
- });
1118
- Ye(tn, pr, nn, on, an, sn, cn);
1119
- const Je = {
1120
- // borders
1121
- border: {
1122
- themeKey: "borders",
1123
- transform: X
1124
- },
1125
- borderTop: {
1126
- themeKey: "borders",
1127
- transform: X
1128
- },
1129
- borderRight: {
1130
- themeKey: "borders",
1131
- transform: X
1132
- },
1133
- borderBottom: {
1134
- themeKey: "borders",
1135
- transform: X
1136
- },
1137
- borderLeft: {
1138
- themeKey: "borders",
1139
- transform: X
1140
- },
1141
- borderColor: {
1142
- themeKey: "palette"
1143
- },
1144
- borderTopColor: {
1145
- themeKey: "palette"
1146
- },
1147
- borderRightColor: {
1148
- themeKey: "palette"
1149
- },
1150
- borderBottomColor: {
1151
- themeKey: "palette"
1152
- },
1153
- borderLeftColor: {
1154
- themeKey: "palette"
1155
- },
1156
- outline: {
1157
- themeKey: "borders",
1158
- transform: X
1159
- },
1160
- outlineColor: {
1161
- themeKey: "palette"
1162
- },
1163
- borderRadius: {
1164
- themeKey: "shape.borderRadius",
1165
- style: qe
1166
- },
1167
- // palette
1168
- color: {
1169
- themeKey: "palette",
1170
- transform: Ce
1171
- },
1172
- bgcolor: {
1173
- themeKey: "palette",
1174
- cssProperty: "backgroundColor",
1175
- transform: Ce
1176
- },
1177
- backgroundColor: {
1178
- themeKey: "palette",
1179
- transform: Ce
1180
- },
1181
- // spacing
1182
- p: {
1183
- style: z
1184
- },
1185
- pt: {
1186
- style: z
1187
- },
1188
- pr: {
1189
- style: z
1190
- },
1191
- pb: {
1192
- style: z
1193
- },
1194
- pl: {
1195
- style: z
1196
- },
1197
- px: {
1198
- style: z
1199
- },
1200
- py: {
1201
- style: z
1202
- },
1203
- padding: {
1204
- style: z
1205
- },
1206
- paddingTop: {
1207
- style: z
1208
- },
1209
- paddingRight: {
1210
- style: z
1211
- },
1212
- paddingBottom: {
1213
- style: z
1214
- },
1215
- paddingLeft: {
1216
- style: z
1217
- },
1218
- paddingX: {
1219
- style: z
1220
- },
1221
- paddingY: {
1222
- style: z
1223
- },
1224
- paddingInline: {
1225
- style: z
1226
- },
1227
- paddingInlineStart: {
1228
- style: z
1229
- },
1230
- paddingInlineEnd: {
1231
- style: z
1232
- },
1233
- paddingBlock: {
1234
- style: z
1235
- },
1236
- paddingBlockStart: {
1237
- style: z
1238
- },
1239
- paddingBlockEnd: {
1240
- style: z
1241
- },
1242
- m: {
1243
- style: L
1244
- },
1245
- mt: {
1246
- style: L
1247
- },
1248
- mr: {
1249
- style: L
1250
- },
1251
- mb: {
1252
- style: L
1253
- },
1254
- ml: {
1255
- style: L
1256
- },
1257
- mx: {
1258
- style: L
1259
- },
1260
- my: {
1261
- style: L
1262
- },
1263
- margin: {
1264
- style: L
1265
- },
1266
- marginTop: {
1267
- style: L
1268
- },
1269
- marginRight: {
1270
- style: L
1271
- },
1272
- marginBottom: {
1273
- style: L
1274
- },
1275
- marginLeft: {
1276
- style: L
1277
- },
1278
- marginX: {
1279
- style: L
1280
- },
1281
- marginY: {
1282
- style: L
1283
- },
1284
- marginInline: {
1285
- style: L
1286
- },
1287
- marginInlineStart: {
1288
- style: L
1289
- },
1290
- marginInlineEnd: {
1291
- style: L
1292
- },
1293
- marginBlock: {
1294
- style: L
1295
- },
1296
- marginBlockStart: {
1297
- style: L
1298
- },
1299
- marginBlockEnd: {
1300
- style: L
1301
- },
1302
- // display
1303
- displayPrint: {
1304
- cssProperty: !1,
1305
- transform: (e) => ({
1306
- "@media print": {
1307
- display: e
1308
- }
1309
- })
1310
- },
1311
- display: {},
1312
- overflow: {},
1313
- textOverflow: {},
1314
- visibility: {},
1315
- whiteSpace: {},
1316
- // flexbox
1317
- flexBasis: {},
1318
- flexDirection: {},
1319
- flexWrap: {},
1320
- justifyContent: {},
1321
- alignItems: {},
1322
- alignContent: {},
1323
- order: {},
1324
- flex: {},
1325
- flexGrow: {},
1326
- flexShrink: {},
1327
- alignSelf: {},
1328
- justifyItems: {},
1329
- justifySelf: {},
1330
- // grid
1331
- gap: {
1332
- style: Ke
1333
- },
1334
- rowGap: {
1335
- style: Qe
1336
- },
1337
- columnGap: {
1338
- style: He
1339
- },
1340
- gridColumn: {},
1341
- gridRow: {},
1342
- gridAutoFlow: {},
1343
- gridAutoColumns: {},
1344
- gridAutoRows: {},
1345
- gridTemplateColumns: {},
1346
- gridTemplateRows: {},
1347
- gridTemplateAreas: {},
1348
- gridArea: {},
1349
- // positions
1350
- position: {},
1351
- zIndex: {
1352
- themeKey: "zIndex"
1353
- },
1354
- top: {},
1355
- right: {},
1356
- bottom: {},
1357
- left: {},
1358
- // shadows
1359
- boxShadow: {
1360
- themeKey: "shadows"
1361
- },
1362
- // sizing
1363
- width: {
1364
- transform: Q
1365
- },
1366
- maxWidth: {
1367
- style: pr
1368
- },
1369
- minWidth: {
1370
- transform: Q
1371
- },
1372
- height: {
1373
- transform: Q
1374
- },
1375
- maxHeight: {
1376
- transform: Q
1377
- },
1378
- minHeight: {
1379
- transform: Q
1380
- },
1381
- boxSizing: {},
1382
- // typography
1383
- font: {
1384
- themeKey: "font"
1385
- },
1386
- fontFamily: {
1387
- themeKey: "typography"
1388
- },
1389
- fontSize: {
1390
- themeKey: "typography"
1391
- },
1392
- fontStyle: {
1393
- themeKey: "typography"
1394
- },
1395
- fontWeight: {
1396
- themeKey: "typography"
1397
- },
1398
- letterSpacing: {},
1399
- textTransform: {},
1400
- lineHeight: {},
1401
- textAlign: {},
1402
- typography: {
1403
- cssProperty: !1,
1404
- themeKey: "typography"
1405
- }
1406
- };
1407
- function un(...e) {
1408
- const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1409
- return e.every((n) => t.size === Object.keys(n).length);
1410
- }
1411
- function ln(e, r) {
1412
- return typeof e == "function" ? e(r) : e;
1413
- }
1414
- function fn() {
1415
- function e(t, n, o, a) {
1416
- const s = {
1417
- [t]: n,
1418
- theme: o
1419
- }, c = a[t];
1420
- if (!c)
1421
- return {
1422
- [t]: n
1423
- };
1424
- const {
1425
- cssProperty: l = t,
1426
- themeKey: f,
1427
- transform: h,
1428
- style: d
1429
- } = c;
1430
- if (n == null)
1431
- return null;
1432
- if (f === "typography" && n === "inherit")
1433
- return {
1434
- [t]: n
1435
- };
1436
- const p = Le(o, f) || {};
1437
- return d ? d(s) : ae(s, n, (T) => {
1438
- let b = De(p, h, T);
1439
- return T === b && typeof T == "string" && (b = De(p, h, `${t}${T === "default" ? "" : Kr(T)}`, T)), l === !1 ? b : {
1440
- [l]: b
1441
- };
1442
- });
1443
- }
1444
- function r(t) {
1445
- const {
1446
- sx: n,
1447
- theme: o = {}
1448
- } = t || {};
1449
- if (!n)
1450
- return null;
1451
- const a = o.unstable_sxConfig ?? Je;
1452
- function s(c) {
1453
- let l = c;
1454
- if (typeof c == "function")
1455
- l = c(o);
1456
- else if (typeof c != "object")
1457
- return c;
1458
- if (!l)
1459
- return null;
1460
- const f = Qr(o.breakpoints), h = Object.keys(f);
1461
- let d = f;
1462
- return Object.keys(l).forEach((p) => {
1463
- const S = ln(l[p], o);
1464
- if (S != null)
1465
- if (typeof S == "object")
1466
- if (a[p])
1467
- d = Oe(d, e(p, S, o, a));
1468
- else {
1469
- const T = ae({
1470
- theme: o
1471
- }, S, (b) => ({
1472
- [p]: b
1473
- }));
1474
- un(T, S) ? d[p] = r({
1475
- sx: S,
1476
- theme: o
1477
- }) : d = Oe(d, T);
1478
- }
1479
- else
1480
- d = Oe(d, e(p, S, o, a));
1481
- }), vt(o, Jr(h, d));
1482
- }
1483
- return Array.isArray(n) ? n.map(s) : s(n);
1484
- }
1485
- return r;
1486
- }
1487
- const Xe = fn();
1488
- Xe.filterProps = ["sx"];
1489
- function dn(e) {
1490
- for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1491
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
1492
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
1493
- t >>> 24, r = /* Math.imul(k, m): */
1494
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1495
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1496
- switch (o) {
1497
- case 3:
1498
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
1499
- case 2:
1500
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
1501
- case 1:
1502
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
1503
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1504
- }
1505
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
1506
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
1507
- }
1508
- var pn = {
1509
- animationIterationCount: 1,
1510
- aspectRatio: 1,
1511
- borderImageOutset: 1,
1512
- borderImageSlice: 1,
1513
- borderImageWidth: 1,
1514
- boxFlex: 1,
1515
- boxFlexGroup: 1,
1516
- boxOrdinalGroup: 1,
1517
- columnCount: 1,
1518
- columns: 1,
1519
- flex: 1,
1520
- flexGrow: 1,
1521
- flexPositive: 1,
1522
- flexShrink: 1,
1523
- flexNegative: 1,
1524
- flexOrder: 1,
1525
- gridRow: 1,
1526
- gridRowEnd: 1,
1527
- gridRowSpan: 1,
1528
- gridRowStart: 1,
1529
- gridColumn: 1,
1530
- gridColumnEnd: 1,
1531
- gridColumnSpan: 1,
1532
- gridColumnStart: 1,
1533
- msGridRow: 1,
1534
- msGridRowSpan: 1,
1535
- msGridColumn: 1,
1536
- msGridColumnSpan: 1,
1537
- fontWeight: 1,
1538
- lineHeight: 1,
1539
- opacity: 1,
1540
- order: 1,
1541
- orphans: 1,
1542
- scale: 1,
1543
- tabSize: 1,
1544
- widows: 1,
1545
- zIndex: 1,
1546
- zoom: 1,
1547
- WebkitLineClamp: 1,
1548
- // SVG-related properties
1549
- fillOpacity: 1,
1550
- floodOpacity: 1,
1551
- stopOpacity: 1,
1552
- strokeDasharray: 1,
1553
- strokeDashoffset: 1,
1554
- strokeMiterlimit: 1,
1555
- strokeOpacity: 1,
1556
- strokeWidth: 1
1557
- };
1558
- function gn(e) {
1559
- var r = /* @__PURE__ */ Object.create(null);
1560
- return function(t) {
1561
- return r[t] === void 0 && (r[t] = e(t)), r[t];
1562
- };
1563
- }
1564
- var mn = /[A-Z]|^ms/g, hn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Zr = function(r) {
1565
- return r.charCodeAt(1) === 45;
1566
- }, kr = function(r) {
1567
- return r != null && typeof r != "boolean";
1568
- }, sr = /* @__PURE__ */ gn(function(e) {
1569
- return Zr(e) ? e : e.replace(mn, "-$&").toLowerCase();
1570
- }), Rr = function(r, t) {
1571
- switch (r) {
1572
- case "animation":
1573
- case "animationName":
1574
- if (typeof t == "string")
1575
- return t.replace(hn, function(n, o, a) {
1576
- return le = {
1577
- name: o,
1578
- styles: a,
1579
- next: le
1580
- }, o;
1581
- });
1582
- }
1583
- return pn[r] !== 1 && !Zr(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1584
- };
1585
- function Ne(e, r, t) {
1586
- if (t == null)
1587
- return "";
1588
- var n = t;
1589
- if (n.__emotion_styles !== void 0)
1590
- return n;
1591
- switch (typeof t) {
1592
- case "boolean":
1593
- return "";
1594
- case "object": {
1595
- var o = t;
1596
- if (o.anim === 1)
1597
- return le = {
1598
- name: o.name,
1599
- styles: o.styles,
1600
- next: le
1601
- }, o.name;
1602
- var a = t;
1603
- if (a.styles !== void 0) {
1604
- var s = a.next;
1605
- if (s !== void 0)
1606
- for (; s !== void 0; )
1607
- le = {
1608
- name: s.name,
1609
- styles: s.styles,
1610
- next: le
1611
- }, s = s.next;
1612
- var c = a.styles + ";";
1613
- return c;
1614
- }
1615
- return yn(e, r, t);
1616
- }
1617
- }
1618
- var l = t;
1619
- return l;
1620
- }
1621
- function yn(e, r, t) {
1622
- var n = "";
1623
- if (Array.isArray(t))
1624
- for (var o = 0; o < t.length; o++)
1625
- n += Ne(e, r, t[o]) + ";";
1626
- else
1627
- for (var a in t) {
1628
- var s = t[a];
1629
- if (typeof s != "object") {
1630
- var c = s;
1631
- kr(c) && (n += sr(a) + ":" + Rr(a, c) + ";");
1632
- } else if (Array.isArray(s) && typeof s[0] == "string" && r == null)
1633
- for (var l = 0; l < s.length; l++)
1634
- kr(s[l]) && (n += sr(a) + ":" + Rr(a, s[l]) + ";");
1635
- else {
1636
- var f = Ne(e, r, s);
1637
- switch (a) {
1638
- case "animation":
1639
- case "animationName": {
1640
- n += sr(a) + ":" + f + ";";
1641
- break;
1642
- }
1643
- default:
1644
- n += a + "{" + f + "}";
1645
- }
1646
- }
1647
- }
1648
- return n;
1649
- }
1650
- var Ir = /label:\s*([^\s;{]+)\s*(;|$)/g, le;
1651
- function bn(e, r, t) {
1652
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1653
- return e[0];
1654
- var n = !0, o = "";
1655
- le = void 0;
1656
- var a = e[0];
1657
- if (a == null || a.raw === void 0)
1658
- n = !1, o += Ne(t, r, a);
1659
- else {
1660
- var s = a;
1661
- o += s[0];
1662
- }
1663
- for (var c = 1; c < e.length; c++)
1664
- if (o += Ne(t, r, e[c]), n) {
1665
- var l = a;
1666
- o += l[c];
1667
- }
1668
- Ir.lastIndex = 0;
1669
- for (var f = "", h; (h = Ir.exec(o)) !== null; )
1670
- f += "-" + h[1];
1671
- var d = dn(o) + f;
1672
- return {
1673
- name: d,
1674
- styles: o,
1675
- next: le
1676
- };
1677
- }
1678
- /**
1679
- * @mui/styled-engine v6.3.1
1680
- *
1681
- * @license MIT
1682
- * This source code is licensed under the MIT license found in the
1683
- * LICENSE file in the root directory of this source tree.
1684
- */
1685
- function To(e, r) {
1686
- const t = ut(e, r);
1687
- return process.env.NODE_ENV !== "production" ? (...n) => {
1688
- const o = typeof e == "string" ? `"${e}"` : "component";
1689
- return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
1690
- `)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
1691
- } : t;
1692
- }
1693
- function Eo(e, r) {
1694
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
1695
- }
1696
- const jr = [];
1697
- function wo(e) {
1698
- return jr[0] = e, bn(jr);
1699
- }
1700
- const vn = (e) => {
1701
- const r = Object.keys(e).map((t) => ({
1702
- key: t,
1703
- val: e[t]
1704
- })) || [];
1705
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1706
- ...t,
1707
- [n.key]: n.val
1708
- }), {});
1709
- };
1710
- function Sn(e) {
1711
- const {
1712
- // The breakpoint **start** at this value.
1713
- // For instance with the first breakpoint xs: [xs, sm).
1714
- values: r = {
1715
- xs: 0,
1716
- // phone
1717
- sm: 600,
1718
- // tablet
1719
- md: 900,
1720
- // small laptop
1721
- lg: 1200,
1722
- // desktop
1723
- xl: 1536
1724
- // large screen
1725
- },
1726
- unit: t = "px",
1727
- step: n = 5,
1728
- ...o
1729
- } = e, a = vn(r), s = Object.keys(a);
1730
- function c(p) {
1731
- return `@media (min-width:${typeof r[p] == "number" ? r[p] : p}${t})`;
1732
- }
1733
- function l(p) {
1734
- return `@media (max-width:${(typeof r[p] == "number" ? r[p] : p) - n / 100}${t})`;
1735
- }
1736
- function f(p, S) {
1737
- const T = s.indexOf(S);
1738
- return `@media (min-width:${typeof r[p] == "number" ? r[p] : p}${t}) and (max-width:${(T !== -1 && typeof r[s[T]] == "number" ? r[s[T]] : S) - n / 100}${t})`;
1739
- }
1740
- function h(p) {
1741
- return s.indexOf(p) + 1 < s.length ? f(p, s[s.indexOf(p) + 1]) : c(p);
1742
- }
1743
- function d(p) {
1744
- const S = s.indexOf(p);
1745
- return S === 0 ? c(s[1]) : S === s.length - 1 ? l(s[S]) : f(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
1746
- }
1747
- return {
1748
- keys: s,
1749
- values: a,
1750
- up: c,
1751
- down: l,
1752
- between: f,
1753
- only: h,
1754
- not: d,
1755
- unit: t,
1756
- ...o
1757
- };
1758
- }
1759
- const Cn = {
1760
- borderRadius: 4
1761
- };
1762
- function et(e = 8, r = dr({
1763
- spacing: e
1764
- })) {
1765
- if (e.mui)
1766
- return e;
1767
- const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
1768
- const s = r(a);
1769
- return typeof s == "number" ? `${s}px` : s;
1770
- }).join(" "));
1771
- return t.mui = !0, t;
1772
- }
1773
- function Tn(e, r) {
1774
- var n;
1775
- const t = this;
1776
- if (t.vars) {
1777
- if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
1778
- return {};
1779
- let o = t.getColorSchemeSelector(e);
1780
- return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
1781
- [o]: r
1782
- });
1783
- }
1784
- return t.palette.mode === e ? r : {};
1785
- }
1786
- function En(e = {}, ...r) {
1787
- const {
1788
- breakpoints: t = {},
1789
- palette: n = {},
1790
- spacing: o,
1791
- shape: a = {},
1792
- ...s
1793
- } = e, c = Sn(t), l = et(o);
1794
- let f = fe({
1795
- breakpoints: c,
1796
- direction: "ltr",
1797
- components: {},
1798
- // Inject component definitions.
1799
- palette: {
1800
- mode: "light",
1801
- ...n
1802
- },
1803
- spacing: l,
1804
- shape: {
1805
- ...Cn,
1806
- ...a
1807
- }
1808
- }, s);
1809
- return f = Tt(f), f.applyStyles = Tn, f = r.reduce((h, d) => fe(h, d), f), f.unstable_sxConfig = {
1810
- ...Je,
1811
- ...s == null ? void 0 : s.unstable_sxConfig
1812
- }, f.unstable_sx = function(d) {
1813
- return Xe({
1814
- sx: d,
1815
- theme: this
1816
- });
1817
- }, f;
1818
- }
1819
- function wn(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
1820
- return Math.max(r, Math.min(e, t));
1821
- }
1822
- function gr(e, r = 0, t = 1) {
1823
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), wn(e, r, t);
1824
- }
1825
- function xn(e) {
1826
- e = e.slice(1);
1827
- const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1828
- let t = e.match(r);
1829
- return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1830
- }
1831
- function On(e) {
1832
- const r = e.toString(16);
1833
- return r.length === 1 ? `0${r}` : r;
1834
- }
1835
- function se(e) {
1836
- if (e.type)
1837
- return e;
1838
- if (e.charAt(0) === "#")
1839
- return se(xn(e));
1840
- const r = e.indexOf("("), t = e.substring(0, r);
1841
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
1842
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1843
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Me(9, e));
1844
- let n = e.substring(r + 1, e.length - 1), o;
1845
- if (t === "color") {
1846
- if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
1847
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
1848
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Me(10, o));
1849
- } else
1850
- n = n.split(",");
1851
- return n = n.map((a) => parseFloat(a)), {
1852
- type: t,
1853
- values: n,
1854
- colorSpace: o
1855
- };
1856
- }
1857
- const $n = (e) => {
1858
- const r = se(e);
1859
- return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
1860
- }, we = (e, r) => {
1861
- try {
1862
- return $n(e);
1863
- } catch {
1864
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1865
- }
1866
- };
1867
- function Ze(e) {
1868
- const {
1869
- type: r,
1870
- colorSpace: t
1871
- } = e;
1872
- let {
1873
- values: n
1874
- } = e;
1875
- return r.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
1876
- }
1877
- function xo(e) {
1878
- if (e.startsWith("#"))
1879
- return e;
1880
- const {
1881
- values: r
1882
- } = se(e);
1883
- return `#${r.map((t, n) => On(n === 3 ? Math.round(255 * t) : t)).join("")}`;
1884
- }
1885
- function rt(e) {
1886
- e = se(e);
1887
- const {
1888
- values: r
1889
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (f, h = (f + t / 30) % 12) => o - a * Math.max(Math.min(h - 3, 9 - h, 1), -1);
1890
- let c = "rgb";
1891
- const l = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
1892
- return e.type === "hsla" && (c += "a", l.push(r[3])), Ze({
1893
- type: c,
1894
- values: l
1895
- });
1896
- }
1897
- function lr(e) {
1898
- e = se(e);
1899
- let r = e.type === "hsl" || e.type === "hsla" ? se(rt(e)).values : e.values;
1900
- return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
1901
- }
1902
- function Br(e, r) {
1903
- const t = lr(e), n = lr(r);
1904
- return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
1905
- }
1906
- function An(e, r) {
1907
- return e = se(e), r = gr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Ze(e);
1908
- }
1909
- function je(e, r, t) {
1910
- try {
1911
- return An(e, r);
1912
- } catch {
1913
- return e;
1914
- }
1915
- }
1916
- function mr(e, r) {
1917
- if (e = se(e), r = gr(r), e.type.includes("hsl"))
1918
- e.values[2] *= 1 - r;
1919
- else if (e.type.includes("rgb") || e.type.includes("color"))
1920
- for (let t = 0; t < 3; t += 1)
1921
- e.values[t] *= 1 - r;
1922
- return Ze(e);
1923
- }
1924
- function W(e, r, t) {
1925
- try {
1926
- return mr(e, r);
1927
- } catch {
1928
- return e;
1929
- }
1930
- }
1931
- function hr(e, r) {
1932
- if (e = se(e), r = gr(r), e.type.includes("hsl"))
1933
- e.values[2] += (100 - e.values[2]) * r;
1934
- else if (e.type.includes("rgb"))
1935
- for (let t = 0; t < 3; t += 1)
1936
- e.values[t] += (255 - e.values[t]) * r;
1937
- else if (e.type.includes("color"))
1938
- for (let t = 0; t < 3; t += 1)
1939
- e.values[t] += (1 - e.values[t]) * r;
1940
- return Ze(e);
1941
- }
1942
- function U(e, r, t) {
1943
- try {
1944
- return hr(e, r);
1945
- } catch {
1946
- return e;
1947
- }
1948
- }
1949
- function _n(e, r = 0.15) {
1950
- return lr(e) > 0.5 ? mr(e, r) : hr(e, r);
1951
- }
1952
- function Be(e, r, t) {
1953
- try {
1954
- return _n(e, r);
1955
- } catch {
1956
- return e;
1957
- }
1958
- }
1959
- function Pn(e = "") {
1960
- function r(...n) {
1961
- if (!n.length)
1962
- return "";
1963
- const o = n[0];
1964
- return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
1965
- }
1966
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
1967
- }
1968
- const Mr = (e, r, t, n = []) => {
1969
- let o = e;
1970
- r.forEach((a, s) => {
1971
- s === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
1972
- });
1973
- }, kn = (e, r, t) => {
1974
- function n(o, a = [], s = []) {
1975
- Object.entries(o).forEach(([c, l]) => {
1976
- (!t || !t([...a, c])) && l != null && (typeof l == "object" && Object.keys(l).length > 0 ? n(l, [...a, c], Array.isArray(l) ? [...s, c] : s) : r([...a, c], l, s));
1977
- });
1978
- }
1979
- n(e);
1980
- }, Rn = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
1981
- function cr(e, r) {
1982
- const {
1983
- prefix: t,
1984
- shouldSkipGeneratingVar: n
1985
- } = r || {}, o = {}, a = {}, s = {};
1986
- return kn(
1987
- e,
1988
- (c, l, f) => {
1989
- if ((typeof l == "string" || typeof l == "number") && (!n || !n(c, l))) {
1990
- const h = `--${t ? `${t}-` : ""}${c.join("-")}`, d = Rn(c, l);
1991
- Object.assign(o, {
1992
- [h]: d
1993
- }), Mr(a, c, `var(${h})`, f), Mr(s, c, `var(${h}, ${d})`, f);
1994
- }
1995
- },
1996
- (c) => c[0] === "vars"
1997
- // skip 'vars/*' paths
1998
- ), {
1999
- css: o,
2000
- vars: a,
2001
- varsWithDefaults: s
2002
- };
2003
- }
2004
- function In(e, r = {}) {
2005
- const {
2006
- getSelector: t = x,
2007
- disableCssColorScheme: n,
2008
- colorSchemeSelector: o
2009
- } = r, {
2010
- colorSchemes: a = {},
2011
- components: s,
2012
- defaultColorScheme: c = "light",
2013
- ...l
2014
- } = e, {
2015
- vars: f,
2016
- css: h,
2017
- varsWithDefaults: d
2018
- } = cr(l, r);
2019
- let p = d;
2020
- const S = {}, {
2021
- [c]: T,
2022
- ...b
2023
- } = a;
2024
- if (Object.entries(b || {}).forEach(([w, E]) => {
2025
- const {
2026
- vars: m,
2027
- css: q,
2028
- varsWithDefaults: J
2029
- } = cr(E, r);
2030
- p = fe(p, J), S[w] = {
2031
- css: q,
2032
- vars: m
2033
- };
2034
- }), T) {
2035
- const {
2036
- css: w,
2037
- vars: E,
2038
- varsWithDefaults: m
2039
- } = cr(T, r);
2040
- p = fe(p, m), S[c] = {
2041
- css: w,
2042
- vars: E
2043
- };
2044
- }
2045
- function x(w, E) {
2046
- var q, J;
2047
- let m = o;
2048
- if (o === "class" && (m = ".%s"), o === "data" && (m = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (m = `[${o}="%s"]`), w) {
2049
- if (m === "media")
2050
- return e.defaultColorScheme === w ? ":root" : {
2051
- [`@media (prefers-color-scheme: ${((J = (q = a[w]) == null ? void 0 : q.palette) == null ? void 0 : J.mode) || w})`]: {
2052
- ":root": E
2053
- }
2054
- };
2055
- if (m)
2056
- return e.defaultColorScheme === w ? `:root, ${m.replace("%s", String(w))}` : m.replace("%s", String(w));
2057
- }
2058
- return ":root";
2059
- }
2060
- return {
2061
- vars: p,
2062
- generateThemeVars: () => {
2063
- let w = {
2064
- ...f
2065
- };
2066
- return Object.entries(S).forEach(([, {
2067
- vars: E
2068
- }]) => {
2069
- w = fe(w, E);
2070
- }), w;
2071
- },
2072
- generateStyleSheets: () => {
2073
- var oe, K;
2074
- const w = [], E = e.defaultColorScheme || "light";
2075
- function m(i, C) {
2076
- Object.keys(C).length && w.push(typeof i == "string" ? {
2077
- [i]: {
2078
- ...C
2079
- }
2080
- } : i);
2081
- }
2082
- m(t(void 0, {
2083
- ...h
2084
- }), h);
2085
- const {
2086
- [E]: q,
2087
- ...J
2088
- } = S;
2089
- if (q) {
2090
- const {
2091
- css: i
2092
- } = q, C = (K = (oe = a[E]) == null ? void 0 : oe.palette) == null ? void 0 : K.mode, B = !n && C ? {
2093
- colorScheme: C,
2094
- ...i
2095
- } : {
2096
- ...i
2097
- };
2098
- m(t(E, {
2099
- ...B
2100
- }), B);
2101
- }
2102
- return Object.entries(J).forEach(([i, {
2103
- css: C
2104
- }]) => {
2105
- var ee, ce;
2106
- const B = (ce = (ee = a[i]) == null ? void 0 : ee.palette) == null ? void 0 : ce.mode, F = !n && B ? {
2107
- colorScheme: B,
2108
- ...C
2109
- } : {
2110
- ...C
2111
- };
2112
- m(t(i, {
2113
- ...F
2114
- }), F);
2115
- }), w;
2116
- }
2117
- };
2118
- }
2119
- function jn(e) {
2120
- return function(t) {
2121
- return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
2122
- };
2123
- }
2124
- function We(e, ...r) {
2125
- const t = new URL(`https://mui.com/production-error/?code=${e}`);
2126
- return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
2127
- }
2128
- function ue(e) {
2129
- if (typeof e != "object" || e === null)
2130
- return !1;
2131
- const r = Object.getPrototypeOf(e);
2132
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
2133
- }
2134
- function tt(e) {
2135
- if (/* @__PURE__ */ Ve.isValidElement(e) || !ue(e))
2136
- return e;
2137
- const r = {};
2138
- return Object.keys(e).forEach((t) => {
2139
- r[t] = tt(e[t]);
2140
- }), r;
2141
- }
2142
- function ge(e, r, t = {
2143
- clone: !0
2144
- }) {
2145
- const n = t.clone ? {
2146
- ...e
2147
- } : e;
2148
- return ue(e) && ue(r) && Object.keys(r).forEach((o) => {
2149
- /* @__PURE__ */ Ve.isValidElement(r[o]) ? n[o] = r[o] : ue(r[o]) && // Avoid prototype pollution
2150
- Object.prototype.hasOwnProperty.call(e, o) && ue(e[o]) ? n[o] = ge(e[o], r[o], t) : t.clone ? n[o] = ue(r[o]) ? tt(r[o]) : r[o] : n[o] = r[o];
2151
- }), n;
2152
- }
2153
- const $e = {
2154
- black: "#000",
2155
- white: "#fff"
2156
- }, Bn = {
2157
- 50: "#fafafa",
2158
- 100: "#f5f5f5",
2159
- 200: "#eeeeee",
2160
- 300: "#e0e0e0",
2161
- 400: "#bdbdbd",
2162
- 500: "#9e9e9e",
2163
- 600: "#757575",
2164
- 700: "#616161",
2165
- 800: "#424242",
2166
- 900: "#212121",
2167
- A100: "#f5f5f5",
2168
- A200: "#eeeeee",
2169
- A400: "#bdbdbd",
2170
- A700: "#616161"
2171
- }, me = {
2172
- 50: "#f3e5f5",
2173
- 100: "#e1bee7",
2174
- 200: "#ce93d8",
2175
- 300: "#ba68c8",
2176
- 400: "#ab47bc",
2177
- 500: "#9c27b0",
2178
- 600: "#8e24aa",
2179
- 700: "#7b1fa2",
2180
- 800: "#6a1b9a",
2181
- 900: "#4a148c",
2182
- A100: "#ea80fc",
2183
- A200: "#e040fb",
2184
- A400: "#d500f9",
2185
- A700: "#aa00ff"
2186
- }, he = {
2187
- 50: "#ffebee",
2188
- 100: "#ffcdd2",
2189
- 200: "#ef9a9a",
2190
- 300: "#e57373",
2191
- 400: "#ef5350",
2192
- 500: "#f44336",
2193
- 600: "#e53935",
2194
- 700: "#d32f2f",
2195
- 800: "#c62828",
2196
- 900: "#b71c1c",
2197
- A100: "#ff8a80",
2198
- A200: "#ff5252",
2199
- A400: "#ff1744",
2200
- A700: "#d50000"
2201
- }, Ee = {
2202
- 50: "#fff3e0",
2203
- 100: "#ffe0b2",
2204
- 200: "#ffcc80",
2205
- 300: "#ffb74d",
2206
- 400: "#ffa726",
2207
- 500: "#ff9800",
2208
- 600: "#fb8c00",
2209
- 700: "#f57c00",
2210
- 800: "#ef6c00",
2211
- 900: "#e65100",
2212
- A100: "#ffd180",
2213
- A200: "#ffab40",
2214
- A400: "#ff9100",
2215
- A700: "#ff6d00"
2216
- }, ye = {
2217
- 50: "#e3f2fd",
2218
- 100: "#bbdefb",
2219
- 200: "#90caf9",
2220
- 300: "#64b5f6",
2221
- 400: "#42a5f5",
2222
- 500: "#2196f3",
2223
- 600: "#1e88e5",
2224
- 700: "#1976d2",
2225
- 800: "#1565c0",
2226
- 900: "#0d47a1",
2227
- A100: "#82b1ff",
2228
- A200: "#448aff",
2229
- A400: "#2979ff",
2230
- A700: "#2962ff"
2231
- }, be = {
2232
- 50: "#e1f5fe",
2233
- 100: "#b3e5fc",
2234
- 200: "#81d4fa",
2235
- 300: "#4fc3f7",
2236
- 400: "#29b6f6",
2237
- 500: "#03a9f4",
2238
- 600: "#039be5",
2239
- 700: "#0288d1",
2240
- 800: "#0277bd",
2241
- 900: "#01579b",
2242
- A100: "#80d8ff",
2243
- A200: "#40c4ff",
2244
- A400: "#00b0ff",
2245
- A700: "#0091ea"
2246
- }, ve = {
2247
- 50: "#e8f5e9",
2248
- 100: "#c8e6c9",
2249
- 200: "#a5d6a7",
2250
- 300: "#81c784",
2251
- 400: "#66bb6a",
2252
- 500: "#4caf50",
2253
- 600: "#43a047",
2254
- 700: "#388e3c",
2255
- 800: "#2e7d32",
2256
- 900: "#1b5e20",
2257
- A100: "#b9f6ca",
2258
- A200: "#69f0ae",
2259
- A400: "#00e676",
2260
- A700: "#00c853"
2261
- };
2262
- function nt() {
2263
- return {
2264
- // The colors used to style the text.
2265
- text: {
2266
- // The most important text.
2267
- primary: "rgba(0, 0, 0, 0.87)",
2268
- // Secondary text.
2269
- secondary: "rgba(0, 0, 0, 0.6)",
2270
- // Disabled text have even lower visual prominence.
2271
- disabled: "rgba(0, 0, 0, 0.38)"
2272
- },
2273
- // The color used to divide different elements.
2274
- divider: "rgba(0, 0, 0, 0.12)",
2275
- // The background colors used to style the surfaces.
2276
- // Consistency between these values is important.
2277
- background: {
2278
- paper: $e.white,
2279
- default: $e.white
2280
- },
2281
- // The colors used to style the action elements.
2282
- action: {
2283
- // The color of an active action like an icon button.
2284
- active: "rgba(0, 0, 0, 0.54)",
2285
- // The color of an hovered action.
2286
- hover: "rgba(0, 0, 0, 0.04)",
2287
- hoverOpacity: 0.04,
2288
- // The color of a selected action.
2289
- selected: "rgba(0, 0, 0, 0.08)",
2290
- selectedOpacity: 0.08,
2291
- // The color of a disabled action.
2292
- disabled: "rgba(0, 0, 0, 0.26)",
2293
- // The background color of a disabled action.
2294
- disabledBackground: "rgba(0, 0, 0, 0.12)",
2295
- disabledOpacity: 0.38,
2296
- focus: "rgba(0, 0, 0, 0.12)",
2297
- focusOpacity: 0.12,
2298
- activatedOpacity: 0.12
2299
- }
2300
- };
2301
- }
2302
- const Mn = nt();
2303
- function ot() {
2304
- return {
2305
- text: {
2306
- primary: $e.white,
2307
- secondary: "rgba(255, 255, 255, 0.7)",
2308
- disabled: "rgba(255, 255, 255, 0.5)",
2309
- icon: "rgba(255, 255, 255, 0.5)"
2310
- },
2311
- divider: "rgba(255, 255, 255, 0.12)",
2312
- background: {
2313
- paper: "#121212",
2314
- default: "#121212"
2315
- },
2316
- action: {
2317
- active: $e.white,
2318
- hover: "rgba(255, 255, 255, 0.08)",
2319
- hoverOpacity: 0.08,
2320
- selected: "rgba(255, 255, 255, 0.16)",
2321
- selectedOpacity: 0.16,
2322
- disabled: "rgba(255, 255, 255, 0.3)",
2323
- disabledBackground: "rgba(255, 255, 255, 0.12)",
2324
- disabledOpacity: 0.38,
2325
- focus: "rgba(255, 255, 255, 0.12)",
2326
- focusOpacity: 0.12,
2327
- activatedOpacity: 0.24
2328
- }
2329
- };
2330
- }
2331
- const Dr = ot();
2332
- function Nr(e, r, t, n) {
2333
- const o = n.light || n, a = n.dark || n * 1.5;
2334
- e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = hr(e.main, o) : r === "dark" && (e.dark = mr(e.main, a)));
2335
- }
2336
- function Dn(e = "light") {
2337
- return e === "dark" ? {
2338
- main: ye[200],
2339
- light: ye[50],
2340
- dark: ye[400]
2341
- } : {
2342
- main: ye[700],
2343
- light: ye[400],
2344
- dark: ye[800]
2345
- };
2346
- }
2347
- function Nn(e = "light") {
2348
- return e === "dark" ? {
2349
- main: me[200],
2350
- light: me[50],
2351
- dark: me[400]
2352
- } : {
2353
- main: me[500],
2354
- light: me[300],
2355
- dark: me[700]
2356
- };
2357
- }
2358
- function Wn(e = "light") {
2359
- return e === "dark" ? {
2360
- main: he[500],
2361
- light: he[300],
2362
- dark: he[700]
2363
- } : {
2364
- main: he[700],
2365
- light: he[400],
2366
- dark: he[800]
2367
- };
2368
- }
2369
- function Un(e = "light") {
2370
- return e === "dark" ? {
2371
- main: be[400],
2372
- light: be[300],
2373
- dark: be[700]
2374
- } : {
2375
- main: be[700],
2376
- light: be[500],
2377
- dark: be[900]
2378
- };
2379
- }
2380
- function Vn(e = "light") {
2381
- return e === "dark" ? {
2382
- main: ve[400],
2383
- light: ve[300],
2384
- dark: ve[700]
2385
- } : {
2386
- main: ve[800],
2387
- light: ve[500],
2388
- dark: ve[900]
2389
- };
2390
- }
2391
- function Fn(e = "light") {
2392
- return e === "dark" ? {
2393
- main: Ee[400],
2394
- light: Ee[300],
2395
- dark: Ee[700]
2396
- } : {
2397
- main: "#ed6c02",
2398
- // closest to orange[800] that pass 3:1.
2399
- light: Ee[500],
2400
- dark: Ee[900]
2401
- };
2402
- }
2403
- function yr(e) {
2404
- const {
2405
- mode: r = "light",
2406
- contrastThreshold: t = 3,
2407
- tonalOffset: n = 0.2,
2408
- ...o
2409
- } = e, a = e.primary || Dn(r), s = e.secondary || Nn(r), c = e.error || Wn(r), l = e.info || Un(r), f = e.success || Vn(r), h = e.warning || Fn(r);
2410
- function d(b) {
2411
- const x = Br(b, Dr.text.primary) >= t ? Dr.text.primary : Mn.text.primary;
2412
- if (process.env.NODE_ENV !== "production") {
2413
- const $ = Br(b, x);
2414
- $ < 3 && console.error([`MUI: The contrast ratio of ${$}:1 for ${x} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
2415
- `));
2416
- }
2417
- return x;
2418
- }
2419
- const p = ({
2420
- color: b,
2421
- name: x,
2422
- mainShade: $ = 500,
2423
- lightShade: Y = 300,
2424
- darkShade: w = 700
2425
- }) => {
2426
- if (b = {
2427
- ...b
2428
- }, !b.main && b[$] && (b.main = b[$]), !b.hasOwnProperty("main"))
2429
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
2430
- The color object needs to have a \`main\` property or a \`${$}\` property.` : We(11, x ? ` (${x})` : "", $));
2431
- if (typeof b.main != "string")
2432
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
2433
- \`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
2434
-
2435
- Did you intend to use one of the following approaches?
2436
-
2437
- import { green } from "@mui/material/colors";
2438
-
2439
- const theme1 = createTheme({ palette: {
2440
- primary: green,
2441
- } });
2442
-
2443
- const theme2 = createTheme({ palette: {
2444
- primary: { main: green[500] },
2445
- } });` : We(12, x ? ` (${x})` : "", JSON.stringify(b.main)));
2446
- return Nr(b, "light", Y, n), Nr(b, "dark", w, n), b.contrastText || (b.contrastText = d(b.main)), b;
2447
- };
2448
- let S;
2449
- return r === "light" ? S = nt() : r === "dark" && (S = ot()), process.env.NODE_ENV !== "production" && (S || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), ge({
2450
- // A collection of common colors.
2451
- common: {
2452
- ...$e
2453
- },
2454
- // prevent mutable object.
2455
- // The palette mode, can be light or dark.
2456
- mode: r,
2457
- // The colors used to represent primary interface elements for a user.
2458
- primary: p({
2459
- color: a,
2460
- name: "primary"
2461
- }),
2462
- // The colors used to represent secondary interface elements for a user.
2463
- secondary: p({
2464
- color: s,
2465
- name: "secondary",
2466
- mainShade: "A400",
2467
- lightShade: "A200",
2468
- darkShade: "A700"
2469
- }),
2470
- // The colors used to represent interface elements that the user should be made aware of.
2471
- error: p({
2472
- color: c,
2473
- name: "error"
2474
- }),
2475
- // The colors used to represent potentially dangerous actions or important messages.
2476
- warning: p({
2477
- color: h,
2478
- name: "warning"
2479
- }),
2480
- // The colors used to present information to the user that is neutral and not necessarily important.
2481
- info: p({
2482
- color: l,
2483
- name: "info"
2484
- }),
2485
- // The colors used to indicate the successful completion of an action that user triggered.
2486
- success: p({
2487
- color: f,
2488
- name: "success"
2489
- }),
2490
- // The grey colors.
2491
- grey: Bn,
2492
- // Used by `getContrastText()` to maximize the contrast between
2493
- // the background and the text.
2494
- contrastThreshold: t,
2495
- // Takes a background color and returns the text color that maximizes the contrast.
2496
- getContrastText: d,
2497
- // Generate a rich color object.
2498
- augmentColor: p,
2499
- // Used by the functions below to shift a color's luminance by approximately
2500
- // two indexes within its tonal palette.
2501
- // E.g., shift from Red 500 to Red 300 or Red 700.
2502
- tonalOffset: n,
2503
- // The light and dark mode object.
2504
- ...S
2505
- }, o);
2506
- }
2507
- function Ln(e) {
2508
- const r = {};
2509
- return Object.entries(e).forEach((n) => {
2510
- const [o, a] = n;
2511
- typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
2512
- }), r;
2513
- }
2514
- const Wr = (e) => e, zn = () => {
2515
- let e = Wr;
2516
- return {
2517
- configure(r) {
2518
- e = r;
2519
- },
2520
- generate(r) {
2521
- return e(r);
2522
- },
2523
- reset() {
2524
- e = Wr;
2525
- }
2526
- };
2527
- }, Gn = zn(), Yn = {
2528
- active: "active",
2529
- checked: "checked",
2530
- completed: "completed",
2531
- disabled: "disabled",
2532
- error: "error",
2533
- expanded: "expanded",
2534
- focused: "focused",
2535
- focusVisible: "focusVisible",
2536
- open: "open",
2537
- readOnly: "readOnly",
2538
- required: "required",
2539
- selected: "selected"
2540
- };
2541
- function it(e, r, t = "Mui") {
2542
- const n = Yn[r];
2543
- return n ? `${t}-${n}` : `${Gn.generate(e)}-${r}`;
2544
- }
2545
- function qn(e, r) {
2546
- return {
2547
- toolbar: {
2548
- minHeight: 56,
2549
- [e.up("xs")]: {
2550
- "@media (orientation: landscape)": {
2551
- minHeight: 48
2552
- }
2553
- },
2554
- [e.up("sm")]: {
2555
- minHeight: 64
2556
- }
2557
- },
2558
- ...r
2559
- };
2560
- }
2561
- function Kn(e) {
2562
- return Math.round(e * 1e5) / 1e5;
2563
- }
2564
- const Ur = {
2565
- textTransform: "uppercase"
2566
- }, Vr = '"Roboto", "Helvetica", "Arial", sans-serif';
2567
- function Hn(e, r) {
2568
- const {
2569
- fontFamily: t = Vr,
2570
- // The default font size of the Material Specification.
2571
- fontSize: n = 14,
2572
- // px
2573
- fontWeightLight: o = 300,
2574
- fontWeightRegular: a = 400,
2575
- fontWeightMedium: s = 500,
2576
- fontWeightBold: c = 700,
2577
- // Tell MUI what's the font-size on the html element.
2578
- // 16px is the default font-size used by browsers.
2579
- htmlFontSize: l = 16,
2580
- // Apply the CSS properties to all the variants.
2581
- allVariants: f,
2582
- pxToRem: h,
2583
- ...d
2584
- } = typeof r == "function" ? r(e) : r;
2585
- process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2586
- const p = n / 14, S = h || ((x) => `${x / l * p}rem`), T = (x, $, Y, w, E) => ({
2587
- fontFamily: t,
2588
- fontWeight: x,
2589
- fontSize: S($),
2590
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2591
- lineHeight: Y,
2592
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2593
- // across font-families can cause issues with the kerning.
2594
- ...t === Vr ? {
2595
- letterSpacing: `${Kn(w / $)}em`
2596
- } : {},
2597
- ...E,
2598
- ...f
2599
- }), b = {
2600
- h1: T(o, 96, 1.167, -1.5),
2601
- h2: T(o, 60, 1.2, -0.5),
2602
- h3: T(a, 48, 1.167, 0),
2603
- h4: T(a, 34, 1.235, 0.25),
2604
- h5: T(a, 24, 1.334, 0),
2605
- h6: T(s, 20, 1.6, 0.15),
2606
- subtitle1: T(a, 16, 1.75, 0.15),
2607
- subtitle2: T(s, 14, 1.57, 0.1),
2608
- body1: T(a, 16, 1.5, 0.15),
2609
- body2: T(a, 14, 1.43, 0.15),
2610
- button: T(s, 14, 1.75, 0.4, Ur),
2611
- caption: T(a, 12, 1.66, 0.4),
2612
- overline: T(a, 12, 2.66, 1, Ur),
2613
- // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
2614
- inherit: {
2615
- fontFamily: "inherit",
2616
- fontWeight: "inherit",
2617
- fontSize: "inherit",
2618
- lineHeight: "inherit",
2619
- letterSpacing: "inherit"
2620
- }
2621
- };
2622
- return ge({
2623
- htmlFontSize: l,
2624
- pxToRem: S,
2625
- fontFamily: t,
2626
- fontSize: n,
2627
- fontWeightLight: o,
2628
- fontWeightRegular: a,
2629
- fontWeightMedium: s,
2630
- fontWeightBold: c,
2631
- ...b
2632
- }, d, {
2633
- clone: !1
2634
- // No need to clone deep
2635
- });
2636
- }
2637
- const Qn = 0.2, Jn = 0.14, Xn = 0.12;
2638
- function V(...e) {
2639
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Qn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Jn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Xn})`].join(",");
2640
- }
2641
- const Zn = ["none", V(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), V(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), V(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), V(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), V(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), V(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), V(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), V(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), V(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), V(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), V(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), V(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), V(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), V(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), V(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), V(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), V(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), V(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), V(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), V(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), V(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), V(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), V(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), V(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], eo = {
2642
- // This is the most common easing curve.
2643
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2644
- // Objects enter the screen at full velocity from off-screen and
2645
- // slowly decelerate to a resting point.
2646
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2647
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2648
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2649
- // The sharp curve is used by objects that may return to the screen at any time.
2650
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2651
- }, ro = {
2652
- shortest: 150,
2653
- shorter: 200,
2654
- short: 250,
2655
- // most basic recommended timing
2656
- standard: 300,
2657
- // this is to be used in complex animations
2658
- complex: 375,
2659
- // recommended when something is entering screen
2660
- enteringScreen: 225,
2661
- // recommended when something is leaving screen
2662
- leavingScreen: 195
2663
- };
2664
- function Fr(e) {
2665
- return `${Math.round(e)}ms`;
2666
- }
2667
- function to(e) {
2668
- if (!e)
2669
- return 0;
2670
- const r = e / 36;
2671
- return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
2672
- }
2673
- function no(e) {
2674
- const r = {
2675
- ...eo,
2676
- ...e.easing
2677
- }, t = {
2678
- ...ro,
2679
- ...e.duration
2680
- };
2681
- return {
2682
- getAutoHeightDuration: to,
2683
- create: (o = ["all"], a = {}) => {
2684
- const {
2685
- duration: s = t.standard,
2686
- easing: c = r.easeInOut,
2687
- delay: l = 0,
2688
- ...f
2689
- } = a;
2690
- if (process.env.NODE_ENV !== "production") {
2691
- const h = (p) => typeof p == "string", d = (p) => !Number.isNaN(parseFloat(p));
2692
- !h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !d(s) && !h(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), h(c) || console.error('MUI: Argument "easing" must be a string.'), !d(l) && !h(l) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
2693
- `)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
2694
- }
2695
- return (Array.isArray(o) ? o : [o]).map((h) => `${h} ${typeof s == "string" ? s : Fr(s)} ${c} ${typeof l == "string" ? l : Fr(l)}`).join(",");
2696
- },
2697
- ...e,
2698
- easing: r,
2699
- duration: t
2700
- };
2701
- }
2702
- const oo = {
2703
- mobileStepper: 1e3,
2704
- fab: 1050,
2705
- speedDial: 1050,
2706
- appBar: 1100,
2707
- drawer: 1200,
2708
- modal: 1300,
2709
- snackbar: 1400,
2710
- tooltip: 1500
2711
- };
2712
- function io(e) {
2713
- return ue(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2714
- }
2715
- function at(e = {}) {
2716
- const r = {
2717
- ...e
2718
- };
2719
- function t(n) {
2720
- const o = Object.entries(n);
2721
- for (let a = 0; a < o.length; a++) {
2722
- const [s, c] = o[a];
2723
- !io(c) || s.startsWith("unstable_") ? delete n[s] : ue(c) && (n[s] = {
2724
- ...c
2725
- }, t(n[s]));
2726
- }
2727
- }
2728
- return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2729
-
2730
- const theme = ${JSON.stringify(r, null, 2)};
2731
-
2732
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2733
- theme.transitions = createTransitions(theme.transitions || {});
2734
-
2735
- export default theme;`;
2736
- }
2737
- function Ue(e = {}, ...r) {
2738
- const {
2739
- breakpoints: t,
2740
- mixins: n = {},
2741
- spacing: o,
2742
- palette: a = {},
2743
- transitions: s = {},
2744
- typography: c = {},
2745
- shape: l,
2746
- ...f
2747
- } = e;
2748
- if (e.vars)
2749
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : We(20));
2750
- const h = yr(a), d = En(e);
2751
- let p = ge(d, {
2752
- mixins: qn(d.breakpoints, n),
2753
- palette: h,
2754
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2755
- shadows: Zn.slice(),
2756
- typography: Hn(h, c),
2757
- transitions: no(s),
2758
- zIndex: {
2759
- ...oo
2760
- }
2761
- });
2762
- if (p = ge(p, f), p = r.reduce((S, T) => ge(S, T), p), process.env.NODE_ENV !== "production") {
2763
- const S = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], T = (b, x) => {
2764
- let $;
2765
- for ($ in b) {
2766
- const Y = b[$];
2767
- if (S.includes($) && Object.keys(Y).length > 0) {
2768
- if (process.env.NODE_ENV !== "production") {
2769
- const w = it("", $);
2770
- console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${$}\` internal state.`, "You can not override it like this: ", JSON.stringify(b, null, 2), "", `Instead, you need to use the '&.${w}' syntax:`, JSON.stringify({
2771
- root: {
2772
- [`&.${w}`]: Y
2773
- }
2774
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2775
- `));
2776
- }
2777
- b[$] = {};
2778
- }
2779
- }
2780
- };
2781
- Object.keys(p.components).forEach((b) => {
2782
- const x = p.components[b].styleOverrides;
2783
- x && b.startsWith("Mui") && T(x, b);
2784
- });
2785
- }
2786
- return p.unstable_sxConfig = {
2787
- ...Je,
2788
- ...f == null ? void 0 : f.unstable_sxConfig
2789
- }, p.unstable_sx = function(T) {
2790
- return Xe({
2791
- sx: T,
2792
- theme: this
2793
- });
2794
- }, p.toRuntimeSource = at, p;
2795
- }
2796
- let Lr = !1;
2797
- function Oo(...e) {
2798
- return process.env.NODE_ENV !== "production" && (Lr || (Lr = !0, console.error(["MUI: the createMuiTheme function was renamed to createTheme.", "", "You should use `import { createTheme } from '@mui/material/styles'`"].join(`
2799
- `)))), Ue(...e);
2800
- }
2801
- function ao(e) {
2802
- let r;
2803
- return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
2804
- }
2805
- const so = [...Array(25)].map((e, r) => {
2806
- if (r === 0)
2807
- return "none";
2808
- const t = ao(r);
2809
- return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
2810
- });
2811
- function st(e) {
2812
- return {
2813
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2814
- inputUnderline: e === "dark" ? 0.7 : 0.42,
2815
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2816
- switchTrack: e === "dark" ? 0.3 : 0.38
2817
- };
2818
- }
2819
- function ct(e) {
2820
- return e === "dark" ? so : [];
2821
- }
2822
- function co(e) {
2823
- const {
2824
- palette: r = {
2825
- mode: "light"
2826
- },
2827
- // need to cast to avoid module augmentation test
2828
- opacity: t,
2829
- overlays: n,
2830
- ...o
2831
- } = e, a = yr(r);
2832
- return {
2833
- palette: a,
2834
- opacity: {
2835
- ...st(a.mode),
2836
- ...t
2837
- },
2838
- overlays: n || ct(a.mode),
2839
- ...o
2840
- };
2841
- }
2842
- function uo(e) {
2843
- var r;
2844
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2845
- e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
2846
- }
2847
- const lo = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], fo = (e) => (r, t) => {
2848
- const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
2849
- let a = o;
2850
- if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
2851
- if (r === "dark") {
2852
- const s = {};
2853
- return lo(e.cssVarPrefix).forEach((c) => {
2854
- s[c] = t[c], delete t[c];
2855
- }), a === "media" ? {
2856
- [n]: t,
2857
- "@media (prefers-color-scheme: dark)": {
2858
- [n]: s
2859
- }
2860
- } : a ? {
2861
- [a.replace("%s", r)]: s,
2862
- [`${n}, ${a.replace("%s", r)}`]: t
2863
- } : {
2864
- [n]: {
2865
- ...t,
2866
- ...s
2867
- }
2868
- };
2869
- }
2870
- if (a && a !== "media")
2871
- return `${n}, ${a.replace("%s", String(r))}`;
2872
- } else if (r) {
2873
- if (a === "media")
2874
- return {
2875
- [`@media (prefers-color-scheme: ${String(r)})`]: {
2876
- [n]: t
2877
- }
2878
- };
2879
- if (a)
2880
- return a.replace("%s", String(r));
2881
- }
2882
- return n;
2883
- };
2884
- function po(e, r) {
2885
- r.forEach((t) => {
2886
- e[t] || (e[t] = {});
2887
- });
2888
- }
2889
- function u(e, r, t) {
2890
- !e[r] && t && (e[r] = t);
2891
- }
2892
- function xe(e) {
2893
- return !e || !e.startsWith("hsl") ? e : rt(e);
2894
- }
2895
- function ie(e, r) {
2896
- `${r}Channel` in e || (e[`${r}Channel`] = we(xe(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
2897
- To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
2898
- }
2899
- function go(e) {
2900
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
2901
- }
2902
- const ne = (e) => {
2903
- try {
2904
- return e();
2905
- } catch {
2906
- }
2907
- }, mo = (e = "mui") => Pn(e);
2908
- function ur(e, r, t, n) {
2909
- if (!r)
2910
- return;
2911
- r = r === !0 ? {} : r;
2912
- const o = n === "dark" ? "dark" : "light";
2913
- if (!t) {
2914
- e[n] = co({
2915
- ...r,
2916
- palette: {
2917
- mode: o,
2918
- ...r == null ? void 0 : r.palette
2919
- }
2920
- });
2921
- return;
2922
- }
2923
- const {
2924
- palette: a,
2925
- ...s
2926
- } = Ue({
2927
- ...t,
2928
- palette: {
2929
- mode: o,
2930
- ...r == null ? void 0 : r.palette
2931
- }
2932
- });
2933
- return e[n] = {
2934
- ...r,
2935
- palette: a,
2936
- opacity: {
2937
- ...st(o),
2938
- ...r == null ? void 0 : r.opacity
2939
- },
2940
- overlays: (r == null ? void 0 : r.overlays) || ct(o)
2941
- }, s;
2942
- }
2943
- function ho(e = {}, ...r) {
2944
- const {
2945
- colorSchemes: t = {
2946
- light: !0
2947
- },
2948
- defaultColorScheme: n,
2949
- disableCssColorScheme: o = !1,
2950
- cssVarPrefix: a = "mui",
2951
- shouldSkipGeneratingVar: s = uo,
2952
- colorSchemeSelector: c = t.light && t.dark ? "media" : void 0,
2953
- rootSelector: l = ":root",
2954
- ...f
2955
- } = e, h = Object.keys(t)[0], d = n || (t.light && h !== "light" ? "light" : h), p = mo(a), {
2956
- [d]: S,
2957
- light: T,
2958
- dark: b,
2959
- ...x
2960
- } = t, $ = {
2961
- ...x
2962
- };
2963
- let Y = S;
2964
- if ((d === "dark" && !("dark" in t) || d === "light" && !("light" in t)) && (Y = !0), !Y)
2965
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : We(21, d));
2966
- const w = ur($, Y, f, d);
2967
- T && !$.light && ur($, T, void 0, "light"), b && !$.dark && ur($, b, void 0, "dark");
2968
- let E = {
2969
- defaultColorScheme: d,
2970
- ...w,
2971
- cssVarPrefix: a,
2972
- colorSchemeSelector: c,
2973
- rootSelector: l,
2974
- getCssVar: p,
2975
- colorSchemes: $,
2976
- font: {
2977
- ...Ln(w.typography),
2978
- ...w.font
2979
- },
2980
- spacing: go(f.spacing)
2981
- };
2982
- Object.keys(E.colorSchemes).forEach((K) => {
2983
- const i = E.colorSchemes[K].palette, C = (B) => {
2984
- const F = B.split("-"), ee = F[1], ce = F[2];
2985
- return p(B, i[ee][ce]);
2986
- };
2987
- if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), po(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
2988
- u(i.Alert, "errorColor", W(i.error.light, 0.6)), u(i.Alert, "infoColor", W(i.info.light, 0.6)), u(i.Alert, "successColor", W(i.success.light, 0.6)), u(i.Alert, "warningColor", W(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", C("palette-error-main")), u(i.Alert, "infoFilledBg", C("palette-info-main")), u(i.Alert, "successFilledBg", C("palette-success-main")), u(i.Alert, "warningFilledBg", C("palette-warning-main")), u(i.Alert, "errorFilledColor", ne(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", ne(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", ne(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", ne(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", U(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", U(i.info.light, 0.9)), u(i.Alert, "successStandardBg", U(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", U(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", C("palette-error-main")), u(i.Alert, "infoIconColor", C("palette-info-main")), u(i.Alert, "successIconColor", C("palette-success-main")), u(i.Alert, "warningIconColor", C("palette-warning-main")), u(i.AppBar, "defaultBg", C("palette-grey-100")), u(i.Avatar, "defaultBg", C("palette-grey-400")), u(i.Button, "inheritContainedBg", C("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", C("palette-grey-A100")), u(i.Chip, "defaultBorder", C("palette-grey-400")), u(i.Chip, "defaultAvatarColor", C("palette-grey-700")), u(i.Chip, "defaultIconColor", C("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", U(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", U(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", U(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", U(i.info.main, 0.62)), u(i.LinearProgress, "successBg", U(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", U(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", U(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", U(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", U(i.error.main, 0.62)), u(i.Slider, "infoTrack", U(i.info.main, 0.62)), u(i.Slider, "successTrack", U(i.success.main, 0.62)), u(i.Slider, "warningTrack", U(i.warning.main, 0.62));
2989
- const B = Be(i.background.default, 0.8);
2990
- u(i.SnackbarContent, "bg", B), u(i.SnackbarContent, "color", ne(() => i.getContrastText(B))), u(i.SpeedDialAction, "fabHoverBg", Be(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-400")), u(i.StepContent, "border", C("palette-grey-400")), u(i.Switch, "defaultColor", C("palette-common-white")), u(i.Switch, "defaultDisabledColor", C("palette-grey-100")), u(i.Switch, "primaryDisabledColor", U(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", U(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", U(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", U(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", U(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", U(i.warning.main, 0.62)), u(i.TableCell, "border", U(je(i.divider, 1), 0.88)), u(i.Tooltip, "bg", je(i.grey[700], 0.92));
2991
- }
2992
- if (i.mode === "dark") {
2993
- u(i.Alert, "errorColor", U(i.error.light, 0.6)), u(i.Alert, "infoColor", U(i.info.light, 0.6)), u(i.Alert, "successColor", U(i.success.light, 0.6)), u(i.Alert, "warningColor", U(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", C("palette-error-dark")), u(i.Alert, "infoFilledBg", C("palette-info-dark")), u(i.Alert, "successFilledBg", C("palette-success-dark")), u(i.Alert, "warningFilledBg", C("palette-warning-dark")), u(i.Alert, "errorFilledColor", ne(() => i.getContrastText(i.error.dark))), u(i.Alert, "infoFilledColor", ne(() => i.getContrastText(i.info.dark))), u(i.Alert, "successFilledColor", ne(() => i.getContrastText(i.success.dark))), u(i.Alert, "warningFilledColor", ne(() => i.getContrastText(i.warning.dark))), u(i.Alert, "errorStandardBg", W(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", W(i.info.light, 0.9)), u(i.Alert, "successStandardBg", W(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", W(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", C("palette-error-main")), u(i.Alert, "infoIconColor", C("palette-info-main")), u(i.Alert, "successIconColor", C("palette-success-main")), u(i.Alert, "warningIconColor", C("palette-warning-main")), u(i.AppBar, "defaultBg", C("palette-grey-900")), u(i.AppBar, "darkBg", C("palette-background-paper")), u(i.AppBar, "darkColor", C("palette-text-primary")), u(i.Avatar, "defaultBg", C("palette-grey-600")), u(i.Button, "inheritContainedBg", C("palette-grey-800")), u(i.Button, "inheritContainedHoverBg", C("palette-grey-700")), u(i.Chip, "defaultBorder", C("palette-grey-700")), u(i.Chip, "defaultAvatarColor", C("palette-grey-300")), u(i.Chip, "defaultIconColor", C("palette-grey-300")), u(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(i.LinearProgress, "primaryBg", W(i.primary.main, 0.5)), u(i.LinearProgress, "secondaryBg", W(i.secondary.main, 0.5)), u(i.LinearProgress, "errorBg", W(i.error.main, 0.5)), u(i.LinearProgress, "infoBg", W(i.info.main, 0.5)), u(i.LinearProgress, "successBg", W(i.success.main, 0.5)), u(i.LinearProgress, "warningBg", W(i.warning.main, 0.5)), u(i.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.13)`), u(i.Slider, "primaryTrack", W(i.primary.main, 0.5)), u(i.Slider, "secondaryTrack", W(i.secondary.main, 0.5)), u(i.Slider, "errorTrack", W(i.error.main, 0.5)), u(i.Slider, "infoTrack", W(i.info.main, 0.5)), u(i.Slider, "successTrack", W(i.success.main, 0.5)), u(i.Slider, "warningTrack", W(i.warning.main, 0.5));
2994
- const B = Be(i.background.default, 0.98);
2995
- u(i.SnackbarContent, "bg", B), u(i.SnackbarContent, "color", ne(() => i.getContrastText(B))), u(i.SpeedDialAction, "fabHoverBg", Be(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-600")), u(i.StepContent, "border", C("palette-grey-600")), u(i.Switch, "defaultColor", C("palette-grey-300")), u(i.Switch, "defaultDisabledColor", C("palette-grey-600")), u(i.Switch, "primaryDisabledColor", W(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", W(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", W(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", W(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", W(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", W(i.warning.main, 0.55)), u(i.TableCell, "border", W(je(i.divider, 1), 0.68)), u(i.Tooltip, "bg", je(i.grey[700], 0.92));
2996
- }
2997
- ie(i.background, "default"), ie(i.background, "paper"), ie(i.common, "background"), ie(i.common, "onBackground"), ie(i, "divider"), Object.keys(i).forEach((B) => {
2998
- const F = i[B];
2999
- F && typeof F == "object" && (F.main && u(i[B], "mainChannel", we(xe(F.main))), F.light && u(i[B], "lightChannel", we(xe(F.light))), F.dark && u(i[B], "darkChannel", we(xe(F.dark))), F.contrastText && u(i[B], "contrastTextChannel", we(xe(F.contrastText))), B === "text" && (ie(i[B], "primary"), ie(i[B], "secondary")), B === "action" && (F.active && ie(i[B], "active"), F.selected && ie(i[B], "selected")));
3000
- });
3001
- }), E = r.reduce((K, i) => ge(K, i), E);
3002
- const m = {
3003
- prefix: a,
3004
- disableCssColorScheme: o,
3005
- shouldSkipGeneratingVar: s,
3006
- getSelector: fo(E)
3007
- }, {
3008
- vars: q,
3009
- generateThemeVars: J,
3010
- generateStyleSheets: oe
3011
- } = In(E, m);
3012
- return E.vars = q, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([K, i]) => {
3013
- E[K] = i;
3014
- }), E.generateThemeVars = J, E.generateStyleSheets = oe, E.generateSpacing = function() {
3015
- return et(f.spacing, dr(this));
3016
- }, E.getColorSchemeSelector = jn(c), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = s, E.unstable_sxConfig = {
3017
- ...Je,
3018
- ...f == null ? void 0 : f.unstable_sxConfig
3019
- }, E.unstable_sx = function(i) {
3020
- return Xe({
3021
- sx: i,
3022
- theme: this
3023
- });
3024
- }, E.toRuntimeSource = at, E;
3025
- }
3026
- function zr(e, r, t) {
3027
- e.colorSchemes && t && (e.colorSchemes[r] = {
3028
- ...t !== !0 && t,
3029
- palette: yr({
3030
- ...t === !0 ? {} : t.palette,
3031
- mode: r
3032
- })
3033
- // cast type to skip module augmentation test
3034
- });
3035
- }
3036
- function $o(e = {}, ...r) {
3037
- const {
3038
- palette: t,
3039
- cssVariables: n = !1,
3040
- colorSchemes: o = t ? void 0 : {
3041
- light: !0
3042
- },
3043
- defaultColorScheme: a = t == null ? void 0 : t.mode,
3044
- ...s
3045
- } = e, c = a || "light", l = o == null ? void 0 : o[c], f = {
3046
- ...o,
3047
- ...t ? {
3048
- [c]: {
3049
- ...typeof l != "boolean" && l,
3050
- palette: t
3051
- }
3052
- } : void 0
3053
- };
3054
- if (n === !1) {
3055
- if (!("colorSchemes" in e))
3056
- return Ue(e, ...r);
3057
- let h = t;
3058
- "palette" in e || f[c] && (f[c] !== !0 ? h = f[c].palette : c === "dark" && (h = {
3059
- mode: "dark"
3060
- }));
3061
- const d = Ue({
3062
- ...e,
3063
- palette: h
3064
- }, ...r);
3065
- return d.defaultColorScheme = c, d.colorSchemes = f, d.palette.mode === "light" && (d.colorSchemes.light = {
3066
- ...f.light !== !0 && f.light,
3067
- palette: d.palette
3068
- }, zr(d, "dark", f.dark)), d.palette.mode === "dark" && (d.colorSchemes.dark = {
3069
- ...f.dark !== !0 && f.dark,
3070
- palette: d.palette
3071
- }, zr(d, "light", f.light)), d;
3072
- }
3073
- return !t && !("light" in f) && c === "light" && (f.light = !0), ho({
3074
- ...s,
3075
- colorSchemes: f,
3076
- defaultColorScheme: c,
3077
- ...typeof n != "boolean" && n
3078
- }, ...r);
3079
- }
3080
- const Ao = "$$material";
3081
- function _o(e, r, t = "Mui") {
3082
- const n = {};
3083
- return r.forEach((o) => {
3084
- n[o] = it(e, o, t);
3085
- }), n;
3086
- }
3087
- export {
3088
- wo as $,
3089
- ho as A,
3090
- ao as B,
3091
- uo as C,
3092
- Hn as D,
3093
- qn as E,
3094
- lo as F,
3095
- vo as G,
3096
- it as H,
3097
- _o as I,
3098
- We as J,
3099
- Je as K,
3100
- Se as L,
3101
- En as M,
3102
- Le as N,
3103
- To as O,
3104
- Te as P,
3105
- Xe as Q,
3106
- Gn as R,
3107
- ae as S,
3108
- Ao as T,
3109
- Co as U,
3110
- dr as V,
3111
- fe as W,
3112
- So as X,
3113
- _e as Y,
3114
- lt as Z,
3115
- ge as _,
3116
- Bn as a,
3117
- Eo as a0,
3118
- Kr as a1,
3119
- et as a2,
3120
- ye as b,
3121
- $e as c,
3122
- xo as d,
3123
- rt as e,
3124
- se as f,
3125
- ve as g,
3126
- xn as h,
3127
- Ze as i,
3128
- Br as j,
3129
- lr as k,
3130
- be as l,
3131
- _n as m,
3132
- An as n,
3133
- Ee as o,
3134
- me as p,
3135
- mr as q,
3136
- he as r,
3137
- hr as s,
3138
- Sn as t,
3139
- $o as u,
3140
- Oo as v,
3141
- no as w,
3142
- ro as x,
3143
- eo as y,
3144
- co as z
3145
- };