@cgi-learning-hub/ui 1.5.1-dev.1745835109 → 1.5.1-dev.1745918699

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