@skip-go/widget 3.9.1-alpha-0 → 3.9.1-alpha-1

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.
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-C2d5iB7A.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-CGGISNZs.js";
2
2
  import qg, { PROPOSAL_EXPIRY_MESSAGE } from "@walletconnect/sign-client";
3
3
  const global = globalThis || void 0 || self;
4
4
  var buffer$1 = {};
@@ -5779,7 +5779,7 @@ const Jg = /* @__PURE__ */ getDefaultExportFromCjs(eventsExports);
5779
5779
  var streamBrowser$1 = eventsExports.EventEmitter;
5780
5780
  var util$1 = {};
5781
5781
  var types$1 = {};
5782
- var shams$6 = function hasSymbols2() {
5782
+ var shams$1 = function hasSymbols2() {
5783
5783
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
5784
5784
  return false;
5785
5785
  }
@@ -5824,9 +5824,9 @@ var shams$6 = function hasSymbols2() {
5824
5824
  }
5825
5825
  return true;
5826
5826
  };
5827
- var hasSymbols$9 = shams$6;
5828
- var shams$5 = function hasToStringTagShams() {
5829
- return hasSymbols$9() && !!Symbol.toStringTag;
5827
+ var hasSymbols$2 = shams$1;
5828
+ var shams = function hasToStringTagShams() {
5829
+ return hasSymbols$2() && !!Symbol.toStringTag;
5830
5830
  };
5831
5831
  var esErrors = Error;
5832
5832
  var _eval = EvalError;
@@ -5835,75 +5835,30 @@ var ref = ReferenceError;
5835
5835
  var syntax = SyntaxError;
5836
5836
  var type = TypeError;
5837
5837
  var uri = URIError;
5838
- var shams$4 = function hasSymbols3() {
5839
- if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
5840
- return false;
5841
- }
5842
- if (typeof Symbol.iterator === "symbol") {
5843
- return true;
5844
- }
5845
- var obj = {};
5846
- var sym = Symbol("test");
5847
- var symObj = Object(sym);
5848
- if (typeof sym === "string") {
5849
- return false;
5850
- }
5851
- if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
5852
- return false;
5853
- }
5854
- if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
5855
- return false;
5856
- }
5857
- var symVal = 42;
5858
- obj[sym] = symVal;
5859
- for (sym in obj) {
5860
- return false;
5861
- }
5862
- if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
5863
- return false;
5864
- }
5865
- if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
5866
- return false;
5867
- }
5868
- var syms = Object.getOwnPropertySymbols(obj);
5869
- if (syms.length !== 1 || syms[0] !== sym) {
5870
- return false;
5871
- }
5872
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
5873
- return false;
5874
- }
5875
- if (typeof Object.getOwnPropertyDescriptor === "function") {
5876
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
5877
- if (descriptor.value !== symVal || descriptor.enumerable !== true) {
5878
- return false;
5879
- }
5880
- }
5881
- return true;
5882
- };
5883
- var origSymbol$3 = typeof Symbol !== "undefined" && Symbol;
5884
- var hasSymbolSham$3 = shams$4;
5885
- var hasSymbols$8 = function hasNativeSymbols() {
5886
- if (typeof origSymbol$3 !== "function") {
5838
+ var origSymbol = typeof Symbol !== "undefined" && Symbol;
5839
+ var hasSymbolSham = shams$1;
5840
+ var hasSymbols$1 = function hasNativeSymbols() {
5841
+ if (typeof origSymbol !== "function") {
5887
5842
  return false;
5888
5843
  }
5889
5844
  if (typeof Symbol !== "function") {
5890
5845
  return false;
5891
5846
  }
5892
- if (typeof origSymbol$3("foo") !== "symbol") {
5847
+ if (typeof origSymbol("foo") !== "symbol") {
5893
5848
  return false;
5894
5849
  }
5895
5850
  if (typeof Symbol("bar") !== "symbol") {
5896
5851
  return false;
5897
5852
  }
5898
- return hasSymbolSham$3();
5853
+ return hasSymbolSham();
5899
5854
  };
5900
- var test$3 = {
5855
+ var test = {
5901
5856
  __proto__: null,
5902
5857
  foo: {}
5903
5858
  };
5904
- var $Object$3 = Object;
5905
- var hasProto$8 = function hasProto2() {
5906
- return { __proto__: test$3 }.foo === test$3.foo && !(test$3 instanceof $Object$3);
5859
+ var $Object = Object;
5860
+ var hasProto$1 = function hasProto2() {
5861
+ return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
5907
5862
  };
5908
5863
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
5909
5864
  var toStr$3 = Object.prototype.toString;
@@ -5978,139 +5933,139 @@ var implementation = implementation$1;
5978
5933
  var functionBind = Function.prototype.bind || implementation;
5979
5934
  var call$1 = Function.prototype.call;
5980
5935
  var $hasOwn = Object.prototype.hasOwnProperty;
5981
- var bind$5 = functionBind;
5982
- var hasown = bind$5.call(call$1, $hasOwn);
5983
- var undefined$4;
5984
- var $Error$3 = esErrors;
5985
- var $EvalError$3 = _eval;
5986
- var $RangeError$3 = range;
5987
- var $ReferenceError$3 = ref;
5988
- var $SyntaxError$4 = syntax;
5989
- var $TypeError$5 = type;
5990
- var $URIError$3 = uri;
5991
- var $Function$3 = Function;
5992
- var getEvalledConstructor$3 = function(expressionSyntax) {
5936
+ var bind$2 = functionBind;
5937
+ var hasown = bind$2.call(call$1, $hasOwn);
5938
+ var undefined$1;
5939
+ var $Error = esErrors;
5940
+ var $EvalError = _eval;
5941
+ var $RangeError = range;
5942
+ var $ReferenceError = ref;
5943
+ var $SyntaxError$1 = syntax;
5944
+ var $TypeError$2 = type;
5945
+ var $URIError = uri;
5946
+ var $Function = Function;
5947
+ var getEvalledConstructor = function(expressionSyntax) {
5993
5948
  try {
5994
- return $Function$3('"use strict"; return (' + expressionSyntax + ").constructor;")();
5949
+ return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
5995
5950
  } catch (e2) {
5996
5951
  }
5997
5952
  };
5998
- var $gOPD$6 = Object.getOwnPropertyDescriptor;
5999
- if ($gOPD$6) {
5953
+ var $gOPD$1 = Object.getOwnPropertyDescriptor;
5954
+ if ($gOPD$1) {
6000
5955
  try {
6001
- $gOPD$6({}, "");
5956
+ $gOPD$1({}, "");
6002
5957
  } catch (e2) {
6003
- $gOPD$6 = null;
5958
+ $gOPD$1 = null;
6004
5959
  }
6005
5960
  }
6006
- var throwTypeError$3 = function() {
6007
- throw new $TypeError$5();
5961
+ var throwTypeError = function() {
5962
+ throw new $TypeError$2();
6008
5963
  };
6009
- var ThrowTypeError$3 = $gOPD$6 ? function() {
5964
+ var ThrowTypeError = $gOPD$1 ? function() {
6010
5965
  try {
6011
5966
  arguments.callee;
6012
- return throwTypeError$3;
5967
+ return throwTypeError;
6013
5968
  } catch (calleeThrows) {
6014
5969
  try {
6015
- return $gOPD$6(arguments, "callee").get;
5970
+ return $gOPD$1(arguments, "callee").get;
6016
5971
  } catch (gOPDthrows) {
6017
- return throwTypeError$3;
5972
+ return throwTypeError;
6018
5973
  }
6019
5974
  }
6020
- }() : throwTypeError$3;
6021
- var hasSymbols$7 = hasSymbols$8();
6022
- var hasProto$7 = hasProto$8();
6023
- var getProto$4 = Object.getPrototypeOf || (hasProto$7 ? function(x2) {
5975
+ }() : throwTypeError;
5976
+ var hasSymbols = hasSymbols$1();
5977
+ var hasProto = hasProto$1();
5978
+ var getProto$1 = Object.getPrototypeOf || (hasProto ? function(x2) {
6024
5979
  return x2.__proto__;
6025
5980
  } : null);
6026
- var needsEval$3 = {};
6027
- var TypedArray$3 = typeof Uint8Array === "undefined" || !getProto$4 ? undefined$4 : getProto$4(Uint8Array);
6028
- var INTRINSICS$3 = {
5981
+ var needsEval = {};
5982
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto$1 ? undefined$1 : getProto$1(Uint8Array);
5983
+ var INTRINSICS = {
6029
5984
  __proto__: null,
6030
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$4 : AggregateError,
5985
+ "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
6031
5986
  "%Array%": Array,
6032
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$4 : ArrayBuffer,
6033
- "%ArrayIteratorPrototype%": hasSymbols$7 && getProto$4 ? getProto$4([][Symbol.iterator]()) : undefined$4,
6034
- "%AsyncFromSyncIteratorPrototype%": undefined$4,
6035
- "%AsyncFunction%": needsEval$3,
6036
- "%AsyncGenerator%": needsEval$3,
6037
- "%AsyncGeneratorFunction%": needsEval$3,
6038
- "%AsyncIteratorPrototype%": needsEval$3,
6039
- "%Atomics%": typeof Atomics === "undefined" ? undefined$4 : Atomics,
6040
- "%BigInt%": typeof BigInt === "undefined" ? undefined$4 : BigInt,
6041
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$4 : BigInt64Array,
6042
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$4 : BigUint64Array,
5987
+ "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
5988
+ "%ArrayIteratorPrototype%": hasSymbols && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
5989
+ "%AsyncFromSyncIteratorPrototype%": undefined$1,
5990
+ "%AsyncFunction%": needsEval,
5991
+ "%AsyncGenerator%": needsEval,
5992
+ "%AsyncGeneratorFunction%": needsEval,
5993
+ "%AsyncIteratorPrototype%": needsEval,
5994
+ "%Atomics%": typeof Atomics === "undefined" ? undefined$1 : Atomics,
5995
+ "%BigInt%": typeof BigInt === "undefined" ? undefined$1 : BigInt,
5996
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$1 : BigInt64Array,
5997
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$1 : BigUint64Array,
6043
5998
  "%Boolean%": Boolean,
6044
- "%DataView%": typeof DataView === "undefined" ? undefined$4 : DataView,
5999
+ "%DataView%": typeof DataView === "undefined" ? undefined$1 : DataView,
6045
6000
  "%Date%": Date,
6046
6001
  "%decodeURI%": decodeURI,
6047
6002
  "%decodeURIComponent%": decodeURIComponent,
6048
6003
  "%encodeURI%": encodeURI,
6049
6004
  "%encodeURIComponent%": encodeURIComponent,
6050
- "%Error%": $Error$3,
6005
+ "%Error%": $Error,
6051
6006
  "%eval%": eval,
6052
6007
  // eslint-disable-line no-eval
6053
- "%EvalError%": $EvalError$3,
6054
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$4 : Float32Array,
6055
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$4 : Float64Array,
6056
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$4 : FinalizationRegistry,
6057
- "%Function%": $Function$3,
6058
- "%GeneratorFunction%": needsEval$3,
6059
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$4 : Int8Array,
6060
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$4 : Int16Array,
6061
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$4 : Int32Array,
6008
+ "%EvalError%": $EvalError,
6009
+ "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
6010
+ "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
6011
+ "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
6012
+ "%Function%": $Function,
6013
+ "%GeneratorFunction%": needsEval,
6014
+ "%Int8Array%": typeof Int8Array === "undefined" ? undefined$1 : Int8Array,
6015
+ "%Int16Array%": typeof Int16Array === "undefined" ? undefined$1 : Int16Array,
6016
+ "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
6062
6017
  "%isFinite%": isFinite,
6063
6018
  "%isNaN%": isNaN,
6064
- "%IteratorPrototype%": hasSymbols$7 && getProto$4 ? getProto$4(getProto$4([][Symbol.iterator]())) : undefined$4,
6065
- "%JSON%": typeof JSON === "object" ? JSON : undefined$4,
6066
- "%Map%": typeof Map === "undefined" ? undefined$4 : Map,
6067
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$7 || !getProto$4 ? undefined$4 : getProto$4((/* @__PURE__ */ new Map())[Symbol.iterator]()),
6019
+ "%IteratorPrototype%": hasSymbols && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
6020
+ "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
6021
+ "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
6022
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
6068
6023
  "%Math%": Math,
6069
6024
  "%Number%": Number,
6070
6025
  "%Object%": Object,
6071
6026
  "%parseFloat%": parseFloat,
6072
6027
  "%parseInt%": parseInt,
6073
- "%Promise%": typeof Promise === "undefined" ? undefined$4 : Promise,
6074
- "%Proxy%": typeof Proxy === "undefined" ? undefined$4 : Proxy,
6075
- "%RangeError%": $RangeError$3,
6076
- "%ReferenceError%": $ReferenceError$3,
6077
- "%Reflect%": typeof Reflect === "undefined" ? undefined$4 : Reflect,
6028
+ "%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
6029
+ "%Proxy%": typeof Proxy === "undefined" ? undefined$1 : Proxy,
6030
+ "%RangeError%": $RangeError,
6031
+ "%ReferenceError%": $ReferenceError,
6032
+ "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
6078
6033
  "%RegExp%": RegExp,
6079
- "%Set%": typeof Set === "undefined" ? undefined$4 : Set,
6080
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$7 || !getProto$4 ? undefined$4 : getProto$4((/* @__PURE__ */ new Set())[Symbol.iterator]()),
6081
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$4 : SharedArrayBuffer,
6034
+ "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
6035
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
6036
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
6082
6037
  "%String%": String,
6083
- "%StringIteratorPrototype%": hasSymbols$7 && getProto$4 ? getProto$4(""[Symbol.iterator]()) : undefined$4,
6084
- "%Symbol%": hasSymbols$7 ? Symbol : undefined$4,
6085
- "%SyntaxError%": $SyntaxError$4,
6086
- "%ThrowTypeError%": ThrowTypeError$3,
6087
- "%TypedArray%": TypedArray$3,
6088
- "%TypeError%": $TypeError$5,
6089
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$4 : Uint8Array,
6090
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$4 : Uint8ClampedArray,
6091
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$4 : Uint16Array,
6092
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$4 : Uint32Array,
6093
- "%URIError%": $URIError$3,
6094
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$4 : WeakMap,
6095
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$4 : WeakRef,
6096
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$4 : WeakSet
6097
- };
6098
- if (getProto$4) {
6038
+ "%StringIteratorPrototype%": hasSymbols && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
6039
+ "%Symbol%": hasSymbols ? Symbol : undefined$1,
6040
+ "%SyntaxError%": $SyntaxError$1,
6041
+ "%ThrowTypeError%": ThrowTypeError,
6042
+ "%TypedArray%": TypedArray,
6043
+ "%TypeError%": $TypeError$2,
6044
+ "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$1 : Uint8Array,
6045
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$1 : Uint8ClampedArray,
6046
+ "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$1 : Uint16Array,
6047
+ "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$1 : Uint32Array,
6048
+ "%URIError%": $URIError,
6049
+ "%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
6050
+ "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
6051
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
6052
+ };
6053
+ if (getProto$1) {
6099
6054
  try {
6100
6055
  null.error;
6101
6056
  } catch (e2) {
6102
- var errorProto$3 = getProto$4(getProto$4(e2));
6103
- INTRINSICS$3["%Error.prototype%"] = errorProto$3;
6057
+ var errorProto = getProto$1(getProto$1(e2));
6058
+ INTRINSICS["%Error.prototype%"] = errorProto;
6104
6059
  }
6105
6060
  }
6106
- var doEval$3 = function doEval2(name2) {
6061
+ var doEval = function doEval2(name2) {
6107
6062
  var value;
6108
6063
  if (name2 === "%AsyncFunction%") {
6109
- value = getEvalledConstructor$3("async function () {}");
6064
+ value = getEvalledConstructor("async function () {}");
6110
6065
  } else if (name2 === "%GeneratorFunction%") {
6111
- value = getEvalledConstructor$3("function* () {}");
6066
+ value = getEvalledConstructor("function* () {}");
6112
6067
  } else if (name2 === "%AsyncGeneratorFunction%") {
6113
- value = getEvalledConstructor$3("async function* () {}");
6068
+ value = getEvalledConstructor("async function* () {}");
6114
6069
  } else if (name2 === "%AsyncGenerator%") {
6115
6070
  var fn = doEval2("%AsyncGeneratorFunction%");
6116
6071
  if (fn) {
@@ -6118,14 +6073,14 @@ var doEval$3 = function doEval2(name2) {
6118
6073
  }
6119
6074
  } else if (name2 === "%AsyncIteratorPrototype%") {
6120
6075
  var gen = doEval2("%AsyncGenerator%");
6121
- if (gen && getProto$4) {
6122
- value = getProto$4(gen.prototype);
6076
+ if (gen && getProto$1) {
6077
+ value = getProto$1(gen.prototype);
6123
6078
  }
6124
6079
  }
6125
- INTRINSICS$3[name2] = value;
6080
+ INTRINSICS[name2] = value;
6126
6081
  return value;
6127
6082
  };
6128
- var LEGACY_ALIASES$3 = {
6083
+ var LEGACY_ALIASES = {
6129
6084
  __proto__: null,
6130
6085
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
6131
6086
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -6179,43 +6134,43 @@ var LEGACY_ALIASES$3 = {
6179
6134
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
6180
6135
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
6181
6136
  };
6182
- var bind$4 = functionBind;
6183
- var hasOwn$3 = hasown;
6184
- var $concat$3 = bind$4.call(Function.call, Array.prototype.concat);
6185
- var $spliceApply$3 = bind$4.call(Function.apply, Array.prototype.splice);
6186
- var $replace$3 = bind$4.call(Function.call, String.prototype.replace);
6187
- var $strSlice$3 = bind$4.call(Function.call, String.prototype.slice);
6188
- var $exec$3 = bind$4.call(Function.call, RegExp.prototype.exec);
6189
- var rePropName$3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
6190
- var reEscapeChar$3 = /\\(\\)?/g;
6191
- var stringToPath$3 = function stringToPath2(string) {
6192
- var first = $strSlice$3(string, 0, 1);
6193
- var last = $strSlice$3(string, -1);
6137
+ var bind$1 = functionBind;
6138
+ var hasOwn = hasown;
6139
+ var $concat = bind$1.call(Function.call, Array.prototype.concat);
6140
+ var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
6141
+ var $replace = bind$1.call(Function.call, String.prototype.replace);
6142
+ var $strSlice = bind$1.call(Function.call, String.prototype.slice);
6143
+ var $exec = bind$1.call(Function.call, RegExp.prototype.exec);
6144
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
6145
+ var reEscapeChar = /\\(\\)?/g;
6146
+ var stringToPath = function stringToPath2(string) {
6147
+ var first = $strSlice(string, 0, 1);
6148
+ var last = $strSlice(string, -1);
6194
6149
  if (first === "%" && last !== "%") {
6195
- throw new $SyntaxError$4("invalid intrinsic syntax, expected closing `%`");
6150
+ throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
6196
6151
  } else if (last === "%" && first !== "%") {
6197
- throw new $SyntaxError$4("invalid intrinsic syntax, expected opening `%`");
6152
+ throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
6198
6153
  }
6199
6154
  var result = [];
6200
- $replace$3(string, rePropName$3, function(match, number, quote, subString) {
6201
- result[result.length] = quote ? $replace$3(subString, reEscapeChar$3, "$1") : number || match;
6155
+ $replace(string, rePropName, function(match, number, quote, subString) {
6156
+ result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
6202
6157
  });
6203
6158
  return result;
6204
6159
  };
6205
- var getBaseIntrinsic$3 = function getBaseIntrinsic2(name2, allowMissing) {
6160
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
6206
6161
  var intrinsicName = name2;
6207
6162
  var alias;
6208
- if (hasOwn$3(LEGACY_ALIASES$3, intrinsicName)) {
6209
- alias = LEGACY_ALIASES$3[intrinsicName];
6163
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
6164
+ alias = LEGACY_ALIASES[intrinsicName];
6210
6165
  intrinsicName = "%" + alias[0] + "%";
6211
6166
  }
6212
- if (hasOwn$3(INTRINSICS$3, intrinsicName)) {
6213
- var value = INTRINSICS$3[intrinsicName];
6214
- if (value === needsEval$3) {
6215
- value = doEval$3(intrinsicName);
6167
+ if (hasOwn(INTRINSICS, intrinsicName)) {
6168
+ var value = INTRINSICS[intrinsicName];
6169
+ if (value === needsEval) {
6170
+ value = doEval(intrinsicName);
6216
6171
  }
6217
6172
  if (typeof value === "undefined" && !allowMissing) {
6218
- throw new $TypeError$5("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
6173
+ throw new $TypeError$2("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
6219
6174
  }
6220
6175
  return {
6221
6176
  alias,
@@ -6223,52 +6178,52 @@ var getBaseIntrinsic$3 = function getBaseIntrinsic2(name2, allowMissing) {
6223
6178
  value
6224
6179
  };
6225
6180
  }
6226
- throw new $SyntaxError$4("intrinsic " + name2 + " does not exist!");
6181
+ throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
6227
6182
  };
6228
- var getIntrinsic$4 = function GetIntrinsic2(name2, allowMissing) {
6183
+ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
6229
6184
  if (typeof name2 !== "string" || name2.length === 0) {
6230
- throw new $TypeError$5("intrinsic name must be a non-empty string");
6185
+ throw new $TypeError$2("intrinsic name must be a non-empty string");
6231
6186
  }
6232
6187
  if (arguments.length > 1 && typeof allowMissing !== "boolean") {
6233
- throw new $TypeError$5('"allowMissing" argument must be a boolean');
6188
+ throw new $TypeError$2('"allowMissing" argument must be a boolean');
6234
6189
  }
6235
- if ($exec$3(/^%?[^%]*%?$/, name2) === null) {
6236
- throw new $SyntaxError$4("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
6190
+ if ($exec(/^%?[^%]*%?$/, name2) === null) {
6191
+ throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
6237
6192
  }
6238
- var parts = stringToPath$3(name2);
6193
+ var parts = stringToPath(name2);
6239
6194
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
6240
- var intrinsic = getBaseIntrinsic$3("%" + intrinsicBaseName + "%", allowMissing);
6195
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
6241
6196
  var intrinsicRealName = intrinsic.name;
6242
6197
  var value = intrinsic.value;
6243
6198
  var skipFurtherCaching = false;
6244
6199
  var alias = intrinsic.alias;
6245
6200
  if (alias) {
6246
6201
  intrinsicBaseName = alias[0];
6247
- $spliceApply$3(parts, $concat$3([0, 1], alias));
6202
+ $spliceApply(parts, $concat([0, 1], alias));
6248
6203
  }
6249
6204
  for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
6250
6205
  var part = parts[i2];
6251
- var first = $strSlice$3(part, 0, 1);
6252
- var last = $strSlice$3(part, -1);
6206
+ var first = $strSlice(part, 0, 1);
6207
+ var last = $strSlice(part, -1);
6253
6208
  if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
6254
- throw new $SyntaxError$4("property names with quotes must have matching quotes");
6209
+ throw new $SyntaxError$1("property names with quotes must have matching quotes");
6255
6210
  }
6256
6211
  if (part === "constructor" || !isOwn) {
6257
6212
  skipFurtherCaching = true;
6258
6213
  }
6259
6214
  intrinsicBaseName += "." + part;
6260
6215
  intrinsicRealName = "%" + intrinsicBaseName + "%";
6261
- if (hasOwn$3(INTRINSICS$3, intrinsicRealName)) {
6262
- value = INTRINSICS$3[intrinsicRealName];
6216
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
6217
+ value = INTRINSICS[intrinsicRealName];
6263
6218
  } else if (value != null) {
6264
6219
  if (!(part in value)) {
6265
6220
  if (!allowMissing) {
6266
- throw new $TypeError$5("base intrinsic for " + name2 + " exists, but the property is not available.");
6221
+ throw new $TypeError$2("base intrinsic for " + name2 + " exists, but the property is not available.");
6267
6222
  }
6268
6223
  return void 0;
6269
6224
  }
6270
- if ($gOPD$6 && i2 + 1 >= parts.length) {
6271
- var desc = $gOPD$6(value, part);
6225
+ if ($gOPD$1 && i2 + 1 >= parts.length) {
6226
+ var desc = $gOPD$1(value, part);
6272
6227
  isOwn = !!desc;
6273
6228
  if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
6274
6229
  value = desc.get;
@@ -6276,1980 +6231,156 @@ var getIntrinsic$4 = function GetIntrinsic2(name2, allowMissing) {
6276
6231
  value = value[part];
6277
6232
  }
6278
6233
  } else {
6279
- isOwn = hasOwn$3(value, part);
6234
+ isOwn = hasOwn(value, part);
6280
6235
  value = value[part];
6281
6236
  }
6282
6237
  if (isOwn && !skipFurtherCaching) {
6283
- INTRINSICS$3[intrinsicRealName] = value;
6238
+ INTRINSICS[intrinsicRealName] = value;
6284
6239
  }
6285
6240
  }
6286
6241
  }
6287
6242
  return value;
6288
6243
  };
6289
- var callBind$4 = { exports: {} };
6290
- var shams$3 = function hasSymbols4() {
6291
- if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
6292
- return false;
6293
- }
6294
- if (typeof Symbol.iterator === "symbol") {
6295
- return true;
6296
- }
6297
- var obj = {};
6298
- var sym = Symbol("test");
6299
- var symObj = Object(sym);
6300
- if (typeof sym === "string") {
6301
- return false;
6244
+ var callBind$2 = { exports: {} };
6245
+ var esDefineProperty;
6246
+ var hasRequiredEsDefineProperty;
6247
+ function requireEsDefineProperty() {
6248
+ if (hasRequiredEsDefineProperty) return esDefineProperty;
6249
+ hasRequiredEsDefineProperty = 1;
6250
+ var GetIntrinsic3 = getIntrinsic;
6251
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
6252
+ if ($defineProperty2) {
6253
+ try {
6254
+ $defineProperty2({}, "a", { value: 1 });
6255
+ } catch (e2) {
6256
+ $defineProperty2 = false;
6257
+ }
6302
6258
  }
6303
- if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
6304
- return false;
6259
+ esDefineProperty = $defineProperty2;
6260
+ return esDefineProperty;
6261
+ }
6262
+ var GetIntrinsic$2 = getIntrinsic;
6263
+ var $gOPD = GetIntrinsic$2("%Object.getOwnPropertyDescriptor%", true);
6264
+ if ($gOPD) {
6265
+ try {
6266
+ $gOPD([], "length");
6267
+ } catch (e2) {
6268
+ $gOPD = null;
6305
6269
  }
6306
- if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
6307
- return false;
6270
+ }
6271
+ var gopd$1 = $gOPD;
6272
+ var $defineProperty$1 = requireEsDefineProperty();
6273
+ var $SyntaxError = syntax;
6274
+ var $TypeError$1 = type;
6275
+ var gopd = gopd$1;
6276
+ var defineDataProperty = function defineDataProperty2(obj, property, value) {
6277
+ if (!obj || typeof obj !== "object" && typeof obj !== "function") {
6278
+ throw new $TypeError$1("`obj` must be an object or a function`");
6308
6279
  }
6309
- var symVal = 42;
6310
- obj[sym] = symVal;
6311
- for (sym in obj) {
6312
- return false;
6280
+ if (typeof property !== "string" && typeof property !== "symbol") {
6281
+ throw new $TypeError$1("`property` must be a string or a symbol`");
6313
6282
  }
6314
- if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
6315
- return false;
6283
+ if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
6284
+ throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");
6316
6285
  }
6317
- if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
6318
- return false;
6286
+ if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
6287
+ throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");
6319
6288
  }
6320
- var syms = Object.getOwnPropertySymbols(obj);
6321
- if (syms.length !== 1 || syms[0] !== sym) {
6322
- return false;
6289
+ if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
6290
+ throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");
6323
6291
  }
6324
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
6325
- return false;
6292
+ if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
6293
+ throw new $TypeError$1("`loose`, if provided, must be a boolean");
6326
6294
  }
6327
- if (typeof Object.getOwnPropertyDescriptor === "function") {
6328
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
6329
- if (descriptor.value !== symVal || descriptor.enumerable !== true) {
6330
- return false;
6331
- }
6295
+ var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
6296
+ var nonWritable = arguments.length > 4 ? arguments[4] : null;
6297
+ var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
6298
+ var loose = arguments.length > 6 ? arguments[6] : false;
6299
+ var desc = !!gopd && gopd(obj, property);
6300
+ if ($defineProperty$1) {
6301
+ $defineProperty$1(obj, property, {
6302
+ configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
6303
+ enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
6304
+ value,
6305
+ writable: nonWritable === null && desc ? desc.writable : !nonWritable
6306
+ });
6307
+ } else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
6308
+ obj[property] = value;
6309
+ } else {
6310
+ throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
6332
6311
  }
6333
- return true;
6334
6312
  };
6335
- var origSymbol$2 = typeof Symbol !== "undefined" && Symbol;
6336
- var hasSymbolSham$2 = shams$3;
6337
- var hasSymbols$6 = function hasNativeSymbols2() {
6338
- if (typeof origSymbol$2 !== "function") {
6339
- return false;
6340
- }
6341
- if (typeof Symbol !== "function") {
6342
- return false;
6343
- }
6344
- if (typeof origSymbol$2("foo") !== "symbol") {
6345
- return false;
6313
+ var $defineProperty = requireEsDefineProperty();
6314
+ var hasPropertyDescriptors = function hasPropertyDescriptors2() {
6315
+ return !!$defineProperty;
6316
+ };
6317
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
6318
+ if (!$defineProperty) {
6319
+ return null;
6346
6320
  }
6347
- if (typeof Symbol("bar") !== "symbol") {
6348
- return false;
6321
+ try {
6322
+ return $defineProperty([], "length", { value: 1 }).length !== 1;
6323
+ } catch (e2) {
6324
+ return true;
6349
6325
  }
6350
- return hasSymbolSham$2();
6351
6326
  };
6352
- var test$2 = {
6353
- __proto__: null,
6354
- foo: {}
6355
- };
6356
- var $Object$2 = Object;
6357
- var hasProto$6 = function hasProto3() {
6358
- return { __proto__: test$2 }.foo === test$2.foo && !(test$2 instanceof $Object$2);
6359
- };
6360
- var undefined$3;
6361
- var $Error$2 = esErrors;
6362
- var $EvalError$2 = _eval;
6363
- var $RangeError$2 = range;
6364
- var $ReferenceError$2 = ref;
6365
- var $SyntaxError$3 = syntax;
6366
- var $TypeError$4 = type;
6367
- var $URIError$2 = uri;
6368
- var $Function$2 = Function;
6369
- var getEvalledConstructor$2 = function(expressionSyntax) {
6370
- try {
6371
- return $Function$2('"use strict"; return (' + expressionSyntax + ").constructor;")();
6372
- } catch (e2) {
6373
- }
6374
- };
6375
- var $gOPD$5 = Object.getOwnPropertyDescriptor;
6376
- if ($gOPD$5) {
6377
- try {
6378
- $gOPD$5({}, "");
6379
- } catch (e2) {
6380
- $gOPD$5 = null;
6381
- }
6382
- }
6383
- var throwTypeError$2 = function() {
6384
- throw new $TypeError$4();
6385
- };
6386
- var ThrowTypeError$2 = $gOPD$5 ? function() {
6387
- try {
6388
- arguments.callee;
6389
- return throwTypeError$2;
6390
- } catch (calleeThrows) {
6391
- try {
6392
- return $gOPD$5(arguments, "callee").get;
6393
- } catch (gOPDthrows) {
6394
- return throwTypeError$2;
6395
- }
6396
- }
6397
- }() : throwTypeError$2;
6398
- var hasSymbols$5 = hasSymbols$6();
6399
- var hasProto$5 = hasProto$6();
6400
- var getProto$3 = Object.getPrototypeOf || (hasProto$5 ? function(x2) {
6401
- return x2.__proto__;
6402
- } : null);
6403
- var needsEval$2 = {};
6404
- var TypedArray$2 = typeof Uint8Array === "undefined" || !getProto$3 ? undefined$3 : getProto$3(Uint8Array);
6405
- var INTRINSICS$2 = {
6406
- __proto__: null,
6407
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$3 : AggregateError,
6408
- "%Array%": Array,
6409
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$3 : ArrayBuffer,
6410
- "%ArrayIteratorPrototype%": hasSymbols$5 && getProto$3 ? getProto$3([][Symbol.iterator]()) : undefined$3,
6411
- "%AsyncFromSyncIteratorPrototype%": undefined$3,
6412
- "%AsyncFunction%": needsEval$2,
6413
- "%AsyncGenerator%": needsEval$2,
6414
- "%AsyncGeneratorFunction%": needsEval$2,
6415
- "%AsyncIteratorPrototype%": needsEval$2,
6416
- "%Atomics%": typeof Atomics === "undefined" ? undefined$3 : Atomics,
6417
- "%BigInt%": typeof BigInt === "undefined" ? undefined$3 : BigInt,
6418
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$3 : BigInt64Array,
6419
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$3 : BigUint64Array,
6420
- "%Boolean%": Boolean,
6421
- "%DataView%": typeof DataView === "undefined" ? undefined$3 : DataView,
6422
- "%Date%": Date,
6423
- "%decodeURI%": decodeURI,
6424
- "%decodeURIComponent%": decodeURIComponent,
6425
- "%encodeURI%": encodeURI,
6426
- "%encodeURIComponent%": encodeURIComponent,
6427
- "%Error%": $Error$2,
6428
- "%eval%": eval,
6429
- // eslint-disable-line no-eval
6430
- "%EvalError%": $EvalError$2,
6431
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$3 : Float32Array,
6432
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$3 : Float64Array,
6433
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$3 : FinalizationRegistry,
6434
- "%Function%": $Function$2,
6435
- "%GeneratorFunction%": needsEval$2,
6436
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$3 : Int8Array,
6437
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$3 : Int16Array,
6438
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$3 : Int32Array,
6439
- "%isFinite%": isFinite,
6440
- "%isNaN%": isNaN,
6441
- "%IteratorPrototype%": hasSymbols$5 && getProto$3 ? getProto$3(getProto$3([][Symbol.iterator]())) : undefined$3,
6442
- "%JSON%": typeof JSON === "object" ? JSON : undefined$3,
6443
- "%Map%": typeof Map === "undefined" ? undefined$3 : Map,
6444
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$5 || !getProto$3 ? undefined$3 : getProto$3((/* @__PURE__ */ new Map())[Symbol.iterator]()),
6445
- "%Math%": Math,
6446
- "%Number%": Number,
6447
- "%Object%": Object,
6448
- "%parseFloat%": parseFloat,
6449
- "%parseInt%": parseInt,
6450
- "%Promise%": typeof Promise === "undefined" ? undefined$3 : Promise,
6451
- "%Proxy%": typeof Proxy === "undefined" ? undefined$3 : Proxy,
6452
- "%RangeError%": $RangeError$2,
6453
- "%ReferenceError%": $ReferenceError$2,
6454
- "%Reflect%": typeof Reflect === "undefined" ? undefined$3 : Reflect,
6455
- "%RegExp%": RegExp,
6456
- "%Set%": typeof Set === "undefined" ? undefined$3 : Set,
6457
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$5 || !getProto$3 ? undefined$3 : getProto$3((/* @__PURE__ */ new Set())[Symbol.iterator]()),
6458
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$3 : SharedArrayBuffer,
6459
- "%String%": String,
6460
- "%StringIteratorPrototype%": hasSymbols$5 && getProto$3 ? getProto$3(""[Symbol.iterator]()) : undefined$3,
6461
- "%Symbol%": hasSymbols$5 ? Symbol : undefined$3,
6462
- "%SyntaxError%": $SyntaxError$3,
6463
- "%ThrowTypeError%": ThrowTypeError$2,
6464
- "%TypedArray%": TypedArray$2,
6465
- "%TypeError%": $TypeError$4,
6466
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$3 : Uint8Array,
6467
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$3 : Uint8ClampedArray,
6468
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$3 : Uint16Array,
6469
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$3 : Uint32Array,
6470
- "%URIError%": $URIError$2,
6471
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$3 : WeakMap,
6472
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$3 : WeakRef,
6473
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$3 : WeakSet
6474
- };
6475
- if (getProto$3) {
6476
- try {
6477
- null.error;
6478
- } catch (e2) {
6479
- var errorProto$2 = getProto$3(getProto$3(e2));
6480
- INTRINSICS$2["%Error.prototype%"] = errorProto$2;
6481
- }
6482
- }
6483
- var doEval$2 = function doEval3(name2) {
6484
- var value;
6485
- if (name2 === "%AsyncFunction%") {
6486
- value = getEvalledConstructor$2("async function () {}");
6487
- } else if (name2 === "%GeneratorFunction%") {
6488
- value = getEvalledConstructor$2("function* () {}");
6489
- } else if (name2 === "%AsyncGeneratorFunction%") {
6490
- value = getEvalledConstructor$2("async function* () {}");
6491
- } else if (name2 === "%AsyncGenerator%") {
6492
- var fn = doEval3("%AsyncGeneratorFunction%");
6493
- if (fn) {
6494
- value = fn.prototype;
6495
- }
6496
- } else if (name2 === "%AsyncIteratorPrototype%") {
6497
- var gen = doEval3("%AsyncGenerator%");
6498
- if (gen && getProto$3) {
6499
- value = getProto$3(gen.prototype);
6500
- }
6501
- }
6502
- INTRINSICS$2[name2] = value;
6503
- return value;
6504
- };
6505
- var LEGACY_ALIASES$2 = {
6506
- __proto__: null,
6507
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
6508
- "%ArrayPrototype%": ["Array", "prototype"],
6509
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
6510
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
6511
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
6512
- "%ArrayProto_values%": ["Array", "prototype", "values"],
6513
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
6514
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
6515
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
6516
- "%BooleanPrototype%": ["Boolean", "prototype"],
6517
- "%DataViewPrototype%": ["DataView", "prototype"],
6518
- "%DatePrototype%": ["Date", "prototype"],
6519
- "%ErrorPrototype%": ["Error", "prototype"],
6520
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
6521
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
6522
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
6523
- "%FunctionPrototype%": ["Function", "prototype"],
6524
- "%Generator%": ["GeneratorFunction", "prototype"],
6525
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
6526
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
6527
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
6528
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
6529
- "%JSONParse%": ["JSON", "parse"],
6530
- "%JSONStringify%": ["JSON", "stringify"],
6531
- "%MapPrototype%": ["Map", "prototype"],
6532
- "%NumberPrototype%": ["Number", "prototype"],
6533
- "%ObjectPrototype%": ["Object", "prototype"],
6534
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
6535
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
6536
- "%PromisePrototype%": ["Promise", "prototype"],
6537
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
6538
- "%Promise_all%": ["Promise", "all"],
6539
- "%Promise_reject%": ["Promise", "reject"],
6540
- "%Promise_resolve%": ["Promise", "resolve"],
6541
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
6542
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
6543
- "%RegExpPrototype%": ["RegExp", "prototype"],
6544
- "%SetPrototype%": ["Set", "prototype"],
6545
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
6546
- "%StringPrototype%": ["String", "prototype"],
6547
- "%SymbolPrototype%": ["Symbol", "prototype"],
6548
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
6549
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
6550
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
6551
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
6552
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
6553
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
6554
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
6555
- "%URIErrorPrototype%": ["URIError", "prototype"],
6556
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
6557
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
6558
- };
6559
- var bind$3 = functionBind;
6560
- var hasOwn$2 = hasown;
6561
- var $concat$2 = bind$3.call(Function.call, Array.prototype.concat);
6562
- var $spliceApply$2 = bind$3.call(Function.apply, Array.prototype.splice);
6563
- var $replace$2 = bind$3.call(Function.call, String.prototype.replace);
6564
- var $strSlice$2 = bind$3.call(Function.call, String.prototype.slice);
6565
- var $exec$2 = bind$3.call(Function.call, RegExp.prototype.exec);
6566
- var rePropName$2 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
6567
- var reEscapeChar$2 = /\\(\\)?/g;
6568
- var stringToPath$2 = function stringToPath3(string) {
6569
- var first = $strSlice$2(string, 0, 1);
6570
- var last = $strSlice$2(string, -1);
6571
- if (first === "%" && last !== "%") {
6572
- throw new $SyntaxError$3("invalid intrinsic syntax, expected closing `%`");
6573
- } else if (last === "%" && first !== "%") {
6574
- throw new $SyntaxError$3("invalid intrinsic syntax, expected opening `%`");
6575
- }
6576
- var result = [];
6577
- $replace$2(string, rePropName$2, function(match, number, quote, subString) {
6578
- result[result.length] = quote ? $replace$2(subString, reEscapeChar$2, "$1") : number || match;
6579
- });
6580
- return result;
6581
- };
6582
- var getBaseIntrinsic$2 = function getBaseIntrinsic3(name2, allowMissing) {
6583
- var intrinsicName = name2;
6584
- var alias;
6585
- if (hasOwn$2(LEGACY_ALIASES$2, intrinsicName)) {
6586
- alias = LEGACY_ALIASES$2[intrinsicName];
6587
- intrinsicName = "%" + alias[0] + "%";
6588
- }
6589
- if (hasOwn$2(INTRINSICS$2, intrinsicName)) {
6590
- var value = INTRINSICS$2[intrinsicName];
6591
- if (value === needsEval$2) {
6592
- value = doEval$2(intrinsicName);
6593
- }
6594
- if (typeof value === "undefined" && !allowMissing) {
6595
- throw new $TypeError$4("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
6596
- }
6597
- return {
6598
- alias,
6599
- name: intrinsicName,
6600
- value
6601
- };
6602
- }
6603
- throw new $SyntaxError$3("intrinsic " + name2 + " does not exist!");
6604
- };
6605
- var getIntrinsic$3 = function GetIntrinsic3(name2, allowMissing) {
6606
- if (typeof name2 !== "string" || name2.length === 0) {
6607
- throw new $TypeError$4("intrinsic name must be a non-empty string");
6608
- }
6609
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
6610
- throw new $TypeError$4('"allowMissing" argument must be a boolean');
6611
- }
6612
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
6613
- throw new $SyntaxError$3("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
6614
- }
6615
- var parts = stringToPath$2(name2);
6616
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
6617
- var intrinsic = getBaseIntrinsic$2("%" + intrinsicBaseName + "%", allowMissing);
6618
- var intrinsicRealName = intrinsic.name;
6619
- var value = intrinsic.value;
6620
- var skipFurtherCaching = false;
6621
- var alias = intrinsic.alias;
6622
- if (alias) {
6623
- intrinsicBaseName = alias[0];
6624
- $spliceApply$2(parts, $concat$2([0, 1], alias));
6625
- }
6626
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
6627
- var part = parts[i2];
6628
- var first = $strSlice$2(part, 0, 1);
6629
- var last = $strSlice$2(part, -1);
6630
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
6631
- throw new $SyntaxError$3("property names with quotes must have matching quotes");
6632
- }
6633
- if (part === "constructor" || !isOwn) {
6634
- skipFurtherCaching = true;
6635
- }
6636
- intrinsicBaseName += "." + part;
6637
- intrinsicRealName = "%" + intrinsicBaseName + "%";
6638
- if (hasOwn$2(INTRINSICS$2, intrinsicRealName)) {
6639
- value = INTRINSICS$2[intrinsicRealName];
6640
- } else if (value != null) {
6641
- if (!(part in value)) {
6642
- if (!allowMissing) {
6643
- throw new $TypeError$4("base intrinsic for " + name2 + " exists, but the property is not available.");
6644
- }
6645
- return void 0;
6646
- }
6647
- if ($gOPD$5 && i2 + 1 >= parts.length) {
6648
- var desc = $gOPD$5(value, part);
6649
- isOwn = !!desc;
6650
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
6651
- value = desc.get;
6652
- } else {
6653
- value = value[part];
6654
- }
6655
- } else {
6656
- isOwn = hasOwn$2(value, part);
6657
- value = value[part];
6658
- }
6659
- if (isOwn && !skipFurtherCaching) {
6660
- INTRINSICS$2[intrinsicRealName] = value;
6661
- }
6662
- }
6663
- }
6664
- return value;
6665
- };
6666
- var shams$2;
6667
- var hasRequiredShams;
6668
- function requireShams() {
6669
- if (hasRequiredShams) return shams$2;
6670
- hasRequiredShams = 1;
6671
- shams$2 = function hasSymbols7() {
6672
- if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
6673
- return false;
6674
- }
6675
- if (typeof Symbol.iterator === "symbol") {
6676
- return true;
6677
- }
6678
- var obj = {};
6679
- var sym = Symbol("test");
6680
- var symObj = Object(sym);
6681
- if (typeof sym === "string") {
6682
- return false;
6683
- }
6684
- if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
6685
- return false;
6686
- }
6687
- if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
6688
- return false;
6689
- }
6690
- var symVal = 42;
6691
- obj[sym] = symVal;
6692
- for (sym in obj) {
6693
- return false;
6694
- }
6695
- if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
6696
- return false;
6697
- }
6698
- if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
6699
- return false;
6700
- }
6701
- var syms = Object.getOwnPropertySymbols(obj);
6702
- if (syms.length !== 1 || syms[0] !== sym) {
6703
- return false;
6704
- }
6705
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
6706
- return false;
6707
- }
6708
- if (typeof Object.getOwnPropertyDescriptor === "function") {
6709
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
6710
- if (descriptor.value !== symVal || descriptor.enumerable !== true) {
6711
- return false;
6712
- }
6713
- }
6714
- return true;
6715
- };
6716
- return shams$2;
6717
- }
6718
- var hasSymbols$4;
6719
- var hasRequiredHasSymbols;
6720
- function requireHasSymbols() {
6721
- if (hasRequiredHasSymbols) return hasSymbols$4;
6722
- hasRequiredHasSymbols = 1;
6723
- var origSymbol2 = typeof Symbol !== "undefined" && Symbol;
6724
- var hasSymbolSham2 = requireShams();
6725
- hasSymbols$4 = function hasNativeSymbols5() {
6726
- if (typeof origSymbol2 !== "function") {
6727
- return false;
6728
- }
6729
- if (typeof Symbol !== "function") {
6730
- return false;
6731
- }
6732
- if (typeof origSymbol2("foo") !== "symbol") {
6733
- return false;
6734
- }
6735
- if (typeof Symbol("bar") !== "symbol") {
6736
- return false;
6737
- }
6738
- return hasSymbolSham2();
6739
- };
6740
- return hasSymbols$4;
6741
- }
6742
- var hasProto$4;
6743
- var hasRequiredHasProto;
6744
- function requireHasProto() {
6745
- if (hasRequiredHasProto) return hasProto$4;
6746
- hasRequiredHasProto = 1;
6747
- var test2 = {
6748
- __proto__: null,
6749
- foo: {}
6750
- };
6751
- var $Object2 = Object;
6752
- hasProto$4 = function hasProto6() {
6753
- return { __proto__: test2 }.foo === test2.foo && !(test2 instanceof $Object2);
6754
- };
6755
- return hasProto$4;
6756
- }
6757
- var getIntrinsic$2;
6758
- var hasRequiredGetIntrinsic;
6759
- function requireGetIntrinsic() {
6760
- if (hasRequiredGetIntrinsic) return getIntrinsic$2;
6761
- hasRequiredGetIntrinsic = 1;
6762
- var undefined$12;
6763
- var $Error2 = esErrors;
6764
- var $EvalError2 = _eval;
6765
- var $RangeError2 = range;
6766
- var $ReferenceError2 = ref;
6767
- var $SyntaxError2 = syntax;
6768
- var $TypeError2 = type;
6769
- var $URIError2 = uri;
6770
- var $Function2 = Function;
6771
- var getEvalledConstructor2 = function(expressionSyntax) {
6772
- try {
6773
- return $Function2('"use strict"; return (' + expressionSyntax + ").constructor;")();
6774
- } catch (e2) {
6775
- }
6776
- };
6777
- var $gOPD2 = Object.getOwnPropertyDescriptor;
6778
- if ($gOPD2) {
6779
- try {
6780
- $gOPD2({}, "");
6781
- } catch (e2) {
6782
- $gOPD2 = null;
6783
- }
6784
- }
6785
- var throwTypeError2 = function() {
6786
- throw new $TypeError2();
6787
- };
6788
- var ThrowTypeError2 = $gOPD2 ? function() {
6789
- try {
6790
- arguments.callee;
6791
- return throwTypeError2;
6792
- } catch (calleeThrows) {
6793
- try {
6794
- return $gOPD2(arguments, "callee").get;
6795
- } catch (gOPDthrows) {
6796
- return throwTypeError2;
6797
- }
6798
- }
6799
- }() : throwTypeError2;
6800
- var hasSymbols7 = requireHasSymbols()();
6801
- var hasProto6 = requireHasProto()();
6802
- var getProto2 = Object.getPrototypeOf || (hasProto6 ? function(x2) {
6803
- return x2.__proto__;
6804
- } : null);
6805
- var needsEval2 = {};
6806
- var TypedArray2 = typeof Uint8Array === "undefined" || !getProto2 ? undefined$12 : getProto2(Uint8Array);
6807
- var INTRINSICS2 = {
6808
- __proto__: null,
6809
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$12 : AggregateError,
6810
- "%Array%": Array,
6811
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$12 : ArrayBuffer,
6812
- "%ArrayIteratorPrototype%": hasSymbols7 && getProto2 ? getProto2([][Symbol.iterator]()) : undefined$12,
6813
- "%AsyncFromSyncIteratorPrototype%": undefined$12,
6814
- "%AsyncFunction%": needsEval2,
6815
- "%AsyncGenerator%": needsEval2,
6816
- "%AsyncGeneratorFunction%": needsEval2,
6817
- "%AsyncIteratorPrototype%": needsEval2,
6818
- "%Atomics%": typeof Atomics === "undefined" ? undefined$12 : Atomics,
6819
- "%BigInt%": typeof BigInt === "undefined" ? undefined$12 : BigInt,
6820
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$12 : BigInt64Array,
6821
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$12 : BigUint64Array,
6822
- "%Boolean%": Boolean,
6823
- "%DataView%": typeof DataView === "undefined" ? undefined$12 : DataView,
6824
- "%Date%": Date,
6825
- "%decodeURI%": decodeURI,
6826
- "%decodeURIComponent%": decodeURIComponent,
6827
- "%encodeURI%": encodeURI,
6828
- "%encodeURIComponent%": encodeURIComponent,
6829
- "%Error%": $Error2,
6830
- "%eval%": eval,
6831
- // eslint-disable-line no-eval
6832
- "%EvalError%": $EvalError2,
6833
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$12 : Float32Array,
6834
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$12 : Float64Array,
6835
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$12 : FinalizationRegistry,
6836
- "%Function%": $Function2,
6837
- "%GeneratorFunction%": needsEval2,
6838
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$12 : Int8Array,
6839
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$12 : Int16Array,
6840
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$12 : Int32Array,
6841
- "%isFinite%": isFinite,
6842
- "%isNaN%": isNaN,
6843
- "%IteratorPrototype%": hasSymbols7 && getProto2 ? getProto2(getProto2([][Symbol.iterator]())) : undefined$12,
6844
- "%JSON%": typeof JSON === "object" ? JSON : undefined$12,
6845
- "%Map%": typeof Map === "undefined" ? undefined$12 : Map,
6846
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols7 || !getProto2 ? undefined$12 : getProto2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
6847
- "%Math%": Math,
6848
- "%Number%": Number,
6849
- "%Object%": Object,
6850
- "%parseFloat%": parseFloat,
6851
- "%parseInt%": parseInt,
6852
- "%Promise%": typeof Promise === "undefined" ? undefined$12 : Promise,
6853
- "%Proxy%": typeof Proxy === "undefined" ? undefined$12 : Proxy,
6854
- "%RangeError%": $RangeError2,
6855
- "%ReferenceError%": $ReferenceError2,
6856
- "%Reflect%": typeof Reflect === "undefined" ? undefined$12 : Reflect,
6857
- "%RegExp%": RegExp,
6858
- "%Set%": typeof Set === "undefined" ? undefined$12 : Set,
6859
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols7 || !getProto2 ? undefined$12 : getProto2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
6860
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$12 : SharedArrayBuffer,
6861
- "%String%": String,
6862
- "%StringIteratorPrototype%": hasSymbols7 && getProto2 ? getProto2(""[Symbol.iterator]()) : undefined$12,
6863
- "%Symbol%": hasSymbols7 ? Symbol : undefined$12,
6864
- "%SyntaxError%": $SyntaxError2,
6865
- "%ThrowTypeError%": ThrowTypeError2,
6866
- "%TypedArray%": TypedArray2,
6867
- "%TypeError%": $TypeError2,
6868
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$12 : Uint8Array,
6869
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$12 : Uint8ClampedArray,
6870
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$12 : Uint16Array,
6871
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$12 : Uint32Array,
6872
- "%URIError%": $URIError2,
6873
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$12 : WeakMap,
6874
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$12 : WeakRef,
6875
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$12 : WeakSet
6876
- };
6877
- if (getProto2) {
6878
- try {
6879
- null.error;
6880
- } catch (e2) {
6881
- var errorProto2 = getProto2(getProto2(e2));
6882
- INTRINSICS2["%Error.prototype%"] = errorProto2;
6883
- }
6884
- }
6885
- var doEval6 = function doEval7(name2) {
6886
- var value;
6887
- if (name2 === "%AsyncFunction%") {
6888
- value = getEvalledConstructor2("async function () {}");
6889
- } else if (name2 === "%GeneratorFunction%") {
6890
- value = getEvalledConstructor2("function* () {}");
6891
- } else if (name2 === "%AsyncGeneratorFunction%") {
6892
- value = getEvalledConstructor2("async function* () {}");
6893
- } else if (name2 === "%AsyncGenerator%") {
6894
- var fn = doEval7("%AsyncGeneratorFunction%");
6895
- if (fn) {
6896
- value = fn.prototype;
6897
- }
6898
- } else if (name2 === "%AsyncIteratorPrototype%") {
6899
- var gen = doEval7("%AsyncGenerator%");
6900
- if (gen && getProto2) {
6901
- value = getProto2(gen.prototype);
6902
- }
6903
- }
6904
- INTRINSICS2[name2] = value;
6905
- return value;
6906
- };
6907
- var LEGACY_ALIASES2 = {
6908
- __proto__: null,
6909
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
6910
- "%ArrayPrototype%": ["Array", "prototype"],
6911
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
6912
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
6913
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
6914
- "%ArrayProto_values%": ["Array", "prototype", "values"],
6915
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
6916
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
6917
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
6918
- "%BooleanPrototype%": ["Boolean", "prototype"],
6919
- "%DataViewPrototype%": ["DataView", "prototype"],
6920
- "%DatePrototype%": ["Date", "prototype"],
6921
- "%ErrorPrototype%": ["Error", "prototype"],
6922
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
6923
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
6924
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
6925
- "%FunctionPrototype%": ["Function", "prototype"],
6926
- "%Generator%": ["GeneratorFunction", "prototype"],
6927
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
6928
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
6929
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
6930
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
6931
- "%JSONParse%": ["JSON", "parse"],
6932
- "%JSONStringify%": ["JSON", "stringify"],
6933
- "%MapPrototype%": ["Map", "prototype"],
6934
- "%NumberPrototype%": ["Number", "prototype"],
6935
- "%ObjectPrototype%": ["Object", "prototype"],
6936
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
6937
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
6938
- "%PromisePrototype%": ["Promise", "prototype"],
6939
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
6940
- "%Promise_all%": ["Promise", "all"],
6941
- "%Promise_reject%": ["Promise", "reject"],
6942
- "%Promise_resolve%": ["Promise", "resolve"],
6943
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
6944
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
6945
- "%RegExpPrototype%": ["RegExp", "prototype"],
6946
- "%SetPrototype%": ["Set", "prototype"],
6947
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
6948
- "%StringPrototype%": ["String", "prototype"],
6949
- "%SymbolPrototype%": ["Symbol", "prototype"],
6950
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
6951
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
6952
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
6953
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
6954
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
6955
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
6956
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
6957
- "%URIErrorPrototype%": ["URIError", "prototype"],
6958
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
6959
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
6960
- };
6961
- var bind3 = functionBind;
6962
- var hasOwn2 = hasown;
6963
- var $concat2 = bind3.call(Function.call, Array.prototype.concat);
6964
- var $spliceApply2 = bind3.call(Function.apply, Array.prototype.splice);
6965
- var $replace2 = bind3.call(Function.call, String.prototype.replace);
6966
- var $strSlice2 = bind3.call(Function.call, String.prototype.slice);
6967
- var $exec2 = bind3.call(Function.call, RegExp.prototype.exec);
6968
- var rePropName2 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
6969
- var reEscapeChar2 = /\\(\\)?/g;
6970
- var stringToPath6 = function stringToPath7(string) {
6971
- var first = $strSlice2(string, 0, 1);
6972
- var last = $strSlice2(string, -1);
6973
- if (first === "%" && last !== "%") {
6974
- throw new $SyntaxError2("invalid intrinsic syntax, expected closing `%`");
6975
- } else if (last === "%" && first !== "%") {
6976
- throw new $SyntaxError2("invalid intrinsic syntax, expected opening `%`");
6977
- }
6978
- var result = [];
6979
- $replace2(string, rePropName2, function(match, number, quote, subString) {
6980
- result[result.length] = quote ? $replace2(subString, reEscapeChar2, "$1") : number || match;
6981
- });
6982
- return result;
6983
- };
6984
- var getBaseIntrinsic6 = function getBaseIntrinsic7(name2, allowMissing) {
6985
- var intrinsicName = name2;
6986
- var alias;
6987
- if (hasOwn2(LEGACY_ALIASES2, intrinsicName)) {
6988
- alias = LEGACY_ALIASES2[intrinsicName];
6989
- intrinsicName = "%" + alias[0] + "%";
6990
- }
6991
- if (hasOwn2(INTRINSICS2, intrinsicName)) {
6992
- var value = INTRINSICS2[intrinsicName];
6993
- if (value === needsEval2) {
6994
- value = doEval6(intrinsicName);
6995
- }
6996
- if (typeof value === "undefined" && !allowMissing) {
6997
- throw new $TypeError2("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
6998
- }
6999
- return {
7000
- alias,
7001
- name: intrinsicName,
7002
- value
7003
- };
7004
- }
7005
- throw new $SyntaxError2("intrinsic " + name2 + " does not exist!");
7006
- };
7007
- getIntrinsic$2 = function GetIntrinsic6(name2, allowMissing) {
7008
- if (typeof name2 !== "string" || name2.length === 0) {
7009
- throw new $TypeError2("intrinsic name must be a non-empty string");
7010
- }
7011
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
7012
- throw new $TypeError2('"allowMissing" argument must be a boolean');
7013
- }
7014
- if ($exec2(/^%?[^%]*%?$/, name2) === null) {
7015
- throw new $SyntaxError2("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
7016
- }
7017
- var parts = stringToPath6(name2);
7018
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
7019
- var intrinsic = getBaseIntrinsic6("%" + intrinsicBaseName + "%", allowMissing);
7020
- var intrinsicRealName = intrinsic.name;
7021
- var value = intrinsic.value;
7022
- var skipFurtherCaching = false;
7023
- var alias = intrinsic.alias;
7024
- if (alias) {
7025
- intrinsicBaseName = alias[0];
7026
- $spliceApply2(parts, $concat2([0, 1], alias));
7027
- }
7028
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
7029
- var part = parts[i2];
7030
- var first = $strSlice2(part, 0, 1);
7031
- var last = $strSlice2(part, -1);
7032
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
7033
- throw new $SyntaxError2("property names with quotes must have matching quotes");
7034
- }
7035
- if (part === "constructor" || !isOwn) {
7036
- skipFurtherCaching = true;
7037
- }
7038
- intrinsicBaseName += "." + part;
7039
- intrinsicRealName = "%" + intrinsicBaseName + "%";
7040
- if (hasOwn2(INTRINSICS2, intrinsicRealName)) {
7041
- value = INTRINSICS2[intrinsicRealName];
7042
- } else if (value != null) {
7043
- if (!(part in value)) {
7044
- if (!allowMissing) {
7045
- throw new $TypeError2("base intrinsic for " + name2 + " exists, but the property is not available.");
7046
- }
7047
- return void 0;
7048
- }
7049
- if ($gOPD2 && i2 + 1 >= parts.length) {
7050
- var desc = $gOPD2(value, part);
7051
- isOwn = !!desc;
7052
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
7053
- value = desc.get;
7054
- } else {
7055
- value = value[part];
7056
- }
7057
- } else {
7058
- isOwn = hasOwn2(value, part);
7059
- value = value[part];
7060
- }
7061
- if (isOwn && !skipFurtherCaching) {
7062
- INTRINSICS2[intrinsicRealName] = value;
7063
- }
7064
- }
7065
- }
7066
- return value;
7067
- };
7068
- return getIntrinsic$2;
7069
- }
7070
- var esDefineProperty;
7071
- var hasRequiredEsDefineProperty;
7072
- function requireEsDefineProperty() {
7073
- if (hasRequiredEsDefineProperty) return esDefineProperty;
7074
- hasRequiredEsDefineProperty = 1;
7075
- var GetIntrinsic6 = requireGetIntrinsic();
7076
- var $defineProperty2 = GetIntrinsic6("%Object.defineProperty%", true) || false;
7077
- if ($defineProperty2) {
7078
- try {
7079
- $defineProperty2({}, "a", { value: 1 });
7080
- } catch (e2) {
7081
- $defineProperty2 = false;
7082
- }
7083
- }
7084
- esDefineProperty = $defineProperty2;
7085
- return esDefineProperty;
7086
- }
7087
- var shams$1 = function hasSymbols5() {
7088
- if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
7089
- return false;
7090
- }
7091
- if (typeof Symbol.iterator === "symbol") {
7092
- return true;
7093
- }
7094
- var obj = {};
7095
- var sym = Symbol("test");
7096
- var symObj = Object(sym);
7097
- if (typeof sym === "string") {
7098
- return false;
7099
- }
7100
- if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
7101
- return false;
7102
- }
7103
- if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
7104
- return false;
7105
- }
7106
- var symVal = 42;
7107
- obj[sym] = symVal;
7108
- for (sym in obj) {
7109
- return false;
7110
- }
7111
- if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
7112
- return false;
7113
- }
7114
- if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
7115
- return false;
7116
- }
7117
- var syms = Object.getOwnPropertySymbols(obj);
7118
- if (syms.length !== 1 || syms[0] !== sym) {
7119
- return false;
7120
- }
7121
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
7122
- return false;
7123
- }
7124
- if (typeof Object.getOwnPropertyDescriptor === "function") {
7125
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
7126
- if (descriptor.value !== symVal || descriptor.enumerable !== true) {
7127
- return false;
7128
- }
7129
- }
7130
- return true;
7131
- };
7132
- var origSymbol$1 = typeof Symbol !== "undefined" && Symbol;
7133
- var hasSymbolSham$1 = shams$1;
7134
- var hasSymbols$3 = function hasNativeSymbols3() {
7135
- if (typeof origSymbol$1 !== "function") {
7136
- return false;
7137
- }
7138
- if (typeof Symbol !== "function") {
7139
- return false;
7140
- }
7141
- if (typeof origSymbol$1("foo") !== "symbol") {
7142
- return false;
7143
- }
7144
- if (typeof Symbol("bar") !== "symbol") {
7145
- return false;
7146
- }
7147
- return hasSymbolSham$1();
7148
- };
7149
- var test$1 = {
7150
- __proto__: null,
7151
- foo: {}
7152
- };
7153
- var $Object$1 = Object;
7154
- var hasProto$3 = function hasProto4() {
7155
- return { __proto__: test$1 }.foo === test$1.foo && !(test$1 instanceof $Object$1);
7156
- };
7157
- var undefined$2;
7158
- var $Error$1 = esErrors;
7159
- var $EvalError$1 = _eval;
7160
- var $RangeError$1 = range;
7161
- var $ReferenceError$1 = ref;
7162
- var $SyntaxError$2 = syntax;
7163
- var $TypeError$3 = type;
7164
- var $URIError$1 = uri;
7165
- var $Function$1 = Function;
7166
- var getEvalledConstructor$1 = function(expressionSyntax) {
7167
- try {
7168
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
7169
- } catch (e2) {
7170
- }
7171
- };
7172
- var $gOPD$4 = Object.getOwnPropertyDescriptor;
7173
- if ($gOPD$4) {
7174
- try {
7175
- $gOPD$4({}, "");
7176
- } catch (e2) {
7177
- $gOPD$4 = null;
7178
- }
7179
- }
7180
- var throwTypeError$1 = function() {
7181
- throw new $TypeError$3();
7182
- };
7183
- var ThrowTypeError$1 = $gOPD$4 ? function() {
7184
- try {
7185
- arguments.callee;
7186
- return throwTypeError$1;
7187
- } catch (calleeThrows) {
7188
- try {
7189
- return $gOPD$4(arguments, "callee").get;
7190
- } catch (gOPDthrows) {
7191
- return throwTypeError$1;
7192
- }
7193
- }
7194
- }() : throwTypeError$1;
7195
- var hasSymbols$2 = hasSymbols$3();
7196
- var hasProto$2 = hasProto$3();
7197
- var getProto$2 = Object.getPrototypeOf || (hasProto$2 ? function(x2) {
7198
- return x2.__proto__;
7199
- } : null);
7200
- var needsEval$1 = {};
7201
- var TypedArray$1 = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$2 : getProto$2(Uint8Array);
7202
- var INTRINSICS$1 = {
7203
- __proto__: null,
7204
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
7205
- "%Array%": Array,
7206
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
7207
- "%ArrayIteratorPrototype%": hasSymbols$2 && getProto$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
7208
- "%AsyncFromSyncIteratorPrototype%": undefined$2,
7209
- "%AsyncFunction%": needsEval$1,
7210
- "%AsyncGenerator%": needsEval$1,
7211
- "%AsyncGeneratorFunction%": needsEval$1,
7212
- "%AsyncIteratorPrototype%": needsEval$1,
7213
- "%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
7214
- "%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
7215
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$2 : BigInt64Array,
7216
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$2 : BigUint64Array,
7217
- "%Boolean%": Boolean,
7218
- "%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
7219
- "%Date%": Date,
7220
- "%decodeURI%": decodeURI,
7221
- "%decodeURIComponent%": decodeURIComponent,
7222
- "%encodeURI%": encodeURI,
7223
- "%encodeURIComponent%": encodeURIComponent,
7224
- "%Error%": $Error$1,
7225
- "%eval%": eval,
7226
- // eslint-disable-line no-eval
7227
- "%EvalError%": $EvalError$1,
7228
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
7229
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
7230
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
7231
- "%Function%": $Function$1,
7232
- "%GeneratorFunction%": needsEval$1,
7233
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
7234
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
7235
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
7236
- "%isFinite%": isFinite,
7237
- "%isNaN%": isNaN,
7238
- "%IteratorPrototype%": hasSymbols$2 && getProto$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
7239
- "%JSON%": typeof JSON === "object" ? JSON : undefined$2,
7240
- "%Map%": typeof Map === "undefined" ? undefined$2 : Map,
7241
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 || !getProto$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
7242
- "%Math%": Math,
7243
- "%Number%": Number,
7244
- "%Object%": Object,
7245
- "%parseFloat%": parseFloat,
7246
- "%parseInt%": parseInt,
7247
- "%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
7248
- "%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
7249
- "%RangeError%": $RangeError$1,
7250
- "%ReferenceError%": $ReferenceError$1,
7251
- "%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
7252
- "%RegExp%": RegExp,
7253
- "%Set%": typeof Set === "undefined" ? undefined$2 : Set,
7254
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 || !getProto$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
7255
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
7256
- "%String%": String,
7257
- "%StringIteratorPrototype%": hasSymbols$2 && getProto$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
7258
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
7259
- "%SyntaxError%": $SyntaxError$2,
7260
- "%ThrowTypeError%": ThrowTypeError$1,
7261
- "%TypedArray%": TypedArray$1,
7262
- "%TypeError%": $TypeError$3,
7263
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
7264
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
7265
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
7266
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
7267
- "%URIError%": $URIError$1,
7268
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
7269
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
7270
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
7271
- };
7272
- if (getProto$2) {
7273
- try {
7274
- null.error;
7275
- } catch (e2) {
7276
- var errorProto$1 = getProto$2(getProto$2(e2));
7277
- INTRINSICS$1["%Error.prototype%"] = errorProto$1;
7278
- }
7279
- }
7280
- var doEval$1 = function doEval4(name2) {
7281
- var value;
7282
- if (name2 === "%AsyncFunction%") {
7283
- value = getEvalledConstructor$1("async function () {}");
7284
- } else if (name2 === "%GeneratorFunction%") {
7285
- value = getEvalledConstructor$1("function* () {}");
7286
- } else if (name2 === "%AsyncGeneratorFunction%") {
7287
- value = getEvalledConstructor$1("async function* () {}");
7288
- } else if (name2 === "%AsyncGenerator%") {
7289
- var fn = doEval4("%AsyncGeneratorFunction%");
7290
- if (fn) {
7291
- value = fn.prototype;
7292
- }
7293
- } else if (name2 === "%AsyncIteratorPrototype%") {
7294
- var gen = doEval4("%AsyncGenerator%");
7295
- if (gen && getProto$2) {
7296
- value = getProto$2(gen.prototype);
7297
- }
7298
- }
7299
- INTRINSICS$1[name2] = value;
7300
- return value;
7301
- };
7302
- var LEGACY_ALIASES$1 = {
7303
- __proto__: null,
7304
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
7305
- "%ArrayPrototype%": ["Array", "prototype"],
7306
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
7307
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
7308
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
7309
- "%ArrayProto_values%": ["Array", "prototype", "values"],
7310
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
7311
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
7312
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
7313
- "%BooleanPrototype%": ["Boolean", "prototype"],
7314
- "%DataViewPrototype%": ["DataView", "prototype"],
7315
- "%DatePrototype%": ["Date", "prototype"],
7316
- "%ErrorPrototype%": ["Error", "prototype"],
7317
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
7318
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
7319
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
7320
- "%FunctionPrototype%": ["Function", "prototype"],
7321
- "%Generator%": ["GeneratorFunction", "prototype"],
7322
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
7323
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
7324
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
7325
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
7326
- "%JSONParse%": ["JSON", "parse"],
7327
- "%JSONStringify%": ["JSON", "stringify"],
7328
- "%MapPrototype%": ["Map", "prototype"],
7329
- "%NumberPrototype%": ["Number", "prototype"],
7330
- "%ObjectPrototype%": ["Object", "prototype"],
7331
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
7332
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
7333
- "%PromisePrototype%": ["Promise", "prototype"],
7334
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
7335
- "%Promise_all%": ["Promise", "all"],
7336
- "%Promise_reject%": ["Promise", "reject"],
7337
- "%Promise_resolve%": ["Promise", "resolve"],
7338
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
7339
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
7340
- "%RegExpPrototype%": ["RegExp", "prototype"],
7341
- "%SetPrototype%": ["Set", "prototype"],
7342
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
7343
- "%StringPrototype%": ["String", "prototype"],
7344
- "%SymbolPrototype%": ["Symbol", "prototype"],
7345
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
7346
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
7347
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
7348
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
7349
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
7350
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
7351
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
7352
- "%URIErrorPrototype%": ["URIError", "prototype"],
7353
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
7354
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
7355
- };
7356
- var bind$2 = functionBind;
7357
- var hasOwn$1 = hasown;
7358
- var $concat$1 = bind$2.call(Function.call, Array.prototype.concat);
7359
- var $spliceApply$1 = bind$2.call(Function.apply, Array.prototype.splice);
7360
- var $replace$1 = bind$2.call(Function.call, String.prototype.replace);
7361
- var $strSlice$1 = bind$2.call(Function.call, String.prototype.slice);
7362
- var $exec$1 = bind$2.call(Function.call, RegExp.prototype.exec);
7363
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
7364
- var reEscapeChar$1 = /\\(\\)?/g;
7365
- var stringToPath$1 = function stringToPath4(string) {
7366
- var first = $strSlice$1(string, 0, 1);
7367
- var last = $strSlice$1(string, -1);
7368
- if (first === "%" && last !== "%") {
7369
- throw new $SyntaxError$2("invalid intrinsic syntax, expected closing `%`");
7370
- } else if (last === "%" && first !== "%") {
7371
- throw new $SyntaxError$2("invalid intrinsic syntax, expected opening `%`");
7372
- }
7373
- var result = [];
7374
- $replace$1(string, rePropName$1, function(match, number, quote, subString) {
7375
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number || match;
7376
- });
7377
- return result;
7378
- };
7379
- var getBaseIntrinsic$1 = function getBaseIntrinsic4(name2, allowMissing) {
7380
- var intrinsicName = name2;
7381
- var alias;
7382
- if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
7383
- alias = LEGACY_ALIASES$1[intrinsicName];
7384
- intrinsicName = "%" + alias[0] + "%";
7385
- }
7386
- if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
7387
- var value = INTRINSICS$1[intrinsicName];
7388
- if (value === needsEval$1) {
7389
- value = doEval$1(intrinsicName);
7390
- }
7391
- if (typeof value === "undefined" && !allowMissing) {
7392
- throw new $TypeError$3("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
7393
- }
7394
- return {
7395
- alias,
7396
- name: intrinsicName,
7397
- value
7398
- };
7399
- }
7400
- throw new $SyntaxError$2("intrinsic " + name2 + " does not exist!");
7401
- };
7402
- var getIntrinsic$1 = function GetIntrinsic4(name2, allowMissing) {
7403
- if (typeof name2 !== "string" || name2.length === 0) {
7404
- throw new $TypeError$3("intrinsic name must be a non-empty string");
7405
- }
7406
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
7407
- throw new $TypeError$3('"allowMissing" argument must be a boolean');
7408
- }
7409
- if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
7410
- throw new $SyntaxError$2("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
7411
- }
7412
- var parts = stringToPath$1(name2);
7413
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
7414
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
7415
- var intrinsicRealName = intrinsic.name;
7416
- var value = intrinsic.value;
7417
- var skipFurtherCaching = false;
7418
- var alias = intrinsic.alias;
7419
- if (alias) {
7420
- intrinsicBaseName = alias[0];
7421
- $spliceApply$1(parts, $concat$1([0, 1], alias));
7422
- }
7423
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
7424
- var part = parts[i2];
7425
- var first = $strSlice$1(part, 0, 1);
7426
- var last = $strSlice$1(part, -1);
7427
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
7428
- throw new $SyntaxError$2("property names with quotes must have matching quotes");
7429
- }
7430
- if (part === "constructor" || !isOwn) {
7431
- skipFurtherCaching = true;
7432
- }
7433
- intrinsicBaseName += "." + part;
7434
- intrinsicRealName = "%" + intrinsicBaseName + "%";
7435
- if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
7436
- value = INTRINSICS$1[intrinsicRealName];
7437
- } else if (value != null) {
7438
- if (!(part in value)) {
7439
- if (!allowMissing) {
7440
- throw new $TypeError$3("base intrinsic for " + name2 + " exists, but the property is not available.");
7441
- }
7442
- return void 0;
7443
- }
7444
- if ($gOPD$4 && i2 + 1 >= parts.length) {
7445
- var desc = $gOPD$4(value, part);
7446
- isOwn = !!desc;
7447
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
7448
- value = desc.get;
7449
- } else {
7450
- value = value[part];
7451
- }
7452
- } else {
7453
- isOwn = hasOwn$1(value, part);
7454
- value = value[part];
7455
- }
7456
- if (isOwn && !skipFurtherCaching) {
7457
- INTRINSICS$1[intrinsicRealName] = value;
7458
- }
7459
- }
7460
- }
7461
- return value;
7462
- };
7463
- var GetIntrinsic$5 = getIntrinsic$1;
7464
- var $gOPD$3 = GetIntrinsic$5("%Object.getOwnPropertyDescriptor%", true);
7465
- if ($gOPD$3) {
7466
- try {
7467
- $gOPD$3([], "length");
7468
- } catch (e2) {
7469
- $gOPD$3 = null;
7470
- }
7471
- }
7472
- var gopd$3 = $gOPD$3;
7473
- var $defineProperty$1 = requireEsDefineProperty();
7474
- var $SyntaxError$1 = syntax;
7475
- var $TypeError$2 = type;
7476
- var gopd$2 = gopd$3;
7477
- var defineDataProperty = function defineDataProperty2(obj, property, value) {
7478
- if (!obj || typeof obj !== "object" && typeof obj !== "function") {
7479
- throw new $TypeError$2("`obj` must be an object or a function`");
7480
- }
7481
- if (typeof property !== "string" && typeof property !== "symbol") {
7482
- throw new $TypeError$2("`property` must be a string or a symbol`");
7483
- }
7484
- if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
7485
- throw new $TypeError$2("`nonEnumerable`, if provided, must be a boolean or null");
7486
- }
7487
- if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
7488
- throw new $TypeError$2("`nonWritable`, if provided, must be a boolean or null");
7489
- }
7490
- if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
7491
- throw new $TypeError$2("`nonConfigurable`, if provided, must be a boolean or null");
7492
- }
7493
- if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
7494
- throw new $TypeError$2("`loose`, if provided, must be a boolean");
7495
- }
7496
- var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
7497
- var nonWritable = arguments.length > 4 ? arguments[4] : null;
7498
- var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
7499
- var loose = arguments.length > 6 ? arguments[6] : false;
7500
- var desc = !!gopd$2 && gopd$2(obj, property);
7501
- if ($defineProperty$1) {
7502
- $defineProperty$1(obj, property, {
7503
- configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
7504
- enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
7505
- value,
7506
- writable: nonWritable === null && desc ? desc.writable : !nonWritable
7507
- });
7508
- } else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
7509
- obj[property] = value;
7510
- } else {
7511
- throw new $SyntaxError$1("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
7512
- }
7513
- };
7514
- var $defineProperty = requireEsDefineProperty();
7515
- var hasPropertyDescriptors = function hasPropertyDescriptors2() {
7516
- return !!$defineProperty;
7517
- };
7518
- hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
7519
- if (!$defineProperty) {
7520
- return null;
7521
- }
7522
- try {
7523
- return $defineProperty([], "length", { value: 1 }).length !== 1;
7524
- } catch (e2) {
7525
- return true;
7526
- }
7527
- };
7528
- var hasPropertyDescriptors_1 = hasPropertyDescriptors;
7529
- var GetIntrinsic$4 = getIntrinsic$3;
7530
- var $gOPD$2 = GetIntrinsic$4("%Object.getOwnPropertyDescriptor%", true);
7531
- if ($gOPD$2) {
7532
- try {
7533
- $gOPD$2([], "length");
7534
- } catch (e2) {
7535
- $gOPD$2 = null;
7536
- }
7537
- }
7538
- var gopd$1 = $gOPD$2;
7539
- var GetIntrinsic$3 = getIntrinsic$3;
7540
- var define = defineDataProperty;
7541
- var hasDescriptors = hasPropertyDescriptors_1();
7542
- var gOPD$1 = gopd$1;
7543
- var $TypeError$1 = type;
7544
- var $floor = GetIntrinsic$3("%Math.floor%");
7545
- var setFunctionLength = function setFunctionLength2(fn, length) {
7546
- if (typeof fn !== "function") {
7547
- throw new $TypeError$1("`fn` is not a function");
7548
- }
7549
- if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
7550
- throw new $TypeError$1("`length` must be a positive 32-bit integer");
7551
- }
7552
- var loose = arguments.length > 2 && !!arguments[2];
7553
- var functionLengthIsConfigurable = true;
7554
- var functionLengthIsWritable = true;
7555
- if ("length" in fn && gOPD$1) {
7556
- var desc = gOPD$1(fn, "length");
7557
- if (desc && !desc.configurable) {
7558
- functionLengthIsConfigurable = false;
7559
- }
7560
- if (desc && !desc.writable) {
7561
- functionLengthIsWritable = false;
7562
- }
7563
- }
7564
- if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
7565
- if (hasDescriptors) {
7566
- define(
7567
- /** @type {Parameters<define>[0]} */
7568
- fn,
7569
- "length",
7570
- length,
7571
- true,
7572
- true
7573
- );
7574
- } else {
7575
- define(
7576
- /** @type {Parameters<define>[0]} */
7577
- fn,
7578
- "length",
7579
- length
7580
- );
7581
- }
7582
- }
7583
- return fn;
7584
- };
7585
- (function(module) {
7586
- var bind3 = functionBind;
7587
- var GetIntrinsic6 = getIntrinsic$4;
7588
- var setFunctionLength$1 = setFunctionLength;
7589
- var $TypeError2 = type;
7590
- var $apply = GetIntrinsic6("%Function.prototype.apply%");
7591
- var $call = GetIntrinsic6("%Function.prototype.call%");
7592
- var $reflectApply = GetIntrinsic6("%Reflect.apply%", true) || bind3.call($call, $apply);
7593
- var $defineProperty2 = requireEsDefineProperty();
7594
- var $max = GetIntrinsic6("%Math.max%");
7595
- module.exports = function callBind2(originalFunction) {
7596
- if (typeof originalFunction !== "function") {
7597
- throw new $TypeError2("a function is required");
7598
- }
7599
- var func = $reflectApply(bind3, $call, arguments);
7600
- return setFunctionLength$1(
7601
- func,
7602
- 1 + $max(0, originalFunction.length - (arguments.length - 1)),
7603
- true
7604
- );
7605
- };
7606
- var applyBind = function applyBind2() {
7607
- return $reflectApply(bind3, $apply, arguments);
7608
- };
7609
- if ($defineProperty2) {
7610
- $defineProperty2(module.exports, "apply", { value: applyBind });
7611
- } else {
7612
- module.exports.apply = applyBind;
7613
- }
7614
- })(callBind$4);
7615
- var callBindExports$1 = callBind$4.exports;
7616
- var GetIntrinsic$2 = getIntrinsic$4;
7617
- var callBind$3 = callBindExports$1;
7618
- var $indexOf$2 = callBind$3(GetIntrinsic$2("String.prototype.indexOf"));
7619
- var callBound$3 = function callBoundIntrinsic(name2, allowMissing) {
7620
- var intrinsic = GetIntrinsic$2(name2, !!allowMissing);
7621
- if (typeof intrinsic === "function" && $indexOf$2(name2, ".prototype.") > -1) {
7622
- return callBind$3(intrinsic);
7623
- }
7624
- return intrinsic;
7625
- };
7626
- var hasToStringTag$3 = shams$5();
7627
- var callBound$2 = callBound$3;
7628
- var $toString$1 = callBound$2("Object.prototype.toString");
7629
- var isStandardArguments = function isArguments2(value) {
7630
- if (hasToStringTag$3 && value && typeof value === "object" && Symbol.toStringTag in value) {
7631
- return false;
7632
- }
7633
- return $toString$1(value) === "[object Arguments]";
7634
- };
7635
- var isLegacyArguments = function isArguments3(value) {
7636
- if (isStandardArguments(value)) {
7637
- return true;
7638
- }
7639
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
7640
- };
7641
- var supportsStandardArguments = function() {
7642
- return isStandardArguments(arguments);
7643
- }();
7644
- isStandardArguments.isLegacyArguments = isLegacyArguments;
7645
- var isArguments = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
7646
- var toStr$2 = Object.prototype.toString;
7647
- var fnToStr$1 = Function.prototype.toString;
7648
- var isFnRegex = /^\s*(?:function)?\*/;
7649
- var hasToStringTag$2 = shams$5();
7650
- var getProto$1 = Object.getPrototypeOf;
7651
- var getGeneratorFunc = function() {
7652
- if (!hasToStringTag$2) {
7653
- return false;
7654
- }
7655
- try {
7656
- return Function("return function*() {}")();
7657
- } catch (e2) {
7658
- }
7659
- };
7660
- var GeneratorFunction;
7661
- var isGeneratorFunction = function isGeneratorFunction2(fn) {
7662
- if (typeof fn !== "function") {
7663
- return false;
7664
- }
7665
- if (isFnRegex.test(fnToStr$1.call(fn))) {
7666
- return true;
7667
- }
7668
- if (!hasToStringTag$2) {
7669
- var str = toStr$2.call(fn);
7670
- return str === "[object GeneratorFunction]";
7671
- }
7672
- if (!getProto$1) {
7673
- return false;
7674
- }
7675
- if (typeof GeneratorFunction === "undefined") {
7676
- var generatorFunc = getGeneratorFunc();
7677
- GeneratorFunction = generatorFunc ? getProto$1(generatorFunc) : false;
7678
- }
7679
- return getProto$1(fn) === GeneratorFunction;
7680
- };
7681
- var fnToStr = Function.prototype.toString;
7682
- var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
7683
- var badArrayLike;
7684
- var isCallableMarker;
7685
- if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
7686
- try {
7687
- badArrayLike = Object.defineProperty({}, "length", {
7688
- get: function() {
7689
- throw isCallableMarker;
7690
- }
7691
- });
7692
- isCallableMarker = {};
7693
- reflectApply(function() {
7694
- throw 42;
7695
- }, null, badArrayLike);
7696
- } catch (_2) {
7697
- if (_2 !== isCallableMarker) {
7698
- reflectApply = null;
7699
- }
7700
- }
7701
- } else {
7702
- reflectApply = null;
7703
- }
7704
- var constructorRegex = /^\s*class\b/;
7705
- var isES6ClassFn = function isES6ClassFunction(value) {
7706
- try {
7707
- var fnStr = fnToStr.call(value);
7708
- return constructorRegex.test(fnStr);
7709
- } catch (e2) {
7710
- return false;
7711
- }
7712
- };
7713
- var tryFunctionObject = function tryFunctionToStr(value) {
7714
- try {
7715
- if (isES6ClassFn(value)) {
7716
- return false;
7717
- }
7718
- fnToStr.call(value);
7719
- return true;
7720
- } catch (e2) {
7721
- return false;
7722
- }
7723
- };
7724
- var toStr$1 = Object.prototype.toString;
7725
- var objectClass = "[object Object]";
7726
- var fnClass = "[object Function]";
7727
- var genClass = "[object GeneratorFunction]";
7728
- var ddaClass = "[object HTMLAllCollection]";
7729
- var ddaClass2 = "[object HTML document.all class]";
7730
- var ddaClass3 = "[object HTMLCollection]";
7731
- var hasToStringTag$1 = typeof Symbol === "function" && !!Symbol.toStringTag;
7732
- var isIE68 = !(0 in [,]);
7733
- var isDDA = function isDocumentDotAll() {
7734
- return false;
7735
- };
7736
- if (typeof document === "object") {
7737
- var all = document.all;
7738
- if (toStr$1.call(all) === toStr$1.call(document.all)) {
7739
- isDDA = function isDocumentDotAll2(value) {
7740
- if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
7741
- try {
7742
- var str = toStr$1.call(value);
7743
- return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
7744
- } catch (e2) {
7745
- }
7746
- }
7747
- return false;
7748
- };
7749
- }
7750
- }
7751
- var isCallable$1 = reflectApply ? function isCallable2(value) {
7752
- if (isDDA(value)) {
7753
- return true;
7754
- }
7755
- if (!value) {
7756
- return false;
7757
- }
7758
- if (typeof value !== "function" && typeof value !== "object") {
7759
- return false;
7760
- }
7761
- try {
7762
- reflectApply(value, null, badArrayLike);
7763
- } catch (e2) {
7764
- if (e2 !== isCallableMarker) {
7765
- return false;
7766
- }
7767
- }
7768
- return !isES6ClassFn(value) && tryFunctionObject(value);
7769
- } : function isCallable3(value) {
7770
- if (isDDA(value)) {
7771
- return true;
7772
- }
7773
- if (!value) {
7774
- return false;
7775
- }
7776
- if (typeof value !== "function" && typeof value !== "object") {
7777
- return false;
7778
- }
7779
- if (hasToStringTag$1) {
7780
- return tryFunctionObject(value);
7781
- }
7782
- if (isES6ClassFn(value)) {
7783
- return false;
7784
- }
7785
- var strClass = toStr$1.call(value);
7786
- if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) {
7787
- return false;
7788
- }
7789
- return tryFunctionObject(value);
7790
- };
7791
- var isCallable = isCallable$1;
7792
- var toStr = Object.prototype.toString;
7793
- var hasOwnProperty = Object.prototype.hasOwnProperty;
7794
- var forEachArray = function forEachArray2(array, iterator, receiver) {
7795
- for (var i2 = 0, len2 = array.length; i2 < len2; i2++) {
7796
- if (hasOwnProperty.call(array, i2)) {
7797
- if (receiver == null) {
7798
- iterator(array[i2], i2, array);
7799
- } else {
7800
- iterator.call(receiver, array[i2], i2, array);
7801
- }
7802
- }
7803
- }
7804
- };
7805
- var forEachString = function forEachString2(string, iterator, receiver) {
7806
- for (var i2 = 0, len2 = string.length; i2 < len2; i2++) {
7807
- if (receiver == null) {
7808
- iterator(string.charAt(i2), i2, string);
7809
- } else {
7810
- iterator.call(receiver, string.charAt(i2), i2, string);
7811
- }
7812
- }
7813
- };
7814
- var forEachObject = function forEachObject2(object, iterator, receiver) {
7815
- for (var k2 in object) {
7816
- if (hasOwnProperty.call(object, k2)) {
7817
- if (receiver == null) {
7818
- iterator(object[k2], k2, object);
7819
- } else {
7820
- iterator.call(receiver, object[k2], k2, object);
7821
- }
7822
- }
7823
- }
7824
- };
7825
- var forEach$1 = function forEach2(list, iterator, thisArg) {
7826
- if (!isCallable(iterator)) {
7827
- throw new TypeError("iterator must be a function");
7828
- }
7829
- var receiver;
7830
- if (arguments.length >= 3) {
7831
- receiver = thisArg;
7832
- }
7833
- if (toStr.call(list) === "[object Array]") {
7834
- forEachArray(list, iterator, receiver);
7835
- } else if (typeof list === "string") {
7836
- forEachString(list, iterator, receiver);
7837
- } else {
7838
- forEachObject(list, iterator, receiver);
7839
- }
7840
- };
7841
- var forEach_1 = forEach$1;
7842
- var possibleTypedArrayNames = [
7843
- "Float32Array",
7844
- "Float64Array",
7845
- "Int8Array",
7846
- "Int16Array",
7847
- "Int32Array",
7848
- "Uint8Array",
7849
- "Uint8ClampedArray",
7850
- "Uint16Array",
7851
- "Uint32Array",
7852
- "BigInt64Array",
7853
- "BigUint64Array"
7854
- ];
7855
- var possibleNames = possibleTypedArrayNames;
7856
- var g$4 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
7857
- var availableTypedArrays$1 = function availableTypedArrays2() {
7858
- var out = [];
7859
- for (var i2 = 0; i2 < possibleNames.length; i2++) {
7860
- if (typeof g$4[possibleNames[i2]] === "function") {
7861
- out[out.length] = possibleNames[i2];
7862
- }
7863
- }
7864
- return out;
7865
- };
7866
- var callBind$2 = { exports: {} };
7867
- var shams = function hasSymbols6() {
7868
- if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
7869
- return false;
7870
- }
7871
- if (typeof Symbol.iterator === "symbol") {
7872
- return true;
7873
- }
7874
- var obj = {};
7875
- var sym = Symbol("test");
7876
- var symObj = Object(sym);
7877
- if (typeof sym === "string") {
7878
- return false;
7879
- }
7880
- if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
7881
- return false;
7882
- }
7883
- if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
7884
- return false;
7885
- }
7886
- var symVal = 42;
7887
- obj[sym] = symVal;
7888
- for (sym in obj) {
7889
- return false;
7890
- }
7891
- if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
7892
- return false;
7893
- }
7894
- if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
7895
- return false;
7896
- }
7897
- var syms = Object.getOwnPropertySymbols(obj);
7898
- if (syms.length !== 1 || syms[0] !== sym) {
7899
- return false;
7900
- }
7901
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
7902
- return false;
7903
- }
7904
- if (typeof Object.getOwnPropertyDescriptor === "function") {
7905
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
7906
- if (descriptor.value !== symVal || descriptor.enumerable !== true) {
7907
- return false;
7908
- }
7909
- }
7910
- return true;
7911
- };
7912
- var origSymbol = typeof Symbol !== "undefined" && Symbol;
7913
- var hasSymbolSham = shams;
7914
- var hasSymbols$1 = function hasNativeSymbols4() {
7915
- if (typeof origSymbol !== "function") {
7916
- return false;
7917
- }
7918
- if (typeof Symbol !== "function") {
7919
- return false;
7920
- }
7921
- if (typeof origSymbol("foo") !== "symbol") {
7922
- return false;
7923
- }
7924
- if (typeof Symbol("bar") !== "symbol") {
7925
- return false;
7926
- }
7927
- return hasSymbolSham();
7928
- };
7929
- var test = {
7930
- __proto__: null,
7931
- foo: {}
7932
- };
7933
- var $Object = Object;
7934
- var hasProto$1 = function hasProto5() {
7935
- return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
7936
- };
7937
- var undefined$1;
7938
- var $Error = esErrors;
7939
- var $EvalError = _eval;
7940
- var $RangeError = range;
7941
- var $ReferenceError = ref;
7942
- var $SyntaxError = syntax;
7943
- var $TypeError = type;
7944
- var $URIError = uri;
7945
- var $Function = Function;
7946
- var getEvalledConstructor = function(expressionSyntax) {
7947
- try {
7948
- return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
7949
- } catch (e2) {
7950
- }
7951
- };
7952
- var $gOPD$1 = Object.getOwnPropertyDescriptor;
7953
- if ($gOPD$1) {
7954
- try {
7955
- $gOPD$1({}, "");
7956
- } catch (e2) {
7957
- $gOPD$1 = null;
7958
- }
7959
- }
7960
- var throwTypeError = function() {
7961
- throw new $TypeError();
7962
- };
7963
- var ThrowTypeError = $gOPD$1 ? function() {
7964
- try {
7965
- arguments.callee;
7966
- return throwTypeError;
7967
- } catch (calleeThrows) {
7968
- try {
7969
- return $gOPD$1(arguments, "callee").get;
7970
- } catch (gOPDthrows) {
7971
- return throwTypeError;
7972
- }
7973
- }
7974
- }() : throwTypeError;
7975
- var hasSymbols = hasSymbols$1();
7976
- var hasProto = hasProto$1();
7977
- var getProto = Object.getPrototypeOf || (hasProto ? function(x2) {
7978
- return x2.__proto__;
7979
- } : null);
7980
- var needsEval = {};
7981
- var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
7982
- var INTRINSICS = {
7983
- __proto__: null,
7984
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
7985
- "%Array%": Array,
7986
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
7987
- "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
7988
- "%AsyncFromSyncIteratorPrototype%": undefined$1,
7989
- "%AsyncFunction%": needsEval,
7990
- "%AsyncGenerator%": needsEval,
7991
- "%AsyncGeneratorFunction%": needsEval,
7992
- "%AsyncIteratorPrototype%": needsEval,
7993
- "%Atomics%": typeof Atomics === "undefined" ? undefined$1 : Atomics,
7994
- "%BigInt%": typeof BigInt === "undefined" ? undefined$1 : BigInt,
7995
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$1 : BigInt64Array,
7996
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$1 : BigUint64Array,
7997
- "%Boolean%": Boolean,
7998
- "%DataView%": typeof DataView === "undefined" ? undefined$1 : DataView,
7999
- "%Date%": Date,
8000
- "%decodeURI%": decodeURI,
8001
- "%decodeURIComponent%": decodeURIComponent,
8002
- "%encodeURI%": encodeURI,
8003
- "%encodeURIComponent%": encodeURIComponent,
8004
- "%Error%": $Error,
8005
- "%eval%": eval,
8006
- // eslint-disable-line no-eval
8007
- "%EvalError%": $EvalError,
8008
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
8009
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
8010
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
8011
- "%Function%": $Function,
8012
- "%GeneratorFunction%": needsEval,
8013
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$1 : Int8Array,
8014
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$1 : Int16Array,
8015
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
8016
- "%isFinite%": isFinite,
8017
- "%isNaN%": isNaN,
8018
- "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
8019
- "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
8020
- "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
8021
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined$1 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
8022
- "%Math%": Math,
8023
- "%Number%": Number,
8024
- "%Object%": Object,
8025
- "%parseFloat%": parseFloat,
8026
- "%parseInt%": parseInt,
8027
- "%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
8028
- "%Proxy%": typeof Proxy === "undefined" ? undefined$1 : Proxy,
8029
- "%RangeError%": $RangeError,
8030
- "%ReferenceError%": $ReferenceError,
8031
- "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
8032
- "%RegExp%": RegExp,
8033
- "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
8034
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined$1 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
8035
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
8036
- "%String%": String,
8037
- "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined$1,
8038
- "%Symbol%": hasSymbols ? Symbol : undefined$1,
8039
- "%SyntaxError%": $SyntaxError,
8040
- "%ThrowTypeError%": ThrowTypeError,
8041
- "%TypedArray%": TypedArray,
8042
- "%TypeError%": $TypeError,
8043
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$1 : Uint8Array,
8044
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$1 : Uint8ClampedArray,
8045
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$1 : Uint16Array,
8046
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$1 : Uint32Array,
8047
- "%URIError%": $URIError,
8048
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
8049
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
8050
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
8051
- };
8052
- if (getProto) {
8053
- try {
8054
- null.error;
8055
- } catch (e2) {
8056
- var errorProto = getProto(getProto(e2));
8057
- INTRINSICS["%Error.prototype%"] = errorProto;
8058
- }
8059
- }
8060
- var doEval = function doEval5(name2) {
8061
- var value;
8062
- if (name2 === "%AsyncFunction%") {
8063
- value = getEvalledConstructor("async function () {}");
8064
- } else if (name2 === "%GeneratorFunction%") {
8065
- value = getEvalledConstructor("function* () {}");
8066
- } else if (name2 === "%AsyncGeneratorFunction%") {
8067
- value = getEvalledConstructor("async function* () {}");
8068
- } else if (name2 === "%AsyncGenerator%") {
8069
- var fn = doEval5("%AsyncGeneratorFunction%");
8070
- if (fn) {
8071
- value = fn.prototype;
8072
- }
8073
- } else if (name2 === "%AsyncIteratorPrototype%") {
8074
- var gen = doEval5("%AsyncGenerator%");
8075
- if (gen && getProto) {
8076
- value = getProto(gen.prototype);
8077
- }
8078
- }
8079
- INTRINSICS[name2] = value;
8080
- return value;
8081
- };
8082
- var LEGACY_ALIASES = {
8083
- __proto__: null,
8084
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
8085
- "%ArrayPrototype%": ["Array", "prototype"],
8086
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
8087
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
8088
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
8089
- "%ArrayProto_values%": ["Array", "prototype", "values"],
8090
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
8091
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
8092
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
8093
- "%BooleanPrototype%": ["Boolean", "prototype"],
8094
- "%DataViewPrototype%": ["DataView", "prototype"],
8095
- "%DatePrototype%": ["Date", "prototype"],
8096
- "%ErrorPrototype%": ["Error", "prototype"],
8097
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
8098
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
8099
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
8100
- "%FunctionPrototype%": ["Function", "prototype"],
8101
- "%Generator%": ["GeneratorFunction", "prototype"],
8102
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
8103
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
8104
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
8105
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
8106
- "%JSONParse%": ["JSON", "parse"],
8107
- "%JSONStringify%": ["JSON", "stringify"],
8108
- "%MapPrototype%": ["Map", "prototype"],
8109
- "%NumberPrototype%": ["Number", "prototype"],
8110
- "%ObjectPrototype%": ["Object", "prototype"],
8111
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
8112
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
8113
- "%PromisePrototype%": ["Promise", "prototype"],
8114
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
8115
- "%Promise_all%": ["Promise", "all"],
8116
- "%Promise_reject%": ["Promise", "reject"],
8117
- "%Promise_resolve%": ["Promise", "resolve"],
8118
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
8119
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
8120
- "%RegExpPrototype%": ["RegExp", "prototype"],
8121
- "%SetPrototype%": ["Set", "prototype"],
8122
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
8123
- "%StringPrototype%": ["String", "prototype"],
8124
- "%SymbolPrototype%": ["Symbol", "prototype"],
8125
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
8126
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
8127
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
8128
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
8129
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
8130
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
8131
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
8132
- "%URIErrorPrototype%": ["URIError", "prototype"],
8133
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
8134
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
8135
- };
8136
- var bind$1 = functionBind;
8137
- var hasOwn = hasown;
8138
- var $concat = bind$1.call(Function.call, Array.prototype.concat);
8139
- var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
8140
- var $replace = bind$1.call(Function.call, String.prototype.replace);
8141
- var $strSlice = bind$1.call(Function.call, String.prototype.slice);
8142
- var $exec = bind$1.call(Function.call, RegExp.prototype.exec);
8143
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
8144
- var reEscapeChar = /\\(\\)?/g;
8145
- var stringToPath = function stringToPath5(string) {
8146
- var first = $strSlice(string, 0, 1);
8147
- var last = $strSlice(string, -1);
8148
- if (first === "%" && last !== "%") {
8149
- throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
8150
- } else if (last === "%" && first !== "%") {
8151
- throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
8152
- }
8153
- var result = [];
8154
- $replace(string, rePropName, function(match, number, quote, subString) {
8155
- result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
8156
- });
8157
- return result;
8158
- };
8159
- var getBaseIntrinsic = function getBaseIntrinsic5(name2, allowMissing) {
8160
- var intrinsicName = name2;
8161
- var alias;
8162
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
8163
- alias = LEGACY_ALIASES[intrinsicName];
8164
- intrinsicName = "%" + alias[0] + "%";
8165
- }
8166
- if (hasOwn(INTRINSICS, intrinsicName)) {
8167
- var value = INTRINSICS[intrinsicName];
8168
- if (value === needsEval) {
8169
- value = doEval(intrinsicName);
8170
- }
8171
- if (typeof value === "undefined" && !allowMissing) {
8172
- throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
8173
- }
8174
- return {
8175
- alias,
8176
- name: intrinsicName,
8177
- value
8178
- };
8179
- }
8180
- throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
8181
- };
8182
- var getIntrinsic = function GetIntrinsic5(name2, allowMissing) {
8183
- if (typeof name2 !== "string" || name2.length === 0) {
8184
- throw new $TypeError("intrinsic name must be a non-empty string");
8185
- }
8186
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
8187
- throw new $TypeError('"allowMissing" argument must be a boolean');
8188
- }
8189
- if ($exec(/^%?[^%]*%?$/, name2) === null) {
8190
- throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
6327
+ var hasPropertyDescriptors_1 = hasPropertyDescriptors;
6328
+ var GetIntrinsic$1 = getIntrinsic;
6329
+ var define = defineDataProperty;
6330
+ var hasDescriptors = hasPropertyDescriptors_1();
6331
+ var gOPD$1 = gopd$1;
6332
+ var $TypeError = type;
6333
+ var $floor = GetIntrinsic$1("%Math.floor%");
6334
+ var setFunctionLength = function setFunctionLength2(fn, length) {
6335
+ if (typeof fn !== "function") {
6336
+ throw new $TypeError("`fn` is not a function");
8191
6337
  }
8192
- var parts = stringToPath(name2);
8193
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
8194
- var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
8195
- var intrinsicRealName = intrinsic.name;
8196
- var value = intrinsic.value;
8197
- var skipFurtherCaching = false;
8198
- var alias = intrinsic.alias;
8199
- if (alias) {
8200
- intrinsicBaseName = alias[0];
8201
- $spliceApply(parts, $concat([0, 1], alias));
6338
+ if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
6339
+ throw new $TypeError("`length` must be a positive 32-bit integer");
8202
6340
  }
8203
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
8204
- var part = parts[i2];
8205
- var first = $strSlice(part, 0, 1);
8206
- var last = $strSlice(part, -1);
8207
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
8208
- throw new $SyntaxError("property names with quotes must have matching quotes");
8209
- }
8210
- if (part === "constructor" || !isOwn) {
8211
- skipFurtherCaching = true;
6341
+ var loose = arguments.length > 2 && !!arguments[2];
6342
+ var functionLengthIsConfigurable = true;
6343
+ var functionLengthIsWritable = true;
6344
+ if ("length" in fn && gOPD$1) {
6345
+ var desc = gOPD$1(fn, "length");
6346
+ if (desc && !desc.configurable) {
6347
+ functionLengthIsConfigurable = false;
8212
6348
  }
8213
- intrinsicBaseName += "." + part;
8214
- intrinsicRealName = "%" + intrinsicBaseName + "%";
8215
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
8216
- value = INTRINSICS[intrinsicRealName];
8217
- } else if (value != null) {
8218
- if (!(part in value)) {
8219
- if (!allowMissing) {
8220
- throw new $TypeError("base intrinsic for " + name2 + " exists, but the property is not available.");
8221
- }
8222
- return void 0;
8223
- }
8224
- if ($gOPD$1 && i2 + 1 >= parts.length) {
8225
- var desc = $gOPD$1(value, part);
8226
- isOwn = !!desc;
8227
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
8228
- value = desc.get;
8229
- } else {
8230
- value = value[part];
8231
- }
8232
- } else {
8233
- isOwn = hasOwn(value, part);
8234
- value = value[part];
8235
- }
8236
- if (isOwn && !skipFurtherCaching) {
8237
- INTRINSICS[intrinsicRealName] = value;
8238
- }
6349
+ if (desc && !desc.writable) {
6350
+ functionLengthIsWritable = false;
8239
6351
  }
8240
6352
  }
8241
- return value;
6353
+ if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
6354
+ if (hasDescriptors) {
6355
+ define(
6356
+ /** @type {Parameters<define>[0]} */
6357
+ fn,
6358
+ "length",
6359
+ length,
6360
+ true,
6361
+ true
6362
+ );
6363
+ } else {
6364
+ define(
6365
+ /** @type {Parameters<define>[0]} */
6366
+ fn,
6367
+ "length",
6368
+ length
6369
+ );
6370
+ }
6371
+ }
6372
+ return fn;
8242
6373
  };
8243
6374
  (function(module) {
8244
6375
  var bind3 = functionBind;
8245
- var GetIntrinsic6 = getIntrinsic;
6376
+ var GetIntrinsic3 = getIntrinsic;
8246
6377
  var setFunctionLength$1 = setFunctionLength;
8247
6378
  var $TypeError2 = type;
8248
- var $apply = GetIntrinsic6("%Function.prototype.apply%");
8249
- var $call = GetIntrinsic6("%Function.prototype.call%");
8250
- var $reflectApply = GetIntrinsic6("%Reflect.apply%", true) || bind3.call($call, $apply);
6379
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
6380
+ var $call = GetIntrinsic3("%Function.prototype.call%");
6381
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
8251
6382
  var $defineProperty2 = requireEsDefineProperty();
8252
- var $max = GetIntrinsic6("%Math.max%");
6383
+ var $max = GetIntrinsic3("%Math.max%");
8253
6384
  module.exports = function callBind2(originalFunction) {
8254
6385
  if (typeof originalFunction !== "function") {
8255
6386
  throw new $TypeError2("a function is required");
@@ -8271,33 +6402,263 @@ var getIntrinsic = function GetIntrinsic5(name2, allowMissing) {
8271
6402
  }
8272
6403
  })(callBind$2);
8273
6404
  var callBindExports = callBind$2.exports;
8274
- var GetIntrinsic$1 = getIntrinsic;
6405
+ var GetIntrinsic = getIntrinsic;
8275
6406
  var callBind$1 = callBindExports;
8276
- var $indexOf$1 = callBind$1(GetIntrinsic$1("String.prototype.indexOf"));
8277
- var callBound$1 = function callBoundIntrinsic2(name2, allowMissing) {
8278
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
6407
+ var $indexOf$1 = callBind$1(GetIntrinsic("String.prototype.indexOf"));
6408
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
6409
+ var intrinsic = GetIntrinsic(name2, !!allowMissing);
8279
6410
  if (typeof intrinsic === "function" && $indexOf$1(name2, ".prototype.") > -1) {
8280
6411
  return callBind$1(intrinsic);
8281
6412
  }
8282
6413
  return intrinsic;
8283
6414
  };
8284
- var GetIntrinsic = getIntrinsic;
8285
- var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
8286
- if ($gOPD) {
6415
+ var hasToStringTag$3 = shams();
6416
+ var callBound$1 = callBound$2;
6417
+ var $toString$1 = callBound$1("Object.prototype.toString");
6418
+ var isStandardArguments = function isArguments2(value) {
6419
+ if (hasToStringTag$3 && value && typeof value === "object" && Symbol.toStringTag in value) {
6420
+ return false;
6421
+ }
6422
+ return $toString$1(value) === "[object Arguments]";
6423
+ };
6424
+ var isLegacyArguments = function isArguments3(value) {
6425
+ if (isStandardArguments(value)) {
6426
+ return true;
6427
+ }
6428
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
6429
+ };
6430
+ var supportsStandardArguments = function() {
6431
+ return isStandardArguments(arguments);
6432
+ }();
6433
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
6434
+ var isArguments = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
6435
+ var toStr$2 = Object.prototype.toString;
6436
+ var fnToStr$1 = Function.prototype.toString;
6437
+ var isFnRegex = /^\s*(?:function)?\*/;
6438
+ var hasToStringTag$2 = shams();
6439
+ var getProto = Object.getPrototypeOf;
6440
+ var getGeneratorFunc = function() {
6441
+ if (!hasToStringTag$2) {
6442
+ return false;
6443
+ }
8287
6444
  try {
8288
- $gOPD([], "length");
6445
+ return Function("return function*() {}")();
8289
6446
  } catch (e2) {
8290
- $gOPD = null;
6447
+ }
6448
+ };
6449
+ var GeneratorFunction;
6450
+ var isGeneratorFunction = function isGeneratorFunction2(fn) {
6451
+ if (typeof fn !== "function") {
6452
+ return false;
6453
+ }
6454
+ if (isFnRegex.test(fnToStr$1.call(fn))) {
6455
+ return true;
6456
+ }
6457
+ if (!hasToStringTag$2) {
6458
+ var str = toStr$2.call(fn);
6459
+ return str === "[object GeneratorFunction]";
6460
+ }
6461
+ if (!getProto) {
6462
+ return false;
6463
+ }
6464
+ if (typeof GeneratorFunction === "undefined") {
6465
+ var generatorFunc = getGeneratorFunc();
6466
+ GeneratorFunction = generatorFunc ? getProto(generatorFunc) : false;
6467
+ }
6468
+ return getProto(fn) === GeneratorFunction;
6469
+ };
6470
+ var fnToStr = Function.prototype.toString;
6471
+ var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
6472
+ var badArrayLike;
6473
+ var isCallableMarker;
6474
+ if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
6475
+ try {
6476
+ badArrayLike = Object.defineProperty({}, "length", {
6477
+ get: function() {
6478
+ throw isCallableMarker;
6479
+ }
6480
+ });
6481
+ isCallableMarker = {};
6482
+ reflectApply(function() {
6483
+ throw 42;
6484
+ }, null, badArrayLike);
6485
+ } catch (_2) {
6486
+ if (_2 !== isCallableMarker) {
6487
+ reflectApply = null;
6488
+ }
6489
+ }
6490
+ } else {
6491
+ reflectApply = null;
6492
+ }
6493
+ var constructorRegex = /^\s*class\b/;
6494
+ var isES6ClassFn = function isES6ClassFunction(value) {
6495
+ try {
6496
+ var fnStr = fnToStr.call(value);
6497
+ return constructorRegex.test(fnStr);
6498
+ } catch (e2) {
6499
+ return false;
6500
+ }
6501
+ };
6502
+ var tryFunctionObject = function tryFunctionToStr(value) {
6503
+ try {
6504
+ if (isES6ClassFn(value)) {
6505
+ return false;
6506
+ }
6507
+ fnToStr.call(value);
6508
+ return true;
6509
+ } catch (e2) {
6510
+ return false;
6511
+ }
6512
+ };
6513
+ var toStr$1 = Object.prototype.toString;
6514
+ var objectClass = "[object Object]";
6515
+ var fnClass = "[object Function]";
6516
+ var genClass = "[object GeneratorFunction]";
6517
+ var ddaClass = "[object HTMLAllCollection]";
6518
+ var ddaClass2 = "[object HTML document.all class]";
6519
+ var ddaClass3 = "[object HTMLCollection]";
6520
+ var hasToStringTag$1 = typeof Symbol === "function" && !!Symbol.toStringTag;
6521
+ var isIE68 = !(0 in [,]);
6522
+ var isDDA = function isDocumentDotAll() {
6523
+ return false;
6524
+ };
6525
+ if (typeof document === "object") {
6526
+ var all = document.all;
6527
+ if (toStr$1.call(all) === toStr$1.call(document.all)) {
6528
+ isDDA = function isDocumentDotAll2(value) {
6529
+ if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
6530
+ try {
6531
+ var str = toStr$1.call(value);
6532
+ return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
6533
+ } catch (e2) {
6534
+ }
6535
+ }
6536
+ return false;
6537
+ };
8291
6538
  }
8292
6539
  }
8293
- var gopd = $gOPD;
6540
+ var isCallable$1 = reflectApply ? function isCallable2(value) {
6541
+ if (isDDA(value)) {
6542
+ return true;
6543
+ }
6544
+ if (!value) {
6545
+ return false;
6546
+ }
6547
+ if (typeof value !== "function" && typeof value !== "object") {
6548
+ return false;
6549
+ }
6550
+ try {
6551
+ reflectApply(value, null, badArrayLike);
6552
+ } catch (e2) {
6553
+ if (e2 !== isCallableMarker) {
6554
+ return false;
6555
+ }
6556
+ }
6557
+ return !isES6ClassFn(value) && tryFunctionObject(value);
6558
+ } : function isCallable3(value) {
6559
+ if (isDDA(value)) {
6560
+ return true;
6561
+ }
6562
+ if (!value) {
6563
+ return false;
6564
+ }
6565
+ if (typeof value !== "function" && typeof value !== "object") {
6566
+ return false;
6567
+ }
6568
+ if (hasToStringTag$1) {
6569
+ return tryFunctionObject(value);
6570
+ }
6571
+ if (isES6ClassFn(value)) {
6572
+ return false;
6573
+ }
6574
+ var strClass = toStr$1.call(value);
6575
+ if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) {
6576
+ return false;
6577
+ }
6578
+ return tryFunctionObject(value);
6579
+ };
6580
+ var isCallable = isCallable$1;
6581
+ var toStr = Object.prototype.toString;
6582
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
6583
+ var forEachArray = function forEachArray2(array, iterator, receiver) {
6584
+ for (var i2 = 0, len2 = array.length; i2 < len2; i2++) {
6585
+ if (hasOwnProperty.call(array, i2)) {
6586
+ if (receiver == null) {
6587
+ iterator(array[i2], i2, array);
6588
+ } else {
6589
+ iterator.call(receiver, array[i2], i2, array);
6590
+ }
6591
+ }
6592
+ }
6593
+ };
6594
+ var forEachString = function forEachString2(string, iterator, receiver) {
6595
+ for (var i2 = 0, len2 = string.length; i2 < len2; i2++) {
6596
+ if (receiver == null) {
6597
+ iterator(string.charAt(i2), i2, string);
6598
+ } else {
6599
+ iterator.call(receiver, string.charAt(i2), i2, string);
6600
+ }
6601
+ }
6602
+ };
6603
+ var forEachObject = function forEachObject2(object, iterator, receiver) {
6604
+ for (var k2 in object) {
6605
+ if (hasOwnProperty.call(object, k2)) {
6606
+ if (receiver == null) {
6607
+ iterator(object[k2], k2, object);
6608
+ } else {
6609
+ iterator.call(receiver, object[k2], k2, object);
6610
+ }
6611
+ }
6612
+ }
6613
+ };
6614
+ var forEach$1 = function forEach2(list, iterator, thisArg) {
6615
+ if (!isCallable(iterator)) {
6616
+ throw new TypeError("iterator must be a function");
6617
+ }
6618
+ var receiver;
6619
+ if (arguments.length >= 3) {
6620
+ receiver = thisArg;
6621
+ }
6622
+ if (toStr.call(list) === "[object Array]") {
6623
+ forEachArray(list, iterator, receiver);
6624
+ } else if (typeof list === "string") {
6625
+ forEachString(list, iterator, receiver);
6626
+ } else {
6627
+ forEachObject(list, iterator, receiver);
6628
+ }
6629
+ };
6630
+ var forEach_1 = forEach$1;
6631
+ var possibleTypedArrayNames = [
6632
+ "Float32Array",
6633
+ "Float64Array",
6634
+ "Int8Array",
6635
+ "Int16Array",
6636
+ "Int32Array",
6637
+ "Uint8Array",
6638
+ "Uint8ClampedArray",
6639
+ "Uint16Array",
6640
+ "Uint32Array",
6641
+ "BigInt64Array",
6642
+ "BigUint64Array"
6643
+ ];
6644
+ var possibleNames = possibleTypedArrayNames;
6645
+ var g$4 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
6646
+ var availableTypedArrays$1 = function availableTypedArrays2() {
6647
+ var out = [];
6648
+ for (var i2 = 0; i2 < possibleNames.length; i2++) {
6649
+ if (typeof g$4[possibleNames[i2]] === "function") {
6650
+ out[out.length] = possibleNames[i2];
6651
+ }
6652
+ }
6653
+ return out;
6654
+ };
8294
6655
  var forEach = forEach_1;
8295
6656
  var availableTypedArrays = availableTypedArrays$1;
8296
6657
  var callBind = callBindExports;
8297
- var callBound = callBound$1;
8298
- var gOPD = gopd;
6658
+ var callBound = callBound$2;
6659
+ var gOPD = gopd$1;
8299
6660
  var $toString = callBound("Object.prototype.toString");
8300
- var hasToStringTag = shams$5();
6661
+ var hasToStringTag = shams();
8301
6662
  var g$3 = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
8302
6663
  var typedArrays = availableTypedArrays();
8303
6664
  var $slice = callBound("String.prototype.slice");