@mui/material 5.11.3 → 5.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/Autocomplete/Autocomplete.d.ts +4 -3
  2. package/Autocomplete/Autocomplete.js +1 -0
  3. package/Box/Box.d.ts +5 -22
  4. package/CHANGELOG.md +106 -0
  5. package/FilledInput/FilledInput.js +0 -4
  6. package/Input/Input.js +1 -5
  7. package/MenuItem/MenuItem.d.ts +1 -1
  8. package/MenuItem/MenuItem.js +2 -1
  9. package/Modal/Modal.d.ts +35 -12
  10. package/Select/Select.d.ts +25 -83
  11. package/Slider/Slider.d.ts +1 -2
  12. package/Slider/Slider.js +222 -63
  13. package/Slider/SliderValueLabel.d.ts +15 -0
  14. package/Slider/SliderValueLabel.js +49 -0
  15. package/Slider/SliderValueLabel.types.d.ts +24 -0
  16. package/Slider/SliderValueLabel.types.js +1 -0
  17. package/Slider/index.d.ts +1 -0
  18. package/Slider/index.js +2 -1
  19. package/Slider/sliderClasses.d.ts +29 -0
  20. package/Slider/sliderClasses.js +5 -0
  21. package/Tabs/Tabs.js +3 -1
  22. package/Tooltip/Tooltip.js +0 -1
  23. package/index.js +3 -1
  24. package/legacy/Autocomplete/Autocomplete.js +1 -0
  25. package/legacy/FilledInput/FilledInput.js +0 -3
  26. package/legacy/Input/Input.js +1 -4
  27. package/legacy/MenuItem/MenuItem.js +2 -1
  28. package/legacy/Slider/Slider.js +251 -72
  29. package/legacy/Slider/SliderValueLabel.js +45 -0
  30. package/legacy/Slider/SliderValueLabel.types.js +1 -0
  31. package/legacy/Slider/index.js +2 -1
  32. package/legacy/Slider/sliderClasses.js +5 -0
  33. package/legacy/Tabs/Tabs.js +3 -1
  34. package/legacy/Tooltip/Tooltip.js +0 -1
  35. package/legacy/index.js +3 -1
  36. package/legacy/locale/index.js +230 -144
  37. package/legacy/styles/experimental_extendTheme.js +16 -8
  38. package/locale/index.d.ts +1 -0
  39. package/locale/index.js +85 -0
  40. package/modern/Autocomplete/Autocomplete.js +1 -0
  41. package/modern/FilledInput/FilledInput.js +0 -4
  42. package/modern/Input/Input.js +1 -5
  43. package/modern/MenuItem/MenuItem.js +2 -1
  44. package/modern/Slider/Slider.js +221 -62
  45. package/modern/Slider/SliderValueLabel.js +49 -0
  46. package/modern/Slider/SliderValueLabel.types.js +1 -0
  47. package/modern/Slider/index.js +2 -1
  48. package/modern/Slider/sliderClasses.js +5 -0
  49. package/modern/Tabs/Tabs.js +3 -1
  50. package/modern/Tooltip/Tooltip.js +0 -1
  51. package/modern/index.js +3 -1
  52. package/modern/locale/index.js +85 -0
  53. package/modern/styles/experimental_extendTheme.js +16 -8
  54. package/node/Autocomplete/Autocomplete.js +1 -0
  55. package/node/FilledInput/FilledInput.js +0 -4
  56. package/node/Input/Input.js +1 -5
  57. package/node/MenuItem/MenuItem.js +2 -1
  58. package/node/Slider/Slider.js +228 -71
  59. package/node/Slider/SliderValueLabel.js +57 -0
  60. package/node/Slider/SliderValueLabel.types.js +5 -0
  61. package/node/Slider/index.js +11 -1
  62. package/node/Slider/sliderClasses.js +13 -0
  63. package/node/Tabs/Tabs.js +3 -1
  64. package/node/Tooltip/Tooltip.js +0 -1
  65. package/node/index.js +3 -1
  66. package/node/locale/index.js +87 -1
  67. package/node/styles/experimental_extendTheme.js +16 -8
  68. package/package.json +4 -4
  69. package/styles/experimental_extendTheme.js +16 -8
  70. package/umd/material-ui.development.js +523 -787
  71. package/umd/material-ui.production.min.js +23 -21
@@ -1,5 +1,7 @@
1
- /** @license MUI v5.11.3
1
+ /**
2
+ * @mui/material v5.11.5
2
3
  *
4
+ * @license MIT
3
5
  * This source code is licensed under the MIT license found in the
4
6
  * LICENSE file in the root directory of this source tree.
5
7
  */
@@ -6845,7 +6847,7 @@
6845
6847
  styleFunctionSx.filterProps = ['sx'];
6846
6848
  var styleFunctionSx$1 = styleFunctionSx;
6847
6849
 
6848
- const _excluded$2o = ["sx"];
6850
+ const _excluded$2n = ["sx"];
6849
6851
  const splitProps = props => {
6850
6852
  var _props$theme$unstable, _props$theme;
6851
6853
  const result = {
@@ -6866,7 +6868,7 @@
6866
6868
  const {
6867
6869
  sx: inSx
6868
6870
  } = props,
6869
- other = _objectWithoutPropertiesLoose(props, _excluded$2o);
6871
+ other = _objectWithoutPropertiesLoose(props, _excluded$2n);
6870
6872
  const {
6871
6873
  systemProps,
6872
6874
  otherProps
@@ -6892,7 +6894,7 @@
6892
6894
 
6893
6895
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
6894
6896
 
6895
- const _excluded$2n = ["values", "unit", "step"];
6897
+ const _excluded$2m = ["values", "unit", "step"];
6896
6898
  const sortBreakpointsValues = values => {
6897
6899
  const breakpointsAsArray = Object.keys(values).map(key => ({
6898
6900
  key,
@@ -6927,7 +6929,7 @@
6927
6929
  unit = 'px',
6928
6930
  step = 5
6929
6931
  } = breakpoints,
6930
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2n);
6932
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2m);
6931
6933
  const sortedValues = sortBreakpointsValues(values);
6932
6934
  const keys = Object.keys(sortedValues);
6933
6935
  function up(key) {
@@ -7006,7 +7008,7 @@
7006
7008
  return spacing;
7007
7009
  }
7008
7010
 
7009
- const _excluded$2m = ["breakpoints", "palette", "spacing", "shape"];
7011
+ const _excluded$2l = ["breakpoints", "palette", "spacing", "shape"];
7010
7012
  function createTheme$1(options = {}, ...args) {
7011
7013
  const {
7012
7014
  breakpoints: breakpointsInput = {},
@@ -7014,7 +7016,7 @@
7014
7016
  spacing: spacingInput,
7015
7017
  shape: shapeInput = {}
7016
7018
  } = options,
7017
- other = _objectWithoutPropertiesLoose(options, _excluded$2m);
7019
+ other = _objectWithoutPropertiesLoose(options, _excluded$2l);
7018
7020
  const breakpoints = createBreakpoints(breakpointsInput);
7019
7021
  const spacing = createSpacing(spacingInput);
7020
7022
  let muiTheme = deepmerge({
@@ -7125,7 +7127,7 @@
7125
7127
  return useTheme$2(defaultTheme);
7126
7128
  }
7127
7129
 
7128
- const _excluded$2l = ["className", "component"];
7130
+ const _excluded$2k = ["className", "component"];
7129
7131
  function createBox(options = {}) {
7130
7132
  const {
7131
7133
  defaultTheme,
@@ -7142,7 +7144,7 @@
7142
7144
  className,
7143
7145
  component = 'div'
7144
7146
  } = _extendSxProp,
7145
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2l);
7147
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2k);
7146
7148
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
7147
7149
  as: component,
7148
7150
  ref: ref,
@@ -7153,7 +7155,7 @@
7153
7155
  return Box;
7154
7156
  }
7155
7157
 
7156
- const _excluded$2k = ["variant"];
7158
+ const _excluded$2j = ["variant"];
7157
7159
  function isEmpty$3(string) {
7158
7160
  return string.length === 0;
7159
7161
  }
@@ -7167,7 +7169,7 @@
7167
7169
  const {
7168
7170
  variant
7169
7171
  } = props,
7170
- other = _objectWithoutPropertiesLoose(props, _excluded$2k);
7172
+ other = _objectWithoutPropertiesLoose(props, _excluded$2j);
7171
7173
  let classKey = variant || '';
7172
7174
  Object.keys(other).sort().forEach(key => {
7173
7175
  if (key === 'color') {
@@ -7179,7 +7181,7 @@
7179
7181
  return classKey;
7180
7182
  }
7181
7183
 
7182
- const _excluded$2j = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
7184
+ const _excluded$2i = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
7183
7185
  _excluded2$c = ["theme"],
7184
7186
  _excluded3$1 = ["theme"];
7185
7187
  function isEmpty$2(obj) {
@@ -7266,7 +7268,7 @@
7266
7268
  skipSx: inputSkipSx,
7267
7269
  overridesResolver
7268
7270
  } = inputOptions,
7269
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2j);
7271
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2i);
7270
7272
 
7271
7273
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
7272
7274
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -8163,7 +8165,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8163
8165
  });
8164
8166
  }
8165
8167
 
8166
- const _excluded$2i = ["colorSchemes", "components", "cssVarPrefix"];
8168
+ const _excluded$2h = ["colorSchemes", "components", "cssVarPrefix"];
8167
8169
  const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
8168
8170
  function createCssVarsProvider(options) {
8169
8171
  const {
@@ -8215,7 +8217,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8215
8217
  components = {},
8216
8218
  cssVarPrefix
8217
8219
  } = themeProp,
8218
- restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2i);
8220
+ restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2h);
8219
8221
  const allColorSchemes = Object.keys(colorSchemes);
8220
8222
  const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
8221
8223
  const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
@@ -8513,7 +8515,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8513
8515
  return getCssVar;
8514
8516
  }
8515
8517
 
8516
- const _excluded$2h = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8518
+ const _excluded$2g = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8517
8519
  const defaultTheme$5 = createTheme$1();
8518
8520
  const defaultCreateStyledComponent$1 = systemStyled('div', {
8519
8521
  name: 'MuiContainer',
@@ -8609,7 +8611,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8609
8611
  fixed = false,
8610
8612
  maxWidth = 'lg'
8611
8613
  } = props,
8612
- other = _objectWithoutPropertiesLoose(props, _excluded$2h);
8614
+ other = _objectWithoutPropertiesLoose(props, _excluded$2g);
8613
8615
  const ownerState = _extends({}, props, {
8614
8616
  component,
8615
8617
  disableGutters,
@@ -8874,7 +8876,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8874
8876
  return [`direction-xs-${String(direction)}`];
8875
8877
  };
8876
8878
 
8877
- const _excluded$2g = ["className", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow"];
8879
+ const _excluded$2f = ["className", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow"];
8878
8880
  const defaultTheme$4 = createTheme$1();
8879
8881
 
8880
8882
  // widening Theme to any so that the consumer can own the theme structure.
@@ -8932,7 +8934,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8932
8934
  columnSpacing: columnSpacingProp = spacingProp,
8933
8935
  disableEqualOverflow: themeDisableEqualOverflow
8934
8936
  } = props,
8935
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
8937
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
8936
8938
  // Because `disableEqualOverflow` can be set from the theme's defaultProps, the **nested** grid should look at the instance props instead.
8937
8939
  let disableEqualOverflow = themeDisableEqualOverflow;
8938
8940
  if (nested && themeDisableEqualOverflow !== undefined) {
@@ -9022,7 +9024,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9022
9024
  return Grid;
9023
9025
  }
9024
9026
 
9025
- const _excluded$2f = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
9027
+ const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
9026
9028
  _excluded2$b = ["type", "mode"];
9027
9029
  function adaptV4Theme(inputTheme) {
9028
9030
  {
@@ -9036,7 +9038,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9036
9038
  props = {},
9037
9039
  styleOverrides = {}
9038
9040
  } = inputTheme,
9039
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2f);
9041
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2e);
9040
9042
  const theme = _extends({}, other, {
9041
9043
  components: {}
9042
9044
  });
@@ -9117,7 +9119,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9117
9119
  }, mixins);
9118
9120
  }
9119
9121
 
9120
- const _excluded$2e = ["mode", "contrastThreshold", "tonalOffset"];
9122
+ const _excluded$2d = ["mode", "contrastThreshold", "tonalOffset"];
9121
9123
  const light = {
9122
9124
  // The colors used to style the text.
9123
9125
  text: {
@@ -9286,7 +9288,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9286
9288
  contrastThreshold = 3,
9287
9289
  tonalOffset = 0.2
9288
9290
  } = palette,
9289
- other = _objectWithoutPropertiesLoose(palette, _excluded$2e);
9291
+ other = _objectWithoutPropertiesLoose(palette, _excluded$2d);
9290
9292
  const primary = palette.primary || getDefaultPrimary(mode);
9291
9293
  const secondary = palette.secondary || getDefaultSecondary(mode);
9292
9294
  const error = palette.error || getDefaultError(mode);
@@ -9410,7 +9412,7 @@ const theme2 = createTheme({ palette: {
9410
9412
  return paletteOutput;
9411
9413
  }
9412
9414
 
9413
- const _excluded$2d = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
9415
+ const _excluded$2c = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
9414
9416
  function round$2(value) {
9415
9417
  return Math.round(value * 1e5) / 1e5;
9416
9418
  }
@@ -9441,7 +9443,7 @@ const theme2 = createTheme({ palette: {
9441
9443
  allVariants,
9442
9444
  pxToRem: pxToRem2
9443
9445
  } = _ref,
9444
- other = _objectWithoutPropertiesLoose(_ref, _excluded$2d);
9446
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$2c);
9445
9447
  {
9446
9448
  if (typeof fontSize !== 'number') {
9447
9449
  console.error('MUI: `fontSize` is required to be a number.');
@@ -9501,7 +9503,7 @@ const theme2 = createTheme({ palette: {
9501
9503
  const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
9502
9504
  var shadows$1 = shadows;
9503
9505
 
9504
- const _excluded$2c = ["duration", "easing", "delay"];
9506
+ const _excluded$2b = ["duration", "easing", "delay"];
9505
9507
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
9506
9508
  // to learn the context in which each easing should be used.
9507
9509
  const easing = {
@@ -9552,7 +9554,7 @@ const theme2 = createTheme({ palette: {
9552
9554
  easing: easingOption = mergedEasing.easeInOut,
9553
9555
  delay = 0
9554
9556
  } = options,
9555
- other = _objectWithoutPropertiesLoose(options, _excluded$2c);
9557
+ other = _objectWithoutPropertiesLoose(options, _excluded$2b);
9556
9558
  {
9557
9559
  const isString = value => typeof value === 'string';
9558
9560
  // IE11 support, replace with Number.isNaN
@@ -9599,7 +9601,7 @@ const theme2 = createTheme({ palette: {
9599
9601
  };
9600
9602
  var zIndex$1 = zIndex;
9601
9603
 
9602
- const _excluded$2b = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9604
+ const _excluded$2a = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9603
9605
  function createTheme(options = {}, ...args) {
9604
9606
  const {
9605
9607
  mixins: mixinsInput = {},
@@ -9607,7 +9609,7 @@ const theme2 = createTheme({ palette: {
9607
9609
  transitions: transitionsInput = {},
9608
9610
  typography: typographyInput = {}
9609
9611
  } = options,
9610
- other = _objectWithoutPropertiesLoose(options, _excluded$2b);
9612
+ other = _objectWithoutPropertiesLoose(options, _excluded$2a);
9611
9613
  if (options.vars) {
9612
9614
  throw new Error(`MUI: \`vars\` is a private field used for CSS variables support.
9613
9615
  Please use another name.` );
@@ -9935,7 +9937,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9935
9937
  };
9936
9938
  var getOverlayAlpha$1 = getOverlayAlpha;
9937
9939
 
9938
- const _excluded$2a = ["colorSchemes", "cssVarPrefix"],
9940
+ const _excluded$29 = ["colorSchemes", "cssVarPrefix"],
9939
9941
  _excluded2$a = ["palette"];
9940
9942
  const defaultDarkOverlays = [...Array(25)].map((_, index) => {
9941
9943
  if (index === 0) {
@@ -9956,6 +9958,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9956
9958
  obj[key] = defaultValue;
9957
9959
  }
9958
9960
  }
9961
+ function setColorChannel(obj, key) {
9962
+ if (!(`${key}Channel` in obj)) {
9963
+ // custom channel token is not provided, generate one.
9964
+ // if channel token can't be generated, show a warning.
9965
+ obj[`${key}Channel`] = private_safeColorChannel(obj[key], `MUI: Can't create \`palette.${key}Channel\` because \`palette.${key}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\n' + `To suppress this warning, you need to explicitly provide the \`palette.${key}Channel\` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.`);
9966
+ }
9967
+ }
9959
9968
  const silent = fn => {
9960
9969
  try {
9961
9970
  return fn();
@@ -9971,7 +9980,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9971
9980
  colorSchemes: colorSchemesInput = {},
9972
9981
  cssVarPrefix = 'mui'
9973
9982
  } = options,
9974
- input = _objectWithoutPropertiesLoose(options, _excluded$2a);
9983
+ input = _objectWithoutPropertiesLoose(options, _excluded$29);
9975
9984
  const getCssVar = createGetCssVar(cssVarPrefix);
9976
9985
  const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
9977
9986
  palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
@@ -10146,11 +10155,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10146
10155
  setColor(palette.TableCell, 'border', private_safeDarken(private_safeAlpha(palette.divider, 1), 0.68));
10147
10156
  setColor(palette.Tooltip, 'bg', private_safeAlpha(palette.grey[700], 0.92));
10148
10157
  }
10149
- setColor(palette.background, 'defaultChannel', private_safeColorChannel(palette.background.default, 'MUI: The value of `palette.background.default` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().')); // MUI X - DataGrid needs this token.
10150
10158
 
10151
- setColor(palette.common, 'backgroundChannel', private_safeColorChannel(palette.common.background, 'MUI: The value of `palette.common.background` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10152
- setColor(palette.common, 'onBackgroundChannel', private_safeColorChannel(palette.common.onBackground, 'MUI: The value of `palette.common.onBackground` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10153
- setColor(palette, 'dividerChannel', private_safeColorChannel(palette.divider, 'MUI: The value of `palette.divider` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10159
+ // MUI X - DataGrid needs this token.
10160
+ setColorChannel(palette.background, 'default');
10161
+ setColorChannel(palette.common, 'background');
10162
+ setColorChannel(palette.common, 'onBackground');
10163
+ setColorChannel(palette, 'divider');
10154
10164
  Object.keys(palette).forEach(color => {
10155
10165
  const colors = palette[color];
10156
10166
 
@@ -10172,16 +10182,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10172
10182
  }
10173
10183
  if (color === 'text') {
10174
10184
  // Text colors: text.primary, text.secondary
10175
- setColor(palette[color], 'primaryChannel', private_safeColorChannel(colors.primary, 'MUI: The value of `palette.text.primary` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10176
- setColor(palette[color], 'secondaryChannel', private_safeColorChannel(colors.secondary, 'MUI: The value of `palette.text.secondary` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10185
+ setColorChannel(palette[color], 'primary');
10186
+ setColorChannel(palette[color], 'secondary');
10177
10187
  }
10178
10188
  if (color === 'action') {
10179
10189
  // Action colors: action.active, action.selected
10180
10190
  if (colors.active) {
10181
- setColor(palette[color], 'activeChannel', private_safeColorChannel(colors.active, 'MUI: The value of `palette.action.active` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10191
+ setColorChannel(palette[color], 'active');
10182
10192
  }
10183
10193
  if (colors.selected) {
10184
- setColor(palette[color], 'selectedChannel', private_safeColorChannel(colors.selected, 'MUI: The value of `palette.action.selected` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().'));
10194
+ setColorChannel(palette[color], 'selected');
10185
10195
  }
10186
10196
  }
10187
10197
  }
@@ -10386,7 +10396,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10386
10396
  };
10387
10397
  }
10388
10398
 
10389
- const _excluded$29 = ["elementType", "externalSlotProps", "ownerState"];
10399
+ const _excluded$28 = ["elementType", "externalSlotProps", "ownerState"];
10390
10400
  /**
10391
10401
  * Builds the props to be passed into the slot of an unstyled component.
10392
10402
  * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.
@@ -10401,7 +10411,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10401
10411
  externalSlotProps,
10402
10412
  ownerState
10403
10413
  } = parameters,
10404
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$29);
10414
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$28);
10405
10415
  const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
10406
10416
  const {
10407
10417
  props: mergedProps,
@@ -10466,7 +10476,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10466
10476
  }
10467
10477
  const defaultFilterOptions = createFilterOptions();
10468
10478
 
10469
- // Number of options to jump in list box when pageup and pagedown keys are used.
10479
+ // Number of options to jump in list box when `Page Up` and `Page Down` keys are used.
10470
10480
  const pageSize = 5;
10471
10481
  const defaultIsActiveElementInListbox = listboxRef => {
10472
10482
  var _listboxRef$current$p;
@@ -10852,7 +10862,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10852
10862
  if (inputRef.current && inputRef.current.nodeName === 'TEXTAREA') {
10853
10863
  console.warn([`A textarea element was provided to ${componentName} 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 (e.g. enter and arrow keys).`, `Make sure to test keyboard navigation and add custom event handlers if necessary.`].join('\n'));
10854
10864
  } else {
10855
- console.error([`MUI: Unable to find the input element. It was resolved to ${inputRef.current} while an HTMLInputElement was expected.`, `Instead, ${componentName} expects an input element.`, '', componentName === 'useAutocomplete' ? 'Make sure you have binded getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.' : 'Make sure you have customized the input component correctly.'].join('\n'));
10865
+ console.error([`MUI: Unable to find the input element. It was resolved to ${inputRef.current} while an HTMLInputElement was expected.`, `Instead, ${componentName} expects an input element.`, '', componentName === '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('\n'));
10856
10866
  }
10857
10867
  }
10858
10868
  }, [componentName]);
@@ -10901,7 +10911,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10901
10911
  {
10902
10912
  const matches = newValue.filter(val => isOptionEqualToValue(option, val));
10903
10913
  if (matches.length > 1) {
10904
- console.error([`MUI: The \`isOptionEqualToValue\` method of ${componentName} do not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${matches.length} matches.`].join('\n'));
10914
+ console.error([`MUI: The \`isOptionEqualToValue\` method of ${componentName} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${matches.length} matches.`].join('\n'));
10905
10915
  }
10906
10916
  }
10907
10917
  const itemIndex = findIndex(newValue, valueItem => isOptionEqualToValue(option, valueItem));
@@ -11375,7 +11385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11375
11385
  }
11376
11386
  generateUtilityClasses('MuiBadge', ['root', 'badge', 'invisible']);
11377
11387
 
11378
- const _excluded$28 = ["badgeContent", "component", "children", "invisible", "max", "slotProps", "slots", "showZero"];
11388
+ const _excluded$27 = ["badgeContent", "component", "children", "invisible", "max", "slotProps", "slots", "showZero"];
11379
11389
  const useUtilityClasses$1P = ownerState => {
11380
11390
  const {
11381
11391
  invisible
@@ -11405,7 +11415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11405
11415
  slots = {},
11406
11416
  showZero = false
11407
11417
  } = props,
11408
- other = _objectWithoutPropertiesLoose(props, _excluded$28);
11418
+ other = _objectWithoutPropertiesLoose(props, _excluded$27);
11409
11419
  const {
11410
11420
  badgeContent,
11411
11421
  max,
@@ -11866,7 +11876,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11866
11876
  }
11867
11877
 
11868
11878
  // Make sure the next tab starts from the right place.
11869
- // doc.activeElement referes to the origin.
11879
+ // doc.activeElement refers to the origin.
11870
11880
  if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {
11871
11881
  // We need to ignore the next contain as
11872
11882
  // it will try to move the focus back to the rootRef element.
@@ -13970,6 +13980,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
13970
13980
  /**
13971
13981
  * Portals provide a first-class way to render children into a DOM node
13972
13982
  * that exists outside the DOM hierarchy of the parent component.
13983
+ *
13984
+ * Demos:
13985
+ *
13986
+ * - [Portal](https://mui.com/base/react-portal/)
13987
+ *
13988
+ * API:
13989
+ *
13990
+ * - [Portal API](https://mui.com/base/api/portal/)
13973
13991
  */
13974
13992
  const Portal = /*#__PURE__*/React__namespace.forwardRef(function Portal(props, ref) {
13975
13993
  const {
@@ -13978,6 +13996,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
13978
13996
  disablePortal = false
13979
13997
  } = props;
13980
13998
  const [mountNode, setMountNode] = React__namespace.useState(null);
13999
+ // @ts-expect-error TODO upstream fix
13981
14000
  const handleRef = useForkRef( /*#__PURE__*/React__namespace.isValidElement(children) ? children.ref : null, ref);
13982
14001
  useEnhancedEffect$1(() => {
13983
14002
  if (!disablePortal) {
@@ -13995,11 +14014,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
13995
14014
  }, [ref, mountNode, disablePortal]);
13996
14015
  if (disablePortal) {
13997
14016
  if ( /*#__PURE__*/React__namespace.isValidElement(children)) {
13998
- return /*#__PURE__*/React__namespace.cloneElement(children, {
14017
+ const newProps = {
13999
14018
  ref: handleRef
14000
- });
14019
+ };
14020
+ return /*#__PURE__*/React__namespace.cloneElement(children, newProps);
14001
14021
  }
14002
- return children;
14022
+ return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
14023
+ children: children
14024
+ });
14003
14025
  }
14004
14026
  return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
14005
14027
  children: mountNode ? /*#__PURE__*/ReactDOM__namespace.createPortal(children, mountNode) : mountNode
@@ -14008,7 +14030,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14008
14030
  Portal.propTypes /* remove-proptypes */ = {
14009
14031
  // ----------------------------- Warning --------------------------------
14010
14032
  // | These PropTypes are generated from the TypeScript type definitions |
14011
- // | To update them edit the d.ts file and run "yarn proptypes" |
14033
+ // | To update them edit TypeScript types and run "yarn proptypes" |
14012
14034
  // ----------------------------------------------------------------------
14013
14035
  /**
14014
14036
  * The children to render into the `container`.
@@ -14039,7 +14061,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14039
14061
  }
14040
14062
  generateUtilityClasses('MuiPopperUnstyled', ['root']);
14041
14063
 
14042
- const _excluded$27 = ["anchorEl", "children", "component", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps"],
14064
+ const _excluded$26 = ["anchorEl", "children", "component", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps"],
14043
14065
  _excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
14044
14066
  function flipPlacement(placement, direction) {
14045
14067
  if (direction === 'ltr') {
@@ -14092,7 +14114,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14092
14114
  slots = {},
14093
14115
  TransitionProps
14094
14116
  } = props,
14095
- other = _objectWithoutPropertiesLoose(props, _excluded$27);
14117
+ other = _objectWithoutPropertiesLoose(props, _excluded$26);
14096
14118
  const tooltipRef = React__namespace.useRef(null);
14097
14119
  const ownRef = useForkRef(tooltipRef, ref);
14098
14120
  const popperRef = React__namespace.useRef(null);
@@ -14624,7 +14646,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14624
14646
  const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
14625
14647
  var modalUnstyledClasses$1 = modalUnstyledClasses;
14626
14648
 
14627
- const _excluded$26 = ["children", "classes", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
14649
+ const _excluded$25 = ["children", "classes", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
14628
14650
  const useUtilityClasses$1N = ownerState => {
14629
14651
  const {
14630
14652
  open,
@@ -14696,7 +14718,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14696
14718
  slotProps = {},
14697
14719
  slots = {}
14698
14720
  } = props,
14699
- other = _objectWithoutPropertiesLoose(props, _excluded$26);
14721
+ other = _objectWithoutPropertiesLoose(props, _excluded$25);
14700
14722
  const [exited, setExited] = React__namespace.useState(!open);
14701
14723
  const modal = React__namespace.useRef({});
14702
14724
  const mountNodeRef = React__namespace.useRef(null);
@@ -15070,51 +15092,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15070
15092
  const sliderUnstyledClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'focusVisible', 'disabled', 'dragging', 'marked', 'vertical', 'trackInverted', 'trackFalse', 'rail', 'track', 'mark', 'markActive', 'markLabel', 'markLabelActive', 'thumb', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel']);
15071
15093
  var sliderUnstyledClasses$1 = sliderUnstyledClasses;
15072
15094
 
15073
- const useValueLabelClasses = props => {
15074
- const {
15075
- open
15076
- } = props;
15077
- const utilityClasses = {
15078
- offset: clsx(open && sliderUnstyledClasses$1.valueLabelOpen),
15079
- circle: sliderUnstyledClasses$1.valueLabelCircle,
15080
- label: sliderUnstyledClasses$1.valueLabelLabel
15081
- };
15082
- return utilityClasses;
15083
- };
15084
-
15085
- /**
15086
- * @ignore - internal component.
15087
- */
15088
- function SliderValueLabelUnstyled(props) {
15089
- const {
15090
- children,
15091
- className,
15092
- value
15093
- } = props;
15094
- const classes = useValueLabelClasses(props);
15095
- return /*#__PURE__*/React__namespace.cloneElement(children, {
15096
- className: clsx(children.props.className)
15097
- }, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
15098
- children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
15099
- className: clsx(classes.offset, className),
15100
- "aria-hidden": true,
15101
- children: /*#__PURE__*/jsxRuntime_1("span", {
15102
- className: classes.circle,
15103
- children: /*#__PURE__*/jsxRuntime_1("span", {
15104
- className: classes.label,
15105
- children: value
15106
- })
15107
- })
15108
- })]
15109
- }));
15110
- }
15111
- SliderValueLabelUnstyled.propTypes = {
15112
- children: PropTypes.element.isRequired,
15113
- className: PropTypes.string,
15114
- theme: PropTypes.any,
15115
- value: PropTypes.node
15116
- } ;
15117
-
15118
15095
  const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
15119
15096
  function asc(a, b) {
15120
15097
  return a - b;
@@ -15163,7 +15140,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15163
15140
  y: event.clientY
15164
15141
  };
15165
15142
  }
15166
- function valueToPercent(value, min, max) {
15143
+ function valueToPercent$1(value, min, max) {
15167
15144
  return (value - min) * 100 / (max - min);
15168
15145
  }
15169
15146
  function percentToValue(percent, min, max) {
@@ -15634,8 +15611,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15634
15611
  doc.addEventListener('mousemove', handleTouchMove);
15635
15612
  doc.addEventListener('mouseup', handleTouchEnd);
15636
15613
  };
15637
- const trackOffset = valueToPercent(range ? values[0] : min, min, max);
15638
- const trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;
15614
+ const trackOffset = valueToPercent$1(range ? values[0] : min, min, max);
15615
+ const trackLeap = valueToPercent$1(values[values.length - 1], min, max) - trackOffset;
15639
15616
  const getRootProps = (otherHandlers = {}) => {
15640
15617
  const ownEventHandlers = {
15641
15618
  onMouseDown: createHandleMouseDown(otherHandlers || {})
@@ -15710,444 +15687,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15710
15687
  };
15711
15688
  }
15712
15689
 
15713
- const _excluded$25 = ["aria-label", "aria-valuetext", "aria-labelledby", "className", "component", "classes", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "slotProps", "slots"];
15714
- const Identity = x => x;
15715
- const useUtilityClasses$1M = ownerState => {
15716
- const {
15717
- disabled,
15718
- dragging,
15719
- marked,
15720
- orientation,
15721
- track,
15722
- classes
15723
- } = ownerState;
15724
- const slots = {
15725
- root: ['root', disabled && 'disabled', dragging && 'dragging', marked && 'marked', orientation === 'vertical' && 'vertical', track === 'inverted' && 'trackInverted', track === false && 'trackFalse'],
15726
- rail: ['rail'],
15727
- track: ['track'],
15728
- mark: ['mark'],
15729
- markActive: ['markActive'],
15730
- markLabel: ['markLabel'],
15731
- markLabelActive: ['markLabelActive'],
15732
- valueLabel: ['valueLabel'],
15733
- thumb: ['thumb', disabled && 'disabled'],
15734
- active: ['active'],
15735
- disabled: ['disabled'],
15736
- focusVisible: ['focusVisible']
15737
- };
15738
- return composeClasses(slots, getSliderUtilityClass, classes);
15739
- };
15740
- const Forward = ({
15741
- children
15742
- }) => children;
15743
- const SliderUnstyled = /*#__PURE__*/React__namespace.forwardRef(function SliderUnstyled(props, ref) {
15744
- var _ref, _slots$rail, _slots$track, _slots$thumb, _slots$valueLabel, _slots$mark, _slots$markLabel;
15745
- const {
15746
- 'aria-label': ariaLabel,
15747
- 'aria-valuetext': ariaValuetext,
15748
- 'aria-labelledby': ariaLabelledby,
15749
- className,
15750
- component,
15751
- classes: classesProp,
15752
- disableSwap = false,
15753
- disabled = false,
15754
- getAriaLabel,
15755
- getAriaValueText,
15756
- marks: marksProp = false,
15757
- max = 100,
15758
- min = 0,
15759
- orientation = 'horizontal',
15760
- scale = Identity,
15761
- step = 1,
15762
- track = 'normal',
15763
- valueLabelDisplay = 'off',
15764
- valueLabelFormat = Identity,
15765
- isRtl = false,
15766
- slotProps = {},
15767
- slots = {}
15768
- } = props,
15769
- other = _objectWithoutPropertiesLoose(props, _excluded$25);
15770
-
15771
- // all props with defaults
15772
- // consider extracting to hook an reusing the lint rule for the variants
15773
- const ownerState = _extends({}, props, {
15774
- marks: marksProp,
15775
- classes: classesProp,
15776
- disabled,
15777
- isRtl,
15778
- max,
15779
- min,
15780
- orientation,
15781
- scale,
15782
- step,
15783
- track,
15784
- valueLabelDisplay,
15785
- valueLabelFormat
15786
- });
15787
- const {
15788
- axisProps,
15789
- getRootProps,
15790
- getHiddenInputProps,
15791
- getThumbProps,
15792
- open,
15793
- active,
15794
- axis,
15795
- range,
15796
- focusedThumbIndex,
15797
- dragging,
15798
- marks,
15799
- values,
15800
- trackOffset,
15801
- trackLeap
15802
- } = useSlider(_extends({}, ownerState, {
15803
- ref
15804
- }));
15805
- ownerState.marked = marks.length > 0 && marks.some(mark => mark.label);
15806
- ownerState.dragging = dragging;
15807
- ownerState.focusedThumbIndex = focusedThumbIndex;
15808
- const classes = useUtilityClasses$1M(ownerState);
15809
- const Root = (_ref = component != null ? component : slots.root) != null ? _ref : 'span';
15810
- const rootProps = useSlotProps({
15811
- elementType: Root,
15812
- getSlotProps: getRootProps,
15813
- externalSlotProps: slotProps.root,
15814
- externalForwardedProps: other,
15815
- ownerState,
15816
- className: [classes.root, className]
15817
- });
15818
- const Rail = (_slots$rail = slots.rail) != null ? _slots$rail : 'span';
15819
- const railProps = useSlotProps({
15820
- elementType: Rail,
15821
- externalSlotProps: slotProps.rail,
15822
- ownerState,
15823
- className: classes.rail
15824
- });
15825
- const Track = (_slots$track = slots.track) != null ? _slots$track : 'span';
15826
- const trackProps = useSlotProps({
15827
- elementType: Track,
15828
- externalSlotProps: slotProps.track,
15829
- additionalProps: {
15830
- style: _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap))
15831
- },
15832
- ownerState,
15833
- className: classes.track
15834
- });
15835
- const Thumb = (_slots$thumb = slots.thumb) != null ? _slots$thumb : 'span';
15836
- const thumbProps = useSlotProps({
15837
- elementType: Thumb,
15838
- getSlotProps: getThumbProps,
15839
- externalSlotProps: slotProps.thumb,
15840
- ownerState
15841
- });
15842
- const ValueLabel = (_slots$valueLabel = slots.valueLabel) != null ? _slots$valueLabel : SliderValueLabelUnstyled;
15843
- const valueLabelProps = useSlotProps({
15844
- elementType: ValueLabel,
15845
- externalSlotProps: slotProps.valueLabel,
15846
- ownerState
15847
- });
15848
- const Mark = (_slots$mark = slots.mark) != null ? _slots$mark : 'span';
15849
- const markProps = useSlotProps({
15850
- elementType: Mark,
15851
- externalSlotProps: slotProps.mark,
15852
- ownerState,
15853
- className: classes.mark
15854
- });
15855
- const MarkLabel = (_slots$markLabel = slots.markLabel) != null ? _slots$markLabel : 'span';
15856
- const markLabelProps = useSlotProps({
15857
- elementType: MarkLabel,
15858
- externalSlotProps: slotProps.markLabel,
15859
- ownerState
15860
- });
15861
- const Input = slots.input || 'input';
15862
- const inputProps = useSlotProps({
15863
- elementType: Input,
15864
- getSlotProps: getHiddenInputProps,
15865
- externalSlotProps: slotProps.input,
15866
- ownerState
15867
- });
15868
- return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
15869
- children: [/*#__PURE__*/jsxRuntime_1(Rail, _extends({}, railProps)), /*#__PURE__*/jsxRuntime_1(Track, _extends({}, trackProps)), marks.filter(mark => mark.value >= min && mark.value <= max).map((mark, index) => {
15870
- const percent = valueToPercent(mark.value, min, max);
15871
- const style = axisProps[axis].offset(percent);
15872
- let markActive;
15873
- if (track === false) {
15874
- markActive = values.indexOf(mark.value) !== -1;
15875
- } else {
15876
- markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);
15877
- }
15878
- return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
15879
- children: [/*#__PURE__*/jsxRuntime_1(Mark, _extends({
15880
- "data-index": index
15881
- }, markProps, !isHostComponent(Mark) && {
15882
- markActive
15883
- }, {
15884
- style: _extends({}, style, markProps.style),
15885
- className: clsx(markProps.className, markActive && classes.markActive)
15886
- })), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabel, _extends({
15887
- "aria-hidden": true,
15888
- "data-index": index
15889
- }, markLabelProps, !isHostComponent(MarkLabel) && {
15890
- markLabelActive: markActive
15891
- }, {
15892
- style: _extends({}, style, markLabelProps.style),
15893
- className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
15894
- children: mark.label
15895
- })) : null]
15896
- }, index);
15897
- }), values.map((value, index) => {
15898
- const percent = valueToPercent(value, min, max);
15899
- const style = axisProps[axis].offset(percent);
15900
- const ValueLabelComponent = valueLabelDisplay === 'off' ? Forward : ValueLabel;
15901
- return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
15902
- children: /*#__PURE__*/jsxRuntime_1(ValueLabelComponent, _extends({}, !isHostComponent(ValueLabelComponent) && {
15903
- valueLabelFormat,
15904
- valueLabelDisplay,
15905
- value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,
15906
- index,
15907
- open: open === index || active === index || valueLabelDisplay === 'on',
15908
- disabled
15909
- }, valueLabelProps, {
15910
- className: clsx(classes.valueLabel, valueLabelProps.className),
15911
- children: /*#__PURE__*/jsxRuntime_1(Thumb, _extends({
15912
- "data-index": index,
15913
- "data-focusvisible": focusedThumbIndex === index
15914
- }, thumbProps, {
15915
- className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
15916
- style: _extends({}, style, {
15917
- pointerEvents: disableSwap && active !== index ? 'none' : undefined
15918
- }, thumbProps.style),
15919
- children: /*#__PURE__*/jsxRuntime_1(Input, _extends({
15920
- "data-index": index,
15921
- "aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
15922
- "aria-valuenow": scale(value),
15923
- "aria-labelledby": ariaLabelledby,
15924
- "aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
15925
- value: values[index]
15926
- }, inputProps))
15927
- }))
15928
- }))
15929
- }, index);
15930
- })]
15931
- }));
15932
- });
15933
- SliderUnstyled.propTypes /* remove-proptypes */ = {
15934
- // ----------------------------- Warning --------------------------------
15935
- // | These PropTypes are generated from the TypeScript type definitions |
15936
- // | To update them edit the d.ts file and run "yarn proptypes" |
15937
- // ----------------------------------------------------------------------
15938
- /**
15939
- * The label of the slider.
15940
- */
15941
- 'aria-label': chainPropTypes(PropTypes.string, props => {
15942
- const range = Array.isArray(props.value || props.defaultValue);
15943
- if (range && props['aria-label'] != null) {
15944
- return new Error('MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.');
15945
- }
15946
- return null;
15947
- }),
15948
- /**
15949
- * The id of the element containing a label for the slider.
15950
- */
15951
- 'aria-labelledby': PropTypes.string,
15952
- /**
15953
- * A string value that provides a user-friendly name for the current value of the slider.
15954
- */
15955
- 'aria-valuetext': chainPropTypes(PropTypes.string, props => {
15956
- const range = Array.isArray(props.value || props.defaultValue);
15957
- if (range && props['aria-valuetext'] != null) {
15958
- return new Error('MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.');
15959
- }
15960
- return null;
15961
- }),
15962
- /**
15963
- * @ignore
15964
- */
15965
- children: PropTypes.node,
15966
- /**
15967
- * Override or extend the styles applied to the component.
15968
- */
15969
- classes: PropTypes.object,
15970
- /**
15971
- * @ignore
15972
- */
15973
- className: PropTypes.string,
15974
- /**
15975
- * The component used for the root node.
15976
- * Either a string to use a HTML element or a component.
15977
- */
15978
- component: PropTypes.elementType,
15979
- /**
15980
- * The default value. Use when the component is not controlled.
15981
- */
15982
- defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
15983
- /**
15984
- * If `true`, the component is disabled.
15985
- * @default false
15986
- */
15987
- disabled: PropTypes.bool,
15988
- /**
15989
- * If `true`, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
15990
- * @default false
15991
- */
15992
- disableSwap: PropTypes.bool,
15993
- /**
15994
- * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
15995
- * This is important for screen reader users.
15996
- * @param {number} index The thumb label's index to format.
15997
- * @returns {string}
15998
- */
15999
- getAriaLabel: PropTypes.func,
16000
- /**
16001
- * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
16002
- * This is important for screen reader users.
16003
- * @param {number} value The thumb label's value to format.
16004
- * @param {number} index The thumb label's index to format.
16005
- * @returns {string}
16006
- */
16007
- getAriaValueText: PropTypes.func,
16008
- /**
16009
- * If `true` the Slider will be rendered right-to-left (with the lowest value on the right-hand side).
16010
- * @default false
16011
- */
16012
- isRtl: PropTypes.bool,
16013
- /**
16014
- * Marks indicate predetermined values to which the user can move the slider.
16015
- * If `true` the marks are spaced according the value of the `step` prop.
16016
- * If an array, it should contain objects with `value` and an optional `label` keys.
16017
- * @default false
16018
- */
16019
- marks: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
16020
- label: PropTypes.node,
16021
- value: PropTypes.number.isRequired
16022
- })), PropTypes.bool]),
16023
- /**
16024
- * The maximum allowed value of the slider.
16025
- * Should not be equal to min.
16026
- * @default 100
16027
- */
16028
- max: PropTypes.number,
16029
- /**
16030
- * The minimum allowed value of the slider.
16031
- * Should not be equal to max.
16032
- * @default 0
16033
- */
16034
- min: PropTypes.number,
16035
- /**
16036
- * Name attribute of the hidden `input` element.
16037
- */
16038
- name: PropTypes.string,
16039
- /**
16040
- * Callback function that is fired when the slider's value changed.
16041
- *
16042
- * @param {Event} event The event source of the callback.
16043
- * You can pull out the new value by accessing `event.target.value` (any).
16044
- * **Warning**: This is a generic event not a change event.
16045
- * @param {number | number[]} value The new value.
16046
- * @param {number} activeThumb Index of the currently moved thumb.
16047
- */
16048
- onChange: PropTypes.func,
16049
- /**
16050
- * Callback function that is fired when the `mouseup` is triggered.
16051
- *
16052
- * @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
16053
- * @param {number | number[]} value The new value.
16054
- */
16055
- onChangeCommitted: PropTypes.func,
16056
- /**
16057
- * The component orientation.
16058
- * @default 'horizontal'
16059
- */
16060
- orientation: PropTypes.oneOf(['horizontal', 'vertical']),
16061
- /**
16062
- * A transformation function, to change the scale of the slider.
16063
- * @default (x) => x
16064
- */
16065
- scale: PropTypes.func,
16066
- /**
16067
- * The props used for each slot inside the Slider.
16068
- * @default {}
16069
- */
16070
- slotProps: PropTypes.shape({
16071
- input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16072
- mark: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16073
- markLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16074
- rail: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16075
- root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16076
- thumb: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16077
- track: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16078
- valueLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
16079
- children: PropTypes.element,
16080
- className: PropTypes.string,
16081
- open: PropTypes.bool,
16082
- style: PropTypes.object,
16083
- value: PropTypes.number,
16084
- valueLabelDisplay: PropTypes.oneOf(['auto', 'off', 'on'])
16085
- })])
16086
- }),
16087
- /**
16088
- * The components used for each slot inside the Slider.
16089
- * Either a string to use a HTML element or a component.
16090
- * @default {}
16091
- */
16092
- slots: PropTypes.shape({
16093
- input: PropTypes.elementType,
16094
- mark: PropTypes.elementType,
16095
- markLabel: PropTypes.elementType,
16096
- rail: PropTypes.elementType,
16097
- root: PropTypes.elementType,
16098
- thumb: PropTypes.elementType,
16099
- track: PropTypes.elementType,
16100
- valueLabel: PropTypes.elementType
16101
- }),
16102
- /**
16103
- * The granularity with which the slider can step through values. (A "discrete" slider.)
16104
- * The `min` prop serves as the origin for the valid values.
16105
- * We recommend (max - min) to be evenly divisible by the step.
16106
- *
16107
- * When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.
16108
- * @default 1
16109
- */
16110
- step: PropTypes.number,
16111
- /**
16112
- * Tab index attribute of the hidden `input` element.
16113
- */
16114
- tabIndex: PropTypes.number,
16115
- /**
16116
- * The track presentation:
16117
- *
16118
- * - `normal` the track will render a bar representing the slider value.
16119
- * - `inverted` the track will render a bar representing the remaining slider value.
16120
- * - `false` the track will render without a bar.
16121
- * @default 'normal'
16122
- */
16123
- track: PropTypes.oneOf(['inverted', 'normal', false]),
16124
- /**
16125
- * The value of the slider.
16126
- * For ranged sliders, provide an array with two values.
16127
- */
16128
- value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
16129
- /**
16130
- * Controls when the value label is displayed:
16131
- *
16132
- * - `auto` the value label will display when the thumb is hovered or focused.
16133
- * - `on` will display persistently.
16134
- * - `off` will never display.
16135
- * @default 'off'
16136
- */
16137
- valueLabelDisplay: PropTypes.oneOf(['auto', 'off', 'on']),
16138
- /**
16139
- * The format function the value label's value.
16140
- *
16141
- * When a function is provided, it should have the following signature:
16142
- *
16143
- * - {number} value The value label's value to format
16144
- * - {number} index The value label's index to format
16145
- * @default (x) => x
16146
- */
16147
- valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
16148
- } ;
16149
- var SliderUnstyled$1 = SliderUnstyled;
16150
-
16151
15690
  const _excluded$24 = ["onChange", "maxRows", "minRows", "style", "value"];
16152
15691
  function getStyleValue(computedStyle, property) {
16153
15692
  return parseInt(computedStyle[property], 10) || 0;
@@ -16391,7 +15930,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16391
15930
  var svgIconClasses$1 = svgIconClasses;
16392
15931
 
16393
15932
  const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
16394
- const useUtilityClasses$1L = ownerState => {
15933
+ const useUtilityClasses$1M = ownerState => {
16395
15934
  const {
16396
15935
  color,
16397
15936
  fontSize,
@@ -16469,7 +16008,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16469
16008
  if (!inheritViewBox) {
16470
16009
  more.viewBox = viewBox;
16471
16010
  }
16472
- const classes = useUtilityClasses$1L(ownerState);
16011
+ const classes = useUtilityClasses$1M(ownerState);
16473
16012
  return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
16474
16013
  as: component,
16475
16014
  className: clsx(classes.root, className),
@@ -17598,7 +17137,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17598
17137
  var collapseClasses$1 = collapseClasses;
17599
17138
 
17600
17139
  const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
17601
- const useUtilityClasses$1K = ownerState => {
17140
+ const useUtilityClasses$1L = ownerState => {
17602
17141
  const {
17603
17142
  orientation,
17604
17143
  classes
@@ -17702,7 +17241,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17702
17241
  orientation,
17703
17242
  collapsedSize: collapsedSizeProp
17704
17243
  });
17705
- const classes = useUtilityClasses$1K(ownerState);
17244
+ const classes = useUtilityClasses$1L(ownerState);
17706
17245
  const theme = useTheme();
17707
17246
  const timer = React__namespace.useRef();
17708
17247
  const wrapperRef = React__namespace.useRef(null);
@@ -17966,7 +17505,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17966
17505
  var paperClasses$1 = paperClasses;
17967
17506
 
17968
17507
  const _excluded$21 = ["className", "component", "elevation", "square", "variant"];
17969
- const useUtilityClasses$1J = ownerState => {
17508
+ const useUtilityClasses$1K = ownerState => {
17970
17509
  const {
17971
17510
  square,
17972
17511
  elevation,
@@ -18027,7 +17566,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18027
17566
  square,
18028
17567
  variant
18029
17568
  });
18030
- const classes = useUtilityClasses$1J(ownerState);
17569
+ const classes = useUtilityClasses$1K(ownerState);
18031
17570
  {
18032
17571
  // eslint-disable-next-line react-hooks/rules-of-hooks
18033
17572
  const theme = useTheme();
@@ -18113,7 +17652,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18113
17652
  var accordionClasses$1 = accordionClasses;
18114
17653
 
18115
17654
  const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
18116
- const useUtilityClasses$1I = ownerState => {
17655
+ const useUtilityClasses$1J = ownerState => {
18117
17656
  const {
18118
17657
  classes,
18119
17658
  square,
@@ -18251,7 +17790,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18251
17790
  disableGutters,
18252
17791
  expanded
18253
17792
  });
18254
- const classes = useUtilityClasses$1I(ownerState);
17793
+ const classes = useUtilityClasses$1J(ownerState);
18255
17794
  return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
18256
17795
  className: clsx(classes.root, className),
18257
17796
  ref: ref,
@@ -18358,7 +17897,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18358
17897
  var accordionActionsClasses$1 = accordionActionsClasses;
18359
17898
 
18360
17899
  const _excluded$1$ = ["className", "disableSpacing"];
18361
- const useUtilityClasses$1H = ownerState => {
17900
+ const useUtilityClasses$1I = ownerState => {
18362
17901
  const {
18363
17902
  classes,
18364
17903
  disableSpacing
@@ -18402,7 +17941,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18402
17941
  const ownerState = _extends({}, props, {
18403
17942
  disableSpacing
18404
17943
  });
18405
- const classes = useUtilityClasses$1H(ownerState);
17944
+ const classes = useUtilityClasses$1I(ownerState);
18406
17945
  return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
18407
17946
  className: clsx(classes.root, className),
18408
17947
  ref: ref,
@@ -18445,7 +17984,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18445
17984
  var accordionDetailsClasses$1 = accordionDetailsClasses;
18446
17985
 
18447
17986
  const _excluded$1_ = ["className"];
18448
- const useUtilityClasses$1G = ownerState => {
17987
+ const useUtilityClasses$1H = ownerState => {
18449
17988
  const {
18450
17989
  classes
18451
17990
  } = ownerState;
@@ -18473,7 +18012,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18473
18012
  } = props,
18474
18013
  other = _objectWithoutPropertiesLoose(props, _excluded$1_);
18475
18014
  const ownerState = props;
18476
- const classes = useUtilityClasses$1G(ownerState);
18015
+ const classes = useUtilityClasses$1H(ownerState);
18477
18016
  return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
18478
18017
  className: clsx(classes.root, className),
18479
18018
  ref: ref,
@@ -18920,7 +18459,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18920
18459
  var buttonBaseClasses$1 = buttonBaseClasses;
18921
18460
 
18922
18461
  const _excluded$1Y = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
18923
- const useUtilityClasses$1F = ownerState => {
18462
+ const useUtilityClasses$1G = ownerState => {
18924
18463
  const {
18925
18464
  disabled,
18926
18465
  focusVisible,
@@ -19188,7 +18727,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19188
18727
  tabIndex,
19189
18728
  focusVisible
19190
18729
  });
19191
- const classes = useUtilityClasses$1F(ownerState);
18730
+ const classes = useUtilityClasses$1G(ownerState);
19192
18731
  return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
19193
18732
  as: ComponentProp,
19194
18733
  className: clsx(classes.root, className),
@@ -19386,7 +18925,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19386
18925
  var accordionSummaryClasses$1 = accordionSummaryClasses;
19387
18926
 
19388
18927
  const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
19389
- const useUtilityClasses$1E = ownerState => {
18928
+ const useUtilityClasses$1F = ownerState => {
19390
18929
  const {
19391
18930
  classes,
19392
18931
  expanded,
@@ -19500,7 +19039,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19500
19039
  disabled,
19501
19040
  disableGutters
19502
19041
  });
19503
- const classes = useUtilityClasses$1E(ownerState);
19042
+ const classes = useUtilityClasses$1F(ownerState);
19504
19043
  return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
19505
19044
  focusRipple: false,
19506
19045
  disableRipple: true,
@@ -19578,7 +19117,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19578
19117
  var iconButtonClasses$1 = iconButtonClasses;
19579
19118
 
19580
19119
  const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
19581
- const useUtilityClasses$1D = ownerState => {
19120
+ const useUtilityClasses$1E = ownerState => {
19582
19121
  const {
19583
19122
  classes,
19584
19123
  disabled,
@@ -19686,7 +19225,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19686
19225
  disableFocusRipple,
19687
19226
  size
19688
19227
  });
19689
- const classes = useUtilityClasses$1D(ownerState);
19228
+ const classes = useUtilityClasses$1E(ownerState);
19690
19229
  return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
19691
19230
  className: clsx(classes.root, className),
19692
19231
  centerRipple: true,
@@ -19788,7 +19327,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19788
19327
  }), 'Close');
19789
19328
 
19790
19329
  const _excluded$1V = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
19791
- const useUtilityClasses$1C = ownerState => {
19330
+ const useUtilityClasses$1D = ownerState => {
19792
19331
  const {
19793
19332
  variant,
19794
19333
  color,
@@ -19923,7 +19462,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19923
19462
  severity,
19924
19463
  variant
19925
19464
  });
19926
- const classes = useUtilityClasses$1C(ownerState);
19465
+ const classes = useUtilityClasses$1D(ownerState);
19927
19466
  const AlertCloseButton = (_ref = (_slots$closeButton = slots.closeButton) != null ? _slots$closeButton : components.CloseButton) != null ? _ref : IconButton$1;
19928
19467
  const AlertCloseIcon = (_ref2 = (_slots$closeIcon = slots.closeIcon) != null ? _slots$closeIcon : components.CloseIcon) != null ? _ref2 : ClearIcon;
19929
19468
  const closeButtonProps = (_slotProps$closeButto = slotProps.closeButton) != null ? _slotProps$closeButto : componentsProps.closeButton;
@@ -20099,7 +19638,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20099
19638
  var typographyClasses$1 = typographyClasses;
20100
19639
 
20101
19640
  const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
20102
- const useUtilityClasses$1B = ownerState => {
19641
+ const useUtilityClasses$1C = ownerState => {
20103
19642
  const {
20104
19643
  align,
20105
19644
  gutterBottom,
@@ -20195,7 +19734,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20195
19734
  variantMapping
20196
19735
  });
20197
19736
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
20198
- const classes = useUtilityClasses$1B(ownerState);
19737
+ const classes = useUtilityClasses$1C(ownerState);
20199
19738
  return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
20200
19739
  as: Component,
20201
19740
  ref: ref,
@@ -20287,7 +19826,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20287
19826
  var alertTitleClasses$1 = alertTitleClasses;
20288
19827
 
20289
19828
  const _excluded$1T = ["className"];
20290
- const useUtilityClasses$1A = ownerState => {
19829
+ const useUtilityClasses$1B = ownerState => {
20291
19830
  const {
20292
19831
  classes
20293
19832
  } = ownerState;
@@ -20318,7 +19857,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20318
19857
  } = props,
20319
19858
  other = _objectWithoutPropertiesLoose(props, _excluded$1T);
20320
19859
  const ownerState = props;
20321
- const classes = useUtilityClasses$1A(ownerState);
19860
+ const classes = useUtilityClasses$1B(ownerState);
20322
19861
  return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
20323
19862
  gutterBottom: true,
20324
19863
  component: "div",
@@ -20358,7 +19897,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20358
19897
  var appBarClasses$1 = appBarClasses;
20359
19898
 
20360
19899
  const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
20361
- const useUtilityClasses$1z = ownerState => {
19900
+ const useUtilityClasses$1A = ownerState => {
20362
19901
  const {
20363
19902
  color,
20364
19903
  position,
@@ -20469,7 +20008,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20469
20008
  position,
20470
20009
  enableColorOnDark
20471
20010
  });
20472
- const classes = useUtilityClasses$1z(ownerState);
20011
+ const classes = useUtilityClasses$1A(ownerState);
20473
20012
  return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
20474
20013
  square: true,
20475
20014
  component: "header",
@@ -20702,7 +20241,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20702
20241
  var listSubheaderClasses$1 = listSubheaderClasses;
20703
20242
 
20704
20243
  const _excluded$1Q = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
20705
- const useUtilityClasses$1y = ownerState => {
20244
+ const useUtilityClasses$1z = ownerState => {
20706
20245
  const {
20707
20246
  classes,
20708
20247
  color,
@@ -20771,7 +20310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20771
20310
  disableSticky,
20772
20311
  inset
20773
20312
  });
20774
- const classes = useUtilityClasses$1y(ownerState);
20313
+ const classes = useUtilityClasses$1z(ownerState);
20775
20314
  return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
20776
20315
  as: component,
20777
20316
  className: clsx(classes.root, className),
@@ -20839,7 +20378,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20839
20378
  var chipClasses$1 = chipClasses;
20840
20379
 
20841
20380
  const _excluded$1P = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
20842
- const useUtilityClasses$1x = ownerState => {
20381
+ const useUtilityClasses$1y = ownerState => {
20843
20382
  const {
20844
20383
  classes,
20845
20384
  disabled,
@@ -21165,7 +20704,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21165
20704
  clickable,
21166
20705
  variant
21167
20706
  });
21168
- const classes = useUtilityClasses$1x(ownerState);
20707
+ const classes = useUtilityClasses$1y(ownerState);
21169
20708
  const moreProps = component === ButtonBase$1 ? _extends({
21170
20709
  component: ComponentProp || 'div',
21171
20710
  focusVisibleClassName: classes.focusVisible
@@ -21418,7 +20957,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21418
20957
  } = props;
21419
20958
  return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
21420
20959
  };
21421
- const useUtilityClasses$1w = ownerState => {
20960
+ const useUtilityClasses$1x = ownerState => {
21422
20961
  const {
21423
20962
  classes,
21424
20963
  color,
@@ -21810,7 +21349,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21810
21349
  startAdornment,
21811
21350
  type
21812
21351
  });
21813
- const classes = useUtilityClasses$1w(ownerState);
21352
+ const classes = useUtilityClasses$1x(ownerState);
21814
21353
  const Root = slots.root || components.Root || InputBaseRoot;
21815
21354
  const rootProps = slotProps.root || componentsProps.root || {};
21816
21355
  const Input = slots.input || components.Input || InputBaseComponent;
@@ -22122,7 +21661,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22122
21661
 
22123
21662
  var _ClearIcon, _ArrowDropDownIcon;
22124
21663
  const _excluded$1N = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"];
22125
- const useUtilityClasses$1v = ownerState => {
21664
+ const useUtilityClasses$1w = ownerState => {
22126
21665
  const {
22127
21666
  classes,
22128
21667
  disablePortal,
@@ -22545,7 +22084,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22545
22084
  popupOpen,
22546
22085
  size
22547
22086
  });
22548
- const classes = useUtilityClasses$1v(ownerState);
22087
+ const classes = useUtilityClasses$1w(ownerState);
22549
22088
  let startAdornment;
22550
22089
  if (multiple && value.length > 0) {
22551
22090
  const getCustomizedTagProps = params => _extends({
@@ -22599,6 +22138,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22599
22138
  className: classes.option
22600
22139
  }), option, {
22601
22140
  selected: optionProps['aria-selected'],
22141
+ index,
22602
22142
  inputValue
22603
22143
  });
22604
22144
  };
@@ -23123,7 +22663,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23123
22663
  var avatarClasses$1 = avatarClasses;
23124
22664
 
23125
22665
  const _excluded$1M = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
23126
- const useUtilityClasses$1u = ownerState => {
22666
+ const useUtilityClasses$1v = ownerState => {
23127
22667
  const {
23128
22668
  classes,
23129
22669
  variant,
@@ -23265,7 +22805,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23265
22805
  component,
23266
22806
  variant
23267
22807
  });
23268
- const classes = useUtilityClasses$1u(ownerState);
22808
+ const classes = useUtilityClasses$1v(ownerState);
23269
22809
  if (hasImgNotFailing) {
23270
22810
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
23271
22811
  alt: alt,
@@ -23362,7 +22902,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23362
22902
  small: -16,
23363
22903
  medium: null
23364
22904
  };
23365
- const useUtilityClasses$1t = ownerState => {
22905
+ const useUtilityClasses$1u = ownerState => {
23366
22906
  const {
23367
22907
  classes
23368
22908
  } = ownerState;
@@ -23431,7 +22971,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23431
22971
  component,
23432
22972
  variant
23433
22973
  });
23434
- const classes = useUtilityClasses$1t(ownerState);
22974
+ const classes = useUtilityClasses$1u(ownerState);
23435
22975
  const children = React__namespace.Children.toArray(childrenProp).filter(child => {
23436
22976
  {
23437
22977
  if (reactIs_2(child)) {
@@ -23754,7 +23294,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23754
23294
  var backdropClasses$1 = backdropClasses;
23755
23295
 
23756
23296
  const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
23757
- const useUtilityClasses$1s = ownerState => {
23297
+ const useUtilityClasses$1t = ownerState => {
23758
23298
  const {
23759
23299
  classes,
23760
23300
  invisible
@@ -23814,7 +23354,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23814
23354
  component,
23815
23355
  invisible
23816
23356
  });
23817
- const classes = useUtilityClasses$1s(ownerState);
23357
+ const classes = useUtilityClasses$1t(ownerState);
23818
23358
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
23819
23359
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
23820
23360
  in: open,
@@ -23940,7 +23480,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23940
23480
  const _excluded$1I = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
23941
23481
  const RADIUS_STANDARD = 10;
23942
23482
  const RADIUS_DOT = 4;
23943
- const useUtilityClasses$1r = ownerState => {
23483
+ const useUtilityClasses$1s = ownerState => {
23944
23484
  const {
23945
23485
  color,
23946
23486
  anchorOrigin,
@@ -24128,7 +23668,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24128
23668
  overlap,
24129
23669
  variant
24130
23670
  });
24131
- const classes = useUtilityClasses$1r(ownerState);
23671
+ const classes = useUtilityClasses$1s(ownerState);
24132
23672
  let displayValue;
24133
23673
  if (variant !== 'dot') {
24134
23674
  displayValue = badgeContentProp && Number(badgeContentProp) > max ? `${max}+` : badgeContentProp;
@@ -24299,7 +23839,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24299
23839
  var bottomNavigationClasses$1 = bottomNavigationClasses;
24300
23840
 
24301
23841
  const _excluded$1H = ["children", "className", "component", "onChange", "showLabels", "value"];
24302
- const useUtilityClasses$1q = ownerState => {
23842
+ const useUtilityClasses$1r = ownerState => {
24303
23843
  const {
24304
23844
  classes
24305
23845
  } = ownerState;
@@ -24338,7 +23878,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24338
23878
  component,
24339
23879
  showLabels
24340
23880
  });
24341
- const classes = useUtilityClasses$1q(ownerState);
23881
+ const classes = useUtilityClasses$1r(ownerState);
24342
23882
  return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
24343
23883
  as: component,
24344
23884
  className: clsx(classes.root, className),
@@ -24417,7 +23957,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24417
23957
  var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
24418
23958
 
24419
23959
  const _excluded$1G = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
24420
- const useUtilityClasses$1p = ownerState => {
23960
+ const useUtilityClasses$1q = ownerState => {
24421
23961
  const {
24422
23962
  classes,
24423
23963
  showLabel,
@@ -24496,7 +24036,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24496
24036
  } = props,
24497
24037
  other = _objectWithoutPropertiesLoose(props, _excluded$1G);
24498
24038
  const ownerState = props;
24499
- const classes = useUtilityClasses$1p(ownerState);
24039
+ const classes = useUtilityClasses$1q(ownerState);
24500
24040
  const handleChange = event => {
24501
24041
  if (onChange) {
24502
24042
  onChange(event, value);
@@ -24665,7 +24205,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24665
24205
  var breadcrumbsClasses$1 = breadcrumbsClasses;
24666
24206
 
24667
24207
  const _excluded$1F = ["children", "className", "component", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
24668
- const useUtilityClasses$1o = ownerState => {
24208
+ const useUtilityClasses$1p = ownerState => {
24669
24209
  const {
24670
24210
  classes
24671
24211
  } = ownerState;
@@ -24749,7 +24289,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24749
24289
  maxItems,
24750
24290
  separator
24751
24291
  });
24752
- const classes = useUtilityClasses$1o(ownerState);
24292
+ const classes = useUtilityClasses$1p(ownerState);
24753
24293
  const listRef = React__namespace.useRef(null);
24754
24294
  const renderItemsBeforeAndAfter = allItems => {
24755
24295
  const handleClickExpand = () => {
@@ -24878,7 +24418,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24878
24418
  var ButtonGroupContext$1 = ButtonGroupContext;
24879
24419
 
24880
24420
  const _excluded$1E = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24881
- const useUtilityClasses$1n = ownerState => {
24421
+ const useUtilityClasses$1o = ownerState => {
24882
24422
  const {
24883
24423
  color,
24884
24424
  disableElevation,
@@ -25115,7 +24655,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25115
24655
  type,
25116
24656
  variant
25117
24657
  });
25118
- const classes = useUtilityClasses$1n(ownerState);
24658
+ const classes = useUtilityClasses$1o(ownerState);
25119
24659
  const startIcon = startIconProp && /*#__PURE__*/jsxRuntime_1(ButtonStartIcon, {
25120
24660
  className: classes.startIcon,
25121
24661
  ownerState: ownerState,
@@ -25259,7 +24799,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25259
24799
  [`& .${buttonGroupClasses$1.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.color)}`]
25260
24800
  }, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
25261
24801
  };
25262
- const useUtilityClasses$1m = ownerState => {
24802
+ const useUtilityClasses$1n = ownerState => {
25263
24803
  const {
25264
24804
  classes,
25265
24805
  color,
@@ -25381,7 +24921,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25381
24921
  size,
25382
24922
  variant
25383
24923
  });
25384
- const classes = useUtilityClasses$1m(ownerState);
24924
+ const classes = useUtilityClasses$1n(ownerState);
25385
24925
  const context = React__namespace.useMemo(() => ({
25386
24926
  className: classes.grouped,
25387
24927
  color,
@@ -25490,7 +25030,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25490
25030
  var cardClasses$1 = cardClasses;
25491
25031
 
25492
25032
  const _excluded$1C = ["className", "raised"];
25493
- const useUtilityClasses$1l = ownerState => {
25033
+ const useUtilityClasses$1m = ownerState => {
25494
25034
  const {
25495
25035
  classes
25496
25036
  } = ownerState;
@@ -25521,7 +25061,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25521
25061
  const ownerState = _extends({}, props, {
25522
25062
  raised
25523
25063
  });
25524
- const classes = useUtilityClasses$1l(ownerState);
25064
+ const classes = useUtilityClasses$1m(ownerState);
25525
25065
  return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
25526
25066
  className: clsx(classes.root, className),
25527
25067
  elevation: raised ? 8 : undefined,
@@ -25570,7 +25110,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25570
25110
  var cardActionAreaClasses$1 = cardActionAreaClasses;
25571
25111
 
25572
25112
  const _excluded$1B = ["children", "className", "focusVisibleClassName"];
25573
- const useUtilityClasses$1k = ownerState => {
25113
+ const useUtilityClasses$1l = ownerState => {
25574
25114
  const {
25575
25115
  classes
25576
25116
  } = ownerState;
@@ -25633,7 +25173,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25633
25173
  } = props,
25634
25174
  other = _objectWithoutPropertiesLoose(props, _excluded$1B);
25635
25175
  const ownerState = props;
25636
- const classes = useUtilityClasses$1k(ownerState);
25176
+ const classes = useUtilityClasses$1l(ownerState);
25637
25177
  return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
25638
25178
  className: clsx(classes.root, className),
25639
25179
  focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
@@ -25681,7 +25221,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25681
25221
  var cardActionsClasses$1 = cardActionsClasses;
25682
25222
 
25683
25223
  const _excluded$1A = ["disableSpacing", "className"];
25684
- const useUtilityClasses$1j = ownerState => {
25224
+ const useUtilityClasses$1k = ownerState => {
25685
25225
  const {
25686
25226
  classes,
25687
25227
  disableSpacing
@@ -25724,7 +25264,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25724
25264
  const ownerState = _extends({}, props, {
25725
25265
  disableSpacing
25726
25266
  });
25727
- const classes = useUtilityClasses$1j(ownerState);
25267
+ const classes = useUtilityClasses$1k(ownerState);
25728
25268
  return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
25729
25269
  className: clsx(classes.root, className),
25730
25270
  ownerState: ownerState,
@@ -25767,7 +25307,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25767
25307
  var cardContentClasses$1 = cardContentClasses;
25768
25308
 
25769
25309
  const _excluded$1z = ["className", "component"];
25770
- const useUtilityClasses$1i = ownerState => {
25310
+ const useUtilityClasses$1j = ownerState => {
25771
25311
  const {
25772
25312
  classes
25773
25313
  } = ownerState;
@@ -25801,7 +25341,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25801
25341
  const ownerState = _extends({}, props, {
25802
25342
  component
25803
25343
  });
25804
- const classes = useUtilityClasses$1i(ownerState);
25344
+ const classes = useUtilityClasses$1j(ownerState);
25805
25345
  return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
25806
25346
  as: component,
25807
25347
  className: clsx(classes.root, className),
@@ -25845,7 +25385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25845
25385
  var cardHeaderClasses$1 = cardHeaderClasses;
25846
25386
 
25847
25387
  const _excluded$1y = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
25848
- const useUtilityClasses$1h = ownerState => {
25388
+ const useUtilityClasses$1i = ownerState => {
25849
25389
  const {
25850
25390
  classes
25851
25391
  } = ownerState;
@@ -25919,7 +25459,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25919
25459
  component,
25920
25460
  disableTypography
25921
25461
  });
25922
- const classes = useUtilityClasses$1h(ownerState);
25462
+ const classes = useUtilityClasses$1i(ownerState);
25923
25463
  let title = titleProp;
25924
25464
  if (title != null && title.type !== Typography$1 && !disableTypography) {
25925
25465
  title = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
@@ -26034,7 +25574,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26034
25574
  var cardMediaClasses$1 = cardMediaClasses;
26035
25575
 
26036
25576
  const _excluded$1x = ["children", "className", "component", "image", "src", "style"];
26037
- const useUtilityClasses$1g = ownerState => {
25577
+ const useUtilityClasses$1h = ownerState => {
26038
25578
  const {
26039
25579
  classes,
26040
25580
  isMediaComponent,
@@ -26096,7 +25636,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26096
25636
  isMediaComponent,
26097
25637
  isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
26098
25638
  });
26099
- const classes = useUtilityClasses$1g(ownerState);
25639
+ const classes = useUtilityClasses$1h(ownerState);
26100
25640
  return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
26101
25641
  className: clsx(classes.root, className),
26102
25642
  as: component,
@@ -26165,7 +25705,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26165
25705
  generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
26166
25706
 
26167
25707
  const _excluded$1w = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
26168
- const useUtilityClasses$1f = ownerState => {
25708
+ const useUtilityClasses$1g = ownerState => {
26169
25709
  const {
26170
25710
  classes,
26171
25711
  checked,
@@ -26277,7 +25817,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26277
25817
  disableFocusRipple,
26278
25818
  edge
26279
25819
  });
26280
- const classes = useUtilityClasses$1f(ownerState);
25820
+ const classes = useUtilityClasses$1g(ownerState);
26281
25821
  return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
26282
25822
  component: "span",
26283
25823
  className: clsx(classes.root, className),
@@ -26439,7 +25979,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26439
25979
  var checkboxClasses$1 = checkboxClasses;
26440
25980
 
26441
25981
  const _excluded$1v = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
26442
- const useUtilityClasses$1e = ownerState => {
25982
+ const useUtilityClasses$1f = ownerState => {
26443
25983
  const {
26444
25984
  classes,
26445
25985
  indeterminate,
@@ -26509,7 +26049,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26509
26049
  indeterminate,
26510
26050
  size
26511
26051
  });
26512
- const classes = useUtilityClasses$1e(ownerState);
26052
+ const classes = useUtilityClasses$1f(ownerState);
26513
26053
  return /*#__PURE__*/jsxRuntime_1(CheckboxRoot, _extends({
26514
26054
  type: "checkbox",
26515
26055
  inputProps: _extends({
@@ -26666,7 +26206,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26666
26206
  stroke-dashoffset: -125px;
26667
26207
  }
26668
26208
  `));
26669
- const useUtilityClasses$1d = ownerState => {
26209
+ const useUtilityClasses$1e = ownerState => {
26670
26210
  const {
26671
26211
  classes,
26672
26212
  variant,
@@ -26768,7 +26308,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26768
26308
  value,
26769
26309
  variant
26770
26310
  });
26771
- const classes = useUtilityClasses$1d(ownerState);
26311
+ const classes = useUtilityClasses$1e(ownerState);
26772
26312
  const circleStyle = {};
26773
26313
  const rootStyle = {};
26774
26314
  const rootProps = {};
@@ -27068,7 +26608,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27068
26608
 
27069
26609
  const _excluded$1t = ["BackdropComponent", "BackdropProps", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
27070
26610
  const modalClasses = modalUnstyledClasses$1;
27071
- const extendUtilityClasses$1 = ownerState => {
26611
+ const extendUtilityClasses = ownerState => {
27072
26612
  return ownerState.classes;
27073
26613
  };
27074
26614
  const ModalRoot = styled$1('div', {
@@ -27159,7 +26699,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27159
26699
  const ownerState = _extends({}, props, commonProps, {
27160
26700
  exited
27161
26701
  });
27162
- const classes = extendUtilityClasses$1(ownerState);
26702
+ const classes = extendUtilityClasses(ownerState);
27163
26703
  const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
27164
26704
  const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
27165
26705
  const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
@@ -27374,7 +26914,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27374
26914
  // Improve scrollable dialog support.
27375
26915
  zIndex: -1
27376
26916
  });
27377
- const useUtilityClasses$1c = ownerState => {
26917
+ const useUtilityClasses$1d = ownerState => {
27378
26918
  const {
27379
26919
  classes,
27380
26920
  scroll,
@@ -27535,7 +27075,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27535
27075
  maxWidth,
27536
27076
  scroll
27537
27077
  });
27538
- const classes = useUtilityClasses$1c(ownerState);
27078
+ const classes = useUtilityClasses$1d(ownerState);
27539
27079
  const backdropClick = React__namespace.useRef();
27540
27080
  const handleMouseDown = event => {
27541
27081
  // We don't want to close the dialog when clicking the dialog content.
@@ -27745,7 +27285,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27745
27285
  var dialogActionsClasses$1 = dialogActionsClasses;
27746
27286
 
27747
27287
  const _excluded$1r = ["className", "disableSpacing"];
27748
- const useUtilityClasses$1b = ownerState => {
27288
+ const useUtilityClasses$1c = ownerState => {
27749
27289
  const {
27750
27290
  classes,
27751
27291
  disableSpacing
@@ -27790,7 +27330,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27790
27330
  const ownerState = _extends({}, props, {
27791
27331
  disableSpacing
27792
27332
  });
27793
- const classes = useUtilityClasses$1b(ownerState);
27333
+ const classes = useUtilityClasses$1c(ownerState);
27794
27334
  return /*#__PURE__*/jsxRuntime_1(DialogActionsRoot, _extends({
27795
27335
  className: clsx(classes.root, className),
27796
27336
  ownerState: ownerState,
@@ -27839,7 +27379,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27839
27379
  var dialogTitleClasses$1 = dialogTitleClasses;
27840
27380
 
27841
27381
  const _excluded$1q = ["className", "dividers"];
27842
- const useUtilityClasses$1a = ownerState => {
27382
+ const useUtilityClasses$1b = ownerState => {
27843
27383
  const {
27844
27384
  classes,
27845
27385
  dividers
@@ -27889,7 +27429,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27889
27429
  const ownerState = _extends({}, props, {
27890
27430
  dividers
27891
27431
  });
27892
- const classes = useUtilityClasses$1a(ownerState);
27432
+ const classes = useUtilityClasses$1b(ownerState);
27893
27433
  return /*#__PURE__*/jsxRuntime_1(DialogContentRoot, _extends({
27894
27434
  className: clsx(classes.root, className),
27895
27435
  ownerState: ownerState,
@@ -27932,7 +27472,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27932
27472
  var dialogContentTextClasses$1 = dialogContentTextClasses;
27933
27473
 
27934
27474
  const _excluded$1p = ["children", "className"];
27935
- const useUtilityClasses$19 = ownerState => {
27475
+ const useUtilityClasses$1a = ownerState => {
27936
27476
  const {
27937
27477
  classes
27938
27478
  } = ownerState;
@@ -27957,7 +27497,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27957
27497
  className
27958
27498
  } = props,
27959
27499
  ownerState = _objectWithoutPropertiesLoose(props, _excluded$1p);
27960
- const classes = useUtilityClasses$19(ownerState);
27500
+ const classes = useUtilityClasses$1a(ownerState);
27961
27501
  return /*#__PURE__*/jsxRuntime_1(DialogContentTextRoot, _extends({
27962
27502
  component: "p",
27963
27503
  variant: "body1",
@@ -27994,7 +27534,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27994
27534
  var DialogContentText$1 = DialogContentText;
27995
27535
 
27996
27536
  const _excluded$1o = ["className", "id"];
27997
- const useUtilityClasses$18 = ownerState => {
27537
+ const useUtilityClasses$19 = ownerState => {
27998
27538
  const {
27999
27539
  classes
28000
27540
  } = ownerState;
@@ -28022,7 +27562,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28022
27562
  } = props,
28023
27563
  other = _objectWithoutPropertiesLoose(props, _excluded$1o);
28024
27564
  const ownerState = props;
28025
- const classes = useUtilityClasses$18(ownerState);
27565
+ const classes = useUtilityClasses$19(ownerState);
28026
27566
  const {
28027
27567
  titleId: id = idProp
28028
27568
  } = React__namespace.useContext(DialogContext$1);
@@ -28070,7 +27610,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28070
27610
  var dividerClasses$1 = dividerClasses;
28071
27611
 
28072
27612
  const _excluded$1n = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
28073
- const useUtilityClasses$17 = ownerState => {
27613
+ const useUtilityClasses$18 = ownerState => {
28074
27614
  const {
28075
27615
  absolute,
28076
27616
  children,
@@ -28223,7 +27763,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28223
27763
  textAlign,
28224
27764
  variant
28225
27765
  });
28226
- const classes = useUtilityClasses$17(ownerState);
27766
+ const classes = useUtilityClasses$18(ownerState);
28227
27767
  return /*#__PURE__*/jsxRuntime_1(DividerRoot, _extends({
28228
27768
  as: component,
28229
27769
  className: clsx(classes.root, className),
@@ -28628,7 +28168,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28628
28168
  } = props;
28629
28169
  return [styles.root, (ownerState.variant === 'permanent' || ownerState.variant === 'persistent') && styles.docked, styles.modal];
28630
28170
  };
28631
- const useUtilityClasses$16 = ownerState => {
28171
+ const useUtilityClasses$17 = ownerState => {
28632
28172
  const {
28633
28173
  classes,
28634
28174
  anchor,
@@ -28778,7 +28318,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28778
28318
  open,
28779
28319
  variant
28780
28320
  }, other);
28781
- const classes = useUtilityClasses$16(ownerState);
28321
+ const classes = useUtilityClasses$17(ownerState);
28782
28322
  const drawer = /*#__PURE__*/jsxRuntime_1(DrawerPaper, _extends({
28783
28323
  elevation: variant === 'temporary' ? elevation : 0,
28784
28324
  square: true
@@ -28922,7 +28462,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28922
28462
  var fabClasses$1 = fabClasses;
28923
28463
 
28924
28464
  const _excluded$1k = ["children", "className", "color", "component", "disabled", "disableFocusRipple", "focusVisibleClassName", "size", "variant"];
28925
- const useUtilityClasses$15 = ownerState => {
28465
+ const useUtilityClasses$16 = ownerState => {
28926
28466
  const {
28927
28467
  color,
28928
28468
  variant,
@@ -29053,7 +28593,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29053
28593
  size,
29054
28594
  variant
29055
28595
  });
29056
- const classes = useUtilityClasses$15(ownerState);
28596
+ const classes = useUtilityClasses$16(ownerState);
29057
28597
  return /*#__PURE__*/jsxRuntime_1(FabRoot, _extends({
29058
28598
  className: clsx(classes.root, className),
29059
28599
  component: component,
@@ -29138,7 +28678,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29138
28678
  var Fab$1 = Fab;
29139
28679
 
29140
28680
  const _excluded$1j = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
29141
- const useUtilityClasses$14 = ownerState => {
28681
+ const useUtilityClasses$15 = ownerState => {
29142
28682
  const {
29143
28683
  classes,
29144
28684
  disableUnderline
@@ -29217,12 +28757,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29217
28757
  [`&.${filledInputClasses$1.error}`]: {
29218
28758
  '&:before, &:after': {
29219
28759
  borderBottomColor: (theme.vars || theme).palette.error.main
29220
- },
29221
- '&:focus-within:after': {
29222
- transform: 'scaleX(1)' // error is always underlined in red
29223
28760
  }
29224
28761
  },
29225
-
29226
28762
  '&:before': {
29227
28763
  borderBottom: `1px solid ${theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})` : bottomLineColor}`,
29228
28764
  left: 0,
@@ -29332,7 +28868,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29332
28868
  multiline,
29333
28869
  type
29334
28870
  });
29335
- const classes = useUtilityClasses$14(props);
28871
+ const classes = useUtilityClasses$15(props);
29336
28872
  const filledInputComponentsProps = {
29337
28873
  root: {
29338
28874
  ownerState
@@ -29562,7 +29098,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29562
29098
  var formControlClasses$1 = formControlClasses;
29563
29099
 
29564
29100
  const _excluded$1i = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
29565
- const useUtilityClasses$13 = ownerState => {
29101
+ const useUtilityClasses$14 = ownerState => {
29566
29102
  const {
29567
29103
  classes,
29568
29104
  margin,
@@ -29660,7 +29196,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29660
29196
  size,
29661
29197
  variant
29662
29198
  });
29663
- const classes = useUtilityClasses$13(ownerState);
29199
+ const classes = useUtilityClasses$14(ownerState);
29664
29200
  const [adornedStart, setAdornedStart] = React__namespace.useState(() => {
29665
29201
  // We need to iterate through the children and find the Input in order
29666
29202
  // to fully support server-side rendering.
@@ -29843,7 +29379,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29843
29379
  var formControlLabelClasses$1 = formControlLabelClasses;
29844
29380
 
29845
29381
  const _excluded$1h = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
29846
- const useUtilityClasses$12 = ownerState => {
29382
+ const useUtilityClasses$13 = ownerState => {
29847
29383
  const {
29848
29384
  classes,
29849
29385
  disabled,
@@ -29949,7 +29485,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29949
29485
  labelPlacement,
29950
29486
  error: fcs.error
29951
29487
  });
29952
- const classes = useUtilityClasses$12(ownerState);
29488
+ const classes = useUtilityClasses$13(ownerState);
29953
29489
  const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
29954
29490
  let label = labelProp;
29955
29491
  if (label != null && label.type !== Typography$1 && !disableTypography) {
@@ -30053,7 +29589,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30053
29589
  var formGroupClasses$1 = formGroupClasses;
30054
29590
 
30055
29591
  const _excluded$1g = ["className", "row"];
30056
- const useUtilityClasses$11 = ownerState => {
29592
+ const useUtilityClasses$12 = ownerState => {
30057
29593
  const {
30058
29594
  classes,
30059
29595
  row,
@@ -30108,7 +29644,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30108
29644
  row,
30109
29645
  error: fcs.error
30110
29646
  });
30111
- const classes = useUtilityClasses$11(ownerState);
29647
+ const classes = useUtilityClasses$12(ownerState);
30112
29648
  return /*#__PURE__*/jsxRuntime_1(FormGroupRoot, _extends({
30113
29649
  className: clsx(classes.root, className),
30114
29650
  ownerState: ownerState,
@@ -30152,7 +29688,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30152
29688
 
30153
29689
  var _span$3;
30154
29690
  const _excluded$1f = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
30155
- const useUtilityClasses$10 = ownerState => {
29691
+ const useUtilityClasses$11 = ownerState => {
30156
29692
  const {
30157
29693
  classes,
30158
29694
  contained,
@@ -30228,7 +29764,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30228
29764
  focused: fcs.focused,
30229
29765
  required: fcs.required
30230
29766
  });
30231
- const classes = useUtilityClasses$10(ownerState);
29767
+ const classes = useUtilityClasses$11(ownerState);
30232
29768
  return /*#__PURE__*/jsxRuntime_1(FormHelperTextRoot, _extends({
30233
29769
  as: component,
30234
29770
  ownerState: ownerState,
@@ -30309,7 +29845,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30309
29845
  var formLabelClasses$1 = formLabelClasses;
30310
29846
 
30311
29847
  const _excluded$1e = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
30312
- const useUtilityClasses$$ = ownerState => {
29848
+ const useUtilityClasses$10 = ownerState => {
30313
29849
  const {
30314
29850
  classes,
30315
29851
  color,
@@ -30389,7 +29925,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30389
29925
  focused: fcs.focused,
30390
29926
  required: fcs.required
30391
29927
  });
30392
- const classes = useUtilityClasses$$(ownerState);
29928
+ const classes = useUtilityClasses$10(ownerState);
30393
29929
  return /*#__PURE__*/jsxRuntime_2(FormLabelRoot, _extends({
30394
29930
  as: component,
30395
29931
  ownerState: ownerState,
@@ -30795,7 +30331,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30795
30331
  });
30796
30332
  return classes;
30797
30333
  }
30798
- const useUtilityClasses$_ = ownerState => {
30334
+ const useUtilityClasses$$ = ownerState => {
30799
30335
  const {
30800
30336
  classes,
30801
30337
  container,
@@ -30874,7 +30410,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30874
30410
  }, breakpointsValues, {
30875
30411
  breakpoints: breakpoints.keys
30876
30412
  });
30877
- const classes = useUtilityClasses$_(ownerState);
30413
+ const classes = useUtilityClasses$$(ownerState);
30878
30414
  return /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
30879
30415
  value: columns,
30880
30416
  children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
@@ -31650,7 +31186,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31650
31186
  generateUtilityClasses('PrivateHiddenCss', ['root', 'xlDown', 'xlUp', 'onlyXl', 'lgDown', 'lgUp', 'onlyLg', 'mdDown', 'mdUp', 'onlyMd', 'smDown', 'smUp', 'onlySm', 'xsDown', 'xsUp', 'onlyXs']);
31651
31187
 
31652
31188
  const _excluded$1a = ["children", "className", "only"];
31653
- const useUtilityClasses$Z = ownerState => {
31189
+ const useUtilityClasses$_ = ownerState => {
31654
31190
  const {
31655
31191
  classes,
31656
31192
  breakpoints
@@ -31749,7 +31285,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31749
31285
  const ownerState = _extends({}, props, {
31750
31286
  breakpoints
31751
31287
  });
31752
- const classes = useUtilityClasses$Z(ownerState);
31288
+ const classes = useUtilityClasses$_(ownerState);
31753
31289
  return /*#__PURE__*/jsxRuntime_1(HiddenCssRoot, {
31754
31290
  className: clsx(classes.root, className),
31755
31291
  ownerState: ownerState,
@@ -31949,7 +31485,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31949
31485
  var iconClasses$1 = iconClasses;
31950
31486
 
31951
31487
  const _excluded$18 = ["baseClassName", "className", "color", "component", "fontSize"];
31952
- const useUtilityClasses$Y = ownerState => {
31488
+ const useUtilityClasses$Z = ownerState => {
31953
31489
  const {
31954
31490
  color,
31955
31491
  fontSize,
@@ -32022,7 +31558,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32022
31558
  component: Component,
32023
31559
  fontSize
32024
31560
  });
32025
- const classes = useUtilityClasses$Y(ownerState);
31561
+ const classes = useUtilityClasses$Z(ownerState);
32026
31562
  return /*#__PURE__*/jsxRuntime_1(IconRoot, _extends({
32027
31563
  as: Component,
32028
31564
  className: clsx(baseClassName,
@@ -32099,7 +31635,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32099
31635
  var ImageListContext$1 = ImageListContext;
32100
31636
 
32101
31637
  const _excluded$17 = ["children", "className", "cols", "component", "rowHeight", "gap", "style", "variant"];
32102
- const useUtilityClasses$X = ownerState => {
31638
+ const useUtilityClasses$Y = ownerState => {
32103
31639
  const {
32104
31640
  classes,
32105
31641
  variant
@@ -32174,7 +31710,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32174
31710
  rowHeight,
32175
31711
  variant
32176
31712
  });
32177
- const classes = useUtilityClasses$X(ownerState);
31713
+ const classes = useUtilityClasses$Y(ownerState);
32178
31714
  return /*#__PURE__*/jsxRuntime_1(ImageListRoot, _extends({
32179
31715
  as: component,
32180
31716
  className: clsx(classes.root, classes[variant], className),
@@ -32248,7 +31784,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32248
31784
  var imageListItemClasses$1 = imageListItemClasses;
32249
31785
 
32250
31786
  const _excluded$16 = ["children", "className", "cols", "component", "rows", "style"];
32251
- const useUtilityClasses$W = ownerState => {
31787
+ const useUtilityClasses$X = ownerState => {
32252
31788
  const {
32253
31789
  classes,
32254
31790
  variant
@@ -32331,7 +31867,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32331
31867
  rows,
32332
31868
  variant
32333
31869
  });
32334
- const classes = useUtilityClasses$W(ownerState);
31870
+ const classes = useUtilityClasses$X(ownerState);
32335
31871
  return /*#__PURE__*/jsxRuntime_1(ImageListItemRoot, _extends({
32336
31872
  as: component,
32337
31873
  className: clsx(classes.root, classes[variant], className),
@@ -32412,7 +31948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32412
31948
  var imageListItemBarClasses$1 = imageListItemBarClasses;
32413
31949
 
32414
31950
  const _excluded$15 = ["actionIcon", "actionPosition", "className", "subtitle", "title", "position"];
32415
- const useUtilityClasses$V = ownerState => {
31951
+ const useUtilityClasses$W = ownerState => {
32416
31952
  const {
32417
31953
  classes,
32418
31954
  position,
@@ -32550,7 +32086,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32550
32086
  position,
32551
32087
  actionPosition
32552
32088
  });
32553
- const classes = useUtilityClasses$V(ownerState);
32089
+ const classes = useUtilityClasses$W(ownerState);
32554
32090
  return /*#__PURE__*/jsxRuntime_2(ImageListItemBarRoot, _extends({
32555
32091
  ownerState: ownerState,
32556
32092
  className: clsx(classes.root, className),
@@ -32621,7 +32157,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32621
32157
  var ImageListItemBar$1 = ImageListItemBar;
32622
32158
 
32623
32159
  const _excluded$14 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
32624
- const useUtilityClasses$U = ownerState => {
32160
+ const useUtilityClasses$V = ownerState => {
32625
32161
  const {
32626
32162
  classes,
32627
32163
  disableUnderline
@@ -32683,12 +32219,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32683
32219
  [`&.${inputClasses$1.error}`]: {
32684
32220
  '&:before, &:after': {
32685
32221
  borderBottomColor: (theme.vars || theme).palette.error.main
32686
- },
32687
- '&:focus-within:after': {
32688
- transform: 'scaleX(1)' // error is always underlined in red
32689
32222
  }
32690
32223
  },
32691
-
32692
32224
  '&:before': {
32693
32225
  borderBottom: `1px solid ${bottomLineColor}`,
32694
32226
  left: 0,
@@ -32704,7 +32236,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32704
32236
  },
32705
32237
 
32706
32238
  [`&:hover:not(.${inputClasses$1.disabled}, .${inputClasses$1.error}):before`]: {
32707
- borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`,
32239
+ borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
32708
32240
  // Reset on touch devices, it doesn't add specificity
32709
32241
  '@media (hover: none)': {
32710
32242
  borderBottom: `1px solid ${bottomLineColor}`
@@ -32738,7 +32270,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32738
32270
  type = 'text'
32739
32271
  } = props,
32740
32272
  other = _objectWithoutPropertiesLoose(props, _excluded$14);
32741
- const classes = useUtilityClasses$U(props);
32273
+ const classes = useUtilityClasses$V(props);
32742
32274
  const ownerState = {
32743
32275
  disableUnderline
32744
32276
  };
@@ -32968,7 +32500,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32968
32500
  } = props;
32969
32501
  return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
32970
32502
  };
32971
- const useUtilityClasses$T = ownerState => {
32503
+ const useUtilityClasses$U = ownerState => {
32972
32504
  const {
32973
32505
  classes,
32974
32506
  disablePointerEvents,
@@ -33046,7 +32578,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33046
32578
  position,
33047
32579
  variant
33048
32580
  });
33049
- const classes = useUtilityClasses$T(ownerState);
32581
+ const classes = useUtilityClasses$U(ownerState);
33050
32582
  return /*#__PURE__*/jsxRuntime_1(FormControlContext$1.Provider, {
33051
32583
  value: null,
33052
32584
  children: /*#__PURE__*/jsxRuntime_1(InputAdornmentRoot, _extends({
@@ -33124,7 +32656,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33124
32656
  var inputLabelClasses$1 = inputLabelClasses;
33125
32657
 
33126
32658
  const _excluded$12 = ["disableAnimation", "margin", "shrink", "variant", "className"];
33127
- const useUtilityClasses$S = ownerState => {
32659
+ const useUtilityClasses$T = ownerState => {
33128
32660
  const {
33129
32661
  classes,
33130
32662
  formControl,
@@ -33242,7 +32774,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33242
32774
  variant: fcs.variant,
33243
32775
  required: fcs.required
33244
32776
  });
33245
- const classes = useUtilityClasses$S(ownerState);
32777
+ const classes = useUtilityClasses$T(ownerState);
33246
32778
  return /*#__PURE__*/jsxRuntime_1(InputLabelRoot, _extends({
33247
32779
  "data-shrink": shrink,
33248
32780
  ownerState: ownerState,
@@ -33384,7 +32916,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33384
32916
  background-position: -200px -23px;
33385
32917
  }
33386
32918
  `));
33387
- const useUtilityClasses$R = ownerState => {
32919
+ const useUtilityClasses$S = ownerState => {
33388
32920
  const {
33389
32921
  classes,
33390
32922
  variant,
@@ -33566,7 +33098,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33566
33098
  color,
33567
33099
  variant
33568
33100
  });
33569
- const classes = useUtilityClasses$R(ownerState);
33101
+ const classes = useUtilityClasses$S(ownerState);
33570
33102
  const theme = useTheme();
33571
33103
  const rootProps = {};
33572
33104
  const inlineStyles = {
@@ -33693,7 +33225,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33693
33225
  var getTextDecoration$1 = getTextDecoration;
33694
33226
 
33695
33227
  const _excluded$10 = ["className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant", "sx"];
33696
- const useUtilityClasses$Q = ownerState => {
33228
+ const useUtilityClasses$R = ownerState => {
33697
33229
  const {
33698
33230
  classes,
33699
33231
  component,
@@ -33815,7 +33347,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33815
33347
  underline,
33816
33348
  variant
33817
33349
  });
33818
- const classes = useUtilityClasses$Q(ownerState);
33350
+ const classes = useUtilityClasses$R(ownerState);
33819
33351
  return /*#__PURE__*/jsxRuntime_1(LinkRoot, _extends({
33820
33352
  color: color,
33821
33353
  className: clsx(classes.root, className),
@@ -33903,7 +33435,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33903
33435
  var listClasses$1 = listClasses;
33904
33436
 
33905
33437
  const _excluded$$ = ["children", "className", "component", "dense", "disablePadding", "subheader"];
33906
- const useUtilityClasses$P = ownerState => {
33438
+ const useUtilityClasses$Q = ownerState => {
33907
33439
  const {
33908
33440
  classes,
33909
33441
  disablePadding,
@@ -33959,7 +33491,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33959
33491
  dense,
33960
33492
  disablePadding
33961
33493
  });
33962
- const classes = useUtilityClasses$P(ownerState);
33494
+ const classes = useUtilityClasses$Q(ownerState);
33963
33495
  return /*#__PURE__*/jsxRuntime_1(ListContext$1.Provider, {
33964
33496
  value: context,
33965
33497
  children: /*#__PURE__*/jsxRuntime_2(ListRoot, _extends({
@@ -34036,7 +33568,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34036
33568
  } = props;
34037
33569
  return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
34038
33570
  };
34039
- const useUtilityClasses$O = ownerState => {
33571
+ const useUtilityClasses$P = ownerState => {
34040
33572
  const {
34041
33573
  alignItems,
34042
33574
  classes,
@@ -34155,7 +33687,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34155
33687
  divider,
34156
33688
  selected
34157
33689
  });
34158
- const classes = useUtilityClasses$O(ownerState);
33690
+ const classes = useUtilityClasses$P(ownerState);
34159
33691
  const handleRef = useForkRef(listItemRef, ref);
34160
33692
  return /*#__PURE__*/jsxRuntime_1(ListContext$1.Provider, {
34161
33693
  value: childContext,
@@ -34259,7 +33791,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34259
33791
  var listItemSecondaryActionClasses$1 = listItemSecondaryActionClasses;
34260
33792
 
34261
33793
  const _excluded$Z = ["className"];
34262
- const useUtilityClasses$N = ownerState => {
33794
+ const useUtilityClasses$O = ownerState => {
34263
33795
  const {
34264
33796
  disableGutters,
34265
33797
  classes
@@ -34305,7 +33837,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34305
33837
  const ownerState = _extends({}, props, {
34306
33838
  disableGutters: context.disableGutters
34307
33839
  });
34308
- const classes = useUtilityClasses$N(ownerState);
33840
+ const classes = useUtilityClasses$O(ownerState);
34309
33841
  return /*#__PURE__*/jsxRuntime_1(ListItemSecondaryActionRoot, _extends({
34310
33842
  className: clsx(classes.root, className),
34311
33843
  ownerState: ownerState,
@@ -34345,7 +33877,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34345
33877
  } = props;
34346
33878
  return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.button && styles.button, ownerState.hasSecondaryAction && styles.secondaryAction];
34347
33879
  };
34348
- const useUtilityClasses$M = ownerState => {
33880
+ const useUtilityClasses$N = ownerState => {
34349
33881
  const {
34350
33882
  alignItems,
34351
33883
  button,
@@ -34513,7 +34045,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34513
34045
  hasSecondaryAction,
34514
34046
  selected
34515
34047
  });
34516
- const classes = useUtilityClasses$M(ownerState);
34048
+ const classes = useUtilityClasses$N(ownerState);
34517
34049
  const handleRef = useForkRef(listItemRef, ref);
34518
34050
  const Root = slots.root || components.Root || ListItemRoot;
34519
34051
  const rootProps = slotProps.root || componentsProps.root || {};
@@ -34743,7 +34275,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34743
34275
  var listItemAvatarClasses$1 = listItemAvatarClasses;
34744
34276
 
34745
34277
  const _excluded$X = ["className"];
34746
- const useUtilityClasses$L = ownerState => {
34278
+ const useUtilityClasses$M = ownerState => {
34747
34279
  const {
34748
34280
  alignItems,
34749
34281
  classes
@@ -34787,7 +34319,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34787
34319
  const ownerState = _extends({}, props, {
34788
34320
  alignItems: context.alignItems
34789
34321
  });
34790
- const classes = useUtilityClasses$L(ownerState);
34322
+ const classes = useUtilityClasses$M(ownerState);
34791
34323
  return /*#__PURE__*/jsxRuntime_1(ListItemAvatarRoot, _extends({
34792
34324
  className: clsx(classes.root, className),
34793
34325
  ownerState: ownerState,
@@ -34825,7 +34357,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34825
34357
  var listItemIconClasses$1 = listItemIconClasses;
34826
34358
 
34827
34359
  const _excluded$W = ["className"];
34828
- const useUtilityClasses$K = ownerState => {
34360
+ const useUtilityClasses$L = ownerState => {
34829
34361
  const {
34830
34362
  alignItems,
34831
34363
  classes
@@ -34872,7 +34404,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34872
34404
  const ownerState = _extends({}, props, {
34873
34405
  alignItems: context.alignItems
34874
34406
  });
34875
- const classes = useUtilityClasses$K(ownerState);
34407
+ const classes = useUtilityClasses$L(ownerState);
34876
34408
  return /*#__PURE__*/jsxRuntime_1(ListItemIconRoot, _extends({
34877
34409
  className: clsx(classes.root, className),
34878
34410
  ownerState: ownerState,
@@ -34911,7 +34443,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34911
34443
  var listItemTextClasses$1 = listItemTextClasses;
34912
34444
 
34913
34445
  const _excluded$V = ["children", "className", "disableTypography", "inset", "primary", "primaryTypographyProps", "secondary", "secondaryTypographyProps"];
34914
- const useUtilityClasses$J = ownerState => {
34446
+ const useUtilityClasses$K = ownerState => {
34915
34447
  const {
34916
34448
  classes,
34917
34449
  inset,
@@ -34980,7 +34512,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34980
34512
  secondary: !!secondary,
34981
34513
  dense
34982
34514
  });
34983
- const classes = useUtilityClasses$J(ownerState);
34515
+ const classes = useUtilityClasses$K(ownerState);
34984
34516
  if (primary != null && primary.type !== Typography$1 && !disableTypography) {
34985
34517
  primary = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
34986
34518
  variant: dense ? 'body2' : 'body1',
@@ -35357,7 +34889,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35357
34889
  function resolveAnchorEl(anchorEl) {
35358
34890
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
35359
34891
  }
35360
- const useUtilityClasses$I = ownerState => {
34892
+ const useUtilityClasses$J = ownerState => {
35361
34893
  const {
35362
34894
  classes
35363
34895
  } = ownerState;
@@ -35435,7 +34967,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35435
34967
  transitionDuration: transitionDurationProp,
35436
34968
  TransitionProps
35437
34969
  });
35438
- const classes = useUtilityClasses$I(ownerState);
34970
+ const classes = useUtilityClasses$J(ownerState);
35439
34971
 
35440
34972
  // Returns the top/left offset of the position
35441
34973
  // to attach to on the anchor element (or body if none is provided)
@@ -35792,7 +35324,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35792
35324
  vertical: 'top',
35793
35325
  horizontal: 'left'
35794
35326
  };
35795
- const useUtilityClasses$H = ownerState => {
35327
+ const useUtilityClasses$I = ownerState => {
35796
35328
  const {
35797
35329
  classes
35798
35330
  } = ownerState;
@@ -35863,7 +35395,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35863
35395
  TransitionProps,
35864
35396
  variant
35865
35397
  });
35866
- const classes = useUtilityClasses$H(ownerState);
35398
+ const classes = useUtilityClasses$I(ownerState);
35867
35399
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
35868
35400
  const menuListActionsRef = React__namespace.useRef(null);
35869
35401
  const handleEntering = (element, isAppearing) => {
@@ -36043,7 +35575,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36043
35575
  } = props;
36044
35576
  return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
36045
35577
  };
36046
- const useUtilityClasses$G = ownerState => {
35578
+ const useUtilityClasses$H = ownerState => {
36047
35579
  const {
36048
35580
  disabled,
36049
35581
  dense,
@@ -36179,7 +35711,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36179
35711
  divider,
36180
35712
  disableGutters
36181
35713
  });
36182
- const classes = useUtilityClasses$G(props);
35714
+ const classes = useUtilityClasses$H(props);
36183
35715
  const handleRef = useForkRef(menuItemRef, ref);
36184
35716
  let tabIndex;
36185
35717
  if (!props.disabled) {
@@ -36262,7 +35794,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36262
35794
  */
36263
35795
  role: PropTypes /* @typescript-to-proptypes-ignore */.string,
36264
35796
  /**
36265
- * @ignore
35797
+ * If `true`, the component is selected.
35798
+ * @default false
36266
35799
  */
36267
35800
  selected: PropTypes.bool,
36268
35801
  /**
@@ -36283,7 +35816,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36283
35816
  var mobileStepperClasses$1 = mobileStepperClasses;
36284
35817
 
36285
35818
  const _excluded$Q = ["activeStep", "backButton", "className", "LinearProgressProps", "nextButton", "position", "steps", "variant"];
36286
- const useUtilityClasses$F = ownerState => {
35819
+ const useUtilityClasses$G = ownerState => {
36287
35820
  const {
36288
35821
  classes,
36289
35822
  position
@@ -36395,7 +35928,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36395
35928
  position,
36396
35929
  variant
36397
35930
  });
36398
- const classes = useUtilityClasses$F(ownerState);
35931
+ const classes = useUtilityClasses$G(ownerState);
36399
35932
  return /*#__PURE__*/jsxRuntime_2(MobileStepperRoot, _extends({
36400
35933
  square: true,
36401
35934
  elevation: 0,
@@ -36480,7 +36013,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36480
36013
  var nativeSelectClasses$1 = nativeSelectClasses;
36481
36014
 
36482
36015
  const _excluded$P = ["className", "disabled", "IconComponent", "inputRef", "variant"];
36483
- const useUtilityClasses$E = ownerState => {
36016
+ const useUtilityClasses$F = ownerState => {
36484
36017
  const {
36485
36018
  classes,
36486
36019
  variant,
@@ -36611,7 +36144,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36611
36144
  disabled,
36612
36145
  variant
36613
36146
  });
36614
- const classes = useUtilityClasses$E(ownerState);
36147
+ const classes = useUtilityClasses$F(ownerState);
36615
36148
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
36616
36149
  children: [/*#__PURE__*/jsxRuntime_1(NativeSelectSelect, _extends({
36617
36150
  ownerState: ownerState,
@@ -36681,7 +36214,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36681
36214
 
36682
36215
  const _excluded$O = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
36683
36216
  _excluded2$4 = ["root"];
36684
- const useUtilityClasses$D = ownerState => {
36217
+ const useUtilityClasses$E = ownerState => {
36685
36218
  const {
36686
36219
  classes
36687
36220
  } = ownerState;
@@ -36717,7 +36250,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36717
36250
  const ownerState = _extends({}, props, {
36718
36251
  classes: classesProp
36719
36252
  });
36720
- const classes = useUtilityClasses$D(ownerState);
36253
+ const classes = useUtilityClasses$E(ownerState);
36721
36254
  const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
36722
36255
  return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
36723
36256
  children: /*#__PURE__*/React__namespace.cloneElement(input, _extends({
@@ -36919,7 +36452,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36919
36452
  } ;
36920
36453
 
36921
36454
  const _excluded$M = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
36922
- const useUtilityClasses$C = ownerState => {
36455
+ const useUtilityClasses$D = ownerState => {
36923
36456
  const {
36924
36457
  classes
36925
36458
  } = ownerState;
@@ -37038,7 +36571,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37038
36571
  type = 'text'
37039
36572
  } = props,
37040
36573
  other = _objectWithoutPropertiesLoose(props, _excluded$M);
37041
- const classes = useUtilityClasses$C(props);
36574
+ const classes = useUtilityClasses$D(props);
37042
36575
  const muiFormControl = useFormControl();
37043
36576
  const fcs = formControlState({
37044
36577
  props,
@@ -37398,7 +36931,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37398
36931
  } = props;
37399
36932
  return [styles.root, styles[ownerState.variant], styles[`size${capitalize(ownerState.size)}`], ownerState.variant === 'text' && styles[`text${capitalize(ownerState.color)}`], ownerState.variant === 'outlined' && styles[`outlined${capitalize(ownerState.color)}`], ownerState.shape === 'rounded' && styles.rounded, ownerState.type === 'page' && styles.page, (ownerState.type === 'start-ellipsis' || ownerState.type === 'end-ellipsis') && styles.ellipsis, (ownerState.type === 'previous' || ownerState.type === 'next') && styles.previousNext, (ownerState.type === 'first' || ownerState.type === 'last') && styles.firstLast];
37400
36933
  };
37401
- const useUtilityClasses$B = ownerState => {
36934
+ const useUtilityClasses$C = ownerState => {
37402
36935
  const {
37403
36936
  classes,
37404
36937
  color,
@@ -37607,7 +37140,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37607
37140
  variant
37608
37141
  });
37609
37142
  const theme = useTheme();
37610
- const classes = useUtilityClasses$B(ownerState);
37143
+ const classes = useUtilityClasses$C(ownerState);
37611
37144
  const normalizedIcons = theme.direction === 'rtl' ? {
37612
37145
  previous: slots.next || components.next || NavigateNextIcon,
37613
37146
  next: slots.previous || components.previous || NavigateBeforeIcon,
@@ -37737,7 +37270,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37737
37270
  var PaginationItem$1 = PaginationItem;
37738
37271
 
37739
37272
  const _excluded$J = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"];
37740
- const useUtilityClasses$A = ownerState => {
37273
+ const useUtilityClasses$B = ownerState => {
37741
37274
  const {
37742
37275
  classes,
37743
37276
  variant
@@ -37822,7 +37355,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37822
37355
  size,
37823
37356
  variant
37824
37357
  });
37825
- const classes = useUtilityClasses$A(ownerState);
37358
+ const classes = useUtilityClasses$B(ownerState);
37826
37359
  return /*#__PURE__*/jsxRuntime_1(PaginationRoot, _extends({
37827
37360
  "aria-label": "pagination navigation",
37828
37361
  className: clsx(classes.root, className),
@@ -38061,7 +37594,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38061
37594
  var radioClasses$1 = radioClasses;
38062
37595
 
38063
37596
  const _excluded$I = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
38064
- const useUtilityClasses$z = ownerState => {
37597
+ const useUtilityClasses$A = ownerState => {
38065
37598
  const {
38066
37599
  classes,
38067
37600
  color
@@ -38136,7 +37669,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38136
37669
  color,
38137
37670
  size
38138
37671
  });
38139
- const classes = useUtilityClasses$z(ownerState);
37672
+ const classes = useUtilityClasses$A(ownerState);
38140
37673
  const radioGroup = useRadioGroup();
38141
37674
  let checked = checkedProp;
38142
37675
  const onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);
@@ -38374,7 +37907,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38374
37907
  const nearest = Math.round(value / precision) * precision;
38375
37908
  return Number(nearest.toFixed(getDecimalPrecision(precision)));
38376
37909
  }
38377
- const useUtilityClasses$y = ownerState => {
37910
+ const useUtilityClasses$z = ownerState => {
38378
37911
  const {
38379
37912
  classes,
38380
37913
  size,
@@ -38777,7 +38310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38777
38310
  readOnly,
38778
38311
  size
38779
38312
  });
38780
- const classes = useUtilityClasses$y(ownerState);
38313
+ const classes = useUtilityClasses$z(ownerState);
38781
38314
  return /*#__PURE__*/jsxRuntime_2(RatingRoot, _extends({
38782
38315
  ref: handleRef,
38783
38316
  onMouseMove: handleMouseMove,
@@ -38989,7 +38522,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38989
38522
  var scopedCssBaselineClasses$1 = scopedCssBaselineClasses;
38990
38523
 
38991
38524
  const _excluded$F = ["className", "component", "enableColorScheme"];
38992
- const useUtilityClasses$x = ownerState => {
38525
+ const useUtilityClasses$y = ownerState => {
38993
38526
  const {
38994
38527
  classes
38995
38528
  } = ownerState;
@@ -39037,7 +38570,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39037
38570
  const ownerState = _extends({}, props, {
39038
38571
  component
39039
38572
  });
39040
- const classes = useUtilityClasses$x(ownerState);
38573
+ const classes = useUtilityClasses$y(ownerState);
39041
38574
  return /*#__PURE__*/jsxRuntime_1(ScopedCssBaselineRoot, _extends({
39042
38575
  as: component,
39043
38576
  className: clsx(classes.root, className),
@@ -39152,7 +38685,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39152
38685
  function isEmpty(display) {
39153
38686
  return display == null || typeof display === 'string' && !display.trim();
39154
38687
  }
39155
- const useUtilityClasses$w = ownerState => {
38688
+ const useUtilityClasses$x = ownerState => {
39156
38689
  const {
39157
38690
  classes,
39158
38691
  variant,
@@ -39510,7 +39043,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39510
39043
  value,
39511
39044
  open
39512
39045
  });
39513
- const classes = useUtilityClasses$w(ownerState);
39046
+ const classes = useUtilityClasses$x(ownerState);
39514
39047
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
39515
39048
  children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
39516
39049
  ref: handleDisplayRef,
@@ -39725,7 +39258,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39725
39258
 
39726
39259
  var _StyledInput, _StyledFilledInput;
39727
39260
  const _excluded$D = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
39728
- const useUtilityClasses$v = ownerState => {
39261
+ const useUtilityClasses$w = ownerState => {
39729
39262
  const {
39730
39263
  classes
39731
39264
  } = ownerState;
@@ -39788,7 +39321,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39788
39321
  variant,
39789
39322
  classes: classesProp
39790
39323
  });
39791
- const classes = useUtilityClasses$v(ownerState);
39324
+ const classes = useUtilityClasses$w(ownerState);
39792
39325
  const inputComponentRef = useForkRef(ref, InputComponent.ref);
39793
39326
  return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
39794
39327
  children: /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
@@ -39992,7 +39525,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39992
39525
  _t2,
39993
39526
  _t3,
39994
39527
  _t4;
39995
- const useUtilityClasses$u = ownerState => {
39528
+ const useUtilityClasses$v = ownerState => {
39996
39529
  const {
39997
39530
  classes,
39998
39531
  variant,
@@ -40128,7 +39661,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40128
39661
  variant,
40129
39662
  hasChildren: Boolean(other.children)
40130
39663
  });
40131
- const classes = useUtilityClasses$u(ownerState);
39664
+ const classes = useUtilityClasses$v(ownerState);
40132
39665
  return /*#__PURE__*/jsxRuntime_1(SkeletonRoot, _extends({
40133
39666
  as: component,
40134
39667
  ref: ref,
@@ -40195,8 +39728,58 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40195
39728
  } ;
40196
39729
  var Skeleton$1 = Skeleton;
40197
39730
 
40198
- const _excluded$B = ["component", "components", "componentsProps", "color", "size", "slotProps", "slots"];
40199
39731
  const sliderClasses = _extends({}, sliderUnstyledClasses$1, generateUtilityClasses('MuiSlider', ['colorPrimary', 'colorSecondary', 'thumbColorPrimary', 'thumbColorSecondary', 'sizeSmall', 'thumbSizeSmall']));
39732
+ var sliderClasses$1 = sliderClasses;
39733
+
39734
+ const useValueLabelClasses = props => {
39735
+ const {
39736
+ open
39737
+ } = props;
39738
+ const utilityClasses = {
39739
+ offset: clsx(open && sliderClasses$1.valueLabelOpen),
39740
+ circle: sliderClasses$1.valueLabelCircle,
39741
+ label: sliderClasses$1.valueLabelLabel
39742
+ };
39743
+ return utilityClasses;
39744
+ };
39745
+
39746
+ /**
39747
+ * @ignore - internal component.
39748
+ */
39749
+ function SliderValueLabel$1(props) {
39750
+ const {
39751
+ children,
39752
+ className,
39753
+ value
39754
+ } = props;
39755
+ const classes = useValueLabelClasses(props);
39756
+ return /*#__PURE__*/React__namespace.cloneElement(children, {
39757
+ className: clsx(children.props.className)
39758
+ }, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
39759
+ children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
39760
+ className: clsx(classes.offset, className),
39761
+ "aria-hidden": true,
39762
+ children: /*#__PURE__*/jsxRuntime_1("span", {
39763
+ className: classes.circle,
39764
+ children: /*#__PURE__*/jsxRuntime_1("span", {
39765
+ className: classes.label,
39766
+ children: value
39767
+ })
39768
+ })
39769
+ })]
39770
+ }));
39771
+ }
39772
+ SliderValueLabel$1.propTypes = {
39773
+ children: PropTypes.element.isRequired,
39774
+ className: PropTypes.string,
39775
+ value: PropTypes.node
39776
+ } ;
39777
+
39778
+ const _excluded$B = ["aria-label", "aria-valuetext", "aria-labelledby", "component", "components", "componentsProps", "color", "classes", "className", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "orientation", "size", "step", "scale", "slotProps", "slots", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat"];
39779
+ const valueToPercent = (value, min, max) => (value - min) * 100 / (max - min);
39780
+ function Identity(x) {
39781
+ return x;
39782
+ }
40200
39783
  const SliderRoot = styled$1('span', {
40201
39784
  name: 'MuiSlider',
40202
39785
  slot: 'Root',
@@ -40248,13 +39831,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40248
39831
  '@media print': {
40249
39832
  colorAdjust: 'exact'
40250
39833
  },
40251
- [`&.${sliderClasses.disabled}`]: {
39834
+ [`&.${sliderClasses$1.disabled}`]: {
40252
39835
  pointerEvents: 'none',
40253
39836
  cursor: 'default',
40254
39837
  color: (theme.vars || theme).palette.grey[400]
40255
39838
  },
40256
- [`&.${sliderClasses.dragging}`]: {
40257
- [`& .${sliderClasses.thumb}, & .${sliderClasses.track}`]: {
39839
+ [`&.${sliderClasses$1.dragging}`]: {
39840
+ [`& .${sliderClasses$1.thumb}, & .${sliderClasses$1.track}`]: {
40258
39841
  transition: 'none'
40259
39842
  }
40260
39843
  }
@@ -40408,16 +39991,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40408
39991
  left: '50%',
40409
39992
  transform: 'translate(-50%, -50%)'
40410
39993
  },
40411
- [`&:hover, &.${sliderClasses.focusVisible}`]: {
39994
+ [`&:hover, &.${sliderClasses$1.focusVisible}`]: {
40412
39995
  boxShadow: `0px 0px 0px 8px ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.16)` : alpha(theme.palette[ownerState.color].main, 0.16)}`,
40413
39996
  '@media (hover: none)': {
40414
39997
  boxShadow: 'none'
40415
39998
  }
40416
39999
  },
40417
- [`&.${sliderClasses.active}`]: {
40000
+ [`&.${sliderClasses$1.active}`]: {
40418
40001
  boxShadow: `0px 0px 0px 14px ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.16)` : alpha(theme.palette[ownerState.color].main, 0.16)}`
40419
40002
  },
40420
- [`&.${sliderClasses.disabled}`]: {
40003
+ [`&.${sliderClasses$1.disabled}`]: {
40421
40004
  '&:hover': {
40422
40005
  boxShadow: 'none'
40423
40006
  }
@@ -40433,7 +40016,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40433
40016
  */
40434
40017
  children: PropTypes.node
40435
40018
  } ;
40436
- const SliderValueLabel = styled$1(SliderValueLabelUnstyled, {
40019
+ const SliderValueLabel = styled$1(SliderValueLabel$1, {
40437
40020
  name: 'MuiSlider',
40438
40021
  slot: 'ValueLabel',
40439
40022
  overridesResolver: (props, styles) => styles.valueLabel
@@ -40441,7 +40024,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40441
40024
  theme,
40442
40025
  ownerState
40443
40026
  }) => _extends({
40444
- [`&.${sliderClasses.valueLabelOpen}`]: {
40027
+ [`&.${sliderClasses$1.valueLabelOpen}`]: {
40445
40028
  transform: 'translateY(-100%) scale(1)'
40446
40029
  },
40447
40030
  zIndex: 1,
@@ -40579,19 +40162,38 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40579
40162
  */
40580
40163
  children: PropTypes.node
40581
40164
  } ;
40582
- const extendUtilityClasses = ownerState => {
40165
+ const useUtilityClasses$u = ownerState => {
40583
40166
  const {
40167
+ disabled,
40168
+ dragging,
40169
+ marked,
40170
+ orientation,
40171
+ track,
40172
+ classes,
40584
40173
  color,
40585
- size,
40586
- classes = {}
40174
+ size
40587
40175
  } = ownerState;
40588
- return _extends({}, classes, {
40589
- root: clsx(classes.root, getSliderUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`], size && [getSliderUtilityClass(`size${capitalize(size)}`), classes[`size${capitalize(size)}`]]),
40590
- thumb: clsx(classes.thumb, getSliderUtilityClass(`thumbColor${capitalize(color)}`), classes[`thumbColor${capitalize(color)}`], size && [getSliderUtilityClass(`thumbSize${capitalize(size)}`), classes[`thumbSize${capitalize(size)}`]])
40591
- });
40176
+ const slots = {
40177
+ root: ['root', disabled && 'disabled', dragging && 'dragging', marked && 'marked', orientation === 'vertical' && 'vertical', track === 'inverted' && 'trackInverted', track === false && 'trackFalse', color && `color${capitalize(color)}`, size && `size${capitalize(size)}`],
40178
+ rail: ['rail'],
40179
+ track: ['track'],
40180
+ mark: ['mark'],
40181
+ markActive: ['markActive'],
40182
+ markLabel: ['markLabel'],
40183
+ markLabelActive: ['markLabelActive'],
40184
+ valueLabel: ['valueLabel'],
40185
+ thumb: ['thumb', disabled && 'disabled', size && `thumbSize${capitalize(size)}`, color && `thumbColor${capitalize(color)}`],
40186
+ active: ['active'],
40187
+ disabled: ['disabled'],
40188
+ focusVisible: ['focusVisible']
40189
+ };
40190
+ return composeClasses(slots, getSliderUtilityClass, classes);
40592
40191
  };
40192
+ const Forward = ({
40193
+ children
40194
+ }) => children;
40593
40195
  const Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
40594
- var _ref, _slots$root, _ref2, _slots$rail, _ref3, _slots$track, _ref4, _slots$thumb, _ref5, _slots$valueLabel, _ref6, _slots$mark, _ref7, _slots$markLabel, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
40196
+ var _ref, _slots$root, _ref2, _slots$rail, _ref3, _slots$track, _ref4, _slots$thumb, _ref5, _slots$valueLabel, _ref6, _slots$mark, _ref7, _slots$markLabel, _ref8, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
40595
40197
  const props = useThemeProps({
40596
40198
  props: inputProps,
40597
40199
  name: 'MuiSlider'
@@ -40599,21 +40201,74 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40599
40201
  const theme = useTheme();
40600
40202
  const isRtl = theme.direction === 'rtl';
40601
40203
  const {
40204
+ 'aria-label': ariaLabel,
40205
+ 'aria-valuetext': ariaValuetext,
40206
+ 'aria-labelledby': ariaLabelledby,
40602
40207
  // eslint-disable-next-line react/prop-types
40603
40208
  component = 'span',
40604
40209
  components = {},
40605
40210
  componentsProps = {},
40606
40211
  color = 'primary',
40212
+ classes: classesProp,
40213
+ // eslint-disable-next-line react/prop-types
40214
+ className,
40215
+ disableSwap = false,
40216
+ disabled = false,
40217
+ getAriaLabel,
40218
+ getAriaValueText,
40219
+ marks: marksProp = false,
40220
+ max = 100,
40221
+ min = 0,
40222
+ orientation = 'horizontal',
40607
40223
  size = 'medium',
40224
+ step = 1,
40225
+ scale = Identity,
40608
40226
  slotProps,
40609
- slots
40227
+ slots,
40228
+ track = 'normal',
40229
+ valueLabelDisplay = 'off',
40230
+ valueLabelFormat = Identity
40610
40231
  } = props,
40611
40232
  other = _objectWithoutPropertiesLoose(props, _excluded$B);
40612
40233
  const ownerState = _extends({}, props, {
40234
+ isRtl,
40235
+ max,
40236
+ min,
40237
+ classes: classesProp,
40238
+ disabled,
40239
+ disableSwap,
40240
+ orientation,
40241
+ marks: marksProp,
40613
40242
  color,
40614
- size
40243
+ size,
40244
+ step,
40245
+ scale,
40246
+ track,
40247
+ valueLabelDisplay,
40248
+ valueLabelFormat
40615
40249
  });
40616
- const classes = extendUtilityClasses(ownerState);
40250
+ const {
40251
+ axisProps,
40252
+ getRootProps,
40253
+ getHiddenInputProps,
40254
+ getThumbProps,
40255
+ open,
40256
+ active,
40257
+ axis,
40258
+ focusedThumbIndex,
40259
+ range,
40260
+ dragging,
40261
+ marks,
40262
+ values,
40263
+ trackOffset,
40264
+ trackLeap
40265
+ } = useSlider(_extends({}, ownerState, {
40266
+ ref
40267
+ }));
40268
+ ownerState.marked = marks.length > 0 && marks.some(mark => mark.label);
40269
+ ownerState.dragging = dragging;
40270
+ ownerState.focusedThumbIndex = focusedThumbIndex;
40271
+ const classes = useUtilityClasses$u(ownerState);
40617
40272
 
40618
40273
  // support both `slots` and `components` for backward compatibility
40619
40274
  const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : SliderRoot;
@@ -40623,7 +40278,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40623
40278
  const ValueLabelSlot = (_ref5 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref5 : SliderValueLabel;
40624
40279
  const MarkSlot = (_ref6 = (_slots$mark = slots == null ? void 0 : slots.mark) != null ? _slots$mark : components.Mark) != null ? _ref6 : SliderMark;
40625
40280
  const MarkLabelSlot = (_ref7 = (_slots$markLabel = slots == null ? void 0 : slots.markLabel) != null ? _slots$markLabel : components.MarkLabel) != null ? _ref7 : SliderMarkLabel;
40626
- const InputSlot = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input;
40281
+ const InputSlot = (_ref8 = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input) != null ? _ref8 : 'input';
40627
40282
  const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
40628
40283
  const railSlotProps = (_slotProps$rail = slotProps == null ? void 0 : slotProps.rail) != null ? _slotProps$rail : componentsProps.rail;
40629
40284
  const trackSlotProps = (_slotProps$track = slotProps == null ? void 0 : slotProps.track) != null ? _slotProps$track : componentsProps.track;
@@ -40632,51 +40287,123 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40632
40287
  const markSlotProps = (_slotProps$mark = slotProps == null ? void 0 : slotProps.mark) != null ? _slotProps$mark : componentsProps.mark;
40633
40288
  const markLabelSlotProps = (_slotProps$markLabel = slotProps == null ? void 0 : slotProps.markLabel) != null ? _slotProps$markLabel : componentsProps.markLabel;
40634
40289
  const inputSlotProps = (_slotProps$input = slotProps == null ? void 0 : slotProps.input) != null ? _slotProps$input : componentsProps.input;
40635
- return /*#__PURE__*/jsxRuntime_1(SliderUnstyled$1, _extends({}, other, {
40636
- isRtl: isRtl,
40637
- slots: {
40638
- root: RootSlot,
40639
- rail: RailSlot,
40640
- track: TrackSlot,
40641
- thumb: ThumbSlot,
40642
- valueLabel: ValueLabelSlot,
40643
- mark: MarkSlot,
40644
- markLabel: MarkLabelSlot,
40645
- input: InputSlot
40646
- },
40647
- slotProps: _extends({}, componentsProps, {
40648
- root: _extends({}, rootSlotProps, shouldSpreadAdditionalProps$1(RootSlot) && {
40649
- as: component,
40650
- ownerState: _extends({}, rootSlotProps == null ? void 0 : rootSlotProps.ownerState, {
40651
- color,
40652
- size
40653
- })
40654
- }),
40655
- rail: railSlotProps,
40656
- thumb: _extends({}, thumbSlotProps, shouldSpreadAdditionalProps$1(ThumbSlot) && {
40657
- ownerState: _extends({}, thumbSlotProps == null ? void 0 : thumbSlotProps.ownerState, {
40658
- color,
40659
- size
40660
- })
40661
- }),
40662
- track: _extends({}, trackSlotProps, shouldSpreadAdditionalProps$1(TrackSlot) && {
40663
- ownerState: _extends({}, trackSlotProps == null ? void 0 : trackSlotProps.ownerState, {
40664
- color,
40665
- size
40666
- })
40667
- }),
40668
- valueLabel: _extends({}, valueLabelSlotProps, shouldSpreadAdditionalProps$1(ValueLabelSlot) && {
40669
- ownerState: _extends({}, valueLabelSlotProps == null ? void 0 : valueLabelSlotProps.ownerState, {
40670
- color,
40671
- size
40672
- })
40673
- }),
40674
- mark: markSlotProps,
40675
- markLabel: markLabelSlotProps,
40676
- input: inputSlotProps
40290
+ const rootProps = useSlotProps({
40291
+ elementType: RootSlot,
40292
+ getSlotProps: getRootProps,
40293
+ externalSlotProps: rootSlotProps,
40294
+ externalForwardedProps: other,
40295
+ additionalProps: _extends({}, shouldSpreadAdditionalProps$1(RootSlot) && {
40296
+ as: component
40677
40297
  }),
40678
- classes: classes,
40679
- ref: ref
40298
+ ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
40299
+ className: [classes.root, className]
40300
+ });
40301
+ const railProps = useSlotProps({
40302
+ elementType: RailSlot,
40303
+ externalSlotProps: railSlotProps,
40304
+ ownerState,
40305
+ className: classes.rail
40306
+ });
40307
+ const trackProps = useSlotProps({
40308
+ elementType: TrackSlot,
40309
+ externalSlotProps: trackSlotProps,
40310
+ additionalProps: {
40311
+ style: _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap))
40312
+ },
40313
+ ownerState: _extends({}, ownerState, trackSlotProps == null ? void 0 : trackSlotProps.ownerState),
40314
+ className: classes.track
40315
+ });
40316
+ const thumbProps = useSlotProps({
40317
+ elementType: ThumbSlot,
40318
+ getSlotProps: getThumbProps,
40319
+ externalSlotProps: thumbSlotProps,
40320
+ ownerState: _extends({}, ownerState, thumbSlotProps == null ? void 0 : thumbSlotProps.ownerState)
40321
+ });
40322
+ const valueLabelProps = useSlotProps({
40323
+ elementType: ValueLabelSlot,
40324
+ externalSlotProps: valueLabelSlotProps,
40325
+ ownerState: _extends({}, ownerState, valueLabelSlotProps == null ? void 0 : valueLabelSlotProps.ownerState),
40326
+ className: classes.valueLabel
40327
+ });
40328
+ const markProps = useSlotProps({
40329
+ elementType: MarkSlot,
40330
+ externalSlotProps: markSlotProps,
40331
+ ownerState,
40332
+ className: classes.mark
40333
+ });
40334
+ const markLabelProps = useSlotProps({
40335
+ elementType: MarkLabelSlot,
40336
+ externalSlotProps: markLabelSlotProps,
40337
+ ownerState
40338
+ });
40339
+ const inputSliderProps = useSlotProps({
40340
+ elementType: InputSlot,
40341
+ getSlotProps: getHiddenInputProps,
40342
+ externalSlotProps: inputSlotProps,
40343
+ ownerState
40344
+ });
40345
+ return /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
40346
+ children: [/*#__PURE__*/jsxRuntime_1(RailSlot, _extends({}, railProps)), /*#__PURE__*/jsxRuntime_1(TrackSlot, _extends({}, trackProps)), marks.filter(mark => mark.value >= min && mark.value <= max).map((mark, index) => {
40347
+ const percent = valueToPercent(mark.value, min, max);
40348
+ const style = axisProps[axis].offset(percent);
40349
+ let markActive;
40350
+ if (track === false) {
40351
+ markActive = values.indexOf(mark.value) !== -1;
40352
+ } else {
40353
+ markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);
40354
+ }
40355
+ return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
40356
+ children: [/*#__PURE__*/jsxRuntime_1(MarkSlot, _extends({
40357
+ "data-index": index
40358
+ }, markProps, !isHostComponent(MarkSlot) && {
40359
+ markActive
40360
+ }, {
40361
+ style: _extends({}, style, markProps.style),
40362
+ className: clsx(markProps.className, markActive && classes.markActive)
40363
+ })), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabelSlot, _extends({
40364
+ "aria-hidden": true,
40365
+ "data-index": index
40366
+ }, markLabelProps, !isHostComponent(MarkLabelSlot) && {
40367
+ markLabelActive: markActive
40368
+ }, {
40369
+ style: _extends({}, style, markLabelProps.style),
40370
+ className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
40371
+ children: mark.label
40372
+ })) : null]
40373
+ }, index);
40374
+ }), values.map((value, index) => {
40375
+ const percent = valueToPercent(value, min, max);
40376
+ const style = axisProps[axis].offset(percent);
40377
+ const ValueLabelComponent = valueLabelDisplay === 'off' ? Forward : ValueLabelSlot;
40378
+ return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
40379
+ children: /*#__PURE__*/jsxRuntime_1(ValueLabelComponent, _extends({}, !isHostComponent(ValueLabelComponent) && {
40380
+ valueLabelFormat,
40381
+ valueLabelDisplay,
40382
+ value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,
40383
+ index,
40384
+ open: open === index || active === index || valueLabelDisplay === 'on',
40385
+ disabled
40386
+ }, valueLabelProps, {
40387
+ children: /*#__PURE__*/jsxRuntime_1(ThumbSlot, _extends({
40388
+ "data-index": index,
40389
+ "data-focusvisible": focusedThumbIndex === index
40390
+ }, thumbProps, {
40391
+ className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
40392
+ style: _extends({}, style, {
40393
+ pointerEvents: disableSwap && active !== index ? 'none' : undefined
40394
+ }, thumbProps.style),
40395
+ children: /*#__PURE__*/jsxRuntime_1(InputSlot, _extends({
40396
+ "data-index": index,
40397
+ "aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
40398
+ "aria-valuenow": scale(value),
40399
+ "aria-labelledby": ariaLabelledby,
40400
+ "aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
40401
+ value: values[index]
40402
+ }, inputSliderProps))
40403
+ }))
40404
+ }))
40405
+ }, index);
40406
+ })]
40680
40407
  }));
40681
40408
  });
40682
40409
  Slider.propTypes /* remove-proptypes */ = {
@@ -40846,7 +40573,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40846
40573
  orientation: PropTypes.oneOf(['horizontal', 'vertical']),
40847
40574
  /**
40848
40575
  * A transformation function, to change the scale of the slider.
40849
- * @default (x) => x
40576
+ * @param {any} x
40577
+ * @returns {any}
40578
+ * @default function Identity(x) {
40579
+ * return x;
40580
+ * }
40850
40581
  */
40851
40582
  scale: PropTypes.func,
40852
40583
  /**
@@ -40937,7 +40668,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40937
40668
  *
40938
40669
  * - {number} value The value label's value to format
40939
40670
  * - {number} index The value label's index to format
40940
- * @default (x) => x
40671
+ * @param {any} x
40672
+ * @returns {any}
40673
+ * @default function Identity(x) {
40674
+ * return x;
40675
+ * }
40941
40676
  */
40942
40677
  valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
40943
40678
  } ;
@@ -42706,7 +42441,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
42706
42441
  }) => /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
42707
42442
  timeout: theme.transitions.duration.shorter
42708
42443
  }, TransitionPropsInner, transitionProps, {
42709
- "data-foo": "bar",
42710
42444
  children: /*#__PURE__*/jsxRuntime_2(TooltipComponent, _extends({}, tooltipProps, {
42711
42445
  children: [title, arrow ? /*#__PURE__*/jsxRuntime_1(ArrowComponent, _extends({}, tooltipArrowProps, {
42712
42446
  ref: setArrowRef
@@ -47772,7 +47506,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47772
47506
  }
47773
47507
  tabMeta = tab ? tab.getBoundingClientRect() : null;
47774
47508
  {
47775
- if (!warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0) {
47509
+ if (!warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0 &&
47510
+ // if the whole Tabs component is hidden, don't warn
47511
+ tabsMeta.clientWidth !== 0) {
47776
47512
  tabsMeta = null;
47777
47513
  console.error(['MUI: The `value` provided to the Tabs component is invalid.', `The Tab with this \`value\` ("${value}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join('\n'));
47778
47514
  warnedOnceTabPresent = true;
@@ -49476,7 +49212,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49476
49212
  exports.setRef = setRef;
49477
49213
  exports.shouldSkipGeneratingVar = shouldSkipGeneratingVar;
49478
49214
  exports.skeletonClasses = skeletonClasses$1;
49479
- exports.sliderClasses = sliderClasses;
49215
+ exports.sliderClasses = sliderClasses$1;
49480
49216
  exports.snackbarClasses = snackbarClasses$1;
49481
49217
  exports.snackbarContentClasses = snackbarContentClasses$1;
49482
49218
  exports.speedDialActionClasses = speedDialActionClasses$1;