@bigbinary/neeto-filters-frontend 2.11.14 → 2.11.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -11,7 +11,7 @@ require('@honeybadger-io/react');
11
11
  require('react-helmet');
12
12
  var axios = require('axios');
13
13
  var neetoIcons = require('@bigbinary/neeto-icons');
14
- var require$$0$1 = require('util');
14
+ var require$$0 = require('util');
15
15
  var dayjs$1 = require('dayjs');
16
16
  var yup = require('yup');
17
17
  var formik = require('formik');
@@ -42,7 +42,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
42
42
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
43
43
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames$4);
44
44
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
45
- var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0$1);
45
+ var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0);
46
46
  var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs$1);
47
47
  var yup__namespace = /*#__PURE__*/_interopNamespace(yup);
48
48
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM$1);
@@ -279,28 +279,7 @@ function _defineProperty$5(obj, key, value) {
279
279
  return obj;
280
280
  }
281
281
 
282
- var commonjsGlobal$3 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
283
-
284
- function getAugmentedNamespace(n) {
285
- var f = n.default;
286
- if (typeof f == "function") {
287
- var a = function () {
288
- return f.apply(this, arguments);
289
- };
290
- a.prototype = f.prototype;
291
- } else a = {};
292
- Object.defineProperty(a, '__esModule', {value: true});
293
- Object.keys(n).forEach(function (k) {
294
- var d = Object.getOwnPropertyDescriptor(n, k);
295
- Object.defineProperty(a, k, d.get ? d : {
296
- enumerable: true,
297
- get: function () {
298
- return n[k];
299
- }
300
- });
301
- });
302
- return a;
303
- }
282
+ var commonjsGlobal$2 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
304
283
 
305
284
  function _classCallCheck$3(instance, Constructor) {
306
285
  if (!(instance instanceof Constructor)) {
@@ -637,9 +616,9 @@ var SvgInternalServerError = function SvgInternalServerError(props) {
637
616
  };
638
617
 
639
618
  var _path$1, _path2$1;
640
- function _extends$1$3() { _extends$1$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1$3.apply(this, arguments); }
619
+ function _extends$1$2() { _extends$1$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1$2.apply(this, arguments); }
641
620
  var SvgPageNotFound = function SvgPageNotFound(props) {
642
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1$3({
621
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1$2({
643
622
  width: 121,
644
623
  height: 120,
645
624
  fill: "none",
@@ -654,9 +633,9 @@ var SvgPageNotFound = function SvgPageNotFound(props) {
654
633
  };
655
634
 
656
635
  var _path, _path2;
657
- function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
636
+ function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
658
637
  var SvgUnauthorized = function SvgUnauthorized(props) {
659
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
638
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
660
639
  width: 120,
661
640
  height: 120,
662
641
  fill: "none",
@@ -1299,7 +1278,7 @@ const createStoreImpl = (createState) => {
1299
1278
  };
1300
1279
  const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
1301
1280
 
1302
- var commonjsGlobal$2 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1281
+ var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1303
1282
 
1304
1283
  function getDefaultExportFromCjs$1 (x) {
1305
1284
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -3007,7 +2986,7 @@ var platform$1 = {exports: {}};
3007
2986
  var freeModule = module && !module.nodeType && module;
3008
2987
 
3009
2988
  /** Detect free variable `global` from Node.js or Browserified code and use it as `root`. */
3010
- var freeGlobal = freeExports && freeModule && typeof commonjsGlobal$2 == 'object' && commonjsGlobal$2;
2989
+ var freeGlobal = freeExports && freeModule && typeof commonjsGlobal$1 == 'object' && commonjsGlobal$1;
3011
2990
  if (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal)) {
3012
2991
  root = freeGlobal;
3013
2992
  }
@@ -4220,7 +4199,7 @@ var platform$1 = {exports: {}};
4220
4199
  // Export to the global object.
4221
4200
  root.platform = platform;
4222
4201
  }
4223
- }.call(commonjsGlobal$2));
4202
+ }.call(commonjsGlobal$1));
4224
4203
  } (platform$1, platform$1.exports));
4225
4204
 
4226
4205
  var platform = platform$1.exports;
@@ -4339,7 +4318,7 @@ function unsafeStringify(arr, offset = 0) {
4339
4318
  return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
4340
4319
  }
4341
4320
 
4342
- function parse$4(uuid) {
4321
+ function parse$3(uuid) {
4343
4322
  if (!validate(uuid)) {
4344
4323
  throw TypeError('Invalid UUID');
4345
4324
  }
@@ -4394,7 +4373,7 @@ function v35(name, version, hashfunc) {
4394
4373
  }
4395
4374
 
4396
4375
  if (typeof namespace === 'string') {
4397
- namespace = parse$4(namespace);
4376
+ namespace = parse$3(namespace);
4398
4377
  }
4399
4378
 
4400
4379
  if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
@@ -5156,12 +5135,12 @@ function _assertThisInitialized$3(self) {
5156
5135
  return self;
5157
5136
  }
5158
5137
 
5159
- function _setPrototypeOf$5(o, p) {
5160
- _setPrototypeOf$5 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
5138
+ function _setPrototypeOf$3(o, p) {
5139
+ _setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
5161
5140
  o.__proto__ = p;
5162
5141
  return o;
5163
5142
  };
5164
- return _setPrototypeOf$5(o, p);
5143
+ return _setPrototypeOf$3(o, p);
5165
5144
  }
5166
5145
 
5167
5146
  function _inherits$1(subClass, superClass) {
@@ -5178,7 +5157,7 @@ function _inherits$1(subClass, superClass) {
5178
5157
  Object.defineProperty(subClass, "prototype", {
5179
5158
  writable: false
5180
5159
  });
5181
- if (superClass) _setPrototypeOf$5(subClass, superClass);
5160
+ if (superClass) _setPrototypeOf$3(subClass, superClass);
5182
5161
  }
5183
5162
 
5184
5163
  function _possibleConstructorReturn$1(self, call) {
@@ -8026,7 +8005,7 @@ var SHORTCUTS = {
8026
8005
  var relativeTime$1 = {exports: {}};
8027
8006
 
8028
8007
  (function (module, exports) {
8029
- !function(r,e){module.exports=e();}(commonjsGlobal$3,(function(){return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
8008
+ !function(r,e){module.exports=e();}(commonjsGlobal$2,(function(){return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
8030
8009
  } (relativeTime$1));
8031
8010
 
8032
8011
  var relativeTime = relativeTime$1.exports;
@@ -8034,7 +8013,7 @@ var relativeTime = relativeTime$1.exports;
8034
8013
  var updateLocale$1 = {exports: {}};
8035
8014
 
8036
8015
  (function (module, exports) {
8037
- !function(e,n){module.exports=n();}(commonjsGlobal$3,(function(){return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return (n?Object.keys(n):[]).forEach((function(e){o[e]=n[e];})),o};}}));
8016
+ !function(e,n){module.exports=n();}(commonjsGlobal$2,(function(){return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return (n?Object.keys(n):[]).forEach((function(e){o[e]=n[e];})),o};}}));
8038
8017
  } (updateLocale$1));
8039
8018
 
8040
8019
  var updateLocale = updateLocale$1.exports;
@@ -10441,12 +10420,12 @@ var parse$1$1 = function (str, opts) {
10441
10420
  };
10442
10421
 
10443
10422
  var stringify$2 = stringify_1;
10444
- var parse$3 = parse$1$1;
10423
+ var parse$2 = parse$1$1;
10445
10424
  var formats = formats$3;
10446
10425
 
10447
10426
  var lib = {
10448
10427
  formats: formats,
10449
- parse: parse$3,
10428
+ parse: parse$2,
10450
10429
  stringify: stringify$2
10451
10430
  };
10452
10431
  function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -10687,7 +10666,7 @@ function _slicedToArray$2(arr, i) {
10687
10666
  var timezone$1 = {exports: {}};
10688
10667
 
10689
10668
  (function (module, exports) {
10690
- !function(t,e){module.exports=e();}(commonjsGlobal$3,(function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10));}var d=r[3],l=24===d?0:d,v=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",h=+e;return (o.utc(v).valueOf()-(h-=h%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute");}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return "timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return [i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t;};}}));
10669
+ !function(t,e){module.exports=e();}(commonjsGlobal$2,(function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10));}var d=r[3],l=24===d?0:d,v=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",h=+e;return (o.utc(v).valueOf()-(h-=h%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute");}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return "timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return [i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t;};}}));
10691
10670
  } (timezone$1));
10692
10671
 
10693
10672
  var timezone = timezone$1.exports;
@@ -10695,7 +10674,7 @@ var timezone = timezone$1.exports;
10695
10674
  var utc$3 = {exports: {}};
10696
10675
 
10697
10676
  (function (module, exports) {
10698
- !function(t,i){module.exports=i();}(commonjsGlobal$3,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
10677
+ !function(t,i){module.exports=i();}(commonjsGlobal$2,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
10699
10678
  } (utc$3));
10700
10679
 
10701
10680
  var utc$2 = utc$3.exports;
@@ -10703,7 +10682,7 @@ var utc$2 = utc$3.exports;
10703
10682
  var weekday$3 = {exports: {}};
10704
10683
 
10705
10684
  (function (module, exports) {
10706
- !function(e,t){module.exports=t();}(commonjsGlobal$3,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i<t?i+7:i)-t;return this.$utils().u(e)?n:this.subtract(n,"day").add(e,"day")};}}));
10685
+ !function(e,t){module.exports=t();}(commonjsGlobal$2,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i<t?i+7:i)-t;return this.$utils().u(e)?n:this.subtract(n,"day").add(e,"day")};}}));
10707
10686
  } (weekday$3));
10708
10687
 
10709
10688
  var weekday$2 = weekday$3.exports;
@@ -11438,7 +11417,7 @@ function _extends$2$1() {
11438
11417
  return _extends$2$1.apply(this, arguments);
11439
11418
  }
11440
11419
 
11441
- var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
11420
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
11442
11421
 
11443
11422
  var classnames$2 = {exports: {}};
11444
11423
 
@@ -13197,7 +13176,7 @@ function loadFeatures(features) {
13197
13176
  }
13198
13177
  }
13199
13178
 
13200
- var invariant$2 = function () { };
13179
+ var invariant = function () { };
13201
13180
 
13202
13181
  var LazyContext = React.createContext({ strict: false });
13203
13182
 
@@ -14919,7 +14898,7 @@ function useUnmountEffect(callback) {
14919
14898
  return React.useEffect(function () { return function () { return callback(); }; }, []);
14920
14899
  }
14921
14900
 
14922
- var clamp$2 = function (min, max, v) {
14901
+ var clamp = function (min, max, v) {
14923
14902
  return Math.min(Math.max(v, min), max);
14924
14903
  };
14925
14904
 
@@ -14933,8 +14912,8 @@ function findSpring(_a) {
14933
14912
  var envelope;
14934
14913
  var derivative;
14935
14914
  var dampingRatio = 1 - bounce;
14936
- dampingRatio = clamp$2(minDamping, maxDamping, dampingRatio);
14937
- duration = clamp$2(minDuration, maxDuration, duration / 1000);
14915
+ dampingRatio = clamp(minDamping, maxDamping, dampingRatio);
14916
+ duration = clamp(minDuration, maxDuration, duration / 1000);
14938
14917
  if (dampingRatio < 1) {
14939
14918
  envelope = function (undampedFreq) {
14940
14919
  var exponentialDecay = undampedFreq * dampingRatio;
@@ -15137,7 +15116,7 @@ var getColorType = function (v) {
15137
15116
  var mixColor = function (from, to) {
15138
15117
  var fromColorType = getColorType(from);
15139
15118
  var toColorType = getColorType(to);
15140
- invariant$2(fromColorType.transform === toColorType.transform);
15119
+ invariant(fromColorType.transform === toColorType.transform);
15141
15120
  var fromColor = fromColorType.parse(from);
15142
15121
  var toColor = toColorType.parse(to);
15143
15122
  var blended = __assign({}, fromColor);
@@ -15297,8 +15276,8 @@ function slowInterpolate(input, mixers) {
15297
15276
  function interpolate(input, output, _a) {
15298
15277
  var _b = _a === void 0 ? {} : _a, _c = _b.clamp, isClamp = _c === void 0 ? true : _c, ease = _b.ease, mixer = _b.mixer;
15299
15278
  var inputLength = input.length;
15300
- invariant$2(inputLength === output.length);
15301
- invariant$2(!ease || !Array.isArray(ease) || ease.length === inputLength - 1);
15279
+ invariant(inputLength === output.length);
15280
+ invariant(!ease || !Array.isArray(ease) || ease.length === inputLength - 1);
15302
15281
  if (input[0] > input[inputLength - 1]) {
15303
15282
  input = [].concat(input);
15304
15283
  output = [].concat(output);
@@ -15310,7 +15289,7 @@ function interpolate(input, output, _a) {
15310
15289
  ? fastInterpolate(input, mixers)
15311
15290
  : slowInterpolate(input, mixers);
15312
15291
  return isClamp
15313
- ? function (v) { return interpolator(clamp$2(input[0], input[inputLength - 1], v)); }
15292
+ ? function (v) { return interpolator(clamp(input[0], input[inputLength - 1], v)); }
15314
15293
  : interpolator;
15315
15294
  }
15316
15295
 
@@ -15937,7 +15916,7 @@ var easingLookup = {
15937
15916
  var easingDefinitionToFunction = function (definition) {
15938
15917
  if (Array.isArray(definition)) {
15939
15918
  // If cubic bezier definition, create bezier curve
15940
- invariant$2(definition.length === 4);
15919
+ invariant(definition.length === 4);
15941
15920
  var _a = __read(definition, 4), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];
15942
15921
  return cubicBezier(x1, y1, x2, y2);
15943
15922
  }
@@ -17592,7 +17571,7 @@ function getBoundingBox(element, transformPagePoint) {
17592
17571
  return convertBoundingBoxToAxisBox(transformBoundingBox(box, transformPagePoint));
17593
17572
  }
17594
17573
 
17595
- var clampProgress = function (v) { return clamp$2(0, 1, v); };
17574
+ var clampProgress = function (v) { return clamp(0, 1, v); };
17596
17575
  /**
17597
17576
  * Returns true if the provided value is within maxDistance of the provided target
17598
17577
  */
@@ -20203,7 +20182,7 @@ var checkAndConvertChangedValueTypes = function (visualElement, target, origin,
20203
20182
  toType = findDimensionValueType(to[i]);
20204
20183
  }
20205
20184
  else {
20206
- invariant$2(findDimensionValueType(to[i]) === toType);
20185
+ invariant(findDimensionValueType(to[i]) === toType);
20207
20186
  }
20208
20187
  }
20209
20188
  }
@@ -25260,7 +25239,7 @@ var forwardRef = (function (Tippy, defaultProps) {
25260
25239
  );
25261
25240
  });
25262
25241
  });
25263
- var index$1$1 = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
25242
+ var index$1 = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
25264
25243
 
25265
25244
  var ARROW = "<svg width='12' height='6' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>";
25266
25245
 
@@ -25307,7 +25286,7 @@ var Tooltip = function Tooltip(_ref) {
25307
25286
  }
25308
25287
  return undefined;
25309
25288
  }, [instance, hideOnTargetExit]);
25310
- return /*#__PURE__*/React__default["default"].createElement(index$1$1, _extends$2$1({
25289
+ return /*#__PURE__*/React__default["default"].createElement(index$1, _extends$2$1({
25311
25290
  animation: "scale-subtle",
25312
25291
  arrow: ARROW,
25313
25292
  content: content,
@@ -26059,8 +26038,8 @@ var n$1$1=["size","color","strokeWidth"],s=function(e){var s=e.size,i=e.color,d=
26059
26038
 
26060
26039
  ({color:xe.string,size:xe.oneOfType([xe.string,xe.number]),strokeWidth:xe.oneOfType([xe.string,xe.number])});
26061
26040
 
26062
- function _extends$1$2() {
26063
- _extends$1$2 = Object.assign ? Object.assign.bind() : function (target) {
26041
+ function _extends$1$1() {
26042
+ _extends$1$1 = Object.assign ? Object.assign.bind() : function (target) {
26064
26043
  for (var i = 1; i < arguments.length; i++) {
26065
26044
  var source = arguments[i];
26066
26045
  for (var key in source) {
@@ -26071,7 +26050,7 @@ function _extends$1$2() {
26071
26050
  }
26072
26051
  return target;
26073
26052
  };
26074
- return _extends$1$2.apply(this, arguments);
26053
+ return _extends$1$1.apply(this, arguments);
26075
26054
  }
26076
26055
 
26077
26056
  function _objectWithoutPropertiesLoose$1$1(source, excluded) {
@@ -26095,7 +26074,7 @@ function _setPrototypeOf$1$1(o, p) {
26095
26074
  return _setPrototypeOf$1$1(o, p);
26096
26075
  }
26097
26076
 
26098
- function _inheritsLoose$4(subClass, superClass) {
26077
+ function _inheritsLoose$2(subClass, superClass) {
26099
26078
  subClass.prototype = Object.create(superClass.prototype);
26100
26079
  subClass.prototype.constructor = subClass;
26101
26080
  _setPrototypeOf$1$1(subClass, superClass);
@@ -26340,7 +26319,7 @@ var EXITING$2 = 'exiting';
26340
26319
  */
26341
26320
 
26342
26321
  var Transition$3 = /*#__PURE__*/function (_React$Component) {
26343
- _inheritsLoose$4(Transition, _React$Component);
26322
+ _inheritsLoose$2(Transition, _React$Component);
26344
26323
 
26345
26324
  function Transition(props, context) {
26346
26325
  var _this;
@@ -26650,7 +26629,7 @@ var Transition$3 = /*#__PURE__*/function (_React$Component) {
26650
26629
  Transition$3.contextType = TransitionGroupContext$2;
26651
26630
  Transition$3.propTypes = {}; // Name the function so it is clearer in the documentation
26652
26631
 
26653
- function noop$2$1() {}
26632
+ function noop$2() {}
26654
26633
 
26655
26634
  Transition$3.defaultProps = {
26656
26635
  in: false,
@@ -26659,12 +26638,12 @@ Transition$3.defaultProps = {
26659
26638
  appear: false,
26660
26639
  enter: true,
26661
26640
  exit: true,
26662
- onEnter: noop$2$1,
26663
- onEntering: noop$2$1,
26664
- onEntered: noop$2$1,
26665
- onExit: noop$2$1,
26666
- onExiting: noop$2$1,
26667
- onExited: noop$2$1
26641
+ onEnter: noop$2,
26642
+ onEntering: noop$2,
26643
+ onEntered: noop$2,
26644
+ onExit: noop$2,
26645
+ onExiting: noop$2,
26646
+ onExited: noop$2
26668
26647
  };
26669
26648
  Transition$3.UNMOUNTED = UNMOUNTED$2;
26670
26649
  Transition$3.EXITED = EXITED$2;
@@ -26755,7 +26734,7 @@ var removeClass$4 = function removeClass(node, classes) {
26755
26734
 
26756
26735
 
26757
26736
  var CSSTransition$3 = /*#__PURE__*/function (_React$Component) {
26758
- _inheritsLoose$4(CSSTransition, _React$Component);
26737
+ _inheritsLoose$2(CSSTransition, _React$Component);
26759
26738
 
26760
26739
  function CSSTransition() {
26761
26740
  var _this;
@@ -26926,7 +26905,7 @@ var CSSTransition$3 = /*#__PURE__*/function (_React$Component) {
26926
26905
  _this$props.classNames;
26927
26906
  var props = _objectWithoutPropertiesLoose$1$1(_this$props, ["classNames"]);
26928
26907
 
26929
- return /*#__PURE__*/React__default["default"].createElement(Transition$3, _extends$1$2({}, props, {
26908
+ return /*#__PURE__*/React__default["default"].createElement(Transition$3, _extends$1$1({}, props, {
26930
26909
  onEnter: this.onEnter,
26931
26910
  onEntered: this.onEntered,
26932
26911
  onEntering: this.onEntering,
@@ -27119,7 +27098,7 @@ var defaultProps$1 = {
27119
27098
  */
27120
27099
 
27121
27100
  var TransitionGroup$1 = /*#__PURE__*/function (_React$Component) {
27122
- _inheritsLoose$4(TransitionGroup, _React$Component);
27101
+ _inheritsLoose$2(TransitionGroup, _React$Component);
27123
27102
 
27124
27103
  function TransitionGroup(props, context) {
27125
27104
  var _this;
@@ -27175,7 +27154,7 @@ var TransitionGroup$1 = /*#__PURE__*/function (_React$Component) {
27175
27154
 
27176
27155
  if (this.mounted) {
27177
27156
  this.setState(function (state) {
27178
- var children = _extends$1$2({}, state.children);
27157
+ var children = _extends$1$1({}, state.children);
27179
27158
 
27180
27159
  delete children[child.key];
27181
27160
  return {
@@ -27227,7 +27206,7 @@ TransitionGroup$1.defaultProps = defaultProps$1;
27227
27206
  */
27228
27207
 
27229
27208
  var ReplaceTransition$1 = /*#__PURE__*/function (_React$Component) {
27230
- _inheritsLoose$4(ReplaceTransition, _React$Component);
27209
+ _inheritsLoose$2(ReplaceTransition, _React$Component);
27231
27210
 
27232
27211
  function ReplaceTransition() {
27233
27212
  var _this;
@@ -27469,7 +27448,7 @@ var enterRenders$1 = (_enterRenders$1 = {}, _enterRenders$1[modes$1.out] = funct
27469
27448
  */
27470
27449
 
27471
27450
  var SwitchTransition$1 = /*#__PURE__*/function (_React$Component) {
27472
- _inheritsLoose$4(SwitchTransition, _React$Component);
27451
+ _inheritsLoose$2(SwitchTransition, _React$Component);
27473
27452
 
27474
27453
  function SwitchTransition() {
27475
27454
  var _this;
@@ -28227,7 +28206,7 @@ new OverlayManager();
28227
28206
  var dayjs_min = {exports: {}};
28228
28207
 
28229
28208
  (function (module, exports) {
28230
- !function(t,e){module.exports=e();}(commonjsGlobal$1,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",D={};D[v]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(v=i),i||!r&&v},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var v=this.$locale().weekStart||0,D=(y<v?y+7:y)-v;return $(r?m-D:m+(6-D),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,v=O.m(this,M);return v=(l={},l[c]=v/12,l[f]=v,l[h]=v/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?v:O.a(v)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[v],w.Ls=D,w.p={},w}));
28209
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",D={};D[v]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(v=i),i||!r&&v},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var v=this.$locale().weekStart||0,D=(y<v?y+7:y)-v;return $(r?m-D:m+(6-D),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,v=O.m(this,M);return v=(l={},l[c]=v/12,l[f]=v,l[h]=v/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?v:O.a(v)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[v],w.Ls=D,w.p={},w}));
28231
28210
  } (dayjs_min));
28232
28211
 
28233
28212
  var dayjs = dayjs_min.exports;
@@ -28235,7 +28214,7 @@ var dayjs = dayjs_min.exports;
28235
28214
  var localeData$1 = {exports: {}};
28236
28215
 
28237
28216
  (function (module, exports) {
28238
- !function(n,e){module.exports=e();}(commonjsGlobal$1,(function(){return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return {months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return {firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)};}}));
28217
+ !function(n,e){module.exports=e();}(commonjsGlobal,(function(){return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return {months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return {firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)};}}));
28239
28218
  } (localeData$1));
28240
28219
 
28241
28220
  var localeData = localeData$1.exports;
@@ -28243,7 +28222,7 @@ var localeData = localeData$1.exports;
28243
28222
  var utc$1 = {exports: {}};
28244
28223
 
28245
28224
  (function (module, exports) {
28246
- !function(t,i){module.exports=i();}(commonjsGlobal$1,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
28225
+ !function(t,i){module.exports=i();}(commonjsGlobal,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
28247
28226
  } (utc$1));
28248
28227
 
28249
28228
  var utc = utc$1.exports;
@@ -28251,7 +28230,7 @@ var utc = utc$1.exports;
28251
28230
  var weekday$1 = {exports: {}};
28252
28231
 
28253
28232
  (function (module, exports) {
28254
- !function(e,t){module.exports=t();}(commonjsGlobal$1,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i<t?i+7:i)-t;return this.$utils().u(e)?n:this.subtract(n,"day").add(e,"day")};}}));
28233
+ !function(e,t){module.exports=t();}(commonjsGlobal,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i<t?i+7:i)-t;return this.$utils().u(e)?n:this.subtract(n,"day").add(e,"day")};}}));
28255
28234
  } (weekday$1));
28256
28235
 
28257
28236
  var weekday = weekday$1.exports;
@@ -28259,7 +28238,7 @@ var weekday = weekday$1.exports;
28259
28238
  var weekOfYear$1 = {exports: {}};
28260
28239
 
28261
28240
  (function (module, exports) {
28262
- !function(e,t){module.exports=t();}(commonjsGlobal$1,(function(){var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)};}}));
28241
+ !function(e,t){module.exports=t();}(commonjsGlobal,(function(){var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)};}}));
28263
28242
  } (weekOfYear$1));
28264
28243
 
28265
28244
  var weekOfYear = weekOfYear$1.exports;
@@ -28882,8 +28861,8 @@ function _toConsumableArray$1(arr) {
28882
28861
  return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1();
28883
28862
  }
28884
28863
 
28885
- function _extends$5() {
28886
- _extends$5 = Object.assign ? Object.assign.bind() : function (target) {
28864
+ function _extends$4() {
28865
+ _extends$4 = Object.assign ? Object.assign.bind() : function (target) {
28887
28866
  for (var i = 1; i < arguments.length; i++) {
28888
28867
  var source = arguments[i];
28889
28868
  for (var key in source) {
@@ -28894,7 +28873,7 @@ function _extends$5() {
28894
28873
  }
28895
28874
  return target;
28896
28875
  };
28897
- return _extends$5.apply(this, arguments);
28876
+ return _extends$4.apply(this, arguments);
28898
28877
  }
28899
28878
 
28900
28879
  function _defineProperty$2(obj, key, value) {
@@ -28957,12 +28936,12 @@ function _createClass(Constructor, protoProps, staticProps) {
28957
28936
  return Constructor;
28958
28937
  }
28959
28938
 
28960
- function _setPrototypeOf$4(o, p) {
28961
- _setPrototypeOf$4 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
28939
+ function _setPrototypeOf$2(o, p) {
28940
+ _setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
28962
28941
  o.__proto__ = p;
28963
28942
  return o;
28964
28943
  };
28965
- return _setPrototypeOf$4(o, p);
28944
+ return _setPrototypeOf$2(o, p);
28966
28945
  }
28967
28946
 
28968
28947
  function _inherits(subClass, superClass) {
@@ -28979,7 +28958,7 @@ function _inherits(subClass, superClass) {
28979
28958
  Object.defineProperty(subClass, "prototype", {
28980
28959
  writable: false
28981
28960
  });
28982
- if (superClass) _setPrototypeOf$4(subClass, superClass);
28961
+ if (superClass) _setPrototypeOf$2(subClass, superClass);
28983
28962
  }
28984
28963
 
28985
28964
  function _getPrototypeOf(o) {
@@ -29559,8 +29538,8 @@ function identifier (index) {
29559
29538
  * @param {string} value
29560
29539
  * @return {object[]}
29561
29540
  */
29562
- function compile$1 (value) {
29563
- return dealloc(parse$2('', null, null, null, [''], value = alloc(value), 0, [0], value))
29541
+ function compile (value) {
29542
+ return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))
29564
29543
  }
29565
29544
 
29566
29545
  /**
@@ -29575,7 +29554,7 @@ function compile$1 (value) {
29575
29554
  * @param {string[]} declarations
29576
29555
  * @return {object}
29577
29556
  */
29578
- function parse$2 (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
29557
+ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
29579
29558
  var index = 0;
29580
29559
  var offset = 0;
29581
29560
  var length = pseudo;
@@ -29644,15 +29623,15 @@ function parse$2 (value, root, parent, rule, rules, rulesets, pseudo, points, de
29644
29623
 
29645
29624
  if (character === 123)
29646
29625
  if (offset === 0)
29647
- parse$2(characters, root, reference, reference, props, rulesets, length, points, children);
29626
+ parse(characters, root, reference, reference, props, rulesets, length, points, children);
29648
29627
  else
29649
29628
  switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
29650
29629
  // d m s
29651
29630
  case 100: case 109: case 115:
29652
- parse$2(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
29631
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
29653
29632
  break
29654
29633
  default:
29655
- parse$2(characters, reference, reference, reference, [''], children, 0, points, children);
29634
+ parse(characters, reference, reference, reference, [''], children, 0, points, children);
29656
29635
  }
29657
29636
  }
29658
29637
 
@@ -29955,7 +29934,7 @@ var removeLabel = function removeLabel(element) {
29955
29934
 
29956
29935
  /* eslint-disable no-fallthrough */
29957
29936
 
29958
- function prefix$2(value, length) {
29937
+ function prefix(value, length) {
29959
29938
  switch (hash(value, length)) {
29960
29939
  // color-adjust
29961
29940
  case 5103:
@@ -30083,7 +30062,7 @@ function prefix$2(value, length) {
30083
30062
  // (s)tretch
30084
30063
 
30085
30064
  case 115:
30086
- return ~indexof(value, 'stretch') ? prefix$2(replace(value, 'stretch', 'fill-available'), length) + value : value;
30065
+ return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
30087
30066
  }
30088
30067
  break;
30089
30068
  // position: sticky
@@ -30131,7 +30110,7 @@ function prefix$2(value, length) {
30131
30110
  var prefixer = function prefixer(element, index, children, callback) {
30132
30111
  if (element.length > -1) if (!element["return"]) switch (element.type) {
30133
30112
  case DECLARATION:
30134
- element["return"] = prefix$2(element.value, element.length);
30113
+ element["return"] = prefix(element.value, element.length);
30135
30114
  break;
30136
30115
 
30137
30116
  case KEYFRAMES:
@@ -30235,7 +30214,7 @@ var createCache = function createCache(options) {
30235
30214
  var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
30236
30215
 
30237
30216
  var stylis = function stylis(styles) {
30238
- return serialize(compile$1(styles), serializer);
30217
+ return serialize(compile(styles), serializer);
30239
30218
  };
30240
30219
 
30241
30220
  _insert = function insert(selector, serialized, sheet, shouldCache) {
@@ -30253,7 +30232,7 @@ var createCache = function createCache(options) {
30253
30232
  var _serializer = middleware(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
30254
30233
 
30255
30234
  var _stylis = function _stylis(styles) {
30256
- return serialize(compile$1(styles), _serializer);
30235
+ return serialize(compile(styles), _serializer);
30257
30236
  }; // $FlowFixMe
30258
30237
 
30259
30238
 
@@ -30344,15 +30323,15 @@ reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof
30344
30323
  }
30345
30324
  } (reactIs$1$1));
30346
30325
 
30347
- var reactIs$3 = reactIs$1$1.exports;
30348
- var FORWARD_REF_STATICS$1 = {
30326
+ var reactIs$2 = reactIs$1$1.exports;
30327
+ var FORWARD_REF_STATICS = {
30349
30328
  '$$typeof': true,
30350
30329
  render: true,
30351
30330
  defaultProps: true,
30352
30331
  displayName: true,
30353
30332
  propTypes: true
30354
30333
  };
30355
- var MEMO_STATICS$1 = {
30334
+ var MEMO_STATICS = {
30356
30335
  '$$typeof': true,
30357
30336
  compare: true,
30358
30337
  defaultProps: true,
@@ -30360,9 +30339,9 @@ var MEMO_STATICS$1 = {
30360
30339
  propTypes: true,
30361
30340
  type: true
30362
30341
  };
30363
- var TYPE_STATICS$1 = {};
30364
- TYPE_STATICS$1[reactIs$3.ForwardRef] = FORWARD_REF_STATICS$1;
30365
- TYPE_STATICS$1[reactIs$3.Memo] = MEMO_STATICS$1;
30342
+ var TYPE_STATICS = {};
30343
+ TYPE_STATICS[reactIs$2.ForwardRef] = FORWARD_REF_STATICS;
30344
+ TYPE_STATICS[reactIs$2.Memo] = MEMO_STATICS;
30366
30345
 
30367
30346
  var isBrowser$2 = typeof document !== 'undefined';
30368
30347
  function getRegisteredStyles(registered, registeredStyles, classNames) {
@@ -31071,7 +31050,7 @@ function _taggedTemplateLiteral(strings, raw) {
31071
31050
  }));
31072
31051
  }
31073
31052
 
31074
- function _objectWithoutPropertiesLoose$5(source, excluded) {
31053
+ function _objectWithoutPropertiesLoose$4(source, excluded) {
31075
31054
  if (source == null) return {};
31076
31055
  var target = {};
31077
31056
  var sourceKeys = Object.keys(source);
@@ -31086,7 +31065,7 @@ function _objectWithoutPropertiesLoose$5(source, excluded) {
31086
31065
 
31087
31066
  function _objectWithoutProperties$2(source, excluded) {
31088
31067
  if (source == null) return {};
31089
- var target = _objectWithoutPropertiesLoose$5(source, excluded);
31068
+ var target = _objectWithoutPropertiesLoose$4(source, excluded);
31090
31069
  var key, i;
31091
31070
  if (Object.getOwnPropertySymbols) {
31092
31071
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -31897,7 +31876,7 @@ var Menu$1 = function Menu(props) {
31897
31876
  getStyles = props.getStyles,
31898
31877
  innerRef = props.innerRef,
31899
31878
  innerProps = props.innerProps;
31900
- return jsx("div", _extends$5({
31879
+ return jsx("div", _extends$4({
31901
31880
  css: getStyles('menu', props),
31902
31881
  className: cx({
31903
31882
  menu: true
@@ -31931,7 +31910,7 @@ var MenuList = function MenuList(props) {
31931
31910
  innerProps = props.innerProps,
31932
31911
  innerRef = props.innerRef,
31933
31912
  isMulti = props.isMulti;
31934
- return jsx("div", _extends$5({
31913
+ return jsx("div", _extends$4({
31935
31914
  css: getStyles('menuList', props),
31936
31915
  className: cx({
31937
31916
  'menu-list': true,
@@ -31963,7 +31942,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
31963
31942
  cx = props.cx,
31964
31943
  getStyles = props.getStyles,
31965
31944
  innerProps = props.innerProps;
31966
- return jsx("div", _extends$5({
31945
+ return jsx("div", _extends$4({
31967
31946
  css: getStyles('noOptionsMessage', props),
31968
31947
  className: cx({
31969
31948
  'menu-notice': true,
@@ -31980,7 +31959,7 @@ var LoadingMessage = function LoadingMessage(props) {
31980
31959
  cx = props.cx,
31981
31960
  getStyles = props.getStyles,
31982
31961
  innerProps = props.innerProps;
31983
- return jsx("div", _extends$5({
31962
+ return jsx("div", _extends$4({
31984
31963
  css: getStyles('loadingMessage', props),
31985
31964
  className: cx({
31986
31965
  'menu-notice': true,
@@ -32071,7 +32050,7 @@ var MenuPortal = function MenuPortal(_ref8) {
32071
32050
  if (!appendTo && menuPosition !== 'fixed' || !computedPosition) return null;
32072
32051
 
32073
32052
  // same wrapper element whether fixed or portalled
32074
- var menuWrapper = jsx("div", _extends$5({
32053
+ var menuWrapper = jsx("div", _extends$4({
32075
32054
  ref: setMenuPortalElement,
32076
32055
  css: getStyles('menuPortal', {
32077
32056
  offset: computedPosition.offset,
@@ -32106,7 +32085,7 @@ var SelectContainer = function SelectContainer(props) {
32106
32085
  innerProps = props.innerProps,
32107
32086
  isDisabled = props.isDisabled,
32108
32087
  isRtl = props.isRtl;
32109
- return jsx("div", _extends$5({
32088
+ return jsx("div", _extends$4({
32110
32089
  css: getStyles('container', props),
32111
32090
  className: cx({
32112
32091
  '--is-disabled': isDisabled,
@@ -32143,7 +32122,7 @@ var ValueContainer = function ValueContainer(props) {
32143
32122
  isMulti = props.isMulti,
32144
32123
  getStyles = props.getStyles,
32145
32124
  hasValue = props.hasValue;
32146
- return jsx("div", _extends$5({
32125
+ return jsx("div", _extends$4({
32147
32126
  css: getStyles('valueContainer', props),
32148
32127
  className: cx({
32149
32128
  'value-container': true,
@@ -32171,7 +32150,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
32171
32150
  cx = props.cx,
32172
32151
  innerProps = props.innerProps,
32173
32152
  getStyles = props.getStyles;
32174
- return jsx("div", _extends$5({
32153
+ return jsx("div", _extends$4({
32175
32154
  css: getStyles('indicatorsContainer', props),
32176
32155
  className: cx({
32177
32156
  indicators: true
@@ -32192,7 +32171,7 @@ var _ref2$2 = {
32192
32171
  var Svg = function Svg(_ref) {
32193
32172
  var size = _ref.size,
32194
32173
  props = _objectWithoutProperties$2(_ref, _excluded$2$1);
32195
- return jsx("svg", _extends$5({
32174
+ return jsx("svg", _extends$4({
32196
32175
  height: size,
32197
32176
  width: size,
32198
32177
  viewBox: "0 0 20 20",
@@ -32202,14 +32181,14 @@ var Svg = function Svg(_ref) {
32202
32181
  }, props));
32203
32182
  };
32204
32183
  var CrossIcon = function CrossIcon(props) {
32205
- return jsx(Svg, _extends$5({
32184
+ return jsx(Svg, _extends$4({
32206
32185
  size: 20
32207
32186
  }, props), jsx("path", {
32208
32187
  d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
32209
32188
  }));
32210
32189
  };
32211
32190
  var DownChevron = function DownChevron(props) {
32212
- return jsx(Svg, _extends$5({
32191
+ return jsx(Svg, _extends$4({
32213
32192
  size: 20
32214
32193
  }, props), jsx("path", {
32215
32194
  d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
@@ -32243,7 +32222,7 @@ var DropdownIndicator = function DropdownIndicator(props) {
32243
32222
  cx = props.cx,
32244
32223
  getStyles = props.getStyles,
32245
32224
  innerProps = props.innerProps;
32246
- return jsx("div", _extends$5({
32225
+ return jsx("div", _extends$4({
32247
32226
  css: getStyles('dropdownIndicator', props),
32248
32227
  className: cx({
32249
32228
  indicator: true,
@@ -32258,7 +32237,7 @@ var ClearIndicator = function ClearIndicator(props) {
32258
32237
  cx = props.cx,
32259
32238
  getStyles = props.getStyles,
32260
32239
  innerProps = props.innerProps;
32261
- return jsx("div", _extends$5({
32240
+ return jsx("div", _extends$4({
32262
32241
  css: getStyles('clearIndicator', props),
32263
32242
  className: cx({
32264
32243
  indicator: true,
@@ -32290,7 +32269,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
32290
32269
  cx = props.cx,
32291
32270
  getStyles = props.getStyles,
32292
32271
  innerProps = props.innerProps;
32293
- return jsx("span", _extends$5({}, innerProps, {
32272
+ return jsx("span", _extends$4({}, innerProps, {
32294
32273
  css: getStyles('indicatorSeparator', props),
32295
32274
  className: cx({
32296
32275
  'indicator-separator': true
@@ -32345,7 +32324,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
32345
32324
  getStyles = props.getStyles,
32346
32325
  innerProps = props.innerProps,
32347
32326
  isRtl = props.isRtl;
32348
- return jsx("div", _extends$5({
32327
+ return jsx("div", _extends$4({
32349
32328
  css: getStyles('loadingIndicator', props),
32350
32329
  className: cx({
32351
32330
  indicator: true,
@@ -32405,7 +32384,7 @@ var Control = function Control(props) {
32405
32384
  innerRef = props.innerRef,
32406
32385
  innerProps = props.innerProps,
32407
32386
  menuIsOpen = props.menuIsOpen;
32408
- return jsx("div", _extends$5({
32387
+ return jsx("div", _extends$4({
32409
32388
  ref: innerRef,
32410
32389
  css: getStyles('control', props),
32411
32390
  className: cx({
@@ -32436,12 +32415,12 @@ var Group = function Group(props) {
32436
32415
  label = props.label,
32437
32416
  theme = props.theme,
32438
32417
  selectProps = props.selectProps;
32439
- return jsx("div", _extends$5({
32418
+ return jsx("div", _extends$4({
32440
32419
  css: getStyles('group', props),
32441
32420
  className: cx({
32442
32421
  group: true
32443
32422
  }, className)
32444
- }, innerProps), jsx(Heading, _extends$5({}, headingProps, {
32423
+ }, innerProps), jsx(Heading, _extends$4({}, headingProps, {
32445
32424
  selectProps: selectProps,
32446
32425
  theme: theme,
32447
32426
  getStyles: getStyles,
@@ -32470,7 +32449,7 @@ var GroupHeading = function GroupHeading(props) {
32470
32449
  var _cleanCommonProps = cleanCommonProps(props);
32471
32450
  _cleanCommonProps.data;
32472
32451
  var innerProps = _objectWithoutProperties$2(_cleanCommonProps, _excluded$1$1);
32473
- return jsx("div", _extends$5({
32452
+ return jsx("div", _extends$4({
32474
32453
  css: getStyles('groupHeading', props),
32475
32454
  className: cx({
32476
32455
  'group-heading': true
@@ -32542,7 +32521,7 @@ var Input = function Input(props) {
32542
32521
  }, className),
32543
32522
  css: getStyles('input', props),
32544
32523
  "data-value": value || ''
32545
- }, jsx("input", _extends$5({
32524
+ }, jsx("input", _extends$4({
32546
32525
  className: cx({
32547
32526
  input: true
32548
32527
  }, inputClassName),
@@ -32612,7 +32591,7 @@ var MultiValueLabel = MultiValueGeneric;
32612
32591
  function MultiValueRemove$1(_ref5) {
32613
32592
  var children = _ref5.children,
32614
32593
  innerProps = _ref5.innerProps;
32615
- return jsx("div", _extends$5({
32594
+ return jsx("div", _extends$4({
32616
32595
  role: "button"
32617
32596
  }, innerProps), children || jsx(CrossIcon, {
32618
32597
  size: 14
@@ -32699,7 +32678,7 @@ var Option = function Option(props) {
32699
32678
  isSelected = props.isSelected,
32700
32679
  innerRef = props.innerRef,
32701
32680
  innerProps = props.innerProps;
32702
- return jsx("div", _extends$5({
32681
+ return jsx("div", _extends$4({
32703
32682
  css: getStyles('option', props),
32704
32683
  className: cx({
32705
32684
  option: true,
@@ -32730,7 +32709,7 @@ var Placeholder = function Placeholder(props) {
32730
32709
  cx = props.cx,
32731
32710
  getStyles = props.getStyles,
32732
32711
  innerProps = props.innerProps;
32733
- return jsx("div", _extends$5({
32712
+ return jsx("div", _extends$4({
32734
32713
  css: getStyles('placeholder', props),
32735
32714
  className: cx({
32736
32715
  placeholder: true
@@ -32762,7 +32741,7 @@ var SingleValue = function SingleValue(props) {
32762
32741
  getStyles = props.getStyles,
32763
32742
  isDisabled = props.isDisabled,
32764
32743
  innerProps = props.innerProps;
32765
- return jsx("div", _extends$5({
32744
+ return jsx("div", _extends$4({
32766
32745
  css: getStyles('singleValue', props),
32767
32746
  className: cx({
32768
32747
  'single-value': true,
@@ -32858,7 +32837,7 @@ var _ref = {
32858
32837
  styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"
32859
32838
  } ;
32860
32839
  var A11yText = function A11yText(props) {
32861
- return jsx("span", _extends$5({
32840
+ return jsx("span", _extends$4({
32862
32841
  css: _ref
32863
32842
  }, props));
32864
32843
  };
@@ -33364,7 +33343,7 @@ function DummyInput(_ref) {
33364
33343
  props = _objectWithoutProperties$2(_ref, _excluded$f);
33365
33344
  // Remove animation props not meant for HTML elements
33366
33345
  var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
33367
- return jsx("input", _extends$5({
33346
+ return jsx("input", _extends$4({
33368
33347
  ref: innerRef
33369
33348
  }, filteredProps, {
33370
33349
  css: /*#__PURE__*/css$2({
@@ -33521,7 +33500,7 @@ function preventInertiaScroll() {
33521
33500
  function isTouchDevice() {
33522
33501
  return 'ontouchstart' in window || navigator.maxTouchPoints;
33523
33502
  }
33524
- var canUseDOM$2 = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
33503
+ var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
33525
33504
  var activeScrollLocks = 0;
33526
33505
  var listenerOptions = {
33527
33506
  capture: false,
@@ -33534,7 +33513,7 @@ function useScrollLock(_ref) {
33534
33513
  var originalStyles = React.useRef({});
33535
33514
  var scrollTarget = React.useRef(null);
33536
33515
  var addScrollLock = React.useCallback(function (touchScrollTarget) {
33537
- if (!canUseDOM$2) return;
33516
+ if (!canUseDOM) return;
33538
33517
  var target = document.body;
33539
33518
  var targetStyle = target && target.style;
33540
33519
  if (accountForScrollbars) {
@@ -33577,7 +33556,7 @@ function useScrollLock(_ref) {
33577
33556
  activeScrollLocks += 1;
33578
33557
  }, [accountForScrollbars]);
33579
33558
  var removeScrollLock = React.useCallback(function (touchScrollTarget) {
33580
- if (!canUseDOM$2) return;
33559
+ if (!canUseDOM) return;
33581
33560
  var target = document.body;
33582
33561
  var targetStyle = target && target.style;
33583
33562
 
@@ -34847,7 +34826,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34847
34826
  });
34848
34827
  if (!isSearchable) {
34849
34828
  // use a dummy input to maintain focus/blur functionality
34850
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$5({
34829
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$4({
34851
34830
  id: id,
34852
34831
  innerRef: this.getInputRef,
34853
34832
  onBlur: this.onInputBlur,
@@ -34860,7 +34839,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34860
34839
  value: ""
34861
34840
  }, ariaAttributes));
34862
34841
  }
34863
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$5({}, commonProps, {
34842
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$4({}, commonProps, {
34864
34843
  autoCapitalize: "none",
34865
34844
  autoComplete: "off",
34866
34845
  autoCorrect: "off",
@@ -34901,7 +34880,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34901
34880
  focusedValue = _this$state5.focusedValue,
34902
34881
  isFocused = _this$state5.isFocused;
34903
34882
  if (!this.hasValue() || !controlShouldRenderValue) {
34904
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$5({}, commonProps, {
34883
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$4({}, commonProps, {
34905
34884
  key: "placeholder",
34906
34885
  isDisabled: isDisabled,
34907
34886
  isFocused: isFocused,
@@ -34914,7 +34893,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34914
34893
  return selectValue.map(function (opt, index) {
34915
34894
  var isOptionFocused = opt === focusedValue;
34916
34895
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
34917
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$5({}, commonProps, {
34896
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$4({}, commonProps, {
34918
34897
  components: {
34919
34898
  Container: MultiValueContainer,
34920
34899
  Label: MultiValueLabel,
@@ -34943,7 +34922,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34943
34922
  return null;
34944
34923
  }
34945
34924
  var singleValue = selectValue[0];
34946
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$5({}, commonProps, {
34925
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$4({}, commonProps, {
34947
34926
  data: singleValue,
34948
34927
  isDisabled: isDisabled
34949
34928
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -34966,7 +34945,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34966
34945
  onTouchEnd: this.onClearIndicatorTouchEnd,
34967
34946
  'aria-hidden': 'true'
34968
34947
  };
34969
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$5({}, commonProps, {
34948
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$4({}, commonProps, {
34970
34949
  innerProps: innerProps,
34971
34950
  isFocused: isFocused
34972
34951
  }));
@@ -34985,7 +34964,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
34985
34964
  var innerProps = {
34986
34965
  'aria-hidden': 'true'
34987
34966
  };
34988
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$5({}, commonProps, {
34967
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$4({}, commonProps, {
34989
34968
  innerProps: innerProps,
34990
34969
  isDisabled: isDisabled,
34991
34970
  isFocused: isFocused
@@ -35003,7 +34982,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35003
34982
  var commonProps = this.commonProps;
35004
34983
  var isDisabled = this.props.isDisabled;
35005
34984
  var isFocused = this.state.isFocused;
35006
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$5({}, commonProps, {
34985
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$4({}, commonProps, {
35007
34986
  isDisabled: isDisabled,
35008
34987
  isFocused: isFocused
35009
34988
  }));
@@ -35022,7 +35001,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35022
35001
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
35023
35002
  'aria-hidden': 'true'
35024
35003
  };
35025
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$5({}, commonProps, {
35004
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$4({}, commonProps, {
35026
35005
  innerProps: innerProps,
35027
35006
  isDisabled: isDisabled,
35028
35007
  isFocused: isFocused
@@ -35084,7 +35063,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35084
35063
  onMouseOver: onHover,
35085
35064
  tabIndex: -1
35086
35065
  };
35087
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$5({}, commonProps, {
35066
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$4({}, commonProps, {
35088
35067
  innerProps: innerProps,
35089
35068
  data: data,
35090
35069
  isDisabled: isDisabled,
@@ -35106,7 +35085,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35106
35085
  groupIndex = item.index;
35107
35086
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
35108
35087
  var headingId = "".concat(groupId, "-heading");
35109
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$5({}, commonProps, {
35088
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$4({}, commonProps, {
35110
35089
  key: groupId,
35111
35090
  data: _data,
35112
35091
  options: options,
@@ -35143,12 +35122,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35143
35122
  menuPosition: menuPosition,
35144
35123
  menuShouldScrollIntoView: menuShouldScrollIntoView
35145
35124
  };
35146
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$5({}, commonProps, menuPlacementProps), function (_ref4) {
35125
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$4({}, commonProps, menuPlacementProps), function (_ref4) {
35147
35126
  var ref = _ref4.ref,
35148
35127
  _ref4$placerProps = _ref4.placerProps,
35149
35128
  placement = _ref4$placerProps.placement,
35150
35129
  maxHeight = _ref4$placerProps.maxHeight;
35151
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$5({}, commonProps, menuPlacementProps, {
35130
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$4({}, commonProps, menuPlacementProps, {
35152
35131
  innerRef: ref,
35153
35132
  innerProps: {
35154
35133
  onMouseDown: _this4.onMenuMouseDown,
@@ -35163,7 +35142,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35163
35142
  onBottomArrive: onMenuScrollToBottom,
35164
35143
  lockEnabled: menuShouldBlockScroll
35165
35144
  }, function (scrollTargetRef) {
35166
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$5({}, commonProps, {
35145
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$4({}, commonProps, {
35167
35146
  innerRef: function innerRef(instance) {
35168
35147
  _this4.getMenuListRef(instance);
35169
35148
  scrollTargetRef(instance);
@@ -35178,7 +35157,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35178
35157
  // positioning behaviour is almost identical for portalled and fixed,
35179
35158
  // so we use the same component. the actual portalling logic is forked
35180
35159
  // within the component based on `menuPosition`
35181
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$5({}, commonProps, {
35160
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$4({}, commonProps, {
35182
35161
  appendTo: menuPortalTarget,
35183
35162
  controlElement: this.controlRef,
35184
35163
  menuPlacement: menuPlacement,
@@ -35248,7 +35227,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35248
35227
  isFocused = _this$state6.isFocused,
35249
35228
  selectValue = _this$state6.selectValue;
35250
35229
  var focusableOptions = this.getFocusableOptions();
35251
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$5({}, commonProps, {
35230
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$4({}, commonProps, {
35252
35231
  id: this.getElementId('live-region'),
35253
35232
  ariaSelection: ariaSelection,
35254
35233
  focusedOption: focusedOption,
@@ -35273,7 +35252,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35273
35252
  menuIsOpen = _this$props14.menuIsOpen;
35274
35253
  var isFocused = this.state.isFocused;
35275
35254
  var commonProps = this.commonProps = this.getCommonProps();
35276
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$5({}, commonProps, {
35255
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$4({}, commonProps, {
35277
35256
  className: className,
35278
35257
  innerProps: {
35279
35258
  id: id,
@@ -35281,7 +35260,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35281
35260
  },
35282
35261
  isDisabled: isDisabled,
35283
35262
  isFocused: isFocused
35284
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$5({}, commonProps, {
35263
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$4({}, commonProps, {
35285
35264
  innerRef: this.getControlRef,
35286
35265
  innerProps: {
35287
35266
  onMouseDown: this.onControlMouseDown,
@@ -35290,9 +35269,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
35290
35269
  isDisabled: isDisabled,
35291
35270
  isFocused: isFocused,
35292
35271
  menuIsOpen: menuIsOpen
35293
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$5({}, commonProps, {
35272
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$4({}, commonProps, {
35294
35273
  isDisabled: isDisabled
35295
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$5({}, commonProps, {
35274
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$4({}, commonProps, {
35296
35275
  isDisabled: isDisabled
35297
35276
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
35298
35277
  }
@@ -35515,14 +35494,14 @@ function useCreatable(_ref) {
35515
35494
  var CreatableSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
35516
35495
  var creatableProps = useStateManager(props);
35517
35496
  var selectProps = useCreatable(creatableProps);
35518
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$5({
35497
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$4({
35519
35498
  ref: ref
35520
35499
  }, selectProps));
35521
35500
  });
35522
35501
 
35523
35502
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
35524
35503
  var baseSelectProps = useStateManager(props);
35525
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$5({
35504
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$4({
35526
35505
  ref: ref
35527
35506
  }, baseSelectProps));
35528
35507
  });
@@ -35936,7 +35915,7 @@ function useAsync(_ref) {
35936
35915
  var AsyncSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
35937
35916
  var stateManagedProps = useAsync(props);
35938
35917
  var selectProps = useStateManager(stateManagedProps);
35939
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$5({
35918
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$4({
35940
35919
  ref: ref
35941
35920
  }, selectProps));
35942
35921
  });
@@ -35945,7 +35924,7 @@ var AsyncCreatableSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
35945
35924
  var stateManagerProps = useAsync(props);
35946
35925
  var creatableProps = useStateManager(stateManagerProps);
35947
35926
  var selectProps = useCreatable(creatableProps);
35948
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$5({
35927
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$4({
35949
35928
  ref: ref
35950
35929
  }, selectProps));
35951
35930
  });
@@ -36150,7 +36129,7 @@ var SelectField = /*#__PURE__*/React.forwardRef(function (props, ref) {
36150
36129
  SelectField.displayName = "SelectField";
36151
36130
 
36152
36131
  var _excluded$3$2 = ["label", "required", "className", "error", "onChange", "labelProps", "children"];
36153
- var Switch$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
36132
+ var Switch = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
36154
36133
  var _ref$label = _ref.label,
36155
36134
  label = _ref$label === void 0 ? "" : _ref$label,
36156
36135
  _ref$required = _ref.required,
@@ -36206,7 +36185,7 @@ var Switch$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
36206
36185
  id: errorId
36207
36186
  }, error));
36208
36187
  });
36209
- Switch$1.displayName = "Switch";
36188
+ Switch.displayName = "Switch";
36210
36189
 
36211
36190
  var _excluded$1$2 = ["size", "rows", "disabled", "required", "nakedTextarea", "helpText", "error", "label", "className", "maxLength", "unlimitedChars", "labelProps"];
36212
36191
  var SIZES$3 = {
@@ -36678,8 +36657,8 @@ var Bar = function Bar(_ref) {
36678
36657
  }));
36679
36658
  };
36680
36659
 
36681
- function _extends$4() {
36682
- _extends$4 = Object.assign ? Object.assign.bind() : function (target) {
36660
+ function _extends$3() {
36661
+ _extends$3 = Object.assign ? Object.assign.bind() : function (target) {
36683
36662
  for (var i = 1; i < arguments.length; i++) {
36684
36663
  var source = arguments[i];
36685
36664
  for (var key in source) {
@@ -36690,10 +36669,10 @@ function _extends$4() {
36690
36669
  }
36691
36670
  return target;
36692
36671
  };
36693
- return _extends$4.apply(this, arguments);
36672
+ return _extends$3.apply(this, arguments);
36694
36673
  }
36695
36674
 
36696
- function _objectWithoutPropertiesLoose$4(source, excluded) {
36675
+ function _objectWithoutPropertiesLoose$3(source, excluded) {
36697
36676
  if (source == null) return {};
36698
36677
  var target = {};
36699
36678
  var sourceKeys = Object.keys(source);
@@ -36708,7 +36687,7 @@ function _objectWithoutPropertiesLoose$4(source, excluded) {
36708
36687
 
36709
36688
  function _objectWithoutProperties$1(source, excluded) {
36710
36689
  if (source == null) return {};
36711
- var target = _objectWithoutPropertiesLoose$4(source, excluded);
36690
+ var target = _objectWithoutPropertiesLoose$3(source, excluded);
36712
36691
  var key, i;
36713
36692
  if (Object.getOwnPropertySymbols) {
36714
36693
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -36750,8 +36729,8 @@ var Portal = function Portal(_ref) {
36750
36729
  return /*#__PURE__*/ReactDOM$1.createPortal(children, target.current);
36751
36730
  };
36752
36731
 
36753
- function _extends$3() {
36754
- _extends$3 = Object.assign ? Object.assign.bind() : function (target) {
36732
+ function _extends$2() {
36733
+ _extends$2 = Object.assign ? Object.assign.bind() : function (target) {
36755
36734
  for (var i = 1; i < arguments.length; i++) {
36756
36735
  var source = arguments[i];
36757
36736
  for (var key in source) {
@@ -36762,10 +36741,10 @@ function _extends$3() {
36762
36741
  }
36763
36742
  return target;
36764
36743
  };
36765
- return _extends$3.apply(this, arguments);
36744
+ return _extends$2.apply(this, arguments);
36766
36745
  }
36767
36746
 
36768
- function _objectWithoutPropertiesLoose$3(source, excluded) {
36747
+ function _objectWithoutPropertiesLoose$2(source, excluded) {
36769
36748
  if (source == null) return {};
36770
36749
  var target = {};
36771
36750
  var sourceKeys = Object.keys(source);
@@ -36778,23 +36757,23 @@ function _objectWithoutPropertiesLoose$3(source, excluded) {
36778
36757
  return target;
36779
36758
  }
36780
36759
 
36781
- function _setPrototypeOf$3(o, p) {
36782
- _setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
36760
+ function _setPrototypeOf$1(o, p) {
36761
+ _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
36783
36762
  o.__proto__ = p;
36784
36763
  return o;
36785
36764
  };
36786
- return _setPrototypeOf$3(o, p);
36765
+ return _setPrototypeOf$1(o, p);
36787
36766
  }
36788
36767
 
36789
- function _inheritsLoose$3(subClass, superClass) {
36768
+ function _inheritsLoose$1(subClass, superClass) {
36790
36769
  subClass.prototype = Object.create(superClass.prototype);
36791
36770
  subClass.prototype.constructor = subClass;
36792
- _setPrototypeOf$3(subClass, superClass);
36771
+ _setPrototypeOf$1(subClass, superClass);
36793
36772
  }
36794
36773
 
36795
36774
  var propTypes$1 = {exports: {}};
36796
36775
 
36797
- var reactIs$2 = {exports: {}};
36776
+ var reactIs$1 = {exports: {}};
36798
36777
 
36799
36778
  var reactIs_production_min$1 = {};
36800
36779
 
@@ -37013,7 +36992,7 @@ function requireReactIs_development$1 () {
37013
36992
  var hasRequiredReactIs$1;
37014
36993
 
37015
36994
  function requireReactIs$1 () {
37016
- if (hasRequiredReactIs$1) return reactIs$2.exports;
36995
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
37017
36996
  hasRequiredReactIs$1 = 1;
37018
36997
  (function (module) {
37019
36998
 
@@ -37022,8 +37001,8 @@ function requireReactIs$1 () {
37022
37001
  } else {
37023
37002
  module.exports = requireReactIs_development$1();
37024
37003
  }
37025
- } (reactIs$2));
37026
- return reactIs$2.exports;
37004
+ } (reactIs$1));
37005
+ return reactIs$1.exports;
37027
37006
  }
37028
37007
 
37029
37008
  /*
@@ -38143,7 +38122,7 @@ var EXITING$1 = 'exiting';
38143
38122
  */
38144
38123
 
38145
38124
  var Transition$1 = /*#__PURE__*/function (_React$Component) {
38146
- _inheritsLoose$3(Transition, _React$Component);
38125
+ _inheritsLoose$1(Transition, _React$Component);
38147
38126
 
38148
38127
  function Transition(props, context) {
38149
38128
  var _this;
@@ -38436,7 +38415,7 @@ var Transition$1 = /*#__PURE__*/function (_React$Component) {
38436
38415
  _this$props.onExiting;
38437
38416
  _this$props.onExited;
38438
38417
  _this$props.nodeRef;
38439
- var childProps = _objectWithoutPropertiesLoose$3(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
38418
+ var childProps = _objectWithoutPropertiesLoose$2(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
38440
38419
 
38441
38420
  return (
38442
38421
  /*#__PURE__*/
@@ -38639,7 +38618,7 @@ Transition$1.propTypes = process.env.NODE_ENV !== "production" ? {
38639
38618
  onExited: propTypes$1.exports.func
38640
38619
  } : {}; // Name the function so it is clearer in the documentation
38641
38620
 
38642
- function noop$2() {}
38621
+ function noop$1() {}
38643
38622
 
38644
38623
  Transition$1.defaultProps = {
38645
38624
  in: false,
@@ -38648,12 +38627,12 @@ Transition$1.defaultProps = {
38648
38627
  appear: false,
38649
38628
  enter: true,
38650
38629
  exit: true,
38651
- onEnter: noop$2,
38652
- onEntering: noop$2,
38653
- onEntered: noop$2,
38654
- onExit: noop$2,
38655
- onExiting: noop$2,
38656
- onExited: noop$2
38630
+ onEnter: noop$1,
38631
+ onEntering: noop$1,
38632
+ onEntered: noop$1,
38633
+ onExit: noop$1,
38634
+ onExiting: noop$1,
38635
+ onExited: noop$1
38657
38636
  };
38658
38637
  Transition$1.UNMOUNTED = UNMOUNTED$1;
38659
38638
  Transition$1.EXITED = EXITED$1;
@@ -38745,7 +38724,7 @@ var removeClass$2 = function removeClass(node, classes) {
38745
38724
 
38746
38725
 
38747
38726
  var CSSTransition$1 = /*#__PURE__*/function (_React$Component) {
38748
- _inheritsLoose$3(CSSTransition, _React$Component);
38727
+ _inheritsLoose$1(CSSTransition, _React$Component);
38749
38728
 
38750
38729
  function CSSTransition() {
38751
38730
  var _this;
@@ -38914,9 +38893,9 @@ var CSSTransition$1 = /*#__PURE__*/function (_React$Component) {
38914
38893
  _proto.render = function render() {
38915
38894
  var _this$props = this.props;
38916
38895
  _this$props.classNames;
38917
- var props = _objectWithoutPropertiesLoose$3(_this$props, ["classNames"]);
38896
+ var props = _objectWithoutPropertiesLoose$2(_this$props, ["classNames"]);
38918
38897
 
38919
- return /*#__PURE__*/React__default["default"].createElement(Transition$2, _extends$3({}, props, {
38898
+ return /*#__PURE__*/React__default["default"].createElement(Transition$2, _extends$2({}, props, {
38920
38899
  onEnter: this.onEnter,
38921
38900
  onEntered: this.onEntered,
38922
38901
  onEntering: this.onEntering,
@@ -38932,7 +38911,7 @@ var CSSTransition$1 = /*#__PURE__*/function (_React$Component) {
38932
38911
  CSSTransition$1.defaultProps = {
38933
38912
  classNames: ''
38934
38913
  };
38935
- CSSTransition$1.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({}, Transition$2.propTypes, {
38914
+ CSSTransition$1.propTypes = process.env.NODE_ENV !== "production" ? _extends$2({}, Transition$2.propTypes, {
38936
38915
  /**
38937
38916
  * The animation classNames applied to the component as it appears, enters,
38938
38917
  * exits or has finished the transition. A single name can be provided, which
@@ -39124,7 +39103,7 @@ var Slider = function Slider(_ref) {
39124
39103
  timeout: 300
39125
39104
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39126
39105
  className: "neeto-filters-slider__pane"
39127
- }, /*#__PURE__*/React__default["default"].createElement("div", _extends$4({
39106
+ }, /*#__PURE__*/React__default["default"].createElement("div", _extends$3({
39128
39107
  className: classnames__default["default"]("neeto-filters-slider__wrapper", _defineProperty$6({
39129
39108
  "neeto-filters-slider__wrapper--xsmall": size === SIZES.xsmall,
39130
39109
  "neeto-filters-slider__wrapper--small": size === SIZES.small,
@@ -39299,7 +39278,7 @@ var Boolean$1 = function Boolean(_ref) {
39299
39278
  });
39300
39279
  handleApplyFilter(updatedFilter);
39301
39280
  };
39302
- return /*#__PURE__*/React__default["default"].createElement(neetoui.Select, _extends$4({
39281
+ return /*#__PURE__*/React__default["default"].createElement(neetoui.Select, _extends$3({
39303
39282
  isClearable: true,
39304
39283
  autoFocus: autoFocus,
39305
39284
  "data-cy": "neeto-filters-".concat(key, "-filter"),
@@ -39375,7 +39354,7 @@ var Datetime = function Datetime(_ref) {
39375
39354
  resource: label.toLocaleLowerCase()
39376
39355
  }),
39377
39356
  onChange: handleChange
39378
- }), isCustomDateRangeShown && /*#__PURE__*/React__default["default"].createElement(neetoui.DatePicker, _extends$4({
39357
+ }), isCustomDateRangeShown && /*#__PURE__*/React__default["default"].createElement(neetoui.DatePicker, _extends$3({
39379
39358
  "data-cy": "neeto-filters-".concat(key, "-date-range"),
39380
39359
  type: "range",
39381
39360
  value: filter.value,
@@ -39424,7 +39403,7 @@ var Dropdown = function Dropdown(_ref) {
39424
39403
  });
39425
39404
  handleApplyFilter(updatedFilter);
39426
39405
  };
39427
- return /*#__PURE__*/React__default["default"].createElement(neetoui.Select, _extends$4({
39406
+ return /*#__PURE__*/React__default["default"].createElement(neetoui.Select, _extends$3({
39428
39407
  autoFocus: autoFocus,
39429
39408
  "data-cy": "neeto-filters-".concat(key, "-filter"),
39430
39409
  isClearable: !defaultValue && isClearable,
@@ -39517,7 +39496,7 @@ var SingleDatetime = function SingleDatetime(_ref) {
39517
39496
  strategy: "fixed",
39518
39497
  value: selectedRule,
39519
39498
  onChange: handleRuleChange
39520
- }), /*#__PURE__*/React__default["default"].createElement(neetoui.DatePicker, _extends$4({
39499
+ }), /*#__PURE__*/React__default["default"].createElement(neetoui.DatePicker, _extends$3({
39521
39500
  autoFocus: autoFocus,
39522
39501
  "data-cy": "neeto-filters-".concat(key, "-filter"),
39523
39502
  type: datePickerType,
@@ -39596,7 +39575,7 @@ var SingleTime = function SingleTime(_ref) {
39596
39575
  strategy: "fixed",
39597
39576
  value: selectedRule,
39598
39577
  onChange: handleRuleChange
39599
- }), /*#__PURE__*/React__default["default"].createElement(neetoui.TimePicker, _extends$4({
39578
+ }), /*#__PURE__*/React__default["default"].createElement(neetoui.TimePicker, _extends$3({
39600
39579
  use12Hours: true,
39601
39580
  autoFocus: autoFocus,
39602
39581
  className: "w-full",
@@ -39689,7 +39668,7 @@ var Text = function Text(_ref) {
39689
39668
  strategy: "fixed",
39690
39669
  value: selectedRule,
39691
39670
  onChange: handleRuleChange
39692
- }), /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends$4({
39671
+ }), /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends$3({
39693
39672
  autoFocus: autoFocus,
39694
39673
  "data-cy": "neeto-filters-".concat(key, "-filter"),
39695
39674
  label: !showRuleSelector && label,
@@ -39758,7 +39737,7 @@ var Time = function Time(_ref) {
39758
39737
  resource: label.toLocaleLowerCase()
39759
39738
  }),
39760
39739
  onChange: handleChange
39761
- }), isCustomTimeRangeShown && /*#__PURE__*/React__default["default"].createElement(neetoui.TimePicker, _extends$4({
39740
+ }), isCustomTimeRangeShown && /*#__PURE__*/React__default["default"].createElement(neetoui.TimePicker, _extends$3({
39762
39741
  use12Hours: true,
39763
39742
  "data-cy": "neeto-filters-".concat(key, "-date-range"),
39764
39743
  format: "h:mm A",
@@ -39929,7 +39908,7 @@ var Pane = function Pane(_ref) {
39929
39908
  });
39930
39909
  return /*#__PURE__*/React__default["default"].createElement(Portal, {
39931
39910
  rootId: "neeto-filters-portal"
39932
- }, /*#__PURE__*/React__default["default"].createElement(Slider, _extends$4({
39911
+ }, /*#__PURE__*/React__default["default"].createElement(Slider, _extends$3({
39933
39912
  isOpen: isOpen,
39934
39913
  size: size,
39935
39914
  onClose: handleClose
@@ -40037,14 +40016,14 @@ var Filters = function Filters(_ref) {
40037
40016
  t = _useTranslation.t;
40038
40017
  return /*#__PURE__*/React__default["default"].createElement("span", {
40039
40018
  className: classnames__default["default"](_defineProperty$6({}, className, className))
40040
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$4({
40019
+ }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$3({
40041
40020
  "data-cy": "neeto-filters-toggle-btn",
40042
40021
  label: t("common.filter"),
40043
40022
  style: "secondary",
40044
40023
  onClick: function onClick() {
40045
40024
  return setIsOpen(true);
40046
40025
  }
40047
- }, buttonProps)), /*#__PURE__*/React__default["default"].createElement(Pane, _extends$4({
40026
+ }, buttonProps)), /*#__PURE__*/React__default["default"].createElement(Pane, _extends$3({
40048
40027
  childrenKeys: childrenKeys,
40049
40028
  columns: columns,
40050
40029
  isOpen: isOpen,
@@ -40194,8 +40173,8 @@ var classnames$1 = {exports: {}};
40194
40173
 
40195
40174
  var classnames = classnames$1.exports;
40196
40175
 
40197
- function _extends$1$1() {
40198
- _extends$1$1 = Object.assign ? Object.assign.bind() : function (target) {
40176
+ function _extends$1() {
40177
+ _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
40199
40178
  for (var i = 1; i < arguments.length; i++) {
40200
40179
  var source = arguments[i];
40201
40180
  for (var key in source) {
@@ -40206,10 +40185,10 @@ function _extends$1$1() {
40206
40185
  }
40207
40186
  return target;
40208
40187
  };
40209
- return _extends$1$1.apply(this, arguments);
40188
+ return _extends$1.apply(this, arguments);
40210
40189
  }
40211
40190
 
40212
- function _objectWithoutPropertiesLoose$2(source, excluded) {
40191
+ function _objectWithoutPropertiesLoose(source, excluded) {
40213
40192
  if (source == null) return {};
40214
40193
  var target = {};
40215
40194
  var sourceKeys = Object.keys(source);
@@ -40222,23 +40201,23 @@ function _objectWithoutPropertiesLoose$2(source, excluded) {
40222
40201
  return target;
40223
40202
  }
40224
40203
 
40225
- function _setPrototypeOf$2(o, p) {
40226
- _setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
40204
+ function _setPrototypeOf(o, p) {
40205
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
40227
40206
  o.__proto__ = p;
40228
40207
  return o;
40229
40208
  };
40230
- return _setPrototypeOf$2(o, p);
40209
+ return _setPrototypeOf(o, p);
40231
40210
  }
40232
40211
 
40233
- function _inheritsLoose$2(subClass, superClass) {
40212
+ function _inheritsLoose(subClass, superClass) {
40234
40213
  subClass.prototype = Object.create(superClass.prototype);
40235
40214
  subClass.prototype.constructor = subClass;
40236
- _setPrototypeOf$2(subClass, superClass);
40215
+ _setPrototypeOf(subClass, superClass);
40237
40216
  }
40238
40217
 
40239
40218
  var propTypes = {exports: {}};
40240
40219
 
40241
- var reactIs$1 = {exports: {}};
40220
+ var reactIs = {exports: {}};
40242
40221
 
40243
40222
  var reactIs_production_min = {};
40244
40223
 
@@ -40457,7 +40436,7 @@ function requireReactIs_development () {
40457
40436
  var hasRequiredReactIs;
40458
40437
 
40459
40438
  function requireReactIs () {
40460
- if (hasRequiredReactIs) return reactIs$1.exports;
40439
+ if (hasRequiredReactIs) return reactIs.exports;
40461
40440
  hasRequiredReactIs = 1;
40462
40441
  (function (module) {
40463
40442
 
@@ -40466,8 +40445,8 @@ function requireReactIs () {
40466
40445
  } else {
40467
40446
  module.exports = requireReactIs_development();
40468
40447
  }
40469
- } (reactIs$1));
40470
- return reactIs$1.exports;
40448
+ } (reactIs));
40449
+ return reactIs.exports;
40471
40450
  }
40472
40451
 
40473
40452
  /*
@@ -69273,7 +69252,7 @@ var EXITING = 'exiting';
69273
69252
  */
69274
69253
 
69275
69254
  var Transition = /*#__PURE__*/function (_React$Component) {
69276
- _inheritsLoose$2(Transition, _React$Component);
69255
+ _inheritsLoose(Transition, _React$Component);
69277
69256
 
69278
69257
  function Transition(props, context) {
69279
69258
  var _this;
@@ -69566,7 +69545,7 @@ var Transition = /*#__PURE__*/function (_React$Component) {
69566
69545
  _this$props.onExiting;
69567
69546
  _this$props.onExited;
69568
69547
  _this$props.nodeRef;
69569
- var childProps = _objectWithoutPropertiesLoose$2(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
69548
+ var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
69570
69549
 
69571
69550
  return (
69572
69551
  /*#__PURE__*/
@@ -69769,7 +69748,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
69769
69748
  onExited: propTypes.exports.func
69770
69749
  } : {}; // Name the function so it is clearer in the documentation
69771
69750
 
69772
- function noop$1() {}
69751
+ function noop() {}
69773
69752
 
69774
69753
  Transition.defaultProps = {
69775
69754
  in: false,
@@ -69778,12 +69757,12 @@ Transition.defaultProps = {
69778
69757
  appear: false,
69779
69758
  enter: true,
69780
69759
  exit: true,
69781
- onEnter: noop$1,
69782
- onEntering: noop$1,
69783
- onEntered: noop$1,
69784
- onExit: noop$1,
69785
- onExiting: noop$1,
69786
- onExited: noop$1
69760
+ onEnter: noop,
69761
+ onEntering: noop,
69762
+ onEntered: noop,
69763
+ onExit: noop,
69764
+ onExiting: noop,
69765
+ onExited: noop
69787
69766
  };
69788
69767
  Transition.UNMOUNTED = UNMOUNTED;
69789
69768
  Transition.EXITED = EXITED;
@@ -69874,7 +69853,7 @@ var removeClass = function removeClass(node, classes) {
69874
69853
 
69875
69854
 
69876
69855
  var CSSTransition = /*#__PURE__*/function (_React$Component) {
69877
- _inheritsLoose$2(CSSTransition, _React$Component);
69856
+ _inheritsLoose(CSSTransition, _React$Component);
69878
69857
 
69879
69858
  function CSSTransition() {
69880
69859
  var _this;
@@ -70043,9 +70022,9 @@ var CSSTransition = /*#__PURE__*/function (_React$Component) {
70043
70022
  _proto.render = function render() {
70044
70023
  var _this$props = this.props;
70045
70024
  _this$props.classNames;
70046
- var props = _objectWithoutPropertiesLoose$2(_this$props, ["classNames"]);
70025
+ var props = _objectWithoutPropertiesLoose(_this$props, ["classNames"]);
70047
70026
 
70048
- return /*#__PURE__*/React__default["default"].createElement(Transition, _extends$1$1({}, props, {
70027
+ return /*#__PURE__*/React__default["default"].createElement(Transition, _extends$1({}, props, {
70049
70028
  onEnter: this.onEnter,
70050
70029
  onEntered: this.onEntered,
70051
70030
  onEntering: this.onEntering,
@@ -70061,7 +70040,7 @@ var CSSTransition = /*#__PURE__*/function (_React$Component) {
70061
70040
  CSSTransition.defaultProps = {
70062
70041
  classNames: ''
70063
70042
  };
70064
- CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1$1({}, Transition.propTypes, {
70043
+ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({}, Transition.propTypes, {
70065
70044
  /**
70066
70045
  * The animation classNames applied to the component as it appears, enters,
70067
70046
  * exits or has finished the transition. A single name can be provided, which
@@ -70367,7 +70346,7 @@ var defaultProps = {
70367
70346
  */
70368
70347
 
70369
70348
  var TransitionGroup = /*#__PURE__*/function (_React$Component) {
70370
- _inheritsLoose$2(TransitionGroup, _React$Component);
70349
+ _inheritsLoose(TransitionGroup, _React$Component);
70371
70350
 
70372
70351
  function TransitionGroup(props, context) {
70373
70352
  var _this;
@@ -70423,7 +70402,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
70423
70402
 
70424
70403
  if (this.mounted) {
70425
70404
  this.setState(function (state) {
70426
- var children = _extends$1$1({}, state.children);
70405
+ var children = _extends$1({}, state.children);
70427
70406
 
70428
70407
  delete children[child.key];
70429
70408
  return {
@@ -70437,7 +70416,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
70437
70416
  var _this$props = this.props,
70438
70417
  Component = _this$props.component,
70439
70418
  childFactory = _this$props.childFactory,
70440
- props = _objectWithoutPropertiesLoose$2(_this$props, ["component", "childFactory"]);
70419
+ props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
70441
70420
 
70442
70421
  var contextValue = this.state.contextValue;
70443
70422
  var children = values(this.state.children).map(childFactory);
@@ -70532,7 +70511,7 @@ TransitionGroup.defaultProps = defaultProps;
70532
70511
  */
70533
70512
 
70534
70513
  var ReplaceTransition = /*#__PURE__*/function (_React$Component) {
70535
- _inheritsLoose$2(ReplaceTransition, _React$Component);
70514
+ _inheritsLoose(ReplaceTransition, _React$Component);
70536
70515
 
70537
70516
  function ReplaceTransition() {
70538
70517
  var _this;
@@ -70613,7 +70592,7 @@ var ReplaceTransition = /*#__PURE__*/function (_React$Component) {
70613
70592
  var _this$props = this.props,
70614
70593
  children = _this$props.children,
70615
70594
  inProp = _this$props.in,
70616
- props = _objectWithoutPropertiesLoose$2(_this$props, ["children", "in"]);
70595
+ props = _objectWithoutPropertiesLoose(_this$props, ["children", "in"]);
70617
70596
 
70618
70597
  var _React$Children$toArr = React__default["default"].Children.toArray(children),
70619
70598
  first = _React$Children$toArr[0],
@@ -70780,7 +70759,7 @@ var enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_re
70780
70759
  */
70781
70760
 
70782
70761
  var SwitchTransition = /*#__PURE__*/function (_React$Component) {
70783
- _inheritsLoose$2(SwitchTransition, _React$Component);
70762
+ _inheritsLoose(SwitchTransition, _React$Component);
70784
70763
 
70785
70764
  function SwitchTransition() {
70786
70765
  var _this;
@@ -70899,8 +70878,8 @@ SwitchTransition.defaultProps = {
70899
70878
  mode: modes.out
70900
70879
  };
70901
70880
 
70902
- function _extends$2() {
70903
- _extends$2 = Object.assign ? Object.assign.bind() : function (target) {
70881
+ function _extends() {
70882
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
70904
70883
  for (var i = 1; i < arguments.length; i++) {
70905
70884
  var source = arguments[i];
70906
70885
  for (var key in source) {
@@ -70911,7 +70890,7 @@ function _extends$2() {
70911
70890
  }
70912
70891
  return target;
70913
70892
  };
70914
- return _extends$2.apply(this, arguments);
70893
+ return _extends.apply(this, arguments);
70915
70894
  }
70916
70895
 
70917
70896
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
@@ -71036,7 +71015,7 @@ var AddNew = function AddNew(_ref) {
71036
71015
  otherProps = _objectWithoutProperties(_ref, _excluded$5);
71037
71016
  cov_ip1v8v12c().f[0]++;
71038
71017
  cov_ip1v8v12c().s[1]++;
71039
- return /*#__PURE__*/React__default["default"].createElement("div", _extends$2({
71018
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
71040
71019
  className: "neeto-molecules-menubar__add-new-wrap"
71041
71020
  }, otherProps), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
71042
71021
  icon: neetoIcons.Plus,
@@ -71646,7 +71625,7 @@ var Block = function Block(_ref) {
71646
71625
  return string.replace(/[\s_]/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/-+/g, "-").toLowerCase();
71647
71626
  };
71648
71627
  cov_wb90gd2wn().s[10]++;
71649
- return /*#__PURE__*/React__default["default"].createElement(Parent, _extends$2({
71628
+ return /*#__PURE__*/React__default["default"].createElement(Parent, _extends({
71650
71629
  "data-cy": (cov_wb90gd2wn().b[6][0]++, otherProps["data-cy"]) || (cov_wb90gd2wn().b[6][1]++, hyphenize(label)) || (cov_wb90gd2wn().b[6][2]++, "nui"),
71651
71630
  to: url,
71652
71631
  className: classnames("neeto-molecules-menubar__block", _defineProperty({
@@ -71869,7 +71848,7 @@ var Item = function Item(_ref) {
71869
71848
  otherProps = _objectWithoutProperties(_ref, _excluded$3);
71870
71849
  cov_yzr6v8k7l().f[0]++;
71871
71850
  cov_yzr6v8k7l().s[1]++;
71872
- return /*#__PURE__*/React__default["default"].createElement("button", _extends$2({
71851
+ return /*#__PURE__*/React__default["default"].createElement("button", _extends({
71873
71852
  className: classnames("neeto-molecules-menubar__item", _defineProperty({
71874
71853
  "neeto-molecules-menubar__item--active": active
71875
71854
  }, className, className))
@@ -72049,7 +72028,7 @@ var Search = function Search(_ref) {
72049
72028
  cov_262f5m07ws().s[2]++;
72050
72029
  return (cov_262f5m07ws().b[1][0]++, !isCollapsed) && (cov_262f5m07ws().b[1][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
72051
72030
  className: "neeto-molecules-menubar__search"
72052
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends$2({
72031
+ }, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends({
72053
72032
  placeholder: t("neetoMolecules.common.actions.search"),
72054
72033
  prefix: /*#__PURE__*/React__default["default"].createElement(neetoIcons.Search, null),
72055
72034
  type: "search"
@@ -72221,7 +72200,7 @@ var SubTitle = function SubTitle(_ref) {
72221
72200
  otherProps = _objectWithoutProperties(_ref, _excluded$1);
72222
72201
  cov_1i7kzu2ga4().f[0]++;
72223
72202
  cov_1i7kzu2ga4().s[1]++;
72224
- return /*#__PURE__*/React__default["default"].createElement("div", _extends$2({
72203
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
72225
72204
  className: "neeto-molecules-menubar__subtitle",
72226
72205
  "data-cy": (cov_1i7kzu2ga4().b[0][0]++, otherProps["data-cy"]) || (cov_1i7kzu2ga4().b[0][1]++, "menubar-subtitle-heading")
72227
72206
  }, otherProps), children, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -72229,7 +72208,7 @@ var SubTitle = function SubTitle(_ref) {
72229
72208
  }, iconProps === null || iconProps === void 0 ? void 0 : iconProps.map(function (iconProp, index) {
72230
72209
  cov_1i7kzu2ga4().f[1]++;
72231
72210
  cov_1i7kzu2ga4().s[2]++;
72232
- return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$2({
72211
+ return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends({
72233
72212
  key: index,
72234
72213
  style: "text"
72235
72214
  }, iconProp));
@@ -72558,2633 +72537,6 @@ MenuBar.Search = Search;
72558
72537
  cov_2lkpa29vdy().s[6]++;
72559
72538
  MenuBar.AddNew = AddNew;
72560
72539
 
72561
- var reactRouterDom_min = {};
72562
-
72563
- function _setPrototypeOf$1(o, p) {
72564
- _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
72565
- o.__proto__ = p;
72566
- return o;
72567
- };
72568
- return _setPrototypeOf$1(o, p);
72569
- }
72570
-
72571
- function _inheritsLoose$1(subClass, superClass) {
72572
- subClass.prototype = Object.create(superClass.prototype);
72573
- subClass.prototype.constructor = subClass;
72574
- _setPrototypeOf$1(subClass, superClass);
72575
- }
72576
-
72577
- function _extends$1() {
72578
- _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
72579
- for (var i = 1; i < arguments.length; i++) {
72580
- var source = arguments[i];
72581
- for (var key in source) {
72582
- if (Object.prototype.hasOwnProperty.call(source, key)) {
72583
- target[key] = source[key];
72584
- }
72585
- }
72586
- }
72587
- return target;
72588
- };
72589
- return _extends$1.apply(this, arguments);
72590
- }
72591
-
72592
- function isAbsolute(pathname) {
72593
- return pathname.charAt(0) === '/';
72594
- }
72595
-
72596
- // About 1.5x faster than the two-arg version of Array#splice()
72597
- function spliceOne(list, index) {
72598
- for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
72599
- list[i] = list[k];
72600
- }
72601
-
72602
- list.pop();
72603
- }
72604
-
72605
- // This implementation is based heavily on node's url.parse
72606
- function resolvePathname(to, from) {
72607
- if (from === undefined) from = '';
72608
-
72609
- var toParts = (to && to.split('/')) || [];
72610
- var fromParts = (from && from.split('/')) || [];
72611
-
72612
- var isToAbs = to && isAbsolute(to);
72613
- var isFromAbs = from && isAbsolute(from);
72614
- var mustEndAbs = isToAbs || isFromAbs;
72615
-
72616
- if (to && isAbsolute(to)) {
72617
- // to is absolute
72618
- fromParts = toParts;
72619
- } else if (toParts.length) {
72620
- // to is relative, drop the filename
72621
- fromParts.pop();
72622
- fromParts = fromParts.concat(toParts);
72623
- }
72624
-
72625
- if (!fromParts.length) return '/';
72626
-
72627
- var hasTrailingSlash;
72628
- if (fromParts.length) {
72629
- var last = fromParts[fromParts.length - 1];
72630
- hasTrailingSlash = last === '.' || last === '..' || last === '';
72631
- } else {
72632
- hasTrailingSlash = false;
72633
- }
72634
-
72635
- var up = 0;
72636
- for (var i = fromParts.length; i >= 0; i--) {
72637
- var part = fromParts[i];
72638
-
72639
- if (part === '.') {
72640
- spliceOne(fromParts, i);
72641
- } else if (part === '..') {
72642
- spliceOne(fromParts, i);
72643
- up++;
72644
- } else if (up) {
72645
- spliceOne(fromParts, i);
72646
- up--;
72647
- }
72648
- }
72649
-
72650
- if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');
72651
-
72652
- if (
72653
- mustEndAbs &&
72654
- fromParts[0] !== '' &&
72655
- (!fromParts[0] || !isAbsolute(fromParts[0]))
72656
- )
72657
- fromParts.unshift('');
72658
-
72659
- var result = fromParts.join('/');
72660
-
72661
- if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';
72662
-
72663
- return result;
72664
- }
72665
-
72666
- function valueOf(obj) {
72667
- return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);
72668
- }
72669
-
72670
- function valueEqual(a, b) {
72671
- // Test for strict equality first.
72672
- if (a === b) return true;
72673
-
72674
- // Otherwise, if either of them == null they are not equal.
72675
- if (a == null || b == null) return false;
72676
-
72677
- if (Array.isArray(a)) {
72678
- return (
72679
- Array.isArray(b) &&
72680
- a.length === b.length &&
72681
- a.every(function(item, index) {
72682
- return valueEqual(item, b[index]);
72683
- })
72684
- );
72685
- }
72686
-
72687
- if (typeof a === 'object' || typeof b === 'object') {
72688
- var aValue = valueOf(a);
72689
- var bValue = valueOf(b);
72690
-
72691
- if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);
72692
-
72693
- return Object.keys(Object.assign({}, a, b)).every(function(key) {
72694
- return valueEqual(a[key], b[key]);
72695
- });
72696
- }
72697
-
72698
- return false;
72699
- }
72700
-
72701
- var isProduction$2 = process.env.NODE_ENV === 'production';
72702
- function warning(condition, message) {
72703
- if (!isProduction$2) {
72704
- if (condition) {
72705
- return;
72706
- }
72707
-
72708
- var text = "Warning: " + message;
72709
-
72710
- if (typeof console !== 'undefined') {
72711
- console.warn(text);
72712
- }
72713
-
72714
- try {
72715
- throw Error(text);
72716
- } catch (x) {}
72717
- }
72718
- }
72719
-
72720
- var isProduction$1 = process.env.NODE_ENV === 'production';
72721
- var prefix$1 = 'Invariant failed';
72722
- function invariant$1(condition, message) {
72723
- if (condition) {
72724
- return;
72725
- }
72726
- if (isProduction$1) {
72727
- throw new Error(prefix$1);
72728
- }
72729
- var provided = typeof message === 'function' ? message() : message;
72730
- var value = provided ? "".concat(prefix$1, ": ").concat(provided) : prefix$1;
72731
- throw new Error(value);
72732
- }
72733
-
72734
- function addLeadingSlash$1(path) {
72735
- return path.charAt(0) === '/' ? path : '/' + path;
72736
- }
72737
- function stripLeadingSlash(path) {
72738
- return path.charAt(0) === '/' ? path.substr(1) : path;
72739
- }
72740
- function hasBasename(path, prefix) {
72741
- return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;
72742
- }
72743
- function stripBasename$1(path, prefix) {
72744
- return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
72745
- }
72746
- function stripTrailingSlash(path) {
72747
- return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
72748
- }
72749
- function parsePath(path) {
72750
- var pathname = path || '/';
72751
- var search = '';
72752
- var hash = '';
72753
- var hashIndex = pathname.indexOf('#');
72754
-
72755
- if (hashIndex !== -1) {
72756
- hash = pathname.substr(hashIndex);
72757
- pathname = pathname.substr(0, hashIndex);
72758
- }
72759
-
72760
- var searchIndex = pathname.indexOf('?');
72761
-
72762
- if (searchIndex !== -1) {
72763
- search = pathname.substr(searchIndex);
72764
- pathname = pathname.substr(0, searchIndex);
72765
- }
72766
-
72767
- return {
72768
- pathname: pathname,
72769
- search: search === '?' ? '' : search,
72770
- hash: hash === '#' ? '' : hash
72771
- };
72772
- }
72773
- function createPath(location) {
72774
- var pathname = location.pathname,
72775
- search = location.search,
72776
- hash = location.hash;
72777
- var path = pathname || '/';
72778
- if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search;
72779
- if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash;
72780
- return path;
72781
- }
72782
-
72783
- function createLocation(path, state, key, currentLocation) {
72784
- var location;
72785
-
72786
- if (typeof path === 'string') {
72787
- // Two-arg form: push(path, state)
72788
- location = parsePath(path);
72789
- location.state = state;
72790
- } else {
72791
- // One-arg form: push(location)
72792
- location = _extends$1({}, path);
72793
- if (location.pathname === undefined) location.pathname = '';
72794
-
72795
- if (location.search) {
72796
- if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
72797
- } else {
72798
- location.search = '';
72799
- }
72800
-
72801
- if (location.hash) {
72802
- if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
72803
- } else {
72804
- location.hash = '';
72805
- }
72806
-
72807
- if (state !== undefined && location.state === undefined) location.state = state;
72808
- }
72809
-
72810
- try {
72811
- location.pathname = decodeURI(location.pathname);
72812
- } catch (e) {
72813
- if (e instanceof URIError) {
72814
- throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
72815
- } else {
72816
- throw e;
72817
- }
72818
- }
72819
-
72820
- if (key) location.key = key;
72821
-
72822
- if (currentLocation) {
72823
- // Resolve incomplete/relative pathname relative to current location.
72824
- if (!location.pathname) {
72825
- location.pathname = currentLocation.pathname;
72826
- } else if (location.pathname.charAt(0) !== '/') {
72827
- location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
72828
- }
72829
- } else {
72830
- // When there is no prior location and pathname is empty, set it to /
72831
- if (!location.pathname) {
72832
- location.pathname = '/';
72833
- }
72834
- }
72835
-
72836
- return location;
72837
- }
72838
- function locationsAreEqual(a, b) {
72839
- return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);
72840
- }
72841
-
72842
- function createTransitionManager() {
72843
- var prompt = null;
72844
-
72845
- function setPrompt(nextPrompt) {
72846
- process.env.NODE_ENV !== "production" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;
72847
- prompt = nextPrompt;
72848
- return function () {
72849
- if (prompt === nextPrompt) prompt = null;
72850
- };
72851
- }
72852
-
72853
- function confirmTransitionTo(location, action, getUserConfirmation, callback) {
72854
- // TODO: If another transition starts while we're still confirming
72855
- // the previous one, we may end up in a weird state. Figure out the
72856
- // best way to handle this.
72857
- if (prompt != null) {
72858
- var result = typeof prompt === 'function' ? prompt(location, action) : prompt;
72859
-
72860
- if (typeof result === 'string') {
72861
- if (typeof getUserConfirmation === 'function') {
72862
- getUserConfirmation(result, callback);
72863
- } else {
72864
- process.env.NODE_ENV !== "production" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;
72865
- callback(true);
72866
- }
72867
- } else {
72868
- // Return false from a transition hook to cancel the transition.
72869
- callback(result !== false);
72870
- }
72871
- } else {
72872
- callback(true);
72873
- }
72874
- }
72875
-
72876
- var listeners = [];
72877
-
72878
- function appendListener(fn) {
72879
- var isActive = true;
72880
-
72881
- function listener() {
72882
- if (isActive) fn.apply(void 0, arguments);
72883
- }
72884
-
72885
- listeners.push(listener);
72886
- return function () {
72887
- isActive = false;
72888
- listeners = listeners.filter(function (item) {
72889
- return item !== listener;
72890
- });
72891
- };
72892
- }
72893
-
72894
- function notifyListeners() {
72895
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
72896
- args[_key] = arguments[_key];
72897
- }
72898
-
72899
- listeners.forEach(function (listener) {
72900
- return listener.apply(void 0, args);
72901
- });
72902
- }
72903
-
72904
- return {
72905
- setPrompt: setPrompt,
72906
- confirmTransitionTo: confirmTransitionTo,
72907
- appendListener: appendListener,
72908
- notifyListeners: notifyListeners
72909
- };
72910
- }
72911
-
72912
- var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
72913
- function getConfirmation(message, callback) {
72914
- callback(window.confirm(message)); // eslint-disable-line no-alert
72915
- }
72916
- /**
72917
- * Returns true if the HTML5 history API is supported. Taken from Modernizr.
72918
- *
72919
- * https://github.com/Modernizr/Modernizr/blob/master/LICENSE
72920
- * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
72921
- * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
72922
- */
72923
-
72924
- function supportsHistory() {
72925
- var ua = window.navigator.userAgent;
72926
- if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;
72927
- return window.history && 'pushState' in window.history;
72928
- }
72929
- /**
72930
- * Returns true if browser fires popstate on hash change.
72931
- * IE10 and IE11 do not.
72932
- */
72933
-
72934
- function supportsPopStateOnHashChange() {
72935
- return window.navigator.userAgent.indexOf('Trident') === -1;
72936
- }
72937
- /**
72938
- * Returns false if using go(n) with hash history causes a full page reload.
72939
- */
72940
-
72941
- function supportsGoWithoutReloadUsingHash() {
72942
- return window.navigator.userAgent.indexOf('Firefox') === -1;
72943
- }
72944
- /**
72945
- * Returns true if a given popstate event is an extraneous WebKit event.
72946
- * Accounts for the fact that Chrome on iOS fires real popstate events
72947
- * containing undefined state when pressing the back button.
72948
- */
72949
-
72950
- function isExtraneousPopstateEvent(event) {
72951
- return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;
72952
- }
72953
-
72954
- var PopStateEvent = 'popstate';
72955
- var HashChangeEvent = 'hashchange';
72956
-
72957
- function getHistoryState() {
72958
- try {
72959
- return window.history.state || {};
72960
- } catch (e) {
72961
- // IE 11 sometimes throws when accessing window.history.state
72962
- // See https://github.com/ReactTraining/history/pull/289
72963
- return {};
72964
- }
72965
- }
72966
- /**
72967
- * Creates a history object that uses the HTML5 history API including
72968
- * pushState, replaceState, and the popstate event.
72969
- */
72970
-
72971
-
72972
- function createBrowserHistory(props) {
72973
- if (props === void 0) {
72974
- props = {};
72975
- }
72976
-
72977
- !canUseDOM ? process.env.NODE_ENV !== "production" ? invariant$1(false, 'Browser history needs a DOM') : invariant$1(false) : void 0;
72978
- var globalHistory = window.history;
72979
- var canUseHistory = supportsHistory();
72980
- var needsHashChangeListener = !supportsPopStateOnHashChange();
72981
- var _props = props,
72982
- _props$forceRefresh = _props.forceRefresh,
72983
- forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,
72984
- _props$getUserConfirm = _props.getUserConfirmation,
72985
- getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
72986
- _props$keyLength = _props.keyLength,
72987
- keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
72988
- var basename = props.basename ? stripTrailingSlash(addLeadingSlash$1(props.basename)) : '';
72989
-
72990
- function getDOMLocation(historyState) {
72991
- var _ref = historyState || {},
72992
- key = _ref.key,
72993
- state = _ref.state;
72994
-
72995
- var _window$location = window.location,
72996
- pathname = _window$location.pathname,
72997
- search = _window$location.search,
72998
- hash = _window$location.hash;
72999
- var path = pathname + search + hash;
73000
- process.env.NODE_ENV !== "production" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
73001
- if (basename) path = stripBasename$1(path, basename);
73002
- return createLocation(path, state, key);
73003
- }
73004
-
73005
- function createKey() {
73006
- return Math.random().toString(36).substr(2, keyLength);
73007
- }
73008
-
73009
- var transitionManager = createTransitionManager();
73010
-
73011
- function setState(nextState) {
73012
- _extends$1(history, nextState);
73013
-
73014
- history.length = globalHistory.length;
73015
- transitionManager.notifyListeners(history.location, history.action);
73016
- }
73017
-
73018
- function handlePopState(event) {
73019
- // Ignore extraneous popstate events in WebKit.
73020
- if (isExtraneousPopstateEvent(event)) return;
73021
- handlePop(getDOMLocation(event.state));
73022
- }
73023
-
73024
- function handleHashChange() {
73025
- handlePop(getDOMLocation(getHistoryState()));
73026
- }
73027
-
73028
- var forceNextPop = false;
73029
-
73030
- function handlePop(location) {
73031
- if (forceNextPop) {
73032
- forceNextPop = false;
73033
- setState();
73034
- } else {
73035
- var action = 'POP';
73036
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73037
- if (ok) {
73038
- setState({
73039
- action: action,
73040
- location: location
73041
- });
73042
- } else {
73043
- revertPop(location);
73044
- }
73045
- });
73046
- }
73047
- }
73048
-
73049
- function revertPop(fromLocation) {
73050
- var toLocation = history.location; // TODO: We could probably make this more reliable by
73051
- // keeping a list of keys we've seen in sessionStorage.
73052
- // Instead, we just default to 0 for keys we don't know.
73053
-
73054
- var toIndex = allKeys.indexOf(toLocation.key);
73055
- if (toIndex === -1) toIndex = 0;
73056
- var fromIndex = allKeys.indexOf(fromLocation.key);
73057
- if (fromIndex === -1) fromIndex = 0;
73058
- var delta = toIndex - fromIndex;
73059
-
73060
- if (delta) {
73061
- forceNextPop = true;
73062
- go(delta);
73063
- }
73064
- }
73065
-
73066
- var initialLocation = getDOMLocation(getHistoryState());
73067
- var allKeys = [initialLocation.key]; // Public interface
73068
-
73069
- function createHref(location) {
73070
- return basename + createPath(location);
73071
- }
73072
-
73073
- function push(path, state) {
73074
- process.env.NODE_ENV !== "production" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
73075
- var action = 'PUSH';
73076
- var location = createLocation(path, state, createKey(), history.location);
73077
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73078
- if (!ok) return;
73079
- var href = createHref(location);
73080
- var key = location.key,
73081
- state = location.state;
73082
-
73083
- if (canUseHistory) {
73084
- globalHistory.pushState({
73085
- key: key,
73086
- state: state
73087
- }, null, href);
73088
-
73089
- if (forceRefresh) {
73090
- window.location.href = href;
73091
- } else {
73092
- var prevIndex = allKeys.indexOf(history.location.key);
73093
- var nextKeys = allKeys.slice(0, prevIndex + 1);
73094
- nextKeys.push(location.key);
73095
- allKeys = nextKeys;
73096
- setState({
73097
- action: action,
73098
- location: location
73099
- });
73100
- }
73101
- } else {
73102
- process.env.NODE_ENV !== "production" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;
73103
- window.location.href = href;
73104
- }
73105
- });
73106
- }
73107
-
73108
- function replace(path, state) {
73109
- process.env.NODE_ENV !== "production" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
73110
- var action = 'REPLACE';
73111
- var location = createLocation(path, state, createKey(), history.location);
73112
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73113
- if (!ok) return;
73114
- var href = createHref(location);
73115
- var key = location.key,
73116
- state = location.state;
73117
-
73118
- if (canUseHistory) {
73119
- globalHistory.replaceState({
73120
- key: key,
73121
- state: state
73122
- }, null, href);
73123
-
73124
- if (forceRefresh) {
73125
- window.location.replace(href);
73126
- } else {
73127
- var prevIndex = allKeys.indexOf(history.location.key);
73128
- if (prevIndex !== -1) allKeys[prevIndex] = location.key;
73129
- setState({
73130
- action: action,
73131
- location: location
73132
- });
73133
- }
73134
- } else {
73135
- process.env.NODE_ENV !== "production" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;
73136
- window.location.replace(href);
73137
- }
73138
- });
73139
- }
73140
-
73141
- function go(n) {
73142
- globalHistory.go(n);
73143
- }
73144
-
73145
- function goBack() {
73146
- go(-1);
73147
- }
73148
-
73149
- function goForward() {
73150
- go(1);
73151
- }
73152
-
73153
- var listenerCount = 0;
73154
-
73155
- function checkDOMListeners(delta) {
73156
- listenerCount += delta;
73157
-
73158
- if (listenerCount === 1 && delta === 1) {
73159
- window.addEventListener(PopStateEvent, handlePopState);
73160
- if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);
73161
- } else if (listenerCount === 0) {
73162
- window.removeEventListener(PopStateEvent, handlePopState);
73163
- if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);
73164
- }
73165
- }
73166
-
73167
- var isBlocked = false;
73168
-
73169
- function block(prompt) {
73170
- if (prompt === void 0) {
73171
- prompt = false;
73172
- }
73173
-
73174
- var unblock = transitionManager.setPrompt(prompt);
73175
-
73176
- if (!isBlocked) {
73177
- checkDOMListeners(1);
73178
- isBlocked = true;
73179
- }
73180
-
73181
- return function () {
73182
- if (isBlocked) {
73183
- isBlocked = false;
73184
- checkDOMListeners(-1);
73185
- }
73186
-
73187
- return unblock();
73188
- };
73189
- }
73190
-
73191
- function listen(listener) {
73192
- var unlisten = transitionManager.appendListener(listener);
73193
- checkDOMListeners(1);
73194
- return function () {
73195
- checkDOMListeners(-1);
73196
- unlisten();
73197
- };
73198
- }
73199
-
73200
- var history = {
73201
- length: globalHistory.length,
73202
- action: 'POP',
73203
- location: initialLocation,
73204
- createHref: createHref,
73205
- push: push,
73206
- replace: replace,
73207
- go: go,
73208
- goBack: goBack,
73209
- goForward: goForward,
73210
- block: block,
73211
- listen: listen
73212
- };
73213
- return history;
73214
- }
73215
-
73216
- var HashChangeEvent$1 = 'hashchange';
73217
- var HashPathCoders = {
73218
- hashbang: {
73219
- encodePath: function encodePath(path) {
73220
- return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);
73221
- },
73222
- decodePath: function decodePath(path) {
73223
- return path.charAt(0) === '!' ? path.substr(1) : path;
73224
- }
73225
- },
73226
- noslash: {
73227
- encodePath: stripLeadingSlash,
73228
- decodePath: addLeadingSlash$1
73229
- },
73230
- slash: {
73231
- encodePath: addLeadingSlash$1,
73232
- decodePath: addLeadingSlash$1
73233
- }
73234
- };
73235
-
73236
- function stripHash(url) {
73237
- var hashIndex = url.indexOf('#');
73238
- return hashIndex === -1 ? url : url.slice(0, hashIndex);
73239
- }
73240
-
73241
- function getHashPath() {
73242
- // We can't use window.location.hash here because it's not
73243
- // consistent across browsers - Firefox will pre-decode it!
73244
- var href = window.location.href;
73245
- var hashIndex = href.indexOf('#');
73246
- return hashIndex === -1 ? '' : href.substring(hashIndex + 1);
73247
- }
73248
-
73249
- function pushHashPath(path) {
73250
- window.location.hash = path;
73251
- }
73252
-
73253
- function replaceHashPath(path) {
73254
- window.location.replace(stripHash(window.location.href) + '#' + path);
73255
- }
73256
-
73257
- function createHashHistory(props) {
73258
- if (props === void 0) {
73259
- props = {};
73260
- }
73261
-
73262
- !canUseDOM ? process.env.NODE_ENV !== "production" ? invariant$1(false, 'Hash history needs a DOM') : invariant$1(false) : void 0;
73263
- var globalHistory = window.history;
73264
- var canGoWithoutReload = supportsGoWithoutReloadUsingHash();
73265
- var _props = props,
73266
- _props$getUserConfirm = _props.getUserConfirmation,
73267
- getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
73268
- _props$hashType = _props.hashType,
73269
- hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;
73270
- var basename = props.basename ? stripTrailingSlash(addLeadingSlash$1(props.basename)) : '';
73271
- var _HashPathCoders$hashT = HashPathCoders[hashType],
73272
- encodePath = _HashPathCoders$hashT.encodePath,
73273
- decodePath = _HashPathCoders$hashT.decodePath;
73274
-
73275
- function getDOMLocation() {
73276
- var path = decodePath(getHashPath());
73277
- process.env.NODE_ENV !== "production" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
73278
- if (basename) path = stripBasename$1(path, basename);
73279
- return createLocation(path);
73280
- }
73281
-
73282
- var transitionManager = createTransitionManager();
73283
-
73284
- function setState(nextState) {
73285
- _extends$1(history, nextState);
73286
-
73287
- history.length = globalHistory.length;
73288
- transitionManager.notifyListeners(history.location, history.action);
73289
- }
73290
-
73291
- var forceNextPop = false;
73292
- var ignorePath = null;
73293
-
73294
- function locationsAreEqual$$1(a, b) {
73295
- return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;
73296
- }
73297
-
73298
- function handleHashChange() {
73299
- var path = getHashPath();
73300
- var encodedPath = encodePath(path);
73301
-
73302
- if (path !== encodedPath) {
73303
- // Ensure we always have a properly-encoded hash.
73304
- replaceHashPath(encodedPath);
73305
- } else {
73306
- var location = getDOMLocation();
73307
- var prevLocation = history.location;
73308
- if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.
73309
-
73310
- if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.
73311
-
73312
- ignorePath = null;
73313
- handlePop(location);
73314
- }
73315
- }
73316
-
73317
- function handlePop(location) {
73318
- if (forceNextPop) {
73319
- forceNextPop = false;
73320
- setState();
73321
- } else {
73322
- var action = 'POP';
73323
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73324
- if (ok) {
73325
- setState({
73326
- action: action,
73327
- location: location
73328
- });
73329
- } else {
73330
- revertPop(location);
73331
- }
73332
- });
73333
- }
73334
- }
73335
-
73336
- function revertPop(fromLocation) {
73337
- var toLocation = history.location; // TODO: We could probably make this more reliable by
73338
- // keeping a list of paths we've seen in sessionStorage.
73339
- // Instead, we just default to 0 for paths we don't know.
73340
-
73341
- var toIndex = allPaths.lastIndexOf(createPath(toLocation));
73342
- if (toIndex === -1) toIndex = 0;
73343
- var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));
73344
- if (fromIndex === -1) fromIndex = 0;
73345
- var delta = toIndex - fromIndex;
73346
-
73347
- if (delta) {
73348
- forceNextPop = true;
73349
- go(delta);
73350
- }
73351
- } // Ensure the hash is encoded properly before doing anything else.
73352
-
73353
-
73354
- var path = getHashPath();
73355
- var encodedPath = encodePath(path);
73356
- if (path !== encodedPath) replaceHashPath(encodedPath);
73357
- var initialLocation = getDOMLocation();
73358
- var allPaths = [createPath(initialLocation)]; // Public interface
73359
-
73360
- function createHref(location) {
73361
- var baseTag = document.querySelector('base');
73362
- var href = '';
73363
-
73364
- if (baseTag && baseTag.getAttribute('href')) {
73365
- href = stripHash(window.location.href);
73366
- }
73367
-
73368
- return href + '#' + encodePath(basename + createPath(location));
73369
- }
73370
-
73371
- function push(path, state) {
73372
- process.env.NODE_ENV !== "production" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;
73373
- var action = 'PUSH';
73374
- var location = createLocation(path, undefined, undefined, history.location);
73375
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73376
- if (!ok) return;
73377
- var path = createPath(location);
73378
- var encodedPath = encodePath(basename + path);
73379
- var hashChanged = getHashPath() !== encodedPath;
73380
-
73381
- if (hashChanged) {
73382
- // We cannot tell if a hashchange was caused by a PUSH, so we'd
73383
- // rather setState here and ignore the hashchange. The caveat here
73384
- // is that other hash histories in the page will consider it a POP.
73385
- ignorePath = path;
73386
- pushHashPath(encodedPath);
73387
- var prevIndex = allPaths.lastIndexOf(createPath(history.location));
73388
- var nextPaths = allPaths.slice(0, prevIndex + 1);
73389
- nextPaths.push(path);
73390
- allPaths = nextPaths;
73391
- setState({
73392
- action: action,
73393
- location: location
73394
- });
73395
- } else {
73396
- process.env.NODE_ENV !== "production" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;
73397
- setState();
73398
- }
73399
- });
73400
- }
73401
-
73402
- function replace(path, state) {
73403
- process.env.NODE_ENV !== "production" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;
73404
- var action = 'REPLACE';
73405
- var location = createLocation(path, undefined, undefined, history.location);
73406
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73407
- if (!ok) return;
73408
- var path = createPath(location);
73409
- var encodedPath = encodePath(basename + path);
73410
- var hashChanged = getHashPath() !== encodedPath;
73411
-
73412
- if (hashChanged) {
73413
- // We cannot tell if a hashchange was caused by a REPLACE, so we'd
73414
- // rather setState here and ignore the hashchange. The caveat here
73415
- // is that other hash histories in the page will consider it a POP.
73416
- ignorePath = path;
73417
- replaceHashPath(encodedPath);
73418
- }
73419
-
73420
- var prevIndex = allPaths.indexOf(createPath(history.location));
73421
- if (prevIndex !== -1) allPaths[prevIndex] = path;
73422
- setState({
73423
- action: action,
73424
- location: location
73425
- });
73426
- });
73427
- }
73428
-
73429
- function go(n) {
73430
- process.env.NODE_ENV !== "production" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;
73431
- globalHistory.go(n);
73432
- }
73433
-
73434
- function goBack() {
73435
- go(-1);
73436
- }
73437
-
73438
- function goForward() {
73439
- go(1);
73440
- }
73441
-
73442
- var listenerCount = 0;
73443
-
73444
- function checkDOMListeners(delta) {
73445
- listenerCount += delta;
73446
-
73447
- if (listenerCount === 1 && delta === 1) {
73448
- window.addEventListener(HashChangeEvent$1, handleHashChange);
73449
- } else if (listenerCount === 0) {
73450
- window.removeEventListener(HashChangeEvent$1, handleHashChange);
73451
- }
73452
- }
73453
-
73454
- var isBlocked = false;
73455
-
73456
- function block(prompt) {
73457
- if (prompt === void 0) {
73458
- prompt = false;
73459
- }
73460
-
73461
- var unblock = transitionManager.setPrompt(prompt);
73462
-
73463
- if (!isBlocked) {
73464
- checkDOMListeners(1);
73465
- isBlocked = true;
73466
- }
73467
-
73468
- return function () {
73469
- if (isBlocked) {
73470
- isBlocked = false;
73471
- checkDOMListeners(-1);
73472
- }
73473
-
73474
- return unblock();
73475
- };
73476
- }
73477
-
73478
- function listen(listener) {
73479
- var unlisten = transitionManager.appendListener(listener);
73480
- checkDOMListeners(1);
73481
- return function () {
73482
- checkDOMListeners(-1);
73483
- unlisten();
73484
- };
73485
- }
73486
-
73487
- var history = {
73488
- length: globalHistory.length,
73489
- action: 'POP',
73490
- location: initialLocation,
73491
- createHref: createHref,
73492
- push: push,
73493
- replace: replace,
73494
- go: go,
73495
- goBack: goBack,
73496
- goForward: goForward,
73497
- block: block,
73498
- listen: listen
73499
- };
73500
- return history;
73501
- }
73502
-
73503
- function clamp(n, lowerBound, upperBound) {
73504
- return Math.min(Math.max(n, lowerBound), upperBound);
73505
- }
73506
- /**
73507
- * Creates a history object that stores locations in memory.
73508
- */
73509
-
73510
-
73511
- function createMemoryHistory(props) {
73512
- if (props === void 0) {
73513
- props = {};
73514
- }
73515
-
73516
- var _props = props,
73517
- getUserConfirmation = _props.getUserConfirmation,
73518
- _props$initialEntries = _props.initialEntries,
73519
- initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,
73520
- _props$initialIndex = _props.initialIndex,
73521
- initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,
73522
- _props$keyLength = _props.keyLength,
73523
- keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
73524
- var transitionManager = createTransitionManager();
73525
-
73526
- function setState(nextState) {
73527
- _extends$1(history, nextState);
73528
-
73529
- history.length = history.entries.length;
73530
- transitionManager.notifyListeners(history.location, history.action);
73531
- }
73532
-
73533
- function createKey() {
73534
- return Math.random().toString(36).substr(2, keyLength);
73535
- }
73536
-
73537
- var index = clamp(initialIndex, 0, initialEntries.length - 1);
73538
- var entries = initialEntries.map(function (entry) {
73539
- return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());
73540
- }); // Public interface
73541
-
73542
- var createHref = createPath;
73543
-
73544
- function push(path, state) {
73545
- process.env.NODE_ENV !== "production" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
73546
- var action = 'PUSH';
73547
- var location = createLocation(path, state, createKey(), history.location);
73548
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73549
- if (!ok) return;
73550
- var prevIndex = history.index;
73551
- var nextIndex = prevIndex + 1;
73552
- var nextEntries = history.entries.slice(0);
73553
-
73554
- if (nextEntries.length > nextIndex) {
73555
- nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);
73556
- } else {
73557
- nextEntries.push(location);
73558
- }
73559
-
73560
- setState({
73561
- action: action,
73562
- location: location,
73563
- index: nextIndex,
73564
- entries: nextEntries
73565
- });
73566
- });
73567
- }
73568
-
73569
- function replace(path, state) {
73570
- process.env.NODE_ENV !== "production" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
73571
- var action = 'REPLACE';
73572
- var location = createLocation(path, state, createKey(), history.location);
73573
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73574
- if (!ok) return;
73575
- history.entries[history.index] = location;
73576
- setState({
73577
- action: action,
73578
- location: location
73579
- });
73580
- });
73581
- }
73582
-
73583
- function go(n) {
73584
- var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);
73585
- var action = 'POP';
73586
- var location = history.entries[nextIndex];
73587
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
73588
- if (ok) {
73589
- setState({
73590
- action: action,
73591
- location: location,
73592
- index: nextIndex
73593
- });
73594
- } else {
73595
- // Mimic the behavior of DOM histories by
73596
- // causing a render after a cancelled POP.
73597
- setState();
73598
- }
73599
- });
73600
- }
73601
-
73602
- function goBack() {
73603
- go(-1);
73604
- }
73605
-
73606
- function goForward() {
73607
- go(1);
73608
- }
73609
-
73610
- function canGo(n) {
73611
- var nextIndex = history.index + n;
73612
- return nextIndex >= 0 && nextIndex < history.entries.length;
73613
- }
73614
-
73615
- function block(prompt) {
73616
- if (prompt === void 0) {
73617
- prompt = false;
73618
- }
73619
-
73620
- return transitionManager.setPrompt(prompt);
73621
- }
73622
-
73623
- function listen(listener) {
73624
- return transitionManager.appendListener(listener);
73625
- }
73626
-
73627
- var history = {
73628
- length: entries.length,
73629
- action: 'POP',
73630
- location: entries[index],
73631
- index: index,
73632
- entries: entries,
73633
- createHref: createHref,
73634
- push: push,
73635
- replace: replace,
73636
- go: go,
73637
- goBack: goBack,
73638
- goForward: goForward,
73639
- canGo: canGo,
73640
- block: block,
73641
- listen: listen
73642
- };
73643
- return history;
73644
- }
73645
-
73646
- var history = /*#__PURE__*/Object.freeze({
73647
- __proto__: null,
73648
- createBrowserHistory: createBrowserHistory,
73649
- createHashHistory: createHashHistory,
73650
- createMemoryHistory: createMemoryHistory,
73651
- createLocation: createLocation,
73652
- locationsAreEqual: locationsAreEqual,
73653
- parsePath: parsePath,
73654
- createPath: createPath
73655
- });
73656
-
73657
- function _setPrototypeOf(o, p) {
73658
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
73659
- o.__proto__ = p;
73660
- return o;
73661
- };
73662
- return _setPrototypeOf(o, p);
73663
- }
73664
-
73665
- function _inheritsLoose(subClass, superClass) {
73666
- subClass.prototype = Object.create(superClass.prototype);
73667
- subClass.prototype.constructor = subClass;
73668
- _setPrototypeOf(subClass, superClass);
73669
- }
73670
-
73671
- var MAX_SIGNED_31_BIT_INT = 1073741823;
73672
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : {};
73673
-
73674
- function getUniqueId() {
73675
- var key = '__global_unique_id__';
73676
- return commonjsGlobal[key] = (commonjsGlobal[key] || 0) + 1;
73677
- }
73678
-
73679
- function objectIs(x, y) {
73680
- if (x === y) {
73681
- return x !== 0 || 1 / x === 1 / y;
73682
- } else {
73683
- return x !== x && y !== y;
73684
- }
73685
- }
73686
-
73687
- function createEventEmitter(value) {
73688
- var handlers = [];
73689
- return {
73690
- on: function on(handler) {
73691
- handlers.push(handler);
73692
- },
73693
- off: function off(handler) {
73694
- handlers = handlers.filter(function (h) {
73695
- return h !== handler;
73696
- });
73697
- },
73698
- get: function get() {
73699
- return value;
73700
- },
73701
- set: function set(newValue, changedBits) {
73702
- value = newValue;
73703
- handlers.forEach(function (handler) {
73704
- return handler(value, changedBits);
73705
- });
73706
- }
73707
- };
73708
- }
73709
-
73710
- function onlyChild(children) {
73711
- return Array.isArray(children) ? children[0] : children;
73712
- }
73713
-
73714
- function createReactContext(defaultValue, calculateChangedBits) {
73715
- var _Provider$childContex, _Consumer$contextType;
73716
-
73717
- var contextProp = '__create-react-context-' + getUniqueId() + '__';
73718
-
73719
- var Provider = /*#__PURE__*/function (_Component) {
73720
- _inheritsLoose(Provider, _Component);
73721
-
73722
- function Provider() {
73723
- var _this;
73724
-
73725
- _this = _Component.apply(this, arguments) || this;
73726
- _this.emitter = createEventEmitter(_this.props.value);
73727
- return _this;
73728
- }
73729
-
73730
- var _proto = Provider.prototype;
73731
-
73732
- _proto.getChildContext = function getChildContext() {
73733
- var _ref;
73734
-
73735
- return _ref = {}, _ref[contextProp] = this.emitter, _ref;
73736
- };
73737
-
73738
- _proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
73739
- if (this.props.value !== nextProps.value) {
73740
- var oldValue = this.props.value;
73741
- var newValue = nextProps.value;
73742
- var changedBits;
73743
-
73744
- if (objectIs(oldValue, newValue)) {
73745
- changedBits = 0;
73746
- } else {
73747
- changedBits = typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT;
73748
-
73749
- if (process.env.NODE_ENV !== 'production') {
73750
- warning((changedBits & MAX_SIGNED_31_BIT_INT) === changedBits, 'calculateChangedBits: Expected the return value to be a ' + '31-bit integer. Instead received: ' + changedBits);
73751
- }
73752
-
73753
- changedBits |= 0;
73754
-
73755
- if (changedBits !== 0) {
73756
- this.emitter.set(nextProps.value, changedBits);
73757
- }
73758
- }
73759
- }
73760
- };
73761
-
73762
- _proto.render = function render() {
73763
- return this.props.children;
73764
- };
73765
-
73766
- return Provider;
73767
- }(React.Component);
73768
-
73769
- Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = propTypes$1.exports.object.isRequired, _Provider$childContex);
73770
-
73771
- var Consumer = /*#__PURE__*/function (_Component2) {
73772
- _inheritsLoose(Consumer, _Component2);
73773
-
73774
- function Consumer() {
73775
- var _this2;
73776
-
73777
- _this2 = _Component2.apply(this, arguments) || this;
73778
- _this2.state = {
73779
- value: _this2.getValue()
73780
- };
73781
-
73782
- _this2.onUpdate = function (newValue, changedBits) {
73783
- var observedBits = _this2.observedBits | 0;
73784
-
73785
- if ((observedBits & changedBits) !== 0) {
73786
- _this2.setState({
73787
- value: _this2.getValue()
73788
- });
73789
- }
73790
- };
73791
-
73792
- return _this2;
73793
- }
73794
-
73795
- var _proto2 = Consumer.prototype;
73796
-
73797
- _proto2.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
73798
- var observedBits = nextProps.observedBits;
73799
- this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT : observedBits;
73800
- };
73801
-
73802
- _proto2.componentDidMount = function componentDidMount() {
73803
- if (this.context[contextProp]) {
73804
- this.context[contextProp].on(this.onUpdate);
73805
- }
73806
-
73807
- var observedBits = this.props.observedBits;
73808
- this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT : observedBits;
73809
- };
73810
-
73811
- _proto2.componentWillUnmount = function componentWillUnmount() {
73812
- if (this.context[contextProp]) {
73813
- this.context[contextProp].off(this.onUpdate);
73814
- }
73815
- };
73816
-
73817
- _proto2.getValue = function getValue() {
73818
- if (this.context[contextProp]) {
73819
- return this.context[contextProp].get();
73820
- } else {
73821
- return defaultValue;
73822
- }
73823
- };
73824
-
73825
- _proto2.render = function render() {
73826
- return onlyChild(this.props.children)(this.state.value);
73827
- };
73828
-
73829
- return Consumer;
73830
- }(React.Component);
73831
-
73832
- Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = propTypes$1.exports.object, _Consumer$contextType);
73833
- return {
73834
- Provider: Provider,
73835
- Consumer: Consumer
73836
- };
73837
- }
73838
-
73839
- var index$1 = React__default["default"].createContext || createReactContext;
73840
-
73841
- function _extends() {
73842
- _extends = Object.assign ? Object.assign.bind() : function (target) {
73843
- for (var i = 1; i < arguments.length; i++) {
73844
- var source = arguments[i];
73845
- for (var key in source) {
73846
- if (Object.prototype.hasOwnProperty.call(source, key)) {
73847
- target[key] = source[key];
73848
- }
73849
- }
73850
- }
73851
- return target;
73852
- };
73853
- return _extends.apply(this, arguments);
73854
- }
73855
-
73856
- var pathToRegexp$1 = {exports: {}};
73857
-
73858
- var isarray$1 = Array.isArray || function (arr) {
73859
- return Object.prototype.toString.call(arr) == '[object Array]';
73860
- };
73861
-
73862
- var isarray = isarray$1;
73863
-
73864
- /**
73865
- * Expose `pathToRegexp`.
73866
- */
73867
- pathToRegexp$1.exports = pathToRegexp;
73868
- pathToRegexp$1.exports.parse = parse;
73869
- pathToRegexp$1.exports.compile = compile;
73870
- pathToRegexp$1.exports.tokensToFunction = tokensToFunction;
73871
- pathToRegexp$1.exports.tokensToRegExp = tokensToRegExp;
73872
-
73873
- /**
73874
- * The main path matching regexp utility.
73875
- *
73876
- * @type {RegExp}
73877
- */
73878
- var PATH_REGEXP = new RegExp([
73879
- // Match escaped characters that would otherwise appear in future matches.
73880
- // This allows the user to escape special characters that won't transform.
73881
- '(\\\\.)',
73882
- // Match Express-style parameters and un-named parameters with a prefix
73883
- // and optional suffixes. Matches appear as:
73884
- //
73885
- // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
73886
- // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
73887
- // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
73888
- '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'
73889
- ].join('|'), 'g');
73890
-
73891
- /**
73892
- * Parse a string for the raw tokens.
73893
- *
73894
- * @param {string} str
73895
- * @param {Object=} options
73896
- * @return {!Array}
73897
- */
73898
- function parse (str, options) {
73899
- var tokens = [];
73900
- var key = 0;
73901
- var index = 0;
73902
- var path = '';
73903
- var defaultDelimiter = options && options.delimiter || '/';
73904
- var res;
73905
-
73906
- while ((res = PATH_REGEXP.exec(str)) != null) {
73907
- var m = res[0];
73908
- var escaped = res[1];
73909
- var offset = res.index;
73910
- path += str.slice(index, offset);
73911
- index = offset + m.length;
73912
-
73913
- // Ignore already escaped sequences.
73914
- if (escaped) {
73915
- path += escaped[1];
73916
- continue
73917
- }
73918
-
73919
- var next = str[index];
73920
- var prefix = res[2];
73921
- var name = res[3];
73922
- var capture = res[4];
73923
- var group = res[5];
73924
- var modifier = res[6];
73925
- var asterisk = res[7];
73926
-
73927
- // Push the current path onto the tokens.
73928
- if (path) {
73929
- tokens.push(path);
73930
- path = '';
73931
- }
73932
-
73933
- var partial = prefix != null && next != null && next !== prefix;
73934
- var repeat = modifier === '+' || modifier === '*';
73935
- var optional = modifier === '?' || modifier === '*';
73936
- var delimiter = res[2] || defaultDelimiter;
73937
- var pattern = capture || group;
73938
-
73939
- tokens.push({
73940
- name: name || key++,
73941
- prefix: prefix || '',
73942
- delimiter: delimiter,
73943
- optional: optional,
73944
- repeat: repeat,
73945
- partial: partial,
73946
- asterisk: !!asterisk,
73947
- pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')
73948
- });
73949
- }
73950
-
73951
- // Match any characters still remaining.
73952
- if (index < str.length) {
73953
- path += str.substr(index);
73954
- }
73955
-
73956
- // If the path exists, push it onto the end.
73957
- if (path) {
73958
- tokens.push(path);
73959
- }
73960
-
73961
- return tokens
73962
- }
73963
-
73964
- /**
73965
- * Compile a string to a template function for the path.
73966
- *
73967
- * @param {string} str
73968
- * @param {Object=} options
73969
- * @return {!function(Object=, Object=)}
73970
- */
73971
- function compile (str, options) {
73972
- return tokensToFunction(parse(str, options), options)
73973
- }
73974
-
73975
- /**
73976
- * Prettier encoding of URI path segments.
73977
- *
73978
- * @param {string}
73979
- * @return {string}
73980
- */
73981
- function encodeURIComponentPretty (str) {
73982
- return encodeURI(str).replace(/[\/?#]/g, function (c) {
73983
- return '%' + c.charCodeAt(0).toString(16).toUpperCase()
73984
- })
73985
- }
73986
-
73987
- /**
73988
- * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.
73989
- *
73990
- * @param {string}
73991
- * @return {string}
73992
- */
73993
- function encodeAsterisk (str) {
73994
- return encodeURI(str).replace(/[?#]/g, function (c) {
73995
- return '%' + c.charCodeAt(0).toString(16).toUpperCase()
73996
- })
73997
- }
73998
-
73999
- /**
74000
- * Expose a method for transforming tokens into the path function.
74001
- */
74002
- function tokensToFunction (tokens, options) {
74003
- // Compile all the tokens into regexps.
74004
- var matches = new Array(tokens.length);
74005
-
74006
- // Compile all the patterns before compilation.
74007
- for (var i = 0; i < tokens.length; i++) {
74008
- if (typeof tokens[i] === 'object') {
74009
- matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));
74010
- }
74011
- }
74012
-
74013
- return function (obj, opts) {
74014
- var path = '';
74015
- var data = obj || {};
74016
- var options = opts || {};
74017
- var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;
74018
-
74019
- for (var i = 0; i < tokens.length; i++) {
74020
- var token = tokens[i];
74021
-
74022
- if (typeof token === 'string') {
74023
- path += token;
74024
-
74025
- continue
74026
- }
74027
-
74028
- var value = data[token.name];
74029
- var segment;
74030
-
74031
- if (value == null) {
74032
- if (token.optional) {
74033
- // Prepend partial segment prefixes.
74034
- if (token.partial) {
74035
- path += token.prefix;
74036
- }
74037
-
74038
- continue
74039
- } else {
74040
- throw new TypeError('Expected "' + token.name + '" to be defined')
74041
- }
74042
- }
74043
-
74044
- if (isarray(value)) {
74045
- if (!token.repeat) {
74046
- throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`')
74047
- }
74048
-
74049
- if (value.length === 0) {
74050
- if (token.optional) {
74051
- continue
74052
- } else {
74053
- throw new TypeError('Expected "' + token.name + '" to not be empty')
74054
- }
74055
- }
74056
-
74057
- for (var j = 0; j < value.length; j++) {
74058
- segment = encode(value[j]);
74059
-
74060
- if (!matches[i].test(segment)) {
74061
- throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`')
74062
- }
74063
-
74064
- path += (j === 0 ? token.prefix : token.delimiter) + segment;
74065
- }
74066
-
74067
- continue
74068
- }
74069
-
74070
- segment = token.asterisk ? encodeAsterisk(value) : encode(value);
74071
-
74072
- if (!matches[i].test(segment)) {
74073
- throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"')
74074
- }
74075
-
74076
- path += token.prefix + segment;
74077
- }
74078
-
74079
- return path
74080
- }
74081
- }
74082
-
74083
- /**
74084
- * Escape a regular expression string.
74085
- *
74086
- * @param {string} str
74087
- * @return {string}
74088
- */
74089
- function escapeString (str) {
74090
- return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1')
74091
- }
74092
-
74093
- /**
74094
- * Escape the capturing group by escaping special characters and meaning.
74095
- *
74096
- * @param {string} group
74097
- * @return {string}
74098
- */
74099
- function escapeGroup (group) {
74100
- return group.replace(/([=!:$\/()])/g, '\\$1')
74101
- }
74102
-
74103
- /**
74104
- * Attach the keys as a property of the regexp.
74105
- *
74106
- * @param {!RegExp} re
74107
- * @param {Array} keys
74108
- * @return {!RegExp}
74109
- */
74110
- function attachKeys (re, keys) {
74111
- re.keys = keys;
74112
- return re
74113
- }
74114
-
74115
- /**
74116
- * Get the flags for a regexp from the options.
74117
- *
74118
- * @param {Object} options
74119
- * @return {string}
74120
- */
74121
- function flags (options) {
74122
- return options && options.sensitive ? '' : 'i'
74123
- }
74124
-
74125
- /**
74126
- * Pull out keys from a regexp.
74127
- *
74128
- * @param {!RegExp} path
74129
- * @param {!Array} keys
74130
- * @return {!RegExp}
74131
- */
74132
- function regexpToRegexp (path, keys) {
74133
- // Use a negative lookahead to match only capturing groups.
74134
- var groups = path.source.match(/\((?!\?)/g);
74135
-
74136
- if (groups) {
74137
- for (var i = 0; i < groups.length; i++) {
74138
- keys.push({
74139
- name: i,
74140
- prefix: null,
74141
- delimiter: null,
74142
- optional: false,
74143
- repeat: false,
74144
- partial: false,
74145
- asterisk: false,
74146
- pattern: null
74147
- });
74148
- }
74149
- }
74150
-
74151
- return attachKeys(path, keys)
74152
- }
74153
-
74154
- /**
74155
- * Transform an array into a regexp.
74156
- *
74157
- * @param {!Array} path
74158
- * @param {Array} keys
74159
- * @param {!Object} options
74160
- * @return {!RegExp}
74161
- */
74162
- function arrayToRegexp (path, keys, options) {
74163
- var parts = [];
74164
-
74165
- for (var i = 0; i < path.length; i++) {
74166
- parts.push(pathToRegexp(path[i], keys, options).source);
74167
- }
74168
-
74169
- var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));
74170
-
74171
- return attachKeys(regexp, keys)
74172
- }
74173
-
74174
- /**
74175
- * Create a path regexp from string input.
74176
- *
74177
- * @param {string} path
74178
- * @param {!Array} keys
74179
- * @param {!Object} options
74180
- * @return {!RegExp}
74181
- */
74182
- function stringToRegexp (path, keys, options) {
74183
- return tokensToRegExp(parse(path, options), keys, options)
74184
- }
74185
-
74186
- /**
74187
- * Expose a function for taking tokens and returning a RegExp.
74188
- *
74189
- * @param {!Array} tokens
74190
- * @param {(Array|Object)=} keys
74191
- * @param {Object=} options
74192
- * @return {!RegExp}
74193
- */
74194
- function tokensToRegExp (tokens, keys, options) {
74195
- if (!isarray(keys)) {
74196
- options = /** @type {!Object} */ (keys || options);
74197
- keys = [];
74198
- }
74199
-
74200
- options = options || {};
74201
-
74202
- var strict = options.strict;
74203
- var end = options.end !== false;
74204
- var route = '';
74205
-
74206
- // Iterate over the tokens and create our regexp string.
74207
- for (var i = 0; i < tokens.length; i++) {
74208
- var token = tokens[i];
74209
-
74210
- if (typeof token === 'string') {
74211
- route += escapeString(token);
74212
- } else {
74213
- var prefix = escapeString(token.prefix);
74214
- var capture = '(?:' + token.pattern + ')';
74215
-
74216
- keys.push(token);
74217
-
74218
- if (token.repeat) {
74219
- capture += '(?:' + prefix + capture + ')*';
74220
- }
74221
-
74222
- if (token.optional) {
74223
- if (!token.partial) {
74224
- capture = '(?:' + prefix + '(' + capture + '))?';
74225
- } else {
74226
- capture = prefix + '(' + capture + ')?';
74227
- }
74228
- } else {
74229
- capture = prefix + '(' + capture + ')';
74230
- }
74231
-
74232
- route += capture;
74233
- }
74234
- }
74235
-
74236
- var delimiter = escapeString(options.delimiter || '/');
74237
- var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;
74238
-
74239
- // In non-strict mode we allow a slash at the end of match. If the path to
74240
- // match already ends with a slash, we remove it for consistency. The slash
74241
- // is valid at the end of a path match, not in the middle. This is important
74242
- // in non-ending mode, where "/test/" shouldn't match "/test//route".
74243
- if (!strict) {
74244
- route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';
74245
- }
74246
-
74247
- if (end) {
74248
- route += '$';
74249
- } else {
74250
- // In non-ending mode, we need the capturing groups to match as much as
74251
- // possible by using a positive lookahead to the end or next path segment.
74252
- route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';
74253
- }
74254
-
74255
- return attachKeys(new RegExp('^' + route, flags(options)), keys)
74256
- }
74257
-
74258
- /**
74259
- * Normalize the given path string, returning a regular expression.
74260
- *
74261
- * An empty array can be passed in for the keys, which will hold the
74262
- * placeholder key descriptions. For example, using `/user/:id`, `keys` will
74263
- * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.
74264
- *
74265
- * @param {(string|RegExp|Array)} path
74266
- * @param {(Array|Object)=} keys
74267
- * @param {Object=} options
74268
- * @return {!RegExp}
74269
- */
74270
- function pathToRegexp (path, keys, options) {
74271
- if (!isarray(keys)) {
74272
- options = /** @type {!Object} */ (keys || options);
74273
- keys = [];
74274
- }
74275
-
74276
- options = options || {};
74277
-
74278
- if (path instanceof RegExp) {
74279
- return regexpToRegexp(path, /** @type {!Array} */ (keys))
74280
- }
74281
-
74282
- if (isarray(path)) {
74283
- return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)
74284
- }
74285
-
74286
- return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)
74287
- }
74288
-
74289
- var reactIsExports = requireReactIs$1();
74290
-
74291
- function _objectWithoutPropertiesLoose(source, excluded) {
74292
- if (source == null) return {};
74293
- var target = {};
74294
- var sourceKeys = Object.keys(source);
74295
- var key, i;
74296
- for (i = 0; i < sourceKeys.length; i++) {
74297
- key = sourceKeys[i];
74298
- if (excluded.indexOf(key) >= 0) continue;
74299
- target[key] = source[key];
74300
- }
74301
- return target;
74302
- }
74303
-
74304
- var reactIs = requireReactIs$1();
74305
-
74306
- /**
74307
- * Copyright 2015, Yahoo! Inc.
74308
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
74309
- */
74310
- var REACT_STATICS = {
74311
- childContextTypes: true,
74312
- contextType: true,
74313
- contextTypes: true,
74314
- defaultProps: true,
74315
- displayName: true,
74316
- getDefaultProps: true,
74317
- getDerivedStateFromError: true,
74318
- getDerivedStateFromProps: true,
74319
- mixins: true,
74320
- propTypes: true,
74321
- type: true
74322
- };
74323
- var KNOWN_STATICS = {
74324
- name: true,
74325
- length: true,
74326
- prototype: true,
74327
- caller: true,
74328
- callee: true,
74329
- arguments: true,
74330
- arity: true
74331
- };
74332
- var FORWARD_REF_STATICS = {
74333
- '$$typeof': true,
74334
- render: true,
74335
- defaultProps: true,
74336
- displayName: true,
74337
- propTypes: true
74338
- };
74339
- var MEMO_STATICS = {
74340
- '$$typeof': true,
74341
- compare: true,
74342
- defaultProps: true,
74343
- displayName: true,
74344
- propTypes: true,
74345
- type: true
74346
- };
74347
- var TYPE_STATICS = {};
74348
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
74349
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
74350
-
74351
- function getStatics(component) {
74352
- // React v16.11 and below
74353
- if (reactIs.isMemo(component)) {
74354
- return MEMO_STATICS;
74355
- } // React v16.12 and above
74356
-
74357
-
74358
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
74359
- }
74360
-
74361
- var defineProperty = Object.defineProperty;
74362
- var getOwnPropertyNames = Object.getOwnPropertyNames;
74363
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
74364
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
74365
- var getPrototypeOf = Object.getPrototypeOf;
74366
- var objectPrototype = Object.prototype;
74367
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
74368
- if (typeof sourceComponent !== 'string') {
74369
- // don't hoist over string (html) components
74370
- if (objectPrototype) {
74371
- var inheritedComponent = getPrototypeOf(sourceComponent);
74372
-
74373
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
74374
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
74375
- }
74376
- }
74377
-
74378
- var keys = getOwnPropertyNames(sourceComponent);
74379
-
74380
- if (getOwnPropertySymbols) {
74381
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
74382
- }
74383
-
74384
- var targetStatics = getStatics(targetComponent);
74385
- var sourceStatics = getStatics(sourceComponent);
74386
-
74387
- for (var i = 0; i < keys.length; ++i) {
74388
- var key = keys[i];
74389
-
74390
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
74391
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
74392
-
74393
- try {
74394
- // Avoid failures from read-only properties
74395
- defineProperty(targetComponent, key, descriptor);
74396
- } catch (e) {}
74397
- }
74398
- }
74399
- }
74400
-
74401
- return targetComponent;
74402
- }
74403
-
74404
- var hoistNonReactStatics_cjs = hoistNonReactStatics;
74405
-
74406
- var hoistStatics = hoistNonReactStatics_cjs;
74407
-
74408
- // TODO: Replace with React.createContext once we can assume React 16+
74409
-
74410
- var createNamedContext = function createNamedContext(name) {
74411
- var context = index$1();
74412
- context.displayName = name;
74413
- return context;
74414
- };
74415
-
74416
- var historyContext = /*#__PURE__*/createNamedContext("Router-History");
74417
-
74418
- var context = /*#__PURE__*/createNamedContext("Router");
74419
-
74420
- /**
74421
- * The public API for putting history on context.
74422
- */
74423
-
74424
- var Router = /*#__PURE__*/function (_React$Component) {
74425
- _inheritsLoose$1(Router, _React$Component);
74426
-
74427
- Router.computeRootMatch = function computeRootMatch(pathname) {
74428
- return {
74429
- path: "/",
74430
- url: "/",
74431
- params: {},
74432
- isExact: pathname === "/"
74433
- };
74434
- };
74435
-
74436
- function Router(props) {
74437
- var _this;
74438
-
74439
- _this = _React$Component.call(this, props) || this;
74440
- _this.state = {
74441
- location: props.history.location
74442
- }; // This is a bit of a hack. We have to start listening for location
74443
- // changes here in the constructor in case there are any <Redirect>s
74444
- // on the initial render. If there are, they will replace/push when
74445
- // they mount and since cDM fires in children before parents, we may
74446
- // get a new location before the <Router> is mounted.
74447
-
74448
- _this._isMounted = false;
74449
- _this._pendingLocation = null;
74450
-
74451
- if (!props.staticContext) {
74452
- _this.unlisten = props.history.listen(function (location) {
74453
- if (_this._isMounted) {
74454
- _this.setState({
74455
- location: location
74456
- });
74457
- } else {
74458
- _this._pendingLocation = location;
74459
- }
74460
- });
74461
- }
74462
-
74463
- return _this;
74464
- }
74465
-
74466
- var _proto = Router.prototype;
74467
-
74468
- _proto.componentDidMount = function componentDidMount() {
74469
- this._isMounted = true;
74470
-
74471
- if (this._pendingLocation) {
74472
- this.setState({
74473
- location: this._pendingLocation
74474
- });
74475
- }
74476
- };
74477
-
74478
- _proto.componentWillUnmount = function componentWillUnmount() {
74479
- if (this.unlisten) {
74480
- this.unlisten();
74481
- this._isMounted = false;
74482
- this._pendingLocation = null;
74483
- }
74484
- };
74485
-
74486
- _proto.render = function render() {
74487
- return /*#__PURE__*/React__default["default"].createElement(context.Provider, {
74488
- value: {
74489
- history: this.props.history,
74490
- location: this.state.location,
74491
- match: Router.computeRootMatch(this.state.location.pathname),
74492
- staticContext: this.props.staticContext
74493
- }
74494
- }, /*#__PURE__*/React__default["default"].createElement(historyContext.Provider, {
74495
- children: this.props.children || null,
74496
- value: this.props.history
74497
- }));
74498
- };
74499
-
74500
- return Router;
74501
- }(React__default["default"].Component);
74502
-
74503
- if (process.env.NODE_ENV !== "production") {
74504
- Router.propTypes = {
74505
- children: propTypes$1.exports.node,
74506
- history: propTypes$1.exports.object.isRequired,
74507
- staticContext: propTypes$1.exports.object
74508
- };
74509
-
74510
- Router.prototype.componentDidUpdate = function (prevProps) {
74511
- process.env.NODE_ENV !== "production" ? warning(prevProps.history === this.props.history, "You cannot change <Router history>") : void 0;
74512
- };
74513
- }
74514
-
74515
- /**
74516
- * The public API for a <Router> that stores location in memory.
74517
- */
74518
-
74519
- var MemoryRouter = /*#__PURE__*/function (_React$Component) {
74520
- _inheritsLoose$1(MemoryRouter, _React$Component);
74521
-
74522
- function MemoryRouter() {
74523
- var _this;
74524
-
74525
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
74526
- args[_key] = arguments[_key];
74527
- }
74528
-
74529
- _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
74530
- _this.history = createMemoryHistory(_this.props);
74531
- return _this;
74532
- }
74533
-
74534
- var _proto = MemoryRouter.prototype;
74535
-
74536
- _proto.render = function render() {
74537
- return /*#__PURE__*/React__default["default"].createElement(Router, {
74538
- history: this.history,
74539
- children: this.props.children
74540
- });
74541
- };
74542
-
74543
- return MemoryRouter;
74544
- }(React__default["default"].Component);
74545
-
74546
- if (process.env.NODE_ENV !== "production") {
74547
- MemoryRouter.propTypes = {
74548
- initialEntries: propTypes$1.exports.array,
74549
- initialIndex: propTypes$1.exports.number,
74550
- getUserConfirmation: propTypes$1.exports.func,
74551
- keyLength: propTypes$1.exports.number,
74552
- children: propTypes$1.exports.node
74553
- };
74554
-
74555
- MemoryRouter.prototype.componentDidMount = function () {
74556
- process.env.NODE_ENV !== "production" ? warning(!this.props.history, "<MemoryRouter> ignores the history prop. To use a custom history, " + "use `import { Router }` instead of `import { MemoryRouter as Router }`.") : void 0;
74557
- };
74558
- }
74559
-
74560
- var Lifecycle = /*#__PURE__*/function (_React$Component) {
74561
- _inheritsLoose$1(Lifecycle, _React$Component);
74562
-
74563
- function Lifecycle() {
74564
- return _React$Component.apply(this, arguments) || this;
74565
- }
74566
-
74567
- var _proto = Lifecycle.prototype;
74568
-
74569
- _proto.componentDidMount = function componentDidMount() {
74570
- if (this.props.onMount) this.props.onMount.call(this, this);
74571
- };
74572
-
74573
- _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
74574
- if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps);
74575
- };
74576
-
74577
- _proto.componentWillUnmount = function componentWillUnmount() {
74578
- if (this.props.onUnmount) this.props.onUnmount.call(this, this);
74579
- };
74580
-
74581
- _proto.render = function render() {
74582
- return null;
74583
- };
74584
-
74585
- return Lifecycle;
74586
- }(React__default["default"].Component);
74587
-
74588
- /**
74589
- * The public API for prompting the user before navigating away from a screen.
74590
- */
74591
-
74592
- function Prompt(_ref) {
74593
- var message = _ref.message,
74594
- _ref$when = _ref.when,
74595
- when = _ref$when === void 0 ? true : _ref$when;
74596
- return /*#__PURE__*/React__default["default"].createElement(context.Consumer, null, function (context) {
74597
- !context ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You should not use <Prompt> outside a <Router>") : invariant$1(false) : void 0;
74598
- if (!when || context.staticContext) return null;
74599
- var method = context.history.block;
74600
- return /*#__PURE__*/React__default["default"].createElement(Lifecycle, {
74601
- onMount: function onMount(self) {
74602
- self.release = method(message);
74603
- },
74604
- onUpdate: function onUpdate(self, prevProps) {
74605
- if (prevProps.message !== message) {
74606
- self.release();
74607
- self.release = method(message);
74608
- }
74609
- },
74610
- onUnmount: function onUnmount(self) {
74611
- self.release();
74612
- },
74613
- message: message
74614
- });
74615
- });
74616
- }
74617
-
74618
- if (process.env.NODE_ENV !== "production") {
74619
- var messageType = propTypes$1.exports.oneOfType([propTypes$1.exports.func, propTypes$1.exports.string]);
74620
- Prompt.propTypes = {
74621
- when: propTypes$1.exports.bool,
74622
- message: messageType.isRequired
74623
- };
74624
- }
74625
-
74626
- var cache = {};
74627
- var cacheLimit = 10000;
74628
- var cacheCount = 0;
74629
-
74630
- function compilePath(path) {
74631
- if (cache[path]) return cache[path];
74632
- var generator = pathToRegexp$1.exports.compile(path);
74633
-
74634
- if (cacheCount < cacheLimit) {
74635
- cache[path] = generator;
74636
- cacheCount++;
74637
- }
74638
-
74639
- return generator;
74640
- }
74641
- /**
74642
- * Public API for generating a URL pathname from a path and parameters.
74643
- */
74644
-
74645
-
74646
- function generatePath(path, params) {
74647
- if (path === void 0) {
74648
- path = "/";
74649
- }
74650
-
74651
- if (params === void 0) {
74652
- params = {};
74653
- }
74654
-
74655
- return path === "/" ? path : compilePath(path)(params, {
74656
- pretty: true
74657
- });
74658
- }
74659
-
74660
- /**
74661
- * The public API for navigating programmatically with a component.
74662
- */
74663
-
74664
- function Redirect(_ref) {
74665
- var computedMatch = _ref.computedMatch,
74666
- to = _ref.to,
74667
- _ref$push = _ref.push,
74668
- push = _ref$push === void 0 ? false : _ref$push;
74669
- return /*#__PURE__*/React__default["default"].createElement(context.Consumer, null, function (context) {
74670
- !context ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You should not use <Redirect> outside a <Router>") : invariant$1(false) : void 0;
74671
- var history = context.history,
74672
- staticContext = context.staticContext;
74673
- var method = push ? history.push : history.replace;
74674
- var location = createLocation(computedMatch ? typeof to === "string" ? generatePath(to, computedMatch.params) : _extends({}, to, {
74675
- pathname: generatePath(to.pathname, computedMatch.params)
74676
- }) : to); // When rendering in a static context,
74677
- // set the new location immediately.
74678
-
74679
- if (staticContext) {
74680
- method(location);
74681
- return null;
74682
- }
74683
-
74684
- return /*#__PURE__*/React__default["default"].createElement(Lifecycle, {
74685
- onMount: function onMount() {
74686
- method(location);
74687
- },
74688
- onUpdate: function onUpdate(self, prevProps) {
74689
- var prevLocation = createLocation(prevProps.to);
74690
-
74691
- if (!locationsAreEqual(prevLocation, _extends({}, location, {
74692
- key: prevLocation.key
74693
- }))) {
74694
- method(location);
74695
- }
74696
- },
74697
- to: to
74698
- });
74699
- });
74700
- }
74701
-
74702
- if (process.env.NODE_ENV !== "production") {
74703
- Redirect.propTypes = {
74704
- push: propTypes$1.exports.bool,
74705
- from: propTypes$1.exports.string,
74706
- to: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.object]).isRequired
74707
- };
74708
- }
74709
-
74710
- var cache$1 = {};
74711
- var cacheLimit$1 = 10000;
74712
- var cacheCount$1 = 0;
74713
-
74714
- function compilePath$1(path, options) {
74715
- var cacheKey = "" + options.end + options.strict + options.sensitive;
74716
- var pathCache = cache$1[cacheKey] || (cache$1[cacheKey] = {});
74717
- if (pathCache[path]) return pathCache[path];
74718
- var keys = [];
74719
- var regexp = pathToRegexp$1.exports(path, keys, options);
74720
- var result = {
74721
- regexp: regexp,
74722
- keys: keys
74723
- };
74724
-
74725
- if (cacheCount$1 < cacheLimit$1) {
74726
- pathCache[path] = result;
74727
- cacheCount$1++;
74728
- }
74729
-
74730
- return result;
74731
- }
74732
- /**
74733
- * Public API for matching a URL pathname to a path.
74734
- */
74735
-
74736
-
74737
- function matchPath(pathname, options) {
74738
- if (options === void 0) {
74739
- options = {};
74740
- }
74741
-
74742
- if (typeof options === "string" || Array.isArray(options)) {
74743
- options = {
74744
- path: options
74745
- };
74746
- }
74747
-
74748
- var _options = options,
74749
- path = _options.path,
74750
- _options$exact = _options.exact,
74751
- exact = _options$exact === void 0 ? false : _options$exact,
74752
- _options$strict = _options.strict,
74753
- strict = _options$strict === void 0 ? false : _options$strict,
74754
- _options$sensitive = _options.sensitive,
74755
- sensitive = _options$sensitive === void 0 ? false : _options$sensitive;
74756
- var paths = [].concat(path);
74757
- return paths.reduce(function (matched, path) {
74758
- if (!path && path !== "") return null;
74759
- if (matched) return matched;
74760
-
74761
- var _compilePath = compilePath$1(path, {
74762
- end: exact,
74763
- strict: strict,
74764
- sensitive: sensitive
74765
- }),
74766
- regexp = _compilePath.regexp,
74767
- keys = _compilePath.keys;
74768
-
74769
- var match = regexp.exec(pathname);
74770
- if (!match) return null;
74771
- var url = match[0],
74772
- values = match.slice(1);
74773
- var isExact = pathname === url;
74774
- if (exact && !isExact) return null;
74775
- return {
74776
- path: path,
74777
- // the path used to match
74778
- url: path === "/" && url === "" ? "/" : url,
74779
- // the matched portion of the URL
74780
- isExact: isExact,
74781
- // whether or not we matched exactly
74782
- params: keys.reduce(function (memo, key, index) {
74783
- memo[key.name] = values[index];
74784
- return memo;
74785
- }, {})
74786
- };
74787
- }, null);
74788
- }
74789
-
74790
- function isEmptyChildren(children) {
74791
- return React__default["default"].Children.count(children) === 0;
74792
- }
74793
-
74794
- function evalChildrenDev(children, props, path) {
74795
- var value = children(props);
74796
- process.env.NODE_ENV !== "production" ? warning(value !== undefined, "You returned `undefined` from the `children` function of " + ("<Route" + (path ? " path=\"" + path + "\"" : "") + ">, but you ") + "should have returned a React element or `null`") : void 0;
74797
- return value || null;
74798
- }
74799
- /**
74800
- * The public API for matching a single path and rendering.
74801
- */
74802
-
74803
-
74804
- var Route = /*#__PURE__*/function (_React$Component) {
74805
- _inheritsLoose$1(Route, _React$Component);
74806
-
74807
- function Route() {
74808
- return _React$Component.apply(this, arguments) || this;
74809
- }
74810
-
74811
- var _proto = Route.prototype;
74812
-
74813
- _proto.render = function render() {
74814
- var _this = this;
74815
-
74816
- return /*#__PURE__*/React__default["default"].createElement(context.Consumer, null, function (context$1) {
74817
- !context$1 ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You should not use <Route> outside a <Router>") : invariant$1(false) : void 0;
74818
- var location = _this.props.location || context$1.location;
74819
- var match = _this.props.computedMatch ? _this.props.computedMatch // <Switch> already computed the match for us
74820
- : _this.props.path ? matchPath(location.pathname, _this.props) : context$1.match;
74821
-
74822
- var props = _extends({}, context$1, {
74823
- location: location,
74824
- match: match
74825
- });
74826
-
74827
- var _this$props = _this.props,
74828
- children = _this$props.children,
74829
- component = _this$props.component,
74830
- render = _this$props.render; // Preact uses an empty array as children by
74831
- // default, so use null if that's the case.
74832
-
74833
- if (Array.isArray(children) && isEmptyChildren(children)) {
74834
- children = null;
74835
- }
74836
-
74837
- return /*#__PURE__*/React__default["default"].createElement(context.Provider, {
74838
- value: props
74839
- }, props.match ? children ? typeof children === "function" ? process.env.NODE_ENV !== "production" ? evalChildrenDev(children, props, _this.props.path) : children(props) : children : component ? /*#__PURE__*/React__default["default"].createElement(component, props) : render ? render(props) : null : typeof children === "function" ? process.env.NODE_ENV !== "production" ? evalChildrenDev(children, props, _this.props.path) : children(props) : null);
74840
- });
74841
- };
74842
-
74843
- return Route;
74844
- }(React__default["default"].Component);
74845
-
74846
- if (process.env.NODE_ENV !== "production") {
74847
- Route.propTypes = {
74848
- children: propTypes$1.exports.oneOfType([propTypes$1.exports.func, propTypes$1.exports.node]),
74849
- component: function component(props, propName) {
74850
- if (props[propName] && !reactIsExports.isValidElementType(props[propName])) {
74851
- return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component");
74852
- }
74853
- },
74854
- exact: propTypes$1.exports.bool,
74855
- location: propTypes$1.exports.object,
74856
- path: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.arrayOf(propTypes$1.exports.string)]),
74857
- render: propTypes$1.exports.func,
74858
- sensitive: propTypes$1.exports.bool,
74859
- strict: propTypes$1.exports.bool
74860
- };
74861
-
74862
- Route.prototype.componentDidMount = function () {
74863
- process.env.NODE_ENV !== "production" ? warning(!(this.props.children && !isEmptyChildren(this.props.children) && this.props.component), "You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored") : void 0;
74864
- process.env.NODE_ENV !== "production" ? warning(!(this.props.children && !isEmptyChildren(this.props.children) && this.props.render), "You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored") : void 0;
74865
- process.env.NODE_ENV !== "production" ? warning(!(this.props.component && this.props.render), "You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored") : void 0;
74866
- };
74867
-
74868
- Route.prototype.componentDidUpdate = function (prevProps) {
74869
- process.env.NODE_ENV !== "production" ? warning(!(this.props.location && !prevProps.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.') : void 0;
74870
- process.env.NODE_ENV !== "production" ? warning(!(!this.props.location && prevProps.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.') : void 0;
74871
- };
74872
- }
74873
-
74874
- function addLeadingSlash(path) {
74875
- return path.charAt(0) === "/" ? path : "/" + path;
74876
- }
74877
-
74878
- function addBasename(basename, location) {
74879
- if (!basename) return location;
74880
- return _extends({}, location, {
74881
- pathname: addLeadingSlash(basename) + location.pathname
74882
- });
74883
- }
74884
-
74885
- function stripBasename(basename, location) {
74886
- if (!basename) return location;
74887
- var base = addLeadingSlash(basename);
74888
- if (location.pathname.indexOf(base) !== 0) return location;
74889
- return _extends({}, location, {
74890
- pathname: location.pathname.substr(base.length)
74891
- });
74892
- }
74893
-
74894
- function createURL(location) {
74895
- return typeof location === "string" ? location : createPath(location);
74896
- }
74897
-
74898
- function staticHandler(methodName) {
74899
- return function () {
74900
- process.env.NODE_ENV !== "production" ? invariant$1(false, "You cannot %s with <StaticRouter>") : invariant$1(false) ;
74901
- };
74902
- }
74903
-
74904
- function noop() {}
74905
- /**
74906
- * The public top-level API for a "static" <Router>, so-called because it
74907
- * can't actually change the current location. Instead, it just records
74908
- * location changes in a context object. Useful mainly in testing and
74909
- * server-rendering scenarios.
74910
- */
74911
-
74912
-
74913
- var StaticRouter = /*#__PURE__*/function (_React$Component) {
74914
- _inheritsLoose$1(StaticRouter, _React$Component);
74915
-
74916
- function StaticRouter() {
74917
- var _this;
74918
-
74919
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
74920
- args[_key] = arguments[_key];
74921
- }
74922
-
74923
- _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
74924
-
74925
- _this.handlePush = function (location) {
74926
- return _this.navigateTo(location, "PUSH");
74927
- };
74928
-
74929
- _this.handleReplace = function (location) {
74930
- return _this.navigateTo(location, "REPLACE");
74931
- };
74932
-
74933
- _this.handleListen = function () {
74934
- return noop;
74935
- };
74936
-
74937
- _this.handleBlock = function () {
74938
- return noop;
74939
- };
74940
-
74941
- return _this;
74942
- }
74943
-
74944
- var _proto = StaticRouter.prototype;
74945
-
74946
- _proto.navigateTo = function navigateTo(location, action) {
74947
- var _this$props = this.props,
74948
- _this$props$basename = _this$props.basename,
74949
- basename = _this$props$basename === void 0 ? "" : _this$props$basename,
74950
- _this$props$context = _this$props.context,
74951
- context = _this$props$context === void 0 ? {} : _this$props$context;
74952
- context.action = action;
74953
- context.location = addBasename(basename, createLocation(location));
74954
- context.url = createURL(context.location);
74955
- };
74956
-
74957
- _proto.render = function render() {
74958
- var _this$props2 = this.props,
74959
- _this$props2$basename = _this$props2.basename,
74960
- basename = _this$props2$basename === void 0 ? "" : _this$props2$basename,
74961
- _this$props2$context = _this$props2.context,
74962
- context = _this$props2$context === void 0 ? {} : _this$props2$context,
74963
- _this$props2$location = _this$props2.location,
74964
- location = _this$props2$location === void 0 ? "/" : _this$props2$location,
74965
- rest = _objectWithoutPropertiesLoose(_this$props2, ["basename", "context", "location"]);
74966
-
74967
- var history = {
74968
- createHref: function createHref(path) {
74969
- return addLeadingSlash(basename + createURL(path));
74970
- },
74971
- action: "POP",
74972
- location: stripBasename(basename, createLocation(location)),
74973
- push: this.handlePush,
74974
- replace: this.handleReplace,
74975
- go: staticHandler(),
74976
- goBack: staticHandler(),
74977
- goForward: staticHandler(),
74978
- listen: this.handleListen,
74979
- block: this.handleBlock
74980
- };
74981
- return /*#__PURE__*/React__default["default"].createElement(Router, _extends({}, rest, {
74982
- history: history,
74983
- staticContext: context
74984
- }));
74985
- };
74986
-
74987
- return StaticRouter;
74988
- }(React__default["default"].Component);
74989
-
74990
- if (process.env.NODE_ENV !== "production") {
74991
- StaticRouter.propTypes = {
74992
- basename: propTypes$1.exports.string,
74993
- context: propTypes$1.exports.object,
74994
- location: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.object])
74995
- };
74996
-
74997
- StaticRouter.prototype.componentDidMount = function () {
74998
- process.env.NODE_ENV !== "production" ? warning(!this.props.history, "<StaticRouter> ignores the history prop. To use a custom history, " + "use `import { Router }` instead of `import { StaticRouter as Router }`.") : void 0;
74999
- };
75000
- }
75001
-
75002
- /**
75003
- * The public API for rendering the first <Route> that matches.
75004
- */
75005
-
75006
- var Switch = /*#__PURE__*/function (_React$Component) {
75007
- _inheritsLoose$1(Switch, _React$Component);
75008
-
75009
- function Switch() {
75010
- return _React$Component.apply(this, arguments) || this;
75011
- }
75012
-
75013
- var _proto = Switch.prototype;
75014
-
75015
- _proto.render = function render() {
75016
- var _this = this;
75017
-
75018
- return /*#__PURE__*/React__default["default"].createElement(context.Consumer, null, function (context) {
75019
- !context ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You should not use <Switch> outside a <Router>") : invariant$1(false) : void 0;
75020
- var location = _this.props.location || context.location;
75021
- var element, match; // We use React.Children.forEach instead of React.Children.toArray().find()
75022
- // here because toArray adds keys to all child elements and we do not want
75023
- // to trigger an unmount/remount for two <Route>s that render the same
75024
- // component at different URLs.
75025
-
75026
- React__default["default"].Children.forEach(_this.props.children, function (child) {
75027
- if (match == null && /*#__PURE__*/React__default["default"].isValidElement(child)) {
75028
- element = child;
75029
- var path = child.props.path || child.props.from;
75030
- match = path ? matchPath(location.pathname, _extends({}, child.props, {
75031
- path: path
75032
- })) : context.match;
75033
- }
75034
- });
75035
- return match ? /*#__PURE__*/React__default["default"].cloneElement(element, {
75036
- location: location,
75037
- computedMatch: match
75038
- }) : null;
75039
- });
75040
- };
75041
-
75042
- return Switch;
75043
- }(React__default["default"].Component);
75044
-
75045
- if (process.env.NODE_ENV !== "production") {
75046
- Switch.propTypes = {
75047
- children: propTypes$1.exports.node,
75048
- location: propTypes$1.exports.object
75049
- };
75050
-
75051
- Switch.prototype.componentDidUpdate = function (prevProps) {
75052
- process.env.NODE_ENV !== "production" ? warning(!(this.props.location && !prevProps.location), '<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.') : void 0;
75053
- process.env.NODE_ENV !== "production" ? warning(!(!this.props.location && prevProps.location), '<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.') : void 0;
75054
- };
75055
- }
75056
-
75057
- /**
75058
- * A public higher-order component to access the imperative API
75059
- */
75060
-
75061
- function withRouter(Component) {
75062
- var displayName = "withRouter(" + (Component.displayName || Component.name) + ")";
75063
-
75064
- var C = function C(props) {
75065
- var wrappedComponentRef = props.wrappedComponentRef,
75066
- remainingProps = _objectWithoutPropertiesLoose(props, ["wrappedComponentRef"]);
75067
-
75068
- return /*#__PURE__*/React__default["default"].createElement(context.Consumer, null, function (context) {
75069
- !context ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You should not use <" + displayName + " /> outside a <Router>") : invariant$1(false) : void 0;
75070
- return /*#__PURE__*/React__default["default"].createElement(Component, _extends({}, remainingProps, context, {
75071
- ref: wrappedComponentRef
75072
- }));
75073
- });
75074
- };
75075
-
75076
- C.displayName = displayName;
75077
- C.WrappedComponent = Component;
75078
-
75079
- if (process.env.NODE_ENV !== "production") {
75080
- C.propTypes = {
75081
- wrappedComponentRef: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.func, propTypes$1.exports.object])
75082
- };
75083
- }
75084
-
75085
- return hoistStatics(C, Component);
75086
- }
75087
-
75088
- var useContext = React__default["default"].useContext;
75089
- function useHistory() {
75090
- if (process.env.NODE_ENV !== "production") {
75091
- !(typeof useContext === "function") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You must use React >= 16.8 in order to use useHistory()") : invariant$1(false) : void 0;
75092
- }
75093
-
75094
- return useContext(historyContext);
75095
- }
75096
- function useLocation() {
75097
- if (process.env.NODE_ENV !== "production") {
75098
- !(typeof useContext === "function") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You must use React >= 16.8 in order to use useLocation()") : invariant$1(false) : void 0;
75099
- }
75100
-
75101
- return useContext(context).location;
75102
- }
75103
- function useParams() {
75104
- if (process.env.NODE_ENV !== "production") {
75105
- !(typeof useContext === "function") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You must use React >= 16.8 in order to use useParams()") : invariant$1(false) : void 0;
75106
- }
75107
-
75108
- var match = useContext(context).match;
75109
- return match ? match.params : {};
75110
- }
75111
- function useRouteMatch(path) {
75112
- if (process.env.NODE_ENV !== "production") {
75113
- !(typeof useContext === "function") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "You must use React >= 16.8 in order to use useRouteMatch()") : invariant$1(false) : void 0;
75114
- }
75115
-
75116
- var location = useLocation();
75117
- var match = useContext(context).match;
75118
- return path ? matchPath(location.pathname, path) : match;
75119
- }
75120
-
75121
- if (process.env.NODE_ENV !== "production") {
75122
- if (typeof window !== "undefined") {
75123
- var global$1 = window;
75124
- var key = "__react_router_build__";
75125
- var buildNames = {
75126
- cjs: "CommonJS",
75127
- esm: "ES modules",
75128
- umd: "UMD"
75129
- };
75130
-
75131
- if (global$1[key] && global$1[key] !== "esm") {
75132
- var initialBuildName = buildNames[global$1[key]];
75133
- var secondaryBuildName = buildNames["esm"]; // TODO: Add link to article that explains in detail how to avoid
75134
- // loading 2 different builds.
75135
-
75136
- throw new Error("You are loading the " + secondaryBuildName + " build of React Router " + ("on a page that is already running the " + initialBuildName + " ") + "build, so things won't work right.");
75137
- }
75138
-
75139
- global$1[key] = "esm";
75140
- }
75141
- }
75142
-
75143
- var reactRouter = /*#__PURE__*/Object.freeze({
75144
- __proto__: null,
75145
- MemoryRouter: MemoryRouter,
75146
- Prompt: Prompt,
75147
- Redirect: Redirect,
75148
- Route: Route,
75149
- Router: Router,
75150
- StaticRouter: StaticRouter,
75151
- Switch: Switch,
75152
- __HistoryContext: historyContext,
75153
- __RouterContext: context,
75154
- generatePath: generatePath,
75155
- matchPath: matchPath,
75156
- useHistory: useHistory,
75157
- useLocation: useLocation,
75158
- useParams: useParams,
75159
- useRouteMatch: useRouteMatch,
75160
- withRouter: withRouter
75161
- });
75162
-
75163
- var require$$0 = /*@__PURE__*/getAugmentedNamespace(reactRouter);
75164
-
75165
- var require$$2 = /*@__PURE__*/getAugmentedNamespace(history);
75166
-
75167
- var isProduction = process.env.NODE_ENV === 'production';
75168
- var prefix = 'Invariant failed';
75169
- function invariant(condition, message) {
75170
- if (condition) {
75171
- return;
75172
- }
75173
- if (isProduction) {
75174
- throw new Error(prefix);
75175
- }
75176
- var provided = typeof message === 'function' ? message() : message;
75177
- var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
75178
- throw new Error(value);
75179
- }
75180
-
75181
- var tinyInvariant_cjs = invariant;
75182
-
75183
- (function (exports) {
75184
- function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var reactRouter=require$$0,React=_interopDefault(React__default["default"]),history=require$$2;var invariant=_interopDefault(tinyInvariant_cjs);function _extends(){return (_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);}return e}).apply(this,arguments)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),_setPrototypeOf(e.prototype.constructor=e,t);}function _setPrototypeOf(e,t){return (_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return {};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],0<=t.indexOf(r)||(n[r]=e[r]);return n}var BrowserRouter=function(n){function e(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return (e=n.call.apply(n,[this].concat(r))||this).history=history.createBrowserHistory(e.props),e}return _inheritsLoose(e,n),e.prototype.render=function(){return React.createElement(reactRouter.Router,{history:this.history,children:this.props.children})},e}(React.Component),HashRouter=function(n){function e(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return (e=n.call.apply(n,[this].concat(r))||this).history=history.createHashHistory(e.props),e}return _inheritsLoose(e,n),e.prototype.render=function(){return React.createElement(reactRouter.Router,{history:this.history,children:this.props.children})},e}(React.Component),resolveToLocation=function(e,t){return "function"==typeof e?e(t):e},normalizeToLocation=function(e,t){return "string"==typeof e?history.createLocation(e,null,null,t):e},forwardRefShim=function(e){return e},forwardRef=React.forwardRef;function isModifiedEvent(e){return !!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}void 0===forwardRef&&(forwardRef=forwardRefShim);var LinkAnchor=forwardRef(function(e,t){var r=e.innerRef,o=e.navigate,n=e.onClick,a=_objectWithoutPropertiesLoose(e,["innerRef","navigate","onClick"]),i=a.target,c=_extends({},a,{onClick:function(t){try{n&&n(t);}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||i&&"_self"!==i||isModifiedEvent(t)||(t.preventDefault(),o());}});return c.ref=forwardRefShim!==forwardRef&&t||r,React.createElement("a",c)}),Link=forwardRef(function(e,a){var t=e.component,i=void 0===t?LinkAnchor:t,c=e.replace,u=e.to,f=e.innerRef,s=_objectWithoutPropertiesLoose(e,["component","replace","to","innerRef"]);return React.createElement(reactRouter.__RouterContext.Consumer,null,function(r){r||invariant(!1);var o=r.history,e=normalizeToLocation(resolveToLocation(u,r.location),r.location),t=e?o.createHref(e):"",n=_extends({},s,{href:t,navigate:function(){var e=resolveToLocation(u,r.location),t=history.createPath(r.location)===history.createPath(normalizeToLocation(e));(c||t?o.replace:o.push)(e);}});return forwardRefShim!==forwardRef?n.ref=a||f:n.innerRef=f,React.createElement(i,n)})}),forwardRefShim$1=function(e){return e},forwardRef$1=React.forwardRef;function joinClassnames(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(e){return e}).join(" ")}void 0===forwardRef$1&&(forwardRef$1=forwardRefShim$1);var NavLink=forwardRef$1(function(e,s){var t=e["aria-current"],l=void 0===t?"page":t,r=e.activeClassName,p=void 0===r?"active":r,R=e.activeStyle,h=e.className,y=e.exact,d=e.isActive,m=e.location,v=e.sensitive,b=e.strict,P=e.style,w=e.to,x=e.innerRef,g=_objectWithoutPropertiesLoose(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return React.createElement(reactRouter.__RouterContext.Consumer,null,function(e){e||invariant(!1);var t=m||e.location,r=normalizeToLocation(resolveToLocation(w,t),t),o=r.pathname,n=o&&o.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),a=n?reactRouter.matchPath(t.pathname,{path:n,exact:y,sensitive:v,strict:b}):null,i=!!(d?d(a,t):a),c="function"==typeof h?h(i):h,u="function"==typeof P?P(i):P;i&&(c=joinClassnames(c,p),u=_extends({},u,R));var f=_extends({"aria-current":i&&l||null,className:c,style:u,to:r},g);return forwardRefShim$1!==forwardRef$1?f.ref=s||x:f.innerRef=x,React.createElement(Link,f)})});Object.defineProperty(exports,"MemoryRouter",{enumerable:!0,get:function(){return reactRouter.MemoryRouter}}),Object.defineProperty(exports,"Prompt",{enumerable:!0,get:function(){return reactRouter.Prompt}}),Object.defineProperty(exports,"Redirect",{enumerable:!0,get:function(){return reactRouter.Redirect}}),Object.defineProperty(exports,"Route",{enumerable:!0,get:function(){return reactRouter.Route}}),Object.defineProperty(exports,"Router",{enumerable:!0,get:function(){return reactRouter.Router}}),Object.defineProperty(exports,"StaticRouter",{enumerable:!0,get:function(){return reactRouter.StaticRouter}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return reactRouter.Switch}}),Object.defineProperty(exports,"generatePath",{enumerable:!0,get:function(){return reactRouter.generatePath}}),Object.defineProperty(exports,"matchPath",{enumerable:!0,get:function(){return reactRouter.matchPath}}),Object.defineProperty(exports,"useHistory",{enumerable:!0,get:function(){return reactRouter.useHistory}}),Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return reactRouter.useLocation}}),Object.defineProperty(exports,"useParams",{enumerable:!0,get:function(){return reactRouter.useParams}}),Object.defineProperty(exports,"useRouteMatch",{enumerable:!0,get:function(){return reactRouter.useRouteMatch}}),Object.defineProperty(exports,"withRouter",{enumerable:!0,get:function(){return reactRouter.withRouter}}),exports.BrowserRouter=BrowserRouter,exports.HashRouter=HashRouter,exports.Link=Link,exports.NavLink=NavLink;
75185
-
75186
- } (reactRouterDom_min));
75187
-
75188
72540
  var DeleteAlert = function DeleteAlert(_ref) {
75189
72541
  var isOpen = _ref.isOpen,
75190
72542
  onClose = _ref.onClose,
@@ -75192,7 +72544,7 @@ var DeleteAlert = function DeleteAlert(_ref) {
75192
72544
  columns = _ref.columns;
75193
72545
  var _useTranslation = useTranslation(),
75194
72546
  t = _useTranslation.t;
75195
- var history = reactRouterDom_min.useHistory();
72547
+ var history = reactRouterDom.useHistory();
75196
72548
  var _getQueryParams = getQueryParams(),
75197
72549
  segmentId = _getQueryParams.segmentId;
75198
72550
  var _useDestroySegment = useDestroySegment(),