ingred-ui 9.3.1 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1269,8 +1269,8 @@ var Container$A = styled__default["default"].div(templateObject_2$z || (template
1269
1269
  });
1270
1270
  var templateObject_1$19, templateObject_2$z;
1271
1271
 
1272
- function _extends$2() {
1273
- _extends$2 = Object.assign || function (target) {
1272
+ function _extends$1() {
1273
+ _extends$1 = Object.assign || function (target) {
1274
1274
  for (var i = 1; i < arguments.length; i++) {
1275
1275
  var source = arguments[i];
1276
1276
 
@@ -1284,10 +1284,10 @@ function _extends$2() {
1284
1284
  return target;
1285
1285
  };
1286
1286
 
1287
- return _extends$2.apply(this, arguments);
1287
+ return _extends$1.apply(this, arguments);
1288
1288
  }
1289
1289
 
1290
- function _objectWithoutPropertiesLoose$1(source, excluded) {
1290
+ function _objectWithoutPropertiesLoose(source, excluded) {
1291
1291
  if (source == null) return {};
1292
1292
  var target = {};
1293
1293
  var sourceKeys = Object.keys(source);
@@ -1302,19 +1302,19 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
1302
1302
  return target;
1303
1303
  }
1304
1304
 
1305
- function _setPrototypeOf$1(o, p) {
1306
- _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
1305
+ function _setPrototypeOf(o, p) {
1306
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
1307
1307
  o.__proto__ = p;
1308
1308
  return o;
1309
1309
  };
1310
1310
 
1311
- return _setPrototypeOf$1(o, p);
1311
+ return _setPrototypeOf(o, p);
1312
1312
  }
1313
1313
 
1314
1314
  function _inheritsLoose(subClass, superClass) {
1315
1315
  subClass.prototype = Object.create(superClass.prototype);
1316
1316
  subClass.prototype.constructor = subClass;
1317
- _setPrototypeOf$1(subClass, superClass);
1317
+ _setPrototypeOf(subClass, superClass);
1318
1318
  }
1319
1319
 
1320
1320
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -1340,9 +1340,9 @@ function commonjsRequire (path) {
1340
1340
 
1341
1341
  var propTypes = {exports: {}};
1342
1342
 
1343
- var reactIs$3 = {exports: {}};
1343
+ var reactIs$1 = {exports: {}};
1344
1344
 
1345
- var reactIs_production_min$2 = {};
1345
+ var reactIs_production_min = {};
1346
1346
 
1347
1347
  /** @license React v16.13.1
1348
1348
  * react-is.production.min.js
@@ -1352,14 +1352,14 @@ var reactIs_production_min$2 = {};
1352
1352
  * This source code is licensed under the MIT license found in the
1353
1353
  * LICENSE file in the root directory of this source tree.
1354
1354
  */
1355
- var b$2="function"===typeof Symbol&&Symbol.for,c$2=b$2?Symbol.for("react.element"):60103,d$2=b$2?Symbol.for("react.portal"):60106,e$2=b$2?Symbol.for("react.fragment"):60107,f$2=b$2?Symbol.for("react.strict_mode"):60108,g$2=b$2?Symbol.for("react.profiler"):60114,h$2=b$2?Symbol.for("react.provider"):60109,k$2=b$2?Symbol.for("react.context"):60110,l$2=b$2?Symbol.for("react.async_mode"):60111,m$2=b$2?Symbol.for("react.concurrent_mode"):60111,n$2=b$2?Symbol.for("react.forward_ref"):60112,p$2=b$2?Symbol.for("react.suspense"):60113,q$2=b$2?
1356
- Symbol.for("react.suspense_list"):60120,r$2=b$2?Symbol.for("react.memo"):60115,t$2=b$2?Symbol.for("react.lazy"):60116,v$2=b$2?Symbol.for("react.block"):60121,w$3=b$2?Symbol.for("react.fundamental"):60117,x$2=b$2?Symbol.for("react.responder"):60118,y$2=b$2?Symbol.for("react.scope"):60119;
1357
- function z$2(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$2:switch(a=a.type,a){case l$2:case m$2:case e$2:case g$2:case f$2:case p$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case n$2:case t$2:case r$2:case h$2:return a;default:return u}}case d$2:return u}}}function A$2(a){return z$2(a)===m$2}reactIs_production_min$2.AsyncMode=l$2;reactIs_production_min$2.ConcurrentMode=m$2;reactIs_production_min$2.ContextConsumer=k$2;reactIs_production_min$2.ContextProvider=h$2;reactIs_production_min$2.Element=c$2;reactIs_production_min$2.ForwardRef=n$2;reactIs_production_min$2.Fragment=e$2;reactIs_production_min$2.Lazy=t$2;reactIs_production_min$2.Memo=r$2;reactIs_production_min$2.Portal=d$2;
1358
- reactIs_production_min$2.Profiler=g$2;reactIs_production_min$2.StrictMode=f$2;reactIs_production_min$2.Suspense=p$2;reactIs_production_min$2.isAsyncMode=function(a){return A$2(a)||z$2(a)===l$2};reactIs_production_min$2.isConcurrentMode=A$2;reactIs_production_min$2.isContextConsumer=function(a){return z$2(a)===k$2};reactIs_production_min$2.isContextProvider=function(a){return z$2(a)===h$2};reactIs_production_min$2.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$2};reactIs_production_min$2.isForwardRef=function(a){return z$2(a)===n$2};reactIs_production_min$2.isFragment=function(a){return z$2(a)===e$2};reactIs_production_min$2.isLazy=function(a){return z$2(a)===t$2};
1359
- reactIs_production_min$2.isMemo=function(a){return z$2(a)===r$2};reactIs_production_min$2.isPortal=function(a){return z$2(a)===d$2};reactIs_production_min$2.isProfiler=function(a){return z$2(a)===g$2};reactIs_production_min$2.isStrictMode=function(a){return z$2(a)===f$2};reactIs_production_min$2.isSuspense=function(a){return z$2(a)===p$2};
1360
- reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$2||a===m$2||a===g$2||a===f$2||a===p$2||a===q$2||"object"===typeof a&&null!==a&&(a.$$typeof===t$2||a.$$typeof===r$2||a.$$typeof===h$2||a.$$typeof===k$2||a.$$typeof===n$2||a.$$typeof===w$3||a.$$typeof===x$2||a.$$typeof===y$2||a.$$typeof===v$2)};reactIs_production_min$2.typeOf=z$2;
1355
+ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
1356
+ Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w$1=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
1357
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
1358
+ reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
1359
+ reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
1360
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w$1||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
1361
1361
 
1362
- var reactIs_development$2 = {};
1362
+ var reactIs_development = {};
1363
1363
 
1364
1364
  /** @license React v16.13.1
1365
1365
  * react-is.development.js
@@ -1509,41 +1509,41 @@ function isSuspense(object) {
1509
1509
  return typeOf(object) === REACT_SUSPENSE_TYPE;
1510
1510
  }
1511
1511
 
1512
- reactIs_development$2.AsyncMode = AsyncMode;
1513
- reactIs_development$2.ConcurrentMode = ConcurrentMode;
1514
- reactIs_development$2.ContextConsumer = ContextConsumer;
1515
- reactIs_development$2.ContextProvider = ContextProvider;
1516
- reactIs_development$2.Element = Element;
1517
- reactIs_development$2.ForwardRef = ForwardRef;
1518
- reactIs_development$2.Fragment = Fragment;
1519
- reactIs_development$2.Lazy = Lazy;
1520
- reactIs_development$2.Memo = Memo;
1521
- reactIs_development$2.Portal = Portal;
1522
- reactIs_development$2.Profiler = Profiler;
1523
- reactIs_development$2.StrictMode = StrictMode;
1524
- reactIs_development$2.Suspense = Suspense;
1525
- reactIs_development$2.isAsyncMode = isAsyncMode;
1526
- reactIs_development$2.isConcurrentMode = isConcurrentMode;
1527
- reactIs_development$2.isContextConsumer = isContextConsumer;
1528
- reactIs_development$2.isContextProvider = isContextProvider;
1529
- reactIs_development$2.isElement = isElement;
1530
- reactIs_development$2.isForwardRef = isForwardRef;
1531
- reactIs_development$2.isFragment = isFragment;
1532
- reactIs_development$2.isLazy = isLazy;
1533
- reactIs_development$2.isMemo = isMemo;
1534
- reactIs_development$2.isPortal = isPortal;
1535
- reactIs_development$2.isProfiler = isProfiler;
1536
- reactIs_development$2.isStrictMode = isStrictMode;
1537
- reactIs_development$2.isSuspense = isSuspense;
1538
- reactIs_development$2.isValidElementType = isValidElementType;
1539
- reactIs_development$2.typeOf = typeOf;
1512
+ reactIs_development.AsyncMode = AsyncMode;
1513
+ reactIs_development.ConcurrentMode = ConcurrentMode;
1514
+ reactIs_development.ContextConsumer = ContextConsumer;
1515
+ reactIs_development.ContextProvider = ContextProvider;
1516
+ reactIs_development.Element = Element;
1517
+ reactIs_development.ForwardRef = ForwardRef;
1518
+ reactIs_development.Fragment = Fragment;
1519
+ reactIs_development.Lazy = Lazy;
1520
+ reactIs_development.Memo = Memo;
1521
+ reactIs_development.Portal = Portal;
1522
+ reactIs_development.Profiler = Profiler;
1523
+ reactIs_development.StrictMode = StrictMode;
1524
+ reactIs_development.Suspense = Suspense;
1525
+ reactIs_development.isAsyncMode = isAsyncMode;
1526
+ reactIs_development.isConcurrentMode = isConcurrentMode;
1527
+ reactIs_development.isContextConsumer = isContextConsumer;
1528
+ reactIs_development.isContextProvider = isContextProvider;
1529
+ reactIs_development.isElement = isElement;
1530
+ reactIs_development.isForwardRef = isForwardRef;
1531
+ reactIs_development.isFragment = isFragment;
1532
+ reactIs_development.isLazy = isLazy;
1533
+ reactIs_development.isMemo = isMemo;
1534
+ reactIs_development.isPortal = isPortal;
1535
+ reactIs_development.isProfiler = isProfiler;
1536
+ reactIs_development.isStrictMode = isStrictMode;
1537
+ reactIs_development.isSuspense = isSuspense;
1538
+ reactIs_development.isValidElementType = isValidElementType;
1539
+ reactIs_development.typeOf = typeOf;
1540
1540
  })();
1541
1541
  }
1542
1542
 
1543
1543
  if (process.env.NODE_ENV === 'production') {
1544
- reactIs$3.exports = reactIs_production_min$2;
1544
+ reactIs$1.exports = reactIs_production_min;
1545
1545
  } else {
1546
- reactIs$3.exports = reactIs_development$2;
1546
+ reactIs$1.exports = reactIs_development;
1547
1547
  }
1548
1548
 
1549
1549
  /*
@@ -1646,6 +1646,8 @@ var ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1646
1646
 
1647
1647
  var ReactPropTypesSecret_1 = ReactPropTypesSecret$3;
1648
1648
 
1649
+ var has$b = Function.call.bind(Object.prototype.hasOwnProperty);
1650
+
1649
1651
  /**
1650
1652
  * Copyright (c) 2013-present, Facebook, Inc.
1651
1653
  *
@@ -1658,7 +1660,7 @@ var printWarning$1 = function() {};
1658
1660
  if (process.env.NODE_ENV !== 'production') {
1659
1661
  var ReactPropTypesSecret$2 = ReactPropTypesSecret_1;
1660
1662
  var loggedTypeFailures = {};
1661
- var has$a = Function.call.bind(Object.prototype.hasOwnProperty);
1663
+ var has$a = has$b;
1662
1664
 
1663
1665
  printWarning$1 = function(text) {
1664
1666
  var message = 'Warning: ' + text;
@@ -1670,7 +1672,7 @@ if (process.env.NODE_ENV !== 'production') {
1670
1672
  // This error was thrown as a convenience so that you can use this stack
1671
1673
  // to find the callsite that caused this warning to fire.
1672
1674
  throw new Error(message);
1673
- } catch (x) {}
1675
+ } catch (x) { /**/ }
1674
1676
  };
1675
1677
  }
1676
1678
 
@@ -1699,7 +1701,8 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
1699
1701
  if (typeof typeSpecs[typeSpecName] !== 'function') {
1700
1702
  var err = Error(
1701
1703
  (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
1702
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
1704
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
1705
+ 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
1703
1706
  );
1704
1707
  err.name = 'Invariant Violation';
1705
1708
  throw err;
@@ -1754,13 +1757,13 @@ var checkPropTypes_1 = checkPropTypes$1;
1754
1757
  * LICENSE file in the root directory of this source tree.
1755
1758
  */
1756
1759
 
1757
- var ReactIs$1 = reactIs$3.exports;
1758
- var assign = objectAssign;
1760
+ var ReactIs$1 = reactIs$1.exports;
1761
+ var assign$1 = objectAssign;
1759
1762
 
1760
1763
  var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
1764
+ var has$9 = has$b;
1761
1765
  var checkPropTypes = checkPropTypes_1;
1762
1766
 
1763
- var has$9 = Function.call.bind(Object.prototype.hasOwnProperty);
1764
1767
  var printWarning = function() {};
1765
1768
 
1766
1769
  if (process.env.NODE_ENV !== 'production') {
@@ -1861,6 +1864,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
1861
1864
  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
1862
1865
  var ReactPropTypes = {
1863
1866
  array: createPrimitiveTypeChecker('array'),
1867
+ bigint: createPrimitiveTypeChecker('bigint'),
1864
1868
  bool: createPrimitiveTypeChecker('boolean'),
1865
1869
  func: createPrimitiveTypeChecker('function'),
1866
1870
  number: createPrimitiveTypeChecker('number'),
@@ -1906,8 +1910,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
1906
1910
  * is prohibitively expensive if they are created too often, such as what
1907
1911
  * happens in oneOfType() for any type before the one that matched.
1908
1912
  */
1909
- function PropTypeError(message) {
1913
+ function PropTypeError(message, data) {
1910
1914
  this.message = message;
1915
+ this.data = data && typeof data === 'object' ? data: {};
1911
1916
  this.stack = '';
1912
1917
  }
1913
1918
  // Make `instanceof Error` still work for returned errors.
@@ -1942,7 +1947,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
1942
1947
  ) {
1943
1948
  printWarning(
1944
1949
  'You are manually calling a React.PropTypes validation ' +
1945
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
1950
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
1946
1951
  'and will throw in the standalone `prop-types` package. ' +
1947
1952
  'You may be seeing this warning due to a third-party PropTypes ' +
1948
1953
  'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
@@ -1981,7 +1986,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
1981
1986
  // 'of type `object`'.
1982
1987
  var preciseType = getPreciseType(propValue);
1983
1988
 
1984
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
1989
+ return new PropTypeError(
1990
+ 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
1991
+ {expectedType: expectedType}
1992
+ );
1985
1993
  }
1986
1994
  return null;
1987
1995
  }
@@ -2125,14 +2133,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2125
2133
  }
2126
2134
 
2127
2135
  function validate(props, propName, componentName, location, propFullName) {
2136
+ var expectedTypes = [];
2128
2137
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
2129
2138
  var checker = arrayOfTypeCheckers[i];
2130
- if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1) == null) {
2139
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
2140
+ if (checkerResult == null) {
2131
2141
  return null;
2132
2142
  }
2143
+ if (checkerResult.data.hasOwnProperty('expectedType')) {
2144
+ expectedTypes.push(checkerResult.data.expectedType);
2145
+ }
2133
2146
  }
2134
-
2135
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
2147
+ var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
2148
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
2136
2149
  }
2137
2150
  return createChainableTypeChecker(validate);
2138
2151
  }
@@ -2147,6 +2160,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2147
2160
  return createChainableTypeChecker(validate);
2148
2161
  }
2149
2162
 
2163
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
2164
+ return new PropTypeError(
2165
+ (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
2166
+ 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
2167
+ );
2168
+ }
2169
+
2150
2170
  function createShapeTypeChecker(shapeTypes) {
2151
2171
  function validate(props, propName, componentName, location, propFullName) {
2152
2172
  var propValue = props[propName];
@@ -2156,8 +2176,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2156
2176
  }
2157
2177
  for (var key in shapeTypes) {
2158
2178
  var checker = shapeTypes[key];
2159
- if (!checker) {
2160
- continue;
2179
+ if (typeof checker !== 'function') {
2180
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
2161
2181
  }
2162
2182
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
2163
2183
  if (error) {
@@ -2176,16 +2196,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2176
2196
  if (propType !== 'object') {
2177
2197
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
2178
2198
  }
2179
- // We need to check all keys in case some are required but missing from
2180
- // props.
2181
- var allKeys = assign({}, props[propName], shapeTypes);
2199
+ // We need to check all keys in case some are required but missing from props.
2200
+ var allKeys = assign$1({}, props[propName], shapeTypes);
2182
2201
  for (var key in allKeys) {
2183
2202
  var checker = shapeTypes[key];
2203
+ if (has$9(shapeTypes, key) && typeof checker !== 'function') {
2204
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
2205
+ }
2184
2206
  if (!checker) {
2185
2207
  return new PropTypeError(
2186
2208
  'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
2187
2209
  '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
2188
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
2210
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
2189
2211
  );
2190
2212
  }
2191
2213
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
@@ -2370,6 +2392,7 @@ var factoryWithThrowingShims = function() {
2370
2392
  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
2371
2393
  var ReactPropTypes = {
2372
2394
  array: shim,
2395
+ bigint: shim,
2373
2396
  bool: shim,
2374
2397
  func: shim,
2375
2398
  number: shim,
@@ -2406,7 +2429,7 @@ var factoryWithThrowingShims = function() {
2406
2429
  */
2407
2430
 
2408
2431
  if (process.env.NODE_ENV !== 'production') {
2409
- var ReactIs = reactIs$3.exports;
2432
+ var ReactIs = reactIs$1.exports;
2410
2433
 
2411
2434
  // By explicitly using `prop-types` you are opting into new development behavior.
2412
2435
  // http://fb.me/prop-types-in-prod
@@ -2870,7 +2893,7 @@ var Transition = /*#__PURE__*/function (_React$Component) {
2870
2893
  _this$props.onExiting;
2871
2894
  _this$props.onExited;
2872
2895
  _this$props.nodeRef;
2873
- var childProps = _objectWithoutPropertiesLoose$1(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
2896
+ var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
2874
2897
 
2875
2898
  return (
2876
2899
  /*#__PURE__*/
@@ -3349,9 +3372,9 @@ var CSSTransition$3 = /*#__PURE__*/function (_React$Component) {
3349
3372
  _proto.render = function render() {
3350
3373
  var _this$props = this.props;
3351
3374
  _this$props.classNames;
3352
- var props = _objectWithoutPropertiesLoose$1(_this$props, ["classNames"]);
3375
+ var props = _objectWithoutPropertiesLoose(_this$props, ["classNames"]);
3353
3376
 
3354
- return /*#__PURE__*/React__default["default"].createElement(Transition$1, _extends$2({}, props, {
3377
+ return /*#__PURE__*/React__default["default"].createElement(Transition$1, _extends$1({}, props, {
3355
3378
  onEnter: this.onEnter,
3356
3379
  onEntered: this.onEntered,
3357
3380
  onEntering: this.onEntering,
@@ -3367,7 +3390,7 @@ var CSSTransition$3 = /*#__PURE__*/function (_React$Component) {
3367
3390
  CSSTransition$3.defaultProps = {
3368
3391
  classNames: ''
3369
3392
  };
3370
- CSSTransition$3.propTypes = process.env.NODE_ENV !== "production" ? _extends$2({}, Transition$1.propTypes, {
3393
+ CSSTransition$3.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({}, Transition$1.propTypes, {
3371
3394
  /**
3372
3395
  * The animation classNames applied to the component as it appears, enters,
3373
3396
  * exits or has finished the transition. A single name can be provided, which
@@ -3731,7 +3754,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
3731
3754
 
3732
3755
  if (this.mounted) {
3733
3756
  this.setState(function (state) {
3734
- var children = _extends$2({}, state.children);
3757
+ var children = _extends$1({}, state.children);
3735
3758
 
3736
3759
  delete children[child.key];
3737
3760
  return {
@@ -3745,7 +3768,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
3745
3768
  var _this$props = this.props,
3746
3769
  Component = _this$props.component,
3747
3770
  childFactory = _this$props.childFactory,
3748
- props = _objectWithoutPropertiesLoose$1(_this$props, ["component", "childFactory"]);
3771
+ props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
3749
3772
 
3750
3773
  var contextValue = this.state.contextValue;
3751
3774
  var children = values(this.state.children).map(childFactory);
@@ -4560,7 +4583,10 @@ function getBasePlacement(placement) {
4560
4583
  return placement.split('-')[0];
4561
4584
  }
4562
4585
 
4563
- var round$1 = Math.round;
4586
+ var max = Math.max;
4587
+ var min = Math.min;
4588
+ var round = Math.round;
4589
+
4564
4590
  function getBoundingClientRect(element, includeScale) {
4565
4591
  if (includeScale === void 0) {
4566
4592
  includeScale = false;
@@ -4571,20 +4597,28 @@ function getBoundingClientRect(element, includeScale) {
4571
4597
  var scaleY = 1;
4572
4598
 
4573
4599
  if (isHTMLElement(element) && includeScale) {
4600
+ var offsetHeight = element.offsetHeight;
4601
+ var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
4574
4602
  // Fallback to 1 in case both values are `0`
4575
- scaleX = rect.width / element.offsetWidth || 1;
4576
- scaleY = rect.height / element.offsetHeight || 1;
4603
+
4604
+ if (offsetWidth > 0) {
4605
+ scaleX = round(rect.width) / offsetWidth || 1;
4606
+ }
4607
+
4608
+ if (offsetHeight > 0) {
4609
+ scaleY = round(rect.height) / offsetHeight || 1;
4610
+ }
4577
4611
  }
4578
4612
 
4579
4613
  return {
4580
- width: round$1(rect.width / scaleX),
4581
- height: round$1(rect.height / scaleY),
4582
- top: round$1(rect.top / scaleY),
4583
- right: round$1(rect.right / scaleX),
4584
- bottom: round$1(rect.bottom / scaleY),
4585
- left: round$1(rect.left / scaleX),
4586
- x: round$1(rect.left / scaleX),
4587
- y: round$1(rect.top / scaleY)
4614
+ width: rect.width / scaleX,
4615
+ height: rect.height / scaleY,
4616
+ top: rect.top / scaleY,
4617
+ right: rect.right / scaleX,
4618
+ bottom: rect.bottom / scaleY,
4619
+ left: rect.left / scaleX,
4620
+ x: rect.left / scaleX,
4621
+ y: rect.top / scaleY
4588
4622
  };
4589
4623
  }
4590
4624
 
@@ -4729,13 +4763,13 @@ function getMainAxisFromPlacement(placement) {
4729
4763
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
4730
4764
  }
4731
4765
 
4732
- var max = Math.max;
4733
- var min = Math.min;
4734
- var round = Math.round;
4735
-
4736
4766
  function within(min$1, value, max$1) {
4737
4767
  return max(min$1, min(value, max$1));
4738
4768
  }
4769
+ function withinMaxClamp(min, value, max) {
4770
+ var v = within(min, value, max);
4771
+ return v > max ? max : v;
4772
+ }
4739
4773
 
4740
4774
  function getFreshSideObject() {
4741
4775
  return {
@@ -4848,6 +4882,10 @@ var arrow$1 = {
4848
4882
  requiresIfExists: ['preventOverflow']
4849
4883
  };
4850
4884
 
4885
+ function getVariation(placement) {
4886
+ return placement.split('-')[1];
4887
+ }
4888
+
4851
4889
  var unsetSides = {
4852
4890
  top: 'auto',
4853
4891
  right: 'auto',
@@ -4863,8 +4901,8 @@ function roundOffsetsByDPR(_ref) {
4863
4901
  var win = window;
4864
4902
  var dpr = win.devicePixelRatio || 1;
4865
4903
  return {
4866
- x: round(round(x * dpr) / dpr) || 0,
4867
- y: round(round(y * dpr) / dpr) || 0
4904
+ x: round(x * dpr) / dpr || 0,
4905
+ y: round(y * dpr) / dpr || 0
4868
4906
  };
4869
4907
  }
4870
4908
 
@@ -4874,11 +4912,13 @@ function mapToStyles(_ref2) {
4874
4912
  var popper = _ref2.popper,
4875
4913
  popperRect = _ref2.popperRect,
4876
4914
  placement = _ref2.placement,
4915
+ variation = _ref2.variation,
4877
4916
  offsets = _ref2.offsets,
4878
4917
  position = _ref2.position,
4879
4918
  gpuAcceleration = _ref2.gpuAcceleration,
4880
4919
  adaptive = _ref2.adaptive,
4881
- roundOffsets = _ref2.roundOffsets;
4920
+ roundOffsets = _ref2.roundOffsets,
4921
+ isFixed = _ref2.isFixed;
4882
4922
 
4883
4923
  var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
4884
4924
  _ref3$x = _ref3.x,
@@ -4900,7 +4940,7 @@ function mapToStyles(_ref2) {
4900
4940
  if (offsetParent === getWindow(popper)) {
4901
4941
  offsetParent = getDocumentElement(popper);
4902
4942
 
4903
- if (getComputedStyle$1(offsetParent).position !== 'static') {
4943
+ if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
4904
4944
  heightProp = 'scrollHeight';
4905
4945
  widthProp = 'scrollWidth';
4906
4946
  }
@@ -4909,17 +4949,19 @@ function mapToStyles(_ref2) {
4909
4949
 
4910
4950
  offsetParent = offsetParent;
4911
4951
 
4912
- if (placement === top) {
4913
- sideY = bottom; // $FlowFixMe[prop-missing]
4914
-
4915
- y -= offsetParent[heightProp] - popperRect.height;
4952
+ if (placement === top || (placement === left || placement === right) && variation === end) {
4953
+ sideY = bottom;
4954
+ var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
4955
+ offsetParent[heightProp];
4956
+ y -= offsetY - popperRect.height;
4916
4957
  y *= gpuAcceleration ? 1 : -1;
4917
4958
  }
4918
4959
 
4919
- if (placement === left) {
4920
- sideX = right; // $FlowFixMe[prop-missing]
4921
-
4922
- x -= offsetParent[widthProp] - popperRect.width;
4960
+ if (placement === left || (placement === top || placement === bottom) && variation === end) {
4961
+ sideX = right;
4962
+ var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
4963
+ offsetParent[widthProp];
4964
+ x -= offsetX - popperRect.width;
4923
4965
  x *= gpuAcceleration ? 1 : -1;
4924
4966
  }
4925
4967
  }
@@ -4931,7 +4973,7 @@ function mapToStyles(_ref2) {
4931
4973
  if (gpuAcceleration) {
4932
4974
  var _Object$assign;
4933
4975
 
4934
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
4976
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
4935
4977
  }
4936
4978
 
4937
4979
  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
@@ -4959,9 +5001,11 @@ function computeStyles(_ref4) {
4959
5001
 
4960
5002
  var commonStyles = {
4961
5003
  placement: getBasePlacement(state.placement),
5004
+ variation: getVariation(state.placement),
4962
5005
  popper: state.elements.popper,
4963
5006
  popperRect: state.rects.popper,
4964
- gpuAcceleration: gpuAcceleration
5007
+ gpuAcceleration: gpuAcceleration,
5008
+ isFixed: state.options.strategy === 'fixed'
4965
5009
  };
4966
5010
 
4967
5011
  if (state.modifiersData.popperOffsets != null) {
@@ -5219,7 +5263,7 @@ function getInnerBoundingClientRect(element) {
5219
5263
  }
5220
5264
 
5221
5265
  function getClientRectFromMixedType(element, clippingParent) {
5222
- return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
5266
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement$1(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
5223
5267
  } // A "clipping parent" is an overflowable container with the characteristic of
5224
5268
  // clipping (or hiding) overflowing elements with a position different from
5225
5269
  // `initial`
@@ -5236,7 +5280,7 @@ function getClippingParents(element) {
5236
5280
 
5237
5281
 
5238
5282
  return clippingParents.filter(function (clippingParent) {
5239
- return isElement$1(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
5283
+ return isElement$1(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
5240
5284
  });
5241
5285
  } // Gets the maximum area that the element is visible in due to any number of
5242
5286
  // clipping parents
@@ -5261,10 +5305,6 @@ function getClippingRect(element, boundary, rootBoundary) {
5261
5305
  return clippingRect;
5262
5306
  }
5263
5307
 
5264
- function getVariation(placement) {
5265
- return placement.split('-')[1];
5266
- }
5267
-
5268
5308
  function computeOffsets(_ref) {
5269
5309
  var reference = _ref.reference,
5270
5310
  element = _ref.element,
@@ -5350,11 +5390,10 @@ function detectOverflow(state, options) {
5350
5390
  padding = _options$padding === void 0 ? 0 : _options$padding;
5351
5391
  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
5352
5392
  var altContext = elementContext === popper ? reference : popper;
5353
- var referenceElement = state.elements.reference;
5354
5393
  var popperRect = state.rects.popper;
5355
5394
  var element = state.elements[altBoundary ? altContext : elementContext];
5356
5395
  var clippingClientRect = getClippingRect(isElement$1(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
5357
- var referenceClientRect = getBoundingClientRect(referenceElement);
5396
+ var referenceClientRect = getBoundingClientRect(state.elements.reference);
5358
5397
  var popperOffsets = computeOffsets({
5359
5398
  reference: referenceClientRect,
5360
5399
  element: popperRect,
@@ -5741,6 +5780,14 @@ function preventOverflow(_ref) {
5741
5780
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
5742
5781
  placement: state.placement
5743
5782
  })) : tetherOffset;
5783
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
5784
+ mainAxis: tetherOffsetValue,
5785
+ altAxis: tetherOffsetValue
5786
+ } : Object.assign({
5787
+ mainAxis: 0,
5788
+ altAxis: 0
5789
+ }, tetherOffsetValue);
5790
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
5744
5791
  var data = {
5745
5792
  x: 0,
5746
5793
  y: 0
@@ -5750,13 +5797,15 @@ function preventOverflow(_ref) {
5750
5797
  return;
5751
5798
  }
5752
5799
 
5753
- if (checkMainAxis || checkAltAxis) {
5800
+ if (checkMainAxis) {
5801
+ var _offsetModifierState$;
5802
+
5754
5803
  var mainSide = mainAxis === 'y' ? top : left;
5755
5804
  var altSide = mainAxis === 'y' ? bottom : right;
5756
5805
  var len = mainAxis === 'y' ? 'height' : 'width';
5757
5806
  var offset = popperOffsets[mainAxis];
5758
- var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
5759
- var max$1 = popperOffsets[mainAxis] - overflow[altSide];
5807
+ var min$1 = offset + overflow[mainSide];
5808
+ var max$1 = offset - overflow[altSide];
5760
5809
  var additive = tether ? -popperRect[len] / 2 : 0;
5761
5810
  var minLen = variation === start ? referenceRect[len] : popperRect[len];
5762
5811
  var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
@@ -5776,36 +5825,45 @@ function preventOverflow(_ref) {
5776
5825
  // width or height)
5777
5826
 
5778
5827
  var arrowLen = within(0, referenceRect[len], arrowRect[len]);
5779
- var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
5780
- var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
5828
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
5829
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
5781
5830
  var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
5782
5831
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
5783
- var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
5784
- var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
5785
- var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
5832
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
5833
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
5834
+ var tetherMax = offset + maxOffset - offsetModifierValue;
5835
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
5836
+ popperOffsets[mainAxis] = preventedOffset;
5837
+ data[mainAxis] = preventedOffset - offset;
5838
+ }
5786
5839
 
5787
- if (checkMainAxis) {
5788
- var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
5789
- popperOffsets[mainAxis] = preventedOffset;
5790
- data[mainAxis] = preventedOffset - offset;
5791
- }
5840
+ if (checkAltAxis) {
5841
+ var _offsetModifierState$2;
5792
5842
 
5793
- if (checkAltAxis) {
5794
- var _mainSide = mainAxis === 'x' ? top : left;
5843
+ var _mainSide = mainAxis === 'x' ? top : left;
5795
5844
 
5796
- var _altSide = mainAxis === 'x' ? bottom : right;
5845
+ var _altSide = mainAxis === 'x' ? bottom : right;
5797
5846
 
5798
- var _offset = popperOffsets[altAxis];
5847
+ var _offset = popperOffsets[altAxis];
5799
5848
 
5800
- var _min = _offset + overflow[_mainSide];
5849
+ var _len = altAxis === 'y' ? 'height' : 'width';
5801
5850
 
5802
- var _max = _offset - overflow[_altSide];
5851
+ var _min = _offset + overflow[_mainSide];
5803
5852
 
5804
- var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
5853
+ var _max = _offset - overflow[_altSide];
5805
5854
 
5806
- popperOffsets[altAxis] = _preventedOffset;
5807
- data[altAxis] = _preventedOffset - _offset;
5808
- }
5855
+ var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
5856
+
5857
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
5858
+
5859
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
5860
+
5861
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
5862
+
5863
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
5864
+
5865
+ popperOffsets[altAxis] = _preventedOffset;
5866
+ data[altAxis] = _preventedOffset - _offset;
5809
5867
  }
5810
5868
 
5811
5869
  state.modifiersData[name] = data;
@@ -5837,8 +5895,8 @@ function getNodeScroll(node) {
5837
5895
 
5838
5896
  function isElementScaled(element) {
5839
5897
  var rect = element.getBoundingClientRect();
5840
- var scaleX = rect.width / element.offsetWidth || 1;
5841
- var scaleY = rect.height / element.offsetHeight || 1;
5898
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
5899
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
5842
5900
  return scaleX !== 1 || scaleY !== 1;
5843
5901
  } // Returns the composite rect of an element relative to its offsetParent.
5844
5902
  // Composite means it takes into account transforms as well as layout.
@@ -5959,7 +6017,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
5959
6017
  var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
5960
6018
  function validateModifiers(modifiers) {
5961
6019
  modifiers.forEach(function (modifier) {
5962
- Object.keys(modifier).forEach(function (key) {
6020
+ [].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
6021
+ .filter(function (value, index, self) {
6022
+ return self.indexOf(value) === index;
6023
+ }).forEach(function (key) {
5963
6024
  switch (key) {
5964
6025
  case 'name':
5965
6026
  if (typeof modifier.name !== 'string') {
@@ -5973,6 +6034,8 @@ function validateModifiers(modifiers) {
5973
6034
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
5974
6035
  }
5975
6036
 
6037
+ break;
6038
+
5976
6039
  case 'phase':
5977
6040
  if (modifierPhases.indexOf(modifier.phase) < 0) {
5978
6041
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
@@ -5988,14 +6051,14 @@ function validateModifiers(modifiers) {
5988
6051
  break;
5989
6052
 
5990
6053
  case 'effect':
5991
- if (typeof modifier.effect !== 'function') {
6054
+ if (modifier.effect != null && typeof modifier.effect !== 'function') {
5992
6055
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
5993
6056
  }
5994
6057
 
5995
6058
  break;
5996
6059
 
5997
6060
  case 'requires':
5998
- if (!Array.isArray(modifier.requires)) {
6061
+ if (modifier.requires != null && !Array.isArray(modifier.requires)) {
5999
6062
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
6000
6063
  }
6001
6064
 
@@ -6105,7 +6168,8 @@ function popperGenerator(generatorOptions) {
6105
6168
  var isDestroyed = false;
6106
6169
  var instance = {
6107
6170
  state: state,
6108
- setOptions: function setOptions(options) {
6171
+ setOptions: function setOptions(setOptionsAction) {
6172
+ var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
6109
6173
  cleanupModifierEffects();
6110
6174
  state.options = Object.assign({}, defaultOptions, state.options, options);
6111
6175
  state.scrollParents = {
@@ -7029,24 +7093,6 @@ var ContextMenu = React__namespace.forwardRef(function (_a, ref) {
7029
7093
  React__namespace.createElement(Menu$2, __assign({ isOpen: isOpen, baseElement: iconWrapperElement, contents: contents, positionPriority: positionPriority, maxHeight: menuMaxHeight }, menuProps, { onClose: createChainedFunction(handleToggleOpen(false), menuProps === null || menuProps === void 0 ? void 0 : menuProps.onClose) }))));
7030
7094
  });
7031
7095
 
7032
- function _extends$1() {
7033
- _extends$1 = Object.assign || function (target) {
7034
- for (var i = 1; i < arguments.length; i++) {
7035
- var source = arguments[i];
7036
-
7037
- for (var key in source) {
7038
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7039
- target[key] = source[key];
7040
- }
7041
- }
7042
- }
7043
-
7044
- return target;
7045
- };
7046
-
7047
- return _extends$1.apply(this, arguments);
7048
- }
7049
-
7050
7096
  /*
7051
7097
 
7052
7098
  Based off glamor's StyleSheet, thanks Sunil ❤️
@@ -7108,7 +7154,13 @@ var StyleSheet$1 = /*#__PURE__*/function () {
7108
7154
  var before;
7109
7155
 
7110
7156
  if (_this.tags.length === 0) {
7111
- before = _this.prepend ? _this.container.firstChild : _this.before;
7157
+ if (_this.insertionPoint) {
7158
+ before = _this.insertionPoint.nextSibling;
7159
+ } else if (_this.prepend) {
7160
+ before = _this.container.firstChild;
7161
+ } else {
7162
+ before = _this.before;
7163
+ }
7112
7164
  } else {
7113
7165
  before = _this.tags[_this.tags.length - 1].nextSibling;
7114
7166
  }
@@ -7126,6 +7178,7 @@ var StyleSheet$1 = /*#__PURE__*/function () {
7126
7178
  this.key = options.key;
7127
7179
  this.container = options.container;
7128
7180
  this.prepend = options.prepend;
7181
+ this.insertionPoint = options.insertionPoint;
7129
7182
  this.before = null;
7130
7183
  }
7131
7184
 
@@ -7179,7 +7232,7 @@ var StyleSheet$1 = /*#__PURE__*/function () {
7179
7232
  _proto.flush = function flush() {
7180
7233
  // $FlowFixMe
7181
7234
  this.tags.forEach(function (tag) {
7182
- return tag.parentNode.removeChild(tag);
7235
+ return tag.parentNode && tag.parentNode.removeChild(tag);
7183
7236
  });
7184
7237
  this.tags = [];
7185
7238
  this.ctr = 0;
@@ -7214,6 +7267,12 @@ var abs$4 = Math.abs;
7214
7267
  */
7215
7268
  var from = String.fromCharCode;
7216
7269
 
7270
+ /**
7271
+ * @param {object}
7272
+ * @return {object}
7273
+ */
7274
+ var assign = Object.assign;
7275
+
7217
7276
  /**
7218
7277
  * @param {string} value
7219
7278
  * @param {number} length
@@ -7236,7 +7295,7 @@ function trim (value) {
7236
7295
  * @param {RegExp} pattern
7237
7296
  * @return {string?}
7238
7297
  */
7239
- function match$1 (value, pattern) {
7298
+ function match (value, pattern) {
7240
7299
  return (value = pattern.exec(value)) ? value[0] : value
7241
7300
  }
7242
7301
 
@@ -7252,7 +7311,7 @@ function replace (value, pattern, replacement) {
7252
7311
 
7253
7312
  /**
7254
7313
  * @param {string} value
7255
- * @param {string} value
7314
+ * @param {string} search
7256
7315
  * @return {number}
7257
7316
  */
7258
7317
  function indexof (value, search) {
@@ -7321,11 +7380,11 @@ var characters = '';
7321
7380
 
7322
7381
  /**
7323
7382
  * @param {string} value
7324
- * @param {object} root
7325
- * @param {object?} parent
7383
+ * @param {object | null} root
7384
+ * @param {object | null} parent
7326
7385
  * @param {string} type
7327
- * @param {string[]} props
7328
- * @param {object[]} children
7386
+ * @param {string[] | string} props
7387
+ * @param {object[] | string} children
7329
7388
  * @param {number} length
7330
7389
  */
7331
7390
  function node (value, root, parent, type, props, children, length) {
@@ -7333,12 +7392,12 @@ function node (value, root, parent, type, props, children, length) {
7333
7392
  }
7334
7393
 
7335
7394
  /**
7336
- * @param {string} value
7337
7395
  * @param {object} root
7338
- * @param {string} type
7396
+ * @param {object} props
7397
+ * @return {object}
7339
7398
  */
7340
- function copy (value, root, type) {
7341
- return node(value, root.root, root.parent, type, root.props, root.children, 0)
7399
+ function copy (root, props) {
7400
+ return assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)
7342
7401
  }
7343
7402
 
7344
7403
  /**
@@ -7391,7 +7450,7 @@ function caret () {
7391
7450
  * @param {number} end
7392
7451
  * @return {string}
7393
7452
  */
7394
- function slice$3 (begin, end) {
7453
+ function slice$2 (begin, end) {
7395
7454
  return substr(characters, begin, end)
7396
7455
  }
7397
7456
 
@@ -7444,7 +7503,7 @@ function dealloc (value) {
7444
7503
  * @return {string}
7445
7504
  */
7446
7505
  function delimit (type) {
7447
- return trim(slice$3(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
7506
+ return trim(slice$2(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
7448
7507
  }
7449
7508
 
7450
7509
  /**
@@ -7472,7 +7531,7 @@ function escaping (index, count) {
7472
7531
  if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
7473
7532
  break
7474
7533
 
7475
- return slice$3(index, caret() + (count < 6 && peek() == 32 && next() == 32))
7534
+ return slice$2(index, caret() + (count < 6 && peek() == 32 && next() == 32))
7476
7535
  }
7477
7536
 
7478
7537
  /**
@@ -7487,7 +7546,9 @@ function delimiter (type) {
7487
7546
  return position
7488
7547
  // " '
7489
7548
  case 34: case 39:
7490
- return delimiter(type === 34 || type === 39 ? type : character)
7549
+ if (type !== 34 && type !== 39)
7550
+ delimiter(character);
7551
+ break
7491
7552
  // (
7492
7553
  case 40:
7493
7554
  if (type === 41)
@@ -7516,7 +7577,7 @@ function commenter (type, index) {
7516
7577
  else if (type + character === 42 + 42 && peek() === 47)
7517
7578
  break
7518
7579
 
7519
- return '/*' + slice$3(index, position - 1) + '*' + from(type === 47 ? type : next())
7580
+ return '/*' + slice$2(index, position - 1) + '*' + from(type === 47 ? type : next())
7520
7581
  }
7521
7582
 
7522
7583
  /**
@@ -7527,7 +7588,7 @@ function identifier (index) {
7527
7588
  while (!token(peek()))
7528
7589
  next();
7529
7590
 
7530
- return slice$3(index, position)
7591
+ return slice$2(index, position)
7531
7592
  }
7532
7593
 
7533
7594
  /**
@@ -7569,8 +7630,15 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
7569
7630
 
7570
7631
  while (scanning)
7571
7632
  switch (previous = character, character = next()) {
7572
- // " ' [ (
7573
- case 34: case 39: case 91: case 40:
7633
+ // (
7634
+ case 40:
7635
+ if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
7636
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
7637
+ ampersand = -1;
7638
+ break
7639
+ }
7640
+ // " ' [
7641
+ case 34: case 39: case 91:
7574
7642
  characters += delimit(character);
7575
7643
  break
7576
7644
  // \t \n \r \s
@@ -7620,7 +7688,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
7620
7688
  parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
7621
7689
  break
7622
7690
  default:
7623
- parse(characters, reference, reference, reference, [''], children, length, points, children);
7691
+ parse(characters, reference, reference, reference, [''], children, 0, points, children);
7624
7692
  }
7625
7693
  }
7626
7694
 
@@ -7651,7 +7719,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
7651
7719
  if (peek() === 45)
7652
7720
  characters += delimit(next());
7653
7721
 
7654
- atrule = peek(), offset = strlen(type = characters += identifier(caret())), character++;
7722
+ atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
7655
7723
  break
7656
7724
  // -
7657
7725
  case 45:
@@ -7854,6 +7922,7 @@ function stringify (element, index, children, callback) {
7854
7922
  switch (element.type) {
7855
7923
  case IMPORT: case DECLARATION: return element.return = element.return || element.value
7856
7924
  case COMMENT: return ''
7925
+ case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
7857
7926
  case RULESET: element.value = element.props.join(',');
7858
7927
  }
7859
7928
 
@@ -7896,31 +7965,32 @@ function rulesheet (callback) {
7896
7965
  * @param {function} callback
7897
7966
  */
7898
7967
  function prefixer (element, index, children, callback) {
7899
- if (!element.return)
7900
- switch (element.type) {
7901
- case DECLARATION: element.return = prefix(element.value, element.length);
7902
- break
7903
- case KEYFRAMES:
7904
- return serialize([copy(replace(element.value, '@', '@' + WEBKIT), element, '')], callback)
7905
- case RULESET:
7906
- if (element.length)
7907
- return combine(element.props, function (value) {
7908
- switch (match$1(value, /(::plac\w+|:read-\w+)/)) {
7909
- // :read-(only|write)
7910
- case ':read-only': case ':read-write':
7911
- return serialize([copy(replace(value, /:(read-\w+)/, ':' + MOZ + '$1'), element, '')], callback)
7912
- // :placeholder
7913
- case '::placeholder':
7914
- return serialize([
7915
- copy(replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1'), element, ''),
7916
- copy(replace(value, /:(plac\w+)/, ':' + MOZ + '$1'), element, ''),
7917
- copy(replace(value, /:(plac\w+)/, MS + 'input-$1'), element, '')
7918
- ], callback)
7919
- }
7920
-
7921
- return ''
7922
- })
7923
- }
7968
+ if (element.length > -1)
7969
+ if (!element.return)
7970
+ switch (element.type) {
7971
+ case DECLARATION: element.return = prefix(element.value, element.length);
7972
+ break
7973
+ case KEYFRAMES:
7974
+ return serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)
7975
+ case RULESET:
7976
+ if (element.length)
7977
+ return combine(element.props, function (value) {
7978
+ switch (match(value, /(::plac\w+|:read-\w+)/)) {
7979
+ // :read-(only|write)
7980
+ case ':read-only': case ':read-write':
7981
+ return serialize([copy(element, {props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]})], callback)
7982
+ // :placeholder
7983
+ case '::placeholder':
7984
+ return serialize([
7985
+ copy(element, {props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]}),
7986
+ copy(element, {props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]}),
7987
+ copy(element, {props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]})
7988
+ ], callback)
7989
+ }
7990
+
7991
+ return ''
7992
+ })
7993
+ }
7924
7994
  }
7925
7995
 
7926
7996
  var weakMemoize = function weakMemoize(func) {
@@ -7948,6 +8018,29 @@ function memoize$1(fn) {
7948
8018
 
7949
8019
  var last$1 = function last(arr) {
7950
8020
  return arr.length ? arr[arr.length - 1] : null;
8021
+ }; // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244
8022
+
8023
+
8024
+ var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
8025
+ var previous = 0;
8026
+ var character = 0;
8027
+
8028
+ while (true) {
8029
+ previous = character;
8030
+ character = peek(); // &\f
8031
+
8032
+ if (previous === 38 && character === 12) {
8033
+ points[index] = 1;
8034
+ }
8035
+
8036
+ if (token(character)) {
8037
+ break;
8038
+ }
8039
+
8040
+ next();
8041
+ }
8042
+
8043
+ return slice$2(begin, position);
7951
8044
  };
7952
8045
 
7953
8046
  var toRules = function toRules(parsed, points) {
@@ -7967,7 +8060,7 @@ var toRules = function toRules(parsed, points) {
7967
8060
  points[index] = 1;
7968
8061
  }
7969
8062
 
7970
- parsed[index] += identifier(position - 1);
8063
+ parsed[index] += identifierWithPointTracking(position - 1, points, index);
7971
8064
  break;
7972
8065
 
7973
8066
  case 2:
@@ -8000,8 +8093,9 @@ var getRules = function getRules(value, points) {
8000
8093
 
8001
8094
  var fixedElements = /* #__PURE__ */new WeakMap();
8002
8095
  var compat = function compat(element) {
8003
- if (element.type !== 'rule' || !element.parent || // .length indicates if this rule contains pseudo or not
8004
- !element.length) {
8096
+ if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
8097
+ // negative .length indicates that this rule has been already prefixed
8098
+ element.length < 1) {
8005
8099
  return;
8006
8100
  }
8007
8101
 
@@ -8301,7 +8395,8 @@ var createCache = function createCache(options) {
8301
8395
  container: container,
8302
8396
  nonce: options.nonce,
8303
8397
  speedy: options.speedy,
8304
- prepend: options.prepend
8398
+ prepend: options.prepend,
8399
+ insertionPoint: options.insertionPoint
8305
8400
  }),
8306
8401
  nonce: options.nonce,
8307
8402
  inserted: inserted,
@@ -8312,213 +8407,7 @@ var createCache = function createCache(options) {
8312
8407
  return cache;
8313
8408
  };
8314
8409
 
8315
- var reactIs$2 = {exports: {}};
8316
-
8317
- var reactIs_production_min$1 = {};
8318
-
8319
- /** @license React v16.13.1
8320
- * react-is.production.min.js
8321
- *
8322
- * Copyright (c) Facebook, Inc. and its affiliates.
8323
- *
8324
- * This source code is licensed under the MIT license found in the
8325
- * LICENSE file in the root directory of this source tree.
8326
- */
8327
- var b$1="function"===typeof Symbol&&Symbol.for,c$1=b$1?Symbol.for("react.element"):60103,d$1=b$1?Symbol.for("react.portal"):60106,e$1=b$1?Symbol.for("react.fragment"):60107,f$1=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h$1=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l$1=b$1?Symbol.for("react.async_mode"):60111,m$1=b$1?Symbol.for("react.concurrent_mode"):60111,n$1=b$1?Symbol.for("react.forward_ref"):60112,p$1=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?
8328
- Symbol.for("react.suspense_list"):60120,r$1=b$1?Symbol.for("react.memo"):60115,t$1=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w$2=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;
8329
- function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$1:switch(a=a.type,a){case l$1:case m$1:case e$1:case g$1:case f$1:case p$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case n$1:case t$1:case r$1:case h$1:return a;default:return u}}case d$1:return u}}}function A$1(a){return z$1(a)===m$1}reactIs_production_min$1.AsyncMode=l$1;reactIs_production_min$1.ConcurrentMode=m$1;reactIs_production_min$1.ContextConsumer=k$1;reactIs_production_min$1.ContextProvider=h$1;reactIs_production_min$1.Element=c$1;reactIs_production_min$1.ForwardRef=n$1;reactIs_production_min$1.Fragment=e$1;reactIs_production_min$1.Lazy=t$1;reactIs_production_min$1.Memo=r$1;reactIs_production_min$1.Portal=d$1;
8330
- reactIs_production_min$1.Profiler=g$1;reactIs_production_min$1.StrictMode=f$1;reactIs_production_min$1.Suspense=p$1;reactIs_production_min$1.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$1};reactIs_production_min$1.isConcurrentMode=A$1;reactIs_production_min$1.isContextConsumer=function(a){return z$1(a)===k$1};reactIs_production_min$1.isContextProvider=function(a){return z$1(a)===h$1};reactIs_production_min$1.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$1};reactIs_production_min$1.isForwardRef=function(a){return z$1(a)===n$1};reactIs_production_min$1.isFragment=function(a){return z$1(a)===e$1};reactIs_production_min$1.isLazy=function(a){return z$1(a)===t$1};
8331
- reactIs_production_min$1.isMemo=function(a){return z$1(a)===r$1};reactIs_production_min$1.isPortal=function(a){return z$1(a)===d$1};reactIs_production_min$1.isProfiler=function(a){return z$1(a)===g$1};reactIs_production_min$1.isStrictMode=function(a){return z$1(a)===f$1};reactIs_production_min$1.isSuspense=function(a){return z$1(a)===p$1};
8332
- reactIs_production_min$1.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$1||a===m$1||a===g$1||a===f$1||a===p$1||a===q$1||"object"===typeof a&&null!==a&&(a.$$typeof===t$1||a.$$typeof===r$1||a.$$typeof===h$1||a.$$typeof===k$1||a.$$typeof===n$1||a.$$typeof===w$2||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$1)};reactIs_production_min$1.typeOf=z$1;
8333
-
8334
- var reactIs_development$1 = {};
8335
-
8336
- /** @license React v16.13.1
8337
- * react-is.development.js
8338
- *
8339
- * Copyright (c) Facebook, Inc. and its affiliates.
8340
- *
8341
- * This source code is licensed under the MIT license found in the
8342
- * LICENSE file in the root directory of this source tree.
8343
- */
8344
-
8345
-
8346
-
8347
- if (process.env.NODE_ENV !== "production") {
8348
- (function() {
8349
-
8350
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
8351
- // nor polyfill, then a plain number is used for performance.
8352
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
8353
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
8354
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
8355
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
8356
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
8357
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
8358
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
8359
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
8360
- // (unstable) APIs that have been removed. Can we remove the symbols?
8361
-
8362
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
8363
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
8364
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
8365
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
8366
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
8367
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
8368
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
8369
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
8370
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
8371
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
8372
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
8373
-
8374
- function isValidElementType(type) {
8375
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
8376
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
8377
- }
8378
-
8379
- function typeOf(object) {
8380
- if (typeof object === 'object' && object !== null) {
8381
- var $$typeof = object.$$typeof;
8382
-
8383
- switch ($$typeof) {
8384
- case REACT_ELEMENT_TYPE:
8385
- var type = object.type;
8386
-
8387
- switch (type) {
8388
- case REACT_ASYNC_MODE_TYPE:
8389
- case REACT_CONCURRENT_MODE_TYPE:
8390
- case REACT_FRAGMENT_TYPE:
8391
- case REACT_PROFILER_TYPE:
8392
- case REACT_STRICT_MODE_TYPE:
8393
- case REACT_SUSPENSE_TYPE:
8394
- return type;
8395
-
8396
- default:
8397
- var $$typeofType = type && type.$$typeof;
8398
-
8399
- switch ($$typeofType) {
8400
- case REACT_CONTEXT_TYPE:
8401
- case REACT_FORWARD_REF_TYPE:
8402
- case REACT_LAZY_TYPE:
8403
- case REACT_MEMO_TYPE:
8404
- case REACT_PROVIDER_TYPE:
8405
- return $$typeofType;
8406
-
8407
- default:
8408
- return $$typeof;
8409
- }
8410
-
8411
- }
8412
-
8413
- case REACT_PORTAL_TYPE:
8414
- return $$typeof;
8415
- }
8416
- }
8417
-
8418
- return undefined;
8419
- } // AsyncMode is deprecated along with isAsyncMode
8420
-
8421
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
8422
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
8423
- var ContextConsumer = REACT_CONTEXT_TYPE;
8424
- var ContextProvider = REACT_PROVIDER_TYPE;
8425
- var Element = REACT_ELEMENT_TYPE;
8426
- var ForwardRef = REACT_FORWARD_REF_TYPE;
8427
- var Fragment = REACT_FRAGMENT_TYPE;
8428
- var Lazy = REACT_LAZY_TYPE;
8429
- var Memo = REACT_MEMO_TYPE;
8430
- var Portal = REACT_PORTAL_TYPE;
8431
- var Profiler = REACT_PROFILER_TYPE;
8432
- var StrictMode = REACT_STRICT_MODE_TYPE;
8433
- var Suspense = REACT_SUSPENSE_TYPE;
8434
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
8435
-
8436
- function isAsyncMode(object) {
8437
- {
8438
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
8439
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
8440
-
8441
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
8442
- }
8443
- }
8444
-
8445
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
8446
- }
8447
- function isConcurrentMode(object) {
8448
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
8449
- }
8450
- function isContextConsumer(object) {
8451
- return typeOf(object) === REACT_CONTEXT_TYPE;
8452
- }
8453
- function isContextProvider(object) {
8454
- return typeOf(object) === REACT_PROVIDER_TYPE;
8455
- }
8456
- function isElement(object) {
8457
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
8458
- }
8459
- function isForwardRef(object) {
8460
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
8461
- }
8462
- function isFragment(object) {
8463
- return typeOf(object) === REACT_FRAGMENT_TYPE;
8464
- }
8465
- function isLazy(object) {
8466
- return typeOf(object) === REACT_LAZY_TYPE;
8467
- }
8468
- function isMemo(object) {
8469
- return typeOf(object) === REACT_MEMO_TYPE;
8470
- }
8471
- function isPortal(object) {
8472
- return typeOf(object) === REACT_PORTAL_TYPE;
8473
- }
8474
- function isProfiler(object) {
8475
- return typeOf(object) === REACT_PROFILER_TYPE;
8476
- }
8477
- function isStrictMode(object) {
8478
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
8479
- }
8480
- function isSuspense(object) {
8481
- return typeOf(object) === REACT_SUSPENSE_TYPE;
8482
- }
8483
-
8484
- reactIs_development$1.AsyncMode = AsyncMode;
8485
- reactIs_development$1.ConcurrentMode = ConcurrentMode;
8486
- reactIs_development$1.ContextConsumer = ContextConsumer;
8487
- reactIs_development$1.ContextProvider = ContextProvider;
8488
- reactIs_development$1.Element = Element;
8489
- reactIs_development$1.ForwardRef = ForwardRef;
8490
- reactIs_development$1.Fragment = Fragment;
8491
- reactIs_development$1.Lazy = Lazy;
8492
- reactIs_development$1.Memo = Memo;
8493
- reactIs_development$1.Portal = Portal;
8494
- reactIs_development$1.Profiler = Profiler;
8495
- reactIs_development$1.StrictMode = StrictMode;
8496
- reactIs_development$1.Suspense = Suspense;
8497
- reactIs_development$1.isAsyncMode = isAsyncMode;
8498
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
8499
- reactIs_development$1.isContextConsumer = isContextConsumer;
8500
- reactIs_development$1.isContextProvider = isContextProvider;
8501
- reactIs_development$1.isElement = isElement;
8502
- reactIs_development$1.isForwardRef = isForwardRef;
8503
- reactIs_development$1.isFragment = isFragment;
8504
- reactIs_development$1.isLazy = isLazy;
8505
- reactIs_development$1.isMemo = isMemo;
8506
- reactIs_development$1.isPortal = isPortal;
8507
- reactIs_development$1.isProfiler = isProfiler;
8508
- reactIs_development$1.isStrictMode = isStrictMode;
8509
- reactIs_development$1.isSuspense = isSuspense;
8510
- reactIs_development$1.isValidElementType = isValidElementType;
8511
- reactIs_development$1.typeOf = typeOf;
8512
- })();
8513
- }
8514
-
8515
- if (process.env.NODE_ENV === 'production') {
8516
- reactIs$2.exports = reactIs_production_min$1;
8517
- } else {
8518
- reactIs$2.exports = reactIs_development$1;
8519
- }
8520
-
8521
- var reactIs$1 = reactIs$2.exports;
8410
+ var reactIs = reactIs$1.exports;
8522
8411
 
8523
8412
  /**
8524
8413
  * Copyright 2015, Yahoo! Inc.
@@ -8562,12 +8451,12 @@ var MEMO_STATICS = {
8562
8451
  type: true
8563
8452
  };
8564
8453
  var TYPE_STATICS = {};
8565
- TYPE_STATICS[reactIs$1.ForwardRef] = FORWARD_REF_STATICS;
8566
- TYPE_STATICS[reactIs$1.Memo] = MEMO_STATICS;
8454
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8455
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8567
8456
 
8568
8457
  function getStatics(component) {
8569
8458
  // React v16.11 and below
8570
- if (reactIs$1.isMemo(component)) {
8459
+ if (reactIs.isMemo(component)) {
8571
8460
  return MEMO_STATICS;
8572
8461
  } // React v16.12 and above
8573
8462
 
@@ -9089,7 +8978,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
9089
8978
  };
9090
8979
 
9091
8980
  var isBrowser$1 = typeof document !== 'undefined';
9092
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
8981
+ var hasOwnProperty$1 = {}.hasOwnProperty;
9093
8982
 
9094
8983
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
9095
8984
  // because this module is primarily intended for the browser and node
@@ -9146,12 +9035,48 @@ if (process.env.NODE_ENV !== 'production') {
9146
9035
  ThemeContext.displayName = 'EmotionThemeContext';
9147
9036
  }
9148
9037
 
9149
- // thus we only need to replace what is a valid character for JS, but not for CSS
9038
+ var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
9039
+ // V8
9040
+ var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
9041
+
9042
+ if (match) {
9043
+ // The match may be something like 'Object.createEmotionProps'
9044
+ var parts = match[1].split('.');
9045
+ return parts[parts.length - 1];
9046
+ } // Safari / Firefox
9047
+
9048
+
9049
+ match = /^([A-Za-z0-9$.]+)@/.exec(line);
9050
+ if (match) return match[1];
9051
+ return undefined;
9052
+ };
9053
+
9054
+ var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
9055
+ // identifiers, thus we only need to replace what is a valid character for JS,
9056
+ // but not for CSS.
9150
9057
 
9151
9058
  var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
9152
9059
  return identifier.replace(/\$/g, '-');
9153
9060
  };
9154
9061
 
9062
+ var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
9063
+ if (!stackTrace) return undefined;
9064
+ var lines = stackTrace.split('\n');
9065
+
9066
+ for (var i = 0; i < lines.length; i++) {
9067
+ var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
9068
+
9069
+ if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
9070
+
9071
+ if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
9072
+ // uppercase letter
9073
+
9074
+ if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
9075
+ }
9076
+
9077
+ return undefined;
9078
+ };
9079
+
9155
9080
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
9156
9081
  var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
9157
9082
  var createEmotionProps = function createEmotionProps(type, props) {
@@ -9168,28 +9093,21 @@ var createEmotionProps = function createEmotionProps(type, props) {
9168
9093
  }
9169
9094
  }
9170
9095
 
9171
- newProps[typePropName] = type;
9172
-
9173
- if (process.env.NODE_ENV !== 'production') {
9174
- var error = new Error();
9175
-
9176
- if (error.stack) {
9177
- // chrome
9178
- var match = error.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z0-9$]+) /);
9179
-
9180
- if (!match) {
9181
- // safari and firefox
9182
- match = error.stack.match(/.*\n([A-Z][A-Za-z0-9$]+)@/);
9183
- }
9096
+ newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
9097
+ // the label hasn't already been computed
9184
9098
 
9185
- if (match) {
9186
- newProps[labelPropName] = sanitizeIdentifier(match[1]);
9187
- }
9188
- }
9099
+ if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
9100
+ var label = getLabelFromStackTrace(new Error().stack);
9101
+ if (label) newProps[labelPropName] = label;
9189
9102
  }
9190
9103
 
9191
9104
  return newProps;
9192
9105
  };
9106
+
9107
+ var Noop$1 = function Noop() {
9108
+ return null;
9109
+ };
9110
+
9193
9111
  var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
9194
9112
  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
9195
9113
  // not passing the registered cache to serializeStyles because it would
@@ -9232,6 +9150,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
9232
9150
  newProps.ref = ref;
9233
9151
  newProps.className = className;
9234
9152
  var ele = /*#__PURE__*/React.createElement(type, newProps);
9153
+ var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop$1, null);
9235
9154
 
9236
9155
  if (!isBrowser$1 && rules !== undefined) {
9237
9156
  var _ref;
@@ -9244,12 +9163,13 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
9244
9163
  next = next.next;
9245
9164
  }
9246
9165
 
9247
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
9166
+ possiblyStyleElement = /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
9248
9167
  __html: rules
9249
- }, _ref.nonce = cache.sheet.nonce, _ref)), ele);
9250
- }
9168
+ }, _ref.nonce = cache.sheet.nonce, _ref));
9169
+ } // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
9170
+
9251
9171
 
9252
- return ele;
9172
+ return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
9253
9173
  });
9254
9174
 
9255
9175
  if (process.env.NODE_ENV !== 'production') {
@@ -9317,7 +9237,13 @@ var StyleSheet = /*#__PURE__*/function () {
9317
9237
  var before;
9318
9238
 
9319
9239
  if (_this.tags.length === 0) {
9320
- before = _this.prepend ? _this.container.firstChild : _this.before;
9240
+ if (_this.insertionPoint) {
9241
+ before = _this.insertionPoint.nextSibling;
9242
+ } else if (_this.prepend) {
9243
+ before = _this.container.firstChild;
9244
+ } else {
9245
+ before = _this.before;
9246
+ }
9321
9247
  } else {
9322
9248
  before = _this.tags[_this.tags.length - 1].nextSibling;
9323
9249
  }
@@ -9335,6 +9261,7 @@ var StyleSheet = /*#__PURE__*/function () {
9335
9261
  this.key = options.key;
9336
9262
  this.container = options.container;
9337
9263
  this.prepend = options.prepend;
9264
+ this.insertionPoint = options.insertionPoint;
9338
9265
  this.before = null;
9339
9266
  }
9340
9267
 
@@ -9388,7 +9315,7 @@ var StyleSheet = /*#__PURE__*/function () {
9388
9315
  _proto.flush = function flush() {
9389
9316
  // $FlowFixMe
9390
9317
  this.tags.forEach(function (tag) {
9391
- return tag.parentNode.removeChild(tag);
9318
+ return tag.parentNode && tag.parentNode.removeChild(tag);
9392
9319
  });
9393
9320
  this.tags = [];
9394
9321
  this.ctr = 0;
@@ -9403,7 +9330,7 @@ var StyleSheet = /*#__PURE__*/function () {
9403
9330
 
9404
9331
  var pkg = {
9405
9332
  name: "@emotion/react",
9406
- version: "11.4.1",
9333
+ version: "11.7.1",
9407
9334
  main: "dist/emotion-react.cjs.js",
9408
9335
  module: "dist/emotion-react.esm.js",
9409
9336
  browser: {
@@ -9416,7 +9343,7 @@ var pkg = {
9416
9343
  "dist",
9417
9344
  "jsx-runtime",
9418
9345
  "jsx-dev-runtime",
9419
- "isolated-hoist-non-react-statics-do-not-use-this-in-your-code",
9346
+ "_isolated-hnrs",
9420
9347
  "types/*.d.ts",
9421
9348
  "macro.js",
9422
9349
  "macro.d.ts",
@@ -9430,9 +9357,9 @@ var pkg = {
9430
9357
  },
9431
9358
  dependencies: {
9432
9359
  "@babel/runtime": "^7.13.10",
9433
- "@emotion/cache": "^11.4.0",
9360
+ "@emotion/cache": "^11.7.1",
9434
9361
  "@emotion/serialize": "^1.0.2",
9435
- "@emotion/sheet": "^1.0.2",
9362
+ "@emotion/sheet": "^1.1.0",
9436
9363
  "@emotion/utils": "^1.0.0",
9437
9364
  "@emotion/weak-memoize": "^0.2.5",
9438
9365
  "hoist-non-react-statics": "^3.3.1"
@@ -9451,10 +9378,10 @@ var pkg = {
9451
9378
  },
9452
9379
  devDependencies: {
9453
9380
  "@babel/core": "^7.13.10",
9454
- "@emotion/css": "11.1.3",
9455
- "@emotion/css-prettifier": "1.0.0",
9381
+ "@emotion/css": "11.7.1",
9382
+ "@emotion/css-prettifier": "1.0.1",
9456
9383
  "@emotion/server": "11.4.0",
9457
- "@emotion/styled": "11.3.0",
9384
+ "@emotion/styled": "11.6.0",
9458
9385
  "@types/react": "^16.9.11",
9459
9386
  dtslint: "^0.3.0",
9460
9387
  "html-tag-names": "^1.1.2",
@@ -9471,7 +9398,7 @@ var pkg = {
9471
9398
  "./index.js",
9472
9399
  "./jsx-runtime.js",
9473
9400
  "./jsx-dev-runtime.js",
9474
- "./isolated-hoist-non-react-statics-do-not-use-this-in-your-code.js"
9401
+ "./_isolated-hnrs.js"
9475
9402
  ],
9476
9403
  umdName: "emotionReact"
9477
9404
  }
@@ -9691,6 +9618,10 @@ function merge(registered, css, className) {
9691
9618
  return rawClassName + css(registeredStyles);
9692
9619
  }
9693
9620
 
9621
+ var Noop = function Noop() {
9622
+ return null;
9623
+ };
9624
+
9694
9625
  var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
9695
9626
  var rules = '';
9696
9627
  var serializedHashes = '';
@@ -9743,16 +9674,18 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
9743
9674
  };
9744
9675
  var ele = props.children(content);
9745
9676
  hasRendered = true;
9677
+ var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop, null);
9746
9678
 
9747
9679
  if (!isBrowser$1 && rules.length !== 0) {
9748
9680
  var _ref;
9749
9681
 
9750
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
9682
+ possiblyStyleElement = /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
9751
9683
  __html: rules
9752
- }, _ref.nonce = cache.sheet.nonce, _ref)), ele);
9753
- }
9684
+ }, _ref.nonce = cache.sheet.nonce, _ref));
9685
+ } // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
9686
+
9754
9687
 
9755
- return ele;
9688
+ return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
9756
9689
  });
9757
9690
 
9758
9691
  if (process.env.NODE_ENV !== 'production') {
@@ -9765,7 +9698,10 @@ if (process.env.NODE_ENV !== 'production') {
9765
9698
  var isJest = typeof jest !== 'undefined';
9766
9699
 
9767
9700
  if (isBrowser && !isJest) {
9768
- var globalContext = isBrowser ? window : global;
9701
+ // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
9702
+ var globalContext = // $FlowIgnore
9703
+ typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
9704
+ : isBrowser ? window : global;
9769
9705
  var globalKey$1 = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
9770
9706
 
9771
9707
  if (globalContext[globalKey$1]) {
@@ -9788,21 +9724,6 @@ function _taggedTemplateLiteral(strings, raw) {
9788
9724
  }));
9789
9725
  }
9790
9726
 
9791
- function _objectWithoutPropertiesLoose(source, excluded) {
9792
- if (source == null) return {};
9793
- var target = {};
9794
- var sourceKeys = Object.keys(source);
9795
- var key, i;
9796
-
9797
- for (i = 0; i < sourceKeys.length; i++) {
9798
- key = sourceKeys[i];
9799
- if (excluded.indexOf(key) >= 0) continue;
9800
- target[key] = source[key];
9801
- }
9802
-
9803
- return target;
9804
- }
9805
-
9806
9727
  function _objectWithoutProperties(source, excluded) {
9807
9728
  if (source == null) return {};
9808
9729
  var target = _objectWithoutPropertiesLoose(source, excluded);
@@ -9825,17 +9746,11 @@ function _objectWithoutProperties(source, excluded) {
9825
9746
  function _typeof$1(obj) {
9826
9747
  "@babel/helpers - typeof";
9827
9748
 
9828
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
9829
- _typeof$1 = function _typeof(obj) {
9830
- return typeof obj;
9831
- };
9832
- } else {
9833
- _typeof$1 = function _typeof(obj) {
9834
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
9835
- };
9836
- }
9837
-
9838
- return _typeof$1(obj);
9749
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
9750
+ return typeof obj;
9751
+ } : function (obj) {
9752
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
9753
+ }, _typeof$1(obj);
9839
9754
  }
9840
9755
 
9841
9756
  function _classCallCheck$3(instance, Constructor) {
@@ -9857,29 +9772,26 @@ function _defineProperties(target, props) {
9857
9772
  function _createClass$3(Constructor, protoProps, staticProps) {
9858
9773
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
9859
9774
  if (staticProps) _defineProperties(Constructor, staticProps);
9775
+ Object.defineProperty(Constructor, "prototype", {
9776
+ writable: false
9777
+ });
9860
9778
  return Constructor;
9861
9779
  }
9862
9780
 
9863
- function _setPrototypeOf(o, p) {
9864
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
9865
- o.__proto__ = p;
9866
- return o;
9867
- };
9868
-
9869
- return _setPrototypeOf(o, p);
9870
- }
9871
-
9872
9781
  function _inherits$3(subClass, superClass) {
9873
9782
  if (typeof superClass !== "function" && superClass !== null) {
9874
9783
  throw new TypeError("Super expression must either be null or a function");
9875
9784
  }
9876
9785
 
9877
- subClass.prototype = Object.create(superClass && superClass.prototype, {
9878
- constructor: {
9879
- value: subClass,
9880
- writable: true,
9881
- configurable: true
9882
- }
9786
+ Object.defineProperty(subClass, "prototype", {
9787
+ value: Object.create(superClass && superClass.prototype, {
9788
+ constructor: {
9789
+ value: subClass,
9790
+ writable: true,
9791
+ configurable: true
9792
+ }
9793
+ }),
9794
+ writable: false
9883
9795
  });
9884
9796
  if (superClass) _setPrototypeOf(subClass, superClass);
9885
9797
  }
@@ -10054,7 +9966,7 @@ function classNames(prefix, state, className) {
10054
9966
  // ==============================
10055
9967
 
10056
9968
  var cleanValue = function cleanValue(value) {
10057
- if (isArray$1(value)) return value.filter(Boolean);
9969
+ if (isArray$2(value)) return value.filter(Boolean);
10058
9970
  if (_typeof$1(value) === 'object' && value !== null) return [value];
10059
9971
  return [];
10060
9972
  }; // ==============================
@@ -10222,18 +10134,18 @@ var options = {
10222
10134
 
10223
10135
  }; // check for SSR
10224
10136
 
10225
- var w$1 = typeof window !== 'undefined' ? window : {};
10137
+ var w = typeof window !== 'undefined' ? window : {};
10226
10138
 
10227
- if (w$1.addEventListener && w$1.removeEventListener) {
10228
- w$1.addEventListener('p', noop$1, options);
10229
- w$1.removeEventListener('p', noop$1, false);
10139
+ if (w.addEventListener && w.removeEventListener) {
10140
+ w.addEventListener('p', noop$1, options);
10141
+ w.removeEventListener('p', noop$1, false);
10230
10142
  }
10231
10143
 
10232
10144
  var supportsPassiveEvents = passiveOptionAccessed;
10233
10145
  function notNullish(item) {
10234
10146
  return item != null;
10235
10147
  }
10236
- function isArray$1(arg) {
10148
+ function isArray$2(arg) {
10237
10149
  return Array.isArray(arg);
10238
10150
  }
10239
10151
  function valueTernary(isMulti, multiValue, singleValue) {
@@ -10740,10 +10652,11 @@ var SelectContainer = function SelectContainer(props) {
10740
10652
  var valueContainerCSS = function valueContainerCSS(_ref2) {
10741
10653
  var spacing = _ref2.theme.spacing,
10742
10654
  isMulti = _ref2.isMulti,
10743
- hasValue = _ref2.hasValue;
10655
+ hasValue = _ref2.hasValue,
10656
+ controlShouldRenderValue = _ref2.selectProps.controlShouldRenderValue;
10744
10657
  return {
10745
10658
  alignItems: 'center',
10746
- display: isMulti && hasValue ? 'flex' : 'grid',
10659
+ display: isMulti && hasValue && controlShouldRenderValue ? 'flex' : 'grid',
10747
10660
  flex: 1,
10748
10661
  flexWrap: 'wrap',
10749
10662
  padding: "".concat(spacing.baseUnit / 2, "px ").concat(spacing.baseUnit * 2, "px"),
@@ -11109,6 +11022,7 @@ var GroupHeading = function GroupHeading(props) {
11109
11022
  var _excluded$4 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
11110
11023
  var inputCSS = function inputCSS(_ref) {
11111
11024
  var isDisabled = _ref.isDisabled,
11025
+ value = _ref.value,
11112
11026
  _ref$theme = _ref.theme,
11113
11027
  spacing = _ref$theme.spacing,
11114
11028
  colors = _ref$theme.colors;
@@ -11117,7 +11031,10 @@ var inputCSS = function inputCSS(_ref) {
11117
11031
  paddingBottom: spacing.baseUnit / 2,
11118
11032
  paddingTop: spacing.baseUnit / 2,
11119
11033
  visibility: isDisabled ? 'hidden' : 'visible',
11120
- color: colors.neutral80
11034
+ color: colors.neutral80,
11035
+ // force css to recompute when value change due to @emotion bug.
11036
+ // We can remove it whenever the bug is fixed.
11037
+ transform: value ? 'translateZ(0)' : ''
11121
11038
  }, containerStyle);
11122
11039
  };
11123
11040
  var spacingStyle = {
@@ -12710,10 +12627,12 @@ var Select$2 = /*#__PURE__*/function (_Component) {
12710
12627
  _this.setValue = function (newValue, action, option) {
12711
12628
  var _this$props2 = _this.props,
12712
12629
  closeMenuOnSelect = _this$props2.closeMenuOnSelect,
12713
- isMulti = _this$props2.isMulti;
12630
+ isMulti = _this$props2.isMulti,
12631
+ inputValue = _this$props2.inputValue;
12714
12632
 
12715
12633
  _this.onInputChange('', {
12716
- action: 'set-value'
12634
+ action: 'set-value',
12635
+ prevInputValue: inputValue
12717
12636
  });
12718
12637
 
12719
12638
  if (closeMenuOnSelect) {
@@ -13041,6 +12960,7 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13041
12960
  };
13042
12961
 
13043
12962
  _this.handleInputChange = function (event) {
12963
+ var prevInputValue = _this.props.inputValue;
13044
12964
  var inputValue = event.currentTarget.value;
13045
12965
 
13046
12966
  _this.setState({
@@ -13048,7 +12968,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13048
12968
  });
13049
12969
 
13050
12970
  _this.onInputChange(inputValue, {
13051
- action: 'input-change'
12971
+ action: 'input-change',
12972
+ prevInputValue: prevInputValue
13052
12973
  });
13053
12974
 
13054
12975
  if (!_this.props.menuIsOpen) {
@@ -13074,6 +12995,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13074
12995
  };
13075
12996
 
13076
12997
  _this.onInputBlur = function (event) {
12998
+ var prevInputValue = _this.props.inputValue;
12999
+
13077
13000
  if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
13078
13001
  _this.inputRef.focus();
13079
13002
 
@@ -13085,7 +13008,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13085
13008
  }
13086
13009
 
13087
13010
  _this.onInputChange('', {
13088
- action: 'input-blur'
13011
+ action: 'input-blur',
13012
+ prevInputValue: prevInputValue
13089
13013
  });
13090
13014
 
13091
13015
  _this.onMenuClose();
@@ -13210,7 +13134,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13210
13134
  });
13211
13135
 
13212
13136
  _this.onInputChange('', {
13213
- action: 'menu-close'
13137
+ action: 'menu-close',
13138
+ prevInputValue: inputValue
13214
13139
  });
13215
13140
 
13216
13141
  _this.onMenuClose();
@@ -13358,7 +13283,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13358
13283
  key: "onMenuClose",
13359
13284
  value: function onMenuClose() {
13360
13285
  this.onInputChange('', {
13361
- action: 'menu-close'
13286
+ action: 'menu-close',
13287
+ prevInputValue: this.props.inputValue
13362
13288
  });
13363
13289
  this.props.onMenuClose();
13364
13290
  }
@@ -13763,6 +13689,7 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13763
13689
  if (isMulti) {
13764
13690
  return selectValue.map(function (opt, index) {
13765
13691
  var isOptionFocused = opt === focusedValue;
13692
+ var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
13766
13693
  return /*#__PURE__*/React__default["default"].createElement(MultiValue, _extends$1({}, commonProps, {
13767
13694
  components: {
13768
13695
  Container: MultiValueContainer,
@@ -13771,7 +13698,7 @@ var Select$2 = /*#__PURE__*/function (_Component) {
13771
13698
  },
13772
13699
  isFocused: isOptionFocused,
13773
13700
  isDisabled: isDisabled,
13774
- key: "".concat(_this3.getOptionValue(opt), "-").concat(index),
13701
+ key: key,
13775
13702
  index: index,
13776
13703
  removeProps: {
13777
13704
  onClick: function onClick() {
@@ -15572,18 +15499,17 @@ function _interopRequireDefault(obj) {
15572
15499
  };
15573
15500
  }
15574
15501
 
15575
- module.exports = _interopRequireDefault;
15576
- module.exports["default"] = module.exports, module.exports.__esModule = true;
15502
+ module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
15577
15503
  }(interopRequireDefault));
15578
15504
 
15579
15505
  var registerCSSInterfaceWithDefaultTheme = {};
15580
15506
 
15581
15507
  var dist = {};
15582
15508
 
15583
- var toStr$9 = Object.prototype.toString;
15509
+ var toStr$a = Object.prototype.toString;
15584
15510
 
15585
15511
  var isArguments = function isArguments(value) {
15586
- var str = toStr$9.call(value);
15512
+ var str = toStr$a.call(value);
15587
15513
  var isArgs = str === '[object Arguments]';
15588
15514
  if (!isArgs) {
15589
15515
  isArgs = str !== '[object Array]' &&
@@ -15591,7 +15517,7 @@ var isArguments = function isArguments(value) {
15591
15517
  typeof value === 'object' &&
15592
15518
  typeof value.length === 'number' &&
15593
15519
  value.length >= 0 &&
15594
- toStr$9.call(value.callee) === '[object Function]';
15520
+ toStr$a.call(value.callee) === '[object Function]';
15595
15521
  }
15596
15522
  return isArgs;
15597
15523
  };
@@ -15600,7 +15526,7 @@ var keysShim$1;
15600
15526
  if (!Object.keys) {
15601
15527
  // modified from https://github.com/es-shims/es5-shim
15602
15528
  var has$8 = Object.prototype.hasOwnProperty;
15603
- var toStr$8 = Object.prototype.toString;
15529
+ var toStr$9 = Object.prototype.toString;
15604
15530
  var isArgs$1 = isArguments; // eslint-disable-line global-require
15605
15531
  var isEnumerable$1 = Object.prototype.propertyIsEnumerable;
15606
15532
  var hasDontEnumBug = !isEnumerable$1.call({ toString: null }, 'toString');
@@ -15675,9 +15601,9 @@ if (!Object.keys) {
15675
15601
 
15676
15602
  keysShim$1 = function keys(object) {
15677
15603
  var isObject = object !== null && typeof object === 'object';
15678
- var isFunction = toStr$8.call(object) === '[object Function]';
15604
+ var isFunction = toStr$9.call(object) === '[object Function]';
15679
15605
  var isArguments = isArgs$1(object);
15680
- var isString = isObject && toStr$8.call(object) === '[object String]';
15606
+ var isString = isObject && toStr$9.call(object) === '[object String]';
15681
15607
  var theKeys = [];
15682
15608
 
15683
15609
  if (!isObject && !isFunction && !isArguments) {
@@ -15717,7 +15643,7 @@ if (!Object.keys) {
15717
15643
  }
15718
15644
  var implementation$p = keysShim$1;
15719
15645
 
15720
- var slice$2 = Array.prototype.slice;
15646
+ var slice$1 = Array.prototype.slice;
15721
15647
  var isArgs = isArguments;
15722
15648
 
15723
15649
  var origKeys = Object.keys;
@@ -15735,7 +15661,7 @@ keysShim.shim = function shimObjectKeys() {
15735
15661
  if (!keysWorksWithArguments) {
15736
15662
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
15737
15663
  if (isArgs(object)) {
15738
- return originalKeys(slice$2.call(object));
15664
+ return originalKeys(slice$1.call(object));
15739
15665
  }
15740
15666
  return originalKeys(object);
15741
15667
  };
@@ -15751,12 +15677,12 @@ var objectKeys = keysShim;
15751
15677
  var keys$1 = objectKeys;
15752
15678
  var hasSymbols$6 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
15753
15679
 
15754
- var toStr$7 = Object.prototype.toString;
15680
+ var toStr$8 = Object.prototype.toString;
15755
15681
  var concat = Array.prototype.concat;
15756
15682
  var origDefineProperty = Object.defineProperty;
15757
15683
 
15758
15684
  var isFunction = function (fn) {
15759
- return typeof fn === 'function' && toStr$7.call(fn) === '[object Function]';
15685
+ return typeof fn === 'function' && toStr$8.call(fn) === '[object Function]';
15760
15686
  };
15761
15687
 
15762
15688
  var arePropertyDescriptorsSupported = function () {
@@ -15810,23 +15736,23 @@ var callBind$8 = {exports: {}};
15810
15736
  /* eslint no-invalid-this: 1 */
15811
15737
 
15812
15738
  var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
15813
- var slice$1 = Array.prototype.slice;
15814
- var toStr$6 = Object.prototype.toString;
15739
+ var slice = Array.prototype.slice;
15740
+ var toStr$7 = Object.prototype.toString;
15815
15741
  var funcType = '[object Function]';
15816
15742
 
15817
15743
  var implementation$o = function bind(that) {
15818
15744
  var target = this;
15819
- if (typeof target !== 'function' || toStr$6.call(target) !== funcType) {
15745
+ if (typeof target !== 'function' || toStr$7.call(target) !== funcType) {
15820
15746
  throw new TypeError(ERROR_MESSAGE + target);
15821
15747
  }
15822
- var args = slice$1.call(arguments, 1);
15748
+ var args = slice.call(arguments, 1);
15823
15749
 
15824
15750
  var bound;
15825
15751
  var binder = function () {
15826
15752
  if (this instanceof bound) {
15827
15753
  var result = target.apply(
15828
15754
  this,
15829
- args.concat(slice$1.call(arguments))
15755
+ args.concat(slice.call(arguments))
15830
15756
  );
15831
15757
  if (Object(result) === result) {
15832
15758
  return result;
@@ -15835,7 +15761,7 @@ var implementation$o = function bind(that) {
15835
15761
  } else {
15836
15762
  return target.apply(
15837
15763
  that,
15838
- args.concat(slice$1.call(arguments))
15764
+ args.concat(slice.call(arguments))
15839
15765
  );
15840
15766
  }
15841
15767
  };
@@ -15921,7 +15847,7 @@ var src$1 = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
15921
15847
 
15922
15848
  var undefined$1;
15923
15849
 
15924
- var $SyntaxError$1 = SyntaxError;
15850
+ var $SyntaxError$2 = SyntaxError;
15925
15851
  var $Function = Function;
15926
15852
  var $TypeError$h = TypeError;
15927
15853
 
@@ -16022,7 +15948,7 @@ var INTRINSICS = {
16022
15948
  '%String%': String,
16023
15949
  '%StringIteratorPrototype%': hasSymbols$4 ? getProto(''[Symbol.iterator]()) : undefined$1,
16024
15950
  '%Symbol%': hasSymbols$4 ? Symbol : undefined$1,
16025
- '%SyntaxError%': $SyntaxError$1,
15951
+ '%SyntaxError%': $SyntaxError$2,
16026
15952
  '%ThrowTypeError%': ThrowTypeError,
16027
15953
  '%TypedArray%': TypedArray,
16028
15954
  '%TypeError%': $TypeError$h,
@@ -16117,21 +16043,21 @@ var LEGACY_ALIASES = {
16117
16043
 
16118
16044
  var bind = functionBind;
16119
16045
  var hasOwn$1 = src$1;
16120
- var $concat = bind.call(Function.call, Array.prototype.concat);
16046
+ var $concat$1 = bind.call(Function.call, Array.prototype.concat);
16121
16047
  var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
16122
16048
  var $replace$2 = bind.call(Function.call, String.prototype.replace);
16123
- var $strSlice$2 = bind.call(Function.call, String.prototype.slice);
16049
+ var $strSlice$1 = bind.call(Function.call, String.prototype.slice);
16124
16050
 
16125
16051
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
16126
16052
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
16127
16053
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
16128
16054
  var stringToPath = function stringToPath(string) {
16129
- var first = $strSlice$2(string, 0, 1);
16130
- var last = $strSlice$2(string, -1);
16055
+ var first = $strSlice$1(string, 0, 1);
16056
+ var last = $strSlice$1(string, -1);
16131
16057
  if (first === '%' && last !== '%') {
16132
- throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
16058
+ throw new $SyntaxError$2('invalid intrinsic syntax, expected closing `%`');
16133
16059
  } else if (last === '%' && first !== '%') {
16134
- throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
16060
+ throw new $SyntaxError$2('invalid intrinsic syntax, expected opening `%`');
16135
16061
  }
16136
16062
  var result = [];
16137
16063
  $replace$2(string, rePropName, function (match, number, quote, subString) {
@@ -16165,7 +16091,7 @@ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
16165
16091
  };
16166
16092
  }
16167
16093
 
16168
- throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
16094
+ throw new $SyntaxError$2('intrinsic ' + name + ' does not exist!');
16169
16095
  };
16170
16096
 
16171
16097
  var getIntrinsic = function GetIntrinsic(name, allowMissing) {
@@ -16187,13 +16113,13 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
16187
16113
  var alias = intrinsic.alias;
16188
16114
  if (alias) {
16189
16115
  intrinsicBaseName = alias[0];
16190
- $spliceApply(parts, $concat([0, 1], alias));
16116
+ $spliceApply(parts, $concat$1([0, 1], alias));
16191
16117
  }
16192
16118
 
16193
16119
  for (var i = 1, isOwn = true; i < parts.length; i += 1) {
16194
16120
  var part = parts[i];
16195
- var first = $strSlice$2(part, 0, 1);
16196
- var last = $strSlice$2(part, -1);
16121
+ var first = $strSlice$1(part, 0, 1);
16122
+ var last = $strSlice$1(part, -1);
16197
16123
  if (
16198
16124
  (
16199
16125
  (first === '"' || first === "'" || first === '`')
@@ -16201,7 +16127,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
16201
16127
  )
16202
16128
  && first !== last
16203
16129
  ) {
16204
- throw new $SyntaxError$1('property names with quotes must have matching quotes');
16130
+ throw new $SyntaxError$2('property names with quotes must have matching quotes');
16205
16131
  }
16206
16132
  if (part === 'constructor' || !isOwn) {
16207
16133
  skipFurtherCaching = true;
@@ -16297,6 +16223,140 @@ if ($defineProperty) {
16297
16223
  }
16298
16224
  }(callBind$8));
16299
16225
 
16226
+ var GetIntrinsic$u = getIntrinsic;
16227
+
16228
+ var $abs$1 = GetIntrinsic$u('%Math.abs%');
16229
+
16230
+ // http://262.ecma-international.org/5.1/#sec-5.2
16231
+
16232
+ var abs$3 = function abs(x) {
16233
+ return $abs$1(x);
16234
+ };
16235
+
16236
+ // var modulo = require('./modulo');
16237
+ var $floor$2 = Math.floor;
16238
+
16239
+ // http://262.ecma-international.org/5.1/#sec-5.2
16240
+
16241
+ var floor$3 = function floor(x) {
16242
+ // return x - modulo(x, 1);
16243
+ return $floor$2(x);
16244
+ };
16245
+
16246
+ // https://262.ecma-international.org/5.1/#sec-8
16247
+
16248
+ var Type$e = function Type(x) {
16249
+ if (x === null) {
16250
+ return 'Null';
16251
+ }
16252
+ if (typeof x === 'undefined') {
16253
+ return 'Undefined';
16254
+ }
16255
+ if (typeof x === 'function' || typeof x === 'object') {
16256
+ return 'Object';
16257
+ }
16258
+ if (typeof x === 'number') {
16259
+ return 'Number';
16260
+ }
16261
+ if (typeof x === 'boolean') {
16262
+ return 'Boolean';
16263
+ }
16264
+ if (typeof x === 'string') {
16265
+ return 'String';
16266
+ }
16267
+ };
16268
+
16269
+ var ES5Type = Type$e;
16270
+
16271
+ // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
16272
+
16273
+ var Type$d = function Type(x) {
16274
+ if (typeof x === 'symbol') {
16275
+ return 'Symbol';
16276
+ }
16277
+ if (typeof x === 'bigint') {
16278
+ return 'BigInt';
16279
+ }
16280
+ return ES5Type(x);
16281
+ };
16282
+
16283
+ var _isNaN = Number.isNaN || function isNaN(a) {
16284
+ return a !== a;
16285
+ };
16286
+
16287
+ var $isNaN$3 = Number.isNaN || function (a) { return a !== a; };
16288
+
16289
+ var _isFinite = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN$3(x) && x !== Infinity && x !== -Infinity; };
16290
+
16291
+ var abs$2 = abs$3;
16292
+ var floor$2 = floor$3;
16293
+ var Type$c = Type$d;
16294
+
16295
+ var $isNaN$2 = _isNaN;
16296
+ var $isFinite$1 = _isFinite;
16297
+
16298
+ // https://tc39.es/ecma262/#sec-isintegralnumber
16299
+
16300
+ var IsIntegralNumber$2 = function IsIntegralNumber(argument) {
16301
+ if (Type$c(argument) !== 'Number' || $isNaN$2(argument) || !$isFinite$1(argument)) {
16302
+ return false;
16303
+ }
16304
+ var absValue = abs$2(argument);
16305
+ return floor$2(absValue) === absValue;
16306
+ };
16307
+
16308
+ var GetIntrinsic$t = getIntrinsic;
16309
+
16310
+ var $ArrayPrototype = GetIntrinsic$t('%Array.prototype%');
16311
+ var $RangeError = GetIntrinsic$t('%RangeError%');
16312
+ var $SyntaxError$1 = GetIntrinsic$t('%SyntaxError%');
16313
+ var $TypeError$g = GetIntrinsic$t('%TypeError%');
16314
+
16315
+ var IsIntegralNumber$1 = IsIntegralNumber$2;
16316
+
16317
+ var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;
16318
+
16319
+ var $setProto = GetIntrinsic$t('%Object.setPrototypeOf%', true) || (
16320
+ // eslint-disable-next-line no-proto, no-negated-condition
16321
+ [].__proto__ !== $ArrayPrototype
16322
+ ? null
16323
+ : function (O, proto) {
16324
+ O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign
16325
+ return O;
16326
+ }
16327
+ );
16328
+
16329
+ // https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate
16330
+
16331
+ var ArrayCreate$1 = function ArrayCreate(length) {
16332
+ if (!IsIntegralNumber$1(length) || length < 0) {
16333
+ throw new $TypeError$g('Assertion failed: `length` must be an integer Number >= 0');
16334
+ }
16335
+ if (length > MAX_ARRAY_LENGTH) {
16336
+ throw new $RangeError('length is greater than (2**32 - 1)');
16337
+ }
16338
+ var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;
16339
+ var A = []; // steps 3, 5
16340
+ if (proto !== $ArrayPrototype) { // step 4
16341
+ if (!$setProto) {
16342
+ throw new $SyntaxError$1('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');
16343
+ }
16344
+ $setProto(A, proto);
16345
+ }
16346
+ if (length !== 0) { // bypasses the need for step 6
16347
+ A.length = length;
16348
+ }
16349
+ /* step 6, the above as a shortcut for the below
16350
+ OrdinaryDefineOwnProperty(A, 'length', {
16351
+ '[[Configurable]]': false,
16352
+ '[[Enumerable]]': false,
16353
+ '[[Value]]': length,
16354
+ '[[Writable]]': true
16355
+ });
16356
+ */
16357
+ return A;
16358
+ };
16359
+
16300
16360
  var util$1 = {};
16301
16361
 
16302
16362
  var isBuffer = function isBuffer(arg) {
@@ -17062,11 +17122,24 @@ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
17062
17122
  var booleanValueOf = Boolean.prototype.valueOf;
17063
17123
  var objectToString$2 = Object.prototype.toString;
17064
17124
  var functionToString = Function.prototype.toString;
17065
- var match = String.prototype.match;
17125
+ var $match$1 = String.prototype.match;
17126
+ var $slice$1 = String.prototype.slice;
17127
+ var $replace$1 = String.prototype.replace;
17128
+ var $toUpperCase = String.prototype.toUpperCase;
17129
+ var $toLowerCase = String.prototype.toLowerCase;
17130
+ var $test$1 = RegExp.prototype.test;
17131
+ var $concat = Array.prototype.concat;
17132
+ var $join = Array.prototype.join;
17133
+ var $arrSlice = Array.prototype.slice;
17134
+ var $floor$1 = Math.floor;
17066
17135
  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
17067
17136
  var gOPS = Object.getOwnPropertySymbols;
17068
17137
  var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
17069
17138
  var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
17139
+ // ie, `has-tostringtag/shams
17140
+ var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
17141
+ ? Symbol.toStringTag
17142
+ : null;
17070
17143
  var isEnumerable = Object.prototype.propertyIsEnumerable;
17071
17144
 
17072
17145
  var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
@@ -17077,9 +17150,30 @@ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPr
17077
17150
  : null
17078
17151
  );
17079
17152
 
17153
+ function addNumericSeparator(num, str) {
17154
+ if (
17155
+ num === Infinity
17156
+ || num === -Infinity
17157
+ || num !== num
17158
+ || (num && num > -1000 && num < 1000)
17159
+ || $test$1.call(/e/, str)
17160
+ ) {
17161
+ return str;
17162
+ }
17163
+ var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
17164
+ if (typeof num === 'number') {
17165
+ var int = num < 0 ? -$floor$1(-num) : $floor$1(num); // trunc(num)
17166
+ if (int !== num) {
17167
+ var intStr = String(int);
17168
+ var dec = $slice$1.call(str, intStr.length + 1);
17169
+ return $replace$1.call(intStr, sepRegex, '$&_') + '.' + $replace$1.call($replace$1.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
17170
+ }
17171
+ }
17172
+ return $replace$1.call(str, sepRegex, '$&_');
17173
+ }
17174
+
17080
17175
  var inspectCustom = util_inspect.custom;
17081
17176
  var inspectSymbol = inspectCustom && isSymbol$5(inspectCustom) ? inspectCustom : null;
17082
- var toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;
17083
17177
 
17084
17178
  var objectInspect = function inspect_(obj, options, depth, seen) {
17085
17179
  var opts = options || {};
@@ -17106,8 +17200,12 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
17106
17200
  && opts.indent !== '\t'
17107
17201
  && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
17108
17202
  ) {
17109
- throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');
17203
+ throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
17204
+ }
17205
+ if (has$7(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
17206
+ throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
17110
17207
  }
17208
+ var numericSeparator = opts.numericSeparator;
17111
17209
 
17112
17210
  if (typeof obj === 'undefined') {
17113
17211
  return 'undefined';
@@ -17126,16 +17224,18 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
17126
17224
  if (obj === 0) {
17127
17225
  return Infinity / obj > 0 ? '0' : '-0';
17128
17226
  }
17129
- return String(obj);
17227
+ var str = String(obj);
17228
+ return numericSeparator ? addNumericSeparator(obj, str) : str;
17130
17229
  }
17131
17230
  if (typeof obj === 'bigint') {
17132
- return String(obj) + 'n';
17231
+ var bigIntStr = String(obj) + 'n';
17232
+ return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
17133
17233
  }
17134
17234
 
17135
17235
  var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
17136
17236
  if (typeof depth === 'undefined') { depth = 0; }
17137
17237
  if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
17138
- return isArray(obj) ? '[Array]' : '[Object]';
17238
+ return isArray$1(obj) ? '[Array]' : '[Object]';
17139
17239
  }
17140
17240
 
17141
17241
  var indent = getIndent(opts, depth);
@@ -17148,7 +17248,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
17148
17248
 
17149
17249
  function inspect(value, from, noIndent) {
17150
17250
  if (from) {
17151
- seen = seen.slice();
17251
+ seen = $arrSlice.call(seen);
17152
17252
  seen.push(from);
17153
17253
  }
17154
17254
  if (noIndent) {
@@ -17166,35 +17266,38 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
17166
17266
  if (typeof obj === 'function') {
17167
17267
  var name = nameOf(obj);
17168
17268
  var keys = arrObjKeys(obj, inspect);
17169
- return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');
17269
+ return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
17170
17270
  }
17171
17271
  if (isSymbol$5(obj)) {
17172
- var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
17272
+ var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
17173
17273
  return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
17174
17274
  }
17175
17275
  if (isElement(obj)) {
17176
- var s = '<' + String(obj.nodeName).toLowerCase();
17276
+ var s = '<' + $toLowerCase.call(String(obj.nodeName));
17177
17277
  var attrs = obj.attributes || [];
17178
17278
  for (var i = 0; i < attrs.length; i++) {
17179
17279
  s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
17180
17280
  }
17181
17281
  s += '>';
17182
17282
  if (obj.childNodes && obj.childNodes.length) { s += '...'; }
17183
- s += '</' + String(obj.nodeName).toLowerCase() + '>';
17283
+ s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
17184
17284
  return s;
17185
17285
  }
17186
- if (isArray(obj)) {
17286
+ if (isArray$1(obj)) {
17187
17287
  if (obj.length === 0) { return '[]'; }
17188
17288
  var xs = arrObjKeys(obj, inspect);
17189
17289
  if (indent && !singleLineValues(xs)) {
17190
17290
  return '[' + indentedJoin(xs, indent) + ']';
17191
17291
  }
17192
- return '[ ' + xs.join(', ') + ' ]';
17292
+ return '[ ' + $join.call(xs, ', ') + ' ]';
17193
17293
  }
17194
17294
  if (isError(obj)) {
17195
17295
  var parts = arrObjKeys(obj, inspect);
17296
+ if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
17297
+ return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
17298
+ }
17196
17299
  if (parts.length === 0) { return '[' + String(obj) + ']'; }
17197
- return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';
17300
+ return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
17198
17301
  }
17199
17302
  if (typeof obj === 'object' && customInspect) {
17200
17303
  if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
@@ -17242,14 +17345,14 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
17242
17345
  var ys = arrObjKeys(obj, inspect);
17243
17346
  var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
17244
17347
  var protoTag = obj instanceof Object ? '' : 'null prototype';
17245
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr$5(obj).slice(8, -1) : protoTag ? 'Object' : '';
17348
+ var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice$1.call(toStr$6(obj), 8, -1) : protoTag ? 'Object' : '';
17246
17349
  var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
17247
- var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');
17350
+ var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
17248
17351
  if (ys.length === 0) { return tag + '{}'; }
17249
17352
  if (indent) {
17250
17353
  return tag + '{' + indentedJoin(ys, indent) + '}';
17251
17354
  }
17252
- return tag + '{ ' + ys.join(', ') + ' }';
17355
+ return tag + '{ ' + $join.call(ys, ', ') + ' }';
17253
17356
  }
17254
17357
  return String(obj);
17255
17358
  };
@@ -17260,16 +17363,16 @@ function wrapQuotes(s, defaultStyle, opts) {
17260
17363
  }
17261
17364
 
17262
17365
  function quote(s) {
17263
- return String(s).replace(/"/g, '&quot;');
17366
+ return $replace$1.call(String(s), /"/g, '&quot;');
17264
17367
  }
17265
17368
 
17266
- function isArray(obj) { return toStr$5(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17267
- function isDate$1(obj) { return toStr$5(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17268
- function isRegExp(obj) { return toStr$5(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17269
- function isError(obj) { return toStr$5(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17270
- function isString(obj) { return toStr$5(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17271
- function isNumber(obj) { return toStr$5(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17272
- function isBoolean(obj) { return toStr$5(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17369
+ function isArray$1(obj) { return toStr$6(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17370
+ function isDate$1(obj) { return toStr$6(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17371
+ function isRegExp(obj) { return toStr$6(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17372
+ function isError(obj) { return toStr$6(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17373
+ function isString(obj) { return toStr$6(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17374
+ function isNumber(obj) { return toStr$6(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17375
+ function isBoolean(obj) { return toStr$6(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
17273
17376
 
17274
17377
  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
17275
17378
  function isSymbol$5(obj) {
@@ -17305,13 +17408,13 @@ function has$7(obj, key) {
17305
17408
  return hasOwn.call(obj, key);
17306
17409
  }
17307
17410
 
17308
- function toStr$5(obj) {
17411
+ function toStr$6(obj) {
17309
17412
  return objectToString$2.call(obj);
17310
17413
  }
17311
17414
 
17312
17415
  function nameOf(f) {
17313
17416
  if (f.name) { return f.name; }
17314
- var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/);
17417
+ var m = $match$1.call(functionToString.call(f), /^function\s*([\w$]+)/);
17315
17418
  if (m) { return m[1]; }
17316
17419
  return null;
17317
17420
  }
@@ -17411,10 +17514,10 @@ function inspectString(str, opts) {
17411
17514
  if (str.length > opts.maxStringLength) {
17412
17515
  var remaining = str.length - opts.maxStringLength;
17413
17516
  var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
17414
- return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;
17517
+ return inspectString($slice$1.call(str, 0, opts.maxStringLength), opts) + trailer;
17415
17518
  }
17416
17519
  // eslint-disable-next-line no-control-regex
17417
- var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte);
17520
+ var s = $replace$1.call($replace$1.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
17418
17521
  return wrapQuotes(s, 'single', opts);
17419
17522
  }
17420
17523
 
@@ -17428,7 +17531,7 @@ function lowbyte(c) {
17428
17531
  13: 'r'
17429
17532
  }[n];
17430
17533
  if (x) { return '\\' + x; }
17431
- return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();
17534
+ return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
17432
17535
  }
17433
17536
 
17434
17537
  function markBoxed(str) {
@@ -17440,7 +17543,7 @@ function weakCollectionOf(type) {
17440
17543
  }
17441
17544
 
17442
17545
  function collectionOf(type, size, entries, indent) {
17443
- var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');
17546
+ var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
17444
17547
  return type + ' (' + size + ') {' + joinedEntries + '}';
17445
17548
  }
17446
17549
 
@@ -17458,24 +17561,24 @@ function getIndent(opts, depth) {
17458
17561
  if (opts.indent === '\t') {
17459
17562
  baseIndent = '\t';
17460
17563
  } else if (typeof opts.indent === 'number' && opts.indent > 0) {
17461
- baseIndent = Array(opts.indent + 1).join(' ');
17564
+ baseIndent = $join.call(Array(opts.indent + 1), ' ');
17462
17565
  } else {
17463
17566
  return null;
17464
17567
  }
17465
17568
  return {
17466
17569
  base: baseIndent,
17467
- prev: Array(depth + 1).join(baseIndent)
17570
+ prev: $join.call(Array(depth + 1), baseIndent)
17468
17571
  };
17469
17572
  }
17470
17573
 
17471
17574
  function indentedJoin(xs, indent) {
17472
17575
  if (xs.length === 0) { return ''; }
17473
17576
  var lineJoiner = '\n' + indent.prev + indent.base;
17474
- return lineJoiner + xs.join(',' + lineJoiner) + '\n' + indent.prev;
17577
+ return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
17475
17578
  }
17476
17579
 
17477
17580
  function arrObjKeys(obj, inspect) {
17478
- var isArr = isArray(obj);
17581
+ var isArr = isArray$1(obj);
17479
17582
  var xs = [];
17480
17583
  if (isArr) {
17481
17584
  xs.length = obj.length;
@@ -17498,7 +17601,7 @@ function arrObjKeys(obj, inspect) {
17498
17601
  if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
17499
17602
  // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
17500
17603
  continue; // eslint-disable-line no-restricted-syntax, no-continue
17501
- } else if ((/[^\w$]/).test(key)) {
17604
+ } else if ($test$1.call(/[^\w$]/, key)) {
17502
17605
  xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
17503
17606
  } else {
17504
17607
  xs.push(key + ': ' + inspect(obj[key], obj));
@@ -17520,51 +17623,14 @@ var IsPropertyKey$6 = function IsPropertyKey(argument) {
17520
17623
  return typeof argument === 'string' || typeof argument === 'symbol';
17521
17624
  };
17522
17625
 
17523
- // https://262.ecma-international.org/5.1/#sec-8
17524
-
17525
- var Type$d = function Type(x) {
17526
- if (x === null) {
17527
- return 'Null';
17528
- }
17529
- if (typeof x === 'undefined') {
17530
- return 'Undefined';
17531
- }
17532
- if (typeof x === 'function' || typeof x === 'object') {
17533
- return 'Object';
17534
- }
17535
- if (typeof x === 'number') {
17536
- return 'Number';
17537
- }
17538
- if (typeof x === 'boolean') {
17539
- return 'Boolean';
17540
- }
17541
- if (typeof x === 'string') {
17542
- return 'String';
17543
- }
17544
- };
17545
-
17546
- var ES5Type = Type$d;
17547
-
17548
- // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
17549
-
17550
- var Type$c = function Type(x) {
17551
- if (typeof x === 'symbol') {
17552
- return 'Symbol';
17553
- }
17554
- if (typeof x === 'bigint') {
17555
- return 'BigInt';
17556
- }
17557
- return ES5Type(x);
17558
- };
17559
-
17560
- var GetIntrinsic$u = getIntrinsic;
17626
+ var GetIntrinsic$s = getIntrinsic;
17561
17627
 
17562
- var $TypeError$g = GetIntrinsic$u('%TypeError%');
17628
+ var $TypeError$f = GetIntrinsic$s('%TypeError%');
17563
17629
 
17564
17630
  var inspect = objectInspect;
17565
17631
 
17566
17632
  var IsPropertyKey$5 = IsPropertyKey$6;
17567
- var Type$b = Type$c;
17633
+ var Type$b = Type$d;
17568
17634
 
17569
17635
  /**
17570
17636
  * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
@@ -17576,53 +17642,53 @@ var Type$b = Type$c;
17576
17642
  var Get$4 = function Get(O, P) {
17577
17643
  // 7.3.1.1
17578
17644
  if (Type$b(O) !== 'Object') {
17579
- throw new $TypeError$g('Assertion failed: Type(O) is not Object');
17645
+ throw new $TypeError$f('Assertion failed: Type(O) is not Object');
17580
17646
  }
17581
17647
  // 7.3.1.2
17582
17648
  if (!IsPropertyKey$5(P)) {
17583
- throw new $TypeError$g('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
17649
+ throw new $TypeError$f('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
17584
17650
  }
17585
17651
  // 7.3.1.3
17586
17652
  return O[P];
17587
17653
  };
17588
17654
 
17589
- var GetIntrinsic$t = getIntrinsic;
17655
+ var GetIntrinsic$r = getIntrinsic;
17590
17656
 
17591
17657
  var callBind$7 = callBind$8.exports;
17592
17658
 
17593
- var $indexOf = callBind$7(GetIntrinsic$t('String.prototype.indexOf'));
17659
+ var $indexOf = callBind$7(GetIntrinsic$r('String.prototype.indexOf'));
17594
17660
 
17595
17661
  var callBound$a = function callBoundIntrinsic(name, allowMissing) {
17596
- var intrinsic = GetIntrinsic$t(name, !!allowMissing);
17662
+ var intrinsic = GetIntrinsic$r(name, !!allowMissing);
17597
17663
  if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
17598
17664
  return callBind$7(intrinsic);
17599
17665
  }
17600
17666
  return intrinsic;
17601
17667
  };
17602
17668
 
17603
- var GetIntrinsic$s = getIntrinsic;
17669
+ var GetIntrinsic$q = getIntrinsic;
17604
17670
 
17605
- var $Array$1 = GetIntrinsic$s('%Array%');
17671
+ var $Array$1 = GetIntrinsic$q('%Array%');
17606
17672
 
17607
17673
  // eslint-disable-next-line global-require
17608
- var toStr$4 = !$Array$1.isArray && callBound$a('Object.prototype.toString');
17674
+ var toStr$5 = !$Array$1.isArray && callBound$a('Object.prototype.toString');
17609
17675
 
17610
17676
  // https://ecma-international.org/ecma-262/6.0/#sec-isarray
17611
17677
 
17612
- var IsArray$4 = $Array$1.isArray || function IsArray(argument) {
17613
- return toStr$4(argument) === '[object Array]';
17678
+ var IsArray$5 = $Array$1.isArray || function IsArray(argument) {
17679
+ return toStr$5(argument) === '[object Array]';
17614
17680
  };
17615
17681
 
17616
17682
  var IsConstructor$1 = {exports: {}};
17617
17683
 
17618
17684
  // TODO: remove, semver-major
17619
17685
 
17620
- var GetIntrinsic$r = getIntrinsic;
17686
+ var GetIntrinsic$p = getIntrinsic;
17621
17687
 
17622
- var GetIntrinsic$q = getIntrinsic;
17688
+ var GetIntrinsic$o = getIntrinsic;
17623
17689
 
17624
17690
  var has$6 = src$1;
17625
- var $TypeError$f = GetIntrinsic$q('%TypeError%');
17691
+ var $TypeError$e = GetIntrinsic$o('%TypeError%');
17626
17692
 
17627
17693
  var isPropertyDescriptor$1 = function IsPropertyDescriptor(ES, Desc) {
17628
17694
  if (ES.Type(Desc) !== 'Object') {
@@ -17644,14 +17710,27 @@ var isPropertyDescriptor$1 = function IsPropertyDescriptor(ES, Desc) {
17644
17710
  }
17645
17711
 
17646
17712
  if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {
17647
- throw new $TypeError$f('Property Descriptors may not be both accessor and data descriptors');
17713
+ throw new $TypeError$e('Property Descriptors may not be both accessor and data descriptors');
17648
17714
  }
17649
17715
  return true;
17650
17716
  };
17651
17717
 
17652
- var GetIntrinsic$p = getIntrinsic;
17718
+ var GetIntrinsic$n = getIntrinsic;
17653
17719
 
17654
- var $defineProperty = GetIntrinsic$p('%Object.defineProperty%', true);
17720
+ var $Array = GetIntrinsic$n('%Array%');
17721
+
17722
+ // eslint-disable-next-line global-require
17723
+ var toStr$4 = !$Array.isArray && callBound$a('Object.prototype.toString');
17724
+
17725
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
17726
+
17727
+ var IsArray$4 = $Array.isArray || function IsArray(argument) {
17728
+ return toStr$4(argument) === '[object Array]';
17729
+ };
17730
+
17731
+ var GetIntrinsic$m = getIntrinsic;
17732
+
17733
+ var $defineProperty = GetIntrinsic$m('%Object.defineProperty%', true);
17655
17734
 
17656
17735
  if ($defineProperty) {
17657
17736
  try {
@@ -17662,6 +17741,12 @@ if ($defineProperty) {
17662
17741
  }
17663
17742
  }
17664
17743
 
17744
+ // node v0.6 has a bug where array lengths can be Set but not Defined
17745
+ var hasArrayLengthDefineBug = Object.defineProperty && Object.defineProperty([], 'length', { value: 1 }).length === 0;
17746
+
17747
+ // eslint-disable-next-line global-require
17748
+ var isArray = hasArrayLengthDefineBug && IsArray$4; // this does not depend on any other AOs.
17749
+
17665
17750
  var callBound$9 = callBound$a;
17666
17751
 
17667
17752
  var $isEnumerable$3 = callBound$9('Object.prototype.propertyIsEnumerable');
@@ -17689,14 +17774,26 @@ var DefineOwnProperty$2 = function DefineOwnProperty(IsDataDescriptor, SameValue
17689
17774
  O[P] = V; // will use [[Define]]
17690
17775
  return SameValue(O[P], V);
17691
17776
  }
17777
+ if (
17778
+ hasArrayLengthDefineBug
17779
+ && P === 'length'
17780
+ && '[[Value]]' in desc
17781
+ && isArray(O)
17782
+ && O.length !== desc['[[Value]]']
17783
+ ) {
17784
+ // eslint-disable-next-line no-param-reassign
17785
+ O.length = desc['[[Value]]'];
17786
+ return O.length === desc['[[Value]]'];
17787
+ }
17788
+
17692
17789
  $defineProperty(O, P, FromPropertyDescriptor(desc));
17693
17790
  return true;
17694
17791
  };
17695
17792
 
17696
- var GetIntrinsic$o = getIntrinsic;
17793
+ var GetIntrinsic$l = getIntrinsic;
17697
17794
 
17698
- var $TypeError$e = GetIntrinsic$o('%TypeError%');
17699
- var $SyntaxError = GetIntrinsic$o('%SyntaxError%');
17795
+ var $TypeError$d = GetIntrinsic$l('%TypeError%');
17796
+ var $SyntaxError = GetIntrinsic$l('%SyntaxError%');
17700
17797
 
17701
17798
  var has$5 = src$1;
17702
17799
 
@@ -17724,7 +17821,7 @@ var predicates = {
17724
17821
  var isData = has$5(Desc, '[[Value]]');
17725
17822
  var IsAccessor = has$5(Desc, '[[Get]]') || has$5(Desc, '[[Set]]');
17726
17823
  if (isData && IsAccessor) {
17727
- throw new $TypeError$e('Property Descriptors may not be both accessor and data descriptors');
17824
+ throw new $TypeError$d('Property Descriptors may not be both accessor and data descriptors');
17728
17825
  }
17729
17826
  return true;
17730
17827
  }
@@ -17736,13 +17833,13 @@ var assertRecord$3 = function assertRecord(Type, recordType, argumentName, value
17736
17833
  throw new $SyntaxError('unknown record type: ' + recordType);
17737
17834
  }
17738
17835
  if (!predicate(Type, value)) {
17739
- throw new $TypeError$e(argumentName + ' must be a ' + recordType);
17836
+ throw new $TypeError$d(argumentName + ' must be a ' + recordType);
17740
17837
  }
17741
17838
  };
17742
17839
 
17743
17840
  var assertRecord$2 = assertRecord$3;
17744
17841
 
17745
- var Type$a = Type$c;
17842
+ var Type$a = Type$d;
17746
17843
 
17747
17844
  // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
17748
17845
 
@@ -17779,7 +17876,7 @@ var has$4 = src$1;
17779
17876
 
17780
17877
  var assertRecord$1 = assertRecord$3;
17781
17878
 
17782
- var Type$9 = Type$c;
17879
+ var Type$9 = Type$d;
17783
17880
 
17784
17881
  // https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor
17785
17882
 
@@ -17801,7 +17898,7 @@ var has$3 = src$1;
17801
17898
 
17802
17899
  var assertRecord = assertRecord$3;
17803
17900
 
17804
- var Type$8 = Type$c;
17901
+ var Type$8 = Type$d;
17805
17902
 
17806
17903
  // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
17807
17904
 
@@ -17819,11 +17916,7 @@ var IsDataDescriptor$2 = function IsDataDescriptor(Desc) {
17819
17916
  return true;
17820
17917
  };
17821
17918
 
17822
- var _isNaN = Number.isNaN || function isNaN(a) {
17823
- return a !== a;
17824
- };
17825
-
17826
- var $isNaN$3 = _isNaN;
17919
+ var $isNaN$1 = _isNaN;
17827
17920
 
17828
17921
  // http://262.ecma-international.org/5.1/#sec-9.12
17829
17922
 
@@ -17832,7 +17925,7 @@ var SameValue$2 = function SameValue(x, y) {
17832
17925
  if (x === 0) { return 1 / x === 1 / y; }
17833
17926
  return true;
17834
17927
  }
17835
- return $isNaN$3(x) && $isNaN$3(y);
17928
+ return $isNaN$1(x) && $isNaN$1(y);
17836
17929
  };
17837
17930
 
17838
17931
  // http://262.ecma-international.org/5.1/#sec-9.2
@@ -17914,23 +18007,23 @@ var isCallable$2 = reflectApply
17914
18007
 
17915
18008
  // http://262.ecma-international.org/5.1/#sec-9.11
17916
18009
 
17917
- var IsCallable$4 = isCallable$2;
18010
+ var IsCallable$3 = isCallable$2;
17918
18011
 
17919
18012
  var has$2 = src$1;
17920
18013
 
17921
- var GetIntrinsic$n = getIntrinsic;
18014
+ var GetIntrinsic$k = getIntrinsic;
17922
18015
 
17923
- var $TypeError$d = GetIntrinsic$n('%TypeError%');
18016
+ var $TypeError$c = GetIntrinsic$k('%TypeError%');
17924
18017
 
17925
- var Type$7 = Type$c;
18018
+ var Type$7 = Type$d;
17926
18019
  var ToBoolean$1 = ToBoolean$2;
17927
- var IsCallable$3 = IsCallable$4;
18020
+ var IsCallable$2 = IsCallable$3;
17928
18021
 
17929
18022
  // https://262.ecma-international.org/5.1/#sec-8.10.5
17930
18023
 
17931
18024
  var ToPropertyDescriptor$2 = function ToPropertyDescriptor(Obj) {
17932
18025
  if (Type$7(Obj) !== 'Object') {
17933
- throw new $TypeError$d('ToPropertyDescriptor requires an object');
18026
+ throw new $TypeError$c('ToPropertyDescriptor requires an object');
17934
18027
  }
17935
18028
 
17936
18029
  var desc = {};
@@ -17948,28 +18041,28 @@ var ToPropertyDescriptor$2 = function ToPropertyDescriptor(Obj) {
17948
18041
  }
17949
18042
  if (has$2(Obj, 'get')) {
17950
18043
  var getter = Obj.get;
17951
- if (typeof getter !== 'undefined' && !IsCallable$3(getter)) {
17952
- throw new $TypeError$d('getter must be a function');
18044
+ if (typeof getter !== 'undefined' && !IsCallable$2(getter)) {
18045
+ throw new $TypeError$c('getter must be a function');
17953
18046
  }
17954
18047
  desc['[[Get]]'] = getter;
17955
18048
  }
17956
18049
  if (has$2(Obj, 'set')) {
17957
18050
  var setter = Obj.set;
17958
- if (typeof setter !== 'undefined' && !IsCallable$3(setter)) {
17959
- throw new $TypeError$d('setter must be a function');
18051
+ if (typeof setter !== 'undefined' && !IsCallable$2(setter)) {
18052
+ throw new $TypeError$c('setter must be a function');
17960
18053
  }
17961
18054
  desc['[[Set]]'] = setter;
17962
18055
  }
17963
18056
 
17964
18057
  if ((has$2(desc, '[[Get]]') || has$2(desc, '[[Set]]')) && (has$2(desc, '[[Value]]') || has$2(desc, '[[Writable]]'))) {
17965
- throw new $TypeError$d('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
18058
+ throw new $TypeError$c('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
17966
18059
  }
17967
18060
  return desc;
17968
18061
  };
17969
18062
 
17970
- var GetIntrinsic$m = getIntrinsic;
18063
+ var GetIntrinsic$j = getIntrinsic;
17971
18064
 
17972
- var $TypeError$c = GetIntrinsic$m('%TypeError%');
18065
+ var $TypeError$b = GetIntrinsic$j('%TypeError%');
17973
18066
 
17974
18067
  var isPropertyDescriptor = isPropertyDescriptor$1;
17975
18068
  var DefineOwnProperty$1 = DefineOwnProperty$2;
@@ -17980,17 +18073,17 @@ var IsDataDescriptor$1 = IsDataDescriptor$2;
17980
18073
  var IsPropertyKey$4 = IsPropertyKey$6;
17981
18074
  var SameValue$1 = SameValue$2;
17982
18075
  var ToPropertyDescriptor$1 = ToPropertyDescriptor$2;
17983
- var Type$6 = Type$c;
18076
+ var Type$6 = Type$d;
17984
18077
 
17985
18078
  // https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow
17986
18079
 
17987
18080
  var DefinePropertyOrThrow$1 = function DefinePropertyOrThrow(O, P, desc) {
17988
18081
  if (Type$6(O) !== 'Object') {
17989
- throw new $TypeError$c('Assertion failed: Type(O) is not Object');
18082
+ throw new $TypeError$b('Assertion failed: Type(O) is not Object');
17990
18083
  }
17991
18084
 
17992
18085
  if (!IsPropertyKey$4(P)) {
17993
- throw new $TypeError$c('Assertion failed: IsPropertyKey(P) is not true');
18086
+ throw new $TypeError$b('Assertion failed: IsPropertyKey(P) is not true');
17994
18087
  }
17995
18088
 
17996
18089
  var Desc = isPropertyDescriptor({
@@ -18003,7 +18096,7 @@ var DefinePropertyOrThrow$1 = function DefinePropertyOrThrow(O, P, desc) {
18003
18096
  IsDataDescriptor: IsDataDescriptor$1,
18004
18097
  IsAccessorDescriptor: IsAccessorDescriptor
18005
18098
  }, Desc)) {
18006
- throw new $TypeError$c('Assertion failed: Desc is not a valid Property Descriptor');
18099
+ throw new $TypeError$b('Assertion failed: Desc is not a valid Property Descriptor');
18007
18100
  }
18008
18101
 
18009
18102
  return DefineOwnProperty$1(
@@ -18016,9 +18109,9 @@ var DefinePropertyOrThrow$1 = function DefinePropertyOrThrow(O, P, desc) {
18016
18109
  );
18017
18110
  };
18018
18111
 
18019
- var GetIntrinsic$l = GetIntrinsic$r;
18112
+ var GetIntrinsic$i = GetIntrinsic$p;
18020
18113
 
18021
- var $construct = GetIntrinsic$l('%Reflect.construct%', true);
18114
+ var $construct = GetIntrinsic$i('%Reflect.construct%', true);
18022
18115
 
18023
18116
  var DefinePropertyOrThrow = DefinePropertyOrThrow$1;
18024
18117
  try {
@@ -18055,119 +18148,81 @@ if (DefinePropertyOrThrow && $construct) {
18055
18148
  };
18056
18149
  }
18057
18150
 
18058
- var GetIntrinsic$k = getIntrinsic;
18059
-
18060
- var $abs$1 = GetIntrinsic$k('%Math.abs%');
18061
-
18062
- // http://262.ecma-international.org/5.1/#sec-5.2
18063
-
18064
- var abs$3 = function abs(x) {
18065
- return $abs$1(x);
18066
- };
18067
-
18068
- // var modulo = require('./modulo');
18069
- var $floor$1 = Math.floor;
18070
-
18071
- // http://262.ecma-international.org/5.1/#sec-5.2
18072
-
18073
- var floor$3 = function floor(x) {
18074
- // return x - modulo(x, 1);
18075
- return $floor$1(x);
18076
- };
18077
-
18078
- var $isNaN$2 = Number.isNaN || function (a) { return a !== a; };
18079
-
18080
- var _isFinite = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN$2(x) && x !== Infinity && x !== -Infinity; };
18081
-
18082
- var abs$2 = abs$3;
18083
- var floor$2 = floor$3;
18084
-
18085
- var $isNaN$1 = _isNaN;
18086
- var $isFinite$1 = _isFinite;
18087
-
18088
- // https://ecma-international.org/ecma-262/6.0/#sec-isinteger
18089
-
18090
- var IsInteger$1 = function IsInteger(argument) {
18091
- if (typeof argument !== 'number' || $isNaN$1(argument) || !$isFinite$1(argument)) {
18092
- return false;
18093
- }
18094
- var absValue = abs$2(argument);
18095
- return floor$2(absValue) === absValue;
18096
- };
18097
-
18098
- var GetIntrinsic$j = getIntrinsic;
18151
+ var GetIntrinsic$h = getIntrinsic;
18099
18152
 
18100
- var $Array = GetIntrinsic$j('%Array%');
18101
- var $species = GetIntrinsic$j('%Symbol.species%', true);
18102
- var $TypeError$b = GetIntrinsic$j('%TypeError%');
18153
+ var $species = GetIntrinsic$h('%Symbol.species%', true);
18154
+ var $TypeError$a = GetIntrinsic$h('%TypeError%');
18103
18155
 
18156
+ var ArrayCreate = ArrayCreate$1;
18104
18157
  var Get$3 = Get$4;
18105
- var IsArray$3 = IsArray$4;
18158
+ var IsArray$3 = IsArray$5;
18106
18159
  var IsConstructor = IsConstructor$1.exports;
18107
- var IsInteger = IsInteger$1;
18108
- var Type$5 = Type$c;
18160
+ var IsIntegralNumber = IsIntegralNumber$2;
18161
+ var Type$5 = Type$d;
18109
18162
 
18110
- // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate
18163
+ // https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate
18111
18164
 
18112
18165
  var ArraySpeciesCreate$1 = function ArraySpeciesCreate(originalArray, length) {
18113
- if (!IsInteger(length) || length < 0) {
18114
- throw new $TypeError$b('Assertion failed: length must be an integer >= 0');
18166
+ if (!IsIntegralNumber(length) || length < 0) {
18167
+ throw new $TypeError$a('Assertion failed: length must be an integer >= 0');
18115
18168
  }
18116
- var len = length === 0 ? 0 : length;
18117
- var C;
18169
+
18118
18170
  var isArray = IsArray$3(originalArray);
18119
- if (isArray) {
18120
- C = Get$3(originalArray, 'constructor');
18121
- // TODO: figure out how to make a cross-realm normal Array, a same-realm Array
18122
- // if (IsConstructor(C)) {
18123
- // if C is another realm's Array, C = undefined
18124
- // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
18125
- // }
18126
- if ($species && Type$5(C) === 'Object') {
18127
- C = Get$3(C, $species);
18128
- if (C === null) {
18129
- C = void 0;
18130
- }
18171
+ if (!isArray) {
18172
+ return ArrayCreate(length);
18173
+ }
18174
+
18175
+ var C = Get$3(originalArray, 'constructor');
18176
+ // TODO: figure out how to make a cross-realm normal Array, a same-realm Array
18177
+ // if (IsConstructor(C)) {
18178
+ // if C is another realm's Array, C = undefined
18179
+ // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
18180
+ // }
18181
+ if ($species && Type$5(C) === 'Object') {
18182
+ C = Get$3(C, $species);
18183
+ if (C === null) {
18184
+ C = void 0;
18131
18185
  }
18132
18186
  }
18187
+
18133
18188
  if (typeof C === 'undefined') {
18134
- return $Array(len);
18189
+ return ArrayCreate(length);
18135
18190
  }
18136
18191
  if (!IsConstructor(C)) {
18137
- throw new $TypeError$b('C must be a constructor');
18192
+ throw new $TypeError$a('C must be a constructor');
18138
18193
  }
18139
- return new C(len); // Construct(C, len);
18194
+ return new C(length); // Construct(C, length);
18140
18195
  };
18141
18196
 
18142
- var GetIntrinsic$i = getIntrinsic;
18197
+ var GetIntrinsic$g = getIntrinsic;
18143
18198
 
18144
- var $Math = GetIntrinsic$i('%Math%');
18145
- var $Number$2 = GetIntrinsic$i('%Number%');
18199
+ var $Math = GetIntrinsic$g('%Math%');
18200
+ var $Number$1 = GetIntrinsic$g('%Number%');
18146
18201
 
18147
- var maxSafeInteger = $Number$2.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;
18202
+ var maxSafeInteger = $Number$1.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;
18148
18203
 
18149
- var GetIntrinsic$h = getIntrinsic;
18204
+ var GetIntrinsic$f = getIntrinsic;
18150
18205
  var callBound$8 = callBound$a;
18151
18206
 
18152
- var $TypeError$a = GetIntrinsic$h('%TypeError%');
18207
+ var $TypeError$9 = GetIntrinsic$f('%TypeError%');
18153
18208
 
18154
- var IsArray$2 = IsArray$4;
18209
+ var IsArray$2 = IsArray$5;
18155
18210
 
18156
- var $apply = GetIntrinsic$h('%Reflect.apply%', true) || callBound$8('%Function.prototype.apply%');
18211
+ var $apply = GetIntrinsic$f('%Reflect.apply%', true) || callBound$8('%Function.prototype.apply%');
18157
18212
 
18158
18213
  // https://ecma-international.org/ecma-262/6.0/#sec-call
18159
18214
 
18160
18215
  var Call$1 = function Call(F, V) {
18161
18216
  var argumentsList = arguments.length > 2 ? arguments[2] : [];
18162
18217
  if (!IsArray$2(argumentsList)) {
18163
- throw new $TypeError$a('Assertion failed: optional `argumentsList`, if provided, must be a List');
18218
+ throw new $TypeError$9('Assertion failed: optional `argumentsList`, if provided, must be a List');
18164
18219
  }
18165
18220
  return $apply(F, V, argumentsList);
18166
18221
  };
18167
18222
 
18168
- var GetIntrinsic$g = getIntrinsic;
18223
+ var GetIntrinsic$e = getIntrinsic;
18169
18224
 
18170
- var $gOPD$1 = GetIntrinsic$g('%Object.getOwnPropertyDescriptor%');
18225
+ var $gOPD$1 = GetIntrinsic$e('%Object.getOwnPropertyDescriptor%', true);
18171
18226
  if ($gOPD$1) {
18172
18227
  try {
18173
18228
  $gOPD$1([], 'length');
@@ -18242,9 +18297,9 @@ var isRegex = hasToStringTag$1
18242
18297
  return $toString(value) === regexClass;
18243
18298
  };
18244
18299
 
18245
- var GetIntrinsic$f = getIntrinsic;
18300
+ var GetIntrinsic$d = getIntrinsic;
18246
18301
 
18247
- var $match = GetIntrinsic$f('%Symbol.match%', true);
18302
+ var $match = GetIntrinsic$d('%Symbol.match%', true);
18248
18303
 
18249
18304
  var hasRegExpMatcher = isRegex;
18250
18305
 
@@ -18265,10 +18320,10 @@ var IsRegExp$1 = function IsRegExp(argument) {
18265
18320
  return hasRegExpMatcher(argument);
18266
18321
  };
18267
18322
 
18268
- var GetIntrinsic$e = getIntrinsic;
18323
+ var GetIntrinsic$c = getIntrinsic;
18269
18324
 
18270
18325
  var $gOPD = getOwnPropertyDescriptor;
18271
- var $TypeError$9 = GetIntrinsic$e('%TypeError%');
18326
+ var $TypeError$8 = GetIntrinsic$c('%TypeError%');
18272
18327
 
18273
18328
  var callBound$6 = callBound$a;
18274
18329
 
@@ -18276,20 +18331,20 @@ var $isEnumerable$2 = callBound$6('Object.prototype.propertyIsEnumerable');
18276
18331
 
18277
18332
  var has = src$1;
18278
18333
 
18279
- var IsArray$1 = IsArray$4;
18334
+ var IsArray$1 = IsArray$5;
18280
18335
  var IsPropertyKey$3 = IsPropertyKey$6;
18281
18336
  var IsRegExp = IsRegExp$1;
18282
18337
  var ToPropertyDescriptor = ToPropertyDescriptor$2;
18283
- var Type$4 = Type$c;
18338
+ var Type$4 = Type$d;
18284
18339
 
18285
18340
  // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
18286
18341
 
18287
18342
  var OrdinaryGetOwnProperty$1 = function OrdinaryGetOwnProperty(O, P) {
18288
18343
  if (Type$4(O) !== 'Object') {
18289
- throw new $TypeError$9('Assertion failed: O must be an Object');
18344
+ throw new $TypeError$8('Assertion failed: O must be an Object');
18290
18345
  }
18291
18346
  if (!IsPropertyKey$3(P)) {
18292
- throw new $TypeError$9('Assertion failed: P must be a Property Key');
18347
+ throw new $TypeError$8('Assertion failed: P must be a Property Key');
18293
18348
  }
18294
18349
  if (!has(O, P)) {
18295
18350
  return void 0;
@@ -18308,32 +18363,32 @@ var OrdinaryGetOwnProperty$1 = function OrdinaryGetOwnProperty(O, P) {
18308
18363
  return ToPropertyDescriptor($gOPD(O, P));
18309
18364
  };
18310
18365
 
18311
- var isPrimitive$8 = function isPrimitive(value) {
18366
+ var isPrimitive$7 = function isPrimitive(value) {
18312
18367
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
18313
18368
  };
18314
18369
 
18315
- var GetIntrinsic$d = getIntrinsic;
18370
+ var GetIntrinsic$b = getIntrinsic;
18316
18371
 
18317
- var $Object$2 = GetIntrinsic$d('%Object%');
18372
+ var $Object$1 = GetIntrinsic$b('%Object%');
18318
18373
 
18319
- var isPrimitive$7 = isPrimitive$8;
18374
+ var isPrimitive$6 = isPrimitive$7;
18320
18375
 
18321
- var $preventExtensions = $Object$2.preventExtensions;
18322
- var $isExtensible = $Object$2.isExtensible;
18376
+ var $preventExtensions = $Object$1.preventExtensions;
18377
+ var $isExtensible = $Object$1.isExtensible;
18323
18378
 
18324
18379
  // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
18325
18380
 
18326
18381
  var IsExtensible$1 = $preventExtensions
18327
18382
  ? function IsExtensible(obj) {
18328
- return !isPrimitive$7(obj) && $isExtensible(obj);
18383
+ return !isPrimitive$6(obj) && $isExtensible(obj);
18329
18384
  }
18330
18385
  : function IsExtensible(obj) {
18331
- return !isPrimitive$7(obj);
18386
+ return !isPrimitive$6(obj);
18332
18387
  };
18333
18388
 
18334
- var GetIntrinsic$c = getIntrinsic;
18389
+ var GetIntrinsic$a = getIntrinsic;
18335
18390
 
18336
- var $TypeError$8 = GetIntrinsic$c('%TypeError%');
18391
+ var $TypeError$7 = GetIntrinsic$a('%TypeError%');
18337
18392
 
18338
18393
  var DefineOwnProperty = DefineOwnProperty$2;
18339
18394
 
@@ -18343,16 +18398,16 @@ var IsDataDescriptor = IsDataDescriptor$2;
18343
18398
  var IsExtensible = IsExtensible$1;
18344
18399
  var IsPropertyKey$2 = IsPropertyKey$6;
18345
18400
  var SameValue = SameValue$2;
18346
- var Type$3 = Type$c;
18401
+ var Type$3 = Type$d;
18347
18402
 
18348
18403
  // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
18349
18404
 
18350
18405
  var CreateDataProperty$1 = function CreateDataProperty(O, P, V) {
18351
18406
  if (Type$3(O) !== 'Object') {
18352
- throw new $TypeError$8('Assertion failed: Type(O) is not Object');
18407
+ throw new $TypeError$7('Assertion failed: Type(O) is not Object');
18353
18408
  }
18354
18409
  if (!IsPropertyKey$2(P)) {
18355
- throw new $TypeError$8('Assertion failed: IsPropertyKey(P) is not true');
18410
+ throw new $TypeError$7('Assertion failed: IsPropertyKey(P) is not true');
18356
18411
  }
18357
18412
  var oldDesc = OrdinaryGetOwnProperty(O, P);
18358
18413
  var extensible = !oldDesc || IsExtensible(O);
@@ -18375,52 +18430,52 @@ var CreateDataProperty$1 = function CreateDataProperty(O, P, V) {
18375
18430
  );
18376
18431
  };
18377
18432
 
18378
- var GetIntrinsic$b = getIntrinsic;
18433
+ var GetIntrinsic$9 = getIntrinsic;
18379
18434
 
18380
- var $TypeError$7 = GetIntrinsic$b('%TypeError%');
18435
+ var $TypeError$6 = GetIntrinsic$9('%TypeError%');
18381
18436
 
18382
18437
  var CreateDataProperty = CreateDataProperty$1;
18383
18438
  var IsPropertyKey$1 = IsPropertyKey$6;
18384
- var Type$2 = Type$c;
18439
+ var Type$2 = Type$d;
18385
18440
 
18386
18441
  // // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow
18387
18442
 
18388
18443
  var CreateDataPropertyOrThrow$1 = function CreateDataPropertyOrThrow(O, P, V) {
18389
18444
  if (Type$2(O) !== 'Object') {
18390
- throw new $TypeError$7('Assertion failed: Type(O) is not Object');
18445
+ throw new $TypeError$6('Assertion failed: Type(O) is not Object');
18391
18446
  }
18392
18447
  if (!IsPropertyKey$1(P)) {
18393
- throw new $TypeError$7('Assertion failed: IsPropertyKey(P) is not true');
18448
+ throw new $TypeError$6('Assertion failed: IsPropertyKey(P) is not true');
18394
18449
  }
18395
18450
  var success = CreateDataProperty(O, P, V);
18396
18451
  if (!success) {
18397
- throw new $TypeError$7('unable to create data property');
18452
+ throw new $TypeError$6('unable to create data property');
18398
18453
  }
18399
18454
  return success;
18400
18455
  };
18401
18456
 
18402
- var GetIntrinsic$a = getIntrinsic;
18457
+ var GetIntrinsic$8 = getIntrinsic;
18403
18458
 
18404
- var $TypeError$6 = GetIntrinsic$a('%TypeError%');
18459
+ var $TypeError$5 = GetIntrinsic$8('%TypeError%');
18405
18460
 
18406
18461
  var IsPropertyKey = IsPropertyKey$6;
18407
- var Type$1 = Type$c;
18462
+ var Type$1 = Type$d;
18408
18463
 
18409
18464
  // https://ecma-international.org/ecma-262/6.0/#sec-hasproperty
18410
18465
 
18411
18466
  var HasProperty$1 = function HasProperty(O, P) {
18412
18467
  if (Type$1(O) !== 'Object') {
18413
- throw new $TypeError$6('Assertion failed: `O` must be an Object');
18468
+ throw new $TypeError$5('Assertion failed: `O` must be an Object');
18414
18469
  }
18415
18470
  if (!IsPropertyKey(P)) {
18416
- throw new $TypeError$6('Assertion failed: `P` must be a Property Key');
18471
+ throw new $TypeError$5('Assertion failed: `P` must be a Property Key');
18417
18472
  }
18418
18473
  return P in O;
18419
18474
  };
18420
18475
 
18421
- var GetIntrinsic$9 = getIntrinsic;
18476
+ var GetIntrinsic$7 = getIntrinsic;
18422
18477
 
18423
- var $abs = GetIntrinsic$9('%Math.abs%');
18478
+ var $abs = GetIntrinsic$7('%Math.abs%');
18424
18479
 
18425
18480
  // http://262.ecma-international.org/5.1/#sec-5.2
18426
18481
 
@@ -18438,13 +18493,13 @@ var floor$1 = function floor(x) {
18438
18493
  return $floor(x);
18439
18494
  };
18440
18495
 
18441
- var isPrimitive$6 = function isPrimitive(value) {
18496
+ var isPrimitive$5 = function isPrimitive(value) {
18442
18497
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
18443
18498
  };
18444
18499
 
18445
18500
  var toStr$2 = Object.prototype.toString;
18446
18501
 
18447
- var isPrimitive$5 = isPrimitive$6;
18502
+ var isPrimitive$4 = isPrimitive$5;
18448
18503
 
18449
18504
  var isCallable$1 = isCallable$2;
18450
18505
 
@@ -18464,7 +18519,7 @@ var ES5internalSlots = {
18464
18519
  for (i = 0; i < methods.length; ++i) {
18465
18520
  if (isCallable$1(O[methods[i]])) {
18466
18521
  value = O[methods[i]]();
18467
- if (isPrimitive$5(value)) {
18522
+ if (isPrimitive$4(value)) {
18468
18523
  return value;
18469
18524
  }
18470
18525
  }
@@ -18477,7 +18532,7 @@ var ES5internalSlots = {
18477
18532
 
18478
18533
  // http://ecma-international.org/ecma-262/5.1/#sec-9.1
18479
18534
  var es5 = function ToPrimitive(input) {
18480
- if (isPrimitive$5(input)) {
18535
+ if (isPrimitive$4(input)) {
18481
18536
  return input;
18482
18537
  }
18483
18538
  if (arguments.length > 1) {
@@ -18488,14 +18543,14 @@ var es5 = function ToPrimitive(input) {
18488
18543
 
18489
18544
  // http://262.ecma-international.org/5.1/#sec-9.1
18490
18545
 
18491
- var ToPrimitive$5 = es5;
18546
+ var ToPrimitive$3 = es5;
18492
18547
 
18493
- var ToPrimitive$4 = ToPrimitive$5;
18548
+ var ToPrimitive$2 = ToPrimitive$3;
18494
18549
 
18495
18550
  // http://262.ecma-international.org/5.1/#sec-9.3
18496
18551
 
18497
- var ToNumber$5 = function ToNumber(value) {
18498
- var prim = ToPrimitive$4(value, Number);
18552
+ var ToNumber$3 = function ToNumber(value) {
18553
+ var prim = ToPrimitive$2(value, Number);
18499
18554
  if (typeof prim !== 'string') {
18500
18555
  return +prim; // eslint-disable-line no-implicit-coercion
18501
18556
  }
@@ -18515,7 +18570,7 @@ var sign = function sign(number) {
18515
18570
 
18516
18571
  var abs = abs$1;
18517
18572
  var floor = floor$1;
18518
- var ToNumber$4 = ToNumber$5;
18573
+ var ToNumber$2 = ToNumber$3;
18519
18574
 
18520
18575
  var $isNaN = _isNaN;
18521
18576
  var $isFinite = _isFinite;
@@ -18523,20 +18578,20 @@ var $sign = sign;
18523
18578
 
18524
18579
  // http://262.ecma-international.org/5.1/#sec-9.4
18525
18580
 
18526
- var ToInteger$5 = function ToInteger(value) {
18527
- var number = ToNumber$4(value);
18581
+ var ToInteger = function ToInteger(value) {
18582
+ var number = ToNumber$2(value);
18528
18583
  if ($isNaN(number)) { return 0; }
18529
18584
  if (number === 0 || !$isFinite(number)) { return number; }
18530
18585
  return $sign(number) * floor(abs(number));
18531
18586
  };
18532
18587
 
18533
- var GetIntrinsic$8 = getIntrinsic;
18588
+ var GetIntrinsic$6 = getIntrinsic;
18534
18589
 
18535
- var $test = GetIntrinsic$8('RegExp.prototype.test');
18590
+ var $test = GetIntrinsic$6('RegExp.prototype.test');
18536
18591
 
18537
18592
  var callBind$6 = callBind$8.exports;
18538
18593
 
18539
- var regexTester$2 = function regexTester(regex) {
18594
+ var regexTester$1 = function regexTester(regex) {
18540
18595
  return callBind$6($test, regex);
18541
18596
  };
18542
18597
 
@@ -18599,7 +18654,7 @@ if (hasSymbols$2) {
18599
18654
 
18600
18655
  var hasSymbols$1 = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';
18601
18656
 
18602
- var isPrimitive$4 = isPrimitive$6;
18657
+ var isPrimitive$3 = isPrimitive$5;
18603
18658
  var isCallable = isCallable$2;
18604
18659
  var isDate = isDateObject;
18605
18660
  var isSymbol$3 = isSymbol$4.exports;
@@ -18617,7 +18672,7 @@ var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {
18617
18672
  method = O[methodNames[i]];
18618
18673
  if (isCallable(method)) {
18619
18674
  result = method.call(O);
18620
- if (isPrimitive$4(result)) {
18675
+ if (isPrimitive$3(result)) {
18621
18676
  return result;
18622
18677
  }
18623
18678
  }
@@ -18638,7 +18693,7 @@ var GetMethod = function GetMethod(O, P) {
18638
18693
 
18639
18694
  // http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive
18640
18695
  var es2015 = function ToPrimitive(input) {
18641
- if (isPrimitive$4(input)) {
18696
+ if (isPrimitive$3(input)) {
18642
18697
  return input;
18643
18698
  }
18644
18699
  var hint = 'default';
@@ -18660,7 +18715,7 @@ var es2015 = function ToPrimitive(input) {
18660
18715
  }
18661
18716
  if (typeof exoticToPrim !== 'undefined') {
18662
18717
  var result = exoticToPrim.call(input, hint);
18663
- if (isPrimitive$4(result)) {
18718
+ if (isPrimitive$3(result)) {
18664
18719
  return result;
18665
18720
  }
18666
18721
  throw new TypeError('unable to convert exotic object to primitive');
@@ -18671,145 +18726,145 @@ var es2015 = function ToPrimitive(input) {
18671
18726
  return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);
18672
18727
  };
18673
18728
 
18674
- var toPrimitive$1 = es2015;
18729
+ var toPrimitive = es2015;
18675
18730
 
18676
18731
  // https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
18677
18732
 
18678
- var ToPrimitive$3 = function ToPrimitive(input) {
18733
+ var ToPrimitive$1 = function ToPrimitive(input) {
18679
18734
  if (arguments.length > 1) {
18680
- return toPrimitive$1(input, arguments[1]);
18735
+ return toPrimitive(input, arguments[1]);
18681
18736
  }
18682
- return toPrimitive$1(input);
18737
+ return toPrimitive(input);
18683
18738
  };
18684
18739
 
18685
- var GetIntrinsic$7 = getIntrinsic;
18740
+ var GetIntrinsic$5 = getIntrinsic;
18686
18741
 
18687
- var $TypeError$5 = GetIntrinsic$7('%TypeError%');
18688
- var $Number$1 = GetIntrinsic$7('%Number%');
18689
- var $RegExp$1 = GetIntrinsic$7('%RegExp%');
18690
- var $parseInteger$1 = GetIntrinsic$7('%parseInt%');
18742
+ var $TypeError$4 = GetIntrinsic$5('%TypeError%');
18743
+ var $Number = GetIntrinsic$5('%Number%');
18744
+ var $RegExp = GetIntrinsic$5('%RegExp%');
18745
+ var $parseInteger = GetIntrinsic$5('%parseInt%');
18691
18746
 
18692
18747
  var callBound$5 = callBound$a;
18693
- var regexTester$1 = regexTester$2;
18694
- var isPrimitive$3 = isPrimitive$8;
18748
+ var regexTester = regexTester$1;
18749
+ var isPrimitive$2 = isPrimitive$7;
18695
18750
 
18696
- var $strSlice$1 = callBound$5('String.prototype.slice');
18697
- var isBinary$1 = regexTester$1(/^0b[01]+$/i);
18698
- var isOctal$1 = regexTester$1(/^0o[0-7]+$/i);
18699
- var isInvalidHexLiteral$1 = regexTester$1(/^[-+]0x[0-9a-f]+$/i);
18700
- var nonWS$1 = ['\u0085', '\u200b', '\ufffe'].join('');
18701
- var nonWSregex$1 = new $RegExp$1('[' + nonWS$1 + ']', 'g');
18702
- var hasNonWS$1 = regexTester$1(nonWSregex$1);
18751
+ var $strSlice = callBound$5('String.prototype.slice');
18752
+ var isBinary = regexTester(/^0b[01]+$/i);
18753
+ var isOctal = regexTester(/^0o[0-7]+$/i);
18754
+ var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
18755
+ var nonWS = ['\u0085', '\u200b', '\ufffe'].join('');
18756
+ var nonWSregex = new $RegExp('[' + nonWS + ']', 'g');
18757
+ var hasNonWS = regexTester(nonWSregex);
18703
18758
 
18704
18759
  // whitespace from: https://es5.github.io/#x15.5.4.20
18705
18760
  // implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324
18706
- var ws$1 = [
18761
+ var ws = [
18707
18762
  '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003',
18708
18763
  '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028',
18709
18764
  '\u2029\uFEFF'
18710
18765
  ].join('');
18711
- var trimRegex$1 = new RegExp('(^[' + ws$1 + ']+)|([' + ws$1 + ']+$)', 'g');
18712
- var $replace$1 = callBound$5('String.prototype.replace');
18713
- var $trim$1 = function (value) {
18714
- return $replace$1(value, trimRegex$1, '');
18766
+ var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');
18767
+ var $replace = callBound$5('String.prototype.replace');
18768
+ var $trim = function (value) {
18769
+ return $replace(value, trimRegex, '');
18715
18770
  };
18716
18771
 
18717
- var ToPrimitive$2 = ToPrimitive$3;
18772
+ var ToPrimitive = ToPrimitive$1;
18718
18773
 
18719
18774
  // https://ecma-international.org/ecma-262/6.0/#sec-tonumber
18720
18775
 
18721
- var ToNumber$3 = function ToNumber(argument) {
18722
- var value = isPrimitive$3(argument) ? argument : ToPrimitive$2(argument, $Number$1);
18776
+ var ToNumber$1 = function ToNumber(argument) {
18777
+ var value = isPrimitive$2(argument) ? argument : ToPrimitive(argument, $Number);
18723
18778
  if (typeof value === 'symbol') {
18724
- throw new $TypeError$5('Cannot convert a Symbol value to a number');
18779
+ throw new $TypeError$4('Cannot convert a Symbol value to a number');
18725
18780
  }
18726
18781
  if (typeof value === 'bigint') {
18727
- throw new $TypeError$5('Conversion from \'BigInt\' to \'number\' is not allowed.');
18782
+ throw new $TypeError$4('Conversion from \'BigInt\' to \'number\' is not allowed.');
18728
18783
  }
18729
18784
  if (typeof value === 'string') {
18730
- if (isBinary$1(value)) {
18731
- return ToNumber($parseInteger$1($strSlice$1(value, 2), 2));
18732
- } else if (isOctal$1(value)) {
18733
- return ToNumber($parseInteger$1($strSlice$1(value, 2), 8));
18734
- } else if (hasNonWS$1(value) || isInvalidHexLiteral$1(value)) {
18785
+ if (isBinary(value)) {
18786
+ return ToNumber($parseInteger($strSlice(value, 2), 2));
18787
+ } else if (isOctal(value)) {
18788
+ return ToNumber($parseInteger($strSlice(value, 2), 8));
18789
+ } else if (hasNonWS(value) || isInvalidHexLiteral(value)) {
18735
18790
  return NaN;
18736
- } else {
18737
- var trimmed = $trim$1(value);
18738
- if (trimmed !== value) {
18739
- return ToNumber(trimmed);
18740
- }
18741
18791
  }
18792
+ var trimmed = $trim(value);
18793
+ if (trimmed !== value) {
18794
+ return ToNumber(trimmed);
18795
+ }
18796
+
18742
18797
  }
18743
- return $Number$1(value);
18798
+ return $Number(value);
18744
18799
  };
18745
18800
 
18746
- var ES5ToInteger$1 = ToInteger$5;
18801
+ var ES5ToInteger = ToInteger;
18747
18802
 
18748
- var ToNumber$2 = ToNumber$3;
18803
+ var ToNumber = ToNumber$1;
18749
18804
 
18750
- // https://262.ecma-international.org/11.0/#sec-tointeger
18805
+ // https://www.ecma-international.org/ecma-262/11.0/#sec-tointeger
18751
18806
 
18752
- var ToInteger$4 = function ToInteger(value) {
18753
- var number = ToNumber$2(value);
18807
+ var ToIntegerOrInfinity$2 = function ToInteger(value) {
18808
+ var number = ToNumber(value);
18754
18809
  if (number !== 0) {
18755
- number = ES5ToInteger$1(number);
18810
+ number = ES5ToInteger(number);
18756
18811
  }
18757
18812
  return number === 0 ? 0 : number;
18758
18813
  };
18759
18814
 
18760
- var MAX_SAFE_INTEGER$2 = maxSafeInteger;
18815
+ var MAX_SAFE_INTEGER$1 = maxSafeInteger;
18761
18816
 
18762
- var ToInteger$3 = ToInteger$4;
18817
+ var ToIntegerOrInfinity$1 = ToIntegerOrInfinity$2;
18763
18818
 
18764
- var ToLength$4 = function ToLength(argument) {
18765
- var len = ToInteger$3(argument);
18819
+ var ToLength$3 = function ToLength(argument) {
18820
+ var len = ToIntegerOrInfinity$1(argument);
18766
18821
  if (len <= 0) { return 0; } // includes converting -0 to +0
18767
- if (len > MAX_SAFE_INTEGER$2) { return MAX_SAFE_INTEGER$2; }
18822
+ if (len > MAX_SAFE_INTEGER$1) { return MAX_SAFE_INTEGER$1; }
18768
18823
  return len;
18769
18824
  };
18770
18825
 
18771
- var GetIntrinsic$6 = getIntrinsic;
18826
+ var GetIntrinsic$4 = getIntrinsic;
18772
18827
 
18773
- var $TypeError$4 = GetIntrinsic$6('%TypeError%');
18828
+ var $TypeError$3 = GetIntrinsic$4('%TypeError%');
18774
18829
 
18775
18830
  var Get$2 = Get$4;
18776
- var ToLength$3 = ToLength$4;
18777
- var Type = Type$c;
18831
+ var ToLength$2 = ToLength$3;
18832
+ var Type = Type$d;
18778
18833
 
18779
18834
  // https://262.ecma-international.org/11.0/#sec-lengthofarraylike
18780
18835
 
18781
18836
  var LengthOfArrayLike$1 = function LengthOfArrayLike(obj) {
18782
18837
  if (Type(obj) !== 'Object') {
18783
- throw new $TypeError$4('Assertion failed: `obj` must be an Object');
18838
+ throw new $TypeError$3('Assertion failed: `obj` must be an Object');
18784
18839
  }
18785
- return ToLength$3(Get$2(obj, 'length'));
18840
+ return ToLength$2(Get$2(obj, 'length'));
18786
18841
  };
18787
18842
 
18788
- var GetIntrinsic$5 = getIntrinsic;
18843
+ var GetIntrinsic$3 = getIntrinsic;
18789
18844
 
18790
- var $String = GetIntrinsic$5('%String%');
18791
- var $TypeError$3 = GetIntrinsic$5('%TypeError%');
18845
+ var $String = GetIntrinsic$3('%String%');
18846
+ var $TypeError$2 = GetIntrinsic$3('%TypeError%');
18792
18847
 
18793
18848
  // https://ecma-international.org/ecma-262/6.0/#sec-tostring
18794
18849
 
18795
18850
  var ToString$1 = function ToString(argument) {
18796
18851
  if (typeof argument === 'symbol') {
18797
- throw new $TypeError$3('Cannot convert a Symbol value to a string');
18852
+ throw new $TypeError$2('Cannot convert a Symbol value to a string');
18798
18853
  }
18799
18854
  return $String(argument);
18800
18855
  };
18801
18856
 
18802
- var GetIntrinsic$4 = getIntrinsic;
18857
+ var GetIntrinsic$2 = getIntrinsic;
18803
18858
 
18804
- var $TypeError$2 = GetIntrinsic$4('%TypeError%');
18859
+ var $TypeError$1 = GetIntrinsic$2('%TypeError%');
18805
18860
 
18806
- var MAX_SAFE_INTEGER$1 = maxSafeInteger;
18861
+ var MAX_SAFE_INTEGER = maxSafeInteger;
18807
18862
 
18808
18863
  var Call = Call$1;
18809
18864
  var CreateDataPropertyOrThrow = CreateDataPropertyOrThrow$1;
18810
18865
  var Get$1 = Get$4;
18811
18866
  var HasProperty = HasProperty$1;
18812
- var IsArray = IsArray$4;
18867
+ var IsArray = IsArray$5;
18813
18868
  var LengthOfArrayLike = LengthOfArrayLike$1;
18814
18869
  var ToString = ToString$1;
18815
18870
 
@@ -18831,7 +18886,7 @@ var FlattenIntoArray$1 = function FlattenIntoArray(target, source, sourceLen, st
18831
18886
  var element = Get$1(source, P);
18832
18887
  if (typeof mapperFunction !== 'undefined') {
18833
18888
  if (arguments.length <= 6) {
18834
- throw new $TypeError$2('Assertion failed: thisArg is required when mapperFunction is provided');
18889
+ throw new $TypeError$1('Assertion failed: thisArg is required when mapperFunction is provided');
18835
18890
  }
18836
18891
  element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);
18837
18892
  }
@@ -18843,8 +18898,8 @@ var FlattenIntoArray$1 = function FlattenIntoArray(target, source, sourceLen, st
18843
18898
  var elementLen = LengthOfArrayLike(element);
18844
18899
  targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);
18845
18900
  } else {
18846
- if (targetIndex >= MAX_SAFE_INTEGER$1) {
18847
- throw new $TypeError$2('index too large');
18901
+ if (targetIndex >= MAX_SAFE_INTEGER) {
18902
+ throw new $TypeError$1('index too large');
18848
18903
  }
18849
18904
  CreateDataPropertyOrThrow(target, ToString(targetIndex), element);
18850
18905
  targetIndex += 1;
@@ -18856,48 +18911,48 @@ var FlattenIntoArray$1 = function FlattenIntoArray(target, source, sourceLen, st
18856
18911
  return targetIndex;
18857
18912
  };
18858
18913
 
18859
- var GetIntrinsic$3 = getIntrinsic;
18914
+ var GetIntrinsic$1 = getIntrinsic;
18860
18915
 
18861
- var $TypeError$1 = GetIntrinsic$3('%TypeError%');
18916
+ var $TypeError = GetIntrinsic$1('%TypeError%');
18862
18917
 
18863
18918
  // http://262.ecma-international.org/5.1/#sec-9.10
18864
18919
 
18865
18920
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
18866
18921
  if (value == null) {
18867
- throw new $TypeError$1(optMessage || ('Cannot call method on ' + value));
18922
+ throw new $TypeError(optMessage || ('Cannot call method on ' + value));
18868
18923
  }
18869
18924
  return value;
18870
18925
  };
18871
18926
 
18872
- var RequireObjectCoercible$6 = CheckObjectCoercible;
18927
+ var RequireObjectCoercible$4 = CheckObjectCoercible;
18873
18928
 
18874
- var GetIntrinsic$2 = getIntrinsic;
18929
+ var GetIntrinsic = getIntrinsic;
18875
18930
 
18876
- var $Object$1 = GetIntrinsic$2('%Object%');
18931
+ var $Object = GetIntrinsic('%Object%');
18877
18932
 
18878
- var RequireObjectCoercible$5 = RequireObjectCoercible$6;
18933
+ var RequireObjectCoercible$3 = RequireObjectCoercible$4;
18879
18934
 
18880
18935
  // https://ecma-international.org/ecma-262/6.0/#sec-toobject
18881
18936
 
18882
- var ToObject$3 = function ToObject(value) {
18883
- RequireObjectCoercible$5(value);
18884
- return $Object$1(value);
18937
+ var ToObject$2 = function ToObject(value) {
18938
+ RequireObjectCoercible$3(value);
18939
+ return $Object(value);
18885
18940
  };
18886
18941
 
18887
18942
  var ArraySpeciesCreate = ArraySpeciesCreate$1;
18888
18943
  var FlattenIntoArray = FlattenIntoArray$1;
18889
18944
  var Get = Get$4;
18890
- var ToInteger$2 = ToInteger$4;
18891
- var ToLength$2 = ToLength$4;
18892
- var ToObject$2 = ToObject$3;
18945
+ var ToIntegerOrInfinity = ToIntegerOrInfinity$2;
18946
+ var ToLength$1 = ToLength$3;
18947
+ var ToObject$1 = ToObject$2;
18893
18948
 
18894
18949
  var implementation$m = function flat() {
18895
- var O = ToObject$2(this);
18896
- var sourceLen = ToLength$2(Get(O, 'length'));
18950
+ var O = ToObject$1(this);
18951
+ var sourceLen = ToLength$1(Get(O, 'length'));
18897
18952
 
18898
18953
  var depthNum = 1;
18899
18954
  if (arguments.length > 0 && typeof arguments[0] !== 'undefined') {
18900
- depthNum = ToInteger$2(arguments[0]);
18955
+ depthNum = ToIntegerOrInfinity(arguments[0]);
18901
18956
  }
18902
18957
 
18903
18958
  var A = ArraySpeciesCreate(O, 0);
@@ -18970,7 +19025,7 @@ var ensureCache = function ensureCache() {
18970
19025
 
18971
19026
  var cache = ensureCache();
18972
19027
 
18973
- var isPrimitive$2 = function isPrimitive(val) {
19028
+ var isPrimitive$1 = function isPrimitive(val) {
18974
19029
  return val === null || (typeof val !== 'object' && typeof val !== 'function');
18975
19030
  };
18976
19031
 
@@ -18982,7 +19037,7 @@ var getPrimitiveKey = function getPrimitiveKey(val) {
18982
19037
  };
18983
19038
 
18984
19039
  var requirePrimitiveKey = function requirePrimitiveKey(val) {
18985
- if (!isPrimitive$2(val)) {
19040
+ if (!isPrimitive$1(val)) {
18986
19041
  throw new TypeError('key must not be an object');
18987
19042
  }
18988
19043
  };
@@ -19666,14 +19721,11 @@ function _extends() {
19666
19721
  }
19667
19722
 
19668
19723
  return target;
19669
- };
19670
-
19671
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19724
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
19672
19725
  return _extends.apply(this, arguments);
19673
19726
  }
19674
19727
 
19675
- module.exports = _extends;
19676
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19728
+ module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
19677
19729
  }(_extends));
19678
19730
 
19679
19731
  var assertThisInitialized = {exports: {}};
@@ -19687,8 +19739,7 @@ function _assertThisInitialized(self) {
19687
19739
  return self;
19688
19740
  }
19689
19741
 
19690
- module.exports = _assertThisInitialized;
19691
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19742
+ module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
19692
19743
  }(assertThisInitialized));
19693
19744
 
19694
19745
  var inheritsLoose = {exports: {}};
@@ -19700,14 +19751,11 @@ function _setPrototypeOf(o, p) {
19700
19751
  module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
19701
19752
  o.__proto__ = p;
19702
19753
  return o;
19703
- };
19704
-
19705
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19754
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
19706
19755
  return _setPrototypeOf(o, p);
19707
19756
  }
19708
19757
 
19709
- module.exports = _setPrototypeOf;
19710
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19758
+ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
19711
19759
  }(setPrototypeOf));
19712
19760
 
19713
19761
  (function (module) {
@@ -19719,8 +19767,7 @@ function _inheritsLoose(subClass, superClass) {
19719
19767
  setPrototypeOf$1(subClass, superClass);
19720
19768
  }
19721
19769
 
19722
- module.exports = _inheritsLoose;
19723
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19770
+ module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
19724
19771
  }(inheritsLoose));
19725
19772
 
19726
19773
  var defineProperty$1 = {exports: {}};
@@ -19741,8 +19788,7 @@ function _defineProperty(obj, key, value) {
19741
19788
  return obj;
19742
19789
  }
19743
19790
 
19744
- module.exports = _defineProperty;
19745
- module.exports["default"] = module.exports, module.exports.__esModule = true;
19791
+ module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
19746
19792
  }(defineProperty$1));
19747
19793
 
19748
19794
  var moment$2 = {exports: {}};
@@ -25652,7 +25698,7 @@ var canBeObject = function (obj) {
25652
25698
  var hasSymbols = shams$1();
25653
25699
  var callBound$4 = callBound$a;
25654
25700
  var toObject = Object;
25655
- var $push = callBound$4('Array.prototype.push');
25701
+ var $push$2 = callBound$4('Array.prototype.push');
25656
25702
  var $propIsEnumerable = callBound$4('Object.prototype.propertyIsEnumerable');
25657
25703
  var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
25658
25704
 
@@ -25670,7 +25716,7 @@ var implementation$g = function assign(target, source1) {
25670
25716
  for (i = 0; i < syms.length; ++i) {
25671
25717
  key = syms[i];
25672
25718
  if ($propIsEnumerable(source, key)) {
25673
- $push(props, key);
25719
+ $push$2(props, key);
25674
25720
  }
25675
25721
  }
25676
25722
  }
@@ -25935,16 +25981,17 @@ function andValidator(validators) {
25935
25981
 
25936
25982
  var between = {};
25937
25983
 
25938
- var RequireObjectCoercible$4 = RequireObjectCoercible$6;
25984
+ var RequireObjectCoercible$2 = RequireObjectCoercible$4;
25939
25985
  var callBound$3 = callBound$a;
25940
25986
  var $isEnumerable$1 = callBound$3('Object.prototype.propertyIsEnumerable');
25987
+ var $push$1 = callBound$3('Array.prototype.push');
25941
25988
 
25942
25989
  var implementation$d = function entries(O) {
25943
- var obj = RequireObjectCoercible$4(O);
25990
+ var obj = RequireObjectCoercible$2(O);
25944
25991
  var entrys = [];
25945
25992
  for (var key in obj) {
25946
25993
  if ($isEnumerable$1(obj, key)) { // checks own-ness as well
25947
- entrys.push([key, obj[key]]);
25994
+ $push$1(entrys, [key, obj[key]]);
25948
25995
  }
25949
25996
  }
25950
25997
  return entrys;
@@ -26073,7 +26120,7 @@ function shapeValidator(shapeTypes) {
26073
26120
 
26074
26121
  var valuesOf = {};
26075
26122
 
26076
- var isPrimitive$1 = {};
26123
+ var isPrimitive = {};
26077
26124
 
26078
26125
  (function (exports) {
26079
26126
 
@@ -26088,7 +26135,7 @@ function isPrimitive(x) {
26088
26135
  return !x || _typeof(x) !== 'object' && typeof x !== 'function';
26089
26136
  }
26090
26137
 
26091
- }(isPrimitive$1));
26138
+ }(isPrimitive));
26092
26139
 
26093
26140
  (function (exports) {
26094
26141
 
@@ -26097,7 +26144,7 @@ Object.defineProperty(exports, "__esModule", {
26097
26144
  });
26098
26145
  exports["default"] = valuesOfValidator;
26099
26146
 
26100
- var _isPrimitive = _interopRequireDefault(isPrimitive$1);
26147
+ var _isPrimitive = _interopRequireDefault(isPrimitive);
26101
26148
 
26102
26149
  var _wrapValidator = _interopRequireDefault(wrapValidator);
26103
26150
 
@@ -26636,119 +26683,9 @@ function childrenOf(propType) {
26636
26683
 
26637
26684
  var childrenOfType = {};
26638
26685
 
26639
- var RequireObjectCoercible$3 = CheckObjectCoercible;
26640
-
26641
- var GetIntrinsic$1 = getIntrinsic;
26642
-
26643
- var $Object = GetIntrinsic$1('%Object%');
26644
-
26645
- var RequireObjectCoercible$2 = RequireObjectCoercible$3;
26646
-
26647
- // https://ecma-international.org/ecma-262/6.0/#sec-toobject
26648
-
26649
- var ToObject$1 = function ToObject(value) {
26650
- RequireObjectCoercible$2(value);
26651
- return $Object(value);
26652
- };
26653
-
26654
- var toPrimitive = es2015;
26655
-
26656
- // https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
26657
-
26658
- var ToPrimitive$1 = function ToPrimitive(input) {
26659
- if (arguments.length > 1) {
26660
- return toPrimitive(input, arguments[1]);
26661
- }
26662
- return toPrimitive(input);
26663
- };
26664
-
26665
- var GetIntrinsic = getIntrinsic;
26666
-
26667
- var $TypeError = GetIntrinsic('%TypeError%');
26668
- var $Number = GetIntrinsic('%Number%');
26669
- var $RegExp = GetIntrinsic('%RegExp%');
26670
- var $parseInteger = GetIntrinsic('%parseInt%');
26671
-
26672
- var callBound$2 = callBound$a;
26673
- var regexTester = regexTester$2;
26674
- var isPrimitive = isPrimitive$8;
26675
-
26676
- var $strSlice = callBound$2('String.prototype.slice');
26677
- var isBinary = regexTester(/^0b[01]+$/i);
26678
- var isOctal = regexTester(/^0o[0-7]+$/i);
26679
- var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
26680
- var nonWS = ['\u0085', '\u200b', '\ufffe'].join('');
26681
- var nonWSregex = new $RegExp('[' + nonWS + ']', 'g');
26682
- var hasNonWS = regexTester(nonWSregex);
26683
-
26684
- // whitespace from: https://es5.github.io/#x15.5.4.20
26685
- // implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324
26686
- var ws = [
26687
- '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003',
26688
- '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028',
26689
- '\u2029\uFEFF'
26690
- ].join('');
26691
- var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');
26692
- var $replace = callBound$2('String.prototype.replace');
26693
- var $trim = function (value) {
26694
- return $replace(value, trimRegex, '');
26695
- };
26696
-
26697
- var ToPrimitive = ToPrimitive$1;
26698
-
26699
- // https://ecma-international.org/ecma-262/6.0/#sec-tonumber
26700
-
26701
- var ToNumber$1 = function ToNumber(argument) {
26702
- var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);
26703
- if (typeof value === 'symbol') {
26704
- throw new $TypeError('Cannot convert a Symbol value to a number');
26705
- }
26706
- if (typeof value === 'string') {
26707
- if (isBinary(value)) {
26708
- return ToNumber($parseInteger($strSlice(value, 2), 2));
26709
- } else if (isOctal(value)) {
26710
- return ToNumber($parseInteger($strSlice(value, 2), 8));
26711
- } else if (hasNonWS(value) || isInvalidHexLiteral(value)) {
26712
- return NaN;
26713
- } else {
26714
- var trimmed = $trim(value);
26715
- if (trimmed !== value) {
26716
- return ToNumber(trimmed);
26717
- }
26718
- }
26719
- }
26720
- return $Number(value);
26721
- };
26722
-
26723
- var ES5ToInteger = ToInteger$5;
26724
-
26725
- var ToNumber = ToNumber$1;
26726
-
26727
- // https://ecma-international.org/ecma-262/6.0/#sec-tointeger
26728
-
26729
- var ToInteger$1 = function ToInteger(value) {
26730
- var number = ToNumber(value);
26731
- return ES5ToInteger(number);
26732
- };
26733
-
26734
- var MAX_SAFE_INTEGER = maxSafeInteger;
26735
-
26736
- var ToInteger = ToInteger$1;
26737
-
26738
- var ToLength$1 = function ToLength(argument) {
26739
- var len = ToInteger(argument);
26740
- if (len <= 0) { return 0; } // includes converting -0 to +0
26741
- if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }
26742
- return len;
26743
- };
26744
-
26745
- // http://262.ecma-international.org/5.1/#sec-9.11
26746
-
26747
- var IsCallable$2 = isCallable$2;
26748
-
26749
- var ToObject = ToObject$1;
26750
- var ToLength = ToLength$1;
26751
- var IsCallable$1 = IsCallable$2;
26686
+ var ToObject = ToObject$2;
26687
+ var ToLength = ToLength$3;
26688
+ var IsCallable$1 = IsCallable$3;
26752
26689
 
26753
26690
  var implementation$a = function find(predicate) {
26754
26691
  var list = ToObject(this);
@@ -26802,19 +26739,20 @@ var shim$7 = function shimArrayPrototypeFind() {
26802
26739
  };
26803
26740
 
26804
26741
  var define$5 = defineProperties_1;
26805
- var RequireObjectCoercible$1 = RequireObjectCoercible$3;
26742
+ var callBound$2 = callBound$a;
26743
+ var RequireObjectCoercible$1 = RequireObjectCoercible$4;
26806
26744
 
26807
26745
  var implementation$9 = implementation$a;
26808
26746
  var getPolyfill$6 = polyfill$6;
26809
26747
  var shim$6 = shim$7;
26810
26748
 
26811
- var slice = Array.prototype.slice;
26749
+ var $slice = callBound$2('Array.prototype.slice');
26812
26750
 
26813
26751
  var polyfill$5 = getPolyfill$6();
26814
26752
 
26815
26753
  var boundFindShim = function find(array, predicate) { // eslint-disable-line no-unused-vars
26816
26754
  RequireObjectCoercible$1(array);
26817
- var args = slice.call(arguments, 1);
26755
+ var args = $slice(arguments, 1);
26818
26756
  return polyfill$5.apply(array, args);
26819
26757
  };
26820
26758
 
@@ -26854,7 +26792,7 @@ functionsHaveNames$2.boundFunctionsHaveNames = function boundFunctionsHaveNames(
26854
26792
 
26855
26793
  var functionsHaveNames_1 = functionsHaveNames$2;
26856
26794
 
26857
- var IsCallable = IsCallable$4;
26795
+ var IsCallable = IsCallable$3;
26858
26796
  var functionsHaveNames$1 = functionsHaveNames_1();
26859
26797
  var callBound$1 = callBound$a;
26860
26798
  var $functionToString = callBound$1('Function.prototype.toString');
@@ -26953,212 +26891,6 @@ define$4(bound, {
26953
26891
 
26954
26892
  var function_prototype_name = bound;
26955
26893
 
26956
- var reactIs = {exports: {}};
26957
-
26958
- var reactIs_production_min = {};
26959
-
26960
- /** @license React v16.13.1
26961
- * react-is.production.min.js
26962
- *
26963
- * Copyright (c) Facebook, Inc. and its affiliates.
26964
- *
26965
- * This source code is licensed under the MIT license found in the
26966
- * LICENSE file in the root directory of this source tree.
26967
- */
26968
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
26969
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
26970
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
26971
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
26972
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
26973
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
26974
-
26975
- var reactIs_development = {};
26976
-
26977
- /** @license React v16.13.1
26978
- * react-is.development.js
26979
- *
26980
- * Copyright (c) Facebook, Inc. and its affiliates.
26981
- *
26982
- * This source code is licensed under the MIT license found in the
26983
- * LICENSE file in the root directory of this source tree.
26984
- */
26985
-
26986
-
26987
-
26988
- if (process.env.NODE_ENV !== "production") {
26989
- (function() {
26990
-
26991
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
26992
- // nor polyfill, then a plain number is used for performance.
26993
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
26994
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
26995
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
26996
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
26997
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
26998
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
26999
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
27000
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
27001
- // (unstable) APIs that have been removed. Can we remove the symbols?
27002
-
27003
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
27004
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
27005
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
27006
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
27007
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
27008
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
27009
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
27010
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
27011
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
27012
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
27013
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
27014
-
27015
- function isValidElementType(type) {
27016
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
27017
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
27018
- }
27019
-
27020
- function typeOf(object) {
27021
- if (typeof object === 'object' && object !== null) {
27022
- var $$typeof = object.$$typeof;
27023
-
27024
- switch ($$typeof) {
27025
- case REACT_ELEMENT_TYPE:
27026
- var type = object.type;
27027
-
27028
- switch (type) {
27029
- case REACT_ASYNC_MODE_TYPE:
27030
- case REACT_CONCURRENT_MODE_TYPE:
27031
- case REACT_FRAGMENT_TYPE:
27032
- case REACT_PROFILER_TYPE:
27033
- case REACT_STRICT_MODE_TYPE:
27034
- case REACT_SUSPENSE_TYPE:
27035
- return type;
27036
-
27037
- default:
27038
- var $$typeofType = type && type.$$typeof;
27039
-
27040
- switch ($$typeofType) {
27041
- case REACT_CONTEXT_TYPE:
27042
- case REACT_FORWARD_REF_TYPE:
27043
- case REACT_LAZY_TYPE:
27044
- case REACT_MEMO_TYPE:
27045
- case REACT_PROVIDER_TYPE:
27046
- return $$typeofType;
27047
-
27048
- default:
27049
- return $$typeof;
27050
- }
27051
-
27052
- }
27053
-
27054
- case REACT_PORTAL_TYPE:
27055
- return $$typeof;
27056
- }
27057
- }
27058
-
27059
- return undefined;
27060
- } // AsyncMode is deprecated along with isAsyncMode
27061
-
27062
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
27063
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
27064
- var ContextConsumer = REACT_CONTEXT_TYPE;
27065
- var ContextProvider = REACT_PROVIDER_TYPE;
27066
- var Element = REACT_ELEMENT_TYPE;
27067
- var ForwardRef = REACT_FORWARD_REF_TYPE;
27068
- var Fragment = REACT_FRAGMENT_TYPE;
27069
- var Lazy = REACT_LAZY_TYPE;
27070
- var Memo = REACT_MEMO_TYPE;
27071
- var Portal = REACT_PORTAL_TYPE;
27072
- var Profiler = REACT_PROFILER_TYPE;
27073
- var StrictMode = REACT_STRICT_MODE_TYPE;
27074
- var Suspense = REACT_SUSPENSE_TYPE;
27075
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
27076
-
27077
- function isAsyncMode(object) {
27078
- {
27079
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
27080
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
27081
-
27082
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
27083
- }
27084
- }
27085
-
27086
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
27087
- }
27088
- function isConcurrentMode(object) {
27089
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
27090
- }
27091
- function isContextConsumer(object) {
27092
- return typeOf(object) === REACT_CONTEXT_TYPE;
27093
- }
27094
- function isContextProvider(object) {
27095
- return typeOf(object) === REACT_PROVIDER_TYPE;
27096
- }
27097
- function isElement(object) {
27098
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
27099
- }
27100
- function isForwardRef(object) {
27101
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
27102
- }
27103
- function isFragment(object) {
27104
- return typeOf(object) === REACT_FRAGMENT_TYPE;
27105
- }
27106
- function isLazy(object) {
27107
- return typeOf(object) === REACT_LAZY_TYPE;
27108
- }
27109
- function isMemo(object) {
27110
- return typeOf(object) === REACT_MEMO_TYPE;
27111
- }
27112
- function isPortal(object) {
27113
- return typeOf(object) === REACT_PORTAL_TYPE;
27114
- }
27115
- function isProfiler(object) {
27116
- return typeOf(object) === REACT_PROFILER_TYPE;
27117
- }
27118
- function isStrictMode(object) {
27119
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
27120
- }
27121
- function isSuspense(object) {
27122
- return typeOf(object) === REACT_SUSPENSE_TYPE;
27123
- }
27124
-
27125
- reactIs_development.AsyncMode = AsyncMode;
27126
- reactIs_development.ConcurrentMode = ConcurrentMode;
27127
- reactIs_development.ContextConsumer = ContextConsumer;
27128
- reactIs_development.ContextProvider = ContextProvider;
27129
- reactIs_development.Element = Element;
27130
- reactIs_development.ForwardRef = ForwardRef;
27131
- reactIs_development.Fragment = Fragment;
27132
- reactIs_development.Lazy = Lazy;
27133
- reactIs_development.Memo = Memo;
27134
- reactIs_development.Portal = Portal;
27135
- reactIs_development.Profiler = Profiler;
27136
- reactIs_development.StrictMode = StrictMode;
27137
- reactIs_development.Suspense = Suspense;
27138
- reactIs_development.isAsyncMode = isAsyncMode;
27139
- reactIs_development.isConcurrentMode = isConcurrentMode;
27140
- reactIs_development.isContextConsumer = isContextConsumer;
27141
- reactIs_development.isContextProvider = isContextProvider;
27142
- reactIs_development.isElement = isElement;
27143
- reactIs_development.isForwardRef = isForwardRef;
27144
- reactIs_development.isFragment = isFragment;
27145
- reactIs_development.isLazy = isLazy;
27146
- reactIs_development.isMemo = isMemo;
27147
- reactIs_development.isPortal = isPortal;
27148
- reactIs_development.isProfiler = isProfiler;
27149
- reactIs_development.isStrictMode = isStrictMode;
27150
- reactIs_development.isSuspense = isSuspense;
27151
- reactIs_development.isValidElementType = isValidElementType;
27152
- reactIs_development.typeOf = typeOf;
27153
- })();
27154
- }
27155
-
27156
- if (process.env.NODE_ENV === 'production') {
27157
- reactIs.exports = reactIs_production_min;
27158
- } else {
27159
- reactIs.exports = reactIs_development;
27160
- }
27161
-
27162
26894
  (function (exports) {
27163
26895
 
27164
26896
  Object.defineProperty(exports, "__esModule", {
@@ -27168,7 +26900,7 @@ exports["default"] = getComponentName;
27168
26900
 
27169
26901
  var _functionPrototype = _interopRequireDefault(function_prototype_name);
27170
26902
 
27171
- var _reactIs = reactIs.exports;
26903
+ var _reactIs = reactIs$1.exports;
27172
26904
 
27173
26905
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27174
26906
 
@@ -28054,7 +27786,7 @@ exports["default"] = elementTypeValidator;
28054
27786
 
28055
27787
  var _propTypes = propTypes.exports;
28056
27788
 
28057
- var _reactIs = reactIs.exports;
27789
+ var _reactIs = reactIs$1.exports;
28058
27790
 
28059
27791
  var _and = _interopRequireDefault(and);
28060
27792
 
@@ -28296,7 +28028,7 @@ Object.defineProperty(exports, "__esModule", {
28296
28028
  });
28297
28029
  exports["default"] = keysOfValidator;
28298
28030
 
28299
- var _isPrimitive = _interopRequireDefault(isPrimitive$1);
28031
+ var _isPrimitive = _interopRequireDefault(isPrimitive);
28300
28032
 
28301
28033
  var _wrapValidator = _interopRequireDefault(wrapValidator);
28302
28034
 
@@ -29293,25 +29025,14 @@ var _typeof = {exports: {}};
29293
29025
  function _typeof(obj) {
29294
29026
  "@babel/helpers - typeof";
29295
29027
 
29296
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
29297
- module.exports = _typeof = function _typeof(obj) {
29298
- return typeof obj;
29299
- };
29300
-
29301
- module.exports["default"] = module.exports, module.exports.__esModule = true;
29302
- } else {
29303
- module.exports = _typeof = function _typeof(obj) {
29304
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
29305
- };
29306
-
29307
- module.exports["default"] = module.exports, module.exports.__esModule = true;
29308
- }
29309
-
29310
- return _typeof(obj);
29028
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
29029
+ return typeof obj;
29030
+ } : function (obj) {
29031
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
29032
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
29311
29033
  }
29312
29034
 
29313
- module.exports = _typeof;
29314
- module.exports["default"] = module.exports, module.exports.__esModule = true;
29035
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
29315
29036
  }(_typeof));
29316
29037
 
29317
29038
  (function (module) {
@@ -29367,8 +29088,7 @@ function _interopRequireWildcard(obj, nodeInterop) {
29367
29088
  return newObj;
29368
29089
  }
29369
29090
 
29370
- module.exports = _interopRequireWildcard;
29371
- module.exports["default"] = module.exports, module.exports.__esModule = true;
29091
+ module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports;
29372
29092
  }(interopRequireWildcard));
29373
29093
 
29374
29094
  var objectWithoutProperties = {exports: {}};
@@ -29391,8 +29111,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
29391
29111
  return target;
29392
29112
  }
29393
29113
 
29394
- module.exports = _objectWithoutPropertiesLoose;
29395
- module.exports["default"] = module.exports, module.exports.__esModule = true;
29114
+ module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
29396
29115
  }(objectWithoutPropertiesLoose));
29397
29116
 
29398
29117
  (function (module) {
@@ -29417,8 +29136,7 @@ function _objectWithoutProperties(source, excluded) {
29417
29136
  return target;
29418
29137
  }
29419
29138
 
29420
- module.exports = _objectWithoutProperties;
29421
- module.exports["default"] = module.exports, module.exports.__esModule = true;
29139
+ module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
29422
29140
  }(objectWithoutProperties));
29423
29141
 
29424
29142
  var emptyStylesFn = {};
@@ -29628,17 +29346,18 @@ exports['default'] = _propTypes2['default'].shape({
29628
29346
 
29629
29347
  var direction = {};
29630
29348
 
29631
- var RequireObjectCoercible = RequireObjectCoercible$6;
29349
+ var RequireObjectCoercible = RequireObjectCoercible$4;
29632
29350
  var callBound = callBound$a;
29633
29351
 
29634
29352
  var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
29353
+ var $push = callBound('Array.prototype.push');
29635
29354
 
29636
29355
  var implementation$5 = function values(O) {
29637
29356
  var obj = RequireObjectCoercible(O);
29638
29357
  var vals = [];
29639
29358
  for (var key in obj) {
29640
29359
  if ($isEnumerable(obj, key)) { // checks own-ness as well
29641
- vals.push(obj[key]);
29360
+ $push(vals, obj[key]);
29642
29361
  }
29643
29362
  }
29644
29363
  return vals;
@@ -30845,8 +30564,7 @@ function _arrayLikeToArray(arr, len) {
30845
30564
  return arr2;
30846
30565
  }
30847
30566
 
30848
- module.exports = _arrayLikeToArray;
30849
- module.exports["default"] = module.exports, module.exports.__esModule = true;
30567
+ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
30850
30568
  }(arrayLikeToArray));
30851
30569
 
30852
30570
  (function (module) {
@@ -30856,8 +30574,7 @@ function _arrayWithoutHoles(arr) {
30856
30574
  if (Array.isArray(arr)) return arrayLikeToArray$1(arr);
30857
30575
  }
30858
30576
 
30859
- module.exports = _arrayWithoutHoles;
30860
- module.exports["default"] = module.exports, module.exports.__esModule = true;
30577
+ module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
30861
30578
  }(arrayWithoutHoles));
30862
30579
 
30863
30580
  var iterableToArray = {exports: {}};
@@ -30867,8 +30584,7 @@ function _iterableToArray(iter) {
30867
30584
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
30868
30585
  }
30869
30586
 
30870
- module.exports = _iterableToArray;
30871
- module.exports["default"] = module.exports, module.exports.__esModule = true;
30587
+ module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
30872
30588
  }(iterableToArray));
30873
30589
 
30874
30590
  var unsupportedIterableToArray = {exports: {}};
@@ -30885,8 +30601,7 @@ function _unsupportedIterableToArray(o, minLen) {
30885
30601
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray$1(o, minLen);
30886
30602
  }
30887
30603
 
30888
- module.exports = _unsupportedIterableToArray;
30889
- module.exports["default"] = module.exports, module.exports.__esModule = true;
30604
+ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
30890
30605
  }(unsupportedIterableToArray));
30891
30606
 
30892
30607
  var nonIterableSpread = {exports: {}};
@@ -30896,8 +30611,7 @@ function _nonIterableSpread() {
30896
30611
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
30897
30612
  }
30898
30613
 
30899
- module.exports = _nonIterableSpread;
30900
- module.exports["default"] = module.exports, module.exports.__esModule = true;
30614
+ module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
30901
30615
  }(nonIterableSpread));
30902
30616
 
30903
30617
  (function (module) {
@@ -30913,8 +30627,7 @@ function _toConsumableArray(arr) {
30913
30627
  return arrayWithoutHoles$1(arr) || iterableToArray$1(arr) || unsupportedIterableToArray$1(arr) || nonIterableSpread$1();
30914
30628
  }
30915
30629
 
30916
- module.exports = _toConsumableArray;
30917
- module.exports["default"] = module.exports, module.exports.__esModule = true;
30630
+ module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
30918
30631
  }(toConsumableArray));
30919
30632
 
30920
30633
  (function (exports) {
@@ -35706,8 +35419,7 @@ function _arrayWithHoles(arr) {
35706
35419
  if (Array.isArray(arr)) return arr;
35707
35420
  }
35708
35421
 
35709
- module.exports = _arrayWithHoles;
35710
- module.exports["default"] = module.exports, module.exports.__esModule = true;
35422
+ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
35711
35423
  }(arrayWithHoles));
35712
35424
 
35713
35425
  var iterableToArrayLimit = {exports: {}};
@@ -35743,8 +35455,7 @@ function _iterableToArrayLimit(arr, i) {
35743
35455
  return _arr;
35744
35456
  }
35745
35457
 
35746
- module.exports = _iterableToArrayLimit;
35747
- module.exports["default"] = module.exports, module.exports.__esModule = true;
35458
+ module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
35748
35459
  }(iterableToArrayLimit));
35749
35460
 
35750
35461
  var nonIterableRest = {exports: {}};
@@ -35754,8 +35465,7 @@ function _nonIterableRest() {
35754
35465
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35755
35466
  }
35756
35467
 
35757
- module.exports = _nonIterableRest;
35758
- module.exports["default"] = module.exports, module.exports.__esModule = true;
35468
+ module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
35759
35469
  }(nonIterableRest));
35760
35470
 
35761
35471
  (function (module) {
@@ -35771,8 +35481,7 @@ function _slicedToArray(arr, i) {
35771
35481
  return arrayWithHoles$1(arr) || iterableToArrayLimit$1(arr, i) || unsupportedIterableToArray$1(arr, i) || nonIterableRest$1();
35772
35482
  }
35773
35483
 
35774
- module.exports = _slicedToArray;
35775
- module.exports["default"] = module.exports, module.exports.__esModule = true;
35484
+ module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
35776
35485
  }(slicedToArray));
35777
35486
 
35778
35487
  var isNextDay = {};