@cgi-learning-hub/ui 1.7.0-dev.1754301119 → 1.7.0-dev.1754301696

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 (295) hide show
  1. package/dist/Alert-C6iEisoq.cjs +1 -0
  2. package/dist/Alert-D4JVZyQU.cjs +1 -0
  3. package/dist/{Alert-5HprKpir.js → Alert-D7CiHM6d.js} +6 -6
  4. package/dist/{Alert-CuHfEhGp.js → Alert-kxWN2hw0.js} +12 -11
  5. package/dist/Autocomplete-1xee2eiQ.cjs +6 -0
  6. package/dist/{Autocomplete-CnlyVovu.js → Autocomplete-BfNqYbav.js} +45 -44
  7. package/dist/{Backdrop-afVH4rly.js → Backdrop-D7dPrxSb.js} +35 -36
  8. package/dist/Backdrop-DgkaE-oT.cjs +1 -0
  9. package/dist/Badge-BUbP5vp-.cjs +1 -0
  10. package/dist/{Badge-DpZnnKn_.js → Badge-DBzOcFK5.js} +10 -9
  11. package/dist/Box-C1W2izKY.cjs +1 -0
  12. package/dist/{Box-Y5NFdtT9.js → Box-CBqFcDTK.js} +3 -3
  13. package/dist/{Button-ClQzrcfJ.js → Button-CdzT4uYI.js} +149 -115
  14. package/dist/Button-cDSw19Nq.cjs +1 -0
  15. package/dist/{ButtonBase-CfNwaETo.cjs → ButtonBase-BOnOTx73.cjs} +1 -1
  16. package/dist/{ButtonBase-C1B1bSuc.js → ButtonBase-C1FIHWcD.js} +2 -2
  17. package/dist/CardContent-D4botNGC.cjs +1 -0
  18. package/dist/{CardContent-C-7Ills7.js → CardContent-cbluqmUz.js} +3 -3
  19. package/dist/Checkbox-BXKolrmm.cjs +1 -0
  20. package/dist/{Checkbox-BDo-Ja4u.js → Checkbox-CXMDqMmf.js} +27 -26
  21. package/dist/{Chip-DaVoVFrv.js → Chip-BpeHDShb.js} +102 -102
  22. package/dist/Chip-Ch-5oIUc.cjs +1 -0
  23. package/dist/{CircularProgress-e2GwZjvZ.js → CircularProgress-ByBabaUG.js} +14 -13
  24. package/dist/CircularProgress-CTG6zAAM.cjs +28 -0
  25. package/dist/{Close-SkZcN5BS.js → Close-BjQCC0qE.js} +1 -1
  26. package/dist/{Close-5D8Ib460.cjs → Close-NlNVwj8F.cjs} +1 -1
  27. package/dist/{CloseRounded-pu2ZIJ3C.js → CloseRounded-DHTxUBWk.js} +1 -1
  28. package/dist/{CloseRounded-PDGvPmjB.cjs → CloseRounded-XK3z7Pzh.cjs} +1 -1
  29. package/dist/{CustomTreeItem-BEITZFVP.cjs → CustomTreeItem-C1bfen5B.cjs} +1 -1
  30. package/dist/{CustomTreeItem-CzwoMYbo.js → CustomTreeItem-D-4kMx41.js} +12 -12
  31. package/dist/{DatePicker-BlhninZc.js → DatePicker-DZrDegSu.js} +2864 -2862
  32. package/dist/DatePicker-Slqqr585.cjs +16 -0
  33. package/dist/{DefaultPropsProvider-DUvQuMqx.js → DefaultPropsProvider-BrNsAtD3.js} +23 -23
  34. package/dist/DefaultPropsProvider-H9bB_0gL.cjs +1 -0
  35. package/dist/{Delete-BG2nuo1g.js → Delete-De1w6Wb0.js} +1 -1
  36. package/dist/{Delete-C3U_yHlr.cjs → Delete-jSTHS8bP.cjs} +1 -1
  37. package/dist/{Dialog-DNVqOw2s.js → Dialog-Cx__5cTV.js} +15 -14
  38. package/dist/Dialog-CzMU1Vaw.cjs +1 -0
  39. package/dist/{DialogContent-D5a75H3s.js → DialogContent-DrRkY205.js} +3 -3
  40. package/dist/DialogContent-mzqgUnTG.cjs +1 -0
  41. package/dist/DialogTitle-Ba_P5rRd.cjs +1 -0
  42. package/dist/{DialogTitle-JZQnwtuk.js → DialogTitle-CdH-pj3R.js} +5 -5
  43. package/dist/{Divider-CYeubXMv.js → Divider-BTDjUp2v.js} +4 -4
  44. package/dist/Divider-CZPVxsPO.cjs +1 -0
  45. package/dist/{Folder-BOpUcb-0.js → Folder-BdmrBiSE.js} +1 -1
  46. package/dist/{Folder-Buw8vc6p.cjs → Folder-Ry-DhShC.cjs} +1 -1
  47. package/dist/{FormLabel-Co9lVChV.js → FormLabel-BqkN_xxS.js} +16 -15
  48. package/dist/FormLabel-DJ9MlN95.cjs +2 -0
  49. package/dist/{Grid-7Ov-bB30.js → Grid-Dal_bzkG.js} +82 -74
  50. package/dist/Grid-gwsV6B8i.cjs +2 -0
  51. package/dist/{Grow-BkwKF7q9.js → Grow-BpiZp6xU.js} +1 -1
  52. package/dist/{Grow-D3LPFWff.cjs → Grow-DPkmt9jI.cjs} +1 -1
  53. package/dist/{IconButton-Blb-11WY.js → IconButton-BrEiwZs1.js} +6 -5
  54. package/dist/IconButton-DQ0-3085.cjs +2 -0
  55. package/dist/{InputAdornment-DVvWksJD.js → InputAdornment-6pibWhBs.js} +15 -14
  56. package/dist/InputAdornment-BM3llcq_.cjs +1 -0
  57. package/dist/{InputBase-BH6v1g55.js → InputBase--Jk0Al5O.js} +51 -50
  58. package/dist/InputBase-C4hx7uf2.cjs +4 -0
  59. package/dist/{Link-CTpG0nMM.js → Link-8wJ87d6M.js} +11 -10
  60. package/dist/Link-CIQePe28.cjs +1 -0
  61. package/dist/List--5MPONUQ.cjs +1 -0
  62. package/dist/{List-HZ02T5IH.js → List-q9c0EQIN.js} +2 -2
  63. package/dist/ListItem-C2_Z7drq.cjs +1 -0
  64. package/dist/{ListItem-d54kASOG.js → ListItem-iH38wGFD.js} +4 -4
  65. package/dist/{ListItemText-DYmSkIYb.js → ListItemText-7p6JHq3z.js} +9 -9
  66. package/dist/ListItemText-D9-Pz-Pv.cjs +1 -0
  67. package/dist/{Menu-_ydVG0GC.js → Menu-B-AGEy5x.js} +28 -28
  68. package/dist/{Menu-DaY3i7bt.cjs → Menu-CZF84BcH.cjs} +5 -5
  69. package/dist/{MenuItem-Dm4LBnCD.js → MenuItem-D-Y0l50p.js} +7 -7
  70. package/dist/MenuItem-Tfoo4dBw.cjs +1 -0
  71. package/dist/Modal-DeI0Mlfa.cjs +2 -0
  72. package/dist/{Modal-BzSNDBLR.js → Modal-rm4Wr5mr.js} +6 -6
  73. package/dist/{MoreVert-IEpmt0uR.cjs → MoreVert-4w5beLFq.cjs} +1 -1
  74. package/dist/{MoreVert-B3ciLTYq.js → MoreVert-K_wr6kJS.js} +1 -1
  75. package/dist/{Paper-DyvwdVbr.js → Paper-CFhnudKQ.js} +4 -4
  76. package/dist/Paper-_oaR1_0W.cjs +2 -0
  77. package/dist/Popper-D60dNc4H.cjs +4 -0
  78. package/dist/{Popper-BeTnr75i.js → Popper-tW85AcRT.js} +4 -4
  79. package/dist/Portal-BXwfYalF.cjs +1 -0
  80. package/dist/{Portal-BlK6ttxt.js → Portal-DZrHcvYi.js} +15 -15
  81. package/dist/{Radio-Bu3a_PCd.js → Radio-C1IIog7f.js} +74 -78
  82. package/dist/Radio-DTyaqbCx.cjs +1 -0
  83. package/dist/{RadioGroup-uNUiFbWR.js → RadioGroup-C03E_nJT.js} +3 -3
  84. package/dist/RadioGroup-Ch703c6I.cjs +1 -0
  85. package/dist/Select-BFy88I22.cjs +3 -0
  86. package/dist/{Select-DOdisH2t.js → Select-qUF3oQz8.js} +284 -292
  87. package/dist/{Stack-HQi3T-bA.js → Stack-D1BZQ4nk.js} +16 -16
  88. package/dist/Stack-DraxEahz.cjs +1 -0
  89. package/dist/Stepper-DZ3G6yg0.cjs +1 -0
  90. package/dist/{Stepper-CLIIxOjX.js → Stepper-N5qN-x7q.js} +23 -22
  91. package/dist/Switch-JAYiSudG.cjs +1 -0
  92. package/dist/{Switch-DMXAop9u.js → Switch-PlSZBWfd.js} +20 -19
  93. package/dist/{SwitchBase-DHIl4C4Y.js → SwitchBase-CAOV2ay6.js} +48 -50
  94. package/dist/SwitchBase-CLGs4Tit.cjs +1 -0
  95. package/dist/Tab-BnZwSzzt.cjs +4 -0
  96. package/dist/{Tab-Wa4vpq-c.js → Tab-DfH7qAIY.js} +76 -75
  97. package/dist/TextField-3tuxHLZ9.cjs +1 -0
  98. package/dist/{TextField-C1yi1eJS.js → TextField-CUhKk24w.js} +23 -22
  99. package/dist/ToggleButtonGroup-BZRf-b3W.cjs +138 -0
  100. package/dist/{ToggleButtonGroup-BbPnmCNn.js → ToggleButtonGroup-D_I3DjEz.js} +1328 -1304
  101. package/dist/{Tooltip-BJEo8ucK.js → Tooltip-BLSnjkFh.js} +24 -23
  102. package/dist/Tooltip-Bzb_mXr7.cjs +4 -0
  103. package/dist/{Typography-FOMqoyry.js → Typography-Bdfl0Alf.js} +7 -6
  104. package/dist/Typography-CZKR4ZRK.cjs +1 -0
  105. package/dist/capitalize-CgHuXq7I.js +9 -0
  106. package/dist/capitalize-N-bUbBKG.cjs +1 -0
  107. package/dist/components/ActionBar/style.cjs.js +1 -1
  108. package/dist/components/ActionBar/style.es.js +2 -2
  109. package/dist/components/Alert/Alert.cjs.js +1 -1
  110. package/dist/components/Alert/Alert.es.js +4 -4
  111. package/dist/components/Alert/index.cjs.js +1 -1
  112. package/dist/components/Alert/index.es.js +1 -1
  113. package/dist/components/Button/Button.cjs.js +1 -1
  114. package/dist/components/Button/Button.es.js +2 -2
  115. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  116. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  117. package/dist/components/DatePicker/index.cjs.js +1 -1
  118. package/dist/components/DatePicker/index.es.js +1 -1
  119. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  120. package/dist/components/Dialog/Dialog.es.js +2 -2
  121. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  122. package/dist/components/Dropzone/Dropzone.es.js +3 -3
  123. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  124. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  125. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  126. package/dist/components/FileList/FileIcon.es.js +1 -1
  127. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  128. package/dist/components/FileList/FileListItem.es.js +4 -4
  129. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  130. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  131. package/dist/components/Heading/Heading.cjs.js +1 -1
  132. package/dist/components/Heading/Heading.es.js +2 -2
  133. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  134. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  135. package/dist/components/Loader/Loader.cjs.js +1 -1
  136. package/dist/components/Loader/Loader.es.js +1 -1
  137. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  138. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  139. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  140. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  141. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  142. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  143. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  144. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  145. package/dist/components/TreeView/TreeView.cjs.js +2 -2
  146. package/dist/components/TreeView/TreeView.es.js +39 -39
  147. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  148. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  149. package/dist/components/TreeView/utils.cjs.js +1 -1
  150. package/dist/components/TreeView/utils.es.js +3 -3
  151. package/dist/components/index.cjs.js +1 -1
  152. package/dist/components/index.es.js +44 -44
  153. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  154. package/dist/components/stories/Alert.stories.es.js +1 -1
  155. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  156. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  157. package/dist/components/stories/Badge.stories.cjs.js +1 -1
  158. package/dist/components/stories/Badge.stories.es.js +2 -2
  159. package/dist/components/stories/Button.stories.cjs.js +1 -1
  160. package/dist/components/stories/Button.stories.es.js +1 -1
  161. package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
  162. package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
  163. package/dist/components/stories/Card.stories.cjs.js +1 -1
  164. package/dist/components/stories/Card.stories.es.js +2 -2
  165. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  166. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  167. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  168. package/dist/components/stories/Chip.stories.es.js +1 -1
  169. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  170. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  171. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  172. package/dist/components/stories/Dialog.stories.es.js +2 -2
  173. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  174. package/dist/components/stories/Divider.stories.es.js +1 -1
  175. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  176. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  177. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  178. package/dist/components/stories/Heading.stories.es.js +2 -2
  179. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  180. package/dist/components/stories/IconButton.stories.es.js +2 -2
  181. package/dist/components/stories/Link.stories.cjs.js +1 -1
  182. package/dist/components/stories/Link.stories.es.js +1 -1
  183. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  184. package/dist/components/stories/Menu.stories.es.js +2 -2
  185. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  186. package/dist/components/stories/Paper.stories.es.js +1 -1
  187. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  188. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  189. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  190. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  191. package/dist/components/stories/Select.stories.cjs.js +1 -1
  192. package/dist/components/stories/Select.stories.es.js +3 -3
  193. package/dist/components/stories/Stepper.stories.cjs.js +1 -1
  194. package/dist/components/stories/Stepper.stories.es.js +4 -4
  195. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  196. package/dist/components/stories/TabList.stories.es.js +1 -1
  197. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  198. package/dist/components/stories/TextField.stories.es.js +1 -1
  199. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  200. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  201. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  202. package/dist/components/stories/TreeView.stories.es.js +12 -12
  203. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  204. package/dist/components/stories/Typography.stories.es.js +1 -1
  205. package/dist/composeClasses-CZaHK87I.js +51 -0
  206. package/dist/composeClasses-DLNLdr2K.cjs +1 -0
  207. package/dist/createSvgIcon-DzMPK9Wt.cjs +1 -0
  208. package/dist/{createSvgIcon-CBuQt1E7.js → createSvgIcon-nrGLeL-I.js} +8 -7
  209. package/dist/{dividerClasses-DAQcMLKz.js → dividerClasses-Cds5AHtx.js} +1 -1
  210. package/dist/dividerClasses-DT1ACCA-.cjs +1 -0
  211. package/dist/extendSxProp-IrF6qCII.cjs +1 -0
  212. package/dist/{extendSxProp-BqMCV2uy.js → extendSxProp-e_bx8m3Z.js} +1 -1
  213. package/dist/{identifier-MtSOtM28.js → generateUtilityClasses-32ARRWdA.js} +615 -585
  214. package/dist/generateUtilityClasses-CdsrTlgj.cjs +55 -0
  215. package/dist/{index-6tKU6ZQK.js → index-B9KBbi0q.js} +4 -4
  216. package/dist/index-DGUCeeBA.cjs +1 -0
  217. package/dist/index.cjs.js +1 -1
  218. package/dist/index.es.js +44 -44
  219. package/dist/listItemTextClasses-BK-fvEix.cjs +1 -0
  220. package/dist/{listItemTextClasses-CEEJTyBd.js → listItemTextClasses-D1H_8v-c.js} +1 -1
  221. package/dist/{memoTheme-BkQtxnmm.js → memoTheme-BBxIYGG7.js} +1 -1
  222. package/dist/{memoTheme-COFyM-Lj.cjs → memoTheme-BsSXjuJK.cjs} +1 -1
  223. package/dist/{mergeSlotProps-DoT5Q_u9.js → mergeSlotProps-r8Lw8Cah.js} +1 -1
  224. package/dist/mergeSlotProps-wZnr2VqA.cjs +1 -0
  225. package/dist/useSlot-BI_E4Zjs.cjs +1 -0
  226. package/dist/{useSlot-CKkACQ6_.js → useSlot-DnOTNYbF.js} +1 -1
  227. package/dist/{useSlotProps-C6ampkNB.cjs → useSlotProps-5aNXGFYF.cjs} +1 -1
  228. package/dist/{useSlotProps-gY5pnb4R.js → useSlotProps-BwBEemtt.js} +1 -1
  229. package/dist/useTheme-6FgHgKII.cjs +1 -0
  230. package/dist/useTheme-Bjns7t5p.js +11 -0
  231. package/dist/useTheme-BxDf8E3o.cjs +1 -0
  232. package/dist/{useTheme-FvB4v6HF.js → useTheme-CMVVKo4v.js} +1 -1
  233. package/dist/{useThemeProps-CMAEtBA0.cjs → useThemeProps-BIb0QYVO.cjs} +1 -1
  234. package/dist/useThemeProps-BwzAhOV5.cjs +1 -0
  235. package/dist/useThemeProps-DV7UxDZG.js +17 -0
  236. package/dist/{useThemeProps-DQn1JzAi.js → useThemeProps-lFVeX-f0.js} +4 -4
  237. package/package.json +7 -7
  238. package/dist/Alert-oX08_btj.cjs +0 -1
  239. package/dist/Alert-t9Y5Rmd0.cjs +0 -1
  240. package/dist/Autocomplete-B8P9Ovq8.cjs +0 -6
  241. package/dist/Backdrop-BoQZpWZe.cjs +0 -1
  242. package/dist/Badge-BzldmSCw.cjs +0 -1
  243. package/dist/Box-DZPm-7sq.cjs +0 -1
  244. package/dist/Button-DirKtTwl.cjs +0 -1
  245. package/dist/CardContent-AsctHPxN.cjs +0 -1
  246. package/dist/Checkbox-D-IlU3y3.cjs +0 -1
  247. package/dist/Chip-BMkket_G.cjs +0 -1
  248. package/dist/CircularProgress-DHKrC_wC.cjs +0 -28
  249. package/dist/DatePicker-BC18fq-N.cjs +0 -16
  250. package/dist/DefaultPropsProvider-L6HBe-61.cjs +0 -1
  251. package/dist/Dialog-BrzV4wxg.cjs +0 -1
  252. package/dist/DialogContent-CB_sWv9x.cjs +0 -1
  253. package/dist/DialogTitle-CNbmF6WW.cjs +0 -1
  254. package/dist/Divider-LtKWCwQ0.cjs +0 -1
  255. package/dist/FormLabel-BgcoFMaK.cjs +0 -2
  256. package/dist/Grid-DZuUDIfd.cjs +0 -2
  257. package/dist/IconButton-eTKjCSYh.cjs +0 -2
  258. package/dist/InputAdornment-AXmehV8N.cjs +0 -1
  259. package/dist/InputBase-CJ__hvW-.cjs +0 -4
  260. package/dist/Link-J35C0yR7.cjs +0 -1
  261. package/dist/List-DqWGUj00.cjs +0 -1
  262. package/dist/ListItem-DHXWFekp.cjs +0 -1
  263. package/dist/ListItemText-BBfnonUl.cjs +0 -1
  264. package/dist/MenuItem-H2jLZZlW.cjs +0 -1
  265. package/dist/Modal-Dzfy_1jJ.cjs +0 -2
  266. package/dist/Paper-C556kWTS.cjs +0 -2
  267. package/dist/Popper-CUaI4ozF.cjs +0 -4
  268. package/dist/Portal-CPOCKeMh.cjs +0 -1
  269. package/dist/Radio-D7yE5cpq.cjs +0 -1
  270. package/dist/RadioGroup-D4RBSqS4.cjs +0 -1
  271. package/dist/Select-DuhWfirM.cjs +0 -3
  272. package/dist/Stack-g8Bqti2Z.cjs +0 -1
  273. package/dist/Stepper-CHdyehzy.cjs +0 -1
  274. package/dist/Switch-BO43FkC8.cjs +0 -1
  275. package/dist/SwitchBase-DEmHoES3.cjs +0 -1
  276. package/dist/Tab-YDNeFPka.cjs +0 -4
  277. package/dist/TextField-C9KnxAy6.cjs +0 -1
  278. package/dist/ToggleButtonGroup-BO41LFPa.cjs +0 -138
  279. package/dist/Tooltip-D2pRQ5fo.cjs +0 -4
  280. package/dist/Typography-B9IL0Yyj.cjs +0 -1
  281. package/dist/createSvgIcon-DdYUnzSL.cjs +0 -1
  282. package/dist/dividerClasses-ZjarMa6x.cjs +0 -1
  283. package/dist/extendSxProp-CJQ3kPMK.cjs +0 -1
  284. package/dist/identifier-DEr2pTmJ.cjs +0 -55
  285. package/dist/index-DXLTUqRz.cjs +0 -1
  286. package/dist/listItemTextClasses-1rlNhf-V.cjs +0 -1
  287. package/dist/mergeSlotProps-CxIbs-F-.cjs +0 -1
  288. package/dist/styled-CrcV-2Lu.js +0 -5
  289. package/dist/styled-DI-9E4CZ.cjs +0 -1
  290. package/dist/useSlot-CDchSDy6.cjs +0 -1
  291. package/dist/useTheme-BopB_RfW.js +0 -11
  292. package/dist/useTheme-CcW-d3_-.cjs +0 -1
  293. package/dist/useTheme-DtUyXlAF.cjs +0 -1
  294. package/dist/useThemeProps-BrAWHIaw.cjs +0 -1
  295. package/dist/useThemeProps-DFxy_wfq.js +0 -17
@@ -0,0 +1 @@
1
+ "use strict";const n=require("react/jsx-runtime"),m=require("./useTheme-BxDf8E3o.cjs"),f=require("./Alert-D4JVZyQU.cjs"),g=require("react"),s=require("./index-DLnSn8GT.cjs"),l=require("./generateUtilityClasses-CdsrTlgj.cjs"),d=require("./memoTheme-BsSXjuJK.cjs"),i=require("./DefaultPropsProvider-H9bB_0gL.cjs"),A=require("./Typography-CZKR4ZRK.cjs");function h(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const P=h(g);function p(e){return l.generateUtilityClass("MuiAlertTitle",e)}const b=l.generateUtilityClasses("MuiAlertTitle",["root"]),j=e=>{const{classes:t}=e,r={root:["root"]};return i.composeClasses(r,p,t)},q=i.styled(A.Typography,{name:"MuiAlertTitle",slot:"Root"})(d.memoTheme(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),c=P.forwardRef(function(t,r){const o=i.useDefaultProps({props:t,name:"MuiAlertTitle"}),{className:u,...T}=o,a=o,y=j(a);return n.jsx(q,{gutterBottom:!0,component:"div",ownerState:a,ref:r,className:l.clsx(y.root,u),...T})});process.env.NODE_ENV!=="production"&&(c.propTypes={children:s.PropTypes.node,classes:s.PropTypes.object,className:s.PropTypes.string,sx:s.PropTypes.oneOfType([s.PropTypes.arrayOf(s.PropTypes.oneOfType([s.PropTypes.func,s.PropTypes.object,s.PropTypes.bool])),s.PropTypes.func,s.PropTypes.object])});const x=({severity:e="success",...t})=>{const r=m.useTheme();return n.jsxs(f.Alert,{severity:e,color:e,sx:{bgcolor:l.alpha(r.palette[e].light,.35),...t.sx},...t,children:[t.title?n.jsx(c,{children:t.title}):null,t.children]})};exports.Alert=x;exports.AlertTitle=c;exports.alertTitleClasses=b;exports.getAlertTitleUtilityClass=p;
@@ -0,0 +1 @@
1
+ "use strict";const _=require("react"),e=require("./index-DLnSn8GT.cjs"),p=require("./generateUtilityClasses-CdsrTlgj.cjs"),Z=require("./memoTheme-BsSXjuJK.cjs"),i=require("./useSlot-BI_E4Zjs.cjs"),g=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),T=require("./createSvgIcon-DzMPK9Wt.cjs"),n=require("react/jsx-runtime"),G=require("./Close-NlNVwj8F.cjs"),c=require("./DefaultPropsProvider-H9bB_0gL.cjs"),J=require("./IconButton-DQ0-3085.cjs"),f=require("./capitalize-N-bUbBKG.cjs"),K=require("./Paper-_oaR1_0W.cjs");function Q(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,t.get?t:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const X=Q(_);function Y(o){return p.generateUtilityClass("MuiAlert",o)}const I=p.generateUtilityClasses("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),ee=T.createSvgIcon(n.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),oe=T.createSvgIcon(n.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),te=T.createSvgIcon(n.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),re=T.createSvgIcon(n.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),se=o=>{const{variant:s,color:r,severity:t,classes:y}=o,P={root:["root",`color${f.capitalize(r||t)}`,`${s}${f.capitalize(r||t)}`,`${s}`],icon:["icon"],message:["message"],action:["action"]};return c.composeClasses(P,Y,y)},ne=c.styled(K.Paper,{name:"MuiAlert",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.root,s[r.variant],s[`${r.variant}${f.capitalize(r.color||r.severity)}`]]}})(Z.memoTheme(({theme:o})=>{const s=o.palette.mode==="light"?p.darken:p.lighten,r=o.palette.mode==="light"?p.lighten:p.darken;return{...o.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(o.palette).filter(g.createSimplePaletteValueFilter(["light"])).map(([t])=>({props:{colorSeverity:t,variant:"standard"},style:{color:o.vars?o.vars.palette.Alert[`${t}Color`]:s(o.palette[t].light,.6),backgroundColor:o.vars?o.vars.palette.Alert[`${t}StandardBg`]:r(o.palette[t].light,.9),[`& .${I.icon}`]:o.vars?{color:o.vars.palette.Alert[`${t}IconColor`]}:{color:o.palette[t].main}}})),...Object.entries(o.palette).filter(g.createSimplePaletteValueFilter(["light"])).map(([t])=>({props:{colorSeverity:t,variant:"outlined"},style:{color:o.vars?o.vars.palette.Alert[`${t}Color`]:s(o.palette[t].light,.6),border:`1px solid ${(o.vars||o).palette[t].light}`,[`& .${I.icon}`]:o.vars?{color:o.vars.palette.Alert[`${t}IconColor`]}:{color:o.palette[t].main}}})),...Object.entries(o.palette).filter(g.createSimplePaletteValueFilter(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:o.typography.fontWeightMedium,...o.vars?{color:o.vars.palette.Alert[`${t}FilledColor`],backgroundColor:o.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:o.palette.mode==="dark"?o.palette[t].dark:o.palette[t].main,color:o.palette.getContrastText(o.palette[t].main)}}}))]}})),le=c.styled("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),pe=c.styled("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),ae=c.styled("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),O={success:n.jsx(ee,{fontSize:"inherit"}),warning:n.jsx(oe,{fontSize:"inherit"}),error:n.jsx(te,{fontSize:"inherit"}),info:n.jsx(re,{fontSize:"inherit"})},b=X.forwardRef(function(s,r){const t=c.useDefaultProps({props:s,name:"MuiAlert"}),{action:y,children:P,className:M,closeText:v="Close",color:S,components:m={},componentsProps:h={},icon:C,iconMapping:z=O,onClose:x,role:$="alert",severity:u="success",slotProps:B={},slots:q={},variant:k="standard",...w}=t,l={...t,color:S,severity:u,variant:k,colorSeverity:S||u},d=se(l),a={slots:{closeButton:m.CloseButton,closeIcon:m.CloseIcon,...q},slotProps:{...h,...B}},[L,R]=i.useSlot("root",{ref:r,shouldForwardComponentProp:!0,className:p.clsx(d.root,M),elementType:ne,externalForwardedProps:{...a,...w},ownerState:l,additionalProps:{role:$,elevation:0}}),[F,N]=i.useSlot("icon",{className:d.icon,elementType:le,externalForwardedProps:a,ownerState:l}),[E,V]=i.useSlot("message",{className:d.message,elementType:pe,externalForwardedProps:a,ownerState:l}),[A,j]=i.useSlot("action",{className:d.action,elementType:ae,externalForwardedProps:a,ownerState:l}),[W,D]=i.useSlot("closeButton",{elementType:J.IconButton,externalForwardedProps:a,ownerState:l}),[H,U]=i.useSlot("closeIcon",{elementType:G.CloseIcon,externalForwardedProps:a,ownerState:l});return n.jsxs(L,{...R,children:[C!==!1?n.jsx(F,{...N,children:C||z[u]||O[u]}):null,n.jsx(E,{...V,children:P}),y!=null?n.jsx(A,{...j,children:y}):null,y==null&&x?n.jsx(A,{...j,children:n.jsx(W,{size:"small","aria-label":v,title:v,color:"inherit",onClick:x,...D,children:n.jsx(H,{fontSize:"small",...U})})}):null]})});process.env.NODE_ENV!=="production"&&(b.propTypes={action:e.PropTypes.node,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,closeText:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["error","info","success","warning"]),e.PropTypes.string]),components:e.PropTypes.shape({CloseButton:e.PropTypes.elementType,CloseIcon:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({closeButton:e.PropTypes.object,closeIcon:e.PropTypes.object}),icon:e.PropTypes.node,iconMapping:e.PropTypes.shape({error:e.PropTypes.node,info:e.PropTypes.node,success:e.PropTypes.node,warning:e.PropTypes.node}),onClose:e.PropTypes.func,role:e.PropTypes.string,severity:e.PropTypes.oneOfType([e.PropTypes.oneOf(["error","info","success","warning"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({action:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),closeButton:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),closeIcon:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),icon:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),message:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({action:e.PropTypes.elementType,closeButton:e.PropTypes.elementType,closeIcon:e.PropTypes.elementType,icon:e.PropTypes.elementType,message:e.PropTypes.elementType,root:e.PropTypes.elementType}),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]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["filled","outlined","standard"]),e.PropTypes.string])});exports.Alert=b;
@@ -1,12 +1,12 @@
1
1
  import { jsx as a, jsxs as p } from "react/jsx-runtime";
2
- import { u } from "./useTheme-BopB_RfW.js";
3
- import { A as f } from "./Alert-CuHfEhGp.js";
2
+ import { u } from "./useTheme-Bjns7t5p.js";
3
+ import { A as f } from "./Alert-kxWN2hw0.js";
4
4
  import * as T from "react";
5
5
  import { P as t } from "./index-Sy88PpwE.js";
6
- import { F as g, G as y, H as A, n as d } from "./identifier-MtSOtM28.js";
7
- import { m as h } from "./memoTheme-BkQtxnmm.js";
8
- import { u as x, s as b, c as C } from "./DefaultPropsProvider-DUvQuMqx.js";
9
- import { T as j } from "./Typography-FOMqoyry.js";
6
+ import { F as g, G as y, H as A, n as d } from "./generateUtilityClasses-32ARRWdA.js";
7
+ import { m as h } from "./memoTheme-BBxIYGG7.js";
8
+ import { u as x, s as b, c as C } from "./DefaultPropsProvider-BrNsAtD3.js";
9
+ import { T as j } from "./Typography-Bdfl0Alf.js";
10
10
  function M(e) {
11
11
  return y("MuiAlertTitle", e);
12
12
  }
@@ -1,17 +1,18 @@
1
1
  import * as q from "react";
2
2
  import { P as o } from "./index-Sy88PpwE.js";
3
- import { F as G, G as K, H as _, K as y, q as b, s as M } from "./identifier-MtSOtM28.js";
4
- import { m as J } from "./memoTheme-BkQtxnmm.js";
5
- import { u as i } from "./useSlot-CKkACQ6_.js";
3
+ import { F as G, G as _, H as J, q as b, s as M } from "./generateUtilityClasses-32ARRWdA.js";
4
+ import { m as K } from "./memoTheme-BBxIYGG7.js";
5
+ import { u as i } from "./useSlot-DnOTNYbF.js";
6
6
  import { c as m } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
7
- import { c as u } from "./createSvgIcon-CBuQt1E7.js";
7
+ import { c as u } from "./createSvgIcon-nrGLeL-I.js";
8
8
  import { jsx as n, jsxs as Q } from "react/jsx-runtime";
9
- import { C as X } from "./Close-SkZcN5BS.js";
10
- import { u as Y, s as f, c as oo } from "./DefaultPropsProvider-DUvQuMqx.js";
11
- import { I as eo } from "./IconButton-Blb-11WY.js";
12
- import { P as to } from "./Paper-DyvwdVbr.js";
9
+ import { C as X } from "./Close-BjQCC0qE.js";
10
+ import { u as Y, s as f, c as oo } from "./DefaultPropsProvider-BrNsAtD3.js";
11
+ import { I as eo } from "./IconButton-BrEiwZs1.js";
12
+ import { c as y } from "./capitalize-CgHuXq7I.js";
13
+ import { P as to } from "./Paper-CFhnudKQ.js";
13
14
  function no(e) {
14
- return K("MuiAlert", e);
15
+ return _("MuiAlert", e);
15
16
  }
16
17
  const P = G("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSuccess", "colorInfo", "colorWarning", "colorError", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]), so = u(/* @__PURE__ */ n("path", {
17
18
  d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
@@ -43,7 +44,7 @@ const P = G("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSu
43
44
  } = e;
44
45
  return [s.root, s[r.variant], s[`${r.variant}${y(r.color || r.severity)}`]];
45
46
  }
46
- })(J(({
47
+ })(K(({
47
48
  theme: e
48
49
  }) => {
49
50
  const s = e.palette.mode === "light" ? b : M, r = e.palette.mode === "light" ? M : b;
@@ -175,7 +176,7 @@ const P = G("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSu
175
176
  }, [R, E] = i("root", {
176
177
  ref: r,
177
178
  shouldForwardComponentProp: !0,
178
- className: _(d.root, h),
179
+ className: J(d.root, h),
179
180
  elementType: co,
180
181
  externalForwardedProps: {
181
182
  ...a,
@@ -0,0 +1,6 @@
1
+ "use strict";const Mt=require("react"),t=require("./index-DLnSn8GT.cjs"),U=require("./generateUtilityClasses-CdsrTlgj.cjs"),q=require("./Select-BFy88I22.cjs"),ue=require("./InputBase-C4hx7uf2.cjs"),jt=require("./Close-NlNVwj8F.cjs"),ce=require("./memoTheme-BsSXjuJK.cjs"),ut=require("./useSlot-BI_E4Zjs.cjs"),T=require("react/jsx-runtime"),v=require("./DefaultPropsProvider-H9bB_0gL.cjs"),Vt=require("./useId-DNXtOFeX.cjs"),ct=require("./useControlled-QrrYcKxm.cjs"),Ft=require("./usePreviousProps-jC3PWcIp.cjs"),Je=require("./useEventCallback-BxpcFap0.cjs"),qt=require("./Portal-BXwfYalF.cjs"),wt=require("./Paper-_oaR1_0W.cjs"),At=require("./Popper-D60dNc4H.cjs"),zt=require("./Chip-Ch-5oIUc.cjs"),Xe=require("./capitalize-N-bUbBKG.cjs"),Lt=require("./IconButton-DQ0-3085.cjs"),It=require("./chainPropTypes-CEUi6Jb4.cjs"),Ht=require("./integerPropType-CR7ytEJG.cjs");function Bt(n){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const u in n)if(u!=="default"){const f=Object.getOwnPropertyDescriptor(n,u);Object.defineProperty(l,u,f.get?f:{enumerable:!0,get:()=>n[u]})}}return l.default=n,Object.freeze(l)}const P=Bt(Mt);function Ot(n){return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function kt(n={}){const{ignoreAccents:l=!0,ignoreCase:u=!0,limit:f,matchFrom:w="any",stringify:E,trim:A=!1}=n;return(N,{inputValue:W,getOptionLabel:x})=>{let S=A?W.trim():W;u&&(S=S.toLowerCase()),l&&(S=Ot(S));const G=S?N.filter(de=>{let M=(E||x)(de);return u&&(M=M.toLowerCase()),l&&(M=Ot(M)),w==="start"?M.startsWith(S):M.includes(S)}):N;return typeof f=="number"?G.slice(0,f):G}}const Ut=kt(),Ct=5,Wt=n=>{var l;return n.current!==null&&((l=n.current.parentElement)==null?void 0:l.contains(document.activeElement))},Gt=[];function St(n,l,u,f){if(l||n==null||f)return"";const w=u(n);return typeof w=="string"?w:""}function _t(n){const{unstable_isActiveElementInListbox:l=Wt,unstable_classNamePrefix:u="Mui",autoComplete:f=!1,autoHighlight:w=!1,autoSelect:E=!1,blurOnSelect:A=!1,clearOnBlur:N=!n.freeSolo,clearOnEscape:W=!1,componentName:x="useAutocomplete",defaultValue:S=n.multiple?Gt:null,disableClearable:G=!1,disableCloseOnSelect:de=!1,disabled:M,disabledItemsFocusable:ke=!1,disableListWrap:De=!1,filterOptions:dt=Ut,filterSelectedOptions:Re=!1,freeSolo:fe=!1,getOptionDisabled:_,getOptionKey:Ee,getOptionLabel:Ye=o=>o.label??o,groupBy:re,handleHomeEndKeys:Qe=!n.freeSolo,id:ft,includeInputInList:Pe=!1,inputValue:Ne,isOptionEqualToValue:Z=(o,e)=>o===e,multiple:c=!1,onChange:Ze,onClose:et,onHighlightChange:Me,onInputChange:ee,onOpen:je,open:gt,openOnFocus:yt=!1,options:bt,readOnly:J=!1,renderValue:k,selectOnFocus:tt=!n.freeSolo,value:Ve}=n,j=Vt.useId(ft);let $=Ye;$=o=>{const e=Ye(o);if(typeof e!="string"){if(process.env.NODE_ENV!=="production"){const r=e===void 0?"undefined":`${typeof e} (${e})`;console.error(`MUI: The \`getOptionLabel\` method of ${x} returned ${r} instead of a string for ${JSON.stringify(o)}.`)}return String(e)}return e};const Te=P.useRef(!1),xe=P.useRef(!0),h=P.useRef(null),F=P.useRef(null),[Ie,ht]=P.useState(null),[V,Fe]=P.useState(-1),ot=w?0:-1,C=P.useRef(ot),mt=P.useRef(St(S??Ve,c,$)).current,[a,Oe]=ct.useControlled({controlled:Ve,default:S,name:x}),[y,se]=ct.useControlled({controlled:Ne,default:mt,name:x,state:"inputValue"}),[ge,qe]=P.useState(!1),ye=P.useCallback((o,e,r)=>{if(!(c?a.length<e.length:e!==null)&&!N)return;const s=St(e,c,$,k);y!==s&&(se(s),ee&&ee(o,s,r))},[$,y,c,ee,se,N,a,k]),[X,le]=ct.useControlled({controlled:gt,default:!1,name:x,state:"open"}),[Pt,be]=P.useState(!0),ze=!c&&a!=null&&y===$(a),D=X&&!J,b=D?dt(bt.filter(o=>!(Re&&(c?a:[a]).some(e=>e!==null&&Z(o,e)))),{inputValue:ze&&Pt?"":y,getOptionLabel:$}):[],z=Ft.usePreviousProps({filteredOptions:b,value:a,inputValue:y});P.useEffect(()=>{const o=a!==z.value;ge&&!o||fe&&!o||ye(null,a,"reset")},[a,ye,ge,z.value,fe]);const He=X&&b.length>0&&!J,H=Je.useEventCallback(o=>{if(o===-1)h.current.focus();else{const e=k?"data-item-index":"data-tag-index";Ie.querySelector(`[${e}="${o}"]`).focus()}});P.useEffect(()=>{c&&V>a.length-1&&(Fe(-1),H(-1))},[a,c,V,H]);function nt(o,e){if(!F.current||o<0||o>=b.length)return-1;let r=o;for(;;){const i=F.current.querySelector(`[data-option-index="${r}"]`),s=ke?!1:!i||i.disabled||i.getAttribute("aria-disabled")==="true";if(i&&i.hasAttribute("tabindex")&&!s)return r;if(e==="next"?r=(r+1)%b.length:r=(r-1+b.length)%b.length,r===o)return-1}}const Y=Je.useEventCallback(({event:o,index:e,reason:r})=>{if(C.current=e,e===-1?h.current.removeAttribute("aria-activedescendant"):h.current.setAttribute("aria-activedescendant",`${j}-option-${e}`),Me&&["mouse","keyboard","touch"].includes(r)&&Me(o,e===-1?null:b[e],r),!F.current)return;const i=F.current.querySelector(`[role="option"].${u}-focused`);i&&(i.classList.remove(`${u}-focused`),i.classList.remove(`${u}-focusVisible`));let s=F.current;if(F.current.getAttribute("role")!=="listbox"&&(s=F.current.parentElement.querySelector('[role="listbox"]')),!s)return;if(e===-1){s.scrollTop=0;return}const g=F.current.querySelector(`[data-option-index="${e}"]`);if(g&&(g.classList.add(`${u}-focused`),r==="keyboard"&&g.classList.add(`${u}-focusVisible`),s.scrollHeight>s.clientHeight&&r!=="mouse"&&r!=="touch")){const m=g,L=s.clientHeight+s.scrollTop,we=m.offsetTop+m.offsetHeight;we>L?s.scrollTop=we-s.clientHeight:m.offsetTop-m.offsetHeight*(re?1.3:0)<s.scrollTop&&(s.scrollTop=m.offsetTop-m.offsetHeight*(re?1.3:0))}}),B=Je.useEventCallback(({event:o,diff:e,direction:r="next",reason:i})=>{if(!D)return;const g=nt((()=>{const m=b.length-1;if(e==="reset")return ot;if(e==="start")return 0;if(e==="end")return m;const L=C.current+e;return L<0?L===-1&&Pe?-1:De&&C.current!==-1||Math.abs(e)>1?0:m:L>m?L===m+1&&Pe?-1:De||Math.abs(e)>1?m:0:L})(),r);if(Y({index:g,reason:i,event:o}),f&&e!=="reset")if(g===-1)h.current.value=y;else{const m=$(b[g]);h.current.value=m,m.toLowerCase().indexOf(y.toLowerCase())===0&&y.length>0&&h.current.setSelectionRange(y.length,m.length)}}),rt=()=>{const o=(e,r)=>{const i=e?$(e):"",s=r?$(r):"";return i===s};if(C.current!==-1&&z.filteredOptions&&z.filteredOptions.length!==b.length&&z.inputValue===y&&(c?a.length===z.value.length&&z.value.every((e,r)=>$(a[r])===$(e)):o(z.value,a))){const e=z.filteredOptions[C.current];if(e)return b.findIndex(r=>$(r)===$(e))}return-1},Ce=P.useCallback(()=>{if(!D)return;const o=rt();if(o!==-1){C.current=o;return}const e=c?a[0]:a;if(b.length===0||e==null){B({diff:"reset"});return}if(F.current){if(e!=null){const r=b[C.current];if(c&&r&&a.findIndex(s=>Z(r,s))!==-1)return;const i=b.findIndex(s=>Z(s,e));i===-1?B({diff:"reset"}):Y({index:i});return}if(C.current>=b.length-1){Y({index:b.length-1});return}Y({index:C.current})}},[b.length,c?!1:a,Re,B,Y,D,y,c]),st=Je.useEventCallback(o=>{qt.setRef(F,o),o&&Ce()});process.env.NODE_ENV!=="production"&&P.useEffect(()=>{(!h.current||h.current.nodeName!=="INPUT")&&(h.current&&h.current.nodeName==="TEXTAREA"?console.warn([`A textarea element was provided to ${x} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
2
+ `)):console.error([`MUI: Unable to find the input element. It was resolved to ${h.current} while an HTMLInputElement was expected.`,`Instead, ${x} expects an input element.`,"",x==="useAutocomplete"?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join(`
3
+ `)))},[x]),P.useEffect(()=>{Ce()},[Ce]);const R=o=>{X||(le(!0),be(!0),je&&je(o))},ae=(o,e)=>{X&&(le(!1),et&&et(o,e))},Q=(o,e,r,i)=>{if(c){if(a.length===e.length&&a.every((s,g)=>s===e[g]))return}else if(a===e)return;Ze&&Ze(o,e,r,i),Oe(e)},he=P.useRef(!1),K=(o,e,r="selectOption",i="options")=>{let s=r,g=e;if(c){if(g=Array.isArray(a)?a.slice():[],process.env.NODE_ENV!=="production"){const L=g.filter(we=>Z(e,we));L.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${x} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${L.length} matches.`].join(`
4
+ `))}const m=g.findIndex(L=>Z(e,L));m===-1?g.push(e):i!=="freeSolo"&&(g.splice(m,1),s="removeOption")}ye(o,g,s),Q(o,g,s,{option:e}),!de&&(!o||!o.ctrlKey&&!o.metaKey)&&ae(o,s),(A===!0||A==="touch"&&he.current||A==="mouse"&&!he.current)&&h.current.blur()};function Be(o,e){if(o===-1)return-1;let r=o;for(;;){if(e==="next"&&r===a.length||e==="previous"&&r===-1)return-1;const i=k?"data-item-index":"data-tag-index",s=Ie.querySelector(`[${i}="${r}"]`);if(!s||!s.hasAttribute("tabindex")||s.disabled||s.getAttribute("aria-disabled")==="true")r+=e==="next"?1:-1;else return r}}const Ue=(o,e)=>{if(!c)return;y===""&&ae(o,"toggleInput");let r=V;V===-1?y===""&&e==="previous"&&(r=a.length-1):(r+=e==="next"?1:-1,r<0&&(r=0),r===a.length&&(r=-1)),r=Be(r,e),Fe(r),H(r)},pe=o=>{Te.current=!0,se(""),ee&&ee(o,"","clear"),Q(o,c?[]:null,"clear")},lt=o=>e=>{if(o.onKeyDown&&o.onKeyDown(e),!e.defaultMuiPrevented&&(V!==-1&&!["ArrowLeft","ArrowRight"].includes(e.key)&&(Fe(-1),H(-1)),e.which!==229))switch(e.key){case"Home":D&&Qe&&(e.preventDefault(),B({diff:"start",direction:"next",reason:"keyboard",event:e}));break;case"End":D&&Qe&&(e.preventDefault(),B({diff:"end",direction:"previous",reason:"keyboard",event:e}));break;case"PageUp":e.preventDefault(),B({diff:-Ct,direction:"previous",reason:"keyboard",event:e}),R(e);break;case"PageDown":e.preventDefault(),B({diff:Ct,direction:"next",reason:"keyboard",event:e}),R(e);break;case"ArrowDown":e.preventDefault(),B({diff:1,direction:"next",reason:"keyboard",event:e}),R(e);break;case"ArrowUp":e.preventDefault(),B({diff:-1,direction:"previous",reason:"keyboard",event:e}),R(e);break;case"ArrowLeft":!c&&k?H(0):Ue(e,"previous");break;case"ArrowRight":!c&&k?H(-1):Ue(e,"next");break;case"Enter":if(C.current!==-1&&D){const r=b[C.current],i=_?_(r):!1;if(e.preventDefault(),i)return;K(e,r,"selectOption"),f&&h.current.setSelectionRange(h.current.value.length,h.current.value.length)}else fe&&y!==""&&ze===!1&&(c&&e.preventDefault(),K(e,y,"createOption","freeSolo"));break;case"Escape":D?(e.preventDefault(),e.stopPropagation(),ae(e,"escape")):W&&(y!==""||c&&a.length>0||k)&&(e.preventDefault(),e.stopPropagation(),pe(e));break;case"Backspace":if(c&&!J&&y===""&&a.length>0){const r=V===-1?a.length-1:V,i=a.slice();i.splice(r,1),Q(e,i,"removeOption",{option:a[r]})}!c&&k&&!J&&(Oe(null),H(-1));break;case"Delete":if(c&&!J&&y===""&&a.length>0&&V!==-1){const r=V,i=a.slice();i.splice(r,1),Q(e,i,"removeOption",{option:a[r]})}!c&&k&&!J&&(Oe(null),H(-1));break}},at=o=>{qe(!0),yt&&!Te.current&&R(o)},ie=o=>{if(l(F)){h.current.focus();return}qe(!1),xe.current=!0,Te.current=!1,E&&C.current!==-1&&D?K(o,b[C.current],"blur"):E&&fe&&y!==""?K(o,y,"blur","freeSolo"):N&&ye(o,a,"blur"),ae(o,"blur")},Se=o=>{const e=o.target.value;y!==e&&(se(e),be(!1),ee&&ee(o,e,"input")),e===""?!G&&!c&&Q(o,null,"clear"):R(o)},$e=o=>{const e=Number(o.currentTarget.getAttribute("data-option-index"));C.current!==e&&Y({event:o,index:e,reason:"mouse"})},pt=o=>{Y({event:o,index:Number(o.currentTarget.getAttribute("data-option-index")),reason:"touch"}),he.current=!0},it=o=>{const e=Number(o.currentTarget.getAttribute("data-option-index"));K(o,b[e],"selectOption"),he.current=!1},We=o=>e=>{const r=a.slice();r.splice(o,1),Q(e,r,"removeOption",{option:a[o]})},Tt=o=>{Q(o,null,"removeOption",{option:a})},me=o=>{X?ae(o,"toggleInput"):R(o)},I=o=>{o.currentTarget.contains(o.target)&&o.target.getAttribute("id")!==j&&o.preventDefault()},O=o=>{o.currentTarget.contains(o.target)&&(h.current.focus(),tt&&xe.current&&h.current.selectionEnd-h.current.selectionStart===0&&h.current.select(),xe.current=!1)},te=o=>{!M&&(y===""||!X)&&me(o)};let ve=fe&&y.length>0;ve=ve||(c?a.length>0:a!==null);let Ge=b;if(re){const o=new Map;let e=!1;Ge=b.reduce((r,i,s)=>{const g=re(i);return r.length>0&&r[r.length-1].group===g?r[r.length-1].options.push(i):(process.env.NODE_ENV!=="production"&&(o.get(g)&&!e&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${x} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),e=!0),o.set(g,!0)),r.push({key:s,index:s,group:g,options:[i]})),r},[])}return M&&ge&&ie(),{getRootProps:(o={})=>({...o,onKeyDown:lt(o),onMouseDown:I,onClick:O}),getInputLabelProps:()=>({id:`${j}-label`,htmlFor:j}),getInputProps:()=>({id:j,value:y,onBlur:ie,onFocus:at,onChange:Se,onMouseDown:te,"aria-activedescendant":D?"":null,"aria-autocomplete":f?"both":"list","aria-controls":He?`${j}-listbox`:void 0,"aria-expanded":He,autoComplete:"off",ref:h,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:M}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:pe}),getItemProps:({index:o=0}={})=>({...c&&{key:o},...k?{"data-item-index":o}:{"data-tag-index":o},tabIndex:-1,...!J&&{onDelete:c?We(o):Tt}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:me}),getTagProps:({index:o})=>({key:o,"data-tag-index":o,tabIndex:-1,...!J&&{onDelete:We(o)}}),getListboxProps:()=>({role:"listbox",id:`${j}-listbox`,"aria-labelledby":`${j}-label`,ref:st,onMouseDown:o=>{o.preventDefault()}}),getOptionProps:({index:o,option:e})=>{const r=(c?a:[a]).some(s=>s!=null&&Z(e,s)),i=_?_(e):!1;return{key:(Ee==null?void 0:Ee(e))??$(e),tabIndex:-1,role:"option",id:`${j}-option-${o}`,onMouseMove:$e,onClick:it,onTouchStart:pt,"data-option-index":o,"aria-disabled":i,"aria-selected":r}},id:j,inputValue:y,value:a,dirty:ve,expanded:D&&Ie,popupOpen:D,focused:ge||V!==-1,anchorEl:Ie,setAnchorEl:ht,focusedItem:V,focusedTag:V,groupedOptions:Ge}}function Dt(n){return U.generateUtilityClass("MuiListSubheader",n)}const Kt=U.generateUtilityClasses("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),Jt=n=>{const{classes:l,color:u,disableGutters:f,inset:w,disableSticky:E}=n,A={root:["root",u!=="default"&&`color${Xe.capitalize(u)}`,!f&&"gutters",w&&"inset",!E&&"sticky"]};return v.composeClasses(A,Dt,l)},Xt=v.styled("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(n,l)=>{const{ownerState:u}=n;return[l.root,u.color!=="default"&&l[`color${Xe.capitalize(u.color)}`],!u.disableGutters&&l.gutters,u.inset&&l.inset,!u.disableSticky&&l.sticky]}})(ce.memoTheme(({theme:n})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(n.vars||n).palette.text.secondary,fontFamily:n.typography.fontFamily,fontWeight:n.typography.fontWeightMedium,fontSize:n.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(n.vars||n).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:l})=>!l.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:l})=>l.inset,style:{paddingLeft:72}},{props:({ownerState:l})=>!l.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(n.vars||n).palette.background.paper}}]}))),Le=P.forwardRef(function(l,u){const f=v.useDefaultProps({props:l,name:"MuiListSubheader"}),{className:w,color:E="default",component:A="li",disableGutters:N=!1,disableSticky:W=!1,inset:x=!1,...S}=f,G={...f,color:E,component:A,disableGutters:N,disableSticky:W,inset:x},de=Jt(G);return T.jsx(Xt,{as:A,className:U.clsx(de.root,w),ref:u,ownerState:G,...S})});Le&&(Le.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Le.propTypes={children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOf(["default","inherit","primary"]),component:t.PropTypes.elementType,disableGutters:t.PropTypes.bool,disableSticky:t.PropTypes.bool,inset:t.PropTypes.bool,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object])});function Rt(n){return U.generateUtilityClass("MuiAutocomplete",n)}const p=U.generateUtilityClasses("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var $t,vt;const Yt=n=>{const{classes:l,disablePortal:u,expanded:f,focused:w,fullWidth:E,hasClearIcon:A,hasPopupIcon:N,inputFocused:W,popupOpen:x,size:S}=n,G={root:["root",f&&"expanded",w&&"focused",E&&"fullWidth",A&&"hasClearIcon",N&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",W&&"inputFocused"],tag:["tag",`tagSize${Xe.capitalize(S)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",x&&"popupIndicatorOpen"],popper:["popper",u&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return v.composeClasses(G,Rt,l)},Qt=v.styled("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(n,l)=>{const{ownerState:u}=n,{fullWidth:f,hasClearIcon:w,hasPopupIcon:E,inputFocused:A,size:N}=u;return[{[`& .${p.tag}`]:l.tag},{[`& .${p.tag}`]:l[`tagSize${Xe.capitalize(N)}`]},{[`& .${p.inputRoot}`]:l.inputRoot},{[`& .${p.input}`]:l.input},{[`& .${p.input}`]:A&&l.inputFocused},l.root,f&&l.fullWidth,E&&l.hasPopupIcon,w&&l.hasClearIcon]}})({[`&.${p.focused} .${p.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${p.clearIndicator}`]:{visibility:"visible"}},[`& .${p.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${p.inputRoot}`]:{[`.${p.hasPopupIcon}&, .${p.hasClearIcon}&`]:{paddingRight:30},[`.${p.hasPopupIcon}.${p.hasClearIcon}&`]:{paddingRight:56},[`& .${p.input}`]:{width:0,minWidth:30}},[`& .${q.inputClasses.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${q.inputClasses.root}.${ue.inputBaseClasses.sizeSmall}`]:{[`& .${q.inputClasses.input}`]:{padding:"2px 4px 3px 0"}},[`& .${q.outlinedInputClasses.root}`]:{padding:9,[`.${p.hasPopupIcon}&, .${p.hasClearIcon}&`]:{paddingRight:39},[`.${p.hasPopupIcon}.${p.hasClearIcon}&`]:{paddingRight:65},[`& .${p.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${p.endAdornment}`]:{right:9}},[`& .${q.outlinedInputClasses.root}.${ue.inputBaseClasses.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${p.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${q.filledInputClasses.root}`]:{paddingTop:19,paddingLeft:8,[`.${p.hasPopupIcon}&, .${p.hasClearIcon}&`]:{paddingRight:39},[`.${p.hasPopupIcon}.${p.hasClearIcon}&`]:{paddingRight:65},[`& .${q.filledInputClasses.input}`]:{padding:"7px 4px"},[`& .${p.endAdornment}`]:{right:9}},[`& .${q.filledInputClasses.root}.${ue.inputBaseClasses.sizeSmall}`]:{paddingBottom:1,[`& .${q.filledInputClasses.input}`]:{padding:"2.5px 4px"}},[`& .${ue.inputBaseClasses.hiddenLabel}`]:{paddingTop:8},[`& .${q.filledInputClasses.root}.${ue.inputBaseClasses.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${p.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${q.filledInputClasses.root}.${ue.inputBaseClasses.hiddenLabel}.${ue.inputBaseClasses.sizeSmall}`]:{[`& .${p.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${p.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${p.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${p.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${p.inputRoot}`]:{flexWrap:"wrap"}}}]}),Zt=v.styled("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),eo=v.styled(Lt.IconButton,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),to=v.styled(Lt.IconButton,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(n,l)=>{const{ownerState:u}=n;return[l.popupIndicator,u.popupOpen&&l.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),oo=v.styled(At.Popper,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(n,l)=>{const{ownerState:u}=n;return[{[`& .${p.option}`]:l.option},l.popper,u.disablePortal&&l.popperDisablePortal]}})(ce.memoTheme(({theme:n})=>({zIndex:(n.vars||n).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),no=v.styled(wt.Paper,{name:"MuiAutocomplete",slot:"Paper"})(ce.memoTheme(({theme:n})=>({...n.typography.body1,overflow:"auto"}))),ro=v.styled("div",{name:"MuiAutocomplete",slot:"Loading"})(ce.memoTheme(({theme:n})=>({color:(n.vars||n).palette.text.secondary,padding:"14px 16px"}))),so=v.styled("div",{name:"MuiAutocomplete",slot:"NoOptions"})(ce.memoTheme(({theme:n})=>({color:(n.vars||n).palette.text.secondary,padding:"14px 16px"}))),lo=v.styled("ul",{name:"MuiAutocomplete",slot:"Listbox"})(ce.memoTheme(({theme:n})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${p.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[n.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${p.focused}`]:{backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${p.focusVisible}`]:{backgroundColor:(n.vars||n).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:n.vars?`rgba(${n.vars.palette.primary.mainChannel} / ${n.vars.palette.action.selectedOpacity})`:U.alpha(n.palette.primary.main,n.palette.action.selectedOpacity),[`&.${p.focused}`]:{backgroundColor:n.vars?`rgba(${n.vars.palette.primary.mainChannel} / calc(${n.vars.palette.action.selectedOpacity} + ${n.vars.palette.action.hoverOpacity}))`:U.alpha(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(n.vars||n).palette.action.selected}},[`&.${p.focusVisible}`]:{backgroundColor:n.vars?`rgba(${n.vars.palette.primary.mainChannel} / calc(${n.vars.palette.action.selectedOpacity} + ${n.vars.palette.action.focusOpacity}))`:U.alpha(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}}}}))),ao=v.styled(Le,{name:"MuiAutocomplete",slot:"GroupLabel"})(ce.memoTheme(({theme:n})=>({backgroundColor:(n.vars||n).palette.background.paper,top:-8}))),po=v.styled("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${p.option}`]:{paddingLeft:24}}),Et=P.forwardRef(function(l,u){const f=v.useDefaultProps({props:l,name:"MuiAutocomplete"}),{autoComplete:w=!1,autoHighlight:E=!1,autoSelect:A=!1,blurOnSelect:N=!1,ChipProps:W,className:x,clearIcon:S=$t||($t=T.jsx(jt.CloseIcon,{fontSize:"small"})),clearOnBlur:G=!f.freeSolo,clearOnEscape:de=!1,clearText:M="Clear",closeText:ke="Close",componentsProps:De,defaultValue:dt=f.multiple?[]:null,disableClearable:Re=!1,disableCloseOnSelect:fe=!1,disabled:_=!1,disabledItemsFocusable:Ee=!1,disableListWrap:Ye=!1,disablePortal:re=!1,filterOptions:Qe,filterSelectedOptions:ft=!1,forcePopupIcon:Pe="auto",freeSolo:Ne=!1,fullWidth:Z=!1,getLimitTagsText:c=d=>`+${d}`,getOptionDisabled:Ze,getOptionKey:et,getOptionLabel:Me,isOptionEqualToValue:ee,groupBy:je,handleHomeEndKeys:gt=!f.freeSolo,id:yt,includeInputInList:bt=!1,inputValue:J,limitTags:k=-1,ListboxComponent:tt,ListboxProps:Ve,loading:j=!1,loadingText:$="Loading…",multiple:Te=!1,noOptionsText:xe="No options",onChange:h,onClose:F,onHighlightChange:Ie,onInputChange:ht,onOpen:V,open:Fe,openOnFocus:ot=!1,openText:C="Open",options:mt,PaperComponent:a,PopperComponent:Oe,popupIcon:y=vt||(vt=T.jsx(q.ArrowDropDownIcon,{})),readOnly:se=!1,renderGroup:ge,renderInput:qe,renderOption:ye,renderTags:X,renderValue:le,selectOnFocus:Pt=!f.freeSolo,size:be="medium",slots:ze={},slotProps:D={},value:b,...z}=f,{getRootProps:He,getInputProps:H,getInputLabelProps:nt,getPopupIndicatorProps:Y,getClearProps:B,getItemProps:rt,getListboxProps:Ce,getOptionProps:st,value:R,dirty:ae,expanded:Q,id:he,popupOpen:K,focused:Be,focusedItem:Ue,anchorEl:pe,setAnchorEl:lt,inputValue:at,groupedOptions:ie}=_t({...f,componentName:"Autocomplete"}),Se=!Re&&!_&&ae&&!se,$e=(!Ne||Pe===!0)&&Pe!==!1,{onMouseDown:pt}=H(),{ref:it,...We}=Ce(),me=Me||(d=>d.label??d),I={...f,disablePortal:re,expanded:Q,focused:Be,fullWidth:Z,getOptionLabel:me,hasClearIcon:Se,hasPopupIcon:$e,inputFocused:Ue===-1,popupOpen:K,size:be},O=Yt(I),te={slots:{paper:a,popper:Oe,...ze},slotProps:{chip:W,listbox:Ve,...De,...D}},[ve,Ge]=ut.useSlot("listbox",{elementType:lo,externalForwardedProps:te,ownerState:I,className:O.listbox,additionalProps:We,ref:it}),[o,e]=ut.useSlot("paper",{elementType:wt.Paper,externalForwardedProps:te,ownerState:I,className:O.paper}),[r,i]=ut.useSlot("popper",{elementType:At.Popper,externalForwardedProps:te,ownerState:I,className:O.popper,additionalProps:{disablePortal:re,style:{width:pe?pe.clientWidth:null},role:"presentation",anchorEl:pe,open:K}});let s;const g=d=>({className:O.tag,disabled:_,...rt(d)});if(Te?R.length>0&&(X?s=X(R,g,I):le?s=le(R,g,I):s=R.map((d,oe)=>{const{key:ne,...Ae}=g({index:oe});return T.jsx(zt.Chip,{label:me(d),size:be,...Ae,...te.slotProps.chip},ne)})):le&&R!=null&&(s=le(R,g,I)),k>-1&&Array.isArray(s)){const d=s.length-k;!Be&&d>0&&(s=s.splice(0,k),s.push(T.jsx("span",{className:O.tag,children:c(d)},s.length)))}const L=ge||(d=>T.jsxs("li",{children:[T.jsx(ao,{className:O.groupLabel,ownerState:I,component:"div",children:d.group}),T.jsx(po,{className:O.groupUl,ownerState:I,children:d.children})]},d.key)),Nt=ye||((d,oe)=>{const{key:ne,...Ae}=d;return T.jsx("li",{...Ae,children:me(oe)},ne)}),xt=(d,oe)=>{const ne=st({option:d,index:oe});return Nt({...ne,className:O.option},d,{selected:ne["aria-selected"],index:oe,inputValue:at},I)},_e=te.slotProps.clearIndicator,Ke=te.slotProps.popupIndicator;return T.jsxs(P.Fragment,{children:[T.jsx(Qt,{ref:u,className:U.clsx(O.root,x),ownerState:I,...He(z),children:qe({id:he,disabled:_,fullWidth:!0,size:be==="small"?"small":void 0,InputLabelProps:nt(),InputProps:{ref:lt,className:O.inputRoot,startAdornment:s,onMouseDown:d=>{d.target===d.currentTarget&&pt(d)},...(Se||$e)&&{endAdornment:T.jsxs(Zt,{className:O.endAdornment,ownerState:I,children:[Se?T.jsx(eo,{...B(),"aria-label":M,title:M,ownerState:I,..._e,className:U.clsx(O.clearIndicator,_e==null?void 0:_e.className),children:S}):null,$e?T.jsx(to,{...Y(),disabled:_,"aria-label":K?ke:C,title:K?ke:C,ownerState:I,...Ke,className:U.clsx(O.popupIndicator,Ke==null?void 0:Ke.className),children:y}):null]})}},inputProps:{className:O.input,disabled:_,readOnly:se,...H()}})}),pe?T.jsx(oo,{as:r,...i,children:T.jsxs(no,{as:o,...e,children:[j&&ie.length===0?T.jsx(ro,{className:O.loading,ownerState:I,children:$}):null,ie.length===0&&!Ne&&!j?T.jsx(so,{className:O.noOptions,ownerState:I,role:"presentation",onMouseDown:d=>{d.preventDefault()},children:xe}):null,ie.length>0?T.jsx(ve,{as:tt,...Ge,children:ie.map((d,oe)=>je?L({key:d.key,group:d.group,children:d.options.map((ne,Ae)=>xt(ne,d.index+Ae))}):xt(d,oe))}):null]})}):null]})});process.env.NODE_ENV!=="production"&&(Et.propTypes={autoComplete:t.PropTypes.bool,autoHighlight:t.PropTypes.bool,autoSelect:t.PropTypes.bool,blurOnSelect:t.PropTypes.oneOfType([t.PropTypes.oneOf(["mouse","touch"]),t.PropTypes.bool]),ChipProps:t.PropTypes.object,classes:t.PropTypes.object,className:t.PropTypes.string,clearIcon:t.PropTypes.node,clearOnBlur:t.PropTypes.bool,clearOnEscape:t.PropTypes.bool,clearText:t.PropTypes.string,closeText:t.PropTypes.string,componentsProps:t.PropTypes.shape({clearIndicator:t.PropTypes.object,paper:t.PropTypes.object,popper:t.PropTypes.object,popupIndicator:t.PropTypes.object}),defaultValue:It.chainPropTypes(t.PropTypes.any,n=>n.multiple&&n.defaultValue!==void 0&&!Array.isArray(n.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${n.defaultValue} was provided.`].join(`
5
+ `)):null),disableClearable:t.PropTypes.bool,disableCloseOnSelect:t.PropTypes.bool,disabled:t.PropTypes.bool,disabledItemsFocusable:t.PropTypes.bool,disableListWrap:t.PropTypes.bool,disablePortal:t.PropTypes.bool,filterOptions:t.PropTypes.func,filterSelectedOptions:t.PropTypes.bool,forcePopupIcon:t.PropTypes.oneOfType([t.PropTypes.oneOf(["auto"]),t.PropTypes.bool]),freeSolo:t.PropTypes.bool,fullWidth:t.PropTypes.bool,getLimitTagsText:t.PropTypes.func,getOptionDisabled:t.PropTypes.func,getOptionKey:t.PropTypes.func,getOptionLabel:t.PropTypes.func,groupBy:t.PropTypes.func,handleHomeEndKeys:t.PropTypes.bool,id:t.PropTypes.string,includeInputInList:t.PropTypes.bool,inputValue:t.PropTypes.string,isOptionEqualToValue:t.PropTypes.func,limitTags:Ht.integerPropType,ListboxComponent:t.PropTypes.elementType,ListboxProps:t.PropTypes.object,loading:t.PropTypes.bool,loadingText:t.PropTypes.node,multiple:t.PropTypes.bool,noOptionsText:t.PropTypes.node,onChange:t.PropTypes.func,onClose:t.PropTypes.func,onHighlightChange:t.PropTypes.func,onInputChange:t.PropTypes.func,onKeyDown:t.PropTypes.func,onOpen:t.PropTypes.func,open:t.PropTypes.bool,openOnFocus:t.PropTypes.bool,openText:t.PropTypes.string,options:t.PropTypes.array.isRequired,PaperComponent:t.PropTypes.elementType,PopperComponent:t.PropTypes.elementType,popupIcon:t.PropTypes.node,readOnly:t.PropTypes.bool,renderGroup:t.PropTypes.func,renderInput:t.PropTypes.func.isRequired,renderOption:t.PropTypes.func,renderTags:t.PropTypes.func,renderValue:t.PropTypes.func,selectOnFocus:t.PropTypes.bool,size:t.PropTypes.oneOfType([t.PropTypes.oneOf(["small","medium"]),t.PropTypes.string]),slotProps:t.PropTypes.shape({chip:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),clearIndicator:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),listbox:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),paper:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),popper:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),popupIndicator:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object])}),slots:t.PropTypes.shape({listbox:t.PropTypes.elementType,paper:t.PropTypes.elementType,popper:t.PropTypes.elementType}),sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),value:It.chainPropTypes(t.PropTypes.any,n=>n.multiple&&n.value!==void 0&&!Array.isArray(n.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${n.value} was provided.`].join(`
6
+ `)):null)});exports.Autocomplete=Et;exports.ListSubheader=Le;exports.autocompleteClasses=p;exports.createFilterOptions=kt;exports.getAutocompleteUtilityClass=Rt;exports.getListSubheaderUtilityClass=Dt;exports.listSubheaderClasses=Kt;
@@ -1,28 +1,29 @@
1
1
  import * as x from "react";
2
2
  import { P as t } from "./index-Sy88PpwE.js";
3
- import { F as Rt, G as Dt, H as Je, K as Ye, n as ct } from "./identifier-MtSOtM28.js";
4
- import { A as zt, f as he, o as St, i as dt } from "./Select-DOdisH2t.js";
5
- import { i as le } from "./InputBase-BH6v1g55.js";
6
- import { C as jt } from "./Close-SkZcN5BS.js";
7
- import { m as pe } from "./memoTheme-BkQtxnmm.js";
8
- import { u as ft } from "./useSlot-CKkACQ6_.js";
9
- import { jsx as A, jsxs as Ke } from "react/jsx-runtime";
10
- import { u as Nt, s as H, c as Et } from "./DefaultPropsProvider-DUvQuMqx.js";
3
+ import { F as Rt, G as Dt, H as Je, n as ct } from "./generateUtilityClasses-32ARRWdA.js";
4
+ import { A as zt, f as he, o as St, i as dt } from "./Select-qUF3oQz8.js";
5
+ import { i as le } from "./InputBase--Jk0Al5O.js";
6
+ import { C as jt } from "./Close-BjQCC0qE.js";
7
+ import { m as pe } from "./memoTheme-BBxIYGG7.js";
8
+ import { u as ft } from "./useSlot-DnOTNYbF.js";
9
+ import { jsx as A, jsxs as _e } from "react/jsx-runtime";
10
+ import { u as Nt, s as H, c as Et } from "./DefaultPropsProvider-BrNsAtD3.js";
11
11
  import { u as Ut } from "./useId-CK6Kn3Tn.js";
12
12
  import { u as gt } from "./useControlled-nm4pBabJ.js";
13
13
  import { u as Bt } from "./usePreviousProps-ByGlbpJ6.js";
14
- import { a as _e } from "./useEventCallback-Y2KwRxBw.js";
15
- import { s as Wt } from "./Portal-BlK6ttxt.js";
16
- import { P as Mt } from "./Paper-DyvwdVbr.js";
17
- import { P as Vt } from "./Popper-BeTnr75i.js";
18
- import { C as Gt } from "./Chip-DaVoVFrv.js";
19
- import { I as Ft } from "./IconButton-Blb-11WY.js";
14
+ import { a as Ke } from "./useEventCallback-Y2KwRxBw.js";
15
+ import { s as Wt } from "./Portal-DZrHcvYi.js";
16
+ import { P as Mt } from "./Paper-CFhnudKQ.js";
17
+ import { P as Vt } from "./Popper-tW85AcRT.js";
18
+ import { C as Gt } from "./Chip-BpeHDShb.js";
19
+ import { c as Ye } from "./capitalize-CgHuXq7I.js";
20
+ import { I as Ft } from "./IconButton-BrEiwZs1.js";
20
21
  import { c as Tt } from "./chainPropTypes-D9lkm76m.js";
21
22
  import { i as qt } from "./integerPropType-BihGt2aU.js";
22
23
  function vt(n) {
23
24
  return n.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
24
25
  }
25
- function Kt(n = {}) {
26
+ function _t(n = {}) {
26
27
  const {
27
28
  ignoreAccents: i = !0,
28
29
  ignoreCase: d = !0,
@@ -44,7 +45,7 @@ function Kt(n = {}) {
44
45
  return typeof m == "number" ? W.slice(0, m) : W;
45
46
  };
46
47
  }
47
- const _t = Kt(), wt = 5, Jt = (n) => {
48
+ const Kt = _t(), wt = 5, Jt = (n) => {
48
49
  var i;
49
50
  return n.current !== null && ((i = n.current.parentElement) == null ? void 0 : i.contains(document.activeElement));
50
51
  }, Xt = [];
@@ -73,7 +74,7 @@ function Yt(n) {
73
74
  disabled: E,
74
75
  disabledItemsFocusable: Ae = !1,
75
76
  disableListWrap: Le = !1,
76
- filterOptions: mt = _t,
77
+ filterOptions: mt = Kt,
77
78
  filterSelectedOptions: ke = !1,
78
79
  freeSolo: ce = !1,
79
80
  getOptionDisabled: G,
@@ -94,7 +95,7 @@ function Yt(n) {
94
95
  open: ht,
95
96
  openOnFocus: yt = !1,
96
97
  options: xt,
97
- readOnly: K = !1,
98
+ readOnly: _ = !1,
98
99
  renderValue: L,
99
100
  selectOnFocus: ot = !n.freeSolo,
100
101
  value: Me
@@ -125,12 +126,12 @@ function Yt(n) {
125
126
  return;
126
127
  const a = At(e, u, S, L);
127
128
  g !== a && (ne(a), Q && Q(o, a, r));
128
- }, [S, g, u, Q, ne, N, s, L]), [_, re] = gt({
129
+ }, [S, g, u, Q, ne, N, s, L]), [K, re] = gt({
129
130
  controlled: ht,
130
131
  default: !1,
131
132
  name: I,
132
133
  state: "open"
133
- }), [Pt, ge] = x.useState(!0), He = !u && s != null && g === S(s), k = _ && !K, b = k ? mt(
134
+ }), [Pt, ge] = x.useState(!0), He = !u && s != null && g === S(s), k = K && !_, b = k ? mt(
134
135
  xt.filter((o) => !(ke && (u ? s : [s]).some((e) => e !== null && Y(o, e)))),
135
136
  // we use the empty string to manipulate `filterOptions` to not filter any options
136
137
  // i.e. the filter predicate always returns true
@@ -147,7 +148,7 @@ function Yt(n) {
147
148
  const o = s !== z.value;
148
149
  de && !o || ce && !o || fe(null, s, "reset");
149
150
  }, [s, fe, de, z.value, ce]);
150
- const ze = _ && b.length > 0 && !K, j = _e((o) => {
151
+ const ze = K && b.length > 0 && !_, j = Ke((o) => {
151
152
  if (o === -1)
152
153
  h.current.focus();
153
154
  else {
@@ -170,7 +171,7 @@ function Yt(n) {
170
171
  return -1;
171
172
  }
172
173
  }
173
- const J = _e(({
174
+ const J = Ke(({
174
175
  event: o,
175
176
  index: e,
176
177
  reason: r
@@ -191,7 +192,7 @@ function Yt(n) {
191
192
  const y = f, w = a.clientHeight + a.scrollTop, ve = y.offsetTop + y.offsetHeight;
192
193
  ve > w ? a.scrollTop = ve - a.clientHeight : y.offsetTop - y.offsetHeight * (oe ? 1.3 : 0) < a.scrollTop && (a.scrollTop = y.offsetTop - y.offsetHeight * (oe ? 1.3 : 0));
193
194
  }
194
- }), U = _e(({
195
+ }), U = Ke(({
195
196
  event: o,
196
197
  diff: e,
197
198
  direction: r = "next",
@@ -282,7 +283,7 @@ function Yt(n) {
282
283
  k,
283
284
  g,
284
285
  u
285
- ]), it = _e((o) => {
286
+ ]), it = Ke((o) => {
286
287
  Wt(F, o), o && Ce();
287
288
  });
288
289
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
@@ -293,9 +294,9 @@ function Yt(n) {
293
294
  Ce();
294
295
  }, [Ce]);
295
296
  const R = (o) => {
296
- _ || (re(!0), ge(!0), Ee && Ee(o));
297
+ K || (re(!0), ge(!0), Ee && Ee(o));
297
298
  }, ae = (o, e) => {
298
- _ && (re(!1), tt && tt(o, e));
299
+ K && (re(!1), tt && tt(o, e));
299
300
  }, X = (o, e, r, p) => {
300
301
  if (u) {
301
302
  if (s.length === e.length && s.every((a, f) => a === e[f]))
@@ -409,22 +410,22 @@ function Yt(n) {
409
410
  k ? (e.preventDefault(), e.stopPropagation(), ae(e, "escape")) : B && (g !== "" || u && s.length > 0 || L) && (e.preventDefault(), e.stopPropagation(), ie(e));
410
411
  break;
411
412
  case "Backspace":
412
- if (u && !K && g === "" && s.length > 0) {
413
+ if (u && !_ && g === "" && s.length > 0) {
413
414
  const r = V === -1 ? s.length - 1 : V, p = s.slice();
414
415
  p.splice(r, 1), X(e, p, "removeOption", {
415
416
  option: s[r]
416
417
  });
417
418
  }
418
- !u && L && !K && (Pe(null), j(-1));
419
+ !u && L && !_ && (Pe(null), j(-1));
419
420
  break;
420
421
  case "Delete":
421
- if (u && !K && g === "" && s.length > 0 && V !== -1) {
422
+ if (u && !_ && g === "" && s.length > 0 && V !== -1) {
422
423
  const r = V, p = s.slice();
423
424
  p.splice(r, 1), X(e, p, "removeOption", {
424
425
  option: s[r]
425
426
  });
426
427
  }
427
- !u && L && !K && (Pe(null), j(-1));
428
+ !u && L && !_ && (Pe(null), j(-1));
428
429
  break;
429
430
  }
430
431
  }, lt = (o) => {
@@ -464,13 +465,13 @@ function Yt(n) {
464
465
  option: s
465
466
  });
466
467
  }, be = (o) => {
467
- _ ? ae(o, "toggleInput") : R(o);
468
+ K ? ae(o, "toggleInput") : R(o);
468
469
  }, O = (o) => {
469
470
  o.currentTarget.contains(o.target) && o.target.getAttribute("id") !== M && o.preventDefault();
470
471
  }, P = (o) => {
471
472
  o.currentTarget.contains(o.target) && (h.current.focus(), ot && Ie.current && h.current.selectionEnd - h.current.selectionStart === 0 && h.current.select(), Ie.current = !1);
472
473
  }, Z = (o) => {
473
- !E && (g === "" || !_) && be(o);
474
+ !E && (g === "" || !K) && be(o);
474
475
  };
475
476
  let Te = ce && g.length > 0;
476
477
  Te = Te || (u ? s.length > 0 : s !== null);
@@ -538,7 +539,7 @@ function Yt(n) {
538
539
  "data-tag-index": o
539
540
  },
540
541
  tabIndex: -1,
541
- ...!K && {
542
+ ...!_ && {
542
543
  onDelete: u ? Be(o) : Ct
543
544
  }
544
545
  }),
@@ -554,7 +555,7 @@ function Yt(n) {
554
555
  key: o,
555
556
  "data-tag-index": o,
556
557
  tabIndex: -1,
557
- ...!K && {
558
+ ...!_ && {
558
559
  onDelete: Be(o)
559
560
  }
560
561
  }),
@@ -603,7 +604,7 @@ function Yt(n) {
603
604
  function Qt(n) {
604
605
  return Dt("MuiListSubheader", n);
605
606
  }
606
- const Mo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]), Zt = (n) => {
607
+ const Vo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]), Zt = (n) => {
607
608
  const {
608
609
  classes: i,
609
610
  color: d,
@@ -1147,7 +1148,7 @@ const oo = (n) => {
1147
1148
  handleHomeEndKeys: ht = !m.freeSolo,
1148
1149
  id: yt,
1149
1150
  includeInputInList: xt = !1,
1150
- inputValue: K,
1151
+ inputValue: _,
1151
1152
  limitTags: L = -1,
1152
1153
  ListboxComponent: ot,
1153
1154
  ListboxProps: Me,
@@ -1171,7 +1172,7 @@ const oo = (n) => {
1171
1172
  renderGroup: de,
1172
1173
  renderInput: Fe,
1173
1174
  renderOption: fe,
1174
- renderTags: _,
1175
+ renderTags: K,
1175
1176
  renderValue: re,
1176
1177
  selectOnFocus: Pt = !m.freeSolo,
1177
1178
  size: ge = "medium",
@@ -1264,7 +1265,7 @@ const oo = (n) => {
1264
1265
  disabled: G,
1265
1266
  ...at(c)
1266
1267
  });
1267
- if (xe ? R.length > 0 && (_ ? a = _(R, f, O) : re ? a = re(R, f, O) : a = R.map((c, ee) => {
1268
+ if (xe ? R.length > 0 && (K ? a = K(R, f, O) : re ? a = re(R, f, O) : a = R.map((c, ee) => {
1268
1269
  const {
1269
1270
  key: te,
1270
1271
  ...we
@@ -1284,7 +1285,7 @@ const oo = (n) => {
1284
1285
  children: u(c)
1285
1286
  }, a.length)));
1286
1287
  }
1287
- const w = de || ((c) => /* @__PURE__ */ Ke("li", {
1288
+ const w = de || ((c) => /* @__PURE__ */ _e("li", {
1288
1289
  children: [/* @__PURE__ */ A(fo, {
1289
1290
  className: P.groupLabel,
1290
1291
  ownerState: O,
@@ -1318,7 +1319,7 @@ const oo = (n) => {
1318
1319
  inputValue: lt
1319
1320
  }, O);
1320
1321
  }, Ge = Z.slotProps.clearIndicator, qe = Z.slotProps.popupIndicator;
1321
- return /* @__PURE__ */ Ke(x.Fragment, {
1322
+ return /* @__PURE__ */ _e(x.Fragment, {
1322
1323
  children: [/* @__PURE__ */ A(no, {
1323
1324
  ref: d,
1324
1325
  className: Je(P.root, I),
@@ -1338,7 +1339,7 @@ const oo = (n) => {
1338
1339
  c.target === c.currentTarget && pt(c);
1339
1340
  },
1340
1341
  ...($e || Se) && {
1341
- endAdornment: /* @__PURE__ */ Ke(ro, {
1342
+ endAdornment: /* @__PURE__ */ _e(ro, {
1342
1343
  className: P.endAdornment,
1343
1344
  ownerState: O,
1344
1345
  children: [$e ? /* @__PURE__ */ A(ao, {
@@ -1372,7 +1373,7 @@ const oo = (n) => {
1372
1373
  }), ie ? /* @__PURE__ */ A(so, {
1373
1374
  as: r,
1374
1375
  ...p,
1375
- children: /* @__PURE__ */ Ke(lo, {
1376
+ children: /* @__PURE__ */ _e(lo, {
1376
1377
  as: o,
1377
1378
  ...e,
1378
1379
  children: [M && se.length === 0 ? /* @__PURE__ */ A(po, {
@@ -1858,7 +1859,7 @@ export {
1858
1859
  Xe as L,
1859
1860
  l as a,
1860
1861
  Qt as b,
1861
- Kt as c,
1862
+ _t as c,
1862
1863
  to as g,
1863
- Mo as l
1864
+ Vo as l
1864
1865
  };
@@ -1,10 +1,10 @@
1
- import * as h from "react";
1
+ import * as g from "react";
2
2
  import { P as e } from "./index-Sy88PpwE.js";
3
- import { F as q, G as A, H } from "./identifier-MtSOtM28.js";
4
- import { u as B } from "./useSlot-CKkACQ6_.js";
3
+ import { F as q, G as A, H } from "./generateUtilityClasses-32ARRWdA.js";
4
+ import { u as B } from "./useSlot-DnOTNYbF.js";
5
5
  import { jsx as j } from "react/jsx-runtime";
6
- import { u as V, s as _, c as z } from "./DefaultPropsProvider-DUvQuMqx.js";
7
- import { u as G } from "./useTheme-BopB_RfW.js";
6
+ import { u as V, s as _, c as z } from "./DefaultPropsProvider-BrNsAtD3.js";
7
+ import { u as G } from "./useTheme-Bjns7t5p.js";
8
8
  import { T as W, g as N, r as I } from "./utils-BQenyzDz.js";
9
9
  import { u as J } from "./useForkRef-u29GSuCu.js";
10
10
  import { g as K, e as Q } from "./elementAcceptingRef-CEweUuUA.js";
@@ -15,28 +15,28 @@ const X = {
15
15
  entered: {
16
16
  opacity: 1
17
17
  }
18
- }, F = /* @__PURE__ */ h.forwardRef(function(o, a) {
19
- const t = G(), T = {
18
+ }, F = /* @__PURE__ */ g.forwardRef(function(o, a) {
19
+ const t = G(), h = {
20
20
  enter: t.transitions.duration.enteringScreen,
21
21
  exit: t.transitions.duration.leavingScreen
22
22
  }, {
23
23
  addEndListener: m,
24
- appear: f = !0,
24
+ appear: T = !0,
25
25
  children: u,
26
- easing: y,
27
- in: b,
28
- onEnter: E,
26
+ easing: f,
27
+ in: y,
28
+ onEnter: b,
29
29
  onEntered: x,
30
30
  onEntering: v,
31
- onExit: g,
31
+ onExit: E,
32
32
  onExited: R,
33
33
  onExiting: C,
34
34
  style: c,
35
- timeout: d = T,
35
+ timeout: d = h,
36
36
  // eslint-disable-next-line react/prop-types
37
37
  TransitionComponent: P = W,
38
38
  ...k
39
- } = o, p = h.useRef(null), w = J(p, K(u), a), s = (n) => (r) => {
39
+ } = o, p = g.useRef(null), w = J(p, K(u), a), s = (n) => (r) => {
40
40
  if (n) {
41
41
  const l = p.current;
42
42
  r === void 0 ? n(l) : n(l, r);
@@ -46,24 +46,24 @@ const X = {
46
46
  const l = N({
47
47
  style: c,
48
48
  timeout: d,
49
- easing: y
49
+ easing: f
50
50
  }, {
51
51
  mode: "enter"
52
52
  });
53
- n.style.webkitTransition = t.transitions.create("opacity", l), n.style.transition = t.transitions.create("opacity", l), E && E(n, r);
53
+ n.style.webkitTransition = t.transitions.create("opacity", l), n.style.transition = t.transitions.create("opacity", l), b && b(n, r);
54
54
  }), D = s(x), L = s(C), M = s((n) => {
55
55
  const r = N({
56
56
  style: c,
57
57
  timeout: d,
58
- easing: y
58
+ easing: f
59
59
  }, {
60
60
  mode: "exit"
61
61
  });
62
- n.style.webkitTransition = t.transitions.create("opacity", r), n.style.transition = t.transitions.create("opacity", r), g && g(n);
62
+ n.style.webkitTransition = t.transitions.create("opacity", r), n.style.transition = t.transitions.create("opacity", r), E && E(n);
63
63
  }), U = s(R);
64
64
  return /* @__PURE__ */ j(P, {
65
- appear: f,
66
- in: b,
65
+ appear: T,
66
+ in: y,
67
67
  nodeRef: p,
68
68
  onEnter: S,
69
69
  onEntered: D,
@@ -79,10 +79,10 @@ const X = {
79
79
  children: (n, {
80
80
  ownerState: r,
81
81
  ...l
82
- }) => /* @__PURE__ */ h.cloneElement(u, {
82
+ }) => /* @__PURE__ */ g.cloneElement(u, {
83
83
  style: {
84
84
  opacity: 0,
85
- visibility: n === "exited" && !b ? "hidden" : void 0,
85
+ visibility: n === "exited" && !y ? "hidden" : void 0,
86
86
  ...X[n],
87
87
  ...c,
88
88
  ...u.props.style
@@ -206,36 +206,35 @@ const de = q("MuiBackdrop", ["root", "invisible"]), Z = (i) => {
206
206
  backgroundColor: "transparent"
207
207
  }
208
208
  }]
209
- }), ee = /* @__PURE__ */ h.forwardRef(function(o, a) {
209
+ }), ee = /* @__PURE__ */ g.forwardRef(function(o, a) {
210
210
  const t = V({
211
211
  props: o,
212
212
  name: "MuiBackdrop"
213
213
  }), {
214
- children: T,
214
+ children: h,
215
215
  className: m,
216
- component: f = "div",
216
+ component: T = "div",
217
217
  invisible: u = !1,
218
- open: y,
219
- components: b = {},
220
- componentsProps: E = {},
218
+ open: f,
219
+ components: y = {},
220
+ componentsProps: b = {},
221
221
  slotProps: x = {},
222
222
  slots: v = {},
223
- TransitionComponent: g,
223
+ TransitionComponent: E,
224
224
  transitionDuration: R,
225
225
  ...C
226
226
  } = t, c = {
227
227
  ...t,
228
- component: f,
228
+ component: T,
229
229
  invisible: u
230
230
  }, d = Z(c), P = {
231
- transition: g,
232
- root: b.Root,
231
+ transition: E,
232
+ root: y.Root,
233
233
  ...v
234
234
  }, k = {
235
- ...E,
235
+ ...b,
236
236
  ...x
237
237
  }, p = {
238
- component: f,
239
238
  slots: P,
240
239
  slotProps: k
241
240
  }, [w, s] = B("root", {
@@ -249,7 +248,7 @@ const de = q("MuiBackdrop", ["root", "invisible"]), Z = (i) => {
249
248
  ownerState: c
250
249
  });
251
250
  return /* @__PURE__ */ j(O, {
252
- in: y,
251
+ in: f,
253
252
  timeout: R,
254
253
  ...C,
255
254
  ...S,
@@ -258,7 +257,7 @@ const de = q("MuiBackdrop", ["root", "invisible"]), Z = (i) => {
258
257
  ...s,
259
258
  classes: d,
260
259
  ref: a,
261
- children: T
260
+ children: h
262
261
  })
263
262
  });
264
263
  });
@@ -0,0 +1 @@
1
+ "use strict";const W=require("react"),e=require("./index-DLnSn8GT.cjs"),B=require("./generateUtilityClasses-CdsrTlgj.cjs"),F=require("./useSlot-BI_E4Zjs.cjs"),w=require("react/jsx-runtime"),D=require("./DefaultPropsProvider-H9bB_0gL.cjs"),G=require("./useTheme-BxDf8E3o.cjs"),b=require("./utils-ByXw_ZY1.cjs"),I=require("./useForkRef-CFhhTu-Q.cjs"),U=require("./elementAcceptingRef-BZ42cOGO.cjs");function J(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>n[s]})}}return r.default=n,Object.freeze(r)}const g=J(W),K={entering:{opacity:1},entered:{opacity:1}},N=g.forwardRef(function(r,s){const t=G.useTheme(),E={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},{addEndListener:u,appear:h=!0,children:d,easing:T,in:P,onEnter:f,onEntered:x,onEntering:R,onExit:m,onExited:k,onExiting:v,style:a,timeout:y=E,TransitionComponent:C=b.Transition,...j}=r,c=g.useRef(null),O=I.useForkRef(c,U.getReactElementRef(d),s),i=o=>p=>{if(o){const l=c.current;p===void 0?o(l):o(l,p)}},S=i(R),q=i((o,p)=>{b.reflow(o);const l=b.getTransitionProps({style:a,timeout:y,easing:T},{mode:"enter"});o.style.webkitTransition=t.transitions.create("opacity",l),o.style.transition=t.transitions.create("opacity",l),f&&f(o,p)}),L=i(x),z=i(v),A=i(o=>{const p=b.getTransitionProps({style:a,timeout:y,easing:T},{mode:"exit"});o.style.webkitTransition=t.transitions.create("opacity",p),o.style.transition=t.transitions.create("opacity",p),m&&m(o)}),V=i(k),H=o=>{u&&u(c.current,o)};return w.jsx(C,{appear:h,in:P,nodeRef:c,onEnter:q,onEntered:L,onEntering:S,onExit:A,onExited:V,onExiting:z,addEndListener:H,timeout:y,...j,children:(o,{ownerState:p,...l})=>g.cloneElement(d,{style:{opacity:0,visibility:o==="exited"&&!P?"hidden":void 0,...K[o],...a,...d.props.style},ref:O,...l})})});process.env.NODE_ENV!=="production"&&(N.propTypes={addEndListener:e.PropTypes.func,appear:e.PropTypes.bool,children:U.elementAcceptingRef.isRequired,easing:e.PropTypes.oneOfType([e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string}),e.PropTypes.string]),in:e.PropTypes.bool,onEnter:e.PropTypes.func,onEntered:e.PropTypes.func,onEntering:e.PropTypes.func,onExit:e.PropTypes.func,onExited:e.PropTypes.func,onExiting:e.PropTypes.func,style:e.PropTypes.object,timeout:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});function M(n){return B.generateUtilityClass("MuiBackdrop",n)}const Q=B.generateUtilityClasses("MuiBackdrop",["root","invisible"]),X=n=>{const{classes:r,invisible:s}=n,t={root:["root",s&&"invisible"]};return D.composeClasses(t,M,r)},Y=D.styled("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(n,r)=>{const{ownerState:s}=n;return[r.root,s.invisible&&r.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),_=g.forwardRef(function(r,s){const t=D.useDefaultProps({props:r,name:"MuiBackdrop"}),{children:E,className:u,component:h="div",invisible:d=!1,open:T,components:P={},componentsProps:f={},slotProps:x={},slots:R={},TransitionComponent:m,transitionDuration:k,...v}=t,a={...t,component:h,invisible:d},y=X(a),C={transition:m,root:P.Root,...R},j={...f,...x},c={slots:C,slotProps:j},[O,i]=F.useSlot("root",{elementType:Y,externalForwardedProps:c,className:B.clsx(y.root,u),ownerState:a}),[S,q]=F.useSlot("transition",{elementType:N,externalForwardedProps:c,ownerState:a});return w.jsx(S,{in:T,timeout:k,...v,...q,children:w.jsx(O,{"aria-hidden":!0,...i,classes:y,ref:s,children:E})})});process.env.NODE_ENV!=="production"&&(_.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,components:e.PropTypes.shape({Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({root:e.PropTypes.object}),invisible:e.PropTypes.bool,open:e.PropTypes.bool.isRequired,slotProps:e.PropTypes.shape({root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({root:e.PropTypes.elementType,transition:e.PropTypes.elementType}),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]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});exports.Backdrop=_;exports.Fade=N;exports.backdropClasses=Q;exports.getBackdropUtilityClass=M;