@atipicus/mrs-ui 0.8.0 → 0.9.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
@@ -24,7 +24,7 @@ function _interopNamespaceDefault(e) {
24
24
  }
25
25
  const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
26
26
  const ReactDOM__namespace = /* @__PURE__ */ _interopNamespaceDefault(ReactDOM);
27
- function formatMuiErrorMessage$2(code, ...args) {
27
+ function formatMuiErrorMessage$1(code, ...args) {
28
28
  const url = new URL(`https://mui.com/production-error/?code=${code}`);
29
29
  args.forEach((arg2) => url.searchParams.append("args[]", arg2));
30
30
  return `Minified MUI error #${code}; visit ${url} for the full message.`;
@@ -108,7 +108,7 @@ var unitlessKeys = {
108
108
  strokeOpacity: 1,
109
109
  strokeWidth: 1
110
110
  };
111
- function memoize$2(fn2) {
111
+ function memoize$1(fn2) {
112
112
  var cache = /* @__PURE__ */ Object.create(null);
113
113
  return function(arg2) {
114
114
  if (cache[arg2] === void 0) cache[arg2] = fn2(arg2);
@@ -123,7 +123,7 @@ var isCustomProperty = function isCustomProperty2(property) {
123
123
  var isProcessableValue = function isProcessableValue2(value) {
124
124
  return value != null && typeof value !== "boolean";
125
125
  };
126
- var processStyleName = /* @__PURE__ */ memoize$2(function(styleName) {
126
+ var processStyleName = /* @__PURE__ */ memoize$1(function(styleName) {
127
127
  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
128
128
  });
129
129
  var processStyleValue = function processStyleValue2(key, value) {
@@ -1435,38 +1435,38 @@ function requireReactIs() {
1435
1435
  return reactIs.exports;
1436
1436
  }
1437
1437
  var reactIsExports = /* @__PURE__ */ requireReactIs();
1438
- function isPlainObject$1(item) {
1438
+ function isPlainObject(item) {
1439
1439
  if (typeof item !== "object" || item === null) {
1440
1440
  return false;
1441
1441
  }
1442
1442
  const prototype = Object.getPrototypeOf(item);
1443
1443
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
1444
1444
  }
1445
- function deepClone$1(source) {
1446
- if (/* @__PURE__ */ React__namespace.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject$1(source)) {
1445
+ function deepClone(source) {
1446
+ if (/* @__PURE__ */ React__namespace.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
1447
1447
  return source;
1448
1448
  }
1449
1449
  const output = {};
1450
1450
  Object.keys(source).forEach((key) => {
1451
- output[key] = deepClone$1(source[key]);
1451
+ output[key] = deepClone(source[key]);
1452
1452
  });
1453
1453
  return output;
1454
1454
  }
1455
- function deepmerge$1(target, source, options = {
1455
+ function deepmerge(target, source, options = {
1456
1456
  clone: true
1457
1457
  }) {
1458
1458
  const output = options.clone ? {
1459
1459
  ...target
1460
1460
  } : target;
1461
- if (isPlainObject$1(target) && isPlainObject$1(source)) {
1461
+ if (isPlainObject(target) && isPlainObject(source)) {
1462
1462
  Object.keys(source).forEach((key) => {
1463
1463
  if (/* @__PURE__ */ React__namespace.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
1464
1464
  output[key] = source[key];
1465
- } else if (isPlainObject$1(source[key]) && // Avoid prototype pollution
1466
- Object.prototype.hasOwnProperty.call(target, key) && isPlainObject$1(target[key])) {
1467
- output[key] = deepmerge$1(target[key], source[key], options);
1465
+ } else if (isPlainObject(source[key]) && // Avoid prototype pollution
1466
+ Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
1467
+ output[key] = deepmerge(target[key], source[key], options);
1468
1468
  } else if (options.clone) {
1469
- output[key] = isPlainObject$1(source[key]) ? deepClone$1(source[key]) : source[key];
1469
+ output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
1470
1470
  } else {
1471
1471
  output[key] = source[key];
1472
1472
  }
@@ -1474,7 +1474,7 @@ function deepmerge$1(target, source, options = {
1474
1474
  }
1475
1475
  return output;
1476
1476
  }
1477
- const sortBreakpointsValues$1 = (values2) => {
1477
+ const sortBreakpointsValues = (values2) => {
1478
1478
  const breakpointsAsArray = Object.keys(values2).map((key) => ({
1479
1479
  key,
1480
1480
  val: values2[key]
@@ -1487,7 +1487,7 @@ const sortBreakpointsValues$1 = (values2) => {
1487
1487
  };
1488
1488
  }, {});
1489
1489
  };
1490
- function createBreakpoints$1(breakpoints) {
1490
+ function createBreakpoints(breakpoints) {
1491
1491
  const {
1492
1492
  // The breakpoint **start** at this value.
1493
1493
  // For instance with the first breakpoint xs: [xs, sm).
@@ -1507,7 +1507,7 @@ function createBreakpoints$1(breakpoints) {
1507
1507
  step = 5,
1508
1508
  ...other
1509
1509
  } = breakpoints;
1510
- const sortedValues = sortBreakpointsValues$1(values2);
1510
+ const sortedValues = sortBreakpointsValues(values2);
1511
1511
  const keys = Object.keys(sortedValues);
1512
1512
  function up(key) {
1513
1513
  const value = typeof values2[key] === "number" ? values2[key] : key;
@@ -1549,7 +1549,7 @@ function createBreakpoints$1(breakpoints) {
1549
1549
  ...other
1550
1550
  };
1551
1551
  }
1552
- function sortContainerQueries$1(theme2, css) {
1552
+ function sortContainerQueries(theme2, css) {
1553
1553
  if (!theme2.containerQueries) {
1554
1554
  return css;
1555
1555
  }
@@ -1569,15 +1569,15 @@ function sortContainerQueries$1(theme2, css) {
1569
1569
  ...css
1570
1570
  });
1571
1571
  }
1572
- function isCqShorthand$1(breakpointKeys, value) {
1572
+ function isCqShorthand(breakpointKeys, value) {
1573
1573
  return value === "@" || value.startsWith("@") && (breakpointKeys.some((key) => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
1574
1574
  }
1575
- function getContainerQuery$1(theme2, shorthand) {
1575
+ function getContainerQuery(theme2, shorthand) {
1576
1576
  const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
1577
1577
  if (!matches) {
1578
1578
  if (process.env.NODE_ENV !== "production") {
1579
1579
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
1580
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$2(18, `(${shorthand})`));
1580
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$1(18, `(${shorthand})`));
1581
1581
  }
1582
1582
  return null;
1583
1583
  }
@@ -1585,7 +1585,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
1585
1585
  const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
1586
1586
  return theme2.containerQueries(containerName).up(value);
1587
1587
  }
1588
- function cssContainerQueries$1(themeInput) {
1588
+ function cssContainerQueries(themeInput) {
1589
1589
  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
1590
1590
  function attachCq(node2, name) {
1591
1591
  node2.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
@@ -1611,20 +1611,20 @@ function cssContainerQueries$1(themeInput) {
1611
1611
  containerQueries
1612
1612
  };
1613
1613
  }
1614
- const shape$3 = {
1614
+ const shape$2 = {
1615
1615
  borderRadius: 4
1616
1616
  };
1617
- const responsivePropType$1 = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
1618
- function merge$1(acc, item) {
1617
+ const responsivePropType = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
1618
+ function merge(acc, item) {
1619
1619
  if (!item) {
1620
1620
  return acc;
1621
1621
  }
1622
- return deepmerge$1(acc, item, {
1622
+ return deepmerge(acc, item, {
1623
1623
  clone: false
1624
1624
  // No need to clone deep, it's way faster.
1625
1625
  });
1626
1626
  }
1627
- const values$2 = {
1627
+ const values$1 = {
1628
1628
  xs: 0,
1629
1629
  // phone
1630
1630
  sm: 600,
@@ -1636,16 +1636,16 @@ const values$2 = {
1636
1636
  xl: 1536
1637
1637
  // large screen
1638
1638
  };
1639
- const defaultBreakpoints$1 = {
1639
+ const defaultBreakpoints = {
1640
1640
  // Sorted ASC by size. That's important.
1641
1641
  // It can't be configured as it's used statically for propTypes.
1642
1642
  keys: ["xs", "sm", "md", "lg", "xl"],
1643
- up: (key) => `@media (min-width:${values$2[key]}px)`
1643
+ up: (key) => `@media (min-width:${values$1[key]}px)`
1644
1644
  };
1645
- const defaultContainerQueries$1 = {
1645
+ const defaultContainerQueries = {
1646
1646
  containerQueries: (containerName) => ({
1647
1647
  up: (key) => {
1648
- let result = typeof key === "number" ? key : values$2[key] || key;
1648
+ let result = typeof key === "number" ? key : values$1[key] || key;
1649
1649
  if (typeof result === "number") {
1650
1650
  result = `${result}px`;
1651
1651
  }
@@ -1653,24 +1653,24 @@ const defaultContainerQueries$1 = {
1653
1653
  }
1654
1654
  })
1655
1655
  };
1656
- function handleBreakpoints$1(props, propValue, styleFromPropValue) {
1656
+ function handleBreakpoints(props, propValue, styleFromPropValue) {
1657
1657
  const theme2 = props.theme || {};
1658
1658
  if (Array.isArray(propValue)) {
1659
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints$1;
1659
+ const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
1660
1660
  return propValue.reduce((acc, item, index) => {
1661
1661
  acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
1662
1662
  return acc;
1663
1663
  }, {});
1664
1664
  }
1665
1665
  if (typeof propValue === "object") {
1666
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints$1;
1666
+ const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
1667
1667
  return Object.keys(propValue).reduce((acc, breakpoint) => {
1668
- if (isCqShorthand$1(themeBreakpoints.keys, breakpoint)) {
1669
- const containerKey = getContainerQuery$1(theme2.containerQueries ? theme2 : defaultContainerQueries$1, breakpoint);
1668
+ if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {
1669
+ const containerKey = getContainerQuery(theme2.containerQueries ? theme2 : defaultContainerQueries, breakpoint);
1670
1670
  if (containerKey) {
1671
1671
  acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
1672
1672
  }
1673
- } else if (Object.keys(themeBreakpoints.values || values$2).includes(breakpoint)) {
1673
+ } else if (Object.keys(themeBreakpoints.values || values$1).includes(breakpoint)) {
1674
1674
  const mediaKey = themeBreakpoints.up(breakpoint);
1675
1675
  acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
1676
1676
  } else {
@@ -1683,7 +1683,7 @@ function handleBreakpoints$1(props, propValue, styleFromPropValue) {
1683
1683
  const output = styleFromPropValue(propValue);
1684
1684
  return output;
1685
1685
  }
1686
- function createEmptyBreakpointObject$1(breakpointsInput = {}) {
1686
+ function createEmptyBreakpointObject(breakpointsInput = {}) {
1687
1687
  const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {
1688
1688
  const breakpointStyleKey = breakpointsInput.up(key);
1689
1689
  acc[breakpointStyleKey] = {};
@@ -1691,7 +1691,7 @@ function createEmptyBreakpointObject$1(breakpointsInput = {}) {
1691
1691
  }, {});
1692
1692
  return breakpointsInOrder || {};
1693
1693
  }
1694
- function removeUnusedBreakpoints$1(breakpointKeys, style2) {
1694
+ function removeUnusedBreakpoints(breakpointKeys, style2) {
1695
1695
  return breakpointKeys.reduce((acc, key) => {
1696
1696
  const breakpointOutput = acc[key];
1697
1697
  const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
@@ -1702,9 +1702,9 @@ function removeUnusedBreakpoints$1(breakpointKeys, style2) {
1702
1702
  }, style2);
1703
1703
  }
1704
1704
  function mergeBreakpointsInOrder(breakpointsInput, ...styles2) {
1705
- const emptyBreakpoints = createEmptyBreakpointObject$1(breakpointsInput);
1706
- const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev, next) => deepmerge$1(prev, next), {});
1707
- return removeUnusedBreakpoints$1(Object.keys(emptyBreakpoints), mergedOutput);
1705
+ const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
1706
+ const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev, next) => deepmerge(prev, next), {});
1707
+ return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
1708
1708
  }
1709
1709
  function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
1710
1710
  if (typeof breakpointValues !== "object") {
@@ -1751,13 +1751,13 @@ function resolveBreakpointValues({
1751
1751
  return acc;
1752
1752
  }, {});
1753
1753
  }
1754
- function capitalize$2(string) {
1754
+ function capitalize$1(string) {
1755
1755
  if (typeof string !== "string") {
1756
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$2(7));
1756
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$1(7));
1757
1757
  }
1758
1758
  return string.charAt(0).toUpperCase() + string.slice(1);
1759
1759
  }
1760
- function getPath$1(obj, path, checkVars = true) {
1760
+ function getPath(obj, path, checkVars = true) {
1761
1761
  if (!path || typeof path !== "string") {
1762
1762
  return null;
1763
1763
  }
@@ -1774,21 +1774,21 @@ function getPath$1(obj, path, checkVars = true) {
1774
1774
  return null;
1775
1775
  }, obj);
1776
1776
  }
1777
- function getStyleValue$2(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
1777
+ function getStyleValue$1(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
1778
1778
  let value;
1779
1779
  if (typeof themeMapping === "function") {
1780
1780
  value = themeMapping(propValueFinal);
1781
1781
  } else if (Array.isArray(themeMapping)) {
1782
1782
  value = themeMapping[propValueFinal] || userValue;
1783
1783
  } else {
1784
- value = getPath$1(themeMapping, propValueFinal) || userValue;
1784
+ value = getPath(themeMapping, propValueFinal) || userValue;
1785
1785
  }
1786
1786
  if (transform) {
1787
1787
  value = transform(value, userValue, themeMapping);
1788
1788
  }
1789
1789
  return value;
1790
1790
  }
1791
- function style$4(options) {
1791
+ function style$2(options) {
1792
1792
  const {
1793
1793
  prop,
1794
1794
  cssProperty = options.prop,
@@ -1801,11 +1801,11 @@ function style$4(options) {
1801
1801
  }
1802
1802
  const propValue = props[prop];
1803
1803
  const theme2 = props.theme;
1804
- const themeMapping = getPath$1(theme2, themeKey) || {};
1804
+ const themeMapping = getPath(theme2, themeKey) || {};
1805
1805
  const styleFromPropValue = (propValueFinal) => {
1806
- let value = getStyleValue$2(themeMapping, transform, propValueFinal);
1806
+ let value = getStyleValue$1(themeMapping, transform, propValueFinal);
1807
1807
  if (propValueFinal === value && typeof propValueFinal === "string") {
1808
- value = getStyleValue$2(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$2(propValueFinal)}`, propValueFinal);
1808
+ value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
1809
1809
  }
1810
1810
  if (cssProperty === false) {
1811
1811
  return value;
@@ -1814,15 +1814,15 @@ function style$4(options) {
1814
1814
  [cssProperty]: value
1815
1815
  };
1816
1816
  };
1817
- return handleBreakpoints$1(props, propValue, styleFromPropValue);
1817
+ return handleBreakpoints(props, propValue, styleFromPropValue);
1818
1818
  };
1819
1819
  fn2.propTypes = process.env.NODE_ENV !== "production" ? {
1820
- [prop]: responsivePropType$1
1820
+ [prop]: responsivePropType
1821
1821
  } : {};
1822
1822
  fn2.filterProps = [prop];
1823
1823
  return fn2;
1824
1824
  }
1825
- function memoize$1(fn2) {
1825
+ function memoize(fn2) {
1826
1826
  const cache = {};
1827
1827
  return (arg2) => {
1828
1828
  if (cache[arg2] === void 0) {
@@ -1831,11 +1831,11 @@ function memoize$1(fn2) {
1831
1831
  return cache[arg2];
1832
1832
  };
1833
1833
  }
1834
- const properties$1 = {
1834
+ const properties = {
1835
1835
  m: "margin",
1836
1836
  p: "padding"
1837
1837
  };
1838
- const directions$1 = {
1838
+ const directions = {
1839
1839
  t: "Top",
1840
1840
  r: "Right",
1841
1841
  b: "Bottom",
@@ -1843,30 +1843,30 @@ const directions$1 = {
1843
1843
  x: ["Left", "Right"],
1844
1844
  y: ["Top", "Bottom"]
1845
1845
  };
1846
- const aliases$1 = {
1846
+ const aliases = {
1847
1847
  marginX: "mx",
1848
1848
  marginY: "my",
1849
1849
  paddingX: "px",
1850
1850
  paddingY: "py"
1851
1851
  };
1852
- const getCssProperties$1 = memoize$1((prop) => {
1852
+ const getCssProperties = memoize((prop) => {
1853
1853
  if (prop.length > 2) {
1854
- if (aliases$1[prop]) {
1855
- prop = aliases$1[prop];
1854
+ if (aliases[prop]) {
1855
+ prop = aliases[prop];
1856
1856
  } else {
1857
1857
  return [prop];
1858
1858
  }
1859
1859
  }
1860
1860
  const [a, b] = prop.split("");
1861
- const property = properties$1[a];
1862
- const direction = directions$1[b] || "";
1861
+ const property = properties[a];
1862
+ const direction = directions[b] || "";
1863
1863
  return Array.isArray(direction) ? direction.map((dir) => property + dir) : [property + direction];
1864
1864
  });
1865
- const marginKeys$1 = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
1866
- const paddingKeys$1 = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
1867
- const spacingKeys$1 = [...marginKeys$1, ...paddingKeys$1];
1868
- function createUnaryUnit$1(theme2, themeKey, defaultValue, propName) {
1869
- const themeSpacing = getPath$1(theme2, themeKey, true) ?? defaultValue;
1865
+ const marginKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
1866
+ const paddingKeys = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
1867
+ const spacingKeys = [...marginKeys, ...paddingKeys];
1868
+ function createUnaryUnit(theme2, themeKey, defaultValue, propName) {
1869
+ const themeSpacing = getPath(theme2, themeKey, true) ?? defaultValue;
1870
1870
  if (typeof themeSpacing === "number" || typeof themeSpacing === "string") {
1871
1871
  return (val) => {
1872
1872
  if (typeof val === "string") {
@@ -1914,55 +1914,55 @@ function createUnaryUnit$1(theme2, themeKey, defaultValue, propName) {
1914
1914
  }
1915
1915
  return () => void 0;
1916
1916
  }
1917
- function createUnarySpacing$1(theme2) {
1918
- return createUnaryUnit$1(theme2, "spacing", 8, "spacing");
1917
+ function createUnarySpacing(theme2) {
1918
+ return createUnaryUnit(theme2, "spacing", 8, "spacing");
1919
1919
  }
1920
- function getValue$1(transformer, propValue) {
1920
+ function getValue(transformer, propValue) {
1921
1921
  if (typeof propValue === "string" || propValue == null) {
1922
1922
  return propValue;
1923
1923
  }
1924
1924
  return transformer(propValue);
1925
1925
  }
1926
- function getStyleFromPropValue$1(cssProperties, transformer) {
1926
+ function getStyleFromPropValue(cssProperties, transformer) {
1927
1927
  return (propValue) => cssProperties.reduce((acc, cssProperty) => {
1928
- acc[cssProperty] = getValue$1(transformer, propValue);
1928
+ acc[cssProperty] = getValue(transformer, propValue);
1929
1929
  return acc;
1930
1930
  }, {});
1931
1931
  }
1932
- function resolveCssProperty$1(props, keys, prop, transformer) {
1932
+ function resolveCssProperty(props, keys, prop, transformer) {
1933
1933
  if (!keys.includes(prop)) {
1934
1934
  return null;
1935
1935
  }
1936
- const cssProperties = getCssProperties$1(prop);
1937
- const styleFromPropValue = getStyleFromPropValue$1(cssProperties, transformer);
1936
+ const cssProperties = getCssProperties(prop);
1937
+ const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
1938
1938
  const propValue = props[prop];
1939
- return handleBreakpoints$1(props, propValue, styleFromPropValue);
1939
+ return handleBreakpoints(props, propValue, styleFromPropValue);
1940
1940
  }
1941
- function style$3(props, keys) {
1942
- const transformer = createUnarySpacing$1(props.theme);
1943
- return Object.keys(props).map((prop) => resolveCssProperty$1(props, keys, prop, transformer)).reduce(merge$1, {});
1941
+ function style$1(props, keys) {
1942
+ const transformer = createUnarySpacing(props.theme);
1943
+ return Object.keys(props).map((prop) => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
1944
1944
  }
1945
- function margin$1(props) {
1946
- return style$3(props, marginKeys$1);
1945
+ function margin(props) {
1946
+ return style$1(props, marginKeys);
1947
1947
  }
1948
- margin$1.propTypes = process.env.NODE_ENV !== "production" ? marginKeys$1.reduce((obj, key) => {
1949
- obj[key] = responsivePropType$1;
1948
+ margin.propTypes = process.env.NODE_ENV !== "production" ? marginKeys.reduce((obj, key) => {
1949
+ obj[key] = responsivePropType;
1950
1950
  return obj;
1951
1951
  }, {}) : {};
1952
- margin$1.filterProps = marginKeys$1;
1953
- function padding$1(props) {
1954
- return style$3(props, paddingKeys$1);
1952
+ margin.filterProps = marginKeys;
1953
+ function padding(props) {
1954
+ return style$1(props, paddingKeys);
1955
1955
  }
1956
- padding$1.propTypes = process.env.NODE_ENV !== "production" ? paddingKeys$1.reduce((obj, key) => {
1957
- obj[key] = responsivePropType$1;
1956
+ padding.propTypes = process.env.NODE_ENV !== "production" ? paddingKeys.reduce((obj, key) => {
1957
+ obj[key] = responsivePropType;
1958
1958
  return obj;
1959
1959
  }, {}) : {};
1960
- padding$1.filterProps = paddingKeys$1;
1961
- process.env.NODE_ENV !== "production" ? spacingKeys$1.reduce((obj, key) => {
1962
- obj[key] = responsivePropType$1;
1960
+ padding.filterProps = paddingKeys;
1961
+ process.env.NODE_ENV !== "production" ? spacingKeys.reduce((obj, key) => {
1962
+ obj[key] = responsivePropType;
1963
1963
  return obj;
1964
1964
  }, {}) : {};
1965
- function createSpacing$1(spacingInput = 8, transform = createUnarySpacing$1({
1965
+ function createSpacing(spacingInput = 8, transform = createUnarySpacing({
1966
1966
  spacing: spacingInput
1967
1967
  })) {
1968
1968
  if (spacingInput.mui) {
@@ -1983,7 +1983,7 @@ function createSpacing$1(spacingInput = 8, transform = createUnarySpacing$1({
1983
1983
  spacing2.mui = true;
1984
1984
  return spacing2;
1985
1985
  }
1986
- function compose$1(...styles2) {
1986
+ function compose(...styles2) {
1987
1987
  const handlers = styles2.reduce((acc, style2) => {
1988
1988
  style2.filterProps.forEach((prop) => {
1989
1989
  acc[prop] = style2;
@@ -1993,7 +1993,7 @@ function compose$1(...styles2) {
1993
1993
  const fn2 = (props) => {
1994
1994
  return Object.keys(props).reduce((acc, prop) => {
1995
1995
  if (handlers[prop]) {
1996
- return merge$1(acc, handlers[prop](props));
1996
+ return merge(acc, handlers[prop](props));
1997
1997
  }
1998
1998
  return acc;
1999
1999
  }, {});
@@ -2002,153 +2002,153 @@ function compose$1(...styles2) {
2002
2002
  fn2.filterProps = styles2.reduce((acc, style2) => acc.concat(style2.filterProps), []);
2003
2003
  return fn2;
2004
2004
  }
2005
- function borderTransform$1(value) {
2005
+ function borderTransform(value) {
2006
2006
  if (typeof value !== "number") {
2007
2007
  return value;
2008
2008
  }
2009
2009
  return `${value}px solid`;
2010
2010
  }
2011
- function createBorderStyle$1(prop, transform) {
2012
- return style$4({
2011
+ function createBorderStyle(prop, transform) {
2012
+ return style$2({
2013
2013
  prop,
2014
2014
  themeKey: "borders",
2015
2015
  transform
2016
2016
  });
2017
2017
  }
2018
- const border$1 = createBorderStyle$1("border", borderTransform$1);
2019
- const borderTop$1 = createBorderStyle$1("borderTop", borderTransform$1);
2020
- const borderRight$1 = createBorderStyle$1("borderRight", borderTransform$1);
2021
- const borderBottom$1 = createBorderStyle$1("borderBottom", borderTransform$1);
2022
- const borderLeft$1 = createBorderStyle$1("borderLeft", borderTransform$1);
2023
- const borderColor$1 = createBorderStyle$1("borderColor");
2024
- const borderTopColor$1 = createBorderStyle$1("borderTopColor");
2025
- const borderRightColor$1 = createBorderStyle$1("borderRightColor");
2026
- const borderBottomColor$1 = createBorderStyle$1("borderBottomColor");
2027
- const borderLeftColor$1 = createBorderStyle$1("borderLeftColor");
2028
- const outline$1 = createBorderStyle$1("outline", borderTransform$1);
2029
- const outlineColor$1 = createBorderStyle$1("outlineColor");
2030
- const borderRadius$1 = (props) => {
2018
+ const border = createBorderStyle("border", borderTransform);
2019
+ const borderTop = createBorderStyle("borderTop", borderTransform);
2020
+ const borderRight = createBorderStyle("borderRight", borderTransform);
2021
+ const borderBottom = createBorderStyle("borderBottom", borderTransform);
2022
+ const borderLeft = createBorderStyle("borderLeft", borderTransform);
2023
+ const borderColor = createBorderStyle("borderColor");
2024
+ const borderTopColor = createBorderStyle("borderTopColor");
2025
+ const borderRightColor = createBorderStyle("borderRightColor");
2026
+ const borderBottomColor = createBorderStyle("borderBottomColor");
2027
+ const borderLeftColor = createBorderStyle("borderLeftColor");
2028
+ const outline = createBorderStyle("outline", borderTransform);
2029
+ const outlineColor = createBorderStyle("outlineColor");
2030
+ const borderRadius = (props) => {
2031
2031
  if (props.borderRadius !== void 0 && props.borderRadius !== null) {
2032
- const transformer = createUnaryUnit$1(props.theme, "shape.borderRadius", 4, "borderRadius");
2032
+ const transformer = createUnaryUnit(props.theme, "shape.borderRadius", 4, "borderRadius");
2033
2033
  const styleFromPropValue = (propValue) => ({
2034
- borderRadius: getValue$1(transformer, propValue)
2034
+ borderRadius: getValue(transformer, propValue)
2035
2035
  });
2036
- return handleBreakpoints$1(props, props.borderRadius, styleFromPropValue);
2036
+ return handleBreakpoints(props, props.borderRadius, styleFromPropValue);
2037
2037
  }
2038
2038
  return null;
2039
2039
  };
2040
- borderRadius$1.propTypes = process.env.NODE_ENV !== "production" ? {
2041
- borderRadius: responsivePropType$1
2040
+ borderRadius.propTypes = process.env.NODE_ENV !== "production" ? {
2041
+ borderRadius: responsivePropType
2042
2042
  } : {};
2043
- borderRadius$1.filterProps = ["borderRadius"];
2044
- compose$1(border$1, borderTop$1, borderRight$1, borderBottom$1, borderLeft$1, borderColor$1, borderTopColor$1, borderRightColor$1, borderBottomColor$1, borderLeftColor$1, borderRadius$1, outline$1, outlineColor$1);
2045
- const gap$1 = (props) => {
2043
+ borderRadius.filterProps = ["borderRadius"];
2044
+ compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
2045
+ const gap = (props) => {
2046
2046
  if (props.gap !== void 0 && props.gap !== null) {
2047
- const transformer = createUnaryUnit$1(props.theme, "spacing", 8, "gap");
2047
+ const transformer = createUnaryUnit(props.theme, "spacing", 8, "gap");
2048
2048
  const styleFromPropValue = (propValue) => ({
2049
- gap: getValue$1(transformer, propValue)
2049
+ gap: getValue(transformer, propValue)
2050
2050
  });
2051
- return handleBreakpoints$1(props, props.gap, styleFromPropValue);
2051
+ return handleBreakpoints(props, props.gap, styleFromPropValue);
2052
2052
  }
2053
2053
  return null;
2054
2054
  };
2055
- gap$1.propTypes = process.env.NODE_ENV !== "production" ? {
2056
- gap: responsivePropType$1
2055
+ gap.propTypes = process.env.NODE_ENV !== "production" ? {
2056
+ gap: responsivePropType
2057
2057
  } : {};
2058
- gap$1.filterProps = ["gap"];
2059
- const columnGap$1 = (props) => {
2058
+ gap.filterProps = ["gap"];
2059
+ const columnGap = (props) => {
2060
2060
  if (props.columnGap !== void 0 && props.columnGap !== null) {
2061
- const transformer = createUnaryUnit$1(props.theme, "spacing", 8, "columnGap");
2061
+ const transformer = createUnaryUnit(props.theme, "spacing", 8, "columnGap");
2062
2062
  const styleFromPropValue = (propValue) => ({
2063
- columnGap: getValue$1(transformer, propValue)
2063
+ columnGap: getValue(transformer, propValue)
2064
2064
  });
2065
- return handleBreakpoints$1(props, props.columnGap, styleFromPropValue);
2065
+ return handleBreakpoints(props, props.columnGap, styleFromPropValue);
2066
2066
  }
2067
2067
  return null;
2068
2068
  };
2069
- columnGap$1.propTypes = process.env.NODE_ENV !== "production" ? {
2070
- columnGap: responsivePropType$1
2069
+ columnGap.propTypes = process.env.NODE_ENV !== "production" ? {
2070
+ columnGap: responsivePropType
2071
2071
  } : {};
2072
- columnGap$1.filterProps = ["columnGap"];
2073
- const rowGap$1 = (props) => {
2072
+ columnGap.filterProps = ["columnGap"];
2073
+ const rowGap = (props) => {
2074
2074
  if (props.rowGap !== void 0 && props.rowGap !== null) {
2075
- const transformer = createUnaryUnit$1(props.theme, "spacing", 8, "rowGap");
2075
+ const transformer = createUnaryUnit(props.theme, "spacing", 8, "rowGap");
2076
2076
  const styleFromPropValue = (propValue) => ({
2077
- rowGap: getValue$1(transformer, propValue)
2077
+ rowGap: getValue(transformer, propValue)
2078
2078
  });
2079
- return handleBreakpoints$1(props, props.rowGap, styleFromPropValue);
2079
+ return handleBreakpoints(props, props.rowGap, styleFromPropValue);
2080
2080
  }
2081
2081
  return null;
2082
2082
  };
2083
- rowGap$1.propTypes = process.env.NODE_ENV !== "production" ? {
2084
- rowGap: responsivePropType$1
2083
+ rowGap.propTypes = process.env.NODE_ENV !== "production" ? {
2084
+ rowGap: responsivePropType
2085
2085
  } : {};
2086
- rowGap$1.filterProps = ["rowGap"];
2087
- const gridColumn$1 = style$4({
2086
+ rowGap.filterProps = ["rowGap"];
2087
+ const gridColumn = style$2({
2088
2088
  prop: "gridColumn"
2089
2089
  });
2090
- const gridRow$1 = style$4({
2090
+ const gridRow = style$2({
2091
2091
  prop: "gridRow"
2092
2092
  });
2093
- const gridAutoFlow$1 = style$4({
2093
+ const gridAutoFlow = style$2({
2094
2094
  prop: "gridAutoFlow"
2095
2095
  });
2096
- const gridAutoColumns$1 = style$4({
2096
+ const gridAutoColumns = style$2({
2097
2097
  prop: "gridAutoColumns"
2098
2098
  });
2099
- const gridAutoRows$1 = style$4({
2099
+ const gridAutoRows = style$2({
2100
2100
  prop: "gridAutoRows"
2101
2101
  });
2102
- const gridTemplateColumns$1 = style$4({
2102
+ const gridTemplateColumns = style$2({
2103
2103
  prop: "gridTemplateColumns"
2104
2104
  });
2105
- const gridTemplateRows$1 = style$4({
2105
+ const gridTemplateRows = style$2({
2106
2106
  prop: "gridTemplateRows"
2107
2107
  });
2108
- const gridTemplateAreas$1 = style$4({
2108
+ const gridTemplateAreas = style$2({
2109
2109
  prop: "gridTemplateAreas"
2110
2110
  });
2111
- const gridArea$1 = style$4({
2111
+ const gridArea = style$2({
2112
2112
  prop: "gridArea"
2113
2113
  });
2114
- compose$1(gap$1, columnGap$1, rowGap$1, gridColumn$1, gridRow$1, gridAutoFlow$1, gridAutoColumns$1, gridAutoRows$1, gridTemplateColumns$1, gridTemplateRows$1, gridTemplateAreas$1, gridArea$1);
2115
- function paletteTransform$1(value, userValue) {
2114
+ compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
2115
+ function paletteTransform(value, userValue) {
2116
2116
  if (userValue === "grey") {
2117
2117
  return userValue;
2118
2118
  }
2119
2119
  return value;
2120
2120
  }
2121
- const color$1 = style$4({
2121
+ const color = style$2({
2122
2122
  prop: "color",
2123
2123
  themeKey: "palette",
2124
- transform: paletteTransform$1
2124
+ transform: paletteTransform
2125
2125
  });
2126
- const bgcolor$1 = style$4({
2126
+ const bgcolor = style$2({
2127
2127
  prop: "bgcolor",
2128
2128
  cssProperty: "backgroundColor",
2129
2129
  themeKey: "palette",
2130
- transform: paletteTransform$1
2130
+ transform: paletteTransform
2131
2131
  });
2132
- const backgroundColor$1 = style$4({
2132
+ const backgroundColor = style$2({
2133
2133
  prop: "backgroundColor",
2134
2134
  themeKey: "palette",
2135
- transform: paletteTransform$1
2135
+ transform: paletteTransform
2136
2136
  });
2137
- compose$1(color$1, bgcolor$1, backgroundColor$1);
2138
- function sizingTransform$1(value) {
2137
+ compose(color, bgcolor, backgroundColor);
2138
+ function sizingTransform(value) {
2139
2139
  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
2140
2140
  }
2141
- const width$1 = style$4({
2141
+ const width = style$2({
2142
2142
  prop: "width",
2143
- transform: sizingTransform$1
2143
+ transform: sizingTransform
2144
2144
  });
2145
- const maxWidth$1 = (props) => {
2145
+ const maxWidth = (props) => {
2146
2146
  if (props.maxWidth !== void 0 && props.maxWidth !== null) {
2147
2147
  const styleFromPropValue = (propValue) => {
2148
- const breakpoint = props.theme?.breakpoints?.values?.[propValue] || values$2[propValue];
2148
+ const breakpoint = props.theme?.breakpoints?.values?.[propValue] || values$1[propValue];
2149
2149
  if (!breakpoint) {
2150
2150
  return {
2151
- maxWidth: sizingTransform$1(propValue)
2151
+ maxWidth: sizingTransform(propValue)
2152
2152
  };
2153
2153
  }
2154
2154
  if (props.theme?.breakpoints?.unit !== "px") {
@@ -2160,62 +2160,62 @@ const maxWidth$1 = (props) => {
2160
2160
  maxWidth: breakpoint
2161
2161
  };
2162
2162
  };
2163
- return handleBreakpoints$1(props, props.maxWidth, styleFromPropValue);
2163
+ return handleBreakpoints(props, props.maxWidth, styleFromPropValue);
2164
2164
  }
2165
2165
  return null;
2166
2166
  };
2167
- maxWidth$1.filterProps = ["maxWidth"];
2168
- const minWidth$1 = style$4({
2167
+ maxWidth.filterProps = ["maxWidth"];
2168
+ const minWidth = style$2({
2169
2169
  prop: "minWidth",
2170
- transform: sizingTransform$1
2170
+ transform: sizingTransform
2171
2171
  });
2172
- const height$1 = style$4({
2172
+ const height = style$2({
2173
2173
  prop: "height",
2174
- transform: sizingTransform$1
2174
+ transform: sizingTransform
2175
2175
  });
2176
- const maxHeight$1 = style$4({
2176
+ const maxHeight = style$2({
2177
2177
  prop: "maxHeight",
2178
- transform: sizingTransform$1
2178
+ transform: sizingTransform
2179
2179
  });
2180
- const minHeight$1 = style$4({
2180
+ const minHeight = style$2({
2181
2181
  prop: "minHeight",
2182
- transform: sizingTransform$1
2182
+ transform: sizingTransform
2183
2183
  });
2184
- style$4({
2184
+ style$2({
2185
2185
  prop: "size",
2186
2186
  cssProperty: "width",
2187
- transform: sizingTransform$1
2187
+ transform: sizingTransform
2188
2188
  });
2189
- style$4({
2189
+ style$2({
2190
2190
  prop: "size",
2191
2191
  cssProperty: "height",
2192
- transform: sizingTransform$1
2192
+ transform: sizingTransform
2193
2193
  });
2194
- const boxSizing$1 = style$4({
2194
+ const boxSizing = style$2({
2195
2195
  prop: "boxSizing"
2196
2196
  });
2197
- compose$1(width$1, maxWidth$1, minWidth$1, height$1, maxHeight$1, minHeight$1, boxSizing$1);
2198
- const defaultSxConfig$1 = {
2197
+ compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
2198
+ const defaultSxConfig = {
2199
2199
  // borders
2200
2200
  border: {
2201
2201
  themeKey: "borders",
2202
- transform: borderTransform$1
2202
+ transform: borderTransform
2203
2203
  },
2204
2204
  borderTop: {
2205
2205
  themeKey: "borders",
2206
- transform: borderTransform$1
2206
+ transform: borderTransform
2207
2207
  },
2208
2208
  borderRight: {
2209
2209
  themeKey: "borders",
2210
- transform: borderTransform$1
2210
+ transform: borderTransform
2211
2211
  },
2212
2212
  borderBottom: {
2213
2213
  themeKey: "borders",
2214
- transform: borderTransform$1
2214
+ transform: borderTransform
2215
2215
  },
2216
2216
  borderLeft: {
2217
2217
  themeKey: "borders",
2218
- transform: borderTransform$1
2218
+ transform: borderTransform
2219
2219
  },
2220
2220
  borderColor: {
2221
2221
  themeKey: "palette"
@@ -2234,149 +2234,149 @@ const defaultSxConfig$1 = {
2234
2234
  },
2235
2235
  outline: {
2236
2236
  themeKey: "borders",
2237
- transform: borderTransform$1
2237
+ transform: borderTransform
2238
2238
  },
2239
2239
  outlineColor: {
2240
2240
  themeKey: "palette"
2241
2241
  },
2242
2242
  borderRadius: {
2243
2243
  themeKey: "shape.borderRadius",
2244
- style: borderRadius$1
2244
+ style: borderRadius
2245
2245
  },
2246
2246
  // palette
2247
2247
  color: {
2248
2248
  themeKey: "palette",
2249
- transform: paletteTransform$1
2249
+ transform: paletteTransform
2250
2250
  },
2251
2251
  bgcolor: {
2252
2252
  themeKey: "palette",
2253
2253
  cssProperty: "backgroundColor",
2254
- transform: paletteTransform$1
2254
+ transform: paletteTransform
2255
2255
  },
2256
2256
  backgroundColor: {
2257
2257
  themeKey: "palette",
2258
- transform: paletteTransform$1
2258
+ transform: paletteTransform
2259
2259
  },
2260
2260
  // spacing
2261
2261
  p: {
2262
- style: padding$1
2262
+ style: padding
2263
2263
  },
2264
2264
  pt: {
2265
- style: padding$1
2265
+ style: padding
2266
2266
  },
2267
2267
  pr: {
2268
- style: padding$1
2268
+ style: padding
2269
2269
  },
2270
2270
  pb: {
2271
- style: padding$1
2271
+ style: padding
2272
2272
  },
2273
2273
  pl: {
2274
- style: padding$1
2274
+ style: padding
2275
2275
  },
2276
2276
  px: {
2277
- style: padding$1
2277
+ style: padding
2278
2278
  },
2279
2279
  py: {
2280
- style: padding$1
2280
+ style: padding
2281
2281
  },
2282
2282
  padding: {
2283
- style: padding$1
2283
+ style: padding
2284
2284
  },
2285
2285
  paddingTop: {
2286
- style: padding$1
2286
+ style: padding
2287
2287
  },
2288
2288
  paddingRight: {
2289
- style: padding$1
2289
+ style: padding
2290
2290
  },
2291
2291
  paddingBottom: {
2292
- style: padding$1
2292
+ style: padding
2293
2293
  },
2294
2294
  paddingLeft: {
2295
- style: padding$1
2295
+ style: padding
2296
2296
  },
2297
2297
  paddingX: {
2298
- style: padding$1
2298
+ style: padding
2299
2299
  },
2300
2300
  paddingY: {
2301
- style: padding$1
2301
+ style: padding
2302
2302
  },
2303
2303
  paddingInline: {
2304
- style: padding$1
2304
+ style: padding
2305
2305
  },
2306
2306
  paddingInlineStart: {
2307
- style: padding$1
2307
+ style: padding
2308
2308
  },
2309
2309
  paddingInlineEnd: {
2310
- style: padding$1
2310
+ style: padding
2311
2311
  },
2312
2312
  paddingBlock: {
2313
- style: padding$1
2313
+ style: padding
2314
2314
  },
2315
2315
  paddingBlockStart: {
2316
- style: padding$1
2316
+ style: padding
2317
2317
  },
2318
2318
  paddingBlockEnd: {
2319
- style: padding$1
2319
+ style: padding
2320
2320
  },
2321
2321
  m: {
2322
- style: margin$1
2322
+ style: margin
2323
2323
  },
2324
2324
  mt: {
2325
- style: margin$1
2325
+ style: margin
2326
2326
  },
2327
2327
  mr: {
2328
- style: margin$1
2328
+ style: margin
2329
2329
  },
2330
2330
  mb: {
2331
- style: margin$1
2331
+ style: margin
2332
2332
  },
2333
2333
  ml: {
2334
- style: margin$1
2334
+ style: margin
2335
2335
  },
2336
2336
  mx: {
2337
- style: margin$1
2337
+ style: margin
2338
2338
  },
2339
2339
  my: {
2340
- style: margin$1
2340
+ style: margin
2341
2341
  },
2342
2342
  margin: {
2343
- style: margin$1
2343
+ style: margin
2344
2344
  },
2345
2345
  marginTop: {
2346
- style: margin$1
2346
+ style: margin
2347
2347
  },
2348
2348
  marginRight: {
2349
- style: margin$1
2349
+ style: margin
2350
2350
  },
2351
2351
  marginBottom: {
2352
- style: margin$1
2352
+ style: margin
2353
2353
  },
2354
2354
  marginLeft: {
2355
- style: margin$1
2355
+ style: margin
2356
2356
  },
2357
2357
  marginX: {
2358
- style: margin$1
2358
+ style: margin
2359
2359
  },
2360
2360
  marginY: {
2361
- style: margin$1
2361
+ style: margin
2362
2362
  },
2363
2363
  marginInline: {
2364
- style: margin$1
2364
+ style: margin
2365
2365
  },
2366
2366
  marginInlineStart: {
2367
- style: margin$1
2367
+ style: margin
2368
2368
  },
2369
2369
  marginInlineEnd: {
2370
- style: margin$1
2370
+ style: margin
2371
2371
  },
2372
2372
  marginBlock: {
2373
- style: margin$1
2373
+ style: margin
2374
2374
  },
2375
2375
  marginBlockStart: {
2376
- style: margin$1
2376
+ style: margin
2377
2377
  },
2378
2378
  marginBlockEnd: {
2379
- style: margin$1
2379
+ style: margin
2380
2380
  },
2381
2381
  // display
2382
2382
  displayPrint: {
@@ -2408,13 +2408,13 @@ const defaultSxConfig$1 = {
2408
2408
  justifySelf: {},
2409
2409
  // grid
2410
2410
  gap: {
2411
- style: gap$1
2411
+ style: gap
2412
2412
  },
2413
2413
  rowGap: {
2414
- style: rowGap$1
2414
+ style: rowGap
2415
2415
  },
2416
2416
  columnGap: {
2417
- style: columnGap$1
2417
+ style: columnGap
2418
2418
  },
2419
2419
  gridColumn: {},
2420
2420
  gridRow: {},
@@ -2440,22 +2440,22 @@ const defaultSxConfig$1 = {
2440
2440
  },
2441
2441
  // sizing
2442
2442
  width: {
2443
- transform: sizingTransform$1
2443
+ transform: sizingTransform
2444
2444
  },
2445
2445
  maxWidth: {
2446
- style: maxWidth$1
2446
+ style: maxWidth
2447
2447
  },
2448
2448
  minWidth: {
2449
- transform: sizingTransform$1
2449
+ transform: sizingTransform
2450
2450
  },
2451
2451
  height: {
2452
- transform: sizingTransform$1
2452
+ transform: sizingTransform
2453
2453
  },
2454
2454
  maxHeight: {
2455
- transform: sizingTransform$1
2455
+ transform: sizingTransform
2456
2456
  },
2457
2457
  minHeight: {
2458
- transform: sizingTransform$1
2458
+ transform: sizingTransform
2459
2459
  },
2460
2460
  boxSizing: {},
2461
2461
  // typography
@@ -2483,15 +2483,15 @@ const defaultSxConfig$1 = {
2483
2483
  themeKey: "typography"
2484
2484
  }
2485
2485
  };
2486
- function objectsHaveSameKeys$1(...objects) {
2486
+ function objectsHaveSameKeys(...objects) {
2487
2487
  const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
2488
2488
  const union = new Set(allKeys);
2489
2489
  return objects.every((object) => union.size === Object.keys(object).length);
2490
2490
  }
2491
- function callIfFn$1(maybeFn, arg2) {
2491
+ function callIfFn(maybeFn, arg2) {
2492
2492
  return typeof maybeFn === "function" ? maybeFn(arg2) : maybeFn;
2493
2493
  }
2494
- function unstable_createStyleFunctionSx$1() {
2494
+ function unstable_createStyleFunctionSx() {
2495
2495
  function getThemeValue(prop, val, theme2, config2) {
2496
2496
  const props = {
2497
2497
  [prop]: val,
@@ -2517,14 +2517,14 @@ function unstable_createStyleFunctionSx$1() {
2517
2517
  [prop]: val
2518
2518
  };
2519
2519
  }
2520
- const themeMapping = getPath$1(theme2, themeKey) || {};
2520
+ const themeMapping = getPath(theme2, themeKey) || {};
2521
2521
  if (style2) {
2522
2522
  return style2(props);
2523
2523
  }
2524
2524
  const styleFromPropValue = (propValueFinal) => {
2525
- let value = getStyleValue$2(themeMapping, transform, propValueFinal);
2525
+ let value = getStyleValue$1(themeMapping, transform, propValueFinal);
2526
2526
  if (propValueFinal === value && typeof propValueFinal === "string") {
2527
- value = getStyleValue$2(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$2(propValueFinal)}`, propValueFinal);
2527
+ value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
2528
2528
  }
2529
2529
  if (cssProperty === false) {
2530
2530
  return value;
@@ -2533,7 +2533,7 @@ function unstable_createStyleFunctionSx$1() {
2533
2533
  [cssProperty]: value
2534
2534
  };
2535
2535
  };
2536
- return handleBreakpoints$1(props, val, styleFromPropValue);
2536
+ return handleBreakpoints(props, val, styleFromPropValue);
2537
2537
  }
2538
2538
  function styleFunctionSx2(props) {
2539
2539
  const {
@@ -2544,7 +2544,7 @@ function unstable_createStyleFunctionSx$1() {
2544
2544
  if (!sx) {
2545
2545
  return null;
2546
2546
  }
2547
- const config2 = theme2.unstable_sxConfig ?? defaultSxConfig$1;
2547
+ const config2 = theme2.unstable_sxConfig ?? defaultSxConfig;
2548
2548
  function traverse(sxInput) {
2549
2549
  let sxObject = sxInput;
2550
2550
  if (typeof sxInput === "function") {
@@ -2555,50 +2555,50 @@ function unstable_createStyleFunctionSx$1() {
2555
2555
  if (!sxObject) {
2556
2556
  return null;
2557
2557
  }
2558
- const emptyBreakpoints = createEmptyBreakpointObject$1(theme2.breakpoints);
2558
+ const emptyBreakpoints = createEmptyBreakpointObject(theme2.breakpoints);
2559
2559
  const breakpointsKeys = Object.keys(emptyBreakpoints);
2560
2560
  let css = emptyBreakpoints;
2561
2561
  Object.keys(sxObject).forEach((styleKey) => {
2562
- const value = callIfFn$1(sxObject[styleKey], theme2);
2562
+ const value = callIfFn(sxObject[styleKey], theme2);
2563
2563
  if (value !== null && value !== void 0) {
2564
2564
  if (typeof value === "object") {
2565
2565
  if (config2[styleKey]) {
2566
- css = merge$1(css, getThemeValue(styleKey, value, theme2, config2));
2566
+ css = merge(css, getThemeValue(styleKey, value, theme2, config2));
2567
2567
  } else {
2568
- const breakpointsValues = handleBreakpoints$1({
2568
+ const breakpointsValues = handleBreakpoints({
2569
2569
  theme: theme2
2570
2570
  }, value, (x) => ({
2571
2571
  [styleKey]: x
2572
2572
  }));
2573
- if (objectsHaveSameKeys$1(breakpointsValues, value)) {
2573
+ if (objectsHaveSameKeys(breakpointsValues, value)) {
2574
2574
  css[styleKey] = styleFunctionSx2({
2575
2575
  sx: value,
2576
2576
  theme: theme2,
2577
2577
  nested: true
2578
2578
  });
2579
2579
  } else {
2580
- css = merge$1(css, breakpointsValues);
2580
+ css = merge(css, breakpointsValues);
2581
2581
  }
2582
2582
  }
2583
2583
  } else {
2584
- css = merge$1(css, getThemeValue(styleKey, value, theme2, config2));
2584
+ css = merge(css, getThemeValue(styleKey, value, theme2, config2));
2585
2585
  }
2586
2586
  }
2587
2587
  });
2588
2588
  if (!nested && theme2.modularCssLayers) {
2589
2589
  return {
2590
- "@layer sx": sortContainerQueries$1(theme2, removeUnusedBreakpoints$1(breakpointsKeys, css))
2590
+ "@layer sx": sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css))
2591
2591
  };
2592
2592
  }
2593
- return sortContainerQueries$1(theme2, removeUnusedBreakpoints$1(breakpointsKeys, css));
2593
+ return sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css));
2594
2594
  }
2595
2595
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
2596
2596
  }
2597
2597
  return styleFunctionSx2;
2598
2598
  }
2599
- const styleFunctionSx$1 = unstable_createStyleFunctionSx$1();
2600
- styleFunctionSx$1.filterProps = ["sx"];
2601
- function applyStyles$3(key, styles2) {
2599
+ const styleFunctionSx = unstable_createStyleFunctionSx();
2600
+ styleFunctionSx.filterProps = ["sx"];
2601
+ function applyStyles$2(key, styles2) {
2602
2602
  const theme2 = this;
2603
2603
  if (theme2.vars) {
2604
2604
  if (!theme2.colorSchemes?.[key] || typeof theme2.getColorSchemeSelector !== "function") {
@@ -2620,7 +2620,7 @@ function applyStyles$3(key, styles2) {
2620
2620
  }
2621
2621
  return {};
2622
2622
  }
2623
- function createTheme$2(options = {}, ...args) {
2623
+ function createTheme$1(options = {}, ...args) {
2624
2624
  const {
2625
2625
  breakpoints: breakpointsInput = {},
2626
2626
  palette: paletteInput = {},
@@ -2628,9 +2628,9 @@ function createTheme$2(options = {}, ...args) {
2628
2628
  shape: shapeInput = {},
2629
2629
  ...other
2630
2630
  } = options;
2631
- const breakpoints = createBreakpoints$1(breakpointsInput);
2632
- const spacing2 = createSpacing$1(spacingInput);
2633
- let muiTheme = deepmerge$1({
2631
+ const breakpoints = createBreakpoints(breakpointsInput);
2632
+ const spacing2 = createSpacing(spacingInput);
2633
+ let muiTheme = deepmerge({
2634
2634
  breakpoints,
2635
2635
  direction: "ltr",
2636
2636
  components: {},
@@ -2641,19 +2641,19 @@ function createTheme$2(options = {}, ...args) {
2641
2641
  },
2642
2642
  spacing: spacing2,
2643
2643
  shape: {
2644
- ...shape$3,
2644
+ ...shape$2,
2645
2645
  ...shapeInput
2646
2646
  }
2647
2647
  }, other);
2648
- muiTheme = cssContainerQueries$1(muiTheme);
2649
- muiTheme.applyStyles = applyStyles$3;
2650
- muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
2648
+ muiTheme = cssContainerQueries(muiTheme);
2649
+ muiTheme.applyStyles = applyStyles$2;
2650
+ muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
2651
2651
  muiTheme.unstable_sxConfig = {
2652
- ...defaultSxConfig$1,
2652
+ ...defaultSxConfig,
2653
2653
  ...other?.unstable_sxConfig
2654
2654
  };
2655
2655
  muiTheme.unstable_sx = function sx(props) {
2656
- return styleFunctionSx$1({
2656
+ return styleFunctionSx({
2657
2657
  sx: props,
2658
2658
  theme: this
2659
2659
  });
@@ -2667,7 +2667,7 @@ function useTheme$2(defaultTheme2 = null) {
2667
2667
  const contextTheme = React__namespace.useContext(react.ThemeContext);
2668
2668
  return !contextTheme || isObjectEmpty$2(contextTheme) ? defaultTheme2 : contextTheme;
2669
2669
  }
2670
- const systemDefaultTheme$1 = createTheme$2();
2670
+ const systemDefaultTheme$1 = createTheme$1();
2671
2671
  function useTheme$1(defaultTheme2 = systemDefaultTheme$1) {
2672
2672
  return useTheme$2(defaultTheme2);
2673
2673
  }
@@ -2728,7 +2728,7 @@ const splitProps = (props) => {
2728
2728
  systemProps: {},
2729
2729
  otherProps: {}
2730
2730
  };
2731
- const config2 = props?.theme?.unstable_sxConfig ?? defaultSxConfig$1;
2731
+ const config2 = props?.theme?.unstable_sxConfig ?? defaultSxConfig;
2732
2732
  Object.keys(props).forEach((prop) => {
2733
2733
  if (config2[prop]) {
2734
2734
  result.systemProps[prop] = props[prop];
@@ -2753,7 +2753,7 @@ function extendSxProp$1(props) {
2753
2753
  } else if (typeof inSx === "function") {
2754
2754
  finalSx = (...args) => {
2755
2755
  const result = inSx(...args);
2756
- if (!isPlainObject$1(result)) {
2756
+ if (!isPlainObject(result)) {
2757
2757
  return systemProps;
2758
2758
  }
2759
2759
  return {
@@ -2810,7 +2810,7 @@ function createBox(options = {}) {
2810
2810
  } = options;
2811
2811
  const BoxRoot = styled$2("div", {
2812
2812
  shouldForwardProp: (prop) => prop !== "theme" && prop !== "sx" && prop !== "as"
2813
- })(styleFunctionSx$1);
2813
+ })(styleFunctionSx);
2814
2814
  const Box2 = /* @__PURE__ */ React__namespace.forwardRef(function Box3(inProps, ref) {
2815
2815
  const theme2 = useTheme$1(defaultTheme2);
2816
2816
  const {
@@ -2904,8 +2904,8 @@ function preprocessStyles(input) {
2904
2904
  }
2905
2905
  return result;
2906
2906
  }
2907
- const systemDefaultTheme = createTheme$2();
2908
- function shouldForwardProp$1(prop) {
2907
+ const systemDefaultTheme = createTheme$1();
2908
+ function shouldForwardProp(prop) {
2909
2909
  return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
2910
2910
  }
2911
2911
  function shallowLayer(serialized, layerName) {
@@ -2983,14 +2983,14 @@ function createStyled(input = {}) {
2983
2983
  const {
2984
2984
  themeId,
2985
2985
  defaultTheme: defaultTheme2 = systemDefaultTheme,
2986
- rootShouldForwardProp: rootShouldForwardProp2 = shouldForwardProp$1,
2987
- slotShouldForwardProp: slotShouldForwardProp2 = shouldForwardProp$1
2986
+ rootShouldForwardProp: rootShouldForwardProp2 = shouldForwardProp,
2987
+ slotShouldForwardProp: slotShouldForwardProp2 = shouldForwardProp
2988
2988
  } = input;
2989
2989
  function styleAttachTheme(props) {
2990
2990
  attachTheme(props, themeId, defaultTheme2);
2991
2991
  }
2992
2992
  const styled2 = (tag, inputOptions = {}) => {
2993
- internal_mutateStyles(tag, (styles2) => styles2.filter((style2) => style2 !== styleFunctionSx$1));
2993
+ internal_mutateStyles(tag, (styles2) => styles2.filter((style2) => style2 !== styleFunctionSx));
2994
2994
  const {
2995
2995
  name: componentName,
2996
2996
  slot: componentSlot,
@@ -3008,7 +3008,7 @@ function createStyled(input = {}) {
3008
3008
  componentSlot && componentSlot !== "Root" && componentSlot !== "root" || false
3009
3009
  );
3010
3010
  const skipSx = inputSkipSx || false;
3011
- let shouldForwardPropOption = shouldForwardProp$1;
3011
+ let shouldForwardPropOption = shouldForwardProp;
3012
3012
  if (componentSlot === "Root" || componentSlot === "root") {
3013
3013
  shouldForwardPropOption = rootShouldForwardProp2;
3014
3014
  } else if (componentSlot) {
@@ -3030,7 +3030,7 @@ function createStyled(input = {}) {
3030
3030
  return processStyle(props, style2, props.theme.modularCssLayers ? layerName : void 0);
3031
3031
  };
3032
3032
  }
3033
- if (isPlainObject$1(style2)) {
3033
+ if (isPlainObject(style2)) {
3034
3034
  const serialized = preprocessStyles(style2);
3035
3035
  return function styleObjectProcessor(props) {
3036
3036
  if (!serialized.variants) {
@@ -3071,7 +3071,7 @@ function createStyled(input = {}) {
3071
3071
  });
3072
3072
  }
3073
3073
  if (!skipSx) {
3074
- expressionsTail.push(styleFunctionSx$1);
3074
+ expressionsTail.push(styleFunctionSx);
3075
3075
  }
3076
3076
  if (Array.isArray(expressionsBody[0])) {
3077
3077
  const inputStrings = expressionsBody.shift();
@@ -3103,7 +3103,7 @@ function createStyled(input = {}) {
3103
3103
  }
3104
3104
  function generateDisplayName(componentName, componentSlot, tag) {
3105
3105
  if (componentName) {
3106
- return `${componentName}${capitalize$2(componentSlot || "")}`;
3106
+ return `${componentName}${capitalize$1(componentSlot || "")}`;
3107
3107
  }
3108
3108
  return `Styled(${getDisplayName(tag)})`;
3109
3109
  }
@@ -3340,7 +3340,7 @@ function decomposeColor(color2) {
3340
3340
  const type = color2.substring(0, marker);
3341
3341
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(type)) {
3342
3342
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color2}\` color.
3343
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage$2(9, color2));
3343
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage$1(9, color2));
3344
3344
  }
3345
3345
  let values2 = color2.substring(marker + 1, color2.length - 1);
3346
3346
  let colorSpace;
@@ -3352,7 +3352,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
3352
3352
  }
3353
3353
  if (!["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(colorSpace)) {
3354
3354
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
3355
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage$2(10, colorSpace));
3355
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage$1(10, colorSpace));
3356
3356
  }
3357
3357
  } else {
3358
3358
  values2 = values2.split(",");
@@ -4059,13 +4059,13 @@ function getReactElementRef(element) {
4059
4059
  }
4060
4060
  return element?.ref || null;
4061
4061
  }
4062
- const RtlContext$1 = /* @__PURE__ */ React__namespace.createContext();
4062
+ const RtlContext = /* @__PURE__ */ React__namespace.createContext();
4063
4063
  process.env.NODE_ENV !== "production" ? {
4064
4064
  children: PropTypes.node,
4065
4065
  value: PropTypes.bool
4066
4066
  } : void 0;
4067
- const useRtl$1 = () => {
4068
- const value = React__namespace.useContext(RtlContext$1);
4067
+ const useRtl = () => {
4068
+ const value = React__namespace.useContext(RtlContext);
4069
4069
  return value ?? false;
4070
4070
  };
4071
4071
  const PropsContext = /* @__PURE__ */ React__namespace.createContext(void 0);
@@ -4254,7 +4254,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
4254
4254
  css,
4255
4255
  varsWithDefaults
4256
4256
  } = cssVarsParser(scheme, parserConfig);
4257
- themeVars = deepmerge$1(themeVars, varsWithDefaults);
4257
+ themeVars = deepmerge(themeVars, varsWithDefaults);
4258
4258
  colorSchemesMap[key] = {
4259
4259
  css,
4260
4260
  vars
@@ -4266,7 +4266,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
4266
4266
  vars,
4267
4267
  varsWithDefaults
4268
4268
  } = cssVarsParser(defaultScheme, parserConfig);
4269
- themeVars = deepmerge$1(themeVars, varsWithDefaults);
4269
+ themeVars = deepmerge(themeVars, varsWithDefaults);
4270
4270
  colorSchemesMap[defaultColorScheme] = {
4271
4271
  css,
4272
4272
  vars
@@ -4311,7 +4311,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
4311
4311
  Object.entries(colorSchemesMap).forEach(([, {
4312
4312
  vars: schemeVars
4313
4313
  }]) => {
4314
- vars = deepmerge$1(vars, schemeVars);
4314
+ vars = deepmerge(vars, schemeVars);
4315
4315
  });
4316
4316
  return vars;
4317
4317
  };
@@ -4396,7 +4396,7 @@ function createGetColorSchemeSelector(selector) {
4396
4396
  return "&";
4397
4397
  };
4398
4398
  }
4399
- const defaultTheme$4 = createTheme$2();
4399
+ const defaultTheme$4 = createTheme$1();
4400
4400
  const defaultCreateStyledComponent$2 = styled$1("div", {
4401
4401
  name: "MuiContainer",
4402
4402
  slot: "Root",
@@ -4404,7 +4404,7 @@ const defaultCreateStyledComponent$2 = styled$1("div", {
4404
4404
  const {
4405
4405
  ownerState
4406
4406
  } = props;
4407
- return [styles2.root, styles2[`maxWidth${capitalize$2(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
4407
+ return [styles2.root, styles2[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
4408
4408
  }
4409
4409
  });
4410
4410
  const useThemePropsDefault$2 = (inProps) => useThemeProps$1({
@@ -4423,7 +4423,7 @@ const useUtilityClasses$2b = (ownerState, componentName) => {
4423
4423
  maxWidth: maxWidth2
4424
4424
  } = ownerState;
4425
4425
  const slots = {
4426
- root: ["root", maxWidth2 && `maxWidth${capitalize$2(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
4426
+ root: ["root", maxWidth2 && `maxWidth${capitalize$1(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
4427
4427
  };
4428
4428
  return composeClasses$1(slots, getContainerUtilityClass, classes);
4429
4429
  };
@@ -4788,7 +4788,7 @@ function deleteLegacyGridProps(props, breakpoints) {
4788
4788
  });
4789
4789
  }
4790
4790
  }
4791
- const defaultTheme$3 = createTheme$2();
4791
+ const defaultTheme$3 = createTheme$1();
4792
4792
  const defaultCreateStyledComponent$1 = styled$1("div", {
4793
4793
  name: "MuiGrid",
4794
4794
  slot: "Root",
@@ -4921,7 +4921,7 @@ function createGrid(options = {}) {
4921
4921
  Grid3.muiName = "Grid";
4922
4922
  return Grid3;
4923
4923
  }
4924
- const defaultTheme$2 = createTheme$2();
4924
+ const defaultTheme$2 = createTheme$1();
4925
4925
  const defaultCreateStyledComponent = styled$1("div", {
4926
4926
  name: "MuiStack",
4927
4927
  slot: "Root",
@@ -4954,14 +4954,14 @@ const getSideFromDirection = (direction) => {
4954
4954
  "column-reverse": "Bottom"
4955
4955
  }[direction];
4956
4956
  };
4957
- const style$2 = ({
4957
+ const style = ({
4958
4958
  ownerState,
4959
4959
  theme: theme2
4960
4960
  }) => {
4961
4961
  let styles2 = {
4962
4962
  display: "flex",
4963
4963
  flexDirection: "column",
4964
- ...handleBreakpoints$1({
4964
+ ...handleBreakpoints({
4965
4965
  theme: theme2
4966
4966
  }, resolveBreakpointValues({
4967
4967
  values: ownerState.direction,
@@ -4971,7 +4971,7 @@ const style$2 = ({
4971
4971
  }))
4972
4972
  };
4973
4973
  if (ownerState.spacing) {
4974
- const transformer = createUnarySpacing$1(theme2);
4974
+ const transformer = createUnarySpacing(theme2);
4975
4975
  const base = Object.keys(theme2.breakpoints.values).reduce((acc, breakpoint) => {
4976
4976
  if (typeof ownerState.spacing === "object" && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === "object" && ownerState.direction[breakpoint] != null) {
4977
4977
  acc[breakpoint] = true;
@@ -4998,7 +4998,7 @@ const style$2 = ({
4998
4998
  const styleFromPropValue = (propValue, breakpoint) => {
4999
4999
  if (ownerState.useFlexGap) {
5000
5000
  return {
5001
- gap: getValue$1(transformer, propValue)
5001
+ gap: getValue(transformer, propValue)
5002
5002
  };
5003
5003
  }
5004
5004
  return {
@@ -5008,11 +5008,11 @@ const style$2 = ({
5008
5008
  margin: 0
5009
5009
  },
5010
5010
  "& > :not(style) ~ :not(style)": {
5011
- [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue$1(transformer, propValue)
5011
+ [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
5012
5012
  }
5013
5013
  };
5014
5014
  };
5015
- styles2 = deepmerge$1(styles2, handleBreakpoints$1({
5015
+ styles2 = deepmerge(styles2, handleBreakpoints({
5016
5016
  theme: theme2
5017
5017
  }, spacingValues, styleFromPropValue));
5018
5018
  }
@@ -5032,7 +5032,7 @@ function createStack(options = {}) {
5032
5032
  };
5033
5033
  return composeClasses$1(slots, (slot) => generateUtilityClass$1(componentName, slot), {});
5034
5034
  };
5035
- const StackRoot = createStyledComponent(style$2);
5035
+ const StackRoot = createStyledComponent(style);
5036
5036
  const Stack2 = /* @__PURE__ */ React__namespace.forwardRef(function Grid3(inProps, ref) {
5037
5037
  const themeProps = useThemeProps2(inProps);
5038
5038
  const props = extendSxProp$1(themeProps);
@@ -5340,7 +5340,7 @@ function createPalette(palette) {
5340
5340
  }
5341
5341
  if (!color2.hasOwnProperty("main")) {
5342
5342
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ""} provided to augmentColor(color) is invalid.
5343
- The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : formatMuiErrorMessage$2(11, name ? ` (${name})` : "", mainShade));
5343
+ The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : formatMuiErrorMessage$1(11, name ? ` (${name})` : "", mainShade));
5344
5344
  }
5345
5345
  if (typeof color2.main !== "string") {
5346
5346
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ""} provided to augmentColor(color) is invalid.
@@ -5356,7 +5356,7 @@ const theme1 = createTheme({ palette: {
5356
5356
 
5357
5357
  const theme2 = createTheme({ palette: {
5358
5358
  primary: { main: green[500] },
5359
- } });` : formatMuiErrorMessage$2(12, name ? ` (${name})` : "", JSON.stringify(color2.main)));
5359
+ } });` : formatMuiErrorMessage$1(12, name ? ` (${name})` : "", JSON.stringify(color2.main)));
5360
5360
  }
5361
5361
  addLightOrDark(color2, "light", lightShade, tonalOffset);
5362
5362
  addLightOrDark(color2, "dark", darkShade, tonalOffset);
@@ -5376,7 +5376,7 @@ const theme2 = createTheme({ palette: {
5376
5376
  console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
5377
5377
  }
5378
5378
  }
5379
- const paletteOutput = deepmerge$1({
5379
+ const paletteOutput = deepmerge({
5380
5380
  // A collection of common colors.
5381
5381
  common: {
5382
5382
  ...common
@@ -5534,7 +5534,7 @@ function createTypography(palette, typography2) {
5534
5534
  letterSpacing: "inherit"
5535
5535
  }
5536
5536
  };
5537
- return deepmerge$1({
5537
+ return deepmerge({
5538
5538
  htmlFontSize,
5539
5539
  pxToRem,
5540
5540
  fontFamily,
@@ -5649,7 +5649,7 @@ const zIndex = {
5649
5649
  tooltip: 1500
5650
5650
  };
5651
5651
  function isSerializable(val) {
5652
- return isPlainObject$1(val) || typeof val === "undefined" || typeof val === "string" || typeof val === "boolean" || typeof val === "number" || Array.isArray(val);
5652
+ return isPlainObject(val) || typeof val === "undefined" || typeof val === "string" || typeof val === "boolean" || typeof val === "number" || Array.isArray(val);
5653
5653
  }
5654
5654
  function stringifyTheme(baseTheme = {}) {
5655
5655
  const serializableTheme = {
@@ -5661,7 +5661,7 @@ function stringifyTheme(baseTheme = {}) {
5661
5661
  const [key, value] = array[index];
5662
5662
  if (!isSerializable(value) || key.startsWith("unstable_")) {
5663
5663
  delete object[key];
5664
- } else if (isPlainObject$1(value)) {
5664
+ } else if (isPlainObject(value)) {
5665
5665
  object[key] = {
5666
5666
  ...value
5667
5667
  };
@@ -5693,11 +5693,11 @@ function createThemeNoVars(options = {}, ...args) {
5693
5693
  if (options.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
5694
5694
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
5695
5695
  options.generateThemeVars === void 0) {
5696
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : formatMuiErrorMessage$2(20));
5696
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : formatMuiErrorMessage$1(20));
5697
5697
  }
5698
5698
  const palette = createPalette(paletteInput);
5699
- const systemTheme = createTheme$2(options);
5700
- let muiTheme = deepmerge$1(systemTheme, {
5699
+ const systemTheme = createTheme$1(options);
5700
+ let muiTheme = deepmerge(systemTheme, {
5701
5701
  mixins: createMixins(systemTheme.breakpoints, mixinsInput),
5702
5702
  palette,
5703
5703
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
@@ -5708,8 +5708,8 @@ function createThemeNoVars(options = {}, ...args) {
5708
5708
  ...zIndex
5709
5709
  }
5710
5710
  });
5711
- muiTheme = deepmerge$1(muiTheme, other);
5712
- muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
5711
+ muiTheme = deepmerge(muiTheme, other);
5712
+ muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
5713
5713
  if (process.env.NODE_ENV !== "production") {
5714
5714
  const stateClasses = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"];
5715
5715
  const traverse = (node, component) => {
@@ -5737,11 +5737,11 @@ function createThemeNoVars(options = {}, ...args) {
5737
5737
  });
5738
5738
  }
5739
5739
  muiTheme.unstable_sxConfig = {
5740
- ...defaultSxConfig$1,
5740
+ ...defaultSxConfig,
5741
5741
  ...other?.unstable_sxConfig
5742
5742
  };
5743
5743
  muiTheme.unstable_sx = function sx(props) {
5744
- return styleFunctionSx$1({
5744
+ return styleFunctionSx({
5745
5745
  sx: props,
5746
5746
  theme: this
5747
5747
  });
@@ -5968,7 +5968,7 @@ function createThemeWithVars(options = {}, ...args) {
5968
5968
  defaultScheme = true;
5969
5969
  }
5970
5970
  if (!defaultScheme) {
5971
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${defaultColorScheme}\` option is either missing or invalid.` : formatMuiErrorMessage$2(21, defaultColorScheme));
5971
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${defaultColorScheme}\` option is either missing or invalid.` : formatMuiErrorMessage$1(21, defaultColorScheme));
5972
5972
  }
5973
5973
  const muiTheme = attachColorScheme$1(colorSchemes2, defaultScheme, input, defaultColorScheme);
5974
5974
  if (builtInLight && !colorSchemes2.light) {
@@ -6167,7 +6167,7 @@ function createThemeWithVars(options = {}, ...args) {
6167
6167
  }
6168
6168
  });
6169
6169
  });
6170
- theme2 = args.reduce((acc, argument) => deepmerge$1(acc, argument), theme2);
6170
+ theme2 = args.reduce((acc, argument) => deepmerge(acc, argument), theme2);
6171
6171
  const parserConfig = {
6172
6172
  prefix: cssVarPrefix,
6173
6173
  disableCssColorScheme,
@@ -6186,17 +6186,17 @@ function createThemeWithVars(options = {}, ...args) {
6186
6186
  theme2.generateThemeVars = generateThemeVars;
6187
6187
  theme2.generateStyleSheets = generateStyleSheets;
6188
6188
  theme2.generateSpacing = function generateSpacing() {
6189
- return createSpacing$1(input.spacing, createUnarySpacing$1(this));
6189
+ return createSpacing(input.spacing, createUnarySpacing(this));
6190
6190
  };
6191
6191
  theme2.getColorSchemeSelector = createGetColorSchemeSelector(selector);
6192
6192
  theme2.spacing = theme2.generateSpacing();
6193
6193
  theme2.shouldSkipGeneratingVar = shouldSkipGeneratingVar$1;
6194
6194
  theme2.unstable_sxConfig = {
6195
- ...defaultSxConfig$1,
6195
+ ...defaultSxConfig,
6196
6196
  ...input?.unstable_sxConfig
6197
6197
  };
6198
6198
  theme2.unstable_sx = function sx(props) {
6199
- return styleFunctionSx$1({
6199
+ return styleFunctionSx({
6200
6200
  sx: props,
6201
6201
  theme: this
6202
6202
  });
@@ -6219,7 +6219,7 @@ function attachColorScheme(theme2, scheme, colorScheme) {
6219
6219
  };
6220
6220
  }
6221
6221
  }
6222
- function createTheme$1(options = {}, ...args) {
6222
+ function createTheme(options = {}, ...args) {
6223
6223
  const {
6224
6224
  palette,
6225
6225
  cssVariables = false,
@@ -6294,7 +6294,7 @@ function getUnit(input) {
6294
6294
  function toUnitless(length) {
6295
6295
  return parseFloat(length);
6296
6296
  }
6297
- const defaultTheme$1 = createTheme$1();
6297
+ const defaultTheme$1 = createTheme();
6298
6298
  function useTheme() {
6299
6299
  const theme2 = useTheme$1(defaultTheme$1);
6300
6300
  if (process.env.NODE_ENV !== "production") {
@@ -6324,12 +6324,12 @@ const styled = createStyled({
6324
6324
  });
6325
6325
  const colorSchemes = { "light": { "palette": { "primary": { "main": "#00686f", "dark": "#004e53", "light": "#009999", "contrastText": "#ffffff", "_states": { "hover": "#0099991f", "selected": "#00999929", "focus": "#00999940", "focusVisible": "#009999" } }, "secondary": { "main": "#99cc00", "dark": "#7aa300", "light": "#b3d633", "contrastText": "#000000de" }, "error": { "main": "#ab1a1a", "dark": "#8b1515", "light": "#d32f2f", "contrastText": "#ffffff" }, "warning": { "main": "#dfa00a", "dark": "#b88308", "light": "#f5b642", "contrastText": "#000000de" }, "info": { "main": "#143996", "dark": "#0C225A", "light": "#D1DAF0", "contrastText": "#ffffff" }, "success": { "main": "#036642", "dark": "#023321", "light": "#B3D1C7", "contrastText": "#ffffff" }, "background": { "default": "#ffffff", "paper": "#ffffff" }, "text": { "primary": "#000000de", "secondary": "#00000099", "disabled": "#00000061" }, "action": { "active": "#0000008f", "hover": "#00000014", "selected": "#0000001f", "disabled": "#00000042", "disabledBackground": "#0000001f" }, "divider": "#0000001f", "_components": { "alert": { "error": { "filled": { "background": "#ab1a1a", "foreground": "#ffffff" }, "outlined": { "background": "#fdeded", "foreground": "#5f2120", "border": "#ab1a1a" }, "standard": { "background": "#fdeded", "foreground": "#5f2120" } }, "warning": { "filled": { "background": "#dfa00a", "foreground": "#000000de" }, "outlined": { "background": "#fff4e5", "foreground": "#3e2410", "border": "#dfa00a" }, "standard": { "background": "#fff4e5", "foreground": "#3e2410" } }, "info": { "filled": { "background": "#2481b8", "foreground": "#ffffff" }, "outlined": { "background": "#e5f6fd", "foreground": "#014361", "border": "#2481b8" }, "standard": { "background": "#e5f6fd", "foreground": "#014361" } }, "success": { "filled": { "background": "#2e7d32", "foreground": "#ffffff" }, "outlined": { "background": "#edf7ed", "foreground": "#1e4620", "border": "#2e7d32" }, "standard": { "background": "#edf7ed", "foreground": "#1e4620" } } }, "rating": { "activeFill": "#ffb400", "enabledBorder": "#0000003b" }, "chip": { "defaultCloseFill": "#000000", "defaultEnabledBorder": "#bdbdbd" }, "input": { "standard": { "enabledBorder": "#0000006b" }, "filled": { "enabledFill": "#0000000f" }, "outlined": { "enabledBorder": "#0000003b" } }, "table": { "border": "#e0e0e0" }, "paper": { "elevation0": "#ffffff", "elevation1": "#ffffff", "elevation2": "#ffffff" } } } }, "dark": { "palette": { "primary": { "main": "#009999", "dark": "#00686f", "light": "#33adad", "contrastText": "#000000", "_states": { "hover": "#0099993d", "selected": "#00999952", "focus": "#00999966", "focusVisible": "#009999" } }, "secondary": { "main": "#b3d633", "dark": "#99cc00", "light": "#c5e066", "contrastText": "#000000" }, "error": { "main": "#f44336", "dark": "#d32f2f", "light": "#e57373", "contrastText": "#ffffff" }, "warning": { "main": "#f5b642", "dark": "#dfa00a", "light": "#f7c875", "contrastText": "#000000" }, "info": { "main": "#4f9fd1", "dark": "#2481b8", "light": "#72b3dd", "contrastText": "#000000" }, "success": { "main": "#66bb6a", "dark": "#388e3c", "light": "#81c784", "contrastText": "#000000" }, "background": { "default": "#121212", "paper": "#1e1e1e" }, "text": { "primary": "#ffffff", "secondary": "#ffffffb3", "disabled": "#ffffff80" }, "action": { "active": "#ffffff", "hover": "#ffffff14", "selected": "#ffffff1f", "disabled": "#ffffff42", "disabledBackground": "#ffffff1f" }, "divider": "#ffffff1f", "_components": { "alert": { "error": { "filled": { "background": "#f44336", "foreground": "#ffffff" }, "outlined": { "background": "#3d1a1a", "foreground": "#f8b8b8", "border": "#f44336" }, "standard": { "background": "#3d1a1a", "foreground": "#f8b8b8" } }, "warning": { "filled": { "background": "#f5b642", "foreground": "#000000" }, "outlined": { "background": "#3d3118", "foreground": "#f7d498", "border": "#f5b642" }, "standard": { "background": "#3d3118", "foreground": "#f7d498" } }, "info": { "filled": { "background": "#4f9fd1", "foreground": "#000000" }, "outlined": { "background": "#1a2f3d", "foreground": "#b8d9f0", "border": "#4f9fd1" }, "standard": { "background": "#1a2f3d", "foreground": "#b8d9f0" } }, "success": { "filled": { "background": "#66bb6a", "foreground": "#000000" }, "outlined": { "background": "#1e3a1f", "foreground": "#c8e6ca", "border": "#66bb6a" }, "standard": { "background": "#1e3a1f", "foreground": "#c8e6ca" } } }, "rating": { "activeFill": "#ffb400", "enabledBorder": "#ffffff3b" }, "chip": { "defaultCloseFill": "#ffffff", "defaultEnabledBorder": "#757575" }, "input": { "standard": { "enabledBorder": "#ffffff6b" }, "filled": { "enabledFill": "#ffffff1f" }, "outlined": { "enabledBorder": "#ffffff3b" } }, "table": { "border": "#424242" }, "paper": { "elevation0": "#1e1e1e", "elevation1": "#2a2a2a", "elevation2": "#353535" } } } } };
6326
6326
  const typography$1 = { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontSize": 16, "fontWeightLight": 300, "fontWeightRegular": 400, "fontWeightMedium": 500, "fontWeightSemiBold": 600, "fontWeightBold": 700, "h1": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "3.75rem", "lineHeight": 1.2, "letterSpacing": "-0.01562em" }, "h2": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "3rem", "lineHeight": 1.2, "letterSpacing": "-0.00833em" }, "h3": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "2.125rem", "lineHeight": 1.2, "letterSpacing": "0em" }, "h4": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "1.5rem", "lineHeight": 1.2, "letterSpacing": "0.00735em" }, "h5": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "1.25rem", "lineHeight": 1.2, "letterSpacing": "0em" }, "h6": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "1rem", "lineHeight": 1.2, "letterSpacing": "0.0075em" }, "body1": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "1rem", "lineHeight": 1.5, "letterSpacing": "0.00938em" }, "body2": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "0.875rem", "lineHeight": 1.43, "letterSpacing": "0.01071em" }, "subtitle1": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 500, "fontSize": "1rem", "lineHeight": 1.75, "letterSpacing": "0.00938em" }, "subtitle2": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 500, "fontSize": "0.875rem", "lineHeight": 1.57, "letterSpacing": "0.00714em" }, "button": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "0.875rem", "lineHeight": 1.75, "letterSpacing": "0.02857em", "textTransform": "none" }, "caption": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "0.75rem", "lineHeight": 1.66, "letterSpacing": "0.03333em" }, "overline": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "0.75rem", "lineHeight": 2.66, "letterSpacing": "0.08333em", "textTransform": "uppercase" } };
6327
- const shape$2 = { "borderRadius": 8, "sm": 4, "md": 8, "lg": 12, "xl": 24, "rounded": 9999 };
6327
+ const shape$1 = { "borderRadius": 8, "sm": 4, "md": 8, "lg": 12, "xl": 24, "rounded": 9999 };
6328
6328
  const spacing$2 = [0, 4, 8, 12, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96];
6329
6329
  const themeTokens = {
6330
6330
  colorSchemes,
6331
6331
  typography: typography$1,
6332
- shape: shape$2,
6332
+ shape: shape$1,
6333
6333
  spacing: spacing$2
6334
6334
  };
6335
6335
  const ComponentAlertDarkErrorFilledBackground = "#f48282";
@@ -7277,7 +7277,7 @@ const getComponentOverrides = (mode) => {
7277
7277
  }
7278
7278
  };
7279
7279
  };
7280
- const lightTheme = createTheme$1({
7280
+ const lightTheme = createTheme({
7281
7281
  palette: {
7282
7282
  mode: "light",
7283
7283
  primary: lightTokens.colors.primary,
@@ -7300,7 +7300,7 @@ const lightTheme = createTheme$1({
7300
7300
  spacing: spacing$1,
7301
7301
  components: getComponentOverrides("light")
7302
7302
  });
7303
- const darkTheme = createTheme$1({
7303
+ const darkTheme = createTheme({
7304
7304
  palette: {
7305
7305
  mode: "dark",
7306
7306
  primary: darkTokens.colors.primary,
@@ -7329,11 +7329,11 @@ const colors = {
7329
7329
  dark: themeTokens.colorSchemes.dark.palette
7330
7330
  };
7331
7331
  const typography = themeTokens.typography;
7332
- const shape$1 = themeTokens.shape;
7332
+ const shape = themeTokens.shape;
7333
7333
  const spacing = themeTokens.spacing;
7334
7334
  const tokens = themeTokens;
7335
7335
  const boxClasses = generateUtilityClasses$1("MuiBox", ["root"]);
7336
- const defaultTheme = createTheme$1();
7336
+ const defaultTheme = createTheme();
7337
7337
  const Box$1 = createBox({
7338
7338
  themeId: THEME_ID,
7339
7339
  defaultTheme,
@@ -7488,7 +7488,7 @@ const useUtilityClasses$2a = (ownerState) => {
7488
7488
  classes
7489
7489
  } = ownerState;
7490
7490
  const slots = {
7491
- root: ["root", color2 !== "inherit" && `color${capitalize$2(color2)}`, `fontSize${capitalize$2(fontSize)}`]
7491
+ root: ["root", color2 !== "inherit" && `color${capitalize$1(color2)}`, `fontSize${capitalize$1(fontSize)}`]
7492
7492
  };
7493
7493
  return composeClasses$1(slots, getSvgIconUtilityClass, classes);
7494
7494
  };
@@ -7499,7 +7499,7 @@ const SvgIconRoot = styled("svg", {
7499
7499
  const {
7500
7500
  ownerState
7501
7501
  } = props;
7502
- return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$2(ownerState.color)}`], styles2[`fontSize${capitalize$2(ownerState.fontSize)}`]];
7502
+ return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$1(ownerState.color)}`], styles2[`fontSize${capitalize$1(ownerState.fontSize)}`]];
7503
7503
  }
7504
7504
  })(memoTheme(({
7505
7505
  theme: theme2
@@ -8191,7 +8191,7 @@ const useUtilityClasses$28 = (ownerState) => {
8191
8191
  } = ownerState;
8192
8192
  const slots = {
8193
8193
  root: ["root"],
8194
- badge: ["badge", variant, invisible && "invisible", `anchorOrigin${capitalize$2(anchorOrigin.vertical)}${capitalize$2(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize$2(anchorOrigin.vertical)}${capitalize$2(anchorOrigin.horizontal)}${capitalize$2(overlap)}`, `overlap${capitalize$2(overlap)}`, color2 !== "default" && `color${capitalize$2(color2)}`]
8194
+ badge: ["badge", variant, invisible && "invisible", `anchorOrigin${capitalize$1(anchorOrigin.vertical)}${capitalize$1(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize$1(anchorOrigin.vertical)}${capitalize$1(anchorOrigin.horizontal)}${capitalize$1(overlap)}`, `overlap${capitalize$1(overlap)}`, color2 !== "default" && `color${capitalize$1(color2)}`]
8195
8195
  };
8196
8196
  return composeClasses$1(slots, getBadgeUtilityClass, classes);
8197
8197
  };
@@ -8213,7 +8213,7 @@ const BadgeBadge = styled("span", {
8213
8213
  const {
8214
8214
  ownerState
8215
8215
  } = props;
8216
- return [styles2.badge, styles2[ownerState.variant], styles2[`anchorOrigin${capitalize$2(ownerState.anchorOrigin.vertical)}${capitalize$2(ownerState.anchorOrigin.horizontal)}${capitalize$2(ownerState.overlap)}`], ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`], ownerState.invisible && styles2.invisible];
8216
+ return [styles2.badge, styles2[ownerState.variant], styles2[`anchorOrigin${capitalize$1(ownerState.anchorOrigin.vertical)}${capitalize$1(ownerState.anchorOrigin.horizontal)}${capitalize$1(ownerState.overlap)}`], ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`], ownerState.invisible && styles2.invisible];
8217
8217
  }
8218
8218
  })(memoTheme(({
8219
8219
  theme: theme2
@@ -8644,7 +8644,7 @@ const useUtilityClasses$27 = (ownerState) => {
8644
8644
  classes
8645
8645
  } = ownerState;
8646
8646
  const slots = {
8647
- root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize$2(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
8647
+ root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize$1(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
8648
8648
  };
8649
8649
  return composeClasses$1(slots, getTypographyUtilityClass, classes);
8650
8650
  };
@@ -8655,7 +8655,7 @@ const TypographyRoot = styled("span", {
8655
8655
  const {
8656
8656
  ownerState
8657
8657
  } = props;
8658
- return [styles2.root, ownerState.variant && styles2[ownerState.variant], ownerState.align !== "inherit" && styles2[`align${capitalize$2(ownerState.align)}`], ownerState.noWrap && styles2.noWrap, ownerState.gutterBottom && styles2.gutterBottom, ownerState.paragraph && styles2.paragraph];
8658
+ return [styles2.root, ownerState.variant && styles2[ownerState.variant], ownerState.align !== "inherit" && styles2[`align${capitalize$1(ownerState.align)}`], ownerState.noWrap && styles2.noWrap, ownerState.gutterBottom && styles2.gutterBottom, ownerState.paragraph && styles2.paragraph];
8659
8659
  }
8660
8660
  })(memoTheme(({
8661
8661
  theme: theme2
@@ -8685,7 +8685,7 @@ const TypographyRoot = styled("span", {
8685
8685
  }
8686
8686
  })), ...Object.entries(theme2.palette?.text || {}).filter(([, value]) => typeof value === "string").map(([color2]) => ({
8687
8687
  props: {
8688
- color: `text${capitalize$2(color2)}`
8688
+ color: `text${capitalize$1(color2)}`
8689
8689
  },
8690
8690
  style: {
8691
8691
  color: (theme2.vars || theme2).palette.text[color2]
@@ -9931,7 +9931,7 @@ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
9931
9931
  });
9932
9932
  return children;
9933
9933
  }
9934
- var values$1 = Object.values || function(obj) {
9934
+ var values = Object.values || function(obj) {
9935
9935
  return Object.keys(obj).map(function(k) {
9936
9936
  return obj[k];
9937
9937
  });
@@ -9995,7 +9995,7 @@ var TransitionGroup = /* @__PURE__ */ (function(_React$Component) {
9995
9995
  _proto.render = function render() {
9996
9996
  var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
9997
9997
  var contextValue = this.state.contextValue;
9998
- var children = values$1(this.state.children).map(childFactory2);
9998
+ var children = values(this.state.children).map(childFactory2);
9999
9999
  delete props.appear;
10000
10000
  delete props.enter;
10001
10001
  delete props.exit;
@@ -10888,9 +10888,9 @@ const useUtilityClasses$25 = (ownerState) => {
10888
10888
  disableShrink
10889
10889
  } = ownerState;
10890
10890
  const slots = {
10891
- root: ["root", variant, `color${capitalize$2(color2)}`],
10891
+ root: ["root", variant, `color${capitalize$1(color2)}`],
10892
10892
  svg: ["svg"],
10893
- circle: ["circle", `circle${capitalize$2(variant)}`, disableShrink && "circleDisableShrink"]
10893
+ circle: ["circle", `circle${capitalize$1(variant)}`, disableShrink && "circleDisableShrink"]
10894
10894
  };
10895
10895
  return composeClasses$1(slots, getCircularProgressUtilityClass, classes);
10896
10896
  };
@@ -10901,7 +10901,7 @@ const CircularProgressRoot = styled("span", {
10901
10901
  const {
10902
10902
  ownerState
10903
10903
  } = props;
10904
- return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize$2(ownerState.color)}`]];
10904
+ return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize$1(ownerState.color)}`]];
10905
10905
  }
10906
10906
  })(memoTheme(({
10907
10907
  theme: theme2
@@ -10945,7 +10945,7 @@ const CircularProgressCircle = styled("circle", {
10945
10945
  const {
10946
10946
  ownerState
10947
10947
  } = props;
10948
- return [styles2.circle, styles2[`circle${capitalize$2(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
10948
+ return [styles2.circle, styles2[`circle${capitalize$1(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
10949
10949
  }
10950
10950
  })(memoTheme(({
10951
10951
  theme: theme2
@@ -11132,9 +11132,9 @@ const useUtilityClasses$24 = (ownerState) => {
11132
11132
  classes
11133
11133
  } = ownerState;
11134
11134
  const slots = {
11135
- root: ["root", loading && "loading", variant, `${variant}${capitalize$2(color2)}`, `size${capitalize$2(size)}`, `${variant}Size${capitalize$2(size)}`, `color${capitalize$2(color2)}`, disableElevation && "disableElevation", fullWidth && "fullWidth", loading && `loadingPosition${capitalize$2(loadingPosition)}`],
11136
- startIcon: ["icon", "startIcon", `iconSize${capitalize$2(size)}`],
11137
- endIcon: ["icon", "endIcon", `iconSize${capitalize$2(size)}`],
11135
+ root: ["root", loading && "loading", variant, `${variant}${capitalize$1(color2)}`, `size${capitalize$1(size)}`, `${variant}Size${capitalize$1(size)}`, `color${capitalize$1(color2)}`, disableElevation && "disableElevation", fullWidth && "fullWidth", loading && `loadingPosition${capitalize$1(loadingPosition)}`],
11136
+ startIcon: ["icon", "startIcon", `iconSize${capitalize$1(size)}`],
11137
+ endIcon: ["icon", "endIcon", `iconSize${capitalize$1(size)}`],
11138
11138
  loadingIndicator: ["loadingIndicator"],
11139
11139
  loadingWrapper: ["loadingWrapper"]
11140
11140
  };
@@ -11181,7 +11181,7 @@ const ButtonRoot = styled(ButtonBase, {
11181
11181
  const {
11182
11182
  ownerState
11183
11183
  } = props;
11184
- return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$2(ownerState.color)}`], styles2[`size${capitalize$2(ownerState.size)}`], styles2[`${ownerState.variant}Size${capitalize$2(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, ownerState.disableElevation && styles2.disableElevation, ownerState.fullWidth && styles2.fullWidth, ownerState.loading && styles2.loading];
11184
+ return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$1(ownerState.color)}`], styles2[`size${capitalize$1(ownerState.size)}`], styles2[`${ownerState.variant}Size${capitalize$1(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, ownerState.disableElevation && styles2.disableElevation, ownerState.fullWidth && styles2.fullWidth, ownerState.loading && styles2.loading];
11185
11185
  }
11186
11186
  })(memoTheme(({
11187
11187
  theme: theme2
@@ -11390,7 +11390,7 @@ const ButtonStartIcon = styled("span", {
11390
11390
  const {
11391
11391
  ownerState
11392
11392
  } = props;
11393
- return [styles2.startIcon, ownerState.loading && styles2.startIconLoadingStart, styles2[`iconSize${capitalize$2(ownerState.size)}`]];
11393
+ return [styles2.startIcon, ownerState.loading && styles2.startIconLoadingStart, styles2[`iconSize${capitalize$1(ownerState.size)}`]];
11394
11394
  }
11395
11395
  })(({
11396
11396
  theme: theme2
@@ -11434,7 +11434,7 @@ const ButtonEndIcon = styled("span", {
11434
11434
  const {
11435
11435
  ownerState
11436
11436
  } = props;
11437
- return [styles2.endIcon, ownerState.loading && styles2.endIconLoadingEnd, styles2[`iconSize${capitalize$2(ownerState.size)}`]];
11437
+ return [styles2.endIcon, ownerState.loading && styles2.endIconLoadingEnd, styles2[`iconSize${capitalize$1(ownerState.size)}`]];
11438
11438
  }
11439
11439
  })(({
11440
11440
  theme: theme2
@@ -11828,7 +11828,7 @@ const useUtilityClasses$23 = (ownerState) => {
11828
11828
  edge
11829
11829
  } = ownerState;
11830
11830
  const slots = {
11831
- root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize$2(edge)}`],
11831
+ root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize$1(edge)}`],
11832
11832
  input: ["input"]
11833
11833
  };
11834
11834
  return composeClasses$1(slots, getSwitchBaseUtilityClass, classes);
@@ -12173,7 +12173,7 @@ const useUtilityClasses$22 = (ownerState) => {
12173
12173
  size
12174
12174
  } = ownerState;
12175
12175
  const slots = {
12176
- root: ["root", indeterminate && "indeterminate", `color${capitalize$2(color2)}`, `size${capitalize$2(size)}`]
12176
+ root: ["root", indeterminate && "indeterminate", `color${capitalize$1(color2)}`, `size${capitalize$1(size)}`]
12177
12177
  };
12178
12178
  const composedClasses = composeClasses$1(slots, getCheckboxUtilityClass, classes);
12179
12179
  return {
@@ -12190,7 +12190,7 @@ const CheckboxRoot = styled(SwitchBase, {
12190
12190
  const {
12191
12191
  ownerState
12192
12192
  } = props;
12193
- return [styles2.root, ownerState.indeterminate && styles2.indeterminate, styles2[`size${capitalize$2(ownerState.size)}`], ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`]];
12193
+ return [styles2.root, ownerState.indeterminate && styles2.indeterminate, styles2[`size${capitalize$1(ownerState.size)}`], ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`]];
12194
12194
  }
12195
12195
  })(memoTheme(({
12196
12196
  theme: theme2
@@ -12482,11 +12482,11 @@ const useUtilityClasses$21 = (ownerState) => {
12482
12482
  variant
12483
12483
  } = ownerState;
12484
12484
  const slots = {
12485
- root: ["root", variant, disabled && "disabled", `size${capitalize$2(size)}`, `color${capitalize$2(color2)}`, clickable && "clickable", clickable && `clickableColor${capitalize$2(color2)}`, onDelete && "deletable", onDelete && `deletableColor${capitalize$2(color2)}`, `${variant}${capitalize$2(color2)}`],
12486
- label: ["label", `label${capitalize$2(size)}`],
12487
- avatar: ["avatar", `avatar${capitalize$2(size)}`, `avatarColor${capitalize$2(color2)}`],
12488
- icon: ["icon", `icon${capitalize$2(size)}`, `iconColor${capitalize$2(iconColor)}`],
12489
- deleteIcon: ["deleteIcon", `deleteIcon${capitalize$2(size)}`, `deleteIconColor${capitalize$2(color2)}`, `deleteIcon${capitalize$2(variant)}Color${capitalize$2(color2)}`]
12485
+ root: ["root", variant, disabled && "disabled", `size${capitalize$1(size)}`, `color${capitalize$1(color2)}`, clickable && "clickable", clickable && `clickableColor${capitalize$1(color2)}`, onDelete && "deletable", onDelete && `deletableColor${capitalize$1(color2)}`, `${variant}${capitalize$1(color2)}`],
12486
+ label: ["label", `label${capitalize$1(size)}`],
12487
+ avatar: ["avatar", `avatar${capitalize$1(size)}`, `avatarColor${capitalize$1(color2)}`],
12488
+ icon: ["icon", `icon${capitalize$1(size)}`, `iconColor${capitalize$1(iconColor)}`],
12489
+ deleteIcon: ["deleteIcon", `deleteIcon${capitalize$1(size)}`, `deleteIconColor${capitalize$1(color2)}`, `deleteIcon${capitalize$1(variant)}Color${capitalize$1(color2)}`]
12490
12490
  };
12491
12491
  return composeClasses$1(slots, getChipUtilityClass, classes);
12492
12492
  };
@@ -12508,24 +12508,24 @@ const ChipRoot = styled("div", {
12508
12508
  return [{
12509
12509
  [`& .${chipClasses.avatar}`]: styles2.avatar
12510
12510
  }, {
12511
- [`& .${chipClasses.avatar}`]: styles2[`avatar${capitalize$2(size)}`]
12511
+ [`& .${chipClasses.avatar}`]: styles2[`avatar${capitalize$1(size)}`]
12512
12512
  }, {
12513
- [`& .${chipClasses.avatar}`]: styles2[`avatarColor${capitalize$2(color2)}`]
12513
+ [`& .${chipClasses.avatar}`]: styles2[`avatarColor${capitalize$1(color2)}`]
12514
12514
  }, {
12515
12515
  [`& .${chipClasses.icon}`]: styles2.icon
12516
12516
  }, {
12517
- [`& .${chipClasses.icon}`]: styles2[`icon${capitalize$2(size)}`]
12517
+ [`& .${chipClasses.icon}`]: styles2[`icon${capitalize$1(size)}`]
12518
12518
  }, {
12519
- [`& .${chipClasses.icon}`]: styles2[`iconColor${capitalize$2(iconColor)}`]
12519
+ [`& .${chipClasses.icon}`]: styles2[`iconColor${capitalize$1(iconColor)}`]
12520
12520
  }, {
12521
12521
  [`& .${chipClasses.deleteIcon}`]: styles2.deleteIcon
12522
12522
  }, {
12523
- [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$2(size)}`]
12523
+ [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$1(size)}`]
12524
12524
  }, {
12525
- [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIconColor${capitalize$2(color2)}`]
12525
+ [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIconColor${capitalize$1(color2)}`]
12526
12526
  }, {
12527
- [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$2(variant)}Color${capitalize$2(color2)}`]
12528
- }, styles2.root, styles2[`size${capitalize$2(size)}`], styles2[`color${capitalize$2(color2)}`], clickable && styles2.clickable, clickable && color2 !== "default" && styles2[`clickableColor${capitalize$2(color2)})`], onDelete && styles2.deletable, onDelete && color2 !== "default" && styles2[`deletableColor${capitalize$2(color2)}`], styles2[variant], styles2[`${variant}${capitalize$2(color2)}`]];
12527
+ [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$1(variant)}Color${capitalize$1(color2)}`]
12528
+ }, styles2.root, styles2[`size${capitalize$1(size)}`], styles2[`color${capitalize$1(color2)}`], clickable && styles2.clickable, clickable && color2 !== "default" && styles2[`clickableColor${capitalize$1(color2)})`], onDelete && styles2.deletable, onDelete && color2 !== "default" && styles2[`deletableColor${capitalize$1(color2)}`], styles2[variant], styles2[`${variant}${capitalize$1(color2)}`]];
12529
12529
  }
12530
12530
  })(memoTheme(({
12531
12531
  theme: theme2
@@ -12758,7 +12758,7 @@ const ChipLabel = styled("span", {
12758
12758
  const {
12759
12759
  size
12760
12760
  } = ownerState;
12761
- return [styles2.label, styles2[`label${capitalize$2(size)}`]];
12761
+ return [styles2.label, styles2[`label${capitalize$1(size)}`]];
12762
12762
  }
12763
12763
  })({
12764
12764
  overflow: "hidden",
@@ -13149,7 +13149,7 @@ const Container$1 = createContainer({
13149
13149
  const {
13150
13150
  ownerState
13151
13151
  } = props;
13152
- return [styles2.root, styles2[`maxWidth${capitalize$2(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
13152
+ return [styles2.root, styles2[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
13153
13153
  }
13154
13154
  }),
13155
13155
  useThemeProps: (inProps) => useDefaultProps({
@@ -13545,7 +13545,7 @@ const useUtilityClasses$1$ = (ownerState) => {
13545
13545
  fullWidth
13546
13546
  } = ownerState;
13547
13547
  const slots = {
13548
- root: ["root", margin2 !== "none" && `margin${capitalize$2(margin2)}`, fullWidth && "fullWidth"]
13548
+ root: ["root", margin2 !== "none" && `margin${capitalize$1(margin2)}`, fullWidth && "fullWidth"]
13549
13549
  };
13550
13550
  return composeClasses$1(slots, getFormControlUtilityClasses, classes);
13551
13551
  };
@@ -13556,7 +13556,7 @@ const FormControlRoot = styled("div", {
13556
13556
  const {
13557
13557
  ownerState
13558
13558
  } = props;
13559
- return [styles2.root, styles2[`margin${capitalize$2(ownerState.margin)}`], ownerState.fullWidth && styles2.fullWidth];
13559
+ return [styles2.root, styles2[`margin${capitalize$1(ownerState.margin)}`], ownerState.fullWidth && styles2.fullWidth];
13560
13560
  }
13561
13561
  })({
13562
13562
  display: "inline-flex",
@@ -13827,7 +13827,7 @@ const useUtilityClasses$1_ = (ownerState) => {
13827
13827
  required
13828
13828
  } = ownerState;
13829
13829
  const slots = {
13830
- root: ["root", disabled && "disabled", `labelPlacement${capitalize$2(labelPlacement)}`, error && "error", required && "required"],
13830
+ root: ["root", disabled && "disabled", `labelPlacement${capitalize$1(labelPlacement)}`, error && "error", required && "required"],
13831
13831
  label: ["label", disabled && "disabled"],
13832
13832
  asterisk: ["asterisk", error && "error"]
13833
13833
  };
@@ -13842,7 +13842,7 @@ const FormControlLabelRoot = styled("label", {
13842
13842
  } = props;
13843
13843
  return [{
13844
13844
  [`& .${formControlLabelClasses.label}`]: styles2.label
13845
- }, styles2.root, styles2[`labelPlacement${capitalize$2(ownerState.labelPlacement)}`]];
13845
+ }, styles2.root, styles2[`labelPlacement${capitalize$1(ownerState.labelPlacement)}`]];
13846
13846
  }
13847
13847
  })(memoTheme(({
13848
13848
  theme: theme2
@@ -14335,7 +14335,7 @@ const useUtilityClasses$1Y = (ownerState) => {
14335
14335
  classes
14336
14336
  } = ownerState;
14337
14337
  const slots = {
14338
- root: ["root", color2 !== "inherit" && `color${capitalize$2(color2)}`, `fontSize${capitalize$2(fontSize)}`]
14338
+ root: ["root", color2 !== "inherit" && `color${capitalize$1(color2)}`, `fontSize${capitalize$1(fontSize)}`]
14339
14339
  };
14340
14340
  return composeClasses$1(slots, getIconUtilityClass, classes);
14341
14341
  };
@@ -14346,7 +14346,7 @@ const IconRoot = styled("span", {
14346
14346
  const {
14347
14347
  ownerState
14348
14348
  } = props;
14349
- return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$2(ownerState.color)}`], styles2[`fontSize${capitalize$2(ownerState.fontSize)}`]];
14349
+ return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$1(ownerState.color)}`], styles2[`fontSize${capitalize$1(ownerState.fontSize)}`]];
14350
14350
  }
14351
14351
  })(memoTheme(({
14352
14352
  theme: theme2
@@ -14562,7 +14562,7 @@ const useUtilityClasses$1X = (ownerState) => {
14562
14562
  loading
14563
14563
  } = ownerState;
14564
14564
  const slots = {
14565
- root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize$2(color2)}`, edge && `edge${capitalize$2(edge)}`, `size${capitalize$2(size)}`],
14565
+ root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize$1(color2)}`, edge && `edge${capitalize$1(edge)}`, `size${capitalize$1(size)}`],
14566
14566
  loadingIndicator: ["loadingIndicator"],
14567
14567
  loadingWrapper: ["loadingWrapper"]
14568
14568
  };
@@ -14575,7 +14575,7 @@ const IconButtonRoot = styled(ButtonBase, {
14575
14575
  const {
14576
14576
  ownerState
14577
14577
  } = props;
14578
- return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize$2(ownerState.edge)}`], styles2[`size${capitalize$2(ownerState.size)}`]];
14578
+ return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize$1(ownerState.edge)}`], styles2[`size${capitalize$1(ownerState.size)}`]];
14579
14579
  }
14580
14580
  })(memoTheme(({
14581
14581
  theme: theme2
@@ -14936,10 +14936,10 @@ const useUtilityClasses$1W = (ownerState) => {
14936
14936
  color: color2
14937
14937
  } = ownerState;
14938
14938
  const slots = {
14939
- root: ["root", `color${capitalize$2(color2)}`, variant],
14940
- dashed: ["dashed", `dashedColor${capitalize$2(color2)}`],
14941
- bar1: ["bar", "bar1", `barColor${capitalize$2(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
14942
- bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize$2(color2)}`, variant === "buffer" && `color${capitalize$2(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
14939
+ root: ["root", `color${capitalize$1(color2)}`, variant],
14940
+ dashed: ["dashed", `dashedColor${capitalize$1(color2)}`],
14941
+ bar1: ["bar", "bar1", `barColor${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
14942
+ bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize$1(color2)}`, variant === "buffer" && `color${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
14943
14943
  };
14944
14944
  return composeClasses$1(slots, getLinearProgressUtilityClass, classes);
14945
14945
  };
@@ -14956,7 +14956,7 @@ const LinearProgressRoot = styled("span", {
14956
14956
  const {
14957
14957
  ownerState
14958
14958
  } = props;
14959
- return [styles2.root, styles2[`color${capitalize$2(ownerState.color)}`], styles2[ownerState.variant]];
14959
+ return [styles2.root, styles2[`color${capitalize$1(ownerState.color)}`], styles2[ownerState.variant]];
14960
14960
  }
14961
14961
  })(memoTheme(({
14962
14962
  theme: theme2
@@ -15016,7 +15016,7 @@ const LinearProgressDashed = styled("span", {
15016
15016
  const {
15017
15017
  ownerState
15018
15018
  } = props;
15019
- return [styles2.dashed, styles2[`dashedColor${capitalize$2(ownerState.color)}`]];
15019
+ return [styles2.dashed, styles2[`dashedColor${capitalize$1(ownerState.color)}`]];
15020
15020
  }
15021
15021
  })(memoTheme(({
15022
15022
  theme: theme2
@@ -15057,7 +15057,7 @@ const LinearProgressBar1 = styled("span", {
15057
15057
  const {
15058
15058
  ownerState
15059
15059
  } = props;
15060
- return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize$2(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
15060
+ return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
15061
15061
  }
15062
15062
  })(memoTheme(({
15063
15063
  theme: theme2
@@ -15121,7 +15121,7 @@ const LinearProgressBar2 = styled("span", {
15121
15121
  const {
15122
15122
  ownerState
15123
15123
  } = props;
15124
- return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize$2(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
15124
+ return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
15125
15125
  }
15126
15126
  })(memoTheme(({
15127
15127
  theme: theme2
@@ -15205,7 +15205,7 @@ const LinearProgress$1 = /* @__PURE__ */ React__namespace.forwardRef(function Li
15205
15205
  variant
15206
15206
  };
15207
15207
  const classes = useUtilityClasses$1W(ownerState);
15208
- const isRtl = useRtl$1();
15208
+ const isRtl = useRtl();
15209
15209
  const rootProps = {};
15210
15210
  const inlineStyles = {
15211
15211
  bar1: {},
@@ -15363,8 +15363,8 @@ const getTextDecoration = ({
15363
15363
  ownerState
15364
15364
  }) => {
15365
15365
  const transformedColor = ownerState.color;
15366
- const color2 = getPath$1(theme2, `palette.${transformedColor}.main`, false) || getPath$1(theme2, `palette.${transformedColor}`, false) || ownerState.color;
15367
- const channelColor = getPath$1(theme2, `palette.${transformedColor}.mainChannel`) || getPath$1(theme2, `palette.${transformedColor}Channel`);
15366
+ const color2 = getPath(theme2, `palette.${transformedColor}.main`, false) || getPath(theme2, `palette.${transformedColor}`, false) || ownerState.color;
15367
+ const channelColor = getPath(theme2, `palette.${transformedColor}.mainChannel`) || getPath(theme2, `palette.${transformedColor}Channel`);
15368
15368
  if ("vars" in theme2 && channelColor) {
15369
15369
  return `rgba(${channelColor} / 0.4)`;
15370
15370
  }
@@ -15389,7 +15389,7 @@ const useUtilityClasses$1V = (ownerState) => {
15389
15389
  underline
15390
15390
  } = ownerState;
15391
15391
  const slots = {
15392
- root: ["root", `underline${capitalize$2(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
15392
+ root: ["root", `underline${capitalize$1(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
15393
15393
  };
15394
15394
  return composeClasses$1(slots, getLinkUtilityClass, classes);
15395
15395
  };
@@ -15400,7 +15400,7 @@ const LinkRoot = styled(Typography$1, {
15400
15400
  const {
15401
15401
  ownerState
15402
15402
  } = props;
15403
- return [styles2.root, styles2[`underline${capitalize$2(ownerState.underline)}`], ownerState.component === "button" && styles2.button];
15403
+ return [styles2.root, styles2[`underline${capitalize$1(ownerState.underline)}`], ownerState.component === "button" && styles2.button];
15404
15404
  }
15405
15405
  })(memoTheme(({
15406
15406
  theme: theme2
@@ -16617,7 +16617,7 @@ const useUtilityClasses$1Q = (ownerState) => {
16617
16617
  size
16618
16618
  } = ownerState;
16619
16619
  const slots = {
16620
- root: ["root", `color${capitalize$2(color2)}`, size !== "medium" && `size${capitalize$2(size)}`]
16620
+ root: ["root", `color${capitalize$1(color2)}`, size !== "medium" && `size${capitalize$1(size)}`]
16621
16621
  };
16622
16622
  return {
16623
16623
  ...classes,
@@ -16632,7 +16632,7 @@ const RadioRoot = styled(SwitchBase, {
16632
16632
  const {
16633
16633
  ownerState
16634
16634
  } = props;
16635
- return [styles2.root, ownerState.size !== "medium" && styles2[`size${capitalize$2(ownerState.size)}`], styles2[`color${capitalize$2(ownerState.color)}`]];
16635
+ return [styles2.root, ownerState.size !== "medium" && styles2[`size${capitalize$1(ownerState.size)}`], styles2[`color${capitalize$1(ownerState.color)}`]];
16636
16636
  }
16637
16637
  })(memoTheme(({
16638
16638
  theme: theme2
@@ -19705,7 +19705,7 @@ const Menu$1 = /* @__PURE__ */ React__namespace.forwardRef(function Menu(inProps
19705
19705
  slotProps = {},
19706
19706
  ...other
19707
19707
  } = props;
19708
- const isRtl = useRtl$1();
19708
+ const isRtl = useRtl();
19709
19709
  const ownerState = {
19710
19710
  ...props,
19711
19711
  autoFocus,
@@ -19963,7 +19963,7 @@ const useUtilityClasses$1J = (ownerState) => {
19963
19963
  } = ownerState;
19964
19964
  const slots = {
19965
19965
  select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
19966
- icon: ["icon", `icon${capitalize$2(variant)}`, open && "iconOpen", disabled && "disabled"]
19966
+ icon: ["icon", `icon${capitalize$1(variant)}`, open && "iconOpen", disabled && "disabled"]
19967
19967
  };
19968
19968
  return composeClasses$1(slots, getNativeSelectUtilityClasses, classes);
19969
19969
  };
@@ -20092,7 +20092,7 @@ const NativeSelectIcon = styled(StyledSelectIcon, {
20092
20092
  const {
20093
20093
  ownerState
20094
20094
  } = props;
20095
- return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$2(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20095
+ return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$1(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20096
20096
  }
20097
20097
  })({});
20098
20098
  const NativeSelectInput = /* @__PURE__ */ React__namespace.forwardRef(function NativeSelectInput2(props, ref) {
@@ -20228,7 +20228,7 @@ const SelectIcon = styled(StyledSelectIcon, {
20228
20228
  const {
20229
20229
  ownerState
20230
20230
  } = props;
20231
- return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$2(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20231
+ return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$1(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20232
20232
  }
20233
20233
  })({});
20234
20234
  const SelectNativeInput = styled("input", {
@@ -20265,7 +20265,7 @@ const useUtilityClasses$1I = (ownerState) => {
20265
20265
  } = ownerState;
20266
20266
  const slots = {
20267
20267
  select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
20268
- icon: ["icon", `icon${capitalize$2(variant)}`, open && "iconOpen", disabled && "disabled"],
20268
+ icon: ["icon", `icon${capitalize$1(variant)}`, open && "iconOpen", disabled && "disabled"],
20269
20269
  nativeInput: ["nativeInput"]
20270
20270
  };
20271
20271
  return composeClasses$1(slots, getSelectUtilityClasses, classes);
@@ -20496,7 +20496,7 @@ const SelectInput = /* @__PURE__ */ React__namespace.forwardRef(function SelectI
20496
20496
  let selected;
20497
20497
  if (multiple) {
20498
20498
  if (!Array.isArray(value)) {
20499
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : formatMuiErrorMessage$2(2));
20499
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : formatMuiErrorMessage$1(2));
20500
20500
  }
20501
20501
  selected = value.some((v) => areEqualValues(v, child.props.value));
20502
20502
  if (selected && computeDisplay) {
@@ -20815,7 +20815,7 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
20815
20815
  const ArrowDropDownIcon$1 = createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
20816
20816
  d: "M7 10l5 5 5-5z"
20817
20817
  }), "ArrowDropDown");
20818
- function getStyleValue$1(value) {
20818
+ function getStyleValue(value) {
20819
20819
  return parseInt(value, 10) || 0;
20820
20820
  }
20821
20821
  const styles$2 = {
@@ -20878,8 +20878,8 @@ const TextareaAutosize = /* @__PURE__ */ React__namespace.forwardRef(function Te
20878
20878
  hiddenTextarea.value += " ";
20879
20879
  }
20880
20880
  const boxSizing2 = computedStyle.boxSizing;
20881
- const padding2 = getStyleValue$1(computedStyle.paddingBottom) + getStyleValue$1(computedStyle.paddingTop);
20882
- const border2 = getStyleValue$1(computedStyle.borderBottomWidth) + getStyleValue$1(computedStyle.borderTopWidth);
20881
+ const padding2 = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);
20882
+ const border2 = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);
20883
20883
  const innerHeight = hiddenTextarea.scrollHeight;
20884
20884
  hiddenTextarea.value = "x";
20885
20885
  const singleRowHeight = hiddenTextarea.scrollHeight;
@@ -21030,7 +21030,7 @@ const rootOverridesResolver = (props, styles2) => {
21030
21030
  const {
21031
21031
  ownerState
21032
21032
  } = props;
21033
- return [styles2.root, ownerState.formControl && styles2.formControl, ownerState.startAdornment && styles2.adornedStart, ownerState.endAdornment && styles2.adornedEnd, ownerState.error && styles2.error, ownerState.size === "small" && styles2.sizeSmall, ownerState.multiline && styles2.multiline, ownerState.color && styles2[`color${capitalize$2(ownerState.color)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.hiddenLabel && styles2.hiddenLabel];
21033
+ return [styles2.root, ownerState.formControl && styles2.formControl, ownerState.startAdornment && styles2.adornedStart, ownerState.endAdornment && styles2.adornedEnd, ownerState.error && styles2.error, ownerState.size === "small" && styles2.sizeSmall, ownerState.multiline && styles2.multiline, ownerState.color && styles2[`color${capitalize$1(ownerState.color)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.hiddenLabel && styles2.hiddenLabel];
21034
21034
  };
21035
21035
  const inputOverridesResolver = (props, styles2) => {
21036
21036
  const {
@@ -21056,7 +21056,7 @@ const useUtilityClasses$1H = (ownerState) => {
21056
21056
  type
21057
21057
  } = ownerState;
21058
21058
  const slots = {
21059
- root: ["root", `color${capitalize$2(color2)}`, disabled && "disabled", error && "error", fullWidth && "fullWidth", focused && "focused", formControl && "formControl", size && size !== "medium" && `size${capitalize$2(size)}`, multiline && "multiline", startAdornment && "adornedStart", endAdornment && "adornedEnd", hiddenLabel && "hiddenLabel", readOnly && "readOnly"],
21059
+ root: ["root", `color${capitalize$1(color2)}`, disabled && "disabled", error && "error", fullWidth && "fullWidth", focused && "focused", formControl && "formControl", size && size !== "medium" && `size${capitalize$1(size)}`, multiline && "multiline", startAdornment && "adornedStart", endAdornment && "adornedEnd", hiddenLabel && "hiddenLabel", readOnly && "readOnly"],
21060
21060
  input: ["input", disabled && "disabled", type === "search" && "inputTypeSearch", multiline && "inputMultiline", size === "small" && "inputSizeSmall", hiddenLabel && "inputHiddenLabel", startAdornment && "inputAdornedStart", endAdornment && "inputAdornedEnd", readOnly && "readOnly"]
21061
21061
  };
21062
21062
  return composeClasses$1(slots, getInputBaseUtilityClass, classes);
@@ -21368,7 +21368,7 @@ const InputBase = /* @__PURE__ */ React__namespace.forwardRef(function InputBase
21368
21368
  if (!isControlled) {
21369
21369
  const element = event.target || inputRef.current;
21370
21370
  if (element == null) {
21371
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage$2(1));
21371
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage$1(1));
21372
21372
  }
21373
21373
  checkDirty({
21374
21374
  value: element.value
@@ -21883,7 +21883,7 @@ const Input = /* @__PURE__ */ React__namespace.forwardRef(function Input2(inProp
21883
21883
  ownerState
21884
21884
  }
21885
21885
  };
21886
- const componentsProps = slotProps ?? componentsPropsProp ? deepmerge$1(slotProps ?? componentsPropsProp, inputComponentsProps) : inputComponentsProps;
21886
+ const componentsProps = slotProps ?? componentsPropsProp ? deepmerge(slotProps ?? componentsPropsProp, inputComponentsProps) : inputComponentsProps;
21887
21887
  const RootSlot = slots.root ?? components.Root ?? InputRoot;
21888
21888
  const InputSlot = slots.input ?? components.Input ?? InputInput;
21889
21889
  return /* @__PURE__ */ jsxRuntime.jsx(InputBase, {
@@ -22105,7 +22105,7 @@ const useUtilityClasses$1F = (ownerState) => {
22105
22105
  multiline
22106
22106
  } = ownerState;
22107
22107
  const slots = {
22108
- root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize$2(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
22108
+ root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize$1(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
22109
22109
  input: ["input"]
22110
22110
  };
22111
22111
  const composedClasses = composeClasses$1(slots, getFilledInputUtilityClass, classes);
@@ -22382,7 +22382,7 @@ const FilledInput = /* @__PURE__ */ React__namespace.forwardRef(function FilledI
22382
22382
  ownerState
22383
22383
  }
22384
22384
  };
22385
- const componentsProps = slotProps ?? componentsPropsProp ? deepmerge$1(filledInputComponentsProps, slotProps ?? componentsPropsProp) : filledInputComponentsProps;
22385
+ const componentsProps = slotProps ?? componentsPropsProp ? deepmerge(filledInputComponentsProps, slotProps ?? componentsPropsProp) : filledInputComponentsProps;
22386
22386
  const RootSlot = slots.root ?? components.Root ?? FilledInputRoot;
22387
22387
  const InputSlot = slots.input ?? components.Input ?? FilledInputInput;
22388
22388
  return /* @__PURE__ */ jsxRuntime.jsx(InputBase, {
@@ -23270,7 +23270,7 @@ const Select$1 = /* @__PURE__ */ React__namespace.forwardRef(function Select(inP
23270
23270
  }
23271
23271
  },
23272
23272
  ...inputProps,
23273
- classes: inputProps ? deepmerge$1(restOfClasses, inputProps.classes) : restOfClasses,
23273
+ classes: inputProps ? deepmerge(restOfClasses, inputProps.classes) : restOfClasses,
23274
23274
  ...input ? input.props.inputProps : {}
23275
23275
  },
23276
23276
  ...(multiple && native || displayEmpty) && variant === "outlined" ? {
@@ -24475,7 +24475,7 @@ const SliderRoot = styled("span", {
24475
24475
  const {
24476
24476
  ownerState
24477
24477
  } = props;
24478
- return [styles2.root, styles2[`color${capitalize$2(ownerState.color)}`], ownerState.size !== "medium" && styles2[`size${capitalize$2(ownerState.size)}`], ownerState.marked && styles2.marked, ownerState.orientation === "vertical" && styles2.vertical, ownerState.track === "inverted" && styles2.trackInverted, ownerState.track === false && styles2.trackFalse];
24478
+ return [styles2.root, styles2[`color${capitalize$1(ownerState.color)}`], ownerState.size !== "medium" && styles2[`size${capitalize$1(ownerState.size)}`], ownerState.marked && styles2.marked, ownerState.orientation === "vertical" && styles2.vertical, ownerState.track === "inverted" && styles2.trackInverted, ownerState.track === false && styles2.trackFalse];
24479
24479
  }
24480
24480
  })(memoTheme(({
24481
24481
  theme: theme2
@@ -24686,7 +24686,7 @@ const SliderThumb = styled("span", {
24686
24686
  const {
24687
24687
  ownerState
24688
24688
  } = props;
24689
- return [styles2.thumb, styles2[`thumbColor${capitalize$2(ownerState.color)}`], ownerState.size !== "medium" && styles2[`thumbSize${capitalize$2(ownerState.size)}`]];
24689
+ return [styles2.thumb, styles2[`thumbColor${capitalize$1(ownerState.color)}`], ownerState.size !== "medium" && styles2[`thumbSize${capitalize$1(ownerState.size)}`]];
24690
24690
  }
24691
24691
  })(memoTheme(({
24692
24692
  theme: theme2
@@ -24986,7 +24986,7 @@ const useUtilityClasses$1B = (ownerState) => {
24986
24986
  size
24987
24987
  } = ownerState;
24988
24988
  const slots = {
24989
- root: ["root", disabled && "disabled", dragging && "dragging", marked && "marked", orientation === "vertical" && "vertical", track === "inverted" && "trackInverted", track === false && "trackFalse", color2 && `color${capitalize$2(color2)}`, size && `size${capitalize$2(size)}`],
24989
+ root: ["root", disabled && "disabled", dragging && "dragging", marked && "marked", orientation === "vertical" && "vertical", track === "inverted" && "trackInverted", track === false && "trackFalse", color2 && `color${capitalize$1(color2)}`, size && `size${capitalize$1(size)}`],
24990
24990
  rail: ["rail"],
24991
24991
  track: ["track"],
24992
24992
  mark: ["mark"],
@@ -24994,7 +24994,7 @@ const useUtilityClasses$1B = (ownerState) => {
24994
24994
  markLabel: ["markLabel"],
24995
24995
  markLabelActive: ["markLabelActive"],
24996
24996
  valueLabel: ["valueLabel"],
24997
- thumb: ["thumb", disabled && "disabled", size && `thumbSize${capitalize$2(size)}`, color2 && `thumbColor${capitalize$2(color2)}`],
24997
+ thumb: ["thumb", disabled && "disabled", size && `thumbSize${capitalize$1(size)}`, color2 && `thumbColor${capitalize$1(color2)}`],
24998
24998
  active: ["active"],
24999
24999
  disabled: ["disabled"],
25000
25000
  focusVisible: ["focusVisible"]
@@ -25009,7 +25009,7 @@ const Slider$1 = /* @__PURE__ */ React__namespace.forwardRef(function Slider(inp
25009
25009
  props: inputProps,
25010
25010
  name: "MuiSlider"
25011
25011
  });
25012
- const isRtl = useRtl$1();
25012
+ const isRtl = useRtl();
25013
25013
  const {
25014
25014
  "aria-label": ariaLabel,
25015
25015
  "aria-valuetext": ariaValuetext,
@@ -25609,8 +25609,8 @@ const useUtilityClasses$1A = (ownerState) => {
25609
25609
  disabled
25610
25610
  } = ownerState;
25611
25611
  const slots = {
25612
- root: ["root", edge && `edge${capitalize$2(edge)}`, `size${capitalize$2(size)}`],
25613
- switchBase: ["switchBase", `color${capitalize$2(color2)}`, checked && "checked", disabled && "disabled"],
25612
+ root: ["root", edge && `edge${capitalize$1(edge)}`, `size${capitalize$1(size)}`],
25613
+ switchBase: ["switchBase", `color${capitalize$1(color2)}`, checked && "checked", disabled && "disabled"],
25614
25614
  thumb: ["thumb"],
25615
25615
  track: ["track"],
25616
25616
  input: ["input"]
@@ -25629,7 +25629,7 @@ const SwitchRoot = styled("span", {
25629
25629
  const {
25630
25630
  ownerState
25631
25631
  } = props;
25632
- return [styles2.root, ownerState.edge && styles2[`edge${capitalize$2(ownerState.edge)}`], styles2[`size${capitalize$2(ownerState.size)}`]];
25632
+ return [styles2.root, ownerState.edge && styles2[`edge${capitalize$1(ownerState.edge)}`], styles2[`size${capitalize$1(ownerState.size)}`]];
25633
25633
  }
25634
25634
  })({
25635
25635
  display: "inline-flex",
@@ -25691,7 +25691,7 @@ const SwitchSwitchBase = styled(SwitchBase, {
25691
25691
  } = props;
25692
25692
  return [styles2.switchBase, {
25693
25693
  [`& .${switchClasses.input}`]: styles2.input
25694
- }, ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`]];
25694
+ }, ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`]];
25695
25695
  }
25696
25696
  })(memoTheme(({
25697
25697
  theme: theme2
@@ -26041,7 +26041,7 @@ const useUtilityClasses$1z = (ownerState) => {
26041
26041
  required
26042
26042
  } = ownerState;
26043
26043
  const slots = {
26044
- root: ["root", `color${capitalize$2(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
26044
+ root: ["root", `color${capitalize$1(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
26045
26045
  asterisk: ["asterisk", error && "error"]
26046
26046
  };
26047
26047
  return composeClasses$1(slots, getFormLabelUtilityClasses, classes);
@@ -26211,7 +26211,7 @@ const useUtilityClasses$1y = (ownerState) => {
26211
26211
  required
26212
26212
  } = ownerState;
26213
26213
  const slots = {
26214
- root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "normal" && `size${capitalize$2(size)}`, variant],
26214
+ root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "normal" && `size${capitalize$1(size)}`, variant],
26215
26215
  asterisk: [required && "asterisk"]
26216
26216
  };
26217
26217
  const composedClasses = composeClasses$1(slots, getInputLabelUtilityClasses, classes);
@@ -26483,7 +26483,7 @@ const useUtilityClasses$1x = (ownerState) => {
26483
26483
  required
26484
26484
  } = ownerState;
26485
26485
  const slots = {
26486
- root: ["root", disabled && "disabled", error && "error", size && `size${capitalize$2(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
26486
+ root: ["root", disabled && "disabled", error && "error", size && `size${capitalize$1(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
26487
26487
  };
26488
26488
  return composeClasses$1(slots, getFormHelperTextUtilityClasses, classes);
26489
26489
  };
@@ -26494,7 +26494,7 @@ const FormHelperTextRoot = styled("p", {
26494
26494
  const {
26495
26495
  ownerState
26496
26496
  } = props;
26497
- return [styles2.root, ownerState.size && styles2[`size${capitalize$2(ownerState.size)}`], ownerState.contained && styles2.contained, ownerState.filled && styles2.filled];
26497
+ return [styles2.root, ownerState.size && styles2[`size${capitalize$1(ownerState.size)}`], ownerState.contained && styles2.contained, ownerState.filled && styles2.filled];
26498
26498
  }
26499
26499
  })(memoTheme(({
26500
26500
  theme: theme2
@@ -27306,7 +27306,7 @@ function isShadowRoot(node) {
27306
27306
  var OwnElement = getWindow(node).ShadowRoot;
27307
27307
  return node instanceof OwnElement || node instanceof ShadowRoot;
27308
27308
  }
27309
- function applyStyles$2(_ref) {
27309
+ function applyStyles$1(_ref) {
27310
27310
  var state = _ref.state;
27311
27311
  Object.keys(state.elements).forEach(function(name) {
27312
27312
  var style2 = state.styles[name] || {};
@@ -27364,11 +27364,11 @@ function effect$2(_ref2) {
27364
27364
  });
27365
27365
  };
27366
27366
  }
27367
- const applyStyles$1 = {
27367
+ const applyStyles = {
27368
27368
  name: "applyStyles",
27369
27369
  enabled: true,
27370
27370
  phase: "write",
27371
- fn: applyStyles$2,
27371
+ fn: applyStyles$1,
27372
27372
  effect: effect$2,
27373
27373
  requires: ["computeStyles"]
27374
27374
  };
@@ -28592,7 +28592,7 @@ function popperGenerator(generatorOptions) {
28592
28592
  return instance;
28593
28593
  };
28594
28594
  }
28595
- var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles$1, offset, flip, preventOverflow, arrow, hide];
28595
+ var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];
28596
28596
  var createPopper = /* @__PURE__ */ popperGenerator({
28597
28597
  defaultModifiers
28598
28598
  });
@@ -28952,7 +28952,7 @@ const PopperRoot = styled(Popper$1, {
28952
28952
  overridesResolver: (props, styles2) => styles2.root
28953
28953
  })({});
28954
28954
  const Popper2 = /* @__PURE__ */ React__namespace.forwardRef(function Popper3(inProps, ref) {
28955
- const isRtl = useRtl$1();
28955
+ const isRtl = useRtl();
28956
28956
  const props = useDefaultProps({
28957
28957
  props: inProps,
28958
28958
  name: "MuiPopper"
@@ -29148,7 +29148,7 @@ const useUtilityClasses$1t = (ownerState) => {
29148
29148
  } = ownerState;
29149
29149
  const slots = {
29150
29150
  popper: ["popper", !disableInteractive && "popperInteractive", arrow2 && "popperArrow"],
29151
- tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize$2(placement.split("-")[0])}`],
29151
+ tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize$1(placement.split("-")[0])}`],
29152
29152
  arrow: ["arrow"]
29153
29153
  };
29154
29154
  return composeClasses$1(slots, getTooltipUtilityClass, classes);
@@ -29264,7 +29264,7 @@ const TooltipTooltip = styled("div", {
29264
29264
  const {
29265
29265
  ownerState
29266
29266
  } = props;
29267
- return [styles2.tooltip, ownerState.touch && styles2.touch, ownerState.arrow && styles2.tooltipArrow, styles2[`tooltipPlacement${capitalize$2(ownerState.placement.split("-")[0])}`]];
29267
+ return [styles2.tooltip, ownerState.touch && styles2.touch, ownerState.arrow && styles2.tooltipArrow, styles2[`tooltipPlacement${capitalize$1(ownerState.placement.split("-")[0])}`]];
29268
29268
  }
29269
29269
  })(memoTheme(({
29270
29270
  theme: theme2
@@ -29456,7 +29456,7 @@ const Tooltip$1 = /* @__PURE__ */ React__namespace.forwardRef(function Tooltip(i
29456
29456
  children: childrenProp
29457
29457
  });
29458
29458
  const theme2 = useTheme();
29459
- const isRtl = useRtl$1();
29459
+ const isRtl = useRtl();
29460
29460
  const [childNode, setChildNode] = React__namespace.useState();
29461
29461
  const [arrowRef, setArrowRef] = React__namespace.useState(null);
29462
29462
  const ignoreNonTouchEvents = React__namespace.useRef(false);
@@ -31198,7 +31198,7 @@ const useUtilityClasses$1n = (ownerState) => {
31198
31198
  classes
31199
31199
  } = ownerState;
31200
31200
  const slots = {
31201
- root: ["root", `color${capitalize$2(color2 || severity)}`, `${variant}${capitalize$2(color2 || severity)}`, `${variant}`],
31201
+ root: ["root", `color${capitalize$1(color2 || severity)}`, `${variant}${capitalize$1(color2 || severity)}`, `${variant}`],
31202
31202
  icon: ["icon"],
31203
31203
  message: ["message"],
31204
31204
  action: ["action"]
@@ -31212,7 +31212,7 @@ const AlertRoot = styled(Paper$1, {
31212
31212
  const {
31213
31213
  ownerState
31214
31214
  } = props;
31215
- return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$2(ownerState.color || ownerState.severity)}`]];
31215
+ return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$1(ownerState.color || ownerState.severity)}`]];
31216
31216
  }
31217
31217
  })(memoTheme(({
31218
31218
  theme: theme2
@@ -31691,7 +31691,7 @@ const useUtilityClasses$1m = (ownerState) => {
31691
31691
  classes
31692
31692
  } = ownerState;
31693
31693
  const slots = {
31694
- root: ["root", `color${capitalize$2(color2)}`, `position${capitalize$2(position)}`]
31694
+ root: ["root", `color${capitalize$1(color2)}`, `position${capitalize$1(position)}`]
31695
31695
  };
31696
31696
  return composeClasses$1(slots, getAppBarUtilityClass, classes);
31697
31697
  };
@@ -31703,7 +31703,7 @@ const AppBarRoot = styled(Paper$1, {
31703
31703
  const {
31704
31704
  ownerState
31705
31705
  } = props;
31706
- return [styles2.root, styles2[`position${capitalize$2(ownerState.position)}`], styles2[`color${capitalize$2(ownerState.color)}`]];
31706
+ return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], styles2[`color${capitalize$1(ownerState.color)}`]];
31707
31707
  }
31708
31708
  })(memoTheme(({
31709
31709
  theme: theme2
@@ -32828,7 +32828,7 @@ const useUtilityClasses$1l = (ownerState) => {
32828
32828
  disableSticky
32829
32829
  } = ownerState;
32830
32830
  const slots = {
32831
- root: ["root", color2 !== "default" && `color${capitalize$2(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
32831
+ root: ["root", color2 !== "default" && `color${capitalize$1(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
32832
32832
  };
32833
32833
  return composeClasses$1(slots, getListSubheaderUtilityClass, classes);
32834
32834
  };
@@ -32839,7 +32839,7 @@ const ListSubheaderRoot = styled("li", {
32839
32839
  const {
32840
32840
  ownerState
32841
32841
  } = props;
32842
- return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
32842
+ return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
32843
32843
  }
32844
32844
  })(memoTheme(({
32845
32845
  theme: theme2
@@ -32995,7 +32995,7 @@ const useUtilityClasses$1k = (ownerState) => {
32995
32995
  root: ["root", expanded && "expanded", focused && "focused", fullWidth && "fullWidth", hasClearIcon && "hasClearIcon", hasPopupIcon && "hasPopupIcon"],
32996
32996
  inputRoot: ["inputRoot"],
32997
32997
  input: ["input", inputFocused && "inputFocused"],
32998
- tag: ["tag", `tagSize${capitalize$2(size)}`],
32998
+ tag: ["tag", `tagSize${capitalize$1(size)}`],
32999
32999
  endAdornment: ["endAdornment"],
33000
33000
  clearIndicator: ["clearIndicator"],
33001
33001
  popupIndicator: ["popupIndicator", popupOpen && "popupIndicatorOpen"],
@@ -33027,7 +33027,7 @@ const AutocompleteRoot = styled("div", {
33027
33027
  return [{
33028
33028
  [`& .${autocompleteClasses.tag}`]: styles2.tag
33029
33029
  }, {
33030
- [`& .${autocompleteClasses.tag}`]: styles2[`tagSize${capitalize$2(size)}`]
33030
+ [`& .${autocompleteClasses.tag}`]: styles2[`tagSize${capitalize$1(size)}`]
33031
33031
  }, {
33032
33032
  [`& .${autocompleteClasses.inputRoot}`]: styles2.inputRoot
33033
33033
  }, {
@@ -34547,13 +34547,13 @@ const overridesResolver$6 = (props, styles2) => {
34547
34547
  return [{
34548
34548
  [`& .${buttonGroupClasses.grouped}`]: styles2.grouped
34549
34549
  }, {
34550
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.orientation)}`]
34550
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.orientation)}`]
34551
34551
  }, {
34552
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.variant)}`]
34552
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.variant)}`]
34553
34553
  }, {
34554
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.variant)}${capitalize$2(ownerState.orientation)}`]
34554
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.variant)}${capitalize$1(ownerState.orientation)}`]
34555
34555
  }, {
34556
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.variant)}${capitalize$2(ownerState.color)}`]
34556
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.variant)}${capitalize$1(ownerState.color)}`]
34557
34557
  }, {
34558
34558
  [`& .${buttonGroupClasses.firstButton}`]: styles2.firstButton
34559
34559
  }, {
@@ -34573,8 +34573,8 @@ const useUtilityClasses$1h = (ownerState) => {
34573
34573
  variant
34574
34574
  } = ownerState;
34575
34575
  const slots = {
34576
- root: ["root", variant, orientation, fullWidth && "fullWidth", disableElevation && "disableElevation", `color${capitalize$2(color2)}`],
34577
- grouped: ["grouped", `grouped${capitalize$2(orientation)}`, `grouped${capitalize$2(variant)}`, `grouped${capitalize$2(variant)}${capitalize$2(orientation)}`, `grouped${capitalize$2(variant)}${capitalize$2(color2)}`, disabled && "disabled"],
34576
+ root: ["root", variant, orientation, fullWidth && "fullWidth", disableElevation && "disableElevation", `color${capitalize$1(color2)}`],
34577
+ grouped: ["grouped", `grouped${capitalize$1(orientation)}`, `grouped${capitalize$1(variant)}`, `grouped${capitalize$1(variant)}${capitalize$1(orientation)}`, `grouped${capitalize$1(variant)}${capitalize$1(color2)}`, disabled && "disabled"],
34578
34578
  firstButton: ["firstButton"],
34579
34579
  lastButton: ["lastButton"],
34580
34580
  middleButton: ["middleButton"]
@@ -36625,1421 +36625,219 @@ function composeClasses(slots, getUtilityClass, classes = void 0) {
36625
36625
  }
36626
36626
  return output;
36627
36627
  }
36628
- function isPlainObject(item) {
36629
- if (typeof item !== "object" || item === null) {
36630
- return false;
36631
- }
36632
- const prototype = Object.getPrototypeOf(item);
36633
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
36628
+ const defaultGenerator = (componentName) => componentName;
36629
+ const createClassNameGenerator = () => {
36630
+ let generate = defaultGenerator;
36631
+ return {
36632
+ configure(generator) {
36633
+ generate = generator;
36634
+ },
36635
+ generate(componentName) {
36636
+ return generate(componentName);
36637
+ },
36638
+ reset() {
36639
+ generate = defaultGenerator;
36640
+ }
36641
+ };
36642
+ };
36643
+ const ClassNameGenerator = createClassNameGenerator();
36644
+ const globalStateClasses = {
36645
+ active: "active",
36646
+ checked: "checked",
36647
+ completed: "completed",
36648
+ disabled: "disabled",
36649
+ error: "error",
36650
+ expanded: "expanded",
36651
+ focused: "focused",
36652
+ focusVisible: "focusVisible",
36653
+ open: "open",
36654
+ readOnly: "readOnly",
36655
+ required: "required",
36656
+ selected: "selected"
36657
+ };
36658
+ function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
36659
+ const globalStateClass = globalStateClasses[slot];
36660
+ return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
36634
36661
  }
36635
- function deepClone(source) {
36636
- if (/* @__PURE__ */ React__namespace.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
36637
- return source;
36638
- }
36639
- const output = {};
36640
- Object.keys(source).forEach((key) => {
36641
- output[key] = deepClone(source[key]);
36662
+ function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
36663
+ const result = {};
36664
+ slots.forEach((slot) => {
36665
+ result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
36642
36666
  });
36643
- return output;
36667
+ return result;
36644
36668
  }
36645
- function deepmerge(target, source, options = {
36646
- clone: true
36647
- }) {
36648
- const output = options.clone ? {
36649
- ...target
36650
- } : target;
36651
- if (isPlainObject(target) && isPlainObject(source)) {
36652
- Object.keys(source).forEach((key) => {
36653
- if (/* @__PURE__ */ React__namespace.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
36654
- output[key] = source[key];
36655
- } else if (isPlainObject(source[key]) && // Avoid prototype pollution
36656
- Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
36657
- output[key] = deepmerge(target[key], source[key], options);
36658
- } else if (options.clone) {
36659
- output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
36660
- } else {
36661
- output[key] = source[key];
36669
+ function getPickersToolbarUtilityClass(slot) {
36670
+ return generateUtilityClass("MuiPickersToolbar", slot);
36671
+ }
36672
+ const pickersToolbarClasses = generateUtilityClasses("MuiPickersToolbar", ["root", "title", "content"]);
36673
+ const _excluded$K = ["localeText"];
36674
+ const PickerAdapterContext = /* @__PURE__ */ React__namespace.createContext(null);
36675
+ if (process.env.NODE_ENV !== "production") PickerAdapterContext.displayName = "PickerAdapterContext";
36676
+ const LocalizationProvider$1 = function LocalizationProvider(inProps) {
36677
+ const {
36678
+ localeText: inLocaleText
36679
+ } = inProps, otherInProps = _objectWithoutPropertiesLoose(inProps, _excluded$K);
36680
+ const {
36681
+ adapter: parentAdapter,
36682
+ localeText: parentLocaleText
36683
+ } = React__namespace.useContext(PickerAdapterContext) ?? {
36684
+ adapter: void 0,
36685
+ localeText: void 0
36686
+ };
36687
+ const props = useThemeProps({
36688
+ // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
36689
+ // We will then merge this theme value with our value manually
36690
+ props: otherInProps,
36691
+ name: "MuiLocalizationProvider"
36692
+ });
36693
+ const {
36694
+ children,
36695
+ dateAdapter: DateAdapter,
36696
+ dateFormats,
36697
+ dateLibInstance,
36698
+ adapterLocale,
36699
+ localeText: themeLocaleText
36700
+ } = props;
36701
+ const localeText = React__namespace.useMemo(() => _extends({}, themeLocaleText, parentLocaleText, inLocaleText), [themeLocaleText, parentLocaleText, inLocaleText]);
36702
+ const adapter = React__namespace.useMemo(() => {
36703
+ if (!DateAdapter) {
36704
+ if (parentAdapter) {
36705
+ return parentAdapter;
36662
36706
  }
36707
+ return null;
36708
+ }
36709
+ const dateAdapter = new DateAdapter({
36710
+ locale: adapterLocale,
36711
+ formats: dateFormats,
36712
+ instance: dateLibInstance
36663
36713
  });
36664
- }
36665
- return output;
36714
+ if (!dateAdapter.isMUIAdapter) {
36715
+ throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"].join(`
36716
+ `));
36717
+ }
36718
+ return dateAdapter;
36719
+ }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentAdapter]);
36720
+ const defaultDates = React__namespace.useMemo(() => {
36721
+ if (!adapter) {
36722
+ return null;
36723
+ }
36724
+ return {
36725
+ minDate: adapter.date("1900-01-01T00:00:00.000"),
36726
+ maxDate: adapter.date("2099-12-31T00:00:00.000")
36727
+ };
36728
+ }, [adapter]);
36729
+ const contextValue = React__namespace.useMemo(() => {
36730
+ return {
36731
+ utils: adapter,
36732
+ adapter,
36733
+ defaultDates,
36734
+ localeText
36735
+ };
36736
+ }, [defaultDates, adapter, localeText]);
36737
+ return /* @__PURE__ */ jsxRuntime.jsx(PickerAdapterContext.Provider, {
36738
+ value: contextValue,
36739
+ children
36740
+ });
36741
+ };
36742
+ if (process.env.NODE_ENV !== "production") LocalizationProvider$1.displayName = "LocalizationProvider";
36743
+ process.env.NODE_ENV !== "production" ? LocalizationProvider$1.propTypes = {
36744
+ // ----------------------------- Warning --------------------------------
36745
+ // | These PropTypes are generated from the TypeScript type definitions |
36746
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
36747
+ // ----------------------------------------------------------------------
36748
+ /**
36749
+ * Locale for the date library you are using
36750
+ */
36751
+ adapterLocale: PropTypes.any,
36752
+ children: PropTypes.node,
36753
+ /**
36754
+ * Date library adapter class function.
36755
+ * @see See the localization provider {@link https://mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
36756
+ */
36757
+ dateAdapter: PropTypes.func,
36758
+ /**
36759
+ * Formats that are used for any child pickers
36760
+ */
36761
+ dateFormats: PropTypes.shape({
36762
+ dayOfMonth: PropTypes.string,
36763
+ dayOfMonthFull: PropTypes.string,
36764
+ fullDate: PropTypes.string,
36765
+ fullTime12h: PropTypes.string,
36766
+ fullTime24h: PropTypes.string,
36767
+ hours12h: PropTypes.string,
36768
+ hours24h: PropTypes.string,
36769
+ keyboardDate: PropTypes.string,
36770
+ keyboardDateTime12h: PropTypes.string,
36771
+ keyboardDateTime24h: PropTypes.string,
36772
+ meridiem: PropTypes.string,
36773
+ minutes: PropTypes.string,
36774
+ month: PropTypes.string,
36775
+ monthShort: PropTypes.string,
36776
+ normalDate: PropTypes.string,
36777
+ normalDateWithWeekday: PropTypes.string,
36778
+ seconds: PropTypes.string,
36779
+ shortDate: PropTypes.string,
36780
+ weekday: PropTypes.string,
36781
+ weekdayShort: PropTypes.string,
36782
+ year: PropTypes.string
36783
+ }),
36784
+ /**
36785
+ * Date library instance you are using, if it has some global overrides
36786
+ * ```jsx
36787
+ * dateLibInstance={momentTimeZone}
36788
+ * ```
36789
+ */
36790
+ dateLibInstance: PropTypes.any,
36791
+ /**
36792
+ * Locale for components texts
36793
+ */
36794
+ localeText: PropTypes.object
36795
+ } : void 0;
36796
+ const IsValidValueContext = /* @__PURE__ */ React__namespace.createContext(() => true);
36797
+ if (process.env.NODE_ENV !== "production") IsValidValueContext.displayName = "IsValidValueContext";
36798
+ function useIsValidValue() {
36799
+ return React__namespace.useContext(IsValidValueContext);
36666
36800
  }
36667
- function formatMuiErrorMessage$1(code, ...args) {
36668
- const url = new URL(`https://mui.com/production-error/?code=${code}`);
36669
- args.forEach((arg2) => url.searchParams.append("args[]", arg2));
36670
- return `Minified MUI error #${code}; visit ${url} for the full message.`;
36801
+ const PickerFieldPrivateContext = /* @__PURE__ */ React__namespace.createContext(null);
36802
+ if (process.env.NODE_ENV !== "production") PickerFieldPrivateContext.displayName = "PickerFieldPrivateContext";
36803
+ function useNullableFieldPrivateContext() {
36804
+ return React__namespace.useContext(PickerFieldPrivateContext);
36671
36805
  }
36672
- function capitalize$1(string) {
36673
- if (typeof string !== "string") {
36674
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$1(7));
36806
+ const PickerContext = /* @__PURE__ */ React__namespace.createContext(null);
36807
+ if (process.env.NODE_ENV !== "production") PickerContext.displayName = "PickerContext";
36808
+ const usePickerContext = () => {
36809
+ const value = React__namespace.useContext(PickerContext);
36810
+ if (value == null) {
36811
+ throw new Error("MUI X: The `usePickerContext` hook can only be called inside the context of a Picker component");
36675
36812
  }
36676
- return string.charAt(0).toUpperCase() + string.slice(1);
36677
- }
36678
- const sortBreakpointsValues = (values2) => {
36679
- const breakpointsAsArray = Object.keys(values2).map((key) => ({
36680
- key,
36681
- val: values2[key]
36682
- })) || [];
36683
- breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
36684
- return breakpointsAsArray.reduce((acc, obj) => {
36685
- return {
36686
- ...acc,
36687
- [obj.key]: obj.val
36688
- };
36689
- }, {});
36813
+ return value;
36690
36814
  };
36691
- function createBreakpoints(breakpoints) {
36692
- const {
36693
- // The breakpoint **start** at this value.
36694
- // For instance with the first breakpoint xs: [xs, sm).
36695
- values: values2 = {
36696
- xs: 0,
36697
- // phone
36698
- sm: 600,
36699
- // tablet
36700
- md: 900,
36701
- // small laptop
36702
- lg: 1200,
36703
- // desktop
36704
- xl: 1536
36705
- // large screen
36706
- },
36707
- unit = "px",
36708
- step = 5,
36709
- ...other
36710
- } = breakpoints;
36711
- const sortedValues = sortBreakpointsValues(values2);
36712
- const keys = Object.keys(sortedValues);
36713
- function up(key) {
36714
- const value = typeof values2[key] === "number" ? values2[key] : key;
36715
- return `@media (min-width:${value}${unit})`;
36716
- }
36717
- function down(key) {
36718
- const value = typeof values2[key] === "number" ? values2[key] : key;
36719
- return `@media (max-width:${value - step / 100}${unit})`;
36720
- }
36721
- function between(start2, end2) {
36722
- const endIndex = keys.indexOf(end2);
36723
- return `@media (min-width:${typeof values2[start2] === "number" ? values2[start2] : start2}${unit}) and (max-width:${(endIndex !== -1 && typeof values2[keys[endIndex]] === "number" ? values2[keys[endIndex]] : end2) - step / 100}${unit})`;
36724
- }
36725
- function only(key) {
36726
- if (keys.indexOf(key) + 1 < keys.length) {
36727
- return between(key, keys[keys.indexOf(key) + 1]);
36728
- }
36729
- return up(key);
36730
- }
36731
- function not(key) {
36732
- const keyIndex = keys.indexOf(key);
36733
- if (keyIndex === 0) {
36734
- return up(keys[1]);
36735
- }
36736
- if (keyIndex === keys.length - 1) {
36737
- return down(keys[keyIndex]);
36738
- }
36739
- return between(key, keys[keys.indexOf(key) + 1]).replace("@media", "@media not all and");
36740
- }
36741
- return {
36742
- keys,
36743
- values: sortedValues,
36744
- up,
36745
- down,
36746
- between,
36747
- only,
36748
- not,
36749
- unit,
36750
- ...other
36751
- };
36752
- }
36753
- function sortContainerQueries(theme2, css) {
36754
- if (!theme2.containerQueries) {
36755
- return css;
36756
- }
36757
- const sorted = Object.keys(css).filter((key) => key.startsWith("@container")).sort((a, b) => {
36758
- const regex = /min-width:\s*([0-9.]+)/;
36759
- return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);
36760
- });
36761
- if (!sorted.length) {
36762
- return css;
36763
- }
36764
- return sorted.reduce((acc, key) => {
36765
- const value = css[key];
36766
- delete acc[key];
36767
- acc[key] = value;
36768
- return acc;
36769
- }, {
36770
- ...css
36771
- });
36772
- }
36773
- function isCqShorthand(breakpointKeys, value) {
36774
- return value === "@" || value.startsWith("@") && (breakpointKeys.some((key) => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
36775
- }
36776
- function getContainerQuery(theme2, shorthand) {
36777
- const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
36778
- if (!matches) {
36779
- if (process.env.NODE_ENV !== "production") {
36780
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
36781
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$1(18, `(${shorthand})`));
36782
- }
36783
- return null;
36784
- }
36785
- const [, containerQuery, containerName] = matches;
36786
- const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
36787
- return theme2.containerQueries(containerName).up(value);
36788
- }
36789
- function cssContainerQueries(themeInput) {
36790
- const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
36791
- function attachCq(node2, name) {
36792
- node2.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
36793
- node2.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
36794
- node2.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
36795
- node2.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
36796
- node2.not = (...args) => {
36797
- const result = toContainerQuery(themeInput.breakpoints.not(...args), name);
36798
- if (result.includes("not all and")) {
36799
- return result.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or");
36800
- }
36801
- return result;
36802
- };
36803
- }
36804
- const node = {};
36805
- const containerQueries = (name) => {
36806
- attachCq(node, name);
36807
- return node;
36808
- };
36809
- attachCq(containerQueries);
36810
- return {
36811
- ...themeInput,
36812
- containerQueries
36813
- };
36814
- }
36815
- const shape = {
36816
- borderRadius: 4
36817
- };
36818
- const responsivePropType = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
36819
- function merge(acc, item) {
36820
- if (!item) {
36821
- return acc;
36822
- }
36823
- return deepmerge(acc, item, {
36824
- clone: false
36825
- // No need to clone deep, it's way faster.
36826
- });
36827
- }
36828
- const values = {
36829
- xs: 0,
36830
- // phone
36831
- sm: 600,
36832
- // tablet
36833
- md: 900,
36834
- // small laptop
36835
- lg: 1200,
36836
- // desktop
36837
- xl: 1536
36838
- // large screen
36839
- };
36840
- const defaultBreakpoints = {
36841
- // Sorted ASC by size. That's important.
36842
- // It can't be configured as it's used statically for propTypes.
36843
- keys: ["xs", "sm", "md", "lg", "xl"],
36844
- up: (key) => `@media (min-width:${values[key]}px)`
36845
- };
36846
- const defaultContainerQueries = {
36847
- containerQueries: (containerName) => ({
36848
- up: (key) => {
36849
- let result = typeof key === "number" ? key : values[key] || key;
36850
- if (typeof result === "number") {
36851
- result = `${result}px`;
36852
- }
36853
- return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;
36854
- }
36855
- })
36856
- };
36857
- function handleBreakpoints(props, propValue, styleFromPropValue) {
36858
- const theme2 = props.theme || {};
36859
- if (Array.isArray(propValue)) {
36860
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
36861
- return propValue.reduce((acc, item, index) => {
36862
- acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
36863
- return acc;
36864
- }, {});
36865
- }
36866
- if (typeof propValue === "object") {
36867
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
36868
- return Object.keys(propValue).reduce((acc, breakpoint) => {
36869
- if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {
36870
- const containerKey = getContainerQuery(theme2.containerQueries ? theme2 : defaultContainerQueries, breakpoint);
36871
- if (containerKey) {
36872
- acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
36873
- }
36874
- } else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {
36875
- const mediaKey = themeBreakpoints.up(breakpoint);
36876
- acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
36877
- } else {
36878
- const cssKey = breakpoint;
36879
- acc[cssKey] = propValue[cssKey];
36880
- }
36881
- return acc;
36882
- }, {});
36883
- }
36884
- const output = styleFromPropValue(propValue);
36885
- return output;
36886
- }
36887
- function createEmptyBreakpointObject(breakpointsInput = {}) {
36888
- const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {
36889
- const breakpointStyleKey = breakpointsInput.up(key);
36890
- acc[breakpointStyleKey] = {};
36891
- return acc;
36892
- }, {});
36893
- return breakpointsInOrder || {};
36894
- }
36895
- function removeUnusedBreakpoints(breakpointKeys, style2) {
36896
- return breakpointKeys.reduce((acc, key) => {
36897
- const breakpointOutput = acc[key];
36898
- const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
36899
- if (isBreakpointUnused) {
36900
- delete acc[key];
36901
- }
36902
- return acc;
36903
- }, style2);
36904
- }
36905
- function getPath(obj, path, checkVars = true) {
36906
- if (!path || typeof path !== "string") {
36907
- return null;
36908
- }
36909
- if (obj && obj.vars && checkVars) {
36910
- const val = `vars.${path}`.split(".").reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
36911
- if (val != null) {
36912
- return val;
36913
- }
36914
- }
36915
- return path.split(".").reduce((acc, item) => {
36916
- if (acc && acc[item] != null) {
36917
- return acc[item];
36918
- }
36919
- return null;
36920
- }, obj);
36921
- }
36922
- function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
36923
- let value;
36924
- if (typeof themeMapping === "function") {
36925
- value = themeMapping(propValueFinal);
36926
- } else if (Array.isArray(themeMapping)) {
36927
- value = themeMapping[propValueFinal] || userValue;
36928
- } else {
36929
- value = getPath(themeMapping, propValueFinal) || userValue;
36930
- }
36931
- if (transform) {
36932
- value = transform(value, userValue, themeMapping);
36933
- }
36934
- return value;
36935
- }
36936
- function style$1(options) {
36937
- const {
36938
- prop,
36939
- cssProperty = options.prop,
36940
- themeKey,
36941
- transform
36942
- } = options;
36943
- const fn2 = (props) => {
36944
- if (props[prop] == null) {
36945
- return null;
36946
- }
36947
- const propValue = props[prop];
36948
- const theme2 = props.theme;
36949
- const themeMapping = getPath(theme2, themeKey) || {};
36950
- const styleFromPropValue = (propValueFinal) => {
36951
- let value = getStyleValue(themeMapping, transform, propValueFinal);
36952
- if (propValueFinal === value && typeof propValueFinal === "string") {
36953
- value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
36954
- }
36955
- if (cssProperty === false) {
36956
- return value;
36957
- }
36958
- return {
36959
- [cssProperty]: value
36960
- };
36961
- };
36962
- return handleBreakpoints(props, propValue, styleFromPropValue);
36963
- };
36964
- fn2.propTypes = process.env.NODE_ENV !== "production" ? {
36965
- [prop]: responsivePropType
36966
- } : {};
36967
- fn2.filterProps = [prop];
36968
- return fn2;
36969
- }
36970
- function memoize(fn2) {
36971
- const cache = {};
36972
- return (arg2) => {
36973
- if (cache[arg2] === void 0) {
36974
- cache[arg2] = fn2(arg2);
36975
- }
36976
- return cache[arg2];
36977
- };
36978
- }
36979
- const properties = {
36980
- m: "margin",
36981
- p: "padding"
36982
- };
36983
- const directions = {
36984
- t: "Top",
36985
- r: "Right",
36986
- b: "Bottom",
36987
- l: "Left",
36988
- x: ["Left", "Right"],
36989
- y: ["Top", "Bottom"]
36990
- };
36991
- const aliases = {
36992
- marginX: "mx",
36993
- marginY: "my",
36994
- paddingX: "px",
36995
- paddingY: "py"
36996
- };
36997
- const getCssProperties = memoize((prop) => {
36998
- if (prop.length > 2) {
36999
- if (aliases[prop]) {
37000
- prop = aliases[prop];
37001
- } else {
37002
- return [prop];
37003
- }
37004
- }
37005
- const [a, b] = prop.split("");
37006
- const property = properties[a];
37007
- const direction = directions[b] || "";
37008
- return Array.isArray(direction) ? direction.map((dir) => property + dir) : [property + direction];
37009
- });
37010
- const marginKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
37011
- const paddingKeys = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
37012
- const spacingKeys = [...marginKeys, ...paddingKeys];
37013
- function createUnaryUnit(theme2, themeKey, defaultValue, propName) {
37014
- const themeSpacing = getPath(theme2, themeKey, true) ?? defaultValue;
37015
- if (typeof themeSpacing === "number" || typeof themeSpacing === "string") {
37016
- return (val) => {
37017
- if (typeof val === "string") {
37018
- return val;
37019
- }
37020
- if (process.env.NODE_ENV !== "production") {
37021
- if (typeof val !== "number") {
37022
- console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);
37023
- }
37024
- }
37025
- if (typeof themeSpacing === "string") {
37026
- if (themeSpacing.startsWith("var(") && val === 0) {
37027
- return 0;
37028
- }
37029
- if (themeSpacing.startsWith("var(") && val === 1) {
37030
- return themeSpacing;
37031
- }
37032
- return `calc(${val} * ${themeSpacing})`;
37033
- }
37034
- return themeSpacing * val;
37035
- };
37036
- }
37037
- if (Array.isArray(themeSpacing)) {
37038
- return (val) => {
37039
- if (typeof val === "string") {
37040
- return val;
37041
- }
37042
- const abs = Math.abs(val);
37043
- if (process.env.NODE_ENV !== "production") {
37044
- if (!Number.isInteger(abs)) {
37045
- console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join("\n"));
37046
- } else if (abs > themeSpacing.length - 1) {
37047
- console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join("\n"));
37048
- }
37049
- }
37050
- const transformed = themeSpacing[abs];
37051
- if (val >= 0) {
37052
- return transformed;
37053
- }
37054
- if (typeof transformed === "number") {
37055
- return -transformed;
37056
- }
37057
- if (typeof transformed === "string" && transformed.startsWith("var(")) {
37058
- return `calc(-1 * ${transformed})`;
37059
- }
37060
- return `-${transformed}`;
37061
- };
37062
- }
37063
- if (typeof themeSpacing === "function") {
37064
- return themeSpacing;
37065
- }
37066
- if (process.env.NODE_ENV !== "production") {
37067
- console.error([`MUI: The \`theme.${themeKey}\` value (${themeSpacing}) is invalid.`, "It should be a number, an array or a function."].join("\n"));
37068
- }
37069
- return () => void 0;
37070
- }
37071
- function createUnarySpacing(theme2) {
37072
- return createUnaryUnit(theme2, "spacing", 8, "spacing");
37073
- }
37074
- function getValue(transformer, propValue) {
37075
- if (typeof propValue === "string" || propValue == null) {
37076
- return propValue;
37077
- }
37078
- return transformer(propValue);
37079
- }
37080
- function getStyleFromPropValue(cssProperties, transformer) {
37081
- return (propValue) => cssProperties.reduce((acc, cssProperty) => {
37082
- acc[cssProperty] = getValue(transformer, propValue);
37083
- return acc;
37084
- }, {});
37085
- }
37086
- function resolveCssProperty(props, keys, prop, transformer) {
37087
- if (!keys.includes(prop)) {
37088
- return null;
37089
- }
37090
- const cssProperties = getCssProperties(prop);
37091
- const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
37092
- const propValue = props[prop];
37093
- return handleBreakpoints(props, propValue, styleFromPropValue);
37094
- }
37095
- function style(props, keys) {
37096
- const transformer = createUnarySpacing(props.theme);
37097
- return Object.keys(props).map((prop) => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
37098
- }
37099
- function margin(props) {
37100
- return style(props, marginKeys);
37101
- }
37102
- margin.propTypes = process.env.NODE_ENV !== "production" ? marginKeys.reduce((obj, key) => {
37103
- obj[key] = responsivePropType;
37104
- return obj;
37105
- }, {}) : {};
37106
- margin.filterProps = marginKeys;
37107
- function padding(props) {
37108
- return style(props, paddingKeys);
37109
- }
37110
- padding.propTypes = process.env.NODE_ENV !== "production" ? paddingKeys.reduce((obj, key) => {
37111
- obj[key] = responsivePropType;
37112
- return obj;
37113
- }, {}) : {};
37114
- padding.filterProps = paddingKeys;
37115
- process.env.NODE_ENV !== "production" ? spacingKeys.reduce((obj, key) => {
37116
- obj[key] = responsivePropType;
37117
- return obj;
37118
- }, {}) : {};
37119
- function createSpacing(spacingInput = 8, transform = createUnarySpacing({
37120
- spacing: spacingInput
37121
- })) {
37122
- if (spacingInput.mui) {
37123
- return spacingInput;
37124
- }
37125
- const spacing2 = (...argsInput) => {
37126
- if (process.env.NODE_ENV !== "production") {
37127
- if (!(argsInput.length <= 4)) {
37128
- console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
37129
- }
37130
- }
37131
- const args = argsInput.length === 0 ? [1] : argsInput;
37132
- return args.map((argument) => {
37133
- const output = transform(argument);
37134
- return typeof output === "number" ? `${output}px` : output;
37135
- }).join(" ");
37136
- };
37137
- spacing2.mui = true;
37138
- return spacing2;
37139
- }
37140
- function compose(...styles2) {
37141
- const handlers = styles2.reduce((acc, style2) => {
37142
- style2.filterProps.forEach((prop) => {
37143
- acc[prop] = style2;
37144
- });
37145
- return acc;
37146
- }, {});
37147
- const fn2 = (props) => {
37148
- return Object.keys(props).reduce((acc, prop) => {
37149
- if (handlers[prop]) {
37150
- return merge(acc, handlers[prop](props));
37151
- }
37152
- return acc;
37153
- }, {});
37154
- };
37155
- fn2.propTypes = process.env.NODE_ENV !== "production" ? styles2.reduce((acc, style2) => Object.assign(acc, style2.propTypes), {}) : {};
37156
- fn2.filterProps = styles2.reduce((acc, style2) => acc.concat(style2.filterProps), []);
37157
- return fn2;
37158
- }
37159
- function borderTransform(value) {
37160
- if (typeof value !== "number") {
37161
- return value;
37162
- }
37163
- return `${value}px solid`;
37164
- }
37165
- function createBorderStyle(prop, transform) {
37166
- return style$1({
37167
- prop,
37168
- themeKey: "borders",
37169
- transform
37170
- });
37171
- }
37172
- const border = createBorderStyle("border", borderTransform);
37173
- const borderTop = createBorderStyle("borderTop", borderTransform);
37174
- const borderRight = createBorderStyle("borderRight", borderTransform);
37175
- const borderBottom = createBorderStyle("borderBottom", borderTransform);
37176
- const borderLeft = createBorderStyle("borderLeft", borderTransform);
37177
- const borderColor = createBorderStyle("borderColor");
37178
- const borderTopColor = createBorderStyle("borderTopColor");
37179
- const borderRightColor = createBorderStyle("borderRightColor");
37180
- const borderBottomColor = createBorderStyle("borderBottomColor");
37181
- const borderLeftColor = createBorderStyle("borderLeftColor");
37182
- const outline = createBorderStyle("outline", borderTransform);
37183
- const outlineColor = createBorderStyle("outlineColor");
37184
- const borderRadius = (props) => {
37185
- if (props.borderRadius !== void 0 && props.borderRadius !== null) {
37186
- const transformer = createUnaryUnit(props.theme, "shape.borderRadius", 4, "borderRadius");
37187
- const styleFromPropValue = (propValue) => ({
37188
- borderRadius: getValue(transformer, propValue)
37189
- });
37190
- return handleBreakpoints(props, props.borderRadius, styleFromPropValue);
37191
- }
37192
- return null;
37193
- };
37194
- borderRadius.propTypes = process.env.NODE_ENV !== "production" ? {
37195
- borderRadius: responsivePropType
37196
- } : {};
37197
- borderRadius.filterProps = ["borderRadius"];
37198
- compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
37199
- const gap = (props) => {
37200
- if (props.gap !== void 0 && props.gap !== null) {
37201
- const transformer = createUnaryUnit(props.theme, "spacing", 8, "gap");
37202
- const styleFromPropValue = (propValue) => ({
37203
- gap: getValue(transformer, propValue)
37204
- });
37205
- return handleBreakpoints(props, props.gap, styleFromPropValue);
37206
- }
37207
- return null;
37208
- };
37209
- gap.propTypes = process.env.NODE_ENV !== "production" ? {
37210
- gap: responsivePropType
37211
- } : {};
37212
- gap.filterProps = ["gap"];
37213
- const columnGap = (props) => {
37214
- if (props.columnGap !== void 0 && props.columnGap !== null) {
37215
- const transformer = createUnaryUnit(props.theme, "spacing", 8, "columnGap");
37216
- const styleFromPropValue = (propValue) => ({
37217
- columnGap: getValue(transformer, propValue)
37218
- });
37219
- return handleBreakpoints(props, props.columnGap, styleFromPropValue);
37220
- }
37221
- return null;
37222
- };
37223
- columnGap.propTypes = process.env.NODE_ENV !== "production" ? {
37224
- columnGap: responsivePropType
37225
- } : {};
37226
- columnGap.filterProps = ["columnGap"];
37227
- const rowGap = (props) => {
37228
- if (props.rowGap !== void 0 && props.rowGap !== null) {
37229
- const transformer = createUnaryUnit(props.theme, "spacing", 8, "rowGap");
37230
- const styleFromPropValue = (propValue) => ({
37231
- rowGap: getValue(transformer, propValue)
37232
- });
37233
- return handleBreakpoints(props, props.rowGap, styleFromPropValue);
37234
- }
37235
- return null;
37236
- };
37237
- rowGap.propTypes = process.env.NODE_ENV !== "production" ? {
37238
- rowGap: responsivePropType
37239
- } : {};
37240
- rowGap.filterProps = ["rowGap"];
37241
- const gridColumn = style$1({
37242
- prop: "gridColumn"
37243
- });
37244
- const gridRow = style$1({
37245
- prop: "gridRow"
37246
- });
37247
- const gridAutoFlow = style$1({
37248
- prop: "gridAutoFlow"
37249
- });
37250
- const gridAutoColumns = style$1({
37251
- prop: "gridAutoColumns"
37252
- });
37253
- const gridAutoRows = style$1({
37254
- prop: "gridAutoRows"
37255
- });
37256
- const gridTemplateColumns = style$1({
37257
- prop: "gridTemplateColumns"
37258
- });
37259
- const gridTemplateRows = style$1({
37260
- prop: "gridTemplateRows"
37261
- });
37262
- const gridTemplateAreas = style$1({
37263
- prop: "gridTemplateAreas"
37264
- });
37265
- const gridArea = style$1({
37266
- prop: "gridArea"
37267
- });
37268
- compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
37269
- function paletteTransform(value, userValue) {
37270
- if (userValue === "grey") {
37271
- return userValue;
37272
- }
37273
- return value;
37274
- }
37275
- const color = style$1({
37276
- prop: "color",
37277
- themeKey: "palette",
37278
- transform: paletteTransform
37279
- });
37280
- const bgcolor = style$1({
37281
- prop: "bgcolor",
37282
- cssProperty: "backgroundColor",
37283
- themeKey: "palette",
37284
- transform: paletteTransform
37285
- });
37286
- const backgroundColor = style$1({
37287
- prop: "backgroundColor",
37288
- themeKey: "palette",
37289
- transform: paletteTransform
37290
- });
37291
- compose(color, bgcolor, backgroundColor);
37292
- function sizingTransform(value) {
37293
- return value <= 1 && value !== 0 ? `${value * 100}%` : value;
37294
- }
37295
- const width = style$1({
37296
- prop: "width",
37297
- transform: sizingTransform
37298
- });
37299
- const maxWidth = (props) => {
37300
- if (props.maxWidth !== void 0 && props.maxWidth !== null) {
37301
- const styleFromPropValue = (propValue) => {
37302
- const breakpoint = props.theme?.breakpoints?.values?.[propValue] || values[propValue];
37303
- if (!breakpoint) {
37304
- return {
37305
- maxWidth: sizingTransform(propValue)
37306
- };
37307
- }
37308
- if (props.theme?.breakpoints?.unit !== "px") {
37309
- return {
37310
- maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
37311
- };
37312
- }
37313
- return {
37314
- maxWidth: breakpoint
37315
- };
37316
- };
37317
- return handleBreakpoints(props, props.maxWidth, styleFromPropValue);
37318
- }
37319
- return null;
37320
- };
37321
- maxWidth.filterProps = ["maxWidth"];
37322
- const minWidth = style$1({
37323
- prop: "minWidth",
37324
- transform: sizingTransform
37325
- });
37326
- const height = style$1({
37327
- prop: "height",
37328
- transform: sizingTransform
37329
- });
37330
- const maxHeight = style$1({
37331
- prop: "maxHeight",
37332
- transform: sizingTransform
37333
- });
37334
- const minHeight = style$1({
37335
- prop: "minHeight",
37336
- transform: sizingTransform
37337
- });
37338
- style$1({
37339
- prop: "size",
37340
- cssProperty: "width",
37341
- transform: sizingTransform
37342
- });
37343
- style$1({
37344
- prop: "size",
37345
- cssProperty: "height",
37346
- transform: sizingTransform
37347
- });
37348
- const boxSizing = style$1({
37349
- prop: "boxSizing"
37350
- });
37351
- compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
37352
- const defaultSxConfig = {
37353
- // borders
37354
- border: {
37355
- themeKey: "borders",
37356
- transform: borderTransform
37357
- },
37358
- borderTop: {
37359
- themeKey: "borders",
37360
- transform: borderTransform
37361
- },
37362
- borderRight: {
37363
- themeKey: "borders",
37364
- transform: borderTransform
37365
- },
37366
- borderBottom: {
37367
- themeKey: "borders",
37368
- transform: borderTransform
37369
- },
37370
- borderLeft: {
37371
- themeKey: "borders",
37372
- transform: borderTransform
37373
- },
37374
- borderColor: {
37375
- themeKey: "palette"
37376
- },
37377
- borderTopColor: {
37378
- themeKey: "palette"
37379
- },
37380
- borderRightColor: {
37381
- themeKey: "palette"
37382
- },
37383
- borderBottomColor: {
37384
- themeKey: "palette"
37385
- },
37386
- borderLeftColor: {
37387
- themeKey: "palette"
37388
- },
37389
- outline: {
37390
- themeKey: "borders",
37391
- transform: borderTransform
37392
- },
37393
- outlineColor: {
37394
- themeKey: "palette"
37395
- },
37396
- borderRadius: {
37397
- themeKey: "shape.borderRadius",
37398
- style: borderRadius
37399
- },
37400
- // palette
37401
- color: {
37402
- themeKey: "palette",
37403
- transform: paletteTransform
37404
- },
37405
- bgcolor: {
37406
- themeKey: "palette",
37407
- cssProperty: "backgroundColor",
37408
- transform: paletteTransform
37409
- },
37410
- backgroundColor: {
37411
- themeKey: "palette",
37412
- transform: paletteTransform
37413
- },
37414
- // spacing
37415
- p: {
37416
- style: padding
37417
- },
37418
- pt: {
37419
- style: padding
37420
- },
37421
- pr: {
37422
- style: padding
37423
- },
37424
- pb: {
37425
- style: padding
37426
- },
37427
- pl: {
37428
- style: padding
37429
- },
37430
- px: {
37431
- style: padding
37432
- },
37433
- py: {
37434
- style: padding
37435
- },
37436
- padding: {
37437
- style: padding
37438
- },
37439
- paddingTop: {
37440
- style: padding
37441
- },
37442
- paddingRight: {
37443
- style: padding
37444
- },
37445
- paddingBottom: {
37446
- style: padding
37447
- },
37448
- paddingLeft: {
37449
- style: padding
37450
- },
37451
- paddingX: {
37452
- style: padding
37453
- },
37454
- paddingY: {
37455
- style: padding
37456
- },
37457
- paddingInline: {
37458
- style: padding
37459
- },
37460
- paddingInlineStart: {
37461
- style: padding
37462
- },
37463
- paddingInlineEnd: {
37464
- style: padding
37465
- },
37466
- paddingBlock: {
37467
- style: padding
37468
- },
37469
- paddingBlockStart: {
37470
- style: padding
37471
- },
37472
- paddingBlockEnd: {
37473
- style: padding
37474
- },
37475
- m: {
37476
- style: margin
37477
- },
37478
- mt: {
37479
- style: margin
37480
- },
37481
- mr: {
37482
- style: margin
37483
- },
37484
- mb: {
37485
- style: margin
37486
- },
37487
- ml: {
37488
- style: margin
37489
- },
37490
- mx: {
37491
- style: margin
37492
- },
37493
- my: {
37494
- style: margin
37495
- },
37496
- margin: {
37497
- style: margin
37498
- },
37499
- marginTop: {
37500
- style: margin
37501
- },
37502
- marginRight: {
37503
- style: margin
37504
- },
37505
- marginBottom: {
37506
- style: margin
37507
- },
37508
- marginLeft: {
37509
- style: margin
37510
- },
37511
- marginX: {
37512
- style: margin
37513
- },
37514
- marginY: {
37515
- style: margin
37516
- },
37517
- marginInline: {
37518
- style: margin
37519
- },
37520
- marginInlineStart: {
37521
- style: margin
37522
- },
37523
- marginInlineEnd: {
37524
- style: margin
37525
- },
37526
- marginBlock: {
37527
- style: margin
37528
- },
37529
- marginBlockStart: {
37530
- style: margin
37531
- },
37532
- marginBlockEnd: {
37533
- style: margin
37534
- },
37535
- // display
37536
- displayPrint: {
37537
- cssProperty: false,
37538
- transform: (value) => ({
37539
- "@media print": {
37540
- display: value
37541
- }
37542
- })
37543
- },
37544
- display: {},
37545
- overflow: {},
37546
- textOverflow: {},
37547
- visibility: {},
37548
- whiteSpace: {},
37549
- // flexbox
37550
- flexBasis: {},
37551
- flexDirection: {},
37552
- flexWrap: {},
37553
- justifyContent: {},
37554
- alignItems: {},
37555
- alignContent: {},
37556
- order: {},
37557
- flex: {},
37558
- flexGrow: {},
37559
- flexShrink: {},
37560
- alignSelf: {},
37561
- justifyItems: {},
37562
- justifySelf: {},
37563
- // grid
37564
- gap: {
37565
- style: gap
37566
- },
37567
- rowGap: {
37568
- style: rowGap
37569
- },
37570
- columnGap: {
37571
- style: columnGap
37572
- },
37573
- gridColumn: {},
37574
- gridRow: {},
37575
- gridAutoFlow: {},
37576
- gridAutoColumns: {},
37577
- gridAutoRows: {},
37578
- gridTemplateColumns: {},
37579
- gridTemplateRows: {},
37580
- gridTemplateAreas: {},
37581
- gridArea: {},
37582
- // positions
37583
- position: {},
37584
- zIndex: {
37585
- themeKey: "zIndex"
37586
- },
37587
- top: {},
37588
- right: {},
37589
- bottom: {},
37590
- left: {},
37591
- // shadows
37592
- boxShadow: {
37593
- themeKey: "shadows"
37594
- },
37595
- // sizing
37596
- width: {
37597
- transform: sizingTransform
37598
- },
37599
- maxWidth: {
37600
- style: maxWidth
37601
- },
37602
- minWidth: {
37603
- transform: sizingTransform
37604
- },
37605
- height: {
37606
- transform: sizingTransform
37607
- },
37608
- maxHeight: {
37609
- transform: sizingTransform
37610
- },
37611
- minHeight: {
37612
- transform: sizingTransform
37613
- },
37614
- boxSizing: {},
37615
- // typography
37616
- font: {
37617
- themeKey: "font"
37618
- },
37619
- fontFamily: {
37620
- themeKey: "typography"
37621
- },
37622
- fontSize: {
37623
- themeKey: "typography"
37624
- },
37625
- fontStyle: {
37626
- themeKey: "typography"
37627
- },
37628
- fontWeight: {
37629
- themeKey: "typography"
37630
- },
37631
- letterSpacing: {},
37632
- textTransform: {},
37633
- lineHeight: {},
37634
- textAlign: {},
37635
- typography: {
37636
- cssProperty: false,
37637
- themeKey: "typography"
37638
- }
37639
- };
37640
- function objectsHaveSameKeys(...objects) {
37641
- const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
37642
- const union = new Set(allKeys);
37643
- return objects.every((object) => union.size === Object.keys(object).length);
37644
- }
37645
- function callIfFn(maybeFn, arg2) {
37646
- return typeof maybeFn === "function" ? maybeFn(arg2) : maybeFn;
37647
- }
37648
- function unstable_createStyleFunctionSx() {
37649
- function getThemeValue(prop, val, theme2, config2) {
37650
- const props = {
37651
- [prop]: val,
37652
- theme: theme2
37653
- };
37654
- const options = config2[prop];
37655
- if (!options) {
37656
- return {
37657
- [prop]: val
37658
- };
37659
- }
37660
- const {
37661
- cssProperty = prop,
37662
- themeKey,
37663
- transform,
37664
- style: style2
37665
- } = options;
37666
- if (val == null) {
37667
- return null;
37668
- }
37669
- if (themeKey === "typography" && val === "inherit") {
37670
- return {
37671
- [prop]: val
37672
- };
37673
- }
37674
- const themeMapping = getPath(theme2, themeKey) || {};
37675
- if (style2) {
37676
- return style2(props);
37677
- }
37678
- const styleFromPropValue = (propValueFinal) => {
37679
- let value = getStyleValue(themeMapping, transform, propValueFinal);
37680
- if (propValueFinal === value && typeof propValueFinal === "string") {
37681
- value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
37682
- }
37683
- if (cssProperty === false) {
37684
- return value;
37685
- }
37686
- return {
37687
- [cssProperty]: value
37688
- };
37689
- };
37690
- return handleBreakpoints(props, val, styleFromPropValue);
37691
- }
37692
- function styleFunctionSx2(props) {
37693
- const {
37694
- sx,
37695
- theme: theme2 = {},
37696
- nested
37697
- } = props || {};
37698
- if (!sx) {
37699
- return null;
37700
- }
37701
- const config2 = theme2.unstable_sxConfig ?? defaultSxConfig;
37702
- function traverse(sxInput) {
37703
- let sxObject = sxInput;
37704
- if (typeof sxInput === "function") {
37705
- sxObject = sxInput(theme2);
37706
- } else if (typeof sxInput !== "object") {
37707
- return sxInput;
37708
- }
37709
- if (!sxObject) {
37710
- return null;
37711
- }
37712
- const emptyBreakpoints = createEmptyBreakpointObject(theme2.breakpoints);
37713
- const breakpointsKeys = Object.keys(emptyBreakpoints);
37714
- let css = emptyBreakpoints;
37715
- Object.keys(sxObject).forEach((styleKey) => {
37716
- const value = callIfFn(sxObject[styleKey], theme2);
37717
- if (value !== null && value !== void 0) {
37718
- if (typeof value === "object") {
37719
- if (config2[styleKey]) {
37720
- css = merge(css, getThemeValue(styleKey, value, theme2, config2));
37721
- } else {
37722
- const breakpointsValues = handleBreakpoints({
37723
- theme: theme2
37724
- }, value, (x) => ({
37725
- [styleKey]: x
37726
- }));
37727
- if (objectsHaveSameKeys(breakpointsValues, value)) {
37728
- css[styleKey] = styleFunctionSx2({
37729
- sx: value,
37730
- theme: theme2,
37731
- nested: true
37732
- });
37733
- } else {
37734
- css = merge(css, breakpointsValues);
37735
- }
37736
- }
37737
- } else {
37738
- css = merge(css, getThemeValue(styleKey, value, theme2, config2));
37739
- }
37740
- }
37741
- });
37742
- if (!nested && theme2.modularCssLayers) {
37743
- return {
37744
- "@layer sx": sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css))
37745
- };
37746
- }
37747
- return sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css));
37748
- }
37749
- return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
37750
- }
37751
- return styleFunctionSx2;
37752
- }
37753
- const styleFunctionSx = unstable_createStyleFunctionSx();
37754
- styleFunctionSx.filterProps = ["sx"];
37755
- function applyStyles(key, styles2) {
37756
- const theme2 = this;
37757
- if (theme2.vars) {
37758
- if (!theme2.colorSchemes?.[key] || typeof theme2.getColorSchemeSelector !== "function") {
37759
- return {};
37760
- }
37761
- let selector = theme2.getColorSchemeSelector(key);
37762
- if (selector === "&") {
37763
- return styles2;
37764
- }
37765
- if (selector.includes("data-") || selector.includes(".")) {
37766
- selector = `*:where(${selector.replace(/\s*&$/, "")}) &`;
37767
- }
37768
- return {
37769
- [selector]: styles2
37770
- };
37771
- }
37772
- if (theme2.palette.mode === key) {
37773
- return styles2;
37774
- }
37775
- return {};
37776
- }
37777
- function createTheme(options = {}, ...args) {
37778
- const {
37779
- breakpoints: breakpointsInput = {},
37780
- palette: paletteInput = {},
37781
- spacing: spacingInput,
37782
- shape: shapeInput = {},
37783
- ...other
37784
- } = options;
37785
- const breakpoints = createBreakpoints(breakpointsInput);
37786
- const spacing2 = createSpacing(spacingInput);
37787
- let muiTheme = deepmerge({
37788
- breakpoints,
37789
- direction: "ltr",
37790
- components: {},
37791
- // Inject component definitions.
37792
- palette: {
37793
- mode: "light",
37794
- ...paletteInput
37795
- },
37796
- spacing: spacing2,
37797
- shape: {
37798
- ...shape,
37799
- ...shapeInput
37800
- }
37801
- }, other);
37802
- muiTheme = cssContainerQueries(muiTheme);
37803
- muiTheme.applyStyles = applyStyles;
37804
- muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
37805
- muiTheme.unstable_sxConfig = {
37806
- ...defaultSxConfig,
37807
- ...other?.unstable_sxConfig
37808
- };
37809
- muiTheme.unstable_sx = function sx(props) {
37810
- return styleFunctionSx({
37811
- sx: props,
37812
- theme: this
37813
- });
37814
- };
37815
- return muiTheme;
37816
- }
37817
- createTheme();
37818
- function shouldForwardProp(prop) {
37819
- return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
37820
- }
37821
- const defaultGenerator = (componentName) => componentName;
37822
- const createClassNameGenerator = () => {
37823
- let generate = defaultGenerator;
37824
- return {
37825
- configure(generator) {
37826
- generate = generator;
37827
- },
37828
- generate(componentName) {
37829
- return generate(componentName);
37830
- },
37831
- reset() {
37832
- generate = defaultGenerator;
37833
- }
37834
- };
37835
- };
37836
- const ClassNameGenerator = createClassNameGenerator();
37837
- const globalStateClasses = {
37838
- active: "active",
37839
- checked: "checked",
37840
- completed: "completed",
37841
- disabled: "disabled",
37842
- error: "error",
37843
- expanded: "expanded",
37844
- focused: "focused",
37845
- focusVisible: "focusVisible",
37846
- open: "open",
37847
- readOnly: "readOnly",
37848
- required: "required",
37849
- selected: "selected"
37850
- };
37851
- function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
37852
- const globalStateClass = globalStateClasses[slot];
37853
- return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
37854
- }
37855
- function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
37856
- const result = {};
37857
- slots.forEach((slot) => {
37858
- result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
37859
- });
37860
- return result;
37861
- }
37862
- function getPickersToolbarUtilityClass(slot) {
37863
- return generateUtilityClass("MuiPickersToolbar", slot);
37864
- }
37865
- const pickersToolbarClasses = generateUtilityClasses("MuiPickersToolbar", ["root", "title", "content"]);
37866
- const RtlContext = /* @__PURE__ */ React__namespace.createContext();
37867
- process.env.NODE_ENV !== "production" ? {
37868
- children: PropTypes.node,
37869
- value: PropTypes.bool
37870
- } : void 0;
37871
- const useRtl = () => {
37872
- const value = React__namespace.useContext(RtlContext);
37873
- return value ?? false;
37874
- };
37875
- const _excluded$K = ["localeText"];
37876
- const PickerAdapterContext = /* @__PURE__ */ React__namespace.createContext(null);
37877
- if (process.env.NODE_ENV !== "production") PickerAdapterContext.displayName = "PickerAdapterContext";
37878
- const LocalizationProvider$1 = function LocalizationProvider(inProps) {
37879
- const {
37880
- localeText: inLocaleText
37881
- } = inProps, otherInProps = _objectWithoutPropertiesLoose(inProps, _excluded$K);
37882
- const {
37883
- adapter: parentAdapter,
37884
- localeText: parentLocaleText
37885
- } = React__namespace.useContext(PickerAdapterContext) ?? {
37886
- adapter: void 0,
37887
- localeText: void 0
37888
- };
37889
- const props = useThemeProps({
37890
- // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
37891
- // We will then merge this theme value with our value manually
37892
- props: otherInProps,
37893
- name: "MuiLocalizationProvider"
37894
- });
37895
- const {
37896
- children,
37897
- dateAdapter: DateAdapter,
37898
- dateFormats,
37899
- dateLibInstance,
37900
- adapterLocale,
37901
- localeText: themeLocaleText
37902
- } = props;
37903
- const localeText = React__namespace.useMemo(() => _extends({}, themeLocaleText, parentLocaleText, inLocaleText), [themeLocaleText, parentLocaleText, inLocaleText]);
37904
- const adapter = React__namespace.useMemo(() => {
37905
- if (!DateAdapter) {
37906
- if (parentAdapter) {
37907
- return parentAdapter;
37908
- }
37909
- return null;
37910
- }
37911
- const dateAdapter = new DateAdapter({
37912
- locale: adapterLocale,
37913
- formats: dateFormats,
37914
- instance: dateLibInstance
37915
- });
37916
- if (!dateAdapter.isMUIAdapter) {
37917
- throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"].join(`
37918
- `));
37919
- }
37920
- return dateAdapter;
37921
- }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentAdapter]);
37922
- const defaultDates = React__namespace.useMemo(() => {
37923
- if (!adapter) {
37924
- return null;
37925
- }
37926
- return {
37927
- minDate: adapter.date("1900-01-01T00:00:00.000"),
37928
- maxDate: adapter.date("2099-12-31T00:00:00.000")
37929
- };
37930
- }, [adapter]);
37931
- const contextValue = React__namespace.useMemo(() => {
37932
- return {
37933
- utils: adapter,
37934
- adapter,
37935
- defaultDates,
37936
- localeText
37937
- };
37938
- }, [defaultDates, adapter, localeText]);
37939
- return /* @__PURE__ */ jsxRuntime.jsx(PickerAdapterContext.Provider, {
37940
- value: contextValue,
37941
- children
37942
- });
37943
- };
37944
- if (process.env.NODE_ENV !== "production") LocalizationProvider$1.displayName = "LocalizationProvider";
37945
- process.env.NODE_ENV !== "production" ? LocalizationProvider$1.propTypes = {
37946
- // ----------------------------- Warning --------------------------------
37947
- // | These PropTypes are generated from the TypeScript type definitions |
37948
- // | To update them edit the TypeScript types and run "pnpm proptypes" |
37949
- // ----------------------------------------------------------------------
37950
- /**
37951
- * Locale for the date library you are using
37952
- */
37953
- adapterLocale: PropTypes.any,
37954
- children: PropTypes.node,
37955
- /**
37956
- * Date library adapter class function.
37957
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
37958
- */
37959
- dateAdapter: PropTypes.func,
37960
- /**
37961
- * Formats that are used for any child pickers
37962
- */
37963
- dateFormats: PropTypes.shape({
37964
- dayOfMonth: PropTypes.string,
37965
- dayOfMonthFull: PropTypes.string,
37966
- fullDate: PropTypes.string,
37967
- fullTime12h: PropTypes.string,
37968
- fullTime24h: PropTypes.string,
37969
- hours12h: PropTypes.string,
37970
- hours24h: PropTypes.string,
37971
- keyboardDate: PropTypes.string,
37972
- keyboardDateTime12h: PropTypes.string,
37973
- keyboardDateTime24h: PropTypes.string,
37974
- meridiem: PropTypes.string,
37975
- minutes: PropTypes.string,
37976
- month: PropTypes.string,
37977
- monthShort: PropTypes.string,
37978
- normalDate: PropTypes.string,
37979
- normalDateWithWeekday: PropTypes.string,
37980
- seconds: PropTypes.string,
37981
- shortDate: PropTypes.string,
37982
- weekday: PropTypes.string,
37983
- weekdayShort: PropTypes.string,
37984
- year: PropTypes.string
37985
- }),
37986
- /**
37987
- * Date library instance you are using, if it has some global overrides
37988
- * ```jsx
37989
- * dateLibInstance={momentTimeZone}
37990
- * ```
37991
- */
37992
- dateLibInstance: PropTypes.any,
37993
- /**
37994
- * Locale for components texts
37995
- */
37996
- localeText: PropTypes.object
37997
- } : void 0;
37998
- const IsValidValueContext = /* @__PURE__ */ React__namespace.createContext(() => true);
37999
- if (process.env.NODE_ENV !== "production") IsValidValueContext.displayName = "IsValidValueContext";
38000
- function useIsValidValue() {
38001
- return React__namespace.useContext(IsValidValueContext);
38002
- }
38003
- const PickerFieldPrivateContext = /* @__PURE__ */ React__namespace.createContext(null);
38004
- if (process.env.NODE_ENV !== "production") PickerFieldPrivateContext.displayName = "PickerFieldPrivateContext";
38005
- function useNullableFieldPrivateContext() {
38006
- return React__namespace.useContext(PickerFieldPrivateContext);
38007
- }
38008
- const PickerContext = /* @__PURE__ */ React__namespace.createContext(null);
38009
- if (process.env.NODE_ENV !== "production") PickerContext.displayName = "PickerContext";
38010
- const usePickerContext = () => {
38011
- const value = React__namespace.useContext(PickerContext);
38012
- if (value == null) {
38013
- throw new Error("MUI X: The `usePickerContext` hook can only be called inside the context of a Picker component");
38014
- }
38015
- return value;
38016
- };
38017
- const PickerActionsContext = /* @__PURE__ */ React__namespace.createContext(null);
38018
- if (process.env.NODE_ENV !== "production") PickerActionsContext.displayName = "PickerActionsContext";
38019
- const PickerPrivateContext = /* @__PURE__ */ React__namespace.createContext({
38020
- ownerState: {
38021
- isPickerDisabled: false,
38022
- isPickerReadOnly: false,
38023
- isPickerValueEmpty: false,
38024
- isPickerOpen: false,
38025
- pickerVariant: "desktop",
38026
- pickerOrientation: "portrait"
38027
- },
38028
- rootRefObject: {
38029
- current: null
38030
- },
38031
- labelId: void 0,
38032
- dismissViews: () => {
38033
- },
38034
- hasUIView: true,
38035
- getCurrentViewMode: () => "UI",
38036
- triggerElement: null,
38037
- viewContainerRole: null,
38038
- defaultActionBarActions: [],
38039
- onPopperExited: void 0
38040
- });
38041
- if (process.env.NODE_ENV !== "production") PickerPrivateContext.displayName = "PickerPrivateContext";
38042
- function PickerProvider(props) {
36815
+ const PickerActionsContext = /* @__PURE__ */ React__namespace.createContext(null);
36816
+ if (process.env.NODE_ENV !== "production") PickerActionsContext.displayName = "PickerActionsContext";
36817
+ const PickerPrivateContext = /* @__PURE__ */ React__namespace.createContext({
36818
+ ownerState: {
36819
+ isPickerDisabled: false,
36820
+ isPickerReadOnly: false,
36821
+ isPickerValueEmpty: false,
36822
+ isPickerOpen: false,
36823
+ pickerVariant: "desktop",
36824
+ pickerOrientation: "portrait"
36825
+ },
36826
+ rootRefObject: {
36827
+ current: null
36828
+ },
36829
+ labelId: void 0,
36830
+ dismissViews: () => {
36831
+ },
36832
+ hasUIView: true,
36833
+ getCurrentViewMode: () => "UI",
36834
+ triggerElement: null,
36835
+ viewContainerRole: null,
36836
+ defaultActionBarActions: [],
36837
+ onPopperExited: void 0
36838
+ });
36839
+ if (process.env.NODE_ENV !== "production") PickerPrivateContext.displayName = "PickerPrivateContext";
36840
+ function PickerProvider(props) {
38043
36841
  const {
38044
36842
  contextValue,
38045
36843
  actionsContextValue,
@@ -43405,7 +42203,7 @@ const overridesResolver$3 = (props, styles2) => {
43405
42203
  const {
43406
42204
  ownerState
43407
42205
  } = props;
43408
- return [styles2.root, styles2[`position${capitalize$2(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
42206
+ return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
43409
42207
  };
43410
42208
  const useUtilityClasses$11 = (ownerState) => {
43411
42209
  const {
@@ -43417,7 +42215,7 @@ const useUtilityClasses$11 = (ownerState) => {
43417
42215
  variant
43418
42216
  } = ownerState;
43419
42217
  const slots = {
43420
- root: ["root", disablePointerEvents && "disablePointerEvents", position && `position${capitalize$2(position)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize$2(size)}`]
42218
+ root: ["root", disablePointerEvents && "disablePointerEvents", position && `position${capitalize$1(position)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize$1(size)}`]
43421
42219
  };
43422
42220
  return composeClasses$1(slots, getInputAdornmentUtilityClass, classes);
43423
42221
  };
@@ -49645,8 +48443,8 @@ const useUtilityClasses$K = (ownerState) => {
49645
48443
  } = ownerState;
49646
48444
  const slots = {
49647
48445
  root: ["root"],
49648
- container: ["container", `scroll${capitalize$2(scroll)}`],
49649
- paper: ["paper", `paperScroll${capitalize$2(scroll)}`, `paperWidth${capitalize$2(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
48446
+ container: ["container", `scroll${capitalize$1(scroll)}`],
48447
+ paper: ["paper", `paperScroll${capitalize$1(scroll)}`, `paperWidth${capitalize$1(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
49650
48448
  };
49651
48449
  return composeClasses$1(slots, getDialogUtilityClass, classes);
49652
48450
  };
@@ -49667,7 +48465,7 @@ const DialogContainer = styled("div", {
49667
48465
  const {
49668
48466
  ownerState
49669
48467
  } = props;
49670
- return [styles2.container, styles2[`scroll${capitalize$2(ownerState.scroll)}`]];
48468
+ return [styles2.container, styles2[`scroll${capitalize$1(ownerState.scroll)}`]];
49671
48469
  }
49672
48470
  })({
49673
48471
  height: "100%",
@@ -49710,7 +48508,7 @@ const DialogPaper = styled(Paper$1, {
49710
48508
  const {
49711
48509
  ownerState
49712
48510
  } = props;
49713
- return [styles2.paper, styles2[`scrollPaper${capitalize$2(ownerState.scroll)}`], styles2[`paperWidth${capitalize$2(String(ownerState.maxWidth))}`], ownerState.fullWidth && styles2.paperFullWidth, ownerState.fullScreen && styles2.paperFullScreen];
48511
+ return [styles2.paper, styles2[`scrollPaper${capitalize$1(ownerState.scroll)}`], styles2[`paperWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fullWidth && styles2.paperFullWidth, ownerState.fullScreen && styles2.paperFullScreen];
49714
48512
  }
49715
48513
  })(memoTheme(({
49716
48514
  theme: theme2
@@ -51338,7 +50136,7 @@ const useUtilityClasses$J = (ownerState) => {
51338
50136
  disabled
51339
50137
  } = ownerState;
51340
50138
  const slots = {
51341
- root: ["root", icon && label && "labelIcon", `textColor${capitalize$2(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
50139
+ root: ["root", icon && label && "labelIcon", `textColor${capitalize$1(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
51342
50140
  icon: ["iconWrapper", "icon"]
51343
50141
  };
51344
50142
  return composeClasses$1(slots, getTabUtilityClass, classes);
@@ -51350,7 +50148,7 @@ const TabRoot = styled(ButtonBase, {
51350
50148
  const {
51351
50149
  ownerState
51352
50150
  } = props;
51353
- return [styles2.root, ownerState.label && ownerState.icon && styles2.labelIcon, styles2[`textColor${capitalize$2(ownerState.textColor)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.wrapped && styles2.wrapped, {
50151
+ return [styles2.root, ownerState.label && ownerState.icon && styles2.labelIcon, styles2[`textColor${capitalize$1(ownerState.textColor)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.wrapped && styles2.wrapped, {
51354
50152
  [`& .${tabClasses.iconWrapper}`]: styles2.iconWrapper
51355
50153
  }, {
51356
50154
  [`& .${tabClasses.icon}`]: styles2.icon
@@ -51799,7 +50597,7 @@ const TabScrollButton = /* @__PURE__ */ React__namespace.forwardRef(function Tab
51799
50597
  disabled,
51800
50598
  ...other
51801
50599
  } = props;
51802
- const isRtl = useRtl$1();
50600
+ const isRtl = useRtl();
51803
50601
  const ownerState = {
51804
50602
  isRtl,
51805
50603
  ...props
@@ -52140,7 +50938,7 @@ const Tabs$1 = /* @__PURE__ */ React__namespace.forwardRef(function Tabs(inProps
52140
50938
  name: "MuiTabs"
52141
50939
  });
52142
50940
  const theme2 = useTheme();
52143
- const isRtl = useRtl$1();
50941
+ const isRtl = useRtl();
52144
50942
  const {
52145
50943
  "aria-label": ariaLabel,
52146
50944
  "aria-labelledby": ariaLabelledBy,
@@ -57937,10 +56735,10 @@ const useUtilityClasses$t = (ownerState) => {
57937
56735
  variant
57938
56736
  } = ownerState;
57939
56737
  const slots = {
57940
- root: ["root", `anchor${capitalize$2(anchor)}`],
56738
+ root: ["root", `anchor${capitalize$1(anchor)}`],
57941
56739
  docked: [(variant === "permanent" || variant === "persistent") && "docked"],
57942
56740
  modal: ["modal"],
57943
- paper: ["paper", `paperAnchor${capitalize$2(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize$2(anchor)}`]
56741
+ paper: ["paper", `paperAnchor${capitalize$1(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize$1(anchor)}`]
57944
56742
  };
57945
56743
  return composeClasses$1(slots, getDrawerUtilityClass, classes);
57946
56744
  };
@@ -57969,7 +56767,7 @@ const DrawerPaper = styled(Paper$1, {
57969
56767
  const {
57970
56768
  ownerState
57971
56769
  } = props;
57972
- return [styles2.paper, styles2[`paperAnchor${capitalize$2(ownerState.anchor)}`], ownerState.variant !== "temporary" && styles2[`paperAnchorDocked${capitalize$2(ownerState.anchor)}`]];
56770
+ return [styles2.paper, styles2[`paperAnchor${capitalize$1(ownerState.anchor)}`], ownerState.variant !== "temporary" && styles2[`paperAnchorDocked${capitalize$1(ownerState.anchor)}`]];
57973
56771
  }
57974
56772
  })(memoTheme(({
57975
56773
  theme: theme2
@@ -58076,7 +56874,7 @@ const Drawer$1 = /* @__PURE__ */ React__namespace.forwardRef(function Drawer(inP
58076
56874
  name: "MuiDrawer"
58077
56875
  });
58078
56876
  const theme2 = useTheme();
58079
- const isRtl = useRtl$1();
56877
+ const isRtl = useRtl();
58080
56878
  const defaultTransitionDuration = {
58081
56879
  enter: theme2.transitions.duration.enteringScreen,
58082
56880
  exit: theme2.transitions.duration.leavingScreen
@@ -58862,7 +57660,7 @@ const overridesResolver = (props, styles2) => {
58862
57660
  const {
58863
57661
  ownerState
58864
57662
  } = props;
58865
- return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$2(ownerState.size)}`], ownerState.variant === "text" && styles2[`text${capitalize$2(ownerState.color)}`], ownerState.variant === "outlined" && styles2[`outlined${capitalize$2(ownerState.color)}`], ownerState.shape === "rounded" && styles2.rounded, ownerState.type === "page" && styles2.page, (ownerState.type === "start-ellipsis" || ownerState.type === "end-ellipsis") && styles2.ellipsis, (ownerState.type === "previous" || ownerState.type === "next") && styles2.previousNext, (ownerState.type === "first" || ownerState.type === "last") && styles2.firstLast];
57663
+ return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$1(ownerState.size)}`], ownerState.variant === "text" && styles2[`text${capitalize$1(ownerState.color)}`], ownerState.variant === "outlined" && styles2[`outlined${capitalize$1(ownerState.color)}`], ownerState.shape === "rounded" && styles2.rounded, ownerState.type === "page" && styles2.page, (ownerState.type === "start-ellipsis" || ownerState.type === "end-ellipsis") && styles2.ellipsis, (ownerState.type === "previous" || ownerState.type === "next") && styles2.previousNext, (ownerState.type === "first" || ownerState.type === "last") && styles2.firstLast];
58866
57664
  };
58867
57665
  const useUtilityClasses$s = (ownerState) => {
58868
57666
  const {
@@ -58876,7 +57674,7 @@ const useUtilityClasses$s = (ownerState) => {
58876
57674
  variant
58877
57675
  } = ownerState;
58878
57676
  const slots = {
58879
- root: ["root", `size${capitalize$2(size)}`, variant, shape2, color2 !== "standard" && `color${capitalize$2(color2)}`, color2 !== "standard" && `${variant}${capitalize$2(color2)}`, disabled && "disabled", selected && "selected", {
57677
+ root: ["root", `size${capitalize$1(size)}`, variant, shape2, color2 !== "standard" && `color${capitalize$1(color2)}`, color2 !== "standard" && `${variant}${capitalize$1(color2)}`, disabled && "disabled", selected && "selected", {
58880
57678
  page: "page",
58881
57679
  first: "firstLast",
58882
57680
  last: "firstLast",
@@ -59137,7 +57935,7 @@ const PaginationItem = /* @__PURE__ */ React__namespace.forwardRef(function Pagi
59137
57935
  type,
59138
57936
  variant
59139
57937
  };
59140
- const isRtl = useRtl$1();
57938
+ const isRtl = useRtl();
59141
57939
  const classes = useUtilityClasses$s(ownerState);
59142
57940
  const externalForwardedProps = {
59143
57941
  slots: {
@@ -59609,7 +58407,7 @@ const useUtilityClasses$q = (ownerState) => {
59609
58407
  focusVisible
59610
58408
  } = ownerState;
59611
58409
  const slots = {
59612
- root: ["root", `size${capitalize$2(size)}`, disabled && "disabled", focusVisible && "focusVisible", readOnly && "readOnly"],
58410
+ root: ["root", `size${capitalize$1(size)}`, disabled && "disabled", focusVisible && "focusVisible", readOnly && "readOnly"],
59613
58411
  label: ["label", "pristine"],
59614
58412
  labelEmptyValue: [emptyValueFocused && "labelEmptyValueActive"],
59615
58413
  icon: ["icon"],
@@ -59632,7 +58430,7 @@ const RatingRoot = styled("span", {
59632
58430
  } = props;
59633
58431
  return [{
59634
58432
  [`& .${ratingClasses.visuallyHidden}`]: styles2.visuallyHidden
59635
- }, styles2.root, styles2[`size${capitalize$2(ownerState.size)}`], ownerState.readOnly && styles2.readOnly];
58433
+ }, styles2.root, styles2[`size${capitalize$1(ownerState.size)}`], ownerState.readOnly && styles2.readOnly];
59636
58434
  }
59637
58435
  })(memoTheme(({
59638
58436
  theme: theme2
@@ -59939,7 +58737,7 @@ const Rating$1 = /* @__PURE__ */ React__namespace.forwardRef(function Rating(inP
59939
58737
  name: "Rating"
59940
58738
  });
59941
58739
  const valueRounded = roundValueToPrecision(valueDerived, precision);
59942
- const isRtl = useRtl$1();
58740
+ const isRtl = useRtl();
59943
58741
  const [{
59944
58742
  hover,
59945
58743
  focus
@@ -61021,7 +59819,7 @@ const useUtilityClasses$o = (ownerState) => {
61021
59819
  anchorOrigin
61022
59820
  } = ownerState;
61023
59821
  const slots = {
61024
- root: ["root", `anchorOrigin${capitalize$2(anchorOrigin.vertical)}${capitalize$2(anchorOrigin.horizontal)}`]
59822
+ root: ["root", `anchorOrigin${capitalize$1(anchorOrigin.vertical)}${capitalize$1(anchorOrigin.horizontal)}`]
61025
59823
  };
61026
59824
  return composeClasses$1(slots, getSnackbarUtilityClass, classes);
61027
59825
  };
@@ -61032,7 +59830,7 @@ const SnackbarRoot = styled("div", {
61032
59830
  const {
61033
59831
  ownerState
61034
59832
  } = props;
61035
- return [styles2.root, styles2[`anchorOrigin${capitalize$2(ownerState.anchorOrigin.vertical)}${capitalize$2(ownerState.anchorOrigin.horizontal)}`]];
59833
+ return [styles2.root, styles2[`anchorOrigin${capitalize$1(ownerState.anchorOrigin.vertical)}${capitalize$1(ownerState.anchorOrigin.horizontal)}`]];
61036
59834
  }
61037
59835
  })(memoTheme(({
61038
59836
  theme: theme2
@@ -61693,7 +60491,7 @@ const useUtilityClasses$n = (ownerState) => {
61693
60491
  size
61694
60492
  } = ownerState;
61695
60493
  const slots = {
61696
- root: ["root", variant, `size${capitalize$2(size)}`, color2 === "inherit" ? "colorInherit" : color2]
60494
+ root: ["root", variant, `size${capitalize$1(size)}`, color2 === "inherit" ? "colorInherit" : color2]
61697
60495
  };
61698
60496
  const composedClasses = composeClasses$1(slots, getFabUtilityClass, classes);
61699
60497
  return {
@@ -61710,7 +60508,7 @@ const FabRoot = styled(ButtonBase, {
61710
60508
  const {
61711
60509
  ownerState
61712
60510
  } = props;
61713
- return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$2(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, styles2[capitalize$2(ownerState.size)], styles2[ownerState.color]];
60511
+ return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$1(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, styles2[capitalize$1(ownerState.size)], styles2[ownerState.color]];
61714
60512
  }
61715
60513
  })(memoTheme(({
61716
60514
  theme: theme2
@@ -61950,7 +60748,7 @@ const useUtilityClasses$m = (ownerState) => {
61950
60748
  direction
61951
60749
  } = ownerState;
61952
60750
  const slots = {
61953
- root: ["root", `direction${capitalize$2(direction)}`],
60751
+ root: ["root", `direction${capitalize$1(direction)}`],
61954
60752
  fab: ["fab"],
61955
60753
  actions: ["actions", !open && "actionsClosed"]
61956
60754
  };
@@ -61974,7 +60772,7 @@ const SpeedDialRoot = styled("div", {
61974
60772
  const {
61975
60773
  ownerState
61976
60774
  } = props;
61977
- return [styles2.root, styles2[`direction${capitalize$2(ownerState.direction)}`]];
60775
+ return [styles2.root, styles2[`direction${capitalize$1(ownerState.direction)}`]];
61978
60776
  }
61979
60777
  })(memoTheme(({
61980
60778
  theme: theme2
@@ -62488,7 +61286,7 @@ const useUtilityClasses$l = (ownerState) => {
62488
61286
  } = ownerState;
62489
61287
  const slots = {
62490
61288
  fab: ["fab", !open && "fabClosed"],
62491
- staticTooltip: ["staticTooltip", `tooltipPlacement${capitalize$2(tooltipPlacement)}`, !open && "staticTooltipClosed"],
61289
+ staticTooltip: ["staticTooltip", `tooltipPlacement${capitalize$1(tooltipPlacement)}`, !open && "staticTooltipClosed"],
62492
61290
  staticTooltipLabel: ["staticTooltipLabel"]
62493
61291
  };
62494
61292
  return composeClasses$1(slots, getSpeedDialActionUtilityClass, classes);
@@ -62533,7 +61331,7 @@ const SpeedDialActionStaticTooltip = styled("span", {
62533
61331
  const {
62534
61332
  ownerState
62535
61333
  } = props;
62536
- return [styles2.staticTooltip, !ownerState.open && styles2.staticTooltipClosed, styles2[`tooltipPlacement${capitalize$2(ownerState.tooltipPlacement)}`]];
61334
+ return [styles2.staticTooltip, !ownerState.open && styles2.staticTooltipClosed, styles2[`tooltipPlacement${capitalize$1(ownerState.tooltipPlacement)}`]];
62537
61335
  }
62538
61336
  })(memoTheme(({
62539
61337
  theme: theme2
@@ -63013,7 +61811,7 @@ const useUtilityClasses$j = (ownerState) => {
63013
61811
  } = ownerState;
63014
61812
  const slots = {
63015
61813
  root: ["root", orientation, alternativeLabel && "alternativeLabel", active && "active", completed && "completed", disabled && "disabled"],
63016
- line: ["line", `line${capitalize$2(orientation)}`]
61814
+ line: ["line", `line${capitalize$1(orientation)}`]
63017
61815
  };
63018
61816
  return composeClasses$1(slots, getStepConnectorUtilityClass, classes);
63019
61817
  };
@@ -63055,7 +61853,7 @@ const StepConnectorLine = styled("span", {
63055
61853
  const {
63056
61854
  ownerState
63057
61855
  } = props;
63058
- return [styles2.line, styles2[`line${capitalize$2(ownerState.orientation)}`]];
61856
+ return [styles2.line, styles2[`line${capitalize$1(ownerState.orientation)}`]];
63059
61857
  }
63060
61858
  })(memoTheme(({
63061
61859
  theme: theme2
@@ -64468,7 +63266,7 @@ const useUtilityClasses$8 = (ownerState) => {
64468
63266
  stickyHeader
64469
63267
  } = ownerState;
64470
63268
  const slots = {
64471
- root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize$2(align)}`, padding2 !== "normal" && `padding${capitalize$2(padding2)}`, `size${capitalize$2(size)}`]
63269
+ root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize$1(align)}`, padding2 !== "normal" && `padding${capitalize$1(padding2)}`, `size${capitalize$1(size)}`]
64472
63270
  };
64473
63271
  return composeClasses$1(slots, getTableCellUtilityClass, classes);
64474
63272
  };
@@ -64479,7 +63277,7 @@ const TableCellRoot = styled("td", {
64479
63277
  const {
64480
63278
  ownerState
64481
63279
  } = props;
64482
- return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$2(ownerState.size)}`], ownerState.padding !== "normal" && styles2[`padding${capitalize$2(ownerState.padding)}`], ownerState.align !== "inherit" && styles2[`align${capitalize$2(ownerState.align)}`], ownerState.stickyHeader && styles2.stickyHeader];
63280
+ return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$1(ownerState.size)}`], ownerState.padding !== "normal" && styles2[`padding${capitalize$1(ownerState.padding)}`], ownerState.align !== "inherit" && styles2[`align${capitalize$1(ownerState.align)}`], ownerState.stickyHeader && styles2.stickyHeader];
64483
63281
  }
64484
63282
  })(memoTheme(({
64485
63283
  theme: theme2
@@ -66375,7 +65173,7 @@ function getTimelineUtilityClass(slot) {
66375
65173
  }
66376
65174
  generateUtilityClasses$1("MuiTimeline", ["root", "positionLeft", "positionRight", "positionAlternate", "positionAlternateReverse"]);
66377
65175
  function convertTimelinePositionToClass(position) {
66378
- return position === "alternate-reverse" ? "positionAlternateReverse" : `position${capitalize$2(position)}`;
65176
+ return position === "alternate-reverse" ? "positionAlternateReverse" : `position${capitalize$1(position)}`;
66379
65177
  }
66380
65178
  const useUtilityClasses$6 = (ownerState) => {
66381
65179
  const {
@@ -66810,7 +65608,7 @@ const useUtilityClasses$1 = (ownerState) => {
66810
65608
  classes
66811
65609
  } = ownerState;
66812
65610
  const slots = {
66813
- root: ["root", variant, color2 !== "inherit" && `${variant}${capitalize$2(color2)}`]
65611
+ root: ["root", variant, color2 !== "inherit" && `${variant}${capitalize$1(color2)}`]
66814
65612
  };
66815
65613
  return composeClasses$1(slots, getTimelineDotUtilityClass, classes);
66816
65614
  };
@@ -66821,7 +65619,7 @@ const TimelineDotRoot = styled("span", {
66821
65619
  const {
66822
65620
  ownerState
66823
65621
  } = props;
66824
- return [styles2.root, styles2[ownerState.color !== "inherit" && `${ownerState.variant}${capitalize$2(ownerState.color)}`], styles2[ownerState.variant]];
65622
+ return [styles2.root, styles2[ownerState.color !== "inherit" && `${ownerState.variant}${capitalize$1(ownerState.color)}`], styles2[ownerState.variant]];
66825
65623
  }
66826
65624
  })(({
66827
65625
  ownerState,
@@ -68522,7 +67320,7 @@ exports.colors = colors;
68522
67320
  exports.darkTheme = darkTheme;
68523
67321
  exports.isSidenavGroup = isSidenavGroup;
68524
67322
  exports.lightTheme = lightTheme;
68525
- exports.shape = shape$1;
67323
+ exports.shape = shape;
68526
67324
  exports.spacing = spacing;
68527
67325
  exports.theme = theme;
68528
67326
  exports.tokens = tokens;