@cgi-learning-hub/ui 1.3.5-dev.1736345385 → 1.3.5

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 (236) hide show
  1. package/dist/Backdrop-CvufxHMY.cjs +1 -0
  2. package/dist/{Backdrop-B78NPr0F.js → Backdrop-DcDd6WZF.js} +73 -70
  3. package/dist/{Box-BzbXlIpa.js → Box-Byz2BwGf.js} +3 -3
  4. package/dist/Box-mP2Th61z.cjs +1 -0
  5. package/dist/Button-BH9MUvmz.cjs +1 -0
  6. package/dist/{Button-By0vfP8J.js → Button-BnNYfQ3E.js} +153 -119
  7. package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
  8. package/dist/{ButtonBase-ZtXnS9gg.js → ButtonBase-DAWDecOk.js} +277 -277
  9. package/dist/{Card-CQBb4UMy.js → Card-AJG0TUOx.js} +3 -3
  10. package/dist/Card-NqCXQteq.cjs +1 -0
  11. package/dist/{Checkbox-CWN2YKNQ.js → Checkbox-8Rhxpkjl.js} +19 -18
  12. package/dist/Checkbox-DYrDbdy1.cjs +1 -0
  13. package/dist/CircularProgress-BByrCLjv.cjs +28 -0
  14. package/dist/{CircularProgress-B8D0BpDv.js → CircularProgress-Kwlef5fX.js} +14 -13
  15. package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
  16. package/dist/{DatePicker-D5Rf5NAr.js → DatePicker-BS1OatwQ.js} +2245 -2256
  17. package/dist/{DefaultPropsProvider-DS3RzjuS.cjs → DefaultPropsProvider-3KMGupjb.cjs} +3 -3
  18. package/dist/{DefaultPropsProvider-DEufUd_C.js → DefaultPropsProvider-CvJPQJmL.js} +20 -21
  19. package/dist/{Delete-DwpFA0q9.js → Delete-BkZN7Xu5.js} +1 -1
  20. package/dist/{Delete-DV3Q-OXQ.cjs → Delete-D1EiKoL5.cjs} +1 -1
  21. package/dist/{Dialog-CEC-r5SR.js → Dialog-D_lS4J_M.js} +16 -15
  22. package/dist/Dialog-yOrNcHbG.cjs +1 -0
  23. package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
  24. package/dist/{DialogContent-CmsuCpdK.js → DialogContent-uc65XOEU.js} +3 -3
  25. package/dist/DialogTitle-BboPDaoB.cjs +1 -0
  26. package/dist/{DialogTitle-CAsdh55l.js → DialogTitle-C8JOi-rq.js} +5 -5
  27. package/dist/Divider-CcrM3lNn.cjs +1 -0
  28. package/dist/{Divider-D8G4fS_W.js → Divider-KO-E6nU8.js} +4 -4
  29. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
  30. package/dist/{FormControlLabel-0Z4FgiQi.js → FormControlLabel-BmrKQtQA.js} +13 -12
  31. package/dist/{FormGroup-B6BQaLl5.js → FormGroup-CbczEc6e.js} +2 -2
  32. package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
  33. package/dist/{FormLabel-BljR05I0.js → FormLabel-CfR4bb21.js} +83 -80
  34. package/dist/FormLabel-D1uvEhsH.cjs +2 -0
  35. package/dist/{Grow-BknJanej.js → Grow-CQVPAYvp.js} +34 -37
  36. package/dist/Grow-CUBJs6WD.cjs +1 -0
  37. package/dist/IconButton-CJfzspZK.cjs +2 -0
  38. package/dist/{IconButton-C6hPeqXq.js → IconButton-CekuyD4r.js} +9 -8
  39. package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
  40. package/dist/{InputAdornment-DYe9bZdy.js → InputAdornment-iU5YnveW.js} +15 -15
  41. package/dist/{InputBase-bIxQpDEw.js → InputBase-BJy3wwFB.js} +24 -23
  42. package/dist/InputBase-s1fk8TB4.cjs +3 -0
  43. package/dist/Link-CWczkFp0.cjs +1 -0
  44. package/dist/{Link-69Y2GGzK.js → Link-CoQuUM0t.js} +11 -10
  45. package/dist/Menu-Bsx8PA-q.cjs +7 -0
  46. package/dist/{Menu-CrLJY61G.js → Menu-C7tKmcAh.js} +27 -26
  47. package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
  48. package/dist/{MenuItem-i8U9J9Ds.js → MenuItem-j8luVUcX.js} +6 -6
  49. package/dist/Modal-DImrEpYJ.cjs +2 -0
  50. package/dist/{Modal-Airm8V-9.js → Modal-brWBFdK7.js} +81 -82
  51. package/dist/{Paper-zmG6CtmU.js → Paper-BG4Vk_Um.js} +4 -4
  52. package/dist/Paper-Cr56xkCr.cjs +2 -0
  53. package/dist/{Popper-CQ0ZGqya.js → Popper-DFZ_gRev.js} +5 -5
  54. package/dist/Popper-YT5WAMV-.cjs +4 -0
  55. package/dist/Portal-DF0RKOcD.cjs +1 -0
  56. package/dist/{Portal-BSNCqu7q.js → Portal-JEwcozmp.js} +39 -34
  57. package/dist/Radio-CVAEGXKi.cjs +1 -0
  58. package/dist/{Radio-DAKlrqC8.js → Radio-DGhot3Cd.js} +16 -15
  59. package/dist/Select-CwAWNiiv.cjs +3 -0
  60. package/dist/{Select-B6NmIC6a.js → Select-DmssuG5M.js} +416 -424
  61. package/dist/{Stack-LOzokt50.js → Stack-BzTJdRGj.js} +105 -60
  62. package/dist/Stack-Yq6rb7iK.cjs +1 -0
  63. package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
  64. package/dist/{SwitchBase-CXvx1DtF.js → SwitchBase-Dlth5_F7.js} +23 -22
  65. package/dist/{TableSortLabel-C4rUHuBk.js → TableSortLabel-BsgRD4k4.js} +1706 -1808
  66. package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
  67. package/dist/{Tabs-DFlFghRY.js → Tabs-CYbeTnJk.js} +115 -113
  68. package/dist/Tabs-KG4VWw-1.cjs +4 -0
  69. package/dist/TextField-BI9KVqjC.cjs +1 -0
  70. package/dist/{TextField-B9Jog6CY.js → TextField-Cri5Gxa7.js} +20 -21
  71. package/dist/{Tooltip-zyIjqlzt.js → Tooltip-BhAHhzKz.js} +31 -30
  72. package/dist/Tooltip-DhDtvULK.cjs +4 -0
  73. package/dist/{Typography-DeEwslc2.js → Typography-DBwTr_ix.js} +39 -38
  74. package/dist/Typography-DfRMDngd.cjs +1 -0
  75. package/dist/capitalize-B3GG7Wn6.cjs +1 -0
  76. package/dist/capitalize-CkF8kU4n.js +9 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +140 -103
  79. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  80. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  81. package/dist/components/DatePicker/index.cjs.js +1 -1
  82. package/dist/components/DatePicker/index.es.js +1 -1
  83. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  84. package/dist/components/Dialog/Dialog.es.js +2 -2
  85. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  86. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  87. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  88. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  89. package/dist/components/FileList/FileList.cjs.js +1 -1
  90. package/dist/components/FileList/FileList.es.js +1 -1
  91. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  92. package/dist/components/FileList/FileListItem.es.js +7 -7
  93. package/dist/components/Heading/Heading.cjs.js +1 -1
  94. package/dist/components/Heading/Heading.es.js +2 -2
  95. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  96. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  97. package/dist/components/Loader/Loader.cjs.js +1 -1
  98. package/dist/components/Loader/Loader.es.js +1 -1
  99. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  100. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  101. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  102. package/dist/components/PasswordInput/PasswordInput.es.js +3 -3
  103. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  104. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  105. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  106. package/dist/components/TextInput/TextInput.es.js +1 -1
  107. package/dist/components/index.cjs.js +1 -1
  108. package/dist/components/index.es.js +31 -31
  109. package/dist/components/stories/Button.stories.cjs.js +1 -1
  110. package/dist/components/stories/Button.stories.es.js +1 -1
  111. package/dist/components/stories/Card.stories.cjs.js +1 -1
  112. package/dist/components/stories/Card.stories.es.js +4 -4
  113. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  114. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  115. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  116. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  117. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  118. package/dist/components/stories/Dialog.stories.es.js +2 -2
  119. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  120. package/dist/components/stories/Divider.stories.es.js +1 -1
  121. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  122. package/dist/components/stories/FormControlLabel.stories.es.js +20 -19
  123. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  124. package/dist/components/stories/Heading.stories.es.js +2 -2
  125. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  126. package/dist/components/stories/IconButton.stories.es.js +2 -2
  127. package/dist/components/stories/Link.stories.cjs.js +1 -1
  128. package/dist/components/stories/Link.stories.es.js +1 -1
  129. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  130. package/dist/components/stories/Menu.stories.es.js +2 -2
  131. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  132. package/dist/components/stories/Paper.stories.es.js +1 -1
  133. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  134. package/dist/components/stories/RadioGroup.stories.es.js +6 -6
  135. package/dist/components/stories/Select.stories.cjs.js +1 -1
  136. package/dist/components/stories/Select.stories.es.js +3 -3
  137. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  138. package/dist/components/stories/TabList.stories.es.js +4 -4
  139. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  140. package/dist/components/stories/TextField.stories.es.js +1 -1
  141. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  142. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  143. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  144. package/dist/components/stories/Typography.stories.es.js +1 -1
  145. package/dist/createSvgIcon--rEClVU7.cjs +1 -0
  146. package/dist/{createSvgIcon-DCcHNe8S.js → createSvgIcon-C8nGcfF4.js} +41 -40
  147. package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
  148. package/dist/{dividerClasses-BIQl1sXf.js → dividerClasses-nh2-hkQB.js} +1 -1
  149. package/dist/{elementTypeAcceptingRef-C9ErcCVk.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
  150. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
  151. package/dist/{extendSxProp-BtWdisVp.js → extendSxProp-C2ff0oGc.js} +1 -1
  152. package/dist/extendSxProp-apyK-EBz.cjs +1 -0
  153. package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
  154. package/dist/{identifier-DuQ8Gjnk.js → generateUtilityClasses-Bssl7BA_.js} +811 -781
  155. package/dist/hooks/lazySvgImport.d.ts +1 -1
  156. package/dist/index-Aa73Kpym.cjs +1 -0
  157. package/dist/{index-CvvRovRe.js → index-BCnPLuqJ.js} +4 -4
  158. package/dist/index-ChM1Ett8.cjs +5 -0
  159. package/dist/index-Cw0GDedk.cjs +17 -0
  160. package/dist/{index-BrVfbiqv.js → index-CwvpOCso.js} +29 -29
  161. package/dist/index-DXD5J5Eu.js +186 -0
  162. package/dist/index.cjs.js +1 -1
  163. package/dist/index.es.js +31 -31
  164. package/dist/{memoTheme-BBurdur9.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
  165. package/dist/{memoTheme-BX806g-H.js → memoTheme-D7Fyh_3C.js} +1 -1
  166. package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
  167. package/dist/{resolveComponentProps-BsjDgxuc.js → mergeSlotProps-tUJEcwVu.js} +7 -7
  168. package/dist/refType-CoaxQOPt.cjs +1 -0
  169. package/dist/{refType-Bj5oVmPL.js → refType-DKYKROQk.js} +1 -1
  170. package/dist/useSlot-BTpHG6jf.js +50 -0
  171. package/dist/useSlot-CByalpSD.cjs +1 -0
  172. package/dist/{index-Bh3yiNTb.js → useSlotProps-B31YQlzb.js} +26 -26
  173. package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
  174. package/dist/useTheme-Cy5kyKJF.cjs +1 -0
  175. package/dist/useTheme-Dukx-__T.cjs +1 -0
  176. package/dist/useTheme-DyaNKf4e.js +11 -0
  177. package/dist/{useTheme-Btccn2RE.js → useTheme-_xyy-wul.js} +1 -1
  178. package/dist/{useThemeProps-DkiiJVq2.js → useThemeProps-BySkSe-M.js} +2 -2
  179. package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
  180. package/dist/{useThemeProps-SHbptCB5.js → useThemeProps-CwEQ4bv2.js} +3 -3
  181. package/dist/{useThemeProps-H1IpEt-K.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
  182. package/dist/{utils-CAhqvD6J.js → utils-C6c4fj7D.js} +41 -41
  183. package/dist/utils-vmyQ2IaS.cjs +1 -0
  184. package/package.json +9 -9
  185. package/dist/Backdrop-CGpJR5Hl.cjs +0 -1
  186. package/dist/Box-DjTF7J_q.cjs +0 -1
  187. package/dist/Button-D3qGoavT.cjs +0 -1
  188. package/dist/ButtonBase-CL4z-tXi.cjs +0 -74
  189. package/dist/Card-DVvNw_iY.cjs +0 -1
  190. package/dist/Checkbox-V6OQIwlV.cjs +0 -1
  191. package/dist/CircularProgress-Cgy3S9U3.cjs +0 -28
  192. package/dist/DatePicker-BPbdIoL9.cjs +0 -14
  193. package/dist/Dialog-BydVKebY.cjs +0 -1
  194. package/dist/DialogContent-BK2ayZAZ.cjs +0 -1
  195. package/dist/DialogTitle-BOT7MPXD.cjs +0 -1
  196. package/dist/Divider-tJEWvRjW.cjs +0 -1
  197. package/dist/FormControlLabel-B3aVcND9.cjs +0 -1
  198. package/dist/FormGroup-CaIWje6a.cjs +0 -1
  199. package/dist/FormLabel-cfHljFCc.cjs +0 -2
  200. package/dist/Grow-CTl1xcRO.cjs +0 -1
  201. package/dist/IconButton-DLqUtTTS.cjs +0 -2
  202. package/dist/InputAdornment-C-w19sIO.cjs +0 -1
  203. package/dist/InputBase-BNmBX1sj.cjs +0 -3
  204. package/dist/Link-CbFN--su.cjs +0 -1
  205. package/dist/Menu-CDKB-4vE.cjs +0 -7
  206. package/dist/MenuItem-Cz_afi4Z.cjs +0 -1
  207. package/dist/Modal-CAWPr5pr.cjs +0 -2
  208. package/dist/Paper-D7GaBTFY.cjs +0 -2
  209. package/dist/Popper-PxC5lBvF.cjs +0 -4
  210. package/dist/Portal-Cw7h9YXi.cjs +0 -1
  211. package/dist/Radio-D8JzkZ7R.cjs +0 -1
  212. package/dist/Select-D3AUyBzT.cjs +0 -3
  213. package/dist/Stack-ChAD7MBi.cjs +0 -1
  214. package/dist/SwitchBase-C9eGMRmU.cjs +0 -1
  215. package/dist/TableSortLabel-BJ0u2uA5.cjs +0 -98
  216. package/dist/Tabs-CSXp7psk.cjs +0 -4
  217. package/dist/TextField-dzDYEheV.cjs +0 -1
  218. package/dist/Tooltip-Dxitr7Ef.cjs +0 -4
  219. package/dist/Typography-Bwmxx4FZ.cjs +0 -1
  220. package/dist/createSvgIcon-B-TuJjUa.cjs +0 -1
  221. package/dist/dividerClasses-gUm5VAyT.cjs +0 -1
  222. package/dist/elementTypeAcceptingRef-BpVcc71P.cjs +0 -1
  223. package/dist/extendSxProp-RlEfz15o.cjs +0 -1
  224. package/dist/identifier-wZ6XDHde.cjs +0 -59
  225. package/dist/index-BtBEUHyX.cjs +0 -5
  226. package/dist/index-Cwbb61M9.cjs +0 -1
  227. package/dist/index-DGoTWEZ6.cjs +0 -1
  228. package/dist/refType-CqcE23ld.cjs +0 -1
  229. package/dist/resolveComponentProps-CwoUNybl.cjs +0 -1
  230. package/dist/useSlot-CcIPcgkB.cjs +0 -1
  231. package/dist/useSlot-D3Bt2dZB.js +0 -44
  232. package/dist/useTheme-C7xxleiU.cjs +0 -1
  233. package/dist/useTheme-CVDdFPAV.js +0 -11
  234. package/dist/useTheme-DZ8a53P0.cjs +0 -1
  235. package/dist/useThemeProps-BZX2pbh5.cjs +0 -1
  236. package/dist/utils-DWiPKWpw.cjs +0 -1
@@ -1,92 +1,92 @@
1
- var Be = Object.defineProperty;
2
- var ve = (o, e, t) => e in o ? Be(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var ae = (o, e, t) => ve(o, typeof e != "symbol" ? e + "" : e, t);
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);
4
4
  import * as d from "react";
5
- import H, { Children as Le, isValidElement as W, cloneElement as G } from "react";
6
- import { P as n, G as C, I as pe, H as Oe } from "./identifier-DuQ8Gjnk.js";
7
- import { jsx as $, jsxs as ke } from "react/jsx-runtime";
8
- import { s as ne, u as fe, c as je } from "./DefaultPropsProvider-DEufUd_C.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-DMJLhY9-.js";
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";
11
11
  import { keyframes as oe } from "@emotion/react";
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 { r as ze } from "./refType-Bj5oVmPL.js";
16
- import { e as _e } from "./elementTypeAcceptingRef-C9ErcCVk.js";
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";
17
17
  function ee() {
18
18
  return ee = Object.assign ? Object.assign.bind() : function(o) {
19
19
  for (var e = 1; e < arguments.length; e++) {
20
- var t = arguments[e];
21
- for (var a in t) ({}).hasOwnProperty.call(t, a) && (o[a] = t[a]);
20
+ var n = arguments[e];
21
+ for (var u in n) ({}).hasOwnProperty.call(n, u) && (o[u] = n[u]);
22
22
  }
23
23
  return o;
24
24
  }, ee.apply(null, arguments);
25
25
  }
26
- function Xe(o) {
26
+ function Ke(o) {
27
27
  if (o === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
28
28
  return o;
29
29
  }
30
30
  function ie(o, e) {
31
- var t = function(r) {
32
- return e && W(r) ? e(r) : r;
33
- }, a = /* @__PURE__ */ Object.create(null);
34
- return o && Le.map(o, function(i) {
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) {
35
35
  return i;
36
36
  }).forEach(function(i) {
37
- a[i.key] = t(i);
38
- }), a;
37
+ u[i.key] = n(i);
38
+ }), u;
39
39
  }
40
- function Ye(o, e) {
40
+ function qe(o, e) {
41
41
  o = o || {}, e = e || {};
42
- function t(h) {
42
+ function n(h) {
43
43
  return h in e ? e[h] : o[h];
44
44
  }
45
- var a = /* @__PURE__ */ Object.create(null), i = [];
45
+ var u = /* @__PURE__ */ Object.create(null), i = [];
46
46
  for (var r in o)
47
- r in e ? i.length && (a[r] = i, i = []) : i.push(r);
47
+ r in e ? i.length && (u[r] = i, i = []) : i.push(r);
48
48
  var s, p = {};
49
49
  for (var l in e) {
50
- if (a[l])
51
- for (s = 0; s < a[l].length; s++) {
52
- var f = a[l][s];
53
- p[a[l][s]] = t(f);
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);
54
54
  }
55
- p[l] = t(l);
55
+ p[l] = n(l);
56
56
  }
57
57
  for (s = 0; s < i.length; s++)
58
- p[i[s]] = t(i[s]);
58
+ p[i[s]] = n(i[s]);
59
59
  return p;
60
60
  }
61
- function k(o, e, t) {
62
- return t[e] != null ? t[e] : o.props[e];
61
+ function k(o, e, n) {
62
+ return n[e] != null ? n[e] : o.props[e];
63
63
  }
64
- function Ae(o, e) {
65
- return ie(o.children, function(t) {
66
- return G(t, {
67
- onExited: e.bind(null, t),
64
+ function He(o, e) {
65
+ return ie(o.children, function(n) {
66
+ return J(n, {
67
+ onExited: e.bind(null, n),
68
68
  in: !0,
69
- appear: k(t, "appear", o),
70
- enter: k(t, "enter", o),
71
- exit: k(t, "exit", o)
69
+ appear: k(n, "appear", o),
70
+ enter: k(n, "enter", o),
71
+ exit: k(n, "exit", o)
72
72
  });
73
73
  });
74
74
  }
75
- function Ke(o, e, t) {
76
- var a = ie(o.children), i = Ye(e, a);
75
+ function We(o, e, n) {
76
+ var u = ie(o.children), i = qe(e, u);
77
77
  return Object.keys(i).forEach(function(r) {
78
78
  var s = i[r];
79
- if (W(s)) {
80
- var p = r in e, l = r in a, f = e[r], h = W(f) && !f.props.in;
81
- l && (!p || h) ? i[r] = G(s, {
82
- onExited: t.bind(null, s),
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),
83
83
  in: !0,
84
84
  exit: k(s, "exit", o),
85
85
  enter: k(s, "enter", o)
86
- }) : !l && p && !h ? i[r] = G(s, {
86
+ }) : !l && p && !h ? i[r] = J(s, {
87
87
  in: !1
88
- }) : l && p && W(f) && (i[r] = G(s, {
89
- onExited: t.bind(null, s),
88
+ }) : l && p && G(f) && (i[r] = J(s, {
89
+ onExited: n.bind(null, s),
90
90
  in: f.props.in,
91
91
  exit: k(s, "exit", o),
92
92
  enter: k(s, "enter", o)
@@ -94,21 +94,21 @@ function Ke(o, e, t) {
94
94
  }
95
95
  }), i;
96
96
  }
97
- var qe = Object.values || function(o) {
97
+ var Ge = Object.values || function(o) {
98
98
  return Object.keys(o).map(function(e) {
99
99
  return o[e];
100
100
  });
101
- }, He = {
101
+ }, Je = {
102
102
  component: "div",
103
103
  childFactory: function(e) {
104
104
  return e;
105
105
  }
106
106
  }, re = /* @__PURE__ */ function(o) {
107
- $e(e, o);
108
- function e(a, i) {
107
+ _e(e, o);
108
+ function e(u, i) {
109
109
  var r;
110
- r = o.call(this, a, i) || this;
111
- var s = r.handleExited.bind(Xe(r));
110
+ r = o.call(this, u, i) || this;
111
+ var s = r.handleExited.bind(Ke(r));
112
112
  return r.state = {
113
113
  contextValue: {
114
114
  isMounting: !0
@@ -117,22 +117,22 @@ var qe = Object.values || function(o) {
117
117
  firstRender: !0
118
118
  }, r;
119
119
  }
120
- var t = e.prototype;
121
- return t.componentDidMount = function() {
120
+ var n = e.prototype;
121
+ return n.componentDidMount = function() {
122
122
  this.mounted = !0, this.setState({
123
123
  contextValue: {
124
124
  isMounting: !1
125
125
  }
126
126
  });
127
- }, t.componentWillUnmount = function() {
127
+ }, n.componentWillUnmount = function() {
128
128
  this.mounted = !1;
129
129
  }, e.getDerivedStateFromProps = function(i, r) {
130
130
  var s = r.children, p = r.handleExited, l = r.firstRender;
131
131
  return {
132
- children: l ? Ae(i, p) : Ke(i, s, p),
132
+ children: l ? He(i, p) : We(i, s, p),
133
133
  firstRender: !1
134
134
  };
135
- }, t.handleExited = function(i, r) {
135
+ }, n.handleExited = function(i, r) {
136
136
  var s = ie(this.props.children);
137
137
  i.key in s || (i.props.onExited && i.props.onExited(r), this.mounted && this.setState(function(p) {
138
138
  var l = ee({}, p.children);
@@ -140,11 +140,11 @@ var qe = Object.values || function(o) {
140
140
  children: l
141
141
  };
142
142
  }));
143
- }, t.render = function() {
144
- var i = this.props, r = i.component, s = i.childFactory, p = Ue(i, ["component", "childFactory"]), l = this.state.contextValue, f = qe(this.state.children).map(s);
145
- return delete p.appear, delete p.enter, delete p.exit, r === null ? /* @__PURE__ */ H.createElement(ue.Provider, {
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, {
146
146
  value: l
147
- }, f) : /* @__PURE__ */ H.createElement(ue.Provider, {
147
+ }, f) : /* @__PURE__ */ H.createElement(ce.Provider, {
148
148
  value: l
149
149
  }, /* @__PURE__ */ H.createElement(r, p, f));
150
150
  }, e;
@@ -157,7 +157,7 @@ re.propTypes = process.env.NODE_ENV !== "production" ? {
157
157
  * you can pass in `component={null}`. This is useful if the wrapping div
158
158
  * borks your css styles.
159
159
  */
160
- component: n.any,
160
+ component: t.any,
161
161
  /**
162
162
  * A set of `<Transition>` components, that are toggled `in` and out as they
163
163
  * leave. the `<TransitionGroup>` will inject specific transition props, so
@@ -171,25 +171,25 @@ re.propTypes = process.env.NODE_ENV !== "production" ? {
171
171
  * the transition child as you change its content, this will cause
172
172
  * `TransitionGroup` to transition the child out and back in.
173
173
  */
174
- children: n.node,
174
+ children: t.node,
175
175
  /**
176
176
  * A convenience prop that enables or disables appear animations
177
177
  * for all children. Note that specifying this will override any defaults set
178
178
  * on individual children Transitions.
179
179
  */
180
- appear: n.bool,
180
+ appear: t.bool,
181
181
  /**
182
182
  * A convenience prop that enables or disables enter animations
183
183
  * for all children. Note that specifying this will override any defaults set
184
184
  * on individual children Transitions.
185
185
  */
186
- enter: n.bool,
186
+ enter: t.bool,
187
187
  /**
188
188
  * A convenience prop that enables or disables exit animations
189
189
  * for all children. Note that specifying this will override any defaults set
190
190
  * on individual children Transitions.
191
191
  */
192
- exit: n.bool,
192
+ exit: t.bool,
193
193
  /**
194
194
  * You may need to apply reactive updates to a child as it is exiting.
195
195
  * This is generally done by using `cloneElement` however in the case of an exiting
@@ -200,12 +200,12 @@ re.propTypes = process.env.NODE_ENV !== "production" ? {
200
200
  *
201
201
  * @type Function(child: ReactElement) -> ReactElement
202
202
  */
203
- childFactory: n.func
203
+ childFactory: t.func
204
204
  } : {};
205
- re.defaultProps = He;
205
+ re.defaultProps = Je;
206
206
  class Q {
207
207
  constructor() {
208
- ae(this, "mountEffect", () => {
208
+ le(this, "mountEffect", () => {
209
209
  this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
210
210
  });
211
211
  this.ref = {
@@ -221,60 +221,60 @@ class Q {
221
221
  return new Q();
222
222
  }
223
223
  static use() {
224
- const e = Fe(Q.create).current, [t, a] = d.useState(!1);
225
- return e.shouldMount = t, e.setShouldMount = a, d.useEffect(e.mountEffect, [t]), e;
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
226
  }
227
227
  mount() {
228
- return this.mounted || (this.mounted = Ge(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
228
+ return this.mounted || (this.mounted = Ze(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
229
229
  }
230
230
  /* Ripple API */
231
231
  start(...e) {
232
232
  this.mount().then(() => {
233
- var t;
234
- return (t = this.ref.current) == null ? void 0 : t.start(...e);
233
+ var n;
234
+ return (n = this.ref.current) == null ? void 0 : n.start(...e);
235
235
  });
236
236
  }
237
237
  stop(...e) {
238
238
  this.mount().then(() => {
239
- var t;
240
- return (t = this.ref.current) == null ? void 0 : t.stop(...e);
239
+ var n;
240
+ return (n = this.ref.current) == null ? void 0 : n.stop(...e);
241
241
  });
242
242
  }
243
243
  pulsate(...e) {
244
244
  this.mount().then(() => {
245
- var t;
246
- return (t = this.ref.current) == null ? void 0 : t.pulsate(...e);
245
+ var n;
246
+ return (n = this.ref.current) == null ? void 0 : n.pulsate(...e);
247
247
  });
248
248
  }
249
249
  }
250
- function We() {
250
+ function Qe() {
251
251
  return Q.use();
252
252
  }
253
- function Ge() {
253
+ function Ze() {
254
254
  let o, e;
255
- const t = new Promise((a, i) => {
256
- o = a, e = i;
255
+ const n = new Promise((u, i) => {
256
+ o = u, e = i;
257
257
  });
258
- return t.resolve = o, t.reject = e, t;
258
+ return n.resolve = o, n.reject = e, n;
259
259
  }
260
- function de(o) {
260
+ function me(o) {
261
261
  const {
262
262
  className: e,
263
- classes: t,
264
- pulsate: a = !1,
263
+ classes: n,
264
+ pulsate: u = !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, m] = d.useState(!1), y = C(e, t.ripple, t.rippleVisible, a && t.ripplePulsate), D = {
271
+ } = o, [h, y] = d.useState(!1), g = E(e, n.ripple, n.rippleVisible, u && n.ripplePulsate), D = {
272
272
  width: s,
273
273
  height: s,
274
274
  top: -(s / 2) + r,
275
275
  left: -(s / 2) + i
276
- }, g = C(t.child, h && t.childLeaving, a && t.childPulsate);
277
- return !p && !h && m(!0), d.useEffect(() => {
276
+ }, m = E(n.child, h && n.childLeaving, u && n.childPulsate);
277
+ return !p && !h && y(!0), d.useEffect(() => {
278
278
  if (!p && l != null) {
279
279
  const B = setTimeout(l, f);
280
280
  return () => {
@@ -282,49 +282,49 @@ function de(o) {
282
282
  };
283
283
  }
284
284
  }, [l, p, f]), /* @__PURE__ */ $("span", {
285
- className: y,
285
+ className: g,
286
286
  style: D,
287
287
  children: /* @__PURE__ */ $("span", {
288
- className: g
288
+ className: m
289
289
  })
290
290
  });
291
291
  }
292
- process.env.NODE_ENV !== "production" && (de.propTypes = {
292
+ process.env.NODE_ENV !== "production" && (me.propTypes = {
293
293
  /**
294
294
  * Override or extend the styles applied to the component.
295
295
  */
296
- classes: n.object.isRequired,
297
- className: n.string,
296
+ classes: t.object.isRequired,
297
+ className: t.string,
298
298
  /**
299
299
  * @ignore - injected from TransitionGroup
300
300
  */
301
- in: n.bool,
301
+ in: t.bool,
302
302
  /**
303
303
  * @ignore - injected from TransitionGroup
304
304
  */
305
- onExited: n.func,
305
+ onExited: t.func,
306
306
  /**
307
307
  * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
308
308
  */
309
- pulsate: n.bool,
309
+ pulsate: t.bool,
310
310
  /**
311
311
  * Diameter of the ripple.
312
312
  */
313
- rippleSize: n.number,
313
+ rippleSize: t.number,
314
314
  /**
315
315
  * Horizontal position of the ripple center.
316
316
  */
317
- rippleX: n.number,
317
+ rippleX: t.number,
318
318
  /**
319
319
  * Vertical position of the ripple center.
320
320
  */
321
- rippleY: n.number,
321
+ rippleY: t.number,
322
322
  /**
323
323
  * exit delay
324
324
  */
325
- timeout: n.number.isRequired
325
+ timeout: t.number.isRequired
326
326
  });
327
- const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), te = 550, Je = 80, Qe = oe`
327
+ const b = de("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), te = 550, et = 80, tt = oe`
328
328
  0% {
329
329
  transform: scale(0);
330
330
  opacity: 0.1;
@@ -334,7 +334,7 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
334
334
  transform: scale(1);
335
335
  opacity: 0.3;
336
336
  }
337
- `, Ze = oe`
337
+ `, nt = oe`
338
338
  0% {
339
339
  opacity: 1;
340
340
  }
@@ -342,7 +342,7 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
342
342
  100% {
343
343
  opacity: 0;
344
344
  }
345
- `, et = oe`
345
+ `, ot = oe`
346
346
  0% {
347
347
  transform: scale(1);
348
348
  }
@@ -354,7 +354,7 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
354
354
  100% {
355
355
  transform: scale(1);
356
356
  }
357
- `, tt = ne("span", {
357
+ `, it = ne("span", {
358
358
  name: "MuiTouchRipple",
359
359
  slot: "Root"
360
360
  })({
@@ -367,30 +367,30 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
367
367
  bottom: 0,
368
368
  left: 0,
369
369
  borderRadius: "inherit"
370
- }), nt = ne(de, {
370
+ }), rt = ne(me, {
371
371
  name: "MuiTouchRipple",
372
372
  slot: "Ripple"
373
373
  })`
374
374
  opacity: 0;
375
375
  position: absolute;
376
376
 
377
- &.${M.rippleVisible} {
377
+ &.${b.rippleVisible} {
378
378
  opacity: 0.3;
379
379
  transform: scale(1);
380
- animation-name: ${Qe};
380
+ animation-name: ${tt};
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
- &.${M.ripplePulsate} {
387
+ &.${b.ripplePulsate} {
388
388
  animation-duration: ${({
389
389
  theme: o
390
390
  }) => o.transitions.duration.shorter}ms;
391
391
  }
392
392
 
393
- & .${M.child} {
393
+ & .${b.child} {
394
394
  opacity: 1;
395
395
  display: block;
396
396
  width: 100%;
@@ -399,21 +399,21 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
399
399
  background-color: currentColor;
400
400
  }
401
401
 
402
- & .${M.childLeaving} {
402
+ & .${b.childLeaving} {
403
403
  opacity: 0;
404
- animation-name: ${Ze};
404
+ animation-name: ${nt};
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
- & .${M.childPulsate} {
411
+ & .${b.childPulsate} {
412
412
  position: absolute;
413
413
  /* @noflip */
414
414
  left: 0px;
415
415
  top: 0;
416
- animation-name: ${et};
416
+ animation-name: ${ot};
417
417
  animation-duration: 2500ms;
418
418
  animation-timing-function: ${({
419
419
  theme: o
@@ -421,8 +421,8 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
421
421
  animation-iteration-count: infinite;
422
422
  animation-delay: 200ms;
423
423
  }
424
- `, he = /* @__PURE__ */ d.forwardRef(function(e, t) {
425
- const a = fe({
424
+ `, be = /* @__PURE__ */ d.forwardRef(function(e, n) {
425
+ const u = he({
426
426
  props: e,
427
427
  name: "MuiTouchRipple"
428
428
  }), {
@@ -430,104 +430,104 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
430
430
  classes: r = {},
431
431
  className: s,
432
432
  ...p
433
- } = a, [l, f] = d.useState([]), h = d.useRef(0), m = d.useRef(null);
433
+ } = u, [l, f] = d.useState([]), h = d.useRef(0), y = d.useRef(null);
434
434
  d.useEffect(() => {
435
- m.current && (m.current(), m.current = null);
435
+ y.current && (y.current(), y.current = null);
436
436
  }, [l]);
437
- const y = d.useRef(!1), D = Ie(), g = d.useRef(null), B = d.useRef(null), x = d.useCallback((c) => {
437
+ const g = d.useRef(!1), D = ze(), m = d.useRef(null), B = d.useRef(null), C = d.useCallback((c) => {
438
438
  const {
439
- pulsate: T,
440
- rippleX: R,
439
+ pulsate: R,
440
+ rippleX: M,
441
441
  rippleY: I,
442
442
  rippleSize: v,
443
443
  cb: U
444
444
  } = c;
445
- f((E) => [...E, /* @__PURE__ */ $(nt, {
445
+ f((T) => [...T, /* @__PURE__ */ $(rt, {
446
446
  classes: {
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)
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)
453
453
  },
454
454
  timeout: te,
455
- pulsate: T,
456
- rippleX: R,
455
+ pulsate: R,
456
+ rippleX: M,
457
457
  rippleY: I,
458
458
  rippleSize: v
459
- }, h.current)]), h.current += 1, m.current = U;
460
- }, [r]), j = d.useCallback((c = {}, T = {}, R = () => {
459
+ }, h.current)]), h.current += 1, y.current = U;
460
+ }, [r]), j = d.useCallback((c = {}, R = {}, M = () => {
461
461
  }) => {
462
462
  const {
463
463
  pulsate: I = !1,
464
- center: v = i || T.pulsate,
464
+ center: v = i || R.pulsate,
465
465
  fakeElement: U = !1
466
466
  // For test purposes
467
- } = T;
468
- if ((c == null ? void 0 : c.type) === "mousedown" && y.current) {
469
- y.current = !1;
467
+ } = R;
468
+ if ((c == null ? void 0 : c.type) === "mousedown" && g.current) {
469
+ g.current = !1;
470
470
  return;
471
471
  }
472
- (c == null ? void 0 : c.type) === "touchstart" && (y.current = !0);
473
- const E = U ? null : B.current, V = E ? E.getBoundingClientRect() : {
472
+ (c == null ? void 0 : c.type) === "touchstart" && (g.current = !0);
473
+ const T = U ? null : B.current, V = T ? T.getBoundingClientRect() : {
474
474
  width: 0,
475
475
  height: 0,
476
476
  left: 0,
477
477
  top: 0
478
478
  };
479
- let S, P, w;
479
+ let S, x, w;
480
480
  if (v || c === void 0 || c.clientX === 0 && c.clientY === 0 || !c.clientX && !c.touches)
481
- S = Math.round(V.width / 2), P = Math.round(V.height / 2);
481
+ S = Math.round(V.width / 2), x = 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), P = Math.round(L - V.top);
487
+ S = Math.round(z - V.left), x = Math.round(L - V.top);
488
488
  }
489
489
  if (v)
490
490
  w = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), w % 2 === 0 && (w += 1);
491
491
  else {
492
- const z = Math.max(Math.abs((E ? E.clientWidth : 0) - S), S) * 2 + 2, L = Math.max(Math.abs((E ? E.clientHeight : 0) - P), P) * 2 + 2;
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
493
  w = Math.sqrt(z ** 2 + L ** 2);
494
494
  }
495
- c != null && c.touches ? g.current === null && (g.current = () => {
496
- x({
495
+ c != null && c.touches ? m.current === null && (m.current = () => {
496
+ C({
497
497
  pulsate: I,
498
498
  rippleX: S,
499
- rippleY: P,
499
+ rippleY: x,
500
500
  rippleSize: w,
501
- cb: R
501
+ cb: M
502
502
  });
503
- }, D.start(Je, () => {
504
- g.current && (g.current(), g.current = null);
505
- })) : x({
503
+ }, D.start(et, () => {
504
+ m.current && (m.current(), m.current = null);
505
+ })) : C({
506
506
  pulsate: I,
507
507
  rippleX: S,
508
- rippleY: P,
508
+ rippleY: x,
509
509
  rippleSize: w,
510
- cb: R
510
+ cb: M
511
511
  });
512
- }, [i, x, D]), A = d.useCallback(() => {
512
+ }, [i, C, D]), A = d.useCallback(() => {
513
513
  j({}, {
514
514
  pulsate: !0
515
515
  });
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);
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);
520
520
  });
521
521
  return;
522
522
  }
523
- g.current = null, f((R) => R.length > 0 ? R.slice(1) : R), m.current = T;
523
+ m.current = null, f((M) => M.length > 0 ? M.slice(1) : M), y.current = R;
524
524
  }, [D]);
525
- return d.useImperativeHandle(t, () => ({
525
+ return d.useImperativeHandle(n, () => ({
526
526
  pulsate: A,
527
527
  start: j,
528
528
  stop: F
529
- }), [A, j, F]), /* @__PURE__ */ $(tt, {
530
- className: C(M.root, r.root, s),
529
+ }), [A, j, F]), /* @__PURE__ */ $(it, {
530
+ className: E(b.root, r.root, s),
531
531
  ref: B,
532
532
  ...p,
533
533
  children: /* @__PURE__ */ $(re, {
@@ -537,35 +537,35 @@ const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
537
537
  })
538
538
  });
539
539
  });
540
- process.env.NODE_ENV !== "production" && (he.propTypes = {
540
+ process.env.NODE_ENV !== "production" && (be.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: n.bool,
545
+ center: t.bool,
546
546
  /**
547
547
  * Override or extend the styles applied to the component.
548
548
  */
549
- classes: n.object,
549
+ classes: t.object,
550
550
  /**
551
551
  * @ignore
552
552
  */
553
- className: n.string
553
+ className: t.string
554
554
  });
555
- function ot(o) {
556
- return Oe("MuiButtonBase", o);
555
+ function st(o) {
556
+ return Fe("MuiButtonBase", o);
557
557
  }
558
- const it = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), rt = (o) => {
558
+ const at = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), ut = (o) => {
559
559
  const {
560
560
  disabled: e,
561
- focusVisible: t,
562
- focusVisibleClassName: a,
561
+ focusVisible: n,
562
+ focusVisibleClassName: u,
563
563
  classes: i
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", {
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", {
569
569
  name: "MuiButtonBase",
570
570
  slot: "Root",
571
571
  overridesResolver: (o, e) => e.root
@@ -600,7 +600,7 @@ const it = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), rt = (o) =
600
600
  borderStyle: "none"
601
601
  // Remove Firefox dotted outline.
602
602
  },
603
- [`&.${it.disabled}`]: {
603
+ [`&.${at.disabled}`]: {
604
604
  pointerEvents: "none",
605
605
  // Disable link interactions
606
606
  cursor: "default"
@@ -608,8 +608,8 @@ const it = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), rt = (o) =
608
608
  "@media print": {
609
609
  colorAdjust: "exact"
610
610
  }
611
- }), at = /* @__PURE__ */ d.forwardRef(function(e, t) {
612
- const a = fe({
611
+ }), ct = /* @__PURE__ */ d.forwardRef(function(e, n) {
612
+ const u = he({
613
613
  props: e,
614
614
  name: "MuiButtonBase"
615
615
  }), {
@@ -620,105 +620,105 @@ const it = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), rt = (o) =
620
620
  component: l = "button",
621
621
  disabled: f = !1,
622
622
  disableRipple: h = !1,
623
- disableTouchRipple: m = !1,
624
- focusRipple: y = !1,
623
+ disableTouchRipple: y = !1,
624
+ focusRipple: g = !1,
625
625
  focusVisibleClassName: D,
626
- LinkComponent: g = "a",
626
+ LinkComponent: m = "a",
627
627
  onBlur: B,
628
- onClick: x,
628
+ onClick: C,
629
629
  onContextMenu: j,
630
630
  onDragLeave: A,
631
631
  onFocus: F,
632
632
  onFocusVisible: c,
633
- onKeyDown: T,
634
- onKeyUp: R,
633
+ onKeyDown: R,
634
+ onKeyUp: M,
635
635
  onMouseDown: I,
636
636
  onMouseLeave: v,
637
637
  onMouseUp: U,
638
- onTouchEnd: E,
638
+ onTouchEnd: T,
639
639
  onTouchMove: V,
640
640
  onTouchStart: S,
641
- tabIndex: P = 0,
641
+ tabIndex: x = 0,
642
642
  TouchRippleProps: w,
643
643
  touchRippleRef: z,
644
644
  type: L,
645
645
  ..._
646
- } = a, X = d.useRef(null), b = We(), me = le(b.ref, z), [O, K] = d.useState(!1);
646
+ } = u, X = d.useRef(null), P = Qe(), ge = pe(P.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 be = b.shouldMount && !h && !f;
652
+ const Me = P.shouldMount && !h && !f;
653
653
  d.useEffect(() => {
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(), v && v(u);
658
- }, m), Ee = N(b, "start", S, m), Ce = N(b, "stop", E, m), xe = N(b, "stop", V, m), Pe = N(b, "stop", (u) => {
659
- ce(u.target) || K(!1), B && B(u);
660
- }, !1), Ne = J((u) => {
661
- X.current || (X.current = u.currentTarget), ce(u.target) && (K(!0), c && c(u)), F && F(u);
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);
662
665
  }), Z = () => {
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);
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);
673
676
  });
674
677
  let q = l;
675
- q === "button" && (_.href || _.to) && (q = g);
678
+ q === "button" && (_.href || _.to) && (q = m);
676
679
  const Y = {};
677
680
  q === "button" ? (Y.type = L === void 0 ? "button" : L, Y.disabled = f) : (!_.href && !_.to && (Y.role = "button"), f && (Y["aria-disabled"] = f));
678
- const Se = le(t, X), se = {
679
- ...a,
681
+ const Be = pe(n, X), se = {
682
+ ...u,
680
683
  centerRipple: r,
681
684
  component: l,
682
685
  disabled: f,
683
686
  disableRipple: h,
684
- disableTouchRipple: m,
685
- focusRipple: y,
686
- tabIndex: P,
687
+ disableTouchRipple: y,
688
+ focusRipple: g,
689
+ tabIndex: x,
687
690
  focusVisible: O
688
- }, we = rt(se);
689
- return /* @__PURE__ */ ke(st, {
691
+ }, ve = ut(se);
692
+ return /* @__PURE__ */ Ie(lt, {
690
693
  as: q,
691
- className: C(we.root, p),
694
+ className: E(ve.root, p),
692
695
  ownerState: se,
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: Se,
707
- tabIndex: f ? -1 : P,
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,
708
711
  type: L,
709
712
  ...Y,
710
713
  ..._,
711
- children: [s, be ? /* @__PURE__ */ $(he, {
712
- ref: me,
714
+ children: [s, Me ? /* @__PURE__ */ $(be, {
715
+ ref: ge,
713
716
  center: r,
714
717
  ...w
715
718
  }) : null]
716
719
  });
717
720
  });
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 = {
721
+ process.env.NODE_ENV !== "production" && (ct.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" && (at.propTypes = {
727
727
  * A ref for imperative actions.
728
728
  * It currently only supports `focusVisible()` action.
729
729
  */
730
- action: ze,
730
+ action: Ye,
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: n.bool,
736
+ centerRipple: t.bool,
737
737
  /**
738
738
  * The content of the component.
739
739
  */
740
- children: n.node,
740
+ children: t.node,
741
741
  /**
742
742
  * Override or extend the styles applied to the component.
743
743
  */
744
- classes: n.object,
744
+ classes: t.object,
745
745
  /**
746
746
  * @ignore
747
747
  */
748
- className: n.string,
748
+ className: t.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: _e,
753
+ component: Ae,
754
754
  /**
755
755
  * If `true`, the component is disabled.
756
756
  * @default false
757
757
  */
758
- disabled: n.bool,
758
+ disabled: t.bool,
759
759
  /**
760
760
  * If `true`, the ripple effect is disabled.
761
761
  *
@@ -763,17 +763,17 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
763
763
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
764
764
  * @default false
765
765
  */
766
- disableRipple: n.bool,
766
+ disableRipple: t.bool,
767
767
  /**
768
768
  * If `true`, the touch ripple effect is disabled.
769
769
  * @default false
770
770
  */
771
- disableTouchRipple: n.bool,
771
+ disableTouchRipple: t.bool,
772
772
  /**
773
773
  * If `true`, the base button will have a keyboard focus ripple.
774
774
  * @default false
775
775
  */
776
- focusRipple: n.bool,
776
+ focusRipple: t.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" && (at.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: n.string,
785
+ focusVisibleClassName: t.string,
786
786
  /**
787
787
  * @ignore
788
788
  */
789
- href: n.any,
789
+ href: t.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: n.elementType,
794
+ LinkComponent: t.elementType,
795
795
  /**
796
796
  * @ignore
797
797
  */
798
- onBlur: n.func,
798
+ onBlur: t.func,
799
799
  /**
800
800
  * @ignore
801
801
  */
802
- onClick: n.func,
802
+ onClick: t.func,
803
803
  /**
804
804
  * @ignore
805
805
  */
806
- onContextMenu: n.func,
806
+ onContextMenu: t.func,
807
807
  /**
808
808
  * @ignore
809
809
  */
810
- onDragLeave: n.func,
810
+ onDragLeave: t.func,
811
811
  /**
812
812
  * @ignore
813
813
  */
814
- onFocus: n.func,
814
+ onFocus: t.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: n.func,
819
+ onFocusVisible: t.func,
820
820
  /**
821
821
  * @ignore
822
822
  */
823
- onKeyDown: n.func,
823
+ onKeyDown: t.func,
824
824
  /**
825
825
  * @ignore
826
826
  */
827
- onKeyUp: n.func,
827
+ onKeyUp: t.func,
828
828
  /**
829
829
  * @ignore
830
830
  */
831
- onMouseDown: n.func,
831
+ onMouseDown: t.func,
832
832
  /**
833
833
  * @ignore
834
834
  */
835
- onMouseLeave: n.func,
835
+ onMouseLeave: t.func,
836
836
  /**
837
837
  * @ignore
838
838
  */
839
- onMouseUp: n.func,
839
+ onMouseUp: t.func,
840
840
  /**
841
841
  * @ignore
842
842
  */
843
- onTouchEnd: n.func,
843
+ onTouchEnd: t.func,
844
844
  /**
845
845
  * @ignore
846
846
  */
847
- onTouchMove: n.func,
847
+ onTouchMove: t.func,
848
848
  /**
849
849
  * @ignore
850
850
  */
851
- onTouchStart: n.func,
851
+ onTouchStart: t.func,
852
852
  /**
853
853
  * The system prop that allows defining system overrides as well as additional CSS styles.
854
854
  */
855
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
855
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
856
856
  /**
857
857
  * @default 0
858
858
  */
859
- tabIndex: n.number,
859
+ tabIndex: t.number,
860
860
  /**
861
861
  * Props applied to the `TouchRipple` element.
862
862
  */
863
- TouchRippleProps: n.object,
863
+ TouchRippleProps: t.object,
864
864
  /**
865
865
  * A ref that points to the `TouchRipple` element.
866
866
  */
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
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
872
872
  })
873
873
  })]),
874
874
  /**
875
875
  * @ignore
876
876
  */
877
- type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string])
877
+ type: t.oneOfType([t.oneOf(["button", "reset", "submit"]), t.string])
878
878
  });
879
879
  export {
880
- at as B,
880
+ ct as B,
881
881
  re as T,
882
882
  ee as _
883
883
  };