@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740498210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/CardContent-u1MKaFvP.js +226 -0
  11. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/Chip-6-zATjcr.js +521 -0
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
  18. package/dist/CloseRounded-DTpqUeWr.js +8 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
  22. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
  23. package/dist/Dialog-CgBiKk8B.js +477 -0
  24. package/dist/Dialog-Cmv58WoN.cjs +1 -0
  25. package/dist/DialogContent-CGEdCDYk.cjs +1 -0
  26. package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
  36. package/dist/IconButton-Edo5JMfQ.cjs +2 -0
  37. package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
  43. package/dist/Menu-C-R0FVOB.cjs +7 -0
  44. package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
  48. package/dist/Modal-D8lS9C1l.cjs +2 -0
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
  51. package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/Radio-BxMxeQa-.js +567 -0
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/RadioGroup-BLrD8_Lp.js +190 -0
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/Switch-BOpqo-TS.js +329 -0
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
  67. package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
  78. package/dist/Typography-DEAE8-8u.cjs +1 -0
  79. package/dist/components/Alert/Alert.es.js +13 -4
  80. package/dist/components/Button/Button.cjs.js +1 -1
  81. package/dist/components/Button/Button.d.ts +1 -2
  82. package/dist/components/Button/Button.es.js +12 -325
  83. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  84. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  85. package/dist/components/DatePicker/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/index.es.js +1 -1
  87. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  88. package/dist/components/Dialog/Dialog.es.js +12 -14
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  91. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  94. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  95. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  96. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  97. package/dist/components/FileList/FileIcon.d.ts +3 -0
  98. package/dist/components/FileList/FileIcon.es.js +56 -0
  99. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  100. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  101. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  102. package/dist/components/FileList/FileList.cjs.js +1 -1
  103. package/dist/components/FileList/FileList.d.ts +5 -3
  104. package/dist/components/FileList/FileList.es.js +22 -15
  105. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  106. package/dist/components/FileList/FileListItem.d.ts +9 -5
  107. package/dist/components/FileList/FileListItem.es.js +117 -24
  108. package/dist/components/FileList/utils.cjs.js +1 -0
  109. package/dist/components/FileList/utils.d.ts +2 -0
  110. package/dist/components/FileList/utils.es.js +13 -0
  111. package/dist/components/Heading/Heading.cjs.js +1 -1
  112. package/dist/components/Heading/Heading.es.js +2 -2
  113. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  114. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  115. package/dist/components/Loader/Loader.cjs.js +1 -1
  116. package/dist/components/Loader/Loader.d.ts +1 -2
  117. package/dist/components/Loader/Loader.es.js +1 -1
  118. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  119. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  121. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  122. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  123. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  124. package/dist/components/QueryError/QueryError.d.ts +2 -2
  125. package/dist/components/QueryError/QueryError.es.js +14 -14
  126. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  127. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  128. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  129. package/dist/components/ResourceCard/index.cjs.js +1 -0
  130. package/dist/components/ResourceCard/index.d.ts +2 -0
  131. package/dist/components/ResourceCard/index.es.js +4 -0
  132. package/dist/components/ResourceCard/style.cjs.js +1 -0
  133. package/dist/components/ResourceCard/style.es.js +125 -0
  134. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  135. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  136. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  137. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  138. package/dist/components/TextInput/TextInput.es.js +1 -1
  139. package/dist/components/index.cjs.js +1 -1
  140. package/dist/components/index.d.ts +35 -0
  141. package/dist/components/index.es.js +348 -294
  142. package/dist/components/stories/Button.stories.cjs.js +1 -1
  143. package/dist/components/stories/Button.stories.es.js +1 -1
  144. package/dist/components/stories/Card.stories.cjs.js +1 -1
  145. package/dist/components/stories/Card.stories.es.js +17 -168
  146. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  147. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  148. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  149. package/dist/components/stories/Chip.stories.d.ts +10 -0
  150. package/dist/components/stories/Chip.stories.es.js +77 -0
  151. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  152. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  153. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  154. package/dist/components/stories/Dialog.stories.es.js +2 -2
  155. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  156. package/dist/components/stories/Divider.stories.es.js +5 -5
  157. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  158. package/dist/components/stories/FileList.stories.es.js +144 -20
  159. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  160. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  161. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  162. package/dist/components/stories/Heading.stories.es.js +2 -2
  163. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  164. package/dist/components/stories/IconButton.stories.es.js +2 -2
  165. package/dist/components/stories/Link.stories.cjs.js +1 -1
  166. package/dist/components/stories/Link.stories.es.js +1 -1
  167. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  168. package/dist/components/stories/Menu.stories.es.js +16 -16
  169. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  170. package/dist/components/stories/Paper.stories.es.js +1 -1
  171. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  172. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  173. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  174. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  175. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  176. package/dist/components/stories/Select.stories.cjs.js +1 -1
  177. package/dist/components/stories/Select.stories.es.js +3 -3
  178. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  179. package/dist/components/stories/TabList.stories.es.js +14 -14
  180. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  181. package/dist/components/stories/TextField.stories.es.js +3 -3
  182. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  183. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  184. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  185. package/dist/components/stories/Typography.stories.es.js +1 -1
  186. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
  187. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  188. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
  189. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  190. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  191. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  192. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  193. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
  194. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  195. package/dist/hooks/lazySvgImport.d.ts +1 -1
  196. package/dist/identifier-5n4d7br9.cjs +75 -0
  197. package/dist/identifier-D58rA1gM.js +3267 -0
  198. package/dist/index-5BAFzrXD.cjs +1 -0
  199. package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
  200. package/dist/index-CFm-oAsb.cjs +1 -0
  201. package/dist/index-CJW5gB6d.cjs +5 -0
  202. package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
  203. package/dist/index-DwHI-aa0.js +45 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  207. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
  208. package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
  209. package/dist/refType-CjW6JOBA.cjs +1 -0
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
  211. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CZNcsPv1.js +48 -0
  215. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  216. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  217. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  218. package/dist/useTheme-Clhsq4HW.js +11 -0
  219. package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
  220. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
  221. package/dist/useThemeProps-C6qniHmV.js +17 -0
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  223. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  224. package/dist/utils-D4if93Yl.cjs +1 -0
  225. package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
  226. package/package.json +9 -9
  227. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  228. package/dist/Box-mP2Th61z.cjs +0 -1
  229. package/dist/Button-BH9MUvmz.cjs +0 -1
  230. package/dist/Button-BnNYfQ3E.js +0 -484
  231. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  232. package/dist/Card-AJG0TUOx.js +0 -74
  233. package/dist/Card-NqCXQteq.cjs +0 -1
  234. package/dist/Checkbox-DYrDbdy1.cjs +0 -1
  235. package/dist/CircularProgress-BByrCLjv.cjs +0 -28
  236. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  237. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  238. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  239. package/dist/Delete-BkZN7Xu5.js +0 -8
  240. package/dist/Delete-D1EiKoL5.cjs +0 -1
  241. package/dist/Dialog-D_lS4J_M.js +0 -415
  242. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  243. package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
  244. package/dist/DialogTitle-BboPDaoB.cjs +0 -1
  245. package/dist/Divider-CcrM3lNn.cjs +0 -1
  246. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  247. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  248. package/dist/FormGroup-CbczEc6e.js +0 -95
  249. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  250. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  251. package/dist/Grow-CUBJs6WD.cjs +0 -1
  252. package/dist/IconButton-CJfzspZK.cjs +0 -2
  253. package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
  254. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  255. package/dist/Link-CWczkFp0.cjs +0 -1
  256. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  257. package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
  258. package/dist/Modal-DImrEpYJ.cjs +0 -2
  259. package/dist/Paper-Cr56xkCr.cjs +0 -2
  260. package/dist/Popper-YT5WAMV-.cjs +0 -4
  261. package/dist/Portal-DF0RKOcD.cjs +0 -1
  262. package/dist/Radio-CVAEGXKi.cjs +0 -1
  263. package/dist/Radio-DGhot3Cd.js +0 -313
  264. package/dist/Select-CwAWNiiv.cjs +0 -3
  265. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  266. package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
  267. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  268. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  269. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  270. package/dist/TextField-BI9KVqjC.cjs +0 -1
  271. package/dist/Tooltip-DhDtvULK.cjs +0 -4
  272. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  273. package/dist/Typography-DfRMDngd.cjs +0 -1
  274. package/dist/capitalize-B3GG7Wn6.cjs +0 -1
  275. package/dist/capitalize-CkF8kU4n.js +0 -9
  276. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  277. package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
  278. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
  279. package/dist/extendSxProp-apyK-EBz.cjs +0 -1
  280. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  281. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  282. package/dist/index-Aa73Kpym.cjs +0 -1
  283. package/dist/index-ChM1Ett8.cjs +0 -5
  284. package/dist/index-Cw0GDedk.cjs +0 -17
  285. package/dist/index-DXD5J5Eu.js +0 -186
  286. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  287. package/dist/refType-CoaxQOPt.cjs +0 -1
  288. package/dist/useSlot-BTpHG6jf.js +0 -50
  289. package/dist/useSlot-CByalpSD.cjs +0 -1
  290. package/dist/useSlotProps-B31YQlzb.js +0 -45
  291. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  292. package/dist/useTheme-Cy5kyKJF.cjs +0 -1
  293. package/dist/useTheme-Dukx-__T.cjs +0 -1
  294. package/dist/useTheme-DyaNKf4e.js +0 -11
  295. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  296. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  297. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,92 +1,146 @@
1
- var Oe = Object.defineProperty;
2
- var ke = (o, e, n) => e in o ? Oe(o, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[e] = n;
3
- var le = (o, e, n) => ke(o, typeof e != "symbol" ? e + "" : e, n);
1
+ var we = Object.defineProperty;
2
+ var Be = (o, e, t) => e in o ? we(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var ae = (o, e, t) => Be(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import * as d from "react";
5
- import H, { Children as je, isValidElement as G, cloneElement as J } from "react";
6
- import { P as t, G as E, I as de, H as Fe } from "./generateUtilityClasses-Bssl7BA_.js";
7
- import { jsx as $, jsxs as Ie } from "react/jsx-runtime";
8
- import { s as ne, u as he, c as $e } from "./DefaultPropsProvider-CvJPQJmL.js";
9
- import { a as Ue, u as ze } from "./useTimeout-CrCYVizI.js";
10
- import { _ as _e, a as Xe, T as ce } from "./TransitionGroupContext-DMJLhY9-.js";
5
+ import H, { isValidElement as W, cloneElement as G, Children as Le } from "react";
6
+ import { P as n, G as C, H as pe, I as Oe } from "./identifier-D58rA1gM.js";
7
+ import { jsx as $, jsxs as ke } from "react/jsx-runtime";
8
+ import { u as fe, s as ne, c as je } from "./DefaultPropsProvider-BcmyIf2H.js";
9
+ import { a as Fe, u as Ie } from "./useTimeout-CrCYVizI.js";
10
+ import { _ as $e, a as Ue, T as ue } from "./TransitionGroupContext-DbLioz_6.js";
11
11
  import { keyframes as oe } from "@emotion/react";
12
- import { u as pe } from "./useForkRef-C_4o__cU.js";
13
- import { u as W } from "./useEventCallback-BAQJJ3ye.js";
14
- import { i as fe } from "./isFocusVisible-CPZqtjv2.js";
15
- import { r as Ye } from "./refType-DKYKROQk.js";
16
- import { e as Ae } from "./elementTypeAcceptingRef-D-5kcohU.js";
12
+ import { u as le } from "./useForkRef-C_4o__cU.js";
13
+ import { u as J } from "./useEventCallback-BAQJJ3ye.js";
14
+ import { i as ce } from "./isFocusVisible-CPZqtjv2.js";
15
+ import { e as ze } from "./elementTypeAcceptingRef-CrAqn_fc.js";
16
+ import { r as _e } from "./refType-B86yTZra.js";
17
+ class Q {
18
+ constructor() {
19
+ ae(this, "mountEffect", () => {
20
+ this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
21
+ });
22
+ this.ref = {
23
+ current: null
24
+ }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
25
+ }
26
+ /** React ref to the ripple instance */
27
+ /** If the ripple component should be mounted */
28
+ /** Promise that resolves when the ripple component is mounted */
29
+ /** If the ripple component has been mounted */
30
+ /** React state hook setter */
31
+ static create() {
32
+ return new Q();
33
+ }
34
+ static use() {
35
+ const e = Fe(Q.create).current, [t, a] = d.useState(!1);
36
+ return e.shouldMount = t, e.setShouldMount = a, d.useEffect(e.mountEffect, [t]), e;
37
+ }
38
+ mount() {
39
+ return this.mounted || (this.mounted = Ye(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
40
+ }
41
+ /* Ripple API */
42
+ start(...e) {
43
+ this.mount().then(() => {
44
+ var t;
45
+ return (t = this.ref.current) == null ? void 0 : t.start(...e);
46
+ });
47
+ }
48
+ stop(...e) {
49
+ this.mount().then(() => {
50
+ var t;
51
+ return (t = this.ref.current) == null ? void 0 : t.stop(...e);
52
+ });
53
+ }
54
+ pulsate(...e) {
55
+ this.mount().then(() => {
56
+ var t;
57
+ return (t = this.ref.current) == null ? void 0 : t.pulsate(...e);
58
+ });
59
+ }
60
+ }
61
+ function Xe() {
62
+ return Q.use();
63
+ }
64
+ function Ye() {
65
+ let o, e;
66
+ const t = new Promise((a, i) => {
67
+ o = a, e = i;
68
+ });
69
+ return t.resolve = o, t.reject = e, t;
70
+ }
17
71
  function ee() {
18
72
  return ee = Object.assign ? Object.assign.bind() : function(o) {
19
73
  for (var e = 1; e < arguments.length; e++) {
20
- var n = arguments[e];
21
- for (var u in n) ({}).hasOwnProperty.call(n, u) && (o[u] = n[u]);
74
+ var t = arguments[e];
75
+ for (var a in t) ({}).hasOwnProperty.call(t, a) && (o[a] = t[a]);
22
76
  }
23
77
  return o;
24
78
  }, ee.apply(null, arguments);
25
79
  }
26
- function Ke(o) {
80
+ function Ae(o) {
27
81
  if (o === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
28
82
  return o;
29
83
  }
30
84
  function ie(o, e) {
31
- var n = function(r) {
32
- return e && G(r) ? e(r) : r;
33
- }, u = /* @__PURE__ */ Object.create(null);
34
- return o && je.map(o, function(i) {
85
+ var t = function(r) {
86
+ return e && W(r) ? e(r) : r;
87
+ }, a = /* @__PURE__ */ Object.create(null);
88
+ return o && Le.map(o, function(i) {
35
89
  return i;
36
90
  }).forEach(function(i) {
37
- u[i.key] = n(i);
38
- }), u;
91
+ a[i.key] = t(i);
92
+ }), a;
39
93
  }
40
- function qe(o, e) {
94
+ function Ke(o, e) {
41
95
  o = o || {}, e = e || {};
42
- function n(h) {
96
+ function t(h) {
43
97
  return h in e ? e[h] : o[h];
44
98
  }
45
- var u = /* @__PURE__ */ Object.create(null), i = [];
99
+ var a = /* @__PURE__ */ Object.create(null), i = [];
46
100
  for (var r in o)
47
- r in e ? i.length && (u[r] = i, i = []) : i.push(r);
101
+ r in e ? i.length && (a[r] = i, i = []) : i.push(r);
48
102
  var s, p = {};
49
103
  for (var l in e) {
50
- if (u[l])
51
- for (s = 0; s < u[l].length; s++) {
52
- var f = u[l][s];
53
- p[u[l][s]] = n(f);
104
+ if (a[l])
105
+ for (s = 0; s < a[l].length; s++) {
106
+ var f = a[l][s];
107
+ p[a[l][s]] = t(f);
54
108
  }
55
- p[l] = n(l);
109
+ p[l] = t(l);
56
110
  }
57
111
  for (s = 0; s < i.length; s++)
58
- p[i[s]] = n(i[s]);
112
+ p[i[s]] = t(i[s]);
59
113
  return p;
60
114
  }
61
- function k(o, e, n) {
62
- return n[e] != null ? n[e] : o.props[e];
115
+ function k(o, e, t) {
116
+ return t[e] != null ? t[e] : o.props[e];
63
117
  }
64
- function He(o, e) {
65
- return ie(o.children, function(n) {
66
- return J(n, {
67
- onExited: e.bind(null, n),
118
+ function qe(o, e) {
119
+ return ie(o.children, function(t) {
120
+ return G(t, {
121
+ onExited: e.bind(null, t),
68
122
  in: !0,
69
- appear: k(n, "appear", o),
70
- enter: k(n, "enter", o),
71
- exit: k(n, "exit", o)
123
+ appear: k(t, "appear", o),
124
+ enter: k(t, "enter", o),
125
+ exit: k(t, "exit", o)
72
126
  });
73
127
  });
74
128
  }
75
- function We(o, e, n) {
76
- var u = ie(o.children), i = qe(e, u);
129
+ function He(o, e, t) {
130
+ var a = ie(o.children), i = Ke(e, a);
77
131
  return Object.keys(i).forEach(function(r) {
78
132
  var s = i[r];
79
- if (G(s)) {
80
- var p = r in e, l = r in u, f = e[r], h = G(f) && !f.props.in;
81
- l && (!p || h) ? i[r] = J(s, {
82
- onExited: n.bind(null, s),
133
+ if (W(s)) {
134
+ var p = r in e, l = r in a, f = e[r], h = W(f) && !f.props.in;
135
+ l && (!p || h) ? i[r] = G(s, {
136
+ onExited: t.bind(null, s),
83
137
  in: !0,
84
138
  exit: k(s, "exit", o),
85
139
  enter: k(s, "enter", o)
86
- }) : !l && p && !h ? i[r] = J(s, {
140
+ }) : !l && p && !h ? i[r] = G(s, {
87
141
  in: !1
88
- }) : l && p && G(f) && (i[r] = J(s, {
89
- onExited: n.bind(null, s),
142
+ }) : l && p && W(f) && (i[r] = G(s, {
143
+ onExited: t.bind(null, s),
90
144
  in: f.props.in,
91
145
  exit: k(s, "exit", o),
92
146
  enter: k(s, "enter", o)
@@ -94,21 +148,21 @@ function We(o, e, n) {
94
148
  }
95
149
  }), i;
96
150
  }
97
- var Ge = Object.values || function(o) {
151
+ var We = Object.values || function(o) {
98
152
  return Object.keys(o).map(function(e) {
99
153
  return o[e];
100
154
  });
101
- }, Je = {
155
+ }, Ge = {
102
156
  component: "div",
103
157
  childFactory: function(e) {
104
158
  return e;
105
159
  }
106
160
  }, re = /* @__PURE__ */ function(o) {
107
- _e(e, o);
108
- function e(u, i) {
161
+ $e(e, o);
162
+ function e(a, i) {
109
163
  var r;
110
- r = o.call(this, u, i) || this;
111
- var s = r.handleExited.bind(Ke(r));
164
+ r = o.call(this, a, i) || this;
165
+ var s = r.handleExited.bind(Ae(r));
112
166
  return r.state = {
113
167
  contextValue: {
114
168
  isMounting: !0
@@ -117,22 +171,22 @@ var Ge = Object.values || function(o) {
117
171
  firstRender: !0
118
172
  }, r;
119
173
  }
120
- var n = e.prototype;
121
- return n.componentDidMount = function() {
174
+ var t = e.prototype;
175
+ return t.componentDidMount = function() {
122
176
  this.mounted = !0, this.setState({
123
177
  contextValue: {
124
178
  isMounting: !1
125
179
  }
126
180
  });
127
- }, n.componentWillUnmount = function() {
181
+ }, t.componentWillUnmount = function() {
128
182
  this.mounted = !1;
129
183
  }, e.getDerivedStateFromProps = function(i, r) {
130
184
  var s = r.children, p = r.handleExited, l = r.firstRender;
131
185
  return {
132
- children: l ? He(i, p) : We(i, s, p),
186
+ children: l ? qe(i, p) : He(i, s, p),
133
187
  firstRender: !1
134
188
  };
135
- }, n.handleExited = function(i, r) {
189
+ }, t.handleExited = function(i, r) {
136
190
  var s = ie(this.props.children);
137
191
  i.key in s || (i.props.onExited && i.props.onExited(r), this.mounted && this.setState(function(p) {
138
192
  var l = ee({}, p.children);
@@ -140,11 +194,11 @@ var Ge = Object.values || function(o) {
140
194
  children: l
141
195
  };
142
196
  }));
143
- }, n.render = function() {
144
- var i = this.props, r = i.component, s = i.childFactory, p = Xe(i, ["component", "childFactory"]), l = this.state.contextValue, f = Ge(this.state.children).map(s);
145
- return delete p.appear, delete p.enter, delete p.exit, r === null ? /* @__PURE__ */ H.createElement(ce.Provider, {
197
+ }, t.render = function() {
198
+ var i = this.props, r = i.component, s = i.childFactory, p = Ue(i, ["component", "childFactory"]), l = this.state.contextValue, f = We(this.state.children).map(s);
199
+ return delete p.appear, delete p.enter, delete p.exit, r === null ? /* @__PURE__ */ H.createElement(ue.Provider, {
146
200
  value: l
147
- }, f) : /* @__PURE__ */ H.createElement(ce.Provider, {
201
+ }, f) : /* @__PURE__ */ H.createElement(ue.Provider, {
148
202
  value: l
149
203
  }, /* @__PURE__ */ H.createElement(r, p, f));
150
204
  }, e;
@@ -157,7 +211,7 @@ re.propTypes = process.env.NODE_ENV !== "production" ? {
157
211
  * you can pass in `component={null}`. This is useful if the wrapping div
158
212
  * borks your css styles.
159
213
  */
160
- component: t.any,
214
+ component: n.any,
161
215
  /**
162
216
  * A set of `<Transition>` components, that are toggled `in` and out as they
163
217
  * leave. the `<TransitionGroup>` will inject specific transition props, so
@@ -171,25 +225,25 @@ re.propTypes = process.env.NODE_ENV !== "production" ? {
171
225
  * the transition child as you change its content, this will cause
172
226
  * `TransitionGroup` to transition the child out and back in.
173
227
  */
174
- children: t.node,
228
+ children: n.node,
175
229
  /**
176
230
  * A convenience prop that enables or disables appear animations
177
231
  * for all children. Note that specifying this will override any defaults set
178
232
  * on individual children Transitions.
179
233
  */
180
- appear: t.bool,
234
+ appear: n.bool,
181
235
  /**
182
236
  * A convenience prop that enables or disables enter animations
183
237
  * for all children. Note that specifying this will override any defaults set
184
238
  * on individual children Transitions.
185
239
  */
186
- enter: t.bool,
240
+ enter: n.bool,
187
241
  /**
188
242
  * A convenience prop that enables or disables exit animations
189
243
  * for all children. Note that specifying this will override any defaults set
190
244
  * on individual children Transitions.
191
245
  */
192
- exit: t.bool,
246
+ exit: n.bool,
193
247
  /**
194
248
  * You may need to apply reactive updates to a child as it is exiting.
195
249
  * This is generally done by using `cloneElement` however in the case of an exiting
@@ -200,131 +254,77 @@ re.propTypes = process.env.NODE_ENV !== "production" ? {
200
254
  *
201
255
  * @type Function(child: ReactElement) -> ReactElement
202
256
  */
203
- childFactory: t.func
257
+ childFactory: n.func
204
258
  } : {};
205
- re.defaultProps = Je;
206
- class Q {
207
- constructor() {
208
- le(this, "mountEffect", () => {
209
- this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
210
- });
211
- this.ref = {
212
- current: null
213
- }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
214
- }
215
- /** React ref to the ripple instance */
216
- /** If the ripple component should be mounted */
217
- /** Promise that resolves when the ripple component is mounted */
218
- /** If the ripple component has been mounted */
219
- /** React state hook setter */
220
- static create() {
221
- return new Q();
222
- }
223
- static use() {
224
- const e = Ue(Q.create).current, [n, u] = d.useState(!1);
225
- return e.shouldMount = n, e.setShouldMount = u, d.useEffect(e.mountEffect, [n]), e;
226
- }
227
- mount() {
228
- return this.mounted || (this.mounted = Ze(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
229
- }
230
- /* Ripple API */
231
- start(...e) {
232
- this.mount().then(() => {
233
- var n;
234
- return (n = this.ref.current) == null ? void 0 : n.start(...e);
235
- });
236
- }
237
- stop(...e) {
238
- this.mount().then(() => {
239
- var n;
240
- return (n = this.ref.current) == null ? void 0 : n.stop(...e);
241
- });
242
- }
243
- pulsate(...e) {
244
- this.mount().then(() => {
245
- var n;
246
- return (n = this.ref.current) == null ? void 0 : n.pulsate(...e);
247
- });
248
- }
249
- }
250
- function Qe() {
251
- return Q.use();
252
- }
253
- function Ze() {
254
- let o, e;
255
- const n = new Promise((u, i) => {
256
- o = u, e = i;
257
- });
258
- return n.resolve = o, n.reject = e, n;
259
- }
260
- function me(o) {
259
+ re.defaultProps = Ge;
260
+ function de(o) {
261
261
  const {
262
262
  className: e,
263
- classes: n,
264
- pulsate: u = !1,
263
+ classes: t,
264
+ pulsate: a = !1,
265
265
  rippleX: i,
266
266
  rippleY: r,
267
267
  rippleSize: s,
268
268
  in: p,
269
269
  onExited: l,
270
270
  timeout: f
271
- } = o, [h, y] = d.useState(!1), g = E(e, n.ripple, n.rippleVisible, u && n.ripplePulsate), D = {
271
+ } = o, [h, m] = d.useState(!1), y = C(e, t.ripple, t.rippleVisible, a && t.ripplePulsate), D = {
272
272
  width: s,
273
273
  height: s,
274
274
  top: -(s / 2) + r,
275
275
  left: -(s / 2) + i
276
- }, m = E(n.child, h && n.childLeaving, u && n.childPulsate);
277
- return !p && !h && y(!0), d.useEffect(() => {
276
+ }, g = C(t.child, h && t.childLeaving, a && t.childPulsate);
277
+ return !p && !h && m(!0), d.useEffect(() => {
278
278
  if (!p && l != null) {
279
- const B = setTimeout(l, f);
279
+ const w = setTimeout(l, f);
280
280
  return () => {
281
- clearTimeout(B);
281
+ clearTimeout(w);
282
282
  };
283
283
  }
284
284
  }, [l, p, f]), /* @__PURE__ */ $("span", {
285
- className: g,
285
+ className: y,
286
286
  style: D,
287
287
  children: /* @__PURE__ */ $("span", {
288
- className: m
288
+ className: g
289
289
  })
290
290
  });
291
291
  }
292
- process.env.NODE_ENV !== "production" && (me.propTypes = {
292
+ process.env.NODE_ENV !== "production" && (de.propTypes = {
293
293
  /**
294
294
  * Override or extend the styles applied to the component.
295
295
  */
296
- classes: t.object.isRequired,
297
- className: t.string,
296
+ classes: n.object.isRequired,
297
+ className: n.string,
298
298
  /**
299
299
  * @ignore - injected from TransitionGroup
300
300
  */
301
- in: t.bool,
301
+ in: n.bool,
302
302
  /**
303
303
  * @ignore - injected from TransitionGroup
304
304
  */
305
- onExited: t.func,
305
+ onExited: n.func,
306
306
  /**
307
307
  * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
308
308
  */
309
- pulsate: t.bool,
309
+ pulsate: n.bool,
310
310
  /**
311
311
  * Diameter of the ripple.
312
312
  */
313
- rippleSize: t.number,
313
+ rippleSize: n.number,
314
314
  /**
315
315
  * Horizontal position of the ripple center.
316
316
  */
317
- rippleX: t.number,
317
+ rippleX: n.number,
318
318
  /**
319
319
  * Vertical position of the ripple center.
320
320
  */
321
- rippleY: t.number,
321
+ rippleY: n.number,
322
322
  /**
323
323
  * exit delay
324
324
  */
325
- timeout: t.number.isRequired
325
+ timeout: n.number.isRequired
326
326
  });
327
- const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), te = 550, et = 80, tt = oe`
327
+ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), te = 550, Je = 80, Qe = oe`
328
328
  0% {
329
329
  transform: scale(0);
330
330
  opacity: 0.1;
@@ -334,7 +334,7 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
334
334
  transform: scale(1);
335
335
  opacity: 0.3;
336
336
  }
337
- `, nt = oe`
337
+ `, Ze = oe`
338
338
  0% {
339
339
  opacity: 1;
340
340
  }
@@ -342,7 +342,7 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
342
342
  100% {
343
343
  opacity: 0;
344
344
  }
345
- `, ot = oe`
345
+ `, et = oe`
346
346
  0% {
347
347
  transform: scale(1);
348
348
  }
@@ -354,7 +354,7 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
354
354
  100% {
355
355
  transform: scale(1);
356
356
  }
357
- `, it = ne("span", {
357
+ `, tt = ne("span", {
358
358
  name: "MuiTouchRipple",
359
359
  slot: "Root"
360
360
  })({
@@ -367,30 +367,30 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
367
367
  bottom: 0,
368
368
  left: 0,
369
369
  borderRadius: "inherit"
370
- }), rt = ne(me, {
370
+ }), nt = ne(de, {
371
371
  name: "MuiTouchRipple",
372
372
  slot: "Ripple"
373
373
  })`
374
374
  opacity: 0;
375
375
  position: absolute;
376
376
 
377
- &.${b.rippleVisible} {
377
+ &.${M.rippleVisible} {
378
378
  opacity: 0.3;
379
379
  transform: scale(1);
380
- animation-name: ${tt};
380
+ animation-name: ${Qe};
381
381
  animation-duration: ${te}ms;
382
382
  animation-timing-function: ${({
383
383
  theme: o
384
384
  }) => o.transitions.easing.easeInOut};
385
385
  }
386
386
 
387
- &.${b.ripplePulsate} {
387
+ &.${M.ripplePulsate} {
388
388
  animation-duration: ${({
389
389
  theme: o
390
390
  }) => o.transitions.duration.shorter}ms;
391
391
  }
392
392
 
393
- & .${b.child} {
393
+ & .${M.child} {
394
394
  opacity: 1;
395
395
  display: block;
396
396
  width: 100%;
@@ -399,21 +399,21 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
399
399
  background-color: currentColor;
400
400
  }
401
401
 
402
- & .${b.childLeaving} {
402
+ & .${M.childLeaving} {
403
403
  opacity: 0;
404
- animation-name: ${nt};
404
+ animation-name: ${Ze};
405
405
  animation-duration: ${te}ms;
406
406
  animation-timing-function: ${({
407
407
  theme: o
408
408
  }) => o.transitions.easing.easeInOut};
409
409
  }
410
410
 
411
- & .${b.childPulsate} {
411
+ & .${M.childPulsate} {
412
412
  position: absolute;
413
413
  /* @noflip */
414
414
  left: 0px;
415
415
  top: 0;
416
- animation-name: ${ot};
416
+ animation-name: ${et};
417
417
  animation-duration: 2500ms;
418
418
  animation-timing-function: ${({
419
419
  theme: o
@@ -421,8 +421,8 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
421
421
  animation-iteration-count: infinite;
422
422
  animation-delay: 200ms;
423
423
  }
424
- `, be = /* @__PURE__ */ d.forwardRef(function(e, n) {
425
- const u = he({
424
+ `, he = /* @__PURE__ */ d.forwardRef(function(e, t) {
425
+ const a = fe({
426
426
  props: e,
427
427
  name: "MuiTouchRipple"
428
428
  }), {
@@ -430,105 +430,105 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
430
430
  classes: r = {},
431
431
  className: s,
432
432
  ...p
433
- } = u, [l, f] = d.useState([]), h = d.useRef(0), y = d.useRef(null);
433
+ } = a, [l, f] = d.useState([]), h = d.useRef(0), m = d.useRef(null);
434
434
  d.useEffect(() => {
435
- y.current && (y.current(), y.current = null);
435
+ m.current && (m.current(), m.current = null);
436
436
  }, [l]);
437
- const g = d.useRef(!1), D = ze(), m = d.useRef(null), B = d.useRef(null), C = d.useCallback((c) => {
437
+ const y = d.useRef(!1), D = Ie(), g = d.useRef(null), w = d.useRef(null), x = d.useCallback((c) => {
438
438
  const {
439
- pulsate: R,
440
- rippleX: M,
439
+ pulsate: T,
440
+ rippleX: R,
441
441
  rippleY: I,
442
- rippleSize: v,
442
+ rippleSize: B,
443
443
  cb: U
444
444
  } = c;
445
- f((T) => [...T, /* @__PURE__ */ $(rt, {
445
+ f((E) => [...E, /* @__PURE__ */ $(nt, {
446
446
  classes: {
447
- ripple: E(r.ripple, b.ripple),
448
- rippleVisible: E(r.rippleVisible, b.rippleVisible),
449
- ripplePulsate: E(r.ripplePulsate, b.ripplePulsate),
450
- child: E(r.child, b.child),
451
- childLeaving: E(r.childLeaving, b.childLeaving),
452
- childPulsate: E(r.childPulsate, b.childPulsate)
447
+ ripple: C(r.ripple, M.ripple),
448
+ rippleVisible: C(r.rippleVisible, M.rippleVisible),
449
+ ripplePulsate: C(r.ripplePulsate, M.ripplePulsate),
450
+ child: C(r.child, M.child),
451
+ childLeaving: C(r.childLeaving, M.childLeaving),
452
+ childPulsate: C(r.childPulsate, M.childPulsate)
453
453
  },
454
454
  timeout: te,
455
- pulsate: R,
456
- rippleX: M,
455
+ pulsate: T,
456
+ rippleX: R,
457
457
  rippleY: I,
458
- rippleSize: v
459
- }, h.current)]), h.current += 1, y.current = U;
460
- }, [r]), j = d.useCallback((c = {}, R = {}, M = () => {
458
+ rippleSize: B
459
+ }, h.current)]), h.current += 1, m.current = U;
460
+ }, [r]), j = d.useCallback((c = {}, T = {}, R = () => {
461
461
  }) => {
462
462
  const {
463
463
  pulsate: I = !1,
464
- center: v = i || R.pulsate,
464
+ center: B = i || T.pulsate,
465
465
  fakeElement: U = !1
466
466
  // For test purposes
467
- } = R;
468
- if ((c == null ? void 0 : c.type) === "mousedown" && g.current) {
469
- g.current = !1;
467
+ } = T;
468
+ if ((c == null ? void 0 : c.type) === "mousedown" && y.current) {
469
+ y.current = !1;
470
470
  return;
471
471
  }
472
- (c == null ? void 0 : c.type) === "touchstart" && (g.current = !0);
473
- const T = U ? null : B.current, V = T ? T.getBoundingClientRect() : {
472
+ (c == null ? void 0 : c.type) === "touchstart" && (y.current = !0);
473
+ const E = U ? null : w.current, V = E ? E.getBoundingClientRect() : {
474
474
  width: 0,
475
475
  height: 0,
476
476
  left: 0,
477
477
  top: 0
478
478
  };
479
- let S, x, w;
480
- if (v || c === void 0 || c.clientX === 0 && c.clientY === 0 || !c.clientX && !c.touches)
481
- S = Math.round(V.width / 2), x = Math.round(V.height / 2);
479
+ let v, P, S;
480
+ if (B || c === void 0 || c.clientX === 0 && c.clientY === 0 || !c.clientX && !c.touches)
481
+ v = Math.round(V.width / 2), P = Math.round(V.height / 2);
482
482
  else {
483
483
  const {
484
484
  clientX: z,
485
485
  clientY: L
486
486
  } = c.touches && c.touches.length > 0 ? c.touches[0] : c;
487
- S = Math.round(z - V.left), x = Math.round(L - V.top);
487
+ v = Math.round(z - V.left), P = Math.round(L - V.top);
488
488
  }
489
- if (v)
490
- w = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), w % 2 === 0 && (w += 1);
489
+ if (B)
490
+ S = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), S % 2 === 0 && (S += 1);
491
491
  else {
492
- const z = Math.max(Math.abs((T ? T.clientWidth : 0) - S), S) * 2 + 2, L = Math.max(Math.abs((T ? T.clientHeight : 0) - x), x) * 2 + 2;
493
- w = Math.sqrt(z ** 2 + L ** 2);
492
+ const z = Math.max(Math.abs((E ? E.clientWidth : 0) - v), v) * 2 + 2, L = Math.max(Math.abs((E ? E.clientHeight : 0) - P), P) * 2 + 2;
493
+ S = Math.sqrt(z ** 2 + L ** 2);
494
494
  }
495
- c != null && c.touches ? m.current === null && (m.current = () => {
496
- C({
495
+ c != null && c.touches ? g.current === null && (g.current = () => {
496
+ x({
497
497
  pulsate: I,
498
- rippleX: S,
499
- rippleY: x,
500
- rippleSize: w,
501
- cb: M
498
+ rippleX: v,
499
+ rippleY: P,
500
+ rippleSize: S,
501
+ cb: R
502
502
  });
503
- }, D.start(et, () => {
504
- m.current && (m.current(), m.current = null);
505
- })) : C({
503
+ }, D.start(Je, () => {
504
+ g.current && (g.current(), g.current = null);
505
+ })) : x({
506
506
  pulsate: I,
507
- rippleX: S,
508
- rippleY: x,
509
- rippleSize: w,
510
- cb: M
507
+ rippleX: v,
508
+ rippleY: P,
509
+ rippleSize: S,
510
+ cb: R
511
511
  });
512
- }, [i, C, D]), A = d.useCallback(() => {
512
+ }, [i, x, D]), A = d.useCallback(() => {
513
513
  j({}, {
514
514
  pulsate: !0
515
515
  });
516
- }, [j]), F = d.useCallback((c, R) => {
517
- if (D.clear(), (c == null ? void 0 : c.type) === "touchend" && m.current) {
518
- m.current(), m.current = null, D.start(0, () => {
519
- F(c, R);
516
+ }, [j]), F = d.useCallback((c, T) => {
517
+ if (D.clear(), (c == null ? void 0 : c.type) === "touchend" && g.current) {
518
+ g.current(), g.current = null, D.start(0, () => {
519
+ F(c, T);
520
520
  });
521
521
  return;
522
522
  }
523
- m.current = null, f((M) => M.length > 0 ? M.slice(1) : M), y.current = R;
523
+ g.current = null, f((R) => R.length > 0 ? R.slice(1) : R), m.current = T;
524
524
  }, [D]);
525
- return d.useImperativeHandle(n, () => ({
525
+ return d.useImperativeHandle(t, () => ({
526
526
  pulsate: A,
527
527
  start: j,
528
528
  stop: F
529
- }), [A, j, F]), /* @__PURE__ */ $(it, {
530
- className: E(b.root, r.root, s),
531
- ref: B,
529
+ }), [A, j, F]), /* @__PURE__ */ $(tt, {
530
+ className: C(M.root, r.root, s),
531
+ ref: w,
532
532
  ...p,
533
533
  children: /* @__PURE__ */ $(re, {
534
534
  component: null,
@@ -537,35 +537,35 @@ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
537
537
  })
538
538
  });
539
539
  });
540
- process.env.NODE_ENV !== "production" && (be.propTypes = {
540
+ process.env.NODE_ENV !== "production" && (he.propTypes = {
541
541
  /**
542
542
  * If `true`, the ripple starts at the center of the component
543
543
  * rather than at the point of interaction.
544
544
  */
545
- center: t.bool,
545
+ center: n.bool,
546
546
  /**
547
547
  * Override or extend the styles applied to the component.
548
548
  */
549
- classes: t.object,
549
+ classes: n.object,
550
550
  /**
551
551
  * @ignore
552
552
  */
553
- className: t.string
553
+ className: n.string
554
554
  });
555
- function st(o) {
556
- return Fe("MuiButtonBase", o);
555
+ function ot(o) {
556
+ return Oe("MuiButtonBase", o);
557
557
  }
558
- const at = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), ut = (o) => {
558
+ const it = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), rt = (o) => {
559
559
  const {
560
560
  disabled: e,
561
- focusVisible: n,
562
- focusVisibleClassName: u,
561
+ focusVisible: t,
562
+ focusVisibleClassName: a,
563
563
  classes: i
564
- } = o, s = $e({
565
- root: ["root", e && "disabled", n && "focusVisible"]
566
- }, st, i);
567
- return n && u && (s.root += ` ${u}`), s;
568
- }, lt = ne("button", {
564
+ } = o, s = je({
565
+ root: ["root", e && "disabled", t && "focusVisible"]
566
+ }, ot, i);
567
+ return t && a && (s.root += ` ${a}`), s;
568
+ }, st = ne("button", {
569
569
  name: "MuiButtonBase",
570
570
  slot: "Root",
571
571
  overridesResolver: (o, e) => e.root
@@ -600,7 +600,7 @@ const at = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), ut = (o) =
600
600
  borderStyle: "none"
601
601
  // Remove Firefox dotted outline.
602
602
  },
603
- [`&.${at.disabled}`]: {
603
+ [`&.${it.disabled}`]: {
604
604
  pointerEvents: "none",
605
605
  // Disable link interactions
606
606
  cursor: "default"
@@ -608,8 +608,8 @@ const at = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), ut = (o) =
608
608
  "@media print": {
609
609
  colorAdjust: "exact"
610
610
  }
611
- }), ct = /* @__PURE__ */ d.forwardRef(function(e, n) {
612
- const u = he({
611
+ }), at = /* @__PURE__ */ d.forwardRef(function(e, t) {
612
+ const a = fe({
613
613
  props: e,
614
614
  name: "MuiButtonBase"
615
615
  }), {
@@ -620,105 +620,105 @@ const at = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), ut = (o) =
620
620
  component: l = "button",
621
621
  disabled: f = !1,
622
622
  disableRipple: h = !1,
623
- disableTouchRipple: y = !1,
624
- focusRipple: g = !1,
623
+ disableTouchRipple: m = !1,
624
+ focusRipple: y = !1,
625
625
  focusVisibleClassName: D,
626
- LinkComponent: m = "a",
627
- onBlur: B,
628
- onClick: C,
626
+ LinkComponent: g = "a",
627
+ onBlur: w,
628
+ onClick: x,
629
629
  onContextMenu: j,
630
630
  onDragLeave: A,
631
631
  onFocus: F,
632
632
  onFocusVisible: c,
633
- onKeyDown: R,
634
- onKeyUp: M,
633
+ onKeyDown: T,
634
+ onKeyUp: R,
635
635
  onMouseDown: I,
636
- onMouseLeave: v,
636
+ onMouseLeave: B,
637
637
  onMouseUp: U,
638
- onTouchEnd: T,
638
+ onTouchEnd: E,
639
639
  onTouchMove: V,
640
- onTouchStart: S,
641
- tabIndex: x = 0,
642
- TouchRippleProps: w,
640
+ onTouchStart: v,
641
+ tabIndex: P = 0,
642
+ TouchRippleProps: S,
643
643
  touchRippleRef: z,
644
644
  type: L,
645
645
  ..._
646
- } = u, X = d.useRef(null), P = Qe(), ge = pe(P.ref, z), [O, K] = d.useState(!1);
646
+ } = a, X = d.useRef(null), b = Xe(), me = le(b.ref, z), [O, K] = d.useState(!1);
647
647
  f && O && K(!1), d.useImperativeHandle(i, () => ({
648
648
  focusVisible: () => {
649
649
  K(!0), X.current.focus();
650
650
  }
651
651
  }), []);
652
- const Me = P.shouldMount && !h && !f;
652
+ const be = b.shouldMount && !h && !f;
653
653
  d.useEffect(() => {
654
- O && g && !h && P.pulsate();
655
- }, [h, g, O, P]);
656
- function N(a, ae, Le = y) {
657
- return W((ue) => (ae && ae(ue), Le || P[a](ue), !0));
658
- }
659
- const ye = N("start", I), Re = N("stop", j), Te = N("stop", A), Ee = N("stop", U), Ce = N("stop", (a) => {
660
- O && a.preventDefault(), v && v(a);
661
- }), xe = N("start", S), Pe = N("stop", T), Ne = N("stop", V), De = N("stop", (a) => {
662
- fe(a.target) || K(!1), B && B(a);
663
- }, !1), Ve = W((a) => {
664
- X.current || (X.current = a.currentTarget), fe(a.target) && (K(!0), c && c(a)), F && F(a);
654
+ O && y && !h && b.pulsate();
655
+ }, [h, y, O, b]);
656
+ const ge = N(b, "start", I, m), Me = N(b, "stop", j, m), ye = N(b, "stop", A, m), Re = N(b, "stop", U, m), Te = N(b, "stop", (u) => {
657
+ O && u.preventDefault(), B && B(u);
658
+ }, m), Ee = N(b, "start", v, m), Ce = N(b, "stop", E, m), xe = N(b, "stop", V, m), Pe = N(b, "stop", (u) => {
659
+ ce(u.target) || K(!1), w && w(u);
660
+ }, !1), Ne = J((u) => {
661
+ X.current || (X.current = u.currentTarget), ce(u.target) && (K(!0), c && c(u)), F && F(u);
665
662
  }), Z = () => {
666
- const a = X.current;
667
- return l && l !== "button" && !(a.tagName === "A" && a.href);
668
- }, Se = W((a) => {
669
- g && !a.repeat && O && a.key === " " && P.stop(a, () => {
670
- P.start(a);
671
- }), a.target === a.currentTarget && Z() && a.key === " " && a.preventDefault(), R && R(a), a.target === a.currentTarget && Z() && a.key === "Enter" && !f && (a.preventDefault(), C && C(a));
672
- }), we = W((a) => {
673
- g && a.key === " " && O && !a.defaultPrevented && P.stop(a, () => {
674
- P.pulsate(a);
675
- }), M && M(a), C && a.target === a.currentTarget && Z() && a.key === " " && !a.defaultPrevented && C(a);
663
+ const u = X.current;
664
+ return l && l !== "button" && !(u.tagName === "A" && u.href);
665
+ }, De = J((u) => {
666
+ y && !u.repeat && O && u.key === " " && b.stop(u, () => {
667
+ b.start(u);
668
+ }), u.target === u.currentTarget && Z() && u.key === " " && u.preventDefault(), T && T(u), u.target === u.currentTarget && Z() && u.key === "Enter" && !f && (u.preventDefault(), x && x(u));
669
+ }), Ve = J((u) => {
670
+ y && u.key === " " && O && !u.defaultPrevented && b.stop(u, () => {
671
+ b.pulsate(u);
672
+ }), R && R(u), x && u.target === u.currentTarget && Z() && u.key === " " && !u.defaultPrevented && x(u);
676
673
  });
677
674
  let q = l;
678
- q === "button" && (_.href || _.to) && (q = m);
675
+ q === "button" && (_.href || _.to) && (q = g);
679
676
  const Y = {};
680
677
  q === "button" ? (Y.type = L === void 0 ? "button" : L, Y.disabled = f) : (!_.href && !_.to && (Y.role = "button"), f && (Y["aria-disabled"] = f));
681
- const Be = pe(n, X), se = {
682
- ...u,
678
+ const ve = le(t, X), se = {
679
+ ...a,
683
680
  centerRipple: r,
684
681
  component: l,
685
682
  disabled: f,
686
683
  disableRipple: h,
687
- disableTouchRipple: y,
688
- focusRipple: g,
689
- tabIndex: x,
684
+ disableTouchRipple: m,
685
+ focusRipple: y,
686
+ tabIndex: P,
690
687
  focusVisible: O
691
- }, ve = ut(se);
692
- return /* @__PURE__ */ Ie(lt, {
688
+ }, Se = rt(se);
689
+ return /* @__PURE__ */ ke(st, {
693
690
  as: q,
694
- className: E(ve.root, p),
691
+ className: C(Se.root, p),
695
692
  ownerState: se,
696
- onBlur: De,
697
- onClick: C,
698
- onContextMenu: Re,
699
- onFocus: Ve,
700
- onKeyDown: Se,
701
- onKeyUp: we,
702
- onMouseDown: ye,
703
- onMouseLeave: Ce,
704
- onMouseUp: Ee,
705
- onDragLeave: Te,
706
- onTouchEnd: Pe,
707
- onTouchMove: Ne,
708
- onTouchStart: xe,
709
- ref: Be,
710
- tabIndex: f ? -1 : x,
693
+ onBlur: Pe,
694
+ onClick: x,
695
+ onContextMenu: Me,
696
+ onFocus: Ne,
697
+ onKeyDown: De,
698
+ onKeyUp: Ve,
699
+ onMouseDown: ge,
700
+ onMouseLeave: Te,
701
+ onMouseUp: Re,
702
+ onDragLeave: ye,
703
+ onTouchEnd: Ce,
704
+ onTouchMove: xe,
705
+ onTouchStart: Ee,
706
+ ref: ve,
707
+ tabIndex: f ? -1 : P,
711
708
  type: L,
712
709
  ...Y,
713
710
  ..._,
714
- children: [s, Me ? /* @__PURE__ */ $(be, {
715
- ref: ge,
711
+ children: [s, be ? /* @__PURE__ */ $(he, {
712
+ ref: me,
716
713
  center: r,
717
- ...w
714
+ ...S
718
715
  }) : null]
719
716
  });
720
717
  });
721
- process.env.NODE_ENV !== "production" && (ct.propTypes = {
718
+ function N(o, e, t, a = !1) {
719
+ return J((i) => (t && t(i), a || o[e](i), !0));
720
+ }
721
+ process.env.NODE_ENV !== "production" && (at.propTypes = {
722
722
  // ┌────────────────────────────── Warning ──────────────────────────────┐
723
723
  // │ These PropTypes are generated from the TypeScript type definitions. │
724
724
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -727,35 +727,35 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
727
727
  * A ref for imperative actions.
728
728
  * It currently only supports `focusVisible()` action.
729
729
  */
730
- action: Ye,
730
+ action: _e,
731
731
  /**
732
732
  * If `true`, the ripples are centered.
733
733
  * They won't start at the cursor interaction position.
734
734
  * @default false
735
735
  */
736
- centerRipple: t.bool,
736
+ centerRipple: n.bool,
737
737
  /**
738
738
  * The content of the component.
739
739
  */
740
- children: t.node,
740
+ children: n.node,
741
741
  /**
742
742
  * Override or extend the styles applied to the component.
743
743
  */
744
- classes: t.object,
744
+ classes: n.object,
745
745
  /**
746
746
  * @ignore
747
747
  */
748
- className: t.string,
748
+ className: n.string,
749
749
  /**
750
750
  * The component used for the root node.
751
751
  * Either a string to use a HTML element or a component.
752
752
  */
753
- component: Ae,
753
+ component: ze,
754
754
  /**
755
755
  * If `true`, the component is disabled.
756
756
  * @default false
757
757
  */
758
- disabled: t.bool,
758
+ disabled: n.bool,
759
759
  /**
760
760
  * If `true`, the ripple effect is disabled.
761
761
  *
@@ -763,17 +763,17 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
763
763
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
764
764
  * @default false
765
765
  */
766
- disableRipple: t.bool,
766
+ disableRipple: n.bool,
767
767
  /**
768
768
  * If `true`, the touch ripple effect is disabled.
769
769
  * @default false
770
770
  */
771
- disableTouchRipple: t.bool,
771
+ disableTouchRipple: n.bool,
772
772
  /**
773
773
  * If `true`, the base button will have a keyboard focus ripple.
774
774
  * @default false
775
775
  */
776
- focusRipple: t.bool,
776
+ focusRipple: n.bool,
777
777
  /**
778
778
  * This prop can help identify which element has keyboard focus.
779
779
  * The class name will be applied when the element gains the focus through keyboard interaction.
@@ -782,102 +782,102 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
782
782
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
783
783
  * if needed.
784
784
  */
785
- focusVisibleClassName: t.string,
785
+ focusVisibleClassName: n.string,
786
786
  /**
787
787
  * @ignore
788
788
  */
789
- href: t.any,
789
+ href: n.any,
790
790
  /**
791
791
  * The component used to render a link when the `href` prop is provided.
792
792
  * @default 'a'
793
793
  */
794
- LinkComponent: t.elementType,
794
+ LinkComponent: n.elementType,
795
795
  /**
796
796
  * @ignore
797
797
  */
798
- onBlur: t.func,
798
+ onBlur: n.func,
799
799
  /**
800
800
  * @ignore
801
801
  */
802
- onClick: t.func,
802
+ onClick: n.func,
803
803
  /**
804
804
  * @ignore
805
805
  */
806
- onContextMenu: t.func,
806
+ onContextMenu: n.func,
807
807
  /**
808
808
  * @ignore
809
809
  */
810
- onDragLeave: t.func,
810
+ onDragLeave: n.func,
811
811
  /**
812
812
  * @ignore
813
813
  */
814
- onFocus: t.func,
814
+ onFocus: n.func,
815
815
  /**
816
816
  * Callback fired when the component is focused with a keyboard.
817
817
  * We trigger a `onFocus` callback too.
818
818
  */
819
- onFocusVisible: t.func,
819
+ onFocusVisible: n.func,
820
820
  /**
821
821
  * @ignore
822
822
  */
823
- onKeyDown: t.func,
823
+ onKeyDown: n.func,
824
824
  /**
825
825
  * @ignore
826
826
  */
827
- onKeyUp: t.func,
827
+ onKeyUp: n.func,
828
828
  /**
829
829
  * @ignore
830
830
  */
831
- onMouseDown: t.func,
831
+ onMouseDown: n.func,
832
832
  /**
833
833
  * @ignore
834
834
  */
835
- onMouseLeave: t.func,
835
+ onMouseLeave: n.func,
836
836
  /**
837
837
  * @ignore
838
838
  */
839
- onMouseUp: t.func,
839
+ onMouseUp: n.func,
840
840
  /**
841
841
  * @ignore
842
842
  */
843
- onTouchEnd: t.func,
843
+ onTouchEnd: n.func,
844
844
  /**
845
845
  * @ignore
846
846
  */
847
- onTouchMove: t.func,
847
+ onTouchMove: n.func,
848
848
  /**
849
849
  * @ignore
850
850
  */
851
- onTouchStart: t.func,
851
+ onTouchStart: n.func,
852
852
  /**
853
853
  * The system prop that allows defining system overrides as well as additional CSS styles.
854
854
  */
855
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
855
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
856
856
  /**
857
857
  * @default 0
858
858
  */
859
- tabIndex: t.number,
859
+ tabIndex: n.number,
860
860
  /**
861
861
  * Props applied to the `TouchRipple` element.
862
862
  */
863
- TouchRippleProps: t.object,
863
+ TouchRippleProps: n.object,
864
864
  /**
865
865
  * A ref that points to the `TouchRipple` element.
866
866
  */
867
- touchRippleRef: t.oneOfType([t.func, t.shape({
868
- current: t.shape({
869
- pulsate: t.func.isRequired,
870
- start: t.func.isRequired,
871
- stop: t.func.isRequired
867
+ touchRippleRef: n.oneOfType([n.func, n.shape({
868
+ current: n.shape({
869
+ pulsate: n.func.isRequired,
870
+ start: n.func.isRequired,
871
+ stop: n.func.isRequired
872
872
  })
873
873
  })]),
874
874
  /**
875
875
  * @ignore
876
876
  */
877
- type: t.oneOfType([t.oneOf(["button", "reset", "submit"]), t.string])
877
+ type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string])
878
878
  });
879
879
  export {
880
- ct as B,
880
+ at as B,
881
881
  re as T,
882
882
  ee as _
883
883
  };