tp-react-elements-dev 1.5.6 → 1.6.0

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.
package/dist/index.js CHANGED
@@ -8357,7 +8357,7 @@ var getDisplayName = /*#__PURE__*/Object.freeze({
8357
8357
 
8358
8358
  var require$$6 = /*@__PURE__*/getAugmentedNamespace(getDisplayName);
8359
8359
 
8360
- const _excluded$1m = ["values", "unit", "step"];
8360
+ const _excluded$1o = ["values", "unit", "step"];
8361
8361
  const sortBreakpointsValues = values => {
8362
8362
  const breakpointsAsArray = Object.keys(values).map(key => ({
8363
8363
  key,
@@ -8391,7 +8391,7 @@ function createBreakpoints(breakpoints) {
8391
8391
  unit = 'px',
8392
8392
  step = 5
8393
8393
  } = breakpoints,
8394
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$1m);
8394
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$1o);
8395
8395
  const sortedValues = sortBreakpointsValues(values);
8396
8396
  const keys = Object.keys(sortedValues);
8397
8397
  function up(key) {
@@ -8514,6 +8514,11 @@ function removeUnusedBreakpoints(breakpointKeys, style) {
8514
8514
  return acc;
8515
8515
  }, style);
8516
8516
  }
8517
+ function mergeBreakpointsInOrder(breakpointsInput, ...styles) {
8518
+ const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
8519
+ const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge$1(prev, next), {});
8520
+ return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
8521
+ }
8517
8522
 
8518
8523
  // compute base for responsive values; e.g.,
8519
8524
  // [1,2,3] => {xs: true, sm: true, md: true}
@@ -8598,7 +8603,7 @@ function getStyleValue$1(themeMapping, transform, propValueFinal, userValue = pr
8598
8603
  }
8599
8604
  return value;
8600
8605
  }
8601
- function style$2(options) {
8606
+ function style$3(options) {
8602
8607
  const {
8603
8608
  prop,
8604
8609
  cssProperty = options.prop,
@@ -8759,12 +8764,12 @@ function resolveCssProperty(props, keys, prop, transformer) {
8759
8764
  const propValue = props[prop];
8760
8765
  return handleBreakpoints(props, propValue, styleFromPropValue);
8761
8766
  }
8762
- function style$1(props, keys) {
8767
+ function style$2(props, keys) {
8763
8768
  const transformer = createUnarySpacing(props.theme);
8764
8769
  return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
8765
8770
  }
8766
8771
  function margin(props) {
8767
- return style$1(props, marginKeys);
8772
+ return style$2(props, marginKeys);
8768
8773
  }
8769
8774
  margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {
8770
8775
  obj[key] = responsivePropType;
@@ -8772,7 +8777,7 @@ margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((ob
8772
8777
  }, {}) : {};
8773
8778
  margin.filterProps = marginKeys;
8774
8779
  function padding(props) {
8775
- return style$1(props, paddingKeys);
8780
+ return style$2(props, paddingKeys);
8776
8781
  }
8777
8782
  padding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
8778
8783
  obj[key] = responsivePropType;
@@ -8845,7 +8850,7 @@ function borderTransform(value) {
8845
8850
  return `${value}px solid`;
8846
8851
  }
8847
8852
  function createBorderStyle(prop, transform) {
8848
- return style$2({
8853
+ return style$3({
8849
8854
  prop,
8850
8855
  themeKey: 'borders',
8851
8856
  transform
@@ -8932,31 +8937,31 @@ rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
8932
8937
  rowGap: responsivePropType
8933
8938
  } : {};
8934
8939
  rowGap.filterProps = ['rowGap'];
8935
- const gridColumn = style$2({
8940
+ const gridColumn = style$3({
8936
8941
  prop: 'gridColumn'
8937
8942
  });
8938
- const gridRow = style$2({
8943
+ const gridRow = style$3({
8939
8944
  prop: 'gridRow'
8940
8945
  });
8941
- const gridAutoFlow = style$2({
8946
+ const gridAutoFlow = style$3({
8942
8947
  prop: 'gridAutoFlow'
8943
8948
  });
8944
- const gridAutoColumns = style$2({
8949
+ const gridAutoColumns = style$3({
8945
8950
  prop: 'gridAutoColumns'
8946
8951
  });
8947
- const gridAutoRows = style$2({
8952
+ const gridAutoRows = style$3({
8948
8953
  prop: 'gridAutoRows'
8949
8954
  });
8950
- const gridTemplateColumns = style$2({
8955
+ const gridTemplateColumns = style$3({
8951
8956
  prop: 'gridTemplateColumns'
8952
8957
  });
8953
- const gridTemplateRows = style$2({
8958
+ const gridTemplateRows = style$3({
8954
8959
  prop: 'gridTemplateRows'
8955
8960
  });
8956
- const gridTemplateAreas = style$2({
8961
+ const gridTemplateAreas = style$3({
8957
8962
  prop: 'gridTemplateAreas'
8958
8963
  });
8959
- const gridArea = style$2({
8964
+ const gridArea = style$3({
8960
8965
  prop: 'gridArea'
8961
8966
  });
8962
8967
  compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
@@ -8967,18 +8972,18 @@ function paletteTransform(value, userValue) {
8967
8972
  }
8968
8973
  return value;
8969
8974
  }
8970
- const color = style$2({
8975
+ const color = style$3({
8971
8976
  prop: 'color',
8972
8977
  themeKey: 'palette',
8973
8978
  transform: paletteTransform
8974
8979
  });
8975
- const bgcolor = style$2({
8980
+ const bgcolor = style$3({
8976
8981
  prop: 'bgcolor',
8977
8982
  cssProperty: 'backgroundColor',
8978
8983
  themeKey: 'palette',
8979
8984
  transform: paletteTransform
8980
8985
  });
8981
- const backgroundColor = style$2({
8986
+ const backgroundColor = style$3({
8982
8987
  prop: 'backgroundColor',
8983
8988
  themeKey: 'palette',
8984
8989
  transform: paletteTransform
@@ -8988,7 +8993,7 @@ compose(color, bgcolor, backgroundColor);
8988
8993
  function sizingTransform(value) {
8989
8994
  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
8990
8995
  }
8991
- const width = style$2({
8996
+ const width = style$3({
8992
8997
  prop: 'width',
8993
8998
  transform: sizingTransform
8994
8999
  });
@@ -9016,33 +9021,33 @@ const maxWidth = props => {
9016
9021
  return null;
9017
9022
  };
9018
9023
  maxWidth.filterProps = ['maxWidth'];
9019
- const minWidth = style$2({
9024
+ const minWidth = style$3({
9020
9025
  prop: 'minWidth',
9021
9026
  transform: sizingTransform
9022
9027
  });
9023
- const height = style$2({
9028
+ const height = style$3({
9024
9029
  prop: 'height',
9025
9030
  transform: sizingTransform
9026
9031
  });
9027
- const maxHeight = style$2({
9032
+ const maxHeight = style$3({
9028
9033
  prop: 'maxHeight',
9029
9034
  transform: sizingTransform
9030
9035
  });
9031
- const minHeight = style$2({
9036
+ const minHeight = style$3({
9032
9037
  prop: 'minHeight',
9033
9038
  transform: sizingTransform
9034
9039
  });
9035
- style$2({
9040
+ style$3({
9036
9041
  prop: 'size',
9037
9042
  cssProperty: 'width',
9038
9043
  transform: sizingTransform
9039
9044
  });
9040
- style$2({
9045
+ style$3({
9041
9046
  prop: 'size',
9042
9047
  cssProperty: 'height',
9043
9048
  transform: sizingTransform
9044
9049
  });
9045
- const boxSizing = style$2({
9050
+ const boxSizing = style$3({
9046
9051
  prop: 'boxSizing'
9047
9052
  });
9048
9053
  compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
@@ -9530,7 +9535,7 @@ function applyStyles$2(key, styles) {
9530
9535
  return {};
9531
9536
  }
9532
9537
 
9533
- const _excluded$1l = ["breakpoints", "palette", "spacing", "shape"];
9538
+ const _excluded$1n = ["breakpoints", "palette", "spacing", "shape"];
9534
9539
  function createTheme$2(options = {}, ...args) {
9535
9540
  const {
9536
9541
  breakpoints: breakpointsInput = {},
@@ -9538,7 +9543,7 @@ function createTheme$2(options = {}, ...args) {
9538
9543
  spacing: spacingInput,
9539
9544
  shape: shapeInput = {}
9540
9545
  } = options,
9541
- other = _objectWithoutPropertiesLoose(options, _excluded$1l);
9546
+ other = _objectWithoutPropertiesLoose(options, _excluded$1n);
9542
9547
  const breakpoints = createBreakpoints(breakpointsInput);
9543
9548
  const spacing = createSpacing(spacingInput);
9544
9549
  let muiTheme = deepmerge$1({
@@ -9573,7 +9578,7 @@ var createTheme$1 = /*#__PURE__*/Object.freeze({
9573
9578
 
9574
9579
  var require$$7 = /*@__PURE__*/getAugmentedNamespace(createTheme$1);
9575
9580
 
9576
- const _excluded$1k = ["sx"];
9581
+ const _excluded$1m = ["sx"];
9577
9582
  const splitProps = props => {
9578
9583
  var _props$theme$unstable, _props$theme;
9579
9584
  const result = {
@@ -9594,7 +9599,7 @@ function extendSxProp(props) {
9594
9599
  const {
9595
9600
  sx: inSx
9596
9601
  } = props,
9597
- other = _objectWithoutPropertiesLoose(props, _excluded$1k);
9602
+ other = _objectWithoutPropertiesLoose(props, _excluded$1m);
9598
9603
  const {
9599
9604
  systemProps,
9600
9605
  otherProps
@@ -9643,7 +9648,7 @@ var _capitalize = _interopRequireDefault$6(require$$5);
9643
9648
  var _getDisplayName = _interopRequireDefault$6(require$$6);
9644
9649
  var _createTheme = _interopRequireDefault$6(require$$7);
9645
9650
  var _styleFunctionSx = _interopRequireDefault$6(require$$8);
9646
- const _excluded$1j = ["ownerState"],
9651
+ const _excluded$1l = ["ownerState"],
9647
9652
  _excluded2$d = ["variants"],
9648
9653
  _excluded3$6 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
9649
9654
  /* eslint-disable no-underscore-dangle */
@@ -9690,7 +9695,7 @@ function processStyleArg$1(callableStyle, _ref) {
9690
9695
  let {
9691
9696
  ownerState
9692
9697
  } = _ref,
9693
- props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$1j);
9698
+ props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$1l);
9694
9699
  const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({
9695
9700
  ownerState
9696
9701
  }, props)) : callableStyle;
@@ -10440,7 +10445,7 @@ const green = {
10440
10445
  A700: '#00c853'
10441
10446
  };
10442
10447
 
10443
- const _excluded$1i = ["mode", "contrastThreshold", "tonalOffset"];
10448
+ const _excluded$1k = ["mode", "contrastThreshold", "tonalOffset"];
10444
10449
  const light = {
10445
10450
  // The colors used to style the text.
10446
10451
  text: {
@@ -10609,7 +10614,7 @@ function createPalette(palette) {
10609
10614
  contrastThreshold = 3,
10610
10615
  tonalOffset = 0.2
10611
10616
  } = palette,
10612
- other = _objectWithoutPropertiesLoose(palette, _excluded$1i);
10617
+ other = _objectWithoutPropertiesLoose(palette, _excluded$1k);
10613
10618
  const primary = palette.primary || getDefaultPrimary(mode);
10614
10619
  const secondary = palette.secondary || getDefaultSecondary(mode);
10615
10620
  const error = palette.error || getDefaultError(mode);
@@ -10733,7 +10738,7 @@ const theme2 = createTheme({ palette: {
10733
10738
  return paletteOutput;
10734
10739
  }
10735
10740
 
10736
- const _excluded$1h = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
10741
+ const _excluded$1j = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
10737
10742
  function round$2(value) {
10738
10743
  return Math.round(value * 1e5) / 1e5;
10739
10744
  }
@@ -10764,7 +10769,7 @@ function createTypography(palette, typography) {
10764
10769
  allVariants,
10765
10770
  pxToRem: pxToRem2
10766
10771
  } = _ref,
10767
- other = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
10772
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
10768
10773
  if (process.env.NODE_ENV !== 'production') {
10769
10774
  if (typeof fontSize !== 'number') {
10770
10775
  console.error('MUI: `fontSize` is required to be a number.');
@@ -10831,7 +10836,7 @@ function createShadow(...px) {
10831
10836
  // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
10832
10837
  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)];
10833
10838
 
10834
- const _excluded$1g = ["duration", "easing", "delay"];
10839
+ const _excluded$1i = ["duration", "easing", "delay"];
10835
10840
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
10836
10841
  // to learn the context in which each easing should be used.
10837
10842
  const easing = {
@@ -10882,7 +10887,7 @@ function createTransitions(inputTransitions) {
10882
10887
  easing: easingOption = mergedEasing.easeInOut,
10883
10888
  delay = 0
10884
10889
  } = options,
10885
- other = _objectWithoutPropertiesLoose(options, _excluded$1g);
10890
+ other = _objectWithoutPropertiesLoose(options, _excluded$1i);
10886
10891
  if (process.env.NODE_ENV !== 'production') {
10887
10892
  const isString = value => typeof value === 'string';
10888
10893
  // IE11 support, replace with Number.isNaN
@@ -10931,7 +10936,7 @@ const zIndex = {
10931
10936
  tooltip: 1500
10932
10937
  };
10933
10938
 
10934
- const _excluded$1f = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
10939
+ const _excluded$1h = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
10935
10940
  function createTheme(options = {}, ...args) {
10936
10941
  const {
10937
10942
  mixins: mixinsInput = {},
@@ -10939,7 +10944,7 @@ function createTheme(options = {}, ...args) {
10939
10944
  transitions: transitionsInput = {},
10940
10945
  typography: typographyInput = {}
10941
10946
  } = options,
10942
- other = _objectWithoutPropertiesLoose(options, _excluded$1f);
10947
+ other = _objectWithoutPropertiesLoose(options, _excluded$1h);
10943
10948
  if (options.vars) {
10944
10949
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
10945
10950
  Please use another name.` : formatMuiErrorMessage$1(18));
@@ -10997,7 +11002,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
10997
11002
  return muiTheme;
10998
11003
  }
10999
11004
 
11000
- const defaultTheme$2 = createTheme();
11005
+ const defaultTheme$3 = createTheme();
11001
11006
 
11002
11007
  var THEME_ID = '$$material';
11003
11008
 
@@ -11010,7 +11015,7 @@ const rootShouldForwardProp = prop => slotShouldForwardProp(prop) && prop !== 'c
11010
11015
 
11011
11016
  const styled$1 = _default({
11012
11017
  themeId: THEME_ID,
11013
- defaultTheme: defaultTheme$2,
11018
+ defaultTheme: defaultTheme$3,
11014
11019
  rootShouldForwardProp
11015
11020
  });
11016
11021
 
@@ -11098,7 +11103,7 @@ function useThemeProps$1({
11098
11103
  return useThemeProps$2({
11099
11104
  props,
11100
11105
  name,
11101
- defaultTheme: defaultTheme$2,
11106
+ defaultTheme: defaultTheme$3,
11102
11107
  themeId: THEME_ID
11103
11108
  });
11104
11109
  }
@@ -11885,7 +11890,7 @@ function mergeSlotProps(parameters) {
11885
11890
  };
11886
11891
  }
11887
11892
 
11888
- const _excluded$1e = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
11893
+ const _excluded$1g = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
11889
11894
  /**
11890
11895
  * @ignore - do not document.
11891
11896
  * Builds the props to be passed into the slot of an unstyled component.
@@ -11902,7 +11907,7 @@ function useSlotProps(parameters) {
11902
11907
  ownerState,
11903
11908
  skipResolvingSlotProps = false
11904
11909
  } = parameters,
11905
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$1e);
11910
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$1g);
11906
11911
  const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
11907
11912
  const {
11908
11913
  props: mergedProps,
@@ -14721,7 +14726,7 @@ function getPopperUtilityClass(slot) {
14721
14726
  }
14722
14727
  generateUtilityClasses(COMPONENT_NAME, ['root']);
14723
14728
 
14724
- const _excluded$1d = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
14729
+ const _excluded$1f = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
14725
14730
  _excluded2$c = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
14726
14731
  function flipPlacement(placement, direction) {
14727
14732
  if (direction === 'ltr') {
@@ -14749,7 +14754,7 @@ function isHTMLElement(element) {
14749
14754
  function isVirtualElement(element) {
14750
14755
  return !isHTMLElement(element);
14751
14756
  }
14752
- const useUtilityClasses$V = () => {
14757
+ const useUtilityClasses$W = () => {
14753
14758
  const slots = {
14754
14759
  root: ['root']
14755
14760
  };
@@ -14774,7 +14779,7 @@ const PopperTooltip = /*#__PURE__*/React__namespace.forwardRef(function PopperTo
14774
14779
  // @ts-ignore internal logic
14775
14780
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
14776
14781
  } = props,
14777
- other = _objectWithoutPropertiesLoose(props, _excluded$1d);
14782
+ other = _objectWithoutPropertiesLoose(props, _excluded$1f);
14778
14783
  const tooltipRef = React__namespace.useRef(null);
14779
14784
  const ownRef = useForkRef(tooltipRef, forwardedRef);
14780
14785
  const popperRef = React__namespace.useRef(null);
@@ -14859,7 +14864,7 @@ const PopperTooltip = /*#__PURE__*/React__namespace.forwardRef(function PopperTo
14859
14864
  if (TransitionProps !== null) {
14860
14865
  childProps.TransitionProps = TransitionProps;
14861
14866
  }
14862
- const classes = useUtilityClasses$V();
14867
+ const classes = useUtilityClasses$W();
14863
14868
  const Root = (_slots$root = slots.root) != null ? _slots$root : 'div';
14864
14869
  const rootProps = useSlotProps({
14865
14870
  elementType: Root,
@@ -15085,7 +15090,7 @@ process.env.NODE_ENV !== "production" ? Popper$1.propTypes /* remove-proptypes *
15085
15090
  transition: PropTypes.bool
15086
15091
  } : void 0;
15087
15092
 
15088
- const _excluded$1c = ["onChange", "maxRows", "minRows", "style", "value"];
15093
+ const _excluded$1e = ["onChange", "maxRows", "minRows", "style", "value"];
15089
15094
  function getStyleValue(value) {
15090
15095
  return parseInt(value, 10) || 0;
15091
15096
  }
@@ -15127,7 +15132,7 @@ const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function Texta
15127
15132
  style,
15128
15133
  value
15129
15134
  } = props,
15130
- other = _objectWithoutPropertiesLoose(props, _excluded$1c);
15135
+ other = _objectWithoutPropertiesLoose(props, _excluded$1e);
15131
15136
  const {
15132
15137
  current: isControlled
15133
15138
  } = React__namespace.useRef(value != null);
@@ -16341,7 +16346,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes /* remove-propt
16341
16346
  themeId: PropTypes.string
16342
16347
  } : void 0;
16343
16348
 
16344
- const _excluded$1b = ["className", "component"];
16349
+ const _excluded$1d = ["className", "component"];
16345
16350
  function createBox(options = {}) {
16346
16351
  const {
16347
16352
  themeId,
@@ -16359,7 +16364,7 @@ function createBox(options = {}) {
16359
16364
  className,
16360
16365
  component = 'div'
16361
16366
  } = _extendSxProp,
16362
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$1b);
16367
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$1d);
16363
16368
  return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$1({
16364
16369
  as: component,
16365
16370
  ref: ref,
@@ -16370,7 +16375,7 @@ function createBox(options = {}) {
16370
16375
  return Box;
16371
16376
  }
16372
16377
 
16373
- const _excluded$1a = ["ownerState"],
16378
+ const _excluded$1c = ["ownerState"],
16374
16379
  _excluded2$b = ["variants"],
16375
16380
  _excluded3$5 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
16376
16381
  function isEmpty$2(obj) {
@@ -16414,7 +16419,7 @@ function processStyleArg(callableStyle, _ref) {
16414
16419
  let {
16415
16420
  ownerState
16416
16421
  } = _ref,
16417
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
16422
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
16418
16423
  const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle(_extends$1({
16419
16424
  ownerState
16420
16425
  }, props)) : callableStyle;
@@ -16905,9 +16910,9 @@ function toPropertyKey(t) {
16905
16910
  return "symbol" == _typeof$1(i) ? i : i + "";
16906
16911
  }
16907
16912
 
16908
- const _excluded$19 = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
16909
- const defaultTheme$1 = createTheme$2();
16910
- const defaultCreateStyledComponent = styled('div', {
16913
+ const _excluded$1b = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
16914
+ const defaultTheme$2 = createTheme$2();
16915
+ const defaultCreateStyledComponent$1 = styled('div', {
16911
16916
  name: 'MuiContainer',
16912
16917
  slot: 'Root',
16913
16918
  overridesResolver: (props, styles) => {
@@ -16917,12 +16922,12 @@ const defaultCreateStyledComponent = styled('div', {
16917
16922
  return [styles.root, styles[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
16918
16923
  }
16919
16924
  });
16920
- const useThemePropsDefault = inProps => useThemeProps$2({
16925
+ const useThemePropsDefault$1 = inProps => useThemeProps$2({
16921
16926
  props: inProps,
16922
16927
  name: 'MuiContainer',
16923
- defaultTheme: defaultTheme$1
16928
+ defaultTheme: defaultTheme$2
16924
16929
  });
16925
- const useUtilityClasses$U = (ownerState, componentName) => {
16930
+ const useUtilityClasses$V = (ownerState, componentName) => {
16926
16931
  const getContainerUtilityClass = slot => {
16927
16932
  return generateUtilityClass$1(componentName, slot);
16928
16933
  };
@@ -16940,8 +16945,8 @@ const useUtilityClasses$U = (ownerState, componentName) => {
16940
16945
  function createContainer(options = {}) {
16941
16946
  const {
16942
16947
  // This will allow adding custom styled fn (for example for custom sx style function)
16943
- createStyledComponent = defaultCreateStyledComponent,
16944
- useThemeProps = useThemePropsDefault,
16948
+ createStyledComponent = defaultCreateStyledComponent$1,
16949
+ useThemeProps = useThemePropsDefault$1,
16945
16950
  componentName = 'MuiContainer'
16946
16951
  } = options;
16947
16952
  const ContainerRoot = createStyledComponent(({
@@ -17001,7 +17006,7 @@ function createContainer(options = {}) {
17001
17006
  fixed = false,
17002
17007
  maxWidth = 'lg'
17003
17008
  } = props,
17004
- other = _objectWithoutPropertiesLoose(props, _excluded$19);
17009
+ other = _objectWithoutPropertiesLoose(props, _excluded$1b);
17005
17010
  const ownerState = _extends$1({}, props, {
17006
17011
  component,
17007
17012
  disableGutters,
@@ -17010,7 +17015,7 @@ function createContainer(options = {}) {
17010
17015
  });
17011
17016
 
17012
17017
  // @ts-ignore module augmentation fails if custom breakpoints are used
17013
- const classes = useUtilityClasses$U(ownerState, componentName);
17018
+ const classes = useUtilityClasses$V(ownerState, componentName);
17014
17019
  return (
17015
17020
  /*#__PURE__*/
17016
17021
  // @ts-ignore theme is injected by the styled util
@@ -17037,9 +17042,168 @@ function createContainer(options = {}) {
17037
17042
  return Container;
17038
17043
  }
17039
17044
 
17045
+ const _excluded$1a = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
17046
+ const defaultTheme$1 = createTheme$2();
17047
+ // widening Theme to any so that the consumer can own the theme structure.
17048
+ const defaultCreateStyledComponent = styled('div', {
17049
+ name: 'MuiStack',
17050
+ slot: 'Root',
17051
+ overridesResolver: (props, styles) => styles.root
17052
+ });
17053
+ function useThemePropsDefault(props) {
17054
+ return useThemeProps$2({
17055
+ props,
17056
+ name: 'MuiStack',
17057
+ defaultTheme: defaultTheme$1
17058
+ });
17059
+ }
17060
+
17061
+ /**
17062
+ * Return an array with the separator React element interspersed between
17063
+ * each React node of the input children.
17064
+ *
17065
+ * > joinChildren([1,2,3], 0)
17066
+ * [1,0,2,0,3]
17067
+ */
17068
+ function joinChildren(children, separator) {
17069
+ const childrenArray = React__namespace.Children.toArray(children).filter(Boolean);
17070
+ return childrenArray.reduce((output, child, index) => {
17071
+ output.push(child);
17072
+ if (index < childrenArray.length - 1) {
17073
+ output.push( /*#__PURE__*/React__namespace.cloneElement(separator, {
17074
+ key: `separator-${index}`
17075
+ }));
17076
+ }
17077
+ return output;
17078
+ }, []);
17079
+ }
17080
+ const getSideFromDirection = direction => {
17081
+ return {
17082
+ row: 'Left',
17083
+ 'row-reverse': 'Right',
17084
+ column: 'Top',
17085
+ 'column-reverse': 'Bottom'
17086
+ }[direction];
17087
+ };
17088
+ const style$1 = ({
17089
+ ownerState,
17090
+ theme
17091
+ }) => {
17092
+ let styles = _extends$1({
17093
+ display: 'flex',
17094
+ flexDirection: 'column'
17095
+ }, handleBreakpoints({
17096
+ theme
17097
+ }, resolveBreakpointValues({
17098
+ values: ownerState.direction,
17099
+ breakpoints: theme.breakpoints.values
17100
+ }), propValue => ({
17101
+ flexDirection: propValue
17102
+ })));
17103
+ if (ownerState.spacing) {
17104
+ const transformer = createUnarySpacing(theme);
17105
+ const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
17106
+ if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {
17107
+ acc[breakpoint] = true;
17108
+ }
17109
+ return acc;
17110
+ }, {});
17111
+ const directionValues = resolveBreakpointValues({
17112
+ values: ownerState.direction,
17113
+ base
17114
+ });
17115
+ const spacingValues = resolveBreakpointValues({
17116
+ values: ownerState.spacing,
17117
+ base
17118
+ });
17119
+ if (typeof directionValues === 'object') {
17120
+ Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {
17121
+ const directionValue = directionValues[breakpoint];
17122
+ if (!directionValue) {
17123
+ const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';
17124
+ directionValues[breakpoint] = previousDirectionValue;
17125
+ }
17126
+ });
17127
+ }
17128
+ const styleFromPropValue = (propValue, breakpoint) => {
17129
+ if (ownerState.useFlexGap) {
17130
+ return {
17131
+ gap: getValue(transformer, propValue)
17132
+ };
17133
+ }
17134
+ return {
17135
+ // The useFlexGap={false} implement relies on each child to give up control of the margin.
17136
+ // We need to reset the margin to avoid double spacing.
17137
+ '& > :not(style):not(style)': {
17138
+ margin: 0
17139
+ },
17140
+ '& > :not(style) ~ :not(style)': {
17141
+ [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
17142
+ }
17143
+ };
17144
+ };
17145
+ styles = deepmerge$1(styles, handleBreakpoints({
17146
+ theme
17147
+ }, spacingValues, styleFromPropValue));
17148
+ }
17149
+ styles = mergeBreakpointsInOrder(theme.breakpoints, styles);
17150
+ return styles;
17151
+ };
17152
+ function createStack(options = {}) {
17153
+ const {
17154
+ // This will allow adding custom styled fn (for example for custom sx style function)
17155
+ createStyledComponent = defaultCreateStyledComponent,
17156
+ useThemeProps = useThemePropsDefault,
17157
+ componentName = 'MuiStack'
17158
+ } = options;
17159
+ const useUtilityClasses = () => {
17160
+ const slots = {
17161
+ root: ['root']
17162
+ };
17163
+ return composeClasses(slots, slot => generateUtilityClass$1(componentName, slot), {});
17164
+ };
17165
+ const StackRoot = createStyledComponent(style$1);
17166
+ const Stack = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
17167
+ const themeProps = useThemeProps(inProps);
17168
+ const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.
17169
+ const {
17170
+ component = 'div',
17171
+ direction = 'column',
17172
+ spacing = 0,
17173
+ divider,
17174
+ children,
17175
+ className,
17176
+ useFlexGap = false
17177
+ } = props,
17178
+ other = _objectWithoutPropertiesLoose(props, _excluded$1a);
17179
+ const ownerState = {
17180
+ direction,
17181
+ spacing,
17182
+ useFlexGap
17183
+ };
17184
+ const classes = useUtilityClasses();
17185
+ return /*#__PURE__*/jsxRuntimeExports.jsx(StackRoot, _extends$1({
17186
+ as: component,
17187
+ ownerState: ownerState,
17188
+ ref: ref,
17189
+ className: clsx(classes.root, className)
17190
+ }, other, {
17191
+ children: divider ? joinChildren(children, divider) : children
17192
+ }));
17193
+ });
17194
+ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
17195
+ children: PropTypes.node,
17196
+ direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
17197
+ divider: PropTypes.node,
17198
+ spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
17199
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
17200
+ } : void 0;
17201
+ return Stack;
17202
+ }
17203
+
17040
17204
  function GlobalStyles(props) {
17041
17205
  return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends$1({}, props, {
17042
- defaultTheme: defaultTheme$2,
17206
+ defaultTheme: defaultTheme$3,
17043
17207
  themeId: THEME_ID
17044
17208
  }));
17045
17209
  }
@@ -17090,7 +17254,7 @@ function getInputBaseUtilityClass(slot) {
17090
17254
  }
17091
17255
  const inputBaseClasses = generateUtilityClasses$1('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
17092
17256
 
17093
- const _excluded$18 = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
17257
+ const _excluded$19 = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
17094
17258
  const rootOverridesResolver = (props, styles) => {
17095
17259
  const {
17096
17260
  ownerState
@@ -17103,7 +17267,7 @@ const inputOverridesResolver = (props, styles) => {
17103
17267
  } = props;
17104
17268
  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];
17105
17269
  };
17106
- const useUtilityClasses$T = ownerState => {
17270
+ const useUtilityClasses$U = ownerState => {
17107
17271
  const {
17108
17272
  classes,
17109
17273
  color,
@@ -17319,7 +17483,7 @@ const InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(in
17319
17483
  type = 'text',
17320
17484
  value: valueProp
17321
17485
  } = props,
17322
- other = _objectWithoutPropertiesLoose(props, _excluded$18);
17486
+ other = _objectWithoutPropertiesLoose(props, _excluded$19);
17323
17487
  const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
17324
17488
  const {
17325
17489
  current: isControlled
@@ -17493,7 +17657,7 @@ const InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(in
17493
17657
  startAdornment,
17494
17658
  type
17495
17659
  });
17496
- const classes = useUtilityClasses$T(ownerState);
17660
+ const classes = useUtilityClasses$U(ownerState);
17497
17661
  const Root = slots.root || components.Root || InputBaseRoot;
17498
17662
  const rootProps = slotProps.root || componentsProps.root || {};
17499
17663
  const Input = slots.input || components.Input || InputBaseComponent;
@@ -17780,8 +17944,8 @@ function getInputUtilityClass(slot) {
17780
17944
  }
17781
17945
  const inputClasses = _extends$1({}, inputBaseClasses, generateUtilityClasses$1('MuiInput', ['root', 'underline', 'input']));
17782
17946
 
17783
- const _excluded$17 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
17784
- const useUtilityClasses$S = ownerState => {
17947
+ const _excluded$18 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
17948
+ const useUtilityClasses$T = ownerState => {
17785
17949
  const {
17786
17950
  classes,
17787
17951
  disableUnderline
@@ -17891,8 +18055,8 @@ const Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, r
17891
18055
  slots = {},
17892
18056
  type = 'text'
17893
18057
  } = props,
17894
- other = _objectWithoutPropertiesLoose(props, _excluded$17);
17895
- const classes = useUtilityClasses$S(props);
18058
+ other = _objectWithoutPropertiesLoose(props, _excluded$18);
18059
+ const classes = useUtilityClasses$T(props);
17896
18060
  const ownerState = {
17897
18061
  disableUnderline
17898
18062
  };
@@ -18112,8 +18276,8 @@ function getFilledInputUtilityClass(slot) {
18112
18276
  }
18113
18277
  const filledInputClasses = _extends$1({}, inputBaseClasses, generateUtilityClasses$1('MuiFilledInput', ['root', 'underline', 'input']));
18114
18278
 
18115
- const _excluded$16 = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
18116
- const useUtilityClasses$R = ownerState => {
18279
+ const _excluded$17 = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
18280
+ const useUtilityClasses$S = ownerState => {
18117
18281
  const {
18118
18282
  classes,
18119
18283
  disableUnderline
@@ -18297,14 +18461,14 @@ const FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInpu
18297
18461
  slots = {},
18298
18462
  type = 'text'
18299
18463
  } = props,
18300
- other = _objectWithoutPropertiesLoose(props, _excluded$16);
18464
+ other = _objectWithoutPropertiesLoose(props, _excluded$17);
18301
18465
  const ownerState = _extends$1({}, props, {
18302
18466
  fullWidth,
18303
18467
  inputComponent,
18304
18468
  multiline,
18305
18469
  type
18306
18470
  });
18307
- const classes = useUtilityClasses$R(props);
18471
+ const classes = useUtilityClasses$S(props);
18308
18472
  const filledInputComponentsProps = {
18309
18473
  root: {
18310
18474
  ownerState
@@ -18527,7 +18691,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
18527
18691
  FilledInput.muiName = 'Input';
18528
18692
 
18529
18693
  var _span$3;
18530
- const _excluded$15 = ["children", "classes", "className", "label", "notched"];
18694
+ const _excluded$16 = ["children", "classes", "className", "label", "notched"];
18531
18695
  const NotchedOutlineRoot$1 = styled$1('fieldset', {
18532
18696
  shouldForwardProp: rootShouldForwardProp
18533
18697
  })({
@@ -18604,7 +18768,7 @@ function NotchedOutline(props) {
18604
18768
  label,
18605
18769
  notched
18606
18770
  } = props,
18607
- other = _objectWithoutPropertiesLoose(props, _excluded$15);
18771
+ other = _objectWithoutPropertiesLoose(props, _excluded$16);
18608
18772
  const withLabel = label != null && label !== '';
18609
18773
  const ownerState = _extends$1({}, props, {
18610
18774
  notched,
@@ -18659,8 +18823,8 @@ function getOutlinedInputUtilityClass(slot) {
18659
18823
  }
18660
18824
  const outlinedInputClasses = _extends$1({}, inputBaseClasses, generateUtilityClasses$1('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
18661
18825
 
18662
- const _excluded$14 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
18663
- const useUtilityClasses$Q = ownerState => {
18826
+ const _excluded$15 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
18827
+ const useUtilityClasses$R = ownerState => {
18664
18828
  const {
18665
18829
  classes
18666
18830
  } = ownerState;
@@ -18778,8 +18942,8 @@ const OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function Outlined
18778
18942
  slots = {},
18779
18943
  type = 'text'
18780
18944
  } = props,
18781
- other = _objectWithoutPropertiesLoose(props, _excluded$14);
18782
- const classes = useUtilityClasses$Q(props);
18945
+ other = _objectWithoutPropertiesLoose(props, _excluded$15);
18946
+ const classes = useUtilityClasses$R(props);
18783
18947
  const muiFormControl = useFormControl();
18784
18948
  const fcs = formControlState({
18785
18949
  props,
@@ -18997,8 +19161,8 @@ function getFormLabelUtilityClasses(slot) {
18997
19161
  }
18998
19162
  const formLabelClasses = generateUtilityClasses$1('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
18999
19163
 
19000
- const _excluded$13 = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
19001
- const useUtilityClasses$P = ownerState => {
19164
+ const _excluded$14 = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
19165
+ const useUtilityClasses$Q = ownerState => {
19002
19166
  const {
19003
19167
  classes,
19004
19168
  color,
@@ -19062,7 +19226,7 @@ const FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(in
19062
19226
  className,
19063
19227
  component = 'label'
19064
19228
  } = props,
19065
- other = _objectWithoutPropertiesLoose(props, _excluded$13);
19229
+ other = _objectWithoutPropertiesLoose(props, _excluded$14);
19066
19230
  const muiFormControl = useFormControl();
19067
19231
  const fcs = formControlState({
19068
19232
  props,
@@ -19078,7 +19242,7 @@ const FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(in
19078
19242
  focused: fcs.focused,
19079
19243
  required: fcs.required
19080
19244
  });
19081
- const classes = useUtilityClasses$P(ownerState);
19245
+ const classes = useUtilityClasses$Q(ownerState);
19082
19246
  return /*#__PURE__*/jsxRuntimeExports.jsxs(FormLabelRoot, _extends$1({
19083
19247
  as: component,
19084
19248
  ownerState: ownerState,
@@ -19152,8 +19316,8 @@ function getInputLabelUtilityClasses(slot) {
19152
19316
  }
19153
19317
  generateUtilityClasses$1('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
19154
19318
 
19155
- const _excluded$12 = ["disableAnimation", "margin", "shrink", "variant", "className"];
19156
- const useUtilityClasses$O = ownerState => {
19319
+ const _excluded$13 = ["disableAnimation", "margin", "shrink", "variant", "className"];
19320
+ const useUtilityClasses$P = ownerState => {
19157
19321
  const {
19158
19322
  classes,
19159
19323
  formControl,
@@ -19254,7 +19418,7 @@ const InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(
19254
19418
  shrink: shrinkProp,
19255
19419
  className
19256
19420
  } = props,
19257
- other = _objectWithoutPropertiesLoose(props, _excluded$12);
19421
+ other = _objectWithoutPropertiesLoose(props, _excluded$13);
19258
19422
  const muiFormControl = useFormControl();
19259
19423
  let shrink = shrinkProp;
19260
19424
  if (typeof shrink === 'undefined' && muiFormControl) {
@@ -19274,7 +19438,7 @@ const InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(
19274
19438
  required: fcs.required,
19275
19439
  focused: fcs.focused
19276
19440
  });
19277
- const classes = useUtilityClasses$O(ownerState);
19441
+ const classes = useUtilityClasses$P(ownerState);
19278
19442
  return /*#__PURE__*/jsxRuntimeExports.jsx(InputLabelRoot, _extends$1({
19279
19443
  "data-shrink": shrink,
19280
19444
  ownerState: ownerState,
@@ -19357,8 +19521,8 @@ function getFormControlUtilityClasses(slot) {
19357
19521
  }
19358
19522
  generateUtilityClasses$1('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
19359
19523
 
19360
- const _excluded$11 = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
19361
- const useUtilityClasses$N = ownerState => {
19524
+ const _excluded$12 = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
19525
+ const useUtilityClasses$O = ownerState => {
19362
19526
  const {
19363
19527
  classes,
19364
19528
  margin,
@@ -19443,7 +19607,7 @@ const FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormContro
19443
19607
  size = 'medium',
19444
19608
  variant = 'outlined'
19445
19609
  } = props,
19446
- other = _objectWithoutPropertiesLoose(props, _excluded$11);
19610
+ other = _objectWithoutPropertiesLoose(props, _excluded$12);
19447
19611
  const ownerState = _extends$1({}, props, {
19448
19612
  color,
19449
19613
  component,
@@ -19456,7 +19620,7 @@ const FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormContro
19456
19620
  size,
19457
19621
  variant
19458
19622
  });
19459
- const classes = useUtilityClasses$N(ownerState);
19623
+ const classes = useUtilityClasses$O(ownerState);
19460
19624
  const [adornedStart, setAdornedStart] = React__namespace.useState(() => {
19461
19625
  // We need to iterate through the children and find the Input in order
19462
19626
  // to fully support server-side rendering.
@@ -19637,8 +19801,8 @@ function getFormHelperTextUtilityClasses(slot) {
19637
19801
  const formHelperTextClasses = generateUtilityClasses$1('MuiFormHelperText', ['root', 'error', 'disabled', 'sizeSmall', 'sizeMedium', 'contained', 'focused', 'filled', 'required']);
19638
19802
 
19639
19803
  var _span$2;
19640
- const _excluded$10 = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
19641
- const useUtilityClasses$M = ownerState => {
19804
+ const _excluded$11 = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
19805
+ const useUtilityClasses$N = ownerState => {
19642
19806
  const {
19643
19807
  classes,
19644
19808
  contained,
@@ -19696,7 +19860,7 @@ const FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHel
19696
19860
  className,
19697
19861
  component = 'p'
19698
19862
  } = props,
19699
- other = _objectWithoutPropertiesLoose(props, _excluded$10);
19863
+ other = _objectWithoutPropertiesLoose(props, _excluded$11);
19700
19864
  const muiFormControl = useFormControl();
19701
19865
  const fcs = formControlState({
19702
19866
  props,
@@ -19714,7 +19878,7 @@ const FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHel
19714
19878
  focused: fcs.focused,
19715
19879
  required: fcs.required
19716
19880
  });
19717
- const classes = useUtilityClasses$M(ownerState);
19881
+ const classes = useUtilityClasses$N(ownerState);
19718
19882
  return /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperTextRoot, _extends$1({
19719
19883
  as: component,
19720
19884
  ownerState: ownerState,
@@ -20064,8 +20228,8 @@ function getListUtilityClass(slot) {
20064
20228
  }
20065
20229
  generateUtilityClasses$1('MuiList', ['root', 'padding', 'dense', 'subheader']);
20066
20230
 
20067
- const _excluded$$ = ["children", "className", "component", "dense", "disablePadding", "subheader"];
20068
- const useUtilityClasses$L = ownerState => {
20231
+ const _excluded$10 = ["children", "className", "component", "dense", "disablePadding", "subheader"];
20232
+ const useUtilityClasses$M = ownerState => {
20069
20233
  const {
20070
20234
  classes,
20071
20235
  disablePadding,
@@ -20112,7 +20276,7 @@ const List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref
20112
20276
  disablePadding = false,
20113
20277
  subheader
20114
20278
  } = props,
20115
- other = _objectWithoutPropertiesLoose(props, _excluded$$);
20279
+ other = _objectWithoutPropertiesLoose(props, _excluded$10);
20116
20280
  const context = React__namespace.useMemo(() => ({
20117
20281
  dense
20118
20282
  }), [dense]);
@@ -20121,7 +20285,7 @@ const List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref
20121
20285
  dense,
20122
20286
  disablePadding
20123
20287
  });
20124
- const classes = useUtilityClasses$L(ownerState);
20288
+ const classes = useUtilityClasses$M(ownerState);
20125
20289
  return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext.Provider, {
20126
20290
  value: context,
20127
20291
  children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends$1({
@@ -20178,7 +20342,7 @@ process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ =
20178
20342
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
20179
20343
  } : void 0;
20180
20344
 
20181
- const _excluded$_ = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
20345
+ const _excluded$$ = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
20182
20346
  function nextItem(list, item, disableListWrap) {
20183
20347
  if (list === item) {
20184
20348
  return list.firstChild;
@@ -20260,7 +20424,7 @@ const MenuList = /*#__PURE__*/React__namespace.forwardRef(function MenuList(prop
20260
20424
  onKeyDown,
20261
20425
  variant = 'selectedMenu'
20262
20426
  } = props,
20263
- other = _objectWithoutPropertiesLoose(props, _excluded$_);
20427
+ other = _objectWithoutPropertiesLoose(props, _excluded$$);
20264
20428
  const listRef = React__namespace.useRef(null);
20265
20429
  const textCriteriaRef = React__namespace.useRef({
20266
20430
  keys: [],
@@ -21873,7 +22037,7 @@ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
21873
22037
  TransitionGroup.defaultProps = defaultProps;
21874
22038
 
21875
22039
  function useTheme$2() {
21876
- const theme = useTheme$4(defaultTheme$2);
22040
+ const theme = useTheme$4(defaultTheme$3);
21877
22041
  if (process.env.NODE_ENV !== 'production') {
21878
22042
  // eslint-disable-next-line react-hooks/rules-of-hooks
21879
22043
  React__namespace.useDebugValue(theme);
@@ -21896,7 +22060,7 @@ function getTransitionProps(props, options) {
21896
22060
  };
21897
22061
  }
21898
22062
 
21899
- const _excluded$Z = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
22063
+ const _excluded$_ = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
21900
22064
  function getScale(value) {
21901
22065
  return `scale(${value}, ${value ** 2})`;
21902
22066
  }
@@ -21940,7 +22104,7 @@ const Grow = /*#__PURE__*/React__namespace.forwardRef(function Grow(props, ref)
21940
22104
  // eslint-disable-next-line react/prop-types
21941
22105
  TransitionComponent = Transition
21942
22106
  } = props,
21943
- other = _objectWithoutPropertiesLoose(props, _excluded$Z);
22107
+ other = _objectWithoutPropertiesLoose(props, _excluded$_);
21944
22108
  const timer = useTimeout();
21945
22109
  const autoTimeout = React__namespace.useRef();
21946
22110
  const theme = useTheme$2();
@@ -22138,7 +22302,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
22138
22302
  } : void 0;
22139
22303
  Grow.muiSupportAuto = true;
22140
22304
 
22141
- const _excluded$Y = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
22305
+ const _excluded$Z = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
22142
22306
  const styles = {
22143
22307
  entering: {
22144
22308
  opacity: 1
@@ -22175,7 +22339,7 @@ const Fade = /*#__PURE__*/React__namespace.forwardRef(function Fade(props, ref)
22175
22339
  // eslint-disable-next-line react/prop-types
22176
22340
  TransitionComponent = Transition
22177
22341
  } = props,
22178
- other = _objectWithoutPropertiesLoose(props, _excluded$Y);
22342
+ other = _objectWithoutPropertiesLoose(props, _excluded$Z);
22179
22343
  const nodeRef = React__namespace.useRef(null);
22180
22344
  const handleRef = useForkRef(nodeRef, children.ref, ref);
22181
22345
  const normalizedTransitionCallback = callback => maybeIsAppearing => {
@@ -22335,8 +22499,8 @@ function getBackdropUtilityClass(slot) {
22335
22499
  }
22336
22500
  generateUtilityClasses$1('MuiBackdrop', ['root', 'invisible']);
22337
22501
 
22338
- const _excluded$X = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
22339
- const useUtilityClasses$K = ownerState => {
22502
+ const _excluded$Y = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
22503
+ const useUtilityClasses$L = ownerState => {
22340
22504
  const {
22341
22505
  classes,
22342
22506
  invisible
@@ -22390,12 +22554,12 @@ const Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inPr
22390
22554
  TransitionComponent = Fade,
22391
22555
  transitionDuration
22392
22556
  } = props,
22393
- other = _objectWithoutPropertiesLoose(props, _excluded$X);
22557
+ other = _objectWithoutPropertiesLoose(props, _excluded$Y);
22394
22558
  const ownerState = _extends$1({}, props, {
22395
22559
  component,
22396
22560
  invisible
22397
22561
  });
22398
- const classes = useUtilityClasses$K(ownerState);
22562
+ const classes = useUtilityClasses$L(ownerState);
22399
22563
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
22400
22564
  return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$1({
22401
22565
  in: open,
@@ -22515,8 +22679,8 @@ function getModalUtilityClass(slot) {
22515
22679
  }
22516
22680
  generateUtilityClasses$1('MuiModal', ['root', 'hidden', 'backdrop']);
22517
22681
 
22518
- const _excluded$W = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
22519
- const useUtilityClasses$J = ownerState => {
22682
+ const _excluded$X = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
22683
+ const useUtilityClasses$K = ownerState => {
22520
22684
  const {
22521
22685
  open,
22522
22686
  exited,
@@ -22603,7 +22767,7 @@ const Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, r
22603
22767
  slots
22604
22768
  // eslint-disable-next-line react/prop-types
22605
22769
  } = props,
22606
- other = _objectWithoutPropertiesLoose(props, _excluded$W);
22770
+ other = _objectWithoutPropertiesLoose(props, _excluded$X);
22607
22771
  const propsWithDefaults = _extends$1({}, props, {
22608
22772
  closeAfterTransition,
22609
22773
  disableAutoFocus,
@@ -22629,7 +22793,7 @@ const Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, r
22629
22793
  const ownerState = _extends$1({}, propsWithDefaults, {
22630
22794
  exited
22631
22795
  });
22632
- const classes = useUtilityClasses$J(ownerState);
22796
+ const classes = useUtilityClasses$K(ownerState);
22633
22797
  const childProps = {};
22634
22798
  if (children.props.tabIndex === undefined) {
22635
22799
  childProps.tabIndex = '-1';
@@ -22896,8 +23060,8 @@ function getPaperUtilityClass(slot) {
22896
23060
  }
22897
23061
  generateUtilityClasses$1('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
22898
23062
 
22899
- const _excluded$V = ["className", "component", "elevation", "square", "variant"];
22900
- const useUtilityClasses$I = ownerState => {
23063
+ const _excluded$W = ["className", "component", "elevation", "square", "variant"];
23064
+ const useUtilityClasses$J = ownerState => {
22901
23065
  const {
22902
23066
  square,
22903
23067
  elevation,
@@ -22951,14 +23115,14 @@ const Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, r
22951
23115
  square = false,
22952
23116
  variant = 'elevation'
22953
23117
  } = props,
22954
- other = _objectWithoutPropertiesLoose(props, _excluded$V);
23118
+ other = _objectWithoutPropertiesLoose(props, _excluded$W);
22955
23119
  const ownerState = _extends$1({}, props, {
22956
23120
  component,
22957
23121
  elevation,
22958
23122
  square,
22959
23123
  variant
22960
23124
  });
22961
- const classes = useUtilityClasses$I(ownerState);
23125
+ const classes = useUtilityClasses$J(ownerState);
22962
23126
  if (process.env.NODE_ENV !== 'production') {
22963
23127
  // eslint-disable-next-line react-hooks/rules-of-hooks
22964
23128
  const theme = useTheme$2();
@@ -23031,7 +23195,7 @@ function getPopoverUtilityClass(slot) {
23031
23195
  }
23032
23196
  generateUtilityClasses$1('MuiPopover', ['root', 'paper']);
23033
23197
 
23034
- const _excluded$U = ["onEntering"],
23198
+ const _excluded$V = ["onEntering"],
23035
23199
  _excluded2$a = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"],
23036
23200
  _excluded3$4 = ["slotProps"];
23037
23201
  function getOffsetTop(rect, vertical) {
@@ -23062,7 +23226,7 @@ function getTransformOriginValue(transformOrigin) {
23062
23226
  function resolveAnchorEl(anchorEl) {
23063
23227
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
23064
23228
  }
23065
- const useUtilityClasses$H = ownerState => {
23229
+ const useUtilityClasses$I = ownerState => {
23066
23230
  const {
23067
23231
  classes
23068
23232
  } = ownerState;
@@ -23129,7 +23293,7 @@ const Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProp
23129
23293
  } = {},
23130
23294
  disableScrollLock = false
23131
23295
  } = props,
23132
- TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$U),
23296
+ TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$V),
23133
23297
  other = _objectWithoutPropertiesLoose(props, _excluded2$a);
23134
23298
  const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
23135
23299
  const paperRef = React__namespace.useRef();
@@ -23145,7 +23309,7 @@ const Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProp
23145
23309
  transitionDuration: transitionDurationProp,
23146
23310
  TransitionProps
23147
23311
  });
23148
- const classes = useUtilityClasses$H(ownerState);
23312
+ const classes = useUtilityClasses$I(ownerState);
23149
23313
 
23150
23314
  // Returns the top/left offset of the position
23151
23315
  // to attach to on the anchor element (or body if none is provided)
@@ -23547,7 +23711,7 @@ function getMenuUtilityClass(slot) {
23547
23711
  }
23548
23712
  generateUtilityClasses$1('MuiMenu', ['root', 'paper', 'list']);
23549
23713
 
23550
- const _excluded$T = ["onEntering"],
23714
+ const _excluded$U = ["onEntering"],
23551
23715
  _excluded2$9 = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"];
23552
23716
  const RTL_ORIGIN = {
23553
23717
  vertical: 'top',
@@ -23557,7 +23721,7 @@ const LTR_ORIGIN = {
23557
23721
  vertical: 'top',
23558
23722
  horizontal: 'left'
23559
23723
  };
23560
- const useUtilityClasses$G = ownerState => {
23724
+ const useUtilityClasses$H = ownerState => {
23561
23725
  const {
23562
23726
  classes
23563
23727
  } = ownerState;
@@ -23618,7 +23782,7 @@ const Menu$1 = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, r
23618
23782
  slots = {},
23619
23783
  slotProps = {}
23620
23784
  } = props,
23621
- TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$T),
23785
+ TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$U),
23622
23786
  other = _objectWithoutPropertiesLoose(props, _excluded2$9);
23623
23787
  const isRtl = useRtl();
23624
23788
  const ownerState = _extends$1({}, props, {
@@ -23631,7 +23795,7 @@ const Menu$1 = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, r
23631
23795
  TransitionProps,
23632
23796
  variant
23633
23797
  });
23634
- const classes = useUtilityClasses$G(ownerState);
23798
+ const classes = useUtilityClasses$H(ownerState);
23635
23799
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
23636
23800
  const menuListActionsRef = React__namespace.useRef(null);
23637
23801
  const handleEntering = (element, isAppearing) => {
@@ -23841,8 +24005,8 @@ function getNativeSelectUtilityClasses(slot) {
23841
24005
  }
23842
24006
  const nativeSelectClasses = generateUtilityClasses$1('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
23843
24007
 
23844
- const _excluded$S = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
23845
- const useUtilityClasses$F = ownerState => {
24008
+ const _excluded$T = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
24009
+ const useUtilityClasses$G = ownerState => {
23846
24010
  const {
23847
24011
  classes,
23848
24012
  variant,
@@ -23968,13 +24132,13 @@ const NativeSelectInput = /*#__PURE__*/React__namespace.forwardRef(function Nati
23968
24132
  inputRef,
23969
24133
  variant = 'standard'
23970
24134
  } = props,
23971
- other = _objectWithoutPropertiesLoose(props, _excluded$S);
24135
+ other = _objectWithoutPropertiesLoose(props, _excluded$T);
23972
24136
  const ownerState = _extends$1({}, props, {
23973
24137
  disabled,
23974
24138
  variant,
23975
24139
  error
23976
24140
  });
23977
- const classes = useUtilityClasses$F(ownerState);
24141
+ const classes = useUtilityClasses$G(ownerState);
23978
24142
  return /*#__PURE__*/jsxRuntimeExports.jsxs(React__namespace.Fragment, {
23979
24143
  children: [/*#__PURE__*/jsxRuntimeExports.jsx(NativeSelectSelect, _extends$1({
23980
24144
  ownerState: ownerState,
@@ -24050,7 +24214,7 @@ function getSelectUtilityClasses(slot) {
24050
24214
  const selectClasses = generateUtilityClasses$1('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
24051
24215
 
24052
24216
  var _span$1;
24053
- const _excluded$R = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
24217
+ const _excluded$S = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
24054
24218
  const SelectSelect = styled$1('div', {
24055
24219
  name: 'MuiSelect',
24056
24220
  slot: 'Select',
@@ -24117,7 +24281,7 @@ function areEqualValues(a, b) {
24117
24281
  function isEmpty$1(display) {
24118
24282
  return display == null || typeof display === 'string' && !display.trim();
24119
24283
  }
24120
- const useUtilityClasses$E = ownerState => {
24284
+ const useUtilityClasses$F = ownerState => {
24121
24285
  const {
24122
24286
  classes,
24123
24287
  variant,
@@ -24173,7 +24337,7 @@ const SelectInput = /*#__PURE__*/React__namespace.forwardRef(function SelectInpu
24173
24337
  value: valueProp,
24174
24338
  variant = 'standard'
24175
24339
  } = props,
24176
- other = _objectWithoutPropertiesLoose(props, _excluded$R);
24340
+ other = _objectWithoutPropertiesLoose(props, _excluded$S);
24177
24341
  const [value, setValueState] = useControlled({
24178
24342
  controlled: valueProp,
24179
24343
  default: defaultValue,
@@ -24460,7 +24624,7 @@ const SelectInput = /*#__PURE__*/React__namespace.forwardRef(function SelectInpu
24460
24624
  open,
24461
24625
  error
24462
24626
  });
24463
- const classes = useUtilityClasses$E(ownerState);
24627
+ const classes = useUtilityClasses$F(ownerState);
24464
24628
  const paperProps = _extends$1({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
24465
24629
  const listboxId = useId();
24466
24630
  return /*#__PURE__*/jsxRuntimeExports.jsxs(React__namespace.Fragment, {
@@ -24688,8 +24852,8 @@ function getSvgIconUtilityClass(slot) {
24688
24852
  }
24689
24853
  generateUtilityClasses$1('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
24690
24854
 
24691
- const _excluded$Q = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
24692
- const useUtilityClasses$D = ownerState => {
24855
+ const _excluded$R = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
24856
+ const useUtilityClasses$E = ownerState => {
24693
24857
  const {
24694
24858
  color,
24695
24859
  fontSize,
@@ -24756,7 +24920,7 @@ const SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProp
24756
24920
  titleAccess,
24757
24921
  viewBox = '0 0 24 24'
24758
24922
  } = props,
24759
- other = _objectWithoutPropertiesLoose(props, _excluded$Q);
24923
+ other = _objectWithoutPropertiesLoose(props, _excluded$R);
24760
24924
  const hasSvgAsChild = /*#__PURE__*/React__namespace.isValidElement(children) && children.type === 'svg';
24761
24925
  const ownerState = _extends$1({}, props, {
24762
24926
  color,
@@ -24771,7 +24935,7 @@ const SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProp
24771
24935
  if (!inheritViewBox) {
24772
24936
  more.viewBox = viewBox;
24773
24937
  }
24774
- const classes = useUtilityClasses$D(ownerState);
24938
+ const classes = useUtilityClasses$E(ownerState);
24775
24939
  return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends$1({
24776
24940
  as: component,
24777
24941
  className: clsx(classes.root, className),
@@ -24883,9 +25047,9 @@ var ArrowDropDownIcon$1 = createSvgIcon$1( /*#__PURE__*/jsxRuntimeExports.jsx("p
24883
25047
  d: "M7 10l5 5 5-5z"
24884
25048
  }), 'ArrowDropDown');
24885
25049
 
24886
- const _excluded$P = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"],
25050
+ const _excluded$Q = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"],
24887
25051
  _excluded2$8 = ["root"];
24888
- const useUtilityClasses$C = ownerState => {
25052
+ const useUtilityClasses$D = ownerState => {
24889
25053
  const {
24890
25054
  classes
24891
25055
  } = ownerState;
@@ -24928,7 +25092,7 @@ const Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps,
24928
25092
  SelectDisplayProps,
24929
25093
  variant: variantProp = 'outlined'
24930
25094
  } = props,
24931
- other = _objectWithoutPropertiesLoose(props, _excluded$P);
25095
+ other = _objectWithoutPropertiesLoose(props, _excluded$Q);
24932
25096
  const inputComponent = native ? NativeSelectInput : SelectInput;
24933
25097
  const muiFormControl = useFormControl();
24934
25098
  const fcs = formControlState({
@@ -24941,7 +25105,7 @@ const Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps,
24941
25105
  variant,
24942
25106
  classes: classesProp
24943
25107
  });
24944
- const classes = useUtilityClasses$C(ownerState);
25108
+ const classes = useUtilityClasses$D(ownerState);
24945
25109
  const restOfClasses = _objectWithoutPropertiesLoose(classes, _excluded2$8);
24946
25110
  const InputComponent = input || {
24947
25111
  standard: /*#__PURE__*/jsxRuntimeExports.jsx(StyledInput, {
@@ -25151,13 +25315,13 @@ function getTextFieldUtilityClass(slot) {
25151
25315
  }
25152
25316
  generateUtilityClasses$1('MuiTextField', ['root']);
25153
25317
 
25154
- const _excluded$O = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
25318
+ const _excluded$P = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
25155
25319
  const variantComponent = {
25156
25320
  standard: Input,
25157
25321
  filled: FilledInput,
25158
25322
  outlined: OutlinedInput
25159
25323
  };
25160
- const useUtilityClasses$B = ownerState => {
25324
+ const useUtilityClasses$C = ownerState => {
25161
25325
  const {
25162
25326
  classes
25163
25327
  } = ownerState;
@@ -25243,7 +25407,7 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(in
25243
25407
  value,
25244
25408
  variant = 'outlined'
25245
25409
  } = props,
25246
- other = _objectWithoutPropertiesLoose(props, _excluded$O);
25410
+ other = _objectWithoutPropertiesLoose(props, _excluded$P);
25247
25411
  const ownerState = _extends$1({}, props, {
25248
25412
  autoFocus,
25249
25413
  color,
@@ -25255,7 +25419,7 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(in
25255
25419
  select,
25256
25420
  variant
25257
25421
  });
25258
- const classes = useUtilityClasses$B(ownerState);
25422
+ const classes = useUtilityClasses$C(ownerState);
25259
25423
  if (process.env.NODE_ENV !== 'production') {
25260
25424
  if (select && !children) {
25261
25425
  console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');
@@ -25505,6 +25669,18 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
25505
25669
  variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])
25506
25670
  } : void 0;
25507
25671
 
25672
+ // Ported from Compass
25673
+ // https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss
25674
+ // Emulate the sass function "unit"
25675
+ function getUnit(input) {
25676
+ return String(input).match(/[\d.\-+]*\s*(.*)/)[1] || '';
25677
+ }
25678
+
25679
+ // Emulate the sass function "unitless"
25680
+ function toUnitless(length) {
25681
+ return parseFloat(length);
25682
+ }
25683
+
25508
25684
  const boxClasses = generateUtilityClasses$1('MuiBox', ['root']);
25509
25685
 
25510
25686
  const defaultTheme = createTheme();
@@ -25654,15 +25830,15 @@ process.env.NODE_ENV !== "production" ? Ripple.propTypes = {
25654
25830
 
25655
25831
  const touchRippleClasses = generateUtilityClasses$1('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
25656
25832
 
25657
- const _excluded$N = ["center", "classes", "className"];
25658
- let _ = t => t,
25659
- _t,
25660
- _t2,
25661
- _t3,
25662
- _t4;
25833
+ const _excluded$O = ["center", "classes", "className"];
25834
+ let _$1 = t => t,
25835
+ _t$1,
25836
+ _t2$1,
25837
+ _t3$1,
25838
+ _t4$1;
25663
25839
  const DURATION = 550;
25664
25840
  const DELAY_RIPPLE = 80;
25665
- const enterKeyframe = keyframes(_t || (_t = _`
25841
+ const enterKeyframe = keyframes(_t$1 || (_t$1 = _$1`
25666
25842
  0% {
25667
25843
  transform: scale(0);
25668
25844
  opacity: 0.1;
@@ -25673,7 +25849,7 @@ const enterKeyframe = keyframes(_t || (_t = _`
25673
25849
  opacity: 0.3;
25674
25850
  }
25675
25851
  `));
25676
- const exitKeyframe = keyframes(_t2 || (_t2 = _`
25852
+ const exitKeyframe = keyframes(_t2$1 || (_t2$1 = _$1`
25677
25853
  0% {
25678
25854
  opacity: 1;
25679
25855
  }
@@ -25682,7 +25858,7 @@ const exitKeyframe = keyframes(_t2 || (_t2 = _`
25682
25858
  opacity: 0;
25683
25859
  }
25684
25860
  `));
25685
- const pulsateKeyframe = keyframes(_t3 || (_t3 = _`
25861
+ const pulsateKeyframe = keyframes(_t3$1 || (_t3$1 = _$1`
25686
25862
  0% {
25687
25863
  transform: scale(1);
25688
25864
  }
@@ -25715,7 +25891,7 @@ const TouchRippleRoot = styled$1('span', {
25715
25891
  const TouchRippleRipple = styled$1(Ripple, {
25716
25892
  name: 'MuiTouchRipple',
25717
25893
  slot: 'Ripple'
25718
- })(_t4 || (_t4 = _`
25894
+ })(_t4$1 || (_t4$1 = _$1`
25719
25895
  opacity: 0;
25720
25896
  position: absolute;
25721
25897
 
@@ -25783,7 +25959,7 @@ const TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRippl
25783
25959
  classes = {},
25784
25960
  className
25785
25961
  } = props,
25786
- other = _objectWithoutPropertiesLoose(props, _excluded$N);
25962
+ other = _objectWithoutPropertiesLoose(props, _excluded$O);
25787
25963
  const [ripples, setRipples] = React__namespace.useState([]);
25788
25964
  const nextKey = React__namespace.useRef(0);
25789
25965
  const rippleCallback = React__namespace.useRef(null);
@@ -25977,8 +26153,8 @@ function getButtonBaseUtilityClass(slot) {
25977
26153
  }
25978
26154
  const buttonBaseClasses = generateUtilityClasses$1('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
25979
26155
 
25980
- const _excluded$M = ["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"];
25981
- const useUtilityClasses$A = ownerState => {
26156
+ const _excluded$N = ["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"];
26157
+ const useUtilityClasses$B = ownerState => {
25982
26158
  const {
25983
26159
  disabled,
25984
26160
  focusVisible,
@@ -26078,7 +26254,7 @@ const ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(
26078
26254
  touchRippleRef,
26079
26255
  type
26080
26256
  } = props,
26081
- other = _objectWithoutPropertiesLoose(props, _excluded$M);
26257
+ other = _objectWithoutPropertiesLoose(props, _excluded$N);
26082
26258
  const buttonRef = React__namespace.useRef(null);
26083
26259
  const rippleRef = React__namespace.useRef(null);
26084
26260
  const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
@@ -26245,7 +26421,7 @@ const ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(
26245
26421
  tabIndex,
26246
26422
  focusVisible
26247
26423
  });
26248
- const classes = useUtilityClasses$A(ownerState);
26424
+ const classes = useUtilityClasses$B(ownerState);
26249
26425
  return /*#__PURE__*/jsxRuntimeExports.jsxs(ButtonBaseRoot, _extends$1({
26250
26426
  as: ComponentProp,
26251
26427
  className: clsx(classes.root, className),
@@ -26440,8 +26616,8 @@ function getIconButtonUtilityClass(slot) {
26440
26616
  }
26441
26617
  const iconButtonClasses = generateUtilityClasses$1('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
26442
26618
 
26443
- const _excluded$L = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
26444
- const useUtilityClasses$z = ownerState => {
26619
+ const _excluded$M = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
26620
+ const useUtilityClasses$A = ownerState => {
26445
26621
  const {
26446
26622
  classes,
26447
26623
  disabled,
@@ -26541,7 +26717,7 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
26541
26717
  disableFocusRipple = false,
26542
26718
  size = 'medium'
26543
26719
  } = props,
26544
- other = _objectWithoutPropertiesLoose(props, _excluded$L);
26720
+ other = _objectWithoutPropertiesLoose(props, _excluded$M);
26545
26721
  const ownerState = _extends$1({}, props, {
26546
26722
  edge,
26547
26723
  color,
@@ -26549,7 +26725,7 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
26549
26725
  disableFocusRipple,
26550
26726
  size
26551
26727
  });
26552
- const classes = useUtilityClasses$z(ownerState);
26728
+ const classes = useUtilityClasses$A(ownerState);
26553
26729
  return /*#__PURE__*/jsxRuntimeExports.jsx(IconButtonRoot, _extends$1({
26554
26730
  className: clsx(classes.root, className),
26555
26731
  centerRipple: true,
@@ -26638,8 +26814,8 @@ function getTypographyUtilityClass(slot) {
26638
26814
  }
26639
26815
  generateUtilityClasses$1('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
26640
26816
 
26641
- const _excluded$K = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
26642
- const useUtilityClasses$y = ownerState => {
26817
+ const _excluded$L = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
26818
+ const useUtilityClasses$z = ownerState => {
26643
26819
  const {
26644
26820
  align,
26645
26821
  gutterBottom,
@@ -26725,7 +26901,7 @@ const Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(
26725
26901
  variant = 'body1',
26726
26902
  variantMapping = defaultVariantMapping
26727
26903
  } = props,
26728
- other = _objectWithoutPropertiesLoose(props, _excluded$K);
26904
+ other = _objectWithoutPropertiesLoose(props, _excluded$L);
26729
26905
  const ownerState = _extends$1({}, props, {
26730
26906
  align,
26731
26907
  color,
@@ -26738,7 +26914,7 @@ const Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(
26738
26914
  variantMapping
26739
26915
  });
26740
26916
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
26741
- const classes = useUtilityClasses$y(ownerState);
26917
+ const classes = useUtilityClasses$z(ownerState);
26742
26918
  return /*#__PURE__*/jsxRuntimeExports.jsx(TypographyRoot, _extends$1({
26743
26919
  as: Component,
26744
26920
  ref: ref,
@@ -26841,7 +27017,7 @@ function useTheme$1(defaultTheme = null) {
26841
27017
  }
26842
27018
  default_1$5 = useThemeWithoutDefault.default = useTheme$1;
26843
27019
 
26844
- const _excluded$J = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
27020
+ const _excluded$K = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
26845
27021
  const PopperRoot = styled$1(Popper$1, {
26846
27022
  name: 'MuiPopper',
26847
27023
  slot: 'Root',
@@ -26884,7 +27060,7 @@ const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps,
26884
27060
  slots,
26885
27061
  slotProps
26886
27062
  } = props,
26887
- other = _objectWithoutPropertiesLoose(props, _excluded$J);
27063
+ other = _objectWithoutPropertiesLoose(props, _excluded$K);
26888
27064
  const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
26889
27065
  const otherProps = _extends$1({
26890
27066
  anchorEl,
@@ -27042,8 +27218,8 @@ function getListSubheaderUtilityClass(slot) {
27042
27218
  }
27043
27219
  generateUtilityClasses$1('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
27044
27220
 
27045
- const _excluded$I = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
27046
- const useUtilityClasses$x = ownerState => {
27221
+ const _excluded$J = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
27222
+ const useUtilityClasses$y = ownerState => {
27047
27223
  const {
27048
27224
  classes,
27049
27225
  color,
@@ -27104,7 +27280,7 @@ const ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubh
27104
27280
  disableSticky = false,
27105
27281
  inset = false
27106
27282
  } = props,
27107
- other = _objectWithoutPropertiesLoose(props, _excluded$I);
27283
+ other = _objectWithoutPropertiesLoose(props, _excluded$J);
27108
27284
  const ownerState = _extends$1({}, props, {
27109
27285
  color,
27110
27286
  component,
@@ -27112,7 +27288,7 @@ const ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubh
27112
27288
  disableSticky,
27113
27289
  inset
27114
27290
  });
27115
- const classes = useUtilityClasses$x(ownerState);
27291
+ const classes = useUtilityClasses$y(ownerState);
27116
27292
  return /*#__PURE__*/jsxRuntimeExports.jsx(ListSubheaderRoot, _extends$1({
27117
27293
  as: component,
27118
27294
  className: clsx(classes.root, className),
@@ -27178,8 +27354,8 @@ function getChipUtilityClass(slot) {
27178
27354
  }
27179
27355
  const chipClasses = generateUtilityClasses$1('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
27180
27356
 
27181
- const _excluded$H = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
27182
- const useUtilityClasses$w = ownerState => {
27357
+ const _excluded$I = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
27358
+ const useUtilityClasses$x = ownerState => {
27183
27359
  const {
27184
27360
  classes,
27185
27361
  disabled,
@@ -27464,7 +27640,7 @@ const Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref
27464
27640
  tabIndex,
27465
27641
  skipFocusWhenDisabled = false // TODO v6: Rename to `focusableWhenDisabled`.
27466
27642
  } = props,
27467
- other = _objectWithoutPropertiesLoose(props, _excluded$H);
27643
+ other = _objectWithoutPropertiesLoose(props, _excluded$I);
27468
27644
  const chipRef = React__namespace.useRef(null);
27469
27645
  const handleRef = useForkRef(chipRef, ref);
27470
27646
  const handleDeleteIconClick = event => {
@@ -27510,7 +27686,7 @@ const Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref
27510
27686
  clickable,
27511
27687
  variant
27512
27688
  });
27513
- const classes = useUtilityClasses$w(ownerState);
27689
+ const classes = useUtilityClasses$x(ownerState);
27514
27690
  const moreProps = component === ButtonBase ? _extends$1({
27515
27691
  component: ComponentProp || 'div',
27516
27692
  focusVisibleClassName: classes.focusVisible
@@ -27671,12 +27847,12 @@ function getAutocompleteUtilityClass(slot) {
27671
27847
  const autocompleteClasses = generateUtilityClasses$1('MuiAutocomplete', ['root', 'expanded', 'fullWidth', 'focused', 'focusVisible', 'tag', 'tagSizeSmall', 'tagSizeMedium', 'hasPopupIcon', 'hasClearIcon', 'inputRoot', 'input', 'inputFocused', 'endAdornment', 'clearIndicator', 'popupIndicator', 'popupIndicatorOpen', 'popper', 'popperDisablePortal', 'paper', 'listbox', 'loading', 'noOptions', 'option', 'groupLabel', 'groupUl']);
27672
27848
 
27673
27849
  var _ClearIcon, _ArrowDropDownIcon;
27674
- const _excluded$G = ["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", "getOptionKey", "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"],
27850
+ const _excluded$H = ["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", "getOptionKey", "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"],
27675
27851
  _excluded2$7 = ["ref"],
27676
27852
  _excluded3$3 = ["key"],
27677
27853
  _excluded4 = ["key"];
27678
27854
  const useThemeProps = createUseThemeProps();
27679
- const useUtilityClasses$v = ownerState => {
27855
+ const useUtilityClasses$w = ownerState => {
27680
27856
  const {
27681
27857
  classes,
27682
27858
  disablePortal,
@@ -28115,7 +28291,7 @@ const Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocompl
28115
28291
  size = 'medium',
28116
28292
  slotProps = {}
28117
28293
  } = props,
28118
- other = _objectWithoutPropertiesLoose(props, _excluded$G);
28294
+ other = _objectWithoutPropertiesLoose(props, _excluded$H);
28119
28295
  /* eslint-enable @typescript-eslint/no-unused-vars */
28120
28296
 
28121
28297
  const {
@@ -28174,7 +28350,7 @@ const Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocompl
28174
28350
  popupOpen,
28175
28351
  size
28176
28352
  });
28177
- const classes = useUtilityClasses$v(ownerState);
28353
+ const classes = useUtilityClasses$w(ownerState);
28178
28354
  let startAdornment;
28179
28355
  if (multiple && value.length > 0) {
28180
28356
  const getCustomizedTagProps = params => _extends$1({
@@ -28808,8 +28984,8 @@ if (process.env.NODE_ENV !== 'production') {
28808
28984
  ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';
28809
28985
  }
28810
28986
 
28811
- const _excluded$F = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
28812
- const useUtilityClasses$u = ownerState => {
28987
+ const _excluded$G = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
28988
+ const useUtilityClasses$v = ownerState => {
28813
28989
  const {
28814
28990
  color,
28815
28991
  disableElevation,
@@ -29035,7 +29211,7 @@ const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps,
29035
29211
  type,
29036
29212
  variant = 'text'
29037
29213
  } = props,
29038
- other = _objectWithoutPropertiesLoose(props, _excluded$F);
29214
+ other = _objectWithoutPropertiesLoose(props, _excluded$G);
29039
29215
  const ownerState = _extends$1({}, props, {
29040
29216
  color,
29041
29217
  component,
@@ -29047,7 +29223,7 @@ const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps,
29047
29223
  type,
29048
29224
  variant
29049
29225
  });
29050
- const classes = useUtilityClasses$u(ownerState);
29226
+ const classes = useUtilityClasses$v(ownerState);
29051
29227
  const startIcon = startIconProp && /*#__PURE__*/jsxRuntimeExports.jsx(ButtonStartIcon, {
29052
29228
  className: classes.startIcon,
29053
29229
  ownerState: ownerState,
@@ -29173,8 +29349,8 @@ function getSwitchBaseUtilityClass(slot) {
29173
29349
  }
29174
29350
  generateUtilityClasses$1('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
29175
29351
 
29176
- const _excluded$E = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
29177
- const useUtilityClasses$t = ownerState => {
29352
+ const _excluded$F = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
29353
+ const useUtilityClasses$u = ownerState => {
29178
29354
  const {
29179
29355
  classes,
29180
29356
  checked,
@@ -29239,7 +29415,7 @@ const SwitchBase = /*#__PURE__*/React__namespace.forwardRef(function SwitchBase(
29239
29415
  type,
29240
29416
  value
29241
29417
  } = props,
29242
- other = _objectWithoutPropertiesLoose(props, _excluded$E);
29418
+ other = _objectWithoutPropertiesLoose(props, _excluded$F);
29243
29419
  const [checked, setCheckedState] = useControlled({
29244
29420
  controlled: checkedProp,
29245
29421
  default: Boolean(defaultChecked),
@@ -29288,7 +29464,7 @@ const SwitchBase = /*#__PURE__*/React__namespace.forwardRef(function SwitchBase(
29288
29464
  disableFocusRipple,
29289
29465
  edge
29290
29466
  });
29291
- const classes = useUtilityClasses$t(ownerState);
29467
+ const classes = useUtilityClasses$u(ownerState);
29292
29468
  return /*#__PURE__*/jsxRuntimeExports.jsxs(SwitchBaseRoot, _extends$1({
29293
29469
  component: "span",
29294
29470
  className: clsx(classes.root, className),
@@ -29446,8 +29622,8 @@ function getCheckboxUtilityClass(slot) {
29446
29622
  }
29447
29623
  const checkboxClasses = generateUtilityClasses$1('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);
29448
29624
 
29449
- const _excluded$D = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
29450
- const useUtilityClasses$s = ownerState => {
29625
+ const _excluded$E = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
29626
+ const useUtilityClasses$t = ownerState => {
29451
29627
  const {
29452
29628
  classes,
29453
29629
  indeterminate,
@@ -29510,7 +29686,7 @@ const Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inPr
29510
29686
  size = 'medium',
29511
29687
  className
29512
29688
  } = props,
29513
- other = _objectWithoutPropertiesLoose(props, _excluded$D);
29689
+ other = _objectWithoutPropertiesLoose(props, _excluded$E);
29514
29690
  const icon = indeterminate ? indeterminateIconProp : iconProp;
29515
29691
  const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
29516
29692
  const ownerState = _extends$1({}, props, {
@@ -29518,7 +29694,7 @@ const Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inPr
29518
29694
  indeterminate,
29519
29695
  size
29520
29696
  });
29521
- const classes = useUtilityClasses$s(ownerState);
29697
+ const classes = useUtilityClasses$t(ownerState);
29522
29698
  return /*#__PURE__*/jsxRuntimeExports.jsx(CheckboxRoot, _extends$1({
29523
29699
  type: "checkbox",
29524
29700
  inputProps: _extends$1({
@@ -29709,7 +29885,7 @@ if (process.env.NODE_ENV !== 'production') {
29709
29885
  DialogContext.displayName = 'DialogContext';
29710
29886
  }
29711
29887
 
29712
- const _excluded$C = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"];
29888
+ const _excluded$D = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"];
29713
29889
  const DialogBackdrop = styled$1(Backdrop, {
29714
29890
  name: 'MuiDialog',
29715
29891
  slot: 'Backdrop',
@@ -29718,7 +29894,7 @@ const DialogBackdrop = styled$1(Backdrop, {
29718
29894
  // Improve scrollable dialog support.
29719
29895
  zIndex: -1
29720
29896
  });
29721
- const useUtilityClasses$r = ownerState => {
29897
+ const useUtilityClasses$s = ownerState => {
29722
29898
  const {
29723
29899
  classes,
29724
29900
  scroll,
@@ -29872,7 +30048,7 @@ const Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps,
29872
30048
  transitionDuration = defaultTransitionDuration,
29873
30049
  TransitionProps
29874
30050
  } = props,
29875
- other = _objectWithoutPropertiesLoose(props, _excluded$C);
30051
+ other = _objectWithoutPropertiesLoose(props, _excluded$D);
29876
30052
  const ownerState = _extends$1({}, props, {
29877
30053
  disableEscapeKeyDown,
29878
30054
  fullScreen,
@@ -29880,7 +30056,7 @@ const Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps,
29880
30056
  maxWidth,
29881
30057
  scroll
29882
30058
  });
29883
- const classes = useUtilityClasses$r(ownerState);
30059
+ const classes = useUtilityClasses$s(ownerState);
29884
30060
  const backdropClick = React__namespace.useRef();
29885
30061
  const handleMouseDown = event => {
29886
30062
  // We don't want to close the dialog when clicking the dialog content.
@@ -30095,8 +30271,8 @@ function getDialogActionsUtilityClass(slot) {
30095
30271
  }
30096
30272
  generateUtilityClasses$1('MuiDialogActions', ['root', 'spacing']);
30097
30273
 
30098
- const _excluded$B = ["className", "disableSpacing"];
30099
- const useUtilityClasses$q = ownerState => {
30274
+ const _excluded$C = ["className", "disableSpacing"];
30275
+ const useUtilityClasses$r = ownerState => {
30100
30276
  const {
30101
30277
  classes,
30102
30278
  disableSpacing
@@ -30137,11 +30313,11 @@ const DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogAc
30137
30313
  className,
30138
30314
  disableSpacing = false
30139
30315
  } = props,
30140
- other = _objectWithoutPropertiesLoose(props, _excluded$B);
30316
+ other = _objectWithoutPropertiesLoose(props, _excluded$C);
30141
30317
  const ownerState = _extends$1({}, props, {
30142
30318
  disableSpacing
30143
30319
  });
30144
- const classes = useUtilityClasses$q(ownerState);
30320
+ const classes = useUtilityClasses$r(ownerState);
30145
30321
  return /*#__PURE__*/jsxRuntimeExports.jsx(DialogActionsRoot, _extends$1({
30146
30322
  className: clsx(classes.root, className),
30147
30323
  ownerState: ownerState,
@@ -30186,8 +30362,8 @@ function getDialogTitleUtilityClass(slot) {
30186
30362
  }
30187
30363
  const dialogTitleClasses = generateUtilityClasses$1('MuiDialogTitle', ['root']);
30188
30364
 
30189
- const _excluded$A = ["className", "dividers"];
30190
- const useUtilityClasses$p = ownerState => {
30365
+ const _excluded$B = ["className", "dividers"];
30366
+ const useUtilityClasses$q = ownerState => {
30191
30367
  const {
30192
30368
  classes,
30193
30369
  dividers
@@ -30233,11 +30409,11 @@ const DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogCo
30233
30409
  className,
30234
30410
  dividers = false
30235
30411
  } = props,
30236
- other = _objectWithoutPropertiesLoose(props, _excluded$A);
30412
+ other = _objectWithoutPropertiesLoose(props, _excluded$B);
30237
30413
  const ownerState = _extends$1({}, props, {
30238
30414
  dividers
30239
30415
  });
30240
- const classes = useUtilityClasses$p(ownerState);
30416
+ const classes = useUtilityClasses$q(ownerState);
30241
30417
  return /*#__PURE__*/jsxRuntimeExports.jsx(DialogContentRoot, _extends$1({
30242
30418
  className: clsx(classes.root, className),
30243
30419
  ownerState: ownerState,
@@ -30272,8 +30448,8 @@ process.env.NODE_ENV !== "production" ? DialogContent.propTypes /* remove-propty
30272
30448
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
30273
30449
  } : void 0;
30274
30450
 
30275
- const _excluded$z = ["className", "id"];
30276
- const useUtilityClasses$o = ownerState => {
30451
+ const _excluded$A = ["className", "id"];
30452
+ const useUtilityClasses$p = ownerState => {
30277
30453
  const {
30278
30454
  classes
30279
30455
  } = ownerState;
@@ -30299,9 +30475,9 @@ const DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitl
30299
30475
  className,
30300
30476
  id: idProp
30301
30477
  } = props,
30302
- other = _objectWithoutPropertiesLoose(props, _excluded$z);
30478
+ other = _objectWithoutPropertiesLoose(props, _excluded$A);
30303
30479
  const ownerState = props;
30304
- const classes = useUtilityClasses$o(ownerState);
30480
+ const classes = useUtilityClasses$p(ownerState);
30305
30481
  const {
30306
30482
  titleId = idProp
30307
30483
  } = React__namespace.useContext(DialogContext);
@@ -30346,8 +30522,8 @@ function getDividerUtilityClass(slot) {
30346
30522
  }
30347
30523
  const dividerClasses = generateUtilityClasses$1('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
30348
30524
 
30349
- const _excluded$y = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
30350
- const useUtilityClasses$n = ownerState => {
30525
+ const _excluded$z = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
30526
+ const useUtilityClasses$o = ownerState => {
30351
30527
  const {
30352
30528
  absolute,
30353
30529
  children,
@@ -30488,7 +30664,7 @@ const Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProp
30488
30664
  textAlign = 'center',
30489
30665
  variant = 'fullWidth'
30490
30666
  } = props,
30491
- other = _objectWithoutPropertiesLoose(props, _excluded$y);
30667
+ other = _objectWithoutPropertiesLoose(props, _excluded$z);
30492
30668
  const ownerState = _extends$1({}, props, {
30493
30669
  absolute,
30494
30670
  component,
@@ -30499,7 +30675,7 @@ const Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProp
30499
30675
  textAlign,
30500
30676
  variant
30501
30677
  });
30502
- const classes = useUtilityClasses$n(ownerState);
30678
+ const classes = useUtilityClasses$o(ownerState);
30503
30679
  return /*#__PURE__*/jsxRuntimeExports.jsx(DividerRoot, _extends$1({
30504
30680
  as: component,
30505
30681
  className: clsx(classes.root, className),
@@ -30584,7 +30760,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */
30584
30760
  variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['fullWidth', 'inset', 'middle']), PropTypes.string])
30585
30761
  } : void 0;
30586
30762
 
30587
- const _excluded$x = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
30763
+ const _excluded$y = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
30588
30764
  function getTranslateValue(direction, node, resolvedContainer) {
30589
30765
  const rect = node.getBoundingClientRect();
30590
30766
  const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();
@@ -30673,7 +30849,7 @@ const Slide = /*#__PURE__*/React__namespace.forwardRef(function Slide(props, ref
30673
30849
  // eslint-disable-next-line react/prop-types
30674
30850
  TransitionComponent = Transition
30675
30851
  } = props,
30676
- other = _objectWithoutPropertiesLoose(props, _excluded$x);
30852
+ other = _objectWithoutPropertiesLoose(props, _excluded$y);
30677
30853
  const childrenRef = React__namespace.useRef(null);
30678
30854
  const handleRef = useForkRef(children.ref, childrenRef, ref);
30679
30855
  const normalizedTransitionCallback = callback => isAppearing => {
@@ -30895,6 +31071,62 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes /* remove-proptypes */ =
30895
31071
  })])
30896
31072
  } : void 0;
30897
31073
 
31074
+ const Stack = createStack({
31075
+ createStyledComponent: styled$1('div', {
31076
+ name: 'MuiStack',
31077
+ slot: 'Root',
31078
+ overridesResolver: (props, styles) => styles.root
31079
+ }),
31080
+ useThemeProps: inProps => useThemeProps$1({
31081
+ props: inProps,
31082
+ name: 'MuiStack'
31083
+ })
31084
+ });
31085
+ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
31086
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
31087
+ // │ These PropTypes are generated from the TypeScript type definitions. │
31088
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
31089
+ // └─────────────────────────────────────────────────────────────────────┘
31090
+ /**
31091
+ * The content of the component.
31092
+ */
31093
+ children: PropTypes.node,
31094
+ /**
31095
+ * The component used for the root node.
31096
+ * Either a string to use a HTML element or a component.
31097
+ */
31098
+ component: PropTypes.elementType,
31099
+ /**
31100
+ * Defines the `flex-direction` style property.
31101
+ * It is applied for all screen sizes.
31102
+ * @default 'column'
31103
+ */
31104
+ direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
31105
+ /**
31106
+ * Add an element between each child.
31107
+ */
31108
+ divider: PropTypes.node,
31109
+ /**
31110
+ * Defines the space between immediate children.
31111
+ * @default 0
31112
+ */
31113
+ spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
31114
+ /**
31115
+ * The system prop, which allows defining system overrides as well as additional CSS styles.
31116
+ */
31117
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
31118
+ /**
31119
+ * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
31120
+ *
31121
+ * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
31122
+ * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
31123
+ *
31124
+ * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
31125
+ * @default false
31126
+ */
31127
+ useFlexGap: PropTypes.bool
31128
+ } : void 0;
31129
+
30898
31130
  /**
30899
31131
  * @ignore - internal component.
30900
31132
  */
@@ -30920,7 +31152,7 @@ const gridClasses = generateUtilityClasses$1('MuiGrid', ['root', 'container', 'i
30920
31152
  // grid sizes for all breakpoints
30921
31153
  ...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
30922
31154
 
30923
- const _excluded$w = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
31155
+ const _excluded$x = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
30924
31156
  function getOffset(val) {
30925
31157
  const parse = parseFloat(val);
30926
31158
  return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
@@ -31229,7 +31461,7 @@ function resolveSpacingClasses(spacing, breakpoints) {
31229
31461
  });
31230
31462
  return classes;
31231
31463
  }
31232
- const useUtilityClasses$m = ownerState => {
31464
+ const useUtilityClasses$n = ownerState => {
31233
31465
  const {
31234
31466
  classes,
31235
31467
  container,
@@ -31280,7 +31512,7 @@ const Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref
31280
31512
  wrap = 'wrap',
31281
31513
  zeroMinWidth = false
31282
31514
  } = props,
31283
- other = _objectWithoutPropertiesLoose(props, _excluded$w);
31515
+ other = _objectWithoutPropertiesLoose(props, _excluded$x);
31284
31516
  const rowSpacing = rowSpacingProp || spacing;
31285
31517
  const columnSpacing = columnSpacingProp || spacing;
31286
31518
  const columnsContext = React__namespace.useContext(GridContext);
@@ -31308,7 +31540,7 @@ const Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref
31308
31540
  }, breakpointsValues, {
31309
31541
  breakpoints: breakpoints.keys
31310
31542
  });
31311
- const classes = useUtilityClasses$m(ownerState);
31543
+ const classes = useUtilityClasses$n(ownerState);
31312
31544
  return /*#__PURE__*/jsxRuntimeExports.jsx(GridContext.Provider, {
31313
31545
  value: columns,
31314
31546
  children: /*#__PURE__*/jsxRuntimeExports.jsx(GridRoot, _extends$1({
@@ -31468,14 +31700,14 @@ function getInputAdornmentUtilityClass(slot) {
31468
31700
  const inputAdornmentClasses = generateUtilityClasses$1('MuiInputAdornment', ['root', 'filled', 'standard', 'outlined', 'positionStart', 'positionEnd', 'disablePointerEvents', 'hiddenLabel', 'sizeSmall']);
31469
31701
 
31470
31702
  var _span;
31471
- const _excluded$v = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
31703
+ const _excluded$w = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
31472
31704
  const overridesResolver$3 = (props, styles) => {
31473
31705
  const {
31474
31706
  ownerState
31475
31707
  } = props;
31476
31708
  return [styles.root, styles[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
31477
31709
  };
31478
- const useUtilityClasses$l = ownerState => {
31710
+ const useUtilityClasses$m = ownerState => {
31479
31711
  const {
31480
31712
  classes,
31481
31713
  disablePointerEvents,
@@ -31533,7 +31765,7 @@ const InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAd
31533
31765
  position,
31534
31766
  variant: variantProp
31535
31767
  } = props,
31536
- other = _objectWithoutPropertiesLoose(props, _excluded$v);
31768
+ other = _objectWithoutPropertiesLoose(props, _excluded$w);
31537
31769
  const muiFormControl = useFormControl() || {};
31538
31770
  let variant = variantProp;
31539
31771
  if (variantProp && muiFormControl.variant) {
@@ -31553,7 +31785,7 @@ const InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAd
31553
31785
  position,
31554
31786
  variant
31555
31787
  });
31556
- const classes = useUtilityClasses$l(ownerState);
31788
+ const classes = useUtilityClasses$m(ownerState);
31557
31789
  return /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext.Provider, {
31558
31790
  value: null,
31559
31791
  children: /*#__PURE__*/jsxRuntimeExports.jsx(InputAdornmentRoot, _extends$1({
@@ -31635,8 +31867,8 @@ function getListItemSecondaryActionClassesUtilityClass(slot) {
31635
31867
  }
31636
31868
  generateUtilityClasses$1('MuiListItemSecondaryAction', ['root', 'disableGutters']);
31637
31869
 
31638
- const _excluded$u = ["className"];
31639
- const useUtilityClasses$k = ownerState => {
31870
+ const _excluded$v = ["className"];
31871
+ const useUtilityClasses$l = ownerState => {
31640
31872
  const {
31641
31873
  disableGutters,
31642
31874
  classes
@@ -31677,12 +31909,12 @@ const ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(functio
31677
31909
  const {
31678
31910
  className
31679
31911
  } = props,
31680
- other = _objectWithoutPropertiesLoose(props, _excluded$u);
31912
+ other = _objectWithoutPropertiesLoose(props, _excluded$v);
31681
31913
  const context = React__namespace.useContext(ListContext);
31682
31914
  const ownerState = _extends$1({}, props, {
31683
31915
  disableGutters: context.disableGutters
31684
31916
  });
31685
- const classes = useUtilityClasses$k(ownerState);
31917
+ const classes = useUtilityClasses$l(ownerState);
31686
31918
  return /*#__PURE__*/jsxRuntimeExports.jsx(ListItemSecondaryActionRoot, _extends$1({
31687
31919
  className: clsx(classes.root, className),
31688
31920
  ownerState: ownerState,
@@ -31713,7 +31945,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes /* rem
31713
31945
  } : void 0;
31714
31946
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
31715
31947
 
31716
- const _excluded$t = ["className"],
31948
+ const _excluded$u = ["className"],
31717
31949
  _excluded2$6 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
31718
31950
  const overridesResolver$2 = (props, styles) => {
31719
31951
  const {
@@ -31721,7 +31953,7 @@ const overridesResolver$2 = (props, styles) => {
31721
31953
  } = props;
31722
31954
  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];
31723
31955
  };
31724
- const useUtilityClasses$j = ownerState => {
31956
+ const useUtilityClasses$k = ownerState => {
31725
31957
  const {
31726
31958
  alignItems,
31727
31959
  button,
@@ -31855,7 +32087,7 @@ const ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inPr
31855
32087
  slotProps = {},
31856
32088
  slots = {}
31857
32089
  } = props,
31858
- ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$t),
32090
+ ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$u),
31859
32091
  other = _objectWithoutPropertiesLoose(props, _excluded2$6);
31860
32092
  const context = React__namespace.useContext(ListContext);
31861
32093
  const childContext = React__namespace.useMemo(() => ({
@@ -31889,7 +32121,7 @@ const ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inPr
31889
32121
  hasSecondaryAction,
31890
32122
  selected
31891
32123
  });
31892
- const classes = useUtilityClasses$j(ownerState);
32124
+ const classes = useUtilityClasses$k(ownerState);
31893
32125
  const handleRef = useForkRef(listItemRef, ref);
31894
32126
  const Root = slots.root || components.Root || ListItemRoot;
31895
32127
  const rootProps = slotProps.root || componentsProps.root || {};
@@ -32118,8 +32350,8 @@ function getListItemTextUtilityClass(slot) {
32118
32350
  }
32119
32351
  const listItemTextClasses = generateUtilityClasses$1('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);
32120
32352
 
32121
- const _excluded$s = ["children", "className", "disableTypography", "inset", "primary", "primaryTypographyProps", "secondary", "secondaryTypographyProps"];
32122
- const useUtilityClasses$i = ownerState => {
32353
+ const _excluded$t = ["children", "className", "disableTypography", "inset", "primary", "primaryTypographyProps", "secondary", "secondaryTypographyProps"];
32354
+ const useUtilityClasses$j = ownerState => {
32123
32355
  const {
32124
32356
  classes,
32125
32357
  inset,
@@ -32175,7 +32407,7 @@ const ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemT
32175
32407
  secondary: secondaryProp,
32176
32408
  secondaryTypographyProps
32177
32409
  } = props,
32178
- other = _objectWithoutPropertiesLoose(props, _excluded$s);
32410
+ other = _objectWithoutPropertiesLoose(props, _excluded$t);
32179
32411
  const {
32180
32412
  dense
32181
32413
  } = React__namespace.useContext(ListContext);
@@ -32188,7 +32420,7 @@ const ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemT
32188
32420
  secondary: !!secondary,
32189
32421
  dense
32190
32422
  });
32191
- const classes = useUtilityClasses$i(ownerState);
32423
+ const classes = useUtilityClasses$j(ownerState);
32192
32424
  if (primary != null && primary.type !== Typography && !disableTypography) {
32193
32425
  primary = /*#__PURE__*/jsxRuntimeExports.jsx(Typography, _extends$1({
32194
32426
  variant: dense ? 'body2' : 'body1',
@@ -32277,14 +32509,14 @@ function getMenuItemUtilityClass(slot) {
32277
32509
  }
32278
32510
  const menuItemClasses = generateUtilityClasses$1('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);
32279
32511
 
32280
- const _excluded$r = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
32512
+ const _excluded$s = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
32281
32513
  const overridesResolver$1 = (props, styles) => {
32282
32514
  const {
32283
32515
  ownerState
32284
32516
  } = props;
32285
32517
  return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
32286
32518
  };
32287
- const useUtilityClasses$h = ownerState => {
32519
+ const useUtilityClasses$i = ownerState => {
32288
32520
  const {
32289
32521
  disabled,
32290
32522
  dense,
@@ -32399,7 +32631,7 @@ const MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inPr
32399
32631
  tabIndex: tabIndexProp,
32400
32632
  className
32401
32633
  } = props,
32402
- other = _objectWithoutPropertiesLoose(props, _excluded$r);
32634
+ other = _objectWithoutPropertiesLoose(props, _excluded$s);
32403
32635
  const context = React__namespace.useContext(ListContext);
32404
32636
  const childContext = React__namespace.useMemo(() => ({
32405
32637
  dense: dense || context.dense || false,
@@ -32420,7 +32652,7 @@ const MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inPr
32420
32652
  divider,
32421
32653
  disableGutters
32422
32654
  });
32423
- const classes = useUtilityClasses$h(props);
32655
+ const classes = useUtilityClasses$i(props);
32424
32656
  const handleRef = useForkRef(menuItemRef, ref);
32425
32657
  let tabIndex;
32426
32658
  if (!props.disabled) {
@@ -32517,6 +32749,219 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes *
32517
32749
  tabIndex: PropTypes.number
32518
32750
  } : void 0;
32519
32751
 
32752
+ function getSkeletonUtilityClass(slot) {
32753
+ return generateUtilityClass$1('MuiSkeleton', slot);
32754
+ }
32755
+ generateUtilityClasses$1('MuiSkeleton', ['root', 'text', 'rectangular', 'rounded', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);
32756
+
32757
+ const _excluded$r = ["animation", "className", "component", "height", "style", "variant", "width"];
32758
+ let _ = t => t,
32759
+ _t,
32760
+ _t2,
32761
+ _t3,
32762
+ _t4;
32763
+ const useUtilityClasses$h = ownerState => {
32764
+ const {
32765
+ classes,
32766
+ variant,
32767
+ animation,
32768
+ hasChildren,
32769
+ width,
32770
+ height
32771
+ } = ownerState;
32772
+ const slots = {
32773
+ root: ['root', variant, animation, hasChildren && 'withChildren', hasChildren && !width && 'fitContent', hasChildren && !height && 'heightAuto']
32774
+ };
32775
+ return composeClasses(slots, getSkeletonUtilityClass, classes);
32776
+ };
32777
+ const pulseKeyframe = keyframes(_t || (_t = _`
32778
+ 0% {
32779
+ opacity: 1;
32780
+ }
32781
+
32782
+ 50% {
32783
+ opacity: 0.4;
32784
+ }
32785
+
32786
+ 100% {
32787
+ opacity: 1;
32788
+ }
32789
+ `));
32790
+ const waveKeyframe = keyframes(_t2 || (_t2 = _`
32791
+ 0% {
32792
+ transform: translateX(-100%);
32793
+ }
32794
+
32795
+ 50% {
32796
+ /* +0.5s of delay between each loop */
32797
+ transform: translateX(100%);
32798
+ }
32799
+
32800
+ 100% {
32801
+ transform: translateX(100%);
32802
+ }
32803
+ `));
32804
+ const SkeletonRoot = styled$1('span', {
32805
+ name: 'MuiSkeleton',
32806
+ slot: 'Root',
32807
+ overridesResolver: (props, styles) => {
32808
+ const {
32809
+ ownerState
32810
+ } = props;
32811
+ return [styles.root, styles[ownerState.variant], ownerState.animation !== false && styles[ownerState.animation], ownerState.hasChildren && styles.withChildren, ownerState.hasChildren && !ownerState.width && styles.fitContent, ownerState.hasChildren && !ownerState.height && styles.heightAuto];
32812
+ }
32813
+ })(({
32814
+ theme,
32815
+ ownerState
32816
+ }) => {
32817
+ const radiusUnit = getUnit(theme.shape.borderRadius) || 'px';
32818
+ const radiusValue = toUnitless(theme.shape.borderRadius);
32819
+ return _extends$1({
32820
+ display: 'block',
32821
+ // Create a "on paper" color with sufficient contrast retaining the color
32822
+ backgroundColor: theme.vars ? theme.vars.palette.Skeleton.bg : alpha(theme.palette.text.primary, theme.palette.mode === 'light' ? 0.11 : 0.13),
32823
+ height: '1.2em'
32824
+ }, ownerState.variant === 'text' && {
32825
+ marginTop: 0,
32826
+ marginBottom: 0,
32827
+ height: 'auto',
32828
+ transformOrigin: '0 55%',
32829
+ transform: 'scale(1, 0.60)',
32830
+ borderRadius: `${radiusValue}${radiusUnit}/${Math.round(radiusValue / 0.6 * 10) / 10}${radiusUnit}`,
32831
+ '&:empty:before': {
32832
+ content: '"\\00a0"'
32833
+ }
32834
+ }, ownerState.variant === 'circular' && {
32835
+ borderRadius: '50%'
32836
+ }, ownerState.variant === 'rounded' && {
32837
+ borderRadius: (theme.vars || theme).shape.borderRadius
32838
+ }, ownerState.hasChildren && {
32839
+ '& > *': {
32840
+ visibility: 'hidden'
32841
+ }
32842
+ }, ownerState.hasChildren && !ownerState.width && {
32843
+ maxWidth: 'fit-content'
32844
+ }, ownerState.hasChildren && !ownerState.height && {
32845
+ height: 'auto'
32846
+ });
32847
+ }, ({
32848
+ ownerState
32849
+ }) => ownerState.animation === 'pulse' && css$1(_t3 || (_t3 = _`
32850
+ animation: ${0} 2s ease-in-out 0.5s infinite;
32851
+ `), pulseKeyframe), ({
32852
+ ownerState,
32853
+ theme
32854
+ }) => ownerState.animation === 'wave' && css$1(_t4 || (_t4 = _`
32855
+ position: relative;
32856
+ overflow: hidden;
32857
+
32858
+ /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
32859
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
32860
+
32861
+ &::after {
32862
+ animation: ${0} 2s linear 0.5s infinite;
32863
+ background: linear-gradient(
32864
+ 90deg,
32865
+ transparent,
32866
+ ${0},
32867
+ transparent
32868
+ );
32869
+ content: '';
32870
+ position: absolute;
32871
+ transform: translateX(-100%); /* Avoid flash during server-side hydration */
32872
+ bottom: 0;
32873
+ left: 0;
32874
+ right: 0;
32875
+ top: 0;
32876
+ }
32877
+ `), waveKeyframe, (theme.vars || theme).palette.action.hover));
32878
+ const Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
32879
+ const props = useThemeProps$1({
32880
+ props: inProps,
32881
+ name: 'MuiSkeleton'
32882
+ });
32883
+ const {
32884
+ animation = 'pulse',
32885
+ className,
32886
+ component = 'span',
32887
+ height,
32888
+ style,
32889
+ variant = 'text',
32890
+ width
32891
+ } = props,
32892
+ other = _objectWithoutPropertiesLoose(props, _excluded$r);
32893
+ const ownerState = _extends$1({}, props, {
32894
+ animation,
32895
+ component,
32896
+ variant,
32897
+ hasChildren: Boolean(other.children)
32898
+ });
32899
+ const classes = useUtilityClasses$h(ownerState);
32900
+ return /*#__PURE__*/jsxRuntimeExports.jsx(SkeletonRoot, _extends$1({
32901
+ as: component,
32902
+ ref: ref,
32903
+ className: clsx(classes.root, className),
32904
+ ownerState: ownerState
32905
+ }, other, {
32906
+ style: _extends$1({
32907
+ width,
32908
+ height
32909
+ }, style)
32910
+ }));
32911
+ });
32912
+ process.env.NODE_ENV !== "production" ? Skeleton.propTypes /* remove-proptypes */ = {
32913
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
32914
+ // │ These PropTypes are generated from the TypeScript type definitions. │
32915
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
32916
+ // └─────────────────────────────────────────────────────────────────────┘
32917
+ /**
32918
+ * The animation.
32919
+ * If `false` the animation effect is disabled.
32920
+ * @default 'pulse'
32921
+ */
32922
+ animation: PropTypes.oneOf(['pulse', 'wave', false]),
32923
+ /**
32924
+ * Optional children to infer width and height from.
32925
+ */
32926
+ children: PropTypes.node,
32927
+ /**
32928
+ * Override or extend the styles applied to the component.
32929
+ */
32930
+ classes: PropTypes.object,
32931
+ /**
32932
+ * @ignore
32933
+ */
32934
+ className: PropTypes.string,
32935
+ /**
32936
+ * The component used for the root node.
32937
+ * Either a string to use a HTML element or a component.
32938
+ */
32939
+ component: PropTypes.elementType,
32940
+ /**
32941
+ * Height of the skeleton.
32942
+ * Useful when you don't want to adapt the skeleton to a text element but for instance a card.
32943
+ */
32944
+ height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
32945
+ /**
32946
+ * @ignore
32947
+ */
32948
+ style: PropTypes.object,
32949
+ /**
32950
+ * The system prop that allows defining system overrides as well as additional CSS styles.
32951
+ */
32952
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
32953
+ /**
32954
+ * The type of content that will be rendered.
32955
+ * @default 'text'
32956
+ */
32957
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rectangular', 'rounded', 'text']), PropTypes.string]),
32958
+ /**
32959
+ * Width of the skeleton.
32960
+ * Useful when the skeleton is inside an inline element with no width of its own.
32961
+ */
32962
+ width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
32963
+ } : void 0;
32964
+
32520
32965
  function getTooltipUtilityClass(slot) {
32521
32966
  return generateUtilityClass$1('MuiTooltip', slot);
32522
32967
  }
@@ -52030,7 +52475,7 @@ const DateRangePickerComponent = ({ props }) => {
52030
52475
  } }, { children: jsxRuntimeExports.jsx(DateRangePickerExporter, { open: true, toggle: toggle, initialDateRange: dateRange, closeOnClickOutside: true, onChange: (range) => setDateRange(range) }) })) })))] })));
52031
52476
  };
52032
52477
 
52033
- const useStyles$1 = makeStyles((theme) => ({
52478
+ const useStyles$2 = makeStyles((theme) => ({
52034
52479
  option: {
52035
52480
  fontSize: "11px",
52036
52481
  fontFamily: "Roboto-Reg",
@@ -52043,7 +52488,7 @@ const useStyles$1 = makeStyles((theme) => ({
52043
52488
  },
52044
52489
  }));
52045
52490
  const SingleSelect = ({ props }) => {
52046
- const classes = useStyles$1();
52491
+ const classes = useStyles$2();
52047
52492
  // const valueRender = props.item.options?.find(
52048
52493
  // (item) => item.value === props.getValues(props.item.name)
52049
52494
  // );
@@ -52307,7 +52752,7 @@ const FormRenderFileUpload = ({ props }) => {
52307
52752
  }, sx: { width: "100%" } })] })), jsxRuntimeExports.jsx(ErrorMessageComponent, { children: jsxRuntimeExports.jsx(s, { errors: props.errors, name: props.item.name }) })] }));
52308
52753
  };
52309
52754
 
52310
- const useStyles = makeStyles((theme) => ({
52755
+ const useStyles$1 = makeStyles((theme) => ({
52311
52756
  option: {
52312
52757
  fontSize: "11px",
52313
52758
  fontFamily: "Roboto-Reg",
@@ -52320,7 +52765,7 @@ const useStyles = makeStyles((theme) => ({
52320
52765
  },
52321
52766
  }));
52322
52767
  const SingleSelectNonAutoComplete = ({ props }) => {
52323
- useStyles();
52768
+ useStyles$1();
52324
52769
  return (jsxRuntimeExports.jsxs(FormControl, Object.assign({ fullWidth: true, sx: { position: "relative" } }, { children: [jsxRuntimeExports.jsx(InputLabel, Object.assign({ id: "demo-simple-select-label" }, { children: props.item.label })), jsxRuntimeExports.jsx(Select, Object.assign({ labelId: "demo-simple-select-label", id: "demo-simple-select",
52325
52770
  // {...props.register(props.item.name)}
52326
52771
  value: props.getValues(props.item.name), label: `${props.item.label}${props.item.required ? " *" : ""}`, onChange: (e) => props.setValue(props.item.name, e.target.value), onBlur: (e) => {
@@ -52355,6 +52800,87 @@ const FormActiveSwitch = ({ props }) => {
52355
52800
  return (jsxRuntimeExports.jsx("div", { children: jsxRuntimeExports.jsxs("div", Object.assign({ className: "m-form__input" }, { children: [item.label && (jsxRuntimeExports.jsx("span", Object.assign({ style: { fontSize: "12px", fontWeight: 400, paddingRight: 10 } }, { children: item.label }))), jsxRuntimeExports.jsxs("span", Object.assign({ className: "switch prestashop-switch fixed-width-lg" }, { children: [jsxRuntimeExports.jsx("input", { checked: active, id: `${item.name}_on`, name: item.name, type: "radio", value: "Active", onChange: handleSwitchChange }), jsxRuntimeExports.jsx("label", Object.assign({ htmlFor: `${item.name}_on`, style: { fontFamily: "Roboto-Reg", textTransform: "none" } }, { children: item.label1 ? item.label1 : "Active" })), jsxRuntimeExports.jsx("input", { checked: !active, id: `${item.name}_off`, name: item.name, type: "radio", value: "In Active", onChange: handleSwitchChange }), jsxRuntimeExports.jsx("label", Object.assign({ htmlFor: `${item.name}_off`, style: { fontFamily: "Roboto-Reg", textTransform: "none" } }, { children: item.label2 ? item.label2 : "In Active" })), jsxRuntimeExports.jsx("a", { className: "slide-button btn" })] }))] })) }));
52356
52801
  };
52357
52802
 
52803
+ const useStyles = makeStyles((theme) => ({
52804
+ option: {
52805
+ fontSize: "11px",
52806
+ fontFamily: "Roboto-Reg",
52807
+ },
52808
+ option2: {
52809
+ fontSize: "14px",
52810
+ fontFamily: "Roboto-Reg",
52811
+ },
52812
+ }));
52813
+ const SingleSelectSearchApi = ({ props }) => {
52814
+ var _a, _b;
52815
+ const classes = useStyles();
52816
+ const [searchValue, setSearchValue] = React$1.useState("");
52817
+ const [optionsFetched, setOptionsFetched] = React$1.useState([]);
52818
+ const [isLoading, setIsLoading] = React$1.useState(false);
52819
+ React$1.useEffect(() => {
52820
+ var _a;
52821
+ const controller = new AbortController();
52822
+ const signal = controller.signal;
52823
+ if (((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.autoFIll) && props.getValues(props.item.name)) {
52824
+ setSearchValue(props.getValues(props.item.name));
52825
+ setOptionsFetched([]);
52826
+ }
52827
+ else if (props.getValues(props.item.name)) {
52828
+ setSearchValue('');
52829
+ }
52830
+ setIsLoading(true);
52831
+ props.item.AxiosInstance
52832
+ .get(props.item.ApiInstance + `&${props.item.searchInstance}=${searchValue}`, { signal })
52833
+ .then((res) => {
52834
+ setOptionsFetched(res.data);
52835
+ setIsLoading(false);
52836
+ props.item.setLoadedPaginationOptions && props.item.setLoadedPaginationOptions(res.data);
52837
+ })
52838
+ .catch((err) => {
52839
+ console.log(err, "error");
52840
+ setIsLoading(false);
52841
+ });
52842
+ return () => controller.abort();
52843
+ }, [searchValue, props.item.ApiInstance, props.getValues(props.item.name), (_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.autoFIll]);
52844
+ React$1.useEffect(() => {
52845
+ setSearchValue("");
52846
+ }, [(_b = props.item) === null || _b === void 0 ? void 0 : _b.ApiInstanceReferal]);
52847
+ const isOptionEqualToValue = (option, value) => (option === null || option === void 0 ? void 0 : option.value) === (value === null || value === void 0 ? void 0 : value.value); // Assuming there's a 'value' property in your options
52848
+ return (jsxRuntimeExports.jsx(Controller, { control: props.control, name: props.item.name, render: ({ field }) => {
52849
+ var _a, _b;
52850
+ return (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Autocomplete, Object.assign({}, field, { value: props.getValues(props.item.name)
52851
+ ? optionsFetched === null || optionsFetched === void 0 ? void 0 : optionsFetched.find((item) => (item === null || item === void 0 ? void 0 : item.value) === props.getValues(props.item.name))
52852
+ : null, onChange: (_, newValue) => {
52853
+ var _a, _b;
52854
+ // field.onChange(newValue);
52855
+ props.setValue(props.item.name, newValue === null || newValue === void 0 ? void 0 : newValue.value);
52856
+ ((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.onChangeFn) &&
52857
+ ((_b = props === null || props === void 0 ? void 0 : props.item) === null || _b === void 0 ? void 0 : _b.onChangeFn(newValue === null || newValue === void 0 ? void 0 : newValue.value));
52858
+ (props === null || props === void 0 ? void 0 : props.clearErrors) && (props === null || props === void 0 ? void 0 : props.clearErrors(props.item.name));
52859
+ }, size: "small", sx: {
52860
+ "& .MuiAutocomplete-input": {
52861
+ padding: "0px 0px 0px 5px !important",
52862
+ },
52863
+ "& .css-erkti9-MuiFormLabel-root-MuiInputLabel-root ": {
52864
+ top: "-5px",
52865
+ },
52866
+ }, disabled: props.item.disable, options: optionsFetched, classes: {
52867
+ option: props.item.size === "extrasmall"
52868
+ ? classes.option
52869
+ : classes.option2,
52870
+ }, getOptionLabel: (option) => option.label, renderInput: (params) => {
52871
+ return (jsxRuntimeExports.jsx(Tooltip, Object.assign({ title: params.inputProps.value && params.inputProps.value }, { children: jsxRuntimeExports.jsx(TextField, Object.assign({}, params, { onChange: (e) => {
52872
+ setSearchValue(e.target.value);
52873
+ }, placeholder: props.item.placeholder, label: props.item.label })) })));
52874
+ }, PaperComponent: ({ children }) => (jsxRuntimeExports.jsx("div", Object.assign({ style: {
52875
+ background: "#fff",
52876
+ } }, { children: isLoading ? (jsxRuntimeExports.jsxs(Stack, Object.assign({ padding: 2, spacing: 1 }, { children: [jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 })] }))) : (children) }))), isOptionEqualToValue: isOptionEqualToValue })), ((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.helperText) && (jsxRuntimeExports.jsxs("span", Object.assign({ style: {
52877
+ fontFamily: "Roboto-Reg",
52878
+ fontSize: "11px",
52879
+ color: "#3651d3",
52880
+ } }, { children: ["(", (_b = props === null || props === void 0 ? void 0 : props.item) === null || _b === void 0 ? void 0 : _b.helperText, ")"] }))), jsxRuntimeExports.jsx(ErrorMessageComponent, { children: jsxRuntimeExports.jsx(s, { errors: props.errors, name: props.item.name }) })] }));
52881
+ } }));
52882
+ };
52883
+
52358
52884
  const renderLabel = (label, isRequired, alignRight) => {
52359
52885
  return (jsxRuntimeExports.jsx(LabelComponent, Object.assign({ container: true, style: { justifyContent: "normal" } }, { children: jsxRuntimeExports.jsxs(Box, Object.assign({ fontSize: "12px", fontFamily: "Roboto-Reg" }, { children: [label, isRequired ? jsxRuntimeExports.jsx(ImportantMark, { children: " *" }) : ""] })) })));
52360
52886
  };
@@ -52477,12 +53003,8 @@ const RenderForm = (props) => {
52477
53003
  return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx(SingleSelect, { props: props }) }));
52478
53004
  case "select-v2":
52479
53005
  return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx(SingleSelectNonAutoComplete, { props: props }) }));
52480
- // case "select-search-api":
52481
- // return (
52482
- // <>
52483
- // <SingleSelectSearchApi props={props} />
52484
- // </>
52485
- // );
53006
+ case "select-search-api":
53007
+ return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx(SingleSelectSearchApi, { props: props }) }));
52486
53008
  case "number":
52487
53009
  case "pincode":
52488
53010
  case "phoneNumber":