vis-util 6.0.0 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/declarations/css-shim.d.ts +2 -0
  2. package/declarations/css-shim.d.ts.map +1 -0
  3. package/declarations/shared/configurator-types.d.ts.map +1 -1
  4. package/declarations/shared/index.d.ts +2 -1
  5. package/declarations/shared/index.d.ts.map +1 -1
  6. package/declarations/util.d.ts +3 -3
  7. package/declarations/util.d.ts.map +1 -1
  8. package/esnext/esm/vis-util.js +7 -6
  9. package/esnext/esm/vis-util.js.map +1 -1
  10. package/esnext/esm/vis-util.min.js +3 -3
  11. package/esnext/esm/vis-util.min.js.map +1 -1
  12. package/esnext/esm/vis-util.min.mjs +3 -3
  13. package/esnext/esm/vis-util.min.mjs.map +1 -1
  14. package/esnext/esm/vis-util.mjs +7 -6
  15. package/esnext/esm/vis-util.mjs.map +1 -1
  16. package/esnext/umd/vis-util.cjs +7 -6
  17. package/esnext/umd/vis-util.cjs.map +1 -1
  18. package/esnext/umd/vis-util.js +7 -6
  19. package/esnext/umd/vis-util.js.map +1 -1
  20. package/esnext/umd/vis-util.min.cjs +3 -3
  21. package/esnext/umd/vis-util.min.cjs.map +1 -1
  22. package/esnext/umd/vis-util.min.js +3 -3
  23. package/esnext/umd/vis-util.min.js.map +1 -1
  24. package/package.json +101 -99
  25. package/peer/esm/vis-util.js +1587 -460
  26. package/peer/esm/vis-util.js.map +1 -1
  27. package/peer/esm/vis-util.min.js +4 -4
  28. package/peer/esm/vis-util.min.js.map +1 -1
  29. package/peer/esm/vis-util.min.mjs +4 -4
  30. package/peer/esm/vis-util.min.mjs.map +1 -1
  31. package/peer/esm/vis-util.mjs +1587 -460
  32. package/peer/esm/vis-util.mjs.map +1 -1
  33. package/peer/umd/vis-util.cjs +1587 -460
  34. package/peer/umd/vis-util.cjs.map +1 -1
  35. package/peer/umd/vis-util.js +1587 -460
  36. package/peer/umd/vis-util.js.map +1 -1
  37. package/peer/umd/vis-util.min.cjs +4 -4
  38. package/peer/umd/vis-util.min.cjs.map +1 -1
  39. package/peer/umd/vis-util.min.js +4 -4
  40. package/peer/umd/vis-util.min.js.map +1 -1
  41. package/standalone/esm/vis-util.js +1587 -460
  42. package/standalone/esm/vis-util.js.map +1 -1
  43. package/standalone/esm/vis-util.min.js +4 -4
  44. package/standalone/esm/vis-util.min.js.map +1 -1
  45. package/standalone/esm/vis-util.min.mjs +4 -4
  46. package/standalone/esm/vis-util.min.mjs.map +1 -1
  47. package/standalone/esm/vis-util.mjs +1587 -460
  48. package/standalone/esm/vis-util.mjs.map +1 -1
  49. package/standalone/umd/vis-util.cjs +1587 -460
  50. package/standalone/umd/vis-util.cjs.map +1 -1
  51. package/standalone/umd/vis-util.js +1587 -460
  52. package/standalone/umd/vis-util.js.map +1 -1
  53. package/standalone/umd/vis-util.min.cjs +4 -4
  54. package/standalone/umd/vis-util.min.cjs.map +1 -1
  55. package/standalone/umd/vis-util.min.js +4 -4
  56. package/standalone/umd/vis-util.min.js.map +1 -1
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * utilitie collection for visjs
6
6
  *
7
- * @version 6.0.0
8
- * @date 2025-07-12T18:02:43.836Z
7
+ * @version 6.0.2
8
+ * @date 2026-08-04T16:30:42.886Z
9
9
  *
10
10
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11
11
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -82,7 +82,7 @@ function requireFunctionBindNative () {
82
82
 
83
83
  functionBindNative = !fails(function () {
84
84
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
85
- var test = (function () { /* empty */ }).bind();
85
+ var test = function () { /* empty */ }.bind();
86
86
  // eslint-disable-next-line no-prototype-builtins -- safe
87
87
  return typeof test != 'function' || test.hasOwnProperty('prototype');
88
88
  });
@@ -628,10 +628,10 @@ function requireSharedStore () {
628
628
  var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
629
629
 
630
630
  (store.versions || (store.versions = [])).push({
631
- version: '3.44.0',
631
+ version: '3.49.0',
632
632
  mode: IS_PURE ? 'pure' : 'global',
633
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
634
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
633
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
634
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
635
635
  source: 'https://github.com/zloirock/core-js'
636
636
  });
637
637
  return sharedStore.exports;
@@ -1130,21 +1130,21 @@ function require_export () {
1130
1130
  return _export;
1131
1131
  }
1132
1132
 
1133
- var isArray$3;
1134
- var hasRequiredIsArray$3;
1133
+ var isArray$6;
1134
+ var hasRequiredIsArray$6;
1135
1135
 
1136
- function requireIsArray$3 () {
1137
- if (hasRequiredIsArray$3) return isArray$3;
1138
- hasRequiredIsArray$3 = 1;
1136
+ function requireIsArray$6 () {
1137
+ if (hasRequiredIsArray$6) return isArray$6;
1138
+ hasRequiredIsArray$6 = 1;
1139
1139
  var classof = /*@__PURE__*/ requireClassofRaw();
1140
1140
 
1141
1141
  // `IsArray` abstract operation
1142
1142
  // https://tc39.es/ecma262/#sec-isarray
1143
1143
  // eslint-disable-next-line es/no-array-isarray -- safe
1144
- isArray$3 = Array.isArray || function isArray(argument) {
1144
+ isArray$6 = Array.isArray || function isArray(argument) {
1145
1145
  return classof(argument) === 'Array';
1146
1146
  };
1147
- return isArray$3;
1147
+ return isArray$6;
1148
1148
  }
1149
1149
 
1150
1150
  var mathTrunc;
@@ -1229,7 +1229,7 @@ function requireDoesNotExceedSafeInteger () {
1229
1229
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1230
1230
 
1231
1231
  doesNotExceedSafeInteger = function (it) {
1232
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
1232
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
1233
1233
  return it;
1234
1234
  };
1235
1235
  return doesNotExceedSafeInteger;
@@ -1252,6 +1252,41 @@ function requireCreateProperty () {
1252
1252
  return createProperty;
1253
1253
  }
1254
1254
 
1255
+ var arraySetLength;
1256
+ var hasRequiredArraySetLength;
1257
+
1258
+ function requireArraySetLength () {
1259
+ if (hasRequiredArraySetLength) return arraySetLength;
1260
+ hasRequiredArraySetLength = 1;
1261
+ var DESCRIPTORS = /*@__PURE__*/ requireDescriptors();
1262
+ var isArray = /*@__PURE__*/ requireIsArray$6();
1263
+
1264
+ var $TypeError = TypeError;
1265
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1266
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1267
+
1268
+ // Safari < 13 does not throw an error in this case
1269
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
1270
+ // makes no sense without proper strict mode support
1271
+ if (this !== undefined) return true;
1272
+ try {
1273
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1274
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
1275
+ } catch (error) {
1276
+ return error instanceof TypeError;
1277
+ }
1278
+ }();
1279
+
1280
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1281
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1282
+ throw new $TypeError('Cannot set read only .length');
1283
+ } return O.length = length;
1284
+ } : function (O, length) {
1285
+ return O.length = length;
1286
+ };
1287
+ return arraySetLength;
1288
+ }
1289
+
1255
1290
  var toStringTagSupport;
1256
1291
  var hasRequiredToStringTagSupport;
1257
1292
 
@@ -1262,7 +1297,7 @@ function requireToStringTagSupport () {
1262
1297
 
1263
1298
  var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1264
1299
  var test = {};
1265
-
1300
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
1266
1301
  test[TO_STRING_TAG] = 'z';
1267
1302
 
1268
1303
  toStringTagSupport = String(test) === '[object z]';
@@ -1396,7 +1431,7 @@ var hasRequiredArraySpeciesConstructor;
1396
1431
  function requireArraySpeciesConstructor () {
1397
1432
  if (hasRequiredArraySpeciesConstructor) return arraySpeciesConstructor;
1398
1433
  hasRequiredArraySpeciesConstructor = 1;
1399
- var isArray = /*@__PURE__*/ requireIsArray$3();
1434
+ var isArray = /*@__PURE__*/ requireIsArray$6();
1400
1435
  var isConstructor = /*@__PURE__*/ requireIsConstructor();
1401
1436
  var isObject = /*@__PURE__*/ requireIsObject();
1402
1437
  var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
@@ -1472,12 +1507,13 @@ function requireEs_array_concat () {
1472
1507
  hasRequiredEs_array_concat = 1;
1473
1508
  var $ = /*@__PURE__*/ require_export();
1474
1509
  var fails = /*@__PURE__*/ requireFails();
1475
- var isArray = /*@__PURE__*/ requireIsArray$3();
1510
+ var isArray = /*@__PURE__*/ requireIsArray$6();
1476
1511
  var isObject = /*@__PURE__*/ requireIsObject();
1477
1512
  var toObject = /*@__PURE__*/ requireToObject();
1478
1513
  var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
1479
1514
  var doesNotExceedSafeInteger = /*@__PURE__*/ requireDoesNotExceedSafeInteger();
1480
1515
  var createProperty = /*@__PURE__*/ requireCreateProperty();
1516
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
1481
1517
  var arraySpeciesCreate = /*@__PURE__*/ requireArraySpeciesCreate();
1482
1518
  var arrayMethodHasSpeciesSupport = /*@__PURE__*/ requireArrayMethodHasSpeciesSupport();
1483
1519
  var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
@@ -1523,7 +1559,7 @@ function requireEs_array_concat () {
1523
1559
  createProperty(A, n++, E);
1524
1560
  }
1525
1561
  }
1526
- A.length = n;
1562
+ setArrayLength(A, n);
1527
1563
  return A;
1528
1564
  }
1529
1565
  });
@@ -2159,13 +2195,11 @@ function requireArrayIteration () {
2159
2195
  if (hasRequiredArrayIteration) return arrayIteration;
2160
2196
  hasRequiredArrayIteration = 1;
2161
2197
  var bind = /*@__PURE__*/ requireFunctionBindContext();
2162
- var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
2163
2198
  var IndexedObject = /*@__PURE__*/ requireIndexedObject();
2164
2199
  var toObject = /*@__PURE__*/ requireToObject();
2165
2200
  var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
2166
2201
  var arraySpeciesCreate = /*@__PURE__*/ requireArraySpeciesCreate();
2167
-
2168
- var push = uncurryThis([].push);
2202
+ var createProperty = /*@__PURE__*/ requireCreateProperty();
2169
2203
 
2170
2204
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2171
2205
  var createMethod = function (TYPE) {
@@ -2176,28 +2210,28 @@ function requireArrayIteration () {
2176
2210
  var IS_FIND_INDEX = TYPE === 6;
2177
2211
  var IS_FILTER_REJECT = TYPE === 7;
2178
2212
  var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
2179
- return function ($this, callbackfn, that, specificCreate) {
2213
+ return function ($this, callbackfn, that) {
2180
2214
  var O = toObject($this);
2181
2215
  var self = IndexedObject(O);
2182
2216
  var length = lengthOfArrayLike(self);
2183
2217
  var boundFunction = bind(callbackfn, that);
2184
2218
  var index = 0;
2185
- var create = specificCreate || arraySpeciesCreate;
2186
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
2219
+ var resIndex = 0;
2220
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
2187
2221
  var value, result;
2188
2222
  for (;length > index; index++) if (NO_HOLES || index in self) {
2189
2223
  value = self[index];
2190
2224
  result = boundFunction(value, index, O);
2191
2225
  if (TYPE) {
2192
- if (IS_MAP) target[index] = result; // map
2226
+ if (IS_MAP) createProperty(target, index, result); // map
2193
2227
  else if (result) switch (TYPE) {
2194
- case 3: return true; // some
2195
- case 5: return value; // find
2196
- case 6: return index; // findIndex
2197
- case 2: push(target, value); // filter
2228
+ case 3: return true; // some
2229
+ case 5: return value; // find
2230
+ case 6: return index; // findIndex
2231
+ case 2: createProperty(target, resIndex++, value); // filter
2198
2232
  } else switch (TYPE) {
2199
- case 4: return false; // every
2200
- case 7: push(target, value); // filterReject
2233
+ case 4: return false; // every
2234
+ case 7: createProperty(target, resIndex++, value); // filterReject
2201
2235
  }
2202
2236
  }
2203
2237
  }
@@ -2310,7 +2344,7 @@ function requireEs_symbol_constructor () {
2310
2344
  nativeDefineProperty(O, P, Attributes);
2311
2345
  if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
2312
2346
  nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
2313
- }
2347
+ } return O;
2314
2348
  };
2315
2349
 
2316
2350
  var setSymbolDescriptor = DESCRIPTORS && fails(function () {
@@ -2336,7 +2370,8 @@ function requireEs_symbol_constructor () {
2336
2370
  var key = toPropertyKey(P);
2337
2371
  anObject(Attributes);
2338
2372
  if (hasOwn(AllSymbols, key)) {
2339
- if (!Attributes.enumerable) {
2373
+ // first definition - default non-enumerable; redefinition - preserve existing state
2374
+ if (!('enumerable' in Attributes) ? !hasOwn(O, key) || (hasOwn(O, HIDDEN) && O[HIDDEN][key]) : !Attributes.enumerable) {
2340
2375
  if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));
2341
2376
  O[HIDDEN][key] = true;
2342
2377
  } else {
@@ -2578,42 +2613,104 @@ function requireEs_symbol_keyFor () {
2578
2613
 
2579
2614
  var es_json_stringify = {};
2580
2615
 
2581
- var getJsonReplacerFunction;
2582
- var hasRequiredGetJsonReplacerFunction;
2616
+ var isRawJson;
2617
+ var hasRequiredIsRawJson;
2618
+
2619
+ function requireIsRawJson () {
2620
+ if (hasRequiredIsRawJson) return isRawJson;
2621
+ hasRequiredIsRawJson = 1;
2622
+ var isObject = /*@__PURE__*/ requireIsObject();
2623
+ var getInternalState = /*@__PURE__*/ requireInternalState().get;
2624
+
2625
+ isRawJson = function isRawJSON(O) {
2626
+ if (!isObject(O)) return false;
2627
+ var state = getInternalState(O);
2628
+ return !!state && state.type === 'RawJSON';
2629
+ };
2630
+ return isRawJson;
2631
+ }
2632
+
2633
+ var parseJsonString;
2634
+ var hasRequiredParseJsonString;
2583
2635
 
2584
- function requireGetJsonReplacerFunction () {
2585
- if (hasRequiredGetJsonReplacerFunction) return getJsonReplacerFunction;
2586
- hasRequiredGetJsonReplacerFunction = 1;
2636
+ function requireParseJsonString () {
2637
+ if (hasRequiredParseJsonString) return parseJsonString;
2638
+ hasRequiredParseJsonString = 1;
2587
2639
  var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
2588
- var isArray = /*@__PURE__*/ requireIsArray$3();
2589
- var isCallable = /*@__PURE__*/ requireIsCallable();
2590
- var classof = /*@__PURE__*/ requireClassofRaw();
2591
- var toString = /*@__PURE__*/ requireToString();
2640
+ var hasOwn = /*@__PURE__*/ requireHasOwnProperty();
2592
2641
 
2593
- var push = uncurryThis([].push);
2642
+ var $SyntaxError = SyntaxError;
2643
+ var $parseInt = parseInt;
2644
+ var fromCharCode = String.fromCharCode;
2645
+ var at = uncurryThis(''.charAt);
2646
+ var slice = uncurryThis(''.slice);
2647
+ var exec = uncurryThis(/./.exec);
2594
2648
 
2595
- getJsonReplacerFunction = function (replacer) {
2596
- if (isCallable(replacer)) return replacer;
2597
- if (!isArray(replacer)) return;
2598
- var rawLength = replacer.length;
2599
- var keys = [];
2600
- for (var i = 0; i < rawLength; i++) {
2601
- var element = replacer[i];
2602
- if (typeof element == 'string') push(keys, element);
2603
- else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
2604
- }
2605
- var keysLength = keys.length;
2606
- var root = true;
2607
- return function (key, value) {
2608
- if (root) {
2609
- root = false;
2610
- return value;
2649
+ var codePoints = {
2650
+ '\\"': '"',
2651
+ '\\\\': '\\',
2652
+ '\\/': '/',
2653
+ '\\b': '\b',
2654
+ '\\f': '\f',
2655
+ '\\n': '\n',
2656
+ '\\r': '\r',
2657
+ '\\t': '\t'
2658
+ };
2659
+
2660
+ var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
2661
+ // eslint-disable-next-line regexp/no-control-character -- safe
2662
+ var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
2663
+
2664
+ parseJsonString = function (source, i) {
2665
+ var unterminated = true;
2666
+ var value = '';
2667
+ while (i < source.length) {
2668
+ var chr = at(source, i);
2669
+ if (chr === '\\') {
2670
+ var twoChars = slice(source, i, i + 2);
2671
+ if (hasOwn(codePoints, twoChars)) {
2672
+ value += codePoints[twoChars];
2673
+ i += 2;
2674
+ } else if (twoChars === '\\u') {
2675
+ i += 2;
2676
+ var fourHexDigits = slice(source, i, i + 4);
2677
+ if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
2678
+ value += fromCharCode($parseInt(fourHexDigits, 16));
2679
+ i += 4;
2680
+ } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
2681
+ } else if (chr === '"') {
2682
+ unterminated = false;
2683
+ i++;
2684
+ break;
2685
+ } else {
2686
+ if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
2687
+ value += chr;
2688
+ i++;
2611
2689
  }
2612
- if (isArray(this)) return value;
2613
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
2614
- };
2690
+ }
2691
+ if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
2692
+ return { value: value, end: i };
2615
2693
  };
2616
- return getJsonReplacerFunction;
2694
+ return parseJsonString;
2695
+ }
2696
+
2697
+ var nativeRawJson;
2698
+ var hasRequiredNativeRawJson;
2699
+
2700
+ function requireNativeRawJson () {
2701
+ if (hasRequiredNativeRawJson) return nativeRawJson;
2702
+ hasRequiredNativeRawJson = 1;
2703
+ /* eslint-disable es/no-json -- safe */
2704
+ var fails = /*@__PURE__*/ requireFails();
2705
+
2706
+ nativeRawJson = !fails(function () {
2707
+ var unsafeInt = '9007199254740993';
2708
+ // eslint-disable-next-line es/no-json-rawjson -- feature detection
2709
+ var raw = JSON.rawJSON(unsafeInt);
2710
+ // eslint-disable-next-line es/no-json-israwjson -- feature detection
2711
+ return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
2712
+ });
2713
+ return nativeRawJson;
2617
2714
  }
2618
2715
 
2619
2716
  var hasRequiredEs_json_stringify;
@@ -2627,11 +2724,17 @@ function requireEs_json_stringify () {
2627
2724
  var call = /*@__PURE__*/ requireFunctionCall();
2628
2725
  var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
2629
2726
  var fails = /*@__PURE__*/ requireFails();
2727
+ var isArray = /*@__PURE__*/ requireIsArray$6();
2630
2728
  var isCallable = /*@__PURE__*/ requireIsCallable();
2729
+ var isRawJSON = /*@__PURE__*/ requireIsRawJson();
2631
2730
  var isSymbol = /*@__PURE__*/ requireIsSymbol();
2731
+ var classof = /*@__PURE__*/ requireClassofRaw();
2732
+ var toString = /*@__PURE__*/ requireToString();
2632
2733
  var arraySlice = /*@__PURE__*/ requireArraySlice();
2633
- var getReplacerFunction = /*@__PURE__*/ requireGetJsonReplacerFunction();
2734
+ var parseJSONString = /*@__PURE__*/ requireParseJsonString();
2735
+ var uid = /*@__PURE__*/ requireUid();
2634
2736
  var NATIVE_SYMBOL = /*@__PURE__*/ requireSymbolConstructorDetection();
2737
+ var NATIVE_RAW_JSON = /*@__PURE__*/ requireNativeRawJson();
2635
2738
 
2636
2739
  var $String = String;
2637
2740
  var $stringify = getBuiltIn('JSON', 'stringify');
@@ -2639,11 +2742,16 @@ function requireEs_json_stringify () {
2639
2742
  var charAt = uncurryThis(''.charAt);
2640
2743
  var charCodeAt = uncurryThis(''.charCodeAt);
2641
2744
  var replace = uncurryThis(''.replace);
2745
+ var slice = uncurryThis(''.slice);
2746
+ var push = uncurryThis([].push);
2642
2747
  var numberToString = uncurryThis(1.1.toString);
2643
2748
 
2644
- var tester = /[\uD800-\uDFFF]/g;
2645
- var low = /^[\uD800-\uDBFF]$/;
2646
- var hi = /^[\uDC00-\uDFFF]$/;
2749
+ var surrogates = /[\uD800-\uDFFF]/g;
2750
+ var leadingSurrogates = /^[\uD800-\uDBFF]$/;
2751
+ var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
2752
+
2753
+ var MARK = uid();
2754
+ var MARK_LENGTH = MARK.length;
2647
2755
 
2648
2756
  var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
2649
2757
  var symbol = getBuiltIn('Symbol')('stringify detection');
@@ -2661,7 +2769,7 @@ function requireEs_json_stringify () {
2661
2769
  || $stringify('\uDEAD') !== '"\\udead"';
2662
2770
  });
2663
2771
 
2664
- var stringifyWithSymbolsFix = function (it, replacer) {
2772
+ var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
2665
2773
  var args = arraySlice(arguments);
2666
2774
  var $replacer = getReplacerFunction(replacer);
2667
2775
  if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
@@ -2671,28 +2779,79 @@ function requireEs_json_stringify () {
2671
2779
  if (!isSymbol(value)) return value;
2672
2780
  };
2673
2781
  return apply($stringify, null, args);
2674
- };
2782
+ } : $stringify;
2675
2783
 
2676
- var fixIllFormed = function (match, offset, string) {
2784
+ var fixIllFormedJSON = function (match, offset, string) {
2677
2785
  var prev = charAt(string, offset - 1);
2678
2786
  var next = charAt(string, offset + 1);
2679
- if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
2787
+ if (
2788
+ (exec(leadingSurrogates, match) && !exec(trailingSurrogates, next)) ||
2789
+ (exec(trailingSurrogates, match) && !exec(leadingSurrogates, prev))
2790
+ ) {
2680
2791
  return '\\u' + numberToString(charCodeAt(match, 0), 16);
2681
2792
  } return match;
2682
2793
  };
2683
2794
 
2684
- if ($stringify) {
2685
- // `JSON.stringify` method
2686
- // https://tc39.es/ecma262/#sec-json.stringify
2687
- $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
2688
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2689
- stringify: function stringify(it, replacer, space) {
2690
- var args = arraySlice(arguments);
2691
- var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
2692
- return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
2795
+ var getReplacerFunction = function (replacer) {
2796
+ if (isCallable(replacer)) return replacer;
2797
+ if (!isArray(replacer)) return;
2798
+ var rawLength = replacer.length;
2799
+ var keys = [];
2800
+ for (var i = 0; i < rawLength; i++) {
2801
+ var element = replacer[i];
2802
+ if (typeof element == 'string') push(keys, element);
2803
+ else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
2804
+ }
2805
+ var keysLength = keys.length;
2806
+ var root = true;
2807
+ return function (key, value) {
2808
+ if (root) {
2809
+ root = false;
2810
+ return value;
2811
+ }
2812
+ if (isArray(this)) return value;
2813
+ for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
2814
+ };
2815
+ };
2816
+
2817
+ // `JSON.stringify` method
2818
+ // https://tc39.es/ecma262/#sec-json.stringify
2819
+ // https://github.com/tc39/proposal-json-parse-with-source
2820
+ if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
2821
+ stringify: function stringify(text, replacer, space) {
2822
+ var replacerFunction = getReplacerFunction(replacer);
2823
+ var rawStrings = [];
2824
+
2825
+ var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
2826
+ // some old implementations (like WebKit) could pass numbers as keys
2827
+ var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
2828
+ return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
2829
+ }, space);
2830
+
2831
+ if (typeof json != 'string') return json;
2832
+
2833
+ if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
2834
+
2835
+ if (NATIVE_RAW_JSON) return json;
2836
+
2837
+ var result = '';
2838
+ var length = json.length;
2839
+
2840
+ for (var i = 0; i < length; i++) {
2841
+ var chr = charAt(json, i);
2842
+ if (chr === '"') {
2843
+ var end = parseJSONString(json, ++i).end - 1;
2844
+ var string = slice(json, i, end);
2845
+ result += slice(string, 0, MARK_LENGTH) === MARK
2846
+ ? rawStrings[slice(string, MARK_LENGTH)]
2847
+ : '"' + string + '"';
2848
+ i = end;
2849
+ } else result += chr;
2693
2850
  }
2694
- });
2695
- }
2851
+
2852
+ return result;
2853
+ }
2854
+ });
2696
2855
  return es_json_stringify;
2697
2856
  }
2698
2857
 
@@ -2990,12 +3149,12 @@ function requireEs_json_toStringTag () {
2990
3149
  return es_json_toStringTag;
2991
3150
  }
2992
3151
 
2993
- var symbol$2;
2994
- var hasRequiredSymbol$2;
3152
+ var symbol$5;
3153
+ var hasRequiredSymbol$5;
2995
3154
 
2996
- function requireSymbol$2 () {
2997
- if (hasRequiredSymbol$2) return symbol$2;
2998
- hasRequiredSymbol$2 = 1;
3155
+ function requireSymbol$5 () {
3156
+ if (hasRequiredSymbol$5) return symbol$5;
3157
+ hasRequiredSymbol$5 = 1;
2999
3158
  requireEs_array_concat();
3000
3159
  requireEs_symbol();
3001
3160
  requireEs_symbol_asyncDispose();
@@ -3016,8 +3175,8 @@ function requireSymbol$2 () {
3016
3175
  requireEs_json_toStringTag();
3017
3176
  var path = /*@__PURE__*/ requirePath();
3018
3177
 
3019
- symbol$2 = path.Symbol;
3020
- return symbol$2;
3178
+ symbol$5 = path.Symbol;
3179
+ return symbol$5;
3021
3180
  }
3022
3181
 
3023
3182
  var web_domCollections_iterator = {};
@@ -3057,7 +3216,7 @@ function requireFunctionName () {
3057
3216
 
3058
3217
  var EXISTS = hasOwn(FunctionPrototype, 'name');
3059
3218
  // additional protection from minified / mangled / dropped function names
3060
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
3219
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
3061
3220
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
3062
3221
 
3063
3222
  functionName = {
@@ -3539,31 +3698,31 @@ function requireWeb_domCollections_iterator () {
3539
3698
  return web_domCollections_iterator;
3540
3699
  }
3541
3700
 
3542
- var symbol$1;
3543
- var hasRequiredSymbol$1;
3701
+ var symbol$4;
3702
+ var hasRequiredSymbol$4;
3544
3703
 
3545
- function requireSymbol$1 () {
3546
- if (hasRequiredSymbol$1) return symbol$1;
3547
- hasRequiredSymbol$1 = 1;
3548
- var parent = /*@__PURE__*/ requireSymbol$2();
3704
+ function requireSymbol$4 () {
3705
+ if (hasRequiredSymbol$4) return symbol$4;
3706
+ hasRequiredSymbol$4 = 1;
3707
+ var parent = /*@__PURE__*/ requireSymbol$5();
3549
3708
  requireWeb_domCollections_iterator();
3550
3709
 
3551
- symbol$1 = parent;
3552
- return symbol$1;
3710
+ symbol$4 = parent;
3711
+ return symbol$4;
3553
3712
  }
3554
3713
 
3555
- var symbol;
3556
- var hasRequiredSymbol;
3714
+ var symbol$3;
3715
+ var hasRequiredSymbol$3;
3557
3716
 
3558
- function requireSymbol () {
3559
- if (hasRequiredSymbol) return symbol;
3560
- hasRequiredSymbol = 1;
3561
- symbol = /*@__PURE__*/ requireSymbol$1();
3562
- return symbol;
3717
+ function requireSymbol$3 () {
3718
+ if (hasRequiredSymbol$3) return symbol$3;
3719
+ hasRequiredSymbol$3 = 1;
3720
+ symbol$3 = /*@__PURE__*/ requireSymbol$4();
3721
+ return symbol$3;
3563
3722
  }
3564
3723
 
3565
- var symbolExports = requireSymbol();
3566
- var _Symbol = /*@__PURE__*/getDefaultExportFromCjs(symbolExports);
3724
+ var symbolExports$1 = requireSymbol$3();
3725
+ var _Symbol$1 = /*@__PURE__*/getDefaultExportFromCjs(symbolExports$1);
3567
3726
 
3568
3727
  var es_array_slice = {};
3569
3728
 
@@ -3573,13 +3732,14 @@ function requireEs_array_slice () {
3573
3732
  if (hasRequiredEs_array_slice) return es_array_slice;
3574
3733
  hasRequiredEs_array_slice = 1;
3575
3734
  var $ = /*@__PURE__*/ require_export();
3576
- var isArray = /*@__PURE__*/ requireIsArray$3();
3735
+ var isArray = /*@__PURE__*/ requireIsArray$6();
3577
3736
  var isConstructor = /*@__PURE__*/ requireIsConstructor();
3578
3737
  var isObject = /*@__PURE__*/ requireIsObject();
3579
3738
  var toAbsoluteIndex = /*@__PURE__*/ requireToAbsoluteIndex();
3580
3739
  var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
3581
3740
  var toIndexedObject = /*@__PURE__*/ requireToIndexedObject();
3582
3741
  var createProperty = /*@__PURE__*/ requireCreateProperty();
3742
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
3583
3743
  var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
3584
3744
  var arrayMethodHasSpeciesSupport = /*@__PURE__*/ requireArrayMethodHasSpeciesSupport();
3585
3745
  var nativeSlice = /*@__PURE__*/ requireArraySlice();
@@ -3616,7 +3776,7 @@ function requireEs_array_slice () {
3616
3776
  }
3617
3777
  result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
3618
3778
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
3619
- result.length = n;
3779
+ setArrayLength(result, n);
3620
3780
  return result;
3621
3781
  }
3622
3782
  });
@@ -3643,61 +3803,61 @@ function requireGetBuiltInPrototypeMethod () {
3643
3803
  return getBuiltInPrototypeMethod;
3644
3804
  }
3645
3805
 
3646
- var slice$3;
3647
- var hasRequiredSlice$3;
3806
+ var slice$6;
3807
+ var hasRequiredSlice$6;
3648
3808
 
3649
- function requireSlice$3 () {
3650
- if (hasRequiredSlice$3) return slice$3;
3651
- hasRequiredSlice$3 = 1;
3809
+ function requireSlice$6 () {
3810
+ if (hasRequiredSlice$6) return slice$6;
3811
+ hasRequiredSlice$6 = 1;
3652
3812
  requireEs_array_slice();
3653
3813
  var getBuiltInPrototypeMethod = /*@__PURE__*/ requireGetBuiltInPrototypeMethod();
3654
3814
 
3655
- slice$3 = getBuiltInPrototypeMethod('Array', 'slice');
3656
- return slice$3;
3815
+ slice$6 = getBuiltInPrototypeMethod('Array', 'slice');
3816
+ return slice$6;
3657
3817
  }
3658
3818
 
3659
- var slice$2;
3660
- var hasRequiredSlice$2;
3819
+ var slice$5;
3820
+ var hasRequiredSlice$5;
3661
3821
 
3662
- function requireSlice$2 () {
3663
- if (hasRequiredSlice$2) return slice$2;
3664
- hasRequiredSlice$2 = 1;
3822
+ function requireSlice$5 () {
3823
+ if (hasRequiredSlice$5) return slice$5;
3824
+ hasRequiredSlice$5 = 1;
3665
3825
  var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
3666
- var method = /*@__PURE__*/ requireSlice$3();
3826
+ var method = /*@__PURE__*/ requireSlice$6();
3667
3827
 
3668
3828
  var ArrayPrototype = Array.prototype;
3669
3829
 
3670
- slice$2 = function (it) {
3830
+ slice$5 = function (it) {
3671
3831
  var own = it.slice;
3672
3832
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;
3673
3833
  };
3674
- return slice$2;
3834
+ return slice$5;
3675
3835
  }
3676
3836
 
3677
- var slice$1;
3678
- var hasRequiredSlice$1;
3837
+ var slice$4;
3838
+ var hasRequiredSlice$4;
3679
3839
 
3680
- function requireSlice$1 () {
3681
- if (hasRequiredSlice$1) return slice$1;
3682
- hasRequiredSlice$1 = 1;
3683
- var parent = /*@__PURE__*/ requireSlice$2();
3840
+ function requireSlice$4 () {
3841
+ if (hasRequiredSlice$4) return slice$4;
3842
+ hasRequiredSlice$4 = 1;
3843
+ var parent = /*@__PURE__*/ requireSlice$5();
3684
3844
 
3685
- slice$1 = parent;
3686
- return slice$1;
3845
+ slice$4 = parent;
3846
+ return slice$4;
3687
3847
  }
3688
3848
 
3689
- var slice;
3690
- var hasRequiredSlice;
3849
+ var slice$3;
3850
+ var hasRequiredSlice$3;
3691
3851
 
3692
- function requireSlice () {
3693
- if (hasRequiredSlice) return slice;
3694
- hasRequiredSlice = 1;
3695
- slice = /*@__PURE__*/ requireSlice$1();
3696
- return slice;
3852
+ function requireSlice$3 () {
3853
+ if (hasRequiredSlice$3) return slice$3;
3854
+ hasRequiredSlice$3 = 1;
3855
+ slice$3 = /*@__PURE__*/ requireSlice$4();
3856
+ return slice$3;
3697
3857
  }
3698
3858
 
3699
- var sliceExports = requireSlice();
3700
- var _sliceInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(sliceExports);
3859
+ var sliceExports$1 = requireSlice$3();
3860
+ var _sliceInstanceProperty$1 = /*@__PURE__*/getDefaultExportFromCjs(sliceExports$1);
3701
3861
 
3702
3862
  var es_reflect_ownKeys = {};
3703
3863
 
@@ -3786,7 +3946,7 @@ function requireEs_array_isArray () {
3786
3946
  if (hasRequiredEs_array_isArray) return es_array_isArray;
3787
3947
  hasRequiredEs_array_isArray = 1;
3788
3948
  var $ = /*@__PURE__*/ require_export();
3789
- var isArray = /*@__PURE__*/ requireIsArray$3();
3949
+ var isArray = /*@__PURE__*/ requireIsArray$6();
3790
3950
 
3791
3951
  // `Array.isArray` method
3792
3952
  // https://tc39.es/ecma262/#sec-array.isarray
@@ -3796,43 +3956,43 @@ function requireEs_array_isArray () {
3796
3956
  return es_array_isArray;
3797
3957
  }
3798
3958
 
3799
- var isArray$2;
3800
- var hasRequiredIsArray$2;
3959
+ var isArray$5;
3960
+ var hasRequiredIsArray$5;
3801
3961
 
3802
- function requireIsArray$2 () {
3803
- if (hasRequiredIsArray$2) return isArray$2;
3804
- hasRequiredIsArray$2 = 1;
3962
+ function requireIsArray$5 () {
3963
+ if (hasRequiredIsArray$5) return isArray$5;
3964
+ hasRequiredIsArray$5 = 1;
3805
3965
  requireEs_array_isArray();
3806
3966
  var path = /*@__PURE__*/ requirePath();
3807
3967
 
3808
- isArray$2 = path.Array.isArray;
3809
- return isArray$2;
3968
+ isArray$5 = path.Array.isArray;
3969
+ return isArray$5;
3810
3970
  }
3811
3971
 
3812
- var isArray$1;
3813
- var hasRequiredIsArray$1;
3972
+ var isArray$4;
3973
+ var hasRequiredIsArray$4;
3814
3974
 
3815
- function requireIsArray$1 () {
3816
- if (hasRequiredIsArray$1) return isArray$1;
3817
- hasRequiredIsArray$1 = 1;
3818
- var parent = /*@__PURE__*/ requireIsArray$2();
3975
+ function requireIsArray$4 () {
3976
+ if (hasRequiredIsArray$4) return isArray$4;
3977
+ hasRequiredIsArray$4 = 1;
3978
+ var parent = /*@__PURE__*/ requireIsArray$5();
3819
3979
 
3820
- isArray$1 = parent;
3821
- return isArray$1;
3980
+ isArray$4 = parent;
3981
+ return isArray$4;
3822
3982
  }
3823
3983
 
3824
- var isArray;
3825
- var hasRequiredIsArray;
3984
+ var isArray$3;
3985
+ var hasRequiredIsArray$3;
3826
3986
 
3827
- function requireIsArray () {
3828
- if (hasRequiredIsArray) return isArray;
3829
- hasRequiredIsArray = 1;
3830
- isArray = /*@__PURE__*/ requireIsArray$1();
3831
- return isArray;
3987
+ function requireIsArray$3 () {
3988
+ if (hasRequiredIsArray$3) return isArray$3;
3989
+ hasRequiredIsArray$3 = 1;
3990
+ isArray$3 = /*@__PURE__*/ requireIsArray$4();
3991
+ return isArray$3;
3832
3992
  }
3833
3993
 
3834
- var isArrayExports = requireIsArray();
3835
- var _Array$isArray = /*@__PURE__*/getDefaultExportFromCjs(isArrayExports);
3994
+ var isArrayExports$1 = requireIsArray$3();
3995
+ var _Array$isArray$1 = /*@__PURE__*/getDefaultExportFromCjs(isArrayExports$1);
3836
3996
 
3837
3997
  var es_array_map = {};
3838
3998
 
@@ -3880,190 +4040,1260 @@ function requireMap$2 () {
3880
4040
  var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
3881
4041
  var method = /*@__PURE__*/ requireMap$3();
3882
4042
 
3883
- var ArrayPrototype = Array.prototype;
4043
+ var ArrayPrototype = Array.prototype;
4044
+
4045
+ map$2 = function (it) {
4046
+ var own = it.map;
4047
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;
4048
+ };
4049
+ return map$2;
4050
+ }
4051
+
4052
+ var map$1;
4053
+ var hasRequiredMap$1;
4054
+
4055
+ function requireMap$1 () {
4056
+ if (hasRequiredMap$1) return map$1;
4057
+ hasRequiredMap$1 = 1;
4058
+ var parent = /*@__PURE__*/ requireMap$2();
4059
+
4060
+ map$1 = parent;
4061
+ return map$1;
4062
+ }
4063
+
4064
+ var map;
4065
+ var hasRequiredMap;
4066
+
4067
+ function requireMap () {
4068
+ if (hasRequiredMap) return map;
4069
+ hasRequiredMap = 1;
4070
+ map = /*@__PURE__*/ requireMap$1();
4071
+ return map;
4072
+ }
4073
+
4074
+ var mapExports = requireMap();
4075
+ var _mapInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(mapExports);
4076
+
4077
+ var es_object_keys = {};
4078
+
4079
+ var hasRequiredEs_object_keys;
4080
+
4081
+ function requireEs_object_keys () {
4082
+ if (hasRequiredEs_object_keys) return es_object_keys;
4083
+ hasRequiredEs_object_keys = 1;
4084
+ var $ = /*@__PURE__*/ require_export();
4085
+ var toObject = /*@__PURE__*/ requireToObject();
4086
+ var nativeKeys = /*@__PURE__*/ requireObjectKeys();
4087
+ var fails = /*@__PURE__*/ requireFails();
4088
+
4089
+ var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
4090
+
4091
+ // `Object.keys` method
4092
+ // https://tc39.es/ecma262/#sec-object.keys
4093
+ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
4094
+ keys: function keys(it) {
4095
+ return nativeKeys(toObject(it));
4096
+ }
4097
+ });
4098
+ return es_object_keys;
4099
+ }
4100
+
4101
+ var keys$2;
4102
+ var hasRequiredKeys$2;
4103
+
4104
+ function requireKeys$2 () {
4105
+ if (hasRequiredKeys$2) return keys$2;
4106
+ hasRequiredKeys$2 = 1;
4107
+ requireEs_object_keys();
4108
+ var path = /*@__PURE__*/ requirePath();
4109
+
4110
+ keys$2 = path.Object.keys;
4111
+ return keys$2;
4112
+ }
4113
+
4114
+ var keys$1;
4115
+ var hasRequiredKeys$1;
4116
+
4117
+ function requireKeys$1 () {
4118
+ if (hasRequiredKeys$1) return keys$1;
4119
+ hasRequiredKeys$1 = 1;
4120
+ var parent = /*@__PURE__*/ requireKeys$2();
4121
+
4122
+ keys$1 = parent;
4123
+ return keys$1;
4124
+ }
4125
+
4126
+ var keys;
4127
+ var hasRequiredKeys;
4128
+
4129
+ function requireKeys () {
4130
+ if (hasRequiredKeys) return keys;
4131
+ hasRequiredKeys = 1;
4132
+ keys = /*@__PURE__*/ requireKeys$1();
4133
+ return keys;
4134
+ }
4135
+
4136
+ var keysExports = requireKeys();
4137
+ var _Object$keys = /*@__PURE__*/getDefaultExportFromCjs(keysExports);
4138
+
4139
+ /**
4140
+ * Use this symbol to delete properies in deepObjectAssign.
4141
+ */
4142
+ const DELETE = _Symbol$1("DELETE");
4143
+ /**
4144
+ * Pure version of deepObjectAssign, it doesn't modify any of it's arguments.
4145
+ * @param base - The base object that fullfils the whole interface T.
4146
+ * @param updates - Updates that may change or delete props.
4147
+ * @returns A brand new instance with all the supplied objects deeply merged.
4148
+ */
4149
+ function pureDeepObjectAssign(base) {
4150
+ for (var _len = arguments.length, updates = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4151
+ updates[_key - 1] = arguments[_key];
4152
+ }
4153
+ return deepObjectAssign({}, base, ...updates);
4154
+ }
4155
+ /**
4156
+ * Deep version of object assign with additional deleting by the DELETE symbol.
4157
+ * @param values - Objects to be deeply merged.
4158
+ * @returns The first object from values.
4159
+ */
4160
+ function deepObjectAssign() {
4161
+ const merged = deepObjectAssignNonentry(...arguments);
4162
+ stripDelete(merged);
4163
+ return merged;
4164
+ }
4165
+ /**
4166
+ * Deep version of object assign with additional deleting by the DELETE symbol.
4167
+ * @remarks
4168
+ * This doesn't strip the DELETE symbols so they may end up in the final object.
4169
+ * @param values - Objects to be deeply merged.
4170
+ * @returns The first object from values.
4171
+ */
4172
+ function deepObjectAssignNonentry() {
4173
+ for (var _len2 = arguments.length, values = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
4174
+ values[_key2] = arguments[_key2];
4175
+ }
4176
+ if (values.length < 2) {
4177
+ return values[0];
4178
+ } else if (values.length > 2) {
4179
+ return deepObjectAssignNonentry(deepObjectAssign(values[0], values[1]), ..._sliceInstanceProperty$1(values).call(values, 2));
4180
+ }
4181
+ const a = values[0];
4182
+ const b = values[1];
4183
+ if (a instanceof Date && b instanceof Date) {
4184
+ a.setTime(b.getTime());
4185
+ return a;
4186
+ }
4187
+ for (const prop of _Reflect$ownKeys(b)) {
4188
+ if (!Object.prototype.propertyIsEnumerable.call(b, prop)) ; else if (b[prop] === DELETE) {
4189
+ delete a[prop];
4190
+ } else if (a[prop] !== null && b[prop] !== null && typeof a[prop] === "object" && typeof b[prop] === "object" && !_Array$isArray$1(a[prop]) && !_Array$isArray$1(b[prop])) {
4191
+ a[prop] = deepObjectAssignNonentry(a[prop], b[prop]);
4192
+ } else {
4193
+ a[prop] = clone(b[prop]);
4194
+ }
4195
+ }
4196
+ return a;
4197
+ }
4198
+ /**
4199
+ * Deep clone given object or array. In case of primitive simply return.
4200
+ * @param a - Anything.
4201
+ * @returns Deep cloned object/array or unchanged a.
4202
+ */
4203
+ function clone(a) {
4204
+ if (_Array$isArray$1(a)) {
4205
+ return _mapInstanceProperty(a).call(a, value => clone(value));
4206
+ } else if (typeof a === "object" && a !== null) {
4207
+ if (a instanceof Date) {
4208
+ return new Date(a.getTime());
4209
+ }
4210
+ return deepObjectAssignNonentry({}, a);
4211
+ } else {
4212
+ return a;
4213
+ }
4214
+ }
4215
+ /**
4216
+ * Strip DELETE from given object.
4217
+ * @param a - Object which may contain DELETE but won't after this is executed.
4218
+ */
4219
+ function stripDelete(a) {
4220
+ for (const prop of _Object$keys(a)) {
4221
+ if (a[prop] === DELETE) {
4222
+ delete a[prop];
4223
+ } else if (typeof a[prop] === "object" && a[prop] !== null) {
4224
+ stripDelete(a[prop]);
4225
+ }
4226
+ }
4227
+ }
4228
+
4229
+ var isArray$2;
4230
+ var hasRequiredIsArray$2;
4231
+
4232
+ function requireIsArray$2 () {
4233
+ if (hasRequiredIsArray$2) return isArray$2;
4234
+ hasRequiredIsArray$2 = 1;
4235
+ var parent = /*@__PURE__*/ requireIsArray$4();
4236
+
4237
+ isArray$2 = parent;
4238
+ return isArray$2;
4239
+ }
4240
+
4241
+ var isArray$1;
4242
+ var hasRequiredIsArray$1;
4243
+
4244
+ function requireIsArray$1 () {
4245
+ if (hasRequiredIsArray$1) return isArray$1;
4246
+ hasRequiredIsArray$1 = 1;
4247
+ var parent = /*@__PURE__*/ requireIsArray$2();
4248
+
4249
+ isArray$1 = parent;
4250
+ return isArray$1;
4251
+ }
4252
+
4253
+ var isArray;
4254
+ var hasRequiredIsArray;
4255
+
4256
+ function requireIsArray () {
4257
+ if (hasRequiredIsArray) return isArray;
4258
+ hasRequiredIsArray = 1;
4259
+ isArray = /*@__PURE__*/ requireIsArray$1();
4260
+ return isArray;
4261
+ }
4262
+
4263
+ var isArrayExports = /*@__PURE__*/ requireIsArray();
4264
+ var _Array$isArray = /*@__PURE__*/getDefaultExportFromCjs(isArrayExports);
4265
+
4266
+ function _arrayWithHoles(r) {
4267
+ if (_Array$isArray(r)) return r;
4268
+ }
4269
+
4270
+ var esnext_function_metadata = {};
4271
+
4272
+ var hasRequiredEsnext_function_metadata;
4273
+
4274
+ function requireEsnext_function_metadata () {
4275
+ if (hasRequiredEsnext_function_metadata) return esnext_function_metadata;
4276
+ hasRequiredEsnext_function_metadata = 1;
4277
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
4278
+ var defineProperty = /*@__PURE__*/ requireObjectDefineProperty().f;
4279
+
4280
+ var METADATA = wellKnownSymbol('metadata');
4281
+ var FunctionPrototype = Function.prototype;
4282
+
4283
+ // Function.prototype[@@metadata]
4284
+ // https://github.com/tc39/proposal-decorator-metadata
4285
+ if (FunctionPrototype[METADATA] === undefined) {
4286
+ defineProperty(FunctionPrototype, METADATA, {
4287
+ value: null
4288
+ });
4289
+ }
4290
+ return esnext_function_metadata;
4291
+ }
4292
+
4293
+ var esnext_symbol_asyncDispose = {};
4294
+
4295
+ var hasRequiredEsnext_symbol_asyncDispose;
4296
+
4297
+ function requireEsnext_symbol_asyncDispose () {
4298
+ if (hasRequiredEsnext_symbol_asyncDispose) return esnext_symbol_asyncDispose;
4299
+ hasRequiredEsnext_symbol_asyncDispose = 1;
4300
+ // TODO: Remove from `core-js@4`
4301
+ requireEs_symbol_asyncDispose();
4302
+ return esnext_symbol_asyncDispose;
4303
+ }
4304
+
4305
+ var esnext_symbol_dispose = {};
4306
+
4307
+ var hasRequiredEsnext_symbol_dispose;
4308
+
4309
+ function requireEsnext_symbol_dispose () {
4310
+ if (hasRequiredEsnext_symbol_dispose) return esnext_symbol_dispose;
4311
+ hasRequiredEsnext_symbol_dispose = 1;
4312
+ // TODO: Remove from `core-js@4`
4313
+ requireEs_symbol_dispose();
4314
+ return esnext_symbol_dispose;
4315
+ }
4316
+
4317
+ var esnext_symbol_metadata = {};
4318
+
4319
+ var hasRequiredEsnext_symbol_metadata;
4320
+
4321
+ function requireEsnext_symbol_metadata () {
4322
+ if (hasRequiredEsnext_symbol_metadata) return esnext_symbol_metadata;
4323
+ hasRequiredEsnext_symbol_metadata = 1;
4324
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4325
+
4326
+ // `Symbol.metadata` well-known symbol
4327
+ // https://github.com/tc39/proposal-decorators
4328
+ defineWellKnownSymbol('metadata');
4329
+ return esnext_symbol_metadata;
4330
+ }
4331
+
4332
+ var symbol$2;
4333
+ var hasRequiredSymbol$2;
4334
+
4335
+ function requireSymbol$2 () {
4336
+ if (hasRequiredSymbol$2) return symbol$2;
4337
+ hasRequiredSymbol$2 = 1;
4338
+ var parent = /*@__PURE__*/ requireSymbol$4();
4339
+
4340
+ requireEsnext_function_metadata();
4341
+ requireEsnext_symbol_asyncDispose();
4342
+ requireEsnext_symbol_dispose();
4343
+ requireEsnext_symbol_metadata();
4344
+
4345
+ symbol$2 = parent;
4346
+ return symbol$2;
4347
+ }
4348
+
4349
+ var esnext_symbol_isRegisteredSymbol = {};
4350
+
4351
+ var symbolIsRegistered;
4352
+ var hasRequiredSymbolIsRegistered;
4353
+
4354
+ function requireSymbolIsRegistered () {
4355
+ if (hasRequiredSymbolIsRegistered) return symbolIsRegistered;
4356
+ hasRequiredSymbolIsRegistered = 1;
4357
+ var getBuiltIn = /*@__PURE__*/ requireGetBuiltIn();
4358
+ var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4359
+
4360
+ var Symbol = getBuiltIn('Symbol');
4361
+ var keyFor = Symbol.keyFor;
4362
+ var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
4363
+
4364
+ // `Symbol.isRegisteredSymbol` method
4365
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
4366
+ symbolIsRegistered = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) {
4367
+ try {
4368
+ return keyFor(thisSymbolValue(value)) !== undefined;
4369
+ } catch (error) {
4370
+ return false;
4371
+ }
4372
+ };
4373
+ return symbolIsRegistered;
4374
+ }
4375
+
4376
+ var hasRequiredEsnext_symbol_isRegisteredSymbol;
4377
+
4378
+ function requireEsnext_symbol_isRegisteredSymbol () {
4379
+ if (hasRequiredEsnext_symbol_isRegisteredSymbol) return esnext_symbol_isRegisteredSymbol;
4380
+ hasRequiredEsnext_symbol_isRegisteredSymbol = 1;
4381
+ var $ = /*@__PURE__*/ require_export();
4382
+ var isRegisteredSymbol = /*@__PURE__*/ requireSymbolIsRegistered();
4383
+
4384
+ // `Symbol.isRegisteredSymbol` method
4385
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
4386
+ $({ target: 'Symbol', stat: true }, {
4387
+ isRegisteredSymbol: isRegisteredSymbol
4388
+ });
4389
+ return esnext_symbol_isRegisteredSymbol;
4390
+ }
4391
+
4392
+ var esnext_symbol_isWellKnownSymbol = {};
4393
+
4394
+ var symbolIsWellKnown;
4395
+ var hasRequiredSymbolIsWellKnown;
4396
+
4397
+ function requireSymbolIsWellKnown () {
4398
+ if (hasRequiredSymbolIsWellKnown) return symbolIsWellKnown;
4399
+ hasRequiredSymbolIsWellKnown = 1;
4400
+ var shared = /*@__PURE__*/ requireShared();
4401
+ var getBuiltIn = /*@__PURE__*/ requireGetBuiltIn();
4402
+ var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4403
+ var isSymbol = /*@__PURE__*/ requireIsSymbol();
4404
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
4405
+
4406
+ var Symbol = getBuiltIn('Symbol');
4407
+ var $isWellKnownSymbol = Symbol.isWellKnownSymbol;
4408
+ var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames');
4409
+ var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
4410
+ var WellKnownSymbolsStore = shared('wks');
4411
+
4412
+ for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
4413
+ // some old engines throws on access to some keys like `arguments` or `caller`
4414
+ try {
4415
+ var symbolKey = symbolKeys[i];
4416
+ if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey);
4417
+ } catch (error) { /* empty */ }
4418
+ }
4419
+
4420
+ // `Symbol.isWellKnownSymbol` method
4421
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
4422
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
4423
+ symbolIsWellKnown = function isWellKnownSymbol(value) {
4424
+ if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true;
4425
+ try {
4426
+ var symbol = thisSymbolValue(value);
4427
+ for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) {
4428
+ // eslint-disable-next-line eqeqeq -- polyfilled symbols case
4429
+ if (WellKnownSymbolsStore[keys[j]] == symbol) return true;
4430
+ }
4431
+ } catch (error) { /* empty */ }
4432
+ return false;
4433
+ };
4434
+ return symbolIsWellKnown;
4435
+ }
4436
+
4437
+ var hasRequiredEsnext_symbol_isWellKnownSymbol;
4438
+
4439
+ function requireEsnext_symbol_isWellKnownSymbol () {
4440
+ if (hasRequiredEsnext_symbol_isWellKnownSymbol) return esnext_symbol_isWellKnownSymbol;
4441
+ hasRequiredEsnext_symbol_isWellKnownSymbol = 1;
4442
+ var $ = /*@__PURE__*/ require_export();
4443
+ var isWellKnownSymbol = /*@__PURE__*/ requireSymbolIsWellKnown();
4444
+
4445
+ // `Symbol.isWellKnownSymbol` method
4446
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
4447
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
4448
+ $({ target: 'Symbol', stat: true, forced: true }, {
4449
+ isWellKnownSymbol: isWellKnownSymbol
4450
+ });
4451
+ return esnext_symbol_isWellKnownSymbol;
4452
+ }
4453
+
4454
+ var esnext_symbol_customMatcher = {};
4455
+
4456
+ var hasRequiredEsnext_symbol_customMatcher;
4457
+
4458
+ function requireEsnext_symbol_customMatcher () {
4459
+ if (hasRequiredEsnext_symbol_customMatcher) return esnext_symbol_customMatcher;
4460
+ hasRequiredEsnext_symbol_customMatcher = 1;
4461
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4462
+
4463
+ // `Symbol.customMatcher` well-known symbol
4464
+ // https://github.com/tc39/proposal-pattern-matching
4465
+ defineWellKnownSymbol('customMatcher');
4466
+ return esnext_symbol_customMatcher;
4467
+ }
4468
+
4469
+ var esnext_symbol_observable = {};
4470
+
4471
+ var hasRequiredEsnext_symbol_observable;
4472
+
4473
+ function requireEsnext_symbol_observable () {
4474
+ if (hasRequiredEsnext_symbol_observable) return esnext_symbol_observable;
4475
+ hasRequiredEsnext_symbol_observable = 1;
4476
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4477
+
4478
+ // `Symbol.observable` well-known symbol
4479
+ // https://github.com/tc39/proposal-observable
4480
+ defineWellKnownSymbol('observable');
4481
+ return esnext_symbol_observable;
4482
+ }
4483
+
4484
+ var esnext_symbol_isRegistered = {};
4485
+
4486
+ var hasRequiredEsnext_symbol_isRegistered;
4487
+
4488
+ function requireEsnext_symbol_isRegistered () {
4489
+ if (hasRequiredEsnext_symbol_isRegistered) return esnext_symbol_isRegistered;
4490
+ hasRequiredEsnext_symbol_isRegistered = 1;
4491
+ var $ = /*@__PURE__*/ require_export();
4492
+ var isRegisteredSymbol = /*@__PURE__*/ requireSymbolIsRegistered();
4493
+
4494
+ // `Symbol.isRegistered` method
4495
+ // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
4496
+ $({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, {
4497
+ isRegistered: isRegisteredSymbol
4498
+ });
4499
+ return esnext_symbol_isRegistered;
4500
+ }
4501
+
4502
+ var esnext_symbol_isWellKnown = {};
4503
+
4504
+ var hasRequiredEsnext_symbol_isWellKnown;
4505
+
4506
+ function requireEsnext_symbol_isWellKnown () {
4507
+ if (hasRequiredEsnext_symbol_isWellKnown) return esnext_symbol_isWellKnown;
4508
+ hasRequiredEsnext_symbol_isWellKnown = 1;
4509
+ var $ = /*@__PURE__*/ require_export();
4510
+ var isWellKnownSymbol = /*@__PURE__*/ requireSymbolIsWellKnown();
4511
+
4512
+ // `Symbol.isWellKnown` method
4513
+ // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
4514
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
4515
+ $({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, {
4516
+ isWellKnown: isWellKnownSymbol
4517
+ });
4518
+ return esnext_symbol_isWellKnown;
4519
+ }
4520
+
4521
+ var esnext_symbol_matcher = {};
4522
+
4523
+ var hasRequiredEsnext_symbol_matcher;
4524
+
4525
+ function requireEsnext_symbol_matcher () {
4526
+ if (hasRequiredEsnext_symbol_matcher) return esnext_symbol_matcher;
4527
+ hasRequiredEsnext_symbol_matcher = 1;
4528
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4529
+
4530
+ // `Symbol.matcher` well-known symbol
4531
+ // https://github.com/tc39/proposal-pattern-matching
4532
+ defineWellKnownSymbol('matcher');
4533
+ return esnext_symbol_matcher;
4534
+ }
4535
+
4536
+ var esnext_symbol_metadataKey = {};
4537
+
4538
+ var hasRequiredEsnext_symbol_metadataKey;
4539
+
4540
+ function requireEsnext_symbol_metadataKey () {
4541
+ if (hasRequiredEsnext_symbol_metadataKey) return esnext_symbol_metadataKey;
4542
+ hasRequiredEsnext_symbol_metadataKey = 1;
4543
+ // TODO: Remove from `core-js@4`
4544
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4545
+
4546
+ // `Symbol.metadataKey` well-known symbol
4547
+ // https://github.com/tc39/proposal-decorator-metadata
4548
+ defineWellKnownSymbol('metadataKey');
4549
+ return esnext_symbol_metadataKey;
4550
+ }
4551
+
4552
+ var esnext_symbol_patternMatch = {};
4553
+
4554
+ var hasRequiredEsnext_symbol_patternMatch;
4555
+
4556
+ function requireEsnext_symbol_patternMatch () {
4557
+ if (hasRequiredEsnext_symbol_patternMatch) return esnext_symbol_patternMatch;
4558
+ hasRequiredEsnext_symbol_patternMatch = 1;
4559
+ // TODO: remove from `core-js@4`
4560
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4561
+
4562
+ // `Symbol.patternMatch` well-known symbol
4563
+ // https://github.com/tc39/proposal-pattern-matching
4564
+ defineWellKnownSymbol('patternMatch');
4565
+ return esnext_symbol_patternMatch;
4566
+ }
4567
+
4568
+ var esnext_symbol_replaceAll = {};
4569
+
4570
+ var hasRequiredEsnext_symbol_replaceAll;
4571
+
4572
+ function requireEsnext_symbol_replaceAll () {
4573
+ if (hasRequiredEsnext_symbol_replaceAll) return esnext_symbol_replaceAll;
4574
+ hasRequiredEsnext_symbol_replaceAll = 1;
4575
+ // TODO: remove from `core-js@4`
4576
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4577
+
4578
+ defineWellKnownSymbol('replaceAll');
4579
+ return esnext_symbol_replaceAll;
4580
+ }
4581
+
4582
+ var symbol$1;
4583
+ var hasRequiredSymbol$1;
4584
+
4585
+ function requireSymbol$1 () {
4586
+ if (hasRequiredSymbol$1) return symbol$1;
4587
+ hasRequiredSymbol$1 = 1;
4588
+ var parent = /*@__PURE__*/ requireSymbol$2();
4589
+ requireEsnext_symbol_isRegisteredSymbol();
4590
+ requireEsnext_symbol_isWellKnownSymbol();
4591
+ requireEsnext_symbol_customMatcher();
4592
+ requireEsnext_symbol_observable();
4593
+ // TODO: Remove from `core-js@4`
4594
+ requireEsnext_symbol_isRegistered();
4595
+ requireEsnext_symbol_isWellKnown();
4596
+ requireEsnext_symbol_matcher();
4597
+ requireEsnext_symbol_metadataKey();
4598
+ requireEsnext_symbol_patternMatch();
4599
+ requireEsnext_symbol_replaceAll();
4600
+
4601
+ symbol$1 = parent;
4602
+ return symbol$1;
4603
+ }
4604
+
4605
+ var symbol;
4606
+ var hasRequiredSymbol;
4607
+
4608
+ function requireSymbol () {
4609
+ if (hasRequiredSymbol) return symbol;
4610
+ hasRequiredSymbol = 1;
4611
+ symbol = /*@__PURE__*/ requireSymbol$1();
4612
+ return symbol;
4613
+ }
4614
+
4615
+ var symbolExports = /*@__PURE__*/ requireSymbol();
4616
+ var _Symbol = /*@__PURE__*/getDefaultExportFromCjs(symbolExports);
4617
+
4618
+ var es_string_iterator = {};
4619
+
4620
+ var stringMultibyte;
4621
+ var hasRequiredStringMultibyte;
4622
+
4623
+ function requireStringMultibyte () {
4624
+ if (hasRequiredStringMultibyte) return stringMultibyte;
4625
+ hasRequiredStringMultibyte = 1;
4626
+ var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4627
+ var toIntegerOrInfinity = /*@__PURE__*/ requireToIntegerOrInfinity();
4628
+ var toString = /*@__PURE__*/ requireToString();
4629
+ var requireObjectCoercible = /*@__PURE__*/ requireRequireObjectCoercible();
4630
+
4631
+ var charAt = uncurryThis(''.charAt);
4632
+ var charCodeAt = uncurryThis(''.charCodeAt);
4633
+ var stringSlice = uncurryThis(''.slice);
4634
+
4635
+ var createMethod = function (CONVERT_TO_STRING) {
4636
+ return function ($this, pos) {
4637
+ var S = toString(requireObjectCoercible($this));
4638
+ var position = toIntegerOrInfinity(pos);
4639
+ var size = S.length;
4640
+ var first, second;
4641
+ if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
4642
+ first = charCodeAt(S, position);
4643
+ return first < 0xD800 || first > 0xDBFF || position + 1 === size
4644
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
4645
+ ? CONVERT_TO_STRING
4646
+ ? charAt(S, position)
4647
+ : first
4648
+ : CONVERT_TO_STRING
4649
+ ? stringSlice(S, position, position + 2)
4650
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
4651
+ };
4652
+ };
4653
+
4654
+ stringMultibyte = {
4655
+ // `String.prototype.codePointAt` method
4656
+ // https://tc39.es/ecma262/#sec-string.prototype.codepointat
4657
+ codeAt: createMethod(false),
4658
+ // `String.prototype.at` method
4659
+ // https://github.com/mathiasbynens/String.prototype.at
4660
+ charAt: createMethod(true)
4661
+ };
4662
+ return stringMultibyte;
4663
+ }
4664
+
4665
+ var hasRequiredEs_string_iterator;
4666
+
4667
+ function requireEs_string_iterator () {
4668
+ if (hasRequiredEs_string_iterator) return es_string_iterator;
4669
+ hasRequiredEs_string_iterator = 1;
4670
+ var charAt = /*@__PURE__*/ requireStringMultibyte().charAt;
4671
+ var toString = /*@__PURE__*/ requireToString();
4672
+ var InternalStateModule = /*@__PURE__*/ requireInternalState();
4673
+ var defineIterator = /*@__PURE__*/ requireIteratorDefine();
4674
+ var createIterResultObject = /*@__PURE__*/ requireCreateIterResultObject();
4675
+
4676
+ var STRING_ITERATOR = 'String Iterator';
4677
+ var setInternalState = InternalStateModule.set;
4678
+ var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
4679
+
4680
+ // `String.prototype[@@iterator]` method
4681
+ // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
4682
+ defineIterator(String, 'String', function (iterated) {
4683
+ setInternalState(this, {
4684
+ type: STRING_ITERATOR,
4685
+ string: toString(iterated),
4686
+ index: 0
4687
+ });
4688
+ // `%StringIteratorPrototype%.next` method
4689
+ // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
4690
+ }, function next() {
4691
+ var state = getInternalState(this);
4692
+ var string = state.string;
4693
+ var index = state.index;
4694
+ var point;
4695
+ if (index >= string.length) return createIterResultObject(undefined, true);
4696
+ point = charAt(string, index);
4697
+ state.index += point.length;
4698
+ return createIterResultObject(point, false);
4699
+ });
4700
+ return es_string_iterator;
4701
+ }
4702
+
4703
+ var getIteratorMethod$4;
4704
+ var hasRequiredGetIteratorMethod$5;
4705
+
4706
+ function requireGetIteratorMethod$5 () {
4707
+ if (hasRequiredGetIteratorMethod$5) return getIteratorMethod$4;
4708
+ hasRequiredGetIteratorMethod$5 = 1;
4709
+ var classof = /*@__PURE__*/ requireClassof();
4710
+ var getMethod = /*@__PURE__*/ requireGetMethod();
4711
+ var isNullOrUndefined = /*@__PURE__*/ requireIsNullOrUndefined();
4712
+ var Iterators = /*@__PURE__*/ requireIterators();
4713
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
4714
+
4715
+ var ITERATOR = wellKnownSymbol('iterator');
4716
+
4717
+ getIteratorMethod$4 = function (it) {
4718
+ if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
4719
+ || getMethod(it, '@@iterator')
4720
+ || Iterators[classof(it)];
4721
+ };
4722
+ return getIteratorMethod$4;
4723
+ }
4724
+
4725
+ var getIteratorMethod_1;
4726
+ var hasRequiredGetIteratorMethod$4;
4727
+
4728
+ function requireGetIteratorMethod$4 () {
4729
+ if (hasRequiredGetIteratorMethod$4) return getIteratorMethod_1;
4730
+ hasRequiredGetIteratorMethod$4 = 1;
4731
+ requireEs_array_iterator();
4732
+ requireEs_string_iterator();
4733
+ var getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$5();
4734
+
4735
+ getIteratorMethod_1 = getIteratorMethod;
4736
+ return getIteratorMethod_1;
4737
+ }
4738
+
4739
+ var getIteratorMethod$3;
4740
+ var hasRequiredGetIteratorMethod$3;
4741
+
4742
+ function requireGetIteratorMethod$3 () {
4743
+ if (hasRequiredGetIteratorMethod$3) return getIteratorMethod$3;
4744
+ hasRequiredGetIteratorMethod$3 = 1;
4745
+ var parent = /*@__PURE__*/ requireGetIteratorMethod$4();
4746
+ requireWeb_domCollections_iterator();
4747
+
4748
+ getIteratorMethod$3 = parent;
4749
+ return getIteratorMethod$3;
4750
+ }
4751
+
4752
+ var getIteratorMethod$2;
4753
+ var hasRequiredGetIteratorMethod$2;
4754
+
4755
+ function requireGetIteratorMethod$2 () {
4756
+ if (hasRequiredGetIteratorMethod$2) return getIteratorMethod$2;
4757
+ hasRequiredGetIteratorMethod$2 = 1;
4758
+ var parent = /*@__PURE__*/ requireGetIteratorMethod$3();
4759
+
4760
+ getIteratorMethod$2 = parent;
4761
+ return getIteratorMethod$2;
4762
+ }
4763
+
4764
+ var getIteratorMethod$1;
4765
+ var hasRequiredGetIteratorMethod$1;
4766
+
4767
+ function requireGetIteratorMethod$1 () {
4768
+ if (hasRequiredGetIteratorMethod$1) return getIteratorMethod$1;
4769
+ hasRequiredGetIteratorMethod$1 = 1;
4770
+ var parent = /*@__PURE__*/ requireGetIteratorMethod$2();
4771
+
4772
+ getIteratorMethod$1 = parent;
4773
+ return getIteratorMethod$1;
4774
+ }
4775
+
4776
+ var getIteratorMethod;
4777
+ var hasRequiredGetIteratorMethod;
4778
+
4779
+ function requireGetIteratorMethod () {
4780
+ if (hasRequiredGetIteratorMethod) return getIteratorMethod;
4781
+ hasRequiredGetIteratorMethod = 1;
4782
+ getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$1();
4783
+ return getIteratorMethod;
4784
+ }
4785
+
4786
+ var getIteratorMethodExports = /*@__PURE__*/ requireGetIteratorMethod();
4787
+ var _getIteratorMethod = /*@__PURE__*/getDefaultExportFromCjs(getIteratorMethodExports);
4788
+
4789
+ var es_array_push = {};
4790
+
4791
+ var hasRequiredEs_array_push;
4792
+
4793
+ function requireEs_array_push () {
4794
+ if (hasRequiredEs_array_push) return es_array_push;
4795
+ hasRequiredEs_array_push = 1;
4796
+ var $ = /*@__PURE__*/ require_export();
4797
+ var toObject = /*@__PURE__*/ requireToObject();
4798
+ var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
4799
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
4800
+ var doesNotExceedSafeInteger = /*@__PURE__*/ requireDoesNotExceedSafeInteger();
4801
+ var fails = /*@__PURE__*/ requireFails();
4802
+
4803
+ var INCORRECT_TO_LENGTH = fails(function () {
4804
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
4805
+ });
4806
+
4807
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
4808
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
4809
+ var properErrorOnNonWritableLength = function () {
4810
+ try {
4811
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
4812
+ Object.defineProperty([], 'length', { writable: false }).push();
4813
+ } catch (error) {
4814
+ return error instanceof TypeError;
4815
+ }
4816
+ };
4817
+
4818
+ var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
4819
+
4820
+ // `Array.prototype.push` method
4821
+ // https://tc39.es/ecma262/#sec-array.prototype.push
4822
+ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
4823
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
4824
+ push: function push(item) {
4825
+ var O = toObject(this);
4826
+ var len = lengthOfArrayLike(O);
4827
+ var argCount = arguments.length;
4828
+ doesNotExceedSafeInteger(len + argCount);
4829
+ for (var i = 0; i < argCount; i++) {
4830
+ O[len] = arguments[i];
4831
+ len++;
4832
+ }
4833
+ setArrayLength(O, len);
4834
+ return len;
4835
+ }
4836
+ });
4837
+ return es_array_push;
4838
+ }
4839
+
4840
+ var push$5;
4841
+ var hasRequiredPush$5;
4842
+
4843
+ function requirePush$5 () {
4844
+ if (hasRequiredPush$5) return push$5;
4845
+ hasRequiredPush$5 = 1;
4846
+ requireEs_array_push();
4847
+ var getBuiltInPrototypeMethod = /*@__PURE__*/ requireGetBuiltInPrototypeMethod();
4848
+
4849
+ push$5 = getBuiltInPrototypeMethod('Array', 'push');
4850
+ return push$5;
4851
+ }
4852
+
4853
+ var push$4;
4854
+ var hasRequiredPush$4;
4855
+
4856
+ function requirePush$4 () {
4857
+ if (hasRequiredPush$4) return push$4;
4858
+ hasRequiredPush$4 = 1;
4859
+ var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
4860
+ var method = /*@__PURE__*/ requirePush$5();
4861
+
4862
+ var ArrayPrototype = Array.prototype;
4863
+
4864
+ push$4 = function (it) {
4865
+ var own = it.push;
4866
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own;
4867
+ };
4868
+ return push$4;
4869
+ }
4870
+
4871
+ var push$3;
4872
+ var hasRequiredPush$3;
4873
+
4874
+ function requirePush$3 () {
4875
+ if (hasRequiredPush$3) return push$3;
4876
+ hasRequiredPush$3 = 1;
4877
+ var parent = /*@__PURE__*/ requirePush$4();
4878
+
4879
+ push$3 = parent;
4880
+ return push$3;
4881
+ }
4882
+
4883
+ var push$2;
4884
+ var hasRequiredPush$2;
4885
+
4886
+ function requirePush$2 () {
4887
+ if (hasRequiredPush$2) return push$2;
4888
+ hasRequiredPush$2 = 1;
4889
+ var parent = /*@__PURE__*/ requirePush$3();
4890
+
4891
+ push$2 = parent;
4892
+ return push$2;
4893
+ }
4894
+
4895
+ var push$1;
4896
+ var hasRequiredPush$1;
4897
+
4898
+ function requirePush$1 () {
4899
+ if (hasRequiredPush$1) return push$1;
4900
+ hasRequiredPush$1 = 1;
4901
+ var parent = /*@__PURE__*/ requirePush$2();
4902
+
4903
+ push$1 = parent;
4904
+ return push$1;
4905
+ }
4906
+
4907
+ var push;
4908
+ var hasRequiredPush;
4909
+
4910
+ function requirePush () {
4911
+ if (hasRequiredPush) return push;
4912
+ hasRequiredPush = 1;
4913
+ push = /*@__PURE__*/ requirePush$1();
4914
+ return push;
4915
+ }
4916
+
4917
+ var pushExports = /*@__PURE__*/ requirePush();
4918
+ var _pushInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(pushExports);
4919
+
4920
+ function _iterableToArrayLimit(r, l) {
4921
+ var t = null == r ? null : "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"];
4922
+ if (null != t) {
4923
+ var e,
4924
+ n,
4925
+ i,
4926
+ u,
4927
+ a = [],
4928
+ f = true,
4929
+ o = false;
4930
+ try {
4931
+ if (i = (t = t.call(r)).next, 0 === l) {
4932
+ if (Object(t) !== t) return;
4933
+ f = !1;
4934
+ } else for (; !(f = (e = i.call(t)).done) && (_pushInstanceProperty(a).call(a, e.value), a.length !== l); f = !0);
4935
+ } catch (r) {
4936
+ o = true, n = r;
4937
+ } finally {
4938
+ try {
4939
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
4940
+ } finally {
4941
+ if (o) throw n;
4942
+ }
4943
+ }
4944
+ return a;
4945
+ }
4946
+ }
4947
+
4948
+ var slice$2;
4949
+ var hasRequiredSlice$2;
4950
+
4951
+ function requireSlice$2 () {
4952
+ if (hasRequiredSlice$2) return slice$2;
4953
+ hasRequiredSlice$2 = 1;
4954
+ var parent = /*@__PURE__*/ requireSlice$4();
4955
+
4956
+ slice$2 = parent;
4957
+ return slice$2;
4958
+ }
4959
+
4960
+ var slice$1;
4961
+ var hasRequiredSlice$1;
4962
+
4963
+ function requireSlice$1 () {
4964
+ if (hasRequiredSlice$1) return slice$1;
4965
+ hasRequiredSlice$1 = 1;
4966
+ var parent = /*@__PURE__*/ requireSlice$2();
4967
+
4968
+ slice$1 = parent;
4969
+ return slice$1;
4970
+ }
4971
+
4972
+ var slice;
4973
+ var hasRequiredSlice;
4974
+
4975
+ function requireSlice () {
4976
+ if (hasRequiredSlice) return slice;
4977
+ hasRequiredSlice = 1;
4978
+ slice = /*@__PURE__*/ requireSlice$1();
4979
+ return slice;
4980
+ }
4981
+
4982
+ var sliceExports = /*@__PURE__*/ requireSlice();
4983
+ var _sliceInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(sliceExports);
4984
+
4985
+ var es_array_from = {};
4986
+
4987
+ var iteratorClose;
4988
+ var hasRequiredIteratorClose;
4989
+
4990
+ function requireIteratorClose () {
4991
+ if (hasRequiredIteratorClose) return iteratorClose;
4992
+ hasRequiredIteratorClose = 1;
4993
+ var call = /*@__PURE__*/ requireFunctionCall();
4994
+ var anObject = /*@__PURE__*/ requireAnObject();
4995
+ var getMethod = /*@__PURE__*/ requireGetMethod();
4996
+
4997
+ iteratorClose = function (iterator, kind, value) {
4998
+ var innerResult, innerError;
4999
+ anObject(iterator);
5000
+ try {
5001
+ innerResult = getMethod(iterator, 'return');
5002
+ if (!innerResult) {
5003
+ if (kind === 'throw') throw value;
5004
+ return value;
5005
+ }
5006
+ innerResult = call(innerResult, iterator);
5007
+ } catch (error) {
5008
+ innerError = true;
5009
+ innerResult = error;
5010
+ }
5011
+ if (kind === 'throw') throw value;
5012
+ if (innerError) throw innerResult;
5013
+ anObject(innerResult);
5014
+ return value;
5015
+ };
5016
+ return iteratorClose;
5017
+ }
5018
+
5019
+ var callWithSafeIterationClosing;
5020
+ var hasRequiredCallWithSafeIterationClosing;
5021
+
5022
+ function requireCallWithSafeIterationClosing () {
5023
+ if (hasRequiredCallWithSafeIterationClosing) return callWithSafeIterationClosing;
5024
+ hasRequiredCallWithSafeIterationClosing = 1;
5025
+ var anObject = /*@__PURE__*/ requireAnObject();
5026
+ var iteratorClose = /*@__PURE__*/ requireIteratorClose();
5027
+
5028
+ // call something on iterator step with safe closing on error
5029
+ callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) {
5030
+ try {
5031
+ return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
5032
+ } catch (error) {
5033
+ iteratorClose(iterator, 'throw', error);
5034
+ }
5035
+ };
5036
+ return callWithSafeIterationClosing;
5037
+ }
5038
+
5039
+ var isArrayIteratorMethod;
5040
+ var hasRequiredIsArrayIteratorMethod;
5041
+
5042
+ function requireIsArrayIteratorMethod () {
5043
+ if (hasRequiredIsArrayIteratorMethod) return isArrayIteratorMethod;
5044
+ hasRequiredIsArrayIteratorMethod = 1;
5045
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
5046
+ var Iterators = /*@__PURE__*/ requireIterators();
5047
+
5048
+ var ITERATOR = wellKnownSymbol('iterator');
5049
+ var ArrayPrototype = Array.prototype;
5050
+
5051
+ // check on default Array iterator
5052
+ isArrayIteratorMethod = function (it) {
5053
+ return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
5054
+ };
5055
+ return isArrayIteratorMethod;
5056
+ }
5057
+
5058
+ var getIterator;
5059
+ var hasRequiredGetIterator;
5060
+
5061
+ function requireGetIterator () {
5062
+ if (hasRequiredGetIterator) return getIterator;
5063
+ hasRequiredGetIterator = 1;
5064
+ var call = /*@__PURE__*/ requireFunctionCall();
5065
+ var aCallable = /*@__PURE__*/ requireACallable();
5066
+ var anObject = /*@__PURE__*/ requireAnObject();
5067
+ var tryToString = /*@__PURE__*/ requireTryToString();
5068
+ var getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$5();
5069
+
5070
+ var $TypeError = TypeError;
3884
5071
 
3885
- map$2 = function (it) {
3886
- var own = it.map;
3887
- return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;
5072
+ getIterator = function (argument, usingIterator) {
5073
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
5074
+ if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
5075
+ throw new $TypeError(tryToString(argument) + ' is not iterable');
3888
5076
  };
3889
- return map$2;
5077
+ return getIterator;
3890
5078
  }
3891
5079
 
3892
- var map$1;
3893
- var hasRequiredMap$1;
5080
+ var arrayFrom;
5081
+ var hasRequiredArrayFrom;
3894
5082
 
3895
- function requireMap$1 () {
3896
- if (hasRequiredMap$1) return map$1;
3897
- hasRequiredMap$1 = 1;
3898
- var parent = /*@__PURE__*/ requireMap$2();
5083
+ function requireArrayFrom () {
5084
+ if (hasRequiredArrayFrom) return arrayFrom;
5085
+ hasRequiredArrayFrom = 1;
5086
+ var bind = /*@__PURE__*/ requireFunctionBindContext();
5087
+ var call = /*@__PURE__*/ requireFunctionCall();
5088
+ var toObject = /*@__PURE__*/ requireToObject();
5089
+ var callWithSafeIterationClosing = /*@__PURE__*/ requireCallWithSafeIterationClosing();
5090
+ var isArrayIteratorMethod = /*@__PURE__*/ requireIsArrayIteratorMethod();
5091
+ var isConstructor = /*@__PURE__*/ requireIsConstructor();
5092
+ var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
5093
+ var createProperty = /*@__PURE__*/ requireCreateProperty();
5094
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
5095
+ var getIterator = /*@__PURE__*/ requireGetIterator();
5096
+ var getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$5();
5097
+ var iteratorClose = /*@__PURE__*/ requireIteratorClose();
3899
5098
 
3900
- map$1 = parent;
3901
- return map$1;
5099
+ var $Array = Array;
5100
+
5101
+ // `Array.from` method implementation
5102
+ // https://tc39.es/ecma262/#sec-array.from
5103
+ arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
5104
+ var IS_CONSTRUCTOR = isConstructor(this);
5105
+ var argumentsLength = arguments.length;
5106
+ var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
5107
+ var mapping = mapfn !== undefined;
5108
+ if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
5109
+ var O = toObject(arrayLike);
5110
+ var iteratorMethod = getIteratorMethod(O);
5111
+ var index = 0;
5112
+ var length, result, step, iterator, next, value;
5113
+ // if the target is not iterable or it's an array with the default iterator - use a simple case
5114
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
5115
+ result = IS_CONSTRUCTOR ? new this() : [];
5116
+ iterator = getIterator(O, iteratorMethod);
5117
+ next = iterator.next;
5118
+ for (;!(step = call(next, iterator)).done; index++) {
5119
+ value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
5120
+ try {
5121
+ createProperty(result, index, value);
5122
+ } catch (error) {
5123
+ iteratorClose(iterator, 'throw', error);
5124
+ }
5125
+ }
5126
+ } else {
5127
+ length = lengthOfArrayLike(O);
5128
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
5129
+ for (;length > index; index++) {
5130
+ value = mapping ? mapfn(O[index], index) : O[index];
5131
+ createProperty(result, index, value);
5132
+ }
5133
+ }
5134
+ setArrayLength(result, index);
5135
+ return result;
5136
+ };
5137
+ return arrayFrom;
3902
5138
  }
3903
5139
 
3904
- var map;
3905
- var hasRequiredMap;
5140
+ var checkCorrectnessOfIteration;
5141
+ var hasRequiredCheckCorrectnessOfIteration;
3906
5142
 
3907
- function requireMap () {
3908
- if (hasRequiredMap) return map;
3909
- hasRequiredMap = 1;
3910
- map = /*@__PURE__*/ requireMap$1();
3911
- return map;
3912
- }
5143
+ function requireCheckCorrectnessOfIteration () {
5144
+ if (hasRequiredCheckCorrectnessOfIteration) return checkCorrectnessOfIteration;
5145
+ hasRequiredCheckCorrectnessOfIteration = 1;
5146
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
3913
5147
 
3914
- var mapExports = requireMap();
3915
- var _mapInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(mapExports);
5148
+ var ITERATOR = wellKnownSymbol('iterator');
5149
+ var SAFE_CLOSING = false;
5150
+
5151
+ try {
5152
+ var called = 0;
5153
+ var iteratorWithReturn = {
5154
+ next: function () {
5155
+ return { done: !!called++ };
5156
+ },
5157
+ 'return': function () {
5158
+ SAFE_CLOSING = true;
5159
+ }
5160
+ };
5161
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
5162
+ iteratorWithReturn[ITERATOR] = function () {
5163
+ return this;
5164
+ };
5165
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
5166
+ Array.from(iteratorWithReturn, function () { throw 2; });
5167
+ } catch (error) { /* empty */ }
3916
5168
 
3917
- var es_object_keys = {};
5169
+ checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) {
5170
+ try {
5171
+ if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
5172
+ } catch (error) { return false; } // workaround of old WebKit + `eval` bug
5173
+ var ITERATION_SUPPORT = false;
5174
+ try {
5175
+ var object = {};
5176
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
5177
+ object[ITERATOR] = function () {
5178
+ return {
5179
+ next: function () {
5180
+ return { done: ITERATION_SUPPORT = true };
5181
+ }
5182
+ };
5183
+ };
5184
+ exec(object);
5185
+ } catch (error) { /* empty */ }
5186
+ return ITERATION_SUPPORT;
5187
+ };
5188
+ return checkCorrectnessOfIteration;
5189
+ }
3918
5190
 
3919
- var hasRequiredEs_object_keys;
5191
+ var hasRequiredEs_array_from;
3920
5192
 
3921
- function requireEs_object_keys () {
3922
- if (hasRequiredEs_object_keys) return es_object_keys;
3923
- hasRequiredEs_object_keys = 1;
5193
+ function requireEs_array_from () {
5194
+ if (hasRequiredEs_array_from) return es_array_from;
5195
+ hasRequiredEs_array_from = 1;
3924
5196
  var $ = /*@__PURE__*/ require_export();
3925
- var toObject = /*@__PURE__*/ requireToObject();
3926
- var nativeKeys = /*@__PURE__*/ requireObjectKeys();
3927
- var fails = /*@__PURE__*/ requireFails();
5197
+ var from = /*@__PURE__*/ requireArrayFrom();
5198
+ var checkCorrectnessOfIteration = /*@__PURE__*/ requireCheckCorrectnessOfIteration();
3928
5199
 
3929
- var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
5200
+ var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
5201
+ // eslint-disable-next-line es/no-array-from -- required for testing
5202
+ Array.from(iterable);
5203
+ });
3930
5204
 
3931
- // `Object.keys` method
3932
- // https://tc39.es/ecma262/#sec-object.keys
3933
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
3934
- keys: function keys(it) {
3935
- return nativeKeys(toObject(it));
3936
- }
5205
+ // `Array.from` method
5206
+ // https://tc39.es/ecma262/#sec-array.from
5207
+ $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
5208
+ from: from
3937
5209
  });
3938
- return es_object_keys;
5210
+ return es_array_from;
3939
5211
  }
3940
5212
 
3941
- var keys$2;
3942
- var hasRequiredKeys$2;
5213
+ var from$4;
5214
+ var hasRequiredFrom$4;
3943
5215
 
3944
- function requireKeys$2 () {
3945
- if (hasRequiredKeys$2) return keys$2;
3946
- hasRequiredKeys$2 = 1;
3947
- requireEs_object_keys();
5216
+ function requireFrom$4 () {
5217
+ if (hasRequiredFrom$4) return from$4;
5218
+ hasRequiredFrom$4 = 1;
5219
+ requireEs_string_iterator();
5220
+ requireEs_array_from();
3948
5221
  var path = /*@__PURE__*/ requirePath();
3949
5222
 
3950
- keys$2 = path.Object.keys;
3951
- return keys$2;
5223
+ from$4 = path.Array.from;
5224
+ return from$4;
3952
5225
  }
3953
5226
 
3954
- var keys$1;
3955
- var hasRequiredKeys$1;
5227
+ var from$3;
5228
+ var hasRequiredFrom$3;
3956
5229
 
3957
- function requireKeys$1 () {
3958
- if (hasRequiredKeys$1) return keys$1;
3959
- hasRequiredKeys$1 = 1;
3960
- var parent = /*@__PURE__*/ requireKeys$2();
5230
+ function requireFrom$3 () {
5231
+ if (hasRequiredFrom$3) return from$3;
5232
+ hasRequiredFrom$3 = 1;
5233
+ var parent = /*@__PURE__*/ requireFrom$4();
3961
5234
 
3962
- keys$1 = parent;
3963
- return keys$1;
5235
+ from$3 = parent;
5236
+ return from$3;
3964
5237
  }
3965
5238
 
3966
- var keys;
3967
- var hasRequiredKeys;
5239
+ var from$2;
5240
+ var hasRequiredFrom$2;
3968
5241
 
3969
- function requireKeys () {
3970
- if (hasRequiredKeys) return keys;
3971
- hasRequiredKeys = 1;
3972
- keys = /*@__PURE__*/ requireKeys$1();
3973
- return keys;
5242
+ function requireFrom$2 () {
5243
+ if (hasRequiredFrom$2) return from$2;
5244
+ hasRequiredFrom$2 = 1;
5245
+ var parent = /*@__PURE__*/ requireFrom$3();
5246
+
5247
+ from$2 = parent;
5248
+ return from$2;
3974
5249
  }
3975
5250
 
3976
- var keysExports = requireKeys();
3977
- var _Object$keys = /*@__PURE__*/getDefaultExportFromCjs(keysExports);
5251
+ var from$1;
5252
+ var hasRequiredFrom$1;
3978
5253
 
3979
- /**
3980
- * Use this symbol to delete properies in deepObjectAssign.
3981
- */
3982
- const DELETE = _Symbol("DELETE");
3983
- /**
3984
- * Pure version of deepObjectAssign, it doesn't modify any of it's arguments.
3985
- * @param base - The base object that fullfils the whole interface T.
3986
- * @param updates - Updates that may change or delete props.
3987
- * @returns A brand new instance with all the supplied objects deeply merged.
3988
- */
3989
- function pureDeepObjectAssign(base) {
3990
- for (var _len = arguments.length, updates = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
3991
- updates[_key - 1] = arguments[_key];
3992
- }
3993
- return deepObjectAssign({}, base, ...updates);
5254
+ function requireFrom$1 () {
5255
+ if (hasRequiredFrom$1) return from$1;
5256
+ hasRequiredFrom$1 = 1;
5257
+ var parent = /*@__PURE__*/ requireFrom$2();
5258
+
5259
+ from$1 = parent;
5260
+ return from$1;
3994
5261
  }
3995
- /**
3996
- * Deep version of object assign with additional deleting by the DELETE symbol.
3997
- * @param values - Objects to be deeply merged.
3998
- * @returns The first object from values.
3999
- */
4000
- function deepObjectAssign() {
4001
- const merged = deepObjectAssignNonentry(...arguments);
4002
- stripDelete(merged);
4003
- return merged;
5262
+
5263
+ var from;
5264
+ var hasRequiredFrom;
5265
+
5266
+ function requireFrom () {
5267
+ if (hasRequiredFrom) return from;
5268
+ hasRequiredFrom = 1;
5269
+ from = /*@__PURE__*/ requireFrom$1();
5270
+ return from;
4004
5271
  }
4005
- /**
4006
- * Deep version of object assign with additional deleting by the DELETE symbol.
4007
- * @remarks
4008
- * This doesn't strip the DELETE symbols so they may end up in the final object.
4009
- * @param values - Objects to be deeply merged.
4010
- * @returns The first object from values.
4011
- */
4012
- function deepObjectAssignNonentry() {
4013
- for (var _len2 = arguments.length, values = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
4014
- values[_key2] = arguments[_key2];
4015
- }
4016
- if (values.length < 2) {
4017
- return values[0];
4018
- } else if (values.length > 2) {
4019
- return deepObjectAssignNonentry(deepObjectAssign(values[0], values[1]), ..._sliceInstanceProperty(values).call(values, 2));
4020
- }
4021
- const a = values[0];
4022
- const b = values[1];
4023
- if (a instanceof Date && b instanceof Date) {
4024
- a.setTime(b.getTime());
4025
- return a;
4026
- }
4027
- for (const prop of _Reflect$ownKeys(b)) {
4028
- if (!Object.prototype.propertyIsEnumerable.call(b, prop)) ; else if (b[prop] === DELETE) {
4029
- delete a[prop];
4030
- } else if (a[prop] !== null && b[prop] !== null && typeof a[prop] === "object" && typeof b[prop] === "object" && !_Array$isArray(a[prop]) && !_Array$isArray(b[prop])) {
4031
- a[prop] = deepObjectAssignNonentry(a[prop], b[prop]);
4032
- } else {
4033
- a[prop] = clone(b[prop]);
4034
- }
4035
- }
4036
- return a;
5272
+
5273
+ var fromExports = /*@__PURE__*/ requireFrom();
5274
+ var _Array$from = /*@__PURE__*/getDefaultExportFromCjs(fromExports);
5275
+
5276
+ function _arrayLikeToArray(r, a) {
5277
+ (null == a || a > r.length) && (a = r.length);
5278
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
5279
+ return n;
4037
5280
  }
4038
- /**
4039
- * Deep clone given object or array. In case of primitive simply return.
4040
- * @param a - Anything.
4041
- * @returns Deep cloned object/array or unchanged a.
4042
- */
4043
- function clone(a) {
4044
- if (_Array$isArray(a)) {
4045
- return _mapInstanceProperty(a).call(a, value => clone(value));
4046
- } else if (typeof a === "object" && a !== null) {
4047
- if (a instanceof Date) {
4048
- return new Date(a.getTime());
4049
- }
4050
- return deepObjectAssignNonentry({}, a);
4051
- } else {
4052
- return a;
5281
+
5282
+ function _unsupportedIterableToArray(r, a) {
5283
+ if (r) {
5284
+ var _context;
5285
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
5286
+ var t = _sliceInstanceProperty(_context = {}.toString.call(r)).call(_context, 8, -1);
5287
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
4053
5288
  }
4054
5289
  }
4055
- /**
4056
- * Strip DELETE from given object.
4057
- * @param a - Object which may contain DELETE but won't after this is executed.
4058
- */
4059
- function stripDelete(a) {
4060
- for (const prop of _Object$keys(a)) {
4061
- if (a[prop] === DELETE) {
4062
- delete a[prop];
4063
- } else if (typeof a[prop] === "object" && a[prop] !== null) {
4064
- stripDelete(a[prop]);
4065
- }
4066
- }
5290
+
5291
+ function _nonIterableRest() {
5292
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5293
+ }
5294
+
5295
+ function _slicedToArray(r, e) {
5296
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
4067
5297
  }
4068
5298
 
4069
5299
  var es_date_now = {};
@@ -4153,7 +5383,11 @@ function Alea() {
4153
5383
  * @returns A ready to use seeded generator.
4154
5384
  */
4155
5385
  function AleaImplementation(seed) {
4156
- let [s0, s1, s2] = mashSeed(seed);
5386
+ let _mashSeed = mashSeed(seed),
5387
+ _mashSeed2 = _slicedToArray(_mashSeed, 3),
5388
+ s0 = _mashSeed2[0],
5389
+ s1 = _mashSeed2[1],
5390
+ s2 = _mashSeed2[2];
4157
5391
  let c = 1;
4158
5392
  const random = () => {
4159
5393
  const t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
@@ -4459,127 +5693,8 @@ function requireForEach () {
4459
5693
  var forEachExports = requireForEach();
4460
5694
  var _forEachInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(forEachExports);
4461
5695
 
4462
- var es_array_reverse = {};
4463
-
4464
- var hasRequiredEs_array_reverse;
4465
-
4466
- function requireEs_array_reverse () {
4467
- if (hasRequiredEs_array_reverse) return es_array_reverse;
4468
- hasRequiredEs_array_reverse = 1;
4469
- var $ = /*@__PURE__*/ require_export();
4470
- var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4471
- var isArray = /*@__PURE__*/ requireIsArray$3();
4472
-
4473
- var nativeReverse = uncurryThis([].reverse);
4474
- var test = [1, 2];
4475
-
4476
- // `Array.prototype.reverse` method
4477
- // https://tc39.es/ecma262/#sec-array.prototype.reverse
4478
- // fix for Safari 12.0 bug
4479
- // https://bugs.webkit.org/show_bug.cgi?id=188794
4480
- $({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
4481
- reverse: function reverse() {
4482
- // eslint-disable-next-line no-self-assign -- dirty hack
4483
- if (isArray(this)) this.length = this.length;
4484
- return nativeReverse(this);
4485
- }
4486
- });
4487
- return es_array_reverse;
4488
- }
4489
-
4490
- var reverse$3;
4491
- var hasRequiredReverse$3;
4492
-
4493
- function requireReverse$3 () {
4494
- if (hasRequiredReverse$3) return reverse$3;
4495
- hasRequiredReverse$3 = 1;
4496
- requireEs_array_reverse();
4497
- var getBuiltInPrototypeMethod = /*@__PURE__*/ requireGetBuiltInPrototypeMethod();
4498
-
4499
- reverse$3 = getBuiltInPrototypeMethod('Array', 'reverse');
4500
- return reverse$3;
4501
- }
4502
-
4503
- var reverse$2;
4504
- var hasRequiredReverse$2;
4505
-
4506
- function requireReverse$2 () {
4507
- if (hasRequiredReverse$2) return reverse$2;
4508
- hasRequiredReverse$2 = 1;
4509
- var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
4510
- var method = /*@__PURE__*/ requireReverse$3();
4511
-
4512
- var ArrayPrototype = Array.prototype;
4513
-
4514
- reverse$2 = function (it) {
4515
- var own = it.reverse;
4516
- return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reverse) ? method : own;
4517
- };
4518
- return reverse$2;
4519
- }
4520
-
4521
- var reverse$1;
4522
- var hasRequiredReverse$1;
4523
-
4524
- function requireReverse$1 () {
4525
- if (hasRequiredReverse$1) return reverse$1;
4526
- hasRequiredReverse$1 = 1;
4527
- var parent = /*@__PURE__*/ requireReverse$2();
4528
-
4529
- reverse$1 = parent;
4530
- return reverse$1;
4531
- }
4532
-
4533
- var reverse;
4534
- var hasRequiredReverse;
4535
-
4536
- function requireReverse () {
4537
- if (hasRequiredReverse) return reverse;
4538
- hasRequiredReverse = 1;
4539
- reverse = /*@__PURE__*/ requireReverse$1();
4540
- return reverse;
4541
- }
4542
-
4543
- var reverseExports = requireReverse();
4544
- var _reverseInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(reverseExports);
4545
-
4546
5696
  var es_array_splice = {};
4547
5697
 
4548
- var arraySetLength;
4549
- var hasRequiredArraySetLength;
4550
-
4551
- function requireArraySetLength () {
4552
- if (hasRequiredArraySetLength) return arraySetLength;
4553
- hasRequiredArraySetLength = 1;
4554
- var DESCRIPTORS = /*@__PURE__*/ requireDescriptors();
4555
- var isArray = /*@__PURE__*/ requireIsArray$3();
4556
-
4557
- var $TypeError = TypeError;
4558
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4559
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4560
-
4561
- // Safari < 13 does not throw an error in this case
4562
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
4563
- // makes no sense without proper strict mode support
4564
- if (this !== undefined) return true;
4565
- try {
4566
- // eslint-disable-next-line es/no-object-defineproperty -- safe
4567
- Object.defineProperty([], 'length', { writable: false }).length = 1;
4568
- } catch (error) {
4569
- return error instanceof TypeError;
4570
- }
4571
- }();
4572
-
4573
- arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
4574
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
4575
- throw new $TypeError('Cannot set read only .length');
4576
- } return O.length = length;
4577
- } : function (O, length) {
4578
- return O.length = length;
4579
- };
4580
- return arraySetLength;
4581
- }
4582
-
4583
5698
  var deletePropertyOrThrow;
4584
5699
  var hasRequiredDeletePropertyOrThrow;
4585
5700
 
@@ -4643,7 +5758,7 @@ function requireEs_array_splice () {
4643
5758
  from = actualStart + k;
4644
5759
  if (from in O) createProperty(A, k, O[from]);
4645
5760
  }
4646
- A.length = actualDeleteCount;
5761
+ setArrayLength(A, actualDeleteCount);
4647
5762
  if (insertCount < actualDeleteCount) {
4648
5763
  for (k = actualStart; k < len - actualDeleteCount; k++) {
4649
5764
  from = k + actualDeleteCount;
@@ -7932,8 +9047,8 @@ Activator$1.current = null;
7932
9047
  */
7933
9048
  Activator$1.prototype.destroy = function () {
7934
9049
  this.deactivate();
7935
- for (const callback of _reverseInstanceProperty(_context2 = _spliceInstanceProperty(_context3 = this._cleanupQueue).call(_context3, 0)).call(_context2)) {
7936
- var _context2, _context3;
9050
+ for (const callback of _spliceInstanceProperty(_context2 = this._cleanupQueue).call(_context2, 0).toReversed()) {
9051
+ var _context2;
7937
9052
  callback();
7938
9053
  }
7939
9054
  };
@@ -8015,6 +9130,7 @@ function requireStringRepeat () {
8015
9130
  var requireObjectCoercible = /*@__PURE__*/ requireRequireObjectCoercible();
8016
9131
 
8017
9132
  var $RangeError = RangeError;
9133
+ var floor = Math.floor;
8018
9134
 
8019
9135
  // `String.prototype.repeat` method implementation
8020
9136
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -8023,7 +9139,7 @@ function requireStringRepeat () {
8023
9139
  var result = '';
8024
9140
  var n = toIntegerOrInfinity(count);
8025
9141
  if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');
8026
- for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
9142
+ for (;n > 0; (n = floor(n / 2)) && (str += str)) if (n % 2) result += str;
8027
9143
  return result;
8028
9144
  };
8029
9145
  return stringRepeat;
@@ -8051,9 +9167,10 @@ function requireStringPad () {
8051
9167
  var S = toString(requireObjectCoercible($this));
8052
9168
  var intMaxLength = toLength(maxLength);
8053
9169
  var stringLength = S.length;
9170
+ if (intMaxLength <= stringLength) return S;
8054
9171
  var fillStr = fillString === undefined ? ' ' : toString(fillString);
8055
9172
  var fillLen, stringFiller;
8056
- if (intMaxLength <= stringLength || fillStr === '') return S;
9173
+ if (fillStr === '') return S;
8057
9174
  fillLen = intMaxLength - stringLength;
8058
9175
  stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
8059
9176
  if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
@@ -8607,9 +9724,15 @@ function requireEs_array_includes () {
8607
9724
  return !Array(1).includes();
8608
9725
  });
8609
9726
 
9727
+ // Safari 26.4- bug
9728
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
9729
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
9730
+ return [, 1].includes(undefined, 1);
9731
+ });
9732
+
8610
9733
  // `Array.prototype.includes` method
8611
9734
  // https://tc39.es/ecma262/#sec-array.prototype.includes
8612
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
9735
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
8613
9736
  includes: function includes(el /* , fromIndex = 0 */) {
8614
9737
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
8615
9738
  }
@@ -9582,7 +10705,7 @@ const extend = _Object$assign;
9582
10705
  * @returns Argument a.
9583
10706
  */
9584
10707
  function selectiveExtend(props, a) {
9585
- if (!_Array$isArray(props)) {
10708
+ if (!_Array$isArray$1(props)) {
9586
10709
  throw new Error("Array with property names expected as first argument");
9587
10710
  }
9588
10711
  for (var _len = arguments.length, others = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
@@ -9614,7 +10737,7 @@ function selectiveExtend(props, a) {
9614
10737
  function selectiveDeepExtend(props, a, b) {
9615
10738
  let allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
9616
10739
  // TODO: add support for Arrays to deepExtend
9617
- if (_Array$isArray(b)) {
10740
+ if (_Array$isArray$1(b)) {
9618
10741
  throw new TypeError("Arrays are not supported by deepExtend");
9619
10742
  }
9620
10743
  for (let p = 0; p < props.length; p++) {
@@ -9629,7 +10752,7 @@ function selectiveDeepExtend(props, a, b) {
9629
10752
  } else {
9630
10753
  copyOrDelete(a, b, prop, allowDeletion);
9631
10754
  }
9632
- } else if (_Array$isArray(b[prop])) {
10755
+ } else if (_Array$isArray$1(b[prop])) {
9633
10756
  throw new TypeError("Arrays are not supported by deepExtend");
9634
10757
  } else {
9635
10758
  copyOrDelete(a, b, prop, allowDeletion);
@@ -9656,7 +10779,7 @@ function selectiveNotDeepExtend(propsToExclude, a, b) {
9656
10779
  let allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
9657
10780
  // TODO: add support for Arrays to deepExtend
9658
10781
  // NOTE: array properties have an else-below; apparently, there is a problem here.
9659
- if (_Array$isArray(b)) {
10782
+ if (_Array$isArray$1(b)) {
9660
10783
  throw new TypeError("Arrays are not supported by deepExtend");
9661
10784
  }
9662
10785
  for (const prop in b) {
@@ -9675,7 +10798,7 @@ function selectiveNotDeepExtend(propsToExclude, a, b) {
9675
10798
  } else {
9676
10799
  copyOrDelete(a, b, prop, allowDeletion);
9677
10800
  }
9678
- } else if (_Array$isArray(b[prop])) {
10801
+ } else if (_Array$isArray$1(b[prop])) {
9679
10802
  a[prop] = [];
9680
10803
  for (let i = 0; i < b[prop].length; i++) {
9681
10804
  a[prop].push(b[prop][i]);
@@ -9709,9 +10832,9 @@ function deepExtend(a, b) {
9709
10832
  } else {
9710
10833
  copyOrDelete(a, b, prop, allowDeletion);
9711
10834
  }
9712
- } else if (_Array$isArray(b[prop])) {
10835
+ } else if (_Array$isArray$1(b[prop])) {
9713
10836
  var _context;
9714
- a[prop] = _sliceInstanceProperty(_context = b[prop]).call(_context);
10837
+ a[prop] = _sliceInstanceProperty$1(_context = b[prop]).call(_context);
9715
10838
  } else {
9716
10839
  copyOrDelete(a, b, prop, allowDeletion);
9717
10840
  }
@@ -9756,7 +10879,7 @@ function getType(object) {
9756
10879
  if (object instanceof String) {
9757
10880
  return "String";
9758
10881
  }
9759
- if (_Array$isArray(object)) {
10882
+ if (_Array$isArray$1(object)) {
9760
10883
  return "Array";
9761
10884
  }
9762
10885
  if (object instanceof Date) {
@@ -9793,7 +10916,7 @@ function copyAndExtendArray(arr, newValue) {
9793
10916
  * @returns Shallow copy of arr.
9794
10917
  */
9795
10918
  function copyArray(arr) {
9796
- return _sliceInstanceProperty(arr).call(arr);
10919
+ return _sliceInstanceProperty$1(arr).call(arr);
9797
10920
  }
9798
10921
  /**
9799
10922
  * Retrieve the absolute left value of a DOM element.
@@ -9853,7 +10976,7 @@ function removeClassName(elem, classNames) {
9853
10976
  * @param callback - Array.forEach-like callback.
9854
10977
  */
9855
10978
  function forEach(object, callback) {
9856
- if (_Array$isArray(object)) {
10979
+ if (_Array$isArray$1(object)) {
9857
10980
  // array
9858
10981
  const len = object.length;
9859
10982
  for (let i = 0; i < len; i++) {
@@ -10104,7 +11227,7 @@ function overrideOpacity(color, opacity) {
10104
11227
  */
10105
11228
  function RGBToHex(red, green, blue) {
10106
11229
  var _context2;
10107
- return "#" + _sliceInstanceProperty(_context2 = ((1 << 24) + (red << 16) + (green << 8) + blue).toString(16)).call(_context2, 1);
11230
+ return "#" + _sliceInstanceProperty$1(_context2 = ((1 << 24) + (red << 16) + (green << 8) + blue).toString(16)).call(_context2, 1);
10108
11231
  }
10109
11232
  /**
10110
11233
  * Parse a color property into an object with border, background, and highlight colors.
@@ -10262,7 +11385,10 @@ function splitCSSText(cssText) {
10262
11385
  */
10263
11386
  function addCssText(element, cssText) {
10264
11387
  const cssStyle = splitCSSText(cssText);
10265
- for (const [key, value] of _Object$entries(cssStyle)) {
11388
+ for (const _ref of _Object$entries(cssStyle)) {
11389
+ var _ref2 = _slicedToArray(_ref, 2);
11390
+ const key = _ref2[0];
11391
+ const value = _ref2[1];
10266
11392
  element.style.setProperty(key, value);
10267
11393
  }
10268
11394
  }
@@ -10788,7 +11914,7 @@ function getScrollBarWidth() {
10788
11914
  */
10789
11915
  function topMost(pile, accessors) {
10790
11916
  let candidate;
10791
- if (!_Array$isArray(accessors)) {
11917
+ if (!_Array$isArray$1(accessors)) {
10792
11918
  accessors = [accessors];
10793
11919
  }
10794
11920
  for (const member of pile) {
@@ -11315,7 +12441,7 @@ let ColorPicker$1 = class ColorPicker {
11315
12441
  this.opacityRange.type = "range"; // Not supported on IE9
11316
12442
  this.opacityRange.min = "0";
11317
12443
  this.opacityRange.max = "100";
11318
- } catch (err) {
12444
+ } catch (_unused) {
11319
12445
  // TODO: Add some error handling.
11320
12446
  }
11321
12447
  this.opacityRange.value = "100";
@@ -11325,7 +12451,7 @@ let ColorPicker$1 = class ColorPicker {
11325
12451
  this.brightnessRange.type = "range"; // Not supported on IE9
11326
12452
  this.brightnessRange.min = "0";
11327
12453
  this.brightnessRange.max = "100";
11328
- } catch (err) {
12454
+ } catch (_unused2) {
11329
12455
  // TODO: Add some error handling.
11330
12456
  }
11331
12457
  this.brightnessRange.value = "100";
@@ -11514,7 +12640,7 @@ function wrapInTag() {
11514
12640
  return document.createTextNode(rest[0]);
11515
12641
  } else {
11516
12642
  const element = document.createElement(rest[0]);
11517
- element.appendChild(wrapInTag(..._sliceInstanceProperty(rest).call(rest, 1)));
12643
+ element.appendChild(wrapInTag(..._sliceInstanceProperty$1(rest).call(rest, 1)));
11518
12644
  return element;
11519
12645
  }
11520
12646
  }
@@ -11577,7 +12703,7 @@ let Configurator$1 = class Configurator {
11577
12703
  let enabled = true;
11578
12704
  if (typeof options === "string") {
11579
12705
  this.options.filter = options;
11580
- } else if (_Array$isArray(options)) {
12706
+ } else if (_Array$isArray$1(options)) {
11581
12707
  this.options.filter = options.join();
11582
12708
  } else if (typeof options === "object") {
11583
12709
  if (options == null) {
@@ -11824,7 +12950,7 @@ let Configurator$1 = class Configurator {
11824
12950
  range.type = "range"; // not supported on IE9
11825
12951
  range.min = min;
11826
12952
  range.max = max;
11827
- } catch (err) {
12953
+ } catch (_unused) {
11828
12954
  // TODO: Add some error handling.
11829
12955
  }
11830
12956
  range.step = step;
@@ -12094,7 +13220,7 @@ let Configurator$1 = class Configurator {
12094
13220
 
12095
13221
  // if needed we must go deeper into the object.
12096
13222
  if (show === false) {
12097
- if (!_Array$isArray(item) && typeof item !== "string" && typeof item !== "boolean" && item instanceof Object) {
13223
+ if (!_Array$isArray$1(item) && typeof item !== "string" && typeof item !== "boolean" && item instanceof Object) {
12098
13224
  this.allowCreation = false;
12099
13225
  show = this._handleObject(item, newPath, true);
12100
13226
  this.allowCreation = checkOnly === false;
@@ -12104,7 +13230,7 @@ let Configurator$1 = class Configurator {
12104
13230
  if (show !== false) {
12105
13231
  visibleInSet = true;
12106
13232
  const value = this._getValue(newPath);
12107
- if (_Array$isArray(item)) {
13233
+ if (_Array$isArray$1(item)) {
12108
13234
  this._handleArray(item, value, newPath);
12109
13235
  } else if (typeof item === "string") {
12110
13236
  this._makeTextInput(item, value, newPath);
@@ -12498,7 +13624,7 @@ let Validator$1 = class Validator {
12498
13624
  if (object instanceof String) {
12499
13625
  return "string";
12500
13626
  }
12501
- if (_Array$isArray(object)) {
13627
+ if (_Array$isArray$1(object)) {
12502
13628
  return "array";
12503
13629
  }
12504
13630
  if (object instanceof Date) {
@@ -12564,6 +13690,7 @@ let Validator$1 = class Validator {
12564
13690
  let closestMatchPath = [];
12565
13691
  const lowerCaseOption = option.toLowerCase();
12566
13692
  let indexMatch = undefined;
13693
+ // oxlint-disable-next-line guard-for-in -- Options use prototype inheritance to override defaults, parent options, etc.
12567
13694
  for (const op in options) {
12568
13695
  let distance;
12569
13696
  if (options[op].__type__ !== undefined && recursive === true) {