@vitessce/vit-s 3.5.1 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/index.js +309 -502
  2. package/dist-tsc/VitessceGrid.d.ts.map +1 -1
  3. package/dist-tsc/VitessceGrid.js +1 -1
  4. package/dist-tsc/data-hook-utils.d.ts +1 -1
  5. package/dist-tsc/data-hook-utils.d.ts.map +1 -1
  6. package/dist-tsc/data-hook-utils.js +1 -1
  7. package/dist-tsc/data-hooks-multilevel-utils.js +1 -1
  8. package/dist-tsc/data-hooks.js +1 -1
  9. package/dist-tsc/hooks.d.ts +14 -0
  10. package/dist-tsc/hooks.d.ts.map +1 -1
  11. package/dist-tsc/hooks.js +39 -1
  12. package/dist-tsc/index.d.ts +2 -3
  13. package/dist-tsc/index.js +2 -3
  14. package/dist-tsc/state/hooks.d.ts.map +1 -1
  15. package/dist-tsc/state/hooks.js +14 -2
  16. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.d.ts.map +1 -1
  17. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.js +7 -3
  18. package/dist-tsc/vitessce-grid-utils.js +1 -1
  19. package/package.json +9 -8
  20. package/src/VitessceGrid.js +3 -0
  21. package/src/data-hook-utils.js +4 -4
  22. package/src/data-hooks-multilevel-utils.js +3 -3
  23. package/src/data-hooks.js +3 -3
  24. package/src/hooks.js +43 -1
  25. package/src/index.js +2 -12
  26. package/src/state/hooks.js +15 -2
  27. package/src/vitessce-grid-layout/VitessceGridLayout.js +18 -7
  28. package/src/vitessce-grid-utils.js +1 -1
  29. package/dist-tsc/data/AbstractLoader.d.ts +0 -28
  30. package/dist-tsc/data/AbstractLoader.d.ts.map +0 -1
  31. package/dist-tsc/data/AbstractLoader.js +0 -29
  32. package/dist-tsc/data/AbstractTwoStepLoader.d.ts +0 -16
  33. package/dist-tsc/data/AbstractTwoStepLoader.d.ts.map +0 -1
  34. package/dist-tsc/data/AbstractTwoStepLoader.js +0 -17
  35. package/dist-tsc/data/LoaderResult.d.ts +0 -17
  36. package/dist-tsc/data/LoaderResult.d.ts.map +0 -1
  37. package/dist-tsc/data/LoaderResult.js +0 -18
  38. package/dist-tsc/data/index.d.ts +0 -4
  39. package/dist-tsc/data/index.d.ts.map +0 -1
  40. package/dist-tsc/data/index.js +0 -3
  41. package/dist-tsc/data/loader-registry.d.ts +0 -9
  42. package/dist-tsc/data/loader-registry.d.ts.map +0 -1
  43. package/dist-tsc/data/loader-registry.js +0 -27
  44. package/dist-tsc/errors/AbstractLoaderError.d.ts +0 -10
  45. package/dist-tsc/errors/AbstractLoaderError.d.ts.map +0 -1
  46. package/dist-tsc/errors/AbstractLoaderError.js +0 -13
  47. package/dist-tsc/errors/DataSourceFetchError.d.ts +0 -8
  48. package/dist-tsc/errors/DataSourceFetchError.d.ts.map +0 -1
  49. package/dist-tsc/errors/DataSourceFetchError.js +0 -13
  50. package/dist-tsc/errors/DatasetNotFoundError.d.ts +0 -6
  51. package/dist-tsc/errors/DatasetNotFoundError.d.ts.map +0 -1
  52. package/dist-tsc/errors/DatasetNotFoundError.js +0 -17
  53. package/dist-tsc/errors/LoaderNotFoundError.d.ts +0 -10
  54. package/dist-tsc/errors/LoaderNotFoundError.d.ts.map +0 -1
  55. package/dist-tsc/errors/LoaderNotFoundError.js +0 -17
  56. package/dist-tsc/errors/LoaderValidationError.d.ts +0 -10
  57. package/dist-tsc/errors/LoaderValidationError.d.ts.map +0 -1
  58. package/dist-tsc/errors/LoaderValidationError.js +0 -15
  59. package/dist-tsc/errors/index.d.ts +0 -6
  60. package/dist-tsc/errors/index.d.ts.map +0 -1
  61. package/dist-tsc/errors/index.js +0 -5
  62. package/src/data/AbstractLoader.js +0 -41
  63. package/src/data/AbstractTwoStepLoader.js +0 -19
  64. package/src/data/LoaderResult.js +0 -19
  65. package/src/data/index.js +0 -3
  66. package/src/data/loader-registry.js +0 -28
  67. package/src/errors/AbstractLoaderError.js +0 -14
  68. package/src/errors/DataSourceFetchError.js +0 -15
  69. package/src/errors/DatasetNotFoundError.js +0 -23
  70. package/src/errors/LoaderNotFoundError.js +0 -24
  71. package/src/errors/LoaderValidationError.js +0 -23
  72. package/src/errors/index.js +0 -5
package/dist/index.js CHANGED
@@ -1290,16 +1290,16 @@ function _extends$6() {
1290
1290
  };
1291
1291
  return _extends$6.apply(this, arguments);
1292
1292
  }
1293
- function _typeof$8(obj) {
1293
+ function _typeof$7(obj) {
1294
1294
  "@babel/helpers - typeof";
1295
- return _typeof$8 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
1295
+ return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
1296
1296
  return typeof obj2;
1297
1297
  } : function(obj2) {
1298
1298
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
1299
- }, _typeof$8(obj);
1299
+ }, _typeof$7(obj);
1300
1300
  }
1301
1301
  function isPlainObject$1(item) {
1302
- return item && _typeof$8(item) === "object" && item.constructor === Object;
1302
+ return item && _typeof$7(item) === "object" && item.constructor === Object;
1303
1303
  }
1304
1304
  function deepmerge(target, source) {
1305
1305
  var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
@@ -2096,12 +2096,12 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
2096
2096
  }
2097
2097
  const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
2098
2098
  function _toPrimitive(input, hint) {
2099
- if (_typeof$8(input) !== "object" || input === null)
2099
+ if (_typeof$7(input) !== "object" || input === null)
2100
2100
  return input;
2101
2101
  var prim = input[Symbol.toPrimitive];
2102
2102
  if (prim !== void 0) {
2103
2103
  var res = prim.call(input, hint || "default");
2104
- if (_typeof$8(res) !== "object")
2104
+ if (_typeof$7(res) !== "object")
2105
2105
  return res;
2106
2106
  throw new TypeError("@@toPrimitive must return a primitive value.");
2107
2107
  }
@@ -2109,9 +2109,9 @@ function _toPrimitive(input, hint) {
2109
2109
  }
2110
2110
  function _toPropertyKey(arg) {
2111
2111
  var key = _toPrimitive(arg, "string");
2112
- return _typeof$8(key) === "symbol" ? key : String(key);
2112
+ return _typeof$7(key) === "symbol" ? key : String(key);
2113
2113
  }
2114
- function _defineProperty$b(obj, key, value) {
2114
+ function _defineProperty$a(obj, key, value) {
2115
2115
  key = _toPropertyKey(key);
2116
2116
  if (key in obj) {
2117
2117
  Object.defineProperty(obj, key, {
@@ -2127,7 +2127,7 @@ function _defineProperty$b(obj, key, value) {
2127
2127
  }
2128
2128
  var specialProperty = "exact-prop: ​";
2129
2129
  function exactProp(propTypes2) {
2130
- return _extends$6({}, propTypes2, _defineProperty$b({}, specialProperty, function(props) {
2130
+ return _extends$6({}, propTypes2, _defineProperty$a({}, specialProperty, function(props) {
2131
2131
  var unsupportedProps = Object.keys(props).filter(function(prop) {
2132
2132
  return !propTypes2.hasOwnProperty(prop);
2133
2133
  });
@@ -2358,7 +2358,7 @@ function getDisplayName(Component) {
2358
2358
  if (typeof Component === "function") {
2359
2359
  return getFunctionComponentName(Component, "Component");
2360
2360
  }
2361
- if (_typeof$8(Component) === "object") {
2361
+ if (_typeof$7(Component) === "object") {
2362
2362
  switch (Component.$$typeof) {
2363
2363
  case reactIsExports.ForwardRef:
2364
2364
  return getWrappedName(Component, Component.render, "ForwardRef");
@@ -2509,20 +2509,7 @@ function lighten(color2, coefficient) {
2509
2509
  }
2510
2510
  return recomposeColor(color2);
2511
2511
  }
2512
- function _defineProperty$a(obj, key, value) {
2513
- if (key in obj) {
2514
- Object.defineProperty(obj, key, {
2515
- value,
2516
- enumerable: true,
2517
- configurable: true,
2518
- writable: true
2519
- });
2520
- } else {
2521
- obj[key] = value;
2522
- }
2523
- return obj;
2524
- }
2525
- function _objectWithoutPropertiesLoose$5(source, excluded) {
2512
+ function _objectWithoutPropertiesLoose$4(source, excluded) {
2526
2513
  if (source == null)
2527
2514
  return {};
2528
2515
  var target = {};
@@ -2536,10 +2523,10 @@ function _objectWithoutPropertiesLoose$5(source, excluded) {
2536
2523
  }
2537
2524
  return target;
2538
2525
  }
2539
- function _objectWithoutProperties$3(source, excluded) {
2526
+ function _objectWithoutProperties$2(source, excluded) {
2540
2527
  if (source == null)
2541
2528
  return {};
2542
- var target = _objectWithoutPropertiesLoose$5(source, excluded);
2529
+ var target = _objectWithoutPropertiesLoose$4(source, excluded);
2543
2530
  var key, i;
2544
2531
  if (Object.getOwnPropertySymbols) {
2545
2532
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -2554,20 +2541,6 @@ function _objectWithoutProperties$3(source, excluded) {
2554
2541
  }
2555
2542
  return target;
2556
2543
  }
2557
- function _extends$5() {
2558
- _extends$5 = Object.assign ? Object.assign.bind() : function(target) {
2559
- for (var i = 1; i < arguments.length; i++) {
2560
- var source = arguments[i];
2561
- for (var key in source) {
2562
- if (Object.prototype.hasOwnProperty.call(source, key)) {
2563
- target[key] = source[key];
2564
- }
2565
- }
2566
- }
2567
- return target;
2568
- };
2569
- return _extends$5.apply(this, arguments);
2570
- }
2571
2544
  var keys$3 = ["xs", "sm", "md", "lg", "xl"];
2572
2545
  function createBreakpoints(breakpoints) {
2573
2546
  var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
@@ -2576,7 +2549,7 @@ function createBreakpoints(breakpoints) {
2576
2549
  md: 960,
2577
2550
  lg: 1280,
2578
2551
  xl: 1920
2579
- } : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit = _breakpoints$unit === void 0 ? "px" : _breakpoints$unit, _breakpoints$step = breakpoints.step, step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, other = _objectWithoutProperties$3(breakpoints, ["values", "unit", "step"]);
2552
+ } : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit = _breakpoints$unit === void 0 ? "px" : _breakpoints$unit, _breakpoints$step = breakpoints.step, step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, other = _objectWithoutProperties$2(breakpoints, ["values", "unit", "step"]);
2580
2553
  function up2(key) {
2581
2554
  var value = typeof values2[key] === "number" ? values2[key] : key;
2582
2555
  return "@media (min-width:".concat(value).concat(unit, ")");
@@ -2610,7 +2583,7 @@ function createBreakpoints(breakpoints) {
2610
2583
  }
2611
2584
  return values2[key];
2612
2585
  }
2613
- return _extends$5({
2586
+ return _extends$6({
2614
2587
  keys: keys$3,
2615
2588
  values: values2,
2616
2589
  up: up2,
@@ -2622,14 +2595,14 @@ function createBreakpoints(breakpoints) {
2622
2595
  }
2623
2596
  function createMixins(breakpoints, spacing2, mixins) {
2624
2597
  var _toolbar;
2625
- return _extends$5({
2598
+ return _extends$6({
2626
2599
  gutters: function gutters() {
2627
2600
  var styles20 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2628
2601
  console.warn(["Material-UI: theme.mixins.gutters() is deprecated.", "You can use the source of the mixin directly:", "\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n"));
2629
- return _extends$5({
2602
+ return _extends$6({
2630
2603
  paddingLeft: spacing2(2),
2631
2604
  paddingRight: spacing2(2)
2632
- }, styles20, _defineProperty$a({}, breakpoints.up("sm"), _extends$5({
2605
+ }, styles20, _defineProperty$a({}, breakpoints.up("sm"), _extends$6({
2633
2606
  paddingLeft: spacing2(3),
2634
2607
  paddingRight: spacing2(3)
2635
2608
  }, styles20[breakpoints.up("sm")])));
@@ -2748,7 +2721,7 @@ function createPalette(palette2) {
2748
2721
  light: green$1[300],
2749
2722
  main: green$1[500],
2750
2723
  dark: green$1[700]
2751
- } : _palette$success, _palette$type = palette2.type, type3 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette2.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette2.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$3(palette2, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
2724
+ } : _palette$success, _palette$type = palette2.type, type3 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette2.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette2.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$2(palette2, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
2752
2725
  function getContrastText(background) {
2753
2726
  var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
2754
2727
  {
@@ -2763,7 +2736,7 @@ function createPalette(palette2) {
2763
2736
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
2764
2737
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
2765
2738
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
2766
- color2 = _extends$5({}, color2);
2739
+ color2 = _extends$6({}, color2);
2767
2740
  if (!color2.main && color2[mainShade]) {
2768
2741
  color2.main = color2[mainShade];
2769
2742
  }
@@ -2789,7 +2762,7 @@ function createPalette(palette2) {
2789
2762
  console.error("Material-UI: The palette type `".concat(type3, "` is not supported."));
2790
2763
  }
2791
2764
  }
2792
- var paletteOutput = deepmerge(_extends$5({
2765
+ var paletteOutput = deepmerge(_extends$6({
2793
2766
  // A collection of common colors.
2794
2767
  common: common$1,
2795
2768
  // The palette type, can be light or dark.
@@ -2840,7 +2813,7 @@ var caseAllCaps = {
2840
2813
  };
2841
2814
  var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
2842
2815
  function createTypography(palette2, typography2) {
2843
- var _ref3 = typeof typography2 === "function" ? typography2(palette2) : typography2, _ref$fontFamily = _ref3.fontFamily, fontFamily2 = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref3.fontSize, fontSize2 = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref3.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref3.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref3.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref3.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref3.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref3.allVariants, pxToRem2 = _ref3.pxToRem, other = _objectWithoutProperties$3(_ref3, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
2816
+ var _ref3 = typeof typography2 === "function" ? typography2(palette2) : typography2, _ref$fontFamily = _ref3.fontFamily, fontFamily2 = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref3.fontSize, fontSize2 = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref3.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref3.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref3.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref3.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref3.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref3.allVariants, pxToRem2 = _ref3.pxToRem, other = _objectWithoutProperties$2(_ref3, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
2844
2817
  {
2845
2818
  if (typeof fontSize2 !== "number") {
2846
2819
  console.error("Material-UI: `fontSize` is required to be a number.");
@@ -2854,7 +2827,7 @@ function createTypography(palette2, typography2) {
2854
2827
  return "".concat(size / htmlFontSize * coef, "rem");
2855
2828
  };
2856
2829
  var buildVariant = function buildVariant2(fontWeight2, size, lineHeight2, letterSpacing2, casing) {
2857
- return _extends$5({
2830
+ return _extends$6({
2858
2831
  fontFamily: fontFamily2,
2859
2832
  fontWeight: fontWeight2,
2860
2833
  fontSize: pxToRem(size),
@@ -2879,7 +2852,7 @@ function createTypography(palette2, typography2) {
2879
2852
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
2880
2853
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
2881
2854
  };
2882
- return deepmerge(_extends$5({
2855
+ return deepmerge(_extends$6({
2883
2856
  htmlFontSize,
2884
2857
  pxToRem,
2885
2858
  round: roundWithDeprecationWarning,
@@ -2909,39 +2882,39 @@ var shape = {
2909
2882
  const shape$1 = shape;
2910
2883
  var responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]);
2911
2884
  const responsivePropType$1 = responsivePropType;
2912
- function _arrayLikeToArray$3(arr, len) {
2885
+ function _arrayLikeToArray$2(arr, len) {
2913
2886
  if (len == null || len > arr.length)
2914
2887
  len = arr.length;
2915
2888
  for (var i = 0, arr2 = new Array(len); i < len; i++)
2916
2889
  arr2[i] = arr[i];
2917
2890
  return arr2;
2918
2891
  }
2919
- function _arrayWithoutHoles$2(arr) {
2892
+ function _arrayWithoutHoles$1(arr) {
2920
2893
  if (Array.isArray(arr))
2921
- return _arrayLikeToArray$3(arr);
2894
+ return _arrayLikeToArray$2(arr);
2922
2895
  }
2923
- function _iterableToArray$2(iter) {
2896
+ function _iterableToArray$1(iter) {
2924
2897
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
2925
2898
  return Array.from(iter);
2926
2899
  }
2927
- function _unsupportedIterableToArray$3(o, minLen) {
2900
+ function _unsupportedIterableToArray$2(o, minLen) {
2928
2901
  if (!o)
2929
2902
  return;
2930
2903
  if (typeof o === "string")
2931
- return _arrayLikeToArray$3(o, minLen);
2904
+ return _arrayLikeToArray$2(o, minLen);
2932
2905
  var n = Object.prototype.toString.call(o).slice(8, -1);
2933
2906
  if (n === "Object" && o.constructor)
2934
2907
  n = o.constructor.name;
2935
2908
  if (n === "Map" || n === "Set")
2936
2909
  return Array.from(o);
2937
2910
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
2938
- return _arrayLikeToArray$3(o, minLen);
2911
+ return _arrayLikeToArray$2(o, minLen);
2939
2912
  }
2940
- function _nonIterableSpread$2() {
2913
+ function _nonIterableSpread$1() {
2941
2914
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2942
2915
  }
2943
- function _toConsumableArray$2(arr) {
2944
- return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$3(arr) || _nonIterableSpread$2();
2916
+ function _toConsumableArray$1(arr) {
2917
+ return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$1();
2945
2918
  }
2946
2919
  function merge(acc, item) {
2947
2920
  if (!item) {
@@ -2980,7 +2953,7 @@ function handleBreakpoints(props, propValue, styleFromPropValue) {
2980
2953
  return acc;
2981
2954
  }, {});
2982
2955
  }
2983
- if (_typeof$8(propValue) === "object") {
2956
+ if (_typeof$7(propValue) === "object") {
2984
2957
  var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
2985
2958
  return Object.keys(propValue).reduce(function(acc, breakpoint) {
2986
2959
  acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
@@ -3022,11 +2995,11 @@ function style$1(options) {
3022
2995
  if (cssProperty === false) {
3023
2996
  return value;
3024
2997
  }
3025
- return _defineProperty$b({}, cssProperty, value);
2998
+ return _defineProperty$a({}, cssProperty, value);
3026
2999
  };
3027
3000
  return handleBreakpoints(props, propValue, styleFromPropValue);
3028
3001
  };
3029
- fn.propTypes = _defineProperty$b({}, prop, responsivePropType$1);
3002
+ fn.propTypes = _defineProperty$a({}, prop, responsivePropType$1);
3030
3003
  fn.filterProps = [prop];
3031
3004
  return fn;
3032
3005
  }
@@ -3127,7 +3100,7 @@ function styleFunctionSx(styleFunction2) {
3127
3100
  }),
3128
3101
  sx: PropTypes.object
3129
3102
  });
3130
- newStyleFunction.filterProps = ["css", "sx"].concat(_toConsumableArray$2(styleFunction2.filterProps));
3103
+ newStyleFunction.filterProps = ["css", "sx"].concat(_toConsumableArray$1(styleFunction2.filterProps));
3131
3104
  return newStyleFunction;
3132
3105
  }
3133
3106
  var displayPrint = style$1({
@@ -3314,11 +3287,11 @@ var boxSizing = style$1({
3314
3287
  });
3315
3288
  var sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
3316
3289
  const sizing$1 = sizing;
3317
- function _arrayWithHoles$3(arr) {
3290
+ function _arrayWithHoles$2(arr) {
3318
3291
  if (Array.isArray(arr))
3319
3292
  return arr;
3320
3293
  }
3321
- function _iterableToArrayLimit$3(arr, i) {
3294
+ function _iterableToArrayLimit$2(arr, i) {
3322
3295
  var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
3323
3296
  if (null != _i) {
3324
3297
  var _s, _e, _x, _r, _arr = [], _n = true, _d = false;
@@ -3344,11 +3317,11 @@ function _iterableToArrayLimit$3(arr, i) {
3344
3317
  return _arr;
3345
3318
  }
3346
3319
  }
3347
- function _nonIterableRest$3() {
3320
+ function _nonIterableRest$2() {
3348
3321
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3349
3322
  }
3350
- function _slicedToArray$3(arr, i) {
3351
- return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$3();
3323
+ function _slicedToArray$2(arr, i) {
3324
+ return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$2();
3352
3325
  }
3353
3326
  function memoize$2(fn) {
3354
3327
  var cache2 = {};
@@ -3385,7 +3358,7 @@ var getCssProperties = memoize$2(function(prop) {
3385
3358
  return [prop];
3386
3359
  }
3387
3360
  }
3388
- var _prop$split = prop.split(""), _prop$split2 = _slicedToArray$3(_prop$split, 2), a = _prop$split2[0], b = _prop$split2[1];
3361
+ var _prop$split = prop.split(""), _prop$split2 = _slicedToArray$2(_prop$split, 2), a = _prop$split2[0], b = _prop$split2[1];
3389
3362
  var property2 = properties[a];
3390
3363
  var direction = directions[b] || "";
3391
3364
  return Array.isArray(direction) ? direction.map(function(dir) {
@@ -3571,7 +3544,7 @@ const transitions = {
3571
3544
  create: function create() {
3572
3545
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["all"];
3573
3546
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3574
- var _options$duration = options.duration, durationOption = _options$duration === void 0 ? duration.standard : _options$duration, _options$easing = options.easing, easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing, _options$delay = options.delay, delay = _options$delay === void 0 ? 0 : _options$delay, other = _objectWithoutProperties$3(options, ["duration", "easing", "delay"]);
3547
+ var _options$duration = options.duration, durationOption = _options$duration === void 0 ? duration.standard : _options$duration, _options$easing = options.easing, easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing, _options$delay = options.delay, delay = _options$delay === void 0 ? 0 : _options$delay, other = _objectWithoutProperties$2(options, ["duration", "easing", "delay"]);
3575
3548
  {
3576
3549
  var isString = function isString2(value) {
3577
3550
  return typeof value === "string";
@@ -3619,7 +3592,7 @@ var zIndex = {
3619
3592
  const zIndex$1 = zIndex;
3620
3593
  function createTheme() {
3621
3594
  var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3622
- var _options$breakpoints = options.breakpoints, breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, _options$mixins = options.mixins, mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, _options$palette = options.palette, paletteInput = _options$palette === void 0 ? {} : _options$palette, spacingInput = options.spacing, _options$typography = options.typography, typographyInput = _options$typography === void 0 ? {} : _options$typography, other = _objectWithoutProperties$3(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
3595
+ var _options$breakpoints = options.breakpoints, breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, _options$mixins = options.mixins, mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, _options$palette = options.palette, paletteInput = _options$palette === void 0 ? {} : _options$palette, spacingInput = options.spacing, _options$typography = options.typography, typographyInput = _options$typography === void 0 ? {} : _options$typography, other = _objectWithoutProperties$2(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
3623
3596
  var palette2 = createPalette(paletteInput);
3624
3597
  var breakpoints = createBreakpoints(breakpointsInput);
3625
3598
  var spacing2 = createSpacing(spacingInput);
@@ -3738,13 +3711,13 @@ function warning(condition, message) {
3738
3711
  }
3739
3712
  }
3740
3713
  }
3741
- var _typeof$7 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3714
+ var _typeof$6 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3742
3715
  return typeof obj;
3743
3716
  } : function(obj) {
3744
3717
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3745
3718
  };
3746
- var isBrowser$1 = (typeof window === "undefined" ? "undefined" : _typeof$7(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$7(document)) === "object" && document.nodeType === 9;
3747
- function _defineProperties$6(target, props) {
3719
+ var isBrowser$1 = (typeof window === "undefined" ? "undefined" : _typeof$6(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$6(document)) === "object" && document.nodeType === 9;
3720
+ function _defineProperties$5(target, props) {
3748
3721
  for (var i = 0; i < props.length; i++) {
3749
3722
  var descriptor = props[i];
3750
3723
  descriptor.enumerable = descriptor.enumerable || false;
@@ -3754,11 +3727,11 @@ function _defineProperties$6(target, props) {
3754
3727
  Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
3755
3728
  }
3756
3729
  }
3757
- function _createClass$6(Constructor, protoProps, staticProps) {
3730
+ function _createClass$5(Constructor, protoProps, staticProps) {
3758
3731
  if (protoProps)
3759
- _defineProperties$6(Constructor.prototype, protoProps);
3732
+ _defineProperties$5(Constructor.prototype, protoProps);
3760
3733
  if (staticProps)
3761
- _defineProperties$6(Constructor, staticProps);
3734
+ _defineProperties$5(Constructor, staticProps);
3762
3735
  Object.defineProperty(Constructor, "prototype", {
3763
3736
  writable: false
3764
3737
  });
@@ -3782,20 +3755,6 @@ function _assertThisInitialized$5(self2) {
3782
3755
  }
3783
3756
  return self2;
3784
3757
  }
3785
- function _objectWithoutPropertiesLoose$4(source, excluded) {
3786
- if (source == null)
3787
- return {};
3788
- var target = {};
3789
- var sourceKeys = Object.keys(source);
3790
- var key, i;
3791
- for (i = 0; i < sourceKeys.length; i++) {
3792
- key = sourceKeys[i];
3793
- if (excluded.indexOf(key) >= 0)
3794
- continue;
3795
- target[key] = source[key];
3796
- }
3797
- return target;
3798
- }
3799
3758
  var plainObjectConstrurctor = {}.constructor;
3800
3759
  function cloneStyle(style) {
3801
3760
  if (style == null || typeof style !== "object")
@@ -4026,7 +3985,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
4026
3985
  }) : options;
4027
3986
  return toCss(this.selectorText, this.style, opts2);
4028
3987
  };
4029
- _createClass$6(StyleRule2, [{
3988
+ _createClass$5(StyleRule2, [{
4030
3989
  key: "selector",
4031
3990
  set: function set2(selector) {
4032
3991
  if (selector === this.selectorText)
@@ -4761,7 +4720,7 @@ var SheetsRegistry = /* @__PURE__ */ function() {
4761
4720
  }
4762
4721
  return css2;
4763
4722
  };
4764
- _createClass$6(SheetsRegistry2, [{
4723
+ _createClass$5(SheetsRegistry2, [{
4765
4724
  key: "index",
4766
4725
  /**
4767
4726
  * Current highest index number.
@@ -5270,6 +5229,20 @@ var functionPlugin = function functionPlugin2() {
5270
5229
  };
5271
5230
  };
5272
5231
  const functions = functionPlugin;
5232
+ function _extends$5() {
5233
+ _extends$5 = Object.assign ? Object.assign.bind() : function(target) {
5234
+ for (var i = 1; i < arguments.length; i++) {
5235
+ var source = arguments[i];
5236
+ for (var key in source) {
5237
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
5238
+ target[key] = source[key];
5239
+ }
5240
+ }
5241
+ }
5242
+ return target;
5243
+ };
5244
+ return _extends$5.apply(this, arguments);
5245
+ }
5273
5246
  var at = "@global";
5274
5247
  var atPrefix = "@global ";
5275
5248
  var GlobalContainerRule = /* @__PURE__ */ function() {
@@ -6018,7 +5991,7 @@ var propertyDetectors = plugins.filter(function(p) {
6018
5991
  var noPrefill = plugins.filter(function(p) {
6019
5992
  return p.noPrefill;
6020
5993
  }).reduce(function(a, p) {
6021
- a.push.apply(a, _toConsumableArray$2(p.noPrefill));
5994
+ a.push.apply(a, _toConsumableArray$1(p.noPrefill));
6022
5995
  return a;
6023
5996
  }, []);
6024
5997
  var el;
@@ -6194,24 +6167,6 @@ function jssPreset() {
6194
6167
  ]
6195
6168
  };
6196
6169
  }
6197
- function _objectWithoutProperties$2(source, excluded) {
6198
- if (source == null)
6199
- return {};
6200
- var target = _objectWithoutPropertiesLoose$4(source, excluded);
6201
- var key, i;
6202
- if (Object.getOwnPropertySymbols) {
6203
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
6204
- for (i = 0; i < sourceSymbolKeys.length; i++) {
6205
- key = sourceSymbolKeys[i];
6206
- if (excluded.indexOf(key) >= 0)
6207
- continue;
6208
- if (!Object.prototype.propertyIsEnumerable.call(source, key))
6209
- continue;
6210
- target[key] = source[key];
6211
- }
6212
- }
6213
- return target;
6214
- }
6215
6170
  function mergeClasses() {
6216
6171
  var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6217
6172
  var baseClasses = options.baseClasses, newClasses = options.newClasses, Component = options.Component;
@@ -6395,7 +6350,7 @@ const noopTheme$1 = noopTheme;
6395
6350
  function getStylesCreator(stylesOrCreator) {
6396
6351
  var themingEnabled = typeof stylesOrCreator === "function";
6397
6352
  {
6398
- if (_typeof$8(stylesOrCreator) !== "object" && !themingEnabled) {
6353
+ if (_typeof$7(stylesOrCreator) !== "object" && !themingEnabled) {
6399
6354
  console.error(["Material-UI: The `styles` argument provided is invalid.", "You need to provide a function generating the styles or a styles object."].join("\n"));
6400
6355
  }
6401
6356
  }
@@ -6619,6 +6574,11 @@ function makeStyles$1(stylesOrCreator) {
6619
6574
  };
6620
6575
  return useStyles2;
6621
6576
  }
6577
+ function _classCallCheck$5(instance, Constructor) {
6578
+ if (!(instance instanceof Constructor)) {
6579
+ throw new TypeError("Cannot call a class as a function");
6580
+ }
6581
+ }
6622
6582
  function r(e) {
6623
6583
  var t2, f, n = "";
6624
6584
  if ("string" == typeof e || "number" == typeof e)
@@ -6959,14 +6919,14 @@ var defaultTheme = createTheme();
6959
6919
  const defaultTheme$1 = defaultTheme;
6960
6920
  function makeStyles(stylesOrCreator) {
6961
6921
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6962
- return makeStyles$1(stylesOrCreator, _extends$5({
6922
+ return makeStyles$1(stylesOrCreator, _extends$6({
6963
6923
  defaultTheme: defaultTheme$1
6964
6924
  }, options));
6965
6925
  }
6966
6926
  var styled = function styled2(Component) {
6967
6927
  var componentCreator = styled$2(Component);
6968
6928
  return function(style, options) {
6969
- return componentCreator(style, _extends$5({
6929
+ return componentCreator(style, _extends$6({
6970
6930
  defaultTheme: defaultTheme$1
6971
6931
  }, options));
6972
6932
  };
@@ -6980,7 +6940,7 @@ function useTheme() {
6980
6940
  return theme;
6981
6941
  }
6982
6942
  function withStyles2(stylesOrCreator, options) {
6983
- return withStylesWithoutDefault(stylesOrCreator, _extends$5({
6943
+ return withStylesWithoutDefault(stylesOrCreator, _extends$6({
6984
6944
  defaultTheme: defaultTheme$1
6985
6945
  }, options));
6986
6946
  }
@@ -7063,8 +7023,8 @@ var styles$t = function styles(theme) {
7063
7023
  };
7064
7024
  };
7065
7025
  var SvgIcon = /* @__PURE__ */ React$6.forwardRef(function SvgIcon2(props, ref) {
7066
- var children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize2 = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props.htmlColor, titleAccess = props.titleAccess, _props$viewBox = props.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties$3(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
7067
- return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
7026
+ var children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize2 = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props.htmlColor, titleAccess = props.titleAccess, _props$viewBox = props.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties$2(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
7027
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
7068
7028
  className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], fontSize2 !== "default" && fontSize2 !== "medium" && classes["fontSize".concat(capitalize$1(fontSize2))]),
7069
7029
  focusable: "false",
7070
7030
  viewBox,
@@ -7142,7 +7102,7 @@ const SvgIcon$1 = withStyles2(styles$t, {
7142
7102
  })(SvgIcon);
7143
7103
  function createSvgIcon(path, displayName) {
7144
7104
  var Component = function Component2(props, ref) {
7145
- return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$5({
7105
+ return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$6({
7146
7106
  ref
7147
7107
  }, props), path);
7148
7108
  };
@@ -7329,69 +7289,6 @@ function useIsFocusVisible() {
7329
7289
  ref
7330
7290
  };
7331
7291
  }
7332
- function _arrayWithHoles$2(arr) {
7333
- if (Array.isArray(arr))
7334
- return arr;
7335
- }
7336
- function _iterableToArray$1(iter) {
7337
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
7338
- return Array.from(iter);
7339
- }
7340
- function _arrayLikeToArray$2(arr, len) {
7341
- if (len == null || len > arr.length)
7342
- len = arr.length;
7343
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
7344
- arr2[i] = arr[i];
7345
- }
7346
- return arr2;
7347
- }
7348
- function _unsupportedIterableToArray$2(o, minLen) {
7349
- if (!o)
7350
- return;
7351
- if (typeof o === "string")
7352
- return _arrayLikeToArray$2(o, minLen);
7353
- var n = Object.prototype.toString.call(o).slice(8, -1);
7354
- if (n === "Object" && o.constructor)
7355
- n = o.constructor.name;
7356
- if (n === "Map" || n === "Set")
7357
- return Array.from(o);
7358
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
7359
- return _arrayLikeToArray$2(o, minLen);
7360
- }
7361
- function _nonIterableRest$2() {
7362
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7363
- }
7364
- function _iterableToArrayLimit$2(arr, i) {
7365
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
7366
- if (_i == null)
7367
- return;
7368
- var _arr = [];
7369
- var _n = true;
7370
- var _d = false;
7371
- var _s, _e;
7372
- try {
7373
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
7374
- _arr.push(_s.value);
7375
- if (i && _arr.length === i)
7376
- break;
7377
- }
7378
- } catch (err) {
7379
- _d = true;
7380
- _e = err;
7381
- } finally {
7382
- try {
7383
- if (!_n && _i["return"] != null)
7384
- _i["return"]();
7385
- } finally {
7386
- if (_d)
7387
- throw _e;
7388
- }
7389
- }
7390
- return _arr;
7391
- }
7392
- function _slicedToArray$2(arr, i) {
7393
- return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$2();
7394
- }
7395
7292
  const config = {
7396
7293
  disabled: false
7397
7294
  };
@@ -8087,7 +7984,7 @@ var styles$s = function styles2(theme) {
8087
7984
  boxShadow: shadow
8088
7985
  };
8089
7986
  });
8090
- return _extends$5({
7987
+ return _extends$6({
8091
7988
  /* Styles applied to the root element. */
8092
7989
  root: {
8093
7990
  backgroundColor: theme.palette.background.paper,
@@ -8105,8 +8002,8 @@ var styles$s = function styles2(theme) {
8105
8002
  }, elevations);
8106
8003
  };
8107
8004
  var Paper = /* @__PURE__ */ React$6.forwardRef(function Paper2(props, ref) {
8108
- var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _props$square = props.square, square = _props$square === void 0 ? false : _props$square, _props$elevation = props.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "square", "elevation", "variant"]);
8109
- return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
8005
+ var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _props$square = props.square, square = _props$square === void 0 ? false : _props$square, _props$elevation = props.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties$2(props, ["classes", "className", "component", "square", "elevation", "variant"]);
8006
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
8110
8007
  className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
8111
8008
  ref
8112
8009
  }, other));
@@ -8160,16 +8057,6 @@ Paper.propTypes = {
8160
8057
  const Paper$1 = withStyles2(styles$s, {
8161
8058
  name: "MuiPaper"
8162
8059
  })(Paper);
8163
- function _arrayWithoutHoles$1(arr) {
8164
- if (Array.isArray(arr))
8165
- return _arrayLikeToArray$2(arr);
8166
- }
8167
- function _nonIterableSpread$1() {
8168
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8169
- }
8170
- function _toConsumableArray$1(arr) {
8171
- return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$1();
8172
- }
8173
8060
  var useEnhancedEffect$6 = typeof window === "undefined" ? React$6.useEffect : React$6.useLayoutEffect;
8174
8061
  function Ripple(props) {
8175
8062
  var classes = props.classes, _props$pulsate = props.pulsate, pulsate = _props$pulsate === void 0 ? false : _props$pulsate, rippleX = props.rippleX, rippleY = props.rippleY, rippleSize = props.rippleSize, inProp = props.in, _props$onExited = props.onExited, onExited = _props$onExited === void 0 ? function() {
@@ -8320,7 +8207,7 @@ var styles$r = function styles3(theme) {
8320
8207
  };
8321
8208
  };
8322
8209
  var TouchRipple = /* @__PURE__ */ React$6.forwardRef(function TouchRipple2(props, ref) {
8323
- var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties$3(props, ["center", "classes", "className"]);
8210
+ var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties$2(props, ["center", "classes", "className"]);
8324
8211
  var _React$useState = React$6.useState([]), ripples = _React$useState[0], setRipples = _React$useState[1];
8325
8212
  var nextKey = React$6.useRef(0);
8326
8213
  var rippleCallback = React$6.useRef(null);
@@ -8455,7 +8342,7 @@ var TouchRipple = /* @__PURE__ */ React$6.forwardRef(function TouchRipple2(props
8455
8342
  stop
8456
8343
  };
8457
8344
  }, [pulsate, start, stop]);
8458
- return /* @__PURE__ */ React$6.createElement("span", _extends$5({
8345
+ return /* @__PURE__ */ React$6.createElement("span", _extends$6({
8459
8346
  className: clsx(classes.root, className),
8460
8347
  ref: container
8461
8348
  }, other), /* @__PURE__ */ React$6.createElement(TransitionGroup$1, {
@@ -8530,7 +8417,7 @@ var styles$q = {
8530
8417
  focusVisible: {}
8531
8418
  };
8532
8419
  var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props, ref) {
8533
- var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "button" : _props$component, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableRipple = props.disableRipple, disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple, _props$disableTouchRi = props.disableTouchRipple, disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi, _props$focusRipple = props.focusRipple, focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple, focusVisibleClassName = props.focusVisibleClassName, onBlur = props.onBlur, onClick = props.onClick, onFocus = props.onFocus, onFocusVisible = props.onFocusVisible, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, onMouseDown2 = props.onMouseDown, onMouseLeave = props.onMouseLeave, onMouseUp = props.onMouseUp, onTouchEnd = props.onTouchEnd, onTouchMove = props.onTouchMove, onTouchStart = props.onTouchStart, onDragLeave = props.onDragLeave, _props$tabIndex = props.tabIndex, tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, TouchRippleProps = props.TouchRippleProps, _props$type = props.type, type3 = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties$3(props, ["action", "buttonRef", "centerRipple", "children", "classes", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "onDragLeave", "tabIndex", "TouchRippleProps", "type"]);
8420
+ var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "button" : _props$component, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableRipple = props.disableRipple, disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple, _props$disableTouchRi = props.disableTouchRipple, disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi, _props$focusRipple = props.focusRipple, focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple, focusVisibleClassName = props.focusVisibleClassName, onBlur = props.onBlur, onClick = props.onClick, onFocus = props.onFocus, onFocusVisible = props.onFocusVisible, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, onMouseDown2 = props.onMouseDown, onMouseLeave = props.onMouseLeave, onMouseUp = props.onMouseUp, onTouchEnd = props.onTouchEnd, onTouchMove = props.onTouchMove, onTouchStart = props.onTouchStart, onDragLeave = props.onDragLeave, _props$tabIndex = props.tabIndex, tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, TouchRippleProps = props.TouchRippleProps, _props$type = props.type, type3 = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties$2(props, ["action", "buttonRef", "centerRipple", "children", "classes", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "onDragLeave", "tabIndex", "TouchRippleProps", "type"]);
8534
8421
  var buttonRef = React$6.useRef(null);
8535
8422
  function getButtonNode() {
8536
8423
  return ReactDOM.findDOMNode(buttonRef.current);
@@ -8674,7 +8561,7 @@ var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props,
8674
8561
  }
8675
8562
  }, [enableTouchRipple]);
8676
8563
  }
8677
- return /* @__PURE__ */ React$6.createElement(ComponentProp, _extends$5({
8564
+ return /* @__PURE__ */ React$6.createElement(ComponentProp, _extends$6({
8678
8565
  className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
8679
8566
  onBlur: handleBlur,
8680
8567
  onClick,
@@ -8692,7 +8579,7 @@ var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props,
8692
8579
  tabIndex: disabled ? -1 : tabIndex
8693
8580
  }, buttonProps, other), children2, enableTouchRipple ? (
8694
8581
  /* TouchRipple is only needed client-side, x2 boost on the server. */
8695
- /* @__PURE__ */ React$6.createElement(TouchRipple$1, _extends$5({
8582
+ /* @__PURE__ */ React$6.createElement(TouchRipple$1, _extends$6({
8696
8583
  ref: rippleRef,
8697
8584
  center: centerRipple
8698
8585
  }, TouchRippleProps))
@@ -8923,8 +8810,8 @@ var styles$p = function styles4(theme) {
8923
8810
  };
8924
8811
  };
8925
8812
  var IconButton = /* @__PURE__ */ React$6.forwardRef(function IconButton2(props, ref) {
8926
- var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "default" : _props$color, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$3(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
8927
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$5({
8813
+ var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "default" : _props$color, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$2(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
8814
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$6({
8928
8815
  className: clsx(classes.root, className, color2 !== "default" && classes["color".concat(capitalize$1(color2))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize$1(size))], {
8929
8816
  "start": classes.edgeStart,
8930
8817
  "end": classes.edgeEnd
@@ -9004,7 +8891,7 @@ var defaultTimeout = {
9004
8891
  exit: duration.leavingScreen
9005
8892
  };
9006
8893
  var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props, ref) {
9007
- var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? defaultTimeout : _props$timeout, other = _objectWithoutProperties$3(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "TransitionComponent", "timeout"]);
8894
+ var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? defaultTimeout : _props$timeout, other = _objectWithoutProperties$2(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "TransitionComponent", "timeout"]);
9008
8895
  var theme = useTheme();
9009
8896
  var enableStrictModeCompat = theme.unstable_strictMode && !disableStrictModeCompat;
9010
8897
  var nodeRef = React$6.useRef(null);
@@ -9053,7 +8940,7 @@ var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props, ref) {
9053
8940
  }
9054
8941
  });
9055
8942
  var handleExited = normalizedTransitionCallback(onExited);
9056
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$5({
8943
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$6({
9057
8944
  appear: true,
9058
8945
  in: inProp,
9059
8946
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -9065,8 +8952,8 @@ var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props, ref) {
9065
8952
  onExiting: handleExiting,
9066
8953
  timeout: timeout2
9067
8954
  }, other), function(state, childProps) {
9068
- return /* @__PURE__ */ React$6.cloneElement(children2, _extends$5({
9069
- style: _extends$5({
8955
+ return /* @__PURE__ */ React$6.cloneElement(children2, _extends$6({
8956
+ style: _extends$6({
9070
8957
  opacity: 0,
9071
8958
  visibility: state === "exited" && !inProp ? "hidden" : void 0
9072
8959
  }, styles$o[state], style, children2.props.style),
@@ -9253,9 +9140,9 @@ var defaultVariantMapping = {
9253
9140
  body2: "p"
9254
9141
  };
9255
9142
  var Typography = /* @__PURE__ */ React$6.forwardRef(function Typography2(props, ref) {
9256
- var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "initial" : _props$color, component = props.component, _props$display = props.display, display2 = _props$display === void 0 ? "initial" : _props$display, _props$gutterBottom = props.gutterBottom, gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom, _props$noWrap = props.noWrap, noWrap = _props$noWrap === void 0 ? false : _props$noWrap, _props$paragraph = props.paragraph, paragraph = _props$paragraph === void 0 ? false : _props$paragraph, _props$variant = props.variant, variant = _props$variant === void 0 ? "body1" : _props$variant, _props$variantMapping = props.variantMapping, variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping, other = _objectWithoutProperties$3(props, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
9143
+ var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "initial" : _props$color, component = props.component, _props$display = props.display, display2 = _props$display === void 0 ? "initial" : _props$display, _props$gutterBottom = props.gutterBottom, gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom, _props$noWrap = props.noWrap, noWrap = _props$noWrap === void 0 ? false : _props$noWrap, _props$paragraph = props.paragraph, paragraph = _props$paragraph === void 0 ? false : _props$paragraph, _props$variant = props.variant, variant = _props$variant === void 0 ? "body1" : _props$variant, _props$variantMapping = props.variantMapping, variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping, other = _objectWithoutProperties$2(props, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
9257
9144
  var Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
9258
- return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
9145
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
9259
9146
  className: clsx(classes.root, className, variant !== "inherit" && classes[variant], color2 !== "initial" && classes["color".concat(capitalize$1(color2))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== "inherit" && classes["align".concat(capitalize$1(align))], display2 !== "initial" && classes["display".concat(capitalize$1(display2))]),
9260
9147
  ref
9261
9148
  }, other));
@@ -9417,7 +9304,7 @@ var styles$m = function styles6(theme) {
9417
9304
  };
9418
9305
  };
9419
9306
  var CircularProgress = /* @__PURE__ */ React$6.forwardRef(function CircularProgress2(props, ref) {
9420
- var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$disableShrink = props.disableShrink, disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink, _props$size = props.size, size = _props$size === void 0 ? 40 : _props$size, style = props.style, _props$thickness = props.thickness, thickness = _props$thickness === void 0 ? 3.6 : _props$thickness, _props$value = props.value, value = _props$value === void 0 ? 0 : _props$value, _props$variant = props.variant, variant = _props$variant === void 0 ? "indeterminate" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"]);
9307
+ var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$disableShrink = props.disableShrink, disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink, _props$size = props.size, size = _props$size === void 0 ? 40 : _props$size, style = props.style, _props$thickness = props.thickness, thickness = _props$thickness === void 0 ? 3.6 : _props$thickness, _props$value = props.value, value = _props$value === void 0 ? 0 : _props$value, _props$variant = props.variant, variant = _props$variant === void 0 ? "indeterminate" : _props$variant, other = _objectWithoutProperties$2(props, ["classes", "className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"]);
9421
9308
  var circleStyle = {};
9422
9309
  var rootStyle = {};
9423
9310
  var rootProps = {};
@@ -9428,13 +9315,13 @@ var CircularProgress = /* @__PURE__ */ React$6.forwardRef(function CircularProgr
9428
9315
  circleStyle.strokeDashoffset = "".concat(((100 - value) / 100 * circumference).toFixed(3), "px");
9429
9316
  rootStyle.transform = "rotate(-90deg)";
9430
9317
  }
9431
- return /* @__PURE__ */ React$6.createElement("div", _extends$5({
9318
+ return /* @__PURE__ */ React$6.createElement("div", _extends$6({
9432
9319
  className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], {
9433
9320
  "determinate": classes.determinate,
9434
9321
  "indeterminate": classes.indeterminate,
9435
9322
  "static": classes.static
9436
9323
  }[variant]),
9437
- style: _extends$5({
9324
+ style: _extends$6({
9438
9325
  width: size,
9439
9326
  height: size
9440
9327
  }, rootStyle, style),
@@ -9714,31 +9601,6 @@ Portal.propTypes = {
9714
9601
  Portal["propTypes"] = exactProp(Portal.propTypes);
9715
9602
  }
9716
9603
  const Portal$1 = Portal;
9717
- function _classCallCheck$5(instance, Constructor) {
9718
- if (!(instance instanceof Constructor)) {
9719
- throw new TypeError("Cannot call a class as a function");
9720
- }
9721
- }
9722
- function _defineProperties$5(target, props) {
9723
- for (var i = 0; i < props.length; i++) {
9724
- var descriptor = props[i];
9725
- descriptor.enumerable = descriptor.enumerable || false;
9726
- descriptor.configurable = true;
9727
- if ("value" in descriptor)
9728
- descriptor.writable = true;
9729
- Object.defineProperty(target, descriptor.key, descriptor);
9730
- }
9731
- }
9732
- function _createClass$5(Constructor, protoProps, staticProps) {
9733
- if (protoProps)
9734
- _defineProperties$5(Constructor.prototype, protoProps);
9735
- if (staticProps)
9736
- _defineProperties$5(Constructor, staticProps);
9737
- Object.defineProperty(Constructor, "prototype", {
9738
- writable: false
9739
- });
9740
- return Constructor;
9741
- }
9742
9604
  function getScrollbarSize() {
9743
9605
  var scrollDiv = document.createElement("div");
9744
9606
  scrollDiv.style.width = "99px";
@@ -10086,12 +9948,12 @@ var styles$l = {
10086
9948
  }
10087
9949
  };
10088
9950
  var SimpleBackdrop = /* @__PURE__ */ React$6.forwardRef(function SimpleBackdrop2(props, ref) {
10089
- var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties$3(props, ["invisible", "open"]);
10090
- return open ? /* @__PURE__ */ React$6.createElement("div", _extends$5({
9951
+ var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties$2(props, ["invisible", "open"]);
9952
+ return open ? /* @__PURE__ */ React$6.createElement("div", _extends$6({
10091
9953
  "aria-hidden": true,
10092
9954
  ref
10093
9955
  }, other, {
10094
- style: _extends$5({}, styles$l.root, invisible ? styles$l.invisible : {}, other.style)
9956
+ style: _extends$6({}, styles$l.root, invisible ? styles$l.invisible : {}, other.style)
10095
9957
  })) : null;
10096
9958
  });
10097
9959
  SimpleBackdrop.propTypes = {
@@ -10135,10 +9997,10 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref) {
10135
9997
  var theme = useTheme$1();
10136
9998
  var props = getThemeProps({
10137
9999
  name: "MuiModal",
10138
- props: _extends$5({}, inProps),
10000
+ props: _extends$6({}, inProps),
10139
10001
  theme
10140
10002
  });
10141
- var _props$BackdropCompon = props.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props.BackdropProps, children2 = props.children, _props$closeAfterTran = props.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props.container, _props$disableAutoFoc = props.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props.onBackdropClick, onClose = props.onClose, onEscapeKeyDown = props.onEscapeKeyDown, onRendered = props.onRendered, open = props.open, other = _objectWithoutProperties$3(props, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
10003
+ var _props$BackdropCompon = props.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props.BackdropProps, children2 = props.children, _props$closeAfterTran = props.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props.container, _props$disableAutoFoc = props.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props.onBackdropClick, onClose = props.onClose, onEscapeKeyDown = props.onEscapeKeyDown, onRendered = props.onRendered, open = props.open, other = _objectWithoutProperties$2(props, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
10142
10004
  var _React$useState = React$6.useState(true), exited = _React$useState[0], setExited = _React$useState[1];
10143
10005
  var modal = React$6.useRef({});
10144
10006
  var mountNodeRef = React$6.useRef(null);
@@ -10250,13 +10112,13 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref) {
10250
10112
  ref: handlePortalRef,
10251
10113
  container,
10252
10114
  disablePortal
10253
- }, /* @__PURE__ */ React$6.createElement("div", _extends$5({
10115
+ }, /* @__PURE__ */ React$6.createElement("div", _extends$6({
10254
10116
  ref: handleRef,
10255
10117
  onKeyDown: handleKeyDown2,
10256
10118
  role: "presentation"
10257
10119
  }, other, {
10258
- style: _extends$5({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10259
- }), hideBackdrop ? null : /* @__PURE__ */ React$6.createElement(BackdropComponent, _extends$5({
10120
+ style: _extends$6({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10121
+ }), hideBackdrop ? null : /* @__PURE__ */ React$6.createElement(BackdropComponent, _extends$6({
10260
10122
  open,
10261
10123
  onClick: handleBackdropClick
10262
10124
  }, BackdropProps)), /* @__PURE__ */ React$6.createElement(Unstable_TrapFocus, {
@@ -10408,7 +10270,7 @@ var styles$j = {
10408
10270
  }
10409
10271
  };
10410
10272
  var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutosize2(props, ref) {
10411
- var onChange = props.onChange, rows = props.rows, rowsMax = props.rowsMax, rowsMinProp = props.rowsMin, maxRowsProp = props.maxRows, _props$minRows = props.minRows, minRowsProp = _props$minRows === void 0 ? 1 : _props$minRows, style = props.style, value = props.value, other = _objectWithoutProperties$3(props, ["onChange", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "style", "value"]);
10273
+ var onChange = props.onChange, rows = props.rows, rowsMax = props.rowsMax, rowsMinProp = props.rowsMin, maxRowsProp = props.maxRows, _props$minRows = props.minRows, minRowsProp = _props$minRows === void 0 ? 1 : _props$minRows, style = props.style, value = props.value, other = _objectWithoutProperties$2(props, ["onChange", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "style", "value"]);
10412
10274
  var maxRows = maxRowsProp || rowsMax;
10413
10275
  var minRows = rows || rowsMinProp || minRowsProp;
10414
10276
  var _React$useRef = React$6.useRef(value != null), isControlled = _React$useRef.current;
@@ -10484,12 +10346,12 @@ var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutos
10484
10346
  onChange(event);
10485
10347
  }
10486
10348
  };
10487
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("textarea", _extends$5({
10349
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("textarea", _extends$6({
10488
10350
  value,
10489
10351
  onChange: handleChange,
10490
10352
  ref: handleRef,
10491
10353
  rows: minRows,
10492
- style: _extends$5({
10354
+ style: _extends$6({
10493
10355
  height: state.outerHeightStyle,
10494
10356
  // Need a large enough difference to allow scrolling.
10495
10357
  // This prevents infinite rendering loop.
@@ -10501,7 +10363,7 @@ var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutos
10501
10363
  readOnly: true,
10502
10364
  ref: shadowRef,
10503
10365
  tabIndex: -1,
10504
- style: _extends$5({}, styles$j.shadow, style)
10366
+ style: _extends$6({}, styles$j.shadow, style)
10505
10367
  }));
10506
10368
  });
10507
10369
  TextareaAutosize.propTypes = {
@@ -10582,7 +10444,7 @@ var styles$i = function styles8(theme) {
10582
10444
  "@keyframes mui-auto-fill-cancel": {}
10583
10445
  },
10584
10446
  /* Styles applied to the root element. */
10585
- root: _extends$5({}, theme.typography.body1, {
10447
+ root: _extends$6({}, theme.typography.body1, {
10586
10448
  color: theme.palette.text.primary,
10587
10449
  lineHeight: "1.1876em",
10588
10450
  // Reset (19px), match the native input line-height
@@ -10721,7 +10583,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10721
10583
  props.error;
10722
10584
  var _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, id = props.id, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$inputProps = props.inputProps, inputPropsProp = _props$inputProps === void 0 ? {} : _props$inputProps, inputRefProp = props.inputRef;
10723
10585
  props.margin;
10724
- var _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onClick = props.onClick, onFocus = props.onFocus, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, placeholder = props.placeholder, readOnly = props.readOnly, renderSuffix = props.renderSuffix, rows = props.rows, rowsMax = props.rowsMax, rowsMin = props.rowsMin, maxRows = props.maxRows, minRows = props.minRows, startAdornment = props.startAdornment, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, valueProp = props.value, other = _objectWithoutProperties$3(props, ["aria-describedby", "autoComplete", "autoFocus", "classes", "className", "color", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "startAdornment", "type", "value"]);
10586
+ var _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onClick = props.onClick, onFocus = props.onFocus, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, placeholder = props.placeholder, readOnly = props.readOnly, renderSuffix = props.renderSuffix, rows = props.rows, rowsMax = props.rowsMax, rowsMin = props.rowsMin, maxRows = props.maxRows, minRows = props.minRows, startAdornment = props.startAdornment, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, valueProp = props.value, other = _objectWithoutProperties$2(props, ["aria-describedby", "autoComplete", "autoFocus", "classes", "className", "color", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "startAdornment", "type", "value"]);
10725
10587
  var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
10726
10588
  var _React$useRef = React$6.useRef(value != null), isControlled = _React$useRef.current;
10727
10589
  var inputRef = React$6.useRef();
@@ -10839,11 +10701,11 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10839
10701
  }
10840
10702
  };
10841
10703
  var InputComponent = inputComponent;
10842
- var inputProps = _extends$5({}, inputPropsProp, {
10704
+ var inputProps = _extends$6({}, inputPropsProp, {
10843
10705
  ref: handleInputRef
10844
10706
  });
10845
10707
  if (typeof InputComponent !== "string") {
10846
- inputProps = _extends$5({
10708
+ inputProps = _extends$6({
10847
10709
  // Rename ref to inputRef as we don't know the
10848
10710
  // provided `inputComponent` structure.
10849
10711
  inputRef: handleInputRef,
@@ -10855,7 +10717,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10855
10717
  if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
10856
10718
  InputComponent = "textarea";
10857
10719
  } else {
10858
- inputProps = _extends$5({
10720
+ inputProps = _extends$6({
10859
10721
  minRows: rows || minRows,
10860
10722
  rowsMax,
10861
10723
  maxRows
@@ -10863,7 +10725,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10863
10725
  InputComponent = TextareaAutosize$1;
10864
10726
  }
10865
10727
  } else {
10866
- inputProps = _extends$5({
10728
+ inputProps = _extends$6({
10867
10729
  type: type3
10868
10730
  }, inputProps);
10869
10731
  }
@@ -10877,13 +10739,13 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10877
10739
  muiFormControl.setAdornedStart(Boolean(startAdornment));
10878
10740
  }
10879
10741
  }, [muiFormControl, startAdornment]);
10880
- return /* @__PURE__ */ React$6.createElement("div", _extends$5({
10742
+ return /* @__PURE__ */ React$6.createElement("div", _extends$6({
10881
10743
  className: clsx(classes.root, classes["color".concat(capitalize$1(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === "dense" && classes.marginDense),
10882
10744
  onClick: handleClick,
10883
10745
  ref
10884
10746
  }, other), startAdornment, /* @__PURE__ */ React$6.createElement(FormControlContext$1.Provider, {
10885
10747
  value: null
10886
- }, /* @__PURE__ */ React$6.createElement(InputComponent, _extends$5({
10748
+ }, /* @__PURE__ */ React$6.createElement(InputComponent, _extends$6({
10887
10749
  "aria-invalid": fcs.error,
10888
10750
  "aria-describedby": ariaDescribedby,
10889
10751
  autoComplete,
@@ -10905,7 +10767,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10905
10767
  onBlur: handleBlur,
10906
10768
  onChange: handleChange,
10907
10769
  onFocus: handleFocus
10908
- }))), endAdornment, renderSuffix ? renderSuffix(_extends$5({}, fcs, {
10770
+ }))), endAdornment, renderSuffix ? renderSuffix(_extends$6({}, fcs, {
10909
10771
  startAdornment
10910
10772
  })) : null);
10911
10773
  });
@@ -11222,9 +11084,9 @@ var styles$h = function styles9(theme) {
11222
11084
  };
11223
11085
  };
11224
11086
  var FilledInput = /* @__PURE__ */ React$6.forwardRef(function FilledInput2(props, ref) {
11225
- var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11226
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
11227
- classes: _extends$5({}, classes, {
11087
+ var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$2(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11088
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$6({
11089
+ classes: _extends$6({}, classes, {
11228
11090
  root: clsx(classes.root, !disableUnderline && classes.underline),
11229
11091
  underline: null
11230
11092
  }),
@@ -11373,7 +11235,7 @@ var styles$g = {
11373
11235
  }
11374
11236
  };
11375
11237
  var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props, ref) {
11376
- var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? "auto" : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, other = _objectWithoutProperties$3(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
11238
+ var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? "auto" : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, other = _objectWithoutProperties$2(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
11377
11239
  var timer = React$6.useRef();
11378
11240
  var autoTimeout = React$6.useRef();
11379
11241
  var theme = useTheme();
@@ -11461,7 +11323,7 @@ var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props, ref) {
11461
11323
  clearTimeout(timer.current);
11462
11324
  };
11463
11325
  }, []);
11464
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$5({
11326
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$6({
11465
11327
  appear: true,
11466
11328
  in: inProp,
11467
11329
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -11474,8 +11336,8 @@ var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props, ref) {
11474
11336
  addEndListener,
11475
11337
  timeout: timeout2 === "auto" ? null : timeout2
11476
11338
  }, other), function(state, childProps) {
11477
- return /* @__PURE__ */ React$6.cloneElement(children2, _extends$5({
11478
- style: _extends$5({
11339
+ return /* @__PURE__ */ React$6.cloneElement(children2, _extends$6({
11340
+ style: _extends$6({
11479
11341
  opacity: 0,
11480
11342
  transform: getScale(0.75),
11481
11343
  visibility: state === "exited" && !inProp ? "hidden" : void 0
@@ -11639,9 +11501,9 @@ var styles$f = function styles10(theme) {
11639
11501
  };
11640
11502
  };
11641
11503
  var Input = /* @__PURE__ */ React$6.forwardRef(function Input2(props, ref) {
11642
- var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11643
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
11644
- classes: _extends$5({}, classes, {
11504
+ var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$2(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11505
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$6({
11506
+ classes: _extends$6({}, classes, {
11645
11507
  root: clsx(classes.root, !disableUnderline && classes.underline),
11646
11508
  underline: null
11647
11509
  }),
@@ -11828,7 +11690,7 @@ var styles$e = {
11828
11690
  focusVisible: {}
11829
11691
  };
11830
11692
  var Link = /* @__PURE__ */ React$6.forwardRef(function Link2(props, ref) {
11831
- var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, component = _props$component === void 0 ? "a" : _props$component, onBlur = props.onBlur, onFocus = props.onFocus, TypographyClasses = props.TypographyClasses, _props$underline = props.underline, underline = _props$underline === void 0 ? "hover" : _props$underline, _props$variant = props.variant, variant = _props$variant === void 0 ? "inherit" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant"]);
11693
+ var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, component = _props$component === void 0 ? "a" : _props$component, onBlur = props.onBlur, onFocus = props.onFocus, TypographyClasses = props.TypographyClasses, _props$underline = props.underline, underline = _props$underline === void 0 ? "hover" : _props$underline, _props$variant = props.variant, variant = _props$variant === void 0 ? "inherit" : _props$variant, other = _objectWithoutProperties$2(props, ["classes", "className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant"]);
11832
11694
  var _useIsFocusVisible = useIsFocusVisible(), isFocusVisible2 = _useIsFocusVisible.isFocusVisible, onBlurVisible = _useIsFocusVisible.onBlurVisible, focusVisibleRef = _useIsFocusVisible.ref;
11833
11695
  var _React$useState = React$6.useState(false), focusVisible = _React$useState[0], setFocusVisible = _React$useState[1];
11834
11696
  var handlerRef = useForkRef(ref, focusVisibleRef);
@@ -11849,7 +11711,7 @@ var Link = /* @__PURE__ */ React$6.forwardRef(function Link2(props, ref) {
11849
11711
  onFocus(event);
11850
11712
  }
11851
11713
  };
11852
- return /* @__PURE__ */ React$6.createElement(Typography$1, _extends$5({
11714
+ return /* @__PURE__ */ React$6.createElement(Typography$1, _extends$6({
11853
11715
  className: clsx(classes.root, classes["underline".concat(capitalize$1(underline))], className, focusVisible && classes.focusVisible, component === "button" && classes.button),
11854
11716
  classes: TypographyClasses,
11855
11717
  color: color2,
@@ -11933,7 +11795,7 @@ var styles$d = {
11933
11795
  }
11934
11796
  };
11935
11797
  var List = /* @__PURE__ */ React$6.forwardRef(function List2(props, ref) {
11936
- var children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "ul" : _props$component, _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disablePadding = props.disablePadding, disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding, subheader = props.subheader, other = _objectWithoutProperties$3(props, ["children", "classes", "className", "component", "dense", "disablePadding", "subheader"]);
11798
+ var children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "ul" : _props$component, _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disablePadding = props.disablePadding, disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding, subheader = props.subheader, other = _objectWithoutProperties$2(props, ["children", "classes", "className", "component", "dense", "disablePadding", "subheader"]);
11937
11799
  var context = React$6.useMemo(function() {
11938
11800
  return {
11939
11801
  dense
@@ -11941,7 +11803,7 @@ var List = /* @__PURE__ */ React$6.forwardRef(function List2(props, ref) {
11941
11803
  }, [dense]);
11942
11804
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
11943
11805
  value: context
11944
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
11806
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
11945
11807
  className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
11946
11808
  ref
11947
11809
  }, other), subheader, children2));
@@ -12062,7 +11924,7 @@ var useEnhancedEffect$2 = typeof window === "undefined" ? React$6.useEffect : Re
12062
11924
  var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props, ref) {
12063
11925
  var _props$alignItems = props.alignItems, alignItems2 = _props$alignItems === void 0 ? "center" : _props$alignItems, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus, _props$button = props.button, button = _props$button === void 0 ? false : _props$button, childrenProp = props.children, classes = props.classes, className = props.className, componentProp = props.component, _props$ContainerCompo = props.ContainerComponent, ContainerComponent = _props$ContainerCompo === void 0 ? "li" : _props$ContainerCompo, _props$ContainerProps = props.ContainerProps;
12064
11926
  _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;
12065
- var ContainerClassName = _props$ContainerProps.className, ContainerProps = _objectWithoutProperties$3(_props$ContainerProps, ["className"]), _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, _props$divider = props.divider, divider = _props$divider === void 0 ? false : _props$divider, focusVisibleClassName = props.focusVisibleClassName, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$3(props, ["alignItems", "autoFocus", "button", "children", "classes", "className", "component", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "divider", "focusVisibleClassName", "selected"]);
11927
+ var ContainerClassName = _props$ContainerProps.className, ContainerProps = _objectWithoutProperties$2(_props$ContainerProps, ["className"]), _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, _props$divider = props.divider, divider = _props$divider === void 0 ? false : _props$divider, focusVisibleClassName = props.focusVisibleClassName, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$2(props, ["alignItems", "autoFocus", "button", "children", "classes", "className", "component", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "divider", "focusVisibleClassName", "selected"]);
12066
11928
  var context = React$6.useContext(ListContext$1);
12067
11929
  var childContext = {
12068
11930
  dense: dense || context.dense || false,
@@ -12084,7 +11946,7 @@ var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props, ref)
12084
11946
  listItemRef.current = ReactDOM.findDOMNode(instance);
12085
11947
  }, []);
12086
11948
  var handleRef = useForkRef(handleOwnRef, ref);
12087
- var componentProps = _extends$5({
11949
+ var componentProps = _extends$6({
12088
11950
  className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems2 !== "center" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),
12089
11951
  disabled
12090
11952
  }, other);
@@ -12105,14 +11967,14 @@ var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props, ref)
12105
11967
  }
12106
11968
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
12107
11969
  value: childContext
12108
- }, /* @__PURE__ */ React$6.createElement(ContainerComponent, _extends$5({
11970
+ }, /* @__PURE__ */ React$6.createElement(ContainerComponent, _extends$6({
12109
11971
  className: clsx(classes.container, ContainerClassName),
12110
11972
  ref: handleRef
12111
11973
  }, ContainerProps), /* @__PURE__ */ React$6.createElement(Component, componentProps, children2), children2.pop()));
12112
11974
  }
12113
11975
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
12114
11976
  value: childContext
12115
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
11977
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
12116
11978
  ref: handleRef
12117
11979
  }, componentProps), children2));
12118
11980
  });
@@ -12265,7 +12127,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12265
12127
  } : _props$anchorOrigin, anchorPosition = props.anchorPosition, _props$anchorReferenc = props.anchorReference, anchorReference = _props$anchorReferenc === void 0 ? "anchorEl" : _props$anchorReferenc, children2 = props.children, classes = props.classes, className = props.className, containerProp = props.container, _props$elevation = props.elevation, elevation = _props$elevation === void 0 ? 8 : _props$elevation, getContentAnchorEl = props.getContentAnchorEl, _props$marginThreshol = props.marginThreshold, marginThreshold = _props$marginThreshol === void 0 ? 16 : _props$marginThreshol, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, open = props.open, _props$PaperProps = props.PaperProps, PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps, _props$transformOrigi = props.transformOrigin, transformOrigin = _props$transformOrigi === void 0 ? {
12266
12128
  vertical: "top",
12267
12129
  horizontal: "left"
12268
- } : _props$transformOrigi, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Grow$1 : _props$TransitionComp, _props$transitionDura = props.transitionDuration, transitionDurationProp = _props$transitionDura === void 0 ? "auto" : _props$transitionDura, _props$TransitionProp = props.TransitionProps, TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp, other = _objectWithoutProperties$3(props, ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "classes", "className", "container", "elevation", "getContentAnchorEl", "marginThreshold", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]);
12130
+ } : _props$transformOrigi, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Grow$1 : _props$TransitionComp, _props$transitionDura = props.transitionDuration, transitionDurationProp = _props$transitionDura === void 0 ? "auto" : _props$transitionDura, _props$TransitionProp = props.TransitionProps, TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp, other = _objectWithoutProperties$2(props, ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "classes", "className", "container", "elevation", "getContentAnchorEl", "marginThreshold", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]);
12269
12131
  var paperRef = React$6.useRef();
12270
12132
  var getAnchorOffset = React$6.useCallback(function(contentAnchorOffset) {
12271
12133
  if (anchorReference === "anchorPosition") {
@@ -12418,7 +12280,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12418
12280
  transitionDuration = void 0;
12419
12281
  }
12420
12282
  var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl$1(anchorEl)).body : void 0);
12421
- return /* @__PURE__ */ React$6.createElement(Modal$1, _extends$5({
12283
+ return /* @__PURE__ */ React$6.createElement(Modal$1, _extends$6({
12422
12284
  container,
12423
12285
  open,
12424
12286
  ref,
@@ -12426,7 +12288,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12426
12288
  invisible: true
12427
12289
  },
12428
12290
  className: clsx(classes.root, className)
12429
- }, other), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$5({
12291
+ }, other), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$6({
12430
12292
  appear: true,
12431
12293
  in: open,
12432
12294
  onEnter,
@@ -12437,7 +12299,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12437
12299
  timeout: transitionDuration
12438
12300
  }, TransitionProps, {
12439
12301
  onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
12440
- }), /* @__PURE__ */ React$6.createElement(Paper$1, _extends$5({
12302
+ }), /* @__PURE__ */ React$6.createElement(Paper$1, _extends$6({
12441
12303
  elevation,
12442
12304
  ref: handlePaperRef
12443
12305
  }, PaperProps, {
@@ -12671,7 +12533,7 @@ function moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable,
12671
12533
  }
12672
12534
  var useEnhancedEffect$1 = typeof window === "undefined" ? React$6.useEffect : React$6.useLayoutEffect;
12673
12535
  var MenuList = /* @__PURE__ */ React$6.forwardRef(function MenuList2(props, ref) {
12674
- var actions = props.actions, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus, _props$autoFocusItem = props.autoFocusItem, autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem, children2 = props.children, className = props.className, _props$disabledItemsF = props.disabledItemsFocusable, disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF, _props$disableListWra = props.disableListWrap, disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra, onKeyDown = props.onKeyDown, _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$3(props, ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]);
12536
+ var actions = props.actions, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus, _props$autoFocusItem = props.autoFocusItem, autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem, children2 = props.children, className = props.className, _props$disabledItemsF = props.disabledItemsFocusable, disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF, _props$disableListWra = props.disableListWrap, disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra, onKeyDown = props.onKeyDown, _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$2(props, ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]);
12675
12537
  var listRef = React$6.useRef(null);
12676
12538
  var textCriteriaRef = React$6.useRef({
12677
12539
  keys: [],
@@ -12774,7 +12636,7 @@ var MenuList = /* @__PURE__ */ React$6.forwardRef(function MenuList2(props, ref)
12774
12636
  }
12775
12637
  return child;
12776
12638
  });
12777
- return /* @__PURE__ */ React$6.createElement(List$1, _extends$5({
12639
+ return /* @__PURE__ */ React$6.createElement(List$1, _extends$6({
12778
12640
  role: "menu",
12779
12641
  ref: handleRef,
12780
12642
  className,
@@ -12850,7 +12712,7 @@ var styles$a = {
12850
12712
  var Menu = /* @__PURE__ */ React$6.forwardRef(function Menu2(props, ref) {
12851
12713
  var _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, children2 = props.children, classes = props.classes, _props$disableAutoFoc = props.disableAutoFocusItem, disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$MenuListProps = props.MenuListProps, MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps, onClose = props.onClose, onEnteringProp = props.onEntering, open = props.open, _props$PaperProps = props.PaperProps, PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps, PopoverClasses = props.PopoverClasses, _props$transitionDura = props.transitionDuration, transitionDuration = _props$transitionDura === void 0 ? "auto" : _props$transitionDura, _props$TransitionProp = props.TransitionProps;
12852
12714
  _props$TransitionProp = _props$TransitionProp === void 0 ? {} : _props$TransitionProp;
12853
- var onEntering = _props$TransitionProp.onEntering, TransitionProps = _objectWithoutProperties$3(_props$TransitionProp, ["onEntering"]), _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$3(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"]);
12715
+ var onEntering = _props$TransitionProp.onEntering, TransitionProps = _objectWithoutProperties$2(_props$TransitionProp, ["onEntering"]), _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$2(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"]);
12854
12716
  var theme = useTheme();
12855
12717
  var autoFocusItem = autoFocus && !disableAutoFocusItem && open;
12856
12718
  var menuListActionsRef = React$6.useRef(null);
@@ -12906,24 +12768,24 @@ var Menu = /* @__PURE__ */ React$6.forwardRef(function Menu2(props, ref) {
12906
12768
  }
12907
12769
  return child;
12908
12770
  });
12909
- return /* @__PURE__ */ React$6.createElement(Popover$1, _extends$5({
12771
+ return /* @__PURE__ */ React$6.createElement(Popover$1, _extends$6({
12910
12772
  getContentAnchorEl,
12911
12773
  classes: PopoverClasses,
12912
12774
  onClose,
12913
- TransitionProps: _extends$5({
12775
+ TransitionProps: _extends$6({
12914
12776
  onEntering: handleEntering
12915
12777
  }, TransitionProps),
12916
12778
  anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
12917
12779
  transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
12918
- PaperProps: _extends$5({}, PaperProps, {
12919
- classes: _extends$5({}, PaperProps.classes, {
12780
+ PaperProps: _extends$6({}, PaperProps, {
12781
+ classes: _extends$6({}, PaperProps.classes, {
12920
12782
  root: classes.paper
12921
12783
  })
12922
12784
  }),
12923
12785
  open,
12924
12786
  ref,
12925
12787
  transitionDuration
12926
- }, other), /* @__PURE__ */ React$6.createElement(MenuList$1, _extends$5({
12788
+ }, other), /* @__PURE__ */ React$6.createElement(MenuList$1, _extends$6({
12927
12789
  onKeyDown: handleListKeyDown,
12928
12790
  actions: menuListActionsRef,
12929
12791
  autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
@@ -13044,7 +12906,7 @@ const Menu$1 = withStyles2(styles$a, {
13044
12906
  var styles$9 = function styles12(theme) {
13045
12907
  return {
13046
12908
  /* Styles applied to the root element. */
13047
- root: _extends$5({}, theme.typography.body1, _defineProperty$a({
12909
+ root: _extends$6({}, theme.typography.body1, _defineProperty$a({
13048
12910
  minHeight: 48,
13049
12911
  paddingTop: 6,
13050
12912
  paddingBottom: 6,
@@ -13061,25 +12923,25 @@ var styles$9 = function styles12(theme) {
13061
12923
  /* Styles applied to the root element if `selected={true}`. */
13062
12924
  selected: {},
13063
12925
  /* Styles applied to the root element if dense. */
13064
- dense: _extends$5({}, theme.typography.body2, {
12926
+ dense: _extends$6({}, theme.typography.body2, {
13065
12927
  minHeight: "auto"
13066
12928
  })
13067
12929
  };
13068
12930
  };
13069
12931
  var MenuItem = /* @__PURE__ */ React$6.forwardRef(function MenuItem2(props, ref) {
13070
- var classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "li" : _props$component, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, ListItemClasses = props.ListItemClasses, _props$role = props.role, role = _props$role === void 0 ? "menuitem" : _props$role, selected = props.selected, tabIndexProp = props.tabIndex, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "disableGutters", "ListItemClasses", "role", "selected", "tabIndex"]);
12932
+ var classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "li" : _props$component, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, ListItemClasses = props.ListItemClasses, _props$role = props.role, role = _props$role === void 0 ? "menuitem" : _props$role, selected = props.selected, tabIndexProp = props.tabIndex, other = _objectWithoutProperties$2(props, ["classes", "className", "component", "disableGutters", "ListItemClasses", "role", "selected", "tabIndex"]);
13071
12933
  var tabIndex;
13072
12934
  if (!props.disabled) {
13073
12935
  tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
13074
12936
  }
13075
- return /* @__PURE__ */ React$6.createElement(ListItem$1, _extends$5({
12937
+ return /* @__PURE__ */ React$6.createElement(ListItem$1, _extends$6({
13076
12938
  button: true,
13077
12939
  role,
13078
12940
  tabIndex,
13079
12941
  component,
13080
12942
  selected,
13081
12943
  disableGutters,
13082
- classes: _extends$5({
12944
+ classes: _extends$6({
13083
12945
  dense: classes.dense
13084
12946
  }, ListItemClasses),
13085
12947
  className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),
@@ -13138,8 +13000,8 @@ const MenuItem$1 = withStyles2(styles$9, {
13138
13000
  name: "MuiMenuItem"
13139
13001
  })(MenuItem);
13140
13002
  var NativeSelectInput = /* @__PURE__ */ React$6.forwardRef(function NativeSelectInput2(props, ref) {
13141
- var classes = props.classes, className = props.className, disabled = props.disabled, IconComponent = props.IconComponent, inputRef = props.inputRef, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
13142
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$5({
13003
+ var classes = props.classes, className = props.className, disabled = props.disabled, IconComponent = props.IconComponent, inputRef = props.inputRef, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$2(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
13004
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$6({
13143
13005
  className: clsx(
13144
13006
  classes.root,
13145
13007
  // TODO v5: merge root and select
@@ -13318,18 +13180,18 @@ var defaultInput = /* @__PURE__ */ React$6.createElement(Input$1, null);
13318
13180
  var NativeSelect = /* @__PURE__ */ React$6.forwardRef(function NativeSelect2(props, ref) {
13319
13181
  var children2 = props.children, classes = props.classes, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon$1 : _props$IconComponent, _props$input = props.input, input = _props$input === void 0 ? defaultInput : _props$input, inputProps = props.inputProps;
13320
13182
  props.variant;
13321
- var other = _objectWithoutProperties$3(props, ["children", "classes", "IconComponent", "input", "inputProps", "variant"]);
13183
+ var other = _objectWithoutProperties$2(props, ["children", "classes", "IconComponent", "input", "inputProps", "variant"]);
13322
13184
  var muiFormControl = useFormControl();
13323
13185
  var fcs = formControlState({
13324
13186
  props,
13325
13187
  muiFormControl,
13326
13188
  states: ["variant"]
13327
13189
  });
13328
- return /* @__PURE__ */ React$6.cloneElement(input, _extends$5({
13190
+ return /* @__PURE__ */ React$6.cloneElement(input, _extends$6({
13329
13191
  // Most of the logic is implemented in `NativeSelectInput`.
13330
13192
  // The `Select` component is a simple API wrapper to expose something better to play with.
13331
13193
  inputComponent: NativeSelectInput$1,
13332
- inputProps: _extends$5({
13194
+ inputProps: _extends$6({
13333
13195
  children: children2,
13334
13196
  classes,
13335
13197
  IconComponent,
@@ -13448,11 +13310,11 @@ var styles$7 = function styles14(theme) {
13448
13310
  };
13449
13311
  var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2(props, ref) {
13450
13312
  props.children;
13451
- var classes = props.classes, className = props.className, label = props.label, labelWidthProp = props.labelWidth, notched = props.notched, style = props.style, other = _objectWithoutProperties$3(props, ["children", "classes", "className", "label", "labelWidth", "notched", "style"]);
13313
+ var classes = props.classes, className = props.className, label = props.label, labelWidthProp = props.labelWidth, notched = props.notched, style = props.style, other = _objectWithoutProperties$2(props, ["children", "classes", "className", "label", "labelWidth", "notched", "style"]);
13452
13314
  var theme = useTheme();
13453
13315
  var align = theme.direction === "rtl" ? "right" : "left";
13454
13316
  if (label !== void 0) {
13455
- return /* @__PURE__ */ React$6.createElement("fieldset", _extends$5({
13317
+ return /* @__PURE__ */ React$6.createElement("fieldset", _extends$6({
13456
13318
  "aria-hidden": true,
13457
13319
  className: clsx(classes.root, className),
13458
13320
  ref,
@@ -13466,9 +13328,9 @@ var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2
13466
13328
  })));
13467
13329
  }
13468
13330
  var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
13469
- return /* @__PURE__ */ React$6.createElement("fieldset", _extends$5({
13331
+ return /* @__PURE__ */ React$6.createElement("fieldset", _extends$6({
13470
13332
  "aria-hidden": true,
13471
- style: _extends$5(_defineProperty$a({}, "padding".concat(capitalize$1(align)), 8), style),
13333
+ style: _extends$6(_defineProperty$a({}, "padding".concat(capitalize$1(align)), 8), style),
13472
13334
  className: clsx(classes.root, className),
13473
13335
  ref
13474
13336
  }, other), /* @__PURE__ */ React$6.createElement("legend", {
@@ -13610,8 +13472,8 @@ var styles$6 = function styles15(theme) {
13610
13472
  };
13611
13473
  };
13612
13474
  var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(props, ref) {
13613
- var classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label = props.label, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props.notched, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
13614
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
13475
+ var classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label = props.label, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props.notched, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$2(props, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
13476
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$6({
13615
13477
  renderSuffix: function renderSuffix(state) {
13616
13478
  return /* @__PURE__ */ React$6.createElement(NotchedOutline$1, {
13617
13479
  className: classes.notchedOutline,
@@ -13620,7 +13482,7 @@ var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(p
13620
13482
  notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
13621
13483
  });
13622
13484
  },
13623
- classes: _extends$5({}, classes, {
13485
+ classes: _extends$6({}, classes, {
13624
13486
  root: clsx(classes.root, classes.underline),
13625
13487
  notchedOutline: null
13626
13488
  }),
@@ -15330,7 +15192,7 @@ function getAnchorEl(anchorEl) {
15330
15192
  var useEnhancedEffect = typeof window !== "undefined" ? React$6.useLayoutEffect : React$6.useEffect;
15331
15193
  var defaultPopperOptions = {};
15332
15194
  var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props, ref) {
15333
- var anchorEl = props.anchorEl, children2 = props.children, container = props.container, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, modifiers2 = props.modifiers, open = props.open, _props$placement = props.placement, initialPlacement = _props$placement === void 0 ? "bottom" : _props$placement, _props$popperOptions = props.popperOptions, popperOptions = _props$popperOptions === void 0 ? defaultPopperOptions : _props$popperOptions, popperRefProp = props.popperRef, style = props.style, _props$transition = props.transition, transition2 = _props$transition === void 0 ? false : _props$transition, other = _objectWithoutProperties$3(props, ["anchorEl", "children", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"]);
15195
+ var anchorEl = props.anchorEl, children2 = props.children, container = props.container, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, modifiers2 = props.modifiers, open = props.open, _props$placement = props.placement, initialPlacement = _props$placement === void 0 ? "bottom" : _props$placement, _props$popperOptions = props.popperOptions, popperOptions = _props$popperOptions === void 0 ? defaultPopperOptions : _props$popperOptions, popperRefProp = props.popperRef, style = props.style, _props$transition = props.transition, transition2 = _props$transition === void 0 ? false : _props$transition, other = _objectWithoutProperties$2(props, ["anchorEl", "children", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"]);
15334
15196
  var tooltipRef = React$6.useRef(null);
15335
15197
  var ownRef = useForkRef(tooltipRef, ref);
15336
15198
  var popperRef = React$6.useRef(null);
@@ -15371,10 +15233,10 @@ var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props, ref) {
15371
15233
  }
15372
15234
  }
15373
15235
  }
15374
- var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$5({
15236
+ var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$6({
15375
15237
  placement: rtlPlacement
15376
15238
  }, popperOptions, {
15377
- modifiers: _extends$5({}, disablePortal ? {} : {
15239
+ modifiers: _extends$6({}, disablePortal ? {} : {
15378
15240
  // It's using scrollParent by default, we can use the viewport when using a portal.
15379
15241
  preventOverflow: {
15380
15242
  boundariesElement: "window"
@@ -15431,11 +15293,11 @@ var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props, ref) {
15431
15293
  return /* @__PURE__ */ React$6.createElement(Portal$1, {
15432
15294
  disablePortal,
15433
15295
  container
15434
- }, /* @__PURE__ */ React$6.createElement("div", _extends$5({
15296
+ }, /* @__PURE__ */ React$6.createElement("div", _extends$6({
15435
15297
  ref: handleRef,
15436
15298
  role: "tooltip"
15437
15299
  }, other, {
15438
- style: _extends$5({
15300
+ style: _extends$6({
15439
15301
  // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
15440
15302
  position: "fixed",
15441
15303
  // Fix Popper.js display issue
@@ -15529,16 +15391,8 @@ Popper.propTypes = {
15529
15391
  transition: PropTypes.bool
15530
15392
  };
15531
15393
  const Popper$1 = Popper;
15532
- function _typeof$6(obj) {
15533
- "@babel/helpers - typeof";
15534
- return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
15535
- return typeof obj2;
15536
- } : function(obj2) {
15537
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
15538
- }, _typeof$6(obj);
15539
- }
15540
15394
  function areEqualValues(a, b) {
15541
- if (_typeof$6(b) === "object" && b !== null) {
15395
+ if (_typeof$7(b) === "object" && b !== null) {
15542
15396
  return a === b;
15543
15397
  }
15544
15398
  return String(a) === String(b);
@@ -15549,7 +15403,7 @@ function isEmpty(display2) {
15549
15403
  var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props, ref) {
15550
15404
  var ariaLabel = props["aria-label"], autoFocus = props.autoFocus, autoWidth = props.autoWidth, children2 = props.children, classes = props.classes, className = props.className, defaultValue = props.defaultValue, disabled = props.disabled, displayEmpty = props.displayEmpty, IconComponent = props.IconComponent, inputRefProp = props.inputRef, labelId = props.labelId, _props$MenuProps = props.MenuProps, MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps, multiple = props.multiple, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onClose = props.onClose, onFocus = props.onFocus, onOpen = props.onOpen, openProp = props.open, readOnly = props.readOnly, renderValue = props.renderValue, _props$SelectDisplayP = props.SelectDisplayProps, SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP, tabIndexProp = props.tabIndex;
15551
15405
  props.type;
15552
- var valueProp = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props, ["aria-label", "autoFocus", "autoWidth", "children", "classes", "className", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"]);
15406
+ var valueProp = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$2(props, ["aria-label", "autoFocus", "autoWidth", "children", "classes", "className", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"]);
15553
15407
  var _useControlled = useControlled({
15554
15408
  controlled: valueProp,
15555
15409
  default: defaultValue,
@@ -15788,7 +15642,7 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
15788
15642
  tabIndex = disabled ? null : 0;
15789
15643
  }
15790
15644
  var buttonId = SelectDisplayProps.id || (name ? "mui-component-select-".concat(name) : void 0);
15791
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("div", _extends$5({
15645
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("div", _extends$6({
15792
15646
  className: clsx(
15793
15647
  classes.root,
15794
15648
  // TODO v5: merge root and select
@@ -15820,7 +15674,7 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
15820
15674
  __html: "&#8203;"
15821
15675
  }
15822
15676
  })
15823
- ) : display2), /* @__PURE__ */ React$6.createElement("input", _extends$5({
15677
+ ) : display2), /* @__PURE__ */ React$6.createElement("input", _extends$6({
15824
15678
  value: Array.isArray(value) ? value.join(",") : value,
15825
15679
  name,
15826
15680
  ref: inputRef,
@@ -15831,19 +15685,19 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
15831
15685
  autoFocus
15832
15686
  }, other)), /* @__PURE__ */ React$6.createElement(IconComponent, {
15833
15687
  className: clsx(classes.icon, classes["icon".concat(capitalize$1(variant))], open && classes.iconOpen, disabled && classes.disabled)
15834
- }), /* @__PURE__ */ React$6.createElement(Menu$1, _extends$5({
15688
+ }), /* @__PURE__ */ React$6.createElement(Menu$1, _extends$6({
15835
15689
  id: "menu-".concat(name || ""),
15836
15690
  anchorEl: displayNode,
15837
15691
  open,
15838
15692
  onClose: handleClose
15839
15693
  }, MenuProps, {
15840
- MenuListProps: _extends$5({
15694
+ MenuListProps: _extends$6({
15841
15695
  "aria-labelledby": labelId,
15842
15696
  role: "listbox",
15843
15697
  disableListWrap: true
15844
15698
  }, MenuProps.MenuListProps),
15845
- PaperProps: _extends$5({}, MenuProps.PaperProps, {
15846
- style: _extends$5({
15699
+ PaperProps: _extends$6({}, MenuProps.PaperProps, {
15700
+ style: _extends$6({
15847
15701
  minWidth: menuMinWidth
15848
15702
  }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
15849
15703
  })
@@ -15986,7 +15840,7 @@ var styles$5 = styles$8;
15986
15840
  var _ref = /* @__PURE__ */ React$6.createElement(Input$1, null);
15987
15841
  var _ref2 = /* @__PURE__ */ React$6.createElement(FilledInput$1, null);
15988
15842
  var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props, ref) {
15989
- var _props$autoWidth = props.autoWidth, autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth, children2 = props.children, classes = props.classes, _props$displayEmpty = props.displayEmpty, displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon$1 : _props$IconComponent, id = props.id, input = props.input, inputProps = props.inputProps, label = props.label, labelId = props.labelId, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, MenuProps = props.MenuProps, _props$multiple = props.multiple, multiple = _props$multiple === void 0 ? false : _props$multiple, _props$native = props.native, native2 = _props$native === void 0 ? false : _props$native, onClose = props.onClose, onOpen = props.onOpen, open = props.open, renderValue = props.renderValue, SelectDisplayProps = props.SelectDisplayProps, _props$variant = props.variant, variantProps = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props, ["autoWidth", "children", "classes", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "labelWidth", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]);
15843
+ var _props$autoWidth = props.autoWidth, autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth, children2 = props.children, classes = props.classes, _props$displayEmpty = props.displayEmpty, displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon$1 : _props$IconComponent, id = props.id, input = props.input, inputProps = props.inputProps, label = props.label, labelId = props.labelId, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, MenuProps = props.MenuProps, _props$multiple = props.multiple, multiple = _props$multiple === void 0 ? false : _props$multiple, _props$native = props.native, native2 = _props$native === void 0 ? false : _props$native, onClose = props.onClose, onOpen = props.onOpen, open = props.open, renderValue = props.renderValue, SelectDisplayProps = props.SelectDisplayProps, _props$variant = props.variant, variantProps = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$2(props, ["autoWidth", "children", "classes", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "labelWidth", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]);
15990
15844
  var inputComponent = native2 ? NativeSelectInput$1 : SelectInput$1;
15991
15845
  var muiFormControl = useFormControl();
15992
15846
  var fcs = formControlState({
@@ -16003,11 +15857,11 @@ var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props, ref) {
16003
15857
  }),
16004
15858
  filled: _ref2
16005
15859
  }[variant];
16006
- return /* @__PURE__ */ React$6.cloneElement(InputComponent, _extends$5({
15860
+ return /* @__PURE__ */ React$6.cloneElement(InputComponent, _extends$6({
16007
15861
  // Most of the logic is implemented in `SelectInput`.
16008
15862
  // The `Select` component is a simple API wrapper to expose something better to play with.
16009
15863
  inputComponent,
16010
- inputProps: _extends$5({
15864
+ inputProps: _extends$6({
16011
15865
  children: children2,
16012
15866
  IconComponent,
16013
15867
  variant,
@@ -16025,7 +15879,7 @@ var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props, ref) {
16025
15879
  onOpen,
16026
15880
  open,
16027
15881
  renderValue,
16028
- SelectDisplayProps: _extends$5({
15882
+ SelectDisplayProps: _extends$6({
16029
15883
  id
16030
15884
  }, SelectDisplayProps)
16031
15885
  }, inputProps, {
@@ -16183,7 +16037,7 @@ var styles$4 = function styles16(theme) {
16183
16037
  width: "100%",
16184
16038
  borderCollapse: "collapse",
16185
16039
  borderSpacing: 0,
16186
- "& caption": _extends$5({}, theme.typography.body2, {
16040
+ "& caption": _extends$6({}, theme.typography.body2, {
16187
16041
  padding: theme.spacing(2),
16188
16042
  color: theme.palette.text.secondary,
16189
16043
  textAlign: "left",
@@ -16198,7 +16052,7 @@ var styles$4 = function styles16(theme) {
16198
16052
  };
16199
16053
  var defaultComponent$2 = "table";
16200
16054
  var Table = /* @__PURE__ */ React$6.forwardRef(function Table2(props, ref) {
16201
- var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$2 : _props$component, _props$padding = props.padding, padding2 = _props$padding === void 0 ? "normal" : _props$padding, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, _props$stickyHeader = props.stickyHeader, stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "padding", "size", "stickyHeader"]);
16055
+ var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$2 : _props$component, _props$padding = props.padding, padding2 = _props$padding === void 0 ? "normal" : _props$padding, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, _props$stickyHeader = props.stickyHeader, stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader, other = _objectWithoutProperties$2(props, ["classes", "className", "component", "padding", "size", "stickyHeader"]);
16202
16056
  var table = React$6.useMemo(function() {
16203
16057
  return {
16204
16058
  padding: padding2,
@@ -16208,7 +16062,7 @@ var Table = /* @__PURE__ */ React$6.forwardRef(function Table2(props, ref) {
16208
16062
  }, [padding2, size, stickyHeader]);
16209
16063
  return /* @__PURE__ */ React$6.createElement(TableContext$1.Provider, {
16210
16064
  value: table
16211
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16065
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16212
16066
  role: Component === defaultComponent$2 ? null : "table",
16213
16067
  ref,
16214
16068
  className: clsx(classes.root, className, stickyHeader && classes.stickyHeader)
@@ -16273,10 +16127,10 @@ var tablelvl2 = {
16273
16127
  };
16274
16128
  var defaultComponent$1 = "tbody";
16275
16129
  var TableBody = /* @__PURE__ */ React$6.forwardRef(function TableBody2(props, ref) {
16276
- var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$1 : _props$component, other = _objectWithoutProperties$3(props, ["classes", "className", "component"]);
16130
+ var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$1 : _props$component, other = _objectWithoutProperties$2(props, ["classes", "className", "component"]);
16277
16131
  return /* @__PURE__ */ React$6.createElement(Tablelvl2Context$1.Provider, {
16278
16132
  value: tablelvl2
16279
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16133
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16280
16134
  className: clsx(classes.root, className),
16281
16135
  ref,
16282
16136
  role: Component === defaultComponent$1 ? null : "rowgroup"
@@ -16308,7 +16162,7 @@ const TableBody$1 = withStyles2(styles$3, {
16308
16162
  var styles$2 = function styles17(theme) {
16309
16163
  return {
16310
16164
  /* Styles applied to the root element. */
16311
- root: _extends$5({}, theme.typography.body2, {
16165
+ root: _extends$6({}, theme.typography.body2, {
16312
16166
  display: "table-cell",
16313
16167
  verticalAlign: "inherit",
16314
16168
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
@@ -16397,7 +16251,7 @@ var styles$2 = function styles17(theme) {
16397
16251
  };
16398
16252
  };
16399
16253
  var TableCell = /* @__PURE__ */ React$6.forwardRef(function TableCell2(props, ref) {
16400
- var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, component = props.component, paddingProp = props.padding, scopeProp = props.scope, sizeProp = props.size, sortDirection = props.sortDirection, variantProp = props.variant, other = _objectWithoutProperties$3(props, ["align", "classes", "className", "component", "padding", "scope", "size", "sortDirection", "variant"]);
16254
+ var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, component = props.component, paddingProp = props.padding, scopeProp = props.scope, sizeProp = props.size, sortDirection = props.sortDirection, variantProp = props.variant, other = _objectWithoutProperties$2(props, ["align", "classes", "className", "component", "padding", "scope", "size", "sortDirection", "variant"]);
16401
16255
  var table = React$6.useContext(TableContext$1);
16402
16256
  var tablelvl22 = React$6.useContext(Tablelvl2Context$1);
16403
16257
  var isHeadCell = tablelvl22 && tablelvl22.variant === "head";
@@ -16420,7 +16274,7 @@ var TableCell = /* @__PURE__ */ React$6.forwardRef(function TableCell2(props, re
16420
16274
  if (sortDirection) {
16421
16275
  ariaSort = sortDirection === "asc" ? "ascending" : "descending";
16422
16276
  }
16423
- return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16277
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16424
16278
  ref,
16425
16279
  className: clsx(classes.root, classes[variant], className, align !== "inherit" && classes["align".concat(capitalize$1(align))], padding2 !== "normal" && classes["padding".concat(capitalize$1(padding2))], size !== "medium" && classes["size".concat(capitalize$1(size))], variant === "head" && table && table.stickyHeader && classes.stickyHeader),
16426
16280
  "aria-sort": ariaSort,
@@ -16495,8 +16349,8 @@ var styles$1 = {
16495
16349
  }
16496
16350
  };
16497
16351
  var TableContainer = /* @__PURE__ */ React$6.forwardRef(function TableContainer2(props, ref) {
16498
- var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, other = _objectWithoutProperties$3(props, ["classes", "className", "component"]);
16499
- return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16352
+ var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, other = _objectWithoutProperties$2(props, ["classes", "className", "component"]);
16353
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16500
16354
  ref,
16501
16355
  className: clsx(classes.root, className)
16502
16356
  }, other));
@@ -16552,9 +16406,9 @@ var styles18 = function styles19(theme) {
16552
16406
  };
16553
16407
  var defaultComponent = "tr";
16554
16408
  var TableRow = /* @__PURE__ */ React$6.forwardRef(function TableRow2(props, ref) {
16555
- var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "hover", "selected"]);
16409
+ var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$2(props, ["classes", "className", "component", "hover", "selected"]);
16556
16410
  var tablelvl22 = React$6.useContext(Tablelvl2Context$1);
16557
- return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16411
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16558
16412
  ref,
16559
16413
  className: clsx(classes.root, className, tablelvl22 && {
16560
16414
  "head": classes.head,
@@ -27922,7 +27776,8 @@ const ViewType$1 = {
27922
27776
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
27923
27777
  DOT_PLOT: "dotPlot",
27924
27778
  FEATURE_BAR_PLOT: "featureBarPlot",
27925
- BIOMARKER_SELECT: "biomarkerSelect"
27779
+ BIOMARKER_SELECT: "biomarkerSelect",
27780
+ LINK_CONTROLLER: "linkController"
27926
27781
  };
27927
27782
  const DataType$1 = {
27928
27783
  OBS_LABELS: "obsLabels",
@@ -27940,6 +27795,28 @@ const DataType$1 = {
27940
27795
  SAMPLE_SETS: "sampleSets",
27941
27796
  SAMPLE_EDGES: "sampleEdges"
27942
27797
  };
27798
+ const AsyncFunctionType = {
27799
+ // String input (rather than Node input)
27800
+ AUTOCOMPLETE_FEATURE: "autocompleteFeature",
27801
+ // (partial: string, targetModality: null | 'gene' | 'protein' | 'genomic-region' | 'cell-type') -> list of feature nodes
27802
+ GET_ALTERNATIVE_TERMS: "getAlternativeTerms",
27803
+ // (curieString) -> list of alternative curie strings
27804
+ GET_TERM_MAPPING: "getTermMapping",
27805
+ // (keyCuriePrefix, valueCuriePrefix) -> Record<curieString, curieString> for key to value
27806
+ TRANSFORM_FEATURE: "transformFeature",
27807
+ // (featureNode, targetModality) -> list of feature nodes from target modality
27808
+ RELATED_FEATURES: "relatedFeatures",
27809
+ // (featureNode) -> list of related feature nodes
27810
+ FEATURE_TO_URL: "featureToUrl",
27811
+ // (featureNode) -> URL
27812
+ FEATURE_TO_INTERVAL: "featureToInterval",
27813
+ // (featureNode) -> genomic interval { chr, start, end }
27814
+ // Cell2Sentence/LLM-based?
27815
+ OBS_SET_TO_FEATURES: "obsSetToFeatures",
27816
+ // (cell type node) -> list of feature nodes
27817
+ FEATURES_TO_OBS_SET: "featuresToObsSet"
27818
+ // (list of feature nodes) -> cell type node
27819
+ };
27943
27820
  const FileType$1 = {
27944
27821
  // Joint file types
27945
27822
  ANNDATA_ZARR: "anndata.zarr",
@@ -28252,10 +28129,10 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
28252
28129
  CoordinationType$1.EMBEDDING_OBS_OPACITY
28253
28130
  ];
28254
28131
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
28255
- const version = "3.5.1";
28256
- const date = "2024-11-22";
28132
+ const version = "3.5.3";
28133
+ const date = "2025-01-14";
28257
28134
  const branch = "changeset-release/main";
28258
- const hash = "233b667a";
28135
+ const hash = "681f7748";
28259
28136
  const META_VERSION = {
28260
28137
  note,
28261
28138
  version,
@@ -30163,7 +30040,14 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30163
30040
  loaders: initialLoaders,
30164
30041
  // Reducer functions which update the state
30165
30042
  // (although technically also part of state):
30166
- setViewConfig: (viewConfig) => set2({ viewConfig, initialViewConfig: viewConfig }),
30043
+ setViewConfig: (viewConfig) => set2({
30044
+ viewConfig,
30045
+ initialViewConfig: viewConfig,
30046
+ // mostRecentConfigSource is used by the LinkController to determine
30047
+ // whether the config was set by this instance or an external linked
30048
+ // instance of Vitessce, and used to prevent infinite loops.
30049
+ mostRecentConfigSource: "internal"
30050
+ }),
30167
30051
  setLoaders: (loaders) => set2({ loaders }),
30168
30052
  setCoordinationValue: ({
30169
30053
  parameter,
@@ -30199,7 +30083,8 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30199
30083
  [scope]: value
30200
30084
  }
30201
30085
  }
30202
- }
30086
+ },
30087
+ mostRecentConfigSource: "internal"
30203
30088
  };
30204
30089
  }),
30205
30090
  mergeCoordination: (newCoordinationValues, scopePrefix, viewUid) => set2((state) => {
@@ -30276,7 +30161,8 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30276
30161
  })
30277
30162
  };
30278
30163
  return {
30279
- viewConfig: newViewConfig
30164
+ viewConfig: newViewConfig,
30165
+ mostRecentConfigSource: "internal"
30280
30166
  };
30281
30167
  }),
30282
30168
  removeImageChannelInMetaCoordinationScopes: (coordinationScopesRaw, layerScope, channelScope) => set2((state) => {
@@ -30290,7 +30176,8 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30290
30176
  channelScope,
30291
30177
  coordinationSpace
30292
30178
  )
30293
- }
30179
+ },
30180
+ mostRecentConfigSource: "internal"
30294
30181
  };
30295
30182
  }),
30296
30183
  addImageChannelInMetaCoordinationScopes: (coordinationScopesRaw, layerScope) => set2((state) => {
@@ -30303,7 +30190,8 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30303
30190
  layerScope,
30304
30191
  coordinationSpace
30305
30192
  )
30306
- }
30193
+ },
30194
+ mostRecentConfigSource: "internal"
30307
30195
  };
30308
30196
  }),
30309
30197
  removeComponent: (uid) => set2((state) => {
@@ -30312,7 +30200,8 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30312
30200
  viewConfig: {
30313
30201
  ...state.viewConfig,
30314
30202
  layout: newLayout
30315
- }
30203
+ },
30204
+ mostRecentConfigSource: "internal"
30316
30205
  };
30317
30206
  }),
30318
30207
  changeLayout: (newComponentProps) => set2((state) => {
@@ -30324,7 +30213,8 @@ const createViewConfigStore = (initialLoaders, initialConfig) => create2((set2)
30324
30213
  viewConfig: {
30325
30214
  ...state.viewConfig,
30326
30215
  layout: newLayout
30327
- }
30216
+ },
30217
+ mostRecentConfigSource: "internal"
30328
30218
  };
30329
30219
  })
30330
30220
  }));
@@ -36771,6 +36661,9 @@ function VitessceGridLayout(props) {
36771
36661
  const {
36772
36662
  layout: layout2,
36773
36663
  viewTypes,
36664
+ coordinationTypes,
36665
+ fileTypes,
36666
+ stores,
36774
36667
  padding: padding2,
36775
36668
  margin: marginProp,
36776
36669
  draggableHandle: draggableHandleClass,
@@ -36870,7 +36763,11 @@ function VitessceGridLayout(props) {
36870
36763
  coordinationScopes: v.coordinationScopes,
36871
36764
  coordinationScopesBy: v.coordinationScopesBy,
36872
36765
  theme,
36873
- removeGridComponent: null
36766
+ removeGridComponent: null,
36767
+ viewTypes,
36768
+ fileTypes,
36769
+ coordinationTypes,
36770
+ stores
36874
36771
  }
36875
36772
  ) }, v.uid)];
36876
36773
  }));
@@ -36887,7 +36784,11 @@ function VitessceGridLayout(props) {
36887
36784
  coordinationScopes: v.coordinationScopes,
36888
36785
  coordinationScopesBy: v.coordinationScopesBy,
36889
36786
  theme,
36890
- removeGridComponent
36787
+ removeGridComponent,
36788
+ viewTypes,
36789
+ fileTypes,
36790
+ coordinationTypes,
36791
+ stores
36891
36792
  }
36892
36793
  ) }, v.uid);
36893
36794
  }), contextValue];
@@ -36964,6 +36865,33 @@ function intern_delete({ _intern, _key }, value) {
36964
36865
  function keyof(value) {
36965
36866
  return value !== null && typeof value === "object" ? value.valueOf() : value;
36966
36867
  }
36868
+ class AbstractLoaderError {
36869
+ constructor(message) {
36870
+ this.message = message;
36871
+ }
36872
+ // eslint-disable-next-line class-methods-use-this
36873
+ warnInConsole() {
36874
+ throw new Error("The warnInConsole() method has not been implemented.");
36875
+ }
36876
+ }
36877
+ class LoaderNotFoundError extends AbstractLoaderError {
36878
+ constructor(loaders, dataset, fileType, viewCoordinationValues) {
36879
+ super(`Error: unable to find matching ${fileType} file in dataset ${dataset}.`);
36880
+ this.name = "LoaderNotFoundError";
36881
+ this.loaders = loaders;
36882
+ this.dataset = dataset;
36883
+ this.fileType = fileType;
36884
+ this.viewCoordinationValues = viewCoordinationValues;
36885
+ }
36886
+ warnInConsole() {
36887
+ const { loaders, viewCoordinationValues } = this;
36888
+ console.warn(
36889
+ // eslint-disable-next-line prefer-template
36890
+ `Expected to match on { ${Object.entries(viewCoordinationValues).map(([k, v]) => k + ": " + v).join(", ")} }`,
36891
+ loaders
36892
+ );
36893
+ }
36894
+ }
36967
36895
  function getSourceAndLoaderFromFileType(type3, fileTypes) {
36968
36896
  if (Array.isArray(fileTypes)) {
36969
36897
  const matchingFileType = fileTypes.find((ft) => ft.name === type3);
@@ -37350,6 +37278,26 @@ function useGetObsInfo(obsType, obsLabelsTypes, obsLabelsData, obsSetsMembership
37350
37278
  return null;
37351
37279
  }, [obsType, obsLabelsTypes, obsLabelsData, obsSetsMembership]);
37352
37280
  }
37281
+ function useExpandedFeatureLabelsMap(featureType, featureLabelsMap, options) {
37282
+ const { stripCuriePrefixes = true } = options || {};
37283
+ const getTermMapping = useAsyncFunction(AsyncFunctionType.GET_TERM_MAPPING);
37284
+ const termMappingQuery = useQuery({
37285
+ enabled: featureType === "gene",
37286
+ queryKey: ["useExpandedFeatureLabelsMap", "ensembl", "hgnc"],
37287
+ queryFn: async () => getTermMapping("ensembl", "hgnc")
37288
+ });
37289
+ const { data: fetchedMapping, status, isFetching } = termMappingQuery;
37290
+ const updatedFeatureLabelsMap = useMemo(() => {
37291
+ if (!fetchedMapping)
37292
+ return featureLabelsMap;
37293
+ return new Map([
37294
+ ...stripCuriePrefixes ? Array.from(fetchedMapping).map(([k, v]) => [k.split(":")[1], v.split(":")[1]]) : fetchedMapping,
37295
+ ...featureLabelsMap || []
37296
+ ]);
37297
+ }, [fetchedMapping, featureLabelsMap, stripCuriePrefixes]);
37298
+ const dataStatus = isFetching ? STATUS.LOADING : status;
37299
+ return [updatedFeatureLabelsMap, dataStatus];
37300
+ }
37353
37301
  const useVitessceContainerStyles = makeStyles((theme) => ({
37354
37302
  vitessceContainer: {
37355
37303
  position: "relative",
@@ -37734,6 +37682,9 @@ function VitessceGrid(props) {
37734
37682
  rowHeight,
37735
37683
  theme,
37736
37684
  viewTypes,
37685
+ fileTypes,
37686
+ coordinationTypes,
37687
+ stores,
37737
37688
  draggableHandle: titleClasses.title,
37738
37689
  margin,
37739
37690
  padding,
@@ -38533,88 +38484,6 @@ function TitleInfo(props) {
38533
38484
  ] })
38534
38485
  );
38535
38486
  }
38536
- class AbstractLoaderError {
38537
- constructor(message) {
38538
- this.message = message;
38539
- }
38540
- // eslint-disable-next-line class-methods-use-this
38541
- warnInConsole() {
38542
- throw new Error("The warnInConsole() method has not been implemented.");
38543
- }
38544
- }
38545
- class LoaderValidationError extends AbstractLoaderError {
38546
- constructor(datasetType, datasetFileType, datasetUrl, reason) {
38547
- super(`Error while validating ${datasetType}.`);
38548
- this.name = "LoaderValidationError";
38549
- this.datasetType = datasetType;
38550
- this.datasetFileType = datasetFileType;
38551
- this.datasetUrl = datasetUrl;
38552
- this.reason = reason;
38553
- }
38554
- warnInConsole() {
38555
- const {
38556
- datasetType,
38557
- datasetUrl,
38558
- reason
38559
- } = this;
38560
- console.warn(
38561
- `${datasetType} from ${datasetUrl}: validation failed`,
38562
- JSON.stringify(reason, null, 2)
38563
- );
38564
- }
38565
- }
38566
- class LoaderNotFoundError extends AbstractLoaderError {
38567
- constructor(loaders, dataset, fileType, viewCoordinationValues) {
38568
- super(`Error: unable to find matching ${fileType} file in dataset ${dataset}.`);
38569
- this.name = "LoaderNotFoundError";
38570
- this.loaders = loaders;
38571
- this.dataset = dataset;
38572
- this.fileType = fileType;
38573
- this.viewCoordinationValues = viewCoordinationValues;
38574
- }
38575
- warnInConsole() {
38576
- const {
38577
- loaders,
38578
- viewCoordinationValues
38579
- } = this;
38580
- console.warn(
38581
- // eslint-disable-next-line prefer-template
38582
- `Expected to match on { ${Object.entries(viewCoordinationValues).map(([k, v]) => k + ": " + v).join(", ")} }`,
38583
- loaders
38584
- );
38585
- }
38586
- }
38587
- class DatasetNotFoundError extends AbstractLoaderError {
38588
- constructor(datasetUid) {
38589
- super(`Error finding dataset for ${datasetUid}. Please check that at least one dataset exists in the view config.`);
38590
- this.name = "DatasetNotFoundError";
38591
- this.datasetUid = datasetUid;
38592
- }
38593
- warnInConsole() {
38594
- const {
38595
- datasetUid
38596
- } = this;
38597
- if (datasetUid) {
38598
- console.warn(
38599
- `Unable to find dataset for ${datasetUid}`
38600
- );
38601
- } else {
38602
- console.warn("No dataset uid specified.");
38603
- }
38604
- }
38605
- }
38606
- class DataSourceFetchError extends AbstractLoaderError {
38607
- constructor(source, url, headers) {
38608
- super(`${source} Error HTTP Status fetching from ${url}`);
38609
- this.source = source;
38610
- this.url = url;
38611
- this.headers = headers;
38612
- }
38613
- warnInConsole() {
38614
- const { source, url, headers } = this;
38615
- console.warn(`${source} failed to fetch from ${url} with headers ${JSON.stringify(headers)}`);
38616
- }
38617
- }
38618
38487
  function warn(error, setWarning) {
38619
38488
  setWarning(error.message);
38620
38489
  console.warn(error.message);
@@ -39909,62 +39778,6 @@ function useSegmentationMultiObsSets(coordinationScopes, coordinationScopesBy, l
39909
39778
  );
39910
39779
  return [indicesData, indicesDataStatus];
39911
39780
  }
39912
- class LoaderResult {
39913
- /**
39914
- * @param {LoaderDataType} data
39915
- * @param {object[]|string|null} url Single URL or array of { url, name } objects.
39916
- * @param {object|null} coordinationValues
39917
- * @param {RequestInit|null} requestInit
39918
- */
39919
- constructor(data, url, coordinationValues = null, requestInit2 = null) {
39920
- this.data = data;
39921
- this.url = url;
39922
- this.coordinationValues = coordinationValues;
39923
- this.requestInit = requestInit2;
39924
- }
39925
- }
39926
- class AbstractLoader {
39927
- /**
39928
- *
39929
- * @param {LoaderParams} params
39930
- */
39931
- constructor({
39932
- type: type3,
39933
- fileType,
39934
- url,
39935
- requestInit: requestInit2,
39936
- options,
39937
- coordinationValues
39938
- }) {
39939
- this.fileType = fileType;
39940
- this.type = type3;
39941
- this.url = url;
39942
- this.requestInit = requestInit2;
39943
- this.options = options;
39944
- this.coordinationValues = coordinationValues;
39945
- }
39946
- /**
39947
- *
39948
- * @returns {Promise<LoaderResult<any>>}
39949
- */
39950
- // eslint-disable-next-line class-methods-use-this
39951
- async load() {
39952
- return Promise.resolve(
39953
- new LoaderResult(true, null)
39954
- );
39955
- }
39956
- }
39957
- class AbstractTwoStepLoader extends AbstractLoader {
39958
- /**
39959
- *
39960
- * @param {DataSourceType} dataSource
39961
- * @param {LoaderParams} params
39962
- */
39963
- constructor(dataSource, params) {
39964
- super(params);
39965
- this.dataSource = dataSource;
39966
- }
39967
- }
39968
39781
  const $b5e257d569688ac6$var$defaultContext = {
39969
39782
  prefix: String(Math.round(Math.random() * 1e10)),
39970
39783
  current: 0
@@ -40211,20 +40024,13 @@ function OptionsContainer(props) {
40211
40024
  ) }) });
40212
40025
  }
40213
40026
  export {
40214
- AbstractLoader,
40215
- AbstractLoaderError,
40216
- AbstractTwoStepLoader,
40217
40027
  CellColorEncodingOption,
40218
- DataSourceFetchError,
40219
- DatasetNotFoundError,
40220
- LoaderNotFoundError,
40221
- LoaderResult,
40222
- LoaderValidationError,
40223
40028
  OptionSelect,
40224
40029
  OptionsContainer,
40225
40030
  PopperMenu,
40226
40031
  TitleInfo,
40227
40032
  VitS,
40033
+ createLoaders,
40228
40034
  logConfig,
40229
40035
  useAddImageChannelInMetaCoordinationScopes,
40230
40036
  useAsyncFunction,
@@ -40241,6 +40047,7 @@ export {
40241
40047
  useDatasetUids,
40242
40048
  useDeckCanvasSize,
40243
40049
  useDescription,
40050
+ useExpandedFeatureLabelsMap,
40244
40051
  useExpressionValueGetter,
40245
40052
  useFeatureLabelsData,
40246
40053
  useFeatureSelection,