@opengeoweb/webmap-react 9.5.0 → 9.6.0

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/index.esm.js CHANGED
@@ -9,6 +9,7 @@ import * as turf from '@turf/turf';
9
9
  import { polygonToLineString, booleanClockwise, rewind } from '@turf/turf';
10
10
  import { Delete, Edit, DrawRegion, DrawPolygon, Location, DrawFIRLand, ArrowUp, Home, Add, Minus } from '@opengeoweb/theme';
11
11
  import produce from 'immer';
12
+ import { debounce } from 'throttle-debounce';
12
13
  import { differenceInMinutes } from 'date-fns';
13
14
  import { useResizeDetector } from 'react-resize-detector';
14
15
 
@@ -373,7 +374,7 @@ CanvasComponent.defaultProps = {
373
374
 
374
375
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
375
376
 
376
- var fails$m = function (exec) {
377
+ var fails$i = function (exec) {
377
378
  try {
378
379
  return !!exec();
379
380
  } catch (error) {
@@ -381,9 +382,9 @@ var fails$m = function (exec) {
381
382
  }
382
383
  };
383
384
 
384
- var fails$l = fails$m;
385
+ var fails$h = fails$i;
385
386
 
386
- var functionBindNative = !fails$l(function () {
387
+ var functionBindNative = !fails$h(function () {
387
388
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
388
389
  var test = (function () { /* empty */ }).bind();
389
390
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -393,63 +394,63 @@ var functionBindNative = !fails$l(function () {
393
394
  var NATIVE_BIND$3 = functionBindNative;
394
395
 
395
396
  var FunctionPrototype$2 = Function.prototype;
396
- var call$i = FunctionPrototype$2.call;
397
- var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$i, call$i);
397
+ var call$f = FunctionPrototype$2.call;
398
+ var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$f, call$f);
398
399
 
399
400
  var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
400
401
  return function () {
401
- return call$i.apply(fn, arguments);
402
+ return call$f.apply(fn, arguments);
402
403
  };
403
404
  };
404
405
 
405
- var uncurryThis$n = functionUncurryThis;
406
+ var uncurryThis$j = functionUncurryThis;
406
407
 
407
- var toString$8 = uncurryThis$n({}.toString);
408
- var stringSlice$5 = uncurryThis$n(''.slice);
408
+ var toString$6 = uncurryThis$j({}.toString);
409
+ var stringSlice$1 = uncurryThis$j(''.slice);
409
410
 
410
411
  var classofRaw$2 = function (it) {
411
- return stringSlice$5(toString$8(it), 8, -1);
412
+ return stringSlice$1(toString$6(it), 8, -1);
412
413
  };
413
414
 
414
- var uncurryThis$m = functionUncurryThis;
415
- var fails$k = fails$m;
416
- var classof$8 = classofRaw$2;
415
+ var uncurryThis$i = functionUncurryThis;
416
+ var fails$g = fails$i;
417
+ var classof$7 = classofRaw$2;
417
418
 
418
419
  var $Object$4 = Object;
419
- var split = uncurryThis$m(''.split);
420
+ var split = uncurryThis$i(''.split);
420
421
 
421
422
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
422
- var indexedObject = fails$k(function () {
423
+ var indexedObject = fails$g(function () {
423
424
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
424
425
  // eslint-disable-next-line no-prototype-builtins -- safe
425
426
  return !$Object$4('z').propertyIsEnumerable(0);
426
427
  }) ? function (it) {
427
- return classof$8(it) === 'String' ? split(it, '') : $Object$4(it);
428
+ return classof$7(it) === 'String' ? split(it, '') : $Object$4(it);
428
429
  } : $Object$4;
429
430
 
430
431
  // we can't use just `it == null` since of `document.all` special case
431
432
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
432
- var isNullOrUndefined$5 = function (it) {
433
+ var isNullOrUndefined$4 = function (it) {
433
434
  return it === null || it === undefined;
434
435
  };
435
436
 
436
- var isNullOrUndefined$4 = isNullOrUndefined$5;
437
+ var isNullOrUndefined$3 = isNullOrUndefined$4;
437
438
 
438
439
  var $TypeError$f = TypeError;
439
440
 
440
441
  // `RequireObjectCoercible` abstract operation
441
442
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
442
- var requireObjectCoercible$6 = function (it) {
443
- if (isNullOrUndefined$4(it)) throw new $TypeError$f("Can't call method on " + it);
443
+ var requireObjectCoercible$4 = function (it) {
444
+ if (isNullOrUndefined$3(it)) throw new $TypeError$f("Can't call method on " + it);
444
445
  return it;
445
446
  };
446
447
 
447
448
  // toObject with fallback for non-array-like ES3 strings
448
449
  var IndexedObject$2 = indexedObject;
449
- var requireObjectCoercible$5 = requireObjectCoercible$6;
450
+ var requireObjectCoercible$3 = requireObjectCoercible$4;
450
451
 
451
452
  var toIndexedObject$5 = function (it) {
452
- return IndexedObject$2(requireObjectCoercible$5(it));
453
+ return IndexedObject$2(requireObjectCoercible$3(it));
453
454
  };
454
455
 
455
456
  var check = function (it) {
@@ -457,7 +458,7 @@ var check = function (it) {
457
458
  };
458
459
 
459
460
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
460
- var global$m =
461
+ var global$j =
461
462
  // eslint-disable-next-line es/no-global-this -- safe
462
463
  check(typeof globalThis == 'object' && globalThis) ||
463
464
  check(typeof window == 'object' && window) ||
@@ -468,32 +469,32 @@ var global$m =
468
469
  // eslint-disable-next-line no-new-func -- fallback
469
470
  (function () { return this; })() || Function('return this')();
470
471
 
471
- var shared$4 = {exports: {}};
472
+ var shared$3 = {exports: {}};
472
473
 
473
- var global$l = global$m;
474
+ var global$i = global$j;
474
475
 
475
476
  // eslint-disable-next-line es/no-object-defineproperty -- safe
476
477
  var defineProperty$6 = Object.defineProperty;
477
478
 
478
479
  var defineGlobalProperty$3 = function (key, value) {
479
480
  try {
480
- defineProperty$6(global$l, key, { value: value, configurable: true, writable: true });
481
+ defineProperty$6(global$i, key, { value: value, configurable: true, writable: true });
481
482
  } catch (error) {
482
- global$l[key] = value;
483
+ global$i[key] = value;
483
484
  } return value;
484
485
  };
485
486
 
486
- var global$k = global$m;
487
+ var global$h = global$j;
487
488
  var defineGlobalProperty$2 = defineGlobalProperty$3;
488
489
 
489
490
  var SHARED = '__core-js_shared__';
490
- var store$3 = global$k[SHARED] || defineGlobalProperty$2(SHARED, {});
491
+ var store$3 = global$h[SHARED] || defineGlobalProperty$2(SHARED, {});
491
492
 
492
493
  var sharedStore = store$3;
493
494
 
494
495
  var store$2 = sharedStore;
495
496
 
496
- (shared$4.exports = function (key, value) {
497
+ (shared$3.exports = function (key, value) {
497
498
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
498
499
  })('versions', []).push({
499
500
  version: '3.34.0',
@@ -503,20 +504,20 @@ var store$2 = sharedStore;
503
504
  source: 'https://github.com/zloirock/core-js'
504
505
  });
505
506
 
506
- var requireObjectCoercible$4 = requireObjectCoercible$6;
507
+ var requireObjectCoercible$2 = requireObjectCoercible$4;
507
508
 
508
509
  var $Object$3 = Object;
509
510
 
510
511
  // `ToObject` abstract operation
511
512
  // https://tc39.es/ecma262/#sec-toobject
512
513
  var toObject$5 = function (argument) {
513
- return $Object$3(requireObjectCoercible$4(argument));
514
+ return $Object$3(requireObjectCoercible$2(argument));
514
515
  };
515
516
 
516
- var uncurryThis$l = functionUncurryThis;
517
+ var uncurryThis$h = functionUncurryThis;
517
518
  var toObject$4 = toObject$5;
518
519
 
519
- var hasOwnProperty = uncurryThis$l({}.hasOwnProperty);
520
+ var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);
520
521
 
521
522
  // `HasOwnProperty` abstract operation
522
523
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -525,23 +526,23 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
525
526
  return hasOwnProperty(toObject$4(it), key);
526
527
  };
527
528
 
528
- var uncurryThis$k = functionUncurryThis;
529
+ var uncurryThis$g = functionUncurryThis;
529
530
 
530
531
  var id = 0;
531
532
  var postfix = Math.random();
532
- var toString$7 = uncurryThis$k(1.0.toString);
533
+ var toString$5 = uncurryThis$g(1.0.toString);
533
534
 
534
535
  var uid$2 = function (key) {
535
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36);
536
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
536
537
  };
537
538
 
538
539
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
539
540
 
540
- var global$j = global$m;
541
- var userAgent$3 = engineUserAgent;
541
+ var global$g = global$j;
542
+ var userAgent$5 = engineUserAgent;
542
543
 
543
- var process$3 = global$j.process;
544
- var Deno$1 = global$j.Deno;
544
+ var process$3 = global$g.process;
545
+ var Deno$1 = global$g.Deno;
545
546
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
546
547
  var v8 = versions && versions.v8;
547
548
  var match, version;
@@ -555,10 +556,10 @@ if (v8) {
555
556
 
556
557
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
557
558
  // so check `userAgent` even if `.v8` exists, but 0
558
- if (!version && userAgent$3) {
559
- match = userAgent$3.match(/Edge\/(\d+)/);
559
+ if (!version && userAgent$5) {
560
+ match = userAgent$5.match(/Edge\/(\d+)/);
560
561
  if (!match || match[1] >= 74) {
561
- match = userAgent$3.match(/Chrome\/(\d+)/);
562
+ match = userAgent$5.match(/Chrome\/(\d+)/);
562
563
  if (match) version = +match[1];
563
564
  }
564
565
  }
@@ -567,13 +568,13 @@ var engineV8Version = version;
567
568
 
568
569
  /* eslint-disable es/no-symbol -- required for testing */
569
570
  var V8_VERSION$1 = engineV8Version;
570
- var fails$j = fails$m;
571
- var global$i = global$m;
571
+ var fails$f = fails$i;
572
+ var global$f = global$j;
572
573
 
573
- var $String$5 = global$i.String;
574
+ var $String$5 = global$f.String;
574
575
 
575
576
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
576
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$j(function () {
577
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
577
578
  var symbol = Symbol('symbol detection');
578
579
  // Chrome 38 Symbol has incorrect toString conversion
579
580
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -591,18 +592,18 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
591
592
  && !Symbol.sham
592
593
  && typeof Symbol.iterator == 'symbol';
593
594
 
594
- var global$h = global$m;
595
- var shared$3 = shared$4.exports;
595
+ var global$e = global$j;
596
+ var shared$2 = shared$3.exports;
596
597
  var hasOwn$a = hasOwnProperty_1;
597
598
  var uid$1 = uid$2;
598
599
  var NATIVE_SYMBOL = symbolConstructorDetection;
599
600
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
600
601
 
601
- var Symbol$2 = global$h.Symbol;
602
- var WellKnownSymbolsStore = shared$3('wks');
602
+ var Symbol$2 = global$e.Symbol;
603
+ var WellKnownSymbolsStore = shared$2('wks');
603
604
  var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
604
605
 
605
- var wellKnownSymbol$i = function (name) {
606
+ var wellKnownSymbol$g = function (name) {
606
607
  if (!hasOwn$a(WellKnownSymbolsStore, name)) {
607
608
  WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$2, name)
608
609
  ? Symbol$2[name]
@@ -627,21 +628,21 @@ var documentAll$1 = $documentAll$1.all;
627
628
 
628
629
  // `IsCallable` abstract operation
629
630
  // https://tc39.es/ecma262/#sec-iscallable
630
- var isCallable$m = $documentAll$1.IS_HTMLDDA ? function (argument) {
631
+ var isCallable$k = $documentAll$1.IS_HTMLDDA ? function (argument) {
631
632
  return typeof argument == 'function' || argument === documentAll$1;
632
633
  } : function (argument) {
633
634
  return typeof argument == 'function';
634
635
  };
635
636
 
636
- var isCallable$l = isCallable$m;
637
+ var isCallable$j = isCallable$k;
637
638
  var $documentAll = documentAll_1;
638
639
 
639
640
  var documentAll = $documentAll.all;
640
641
 
641
642
  var isObject$9 = $documentAll.IS_HTMLDDA ? function (it) {
642
- return typeof it == 'object' ? it !== null : isCallable$l(it) || it === documentAll;
643
+ return typeof it == 'object' ? it !== null : isCallable$j(it) || it === documentAll;
643
644
  } : function (it) {
644
- return typeof it == 'object' ? it !== null : isCallable$l(it);
645
+ return typeof it == 'object' ? it !== null : isCallable$j(it);
645
646
  };
646
647
 
647
648
  var isObject$8 = isObject$9;
@@ -650,27 +651,27 @@ var $String$4 = String;
650
651
  var $TypeError$e = TypeError;
651
652
 
652
653
  // `Assert: Type(argument) is Object`
653
- var anObject$e = function (argument) {
654
+ var anObject$c = function (argument) {
654
655
  if (isObject$8(argument)) return argument;
655
656
  throw new $TypeError$e($String$4(argument) + ' is not an object');
656
657
  };
657
658
 
658
659
  var objectDefineProperties = {};
659
660
 
660
- var fails$i = fails$m;
661
+ var fails$e = fails$i;
661
662
 
662
663
  // Detect IE8's incomplete defineProperty implementation
663
- var descriptors = !fails$i(function () {
664
+ var descriptors = !fails$e(function () {
664
665
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
665
666
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
666
667
  });
667
668
 
668
669
  var DESCRIPTORS$a = descriptors;
669
- var fails$h = fails$m;
670
+ var fails$d = fails$i;
670
671
 
671
672
  // V8 ~ Chrome 36-
672
673
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
673
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$h(function () {
674
+ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$d(function () {
674
675
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
675
676
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
676
677
  value: 42,
@@ -680,10 +681,10 @@ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$h(function () {
680
681
 
681
682
  var objectDefineProperty = {};
682
683
 
683
- var global$g = global$m;
684
+ var global$d = global$j;
684
685
  var isObject$7 = isObject$9;
685
686
 
686
- var document$3 = global$g.document;
687
+ var document$3 = global$d.document;
687
688
  // typeof document.createElement is 'object' in old IE
688
689
  var EXISTS$1 = isObject$7(document$3) && isObject$7(document$3.createElement);
689
690
 
@@ -692,11 +693,11 @@ var documentCreateElement$2 = function (it) {
692
693
  };
693
694
 
694
695
  var DESCRIPTORS$9 = descriptors;
695
- var fails$g = fails$m;
696
+ var fails$c = fails$i;
696
697
  var createElement$1 = documentCreateElement$2;
697
698
 
698
699
  // Thanks to IE8 for its funny defineProperty
699
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$g(function () {
700
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$c(function () {
700
701
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
701
702
  return Object.defineProperty(createElement$1('div'), 'a', {
702
703
  get: function () { return 7; }
@@ -705,29 +706,29 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$g(function () {
705
706
 
706
707
  var NATIVE_BIND$2 = functionBindNative;
707
708
 
708
- var call$h = Function.prototype.call;
709
+ var call$e = Function.prototype.call;
709
710
 
710
- var functionCall = NATIVE_BIND$2 ? call$h.bind(call$h) : function () {
711
- return call$h.apply(call$h, arguments);
711
+ var functionCall = NATIVE_BIND$2 ? call$e.bind(call$e) : function () {
712
+ return call$e.apply(call$e, arguments);
712
713
  };
713
714
 
714
- var global$f = global$m;
715
- var isCallable$k = isCallable$m;
715
+ var global$c = global$j;
716
+ var isCallable$i = isCallable$k;
716
717
 
717
718
  var aFunction = function (argument) {
718
- return isCallable$k(argument) ? argument : undefined;
719
+ return isCallable$i(argument) ? argument : undefined;
719
720
  };
720
721
 
721
722
  var getBuiltIn$7 = function (namespace, method) {
722
- return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
723
+ return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
723
724
  };
724
725
 
725
- var uncurryThis$j = functionUncurryThis;
726
+ var uncurryThis$f = functionUncurryThis;
726
727
 
727
- var objectIsPrototypeOf = uncurryThis$j({}.isPrototypeOf);
728
+ var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
728
729
 
729
730
  var getBuiltIn$6 = getBuiltIn$7;
730
- var isCallable$j = isCallable$m;
731
+ var isCallable$h = isCallable$k;
731
732
  var isPrototypeOf$3 = objectIsPrototypeOf;
732
733
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
733
734
 
@@ -737,12 +738,12 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
737
738
  return typeof it == 'symbol';
738
739
  } : function (it) {
739
740
  var $Symbol = getBuiltIn$6('Symbol');
740
- return isCallable$j($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
741
+ return isCallable$h($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
741
742
  };
742
743
 
743
744
  var $String$3 = String;
744
745
 
745
- var tryToString$4 = function (argument) {
746
+ var tryToString$5 = function (argument) {
746
747
  try {
747
748
  return $String$3(argument);
748
749
  } catch (error) {
@@ -750,29 +751,29 @@ var tryToString$4 = function (argument) {
750
751
  }
751
752
  };
752
753
 
753
- var isCallable$i = isCallable$m;
754
- var tryToString$3 = tryToString$4;
754
+ var isCallable$g = isCallable$k;
755
+ var tryToString$4 = tryToString$5;
755
756
 
756
757
  var $TypeError$d = TypeError;
757
758
 
758
759
  // `Assert: IsCallable(argument) is true`
759
- var aCallable$9 = function (argument) {
760
- if (isCallable$i(argument)) return argument;
761
- throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
760
+ var aCallable$a = function (argument) {
761
+ if (isCallable$g(argument)) return argument;
762
+ throw new $TypeError$d(tryToString$4(argument) + ' is not a function');
762
763
  };
763
764
 
764
- var aCallable$8 = aCallable$9;
765
- var isNullOrUndefined$3 = isNullOrUndefined$5;
765
+ var aCallable$9 = aCallable$a;
766
+ var isNullOrUndefined$2 = isNullOrUndefined$4;
766
767
 
767
768
  // `GetMethod` abstract operation
768
769
  // https://tc39.es/ecma262/#sec-getmethod
769
- var getMethod$4 = function (V, P) {
770
+ var getMethod$3 = function (V, P) {
770
771
  var func = V[P];
771
- return isNullOrUndefined$3(func) ? undefined : aCallable$8(func);
772
+ return isNullOrUndefined$2(func) ? undefined : aCallable$9(func);
772
773
  };
773
774
 
774
- var call$g = functionCall;
775
- var isCallable$h = isCallable$m;
775
+ var call$d = functionCall;
776
+ var isCallable$f = isCallable$k;
776
777
  var isObject$6 = isObject$9;
777
778
 
778
779
  var $TypeError$c = TypeError;
@@ -781,31 +782,31 @@ var $TypeError$c = TypeError;
781
782
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
782
783
  var ordinaryToPrimitive$1 = function (input, pref) {
783
784
  var fn, val;
784
- if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$6(val = call$g(fn, input))) return val;
785
- if (isCallable$h(fn = input.valueOf) && !isObject$6(val = call$g(fn, input))) return val;
786
- if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$6(val = call$g(fn, input))) return val;
785
+ if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$6(val = call$d(fn, input))) return val;
786
+ if (isCallable$f(fn = input.valueOf) && !isObject$6(val = call$d(fn, input))) return val;
787
+ if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$6(val = call$d(fn, input))) return val;
787
788
  throw new $TypeError$c("Can't convert object to primitive value");
788
789
  };
789
790
 
790
- var call$f = functionCall;
791
+ var call$c = functionCall;
791
792
  var isObject$5 = isObject$9;
792
793
  var isSymbol$1 = isSymbol$2;
793
- var getMethod$3 = getMethod$4;
794
+ var getMethod$2 = getMethod$3;
794
795
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
795
- var wellKnownSymbol$h = wellKnownSymbol$i;
796
+ var wellKnownSymbol$f = wellKnownSymbol$g;
796
797
 
797
798
  var $TypeError$b = TypeError;
798
- var TO_PRIMITIVE = wellKnownSymbol$h('toPrimitive');
799
+ var TO_PRIMITIVE = wellKnownSymbol$f('toPrimitive');
799
800
 
800
801
  // `ToPrimitive` abstract operation
801
802
  // https://tc39.es/ecma262/#sec-toprimitive
802
803
  var toPrimitive$1 = function (input, pref) {
803
804
  if (!isObject$5(input) || isSymbol$1(input)) return input;
804
- var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
805
+ var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
805
806
  var result;
806
807
  if (exoticToPrim) {
807
808
  if (pref === undefined) pref = 'default';
808
- result = call$f(exoticToPrim, input, pref);
809
+ result = call$c(exoticToPrim, input, pref);
809
810
  if (!isObject$5(result) || isSymbol$1(result)) return result;
810
811
  throw new $TypeError$b("Can't convert object to primitive value");
811
812
  }
@@ -818,7 +819,7 @@ var isSymbol = isSymbol$2;
818
819
 
819
820
  // `ToPropertyKey` abstract operation
820
821
  // https://tc39.es/ecma262/#sec-topropertykey
821
- var toPropertyKey$2 = function (argument) {
822
+ var toPropertyKey$3 = function (argument) {
822
823
  var key = toPrimitive(argument, 'string');
823
824
  return isSymbol(key) ? key : key + '';
824
825
  };
@@ -826,8 +827,8 @@ var toPropertyKey$2 = function (argument) {
826
827
  var DESCRIPTORS$8 = descriptors;
827
828
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
828
829
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
829
- var anObject$d = anObject$e;
830
- var toPropertyKey$1 = toPropertyKey$2;
830
+ var anObject$b = anObject$c;
831
+ var toPropertyKey$2 = toPropertyKey$3;
831
832
 
832
833
  var $TypeError$a = TypeError;
833
834
  // eslint-disable-next-line es/no-object-defineproperty -- safe
@@ -841,9 +842,9 @@ var WRITABLE = 'writable';
841
842
  // `Object.defineProperty` method
842
843
  // https://tc39.es/ecma262/#sec-object.defineproperty
843
844
  objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
844
- anObject$d(O);
845
- P = toPropertyKey$1(P);
846
- anObject$d(Attributes);
845
+ anObject$b(O);
846
+ P = toPropertyKey$2(P);
847
+ anObject$b(Attributes);
847
848
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
848
849
  var current = $getOwnPropertyDescriptor$1(O, P);
849
850
  if (current && current[WRITABLE]) {
@@ -856,9 +857,9 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
856
857
  }
857
858
  } return $defineProperty(O, P, Attributes);
858
859
  } : $defineProperty : function defineProperty(O, P, Attributes) {
859
- anObject$d(O);
860
- P = toPropertyKey$1(P);
861
- anObject$d(Attributes);
860
+ anObject$b(O);
861
+ P = toPropertyKey$2(P);
862
+ anObject$b(Attributes);
862
863
  if (IE8_DOM_DEFINE$1) try {
863
864
  return $defineProperty(O, P, Attributes);
864
865
  } catch (error) { /* empty */ }
@@ -882,53 +883,53 @@ var trunc = mathTrunc;
882
883
 
883
884
  // `ToIntegerOrInfinity` abstract operation
884
885
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
885
- var toIntegerOrInfinity$4 = function (argument) {
886
+ var toIntegerOrInfinity$2 = function (argument) {
886
887
  var number = +argument;
887
888
  // eslint-disable-next-line no-self-compare -- NaN check
888
889
  return number !== number || number === 0 ? 0 : trunc(number);
889
890
  };
890
891
 
891
- var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
892
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
892
893
 
893
894
  var max$1 = Math.max;
894
- var min$2 = Math.min;
895
+ var min$1 = Math.min;
895
896
 
896
897
  // Helper for a popular repeating case of the spec:
897
898
  // Let integer be ? ToInteger(index).
898
899
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
899
- var toAbsoluteIndex$1 = function (index, length) {
900
- var integer = toIntegerOrInfinity$3(index);
901
- return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);
900
+ var toAbsoluteIndex$2 = function (index, length) {
901
+ var integer = toIntegerOrInfinity$1(index);
902
+ return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
902
903
  };
903
904
 
904
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
905
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
905
906
 
906
- var min$1 = Math.min;
907
+ var min = Math.min;
907
908
 
908
909
  // `ToLength` abstract operation
909
910
  // https://tc39.es/ecma262/#sec-tolength
910
- var toLength$2 = function (argument) {
911
- return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
911
+ var toLength$1 = function (argument) {
912
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
912
913
  };
913
914
 
914
- var toLength$1 = toLength$2;
915
+ var toLength = toLength$1;
915
916
 
916
917
  // `LengthOfArrayLike` abstract operation
917
918
  // https://tc39.es/ecma262/#sec-lengthofarraylike
918
- var lengthOfArrayLike$3 = function (obj) {
919
- return toLength$1(obj.length);
919
+ var lengthOfArrayLike$5 = function (obj) {
920
+ return toLength(obj.length);
920
921
  };
921
922
 
922
923
  var toIndexedObject$4 = toIndexedObject$5;
923
- var toAbsoluteIndex = toAbsoluteIndex$1;
924
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
924
+ var toAbsoluteIndex$1 = toAbsoluteIndex$2;
925
+ var lengthOfArrayLike$4 = lengthOfArrayLike$5;
925
926
 
926
927
  // `Array.prototype.{ indexOf, includes }` methods implementation
927
- var createMethod$3 = function (IS_INCLUDES) {
928
+ var createMethod$2 = function (IS_INCLUDES) {
928
929
  return function ($this, el, fromIndex) {
929
930
  var O = toIndexedObject$4($this);
930
- var length = lengthOfArrayLike$2(O);
931
- var index = toAbsoluteIndex(fromIndex, length);
931
+ var length = lengthOfArrayLike$4(O);
932
+ var index = toAbsoluteIndex$1(fromIndex, length);
932
933
  var value;
933
934
  // Array#includes uses SameValueZero equality algorithm
934
935
  // eslint-disable-next-line no-self-compare -- NaN check
@@ -946,21 +947,21 @@ var createMethod$3 = function (IS_INCLUDES) {
946
947
  var arrayIncludes = {
947
948
  // `Array.prototype.includes` method
948
949
  // https://tc39.es/ecma262/#sec-array.prototype.includes
949
- includes: createMethod$3(true),
950
+ includes: createMethod$2(true),
950
951
  // `Array.prototype.indexOf` method
951
952
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
952
- indexOf: createMethod$3(false)
953
+ indexOf: createMethod$2(false)
953
954
  };
954
955
 
955
956
  var hiddenKeys$4 = {};
956
957
 
957
- var uncurryThis$i = functionUncurryThis;
958
+ var uncurryThis$e = functionUncurryThis;
958
959
  var hasOwn$9 = hasOwnProperty_1;
959
960
  var toIndexedObject$3 = toIndexedObject$5;
960
- var indexOf$1 = arrayIncludes.indexOf;
961
+ var indexOf = arrayIncludes.indexOf;
961
962
  var hiddenKeys$3 = hiddenKeys$4;
962
963
 
963
- var push$1 = uncurryThis$i([].push);
964
+ var push$1 = uncurryThis$e([].push);
964
965
 
965
966
  var objectKeysInternal = function (object, names) {
966
967
  var O = toIndexedObject$3(object);
@@ -970,7 +971,7 @@ var objectKeysInternal = function (object, names) {
970
971
  for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$1(result, key);
971
972
  // Don't enum bug & hidden keys
972
973
  while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
973
- ~indexOf$1(result, key) || push$1(result, key);
974
+ ~indexOf(result, key) || push$1(result, key);
974
975
  }
975
976
  return result;
976
977
  };
@@ -998,8 +999,8 @@ var objectKeys$2 = Object.keys || function keys(O) {
998
999
 
999
1000
  var DESCRIPTORS$7 = descriptors;
1000
1001
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1001
- var definePropertyModule$3 = objectDefineProperty;
1002
- var anObject$c = anObject$e;
1002
+ var definePropertyModule$4 = objectDefineProperty;
1003
+ var anObject$a = anObject$c;
1003
1004
  var toIndexedObject$2 = toIndexedObject$5;
1004
1005
  var objectKeys$1 = objectKeys$2;
1005
1006
 
@@ -1007,13 +1008,13 @@ var objectKeys$1 = objectKeys$2;
1007
1008
  // https://tc39.es/ecma262/#sec-object.defineproperties
1008
1009
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1009
1010
  objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1010
- anObject$c(O);
1011
+ anObject$a(O);
1011
1012
  var props = toIndexedObject$2(Properties);
1012
1013
  var keys = objectKeys$1(Properties);
1013
1014
  var length = keys.length;
1014
1015
  var index = 0;
1015
1016
  var key;
1016
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1017
+ while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
1017
1018
  return O;
1018
1019
  };
1019
1020
 
@@ -1021,17 +1022,17 @@ var getBuiltIn$5 = getBuiltIn$7;
1021
1022
 
1022
1023
  var html$2 = getBuiltIn$5('document', 'documentElement');
1023
1024
 
1024
- var shared$2 = shared$4.exports;
1025
+ var shared$1 = shared$3.exports;
1025
1026
  var uid = uid$2;
1026
1027
 
1027
- var keys = shared$2('keys');
1028
+ var keys = shared$1('keys');
1028
1029
 
1029
1030
  var sharedKey$3 = function (key) {
1030
1031
  return keys[key] || (keys[key] = uid(key));
1031
1032
  };
1032
1033
 
1033
1034
  /* global ActiveXObject -- old IE, WSH */
1034
- var anObject$b = anObject$e;
1035
+ var anObject$9 = anObject$c;
1035
1036
  var definePropertiesModule = objectDefineProperties;
1036
1037
  var enumBugKeys$1 = enumBugKeys$3;
1037
1038
  var hiddenKeys$2 = hiddenKeys$4;
@@ -1105,7 +1106,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
1105
1106
  var objectCreate = Object.create || function create(O, Properties) {
1106
1107
  var result;
1107
1108
  if (O !== null) {
1108
- EmptyConstructor[PROTOTYPE] = anObject$b(O);
1109
+ EmptyConstructor[PROTOTYPE] = anObject$9(O);
1109
1110
  result = new EmptyConstructor();
1110
1111
  EmptyConstructor[PROTOTYPE] = null;
1111
1112
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1114,11 +1115,11 @@ var objectCreate = Object.create || function create(O, Properties) {
1114
1115
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1115
1116
  };
1116
1117
 
1117
- var wellKnownSymbol$g = wellKnownSymbol$i;
1118
- var create$2 = objectCreate;
1118
+ var wellKnownSymbol$e = wellKnownSymbol$g;
1119
+ var create$1 = objectCreate;
1119
1120
  var defineProperty$5 = objectDefineProperty.f;
1120
1121
 
1121
- var UNSCOPABLES = wellKnownSymbol$g('unscopables');
1122
+ var UNSCOPABLES = wellKnownSymbol$e('unscopables');
1122
1123
  var ArrayPrototype$1 = Array.prototype;
1123
1124
 
1124
1125
  // Array.prototype[@@unscopables]
@@ -1126,7 +1127,7 @@ var ArrayPrototype$1 = Array.prototype;
1126
1127
  if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
1127
1128
  defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1128
1129
  configurable: true,
1129
- value: create$2(null)
1130
+ value: create$1(null)
1130
1131
  });
1131
1132
  }
1132
1133
 
@@ -1137,14 +1138,14 @@ var addToUnscopables$2 = function (key) {
1137
1138
 
1138
1139
  var iterators = {};
1139
1140
 
1140
- var global$e = global$m;
1141
- var isCallable$g = isCallable$m;
1141
+ var global$b = global$j;
1142
+ var isCallable$e = isCallable$k;
1142
1143
 
1143
- var WeakMap$1 = global$e.WeakMap;
1144
+ var WeakMap$1 = global$b.WeakMap;
1144
1145
 
1145
- var weakMapBasicDetection = isCallable$g(WeakMap$1) && /native code/.test(String(WeakMap$1));
1146
+ var weakMapBasicDetection = isCallable$e(WeakMap$1) && /native code/.test(String(WeakMap$1));
1146
1147
 
1147
- var createPropertyDescriptor$3 = function (bitmap, value) {
1148
+ var createPropertyDescriptor$4 = function (bitmap, value) {
1148
1149
  return {
1149
1150
  enumerable: !(bitmap & 1),
1150
1151
  configurable: !(bitmap & 2),
@@ -1154,28 +1155,28 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
1154
1155
  };
1155
1156
 
1156
1157
  var DESCRIPTORS$6 = descriptors;
1157
- var definePropertyModule$2 = objectDefineProperty;
1158
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
1158
+ var definePropertyModule$3 = objectDefineProperty;
1159
+ var createPropertyDescriptor$3 = createPropertyDescriptor$4;
1159
1160
 
1160
- var createNonEnumerableProperty$5 = DESCRIPTORS$6 ? function (object, key, value) {
1161
- return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
1161
+ var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value) {
1162
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
1162
1163
  } : function (object, key, value) {
1163
1164
  object[key] = value;
1164
1165
  return object;
1165
1166
  };
1166
1167
 
1167
1168
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
1168
- var global$d = global$m;
1169
+ var global$a = global$j;
1169
1170
  var isObject$4 = isObject$9;
1170
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
1171
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
1171
1172
  var hasOwn$8 = hasOwnProperty_1;
1172
- var shared$1 = sharedStore;
1173
+ var shared = sharedStore;
1173
1174
  var sharedKey$1 = sharedKey$3;
1174
1175
  var hiddenKeys$1 = hiddenKeys$4;
1175
1176
 
1176
1177
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1177
- var TypeError$2 = global$d.TypeError;
1178
- var WeakMap = global$d.WeakMap;
1178
+ var TypeError$2 = global$a.TypeError;
1179
+ var WeakMap = global$a.WeakMap;
1179
1180
  var set$1, get, has;
1180
1181
 
1181
1182
  var enforce = function (it) {
@@ -1191,8 +1192,8 @@ var getterFor = function (TYPE) {
1191
1192
  };
1192
1193
  };
1193
1194
 
1194
- if (NATIVE_WEAK_MAP || shared$1.state) {
1195
- var store$1 = shared$1.state || (shared$1.state = new WeakMap());
1195
+ if (NATIVE_WEAK_MAP || shared.state) {
1196
+ var store$1 = shared.state || (shared.state = new WeakMap());
1196
1197
  /* eslint-disable no-self-assign -- prototype methods protection */
1197
1198
  store$1.get = store$1.get;
1198
1199
  store$1.has = store$1.has;
@@ -1216,7 +1217,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
1216
1217
  set$1 = function (it, metadata) {
1217
1218
  if (hasOwn$8(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
1218
1219
  metadata.facade = it;
1219
- createNonEnumerableProperty$4(it, STATE, metadata);
1220
+ createNonEnumerableProperty$3(it, STATE, metadata);
1220
1221
  return metadata;
1221
1222
  };
1222
1223
  get = function (it) {
@@ -1254,11 +1255,11 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1254
1255
  } : $propertyIsEnumerable;
1255
1256
 
1256
1257
  var DESCRIPTORS$5 = descriptors;
1257
- var call$e = functionCall;
1258
+ var call$b = functionCall;
1258
1259
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
1259
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
1260
+ var createPropertyDescriptor$2 = createPropertyDescriptor$4;
1260
1261
  var toIndexedObject$1 = toIndexedObject$5;
1261
- var toPropertyKey = toPropertyKey$2;
1262
+ var toPropertyKey$1 = toPropertyKey$3;
1262
1263
  var hasOwn$7 = hasOwnProperty_1;
1263
1264
  var IE8_DOM_DEFINE = ie8DomDefine;
1264
1265
 
@@ -1269,11 +1270,11 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1269
1270
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1270
1271
  objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
1271
1272
  O = toIndexedObject$1(O);
1272
- P = toPropertyKey(P);
1273
+ P = toPropertyKey$1(P);
1273
1274
  if (IE8_DOM_DEFINE) try {
1274
1275
  return $getOwnPropertyDescriptor(O, P);
1275
1276
  } catch (error) { /* empty */ }
1276
- if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$e(propertyIsEnumerableModule$1.f, O, P), O[P]);
1277
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
1277
1278
  };
1278
1279
 
1279
1280
  var makeBuiltIn$3 = {exports: {}};
@@ -1296,14 +1297,14 @@ var functionName = {
1296
1297
  CONFIGURABLE: CONFIGURABLE
1297
1298
  };
1298
1299
 
1299
- var uncurryThis$h = functionUncurryThis;
1300
- var isCallable$f = isCallable$m;
1300
+ var uncurryThis$d = functionUncurryThis;
1301
+ var isCallable$d = isCallable$k;
1301
1302
  var store = sharedStore;
1302
1303
 
1303
- var functionToString = uncurryThis$h(Function.toString);
1304
+ var functionToString = uncurryThis$d(Function.toString);
1304
1305
 
1305
1306
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1306
- if (!isCallable$f(store.inspectSource)) {
1307
+ if (!isCallable$d(store.inspectSource)) {
1307
1308
  store.inspectSource = function (it) {
1308
1309
  return functionToString(it);
1309
1310
  };
@@ -1311,9 +1312,9 @@ if (!isCallable$f(store.inspectSource)) {
1311
1312
 
1312
1313
  var inspectSource$3 = store.inspectSource;
1313
1314
 
1314
- var uncurryThis$g = functionUncurryThis;
1315
- var fails$f = fails$m;
1316
- var isCallable$e = isCallable$m;
1315
+ var uncurryThis$c = functionUncurryThis;
1316
+ var fails$b = fails$i;
1317
+ var isCallable$c = isCallable$k;
1317
1318
  var hasOwn$5 = hasOwnProperty_1;
1318
1319
  var DESCRIPTORS$3 = descriptors;
1319
1320
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
@@ -1321,23 +1322,23 @@ var inspectSource$2 = inspectSource$3;
1321
1322
  var InternalStateModule$2 = internalState;
1322
1323
 
1323
1324
  var enforceInternalState = InternalStateModule$2.enforce;
1324
- var getInternalState$2 = InternalStateModule$2.get;
1325
+ var getInternalState$1 = InternalStateModule$2.get;
1325
1326
  var $String$2 = String;
1326
1327
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1327
1328
  var defineProperty$4 = Object.defineProperty;
1328
- var stringSlice$4 = uncurryThis$g(''.slice);
1329
- var replace$3 = uncurryThis$g(''.replace);
1330
- var join = uncurryThis$g([].join);
1329
+ var stringSlice = uncurryThis$c(''.slice);
1330
+ var replace$1 = uncurryThis$c(''.replace);
1331
+ var join = uncurryThis$c([].join);
1331
1332
 
1332
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$f(function () {
1333
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$b(function () {
1333
1334
  return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1334
1335
  });
1335
1336
 
1336
1337
  var TEMPLATE = String(String).split('String');
1337
1338
 
1338
1339
  var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
1339
- if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
1340
- name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
1340
+ if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
1341
+ name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
1341
1342
  }
1342
1343
  if (options && options.getter) name = 'get ' + name;
1343
1344
  if (options && options.setter) name = 'set ' + name;
@@ -1363,19 +1364,19 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
1363
1364
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1364
1365
  // eslint-disable-next-line no-extend-native -- required
1365
1366
  Function.prototype.toString = makeBuiltIn$2(function toString() {
1366
- return isCallable$e(this) && getInternalState$2(this).source || inspectSource$2(this);
1367
+ return isCallable$c(this) && getInternalState$1(this).source || inspectSource$2(this);
1367
1368
  }, 'toString');
1368
1369
 
1369
- var isCallable$d = isCallable$m;
1370
- var definePropertyModule$1 = objectDefineProperty;
1370
+ var isCallable$b = isCallable$k;
1371
+ var definePropertyModule$2 = objectDefineProperty;
1371
1372
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
1372
1373
  var defineGlobalProperty$1 = defineGlobalProperty$3;
1373
1374
 
1374
- var defineBuiltIn$7 = function (O, key, value, options) {
1375
+ var defineBuiltIn$6 = function (O, key, value, options) {
1375
1376
  if (!options) options = {};
1376
1377
  var simple = options.enumerable;
1377
1378
  var name = options.name !== undefined ? options.name : key;
1378
- if (isCallable$d(value)) makeBuiltIn$1(value, name, options);
1379
+ if (isCallable$b(value)) makeBuiltIn$1(value, name, options);
1379
1380
  if (options.global) {
1380
1381
  if (simple) O[key] = value;
1381
1382
  else defineGlobalProperty$1(key, value);
@@ -1385,7 +1386,7 @@ var defineBuiltIn$7 = function (O, key, value, options) {
1385
1386
  else if (O[key]) simple = true;
1386
1387
  } catch (error) { /* empty */ }
1387
1388
  if (simple) O[key] = value;
1388
- else definePropertyModule$1.f(O, key, {
1389
+ else definePropertyModule$2.f(O, key, {
1389
1390
  value: value,
1390
1391
  enumerable: false,
1391
1392
  configurable: !options.nonConfigurable,
@@ -1414,28 +1415,28 @@ var objectGetOwnPropertySymbols = {};
1414
1415
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1415
1416
 
1416
1417
  var getBuiltIn$4 = getBuiltIn$7;
1417
- var uncurryThis$f = functionUncurryThis;
1418
+ var uncurryThis$b = functionUncurryThis;
1418
1419
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1419
1420
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1420
- var anObject$a = anObject$e;
1421
+ var anObject$8 = anObject$c;
1421
1422
 
1422
- var concat$2 = uncurryThis$f([].concat);
1423
+ var concat$1 = uncurryThis$b([].concat);
1423
1424
 
1424
1425
  // all object keys, includes non-enumerable and symbols
1425
1426
  var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
1426
- var keys = getOwnPropertyNamesModule.f(anObject$a(it));
1427
+ var keys = getOwnPropertyNamesModule.f(anObject$8(it));
1427
1428
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1428
- return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
1429
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1429
1430
  };
1430
1431
 
1431
1432
  var hasOwn$4 = hasOwnProperty_1;
1432
1433
  var ownKeys = ownKeys$1;
1433
1434
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1434
- var definePropertyModule = objectDefineProperty;
1435
+ var definePropertyModule$1 = objectDefineProperty;
1435
1436
 
1436
1437
  var copyConstructorProperties$1 = function (target, source, exceptions) {
1437
1438
  var keys = ownKeys(source);
1438
- var defineProperty = definePropertyModule.f;
1439
+ var defineProperty = definePropertyModule$1.f;
1439
1440
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1440
1441
  for (var i = 0; i < keys.length; i++) {
1441
1442
  var key = keys[i];
@@ -1445,8 +1446,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
1445
1446
  }
1446
1447
  };
1447
1448
 
1448
- var fails$e = fails$m;
1449
- var isCallable$c = isCallable$m;
1449
+ var fails$a = fails$i;
1450
+ var isCallable$a = isCallable$k;
1450
1451
 
1451
1452
  var replacement = /#|\.prototype\./;
1452
1453
 
@@ -1454,7 +1455,7 @@ var isForced$2 = function (feature, detection) {
1454
1455
  var value = data[normalize(feature)];
1455
1456
  return value === POLYFILL ? true
1456
1457
  : value === NATIVE ? false
1457
- : isCallable$c(detection) ? fails$e(detection)
1458
+ : isCallable$a(detection) ? fails$a(detection)
1458
1459
  : !!detection;
1459
1460
  };
1460
1461
 
@@ -1468,10 +1469,10 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
1468
1469
 
1469
1470
  var isForced_1 = isForced$2;
1470
1471
 
1471
- var global$c = global$m;
1472
+ var global$9 = global$j;
1472
1473
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1473
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
1474
- var defineBuiltIn$6 = defineBuiltIn$7;
1474
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
1475
+ var defineBuiltIn$5 = defineBuiltIn$6;
1475
1476
  var defineGlobalProperty = defineGlobalProperty$3;
1476
1477
  var copyConstructorProperties = copyConstructorProperties$1;
1477
1478
  var isForced$1 = isForced_1;
@@ -1497,11 +1498,11 @@ var _export = function (options, source) {
1497
1498
  var STATIC = options.stat;
1498
1499
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1499
1500
  if (GLOBAL) {
1500
- target = global$c;
1501
+ target = global$9;
1501
1502
  } else if (STATIC) {
1502
- target = global$c[TARGET] || defineGlobalProperty(TARGET, {});
1503
+ target = global$9[TARGET] || defineGlobalProperty(TARGET, {});
1503
1504
  } else {
1504
- target = (global$c[TARGET] || {}).prototype;
1505
+ target = (global$9[TARGET] || {}).prototype;
1505
1506
  }
1506
1507
  if (target) for (key in source) {
1507
1508
  sourceProperty = source[key];
@@ -1517,15 +1518,15 @@ var _export = function (options, source) {
1517
1518
  }
1518
1519
  // add a flag to not completely full polyfills
1519
1520
  if (options.sham || (targetProperty && targetProperty.sham)) {
1520
- createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1521
+ createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1521
1522
  }
1522
- defineBuiltIn$6(target, key, sourceProperty, options);
1523
+ defineBuiltIn$5(target, key, sourceProperty, options);
1523
1524
  }
1524
1525
  };
1525
1526
 
1526
- var fails$d = fails$m;
1527
+ var fails$9 = fails$i;
1527
1528
 
1528
- var correctPrototypeGetter = !fails$d(function () {
1529
+ var correctPrototypeGetter = !fails$9(function () {
1529
1530
  function F() { /* empty */ }
1530
1531
  F.prototype.constructor = null;
1531
1532
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1533,7 +1534,7 @@ var correctPrototypeGetter = !fails$d(function () {
1533
1534
  });
1534
1535
 
1535
1536
  var hasOwn$3 = hasOwnProperty_1;
1536
- var isCallable$b = isCallable$m;
1537
+ var isCallable$9 = isCallable$k;
1537
1538
  var toObject$3 = toObject$5;
1538
1539
  var sharedKey = sharedKey$3;
1539
1540
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
@@ -1549,19 +1550,19 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
1549
1550
  var object = toObject$3(O);
1550
1551
  if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1551
1552
  var constructor = object.constructor;
1552
- if (isCallable$b(constructor) && object instanceof constructor) {
1553
+ if (isCallable$9(constructor) && object instanceof constructor) {
1553
1554
  return constructor.prototype;
1554
1555
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1555
1556
  };
1556
1557
 
1557
- var fails$c = fails$m;
1558
- var isCallable$a = isCallable$m;
1558
+ var fails$8 = fails$i;
1559
+ var isCallable$8 = isCallable$k;
1559
1560
  var isObject$3 = isObject$9;
1560
1561
  var getPrototypeOf$1 = objectGetPrototypeOf;
1561
- var defineBuiltIn$5 = defineBuiltIn$7;
1562
- var wellKnownSymbol$f = wellKnownSymbol$i;
1562
+ var defineBuiltIn$4 = defineBuiltIn$6;
1563
+ var wellKnownSymbol$d = wellKnownSymbol$g;
1563
1564
 
1564
- var ITERATOR$6 = wellKnownSymbol$f('iterator');
1565
+ var ITERATOR$6 = wellKnownSymbol$d('iterator');
1565
1566
  var BUGGY_SAFARI_ITERATORS$1 = false;
1566
1567
 
1567
1568
  // `%IteratorPrototype%` object
@@ -1579,7 +1580,7 @@ if ([].keys) {
1579
1580
  }
1580
1581
  }
1581
1582
 
1582
- var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$c(function () {
1583
+ var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$8(function () {
1583
1584
  var test = {};
1584
1585
  // FF44- legacy iterators case
1585
1586
  return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
@@ -1589,8 +1590,8 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1589
1590
 
1590
1591
  // `%IteratorPrototype%[@@iterator]()` method
1591
1592
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1592
- if (!isCallable$a(IteratorPrototype$2[ITERATOR$6])) {
1593
- defineBuiltIn$5(IteratorPrototype$2, ITERATOR$6, function () {
1593
+ if (!isCallable$8(IteratorPrototype$2[ITERATOR$6])) {
1594
+ defineBuiltIn$4(IteratorPrototype$2, ITERATOR$6, function () {
1594
1595
  return this;
1595
1596
  });
1596
1597
  }
@@ -1602,9 +1603,9 @@ var iteratorsCore = {
1602
1603
 
1603
1604
  var defineProperty$3 = objectDefineProperty.f;
1604
1605
  var hasOwn$2 = hasOwnProperty_1;
1605
- var wellKnownSymbol$e = wellKnownSymbol$i;
1606
+ var wellKnownSymbol$c = wellKnownSymbol$g;
1606
1607
 
1607
- var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
1608
+ var TO_STRING_TAG$2 = wellKnownSymbol$c('toStringTag');
1608
1609
 
1609
1610
  var setToStringTag$4 = function (target, TAG, STATIC) {
1610
1611
  if (target && !STATIC) target = target.prototype;
@@ -1614,8 +1615,8 @@ var setToStringTag$4 = function (target, TAG, STATIC) {
1614
1615
  };
1615
1616
 
1616
1617
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1617
- var create$1 = objectCreate;
1618
- var createPropertyDescriptor = createPropertyDescriptor$3;
1618
+ var create = objectCreate;
1619
+ var createPropertyDescriptor$1 = createPropertyDescriptor$4;
1619
1620
  var setToStringTag$3 = setToStringTag$4;
1620
1621
  var Iterators$4 = iterators;
1621
1622
 
@@ -1623,35 +1624,35 @@ var returnThis$1 = function () { return this; };
1623
1624
 
1624
1625
  var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1625
1626
  var TO_STRING_TAG = NAME + ' Iterator';
1626
- IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1627
+ IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
1627
1628
  setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
1628
1629
  Iterators$4[TO_STRING_TAG] = returnThis$1;
1629
1630
  return IteratorConstructor;
1630
1631
  };
1631
1632
 
1632
- var uncurryThis$e = functionUncurryThis;
1633
- var aCallable$7 = aCallable$9;
1633
+ var uncurryThis$a = functionUncurryThis;
1634
+ var aCallable$8 = aCallable$a;
1634
1635
 
1635
1636
  var functionUncurryThisAccessor = function (object, key, method) {
1636
1637
  try {
1637
1638
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1638
- return uncurryThis$e(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1639
+ return uncurryThis$a(aCallable$8(Object.getOwnPropertyDescriptor(object, key)[method]));
1639
1640
  } catch (error) { /* empty */ }
1640
1641
  };
1641
1642
 
1642
- var isCallable$9 = isCallable$m;
1643
+ var isCallable$7 = isCallable$k;
1643
1644
 
1644
1645
  var $String$1 = String;
1645
1646
  var $TypeError$9 = TypeError;
1646
1647
 
1647
1648
  var aPossiblePrototype$1 = function (argument) {
1648
- if (typeof argument == 'object' || isCallable$9(argument)) return argument;
1649
+ if (typeof argument == 'object' || isCallable$7(argument)) return argument;
1649
1650
  throw new $TypeError$9("Can't set " + $String$1(argument) + ' as a prototype');
1650
1651
  };
1651
1652
 
1652
1653
  /* eslint-disable no-proto -- safe */
1653
1654
  var uncurryThisAccessor = functionUncurryThisAccessor;
1654
- var anObject$9 = anObject$e;
1655
+ var anObject$7 = anObject$c;
1655
1656
  var aPossiblePrototype = aPossiblePrototype$1;
1656
1657
 
1657
1658
  // `Object.setPrototypeOf` method
@@ -1668,7 +1669,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1668
1669
  CORRECT_SETTER = test instanceof Array;
1669
1670
  } catch (error) { /* empty */ }
1670
1671
  return function setPrototypeOf(O, proto) {
1671
- anObject$9(O);
1672
+ anObject$7(O);
1672
1673
  aPossiblePrototype(proto);
1673
1674
  if (CORRECT_SETTER) setter(O, proto);
1674
1675
  else O.__proto__ = proto;
@@ -1677,16 +1678,16 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1677
1678
  }() : undefined);
1678
1679
 
1679
1680
  var $$d = _export;
1680
- var call$d = functionCall;
1681
+ var call$a = functionCall;
1681
1682
  var FunctionName = functionName;
1682
- var isCallable$8 = isCallable$m;
1683
+ var isCallable$6 = isCallable$k;
1683
1684
  var createIteratorConstructor = iteratorCreateConstructor;
1684
1685
  var getPrototypeOf = objectGetPrototypeOf;
1685
1686
  var setPrototypeOf$1 = objectSetPrototypeOf;
1686
1687
  var setToStringTag$2 = setToStringTag$4;
1687
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1688
- var defineBuiltIn$4 = defineBuiltIn$7;
1689
- var wellKnownSymbol$d = wellKnownSymbol$i;
1688
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1689
+ var defineBuiltIn$3 = defineBuiltIn$6;
1690
+ var wellKnownSymbol$b = wellKnownSymbol$g;
1690
1691
  var Iterators$3 = iterators;
1691
1692
  var IteratorsCore = iteratorsCore;
1692
1693
 
@@ -1694,7 +1695,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1694
1695
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1695
1696
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1696
1697
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1697
- var ITERATOR$5 = wellKnownSymbol$d('iterator');
1698
+ var ITERATOR$5 = wellKnownSymbol$b('iterator');
1698
1699
  var KEYS = 'keys';
1699
1700
  var VALUES = 'values';
1700
1701
  var ENTRIES = 'entries';
@@ -1734,8 +1735,8 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1734
1735
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1735
1736
  if (setPrototypeOf$1) {
1736
1737
  setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
1737
- } else if (!isCallable$8(CurrentIteratorPrototype[ITERATOR$5])) {
1738
- defineBuiltIn$4(CurrentIteratorPrototype, ITERATOR$5, returnThis);
1738
+ } else if (!isCallable$6(CurrentIteratorPrototype[ITERATOR$5])) {
1739
+ defineBuiltIn$3(CurrentIteratorPrototype, ITERATOR$5, returnThis);
1739
1740
  }
1740
1741
  }
1741
1742
  // Set @@toStringTag to native iterators
@@ -1746,10 +1747,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1746
1747
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1747
1748
  if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1748
1749
  if (CONFIGURABLE_FUNCTION_NAME) {
1749
- createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1750
+ createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1750
1751
  } else {
1751
1752
  INCORRECT_VALUES_NAME = true;
1752
- defaultIterator = function values() { return call$d(nativeIterator, this); };
1753
+ defaultIterator = function values() { return call$a(nativeIterator, this); };
1753
1754
  }
1754
1755
  }
1755
1756
 
@@ -1762,14 +1763,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1762
1763
  };
1763
1764
  if (FORCED) for (KEY in methods) {
1764
1765
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1765
- defineBuiltIn$4(IterablePrototype, KEY, methods[KEY]);
1766
+ defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
1766
1767
  }
1767
1768
  } else $$d({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1768
1769
  }
1769
1770
 
1770
1771
  // define iterator
1771
1772
  if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
1772
- defineBuiltIn$4(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
1773
+ defineBuiltIn$3(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
1773
1774
  }
1774
1775
  Iterators$3[NAME] = defaultIterator;
1775
1776
 
@@ -1793,7 +1794,7 @@ var DESCRIPTORS$2 = descriptors;
1793
1794
 
1794
1795
  var ARRAY_ITERATOR = 'Array Iterator';
1795
1796
  var setInternalState$1 = InternalStateModule$1.set;
1796
- var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
1797
+ var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
1797
1798
 
1798
1799
  // `Array.prototype.entries` method
1799
1800
  // https://tc39.es/ecma262/#sec-array.prototype.entries
@@ -1815,7 +1816,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
1815
1816
  // `%ArrayIteratorPrototype%.next` method
1816
1817
  // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1817
1818
  }, function () {
1818
- var state = getInternalState$1(this);
1819
+ var state = getInternalState(this);
1819
1820
  var target = state.target;
1820
1821
  var index = state.index++;
1821
1822
  if (!target || index >= target.length) {
@@ -1887,22 +1888,22 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1887
1888
 
1888
1889
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1889
1890
 
1890
- var global$b = global$m;
1891
+ var global$8 = global$j;
1891
1892
  var DOMIterables = domIterables;
1892
1893
  var DOMTokenListPrototype = domTokenListPrototype;
1893
1894
  var ArrayIteratorMethods = es_array_iterator;
1894
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1895
+ var createNonEnumerableProperty = createNonEnumerableProperty$4;
1895
1896
  var setToStringTag$1 = setToStringTag$4;
1896
- var wellKnownSymbol$c = wellKnownSymbol$i;
1897
+ var wellKnownSymbol$a = wellKnownSymbol$g;
1897
1898
 
1898
- var ITERATOR$4 = wellKnownSymbol$c('iterator');
1899
+ var ITERATOR$4 = wellKnownSymbol$a('iterator');
1899
1900
  var ArrayValues = ArrayIteratorMethods.values;
1900
1901
 
1901
1902
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1902
1903
  if (CollectionPrototype) {
1903
1904
  // some Chrome versions have non-configurable methods on DOMTokenList
1904
1905
  if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
1905
- createNonEnumerableProperty$1(CollectionPrototype, ITERATOR$4, ArrayValues);
1906
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR$4, ArrayValues);
1906
1907
  } catch (error) {
1907
1908
  CollectionPrototype[ITERATOR$4] = ArrayValues;
1908
1909
  }
@@ -1910,7 +1911,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1910
1911
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1911
1912
  // some Chrome versions have non-configurable methods on DOMTokenList
1912
1913
  if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1913
- createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1914
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1914
1915
  } catch (error) {
1915
1916
  CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1916
1917
  }
@@ -1919,15 +1920,15 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1919
1920
  };
1920
1921
 
1921
1922
  for (var COLLECTION_NAME in DOMIterables) {
1922
- handlePrototype(global$b[COLLECTION_NAME] && global$b[COLLECTION_NAME].prototype, COLLECTION_NAME);
1923
+ handlePrototype(global$8[COLLECTION_NAME] && global$8[COLLECTION_NAME].prototype, COLLECTION_NAME);
1923
1924
  }
1924
1925
 
1925
1926
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1926
1927
 
1927
1928
  var DESCRIPTORS$1 = descriptors;
1928
- var uncurryThis$d = functionUncurryThis;
1929
- var call$c = functionCall;
1930
- var fails$b = fails$m;
1929
+ var uncurryThis$9 = functionUncurryThis;
1930
+ var call$9 = functionCall;
1931
+ var fails$7 = fails$i;
1931
1932
  var objectKeys = objectKeys$2;
1932
1933
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1933
1934
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1938,11 +1939,11 @@ var IndexedObject$1 = indexedObject;
1938
1939
  var $assign = Object.assign;
1939
1940
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1940
1941
  var defineProperty$1 = Object.defineProperty;
1941
- var concat$1 = uncurryThis$d([].concat);
1942
+ var concat = uncurryThis$9([].concat);
1942
1943
 
1943
1944
  // `Object.assign` method
1944
1945
  // https://tc39.es/ecma262/#sec-object.assign
1945
- var objectAssign = !$assign || fails$b(function () {
1946
+ var objectAssign = !$assign || fails$7(function () {
1946
1947
  // should have correct order of operations (Edge bug)
1947
1948
  if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
1948
1949
  enumerable: true,
@@ -1970,13 +1971,13 @@ var objectAssign = !$assign || fails$b(function () {
1970
1971
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
1971
1972
  while (argumentsLength > index) {
1972
1973
  var S = IndexedObject$1(arguments[index++]);
1973
- var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1974
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1974
1975
  var length = keys.length;
1975
1976
  var j = 0;
1976
1977
  var key;
1977
1978
  while (length > j) {
1978
1979
  key = keys[j++];
1979
- if (!DESCRIPTORS$1 || call$c(propertyIsEnumerable, S, key)) T[key] = S[key];
1980
+ if (!DESCRIPTORS$1 || call$9(propertyIsEnumerable, S, key)) T[key] = S[key];
1980
1981
  }
1981
1982
  } return T;
1982
1983
  } : $assign;
@@ -2240,21 +2241,21 @@ const LegendDialog = ({
2240
2241
  }, "No layers"))));
2241
2242
  };
2242
2243
 
2243
- var wellKnownSymbol$b = wellKnownSymbol$i;
2244
+ var wellKnownSymbol$9 = wellKnownSymbol$g;
2244
2245
 
2245
- var TO_STRING_TAG$1 = wellKnownSymbol$b('toStringTag');
2246
- var test$1 = {};
2246
+ var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag');
2247
+ var test$2 = {};
2247
2248
 
2248
- test$1[TO_STRING_TAG$1] = 'z';
2249
+ test$2[TO_STRING_TAG$1] = 'z';
2249
2250
 
2250
- var toStringTagSupport = String(test$1) === '[object z]';
2251
+ var toStringTagSupport = String(test$2) === '[object z]';
2251
2252
 
2252
2253
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2253
- var isCallable$7 = isCallable$m;
2254
+ var isCallable$5 = isCallable$k;
2254
2255
  var classofRaw$1 = classofRaw$2;
2255
- var wellKnownSymbol$a = wellKnownSymbol$i;
2256
+ var wellKnownSymbol$8 = wellKnownSymbol$g;
2256
2257
 
2257
- var TO_STRING_TAG = wellKnownSymbol$a('toStringTag');
2258
+ var TO_STRING_TAG = wellKnownSymbol$8('toStringTag');
2258
2259
  var $Object = Object;
2259
2260
 
2260
2261
  // ES3 wrong here
@@ -2268,7 +2269,7 @@ var tryGet = function (it, key) {
2268
2269
  };
2269
2270
 
2270
2271
  // getting tag from ES6+ `Object.prototype.toString`
2271
- var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
2272
+ var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
2272
2273
  var O, tag, result;
2273
2274
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2274
2275
  // @@toStringTag case
@@ -2276,15 +2277,15 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
2276
2277
  // builtinTag case
2277
2278
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
2278
2279
  // ES3 arguments fallback
2279
- : (result = classofRaw$1(O)) === 'Object' && isCallable$7(O.callee) ? 'Arguments' : result;
2280
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
2280
2281
  };
2281
2282
 
2282
- var classof$6 = classof$7;
2283
+ var classof$5 = classof$6;
2283
2284
 
2284
2285
  var $String = String;
2285
2286
 
2286
- var toString$6 = function (argument) {
2287
- if (classof$6(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
2287
+ var toString$4 = function (argument) {
2288
+ if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
2288
2289
  return $String(argument);
2289
2290
  };
2290
2291
 
@@ -2292,21 +2293,21 @@ var toString$6 = function (argument) {
2292
2293
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
2293
2294
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
2294
2295
 
2295
- var uncurryThis$c = functionUncurryThis;
2296
- var requireObjectCoercible$3 = requireObjectCoercible$6;
2297
- var toString$5 = toString$6;
2296
+ var uncurryThis$8 = functionUncurryThis;
2297
+ var requireObjectCoercible$1 = requireObjectCoercible$4;
2298
+ var toString$3 = toString$4;
2298
2299
  var whitespaces$1 = whitespaces$2;
2299
2300
 
2300
- var replace$2 = uncurryThis$c(''.replace);
2301
+ var replace = uncurryThis$8(''.replace);
2301
2302
  var ltrim = RegExp('^[' + whitespaces$1 + ']+');
2302
2303
  var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
2303
2304
 
2304
2305
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
2305
- var createMethod$2 = function (TYPE) {
2306
+ var createMethod$1 = function (TYPE) {
2306
2307
  return function ($this) {
2307
- var string = toString$5(requireObjectCoercible$3($this));
2308
- if (TYPE & 1) string = replace$2(string, ltrim, '');
2309
- if (TYPE & 2) string = replace$2(string, rtrim, '$1');
2308
+ var string = toString$3(requireObjectCoercible$1($this));
2309
+ if (TYPE & 1) string = replace(string, ltrim, '');
2310
+ if (TYPE & 2) string = replace(string, rtrim, '$1');
2310
2311
  return string;
2311
2312
  };
2312
2313
  };
@@ -2314,36 +2315,36 @@ var createMethod$2 = function (TYPE) {
2314
2315
  var stringTrim = {
2315
2316
  // `String.prototype.{ trimLeft, trimStart }` methods
2316
2317
  // https://tc39.es/ecma262/#sec-string.prototype.trimstart
2317
- start: createMethod$2(1),
2318
+ start: createMethod$1(1),
2318
2319
  // `String.prototype.{ trimRight, trimEnd }` methods
2319
2320
  // https://tc39.es/ecma262/#sec-string.prototype.trimend
2320
- end: createMethod$2(2),
2321
+ end: createMethod$1(2),
2321
2322
  // `String.prototype.trim` method
2322
2323
  // https://tc39.es/ecma262/#sec-string.prototype.trim
2323
- trim: createMethod$2(3)
2324
+ trim: createMethod$1(3)
2324
2325
  };
2325
2326
 
2326
- var global$a = global$m;
2327
- var fails$a = fails$m;
2328
- var uncurryThis$b = functionUncurryThis;
2329
- var toString$4 = toString$6;
2327
+ var global$7 = global$j;
2328
+ var fails$6 = fails$i;
2329
+ var uncurryThis$7 = functionUncurryThis;
2330
+ var toString$2 = toString$4;
2330
2331
  var trim = stringTrim.trim;
2331
2332
  var whitespaces = whitespaces$2;
2332
2333
 
2333
- var $parseInt$1 = global$a.parseInt;
2334
- var Symbol$1 = global$a.Symbol;
2334
+ var $parseInt$1 = global$7.parseInt;
2335
+ var Symbol$1 = global$7.Symbol;
2335
2336
  var ITERATOR$3 = Symbol$1 && Symbol$1.iterator;
2336
2337
  var hex = /^[+-]?0x/i;
2337
- var exec$2 = uncurryThis$b(hex.exec);
2338
- var FORCED$1 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
2338
+ var exec$1 = uncurryThis$7(hex.exec);
2339
+ var FORCED$2 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
2339
2340
  // MS Edge 18- broken with boxed symbols
2340
- || (ITERATOR$3 && !fails$a(function () { $parseInt$1(Object(ITERATOR$3)); }));
2341
+ || (ITERATOR$3 && !fails$6(function () { $parseInt$1(Object(ITERATOR$3)); }));
2341
2342
 
2342
2343
  // `parseInt` method
2343
2344
  // https://tc39.es/ecma262/#sec-parseint-string-radix
2344
- var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
2345
- var S = trim(toString$4(string));
2346
- return $parseInt$1(S, (radix >>> 0) || (exec$2(hex, S) ? 16 : 10));
2345
+ var numberParseInt = FORCED$2 ? function parseInt(string, radix) {
2346
+ var S = trim(toString$2(string));
2347
+ return $parseInt$1(S, (radix >>> 0) || (exec$1(hex, S) ? 16 : 10));
2347
2348
  } : $parseInt$1;
2348
2349
 
2349
2350
  var $$b = _export;
@@ -2355,12 +2356,12 @@ $$b({ global: true, forced: parseInt !== $parseInt }, {
2355
2356
  parseInt: $parseInt
2356
2357
  });
2357
2358
 
2358
- var anObject$8 = anObject$e;
2359
+ var anObject$6 = anObject$c;
2359
2360
 
2360
2361
  // `RegExp.prototype.flags` getter implementation
2361
2362
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
2362
- var regexpFlags$1 = function () {
2363
- var that = anObject$8(this);
2363
+ var regexpFlags = function () {
2364
+ var that = anObject$6(this);
2364
2365
  var result = '';
2365
2366
  if (that.hasIndices) result += 'd';
2366
2367
  if (that.global) result += 'g';
@@ -2373,66 +2374,279 @@ var regexpFlags$1 = function () {
2373
2374
  return result;
2374
2375
  };
2375
2376
 
2376
- var call$b = functionCall;
2377
+ var call$8 = functionCall;
2377
2378
  var hasOwn$1 = hasOwnProperty_1;
2378
2379
  var isPrototypeOf$2 = objectIsPrototypeOf;
2379
- var regExpFlags = regexpFlags$1;
2380
+ var regExpFlags = regexpFlags;
2380
2381
 
2381
- var RegExpPrototype$2 = RegExp.prototype;
2382
+ var RegExpPrototype$1 = RegExp.prototype;
2382
2383
 
2383
2384
  var regexpGetFlags = function (R) {
2384
2385
  var flags = R.flags;
2385
- return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$2, R)
2386
- ? call$b(regExpFlags, R) : flags;
2386
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
2387
+ ? call$8(regExpFlags, R) : flags;
2387
2388
  };
2388
2389
 
2389
2390
  var PROPER_FUNCTION_NAME = functionName.PROPER;
2390
- var defineBuiltIn$3 = defineBuiltIn$7;
2391
- var anObject$7 = anObject$e;
2392
- var $toString = toString$6;
2393
- var fails$9 = fails$m;
2391
+ var defineBuiltIn$2 = defineBuiltIn$6;
2392
+ var anObject$5 = anObject$c;
2393
+ var $toString = toString$4;
2394
+ var fails$5 = fails$i;
2394
2395
  var getRegExpFlags = regexpGetFlags;
2395
2396
 
2396
2397
  var TO_STRING = 'toString';
2397
- var RegExpPrototype$1 = RegExp.prototype;
2398
- var nativeToString = RegExpPrototype$1[TO_STRING];
2398
+ var RegExpPrototype = RegExp.prototype;
2399
+ var nativeToString = RegExpPrototype[TO_STRING];
2399
2400
 
2400
- var NOT_GENERIC = fails$9(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
2401
+ var NOT_GENERIC = fails$5(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
2401
2402
  // FF44- RegExp#toString has a wrong name
2402
2403
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
2403
2404
 
2404
2405
  // `RegExp.prototype.toString` method
2405
2406
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
2406
2407
  if (NOT_GENERIC || INCORRECT_NAME) {
2407
- defineBuiltIn$3(RegExp.prototype, TO_STRING, function toString() {
2408
- var R = anObject$7(this);
2408
+ defineBuiltIn$2(RegExp.prototype, TO_STRING, function toString() {
2409
+ var R = anObject$5(this);
2409
2410
  var pattern = $toString(R.source);
2410
2411
  var flags = $toString(getRegExpFlags(R));
2411
2412
  return '/' + pattern + '/' + flags;
2412
2413
  }, { unsafe: true });
2413
2414
  }
2414
2415
 
2415
- var classof$5 = classofRaw$2;
2416
+ var tryToString$3 = tryToString$5;
2417
+
2418
+ var $TypeError$8 = TypeError;
2419
+
2420
+ var deletePropertyOrThrow$1 = function (O, P) {
2421
+ if (!delete O[P]) throw new $TypeError$8('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
2422
+ };
2423
+
2424
+ var toPropertyKey = toPropertyKey$3;
2425
+ var definePropertyModule = objectDefineProperty;
2426
+ var createPropertyDescriptor = createPropertyDescriptor$4;
2427
+
2428
+ var createProperty$1 = function (object, key, value) {
2429
+ var propertyKey = toPropertyKey(key);
2430
+ if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
2431
+ else object[propertyKey] = value;
2432
+ };
2433
+
2434
+ var toAbsoluteIndex = toAbsoluteIndex$2;
2435
+ var lengthOfArrayLike$3 = lengthOfArrayLike$5;
2436
+ var createProperty = createProperty$1;
2437
+
2438
+ var $Array = Array;
2439
+ var max = Math.max;
2440
+
2441
+ var arraySliceSimple = function (O, start, end) {
2442
+ var length = lengthOfArrayLike$3(O);
2443
+ var k = toAbsoluteIndex(start, length);
2444
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
2445
+ var result = $Array(max(fin - k, 0));
2446
+ var n = 0;
2447
+ for (; k < fin; k++, n++) createProperty(result, n, O[k]);
2448
+ result.length = n;
2449
+ return result;
2450
+ };
2451
+
2452
+ var arraySlice$2 = arraySliceSimple;
2453
+
2454
+ var floor = Math.floor;
2455
+
2456
+ var mergeSort = function (array, comparefn) {
2457
+ var length = array.length;
2458
+ var middle = floor(length / 2);
2459
+ return length < 8 ? insertionSort(array, comparefn) : merge(
2460
+ array,
2461
+ mergeSort(arraySlice$2(array, 0, middle), comparefn),
2462
+ mergeSort(arraySlice$2(array, middle), comparefn),
2463
+ comparefn
2464
+ );
2465
+ };
2466
+
2467
+ var insertionSort = function (array, comparefn) {
2468
+ var length = array.length;
2469
+ var i = 1;
2470
+ var element, j;
2471
+
2472
+ while (i < length) {
2473
+ j = i;
2474
+ element = array[i];
2475
+ while (j && comparefn(array[j - 1], element) > 0) {
2476
+ array[j] = array[--j];
2477
+ }
2478
+ if (j !== i++) array[j] = element;
2479
+ } return array;
2480
+ };
2481
+
2482
+ var merge = function (array, left, right, comparefn) {
2483
+ var llength = left.length;
2484
+ var rlength = right.length;
2485
+ var lindex = 0;
2486
+ var rindex = 0;
2487
+
2488
+ while (lindex < llength || rindex < rlength) {
2489
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
2490
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
2491
+ : lindex < llength ? left[lindex++] : right[rindex++];
2492
+ } return array;
2493
+ };
2494
+
2495
+ var arraySort = mergeSort;
2496
+
2497
+ var fails$4 = fails$i;
2498
+
2499
+ var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
2500
+ var method = [][METHOD_NAME];
2501
+ return !!method && fails$4(function () {
2502
+ // eslint-disable-next-line no-useless-call -- required for testing
2503
+ method.call(null, argument || function () { return 1; }, 1);
2504
+ });
2505
+ };
2506
+
2507
+ var userAgent$4 = engineUserAgent;
2508
+
2509
+ var firefox = userAgent$4.match(/firefox\/(\d+)/i);
2510
+
2511
+ var engineFfVersion = !!firefox && +firefox[1];
2512
+
2513
+ var UA = engineUserAgent;
2514
+
2515
+ var engineIsIeOrEdge = /MSIE|Trident/.test(UA);
2516
+
2517
+ var userAgent$3 = engineUserAgent;
2518
+
2519
+ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
2520
+
2521
+ var engineWebkitVersion = !!webkit && +webkit[1];
2522
+
2523
+ var $$a = _export;
2524
+ var uncurryThis$6 = functionUncurryThis;
2525
+ var aCallable$7 = aCallable$a;
2526
+ var toObject$1 = toObject$5;
2527
+ var lengthOfArrayLike$2 = lengthOfArrayLike$5;
2528
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
2529
+ var toString$1 = toString$4;
2530
+ var fails$3 = fails$i;
2531
+ var internalSort = arraySort;
2532
+ var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
2533
+ var FF = engineFfVersion;
2534
+ var IE_OR_EDGE = engineIsIeOrEdge;
2535
+ var V8 = engineV8Version;
2536
+ var WEBKIT = engineWebkitVersion;
2537
+
2538
+ var test$1 = [];
2539
+ var nativeSort = uncurryThis$6(test$1.sort);
2540
+ var push = uncurryThis$6(test$1.push);
2541
+
2542
+ // IE8-
2543
+ var FAILS_ON_UNDEFINED = fails$3(function () {
2544
+ test$1.sort(undefined);
2545
+ });
2546
+ // V8 bug
2547
+ var FAILS_ON_NULL = fails$3(function () {
2548
+ test$1.sort(null);
2549
+ });
2550
+ // Old WebKit
2551
+ var STRICT_METHOD = arrayMethodIsStrict$1('sort');
2552
+
2553
+ var STABLE_SORT = !fails$3(function () {
2554
+ // feature detection can be too slow, so check engines versions
2555
+ if (V8) return V8 < 70;
2556
+ if (FF && FF > 3) return;
2557
+ if (IE_OR_EDGE) return true;
2558
+ if (WEBKIT) return WEBKIT < 603;
2559
+
2560
+ var result = '';
2561
+ var code, chr, value, index;
2562
+
2563
+ // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
2564
+ for (code = 65; code < 76; code++) {
2565
+ chr = String.fromCharCode(code);
2566
+
2567
+ switch (code) {
2568
+ case 66: case 69: case 70: case 72: value = 3; break;
2569
+ case 68: case 71: value = 4; break;
2570
+ default: value = 2;
2571
+ }
2572
+
2573
+ for (index = 0; index < 47; index++) {
2574
+ test$1.push({ k: chr + index, v: value });
2575
+ }
2576
+ }
2577
+
2578
+ test$1.sort(function (a, b) { return b.v - a.v; });
2579
+
2580
+ for (index = 0; index < test$1.length; index++) {
2581
+ chr = test$1[index].k.charAt(0);
2582
+ if (result.charAt(result.length - 1) !== chr) result += chr;
2583
+ }
2584
+
2585
+ return result !== 'DGBEFHACIJK';
2586
+ });
2587
+
2588
+ var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
2589
+
2590
+ var getSortCompare = function (comparefn) {
2591
+ return function (x, y) {
2592
+ if (y === undefined) return -1;
2593
+ if (x === undefined) return 1;
2594
+ if (comparefn !== undefined) return +comparefn(x, y) || 0;
2595
+ return toString$1(x) > toString$1(y) ? 1 : -1;
2596
+ };
2597
+ };
2598
+
2599
+ // `Array.prototype.sort` method
2600
+ // https://tc39.es/ecma262/#sec-array.prototype.sort
2601
+ $$a({ target: 'Array', proto: true, forced: FORCED$1 }, {
2602
+ sort: function sort(comparefn) {
2603
+ if (comparefn !== undefined) aCallable$7(comparefn);
2604
+
2605
+ var array = toObject$1(this);
2606
+
2607
+ if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
2608
+
2609
+ var items = [];
2610
+ var arrayLength = lengthOfArrayLike$2(array);
2611
+ var itemsLength, index;
2612
+
2613
+ for (index = 0; index < arrayLength; index++) {
2614
+ if (index in array) push(items, array[index]);
2615
+ }
2616
+
2617
+ internalSort(items, getSortCompare(comparefn));
2618
+
2619
+ itemsLength = lengthOfArrayLike$2(items);
2620
+ index = 0;
2621
+
2622
+ while (index < itemsLength) array[index] = items[index++];
2623
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
2624
+
2625
+ return array;
2626
+ }
2627
+ });
2628
+
2629
+ var classof$4 = classofRaw$2;
2416
2630
 
2417
2631
  // `IsArray` abstract operation
2418
2632
  // https://tc39.es/ecma262/#sec-isarray
2419
2633
  // eslint-disable-next-line es/no-array-isarray -- safe
2420
2634
  var isArray$1 = Array.isArray || function isArray(argument) {
2421
- return classof$5(argument) === 'Array';
2635
+ return classof$4(argument) === 'Array';
2422
2636
  };
2423
2637
 
2424
- var $$a = _export;
2425
- var uncurryThis$a = functionUncurryThis;
2638
+ var $$9 = _export;
2639
+ var uncurryThis$5 = functionUncurryThis;
2426
2640
  var isArray = isArray$1;
2427
2641
 
2428
- var nativeReverse = uncurryThis$a([].reverse);
2642
+ var nativeReverse = uncurryThis$5([].reverse);
2429
2643
  var test = [1, 2];
2430
2644
 
2431
2645
  // `Array.prototype.reverse` method
2432
2646
  // https://tc39.es/ecma262/#sec-array.prototype.reverse
2433
2647
  // fix for Safari 12.0 bug
2434
2648
  // https://bugs.webkit.org/show_bug.cgi?id=188794
2435
- $$a({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
2649
+ $$9({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
2436
2650
  reverse: function reverse() {
2437
2651
  // eslint-disable-next-line no-self-assign -- dirty hack
2438
2652
  if (isArray(this)) this.length = this.length;
@@ -2740,7 +2954,8 @@ class MapDraw extends React.PureComponent {
2740
2954
  super(props);
2741
2955
  this.handleGeoJSONUpdate = newGeoJSON => {
2742
2956
  const {
2743
- selectedFeatureIndex
2957
+ selectedFeatureIndex,
2958
+ mapId
2744
2959
  } = this.props;
2745
2960
  this.geojson = cloneDeep(newGeoJSON);
2746
2961
  /* Ensure that this.snappedPolygonIndex is still within the coordinates array */
@@ -2755,6 +2970,8 @@ class MapDraw extends React.PureComponent {
2755
2970
  }
2756
2971
  }
2757
2972
  }
2973
+ const webmapjs = webmapUtils.getWMJSMapById(mapId);
2974
+ webmapjs && webmapjs.draw('MapDraw::handleGeoJSONUpdate');
2758
2975
  };
2759
2976
  this.handleExitDrawMode = (reason = 'escaped') => {
2760
2977
  const {
@@ -3681,13 +3898,13 @@ class MapDraw extends React.PureComponent {
3681
3898
  transposePolygon(featureCoords) {
3682
3899
  const incX = this.mouseGeoCoord.x - this.snappedGeoCoords.x;
3683
3900
  const incY = this.mouseGeoCoord.y - this.snappedGeoCoords.y;
3901
+ this.snappedGeoCoords.x = this.mouseGeoCoord.x;
3902
+ this.snappedGeoCoords.y = this.mouseGeoCoord.y;
3684
3903
  for (let j = 0; j < featureCoords.length; j += 1) {
3685
3904
  /* eslint-disable-next-line no-param-reassign */
3686
3905
  featureCoords[j][0] += incX;
3687
3906
  /* eslint-disable-next-line no-param-reassign */
3688
3907
  featureCoords[j][1] += incY;
3689
- this.snappedGeoCoords.x = this.mouseGeoCoord.x;
3690
- this.snappedGeoCoords.y = this.mouseGeoCoord.y;
3691
3908
  }
3692
3909
  if (this.myEditMode !== EDITMODE.ADD_FEATURE) {
3693
3910
  this.somethingWasDragged = DRAGMODE.FEATURE;
@@ -3847,21 +4064,42 @@ class MapDraw extends React.PureComponent {
3847
4064
  }
3848
4065
  /* Sort clockwise */
3849
4066
  if (fixPolys) {
3850
- const checkClockwiseOrder = featureCoordinates => {
3851
- let sum = 0;
3852
- for (let j = 0; j < featureCoordinates.length - 1; j += 1) {
3853
- const currentPoint = featureCoordinates[j];
3854
- const nextPoint = featureCoordinates[(j + 1) % featureCoordinates.length];
3855
- sum += (nextPoint[0] - currentPoint[0]) * (nextPoint[1] + currentPoint[1]);
4067
+ if (this.checkIfFeatureIsBox(feature)) {
4068
+ // A box should have:
4069
+ // - topleft index 0 and 4
4070
+ // - bottomleft index 1
4071
+ // - bottomright index 2
4072
+ // - topright index 3
4073
+ // This represents counter-clockwise ordering and represents an area (https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6)
4074
+ // Make sure the coordinate order in a box is always the same
4075
+ const boxCoords = feature.geometry.coordinates[0];
4076
+ if (boxCoords.length === 5) {
4077
+ // Copy the first four coordinates and sort them according Y and then X
4078
+ const sortedYthenX = boxCoords.slice(0, 4).sort((a, b) => {
4079
+ return b[1] - a[1]; // Sort on Y
4080
+ }).sort((a, b) => {
4081
+ return a[0] - b[0]; // Sort on X
4082
+ });
4083
+ // Assign the ordered coordinates back to the geometry of the feature
4084
+ feature.geometry.coordinates[0] = [[...sortedYthenX[0]], [...sortedYthenX[1]], [...sortedYthenX[3]], [...sortedYthenX[2]], [...sortedYthenX[0]]];
3856
4085
  }
3857
- return sum;
3858
- };
3859
- const sum = checkClockwiseOrder(featureCoords);
3860
- if (sum < 0) {
3861
- featureCoords = featureCoords.reverse();
3862
- /* The lastly selected vertex is now aways the second in the array */
3863
- if (this.mouseIsOverVertexNr !== VERTEX.NONE && this.mouseIsOverVertexNr !== VERTEX.MIDDLE_POINT_OF_FEATURE) {
3864
- this.mouseIsOverVertexNr = 1;
4086
+ } else {
4087
+ const checkClockwiseOrder = featureCoordinates => {
4088
+ let sum = 0;
4089
+ for (let j = 0; j < featureCoordinates.length - 1; j += 1) {
4090
+ const currentPoint = featureCoordinates[j];
4091
+ const nextPoint = featureCoordinates[(j + 1) % featureCoordinates.length];
4092
+ sum += (nextPoint[0] - currentPoint[0]) * (nextPoint[1] + currentPoint[1]);
4093
+ }
4094
+ return sum;
4095
+ };
4096
+ const sum = checkClockwiseOrder(featureCoords);
4097
+ if (sum < 0) {
4098
+ featureCoords = featureCoords.reverse();
4099
+ /* The lastly selected vertex is now aways the second in the array */
4100
+ if (this.mouseIsOverVertexNr !== VERTEX.NONE && this.mouseIsOverVertexNr !== VERTEX.MIDDLE_POINT_OF_FEATURE) {
4101
+ this.mouseIsOverVertexNr = 1;
4102
+ }
3865
4103
  }
3866
4104
  }
3867
4105
  }
@@ -3980,6 +4218,9 @@ class MapDraw extends React.PureComponent {
3980
4218
  /* Draw all vertices on the edges of the polygons */
3981
4219
  for (let j = 0; j < XYCoords.length; j += 1) {
3982
4220
  this.drawVertice(ctx, XYCoords[j], this.snappedPolygonIndex === polygonIndex && this.mouseIsOverVertexNr === j && selectedFeatureIndex === featureIndex, false, isInEditMode && selectedFeatureIndex === featureIndex);
4221
+ // Enable the following to debug vertice numbers in the screen
4222
+ // ctx.font = '20px Arial';
4223
+ // ctx.fillText(j, XYCoords[j].x - 10, XYCoords[j].y - 10);
3983
4224
  }
3984
4225
  if (middle && isInEditMode === true && XYCoords.length >= 3) {
3985
4226
  /* Draw middle vertice for the poly if poly covers an area, e.g. when it contains more than three points */
@@ -4929,11 +5170,24 @@ const simpleBoxGeoJSON = {
4929
5170
  features: [{
4930
5171
  type: 'Feature',
4931
5172
  properties: {
4932
- _adaguctype: 'box'
5173
+ _type: 'box'
4933
5174
  },
4934
5175
  geometry: {
4935
5176
  type: 'Polygon',
4936
- coordinates: [[[3.6764699246101573, 60.0554711506609], [3.6764699246101573, 63.564699956881675], [15.801179052423734, 63.564699956881675], [15.801179052423734, 60.0554711506609], [3.6764699246101573, 60.0554711506609]]]
5177
+ coordinates: [[[3.6764699246101573, 63.564699956881675], [3.6764699246101573, 60.0554711506609], [15.801179052423734, 60.0554711506609], [15.801179052423734, 63.564699956881675], [3.6764699246101573, 63.564699956881675]]]
5178
+ }
5179
+ }]
5180
+ };
5181
+ const simpleBoxGeoJSONWrongOrder = {
5182
+ type: 'FeatureCollection',
5183
+ features: [{
5184
+ type: 'Feature',
5185
+ properties: {
5186
+ _type: 'box'
5187
+ },
5188
+ geometry: {
5189
+ type: 'Polygon',
5190
+ coordinates: [[[3.6764699246101573, 60.0554711506609], [15.801179052423734, 60.0554711506609], [15.801179052423734, 63.564699956881675], [3.6764699246101573, 63.564699956881675], [3.6764699246101573, 60.0554711506609]]]
4937
5191
  }
4938
5192
  }]
4939
5193
  };
@@ -6040,187 +6294,17 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
6040
6294
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
6041
6295
  };
6042
6296
 
6043
- /* eslint-disable no-undefined,no-param-reassign,no-shadow */
6044
-
6045
- /**
6046
- * Throttle execution of a function. Especially useful for rate limiting
6047
- * execution of handlers on events like resize and scroll.
6048
- *
6049
- * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher)
6050
- * are most useful.
6051
- * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through,
6052
- * as-is, to `callback` when the throttled-function is executed.
6053
- * @param {object} [options] - An object to configure options.
6054
- * @param {boolean} [options.noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds
6055
- * while the throttled-function is being called. If noTrailing is false or unspecified, callback will be executed
6056
- * one final time after the last throttled-function call. (After the throttled-function has not been called for
6057
- * `delay` milliseconds, the internal counter is reset).
6058
- * @param {boolean} [options.noLeading] - Optional, defaults to false. If noLeading is false, the first throttled-function call will execute callback
6059
- * immediately. If noLeading is true, the first the callback execution will be skipped. It should be noted that
6060
- * callback will never executed if both noLeading = true and noTrailing = true.
6061
- * @param {boolean} [options.debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is
6062
- * false (at end), schedule `callback` to execute after `delay` ms.
6063
- *
6064
- * @returns {Function} A new, throttled, function.
6065
- */
6066
- function throttle (delay, callback, options) {
6067
- var _ref = options || {},
6068
- _ref$noTrailing = _ref.noTrailing,
6069
- noTrailing = _ref$noTrailing === void 0 ? false : _ref$noTrailing,
6070
- _ref$noLeading = _ref.noLeading,
6071
- noLeading = _ref$noLeading === void 0 ? false : _ref$noLeading,
6072
- _ref$debounceMode = _ref.debounceMode,
6073
- debounceMode = _ref$debounceMode === void 0 ? undefined : _ref$debounceMode;
6074
- /*
6075
- * After wrapper has stopped being called, this timeout ensures that
6076
- * `callback` is executed at the proper times in `throttle` and `end`
6077
- * debounce modes.
6078
- */
6079
-
6080
-
6081
- var timeoutID;
6082
- var cancelled = false; // Keep track of the last time `callback` was executed.
6083
-
6084
- var lastExec = 0; // Function to clear existing timeout
6085
-
6086
- function clearExistingTimeout() {
6087
- if (timeoutID) {
6088
- clearTimeout(timeoutID);
6089
- }
6090
- } // Function to cancel next exec
6091
-
6092
-
6093
- function cancel(options) {
6094
- var _ref2 = options || {},
6095
- _ref2$upcomingOnly = _ref2.upcomingOnly,
6096
- upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;
6097
-
6098
- clearExistingTimeout();
6099
- cancelled = !upcomingOnly;
6100
- }
6101
- /*
6102
- * The `wrapper` function encapsulates all of the throttling / debouncing
6103
- * functionality and when executed will limit the rate at which `callback`
6104
- * is executed.
6105
- */
6106
-
6107
-
6108
- function wrapper() {
6109
- for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {
6110
- arguments_[_key] = arguments[_key];
6111
- }
6112
-
6113
- var self = this;
6114
- var elapsed = Date.now() - lastExec;
6115
-
6116
- if (cancelled) {
6117
- return;
6118
- } // Execute `callback` and update the `lastExec` timestamp.
6119
-
6120
-
6121
- function exec() {
6122
- lastExec = Date.now();
6123
- callback.apply(self, arguments_);
6124
- }
6125
- /*
6126
- * If `debounceMode` is true (at begin) this is used to clear the flag
6127
- * to allow future `callback` executions.
6128
- */
6129
-
6130
-
6131
- function clear() {
6132
- timeoutID = undefined;
6133
- }
6134
-
6135
- if (!noLeading && debounceMode && !timeoutID) {
6136
- /*
6137
- * Since `wrapper` is being called for the first time and
6138
- * `debounceMode` is true (at begin), execute `callback`
6139
- * and noLeading != true.
6140
- */
6141
- exec();
6142
- }
6143
-
6144
- clearExistingTimeout();
6145
-
6146
- if (debounceMode === undefined && elapsed > delay) {
6147
- if (noLeading) {
6148
- /*
6149
- * In throttle mode with noLeading, if `delay` time has
6150
- * been exceeded, update `lastExec` and schedule `callback`
6151
- * to execute after `delay` ms.
6152
- */
6153
- lastExec = Date.now();
6154
-
6155
- if (!noTrailing) {
6156
- timeoutID = setTimeout(debounceMode ? clear : exec, delay);
6157
- }
6158
- } else {
6159
- /*
6160
- * In throttle mode without noLeading, if `delay` time has been exceeded, execute
6161
- * `callback`.
6162
- */
6163
- exec();
6164
- }
6165
- } else if (noTrailing !== true) {
6166
- /*
6167
- * In trailing throttle mode, since `delay` time has not been
6168
- * exceeded, schedule `callback` to execute `delay` ms after most
6169
- * recent execution.
6170
- *
6171
- * If `debounceMode` is true (at begin), schedule `clear` to execute
6172
- * after `delay` ms.
6173
- *
6174
- * If `debounceMode` is false (at end), schedule `callback` to
6175
- * execute after `delay` ms.
6176
- */
6177
- timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
6178
- }
6179
- }
6180
-
6181
- wrapper.cancel = cancel; // Return the wrapper function.
6182
-
6183
- return wrapper;
6184
- }
6185
-
6186
- /* eslint-disable no-undefined */
6187
- /**
6188
- * Debounce execution of a function. Debouncing, unlike throttling,
6189
- * guarantees that a function is only executed a single time, either at the
6190
- * very beginning of a series of calls, or at the very end.
6191
- *
6192
- * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
6193
- * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
6194
- * to `callback` when the debounced-function is executed.
6195
- * @param {object} [options] - An object to configure options.
6196
- * @param {boolean} [options.atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds
6197
- * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.
6198
- * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).
6199
- *
6200
- * @returns {Function} A new, debounced function.
6201
- */
6202
-
6203
- function debounce (delay, callback, options) {
6204
- var _ref = options || {},
6205
- _ref$atBegin = _ref.atBegin,
6206
- atBegin = _ref$atBegin === void 0 ? false : _ref$atBegin;
6207
-
6208
- return throttle(delay, callback, {
6209
- debounceMode: atBegin !== false
6210
- });
6211
- }
6212
-
6213
- var aCallable$6 = aCallable$9;
6214
- var toObject$1 = toObject$5;
6297
+ var aCallable$6 = aCallable$a;
6298
+ var toObject = toObject$5;
6215
6299
  var IndexedObject = indexedObject;
6216
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
6300
+ var lengthOfArrayLike$1 = lengthOfArrayLike$5;
6217
6301
 
6218
- var $TypeError$8 = TypeError;
6302
+ var $TypeError$7 = TypeError;
6219
6303
 
6220
6304
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
6221
- var createMethod$1 = function (IS_RIGHT) {
6305
+ var createMethod = function (IS_RIGHT) {
6222
6306
  return function (that, callbackfn, argumentsLength, memo) {
6223
- var O = toObject$1(that);
6307
+ var O = toObject(that);
6224
6308
  var self = IndexedObject(O);
6225
6309
  var length = lengthOfArrayLike$1(O);
6226
6310
  aCallable$6(callbackfn);
@@ -6234,7 +6318,7 @@ var createMethod$1 = function (IS_RIGHT) {
6234
6318
  }
6235
6319
  index += i;
6236
6320
  if (IS_RIGHT ? index < 0 : length <= index) {
6237
- throw new $TypeError$8('Reduce of empty array with no initial value');
6321
+ throw new $TypeError$7('Reduce of empty array with no initial value');
6238
6322
  }
6239
6323
  }
6240
6324
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -6247,30 +6331,20 @@ var createMethod$1 = function (IS_RIGHT) {
6247
6331
  var arrayReduce = {
6248
6332
  // `Array.prototype.reduce` method
6249
6333
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
6250
- left: createMethod$1(false),
6334
+ left: createMethod(false),
6251
6335
  // `Array.prototype.reduceRight` method
6252
6336
  // https://tc39.es/ecma262/#sec-array.prototype.reduceright
6253
- right: createMethod$1(true)
6337
+ right: createMethod(true)
6254
6338
  };
6255
6339
 
6256
- var fails$8 = fails$m;
6340
+ var global$6 = global$j;
6341
+ var classof$3 = classofRaw$2;
6257
6342
 
6258
- var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
6259
- var method = [][METHOD_NAME];
6260
- return !!method && fails$8(function () {
6261
- // eslint-disable-next-line no-useless-call -- required for testing
6262
- method.call(null, argument || function () { return 1; }, 1);
6263
- });
6264
- };
6265
-
6266
- var global$9 = global$m;
6267
- var classof$4 = classofRaw$2;
6268
-
6269
- var engineIsNode = classof$4(global$9.process) === 'process';
6343
+ var engineIsNode = classof$3(global$6.process) === 'process';
6270
6344
 
6271
- var $$9 = _export;
6345
+ var $$8 = _export;
6272
6346
  var $reduce = arrayReduce.left;
6273
- var arrayMethodIsStrict = arrayMethodIsStrict$1;
6347
+ var arrayMethodIsStrict = arrayMethodIsStrict$2;
6274
6348
  var CHROME_VERSION = engineV8Version;
6275
6349
  var IS_NODE$4 = engineIsNode;
6276
6350
 
@@ -6281,7 +6355,7 @@ var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
6281
6355
 
6282
6356
  // `Array.prototype.reduce` method
6283
6357
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
6284
- $$9({ target: 'Array', proto: true, forced: FORCED }, {
6358
+ $$8({ target: 'Array', proto: true, forced: FORCED }, {
6285
6359
  reduce: function reduce(callbackfn /* , initialValue */) {
6286
6360
  var length = arguments.length;
6287
6361
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
@@ -6299,16 +6373,16 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
6299
6373
 
6300
6374
  var getBuiltIn$3 = getBuiltIn$7;
6301
6375
  var defineBuiltInAccessor = defineBuiltInAccessor$1;
6302
- var wellKnownSymbol$9 = wellKnownSymbol$i;
6376
+ var wellKnownSymbol$7 = wellKnownSymbol$g;
6303
6377
  var DESCRIPTORS = descriptors;
6304
6378
 
6305
- var SPECIES$3 = wellKnownSymbol$9('species');
6379
+ var SPECIES$2 = wellKnownSymbol$7('species');
6306
6380
 
6307
6381
  var setSpecies$1 = function (CONSTRUCTOR_NAME) {
6308
6382
  var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
6309
6383
 
6310
- if (DESCRIPTORS && Constructor && !Constructor[SPECIES$3]) {
6311
- defineBuiltInAccessor(Constructor, SPECIES$3, {
6384
+ if (DESCRIPTORS && Constructor && !Constructor[SPECIES$2]) {
6385
+ defineBuiltInAccessor(Constructor, SPECIES$2, {
6312
6386
  configurable: true,
6313
6387
  get: function () { return this; }
6314
6388
  });
@@ -6317,17 +6391,17 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
6317
6391
 
6318
6392
  var isPrototypeOf$1 = objectIsPrototypeOf;
6319
6393
 
6320
- var $TypeError$7 = TypeError;
6394
+ var $TypeError$6 = TypeError;
6321
6395
 
6322
6396
  var anInstance$1 = function (it, Prototype) {
6323
6397
  if (isPrototypeOf$1(Prototype, it)) return it;
6324
- throw new $TypeError$7('Incorrect invocation');
6398
+ throw new $TypeError$6('Incorrect invocation');
6325
6399
  };
6326
6400
 
6327
- var uncurryThis$9 = functionUncurryThis;
6328
- var fails$7 = fails$m;
6329
- var isCallable$6 = isCallable$m;
6330
- var classof$3 = classof$7;
6401
+ var uncurryThis$4 = functionUncurryThis;
6402
+ var fails$2 = fails$i;
6403
+ var isCallable$4 = isCallable$k;
6404
+ var classof$2 = classof$6;
6331
6405
  var getBuiltIn$2 = getBuiltIn$7;
6332
6406
  var inspectSource$1 = inspectSource$3;
6333
6407
 
@@ -6335,11 +6409,11 @@ var noop = function () { /* empty */ };
6335
6409
  var empty = [];
6336
6410
  var construct = getBuiltIn$2('Reflect', 'construct');
6337
6411
  var constructorRegExp = /^\s*(?:class|function)\b/;
6338
- var exec$1 = uncurryThis$9(constructorRegExp.exec);
6412
+ var exec = uncurryThis$4(constructorRegExp.exec);
6339
6413
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
6340
6414
 
6341
6415
  var isConstructorModern = function isConstructor(argument) {
6342
- if (!isCallable$6(argument)) return false;
6416
+ if (!isCallable$4(argument)) return false;
6343
6417
  try {
6344
6418
  construct(noop, empty, argument);
6345
6419
  return true;
@@ -6349,8 +6423,8 @@ var isConstructorModern = function isConstructor(argument) {
6349
6423
  };
6350
6424
 
6351
6425
  var isConstructorLegacy = function isConstructor(argument) {
6352
- if (!isCallable$6(argument)) return false;
6353
- switch (classof$3(argument)) {
6426
+ if (!isCallable$4(argument)) return false;
6427
+ switch (classof$2(argument)) {
6354
6428
  case 'AsyncFunction':
6355
6429
  case 'GeneratorFunction':
6356
6430
  case 'AsyncGeneratorFunction': return false;
@@ -6359,7 +6433,7 @@ var isConstructorLegacy = function isConstructor(argument) {
6359
6433
  // we can't check .prototype since constructors produced by .bind haven't it
6360
6434
  // `Function#toString` throws on some built-it function in some legacy engines
6361
6435
  // (for example, `DOMQuad` and similar in FF41-)
6362
- return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource$1(argument));
6436
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource$1(argument));
6363
6437
  } catch (error) {
6364
6438
  return true;
6365
6439
  }
@@ -6369,7 +6443,7 @@ isConstructorLegacy.sham = true;
6369
6443
 
6370
6444
  // `IsConstructor` abstract operation
6371
6445
  // https://tc39.es/ecma262/#sec-isconstructor
6372
- var isConstructor$1 = !construct || fails$7(function () {
6446
+ var isConstructor$1 = !construct || fails$2(function () {
6373
6447
  var called;
6374
6448
  return isConstructorModern(isConstructorModern.call)
6375
6449
  || !isConstructorModern(Object)
@@ -6378,57 +6452,57 @@ var isConstructor$1 = !construct || fails$7(function () {
6378
6452
  }) ? isConstructorLegacy : isConstructorModern;
6379
6453
 
6380
6454
  var isConstructor = isConstructor$1;
6381
- var tryToString$2 = tryToString$4;
6455
+ var tryToString$2 = tryToString$5;
6382
6456
 
6383
- var $TypeError$6 = TypeError;
6457
+ var $TypeError$5 = TypeError;
6384
6458
 
6385
6459
  // `Assert: IsConstructor(argument) is true`
6386
6460
  var aConstructor$1 = function (argument) {
6387
6461
  if (isConstructor(argument)) return argument;
6388
- throw new $TypeError$6(tryToString$2(argument) + ' is not a constructor');
6462
+ throw new $TypeError$5(tryToString$2(argument) + ' is not a constructor');
6389
6463
  };
6390
6464
 
6391
- var anObject$6 = anObject$e;
6465
+ var anObject$4 = anObject$c;
6392
6466
  var aConstructor = aConstructor$1;
6393
- var isNullOrUndefined$2 = isNullOrUndefined$5;
6394
- var wellKnownSymbol$8 = wellKnownSymbol$i;
6467
+ var isNullOrUndefined$1 = isNullOrUndefined$4;
6468
+ var wellKnownSymbol$6 = wellKnownSymbol$g;
6395
6469
 
6396
- var SPECIES$2 = wellKnownSymbol$8('species');
6470
+ var SPECIES$1 = wellKnownSymbol$6('species');
6397
6471
 
6398
6472
  // `SpeciesConstructor` abstract operation
6399
6473
  // https://tc39.es/ecma262/#sec-speciesconstructor
6400
6474
  var speciesConstructor$1 = function (O, defaultConstructor) {
6401
- var C = anObject$6(O).constructor;
6475
+ var C = anObject$4(O).constructor;
6402
6476
  var S;
6403
- return C === undefined || isNullOrUndefined$2(S = anObject$6(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
6477
+ return C === undefined || isNullOrUndefined$1(S = anObject$4(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
6404
6478
  };
6405
6479
 
6406
6480
  var NATIVE_BIND$1 = functionBindNative;
6407
6481
 
6408
6482
  var FunctionPrototype = Function.prototype;
6409
- var apply$2 = FunctionPrototype.apply;
6410
- var call$a = FunctionPrototype.call;
6483
+ var apply$1 = FunctionPrototype.apply;
6484
+ var call$7 = FunctionPrototype.call;
6411
6485
 
6412
6486
  // eslint-disable-next-line es/no-reflect -- safe
6413
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$2) : function () {
6414
- return call$a.apply(apply$2, arguments);
6487
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$1) : function () {
6488
+ return call$7.apply(apply$1, arguments);
6415
6489
  });
6416
6490
 
6417
6491
  var classofRaw = classofRaw$2;
6418
- var uncurryThis$8 = functionUncurryThis;
6492
+ var uncurryThis$3 = functionUncurryThis;
6419
6493
 
6420
6494
  var functionUncurryThisClause = function (fn) {
6421
6495
  // Nashorn bug:
6422
6496
  // https://github.com/zloirock/core-js/issues/1128
6423
6497
  // https://github.com/zloirock/core-js/issues/1130
6424
- if (classofRaw(fn) === 'Function') return uncurryThis$8(fn);
6498
+ if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);
6425
6499
  };
6426
6500
 
6427
- var uncurryThis$7 = functionUncurryThisClause;
6428
- var aCallable$5 = aCallable$9;
6501
+ var uncurryThis$2 = functionUncurryThisClause;
6502
+ var aCallable$5 = aCallable$a;
6429
6503
  var NATIVE_BIND = functionBindNative;
6430
6504
 
6431
- var bind$4 = uncurryThis$7(uncurryThis$7.bind);
6505
+ var bind$4 = uncurryThis$2(uncurryThis$2.bind);
6432
6506
 
6433
6507
  // optional / simple context binding
6434
6508
  var functionBindContext = function (fn, that) {
@@ -6438,14 +6512,14 @@ var functionBindContext = function (fn, that) {
6438
6512
  };
6439
6513
  };
6440
6514
 
6441
- var uncurryThis$6 = functionUncurryThis;
6515
+ var uncurryThis$1 = functionUncurryThis;
6442
6516
 
6443
- var arraySlice$1 = uncurryThis$6([].slice);
6517
+ var arraySlice$1 = uncurryThis$1([].slice);
6444
6518
 
6445
- var $TypeError$5 = TypeError;
6519
+ var $TypeError$4 = TypeError;
6446
6520
 
6447
6521
  var validateArgumentsLength$1 = function (passed, required) {
6448
- if (passed < required) throw new $TypeError$5('Not enough arguments');
6522
+ if (passed < required) throw new $TypeError$4('Not enough arguments');
6449
6523
  return passed;
6450
6524
  };
6451
6525
 
@@ -6454,12 +6528,12 @@ var userAgent$2 = engineUserAgent;
6454
6528
  // eslint-disable-next-line redos/no-vulnerable -- safe
6455
6529
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
6456
6530
 
6457
- var global$8 = global$m;
6458
- var apply$1 = functionApply;
6531
+ var global$5 = global$j;
6532
+ var apply = functionApply;
6459
6533
  var bind$3 = functionBindContext;
6460
- var isCallable$5 = isCallable$m;
6534
+ var isCallable$3 = isCallable$k;
6461
6535
  var hasOwn = hasOwnProperty_1;
6462
- var fails$6 = fails$m;
6536
+ var fails$1 = fails$i;
6463
6537
  var html = html$2;
6464
6538
  var arraySlice = arraySlice$1;
6465
6539
  var createElement = documentCreateElement$2;
@@ -6467,21 +6541,21 @@ var validateArgumentsLength = validateArgumentsLength$1;
6467
6541
  var IS_IOS$1 = engineIsIos;
6468
6542
  var IS_NODE$3 = engineIsNode;
6469
6543
 
6470
- var set = global$8.setImmediate;
6471
- var clear = global$8.clearImmediate;
6472
- var process$2 = global$8.process;
6473
- var Dispatch = global$8.Dispatch;
6474
- var Function$1 = global$8.Function;
6475
- var MessageChannel = global$8.MessageChannel;
6476
- var String$1 = global$8.String;
6544
+ var set = global$5.setImmediate;
6545
+ var clear = global$5.clearImmediate;
6546
+ var process$2 = global$5.process;
6547
+ var Dispatch = global$5.Dispatch;
6548
+ var Function$1 = global$5.Function;
6549
+ var MessageChannel = global$5.MessageChannel;
6550
+ var String$1 = global$5.String;
6477
6551
  var counter = 0;
6478
6552
  var queue$2 = {};
6479
6553
  var ONREADYSTATECHANGE = 'onreadystatechange';
6480
6554
  var $location, defer, channel, port;
6481
6555
 
6482
- fails$6(function () {
6556
+ fails$1(function () {
6483
6557
  // Deno throws a ReferenceError on `location` access without `--location` flag
6484
- $location = global$8.location;
6558
+ $location = global$5.location;
6485
6559
  });
6486
6560
 
6487
6561
  var run = function (id) {
@@ -6504,17 +6578,17 @@ var eventListener = function (event) {
6504
6578
 
6505
6579
  var globalPostMessageDefer = function (id) {
6506
6580
  // old engines have not location.origin
6507
- global$8.postMessage(String$1(id), $location.protocol + '//' + $location.host);
6581
+ global$5.postMessage(String$1(id), $location.protocol + '//' + $location.host);
6508
6582
  };
6509
6583
 
6510
6584
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
6511
6585
  if (!set || !clear) {
6512
6586
  set = function setImmediate(handler) {
6513
6587
  validateArgumentsLength(arguments.length, 1);
6514
- var fn = isCallable$5(handler) ? handler : Function$1(handler);
6588
+ var fn = isCallable$3(handler) ? handler : Function$1(handler);
6515
6589
  var args = arraySlice(arguments, 1);
6516
6590
  queue$2[++counter] = function () {
6517
- apply$1(fn, undefined, args);
6591
+ apply(fn, undefined, args);
6518
6592
  };
6519
6593
  defer(counter);
6520
6594
  return counter;
@@ -6542,14 +6616,14 @@ if (!set || !clear) {
6542
6616
  // Browsers with postMessage, skip WebWorkers
6543
6617
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
6544
6618
  } else if (
6545
- global$8.addEventListener &&
6546
- isCallable$5(global$8.postMessage) &&
6547
- !global$8.importScripts &&
6619
+ global$5.addEventListener &&
6620
+ isCallable$3(global$5.postMessage) &&
6621
+ !global$5.importScripts &&
6548
6622
  $location && $location.protocol !== 'file:' &&
6549
- !fails$6(globalPostMessageDefer)
6623
+ !fails$1(globalPostMessageDefer)
6550
6624
  ) {
6551
6625
  defer = globalPostMessageDefer;
6552
- global$8.addEventListener('message', eventListener, false);
6626
+ global$5.addEventListener('message', eventListener, false);
6553
6627
  // IE8-
6554
6628
  } else if (ONREADYSTATECHANGE in createElement('script')) {
6555
6629
  defer = function (id) {
@@ -6604,7 +6678,7 @@ var userAgent = engineUserAgent;
6604
6678
 
6605
6679
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
6606
6680
 
6607
- var global$7 = global$m;
6681
+ var global$4 = global$j;
6608
6682
  var bind$2 = functionBindContext;
6609
6683
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
6610
6684
  var macrotask = task$1.set;
@@ -6614,12 +6688,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
6614
6688
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
6615
6689
  var IS_NODE$2 = engineIsNode;
6616
6690
 
6617
- var MutationObserver = global$7.MutationObserver || global$7.WebKitMutationObserver;
6618
- var document$2 = global$7.document;
6619
- var process$1 = global$7.process;
6620
- var Promise$1 = global$7.Promise;
6691
+ var MutationObserver = global$4.MutationObserver || global$4.WebKitMutationObserver;
6692
+ var document$2 = global$4.document;
6693
+ var process$1 = global$4.process;
6694
+ var Promise$1 = global$4.Promise;
6621
6695
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
6622
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$7, 'queueMicrotask');
6696
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$4, 'queueMicrotask');
6623
6697
  var microtask$1 = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
6624
6698
  var notify$1, toggle, node, promise, then;
6625
6699
 
@@ -6671,7 +6745,7 @@ if (!microtask$1) {
6671
6745
  // - setTimeout
6672
6746
  } else {
6673
6747
  // `webpack` dev server bug on IE global methods - use bind(fn, global)
6674
- macrotask = bind$2(macrotask, global$7);
6748
+ macrotask = bind$2(macrotask, global$4);
6675
6749
  notify$1 = function () {
6676
6750
  macrotask(flush);
6677
6751
  };
@@ -6700,9 +6774,9 @@ var perform$3 = function (exec) {
6700
6774
  }
6701
6775
  };
6702
6776
 
6703
- var global$6 = global$m;
6777
+ var global$3 = global$j;
6704
6778
 
6705
- var promiseNativeConstructor = global$6.Promise;
6779
+ var promiseNativeConstructor = global$3.Promise;
6706
6780
 
6707
6781
  /* global Deno -- Deno case */
6708
6782
  var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
@@ -6714,20 +6788,20 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
6714
6788
  && typeof window == 'object'
6715
6789
  && typeof document == 'object';
6716
6790
 
6717
- var global$5 = global$m;
6791
+ var global$2 = global$j;
6718
6792
  var NativePromiseConstructor$3 = promiseNativeConstructor;
6719
- var isCallable$4 = isCallable$m;
6793
+ var isCallable$2 = isCallable$k;
6720
6794
  var isForced = isForced_1;
6721
6795
  var inspectSource = inspectSource$3;
6722
- var wellKnownSymbol$7 = wellKnownSymbol$i;
6796
+ var wellKnownSymbol$5 = wellKnownSymbol$g;
6723
6797
  var IS_BROWSER = engineIsBrowser;
6724
6798
  var IS_DENO = engineIsDeno;
6725
6799
  var V8_VERSION = engineV8Version;
6726
6800
 
6727
6801
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
6728
- var SPECIES$1 = wellKnownSymbol$7('species');
6802
+ var SPECIES = wellKnownSymbol$5('species');
6729
6803
  var SUBCLASSING = false;
6730
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
6804
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(global$2.PromiseRejectionEvent);
6731
6805
 
6732
6806
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
6733
6807
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -6746,7 +6820,7 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
6746
6820
  exec(function () { /* empty */ }, function () { /* empty */ });
6747
6821
  };
6748
6822
  var constructor = promise.constructor = {};
6749
- constructor[SPECIES$1] = FakePromise;
6823
+ constructor[SPECIES] = FakePromise;
6750
6824
  SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
6751
6825
  if (!SUBCLASSING) return true;
6752
6826
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
@@ -6761,14 +6835,14 @@ var promiseConstructorDetection = {
6761
6835
 
6762
6836
  var newPromiseCapability$2 = {};
6763
6837
 
6764
- var aCallable$4 = aCallable$9;
6838
+ var aCallable$4 = aCallable$a;
6765
6839
 
6766
- var $TypeError$4 = TypeError;
6840
+ var $TypeError$3 = TypeError;
6767
6841
 
6768
6842
  var PromiseCapability = function (C) {
6769
6843
  var resolve, reject;
6770
6844
  this.promise = new C(function ($$resolve, $$reject) {
6771
- if (resolve !== undefined || reject !== undefined) throw new $TypeError$4('Bad Promise constructor');
6845
+ if (resolve !== undefined || reject !== undefined) throw new $TypeError$3('Bad Promise constructor');
6772
6846
  resolve = $$resolve;
6773
6847
  reject = $$reject;
6774
6848
  });
@@ -6782,16 +6856,16 @@ newPromiseCapability$2.f = function (C) {
6782
6856
  return new PromiseCapability(C);
6783
6857
  };
6784
6858
 
6785
- var $$8 = _export;
6859
+ var $$7 = _export;
6786
6860
  var IS_NODE = engineIsNode;
6787
- var global$4 = global$m;
6788
- var call$9 = functionCall;
6789
- var defineBuiltIn$2 = defineBuiltIn$7;
6861
+ var global$1 = global$j;
6862
+ var call$6 = functionCall;
6863
+ var defineBuiltIn$1 = defineBuiltIn$6;
6790
6864
  var setPrototypeOf = objectSetPrototypeOf;
6791
6865
  var setToStringTag = setToStringTag$4;
6792
6866
  var setSpecies = setSpecies$1;
6793
- var aCallable$3 = aCallable$9;
6794
- var isCallable$3 = isCallable$m;
6867
+ var aCallable$3 = aCallable$a;
6868
+ var isCallable$1 = isCallable$k;
6795
6869
  var isObject$2 = isObject$9;
6796
6870
  var anInstance = anInstance$1;
6797
6871
  var speciesConstructor = speciesConstructor$1;
@@ -6814,13 +6888,13 @@ var setInternalState = InternalStateModule.set;
6814
6888
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
6815
6889
  var PromiseConstructor = NativePromiseConstructor$2;
6816
6890
  var PromisePrototype = NativePromisePrototype$1;
6817
- var TypeError$1 = global$4.TypeError;
6818
- var document$1 = global$4.document;
6819
- var process = global$4.process;
6891
+ var TypeError$1 = global$1.TypeError;
6892
+ var document$1 = global$1.document;
6893
+ var process = global$1.process;
6820
6894
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
6821
6895
  var newGenericPromiseCapability = newPromiseCapability$1;
6822
6896
 
6823
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
6897
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$1.dispatchEvent);
6824
6898
  var UNHANDLED_REJECTION = 'unhandledrejection';
6825
6899
  var REJECTION_HANDLED = 'rejectionhandled';
6826
6900
  var PENDING = 0;
@@ -6834,7 +6908,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
6834
6908
  // helpers
6835
6909
  var isThenable = function (it) {
6836
6910
  var then;
6837
- return isObject$2(it) && isCallable$3(then = it.then) ? then : false;
6911
+ return isObject$2(it) && isCallable$1(then = it.then) ? then : false;
6838
6912
  };
6839
6913
 
6840
6914
  var callReaction = function (reaction, state) {
@@ -6863,7 +6937,7 @@ var callReaction = function (reaction, state) {
6863
6937
  if (result === reaction.promise) {
6864
6938
  reject(new TypeError$1('Promise-chain cycle'));
6865
6939
  } else if (then = isThenable(result)) {
6866
- call$9(then, result, resolve, reject);
6940
+ call$6(then, result, resolve, reject);
6867
6941
  } else resolve(result);
6868
6942
  } else reject(value);
6869
6943
  } catch (error) {
@@ -6893,14 +6967,14 @@ var dispatchEvent = function (name, promise, reason) {
6893
6967
  event.promise = promise;
6894
6968
  event.reason = reason;
6895
6969
  event.initEvent(name, false, true);
6896
- global$4.dispatchEvent(event);
6970
+ global$1.dispatchEvent(event);
6897
6971
  } else event = { promise: promise, reason: reason };
6898
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
6972
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$1['on' + name])) handler(event);
6899
6973
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
6900
6974
  };
6901
6975
 
6902
6976
  var onUnhandled = function (state) {
6903
- call$9(task, global$4, function () {
6977
+ call$6(task, global$1, function () {
6904
6978
  var promise = state.facade;
6905
6979
  var value = state.value;
6906
6980
  var IS_UNHANDLED = isUnhandled(state);
@@ -6923,7 +6997,7 @@ var isUnhandled = function (state) {
6923
6997
  };
6924
6998
 
6925
6999
  var onHandleUnhandled = function (state) {
6926
- call$9(task, global$4, function () {
7000
+ call$6(task, global$1, function () {
6927
7001
  var promise = state.facade;
6928
7002
  if (IS_NODE) {
6929
7003
  process.emit('rejectionHandled', promise);
@@ -6957,7 +7031,7 @@ var internalResolve = function (state, value, unwrap) {
6957
7031
  microtask(function () {
6958
7032
  var wrapper = { done: false };
6959
7033
  try {
6960
- call$9(then, value,
7034
+ call$6(then, value,
6961
7035
  bind$1(internalResolve, wrapper, state),
6962
7036
  bind$1(internalReject, wrapper, state)
6963
7037
  );
@@ -6981,7 +7055,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
6981
7055
  PromiseConstructor = function Promise(executor) {
6982
7056
  anInstance(this, PromisePrototype);
6983
7057
  aCallable$3(executor);
6984
- call$9(Internal, this);
7058
+ call$6(Internal, this);
6985
7059
  var state = getInternalPromiseState(this);
6986
7060
  try {
6987
7061
  executor(bind$1(internalResolve, state), bind$1(internalReject, state));
@@ -7008,12 +7082,12 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
7008
7082
 
7009
7083
  // `Promise.prototype.then` method
7010
7084
  // https://tc39.es/ecma262/#sec-promise.prototype.then
7011
- Internal.prototype = defineBuiltIn$2(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
7085
+ Internal.prototype = defineBuiltIn$1(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
7012
7086
  var state = getInternalPromiseState(this);
7013
7087
  var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
7014
7088
  state.parent = true;
7015
- reaction.ok = isCallable$3(onFulfilled) ? onFulfilled : true;
7016
- reaction.fail = isCallable$3(onRejected) && onRejected;
7089
+ reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
7090
+ reaction.fail = isCallable$1(onRejected) && onRejected;
7017
7091
  reaction.domain = IS_NODE ? process.domain : undefined;
7018
7092
  if (state.state === PENDING) state.reactions.add(reaction);
7019
7093
  else microtask(function () {
@@ -7036,15 +7110,15 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
7036
7110
  : newGenericPromiseCapability(C);
7037
7111
  };
7038
7112
 
7039
- if (isCallable$3(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
7113
+ if (isCallable$1(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
7040
7114
  nativeThen = NativePromisePrototype$1.then;
7041
7115
 
7042
7116
  if (!NATIVE_PROMISE_SUBCLASSING) {
7043
7117
  // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
7044
- defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
7118
+ defineBuiltIn$1(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
7045
7119
  var that = this;
7046
7120
  return new PromiseConstructor(function (resolve, reject) {
7047
- call$9(nativeThen, that, resolve, reject);
7121
+ call$6(nativeThen, that, resolve, reject);
7048
7122
  }).then(onFulfilled, onRejected);
7049
7123
  // https://github.com/zloirock/core-js/issues/640
7050
7124
  }, { unsafe: true });
@@ -7062,17 +7136,17 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
7062
7136
  }
7063
7137
  }
7064
7138
 
7065
- $$8({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
7139
+ $$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
7066
7140
  Promise: PromiseConstructor
7067
7141
  });
7068
7142
 
7069
7143
  setToStringTag(PromiseConstructor, PROMISE, false);
7070
7144
  setSpecies(PROMISE);
7071
7145
 
7072
- var wellKnownSymbol$6 = wellKnownSymbol$i;
7146
+ var wellKnownSymbol$4 = wellKnownSymbol$g;
7073
7147
  var Iterators$1 = iterators;
7074
7148
 
7075
- var ITERATOR$2 = wellKnownSymbol$6('iterator');
7149
+ var ITERATOR$2 = wellKnownSymbol$4('iterator');
7076
7150
  var ArrayPrototype = Array.prototype;
7077
7151
 
7078
7152
  // check on default Array iterator
@@ -7080,70 +7154,70 @@ var isArrayIteratorMethod$1 = function (it) {
7080
7154
  return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
7081
7155
  };
7082
7156
 
7083
- var classof$2 = classof$7;
7084
- var getMethod$2 = getMethod$4;
7085
- var isNullOrUndefined$1 = isNullOrUndefined$5;
7157
+ var classof$1 = classof$6;
7158
+ var getMethod$1 = getMethod$3;
7159
+ var isNullOrUndefined = isNullOrUndefined$4;
7086
7160
  var Iterators = iterators;
7087
- var wellKnownSymbol$5 = wellKnownSymbol$i;
7161
+ var wellKnownSymbol$3 = wellKnownSymbol$g;
7088
7162
 
7089
- var ITERATOR$1 = wellKnownSymbol$5('iterator');
7163
+ var ITERATOR$1 = wellKnownSymbol$3('iterator');
7090
7164
 
7091
7165
  var getIteratorMethod$2 = function (it) {
7092
- if (!isNullOrUndefined$1(it)) return getMethod$2(it, ITERATOR$1)
7093
- || getMethod$2(it, '@@iterator')
7094
- || Iterators[classof$2(it)];
7166
+ if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$1)
7167
+ || getMethod$1(it, '@@iterator')
7168
+ || Iterators[classof$1(it)];
7095
7169
  };
7096
7170
 
7097
- var call$8 = functionCall;
7098
- var aCallable$2 = aCallable$9;
7099
- var anObject$5 = anObject$e;
7100
- var tryToString$1 = tryToString$4;
7171
+ var call$5 = functionCall;
7172
+ var aCallable$2 = aCallable$a;
7173
+ var anObject$3 = anObject$c;
7174
+ var tryToString$1 = tryToString$5;
7101
7175
  var getIteratorMethod$1 = getIteratorMethod$2;
7102
7176
 
7103
- var $TypeError$3 = TypeError;
7177
+ var $TypeError$2 = TypeError;
7104
7178
 
7105
7179
  var getIterator$1 = function (argument, usingIterator) {
7106
7180
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
7107
- if (aCallable$2(iteratorMethod)) return anObject$5(call$8(iteratorMethod, argument));
7108
- throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
7181
+ if (aCallable$2(iteratorMethod)) return anObject$3(call$5(iteratorMethod, argument));
7182
+ throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
7109
7183
  };
7110
7184
 
7111
- var call$7 = functionCall;
7112
- var anObject$4 = anObject$e;
7113
- var getMethod$1 = getMethod$4;
7185
+ var call$4 = functionCall;
7186
+ var anObject$2 = anObject$c;
7187
+ var getMethod = getMethod$3;
7114
7188
 
7115
7189
  var iteratorClose$1 = function (iterator, kind, value) {
7116
7190
  var innerResult, innerError;
7117
- anObject$4(iterator);
7191
+ anObject$2(iterator);
7118
7192
  try {
7119
- innerResult = getMethod$1(iterator, 'return');
7193
+ innerResult = getMethod(iterator, 'return');
7120
7194
  if (!innerResult) {
7121
7195
  if (kind === 'throw') throw value;
7122
7196
  return value;
7123
7197
  }
7124
- innerResult = call$7(innerResult, iterator);
7198
+ innerResult = call$4(innerResult, iterator);
7125
7199
  } catch (error) {
7126
7200
  innerError = true;
7127
7201
  innerResult = error;
7128
7202
  }
7129
7203
  if (kind === 'throw') throw value;
7130
7204
  if (innerError) throw innerResult;
7131
- anObject$4(innerResult);
7205
+ anObject$2(innerResult);
7132
7206
  return value;
7133
7207
  };
7134
7208
 
7135
7209
  var bind = functionBindContext;
7136
- var call$6 = functionCall;
7137
- var anObject$3 = anObject$e;
7138
- var tryToString = tryToString$4;
7210
+ var call$3 = functionCall;
7211
+ var anObject$1 = anObject$c;
7212
+ var tryToString = tryToString$5;
7139
7213
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
7140
- var lengthOfArrayLike = lengthOfArrayLike$3;
7214
+ var lengthOfArrayLike = lengthOfArrayLike$5;
7141
7215
  var isPrototypeOf = objectIsPrototypeOf;
7142
7216
  var getIterator = getIterator$1;
7143
7217
  var getIteratorMethod = getIteratorMethod$2;
7144
7218
  var iteratorClose = iteratorClose$1;
7145
7219
 
7146
- var $TypeError$2 = TypeError;
7220
+ var $TypeError$1 = TypeError;
7147
7221
 
7148
7222
  var Result = function (stopped, result) {
7149
7223
  this.stopped = stopped;
@@ -7168,7 +7242,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7168
7242
 
7169
7243
  var callFn = function (value) {
7170
7244
  if (AS_ENTRIES) {
7171
- anObject$3(value);
7245
+ anObject$1(value);
7172
7246
  return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
7173
7247
  } return INTERRUPTED ? fn(value, stop) : fn(value);
7174
7248
  };
@@ -7179,7 +7253,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7179
7253
  iterator = iterable;
7180
7254
  } else {
7181
7255
  iterFn = getIteratorMethod(iterable);
7182
- if (!iterFn) throw new $TypeError$2(tryToString(iterable) + ' is not iterable');
7256
+ if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
7183
7257
  // optimisation for array iterators
7184
7258
  if (isArrayIteratorMethod(iterFn)) {
7185
7259
  for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
@@ -7191,7 +7265,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7191
7265
  }
7192
7266
 
7193
7267
  next = IS_RECORD ? iterable.next : iterator.next;
7194
- while (!(step = call$6(next, iterator)).done) {
7268
+ while (!(step = call$3(next, iterator)).done) {
7195
7269
  try {
7196
7270
  result = callFn(step.value);
7197
7271
  } catch (error) {
@@ -7201,9 +7275,9 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7201
7275
  } return new Result(false);
7202
7276
  };
7203
7277
 
7204
- var wellKnownSymbol$4 = wellKnownSymbol$i;
7278
+ var wellKnownSymbol$2 = wellKnownSymbol$g;
7205
7279
 
7206
- var ITERATOR = wellKnownSymbol$4('iterator');
7280
+ var ITERATOR = wellKnownSymbol$2('iterator');
7207
7281
  var SAFE_CLOSING = false;
7208
7282
 
7209
7283
  try {
@@ -7250,9 +7324,9 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
7250
7324
  NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
7251
7325
  });
7252
7326
 
7253
- var $$7 = _export;
7254
- var call$5 = functionCall;
7255
- var aCallable$1 = aCallable$9;
7327
+ var $$6 = _export;
7328
+ var call$2 = functionCall;
7329
+ var aCallable$1 = aCallable$a;
7256
7330
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
7257
7331
  var perform$1 = perform$3;
7258
7332
  var iterate$1 = iterate$2;
@@ -7260,7 +7334,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
7260
7334
 
7261
7335
  // `Promise.all` method
7262
7336
  // https://tc39.es/ecma262/#sec-promise.all
7263
- $$7({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
7337
+ $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
7264
7338
  all: function all(iterable) {
7265
7339
  var C = this;
7266
7340
  var capability = newPromiseCapabilityModule$2.f(C);
@@ -7275,7 +7349,7 @@ $$7({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7275
7349
  var index = counter++;
7276
7350
  var alreadyCalled = false;
7277
7351
  remaining++;
7278
- call$5($promiseResolve, C, promise).then(function (value) {
7352
+ call$2($promiseResolve, C, promise).then(function (value) {
7279
7353
  if (alreadyCalled) return;
7280
7354
  alreadyCalled = true;
7281
7355
  values[index] = value;
@@ -7289,34 +7363,34 @@ $$7({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7289
7363
  }
7290
7364
  });
7291
7365
 
7292
- var $$6 = _export;
7366
+ var $$5 = _export;
7293
7367
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
7294
7368
  var NativePromiseConstructor = promiseNativeConstructor;
7295
7369
  var getBuiltIn$1 = getBuiltIn$7;
7296
- var isCallable$2 = isCallable$m;
7297
- var defineBuiltIn$1 = defineBuiltIn$7;
7370
+ var isCallable = isCallable$k;
7371
+ var defineBuiltIn = defineBuiltIn$6;
7298
7372
 
7299
7373
  var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
7300
7374
 
7301
7375
  // `Promise.prototype.catch` method
7302
7376
  // https://tc39.es/ecma262/#sec-promise.prototype.catch
7303
- $$6({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
7377
+ $$5({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
7304
7378
  'catch': function (onRejected) {
7305
7379
  return this.then(undefined, onRejected);
7306
7380
  }
7307
7381
  });
7308
7382
 
7309
7383
  // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
7310
- if (isCallable$2(NativePromiseConstructor)) {
7384
+ if (isCallable(NativePromiseConstructor)) {
7311
7385
  var method = getBuiltIn$1('Promise').prototype['catch'];
7312
7386
  if (NativePromisePrototype['catch'] !== method) {
7313
- defineBuiltIn$1(NativePromisePrototype, 'catch', method, { unsafe: true });
7387
+ defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
7314
7388
  }
7315
7389
  }
7316
7390
 
7317
- var $$5 = _export;
7318
- var call$4 = functionCall;
7319
- var aCallable = aCallable$9;
7391
+ var $$4 = _export;
7392
+ var call$1 = functionCall;
7393
+ var aCallable = aCallable$a;
7320
7394
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
7321
7395
  var perform = perform$3;
7322
7396
  var iterate = iterate$2;
@@ -7324,7 +7398,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
7324
7398
 
7325
7399
  // `Promise.race` method
7326
7400
  // https://tc39.es/ecma262/#sec-promise.race
7327
- $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
7401
+ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
7328
7402
  race: function race(iterable) {
7329
7403
  var C = this;
7330
7404
  var capability = newPromiseCapabilityModule$1.f(C);
@@ -7332,7 +7406,7 @@ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7332
7406
  var result = perform(function () {
7333
7407
  var $promiseResolve = aCallable(C.resolve);
7334
7408
  iterate(iterable, function (promise) {
7335
- call$4($promiseResolve, C, promise).then(capability.resolve, reject);
7409
+ call$1($promiseResolve, C, promise).then(capability.resolve, reject);
7336
7410
  });
7337
7411
  });
7338
7412
  if (result.error) reject(result.value);
@@ -7340,27 +7414,27 @@ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7340
7414
  }
7341
7415
  });
7342
7416
 
7343
- var $$4 = _export;
7344
- var call$3 = functionCall;
7417
+ var $$3 = _export;
7418
+ var call = functionCall;
7345
7419
  var newPromiseCapabilityModule = newPromiseCapability$2;
7346
7420
  var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
7347
7421
 
7348
7422
  // `Promise.reject` method
7349
7423
  // https://tc39.es/ecma262/#sec-promise.reject
7350
- $$4({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
7424
+ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
7351
7425
  reject: function reject(r) {
7352
7426
  var capability = newPromiseCapabilityModule.f(this);
7353
- call$3(capability.reject, undefined, r);
7427
+ call(capability.reject, undefined, r);
7354
7428
  return capability.promise;
7355
7429
  }
7356
7430
  });
7357
7431
 
7358
- var anObject$2 = anObject$e;
7432
+ var anObject = anObject$c;
7359
7433
  var isObject$1 = isObject$9;
7360
7434
  var newPromiseCapability = newPromiseCapability$2;
7361
7435
 
7362
7436
  var promiseResolve$1 = function (C, x) {
7363
- anObject$2(C);
7437
+ anObject(C);
7364
7438
  if (isObject$1(x) && x.constructor === C) return x;
7365
7439
  var promiseCapability = newPromiseCapability.f(C);
7366
7440
  var resolve = promiseCapability.resolve;
@@ -7368,7 +7442,7 @@ var promiseResolve$1 = function (C, x) {
7368
7442
  return promiseCapability.promise;
7369
7443
  };
7370
7444
 
7371
- var $$3 = _export;
7445
+ var $$2 = _export;
7372
7446
  var getBuiltIn = getBuiltIn$7;
7373
7447
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
7374
7448
  var promiseResolve = promiseResolve$1;
@@ -7377,26 +7451,26 @@ getBuiltIn('Promise');
7377
7451
 
7378
7452
  // `Promise.resolve` method
7379
7453
  // https://tc39.es/ecma262/#sec-promise.resolve
7380
- $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
7454
+ $$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
7381
7455
  resolve: function resolve(x) {
7382
7456
  return promiseResolve(this, x);
7383
7457
  }
7384
7458
  });
7385
7459
 
7386
- var $$2 = _export;
7460
+ var $$1 = _export;
7387
7461
  var $includes = arrayIncludes.includes;
7388
- var fails$5 = fails$m;
7462
+ var fails = fails$i;
7389
7463
  var addToUnscopables = addToUnscopables$2;
7390
7464
 
7391
7465
  // FF99+ bug
7392
- var BROKEN_ON_SPARSE = fails$5(function () {
7466
+ var BROKEN_ON_SPARSE = fails(function () {
7393
7467
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
7394
7468
  return !Array(1).includes();
7395
7469
  });
7396
7470
 
7397
7471
  // `Array.prototype.includes` method
7398
7472
  // https://tc39.es/ecma262/#sec-array.prototype.includes
7399
- $$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
7473
+ $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
7400
7474
  includes: function includes(el /* , fromIndex = 0 */) {
7401
7475
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
7402
7476
  }
@@ -7406,31 +7480,31 @@ $$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
7406
7480
  addToUnscopables('includes');
7407
7481
 
7408
7482
  var isObject = isObject$9;
7409
- var classof$1 = classofRaw$2;
7410
- var wellKnownSymbol$3 = wellKnownSymbol$i;
7483
+ var classof = classofRaw$2;
7484
+ var wellKnownSymbol$1 = wellKnownSymbol$g;
7411
7485
 
7412
- var MATCH$1 = wellKnownSymbol$3('match');
7486
+ var MATCH$1 = wellKnownSymbol$1('match');
7413
7487
 
7414
7488
  // `IsRegExp` abstract operation
7415
7489
  // https://tc39.es/ecma262/#sec-isregexp
7416
7490
  var isRegexp = function (it) {
7417
7491
  var isRegExp;
7418
- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
7492
+ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
7419
7493
  };
7420
7494
 
7421
7495
  var isRegExp = isRegexp;
7422
7496
 
7423
- var $TypeError$1 = TypeError;
7497
+ var $TypeError = TypeError;
7424
7498
 
7425
7499
  var notARegexp = function (it) {
7426
7500
  if (isRegExp(it)) {
7427
- throw new $TypeError$1("The method doesn't accept regular expressions");
7501
+ throw new $TypeError("The method doesn't accept regular expressions");
7428
7502
  } return it;
7429
7503
  };
7430
7504
 
7431
- var wellKnownSymbol$2 = wellKnownSymbol$i;
7505
+ var wellKnownSymbol = wellKnownSymbol$g;
7432
7506
 
7433
- var MATCH = wellKnownSymbol$2('match');
7507
+ var MATCH = wellKnownSymbol('match');
7434
7508
 
7435
7509
  var correctIsRegexpLogic = function (METHOD_NAME) {
7436
7510
  var regexp = /./;
@@ -7444,22 +7518,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
7444
7518
  } return false;
7445
7519
  };
7446
7520
 
7447
- var $$1 = _export;
7448
- var uncurryThis$5 = functionUncurryThis;
7521
+ var $ = _export;
7522
+ var uncurryThis = functionUncurryThis;
7449
7523
  var notARegExp = notARegexp;
7450
- var requireObjectCoercible$2 = requireObjectCoercible$6;
7451
- var toString$3 = toString$6;
7524
+ var requireObjectCoercible = requireObjectCoercible$4;
7525
+ var toString = toString$4;
7452
7526
  var correctIsRegExpLogic = correctIsRegexpLogic;
7453
7527
 
7454
- var stringIndexOf$1 = uncurryThis$5(''.indexOf);
7528
+ var stringIndexOf = uncurryThis(''.indexOf);
7455
7529
 
7456
7530
  // `String.prototype.includes` method
7457
7531
  // https://tc39.es/ecma262/#sec-string.prototype.includes
7458
- $$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
7532
+ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
7459
7533
  includes: function includes(searchString /* , position = 0 */) {
7460
- return !!~stringIndexOf$1(
7461
- toString$3(requireObjectCoercible$2(this)),
7462
- toString$3(notARegExp(searchString)),
7534
+ return !!~stringIndexOf(
7535
+ toString(requireObjectCoercible(this)),
7536
+ toString(notARegExp(searchString)),
7463
7537
  arguments.length > 1 ? arguments[1] : undefined
7464
7538
  );
7465
7539
  }
@@ -7719,22 +7793,6 @@ const orderLayers = (wmjsMap, _reactMapViewLayers) => {
7719
7793
  return wasReordered;
7720
7794
  };
7721
7795
 
7722
- /* *
7723
- * Licensed under the Apache License, Version 2.0 (the "License");
7724
- * you may not use this file except in compliance with the License.
7725
- * You may obtain a copy of the License at
7726
- *
7727
- * http://www.apache.org/licenses/LICENSE-2.0
7728
- *
7729
- * Unless required by applicable law or agreed to in writing, software
7730
- * distributed under the License is distributed on an "AS IS" BASIS,
7731
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7732
- * See the License for the specific language governing permissions and
7733
- * limitations under the License.
7734
- *
7735
- * Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7736
- * Copyright 2020 - Finnish Meteorological Institute (FMI)
7737
- * */
7738
7796
  const getDisplayText = currentAdagucTime => {
7739
7797
  const timeFormat = 'eee dd MMM yyyy HH:mm [UTC]';
7740
7798
  const adagucTime = dateUtils.utc(currentAdagucTime);
@@ -8194,6 +8252,18 @@ class ReactMapView extends React.Component {
8194
8252
  adagucInitialised
8195
8253
  } = this.state;
8196
8254
  const featureLayers = getFeatureLayers(children);
8255
+ // TODO: Improve in https://gitlab.com/opengeoweb/opengeoweb/-/issues/4579
8256
+ featureLayers.forEach(featureLayer => {
8257
+ const wmFeatureLayer = getWMLayerById(featureLayer.id);
8258
+ if (!wmFeatureLayer) {
8259
+ registerWMLayer(new WMLayer(Object.assign({
8260
+ layerType: LayerType.featureLayer,
8261
+ service: ''
8262
+ }, featureLayer)), featureLayer.id);
8263
+ } else if (featureLayer.geojson) {
8264
+ wmFeatureLayer.geojson = featureLayer.geojson;
8265
+ }
8266
+ });
8197
8267
  return /*#__PURE__*/React.createElement("div", {
8198
8268
  className: "MapView",
8199
8269
  style: {
@@ -8714,540 +8784,35 @@ const MapView = _a => {
8714
8784
  }));
8715
8785
  };
8716
8786
 
8717
- var fails$4 = fails$m;
8718
- var global$3 = global$m;
8719
-
8720
- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
8721
- var $RegExp$2 = global$3.RegExp;
8722
-
8723
- var UNSUPPORTED_Y$1 = fails$4(function () {
8724
- var re = $RegExp$2('a', 'y');
8725
- re.lastIndex = 2;
8726
- return re.exec('abcd') !== null;
8727
- });
8728
-
8729
- // UC Browser bug
8730
- // https://github.com/zloirock/core-js/issues/1008
8731
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$4(function () {
8732
- return !$RegExp$2('a', 'y').sticky;
8733
- });
8734
-
8735
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () {
8736
- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
8737
- var re = $RegExp$2('^r', 'gy');
8738
- re.lastIndex = 2;
8739
- return re.exec('str') !== null;
8740
- });
8741
-
8742
- var regexpStickyHelpers = {
8743
- BROKEN_CARET: BROKEN_CARET,
8744
- MISSED_STICKY: MISSED_STICKY,
8745
- UNSUPPORTED_Y: UNSUPPORTED_Y$1
8746
- };
8747
-
8748
- var fails$3 = fails$m;
8749
- var global$2 = global$m;
8750
-
8751
- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
8752
- var $RegExp$1 = global$2.RegExp;
8753
-
8754
- var regexpUnsupportedDotAll = fails$3(function () {
8755
- var re = $RegExp$1('.', 's');
8756
- return !(re.dotAll && re.test('\n') && re.flags === 's');
8757
- });
8758
-
8759
- var fails$2 = fails$m;
8760
- var global$1 = global$m;
8761
-
8762
- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
8763
- var $RegExp = global$1.RegExp;
8764
-
8765
- var regexpUnsupportedNcg = fails$2(function () {
8766
- var re = $RegExp('(?<a>b)', 'g');
8767
- return re.exec('b').groups.a !== 'b' ||
8768
- 'b'.replace(re, '$<a>c') !== 'bc';
8769
- });
8770
-
8771
- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
8772
- /* eslint-disable regexp/no-useless-quantifier -- testing */
8773
- var call$2 = functionCall;
8774
- var uncurryThis$4 = functionUncurryThis;
8775
- var toString$2 = toString$6;
8776
- var regexpFlags = regexpFlags$1;
8777
- var stickyHelpers = regexpStickyHelpers;
8778
- var shared = shared$4.exports;
8779
- var create = objectCreate;
8780
- var getInternalState = internalState.get;
8781
- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
8782
- var UNSUPPORTED_NCG = regexpUnsupportedNcg;
8783
-
8784
- var nativeReplace = shared('native-string-replace', String.prototype.replace);
8785
- var nativeExec = RegExp.prototype.exec;
8786
- var patchedExec = nativeExec;
8787
- var charAt$3 = uncurryThis$4(''.charAt);
8788
- var indexOf = uncurryThis$4(''.indexOf);
8789
- var replace$1 = uncurryThis$4(''.replace);
8790
- var stringSlice$3 = uncurryThis$4(''.slice);
8791
-
8792
- var UPDATES_LAST_INDEX_WRONG = (function () {
8793
- var re1 = /a/;
8794
- var re2 = /b*/g;
8795
- call$2(nativeExec, re1, 'a');
8796
- call$2(nativeExec, re2, 'a');
8797
- return re1.lastIndex !== 0 || re2.lastIndex !== 0;
8798
- })();
8799
-
8800
- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
8801
-
8802
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
8803
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
8804
-
8805
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
8806
-
8807
- if (PATCH) {
8808
- patchedExec = function exec(string) {
8809
- var re = this;
8810
- var state = getInternalState(re);
8811
- var str = toString$2(string);
8812
- var raw = state.raw;
8813
- var result, reCopy, lastIndex, match, i, object, group;
8814
-
8815
- if (raw) {
8816
- raw.lastIndex = re.lastIndex;
8817
- result = call$2(patchedExec, raw, str);
8818
- re.lastIndex = raw.lastIndex;
8819
- return result;
8820
- }
8821
-
8822
- var groups = state.groups;
8823
- var sticky = UNSUPPORTED_Y && re.sticky;
8824
- var flags = call$2(regexpFlags, re);
8825
- var source = re.source;
8826
- var charsAdded = 0;
8827
- var strCopy = str;
8828
-
8829
- if (sticky) {
8830
- flags = replace$1(flags, 'y', '');
8831
- if (indexOf(flags, 'g') === -1) {
8832
- flags += 'g';
8833
- }
8834
-
8835
- strCopy = stringSlice$3(str, re.lastIndex);
8836
- // Support anchored sticky behavior.
8837
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
8838
- source = '(?: ' + source + ')';
8839
- strCopy = ' ' + strCopy;
8840
- charsAdded++;
8841
- }
8842
- // ^(? + rx + ) is needed, in combination with some str slicing, to
8843
- // simulate the 'y' flag.
8844
- reCopy = new RegExp('^(?:' + source + ')', flags);
8845
- }
8846
-
8847
- if (NPCG_INCLUDED) {
8848
- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
8849
- }
8850
- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
8851
-
8852
- match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
8853
-
8854
- if (sticky) {
8855
- if (match) {
8856
- match.input = stringSlice$3(match.input, charsAdded);
8857
- match[0] = stringSlice$3(match[0], charsAdded);
8858
- match.index = re.lastIndex;
8859
- re.lastIndex += match[0].length;
8860
- } else re.lastIndex = 0;
8861
- } else if (UPDATES_LAST_INDEX_WRONG && match) {
8862
- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
8863
- }
8864
- if (NPCG_INCLUDED && match && match.length > 1) {
8865
- // Fix browsers whose `exec` methods don't consistently return `undefined`
8866
- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
8867
- call$2(nativeReplace, match[0], reCopy, function () {
8868
- for (i = 1; i < arguments.length - 2; i++) {
8869
- if (arguments[i] === undefined) match[i] = undefined;
8870
- }
8871
- });
8872
- }
8873
-
8874
- if (match && groups) {
8875
- match.groups = object = create(null);
8876
- for (i = 0; i < groups.length; i++) {
8877
- group = groups[i];
8878
- object[group[0]] = match[group[1]];
8879
- }
8880
- }
8881
-
8882
- return match;
8883
- };
8884
- }
8885
-
8886
- var regexpExec$2 = patchedExec;
8887
-
8888
- var $ = _export;
8889
- var exec = regexpExec$2;
8890
-
8891
- // `RegExp.prototype.exec` method
8892
- // https://tc39.es/ecma262/#sec-regexp.prototype.exec
8893
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
8894
- exec: exec
8895
- });
8896
-
8897
- // TODO: Remove from `core-js@4` since it's moved to entry points
8898
-
8899
- var uncurryThis$3 = functionUncurryThisClause;
8900
- var defineBuiltIn = defineBuiltIn$7;
8901
- var regexpExec$1 = regexpExec$2;
8902
- var fails$1 = fails$m;
8903
- var wellKnownSymbol$1 = wellKnownSymbol$i;
8904
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
8905
-
8906
- var SPECIES = wellKnownSymbol$1('species');
8907
- var RegExpPrototype = RegExp.prototype;
8908
-
8909
- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
8910
- var SYMBOL = wellKnownSymbol$1(KEY);
8911
-
8912
- var DELEGATES_TO_SYMBOL = !fails$1(function () {
8913
- // String methods call symbol-named RegEp methods
8914
- var O = {};
8915
- O[SYMBOL] = function () { return 7; };
8916
- return ''[KEY](O) !== 7;
8917
- });
8918
-
8919
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () {
8920
- // Symbol-named RegExp methods call .exec
8921
- var execCalled = false;
8922
- var re = /a/;
8923
-
8924
- if (KEY === 'split') {
8925
- // We can't use real regex here since it causes deoptimization
8926
- // and serious performance degradation in V8
8927
- // https://github.com/zloirock/core-js/issues/306
8928
- re = {};
8929
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
8930
- // a new one. We need to return the patched regex when creating the new one.
8931
- re.constructor = {};
8932
- re.constructor[SPECIES] = function () { return re; };
8933
- re.flags = '';
8934
- re[SYMBOL] = /./[SYMBOL];
8935
- }
8936
-
8937
- re.exec = function () {
8938
- execCalled = true;
8939
- return null;
8940
- };
8941
-
8942
- re[SYMBOL]('');
8943
- return !execCalled;
8944
- });
8945
-
8946
- if (
8947
- !DELEGATES_TO_SYMBOL ||
8948
- !DELEGATES_TO_EXEC ||
8949
- FORCED
8950
- ) {
8951
- var uncurriedNativeRegExpMethod = uncurryThis$3(/./[SYMBOL]);
8952
- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
8953
- var uncurriedNativeMethod = uncurryThis$3(nativeMethod);
8954
- var $exec = regexp.exec;
8955
- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
8956
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
8957
- // The native String method already delegates to @@method (this
8958
- // polyfilled function), leasing to infinite recursion.
8959
- // We avoid it by directly calling the native @@method method.
8960
- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
8961
- }
8962
- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
8963
- }
8964
- return { done: false };
8965
- });
8966
-
8967
- defineBuiltIn(String.prototype, KEY, methods[0]);
8968
- defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
8969
- }
8970
-
8971
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
8972
- };
8973
-
8974
- var uncurryThis$2 = functionUncurryThis;
8975
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
8976
- var toString$1 = toString$6;
8977
- var requireObjectCoercible$1 = requireObjectCoercible$6;
8978
-
8979
- var charAt$2 = uncurryThis$2(''.charAt);
8980
- var charCodeAt = uncurryThis$2(''.charCodeAt);
8981
- var stringSlice$2 = uncurryThis$2(''.slice);
8982
-
8983
- var createMethod = function (CONVERT_TO_STRING) {
8984
- return function ($this, pos) {
8985
- var S = toString$1(requireObjectCoercible$1($this));
8986
- var position = toIntegerOrInfinity$1(pos);
8987
- var size = S.length;
8988
- var first, second;
8989
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
8990
- first = charCodeAt(S, position);
8991
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
8992
- || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
8993
- ? CONVERT_TO_STRING
8994
- ? charAt$2(S, position)
8995
- : first
8996
- : CONVERT_TO_STRING
8997
- ? stringSlice$2(S, position, position + 2)
8998
- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
8999
- };
9000
- };
9001
-
9002
- var stringMultibyte = {
9003
- // `String.prototype.codePointAt` method
9004
- // https://tc39.es/ecma262/#sec-string.prototype.codepointat
9005
- codeAt: createMethod(false),
9006
- // `String.prototype.at` method
9007
- // https://github.com/mathiasbynens/String.prototype.at
9008
- charAt: createMethod(true)
9009
- };
9010
-
9011
- var charAt$1 = stringMultibyte.charAt;
9012
-
9013
- // `AdvanceStringIndex` abstract operation
9014
- // https://tc39.es/ecma262/#sec-advancestringindex
9015
- var advanceStringIndex$1 = function (S, index, unicode) {
9016
- return index + (unicode ? charAt$1(S, index).length : 1);
9017
- };
9018
-
9019
- var uncurryThis$1 = functionUncurryThis;
9020
- var toObject = toObject$5;
9021
-
9022
- var floor = Math.floor;
9023
- var charAt = uncurryThis$1(''.charAt);
9024
- var replace = uncurryThis$1(''.replace);
9025
- var stringSlice$1 = uncurryThis$1(''.slice);
9026
- // eslint-disable-next-line redos/no-vulnerable -- safe
9027
- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
9028
- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
9029
-
9030
- // `GetSubstitution` abstract operation
9031
- // https://tc39.es/ecma262/#sec-getsubstitution
9032
- var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
9033
- var tailPos = position + matched.length;
9034
- var m = captures.length;
9035
- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
9036
- if (namedCaptures !== undefined) {
9037
- namedCaptures = toObject(namedCaptures);
9038
- symbols = SUBSTITUTION_SYMBOLS;
9039
- }
9040
- return replace(replacement, symbols, function (match, ch) {
9041
- var capture;
9042
- switch (charAt(ch, 0)) {
9043
- case '$': return '$';
9044
- case '&': return matched;
9045
- case '`': return stringSlice$1(str, 0, position);
9046
- case "'": return stringSlice$1(str, tailPos);
9047
- case '<':
9048
- capture = namedCaptures[stringSlice$1(ch, 1, -1)];
9049
- break;
9050
- default: // \d\d?
9051
- var n = +ch;
9052
- if (n === 0) return match;
9053
- if (n > m) {
9054
- var f = floor(n / 10);
9055
- if (f === 0) return match;
9056
- if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
9057
- return match;
9058
- }
9059
- capture = captures[n - 1];
9060
- }
9061
- return capture === undefined ? '' : capture;
9062
- });
9063
- };
9064
-
9065
- var call$1 = functionCall;
9066
- var anObject$1 = anObject$e;
9067
- var isCallable$1 = isCallable$m;
9068
- var classof = classofRaw$2;
9069
- var regexpExec = regexpExec$2;
9070
-
9071
- var $TypeError = TypeError;
9072
-
9073
- // `RegExpExec` abstract operation
9074
- // https://tc39.es/ecma262/#sec-regexpexec
9075
- var regexpExecAbstract = function (R, S) {
9076
- var exec = R.exec;
9077
- if (isCallable$1(exec)) {
9078
- var result = call$1(exec, R, S);
9079
- if (result !== null) anObject$1(result);
9080
- return result;
9081
- }
9082
- if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
9083
- throw new $TypeError('RegExp#exec called on incompatible receiver');
9084
- };
9085
-
9086
- var apply = functionApply;
9087
- var call = functionCall;
9088
- var uncurryThis = functionUncurryThis;
9089
- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
9090
- var fails = fails$m;
9091
- var anObject = anObject$e;
9092
- var isCallable = isCallable$m;
9093
- var isNullOrUndefined = isNullOrUndefined$5;
9094
- var toIntegerOrInfinity = toIntegerOrInfinity$4;
9095
- var toLength = toLength$2;
9096
- var toString = toString$6;
9097
- var requireObjectCoercible = requireObjectCoercible$6;
9098
- var advanceStringIndex = advanceStringIndex$1;
9099
- var getMethod = getMethod$4;
9100
- var getSubstitution = getSubstitution$1;
9101
- var regExpExec = regexpExecAbstract;
9102
- var wellKnownSymbol = wellKnownSymbol$i;
9103
-
9104
- var REPLACE = wellKnownSymbol('replace');
9105
- var max = Math.max;
9106
- var min = Math.min;
9107
- var concat = uncurryThis([].concat);
9108
- var push = uncurryThis([].push);
9109
- var stringIndexOf = uncurryThis(''.indexOf);
9110
- var stringSlice = uncurryThis(''.slice);
9111
-
9112
- var maybeToString = function (it) {
9113
- return it === undefined ? it : String(it);
9114
- };
9115
-
9116
- // IE <= 11 replaces $0 with the whole match, as if it was $&
9117
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
9118
- var REPLACE_KEEPS_$0 = (function () {
9119
- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
9120
- return 'a'.replace(/./, '$0') === '$0';
9121
- })();
9122
-
9123
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
9124
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
9125
- if (/./[REPLACE]) {
9126
- return /./[REPLACE]('a', '$0') === '';
9127
- }
9128
- return false;
9129
- })();
9130
-
9131
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
9132
- var re = /./;
9133
- re.exec = function () {
9134
- var result = [];
9135
- result.groups = { a: '7' };
9136
- return result;
9137
- };
9138
- // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
9139
- return ''.replace(re, '$<a>') !== '7';
9140
- });
9141
-
9142
- // @@replace logic
9143
- fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
9144
- var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
9145
-
9146
- return [
9147
- // `String.prototype.replace` method
9148
- // https://tc39.es/ecma262/#sec-string.prototype.replace
9149
- function replace(searchValue, replaceValue) {
9150
- var O = requireObjectCoercible(this);
9151
- var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
9152
- return replacer
9153
- ? call(replacer, searchValue, O, replaceValue)
9154
- : call(nativeReplace, toString(O), searchValue, replaceValue);
9155
- },
9156
- // `RegExp.prototype[@@replace]` method
9157
- // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
9158
- function (string, replaceValue) {
9159
- var rx = anObject(this);
9160
- var S = toString(string);
9161
-
9162
- if (
9163
- typeof replaceValue == 'string' &&
9164
- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
9165
- stringIndexOf(replaceValue, '$<') === -1
9166
- ) {
9167
- var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
9168
- if (res.done) return res.value;
9169
- }
9170
-
9171
- var functionalReplace = isCallable(replaceValue);
9172
- if (!functionalReplace) replaceValue = toString(replaceValue);
9173
-
9174
- var global = rx.global;
9175
- var fullUnicode;
9176
- if (global) {
9177
- fullUnicode = rx.unicode;
9178
- rx.lastIndex = 0;
9179
- }
9180
-
9181
- var results = [];
9182
- var result;
9183
- while (true) {
9184
- result = regExpExec(rx, S);
9185
- if (result === null) break;
9186
-
9187
- push(results, result);
9188
- if (!global) break;
9189
-
9190
- var matchStr = toString(result[0]);
9191
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
9192
- }
9193
-
9194
- var accumulatedResult = '';
9195
- var nextSourcePosition = 0;
9196
- for (var i = 0; i < results.length; i++) {
9197
- result = results[i];
9198
-
9199
- var matched = toString(result[0]);
9200
- var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
9201
- var captures = [];
9202
- var replacement;
9203
- // NOTE: This is equivalent to
9204
- // captures = result.slice(1).map(maybeToString)
9205
- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
9206
- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
9207
- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
9208
- for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
9209
- var namedCaptures = result.groups;
9210
- if (functionalReplace) {
9211
- var replacerArgs = concat([matched], captures, position, S);
9212
- if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
9213
- replacement = toString(apply(replaceValue, undefined, replacerArgs));
9214
- } else {
9215
- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
9216
- }
9217
- if (position >= nextSourcePosition) {
9218
- accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
9219
- nextSourcePosition = position + matched.length;
9220
- }
9221
- }
9222
-
9223
- return accumulatedResult + stringSlice(S, nextSourcePosition);
9224
- }
9225
- ];
9226
- }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
9227
-
8787
+ /* *
8788
+ * Licensed under the Apache License, Version 2.0 (the "License");
8789
+ * you may not use this file except in compliance with the License.
8790
+ * You may obtain a copy of the License at
8791
+ *
8792
+ * http://www.apache.org/licenses/LICENSE-2.0
8793
+ *
8794
+ * Unless required by applicable law or agreed to in writing, software
8795
+ * distributed under the License is distributed on an "AS IS" BASIS,
8796
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8797
+ * See the License for the specific language governing permissions and
8798
+ * limitations under the License.
8799
+ *
8800
+ * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8801
+ * Copyright 2022 - Finnish Meteorological Institute (FMI)
8802
+ * */
9228
8803
  const MapViewLayer = props => {
8804
+ // TODO: This component should not do anything, but just return null: https://gitlab.com/opengeoweb/opengeoweb/-/issues/4579
9229
8805
  const {
9230
8806
  id
9231
8807
  } = props;
9232
- return /*#__PURE__*/React.createElement(Box, {
9233
- "data-testid": "mapViewLayer",
9234
- sx: {
9235
- width: '100%',
9236
- padding: '2px',
9237
- margin: 0,
9238
- wordWrap: 'break-word',
9239
- border: '1px solid rgba(0, 0, 0, 0.5)',
9240
- lineHeight: '14px',
9241
- fontSize: '10px',
9242
- background: 'rgba(255, 255, 255, 0.5)',
9243
- display: 'none'
9244
- }
9245
- }, /*#__PURE__*/React.createElement("div", null, id), /*#__PURE__*/React.createElement("div", {
9246
- // eslint-disable-next-line react/no-danger
9247
- dangerouslySetInnerHTML: {
9248
- __html: JSON.stringify(props, null, '--').replace(/\n/g, '<br/>')
9249
- }
9250
- }));
8808
+ return React.useMemo(() => {
8809
+ return /*#__PURE__*/React.createElement("div", {
8810
+ "data-testid": "mapViewLayer",
8811
+ style: {
8812
+ display: 'none'
8813
+ }
8814
+ }, id);
8815
+ }, [id]);
9251
8816
  };
9252
8817
 
9253
8818
  /* *
@@ -9868,4 +9433,4 @@ var publicLayers = /*#__PURE__*/Object.freeze({
9868
9433
  msgNaturalEUMETSAT: msgNaturalEUMETSAT
9869
9434
  });
9870
9435
 
9871
- export { CanvasComponent, DRAWMODE, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, IntersectionSelect, Legend, LegendDialog, LegendLayout, MapControlButton, MapControls, MapDrawContainer, MapTime, MapView, MapViewLayer, MapWarningProperties, NEW_FEATURE_CREATED, NEW_LINESTRING_CREATED, NEW_POINT_CREATED, ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION, ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO, ReactMapView, ReactMapViewLayer, SelectField, StoryLayoutGrid, ZoomControls, addFeatureProperties, basicExampleDrawOptions, basicExampleMultipleShapeDrawOptions, checkHoverFeatures, createInterSections, currentlySupportedDrawModes, defaultBox, defaultDelete, defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultLayers, defaultModes, defaultPoint, defaultPolygon, defaultTimeFormat, distance, drawPolyStoryStyles, emptyGeoJSON, endToolExampleConfig, exampleIntersectionOptions, exampleIntersectionWithShapeOptions, exampleIntersections, exampleIntersectionsMultiDrawTool, featureBox, featureMultiPoint, featurePoint, featurePolygon, fillOptions, firButtonDrawId, formatTime, getDoubleControlToolIcon, getDrawFunctionFromStore, getFeatureCollection, getFirTitle, getGeoJSONPropertyValue, getGeoJson, getIcon, getIntersectionToolIcon, getTimeDimension, getToolIcon, intersectGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isGeoJSONFeatureCreatedByTool, lineString, moveFeature, opacityOptions, publicLayers, publicServices, registerDrawFunction, rewindGeometry, simpleBoxGeoJSON, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, startToolExampleConfig, strokeWidthOptions, updateEditModeButtonsWithFir, useGeoJSON, useMapDrawTool };
9436
+ export { CanvasComponent, DRAWMODE, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, IntersectionSelect, Legend, LegendDialog, LegendLayout, MapControlButton, MapControls, MapDrawContainer, MapTime, MapView, MapViewLayer, MapWarningProperties, NEW_FEATURE_CREATED, NEW_LINESTRING_CREATED, NEW_POINT_CREATED, ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION, ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO, ReactMapView, ReactMapViewLayer, SelectField, StoryLayoutGrid, ZoomControls, addFeatureProperties, basicExampleDrawOptions, basicExampleMultipleShapeDrawOptions, checkHoverFeatures, createInterSections, currentlySupportedDrawModes, defaultBox, defaultDelete, defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultLayers, defaultModes, defaultPoint, defaultPolygon, defaultTimeFormat, distance, drawPolyStoryStyles, emptyGeoJSON, endToolExampleConfig, exampleIntersectionOptions, exampleIntersectionWithShapeOptions, exampleIntersections, exampleIntersectionsMultiDrawTool, featureBox, featureMultiPoint, featurePoint, featurePolygon, fillOptions, firButtonDrawId, formatTime, getDoubleControlToolIcon, getDrawFunctionFromStore, getFeatureCollection, getFirTitle, getGeoJSONPropertyValue, getGeoJson, getIcon, getIntersectionToolIcon, getTimeDimension, getToolIcon, intersectGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isGeoJSONFeatureCreatedByTool, lineString, moveFeature, opacityOptions, publicLayers, publicServices, registerDrawFunction, rewindGeometry, simpleBoxGeoJSON, simpleBoxGeoJSONWrongOrder, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, startToolExampleConfig, strokeWidthOptions, updateEditModeButtonsWithFir, useGeoJSON, useMapDrawTool };