@vitessce/layer-controller 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.
@@ -1083,16 +1083,16 @@ function _extends$1() {
1083
1083
  };
1084
1084
  return _extends$1.apply(this, arguments);
1085
1085
  }
1086
- function _typeof$x(obj) {
1086
+ function _typeof$w(obj) {
1087
1087
  "@babel/helpers - typeof";
1088
- return _typeof$x = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
1088
+ return _typeof$w = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
1089
1089
  return typeof obj2;
1090
1090
  } : function(obj2) {
1091
1091
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
1092
- }, _typeof$x(obj);
1092
+ }, _typeof$w(obj);
1093
1093
  }
1094
1094
  function isPlainObject$1(item) {
1095
- return item && _typeof$x(item) === "object" && item.constructor === Object;
1095
+ return item && _typeof$w(item) === "object" && item.constructor === Object;
1096
1096
  }
1097
1097
  function deepmerge(target, source) {
1098
1098
  var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
@@ -1889,12 +1889,12 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
1889
1889
  }
1890
1890
  const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
1891
1891
  function _toPrimitive(input, hint2) {
1892
- if (_typeof$x(input) !== "object" || input === null)
1892
+ if (_typeof$w(input) !== "object" || input === null)
1893
1893
  return input;
1894
1894
  var prim = input[Symbol.toPrimitive];
1895
1895
  if (prim !== void 0) {
1896
1896
  var res = prim.call(input, hint2 || "default");
1897
- if (_typeof$x(res) !== "object")
1897
+ if (_typeof$w(res) !== "object")
1898
1898
  return res;
1899
1899
  throw new TypeError("@@toPrimitive must return a primitive value.");
1900
1900
  }
@@ -1902,9 +1902,9 @@ function _toPrimitive(input, hint2) {
1902
1902
  }
1903
1903
  function _toPropertyKey(arg) {
1904
1904
  var key = _toPrimitive(arg, "string");
1905
- return _typeof$x(key) === "symbol" ? key : String(key);
1905
+ return _typeof$w(key) === "symbol" ? key : String(key);
1906
1906
  }
1907
- function _defineProperty$f(obj, key, value) {
1907
+ function _defineProperty$e(obj, key, value) {
1908
1908
  key = _toPropertyKey(key);
1909
1909
  if (key in obj) {
1910
1910
  Object.defineProperty(obj, key, {
@@ -1920,7 +1920,7 @@ function _defineProperty$f(obj, key, value) {
1920
1920
  }
1921
1921
  var specialProperty = "exact-prop: ​";
1922
1922
  function exactProp(propTypes2) {
1923
- return _extends$1({}, propTypes2, _defineProperty$f({}, specialProperty, function(props) {
1923
+ return _extends$1({}, propTypes2, _defineProperty$e({}, specialProperty, function(props) {
1924
1924
  var unsupportedProps = Object.keys(props).filter(function(prop) {
1925
1925
  return !propTypes2.hasOwnProperty(prop);
1926
1926
  });
@@ -2151,7 +2151,7 @@ function getDisplayName(Component2) {
2151
2151
  if (typeof Component2 === "function") {
2152
2152
  return getFunctionComponentName(Component2, "Component");
2153
2153
  }
2154
- if (_typeof$x(Component2) === "object") {
2154
+ if (_typeof$w(Component2) === "object") {
2155
2155
  switch (Component2.$$typeof) {
2156
2156
  case reactIsExports.ForwardRef:
2157
2157
  return getWrappedName(Component2, Component2.render, "ForwardRef");
@@ -2302,20 +2302,7 @@ function lighten(color, coefficient) {
2302
2302
  }
2303
2303
  return recomposeColor(color);
2304
2304
  }
2305
- function _defineProperty$e(obj, key, value) {
2306
- if (key in obj) {
2307
- Object.defineProperty(obj, key, {
2308
- value,
2309
- enumerable: true,
2310
- configurable: true,
2311
- writable: true
2312
- });
2313
- } else {
2314
- obj[key] = value;
2315
- }
2316
- return obj;
2317
- }
2318
- function _objectWithoutPropertiesLoose$1(source, excluded) {
2305
+ function _objectWithoutPropertiesLoose(source, excluded) {
2319
2306
  if (source == null)
2320
2307
  return {};
2321
2308
  var target = {};
@@ -2329,10 +2316,10 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
2329
2316
  }
2330
2317
  return target;
2331
2318
  }
2332
- function _objectWithoutProperties$1(source, excluded) {
2319
+ function _objectWithoutProperties(source, excluded) {
2333
2320
  if (source == null)
2334
2321
  return {};
2335
- var target = _objectWithoutPropertiesLoose$1(source, excluded);
2322
+ var target = _objectWithoutPropertiesLoose(source, excluded);
2336
2323
  var key, i2;
2337
2324
  if (Object.getOwnPropertySymbols) {
2338
2325
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -2347,20 +2334,6 @@ function _objectWithoutProperties$1(source, excluded) {
2347
2334
  }
2348
2335
  return target;
2349
2336
  }
2350
- function _extends() {
2351
- _extends = Object.assign ? Object.assign.bind() : function(target) {
2352
- for (var i2 = 1; i2 < arguments.length; i2++) {
2353
- var source = arguments[i2];
2354
- for (var key in source) {
2355
- if (Object.prototype.hasOwnProperty.call(source, key)) {
2356
- target[key] = source[key];
2357
- }
2358
- }
2359
- }
2360
- return target;
2361
- };
2362
- return _extends.apply(this, arguments);
2363
- }
2364
2337
  var keys$2 = ["xs", "sm", "md", "lg", "xl"];
2365
2338
  function createBreakpoints(breakpoints) {
2366
2339
  var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
@@ -2369,7 +2342,7 @@ function createBreakpoints(breakpoints) {
2369
2342
  md: 960,
2370
2343
  lg: 1280,
2371
2344
  xl: 1920
2372
- } : _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$1(breakpoints, ["values", "unit", "step"]);
2345
+ } : _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(breakpoints, ["values", "unit", "step"]);
2373
2346
  function up(key) {
2374
2347
  var value = typeof values2[key] === "number" ? values2[key] : key;
2375
2348
  return "@media (min-width:".concat(value).concat(unit, ")");
@@ -2403,7 +2376,7 @@ function createBreakpoints(breakpoints) {
2403
2376
  }
2404
2377
  return values2[key];
2405
2378
  }
2406
- return _extends({
2379
+ return _extends$1({
2407
2380
  keys: keys$2,
2408
2381
  values: values2,
2409
2382
  up,
@@ -2415,14 +2388,14 @@ function createBreakpoints(breakpoints) {
2415
2388
  }
2416
2389
  function createMixins(breakpoints, spacing, mixins) {
2417
2390
  var _toolbar;
2418
- return _extends({
2391
+ return _extends$1({
2419
2392
  gutters: function gutters() {
2420
2393
  var styles30 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2421
2394
  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"));
2422
- return _extends({
2395
+ return _extends$1({
2423
2396
  paddingLeft: spacing(2),
2424
2397
  paddingRight: spacing(2)
2425
- }, styles30, _defineProperty$e({}, breakpoints.up("sm"), _extends({
2398
+ }, styles30, _defineProperty$e({}, breakpoints.up("sm"), _extends$1({
2426
2399
  paddingLeft: spacing(3),
2427
2400
  paddingRight: spacing(3)
2428
2401
  }, styles30[breakpoints.up("sm")])));
@@ -2541,7 +2514,7 @@ function createPalette(palette) {
2541
2514
  light: green$1[300],
2542
2515
  main: green$1[500],
2543
2516
  dark: green$1[700]
2544
- } : _palette$success, _palette$type = palette.type, type2 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$1(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
2517
+ } : _palette$success, _palette$type = palette.type, type2 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
2545
2518
  function getContrastText(background) {
2546
2519
  var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
2547
2520
  {
@@ -2556,7 +2529,7 @@ function createPalette(palette) {
2556
2529
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
2557
2530
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
2558
2531
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
2559
- color = _extends({}, color);
2532
+ color = _extends$1({}, color);
2560
2533
  if (!color.main && color[mainShade]) {
2561
2534
  color.main = color[mainShade];
2562
2535
  }
@@ -2582,7 +2555,7 @@ function createPalette(palette) {
2582
2555
  console.error("Material-UI: The palette type `".concat(type2, "` is not supported."));
2583
2556
  }
2584
2557
  }
2585
- var paletteOutput = deepmerge(_extends({
2558
+ var paletteOutput = deepmerge(_extends$1({
2586
2559
  // A collection of common colors.
2587
2560
  common: common$3,
2588
2561
  // The palette type, can be light or dark.
@@ -2633,7 +2606,7 @@ var caseAllCaps = {
2633
2606
  };
2634
2607
  var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
2635
2608
  function createTypography(palette, typography) {
2636
- var _ref3 = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref3.fontFamily, fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref3.fontSize, fontSize = _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$1(_ref3, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
2609
+ var _ref3 = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref3.fontFamily, fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref3.fontSize, fontSize = _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(_ref3, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
2637
2610
  {
2638
2611
  if (typeof fontSize !== "number") {
2639
2612
  console.error("Material-UI: `fontSize` is required to be a number.");
@@ -2647,7 +2620,7 @@ function createTypography(palette, typography) {
2647
2620
  return "".concat(size / htmlFontSize * coef, "rem");
2648
2621
  };
2649
2622
  var buildVariant = function buildVariant2(fontWeight, size, lineHeight, letterSpacing, casing) {
2650
- return _extends({
2623
+ return _extends$1({
2651
2624
  fontFamily,
2652
2625
  fontWeight,
2653
2626
  fontSize: pxToRem(size),
@@ -2672,7 +2645,7 @@ function createTypography(palette, typography) {
2672
2645
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
2673
2646
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
2674
2647
  };
2675
- return deepmerge(_extends({
2648
+ return deepmerge(_extends$1({
2676
2649
  htmlFontSize,
2677
2650
  pxToRem,
2678
2651
  round: roundWithDeprecationWarning,
@@ -2702,39 +2675,75 @@ var shape = {
2702
2675
  const shape$1 = shape;
2703
2676
  var responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]);
2704
2677
  const responsivePropType$1 = responsivePropType;
2705
- function _arrayLikeToArray$k(arr, len2) {
2678
+ function _arrayLikeToArray$j(arr, len2) {
2706
2679
  if (len2 == null || len2 > arr.length)
2707
2680
  len2 = arr.length;
2708
2681
  for (var i2 = 0, arr2 = new Array(len2); i2 < len2; i2++)
2709
2682
  arr2[i2] = arr[i2];
2710
2683
  return arr2;
2711
2684
  }
2712
- function _arrayWithoutHoles$j(arr) {
2685
+ function _arrayWithoutHoles$i(arr) {
2713
2686
  if (Array.isArray(arr))
2714
- return _arrayLikeToArray$k(arr);
2687
+ return _arrayLikeToArray$j(arr);
2715
2688
  }
2716
- function _iterableToArray$j(iter) {
2689
+ function _iterableToArray$i(iter) {
2717
2690
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
2718
2691
  return Array.from(iter);
2719
2692
  }
2720
- function _unsupportedIterableToArray$k(o2, minLen) {
2693
+ function _unsupportedIterableToArray$j(o2, minLen) {
2721
2694
  if (!o2)
2722
2695
  return;
2723
2696
  if (typeof o2 === "string")
2724
- return _arrayLikeToArray$k(o2, minLen);
2697
+ return _arrayLikeToArray$j(o2, minLen);
2725
2698
  var n2 = Object.prototype.toString.call(o2).slice(8, -1);
2726
2699
  if (n2 === "Object" && o2.constructor)
2727
2700
  n2 = o2.constructor.name;
2728
2701
  if (n2 === "Map" || n2 === "Set")
2729
2702
  return Array.from(o2);
2730
2703
  if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
2731
- return _arrayLikeToArray$k(o2, minLen);
2704
+ return _arrayLikeToArray$j(o2, minLen);
2732
2705
  }
2733
- function _nonIterableSpread$j() {
2706
+ function _nonIterableSpread$i() {
2734
2707
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2735
2708
  }
2736
- function _toConsumableArray$j(arr) {
2737
- return _arrayWithoutHoles$j(arr) || _iterableToArray$j(arr) || _unsupportedIterableToArray$k(arr) || _nonIterableSpread$j();
2709
+ function _toConsumableArray$i(arr) {
2710
+ return _arrayWithoutHoles$i(arr) || _iterableToArray$i(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableSpread$i();
2711
+ }
2712
+ function _arrayWithHoles$6(arr) {
2713
+ if (Array.isArray(arr))
2714
+ return arr;
2715
+ }
2716
+ function _iterableToArrayLimit$6(arr, i2) {
2717
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
2718
+ if (null != _i) {
2719
+ var _s, _e, _x, _r, _arr = [], _n = true, _d = false;
2720
+ try {
2721
+ if (_x = (_i = _i.call(arr)).next, 0 === i2) {
2722
+ if (Object(_i) !== _i)
2723
+ return;
2724
+ _n = false;
2725
+ } else
2726
+ for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i2); _n = true)
2727
+ ;
2728
+ } catch (err2) {
2729
+ _d = true, _e = err2;
2730
+ } finally {
2731
+ try {
2732
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r))
2733
+ return;
2734
+ } finally {
2735
+ if (_d)
2736
+ throw _e;
2737
+ }
2738
+ }
2739
+ return _arr;
2740
+ }
2741
+ }
2742
+ function _nonIterableRest$6() {
2743
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2744
+ }
2745
+ function _slicedToArray$6(arr, i2) {
2746
+ return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i2) || _unsupportedIterableToArray$j(arr, i2) || _nonIterableRest$6();
2738
2747
  }
2739
2748
  var spacingKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY"];
2740
2749
  function createUnarySpacing(theme) {
@@ -2852,7 +2861,7 @@ const transitions = {
2852
2861
  create: function create() {
2853
2862
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["all"];
2854
2863
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2855
- 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$1(options, ["duration", "easing", "delay"]);
2864
+ 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(options, ["duration", "easing", "delay"]);
2856
2865
  {
2857
2866
  var isString = function isString2(value) {
2858
2867
  return typeof value === "string";
@@ -2900,7 +2909,7 @@ var zIndex = {
2900
2909
  const zIndex$1 = zIndex;
2901
2910
  function createTheme() {
2902
2911
  var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2903
- 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$1(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
2912
+ 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(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
2904
2913
  var palette = createPalette(paletteInput);
2905
2914
  var breakpoints = createBreakpoints(breakpointsInput);
2906
2915
  var spacing = createSpacing(spacingInput);
@@ -3022,13 +3031,13 @@ function warning(condition, message) {
3022
3031
  }
3023
3032
  }
3024
3033
  }
3025
- var _typeof$w = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3034
+ var _typeof$v = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3026
3035
  return typeof obj;
3027
3036
  } : function(obj) {
3028
3037
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3029
3038
  };
3030
- var isBrowser$4 = (typeof window === "undefined" ? "undefined" : _typeof$w(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$w(document)) === "object" && document.nodeType === 9;
3031
- function _defineProperties$x(target, props) {
3039
+ var isBrowser$4 = (typeof window === "undefined" ? "undefined" : _typeof$v(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$v(document)) === "object" && document.nodeType === 9;
3040
+ function _defineProperties$w(target, props) {
3032
3041
  for (var i2 = 0; i2 < props.length; i2++) {
3033
3042
  var descriptor = props[i2];
3034
3043
  descriptor.enumerable = descriptor.enumerable || false;
@@ -3038,11 +3047,11 @@ function _defineProperties$x(target, props) {
3038
3047
  Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
3039
3048
  }
3040
3049
  }
3041
- function _createClass$x(Constructor, protoProps, staticProps) {
3050
+ function _createClass$w(Constructor, protoProps, staticProps) {
3042
3051
  if (protoProps)
3043
- _defineProperties$x(Constructor.prototype, protoProps);
3052
+ _defineProperties$w(Constructor.prototype, protoProps);
3044
3053
  if (staticProps)
3045
- _defineProperties$x(Constructor, staticProps);
3054
+ _defineProperties$w(Constructor, staticProps);
3046
3055
  Object.defineProperty(Constructor, "prototype", {
3047
3056
  writable: false
3048
3057
  });
@@ -3066,20 +3075,6 @@ function _assertThisInitialized$v(self2) {
3066
3075
  }
3067
3076
  return self2;
3068
3077
  }
3069
- function _objectWithoutPropertiesLoose(source, excluded) {
3070
- if (source == null)
3071
- return {};
3072
- var target = {};
3073
- var sourceKeys = Object.keys(source);
3074
- var key, i2;
3075
- for (i2 = 0; i2 < sourceKeys.length; i2++) {
3076
- key = sourceKeys[i2];
3077
- if (excluded.indexOf(key) >= 0)
3078
- continue;
3079
- target[key] = source[key];
3080
- }
3081
- return target;
3082
- }
3083
3078
  var plainObjectConstrurctor = {}.constructor;
3084
3079
  function cloneStyle(style2) {
3085
3080
  if (style2 == null || typeof style2 !== "object")
@@ -3310,7 +3305,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
3310
3305
  }) : options;
3311
3306
  return toCss(this.selectorText, this.style, opts);
3312
3307
  };
3313
- _createClass$x(StyleRule2, [{
3308
+ _createClass$w(StyleRule2, [{
3314
3309
  key: "selector",
3315
3310
  set: function set2(selector) {
3316
3311
  if (selector === this.selectorText)
@@ -4045,7 +4040,7 @@ var SheetsRegistry = /* @__PURE__ */ function() {
4045
4040
  }
4046
4041
  return css2;
4047
4042
  };
4048
- _createClass$x(SheetsRegistry2, [{
4043
+ _createClass$w(SheetsRegistry2, [{
4049
4044
  key: "index",
4050
4045
  /**
4051
4046
  * Current highest index number.
@@ -4554,6 +4549,20 @@ var functionPlugin = function functionPlugin2() {
4554
4549
  };
4555
4550
  };
4556
4551
  const functions = functionPlugin;
4552
+ function _extends() {
4553
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
4554
+ for (var i2 = 1; i2 < arguments.length; i2++) {
4555
+ var source = arguments[i2];
4556
+ for (var key in source) {
4557
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
4558
+ target[key] = source[key];
4559
+ }
4560
+ }
4561
+ }
4562
+ return target;
4563
+ };
4564
+ return _extends.apply(this, arguments);
4565
+ }
4557
4566
  var at = "@global";
4558
4567
  var atPrefix = "@global ";
4559
4568
  var GlobalContainerRule = /* @__PURE__ */ function() {
@@ -5302,7 +5311,7 @@ var propertyDetectors = plugins.filter(function(p) {
5302
5311
  var noPrefill = plugins.filter(function(p) {
5303
5312
  return p.noPrefill;
5304
5313
  }).reduce(function(a2, p) {
5305
- a2.push.apply(a2, _toConsumableArray$j(p.noPrefill));
5314
+ a2.push.apply(a2, _toConsumableArray$i(p.noPrefill));
5306
5315
  return a2;
5307
5316
  }, []);
5308
5317
  var el;
@@ -5478,24 +5487,6 @@ function jssPreset() {
5478
5487
  ]
5479
5488
  };
5480
5489
  }
5481
- function _objectWithoutProperties(source, excluded) {
5482
- if (source == null)
5483
- return {};
5484
- var target = _objectWithoutPropertiesLoose(source, excluded);
5485
- var key, i2;
5486
- if (Object.getOwnPropertySymbols) {
5487
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
5488
- for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
5489
- key = sourceSymbolKeys[i2];
5490
- if (excluded.indexOf(key) >= 0)
5491
- continue;
5492
- if (!Object.prototype.propertyIsEnumerable.call(source, key))
5493
- continue;
5494
- target[key] = source[key];
5495
- }
5496
- }
5497
- return target;
5498
- }
5499
5490
  function mergeClasses() {
5500
5491
  var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5501
5492
  var baseClasses = options.baseClasses, newClasses = options.newClasses, Component2 = options.Component;
@@ -5679,7 +5670,7 @@ const noopTheme$1 = noopTheme;
5679
5670
  function getStylesCreator(stylesOrCreator) {
5680
5671
  var themingEnabled = typeof stylesOrCreator === "function";
5681
5672
  {
5682
- if (_typeof$x(stylesOrCreator) !== "object" && !themingEnabled) {
5673
+ if (_typeof$w(stylesOrCreator) !== "object" && !themingEnabled) {
5683
5674
  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"));
5684
5675
  }
5685
5676
  }
@@ -5903,6 +5894,11 @@ function makeStyles$1(stylesOrCreator) {
5903
5894
  };
5904
5895
  return useStyles2;
5905
5896
  }
5897
+ function _classCallCheck$x(instance, Constructor) {
5898
+ if (!(instance instanceof Constructor)) {
5899
+ throw new TypeError("Cannot call a class as a function");
5900
+ }
5901
+ }
5906
5902
  function r$1(e2) {
5907
5903
  var t, f2, n2 = "";
5908
5904
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -6087,7 +6083,7 @@ var defaultTheme = createTheme();
6087
6083
  const defaultTheme$1 = defaultTheme;
6088
6084
  function makeStyles(stylesOrCreator) {
6089
6085
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6090
- return makeStyles$1(stylesOrCreator, _extends({
6086
+ return makeStyles$1(stylesOrCreator, _extends$1({
6091
6087
  defaultTheme: defaultTheme$1
6092
6088
  }, options));
6093
6089
  }
@@ -6099,7 +6095,7 @@ function useTheme() {
6099
6095
  return theme;
6100
6096
  }
6101
6097
  function withStyles2(stylesOrCreator, options) {
6102
- return withStylesWithoutDefault(stylesOrCreator, _extends({
6098
+ return withStylesWithoutDefault(stylesOrCreator, _extends$1({
6103
6099
  defaultTheme: defaultTheme$1
6104
6100
  }, options));
6105
6101
  }
@@ -6182,8 +6178,8 @@ var styles$D = function styles(theme) {
6182
6178
  };
6183
6179
  };
6184
6180
  var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props, ref2) {
6185
- var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component2 = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize = _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$1(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
6186
- return /* @__PURE__ */ React.createElement(Component2, _extends({
6181
+ var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component2 = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize = _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(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
6182
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
6187
6183
  className: clsx(classes.root, className, color !== "inherit" && classes["color".concat(capitalize$1(color))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize$1(fontSize))]),
6188
6184
  focusable: "false",
6189
6185
  viewBox,
@@ -6261,7 +6257,7 @@ const SvgIcon$1 = withStyles2(styles$D, {
6261
6257
  })(SvgIcon);
6262
6258
  function createSvgIcon(path, displayName) {
6263
6259
  var Component2 = function Component3(props, ref2) {
6264
- return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends({
6260
+ return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$1({
6265
6261
  ref: ref2
6266
6262
  }, props), path);
6267
6263
  };
@@ -6467,72 +6463,9 @@ function useIsFocusVisible() {
6467
6463
  ref: ref2
6468
6464
  };
6469
6465
  }
6470
- function _arrayWithHoles$6(arr) {
6471
- if (Array.isArray(arr))
6472
- return arr;
6473
- }
6474
- function _iterableToArray$i(iter) {
6475
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
6476
- return Array.from(iter);
6477
- }
6478
- function _arrayLikeToArray$j(arr, len2) {
6479
- if (len2 == null || len2 > arr.length)
6480
- len2 = arr.length;
6481
- for (var i2 = 0, arr2 = new Array(len2); i2 < len2; i2++) {
6482
- arr2[i2] = arr[i2];
6483
- }
6484
- return arr2;
6485
- }
6486
- function _unsupportedIterableToArray$j(o2, minLen) {
6487
- if (!o2)
6488
- return;
6489
- if (typeof o2 === "string")
6490
- return _arrayLikeToArray$j(o2, minLen);
6491
- var n2 = Object.prototype.toString.call(o2).slice(8, -1);
6492
- if (n2 === "Object" && o2.constructor)
6493
- n2 = o2.constructor.name;
6494
- if (n2 === "Map" || n2 === "Set")
6495
- return Array.from(o2);
6496
- if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
6497
- return _arrayLikeToArray$j(o2, minLen);
6498
- }
6499
- function _nonIterableRest$6() {
6500
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6501
- }
6502
6466
  function _toArray(arr) {
6503
6467
  return _arrayWithHoles$6(arr) || _iterableToArray$i(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableRest$6();
6504
6468
  }
6505
- function _iterableToArrayLimit$6(arr, i2) {
6506
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6507
- if (_i == null)
6508
- return;
6509
- var _arr = [];
6510
- var _n = true;
6511
- var _d = false;
6512
- var _s, _e;
6513
- try {
6514
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
6515
- _arr.push(_s.value);
6516
- if (i2 && _arr.length === i2)
6517
- break;
6518
- }
6519
- } catch (err2) {
6520
- _d = true;
6521
- _e = err2;
6522
- } finally {
6523
- try {
6524
- if (!_n && _i["return"] != null)
6525
- _i["return"]();
6526
- } finally {
6527
- if (_d)
6528
- throw _e;
6529
- }
6530
- }
6531
- return _arr;
6532
- }
6533
- function _slicedToArray$6(arr, i2) {
6534
- return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i2) || _unsupportedIterableToArray$j(arr, i2) || _nonIterableRest$6();
6535
- }
6536
6469
  const config$1 = {
6537
6470
  disabled: false
6538
6471
  };
@@ -7250,7 +7183,7 @@ var styles$C = function styles2(theme) {
7250
7183
  };
7251
7184
  };
7252
7185
  var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props, ref2) {
7253
- var children = props.children, classes = props.classes, className = props.className, collapsedHeight = props.collapsedHeight, _props$collapsedSize = props.collapsedSize, collapsedSizeProp = _props$collapsedSize === void 0 ? "0px" : _props$collapsedSize, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _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, style2 = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? duration.standard : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$2 : _props$TransitionComp, other = _objectWithoutProperties$1(props, ["children", "classes", "className", "collapsedHeight", "collapsedSize", "component", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
7186
+ var children = props.children, classes = props.classes, className = props.className, collapsedHeight = props.collapsedHeight, _props$collapsedSize = props.collapsedSize, collapsedSizeProp = _props$collapsedSize === void 0 ? "0px" : _props$collapsedSize, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _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, style2 = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? duration.standard : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$2 : _props$TransitionComp, other = _objectWithoutProperties(props, ["children", "classes", "className", "collapsedHeight", "collapsedSize", "component", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
7254
7187
  var theme = useTheme();
7255
7188
  var timer = React.useRef();
7256
7189
  var wrapperRef = React.useRef(null);
@@ -7342,7 +7275,7 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props, ref2)
7342
7275
  timer.current = setTimeout(next, autoTransitionDuration.current || 0);
7343
7276
  }
7344
7277
  };
7345
- return /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
7278
+ return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
7346
7279
  in: inProp,
7347
7280
  onEnter: handleEnter,
7348
7281
  onEntered: handleEntered,
@@ -7354,12 +7287,12 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props, ref2)
7354
7287
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
7355
7288
  timeout: timeout2 === "auto" ? null : timeout2
7356
7289
  }, other), function(state, childProps) {
7357
- return /* @__PURE__ */ React.createElement(Component2, _extends({
7290
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
7358
7291
  className: clsx(classes.root, classes.container, className, {
7359
7292
  "entered": classes.entered,
7360
7293
  "exited": !inProp && collapsedSize === "0px" && classes.hidden
7361
7294
  }[state]),
7362
- style: _extends({
7295
+ style: _extends$1({
7363
7296
  minHeight: collapsedSize
7364
7297
  }, style2),
7365
7298
  ref: handleRef
@@ -7469,7 +7402,7 @@ var styles$B = function styles3(theme) {
7469
7402
  boxShadow: shadow2
7470
7403
  };
7471
7404
  });
7472
- return _extends({
7405
+ return _extends$1({
7473
7406
  /* Styles applied to the root element. */
7474
7407
  root: {
7475
7408
  backgroundColor: theme.palette.background.paper,
@@ -7487,8 +7420,8 @@ var styles$B = function styles3(theme) {
7487
7420
  }, elevations);
7488
7421
  };
7489
7422
  var Paper = /* @__PURE__ */ React.forwardRef(function Paper2(props, ref2) {
7490
- var classes = props.classes, className = props.className, _props$component = props.component, Component2 = _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$1(props, ["classes", "className", "component", "square", "elevation", "variant"]);
7491
- return /* @__PURE__ */ React.createElement(Component2, _extends({
7423
+ var classes = props.classes, className = props.className, _props$component = props.component, Component2 = _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(props, ["classes", "className", "component", "square", "elevation", "variant"]);
7424
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
7492
7425
  className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
7493
7426
  ref: ref2
7494
7427
  }, other));
@@ -7617,7 +7550,7 @@ var styles$A = function styles4(theme) {
7617
7550
  };
7618
7551
  };
7619
7552
  var Accordion = /* @__PURE__ */ React.forwardRef(function Accordion2(props, ref2) {
7620
- var childrenProp = props.children, classes = props.classes, className = props.className, _props$defaultExpande = props.defaultExpanded, defaultExpanded = _props$defaultExpande === void 0 ? false : _props$defaultExpande, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, expandedProp = props.expanded, onChange = props.onChange, _props$square = props.square, square = _props$square === void 0 ? false : _props$square, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Collapse$1 : _props$TransitionComp, TransitionProps = props.TransitionProps, other = _objectWithoutProperties$1(props, ["children", "classes", "className", "defaultExpanded", "disabled", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"]);
7553
+ var childrenProp = props.children, classes = props.classes, className = props.className, _props$defaultExpande = props.defaultExpanded, defaultExpanded = _props$defaultExpande === void 0 ? false : _props$defaultExpande, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, expandedProp = props.expanded, onChange = props.onChange, _props$square = props.square, square = _props$square === void 0 ? false : _props$square, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Collapse$1 : _props$TransitionComp, TransitionProps = props.TransitionProps, other = _objectWithoutProperties(props, ["children", "classes", "className", "defaultExpanded", "disabled", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"]);
7621
7554
  var _useControlled = useControlled({
7622
7555
  controlled: expandedProp,
7623
7556
  default: defaultExpanded,
@@ -7638,13 +7571,13 @@ var Accordion = /* @__PURE__ */ React.forwardRef(function Accordion2(props, ref2
7638
7571
  toggle: handleChange
7639
7572
  };
7640
7573
  }, [expanded, disabled, handleChange]);
7641
- return /* @__PURE__ */ React.createElement(Paper$1, _extends({
7574
+ return /* @__PURE__ */ React.createElement(Paper$1, _extends$1({
7642
7575
  className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square && classes.rounded),
7643
7576
  ref: ref2,
7644
7577
  square
7645
7578
  }, other), /* @__PURE__ */ React.createElement(AccordionContext$1.Provider, {
7646
7579
  value: contextValue
7647
- }, summary), /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
7580
+ }, summary), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
7648
7581
  in: expanded,
7649
7582
  timeout: "auto"
7650
7583
  }, TransitionProps), /* @__PURE__ */ React.createElement("div", {
@@ -7727,8 +7660,8 @@ var styles$z = function styles5(theme) {
7727
7660
  };
7728
7661
  };
7729
7662
  var AccordionDetails = /* @__PURE__ */ React.forwardRef(function AccordionDetails2(props, ref2) {
7730
- var classes = props.classes, className = props.className, other = _objectWithoutProperties$1(props, ["classes", "className"]);
7731
- return /* @__PURE__ */ React.createElement("div", _extends({
7663
+ var classes = props.classes, className = props.className, other = _objectWithoutProperties(props, ["classes", "className"]);
7664
+ return /* @__PURE__ */ React.createElement("div", _extends$1({
7732
7665
  className: clsx(classes.root, className),
7733
7666
  ref: ref2
7734
7667
  }, other));
@@ -7755,16 +7688,6 @@ AccordionDetails.propTypes = {
7755
7688
  const AccordionDetails$1 = withStyles2(styles$z, {
7756
7689
  name: "MuiAccordionDetails"
7757
7690
  })(AccordionDetails);
7758
- function _arrayWithoutHoles$i(arr) {
7759
- if (Array.isArray(arr))
7760
- return _arrayLikeToArray$j(arr);
7761
- }
7762
- function _nonIterableSpread$i() {
7763
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7764
- }
7765
- function _toConsumableArray$i(arr) {
7766
- return _arrayWithoutHoles$i(arr) || _iterableToArray$i(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableSpread$i();
7767
- }
7768
7691
  var useEnhancedEffect$5 = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
7769
7692
  function Ripple(props) {
7770
7693
  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() {
@@ -7915,7 +7838,7 @@ var styles$y = function styles6(theme) {
7915
7838
  };
7916
7839
  };
7917
7840
  var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props, ref2) {
7918
- var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties$1(props, ["center", "classes", "className"]);
7841
+ var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties(props, ["center", "classes", "className"]);
7919
7842
  var _React$useState = React.useState([]), ripples = _React$useState[0], setRipples = _React$useState[1];
7920
7843
  var nextKey = React.useRef(0);
7921
7844
  var rippleCallback = React.useRef(null);
@@ -8050,7 +7973,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props,
8050
7973
  stop
8051
7974
  };
8052
7975
  }, [pulsate, start, stop]);
8053
- return /* @__PURE__ */ React.createElement("span", _extends({
7976
+ return /* @__PURE__ */ React.createElement("span", _extends$1({
8054
7977
  className: clsx(classes.root, className),
8055
7978
  ref: container
8056
7979
  }, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
@@ -8125,7 +8048,7 @@ var styles$x = {
8125
8048
  focusVisible: {}
8126
8049
  };
8127
8050
  var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props, ref2) {
8128
- var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children = 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, onMouseDown = 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, type2 = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties$1(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"]);
8051
+ var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children = 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, onMouseDown = 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, type2 = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties(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"]);
8129
8052
  var buttonRef = React.useRef(null);
8130
8053
  function getButtonNode() {
8131
8054
  return ReactDOM.findDOMNode(buttonRef.current);
@@ -8269,7 +8192,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props, re
8269
8192
  }
8270
8193
  }, [enableTouchRipple]);
8271
8194
  }
8272
- return /* @__PURE__ */ React.createElement(ComponentProp, _extends({
8195
+ return /* @__PURE__ */ React.createElement(ComponentProp, _extends$1({
8273
8196
  className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
8274
8197
  onBlur: handleBlur,
8275
8198
  onClick,
@@ -8287,7 +8210,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props, re
8287
8210
  tabIndex: disabled ? -1 : tabIndex
8288
8211
  }, buttonProps, other), children, enableTouchRipple ? (
8289
8212
  /* TouchRipple is only needed client-side, x2 boost on the server. */
8290
- /* @__PURE__ */ React.createElement(TouchRipple$1, _extends({
8213
+ /* @__PURE__ */ React.createElement(TouchRipple$1, _extends$1({
8291
8214
  ref: rippleRef,
8292
8215
  center: centerRipple
8293
8216
  }, TouchRippleProps))
@@ -8518,8 +8441,8 @@ var styles$w = function styles7(theme) {
8518
8441
  };
8519
8442
  };
8520
8443
  var IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(props, ref2) {
8521
- var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _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$1(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
8522
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
8444
+ var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _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(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
8445
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
8523
8446
  className: clsx(classes.root, className, color !== "default" && classes["color".concat(capitalize$1(color))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize$1(size))], {
8524
8447
  "start": classes.edgeStart,
8525
8448
  "end": classes.edgeEnd
@@ -8645,7 +8568,7 @@ var styles$v = function styles8(theme) {
8645
8568
  };
8646
8569
  };
8647
8570
  var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummary2(props, ref2) {
8648
- var children = props.children, classes = props.classes, className = props.className, expandIcon = props.expandIcon, focusVisibleClassName = props.focusVisibleClassName, _props$IconButtonProp = props.IconButtonProps, IconButtonProps = _props$IconButtonProp === void 0 ? {} : _props$IconButtonProp, onClick = props.onClick, other = _objectWithoutProperties$1(props, ["children", "classes", "className", "expandIcon", "focusVisibleClassName", "IconButtonProps", "onClick"]);
8571
+ var children = props.children, classes = props.classes, className = props.className, expandIcon = props.expandIcon, focusVisibleClassName = props.focusVisibleClassName, _props$IconButtonProp = props.IconButtonProps, IconButtonProps = _props$IconButtonProp === void 0 ? {} : _props$IconButtonProp, onClick = props.onClick, other = _objectWithoutProperties(props, ["children", "classes", "className", "expandIcon", "focusVisibleClassName", "IconButtonProps", "onClick"]);
8649
8572
  var _React$useContext = React.useContext(AccordionContext$1), _React$useContext$dis = _React$useContext.disabled, disabled = _React$useContext$dis === void 0 ? false : _React$useContext$dis, expanded = _React$useContext.expanded, toggle = _React$useContext.toggle;
8650
8573
  var handleChange = function handleChange2(event) {
8651
8574
  if (toggle) {
@@ -8655,7 +8578,7 @@ var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummar
8655
8578
  onClick(event);
8656
8579
  }
8657
8580
  };
8658
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
8581
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
8659
8582
  focusRipple: false,
8660
8583
  disableRipple: true,
8661
8584
  disabled,
@@ -8667,7 +8590,7 @@ var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummar
8667
8590
  ref: ref2
8668
8591
  }, other), /* @__PURE__ */ React.createElement("div", {
8669
8592
  className: clsx(classes.content, expanded && classes.expanded)
8670
- }, children), expandIcon && /* @__PURE__ */ React.createElement(IconButton$1, _extends({
8593
+ }, children), expandIcon && /* @__PURE__ */ React.createElement(IconButton$1, _extends$1({
8671
8594
  className: clsx(classes.expandIcon, expanded && classes.expanded),
8672
8595
  edge: "end",
8673
8596
  component: "div",
@@ -8840,9 +8763,9 @@ var defaultVariantMapping = {
8840
8763
  body2: "p"
8841
8764
  };
8842
8765
  var Typography = /* @__PURE__ */ React.forwardRef(function Typography2(props, ref2) {
8843
- var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "initial" : _props$color, component = props.component, _props$display = props.display, display = _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$1(props, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
8766
+ var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "initial" : _props$color, component = props.component, _props$display = props.display, display = _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(props, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
8844
8767
  var Component2 = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
8845
- return /* @__PURE__ */ React.createElement(Component2, _extends({
8768
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
8846
8769
  className: clsx(classes.root, className, variant !== "inherit" && classes[variant], color !== "initial" && classes["color".concat(capitalize$1(color))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== "inherit" && classes["align".concat(capitalize$1(align))], display !== "initial" && classes["display".concat(capitalize$1(display))]),
8847
8770
  ref: ref2
8848
8771
  }, other));
@@ -8912,7 +8835,7 @@ const Typography$1 = withStyles2(styles$u, {
8912
8835
  var styles$t = function styles10(theme) {
8913
8836
  return {
8914
8837
  /* Styles applied to the root element. */
8915
- root: _extends({}, theme.typography.button, {
8838
+ root: _extends$1({}, theme.typography.button, {
8916
8839
  boxSizing: "border-box",
8917
8840
  minWidth: 64,
8918
8841
  padding: "6px 16px",
@@ -9162,14 +9085,14 @@ var styles$t = function styles10(theme) {
9162
9085
  };
9163
9086
  };
9164
9087
  var Button = /* @__PURE__ */ React.forwardRef(function Button2(props, ref2) {
9165
- var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "default" : _props$color, _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$disableElevati = props.disableElevation, disableElevation = _props$disableElevati === void 0 ? false : _props$disableElevati, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, endIconProp = props.endIcon, focusVisibleClassName = props.focusVisibleClassName, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, startIconProp = props.startIcon, _props$type = props.type, type2 = _props$type === void 0 ? "button" : _props$type, _props$variant = props.variant, variant = _props$variant === void 0 ? "text" : _props$variant, other = _objectWithoutProperties$1(props, ["children", "classes", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"]);
9088
+ var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "default" : _props$color, _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$disableElevati = props.disableElevation, disableElevation = _props$disableElevati === void 0 ? false : _props$disableElevati, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, endIconProp = props.endIcon, focusVisibleClassName = props.focusVisibleClassName, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, startIconProp = props.startIcon, _props$type = props.type, type2 = _props$type === void 0 ? "button" : _props$type, _props$variant = props.variant, variant = _props$variant === void 0 ? "text" : _props$variant, other = _objectWithoutProperties(props, ["children", "classes", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"]);
9166
9089
  var startIcon = startIconProp && /* @__PURE__ */ React.createElement("span", {
9167
9090
  className: clsx(classes.startIcon, classes["iconSize".concat(capitalize$1(size))])
9168
9091
  }, startIconProp);
9169
9092
  var endIcon = endIconProp && /* @__PURE__ */ React.createElement("span", {
9170
9093
  className: clsx(classes.endIcon, classes["iconSize".concat(capitalize$1(size))])
9171
9094
  }, endIconProp);
9172
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
9095
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
9173
9096
  className: clsx(classes.root, classes[variant], className, color === "inherit" ? classes.colorInherit : color !== "default" && classes["".concat(variant).concat(capitalize$1(color))], size !== "medium" && [classes["".concat(variant, "Size").concat(capitalize$1(size))], classes["size".concat(capitalize$1(size))]], disableElevation && classes.disableElevation, disabled && classes.disabled, fullWidth && classes.fullWidth),
9174
9097
  component,
9175
9098
  disabled,
@@ -9296,7 +9219,7 @@ var styles$s = {
9296
9219
  }
9297
9220
  };
9298
9221
  var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props, ref2) {
9299
- var autoFocus = props.autoFocus, checkedProp = props.checked, checkedIcon = props.checkedIcon, classes = props.classes, className = props.className, defaultChecked = props.defaultChecked, disabledProp = props.disabled, icon = props.icon, id = props.id, inputProps = props.inputProps, inputRef = props.inputRef, name2 = props.name, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, readOnly = props.readOnly, required = props.required, tabIndex = props.tabIndex, type2 = props.type, value = props.value, other = _objectWithoutProperties$1(props, ["autoFocus", "checked", "checkedIcon", "classes", "className", "defaultChecked", "disabled", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"]);
9222
+ var autoFocus = props.autoFocus, checkedProp = props.checked, checkedIcon = props.checkedIcon, classes = props.classes, className = props.className, defaultChecked = props.defaultChecked, disabledProp = props.disabled, icon = props.icon, id = props.id, inputProps = props.inputProps, inputRef = props.inputRef, name2 = props.name, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, readOnly = props.readOnly, required = props.required, tabIndex = props.tabIndex, type2 = props.type, value = props.value, other = _objectWithoutProperties(props, ["autoFocus", "checked", "checkedIcon", "classes", "className", "defaultChecked", "disabled", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"]);
9300
9223
  var _useControlled = useControlled({
9301
9224
  controlled: checkedProp,
9302
9225
  default: Boolean(defaultChecked),
@@ -9334,7 +9257,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props, re
9334
9257
  }
9335
9258
  }
9336
9259
  var hasLabelFor = type2 === "checkbox" || type2 === "radio";
9337
- return /* @__PURE__ */ React.createElement(IconButton$1, _extends({
9260
+ return /* @__PURE__ */ React.createElement(IconButton$1, _extends$1({
9338
9261
  component: "span",
9339
9262
  className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
9340
9263
  disabled,
@@ -9343,7 +9266,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props, re
9343
9266
  onFocus: handleFocus,
9344
9267
  onBlur: handleBlur,
9345
9268
  ref: ref2
9346
- }, other), /* @__PURE__ */ React.createElement("input", _extends({
9269
+ }, other), /* @__PURE__ */ React.createElement("input", _extends$1({
9347
9270
  autoFocus,
9348
9271
  checked: checkedProp,
9349
9272
  defaultChecked,
@@ -9509,10 +9432,10 @@ var defaultCheckedIcon = /* @__PURE__ */ React.createElement(CheckBoxIcon, null)
9509
9432
  var defaultIcon = /* @__PURE__ */ React.createElement(CheckBoxOutlineBlankIcon, null);
9510
9433
  var defaultIndeterminateIcon = /* @__PURE__ */ React.createElement(IndeterminateCheckBoxIcon, null);
9511
9434
  var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props, ref2) {
9512
- var _props$checkedIcon = props.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props.classes, _props$color = props.color, color = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props.inputProps, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$1(props, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
9435
+ var _props$checkedIcon = props.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props.classes, _props$color = props.color, color = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props.inputProps, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
9513
9436
  var icon = indeterminate ? indeterminateIconProp : iconProp;
9514
9437
  var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
9515
- return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends({
9438
+ return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
9516
9439
  type: "checkbox",
9517
9440
  classes: {
9518
9441
  root: clsx(classes.root, classes["color".concat(capitalize$1(color))], indeterminate && classes.indeterminate),
@@ -9520,7 +9443,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props, ref2)
9520
9443
  disabled: classes.disabled
9521
9444
  },
9522
9445
  color,
9523
- inputProps: _extends({
9446
+ inputProps: _extends$1({
9524
9447
  "data-indeterminate": indeterminate
9525
9448
  }, inputProps),
9526
9449
  icon: /* @__PURE__ */ React.cloneElement(icon, {
@@ -9686,31 +9609,6 @@ Portal.propTypes = {
9686
9609
  Portal["propTypes"] = exactProp(Portal.propTypes);
9687
9610
  }
9688
9611
  const Portal$1 = Portal;
9689
- function _classCallCheck$x(instance, Constructor) {
9690
- if (!(instance instanceof Constructor)) {
9691
- throw new TypeError("Cannot call a class as a function");
9692
- }
9693
- }
9694
- function _defineProperties$w(target, props) {
9695
- for (var i2 = 0; i2 < props.length; i2++) {
9696
- var descriptor = props[i2];
9697
- descriptor.enumerable = descriptor.enumerable || false;
9698
- descriptor.configurable = true;
9699
- if ("value" in descriptor)
9700
- descriptor.writable = true;
9701
- Object.defineProperty(target, descriptor.key, descriptor);
9702
- }
9703
- }
9704
- function _createClass$w(Constructor, protoProps, staticProps) {
9705
- if (protoProps)
9706
- _defineProperties$w(Constructor.prototype, protoProps);
9707
- if (staticProps)
9708
- _defineProperties$w(Constructor, staticProps);
9709
- Object.defineProperty(Constructor, "prototype", {
9710
- writable: false
9711
- });
9712
- return Constructor;
9713
- }
9714
9612
  function getScrollbarSize() {
9715
9613
  var scrollDiv = document.createElement("div");
9716
9614
  scrollDiv.style.width = "99px";
@@ -10058,12 +9956,12 @@ var styles$q = {
10058
9956
  }
10059
9957
  };
10060
9958
  var SimpleBackdrop = /* @__PURE__ */ React.forwardRef(function SimpleBackdrop2(props, ref2) {
10061
- var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties$1(props, ["invisible", "open"]);
10062
- return open ? /* @__PURE__ */ React.createElement("div", _extends({
9959
+ var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties(props, ["invisible", "open"]);
9960
+ return open ? /* @__PURE__ */ React.createElement("div", _extends$1({
10063
9961
  "aria-hidden": true,
10064
9962
  ref: ref2
10065
9963
  }, other, {
10066
- style: _extends({}, styles$q.root, invisible ? styles$q.invisible : {}, other.style)
9964
+ style: _extends$1({}, styles$q.root, invisible ? styles$q.invisible : {}, other.style)
10067
9965
  })) : null;
10068
9966
  });
10069
9967
  SimpleBackdrop.propTypes = {
@@ -10107,10 +10005,10 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref2) {
10107
10005
  var theme = useTheme$1();
10108
10006
  var props = getThemeProps({
10109
10007
  name: "MuiModal",
10110
- props: _extends({}, inProps),
10008
+ props: _extends$1({}, inProps),
10111
10009
  theme
10112
10010
  });
10113
- var _props$BackdropCompon = props.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props.BackdropProps, children = 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$1(props, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
10011
+ var _props$BackdropCompon = props.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props.BackdropProps, children = 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(props, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
10114
10012
  var _React$useState = React.useState(true), exited = _React$useState[0], setExited = _React$useState[1];
10115
10013
  var modal = React.useRef({});
10116
10014
  var mountNodeRef = React.useRef(null);
@@ -10222,13 +10120,13 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref2) {
10222
10120
  ref: handlePortalRef,
10223
10121
  container,
10224
10122
  disablePortal
10225
- }, /* @__PURE__ */ React.createElement("div", _extends({
10123
+ }, /* @__PURE__ */ React.createElement("div", _extends$1({
10226
10124
  ref: handleRef,
10227
10125
  onKeyDown: handleKeyDown2,
10228
10126
  role: "presentation"
10229
10127
  }, other, {
10230
- style: _extends({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10231
- }), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends({
10128
+ style: _extends$1({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10129
+ }), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends$1({
10232
10130
  open,
10233
10131
  onClick: handleBackdropClick
10234
10132
  }, BackdropProps)), /* @__PURE__ */ React.createElement(Unstable_TrapFocus, {
@@ -10380,7 +10278,7 @@ var styles$o = {
10380
10278
  }
10381
10279
  };
10382
10280
  var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosize2(props, ref2) {
10383
- 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, style2 = props.style, value = props.value, other = _objectWithoutProperties$1(props, ["onChange", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "style", "value"]);
10281
+ 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, style2 = props.style, value = props.value, other = _objectWithoutProperties(props, ["onChange", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "style", "value"]);
10384
10282
  var maxRows = maxRowsProp || rowsMax;
10385
10283
  var minRows = rows || rowsMinProp || minRowsProp;
10386
10284
  var _React$useRef = React.useRef(value != null), isControlled = _React$useRef.current;
@@ -10456,12 +10354,12 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
10456
10354
  onChange(event);
10457
10355
  }
10458
10356
  };
10459
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends({
10357
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends$1({
10460
10358
  value,
10461
10359
  onChange: handleChange,
10462
10360
  ref: handleRef,
10463
10361
  rows: minRows,
10464
- style: _extends({
10362
+ style: _extends$1({
10465
10363
  height: state.outerHeightStyle,
10466
10364
  // Need a large enough difference to allow scrolling.
10467
10365
  // This prevents infinite rendering loop.
@@ -10473,7 +10371,7 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
10473
10371
  readOnly: true,
10474
10372
  ref: shadowRef,
10475
10373
  tabIndex: -1,
10476
- style: _extends({}, styles$o.shadow, style2)
10374
+ style: _extends$1({}, styles$o.shadow, style2)
10477
10375
  }));
10478
10376
  });
10479
10377
  TextareaAutosize.propTypes = {
@@ -10557,7 +10455,7 @@ var styles$n = function styles13(theme) {
10557
10455
  "@keyframes mui-auto-fill-cancel": {}
10558
10456
  },
10559
10457
  /* Styles applied to the root element. */
10560
- root: _extends({}, theme.typography.body1, {
10458
+ root: _extends$1({}, theme.typography.body1, {
10561
10459
  color: theme.palette.text.primary,
10562
10460
  lineHeight: "1.1876em",
10563
10461
  // Reset (19px), match the native input line-height
@@ -10696,7 +10594,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props, ref2
10696
10594
  props.error;
10697
10595
  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;
10698
10596
  props.margin;
10699
- var _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, name2 = 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, type2 = _props$type === void 0 ? "text" : _props$type, valueProp = props.value, other = _objectWithoutProperties$1(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"]);
10597
+ var _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, name2 = 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, type2 = _props$type === void 0 ? "text" : _props$type, valueProp = props.value, other = _objectWithoutProperties(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"]);
10700
10598
  var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
10701
10599
  var _React$useRef = React.useRef(value != null), isControlled = _React$useRef.current;
10702
10600
  var inputRef = React.useRef();
@@ -10814,11 +10712,11 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props, ref2
10814
10712
  }
10815
10713
  };
10816
10714
  var InputComponent = inputComponent;
10817
- var inputProps = _extends({}, inputPropsProp, {
10715
+ var inputProps = _extends$1({}, inputPropsProp, {
10818
10716
  ref: handleInputRef
10819
10717
  });
10820
10718
  if (typeof InputComponent !== "string") {
10821
- inputProps = _extends({
10719
+ inputProps = _extends$1({
10822
10720
  // Rename ref to inputRef as we don't know the
10823
10721
  // provided `inputComponent` structure.
10824
10722
  inputRef: handleInputRef,
@@ -10830,7 +10728,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props, ref2
10830
10728
  if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
10831
10729
  InputComponent = "textarea";
10832
10730
  } else {
10833
- inputProps = _extends({
10731
+ inputProps = _extends$1({
10834
10732
  minRows: rows || minRows,
10835
10733
  rowsMax,
10836
10734
  maxRows
@@ -10838,7 +10736,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props, ref2
10838
10736
  InputComponent = TextareaAutosize$1;
10839
10737
  }
10840
10738
  } else {
10841
- inputProps = _extends({
10739
+ inputProps = _extends$1({
10842
10740
  type: type2
10843
10741
  }, inputProps);
10844
10742
  }
@@ -10852,13 +10750,13 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props, ref2
10852
10750
  muiFormControl.setAdornedStart(Boolean(startAdornment));
10853
10751
  }
10854
10752
  }, [muiFormControl, startAdornment]);
10855
- return /* @__PURE__ */ React.createElement("div", _extends({
10753
+ return /* @__PURE__ */ React.createElement("div", _extends$1({
10856
10754
  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),
10857
10755
  onClick: handleClick,
10858
10756
  ref: ref2
10859
10757
  }, other), startAdornment, /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
10860
10758
  value: null
10861
- }, /* @__PURE__ */ React.createElement(InputComponent, _extends({
10759
+ }, /* @__PURE__ */ React.createElement(InputComponent, _extends$1({
10862
10760
  "aria-invalid": fcs.error,
10863
10761
  "aria-describedby": ariaDescribedby,
10864
10762
  autoComplete,
@@ -10880,7 +10778,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props, ref2
10880
10778
  onBlur: handleBlur,
10881
10779
  onChange: handleChange,
10882
10780
  onFocus: handleFocus
10883
- }))), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {
10781
+ }))), endAdornment, renderSuffix ? renderSuffix(_extends$1({}, fcs, {
10884
10782
  startAdornment
10885
10783
  })) : null);
10886
10784
  });
@@ -11197,9 +11095,9 @@ var styles$m = function styles14(theme) {
11197
11095
  };
11198
11096
  };
11199
11097
  var FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(props, ref2) {
11200
- 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, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$1(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11201
- return /* @__PURE__ */ React.createElement(InputBase$1, _extends({
11202
- classes: _extends({}, classes, {
11098
+ 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, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11099
+ return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
11100
+ classes: _extends$1({}, classes, {
11203
11101
  root: clsx(classes.root, !disableUnderline && classes.underline),
11204
11102
  underline: null
11205
11103
  }),
@@ -11364,7 +11262,7 @@ var styles$l = {
11364
11262
  }
11365
11263
  };
11366
11264
  var FormControl = /* @__PURE__ */ React.forwardRef(function FormControl2(props, ref2) {
11367
- var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$error = props.error, error2 = _props$error === void 0 ? false : _props$error, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, visuallyFocused = props.focused, _props$hiddenLabel = props.hiddenLabel, hiddenLabel = _props$hiddenLabel === void 0 ? false : _props$hiddenLabel, _props$margin = props.margin, margin = _props$margin === void 0 ? "none" : _props$margin, _props$required = props.required, required = _props$required === void 0 ? false : _props$required, size = props.size, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$1(props, ["children", "classes", "className", "color", "component", "disabled", "error", "fullWidth", "focused", "hiddenLabel", "margin", "required", "size", "variant"]);
11265
+ var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$error = props.error, error2 = _props$error === void 0 ? false : _props$error, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, visuallyFocused = props.focused, _props$hiddenLabel = props.hiddenLabel, hiddenLabel = _props$hiddenLabel === void 0 ? false : _props$hiddenLabel, _props$margin = props.margin, margin = _props$margin === void 0 ? "none" : _props$margin, _props$required = props.required, required = _props$required === void 0 ? false : _props$required, size = props.size, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties(props, ["children", "classes", "className", "color", "component", "disabled", "error", "fullWidth", "focused", "hiddenLabel", "margin", "required", "size", "variant"]);
11368
11266
  var _React$useState = React.useState(function() {
11369
11267
  var initialAdornedStart = false;
11370
11268
  if (children) {
@@ -11443,7 +11341,7 @@ var FormControl = /* @__PURE__ */ React.forwardRef(function FormControl2(props,
11443
11341
  };
11444
11342
  return /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
11445
11343
  value: childContext
11446
- }, /* @__PURE__ */ React.createElement(Component2, _extends({
11344
+ }, /* @__PURE__ */ React.createElement(Component2, _extends$1({
11447
11345
  className: clsx(classes.root, className, margin !== "none" && classes["margin".concat(capitalize$1(margin))], fullWidth && classes.fullWidth),
11448
11346
  ref: ref2
11449
11347
  }, other), children));
@@ -11520,7 +11418,7 @@ const FormControl$1 = withStyles2(styles$l, {
11520
11418
  var styles$k = function styles15(theme) {
11521
11419
  return {
11522
11420
  /* Styles applied to the root element. */
11523
- root: _extends({
11421
+ root: _extends$1({
11524
11422
  color: theme.palette.text.secondary
11525
11423
  }, theme.typography.body1, {
11526
11424
  lineHeight: 1,
@@ -11568,14 +11466,14 @@ var FormLabel = /* @__PURE__ */ React.forwardRef(function FormLabel2(props, ref2
11568
11466
  props.filled;
11569
11467
  props.focused;
11570
11468
  props.required;
11571
- var other = _objectWithoutProperties$1(props, ["children", "classes", "className", "color", "component", "disabled", "error", "filled", "focused", "required"]);
11469
+ var other = _objectWithoutProperties(props, ["children", "classes", "className", "color", "component", "disabled", "error", "filled", "focused", "required"]);
11572
11470
  var muiFormControl = useFormControl();
11573
11471
  var fcs = formControlState({
11574
11472
  props,
11575
11473
  muiFormControl,
11576
11474
  states: ["color", "required", "focused", "disabled", "error", "filled"]
11577
11475
  });
11578
- return /* @__PURE__ */ React.createElement(Component2, _extends({
11476
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
11579
11477
  className: clsx(classes.root, classes["color".concat(capitalize$1(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),
11580
11478
  ref: ref2
11581
11479
  }, other), children, fcs.required && /* @__PURE__ */ React.createElement("span", {
@@ -11664,7 +11562,7 @@ function generateGrid(globalStyles, theme, breakpoint) {
11664
11562
  };
11665
11563
  });
11666
11564
  if (breakpoint === "xs") {
11667
- _extends(globalStyles, styles30);
11565
+ _extends$1(globalStyles, styles30);
11668
11566
  } else {
11669
11567
  globalStyles[theme.breakpoints.up(breakpoint)] = styles30;
11670
11568
  }
@@ -11692,7 +11590,7 @@ function generateGutter(theme, breakpoint) {
11692
11590
  return styles30;
11693
11591
  }
11694
11592
  var styles$j = function styles16(theme) {
11695
- return _extends({
11593
+ return _extends$1({
11696
11594
  /* Styles applied to the root element. */
11697
11595
  root: {},
11698
11596
  /* Styles applied to the root element if `container={true}`. */
@@ -11794,9 +11692,9 @@ var styles$j = function styles16(theme) {
11794
11692
  }, {}));
11795
11693
  };
11796
11694
  var Grid = /* @__PURE__ */ React.forwardRef(function Grid2(props, ref2) {
11797
- var _props$alignContent = props.alignContent, alignContent = _props$alignContent === void 0 ? "stretch" : _props$alignContent, _props$alignItems = props.alignItems, alignItems = _props$alignItems === void 0 ? "stretch" : _props$alignItems, classes = props.classes, classNameProp = props.className, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$container = props.container, container = _props$container === void 0 ? false : _props$container, _props$direction = props.direction, direction = _props$direction === void 0 ? "row" : _props$direction, _props$item = props.item, item = _props$item === void 0 ? false : _props$item, justify = props.justify, _props$justifyContent = props.justifyContent, justifyContent = _props$justifyContent === void 0 ? "flex-start" : _props$justifyContent, _props$lg = props.lg, lg = _props$lg === void 0 ? false : _props$lg, _props$md = props.md, md = _props$md === void 0 ? false : _props$md, _props$sm = props.sm, sm = _props$sm === void 0 ? false : _props$sm, _props$spacing = props.spacing, spacing = _props$spacing === void 0 ? 0 : _props$spacing, _props$wrap = props.wrap, wrap = _props$wrap === void 0 ? "wrap" : _props$wrap, _props$xl = props.xl, xl = _props$xl === void 0 ? false : _props$xl, _props$xs = props.xs, xs = _props$xs === void 0 ? false : _props$xs, _props$zeroMinWidth = props.zeroMinWidth, zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth, other = _objectWithoutProperties$1(props, ["alignContent", "alignItems", "classes", "className", "component", "container", "direction", "item", "justify", "justifyContent", "lg", "md", "sm", "spacing", "wrap", "xl", "xs", "zeroMinWidth"]);
11695
+ var _props$alignContent = props.alignContent, alignContent = _props$alignContent === void 0 ? "stretch" : _props$alignContent, _props$alignItems = props.alignItems, alignItems = _props$alignItems === void 0 ? "stretch" : _props$alignItems, classes = props.classes, classNameProp = props.className, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$container = props.container, container = _props$container === void 0 ? false : _props$container, _props$direction = props.direction, direction = _props$direction === void 0 ? "row" : _props$direction, _props$item = props.item, item = _props$item === void 0 ? false : _props$item, justify = props.justify, _props$justifyContent = props.justifyContent, justifyContent = _props$justifyContent === void 0 ? "flex-start" : _props$justifyContent, _props$lg = props.lg, lg = _props$lg === void 0 ? false : _props$lg, _props$md = props.md, md = _props$md === void 0 ? false : _props$md, _props$sm = props.sm, sm = _props$sm === void 0 ? false : _props$sm, _props$spacing = props.spacing, spacing = _props$spacing === void 0 ? 0 : _props$spacing, _props$wrap = props.wrap, wrap = _props$wrap === void 0 ? "wrap" : _props$wrap, _props$xl = props.xl, xl = _props$xl === void 0 ? false : _props$xl, _props$xs = props.xs, xs = _props$xs === void 0 ? false : _props$xs, _props$zeroMinWidth = props.zeroMinWidth, zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth, other = _objectWithoutProperties(props, ["alignContent", "alignItems", "classes", "className", "component", "container", "direction", "item", "justify", "justifyContent", "lg", "md", "sm", "spacing", "wrap", "xl", "xs", "zeroMinWidth"]);
11798
11696
  var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes["spacing-xs-".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== "row" && classes["direction-xs-".concat(String(direction))], wrap !== "wrap" && classes["wrap-xs-".concat(String(wrap))], alignItems !== "stretch" && classes["align-items-xs-".concat(String(alignItems))], alignContent !== "stretch" && classes["align-content-xs-".concat(String(alignContent))], (justify || justifyContent) !== "flex-start" && classes["justify-content-xs-".concat(String(justify || justifyContent))], xs !== false && classes["grid-xs-".concat(String(xs))], sm !== false && classes["grid-sm-".concat(String(sm))], md !== false && classes["grid-md-".concat(String(md))], lg !== false && classes["grid-lg-".concat(String(lg))], xl !== false && classes["grid-xl-".concat(String(xl))]);
11799
- return /* @__PURE__ */ React.createElement(Component2, _extends({
11697
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
11800
11698
  className,
11801
11699
  ref: ref2
11802
11700
  }, other));
@@ -11902,7 +11800,7 @@ var StyledGrid = withStyles2(styles$j, {
11902
11800
  })(Grid);
11903
11801
  {
11904
11802
  var requireProp = requirePropFactory("Grid");
11905
- StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {
11803
+ StyledGrid.propTypes = _extends$1({}, StyledGrid.propTypes, {
11906
11804
  alignContent: requireProp("container"),
11907
11805
  alignItems: requireProp("container"),
11908
11806
  direction: requireProp("container"),
@@ -11931,7 +11829,7 @@ var styles$i = {
11931
11829
  }
11932
11830
  };
11933
11831
  var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props, ref2) {
11934
- var children = 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, style2 = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? "auto" : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$2 : _props$TransitionComp, other = _objectWithoutProperties$1(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
11832
+ var children = 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, style2 = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? "auto" : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$2 : _props$TransitionComp, other = _objectWithoutProperties(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
11935
11833
  var timer = React.useRef();
11936
11834
  var autoTimeout = React.useRef();
11937
11835
  var theme = useTheme();
@@ -12019,7 +11917,7 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props, ref2) {
12019
11917
  clearTimeout(timer.current);
12020
11918
  };
12021
11919
  }, []);
12022
- return /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
11920
+ return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
12023
11921
  appear: true,
12024
11922
  in: inProp,
12025
11923
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -12032,8 +11930,8 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props, ref2) {
12032
11930
  addEndListener,
12033
11931
  timeout: timeout2 === "auto" ? null : timeout2
12034
11932
  }, other), function(state, childProps) {
12035
- return /* @__PURE__ */ React.cloneElement(children, _extends({
12036
- style: _extends({
11933
+ return /* @__PURE__ */ React.cloneElement(children, _extends$1({
11934
+ style: _extends$1({
12037
11935
  opacity: 0,
12038
11936
  transform: getScale$1(0.75),
12039
11937
  visibility: state === "exited" && !inProp ? "hidden" : void 0
@@ -12197,9 +12095,9 @@ var styles$h = function styles17(theme) {
12197
12095
  };
12198
12096
  };
12199
12097
  var Input$1 = /* @__PURE__ */ React.forwardRef(function Input(props, ref2) {
12200
- 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, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$1(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
12201
- return /* @__PURE__ */ React.createElement(InputBase$1, _extends({
12202
- classes: _extends({}, classes, {
12098
+ 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, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
12099
+ return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
12100
+ classes: _extends$1({}, classes, {
12203
12101
  root: clsx(classes.root, !disableUnderline && classes.underline),
12204
12102
  underline: null
12205
12103
  }),
@@ -12415,7 +12313,7 @@ var InputLabel = /* @__PURE__ */ React.forwardRef(function InputLabel2(props, re
12415
12313
  props.margin;
12416
12314
  var shrinkProp = props.shrink;
12417
12315
  props.variant;
12418
- var other = _objectWithoutProperties$1(props, ["classes", "className", "disableAnimation", "margin", "shrink", "variant"]);
12316
+ var other = _objectWithoutProperties(props, ["classes", "className", "disableAnimation", "margin", "shrink", "variant"]);
12419
12317
  var muiFormControl = useFormControl();
12420
12318
  var shrink = shrinkProp;
12421
12319
  if (typeof shrink === "undefined" && muiFormControl) {
@@ -12426,7 +12324,7 @@ var InputLabel = /* @__PURE__ */ React.forwardRef(function InputLabel2(props, re
12426
12324
  muiFormControl,
12427
12325
  states: ["margin", "variant"]
12428
12326
  });
12429
- return /* @__PURE__ */ React.createElement(FormLabel$1, _extends({
12327
+ return /* @__PURE__ */ React.createElement(FormLabel$1, _extends$1({
12430
12328
  "data-shrink": shrink,
12431
12329
  className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === "dense" && classes.marginDense, {
12432
12330
  "filled": classes.filled,
@@ -12527,7 +12425,7 @@ var styles$f = {
12527
12425
  }
12528
12426
  };
12529
12427
  var List = /* @__PURE__ */ React.forwardRef(function List2(props, ref2) {
12530
- var children = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component2 = _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$1(props, ["children", "classes", "className", "component", "dense", "disablePadding", "subheader"]);
12428
+ var children = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component2 = _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(props, ["children", "classes", "className", "component", "dense", "disablePadding", "subheader"]);
12531
12429
  var context = React.useMemo(function() {
12532
12430
  return {
12533
12431
  dense
@@ -12535,7 +12433,7 @@ var List = /* @__PURE__ */ React.forwardRef(function List2(props, ref2) {
12535
12433
  }, [dense]);
12536
12434
  return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
12537
12435
  value: context
12538
- }, /* @__PURE__ */ React.createElement(Component2, _extends({
12436
+ }, /* @__PURE__ */ React.createElement(Component2, _extends$1({
12539
12437
  className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
12540
12438
  ref: ref2
12541
12439
  }, other), subheader, children));
@@ -12656,7 +12554,7 @@ var useEnhancedEffect$1 = typeof window === "undefined" ? React.useEffect : Reac
12656
12554
  var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props, ref2) {
12657
12555
  var _props$alignItems = props.alignItems, alignItems = _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;
12658
12556
  _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;
12659
- var ContainerClassName = _props$ContainerProps.className, ContainerProps = _objectWithoutProperties$1(_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$1(props, ["alignItems", "autoFocus", "button", "children", "classes", "className", "component", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "divider", "focusVisibleClassName", "selected"]);
12557
+ var ContainerClassName = _props$ContainerProps.className, ContainerProps = _objectWithoutProperties(_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(props, ["alignItems", "autoFocus", "button", "children", "classes", "className", "component", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "divider", "focusVisibleClassName", "selected"]);
12660
12558
  var context = React.useContext(ListContext$1);
12661
12559
  var childContext = {
12662
12560
  dense: dense || context.dense || false,
@@ -12678,7 +12576,7 @@ var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props, ref2)
12678
12576
  listItemRef.current = ReactDOM.findDOMNode(instance);
12679
12577
  }, []);
12680
12578
  var handleRef = useForkRef(handleOwnRef, ref2);
12681
- var componentProps = _extends({
12579
+ var componentProps = _extends$1({
12682
12580
  className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== "center" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),
12683
12581
  disabled
12684
12582
  }, other);
@@ -12699,14 +12597,14 @@ var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props, ref2)
12699
12597
  }
12700
12598
  return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
12701
12599
  value: childContext
12702
- }, /* @__PURE__ */ React.createElement(ContainerComponent, _extends({
12600
+ }, /* @__PURE__ */ React.createElement(ContainerComponent, _extends$1({
12703
12601
  className: clsx(classes.container, ContainerClassName),
12704
12602
  ref: handleRef
12705
12603
  }, ContainerProps), /* @__PURE__ */ React.createElement(Component2, componentProps, children), children.pop()));
12706
12604
  }
12707
12605
  return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
12708
12606
  value: childContext
12709
- }, /* @__PURE__ */ React.createElement(Component2, _extends({
12607
+ }, /* @__PURE__ */ React.createElement(Component2, _extends$1({
12710
12608
  ref: handleRef
12711
12609
  }, componentProps), children));
12712
12610
  });
@@ -12859,7 +12757,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props, ref2) {
12859
12757
  } : _props$anchorOrigin, anchorPosition = props.anchorPosition, _props$anchorReferenc = props.anchorReference, anchorReference = _props$anchorReferenc === void 0 ? "anchorEl" : _props$anchorReferenc, children = 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 ? {
12860
12758
  vertical: "top",
12861
12759
  horizontal: "left"
12862
- } : _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$1(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"]);
12760
+ } : _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(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"]);
12863
12761
  var paperRef = React.useRef();
12864
12762
  var getAnchorOffset = React.useCallback(function(contentAnchorOffset) {
12865
12763
  if (anchorReference === "anchorPosition") {
@@ -13012,7 +12910,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props, ref2) {
13012
12910
  transitionDuration = void 0;
13013
12911
  }
13014
12912
  var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl(anchorEl)).body : void 0);
13015
- return /* @__PURE__ */ React.createElement(Modal$1, _extends({
12913
+ return /* @__PURE__ */ React.createElement(Modal$1, _extends$1({
13016
12914
  container,
13017
12915
  open,
13018
12916
  ref: ref2,
@@ -13020,7 +12918,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props, ref2) {
13020
12918
  invisible: true
13021
12919
  },
13022
12920
  className: clsx(classes.root, className)
13023
- }, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
12921
+ }, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
13024
12922
  appear: true,
13025
12923
  in: open,
13026
12924
  onEnter,
@@ -13031,7 +12929,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props, ref2) {
13031
12929
  timeout: transitionDuration
13032
12930
  }, TransitionProps, {
13033
12931
  onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
13034
- }), /* @__PURE__ */ React.createElement(Paper$1, _extends({
12932
+ }), /* @__PURE__ */ React.createElement(Paper$1, _extends$1({
13035
12933
  elevation,
13036
12934
  ref: handlePaperRef
13037
12935
  }, PaperProps, {
@@ -13265,7 +13163,7 @@ function moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable,
13265
13163
  }
13266
13164
  var useEnhancedEffect = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
13267
13165
  var MenuList = /* @__PURE__ */ React.forwardRef(function MenuList2(props, ref2) {
13268
- 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, children = 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$1(props, ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]);
13166
+ 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, children = 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(props, ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]);
13269
13167
  var listRef = React.useRef(null);
13270
13168
  var textCriteriaRef = React.useRef({
13271
13169
  keys: [],
@@ -13368,7 +13266,7 @@ var MenuList = /* @__PURE__ */ React.forwardRef(function MenuList2(props, ref2)
13368
13266
  }
13369
13267
  return child;
13370
13268
  });
13371
- return /* @__PURE__ */ React.createElement(List$1, _extends({
13269
+ return /* @__PURE__ */ React.createElement(List$1, _extends$1({
13372
13270
  role: "menu",
13373
13271
  ref: handleRef,
13374
13272
  className,
@@ -13444,7 +13342,7 @@ var styles$c = {
13444
13342
  var Menu = /* @__PURE__ */ React.forwardRef(function Menu2(props, ref2) {
13445
13343
  var _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, children = 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;
13446
13344
  _props$TransitionProp = _props$TransitionProp === void 0 ? {} : _props$TransitionProp;
13447
- var onEntering = _props$TransitionProp.onEntering, TransitionProps = _objectWithoutProperties$1(_props$TransitionProp, ["onEntering"]), _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$1(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"]);
13345
+ var onEntering = _props$TransitionProp.onEntering, TransitionProps = _objectWithoutProperties(_props$TransitionProp, ["onEntering"]), _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"]);
13448
13346
  var theme = useTheme();
13449
13347
  var autoFocusItem = autoFocus && !disableAutoFocusItem && open;
13450
13348
  var menuListActionsRef = React.useRef(null);
@@ -13500,24 +13398,24 @@ var Menu = /* @__PURE__ */ React.forwardRef(function Menu2(props, ref2) {
13500
13398
  }
13501
13399
  return child;
13502
13400
  });
13503
- return /* @__PURE__ */ React.createElement(Popover$1, _extends({
13401
+ return /* @__PURE__ */ React.createElement(Popover$1, _extends$1({
13504
13402
  getContentAnchorEl,
13505
13403
  classes: PopoverClasses,
13506
13404
  onClose,
13507
- TransitionProps: _extends({
13405
+ TransitionProps: _extends$1({
13508
13406
  onEntering: handleEntering
13509
13407
  }, TransitionProps),
13510
13408
  anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
13511
13409
  transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
13512
- PaperProps: _extends({}, PaperProps, {
13513
- classes: _extends({}, PaperProps.classes, {
13410
+ PaperProps: _extends$1({}, PaperProps, {
13411
+ classes: _extends$1({}, PaperProps.classes, {
13514
13412
  root: classes.paper
13515
13413
  })
13516
13414
  }),
13517
13415
  open,
13518
13416
  ref: ref2,
13519
13417
  transitionDuration
13520
- }, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends({
13418
+ }, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends$1({
13521
13419
  onKeyDown: handleListKeyDown,
13522
13420
  actions: menuListActionsRef,
13523
13421
  autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
@@ -13638,7 +13536,7 @@ const Menu$1 = withStyles2(styles$c, {
13638
13536
  var styles$b = function styles20(theme) {
13639
13537
  return {
13640
13538
  /* Styles applied to the root element. */
13641
- root: _extends({}, theme.typography.body1, _defineProperty$e({
13539
+ root: _extends$1({}, theme.typography.body1, _defineProperty$e({
13642
13540
  minHeight: 48,
13643
13541
  paddingTop: 6,
13644
13542
  paddingBottom: 6,
@@ -13655,25 +13553,25 @@ var styles$b = function styles20(theme) {
13655
13553
  /* Styles applied to the root element if `selected={true}`. */
13656
13554
  selected: {},
13657
13555
  /* Styles applied to the root element if dense. */
13658
- dense: _extends({}, theme.typography.body2, {
13556
+ dense: _extends$1({}, theme.typography.body2, {
13659
13557
  minHeight: "auto"
13660
13558
  })
13661
13559
  };
13662
13560
  };
13663
13561
  var MenuItem = /* @__PURE__ */ React.forwardRef(function MenuItem2(props, ref2) {
13664
- 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$1(props, ["classes", "className", "component", "disableGutters", "ListItemClasses", "role", "selected", "tabIndex"]);
13562
+ 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(props, ["classes", "className", "component", "disableGutters", "ListItemClasses", "role", "selected", "tabIndex"]);
13665
13563
  var tabIndex;
13666
13564
  if (!props.disabled) {
13667
13565
  tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
13668
13566
  }
13669
- return /* @__PURE__ */ React.createElement(ListItem$1, _extends({
13567
+ return /* @__PURE__ */ React.createElement(ListItem$1, _extends$1({
13670
13568
  button: true,
13671
13569
  role,
13672
13570
  tabIndex,
13673
13571
  component,
13674
13572
  selected,
13675
13573
  disableGutters,
13676
- classes: _extends({
13574
+ classes: _extends$1({
13677
13575
  dense: classes.dense
13678
13576
  }, ListItemClasses),
13679
13577
  className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),
@@ -13732,8 +13630,8 @@ const MenuItem$1 = withStyles2(styles$b, {
13732
13630
  name: "MuiMenuItem"
13733
13631
  })(MenuItem);
13734
13632
  var NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelectInput2(props, ref2) {
13735
- 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$1(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
13736
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends({
13633
+ 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(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
13634
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends$1({
13737
13635
  className: clsx(
13738
13636
  classes.root,
13739
13637
  // TODO v5: merge root and select
@@ -13912,18 +13810,18 @@ var defaultInput = /* @__PURE__ */ React.createElement(Input$2, null);
13912
13810
  var NativeSelect = /* @__PURE__ */ React.forwardRef(function NativeSelect2(props, ref2) {
13913
13811
  var children = props.children, classes = props.classes, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent, _props$input = props.input, input = _props$input === void 0 ? defaultInput : _props$input, inputProps = props.inputProps;
13914
13812
  props.variant;
13915
- var other = _objectWithoutProperties$1(props, ["children", "classes", "IconComponent", "input", "inputProps", "variant"]);
13813
+ var other = _objectWithoutProperties(props, ["children", "classes", "IconComponent", "input", "inputProps", "variant"]);
13916
13814
  var muiFormControl = useFormControl();
13917
13815
  var fcs = formControlState({
13918
13816
  props,
13919
13817
  muiFormControl,
13920
13818
  states: ["variant"]
13921
13819
  });
13922
- return /* @__PURE__ */ React.cloneElement(input, _extends({
13820
+ return /* @__PURE__ */ React.cloneElement(input, _extends$1({
13923
13821
  // Most of the logic is implemented in `NativeSelectInput`.
13924
13822
  // The `Select` component is a simple API wrapper to expose something better to play with.
13925
13823
  inputComponent: NativeSelectInput$1,
13926
- inputProps: _extends({
13824
+ inputProps: _extends$1({
13927
13825
  children,
13928
13826
  classes,
13929
13827
  IconComponent,
@@ -14042,11 +13940,11 @@ var styles$9 = function styles22(theme) {
14042
13940
  };
14043
13941
  var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(props, ref2) {
14044
13942
  props.children;
14045
- var classes = props.classes, className = props.className, label = props.label, labelWidthProp = props.labelWidth, notched = props.notched, style2 = props.style, other = _objectWithoutProperties$1(props, ["children", "classes", "className", "label", "labelWidth", "notched", "style"]);
13943
+ var classes = props.classes, className = props.className, label = props.label, labelWidthProp = props.labelWidth, notched = props.notched, style2 = props.style, other = _objectWithoutProperties(props, ["children", "classes", "className", "label", "labelWidth", "notched", "style"]);
14046
13944
  var theme = useTheme();
14047
13945
  var align = theme.direction === "rtl" ? "right" : "left";
14048
13946
  if (label !== void 0) {
14049
- return /* @__PURE__ */ React.createElement("fieldset", _extends({
13947
+ return /* @__PURE__ */ React.createElement("fieldset", _extends$1({
14050
13948
  "aria-hidden": true,
14051
13949
  className: clsx(classes.root, className),
14052
13950
  ref: ref2,
@@ -14060,9 +13958,9 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
14060
13958
  })));
14061
13959
  }
14062
13960
  var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
14063
- return /* @__PURE__ */ React.createElement("fieldset", _extends({
13961
+ return /* @__PURE__ */ React.createElement("fieldset", _extends$1({
14064
13962
  "aria-hidden": true,
14065
- style: _extends(_defineProperty$e({}, "padding".concat(capitalize$1(align)), 8), style2),
13963
+ style: _extends$1(_defineProperty$e({}, "padding".concat(capitalize$1(align)), 8), style2),
14066
13964
  className: clsx(classes.root, className),
14067
13965
  ref: ref2
14068
13966
  }, other), /* @__PURE__ */ React.createElement("legend", {
@@ -14204,8 +14102,8 @@ var styles$8 = function styles23(theme) {
14204
14102
  };
14205
14103
  };
14206
14104
  var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(props, ref2) {
14207
- 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, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$1(props, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
14208
- return /* @__PURE__ */ React.createElement(InputBase$1, _extends({
14105
+ 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, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
14106
+ return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
14209
14107
  renderSuffix: function renderSuffix(state) {
14210
14108
  return /* @__PURE__ */ React.createElement(NotchedOutline$1, {
14211
14109
  className: classes.notchedOutline,
@@ -14214,7 +14112,7 @@ var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(pro
14214
14112
  notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
14215
14113
  });
14216
14114
  },
14217
- classes: _extends({}, classes, {
14115
+ classes: _extends$1({}, classes, {
14218
14116
  root: clsx(classes.root, classes.underline),
14219
14117
  notchedOutline: null
14220
14118
  }),
@@ -14359,16 +14257,8 @@ OutlinedInput.muiName = "Input";
14359
14257
  const OutlinedInput$1 = withStyles2(styles$8, {
14360
14258
  name: "MuiOutlinedInput"
14361
14259
  })(OutlinedInput);
14362
- function _typeof$v(obj) {
14363
- "@babel/helpers - typeof";
14364
- return _typeof$v = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
14365
- return typeof obj2;
14366
- } : function(obj2) {
14367
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14368
- }, _typeof$v(obj);
14369
- }
14370
14260
  function areEqualValues(a2, b) {
14371
- if (_typeof$v(b) === "object" && b !== null) {
14261
+ if (_typeof$w(b) === "object" && b !== null) {
14372
14262
  return a2 === b;
14373
14263
  }
14374
14264
  return String(a2) === String(b);
@@ -14379,7 +14269,7 @@ function isEmpty(display) {
14379
14269
  var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props, ref2) {
14380
14270
  var ariaLabel = props["aria-label"], autoFocus = props.autoFocus, autoWidth = props.autoWidth, children = props.children, classes = props.classes, className = props.className, defaultValue2 = 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, name2 = 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;
14381
14271
  props.type;
14382
- var valueProp = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$1(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"]);
14272
+ var valueProp = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties(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"]);
14383
14273
  var _useControlled = useControlled({
14384
14274
  controlled: valueProp,
14385
14275
  default: defaultValue2,
@@ -14618,7 +14508,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props,
14618
14508
  tabIndex = disabled ? null : 0;
14619
14509
  }
14620
14510
  var buttonId = SelectDisplayProps.id || (name2 ? "mui-component-select-".concat(name2) : void 0);
14621
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends({
14511
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends$1({
14622
14512
  className: clsx(
14623
14513
  classes.root,
14624
14514
  // TODO v5: merge root and select
@@ -14650,7 +14540,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props,
14650
14540
  __html: "&#8203;"
14651
14541
  }
14652
14542
  })
14653
- ) : display), /* @__PURE__ */ React.createElement("input", _extends({
14543
+ ) : display), /* @__PURE__ */ React.createElement("input", _extends$1({
14654
14544
  value: Array.isArray(value) ? value.join(",") : value,
14655
14545
  name: name2,
14656
14546
  ref: inputRef,
@@ -14661,19 +14551,19 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props,
14661
14551
  autoFocus
14662
14552
  }, other)), /* @__PURE__ */ React.createElement(IconComponent, {
14663
14553
  className: clsx(classes.icon, classes["icon".concat(capitalize$1(variant))], open && classes.iconOpen, disabled && classes.disabled)
14664
- }), /* @__PURE__ */ React.createElement(Menu$1, _extends({
14554
+ }), /* @__PURE__ */ React.createElement(Menu$1, _extends$1({
14665
14555
  id: "menu-".concat(name2 || ""),
14666
14556
  anchorEl: displayNode,
14667
14557
  open,
14668
14558
  onClose: handleClose
14669
14559
  }, MenuProps, {
14670
- MenuListProps: _extends({
14560
+ MenuListProps: _extends$1({
14671
14561
  "aria-labelledby": labelId,
14672
14562
  role: "listbox",
14673
14563
  disableListWrap: true
14674
14564
  }, MenuProps.MenuListProps),
14675
- PaperProps: _extends({}, MenuProps.PaperProps, {
14676
- style: _extends({
14565
+ PaperProps: _extends$1({}, MenuProps.PaperProps, {
14566
+ style: _extends$1({
14677
14567
  minWidth: menuMinWidth
14678
14568
  }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
14679
14569
  })
@@ -14816,7 +14706,7 @@ var styles$7 = styles$a;
14816
14706
  var _ref$1 = /* @__PURE__ */ React.createElement(Input$2, null);
14817
14707
  var _ref2$1 = /* @__PURE__ */ React.createElement(FilledInput$1, null);
14818
14708
  var Select = /* @__PURE__ */ React.forwardRef(function Select2(props, ref2) {
14819
- var _props$autoWidth = props.autoWidth, autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth, children = 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 : _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, native = _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$1(props, ["autoWidth", "children", "classes", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "labelWidth", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]);
14709
+ var _props$autoWidth = props.autoWidth, autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth, children = 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 : _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, native = _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(props, ["autoWidth", "children", "classes", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "labelWidth", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]);
14820
14710
  var inputComponent = native ? NativeSelectInput$1 : SelectInput$1;
14821
14711
  var muiFormControl = useFormControl();
14822
14712
  var fcs = formControlState({
@@ -14833,11 +14723,11 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props, ref2) {
14833
14723
  }),
14834
14724
  filled: _ref2$1
14835
14725
  }[variant];
14836
- return /* @__PURE__ */ React.cloneElement(InputComponent, _extends({
14726
+ return /* @__PURE__ */ React.cloneElement(InputComponent, _extends$1({
14837
14727
  // Most of the logic is implemented in `SelectInput`.
14838
14728
  // The `Select` component is a simple API wrapper to expose something better to play with.
14839
14729
  inputComponent,
14840
- inputProps: _extends({
14730
+ inputProps: _extends$1({
14841
14731
  children,
14842
14732
  IconComponent,
14843
14733
  variant,
@@ -14855,7 +14745,7 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props, ref2) {
14855
14745
  onOpen,
14856
14746
  open,
14857
14747
  renderValue,
14858
- SelectDisplayProps: _extends({
14748
+ SelectDisplayProps: _extends$1({
14859
14749
  id
14860
14750
  }, SelectDisplayProps)
14861
14751
  }, inputProps, {
@@ -15010,7 +14900,7 @@ var styles$6 = function styles24(theme) {
15010
14900
  }
15011
14901
  },
15012
14902
  open: {},
15013
- offset: _extends({
14903
+ offset: _extends$1({
15014
14904
  zIndex: 1
15015
14905
  }, theme.typography.body2, {
15016
14906
  fontSize: theme.typography.pxToRem(12),
@@ -15361,7 +15251,7 @@ var styles$5 = function styles25(theme) {
15361
15251
  opacity: 0.8
15362
15252
  },
15363
15253
  /* Styles applied to the mark label element. */
15364
- markLabel: _extends({}, theme.typography.body2, {
15254
+ markLabel: _extends$1({}, theme.typography.body2, {
15365
15255
  color: theme.palette.text.secondary,
15366
15256
  position: "absolute",
15367
15257
  top: 26,
@@ -15386,7 +15276,7 @@ var styles$5 = function styles25(theme) {
15386
15276
  };
15387
15277
  };
15388
15278
  var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props, ref2) {
15389
- var ariaLabel = props["aria-label"], ariaLabelledby = props["aria-labelledby"], ariaValuetext = props["aria-valuetext"], classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, Component2 = _props$component === void 0 ? "span" : _props$component, defaultValue2 = props.defaultValue, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, getAriaLabel = props.getAriaLabel, getAriaValueText = props.getAriaValueText, _props$marks = props.marks, marksProp = _props$marks === void 0 ? false : _props$marks, _props$max = props.max, max2 = _props$max === void 0 ? 100 : _props$max, _props$min = props.min, min = _props$min === void 0 ? 0 : _props$min, name2 = props.name, onChange = props.onChange, onChangeCommitted = props.onChangeCommitted, onMouseDown = props.onMouseDown, _props$orientation = props.orientation, orientation = _props$orientation === void 0 ? "horizontal" : _props$orientation, _props$scale = props.scale, scale2 = _props$scale === void 0 ? Identity : _props$scale, _props$step = props.step, step = _props$step === void 0 ? 1 : _props$step, _props$ThumbComponent = props.ThumbComponent, ThumbComponent = _props$ThumbComponent === void 0 ? "span" : _props$ThumbComponent, _props$track = props.track, track = _props$track === void 0 ? "normal" : _props$track, valueProp = props.value, _props$ValueLabelComp = props.ValueLabelComponent, ValueLabelComponent = _props$ValueLabelComp === void 0 ? ValueLabel$1 : _props$ValueLabelComp, _props$valueLabelDisp = props.valueLabelDisplay, valueLabelDisplay = _props$valueLabelDisp === void 0 ? "off" : _props$valueLabelDisp, _props$valueLabelForm = props.valueLabelFormat, valueLabelFormat = _props$valueLabelForm === void 0 ? Identity : _props$valueLabelForm, other = _objectWithoutProperties$1(props, ["aria-label", "aria-labelledby", "aria-valuetext", "classes", "className", "color", "component", "defaultValue", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "ThumbComponent", "track", "value", "ValueLabelComponent", "valueLabelDisplay", "valueLabelFormat"]);
15279
+ var ariaLabel = props["aria-label"], ariaLabelledby = props["aria-labelledby"], ariaValuetext = props["aria-valuetext"], classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, Component2 = _props$component === void 0 ? "span" : _props$component, defaultValue2 = props.defaultValue, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, getAriaLabel = props.getAriaLabel, getAriaValueText = props.getAriaValueText, _props$marks = props.marks, marksProp = _props$marks === void 0 ? false : _props$marks, _props$max = props.max, max2 = _props$max === void 0 ? 100 : _props$max, _props$min = props.min, min = _props$min === void 0 ? 0 : _props$min, name2 = props.name, onChange = props.onChange, onChangeCommitted = props.onChangeCommitted, onMouseDown = props.onMouseDown, _props$orientation = props.orientation, orientation = _props$orientation === void 0 ? "horizontal" : _props$orientation, _props$scale = props.scale, scale2 = _props$scale === void 0 ? Identity : _props$scale, _props$step = props.step, step = _props$step === void 0 ? 1 : _props$step, _props$ThumbComponent = props.ThumbComponent, ThumbComponent = _props$ThumbComponent === void 0 ? "span" : _props$ThumbComponent, _props$track = props.track, track = _props$track === void 0 ? "normal" : _props$track, valueProp = props.value, _props$ValueLabelComp = props.ValueLabelComponent, ValueLabelComponent = _props$ValueLabelComp === void 0 ? ValueLabel$1 : _props$ValueLabelComp, _props$valueLabelDisp = props.valueLabelDisplay, valueLabelDisplay = _props$valueLabelDisp === void 0 ? "off" : _props$valueLabelDisp, _props$valueLabelForm = props.valueLabelFormat, valueLabelFormat = _props$valueLabelForm === void 0 ? Identity : _props$valueLabelForm, other = _objectWithoutProperties(props, ["aria-label", "aria-labelledby", "aria-valuetext", "classes", "className", "color", "component", "defaultValue", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "ThumbComponent", "track", "value", "ValueLabelComponent", "valueLabelDisplay", "valueLabelFormat"]);
15390
15280
  var theme = useTheme();
15391
15281
  var touchId = React.useRef();
15392
15282
  var _React$useState = React.useState(-1), active = _React$useState[0], setActive = _React$useState[1];
@@ -15667,8 +15557,8 @@ var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props, ref2) {
15667
15557
  });
15668
15558
  var trackOffset = valueToPercent(range2 ? values2[0] : min, min, max2);
15669
15559
  var trackLeap = valueToPercent(values2[values2.length - 1], min, max2) - trackOffset;
15670
- var trackStyle = _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap));
15671
- return /* @__PURE__ */ React.createElement(Component2, _extends({
15560
+ var trackStyle = _extends$1({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap));
15561
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
15672
15562
  ref: handleRef,
15673
15563
  className: clsx(classes.root, classes["color".concat(capitalize$1(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark) {
15674
15564
  return mark.label;
@@ -15903,7 +15793,7 @@ var styles$4 = function styles26(theme) {
15903
15793
  var _extends2;
15904
15794
  return {
15905
15795
  /* Styles applied to the root element. */
15906
- root: _extends({}, theme.typography.button, (_extends2 = {
15796
+ root: _extends$1({}, theme.typography.button, (_extends2 = {
15907
15797
  maxWidth: 264,
15908
15798
  minWidth: 72,
15909
15799
  position: "relative",
@@ -15982,7 +15872,7 @@ var styles$4 = function styles26(theme) {
15982
15872
  };
15983
15873
  };
15984
15874
  var Tab = /* @__PURE__ */ React.forwardRef(function Tab2(props, ref2) {
15985
- var classes = props.classes, className = props.className, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, fullWidth = props.fullWidth, icon = props.icon, indicator = props.indicator, label = props.label, onChange = props.onChange, onClick = props.onClick, onFocus = props.onFocus, selected = props.selected, selectionFollowsFocus = props.selectionFollowsFocus, _props$textColor = props.textColor, textColor = _props$textColor === void 0 ? "inherit" : _props$textColor, value = props.value, _props$wrapped = props.wrapped, wrapped = _props$wrapped === void 0 ? false : _props$wrapped, other = _objectWithoutProperties$1(props, ["classes", "className", "disabled", "disableFocusRipple", "fullWidth", "icon", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"]);
15875
+ var classes = props.classes, className = props.className, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, fullWidth = props.fullWidth, icon = props.icon, indicator = props.indicator, label = props.label, onChange = props.onChange, onClick = props.onClick, onFocus = props.onFocus, selected = props.selected, selectionFollowsFocus = props.selectionFollowsFocus, _props$textColor = props.textColor, textColor = _props$textColor === void 0 ? "inherit" : _props$textColor, value = props.value, _props$wrapped = props.wrapped, wrapped = _props$wrapped === void 0 ? false : _props$wrapped, other = _objectWithoutProperties(props, ["classes", "className", "disabled", "disableFocusRipple", "fullWidth", "icon", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"]);
15986
15876
  var handleClick = function handleClick2(event) {
15987
15877
  if (onChange) {
15988
15878
  onChange(event, value);
@@ -15999,7 +15889,7 @@ var Tab = /* @__PURE__ */ React.forwardRef(function Tab2(props, ref2) {
15999
15889
  onFocus(event);
16000
15890
  }
16001
15891
  };
16002
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
15892
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
16003
15893
  focusRipple: !disableFocusRipple,
16004
15894
  className: clsx(classes.root, classes["textColor".concat(capitalize$1(textColor))], className, disabled && classes.disabled, selected && classes.selected, label && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),
16005
15895
  ref: ref2,
@@ -16193,7 +16083,7 @@ var styles$3 = {
16193
16083
  overflow: "scroll"
16194
16084
  };
16195
16085
  function ScrollbarSize(props) {
16196
- var onChange = props.onChange, other = _objectWithoutProperties$1(props, ["onChange"]);
16086
+ var onChange = props.onChange, other = _objectWithoutProperties(props, ["onChange"]);
16197
16087
  var scrollbarHeight = React.useRef();
16198
16088
  var nodeRef = React.useRef(null);
16199
16089
  var setMeasurements = function setMeasurements2() {
@@ -16217,7 +16107,7 @@ function ScrollbarSize(props) {
16217
16107
  setMeasurements();
16218
16108
  onChange(scrollbarHeight.current);
16219
16109
  }, [onChange]);
16220
- return /* @__PURE__ */ React.createElement("div", _extends({
16110
+ return /* @__PURE__ */ React.createElement("div", _extends$1({
16221
16111
  style: styles$3,
16222
16112
  ref: nodeRef
16223
16113
  }, other));
@@ -16248,8 +16138,8 @@ var styles$2 = function styles27(theme) {
16248
16138
  };
16249
16139
  };
16250
16140
  var TabIndicator = /* @__PURE__ */ React.forwardRef(function TabIndicator2(props, ref2) {
16251
- var classes = props.classes, className = props.className, color = props.color, orientation = props.orientation, other = _objectWithoutProperties$1(props, ["classes", "className", "color", "orientation"]);
16252
- return /* @__PURE__ */ React.createElement("span", _extends({
16141
+ var classes = props.classes, className = props.className, color = props.color, orientation = props.orientation, other = _objectWithoutProperties(props, ["classes", "className", "color", "orientation"]);
16142
+ return /* @__PURE__ */ React.createElement("span", _extends$1({
16253
16143
  className: clsx(classes.root, classes["color".concat(capitalize$1(color))], className, orientation === "vertical" && classes.vertical),
16254
16144
  ref: ref2
16255
16145
  }, other));
@@ -16305,8 +16195,8 @@ var _ref2 = /* @__PURE__ */ React.createElement(KeyboardArrowRight, {
16305
16195
  fontSize: "small"
16306
16196
  });
16307
16197
  var TabScrollButton = /* @__PURE__ */ React.forwardRef(function TabScrollButton2(props, ref2) {
16308
- var classes = props.classes, classNameProp = props.className, direction = props.direction, orientation = props.orientation, disabled = props.disabled, other = _objectWithoutProperties$1(props, ["classes", "className", "direction", "orientation", "disabled"]);
16309
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
16198
+ var classes = props.classes, classNameProp = props.className, direction = props.direction, orientation = props.orientation, disabled = props.disabled, other = _objectWithoutProperties(props, ["classes", "className", "direction", "orientation", "disabled"]);
16199
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
16310
16200
  component: "div",
16311
16201
  className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === "vertical" && classes.vertical),
16312
16202
  ref: ref2,
@@ -16408,7 +16298,7 @@ var styles28 = function styles29(theme) {
16408
16298
  };
16409
16299
  };
16410
16300
  var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props, ref2) {
16411
- var ariaLabel = props["aria-label"], ariaLabelledBy = props["aria-labelledby"], action = props.action, _props$centered = props.centered, centered = _props$centered === void 0 ? false : _props$centered, childrenProp = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$indicatorColor = props.indicatorColor, indicatorColor = _props$indicatorColor === void 0 ? "secondary" : _props$indicatorColor, onChange = props.onChange, _props$orientation = props.orientation, orientation = _props$orientation === void 0 ? "horizontal" : _props$orientation, _props$ScrollButtonCo = props.ScrollButtonComponent, ScrollButtonComponent = _props$ScrollButtonCo === void 0 ? TabScrollButton$1 : _props$ScrollButtonCo, _props$scrollButtons = props.scrollButtons, scrollButtons = _props$scrollButtons === void 0 ? "auto" : _props$scrollButtons, selectionFollowsFocus = props.selectionFollowsFocus, _props$TabIndicatorPr = props.TabIndicatorProps, TabIndicatorProps = _props$TabIndicatorPr === void 0 ? {} : _props$TabIndicatorPr, TabScrollButtonProps = props.TabScrollButtonProps, _props$textColor = props.textColor, textColor = _props$textColor === void 0 ? "inherit" : _props$textColor, value = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$1(props, ["aria-label", "aria-labelledby", "action", "centered", "children", "classes", "className", "component", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant"]);
16301
+ var ariaLabel = props["aria-label"], ariaLabelledBy = props["aria-labelledby"], action = props.action, _props$centered = props.centered, centered = _props$centered === void 0 ? false : _props$centered, childrenProp = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$indicatorColor = props.indicatorColor, indicatorColor = _props$indicatorColor === void 0 ? "secondary" : _props$indicatorColor, onChange = props.onChange, _props$orientation = props.orientation, orientation = _props$orientation === void 0 ? "horizontal" : _props$orientation, _props$ScrollButtonCo = props.ScrollButtonComponent, ScrollButtonComponent = _props$ScrollButtonCo === void 0 ? TabScrollButton$1 : _props$ScrollButtonCo, _props$scrollButtons = props.scrollButtons, scrollButtons = _props$scrollButtons === void 0 ? "auto" : _props$scrollButtons, selectionFollowsFocus = props.selectionFollowsFocus, _props$TabIndicatorPr = props.TabIndicatorProps, TabIndicatorProps = _props$TabIndicatorPr === void 0 ? {} : _props$TabIndicatorPr, TabScrollButtonProps = props.TabScrollButtonProps, _props$textColor = props.textColor, textColor = _props$textColor === void 0 ? "inherit" : _props$textColor, value = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties(props, ["aria-label", "aria-labelledby", "action", "centered", "children", "classes", "className", "component", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant"]);
16412
16302
  var theme = useTheme();
16413
16303
  var scrollable = variant === "scrollable";
16414
16304
  var isRtl = theme.direction === "rtl";
@@ -16527,14 +16417,14 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props, ref2) {
16527
16417
  }) : null;
16528
16418
  var scrollButtonsActive = displayScroll.start || displayScroll.end;
16529
16419
  var showScrollButtons = scrollable && (scrollButtons === "auto" && scrollButtonsActive || scrollButtons === "desktop" || scrollButtons === "on");
16530
- conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends({
16420
+ conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$1({
16531
16421
  orientation,
16532
16422
  direction: isRtl ? "right" : "left",
16533
16423
  onClick: handleStartScrollClick,
16534
16424
  disabled: !displayScroll.start,
16535
16425
  className: clsx(classes.scrollButtons, scrollButtons !== "on" && classes.scrollButtonsDesktop)
16536
16426
  }, TabScrollButtonProps)) : null;
16537
- conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends({
16427
+ conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$1({
16538
16428
  orientation,
16539
16429
  direction: isRtl ? "left" : "right",
16540
16430
  onClick: handleEndScrollClick,
@@ -16613,12 +16503,12 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props, ref2) {
16613
16503
  updateScrollButtons: updateScrollButtonState
16614
16504
  };
16615
16505
  }, [updateIndicatorState, updateScrollButtonState]);
16616
- var indicator = /* @__PURE__ */ React.createElement(TabIndicator$1, _extends({
16506
+ var indicator = /* @__PURE__ */ React.createElement(TabIndicator$1, _extends$1({
16617
16507
  className: classes.indicator,
16618
16508
  orientation,
16619
16509
  color: indicatorColor
16620
16510
  }, TabIndicatorProps, {
16621
- style: _extends({}, indicatorStyle, TabIndicatorProps.style)
16511
+ style: _extends$1({}, indicatorStyle, TabIndicatorProps.style)
16622
16512
  }));
16623
16513
  var childIndex = 0;
16624
16514
  var children = React.Children.map(childrenProp, function(child) {
@@ -16677,7 +16567,7 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props, ref2) {
16677
16567
  }
16678
16568
  };
16679
16569
  var conditionalElements = getConditionalElements();
16680
- return /* @__PURE__ */ React.createElement(Component2, _extends({
16570
+ return /* @__PURE__ */ React.createElement(Component2, _extends$1({
16681
16571
  className: clsx(classes.root, className, vertical && classes.vertical),
16682
16572
  ref: ref2
16683
16573
  }, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /* @__PURE__ */ React.createElement("div", {
@@ -16821,7 +16711,8 @@ const ViewType = {
16821
16711
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
16822
16712
  DOT_PLOT: "dotPlot",
16823
16713
  FEATURE_BAR_PLOT: "featureBarPlot",
16824
- BIOMARKER_SELECT: "biomarkerSelect"
16714
+ BIOMARKER_SELECT: "biomarkerSelect",
16715
+ LINK_CONTROLLER: "linkController"
16825
16716
  };
16826
16717
  const CoordinationType = {
16827
16718
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -17380,12 +17271,26 @@ const COMPONENT_COORDINATION_TYPES = {
17380
17271
  CoordinationType.OBS_COLOR_ENCODING,
17381
17272
  CoordinationType.ADDITIONAL_OBS_SETS
17382
17273
  ],
17274
+ [ViewType.LINK_CONTROLLER]: [],
17383
17275
  [ViewType.BIOMARKER_SELECT]: [
17384
17276
  CoordinationType.FEATURE_SELECTION,
17385
17277
  CoordinationType.SAMPLE_SET_SELECTION
17386
17278
  // TODO: create coordination types for internal state of the biomarker selection view?
17387
17279
  ]
17388
17280
  };
17281
+ const GLOBAL_LABELS = ["z", "t"];
17282
+ const DEFAULT_RASTER_DOMAIN_TYPE = "Min/Max";
17283
+ const DEFAULT_RASTER_LAYER_PROPS = {
17284
+ visible: true,
17285
+ colormap: null,
17286
+ opacity: 1,
17287
+ domainType: DEFAULT_RASTER_DOMAIN_TYPE,
17288
+ transparentColor: [0, 0, 0],
17289
+ // Importing the full viv package here would add a lot of weight to the bundle
17290
+ renderingMode: "Additive",
17291
+ // viv.RENDERING_MODES.ADDITIVE,
17292
+ use3d: false
17293
+ };
17389
17294
  function commonjsRequire(path) {
17390
17295
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
17391
17296
  }
@@ -21631,10 +21536,10 @@ class SphericalCoordinates {
21631
21536
  altitude,
21632
21537
  radiusScale = EARTH_RADIUS_METERS
21633
21538
  } = {}) {
21634
- _defineProperty$f(this, "phi", void 0);
21635
- _defineProperty$f(this, "theta", void 0);
21636
- _defineProperty$f(this, "radius", void 0);
21637
- _defineProperty$f(this, "radiusScale", void 0);
21539
+ _defineProperty$e(this, "phi", void 0);
21540
+ _defineProperty$e(this, "theta", void 0);
21541
+ _defineProperty$e(this, "radius", void 0);
21542
+ _defineProperty$e(this, "radiusScale", void 0);
21638
21543
  this.phi = phi;
21639
21544
  this.theta = theta;
21640
21545
  this.radius = radius || altitude || 1;
@@ -22168,8 +22073,8 @@ class Pose {
22168
22073
  position,
22169
22074
  orientation
22170
22075
  } = {}) {
22171
- _defineProperty$f(this, "position", void 0);
22172
- _defineProperty$f(this, "orientation", void 0);
22076
+ _defineProperty$e(this, "position", void 0);
22077
+ _defineProperty$e(this, "orientation", void 0);
22173
22078
  if (Array.isArray(position) && position.length === 3) {
22174
22079
  this.position = new Vector3(position);
22175
22080
  } else {
@@ -22348,13 +22253,13 @@ const matches = typeof process !== "undefined" && process.version && /v([0-9]*)/
22348
22253
  matches && parseFloat(matches[1]) || 0;
22349
22254
  class WorkerJob {
22350
22255
  constructor(jobName, workerThread) {
22351
- _defineProperty$f(this, "name", void 0);
22352
- _defineProperty$f(this, "workerThread", void 0);
22353
- _defineProperty$f(this, "isRunning", true);
22354
- _defineProperty$f(this, "result", void 0);
22355
- _defineProperty$f(this, "_resolve", () => {
22256
+ _defineProperty$e(this, "name", void 0);
22257
+ _defineProperty$e(this, "workerThread", void 0);
22258
+ _defineProperty$e(this, "isRunning", true);
22259
+ _defineProperty$e(this, "result", void 0);
22260
+ _defineProperty$e(this, "_resolve", () => {
22356
22261
  });
22357
- _defineProperty$f(this, "_reject", () => {
22262
+ _defineProperty$e(this, "_reject", () => {
22358
22263
  });
22359
22264
  this.name = jobName;
22360
22265
  this.workerThread = workerThread;
@@ -22458,14 +22363,14 @@ class WorkerThread {
22458
22363
  return typeof Worker !== "undefined" && isBrowser$2 || typeof Worker$1 !== "undefined" && !isBrowser$2;
22459
22364
  }
22460
22365
  constructor(props) {
22461
- _defineProperty$f(this, "name", void 0);
22462
- _defineProperty$f(this, "source", void 0);
22463
- _defineProperty$f(this, "url", void 0);
22464
- _defineProperty$f(this, "terminated", false);
22465
- _defineProperty$f(this, "worker", void 0);
22466
- _defineProperty$f(this, "onMessage", void 0);
22467
- _defineProperty$f(this, "onError", void 0);
22468
- _defineProperty$f(this, "_loadableURL", "");
22366
+ _defineProperty$e(this, "name", void 0);
22367
+ _defineProperty$e(this, "source", void 0);
22368
+ _defineProperty$e(this, "url", void 0);
22369
+ _defineProperty$e(this, "terminated", false);
22370
+ _defineProperty$e(this, "worker", void 0);
22371
+ _defineProperty$e(this, "onMessage", void 0);
22372
+ _defineProperty$e(this, "onError", void 0);
22373
+ _defineProperty$e(this, "_loadableURL", "");
22469
22374
  const {
22470
22375
  name: name2,
22471
22376
  source,
@@ -22556,19 +22461,19 @@ class WorkerPool {
22556
22461
  return WorkerThread.isSupported();
22557
22462
  }
22558
22463
  constructor(props) {
22559
- _defineProperty$f(this, "name", "unnamed");
22560
- _defineProperty$f(this, "source", void 0);
22561
- _defineProperty$f(this, "url", void 0);
22562
- _defineProperty$f(this, "maxConcurrency", 1);
22563
- _defineProperty$f(this, "maxMobileConcurrency", 1);
22564
- _defineProperty$f(this, "onDebug", () => {
22565
- });
22566
- _defineProperty$f(this, "reuseWorkers", true);
22567
- _defineProperty$f(this, "props", {});
22568
- _defineProperty$f(this, "jobQueue", []);
22569
- _defineProperty$f(this, "idleQueue", []);
22570
- _defineProperty$f(this, "count", 0);
22571
- _defineProperty$f(this, "isDestroyed", false);
22464
+ _defineProperty$e(this, "name", "unnamed");
22465
+ _defineProperty$e(this, "source", void 0);
22466
+ _defineProperty$e(this, "url", void 0);
22467
+ _defineProperty$e(this, "maxConcurrency", 1);
22468
+ _defineProperty$e(this, "maxMobileConcurrency", 1);
22469
+ _defineProperty$e(this, "onDebug", () => {
22470
+ });
22471
+ _defineProperty$e(this, "reuseWorkers", true);
22472
+ _defineProperty$e(this, "props", {});
22473
+ _defineProperty$e(this, "jobQueue", []);
22474
+ _defineProperty$e(this, "idleQueue", []);
22475
+ _defineProperty$e(this, "count", 0);
22476
+ _defineProperty$e(this, "isDestroyed", false);
22572
22477
  this.source = props.source;
22573
22478
  this.url = props.url;
22574
22479
  this.setProps(props);
@@ -22686,8 +22591,8 @@ class WorkerFarm {
22686
22591
  return WorkerFarm._workerFarm;
22687
22592
  }
22688
22593
  constructor(props) {
22689
- _defineProperty$f(this, "props", void 0);
22690
- _defineProperty$f(this, "workerPools", /* @__PURE__ */ new Map());
22594
+ _defineProperty$e(this, "props", void 0);
22595
+ _defineProperty$e(this, "workerPools", /* @__PURE__ */ new Map());
22691
22596
  this.props = {
22692
22597
  ...DEFAULT_PROPS$4
22693
22598
  };
@@ -22736,7 +22641,7 @@ class WorkerFarm {
22736
22641
  };
22737
22642
  }
22738
22643
  }
22739
- _defineProperty$f(WorkerFarm, "_workerFarm", void 0);
22644
+ _defineProperty$e(WorkerFarm, "_workerFarm", void 0);
22740
22645
  const NPM_TAG = "latest";
22741
22646
  function getWorkerURL(worker, options = {}) {
22742
22647
  const workerOptions = options[worker.id] || {};
@@ -23038,20 +22943,20 @@ function getHiResTimestamp$1() {
23038
22943
  }
23039
22944
  class Stat {
23040
22945
  constructor(name2, type2) {
23041
- _defineProperty$f(this, "name", void 0);
23042
- _defineProperty$f(this, "type", void 0);
23043
- _defineProperty$f(this, "sampleSize", 1);
23044
- _defineProperty$f(this, "time", void 0);
23045
- _defineProperty$f(this, "count", void 0);
23046
- _defineProperty$f(this, "samples", void 0);
23047
- _defineProperty$f(this, "lastTiming", void 0);
23048
- _defineProperty$f(this, "lastSampleTime", void 0);
23049
- _defineProperty$f(this, "lastSampleCount", void 0);
23050
- _defineProperty$f(this, "_count", 0);
23051
- _defineProperty$f(this, "_time", 0);
23052
- _defineProperty$f(this, "_samples", 0);
23053
- _defineProperty$f(this, "_startTime", 0);
23054
- _defineProperty$f(this, "_timerPending", false);
22946
+ _defineProperty$e(this, "name", void 0);
22947
+ _defineProperty$e(this, "type", void 0);
22948
+ _defineProperty$e(this, "sampleSize", 1);
22949
+ _defineProperty$e(this, "time", void 0);
22950
+ _defineProperty$e(this, "count", void 0);
22951
+ _defineProperty$e(this, "samples", void 0);
22952
+ _defineProperty$e(this, "lastTiming", void 0);
22953
+ _defineProperty$e(this, "lastSampleTime", void 0);
22954
+ _defineProperty$e(this, "lastSampleCount", void 0);
22955
+ _defineProperty$e(this, "_count", 0);
22956
+ _defineProperty$e(this, "_time", 0);
22957
+ _defineProperty$e(this, "_samples", 0);
22958
+ _defineProperty$e(this, "_startTime", 0);
22959
+ _defineProperty$e(this, "_timerPending", false);
23055
22960
  this.name = name2;
23056
22961
  this.type = type2;
23057
22962
  this.reset();
@@ -23148,8 +23053,8 @@ class Stat {
23148
23053
  }
23149
23054
  class Stats {
23150
23055
  constructor(options) {
23151
- _defineProperty$f(this, "id", void 0);
23152
- _defineProperty$f(this, "stats", {});
23056
+ _defineProperty$e(this, "id", void 0);
23057
+ _defineProperty$e(this, "stats", {});
23153
23058
  this.id = options.id;
23154
23059
  this.stats = {};
23155
23060
  this._initializeStats(options.stats);
@@ -23222,12 +23127,12 @@ const DEFAULT_PROPS$3 = {
23222
23127
  };
23223
23128
  class RequestScheduler {
23224
23129
  constructor(props = {}) {
23225
- _defineProperty$f(this, "props", void 0);
23226
- _defineProperty$f(this, "stats", void 0);
23227
- _defineProperty$f(this, "activeRequestCount", 0);
23228
- _defineProperty$f(this, "requestQueue", []);
23229
- _defineProperty$f(this, "requestMap", /* @__PURE__ */ new Map());
23230
- _defineProperty$f(this, "deferredUpdate", null);
23130
+ _defineProperty$e(this, "props", void 0);
23131
+ _defineProperty$e(this, "stats", void 0);
23132
+ _defineProperty$e(this, "activeRequestCount", 0);
23133
+ _defineProperty$e(this, "requestQueue", []);
23134
+ _defineProperty$e(this, "requestMap", /* @__PURE__ */ new Map());
23135
+ _defineProperty$e(this, "deferredUpdate", null);
23231
23136
  this.props = {
23232
23137
  ...DEFAULT_PROPS$3,
23233
23138
  ...props
@@ -23590,9 +23495,9 @@ class LocalStorage {
23590
23495
  constructor(id) {
23591
23496
  let defaultSettings = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
23592
23497
  let type2 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "sessionStorage";
23593
- _defineProperty$f(this, "storage", void 0);
23594
- _defineProperty$f(this, "id", void 0);
23595
- _defineProperty$f(this, "config", {});
23498
+ _defineProperty$e(this, "storage", void 0);
23499
+ _defineProperty$e(this, "id", void 0);
23500
+ _defineProperty$e(this, "config", {});
23596
23501
  this.storage = getStorage(type2);
23597
23502
  this.id = id;
23598
23503
  this.config = {};
@@ -23743,13 +23648,13 @@ class Log {
23743
23648
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
23744
23649
  id: ""
23745
23650
  };
23746
- _defineProperty$f(this, "id", void 0);
23747
- _defineProperty$f(this, "VERSION", VERSION$9);
23748
- _defineProperty$f(this, "_startTs", getHiResTimestamp());
23749
- _defineProperty$f(this, "_deltaTs", getHiResTimestamp());
23750
- _defineProperty$f(this, "_storage", void 0);
23751
- _defineProperty$f(this, "userData", {});
23752
- _defineProperty$f(this, "LOG_THROTTLE_TIMEOUT", 0);
23651
+ _defineProperty$e(this, "id", void 0);
23652
+ _defineProperty$e(this, "VERSION", VERSION$9);
23653
+ _defineProperty$e(this, "_startTs", getHiResTimestamp());
23654
+ _defineProperty$e(this, "_deltaTs", getHiResTimestamp());
23655
+ _defineProperty$e(this, "_storage", void 0);
23656
+ _defineProperty$e(this, "userData", {});
23657
+ _defineProperty$e(this, "LOG_THROTTLE_TIMEOUT", 0);
23753
23658
  this.id = id;
23754
23659
  this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
23755
23660
  this.userData = {};
@@ -23950,7 +23855,7 @@ class Log {
23950
23855
  return noop$4;
23951
23856
  }
23952
23857
  }
23953
- _defineProperty$f(Log, "VERSION", VERSION$9);
23858
+ _defineProperty$e(Log, "VERSION", VERSION$9);
23954
23859
  function normalizeLogLevel(logLevel) {
23955
23860
  if (!logLevel) {
23956
23861
  return 0;
@@ -24079,7 +23984,7 @@ class NullLog {
24079
23984
  }
24080
23985
  class ConsoleLog {
24081
23986
  constructor() {
24082
- _defineProperty$f(this, "console", void 0);
23987
+ _defineProperty$e(this, "console", void 0);
24083
23988
  this.console = console;
24084
23989
  }
24085
23990
  log(...args) {
@@ -36112,31 +36017,31 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
36112
36017
  width: 1,
36113
36018
  height: 1
36114
36019
  }) {
36115
- _defineProperty$f(this, "latitude", void 0);
36116
- _defineProperty$f(this, "longitude", void 0);
36117
- _defineProperty$f(this, "zoom", void 0);
36118
- _defineProperty$f(this, "pitch", void 0);
36119
- _defineProperty$f(this, "bearing", void 0);
36120
- _defineProperty$f(this, "altitude", void 0);
36121
- _defineProperty$f(this, "fovy", void 0);
36122
- _defineProperty$f(this, "meterOffset", void 0);
36123
- _defineProperty$f(this, "center", void 0);
36124
- _defineProperty$f(this, "width", void 0);
36125
- _defineProperty$f(this, "height", void 0);
36126
- _defineProperty$f(this, "scale", void 0);
36127
- _defineProperty$f(this, "distanceScales", void 0);
36128
- _defineProperty$f(this, "viewMatrix", void 0);
36129
- _defineProperty$f(this, "projectionMatrix", void 0);
36130
- _defineProperty$f(this, "viewProjectionMatrix", void 0);
36131
- _defineProperty$f(this, "pixelProjectionMatrix", void 0);
36132
- _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
36133
- _defineProperty$f(this, "equals", (viewport) => {
36020
+ _defineProperty$e(this, "latitude", void 0);
36021
+ _defineProperty$e(this, "longitude", void 0);
36022
+ _defineProperty$e(this, "zoom", void 0);
36023
+ _defineProperty$e(this, "pitch", void 0);
36024
+ _defineProperty$e(this, "bearing", void 0);
36025
+ _defineProperty$e(this, "altitude", void 0);
36026
+ _defineProperty$e(this, "fovy", void 0);
36027
+ _defineProperty$e(this, "meterOffset", void 0);
36028
+ _defineProperty$e(this, "center", void 0);
36029
+ _defineProperty$e(this, "width", void 0);
36030
+ _defineProperty$e(this, "height", void 0);
36031
+ _defineProperty$e(this, "scale", void 0);
36032
+ _defineProperty$e(this, "distanceScales", void 0);
36033
+ _defineProperty$e(this, "viewMatrix", void 0);
36034
+ _defineProperty$e(this, "projectionMatrix", void 0);
36035
+ _defineProperty$e(this, "viewProjectionMatrix", void 0);
36036
+ _defineProperty$e(this, "pixelProjectionMatrix", void 0);
36037
+ _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
36038
+ _defineProperty$e(this, "equals", (viewport) => {
36134
36039
  if (!(viewport instanceof WebMercatorViewport)) {
36135
36040
  return false;
36136
36041
  }
36137
36042
  return viewport.width === this.width && viewport.height === this.height && equals$2(viewport.projectionMatrix, this.projectionMatrix) && equals$2(viewport.viewMatrix, this.viewMatrix);
36138
36043
  });
36139
- _defineProperty$f(this, "project", (lngLatZ, options = {}) => {
36044
+ _defineProperty$e(this, "project", (lngLatZ, options = {}) => {
36140
36045
  const {
36141
36046
  topLeft = true
36142
36047
  } = options;
@@ -36146,7 +36051,7 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
36146
36051
  const y22 = topLeft ? y2 : this.height - y2;
36147
36052
  return lngLatZ.length === 2 ? [x2, y22] : [x2, y22, coord[2]];
36148
36053
  });
36149
- _defineProperty$f(this, "unproject", (xyz, options = {}) => {
36054
+ _defineProperty$e(this, "unproject", (xyz, options = {}) => {
36150
36055
  const {
36151
36056
  topLeft = true,
36152
36057
  targetZ = void 0
@@ -36161,12 +36066,12 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
36161
36066
  }
36162
36067
  return Number.isFinite(targetZ) ? [X, Y, targetZ] : [X, Y];
36163
36068
  });
36164
- _defineProperty$f(this, "projectPosition", (xyz) => {
36069
+ _defineProperty$e(this, "projectPosition", (xyz) => {
36165
36070
  const [X, Y] = lngLatToWorld(xyz);
36166
36071
  const Z = (xyz[2] || 0) * this.distanceScales.unitsPerMeter[2];
36167
36072
  return [X, Y, Z];
36168
36073
  });
36169
- _defineProperty$f(this, "unprojectPosition", (xyz) => {
36074
+ _defineProperty$e(this, "unprojectPosition", (xyz) => {
36170
36075
  const [X, Y] = worldToLngLat(xyz);
36171
36076
  const Z = (xyz[2] || 0) * this.distanceScales.metersPerUnit[2];
36172
36077
  return [X, Y, Z];
@@ -36603,10 +36508,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
36603
36508
  let idCount$2 = 0;
36604
36509
  class AmbientLight {
36605
36510
  constructor(props = {}) {
36606
- _defineProperty$f(this, "id", void 0);
36607
- _defineProperty$f(this, "color", void 0);
36608
- _defineProperty$f(this, "intensity", void 0);
36609
- _defineProperty$f(this, "type", "ambient");
36511
+ _defineProperty$e(this, "id", void 0);
36512
+ _defineProperty$e(this, "color", void 0);
36513
+ _defineProperty$e(this, "intensity", void 0);
36514
+ _defineProperty$e(this, "type", "ambient");
36610
36515
  const {
36611
36516
  color = DEFAULT_LIGHT_COLOR$2
36612
36517
  } = props;
@@ -36624,12 +36529,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
36624
36529
  let idCount$1 = 0;
36625
36530
  class DirectionalLight {
36626
36531
  constructor(props = {}) {
36627
- _defineProperty$f(this, "id", void 0);
36628
- _defineProperty$f(this, "color", void 0);
36629
- _defineProperty$f(this, "intensity", void 0);
36630
- _defineProperty$f(this, "type", "directional");
36631
- _defineProperty$f(this, "direction", void 0);
36632
- _defineProperty$f(this, "shadow", void 0);
36532
+ _defineProperty$e(this, "id", void 0);
36533
+ _defineProperty$e(this, "color", void 0);
36534
+ _defineProperty$e(this, "intensity", void 0);
36535
+ _defineProperty$e(this, "type", "directional");
36536
+ _defineProperty$e(this, "direction", void 0);
36537
+ _defineProperty$e(this, "shadow", void 0);
36633
36538
  const {
36634
36539
  color = DEFAULT_LIGHT_COLOR$1
36635
36540
  } = props;
@@ -36657,9 +36562,9 @@ class Pass {
36657
36562
  constructor(gl, props = {
36658
36563
  id: "pass"
36659
36564
  }) {
36660
- _defineProperty$f(this, "id", void 0);
36661
- _defineProperty$f(this, "gl", void 0);
36662
- _defineProperty$f(this, "props", void 0);
36565
+ _defineProperty$e(this, "id", void 0);
36566
+ _defineProperty$e(this, "gl", void 0);
36567
+ _defineProperty$e(this, "props", void 0);
36663
36568
  const {
36664
36569
  id
36665
36570
  } = props;
@@ -36680,7 +36585,7 @@ class Pass {
36680
36585
  class LayersPass extends Pass {
36681
36586
  constructor(...args) {
36682
36587
  super(...args);
36683
- _defineProperty$f(this, "_lastRenderIndex", -1);
36588
+ _defineProperty$e(this, "_lastRenderIndex", -1);
36684
36589
  }
36685
36590
  render(options) {
36686
36591
  const gl = this.gl;
@@ -36927,9 +36832,9 @@ function clearGLCanvas(gl) {
36927
36832
  class ShadowPass extends LayersPass {
36928
36833
  constructor(gl, props) {
36929
36834
  super(gl, props);
36930
- _defineProperty$f(this, "shadowMap", void 0);
36931
- _defineProperty$f(this, "depthBuffer", void 0);
36932
- _defineProperty$f(this, "fbo", void 0);
36835
+ _defineProperty$e(this, "shadowMap", void 0);
36836
+ _defineProperty$e(this, "depthBuffer", void 0);
36837
+ _defineProperty$e(this, "fbo", void 0);
36933
36838
  this.shadowMap = new Texture2D(gl, {
36934
36839
  width: 1,
36935
36840
  height: 1,
@@ -37019,18 +36924,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
37019
36924
  const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
37020
36925
  class LightingEffect {
37021
36926
  constructor(props = {}) {
37022
- _defineProperty$f(this, "id", "lighting-effect");
37023
- _defineProperty$f(this, "props", null);
37024
- _defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
37025
- _defineProperty$f(this, "shadow", void 0);
37026
- _defineProperty$f(this, "ambientLight", null);
37027
- _defineProperty$f(this, "directionalLights", []);
37028
- _defineProperty$f(this, "pointLights", []);
37029
- _defineProperty$f(this, "shadowPasses", []);
37030
- _defineProperty$f(this, "shadowMaps", []);
37031
- _defineProperty$f(this, "dummyShadowMap", null);
37032
- _defineProperty$f(this, "programManager", void 0);
37033
- _defineProperty$f(this, "shadowMatrices", void 0);
36927
+ _defineProperty$e(this, "id", "lighting-effect");
36928
+ _defineProperty$e(this, "props", null);
36929
+ _defineProperty$e(this, "shadowColor", DEFAULT_SHADOW_COLOR);
36930
+ _defineProperty$e(this, "shadow", void 0);
36931
+ _defineProperty$e(this, "ambientLight", null);
36932
+ _defineProperty$e(this, "directionalLights", []);
36933
+ _defineProperty$e(this, "pointLights", []);
36934
+ _defineProperty$e(this, "shadowPasses", []);
36935
+ _defineProperty$e(this, "shadowMaps", []);
36936
+ _defineProperty$e(this, "dummyShadowMap", null);
36937
+ _defineProperty$e(this, "programManager", void 0);
36938
+ _defineProperty$e(this, "shadowMatrices", void 0);
37034
36939
  for (const key in props) {
37035
36940
  const lightSource = props[key];
37036
36941
  switch (lightSource.type) {
@@ -37153,8 +37058,8 @@ class LightingEffect {
37153
37058
  }
37154
37059
  class TypedArrayManager {
37155
37060
  constructor(options = {}) {
37156
- _defineProperty$f(this, "_pool", []);
37157
- _defineProperty$f(this, "opts", {
37061
+ _defineProperty$e(this, "_pool", []);
37062
+ _defineProperty$e(this, "opts", {
37158
37063
  overAlloc: 2,
37159
37064
  poolSize: 100
37160
37065
  });
@@ -37339,30 +37244,30 @@ function createProjectionMatrix({
37339
37244
  }
37340
37245
  class Viewport {
37341
37246
  constructor(opts = {}) {
37342
- _defineProperty$f(this, "id", void 0);
37343
- _defineProperty$f(this, "x", void 0);
37344
- _defineProperty$f(this, "y", void 0);
37345
- _defineProperty$f(this, "width", void 0);
37346
- _defineProperty$f(this, "height", void 0);
37347
- _defineProperty$f(this, "padding", void 0);
37348
- _defineProperty$f(this, "isGeospatial", void 0);
37349
- _defineProperty$f(this, "zoom", void 0);
37350
- _defineProperty$f(this, "focalDistance", void 0);
37351
- _defineProperty$f(this, "position", void 0);
37352
- _defineProperty$f(this, "modelMatrix", void 0);
37353
- _defineProperty$f(this, "distanceScales", void 0);
37354
- _defineProperty$f(this, "scale", void 0);
37355
- _defineProperty$f(this, "center", void 0);
37356
- _defineProperty$f(this, "cameraPosition", void 0);
37357
- _defineProperty$f(this, "projectionMatrix", void 0);
37358
- _defineProperty$f(this, "viewMatrix", void 0);
37359
- _defineProperty$f(this, "viewMatrixUncentered", void 0);
37360
- _defineProperty$f(this, "viewMatrixInverse", void 0);
37361
- _defineProperty$f(this, "viewProjectionMatrix", void 0);
37362
- _defineProperty$f(this, "pixelProjectionMatrix", void 0);
37363
- _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
37364
- _defineProperty$f(this, "resolution", void 0);
37365
- _defineProperty$f(this, "_frustumPlanes", {});
37247
+ _defineProperty$e(this, "id", void 0);
37248
+ _defineProperty$e(this, "x", void 0);
37249
+ _defineProperty$e(this, "y", void 0);
37250
+ _defineProperty$e(this, "width", void 0);
37251
+ _defineProperty$e(this, "height", void 0);
37252
+ _defineProperty$e(this, "padding", void 0);
37253
+ _defineProperty$e(this, "isGeospatial", void 0);
37254
+ _defineProperty$e(this, "zoom", void 0);
37255
+ _defineProperty$e(this, "focalDistance", void 0);
37256
+ _defineProperty$e(this, "position", void 0);
37257
+ _defineProperty$e(this, "modelMatrix", void 0);
37258
+ _defineProperty$e(this, "distanceScales", void 0);
37259
+ _defineProperty$e(this, "scale", void 0);
37260
+ _defineProperty$e(this, "center", void 0);
37261
+ _defineProperty$e(this, "cameraPosition", void 0);
37262
+ _defineProperty$e(this, "projectionMatrix", void 0);
37263
+ _defineProperty$e(this, "viewMatrix", void 0);
37264
+ _defineProperty$e(this, "viewMatrixUncentered", void 0);
37265
+ _defineProperty$e(this, "viewMatrixInverse", void 0);
37266
+ _defineProperty$e(this, "viewProjectionMatrix", void 0);
37267
+ _defineProperty$e(this, "pixelProjectionMatrix", void 0);
37268
+ _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
37269
+ _defineProperty$e(this, "resolution", void 0);
37270
+ _defineProperty$e(this, "_frustumPlanes", {});
37366
37271
  this.id = opts.id || this.constructor.displayName || "viewport";
37367
37272
  this.x = opts.x || 0;
37368
37273
  this.y = opts.y || 0;
@@ -37568,7 +37473,7 @@ class Viewport {
37568
37473
  }
37569
37474
  }
37570
37475
  }
37571
- _defineProperty$f(Viewport, "displayName", "Viewport");
37476
+ _defineProperty$e(Viewport, "displayName", "Viewport");
37572
37477
  const TILE_SIZE$4 = 512;
37573
37478
  const EARTH_CIRCUMFERENCE = 4003e4;
37574
37479
  const DEGREES_TO_RADIANS$3 = Math.PI / 180;
@@ -37644,15 +37549,15 @@ class WebMercatorViewport2 extends Viewport {
37644
37549
  fovy,
37645
37550
  focalDistance: altitude
37646
37551
  });
37647
- _defineProperty$f(this, "longitude", void 0);
37648
- _defineProperty$f(this, "latitude", void 0);
37649
- _defineProperty$f(this, "pitch", void 0);
37650
- _defineProperty$f(this, "bearing", void 0);
37651
- _defineProperty$f(this, "altitude", void 0);
37652
- _defineProperty$f(this, "fovy", void 0);
37653
- _defineProperty$f(this, "orthographic", void 0);
37654
- _defineProperty$f(this, "_subViewports", void 0);
37655
- _defineProperty$f(this, "_pseudoMeters", void 0);
37552
+ _defineProperty$e(this, "longitude", void 0);
37553
+ _defineProperty$e(this, "latitude", void 0);
37554
+ _defineProperty$e(this, "pitch", void 0);
37555
+ _defineProperty$e(this, "bearing", void 0);
37556
+ _defineProperty$e(this, "altitude", void 0);
37557
+ _defineProperty$e(this, "fovy", void 0);
37558
+ _defineProperty$e(this, "orthographic", void 0);
37559
+ _defineProperty$e(this, "_subViewports", void 0);
37560
+ _defineProperty$e(this, "_pseudoMeters", void 0);
37656
37561
  this.latitude = latitude;
37657
37562
  this.longitude = longitude;
37658
37563
  this.zoom = zoom;
@@ -37738,7 +37643,7 @@ class WebMercatorViewport2 extends Viewport {
37738
37643
  });
37739
37644
  }
37740
37645
  }
37741
- _defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
37646
+ _defineProperty$e(WebMercatorViewport2, "displayName", "WebMercatorViewport");
37742
37647
  function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
37743
37648
  const p = viewport.projectPosition(lngLatZ);
37744
37649
  if (offsetMode && viewport instanceof WebMercatorViewport2) {
@@ -37834,13 +37739,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
37834
37739
  let idCount = 0;
37835
37740
  class PointLight {
37836
37741
  constructor(props = {}) {
37837
- _defineProperty$f(this, "id", void 0);
37838
- _defineProperty$f(this, "color", void 0);
37839
- _defineProperty$f(this, "intensity", void 0);
37840
- _defineProperty$f(this, "type", "point");
37841
- _defineProperty$f(this, "position", void 0);
37842
- _defineProperty$f(this, "attenuation", void 0);
37843
- _defineProperty$f(this, "projectedLight", void 0);
37742
+ _defineProperty$e(this, "id", void 0);
37743
+ _defineProperty$e(this, "color", void 0);
37744
+ _defineProperty$e(this, "intensity", void 0);
37745
+ _defineProperty$e(this, "type", "point");
37746
+ _defineProperty$e(this, "position", void 0);
37747
+ _defineProperty$e(this, "attenuation", void 0);
37748
+ _defineProperty$e(this, "projectedLight", void 0);
37844
37749
  const {
37845
37750
  color = DEFAULT_LIGHT_COLOR
37846
37751
  } = props;
@@ -37997,7 +37902,7 @@ function getSunCoords(dates) {
37997
37902
  class SunLight extends DirectionalLight {
37998
37903
  constructor(opts) {
37999
37904
  super(opts);
38000
- _defineProperty$f(this, "timestamp", void 0);
37905
+ _defineProperty$e(this, "timestamp", void 0);
38001
37906
  this.timestamp = opts.timestamp;
38002
37907
  }
38003
37908
  getProjectedLight({
@@ -38023,7 +37928,7 @@ class SunLight extends DirectionalLight {
38023
37928
  class ScreenPass extends Pass {
38024
37929
  constructor(gl, props) {
38025
37930
  super(gl, props);
38026
- _defineProperty$f(this, "model", void 0);
37931
+ _defineProperty$e(this, "model", void 0);
38027
37932
  const {
38028
37933
  module: module2,
38029
37934
  fs: fs2,
@@ -38071,10 +37976,10 @@ class ScreenPass extends Pass {
38071
37976
  }
38072
37977
  class PostProcessEffect {
38073
37978
  constructor(module2, props = {}) {
38074
- _defineProperty$f(this, "id", void 0);
38075
- _defineProperty$f(this, "props", void 0);
38076
- _defineProperty$f(this, "module", void 0);
38077
- _defineProperty$f(this, "passes", void 0);
37979
+ _defineProperty$e(this, "id", void 0);
37980
+ _defineProperty$e(this, "props", void 0);
37981
+ _defineProperty$e(this, "module", void 0);
37982
+ _defineProperty$e(this, "passes", void 0);
38078
37983
  this.id = "".concat(module2.name, "-pass");
38079
37984
  this.props = props;
38080
37985
  normalizeShaderModule(module2);
@@ -38203,16 +38108,16 @@ function fillArray({
38203
38108
  }
38204
38109
  class Resource2 {
38205
38110
  constructor(id, data, context) {
38206
- _defineProperty$f(this, "id", void 0);
38207
- _defineProperty$f(this, "context", void 0);
38208
- _defineProperty$f(this, "isLoaded", void 0);
38209
- _defineProperty$f(this, "persistent", void 0);
38210
- _defineProperty$f(this, "_loadCount", 0);
38211
- _defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
38212
- _defineProperty$f(this, "_data", void 0);
38213
- _defineProperty$f(this, "_loader", void 0);
38214
- _defineProperty$f(this, "_error", void 0);
38215
- _defineProperty$f(this, "_content", void 0);
38111
+ _defineProperty$e(this, "id", void 0);
38112
+ _defineProperty$e(this, "context", void 0);
38113
+ _defineProperty$e(this, "isLoaded", void 0);
38114
+ _defineProperty$e(this, "persistent", void 0);
38115
+ _defineProperty$e(this, "_loadCount", 0);
38116
+ _defineProperty$e(this, "_subscribers", /* @__PURE__ */ new Set());
38117
+ _defineProperty$e(this, "_data", void 0);
38118
+ _defineProperty$e(this, "_loader", void 0);
38119
+ _defineProperty$e(this, "_error", void 0);
38120
+ _defineProperty$e(this, "_content", void 0);
38216
38121
  this.id = id;
38217
38122
  this.context = context;
38218
38123
  this.setData(data);
@@ -38270,11 +38175,11 @@ class ResourceManager {
38270
38175
  gl,
38271
38176
  protocol
38272
38177
  }) {
38273
- _defineProperty$f(this, "protocol", void 0);
38274
- _defineProperty$f(this, "_context", void 0);
38275
- _defineProperty$f(this, "_resources", void 0);
38276
- _defineProperty$f(this, "_consumers", void 0);
38277
- _defineProperty$f(this, "_pruneRequest", void 0);
38178
+ _defineProperty$e(this, "protocol", void 0);
38179
+ _defineProperty$e(this, "_context", void 0);
38180
+ _defineProperty$e(this, "_resources", void 0);
38181
+ _defineProperty$e(this, "_consumers", void 0);
38182
+ _defineProperty$e(this, "_pruneRequest", void 0);
38278
38183
  this.protocol = protocol || "resource://";
38279
38184
  this._context = {
38280
38185
  gl,
@@ -38401,15 +38306,15 @@ class LayerManager {
38401
38306
  viewport: _viewport,
38402
38307
  timeline
38403
38308
  } = {}) {
38404
- _defineProperty$f(this, "layers", void 0);
38405
- _defineProperty$f(this, "context", void 0);
38406
- _defineProperty$f(this, "resourceManager", void 0);
38407
- _defineProperty$f(this, "_lastRenderedLayers", []);
38408
- _defineProperty$f(this, "_needsRedraw", false);
38409
- _defineProperty$f(this, "_needsUpdate", false);
38410
- _defineProperty$f(this, "_nextLayers", null);
38411
- _defineProperty$f(this, "_debug", false);
38412
- _defineProperty$f(this, "activateViewport", (viewport) => {
38309
+ _defineProperty$e(this, "layers", void 0);
38310
+ _defineProperty$e(this, "context", void 0);
38311
+ _defineProperty$e(this, "resourceManager", void 0);
38312
+ _defineProperty$e(this, "_lastRenderedLayers", []);
38313
+ _defineProperty$e(this, "_needsRedraw", false);
38314
+ _defineProperty$e(this, "_needsUpdate", false);
38315
+ _defineProperty$e(this, "_nextLayers", null);
38316
+ _defineProperty$e(this, "_debug", false);
38317
+ _defineProperty$e(this, "activateViewport", (viewport) => {
38413
38318
  debug(TRACE_ACTIVATE_VIEWPORT, this, viewport);
38414
38319
  if (viewport) {
38415
38320
  this.context.viewport = viewport;
@@ -38620,19 +38525,19 @@ function deepEqual$2(a2, b) {
38620
38525
  }
38621
38526
  class ViewManager {
38622
38527
  constructor(props) {
38623
- _defineProperty$f(this, "width", void 0);
38624
- _defineProperty$f(this, "height", void 0);
38625
- _defineProperty$f(this, "views", void 0);
38626
- _defineProperty$f(this, "viewState", void 0);
38627
- _defineProperty$f(this, "controllers", void 0);
38628
- _defineProperty$f(this, "timeline", void 0);
38629
- _defineProperty$f(this, "_viewports", void 0);
38630
- _defineProperty$f(this, "_viewportMap", void 0);
38631
- _defineProperty$f(this, "_isUpdating", void 0);
38632
- _defineProperty$f(this, "_needsRedraw", void 0);
38633
- _defineProperty$f(this, "_needsUpdate", void 0);
38634
- _defineProperty$f(this, "_eventManager", void 0);
38635
- _defineProperty$f(this, "_eventCallbacks", void 0);
38528
+ _defineProperty$e(this, "width", void 0);
38529
+ _defineProperty$e(this, "height", void 0);
38530
+ _defineProperty$e(this, "views", void 0);
38531
+ _defineProperty$e(this, "viewState", void 0);
38532
+ _defineProperty$e(this, "controllers", void 0);
38533
+ _defineProperty$e(this, "timeline", void 0);
38534
+ _defineProperty$e(this, "_viewports", void 0);
38535
+ _defineProperty$e(this, "_viewportMap", void 0);
38536
+ _defineProperty$e(this, "_isUpdating", void 0);
38537
+ _defineProperty$e(this, "_needsRedraw", void 0);
38538
+ _defineProperty$e(this, "_needsUpdate", void 0);
38539
+ _defineProperty$e(this, "_eventManager", void 0);
38540
+ _defineProperty$e(this, "_eventCallbacks", void 0);
38636
38541
  this.views = [];
38637
38542
  this.width = 100;
38638
38543
  this.height = 100;
@@ -38906,14 +38811,14 @@ function assert$4(condition, message) {
38906
38811
  }
38907
38812
  class View {
38908
38813
  constructor(props) {
38909
- _defineProperty$f(this, "id", void 0);
38910
- _defineProperty$f(this, "viewportInstance", void 0);
38911
- _defineProperty$f(this, "_x", void 0);
38912
- _defineProperty$f(this, "_y", void 0);
38913
- _defineProperty$f(this, "_width", void 0);
38914
- _defineProperty$f(this, "_height", void 0);
38915
- _defineProperty$f(this, "_padding", void 0);
38916
- _defineProperty$f(this, "props", void 0);
38814
+ _defineProperty$e(this, "id", void 0);
38815
+ _defineProperty$e(this, "viewportInstance", void 0);
38816
+ _defineProperty$e(this, "_x", void 0);
38817
+ _defineProperty$e(this, "_y", void 0);
38818
+ _defineProperty$e(this, "_width", void 0);
38819
+ _defineProperty$e(this, "_height", void 0);
38820
+ _defineProperty$e(this, "_padding", void 0);
38821
+ _defineProperty$e(this, "props", void 0);
38917
38822
  const {
38918
38823
  id,
38919
38824
  x: x2 = 0,
@@ -39040,11 +38945,11 @@ class View {
39040
38945
  }
39041
38946
  class Transition {
39042
38947
  constructor(timeline) {
39043
- _defineProperty$f(this, "_inProgress", void 0);
39044
- _defineProperty$f(this, "_handle", void 0);
39045
- _defineProperty$f(this, "_timeline", void 0);
39046
- _defineProperty$f(this, "time", void 0);
39047
- _defineProperty$f(this, "settings", void 0);
38948
+ _defineProperty$e(this, "_inProgress", void 0);
38949
+ _defineProperty$e(this, "_handle", void 0);
38950
+ _defineProperty$e(this, "_timeline", void 0);
38951
+ _defineProperty$e(this, "time", void 0);
38952
+ _defineProperty$e(this, "settings", void 0);
39048
38953
  this._inProgress = false;
39049
38954
  this._handle = null;
39050
38955
  this._timeline = timeline;
@@ -39118,13 +39023,13 @@ const DEFAULT_EASING = (t) => t;
39118
39023
  const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
39119
39024
  class TransitionManager {
39120
39025
  constructor(opts) {
39121
- _defineProperty$f(this, "getControllerState", void 0);
39122
- _defineProperty$f(this, "props", void 0);
39123
- _defineProperty$f(this, "propsInTransition", void 0);
39124
- _defineProperty$f(this, "transition", void 0);
39125
- _defineProperty$f(this, "onViewStateChange", void 0);
39126
- _defineProperty$f(this, "onStateChange", void 0);
39127
- _defineProperty$f(this, "_onTransitionUpdate", (transition2) => {
39026
+ _defineProperty$e(this, "getControllerState", void 0);
39027
+ _defineProperty$e(this, "props", void 0);
39028
+ _defineProperty$e(this, "propsInTransition", void 0);
39029
+ _defineProperty$e(this, "transition", void 0);
39030
+ _defineProperty$e(this, "onViewStateChange", void 0);
39031
+ _defineProperty$e(this, "onStateChange", void 0);
39032
+ _defineProperty$e(this, "_onTransitionUpdate", (transition2) => {
39128
39033
  const {
39129
39034
  time,
39130
39035
  settings: {
@@ -39252,9 +39157,9 @@ class TransitionManager {
39252
39157
  }
39253
39158
  class TransitionInterpolator {
39254
39159
  constructor(opts) {
39255
- _defineProperty$f(this, "_propsToCompare", void 0);
39256
- _defineProperty$f(this, "_propsToExtract", void 0);
39257
- _defineProperty$f(this, "_requiredProps", void 0);
39160
+ _defineProperty$e(this, "_propsToCompare", void 0);
39161
+ _defineProperty$e(this, "_propsToExtract", void 0);
39162
+ _defineProperty$e(this, "_requiredProps", void 0);
39258
39163
  const {
39259
39164
  compare,
39260
39165
  extract,
@@ -39315,7 +39220,7 @@ class LinearInterpolator extends TransitionInterpolator {
39315
39220
  required: DEFAULT_REQUIRED_PROPS
39316
39221
  };
39317
39222
  super(normalizedOpts.transitionProps);
39318
- _defineProperty$f(this, "opts", void 0);
39223
+ _defineProperty$e(this, "opts", void 0);
39319
39224
  this.opts = normalizedOpts;
39320
39225
  }
39321
39226
  initializeProps(startProps, endProps) {
@@ -39369,31 +39274,31 @@ const EVENT_TYPES = {
39369
39274
  const pinchEventWorkaround = {};
39370
39275
  class Controller {
39371
39276
  constructor(opts) {
39372
- _defineProperty$f(this, "props", void 0);
39373
- _defineProperty$f(this, "state", {});
39374
- _defineProperty$f(this, "transitionManager", void 0);
39375
- _defineProperty$f(this, "eventManager", void 0);
39376
- _defineProperty$f(this, "onViewStateChange", void 0);
39377
- _defineProperty$f(this, "onStateChange", void 0);
39378
- _defineProperty$f(this, "makeViewport", void 0);
39379
- _defineProperty$f(this, "_controllerState", void 0);
39380
- _defineProperty$f(this, "_events", {});
39381
- _defineProperty$f(this, "_interactionState", {
39277
+ _defineProperty$e(this, "props", void 0);
39278
+ _defineProperty$e(this, "state", {});
39279
+ _defineProperty$e(this, "transitionManager", void 0);
39280
+ _defineProperty$e(this, "eventManager", void 0);
39281
+ _defineProperty$e(this, "onViewStateChange", void 0);
39282
+ _defineProperty$e(this, "onStateChange", void 0);
39283
+ _defineProperty$e(this, "makeViewport", void 0);
39284
+ _defineProperty$e(this, "_controllerState", void 0);
39285
+ _defineProperty$e(this, "_events", {});
39286
+ _defineProperty$e(this, "_interactionState", {
39382
39287
  isDragging: false
39383
39288
  });
39384
- _defineProperty$f(this, "_customEvents", []);
39385
- _defineProperty$f(this, "_eventStartBlocked", null);
39386
- _defineProperty$f(this, "_panMove", false);
39387
- _defineProperty$f(this, "invertPan", false);
39388
- _defineProperty$f(this, "dragMode", "rotate");
39389
- _defineProperty$f(this, "inertia", 0);
39390
- _defineProperty$f(this, "scrollZoom", true);
39391
- _defineProperty$f(this, "dragPan", true);
39392
- _defineProperty$f(this, "dragRotate", true);
39393
- _defineProperty$f(this, "doubleClickZoom", true);
39394
- _defineProperty$f(this, "touchZoom", true);
39395
- _defineProperty$f(this, "touchRotate", false);
39396
- _defineProperty$f(this, "keyboard", true);
39289
+ _defineProperty$e(this, "_customEvents", []);
39290
+ _defineProperty$e(this, "_eventStartBlocked", null);
39291
+ _defineProperty$e(this, "_panMove", false);
39292
+ _defineProperty$e(this, "invertPan", false);
39293
+ _defineProperty$e(this, "dragMode", "rotate");
39294
+ _defineProperty$e(this, "inertia", 0);
39295
+ _defineProperty$e(this, "scrollZoom", true);
39296
+ _defineProperty$e(this, "dragPan", true);
39297
+ _defineProperty$e(this, "dragRotate", true);
39298
+ _defineProperty$e(this, "doubleClickZoom", true);
39299
+ _defineProperty$e(this, "touchZoom", true);
39300
+ _defineProperty$e(this, "touchRotate", false);
39301
+ _defineProperty$e(this, "keyboard", true);
39397
39302
  this.transitionManager = new TransitionManager({
39398
39303
  ...opts,
39399
39304
  getControllerState: (props) => new this.ControllerState(props),
@@ -40004,8 +39909,8 @@ class Controller {
40004
39909
  }
40005
39910
  class ViewState {
40006
39911
  constructor(props, state) {
40007
- _defineProperty$f(this, "_viewportProps", void 0);
40008
- _defineProperty$f(this, "_state", void 0);
39912
+ _defineProperty$e(this, "_viewportProps", void 0);
39913
+ _defineProperty$e(this, "_state", void 0);
40009
39914
  this._viewportProps = this.applyConstraints(props);
40010
39915
  this._state = state;
40011
39916
  }
@@ -40068,7 +39973,7 @@ class MapState extends ViewState {
40068
39973
  startPitch,
40069
39974
  startZoom
40070
39975
  });
40071
- _defineProperty$f(this, "makeViewport", void 0);
39976
+ _defineProperty$e(this, "makeViewport", void 0);
40072
39977
  this.makeViewport = options.makeViewport;
40073
39978
  }
40074
39979
  panStart({
@@ -40328,8 +40233,8 @@ class MapState extends ViewState {
40328
40233
  class MapController extends Controller {
40329
40234
  constructor(...args) {
40330
40235
  super(...args);
40331
- _defineProperty$f(this, "ControllerState", MapState);
40332
- _defineProperty$f(this, "transition", {
40236
+ _defineProperty$e(this, "ControllerState", MapState);
40237
+ _defineProperty$e(this, "transition", {
40333
40238
  transitionDuration: 300,
40334
40239
  transitionInterpolator: new LinearInterpolator({
40335
40240
  transitionProps: {
@@ -40338,7 +40243,7 @@ class MapController extends Controller {
40338
40243
  }
40339
40244
  })
40340
40245
  });
40341
- _defineProperty$f(this, "dragMode", "pan");
40246
+ _defineProperty$e(this, "dragMode", "pan");
40342
40247
  }
40343
40248
  setProps(props) {
40344
40249
  props.position = props.position || [0, 0, 0];
@@ -40362,12 +40267,12 @@ class MapView extends View {
40362
40267
  return MapController;
40363
40268
  }
40364
40269
  }
40365
- _defineProperty$f(MapView, "displayName", "MapView");
40270
+ _defineProperty$e(MapView, "displayName", "MapView");
40366
40271
  class MaskPass extends LayersPass {
40367
40272
  constructor(gl, props) {
40368
40273
  super(gl, props);
40369
- _defineProperty$f(this, "maskMap", void 0);
40370
- _defineProperty$f(this, "fbo", void 0);
40274
+ _defineProperty$e(this, "maskMap", void 0);
40275
+ _defineProperty$e(this, "fbo", void 0);
40371
40276
  const {
40372
40277
  mapSize = 2048
40373
40278
  } = props;
@@ -40554,7 +40459,7 @@ class OrbitState extends ViewState {
40554
40459
  startZoomPosition,
40555
40460
  startZoom
40556
40461
  });
40557
- _defineProperty$f(this, "makeViewport", void 0);
40462
+ _defineProperty$e(this, "makeViewport", void 0);
40558
40463
  this.makeViewport = options.makeViewport;
40559
40464
  }
40560
40465
  panStart({
@@ -40791,8 +40696,8 @@ class OrbitState extends ViewState {
40791
40696
  class OrbitController extends Controller {
40792
40697
  constructor(...args) {
40793
40698
  super(...args);
40794
- _defineProperty$f(this, "ControllerState", OrbitState);
40795
- _defineProperty$f(this, "transition", {
40699
+ _defineProperty$e(this, "ControllerState", OrbitState);
40700
+ _defineProperty$e(this, "transition", {
40796
40701
  transitionDuration: 300,
40797
40702
  transitionInterpolator: new LinearInterpolator({
40798
40703
  transitionProps: {
@@ -40806,7 +40711,7 @@ class OrbitController extends Controller {
40806
40711
  class OrthographicState extends OrbitState {
40807
40712
  constructor(props) {
40808
40713
  super(props);
40809
- _defineProperty$f(this, "zoomAxis", void 0);
40714
+ _defineProperty$e(this, "zoomAxis", void 0);
40810
40715
  this.zoomAxis = props.zoomAxis || "all";
40811
40716
  }
40812
40717
  _calculateNewZoom({
@@ -40850,12 +40755,12 @@ class OrthographicState extends OrbitState {
40850
40755
  class OrthographicController extends Controller {
40851
40756
  constructor(...args) {
40852
40757
  super(...args);
40853
- _defineProperty$f(this, "ControllerState", OrthographicState);
40854
- _defineProperty$f(this, "transition", {
40758
+ _defineProperty$e(this, "ControllerState", OrthographicState);
40759
+ _defineProperty$e(this, "transition", {
40855
40760
  transitionDuration: 300,
40856
40761
  transitionInterpolator: new LinearInterpolator(["target", "zoom"])
40857
40762
  });
40858
- _defineProperty$f(this, "dragMode", "pan");
40763
+ _defineProperty$e(this, "dragMode", "pan");
40859
40764
  }
40860
40765
  _onPanRotate() {
40861
40766
  return false;
@@ -40869,7 +40774,7 @@ class OrthographicView extends View {
40869
40774
  return OrthographicController;
40870
40775
  }
40871
40776
  }
40872
- _defineProperty$f(OrthographicView, "displayName", "OrthographicView");
40777
+ _defineProperty$e(OrthographicView, "displayName", "OrthographicView");
40873
40778
  function getMaskBounds({
40874
40779
  layers,
40875
40780
  viewport
@@ -40962,15 +40867,15 @@ function _doubleBounds(bounds2) {
40962
40867
  }
40963
40868
  class MaskEffect {
40964
40869
  constructor() {
40965
- _defineProperty$f(this, "id", "mask-effect");
40966
- _defineProperty$f(this, "props", null);
40967
- _defineProperty$f(this, "useInPicking", true);
40968
- _defineProperty$f(this, "dummyMaskMap", void 0);
40969
- _defineProperty$f(this, "channels", []);
40970
- _defineProperty$f(this, "masks", null);
40971
- _defineProperty$f(this, "maskPass", void 0);
40972
- _defineProperty$f(this, "maskMap", void 0);
40973
- _defineProperty$f(this, "lastViewport", void 0);
40870
+ _defineProperty$e(this, "id", "mask-effect");
40871
+ _defineProperty$e(this, "props", null);
40872
+ _defineProperty$e(this, "useInPicking", true);
40873
+ _defineProperty$e(this, "dummyMaskMap", void 0);
40874
+ _defineProperty$e(this, "channels", []);
40875
+ _defineProperty$e(this, "masks", null);
40876
+ _defineProperty$e(this, "maskPass", void 0);
40877
+ _defineProperty$e(this, "maskMap", void 0);
40878
+ _defineProperty$e(this, "lastViewport", void 0);
40974
40879
  }
40975
40880
  preRender(gl, {
40976
40881
  layers,
@@ -41130,9 +41035,9 @@ class MaskEffect {
41130
41035
  const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
41131
41036
  class EffectManager {
41132
41037
  constructor() {
41133
- _defineProperty$f(this, "effects", void 0);
41134
- _defineProperty$f(this, "_internalEffects", void 0);
41135
- _defineProperty$f(this, "_needsRedraw", void 0);
41038
+ _defineProperty$e(this, "effects", void 0);
41039
+ _defineProperty$e(this, "_internalEffects", void 0);
41040
+ _defineProperty$e(this, "_needsRedraw", void 0);
41136
41041
  this.effects = [];
41137
41042
  this._internalEffects = [];
41138
41043
  this._needsRedraw = "Initial render";
@@ -41193,8 +41098,8 @@ const PICKING_PARAMETERS = {
41193
41098
  class PickLayersPass extends LayersPass {
41194
41099
  constructor(...args) {
41195
41100
  super(...args);
41196
- _defineProperty$f(this, "pickZ", void 0);
41197
- _defineProperty$f(this, "_colors", null);
41101
+ _defineProperty$e(this, "pickZ", void 0);
41102
+ _defineProperty$e(this, "_colors", null);
41198
41103
  }
41199
41104
  render(props) {
41200
41105
  if (props.pickingFBO) {
@@ -41625,13 +41530,13 @@ function getViewportFromCoordinates(viewports, pixel) {
41625
41530
  }
41626
41531
  class DeckPicker {
41627
41532
  constructor(gl) {
41628
- _defineProperty$f(this, "gl", void 0);
41629
- _defineProperty$f(this, "pickingFBO", void 0);
41630
- _defineProperty$f(this, "depthFBO", void 0);
41631
- _defineProperty$f(this, "pickLayersPass", void 0);
41632
- _defineProperty$f(this, "layerFilter", void 0);
41633
- _defineProperty$f(this, "lastPickedInfo", void 0);
41634
- _defineProperty$f(this, "_pickable", true);
41533
+ _defineProperty$e(this, "gl", void 0);
41534
+ _defineProperty$e(this, "pickingFBO", void 0);
41535
+ _defineProperty$e(this, "depthFBO", void 0);
41536
+ _defineProperty$e(this, "pickLayersPass", void 0);
41537
+ _defineProperty$e(this, "layerFilter", void 0);
41538
+ _defineProperty$e(this, "lastPickedInfo", void 0);
41539
+ _defineProperty$e(this, "_pickable", true);
41635
41540
  this.gl = gl;
41636
41541
  this.pickLayersPass = new PickLayersPass(gl);
41637
41542
  this.lastPickedInfo = {
@@ -42003,8 +41908,8 @@ const defaultStyle = {
42003
41908
  };
42004
41909
  class Tooltip {
42005
41910
  constructor(canvas) {
42006
- _defineProperty$f(this, "el", null);
42007
- _defineProperty$f(this, "isVisible", false);
41911
+ _defineProperty$e(this, "el", null);
41912
+ _defineProperty$e(this, "isVisible", false);
42008
41913
  const canvasParent = canvas.parentElement;
42009
41914
  if (canvasParent) {
42010
41915
  this.el = document.createElement("div");
@@ -44734,28 +44639,28 @@ const defaultProps$M = {
44734
44639
  };
44735
44640
  class Deck {
44736
44641
  constructor(props) {
44737
- _defineProperty$f(this, "props", void 0);
44738
- _defineProperty$f(this, "width", 0);
44739
- _defineProperty$f(this, "height", 0);
44740
- _defineProperty$f(this, "userData", {});
44741
- _defineProperty$f(this, "canvas", null);
44742
- _defineProperty$f(this, "viewManager", null);
44743
- _defineProperty$f(this, "layerManager", null);
44744
- _defineProperty$f(this, "effectManager", null);
44745
- _defineProperty$f(this, "deckRenderer", null);
44746
- _defineProperty$f(this, "deckPicker", null);
44747
- _defineProperty$f(this, "eventManager", null);
44748
- _defineProperty$f(this, "tooltip", null);
44749
- _defineProperty$f(this, "metrics", void 0);
44750
- _defineProperty$f(this, "animationLoop", void 0);
44751
- _defineProperty$f(this, "stats", void 0);
44752
- _defineProperty$f(this, "viewState", void 0);
44753
- _defineProperty$f(this, "cursorState", void 0);
44754
- _defineProperty$f(this, "_needsRedraw", void 0);
44755
- _defineProperty$f(this, "_pickRequest", void 0);
44756
- _defineProperty$f(this, "_lastPointerDownInfo", null);
44757
- _defineProperty$f(this, "_metricsCounter", void 0);
44758
- _defineProperty$f(this, "_onPointerMove", (event) => {
44642
+ _defineProperty$e(this, "props", void 0);
44643
+ _defineProperty$e(this, "width", 0);
44644
+ _defineProperty$e(this, "height", 0);
44645
+ _defineProperty$e(this, "userData", {});
44646
+ _defineProperty$e(this, "canvas", null);
44647
+ _defineProperty$e(this, "viewManager", null);
44648
+ _defineProperty$e(this, "layerManager", null);
44649
+ _defineProperty$e(this, "effectManager", null);
44650
+ _defineProperty$e(this, "deckRenderer", null);
44651
+ _defineProperty$e(this, "deckPicker", null);
44652
+ _defineProperty$e(this, "eventManager", null);
44653
+ _defineProperty$e(this, "tooltip", null);
44654
+ _defineProperty$e(this, "metrics", void 0);
44655
+ _defineProperty$e(this, "animationLoop", void 0);
44656
+ _defineProperty$e(this, "stats", void 0);
44657
+ _defineProperty$e(this, "viewState", void 0);
44658
+ _defineProperty$e(this, "cursorState", void 0);
44659
+ _defineProperty$e(this, "_needsRedraw", void 0);
44660
+ _defineProperty$e(this, "_pickRequest", void 0);
44661
+ _defineProperty$e(this, "_lastPointerDownInfo", null);
44662
+ _defineProperty$e(this, "_metricsCounter", void 0);
44663
+ _defineProperty$e(this, "_onPointerMove", (event) => {
44759
44664
  const {
44760
44665
  _pickRequest
44761
44666
  } = this;
@@ -44782,7 +44687,7 @@ class Deck {
44782
44687
  }
44783
44688
  _pickRequest.event = event;
44784
44689
  });
44785
- _defineProperty$f(this, "_onEvent", (event) => {
44690
+ _defineProperty$e(this, "_onEvent", (event) => {
44786
44691
  const eventOptions = EVENTS[event.type];
44787
44692
  const pos = event.offsetCenter;
44788
44693
  if (!eventOptions || !pos || !this.layerManager) {
@@ -44808,7 +44713,7 @@ class Deck {
44808
44713
  rootHandler(info, event);
44809
44714
  }
44810
44715
  });
44811
- _defineProperty$f(this, "_onPointerDown", (event) => {
44716
+ _defineProperty$e(this, "_onPointerDown", (event) => {
44812
44717
  const pos = event.offsetCenter;
44813
44718
  const pickedInfo = this._pick("pickObject", "pickObject Time", {
44814
44719
  x: pos.x,
@@ -45320,12 +45225,12 @@ class Deck {
45320
45225
  metrics.gpuMemory = memoryStats.get("GPU Memory").count;
45321
45226
  }
45322
45227
  }
45323
- _defineProperty$f(Deck, "defaultProps", defaultProps$M);
45324
- _defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
45228
+ _defineProperty$e(Deck, "defaultProps", defaultProps$M);
45229
+ _defineProperty$e(Deck, "VERSION", deckGlobal.VERSION);
45325
45230
  class ShaderAttribute {
45326
45231
  constructor(dataColumn, opts) {
45327
- _defineProperty$f(this, "opts", void 0);
45328
- _defineProperty$f(this, "source", void 0);
45232
+ _defineProperty$e(this, "opts", void 0);
45233
+ _defineProperty$e(this, "source", void 0);
45329
45234
  this.opts = opts;
45330
45235
  this.source = dataColumn;
45331
45236
  }
@@ -45415,14 +45320,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
45415
45320
  }
45416
45321
  class DataColumn {
45417
45322
  constructor(gl, opts, state) {
45418
- _defineProperty$f(this, "gl", void 0);
45419
- _defineProperty$f(this, "id", void 0);
45420
- _defineProperty$f(this, "size", void 0);
45421
- _defineProperty$f(this, "settings", void 0);
45422
- _defineProperty$f(this, "value", void 0);
45423
- _defineProperty$f(this, "doublePrecision", void 0);
45424
- _defineProperty$f(this, "_buffer", void 0);
45425
- _defineProperty$f(this, "state", void 0);
45323
+ _defineProperty$e(this, "gl", void 0);
45324
+ _defineProperty$e(this, "id", void 0);
45325
+ _defineProperty$e(this, "size", void 0);
45326
+ _defineProperty$e(this, "settings", void 0);
45327
+ _defineProperty$e(this, "value", void 0);
45328
+ _defineProperty$e(this, "doublePrecision", void 0);
45329
+ _defineProperty$e(this, "_buffer", void 0);
45330
+ _defineProperty$e(this, "state", void 0);
45426
45331
  this.gl = gl;
45427
45332
  this.id = opts.id || "";
45428
45333
  this.size = opts.size || 1;
@@ -46075,7 +45980,7 @@ class Attribute extends DataColumn {
46075
45980
  needsRedraw: false,
46076
45981
  updateRanges: FULL
46077
45982
  });
46078
- _defineProperty$f(this, "constant", false);
45983
+ _defineProperty$e(this, "constant", false);
46079
45984
  this.settings.update = opts.update || (opts.accessor ? this._autoUpdater : void 0);
46080
45985
  Object.seal(this.settings);
46081
45986
  Object.seal(this.state);
@@ -46397,16 +46302,16 @@ class GPUInterpolationTransition {
46397
46302
  attribute,
46398
46303
  timeline
46399
46304
  }) {
46400
- _defineProperty$f(this, "gl", void 0);
46401
- _defineProperty$f(this, "type", "interpolation");
46402
- _defineProperty$f(this, "attributeInTransition", void 0);
46403
- _defineProperty$f(this, "settings", void 0);
46404
- _defineProperty$f(this, "attribute", void 0);
46405
- _defineProperty$f(this, "transition", void 0);
46406
- _defineProperty$f(this, "currentStartIndices", void 0);
46407
- _defineProperty$f(this, "currentLength", void 0);
46408
- _defineProperty$f(this, "transform", void 0);
46409
- _defineProperty$f(this, "buffers", void 0);
46305
+ _defineProperty$e(this, "gl", void 0);
46306
+ _defineProperty$e(this, "type", "interpolation");
46307
+ _defineProperty$e(this, "attributeInTransition", void 0);
46308
+ _defineProperty$e(this, "settings", void 0);
46309
+ _defineProperty$e(this, "attribute", void 0);
46310
+ _defineProperty$e(this, "transition", void 0);
46311
+ _defineProperty$e(this, "currentStartIndices", void 0);
46312
+ _defineProperty$e(this, "currentLength", void 0);
46313
+ _defineProperty$e(this, "transform", void 0);
46314
+ _defineProperty$e(this, "buffers", void 0);
46410
46315
  this.gl = gl;
46411
46316
  this.transition = new Transition(timeline);
46412
46317
  this.attribute = attribute;
@@ -46514,18 +46419,18 @@ class GPUSpringTransition {
46514
46419
  attribute,
46515
46420
  timeline
46516
46421
  }) {
46517
- _defineProperty$f(this, "gl", void 0);
46518
- _defineProperty$f(this, "type", "spring");
46519
- _defineProperty$f(this, "attributeInTransition", void 0);
46520
- _defineProperty$f(this, "settings", void 0);
46521
- _defineProperty$f(this, "attribute", void 0);
46522
- _defineProperty$f(this, "transition", void 0);
46523
- _defineProperty$f(this, "currentStartIndices", void 0);
46524
- _defineProperty$f(this, "currentLength", void 0);
46525
- _defineProperty$f(this, "texture", void 0);
46526
- _defineProperty$f(this, "framebuffer", void 0);
46527
- _defineProperty$f(this, "transform", void 0);
46528
- _defineProperty$f(this, "buffers", void 0);
46422
+ _defineProperty$e(this, "gl", void 0);
46423
+ _defineProperty$e(this, "type", "spring");
46424
+ _defineProperty$e(this, "attributeInTransition", void 0);
46425
+ _defineProperty$e(this, "settings", void 0);
46426
+ _defineProperty$e(this, "attribute", void 0);
46427
+ _defineProperty$e(this, "transition", void 0);
46428
+ _defineProperty$e(this, "currentStartIndices", void 0);
46429
+ _defineProperty$e(this, "currentLength", void 0);
46430
+ _defineProperty$e(this, "texture", void 0);
46431
+ _defineProperty$e(this, "framebuffer", void 0);
46432
+ _defineProperty$e(this, "transform", void 0);
46433
+ _defineProperty$e(this, "buffers", void 0);
46529
46434
  this.gl = gl;
46530
46435
  this.type = "spring";
46531
46436
  this.transition = new Transition(timeline);
@@ -46687,13 +46592,13 @@ class AttributeTransitionManager {
46687
46592
  id,
46688
46593
  timeline
46689
46594
  }) {
46690
- _defineProperty$f(this, "id", void 0);
46691
- _defineProperty$f(this, "isSupported", void 0);
46692
- _defineProperty$f(this, "gl", void 0);
46693
- _defineProperty$f(this, "timeline", void 0);
46694
- _defineProperty$f(this, "transitions", void 0);
46695
- _defineProperty$f(this, "needsRedraw", void 0);
46696
- _defineProperty$f(this, "numInstances", void 0);
46595
+ _defineProperty$e(this, "id", void 0);
46596
+ _defineProperty$e(this, "isSupported", void 0);
46597
+ _defineProperty$e(this, "gl", void 0);
46598
+ _defineProperty$e(this, "timeline", void 0);
46599
+ _defineProperty$e(this, "transitions", void 0);
46600
+ _defineProperty$e(this, "needsRedraw", void 0);
46601
+ _defineProperty$e(this, "numInstances", void 0);
46697
46602
  this.id = id;
46698
46603
  this.gl = gl;
46699
46604
  this.timeline = timeline;
@@ -46800,14 +46705,14 @@ class AttributeManager {
46800
46705
  stats,
46801
46706
  timeline
46802
46707
  } = {}) {
46803
- _defineProperty$f(this, "id", void 0);
46804
- _defineProperty$f(this, "gl", void 0);
46805
- _defineProperty$f(this, "attributes", void 0);
46806
- _defineProperty$f(this, "updateTriggers", void 0);
46807
- _defineProperty$f(this, "needsRedraw", void 0);
46808
- _defineProperty$f(this, "userData", void 0);
46809
- _defineProperty$f(this, "stats", void 0);
46810
- _defineProperty$f(this, "attributeTransitionManager", void 0);
46708
+ _defineProperty$e(this, "id", void 0);
46709
+ _defineProperty$e(this, "gl", void 0);
46710
+ _defineProperty$e(this, "attributes", void 0);
46711
+ _defineProperty$e(this, "updateTriggers", void 0);
46712
+ _defineProperty$e(this, "needsRedraw", void 0);
46713
+ _defineProperty$e(this, "userData", void 0);
46714
+ _defineProperty$e(this, "stats", void 0);
46715
+ _defineProperty$e(this, "attributeTransitionManager", void 0);
46811
46716
  this.id = id;
46812
46717
  this.gl = gl;
46813
46718
  this.attributes = {};
@@ -47786,9 +47691,9 @@ function getComponentName(componentClass) {
47786
47691
  let counter = 0;
47787
47692
  class Component {
47788
47693
  constructor(...propObjects) {
47789
- _defineProperty$f(this, "id", void 0);
47790
- _defineProperty$f(this, "props", void 0);
47791
- _defineProperty$f(this, "count", void 0);
47694
+ _defineProperty$e(this, "id", void 0);
47695
+ _defineProperty$e(this, "props", void 0);
47696
+ _defineProperty$e(this, "count", void 0);
47792
47697
  this.props = createProps(this, propObjects);
47793
47698
  this.id = this.props.id;
47794
47699
  this.count = counter++;
@@ -47812,16 +47717,16 @@ class Component {
47812
47717
  });
47813
47718
  }
47814
47719
  }
47815
- _defineProperty$f(Component, "componentName", "Component");
47816
- _defineProperty$f(Component, "defaultProps", {});
47720
+ _defineProperty$e(Component, "componentName", "Component");
47721
+ _defineProperty$e(Component, "defaultProps", {});
47817
47722
  const EMPTY_PROPS = Object.freeze({});
47818
47723
  class ComponentState {
47819
47724
  constructor(component) {
47820
- _defineProperty$f(this, "component", void 0);
47821
- _defineProperty$f(this, "onAsyncPropUpdated", void 0);
47822
- _defineProperty$f(this, "asyncProps", void 0);
47823
- _defineProperty$f(this, "oldProps", void 0);
47824
- _defineProperty$f(this, "oldAsyncProps", void 0);
47725
+ _defineProperty$e(this, "component", void 0);
47726
+ _defineProperty$e(this, "onAsyncPropUpdated", void 0);
47727
+ _defineProperty$e(this, "asyncProps", void 0);
47728
+ _defineProperty$e(this, "oldProps", void 0);
47729
+ _defineProperty$e(this, "oldAsyncProps", void 0);
47825
47730
  this.component = component;
47826
47731
  this.asyncProps = {};
47827
47732
  this.onAsyncPropUpdated = () => {
@@ -48024,15 +47929,15 @@ class LayerState extends ComponentState {
48024
47929
  layer
48025
47930
  }) {
48026
47931
  super(layer);
48027
- _defineProperty$f(this, "attributeManager", void 0);
48028
- _defineProperty$f(this, "needsRedraw", void 0);
48029
- _defineProperty$f(this, "needsUpdate", void 0);
48030
- _defineProperty$f(this, "subLayers", void 0);
48031
- _defineProperty$f(this, "usesPickingColorCache", void 0);
48032
- _defineProperty$f(this, "changeFlags", void 0);
48033
- _defineProperty$f(this, "viewport", void 0);
48034
- _defineProperty$f(this, "uniformTransitions", void 0);
48035
- _defineProperty$f(this, "propsInTransition", void 0);
47932
+ _defineProperty$e(this, "attributeManager", void 0);
47933
+ _defineProperty$e(this, "needsRedraw", void 0);
47934
+ _defineProperty$e(this, "needsUpdate", void 0);
47935
+ _defineProperty$e(this, "subLayers", void 0);
47936
+ _defineProperty$e(this, "usesPickingColorCache", void 0);
47937
+ _defineProperty$e(this, "changeFlags", void 0);
47938
+ _defineProperty$e(this, "viewport", void 0);
47939
+ _defineProperty$e(this, "uniformTransitions", void 0);
47940
+ _defineProperty$e(this, "propsInTransition", void 0);
48036
47941
  this.attributeManager = attributeManager;
48037
47942
  this.needsRedraw = true;
48038
47943
  this.needsUpdate = true;
@@ -48252,11 +48157,11 @@ const defaultProps$L = {
48252
48157
  class Layer extends Component {
48253
48158
  constructor(...args) {
48254
48159
  super(...args);
48255
- _defineProperty$f(this, "internalState", null);
48256
- _defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
48257
- _defineProperty$f(this, "context", void 0);
48258
- _defineProperty$f(this, "state", void 0);
48259
- _defineProperty$f(this, "parent", null);
48160
+ _defineProperty$e(this, "internalState", null);
48161
+ _defineProperty$e(this, "lifecycle", LIFECYCLE.NO_STATE);
48162
+ _defineProperty$e(this, "context", void 0);
48163
+ _defineProperty$e(this, "state", void 0);
48164
+ _defineProperty$e(this, "parent", null);
48260
48165
  }
48261
48166
  get root() {
48262
48167
  let layer = this;
@@ -48958,8 +48863,8 @@ class Layer extends Component {
48958
48863
  this.setNeedsUpdate();
48959
48864
  }
48960
48865
  }
48961
- _defineProperty$f(Layer, "defaultProps", defaultProps$L);
48962
- _defineProperty$f(Layer, "layerName", "Layer");
48866
+ _defineProperty$e(Layer, "defaultProps", defaultProps$L);
48867
+ _defineProperty$e(Layer, "layerName", "Layer");
48963
48868
  const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
48964
48869
  class CompositeLayer extends Layer {
48965
48870
  get isComposite() {
@@ -49121,7 +49026,7 @@ class CompositeLayer extends Layer {
49121
49026
  }
49122
49027
  }
49123
49028
  }
49124
- _defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
49029
+ _defineProperty$e(CompositeLayer, "layerName", "CompositeLayer");
49125
49030
  const DEGREES_TO_RADIANS$1 = Math.PI / 180;
49126
49031
  const RADIANS_TO_DEGREES = 180 / Math.PI;
49127
49032
  const EARTH_RADIUS = 6370972;
@@ -49177,9 +49082,9 @@ class GlobeViewport extends Viewport {
49177
49082
  near: nearZMultiplier,
49178
49083
  far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
49179
49084
  });
49180
- _defineProperty$f(this, "longitude", void 0);
49181
- _defineProperty$f(this, "latitude", void 0);
49182
- _defineProperty$f(this, "resolution", void 0);
49085
+ _defineProperty$e(this, "longitude", void 0);
49086
+ _defineProperty$e(this, "latitude", void 0);
49087
+ _defineProperty$e(this, "resolution", void 0);
49183
49088
  this.latitude = latitude;
49184
49089
  this.longitude = longitude;
49185
49090
  this.resolution = resolution;
@@ -49327,7 +49232,7 @@ class OrbitViewport extends Viewport {
49327
49232
  position: target,
49328
49233
  zoom
49329
49234
  });
49330
- _defineProperty$f(this, "projectedCenter", void 0);
49235
+ _defineProperty$e(this, "projectedCenter", void 0);
49331
49236
  this.projectedCenter = this.project(this.center);
49332
49237
  }
49333
49238
  unproject(xyz, {
@@ -49376,8 +49281,8 @@ class FirstPersonViewport extends Viewport {
49376
49281
  zoom,
49377
49282
  viewMatrix: viewMatrix2
49378
49283
  });
49379
- _defineProperty$f(this, "longitude", void 0);
49380
- _defineProperty$f(this, "latitude", void 0);
49284
+ _defineProperty$e(this, "longitude", void 0);
49285
+ _defineProperty$e(this, "latitude", void 0);
49381
49286
  this.latitude = latitude;
49382
49287
  this.longitude = longitude;
49383
49288
  }
@@ -49606,8 +49511,8 @@ class FirstPersonState extends ViewState {
49606
49511
  class FirstPersonController extends Controller {
49607
49512
  constructor(...args) {
49608
49513
  super(...args);
49609
- _defineProperty$f(this, "ControllerState", FirstPersonState);
49610
- _defineProperty$f(this, "transition", {
49514
+ _defineProperty$e(this, "ControllerState", FirstPersonState);
49515
+ _defineProperty$e(this, "transition", {
49611
49516
  transitionDuration: 300,
49612
49517
  transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
49613
49518
  });
@@ -49621,7 +49526,7 @@ class FirstPersonView extends View {
49621
49526
  return FirstPersonController;
49622
49527
  }
49623
49528
  }
49624
- _defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
49529
+ _defineProperty$e(FirstPersonView, "displayName", "FirstPersonView");
49625
49530
  class OrbitView extends View {
49626
49531
  constructor(props = {}) {
49627
49532
  super(props);
@@ -49634,7 +49539,7 @@ class OrbitView extends View {
49634
49539
  return OrbitController;
49635
49540
  }
49636
49541
  }
49637
- _defineProperty$f(OrbitView, "displayName", "OrbitView");
49542
+ _defineProperty$e(OrbitView, "displayName", "OrbitView");
49638
49543
  class GlobeState extends MapState {
49639
49544
  applyConstraints(props) {
49640
49545
  const {
@@ -49657,12 +49562,12 @@ class GlobeState extends MapState {
49657
49562
  class GlobeController extends Controller {
49658
49563
  constructor(...args) {
49659
49564
  super(...args);
49660
- _defineProperty$f(this, "ControllerState", GlobeState);
49661
- _defineProperty$f(this, "transition", {
49565
+ _defineProperty$e(this, "ControllerState", GlobeState);
49566
+ _defineProperty$e(this, "transition", {
49662
49567
  transitionDuration: 300,
49663
49568
  transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
49664
49569
  });
49665
- _defineProperty$f(this, "dragMode", "pan");
49570
+ _defineProperty$e(this, "dragMode", "pan");
49666
49571
  }
49667
49572
  setProps(props) {
49668
49573
  super.setProps(props);
@@ -49678,10 +49583,10 @@ class GlobeView extends View {
49678
49583
  return GlobeController;
49679
49584
  }
49680
49585
  }
49681
- _defineProperty$f(GlobeView, "displayName", "GlobeView");
49586
+ _defineProperty$e(GlobeView, "displayName", "GlobeView");
49682
49587
  class LayerExtension {
49683
49588
  constructor(opts) {
49684
- _defineProperty$f(this, "opts", void 0);
49589
+ _defineProperty$e(this, "opts", void 0);
49685
49590
  if (opts) {
49686
49591
  this.opts = opts;
49687
49592
  }
@@ -49726,7 +49631,7 @@ class LayerExtension {
49726
49631
  finalizeState(context, extension) {
49727
49632
  }
49728
49633
  }
49729
- _defineProperty$f(LayerExtension, "defaultProps", {});
49634
+ _defineProperty$e(LayerExtension, "defaultProps", {});
49730
49635
  const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
49731
49636
  const DEFAULT_OPTS = {
49732
49637
  speed: 1.2,
@@ -49739,7 +49644,7 @@ class FlyToInterpolator extends TransitionInterpolator {
49739
49644
  extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
49740
49645
  required: ["width", "height", "latitude", "longitude", "zoom"]
49741
49646
  });
49742
- _defineProperty$f(this, "opts", void 0);
49647
+ _defineProperty$e(this, "opts", void 0);
49743
49648
  this.opts = {
49744
49649
  ...DEFAULT_OPTS,
49745
49650
  ...opts
@@ -49764,20 +49669,20 @@ class FlyToInterpolator extends TransitionInterpolator {
49764
49669
  }
49765
49670
  class Tesselator {
49766
49671
  constructor(opts) {
49767
- _defineProperty$f(this, "opts", void 0);
49768
- _defineProperty$f(this, "typedArrayManager", void 0);
49769
- _defineProperty$f(this, "indexStarts", [0]);
49770
- _defineProperty$f(this, "vertexStarts", [0]);
49771
- _defineProperty$f(this, "vertexCount", 0);
49772
- _defineProperty$f(this, "instanceCount", 0);
49773
- _defineProperty$f(this, "attributes", void 0);
49774
- _defineProperty$f(this, "_attributeDefs", void 0);
49775
- _defineProperty$f(this, "data", void 0);
49776
- _defineProperty$f(this, "getGeometry", void 0);
49777
- _defineProperty$f(this, "geometryBuffer", void 0);
49778
- _defineProperty$f(this, "buffers", void 0);
49779
- _defineProperty$f(this, "positionSize", void 0);
49780
- _defineProperty$f(this, "normalize", void 0);
49672
+ _defineProperty$e(this, "opts", void 0);
49673
+ _defineProperty$e(this, "typedArrayManager", void 0);
49674
+ _defineProperty$e(this, "indexStarts", [0]);
49675
+ _defineProperty$e(this, "vertexStarts", [0]);
49676
+ _defineProperty$e(this, "vertexCount", 0);
49677
+ _defineProperty$e(this, "instanceCount", 0);
49678
+ _defineProperty$e(this, "attributes", void 0);
49679
+ _defineProperty$e(this, "_attributeDefs", void 0);
49680
+ _defineProperty$e(this, "data", void 0);
49681
+ _defineProperty$e(this, "getGeometry", void 0);
49682
+ _defineProperty$e(this, "geometryBuffer", void 0);
49683
+ _defineProperty$e(this, "buffers", void 0);
49684
+ _defineProperty$e(this, "positionSize", void 0);
49685
+ _defineProperty$e(this, "normalize", void 0);
49781
49686
  const {
49782
49687
  attributes = {}
49783
49688
  } = opts;
@@ -50050,8 +49955,8 @@ class ClipExtension extends LayerExtension {
50050
49955
  }
50051
49956
  }
50052
49957
  }
50053
- _defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
50054
- _defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
49958
+ _defineProperty$e(ClipExtension, "defaultProps", defaultProps$K);
49959
+ _defineProperty$e(ClipExtension, "extensionName", "ClipExtension");
50055
49960
  const vs$h = "#define SHADER_NAME arc-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec4 instanceSourceColors;\nattribute vec4 instanceTargetColors;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\nattribute float instanceHeights;\nattribute float instanceTilts;\n\nuniform bool greatCircle;\nuniform bool useShortestPath;\nuniform float numSegments;\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nfloat paraboloid(float distance, float sourceZ, float targetZ, float ratio) {\n // d: distance on the xy plane\n // r: ratio of the current point\n // p: ratio of the peak of the arc\n // h: height multiplier\n // z = f(r) = sqrt(r * (p * 2 - r)) * d * h\n // f(0) = 0\n // f(1) = dz\n\n float deltaZ = targetZ - sourceZ;\n float dh = distance * instanceHeights;\n if (dh == 0.0) {\n return sourceZ + deltaZ * ratio;\n }\n float unitZ = deltaZ / dh;\n float p2 = unitZ * unitZ + 1.0;\n\n // sqrt does not deal with negative values, manually flip source and target if delta.z < 0\n float dir = step(deltaZ, 0.0);\n float z0 = mix(sourceZ, targetZ, dir);\n float r = mix(ratio, 1.0 - ratio, dir);\n return sqrt(r * (p2 - r)) * dh + z0;\n}\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nfloat getSegmentRatio(float index) {\n return smoothstep(0.0, 1.0, index / (numSegments - 1.0));\n}\n\nvec3 interpolateFlat(vec3 source, vec3 target, float segmentRatio) {\n float distance = length(source.xy - target.xy);\n float z = paraboloid(distance, source.z, target.z, segmentRatio);\n\n float tiltAngle = radians(instanceTilts);\n vec2 tiltDirection = normalize(target.xy - source.xy);\n vec2 tilt = vec2(-tiltDirection.y, tiltDirection.x) * z * sin(tiltAngle);\n\n return vec3(\n mix(source.xy, target.xy, segmentRatio) + tilt,\n z * cos(tiltAngle)\n );\n}\n\n/* Great circle interpolation\n * http://www.movable-type.co.uk/scripts/latlong.html\n */\nfloat getAngularDist (vec2 source, vec2 target) {\n vec2 sourceRadians = radians(source);\n vec2 targetRadians = radians(target);\n vec2 sin_half_delta = sin((sourceRadians - targetRadians) / 2.0);\n vec2 shd_sq = sin_half_delta * sin_half_delta;\n\n float a = shd_sq.y + cos(sourceRadians.y) * cos(targetRadians.y) * shd_sq.x;\n return 2.0 * asin(sqrt(a));\n}\n\nvec3 interpolateGreatCircle(vec3 source, vec3 target, vec3 source3D, vec3 target3D, float angularDist, float t) {\n vec2 lngLat;\n\n // if the angularDist is PI, linear interpolation is applied. otherwise, use spherical interpolation\n if(abs(angularDist - PI) < 0.001) {\n lngLat = (1.0 - t) * source.xy + t * target.xy;\n } else {\n float a = sin((1.0 - t) * angularDist);\n float b = sin(t * angularDist);\n vec3 p = source3D.yxz * a + target3D.yxz * b;\n lngLat = degrees(vec2(atan(p.y, -p.x), atan(p.z, length(p.xy))));\n }\n\n float z = paraboloid(angularDist * EARTH_RADIUS, source.z, target.z, t);\n\n return vec3(lngLat, z);\n}\n\n/* END GREAT CIRCLE */\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n float segmentIndex = positions.x;\n float segmentRatio = getSegmentRatio(segmentIndex);\n float prevSegmentRatio = getSegmentRatio(max(0.0, segmentIndex - 1.0));\n float nextSegmentRatio = getSegmentRatio(min(numSegments - 1.0, segmentIndex + 1.0));\n\n // if it's the first point, use next - current as direction\n // otherwise use current - prev\n float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0));\n isValid = 1.0;\n\n uv = vec2(segmentRatio, positions.y);\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n vec4 curr;\n vec4 next;\n vec3 source;\n vec3 target;\n\n if ((greatCircle || project_uProjectionMode == PROJECTION_MODE_GLOBE) && project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n source = project_globe_(vec3(instanceSourcePositions.xy, 0.0));\n target = project_globe_(vec3(instanceTargetPositions.xy, 0.0));\n float angularDist = getAngularDist(instanceSourcePositions.xy, instanceTargetPositions.xy);\n\n vec3 prevPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, prevSegmentRatio);\n vec3 currPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, segmentRatio);\n vec3 nextPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, nextSegmentRatio);\n\n if (abs(currPos.x - prevPos.x) > 180.0) {\n indexDir = -1.0;\n isValid = 0.0;\n } else if (abs(currPos.x - nextPos.x) > 180.0) {\n indexDir = 1.0;\n isValid = 0.0;\n }\n nextPos = indexDir < 0.0 ? prevPos : nextPos;\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n\n if (isValid == 0.0) {\n // split at the 180th meridian\n nextPos.x += nextPos.x > 0.0 ? -360.0 : 360.0;\n float t = ((currPos.x > 0.0 ? 180.0 : -180.0) - currPos.x) / (nextPos.x - currPos.x);\n currPos = mix(currPos, nextPos, t);\n segmentRatio = mix(segmentRatio, nextSegmentRatio, t);\n }\n\n vec3 currPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, segmentRatio);\n vec3 nextPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, nextSegmentRatio);\n \n curr = project_position_to_clipspace(currPos, currPos64Low, vec3(0.0), geometry.position);\n next = project_position_to_clipspace(nextPos, nextPos64Low, vec3(0.0));\n \n } else {\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n if (useShortestPath) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n\n float deltaLng = target_world.x - source_world.x;\n if (deltaLng > 180.) target_world.x -= 360.;\n if (deltaLng < -180.) source_world.x -= 360.;\n }\n source = project_position(source_world, instanceSourcePositions64Low);\n target = project_position(target_world, instanceTargetPositions64Low);\n\n // common x at longitude=-180\n float antiMeridianX = 0.0;\n\n if (useShortestPath) {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n antiMeridianX = -(project_uCoordinateOrigin.x + 180.) / 360. * TILE_SIZE;\n }\n float thresholdRatio = (antiMeridianX - source.x) / (target.x - source.x);\n\n if (prevSegmentRatio <= thresholdRatio && nextSegmentRatio > thresholdRatio) {\n isValid = 0.0;\n indexDir = sign(segmentRatio - thresholdRatio);\n segmentRatio = thresholdRatio;\n }\n }\n\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n vec3 currPos = interpolateFlat(source, target, segmentRatio);\n vec3 nextPos = interpolateFlat(source, target, nextSegmentRatio);\n\n if (useShortestPath) {\n if (nextPos.x < antiMeridianX) {\n currPos.x += TILE_SIZE;\n nextPos.x += TILE_SIZE;\n }\n }\n\n curr = project_common_position_to_clipspace(vec4(currPos, 1.0));\n next = project_common_position_to_clipspace(vec4(nextPos, 1.0));\n geometry.position = vec4(currPos, 1.0);\n }\n\n // Multiply out width and clamp to limits\n // mercator pixels are interpreted as screen pixels\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset((next.xy - curr.xy) * indexDir, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = curr + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n vec4 color = mix(instanceSourceColors, instanceTargetColors, segmentRatio);\n vColor = vec4(color.rgb, color.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
50056
49961
  const fs$j = "#define SHADER_NAME arc-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nvoid main(void) {\n if (isValid == 0.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n geometry.uv = uv;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
50057
49962
  const DEFAULT_COLOR$a = [0, 0, 0, 255];
@@ -50105,7 +50010,7 @@ const defaultProps$J = {
50105
50010
  class ArcLayer extends Layer {
50106
50011
  constructor(...args) {
50107
50012
  super(...args);
50108
- _defineProperty$f(this, "state", void 0);
50013
+ _defineProperty$e(this, "state", void 0);
50109
50014
  }
50110
50015
  getShaders() {
50111
50016
  return super.getShaders({
@@ -50225,8 +50130,8 @@ class ArcLayer extends Layer {
50225
50130
  return model;
50226
50131
  }
50227
50132
  }
50228
- _defineProperty$f(ArcLayer, "layerName", "ArcLayer");
50229
- _defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
50133
+ _defineProperty$e(ArcLayer, "layerName", "ArcLayer");
50134
+ _defineProperty$e(ArcLayer, "defaultProps", defaultProps$J);
50230
50135
  const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
50231
50136
  const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
50232
50137
  function createMesh(bounds2, resolution) {
@@ -50321,7 +50226,7 @@ const defaultProps$I = {
50321
50226
  let BitmapLayer$1 = class BitmapLayer extends Layer {
50322
50227
  constructor(...args) {
50323
50228
  super(...args);
50324
- _defineProperty$f(this, "state", void 0);
50229
+ _defineProperty$e(this, "state", void 0);
50325
50230
  }
50326
50231
  getShaders() {
50327
50232
  return super.getShaders({
@@ -50523,8 +50428,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
50523
50428
  };
50524
50429
  }
50525
50430
  };
50526
- _defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
50527
- _defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
50431
+ _defineProperty$e(BitmapLayer$1, "layerName", "BitmapLayer");
50432
+ _defineProperty$e(BitmapLayer$1, "defaultProps", defaultProps$I);
50528
50433
  function unpackUVsFromRGB(color) {
50529
50434
  const [u, v, fracUV] = color;
50530
50435
  const vFrac = (fracUV & 240) / 256;
@@ -50672,23 +50577,23 @@ class IconManager {
50672
50577
  onUpdate = noop$1,
50673
50578
  onError = noop$1
50674
50579
  }) {
50675
- _defineProperty$f(this, "gl", void 0);
50676
- _defineProperty$f(this, "onUpdate", void 0);
50677
- _defineProperty$f(this, "onError", void 0);
50678
- _defineProperty$f(this, "_loadOptions", null);
50679
- _defineProperty$f(this, "_texture", null);
50680
- _defineProperty$f(this, "_externalTexture", null);
50681
- _defineProperty$f(this, "_mapping", {});
50682
- _defineProperty$f(this, "_textureParameters", null);
50683
- _defineProperty$f(this, "_pendingCount", 0);
50684
- _defineProperty$f(this, "_autoPacking", false);
50685
- _defineProperty$f(this, "_xOffset", 0);
50686
- _defineProperty$f(this, "_yOffset", 0);
50687
- _defineProperty$f(this, "_rowHeight", 0);
50688
- _defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
50689
- _defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
50690
- _defineProperty$f(this, "_canvasHeight", 0);
50691
- _defineProperty$f(this, "_canvas", null);
50580
+ _defineProperty$e(this, "gl", void 0);
50581
+ _defineProperty$e(this, "onUpdate", void 0);
50582
+ _defineProperty$e(this, "onError", void 0);
50583
+ _defineProperty$e(this, "_loadOptions", null);
50584
+ _defineProperty$e(this, "_texture", null);
50585
+ _defineProperty$e(this, "_externalTexture", null);
50586
+ _defineProperty$e(this, "_mapping", {});
50587
+ _defineProperty$e(this, "_textureParameters", null);
50588
+ _defineProperty$e(this, "_pendingCount", 0);
50589
+ _defineProperty$e(this, "_autoPacking", false);
50590
+ _defineProperty$e(this, "_xOffset", 0);
50591
+ _defineProperty$e(this, "_yOffset", 0);
50592
+ _defineProperty$e(this, "_rowHeight", 0);
50593
+ _defineProperty$e(this, "_buffer", DEFAULT_BUFFER$1);
50594
+ _defineProperty$e(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
50595
+ _defineProperty$e(this, "_canvasHeight", 0);
50596
+ _defineProperty$e(this, "_canvas", null);
50692
50597
  this.gl = gl;
50693
50598
  this.onUpdate = onUpdate;
50694
50599
  this.onError = onError;
@@ -50879,7 +50784,7 @@ const defaultProps$H = {
50879
50784
  class IconLayer extends Layer {
50880
50785
  constructor(...args) {
50881
50786
  super(...args);
50882
- _defineProperty$f(this, "state", void 0);
50787
+ _defineProperty$e(this, "state", void 0);
50883
50788
  }
50884
50789
  getShaders() {
50885
50790
  return super.getShaders({
@@ -51076,8 +50981,8 @@ class IconLayer extends Layer {
51076
50981
  return [x2, y2, width, height];
51077
50982
  }
51078
50983
  }
51079
- _defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
51080
- _defineProperty$f(IconLayer, "layerName", "IconLayer");
50984
+ _defineProperty$e(IconLayer, "defaultProps", defaultProps$H);
50985
+ _defineProperty$e(IconLayer, "layerName", "IconLayer");
51081
50986
  const vs$e = "#define SHADER_NAME line-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\n\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float useShortestPath;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nvec3 splitLine(vec3 a, vec3 b, float x) {\n float t = (x - a.x) / (b.x - a.x);\n return vec3(x, mix(a.yz, b.yz, t));\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n vec3 source_world_64low = instanceSourcePositions64Low;\n vec3 target_world_64low = instanceTargetPositions64Low;\n\n if (useShortestPath > 0.5 || useShortestPath < -0.5) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n float deltaLng = target_world.x - source_world.x;\n\n if (deltaLng * useShortestPath > 180.) {\n source_world.x += 360. * useShortestPath;\n source_world = splitLine(source_world, target_world, 180. * useShortestPath);\n source_world_64low = vec3(0.0);\n } else if (deltaLng * useShortestPath < -180.) {\n target_world.x += 360. * useShortestPath;\n target_world = splitLine(source_world, target_world, 180. * useShortestPath);\n target_world_64low = vec3(0.0);\n } else if (useShortestPath < 0.) {\n // Line is not split, abort\n gl_Position = vec4(0.);\n return;\n }\n }\n\n // Position\n vec4 source_commonspace;\n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(source_world, source_world_64low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(target_world, target_world_64low, vec3(0.), target_commonspace);\n \n // linear interpolation of source & target to pick right coord\n float segmentIndex = positions.x;\n vec4 p = mix(source, target, segmentIndex);\n geometry.position = mix(source_commonspace, target_commonspace, segmentIndex);\n uv = positions.xy;\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n // Multiply out width and clamp to limits\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset(target.xy - source.xy, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = p + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Color\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
51082
50987
  const fs$g = "#define SHADER_NAME line-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
51083
50988
  const DEFAULT_COLOR$8 = [0, 0, 0, 255];
@@ -51209,8 +51114,8 @@ class LineLayer extends Layer {
51209
51114
  });
51210
51115
  }
51211
51116
  }
51212
- _defineProperty$f(LineLayer, "layerName", "LineLayer");
51213
- _defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
51117
+ _defineProperty$e(LineLayer, "layerName", "LineLayer");
51118
+ _defineProperty$e(LineLayer, "defaultProps", defaultProps$G);
51214
51119
  const vs$d = "#define SHADER_NAME point-cloud-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceNormals;\nattribute vec4 instanceColors;\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusPixels;\nuniform int sizeUnits;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.normal = project_normal(instanceNormals);\n\n // position on the containing square in [-1, 1] space\n unitPosition = positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n // Find the center of the point and add the current vertex\n vec3 offset = vec3(positions.xy * project_size_to_pixel(radiusPixels, sizeUnits), 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.), geometry.position);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply lighting\n vec3 lightColor = lighting_getLightColor(instanceColors.rgb, project_uCameraPosition, geometry.position.xyz, geometry.normal);\n\n // Apply opacity to instance color, or return instance picking color\n vColor = vec4(lightColor, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
51215
51120
  const fs$f = "#define SHADER_NAME point-cloud-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition);\n\n if (distToCenter > 1.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
51216
51121
  const DEFAULT_COLOR$7 = [0, 0, 0, 255];
@@ -51341,8 +51246,8 @@ class PointCloudLayer extends Layer {
51341
51246
  });
51342
51247
  }
51343
51248
  }
51344
- _defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
51345
- _defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
51249
+ _defineProperty$e(PointCloudLayer, "layerName", "PointCloudLayer");
51250
+ _defineProperty$e(PointCloudLayer, "defaultProps", defaultProps$F);
51346
51251
  const vs$c = "#define SHADER_NAME scatterplot-layer-vertex-shader\n\nattribute vec3 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceRadius;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusScale;\nuniform float radiusMinPixels;\nuniform float radiusMaxPixels;\nuniform float lineWidthScale;\nuniform float lineWidthMinPixels;\nuniform float lineWidthMaxPixels;\nuniform float stroked;\nuniform bool filled;\nuniform bool antialiasing;\nuniform bool billboard;\nuniform int radiusUnits;\nuniform int lineWidthUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n // Multiply out radius and clamp to limits\n outerRadiusPixels = clamp(\n project_size_to_pixel(radiusScale * instanceRadius, radiusUnits),\n radiusMinPixels, radiusMaxPixels\n );\n \n // Multiply out line width and clamp to limits\n float lineWidthPixels = clamp(\n project_size_to_pixel(lineWidthScale * instanceLineWidths, lineWidthUnits),\n lineWidthMinPixels, lineWidthMaxPixels\n );\n\n // outer radius needs to offset by half stroke width\n outerRadiusPixels += stroked * lineWidthPixels / 2.0;\n\n // Expand geometry to accomodate edge smoothing\n float edgePadding = antialiasing ? (outerRadiusPixels + SMOOTH_EDGE_RADIUS) / outerRadiusPixels : 1.0;\n\n // position on the containing square in [-1, 1] space\n unitPosition = edgePadding * positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n innerUnitRadius = 1.0 - stroked * lineWidthPixels / outerRadiusPixels;\n \n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n vec3 offset = edgePadding * positions * outerRadiusPixels;\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset = edgePadding * positions * project_pixel_size(outerRadiusPixels);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset, geometry.position);\n }\n\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply opacity to instance color, or return instance picking color\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n";
51347
51252
  const fs$e = "#define SHADER_NAME scatterplot-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool filled;\nuniform float stroked;\nuniform bool antialiasing;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition) * outerRadiusPixels;\n float inCircle = antialiasing ? \n smoothedge(distToCenter, outerRadiusPixels) : \n step(distToCenter, outerRadiusPixels);\n\n if (inCircle == 0.0) {\n discard;\n }\n\n if (stroked > 0.5) {\n float isLine = antialiasing ? \n smoothedge(innerUnitRadius * outerRadiusPixels, distToCenter) :\n step(innerUnitRadius * outerRadiusPixels, distToCenter);\n\n if (filled) {\n gl_FragColor = mix(vFillColor, vLineColor, isLine);\n } else {\n if (isLine == 0.0) {\n discard;\n }\n gl_FragColor = vec4(vLineColor.rgb, vLineColor.a * isLine);\n }\n } else if (filled) {\n gl_FragColor = vFillColor;\n } else {\n discard;\n }\n\n gl_FragColor.a *= inCircle;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
51348
51253
  const DEFAULT_COLOR$6 = [0, 0, 0, 255];
@@ -51523,8 +51428,8 @@ class ScatterplotLayer extends Layer {
51523
51428
  });
51524
51429
  }
51525
51430
  }
51526
- _defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
51527
- _defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
51431
+ _defineProperty$e(ScatterplotLayer, "defaultProps", defaultProps$E);
51432
+ _defineProperty$e(ScatterplotLayer, "layerName", "ScatterplotLayer");
51528
51433
  const WINDING = {
51529
51434
  CLOCKWISE: 1,
51530
51435
  COUNTER_CLOCKWISE: -1
@@ -52792,8 +52697,8 @@ class ColumnLayer extends Layer {
52792
52697
  }
52793
52698
  }
52794
52699
  }
52795
- _defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
52796
- _defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
52700
+ _defineProperty$e(ColumnLayer, "layerName", "ColumnLayer");
52701
+ _defineProperty$e(ColumnLayer, "defaultProps", defaultProps$D);
52797
52702
  const defaultProps$C = {
52798
52703
  cellSize: {
52799
52704
  type: "number",
@@ -52834,8 +52739,8 @@ class GridCellLayer extends ColumnLayer {
52834
52739
  }).draw();
52835
52740
  }
52836
52741
  }
52837
- _defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
52838
- _defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
52742
+ _defineProperty$e(GridCellLayer, "layerName", "GridCellLayer");
52743
+ _defineProperty$e(GridCellLayer, "defaultProps", defaultProps$C);
52839
52744
  function normalizePath(path, size, gridResolution, wrapLongitude) {
52840
52745
  let flatPath;
52841
52746
  if (Array.isArray(path[0])) {
@@ -53050,7 +52955,7 @@ const ATTRIBUTE_TRANSITION$1 = {
53050
52955
  class PathLayer extends Layer {
53051
52956
  constructor(...args) {
53052
52957
  super(...args);
53053
- _defineProperty$f(this, "state", void 0);
52958
+ _defineProperty$e(this, "state", void 0);
53054
52959
  }
53055
52960
  getShaders() {
53056
52961
  return super.getShaders({
@@ -53253,8 +53158,8 @@ class PathLayer extends Layer {
53253
53158
  attribute.value = pathTesselator.get("segmentTypes");
53254
53159
  }
53255
53160
  }
53256
- _defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
53257
- _defineProperty$f(PathLayer, "layerName", "PathLayer");
53161
+ _defineProperty$e(PathLayer, "defaultProps", defaultProps$B);
53162
+ _defineProperty$e(PathLayer, "layerName", "PathLayer");
53258
53163
  var earcut$2 = { exports: {} };
53259
53164
  earcut$2.exports = earcut;
53260
53165
  earcut$2.exports.default = earcut;
@@ -54064,7 +53969,7 @@ const ATTRIBUTE_TRANSITION = {
54064
53969
  class SolidPolygonLayer extends Layer {
54065
53970
  constructor(...args) {
54066
53971
  super(...args);
54067
- _defineProperty$f(this, "state", void 0);
53972
+ _defineProperty$e(this, "state", void 0);
54068
53973
  }
54069
53974
  getShaders(type2) {
54070
53975
  return super.getShaders({
@@ -54388,8 +54293,8 @@ class SolidPolygonLayer extends Layer {
54388
54293
  attribute.value = this.state.polygonTesselator.get("vertexValid");
54389
54294
  }
54390
54295
  }
54391
- _defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
54392
- _defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
54296
+ _defineProperty$e(SolidPolygonLayer, "defaultProps", defaultProps$A);
54297
+ _defineProperty$e(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
54393
54298
  function replaceInRange({
54394
54299
  data,
54395
54300
  getIndex,
@@ -54641,8 +54546,8 @@ class PolygonLayer extends CompositeLayer {
54641
54546
  return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
54642
54547
  }
54643
54548
  }
54644
- _defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
54645
- _defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
54549
+ _defineProperty$e(PolygonLayer, "layerName", "PolygonLayer");
54550
+ _defineProperty$e(PolygonLayer, "defaultProps", defaultProps$z);
54646
54551
  function binaryToFeatureForAccesor(data, index2) {
54647
54552
  if (!data) {
54648
54553
  return null;
@@ -54703,7 +54608,7 @@ const defaultProps$y = {
54703
54608
  class MultiIconLayer extends IconLayer {
54704
54609
  constructor(...args) {
54705
54610
  super(...args);
54706
- _defineProperty$f(this, "state", void 0);
54611
+ _defineProperty$e(this, "state", void 0);
54707
54612
  }
54708
54613
  getShaders() {
54709
54614
  return {
@@ -54778,8 +54683,8 @@ class MultiIconLayer extends IconLayer {
54778
54683
  return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
54779
54684
  }
54780
54685
  }
54781
- _defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
54782
- _defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
54686
+ _defineProperty$e(MultiIconLayer, "defaultProps", defaultProps$y);
54687
+ _defineProperty$e(MultiIconLayer, "layerName", "MultiIconLayer");
54783
54688
  var tinySdf = { exports: {} };
54784
54689
  tinySdf.exports = TinySDF;
54785
54690
  tinySdf.exports.default = TinySDF;
@@ -55147,9 +55052,9 @@ function getTextFromBuffer({
55147
55052
  }
55148
55053
  class LRUCache {
55149
55054
  constructor(limit = 5) {
55150
- _defineProperty$f(this, "limit", void 0);
55151
- _defineProperty$f(this, "_cache", {});
55152
- _defineProperty$f(this, "_order", []);
55055
+ _defineProperty$e(this, "limit", void 0);
55056
+ _defineProperty$e(this, "_cache", {});
55057
+ _defineProperty$e(this, "_order", []);
55153
55058
  this.limit = limit;
55154
55059
  }
55155
55060
  get(key) {
@@ -55248,11 +55153,11 @@ function setFontAtlasCacheLimit(limit) {
55248
55153
  }
55249
55154
  class FontAtlasManager {
55250
55155
  constructor() {
55251
- _defineProperty$f(this, "props", {
55156
+ _defineProperty$e(this, "props", {
55252
55157
  ...DEFAULT_FONT_SETTINGS
55253
55158
  });
55254
- _defineProperty$f(this, "_key", void 0);
55255
- _defineProperty$f(this, "_atlas", void 0);
55159
+ _defineProperty$e(this, "_key", void 0);
55160
+ _defineProperty$e(this, "_atlas", void 0);
55256
55161
  }
55257
55162
  get texture() {
55258
55163
  return this._atlas;
@@ -55404,7 +55309,7 @@ const defaultProps$x = {
55404
55309
  class TextBackgroundLayer extends Layer {
55405
55310
  constructor(...args) {
55406
55311
  super(...args);
55407
- _defineProperty$f(this, "state", void 0);
55312
+ _defineProperty$e(this, "state", void 0);
55408
55313
  }
55409
55314
  getShaders() {
55410
55315
  return super.getShaders({
@@ -55527,8 +55432,8 @@ class TextBackgroundLayer extends Layer {
55527
55432
  });
55528
55433
  }
55529
55434
  }
55530
- _defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
55531
- _defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
55435
+ _defineProperty$e(TextBackgroundLayer, "defaultProps", defaultProps$x);
55436
+ _defineProperty$e(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
55532
55437
  const TEXT_ANCHOR = {
55533
55438
  start: 1,
55534
55439
  middle: 0,
@@ -55625,8 +55530,8 @@ const defaultProps$w = {
55625
55530
  class TextLayer extends CompositeLayer {
55626
55531
  constructor(...args) {
55627
55532
  super(...args);
55628
- _defineProperty$f(this, "state", void 0);
55629
- _defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
55533
+ _defineProperty$e(this, "state", void 0);
55534
+ _defineProperty$e(this, "getBoundingRect", (object2, objectInfo) => {
55630
55535
  const iconMapping = this.state.fontAtlasManager.mapping;
55631
55536
  const getText = this.state.getText;
55632
55537
  const {
@@ -55644,7 +55549,7 @@ class TextLayer extends CompositeLayer {
55644
55549
  const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
55645
55550
  return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
55646
55551
  });
55647
- _defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
55552
+ _defineProperty$e(this, "getIconOffsets", (object2, objectInfo) => {
55648
55553
  const iconMapping = this.state.fontAtlasManager.mapping;
55649
55554
  const getText = this.state.getText;
55650
55555
  const {
@@ -55924,8 +55829,8 @@ class TextLayer extends CompositeLayer {
55924
55829
  setFontAtlasCacheLimit(limit);
55925
55830
  }
55926
55831
  }
55927
- _defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
55928
- _defineProperty$f(TextLayer, "layerName", "TextLayer");
55832
+ _defineProperty$e(TextLayer, "defaultProps", defaultProps$w);
55833
+ _defineProperty$e(TextLayer, "layerName", "TextLayer");
55929
55834
  const POINT_LAYER = {
55930
55835
  circle: {
55931
55836
  type: ScatterplotLayer,
@@ -56564,8 +56469,8 @@ class GeoJsonLayer extends CompositeLayer {
56564
56469
  };
56565
56470
  }
56566
56471
  }
56567
- _defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
56568
- _defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
56472
+ _defineProperty$e(GeoJsonLayer, "layerName", "GeoJsonLayer");
56473
+ _defineProperty$e(GeoJsonLayer, "defaultProps", defaultProps$v);
56569
56474
  const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
56570
56475
  __proto__: null,
56571
56476
  ArcLayer,
@@ -56593,8 +56498,8 @@ const defaultProps$u = {
56593
56498
  };
56594
56499
  class GreatCircleLayer extends ArcLayer {
56595
56500
  }
56596
- _defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
56597
- _defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
56501
+ _defineProperty$e(GreatCircleLayer, "layerName", "GreatCircleLayer");
56502
+ _defineProperty$e(GreatCircleLayer, "defaultProps", defaultProps$u);
56598
56503
  const defaultProps$t = {
56599
56504
  ...PolygonLayer.defaultProps
56600
56505
  };
@@ -56657,8 +56562,8 @@ class GeoCellLayer extends CompositeLayer {
56657
56562
  }), this.indexToBounds());
56658
56563
  }
56659
56564
  }
56660
- _defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
56661
- _defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
56565
+ _defineProperty$e(GeoCellLayer, "layerName", "GeoCellLayer");
56566
+ _defineProperty$e(GeoCellLayer, "defaultProps", defaultProps$t);
56662
56567
  var long = { exports: {} };
56663
56568
  (function(module2) {
56664
56569
  /**
@@ -57372,8 +57277,8 @@ class S2Layer extends GeoCellLayer {
57372
57277
  };
57373
57278
  }
57374
57279
  }
57375
- _defineProperty$f(S2Layer, "layerName", "S2Layer");
57376
- _defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
57280
+ _defineProperty$e(S2Layer, "layerName", "S2Layer");
57281
+ _defineProperty$e(S2Layer, "defaultProps", defaultProps$s);
57377
57282
  const TILE_SIZE$3 = 512;
57378
57283
  function quadkeyToWorldBounds(quadkey) {
57379
57284
  let x2 = 0;
@@ -57416,28 +57321,28 @@ class QuadkeyLayer extends GeoCellLayer {
57416
57321
  };
57417
57322
  }
57418
57323
  }
57419
- _defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
57420
- _defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
57324
+ _defineProperty$e(QuadkeyLayer, "layerName", "QuadkeyLayer");
57325
+ _defineProperty$e(QuadkeyLayer, "defaultProps", defaultProps$r);
57421
57326
  class Tile2DHeader {
57422
57327
  constructor(index2) {
57423
- _defineProperty$f(this, "index", void 0);
57424
- _defineProperty$f(this, "isVisible", void 0);
57425
- _defineProperty$f(this, "isSelected", void 0);
57426
- _defineProperty$f(this, "parent", void 0);
57427
- _defineProperty$f(this, "children", void 0);
57428
- _defineProperty$f(this, "content", void 0);
57429
- _defineProperty$f(this, "state", void 0);
57430
- _defineProperty$f(this, "layers", void 0);
57431
- _defineProperty$f(this, "id", void 0);
57432
- _defineProperty$f(this, "bbox", void 0);
57433
- _defineProperty$f(this, "zoom", void 0);
57434
- _defineProperty$f(this, "userData", void 0);
57435
- _defineProperty$f(this, "_abortController", void 0);
57436
- _defineProperty$f(this, "_loader", void 0);
57437
- _defineProperty$f(this, "_loaderId", void 0);
57438
- _defineProperty$f(this, "_isLoaded", void 0);
57439
- _defineProperty$f(this, "_isCancelled", void 0);
57440
- _defineProperty$f(this, "_needsReload", void 0);
57328
+ _defineProperty$e(this, "index", void 0);
57329
+ _defineProperty$e(this, "isVisible", void 0);
57330
+ _defineProperty$e(this, "isSelected", void 0);
57331
+ _defineProperty$e(this, "parent", void 0);
57332
+ _defineProperty$e(this, "children", void 0);
57333
+ _defineProperty$e(this, "content", void 0);
57334
+ _defineProperty$e(this, "state", void 0);
57335
+ _defineProperty$e(this, "layers", void 0);
57336
+ _defineProperty$e(this, "id", void 0);
57337
+ _defineProperty$e(this, "bbox", void 0);
57338
+ _defineProperty$e(this, "zoom", void 0);
57339
+ _defineProperty$e(this, "userData", void 0);
57340
+ _defineProperty$e(this, "_abortController", void 0);
57341
+ _defineProperty$e(this, "_loader", void 0);
57342
+ _defineProperty$e(this, "_loaderId", void 0);
57343
+ _defineProperty$e(this, "_isLoaded", void 0);
57344
+ _defineProperty$e(this, "_isCancelled", void 0);
57345
+ _defineProperty$e(this, "_needsReload", void 0);
57441
57346
  this.index = index2;
57442
57347
  this.isVisible = false;
57443
57348
  this.isSelected = false;
@@ -57565,10 +57470,10 @@ const scratchVector$6 = new Vector3();
57565
57470
  const scratchNormal$3 = new Vector3();
57566
57471
  class AxisAlignedBoundingBox {
57567
57472
  constructor(minimum = [0, 0, 0], maximum = [0, 0, 0], center2) {
57568
- _defineProperty$f(this, "center", void 0);
57569
- _defineProperty$f(this, "halfDiagonal", void 0);
57570
- _defineProperty$f(this, "minimum", void 0);
57571
- _defineProperty$f(this, "maximum", void 0);
57473
+ _defineProperty$e(this, "center", void 0);
57474
+ _defineProperty$e(this, "halfDiagonal", void 0);
57475
+ _defineProperty$e(this, "minimum", void 0);
57476
+ _defineProperty$e(this, "maximum", void 0);
57572
57477
  center2 = center2 || scratchVector$6.copy(minimum).add(maximum).scale(0.5);
57573
57478
  this.center = new Vector3(center2);
57574
57479
  this.halfDiagonal = new Vector3(maximum).subtract(this.center);
@@ -57632,8 +57537,8 @@ const scratchVector$5 = new Vector3();
57632
57537
  const scratchVector2$2 = new Vector3();
57633
57538
  class BoundingSphere {
57634
57539
  constructor(center2 = [0, 0, 0], radius = 0) {
57635
- _defineProperty$f(this, "center", void 0);
57636
- _defineProperty$f(this, "radius", void 0);
57540
+ _defineProperty$e(this, "center", void 0);
57541
+ _defineProperty$e(this, "radius", void 0);
57637
57542
  this.radius = -0;
57638
57543
  this.center = new Vector3();
57639
57544
  this.fromCenterRadius(center2, radius);
@@ -57731,8 +57636,8 @@ const MATRIX3 = {
57731
57636
  };
57732
57637
  class OrientedBoundingBox {
57733
57638
  constructor(center2 = [0, 0, 0], halfAxes = [0, 0, 0, 0, 0, 0, 0, 0, 0]) {
57734
- _defineProperty$f(this, "center", void 0);
57735
- _defineProperty$f(this, "halfAxes", void 0);
57639
+ _defineProperty$e(this, "center", void 0);
57640
+ _defineProperty$e(this, "halfAxes", void 0);
57736
57641
  this.center = new Vector3().from(center2);
57737
57642
  this.halfAxes = new Matrix3(halfAxes);
57738
57643
  }
@@ -57901,8 +57806,8 @@ const scratchPosition$2 = new Vector3();
57901
57806
  const scratchNormal$2 = new Vector3();
57902
57807
  class Plane {
57903
57808
  constructor(normal = [0, 0, 1], distance2 = 0) {
57904
- _defineProperty$f(this, "normal", void 0);
57905
- _defineProperty$f(this, "distance", void 0);
57809
+ _defineProperty$e(this, "normal", void 0);
57810
+ _defineProperty$e(this, "distance", void 0);
57906
57811
  this.normal = new Vector3();
57907
57812
  this.distance = -0;
57908
57813
  this.fromNormalDistance(normal, distance2);
@@ -57953,7 +57858,7 @@ const scratchPlaneNormal = new Vector3();
57953
57858
  new Plane(new Vector3(1, 0, 0), 0);
57954
57859
  class CullingVolume {
57955
57860
  constructor(planes = []) {
57956
- _defineProperty$f(this, "planes", void 0);
57861
+ _defineProperty$e(this, "planes", void 0);
57957
57862
  this.planes = planes;
57958
57863
  }
57959
57864
  fromBoundingSphere(boundingSphere) {
@@ -58018,9 +57923,9 @@ class CullingVolume {
58018
57923
  return mask2;
58019
57924
  }
58020
57925
  }
58021
- _defineProperty$f(CullingVolume, "MASK_OUTSIDE", 4294967295);
58022
- _defineProperty$f(CullingVolume, "MASK_INSIDE", 0);
58023
- _defineProperty$f(CullingVolume, "MASK_INDETERMINATE", 2147483647);
57926
+ _defineProperty$e(CullingVolume, "MASK_OUTSIDE", 4294967295);
57927
+ _defineProperty$e(CullingVolume, "MASK_INSIDE", 0);
57928
+ _defineProperty$e(CullingVolume, "MASK_INDETERMINATE", 2147483647);
58024
57929
  new Vector3();
58025
57930
  new Vector3();
58026
57931
  new Vector3();
@@ -58213,12 +58118,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
58213
58118
  const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
58214
58119
  class OSMNode {
58215
58120
  constructor(x2, y2, z) {
58216
- _defineProperty$f(this, "x", void 0);
58217
- _defineProperty$f(this, "y", void 0);
58218
- _defineProperty$f(this, "z", void 0);
58219
- _defineProperty$f(this, "childVisible", void 0);
58220
- _defineProperty$f(this, "selected", void 0);
58221
- _defineProperty$f(this, "_children", void 0);
58121
+ _defineProperty$e(this, "x", void 0);
58122
+ _defineProperty$e(this, "y", void 0);
58123
+ _defineProperty$e(this, "z", void 0);
58124
+ _defineProperty$e(this, "childVisible", void 0);
58125
+ _defineProperty$e(this, "selected", void 0);
58126
+ _defineProperty$e(this, "_children", void 0);
58222
58127
  this.x = x2;
58223
58128
  this.y = y2;
58224
58129
  this.z = z;
@@ -58561,22 +58466,22 @@ const STRATEGIES = {
58561
58466
  };
58562
58467
  class Tileset2D {
58563
58468
  constructor(opts) {
58564
- _defineProperty$f(this, "opts", void 0);
58565
- _defineProperty$f(this, "_requestScheduler", void 0);
58566
- _defineProperty$f(this, "_cache", void 0);
58567
- _defineProperty$f(this, "_dirty", void 0);
58568
- _defineProperty$f(this, "_tiles", void 0);
58569
- _defineProperty$f(this, "_cacheByteSize", void 0);
58570
- _defineProperty$f(this, "_viewport", void 0);
58571
- _defineProperty$f(this, "_zRange", void 0);
58572
- _defineProperty$f(this, "_selectedTiles", void 0);
58573
- _defineProperty$f(this, "_frameNumber", void 0);
58574
- _defineProperty$f(this, "_modelMatrix", void 0);
58575
- _defineProperty$f(this, "_modelMatrixInverse", void 0);
58576
- _defineProperty$f(this, "_maxZoom", void 0);
58577
- _defineProperty$f(this, "_minZoom", void 0);
58578
- _defineProperty$f(this, "onTileLoad", void 0);
58579
- _defineProperty$f(this, "_getCullBounds", memoize$1(getCullBounds));
58469
+ _defineProperty$e(this, "opts", void 0);
58470
+ _defineProperty$e(this, "_requestScheduler", void 0);
58471
+ _defineProperty$e(this, "_cache", void 0);
58472
+ _defineProperty$e(this, "_dirty", void 0);
58473
+ _defineProperty$e(this, "_tiles", void 0);
58474
+ _defineProperty$e(this, "_cacheByteSize", void 0);
58475
+ _defineProperty$e(this, "_viewport", void 0);
58476
+ _defineProperty$e(this, "_zRange", void 0);
58477
+ _defineProperty$e(this, "_selectedTiles", void 0);
58478
+ _defineProperty$e(this, "_frameNumber", void 0);
58479
+ _defineProperty$e(this, "_modelMatrix", void 0);
58480
+ _defineProperty$e(this, "_modelMatrixInverse", void 0);
58481
+ _defineProperty$e(this, "_maxZoom", void 0);
58482
+ _defineProperty$e(this, "_minZoom", void 0);
58483
+ _defineProperty$e(this, "onTileLoad", void 0);
58484
+ _defineProperty$e(this, "_getCullBounds", memoize$1(getCullBounds));
58580
58485
  this.opts = opts;
58581
58486
  this.onTileLoad = (tile) => {
58582
58487
  this.opts.onTileLoad(tile);
@@ -59202,8 +59107,8 @@ class TileLayer extends CompositeLayer {
59202
59107
  return this.state.tileset.isTileVisible(tile, cullRect);
59203
59108
  }
59204
59109
  }
59205
- _defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
59206
- _defineProperty$f(TileLayer, "layerName", "TileLayer");
59110
+ _defineProperty$e(TileLayer, "defaultProps", defaultProps$q);
59111
+ _defineProperty$e(TileLayer, "layerName", "TileLayer");
59207
59112
  const defaultProps$p = {
59208
59113
  fadeTrail: true,
59209
59114
  trailLength: {
@@ -59266,8 +59171,8 @@ class TripsLayer extends PathLayer {
59266
59171
  super.draw(params);
59267
59172
  }
59268
59173
  }
59269
- _defineProperty$f(TripsLayer, "layerName", "TripsLayer");
59270
- _defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
59174
+ _defineProperty$e(TripsLayer, "layerName", "TripsLayer");
59175
+ _defineProperty$e(TripsLayer, "defaultProps", defaultProps$p);
59271
59176
  var libh3 = function(libh32) {
59272
59177
  libh32 = libh32 || {};
59273
59178
  var Module = typeof libh32 !== "undefined" ? libh32 : {};
@@ -70826,8 +70731,8 @@ class H3ClusterLayer extends GeoCellLayer {
70826
70731
  };
70827
70732
  }
70828
70733
  }
70829
- _defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
70830
- _defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
70734
+ _defineProperty$e(H3ClusterLayer, "layerName", "H3ClusterLayer");
70735
+ _defineProperty$e(H3ClusterLayer, "defaultProps", defaultProps$o);
70831
70736
  const UPDATE_THRESHOLD_KM = 10;
70832
70737
  function normalizeLongitudes(vertices, refLng) {
70833
70738
  refLng = refLng === void 0 ? vertices[0][0] : refLng;
@@ -70909,7 +70814,7 @@ const defaultProps$n = {
70909
70814
  class H3HexagonLayer extends CompositeLayer {
70910
70815
  constructor(...args) {
70911
70816
  super(...args);
70912
- _defineProperty$f(this, "state", void 0);
70817
+ _defineProperty$e(this, "state", void 0);
70913
70818
  }
70914
70819
  initializeState() {
70915
70820
  H3HexagonLayer._checkH3Lib();
@@ -71110,9 +71015,9 @@ class H3HexagonLayer extends CompositeLayer {
71110
71015
  });
71111
71016
  }
71112
71017
  }
71113
- _defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
71114
- _defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
71115
- _defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
71018
+ _defineProperty$e(H3HexagonLayer, "defaultProps", defaultProps$n);
71019
+ _defineProperty$e(H3HexagonLayer, "layerName", "H3HexagonLayer");
71020
+ _defineProperty$e(H3HexagonLayer, "_checkH3Lib", () => {
71116
71021
  });
71117
71022
  const RADIAN_PER_DEGREE = Math.PI / 180;
71118
71023
  const modelMatrix = new Float32Array(16);
@@ -71331,7 +71236,7 @@ const defaultProps$m = {
71331
71236
  class SimpleMeshLayer extends Layer {
71332
71237
  constructor(...args) {
71333
71238
  super(...args);
71334
- _defineProperty$f(this, "state", void 0);
71239
+ _defineProperty$e(this, "state", void 0);
71335
71240
  }
71336
71241
  getShaders() {
71337
71242
  const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
@@ -71457,8 +71362,8 @@ class SimpleMeshLayer extends Layer {
71457
71362
  }
71458
71363
  }
71459
71364
  }
71460
- _defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
71461
- _defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
71365
+ _defineProperty$e(SimpleMeshLayer, "defaultProps", defaultProps$m);
71366
+ _defineProperty$e(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
71462
71367
  class ScenegraphNode {
71463
71368
  constructor() {
71464
71369
  let props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -72817,9 +72722,9 @@ const DEFAULT_GLTF_JSON = {
72817
72722
  };
72818
72723
  class GLTFScenegraph {
72819
72724
  constructor(gltf) {
72820
- _defineProperty$f(this, "gltf", void 0);
72821
- _defineProperty$f(this, "sourceBuffers", void 0);
72822
- _defineProperty$f(this, "byteLength", void 0);
72725
+ _defineProperty$e(this, "gltf", void 0);
72726
+ _defineProperty$e(this, "sourceBuffers", void 0);
72727
+ _defineProperty$e(this, "byteLength", void 0);
72823
72728
  this.gltf = gltf || {
72824
72729
  json: {
72825
72730
  ...DEFAULT_GLTF_JSON
@@ -73437,8 +73342,8 @@ function assert$2(condition, message) {
73437
73342
  }
73438
73343
  class Schema {
73439
73344
  constructor(fields, metadata) {
73440
- _defineProperty$f(this, "fields", void 0);
73441
- _defineProperty$f(this, "metadata", void 0);
73345
+ _defineProperty$e(this, "fields", void 0);
73346
+ _defineProperty$e(this, "metadata", void 0);
73442
73347
  assert$2(Array.isArray(fields));
73443
73348
  checkNames(fields);
73444
73349
  this.fields = fields;
@@ -73505,10 +73410,10 @@ function mergeMaps(m1, m2) {
73505
73410
  }
73506
73411
  class Field {
73507
73412
  constructor(name2, type2, nullable = false, metadata = /* @__PURE__ */ new Map()) {
73508
- _defineProperty$f(this, "name", void 0);
73509
- _defineProperty$f(this, "type", void 0);
73510
- _defineProperty$f(this, "nullable", void 0);
73511
- _defineProperty$f(this, "metadata", void 0);
73413
+ _defineProperty$e(this, "name", void 0);
73414
+ _defineProperty$e(this, "type", void 0);
73415
+ _defineProperty$e(this, "nullable", void 0);
73416
+ _defineProperty$e(this, "metadata", void 0);
73512
73417
  this.name = name2;
73513
73418
  this.type = type2;
73514
73419
  this.nullable = nullable;
@@ -73641,8 +73546,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
73641
73546
  class Int extends DataType {
73642
73547
  constructor(isSigned, bitWidth) {
73643
73548
  super();
73644
- _defineProperty$f(this, "isSigned", void 0);
73645
- _defineProperty$f(this, "bitWidth", void 0);
73549
+ _defineProperty$e(this, "isSigned", void 0);
73550
+ _defineProperty$e(this, "bitWidth", void 0);
73646
73551
  this.isSigned = isSigned;
73647
73552
  this.bitWidth = bitWidth;
73648
73553
  }
@@ -73695,7 +73600,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
73695
73600
  class Float extends DataType {
73696
73601
  constructor(precision) {
73697
73602
  super();
73698
- _defineProperty$f(this, "precision", void 0);
73603
+ _defineProperty$e(this, "precision", void 0);
73699
73604
  this.precision = precision;
73700
73605
  }
73701
73606
  get typeId() {
@@ -73722,8 +73627,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
73722
73627
  class FixedSizeList extends DataType {
73723
73628
  constructor(listSize, child) {
73724
73629
  super();
73725
- _defineProperty$f(this, "listSize", void 0);
73726
- _defineProperty$f(this, "children", void 0);
73630
+ _defineProperty$e(this, "listSize", void 0);
73631
+ _defineProperty$e(this, "children", void 0);
73727
73632
  this.listSize = listSize;
73728
73633
  this.children = [child];
73729
73634
  }
@@ -73837,9 +73742,9 @@ const DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP = {
73837
73742
  const INDEX_ITEM_SIZE = 4;
73838
73743
  class DracoParser {
73839
73744
  constructor(draco) {
73840
- _defineProperty$f(this, "draco", void 0);
73841
- _defineProperty$f(this, "decoder", void 0);
73842
- _defineProperty$f(this, "metadataQuerier", void 0);
73745
+ _defineProperty$e(this, "draco", void 0);
73746
+ _defineProperty$e(this, "decoder", void 0);
73747
+ _defineProperty$e(this, "metadataQuerier", void 0);
73843
73748
  this.draco = draco;
73844
73749
  this.decoder = new this.draco.Decoder();
73845
73750
  this.metadataQuerier = new this.draco.MetadataQuerier();
@@ -74619,7 +74524,7 @@ const GLTF_KEYS = {
74619
74524
  };
74620
74525
  class GLTFV1Normalizer {
74621
74526
  constructor() {
74622
- _defineProperty$f(this, "idToIndexMap", {
74527
+ _defineProperty$e(this, "idToIndexMap", {
74623
74528
  animations: {},
74624
74529
  accessors: {},
74625
74530
  buffers: {},
@@ -74633,7 +74538,7 @@ class GLTFV1Normalizer {
74633
74538
  skins: {},
74634
74539
  textures: {}
74635
74540
  });
74636
- _defineProperty$f(this, "json", void 0);
74541
+ _defineProperty$e(this, "json", void 0);
74637
74542
  }
74638
74543
  normalize(gltf, options) {
74639
74544
  this.json = gltf.json;
@@ -74835,10 +74740,10 @@ function getSizeFromAccessorType(type2) {
74835
74740
  }
74836
74741
  class GLTFPostProcessor {
74837
74742
  constructor() {
74838
- _defineProperty$f(this, "baseUri", "");
74839
- _defineProperty$f(this, "json", {});
74840
- _defineProperty$f(this, "buffers", []);
74841
- _defineProperty$f(this, "images", []);
74743
+ _defineProperty$e(this, "baseUri", "");
74744
+ _defineProperty$e(this, "json", {});
74745
+ _defineProperty$e(this, "buffers", []);
74746
+ _defineProperty$e(this, "images", []);
74842
74747
  }
74843
74748
  postProcess(gltf, options = {}) {
74844
74749
  const {
@@ -75493,7 +75398,7 @@ const defaultProps$l = {
75493
75398
  class ScenegraphLayer extends Layer {
75494
75399
  constructor(...args) {
75495
75400
  super(...args);
75496
- _defineProperty$f(this, "state", void 0);
75401
+ _defineProperty$e(this, "state", void 0);
75497
75402
  }
75498
75403
  getShaders() {
75499
75404
  const modules = [project32, picking];
@@ -75708,8 +75613,8 @@ class ScenegraphLayer extends Layer {
75708
75613
  });
75709
75614
  }
75710
75615
  }
75711
- _defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
75712
- _defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
75616
+ _defineProperty$e(ScenegraphLayer, "defaultProps", defaultProps$l);
75617
+ _defineProperty$e(ScenegraphLayer, "layerName", "ScenegraphLayer");
75713
75618
  const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75714
75619
  __proto__: null,
75715
75620
  ScenegraphLayer,
@@ -75868,8 +75773,8 @@ class MeshLayer extends SimpleMeshLayer {
75868
75773
  });
75869
75774
  }
75870
75775
  }
75871
- _defineProperty$f(MeshLayer, "layerName", "MeshLayer");
75872
- _defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
75776
+ _defineProperty$e(MeshLayer, "layerName", "MeshLayer");
75777
+ _defineProperty$e(MeshLayer, "defaultProps", defaultProps$k);
75873
75778
  const WGS84_RADIUS_X$1 = 6378137;
75874
75779
  const WGS84_RADIUS_Y$1 = 6378137;
75875
75780
  const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
@@ -76101,15 +76006,15 @@ const scratchHeight = new Vector3();
76101
76006
  const scratchCartesian = new Vector3();
76102
76007
  class Ellipsoid {
76103
76008
  constructor(x2 = 0, y2 = 0, z = 0) {
76104
- _defineProperty$f(this, "radii", void 0);
76105
- _defineProperty$f(this, "radiiSquared", void 0);
76106
- _defineProperty$f(this, "radiiToTheFourth", void 0);
76107
- _defineProperty$f(this, "oneOverRadii", void 0);
76108
- _defineProperty$f(this, "oneOverRadiiSquared", void 0);
76109
- _defineProperty$f(this, "minimumRadius", void 0);
76110
- _defineProperty$f(this, "maximumRadius", void 0);
76111
- _defineProperty$f(this, "centerToleranceSquared", _MathUtils.EPSILON1);
76112
- _defineProperty$f(this, "squaredXOverSquaredZ", void 0);
76009
+ _defineProperty$e(this, "radii", void 0);
76010
+ _defineProperty$e(this, "radiiSquared", void 0);
76011
+ _defineProperty$e(this, "radiiToTheFourth", void 0);
76012
+ _defineProperty$e(this, "oneOverRadii", void 0);
76013
+ _defineProperty$e(this, "oneOverRadiiSquared", void 0);
76014
+ _defineProperty$e(this, "minimumRadius", void 0);
76015
+ _defineProperty$e(this, "maximumRadius", void 0);
76016
+ _defineProperty$e(this, "centerToleranceSquared", _MathUtils.EPSILON1);
76017
+ _defineProperty$e(this, "squaredXOverSquaredZ", void 0);
76113
76018
  assert$c(x2 >= 0);
76114
76019
  assert$c(y2 >= 0);
76115
76020
  assert$c(z >= 0);
@@ -76206,12 +76111,12 @@ class Ellipsoid {
76206
76111
  return scratchPosition$1.set(0, 0, z).to(result);
76207
76112
  }
76208
76113
  }
76209
- _defineProperty$f(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
76114
+ _defineProperty$e(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
76210
76115
  class DoublyLinkedListNode {
76211
76116
  constructor(item, previous, next) {
76212
- _defineProperty$f(this, "item", void 0);
76213
- _defineProperty$f(this, "previous", void 0);
76214
- _defineProperty$f(this, "next", void 0);
76117
+ _defineProperty$e(this, "item", void 0);
76118
+ _defineProperty$e(this, "previous", void 0);
76119
+ _defineProperty$e(this, "next", void 0);
76215
76120
  this.item = item;
76216
76121
  this.previous = previous;
76217
76122
  this.next = next;
@@ -76219,9 +76124,9 @@ class DoublyLinkedListNode {
76219
76124
  }
76220
76125
  class DoublyLinkedList {
76221
76126
  constructor() {
76222
- _defineProperty$f(this, "head", null);
76223
- _defineProperty$f(this, "tail", null);
76224
- _defineProperty$f(this, "_length", 0);
76127
+ _defineProperty$e(this, "head", null);
76128
+ _defineProperty$e(this, "tail", null);
76129
+ _defineProperty$e(this, "_length", 0);
76225
76130
  }
76226
76131
  get length() {
76227
76132
  return this._length;
@@ -76284,9 +76189,9 @@ function defined$4(x2) {
76284
76189
  }
76285
76190
  class TilesetCache {
76286
76191
  constructor() {
76287
- _defineProperty$f(this, "_list", void 0);
76288
- _defineProperty$f(this, "_sentinel", void 0);
76289
- _defineProperty$f(this, "_trimTiles", void 0);
76192
+ _defineProperty$e(this, "_list", void 0);
76193
+ _defineProperty$e(this, "_sentinel", void 0);
76194
+ _defineProperty$e(this, "_trimTiles", void 0);
76290
76195
  this._list = new DoublyLinkedList();
76291
76196
  this._sentinel = this._list.add("sentinel");
76292
76197
  this._trimTiles = false;
@@ -76729,9 +76634,9 @@ function get3dTilesOptions(tileset) {
76729
76634
  }
76730
76635
  class ManagedArray {
76731
76636
  constructor(length2 = 0) {
76732
- _defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
76733
- _defineProperty$f(this, "_array", void 0);
76734
- _defineProperty$f(this, "_length", void 0);
76637
+ _defineProperty$e(this, "_map", /* @__PURE__ */ new Map());
76638
+ _defineProperty$e(this, "_array", void 0);
76639
+ _defineProperty$e(this, "_length", void 0);
76735
76640
  this._array = new Array(length2);
76736
76641
  this._length = length2;
76737
76642
  }
@@ -76825,16 +76730,16 @@ class TilesetTraverser {
76825
76730
  return true;
76826
76731
  }
76827
76732
  constructor(options) {
76828
- _defineProperty$f(this, "options", void 0);
76829
- _defineProperty$f(this, "root", void 0);
76830
- _defineProperty$f(this, "requestedTiles", void 0);
76831
- _defineProperty$f(this, "selectedTiles", void 0);
76832
- _defineProperty$f(this, "emptyTiles", void 0);
76833
- _defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
76834
- _defineProperty$f(this, "updateDebounceTime", 1e3);
76835
- _defineProperty$f(this, "_traversalStack", void 0);
76836
- _defineProperty$f(this, "_emptyTraversalStack", void 0);
76837
- _defineProperty$f(this, "_frameNumber", void 0);
76733
+ _defineProperty$e(this, "options", void 0);
76734
+ _defineProperty$e(this, "root", void 0);
76735
+ _defineProperty$e(this, "requestedTiles", void 0);
76736
+ _defineProperty$e(this, "selectedTiles", void 0);
76737
+ _defineProperty$e(this, "emptyTiles", void 0);
76738
+ _defineProperty$e(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
76739
+ _defineProperty$e(this, "updateDebounceTime", 1e3);
76740
+ _defineProperty$e(this, "_traversalStack", void 0);
76741
+ _defineProperty$e(this, "_emptyTraversalStack", void 0);
76742
+ _defineProperty$e(this, "_frameNumber", void 0);
76838
76743
  this.options = {
76839
76744
  ...DEFAULT_PROPS$1,
76840
76745
  ...options
@@ -77055,52 +76960,52 @@ function defined$2(x2) {
77055
76960
  }
77056
76961
  class TileHeader {
77057
76962
  constructor(tileset, header, parentHeader, extendedId = "") {
77058
- _defineProperty$f(this, "tileset", void 0);
77059
- _defineProperty$f(this, "header", void 0);
77060
- _defineProperty$f(this, "id", void 0);
77061
- _defineProperty$f(this, "url", void 0);
77062
- _defineProperty$f(this, "parent", void 0);
77063
- _defineProperty$f(this, "refine", void 0);
77064
- _defineProperty$f(this, "type", void 0);
77065
- _defineProperty$f(this, "contentUrl", void 0);
77066
- _defineProperty$f(this, "lodMetricType", void 0);
77067
- _defineProperty$f(this, "lodMetricValue", void 0);
77068
- _defineProperty$f(this, "boundingVolume", void 0);
77069
- _defineProperty$f(this, "content", void 0);
77070
- _defineProperty$f(this, "contentState", void 0);
77071
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
77072
- _defineProperty$f(this, "children", void 0);
77073
- _defineProperty$f(this, "depth", void 0);
77074
- _defineProperty$f(this, "viewportIds", void 0);
77075
- _defineProperty$f(this, "transform", void 0);
77076
- _defineProperty$f(this, "extensions", void 0);
77077
- _defineProperty$f(this, "userData", void 0);
77078
- _defineProperty$f(this, "computedTransform", void 0);
77079
- _defineProperty$f(this, "hasEmptyContent", void 0);
77080
- _defineProperty$f(this, "hasTilesetContent", void 0);
77081
- _defineProperty$f(this, "traverser", void 0);
77082
- _defineProperty$f(this, "_cacheNode", void 0);
77083
- _defineProperty$f(this, "_frameNumber", void 0);
77084
- _defineProperty$f(this, "_lodJudge", void 0);
77085
- _defineProperty$f(this, "_expireDate", void 0);
77086
- _defineProperty$f(this, "_expiredContent", void 0);
77087
- _defineProperty$f(this, "_shouldRefine", void 0);
77088
- _defineProperty$f(this, "_distanceToCamera", void 0);
77089
- _defineProperty$f(this, "_centerZDepth", void 0);
77090
- _defineProperty$f(this, "_screenSpaceError", void 0);
77091
- _defineProperty$f(this, "_visibilityPlaneMask", void 0);
77092
- _defineProperty$f(this, "_visible", void 0);
77093
- _defineProperty$f(this, "_inRequestVolume", void 0);
77094
- _defineProperty$f(this, "_stackLength", void 0);
77095
- _defineProperty$f(this, "_selectionDepth", void 0);
77096
- _defineProperty$f(this, "_touchedFrame", void 0);
77097
- _defineProperty$f(this, "_visitedFrame", void 0);
77098
- _defineProperty$f(this, "_selectedFrame", void 0);
77099
- _defineProperty$f(this, "_requestedFrame", void 0);
77100
- _defineProperty$f(this, "_priority", void 0);
77101
- _defineProperty$f(this, "_contentBoundingVolume", void 0);
77102
- _defineProperty$f(this, "_viewerRequestVolume", void 0);
77103
- _defineProperty$f(this, "_initialTransform", void 0);
76963
+ _defineProperty$e(this, "tileset", void 0);
76964
+ _defineProperty$e(this, "header", void 0);
76965
+ _defineProperty$e(this, "id", void 0);
76966
+ _defineProperty$e(this, "url", void 0);
76967
+ _defineProperty$e(this, "parent", void 0);
76968
+ _defineProperty$e(this, "refine", void 0);
76969
+ _defineProperty$e(this, "type", void 0);
76970
+ _defineProperty$e(this, "contentUrl", void 0);
76971
+ _defineProperty$e(this, "lodMetricType", void 0);
76972
+ _defineProperty$e(this, "lodMetricValue", void 0);
76973
+ _defineProperty$e(this, "boundingVolume", void 0);
76974
+ _defineProperty$e(this, "content", void 0);
76975
+ _defineProperty$e(this, "contentState", void 0);
76976
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
76977
+ _defineProperty$e(this, "children", void 0);
76978
+ _defineProperty$e(this, "depth", void 0);
76979
+ _defineProperty$e(this, "viewportIds", void 0);
76980
+ _defineProperty$e(this, "transform", void 0);
76981
+ _defineProperty$e(this, "extensions", void 0);
76982
+ _defineProperty$e(this, "userData", void 0);
76983
+ _defineProperty$e(this, "computedTransform", void 0);
76984
+ _defineProperty$e(this, "hasEmptyContent", void 0);
76985
+ _defineProperty$e(this, "hasTilesetContent", void 0);
76986
+ _defineProperty$e(this, "traverser", void 0);
76987
+ _defineProperty$e(this, "_cacheNode", void 0);
76988
+ _defineProperty$e(this, "_frameNumber", void 0);
76989
+ _defineProperty$e(this, "_lodJudge", void 0);
76990
+ _defineProperty$e(this, "_expireDate", void 0);
76991
+ _defineProperty$e(this, "_expiredContent", void 0);
76992
+ _defineProperty$e(this, "_shouldRefine", void 0);
76993
+ _defineProperty$e(this, "_distanceToCamera", void 0);
76994
+ _defineProperty$e(this, "_centerZDepth", void 0);
76995
+ _defineProperty$e(this, "_screenSpaceError", void 0);
76996
+ _defineProperty$e(this, "_visibilityPlaneMask", void 0);
76997
+ _defineProperty$e(this, "_visible", void 0);
76998
+ _defineProperty$e(this, "_inRequestVolume", void 0);
76999
+ _defineProperty$e(this, "_stackLength", void 0);
77000
+ _defineProperty$e(this, "_selectionDepth", void 0);
77001
+ _defineProperty$e(this, "_touchedFrame", void 0);
77002
+ _defineProperty$e(this, "_visitedFrame", void 0);
77003
+ _defineProperty$e(this, "_selectedFrame", void 0);
77004
+ _defineProperty$e(this, "_requestedFrame", void 0);
77005
+ _defineProperty$e(this, "_priority", void 0);
77006
+ _defineProperty$e(this, "_contentBoundingVolume", void 0);
77007
+ _defineProperty$e(this, "_viewerRequestVolume", void 0);
77008
+ _defineProperty$e(this, "_initialTransform", void 0);
77104
77009
  this.header = header;
77105
77010
  this.tileset = tileset;
77106
77011
  this.id = extendedId || header.id;
@@ -77493,7 +77398,7 @@ class Tileset3DTraverser extends TilesetTraverser {
77493
77398
  }
77494
77399
  class I3SPendingTilesRegister {
77495
77400
  constructor() {
77496
- _defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
77401
+ _defineProperty$e(this, "frameNumberMap", /* @__PURE__ */ new Map());
77497
77402
  }
77498
77403
  register(viewportId, frameNumber) {
77499
77404
  const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
@@ -77522,8 +77427,8 @@ const STATUS = {
77522
77427
  };
77523
77428
  class I3STileManager {
77524
77429
  constructor() {
77525
- _defineProperty$f(this, "_statusMap", void 0);
77526
- _defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
77430
+ _defineProperty$e(this, "_statusMap", void 0);
77431
+ _defineProperty$e(this, "pendingTilesRegister", new I3SPendingTilesRegister());
77527
77432
  this._statusMap = {};
77528
77433
  }
77529
77434
  add(request, key, callback, frameState) {
@@ -77597,7 +77502,7 @@ class I3STilesetTraverser extends TilesetTraverser {
77597
77502
  }
77598
77503
  constructor(options) {
77599
77504
  super(options);
77600
- _defineProperty$f(this, "_tileManager", void 0);
77505
+ _defineProperty$e(this, "_tileManager", void 0);
77601
77506
  this._tileManager = new I3STileManager();
77602
77507
  }
77603
77508
  shouldRefine(tile, frameState) {
@@ -77694,52 +77599,52 @@ const POINTS_COUNT = "Points/Vertices";
77694
77599
  const TILES_GPU_MEMORY = "Tile Memory Use";
77695
77600
  class Tileset3D {
77696
77601
  constructor(json, options) {
77697
- _defineProperty$f(this, "options", void 0);
77698
- _defineProperty$f(this, "loadOptions", void 0);
77699
- _defineProperty$f(this, "type", void 0);
77700
- _defineProperty$f(this, "tileset", void 0);
77701
- _defineProperty$f(this, "loader", void 0);
77702
- _defineProperty$f(this, "url", void 0);
77703
- _defineProperty$f(this, "basePath", void 0);
77704
- _defineProperty$f(this, "modelMatrix", void 0);
77705
- _defineProperty$f(this, "ellipsoid", void 0);
77706
- _defineProperty$f(this, "lodMetricType", void 0);
77707
- _defineProperty$f(this, "lodMetricValue", void 0);
77708
- _defineProperty$f(this, "refine", void 0);
77709
- _defineProperty$f(this, "root", void 0);
77710
- _defineProperty$f(this, "roots", void 0);
77711
- _defineProperty$f(this, "asset", void 0);
77712
- _defineProperty$f(this, "description", void 0);
77713
- _defineProperty$f(this, "properties", void 0);
77714
- _defineProperty$f(this, "extras", void 0);
77715
- _defineProperty$f(this, "attributions", void 0);
77716
- _defineProperty$f(this, "credits", void 0);
77717
- _defineProperty$f(this, "stats", void 0);
77718
- _defineProperty$f(this, "traverseCounter", void 0);
77719
- _defineProperty$f(this, "geometricError", void 0);
77720
- _defineProperty$f(this, "selectedTiles", void 0);
77721
- _defineProperty$f(this, "updatePromise", null);
77722
- _defineProperty$f(this, "tilesetInitializationPromise", void 0);
77723
- _defineProperty$f(this, "cartographicCenter", void 0);
77724
- _defineProperty$f(this, "cartesianCenter", void 0);
77725
- _defineProperty$f(this, "zoom", void 0);
77726
- _defineProperty$f(this, "boundingVolume", void 0);
77727
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
77728
- _defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
77729
- _defineProperty$f(this, "_traverser", void 0);
77730
- _defineProperty$f(this, "_cache", void 0);
77731
- _defineProperty$f(this, "_requestScheduler", void 0);
77732
- _defineProperty$f(this, "_frameNumber", void 0);
77733
- _defineProperty$f(this, "_queryParamsString", void 0);
77734
- _defineProperty$f(this, "_queryParams", void 0);
77735
- _defineProperty$f(this, "_extensionsUsed", void 0);
77736
- _defineProperty$f(this, "_tiles", void 0);
77737
- _defineProperty$f(this, "_pendingCount", void 0);
77738
- _defineProperty$f(this, "lastUpdatedVieports", void 0);
77739
- _defineProperty$f(this, "_requestedTiles", void 0);
77740
- _defineProperty$f(this, "_emptyTiles", void 0);
77741
- _defineProperty$f(this, "frameStateData", void 0);
77742
- _defineProperty$f(this, "maximumMemoryUsage", void 0);
77602
+ _defineProperty$e(this, "options", void 0);
77603
+ _defineProperty$e(this, "loadOptions", void 0);
77604
+ _defineProperty$e(this, "type", void 0);
77605
+ _defineProperty$e(this, "tileset", void 0);
77606
+ _defineProperty$e(this, "loader", void 0);
77607
+ _defineProperty$e(this, "url", void 0);
77608
+ _defineProperty$e(this, "basePath", void 0);
77609
+ _defineProperty$e(this, "modelMatrix", void 0);
77610
+ _defineProperty$e(this, "ellipsoid", void 0);
77611
+ _defineProperty$e(this, "lodMetricType", void 0);
77612
+ _defineProperty$e(this, "lodMetricValue", void 0);
77613
+ _defineProperty$e(this, "refine", void 0);
77614
+ _defineProperty$e(this, "root", void 0);
77615
+ _defineProperty$e(this, "roots", void 0);
77616
+ _defineProperty$e(this, "asset", void 0);
77617
+ _defineProperty$e(this, "description", void 0);
77618
+ _defineProperty$e(this, "properties", void 0);
77619
+ _defineProperty$e(this, "extras", void 0);
77620
+ _defineProperty$e(this, "attributions", void 0);
77621
+ _defineProperty$e(this, "credits", void 0);
77622
+ _defineProperty$e(this, "stats", void 0);
77623
+ _defineProperty$e(this, "traverseCounter", void 0);
77624
+ _defineProperty$e(this, "geometricError", void 0);
77625
+ _defineProperty$e(this, "selectedTiles", void 0);
77626
+ _defineProperty$e(this, "updatePromise", null);
77627
+ _defineProperty$e(this, "tilesetInitializationPromise", void 0);
77628
+ _defineProperty$e(this, "cartographicCenter", void 0);
77629
+ _defineProperty$e(this, "cartesianCenter", void 0);
77630
+ _defineProperty$e(this, "zoom", void 0);
77631
+ _defineProperty$e(this, "boundingVolume", void 0);
77632
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
77633
+ _defineProperty$e(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
77634
+ _defineProperty$e(this, "_traverser", void 0);
77635
+ _defineProperty$e(this, "_cache", void 0);
77636
+ _defineProperty$e(this, "_requestScheduler", void 0);
77637
+ _defineProperty$e(this, "_frameNumber", void 0);
77638
+ _defineProperty$e(this, "_queryParamsString", void 0);
77639
+ _defineProperty$e(this, "_queryParams", void 0);
77640
+ _defineProperty$e(this, "_extensionsUsed", void 0);
77641
+ _defineProperty$e(this, "_tiles", void 0);
77642
+ _defineProperty$e(this, "_pendingCount", void 0);
77643
+ _defineProperty$e(this, "lastUpdatedVieports", void 0);
77644
+ _defineProperty$e(this, "_requestedTiles", void 0);
77645
+ _defineProperty$e(this, "_emptyTiles", void 0);
77646
+ _defineProperty$e(this, "frameStateData", void 0);
77647
+ _defineProperty$e(this, "maximumMemoryUsage", void 0);
77743
77648
  assert$b(json);
77744
77649
  this.options = {
77745
77650
  ...DEFAULT_PROPS,
@@ -78395,10 +78300,10 @@ function octDecode(x2, y2, result) {
78395
78300
  }
78396
78301
  class Tile3DFeatureTable {
78397
78302
  constructor(featureTableJson, featureTableBinary) {
78398
- _defineProperty$f(this, "json", void 0);
78399
- _defineProperty$f(this, "buffer", void 0);
78400
- _defineProperty$f(this, "featuresLength", 0);
78401
- _defineProperty$f(this, "_cachedTypedArrays", {});
78303
+ _defineProperty$e(this, "json", void 0);
78304
+ _defineProperty$e(this, "buffer", void 0);
78305
+ _defineProperty$e(this, "featuresLength", 0);
78306
+ _defineProperty$e(this, "_cachedTypedArrays", {});
78402
78307
  this.json = featureTableJson;
78403
78308
  this.buffer = featureTableBinary;
78404
78309
  }
@@ -78732,13 +78637,13 @@ const IGNORED_PROPERTY_FIELDS = {
78732
78637
  class Tile3DBatchTableParser {
78733
78638
  constructor(json, binary, featureCount, options = {}) {
78734
78639
  var _this$json;
78735
- _defineProperty$f(this, "json", void 0);
78736
- _defineProperty$f(this, "binary", void 0);
78737
- _defineProperty$f(this, "featureCount", void 0);
78738
- _defineProperty$f(this, "_extensions", void 0);
78739
- _defineProperty$f(this, "_properties", void 0);
78740
- _defineProperty$f(this, "_binaryProperties", void 0);
78741
- _defineProperty$f(this, "_hierarchy", void 0);
78640
+ _defineProperty$e(this, "json", void 0);
78641
+ _defineProperty$e(this, "binary", void 0);
78642
+ _defineProperty$e(this, "featureCount", void 0);
78643
+ _defineProperty$e(this, "_extensions", void 0);
78644
+ _defineProperty$e(this, "_properties", void 0);
78645
+ _defineProperty$e(this, "_binaryProperties", void 0);
78646
+ _defineProperty$e(this, "_hierarchy", void 0);
78742
78647
  assert$b(featureCount >= 0);
78743
78648
  this.json = json || {};
78744
78649
  this.binary = binary;
@@ -80083,7 +79988,7 @@ const defaultProps$j = {
80083
79988
  class Tile3DLayer extends CompositeLayer {
80084
79989
  constructor(...args) {
80085
79990
  super(...args);
80086
- _defineProperty$f(this, "state", void 0);
79991
+ _defineProperty$e(this, "state", void 0);
80087
79992
  }
80088
79993
  initializeState() {
80089
79994
  if ("onTileLoadFail" in this.props) {
@@ -80402,8 +80307,8 @@ class Tile3DLayer extends CompositeLayer {
80402
80307
  }).filter(Boolean);
80403
80308
  }
80404
80309
  }
80405
- _defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
80406
- _defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
80310
+ _defineProperty$e(Tile3DLayer, "defaultProps", defaultProps$j);
80311
+ _defineProperty$e(Tile3DLayer, "layerName", "Tile3DLayer");
80407
80312
  function getMeshGeometry(contentAttributes) {
80408
80313
  const attributes = {};
80409
80314
  attributes.positions = {
@@ -81233,7 +81138,7 @@ function urlTemplateToUpdateTrigger(template) {
81233
81138
  class TerrainLayer extends CompositeLayer {
81234
81139
  constructor(...args) {
81235
81140
  super(...args);
81236
- _defineProperty$f(this, "state", void 0);
81141
+ _defineProperty$e(this, "state", void 0);
81237
81142
  }
81238
81143
  updateState({
81239
81144
  props,
@@ -81448,8 +81353,8 @@ class TerrainLayer extends CompositeLayer {
81448
81353
  });
81449
81354
  }
81450
81355
  }
81451
- _defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
81452
- _defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
81356
+ _defineProperty$e(TerrainLayer, "defaultProps", defaultProps$i);
81357
+ _defineProperty$e(TerrainLayer, "layerName", "TerrainLayer");
81453
81358
  function flatGeojsonToBinary(features, geometryInfo, options) {
81454
81359
  const propArrayTypes = extractNumericPropTypes(features);
81455
81360
  const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
@@ -82739,14 +82644,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
82739
82644
  return ["Unknown", "Point", "LineString", "Polygon"];
82740
82645
  }
82741
82646
  constructor(pbf2, end, extent2, keys3, values2) {
82742
- _defineProperty$f(this, "properties", void 0);
82743
- _defineProperty$f(this, "extent", void 0);
82744
- _defineProperty$f(this, "type", void 0);
82745
- _defineProperty$f(this, "id", void 0);
82746
- _defineProperty$f(this, "_pbf", void 0);
82747
- _defineProperty$f(this, "_geometry", void 0);
82748
- _defineProperty$f(this, "_keys", void 0);
82749
- _defineProperty$f(this, "_values", void 0);
82647
+ _defineProperty$e(this, "properties", void 0);
82648
+ _defineProperty$e(this, "extent", void 0);
82649
+ _defineProperty$e(this, "type", void 0);
82650
+ _defineProperty$e(this, "id", void 0);
82651
+ _defineProperty$e(this, "_pbf", void 0);
82652
+ _defineProperty$e(this, "_geometry", void 0);
82653
+ _defineProperty$e(this, "_keys", void 0);
82654
+ _defineProperty$e(this, "_values", void 0);
82750
82655
  this.properties = {};
82751
82656
  this.extent = extent2;
82752
82657
  this.type = 0;
@@ -82903,14 +82808,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
82903
82808
  };
82904
82809
  let VectorTileLayer$1 = class VectorTileLayer {
82905
82810
  constructor(pbf2, end) {
82906
- _defineProperty$f(this, "version", void 0);
82907
- _defineProperty$f(this, "name", void 0);
82908
- _defineProperty$f(this, "extent", void 0);
82909
- _defineProperty$f(this, "length", void 0);
82910
- _defineProperty$f(this, "_pbf", void 0);
82911
- _defineProperty$f(this, "_keys", void 0);
82912
- _defineProperty$f(this, "_values", void 0);
82913
- _defineProperty$f(this, "_features", void 0);
82811
+ _defineProperty$e(this, "version", void 0);
82812
+ _defineProperty$e(this, "name", void 0);
82813
+ _defineProperty$e(this, "extent", void 0);
82814
+ _defineProperty$e(this, "length", void 0);
82815
+ _defineProperty$e(this, "_pbf", void 0);
82816
+ _defineProperty$e(this, "_keys", void 0);
82817
+ _defineProperty$e(this, "_values", void 0);
82818
+ _defineProperty$e(this, "_features", void 0);
82914
82819
  this.version = 1;
82915
82820
  this.name = "";
82916
82821
  this.extent = 4096;
@@ -82958,7 +82863,7 @@ function readValueMessage$1(pbf2) {
82958
82863
  }
82959
82864
  let VectorTile$1 = class VectorTile {
82960
82865
  constructor(pbf2, end) {
82961
- _defineProperty$f(this, "layers", void 0);
82866
+ _defineProperty$e(this, "layers", void 0);
82962
82867
  this.layers = pbf2.readFields(readTile$1, {}, end);
82963
82868
  }
82964
82869
  };
@@ -83062,15 +82967,15 @@ let y;
83062
82967
  let i$2;
83063
82968
  class VectorTileFeature2 {
83064
82969
  constructor(pbf2, end, extent2, keys3, values2, geometryInfo) {
83065
- _defineProperty$f(this, "properties", void 0);
83066
- _defineProperty$f(this, "extent", void 0);
83067
- _defineProperty$f(this, "type", void 0);
83068
- _defineProperty$f(this, "id", void 0);
83069
- _defineProperty$f(this, "_pbf", void 0);
83070
- _defineProperty$f(this, "_geometry", void 0);
83071
- _defineProperty$f(this, "_keys", void 0);
83072
- _defineProperty$f(this, "_values", void 0);
83073
- _defineProperty$f(this, "_geometryInfo", void 0);
82970
+ _defineProperty$e(this, "properties", void 0);
82971
+ _defineProperty$e(this, "extent", void 0);
82972
+ _defineProperty$e(this, "type", void 0);
82973
+ _defineProperty$e(this, "id", void 0);
82974
+ _defineProperty$e(this, "_pbf", void 0);
82975
+ _defineProperty$e(this, "_geometry", void 0);
82976
+ _defineProperty$e(this, "_keys", void 0);
82977
+ _defineProperty$e(this, "_values", void 0);
82978
+ _defineProperty$e(this, "_geometryInfo", void 0);
83074
82979
  this.properties = {};
83075
82980
  this.extent = extent2;
83076
82981
  this.type = 0;
@@ -83185,14 +83090,14 @@ class VectorTileFeature2 {
83185
83090
  }
83186
83091
  class VectorTileLayer2 {
83187
83092
  constructor(pbf2, end) {
83188
- _defineProperty$f(this, "version", void 0);
83189
- _defineProperty$f(this, "name", void 0);
83190
- _defineProperty$f(this, "extent", void 0);
83191
- _defineProperty$f(this, "length", void 0);
83192
- _defineProperty$f(this, "_pbf", void 0);
83193
- _defineProperty$f(this, "_keys", void 0);
83194
- _defineProperty$f(this, "_values", void 0);
83195
- _defineProperty$f(this, "_features", void 0);
83093
+ _defineProperty$e(this, "version", void 0);
83094
+ _defineProperty$e(this, "name", void 0);
83095
+ _defineProperty$e(this, "extent", void 0);
83096
+ _defineProperty$e(this, "length", void 0);
83097
+ _defineProperty$e(this, "_pbf", void 0);
83098
+ _defineProperty$e(this, "_keys", void 0);
83099
+ _defineProperty$e(this, "_values", void 0);
83100
+ _defineProperty$e(this, "_features", void 0);
83196
83101
  this.version = 1;
83197
83102
  this.name = "";
83198
83103
  this.extent = 4096;
@@ -83240,7 +83145,7 @@ function readValueMessage(pbf2) {
83240
83145
  }
83241
83146
  class VectorTile2 {
83242
83147
  constructor(pbf2, end) {
83243
- _defineProperty$f(this, "layers", void 0);
83148
+ _defineProperty$e(this, "layers", void 0);
83244
83149
  this.layers = pbf2.readFields(readTile, {}, end);
83245
83150
  }
83246
83151
  }
@@ -83851,8 +83756,8 @@ class MVTLayer extends TileLayer {
83851
83756
  });
83852
83757
  }
83853
83758
  }
83854
- _defineProperty$f(MVTLayer, "layerName", "MVTLayer");
83855
- _defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
83759
+ _defineProperty$e(MVTLayer, "layerName", "MVTLayer");
83760
+ _defineProperty$e(MVTLayer, "defaultProps", defaultProps$h);
83856
83761
  function getFeatureUniqueId(feature2, uniqueIdProperty) {
83857
83762
  if (feature2.properties && uniqueIdProperty) {
83858
83763
  return feature2.properties[uniqueIdProperty];
@@ -83950,8 +83855,8 @@ class GeohashLayer extends GeoCellLayer {
83950
83855
  };
83951
83856
  }
83952
83857
  }
83953
- _defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
83954
- _defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
83858
+ _defineProperty$e(GeohashLayer, "layerName", "GeohashLayer");
83859
+ _defineProperty$e(GeohashLayer, "defaultProps", defaultProps$g);
83955
83860
  const esm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83956
83861
  __proto__: null,
83957
83862
  GeohashLayer,
@@ -121574,16 +121479,16 @@ function addDecoder(cases, importFn) {
121574
121479
  }
121575
121480
  cases.forEach((c) => registry$1.set(c, importFn));
121576
121481
  }
121577
- addDecoder([void 0, 1], () => import("./raw-d5bec5da.js").then((m) => m.default));
121578
- addDecoder(5, () => import("./lzw-caaa0122.js").then((m) => m.default));
121482
+ addDecoder([void 0, 1], () => import("./raw-a099467a.js").then((m) => m.default));
121483
+ addDecoder(5, () => import("./lzw-6f21c4d9.js").then((m) => m.default));
121579
121484
  addDecoder(6, () => {
121580
121485
  throw new Error("old style JPEG compression is not supported.");
121581
121486
  });
121582
- addDecoder(7, () => import("./jpeg-616715e8.js").then((m) => m.default));
121583
- addDecoder([8, 32946], () => import("./deflate-2bfd244f.js").then((m) => m.default));
121584
- addDecoder(32773, () => import("./packbits-3b68ef37.js").then((m) => m.default));
121585
- addDecoder(34887, () => import("./lerc-634533ec.js").then((m) => m.default));
121586
- addDecoder(50001, () => import("./webimage-67aadabc.js").then((m) => m.default));
121487
+ addDecoder(7, () => import("./jpeg-17e2ad80.js").then((m) => m.default));
121488
+ addDecoder([8, 32946], () => import("./deflate-b2382f28.js").then((m) => m.default));
121489
+ addDecoder(32773, () => import("./packbits-7c083149.js").then((m) => m.default));
121490
+ addDecoder(34887, () => import("./lerc-634fdf8c.js").then((m) => m.default));
121491
+ addDecoder(50001, () => import("./webimage-a97b6f77.js").then((m) => m.default));
121587
121492
  function decodeRowAcc(row, stride) {
121588
121493
  let length2 = row.length - stride;
121589
121494
  let offset4 = 0;
@@ -135862,17 +135767,6 @@ function abbreviateNumber(value) {
135862
135767
  return naive;
135863
135768
  return value.toExponential(0);
135864
135769
  }
135865
- const GLOBAL_LABELS = ["z", "t"];
135866
- const DEFAULT_RASTER_DOMAIN_TYPE = "Min/Max";
135867
- const DEFAULT_RASTER_LAYER_PROPS = {
135868
- visible: true,
135869
- colormap: null,
135870
- opacity: 1,
135871
- domainType: DEFAULT_RASTER_DOMAIN_TYPE,
135872
- transparentColor: [0, 0, 0],
135873
- renderingMode: RENDERING_MODES.ADDITIVE,
135874
- use3d: false
135875
- };
135876
135770
  function getSourceFromLoader(loader, level) {
135877
135771
  const { data } = loader;
135878
135772
  const source = Array.isArray(data) ? data[level || data.length - 1] : data;