@mui/material 5.11.4 → 5.11.6

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 (53) hide show
  1. package/Autocomplete/Autocomplete.d.ts +3 -3
  2. package/Box/Box.d.ts +6 -22
  3. package/Button/Button.js +0 -2
  4. package/CHANGELOG.md +132 -0
  5. package/Slider/Slider.d.ts +215 -36
  6. package/Slider/Slider.js +225 -66
  7. package/Slider/SliderValueLabel.d.ts +15 -0
  8. package/Slider/SliderValueLabel.js +52 -0
  9. package/Slider/SliderValueLabel.types.d.ts +24 -0
  10. package/Slider/SliderValueLabel.types.js +1 -0
  11. package/Slider/index.d.ts +3 -0
  12. package/Slider/index.js +3 -1
  13. package/Slider/sliderClasses.d.ts +58 -0
  14. package/Slider/sliderClasses.js +7 -0
  15. package/SwipeableDrawer/SwipeableDrawer.d.ts +15 -0
  16. package/SwipeableDrawer/SwipeableDrawer.js +48 -17
  17. package/index.js +1 -1
  18. package/legacy/Button/Button.js +0 -2
  19. package/legacy/Slider/Slider.js +253 -74
  20. package/legacy/Slider/SliderValueLabel.js +48 -0
  21. package/legacy/Slider/SliderValueLabel.types.js +1 -0
  22. package/legacy/Slider/index.js +3 -1
  23. package/legacy/Slider/sliderClasses.js +7 -0
  24. package/legacy/SwipeableDrawer/SwipeableDrawer.js +50 -17
  25. package/legacy/index.js +1 -1
  26. package/legacy/locale/index.js +230 -144
  27. package/legacy/styles/experimental_extendTheme.js +16 -8
  28. package/locale/index.d.ts +1 -0
  29. package/locale/index.js +85 -0
  30. package/modern/Button/Button.js +0 -2
  31. package/modern/Slider/Slider.js +224 -65
  32. package/modern/Slider/SliderValueLabel.js +52 -0
  33. package/modern/Slider/SliderValueLabel.types.js +1 -0
  34. package/modern/Slider/index.js +3 -1
  35. package/modern/Slider/sliderClasses.js +7 -0
  36. package/modern/SwipeableDrawer/SwipeableDrawer.js +47 -17
  37. package/modern/index.js +1 -1
  38. package/modern/locale/index.js +85 -0
  39. package/modern/styles/experimental_extendTheme.js +16 -8
  40. package/node/Button/Button.js +0 -2
  41. package/node/Slider/Slider.js +231 -74
  42. package/node/Slider/SliderValueLabel.js +60 -0
  43. package/node/Slider/SliderValueLabel.types.js +5 -0
  44. package/node/Slider/index.js +21 -1
  45. package/node/Slider/sliderClasses.js +16 -0
  46. package/node/SwipeableDrawer/SwipeableDrawer.js +48 -17
  47. package/node/index.js +1 -1
  48. package/node/locale/index.js +87 -1
  49. package/node/styles/experimental_extendTheme.js +16 -8
  50. package/package.json +4 -4
  51. package/styles/experimental_extendTheme.js +16 -8
  52. package/umd/material-ui.development.js +556 -799
  53. package/umd/material-ui.production.min.js +21 -21
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.11.4
2
+ * @mui/material v5.11.6
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -6847,7 +6847,7 @@
6847
6847
  styleFunctionSx.filterProps = ['sx'];
6848
6848
  var styleFunctionSx$1 = styleFunctionSx;
6849
6849
 
6850
- const _excluded$2o = ["sx"];
6850
+ const _excluded$2n = ["sx"];
6851
6851
  const splitProps = props => {
6852
6852
  var _props$theme$unstable, _props$theme;
6853
6853
  const result = {
@@ -6868,7 +6868,7 @@
6868
6868
  const {
6869
6869
  sx: inSx
6870
6870
  } = props,
6871
- other = _objectWithoutPropertiesLoose(props, _excluded$2o);
6871
+ other = _objectWithoutPropertiesLoose(props, _excluded$2n);
6872
6872
  const {
6873
6873
  systemProps,
6874
6874
  otherProps
@@ -6894,7 +6894,7 @@
6894
6894
 
6895
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}
6896
6896
 
6897
- const _excluded$2n = ["values", "unit", "step"];
6897
+ const _excluded$2m = ["values", "unit", "step"];
6898
6898
  const sortBreakpointsValues = values => {
6899
6899
  const breakpointsAsArray = Object.keys(values).map(key => ({
6900
6900
  key,
@@ -6929,7 +6929,7 @@
6929
6929
  unit = 'px',
6930
6930
  step = 5
6931
6931
  } = breakpoints,
6932
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2n);
6932
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2m);
6933
6933
  const sortedValues = sortBreakpointsValues(values);
6934
6934
  const keys = Object.keys(sortedValues);
6935
6935
  function up(key) {
@@ -7008,7 +7008,7 @@
7008
7008
  return spacing;
7009
7009
  }
7010
7010
 
7011
- const _excluded$2m = ["breakpoints", "palette", "spacing", "shape"];
7011
+ const _excluded$2l = ["breakpoints", "palette", "spacing", "shape"];
7012
7012
  function createTheme$1(options = {}, ...args) {
7013
7013
  const {
7014
7014
  breakpoints: breakpointsInput = {},
@@ -7016,7 +7016,7 @@
7016
7016
  spacing: spacingInput,
7017
7017
  shape: shapeInput = {}
7018
7018
  } = options,
7019
- other = _objectWithoutPropertiesLoose(options, _excluded$2m);
7019
+ other = _objectWithoutPropertiesLoose(options, _excluded$2l);
7020
7020
  const breakpoints = createBreakpoints(breakpointsInput);
7021
7021
  const spacing = createSpacing(spacingInput);
7022
7022
  let muiTheme = deepmerge({
@@ -7127,7 +7127,7 @@
7127
7127
  return useTheme$2(defaultTheme);
7128
7128
  }
7129
7129
 
7130
- const _excluded$2l = ["className", "component"];
7130
+ const _excluded$2k = ["className", "component"];
7131
7131
  function createBox(options = {}) {
7132
7132
  const {
7133
7133
  defaultTheme,
@@ -7144,7 +7144,7 @@
7144
7144
  className,
7145
7145
  component = 'div'
7146
7146
  } = _extendSxProp,
7147
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2l);
7147
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2k);
7148
7148
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
7149
7149
  as: component,
7150
7150
  ref: ref,
@@ -7155,7 +7155,7 @@
7155
7155
  return Box;
7156
7156
  }
7157
7157
 
7158
- const _excluded$2k = ["variant"];
7158
+ const _excluded$2j = ["variant"];
7159
7159
  function isEmpty$3(string) {
7160
7160
  return string.length === 0;
7161
7161
  }
@@ -7169,7 +7169,7 @@
7169
7169
  const {
7170
7170
  variant
7171
7171
  } = props,
7172
- other = _objectWithoutPropertiesLoose(props, _excluded$2k);
7172
+ other = _objectWithoutPropertiesLoose(props, _excluded$2j);
7173
7173
  let classKey = variant || '';
7174
7174
  Object.keys(other).sort().forEach(key => {
7175
7175
  if (key === 'color') {
@@ -7181,7 +7181,7 @@
7181
7181
  return classKey;
7182
7182
  }
7183
7183
 
7184
- const _excluded$2j = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
7184
+ const _excluded$2i = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
7185
7185
  _excluded2$c = ["theme"],
7186
7186
  _excluded3$1 = ["theme"];
7187
7187
  function isEmpty$2(obj) {
@@ -7268,7 +7268,7 @@
7268
7268
  skipSx: inputSkipSx,
7269
7269
  overridesResolver
7270
7270
  } = inputOptions,
7271
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2j);
7271
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2i);
7272
7272
 
7273
7273
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
7274
7274
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -8165,7 +8165,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8165
8165
  });
8166
8166
  }
8167
8167
 
8168
- const _excluded$2i = ["colorSchemes", "components", "cssVarPrefix"];
8168
+ const _excluded$2h = ["colorSchemes", "components", "cssVarPrefix"];
8169
8169
  const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
8170
8170
  function createCssVarsProvider(options) {
8171
8171
  const {
@@ -8217,7 +8217,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8217
8217
  components = {},
8218
8218
  cssVarPrefix
8219
8219
  } = themeProp,
8220
- restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2i);
8220
+ restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2h);
8221
8221
  const allColorSchemes = Object.keys(colorSchemes);
8222
8222
  const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
8223
8223
  const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
@@ -8515,7 +8515,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8515
8515
  return getCssVar;
8516
8516
  }
8517
8517
 
8518
- const _excluded$2h = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8518
+ const _excluded$2g = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8519
8519
  const defaultTheme$5 = createTheme$1();
8520
8520
  const defaultCreateStyledComponent$1 = systemStyled('div', {
8521
8521
  name: 'MuiContainer',
@@ -8611,7 +8611,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8611
8611
  fixed = false,
8612
8612
  maxWidth = 'lg'
8613
8613
  } = props,
8614
- other = _objectWithoutPropertiesLoose(props, _excluded$2h);
8614
+ other = _objectWithoutPropertiesLoose(props, _excluded$2g);
8615
8615
  const ownerState = _extends({}, props, {
8616
8616
  component,
8617
8617
  disableGutters,
@@ -8876,7 +8876,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8876
8876
  return [`direction-xs-${String(direction)}`];
8877
8877
  };
8878
8878
 
8879
- 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"];
8880
8880
  const defaultTheme$4 = createTheme$1();
8881
8881
 
8882
8882
  // widening Theme to any so that the consumer can own the theme structure.
@@ -8934,7 +8934,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8934
8934
  columnSpacing: columnSpacingProp = spacingProp,
8935
8935
  disableEqualOverflow: themeDisableEqualOverflow
8936
8936
  } = props,
8937
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
8937
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
8938
8938
  // Because `disableEqualOverflow` can be set from the theme's defaultProps, the **nested** grid should look at the instance props instead.
8939
8939
  let disableEqualOverflow = themeDisableEqualOverflow;
8940
8940
  if (nested && themeDisableEqualOverflow !== undefined) {
@@ -9024,7 +9024,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9024
9024
  return Grid;
9025
9025
  }
9026
9026
 
9027
- const _excluded$2f = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
9027
+ const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
9028
9028
  _excluded2$b = ["type", "mode"];
9029
9029
  function adaptV4Theme(inputTheme) {
9030
9030
  {
@@ -9038,7 +9038,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9038
9038
  props = {},
9039
9039
  styleOverrides = {}
9040
9040
  } = inputTheme,
9041
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2f);
9041
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2e);
9042
9042
  const theme = _extends({}, other, {
9043
9043
  components: {}
9044
9044
  });
@@ -9119,7 +9119,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9119
9119
  }, mixins);
9120
9120
  }
9121
9121
 
9122
- const _excluded$2e = ["mode", "contrastThreshold", "tonalOffset"];
9122
+ const _excluded$2d = ["mode", "contrastThreshold", "tonalOffset"];
9123
9123
  const light = {
9124
9124
  // The colors used to style the text.
9125
9125
  text: {
@@ -9288,7 +9288,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9288
9288
  contrastThreshold = 3,
9289
9289
  tonalOffset = 0.2
9290
9290
  } = palette,
9291
- other = _objectWithoutPropertiesLoose(palette, _excluded$2e);
9291
+ other = _objectWithoutPropertiesLoose(palette, _excluded$2d);
9292
9292
  const primary = palette.primary || getDefaultPrimary(mode);
9293
9293
  const secondary = palette.secondary || getDefaultSecondary(mode);
9294
9294
  const error = palette.error || getDefaultError(mode);
@@ -9412,7 +9412,7 @@ const theme2 = createTheme({ palette: {
9412
9412
  return paletteOutput;
9413
9413
  }
9414
9414
 
9415
- 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"];
9416
9416
  function round$2(value) {
9417
9417
  return Math.round(value * 1e5) / 1e5;
9418
9418
  }
@@ -9443,7 +9443,7 @@ const theme2 = createTheme({ palette: {
9443
9443
  allVariants,
9444
9444
  pxToRem: pxToRem2
9445
9445
  } = _ref,
9446
- other = _objectWithoutPropertiesLoose(_ref, _excluded$2d);
9446
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$2c);
9447
9447
  {
9448
9448
  if (typeof fontSize !== 'number') {
9449
9449
  console.error('MUI: `fontSize` is required to be a number.');
@@ -9503,7 +9503,7 @@ const theme2 = createTheme({ palette: {
9503
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)];
9504
9504
  var shadows$1 = shadows;
9505
9505
 
9506
- const _excluded$2c = ["duration", "easing", "delay"];
9506
+ const _excluded$2b = ["duration", "easing", "delay"];
9507
9507
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
9508
9508
  // to learn the context in which each easing should be used.
9509
9509
  const easing = {
@@ -9554,7 +9554,7 @@ const theme2 = createTheme({ palette: {
9554
9554
  easing: easingOption = mergedEasing.easeInOut,
9555
9555
  delay = 0
9556
9556
  } = options,
9557
- other = _objectWithoutPropertiesLoose(options, _excluded$2c);
9557
+ other = _objectWithoutPropertiesLoose(options, _excluded$2b);
9558
9558
  {
9559
9559
  const isString = value => typeof value === 'string';
9560
9560
  // IE11 support, replace with Number.isNaN
@@ -9601,7 +9601,7 @@ const theme2 = createTheme({ palette: {
9601
9601
  };
9602
9602
  var zIndex$1 = zIndex;
9603
9603
 
9604
- const _excluded$2b = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9604
+ const _excluded$2a = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9605
9605
  function createTheme(options = {}, ...args) {
9606
9606
  const {
9607
9607
  mixins: mixinsInput = {},
@@ -9609,7 +9609,7 @@ const theme2 = createTheme({ palette: {
9609
9609
  transitions: transitionsInput = {},
9610
9610
  typography: typographyInput = {}
9611
9611
  } = options,
9612
- other = _objectWithoutPropertiesLoose(options, _excluded$2b);
9612
+ other = _objectWithoutPropertiesLoose(options, _excluded$2a);
9613
9613
  if (options.vars) {
9614
9614
  throw new Error(`MUI: \`vars\` is a private field used for CSS variables support.
9615
9615
  Please use another name.` );
@@ -9937,7 +9937,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9937
9937
  };
9938
9938
  var getOverlayAlpha$1 = getOverlayAlpha;
9939
9939
 
9940
- const _excluded$2a = ["colorSchemes", "cssVarPrefix"],
9940
+ const _excluded$29 = ["colorSchemes", "cssVarPrefix"],
9941
9941
  _excluded2$a = ["palette"];
9942
9942
  const defaultDarkOverlays = [...Array(25)].map((_, index) => {
9943
9943
  if (index === 0) {
@@ -9958,6 +9958,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9958
9958
  obj[key] = defaultValue;
9959
9959
  }
9960
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
+ }
9961
9968
  const silent = fn => {
9962
9969
  try {
9963
9970
  return fn();
@@ -9973,7 +9980,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9973
9980
  colorSchemes: colorSchemesInput = {},
9974
9981
  cssVarPrefix = 'mui'
9975
9982
  } = options,
9976
- input = _objectWithoutPropertiesLoose(options, _excluded$2a);
9983
+ input = _objectWithoutPropertiesLoose(options, _excluded$29);
9977
9984
  const getCssVar = createGetCssVar(cssVarPrefix);
9978
9985
  const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
9979
9986
  palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
@@ -10148,11 +10155,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10148
10155
  setColor(palette.TableCell, 'border', private_safeDarken(private_safeAlpha(palette.divider, 1), 0.68));
10149
10156
  setColor(palette.Tooltip, 'bg', private_safeAlpha(palette.grey[700], 0.92));
10150
10157
  }
10151
- 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.
10152
10158
 
10153
- 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().'));
10154
- 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().'));
10155
- 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');
10156
10164
  Object.keys(palette).forEach(color => {
10157
10165
  const colors = palette[color];
10158
10166
 
@@ -10174,16 +10182,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10174
10182
  }
10175
10183
  if (color === 'text') {
10176
10184
  // Text colors: text.primary, text.secondary
10177
- 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().'));
10178
- 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');
10179
10187
  }
10180
10188
  if (color === 'action') {
10181
10189
  // Action colors: action.active, action.selected
10182
10190
  if (colors.active) {
10183
- 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');
10184
10192
  }
10185
10193
  if (colors.selected) {
10186
- 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');
10187
10195
  }
10188
10196
  }
10189
10197
  }
@@ -10388,7 +10396,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10388
10396
  };
10389
10397
  }
10390
10398
 
10391
- const _excluded$29 = ["elementType", "externalSlotProps", "ownerState"];
10399
+ const _excluded$28 = ["elementType", "externalSlotProps", "ownerState"];
10392
10400
  /**
10393
10401
  * Builds the props to be passed into the slot of an unstyled component.
10394
10402
  * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.
@@ -10403,7 +10411,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10403
10411
  externalSlotProps,
10404
10412
  ownerState
10405
10413
  } = parameters,
10406
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$29);
10414
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$28);
10407
10415
  const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
10408
10416
  const {
10409
10417
  props: mergedProps,
@@ -10468,7 +10476,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10468
10476
  }
10469
10477
  const defaultFilterOptions = createFilterOptions();
10470
10478
 
10471
- // 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.
10472
10480
  const pageSize = 5;
10473
10481
  const defaultIsActiveElementInListbox = listboxRef => {
10474
10482
  var _listboxRef$current$p;
@@ -10854,7 +10862,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10854
10862
  if (inputRef.current && inputRef.current.nodeName === 'TEXTAREA') {
10855
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'));
10856
10864
  } else {
10857
- 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'));
10858
10866
  }
10859
10867
  }
10860
10868
  }, [componentName]);
@@ -11377,7 +11385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11377
11385
  }
11378
11386
  generateUtilityClasses('MuiBadge', ['root', 'badge', 'invisible']);
11379
11387
 
11380
- const _excluded$28 = ["badgeContent", "component", "children", "invisible", "max", "slotProps", "slots", "showZero"];
11388
+ const _excluded$27 = ["badgeContent", "component", "children", "invisible", "max", "slotProps", "slots", "showZero"];
11381
11389
  const useUtilityClasses$1P = ownerState => {
11382
11390
  const {
11383
11391
  invisible
@@ -11407,7 +11415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11407
11415
  slots = {},
11408
11416
  showZero = false
11409
11417
  } = props,
11410
- other = _objectWithoutPropertiesLoose(props, _excluded$28);
11418
+ other = _objectWithoutPropertiesLoose(props, _excluded$27);
11411
11419
  const {
11412
11420
  badgeContent,
11413
11421
  max,
@@ -11868,7 +11876,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11868
11876
  }
11869
11877
 
11870
11878
  // Make sure the next tab starts from the right place.
11871
- // doc.activeElement referes to the origin.
11879
+ // doc.activeElement refers to the origin.
11872
11880
  if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {
11873
11881
  // We need to ignore the next contain as
11874
11882
  // it will try to move the focus back to the rootRef element.
@@ -14053,7 +14061,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14053
14061
  }
14054
14062
  generateUtilityClasses('MuiPopperUnstyled', ['root']);
14055
14063
 
14056
- 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"],
14057
14065
  _excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
14058
14066
  function flipPlacement(placement, direction) {
14059
14067
  if (direction === 'ltr') {
@@ -14106,7 +14114,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14106
14114
  slots = {},
14107
14115
  TransitionProps
14108
14116
  } = props,
14109
- other = _objectWithoutPropertiesLoose(props, _excluded$27);
14117
+ other = _objectWithoutPropertiesLoose(props, _excluded$26);
14110
14118
  const tooltipRef = React__namespace.useRef(null);
14111
14119
  const ownRef = useForkRef(tooltipRef, ref);
14112
14120
  const popperRef = React__namespace.useRef(null);
@@ -14638,7 +14646,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14638
14646
  const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
14639
14647
  var modalUnstyledClasses$1 = modalUnstyledClasses;
14640
14648
 
14641
- 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"];
14642
14650
  const useUtilityClasses$1N = ownerState => {
14643
14651
  const {
14644
14652
  open,
@@ -14710,7 +14718,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14710
14718
  slotProps = {},
14711
14719
  slots = {}
14712
14720
  } = props,
14713
- other = _objectWithoutPropertiesLoose(props, _excluded$26);
14721
+ other = _objectWithoutPropertiesLoose(props, _excluded$25);
14714
14722
  const [exited, setExited] = React__namespace.useState(!open);
14715
14723
  const modal = React__namespace.useRef({});
14716
14724
  const mountNodeRef = React__namespace.useRef(null);
@@ -15078,57 +15086,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15078
15086
  NoSsr['propTypes' + ''] = exactProp(NoSsr.propTypes);
15079
15087
  }
15080
15088
 
15081
- function getSliderUtilityClass(slot) {
15082
- return generateUtilityClass('MuiSlider', slot);
15083
- }
15084
- const sliderUnstyledClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'focusVisible', 'disabled', 'dragging', 'marked', 'vertical', 'trackInverted', 'trackFalse', 'rail', 'track', 'mark', 'markActive', 'markLabel', 'markLabelActive', 'thumb', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel']);
15085
- var sliderUnstyledClasses$1 = sliderUnstyledClasses;
15086
-
15087
- const useValueLabelClasses = props => {
15088
- const {
15089
- open
15090
- } = props;
15091
- const utilityClasses = {
15092
- offset: clsx(open && sliderUnstyledClasses$1.valueLabelOpen),
15093
- circle: sliderUnstyledClasses$1.valueLabelCircle,
15094
- label: sliderUnstyledClasses$1.valueLabelLabel
15095
- };
15096
- return utilityClasses;
15097
- };
15098
-
15099
- /**
15100
- * @ignore - internal component.
15101
- */
15102
- function SliderValueLabelUnstyled(props) {
15103
- const {
15104
- children,
15105
- className,
15106
- value
15107
- } = props;
15108
- const classes = useValueLabelClasses(props);
15109
- return /*#__PURE__*/React__namespace.cloneElement(children, {
15110
- className: clsx(children.props.className)
15111
- }, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
15112
- children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
15113
- className: clsx(classes.offset, className),
15114
- "aria-hidden": true,
15115
- children: /*#__PURE__*/jsxRuntime_1("span", {
15116
- className: classes.circle,
15117
- children: /*#__PURE__*/jsxRuntime_1("span", {
15118
- className: classes.label,
15119
- children: value
15120
- })
15121
- })
15122
- })]
15123
- }));
15124
- }
15125
- SliderValueLabelUnstyled.propTypes = {
15126
- children: PropTypes.element.isRequired,
15127
- className: PropTypes.string,
15128
- theme: PropTypes.any,
15129
- value: PropTypes.node
15130
- } ;
15131
-
15132
15089
  const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
15133
15090
  function asc(a, b) {
15134
15091
  return a - b;
@@ -15177,7 +15134,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15177
15134
  y: event.clientY
15178
15135
  };
15179
15136
  }
15180
- function valueToPercent(value, min, max) {
15137
+ function valueToPercent$1(value, min, max) {
15181
15138
  return (value - min) * 100 / (max - min);
15182
15139
  }
15183
15140
  function percentToValue(percent, min, max) {
@@ -15648,8 +15605,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15648
15605
  doc.addEventListener('mousemove', handleTouchMove);
15649
15606
  doc.addEventListener('mouseup', handleTouchEnd);
15650
15607
  };
15651
- const trackOffset = valueToPercent(range ? values[0] : min, min, max);
15652
- const trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;
15608
+ const trackOffset = valueToPercent$1(range ? values[0] : min, min, max);
15609
+ const trackLeap = valueToPercent$1(values[values.length - 1], min, max) - trackOffset;
15653
15610
  const getRootProps = (otherHandlers = {}) => {
15654
15611
  const ownEventHandlers = {
15655
15612
  onMouseDown: createHandleMouseDown(otherHandlers || {})
@@ -15724,444 +15681,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15724
15681
  };
15725
15682
  }
15726
15683
 
15727
- 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"];
15728
- const Identity = x => x;
15729
- const useUtilityClasses$1M = ownerState => {
15730
- const {
15731
- disabled,
15732
- dragging,
15733
- marked,
15734
- orientation,
15735
- track,
15736
- classes
15737
- } = ownerState;
15738
- const slots = {
15739
- root: ['root', disabled && 'disabled', dragging && 'dragging', marked && 'marked', orientation === 'vertical' && 'vertical', track === 'inverted' && 'trackInverted', track === false && 'trackFalse'],
15740
- rail: ['rail'],
15741
- track: ['track'],
15742
- mark: ['mark'],
15743
- markActive: ['markActive'],
15744
- markLabel: ['markLabel'],
15745
- markLabelActive: ['markLabelActive'],
15746
- valueLabel: ['valueLabel'],
15747
- thumb: ['thumb', disabled && 'disabled'],
15748
- active: ['active'],
15749
- disabled: ['disabled'],
15750
- focusVisible: ['focusVisible']
15751
- };
15752
- return composeClasses(slots, getSliderUtilityClass, classes);
15753
- };
15754
- const Forward = ({
15755
- children
15756
- }) => children;
15757
- const SliderUnstyled = /*#__PURE__*/React__namespace.forwardRef(function SliderUnstyled(props, ref) {
15758
- var _ref, _slots$rail, _slots$track, _slots$thumb, _slots$valueLabel, _slots$mark, _slots$markLabel;
15759
- const {
15760
- 'aria-label': ariaLabel,
15761
- 'aria-valuetext': ariaValuetext,
15762
- 'aria-labelledby': ariaLabelledby,
15763
- className,
15764
- component,
15765
- classes: classesProp,
15766
- disableSwap = false,
15767
- disabled = false,
15768
- getAriaLabel,
15769
- getAriaValueText,
15770
- marks: marksProp = false,
15771
- max = 100,
15772
- min = 0,
15773
- orientation = 'horizontal',
15774
- scale = Identity,
15775
- step = 1,
15776
- track = 'normal',
15777
- valueLabelDisplay = 'off',
15778
- valueLabelFormat = Identity,
15779
- isRtl = false,
15780
- slotProps = {},
15781
- slots = {}
15782
- } = props,
15783
- other = _objectWithoutPropertiesLoose(props, _excluded$25);
15784
-
15785
- // all props with defaults
15786
- // consider extracting to hook an reusing the lint rule for the variants
15787
- const ownerState = _extends({}, props, {
15788
- marks: marksProp,
15789
- classes: classesProp,
15790
- disabled,
15791
- isRtl,
15792
- max,
15793
- min,
15794
- orientation,
15795
- scale,
15796
- step,
15797
- track,
15798
- valueLabelDisplay,
15799
- valueLabelFormat
15800
- });
15801
- const {
15802
- axisProps,
15803
- getRootProps,
15804
- getHiddenInputProps,
15805
- getThumbProps,
15806
- open,
15807
- active,
15808
- axis,
15809
- range,
15810
- focusedThumbIndex,
15811
- dragging,
15812
- marks,
15813
- values,
15814
- trackOffset,
15815
- trackLeap
15816
- } = useSlider(_extends({}, ownerState, {
15817
- ref
15818
- }));
15819
- ownerState.marked = marks.length > 0 && marks.some(mark => mark.label);
15820
- ownerState.dragging = dragging;
15821
- ownerState.focusedThumbIndex = focusedThumbIndex;
15822
- const classes = useUtilityClasses$1M(ownerState);
15823
- const Root = (_ref = component != null ? component : slots.root) != null ? _ref : 'span';
15824
- const rootProps = useSlotProps({
15825
- elementType: Root,
15826
- getSlotProps: getRootProps,
15827
- externalSlotProps: slotProps.root,
15828
- externalForwardedProps: other,
15829
- ownerState,
15830
- className: [classes.root, className]
15831
- });
15832
- const Rail = (_slots$rail = slots.rail) != null ? _slots$rail : 'span';
15833
- const railProps = useSlotProps({
15834
- elementType: Rail,
15835
- externalSlotProps: slotProps.rail,
15836
- ownerState,
15837
- className: classes.rail
15838
- });
15839
- const Track = (_slots$track = slots.track) != null ? _slots$track : 'span';
15840
- const trackProps = useSlotProps({
15841
- elementType: Track,
15842
- externalSlotProps: slotProps.track,
15843
- additionalProps: {
15844
- style: _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap))
15845
- },
15846
- ownerState,
15847
- className: classes.track
15848
- });
15849
- const Thumb = (_slots$thumb = slots.thumb) != null ? _slots$thumb : 'span';
15850
- const thumbProps = useSlotProps({
15851
- elementType: Thumb,
15852
- getSlotProps: getThumbProps,
15853
- externalSlotProps: slotProps.thumb,
15854
- ownerState
15855
- });
15856
- const ValueLabel = (_slots$valueLabel = slots.valueLabel) != null ? _slots$valueLabel : SliderValueLabelUnstyled;
15857
- const valueLabelProps = useSlotProps({
15858
- elementType: ValueLabel,
15859
- externalSlotProps: slotProps.valueLabel,
15860
- ownerState
15861
- });
15862
- const Mark = (_slots$mark = slots.mark) != null ? _slots$mark : 'span';
15863
- const markProps = useSlotProps({
15864
- elementType: Mark,
15865
- externalSlotProps: slotProps.mark,
15866
- ownerState,
15867
- className: classes.mark
15868
- });
15869
- const MarkLabel = (_slots$markLabel = slots.markLabel) != null ? _slots$markLabel : 'span';
15870
- const markLabelProps = useSlotProps({
15871
- elementType: MarkLabel,
15872
- externalSlotProps: slotProps.markLabel,
15873
- ownerState
15874
- });
15875
- const Input = slots.input || 'input';
15876
- const inputProps = useSlotProps({
15877
- elementType: Input,
15878
- getSlotProps: getHiddenInputProps,
15879
- externalSlotProps: slotProps.input,
15880
- ownerState
15881
- });
15882
- return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
15883
- 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) => {
15884
- const percent = valueToPercent(mark.value, min, max);
15885
- const style = axisProps[axis].offset(percent);
15886
- let markActive;
15887
- if (track === false) {
15888
- markActive = values.indexOf(mark.value) !== -1;
15889
- } else {
15890
- 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]);
15891
- }
15892
- return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
15893
- children: [/*#__PURE__*/jsxRuntime_1(Mark, _extends({
15894
- "data-index": index
15895
- }, markProps, !isHostComponent(Mark) && {
15896
- markActive
15897
- }, {
15898
- style: _extends({}, style, markProps.style),
15899
- className: clsx(markProps.className, markActive && classes.markActive)
15900
- })), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabel, _extends({
15901
- "aria-hidden": true,
15902
- "data-index": index
15903
- }, markLabelProps, !isHostComponent(MarkLabel) && {
15904
- markLabelActive: markActive
15905
- }, {
15906
- style: _extends({}, style, markLabelProps.style),
15907
- className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
15908
- children: mark.label
15909
- })) : null]
15910
- }, index);
15911
- }), values.map((value, index) => {
15912
- const percent = valueToPercent(value, min, max);
15913
- const style = axisProps[axis].offset(percent);
15914
- const ValueLabelComponent = valueLabelDisplay === 'off' ? Forward : ValueLabel;
15915
- return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
15916
- children: /*#__PURE__*/jsxRuntime_1(ValueLabelComponent, _extends({}, !isHostComponent(ValueLabelComponent) && {
15917
- valueLabelFormat,
15918
- valueLabelDisplay,
15919
- value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,
15920
- index,
15921
- open: open === index || active === index || valueLabelDisplay === 'on',
15922
- disabled
15923
- }, valueLabelProps, {
15924
- className: clsx(classes.valueLabel, valueLabelProps.className),
15925
- children: /*#__PURE__*/jsxRuntime_1(Thumb, _extends({
15926
- "data-index": index,
15927
- "data-focusvisible": focusedThumbIndex === index
15928
- }, thumbProps, {
15929
- className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
15930
- style: _extends({}, style, {
15931
- pointerEvents: disableSwap && active !== index ? 'none' : undefined
15932
- }, thumbProps.style),
15933
- children: /*#__PURE__*/jsxRuntime_1(Input, _extends({
15934
- "data-index": index,
15935
- "aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
15936
- "aria-valuenow": scale(value),
15937
- "aria-labelledby": ariaLabelledby,
15938
- "aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
15939
- value: values[index]
15940
- }, inputProps))
15941
- }))
15942
- }))
15943
- }, index);
15944
- })]
15945
- }));
15946
- });
15947
- SliderUnstyled.propTypes /* remove-proptypes */ = {
15948
- // ----------------------------- Warning --------------------------------
15949
- // | These PropTypes are generated from the TypeScript type definitions |
15950
- // | To update them edit the d.ts file and run "yarn proptypes" |
15951
- // ----------------------------------------------------------------------
15952
- /**
15953
- * The label of the slider.
15954
- */
15955
- 'aria-label': chainPropTypes(PropTypes.string, props => {
15956
- const range = Array.isArray(props.value || props.defaultValue);
15957
- if (range && props['aria-label'] != null) {
15958
- return new Error('MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.');
15959
- }
15960
- return null;
15961
- }),
15962
- /**
15963
- * The id of the element containing a label for the slider.
15964
- */
15965
- 'aria-labelledby': PropTypes.string,
15966
- /**
15967
- * A string value that provides a user-friendly name for the current value of the slider.
15968
- */
15969
- 'aria-valuetext': chainPropTypes(PropTypes.string, props => {
15970
- const range = Array.isArray(props.value || props.defaultValue);
15971
- if (range && props['aria-valuetext'] != null) {
15972
- return new Error('MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.');
15973
- }
15974
- return null;
15975
- }),
15976
- /**
15977
- * @ignore
15978
- */
15979
- children: PropTypes.node,
15980
- /**
15981
- * Override or extend the styles applied to the component.
15982
- */
15983
- classes: PropTypes.object,
15984
- /**
15985
- * @ignore
15986
- */
15987
- className: PropTypes.string,
15988
- /**
15989
- * The component used for the root node.
15990
- * Either a string to use a HTML element or a component.
15991
- */
15992
- component: PropTypes.elementType,
15993
- /**
15994
- * The default value. Use when the component is not controlled.
15995
- */
15996
- defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
15997
- /**
15998
- * If `true`, the component is disabled.
15999
- * @default false
16000
- */
16001
- disabled: PropTypes.bool,
16002
- /**
16003
- * If `true`, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
16004
- * @default false
16005
- */
16006
- disableSwap: PropTypes.bool,
16007
- /**
16008
- * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
16009
- * This is important for screen reader users.
16010
- * @param {number} index The thumb label's index to format.
16011
- * @returns {string}
16012
- */
16013
- getAriaLabel: PropTypes.func,
16014
- /**
16015
- * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
16016
- * This is important for screen reader users.
16017
- * @param {number} value The thumb label's value to format.
16018
- * @param {number} index The thumb label's index to format.
16019
- * @returns {string}
16020
- */
16021
- getAriaValueText: PropTypes.func,
16022
- /**
16023
- * If `true` the Slider will be rendered right-to-left (with the lowest value on the right-hand side).
16024
- * @default false
16025
- */
16026
- isRtl: PropTypes.bool,
16027
- /**
16028
- * Marks indicate predetermined values to which the user can move the slider.
16029
- * If `true` the marks are spaced according the value of the `step` prop.
16030
- * If an array, it should contain objects with `value` and an optional `label` keys.
16031
- * @default false
16032
- */
16033
- marks: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
16034
- label: PropTypes.node,
16035
- value: PropTypes.number.isRequired
16036
- })), PropTypes.bool]),
16037
- /**
16038
- * The maximum allowed value of the slider.
16039
- * Should not be equal to min.
16040
- * @default 100
16041
- */
16042
- max: PropTypes.number,
16043
- /**
16044
- * The minimum allowed value of the slider.
16045
- * Should not be equal to max.
16046
- * @default 0
16047
- */
16048
- min: PropTypes.number,
16049
- /**
16050
- * Name attribute of the hidden `input` element.
16051
- */
16052
- name: PropTypes.string,
16053
- /**
16054
- * Callback function that is fired when the slider's value changed.
16055
- *
16056
- * @param {Event} event The event source of the callback.
16057
- * You can pull out the new value by accessing `event.target.value` (any).
16058
- * **Warning**: This is a generic event not a change event.
16059
- * @param {number | number[]} value The new value.
16060
- * @param {number} activeThumb Index of the currently moved thumb.
16061
- */
16062
- onChange: PropTypes.func,
16063
- /**
16064
- * Callback function that is fired when the `mouseup` is triggered.
16065
- *
16066
- * @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
16067
- * @param {number | number[]} value The new value.
16068
- */
16069
- onChangeCommitted: PropTypes.func,
16070
- /**
16071
- * The component orientation.
16072
- * @default 'horizontal'
16073
- */
16074
- orientation: PropTypes.oneOf(['horizontal', 'vertical']),
16075
- /**
16076
- * A transformation function, to change the scale of the slider.
16077
- * @default (x) => x
16078
- */
16079
- scale: PropTypes.func,
16080
- /**
16081
- * The props used for each slot inside the Slider.
16082
- * @default {}
16083
- */
16084
- slotProps: PropTypes.shape({
16085
- input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16086
- mark: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16087
- markLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16088
- rail: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16089
- root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16090
- thumb: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16091
- track: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
16092
- valueLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
16093
- children: PropTypes.element,
16094
- className: PropTypes.string,
16095
- open: PropTypes.bool,
16096
- style: PropTypes.object,
16097
- value: PropTypes.number,
16098
- valueLabelDisplay: PropTypes.oneOf(['auto', 'off', 'on'])
16099
- })])
16100
- }),
16101
- /**
16102
- * The components used for each slot inside the Slider.
16103
- * Either a string to use a HTML element or a component.
16104
- * @default {}
16105
- */
16106
- slots: PropTypes.shape({
16107
- input: PropTypes.elementType,
16108
- mark: PropTypes.elementType,
16109
- markLabel: PropTypes.elementType,
16110
- rail: PropTypes.elementType,
16111
- root: PropTypes.elementType,
16112
- thumb: PropTypes.elementType,
16113
- track: PropTypes.elementType,
16114
- valueLabel: PropTypes.elementType
16115
- }),
16116
- /**
16117
- * The granularity with which the slider can step through values. (A "discrete" slider.)
16118
- * The `min` prop serves as the origin for the valid values.
16119
- * We recommend (max - min) to be evenly divisible by the step.
16120
- *
16121
- * When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.
16122
- * @default 1
16123
- */
16124
- step: PropTypes.number,
16125
- /**
16126
- * Tab index attribute of the hidden `input` element.
16127
- */
16128
- tabIndex: PropTypes.number,
16129
- /**
16130
- * The track presentation:
16131
- *
16132
- * - `normal` the track will render a bar representing the slider value.
16133
- * - `inverted` the track will render a bar representing the remaining slider value.
16134
- * - `false` the track will render without a bar.
16135
- * @default 'normal'
16136
- */
16137
- track: PropTypes.oneOf(['inverted', 'normal', false]),
16138
- /**
16139
- * The value of the slider.
16140
- * For ranged sliders, provide an array with two values.
16141
- */
16142
- value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
16143
- /**
16144
- * Controls when the value label is displayed:
16145
- *
16146
- * - `auto` the value label will display when the thumb is hovered or focused.
16147
- * - `on` will display persistently.
16148
- * - `off` will never display.
16149
- * @default 'off'
16150
- */
16151
- valueLabelDisplay: PropTypes.oneOf(['auto', 'off', 'on']),
16152
- /**
16153
- * The format function the value label's value.
16154
- *
16155
- * When a function is provided, it should have the following signature:
16156
- *
16157
- * - {number} value The value label's value to format
16158
- * - {number} index The value label's index to format
16159
- * @default (x) => x
16160
- */
16161
- valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
16162
- } ;
16163
- var SliderUnstyled$1 = SliderUnstyled;
16164
-
16165
15684
  const _excluded$24 = ["onChange", "maxRows", "minRows", "style", "value"];
16166
15685
  function getStyleValue(computedStyle, property) {
16167
15686
  return parseInt(computedStyle[property], 10) || 0;
@@ -16405,7 +15924,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16405
15924
  var svgIconClasses$1 = svgIconClasses;
16406
15925
 
16407
15926
  const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
16408
- const useUtilityClasses$1L = ownerState => {
15927
+ const useUtilityClasses$1M = ownerState => {
16409
15928
  const {
16410
15929
  color,
16411
15930
  fontSize,
@@ -16483,7 +16002,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16483
16002
  if (!inheritViewBox) {
16484
16003
  more.viewBox = viewBox;
16485
16004
  }
16486
- const classes = useUtilityClasses$1L(ownerState);
16005
+ const classes = useUtilityClasses$1M(ownerState);
16487
16006
  return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
16488
16007
  as: component,
16489
16008
  className: clsx(classes.root, className),
@@ -17612,7 +17131,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17612
17131
  var collapseClasses$1 = collapseClasses;
17613
17132
 
17614
17133
  const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
17615
- const useUtilityClasses$1K = ownerState => {
17134
+ const useUtilityClasses$1L = ownerState => {
17616
17135
  const {
17617
17136
  orientation,
17618
17137
  classes
@@ -17716,7 +17235,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17716
17235
  orientation,
17717
17236
  collapsedSize: collapsedSizeProp
17718
17237
  });
17719
- const classes = useUtilityClasses$1K(ownerState);
17238
+ const classes = useUtilityClasses$1L(ownerState);
17720
17239
  const theme = useTheme();
17721
17240
  const timer = React__namespace.useRef();
17722
17241
  const wrapperRef = React__namespace.useRef(null);
@@ -17980,7 +17499,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17980
17499
  var paperClasses$1 = paperClasses;
17981
17500
 
17982
17501
  const _excluded$21 = ["className", "component", "elevation", "square", "variant"];
17983
- const useUtilityClasses$1J = ownerState => {
17502
+ const useUtilityClasses$1K = ownerState => {
17984
17503
  const {
17985
17504
  square,
17986
17505
  elevation,
@@ -18041,7 +17560,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18041
17560
  square,
18042
17561
  variant
18043
17562
  });
18044
- const classes = useUtilityClasses$1J(ownerState);
17563
+ const classes = useUtilityClasses$1K(ownerState);
18045
17564
  {
18046
17565
  // eslint-disable-next-line react-hooks/rules-of-hooks
18047
17566
  const theme = useTheme();
@@ -18127,7 +17646,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18127
17646
  var accordionClasses$1 = accordionClasses;
18128
17647
 
18129
17648
  const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
18130
- const useUtilityClasses$1I = ownerState => {
17649
+ const useUtilityClasses$1J = ownerState => {
18131
17650
  const {
18132
17651
  classes,
18133
17652
  square,
@@ -18265,7 +17784,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18265
17784
  disableGutters,
18266
17785
  expanded
18267
17786
  });
18268
- const classes = useUtilityClasses$1I(ownerState);
17787
+ const classes = useUtilityClasses$1J(ownerState);
18269
17788
  return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
18270
17789
  className: clsx(classes.root, className),
18271
17790
  ref: ref,
@@ -18372,7 +17891,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18372
17891
  var accordionActionsClasses$1 = accordionActionsClasses;
18373
17892
 
18374
17893
  const _excluded$1$ = ["className", "disableSpacing"];
18375
- const useUtilityClasses$1H = ownerState => {
17894
+ const useUtilityClasses$1I = ownerState => {
18376
17895
  const {
18377
17896
  classes,
18378
17897
  disableSpacing
@@ -18416,7 +17935,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18416
17935
  const ownerState = _extends({}, props, {
18417
17936
  disableSpacing
18418
17937
  });
18419
- const classes = useUtilityClasses$1H(ownerState);
17938
+ const classes = useUtilityClasses$1I(ownerState);
18420
17939
  return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
18421
17940
  className: clsx(classes.root, className),
18422
17941
  ref: ref,
@@ -18459,7 +17978,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18459
17978
  var accordionDetailsClasses$1 = accordionDetailsClasses;
18460
17979
 
18461
17980
  const _excluded$1_ = ["className"];
18462
- const useUtilityClasses$1G = ownerState => {
17981
+ const useUtilityClasses$1H = ownerState => {
18463
17982
  const {
18464
17983
  classes
18465
17984
  } = ownerState;
@@ -18487,7 +18006,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18487
18006
  } = props,
18488
18007
  other = _objectWithoutPropertiesLoose(props, _excluded$1_);
18489
18008
  const ownerState = props;
18490
- const classes = useUtilityClasses$1G(ownerState);
18009
+ const classes = useUtilityClasses$1H(ownerState);
18491
18010
  return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
18492
18011
  className: clsx(classes.root, className),
18493
18012
  ref: ref,
@@ -18934,7 +18453,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18934
18453
  var buttonBaseClasses$1 = buttonBaseClasses;
18935
18454
 
18936
18455
  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"];
18937
- const useUtilityClasses$1F = ownerState => {
18456
+ const useUtilityClasses$1G = ownerState => {
18938
18457
  const {
18939
18458
  disabled,
18940
18459
  focusVisible,
@@ -19202,7 +18721,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19202
18721
  tabIndex,
19203
18722
  focusVisible
19204
18723
  });
19205
- const classes = useUtilityClasses$1F(ownerState);
18724
+ const classes = useUtilityClasses$1G(ownerState);
19206
18725
  return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
19207
18726
  as: ComponentProp,
19208
18727
  className: clsx(classes.root, className),
@@ -19400,7 +18919,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19400
18919
  var accordionSummaryClasses$1 = accordionSummaryClasses;
19401
18920
 
19402
18921
  const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
19403
- const useUtilityClasses$1E = ownerState => {
18922
+ const useUtilityClasses$1F = ownerState => {
19404
18923
  const {
19405
18924
  classes,
19406
18925
  expanded,
@@ -19514,7 +19033,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19514
19033
  disabled,
19515
19034
  disableGutters
19516
19035
  });
19517
- const classes = useUtilityClasses$1E(ownerState);
19036
+ const classes = useUtilityClasses$1F(ownerState);
19518
19037
  return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
19519
19038
  focusRipple: false,
19520
19039
  disableRipple: true,
@@ -19592,7 +19111,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19592
19111
  var iconButtonClasses$1 = iconButtonClasses;
19593
19112
 
19594
19113
  const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
19595
- const useUtilityClasses$1D = ownerState => {
19114
+ const useUtilityClasses$1E = ownerState => {
19596
19115
  const {
19597
19116
  classes,
19598
19117
  disabled,
@@ -19700,7 +19219,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19700
19219
  disableFocusRipple,
19701
19220
  size
19702
19221
  });
19703
- const classes = useUtilityClasses$1D(ownerState);
19222
+ const classes = useUtilityClasses$1E(ownerState);
19704
19223
  return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
19705
19224
  className: clsx(classes.root, className),
19706
19225
  centerRipple: true,
@@ -19802,7 +19321,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19802
19321
  }), 'Close');
19803
19322
 
19804
19323
  const _excluded$1V = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
19805
- const useUtilityClasses$1C = ownerState => {
19324
+ const useUtilityClasses$1D = ownerState => {
19806
19325
  const {
19807
19326
  variant,
19808
19327
  color,
@@ -19937,7 +19456,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19937
19456
  severity,
19938
19457
  variant
19939
19458
  });
19940
- const classes = useUtilityClasses$1C(ownerState);
19459
+ const classes = useUtilityClasses$1D(ownerState);
19941
19460
  const AlertCloseButton = (_ref = (_slots$closeButton = slots.closeButton) != null ? _slots$closeButton : components.CloseButton) != null ? _ref : IconButton$1;
19942
19461
  const AlertCloseIcon = (_ref2 = (_slots$closeIcon = slots.closeIcon) != null ? _slots$closeIcon : components.CloseIcon) != null ? _ref2 : ClearIcon;
19943
19462
  const closeButtonProps = (_slotProps$closeButto = slotProps.closeButton) != null ? _slotProps$closeButto : componentsProps.closeButton;
@@ -20113,7 +19632,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20113
19632
  var typographyClasses$1 = typographyClasses;
20114
19633
 
20115
19634
  const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
20116
- const useUtilityClasses$1B = ownerState => {
19635
+ const useUtilityClasses$1C = ownerState => {
20117
19636
  const {
20118
19637
  align,
20119
19638
  gutterBottom,
@@ -20209,7 +19728,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20209
19728
  variantMapping
20210
19729
  });
20211
19730
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
20212
- const classes = useUtilityClasses$1B(ownerState);
19731
+ const classes = useUtilityClasses$1C(ownerState);
20213
19732
  return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
20214
19733
  as: Component,
20215
19734
  ref: ref,
@@ -20301,7 +19820,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20301
19820
  var alertTitleClasses$1 = alertTitleClasses;
20302
19821
 
20303
19822
  const _excluded$1T = ["className"];
20304
- const useUtilityClasses$1A = ownerState => {
19823
+ const useUtilityClasses$1B = ownerState => {
20305
19824
  const {
20306
19825
  classes
20307
19826
  } = ownerState;
@@ -20332,7 +19851,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20332
19851
  } = props,
20333
19852
  other = _objectWithoutPropertiesLoose(props, _excluded$1T);
20334
19853
  const ownerState = props;
20335
- const classes = useUtilityClasses$1A(ownerState);
19854
+ const classes = useUtilityClasses$1B(ownerState);
20336
19855
  return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
20337
19856
  gutterBottom: true,
20338
19857
  component: "div",
@@ -20372,7 +19891,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20372
19891
  var appBarClasses$1 = appBarClasses;
20373
19892
 
20374
19893
  const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
20375
- const useUtilityClasses$1z = ownerState => {
19894
+ const useUtilityClasses$1A = ownerState => {
20376
19895
  const {
20377
19896
  color,
20378
19897
  position,
@@ -20483,7 +20002,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20483
20002
  position,
20484
20003
  enableColorOnDark
20485
20004
  });
20486
- const classes = useUtilityClasses$1z(ownerState);
20005
+ const classes = useUtilityClasses$1A(ownerState);
20487
20006
  return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
20488
20007
  square: true,
20489
20008
  component: "header",
@@ -20716,7 +20235,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20716
20235
  var listSubheaderClasses$1 = listSubheaderClasses;
20717
20236
 
20718
20237
  const _excluded$1Q = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
20719
- const useUtilityClasses$1y = ownerState => {
20238
+ const useUtilityClasses$1z = ownerState => {
20720
20239
  const {
20721
20240
  classes,
20722
20241
  color,
@@ -20785,7 +20304,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20785
20304
  disableSticky,
20786
20305
  inset
20787
20306
  });
20788
- const classes = useUtilityClasses$1y(ownerState);
20307
+ const classes = useUtilityClasses$1z(ownerState);
20789
20308
  return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
20790
20309
  as: component,
20791
20310
  className: clsx(classes.root, className),
@@ -20853,7 +20372,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20853
20372
  var chipClasses$1 = chipClasses;
20854
20373
 
20855
20374
  const _excluded$1P = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
20856
- const useUtilityClasses$1x = ownerState => {
20375
+ const useUtilityClasses$1y = ownerState => {
20857
20376
  const {
20858
20377
  classes,
20859
20378
  disabled,
@@ -21179,7 +20698,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21179
20698
  clickable,
21180
20699
  variant
21181
20700
  });
21182
- const classes = useUtilityClasses$1x(ownerState);
20701
+ const classes = useUtilityClasses$1y(ownerState);
21183
20702
  const moreProps = component === ButtonBase$1 ? _extends({
21184
20703
  component: ComponentProp || 'div',
21185
20704
  focusVisibleClassName: classes.focusVisible
@@ -21432,7 +20951,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21432
20951
  } = props;
21433
20952
  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];
21434
20953
  };
21435
- const useUtilityClasses$1w = ownerState => {
20954
+ const useUtilityClasses$1x = ownerState => {
21436
20955
  const {
21437
20956
  classes,
21438
20957
  color,
@@ -21824,7 +21343,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21824
21343
  startAdornment,
21825
21344
  type
21826
21345
  });
21827
- const classes = useUtilityClasses$1w(ownerState);
21346
+ const classes = useUtilityClasses$1x(ownerState);
21828
21347
  const Root = slots.root || components.Root || InputBaseRoot;
21829
21348
  const rootProps = slotProps.root || componentsProps.root || {};
21830
21349
  const Input = slots.input || components.Input || InputBaseComponent;
@@ -22136,7 +21655,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22136
21655
 
22137
21656
  var _ClearIcon, _ArrowDropDownIcon;
22138
21657
  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"];
22139
- const useUtilityClasses$1v = ownerState => {
21658
+ const useUtilityClasses$1w = ownerState => {
22140
21659
  const {
22141
21660
  classes,
22142
21661
  disablePortal,
@@ -22559,7 +22078,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22559
22078
  popupOpen,
22560
22079
  size
22561
22080
  });
22562
- const classes = useUtilityClasses$1v(ownerState);
22081
+ const classes = useUtilityClasses$1w(ownerState);
22563
22082
  let startAdornment;
22564
22083
  if (multiple && value.length > 0) {
22565
22084
  const getCustomizedTagProps = params => _extends({
@@ -23138,7 +22657,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23138
22657
  var avatarClasses$1 = avatarClasses;
23139
22658
 
23140
22659
  const _excluded$1M = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
23141
- const useUtilityClasses$1u = ownerState => {
22660
+ const useUtilityClasses$1v = ownerState => {
23142
22661
  const {
23143
22662
  classes,
23144
22663
  variant,
@@ -23280,7 +22799,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23280
22799
  component,
23281
22800
  variant
23282
22801
  });
23283
- const classes = useUtilityClasses$1u(ownerState);
22802
+ const classes = useUtilityClasses$1v(ownerState);
23284
22803
  if (hasImgNotFailing) {
23285
22804
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
23286
22805
  alt: alt,
@@ -23377,7 +22896,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23377
22896
  small: -16,
23378
22897
  medium: null
23379
22898
  };
23380
- const useUtilityClasses$1t = ownerState => {
22899
+ const useUtilityClasses$1u = ownerState => {
23381
22900
  const {
23382
22901
  classes
23383
22902
  } = ownerState;
@@ -23446,7 +22965,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23446
22965
  component,
23447
22966
  variant
23448
22967
  });
23449
- const classes = useUtilityClasses$1t(ownerState);
22968
+ const classes = useUtilityClasses$1u(ownerState);
23450
22969
  const children = React__namespace.Children.toArray(childrenProp).filter(child => {
23451
22970
  {
23452
22971
  if (reactIs_2(child)) {
@@ -23769,7 +23288,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23769
23288
  var backdropClasses$1 = backdropClasses;
23770
23289
 
23771
23290
  const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
23772
- const useUtilityClasses$1s = ownerState => {
23291
+ const useUtilityClasses$1t = ownerState => {
23773
23292
  const {
23774
23293
  classes,
23775
23294
  invisible
@@ -23829,7 +23348,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23829
23348
  component,
23830
23349
  invisible
23831
23350
  });
23832
- const classes = useUtilityClasses$1s(ownerState);
23351
+ const classes = useUtilityClasses$1t(ownerState);
23833
23352
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
23834
23353
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
23835
23354
  in: open,
@@ -23955,7 +23474,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23955
23474
  const _excluded$1I = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
23956
23475
  const RADIUS_STANDARD = 10;
23957
23476
  const RADIUS_DOT = 4;
23958
- const useUtilityClasses$1r = ownerState => {
23477
+ const useUtilityClasses$1s = ownerState => {
23959
23478
  const {
23960
23479
  color,
23961
23480
  anchorOrigin,
@@ -24143,7 +23662,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24143
23662
  overlap,
24144
23663
  variant
24145
23664
  });
24146
- const classes = useUtilityClasses$1r(ownerState);
23665
+ const classes = useUtilityClasses$1s(ownerState);
24147
23666
  let displayValue;
24148
23667
  if (variant !== 'dot') {
24149
23668
  displayValue = badgeContentProp && Number(badgeContentProp) > max ? `${max}+` : badgeContentProp;
@@ -24314,7 +23833,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24314
23833
  var bottomNavigationClasses$1 = bottomNavigationClasses;
24315
23834
 
24316
23835
  const _excluded$1H = ["children", "className", "component", "onChange", "showLabels", "value"];
24317
- const useUtilityClasses$1q = ownerState => {
23836
+ const useUtilityClasses$1r = ownerState => {
24318
23837
  const {
24319
23838
  classes
24320
23839
  } = ownerState;
@@ -24353,7 +23872,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24353
23872
  component,
24354
23873
  showLabels
24355
23874
  });
24356
- const classes = useUtilityClasses$1q(ownerState);
23875
+ const classes = useUtilityClasses$1r(ownerState);
24357
23876
  return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
24358
23877
  as: component,
24359
23878
  className: clsx(classes.root, className),
@@ -24432,7 +23951,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24432
23951
  var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
24433
23952
 
24434
23953
  const _excluded$1G = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
24435
- const useUtilityClasses$1p = ownerState => {
23954
+ const useUtilityClasses$1q = ownerState => {
24436
23955
  const {
24437
23956
  classes,
24438
23957
  showLabel,
@@ -24511,7 +24030,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24511
24030
  } = props,
24512
24031
  other = _objectWithoutPropertiesLoose(props, _excluded$1G);
24513
24032
  const ownerState = props;
24514
- const classes = useUtilityClasses$1p(ownerState);
24033
+ const classes = useUtilityClasses$1q(ownerState);
24515
24034
  const handleChange = event => {
24516
24035
  if (onChange) {
24517
24036
  onChange(event, value);
@@ -24680,7 +24199,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24680
24199
  var breadcrumbsClasses$1 = breadcrumbsClasses;
24681
24200
 
24682
24201
  const _excluded$1F = ["children", "className", "component", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
24683
- const useUtilityClasses$1o = ownerState => {
24202
+ const useUtilityClasses$1p = ownerState => {
24684
24203
  const {
24685
24204
  classes
24686
24205
  } = ownerState;
@@ -24764,7 +24283,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24764
24283
  maxItems,
24765
24284
  separator
24766
24285
  });
24767
- const classes = useUtilityClasses$1o(ownerState);
24286
+ const classes = useUtilityClasses$1p(ownerState);
24768
24287
  const listRef = React__namespace.useRef(null);
24769
24288
  const renderItemsBeforeAndAfter = allItems => {
24770
24289
  const handleClickExpand = () => {
@@ -24893,7 +24412,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24893
24412
  var ButtonGroupContext$1 = ButtonGroupContext;
24894
24413
 
24895
24414
  const _excluded$1E = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24896
- const useUtilityClasses$1n = ownerState => {
24415
+ const useUtilityClasses$1o = ownerState => {
24897
24416
  const {
24898
24417
  color,
24899
24418
  disableElevation,
@@ -24991,8 +24510,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24991
24510
  color: (theme.vars || theme).palette.action.disabled
24992
24511
  }, ownerState.variant === 'outlined' && {
24993
24512
  border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
24994
- }, ownerState.variant === 'outlined' && ownerState.color === 'secondary' && {
24995
- border: `1px solid ${(theme.vars || theme).palette.action.disabled}`
24996
24513
  }, ownerState.variant === 'contained' && {
24997
24514
  color: (theme.vars || theme).palette.action.disabled,
24998
24515
  boxShadow: (theme.vars || theme).shadows[0],
@@ -25130,7 +24647,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25130
24647
  type,
25131
24648
  variant
25132
24649
  });
25133
- const classes = useUtilityClasses$1n(ownerState);
24650
+ const classes = useUtilityClasses$1o(ownerState);
25134
24651
  const startIcon = startIconProp && /*#__PURE__*/jsxRuntime_1(ButtonStartIcon, {
25135
24652
  className: classes.startIcon,
25136
24653
  ownerState: ownerState,
@@ -25274,7 +24791,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25274
24791
  [`& .${buttonGroupClasses$1.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.color)}`]
25275
24792
  }, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
25276
24793
  };
25277
- const useUtilityClasses$1m = ownerState => {
24794
+ const useUtilityClasses$1n = ownerState => {
25278
24795
  const {
25279
24796
  classes,
25280
24797
  color,
@@ -25396,7 +24913,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25396
24913
  size,
25397
24914
  variant
25398
24915
  });
25399
- const classes = useUtilityClasses$1m(ownerState);
24916
+ const classes = useUtilityClasses$1n(ownerState);
25400
24917
  const context = React__namespace.useMemo(() => ({
25401
24918
  className: classes.grouped,
25402
24919
  color,
@@ -25505,7 +25022,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25505
25022
  var cardClasses$1 = cardClasses;
25506
25023
 
25507
25024
  const _excluded$1C = ["className", "raised"];
25508
- const useUtilityClasses$1l = ownerState => {
25025
+ const useUtilityClasses$1m = ownerState => {
25509
25026
  const {
25510
25027
  classes
25511
25028
  } = ownerState;
@@ -25536,7 +25053,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25536
25053
  const ownerState = _extends({}, props, {
25537
25054
  raised
25538
25055
  });
25539
- const classes = useUtilityClasses$1l(ownerState);
25056
+ const classes = useUtilityClasses$1m(ownerState);
25540
25057
  return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
25541
25058
  className: clsx(classes.root, className),
25542
25059
  elevation: raised ? 8 : undefined,
@@ -25585,7 +25102,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25585
25102
  var cardActionAreaClasses$1 = cardActionAreaClasses;
25586
25103
 
25587
25104
  const _excluded$1B = ["children", "className", "focusVisibleClassName"];
25588
- const useUtilityClasses$1k = ownerState => {
25105
+ const useUtilityClasses$1l = ownerState => {
25589
25106
  const {
25590
25107
  classes
25591
25108
  } = ownerState;
@@ -25648,7 +25165,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25648
25165
  } = props,
25649
25166
  other = _objectWithoutPropertiesLoose(props, _excluded$1B);
25650
25167
  const ownerState = props;
25651
- const classes = useUtilityClasses$1k(ownerState);
25168
+ const classes = useUtilityClasses$1l(ownerState);
25652
25169
  return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
25653
25170
  className: clsx(classes.root, className),
25654
25171
  focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
@@ -25696,7 +25213,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25696
25213
  var cardActionsClasses$1 = cardActionsClasses;
25697
25214
 
25698
25215
  const _excluded$1A = ["disableSpacing", "className"];
25699
- const useUtilityClasses$1j = ownerState => {
25216
+ const useUtilityClasses$1k = ownerState => {
25700
25217
  const {
25701
25218
  classes,
25702
25219
  disableSpacing
@@ -25739,7 +25256,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25739
25256
  const ownerState = _extends({}, props, {
25740
25257
  disableSpacing
25741
25258
  });
25742
- const classes = useUtilityClasses$1j(ownerState);
25259
+ const classes = useUtilityClasses$1k(ownerState);
25743
25260
  return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
25744
25261
  className: clsx(classes.root, className),
25745
25262
  ownerState: ownerState,
@@ -25782,7 +25299,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25782
25299
  var cardContentClasses$1 = cardContentClasses;
25783
25300
 
25784
25301
  const _excluded$1z = ["className", "component"];
25785
- const useUtilityClasses$1i = ownerState => {
25302
+ const useUtilityClasses$1j = ownerState => {
25786
25303
  const {
25787
25304
  classes
25788
25305
  } = ownerState;
@@ -25816,7 +25333,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25816
25333
  const ownerState = _extends({}, props, {
25817
25334
  component
25818
25335
  });
25819
- const classes = useUtilityClasses$1i(ownerState);
25336
+ const classes = useUtilityClasses$1j(ownerState);
25820
25337
  return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
25821
25338
  as: component,
25822
25339
  className: clsx(classes.root, className),
@@ -25860,7 +25377,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25860
25377
  var cardHeaderClasses$1 = cardHeaderClasses;
25861
25378
 
25862
25379
  const _excluded$1y = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
25863
- const useUtilityClasses$1h = ownerState => {
25380
+ const useUtilityClasses$1i = ownerState => {
25864
25381
  const {
25865
25382
  classes
25866
25383
  } = ownerState;
@@ -25934,7 +25451,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25934
25451
  component,
25935
25452
  disableTypography
25936
25453
  });
25937
- const classes = useUtilityClasses$1h(ownerState);
25454
+ const classes = useUtilityClasses$1i(ownerState);
25938
25455
  let title = titleProp;
25939
25456
  if (title != null && title.type !== Typography$1 && !disableTypography) {
25940
25457
  title = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
@@ -26049,7 +25566,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26049
25566
  var cardMediaClasses$1 = cardMediaClasses;
26050
25567
 
26051
25568
  const _excluded$1x = ["children", "className", "component", "image", "src", "style"];
26052
- const useUtilityClasses$1g = ownerState => {
25569
+ const useUtilityClasses$1h = ownerState => {
26053
25570
  const {
26054
25571
  classes,
26055
25572
  isMediaComponent,
@@ -26111,7 +25628,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26111
25628
  isMediaComponent,
26112
25629
  isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
26113
25630
  });
26114
- const classes = useUtilityClasses$1g(ownerState);
25631
+ const classes = useUtilityClasses$1h(ownerState);
26115
25632
  return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
26116
25633
  className: clsx(classes.root, className),
26117
25634
  as: component,
@@ -26180,7 +25697,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26180
25697
  generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
26181
25698
 
26182
25699
  const _excluded$1w = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
26183
- const useUtilityClasses$1f = ownerState => {
25700
+ const useUtilityClasses$1g = ownerState => {
26184
25701
  const {
26185
25702
  classes,
26186
25703
  checked,
@@ -26292,7 +25809,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26292
25809
  disableFocusRipple,
26293
25810
  edge
26294
25811
  });
26295
- const classes = useUtilityClasses$1f(ownerState);
25812
+ const classes = useUtilityClasses$1g(ownerState);
26296
25813
  return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
26297
25814
  component: "span",
26298
25815
  className: clsx(classes.root, className),
@@ -26454,7 +25971,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26454
25971
  var checkboxClasses$1 = checkboxClasses;
26455
25972
 
26456
25973
  const _excluded$1v = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
26457
- const useUtilityClasses$1e = ownerState => {
25974
+ const useUtilityClasses$1f = ownerState => {
26458
25975
  const {
26459
25976
  classes,
26460
25977
  indeterminate,
@@ -26524,7 +26041,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26524
26041
  indeterminate,
26525
26042
  size
26526
26043
  });
26527
- const classes = useUtilityClasses$1e(ownerState);
26044
+ const classes = useUtilityClasses$1f(ownerState);
26528
26045
  return /*#__PURE__*/jsxRuntime_1(CheckboxRoot, _extends({
26529
26046
  type: "checkbox",
26530
26047
  inputProps: _extends({
@@ -26681,7 +26198,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26681
26198
  stroke-dashoffset: -125px;
26682
26199
  }
26683
26200
  `));
26684
- const useUtilityClasses$1d = ownerState => {
26201
+ const useUtilityClasses$1e = ownerState => {
26685
26202
  const {
26686
26203
  classes,
26687
26204
  variant,
@@ -26783,7 +26300,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26783
26300
  value,
26784
26301
  variant
26785
26302
  });
26786
- const classes = useUtilityClasses$1d(ownerState);
26303
+ const classes = useUtilityClasses$1e(ownerState);
26787
26304
  const circleStyle = {};
26788
26305
  const rootStyle = {};
26789
26306
  const rootProps = {};
@@ -27083,7 +26600,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27083
26600
 
27084
26601
  const _excluded$1t = ["BackdropComponent", "BackdropProps", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
27085
26602
  const modalClasses = modalUnstyledClasses$1;
27086
- const extendUtilityClasses$1 = ownerState => {
26603
+ const extendUtilityClasses = ownerState => {
27087
26604
  return ownerState.classes;
27088
26605
  };
27089
26606
  const ModalRoot = styled$1('div', {
@@ -27174,7 +26691,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27174
26691
  const ownerState = _extends({}, props, commonProps, {
27175
26692
  exited
27176
26693
  });
27177
- const classes = extendUtilityClasses$1(ownerState);
26694
+ const classes = extendUtilityClasses(ownerState);
27178
26695
  const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
27179
26696
  const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
27180
26697
  const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
@@ -27389,7 +26906,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27389
26906
  // Improve scrollable dialog support.
27390
26907
  zIndex: -1
27391
26908
  });
27392
- const useUtilityClasses$1c = ownerState => {
26909
+ const useUtilityClasses$1d = ownerState => {
27393
26910
  const {
27394
26911
  classes,
27395
26912
  scroll,
@@ -27550,7 +27067,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27550
27067
  maxWidth,
27551
27068
  scroll
27552
27069
  });
27553
- const classes = useUtilityClasses$1c(ownerState);
27070
+ const classes = useUtilityClasses$1d(ownerState);
27554
27071
  const backdropClick = React__namespace.useRef();
27555
27072
  const handleMouseDown = event => {
27556
27073
  // We don't want to close the dialog when clicking the dialog content.
@@ -27760,7 +27277,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27760
27277
  var dialogActionsClasses$1 = dialogActionsClasses;
27761
27278
 
27762
27279
  const _excluded$1r = ["className", "disableSpacing"];
27763
- const useUtilityClasses$1b = ownerState => {
27280
+ const useUtilityClasses$1c = ownerState => {
27764
27281
  const {
27765
27282
  classes,
27766
27283
  disableSpacing
@@ -27805,7 +27322,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27805
27322
  const ownerState = _extends({}, props, {
27806
27323
  disableSpacing
27807
27324
  });
27808
- const classes = useUtilityClasses$1b(ownerState);
27325
+ const classes = useUtilityClasses$1c(ownerState);
27809
27326
  return /*#__PURE__*/jsxRuntime_1(DialogActionsRoot, _extends({
27810
27327
  className: clsx(classes.root, className),
27811
27328
  ownerState: ownerState,
@@ -27854,7 +27371,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27854
27371
  var dialogTitleClasses$1 = dialogTitleClasses;
27855
27372
 
27856
27373
  const _excluded$1q = ["className", "dividers"];
27857
- const useUtilityClasses$1a = ownerState => {
27374
+ const useUtilityClasses$1b = ownerState => {
27858
27375
  const {
27859
27376
  classes,
27860
27377
  dividers
@@ -27904,7 +27421,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27904
27421
  const ownerState = _extends({}, props, {
27905
27422
  dividers
27906
27423
  });
27907
- const classes = useUtilityClasses$1a(ownerState);
27424
+ const classes = useUtilityClasses$1b(ownerState);
27908
27425
  return /*#__PURE__*/jsxRuntime_1(DialogContentRoot, _extends({
27909
27426
  className: clsx(classes.root, className),
27910
27427
  ownerState: ownerState,
@@ -27947,7 +27464,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27947
27464
  var dialogContentTextClasses$1 = dialogContentTextClasses;
27948
27465
 
27949
27466
  const _excluded$1p = ["children", "className"];
27950
- const useUtilityClasses$19 = ownerState => {
27467
+ const useUtilityClasses$1a = ownerState => {
27951
27468
  const {
27952
27469
  classes
27953
27470
  } = ownerState;
@@ -27972,7 +27489,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27972
27489
  className
27973
27490
  } = props,
27974
27491
  ownerState = _objectWithoutPropertiesLoose(props, _excluded$1p);
27975
- const classes = useUtilityClasses$19(ownerState);
27492
+ const classes = useUtilityClasses$1a(ownerState);
27976
27493
  return /*#__PURE__*/jsxRuntime_1(DialogContentTextRoot, _extends({
27977
27494
  component: "p",
27978
27495
  variant: "body1",
@@ -28009,7 +27526,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28009
27526
  var DialogContentText$1 = DialogContentText;
28010
27527
 
28011
27528
  const _excluded$1o = ["className", "id"];
28012
- const useUtilityClasses$18 = ownerState => {
27529
+ const useUtilityClasses$19 = ownerState => {
28013
27530
  const {
28014
27531
  classes
28015
27532
  } = ownerState;
@@ -28037,7 +27554,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28037
27554
  } = props,
28038
27555
  other = _objectWithoutPropertiesLoose(props, _excluded$1o);
28039
27556
  const ownerState = props;
28040
- const classes = useUtilityClasses$18(ownerState);
27557
+ const classes = useUtilityClasses$19(ownerState);
28041
27558
  const {
28042
27559
  titleId: id = idProp
28043
27560
  } = React__namespace.useContext(DialogContext$1);
@@ -28085,7 +27602,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28085
27602
  var dividerClasses$1 = dividerClasses;
28086
27603
 
28087
27604
  const _excluded$1n = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
28088
- const useUtilityClasses$17 = ownerState => {
27605
+ const useUtilityClasses$18 = ownerState => {
28089
27606
  const {
28090
27607
  absolute,
28091
27608
  children,
@@ -28238,7 +27755,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28238
27755
  textAlign,
28239
27756
  variant
28240
27757
  });
28241
- const classes = useUtilityClasses$17(ownerState);
27758
+ const classes = useUtilityClasses$18(ownerState);
28242
27759
  return /*#__PURE__*/jsxRuntime_1(DividerRoot, _extends({
28243
27760
  as: component,
28244
27761
  className: clsx(classes.root, className),
@@ -28643,7 +28160,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28643
28160
  } = props;
28644
28161
  return [styles.root, (ownerState.variant === 'permanent' || ownerState.variant === 'persistent') && styles.docked, styles.modal];
28645
28162
  };
28646
- const useUtilityClasses$16 = ownerState => {
28163
+ const useUtilityClasses$17 = ownerState => {
28647
28164
  const {
28648
28165
  classes,
28649
28166
  anchor,
@@ -28793,7 +28310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28793
28310
  open,
28794
28311
  variant
28795
28312
  }, other);
28796
- const classes = useUtilityClasses$16(ownerState);
28313
+ const classes = useUtilityClasses$17(ownerState);
28797
28314
  const drawer = /*#__PURE__*/jsxRuntime_1(DrawerPaper, _extends({
28798
28315
  elevation: variant === 'temporary' ? elevation : 0,
28799
28316
  square: true
@@ -28937,7 +28454,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28937
28454
  var fabClasses$1 = fabClasses;
28938
28455
 
28939
28456
  const _excluded$1k = ["children", "className", "color", "component", "disabled", "disableFocusRipple", "focusVisibleClassName", "size", "variant"];
28940
- const useUtilityClasses$15 = ownerState => {
28457
+ const useUtilityClasses$16 = ownerState => {
28941
28458
  const {
28942
28459
  color,
28943
28460
  variant,
@@ -29068,7 +28585,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29068
28585
  size,
29069
28586
  variant
29070
28587
  });
29071
- const classes = useUtilityClasses$15(ownerState);
28588
+ const classes = useUtilityClasses$16(ownerState);
29072
28589
  return /*#__PURE__*/jsxRuntime_1(FabRoot, _extends({
29073
28590
  className: clsx(classes.root, className),
29074
28591
  component: component,
@@ -29153,7 +28670,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29153
28670
  var Fab$1 = Fab;
29154
28671
 
29155
28672
  const _excluded$1j = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
29156
- const useUtilityClasses$14 = ownerState => {
28673
+ const useUtilityClasses$15 = ownerState => {
29157
28674
  const {
29158
28675
  classes,
29159
28676
  disableUnderline
@@ -29343,7 +28860,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29343
28860
  multiline,
29344
28861
  type
29345
28862
  });
29346
- const classes = useUtilityClasses$14(props);
28863
+ const classes = useUtilityClasses$15(props);
29347
28864
  const filledInputComponentsProps = {
29348
28865
  root: {
29349
28866
  ownerState
@@ -29573,7 +29090,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29573
29090
  var formControlClasses$1 = formControlClasses;
29574
29091
 
29575
29092
  const _excluded$1i = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
29576
- const useUtilityClasses$13 = ownerState => {
29093
+ const useUtilityClasses$14 = ownerState => {
29577
29094
  const {
29578
29095
  classes,
29579
29096
  margin,
@@ -29671,7 +29188,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29671
29188
  size,
29672
29189
  variant
29673
29190
  });
29674
- const classes = useUtilityClasses$13(ownerState);
29191
+ const classes = useUtilityClasses$14(ownerState);
29675
29192
  const [adornedStart, setAdornedStart] = React__namespace.useState(() => {
29676
29193
  // We need to iterate through the children and find the Input in order
29677
29194
  // to fully support server-side rendering.
@@ -29854,7 +29371,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29854
29371
  var formControlLabelClasses$1 = formControlLabelClasses;
29855
29372
 
29856
29373
  const _excluded$1h = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
29857
- const useUtilityClasses$12 = ownerState => {
29374
+ const useUtilityClasses$13 = ownerState => {
29858
29375
  const {
29859
29376
  classes,
29860
29377
  disabled,
@@ -29960,7 +29477,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29960
29477
  labelPlacement,
29961
29478
  error: fcs.error
29962
29479
  });
29963
- const classes = useUtilityClasses$12(ownerState);
29480
+ const classes = useUtilityClasses$13(ownerState);
29964
29481
  const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
29965
29482
  let label = labelProp;
29966
29483
  if (label != null && label.type !== Typography$1 && !disableTypography) {
@@ -30064,7 +29581,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30064
29581
  var formGroupClasses$1 = formGroupClasses;
30065
29582
 
30066
29583
  const _excluded$1g = ["className", "row"];
30067
- const useUtilityClasses$11 = ownerState => {
29584
+ const useUtilityClasses$12 = ownerState => {
30068
29585
  const {
30069
29586
  classes,
30070
29587
  row,
@@ -30119,7 +29636,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30119
29636
  row,
30120
29637
  error: fcs.error
30121
29638
  });
30122
- const classes = useUtilityClasses$11(ownerState);
29639
+ const classes = useUtilityClasses$12(ownerState);
30123
29640
  return /*#__PURE__*/jsxRuntime_1(FormGroupRoot, _extends({
30124
29641
  className: clsx(classes.root, className),
30125
29642
  ownerState: ownerState,
@@ -30163,7 +29680,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30163
29680
 
30164
29681
  var _span$3;
30165
29682
  const _excluded$1f = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
30166
- const useUtilityClasses$10 = ownerState => {
29683
+ const useUtilityClasses$11 = ownerState => {
30167
29684
  const {
30168
29685
  classes,
30169
29686
  contained,
@@ -30239,7 +29756,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30239
29756
  focused: fcs.focused,
30240
29757
  required: fcs.required
30241
29758
  });
30242
- const classes = useUtilityClasses$10(ownerState);
29759
+ const classes = useUtilityClasses$11(ownerState);
30243
29760
  return /*#__PURE__*/jsxRuntime_1(FormHelperTextRoot, _extends({
30244
29761
  as: component,
30245
29762
  ownerState: ownerState,
@@ -30320,7 +29837,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30320
29837
  var formLabelClasses$1 = formLabelClasses;
30321
29838
 
30322
29839
  const _excluded$1e = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
30323
- const useUtilityClasses$$ = ownerState => {
29840
+ const useUtilityClasses$10 = ownerState => {
30324
29841
  const {
30325
29842
  classes,
30326
29843
  color,
@@ -30400,7 +29917,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30400
29917
  focused: fcs.focused,
30401
29918
  required: fcs.required
30402
29919
  });
30403
- const classes = useUtilityClasses$$(ownerState);
29920
+ const classes = useUtilityClasses$10(ownerState);
30404
29921
  return /*#__PURE__*/jsxRuntime_2(FormLabelRoot, _extends({
30405
29922
  as: component,
30406
29923
  ownerState: ownerState,
@@ -30806,7 +30323,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30806
30323
  });
30807
30324
  return classes;
30808
30325
  }
30809
- const useUtilityClasses$_ = ownerState => {
30326
+ const useUtilityClasses$$ = ownerState => {
30810
30327
  const {
30811
30328
  classes,
30812
30329
  container,
@@ -30885,7 +30402,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30885
30402
  }, breakpointsValues, {
30886
30403
  breakpoints: breakpoints.keys
30887
30404
  });
30888
- const classes = useUtilityClasses$_(ownerState);
30405
+ const classes = useUtilityClasses$$(ownerState);
30889
30406
  return /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
30890
30407
  value: columns,
30891
30408
  children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
@@ -31661,7 +31178,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31661
31178
  generateUtilityClasses('PrivateHiddenCss', ['root', 'xlDown', 'xlUp', 'onlyXl', 'lgDown', 'lgUp', 'onlyLg', 'mdDown', 'mdUp', 'onlyMd', 'smDown', 'smUp', 'onlySm', 'xsDown', 'xsUp', 'onlyXs']);
31662
31179
 
31663
31180
  const _excluded$1a = ["children", "className", "only"];
31664
- const useUtilityClasses$Z = ownerState => {
31181
+ const useUtilityClasses$_ = ownerState => {
31665
31182
  const {
31666
31183
  classes,
31667
31184
  breakpoints
@@ -31760,7 +31277,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31760
31277
  const ownerState = _extends({}, props, {
31761
31278
  breakpoints
31762
31279
  });
31763
- const classes = useUtilityClasses$Z(ownerState);
31280
+ const classes = useUtilityClasses$_(ownerState);
31764
31281
  return /*#__PURE__*/jsxRuntime_1(HiddenCssRoot, {
31765
31282
  className: clsx(classes.root, className),
31766
31283
  ownerState: ownerState,
@@ -31960,7 +31477,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31960
31477
  var iconClasses$1 = iconClasses;
31961
31478
 
31962
31479
  const _excluded$18 = ["baseClassName", "className", "color", "component", "fontSize"];
31963
- const useUtilityClasses$Y = ownerState => {
31480
+ const useUtilityClasses$Z = ownerState => {
31964
31481
  const {
31965
31482
  color,
31966
31483
  fontSize,
@@ -32033,7 +31550,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32033
31550
  component: Component,
32034
31551
  fontSize
32035
31552
  });
32036
- const classes = useUtilityClasses$Y(ownerState);
31553
+ const classes = useUtilityClasses$Z(ownerState);
32037
31554
  return /*#__PURE__*/jsxRuntime_1(IconRoot, _extends({
32038
31555
  as: Component,
32039
31556
  className: clsx(baseClassName,
@@ -32110,7 +31627,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32110
31627
  var ImageListContext$1 = ImageListContext;
32111
31628
 
32112
31629
  const _excluded$17 = ["children", "className", "cols", "component", "rowHeight", "gap", "style", "variant"];
32113
- const useUtilityClasses$X = ownerState => {
31630
+ const useUtilityClasses$Y = ownerState => {
32114
31631
  const {
32115
31632
  classes,
32116
31633
  variant
@@ -32185,7 +31702,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32185
31702
  rowHeight,
32186
31703
  variant
32187
31704
  });
32188
- const classes = useUtilityClasses$X(ownerState);
31705
+ const classes = useUtilityClasses$Y(ownerState);
32189
31706
  return /*#__PURE__*/jsxRuntime_1(ImageListRoot, _extends({
32190
31707
  as: component,
32191
31708
  className: clsx(classes.root, classes[variant], className),
@@ -32259,7 +31776,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32259
31776
  var imageListItemClasses$1 = imageListItemClasses;
32260
31777
 
32261
31778
  const _excluded$16 = ["children", "className", "cols", "component", "rows", "style"];
32262
- const useUtilityClasses$W = ownerState => {
31779
+ const useUtilityClasses$X = ownerState => {
32263
31780
  const {
32264
31781
  classes,
32265
31782
  variant
@@ -32342,7 +31859,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32342
31859
  rows,
32343
31860
  variant
32344
31861
  });
32345
- const classes = useUtilityClasses$W(ownerState);
31862
+ const classes = useUtilityClasses$X(ownerState);
32346
31863
  return /*#__PURE__*/jsxRuntime_1(ImageListItemRoot, _extends({
32347
31864
  as: component,
32348
31865
  className: clsx(classes.root, classes[variant], className),
@@ -32423,7 +31940,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32423
31940
  var imageListItemBarClasses$1 = imageListItemBarClasses;
32424
31941
 
32425
31942
  const _excluded$15 = ["actionIcon", "actionPosition", "className", "subtitle", "title", "position"];
32426
- const useUtilityClasses$V = ownerState => {
31943
+ const useUtilityClasses$W = ownerState => {
32427
31944
  const {
32428
31945
  classes,
32429
31946
  position,
@@ -32561,7 +32078,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32561
32078
  position,
32562
32079
  actionPosition
32563
32080
  });
32564
- const classes = useUtilityClasses$V(ownerState);
32081
+ const classes = useUtilityClasses$W(ownerState);
32565
32082
  return /*#__PURE__*/jsxRuntime_2(ImageListItemBarRoot, _extends({
32566
32083
  ownerState: ownerState,
32567
32084
  className: clsx(classes.root, className),
@@ -32632,7 +32149,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32632
32149
  var ImageListItemBar$1 = ImageListItemBar;
32633
32150
 
32634
32151
  const _excluded$14 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
32635
- const useUtilityClasses$U = ownerState => {
32152
+ const useUtilityClasses$V = ownerState => {
32636
32153
  const {
32637
32154
  classes,
32638
32155
  disableUnderline
@@ -32745,7 +32262,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32745
32262
  type = 'text'
32746
32263
  } = props,
32747
32264
  other = _objectWithoutPropertiesLoose(props, _excluded$14);
32748
- const classes = useUtilityClasses$U(props);
32265
+ const classes = useUtilityClasses$V(props);
32749
32266
  const ownerState = {
32750
32267
  disableUnderline
32751
32268
  };
@@ -32975,7 +32492,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32975
32492
  } = props;
32976
32493
  return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
32977
32494
  };
32978
- const useUtilityClasses$T = ownerState => {
32495
+ const useUtilityClasses$U = ownerState => {
32979
32496
  const {
32980
32497
  classes,
32981
32498
  disablePointerEvents,
@@ -33053,7 +32570,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33053
32570
  position,
33054
32571
  variant
33055
32572
  });
33056
- const classes = useUtilityClasses$T(ownerState);
32573
+ const classes = useUtilityClasses$U(ownerState);
33057
32574
  return /*#__PURE__*/jsxRuntime_1(FormControlContext$1.Provider, {
33058
32575
  value: null,
33059
32576
  children: /*#__PURE__*/jsxRuntime_1(InputAdornmentRoot, _extends({
@@ -33131,7 +32648,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33131
32648
  var inputLabelClasses$1 = inputLabelClasses;
33132
32649
 
33133
32650
  const _excluded$12 = ["disableAnimation", "margin", "shrink", "variant", "className"];
33134
- const useUtilityClasses$S = ownerState => {
32651
+ const useUtilityClasses$T = ownerState => {
33135
32652
  const {
33136
32653
  classes,
33137
32654
  formControl,
@@ -33249,7 +32766,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33249
32766
  variant: fcs.variant,
33250
32767
  required: fcs.required
33251
32768
  });
33252
- const classes = useUtilityClasses$S(ownerState);
32769
+ const classes = useUtilityClasses$T(ownerState);
33253
32770
  return /*#__PURE__*/jsxRuntime_1(InputLabelRoot, _extends({
33254
32771
  "data-shrink": shrink,
33255
32772
  ownerState: ownerState,
@@ -33391,7 +32908,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33391
32908
  background-position: -200px -23px;
33392
32909
  }
33393
32910
  `));
33394
- const useUtilityClasses$R = ownerState => {
32911
+ const useUtilityClasses$S = ownerState => {
33395
32912
  const {
33396
32913
  classes,
33397
32914
  variant,
@@ -33573,7 +33090,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33573
33090
  color,
33574
33091
  variant
33575
33092
  });
33576
- const classes = useUtilityClasses$R(ownerState);
33093
+ const classes = useUtilityClasses$S(ownerState);
33577
33094
  const theme = useTheme();
33578
33095
  const rootProps = {};
33579
33096
  const inlineStyles = {
@@ -33700,7 +33217,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33700
33217
  var getTextDecoration$1 = getTextDecoration;
33701
33218
 
33702
33219
  const _excluded$10 = ["className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant", "sx"];
33703
- const useUtilityClasses$Q = ownerState => {
33220
+ const useUtilityClasses$R = ownerState => {
33704
33221
  const {
33705
33222
  classes,
33706
33223
  component,
@@ -33822,7 +33339,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33822
33339
  underline,
33823
33340
  variant
33824
33341
  });
33825
- const classes = useUtilityClasses$Q(ownerState);
33342
+ const classes = useUtilityClasses$R(ownerState);
33826
33343
  return /*#__PURE__*/jsxRuntime_1(LinkRoot, _extends({
33827
33344
  color: color,
33828
33345
  className: clsx(classes.root, className),
@@ -33910,7 +33427,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33910
33427
  var listClasses$1 = listClasses;
33911
33428
 
33912
33429
  const _excluded$$ = ["children", "className", "component", "dense", "disablePadding", "subheader"];
33913
- const useUtilityClasses$P = ownerState => {
33430
+ const useUtilityClasses$Q = ownerState => {
33914
33431
  const {
33915
33432
  classes,
33916
33433
  disablePadding,
@@ -33966,7 +33483,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33966
33483
  dense,
33967
33484
  disablePadding
33968
33485
  });
33969
- const classes = useUtilityClasses$P(ownerState);
33486
+ const classes = useUtilityClasses$Q(ownerState);
33970
33487
  return /*#__PURE__*/jsxRuntime_1(ListContext$1.Provider, {
33971
33488
  value: context,
33972
33489
  children: /*#__PURE__*/jsxRuntime_2(ListRoot, _extends({
@@ -34043,7 +33560,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34043
33560
  } = props;
34044
33561
  return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
34045
33562
  };
34046
- const useUtilityClasses$O = ownerState => {
33563
+ const useUtilityClasses$P = ownerState => {
34047
33564
  const {
34048
33565
  alignItems,
34049
33566
  classes,
@@ -34162,7 +33679,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34162
33679
  divider,
34163
33680
  selected
34164
33681
  });
34165
- const classes = useUtilityClasses$O(ownerState);
33682
+ const classes = useUtilityClasses$P(ownerState);
34166
33683
  const handleRef = useForkRef(listItemRef, ref);
34167
33684
  return /*#__PURE__*/jsxRuntime_1(ListContext$1.Provider, {
34168
33685
  value: childContext,
@@ -34266,7 +33783,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34266
33783
  var listItemSecondaryActionClasses$1 = listItemSecondaryActionClasses;
34267
33784
 
34268
33785
  const _excluded$Z = ["className"];
34269
- const useUtilityClasses$N = ownerState => {
33786
+ const useUtilityClasses$O = ownerState => {
34270
33787
  const {
34271
33788
  disableGutters,
34272
33789
  classes
@@ -34312,7 +33829,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34312
33829
  const ownerState = _extends({}, props, {
34313
33830
  disableGutters: context.disableGutters
34314
33831
  });
34315
- const classes = useUtilityClasses$N(ownerState);
33832
+ const classes = useUtilityClasses$O(ownerState);
34316
33833
  return /*#__PURE__*/jsxRuntime_1(ListItemSecondaryActionRoot, _extends({
34317
33834
  className: clsx(classes.root, className),
34318
33835
  ownerState: ownerState,
@@ -34352,7 +33869,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34352
33869
  } = props;
34353
33870
  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];
34354
33871
  };
34355
- const useUtilityClasses$M = ownerState => {
33872
+ const useUtilityClasses$N = ownerState => {
34356
33873
  const {
34357
33874
  alignItems,
34358
33875
  button,
@@ -34520,7 +34037,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34520
34037
  hasSecondaryAction,
34521
34038
  selected
34522
34039
  });
34523
- const classes = useUtilityClasses$M(ownerState);
34040
+ const classes = useUtilityClasses$N(ownerState);
34524
34041
  const handleRef = useForkRef(listItemRef, ref);
34525
34042
  const Root = slots.root || components.Root || ListItemRoot;
34526
34043
  const rootProps = slotProps.root || componentsProps.root || {};
@@ -34750,7 +34267,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34750
34267
  var listItemAvatarClasses$1 = listItemAvatarClasses;
34751
34268
 
34752
34269
  const _excluded$X = ["className"];
34753
- const useUtilityClasses$L = ownerState => {
34270
+ const useUtilityClasses$M = ownerState => {
34754
34271
  const {
34755
34272
  alignItems,
34756
34273
  classes
@@ -34794,7 +34311,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34794
34311
  const ownerState = _extends({}, props, {
34795
34312
  alignItems: context.alignItems
34796
34313
  });
34797
- const classes = useUtilityClasses$L(ownerState);
34314
+ const classes = useUtilityClasses$M(ownerState);
34798
34315
  return /*#__PURE__*/jsxRuntime_1(ListItemAvatarRoot, _extends({
34799
34316
  className: clsx(classes.root, className),
34800
34317
  ownerState: ownerState,
@@ -34832,7 +34349,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34832
34349
  var listItemIconClasses$1 = listItemIconClasses;
34833
34350
 
34834
34351
  const _excluded$W = ["className"];
34835
- const useUtilityClasses$K = ownerState => {
34352
+ const useUtilityClasses$L = ownerState => {
34836
34353
  const {
34837
34354
  alignItems,
34838
34355
  classes
@@ -34879,7 +34396,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34879
34396
  const ownerState = _extends({}, props, {
34880
34397
  alignItems: context.alignItems
34881
34398
  });
34882
- const classes = useUtilityClasses$K(ownerState);
34399
+ const classes = useUtilityClasses$L(ownerState);
34883
34400
  return /*#__PURE__*/jsxRuntime_1(ListItemIconRoot, _extends({
34884
34401
  className: clsx(classes.root, className),
34885
34402
  ownerState: ownerState,
@@ -34918,7 +34435,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34918
34435
  var listItemTextClasses$1 = listItemTextClasses;
34919
34436
 
34920
34437
  const _excluded$V = ["children", "className", "disableTypography", "inset", "primary", "primaryTypographyProps", "secondary", "secondaryTypographyProps"];
34921
- const useUtilityClasses$J = ownerState => {
34438
+ const useUtilityClasses$K = ownerState => {
34922
34439
  const {
34923
34440
  classes,
34924
34441
  inset,
@@ -34987,7 +34504,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34987
34504
  secondary: !!secondary,
34988
34505
  dense
34989
34506
  });
34990
- const classes = useUtilityClasses$J(ownerState);
34507
+ const classes = useUtilityClasses$K(ownerState);
34991
34508
  if (primary != null && primary.type !== Typography$1 && !disableTypography) {
34992
34509
  primary = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
34993
34510
  variant: dense ? 'body2' : 'body1',
@@ -35364,7 +34881,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35364
34881
  function resolveAnchorEl(anchorEl) {
35365
34882
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
35366
34883
  }
35367
- const useUtilityClasses$I = ownerState => {
34884
+ const useUtilityClasses$J = ownerState => {
35368
34885
  const {
35369
34886
  classes
35370
34887
  } = ownerState;
@@ -35442,7 +34959,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35442
34959
  transitionDuration: transitionDurationProp,
35443
34960
  TransitionProps
35444
34961
  });
35445
- const classes = useUtilityClasses$I(ownerState);
34962
+ const classes = useUtilityClasses$J(ownerState);
35446
34963
 
35447
34964
  // Returns the top/left offset of the position
35448
34965
  // to attach to on the anchor element (or body if none is provided)
@@ -35799,7 +35316,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35799
35316
  vertical: 'top',
35800
35317
  horizontal: 'left'
35801
35318
  };
35802
- const useUtilityClasses$H = ownerState => {
35319
+ const useUtilityClasses$I = ownerState => {
35803
35320
  const {
35804
35321
  classes
35805
35322
  } = ownerState;
@@ -35870,7 +35387,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35870
35387
  TransitionProps,
35871
35388
  variant
35872
35389
  });
35873
- const classes = useUtilityClasses$H(ownerState);
35390
+ const classes = useUtilityClasses$I(ownerState);
35874
35391
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
35875
35392
  const menuListActionsRef = React__namespace.useRef(null);
35876
35393
  const handleEntering = (element, isAppearing) => {
@@ -36050,7 +35567,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36050
35567
  } = props;
36051
35568
  return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
36052
35569
  };
36053
- const useUtilityClasses$G = ownerState => {
35570
+ const useUtilityClasses$H = ownerState => {
36054
35571
  const {
36055
35572
  disabled,
36056
35573
  dense,
@@ -36186,7 +35703,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36186
35703
  divider,
36187
35704
  disableGutters
36188
35705
  });
36189
- const classes = useUtilityClasses$G(props);
35706
+ const classes = useUtilityClasses$H(props);
36190
35707
  const handleRef = useForkRef(menuItemRef, ref);
36191
35708
  let tabIndex;
36192
35709
  if (!props.disabled) {
@@ -36291,7 +35808,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36291
35808
  var mobileStepperClasses$1 = mobileStepperClasses;
36292
35809
 
36293
35810
  const _excluded$Q = ["activeStep", "backButton", "className", "LinearProgressProps", "nextButton", "position", "steps", "variant"];
36294
- const useUtilityClasses$F = ownerState => {
35811
+ const useUtilityClasses$G = ownerState => {
36295
35812
  const {
36296
35813
  classes,
36297
35814
  position
@@ -36403,7 +35920,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36403
35920
  position,
36404
35921
  variant
36405
35922
  });
36406
- const classes = useUtilityClasses$F(ownerState);
35923
+ const classes = useUtilityClasses$G(ownerState);
36407
35924
  return /*#__PURE__*/jsxRuntime_2(MobileStepperRoot, _extends({
36408
35925
  square: true,
36409
35926
  elevation: 0,
@@ -36488,7 +36005,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36488
36005
  var nativeSelectClasses$1 = nativeSelectClasses;
36489
36006
 
36490
36007
  const _excluded$P = ["className", "disabled", "IconComponent", "inputRef", "variant"];
36491
- const useUtilityClasses$E = ownerState => {
36008
+ const useUtilityClasses$F = ownerState => {
36492
36009
  const {
36493
36010
  classes,
36494
36011
  variant,
@@ -36619,7 +36136,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36619
36136
  disabled,
36620
36137
  variant
36621
36138
  });
36622
- const classes = useUtilityClasses$E(ownerState);
36139
+ const classes = useUtilityClasses$F(ownerState);
36623
36140
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
36624
36141
  children: [/*#__PURE__*/jsxRuntime_1(NativeSelectSelect, _extends({
36625
36142
  ownerState: ownerState,
@@ -36689,7 +36206,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36689
36206
 
36690
36207
  const _excluded$O = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
36691
36208
  _excluded2$4 = ["root"];
36692
- const useUtilityClasses$D = ownerState => {
36209
+ const useUtilityClasses$E = ownerState => {
36693
36210
  const {
36694
36211
  classes
36695
36212
  } = ownerState;
@@ -36725,7 +36242,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36725
36242
  const ownerState = _extends({}, props, {
36726
36243
  classes: classesProp
36727
36244
  });
36728
- const classes = useUtilityClasses$D(ownerState);
36245
+ const classes = useUtilityClasses$E(ownerState);
36729
36246
  const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
36730
36247
  return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
36731
36248
  children: /*#__PURE__*/React__namespace.cloneElement(input, _extends({
@@ -36927,7 +36444,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36927
36444
  } ;
36928
36445
 
36929
36446
  const _excluded$M = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
36930
- const useUtilityClasses$C = ownerState => {
36447
+ const useUtilityClasses$D = ownerState => {
36931
36448
  const {
36932
36449
  classes
36933
36450
  } = ownerState;
@@ -37046,7 +36563,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37046
36563
  type = 'text'
37047
36564
  } = props,
37048
36565
  other = _objectWithoutPropertiesLoose(props, _excluded$M);
37049
- const classes = useUtilityClasses$C(props);
36566
+ const classes = useUtilityClasses$D(props);
37050
36567
  const muiFormControl = useFormControl();
37051
36568
  const fcs = formControlState({
37052
36569
  props,
@@ -37406,7 +36923,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37406
36923
  } = props;
37407
36924
  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];
37408
36925
  };
37409
- const useUtilityClasses$B = ownerState => {
36926
+ const useUtilityClasses$C = ownerState => {
37410
36927
  const {
37411
36928
  classes,
37412
36929
  color,
@@ -37615,7 +37132,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37615
37132
  variant
37616
37133
  });
37617
37134
  const theme = useTheme();
37618
- const classes = useUtilityClasses$B(ownerState);
37135
+ const classes = useUtilityClasses$C(ownerState);
37619
37136
  const normalizedIcons = theme.direction === 'rtl' ? {
37620
37137
  previous: slots.next || components.next || NavigateNextIcon,
37621
37138
  next: slots.previous || components.previous || NavigateBeforeIcon,
@@ -37745,7 +37262,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37745
37262
  var PaginationItem$1 = PaginationItem;
37746
37263
 
37747
37264
  const _excluded$J = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"];
37748
- const useUtilityClasses$A = ownerState => {
37265
+ const useUtilityClasses$B = ownerState => {
37749
37266
  const {
37750
37267
  classes,
37751
37268
  variant
@@ -37830,7 +37347,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37830
37347
  size,
37831
37348
  variant
37832
37349
  });
37833
- const classes = useUtilityClasses$A(ownerState);
37350
+ const classes = useUtilityClasses$B(ownerState);
37834
37351
  return /*#__PURE__*/jsxRuntime_1(PaginationRoot, _extends({
37835
37352
  "aria-label": "pagination navigation",
37836
37353
  className: clsx(classes.root, className),
@@ -38069,7 +37586,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38069
37586
  var radioClasses$1 = radioClasses;
38070
37587
 
38071
37588
  const _excluded$I = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
38072
- const useUtilityClasses$z = ownerState => {
37589
+ const useUtilityClasses$A = ownerState => {
38073
37590
  const {
38074
37591
  classes,
38075
37592
  color
@@ -38144,7 +37661,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38144
37661
  color,
38145
37662
  size
38146
37663
  });
38147
- const classes = useUtilityClasses$z(ownerState);
37664
+ const classes = useUtilityClasses$A(ownerState);
38148
37665
  const radioGroup = useRadioGroup();
38149
37666
  let checked = checkedProp;
38150
37667
  const onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);
@@ -38382,7 +37899,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38382
37899
  const nearest = Math.round(value / precision) * precision;
38383
37900
  return Number(nearest.toFixed(getDecimalPrecision(precision)));
38384
37901
  }
38385
- const useUtilityClasses$y = ownerState => {
37902
+ const useUtilityClasses$z = ownerState => {
38386
37903
  const {
38387
37904
  classes,
38388
37905
  size,
@@ -38785,7 +38302,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38785
38302
  readOnly,
38786
38303
  size
38787
38304
  });
38788
- const classes = useUtilityClasses$y(ownerState);
38305
+ const classes = useUtilityClasses$z(ownerState);
38789
38306
  return /*#__PURE__*/jsxRuntime_2(RatingRoot, _extends({
38790
38307
  ref: handleRef,
38791
38308
  onMouseMove: handleMouseMove,
@@ -38997,7 +38514,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38997
38514
  var scopedCssBaselineClasses$1 = scopedCssBaselineClasses;
38998
38515
 
38999
38516
  const _excluded$F = ["className", "component", "enableColorScheme"];
39000
- const useUtilityClasses$x = ownerState => {
38517
+ const useUtilityClasses$y = ownerState => {
39001
38518
  const {
39002
38519
  classes
39003
38520
  } = ownerState;
@@ -39045,7 +38562,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39045
38562
  const ownerState = _extends({}, props, {
39046
38563
  component
39047
38564
  });
39048
- const classes = useUtilityClasses$x(ownerState);
38565
+ const classes = useUtilityClasses$y(ownerState);
39049
38566
  return /*#__PURE__*/jsxRuntime_1(ScopedCssBaselineRoot, _extends({
39050
38567
  as: component,
39051
38568
  className: clsx(classes.root, className),
@@ -39160,7 +38677,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39160
38677
  function isEmpty(display) {
39161
38678
  return display == null || typeof display === 'string' && !display.trim();
39162
38679
  }
39163
- const useUtilityClasses$w = ownerState => {
38680
+ const useUtilityClasses$x = ownerState => {
39164
38681
  const {
39165
38682
  classes,
39166
38683
  variant,
@@ -39518,7 +39035,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39518
39035
  value,
39519
39036
  open
39520
39037
  });
39521
- const classes = useUtilityClasses$w(ownerState);
39038
+ const classes = useUtilityClasses$x(ownerState);
39522
39039
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
39523
39040
  children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
39524
39041
  ref: handleDisplayRef,
@@ -39733,7 +39250,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39733
39250
 
39734
39251
  var _StyledInput, _StyledFilledInput;
39735
39252
  const _excluded$D = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
39736
- const useUtilityClasses$v = ownerState => {
39253
+ const useUtilityClasses$w = ownerState => {
39737
39254
  const {
39738
39255
  classes
39739
39256
  } = ownerState;
@@ -39796,7 +39313,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39796
39313
  variant,
39797
39314
  classes: classesProp
39798
39315
  });
39799
- const classes = useUtilityClasses$v(ownerState);
39316
+ const classes = useUtilityClasses$w(ownerState);
39800
39317
  const inputComponentRef = useForkRef(ref, InputComponent.ref);
39801
39318
  return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
39802
39319
  children: /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
@@ -40000,7 +39517,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40000
39517
  _t2,
40001
39518
  _t3,
40002
39519
  _t4;
40003
- const useUtilityClasses$u = ownerState => {
39520
+ const useUtilityClasses$v = ownerState => {
40004
39521
  const {
40005
39522
  classes,
40006
39523
  variant,
@@ -40136,7 +39653,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40136
39653
  variant,
40137
39654
  hasChildren: Boolean(other.children)
40138
39655
  });
40139
- const classes = useUtilityClasses$u(ownerState);
39656
+ const classes = useUtilityClasses$v(ownerState);
40140
39657
  return /*#__PURE__*/jsxRuntime_1(SkeletonRoot, _extends({
40141
39658
  as: component,
40142
39659
  ref: ref,
@@ -40203,8 +39720,64 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40203
39720
  } ;
40204
39721
  var Skeleton$1 = Skeleton;
40205
39722
 
40206
- const _excluded$B = ["component", "components", "componentsProps", "color", "size", "slotProps", "slots"];
40207
- const sliderClasses = _extends({}, sliderUnstyledClasses$1, generateUtilityClasses('MuiSlider', ['colorPrimary', 'colorSecondary', 'thumbColorPrimary', 'thumbColorSecondary', 'sizeSmall', 'thumbSizeSmall']));
39723
+ function getSliderUtilityClass(slot) {
39724
+ return generateUtilityClass('MuiSlider', slot);
39725
+ }
39726
+ const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
39727
+ var sliderClasses$1 = sliderClasses;
39728
+
39729
+ const useValueLabelClasses = props => {
39730
+ const {
39731
+ open
39732
+ } = props;
39733
+ const utilityClasses = {
39734
+ offset: clsx(open && sliderClasses$1.valueLabelOpen),
39735
+ circle: sliderClasses$1.valueLabelCircle,
39736
+ label: sliderClasses$1.valueLabelLabel
39737
+ };
39738
+ return utilityClasses;
39739
+ };
39740
+
39741
+ /**
39742
+ * @ignore - internal component.
39743
+ */
39744
+ function SliderValueLabel(props) {
39745
+ const {
39746
+ children,
39747
+ className,
39748
+ value
39749
+ } = props;
39750
+ const classes = useValueLabelClasses(props);
39751
+ if (!children) {
39752
+ return null;
39753
+ }
39754
+ return /*#__PURE__*/React__namespace.cloneElement(children, {
39755
+ className: clsx(children.props.className)
39756
+ }, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
39757
+ children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
39758
+ className: clsx(classes.offset, className),
39759
+ "aria-hidden": true,
39760
+ children: /*#__PURE__*/jsxRuntime_1("span", {
39761
+ className: classes.circle,
39762
+ children: /*#__PURE__*/jsxRuntime_1("span", {
39763
+ className: classes.label,
39764
+ children: value
39765
+ })
39766
+ })
39767
+ })]
39768
+ }));
39769
+ }
39770
+ SliderValueLabel.propTypes = {
39771
+ children: PropTypes.element.isRequired,
39772
+ className: PropTypes.string,
39773
+ value: PropTypes.node
39774
+ } ;
39775
+
39776
+ 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"];
39777
+ const valueToPercent = (value, min, max) => (value - min) * 100 / (max - min);
39778
+ function Identity(x) {
39779
+ return x;
39780
+ }
40208
39781
  const SliderRoot = styled$1('span', {
40209
39782
  name: 'MuiSlider',
40210
39783
  slot: 'Root',
@@ -40256,13 +39829,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40256
39829
  '@media print': {
40257
39830
  colorAdjust: 'exact'
40258
39831
  },
40259
- [`&.${sliderClasses.disabled}`]: {
39832
+ [`&.${sliderClasses$1.disabled}`]: {
40260
39833
  pointerEvents: 'none',
40261
39834
  cursor: 'default',
40262
39835
  color: (theme.vars || theme).palette.grey[400]
40263
39836
  },
40264
- [`&.${sliderClasses.dragging}`]: {
40265
- [`& .${sliderClasses.thumb}, & .${sliderClasses.track}`]: {
39837
+ [`&.${sliderClasses$1.dragging}`]: {
39838
+ [`& .${sliderClasses$1.thumb}, & .${sliderClasses$1.track}`]: {
40266
39839
  transition: 'none'
40267
39840
  }
40268
39841
  }
@@ -40416,16 +39989,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40416
39989
  left: '50%',
40417
39990
  transform: 'translate(-50%, -50%)'
40418
39991
  },
40419
- [`&:hover, &.${sliderClasses.focusVisible}`]: {
39992
+ [`&:hover, &.${sliderClasses$1.focusVisible}`]: {
40420
39993
  boxShadow: `0px 0px 0px 8px ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.16)` : alpha(theme.palette[ownerState.color].main, 0.16)}`,
40421
39994
  '@media (hover: none)': {
40422
39995
  boxShadow: 'none'
40423
39996
  }
40424
39997
  },
40425
- [`&.${sliderClasses.active}`]: {
39998
+ [`&.${sliderClasses$1.active}`]: {
40426
39999
  boxShadow: `0px 0px 0px 14px ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.16)` : alpha(theme.palette[ownerState.color].main, 0.16)}`
40427
40000
  },
40428
- [`&.${sliderClasses.disabled}`]: {
40001
+ [`&.${sliderClasses$1.disabled}`]: {
40429
40002
  '&:hover': {
40430
40003
  boxShadow: 'none'
40431
40004
  }
@@ -40441,7 +40014,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40441
40014
  */
40442
40015
  children: PropTypes.node
40443
40016
  } ;
40444
- const SliderValueLabel = styled$1(SliderValueLabelUnstyled, {
40017
+ const StyledSliderValueLabel = styled$1(SliderValueLabel, {
40445
40018
  name: 'MuiSlider',
40446
40019
  slot: 'ValueLabel',
40447
40020
  overridesResolver: (props, styles) => styles.valueLabel
@@ -40449,7 +40022,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40449
40022
  theme,
40450
40023
  ownerState
40451
40024
  }) => _extends({
40452
- [`&.${sliderClasses.valueLabelOpen}`]: {
40025
+ [`&.${sliderClasses$1.valueLabelOpen}`]: {
40453
40026
  transform: 'translateY(-100%) scale(1)'
40454
40027
  },
40455
40028
  zIndex: 1,
@@ -40499,7 +40072,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40499
40072
  fontSize: theme.typography.pxToRem(12),
40500
40073
  padding: '0.25rem 0.5rem'
40501
40074
  }));
40502
- SliderValueLabel.propTypes /* remove-proptypes */ = {
40075
+ StyledSliderValueLabel.propTypes /* remove-proptypes */ = {
40503
40076
  // ----------------------------- Warning --------------------------------
40504
40077
  // | These PropTypes are generated from the TypeScript type definitions |
40505
40078
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -40587,19 +40160,38 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40587
40160
  */
40588
40161
  children: PropTypes.node
40589
40162
  } ;
40590
- const extendUtilityClasses = ownerState => {
40163
+ const useUtilityClasses$u = ownerState => {
40591
40164
  const {
40165
+ disabled,
40166
+ dragging,
40167
+ marked,
40168
+ orientation,
40169
+ track,
40170
+ classes,
40592
40171
  color,
40593
- size,
40594
- classes = {}
40172
+ size
40595
40173
  } = ownerState;
40596
- return _extends({}, classes, {
40597
- root: clsx(classes.root, getSliderUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`], size && [getSliderUtilityClass(`size${capitalize(size)}`), classes[`size${capitalize(size)}`]]),
40598
- thumb: clsx(classes.thumb, getSliderUtilityClass(`thumbColor${capitalize(color)}`), classes[`thumbColor${capitalize(color)}`], size && [getSliderUtilityClass(`thumbSize${capitalize(size)}`), classes[`thumbSize${capitalize(size)}`]])
40599
- });
40174
+ const slots = {
40175
+ 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)}`],
40176
+ rail: ['rail'],
40177
+ track: ['track'],
40178
+ mark: ['mark'],
40179
+ markActive: ['markActive'],
40180
+ markLabel: ['markLabel'],
40181
+ markLabelActive: ['markLabelActive'],
40182
+ valueLabel: ['valueLabel'],
40183
+ thumb: ['thumb', disabled && 'disabled', size && `thumbSize${capitalize(size)}`, color && `thumbColor${capitalize(color)}`],
40184
+ active: ['active'],
40185
+ disabled: ['disabled'],
40186
+ focusVisible: ['focusVisible']
40187
+ };
40188
+ return composeClasses(slots, getSliderUtilityClass, classes);
40600
40189
  };
40190
+ const Forward = ({
40191
+ children
40192
+ }) => children;
40601
40193
  const Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
40602
- 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;
40194
+ 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;
40603
40195
  const props = useThemeProps({
40604
40196
  props: inputProps,
40605
40197
  name: 'MuiSlider'
@@ -40607,31 +40199,84 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40607
40199
  const theme = useTheme();
40608
40200
  const isRtl = theme.direction === 'rtl';
40609
40201
  const {
40202
+ 'aria-label': ariaLabel,
40203
+ 'aria-valuetext': ariaValuetext,
40204
+ 'aria-labelledby': ariaLabelledby,
40610
40205
  // eslint-disable-next-line react/prop-types
40611
40206
  component = 'span',
40612
40207
  components = {},
40613
40208
  componentsProps = {},
40614
40209
  color = 'primary',
40210
+ classes: classesProp,
40211
+ // eslint-disable-next-line react/prop-types
40212
+ className,
40213
+ disableSwap = false,
40214
+ disabled = false,
40215
+ getAriaLabel,
40216
+ getAriaValueText,
40217
+ marks: marksProp = false,
40218
+ max = 100,
40219
+ min = 0,
40220
+ orientation = 'horizontal',
40615
40221
  size = 'medium',
40222
+ step = 1,
40223
+ scale = Identity,
40616
40224
  slotProps,
40617
- slots
40225
+ slots,
40226
+ track = 'normal',
40227
+ valueLabelDisplay = 'off',
40228
+ valueLabelFormat = Identity
40618
40229
  } = props,
40619
40230
  other = _objectWithoutPropertiesLoose(props, _excluded$B);
40620
40231
  const ownerState = _extends({}, props, {
40232
+ isRtl,
40233
+ max,
40234
+ min,
40235
+ classes: classesProp,
40236
+ disabled,
40237
+ disableSwap,
40238
+ orientation,
40239
+ marks: marksProp,
40621
40240
  color,
40622
- size
40241
+ size,
40242
+ step,
40243
+ scale,
40244
+ track,
40245
+ valueLabelDisplay,
40246
+ valueLabelFormat
40623
40247
  });
40624
- const classes = extendUtilityClasses(ownerState);
40248
+ const {
40249
+ axisProps,
40250
+ getRootProps,
40251
+ getHiddenInputProps,
40252
+ getThumbProps,
40253
+ open,
40254
+ active,
40255
+ axis,
40256
+ focusedThumbIndex,
40257
+ range,
40258
+ dragging,
40259
+ marks,
40260
+ values,
40261
+ trackOffset,
40262
+ trackLeap
40263
+ } = useSlider(_extends({}, ownerState, {
40264
+ ref
40265
+ }));
40266
+ ownerState.marked = marks.length > 0 && marks.some(mark => mark.label);
40267
+ ownerState.dragging = dragging;
40268
+ ownerState.focusedThumbIndex = focusedThumbIndex;
40269
+ const classes = useUtilityClasses$u(ownerState);
40625
40270
 
40626
40271
  // support both `slots` and `components` for backward compatibility
40627
40272
  const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : SliderRoot;
40628
40273
  const RailSlot = (_ref2 = (_slots$rail = slots == null ? void 0 : slots.rail) != null ? _slots$rail : components.Rail) != null ? _ref2 : SliderRail;
40629
40274
  const TrackSlot = (_ref3 = (_slots$track = slots == null ? void 0 : slots.track) != null ? _slots$track : components.Track) != null ? _ref3 : SliderTrack;
40630
40275
  const ThumbSlot = (_ref4 = (_slots$thumb = slots == null ? void 0 : slots.thumb) != null ? _slots$thumb : components.Thumb) != null ? _ref4 : SliderThumb;
40631
- const ValueLabelSlot = (_ref5 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref5 : SliderValueLabel;
40276
+ const ValueLabelSlot = (_ref5 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref5 : StyledSliderValueLabel;
40632
40277
  const MarkSlot = (_ref6 = (_slots$mark = slots == null ? void 0 : slots.mark) != null ? _slots$mark : components.Mark) != null ? _ref6 : SliderMark;
40633
40278
  const MarkLabelSlot = (_ref7 = (_slots$markLabel = slots == null ? void 0 : slots.markLabel) != null ? _slots$markLabel : components.MarkLabel) != null ? _ref7 : SliderMarkLabel;
40634
- const InputSlot = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input;
40279
+ const InputSlot = (_ref8 = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input) != null ? _ref8 : 'input';
40635
40280
  const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
40636
40281
  const railSlotProps = (_slotProps$rail = slotProps == null ? void 0 : slotProps.rail) != null ? _slotProps$rail : componentsProps.rail;
40637
40282
  const trackSlotProps = (_slotProps$track = slotProps == null ? void 0 : slotProps.track) != null ? _slotProps$track : componentsProps.track;
@@ -40640,51 +40285,123 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40640
40285
  const markSlotProps = (_slotProps$mark = slotProps == null ? void 0 : slotProps.mark) != null ? _slotProps$mark : componentsProps.mark;
40641
40286
  const markLabelSlotProps = (_slotProps$markLabel = slotProps == null ? void 0 : slotProps.markLabel) != null ? _slotProps$markLabel : componentsProps.markLabel;
40642
40287
  const inputSlotProps = (_slotProps$input = slotProps == null ? void 0 : slotProps.input) != null ? _slotProps$input : componentsProps.input;
40643
- return /*#__PURE__*/jsxRuntime_1(SliderUnstyled$1, _extends({}, other, {
40644
- isRtl: isRtl,
40645
- slots: {
40646
- root: RootSlot,
40647
- rail: RailSlot,
40648
- track: TrackSlot,
40649
- thumb: ThumbSlot,
40650
- valueLabel: ValueLabelSlot,
40651
- mark: MarkSlot,
40652
- markLabel: MarkLabelSlot,
40653
- input: InputSlot
40654
- },
40655
- slotProps: _extends({}, componentsProps, {
40656
- root: _extends({}, rootSlotProps, shouldSpreadAdditionalProps$1(RootSlot) && {
40657
- as: component,
40658
- ownerState: _extends({}, rootSlotProps == null ? void 0 : rootSlotProps.ownerState, {
40659
- color,
40660
- size
40661
- })
40662
- }),
40663
- rail: railSlotProps,
40664
- thumb: _extends({}, thumbSlotProps, shouldSpreadAdditionalProps$1(ThumbSlot) && {
40665
- ownerState: _extends({}, thumbSlotProps == null ? void 0 : thumbSlotProps.ownerState, {
40666
- color,
40667
- size
40668
- })
40669
- }),
40670
- track: _extends({}, trackSlotProps, shouldSpreadAdditionalProps$1(TrackSlot) && {
40671
- ownerState: _extends({}, trackSlotProps == null ? void 0 : trackSlotProps.ownerState, {
40672
- color,
40673
- size
40674
- })
40675
- }),
40676
- valueLabel: _extends({}, valueLabelSlotProps, shouldSpreadAdditionalProps$1(ValueLabelSlot) && {
40677
- ownerState: _extends({}, valueLabelSlotProps == null ? void 0 : valueLabelSlotProps.ownerState, {
40678
- color,
40679
- size
40680
- })
40681
- }),
40682
- mark: markSlotProps,
40683
- markLabel: markLabelSlotProps,
40684
- input: inputSlotProps
40288
+ const rootProps = useSlotProps({
40289
+ elementType: RootSlot,
40290
+ getSlotProps: getRootProps,
40291
+ externalSlotProps: rootSlotProps,
40292
+ externalForwardedProps: other,
40293
+ additionalProps: _extends({}, shouldSpreadAdditionalProps$1(RootSlot) && {
40294
+ as: component
40685
40295
  }),
40686
- classes: classes,
40687
- ref: ref
40296
+ ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
40297
+ className: [classes.root, className]
40298
+ });
40299
+ const railProps = useSlotProps({
40300
+ elementType: RailSlot,
40301
+ externalSlotProps: railSlotProps,
40302
+ ownerState,
40303
+ className: classes.rail
40304
+ });
40305
+ const trackProps = useSlotProps({
40306
+ elementType: TrackSlot,
40307
+ externalSlotProps: trackSlotProps,
40308
+ additionalProps: {
40309
+ style: _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap))
40310
+ },
40311
+ ownerState: _extends({}, ownerState, trackSlotProps == null ? void 0 : trackSlotProps.ownerState),
40312
+ className: classes.track
40313
+ });
40314
+ const thumbProps = useSlotProps({
40315
+ elementType: ThumbSlot,
40316
+ getSlotProps: getThumbProps,
40317
+ externalSlotProps: thumbSlotProps,
40318
+ ownerState: _extends({}, ownerState, thumbSlotProps == null ? void 0 : thumbSlotProps.ownerState)
40319
+ });
40320
+ const valueLabelProps = useSlotProps({
40321
+ elementType: ValueLabelSlot,
40322
+ externalSlotProps: valueLabelSlotProps,
40323
+ ownerState: _extends({}, ownerState, valueLabelSlotProps == null ? void 0 : valueLabelSlotProps.ownerState),
40324
+ className: classes.valueLabel
40325
+ });
40326
+ const markProps = useSlotProps({
40327
+ elementType: MarkSlot,
40328
+ externalSlotProps: markSlotProps,
40329
+ ownerState,
40330
+ className: classes.mark
40331
+ });
40332
+ const markLabelProps = useSlotProps({
40333
+ elementType: MarkLabelSlot,
40334
+ externalSlotProps: markLabelSlotProps,
40335
+ ownerState
40336
+ });
40337
+ const inputSliderProps = useSlotProps({
40338
+ elementType: InputSlot,
40339
+ getSlotProps: getHiddenInputProps,
40340
+ externalSlotProps: inputSlotProps,
40341
+ ownerState
40342
+ });
40343
+ return /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
40344
+ 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) => {
40345
+ const percent = valueToPercent(mark.value, min, max);
40346
+ const style = axisProps[axis].offset(percent);
40347
+ let markActive;
40348
+ if (track === false) {
40349
+ markActive = values.indexOf(mark.value) !== -1;
40350
+ } else {
40351
+ 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]);
40352
+ }
40353
+ return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
40354
+ children: [/*#__PURE__*/jsxRuntime_1(MarkSlot, _extends({
40355
+ "data-index": index
40356
+ }, markProps, !isHostComponent(MarkSlot) && {
40357
+ markActive
40358
+ }, {
40359
+ style: _extends({}, style, markProps.style),
40360
+ className: clsx(markProps.className, markActive && classes.markActive)
40361
+ })), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabelSlot, _extends({
40362
+ "aria-hidden": true,
40363
+ "data-index": index
40364
+ }, markLabelProps, !isHostComponent(MarkLabelSlot) && {
40365
+ markLabelActive: markActive
40366
+ }, {
40367
+ style: _extends({}, style, markLabelProps.style),
40368
+ className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
40369
+ children: mark.label
40370
+ })) : null]
40371
+ }, index);
40372
+ }), values.map((value, index) => {
40373
+ const percent = valueToPercent(value, min, max);
40374
+ const style = axisProps[axis].offset(percent);
40375
+ const ValueLabelComponent = valueLabelDisplay === 'off' ? Forward : ValueLabelSlot;
40376
+ return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
40377
+ children: /*#__PURE__*/jsxRuntime_1(ValueLabelComponent, _extends({}, !isHostComponent(ValueLabelComponent) && {
40378
+ valueLabelFormat,
40379
+ valueLabelDisplay,
40380
+ value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,
40381
+ index,
40382
+ open: open === index || active === index || valueLabelDisplay === 'on',
40383
+ disabled
40384
+ }, valueLabelProps, {
40385
+ children: /*#__PURE__*/jsxRuntime_1(ThumbSlot, _extends({
40386
+ "data-index": index,
40387
+ "data-focusvisible": focusedThumbIndex === index
40388
+ }, thumbProps, {
40389
+ className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
40390
+ style: _extends({}, style, {
40391
+ pointerEvents: disableSwap && active !== index ? 'none' : undefined
40392
+ }, thumbProps.style),
40393
+ children: /*#__PURE__*/jsxRuntime_1(InputSlot, _extends({
40394
+ "data-index": index,
40395
+ "aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
40396
+ "aria-valuenow": scale(value),
40397
+ "aria-labelledby": ariaLabelledby,
40398
+ "aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
40399
+ value: values[index]
40400
+ }, inputSliderProps))
40401
+ }))
40402
+ }))
40403
+ }, index);
40404
+ })]
40688
40405
  }));
40689
40406
  });
40690
40407
  Slider.propTypes /* remove-proptypes */ = {
@@ -40854,7 +40571,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40854
40571
  orientation: PropTypes.oneOf(['horizontal', 'vertical']),
40855
40572
  /**
40856
40573
  * A transformation function, to change the scale of the slider.
40857
- * @default (x) => x
40574
+ * @param {any} x
40575
+ * @returns {any}
40576
+ * @default function Identity(x) {
40577
+ * return x;
40578
+ * }
40858
40579
  */
40859
40580
  scale: PropTypes.func,
40860
40581
  /**
@@ -40945,7 +40666,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40945
40666
  *
40946
40667
  * - {number} value The value label's value to format
40947
40668
  * - {number} index The value label's index to format
40948
- * @default (x) => x
40669
+ * @param {any} x
40670
+ * @returns {any}
40671
+ * @default function Identity(x) {
40672
+ * return x;
40673
+ * }
40949
40674
  */
40950
40675
  valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
40951
40676
  } ;
@@ -44620,7 +44345,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44620
44345
  var SwipeArea$1 = SwipeArea;
44621
44346
 
44622
44347
  const _excluded$k = ["BackdropProps"],
44623
- _excluded2 = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hysteresis", "minFlingVelocity", "ModalProps", "onClose", "onOpen", "open", "PaperProps", "SwipeAreaProps", "swipeAreaWidth", "transitionDuration", "variant"];
44348
+ _excluded2 = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hysteresis", "allowSwipeInChildren", "minFlingVelocity", "ModalProps", "onClose", "onOpen", "open", "PaperProps", "SwipeAreaProps", "swipeAreaWidth", "transitionDuration", "variant"];
44624
44349
  const UNCERTAINTY_THRESHOLD = 3; // px
44625
44350
 
44626
44351
  // This is the part of the drawer displayed on touch start.
@@ -44725,6 +44450,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44725
44450
  disableSwipeToOpen = iOS,
44726
44451
  hideBackdrop,
44727
44452
  hysteresis = 0.52,
44453
+ allowSwipeInChildren = false,
44728
44454
  minFlingVelocity = 450,
44729
44455
  ModalProps: {
44730
44456
  BackdropProps
@@ -44844,6 +44570,30 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44844
44570
  });
44845
44571
  }
44846
44572
  });
44573
+ const startMaybeSwiping = (force = false) => {
44574
+ if (!maybeSwiping) {
44575
+ // on Safari Mobile, if you want to be able to have the 'click' event fired on child elements, nothing in the DOM can be changed.
44576
+ // this is because Safari Mobile will not fire any mouse events (still fires touch though) if the DOM changes during mousemove.
44577
+ // so do this change on first touchmove instead of touchstart
44578
+ if (force || !(disableDiscovery && allowSwipeInChildren)) {
44579
+ ReactDOM.flushSync(() => {
44580
+ setMaybeSwiping(true);
44581
+ });
44582
+ }
44583
+ const horizontalSwipe = isHorizontal(anchor);
44584
+ if (!open && paperRef.current) {
44585
+ // The ref may be null when a parent component updates while swiping.
44586
+ setPosition(getMaxTranslate(horizontalSwipe, paperRef.current) + (disableDiscovery ? 15 : -DRAG_STARTED_SIGNAL), {
44587
+ changeTransition: false
44588
+ });
44589
+ }
44590
+ swipeInstance.current.velocity = 0;
44591
+ swipeInstance.current.lastTime = null;
44592
+ swipeInstance.current.lastTranslate = null;
44593
+ swipeInstance.current.paperHit = false;
44594
+ touchDetected.current = true;
44595
+ }
44596
+ };
44847
44597
  const handleBodyTouchMove = useEventCallback(nativeEvent => {
44848
44598
  // the ref may be null when a parent component updates while swiping
44849
44599
  if (!paperRef.current || !touchDetected.current) {
@@ -44854,6 +44604,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44854
44604
  if (claimedSwipeInstance !== null && claimedSwipeInstance !== swipeInstance.current) {
44855
44605
  return;
44856
44606
  }
44607
+ startMaybeSwiping(true);
44857
44608
  const anchorRtl = getAnchor(theme, anchor);
44858
44609
  const horizontalSwipe = isHorizontal(anchor);
44859
44610
  const currentX = calculateCurrentX(anchorRtl, nativeEvent.touches, ownerDocument(nativeEvent.currentTarget));
@@ -44964,7 +44715,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44964
44715
  const currentX = calculateCurrentX(anchorRtl, nativeEvent.touches, ownerDocument(nativeEvent.currentTarget));
44965
44716
  const currentY = calculateCurrentY(anchorRtl, nativeEvent.touches, ownerWindow(nativeEvent.currentTarget));
44966
44717
  if (!open) {
44967
- if (disableSwipeToOpen || nativeEvent.target !== swipeAreaRef.current) {
44718
+ var _paperRef$current;
44719
+ // logic for if swipe should be ignored:
44720
+ // if disableSwipeToOpen
44721
+ // if target != swipeArea, and target is not a child of paper ref
44722
+ // if is a child of paper ref, and `allowSwipeInChildren` does not allow it
44723
+ if (disableSwipeToOpen || !(nativeEvent.target === swipeAreaRef.current || (_paperRef$current = paperRef.current) != null && _paperRef$current.contains(nativeEvent.target) && (typeof allowSwipeInChildren === 'function' ? allowSwipeInChildren(nativeEvent, swipeAreaRef.current, paperRef.current) : allowSwipeInChildren))) {
44968
44724
  return;
44969
44725
  }
44970
44726
  if (horizontalSwipe) {
@@ -44979,20 +44735,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44979
44735
  claimedSwipeInstance = null;
44980
44736
  swipeInstance.current.startX = currentX;
44981
44737
  swipeInstance.current.startY = currentY;
44982
- ReactDOM.flushSync(() => {
44983
- setMaybeSwiping(true);
44984
- });
44985
- if (!open && paperRef.current) {
44986
- // The ref may be null when a parent component updates while swiping.
44987
- setPosition(getMaxTranslate(horizontalSwipe, paperRef.current) + (disableDiscovery ? 15 : -DRAG_STARTED_SIGNAL), {
44988
- changeTransition: false
44989
- });
44990
- }
44991
- swipeInstance.current.velocity = 0;
44992
- swipeInstance.current.lastTime = null;
44993
- swipeInstance.current.lastTranslate = null;
44994
- swipeInstance.current.paperHit = false;
44995
- touchDetected.current = true;
44738
+ startMaybeSwiping();
44996
44739
  });
44997
44740
  React__namespace.useEffect(() => {
44998
44741
  if (variant === 'temporary') {
@@ -45040,7 +44783,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45040
44783
  hideBackdrop: hideBackdrop,
45041
44784
  PaperProps: _extends({}, PaperProps, {
45042
44785
  style: _extends({
45043
- pointerEvents: variant === 'temporary' && !open ? 'none' : ''
44786
+ pointerEvents: variant === 'temporary' && !open && !allowSwipeInChildren ? 'none' : ''
45044
44787
  }, PaperProps.style),
45045
44788
  ref: handleRef
45046
44789
  }),
@@ -45062,6 +44805,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45062
44805
  // | These PropTypes are generated from the TypeScript type definitions |
45063
44806
  // | To update them edit the d.ts file and run "yarn proptypes" |
45064
44807
  // ----------------------------------------------------------------------
44808
+ /**
44809
+ * If set to true, the swipe event will open the drawer even if the user begins the swipe on one of the drawer's children.
44810
+ * This can be useful in scenarios where the drawer is partially visible.
44811
+ * You can customize it further with a callback that determines which children the user can drag over to open the drawer
44812
+ * (for example, to ignore other elements that handle touch move events, like sliders).
44813
+ *
44814
+ * @param {TouchEvent} event The 'touchstart' event
44815
+ * @param {HTMLDivElement} swipeArea The swipe area element
44816
+ * @param {HTMLDivElement} paper The drawer's paper element
44817
+ *
44818
+ * @default false
44819
+ */
44820
+ allowSwipeInChildren: PropTypes.oneOfType([PropTypes.bool, PropTypes.func]),
45065
44821
  /**
45066
44822
  * @ignore
45067
44823
  */
@@ -49203,7 +48959,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49203
48959
  exports.SliderRoot = SliderRoot;
49204
48960
  exports.SliderThumb = SliderThumb;
49205
48961
  exports.SliderTrack = SliderTrack;
49206
- exports.SliderValueLabel = SliderValueLabel;
48962
+ exports.SliderValueLabel = StyledSliderValueLabel;
49207
48963
  exports.Snackbar = Snackbar$1;
49208
48964
  exports.SnackbarContent = SnackbarContent$1;
49209
48965
  exports.SpeedDial = SpeedDial$1;
@@ -49399,6 +49155,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49399
49155
  exports.getScopedCssBaselineUtilityClass = getScopedCssBaselineUtilityClass;
49400
49156
  exports.getSelectUtilityClasses = getSelectUtilityClasses;
49401
49157
  exports.getSkeletonUtilityClass = getSkeletonUtilityClass;
49158
+ exports.getSliderUtilityClass = getSliderUtilityClass;
49402
49159
  exports.getSnackbarContentUtilityClass = getSnackbarContentUtilityClass;
49403
49160
  exports.getSnackbarUtilityClass = getSnackbarUtilityClass;
49404
49161
  exports.getSpeedDialActionUtilityClass = getSpeedDialActionUtilityClass;
@@ -49485,7 +49242,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49485
49242
  exports.setRef = setRef;
49486
49243
  exports.shouldSkipGeneratingVar = shouldSkipGeneratingVar;
49487
49244
  exports.skeletonClasses = skeletonClasses$1;
49488
- exports.sliderClasses = sliderClasses;
49245
+ exports.sliderClasses = sliderClasses$1;
49489
49246
  exports.snackbarClasses = snackbarClasses$1;
49490
49247
  exports.snackbarContentClasses = snackbarContentClasses$1;
49491
49248
  exports.speedDialActionClasses = speedDialActionClasses$1;