@deephaven/js-plugin-matplotlib 0.3.1-alpha.12 → 0.3.1-alpha.18

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 (2) hide show
  1. package/dist/index.js +1708 -1548
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -121,11 +121,11 @@ shouldUseNative() ? Object.assign : function(target, source) {
121
121
  * This source code is licensed under the MIT license found in the
122
122
  * LICENSE file in the root directory of this source tree.
123
123
  */
124
- var f$2 = React, g$4 = 60103;
124
+ var f$2 = React, g$5 = 60103;
125
125
  reactJsxRuntime_production_min.Fragment = 60107;
126
126
  if ("function" === typeof Symbol && Symbol.for) {
127
127
  var h$2 = Symbol.for;
128
- g$4 = h$2("react.element");
128
+ g$5 = h$2("react.element");
129
129
  reactJsxRuntime_production_min.Fragment = h$2("react.fragment");
130
130
  }
131
131
  var m$2 = f$2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n$2 = Object.prototype.hasOwnProperty, p$2 = { key: true, ref: true, __self: true, __source: true };
@@ -139,7 +139,7 @@ function q$2(c2, a, k2) {
139
139
  if (c2 && c2.defaultProps)
140
140
  for (b2 in a = c2.defaultProps, a)
141
141
  void 0 === d2[b2] && (d2[b2] = a[b2]);
142
- return { $$typeof: g$4, type: c2, key: e2, ref: l2, props: d2, _owner: m$2.current };
142
+ return { $$typeof: g$5, type: c2, key: e2, ref: l2, props: d2, _owner: m$2.current };
143
143
  }
144
144
  reactJsxRuntime_production_min.jsx = q$2;
145
145
  reactJsxRuntime_production_min.jsxs = q$2;
@@ -699,7 +699,7 @@ var jquery = {
699
699
  }
700
700
  };
701
701
  /*!
702
- * jQuery JavaScript Library v3.6.1
702
+ * jQuery JavaScript Library v3.6.4
703
703
  * https://jquery.com/
704
704
  *
705
705
  * Includes Sizzle.js
@@ -709,7 +709,7 @@ var jquery = {
709
709
  * Released under the MIT license
710
710
  * https://jquery.org/license
711
711
  *
712
- * Date: 2022-08-26T17:52Z
712
+ * Date: 2023-03-08T15:28Z
713
713
  */
714
714
  (function(module2) {
715
715
  (function(global2, factory) {
@@ -731,7 +731,7 @@ var jquery = {
731
731
  return arr.concat.apply([], array);
732
732
  };
733
733
  var push = arr.push;
734
- var indexOf2 = arr.indexOf;
734
+ var indexOf3 = arr.indexOf;
735
735
  var class2type = {};
736
736
  var toString2 = class2type.toString;
737
737
  var hasOwn2 = class2type.hasOwnProperty;
@@ -771,7 +771,7 @@ var jquery = {
771
771
  }
772
772
  return typeof obj === "object" || typeof obj === "function" ? class2type[toString2.call(obj)] || "object" : typeof obj;
773
773
  }
774
- var version2 = "3.6.1", jQuery = function(selector, context) {
774
+ var version2 = "3.6.4", jQuery = function(selector, context) {
775
775
  return new jQuery.fn.init(selector, context);
776
776
  };
777
777
  jQuery.fn = jQuery.prototype = {
@@ -947,7 +947,7 @@ var jquery = {
947
947
  return ret;
948
948
  },
949
949
  inArray: function(elem, arr2, i) {
950
- return arr2 == null ? -1 : indexOf2.call(arr2, elem, i);
950
+ return arr2 == null ? -1 : indexOf3.call(arr2, elem, i);
951
951
  },
952
952
  // Support: Android <=4.0 only, PhantomJS 1 only
953
953
  // push.apply(_, arraylike) throws on ancient WebKit
@@ -1014,14 +1014,14 @@ var jquery = {
1014
1014
  }
1015
1015
  var Sizzle = (
1016
1016
  /*!
1017
- * Sizzle CSS Selector Engine v2.3.6
1017
+ * Sizzle CSS Selector Engine v2.3.10
1018
1018
  * https://sizzlejs.com/
1019
1019
  *
1020
1020
  * Copyright JS Foundation and other contributors
1021
1021
  * Released under the MIT license
1022
1022
  * https://js.foundation/
1023
1023
  *
1024
- * Date: 2021-02-16
1024
+ * Date: 2023-02-14
1025
1025
  */
1026
1026
  function(window3) {
1027
1027
  var i, support2, Expr, getText, isXML, tokenize, compile, select, outermostContext, sortInput, hasDuplicate, setDocument, document3, docElem, documentIsHTML, rbuggyQSA, rbuggyMatches, matches, contains, expando = "sizzle" + 1 * new Date(), preferredDoc = window3.document, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function(a, b2) {
@@ -1029,7 +1029,7 @@ var jquery = {
1029
1029
  hasDuplicate = true;
1030
1030
  }
1031
1031
  return 0;
1032
- }, hasOwn3 = {}.hasOwnProperty, arr2 = [], pop = arr2.pop, pushNative = arr2.push, push2 = arr2.push, slice3 = arr2.slice, indexOf3 = function(list, elem) {
1032
+ }, hasOwn3 = {}.hasOwnProperty, arr2 = [], pop = arr2.pop, pushNative = arr2.push, push2 = arr2.push, slice3 = arr2.slice, indexOf4 = function(list, elem) {
1033
1033
  var i2 = 0, len = list.length;
1034
1034
  for (; i2 < len; i2++) {
1035
1035
  if (list[i2] === elem) {
@@ -1040,7 +1040,7 @@ var jquery = {
1040
1040
  }, booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", whitespace2 = "[\\x20\\t\\r\\n\\f]", identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace2 + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", attributes = "\\[" + whitespace2 + "*(" + identifier + ")(?:" + whitespace2 + // Operator (capture 2)
1041
1041
  "*([*^$|!~]?=)" + whitespace2 + // "Attribute values must be CSS identifiers [capture 5]
1042
1042
  // or strings [capture 3 or capture 4]"
1043
- `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + identifier + "))|)" + whitespace2 + "*\\]", pseudos = ":(" + identifier + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + attributes + ")*)|.*)\\)|)", rwhitespace = new RegExp(whitespace2 + "+", "g"), rtrim2 = new RegExp("^" + whitespace2 + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace2 + "+$", "g"), rcomma = new RegExp("^" + whitespace2 + "*," + whitespace2 + "*"), rcombinators = new RegExp("^" + whitespace2 + "*([>+~]|" + whitespace2 + ")" + whitespace2 + "*"), rdescend = new RegExp(whitespace2 + "|>"), rpseudo = new RegExp(pseudos), ridentifier = new RegExp("^" + identifier + "$"), matchExpr = {
1043
+ `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + identifier + "))|)" + whitespace2 + "*\\]", pseudos = ":(" + identifier + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + attributes + ")*)|.*)\\)|)", rwhitespace = new RegExp(whitespace2 + "+", "g"), rtrim2 = new RegExp("^" + whitespace2 + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace2 + "+$", "g"), rcomma = new RegExp("^" + whitespace2 + "*," + whitespace2 + "*"), rleadingCombinator = new RegExp("^" + whitespace2 + "*([>+~]|" + whitespace2 + ")" + whitespace2 + "*"), rdescend = new RegExp(whitespace2 + "|>"), rpseudo = new RegExp(pseudos), ridentifier = new RegExp("^" + identifier + "$"), matchExpr = {
1044
1044
  "ID": new RegExp("^#(" + identifier + ")"),
1045
1045
  "CLASS": new RegExp("^\\.(" + identifier + ")"),
1046
1046
  "TAG": new RegExp("^(" + identifier + "|[*])"),
@@ -1144,7 +1144,7 @@ var jquery = {
1144
1144
  (nodeType !== 1 || context.nodeName.toLowerCase() !== "object")) {
1145
1145
  newSelector = selector;
1146
1146
  newContext = context;
1147
- if (nodeType === 1 && (rdescend.test(selector) || rcombinators.test(selector))) {
1147
+ if (nodeType === 1 && (rdescend.test(selector) || rleadingCombinator.test(selector))) {
1148
1148
  newContext = rsibling.test(selector) && testContext(context.parentNode) || context;
1149
1149
  if (newContext !== context || !support2.scope) {
1150
1150
  if (nid = context.getAttribute("id")) {
@@ -1299,6 +1299,14 @@ var jquery = {
1299
1299
  docElem.appendChild(el).appendChild(document3.createElement("div"));
1300
1300
  return typeof el.querySelectorAll !== "undefined" && !el.querySelectorAll(":scope fieldset div").length;
1301
1301
  });
1302
+ support2.cssHas = assert(function() {
1303
+ try {
1304
+ document3.querySelector(":has(*,:jqfake)");
1305
+ return false;
1306
+ } catch (e2) {
1307
+ return true;
1308
+ }
1309
+ });
1302
1310
  support2.attributes = assert(function(el) {
1303
1311
  el.className = "i";
1304
1312
  return !el.getAttribute("className");
@@ -1433,11 +1441,14 @@ var jquery = {
1433
1441
  rbuggyMatches.push("!=", pseudos);
1434
1442
  });
1435
1443
  }
1444
+ if (!support2.cssHas) {
1445
+ rbuggyQSA.push(":has");
1446
+ }
1436
1447
  rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|"));
1437
1448
  rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|"));
1438
1449
  hasCompare = rnative.test(docElem.compareDocumentPosition);
1439
1450
  contains = hasCompare || rnative.test(docElem.contains) ? function(a, b2) {
1440
- var adown = a.nodeType === 9 ? a.documentElement : a, bup = b2 && b2.parentNode;
1451
+ var adown = a.nodeType === 9 && a.documentElement || a, bup = b2 && b2.parentNode;
1441
1452
  return a === bup || !!(bup && bup.nodeType === 1 && (adown.contains ? adown.contains(bup) : a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16));
1442
1453
  } : function(a, b2) {
1443
1454
  if (b2) {
@@ -1469,7 +1480,7 @@ var jquery = {
1469
1480
  if (b2 == document3 || b2.ownerDocument == preferredDoc && contains(preferredDoc, b2)) {
1470
1481
  return 1;
1471
1482
  }
1472
- return sortInput ? indexOf3(sortInput, a) - indexOf3(sortInput, b2) : 0;
1483
+ return sortInput ? indexOf4(sortInput, a) - indexOf4(sortInput, b2) : 0;
1473
1484
  }
1474
1485
  return compare & 4 ? -1 : 1;
1475
1486
  } : function(a, b2) {
@@ -1481,7 +1492,7 @@ var jquery = {
1481
1492
  if (!aup || !bup) {
1482
1493
  return a == document3 ? -1 : b2 == document3 ? 1 : (
1483
1494
  /* eslint-enable eqeqeq */
1484
- aup ? -1 : bup ? 1 : sortInput ? indexOf3(sortInput, a) - indexOf3(sortInput, b2) : 0
1495
+ aup ? -1 : bup ? 1 : sortInput ? indexOf4(sortInput, a) - indexOf4(sortInput, b2) : 0
1485
1496
  );
1486
1497
  } else if (aup === bup) {
1487
1498
  return siblingCheck(a, b2);
@@ -1750,7 +1761,7 @@ var jquery = {
1750
1761
  return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function(seed2, matches2) {
1751
1762
  var idx, matched = fn(seed2, argument), i2 = matched.length;
1752
1763
  while (i2--) {
1753
- idx = indexOf3(seed2, matched[i2]);
1764
+ idx = indexOf4(seed2, matched[i2]);
1754
1765
  seed2[idx] = !(matches2[idx] = matched[i2]);
1755
1766
  }
1756
1767
  }) : function(elem) {
@@ -1861,7 +1872,7 @@ var jquery = {
1861
1872
  },
1862
1873
  "text": function(elem) {
1863
1874
  var attr;
1864
- return elem.nodeName.toLowerCase() === "input" && elem.type === "text" && // Support: IE<8
1875
+ return elem.nodeName.toLowerCase() === "input" && elem.type === "text" && // Support: IE <10 only
1865
1876
  // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
1866
1877
  ((attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text");
1867
1878
  },
@@ -1932,7 +1943,7 @@ var jquery = {
1932
1943
  groups.push(tokens = []);
1933
1944
  }
1934
1945
  matched = false;
1935
- if (match = rcombinators.exec(soFar)) {
1946
+ if (match = rleadingCombinator.exec(soFar)) {
1936
1947
  matched = match.shift();
1937
1948
  tokens.push({
1938
1949
  value: matched,
@@ -2095,7 +2106,7 @@ var jquery = {
2095
2106
  }
2096
2107
  i2 = matcherOut.length;
2097
2108
  while (i2--) {
2098
- if ((elem = matcherOut[i2]) && (temp = postFinder ? indexOf3(seed2, elem) : preMap[i2]) > -1) {
2109
+ if ((elem = matcherOut[i2]) && (temp = postFinder ? indexOf4(seed2, elem) : preMap[i2]) > -1) {
2099
2110
  seed2[temp] = !(results[temp] = elem);
2100
2111
  }
2101
2112
  }
@@ -2116,7 +2127,7 @@ var jquery = {
2116
2127
  var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[tokens[0].type], implicitRelative = leadingRelative || Expr.relative[" "], i2 = leadingRelative ? 1 : 0, matchContext = addCombinator(function(elem) {
2117
2128
  return elem === checkContext;
2118
2129
  }, implicitRelative, true), matchAnyContext = addCombinator(function(elem) {
2119
- return indexOf3(checkContext, elem) > -1;
2130
+ return indexOf4(checkContext, elem) > -1;
2120
2131
  }, implicitRelative, true), matchers = [function(elem, context, xml) {
2121
2132
  var ret = !leadingRelative && (xml || context !== outermostContext) || ((checkContext = context).nodeType ? matchContext(elem, context, xml) : matchAnyContext(elem, context, xml));
2122
2133
  checkContext = null;
@@ -2367,7 +2378,7 @@ var jquery = {
2367
2378
  }
2368
2379
  if (typeof qualifier !== "string") {
2369
2380
  return jQuery.grep(elements, function(elem) {
2370
- return indexOf2.call(qualifier, elem) > -1 !== not;
2381
+ return indexOf3.call(qualifier, elem) > -1 !== not;
2371
2382
  });
2372
2383
  }
2373
2384
  return jQuery.filter(qualifier, elements, not);
@@ -2516,9 +2527,9 @@ var jquery = {
2516
2527
  return this[0] && this[0].parentNode ? this.first().prevAll().length : -1;
2517
2528
  }
2518
2529
  if (typeof elem === "string") {
2519
- return indexOf2.call(jQuery(elem), this[0]);
2530
+ return indexOf3.call(jQuery(elem), this[0]);
2520
2531
  }
2521
- return indexOf2.call(
2532
+ return indexOf3.call(
2522
2533
  this,
2523
2534
  // If it receives a jQuery object, the first element is used
2524
2535
  elem.jquery ? elem[0] : elem
@@ -4507,8 +4518,8 @@ var jquery = {
4507
4518
  computed = computed || getStyles(elem);
4508
4519
  if (computed) {
4509
4520
  ret = computed.getPropertyValue(name) || computed[name];
4510
- if (isCustomProp) {
4511
- ret = ret.replace(rtrimCSS, "$1");
4521
+ if (isCustomProp && ret) {
4522
+ ret = ret.replace(rtrimCSS, "$1") || void 0;
4512
4523
  }
4513
4524
  if (ret === "" && !isAttached(elem)) {
4514
4525
  ret = jQuery.style(elem, name);
@@ -12412,13 +12423,9 @@ var shams$1 = function hasSymbols() {
12412
12423
  }
12413
12424
  return true;
12414
12425
  };
12415
- var hasSymbols$5 = shams$1;
12416
- var shams = function hasToStringTagShams() {
12417
- return hasSymbols$5() && !!Symbol.toStringTag;
12418
- };
12419
12426
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
12420
12427
  var hasSymbolSham = shams$1;
12421
- var hasSymbols$4 = function hasNativeSymbols() {
12428
+ var hasSymbols$5 = function hasNativeSymbols() {
12422
12429
  if (typeof origSymbol !== "function") {
12423
12430
  return false;
12424
12431
  }
@@ -12481,39 +12488,39 @@ var functionBind = Function.prototype.bind || implementation$9;
12481
12488
  var bind$1 = functionBind;
12482
12489
  var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
12483
12490
  var undefined$1;
12484
- var $SyntaxError = SyntaxError;
12491
+ var $SyntaxError$1 = SyntaxError;
12485
12492
  var $Function = Function;
12486
- var $TypeError$1 = TypeError;
12493
+ var $TypeError$2 = TypeError;
12487
12494
  var getEvalledConstructor = function(expressionSyntax) {
12488
12495
  try {
12489
12496
  return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
12490
12497
  } catch (e2) {
12491
12498
  }
12492
12499
  };
12493
- var $gOPD$1 = Object.getOwnPropertyDescriptor;
12494
- if ($gOPD$1) {
12500
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
12501
+ if ($gOPD$2) {
12495
12502
  try {
12496
- $gOPD$1({}, "");
12503
+ $gOPD$2({}, "");
12497
12504
  } catch (e2) {
12498
- $gOPD$1 = null;
12505
+ $gOPD$2 = null;
12499
12506
  }
12500
12507
  }
12501
12508
  var throwTypeError = function() {
12502
- throw new $TypeError$1();
12509
+ throw new $TypeError$2();
12503
12510
  };
12504
- var ThrowTypeError = $gOPD$1 ? function() {
12511
+ var ThrowTypeError = $gOPD$2 ? function() {
12505
12512
  try {
12506
12513
  arguments.callee;
12507
12514
  return throwTypeError;
12508
12515
  } catch (calleeThrows) {
12509
12516
  try {
12510
- return $gOPD$1(arguments, "callee").get;
12517
+ return $gOPD$2(arguments, "callee").get;
12511
12518
  } catch (gOPDthrows) {
12512
12519
  return throwTypeError;
12513
12520
  }
12514
12521
  }
12515
12522
  }() : throwTypeError;
12516
- var hasSymbols$3 = hasSymbols$4();
12523
+ var hasSymbols$4 = hasSymbols$5();
12517
12524
  var getProto$1 = Object.getPrototypeOf || function(x) {
12518
12525
  return x.__proto__;
12519
12526
  };
@@ -12523,7 +12530,7 @@ var INTRINSICS = {
12523
12530
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
12524
12531
  "%Array%": Array,
12525
12532
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
12526
- "%ArrayIteratorPrototype%": hasSymbols$3 ? getProto$1([][Symbol.iterator]()) : undefined$1,
12533
+ "%ArrayIteratorPrototype%": hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$1,
12527
12534
  "%AsyncFromSyncIteratorPrototype%": undefined$1,
12528
12535
  "%AsyncFunction%": needsEval,
12529
12536
  "%AsyncGenerator%": needsEval,
@@ -12531,6 +12538,8 @@ var INTRINSICS = {
12531
12538
  "%AsyncIteratorPrototype%": needsEval,
12532
12539
  "%Atomics%": typeof Atomics === "undefined" ? undefined$1 : Atomics,
12533
12540
  "%BigInt%": typeof BigInt === "undefined" ? undefined$1 : BigInt,
12541
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$1 : BigInt64Array,
12542
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$1 : BigUint64Array,
12534
12543
  "%Boolean%": Boolean,
12535
12544
  "%DataView%": typeof DataView === "undefined" ? undefined$1 : DataView,
12536
12545
  "%Date%": Date,
@@ -12552,10 +12561,10 @@ var INTRINSICS = {
12552
12561
  "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
12553
12562
  "%isFinite%": isFinite,
12554
12563
  "%isNaN%": isNaN,
12555
- "%IteratorPrototype%": hasSymbols$3 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
12564
+ "%IteratorPrototype%": hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
12556
12565
  "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
12557
12566
  "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
12558
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$3 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
12567
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$4 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
12559
12568
  "%Math%": Math,
12560
12569
  "%Number%": Number,
12561
12570
  "%Object%": Object,
@@ -12568,15 +12577,15 @@ var INTRINSICS = {
12568
12577
  "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
12569
12578
  "%RegExp%": RegExp,
12570
12579
  "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
12571
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$3 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
12580
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$4 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
12572
12581
  "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
12573
12582
  "%String%": String,
12574
- "%StringIteratorPrototype%": hasSymbols$3 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
12575
- "%Symbol%": hasSymbols$3 ? Symbol : undefined$1,
12576
- "%SyntaxError%": $SyntaxError,
12583
+ "%StringIteratorPrototype%": hasSymbols$4 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
12584
+ "%Symbol%": hasSymbols$4 ? Symbol : undefined$1,
12585
+ "%SyntaxError%": $SyntaxError$1,
12577
12586
  "%ThrowTypeError%": ThrowTypeError,
12578
12587
  "%TypedArray%": TypedArray,
12579
- "%TypeError%": $TypeError$1,
12588
+ "%TypeError%": $TypeError$2,
12580
12589
  "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$1 : Uint8Array,
12581
12590
  "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$1 : Uint8ClampedArray,
12582
12591
  "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$1 : Uint16Array,
@@ -12586,6 +12595,12 @@ var INTRINSICS = {
12586
12595
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
12587
12596
  "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
12588
12597
  };
12598
+ try {
12599
+ null.error;
12600
+ } catch (e2) {
12601
+ var errorProto = getProto$1(getProto$1(e2));
12602
+ INTRINSICS["%Error.prototype%"] = errorProto;
12603
+ }
12589
12604
  var doEval = function doEval2(name) {
12590
12605
  var value;
12591
12606
  if (name === "%AsyncFunction%") {
@@ -12674,9 +12689,9 @@ var stringToPath = function stringToPath2(string) {
12674
12689
  var first = $strSlice(string, 0, 1);
12675
12690
  var last = $strSlice(string, -1);
12676
12691
  if (first === "%" && last !== "%") {
12677
- throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
12692
+ throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
12678
12693
  } else if (last === "%" && first !== "%") {
12679
- throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
12694
+ throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
12680
12695
  }
12681
12696
  var result = [];
12682
12697
  $replace$1(string, rePropName, function(match, number, quote2, subString) {
@@ -12697,7 +12712,7 @@ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
12697
12712
  value = doEval(intrinsicName);
12698
12713
  }
12699
12714
  if (typeof value === "undefined" && !allowMissing) {
12700
- throw new $TypeError$1("intrinsic " + name + " exists, but is not available. Please file an issue!");
12715
+ throw new $TypeError$2("intrinsic " + name + " exists, but is not available. Please file an issue!");
12701
12716
  }
12702
12717
  return {
12703
12718
  alias,
@@ -12705,17 +12720,17 @@ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
12705
12720
  value
12706
12721
  };
12707
12722
  }
12708
- throw new $SyntaxError("intrinsic " + name + " does not exist!");
12723
+ throw new $SyntaxError$1("intrinsic " + name + " does not exist!");
12709
12724
  };
12710
12725
  var getIntrinsic = function GetIntrinsic(name, allowMissing) {
12711
12726
  if (typeof name !== "string" || name.length === 0) {
12712
- throw new $TypeError$1("intrinsic name must be a non-empty string");
12727
+ throw new $TypeError$2("intrinsic name must be a non-empty string");
12713
12728
  }
12714
12729
  if (arguments.length > 1 && typeof allowMissing !== "boolean") {
12715
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
12730
+ throw new $TypeError$2('"allowMissing" argument must be a boolean');
12716
12731
  }
12717
12732
  if ($exec$1(/^%?[^%]*%?$/, name) === null) {
12718
- throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
12733
+ throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
12719
12734
  }
12720
12735
  var parts = stringToPath(name);
12721
12736
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
@@ -12733,7 +12748,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
12733
12748
  var first = $strSlice(part, 0, 1);
12734
12749
  var last = $strSlice(part, -1);
12735
12750
  if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
12736
- throw new $SyntaxError("property names with quotes must have matching quotes");
12751
+ throw new $SyntaxError$1("property names with quotes must have matching quotes");
12737
12752
  }
12738
12753
  if (part === "constructor" || !isOwn) {
12739
12754
  skipFurtherCaching = true;
@@ -12745,12 +12760,12 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
12745
12760
  } else if (value != null) {
12746
12761
  if (!(part in value)) {
12747
12762
  if (!allowMissing) {
12748
- throw new $TypeError$1("base intrinsic for " + name + " exists, but the property is not available.");
12763
+ throw new $TypeError$2("base intrinsic for " + name + " exists, but the property is not available.");
12749
12764
  }
12750
12765
  return void 0;
12751
12766
  }
12752
- if ($gOPD$1 && i + 1 >= parts.length) {
12753
- var desc = $gOPD$1(value, part);
12767
+ if ($gOPD$2 && i + 1 >= parts.length) {
12768
+ var desc = $gOPD$2(value, part);
12754
12769
  isOwn = !!desc;
12755
12770
  if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
12756
12771
  value = desc.get;
@@ -12768,8 +12783,75 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
12768
12783
  }
12769
12784
  return value;
12770
12785
  };
12786
+ var GetIntrinsic$8 = getIntrinsic;
12787
+ var $defineProperty = GetIntrinsic$8("%Object.defineProperty%", true);
12788
+ var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
12789
+ if ($defineProperty) {
12790
+ try {
12791
+ $defineProperty({}, "a", { value: 1 });
12792
+ return true;
12793
+ } catch (e2) {
12794
+ return false;
12795
+ }
12796
+ }
12797
+ return false;
12798
+ };
12799
+ hasPropertyDescriptors$1.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
12800
+ if (!hasPropertyDescriptors$1()) {
12801
+ return null;
12802
+ }
12803
+ try {
12804
+ return $defineProperty([], "length", { value: 1 }).length !== 1;
12805
+ } catch (e2) {
12806
+ return true;
12807
+ }
12808
+ };
12809
+ var hasPropertyDescriptors_1 = hasPropertyDescriptors$1;
12810
+ var keys2 = objectKeys$2;
12811
+ var hasSymbols$3 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
12812
+ var toStr$7 = Object.prototype.toString;
12813
+ var concat = Array.prototype.concat;
12814
+ var origDefineProperty = Object.defineProperty;
12815
+ var isFunction = function(fn) {
12816
+ return typeof fn === "function" && toStr$7.call(fn) === "[object Function]";
12817
+ };
12818
+ var hasPropertyDescriptors2 = hasPropertyDescriptors_1();
12819
+ var supportsDescriptors$2 = origDefineProperty && hasPropertyDescriptors2;
12820
+ var defineProperty$1 = function(object, name, value, predicate) {
12821
+ if (name in object) {
12822
+ if (predicate === true) {
12823
+ if (object[name] === value) {
12824
+ return;
12825
+ }
12826
+ } else if (!isFunction(predicate) || !predicate()) {
12827
+ return;
12828
+ }
12829
+ }
12830
+ if (supportsDescriptors$2) {
12831
+ origDefineProperty(object, name, {
12832
+ configurable: true,
12833
+ enumerable: false,
12834
+ value,
12835
+ writable: true
12836
+ });
12837
+ } else {
12838
+ object[name] = value;
12839
+ }
12840
+ };
12841
+ var defineProperties$1 = function(object, map) {
12842
+ var predicates = arguments.length > 2 ? arguments[2] : {};
12843
+ var props = keys2(map);
12844
+ if (hasSymbols$3) {
12845
+ props = concat.call(props, Object.getOwnPropertySymbols(map));
12846
+ }
12847
+ for (var i = 0; i < props.length; i += 1) {
12848
+ defineProperty$1(object, props[i], map[props[i]], predicates[props[i]]);
12849
+ }
12850
+ };
12851
+ defineProperties$1.supportsDescriptors = !!supportsDescriptors$2;
12852
+ var defineProperties_1 = defineProperties$1;
12771
12853
  var callBindExports = {};
12772
- var callBind$4 = {
12854
+ var callBind$5 = {
12773
12855
  get exports() {
12774
12856
  return callBindExports;
12775
12857
  },
@@ -12815,184 +12897,125 @@ var callBind$4 = {
12815
12897
  } else {
12816
12898
  module2.exports.apply = applyBind;
12817
12899
  }
12818
- })(callBind$4);
12819
- var GetIntrinsic$5 = getIntrinsic;
12820
- var callBind$3 = callBindExports;
12821
- var $indexOf = callBind$3(GetIntrinsic$5("String.prototype.indexOf"));
12822
- var callBound$9 = function callBoundIntrinsic(name, allowMissing) {
12823
- var intrinsic = GetIntrinsic$5(name, !!allowMissing);
12824
- if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
12825
- return callBind$3(intrinsic);
12900
+ })(callBind$5);
12901
+ var GetIntrinsic$7 = getIntrinsic;
12902
+ var callBind$4 = callBindExports;
12903
+ var $indexOf$1 = callBind$4(GetIntrinsic$7("String.prototype.indexOf"));
12904
+ var callBound$c = function callBoundIntrinsic(name, allowMissing) {
12905
+ var intrinsic = GetIntrinsic$7(name, !!allowMissing);
12906
+ if (typeof intrinsic === "function" && $indexOf$1(name, ".prototype.") > -1) {
12907
+ return callBind$4(intrinsic);
12826
12908
  }
12827
12909
  return intrinsic;
12828
12910
  };
12829
- var hasToStringTag$7 = shams();
12830
- var callBound$8 = callBound$9;
12831
- var $toString$3 = callBound$8("Object.prototype.toString");
12832
- var isStandardArguments = function isArguments2(value) {
12833
- if (hasToStringTag$7 && value && typeof value === "object" && Symbol.toStringTag in value) {
12834
- return false;
12911
+ var objectKeys$1 = objectKeys$2;
12912
+ var hasSymbols$2 = shams$1();
12913
+ var callBound$b = callBound$c;
12914
+ var toObject = Object;
12915
+ var $push = callBound$b("Array.prototype.push");
12916
+ var $propIsEnumerable = callBound$b("Object.prototype.propertyIsEnumerable");
12917
+ var originalGetSymbols = hasSymbols$2 ? Object.getOwnPropertySymbols : null;
12918
+ var implementation$8 = function assign(target, source1) {
12919
+ if (target == null) {
12920
+ throw new TypeError("target must be an object");
12835
12921
  }
12836
- return $toString$3(value) === "[object Arguments]";
12837
- };
12838
- var isLegacyArguments = function isArguments3(value) {
12839
- if (isStandardArguments(value)) {
12840
- return true;
12922
+ var to = toObject(target);
12923
+ if (arguments.length === 1) {
12924
+ return to;
12841
12925
  }
12842
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$3(value) !== "[object Array]" && $toString$3(value.callee) === "[object Function]";
12843
- };
12844
- var supportsStandardArguments = function() {
12845
- return isStandardArguments(arguments);
12846
- }();
12847
- isStandardArguments.isLegacyArguments = isLegacyArguments;
12848
- var isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
12849
- var GetIntrinsic$4 = getIntrinsic;
12850
- var $defineProperty = GetIntrinsic$4("%Object.defineProperty%", true);
12851
- var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
12852
- if ($defineProperty) {
12853
- try {
12854
- $defineProperty({}, "a", { value: 1 });
12855
- return true;
12856
- } catch (e2) {
12857
- return false;
12926
+ for (var s = 1; s < arguments.length; ++s) {
12927
+ var from = toObject(arguments[s]);
12928
+ var keys3 = objectKeys$1(from);
12929
+ var getSymbols = hasSymbols$2 && (Object.getOwnPropertySymbols || originalGetSymbols);
12930
+ if (getSymbols) {
12931
+ var syms = getSymbols(from);
12932
+ for (var j = 0; j < syms.length; ++j) {
12933
+ var key = syms[j];
12934
+ if ($propIsEnumerable(from, key)) {
12935
+ $push(keys3, key);
12936
+ }
12937
+ }
12938
+ }
12939
+ for (var i = 0; i < keys3.length; ++i) {
12940
+ var nextKey = keys3[i];
12941
+ if ($propIsEnumerable(from, nextKey)) {
12942
+ var propValue = from[nextKey];
12943
+ to[nextKey] = propValue;
12944
+ }
12858
12945
  }
12859
12946
  }
12860
- return false;
12947
+ return to;
12861
12948
  };
12862
- hasPropertyDescriptors$1.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
12863
- if (!hasPropertyDescriptors$1()) {
12864
- return null;
12865
- }
12866
- try {
12867
- return $defineProperty([], "length", { value: 1 }).length !== 1;
12868
- } catch (e2) {
12869
- return true;
12949
+ var implementation$7 = implementation$8;
12950
+ var lacksProperEnumerationOrder = function() {
12951
+ if (!Object.assign) {
12952
+ return false;
12870
12953
  }
12871
- };
12872
- var hasPropertyDescriptors_1 = hasPropertyDescriptors$1;
12873
- var keys2 = objectKeys$2;
12874
- var hasSymbols$2 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
12875
- var toStr$7 = Object.prototype.toString;
12876
- var concat = Array.prototype.concat;
12877
- var origDefineProperty = Object.defineProperty;
12878
- var isFunction = function(fn) {
12879
- return typeof fn === "function" && toStr$7.call(fn) === "[object Function]";
12880
- };
12881
- var hasPropertyDescriptors2 = hasPropertyDescriptors_1();
12882
- var supportsDescriptors$2 = origDefineProperty && hasPropertyDescriptors2;
12883
- var defineProperty$1 = function(object, name, value, predicate) {
12884
- if (name in object && (!isFunction(predicate) || !predicate())) {
12885
- return;
12954
+ var str = "abcdefghijklmnopqrst";
12955
+ var letters = str.split("");
12956
+ var map = {};
12957
+ for (var i = 0; i < letters.length; ++i) {
12958
+ map[letters[i]] = letters[i];
12886
12959
  }
12887
- if (supportsDescriptors$2) {
12888
- origDefineProperty(object, name, {
12889
- configurable: true,
12890
- enumerable: false,
12891
- value,
12892
- writable: true
12893
- });
12894
- } else {
12895
- object[name] = value;
12960
+ var obj = Object.assign({}, map);
12961
+ var actual = "";
12962
+ for (var k2 in obj) {
12963
+ actual += k2;
12896
12964
  }
12965
+ return str !== actual;
12897
12966
  };
12898
- var defineProperties$1 = function(object, map) {
12899
- var predicates = arguments.length > 2 ? arguments[2] : {};
12900
- var props = keys2(map);
12901
- if (hasSymbols$2) {
12902
- props = concat.call(props, Object.getOwnPropertySymbols(map));
12967
+ var assignHasPendingExceptions = function() {
12968
+ if (!Object.assign || !Object.preventExtensions) {
12969
+ return false;
12903
12970
  }
12904
- for (var i = 0; i < props.length; i += 1) {
12905
- defineProperty$1(object, props[i], map[props[i]], predicates[props[i]]);
12971
+ var thrower = Object.preventExtensions({ 1: 2 });
12972
+ try {
12973
+ Object.assign(thrower, "xy");
12974
+ } catch (e2) {
12975
+ return thrower[1] === "y";
12906
12976
  }
12977
+ return false;
12907
12978
  };
12908
- defineProperties$1.supportsDescriptors = !!supportsDescriptors$2;
12909
- var defineProperties_1 = defineProperties$1;
12910
- var numberIsNaN = function(value) {
12911
- return value !== value;
12912
- };
12913
- var implementation$8 = function is(a, b2) {
12914
- if (a === 0 && b2 === 0) {
12915
- return 1 / a === 1 / b2;
12979
+ var polyfill$4 = function getPolyfill() {
12980
+ if (!Object.assign) {
12981
+ return implementation$7;
12916
12982
  }
12917
- if (a === b2) {
12918
- return true;
12983
+ if (lacksProperEnumerationOrder()) {
12984
+ return implementation$7;
12919
12985
  }
12920
- if (numberIsNaN(a) && numberIsNaN(b2)) {
12921
- return true;
12986
+ if (assignHasPendingExceptions()) {
12987
+ return implementation$7;
12922
12988
  }
12923
- return false;
12924
- };
12925
- var implementation$7 = implementation$8;
12926
- var polyfill$4 = function getPolyfill() {
12927
- return typeof Object.is === "function" ? Object.is : implementation$7;
12989
+ return Object.assign;
12928
12990
  };
12929
- var getPolyfill$5 = polyfill$4;
12930
12991
  var define$3 = defineProperties_1;
12931
- var shim$5 = function shimObjectIs() {
12992
+ var getPolyfill$5 = polyfill$4;
12993
+ var shim$5 = function shimAssign() {
12932
12994
  var polyfill2 = getPolyfill$5();
12933
- define$3(Object, { is: polyfill2 }, {
12934
- is: function testObjectIs() {
12935
- return Object.is !== polyfill2;
12936
- }
12937
- });
12995
+ define$3(
12996
+ Object,
12997
+ { assign: polyfill2 },
12998
+ { assign: function() {
12999
+ return Object.assign !== polyfill2;
13000
+ } }
13001
+ );
12938
13002
  return polyfill2;
12939
13003
  };
12940
- var define$2 = defineProperties_1;
12941
- var callBind$2 = callBindExports;
13004
+ var defineProperties = defineProperties_1;
13005
+ var callBind$3 = callBindExports;
12942
13006
  var implementation$6 = implementation$8;
12943
13007
  var getPolyfill$4 = polyfill$4;
12944
13008
  var shim$4 = shim$5;
12945
- var polyfill$3 = callBind$2(getPolyfill$4(), Object);
12946
- define$2(polyfill$3, {
13009
+ var polyfill$3 = callBind$3.apply(getPolyfill$4());
13010
+ var bound = function assign2(target, source1) {
13011
+ return polyfill$3(Object, arguments);
13012
+ };
13013
+ defineProperties(bound, {
12947
13014
  getPolyfill: getPolyfill$4,
12948
13015
  implementation: implementation$6,
12949
13016
  shim: shim$4
12950
13017
  });
12951
- var objectIs = polyfill$3;
12952
- var callBound$7 = callBound$9;
12953
- var hasToStringTag$6 = shams();
12954
- var has$1;
12955
- var $exec;
12956
- var isRegexMarker;
12957
- var badStringifier;
12958
- if (hasToStringTag$6) {
12959
- has$1 = callBound$7("Object.prototype.hasOwnProperty");
12960
- $exec = callBound$7("RegExp.prototype.exec");
12961
- isRegexMarker = {};
12962
- var throwRegexMarker = function() {
12963
- throw isRegexMarker;
12964
- };
12965
- badStringifier = {
12966
- toString: throwRegexMarker,
12967
- valueOf: throwRegexMarker
12968
- };
12969
- if (typeof Symbol.toPrimitive === "symbol") {
12970
- badStringifier[Symbol.toPrimitive] = throwRegexMarker;
12971
- }
12972
- }
12973
- var $toString$2 = callBound$7("Object.prototype.toString");
12974
- var gOPD$3 = Object.getOwnPropertyDescriptor;
12975
- var regexClass = "[object RegExp]";
12976
- var isRegex$1 = hasToStringTag$6 ? function isRegex(value) {
12977
- if (!value || typeof value !== "object") {
12978
- return false;
12979
- }
12980
- var descriptor = gOPD$3(value, "lastIndex");
12981
- var hasLastIndexDataProperty = descriptor && has$1(descriptor, "value");
12982
- if (!hasLastIndexDataProperty) {
12983
- return false;
12984
- }
12985
- try {
12986
- $exec(value, badStringifier);
12987
- } catch (e2) {
12988
- return e2 === isRegexMarker;
12989
- }
12990
- } : function isRegex2(value) {
12991
- if (!value || typeof value !== "object" && typeof value !== "function") {
12992
- return false;
12993
- }
12994
- return $toString$2(value) === regexClass;
12995
- };
13018
+ var object_assign = bound;
12996
13019
  var implementationExports = {};
12997
13020
  var implementation$5 = {
12998
13021
  get exports() {
@@ -13006,19 +13029,19 @@ var functionsHaveNames = function functionsHaveNames2() {
13006
13029
  return typeof function f2() {
13007
13030
  }.name === "string";
13008
13031
  };
13009
- var gOPD$2 = Object.getOwnPropertyDescriptor;
13010
- if (gOPD$2) {
13032
+ var gOPD$4 = Object.getOwnPropertyDescriptor;
13033
+ if (gOPD$4) {
13011
13034
  try {
13012
- gOPD$2([], "length");
13035
+ gOPD$4([], "length");
13013
13036
  } catch (e2) {
13014
- gOPD$2 = null;
13037
+ gOPD$4 = null;
13015
13038
  }
13016
13039
  }
13017
13040
  functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {
13018
- if (!functionsHaveNames() || !gOPD$2) {
13041
+ if (!functionsHaveNames() || !gOPD$4) {
13019
13042
  return false;
13020
13043
  }
13021
- var desc = gOPD$2(function() {
13044
+ var desc = gOPD$4(function() {
13022
13045
  }, "name");
13023
13046
  return !!desc && !!desc.configurable;
13024
13047
  };
@@ -13066,10 +13089,10 @@ var functionsHaveNames_1 = functionsHaveNames;
13066
13089
  })(implementation$5);
13067
13090
  var implementation$4 = implementationExports;
13068
13091
  var supportsDescriptors$1 = defineProperties_1.supportsDescriptors;
13069
- var $gOPD = Object.getOwnPropertyDescriptor;
13092
+ var $gOPD$1 = Object.getOwnPropertyDescriptor;
13070
13093
  var polyfill$2 = function getPolyfill2() {
13071
13094
  if (supportsDescriptors$1 && /a/mig.flags === "gim") {
13072
- var descriptor = $gOPD(RegExp.prototype, "flags");
13095
+ var descriptor = $gOPD$1(RegExp.prototype, "flags");
13073
13096
  if (descriptor && typeof descriptor.get === "function" && typeof RegExp.prototype.dotAll === "boolean" && typeof RegExp.prototype.hasIndices === "boolean") {
13074
13097
  var calls = "";
13075
13098
  var o = {};
@@ -13092,7 +13115,7 @@ var polyfill$2 = function getPolyfill2() {
13092
13115
  };
13093
13116
  var supportsDescriptors = defineProperties_1.supportsDescriptors;
13094
13117
  var getPolyfill$3 = polyfill$2;
13095
- var gOPD$1 = Object.getOwnPropertyDescriptor;
13118
+ var gOPD$3 = Object.getOwnPropertyDescriptor;
13096
13119
  var defineProperty = Object.defineProperty;
13097
13120
  var TypeErr = TypeError;
13098
13121
  var getProto = Object.getPrototypeOf;
@@ -13103,7 +13126,7 @@ var shim$3 = function shimFlags() {
13103
13126
  }
13104
13127
  var polyfill2 = getPolyfill$3();
13105
13128
  var proto = getProto(regex);
13106
- var descriptor = gOPD$1(proto, "flags");
13129
+ var descriptor = gOPD$3(proto, "flags");
13107
13130
  if (!descriptor || descriptor.get !== polyfill2) {
13108
13131
  defineProperty(proto, "flags", {
13109
13132
  configurable: true,
@@ -13113,1407 +13136,1622 @@ var shim$3 = function shimFlags() {
13113
13136
  }
13114
13137
  return polyfill2;
13115
13138
  };
13116
- var define$1 = defineProperties_1;
13117
- var callBind$1 = callBindExports;
13139
+ var define$2 = defineProperties_1;
13140
+ var callBind$2 = callBindExports;
13118
13141
  var implementation$3 = implementationExports;
13119
13142
  var getPolyfill$2 = polyfill$2;
13120
13143
  var shim$2 = shim$3;
13121
- var flagsBound = callBind$1(getPolyfill$2());
13122
- define$1(flagsBound, {
13144
+ var flagsBound = callBind$2(getPolyfill$2());
13145
+ define$2(flagsBound, {
13123
13146
  getPolyfill: getPolyfill$2,
13124
13147
  implementation: implementation$3,
13125
13148
  shim: shim$2
13126
13149
  });
13127
13150
  var regexp_prototype_flags = flagsBound;
13128
- var toString = {}.toString;
13129
- var isarray = Array.isArray || function(arr) {
13130
- return toString.call(arr) == "[object Array]";
13131
- };
13132
- var getDay = Date.prototype.getDay;
13133
- var tryDateObject = function tryDateGetDayCall(value) {
13134
- try {
13135
- getDay.call(value);
13136
- return true;
13137
- } catch (e2) {
13138
- return false;
13151
+ var esGetIteratorExports = {};
13152
+ var esGetIterator = {
13153
+ get exports() {
13154
+ return esGetIteratorExports;
13155
+ },
13156
+ set exports(v2) {
13157
+ esGetIteratorExports = v2;
13139
13158
  }
13140
13159
  };
13141
- var toStr$6 = Object.prototype.toString;
13142
- var dateClass = "[object Date]";
13143
- var hasToStringTag$5 = shams();
13144
- var isDateObject = function isDateObject2(value) {
13145
- if (typeof value !== "object" || value === null) {
13146
- return false;
13147
- }
13148
- return hasToStringTag$5 ? tryDateObject(value) : toStr$6.call(value) === dateClass;
13160
+ var hasSymbols$1 = shams$1;
13161
+ var shams = function hasToStringTagShams() {
13162
+ return hasSymbols$1() && !!Symbol.toStringTag;
13149
13163
  };
13150
- var strValue = String.prototype.valueOf;
13151
- var tryStringObject = function tryStringObject2(value) {
13152
- try {
13153
- strValue.call(value);
13154
- return true;
13155
- } catch (e2) {
13164
+ var hasToStringTag$8 = shams();
13165
+ var callBound$a = callBound$c;
13166
+ var $toString$4 = callBound$a("Object.prototype.toString");
13167
+ var isStandardArguments = function isArguments2(value) {
13168
+ if (hasToStringTag$8 && value && typeof value === "object" && Symbol.toStringTag in value) {
13156
13169
  return false;
13157
13170
  }
13171
+ return $toString$4(value) === "[object Arguments]";
13158
13172
  };
13159
- var toStr$5 = Object.prototype.toString;
13160
- var strClass = "[object String]";
13161
- var hasToStringTag$4 = shams();
13162
- var isString$3 = function isString(value) {
13163
- if (typeof value === "string") {
13173
+ var isLegacyArguments = function isArguments3(value) {
13174
+ if (isStandardArguments(value)) {
13164
13175
  return true;
13165
13176
  }
13166
- if (typeof value !== "object") {
13167
- return false;
13168
- }
13169
- return hasToStringTag$4 ? tryStringObject(value) : toStr$5.call(value) === strClass;
13177
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$4(value) !== "[object Array]" && $toString$4(value.callee) === "[object Function]";
13170
13178
  };
13171
- var numToStr = Number.prototype.toString;
13172
- var tryNumberObject = function tryNumberObject2(value) {
13173
- try {
13174
- numToStr.call(value);
13175
- return true;
13176
- } catch (e2) {
13177
- return false;
13179
+ var supportsStandardArguments = function() {
13180
+ return isStandardArguments(arguments);
13181
+ }();
13182
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
13183
+ var isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
13184
+ const __viteBrowserExternal = {};
13185
+ const __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13186
+ __proto__: null,
13187
+ default: __viteBrowserExternal
13188
+ }, Symbol.toStringTag, { value: "Module" }));
13189
+ const require$$0 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
13190
+ var hasMap = typeof Map === "function" && Map.prototype;
13191
+ var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
13192
+ var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
13193
+ var mapForEach = hasMap && Map.prototype.forEach;
13194
+ var hasSet = typeof Set === "function" && Set.prototype;
13195
+ var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
13196
+ var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
13197
+ var setForEach = hasSet && Set.prototype.forEach;
13198
+ var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
13199
+ var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
13200
+ var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
13201
+ var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
13202
+ var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
13203
+ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
13204
+ var booleanValueOf = Boolean.prototype.valueOf;
13205
+ var objectToString = Object.prototype.toString;
13206
+ var functionToString = Function.prototype.toString;
13207
+ var $match = String.prototype.match;
13208
+ var $slice$2 = String.prototype.slice;
13209
+ var $replace = String.prototype.replace;
13210
+ var $toUpperCase = String.prototype.toUpperCase;
13211
+ var $toLowerCase = String.prototype.toLowerCase;
13212
+ var $test = RegExp.prototype.test;
13213
+ var $concat = Array.prototype.concat;
13214
+ var $join = Array.prototype.join;
13215
+ var $arrSlice = Array.prototype.slice;
13216
+ var $floor = Math.floor;
13217
+ var bigIntValueOf$1 = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
13218
+ var gOPS = Object.getOwnPropertySymbols;
13219
+ var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
13220
+ var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
13221
+ var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
13222
+ var isEnumerable = Object.prototype.propertyIsEnumerable;
13223
+ var gPO$1 = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
13224
+ return O.__proto__;
13225
+ } : null);
13226
+ function addNumericSeparator(num, str) {
13227
+ if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
13228
+ return str;
13178
13229
  }
13179
- };
13180
- var toStr$4 = Object.prototype.toString;
13181
- var numClass = "[object Number]";
13182
- var hasToStringTag$3 = shams();
13183
- var isNumberObject = function isNumberObject2(value) {
13184
- if (typeof value === "number") {
13185
- return true;
13230
+ var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
13231
+ if (typeof num === "number") {
13232
+ var int = num < 0 ? -$floor(-num) : $floor(num);
13233
+ if (int !== num) {
13234
+ var intStr = String(int);
13235
+ var dec = $slice$2.call(str, intStr.length + 1);
13236
+ return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
13237
+ }
13186
13238
  }
13187
- if (typeof value !== "object") {
13188
- return false;
13239
+ return $replace.call(str, sepRegex, "$&_");
13240
+ }
13241
+ var utilInspect = require$$0;
13242
+ var inspectCustom = utilInspect.custom;
13243
+ var inspectSymbol = isSymbol$2(inspectCustom) ? inspectCustom : null;
13244
+ var objectInspect = function inspect_(obj, options, depth, seen) {
13245
+ var opts = options || {};
13246
+ if (has$2(opts, "quoteStyle") && (opts.quoteStyle !== "single" && opts.quoteStyle !== "double")) {
13247
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
13189
13248
  }
13190
- return hasToStringTag$3 ? tryNumberObject(value) : toStr$4.call(value) === numClass;
13191
- };
13192
- var callBound$6 = callBound$9;
13193
- var $boolToStr = callBound$6("Boolean.prototype.toString");
13194
- var $toString$1 = callBound$6("Object.prototype.toString");
13195
- var tryBooleanObject = function booleanBrandCheck(value) {
13196
- try {
13197
- $boolToStr(value);
13198
- return true;
13199
- } catch (e2) {
13200
- return false;
13249
+ if (has$2(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
13250
+ throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
13201
13251
  }
13202
- };
13203
- var boolClass = "[object Boolean]";
13204
- var hasToStringTag$2 = shams();
13205
- var isBooleanObject = function isBoolean(value) {
13206
- if (typeof value === "boolean") {
13207
- return true;
13252
+ var customInspect = has$2(opts, "customInspect") ? opts.customInspect : true;
13253
+ if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
13254
+ throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
13208
13255
  }
13209
- if (value === null || typeof value !== "object") {
13210
- return false;
13256
+ if (has$2(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
13257
+ throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
13211
13258
  }
13212
- return hasToStringTag$2 && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString$1(value) === boolClass;
13213
- };
13214
- var isSymbolExports = {};
13215
- var isSymbol$2 = {
13216
- get exports() {
13217
- return isSymbolExports;
13218
- },
13219
- set exports(v2) {
13220
- isSymbolExports = v2;
13259
+ if (has$2(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
13260
+ throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
13221
13261
  }
13222
- };
13223
- var toStr$3 = Object.prototype.toString;
13224
- var hasSymbols$1 = hasSymbols$4();
13225
- if (hasSymbols$1) {
13226
- var symToStr = Symbol.prototype.toString;
13227
- var symStringRegex = /^Symbol\(.*\)$/;
13228
- var isSymbolObject = function isRealSymbolObject(value) {
13229
- if (typeof value.valueOf() !== "symbol") {
13230
- return false;
13231
- }
13232
- return symStringRegex.test(symToStr.call(value));
13233
- };
13234
- isSymbol$2.exports = function isSymbol2(value) {
13235
- if (typeof value === "symbol") {
13236
- return true;
13237
- }
13238
- if (toStr$3.call(value) !== "[object Symbol]") {
13239
- return false;
13240
- }
13241
- try {
13242
- return isSymbolObject(value);
13243
- } catch (e2) {
13244
- return false;
13245
- }
13246
- };
13247
- } else {
13248
- isSymbol$2.exports = function isSymbol2(value) {
13249
- return false;
13250
- };
13251
- }
13252
- var isBigintExports = {};
13253
- var isBigint = {
13254
- get exports() {
13255
- return isBigintExports;
13256
- },
13257
- set exports(v2) {
13258
- isBigintExports = v2;
13262
+ var numericSeparator = opts.numericSeparator;
13263
+ if (typeof obj === "undefined") {
13264
+ return "undefined";
13259
13265
  }
13260
- };
13261
- var $BigInt = typeof BigInt !== "undefined" && BigInt;
13262
- var hasBigints = function hasNativeBigInts() {
13263
- return typeof $BigInt === "function" && typeof BigInt === "function" && typeof $BigInt(42) === "bigint" && typeof BigInt(42) === "bigint";
13264
- };
13265
- var hasBigInts = hasBigints();
13266
- if (hasBigInts) {
13267
- var bigIntValueOf$1 = BigInt.prototype.valueOf;
13268
- var tryBigInt = function tryBigIntObject(value) {
13269
- try {
13270
- bigIntValueOf$1.call(value);
13271
- return true;
13272
- } catch (e2) {
13273
- }
13274
- return false;
13275
- };
13276
- isBigint.exports = function isBigInt2(value) {
13277
- if (value === null || typeof value === "undefined" || typeof value === "boolean" || typeof value === "string" || typeof value === "number" || typeof value === "symbol" || typeof value === "function") {
13278
- return false;
13279
- }
13280
- if (typeof value === "bigint") {
13281
- return true;
13282
- }
13283
- return tryBigInt(value);
13284
- };
13285
- } else {
13286
- isBigint.exports = function isBigInt2(value) {
13287
- return false;
13288
- };
13289
- }
13290
- var isString$2 = isString$3;
13291
- var isNumber$1 = isNumberObject;
13292
- var isBoolean$1 = isBooleanObject;
13293
- var isSymbol$1 = isSymbolExports;
13294
- var isBigInt$1 = isBigintExports;
13295
- var whichBoxedPrimitive$1 = function whichBoxedPrimitive(value) {
13296
- if (value == null || typeof value !== "object" && typeof value !== "function") {
13297
- return null;
13266
+ if (obj === null) {
13267
+ return "null";
13298
13268
  }
13299
- if (isString$2(value)) {
13300
- return "String";
13269
+ if (typeof obj === "boolean") {
13270
+ return obj ? "true" : "false";
13301
13271
  }
13302
- if (isNumber$1(value)) {
13303
- return "Number";
13272
+ if (typeof obj === "string") {
13273
+ return inspectString(obj, opts);
13304
13274
  }
13305
- if (isBoolean$1(value)) {
13306
- return "Boolean";
13275
+ if (typeof obj === "number") {
13276
+ if (obj === 0) {
13277
+ return Infinity / obj > 0 ? "0" : "-0";
13278
+ }
13279
+ var str = String(obj);
13280
+ return numericSeparator ? addNumericSeparator(obj, str) : str;
13307
13281
  }
13308
- if (isSymbol$1(value)) {
13309
- return "Symbol";
13282
+ if (typeof obj === "bigint") {
13283
+ var bigIntStr = String(obj) + "n";
13284
+ return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
13310
13285
  }
13311
- if (isBigInt$1(value)) {
13312
- return "BigInt";
13286
+ var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
13287
+ if (typeof depth === "undefined") {
13288
+ depth = 0;
13313
13289
  }
13314
- };
13315
- var $Map$3 = typeof Map === "function" && Map.prototype ? Map : null;
13316
- var $Set$3 = typeof Set === "function" && Set.prototype ? Set : null;
13317
- var exported$2;
13318
- if (!$Map$3) {
13319
- exported$2 = function isMap3(x) {
13320
- return false;
13321
- };
13322
- }
13323
- var $mapHas$5 = $Map$3 ? Map.prototype.has : null;
13324
- var $setHas$4 = $Set$3 ? Set.prototype.has : null;
13325
- if (!exported$2 && !$mapHas$5) {
13326
- exported$2 = function isMap3(x) {
13327
- return false;
13328
- };
13329
- }
13330
- var isMap$3 = exported$2 || function isMap(x) {
13331
- if (!x || typeof x !== "object") {
13332
- return false;
13290
+ if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
13291
+ return isArray$2(obj) ? "[Array]" : "[Object]";
13333
13292
  }
13334
- try {
13335
- $mapHas$5.call(x);
13336
- if ($setHas$4) {
13337
- try {
13338
- $setHas$4.call(x);
13339
- } catch (e2) {
13340
- return true;
13293
+ var indent = getIndent(opts, depth);
13294
+ if (typeof seen === "undefined") {
13295
+ seen = [];
13296
+ } else if (indexOf(seen, obj) >= 0) {
13297
+ return "[Circular]";
13298
+ }
13299
+ function inspect2(value, from, noIndent) {
13300
+ if (from) {
13301
+ seen = $arrSlice.call(seen);
13302
+ seen.push(from);
13303
+ }
13304
+ if (noIndent) {
13305
+ var newOpts = {
13306
+ depth: opts.depth
13307
+ };
13308
+ if (has$2(opts, "quoteStyle")) {
13309
+ newOpts.quoteStyle = opts.quoteStyle;
13341
13310
  }
13311
+ return inspect_(value, newOpts, depth + 1, seen);
13342
13312
  }
13343
- return x instanceof $Map$3;
13344
- } catch (e2) {
13313
+ return inspect_(value, opts, depth + 1, seen);
13345
13314
  }
13346
- return false;
13315
+ if (typeof obj === "function" && !isRegExp(obj)) {
13316
+ var name = nameOf(obj);
13317
+ var keys3 = arrObjKeys(obj, inspect2);
13318
+ return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
13319
+ }
13320
+ if (isSymbol$2(obj)) {
13321
+ var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
13322
+ return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
13323
+ }
13324
+ if (isElement(obj)) {
13325
+ var s = "<" + $toLowerCase.call(String(obj.nodeName));
13326
+ var attrs = obj.attributes || [];
13327
+ for (var i = 0; i < attrs.length; i++) {
13328
+ s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
13329
+ }
13330
+ s += ">";
13331
+ if (obj.childNodes && obj.childNodes.length) {
13332
+ s += "...";
13333
+ }
13334
+ s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
13335
+ return s;
13336
+ }
13337
+ if (isArray$2(obj)) {
13338
+ if (obj.length === 0) {
13339
+ return "[]";
13340
+ }
13341
+ var xs = arrObjKeys(obj, inspect2);
13342
+ if (indent && !singleLineValues(xs)) {
13343
+ return "[" + indentedJoin(xs, indent) + "]";
13344
+ }
13345
+ return "[ " + $join.call(xs, ", ") + " ]";
13346
+ }
13347
+ if (isError(obj)) {
13348
+ var parts = arrObjKeys(obj, inspect2);
13349
+ if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
13350
+ return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect2(obj.cause), parts), ", ") + " }";
13351
+ }
13352
+ if (parts.length === 0) {
13353
+ return "[" + String(obj) + "]";
13354
+ }
13355
+ return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
13356
+ }
13357
+ if (typeof obj === "object" && customInspect) {
13358
+ if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
13359
+ return utilInspect(obj, { depth: maxDepth - depth });
13360
+ } else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
13361
+ return obj.inspect();
13362
+ }
13363
+ }
13364
+ if (isMap$3(obj)) {
13365
+ var mapParts = [];
13366
+ if (mapForEach) {
13367
+ mapForEach.call(obj, function(value, key) {
13368
+ mapParts.push(inspect2(key, obj, true) + " => " + inspect2(value, obj));
13369
+ });
13370
+ }
13371
+ return collectionOf("Map", mapSize.call(obj), mapParts, indent);
13372
+ }
13373
+ if (isSet$3(obj)) {
13374
+ var setParts = [];
13375
+ if (setForEach) {
13376
+ setForEach.call(obj, function(value) {
13377
+ setParts.push(inspect2(value, obj));
13378
+ });
13379
+ }
13380
+ return collectionOf("Set", setSize.call(obj), setParts, indent);
13381
+ }
13382
+ if (isWeakMap$1(obj)) {
13383
+ return weakCollectionOf("WeakMap");
13384
+ }
13385
+ if (isWeakSet$1(obj)) {
13386
+ return weakCollectionOf("WeakSet");
13387
+ }
13388
+ if (isWeakRef(obj)) {
13389
+ return weakCollectionOf("WeakRef");
13390
+ }
13391
+ if (isNumber$1(obj)) {
13392
+ return markBoxed(inspect2(Number(obj)));
13393
+ }
13394
+ if (isBigInt$1(obj)) {
13395
+ return markBoxed(inspect2(bigIntValueOf$1.call(obj)));
13396
+ }
13397
+ if (isBoolean$1(obj)) {
13398
+ return markBoxed(booleanValueOf.call(obj));
13399
+ }
13400
+ if (isString$3(obj)) {
13401
+ return markBoxed(inspect2(String(obj)));
13402
+ }
13403
+ if (!isDate$1(obj) && !isRegExp(obj)) {
13404
+ var ys = arrObjKeys(obj, inspect2);
13405
+ var isPlainObject2 = gPO$1 ? gPO$1(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
13406
+ var protoTag = obj instanceof Object ? "" : "null prototype";
13407
+ var stringTag = !isPlainObject2 && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice$2.call(toStr$6(obj), 8, -1) : protoTag ? "Object" : "";
13408
+ var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
13409
+ var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
13410
+ if (ys.length === 0) {
13411
+ return tag + "{}";
13412
+ }
13413
+ if (indent) {
13414
+ return tag + "{" + indentedJoin(ys, indent) + "}";
13415
+ }
13416
+ return tag + "{ " + $join.call(ys, ", ") + " }";
13417
+ }
13418
+ return String(obj);
13347
13419
  };
13348
- var $Map$2 = typeof Map === "function" && Map.prototype ? Map : null;
13349
- var $Set$2 = typeof Set === "function" && Set.prototype ? Set : null;
13350
- var exported$1;
13351
- if (!$Set$2) {
13352
- exported$1 = function isSet3(x) {
13353
- return false;
13354
- };
13420
+ function wrapQuotes(s, defaultStyle, opts) {
13421
+ var quoteChar = (opts.quoteStyle || defaultStyle) === "double" ? '"' : "'";
13422
+ return quoteChar + s + quoteChar;
13355
13423
  }
13356
- var $mapHas$4 = $Map$2 ? Map.prototype.has : null;
13357
- var $setHas$3 = $Set$2 ? Set.prototype.has : null;
13358
- if (!exported$1 && !$setHas$3) {
13359
- exported$1 = function isSet3(x) {
13424
+ function quote(s) {
13425
+ return $replace.call(String(s), /"/g, "&quot;");
13426
+ }
13427
+ function isArray$2(obj) {
13428
+ return toStr$6(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13429
+ }
13430
+ function isDate$1(obj) {
13431
+ return toStr$6(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13432
+ }
13433
+ function isRegExp(obj) {
13434
+ return toStr$6(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13435
+ }
13436
+ function isError(obj) {
13437
+ return toStr$6(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13438
+ }
13439
+ function isString$3(obj) {
13440
+ return toStr$6(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13441
+ }
13442
+ function isNumber$1(obj) {
13443
+ return toStr$6(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13444
+ }
13445
+ function isBoolean$1(obj) {
13446
+ return toStr$6(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13447
+ }
13448
+ function isSymbol$2(obj) {
13449
+ if (hasShammedSymbols) {
13450
+ return obj && typeof obj === "object" && obj instanceof Symbol;
13451
+ }
13452
+ if (typeof obj === "symbol") {
13453
+ return true;
13454
+ }
13455
+ if (!obj || typeof obj !== "object" || !symToString) {
13360
13456
  return false;
13361
- };
13457
+ }
13458
+ try {
13459
+ symToString.call(obj);
13460
+ return true;
13461
+ } catch (e2) {
13462
+ }
13463
+ return false;
13362
13464
  }
13363
- var isSet$3 = exported$1 || function isSet(x) {
13364
- if (!x || typeof x !== "object") {
13465
+ function isBigInt$1(obj) {
13466
+ if (!obj || typeof obj !== "object" || !bigIntValueOf$1) {
13365
13467
  return false;
13366
13468
  }
13367
13469
  try {
13368
- $setHas$3.call(x);
13369
- if ($mapHas$4) {
13370
- try {
13371
- $mapHas$4.call(x);
13372
- } catch (e2) {
13373
- return true;
13374
- }
13375
- }
13376
- return x instanceof $Set$2;
13470
+ bigIntValueOf$1.call(obj);
13471
+ return true;
13377
13472
  } catch (e2) {
13378
13473
  }
13379
13474
  return false;
13475
+ }
13476
+ var hasOwn = Object.prototype.hasOwnProperty || function(key) {
13477
+ return key in this;
13380
13478
  };
13381
- var $WeakMap$1 = typeof WeakMap === "function" && WeakMap.prototype ? WeakMap : null;
13382
- var $WeakSet$1 = typeof WeakSet === "function" && WeakSet.prototype ? WeakSet : null;
13383
- var exported;
13384
- if (!$WeakMap$1) {
13385
- exported = function isWeakMap3(x) {
13386
- return false;
13387
- };
13479
+ function has$2(obj, key) {
13480
+ return hasOwn.call(obj, key);
13388
13481
  }
13389
- var $mapHas$3 = $WeakMap$1 ? $WeakMap$1.prototype.has : null;
13390
- var $setHas$2 = $WeakSet$1 ? $WeakSet$1.prototype.has : null;
13391
- if (!exported && !$mapHas$3) {
13392
- exported = function isWeakMap3(x) {
13393
- return false;
13394
- };
13482
+ function toStr$6(obj) {
13483
+ return objectToString.call(obj);
13395
13484
  }
13396
- var isWeakmap = exported || function isWeakMap(x) {
13397
- if (!x || typeof x !== "object") {
13485
+ function nameOf(f2) {
13486
+ if (f2.name) {
13487
+ return f2.name;
13488
+ }
13489
+ var m2 = $match.call(functionToString.call(f2), /^function\s*([\w$]+)/);
13490
+ if (m2) {
13491
+ return m2[1];
13492
+ }
13493
+ return null;
13494
+ }
13495
+ function indexOf(xs, x) {
13496
+ if (xs.indexOf) {
13497
+ return xs.indexOf(x);
13498
+ }
13499
+ for (var i = 0, l2 = xs.length; i < l2; i++) {
13500
+ if (xs[i] === x) {
13501
+ return i;
13502
+ }
13503
+ }
13504
+ return -1;
13505
+ }
13506
+ function isMap$3(x) {
13507
+ if (!mapSize || !x || typeof x !== "object") {
13398
13508
  return false;
13399
13509
  }
13400
13510
  try {
13401
- $mapHas$3.call(x, $mapHas$3);
13402
- if ($setHas$2) {
13403
- try {
13404
- $setHas$2.call(x, $setHas$2);
13405
- } catch (e2) {
13406
- return true;
13407
- }
13511
+ mapSize.call(x);
13512
+ try {
13513
+ setSize.call(x);
13514
+ } catch (s) {
13515
+ return true;
13408
13516
  }
13409
- return x instanceof $WeakMap$1;
13517
+ return x instanceof Map;
13410
13518
  } catch (e2) {
13411
13519
  }
13412
13520
  return false;
13413
- };
13414
- var isWeaksetExports = {};
13415
- var isWeakset = {
13416
- get exports() {
13417
- return isWeaksetExports;
13418
- },
13419
- set exports(v2) {
13420
- isWeaksetExports = v2;
13521
+ }
13522
+ function isWeakMap$1(x) {
13523
+ if (!weakMapHas || !x || typeof x !== "object") {
13524
+ return false;
13421
13525
  }
13422
- };
13423
- var GetIntrinsic$3 = getIntrinsic;
13424
- var callBound$5 = callBound$9;
13425
- var $WeakSet = GetIntrinsic$3("%WeakSet%", true);
13426
- var $setHas$1 = callBound$5("WeakSet.prototype.has", true);
13427
- if ($setHas$1) {
13428
- var $mapHas$2 = callBound$5("WeakMap.prototype.has", true);
13429
- isWeakset.exports = function isWeakSet2(x) {
13430
- if (!x || typeof x !== "object") {
13431
- return false;
13432
- }
13526
+ try {
13527
+ weakMapHas.call(x, weakMapHas);
13433
13528
  try {
13434
- $setHas$1(x, $setHas$1);
13435
- if ($mapHas$2) {
13436
- try {
13437
- $mapHas$2(x, $mapHas$2);
13438
- } catch (e2) {
13439
- return true;
13440
- }
13441
- }
13442
- return x instanceof $WeakSet;
13443
- } catch (e2) {
13529
+ weakSetHas.call(x, weakSetHas);
13530
+ } catch (s) {
13531
+ return true;
13444
13532
  }
13445
- return false;
13446
- };
13447
- } else {
13448
- isWeakset.exports = function isWeakSet2(x) {
13449
- return false;
13450
- };
13533
+ return x instanceof WeakMap;
13534
+ } catch (e2) {
13535
+ }
13536
+ return false;
13451
13537
  }
13452
- var isMap$2 = isMap$3;
13453
- var isSet$2 = isSet$3;
13454
- var isWeakMap$1 = isWeakmap;
13455
- var isWeakSet$1 = isWeaksetExports;
13456
- var whichCollection$1 = function whichCollection(value) {
13457
- if (value && typeof value === "object") {
13458
- if (isMap$2(value)) {
13459
- return "Map";
13460
- }
13461
- if (isSet$2(value)) {
13462
- return "Set";
13463
- }
13464
- if (isWeakMap$1(value)) {
13465
- return "WeakMap";
13466
- }
13467
- if (isWeakSet$1(value)) {
13468
- return "WeakSet";
13469
- }
13538
+ function isWeakRef(x) {
13539
+ if (!weakRefDeref || !x || typeof x !== "object") {
13540
+ return false;
13541
+ }
13542
+ try {
13543
+ weakRefDeref.call(x);
13544
+ return true;
13545
+ } catch (e2) {
13470
13546
  }
13471
13547
  return false;
13472
- };
13473
- var esGetIteratorExports = {};
13474
- var esGetIterator = {
13475
- get exports() {
13476
- return esGetIteratorExports;
13477
- },
13478
- set exports(v2) {
13479
- esGetIteratorExports = v2;
13548
+ }
13549
+ function isSet$3(x) {
13550
+ if (!setSize || !x || typeof x !== "object") {
13551
+ return false;
13480
13552
  }
13481
- };
13482
- var isArguments$1 = isArguments$2;
13483
- if (hasSymbols$4() || shams$1()) {
13484
- var $iterator = Symbol.iterator;
13485
- esGetIterator.exports = function getIterator2(iterable) {
13486
- if (iterable != null && typeof iterable[$iterator] !== "undefined") {
13487
- return iterable[$iterator]();
13488
- }
13489
- if (isArguments$1(iterable)) {
13490
- return Array.prototype[$iterator].call(iterable);
13491
- }
13492
- };
13493
- } else {
13494
- var isArray$2 = isarray;
13495
- var isString$1 = isString$3;
13496
- var GetIntrinsic$2 = getIntrinsic;
13497
- var $Map$1 = GetIntrinsic$2("%Map%", true);
13498
- var $Set$1 = GetIntrinsic$2("%Set%", true);
13499
- var callBound$4 = callBound$9;
13500
- var $arrayPush = callBound$4("Array.prototype.push");
13501
- var $charCodeAt = callBound$4("String.prototype.charCodeAt");
13502
- var $stringSlice = callBound$4("String.prototype.slice");
13503
- var advanceStringIndex = function advanceStringIndex2(S, index) {
13504
- var length = S.length;
13505
- if (index + 1 >= length) {
13506
- return index + 1;
13507
- }
13508
- var first = $charCodeAt(S, index);
13509
- if (first < 55296 || first > 56319) {
13510
- return index + 1;
13511
- }
13512
- var second = $charCodeAt(S, index + 1);
13513
- if (second < 56320 || second > 57343) {
13514
- return index + 1;
13515
- }
13516
- return index + 2;
13517
- };
13518
- var getArrayIterator = function getArrayIterator2(arraylike) {
13519
- var i = 0;
13520
- return {
13521
- next: function next() {
13522
- var done = i >= arraylike.length;
13523
- var value;
13524
- if (!done) {
13525
- value = arraylike[i];
13526
- i += 1;
13527
- }
13528
- return {
13529
- done,
13530
- value
13531
- };
13532
- }
13533
- };
13534
- };
13535
- var getNonCollectionIterator = function getNonCollectionIterator2(iterable, noPrimordialCollections) {
13536
- if (isArray$2(iterable) || isArguments$1(iterable)) {
13537
- return getArrayIterator(iterable);
13538
- }
13539
- if (isString$1(iterable)) {
13540
- var i = 0;
13541
- return {
13542
- next: function next() {
13543
- var nextIndex = advanceStringIndex(iterable, i);
13544
- var value = $stringSlice(iterable, i, nextIndex);
13545
- i = nextIndex;
13546
- return {
13547
- done: nextIndex > iterable.length,
13548
- value
13549
- };
13550
- }
13551
- };
13552
- }
13553
- if (noPrimordialCollections && typeof iterable["_es6-shim iterator_"] !== "undefined") {
13554
- return iterable["_es6-shim iterator_"]();
13555
- }
13556
- };
13557
- if (!$Map$1 && !$Set$1) {
13558
- esGetIterator.exports = function getIterator2(iterable) {
13559
- if (iterable != null) {
13560
- return getNonCollectionIterator(iterable, true);
13561
- }
13562
- };
13563
- } else {
13564
- var isMap$1 = isMap$3;
13565
- var isSet$1 = isSet$3;
13566
- var $mapForEach = callBound$4("Map.prototype.forEach", true);
13567
- var $setForEach = callBound$4("Set.prototype.forEach", true);
13568
- if (typeof process === "undefined" || !process.versions || !process.versions.node) {
13569
- var $mapIterator = callBound$4("Map.prototype.iterator", true);
13570
- var $setIterator = callBound$4("Set.prototype.iterator", true);
13571
- var getStopIterationIterator = function(iterator) {
13572
- var done = false;
13573
- return {
13574
- next: function next() {
13575
- try {
13576
- return {
13577
- done,
13578
- value: done ? void 0 : iterator.next()
13579
- };
13580
- } catch (e2) {
13581
- done = true;
13582
- return {
13583
- done: true,
13584
- value: void 0
13585
- };
13586
- }
13587
- }
13588
- };
13589
- };
13553
+ try {
13554
+ setSize.call(x);
13555
+ try {
13556
+ mapSize.call(x);
13557
+ } catch (m2) {
13558
+ return true;
13590
13559
  }
13591
- var $mapAtAtIterator = callBound$4("Map.prototype.@@iterator", true) || callBound$4("Map.prototype._es6-shim iterator_", true);
13592
- var $setAtAtIterator = callBound$4("Set.prototype.@@iterator", true) || callBound$4("Set.prototype._es6-shim iterator_", true);
13593
- var getCollectionIterator = function getCollectionIterator2(iterable) {
13594
- if (isMap$1(iterable)) {
13595
- if ($mapIterator) {
13596
- return getStopIterationIterator($mapIterator(iterable));
13597
- }
13598
- if ($mapAtAtIterator) {
13599
- return $mapAtAtIterator(iterable);
13600
- }
13601
- if ($mapForEach) {
13602
- var entries = [];
13603
- $mapForEach(iterable, function(v2, k2) {
13604
- $arrayPush(entries, [k2, v2]);
13605
- });
13606
- return getArrayIterator(entries);
13607
- }
13608
- }
13609
- if (isSet$1(iterable)) {
13610
- if ($setIterator) {
13611
- return getStopIterationIterator($setIterator(iterable));
13612
- }
13613
- if ($setAtAtIterator) {
13614
- return $setAtAtIterator(iterable);
13615
- }
13616
- if ($setForEach) {
13617
- var values = [];
13618
- $setForEach(iterable, function(v2) {
13619
- $arrayPush(values, v2);
13620
- });
13621
- return getArrayIterator(values);
13622
- }
13623
- }
13624
- };
13625
- esGetIterator.exports = function getIterator2(iterable) {
13626
- return getCollectionIterator(iterable) || getNonCollectionIterator(iterable);
13627
- };
13560
+ return x instanceof Set;
13561
+ } catch (e2) {
13628
13562
  }
13563
+ return false;
13629
13564
  }
13630
- const __viteBrowserExternal = {};
13631
- const __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13632
- __proto__: null,
13633
- default: __viteBrowserExternal
13634
- }, Symbol.toStringTag, { value: "Module" }));
13635
- const require$$0 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
13636
- var hasMap = typeof Map === "function" && Map.prototype;
13637
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
13638
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
13639
- var mapForEach = hasMap && Map.prototype.forEach;
13640
- var hasSet = typeof Set === "function" && Set.prototype;
13641
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
13642
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
13643
- var setForEach = hasSet && Set.prototype.forEach;
13644
- var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
13645
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
13646
- var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
13647
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
13648
- var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
13649
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
13650
- var booleanValueOf = Boolean.prototype.valueOf;
13651
- var objectToString = Object.prototype.toString;
13652
- var functionToString = Function.prototype.toString;
13653
- var $match = String.prototype.match;
13654
- var $slice$1 = String.prototype.slice;
13655
- var $replace = String.prototype.replace;
13656
- var $toUpperCase = String.prototype.toUpperCase;
13657
- var $toLowerCase = String.prototype.toLowerCase;
13658
- var $test = RegExp.prototype.test;
13659
- var $concat = Array.prototype.concat;
13660
- var $join = Array.prototype.join;
13661
- var $arrSlice = Array.prototype.slice;
13662
- var $floor = Math.floor;
13663
- var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
13664
- var gOPS = Object.getOwnPropertySymbols;
13665
- var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
13666
- var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
13667
- var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
13668
- var isEnumerable = Object.prototype.propertyIsEnumerable;
13669
- var gPO$1 = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
13670
- return O.__proto__;
13671
- } : null);
13672
- function addNumericSeparator(num, str) {
13673
- if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
13674
- return str;
13565
+ function isWeakSet$1(x) {
13566
+ if (!weakSetHas || !x || typeof x !== "object") {
13567
+ return false;
13675
13568
  }
13676
- var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
13677
- if (typeof num === "number") {
13678
- var int = num < 0 ? -$floor(-num) : $floor(num);
13679
- if (int !== num) {
13680
- var intStr = String(int);
13681
- var dec = $slice$1.call(str, intStr.length + 1);
13682
- return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
13569
+ try {
13570
+ weakSetHas.call(x, weakSetHas);
13571
+ try {
13572
+ weakMapHas.call(x, weakMapHas);
13573
+ } catch (s) {
13574
+ return true;
13683
13575
  }
13576
+ return x instanceof WeakSet;
13577
+ } catch (e2) {
13684
13578
  }
13685
- return $replace.call(str, sepRegex, "$&_");
13579
+ return false;
13686
13580
  }
13687
- var utilInspect = require$$0;
13688
- var inspectCustom = utilInspect.custom;
13689
- var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
13690
- var objectInspect = function inspect_(obj, options, depth, seen) {
13691
- var opts = options || {};
13692
- if (has(opts, "quoteStyle") && (opts.quoteStyle !== "single" && opts.quoteStyle !== "double")) {
13693
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
13694
- }
13695
- if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
13696
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
13697
- }
13698
- var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
13699
- if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
13700
- throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
13701
- }
13702
- if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
13703
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
13704
- }
13705
- if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
13706
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
13707
- }
13708
- var numericSeparator = opts.numericSeparator;
13709
- if (typeof obj === "undefined") {
13710
- return "undefined";
13581
+ function isElement(x) {
13582
+ if (!x || typeof x !== "object") {
13583
+ return false;
13711
13584
  }
13712
- if (obj === null) {
13713
- return "null";
13585
+ if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
13586
+ return true;
13714
13587
  }
13715
- if (typeof obj === "boolean") {
13716
- return obj ? "true" : "false";
13588
+ return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
13589
+ }
13590
+ function inspectString(str, opts) {
13591
+ if (str.length > opts.maxStringLength) {
13592
+ var remaining = str.length - opts.maxStringLength;
13593
+ var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
13594
+ return inspectString($slice$2.call(str, 0, opts.maxStringLength), opts) + trailer;
13717
13595
  }
13718
- if (typeof obj === "string") {
13719
- return inspectString(obj, opts);
13596
+ var s = $replace.call($replace.call(str, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, lowbyte);
13597
+ return wrapQuotes(s, "single", opts);
13598
+ }
13599
+ function lowbyte(c2) {
13600
+ var n2 = c2.charCodeAt(0);
13601
+ var x = {
13602
+ 8: "b",
13603
+ 9: "t",
13604
+ 10: "n",
13605
+ 12: "f",
13606
+ 13: "r"
13607
+ }[n2];
13608
+ if (x) {
13609
+ return "\\" + x;
13720
13610
  }
13721
- if (typeof obj === "number") {
13722
- if (obj === 0) {
13723
- return Infinity / obj > 0 ? "0" : "-0";
13611
+ return "\\x" + (n2 < 16 ? "0" : "") + $toUpperCase.call(n2.toString(16));
13612
+ }
13613
+ function markBoxed(str) {
13614
+ return "Object(" + str + ")";
13615
+ }
13616
+ function weakCollectionOf(type) {
13617
+ return type + " { ? }";
13618
+ }
13619
+ function collectionOf(type, size, entries, indent) {
13620
+ var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
13621
+ return type + " (" + size + ") {" + joinedEntries + "}";
13622
+ }
13623
+ function singleLineValues(xs) {
13624
+ for (var i = 0; i < xs.length; i++) {
13625
+ if (indexOf(xs[i], "\n") >= 0) {
13626
+ return false;
13724
13627
  }
13725
- var str = String(obj);
13726
- return numericSeparator ? addNumericSeparator(obj, str) : str;
13727
13628
  }
13728
- if (typeof obj === "bigint") {
13729
- var bigIntStr = String(obj) + "n";
13730
- return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
13629
+ return true;
13630
+ }
13631
+ function getIndent(opts, depth) {
13632
+ var baseIndent;
13633
+ if (opts.indent === " ") {
13634
+ baseIndent = " ";
13635
+ } else if (typeof opts.indent === "number" && opts.indent > 0) {
13636
+ baseIndent = $join.call(Array(opts.indent + 1), " ");
13637
+ } else {
13638
+ return null;
13731
13639
  }
13732
- var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
13733
- if (typeof depth === "undefined") {
13734
- depth = 0;
13640
+ return {
13641
+ base: baseIndent,
13642
+ prev: $join.call(Array(depth + 1), baseIndent)
13643
+ };
13644
+ }
13645
+ function indentedJoin(xs, indent) {
13646
+ if (xs.length === 0) {
13647
+ return "";
13735
13648
  }
13736
- if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
13737
- return isArray$1(obj) ? "[Array]" : "[Object]";
13649
+ var lineJoiner = "\n" + indent.prev + indent.base;
13650
+ return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
13651
+ }
13652
+ function arrObjKeys(obj, inspect2) {
13653
+ var isArr = isArray$2(obj);
13654
+ var xs = [];
13655
+ if (isArr) {
13656
+ xs.length = obj.length;
13657
+ for (var i = 0; i < obj.length; i++) {
13658
+ xs[i] = has$2(obj, i) ? inspect2(obj[i], obj) : "";
13659
+ }
13738
13660
  }
13739
- var indent = getIndent(opts, depth);
13740
- if (typeof seen === "undefined") {
13741
- seen = [];
13742
- } else if (indexOf(seen, obj) >= 0) {
13743
- return "[Circular]";
13661
+ var syms = typeof gOPS === "function" ? gOPS(obj) : [];
13662
+ var symMap;
13663
+ if (hasShammedSymbols) {
13664
+ symMap = {};
13665
+ for (var k2 = 0; k2 < syms.length; k2++) {
13666
+ symMap["$" + syms[k2]] = syms[k2];
13667
+ }
13744
13668
  }
13745
- function inspect2(value, from, noIndent) {
13746
- if (from) {
13747
- seen = $arrSlice.call(seen);
13748
- seen.push(from);
13669
+ for (var key in obj) {
13670
+ if (!has$2(obj, key)) {
13671
+ continue;
13749
13672
  }
13750
- if (noIndent) {
13751
- var newOpts = {
13752
- depth: opts.depth
13753
- };
13754
- if (has(opts, "quoteStyle")) {
13755
- newOpts.quoteStyle = opts.quoteStyle;
13673
+ if (isArr && String(Number(key)) === key && key < obj.length) {
13674
+ continue;
13675
+ }
13676
+ if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
13677
+ continue;
13678
+ } else if ($test.call(/[^\w$]/, key)) {
13679
+ xs.push(inspect2(key, obj) + ": " + inspect2(obj[key], obj));
13680
+ } else {
13681
+ xs.push(key + ": " + inspect2(obj[key], obj));
13682
+ }
13683
+ }
13684
+ if (typeof gOPS === "function") {
13685
+ for (var j = 0; j < syms.length; j++) {
13686
+ if (isEnumerable.call(obj, syms[j])) {
13687
+ xs.push("[" + inspect2(syms[j]) + "]: " + inspect2(obj[syms[j]], obj));
13756
13688
  }
13757
- return inspect_(value, newOpts, depth + 1, seen);
13758
13689
  }
13759
- return inspect_(value, opts, depth + 1, seen);
13760
13690
  }
13761
- if (typeof obj === "function" && !isRegExp(obj)) {
13762
- var name = nameOf(obj);
13763
- var keys3 = arrObjKeys(obj, inspect2);
13764
- return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
13691
+ return xs;
13692
+ }
13693
+ var GetIntrinsic$6 = getIntrinsic;
13694
+ var callBound$9 = callBound$c;
13695
+ var inspect = objectInspect;
13696
+ var $TypeError$1 = GetIntrinsic$6("%TypeError%");
13697
+ var $WeakMap$1 = GetIntrinsic$6("%WeakMap%", true);
13698
+ var $Map$3 = GetIntrinsic$6("%Map%", true);
13699
+ var $weakMapGet = callBound$9("WeakMap.prototype.get", true);
13700
+ var $weakMapSet = callBound$9("WeakMap.prototype.set", true);
13701
+ var $weakMapHas = callBound$9("WeakMap.prototype.has", true);
13702
+ var $mapGet$1 = callBound$9("Map.prototype.get", true);
13703
+ var $mapSet = callBound$9("Map.prototype.set", true);
13704
+ var $mapHas$5 = callBound$9("Map.prototype.has", true);
13705
+ var listGetNode = function(list, key) {
13706
+ for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
13707
+ if (curr.key === key) {
13708
+ prev.next = curr.next;
13709
+ curr.next = list.next;
13710
+ list.next = curr;
13711
+ return curr;
13712
+ }
13765
13713
  }
13766
- if (isSymbol(obj)) {
13767
- var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
13768
- return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
13714
+ };
13715
+ var listGet = function(objects, key) {
13716
+ var node = listGetNode(objects, key);
13717
+ return node && node.value;
13718
+ };
13719
+ var listSet = function(objects, key, value) {
13720
+ var node = listGetNode(objects, key);
13721
+ if (node) {
13722
+ node.value = value;
13723
+ } else {
13724
+ objects.next = {
13725
+ // eslint-disable-line no-param-reassign
13726
+ key,
13727
+ next: objects.next,
13728
+ value
13729
+ };
13769
13730
  }
13770
- if (isElement(obj)) {
13771
- var s = "<" + $toLowerCase.call(String(obj.nodeName));
13772
- var attrs = obj.attributes || [];
13773
- for (var i = 0; i < attrs.length; i++) {
13774
- s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
13731
+ };
13732
+ var listHas = function(objects, key) {
13733
+ return !!listGetNode(objects, key);
13734
+ };
13735
+ var sideChannel = function getSideChannel() {
13736
+ var $wm;
13737
+ var $m;
13738
+ var $o;
13739
+ var channel2 = {
13740
+ assert: function(key) {
13741
+ if (!channel2.has(key)) {
13742
+ throw new $TypeError$1("Side channel does not contain " + inspect(key));
13743
+ }
13744
+ },
13745
+ get: function(key) {
13746
+ if ($WeakMap$1 && key && (typeof key === "object" || typeof key === "function")) {
13747
+ if ($wm) {
13748
+ return $weakMapGet($wm, key);
13749
+ }
13750
+ } else if ($Map$3) {
13751
+ if ($m) {
13752
+ return $mapGet$1($m, key);
13753
+ }
13754
+ } else {
13755
+ if ($o) {
13756
+ return listGet($o, key);
13757
+ }
13758
+ }
13759
+ },
13760
+ has: function(key) {
13761
+ if ($WeakMap$1 && key && (typeof key === "object" || typeof key === "function")) {
13762
+ if ($wm) {
13763
+ return $weakMapHas($wm, key);
13764
+ }
13765
+ } else if ($Map$3) {
13766
+ if ($m) {
13767
+ return $mapHas$5($m, key);
13768
+ }
13769
+ } else {
13770
+ if ($o) {
13771
+ return listHas($o, key);
13772
+ }
13773
+ }
13774
+ return false;
13775
+ },
13776
+ set: function(key, value) {
13777
+ if ($WeakMap$1 && key && (typeof key === "object" || typeof key === "function")) {
13778
+ if (!$wm) {
13779
+ $wm = new $WeakMap$1();
13780
+ }
13781
+ $weakMapSet($wm, key, value);
13782
+ } else if ($Map$3) {
13783
+ if (!$m) {
13784
+ $m = new $Map$3();
13785
+ }
13786
+ $mapSet($m, key, value);
13787
+ } else {
13788
+ if (!$o) {
13789
+ $o = { key: {}, next: null };
13790
+ }
13791
+ listSet($o, key, value);
13792
+ }
13775
13793
  }
13776
- s += ">";
13777
- if (obj.childNodes && obj.childNodes.length) {
13778
- s += "...";
13794
+ };
13795
+ return channel2;
13796
+ };
13797
+ var GetIntrinsic$5 = getIntrinsic;
13798
+ var has$1 = src;
13799
+ var channel = sideChannel();
13800
+ var $TypeError = GetIntrinsic$5("%TypeError%");
13801
+ var SLOT$1 = {
13802
+ assert: function(O, slot) {
13803
+ if (!O || typeof O !== "object" && typeof O !== "function") {
13804
+ throw new $TypeError("`O` is not an object");
13779
13805
  }
13780
- s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
13781
- return s;
13782
- }
13783
- if (isArray$1(obj)) {
13784
- if (obj.length === 0) {
13785
- return "[]";
13806
+ if (typeof slot !== "string") {
13807
+ throw new $TypeError("`slot` must be a string");
13786
13808
  }
13787
- var xs = arrObjKeys(obj, inspect2);
13788
- if (indent && !singleLineValues(xs)) {
13789
- return "[" + indentedJoin(xs, indent) + "]";
13809
+ channel.assert(O);
13810
+ if (!SLOT$1.has(O, slot)) {
13811
+ throw new $TypeError("`" + slot + "` is not present on `O`");
13790
13812
  }
13791
- return "[ " + $join.call(xs, ", ") + " ]";
13792
- }
13793
- if (isError(obj)) {
13794
- var parts = arrObjKeys(obj, inspect2);
13795
- if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
13796
- return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect2(obj.cause), parts), ", ") + " }";
13813
+ },
13814
+ get: function(O, slot) {
13815
+ if (!O || typeof O !== "object" && typeof O !== "function") {
13816
+ throw new $TypeError("`O` is not an object");
13797
13817
  }
13798
- if (parts.length === 0) {
13799
- return "[" + String(obj) + "]";
13818
+ if (typeof slot !== "string") {
13819
+ throw new $TypeError("`slot` must be a string");
13800
13820
  }
13801
- return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
13802
- }
13803
- if (typeof obj === "object" && customInspect) {
13804
- if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
13805
- return utilInspect(obj, { depth: maxDepth - depth });
13806
- } else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
13807
- return obj.inspect();
13821
+ var slots = channel.get(O);
13822
+ return slots && slots["$" + slot];
13823
+ },
13824
+ has: function(O, slot) {
13825
+ if (!O || typeof O !== "object" && typeof O !== "function") {
13826
+ throw new $TypeError("`O` is not an object");
13808
13827
  }
13809
- }
13810
- if (isMap2(obj)) {
13811
- var mapParts = [];
13812
- mapForEach.call(obj, function(value, key) {
13813
- mapParts.push(inspect2(key, obj, true) + " => " + inspect2(value, obj));
13814
- });
13815
- return collectionOf("Map", mapSize.call(obj), mapParts, indent);
13816
- }
13817
- if (isSet2(obj)) {
13818
- var setParts = [];
13819
- setForEach.call(obj, function(value) {
13820
- setParts.push(inspect2(value, obj));
13821
- });
13822
- return collectionOf("Set", setSize.call(obj), setParts, indent);
13823
- }
13824
- if (isWeakMap2(obj)) {
13825
- return weakCollectionOf("WeakMap");
13826
- }
13827
- if (isWeakSet(obj)) {
13828
- return weakCollectionOf("WeakSet");
13829
- }
13830
- if (isWeakRef(obj)) {
13831
- return weakCollectionOf("WeakRef");
13832
- }
13833
- if (isNumber(obj)) {
13834
- return markBoxed(inspect2(Number(obj)));
13835
- }
13836
- if (isBigInt(obj)) {
13837
- return markBoxed(inspect2(bigIntValueOf.call(obj)));
13838
- }
13839
- if (isBoolean2(obj)) {
13840
- return markBoxed(booleanValueOf.call(obj));
13841
- }
13842
- if (isString2(obj)) {
13843
- return markBoxed(inspect2(String(obj)));
13844
- }
13845
- if (!isDate$1(obj) && !isRegExp(obj)) {
13846
- var ys = arrObjKeys(obj, inspect2);
13847
- var isPlainObject2 = gPO$1 ? gPO$1(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
13848
- var protoTag = obj instanceof Object ? "" : "null prototype";
13849
- var stringTag = !isPlainObject2 && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice$1.call(toStr$2(obj), 8, -1) : protoTag ? "Object" : "";
13850
- var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
13851
- var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
13852
- if (ys.length === 0) {
13853
- return tag + "{}";
13828
+ if (typeof slot !== "string") {
13829
+ throw new $TypeError("`slot` must be a string");
13854
13830
  }
13855
- if (indent) {
13856
- return tag + "{" + indentedJoin(ys, indent) + "}";
13831
+ var slots = channel.get(O);
13832
+ return !!slots && has$1(slots, "$" + slot);
13833
+ },
13834
+ set: function(O, slot, V) {
13835
+ if (!O || typeof O !== "object" && typeof O !== "function") {
13836
+ throw new $TypeError("`O` is not an object");
13857
13837
  }
13858
- return tag + "{ " + $join.call(ys, ", ") + " }";
13838
+ if (typeof slot !== "string") {
13839
+ throw new $TypeError("`slot` must be a string");
13840
+ }
13841
+ var slots = channel.get(O);
13842
+ if (!slots) {
13843
+ slots = {};
13844
+ channel.set(O, slots);
13845
+ }
13846
+ slots["$" + slot] = V;
13859
13847
  }
13860
- return String(obj);
13861
13848
  };
13862
- function wrapQuotes(s, defaultStyle, opts) {
13863
- var quoteChar = (opts.quoteStyle || defaultStyle) === "double" ? '"' : "'";
13864
- return quoteChar + s + quoteChar;
13865
- }
13866
- function quote(s) {
13867
- return $replace.call(String(s), /"/g, "&quot;");
13868
- }
13869
- function isArray$1(obj) {
13870
- return toStr$2(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13871
- }
13872
- function isDate$1(obj) {
13873
- return toStr$2(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13874
- }
13875
- function isRegExp(obj) {
13876
- return toStr$2(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13877
- }
13878
- function isError(obj) {
13879
- return toStr$2(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13880
- }
13881
- function isString2(obj) {
13882
- return toStr$2(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13849
+ if (Object.freeze) {
13850
+ Object.freeze(SLOT$1);
13883
13851
  }
13884
- function isNumber(obj) {
13885
- return toStr$2(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13886
- }
13887
- function isBoolean2(obj) {
13888
- return toStr$2(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
13889
- }
13890
- function isSymbol(obj) {
13891
- if (hasShammedSymbols) {
13892
- return obj && typeof obj === "object" && obj instanceof Symbol;
13893
- }
13894
- if (typeof obj === "symbol") {
13895
- return true;
13896
- }
13897
- if (!obj || typeof obj !== "object" || !symToString) {
13898
- return false;
13899
- }
13852
+ var internalSlot = SLOT$1;
13853
+ var SLOT = internalSlot;
13854
+ var $SyntaxError = SyntaxError;
13855
+ var $StopIteration = typeof StopIteration === "object" ? StopIteration : null;
13856
+ var stopIterationIterator = function getStopIterationIterator(origIterator) {
13857
+ if (!$StopIteration) {
13858
+ throw new $SyntaxError("this environment lacks StopIteration");
13859
+ }
13860
+ SLOT.set(origIterator, "[[Done]]", false);
13861
+ var siIterator = {
13862
+ next: function next() {
13863
+ var iterator = SLOT.get(this, "[[Iterator]]");
13864
+ var done = SLOT.get(iterator, "[[Done]]");
13865
+ try {
13866
+ return {
13867
+ done,
13868
+ value: done ? void 0 : iterator.next()
13869
+ };
13870
+ } catch (e2) {
13871
+ SLOT.set(iterator, "[[Done]]", true);
13872
+ if (e2 !== $StopIteration) {
13873
+ throw e2;
13874
+ }
13875
+ return {
13876
+ done: true,
13877
+ value: void 0
13878
+ };
13879
+ }
13880
+ }
13881
+ };
13882
+ SLOT.set(siIterator, "[[Iterator]]", origIterator);
13883
+ return siIterator;
13884
+ };
13885
+ var toString = {}.toString;
13886
+ var isarray = Array.isArray || function(arr) {
13887
+ return toString.call(arr) == "[object Array]";
13888
+ };
13889
+ var strValue = String.prototype.valueOf;
13890
+ var tryStringObject = function tryStringObject2(value) {
13900
13891
  try {
13901
- symToString.call(obj);
13892
+ strValue.call(value);
13902
13893
  return true;
13903
13894
  } catch (e2) {
13904
- }
13905
- return false;
13906
- }
13907
- function isBigInt(obj) {
13908
- if (!obj || typeof obj !== "object" || !bigIntValueOf) {
13909
13895
  return false;
13910
13896
  }
13911
- try {
13912
- bigIntValueOf.call(obj);
13913
- return true;
13914
- } catch (e2) {
13915
- }
13916
- return false;
13917
- }
13918
- var hasOwn = Object.prototype.hasOwnProperty || function(key) {
13919
- return key in this;
13920
13897
  };
13921
- function has(obj, key) {
13922
- return hasOwn.call(obj, key);
13923
- }
13924
- function toStr$2(obj) {
13925
- return objectToString.call(obj);
13926
- }
13927
- function nameOf(f2) {
13928
- if (f2.name) {
13929
- return f2.name;
13930
- }
13931
- var m2 = $match.call(functionToString.call(f2), /^function\s*([\w$]+)/);
13932
- if (m2) {
13933
- return m2[1];
13934
- }
13935
- return null;
13936
- }
13937
- function indexOf(xs, x) {
13938
- if (xs.indexOf) {
13939
- return xs.indexOf(x);
13898
+ var toStr$5 = Object.prototype.toString;
13899
+ var strClass = "[object String]";
13900
+ var hasToStringTag$7 = shams();
13901
+ var isString$2 = function isString(value) {
13902
+ if (typeof value === "string") {
13903
+ return true;
13940
13904
  }
13941
- for (var i = 0, l2 = xs.length; i < l2; i++) {
13942
- if (xs[i] === x) {
13943
- return i;
13944
- }
13905
+ if (typeof value !== "object") {
13906
+ return false;
13945
13907
  }
13946
- return -1;
13908
+ return hasToStringTag$7 ? tryStringObject(value) : toStr$5.call(value) === strClass;
13909
+ };
13910
+ var $Map$2 = typeof Map === "function" && Map.prototype ? Map : null;
13911
+ var $Set$3 = typeof Set === "function" && Set.prototype ? Set : null;
13912
+ var exported$2;
13913
+ if (!$Map$2) {
13914
+ exported$2 = function isMap3(x) {
13915
+ return false;
13916
+ };
13947
13917
  }
13948
- function isMap2(x) {
13949
- if (!mapSize || !x || typeof x !== "object") {
13918
+ var $mapHas$4 = $Map$2 ? Map.prototype.has : null;
13919
+ var $setHas$4 = $Set$3 ? Set.prototype.has : null;
13920
+ if (!exported$2 && !$mapHas$4) {
13921
+ exported$2 = function isMap3(x) {
13922
+ return false;
13923
+ };
13924
+ }
13925
+ var isMap$2 = exported$2 || function isMap(x) {
13926
+ if (!x || typeof x !== "object") {
13950
13927
  return false;
13951
13928
  }
13952
13929
  try {
13953
- mapSize.call(x);
13954
- try {
13955
- setSize.call(x);
13956
- } catch (s) {
13957
- return true;
13930
+ $mapHas$4.call(x);
13931
+ if ($setHas$4) {
13932
+ try {
13933
+ $setHas$4.call(x);
13934
+ } catch (e2) {
13935
+ return true;
13936
+ }
13958
13937
  }
13959
- return x instanceof Map;
13938
+ return x instanceof $Map$2;
13960
13939
  } catch (e2) {
13961
13940
  }
13962
13941
  return false;
13942
+ };
13943
+ var $Map$1 = typeof Map === "function" && Map.prototype ? Map : null;
13944
+ var $Set$2 = typeof Set === "function" && Set.prototype ? Set : null;
13945
+ var exported$1;
13946
+ if (!$Set$2) {
13947
+ exported$1 = function isSet3(x) {
13948
+ return false;
13949
+ };
13963
13950
  }
13964
- function isWeakMap2(x) {
13965
- if (!weakMapHas || !x || typeof x !== "object") {
13951
+ var $mapHas$3 = $Map$1 ? Map.prototype.has : null;
13952
+ var $setHas$3 = $Set$2 ? Set.prototype.has : null;
13953
+ if (!exported$1 && !$setHas$3) {
13954
+ exported$1 = function isSet3(x) {
13955
+ return false;
13956
+ };
13957
+ }
13958
+ var isSet$2 = exported$1 || function isSet(x) {
13959
+ if (!x || typeof x !== "object") {
13966
13960
  return false;
13967
13961
  }
13968
13962
  try {
13969
- weakMapHas.call(x, weakMapHas);
13970
- try {
13971
- weakSetHas.call(x, weakSetHas);
13972
- } catch (s) {
13973
- return true;
13963
+ $setHas$3.call(x);
13964
+ if ($mapHas$3) {
13965
+ try {
13966
+ $mapHas$3.call(x);
13967
+ } catch (e2) {
13968
+ return true;
13969
+ }
13974
13970
  }
13975
- return x instanceof WeakMap;
13971
+ return x instanceof $Set$2;
13976
13972
  } catch (e2) {
13977
13973
  }
13978
13974
  return false;
13975
+ };
13976
+ var isArguments$1 = isArguments$2;
13977
+ var getStopIterationIterator2 = stopIterationIterator;
13978
+ if (hasSymbols$5() || shams$1()) {
13979
+ var $iterator = Symbol.iterator;
13980
+ esGetIterator.exports = function getIterator2(iterable) {
13981
+ if (iterable != null && typeof iterable[$iterator] !== "undefined") {
13982
+ return iterable[$iterator]();
13983
+ }
13984
+ if (isArguments$1(iterable)) {
13985
+ return Array.prototype[$iterator].call(iterable);
13986
+ }
13987
+ };
13988
+ } else {
13989
+ var isArray$1 = isarray;
13990
+ var isString$1 = isString$2;
13991
+ var GetIntrinsic$4 = getIntrinsic;
13992
+ var $Map = GetIntrinsic$4("%Map%", true);
13993
+ var $Set$1 = GetIntrinsic$4("%Set%", true);
13994
+ var callBound$8 = callBound$c;
13995
+ var $arrayPush = callBound$8("Array.prototype.push");
13996
+ var $charCodeAt = callBound$8("String.prototype.charCodeAt");
13997
+ var $stringSlice = callBound$8("String.prototype.slice");
13998
+ var advanceStringIndex = function advanceStringIndex2(S, index) {
13999
+ var length = S.length;
14000
+ if (index + 1 >= length) {
14001
+ return index + 1;
14002
+ }
14003
+ var first = $charCodeAt(S, index);
14004
+ if (first < 55296 || first > 56319) {
14005
+ return index + 1;
14006
+ }
14007
+ var second = $charCodeAt(S, index + 1);
14008
+ if (second < 56320 || second > 57343) {
14009
+ return index + 1;
14010
+ }
14011
+ return index + 2;
14012
+ };
14013
+ var getArrayIterator = function getArrayIterator2(arraylike) {
14014
+ var i = 0;
14015
+ return {
14016
+ next: function next() {
14017
+ var done = i >= arraylike.length;
14018
+ var value;
14019
+ if (!done) {
14020
+ value = arraylike[i];
14021
+ i += 1;
14022
+ }
14023
+ return {
14024
+ done,
14025
+ value
14026
+ };
14027
+ }
14028
+ };
14029
+ };
14030
+ var getNonCollectionIterator = function getNonCollectionIterator2(iterable, noPrimordialCollections) {
14031
+ if (isArray$1(iterable) || isArguments$1(iterable)) {
14032
+ return getArrayIterator(iterable);
14033
+ }
14034
+ if (isString$1(iterable)) {
14035
+ var i = 0;
14036
+ return {
14037
+ next: function next() {
14038
+ var nextIndex = advanceStringIndex(iterable, i);
14039
+ var value = $stringSlice(iterable, i, nextIndex);
14040
+ i = nextIndex;
14041
+ return {
14042
+ done: nextIndex > iterable.length,
14043
+ value
14044
+ };
14045
+ }
14046
+ };
14047
+ }
14048
+ if (noPrimordialCollections && typeof iterable["_es6-shim iterator_"] !== "undefined") {
14049
+ return iterable["_es6-shim iterator_"]();
14050
+ }
14051
+ };
14052
+ if (!$Map && !$Set$1) {
14053
+ esGetIterator.exports = function getIterator2(iterable) {
14054
+ if (iterable != null) {
14055
+ return getNonCollectionIterator(iterable, true);
14056
+ }
14057
+ };
14058
+ } else {
14059
+ var isMap$1 = isMap$2;
14060
+ var isSet$1 = isSet$2;
14061
+ var $mapForEach = callBound$8("Map.prototype.forEach", true);
14062
+ var $setForEach = callBound$8("Set.prototype.forEach", true);
14063
+ if (typeof process === "undefined" || !process.versions || !process.versions.node) {
14064
+ var $mapIterator = callBound$8("Map.prototype.iterator", true);
14065
+ var $setIterator = callBound$8("Set.prototype.iterator", true);
14066
+ }
14067
+ var $mapAtAtIterator = callBound$8("Map.prototype.@@iterator", true) || callBound$8("Map.prototype._es6-shim iterator_", true);
14068
+ var $setAtAtIterator = callBound$8("Set.prototype.@@iterator", true) || callBound$8("Set.prototype._es6-shim iterator_", true);
14069
+ var getCollectionIterator = function getCollectionIterator2(iterable) {
14070
+ if (isMap$1(iterable)) {
14071
+ if ($mapIterator) {
14072
+ return getStopIterationIterator2($mapIterator(iterable));
14073
+ }
14074
+ if ($mapAtAtIterator) {
14075
+ return $mapAtAtIterator(iterable);
14076
+ }
14077
+ if ($mapForEach) {
14078
+ var entries = [];
14079
+ $mapForEach(iterable, function(v2, k2) {
14080
+ $arrayPush(entries, [k2, v2]);
14081
+ });
14082
+ return getArrayIterator(entries);
14083
+ }
14084
+ }
14085
+ if (isSet$1(iterable)) {
14086
+ if ($setIterator) {
14087
+ return getStopIterationIterator2($setIterator(iterable));
14088
+ }
14089
+ if ($setAtAtIterator) {
14090
+ return $setAtAtIterator(iterable);
14091
+ }
14092
+ if ($setForEach) {
14093
+ var values = [];
14094
+ $setForEach(iterable, function(v2) {
14095
+ $arrayPush(values, v2);
14096
+ });
14097
+ return getArrayIterator(values);
14098
+ }
14099
+ }
14100
+ };
14101
+ esGetIterator.exports = function getIterator2(iterable) {
14102
+ return getCollectionIterator(iterable) || getNonCollectionIterator(iterable);
14103
+ };
14104
+ }
13979
14105
  }
13980
- function isWeakRef(x) {
13981
- if (!weakRefDeref || !x || typeof x !== "object") {
13982
- return false;
14106
+ var numberIsNaN = function(value) {
14107
+ return value !== value;
14108
+ };
14109
+ var implementation$2 = function is(a, b2) {
14110
+ if (a === 0 && b2 === 0) {
14111
+ return 1 / a === 1 / b2;
13983
14112
  }
13984
- try {
13985
- weakRefDeref.call(x);
14113
+ if (a === b2) {
14114
+ return true;
14115
+ }
14116
+ if (numberIsNaN(a) && numberIsNaN(b2)) {
13986
14117
  return true;
13987
- } catch (e2) {
13988
14118
  }
13989
14119
  return false;
14120
+ };
14121
+ var implementation$1 = implementation$2;
14122
+ var polyfill$1 = function getPolyfill3() {
14123
+ return typeof Object.is === "function" ? Object.is : implementation$1;
14124
+ };
14125
+ var getPolyfill$1 = polyfill$1;
14126
+ var define$1 = defineProperties_1;
14127
+ var shim$1 = function shimObjectIs() {
14128
+ var polyfill2 = getPolyfill$1();
14129
+ define$1(Object, { is: polyfill2 }, {
14130
+ is: function testObjectIs() {
14131
+ return Object.is !== polyfill2;
14132
+ }
14133
+ });
14134
+ return polyfill2;
14135
+ };
14136
+ var define = defineProperties_1;
14137
+ var callBind$1 = callBindExports;
14138
+ var implementation = implementation$2;
14139
+ var getPolyfill4 = polyfill$1;
14140
+ var shim = shim$1;
14141
+ var polyfill = callBind$1(getPolyfill4(), Object);
14142
+ define(polyfill, {
14143
+ getPolyfill: getPolyfill4,
14144
+ implementation,
14145
+ shim
14146
+ });
14147
+ var objectIs = polyfill;
14148
+ var fnToStr = Function.prototype.toString;
14149
+ var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
14150
+ var badArrayLike;
14151
+ var isCallableMarker;
14152
+ if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
14153
+ try {
14154
+ badArrayLike = Object.defineProperty({}, "length", {
14155
+ get: function() {
14156
+ throw isCallableMarker;
14157
+ }
14158
+ });
14159
+ isCallableMarker = {};
14160
+ reflectApply(function() {
14161
+ throw 42;
14162
+ }, null, badArrayLike);
14163
+ } catch (_) {
14164
+ if (_ !== isCallableMarker) {
14165
+ reflectApply = null;
14166
+ }
14167
+ }
14168
+ } else {
14169
+ reflectApply = null;
13990
14170
  }
13991
- function isSet2(x) {
13992
- if (!setSize || !x || typeof x !== "object") {
14171
+ var constructorRegex = /^\s*class\b/;
14172
+ var isES6ClassFn = function isES6ClassFunction(value) {
14173
+ try {
14174
+ var fnStr = fnToStr.call(value);
14175
+ return constructorRegex.test(fnStr);
14176
+ } catch (e2) {
13993
14177
  return false;
13994
14178
  }
14179
+ };
14180
+ var tryFunctionObject = function tryFunctionToStr(value) {
13995
14181
  try {
13996
- setSize.call(x);
13997
- try {
13998
- mapSize.call(x);
13999
- } catch (m2) {
14000
- return true;
14182
+ if (isES6ClassFn(value)) {
14183
+ return false;
14001
14184
  }
14002
- return x instanceof Set;
14185
+ fnToStr.call(value);
14186
+ return true;
14003
14187
  } catch (e2) {
14188
+ return false;
14189
+ }
14190
+ };
14191
+ var toStr$4 = Object.prototype.toString;
14192
+ var objectClass = "[object Object]";
14193
+ var fnClass = "[object Function]";
14194
+ var genClass = "[object GeneratorFunction]";
14195
+ var ddaClass = "[object HTMLAllCollection]";
14196
+ var ddaClass2 = "[object HTML document.all class]";
14197
+ var ddaClass3 = "[object HTMLCollection]";
14198
+ var hasToStringTag$6 = typeof Symbol === "function" && !!Symbol.toStringTag;
14199
+ var isIE68 = !(0 in [,]);
14200
+ var isDDA = function isDocumentDotAll() {
14201
+ return false;
14202
+ };
14203
+ if (typeof document === "object") {
14204
+ var all = document.all;
14205
+ if (toStr$4.call(all) === toStr$4.call(document.all)) {
14206
+ isDDA = function isDocumentDotAll2(value) {
14207
+ if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
14208
+ try {
14209
+ var str = toStr$4.call(value);
14210
+ return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
14211
+ } catch (e2) {
14212
+ }
14213
+ }
14214
+ return false;
14215
+ };
14004
14216
  }
14005
- return false;
14006
14217
  }
14007
- function isWeakSet(x) {
14008
- if (!weakSetHas || !x || typeof x !== "object") {
14218
+ var isCallable$1 = reflectApply ? function isCallable(value) {
14219
+ if (isDDA(value)) {
14220
+ return true;
14221
+ }
14222
+ if (!value) {
14223
+ return false;
14224
+ }
14225
+ if (typeof value !== "function" && typeof value !== "object") {
14009
14226
  return false;
14010
14227
  }
14011
14228
  try {
14012
- weakSetHas.call(x, weakSetHas);
14013
- try {
14014
- weakMapHas.call(x, weakMapHas);
14015
- } catch (s) {
14016
- return true;
14017
- }
14018
- return x instanceof WeakSet;
14229
+ reflectApply(value, null, badArrayLike);
14019
14230
  } catch (e2) {
14231
+ if (e2 !== isCallableMarker) {
14232
+ return false;
14233
+ }
14020
14234
  }
14021
- return false;
14022
- }
14023
- function isElement(x) {
14024
- if (!x || typeof x !== "object") {
14025
- return false;
14026
- }
14027
- if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
14235
+ return !isES6ClassFn(value) && tryFunctionObject(value);
14236
+ } : function isCallable2(value) {
14237
+ if (isDDA(value)) {
14028
14238
  return true;
14029
14239
  }
14030
- return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
14031
- }
14032
- function inspectString(str, opts) {
14033
- if (str.length > opts.maxStringLength) {
14034
- var remaining = str.length - opts.maxStringLength;
14035
- var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
14036
- return inspectString($slice$1.call(str, 0, opts.maxStringLength), opts) + trailer;
14037
- }
14038
- var s = $replace.call($replace.call(str, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, lowbyte);
14039
- return wrapQuotes(s, "single", opts);
14040
- }
14041
- function lowbyte(c2) {
14042
- var n2 = c2.charCodeAt(0);
14043
- var x = {
14044
- 8: "b",
14045
- 9: "t",
14046
- 10: "n",
14047
- 12: "f",
14048
- 13: "r"
14049
- }[n2];
14050
- if (x) {
14051
- return "\\" + x;
14240
+ if (!value) {
14241
+ return false;
14052
14242
  }
14053
- return "\\x" + (n2 < 16 ? "0" : "") + $toUpperCase.call(n2.toString(16));
14054
- }
14055
- function markBoxed(str) {
14056
- return "Object(" + str + ")";
14057
- }
14058
- function weakCollectionOf(type) {
14059
- return type + " { ? }";
14060
- }
14061
- function collectionOf(type, size, entries, indent) {
14062
- var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
14063
- return type + " (" + size + ") {" + joinedEntries + "}";
14064
- }
14065
- function singleLineValues(xs) {
14066
- for (var i = 0; i < xs.length; i++) {
14067
- if (indexOf(xs[i], "\n") >= 0) {
14068
- return false;
14069
- }
14243
+ if (typeof value !== "function" && typeof value !== "object") {
14244
+ return false;
14070
14245
  }
14071
- return true;
14072
- }
14073
- function getIndent(opts, depth) {
14074
- var baseIndent;
14075
- if (opts.indent === " ") {
14076
- baseIndent = " ";
14077
- } else if (typeof opts.indent === "number" && opts.indent > 0) {
14078
- baseIndent = $join.call(Array(opts.indent + 1), " ");
14079
- } else {
14080
- return null;
14246
+ if (hasToStringTag$6) {
14247
+ return tryFunctionObject(value);
14081
14248
  }
14082
- return {
14083
- base: baseIndent,
14084
- prev: $join.call(Array(depth + 1), baseIndent)
14085
- };
14086
- }
14087
- function indentedJoin(xs, indent) {
14088
- if (xs.length === 0) {
14089
- return "";
14249
+ if (isES6ClassFn(value)) {
14250
+ return false;
14090
14251
  }
14091
- var lineJoiner = "\n" + indent.prev + indent.base;
14092
- return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
14093
- }
14094
- function arrObjKeys(obj, inspect2) {
14095
- var isArr = isArray$1(obj);
14096
- var xs = [];
14097
- if (isArr) {
14098
- xs.length = obj.length;
14099
- for (var i = 0; i < obj.length; i++) {
14100
- xs[i] = has(obj, i) ? inspect2(obj[i], obj) : "";
14101
- }
14252
+ var strClass2 = toStr$4.call(value);
14253
+ if (strClass2 !== fnClass && strClass2 !== genClass && !/^\[object HTML/.test(strClass2)) {
14254
+ return false;
14102
14255
  }
14103
- var syms = typeof gOPS === "function" ? gOPS(obj) : [];
14104
- var symMap;
14105
- if (hasShammedSymbols) {
14106
- symMap = {};
14107
- for (var k2 = 0; k2 < syms.length; k2++) {
14108
- symMap["$" + syms[k2]] = syms[k2];
14256
+ return tryFunctionObject(value);
14257
+ };
14258
+ var isCallable3 = isCallable$1;
14259
+ var toStr$3 = Object.prototype.toString;
14260
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
14261
+ var forEachArray = function forEachArray2(array, iterator, receiver) {
14262
+ for (var i = 0, len = array.length; i < len; i++) {
14263
+ if (hasOwnProperty.call(array, i)) {
14264
+ if (receiver == null) {
14265
+ iterator(array[i], i, array);
14266
+ } else {
14267
+ iterator.call(receiver, array[i], i, array);
14268
+ }
14109
14269
  }
14110
14270
  }
14111
- for (var key in obj) {
14112
- if (!has(obj, key)) {
14113
- continue;
14114
- }
14115
- if (isArr && String(Number(key)) === key && key < obj.length) {
14116
- continue;
14117
- }
14118
- if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
14119
- continue;
14120
- } else if ($test.call(/[^\w$]/, key)) {
14121
- xs.push(inspect2(key, obj) + ": " + inspect2(obj[key], obj));
14271
+ };
14272
+ var forEachString = function forEachString2(string, iterator, receiver) {
14273
+ for (var i = 0, len = string.length; i < len; i++) {
14274
+ if (receiver == null) {
14275
+ iterator(string.charAt(i), i, string);
14122
14276
  } else {
14123
- xs.push(key + ": " + inspect2(obj[key], obj));
14277
+ iterator.call(receiver, string.charAt(i), i, string);
14124
14278
  }
14125
14279
  }
14126
- if (typeof gOPS === "function") {
14127
- for (var j = 0; j < syms.length; j++) {
14128
- if (isEnumerable.call(obj, syms[j])) {
14129
- xs.push("[" + inspect2(syms[j]) + "]: " + inspect2(obj[syms[j]], obj));
14280
+ };
14281
+ var forEachObject = function forEachObject2(object, iterator, receiver) {
14282
+ for (var k2 in object) {
14283
+ if (hasOwnProperty.call(object, k2)) {
14284
+ if (receiver == null) {
14285
+ iterator(object[k2], k2, object);
14286
+ } else {
14287
+ iterator.call(receiver, object[k2], k2, object);
14130
14288
  }
14131
14289
  }
14132
14290
  }
14133
- return xs;
14134
- }
14135
- var GetIntrinsic$1 = getIntrinsic;
14136
- var callBound$3 = callBound$9;
14137
- var inspect = objectInspect;
14138
- var $TypeError = GetIntrinsic$1("%TypeError%");
14139
- var $WeakMap = GetIntrinsic$1("%WeakMap%", true);
14140
- var $Map = GetIntrinsic$1("%Map%", true);
14141
- var $weakMapGet = callBound$3("WeakMap.prototype.get", true);
14142
- var $weakMapSet = callBound$3("WeakMap.prototype.set", true);
14143
- var $weakMapHas = callBound$3("WeakMap.prototype.has", true);
14144
- var $mapGet$1 = callBound$3("Map.prototype.get", true);
14145
- var $mapSet = callBound$3("Map.prototype.set", true);
14146
- var $mapHas$1 = callBound$3("Map.prototype.has", true);
14147
- var listGetNode = function(list, key) {
14148
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
14149
- if (curr.key === key) {
14150
- prev.next = curr.next;
14151
- curr.next = list.next;
14152
- list.next = curr;
14153
- return curr;
14154
- }
14155
- }
14156
- };
14157
- var listGet = function(objects, key) {
14158
- var node = listGetNode(objects, key);
14159
- return node && node.value;
14160
14291
  };
14161
- var listSet = function(objects, key, value) {
14162
- var node = listGetNode(objects, key);
14163
- if (node) {
14164
- node.value = value;
14292
+ var forEach$2 = function forEach(list, iterator, thisArg) {
14293
+ if (!isCallable3(iterator)) {
14294
+ throw new TypeError("iterator must be a function");
14295
+ }
14296
+ var receiver;
14297
+ if (arguments.length >= 3) {
14298
+ receiver = thisArg;
14299
+ }
14300
+ if (toStr$3.call(list) === "[object Array]") {
14301
+ forEachArray(list, iterator, receiver);
14302
+ } else if (typeof list === "string") {
14303
+ forEachString(list, iterator, receiver);
14165
14304
  } else {
14166
- objects.next = {
14167
- // eslint-disable-line no-param-reassign
14168
- key,
14169
- next: objects.next,
14170
- value
14171
- };
14305
+ forEachObject(list, iterator, receiver);
14172
14306
  }
14173
14307
  };
14174
- var listHas = function(objects, key) {
14175
- return !!listGetNode(objects, key);
14176
- };
14177
- var sideChannel = function getSideChannel() {
14178
- var $wm;
14179
- var $m;
14180
- var $o;
14181
- var channel = {
14182
- assert: function(key) {
14183
- if (!channel.has(key)) {
14184
- throw new $TypeError("Side channel does not contain " + inspect(key));
14185
- }
14186
- },
14187
- get: function(key) {
14188
- if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
14189
- if ($wm) {
14190
- return $weakMapGet($wm, key);
14191
- }
14192
- } else if ($Map) {
14193
- if ($m) {
14194
- return $mapGet$1($m, key);
14195
- }
14196
- } else {
14197
- if ($o) {
14198
- return listGet($o, key);
14199
- }
14200
- }
14201
- },
14202
- has: function(key) {
14203
- if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
14204
- if ($wm) {
14205
- return $weakMapHas($wm, key);
14206
- }
14207
- } else if ($Map) {
14208
- if ($m) {
14209
- return $mapHas$1($m, key);
14210
- }
14211
- } else {
14212
- if ($o) {
14213
- return listHas($o, key);
14214
- }
14215
- }
14216
- return false;
14217
- },
14218
- set: function(key, value) {
14219
- if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
14220
- if (!$wm) {
14221
- $wm = new $WeakMap();
14222
- }
14223
- $weakMapSet($wm, key, value);
14224
- } else if ($Map) {
14225
- if (!$m) {
14226
- $m = new $Map();
14227
- }
14228
- $mapSet($m, key, value);
14229
- } else {
14230
- if (!$o) {
14231
- $o = { key: {}, next: null };
14232
- }
14233
- listSet($o, key, value);
14234
- }
14308
+ var forEach_1 = forEach$2;
14309
+ var possibleNames = [
14310
+ "BigInt64Array",
14311
+ "BigUint64Array",
14312
+ "Float32Array",
14313
+ "Float64Array",
14314
+ "Int16Array",
14315
+ "Int32Array",
14316
+ "Int8Array",
14317
+ "Uint16Array",
14318
+ "Uint32Array",
14319
+ "Uint8Array",
14320
+ "Uint8ClampedArray"
14321
+ ];
14322
+ var g$4 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
14323
+ var availableTypedArrays$2 = function availableTypedArrays() {
14324
+ var out = [];
14325
+ for (var i = 0; i < possibleNames.length; i++) {
14326
+ if (typeof g$4[possibleNames[i]] === "function") {
14327
+ out[out.length] = possibleNames[i];
14235
14328
  }
14236
- };
14237
- return channel;
14329
+ }
14330
+ return out;
14238
14331
  };
14239
- var fnToStr = Function.prototype.toString;
14240
- var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
14241
- var badArrayLike;
14242
- var isCallableMarker;
14243
- if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
14332
+ var GetIntrinsic$3 = getIntrinsic;
14333
+ var $gOPD = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
14334
+ if ($gOPD) {
14244
14335
  try {
14245
- badArrayLike = Object.defineProperty({}, "length", {
14246
- get: function() {
14247
- throw isCallableMarker;
14248
- }
14249
- });
14250
- isCallableMarker = {};
14251
- reflectApply(function() {
14252
- throw 42;
14253
- }, null, badArrayLike);
14254
- } catch (_) {
14255
- if (_ !== isCallableMarker) {
14256
- reflectApply = null;
14336
+ $gOPD([], "length");
14337
+ } catch (e2) {
14338
+ $gOPD = null;
14339
+ }
14340
+ }
14341
+ var gopd = $gOPD;
14342
+ var forEach$1 = forEach_1;
14343
+ var availableTypedArrays$1 = availableTypedArrays$2;
14344
+ var callBound$7 = callBound$c;
14345
+ var $toString$3 = callBound$7("Object.prototype.toString");
14346
+ var hasToStringTag$5 = shams();
14347
+ var gOPD$2 = gopd;
14348
+ var g$3 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
14349
+ var typedArrays$1 = availableTypedArrays$1();
14350
+ var $indexOf = callBound$7("Array.prototype.indexOf", true) || function indexOf2(array, value) {
14351
+ for (var i = 0; i < array.length; i += 1) {
14352
+ if (array[i] === value) {
14353
+ return i;
14257
14354
  }
14258
14355
  }
14259
- } else {
14260
- reflectApply = null;
14356
+ return -1;
14357
+ };
14358
+ var $slice$1 = callBound$7("String.prototype.slice");
14359
+ var toStrTags$1 = {};
14360
+ var getPrototypeOf$1 = Object.getPrototypeOf;
14361
+ if (hasToStringTag$5 && gOPD$2 && getPrototypeOf$1) {
14362
+ forEach$1(typedArrays$1, function(typedArray) {
14363
+ var arr = new g$3[typedArray]();
14364
+ if (Symbol.toStringTag in arr) {
14365
+ var proto = getPrototypeOf$1(arr);
14366
+ var descriptor = gOPD$2(proto, Symbol.toStringTag);
14367
+ if (!descriptor) {
14368
+ var superProto = getPrototypeOf$1(proto);
14369
+ descriptor = gOPD$2(superProto, Symbol.toStringTag);
14370
+ }
14371
+ toStrTags$1[typedArray] = descriptor.get;
14372
+ }
14373
+ });
14261
14374
  }
14262
- var constructorRegex = /^\s*class\b/;
14263
- var isES6ClassFn = function isES6ClassFunction(value) {
14375
+ var tryTypedArrays$1 = function tryAllTypedArrays(value) {
14376
+ var anyTrue = false;
14377
+ forEach$1(toStrTags$1, function(getter, typedArray) {
14378
+ if (!anyTrue) {
14379
+ try {
14380
+ anyTrue = getter.call(value) === typedArray;
14381
+ } catch (e2) {
14382
+ }
14383
+ }
14384
+ });
14385
+ return anyTrue;
14386
+ };
14387
+ var isTypedArray$2 = function isTypedArray(value) {
14388
+ if (!value || typeof value !== "object") {
14389
+ return false;
14390
+ }
14391
+ if (!hasToStringTag$5 || !(Symbol.toStringTag in value)) {
14392
+ var tag = $slice$1($toString$3(value), 8, -1);
14393
+ return $indexOf(typedArrays$1, tag) > -1;
14394
+ }
14395
+ if (!gOPD$2) {
14396
+ return false;
14397
+ }
14398
+ return tryTypedArrays$1(value);
14399
+ };
14400
+ var callBind = callBindExports;
14401
+ var callBound$6 = callBound$c;
14402
+ var GetIntrinsic$2 = getIntrinsic;
14403
+ var isTypedArray$1 = isTypedArray$2;
14404
+ var $ArrayBuffer = GetIntrinsic$2("ArrayBuffer", true);
14405
+ var $Float32Array = GetIntrinsic$2("Float32Array", true);
14406
+ var $byteLength$1 = callBound$6("ArrayBuffer.prototype.byteLength", true);
14407
+ var abSlice = $ArrayBuffer && !$byteLength$1 && new $ArrayBuffer().slice;
14408
+ var $abSlice = abSlice && callBind(abSlice);
14409
+ var isArrayBuffer$1 = $byteLength$1 || $abSlice ? function isArrayBuffer(obj) {
14410
+ if (!obj || typeof obj !== "object") {
14411
+ return false;
14412
+ }
14264
14413
  try {
14265
- var fnStr = fnToStr.call(value);
14266
- return constructorRegex.test(fnStr);
14414
+ if ($byteLength$1) {
14415
+ $byteLength$1(obj);
14416
+ } else {
14417
+ $abSlice(obj, 0);
14418
+ }
14419
+ return true;
14267
14420
  } catch (e2) {
14268
14421
  return false;
14269
14422
  }
14423
+ } : $Float32Array ? function IsArrayBuffer(obj) {
14424
+ try {
14425
+ return new $Float32Array(obj).buffer === obj && !isTypedArray$1(obj);
14426
+ } catch (e2) {
14427
+ return typeof obj === "object" && e2.name === "RangeError";
14428
+ }
14429
+ } : function isArrayBuffer2(obj) {
14430
+ return false;
14270
14431
  };
14271
- var tryFunctionObject = function tryFunctionToStr(value) {
14432
+ var getDay = Date.prototype.getDay;
14433
+ var tryDateObject = function tryDateGetDayCall(value) {
14272
14434
  try {
14273
- if (isES6ClassFn(value)) {
14274
- return false;
14275
- }
14276
- fnToStr.call(value);
14435
+ getDay.call(value);
14277
14436
  return true;
14278
14437
  } catch (e2) {
14279
14438
  return false;
14280
14439
  }
14281
14440
  };
14282
- var toStr$1 = Object.prototype.toString;
14283
- var objectClass = "[object Object]";
14284
- var fnClass = "[object Function]";
14285
- var genClass = "[object GeneratorFunction]";
14286
- var ddaClass = "[object HTMLAllCollection]";
14287
- var ddaClass2 = "[object HTML document.all class]";
14288
- var ddaClass3 = "[object HTMLCollection]";
14289
- var hasToStringTag$1 = typeof Symbol === "function" && !!Symbol.toStringTag;
14290
- var isIE68 = !(0 in [,]);
14291
- var isDDA = function isDocumentDotAll() {
14292
- return false;
14441
+ var toStr$2 = Object.prototype.toString;
14442
+ var dateClass = "[object Date]";
14443
+ var hasToStringTag$4 = shams();
14444
+ var isDateObject = function isDateObject2(value) {
14445
+ if (typeof value !== "object" || value === null) {
14446
+ return false;
14447
+ }
14448
+ return hasToStringTag$4 ? tryDateObject(value) : toStr$2.call(value) === dateClass;
14293
14449
  };
14294
- if (typeof document === "object") {
14295
- var all = document.all;
14296
- if (toStr$1.call(all) === toStr$1.call(document.all)) {
14297
- isDDA = function isDocumentDotAll2(value) {
14298
- if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
14299
- try {
14300
- var str = toStr$1.call(value);
14301
- return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
14302
- } catch (e2) {
14303
- }
14304
- }
14305
- return false;
14306
- };
14450
+ var callBound$5 = callBound$c;
14451
+ var hasToStringTag$3 = shams();
14452
+ var has;
14453
+ var $exec;
14454
+ var isRegexMarker;
14455
+ var badStringifier;
14456
+ if (hasToStringTag$3) {
14457
+ has = callBound$5("Object.prototype.hasOwnProperty");
14458
+ $exec = callBound$5("RegExp.prototype.exec");
14459
+ isRegexMarker = {};
14460
+ var throwRegexMarker = function() {
14461
+ throw isRegexMarker;
14462
+ };
14463
+ badStringifier = {
14464
+ toString: throwRegexMarker,
14465
+ valueOf: throwRegexMarker
14466
+ };
14467
+ if (typeof Symbol.toPrimitive === "symbol") {
14468
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
14307
14469
  }
14308
14470
  }
14309
- var isCallable$1 = reflectApply ? function isCallable(value) {
14310
- if (isDDA(value)) {
14311
- return true;
14471
+ var $toString$2 = callBound$5("Object.prototype.toString");
14472
+ var gOPD$1 = Object.getOwnPropertyDescriptor;
14473
+ var regexClass = "[object RegExp]";
14474
+ var isRegex$1 = hasToStringTag$3 ? function isRegex(value) {
14475
+ if (!value || typeof value !== "object") {
14476
+ return false;
14312
14477
  }
14313
- if (!value) {
14478
+ var descriptor = gOPD$1(value, "lastIndex");
14479
+ var hasLastIndexDataProperty = descriptor && has(descriptor, "value");
14480
+ if (!hasLastIndexDataProperty) {
14314
14481
  return false;
14315
14482
  }
14316
- if (typeof value !== "function" && typeof value !== "object") {
14483
+ try {
14484
+ $exec(value, badStringifier);
14485
+ } catch (e2) {
14486
+ return e2 === isRegexMarker;
14487
+ }
14488
+ } : function isRegex2(value) {
14489
+ if (!value || typeof value !== "object" && typeof value !== "function") {
14490
+ return false;
14491
+ }
14492
+ return $toString$2(value) === regexClass;
14493
+ };
14494
+ var callBound$4 = callBound$c;
14495
+ var $byteLength = callBound$4("SharedArrayBuffer.prototype.byteLength", true);
14496
+ var isSharedArrayBuffer$1 = $byteLength ? function isSharedArrayBuffer(obj) {
14497
+ if (!obj || typeof obj !== "object") {
14317
14498
  return false;
14318
14499
  }
14319
14500
  try {
14320
- reflectApply(value, null, badArrayLike);
14501
+ $byteLength(obj);
14502
+ return true;
14321
14503
  } catch (e2) {
14322
- if (e2 !== isCallableMarker) {
14323
- return false;
14324
- }
14504
+ return false;
14325
14505
  }
14326
- return !isES6ClassFn(value) && tryFunctionObject(value);
14327
- } : function isCallable2(value) {
14328
- if (isDDA(value)) {
14506
+ } : function isSharedArrayBuffer2(obj) {
14507
+ return false;
14508
+ };
14509
+ var numToStr = Number.prototype.toString;
14510
+ var tryNumberObject = function tryNumberObject2(value) {
14511
+ try {
14512
+ numToStr.call(value);
14329
14513
  return true;
14514
+ } catch (e2) {
14515
+ return false;
14330
14516
  }
14331
- if (!value) {
14517
+ };
14518
+ var toStr$1 = Object.prototype.toString;
14519
+ var numClass = "[object Number]";
14520
+ var hasToStringTag$2 = shams();
14521
+ var isNumberObject = function isNumberObject2(value) {
14522
+ if (typeof value === "number") {
14523
+ return true;
14524
+ }
14525
+ if (typeof value !== "object") {
14332
14526
  return false;
14333
14527
  }
14334
- if (typeof value !== "function" && typeof value !== "object") {
14528
+ return hasToStringTag$2 ? tryNumberObject(value) : toStr$1.call(value) === numClass;
14529
+ };
14530
+ var callBound$3 = callBound$c;
14531
+ var $boolToStr = callBound$3("Boolean.prototype.toString");
14532
+ var $toString$1 = callBound$3("Object.prototype.toString");
14533
+ var tryBooleanObject = function booleanBrandCheck(value) {
14534
+ try {
14535
+ $boolToStr(value);
14536
+ return true;
14537
+ } catch (e2) {
14335
14538
  return false;
14336
14539
  }
14337
- if (hasToStringTag$1) {
14338
- return tryFunctionObject(value);
14540
+ };
14541
+ var boolClass = "[object Boolean]";
14542
+ var hasToStringTag$1 = shams();
14543
+ var isBooleanObject = function isBoolean(value) {
14544
+ if (typeof value === "boolean") {
14545
+ return true;
14339
14546
  }
14340
- if (isES6ClassFn(value)) {
14547
+ if (value === null || typeof value !== "object") {
14341
14548
  return false;
14342
14549
  }
14343
- var strClass2 = toStr$1.call(value);
14344
- if (strClass2 !== fnClass && strClass2 !== genClass && !/^\[object HTML/.test(strClass2)) {
14550
+ return hasToStringTag$1 && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString$1(value) === boolClass;
14551
+ };
14552
+ var isSymbolExports = {};
14553
+ var isSymbol$1 = {
14554
+ get exports() {
14555
+ return isSymbolExports;
14556
+ },
14557
+ set exports(v2) {
14558
+ isSymbolExports = v2;
14559
+ }
14560
+ };
14561
+ var toStr = Object.prototype.toString;
14562
+ var hasSymbols2 = hasSymbols$5();
14563
+ if (hasSymbols2) {
14564
+ var symToStr = Symbol.prototype.toString;
14565
+ var symStringRegex = /^Symbol\(.*\)$/;
14566
+ var isSymbolObject = function isRealSymbolObject(value) {
14567
+ if (typeof value.valueOf() !== "symbol") {
14568
+ return false;
14569
+ }
14570
+ return symStringRegex.test(symToStr.call(value));
14571
+ };
14572
+ isSymbol$1.exports = function isSymbol2(value) {
14573
+ if (typeof value === "symbol") {
14574
+ return true;
14575
+ }
14576
+ if (toStr.call(value) !== "[object Symbol]") {
14577
+ return false;
14578
+ }
14579
+ try {
14580
+ return isSymbolObject(value);
14581
+ } catch (e2) {
14582
+ return false;
14583
+ }
14584
+ };
14585
+ } else {
14586
+ isSymbol$1.exports = function isSymbol2(value) {
14587
+ return false;
14588
+ };
14589
+ }
14590
+ var isBigintExports = {};
14591
+ var isBigint = {
14592
+ get exports() {
14593
+ return isBigintExports;
14594
+ },
14595
+ set exports(v2) {
14596
+ isBigintExports = v2;
14597
+ }
14598
+ };
14599
+ var $BigInt = typeof BigInt !== "undefined" && BigInt;
14600
+ var hasBigints = function hasNativeBigInts() {
14601
+ return typeof $BigInt === "function" && typeof BigInt === "function" && typeof $BigInt(42) === "bigint" && typeof BigInt(42) === "bigint";
14602
+ };
14603
+ var hasBigInts = hasBigints();
14604
+ if (hasBigInts) {
14605
+ var bigIntValueOf = BigInt.prototype.valueOf;
14606
+ var tryBigInt = function tryBigIntObject(value) {
14607
+ try {
14608
+ bigIntValueOf.call(value);
14609
+ return true;
14610
+ } catch (e2) {
14611
+ }
14612
+ return false;
14613
+ };
14614
+ isBigint.exports = function isBigInt2(value) {
14615
+ if (value === null || typeof value === "undefined" || typeof value === "boolean" || typeof value === "string" || typeof value === "number" || typeof value === "symbol" || typeof value === "function") {
14616
+ return false;
14617
+ }
14618
+ if (typeof value === "bigint") {
14619
+ return true;
14620
+ }
14621
+ return tryBigInt(value);
14622
+ };
14623
+ } else {
14624
+ isBigint.exports = function isBigInt2(value) {
14345
14625
  return false;
14626
+ };
14627
+ }
14628
+ var isString2 = isString$2;
14629
+ var isNumber = isNumberObject;
14630
+ var isBoolean2 = isBooleanObject;
14631
+ var isSymbol = isSymbolExports;
14632
+ var isBigInt = isBigintExports;
14633
+ var whichBoxedPrimitive$1 = function whichBoxedPrimitive(value) {
14634
+ if (value == null || typeof value !== "object" && typeof value !== "function") {
14635
+ return null;
14636
+ }
14637
+ if (isString2(value)) {
14638
+ return "String";
14639
+ }
14640
+ if (isNumber(value)) {
14641
+ return "Number";
14642
+ }
14643
+ if (isBoolean2(value)) {
14644
+ return "Boolean";
14645
+ }
14646
+ if (isSymbol(value)) {
14647
+ return "Symbol";
14346
14648
  }
14347
- return tryFunctionObject(value);
14348
- };
14349
- var isCallable3 = isCallable$1;
14350
- var toStr = Object.prototype.toString;
14351
- var hasOwnProperty = Object.prototype.hasOwnProperty;
14352
- var forEachArray = function forEachArray2(array, iterator, receiver) {
14353
- for (var i = 0, len = array.length; i < len; i++) {
14354
- if (hasOwnProperty.call(array, i)) {
14355
- if (receiver == null) {
14356
- iterator(array[i], i, array);
14357
- } else {
14358
- iterator.call(receiver, array[i], i, array);
14359
- }
14360
- }
14649
+ if (isBigInt(value)) {
14650
+ return "BigInt";
14361
14651
  }
14362
14652
  };
14363
- var forEachString = function forEachString2(string, iterator, receiver) {
14364
- for (var i = 0, len = string.length; i < len; i++) {
14365
- if (receiver == null) {
14366
- iterator(string.charAt(i), i, string);
14367
- } else {
14368
- iterator.call(receiver, string.charAt(i), i, string);
14369
- }
14653
+ var $WeakMap = typeof WeakMap === "function" && WeakMap.prototype ? WeakMap : null;
14654
+ var $WeakSet$1 = typeof WeakSet === "function" && WeakSet.prototype ? WeakSet : null;
14655
+ var exported;
14656
+ if (!$WeakMap) {
14657
+ exported = function isWeakMap3(x) {
14658
+ return false;
14659
+ };
14660
+ }
14661
+ var $mapHas$2 = $WeakMap ? $WeakMap.prototype.has : null;
14662
+ var $setHas$2 = $WeakSet$1 ? $WeakSet$1.prototype.has : null;
14663
+ if (!exported && !$mapHas$2) {
14664
+ exported = function isWeakMap3(x) {
14665
+ return false;
14666
+ };
14667
+ }
14668
+ var isWeakmap = exported || function isWeakMap(x) {
14669
+ if (!x || typeof x !== "object") {
14670
+ return false;
14370
14671
  }
14371
- };
14372
- var forEachObject = function forEachObject2(object, iterator, receiver) {
14373
- for (var k2 in object) {
14374
- if (hasOwnProperty.call(object, k2)) {
14375
- if (receiver == null) {
14376
- iterator(object[k2], k2, object);
14377
- } else {
14378
- iterator.call(receiver, object[k2], k2, object);
14672
+ try {
14673
+ $mapHas$2.call(x, $mapHas$2);
14674
+ if ($setHas$2) {
14675
+ try {
14676
+ $setHas$2.call(x, $setHas$2);
14677
+ } catch (e2) {
14678
+ return true;
14379
14679
  }
14380
14680
  }
14681
+ return x instanceof $WeakMap;
14682
+ } catch (e2) {
14381
14683
  }
14684
+ return false;
14382
14685
  };
14383
- var forEach$1 = function forEach(list, iterator, thisArg) {
14384
- if (!isCallable3(iterator)) {
14385
- throw new TypeError("iterator must be a function");
14386
- }
14387
- var receiver;
14388
- if (arguments.length >= 3) {
14389
- receiver = thisArg;
14390
- }
14391
- if (toStr.call(list) === "[object Array]") {
14392
- forEachArray(list, iterator, receiver);
14393
- } else if (typeof list === "string") {
14394
- forEachString(list, iterator, receiver);
14395
- } else {
14396
- forEachObject(list, iterator, receiver);
14686
+ var isWeaksetExports = {};
14687
+ var isWeakset = {
14688
+ get exports() {
14689
+ return isWeaksetExports;
14690
+ },
14691
+ set exports(v2) {
14692
+ isWeaksetExports = v2;
14397
14693
  }
14398
14694
  };
14399
- var forEach_1 = forEach$1;
14400
- var possibleNames = [
14401
- "BigInt64Array",
14402
- "BigUint64Array",
14403
- "Float32Array",
14404
- "Float64Array",
14405
- "Int16Array",
14406
- "Int32Array",
14407
- "Int8Array",
14408
- "Uint16Array",
14409
- "Uint32Array",
14410
- "Uint8Array",
14411
- "Uint8ClampedArray"
14412
- ];
14413
- var g$3 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
14414
- var availableTypedArrays$1 = function availableTypedArrays() {
14415
- var out = [];
14416
- for (var i = 0; i < possibleNames.length; i++) {
14417
- if (typeof g$3[possibleNames[i]] === "function") {
14418
- out[out.length] = possibleNames[i];
14695
+ var GetIntrinsic$1 = getIntrinsic;
14696
+ var callBound$2 = callBound$c;
14697
+ var $WeakSet = GetIntrinsic$1("%WeakSet%", true);
14698
+ var $setHas$1 = callBound$2("WeakSet.prototype.has", true);
14699
+ if ($setHas$1) {
14700
+ var $mapHas$1 = callBound$2("WeakMap.prototype.has", true);
14701
+ isWeakset.exports = function isWeakSet2(x) {
14702
+ if (!x || typeof x !== "object") {
14703
+ return false;
14419
14704
  }
14420
- }
14421
- return out;
14422
- };
14423
- var getOwnPropertyDescriptor;
14424
- var hasRequiredGetOwnPropertyDescriptor;
14425
- function requireGetOwnPropertyDescriptor() {
14426
- if (hasRequiredGetOwnPropertyDescriptor)
14427
- return getOwnPropertyDescriptor;
14428
- hasRequiredGetOwnPropertyDescriptor = 1;
14429
- var GetIntrinsic3 = getIntrinsic;
14430
- var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
14431
- if ($gOPD2) {
14432
14705
  try {
14433
- $gOPD2([], "length");
14434
- } catch (e2) {
14435
- $gOPD2 = null;
14436
- }
14437
- }
14438
- getOwnPropertyDescriptor = $gOPD2;
14439
- return getOwnPropertyDescriptor;
14440
- }
14441
- var isTypedArray$1;
14442
- var hasRequiredIsTypedArray;
14443
- function requireIsTypedArray() {
14444
- if (hasRequiredIsTypedArray)
14445
- return isTypedArray$1;
14446
- hasRequiredIsTypedArray = 1;
14447
- var forEach3 = forEach_1;
14448
- var availableTypedArrays3 = availableTypedArrays$1;
14449
- var callBound2 = callBound$9;
14450
- var $toString2 = callBound2("Object.prototype.toString");
14451
- var hasToStringTag2 = shams();
14452
- var g2 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
14453
- var typedArrays2 = availableTypedArrays3();
14454
- var $indexOf2 = callBound2("Array.prototype.indexOf", true) || function indexOf2(array, value) {
14455
- for (var i = 0; i < array.length; i += 1) {
14456
- if (array[i] === value) {
14457
- return i;
14458
- }
14459
- }
14460
- return -1;
14461
- };
14462
- var $slice2 = callBound2("String.prototype.slice");
14463
- var toStrTags2 = {};
14464
- var gOPD2 = requireGetOwnPropertyDescriptor();
14465
- var getPrototypeOf2 = Object.getPrototypeOf;
14466
- if (hasToStringTag2 && gOPD2 && getPrototypeOf2) {
14467
- forEach3(typedArrays2, function(typedArray) {
14468
- var arr = new g2[typedArray]();
14469
- if (Symbol.toStringTag in arr) {
14470
- var proto = getPrototypeOf2(arr);
14471
- var descriptor = gOPD2(proto, Symbol.toStringTag);
14472
- if (!descriptor) {
14473
- var superProto = getPrototypeOf2(proto);
14474
- descriptor = gOPD2(superProto, Symbol.toStringTag);
14475
- }
14476
- toStrTags2[typedArray] = descriptor.get;
14477
- }
14478
- });
14479
- }
14480
- var tryTypedArrays2 = function tryAllTypedArrays2(value) {
14481
- var anyTrue = false;
14482
- forEach3(toStrTags2, function(getter, typedArray) {
14483
- if (!anyTrue) {
14706
+ $setHas$1(x, $setHas$1);
14707
+ if ($mapHas$1) {
14484
14708
  try {
14485
- anyTrue = getter.call(value) === typedArray;
14709
+ $mapHas$1(x, $mapHas$1);
14486
14710
  } catch (e2) {
14711
+ return true;
14487
14712
  }
14488
14713
  }
14489
- });
14490
- return anyTrue;
14714
+ return x instanceof $WeakSet;
14715
+ } catch (e2) {
14716
+ }
14717
+ return false;
14491
14718
  };
14492
- isTypedArray$1 = function isTypedArray2(value) {
14493
- if (!value || typeof value !== "object") {
14494
- return false;
14719
+ } else {
14720
+ isWeakset.exports = function isWeakSet2(x) {
14721
+ return false;
14722
+ };
14723
+ }
14724
+ var isMap2 = isMap$2;
14725
+ var isSet2 = isSet$2;
14726
+ var isWeakMap2 = isWeakmap;
14727
+ var isWeakSet = isWeaksetExports;
14728
+ var whichCollection$1 = function whichCollection(value) {
14729
+ if (value && typeof value === "object") {
14730
+ if (isMap2(value)) {
14731
+ return "Map";
14495
14732
  }
14496
- if (!hasToStringTag2 || !(Symbol.toStringTag in value)) {
14497
- var tag = $slice2($toString2(value), 8, -1);
14498
- return $indexOf2(typedArrays2, tag) > -1;
14733
+ if (isSet2(value)) {
14734
+ return "Set";
14499
14735
  }
14500
- if (!gOPD2) {
14501
- return false;
14736
+ if (isWeakMap2(value)) {
14737
+ return "WeakMap";
14502
14738
  }
14503
- return tryTypedArrays2(value);
14504
- };
14505
- return isTypedArray$1;
14506
- }
14739
+ if (isWeakSet(value)) {
14740
+ return "WeakSet";
14741
+ }
14742
+ }
14743
+ return false;
14744
+ };
14507
14745
  var forEach2 = forEach_1;
14508
- var availableTypedArrays2 = availableTypedArrays$1;
14509
- var callBound$2 = callBound$9;
14510
- var $toString = callBound$2("Object.prototype.toString");
14746
+ var availableTypedArrays2 = availableTypedArrays$2;
14747
+ var callBound$1 = callBound$c;
14748
+ var gOPD = gopd;
14749
+ var $toString = callBound$1("Object.prototype.toString");
14511
14750
  var hasToStringTag = shams();
14512
14751
  var g$2 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
14513
14752
  var typedArrays = availableTypedArrays2();
14514
- var $slice = callBound$2("String.prototype.slice");
14753
+ var $slice = callBound$1("String.prototype.slice");
14515
14754
  var toStrTags = {};
14516
- var gOPD = requireGetOwnPropertyDescriptor();
14517
14755
  var getPrototypeOf = Object.getPrototypeOf;
14518
14756
  if (hasToStringTag && gOPD && getPrototypeOf) {
14519
14757
  forEach2(typedArrays, function(typedArray) {
@@ -14531,7 +14769,7 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
14531
14769
  }
14532
14770
  });
14533
14771
  }
14534
- var tryTypedArrays = function tryAllTypedArrays(value) {
14772
+ var tryTypedArrays = function tryAllTypedArrays2(value) {
14535
14773
  var foundName = false;
14536
14774
  forEach2(toStrTags, function(getter, typedArray) {
14537
14775
  if (!foundName) {
@@ -14546,9 +14784,9 @@ var tryTypedArrays = function tryAllTypedArrays(value) {
14546
14784
  });
14547
14785
  return foundName;
14548
14786
  };
14549
- var isTypedArray = requireIsTypedArray();
14787
+ var isTypedArray2 = isTypedArray$2;
14550
14788
  var whichTypedArray$1 = function whichTypedArray(value) {
14551
- if (!isTypedArray(value)) {
14789
+ if (!isTypedArray2(value)) {
14552
14790
  return false;
14553
14791
  }
14554
14792
  if (!hasToStringTag || !(Symbol.toStringTag in value)) {
@@ -14556,129 +14794,27 @@ var whichTypedArray$1 = function whichTypedArray(value) {
14556
14794
  }
14557
14795
  return tryTypedArrays(value);
14558
14796
  };
14559
- var objectKeys$1 = objectKeys$2;
14560
- var hasSymbols2 = shams$1();
14561
- var callBound$1 = callBound$9;
14562
- var toObject = Object;
14563
- var $push = callBound$1("Array.prototype.push");
14564
- var $propIsEnumerable = callBound$1("Object.prototype.propertyIsEnumerable");
14565
- var originalGetSymbols = hasSymbols2 ? Object.getOwnPropertySymbols : null;
14566
- var implementation$2 = function assign(target, source1) {
14567
- if (target == null) {
14568
- throw new TypeError("target must be an object");
14569
- }
14570
- var to = toObject(target);
14571
- if (arguments.length === 1) {
14572
- return to;
14573
- }
14574
- for (var s = 1; s < arguments.length; ++s) {
14575
- var from = toObject(arguments[s]);
14576
- var keys3 = objectKeys$1(from);
14577
- var getSymbols = hasSymbols2 && (Object.getOwnPropertySymbols || originalGetSymbols);
14578
- if (getSymbols) {
14579
- var syms = getSymbols(from);
14580
- for (var j = 0; j < syms.length; ++j) {
14581
- var key = syms[j];
14582
- if ($propIsEnumerable(from, key)) {
14583
- $push(keys3, key);
14584
- }
14585
- }
14586
- }
14587
- for (var i = 0; i < keys3.length; ++i) {
14588
- var nextKey = keys3[i];
14589
- if ($propIsEnumerable(from, nextKey)) {
14590
- var propValue = from[nextKey];
14591
- to[nextKey] = propValue;
14592
- }
14593
- }
14594
- }
14595
- return to;
14596
- };
14597
- var implementation$1 = implementation$2;
14598
- var lacksProperEnumerationOrder = function() {
14599
- if (!Object.assign) {
14600
- return false;
14601
- }
14602
- var str = "abcdefghijklmnopqrst";
14603
- var letters = str.split("");
14604
- var map = {};
14605
- for (var i = 0; i < letters.length; ++i) {
14606
- map[letters[i]] = letters[i];
14607
- }
14608
- var obj = Object.assign({}, map);
14609
- var actual = "";
14610
- for (var k2 in obj) {
14611
- actual += k2;
14612
- }
14613
- return str !== actual;
14614
- };
14615
- var assignHasPendingExceptions = function() {
14616
- if (!Object.assign || !Object.preventExtensions) {
14617
- return false;
14618
- }
14619
- var thrower = Object.preventExtensions({ 1: 2 });
14620
- try {
14621
- Object.assign(thrower, "xy");
14622
- } catch (e2) {
14623
- return thrower[1] === "y";
14624
- }
14625
- return false;
14626
- };
14627
- var polyfill$1 = function getPolyfill3() {
14628
- if (!Object.assign) {
14629
- return implementation$1;
14630
- }
14631
- if (lacksProperEnumerationOrder()) {
14632
- return implementation$1;
14633
- }
14634
- if (assignHasPendingExceptions()) {
14635
- return implementation$1;
14636
- }
14637
- return Object.assign;
14638
- };
14639
- var define = defineProperties_1;
14640
- var getPolyfill$1 = polyfill$1;
14641
- var shim$1 = function shimAssign() {
14642
- var polyfill2 = getPolyfill$1();
14643
- define(
14644
- Object,
14645
- { assign: polyfill2 },
14646
- { assign: function() {
14647
- return Object.assign !== polyfill2;
14648
- } }
14649
- );
14650
- return polyfill2;
14651
- };
14652
- var defineProperties = defineProperties_1;
14653
- var callBind = callBindExports;
14654
- var implementation = implementation$2;
14655
- var getPolyfill4 = polyfill$1;
14656
- var shim = shim$1;
14657
- var polyfill = callBind.apply(getPolyfill4());
14658
- var bound = function assign2(target, source1) {
14659
- return polyfill(Object, arguments);
14660
- };
14661
- defineProperties(bound, {
14662
- getPolyfill: getPolyfill4,
14663
- implementation,
14664
- shim
14665
- });
14666
- var object_assign = bound;
14667
- var objectKeys = objectKeys$2;
14668
- var isArguments4 = isArguments$2;
14669
- var is2 = objectIs;
14670
- var isRegex3 = isRegex$1;
14797
+ var assign3 = object_assign;
14798
+ var callBound = callBound$c;
14671
14799
  var flags = regexp_prototype_flags;
14800
+ var GetIntrinsic2 = getIntrinsic;
14801
+ var getIterator = esGetIteratorExports;
14802
+ var getSideChannel2 = sideChannel;
14803
+ var is2 = objectIs;
14804
+ var isArguments4 = isArguments$2;
14672
14805
  var isArray = isarray;
14806
+ var isArrayBuffer3 = isArrayBuffer$1;
14673
14807
  var isDate = isDateObject;
14808
+ var isRegex3 = isRegex$1;
14809
+ var isSharedArrayBuffer3 = isSharedArrayBuffer$1;
14810
+ var objectKeys = objectKeys$2;
14674
14811
  var whichBoxedPrimitive2 = whichBoxedPrimitive$1;
14675
- var GetIntrinsic2 = getIntrinsic;
14676
- var callBound = callBound$9;
14677
14812
  var whichCollection2 = whichCollection$1;
14678
- var getIterator = esGetIteratorExports;
14679
- var getSideChannel2 = sideChannel;
14680
14813
  var whichTypedArray2 = whichTypedArray$1;
14681
- var assign3 = object_assign;
14814
+ var byteLength = callBound("ArrayBuffer.prototype.byteLength", true) || function byteLength2(ab) {
14815
+ return ab.byteLength;
14816
+ };
14817
+ var sabByteLength = callBound("SharedArrayBuffer.prototype.byteLength", true);
14682
14818
  var $getTime = callBound("Date.prototype.getTime");
14683
14819
  var gPO = Object.getPrototypeOf;
14684
14820
  var $objToString = callBound("Object.prototype.toString");
@@ -14690,11 +14826,11 @@ var $setAdd = callBound("Set.prototype.add", true);
14690
14826
  var $setDelete = callBound("Set.prototype.delete", true);
14691
14827
  var $setHas = callBound("Set.prototype.has", true);
14692
14828
  var $setSize = callBound("Set.prototype.size", true);
14693
- function setHasEqualElement(set, val1, opts, channel) {
14829
+ function setHasEqualElement(set, val1, opts, channel2) {
14694
14830
  var i = getIterator(set);
14695
14831
  var result;
14696
14832
  while ((result = i.next()) && !result.done) {
14697
- if (internalDeepEqual(val1, result.value, opts, channel)) {
14833
+ if (internalDeepEqual(val1, result.value, opts, channel2)) {
14698
14834
  $setDelete(set, result.value);
14699
14835
  return true;
14700
14836
  }
@@ -14716,17 +14852,17 @@ function findLooseMatchingPrimitives(prim) {
14716
14852
  }
14717
14853
  return true;
14718
14854
  }
14719
- function mapMightHaveLoosePrim(a, b2, prim, item, opts, channel) {
14855
+ function mapMightHaveLoosePrim(a, b2, prim, item, opts, channel2) {
14720
14856
  var altValue = findLooseMatchingPrimitives(prim);
14721
14857
  if (altValue != null) {
14722
14858
  return altValue;
14723
14859
  }
14724
14860
  var curB = $mapGet(b2, altValue);
14725
14861
  var looseOpts = assign3({}, opts, { strict: false });
14726
- if (typeof curB === "undefined" && !$mapHas(b2, altValue) || !internalDeepEqual(item, curB, looseOpts, channel)) {
14862
+ if (typeof curB === "undefined" && !$mapHas(b2, altValue) || !internalDeepEqual(item, curB, looseOpts, channel2)) {
14727
14863
  return false;
14728
14864
  }
14729
- return !$mapHas(a, altValue) && internalDeepEqual(item, curB, looseOpts, channel);
14865
+ return !$mapHas(a, altValue) && internalDeepEqual(item, curB, looseOpts, channel2);
14730
14866
  }
14731
14867
  function setMightHaveLoosePrim(a, b2, prim) {
14732
14868
  var altValue = findLooseMatchingPrimitives(prim);
@@ -14735,7 +14871,7 @@ function setMightHaveLoosePrim(a, b2, prim) {
14735
14871
  }
14736
14872
  return $setHas(b2, altValue) && !$setHas(a, altValue);
14737
14873
  }
14738
- function mapHasEqualEntry(set, map, key1, item1, opts, channel) {
14874
+ function mapHasEqualEntry(set, map, key1, item1, opts, channel2) {
14739
14875
  var i = getIterator(set);
14740
14876
  var result;
14741
14877
  var key2;
@@ -14743,7 +14879,7 @@ function mapHasEqualEntry(set, map, key1, item1, opts, channel) {
14743
14879
  key2 = result.value;
14744
14880
  if (
14745
14881
  // eslint-disable-next-line no-use-before-define
14746
- internalDeepEqual(key1, key2, opts, channel) && internalDeepEqual(item1, $mapGet(map, key2), opts, channel)
14882
+ internalDeepEqual(key1, key2, opts, channel2) && internalDeepEqual(item1, $mapGet(map, key2), opts, channel2)
14747
14883
  ) {
14748
14884
  $setDelete(set, key2);
14749
14885
  return true;
@@ -14751,7 +14887,7 @@ function mapHasEqualEntry(set, map, key1, item1, opts, channel) {
14751
14887
  }
14752
14888
  return false;
14753
14889
  }
14754
- function internalDeepEqual(actual, expected, options, channel) {
14890
+ function internalDeepEqual(actual, expected, options, channel2) {
14755
14891
  var opts = options || {};
14756
14892
  if (opts.strict ? is2(actual, expected) : actual === expected) {
14757
14893
  return true;
@@ -14764,23 +14900,23 @@ function internalDeepEqual(actual, expected, options, channel) {
14764
14900
  if (!actual || !expected || typeof actual !== "object" && typeof expected !== "object") {
14765
14901
  return opts.strict ? is2(actual, expected) : actual == expected;
14766
14902
  }
14767
- var hasActual = channel.has(actual);
14768
- var hasExpected = channel.has(expected);
14903
+ var hasActual = channel2.has(actual);
14904
+ var hasExpected = channel2.has(expected);
14769
14905
  var sentinel;
14770
14906
  if (hasActual && hasExpected) {
14771
- if (channel.get(actual) === channel.get(expected)) {
14907
+ if (channel2.get(actual) === channel2.get(expected)) {
14772
14908
  return true;
14773
14909
  }
14774
14910
  } else {
14775
14911
  sentinel = {};
14776
14912
  }
14777
14913
  if (!hasActual) {
14778
- channel.set(actual, sentinel);
14914
+ channel2.set(actual, sentinel);
14779
14915
  }
14780
14916
  if (!hasExpected) {
14781
- channel.set(expected, sentinel);
14917
+ channel2.set(expected, sentinel);
14782
14918
  }
14783
- return objEquiv(actual, expected, opts, channel);
14919
+ return objEquiv(actual, expected, opts, channel2);
14784
14920
  }
14785
14921
  function isBuffer(x) {
14786
14922
  if (!x || typeof x !== "object" || typeof x.length !== "number") {
@@ -14794,7 +14930,7 @@ function isBuffer(x) {
14794
14930
  }
14795
14931
  return !!(x.constructor && x.constructor.isBuffer && x.constructor.isBuffer(x));
14796
14932
  }
14797
- function setEquiv(a, b2, opts, channel) {
14933
+ function setEquiv(a, b2, opts, channel2) {
14798
14934
  if ($setSize(a) !== $setSize(b2)) {
14799
14935
  return false;
14800
14936
  }
@@ -14825,10 +14961,10 @@ function setEquiv(a, b2, opts, channel) {
14825
14961
  if (set) {
14826
14962
  while ((resultB = iB.next()) && !resultB.done) {
14827
14963
  if (resultB.value && typeof resultB.value === "object") {
14828
- if (!setHasEqualElement(set, resultB.value, opts.strict, channel)) {
14964
+ if (!setHasEqualElement(set, resultB.value, opts.strict, channel2)) {
14829
14965
  return false;
14830
14966
  }
14831
- } else if (!opts.strict && !$setHas(a, resultB.value) && !setHasEqualElement(set, resultB.value, opts.strict, channel)) {
14967
+ } else if (!opts.strict && !$setHas(a, resultB.value) && !setHasEqualElement(set, resultB.value, opts.strict, channel2)) {
14832
14968
  return false;
14833
14969
  }
14834
14970
  }
@@ -14836,7 +14972,7 @@ function setEquiv(a, b2, opts, channel) {
14836
14972
  }
14837
14973
  return true;
14838
14974
  }
14839
- function mapEquiv(a, b2, opts, channel) {
14975
+ function mapEquiv(a, b2, opts, channel2) {
14840
14976
  if ($mapSize(a) !== $mapSize(b2)) {
14841
14977
  return false;
14842
14978
  }
@@ -14858,11 +14994,11 @@ function mapEquiv(a, b2, opts, channel) {
14858
14994
  $setAdd(set, key);
14859
14995
  } else {
14860
14996
  item2 = $mapGet(b2, key);
14861
- if (typeof item2 === "undefined" && !$mapHas(b2, key) || !internalDeepEqual(item1, item2, opts, channel)) {
14997
+ if (typeof item2 === "undefined" && !$mapHas(b2, key) || !internalDeepEqual(item1, item2, opts, channel2)) {
14862
14998
  if (opts.strict) {
14863
14999
  return false;
14864
15000
  }
14865
- if (!mapMightHaveLoosePrim(a, b2, key, item1, opts, channel)) {
15001
+ if (!mapMightHaveLoosePrim(a, b2, key, item1, opts, channel2)) {
14866
15002
  return false;
14867
15003
  }
14868
15004
  if (!set) {
@@ -14877,10 +15013,10 @@ function mapEquiv(a, b2, opts, channel) {
14877
15013
  key = resultB.value[0];
14878
15014
  item2 = resultB.value[1];
14879
15015
  if (key && typeof key === "object") {
14880
- if (!mapHasEqualEntry(set, a, key, item2, opts, channel)) {
15016
+ if (!mapHasEqualEntry(set, a, key, item2, opts, channel2)) {
14881
15017
  return false;
14882
15018
  }
14883
- } else if (!opts.strict && (!a.has(key) || !internalDeepEqual($mapGet(a, key), item2, opts, channel)) && !mapHasEqualEntry(set, a, key, item2, assign3({}, opts, { strict: false }), channel)) {
15019
+ } else if (!opts.strict && (!a.has(key) || !internalDeepEqual($mapGet(a, key), item2, opts, channel2)) && !mapHasEqualEntry(set, a, key, item2, assign3({}, opts, { strict: false }), channel2)) {
14884
15020
  return false;
14885
15021
  }
14886
15022
  }
@@ -14888,7 +15024,7 @@ function mapEquiv(a, b2, opts, channel) {
14888
15024
  }
14889
15025
  return true;
14890
15026
  }
14891
- function objEquiv(a, b2, opts, channel) {
15027
+ function objEquiv(a, b2, opts, channel2) {
14892
15028
  var i, key;
14893
15029
  if (typeof a !== typeof b2) {
14894
15030
  return false;
@@ -14938,7 +15074,9 @@ function objEquiv(a, b2, opts, channel) {
14938
15074
  if (opts.strict && gPO && gPO(a) !== gPO(b2)) {
14939
15075
  return false;
14940
15076
  }
14941
- if (whichTypedArray2(a) !== whichTypedArray2(b2)) {
15077
+ var aWhich = whichTypedArray2(a);
15078
+ var bWhich = whichTypedArray2(b2);
15079
+ if ((aWhich || bWhich) && aWhich !== bWhich) {
14942
15080
  return false;
14943
15081
  }
14944
15082
  var aIsBuffer = isBuffer(a);
@@ -14957,6 +15095,28 @@ function objEquiv(a, b2, opts, channel) {
14957
15095
  }
14958
15096
  return true;
14959
15097
  }
15098
+ var aIsArrayBuffer = isArrayBuffer3(a);
15099
+ var bIsArrayBuffer = isArrayBuffer3(b2);
15100
+ if (aIsArrayBuffer !== bIsArrayBuffer) {
15101
+ return false;
15102
+ }
15103
+ if (aIsArrayBuffer || bIsArrayBuffer) {
15104
+ if (byteLength(a) !== byteLength(b2)) {
15105
+ return false;
15106
+ }
15107
+ return typeof Uint8Array === "function" && internalDeepEqual(new Uint8Array(a), new Uint8Array(b2), opts, channel2);
15108
+ }
15109
+ var aIsSAB = isSharedArrayBuffer3(a);
15110
+ var bIsSAB = isSharedArrayBuffer3(b2);
15111
+ if (aIsSAB !== bIsSAB) {
15112
+ return false;
15113
+ }
15114
+ if (aIsSAB || bIsSAB) {
15115
+ if (sabByteLength(a) !== sabByteLength(b2)) {
15116
+ return false;
15117
+ }
15118
+ return typeof Uint8Array === "function" && internalDeepEqual(new Uint8Array(a), new Uint8Array(b2), opts, channel2);
15119
+ }
14960
15120
  if (typeof a !== typeof b2) {
14961
15121
  return false;
14962
15122
  }
@@ -14974,7 +15134,7 @@ function objEquiv(a, b2, opts, channel) {
14974
15134
  }
14975
15135
  for (i = ka.length - 1; i >= 0; i--) {
14976
15136
  key = ka[i];
14977
- if (!internalDeepEqual(a[key], b2[key], opts, channel)) {
15137
+ if (!internalDeepEqual(a[key], b2[key], opts, channel2)) {
14978
15138
  return false;
14979
15139
  }
14980
15140
  }
@@ -14984,10 +15144,10 @@ function objEquiv(a, b2, opts, channel) {
14984
15144
  return false;
14985
15145
  }
14986
15146
  if (aCollection === "Set" || bCollection === "Set") {
14987
- return setEquiv(a, b2, opts, channel);
15147
+ return setEquiv(a, b2, opts, channel2);
14988
15148
  }
14989
15149
  if (aCollection === "Map") {
14990
- return mapEquiv(a, b2, opts, channel);
15150
+ return mapEquiv(a, b2, opts, channel2);
14991
15151
  }
14992
15152
  return true;
14993
15153
  }
@@ -15307,7 +15467,7 @@ var lodash_ismatch = {
15307
15467
  var objIsObj = objTag == objectTag && !isHostObject(object), othIsObj = othTag == objectTag && !isHostObject(other), isSameTag = objTag == othTag;
15308
15468
  if (isSameTag && !objIsObj) {
15309
15469
  stack || (stack = new Stack2());
15310
- return objIsArr || isTypedArray2(object) ? equalArrays(object, other, equalFunc, customizer, bitmask, stack) : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
15470
+ return objIsArr || isTypedArray3(object) ? equalArrays(object, other, equalFunc, customizer, bitmask, stack) : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
15311
15471
  }
15312
15472
  if (!(bitmask & PARTIAL_COMPARE_FLAG)) {
15313
15473
  var objIsWrapped = objIsObj && hasOwnProperty2.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty2.call(other, "__wrapped__");
@@ -15604,7 +15764,7 @@ var lodash_ismatch = {
15604
15764
  function isMatch(object, source) {
15605
15765
  return object === source || baseIsMatch(object, source, getMatchData(source));
15606
15766
  }
15607
- var isTypedArray2 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
15767
+ var isTypedArray3 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
15608
15768
  function keys3(object) {
15609
15769
  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
15610
15770
  }