@cgi-learning-hub/ui 1.3.5-dev.1737385992 → 1.3.5-dev.1737994728

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 (197) hide show
  1. package/dist/{Backdrop-cQjxnU6U.js → Backdrop-CjFhgXFW.js} +5 -5
  2. package/dist/{Backdrop-DpAYM7-a.cjs → Backdrop-Dnd-7Jz5.cjs} +1 -1
  3. package/dist/{Box-D3s7FjbJ.cjs → Box-BTYxUBc5.cjs} +1 -1
  4. package/dist/{Box-Cl3En6Cu.js → Box-C5qOvRw6.js} +3 -3
  5. package/dist/{Button-BI2kRuAf.js → Button-DJ9kLggx.js} +5 -5
  6. package/dist/{Button-B_klu_yH.cjs → Button-QAP1Wyns.cjs} +1 -1
  7. package/dist/{ButtonBase-47oiHfhL.js → ButtonBase-CGJRRTHm.js} +5 -5
  8. package/dist/{ButtonBase-5iSZKYUA.cjs → ButtonBase-Di2DXi1_.cjs} +1 -1
  9. package/dist/{Card-BzIH_V-L.js → Card-BkkrhzGz.js} +3 -3
  10. package/dist/{Card-_oyrneHN.cjs → Card-BklIrMy_.cjs} +1 -1
  11. package/dist/{Checkbox-BKixc2Ug.js → Checkbox-BMr92NEw.js} +7 -7
  12. package/dist/{Checkbox-U3FM1TZi.cjs → Checkbox-Bfngr2Ow.cjs} +1 -1
  13. package/dist/{CircularProgress-BBcIKjHd.cjs → CircularProgress-CIsFCabr.cjs} +1 -1
  14. package/dist/{CircularProgress-BhTLSMx9.js → CircularProgress-Wu1RUH10.js} +4 -4
  15. package/dist/{DatePicker-CyO-v7xs.js → DatePicker-BIrYgv-6.js} +33 -32
  16. package/dist/{DatePicker-BcrBK2gh.cjs → DatePicker-UggPKt6P.cjs} +9 -9
  17. package/dist/DefaultPropsProvider-CeEBQtDy.js +303 -0
  18. package/dist/DefaultPropsProvider-Se6dgF9O.cjs +1 -0
  19. package/dist/{Delete-CTvXiPDY.cjs → Delete-CN1Nvyw-.cjs} +1 -1
  20. package/dist/{Delete-BhMvgM-3.js → Delete-D269dtzC.js} +1 -1
  21. package/dist/{Dialog-BbUlVZgf.js → Dialog-DX2Mdwmr.js} +8 -8
  22. package/dist/{Dialog-B-apVuMT.cjs → Dialog-FQAvW7D6.cjs} +1 -1
  23. package/dist/{DialogContent-Dj8wwCzr.cjs → DialogContent-BaKv3Ei9.cjs} +1 -1
  24. package/dist/{DialogContent-DzP5rzcY.js → DialogContent-CkPzndRH.js} +3 -3
  25. package/dist/{DialogTitle-C05rE2E6.cjs → DialogTitle-BwJVdg4G.cjs} +1 -1
  26. package/dist/{DialogTitle-tAT47Ybd.js → DialogTitle-D7utXPRz.js} +5 -5
  27. package/dist/{Divider-h2iFLVal.cjs → Divider-BAPyGNV2.cjs} +1 -1
  28. package/dist/{Divider-BHl8QDFP.js → Divider-DViVz6TV.js} +4 -4
  29. package/dist/{FormControlLabel-CRuP6mEi.cjs → FormControlLabel-BKz4_Gd0.cjs} +1 -1
  30. package/dist/{FormControlLabel-lLBOAYiw.js → FormControlLabel-DMrvY_r6.js} +7 -7
  31. package/dist/{FormGroup-9oal5vTk.cjs → FormGroup-BulQbkfu.cjs} +1 -1
  32. package/dist/{FormGroup-BA5B5q-4.js → FormGroup-Cp4YeqR3.js} +2 -2
  33. package/dist/{FormLabel-ENmU_KDi.js → FormLabel-DXWktPiT.js} +4 -4
  34. package/dist/{FormLabel-CPfVTppk.cjs → FormLabel-DwND2qd8.cjs} +1 -1
  35. package/dist/{Grow-BfBsg9sL.cjs → Grow-BYbd5knJ.cjs} +1 -1
  36. package/dist/{Grow-Cb9jIpXB.js → Grow-C9mKol1b.js} +3 -3
  37. package/dist/{IconButton-DdQAEvxw.cjs → IconButton-Dl_aERqI.cjs} +1 -1
  38. package/dist/{IconButton-B_QmAidT.js → IconButton-HSWaMjTn.js} +5 -5
  39. package/dist/{InputAdornment-CbUVl5Zq.js → InputAdornment-DEwfQJnE.js} +5 -5
  40. package/dist/{InputAdornment-B7acvx_l.cjs → InputAdornment-VmPspNH6.cjs} +1 -1
  41. package/dist/{InputBase-CTuuFIJn.cjs → InputBase-BWlk5xev.cjs} +1 -1
  42. package/dist/{InputBase-BH09_Vkl.js → InputBase-NJYUs2qK.js} +7 -7
  43. package/dist/{Link-D7FBVuxq.cjs → Link-D-_BtjdU.cjs} +1 -1
  44. package/dist/{Link-BDZvLN7Q.js → Link-DRY3a76q.js} +7 -7
  45. package/dist/{Menu-CZ7nIEAi.cjs → Menu-BIebKPfA.cjs} +6 -6
  46. package/dist/{Menu-C63nbA21.js → Menu-D4QuPq36.js} +42 -42
  47. package/dist/{MenuItem-zZZoeqA_.js → MenuItem-BaVk-qxi.js} +6 -6
  48. package/dist/{MenuItem-BUmfb7bK.cjs → MenuItem-CLytGq10.cjs} +1 -1
  49. package/dist/{Modal-CEOqusMD.js → Modal-Bv_n3vzB.js} +8 -8
  50. package/dist/{Modal-Bb-G8jfL.cjs → Modal-D9Xuvhjf.cjs} +1 -1
  51. package/dist/{Paper-CIliheLe.js → Paper-B-qSqbHC.js} +4 -4
  52. package/dist/{Paper-CDBEKUxt.cjs → Paper-cQSlrWza.cjs} +1 -1
  53. package/dist/{Popper-BQjffxO6.js → Popper-CIpGciMP.js} +5 -5
  54. package/dist/{Popper-C2e-SaSh.cjs → Popper-rY0PGJdm.cjs} +1 -1
  55. package/dist/{Portal-B1mX3Xdn.cjs → Portal-Cxw-nTCW.cjs} +1 -1
  56. package/dist/{Portal-B7IPMdkf.js → Portal-DsPJ5mJy.js} +2 -2
  57. package/dist/{Radio-Du47rFza.cjs → Radio-CTv0ptam.cjs} +1 -1
  58. package/dist/{Radio-JnaqzDPV.js → Radio-g00XgvHL.js} +7 -7
  59. package/dist/{Select-lWpKQ3VK.cjs → Select-C8HBwNk7.cjs} +1 -1
  60. package/dist/{Select-BLJWMtEj.js → Select-D2_IXdrU.js} +31 -31
  61. package/dist/{Stack-CL1Y9w6n.cjs → Stack-6AHEa1bx.cjs} +1 -1
  62. package/dist/{Stack-Cdjnu8ir.js → Stack-DX7XIsZG.js} +4 -4
  63. package/dist/{SwitchBase-BrszUm37.cjs → SwitchBase-BOo1bjHy.cjs} +1 -1
  64. package/dist/{SwitchBase-repGVk6H.js → SwitchBase-eilyehy9.js} +5 -5
  65. package/dist/{TableSortLabel-9m2e-wsj.cjs → TableSortLabel-BE_c25_7.cjs} +6 -6
  66. package/dist/{TableSortLabel-B1cSbea_.js → TableSortLabel-CkN2fsuh.js} +459 -459
  67. package/dist/{Tabs-DbTN2UwH.js → Tabs-CZ0zpzfU.js} +25 -25
  68. package/dist/{Tabs-CtFZYX0J.cjs → Tabs-Cu3QAwFQ.cjs} +3 -3
  69. package/dist/{TextField-BmrUqJQo.js → TextField-CB2G2DE7.js} +8 -8
  70. package/dist/{TextField-BEhB98ET.cjs → TextField-CYuyowfl.cjs} +1 -1
  71. package/dist/{Tooltip-B0ROlGzz.js → Tooltip-BbMItBno.js} +10 -10
  72. package/dist/{Tooltip-BtIup298.cjs → Tooltip-CcjNbPHm.cjs} +1 -1
  73. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  74. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  75. package/dist/{Typography-w3HjMxp8.cjs → Typography-BYWZ5kB1.cjs} +1 -1
  76. package/dist/{Typography-C1Tgdif-.js → Typography-CsC_hF8M.js} +5 -5
  77. package/dist/{capitalize-B8YoH5Tf.js → capitalize-B55K71yP.js} +1 -1
  78. package/dist/{capitalize-p68ZNWEG.cjs → capitalize-BDTxYy_y.cjs} +1 -1
  79. package/dist/components/Button/Button.cjs.js +1 -1
  80. package/dist/components/Button/Button.es.js +6 -6
  81. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  82. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  83. package/dist/components/DatePicker/index.cjs.js +1 -1
  84. package/dist/components/DatePicker/index.es.js +1 -1
  85. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  86. package/dist/components/Dialog/Dialog.es.js +2 -2
  87. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  88. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  89. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  90. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  91. package/dist/components/FileList/FileList.cjs.js +1 -1
  92. package/dist/components/FileList/FileList.es.js +1 -1
  93. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  94. package/dist/components/FileList/FileListItem.es.js +7 -7
  95. package/dist/components/Heading/Heading.cjs.js +1 -1
  96. package/dist/components/Heading/Heading.es.js +2 -2
  97. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  98. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  99. package/dist/components/Loader/Loader.cjs.js +1 -1
  100. package/dist/components/Loader/Loader.es.js +1 -1
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  103. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  104. package/dist/components/PasswordInput/PasswordInput.es.js +3 -3
  105. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  106. package/dist/components/ResourceCard/ResourceCard.d.ts +23 -0
  107. package/dist/components/ResourceCard/ResourceCard.es.js +62 -0
  108. package/dist/components/ResourceCard/style.cjs.js +1 -0
  109. package/dist/components/ResourceCard/style.es.js +67 -0
  110. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  111. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  112. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  113. package/dist/components/TextInput/TextInput.es.js +1 -1
  114. package/dist/components/index.cjs.js +1 -1
  115. package/dist/components/index.es.js +31 -31
  116. package/dist/components/stories/Button.stories.cjs.js +1 -1
  117. package/dist/components/stories/Button.stories.es.js +1 -1
  118. package/dist/components/stories/Card.stories.cjs.js +1 -1
  119. package/dist/components/stories/Card.stories.es.js +4 -4
  120. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  121. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  122. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  123. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  124. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  125. package/dist/components/stories/Dialog.stories.es.js +2 -2
  126. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  127. package/dist/components/stories/Divider.stories.es.js +1 -1
  128. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  129. package/dist/components/stories/FormControlLabel.stories.es.js +9 -9
  130. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  131. package/dist/components/stories/Heading.stories.es.js +2 -2
  132. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  133. package/dist/components/stories/IconButton.stories.es.js +2 -2
  134. package/dist/components/stories/Link.stories.cjs.js +1 -1
  135. package/dist/components/stories/Link.stories.es.js +1 -1
  136. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  137. package/dist/components/stories/Menu.stories.es.js +2 -2
  138. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  139. package/dist/components/stories/Paper.stories.es.js +1 -1
  140. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  141. package/dist/components/stories/RadioGroup.stories.es.js +6 -6
  142. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  143. package/dist/components/stories/ResourceCard.stories.d.ts +10 -0
  144. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  145. package/dist/components/stories/Select.stories.cjs.js +1 -1
  146. package/dist/components/stories/Select.stories.es.js +3 -3
  147. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  148. package/dist/components/stories/TabList.stories.es.js +4 -4
  149. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  150. package/dist/components/stories/TextField.stories.es.js +1 -1
  151. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  152. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  153. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  154. package/dist/components/stories/Typography.stories.es.js +1 -1
  155. package/dist/{createSvgIcon-C-x_ab7c.js → createSvgIcon-C9kh-71a.js} +4 -4
  156. package/dist/{createSvgIcon-CbpMdPwq.cjs → createSvgIcon-DestgQu_.cjs} +1 -1
  157. package/dist/{dividerClasses-CIZbyG0N.cjs → dividerClasses-CmqQpmPs.cjs} +1 -1
  158. package/dist/{dividerClasses-DmWEZC87.js → dividerClasses-Cx-v4p9p.js} +1 -1
  159. package/dist/{elementTypeAcceptingRef-Brc7aiSn.cjs → elementTypeAcceptingRef-93jMVjym.cjs} +1 -1
  160. package/dist/{elementTypeAcceptingRef-CMTjxtia.js → elementTypeAcceptingRef-BwApo3R5.js} +1 -1
  161. package/dist/{extendSxProp-B4RmcfVN.js → extendSxProp-BuzWiNW6.js} +1 -1
  162. package/dist/{extendSxProp-DnqLpW7A.cjs → extendSxProp-CWfAkLIT.cjs} +1 -1
  163. package/dist/generateUtilityClasses-CCNEQAp0.cjs +75 -0
  164. package/dist/generateUtilityClasses-CMVTZlSt.js +3297 -0
  165. package/dist/{index-Bsbs4gVC.cjs → index-BvElRKTI.cjs} +1 -1
  166. package/dist/{index-CBcLy4Gf.js → index-DT_OMUCV.js} +29 -29
  167. package/dist/{index-CaA9V93x.js → index-HBv5JZBE.js} +4 -4
  168. package/dist/{index-DX39DwZF.cjs → index-vTvfssKH.cjs} +1 -1
  169. package/dist/index.cjs.js +1 -1
  170. package/dist/index.es.js +31 -31
  171. package/dist/{memoTheme-D6wnm3Yf.js → memoTheme-CnIL9ySw.js} +1 -1
  172. package/dist/{memoTheme-CKJVDrn8.cjs → memoTheme-DTSENpyZ.cjs} +1 -1
  173. package/dist/{mergeSlotProps-BOB3b5Bl.cjs → mergeSlotProps-A2fwE85L.cjs} +1 -1
  174. package/dist/{mergeSlotProps-CzAUiJdv.js → mergeSlotProps-lTnyHfRr.js} +1 -1
  175. package/dist/{refType-D9AhowsX.cjs → refType-B9Yjv-2f.cjs} +1 -1
  176. package/dist/{refType-Bh5FCWaj.js → refType-IuPwh8dk.js} +1 -1
  177. package/dist/{useSlot-Ckd5KuF6.cjs → useSlot-BHPToxin.cjs} +1 -1
  178. package/dist/{useSlot-fAiQ2LUz.js → useSlot-DKRXHGjw.js} +1 -1
  179. package/dist/{useSlotProps-Bt9M53xr.cjs → useSlotProps-CgzVLVxq.cjs} +1 -1
  180. package/dist/{useSlotProps-CeEyngqK.js → useSlotProps-DW4-IGZ7.js} +2 -2
  181. package/dist/{useTheme-B60CMOzX.js → useTheme-6TUGBldK.js} +1 -1
  182. package/dist/{useTheme-BsV6Qp8s.cjs → useTheme-BovhfGLb.cjs} +1 -1
  183. package/dist/{useTheme-SVN1zmpH.cjs → useTheme-CQhlwWHY.cjs} +1 -1
  184. package/dist/useTheme-i6uFvVRH.js +11 -0
  185. package/dist/{useThemeProps-CSwVN8Ty.js → useThemeProps-1WBbiiBB.js} +2 -2
  186. package/dist/{useThemeProps-Bw85s-bD.cjs → useThemeProps-BcTQ5K1G.cjs} +1 -1
  187. package/dist/{useThemeProps-Czm6KYgJ.js → useThemeProps-CAttQgvS.js} +3 -3
  188. package/dist/{useThemeProps-BrNzHhoj.cjs → useThemeProps-CTpVXkg_.cjs} +1 -1
  189. package/dist/{utils-CwL47jHo.cjs → utils-CHzhlXgP.cjs} +1 -1
  190. package/dist/{utils-B8SKcagY.js → utils-CuFsTY6H.js} +2 -2
  191. package/package.json +1 -1
  192. package/dist/DefaultPropsProvider-BmQWOmjA.js +0 -455
  193. package/dist/DefaultPropsProvider-Dmgy_wvY.cjs +0 -17
  194. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  195. package/dist/generateUtilityClasses-BJHPiQWA.js +0 -3145
  196. package/dist/generateUtilityClasses-DG_SN6x8.cjs +0 -59
  197. package/dist/useTheme-BunxvDwm.js +0 -11
@@ -1,23 +1,23 @@
1
1
  import * as u from "react";
2
- import { H as D, I as z, _ as ve, P as e, G as de, J as bo } from "./generateUtilityClasses-BJHPiQWA.js";
2
+ import { H as D, I as z, a2 as ve, P as e, G as de, Z as bo, J as mo } from "./generateUtilityClasses-CMVTZlSt.js";
3
3
  import { f as ye } from "./formControlState-vgaj2ksH.js";
4
4
  import { u as he } from "./useFormControl-CatNKXAi.js";
5
- import { s as h, r as k, u as H, c as V, f as mo, e as go } from "./DefaultPropsProvider-BmQWOmjA.js";
6
- import { m as E } from "./memoTheme-D6wnm3Yf.js";
5
+ import { s as h, r as k, u as H, c as V, e as go } from "./DefaultPropsProvider-CeEBQtDy.js";
6
+ import { m as E } from "./memoTheme-CnIL9ySw.js";
7
7
  import { jsx as v, jsxs as Oe } from "react/jsx-runtime";
8
- import { a as vo, b as yo } from "./FormLabel-ENmU_KDi.js";
9
- import { c as q } from "./capitalize-B8YoH5Tf.js";
10
- import { M as ho } from "./Menu-C63nbA21.js";
11
- import { r as G } from "./refType-Bh5FCWaj.js";
8
+ import { a as vo, b as yo } from "./FormLabel-DXWktPiT.js";
9
+ import { c as q } from "./capitalize-B55K71yP.js";
10
+ import { M as ho } from "./Menu-D4QuPq36.js";
11
+ import { r as G } from "./refType-IuPwh8dk.js";
12
12
  import { i as Oo } from "./utils-DWqc1kRF.js";
13
13
  import { u as qe } from "./useControlled-BYdyS7Pn.js";
14
14
  import { u as He } from "./useForkRef-C_4o__cU.js";
15
15
  import { o as Co } from "./ownerDocument-CUrv0DIK.js";
16
16
  import { u as Io } from "./useId-CK6Kn3Tn.js";
17
- import { c as So } from "./createSvgIcon-C-x_ab7c.js";
17
+ import { c as So } from "./createSvgIcon-C9kh-71a.js";
18
18
  import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
19
- import { i as Ie, a as Se, r as Re, b as xe, c as we, I as Te } from "./InputBase-BH09_Vkl.js";
20
- import { g as Ro } from "./utils-B8SKcagY.js";
19
+ import { i as Ie, a as Se, r as Re, b as xe, c as we, I as Te } from "./InputBase-NJYUs2qK.js";
20
+ import { g as Ro } from "./utils-CuFsTY6H.js";
21
21
  function xo(o) {
22
22
  return D("MuiInput", o);
23
23
  }
@@ -882,7 +882,7 @@ const Wo = h(Ge, {
882
882
  return [t.icon, n.variant && t[`icon${q(n.variant)}`], n.open && t.iconOpen];
883
883
  }
884
884
  })({}), Uo = h("input", {
885
- shouldForwardProp: (o) => mo(o) && o !== "classes",
885
+ shouldForwardProp: (o) => go(o) && o !== "classes",
886
886
  name: "MuiSelect",
887
887
  slot: "NativeInput",
888
888
  overridesResolver: (o, t) => t.nativeInput
@@ -915,7 +915,7 @@ const zo = (o) => {
915
915
  nativeInput: ["nativeInput"]
916
916
  };
917
917
  return V(p, Bo, t);
918
- }, Qe = /* @__PURE__ */ u.forwardRef(function(t, n) {
918
+ }, Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
919
919
  var ze;
920
920
  const {
921
921
  "aria-describedby": r,
@@ -940,8 +940,8 @@ const zo = (o) => {
940
940
  onClose: J,
941
941
  onFocus: pe,
942
942
  onOpen: Y,
943
- open: Q,
944
- readOnly: Z,
943
+ open: Z,
944
+ readOnly: Q,
945
945
  renderValue: ee,
946
946
  required: _,
947
947
  SelectDisplayProps: $ = {},
@@ -956,12 +956,12 @@ const zo = (o) => {
956
956
  default: f,
957
957
  name: "Select"
958
958
  }), [je, oo] = qe({
959
- controlled: Q,
959
+ controlled: Z,
960
960
  default: m,
961
961
  name: "Select"
962
962
  }), Le = u.useRef(null), M = u.useRef(null), [j, to] = u.useState(null), {
963
963
  current: ce
964
- } = u.useRef(Q != null), [no, Be] = u.useState(), ro = He(n, T), so = u.useCallback((s) => {
964
+ } = u.useRef(Z != null), [no, Be] = u.useState(), ro = He(n, T), so = u.useCallback((s) => {
965
965
  M.current = s, s && to(s);
966
966
  }, []), te = j == null ? void 0 : j.parentNode;
967
967
  u.useImperativeHandle(ro, () => ({
@@ -1018,7 +1018,7 @@ const zo = (o) => {
1018
1018
  I || ne(!1, l);
1019
1019
  }
1020
1020
  }, uo = (s) => {
1021
- Z || [
1021
+ Q || [
1022
1022
  " ",
1023
1023
  "ArrowUp",
1024
1024
  "ArrowDown",
@@ -1045,12 +1045,12 @@ const zo = (o) => {
1045
1045
  const fo = re.map((s) => {
1046
1046
  if (!/* @__PURE__ */ u.isValidElement(s))
1047
1047
  return null;
1048
- process.env.NODE_ENV !== "production" && go.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1048
+ process.env.NODE_ENV !== "production" && bo.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1049
1049
  `));
1050
1050
  let l;
1051
1051
  if (I) {
1052
1052
  if (!Array.isArray(g))
1053
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : bo(2));
1053
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : mo(2));
1054
1054
  l = g.some((R) => Ke(R, s.props.value)), l && ie && ae.push(s.props.children);
1055
1055
  } else
1056
1056
  l = Ke(g, s.props.value), l && ie && (We = s.props.children);
@@ -1105,7 +1105,7 @@ const zo = (o) => {
1105
1105
  "aria-required": _ ? "true" : void 0,
1106
1106
  "aria-invalid": C ? "true" : void 0,
1107
1107
  onKeyDown: uo,
1108
- onMouseDown: c || Z ? null : ao,
1108
+ onMouseDown: c || Q ? null : ao,
1109
1109
  onBlur: co,
1110
1110
  onFocus: pe,
1111
1111
  ...$,
@@ -1174,7 +1174,7 @@ const zo = (o) => {
1174
1174
  })]
1175
1175
  });
1176
1176
  });
1177
- process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1177
+ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1178
1178
  /**
1179
1179
  * @ignore
1180
1180
  */
@@ -1899,7 +1899,7 @@ const Ho = h("fieldset", {
1899
1899
  }
1900
1900
  }]
1901
1901
  })));
1902
- function Ze(o) {
1902
+ function Qe(o) {
1903
1903
  const {
1904
1904
  children: t,
1905
1905
  classes: n,
@@ -1932,7 +1932,7 @@ function Ze(o) {
1932
1932
  })
1933
1933
  });
1934
1934
  }
1935
- process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1935
+ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1936
1936
  /**
1937
1937
  * The content of the component.
1938
1938
  */
@@ -1977,7 +1977,7 @@ const P = {
1977
1977
  // forward classes to the InputBase
1978
1978
  ...r
1979
1979
  };
1980
- }, Qo = h(Se, {
1980
+ }, Zo = h(Se, {
1981
1981
  shouldForwardProp: (o) => k(o) || o === "classes",
1982
1982
  name: "MuiOutlinedInput",
1983
1983
  slot: "Root",
@@ -2052,7 +2052,7 @@ const P = {
2052
2052
  }
2053
2053
  }]
2054
2054
  };
2055
- })), Zo = h(Ze, {
2055
+ })), Qo = h(Qe, {
2056
2056
  name: "MuiOutlinedInput",
2057
2057
  slot: "NotchedOutline",
2058
2058
  overridesResolver: (o, t) => t.notchedOutline
@@ -2151,13 +2151,13 @@ const P = {
2151
2151
  multiline: m,
2152
2152
  size: y.size,
2153
2153
  type: O
2154
- }, I = c.root ?? d.Root ?? Qo, S = c.input ?? d.Input ?? et;
2154
+ }, I = c.root ?? d.Root ?? Zo, S = c.input ?? d.Input ?? et;
2155
2155
  return /* @__PURE__ */ v(Te, {
2156
2156
  slots: {
2157
2157
  root: I,
2158
2158
  input: S
2159
2159
  },
2160
- renderSuffix: (N) => /* @__PURE__ */ v(Zo, {
2160
+ renderSuffix: (N) => /* @__PURE__ */ v(Qo, {
2161
2161
  ownerState: x,
2162
2162
  className: w.notchedOutline,
2163
2163
  label: b != null && b !== "" && y.required ? r || (r = /* @__PURE__ */ Oe(u.Fragment, {
@@ -2379,8 +2379,8 @@ const ot = (o) => {
2379
2379
  renderValue: J,
2380
2380
  SelectDisplayProps: pe,
2381
2381
  variant: Y = "outlined",
2382
- ...Q
2383
- } = r, Z = I ? Ye : Qe, ee = he(), _ = ye({
2382
+ ...Z
2383
+ } = r, Q = I ? Ye : Ze, ee = he(), _ = ye({
2384
2384
  props: r,
2385
2385
  muiFormControl: ee,
2386
2386
  states: ["variant", "error"]
@@ -2407,7 +2407,7 @@ const ot = (o) => {
2407
2407
  children: /* @__PURE__ */ u.cloneElement(W, {
2408
2408
  // Most of the logic is implemented in `SelectInput`.
2409
2409
  // The `Select` component is a simple API wrapper to expose something better to play with.
2410
- inputComponent: Z,
2410
+ inputComponent: Q,
2411
2411
  inputProps: {
2412
2412
  children: d,
2413
2413
  error: _.error,
@@ -2446,7 +2446,7 @@ const ot = (o) => {
2446
2446
  ...!O && {
2447
2447
  variant: $
2448
2448
  },
2449
- ...Q
2449
+ ...Z
2450
2450
  })
2451
2451
  });
2452
2452
  });
@@ -1 +1 @@
1
- "use strict";const e=require("./generateUtilityClasses-DG_SN6x8.cjs"),d=require("./DefaultPropsProvider-Dmgy_wvY.cjs"),C=require("react"),V=require("react/jsx-runtime"),D=require("./extendSxProp-DnqLpW7A.cjs"),N=require("./useThemeProps-Bw85s-bD.cjs");function R(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(o,s,t.get?t:{enumerable:!0,get:()=>r[s]})}}return o.default=r,Object.freeze(o)}const f=R(C),g=r=>r,q=()=>{let r=g;return{configure(o){r=o},generate(o){return r(o)},reset(){r=g}}},B=q(),G={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function M(r,o,s="Mui"){const t=G[o];return t?`${s}-${t}`:`${B.generate(r)}-${o}`}const $=d.createStyled();function E(r,o,s=void 0){const t={};for(const i in r){const c=r[i];let a="",l=!0;for(let n=0;n<c.length;n+=1){const p=c[n];p&&(a+=(l===!0?"":" ")+o(p),l=!1,s&&s[p]&&(a+=" "+s[p]))}t[i]=a}return t}const w=e.createTheme$1(),F=$("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,o)=>o.root});function _(r){return N.useThemeProps({props:r,name:"MuiStack",defaultTheme:w})}function U(r,o){const s=f.Children.toArray(r).filter(Boolean);return s.reduce((t,i,c)=>(t.push(i),c<s.length-1&&t.push(f.cloneElement(o,{key:`separator-${c}`})),t),[])}const A=r=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[r],z=({ownerState:r,theme:o})=>{let s={display:"flex",flexDirection:"column",...e.handleBreakpoints({theme:o},e.resolveBreakpointValues({values:r.direction,breakpoints:o.breakpoints.values}),t=>({flexDirection:t}))};if(r.spacing){const t=e.createUnarySpacing(o),i=Object.keys(o.breakpoints.values).reduce((n,p)=>((typeof r.spacing=="object"&&r.spacing[p]!=null||typeof r.direction=="object"&&r.direction[p]!=null)&&(n[p]=!0),n),{}),c=e.resolveBreakpointValues({values:r.direction,base:i}),a=e.resolveBreakpointValues({values:r.spacing,base:i});typeof c=="object"&&Object.keys(c).forEach((n,p,u)=>{if(!c[n]){const y=p>0?c[u[p-1]]:"column";c[n]=y}});const l=(n,p)=>r.useFlexGap?{gap:e.getValue(t,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${A(p?c[p]:r.direction)}`]:e.getValue(t,n)}};s=e.deepmerge(s,e.handleBreakpoints({theme:o},a,l))}return s=e.mergeBreakpointsInOrder(o.breakpoints,s),s};function I(r={}){const{createStyledComponent:o=F,useThemeProps:s=_,componentName:t="MuiStack"}=r,i=()=>E({root:["root"]},n=>M(t,n),{}),c=o(z),a=f.forwardRef(function(n,p){const u=s(n),T=D.extendSxProp(u),{component:y="div",direction:b="column",spacing:O=0,divider:P,children:m,className:k,useFlexGap:h=!1,...j}=T,x={direction:b,spacing:O,useFlexGap:h},S=i();return V.jsx(c,{as:y,ownerState:x,ref:p,className:e.clsx(S.root,k),...j,children:P?U(m,P):m})});return process.env.NODE_ENV!=="production"&&(a.propTypes={children:e.PropTypes.node,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])}),a}const v=I({createStyledComponent:d.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,o)=>o.root}),useThemeProps:r=>d.useDefaultProps({props:r,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(v.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),useFlexGap:e.PropTypes.bool});exports.Stack=v;
1
+ "use strict";const e=require("./generateUtilityClasses-CCNEQAp0.cjs"),d=require("./DefaultPropsProvider-Se6dgF9O.cjs"),C=require("react"),V=require("react/jsx-runtime"),D=require("./extendSxProp-CWfAkLIT.cjs"),N=require("./useThemeProps-BcTQ5K1G.cjs");function R(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(o,s,t.get?t:{enumerable:!0,get:()=>r[s]})}}return o.default=r,Object.freeze(o)}const f=R(C),g=r=>r,q=()=>{let r=g;return{configure(o){r=o},generate(o){return r(o)},reset(){r=g}}},B=q(),G={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function M(r,o,s="Mui"){const t=G[o];return t?`${s}-${t}`:`${B.generate(r)}-${o}`}const $=d.createStyled();function E(r,o,s=void 0){const t={};for(const i in r){const c=r[i];let a="",l=!0;for(let n=0;n<c.length;n+=1){const p=c[n];p&&(a+=(l===!0?"":" ")+o(p),l=!1,s&&s[p]&&(a+=" "+s[p]))}t[i]=a}return t}const w=e.createTheme$1(),F=$("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,o)=>o.root});function _(r){return N.useThemeProps({props:r,name:"MuiStack",defaultTheme:w})}function U(r,o){const s=f.Children.toArray(r).filter(Boolean);return s.reduce((t,i,c)=>(t.push(i),c<s.length-1&&t.push(f.cloneElement(o,{key:`separator-${c}`})),t),[])}const A=r=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[r],z=({ownerState:r,theme:o})=>{let s={display:"flex",flexDirection:"column",...e.handleBreakpoints({theme:o},e.resolveBreakpointValues({values:r.direction,breakpoints:o.breakpoints.values}),t=>({flexDirection:t}))};if(r.spacing){const t=e.createUnarySpacing(o),i=Object.keys(o.breakpoints.values).reduce((n,p)=>((typeof r.spacing=="object"&&r.spacing[p]!=null||typeof r.direction=="object"&&r.direction[p]!=null)&&(n[p]=!0),n),{}),c=e.resolveBreakpointValues({values:r.direction,base:i}),a=e.resolveBreakpointValues({values:r.spacing,base:i});typeof c=="object"&&Object.keys(c).forEach((n,p,u)=>{if(!c[n]){const y=p>0?c[u[p-1]]:"column";c[n]=y}});const l=(n,p)=>r.useFlexGap?{gap:e.getValue(t,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${A(p?c[p]:r.direction)}`]:e.getValue(t,n)}};s=e.deepmerge(s,e.handleBreakpoints({theme:o},a,l))}return s=e.mergeBreakpointsInOrder(o.breakpoints,s),s};function I(r={}){const{createStyledComponent:o=F,useThemeProps:s=_,componentName:t="MuiStack"}=r,i=()=>E({root:["root"]},n=>M(t,n),{}),c=o(z),a=f.forwardRef(function(n,p){const u=s(n),T=D.extendSxProp(u),{component:y="div",direction:b="column",spacing:O=0,divider:P,children:m,className:k,useFlexGap:h=!1,...j}=T,x={direction:b,spacing:O,useFlexGap:h},S=i();return V.jsx(c,{as:y,ownerState:x,ref:p,className:e.clsx(S.root,k),...j,children:P?U(m,P):m})});return process.env.NODE_ENV!=="production"&&(a.propTypes={children:e.PropTypes.node,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])}),a}const v=I({createStyledComponent:d.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,o)=>o.root}),useThemeProps:r=>d.useDefaultProps({props:r,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(v.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),useFlexGap:e.PropTypes.bool});exports.Stack=v;
@@ -1,9 +1,9 @@
1
- import { P as e, M as P, S as b, U as f, V as N, W as D, X as G, G as R, Y as O } from "./generateUtilityClasses-BJHPiQWA.js";
2
- import { b as M, s as $, u as E } from "./DefaultPropsProvider-BmQWOmjA.js";
1
+ import { P as e, M as P, S as b, U as f, V as N, W as D, X as G, G as R, Y as O } from "./generateUtilityClasses-CMVTZlSt.js";
2
+ import { b as M, s as $, u as E } from "./DefaultPropsProvider-CeEBQtDy.js";
3
3
  import * as m from "react";
4
4
  import { jsx as F } from "react/jsx-runtime";
5
- import { e as B } from "./extendSxProp-B4RmcfVN.js";
6
- import { u as w } from "./useThemeProps-CSwVN8Ty.js";
5
+ import { e as B } from "./extendSxProp-BuzWiNW6.js";
6
+ import { u as w } from "./useThemeProps-1WBbiiBB.js";
7
7
  const T = (o) => o, U = () => {
8
8
  let o = T;
9
9
  return {
@@ -1 +1 @@
1
- "use strict";const M=require("react"),e=require("./generateUtilityClasses-DG_SN6x8.cjs"),l=require("./DefaultPropsProvider-Dmgy_wvY.cjs"),V=require("./useFormControl-haP0iPhl.cjs"),B=require("react/jsx-runtime"),$=require("./ButtonBase-5iSZKYUA.cjs"),A=require("./useControlled-Ysk4KqoX.cjs"),G=require("./refType-D9AhowsX.cjs"),H=require("./capitalize-p68ZNWEG.cjs");function J(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const K=J(M);function Q(o){return e.generateUtilityClass("PrivateSwitchBase",o)}e.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const W=o=>{const{classes:s,checked:r,disabled:a,edge:i}=o,p={root:["root",r&&"checked",a&&"disabled",i&&`edge${H.capitalize(i)}`],input:["input"]};return l.composeClasses(p,Q,s)},X=l.styled($.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:s})=>o==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:s})=>o==="end"&&s.size!=="small",style:{marginRight:-12}}]}),Y=l.styled("input",{shouldForwardProp:l.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),C=K.forwardRef(function(s,r){const{autoFocus:a,checked:i,checkedIcon:p,className:w,defaultChecked:f,disabled:F,disableFocusRipple:y=!1,edge:R=!1,icon:S,id:q,inputProps:x,inputRef:O,name:j,onBlur:h,onChange:b,onFocus:g,readOnly:I,required:z=!1,tabIndex:v,type:d,value:P,...N}=s,[m,U]=A.useControlled({controlled:i,default:!!f,name:"SwitchBase",state:"checked"}),n=V.useFormControl(),D=t=>{g&&g(t),n&&n.onFocus&&n.onFocus(t)},E=t=>{h&&h(t),n&&n.onBlur&&n.onBlur(t)},_=t=>{if(t.nativeEvent.defaultPrevented)return;const k=t.target.checked;U(k),b&&b(t,k)};let c=F;n&&typeof c>"u"&&(c=n.disabled);const L=d==="checkbox"||d==="radio",u={...s,checked:m,disabled:c,disableFocusRipple:y,edge:R},T=W(u);return B.jsxs(X,{component:"span",className:e.clsx(T.root,w),centerRipple:!0,focusRipple:!y,disabled:c,tabIndex:null,role:void 0,onFocus:D,onBlur:E,ownerState:u,ref:r,...N,children:[B.jsx(Y,{autoFocus:a,checked:i,defaultChecked:f,className:T.input,disabled:c,id:L?q:void 0,name:j,onChange:_,readOnly:I,ref:O,required:z,ownerState:u,tabIndex:v,type:d,...d==="checkbox"&&P===void 0?{}:{value:P},...x}),m?p:S]})});process.env.NODE_ENV!=="production"&&(C.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:G.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});exports.SwitchBase=C;
1
+ "use strict";const M=require("react"),e=require("./generateUtilityClasses-CCNEQAp0.cjs"),l=require("./DefaultPropsProvider-Se6dgF9O.cjs"),V=require("./useFormControl-haP0iPhl.cjs"),B=require("react/jsx-runtime"),$=require("./ButtonBase-Di2DXi1_.cjs"),A=require("./useControlled-Ysk4KqoX.cjs"),G=require("./refType-B9Yjv-2f.cjs"),H=require("./capitalize-BDTxYy_y.cjs");function J(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const K=J(M);function Q(o){return e.generateUtilityClass("PrivateSwitchBase",o)}e.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const W=o=>{const{classes:s,checked:r,disabled:a,edge:i}=o,p={root:["root",r&&"checked",a&&"disabled",i&&`edge${H.capitalize(i)}`],input:["input"]};return l.composeClasses(p,Q,s)},X=l.styled($.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:s})=>o==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:s})=>o==="end"&&s.size!=="small",style:{marginRight:-12}}]}),Y=l.styled("input",{shouldForwardProp:l.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),C=K.forwardRef(function(s,r){const{autoFocus:a,checked:i,checkedIcon:p,className:w,defaultChecked:f,disabled:F,disableFocusRipple:y=!1,edge:R=!1,icon:S,id:q,inputProps:x,inputRef:O,name:j,onBlur:h,onChange:b,onFocus:g,readOnly:I,required:z=!1,tabIndex:v,type:d,value:P,...N}=s,[m,U]=A.useControlled({controlled:i,default:!!f,name:"SwitchBase",state:"checked"}),n=V.useFormControl(),D=t=>{g&&g(t),n&&n.onFocus&&n.onFocus(t)},E=t=>{h&&h(t),n&&n.onBlur&&n.onBlur(t)},_=t=>{if(t.nativeEvent.defaultPrevented)return;const k=t.target.checked;U(k),b&&b(t,k)};let c=F;n&&typeof c>"u"&&(c=n.disabled);const L=d==="checkbox"||d==="radio",u={...s,checked:m,disabled:c,disableFocusRipple:y,edge:R},T=W(u);return B.jsxs(X,{component:"span",className:e.clsx(T.root,w),centerRipple:!0,focusRipple:!y,disabled:c,tabIndex:null,role:void 0,onFocus:D,onBlur:E,ownerState:u,ref:r,...N,children:[B.jsx(Y,{autoFocus:a,checked:i,defaultChecked:f,className:T.input,disabled:c,id:L?q:void 0,name:j,onChange:_,readOnly:I,ref:O,required:z,ownerState:u,tabIndex:v,type:d,...d==="checkbox"&&P===void 0?{}:{value:P},...x}),m?p:S]})});process.env.NODE_ENV!=="production"&&(C.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:G.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});exports.SwitchBase=C;
@@ -1,12 +1,12 @@
1
1
  import * as D from "react";
2
- import { H as G, I as H, G as V, P as e } from "./generateUtilityClasses-BJHPiQWA.js";
3
- import { s as C, r as _, c as $ } from "./DefaultPropsProvider-BmQWOmjA.js";
2
+ import { H as G, I as H, G as V, P as e } from "./generateUtilityClasses-CMVTZlSt.js";
3
+ import { s as C, r as _, c as $ } from "./DefaultPropsProvider-CeEBQtDy.js";
4
4
  import { u as A } from "./useFormControl-CatNKXAi.js";
5
5
  import { jsxs as J, jsx as K } from "react/jsx-runtime";
6
- import { B as M } from "./ButtonBase-47oiHfhL.js";
6
+ import { B as M } from "./ButtonBase-CGJRRTHm.js";
7
7
  import { u as Q } from "./useControlled-BYdyS7Pn.js";
8
- import { r as W } from "./refType-Bh5FCWaj.js";
9
- import { c as X } from "./capitalize-B8YoH5Tf.js";
8
+ import { r as W } from "./refType-IuPwh8dk.js";
9
+ import { c as X } from "./capitalize-B55K71yP.js";
10
10
  function Y(s) {
11
11
  return G("PrivateSwitchBase", s);
12
12
  }