@vitessce/vit-s 3.0.1 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2095,7 +2095,24 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
2095
2095
  return null;
2096
2096
  }
2097
2097
  const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
2098
- function _defineProperty$a(obj, key, value) {
2098
+ function _toPrimitive(input, hint) {
2099
+ if (_typeof$8(input) !== "object" || input === null)
2100
+ return input;
2101
+ var prim = input[Symbol.toPrimitive];
2102
+ if (prim !== void 0) {
2103
+ var res = prim.call(input, hint || "default");
2104
+ if (_typeof$8(res) !== "object")
2105
+ return res;
2106
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2107
+ }
2108
+ return (hint === "string" ? String : Number)(input);
2109
+ }
2110
+ function _toPropertyKey(arg) {
2111
+ var key = _toPrimitive(arg, "string");
2112
+ return _typeof$8(key) === "symbol" ? key : String(key);
2113
+ }
2114
+ function _defineProperty$b(obj, key, value) {
2115
+ key = _toPropertyKey(key);
2099
2116
  if (key in obj) {
2100
2117
  Object.defineProperty(obj, key, {
2101
2118
  value,
@@ -2110,7 +2127,7 @@ function _defineProperty$a(obj, key, value) {
2110
2127
  }
2111
2128
  var specialProperty = "exact-prop: ​";
2112
2129
  function exactProp(propTypes2) {
2113
- return _extends$6({}, propTypes2, _defineProperty$a({}, specialProperty, function(props) {
2130
+ return _extends$6({}, propTypes2, _defineProperty$b({}, specialProperty, function(props) {
2114
2131
  var unsupportedProps = Object.keys(props).filter(function(prop) {
2115
2132
  return !propTypes2.hasOwnProperty(prop);
2116
2133
  });
@@ -2492,6 +2509,19 @@ function lighten(color2, coefficient) {
2492
2509
  }
2493
2510
  return recomposeColor(color2);
2494
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
+ }
2495
2525
  function _objectWithoutPropertiesLoose$5(source, excluded) {
2496
2526
  if (source == null)
2497
2527
  return {};
@@ -2524,6 +2554,20 @@ function _objectWithoutProperties$2(source, excluded) {
2524
2554
  }
2525
2555
  return target;
2526
2556
  }
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
+ }
2527
2571
  var keys$3 = ["xs", "sm", "md", "lg", "xl"];
2528
2572
  function createBreakpoints(breakpoints) {
2529
2573
  var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
@@ -2566,7 +2610,7 @@ function createBreakpoints(breakpoints) {
2566
2610
  }
2567
2611
  return values2[key];
2568
2612
  }
2569
- return _extends$6({
2613
+ return _extends$5({
2570
2614
  keys: keys$3,
2571
2615
  values: values2,
2572
2616
  up: up2,
@@ -2578,14 +2622,14 @@ function createBreakpoints(breakpoints) {
2578
2622
  }
2579
2623
  function createMixins(breakpoints, spacing2, mixins) {
2580
2624
  var _toolbar;
2581
- return _extends$6({
2625
+ return _extends$5({
2582
2626
  gutters: function gutters() {
2583
2627
  var styles20 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2584
2628
  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"));
2585
- return _extends$6({
2629
+ return _extends$5({
2586
2630
  paddingLeft: spacing2(2),
2587
2631
  paddingRight: spacing2(2)
2588
- }, styles20, _defineProperty$a({}, breakpoints.up("sm"), _extends$6({
2632
+ }, styles20, _defineProperty$a({}, breakpoints.up("sm"), _extends$5({
2589
2633
  paddingLeft: spacing2(3),
2590
2634
  paddingRight: spacing2(3)
2591
2635
  }, styles20[breakpoints.up("sm")])));
@@ -2719,7 +2763,7 @@ function createPalette(palette2) {
2719
2763
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
2720
2764
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
2721
2765
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
2722
- color2 = _extends$6({}, color2);
2766
+ color2 = _extends$5({}, color2);
2723
2767
  if (!color2.main && color2[mainShade]) {
2724
2768
  color2.main = color2[mainShade];
2725
2769
  }
@@ -2745,7 +2789,7 @@ function createPalette(palette2) {
2745
2789
  console.error("Material-UI: The palette type `".concat(type3, "` is not supported."));
2746
2790
  }
2747
2791
  }
2748
- var paletteOutput = deepmerge(_extends$6({
2792
+ var paletteOutput = deepmerge(_extends$5({
2749
2793
  // A collection of common colors.
2750
2794
  common: common$1,
2751
2795
  // The palette type, can be light or dark.
@@ -2810,7 +2854,7 @@ function createTypography(palette2, typography2) {
2810
2854
  return "".concat(size / htmlFontSize * coef, "rem");
2811
2855
  };
2812
2856
  var buildVariant = function buildVariant2(fontWeight2, size, lineHeight2, letterSpacing2, casing) {
2813
- return _extends$6({
2857
+ return _extends$5({
2814
2858
  fontFamily: fontFamily2,
2815
2859
  fontWeight: fontWeight2,
2816
2860
  fontSize: pxToRem(size),
@@ -2835,7 +2879,7 @@ function createTypography(palette2, typography2) {
2835
2879
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
2836
2880
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
2837
2881
  };
2838
- return deepmerge(_extends$6({
2882
+ return deepmerge(_extends$5({
2839
2883
  htmlFontSize,
2840
2884
  pxToRem,
2841
2885
  round: roundWithDeprecationWarning,
@@ -2900,6 +2944,14 @@ function _nonIterableSpread$2() {
2900
2944
  function _toConsumableArray$2(arr) {
2901
2945
  return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$3(arr) || _nonIterableSpread$2();
2902
2946
  }
2947
+ function _typeof$7(obj) {
2948
+ "@babel/helpers - typeof";
2949
+ return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
2950
+ return typeof obj2;
2951
+ } : function(obj2) {
2952
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
2953
+ }, _typeof$7(obj);
2954
+ }
2903
2955
  function merge(acc, item) {
2904
2956
  if (!item) {
2905
2957
  return acc;
@@ -2937,7 +2989,7 @@ function handleBreakpoints(props, propValue, styleFromPropValue) {
2937
2989
  return acc;
2938
2990
  }, {});
2939
2991
  }
2940
- if (_typeof$8(propValue) === "object") {
2992
+ if (_typeof$7(propValue) === "object") {
2941
2993
  var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
2942
2994
  return Object.keys(propValue).reduce(function(acc, breakpoint) {
2943
2995
  acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
@@ -3001,7 +3053,7 @@ function compose() {
3001
3053
  }, {});
3002
3054
  };
3003
3055
  fn.propTypes = styles20.reduce(function(acc, style) {
3004
- return _extends$6(acc, style.propTypes);
3056
+ return _extends$5(acc, style.propTypes);
3005
3057
  }, {});
3006
3058
  fn.filterProps = styles20.reduce(function(acc, style) {
3007
3059
  return acc.concat(style.filterProps);
@@ -3063,18 +3115,18 @@ function styleFunctionSx(styleFunction2) {
3063
3115
  var newStyleFunction = function newStyleFunction2(props) {
3064
3116
  var output = styleFunction2(props);
3065
3117
  if (props.css) {
3066
- return _extends$6({}, merge(output, styleFunction2(_extends$6({
3118
+ return _extends$5({}, merge(output, styleFunction2(_extends$5({
3067
3119
  theme: props.theme
3068
3120
  }, props.css))), omit$1(props.css, [styleFunction2.filterProps]));
3069
3121
  }
3070
3122
  if (props.sx) {
3071
- return _extends$6({}, merge(output, styleFunction2(_extends$6({
3123
+ return _extends$5({}, merge(output, styleFunction2(_extends$5({
3072
3124
  theme: props.theme
3073
3125
  }, props.sx))), omit$1(props.sx, [styleFunction2.filterProps]));
3074
3126
  }
3075
3127
  return output;
3076
3128
  };
3077
- newStyleFunction.propTypes = _extends$6({}, styleFunction2.propTypes, {
3129
+ newStyleFunction.propTypes = _extends$5({}, styleFunction2.propTypes, {
3078
3130
  css: chainPropTypes(PropTypes.object, function(props) {
3079
3131
  if (!warnedOnce && props.css !== void 0) {
3080
3132
  warnedOnce = true;
@@ -3697,50 +3749,12 @@ function warning(condition, message) {
3697
3749
  }
3698
3750
  }
3699
3751
  }
3700
- function _extends$5() {
3701
- _extends$5 = Object.assign ? Object.assign.bind() : function(target) {
3702
- for (var i = 1; i < arguments.length; i++) {
3703
- var source = arguments[i];
3704
- for (var key in source) {
3705
- if (Object.prototype.hasOwnProperty.call(source, key)) {
3706
- target[key] = source[key];
3707
- }
3708
- }
3709
- }
3710
- return target;
3711
- };
3712
- return _extends$5.apply(this, arguments);
3713
- }
3714
- var _typeof$7 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3752
+ var _typeof$6 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3715
3753
  return typeof obj;
3716
3754
  } : function(obj) {
3717
3755
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3718
3756
  };
3719
- var isBrowser$1 = (typeof window === "undefined" ? "undefined" : _typeof$7(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$7(document)) === "object" && document.nodeType === 9;
3720
- function _typeof$6(obj) {
3721
- "@babel/helpers - typeof";
3722
- return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
3723
- return typeof obj2;
3724
- } : function(obj2) {
3725
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
3726
- }, _typeof$6(obj);
3727
- }
3728
- function _toPrimitive(input, hint) {
3729
- if (_typeof$6(input) !== "object" || input === null)
3730
- return input;
3731
- var prim = input[Symbol.toPrimitive];
3732
- if (prim !== void 0) {
3733
- var res = prim.call(input, hint || "default");
3734
- if (_typeof$6(res) !== "object")
3735
- return res;
3736
- throw new TypeError("@@toPrimitive must return a primitive value.");
3737
- }
3738
- return (hint === "string" ? String : Number)(input);
3739
- }
3740
- function _toPropertyKey(arg) {
3741
- var key = _toPrimitive(arg, "string");
3742
- return _typeof$6(key) === "symbol" ? key : String(key);
3743
- }
3757
+ var isBrowser$1 = (typeof window === "undefined" ? "undefined" : _typeof$6(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$6(document)) === "object" && document.nodeType === 9;
3744
3758
  function _defineProperties$6(target, props) {
3745
3759
  for (var i = 0; i < props.length; i++) {
3746
3760
  var descriptor = props[i];
@@ -4018,7 +4032,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
4018
4032
  _proto2.toString = function toString2(options) {
4019
4033
  var sheet = this.options.sheet;
4020
4034
  var link = sheet ? sheet.options.link : false;
4021
- var opts2 = link ? _extends$5({}, options, {
4035
+ var opts2 = link ? _extends$6({}, options, {
4022
4036
  allowEmpty: true
4023
4037
  }) : options;
4024
4038
  return toCss(this.selectorText, this.style, opts2);
@@ -4065,7 +4079,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
4065
4079
  this.at = atMatch ? atMatch[1] : "unknown";
4066
4080
  this.query = options.name || "@" + this.at;
4067
4081
  this.options = options;
4068
- this.rules = new RuleList(_extends$5({}, options, {
4082
+ this.rules = new RuleList(_extends$6({}, options, {
4069
4083
  parent: this
4070
4084
  }));
4071
4085
  for (var name in styles20) {
@@ -4137,11 +4151,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
4137
4151
  this.options = options;
4138
4152
  var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
4139
4153
  this.id = scoped === false ? this.name : escape(generateId(this, sheet));
4140
- this.rules = new RuleList(_extends$5({}, options, {
4154
+ this.rules = new RuleList(_extends$6({}, options, {
4141
4155
  parent: this
4142
4156
  }));
4143
4157
  for (var name in frames) {
4144
- this.rules.add(name, frames[name], _extends$5({}, options, {
4158
+ this.rules.add(name, frames[name], _extends$6({}, options, {
4145
4159
  parent: this
4146
4160
  }));
4147
4161
  }
@@ -4226,7 +4240,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
4226
4240
  _proto.toString = function toString2(options) {
4227
4241
  var sheet = this.options.sheet;
4228
4242
  var link = sheet ? sheet.options.link : false;
4229
- var opts2 = link ? _extends$5({}, options, {
4243
+ var opts2 = link ? _extends$6({}, options, {
4230
4244
  allowEmpty: true
4231
4245
  }) : options;
4232
4246
  return toCss(this.key, this.style, opts2);
@@ -4350,7 +4364,7 @@ var RuleList = /* @__PURE__ */ function() {
4350
4364
  var _proto = RuleList2.prototype;
4351
4365
  _proto.add = function add(name, decl, ruleOptions) {
4352
4366
  var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
4353
- var options = _extends$5({
4367
+ var options = _extends$6({
4354
4368
  classes: this.classes,
4355
4369
  parent,
4356
4370
  sheet,
@@ -4386,7 +4400,7 @@ var RuleList = /* @__PURE__ */ function() {
4386
4400
  }
4387
4401
  var options = ruleOptions;
4388
4402
  if (oldIndex !== -1)
4389
- options = _extends$5({}, ruleOptions, {
4403
+ options = _extends$6({}, ruleOptions, {
4390
4404
  index: oldIndex
4391
4405
  });
4392
4406
  return this.add(name, decl, options);
@@ -4499,7 +4513,7 @@ var StyleSheet = /* @__PURE__ */ function() {
4499
4513
  this.deployed = false;
4500
4514
  this.classes = {};
4501
4515
  this.keyframes = {};
4502
- this.options = _extends$5({}, options, {
4516
+ this.options = _extends$6({}, options, {
4503
4517
  sheet: this,
4504
4518
  parent: this,
4505
4519
  classes: this.classes,
@@ -5118,7 +5132,7 @@ var Jss = /* @__PURE__ */ function() {
5118
5132
  this.options.createGenerateId = options.createGenerateId;
5119
5133
  }
5120
5134
  if (options.id) {
5121
- this.options.id = _extends$5({}, this.options.id, options.id);
5135
+ this.options.id = _extends$6({}, this.options.id, options.id);
5122
5136
  }
5123
5137
  if (options.createGenerateId || options.id) {
5124
5138
  this.generateId = this.options.createGenerateId(this.options.id);
@@ -5140,7 +5154,7 @@ var Jss = /* @__PURE__ */ function() {
5140
5154
  if (typeof index !== "number") {
5141
5155
  index = sheets.index === 0 ? 0 : sheets.index + 1;
5142
5156
  }
5143
- var sheet = new StyleSheet(styles20, _extends$5({}, options, {
5157
+ var sheet = new StyleSheet(styles20, _extends$6({}, options, {
5144
5158
  jss: this,
5145
5159
  generateId: options.generateId || this.generateId,
5146
5160
  insertionPoint: this.options.insertionPoint,
@@ -5165,7 +5179,7 @@ var Jss = /* @__PURE__ */ function() {
5165
5179
  if (typeof name === "object") {
5166
5180
  return this.createRule(void 0, name, style);
5167
5181
  }
5168
- var ruleOptions = _extends$5({}, options, {
5182
+ var ruleOptions = _extends$6({}, options, {
5169
5183
  name,
5170
5184
  jss: this,
5171
5185
  Renderer: this.options.Renderer
@@ -5276,7 +5290,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
5276
5290
  this.isProcessed = false;
5277
5291
  this.key = key;
5278
5292
  this.options = options;
5279
- this.rules = new RuleList(_extends$6({}, options, {
5293
+ this.rules = new RuleList(_extends$5({}, options, {
5280
5294
  parent: this
5281
5295
  }));
5282
5296
  for (var selector in styles20) {
@@ -5316,7 +5330,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
5316
5330
  this.key = key;
5317
5331
  this.options = options;
5318
5332
  var selector = key.substr(atPrefix.length);
5319
- this.rule = options.jss.createRule(selector, style, _extends$6({}, options, {
5333
+ this.rule = options.jss.createRule(selector, style, _extends$5({}, options, {
5320
5334
  parent: this
5321
5335
  }));
5322
5336
  }
@@ -5343,7 +5357,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
5343
5357
  if (!rules)
5344
5358
  return;
5345
5359
  for (var name in rules) {
5346
- sheet.addRule(name, rules[name], _extends$6({}, options, {
5360
+ sheet.addRule(name, rules[name], _extends$5({}, options, {
5347
5361
  selector: addScope(name, rule.selector)
5348
5362
  }));
5349
5363
  }
@@ -5355,7 +5369,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
5355
5369
  if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
5356
5370
  continue;
5357
5371
  var selector = addScope(prop.substr(at.length), rule.selector);
5358
- sheet.addRule(selector, style[prop], _extends$6({}, options, {
5372
+ sheet.addRule(selector, style[prop], _extends$5({}, options, {
5359
5373
  selector
5360
5374
  }));
5361
5375
  delete style[prop];
@@ -5424,12 +5438,12 @@ function jssNested() {
5424
5438
  }
5425
5439
  function getOptions(rule, container, prevOptions) {
5426
5440
  if (prevOptions)
5427
- return _extends$5({}, prevOptions, {
5441
+ return _extends$6({}, prevOptions, {
5428
5442
  index: prevOptions.index + 1
5429
5443
  });
5430
5444
  var nestingLevel = rule.options.nestingLevel;
5431
5445
  nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
5432
- var options = _extends$5({}, rule.options, {
5446
+ var options = _extends$6({}, rule.options, {
5433
5447
  nestingLevel,
5434
5448
  index: container.indexOf(rule) + 1
5435
5449
  // We don't need the parent name to be set options for chlid.
@@ -5457,11 +5471,11 @@ function jssNested() {
5457
5471
  selector = selector.replace(refRegExp, replaceRef3);
5458
5472
  var name = styleRule.key + "-" + prop;
5459
5473
  if ("replaceRule" in container) {
5460
- container.replaceRule(name, style[prop], _extends$5({}, options, {
5474
+ container.replaceRule(name, style[prop], _extends$6({}, options, {
5461
5475
  selector
5462
5476
  }));
5463
5477
  } else {
5464
- container.addRule(name, style[prop], _extends$5({}, options, {
5478
+ container.addRule(name, style[prop], _extends$6({}, options, {
5465
5479
  selector
5466
5480
  }));
5467
5481
  }
@@ -6231,7 +6245,7 @@ function mergeClasses() {
6231
6245
  if (!newClasses) {
6232
6246
  return baseClasses;
6233
6247
  }
6234
- var nextClasses = _extends$6({}, baseClasses);
6248
+ var nextClasses = _extends$5({}, baseClasses);
6235
6249
  {
6236
6250
  if (typeof newClasses === "string") {
6237
6251
  console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(getDisplayName(Component), " is incorrect."), "You might want to use the className prop instead."].join("\n"));
@@ -6303,7 +6317,7 @@ var injectFirstNode;
6303
6317
  function StylesProvider(props) {
6304
6318
  var children2 = props.children, _props$injectFirst = props.injectFirst, injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst, _props$disableGenerat = props.disableGeneration, disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat, localOptions = _objectWithoutProperties$2(props, ["children", "injectFirst", "disableGeneration"]);
6305
6319
  var outerOptions = React__default.useContext(StylesContext);
6306
- var context = _extends$6({}, outerOptions, {
6320
+ var context = _extends$5({}, outerOptions, {
6307
6321
  disableGeneration
6308
6322
  }, localOptions);
6309
6323
  {
@@ -6408,7 +6422,7 @@ const noopTheme$1 = noopTheme;
6408
6422
  function getStylesCreator(stylesOrCreator) {
6409
6423
  var themingEnabled = typeof stylesOrCreator === "function";
6410
6424
  {
6411
- if (_typeof$8(stylesOrCreator) !== "object" && !themingEnabled) {
6425
+ if (_typeof$7(stylesOrCreator) !== "object" && !themingEnabled) {
6412
6426
  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"));
6413
6427
  }
6414
6428
  }
@@ -6429,7 +6443,7 @@ function getStylesCreator(stylesOrCreator) {
6429
6443
  return styles20;
6430
6444
  }
6431
6445
  var overrides = theme.overrides[name];
6432
- var stylesWithOverrides = _extends$6({}, styles20);
6446
+ var stylesWithOverrides = _extends$5({}, styles20);
6433
6447
  Object.keys(overrides).forEach(function(key) {
6434
6448
  {
6435
6449
  if (!stylesWithOverrides[key]) {
@@ -6490,7 +6504,7 @@ function attach(_ref22, props) {
6490
6504
  };
6491
6505
  multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
6492
6506
  }
6493
- var options = _extends$6({}, stylesCreator.options, stylesOptions, {
6507
+ var options = _extends$5({}, stylesCreator.options, stylesOptions, {
6494
6508
  theme,
6495
6509
  flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
6496
6510
  });
@@ -6503,7 +6517,7 @@ function attach(_ref22, props) {
6503
6517
  }
6504
6518
  var styles20 = stylesCreator.create(theme, name);
6505
6519
  if (!staticSheet) {
6506
- staticSheet = stylesOptions.jss.createStyleSheet(styles20, _extends$6({
6520
+ staticSheet = stylesOptions.jss.createStyleSheet(styles20, _extends$5({
6507
6521
  link: false
6508
6522
  }, options));
6509
6523
  staticSheet.attach();
@@ -6518,7 +6532,7 @@ function attach(_ref22, props) {
6518
6532
  sheetManager.dynamicStyles = getDynamicStyles(styles20);
6519
6533
  }
6520
6534
  if (sheetManager.dynamicStyles) {
6521
- var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$6({
6535
+ var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$5({
6522
6536
  link: true
6523
6537
  }, options));
6524
6538
  dynamicSheet.update(props);
@@ -6600,7 +6614,7 @@ function makeStyles$1(stylesOrCreator) {
6600
6614
  var useStyles2 = function useStyles3() {
6601
6615
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6602
6616
  var theme = useTheme$1() || defaultTheme2;
6603
- var stylesOptions = _extends$6({}, React__default.useContext(StylesContext), stylesOptions2);
6617
+ var stylesOptions = _extends$5({}, React__default.useContext(StylesContext), stylesOptions2);
6604
6618
  var instance = React__default.useRef();
6605
6619
  var shouldUpdate = React__default.useRef();
6606
6620
  useSynchronousEffect(function() {
@@ -6790,7 +6804,7 @@ function styled$2(Component) {
6790
6804
  var stylesOrCreator = typeof style === "function" ? function(theme) {
6791
6805
  return {
6792
6806
  root: function root2(props) {
6793
- return style(_extends$6({
6807
+ return style(_extends$5({
6794
6808
  theme
6795
6809
  }, props));
6796
6810
  }
@@ -6798,7 +6812,7 @@ function styled$2(Component) {
6798
6812
  } : {
6799
6813
  root: style
6800
6814
  };
6801
- var useStyles2 = makeStyles$1(stylesOrCreator, _extends$6({
6815
+ var useStyles2 = makeStyles$1(stylesOrCreator, _extends$5({
6802
6816
  Component,
6803
6817
  name: name || Component.displayName,
6804
6818
  classNamePrefix
@@ -6822,22 +6836,22 @@ function styled$2(Component) {
6822
6836
  spread = omit(spread, filterProps);
6823
6837
  }
6824
6838
  if (clone) {
6825
- return /* @__PURE__ */ React__default.cloneElement(children2, _extends$6({
6839
+ return /* @__PURE__ */ React__default.cloneElement(children2, _extends$5({
6826
6840
  className: clsx(children2.props.className, className)
6827
6841
  }, spread));
6828
6842
  }
6829
6843
  if (typeof children2 === "function") {
6830
- return children2(_extends$6({
6844
+ return children2(_extends$5({
6831
6845
  className
6832
6846
  }, spread));
6833
6847
  }
6834
6848
  var FinalComponent = ComponentProp || Component;
6835
- return /* @__PURE__ */ React__default.createElement(FinalComponent, _extends$6({
6849
+ return /* @__PURE__ */ React__default.createElement(FinalComponent, _extends$5({
6836
6850
  ref,
6837
6851
  className
6838
6852
  }, spread), children2);
6839
6853
  });
6840
- StyledComponent.propTypes = _extends$6({
6854
+ StyledComponent.propTypes = _extends$5({
6841
6855
  /**
6842
6856
  * A render function or node.
6843
6857
  */
@@ -6882,7 +6896,7 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
6882
6896
  }
6883
6897
  return mergedTheme;
6884
6898
  }
6885
- return _extends$6({}, outerTheme, localTheme);
6899
+ return _extends$5({}, outerTheme, localTheme);
6886
6900
  }
6887
6901
  function ThemeProvider(props) {
6888
6902
  var children2 = props.children, localTheme = props.theme;
@@ -6934,7 +6948,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
6934
6948
  }
6935
6949
  }
6936
6950
  }
6937
- var useStyles2 = makeStyles$1(stylesOrCreator, _extends$6({
6951
+ var useStyles2 = makeStyles$1(stylesOrCreator, _extends$5({
6938
6952
  defaultTheme: defaultTheme2,
6939
6953
  Component,
6940
6954
  name: name || Component.displayName,
@@ -6943,7 +6957,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
6943
6957
  var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props, ref) {
6944
6958
  props.classes;
6945
6959
  var innerRef = props.innerRef, other = _objectWithoutProperties$2(props, ["classes", "innerRef"]);
6946
- var classes = useStyles2(_extends$6({}, Component.defaultProps, props));
6960
+ var classes = useStyles2(_extends$5({}, Component.defaultProps, props));
6947
6961
  var theme;
6948
6962
  var more = other;
6949
6963
  if (typeof name === "string" || withTheme) {
@@ -6959,7 +6973,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
6959
6973
  more.theme = theme;
6960
6974
  }
6961
6975
  }
6962
- return /* @__PURE__ */ React__default.createElement(Component, _extends$6({
6976
+ return /* @__PURE__ */ React__default.createElement(Component, _extends$5({
6963
6977
  ref: innerRef || ref,
6964
6978
  classes
6965
6979
  }, more));
@@ -6997,14 +7011,14 @@ var defaultTheme = createTheme();
6997
7011
  const defaultTheme$1 = defaultTheme;
6998
7012
  function makeStyles(stylesOrCreator) {
6999
7013
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7000
- return makeStyles$1(stylesOrCreator, _extends$6({
7014
+ return makeStyles$1(stylesOrCreator, _extends$5({
7001
7015
  defaultTheme: defaultTheme$1
7002
7016
  }, options));
7003
7017
  }
7004
7018
  var styled = function styled2(Component) {
7005
7019
  var componentCreator = styled$2(Component);
7006
7020
  return function(style, options) {
7007
- return componentCreator(style, _extends$6({
7021
+ return componentCreator(style, _extends$5({
7008
7022
  defaultTheme: defaultTheme$1
7009
7023
  }, options));
7010
7024
  };
@@ -7018,7 +7032,7 @@ function useTheme() {
7018
7032
  return theme;
7019
7033
  }
7020
7034
  function withStyles2(stylesOrCreator, options) {
7021
- return withStylesWithoutDefault(stylesOrCreator, _extends$6({
7035
+ return withStylesWithoutDefault(stylesOrCreator, _extends$5({
7022
7036
  defaultTheme: defaultTheme$1
7023
7037
  }, options));
7024
7038
  }
@@ -7102,7 +7116,7 @@ var styles$t = function styles(theme) {
7102
7116
  };
7103
7117
  var SvgIcon = /* @__PURE__ */ React$6.forwardRef(function SvgIcon2(props, ref) {
7104
7118
  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"]);
7105
- return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
7119
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
7106
7120
  className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], fontSize2 !== "default" && fontSize2 !== "medium" && classes["fontSize".concat(capitalize$1(fontSize2))]),
7107
7121
  focusable: "false",
7108
7122
  viewBox,
@@ -7180,7 +7194,7 @@ const SvgIcon$1 = withStyles2(styles$t, {
7180
7194
  })(SvgIcon);
7181
7195
  function createSvgIcon(path, displayName) {
7182
7196
  var Component = function Component2(props, ref) {
7183
- return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$6({
7197
+ return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$5({
7184
7198
  ref
7185
7199
  }, props), path);
7186
7200
  };
@@ -7982,7 +7996,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
7982
7996
  }
7983
7997
  if (this.mounted) {
7984
7998
  this.setState(function(state) {
7985
- var children2 = _extends$6({}, state.children);
7999
+ var children2 = _extends$5({}, state.children);
7986
8000
  delete children2[child.key];
7987
8001
  return {
7988
8002
  children: children2
@@ -8080,7 +8094,7 @@ var styles$s = function styles2(theme) {
8080
8094
  boxShadow: shadow
8081
8095
  };
8082
8096
  });
8083
- return _extends$6({
8097
+ return _extends$5({
8084
8098
  /* Styles applied to the root element. */
8085
8099
  root: {
8086
8100
  backgroundColor: theme.palette.background.paper,
@@ -8099,7 +8113,7 @@ var styles$s = function styles2(theme) {
8099
8113
  };
8100
8114
  var Paper = /* @__PURE__ */ React$6.forwardRef(function Paper2(props, ref) {
8101
8115
  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"]);
8102
- return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
8116
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
8103
8117
  className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
8104
8118
  ref
8105
8119
  }, other));
@@ -8438,7 +8452,7 @@ var TouchRipple = /* @__PURE__ */ React$6.forwardRef(function TouchRipple2(props
8438
8452
  stop
8439
8453
  };
8440
8454
  }, [pulsate, start, stop]);
8441
- return /* @__PURE__ */ React$6.createElement("span", _extends$6({
8455
+ return /* @__PURE__ */ React$6.createElement("span", _extends$5({
8442
8456
  className: clsx(classes.root, className),
8443
8457
  ref: container
8444
8458
  }, other), /* @__PURE__ */ React$6.createElement(TransitionGroup$1, {
@@ -8657,7 +8671,7 @@ var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props,
8657
8671
  }
8658
8672
  }, [enableTouchRipple]);
8659
8673
  }
8660
- return /* @__PURE__ */ React$6.createElement(ComponentProp, _extends$6({
8674
+ return /* @__PURE__ */ React$6.createElement(ComponentProp, _extends$5({
8661
8675
  className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
8662
8676
  onBlur: handleBlur,
8663
8677
  onClick,
@@ -8675,7 +8689,7 @@ var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props,
8675
8689
  tabIndex: disabled ? -1 : tabIndex
8676
8690
  }, buttonProps, other), children2, enableTouchRipple ? (
8677
8691
  /* TouchRipple is only needed client-side, x2 boost on the server. */
8678
- /* @__PURE__ */ React$6.createElement(TouchRipple$1, _extends$6({
8692
+ /* @__PURE__ */ React$6.createElement(TouchRipple$1, _extends$5({
8679
8693
  ref: rippleRef,
8680
8694
  center: centerRipple
8681
8695
  }, TouchRippleProps))
@@ -8907,7 +8921,7 @@ var styles$p = function styles4(theme) {
8907
8921
  };
8908
8922
  var IconButton = /* @__PURE__ */ React$6.forwardRef(function IconButton2(props, ref) {
8909
8923
  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"]);
8910
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$6({
8924
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$5({
8911
8925
  className: clsx(classes.root, className, color2 !== "default" && classes["color".concat(capitalize$1(color2))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize$1(size))], {
8912
8926
  "start": classes.edgeStart,
8913
8927
  "end": classes.edgeEnd
@@ -9036,7 +9050,7 @@ var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props, ref) {
9036
9050
  }
9037
9051
  });
9038
9052
  var handleExited = normalizedTransitionCallback(onExited);
9039
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$6({
9053
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$5({
9040
9054
  appear: true,
9041
9055
  in: inProp,
9042
9056
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -9048,8 +9062,8 @@ var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props, ref) {
9048
9062
  onExiting: handleExiting,
9049
9063
  timeout: timeout2
9050
9064
  }, other), function(state, childProps) {
9051
- return /* @__PURE__ */ React$6.cloneElement(children2, _extends$6({
9052
- style: _extends$6({
9065
+ return /* @__PURE__ */ React$6.cloneElement(children2, _extends$5({
9066
+ style: _extends$5({
9053
9067
  opacity: 0,
9054
9068
  visibility: state === "exited" && !inProp ? "hidden" : void 0
9055
9069
  }, styles$o[state], style, children2.props.style),
@@ -9238,7 +9252,7 @@ var defaultVariantMapping = {
9238
9252
  var Typography = /* @__PURE__ */ React$6.forwardRef(function Typography2(props, ref) {
9239
9253
  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"]);
9240
9254
  var Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
9241
- return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
9255
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
9242
9256
  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))]),
9243
9257
  ref
9244
9258
  }, other));
@@ -9411,13 +9425,13 @@ var CircularProgress = /* @__PURE__ */ React$6.forwardRef(function CircularProgr
9411
9425
  circleStyle.strokeDashoffset = "".concat(((100 - value) / 100 * circumference).toFixed(3), "px");
9412
9426
  rootStyle.transform = "rotate(-90deg)";
9413
9427
  }
9414
- return /* @__PURE__ */ React$6.createElement("div", _extends$6({
9428
+ return /* @__PURE__ */ React$6.createElement("div", _extends$5({
9415
9429
  className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], {
9416
9430
  "determinate": classes.determinate,
9417
9431
  "indeterminate": classes.indeterminate,
9418
9432
  "static": classes.static
9419
9433
  }[variant]),
9420
- style: _extends$6({
9434
+ style: _extends$5({
9421
9435
  width: size,
9422
9436
  height: size
9423
9437
  }, rootStyle, style),
@@ -10045,11 +10059,11 @@ var styles$l = {
10045
10059
  };
10046
10060
  var SimpleBackdrop = /* @__PURE__ */ React$6.forwardRef(function SimpleBackdrop2(props, ref) {
10047
10061
  var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties$2(props, ["invisible", "open"]);
10048
- return open ? /* @__PURE__ */ React$6.createElement("div", _extends$6({
10062
+ return open ? /* @__PURE__ */ React$6.createElement("div", _extends$5({
10049
10063
  "aria-hidden": true,
10050
10064
  ref
10051
10065
  }, other, {
10052
- style: _extends$6({}, styles$l.root, invisible ? styles$l.invisible : {}, other.style)
10066
+ style: _extends$5({}, styles$l.root, invisible ? styles$l.invisible : {}, other.style)
10053
10067
  })) : null;
10054
10068
  });
10055
10069
  SimpleBackdrop.propTypes = {
@@ -10093,7 +10107,7 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref) {
10093
10107
  var theme = useTheme$1();
10094
10108
  var props = getThemeProps({
10095
10109
  name: "MuiModal",
10096
- props: _extends$6({}, inProps),
10110
+ props: _extends$5({}, inProps),
10097
10111
  theme
10098
10112
  });
10099
10113
  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"]);
@@ -10208,13 +10222,13 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref) {
10208
10222
  ref: handlePortalRef,
10209
10223
  container,
10210
10224
  disablePortal
10211
- }, /* @__PURE__ */ React$6.createElement("div", _extends$6({
10225
+ }, /* @__PURE__ */ React$6.createElement("div", _extends$5({
10212
10226
  ref: handleRef,
10213
10227
  onKeyDown: handleKeyDown2,
10214
10228
  role: "presentation"
10215
10229
  }, other, {
10216
- style: _extends$6({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10217
- }), hideBackdrop ? null : /* @__PURE__ */ React$6.createElement(BackdropComponent, _extends$6({
10230
+ style: _extends$5({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10231
+ }), hideBackdrop ? null : /* @__PURE__ */ React$6.createElement(BackdropComponent, _extends$5({
10218
10232
  open,
10219
10233
  onClick: handleBackdropClick
10220
10234
  }, BackdropProps)), /* @__PURE__ */ React$6.createElement(Unstable_TrapFocus, {
@@ -10442,12 +10456,12 @@ var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutos
10442
10456
  onChange(event);
10443
10457
  }
10444
10458
  };
10445
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("textarea", _extends$6({
10459
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("textarea", _extends$5({
10446
10460
  value,
10447
10461
  onChange: handleChange,
10448
10462
  ref: handleRef,
10449
10463
  rows: minRows,
10450
- style: _extends$6({
10464
+ style: _extends$5({
10451
10465
  height: state.outerHeightStyle,
10452
10466
  // Need a large enough difference to allow scrolling.
10453
10467
  // This prevents infinite rendering loop.
@@ -10459,7 +10473,7 @@ var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutos
10459
10473
  readOnly: true,
10460
10474
  ref: shadowRef,
10461
10475
  tabIndex: -1,
10462
- style: _extends$6({}, styles$j.shadow, style)
10476
+ style: _extends$5({}, styles$j.shadow, style)
10463
10477
  }));
10464
10478
  });
10465
10479
  TextareaAutosize.propTypes = {
@@ -10540,7 +10554,7 @@ var styles$i = function styles8(theme) {
10540
10554
  "@keyframes mui-auto-fill-cancel": {}
10541
10555
  },
10542
10556
  /* Styles applied to the root element. */
10543
- root: _extends$6({}, theme.typography.body1, {
10557
+ root: _extends$5({}, theme.typography.body1, {
10544
10558
  color: theme.palette.text.primary,
10545
10559
  lineHeight: "1.1876em",
10546
10560
  // Reset (19px), match the native input line-height
@@ -10797,11 +10811,11 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10797
10811
  }
10798
10812
  };
10799
10813
  var InputComponent = inputComponent;
10800
- var inputProps = _extends$6({}, inputPropsProp, {
10814
+ var inputProps = _extends$5({}, inputPropsProp, {
10801
10815
  ref: handleInputRef
10802
10816
  });
10803
10817
  if (typeof InputComponent !== "string") {
10804
- inputProps = _extends$6({
10818
+ inputProps = _extends$5({
10805
10819
  // Rename ref to inputRef as we don't know the
10806
10820
  // provided `inputComponent` structure.
10807
10821
  inputRef: handleInputRef,
@@ -10813,7 +10827,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10813
10827
  if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
10814
10828
  InputComponent = "textarea";
10815
10829
  } else {
10816
- inputProps = _extends$6({
10830
+ inputProps = _extends$5({
10817
10831
  minRows: rows || minRows,
10818
10832
  rowsMax,
10819
10833
  maxRows
@@ -10821,7 +10835,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10821
10835
  InputComponent = TextareaAutosize$1;
10822
10836
  }
10823
10837
  } else {
10824
- inputProps = _extends$6({
10838
+ inputProps = _extends$5({
10825
10839
  type: type3
10826
10840
  }, inputProps);
10827
10841
  }
@@ -10835,13 +10849,13 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10835
10849
  muiFormControl.setAdornedStart(Boolean(startAdornment));
10836
10850
  }
10837
10851
  }, [muiFormControl, startAdornment]);
10838
- return /* @__PURE__ */ React$6.createElement("div", _extends$6({
10852
+ return /* @__PURE__ */ React$6.createElement("div", _extends$5({
10839
10853
  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),
10840
10854
  onClick: handleClick,
10841
10855
  ref
10842
10856
  }, other), startAdornment, /* @__PURE__ */ React$6.createElement(FormControlContext$1.Provider, {
10843
10857
  value: null
10844
- }, /* @__PURE__ */ React$6.createElement(InputComponent, _extends$6({
10858
+ }, /* @__PURE__ */ React$6.createElement(InputComponent, _extends$5({
10845
10859
  "aria-invalid": fcs.error,
10846
10860
  "aria-describedby": ariaDescribedby,
10847
10861
  autoComplete,
@@ -10863,7 +10877,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
10863
10877
  onBlur: handleBlur,
10864
10878
  onChange: handleChange,
10865
10879
  onFocus: handleFocus
10866
- }))), endAdornment, renderSuffix ? renderSuffix(_extends$6({}, fcs, {
10880
+ }))), endAdornment, renderSuffix ? renderSuffix(_extends$5({}, fcs, {
10867
10881
  startAdornment
10868
10882
  })) : null);
10869
10883
  });
@@ -11181,8 +11195,8 @@ var styles$h = function styles9(theme) {
11181
11195
  };
11182
11196
  var FilledInput = /* @__PURE__ */ React$6.forwardRef(function FilledInput2(props, ref) {
11183
11197
  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"]);
11184
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$6({
11185
- classes: _extends$6({}, classes, {
11198
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
11199
+ classes: _extends$5({}, classes, {
11186
11200
  root: clsx(classes.root, !disableUnderline && classes.underline),
11187
11201
  underline: null
11188
11202
  }),
@@ -11419,7 +11433,7 @@ var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props, ref) {
11419
11433
  clearTimeout(timer.current);
11420
11434
  };
11421
11435
  }, []);
11422
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$6({
11436
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$5({
11423
11437
  appear: true,
11424
11438
  in: inProp,
11425
11439
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -11432,8 +11446,8 @@ var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props, ref) {
11432
11446
  addEndListener,
11433
11447
  timeout: timeout2 === "auto" ? null : timeout2
11434
11448
  }, other), function(state, childProps) {
11435
- return /* @__PURE__ */ React$6.cloneElement(children2, _extends$6({
11436
- style: _extends$6({
11449
+ return /* @__PURE__ */ React$6.cloneElement(children2, _extends$5({
11450
+ style: _extends$5({
11437
11451
  opacity: 0,
11438
11452
  transform: getScale(0.75),
11439
11453
  visibility: state === "exited" && !inProp ? "hidden" : void 0
@@ -11598,8 +11612,8 @@ var styles$f = function styles10(theme) {
11598
11612
  };
11599
11613
  var Input = /* @__PURE__ */ React$6.forwardRef(function Input2(props, ref) {
11600
11614
  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"]);
11601
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$6({
11602
- classes: _extends$6({}, classes, {
11615
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
11616
+ classes: _extends$5({}, classes, {
11603
11617
  root: clsx(classes.root, !disableUnderline && classes.underline),
11604
11618
  underline: null
11605
11619
  }),
@@ -11807,7 +11821,7 @@ var Link = /* @__PURE__ */ React$6.forwardRef(function Link2(props, ref) {
11807
11821
  onFocus(event);
11808
11822
  }
11809
11823
  };
11810
- return /* @__PURE__ */ React$6.createElement(Typography$1, _extends$6({
11824
+ return /* @__PURE__ */ React$6.createElement(Typography$1, _extends$5({
11811
11825
  className: clsx(classes.root, classes["underline".concat(capitalize$1(underline))], className, focusVisible && classes.focusVisible, component === "button" && classes.button),
11812
11826
  classes: TypographyClasses,
11813
11827
  color: color2,
@@ -11899,7 +11913,7 @@ var List = /* @__PURE__ */ React$6.forwardRef(function List2(props, ref) {
11899
11913
  }, [dense]);
11900
11914
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
11901
11915
  value: context
11902
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
11916
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
11903
11917
  className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
11904
11918
  ref
11905
11919
  }, other), subheader, children2));
@@ -12042,7 +12056,7 @@ var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props, ref)
12042
12056
  listItemRef.current = ReactDOM.findDOMNode(instance);
12043
12057
  }, []);
12044
12058
  var handleRef = useForkRef(handleOwnRef, ref);
12045
- var componentProps = _extends$6({
12059
+ var componentProps = _extends$5({
12046
12060
  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),
12047
12061
  disabled
12048
12062
  }, other);
@@ -12063,14 +12077,14 @@ var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props, ref)
12063
12077
  }
12064
12078
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
12065
12079
  value: childContext
12066
- }, /* @__PURE__ */ React$6.createElement(ContainerComponent, _extends$6({
12080
+ }, /* @__PURE__ */ React$6.createElement(ContainerComponent, _extends$5({
12067
12081
  className: clsx(classes.container, ContainerClassName),
12068
12082
  ref: handleRef
12069
12083
  }, ContainerProps), /* @__PURE__ */ React$6.createElement(Component, componentProps, children2), children2.pop()));
12070
12084
  }
12071
12085
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
12072
12086
  value: childContext
12073
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
12087
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
12074
12088
  ref: handleRef
12075
12089
  }, componentProps), children2));
12076
12090
  });
@@ -12376,7 +12390,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12376
12390
  transitionDuration = void 0;
12377
12391
  }
12378
12392
  var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl$1(anchorEl)).body : void 0);
12379
- return /* @__PURE__ */ React$6.createElement(Modal$1, _extends$6({
12393
+ return /* @__PURE__ */ React$6.createElement(Modal$1, _extends$5({
12380
12394
  container,
12381
12395
  open,
12382
12396
  ref,
@@ -12384,7 +12398,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12384
12398
  invisible: true
12385
12399
  },
12386
12400
  className: clsx(classes.root, className)
12387
- }, other), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$6({
12401
+ }, other), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$5({
12388
12402
  appear: true,
12389
12403
  in: open,
12390
12404
  onEnter,
@@ -12395,7 +12409,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
12395
12409
  timeout: transitionDuration
12396
12410
  }, TransitionProps, {
12397
12411
  onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
12398
- }), /* @__PURE__ */ React$6.createElement(Paper$1, _extends$6({
12412
+ }), /* @__PURE__ */ React$6.createElement(Paper$1, _extends$5({
12399
12413
  elevation,
12400
12414
  ref: handlePaperRef
12401
12415
  }, PaperProps, {
@@ -12732,7 +12746,7 @@ var MenuList = /* @__PURE__ */ React$6.forwardRef(function MenuList2(props, ref)
12732
12746
  }
12733
12747
  return child;
12734
12748
  });
12735
- return /* @__PURE__ */ React$6.createElement(List$1, _extends$6({
12749
+ return /* @__PURE__ */ React$6.createElement(List$1, _extends$5({
12736
12750
  role: "menu",
12737
12751
  ref: handleRef,
12738
12752
  className,
@@ -12864,24 +12878,24 @@ var Menu = /* @__PURE__ */ React$6.forwardRef(function Menu2(props, ref) {
12864
12878
  }
12865
12879
  return child;
12866
12880
  });
12867
- return /* @__PURE__ */ React$6.createElement(Popover$1, _extends$6({
12881
+ return /* @__PURE__ */ React$6.createElement(Popover$1, _extends$5({
12868
12882
  getContentAnchorEl,
12869
12883
  classes: PopoverClasses,
12870
12884
  onClose,
12871
- TransitionProps: _extends$6({
12885
+ TransitionProps: _extends$5({
12872
12886
  onEntering: handleEntering
12873
12887
  }, TransitionProps),
12874
12888
  anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
12875
12889
  transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
12876
- PaperProps: _extends$6({}, PaperProps, {
12877
- classes: _extends$6({}, PaperProps.classes, {
12890
+ PaperProps: _extends$5({}, PaperProps, {
12891
+ classes: _extends$5({}, PaperProps.classes, {
12878
12892
  root: classes.paper
12879
12893
  })
12880
12894
  }),
12881
12895
  open,
12882
12896
  ref,
12883
12897
  transitionDuration
12884
- }, other), /* @__PURE__ */ React$6.createElement(MenuList$1, _extends$6({
12898
+ }, other), /* @__PURE__ */ React$6.createElement(MenuList$1, _extends$5({
12885
12899
  onKeyDown: handleListKeyDown,
12886
12900
  actions: menuListActionsRef,
12887
12901
  autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
@@ -13002,7 +13016,7 @@ const Menu$1 = withStyles2(styles$a, {
13002
13016
  var styles$9 = function styles12(theme) {
13003
13017
  return {
13004
13018
  /* Styles applied to the root element. */
13005
- root: _extends$6({}, theme.typography.body1, _defineProperty$a({
13019
+ root: _extends$5({}, theme.typography.body1, _defineProperty$a({
13006
13020
  minHeight: 48,
13007
13021
  paddingTop: 6,
13008
13022
  paddingBottom: 6,
@@ -13019,7 +13033,7 @@ var styles$9 = function styles12(theme) {
13019
13033
  /* Styles applied to the root element if `selected={true}`. */
13020
13034
  selected: {},
13021
13035
  /* Styles applied to the root element if dense. */
13022
- dense: _extends$6({}, theme.typography.body2, {
13036
+ dense: _extends$5({}, theme.typography.body2, {
13023
13037
  minHeight: "auto"
13024
13038
  })
13025
13039
  };
@@ -13030,14 +13044,14 @@ var MenuItem = /* @__PURE__ */ React$6.forwardRef(function MenuItem2(props, ref)
13030
13044
  if (!props.disabled) {
13031
13045
  tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
13032
13046
  }
13033
- return /* @__PURE__ */ React$6.createElement(ListItem$1, _extends$6({
13047
+ return /* @__PURE__ */ React$6.createElement(ListItem$1, _extends$5({
13034
13048
  button: true,
13035
13049
  role,
13036
13050
  tabIndex,
13037
13051
  component,
13038
13052
  selected,
13039
13053
  disableGutters,
13040
- classes: _extends$6({
13054
+ classes: _extends$5({
13041
13055
  dense: classes.dense
13042
13056
  }, ListItemClasses),
13043
13057
  className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),
@@ -13097,7 +13111,7 @@ const MenuItem$1 = withStyles2(styles$9, {
13097
13111
  })(MenuItem);
13098
13112
  var NativeSelectInput = /* @__PURE__ */ React$6.forwardRef(function NativeSelectInput2(props, ref) {
13099
13113
  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"]);
13100
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$6({
13114
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$5({
13101
13115
  className: clsx(
13102
13116
  classes.root,
13103
13117
  // TODO v5: merge root and select
@@ -13283,11 +13297,11 @@ var NativeSelect = /* @__PURE__ */ React$6.forwardRef(function NativeSelect2(pro
13283
13297
  muiFormControl,
13284
13298
  states: ["variant"]
13285
13299
  });
13286
- return /* @__PURE__ */ React$6.cloneElement(input, _extends$6({
13300
+ return /* @__PURE__ */ React$6.cloneElement(input, _extends$5({
13287
13301
  // Most of the logic is implemented in `NativeSelectInput`.
13288
13302
  // The `Select` component is a simple API wrapper to expose something better to play with.
13289
13303
  inputComponent: NativeSelectInput$1,
13290
- inputProps: _extends$6({
13304
+ inputProps: _extends$5({
13291
13305
  children: children2,
13292
13306
  classes,
13293
13307
  IconComponent,
@@ -13410,7 +13424,7 @@ var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2
13410
13424
  var theme = useTheme();
13411
13425
  var align = theme.direction === "rtl" ? "right" : "left";
13412
13426
  if (label !== void 0) {
13413
- return /* @__PURE__ */ React$6.createElement("fieldset", _extends$6({
13427
+ return /* @__PURE__ */ React$6.createElement("fieldset", _extends$5({
13414
13428
  "aria-hidden": true,
13415
13429
  className: clsx(classes.root, className),
13416
13430
  ref,
@@ -13424,9 +13438,9 @@ var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2
13424
13438
  })));
13425
13439
  }
13426
13440
  var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
13427
- return /* @__PURE__ */ React$6.createElement("fieldset", _extends$6({
13441
+ return /* @__PURE__ */ React$6.createElement("fieldset", _extends$5({
13428
13442
  "aria-hidden": true,
13429
- style: _extends$6(_defineProperty$a({}, "padding".concat(capitalize$1(align)), 8), style),
13443
+ style: _extends$5(_defineProperty$a({}, "padding".concat(capitalize$1(align)), 8), style),
13430
13444
  className: clsx(classes.root, className),
13431
13445
  ref
13432
13446
  }, other), /* @__PURE__ */ React$6.createElement("legend", {
@@ -13569,7 +13583,7 @@ var styles$6 = function styles15(theme) {
13569
13583
  };
13570
13584
  var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(props, ref) {
13571
13585
  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"]);
13572
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$6({
13586
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
13573
13587
  renderSuffix: function renderSuffix(state) {
13574
13588
  return /* @__PURE__ */ React$6.createElement(NotchedOutline$1, {
13575
13589
  className: classes.notchedOutline,
@@ -13578,7 +13592,7 @@ var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(p
13578
13592
  notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
13579
13593
  });
13580
13594
  },
13581
- classes: _extends$6({}, classes, {
13595
+ classes: _extends$5({}, classes, {
13582
13596
  root: clsx(classes.root, classes.underline),
13583
13597
  notchedOutline: null
13584
13598
  }),
@@ -15329,10 +15343,10 @@ var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props, ref) {
15329
15343
  }
15330
15344
  }
15331
15345
  }
15332
- var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$6({
15346
+ var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$5({
15333
15347
  placement: rtlPlacement
15334
15348
  }, popperOptions, {
15335
- modifiers: _extends$6({}, disablePortal ? {} : {
15349
+ modifiers: _extends$5({}, disablePortal ? {} : {
15336
15350
  // It's using scrollParent by default, we can use the viewport when using a portal.
15337
15351
  preventOverflow: {
15338
15352
  boundariesElement: "window"
@@ -15389,11 +15403,11 @@ var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props, ref) {
15389
15403
  return /* @__PURE__ */ React$6.createElement(Portal$1, {
15390
15404
  disablePortal,
15391
15405
  container
15392
- }, /* @__PURE__ */ React$6.createElement("div", _extends$6({
15406
+ }, /* @__PURE__ */ React$6.createElement("div", _extends$5({
15393
15407
  ref: handleRef,
15394
15408
  role: "tooltip"
15395
15409
  }, other, {
15396
- style: _extends$6({
15410
+ style: _extends$5({
15397
15411
  // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
15398
15412
  position: "fixed",
15399
15413
  // Fix Popper.js display issue
@@ -15488,7 +15502,7 @@ Popper.propTypes = {
15488
15502
  };
15489
15503
  const Popper$1 = Popper;
15490
15504
  function areEqualValues(a, b) {
15491
- if (_typeof$8(b) === "object" && b !== null) {
15505
+ if (_typeof$7(b) === "object" && b !== null) {
15492
15506
  return a === b;
15493
15507
  }
15494
15508
  return String(a) === String(b);
@@ -15738,7 +15752,7 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
15738
15752
  tabIndex = disabled ? null : 0;
15739
15753
  }
15740
15754
  var buttonId = SelectDisplayProps.id || (name ? "mui-component-select-".concat(name) : void 0);
15741
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("div", _extends$6({
15755
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("div", _extends$5({
15742
15756
  className: clsx(
15743
15757
  classes.root,
15744
15758
  // TODO v5: merge root and select
@@ -15770,7 +15784,7 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
15770
15784
  __html: "&#8203;"
15771
15785
  }
15772
15786
  })
15773
- ) : display2), /* @__PURE__ */ React$6.createElement("input", _extends$6({
15787
+ ) : display2), /* @__PURE__ */ React$6.createElement("input", _extends$5({
15774
15788
  value: Array.isArray(value) ? value.join(",") : value,
15775
15789
  name,
15776
15790
  ref: inputRef,
@@ -15781,19 +15795,19 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
15781
15795
  autoFocus
15782
15796
  }, other)), /* @__PURE__ */ React$6.createElement(IconComponent, {
15783
15797
  className: clsx(classes.icon, classes["icon".concat(capitalize$1(variant))], open && classes.iconOpen, disabled && classes.disabled)
15784
- }), /* @__PURE__ */ React$6.createElement(Menu$1, _extends$6({
15798
+ }), /* @__PURE__ */ React$6.createElement(Menu$1, _extends$5({
15785
15799
  id: "menu-".concat(name || ""),
15786
15800
  anchorEl: displayNode,
15787
15801
  open,
15788
15802
  onClose: handleClose
15789
15803
  }, MenuProps, {
15790
- MenuListProps: _extends$6({
15804
+ MenuListProps: _extends$5({
15791
15805
  "aria-labelledby": labelId,
15792
15806
  role: "listbox",
15793
15807
  disableListWrap: true
15794
15808
  }, MenuProps.MenuListProps),
15795
- PaperProps: _extends$6({}, MenuProps.PaperProps, {
15796
- style: _extends$6({
15809
+ PaperProps: _extends$5({}, MenuProps.PaperProps, {
15810
+ style: _extends$5({
15797
15811
  minWidth: menuMinWidth
15798
15812
  }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
15799
15813
  })
@@ -15953,11 +15967,11 @@ var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props, ref) {
15953
15967
  }),
15954
15968
  filled: _ref2
15955
15969
  }[variant];
15956
- return /* @__PURE__ */ React$6.cloneElement(InputComponent, _extends$6({
15970
+ return /* @__PURE__ */ React$6.cloneElement(InputComponent, _extends$5({
15957
15971
  // Most of the logic is implemented in `SelectInput`.
15958
15972
  // The `Select` component is a simple API wrapper to expose something better to play with.
15959
15973
  inputComponent,
15960
- inputProps: _extends$6({
15974
+ inputProps: _extends$5({
15961
15975
  children: children2,
15962
15976
  IconComponent,
15963
15977
  variant,
@@ -15975,7 +15989,7 @@ var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props, ref) {
15975
15989
  onOpen,
15976
15990
  open,
15977
15991
  renderValue,
15978
- SelectDisplayProps: _extends$6({
15992
+ SelectDisplayProps: _extends$5({
15979
15993
  id
15980
15994
  }, SelectDisplayProps)
15981
15995
  }, inputProps, {
@@ -16133,7 +16147,7 @@ var styles$4 = function styles16(theme) {
16133
16147
  width: "100%",
16134
16148
  borderCollapse: "collapse",
16135
16149
  borderSpacing: 0,
16136
- "& caption": _extends$6({}, theme.typography.body2, {
16150
+ "& caption": _extends$5({}, theme.typography.body2, {
16137
16151
  padding: theme.spacing(2),
16138
16152
  color: theme.palette.text.secondary,
16139
16153
  textAlign: "left",
@@ -16158,7 +16172,7 @@ var Table = /* @__PURE__ */ React$6.forwardRef(function Table2(props, ref) {
16158
16172
  }, [padding2, size, stickyHeader]);
16159
16173
  return /* @__PURE__ */ React$6.createElement(TableContext$1.Provider, {
16160
16174
  value: table
16161
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16175
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16162
16176
  role: Component === defaultComponent$2 ? null : "table",
16163
16177
  ref,
16164
16178
  className: clsx(classes.root, className, stickyHeader && classes.stickyHeader)
@@ -16226,7 +16240,7 @@ var TableBody = /* @__PURE__ */ React$6.forwardRef(function TableBody2(props, re
16226
16240
  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"]);
16227
16241
  return /* @__PURE__ */ React$6.createElement(Tablelvl2Context$1.Provider, {
16228
16242
  value: tablelvl2
16229
- }, /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16243
+ }, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16230
16244
  className: clsx(classes.root, className),
16231
16245
  ref,
16232
16246
  role: Component === defaultComponent$1 ? null : "rowgroup"
@@ -16258,7 +16272,7 @@ const TableBody$1 = withStyles2(styles$3, {
16258
16272
  var styles$2 = function styles17(theme) {
16259
16273
  return {
16260
16274
  /* Styles applied to the root element. */
16261
- root: _extends$6({}, theme.typography.body2, {
16275
+ root: _extends$5({}, theme.typography.body2, {
16262
16276
  display: "table-cell",
16263
16277
  verticalAlign: "inherit",
16264
16278
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
@@ -16370,7 +16384,7 @@ var TableCell = /* @__PURE__ */ React$6.forwardRef(function TableCell2(props, re
16370
16384
  if (sortDirection) {
16371
16385
  ariaSort = sortDirection === "asc" ? "ascending" : "descending";
16372
16386
  }
16373
- return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16387
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16374
16388
  ref,
16375
16389
  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),
16376
16390
  "aria-sort": ariaSort,
@@ -16446,7 +16460,7 @@ var styles$1 = {
16446
16460
  };
16447
16461
  var TableContainer = /* @__PURE__ */ React$6.forwardRef(function TableContainer2(props, ref) {
16448
16462
  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"]);
16449
- return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16463
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16450
16464
  ref,
16451
16465
  className: clsx(classes.root, className)
16452
16466
  }, other));
@@ -16504,7 +16518,7 @@ var defaultComponent = "tr";
16504
16518
  var TableRow = /* @__PURE__ */ React$6.forwardRef(function TableRow2(props, ref) {
16505
16519
  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"]);
16506
16520
  var tablelvl22 = React$6.useContext(Tablelvl2Context$1);
16507
- return /* @__PURE__ */ React$6.createElement(Component, _extends$6({
16521
+ return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
16508
16522
  ref,
16509
16523
  className: clsx(classes.root, className, tablelvl22 && {
16510
16524
  "head": classes.head,
@@ -34718,6 +34732,10 @@ const FileType$1 = {
34718
34732
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
34719
34733
  };
34720
34734
  const CoordinationType$1 = {
34735
+ // Meta coordination scopes
34736
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
34737
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
34738
+ // Other coordination scopes
34721
34739
  DATASET: "dataset",
34722
34740
  // Entity types
34723
34741
  OBS_TYPE: "obsType",
@@ -34832,16 +34850,16 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
34832
34850
  CoordinationType$1.EMBEDDING_OBS_RADIUS,
34833
34851
  CoordinationType$1.EMBEDDING_OBS_OPACITY
34834
34852
  ];
34835
- const note = "This file is regenerated by push-demo.sh.";
34836
- const version = "3.0.1";
34837
- const branch = "release-v3.0.1";
34838
- const date = "2023-06-30";
34839
- const hash = "8014e94f";
34853
+ const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
34854
+ const version = "3.1.1";
34855
+ const date = "2023-08-02";
34856
+ const branch = "changeset-release/main";
34857
+ const hash = "0dbc5e39";
34840
34858
  const META_VERSION = {
34841
34859
  note,
34842
34860
  version,
34843
- branch,
34844
34861
  date,
34862
+ branch,
34845
34863
  hash
34846
34864
  };
34847
34865
  const ViewType = {
@@ -42222,7 +42240,10 @@ function useReady(statusValues) {
42222
42240
  }
42223
42241
  function useUrls(urls) {
42224
42242
  const mergedUrls = useMemo(
42225
- () => urls.filter((a) => Array.isArray(a)).flat(),
42243
+ () => urls.filter((a) => Array.isArray(a)).flat().filter((url, index, array) => {
42244
+ const firstIndex = array.findIndex((u) => u.name === url.name);
42245
+ return index === firstIndex;
42246
+ }),
42226
42247
  // eslint-disable-next-line react-hooks/exhaustive-deps
42227
42248
  urls
42228
42249
  );
@@ -43023,7 +43044,12 @@ function VitS(props) {
43023
43044
  );
43024
43045
  const generateClassName2 = useMemo(() => createGenerateClassName(uid), [uid]);
43025
43046
  const configVersion = config2 == null ? void 0 : config2.version;
43026
- const configKey = (config2 == null ? void 0 : config2.uid) || config2;
43047
+ const configKey = useMemo(() => {
43048
+ if (config2 == null ? void 0 : config2.uid) {
43049
+ return config2.uid;
43050
+ }
43051
+ return JSON.stringify(config2);
43052
+ }, [config2]);
43027
43053
  const pluginSpecificConfigSchema = useMemo(() => buildConfigSchema(
43028
43054
  fileTypes,
43029
43055
  jointFileTypes,
@@ -43129,7 +43155,7 @@ function VitS(props) {
43129
43155
  pluginSpecificConfigSchema
43130
43156
  }
43131
43157
  )
43132
- ] }) }) }) }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: /* @__PURE__ */ jsxRuntimeExports.jsx(Warning, { ...configOrWarning }) }) });
43158
+ ] }) }, configKey) }) }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: /* @__PURE__ */ jsxRuntimeExports.jsx(Warning, { ...configOrWarning }) }) });
43133
43159
  }
43134
43160
  const ArrowDropDownIcon = createSvgIcon(/* @__PURE__ */ React$6.createElement("path", {
43135
43161
  d: "M7 10l5 5 5-5z"