@opengeoweb/shared 9.20.1 → 9.21.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
@@ -229,7 +229,7 @@ var check = function (it) {
229
229
  };
230
230
 
231
231
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
232
- var global$p =
232
+ var global$q =
233
233
  // eslint-disable-next-line es/no-global-this -- safe
234
234
  check(typeof globalThis == 'object' && globalThis) ||
235
235
  check(typeof window == 'object' && window) ||
@@ -242,7 +242,7 @@ var global$p =
242
242
 
243
243
  var objectGetOwnPropertyDescriptor = {};
244
244
 
245
- var fails$o = function (exec) {
245
+ var fails$p = function (exec) {
246
246
  try {
247
247
  return !!exec();
248
248
  } catch (error) {
@@ -250,17 +250,17 @@ var fails$o = function (exec) {
250
250
  }
251
251
  };
252
252
 
253
- var fails$n = fails$o;
253
+ var fails$o = fails$p;
254
254
 
255
255
  // Detect IE8's incomplete defineProperty implementation
256
- var descriptors = !fails$n(function () {
256
+ var descriptors = !fails$o(function () {
257
257
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
258
258
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
259
259
  });
260
260
 
261
- var fails$m = fails$o;
261
+ var fails$n = fails$p;
262
262
 
263
- var functionBindNative = !fails$m(function () {
263
+ var functionBindNative = !fails$n(function () {
264
264
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
265
265
  var test = (function () { /* empty */ }).bind();
266
266
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -312,24 +312,24 @@ var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
312
312
  };
313
313
  };
314
314
 
315
- var uncurryThis$o = functionUncurryThis;
315
+ var uncurryThis$p = functionUncurryThis;
316
316
 
317
- var toString$e = uncurryThis$o({}.toString);
318
- var stringSlice$6 = uncurryThis$o(''.slice);
317
+ var toString$f = uncurryThis$p({}.toString);
318
+ var stringSlice$6 = uncurryThis$p(''.slice);
319
319
 
320
320
  var classofRaw$2 = function (it) {
321
- return stringSlice$6(toString$e(it), 8, -1);
321
+ return stringSlice$6(toString$f(it), 8, -1);
322
322
  };
323
323
 
324
- var uncurryThis$n = functionUncurryThis;
325
- var fails$l = fails$o;
324
+ var uncurryThis$o = functionUncurryThis;
325
+ var fails$m = fails$p;
326
326
  var classof$9 = classofRaw$2;
327
327
 
328
328
  var $Object$4 = Object;
329
- var split = uncurryThis$n(''.split);
329
+ var split = uncurryThis$o(''.split);
330
330
 
331
331
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
332
- var indexedObject = fails$l(function () {
332
+ var indexedObject = fails$m(function () {
333
333
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
334
334
  // eslint-disable-next-line no-prototype-builtins -- safe
335
335
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -380,7 +380,7 @@ var isObject$e = function (it) {
380
380
  return typeof it == 'object' ? it !== null : isCallable$m(it);
381
381
  };
382
382
 
383
- var global$o = global$p;
383
+ var global$p = global$q;
384
384
  var isCallable$l = isCallable$n;
385
385
 
386
386
  var aFunction = function (argument) {
@@ -388,20 +388,20 @@ var aFunction = function (argument) {
388
388
  };
389
389
 
390
390
  var getBuiltIn$8 = function (namespace, method) {
391
- return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
391
+ return arguments.length < 2 ? aFunction(global$p[namespace]) : global$p[namespace] && global$p[namespace][method];
392
392
  };
393
393
 
394
- var uncurryThis$m = functionUncurryThis;
394
+ var uncurryThis$n = functionUncurryThis;
395
395
 
396
- var objectIsPrototypeOf = uncurryThis$m({}.isPrototypeOf);
396
+ var objectIsPrototypeOf = uncurryThis$n({}.isPrototypeOf);
397
397
 
398
398
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
399
399
 
400
- var global$n = global$p;
400
+ var global$o = global$q;
401
401
  var userAgent$3 = engineUserAgent;
402
402
 
403
- var process$3 = global$n.process;
404
- var Deno$1 = global$n.Deno;
403
+ var process$3 = global$o.process;
404
+ var Deno$1 = global$o.Deno;
405
405
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
406
406
  var v8 = versions && versions.v8;
407
407
  var match, version;
@@ -427,13 +427,13 @@ var engineV8Version = version;
427
427
 
428
428
  /* eslint-disable es/no-symbol -- required for testing */
429
429
  var V8_VERSION$1 = engineV8Version;
430
- var fails$k = fails$o;
431
- var global$m = global$p;
430
+ var fails$l = fails$p;
431
+ var global$n = global$q;
432
432
 
433
- var $String$5 = global$m.String;
433
+ var $String$5 = global$n.String;
434
434
 
435
435
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
436
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
436
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$l(function () {
437
437
  var symbol = Symbol('symbol detection');
438
438
  // Chrome 38 Symbol has incorrect toString conversion
439
439
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -514,20 +514,20 @@ var ordinaryToPrimitive$1 = function (input, pref) {
514
514
 
515
515
  var sharedStore = {exports: {}};
516
516
 
517
- var global$l = global$p;
517
+ var global$m = global$q;
518
518
 
519
519
  // eslint-disable-next-line es/no-object-defineproperty -- safe
520
520
  var defineProperty$7 = Object.defineProperty;
521
521
 
522
522
  var defineGlobalProperty$3 = function (key, value) {
523
523
  try {
524
- defineProperty$7(global$l, key, { value: value, configurable: true, writable: true });
524
+ defineProperty$7(global$m, key, { value: value, configurable: true, writable: true });
525
525
  } catch (error) {
526
- global$l[key] = value;
526
+ global$m[key] = value;
527
527
  } return value;
528
528
  };
529
529
 
530
- var globalThis$1 = global$p;
530
+ var globalThis$1 = global$q;
531
531
  var defineGlobalProperty$2 = defineGlobalProperty$3;
532
532
 
533
533
  var SHARED = '__core-js_shared__';
@@ -559,10 +559,10 @@ var toObject$5 = function (argument) {
559
559
  return $Object$2(requireObjectCoercible$7(argument));
560
560
  };
561
561
 
562
- var uncurryThis$l = functionUncurryThis;
562
+ var uncurryThis$m = functionUncurryThis;
563
563
  var toObject$4 = toObject$5;
564
564
 
565
- var hasOwnProperty = uncurryThis$l({}.hasOwnProperty);
565
+ var hasOwnProperty = uncurryThis$m({}.hasOwnProperty);
566
566
 
567
567
  // `HasOwnProperty` abstract operation
568
568
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -571,31 +571,31 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
571
571
  return hasOwnProperty(toObject$4(it), key);
572
572
  };
573
573
 
574
- var uncurryThis$k = functionUncurryThis;
574
+ var uncurryThis$l = functionUncurryThis;
575
575
 
576
576
  var id = 0;
577
577
  var postfix = Math.random();
578
- var toString$d = uncurryThis$k(1.0.toString);
578
+ var toString$e = uncurryThis$l(1.0.toString);
579
579
 
580
580
  var uid$2 = function (key) {
581
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$d(++id + postfix, 36);
581
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$e(++id + postfix, 36);
582
582
  };
583
583
 
584
- var global$k = global$p;
584
+ var global$l = global$q;
585
585
  var shared$3 = shared$4;
586
586
  var hasOwn$d = hasOwnProperty_1;
587
587
  var uid$1 = uid$2;
588
588
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
589
589
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
590
590
 
591
- var Symbol$2 = global$k.Symbol;
591
+ var Symbol$3 = global$l.Symbol;
592
592
  var WellKnownSymbolsStore = shared$3('wks');
593
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
593
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3['for'] || Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
594
594
 
595
595
  var wellKnownSymbol$j = function (name) {
596
596
  if (!hasOwn$d(WellKnownSymbolsStore, name)) {
597
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$d(Symbol$2, name)
598
- ? Symbol$2[name]
597
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$d(Symbol$3, name)
598
+ ? Symbol$3[name]
599
599
  : createWellKnownSymbol('Symbol.' + name);
600
600
  } return WellKnownSymbolsStore[name];
601
601
  };
@@ -636,10 +636,10 @@ var toPropertyKey$2 = function (argument) {
636
636
  return isSymbol(key) ? key : key + '';
637
637
  };
638
638
 
639
- var global$j = global$p;
639
+ var global$k = global$q;
640
640
  var isObject$b = isObject$e;
641
641
 
642
- var document$3 = global$j.document;
642
+ var document$3 = global$k.document;
643
643
  // typeof document.createElement is 'object' in old IE
644
644
  var EXISTS$1 = isObject$b(document$3) && isObject$b(document$3.createElement);
645
645
 
@@ -648,11 +648,11 @@ var documentCreateElement$2 = function (it) {
648
648
  };
649
649
 
650
650
  var DESCRIPTORS$f = descriptors;
651
- var fails$j = fails$o;
651
+ var fails$k = fails$p;
652
652
  var createElement$1 = documentCreateElement$2;
653
653
 
654
654
  // Thanks to IE8 for its funny defineProperty
655
- var ie8DomDefine = !DESCRIPTORS$f && !fails$j(function () {
655
+ var ie8DomDefine = !DESCRIPTORS$f && !fails$k(function () {
656
656
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
657
657
  return Object.defineProperty(createElement$1('div'), 'a', {
658
658
  get: function () { return 7; }
@@ -685,11 +685,11 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$e ? $getOwnPropertyDescriptor$1 :
685
685
  var objectDefineProperty = {};
686
686
 
687
687
  var DESCRIPTORS$d = descriptors;
688
- var fails$i = fails$o;
688
+ var fails$j = fails$p;
689
689
 
690
690
  // V8 ~ Chrome 36-
691
691
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
692
- var v8PrototypeDefineBug = DESCRIPTORS$d && fails$i(function () {
692
+ var v8PrototypeDefineBug = DESCRIPTORS$d && fails$j(function () {
693
693
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
694
694
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
695
695
  value: 42,
@@ -783,11 +783,11 @@ var functionName = {
783
783
  CONFIGURABLE: CONFIGURABLE
784
784
  };
785
785
 
786
- var uncurryThis$j = functionUncurryThis;
786
+ var uncurryThis$k = functionUncurryThis;
787
787
  var isCallable$h = isCallable$n;
788
788
  var store$1 = sharedStoreExports;
789
789
 
790
- var functionToString = uncurryThis$j(Function.toString);
790
+ var functionToString = uncurryThis$k(Function.toString);
791
791
 
792
792
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
793
793
  if (!isCallable$h(store$1.inspectSource)) {
@@ -798,10 +798,10 @@ if (!isCallable$h(store$1.inspectSource)) {
798
798
 
799
799
  var inspectSource$3 = store$1.inspectSource;
800
800
 
801
- var global$i = global$p;
801
+ var global$j = global$q;
802
802
  var isCallable$g = isCallable$n;
803
803
 
804
- var WeakMap$1 = global$i.WeakMap;
804
+ var WeakMap$1 = global$j.WeakMap;
805
805
 
806
806
  var weakMapBasicDetection = isCallable$g(WeakMap$1) && /native code/.test(String(WeakMap$1));
807
807
 
@@ -817,7 +817,7 @@ var sharedKey$3 = function (key) {
817
817
  var hiddenKeys$4 = {};
818
818
 
819
819
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
820
- var global$h = global$p;
820
+ var global$i = global$q;
821
821
  var isObject$9 = isObject$e;
822
822
  var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
823
823
  var hasOwn$a = hasOwnProperty_1;
@@ -826,8 +826,8 @@ var sharedKey$2 = sharedKey$3;
826
826
  var hiddenKeys$3 = hiddenKeys$4;
827
827
 
828
828
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
829
- var TypeError$2 = global$h.TypeError;
830
- var WeakMap = global$h.WeakMap;
829
+ var TypeError$2 = global$i.TypeError;
830
+ var WeakMap = global$i.WeakMap;
831
831
  var set$2, get, has;
832
832
 
833
833
  var enforce = function (it) {
@@ -887,8 +887,8 @@ var internalState = {
887
887
  getterFor: getterFor
888
888
  };
889
889
 
890
- var uncurryThis$i = functionUncurryThis;
891
- var fails$h = fails$o;
890
+ var uncurryThis$j = functionUncurryThis;
891
+ var fails$i = fails$p;
892
892
  var isCallable$f = isCallable$n;
893
893
  var hasOwn$9 = hasOwnProperty_1;
894
894
  var DESCRIPTORS$9 = descriptors;
@@ -901,11 +901,11 @@ var getInternalState$3 = InternalStateModule$2.get;
901
901
  var $String$2 = String;
902
902
  // eslint-disable-next-line es/no-object-defineproperty -- safe
903
903
  var defineProperty$6 = Object.defineProperty;
904
- var stringSlice$5 = uncurryThis$i(''.slice);
905
- var replace$5 = uncurryThis$i(''.replace);
906
- var join = uncurryThis$i([].join);
904
+ var stringSlice$5 = uncurryThis$j(''.slice);
905
+ var replace$5 = uncurryThis$j(''.replace);
906
+ var join = uncurryThis$j([].join);
907
907
 
908
- var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$h(function () {
908
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$i(function () {
909
909
  return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
910
910
  });
911
911
 
@@ -1061,13 +1061,13 @@ var arrayIncludes = {
1061
1061
  indexOf: createMethod$3(false)
1062
1062
  };
1063
1063
 
1064
- var uncurryThis$h = functionUncurryThis;
1064
+ var uncurryThis$i = functionUncurryThis;
1065
1065
  var hasOwn$8 = hasOwnProperty_1;
1066
1066
  var toIndexedObject$2 = toIndexedObject$5;
1067
1067
  var indexOf$1 = arrayIncludes.indexOf;
1068
1068
  var hiddenKeys$2 = hiddenKeys$4;
1069
1069
 
1070
- var push$1 = uncurryThis$h([].push);
1070
+ var push$1 = uncurryThis$i([].push);
1071
1071
 
1072
1072
  var objectKeysInternal = function (object, names) {
1073
1073
  var O = toIndexedObject$2(object);
@@ -1111,12 +1111,12 @@ var objectGetOwnPropertySymbols = {};
1111
1111
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1112
1112
 
1113
1113
  var getBuiltIn$6 = getBuiltIn$8;
1114
- var uncurryThis$g = functionUncurryThis;
1114
+ var uncurryThis$h = functionUncurryThis;
1115
1115
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1116
1116
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1117
1117
  var anObject$e = anObject$g;
1118
1118
 
1119
- var concat$1 = uncurryThis$g([].concat);
1119
+ var concat$1 = uncurryThis$h([].concat);
1120
1120
 
1121
1121
  // all object keys, includes non-enumerable and symbols
1122
1122
  var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1142,7 +1142,7 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
1142
1142
  }
1143
1143
  };
1144
1144
 
1145
- var fails$g = fails$o;
1145
+ var fails$h = fails$p;
1146
1146
  var isCallable$d = isCallable$n;
1147
1147
 
1148
1148
  var replacement = /#|\.prototype\./;
@@ -1151,7 +1151,7 @@ var isForced$3 = function (feature, detection) {
1151
1151
  var value = data[normalize(feature)];
1152
1152
  return value === POLYFILL ? true
1153
1153
  : value === NATIVE ? false
1154
- : isCallable$d(detection) ? fails$g(detection)
1154
+ : isCallable$d(detection) ? fails$h(detection)
1155
1155
  : !!detection;
1156
1156
  };
1157
1157
 
@@ -1165,7 +1165,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
1165
1165
 
1166
1166
  var isForced_1 = isForced$3;
1167
1167
 
1168
- var global$g = global$p;
1168
+ var global$h = global$q;
1169
1169
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1170
1170
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
1171
1171
  var defineBuiltIn$7 = defineBuiltIn$8;
@@ -1194,11 +1194,11 @@ var _export = function (options, source) {
1194
1194
  var STATIC = options.stat;
1195
1195
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1196
1196
  if (GLOBAL) {
1197
- target = global$g;
1197
+ target = global$h;
1198
1198
  } else if (STATIC) {
1199
- target = global$g[TARGET] || defineGlobalProperty(TARGET, {});
1199
+ target = global$h[TARGET] || defineGlobalProperty(TARGET, {});
1200
1200
  } else {
1201
- target = global$g[TARGET] && global$g[TARGET].prototype;
1201
+ target = global$h[TARGET] && global$h[TARGET].prototype;
1202
1202
  }
1203
1203
  if (target) for (key in source) {
1204
1204
  sourceProperty = source[key];
@@ -1231,9 +1231,9 @@ var objectKeys$2 = Object.keys || function keys(O) {
1231
1231
  };
1232
1232
 
1233
1233
  var DESCRIPTORS$8 = descriptors;
1234
- var uncurryThis$f = functionUncurryThis;
1234
+ var uncurryThis$g = functionUncurryThis;
1235
1235
  var call$g = functionCall;
1236
- var fails$f = fails$o;
1236
+ var fails$g = fails$p;
1237
1237
  var objectKeys$1 = objectKeys$2;
1238
1238
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1239
1239
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1244,11 +1244,11 @@ var IndexedObject$1 = indexedObject;
1244
1244
  var $assign = Object.assign;
1245
1245
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1246
1246
  var defineProperty$5 = Object.defineProperty;
1247
- var concat = uncurryThis$f([].concat);
1247
+ var concat = uncurryThis$g([].concat);
1248
1248
 
1249
1249
  // `Object.assign` method
1250
1250
  // https://tc39.es/ecma262/#sec-object.assign
1251
- var objectAssign = !$assign || fails$f(function () {
1251
+ var objectAssign = !$assign || fails$g(function () {
1252
1252
  // should have correct order of operations (Edge bug)
1253
1253
  if (DESCRIPTORS$8 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1254
1254
  enumerable: true,
@@ -1287,13 +1287,13 @@ var objectAssign = !$assign || fails$f(function () {
1287
1287
  } return T;
1288
1288
  } : $assign;
1289
1289
 
1290
- var $$h = _export;
1290
+ var $$i = _export;
1291
1291
  var assign = objectAssign;
1292
1292
 
1293
1293
  // `Object.assign` method
1294
1294
  // https://tc39.es/ecma262/#sec-object.assign
1295
1295
  // eslint-disable-next-line es/no-object-assign -- required for testing
1296
- $$h({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1296
+ $$i({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1297
1297
  assign: assign
1298
1298
  });
1299
1299
 
@@ -1451,7 +1451,7 @@ var classof$7 = classof$8;
1451
1451
 
1452
1452
  var $String$1 = String;
1453
1453
 
1454
- var toString$c = function (argument) {
1454
+ var toString$d = function (argument) {
1455
1455
  if (classof$7(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1456
1456
  return $String$1(argument);
1457
1457
  };
@@ -1465,18 +1465,18 @@ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
1465
1465
  return defineProperty$4.f(target, name, descriptor);
1466
1466
  };
1467
1467
 
1468
- var $$g = _export;
1468
+ var $$h = _export;
1469
1469
  var DESCRIPTORS$7 = descriptors;
1470
- var global$f = global$p;
1471
- var uncurryThis$e = functionUncurryThis;
1470
+ var global$g = global$q;
1471
+ var uncurryThis$f = functionUncurryThis;
1472
1472
  var hasOwn$6 = hasOwnProperty_1;
1473
1473
  var isCallable$b = isCallable$n;
1474
1474
  var isPrototypeOf$5 = objectIsPrototypeOf;
1475
- var toString$b = toString$c;
1475
+ var toString$c = toString$d;
1476
1476
  var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
1477
1477
  var copyConstructorProperties$1 = copyConstructorProperties$3;
1478
1478
 
1479
- var NativeSymbol = global$f.Symbol;
1479
+ var NativeSymbol = global$g.Symbol;
1480
1480
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1481
1481
 
1482
1482
  if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -1486,7 +1486,7 @@ if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPro
1486
1486
  var EmptyStringDescriptionStore = {};
1487
1487
  // wrap Symbol constructor for correct work with undefined description
1488
1488
  var SymbolWrapper = function Symbol() {
1489
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$b(arguments[0]);
1489
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$c(arguments[0]);
1490
1490
  var result = isPrototypeOf$5(SymbolPrototype, this)
1491
1491
  ? new NativeSymbol(description)
1492
1492
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
@@ -1500,11 +1500,11 @@ if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPro
1500
1500
  SymbolPrototype.constructor = SymbolWrapper;
1501
1501
 
1502
1502
  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
1503
- var thisSymbolValue = uncurryThis$e(SymbolPrototype.valueOf);
1504
- var symbolDescriptiveString = uncurryThis$e(SymbolPrototype.toString);
1503
+ var thisSymbolValue = uncurryThis$f(SymbolPrototype.valueOf);
1504
+ var symbolDescriptiveString = uncurryThis$f(SymbolPrototype.toString);
1505
1505
  var regexp = /^Symbol\((.*)\)[^)]+$/;
1506
- var replace$4 = uncurryThis$e(''.replace);
1507
- var stringSlice$4 = uncurryThis$e(''.slice);
1506
+ var replace$4 = uncurryThis$f(''.replace);
1507
+ var stringSlice$4 = uncurryThis$f(''.slice);
1508
1508
 
1509
1509
  defineBuiltInAccessor$2(SymbolPrototype, 'description', {
1510
1510
  configurable: true,
@@ -1517,7 +1517,7 @@ if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPro
1517
1517
  }
1518
1518
  });
1519
1519
 
1520
- $$g({ global: true, constructor: true, forced: true }, {
1520
+ $$h({ global: true, constructor: true, forced: true }, {
1521
1521
  Symbol: SymbolWrapper
1522
1522
  });
1523
1523
  }
@@ -1656,9 +1656,9 @@ var addToUnscopables$3 = function (key) {
1656
1656
 
1657
1657
  var iterators = {};
1658
1658
 
1659
- var fails$e = fails$o;
1659
+ var fails$f = fails$p;
1660
1660
 
1661
- var correctPrototypeGetter = !fails$e(function () {
1661
+ var correctPrototypeGetter = !fails$f(function () {
1662
1662
  function F() { /* empty */ }
1663
1663
  F.prototype.constructor = null;
1664
1664
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1687,14 +1687,14 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
1687
1687
  } return object instanceof $Object ? ObjectPrototype : null;
1688
1688
  };
1689
1689
 
1690
- var fails$d = fails$o;
1690
+ var fails$e = fails$p;
1691
1691
  var isCallable$9 = isCallable$n;
1692
1692
  var isObject$8 = isObject$e;
1693
1693
  var getPrototypeOf$1 = objectGetPrototypeOf;
1694
1694
  var defineBuiltIn$6 = defineBuiltIn$8;
1695
1695
  var wellKnownSymbol$e = wellKnownSymbol$j;
1696
1696
 
1697
- var ITERATOR$6 = wellKnownSymbol$e('iterator');
1697
+ var ITERATOR$7 = wellKnownSymbol$e('iterator');
1698
1698
  var BUGGY_SAFARI_ITERATORS$1 = false;
1699
1699
 
1700
1700
  // `%IteratorPrototype%` object
@@ -1712,18 +1712,18 @@ if ([].keys) {
1712
1712
  }
1713
1713
  }
1714
1714
 
1715
- var NEW_ITERATOR_PROTOTYPE = !isObject$8(IteratorPrototype$2) || fails$d(function () {
1715
+ var NEW_ITERATOR_PROTOTYPE = !isObject$8(IteratorPrototype$2) || fails$e(function () {
1716
1716
  var test = {};
1717
1717
  // FF44- legacy iterators case
1718
- return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
1718
+ return IteratorPrototype$2[ITERATOR$7].call(test) !== test;
1719
1719
  });
1720
1720
 
1721
1721
  if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1722
1722
 
1723
1723
  // `%IteratorPrototype%[@@iterator]()` method
1724
1724
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1725
- if (!isCallable$9(IteratorPrototype$2[ITERATOR$6])) {
1726
- defineBuiltIn$6(IteratorPrototype$2, ITERATOR$6, function () {
1725
+ if (!isCallable$9(IteratorPrototype$2[ITERATOR$7])) {
1726
+ defineBuiltIn$6(IteratorPrototype$2, ITERATOR$7, function () {
1727
1727
  return this;
1728
1728
  });
1729
1729
  }
@@ -1762,13 +1762,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1762
1762
  return IteratorConstructor;
1763
1763
  };
1764
1764
 
1765
- var uncurryThis$d = functionUncurryThis;
1765
+ var uncurryThis$e = functionUncurryThis;
1766
1766
  var aCallable$7 = aCallable$9;
1767
1767
 
1768
1768
  var functionUncurryThisAccessor = function (object, key, method) {
1769
1769
  try {
1770
1770
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1771
- return uncurryThis$d(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1771
+ return uncurryThis$e(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1772
1772
  } catch (error) { /* empty */ }
1773
1773
  };
1774
1774
 
@@ -1817,7 +1817,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1817
1817
  };
1818
1818
  }() : undefined);
1819
1819
 
1820
- var $$f = _export;
1820
+ var $$g = _export;
1821
1821
  var call$f = functionCall;
1822
1822
  var FunctionName = functionName;
1823
1823
  var isCallable$8 = isCallable$n;
@@ -1835,7 +1835,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1835
1835
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1836
1836
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1837
1837
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1838
- var ITERATOR$5 = wellKnownSymbol$c('iterator');
1838
+ var ITERATOR$6 = wellKnownSymbol$c('iterator');
1839
1839
  var KEYS = 'keys';
1840
1840
  var VALUES = 'values';
1841
1841
  var ENTRIES = 'entries';
@@ -1861,7 +1861,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1861
1861
  var TO_STRING_TAG = NAME + ' Iterator';
1862
1862
  var INCORRECT_VALUES_NAME = false;
1863
1863
  var IterablePrototype = Iterable.prototype;
1864
- var nativeIterator = IterablePrototype[ITERATOR$5]
1864
+ var nativeIterator = IterablePrototype[ITERATOR$6]
1865
1865
  || IterablePrototype['@@iterator']
1866
1866
  || DEFAULT && IterablePrototype[DEFAULT];
1867
1867
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
@@ -1875,8 +1875,8 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1875
1875
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1876
1876
  if (setPrototypeOf$3) {
1877
1877
  setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype);
1878
- } else if (!isCallable$8(CurrentIteratorPrototype[ITERATOR$5])) {
1879
- defineBuiltIn$5(CurrentIteratorPrototype, ITERATOR$5, returnThis);
1878
+ } else if (!isCallable$8(CurrentIteratorPrototype[ITERATOR$6])) {
1879
+ defineBuiltIn$5(CurrentIteratorPrototype, ITERATOR$6, returnThis);
1880
1880
  }
1881
1881
  }
1882
1882
  // Set @@toStringTag to native iterators
@@ -1905,12 +1905,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1905
1905
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1906
1906
  defineBuiltIn$5(IterablePrototype, KEY, methods[KEY]);
1907
1907
  }
1908
- } else $$f({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1908
+ } else $$g({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1909
1909
  }
1910
1910
 
1911
1911
  // define iterator
1912
- if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
1913
- defineBuiltIn$5(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
1912
+ if (IterablePrototype[ITERATOR$6] !== defaultIterator) {
1913
+ defineBuiltIn$5(IterablePrototype, ITERATOR$6, defaultIterator, { name: DEFAULT });
1914
1914
  }
1915
1915
  Iterators$3[NAME] = defaultIterator;
1916
1916
 
@@ -2028,7 +2028,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
2028
2028
 
2029
2029
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
2030
2030
 
2031
- var global$e = global$p;
2031
+ var global$f = global$q;
2032
2032
  var DOMIterables = domIterables;
2033
2033
  var DOMTokenListPrototype = domTokenListPrototype;
2034
2034
  var ArrayIteratorMethods = es_array_iterator;
@@ -2036,16 +2036,16 @@ var createNonEnumerableProperty$5 = createNonEnumerableProperty$9;
2036
2036
  var setToStringTag$1 = setToStringTag$4;
2037
2037
  var wellKnownSymbol$b = wellKnownSymbol$j;
2038
2038
 
2039
- var ITERATOR$4 = wellKnownSymbol$b('iterator');
2039
+ var ITERATOR$5 = wellKnownSymbol$b('iterator');
2040
2040
  var ArrayValues = ArrayIteratorMethods.values;
2041
2041
 
2042
2042
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
2043
2043
  if (CollectionPrototype) {
2044
2044
  // some Chrome versions have non-configurable methods on DOMTokenList
2045
- if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
2046
- createNonEnumerableProperty$5(CollectionPrototype, ITERATOR$4, ArrayValues);
2045
+ if (CollectionPrototype[ITERATOR$5] !== ArrayValues) try {
2046
+ createNonEnumerableProperty$5(CollectionPrototype, ITERATOR$5, ArrayValues);
2047
2047
  } catch (error) {
2048
- CollectionPrototype[ITERATOR$4] = ArrayValues;
2048
+ CollectionPrototype[ITERATOR$5] = ArrayValues;
2049
2049
  }
2050
2050
  setToStringTag$1(CollectionPrototype, COLLECTION_NAME, true);
2051
2051
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
@@ -2060,7 +2060,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
2060
2060
  };
2061
2061
 
2062
2062
  for (var COLLECTION_NAME in DOMIterables) {
2063
- handlePrototype(global$e[COLLECTION_NAME] && global$e[COLLECTION_NAME].prototype, COLLECTION_NAME);
2063
+ handlePrototype(global$f[COLLECTION_NAME] && global$f[COLLECTION_NAME].prototype, COLLECTION_NAME);
2064
2064
  }
2065
2065
 
2066
2066
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2333,10 +2333,10 @@ const ConfirmationDialog = _a => {
2333
2333
  }));
2334
2334
  };
2335
2335
 
2336
- var global$d = global$p;
2336
+ var global$e = global$q;
2337
2337
  var classof$6 = classofRaw$2;
2338
2338
 
2339
- var engineIsNode = classof$6(global$d.process) === 'process';
2339
+ var engineIsNode = classof$6(global$e.process) === 'process';
2340
2340
 
2341
2341
  var getBuiltIn$4 = getBuiltIn$8;
2342
2342
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
@@ -2365,8 +2365,8 @@ var anInstance$1 = function (it, Prototype) {
2365
2365
  throw new $TypeError$a('Incorrect invocation');
2366
2366
  };
2367
2367
 
2368
- var uncurryThis$c = functionUncurryThis;
2369
- var fails$c = fails$o;
2368
+ var uncurryThis$d = functionUncurryThis;
2369
+ var fails$d = fails$p;
2370
2370
  var isCallable$7 = isCallable$n;
2371
2371
  var classof$5 = classof$8;
2372
2372
  var getBuiltIn$3 = getBuiltIn$8;
@@ -2375,7 +2375,7 @@ var inspectSource$1 = inspectSource$3;
2375
2375
  var noop = function () { /* empty */ };
2376
2376
  var construct = getBuiltIn$3('Reflect', 'construct');
2377
2377
  var constructorRegExp = /^\s*(?:class|function)\b/;
2378
- var exec$3 = uncurryThis$c(constructorRegExp.exec);
2378
+ var exec$3 = uncurryThis$d(constructorRegExp.exec);
2379
2379
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
2380
2380
 
2381
2381
  var isConstructorModern = function isConstructor(argument) {
@@ -2409,7 +2409,7 @@ isConstructorLegacy.sham = true;
2409
2409
 
2410
2410
  // `IsConstructor` abstract operation
2411
2411
  // https://tc39.es/ecma262/#sec-isconstructor
2412
- var isConstructor$2 = !construct || fails$c(function () {
2412
+ var isConstructor$2 = !construct || fails$d(function () {
2413
2413
  var called;
2414
2414
  return isConstructorModern(isConstructorModern.call)
2415
2415
  || !isConstructorModern(Object)
@@ -2455,20 +2455,20 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
2455
2455
  });
2456
2456
 
2457
2457
  var classofRaw = classofRaw$2;
2458
- var uncurryThis$b = functionUncurryThis;
2458
+ var uncurryThis$c = functionUncurryThis;
2459
2459
 
2460
2460
  var functionUncurryThisClause = function (fn) {
2461
2461
  // Nashorn bug:
2462
2462
  // https://github.com/zloirock/core-js/issues/1128
2463
2463
  // https://github.com/zloirock/core-js/issues/1130
2464
- if (classofRaw(fn) === 'Function') return uncurryThis$b(fn);
2464
+ if (classofRaw(fn) === 'Function') return uncurryThis$c(fn);
2465
2465
  };
2466
2466
 
2467
- var uncurryThis$a = functionUncurryThisClause;
2467
+ var uncurryThis$b = functionUncurryThisClause;
2468
2468
  var aCallable$6 = aCallable$9;
2469
2469
  var NATIVE_BIND = functionBindNative;
2470
2470
 
2471
- var bind$5 = uncurryThis$a(uncurryThis$a.bind);
2471
+ var bind$5 = uncurryThis$b(uncurryThis$b.bind);
2472
2472
 
2473
2473
  // optional / simple context binding
2474
2474
  var functionBindContext = function (fn, that) {
@@ -2478,9 +2478,9 @@ var functionBindContext = function (fn, that) {
2478
2478
  };
2479
2479
  };
2480
2480
 
2481
- var uncurryThis$9 = functionUncurryThis;
2481
+ var uncurryThis$a = functionUncurryThis;
2482
2482
 
2483
- var arraySlice$1 = uncurryThis$9([].slice);
2483
+ var arraySlice$1 = uncurryThis$a([].slice);
2484
2484
 
2485
2485
  var $TypeError$8 = TypeError;
2486
2486
 
@@ -2494,12 +2494,12 @@ var userAgent$2 = engineUserAgent;
2494
2494
  // eslint-disable-next-line redos/no-vulnerable -- safe
2495
2495
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
2496
2496
 
2497
- var global$c = global$p;
2497
+ var global$d = global$q;
2498
2498
  var apply$1 = functionApply;
2499
2499
  var bind$4 = functionBindContext;
2500
2500
  var isCallable$6 = isCallable$n;
2501
2501
  var hasOwn$3 = hasOwnProperty_1;
2502
- var fails$b = fails$o;
2502
+ var fails$c = fails$p;
2503
2503
  var html = html$2;
2504
2504
  var arraySlice = arraySlice$1;
2505
2505
  var createElement = documentCreateElement$2;
@@ -2507,21 +2507,21 @@ var validateArgumentsLength = validateArgumentsLength$1;
2507
2507
  var IS_IOS$1 = engineIsIos;
2508
2508
  var IS_NODE$4 = engineIsNode;
2509
2509
 
2510
- var set$1 = global$c.setImmediate;
2511
- var clear = global$c.clearImmediate;
2512
- var process$2 = global$c.process;
2513
- var Dispatch = global$c.Dispatch;
2514
- var Function$1 = global$c.Function;
2515
- var MessageChannel = global$c.MessageChannel;
2516
- var String$1 = global$c.String;
2510
+ var set$1 = global$d.setImmediate;
2511
+ var clear = global$d.clearImmediate;
2512
+ var process$2 = global$d.process;
2513
+ var Dispatch = global$d.Dispatch;
2514
+ var Function$1 = global$d.Function;
2515
+ var MessageChannel = global$d.MessageChannel;
2516
+ var String$1 = global$d.String;
2517
2517
  var counter = 0;
2518
2518
  var queue$2 = {};
2519
2519
  var ONREADYSTATECHANGE = 'onreadystatechange';
2520
2520
  var $location, defer, channel, port;
2521
2521
 
2522
- fails$b(function () {
2522
+ fails$c(function () {
2523
2523
  // Deno throws a ReferenceError on `location` access without `--location` flag
2524
- $location = global$c.location;
2524
+ $location = global$d.location;
2525
2525
  });
2526
2526
 
2527
2527
  var run = function (id) {
@@ -2544,7 +2544,7 @@ var eventListener = function (event) {
2544
2544
 
2545
2545
  var globalPostMessageDefer = function (id) {
2546
2546
  // old engines have not location.origin
2547
- global$c.postMessage(String$1(id), $location.protocol + '//' + $location.host);
2547
+ global$d.postMessage(String$1(id), $location.protocol + '//' + $location.host);
2548
2548
  };
2549
2549
 
2550
2550
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -2582,14 +2582,14 @@ if (!set$1 || !clear) {
2582
2582
  // Browsers with postMessage, skip WebWorkers
2583
2583
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2584
2584
  } else if (
2585
- global$c.addEventListener &&
2586
- isCallable$6(global$c.postMessage) &&
2587
- !global$c.importScripts &&
2585
+ global$d.addEventListener &&
2586
+ isCallable$6(global$d.postMessage) &&
2587
+ !global$d.importScripts &&
2588
2588
  $location && $location.protocol !== 'file:' &&
2589
- !fails$b(globalPostMessageDefer)
2589
+ !fails$c(globalPostMessageDefer)
2590
2590
  ) {
2591
2591
  defer = globalPostMessageDefer;
2592
- global$c.addEventListener('message', eventListener, false);
2592
+ global$d.addEventListener('message', eventListener, false);
2593
2593
  // IE8-
2594
2594
  } else if (ONREADYSTATECHANGE in createElement('script')) {
2595
2595
  defer = function (id) {
@@ -2611,7 +2611,7 @@ var task$1 = {
2611
2611
  clear: clear
2612
2612
  };
2613
2613
 
2614
- var global$b = global$p;
2614
+ var global$c = global$q;
2615
2615
  var DESCRIPTORS$3 = descriptors;
2616
2616
 
2617
2617
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -2619,8 +2619,8 @@ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2619
2619
 
2620
2620
  // Avoid NodeJS experimental warning
2621
2621
  var safeGetBuiltIn$1 = function (name) {
2622
- if (!DESCRIPTORS$3) return global$b[name];
2623
- var descriptor = getOwnPropertyDescriptor(global$b, name);
2622
+ if (!DESCRIPTORS$3) return global$c[name];
2623
+ var descriptor = getOwnPropertyDescriptor(global$c, name);
2624
2624
  return descriptor && descriptor.value;
2625
2625
  };
2626
2626
 
@@ -2657,7 +2657,7 @@ var userAgent = engineUserAgent;
2657
2657
 
2658
2658
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
2659
2659
 
2660
- var global$a = global$p;
2660
+ var global$b = global$q;
2661
2661
  var safeGetBuiltIn = safeGetBuiltIn$1;
2662
2662
  var bind$3 = functionBindContext;
2663
2663
  var macrotask = task$1.set;
@@ -2667,10 +2667,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
2667
2667
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
2668
2668
  var IS_NODE$3 = engineIsNode;
2669
2669
 
2670
- var MutationObserver = global$a.MutationObserver || global$a.WebKitMutationObserver;
2671
- var document$2 = global$a.document;
2672
- var process$1 = global$a.process;
2673
- var Promise$1 = global$a.Promise;
2670
+ var MutationObserver = global$b.MutationObserver || global$b.WebKitMutationObserver;
2671
+ var document$2 = global$b.document;
2672
+ var process$1 = global$b.process;
2673
+ var Promise$1 = global$b.Promise;
2674
2674
  var microtask$1 = safeGetBuiltIn('queueMicrotask');
2675
2675
  var notify$1, toggle, node, promise, then;
2676
2676
 
@@ -2722,7 +2722,7 @@ if (!microtask$1) {
2722
2722
  // - setTimeout
2723
2723
  } else {
2724
2724
  // `webpack` dev server bug on IE global methods - use bind(fn, global)
2725
- macrotask = bind$3(macrotask, global$a);
2725
+ macrotask = bind$3(macrotask, global$b);
2726
2726
  notify$1 = function () {
2727
2727
  macrotask(flush);
2728
2728
  };
@@ -2751,9 +2751,9 @@ var perform$3 = function (exec) {
2751
2751
  }
2752
2752
  };
2753
2753
 
2754
- var global$9 = global$p;
2754
+ var global$a = global$q;
2755
2755
 
2756
- var promiseNativeConstructor = global$9.Promise;
2756
+ var promiseNativeConstructor = global$a.Promise;
2757
2757
 
2758
2758
  /* global Deno -- Deno case */
2759
2759
  var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
@@ -2765,7 +2765,7 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$2
2765
2765
  && typeof window == 'object'
2766
2766
  && typeof document == 'object';
2767
2767
 
2768
- var global$8 = global$p;
2768
+ var global$9 = global$q;
2769
2769
  var NativePromiseConstructor$3 = promiseNativeConstructor;
2770
2770
  var isCallable$5 = isCallable$n;
2771
2771
  var isForced$1 = isForced_1;
@@ -2778,7 +2778,7 @@ var V8_VERSION = engineV8Version;
2778
2778
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
2779
2779
  var SPECIES$2 = wellKnownSymbol$8('species');
2780
2780
  var SUBCLASSING = false;
2781
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$5(global$8.PromiseRejectionEvent);
2781
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$5(global$9.PromiseRejectionEvent);
2782
2782
 
2783
2783
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced$1('Promise', function () {
2784
2784
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -2833,9 +2833,9 @@ newPromiseCapability$2.f = function (C) {
2833
2833
  return new PromiseCapability(C);
2834
2834
  };
2835
2835
 
2836
- var $$e = _export;
2836
+ var $$f = _export;
2837
2837
  var IS_NODE$1 = engineIsNode;
2838
- var global$7 = global$p;
2838
+ var global$8 = global$q;
2839
2839
  var call$d = functionCall;
2840
2840
  var defineBuiltIn$4 = defineBuiltIn$8;
2841
2841
  var setPrototypeOf$2 = objectSetPrototypeOf;
@@ -2865,13 +2865,13 @@ var setInternalState = InternalStateModule.set;
2865
2865
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
2866
2866
  var PromiseConstructor = NativePromiseConstructor$2;
2867
2867
  var PromisePrototype = NativePromisePrototype$1;
2868
- var TypeError$1 = global$7.TypeError;
2869
- var document$1 = global$7.document;
2870
- var process = global$7.process;
2868
+ var TypeError$1 = global$8.TypeError;
2869
+ var document$1 = global$8.document;
2870
+ var process = global$8.process;
2871
2871
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
2872
2872
  var newGenericPromiseCapability = newPromiseCapability$1;
2873
2873
 
2874
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$7.dispatchEvent);
2874
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$8.dispatchEvent);
2875
2875
  var UNHANDLED_REJECTION = 'unhandledrejection';
2876
2876
  var REJECTION_HANDLED = 'rejectionhandled';
2877
2877
  var PENDING = 0;
@@ -2944,14 +2944,14 @@ var dispatchEvent = function (name, promise, reason) {
2944
2944
  event.promise = promise;
2945
2945
  event.reason = reason;
2946
2946
  event.initEvent(name, false, true);
2947
- global$7.dispatchEvent(event);
2947
+ global$8.dispatchEvent(event);
2948
2948
  } else event = { promise: promise, reason: reason };
2949
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$7['on' + name])) handler(event);
2949
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$8['on' + name])) handler(event);
2950
2950
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
2951
2951
  };
2952
2952
 
2953
2953
  var onUnhandled = function (state) {
2954
- call$d(task, global$7, function () {
2954
+ call$d(task, global$8, function () {
2955
2955
  var promise = state.facade;
2956
2956
  var value = state.value;
2957
2957
  var IS_UNHANDLED = isUnhandled(state);
@@ -2974,7 +2974,7 @@ var isUnhandled = function (state) {
2974
2974
  };
2975
2975
 
2976
2976
  var onHandleUnhandled = function (state) {
2977
- call$d(task, global$7, function () {
2977
+ call$d(task, global$8, function () {
2978
2978
  var promise = state.facade;
2979
2979
  if (IS_NODE$1) {
2980
2980
  process.emit('rejectionHandled', promise);
@@ -3113,7 +3113,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3113
3113
  }
3114
3114
  }
3115
3115
 
3116
- $$e({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
3116
+ $$f({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
3117
3117
  Promise: PromiseConstructor
3118
3118
  });
3119
3119
 
@@ -3123,12 +3123,12 @@ setSpecies$1(PROMISE);
3123
3123
  var wellKnownSymbol$7 = wellKnownSymbol$j;
3124
3124
  var Iterators$1 = iterators;
3125
3125
 
3126
- var ITERATOR$3 = wellKnownSymbol$7('iterator');
3126
+ var ITERATOR$4 = wellKnownSymbol$7('iterator');
3127
3127
  var ArrayPrototype = Array.prototype;
3128
3128
 
3129
3129
  // check on default Array iterator
3130
3130
  var isArrayIteratorMethod$1 = function (it) {
3131
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
3131
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$4] === it);
3132
3132
  };
3133
3133
 
3134
3134
  var classof$4 = classof$8;
@@ -3137,10 +3137,10 @@ var isNullOrUndefined$3 = isNullOrUndefined$7;
3137
3137
  var Iterators = iterators;
3138
3138
  var wellKnownSymbol$6 = wellKnownSymbol$j;
3139
3139
 
3140
- var ITERATOR$2 = wellKnownSymbol$6('iterator');
3140
+ var ITERATOR$3 = wellKnownSymbol$6('iterator');
3141
3141
 
3142
3142
  var getIteratorMethod$2 = function (it) {
3143
- if (!isNullOrUndefined$3(it)) return getMethod$4(it, ITERATOR$2)
3143
+ if (!isNullOrUndefined$3(it)) return getMethod$4(it, ITERATOR$3)
3144
3144
  || getMethod$4(it, '@@iterator')
3145
3145
  || Iterators[classof$4(it)];
3146
3146
  };
@@ -3254,7 +3254,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
3254
3254
 
3255
3255
  var wellKnownSymbol$5 = wellKnownSymbol$j;
3256
3256
 
3257
- var ITERATOR$1 = wellKnownSymbol$5('iterator');
3257
+ var ITERATOR$2 = wellKnownSymbol$5('iterator');
3258
3258
  var SAFE_CLOSING = false;
3259
3259
 
3260
3260
  try {
@@ -3267,7 +3267,7 @@ try {
3267
3267
  SAFE_CLOSING = true;
3268
3268
  }
3269
3269
  };
3270
- iteratorWithReturn[ITERATOR$1] = function () {
3270
+ iteratorWithReturn[ITERATOR$2] = function () {
3271
3271
  return this;
3272
3272
  };
3273
3273
  // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
@@ -3281,7 +3281,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
3281
3281
  var ITERATION_SUPPORT = false;
3282
3282
  try {
3283
3283
  var object = {};
3284
- object[ITERATOR$1] = function () {
3284
+ object[ITERATOR$2] = function () {
3285
3285
  return {
3286
3286
  next: function () {
3287
3287
  return { done: ITERATION_SUPPORT = true };
@@ -3301,7 +3301,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
3301
3301
  NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
3302
3302
  });
3303
3303
 
3304
- var $$d = _export;
3304
+ var $$e = _export;
3305
3305
  var call$9 = functionCall;
3306
3306
  var aCallable$2 = aCallable$9;
3307
3307
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
@@ -3311,7 +3311,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
3311
3311
 
3312
3312
  // `Promise.all` method
3313
3313
  // https://tc39.es/ecma262/#sec-promise.all
3314
- $$d({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3314
+ $$e({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3315
3315
  all: function all(iterable) {
3316
3316
  var C = this;
3317
3317
  var capability = newPromiseCapabilityModule$2.f(C);
@@ -3340,7 +3340,7 @@ $$d({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3340
3340
  }
3341
3341
  });
3342
3342
 
3343
- var $$c = _export;
3343
+ var $$d = _export;
3344
3344
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
3345
3345
  var NativePromiseConstructor = promiseNativeConstructor;
3346
3346
  var getBuiltIn$2 = getBuiltIn$8;
@@ -3351,7 +3351,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
3351
3351
 
3352
3352
  // `Promise.prototype.catch` method
3353
3353
  // https://tc39.es/ecma262/#sec-promise.prototype.catch
3354
- $$c({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3354
+ $$d({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3355
3355
  'catch': function (onRejected) {
3356
3356
  return this.then(undefined, onRejected);
3357
3357
  }
@@ -3365,7 +3365,7 @@ if (isCallable$3(NativePromiseConstructor)) {
3365
3365
  }
3366
3366
  }
3367
3367
 
3368
- var $$b = _export;
3368
+ var $$c = _export;
3369
3369
  var call$8 = functionCall;
3370
3370
  var aCallable$1 = aCallable$9;
3371
3371
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
@@ -3375,7 +3375,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
3375
3375
 
3376
3376
  // `Promise.race` method
3377
3377
  // https://tc39.es/ecma262/#sec-promise.race
3378
- $$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3378
+ $$c({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3379
3379
  race: function race(iterable) {
3380
3380
  var C = this;
3381
3381
  var capability = newPromiseCapabilityModule$1.f(C);
@@ -3391,13 +3391,13 @@ $$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3391
3391
  }
3392
3392
  });
3393
3393
 
3394
- var $$a = _export;
3394
+ var $$b = _export;
3395
3395
  var newPromiseCapabilityModule = newPromiseCapability$2;
3396
3396
  var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
3397
3397
 
3398
3398
  // `Promise.reject` method
3399
3399
  // https://tc39.es/ecma262/#sec-promise.reject
3400
- $$a({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3400
+ $$b({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3401
3401
  reject: function reject(r) {
3402
3402
  var capability = newPromiseCapabilityModule.f(this);
3403
3403
  var capabilityReject = capability.reject;
@@ -3419,7 +3419,7 @@ var promiseResolve$1 = function (C, x) {
3419
3419
  return promiseCapability.promise;
3420
3420
  };
3421
3421
 
3422
- var $$9 = _export;
3422
+ var $$a = _export;
3423
3423
  var getBuiltIn$1 = getBuiltIn$8;
3424
3424
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
3425
3425
  var promiseResolve = promiseResolve$1;
@@ -3428,7 +3428,7 @@ getBuiltIn$1('Promise');
3428
3428
 
3429
3429
  // `Promise.resolve` method
3430
3430
  // https://tc39.es/ecma262/#sec-promise.resolve
3431
- $$9({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3431
+ $$a({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3432
3432
  resolve: function resolve(x) {
3433
3433
  return promiseResolve(this, x);
3434
3434
  }
@@ -4110,7 +4110,7 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
4110
4110
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
4111
4111
  };
4112
4112
 
4113
- var $$8 = _export;
4113
+ var $$9 = _export;
4114
4114
  var flattenIntoArray = flattenIntoArray_1;
4115
4115
  var toObject$1 = toObject$5;
4116
4116
  var lengthOfArrayLike$1 = lengthOfArrayLike$5;
@@ -4119,7 +4119,7 @@ var arraySpeciesCreate = arraySpeciesCreate$1;
4119
4119
 
4120
4120
  // `Array.prototype.flat` method
4121
4121
  // https://tc39.es/ecma262/#sec-array.prototype.flat
4122
- $$8({ target: 'Array', proto: true }, {
4122
+ $$9({ target: 'Array', proto: true }, {
4123
4123
  flat: function flat(/* depthArg = 1 */) {
4124
4124
  var depthArg = arguments.length ? arguments[0] : undefined;
4125
4125
  var O = toObject$1(this);
@@ -4138,22 +4138,22 @@ var addToUnscopables$1 = addToUnscopables$3;
4138
4138
  addToUnscopables$1('flat');
4139
4139
 
4140
4140
  // a string of all valid unicode whitespaces
4141
- var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4141
+ var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4142
4142
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
4143
4143
 
4144
- var uncurryThis$8 = functionUncurryThis;
4144
+ var uncurryThis$9 = functionUncurryThis;
4145
4145
  var requireObjectCoercible$5 = requireObjectCoercible$9;
4146
- var toString$a = toString$c;
4147
- var whitespaces$1 = whitespaces$2;
4146
+ var toString$b = toString$d;
4147
+ var whitespaces$2 = whitespaces$3;
4148
4148
 
4149
- var replace$3 = uncurryThis$8(''.replace);
4150
- var ltrim = RegExp('^[' + whitespaces$1 + ']+');
4151
- var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
4149
+ var replace$3 = uncurryThis$9(''.replace);
4150
+ var ltrim = RegExp('^[' + whitespaces$2 + ']+');
4151
+ var rtrim = RegExp('(^|[^' + whitespaces$2 + '])[' + whitespaces$2 + ']+$');
4152
4152
 
4153
4153
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
4154
4154
  var createMethod$2 = function (TYPE) {
4155
4155
  return function ($this) {
4156
- var string = toString$a(requireObjectCoercible$5($this));
4156
+ var string = toString$b(requireObjectCoercible$5($this));
4157
4157
  if (TYPE & 1) string = replace$3(string, ltrim, '');
4158
4158
  if (TYPE & 2) string = replace$3(string, rtrim, '$1');
4159
4159
  return string;
@@ -4172,35 +4172,35 @@ var stringTrim = {
4172
4172
  trim: createMethod$2(3)
4173
4173
  };
4174
4174
 
4175
- var global$6 = global$p;
4176
- var fails$a = fails$o;
4177
- var uncurryThis$7 = functionUncurryThis;
4178
- var toString$9 = toString$c;
4179
- var trim = stringTrim.trim;
4180
- var whitespaces = whitespaces$2;
4175
+ var global$7 = global$q;
4176
+ var fails$b = fails$p;
4177
+ var uncurryThis$8 = functionUncurryThis;
4178
+ var toString$a = toString$d;
4179
+ var trim$1 = stringTrim.trim;
4180
+ var whitespaces$1 = whitespaces$3;
4181
4181
 
4182
- var $parseInt$1 = global$6.parseInt;
4183
- var Symbol$1 = global$6.Symbol;
4184
- var ITERATOR = Symbol$1 && Symbol$1.iterator;
4182
+ var $parseInt$1 = global$7.parseInt;
4183
+ var Symbol$2 = global$7.Symbol;
4184
+ var ITERATOR$1 = Symbol$2 && Symbol$2.iterator;
4185
4185
  var hex = /^[+-]?0x/i;
4186
- var exec$2 = uncurryThis$7(hex.exec);
4187
- var FORCED$2 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
4186
+ var exec$2 = uncurryThis$8(hex.exec);
4187
+ var FORCED$3 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22
4188
4188
  // MS Edge 18- broken with boxed symbols
4189
- || (ITERATOR && !fails$a(function () { $parseInt$1(Object(ITERATOR)); }));
4189
+ || (ITERATOR$1 && !fails$b(function () { $parseInt$1(Object(ITERATOR$1)); }));
4190
4190
 
4191
4191
  // `parseInt` method
4192
4192
  // https://tc39.es/ecma262/#sec-parseint-string-radix
4193
- var numberParseInt = FORCED$2 ? function parseInt(string, radix) {
4194
- var S = trim(toString$9(string));
4193
+ var numberParseInt = FORCED$3 ? function parseInt(string, radix) {
4194
+ var S = trim$1(toString$a(string));
4195
4195
  return $parseInt$1(S, (radix >>> 0) || (exec$2(hex, S) ? 16 : 10));
4196
4196
  } : $parseInt$1;
4197
4197
 
4198
- var $$7 = _export;
4198
+ var $$8 = _export;
4199
4199
  var $parseInt = numberParseInt;
4200
4200
 
4201
4201
  // `parseInt` method
4202
4202
  // https://tc39.es/ecma262/#sec-parseint-string-radix
4203
- $$7({ global: true, forced: parseInt !== $parseInt }, {
4203
+ $$8({ global: true, forced: parseInt !== $parseInt }, {
4204
4204
  parseInt: $parseInt
4205
4205
  });
4206
4206
 
@@ -4317,10 +4317,10 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
4317
4317
  return $this;
4318
4318
  };
4319
4319
 
4320
- var toString$8 = toString$c;
4320
+ var toString$9 = toString$d;
4321
4321
 
4322
4322
  var normalizeStringArgument$1 = function (argument, $default) {
4323
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString$8(argument);
4323
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$9(argument);
4324
4324
  };
4325
4325
 
4326
4326
  var isObject$1 = isObject$e;
@@ -4334,10 +4334,10 @@ var installErrorCause$1 = function (O, options) {
4334
4334
  }
4335
4335
  };
4336
4336
 
4337
- var uncurryThis$6 = functionUncurryThis;
4337
+ var uncurryThis$7 = functionUncurryThis;
4338
4338
 
4339
4339
  var $Error = Error;
4340
- var replace$2 = uncurryThis$6(''.replace);
4340
+ var replace$2 = uncurryThis$7(''.replace);
4341
4341
 
4342
4342
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
4343
4343
  // eslint-disable-next-line redos/no-vulnerable -- safe
@@ -4350,10 +4350,10 @@ var errorStackClear = function (stack, dropEntries) {
4350
4350
  } return stack;
4351
4351
  };
4352
4352
 
4353
- var fails$9 = fails$o;
4353
+ var fails$a = fails$p;
4354
4354
  var createPropertyDescriptor = createPropertyDescriptor$4;
4355
4355
 
4356
- var errorStackInstallable = !fails$9(function () {
4356
+ var errorStackInstallable = !fails$a(function () {
4357
4357
  var error = new Error('a');
4358
4358
  if (!('stack' in error)) return true;
4359
4359
  // eslint-disable-next-line es/no-object-defineproperty -- safe
@@ -4440,28 +4440,28 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4440
4440
  };
4441
4441
 
4442
4442
  /* eslint-disable no-unused-vars -- required for functions `.length` */
4443
- var $$6 = _export;
4444
- var global$5 = global$p;
4443
+ var $$7 = _export;
4444
+ var global$6 = global$q;
4445
4445
  var apply = functionApply;
4446
4446
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
4447
4447
 
4448
4448
  var WEB_ASSEMBLY = 'WebAssembly';
4449
- var WebAssembly = global$5[WEB_ASSEMBLY];
4449
+ var WebAssembly = global$6[WEB_ASSEMBLY];
4450
4450
 
4451
4451
  // eslint-disable-next-line es/no-error-cause -- feature detection
4452
- var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
4452
+ var FORCED$2 = new Error('e', { cause: 7 }).cause !== 7;
4453
4453
 
4454
4454
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4455
4455
  var O = {};
4456
- O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
4457
- $$6({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4456
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$2);
4457
+ $$7({ global: true, constructor: true, arity: 1, forced: FORCED$2 }, O);
4458
4458
  };
4459
4459
 
4460
4460
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4461
4461
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
4462
4462
  var O = {};
4463
- O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
4464
- $$6({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4463
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$2);
4464
+ $$7({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$2 }, O);
4465
4465
  }
4466
4466
  };
4467
4467
 
@@ -4531,15 +4531,15 @@ var regexpGetFlags = function (R) {
4531
4531
  var PROPER_FUNCTION_NAME = functionName.PROPER;
4532
4532
  var defineBuiltIn$2 = defineBuiltIn$8;
4533
4533
  var anObject$5 = anObject$g;
4534
- var $toString = toString$c;
4535
- var fails$8 = fails$o;
4534
+ var $toString = toString$d;
4535
+ var fails$9 = fails$p;
4536
4536
  var getRegExpFlags$1 = regexpGetFlags;
4537
4537
 
4538
4538
  var TO_STRING = 'toString';
4539
4539
  var RegExpPrototype$3 = RegExp.prototype;
4540
4540
  var nativeToString = RegExpPrototype$3[TO_STRING];
4541
4541
 
4542
- var NOT_GENERIC = fails$8(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
4542
+ var NOT_GENERIC = fails$9(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
4543
4543
  // FF44- RegExp#toString has a wrong name
4544
4544
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
4545
4545
 
@@ -5062,129 +5062,164 @@ const ToolContainer = _a => {
5062
5062
  }));
5063
5063
  };
5064
5064
 
5065
- const getRightPositionAndSize = ({
5066
- currentX,
5067
- currentWidth,
5068
- newWidth,
5069
- maxWidth,
5070
- position,
5071
- startSize
5072
- }) => {
5073
- const newSize = Object.assign(Object.assign({}, startSize), {
5074
- width: newWidth
5075
- });
5076
- // if new size is bigger than the window
5077
- if (newWidth >= maxWidth) {
5078
- return {
5079
- size: Object.assign(Object.assign({}, newSize), {
5080
- width: maxWidth
5081
- }),
5082
- position: Object.assign(Object.assign({}, position), {
5083
- x: position.x + (maxWidth - (currentX + currentWidth))
5084
- })
5085
- };
5086
- }
5087
- // if new size overlaps left side of screen
5088
- const newStartX = currentX - (newWidth - currentWidth);
5089
- if (newStartX <= 0) {
5090
- return {
5091
- size: newSize,
5092
- position: Object.assign(Object.assign({}, position), {
5093
- x: position.x - newStartX
5094
- })
5095
- };
5096
- }
5097
- // there is room to grow
5098
- return {
5099
- size: newSize,
5100
- position
5101
- };
5102
- };
5103
- const getLeftPositionAndSize = ({
5104
- currentX,
5105
- newWidth,
5106
- maxWidth,
5107
- position,
5108
- startSize
5109
- }) => {
5110
- const newSize = Object.assign(Object.assign({}, startSize), {
5111
- width: newWidth
5112
- });
5113
- // if new size is bigger than the window
5114
- if (newWidth >= maxWidth) {
5115
- return {
5116
- size: Object.assign(Object.assign({}, newSize), {
5117
- width: maxWidth
5118
- }),
5119
- position: Object.assign(Object.assign({}, position), {
5120
- x: position.x - currentX
5121
- })
5122
- };
5123
- }
5124
- // if new size overlaps right side of screen
5125
- const newEndX = currentX + newWidth;
5126
- if (newEndX >= maxWidth) {
5127
- return {
5128
- size: newSize,
5129
- position: Object.assign(Object.assign({}, position), {
5130
- x: position.x + (maxWidth - newEndX)
5131
- })
5132
- };
5065
+ var global$5 = global$q;
5066
+ var fails$8 = fails$p;
5067
+ var uncurryThis$6 = functionUncurryThis;
5068
+ var toString$8 = toString$d;
5069
+ var trim = stringTrim.trim;
5070
+ var whitespaces = whitespaces$3;
5071
+
5072
+ var charAt$4 = uncurryThis$6(''.charAt);
5073
+ var $parseFloat$1 = global$5.parseFloat;
5074
+ var Symbol$1 = global$5.Symbol;
5075
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
5076
+ var FORCED$1 = 1 / $parseFloat$1(whitespaces + '-0') !== -Infinity
5077
+ // MS Edge 18- broken with boxed symbols
5078
+ || (ITERATOR && !fails$8(function () { $parseFloat$1(Object(ITERATOR)); }));
5079
+
5080
+ // `parseFloat` method
5081
+ // https://tc39.es/ecma262/#sec-parsefloat-string
5082
+ var numberParseFloat = FORCED$1 ? function parseFloat(string) {
5083
+ var trimmedString = trim(toString$8(string));
5084
+ var result = $parseFloat$1(trimmedString);
5085
+ return result === 0 && charAt$4(trimmedString, 0) === '-' ? -0 : result;
5086
+ } : $parseFloat$1;
5087
+
5088
+ var $$6 = _export;
5089
+ var $parseFloat = numberParseFloat;
5090
+
5091
+ // `parseFloat` method
5092
+ // https://tc39.es/ecma262/#sec-parsefloat-string
5093
+ $$6({ global: true, forced: parseFloat !== $parseFloat }, {
5094
+ parseFloat: $parseFloat
5095
+ });
5096
+
5097
+ const getNewPositionSize = (element, boundsNode, isRightAligned, position, newSize) => {
5098
+ const elementBbox = element.getBoundingClientRect();
5099
+ const parentBbox = boundsNode.getBoundingClientRect();
5100
+ const elementStyle = getComputedStyle(element);
5101
+ const initialX = parseFloat(isRightAligned ? elementStyle.right : elementStyle.left);
5102
+ const initialY = parseFloat(elementStyle.top); // only use style.top since we don't support bottom alignment (yet?)
5103
+ const elementBboxHeight = newSize !== undefined && typeof newSize.height === 'number' ? newSize.height : elementBbox.height;
5104
+ const elementBboxWidth = newSize !== undefined && typeof newSize.width === 'number' ? newSize.width : elementBbox.width;
5105
+ const isElementLarger = elementBboxHeight >= parentBbox.height;
5106
+ const isElementWider = elementBboxWidth >= parentBbox.width;
5107
+ const newHeight = isElementLarger ? parentBbox.height : elementBboxHeight;
5108
+ const newWidth = isElementWider ? parentBbox.width : elementBboxWidth;
5109
+ let newX = position.x;
5110
+ let newY = position.y;
5111
+ // horizontal constrains
5112
+ if (isElementWider) {
5113
+ newX = isRightAligned ? initialX : -initialX;
5114
+ }
5115
+ // vertical constrains
5116
+ if (isElementLarger) {
5117
+ newY = -initialY;
5118
+ }
5119
+ // top aligned
5120
+ const newTop = newY + initialY + newHeight;
5121
+ if (newTop > parentBbox.height) {
5122
+ newY = parentBbox.height - newTop + position.y;
5123
+ }
5124
+ // right aligned
5125
+ if (isRightAligned) {
5126
+ const newLeft = parentBbox.x + parentBbox.width - initialX + newX - newWidth;
5127
+ if (newLeft < parentBbox.x) {
5128
+ newX = parentBbox.x - newLeft + position.x;
5129
+ }
5130
+ } else {
5131
+ // left aligned
5132
+ const newRight = newX + initialX + newWidth;
5133
+ if (newRight > parentBbox.width) {
5134
+ newX = parentBbox.width - newRight + position.x;
5135
+ }
5133
5136
  }
5134
- // there is room to grow
5135
5137
  return {
5136
- size: newSize,
5137
- position
5138
+ position: {
5139
+ left: newX,
5140
+ top: newY
5141
+ },
5142
+ size: {
5143
+ width: newWidth,
5144
+ height: newHeight
5145
+ }
5138
5146
  };
5139
5147
  };
5140
5148
  const useHandleSizeFromOutsideComponent = ({
5141
5149
  nodeRef,
5142
- startSize,
5143
5150
  bounds,
5144
- isRightAligned,
5145
- size,
5146
- setSize,
5147
5151
  position,
5148
- setPosition
5152
+ isRightAligned,
5153
+ isOpen,
5154
+ startSize,
5155
+ onChangeSize
5149
5156
  }) => {
5157
+ const updateDomDirectly = React__default.useCallback((position, size) => {
5158
+ if (nodeRef.current) {
5159
+ const element = nodeRef.current;
5160
+ const firstChild = element.firstChild;
5161
+ element.style.transform = `translate(${position.left}px, ${position.top}px)`;
5162
+ firstChild.style.width = `${size.width}px`;
5163
+ firstChild.style.height = `${size.height}px`;
5164
+ }
5165
+ }, [nodeRef]);
5166
+ const getBoundsNode = React__default.useCallback(() => {
5167
+ var _a;
5168
+ return bounds === 'parent' ? (_a = nodeRef.current) === null || _a === void 0 ? void 0 : _a.parentNode : document.querySelector(bounds);
5169
+ }, [bounds, nodeRef]);
5170
+ // store the position as ref so we can access it in another ref
5171
+ const refPosition = React__default.useRef(position);
5172
+ refPosition.current = position;
5173
+ const lastSize = React__default.useRef(startSize);
5174
+ // handle size from outside component
5150
5175
  React__default.useEffect(() => {
5151
- var _a, _b, _c;
5152
- // update size when startSize has changed outside the component
5153
- if (startSize !== size) {
5154
- const node = (_a = nodeRef.current) === null || _a === void 0 ? void 0 : _a.firstChild;
5155
- if (node) {
5156
- const boundsNode = bounds === 'parent' ? (_b = nodeRef.current) === null || _b === void 0 ? void 0 : _b.parentNode : document.querySelector(bounds);
5157
- const {
5158
- width: maxWidth
5159
- } = boundsNode.getBoundingClientRect();
5160
- const newWidth = Number(startSize.width);
5161
- const {
5162
- x: currentX,
5163
- width: currentWidth
5164
- } = (_c = node === null || node === void 0 ? void 0 : node.getBoundingClientRect()) !== null && _c !== void 0 ? _c : {};
5165
- const {
5166
- position: newPosition,
5167
- size: newSize
5168
- } = isRightAligned ? getRightPositionAndSize({
5169
- currentX,
5170
- currentWidth,
5171
- newWidth,
5172
- maxWidth,
5173
- position,
5174
- startSize
5175
- }) : getLeftPositionAndSize({
5176
- currentX: currentX - boundsNode.getBoundingClientRect().x,
5177
- newWidth,
5178
- maxWidth,
5179
- position,
5180
- startSize
5181
- });
5182
- setSize(newSize);
5183
- setPosition(newPosition);
5176
+ const boundsNode = getBoundsNode();
5177
+ if (boundsNode && lastSize.current.width && lastSize.current.height && (lastSize.current.width !== startSize.width || lastSize.current.height !== startSize.height) && typeof startSize.height === 'number' && typeof startSize.width === 'number') {
5178
+ const {
5179
+ position: newPosition,
5180
+ size: newSize
5181
+ } = getNewPositionSize(nodeRef.current, boundsNode, isRightAligned, refPosition.current, startSize);
5182
+ if (lastSize.current.width !== newSize.width || lastSize.current.height !== newSize.height) {
5183
+ updateDomDirectly(newPosition, newSize);
5184
+ onChangeSize(newSize);
5185
+ lastSize.current = newSize;
5184
5186
  }
5185
5187
  }
5186
- // eslint-disable-next-line react-hooks/exhaustive-deps
5187
- }, [startSize.width, startSize.height]);
5188
+ }, [startSize, isRightAligned, lastSize, getBoundsNode, nodeRef, updateDomDirectly, onChangeSize]);
5189
+ // observe parent div dimensions
5190
+ const resizeObserverRef = React__default.useRef(new ResizeObserver(entry => {
5191
+ const boundsTarget = entry[0].target;
5192
+ const element = nodeRef.current;
5193
+ const boundsBbox = boundsTarget.getBoundingClientRect();
5194
+ if (boundsBbox.height === lastSize.current.height && boundsBbox.width === lastSize.current.width || !boundsBbox.height) {
5195
+ return;
5196
+ }
5197
+ const {
5198
+ position: newPosition,
5199
+ size: newSize
5200
+ } = getNewPositionSize(element, boundsTarget, isRightAligned, refPosition.current);
5201
+ updateDomDirectly(newPosition, newSize);
5202
+ }));
5203
+ React__default.useLayoutEffect(() => {
5204
+ const boundsNode = getBoundsNode();
5205
+ if (!boundsNode || !isOpen) {
5206
+ return () => {};
5207
+ }
5208
+ // store current position of the boundsNode
5209
+ const {
5210
+ height,
5211
+ width
5212
+ } = boundsNode.getBoundingClientRect();
5213
+ lastSize.current = {
5214
+ width,
5215
+ height
5216
+ };
5217
+ const observer = resizeObserverRef.current;
5218
+ observer.observe(boundsNode);
5219
+ return () => {
5220
+ observer.disconnect();
5221
+ };
5222
+ }, [isOpen, getBoundsNode]);
5188
5223
  };
5189
5224
 
5190
5225
  // calculate dialog size and position to 85% of screensize
@@ -5305,19 +5340,19 @@ const DraggableComponent = _a => {
5305
5340
  setPosition(calculateNewPosition(position, isRightAligned, direction, delta));
5306
5341
  onResizeStop(_event, direction, node, delta);
5307
5342
  };
5308
- useMakeSureContainerStaysInsideWindow(nodeRef, position, setPosition);
5343
+ const toolcontainerId = React__default.useRef(Date.now().toString()).current;
5344
+ const headerClassName = `header-${className || toolcontainerId}`;
5309
5345
  useHandleSizeFromOutsideComponent({
5310
5346
  nodeRef,
5311
- startSize,
5312
5347
  bounds,
5313
- isRightAligned,
5314
- size,
5315
- setSize,
5316
5348
  position,
5317
- setPosition
5349
+ isRightAligned,
5350
+ isOpen,
5351
+ startSize,
5352
+ onChangeSize: size => {
5353
+ setSize(size);
5354
+ }
5318
5355
  });
5319
- const toolcontainerId = React__default.useRef(Date.now().toString()).current;
5320
- const headerClassName = `header-${className || toolcontainerId}`;
5321
5356
  return isOpen ? jsx(DraggableComponent$1, Object.assign({
5322
5357
  nodeRef: nodeRef,
5323
5358
  bounds: bounds,
@@ -6725,7 +6760,7 @@ const CustomAccordion = _a => {
6725
6760
 
6726
6761
  var $$4 = _export;
6727
6762
  var $includes = arrayIncludes.includes;
6728
- var fails$7 = fails$o;
6763
+ var fails$7 = fails$p;
6729
6764
  var addToUnscopables = addToUnscopables$3;
6730
6765
 
6731
6766
  // FF99+ bug
@@ -6791,7 +6826,7 @@ var arrayReduce = {
6791
6826
  right: createMethod$1(true)
6792
6827
  };
6793
6828
 
6794
- var fails$6 = fails$o;
6829
+ var fails$6 = fails$p;
6795
6830
 
6796
6831
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
6797
6832
  var method = [][METHOD_NAME];
@@ -6834,8 +6869,8 @@ var isRegexp = function (it) {
6834
6869
  return isObject(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$2(it) === 'RegExp');
6835
6870
  };
6836
6871
 
6837
- var fails$5 = fails$o;
6838
- var global$4 = global$p;
6872
+ var fails$5 = fails$p;
6873
+ var global$4 = global$q;
6839
6874
 
6840
6875
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6841
6876
  var $RegExp$2 = global$4.RegExp;
@@ -6865,8 +6900,8 @@ var regexpStickyHelpers = {
6865
6900
  UNSUPPORTED_Y: UNSUPPORTED_Y$3
6866
6901
  };
6867
6902
 
6868
- var fails$4 = fails$o;
6869
- var global$3 = global$p;
6903
+ var fails$4 = fails$p;
6904
+ var global$3 = global$q;
6870
6905
 
6871
6906
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6872
6907
  var $RegExp$1 = global$3.RegExp;
@@ -6876,8 +6911,8 @@ var regexpUnsupportedDotAll = fails$4(function () {
6876
6911
  return !(re.dotAll && re.test('\n') && re.flags === 's');
6877
6912
  });
6878
6913
 
6879
- var fails$3 = fails$o;
6880
- var global$2 = global$p;
6914
+ var fails$3 = fails$p;
6915
+ var global$2 = global$q;
6881
6916
 
6882
6917
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6883
6918
  var $RegExp = global$2.RegExp;
@@ -6889,7 +6924,7 @@ var regexpUnsupportedNcg = fails$3(function () {
6889
6924
  });
6890
6925
 
6891
6926
  var DESCRIPTORS$1 = descriptors;
6892
- var global$1 = global$p;
6927
+ var global$1 = global$q;
6893
6928
  var uncurryThis$4 = functionUncurryThis;
6894
6929
  var isForced = isForced_1;
6895
6930
  var inheritIfRequired = inheritIfRequired$2;
@@ -6898,12 +6933,12 @@ var create$1 = objectCreate;
6898
6933
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
6899
6934
  var isPrototypeOf = objectIsPrototypeOf;
6900
6935
  var isRegExp$1 = isRegexp;
6901
- var toString$7 = toString$c;
6936
+ var toString$7 = toString$d;
6902
6937
  var getRegExpFlags = regexpGetFlags;
6903
6938
  var stickyHelpers$2 = regexpStickyHelpers;
6904
6939
  var proxyAccessor = proxyAccessor$2;
6905
6940
  var defineBuiltIn$1 = defineBuiltIn$8;
6906
- var fails$2 = fails$o;
6941
+ var fails$2 = fails$p;
6907
6942
  var hasOwn = hasOwnProperty_1;
6908
6943
  var enforceInternalState = internalState.enforce;
6909
6944
  var setSpecies = setSpecies$2;
@@ -7110,7 +7145,7 @@ if (DESCRIPTORS && UNSUPPORTED_DOT_ALL$1) {
7110
7145
  /* eslint-disable regexp/no-useless-quantifier -- testing */
7111
7146
  var call$6 = functionCall;
7112
7147
  var uncurryThis$3 = functionUncurryThis;
7113
- var toString$6 = toString$c;
7148
+ var toString$6 = toString$d;
7114
7149
  var regexpFlags = regexpFlags$1;
7115
7150
  var stickyHelpers$1 = regexpStickyHelpers;
7116
7151
  var shared = shared$4;
@@ -7262,7 +7297,7 @@ var $$1 = _export;
7262
7297
  var uncurryThis$2 = functionUncurryThis;
7263
7298
  var notARegExp = notARegexp;
7264
7299
  var requireObjectCoercible$4 = requireObjectCoercible$9;
7265
- var toString$5 = toString$c;
7300
+ var toString$5 = toString$d;
7266
7301
  var correctIsRegExpLogic = correctIsRegexpLogic;
7267
7302
 
7268
7303
  var stringIndexOf = uncurryThis$2(''.indexOf);
@@ -7284,7 +7319,7 @@ $$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
7284
7319
  var call$5 = functionCall;
7285
7320
  var defineBuiltIn = defineBuiltIn$8;
7286
7321
  var regexpExec$1 = regexpExec$2;
7287
- var fails$1 = fails$o;
7322
+ var fails$1 = fails$p;
7288
7323
  var wellKnownSymbol = wellKnownSymbol$j;
7289
7324
  var createNonEnumerableProperty = createNonEnumerableProperty$9;
7290
7325
 
@@ -7390,7 +7425,7 @@ var anObject$3 = anObject$g;
7390
7425
  var isNullOrUndefined$2 = isNullOrUndefined$7;
7391
7426
  var requireObjectCoercible$3 = requireObjectCoercible$9;
7392
7427
  var sameValue = sameValue$1;
7393
- var toString$4 = toString$c;
7428
+ var toString$4 = toString$d;
7394
7429
  var getMethod$2 = getMethod$6;
7395
7430
  var regExpExec$2 = regexpExecAbstract;
7396
7431
 
@@ -7424,7 +7459,7 @@ fixRegExpWellKnownSymbolLogic$2('search', function (SEARCH, nativeSearch, maybeC
7424
7459
 
7425
7460
  var uncurryThis$1 = functionUncurryThis;
7426
7461
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
7427
- var toString$3 = toString$c;
7462
+ var toString$3 = toString$d;
7428
7463
  var requireObjectCoercible$2 = requireObjectCoercible$9;
7429
7464
 
7430
7465
  var charAt$1 = uncurryThis$1(''.charAt);
@@ -7476,11 +7511,11 @@ var requireObjectCoercible$1 = requireObjectCoercible$9;
7476
7511
  var speciesConstructor = speciesConstructor$2;
7477
7512
  var advanceStringIndex$1 = advanceStringIndex$2;
7478
7513
  var toLength$1 = toLength$3;
7479
- var toString$2 = toString$c;
7514
+ var toString$2 = toString$d;
7480
7515
  var getMethod$1 = getMethod$6;
7481
7516
  var regExpExec$1 = regexpExecAbstract;
7482
7517
  var stickyHelpers = regexpStickyHelpers;
7483
- var fails = fails$o;
7518
+ var fails = fails$p;
7484
7519
 
7485
7520
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
7486
7521
  var MAX_UINT32 = 0xFFFFFFFF;
@@ -7653,7 +7688,7 @@ var $ = _export;
7653
7688
  var call$1 = functionCall;
7654
7689
  var isCallable = isCallable$n;
7655
7690
  var anObject$1 = anObject$g;
7656
- var toString$1 = toString$c;
7691
+ var toString$1 = toString$d;
7657
7692
 
7658
7693
  var DELEGATES_TO_EXEC = function () {
7659
7694
  var execCalled = false;
@@ -8177,6 +8212,7 @@ class CanvasComponent extends Component {
8177
8212
  "aria-label": "canvas"
8178
8213
  }, {
8179
8214
  children: jsx("canvas", {
8215
+ "data-testid": "canvas",
8180
8216
  ref: canvas => {
8181
8217
  this.canvas = canvas;
8182
8218
  }
@@ -8282,7 +8318,7 @@ var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
8282
8318
  var anObject = anObject$g;
8283
8319
  var isNullOrUndefined = isNullOrUndefined$7;
8284
8320
  var toLength = toLength$3;
8285
- var toString = toString$c;
8321
+ var toString = toString$d;
8286
8322
  var requireObjectCoercible = requireObjectCoercible$9;
8287
8323
  var getMethod = getMethod$6;
8288
8324
  var advanceStringIndex = advanceStringIndex$2;