@copart/ops-tool-kit 1.5.35 → 1.6.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
33
  var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
34
34
 
35
35
  const name$e = "@copart/ops-tool-kit";
36
- const version$3 = "1.5.35";
36
+ const version$3 = "1.6.0-alpha.1";
37
37
  const main = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -545,7 +545,7 @@ function commonjsRequire () {
545
545
  throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
546
546
  }
547
547
 
548
- var reactIs_production_min = createCommonjsModule(function (module, exports) {
548
+ var reactIs_production_min$1 = createCommonjsModule(function (module, exports) {
549
549
 
550
550
  Object.defineProperty(exports, "__esModule", {
551
551
  value: !0
@@ -679,7 +679,7 @@ exports.isSuspense = function (a) {
679
679
  };
680
680
  });
681
681
 
682
- var reactIs_development = createCommonjsModule(function (module, exports) {
682
+ var reactIs_development$1 = createCommonjsModule(function (module, exports) {
683
683
 
684
684
  if (process.env.NODE_ENV !== "production") {
685
685
  (function () {
@@ -918,12 +918,12 @@ if (process.env.NODE_ENV !== "production") {
918
918
  }
919
919
  });
920
920
 
921
- var reactIs = createCommonjsModule(function (module) {
921
+ var reactIs$1 = createCommonjsModule(function (module) {
922
922
 
923
923
  if (process.env.NODE_ENV === 'production') {
924
- module.exports = reactIs_production_min;
924
+ module.exports = reactIs_production_min$1;
925
925
  } else {
926
- module.exports = reactIs_development;
926
+ module.exports = reactIs_development$1;
927
927
  }
928
928
  });
929
929
 
@@ -1029,18 +1029,18 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
1029
1029
  * LICENSE file in the root directory of this source tree.
1030
1030
  */
1031
1031
 
1032
- var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1033
- var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
1032
+ var ReactPropTypesSecret$4 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1033
+ var ReactPropTypesSecret_1$1 = ReactPropTypesSecret$4;
1034
1034
 
1035
- var printWarning$3 = function () {};
1035
+ var printWarning$5 = function () {};
1036
1036
 
1037
1037
  if (process.env.NODE_ENV !== 'production') {
1038
- var ReactPropTypesSecret = ReactPropTypesSecret_1;
1038
+ var ReactPropTypesSecret$3 = ReactPropTypesSecret_1$1;
1039
1039
 
1040
- var loggedTypeFailures = {};
1041
- var has$4 = Function.call.bind(Object.prototype.hasOwnProperty);
1040
+ var loggedTypeFailures$1 = {};
1041
+ var has$7 = Function.call.bind(Object.prototype.hasOwnProperty);
1042
1042
 
1043
- printWarning$3 = function (text) {
1043
+ printWarning$5 = function (text) {
1044
1044
  var message = 'Warning: ' + text;
1045
1045
 
1046
1046
  if (typeof console !== 'undefined') {
@@ -1068,10 +1068,10 @@ if (process.env.NODE_ENV !== 'production') {
1068
1068
  */
1069
1069
 
1070
1070
 
1071
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
1071
+ function checkPropTypes$2(typeSpecs, values, location, componentName, getStack) {
1072
1072
  if (process.env.NODE_ENV !== 'production') {
1073
1073
  for (var typeSpecName in typeSpecs) {
1074
- if (has$4(typeSpecs, typeSpecName)) {
1074
+ if (has$7(typeSpecs, typeSpecName)) {
1075
1075
  var error; // Prop type validation may throw. In case they do, we don't want to
1076
1076
  // fail the render phase where it didn't fail before. So we log it.
1077
1077
  // After these have been cleaned up, we'll let them throw.
@@ -1085,21 +1085,21 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
1085
1085
  throw err;
1086
1086
  }
1087
1087
 
1088
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
1088
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$3);
1089
1089
  } catch (ex) {
1090
1090
  error = ex;
1091
1091
  }
1092
1092
 
1093
1093
  if (error && !(error instanceof Error)) {
1094
- printWarning$3((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
1094
+ printWarning$5((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
1095
1095
  }
1096
1096
 
1097
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
1097
+ if (error instanceof Error && !(error.message in loggedTypeFailures$1)) {
1098
1098
  // Only monitor this failure once because there tends to be a lot of the
1099
1099
  // same error.
1100
- loggedTypeFailures[error.message] = true;
1100
+ loggedTypeFailures$1[error.message] = true;
1101
1101
  var stack = getStack ? getStack() : '';
1102
- printWarning$3('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
1102
+ printWarning$5('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
1103
1103
  }
1104
1104
  }
1105
1105
  }
@@ -1112,20 +1112,20 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
1112
1112
  */
1113
1113
 
1114
1114
 
1115
- checkPropTypes.resetWarningCache = function () {
1115
+ checkPropTypes$2.resetWarningCache = function () {
1116
1116
  if (process.env.NODE_ENV !== 'production') {
1117
- loggedTypeFailures = {};
1117
+ loggedTypeFailures$1 = {};
1118
1118
  }
1119
1119
  };
1120
1120
 
1121
- var checkPropTypes_1 = checkPropTypes;
1121
+ var checkPropTypes_1$1 = checkPropTypes$2;
1122
1122
 
1123
- var has$3 = Function.call.bind(Object.prototype.hasOwnProperty);
1123
+ var has$6 = Function.call.bind(Object.prototype.hasOwnProperty);
1124
1124
 
1125
- var printWarning$2 = function () {};
1125
+ var printWarning$4 = function () {};
1126
1126
 
1127
1127
  if (process.env.NODE_ENV !== 'production') {
1128
- printWarning$2 = function (text) {
1128
+ printWarning$4 = function (text) {
1129
1129
  var message = 'Warning: ' + text;
1130
1130
 
1131
1131
  if (typeof console !== 'undefined') {
@@ -1141,11 +1141,11 @@ if (process.env.NODE_ENV !== 'production') {
1141
1141
  };
1142
1142
  }
1143
1143
 
1144
- function emptyFunctionThatReturnsNull() {
1144
+ function emptyFunctionThatReturnsNull$1() {
1145
1145
  return null;
1146
1146
  }
1147
1147
 
1148
- var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1148
+ var factoryWithTypeCheckers$1 = function (isValidElement, throwOnDirectAccess) {
1149
1149
  /* global Symbol */
1150
1150
  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
1151
1151
  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
@@ -1290,7 +1290,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1290
1290
  componentName = componentName || ANONYMOUS;
1291
1291
  propFullName = propFullName || propName;
1292
1292
 
1293
- if (secret !== ReactPropTypesSecret_1) {
1293
+ if (secret !== ReactPropTypesSecret_1$1) {
1294
1294
  if (throwOnDirectAccess) {
1295
1295
  // New behavior only for users of `prop-types` package
1296
1296
  var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
@@ -1302,7 +1302,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1302
1302
 
1303
1303
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
1304
1304
  manualPropTypeWarningCount < 3) {
1305
- printWarning$2('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
1305
+ printWarning$4('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
1306
1306
  manualPropTypeCallCache[cacheKey] = true;
1307
1307
  manualPropTypeWarningCount++;
1308
1308
  }
@@ -1349,7 +1349,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1349
1349
  }
1350
1350
 
1351
1351
  function createAnyTypeChecker() {
1352
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
1352
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull$1);
1353
1353
  }
1354
1354
 
1355
1355
  function createArrayOfTypeChecker(typeChecker) {
@@ -1366,7 +1366,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1366
1366
  }
1367
1367
 
1368
1368
  for (var i = 0; i < propValue.length; i++) {
1369
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);
1369
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1$1);
1370
1370
 
1371
1371
  if (error instanceof Error) {
1372
1372
  return error;
@@ -1398,7 +1398,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1398
1398
  function validate(props, propName, componentName, location, propFullName) {
1399
1399
  var propValue = props[propName];
1400
1400
 
1401
- if (!reactIs.isValidElementType(propValue)) {
1401
+ if (!reactIs$1.isValidElementType(propValue)) {
1402
1402
  var propType = getPropType(propValue);
1403
1403
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
1404
1404
  }
@@ -1427,13 +1427,13 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1427
1427
  if (!Array.isArray(expectedValues)) {
1428
1428
  if (process.env.NODE_ENV !== 'production') {
1429
1429
  if (arguments.length > 1) {
1430
- printWarning$2('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
1430
+ printWarning$4('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
1431
1431
  } else {
1432
- printWarning$2('Invalid argument supplied to oneOf, expected an array.');
1432
+ printWarning$4('Invalid argument supplied to oneOf, expected an array.');
1433
1433
  }
1434
1434
  }
1435
1435
 
1436
- return emptyFunctionThatReturnsNull;
1436
+ return emptyFunctionThatReturnsNull$1;
1437
1437
  }
1438
1438
 
1439
1439
  function validate(props, propName, componentName, location, propFullName) {
@@ -1474,8 +1474,8 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1474
1474
  }
1475
1475
 
1476
1476
  for (var key in propValue) {
1477
- if (has$3(propValue, key)) {
1478
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1477
+ if (has$6(propValue, key)) {
1478
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1$1);
1479
1479
 
1480
1480
  if (error instanceof Error) {
1481
1481
  return error;
@@ -1491,16 +1491,16 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1491
1491
 
1492
1492
  function createUnionTypeChecker(arrayOfTypeCheckers) {
1493
1493
  if (!Array.isArray(arrayOfTypeCheckers)) {
1494
- process.env.NODE_ENV !== 'production' ? printWarning$2('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
1495
- return emptyFunctionThatReturnsNull;
1494
+ process.env.NODE_ENV !== 'production' ? printWarning$4('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
1495
+ return emptyFunctionThatReturnsNull$1;
1496
1496
  }
1497
1497
 
1498
1498
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1499
1499
  var checker = arrayOfTypeCheckers[i];
1500
1500
 
1501
1501
  if (typeof checker !== 'function') {
1502
- printWarning$2('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
1503
- return emptyFunctionThatReturnsNull;
1502
+ printWarning$4('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
1503
+ return emptyFunctionThatReturnsNull$1;
1504
1504
  }
1505
1505
  }
1506
1506
 
@@ -1508,7 +1508,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1508
1508
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1509
1509
  var checker = arrayOfTypeCheckers[i];
1510
1510
 
1511
- if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
1511
+ if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1$1) == null) {
1512
1512
  return null;
1513
1513
  }
1514
1514
  }
@@ -1547,7 +1547,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1547
1547
  continue;
1548
1548
  }
1549
1549
 
1550
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1550
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1$1);
1551
1551
 
1552
1552
  if (error) {
1553
1553
  return error;
@@ -1580,7 +1580,7 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1580
1580
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
1581
1581
  }
1582
1582
 
1583
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1583
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1$1);
1584
1584
 
1585
1585
  if (error) {
1586
1586
  return error;
@@ -1742,21 +1742,21 @@ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
1742
1742
  return propValue.constructor.name;
1743
1743
  }
1744
1744
 
1745
- ReactPropTypes.checkPropTypes = checkPropTypes_1;
1746
- ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
1745
+ ReactPropTypes.checkPropTypes = checkPropTypes_1$1;
1746
+ ReactPropTypes.resetWarningCache = checkPropTypes_1$1.resetWarningCache;
1747
1747
  ReactPropTypes.PropTypes = ReactPropTypes;
1748
1748
  return ReactPropTypes;
1749
1749
  };
1750
1750
 
1751
- function emptyFunction$1() {}
1751
+ function emptyFunction$2() {}
1752
1752
 
1753
- function emptyFunctionWithReset() {}
1753
+ function emptyFunctionWithReset$1() {}
1754
1754
 
1755
- emptyFunctionWithReset.resetWarningCache = emptyFunction$1;
1755
+ emptyFunctionWithReset$1.resetWarningCache = emptyFunction$2;
1756
1756
 
1757
- var factoryWithThrowingShims = function () {
1757
+ var factoryWithThrowingShims$1 = function () {
1758
1758
  function shim(props, propName, componentName, location, propFullName, secret) {
1759
- if (secret === ReactPropTypesSecret_1) {
1759
+ if (secret === ReactPropTypesSecret_1$1) {
1760
1760
  // It is still safe when called from React.
1761
1761
  return;
1762
1762
  }
@@ -1791,14 +1791,14 @@ var factoryWithThrowingShims = function () {
1791
1791
  oneOfType: getShim,
1792
1792
  shape: getShim,
1793
1793
  exact: getShim,
1794
- checkPropTypes: emptyFunctionWithReset,
1795
- resetWarningCache: emptyFunction$1
1794
+ checkPropTypes: emptyFunctionWithReset$1,
1795
+ resetWarningCache: emptyFunction$2
1796
1796
  };
1797
1797
  ReactPropTypes.PropTypes = ReactPropTypes;
1798
1798
  return ReactPropTypes;
1799
1799
  };
1800
1800
 
1801
- var propTypes = createCommonjsModule(function (module) {
1801
+ var propTypes$1 = createCommonjsModule(function (module) {
1802
1802
  /**
1803
1803
  * Copyright (c) 2013-present, Facebook, Inc.
1804
1804
  *
@@ -1806,16 +1806,16 @@ var propTypes = createCommonjsModule(function (module) {
1806
1806
  * LICENSE file in the root directory of this source tree.
1807
1807
  */
1808
1808
  if (process.env.NODE_ENV !== 'production') {
1809
- var ReactIs = reactIs; // By explicitly using `prop-types` you are opting into new development behavior.
1809
+ var ReactIs = reactIs$1; // By explicitly using `prop-types` you are opting into new development behavior.
1810
1810
  // http://fb.me/prop-types-in-prod
1811
1811
 
1812
1812
 
1813
1813
  var throwOnDirectAccess = true;
1814
- module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
1814
+ module.exports = factoryWithTypeCheckers$1(ReactIs.isElement, throwOnDirectAccess);
1815
1815
  } else {
1816
1816
  // By explicitly using `prop-types` you are opting into new production behavior.
1817
1817
  // http://fb.me/prop-types-in-prod
1818
- module.exports = factoryWithThrowingShims();
1818
+ module.exports = factoryWithThrowingShims$1();
1819
1819
  }
1820
1820
  });
1821
1821
 
@@ -1846,22 +1846,22 @@ function makeEmptyFunction(arg) {
1846
1846
  */
1847
1847
 
1848
1848
 
1849
- var emptyFunction = function emptyFunction() {};
1849
+ var emptyFunction$1 = function emptyFunction() {};
1850
1850
 
1851
- emptyFunction.thatReturns = makeEmptyFunction;
1852
- emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
1853
- emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
1854
- emptyFunction.thatReturnsNull = makeEmptyFunction(null);
1851
+ emptyFunction$1.thatReturns = makeEmptyFunction;
1852
+ emptyFunction$1.thatReturnsFalse = makeEmptyFunction(false);
1853
+ emptyFunction$1.thatReturnsTrue = makeEmptyFunction(true);
1854
+ emptyFunction$1.thatReturnsNull = makeEmptyFunction(null);
1855
1855
 
1856
- emptyFunction.thatReturnsThis = function () {
1856
+ emptyFunction$1.thatReturnsThis = function () {
1857
1857
  return this;
1858
1858
  };
1859
1859
 
1860
- emptyFunction.thatReturnsArgument = function (arg) {
1860
+ emptyFunction$1.thatReturnsArgument = function (arg) {
1861
1861
  return arg;
1862
1862
  };
1863
1863
 
1864
- var emptyFunction_1 = emptyFunction;
1864
+ var emptyFunction_1 = emptyFunction$1;
1865
1865
 
1866
1866
  /**
1867
1867
  * Similar to invariant but only logs a warning if the condition is not met.
@@ -1874,7 +1874,7 @@ var emptyFunction_1 = emptyFunction;
1874
1874
  var warning$1 = emptyFunction_1;
1875
1875
 
1876
1876
  if (process.env.NODE_ENV !== 'production') {
1877
- var printWarning$1 = function printWarning(format) {
1877
+ var printWarning$3 = function printWarning(format) {
1878
1878
  for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1879
1879
  args[_key - 1] = arguments[_key];
1880
1880
  }
@@ -1910,7 +1910,7 @@ if (process.env.NODE_ENV !== 'production') {
1910
1910
  args[_key2 - 2] = arguments[_key2];
1911
1911
  }
1912
1912
 
1913
- printWarning$1.apply(undefined, [format].concat(args));
1913
+ printWarning$3.apply(undefined, [format].concat(args));
1914
1914
  }
1915
1915
  };
1916
1916
  }
@@ -1927,7 +1927,7 @@ _interopRequireDefault(React__default["default"]);
1927
1927
 
1928
1928
 
1929
1929
 
1930
- var _propTypes2 = _interopRequireDefault(propTypes);
1930
+ var _propTypes2 = _interopRequireDefault(propTypes$1);
1931
1931
 
1932
1932
 
1933
1933
 
@@ -3919,32 +3919,32 @@ var runtime = createCommonjsModule(function (module) {
3919
3919
 
3920
3920
  // This method of obtaining a reference to the global object needs to be
3921
3921
  // kept identical to the way it is obtained in runtime.js
3922
- var g = (function() {
3922
+ var g$1 = (function() {
3923
3923
  return this || (typeof self === "object" && self);
3924
3924
  })() || Function("return this")();
3925
3925
 
3926
3926
  // Use `getOwnPropertyNames` because not all browsers support calling
3927
3927
  // `hasOwnProperty` on the global `self` object in a worker. See #183.
3928
- var hadRuntime = g.regeneratorRuntime &&
3929
- Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime") >= 0;
3928
+ var hadRuntime = g$1.regeneratorRuntime &&
3929
+ Object.getOwnPropertyNames(g$1).indexOf("regeneratorRuntime") >= 0;
3930
3930
 
3931
3931
  // Save the old regeneratorRuntime in case it needs to be restored later.
3932
- var oldRuntime = hadRuntime && g.regeneratorRuntime;
3932
+ var oldRuntime = hadRuntime && g$1.regeneratorRuntime;
3933
3933
 
3934
3934
  // Force reevalutation of runtime.js.
3935
- g.regeneratorRuntime = undefined;
3935
+ g$1.regeneratorRuntime = undefined;
3936
3936
 
3937
3937
  var runtimeModule = runtime;
3938
3938
 
3939
3939
  if (hadRuntime) {
3940
3940
  // Restore the original runtime.
3941
- g.regeneratorRuntime = oldRuntime;
3941
+ g$1.regeneratorRuntime = oldRuntime;
3942
3942
  } else {
3943
3943
  // Remove the global property added by runtime.js.
3944
3944
  try {
3945
- delete g.regeneratorRuntime;
3945
+ delete g$1.regeneratorRuntime;
3946
3946
  } catch(e) {
3947
- g.regeneratorRuntime = undefined;
3947
+ g$1.regeneratorRuntime = undefined;
3948
3948
  }
3949
3949
  }
3950
3950
 
@@ -6455,7 +6455,6 @@ function () {
6455
6455
  return _ref.apply(this, arguments);
6456
6456
  };
6457
6457
  }();
6458
-
6459
6458
  var findAppData = function findAppData(tiles) {
6460
6459
  var matchingTiles = tiles.filter(function (tile) {
6461
6460
  if (tile.appName) {
@@ -6474,7 +6473,6 @@ var findAppData = function findAppData(tiles) {
6474
6473
  return matchingTiles[0];
6475
6474
  }
6476
6475
  };
6477
-
6478
6476
  var getAppTileData =
6479
6477
  /*#__PURE__*/
6480
6478
  function () {
@@ -7010,7 +7008,7 @@ function () {
7010
7008
  };
7011
7009
  }();
7012
7010
 
7013
- var has$2 = Object.prototype.hasOwnProperty,
7011
+ var has$5 = Object.prototype.hasOwnProperty,
7014
7012
  undef;
7015
7013
  /**
7016
7014
  * Decode a URI encoded string.
@@ -7079,7 +7077,7 @@ function querystringify(obj, prefix) {
7079
7077
  if ('string' !== typeof prefix) prefix = '?';
7080
7078
 
7081
7079
  for (key in obj) {
7082
- if (has$2.call(obj, key)) {
7080
+ if (has$5.call(obj, key)) {
7083
7081
  value = obj[key]; //
7084
7082
  // Edge cases where we actually want to encode the value to an empty
7085
7083
  // string instead of the stringified value.
@@ -10552,13 +10550,13 @@ var hasPath$1 = hasPath;
10552
10550
  * pointHas('z'); //=> false
10553
10551
  */
10554
10552
 
10555
- var has =
10553
+ var has$3 =
10556
10554
  /*#__PURE__*/
10557
10555
  _curry2(function has(prop, obj) {
10558
10556
  return hasPath$1([prop], obj);
10559
10557
  });
10560
10558
 
10561
- var has$1 = has;
10559
+ var has$4 = has$3;
10562
10560
 
10563
10561
  /**
10564
10562
  * Returns `true` if the specified value is equal, in [`R.equals`](#equals)
@@ -11289,7 +11287,7 @@ function _inherits$1(subClass, superClass) {
11289
11287
  if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
11290
11288
  }
11291
11289
 
11292
- var Portal$3 = function (_React$Component) {
11290
+ var Portal$4 = function (_React$Component) {
11293
11291
  _inherits$1(Portal, _React$Component);
11294
11292
 
11295
11293
  function Portal() {
@@ -11326,11 +11324,11 @@ var Portal$3 = function (_React$Component) {
11326
11324
  return Portal;
11327
11325
  }(React__default["default"].Component);
11328
11326
 
11329
- Portal$3.propTypes = {
11330
- children: propTypes.node.isRequired,
11331
- node: propTypes.any
11327
+ Portal$4.propTypes = {
11328
+ children: propTypes$1.node.isRequired,
11329
+ node: propTypes$1.any
11332
11330
  };
11333
- var Portalv4 = Portal$3;
11331
+ var Portalv4 = Portal$4;
11334
11332
 
11335
11333
  var _createClass = function () {
11336
11334
  function defineProperties(target, props) {
@@ -11380,7 +11378,7 @@ function _inherits(subClass, superClass) {
11380
11378
  if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
11381
11379
  } // This file is a fallback for a consumer who is not yet on React 16
11382
11380
 
11383
- var Portal$2 = function (_React$Component) {
11381
+ var Portal$3 = function (_React$Component) {
11384
11382
  _inherits(Portal, _React$Component);
11385
11383
 
11386
11384
  function Portal() {
@@ -11437,21 +11435,21 @@ var Portal$2 = function (_React$Component) {
11437
11435
  return Portal;
11438
11436
  }(React__default["default"].Component);
11439
11437
 
11440
- var LegacyPortal = Portal$2;
11441
- Portal$2.propTypes = {
11442
- children: propTypes.node.isRequired,
11443
- node: propTypes.any
11438
+ var LegacyPortal = Portal$3;
11439
+ Portal$3.propTypes = {
11440
+ children: propTypes$1.node.isRequired,
11441
+ node: propTypes$1.any
11444
11442
  };
11445
11443
 
11446
- var Portal = void 0;
11444
+ var Portal$1 = void 0;
11447
11445
 
11448
11446
  if (ReactDOM__default["default"].createPortal) {
11449
- Portal = Portalv4;
11447
+ Portal$1 = Portalv4;
11450
11448
  } else {
11451
- Portal = LegacyPortal;
11449
+ Portal$1 = LegacyPortal;
11452
11450
  }
11453
11451
 
11454
- var Portal$1 = Portal;
11452
+ var Portal$2 = Portal$1;
11455
11453
 
11456
11454
  var getClassName = createCommonjsModule(function (module, exports) {
11457
11455
 
@@ -22117,7 +22115,7 @@ FeedbackDialog.defaultProps = {
22117
22115
  }
22118
22116
  };
22119
22117
 
22120
- var css_248z$b = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\n background-color: var(--blue);\n background-color: var(--blue);\n height: 64px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\n display: flex;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\n color: white;\n font-size: 11px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\n display: flex;\n color: white;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\n color: white;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n width: 6rem;\n margin-top: 0rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\n margin-top: 0.6rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\n margin-top: 0.4rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\n margin-top: -0.2rem;\n margin-left: 2rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n display: inline;\n display: initial;\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-style: italic;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n position: relative;\n left: 16px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\n display: flex;\n color: white;\n font-size: 13px;\n cursor: pointer;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 10px;\n margin-right: 7px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\n color: white;\n cursor: default;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n background-color: white;\n border-radius: 20px;\n margin: 5px;\n padding: 0px 10px;\n height: 25px;\n font-weight: bold;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\n border: 1px solid #1d5ab9;\n justify-content: flex-start;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\n color: black;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n background-color: white;\n border-radius: 20px;\n display: flex;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\n color: red;\n margin: 5px 0px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\n margin-right: 5px;\n margin-left: 5px;\n width: 24px;\n height: 24px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\n margin-left: 5px;\n display: inline-flex;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\n line-height: unset;\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\n color: green;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n color: red;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 10px !important;\n margin-right: 10px !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 10px !important;\n margin-right: 10px !important;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\n margin: 0 !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\n width: 100%;\n}\n\n@media only screen and (max-width: 1024px) {\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 5px;\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 2px;\n }\n}\n";
22118
+ var css_248z$b = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\n background-color: var(--blue);\n background-color: var(--blue);\n height: 64px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\n display: flex;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\n color: white;\n font-size: 11px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\n display: flex;\n color: white;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\n color: white;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n width: 6rem;\n margin-top: 0rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\n margin-top: 0.6rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\n margin-top: 0.4rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\n margin-top: -0.2rem;\n margin-left: 2rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n display: inline;\n display: initial;\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-style: italic;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\n format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n position: relative;\n left: 16px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\n display: flex;\n color: white;\n font-size: 13px;\n cursor: pointer;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 10px;\n margin-right: 7px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\n color: white;\n cursor: default;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n background-color: white;\n border-radius: 20px;\n margin: 5px;\n padding: 0px 10px;\n height: 25px;\n font-weight: bold;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\n border: 1px solid #1d5ab9;\n justify-content: flex-start;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\n color: black;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n background-color: white;\n border-radius: 20px;\n display: flex;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\n color: red;\n margin: 5px 0px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\n margin-right: 5px;\n margin-left: 5px;\n width: 24px;\n height: 24px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\n margin-left: 5px;\n display: inline-flex;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\n line-height: unset;\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\n color: green;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n color: red;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 10px !important;\n margin-right: 10px !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 10px !important;\n margin-right: 10px !important;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\n margin: 0 !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\n cursor: pointer;\n position: relative;\n top: 2px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\n color: #fff;\n}\n\n@media only screen and (max-width: 1024px) {\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 5px;\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 2px;\n }\n}\n";
22121
22119
  styleInject(css_248z$b);
22122
22120
 
22123
22121
  var LogOutMenu = function LogOutMenu(_ref) {
@@ -22165,6 +22163,18 @@ var CopartLogo = function CopartLogo() {
22165
22163
  }));
22166
22164
  };
22167
22165
 
22166
+ var Help = function Help(_ref) {
22167
+ var handleHelpClick = _ref.handleHelpClick;
22168
+ return React__default["default"].createElement("div", {
22169
+ className: "utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button"
22170
+ }, React__default["default"].createElement(coreComponents.IconButton, {
22171
+ onClick: handleHelpClick
22172
+ }, React__default["default"].createElement(coreComponents.Icon, {
22173
+ name: "help",
22174
+ variant: "material"
22175
+ })));
22176
+ };
22177
+
22168
22178
  var css_248z$9 = ".utilities_ops-app-frame_AppBarComponent_FeedbackDialog_FeedbackButton_FeedbackButton--FeedbackButton {\n /* TODO: Perfect the AppBar spacing. */\n margin-left: 7px !important;\n position: relative !important;\n top: 1px;\n cursor: pointer;\n}\n\nbutton.utilities_ops-app-frame_AppBarComponent_FeedbackDialog_FeedbackButton_FeedbackButton--FeedbackButton[type='button'] {\n /* materia-ui hack. */\n padding: 0 !important;\n}\n";
22169
22179
  styleInject(css_248z$9);
22170
22180
 
@@ -22213,7 +22223,8 @@ var _styleModuleImportMap$5 = {
22213
22223
  "userMenu": "utilities_ops-app-frame_AppBarComponent_AppBar--userMenu",
22214
22224
  "roleAndFlag": "utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag",
22215
22225
  "feedback": "utilities_ops-app-frame_AppBarComponent_AppBar--feedback",
22216
- "overflowItems": "utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems"
22226
+ "overflowItems": "utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems",
22227
+ "mihelp_button": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button"
22217
22228
  }
22218
22229
  };
22219
22230
 
@@ -24781,7 +24792,8 @@ var _styleModuleImportMap$4 = {
24781
24792
  "userMenu": "utilities_ops-app-frame_AppBarComponent_AppBar--userMenu",
24782
24793
  "roleAndFlag": "utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag",
24783
24794
  "feedback": "utilities_ops-app-frame_AppBarComponent_AppBar--feedback",
24784
- "overflowItems": "utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems"
24795
+ "overflowItems": "utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems",
24796
+ "mihelp_button": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button"
24785
24797
  }
24786
24798
  };
24787
24799
  var overflowSetStyles = {
@@ -24805,10 +24817,12 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
24805
24817
  _props$phoneStatusObj = props.phoneStatusObject,
24806
24818
  phoneStatusObject = _props$phoneStatusObj === void 0 ? {} : _props$phoneStatusObj,
24807
24819
  _togglePhoneAvailability = props.togglePhoneAvailability,
24820
+ handleHelpClick = props.handleHelpClick,
24808
24821
  type = props.type,
24809
24822
  config = props.config,
24810
24823
  _props$navigateTo = props.navigateTo,
24811
- navigateTo = _props$navigateTo === void 0 ? function (url) {} : _props$navigateTo;
24824
+ navigateTo = _props$navigateTo === void 0 ? function (url) {} : _props$navigateTo,
24825
+ isMihelpEnabled = props.isMihelpEnabled;
24812
24826
  var coreAppConfig = storage.getLocalItem('opsportal-core:config');
24813
24827
  var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures,
24814
24828
  showSettingsMenuByTileConfig = coreAppConfig.showSettingsMenuByTileConfig;
@@ -24957,7 +24971,7 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
24957
24971
  text: "Feedback"
24958
24972
  }));
24959
24973
  },
24960
- renderIf: true,
24974
+ renderIf: !isMihelpEnabled,
24961
24975
  onClick: function onClick() {
24962
24976
  return props.toggleFeedbackDialog(true);
24963
24977
  },
@@ -24968,6 +24982,15 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
24968
24982
  }
24969
24983
  });
24970
24984
  }
24985
+ }, {
24986
+ key: 'help',
24987
+ name: 'Help',
24988
+ renderIf: isMihelpEnabled,
24989
+ render: function render() {
24990
+ return React__default["default"].createElement(Help, {
24991
+ handleHelpClick: handleHelpClick
24992
+ });
24993
+ }
24971
24994
  }, {
24972
24995
  key: 'logout',
24973
24996
  name: 'Logout',
@@ -25729,295 +25752,394 @@ var IconComponent = function IconComponent(_ref) {
25729
25752
  }, fieldDisplay)));
25730
25753
  };
25731
25754
 
25732
- var tabbable_1 = createCommonjsModule(function (module, exports) {
25733
-
25734
- Object.defineProperty(exports, "__esModule", {
25735
- value: true
25736
- });
25737
- exports.default = findTabbableDescendants;
25738
- /*!
25739
- * Adapted from jQuery UI core
25740
- *
25741
- * http://jqueryui.com
25755
+ /** @license React v16.13.1
25756
+ * react-is.production.min.js
25742
25757
  *
25743
- * Copyright 2014 jQuery Foundation and other contributors
25744
- * Released under the MIT license.
25745
- * http://jquery.org/license
25758
+ * Copyright (c) Facebook, Inc. and its affiliates.
25746
25759
  *
25747
- * http://api.jqueryui.com/category/ui-core/
25760
+ * This source code is licensed under the MIT license found in the
25761
+ * LICENSE file in the root directory of this source tree.
25748
25762
  */
25749
25763
 
25750
- var tabbableNode = /input|select|textarea|button|object/;
25764
+ var b = "function" === typeof Symbol && Symbol.for,
25765
+ c = b ? Symbol.for("react.element") : 60103,
25766
+ d = b ? Symbol.for("react.portal") : 60106,
25767
+ e = b ? Symbol.for("react.fragment") : 60107,
25768
+ f = b ? Symbol.for("react.strict_mode") : 60108,
25769
+ g = b ? Symbol.for("react.profiler") : 60114,
25770
+ h = b ? Symbol.for("react.provider") : 60109,
25771
+ k = b ? Symbol.for("react.context") : 60110,
25772
+ l = b ? Symbol.for("react.async_mode") : 60111,
25773
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
25774
+ n = b ? Symbol.for("react.forward_ref") : 60112,
25775
+ p = b ? Symbol.for("react.suspense") : 60113,
25776
+ q = b ? Symbol.for("react.suspense_list") : 60120,
25777
+ r = b ? Symbol.for("react.memo") : 60115,
25778
+ t = b ? Symbol.for("react.lazy") : 60116,
25779
+ v = b ? Symbol.for("react.block") : 60121,
25780
+ w = b ? Symbol.for("react.fundamental") : 60117,
25781
+ x = b ? Symbol.for("react.responder") : 60118,
25782
+ y = b ? Symbol.for("react.scope") : 60119;
25751
25783
 
25752
- function hidesContents(element) {
25753
- var zeroSize = element.offsetWidth <= 0 && element.offsetHeight <= 0; // If the node is empty, this is good enough
25784
+ function z(a) {
25785
+ if ("object" === typeof a && null !== a) {
25786
+ var u = a.$$typeof;
25754
25787
 
25755
- if (zeroSize && !element.innerHTML) return true; // Otherwise we need to check some styles
25788
+ switch (u) {
25789
+ case c:
25790
+ switch (a = a.type, a) {
25791
+ case l:
25792
+ case m:
25793
+ case e:
25794
+ case g:
25795
+ case f:
25796
+ case p:
25797
+ return a;
25756
25798
 
25757
- var style = window.getComputedStyle(element);
25758
- return zeroSize ? style.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
25759
- element.scrollWidth <= 0 && element.scrollHeight <= 0 : style.getPropertyValue("display") == "none";
25760
- }
25799
+ default:
25800
+ switch (a = a && a.$$typeof, a) {
25801
+ case k:
25802
+ case n:
25803
+ case t:
25804
+ case r:
25805
+ case h:
25806
+ return a;
25761
25807
 
25762
- function visible(element) {
25763
- var parentElement = element;
25808
+ default:
25809
+ return u;
25810
+ }
25764
25811
 
25765
- while (parentElement) {
25766
- if (parentElement === document.body) break;
25767
- if (hidesContents(parentElement)) return false;
25768
- parentElement = parentElement.parentNode;
25769
- }
25812
+ }
25770
25813
 
25771
- return true;
25814
+ case d:
25815
+ return u;
25816
+ }
25817
+ }
25772
25818
  }
25773
25819
 
25774
- function focusable(element, isTabIndexNotNaN) {
25775
- var nodeName = element.nodeName.toLowerCase();
25776
- var res = tabbableNode.test(nodeName) && !element.disabled || (nodeName === "a" ? element.href || isTabIndexNotNaN : isTabIndexNotNaN);
25777
- return res && visible(element);
25820
+ function A(a) {
25821
+ return z(a) === m;
25778
25822
  }
25779
25823
 
25780
- function tabbable(element) {
25781
- var tabIndex = element.getAttribute("tabindex");
25782
- if (tabIndex === null) tabIndex = undefined;
25783
- var isTabIndexNaN = isNaN(tabIndex);
25784
- return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN);
25785
- }
25824
+ var AsyncMode = l;
25825
+ var ConcurrentMode = m;
25826
+ var ContextConsumer = k;
25827
+ var ContextProvider = h;
25828
+ var Element$1 = c;
25829
+ var ForwardRef = n;
25830
+ var Fragment = e;
25831
+ var Lazy = t;
25832
+ var Memo = r;
25833
+ var Portal = d;
25834
+ var Profiler = g;
25835
+ var StrictMode = f;
25836
+ var Suspense = p;
25786
25837
 
25787
- function findTabbableDescendants(element) {
25788
- return [].slice.call(element.querySelectorAll("*"), 0).filter(tabbable);
25789
- }
25838
+ var isAsyncMode = function (a) {
25839
+ return A(a) || z(a) === l;
25840
+ };
25790
25841
 
25791
- module.exports = exports["default"];
25792
- });
25842
+ var isConcurrentMode = A;
25793
25843
 
25794
- var focusManager = createCommonjsModule(function (module, exports) {
25844
+ var isContextConsumer = function (a) {
25845
+ return z(a) === k;
25846
+ };
25795
25847
 
25796
- Object.defineProperty(exports, "__esModule", {
25797
- value: true
25798
- });
25799
- exports.handleBlur = handleBlur;
25800
- exports.handleFocus = handleFocus;
25801
- exports.markForFocusLater = markForFocusLater;
25802
- exports.returnFocus = returnFocus;
25803
- exports.popWithoutFocus = popWithoutFocus;
25804
- exports.setupScopedFocus = setupScopedFocus;
25805
- exports.teardownScopedFocus = teardownScopedFocus;
25848
+ var isContextProvider = function (a) {
25849
+ return z(a) === h;
25850
+ };
25806
25851
 
25852
+ var isElement = function (a) {
25853
+ return "object" === typeof a && null !== a && a.$$typeof === c;
25854
+ };
25807
25855
 
25856
+ var isForwardRef = function (a) {
25857
+ return z(a) === n;
25858
+ };
25808
25859
 
25809
- var _tabbable2 = _interopRequireDefault(tabbable_1);
25860
+ var isFragment = function (a) {
25861
+ return z(a) === e;
25862
+ };
25810
25863
 
25811
- function _interopRequireDefault(obj) {
25812
- return obj && obj.__esModule ? obj : {
25813
- default: obj
25814
- };
25815
- }
25864
+ var isLazy = function (a) {
25865
+ return z(a) === t;
25866
+ };
25816
25867
 
25817
- var focusLaterElements = [];
25818
- var modalElement = null;
25819
- var needToFocus = false;
25868
+ var isMemo = function (a) {
25869
+ return z(a) === r;
25870
+ };
25820
25871
 
25821
- function handleBlur() {
25822
- needToFocus = true;
25823
- }
25872
+ var isPortal = function (a) {
25873
+ return z(a) === d;
25874
+ };
25824
25875
 
25825
- function handleFocus() {
25826
- if (needToFocus) {
25827
- needToFocus = false;
25876
+ var isProfiler = function (a) {
25877
+ return z(a) === g;
25878
+ };
25828
25879
 
25829
- if (!modalElement) {
25830
- return;
25831
- } // need to see how jQuery shims document.on('focusin') so we don't need the
25832
- // setTimeout, firefox doesn't support focusin, if it did, we could focus
25833
- // the element outside of a setTimeout. Side-effect of this implementation
25834
- // is that the document.body gets focus, and then we focus our element right
25835
- // after, seems fine.
25880
+ var isStrictMode = function (a) {
25881
+ return z(a) === f;
25882
+ };
25836
25883
 
25884
+ var isSuspense = function (a) {
25885
+ return z(a) === p;
25886
+ };
25837
25887
 
25838
- setTimeout(function () {
25839
- if (modalElement.contains(document.activeElement)) {
25840
- return;
25841
- }
25888
+ var isValidElementType = function (a) {
25889
+ 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);
25890
+ };
25842
25891
 
25843
- var el = (0, _tabbable2.default)(modalElement)[0] || modalElement;
25844
- el.focus();
25845
- }, 0);
25846
- }
25847
- }
25892
+ var typeOf = z;
25848
25893
 
25849
- function markForFocusLater() {
25850
- focusLaterElements.push(document.activeElement);
25851
- }
25852
- /* eslint-disable no-console */
25894
+ var reactIs_production_min = {
25895
+ AsyncMode: AsyncMode,
25896
+ ConcurrentMode: ConcurrentMode,
25897
+ ContextConsumer: ContextConsumer,
25898
+ ContextProvider: ContextProvider,
25899
+ Element: Element$1,
25900
+ ForwardRef: ForwardRef,
25901
+ Fragment: Fragment,
25902
+ Lazy: Lazy,
25903
+ Memo: Memo,
25904
+ Portal: Portal,
25905
+ Profiler: Profiler,
25906
+ StrictMode: StrictMode,
25907
+ Suspense: Suspense,
25908
+ isAsyncMode: isAsyncMode,
25909
+ isConcurrentMode: isConcurrentMode,
25910
+ isContextConsumer: isContextConsumer,
25911
+ isContextProvider: isContextProvider,
25912
+ isElement: isElement,
25913
+ isForwardRef: isForwardRef,
25914
+ isFragment: isFragment,
25915
+ isLazy: isLazy,
25916
+ isMemo: isMemo,
25917
+ isPortal: isPortal,
25918
+ isProfiler: isProfiler,
25919
+ isStrictMode: isStrictMode,
25920
+ isSuspense: isSuspense,
25921
+ isValidElementType: isValidElementType,
25922
+ typeOf: typeOf
25923
+ };
25853
25924
 
25925
+ var reactIs_development = createCommonjsModule(function (module, exports) {
25854
25926
 
25855
- function returnFocus() {
25856
- var toFocus = null;
25927
+ if (process.env.NODE_ENV !== "production") {
25928
+ (function () {
25929
+ // nor polyfill, then a plain number is used for performance.
25857
25930
 
25858
- try {
25859
- if (focusLaterElements.length !== 0) {
25860
- toFocus = focusLaterElements.pop();
25861
- toFocus.focus();
25862
- }
25931
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
25932
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
25933
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
25934
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
25935
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
25936
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
25937
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
25938
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
25939
+ // (unstable) APIs that have been removed. Can we remove the symbols?
25863
25940
 
25864
- return;
25865
- } catch (e) {
25866
- console.warn(["You tried to return focus to", toFocus, "but it is not in the DOM anymore"].join(" "));
25867
- }
25868
- }
25869
- /* eslint-enable no-console */
25941
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
25942
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
25943
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
25944
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
25945
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
25946
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
25947
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
25948
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
25949
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
25950
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
25951
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
25870
25952
 
25953
+ function isValidElementType(type) {
25954
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
25955
+ 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);
25956
+ }
25871
25957
 
25872
- function popWithoutFocus() {
25873
- focusLaterElements.length > 0 && focusLaterElements.pop();
25874
- }
25958
+ function typeOf(object) {
25959
+ if (typeof object === 'object' && object !== null) {
25960
+ var $$typeof = object.$$typeof;
25875
25961
 
25876
- function setupScopedFocus(element) {
25877
- modalElement = element;
25962
+ switch ($$typeof) {
25963
+ case REACT_ELEMENT_TYPE:
25964
+ var type = object.type;
25878
25965
 
25879
- if (window.addEventListener) {
25880
- window.addEventListener("blur", handleBlur, false);
25881
- document.addEventListener("focus", handleFocus, true);
25882
- } else {
25883
- window.attachEvent("onBlur", handleBlur);
25884
- document.attachEvent("onFocus", handleFocus);
25885
- }
25886
- }
25966
+ switch (type) {
25967
+ case REACT_ASYNC_MODE_TYPE:
25968
+ case REACT_CONCURRENT_MODE_TYPE:
25969
+ case REACT_FRAGMENT_TYPE:
25970
+ case REACT_PROFILER_TYPE:
25971
+ case REACT_STRICT_MODE_TYPE:
25972
+ case REACT_SUSPENSE_TYPE:
25973
+ return type;
25887
25974
 
25888
- function teardownScopedFocus() {
25889
- modalElement = null;
25975
+ default:
25976
+ var $$typeofType = type && type.$$typeof;
25890
25977
 
25891
- if (window.addEventListener) {
25892
- window.removeEventListener("blur", handleBlur);
25893
- document.removeEventListener("focus", handleFocus);
25894
- } else {
25895
- window.detachEvent("onBlur", handleBlur);
25896
- document.detachEvent("onFocus", handleFocus);
25897
- }
25898
- }
25899
- });
25978
+ switch ($$typeofType) {
25979
+ case REACT_CONTEXT_TYPE:
25980
+ case REACT_FORWARD_REF_TYPE:
25981
+ case REACT_LAZY_TYPE:
25982
+ case REACT_MEMO_TYPE:
25983
+ case REACT_PROVIDER_TYPE:
25984
+ return $$typeofType;
25900
25985
 
25901
- var scopeTab_1 = createCommonjsModule(function (module, exports) {
25986
+ default:
25987
+ return $$typeof;
25988
+ }
25902
25989
 
25903
- Object.defineProperty(exports, "__esModule", {
25904
- value: true
25905
- });
25906
- exports.default = scopeTab;
25990
+ }
25907
25991
 
25992
+ case REACT_PORTAL_TYPE:
25993
+ return $$typeof;
25994
+ }
25995
+ }
25908
25996
 
25997
+ return undefined;
25998
+ } // AsyncMode is deprecated along with isAsyncMode
25909
25999
 
25910
- var _tabbable2 = _interopRequireDefault(tabbable_1);
25911
26000
 
25912
- function _interopRequireDefault(obj) {
25913
- return obj && obj.__esModule ? obj : {
25914
- default: obj
25915
- };
25916
- }
26001
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
26002
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
26003
+ var ContextConsumer = REACT_CONTEXT_TYPE;
26004
+ var ContextProvider = REACT_PROVIDER_TYPE;
26005
+ var Element = REACT_ELEMENT_TYPE;
26006
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
26007
+ var Fragment = REACT_FRAGMENT_TYPE;
26008
+ var Lazy = REACT_LAZY_TYPE;
26009
+ var Memo = REACT_MEMO_TYPE;
26010
+ var Portal = REACT_PORTAL_TYPE;
26011
+ var Profiler = REACT_PROFILER_TYPE;
26012
+ var StrictMode = REACT_STRICT_MODE_TYPE;
26013
+ var Suspense = REACT_SUSPENSE_TYPE;
26014
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
25917
26015
 
25918
- function scopeTab(node, event) {
25919
- var tabbable = (0, _tabbable2.default)(node);
26016
+ function isAsyncMode(object) {
26017
+ {
26018
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
26019
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
25920
26020
 
25921
- if (!tabbable.length) {
25922
- // Do nothing, since there are no elements that can receive focus.
25923
- event.preventDefault();
25924
- return;
25925
- }
26021
+ 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.');
26022
+ }
26023
+ }
26024
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
26025
+ }
25926
26026
 
25927
- var target = void 0;
25928
- var shiftKey = event.shiftKey;
25929
- var head = tabbable[0];
25930
- var tail = tabbable[tabbable.length - 1]; // proceed with default browser behavior on tab.
25931
- // Focus on last element on shift + tab.
26027
+ function isConcurrentMode(object) {
26028
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
26029
+ }
25932
26030
 
25933
- if (node === document.activeElement) {
25934
- if (!shiftKey) return;
25935
- target = tail;
25936
- }
26031
+ function isContextConsumer(object) {
26032
+ return typeOf(object) === REACT_CONTEXT_TYPE;
26033
+ }
25937
26034
 
25938
- if (tail === document.activeElement && !shiftKey) {
25939
- target = head;
25940
- }
26035
+ function isContextProvider(object) {
26036
+ return typeOf(object) === REACT_PROVIDER_TYPE;
26037
+ }
25941
26038
 
25942
- if (head === document.activeElement && shiftKey) {
25943
- target = tail;
25944
- }
26039
+ function isElement(object) {
26040
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
26041
+ }
25945
26042
 
25946
- if (target) {
25947
- event.preventDefault();
25948
- target.focus();
25949
- return;
25950
- } // Safari radio issue.
25951
- //
25952
- // Safari does not move the focus to the radio button,
25953
- // so we need to force it to really walk through all elements.
25954
- //
25955
- // This is very error prone, since we are trying to guess
25956
- // if it is a safari browser from the first occurence between
25957
- // chrome or safari.
25958
- //
25959
- // The chrome user agent contains the first ocurrence
25960
- // as the 'chrome/version' and later the 'safari/version'.
26043
+ function isForwardRef(object) {
26044
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
26045
+ }
25961
26046
 
26047
+ function isFragment(object) {
26048
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
26049
+ }
25962
26050
 
25963
- var checkSafari = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);
25964
- var isSafariDesktop = checkSafari != null && checkSafari[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; // If we are not in safari desktop, let the browser control
25965
- // the focus
26051
+ function isLazy(object) {
26052
+ return typeOf(object) === REACT_LAZY_TYPE;
26053
+ }
25966
26054
 
25967
- if (!isSafariDesktop) return;
25968
- var x = tabbable.indexOf(document.activeElement);
26055
+ function isMemo(object) {
26056
+ return typeOf(object) === REACT_MEMO_TYPE;
26057
+ }
25969
26058
 
25970
- if (x > -1) {
25971
- x += shiftKey ? -1 : 1;
25972
- }
26059
+ function isPortal(object) {
26060
+ return typeOf(object) === REACT_PORTAL_TYPE;
26061
+ }
25973
26062
 
25974
- target = tabbable[x]; // If the tabbable element does not exist,
25975
- // focus head/tail based on shiftKey
26063
+ function isProfiler(object) {
26064
+ return typeOf(object) === REACT_PROFILER_TYPE;
26065
+ }
25976
26066
 
25977
- if (typeof target === "undefined") {
25978
- event.preventDefault();
25979
- target = shiftKey ? tail : head;
25980
- target.focus();
25981
- return;
25982
- }
26067
+ function isStrictMode(object) {
26068
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
26069
+ }
25983
26070
 
25984
- event.preventDefault();
25985
- target.focus();
26071
+ function isSuspense(object) {
26072
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
26073
+ }
26074
+
26075
+ exports.AsyncMode = AsyncMode;
26076
+ exports.ConcurrentMode = ConcurrentMode;
26077
+ exports.ContextConsumer = ContextConsumer;
26078
+ exports.ContextProvider = ContextProvider;
26079
+ exports.Element = Element;
26080
+ exports.ForwardRef = ForwardRef;
26081
+ exports.Fragment = Fragment;
26082
+ exports.Lazy = Lazy;
26083
+ exports.Memo = Memo;
26084
+ exports.Portal = Portal;
26085
+ exports.Profiler = Profiler;
26086
+ exports.StrictMode = StrictMode;
26087
+ exports.Suspense = Suspense;
26088
+ exports.isAsyncMode = isAsyncMode;
26089
+ exports.isConcurrentMode = isConcurrentMode;
26090
+ exports.isContextConsumer = isContextConsumer;
26091
+ exports.isContextProvider = isContextProvider;
26092
+ exports.isElement = isElement;
26093
+ exports.isForwardRef = isForwardRef;
26094
+ exports.isFragment = isFragment;
26095
+ exports.isLazy = isLazy;
26096
+ exports.isMemo = isMemo;
26097
+ exports.isPortal = isPortal;
26098
+ exports.isProfiler = isProfiler;
26099
+ exports.isStrictMode = isStrictMode;
26100
+ exports.isSuspense = isSuspense;
26101
+ exports.isValidElementType = isValidElementType;
26102
+ exports.typeOf = typeOf;
26103
+ })();
25986
26104
  }
26105
+ });
25987
26106
 
25988
- module.exports = exports["default"];
26107
+ var reactIs = createCommonjsModule(function (module) {
26108
+
26109
+ if (process.env.NODE_ENV === 'production') {
26110
+ module.exports = reactIs_production_min;
26111
+ } else {
26112
+ module.exports = reactIs_development;
26113
+ }
25989
26114
  });
25990
26115
 
25991
26116
  /**
25992
- * Copyright (c) 2014-present, Facebook, Inc.
26117
+ * Copyright (c) 2013-present, Facebook, Inc.
25993
26118
  *
25994
26119
  * This source code is licensed under the MIT license found in the
25995
26120
  * LICENSE file in the root directory of this source tree.
25996
26121
  */
25997
- /**
25998
- * Similar to invariant but only logs a warning if the condition is not met.
25999
- * This can be used to log issues in development environments in critical
26000
- * paths. Removing the logging code for production environments will keep the
26001
- * same logic and follow the same code paths.
26002
- */
26003
26122
 
26004
- var __DEV__ = process.env.NODE_ENV !== 'production';
26123
+ var ReactPropTypesSecret$2 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
26124
+ var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
26005
26125
 
26006
- var warning = function () {};
26126
+ var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
26007
26127
 
26008
- if (__DEV__) {
26009
- var printWarning = function printWarning(format, args) {
26010
- var len = arguments.length;
26011
- args = new Array(len > 1 ? len - 1 : 0);
26128
+ var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
26012
26129
 
26013
- for (var key = 1; key < len; key++) {
26014
- args[key - 1] = arguments[key];
26015
- }
26130
+ var has$1 = has$2;
26016
26131
 
26017
- var argIndex = 0;
26018
- var message = 'Warning: ' + format.replace(/%s/g, function () {
26019
- return args[argIndex++];
26020
- });
26132
+ var printWarning$2 = function () {};
26133
+
26134
+ if (process.env.NODE_ENV !== 'production') {
26135
+ var ReactPropTypesSecret = ReactPropTypesSecret$1;
26136
+
26137
+ var loggedTypeFailures = {};
26138
+
26139
+ var has = has$1;
26140
+
26141
+ printWarning$2 = function (text) {
26142
+ var message = 'Warning: ' + text;
26021
26143
 
26022
26144
  if (typeof console !== 'undefined') {
26023
26145
  console.error(message);
@@ -26028,35 +26150,1127 @@ if (__DEV__) {
26028
26150
  // This error was thrown as a convenience so that you can use this stack
26029
26151
  // to find the callsite that caused this warning to fire.
26030
26152
  throw new Error(message);
26031
- } catch (x) {}
26032
- };
26033
-
26034
- warning = function (condition, format, args) {
26035
- var len = arguments.length;
26036
- args = new Array(len > 2 ? len - 2 : 0);
26037
-
26038
- for (var key = 2; key < len; key++) {
26039
- args[key - 2] = arguments[key];
26040
- }
26041
-
26042
- if (format === undefined) {
26043
- throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
26044
- }
26045
-
26046
- if (!condition) {
26047
- printWarning.apply(null, [format].concat(args));
26153
+ } catch (x) {
26154
+ /**/
26048
26155
  }
26049
26156
  };
26050
26157
  }
26158
+ /**
26159
+ * Assert that the values match with the type specs.
26160
+ * Error messages are memorized and will only be shown once.
26161
+ *
26162
+ * @param {object} typeSpecs Map of name to a ReactPropType
26163
+ * @param {object} values Runtime values that need to be type-checked
26164
+ * @param {string} location e.g. "prop", "context", "child context"
26165
+ * @param {string} componentName Name of the component for error messages.
26166
+ * @param {?Function} getStack Returns the component stack.
26167
+ * @private
26168
+ */
26051
26169
 
26052
- var warning_1 = warning;
26053
26170
 
26054
- var exenv = createCommonjsModule(function (module) {
26055
- /*!
26056
- Copyright (c) 2015 Jed Watson.
26057
- Based on code that is Copyright 2013-2015, Facebook, Inc.
26058
- All rights reserved.
26059
- */
26171
+ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
26172
+ if (process.env.NODE_ENV !== 'production') {
26173
+ for (var typeSpecName in typeSpecs) {
26174
+ if (has(typeSpecs, typeSpecName)) {
26175
+ var error; // Prop type validation may throw. In case they do, we don't want to
26176
+ // fail the render phase where it didn't fail before. So we log it.
26177
+ // After these have been cleaned up, we'll let them throw.
26178
+
26179
+ try {
26180
+ // This is intentionally an invariant that gets caught. It's the same
26181
+ // behavior as without this statement except with a better message.
26182
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
26183
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
26184
+ err.name = 'Invariant Violation';
26185
+ throw err;
26186
+ }
26187
+
26188
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
26189
+ } catch (ex) {
26190
+ error = ex;
26191
+ }
26192
+
26193
+ if (error && !(error instanceof Error)) {
26194
+ printWarning$2((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
26195
+ }
26196
+
26197
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
26198
+ // Only monitor this failure once because there tends to be a lot of the
26199
+ // same error.
26200
+ loggedTypeFailures[error.message] = true;
26201
+ var stack = getStack ? getStack() : '';
26202
+ printWarning$2('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
26203
+ }
26204
+ }
26205
+ }
26206
+ }
26207
+ }
26208
+ /**
26209
+ * Resets warning cache when testing.
26210
+ *
26211
+ * @private
26212
+ */
26213
+
26214
+
26215
+ checkPropTypes$1.resetWarningCache = function () {
26216
+ if (process.env.NODE_ENV !== 'production') {
26217
+ loggedTypeFailures = {};
26218
+ }
26219
+ };
26220
+
26221
+ var checkPropTypes_1 = checkPropTypes$1;
26222
+
26223
+ var checkPropTypes = checkPropTypes_1;
26224
+
26225
+ var printWarning$1 = function () {};
26226
+
26227
+ if (process.env.NODE_ENV !== 'production') {
26228
+ printWarning$1 = function (text) {
26229
+ var message = 'Warning: ' + text;
26230
+
26231
+ if (typeof console !== 'undefined') {
26232
+ console.error(message);
26233
+ }
26234
+
26235
+ try {
26236
+ // --- Welcome to debugging React ---
26237
+ // This error was thrown as a convenience so that you can use this stack
26238
+ // to find the callsite that caused this warning to fire.
26239
+ throw new Error(message);
26240
+ } catch (x) {}
26241
+ };
26242
+ }
26243
+
26244
+ function emptyFunctionThatReturnsNull() {
26245
+ return null;
26246
+ }
26247
+
26248
+ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
26249
+ /* global Symbol */
26250
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
26251
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
26252
+
26253
+ /**
26254
+ * Returns the iterator method function contained on the iterable object.
26255
+ *
26256
+ * Be sure to invoke the function with the iterable as context:
26257
+ *
26258
+ * var iteratorFn = getIteratorFn(myIterable);
26259
+ * if (iteratorFn) {
26260
+ * var iterator = iteratorFn.call(myIterable);
26261
+ * ...
26262
+ * }
26263
+ *
26264
+ * @param {?object} maybeIterable
26265
+ * @return {?function}
26266
+ */
26267
+
26268
+ function getIteratorFn(maybeIterable) {
26269
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
26270
+
26271
+ if (typeof iteratorFn === 'function') {
26272
+ return iteratorFn;
26273
+ }
26274
+ }
26275
+ /**
26276
+ * Collection of methods that allow declaration and validation of props that are
26277
+ * supplied to React components. Example usage:
26278
+ *
26279
+ * var Props = require('ReactPropTypes');
26280
+ * var MyArticle = React.createClass({
26281
+ * propTypes: {
26282
+ * // An optional string prop named "description".
26283
+ * description: Props.string,
26284
+ *
26285
+ * // A required enum prop named "category".
26286
+ * category: Props.oneOf(['News','Photos']).isRequired,
26287
+ *
26288
+ * // A prop named "dialog" that requires an instance of Dialog.
26289
+ * dialog: Props.instanceOf(Dialog).isRequired
26290
+ * },
26291
+ * render: function() { ... }
26292
+ * });
26293
+ *
26294
+ * A more formal specification of how these methods are used:
26295
+ *
26296
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
26297
+ * decl := ReactPropTypes.{type}(.isRequired)?
26298
+ *
26299
+ * Each and every declaration produces a function with the same signature. This
26300
+ * allows the creation of custom validation functions. For example:
26301
+ *
26302
+ * var MyLink = React.createClass({
26303
+ * propTypes: {
26304
+ * // An optional string or URI prop named "href".
26305
+ * href: function(props, propName, componentName) {
26306
+ * var propValue = props[propName];
26307
+ * if (propValue != null && typeof propValue !== 'string' &&
26308
+ * !(propValue instanceof URI)) {
26309
+ * return new Error(
26310
+ * 'Expected a string or an URI for ' + propName + ' in ' +
26311
+ * componentName
26312
+ * );
26313
+ * }
26314
+ * }
26315
+ * },
26316
+ * render: function() {...}
26317
+ * });
26318
+ *
26319
+ * @internal
26320
+ */
26321
+
26322
+
26323
+ var ANONYMOUS = '<<anonymous>>'; // Important!
26324
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
26325
+
26326
+ var ReactPropTypes = {
26327
+ array: createPrimitiveTypeChecker('array'),
26328
+ bigint: createPrimitiveTypeChecker('bigint'),
26329
+ bool: createPrimitiveTypeChecker('boolean'),
26330
+ func: createPrimitiveTypeChecker('function'),
26331
+ number: createPrimitiveTypeChecker('number'),
26332
+ object: createPrimitiveTypeChecker('object'),
26333
+ string: createPrimitiveTypeChecker('string'),
26334
+ symbol: createPrimitiveTypeChecker('symbol'),
26335
+ any: createAnyTypeChecker(),
26336
+ arrayOf: createArrayOfTypeChecker,
26337
+ element: createElementTypeChecker(),
26338
+ elementType: createElementTypeTypeChecker(),
26339
+ instanceOf: createInstanceTypeChecker,
26340
+ node: createNodeChecker(),
26341
+ objectOf: createObjectOfTypeChecker,
26342
+ oneOf: createEnumTypeChecker,
26343
+ oneOfType: createUnionTypeChecker,
26344
+ shape: createShapeTypeChecker,
26345
+ exact: createStrictShapeTypeChecker
26346
+ };
26347
+ /**
26348
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
26349
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
26350
+ */
26351
+
26352
+ /*eslint-disable no-self-compare*/
26353
+
26354
+ function is(x, y) {
26355
+ // SameValue algorithm
26356
+ if (x === y) {
26357
+ // Steps 1-5, 7-10
26358
+ // Steps 6.b-6.e: +0 != -0
26359
+ return x !== 0 || 1 / x === 1 / y;
26360
+ } else {
26361
+ // Step 6.a: NaN == NaN
26362
+ return x !== x && y !== y;
26363
+ }
26364
+ }
26365
+ /*eslint-enable no-self-compare*/
26366
+
26367
+ /**
26368
+ * We use an Error-like object for backward compatibility as people may call
26369
+ * PropTypes directly and inspect their output. However, we don't use real
26370
+ * Errors anymore. We don't inspect their stack anyway, and creating them
26371
+ * is prohibitively expensive if they are created too often, such as what
26372
+ * happens in oneOfType() for any type before the one that matched.
26373
+ */
26374
+
26375
+
26376
+ function PropTypeError(message, data) {
26377
+ this.message = message;
26378
+ this.data = data && typeof data === 'object' ? data : {};
26379
+ this.stack = '';
26380
+ } // Make `instanceof Error` still work for returned errors.
26381
+
26382
+
26383
+ PropTypeError.prototype = Error.prototype;
26384
+
26385
+ function createChainableTypeChecker(validate) {
26386
+ if (process.env.NODE_ENV !== 'production') {
26387
+ var manualPropTypeCallCache = {};
26388
+ var manualPropTypeWarningCount = 0;
26389
+ }
26390
+
26391
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
26392
+ componentName = componentName || ANONYMOUS;
26393
+ propFullName = propFullName || propName;
26394
+
26395
+ if (secret !== ReactPropTypesSecret$1) {
26396
+ if (throwOnDirectAccess) {
26397
+ // New behavior only for users of `prop-types` package
26398
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
26399
+ err.name = 'Invariant Violation';
26400
+ throw err;
26401
+ } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
26402
+ // Old behavior for people using React.PropTypes
26403
+ var cacheKey = componentName + ':' + propName;
26404
+
26405
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
26406
+ manualPropTypeWarningCount < 3) {
26407
+ printWarning$1('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
26408
+ manualPropTypeCallCache[cacheKey] = true;
26409
+ manualPropTypeWarningCount++;
26410
+ }
26411
+ }
26412
+ }
26413
+
26414
+ if (props[propName] == null) {
26415
+ if (isRequired) {
26416
+ if (props[propName] === null) {
26417
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
26418
+ }
26419
+
26420
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
26421
+ }
26422
+
26423
+ return null;
26424
+ } else {
26425
+ return validate(props, propName, componentName, location, propFullName);
26426
+ }
26427
+ }
26428
+
26429
+ var chainedCheckType = checkType.bind(null, false);
26430
+ chainedCheckType.isRequired = checkType.bind(null, true);
26431
+ return chainedCheckType;
26432
+ }
26433
+
26434
+ function createPrimitiveTypeChecker(expectedType) {
26435
+ function validate(props, propName, componentName, location, propFullName, secret) {
26436
+ var propValue = props[propName];
26437
+ var propType = getPropType(propValue);
26438
+
26439
+ if (propType !== expectedType) {
26440
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
26441
+ // check, but we can offer a more precise error message here rather than
26442
+ // 'of type `object`'.
26443
+ var preciseType = getPreciseType(propValue);
26444
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
26445
+ expectedType: expectedType
26446
+ });
26447
+ }
26448
+
26449
+ return null;
26450
+ }
26451
+
26452
+ return createChainableTypeChecker(validate);
26453
+ }
26454
+
26455
+ function createAnyTypeChecker() {
26456
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
26457
+ }
26458
+
26459
+ function createArrayOfTypeChecker(typeChecker) {
26460
+ function validate(props, propName, componentName, location, propFullName) {
26461
+ if (typeof typeChecker !== 'function') {
26462
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
26463
+ }
26464
+
26465
+ var propValue = props[propName];
26466
+
26467
+ if (!Array.isArray(propValue)) {
26468
+ var propType = getPropType(propValue);
26469
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
26470
+ }
26471
+
26472
+ for (var i = 0; i < propValue.length; i++) {
26473
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
26474
+
26475
+ if (error instanceof Error) {
26476
+ return error;
26477
+ }
26478
+ }
26479
+
26480
+ return null;
26481
+ }
26482
+
26483
+ return createChainableTypeChecker(validate);
26484
+ }
26485
+
26486
+ function createElementTypeChecker() {
26487
+ function validate(props, propName, componentName, location, propFullName) {
26488
+ var propValue = props[propName];
26489
+
26490
+ if (!isValidElement(propValue)) {
26491
+ var propType = getPropType(propValue);
26492
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
26493
+ }
26494
+
26495
+ return null;
26496
+ }
26497
+
26498
+ return createChainableTypeChecker(validate);
26499
+ }
26500
+
26501
+ function createElementTypeTypeChecker() {
26502
+ function validate(props, propName, componentName, location, propFullName) {
26503
+ var propValue = props[propName];
26504
+
26505
+ if (!reactIs.isValidElementType(propValue)) {
26506
+ var propType = getPropType(propValue);
26507
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
26508
+ }
26509
+
26510
+ return null;
26511
+ }
26512
+
26513
+ return createChainableTypeChecker(validate);
26514
+ }
26515
+
26516
+ function createInstanceTypeChecker(expectedClass) {
26517
+ function validate(props, propName, componentName, location, propFullName) {
26518
+ if (!(props[propName] instanceof expectedClass)) {
26519
+ var expectedClassName = expectedClass.name || ANONYMOUS;
26520
+ var actualClassName = getClassName(props[propName]);
26521
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
26522
+ }
26523
+
26524
+ return null;
26525
+ }
26526
+
26527
+ return createChainableTypeChecker(validate);
26528
+ }
26529
+
26530
+ function createEnumTypeChecker(expectedValues) {
26531
+ if (!Array.isArray(expectedValues)) {
26532
+ if (process.env.NODE_ENV !== 'production') {
26533
+ if (arguments.length > 1) {
26534
+ printWarning$1('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
26535
+ } else {
26536
+ printWarning$1('Invalid argument supplied to oneOf, expected an array.');
26537
+ }
26538
+ }
26539
+
26540
+ return emptyFunctionThatReturnsNull;
26541
+ }
26542
+
26543
+ function validate(props, propName, componentName, location, propFullName) {
26544
+ var propValue = props[propName];
26545
+
26546
+ for (var i = 0; i < expectedValues.length; i++) {
26547
+ if (is(propValue, expectedValues[i])) {
26548
+ return null;
26549
+ }
26550
+ }
26551
+
26552
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
26553
+ var type = getPreciseType(value);
26554
+
26555
+ if (type === 'symbol') {
26556
+ return String(value);
26557
+ }
26558
+
26559
+ return value;
26560
+ });
26561
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
26562
+ }
26563
+
26564
+ return createChainableTypeChecker(validate);
26565
+ }
26566
+
26567
+ function createObjectOfTypeChecker(typeChecker) {
26568
+ function validate(props, propName, componentName, location, propFullName) {
26569
+ if (typeof typeChecker !== 'function') {
26570
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
26571
+ }
26572
+
26573
+ var propValue = props[propName];
26574
+ var propType = getPropType(propValue);
26575
+
26576
+ if (propType !== 'object') {
26577
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
26578
+ }
26579
+
26580
+ for (var key in propValue) {
26581
+ if (has$1(propValue, key)) {
26582
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
26583
+
26584
+ if (error instanceof Error) {
26585
+ return error;
26586
+ }
26587
+ }
26588
+ }
26589
+
26590
+ return null;
26591
+ }
26592
+
26593
+ return createChainableTypeChecker(validate);
26594
+ }
26595
+
26596
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
26597
+ if (!Array.isArray(arrayOfTypeCheckers)) {
26598
+ process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
26599
+ return emptyFunctionThatReturnsNull;
26600
+ }
26601
+
26602
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
26603
+ var checker = arrayOfTypeCheckers[i];
26604
+
26605
+ if (typeof checker !== 'function') {
26606
+ printWarning$1('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
26607
+ return emptyFunctionThatReturnsNull;
26608
+ }
26609
+ }
26610
+
26611
+ function validate(props, propName, componentName, location, propFullName) {
26612
+ var expectedTypes = [];
26613
+
26614
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
26615
+ var checker = arrayOfTypeCheckers[i];
26616
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
26617
+
26618
+ if (checkerResult == null) {
26619
+ return null;
26620
+ }
26621
+
26622
+ if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
26623
+ expectedTypes.push(checkerResult.data.expectedType);
26624
+ }
26625
+ }
26626
+
26627
+ var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
26628
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
26629
+ }
26630
+
26631
+ return createChainableTypeChecker(validate);
26632
+ }
26633
+
26634
+ function createNodeChecker() {
26635
+ function validate(props, propName, componentName, location, propFullName) {
26636
+ if (!isNode(props[propName])) {
26637
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
26638
+ }
26639
+
26640
+ return null;
26641
+ }
26642
+
26643
+ return createChainableTypeChecker(validate);
26644
+ }
26645
+
26646
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
26647
+ return new PropTypeError((componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.');
26648
+ }
26649
+
26650
+ function createShapeTypeChecker(shapeTypes) {
26651
+ function validate(props, propName, componentName, location, propFullName) {
26652
+ var propValue = props[propName];
26653
+ var propType = getPropType(propValue);
26654
+
26655
+ if (propType !== 'object') {
26656
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
26657
+ }
26658
+
26659
+ for (var key in shapeTypes) {
26660
+ var checker = shapeTypes[key];
26661
+
26662
+ if (typeof checker !== 'function') {
26663
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
26664
+ }
26665
+
26666
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
26667
+
26668
+ if (error) {
26669
+ return error;
26670
+ }
26671
+ }
26672
+
26673
+ return null;
26674
+ }
26675
+
26676
+ return createChainableTypeChecker(validate);
26677
+ }
26678
+
26679
+ function createStrictShapeTypeChecker(shapeTypes) {
26680
+ function validate(props, propName, componentName, location, propFullName) {
26681
+ var propValue = props[propName];
26682
+ var propType = getPropType(propValue);
26683
+
26684
+ if (propType !== 'object') {
26685
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
26686
+ } // We need to check all keys in case some are required but missing from props.
26687
+
26688
+
26689
+ var allKeys = objectAssign({}, props[propName], shapeTypes);
26690
+
26691
+ for (var key in allKeys) {
26692
+ var checker = shapeTypes[key];
26693
+
26694
+ if (has$1(shapeTypes, key) && typeof checker !== 'function') {
26695
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
26696
+ }
26697
+
26698
+ if (!checker) {
26699
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
26700
+ }
26701
+
26702
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
26703
+
26704
+ if (error) {
26705
+ return error;
26706
+ }
26707
+ }
26708
+
26709
+ return null;
26710
+ }
26711
+
26712
+ return createChainableTypeChecker(validate);
26713
+ }
26714
+
26715
+ function isNode(propValue) {
26716
+ switch (typeof propValue) {
26717
+ case 'number':
26718
+ case 'string':
26719
+ case 'undefined':
26720
+ return true;
26721
+
26722
+ case 'boolean':
26723
+ return !propValue;
26724
+
26725
+ case 'object':
26726
+ if (Array.isArray(propValue)) {
26727
+ return propValue.every(isNode);
26728
+ }
26729
+
26730
+ if (propValue === null || isValidElement(propValue)) {
26731
+ return true;
26732
+ }
26733
+
26734
+ var iteratorFn = getIteratorFn(propValue);
26735
+
26736
+ if (iteratorFn) {
26737
+ var iterator = iteratorFn.call(propValue);
26738
+ var step;
26739
+
26740
+ if (iteratorFn !== propValue.entries) {
26741
+ while (!(step = iterator.next()).done) {
26742
+ if (!isNode(step.value)) {
26743
+ return false;
26744
+ }
26745
+ }
26746
+ } else {
26747
+ // Iterator will provide entry [k,v] tuples rather than values.
26748
+ while (!(step = iterator.next()).done) {
26749
+ var entry = step.value;
26750
+
26751
+ if (entry) {
26752
+ if (!isNode(entry[1])) {
26753
+ return false;
26754
+ }
26755
+ }
26756
+ }
26757
+ }
26758
+ } else {
26759
+ return false;
26760
+ }
26761
+
26762
+ return true;
26763
+
26764
+ default:
26765
+ return false;
26766
+ }
26767
+ }
26768
+
26769
+ function isSymbol(propType, propValue) {
26770
+ // Native Symbol.
26771
+ if (propType === 'symbol') {
26772
+ return true;
26773
+ } // falsy value can't be a Symbol
26774
+
26775
+
26776
+ if (!propValue) {
26777
+ return false;
26778
+ } // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
26779
+
26780
+
26781
+ if (propValue['@@toStringTag'] === 'Symbol') {
26782
+ return true;
26783
+ } // Fallback for non-spec compliant Symbols which are polyfilled.
26784
+
26785
+
26786
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
26787
+ return true;
26788
+ }
26789
+
26790
+ return false;
26791
+ } // Equivalent of `typeof` but with special handling for array and regexp.
26792
+
26793
+
26794
+ function getPropType(propValue) {
26795
+ var propType = typeof propValue;
26796
+
26797
+ if (Array.isArray(propValue)) {
26798
+ return 'array';
26799
+ }
26800
+
26801
+ if (propValue instanceof RegExp) {
26802
+ // Old webkits (at least until Android 4.0) return 'function' rather than
26803
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
26804
+ // passes PropTypes.object.
26805
+ return 'object';
26806
+ }
26807
+
26808
+ if (isSymbol(propType, propValue)) {
26809
+ return 'symbol';
26810
+ }
26811
+
26812
+ return propType;
26813
+ } // This handles more types than `getPropType`. Only used for error messages.
26814
+ // See `createPrimitiveTypeChecker`.
26815
+
26816
+
26817
+ function getPreciseType(propValue) {
26818
+ if (typeof propValue === 'undefined' || propValue === null) {
26819
+ return '' + propValue;
26820
+ }
26821
+
26822
+ var propType = getPropType(propValue);
26823
+
26824
+ if (propType === 'object') {
26825
+ if (propValue instanceof Date) {
26826
+ return 'date';
26827
+ } else if (propValue instanceof RegExp) {
26828
+ return 'regexp';
26829
+ }
26830
+ }
26831
+
26832
+ return propType;
26833
+ } // Returns a string that is postfixed to a warning about an invalid type.
26834
+ // For example, "undefined" or "of type array"
26835
+
26836
+
26837
+ function getPostfixForTypeWarning(value) {
26838
+ var type = getPreciseType(value);
26839
+
26840
+ switch (type) {
26841
+ case 'array':
26842
+ case 'object':
26843
+ return 'an ' + type;
26844
+
26845
+ case 'boolean':
26846
+ case 'date':
26847
+ case 'regexp':
26848
+ return 'a ' + type;
26849
+
26850
+ default:
26851
+ return type;
26852
+ }
26853
+ } // Returns class name of the object, if any.
26854
+
26855
+
26856
+ function getClassName(propValue) {
26857
+ if (!propValue.constructor || !propValue.constructor.name) {
26858
+ return ANONYMOUS;
26859
+ }
26860
+
26861
+ return propValue.constructor.name;
26862
+ }
26863
+
26864
+ ReactPropTypes.checkPropTypes = checkPropTypes;
26865
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
26866
+ ReactPropTypes.PropTypes = ReactPropTypes;
26867
+ return ReactPropTypes;
26868
+ };
26869
+
26870
+ function emptyFunction() {}
26871
+
26872
+ function emptyFunctionWithReset() {}
26873
+
26874
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
26875
+
26876
+ var factoryWithThrowingShims = function () {
26877
+ function shim(props, propName, componentName, location, propFullName, secret) {
26878
+ if (secret === ReactPropTypesSecret$1) {
26879
+ // It is still safe when called from React.
26880
+ return;
26881
+ }
26882
+
26883
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
26884
+ err.name = 'Invariant Violation';
26885
+ throw err;
26886
+ }
26887
+ shim.isRequired = shim;
26888
+
26889
+ function getShim() {
26890
+ return shim;
26891
+ }
26892
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
26893
+
26894
+ var ReactPropTypes = {
26895
+ array: shim,
26896
+ bigint: shim,
26897
+ bool: shim,
26898
+ func: shim,
26899
+ number: shim,
26900
+ object: shim,
26901
+ string: shim,
26902
+ symbol: shim,
26903
+ any: shim,
26904
+ arrayOf: getShim,
26905
+ element: shim,
26906
+ elementType: shim,
26907
+ instanceOf: getShim,
26908
+ node: shim,
26909
+ objectOf: getShim,
26910
+ oneOf: getShim,
26911
+ oneOfType: getShim,
26912
+ shape: getShim,
26913
+ exact: getShim,
26914
+ checkPropTypes: emptyFunctionWithReset,
26915
+ resetWarningCache: emptyFunction
26916
+ };
26917
+ ReactPropTypes.PropTypes = ReactPropTypes;
26918
+ return ReactPropTypes;
26919
+ };
26920
+
26921
+ var require$$1 = factoryWithTypeCheckers;
26922
+
26923
+ var require$$2 = factoryWithThrowingShims;
26924
+
26925
+ var propTypes = createCommonjsModule(function (module) {
26926
+ /**
26927
+ * Copyright (c) 2013-present, Facebook, Inc.
26928
+ *
26929
+ * This source code is licensed under the MIT license found in the
26930
+ * LICENSE file in the root directory of this source tree.
26931
+ */
26932
+ if (process.env.NODE_ENV !== 'production') {
26933
+ var ReactIs = reactIs; // By explicitly using `prop-types` you are opting into new development behavior.
26934
+ // http://fb.me/prop-types-in-prod
26935
+
26936
+
26937
+ var throwOnDirectAccess = true;
26938
+ module.exports = require$$1(ReactIs.isElement, throwOnDirectAccess);
26939
+ } else {
26940
+ // By explicitly using `prop-types` you are opting into new production behavior.
26941
+ // http://fb.me/prop-types-in-prod
26942
+ module.exports = require$$2();
26943
+ }
26944
+ });
26945
+
26946
+ var tabbable_1 = createCommonjsModule(function (module, exports) {
26947
+
26948
+ Object.defineProperty(exports, "__esModule", {
26949
+ value: true
26950
+ });
26951
+ exports.default = findTabbableDescendants;
26952
+ /*!
26953
+ * Adapted from jQuery UI core
26954
+ *
26955
+ * http://jqueryui.com
26956
+ *
26957
+ * Copyright 2014 jQuery Foundation and other contributors
26958
+ * Released under the MIT license.
26959
+ * http://jquery.org/license
26960
+ *
26961
+ * http://api.jqueryui.com/category/ui-core/
26962
+ */
26963
+
26964
+ var tabbableNode = /input|select|textarea|button|object/;
26965
+
26966
+ function hidesContents(element) {
26967
+ var zeroSize = element.offsetWidth <= 0 && element.offsetHeight <= 0; // If the node is empty, this is good enough
26968
+
26969
+ if (zeroSize && !element.innerHTML) return true; // Otherwise we need to check some styles
26970
+
26971
+ var style = window.getComputedStyle(element);
26972
+ return zeroSize ? style.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
26973
+ element.scrollWidth <= 0 && element.scrollHeight <= 0 : style.getPropertyValue("display") == "none";
26974
+ }
26975
+
26976
+ function visible(element) {
26977
+ var parentElement = element;
26978
+
26979
+ while (parentElement) {
26980
+ if (parentElement === document.body) break;
26981
+ if (hidesContents(parentElement)) return false;
26982
+ parentElement = parentElement.parentNode;
26983
+ }
26984
+
26985
+ return true;
26986
+ }
26987
+
26988
+ function focusable(element, isTabIndexNotNaN) {
26989
+ var nodeName = element.nodeName.toLowerCase();
26990
+ var res = tabbableNode.test(nodeName) && !element.disabled || (nodeName === "a" ? element.href || isTabIndexNotNaN : isTabIndexNotNaN);
26991
+ return res && visible(element);
26992
+ }
26993
+
26994
+ function tabbable(element) {
26995
+ var tabIndex = element.getAttribute("tabindex");
26996
+ if (tabIndex === null) tabIndex = undefined;
26997
+ var isTabIndexNaN = isNaN(tabIndex);
26998
+ return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN);
26999
+ }
27000
+
27001
+ function findTabbableDescendants(element) {
27002
+ return [].slice.call(element.querySelectorAll("*"), 0).filter(tabbable);
27003
+ }
27004
+
27005
+ module.exports = exports["default"];
27006
+ });
27007
+
27008
+ var focusManager = createCommonjsModule(function (module, exports) {
27009
+
27010
+ Object.defineProperty(exports, "__esModule", {
27011
+ value: true
27012
+ });
27013
+ exports.handleBlur = handleBlur;
27014
+ exports.handleFocus = handleFocus;
27015
+ exports.markForFocusLater = markForFocusLater;
27016
+ exports.returnFocus = returnFocus;
27017
+ exports.popWithoutFocus = popWithoutFocus;
27018
+ exports.setupScopedFocus = setupScopedFocus;
27019
+ exports.teardownScopedFocus = teardownScopedFocus;
27020
+
27021
+
27022
+
27023
+ var _tabbable2 = _interopRequireDefault(tabbable_1);
27024
+
27025
+ function _interopRequireDefault(obj) {
27026
+ return obj && obj.__esModule ? obj : {
27027
+ default: obj
27028
+ };
27029
+ }
27030
+
27031
+ var focusLaterElements = [];
27032
+ var modalElement = null;
27033
+ var needToFocus = false;
27034
+
27035
+ function handleBlur() {
27036
+ needToFocus = true;
27037
+ }
27038
+
27039
+ function handleFocus() {
27040
+ if (needToFocus) {
27041
+ needToFocus = false;
27042
+
27043
+ if (!modalElement) {
27044
+ return;
27045
+ } // need to see how jQuery shims document.on('focusin') so we don't need the
27046
+ // setTimeout, firefox doesn't support focusin, if it did, we could focus
27047
+ // the element outside of a setTimeout. Side-effect of this implementation
27048
+ // is that the document.body gets focus, and then we focus our element right
27049
+ // after, seems fine.
27050
+
27051
+
27052
+ setTimeout(function () {
27053
+ if (modalElement.contains(document.activeElement)) {
27054
+ return;
27055
+ }
27056
+
27057
+ var el = (0, _tabbable2.default)(modalElement)[0] || modalElement;
27058
+ el.focus();
27059
+ }, 0);
27060
+ }
27061
+ }
27062
+
27063
+ function markForFocusLater() {
27064
+ focusLaterElements.push(document.activeElement);
27065
+ }
27066
+ /* eslint-disable no-console */
27067
+
27068
+
27069
+ function returnFocus() {
27070
+ var toFocus = null;
27071
+
27072
+ try {
27073
+ if (focusLaterElements.length !== 0) {
27074
+ toFocus = focusLaterElements.pop();
27075
+ toFocus.focus();
27076
+ }
27077
+
27078
+ return;
27079
+ } catch (e) {
27080
+ console.warn(["You tried to return focus to", toFocus, "but it is not in the DOM anymore"].join(" "));
27081
+ }
27082
+ }
27083
+ /* eslint-enable no-console */
27084
+
27085
+
27086
+ function popWithoutFocus() {
27087
+ focusLaterElements.length > 0 && focusLaterElements.pop();
27088
+ }
27089
+
27090
+ function setupScopedFocus(element) {
27091
+ modalElement = element;
27092
+
27093
+ if (window.addEventListener) {
27094
+ window.addEventListener("blur", handleBlur, false);
27095
+ document.addEventListener("focus", handleFocus, true);
27096
+ } else {
27097
+ window.attachEvent("onBlur", handleBlur);
27098
+ document.attachEvent("onFocus", handleFocus);
27099
+ }
27100
+ }
27101
+
27102
+ function teardownScopedFocus() {
27103
+ modalElement = null;
27104
+
27105
+ if (window.addEventListener) {
27106
+ window.removeEventListener("blur", handleBlur);
27107
+ document.removeEventListener("focus", handleFocus);
27108
+ } else {
27109
+ window.detachEvent("onBlur", handleBlur);
27110
+ document.detachEvent("onFocus", handleFocus);
27111
+ }
27112
+ }
27113
+ });
27114
+
27115
+ var scopeTab_1 = createCommonjsModule(function (module, exports) {
27116
+
27117
+ Object.defineProperty(exports, "__esModule", {
27118
+ value: true
27119
+ });
27120
+ exports.default = scopeTab;
27121
+
27122
+
27123
+
27124
+ var _tabbable2 = _interopRequireDefault(tabbable_1);
27125
+
27126
+ function _interopRequireDefault(obj) {
27127
+ return obj && obj.__esModule ? obj : {
27128
+ default: obj
27129
+ };
27130
+ }
27131
+
27132
+ function scopeTab(node, event) {
27133
+ var tabbable = (0, _tabbable2.default)(node);
27134
+
27135
+ if (!tabbable.length) {
27136
+ // Do nothing, since there are no elements that can receive focus.
27137
+ event.preventDefault();
27138
+ return;
27139
+ }
27140
+
27141
+ var target = void 0;
27142
+ var shiftKey = event.shiftKey;
27143
+ var head = tabbable[0];
27144
+ var tail = tabbable[tabbable.length - 1]; // proceed with default browser behavior on tab.
27145
+ // Focus on last element on shift + tab.
27146
+
27147
+ if (node === document.activeElement) {
27148
+ if (!shiftKey) return;
27149
+ target = tail;
27150
+ }
27151
+
27152
+ if (tail === document.activeElement && !shiftKey) {
27153
+ target = head;
27154
+ }
27155
+
27156
+ if (head === document.activeElement && shiftKey) {
27157
+ target = tail;
27158
+ }
27159
+
27160
+ if (target) {
27161
+ event.preventDefault();
27162
+ target.focus();
27163
+ return;
27164
+ } // Safari radio issue.
27165
+ //
27166
+ // Safari does not move the focus to the radio button,
27167
+ // so we need to force it to really walk through all elements.
27168
+ //
27169
+ // This is very error prone, since we are trying to guess
27170
+ // if it is a safari browser from the first occurence between
27171
+ // chrome or safari.
27172
+ //
27173
+ // The chrome user agent contains the first ocurrence
27174
+ // as the 'chrome/version' and later the 'safari/version'.
27175
+
27176
+
27177
+ var checkSafari = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);
27178
+ var isSafariDesktop = checkSafari != null && checkSafari[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; // If we are not in safari desktop, let the browser control
27179
+ // the focus
27180
+
27181
+ if (!isSafariDesktop) return;
27182
+ var x = tabbable.indexOf(document.activeElement);
27183
+
27184
+ if (x > -1) {
27185
+ x += shiftKey ? -1 : 1;
27186
+ }
27187
+
27188
+ target = tabbable[x]; // If the tabbable element does not exist,
27189
+ // focus head/tail based on shiftKey
27190
+
27191
+ if (typeof target === "undefined") {
27192
+ event.preventDefault();
27193
+ target = shiftKey ? tail : head;
27194
+ target.focus();
27195
+ return;
27196
+ }
27197
+
27198
+ event.preventDefault();
27199
+ target.focus();
27200
+ }
27201
+
27202
+ module.exports = exports["default"];
27203
+ });
27204
+
27205
+ /**
27206
+ * Copyright (c) 2014-present, Facebook, Inc.
27207
+ *
27208
+ * This source code is licensed under the MIT license found in the
27209
+ * LICENSE file in the root directory of this source tree.
27210
+ */
27211
+ /**
27212
+ * Similar to invariant but only logs a warning if the condition is not met.
27213
+ * This can be used to log issues in development environments in critical
27214
+ * paths. Removing the logging code for production environments will keep the
27215
+ * same logic and follow the same code paths.
27216
+ */
27217
+
27218
+ var __DEV__ = process.env.NODE_ENV !== 'production';
27219
+
27220
+ var warning = function () {};
27221
+
27222
+ if (__DEV__) {
27223
+ var printWarning = function printWarning(format, args) {
27224
+ var len = arguments.length;
27225
+ args = new Array(len > 1 ? len - 1 : 0);
27226
+
27227
+ for (var key = 1; key < len; key++) {
27228
+ args[key - 1] = arguments[key];
27229
+ }
27230
+
27231
+ var argIndex = 0;
27232
+ var message = 'Warning: ' + format.replace(/%s/g, function () {
27233
+ return args[argIndex++];
27234
+ });
27235
+
27236
+ if (typeof console !== 'undefined') {
27237
+ console.error(message);
27238
+ }
27239
+
27240
+ try {
27241
+ // --- Welcome to debugging React ---
27242
+ // This error was thrown as a convenience so that you can use this stack
27243
+ // to find the callsite that caused this warning to fire.
27244
+ throw new Error(message);
27245
+ } catch (x) {}
27246
+ };
27247
+
27248
+ warning = function (condition, format, args) {
27249
+ var len = arguments.length;
27250
+ args = new Array(len > 2 ? len - 2 : 0);
27251
+
27252
+ for (var key = 2; key < len; key++) {
27253
+ args[key - 2] = arguments[key];
27254
+ }
27255
+
27256
+ if (format === undefined) {
27257
+ throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
27258
+ }
27259
+
27260
+ if (!condition) {
27261
+ printWarning.apply(null, [format].concat(args));
27262
+ }
27263
+ };
27264
+ }
27265
+
27266
+ var warning_1 = warning;
27267
+
27268
+ var exenv = createCommonjsModule(function (module) {
27269
+ /*!
27270
+ Copyright (c) 2015 Jed Watson.
27271
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
27272
+ All rights reserved.
27273
+ */
26060
27274
 
26061
27275
  /* global define */
26062
27276
  (function () {
@@ -26430,6 +27644,8 @@ function bodyTrap(eventType, openInstances) {
26430
27644
  _portalOpenInstances2.default.subscribe(bodyTrap);
26431
27645
  });
26432
27646
 
27647
+ var _propTypes = propTypes;
27648
+
26433
27649
  var ModalPortal_1 = createCommonjsModule(function (module, exports) {
26434
27650
 
26435
27651
  Object.defineProperty(exports, "__esModule", {
@@ -26480,7 +27696,7 @@ var _react2 = _interopRequireDefault(React__default["default"]);
26480
27696
 
26481
27697
 
26482
27698
 
26483
- var _propTypes2 = _interopRequireDefault(propTypes);
27699
+ var _propTypes2 = _interopRequireDefault(_propTypes);
26484
27700
 
26485
27701
 
26486
27702
 
@@ -27106,7 +28322,7 @@ var _reactDom2 = _interopRequireDefault(ReactDOM__default["default"]);
27106
28322
 
27107
28323
 
27108
28324
 
27109
- var _propTypes2 = _interopRequireDefault(propTypes);
28325
+ var _propTypes2 = _interopRequireDefault(_propTypes);
27110
28326
 
27111
28327
 
27112
28328
 
@@ -29087,6 +30303,26 @@ var AppBar = function AppBar(_ref) {
29087
30303
  }
29088
30304
  };
29089
30305
 
30306
+ var tileData = findAppData(coreAppConfig.tiles || []) || {};
30307
+ var mihelpAppPath = !isCoreRoute ? tileData.mihelpAppPath : null;
30308
+
30309
+ var handleHelpClick = function handleHelpClick() {
30310
+ var country = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
30311
+ browserCookies.set('mihelpCountry', country.toLowerCase(), {
30312
+ domain: '.copart.com'
30313
+ });
30314
+ var uri = mihelpAppPath ? "".concat(coreAppConfig.mihelpUri, "/applications/").concat(mihelpAppPath) : coreAppConfig.mihelpUri;
30315
+ window.open(uri, "_blank");
30316
+ };
30317
+
30318
+ var isMihelpEnabled;
30319
+
30320
+ if (isCoreRoute) {
30321
+ isMihelpEnabled = coreAppConfig.enableMiHelp;
30322
+ } else {
30323
+ isMihelpEnabled = Boolean(mihelpAppPath);
30324
+ }
30325
+
29090
30326
  var feedbackConfig = function feedbackConfig() {
29091
30327
  var _storage$coreConfig;
29092
30328
 
@@ -29132,6 +30368,8 @@ var AppBar = function AppBar(_ref) {
29132
30368
  yardNumber: storage$1.activeYardNumber,
29133
30369
  onRenderFlag: CountryFlag,
29134
30370
  onLogoutItemClicked: handleSettingsItemClick,
30371
+ handleHelpClick: handleHelpClick,
30372
+ isMihelpEnabled: isMihelpEnabled,
29135
30373
  sendFeedback: fetcher.sendFeedback,
29136
30374
  feedbackConfig: feedbackConfig(),
29137
30375
  stack: process.env.STACK,
@@ -29142,7 +30380,7 @@ var AppBar = function AppBar(_ref) {
29142
30380
  showTitle: showTitle,
29143
30381
  title: title,
29144
30382
  history: history
29145
- }), storage$1.twilioEnabledStatus && isAppEnabledTwilio && isMounted && placeholderNode && storage$1.callCapsuleEnabledStatus && React__default["default"].createElement(Portal$1, {
30383
+ }), storage$1.twilioEnabledStatus && isAppEnabledTwilio && isMounted && placeholderNode && storage$1.callCapsuleEnabledStatus && React__default["default"].createElement(Portal$2, {
29146
30384
  node: placeholderNode
29147
30385
  }, React__default["default"].createElement(CallCapsule, null)), isPrinterDialogOpen && React__default["default"].createElement(PrinterDialog, {
29148
30386
  isDialogOpen: isPrinterDialogOpen,
@@ -39211,26 +40449,6 @@ function filterOutNotificationForOtherApps(notifications) {
39211
40449
  })(notifications);
39212
40450
  }
39213
40451
 
39214
- function filterOutDuplicateNotificationsForMiphone(notifications) {
39215
- var miphoneNotification = null;
39216
- var filtered = filter$1(function (notification) {
39217
- if (notification.news_source === 'Miphone') {
39218
- if (!miphoneNotification || Date.parse(miphoneNotification.lastUpdatedAt) < Date.parse(notification.lastUpdatedAt)) {
39219
- if (miphoneNotification) {
39220
- addNotificationToViewedList(miphoneNotification);
39221
- }
39222
-
39223
- miphoneNotification = notification;
39224
- } else {
39225
- addNotificationToViewedList(notification);
39226
- }
39227
- } else {
39228
- return true;
39229
- }
39230
- })(notifications);
39231
- return [].concat(_toConsumableArray(filtered), [miphoneNotification]);
39232
- }
39233
-
39234
40452
  var caseInsensitiveIncludes = function caseInsensitiveIncludes(val) {
39235
40453
  return function (arr) {
39236
40454
  try {
@@ -39272,7 +40490,7 @@ function filterOutNotificationByAudience(notifications) {
39272
40490
  }
39273
40491
  function filterNotifications(notifications) {
39274
40492
  try {
39275
- return compose(filterOutDuplicateNotificationsForMiphone, filterOutNotificationByAudience, filterOutViewedNotifications, filterOutExpiredNotifications, filterOutNotificationForOtherApps)(notifications);
40493
+ return compose(filterOutNotificationByAudience, filterOutViewedNotifications, filterOutExpiredNotifications, filterOutNotificationForOtherApps)(notifications);
39276
40494
  } catch (err) {
39277
40495
  console.error(err);
39278
40496
  return notifications;
@@ -39357,6 +40575,17 @@ function formatLink(link) {
39357
40575
  }
39358
40576
  }
39359
40577
 
40578
+ function padTo2Digits(num) {
40579
+ return num.toString().padStart(2, '0');
40580
+ }
40581
+
40582
+ function getYesterdayDate() {
40583
+ var today = new Date();
40584
+ var yesterday = new Date(today);
40585
+ yesterday.setDate(today.getDate() - 1);
40586
+ return yesterday.getUTCFullYear() + '-' + padTo2Digits(yesterday.getUTCMonth() + 1) + '-' + padTo2Digits(yesterday.getUTCDate());
40587
+ }
40588
+
39360
40589
  var name="@firebase/database";var version="0.11.0";/**
39361
40590
  * @license
39362
40591
  * Copyright 2019 Google LLC
@@ -43479,14 +44708,16 @@ function connect(firebaseConfig) {
43479
44708
  }
43480
44709
 
43481
44710
  function attachHandlers(setNotifications) {
43482
- firebase.database().ref().on('value', function (snapshot) {
43483
- compose(setNotifications, filterNotifications, mapNotifications, values$1, prop$1('ops-news'))(snapshot.val());
44711
+ var yesterday = getYesterdayDate();
44712
+ firebase.database().ref().child('ops-news').orderByChild('ends_at').startAt(yesterday).on('value', function (snapshot) {
44713
+ compose(setNotifications, filterNotifications, mapNotifications, values$1)(snapshot.val());
43484
44714
  });
43485
44715
  }
43486
44716
 
43487
44717
  function _refetchNotifications(setNotifications) {
43488
- firebase.database().ref().once('value').then(function (snapshot) {
43489
- compose(setNotifications, filterNotifications, mapNotifications, values$1, prop$1('ops-news'))(snapshot.val());
44718
+ var yesterday = getYesterdayDate();
44719
+ firebase.database().ref().child('ops-news').orderByChild('ends_at').startAt(yesterday).once('value').then(function (snapshot) {
44720
+ compose(setNotifications, filterNotifications, mapNotifications, values$1)(snapshot.val());
43490
44721
  });
43491
44722
  }
43492
44723
 
@@ -43504,17 +44735,8 @@ function useFirebase(firebaseConfig) {
43504
44735
  React.useEffect(function () {
43505
44736
  connect(firebaseConfig);
43506
44737
  attachHandlers(setNotifications);
43507
-
43508
- var onStorageChanged = function onStorageChanged() {
43509
- refetchNotifications();
43510
- };
43511
-
43512
- window.addEventListener('localStorageChanged', onStorageChanged);
43513
- window.addEventListener('sessionStorageChanged', onStorageChanged);
43514
44738
  return function () {
43515
44739
  firebase.off();
43516
- window.removeEventListener('localStorageChanged', onStorageChanged);
43517
- window.removeEventListener('sessionStorageChanged', onStorageChanged);
43518
44740
  };
43519
44741
  }, []);
43520
44742
  React.useEffect(function () {
@@ -43715,7 +44937,7 @@ var Notifications$2 = withFirebase(Notifications$1);
43715
44937
 
43716
44938
  var mandatoryKeys = ['apiKey', 'authDomain', 'databaseURL', 'projectId', 'storageBucket', 'messagingSenderId', 'appId'];
43717
44939
  function firebaseConfigValidator (firebaseConfig) {
43718
- return not$1(either$1(isNil$1, isEmpty$2)(firebaseConfig)) && allPass$1(map$2(has$1)(mandatoryKeys))(firebaseConfig);
44940
+ return not$1(either$1(isNil$1, isEmpty$2)(firebaseConfig)) && allPass$1(map$2(has$4)(mandatoryKeys))(firebaseConfig);
43719
44941
  }
43720
44942
 
43721
44943
  var getFirebaseConfig = function getFirebaseConfig() {
@@ -43780,16 +45002,6 @@ var AppFrame = function AppFrame(props) {
43780
45002
  setAppBarMounted: setAppBarMounted
43781
45003
  });
43782
45004
 
43783
- var onSettingsSaved = function onSettingsSaved() {
43784
- var handler = props.onSettingsSaved || function () {
43785
- return location.reload();
43786
- };
43787
-
43788
- var event = new Event('localStorageChanged');
43789
- window.dispatchEvent(event);
43790
- handler();
43791
- };
43792
-
43793
45005
  return React__default["default"].createElement("div", {
43794
45006
  className: "utilities_ops-app-frame_AppFrame_AppFrame--AppFrame",
43795
45007
  style: props.handleScrolling ? SCROLL : NO_SCROLL
@@ -43801,7 +45013,9 @@ var AppFrame = function AppFrame(props) {
43801
45013
  searchBarProps: props.searchBarProps,
43802
45014
  history: props.history,
43803
45015
  setAppBarMounted: setAppBarMounted,
43804
- onSettingsSaved: onSettingsSaved,
45016
+ onSettingsSaved: props.onSettingsSaved || function () {
45017
+ return location.reload();
45018
+ },
43805
45019
  showTitle: props.showTitle || true,
43806
45020
  title: props.appTitle
43807
45021
  })), React__default["default"].createElement(Breadcrumbs, {