@qubit-ltd/common-decorator 3.10.3 → 3.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common-decorator.cjs +2149 -1671
- package/dist/common-decorator.cjs.map +1 -1
- package/dist/common-decorator.min.cjs +1 -1
- package/dist/common-decorator.min.cjs.map +1 -1
- package/dist/common-decorator.min.mjs +1 -1
- package/dist/common-decorator.min.mjs.map +1 -1
- package/dist/common-decorator.mjs +2149 -1671
- package/dist/common-decorator.mjs.map +1 -1
- package/doc/api/DefaultAssignmentOptions.html +5 -5
- package/doc/api/DefaultOptions.html +6 -6
- package/doc/api/DefaultToJsonOptions.html +3 -3
- package/doc/api/Enum.html +4 -4
- package/doc/api/Model.html +4 -4
- package/doc/api/Page.html +3 -3
- package/doc/api/global.html +15 -15
- package/doc/api/index.html +4 -4
- package/doc/api/scripts/core.js +719 -726
- package/doc/api/scripts/core.min.js +23 -23
- package/doc/api/scripts/resize.js +90 -90
- package/doc/api/scripts/search.js +267 -265
- package/doc/api/scripts/search.min.js +5 -5
- package/doc/api/scripts/third-party/Apache-License-2.0.txt +202 -202
- package/doc/api/scripts/third-party/fuse.js +1749 -9
- package/doc/api/scripts/third-party/hljs-line-num-original.js +367 -369
- package/doc/api/scripts/third-party/hljs-line-num.js +1 -1
- package/doc/api/scripts/third-party/hljs-original.js +5260 -5171
- package/doc/api/scripts/third-party/hljs.js +1 -1
- package/doc/api/scripts/third-party/popper.js +1287 -5
- package/doc/api/scripts/third-party/tippy.js +1499 -1
- package/doc/api/scripts/third-party/tocbot.js +757 -672
- package/doc/api/scripts/third-party/tocbot.min.js +1 -1
- package/doc/api/styles/clean-jsdoc-theme-base.css +1257 -1159
- package/doc/api/styles/clean-jsdoc-theme-dark.css +412 -412
- package/doc/api/styles/clean-jsdoc-theme-light.css +482 -482
- package/doc/api/styles/clean-jsdoc-theme-scrollbar.css +29 -29
- package/doc/api/styles/clean-jsdoc-theme-without-scrollbar.min.css +1 -1
- package/doc/api/styles/clean-jsdoc-theme.min.css +1 -1
- package/doc/common-decorator.min.visualization.html +15 -15
- package/doc/common-decorator.visualization.html +15 -15
- package/package.json +42 -41
|
@@ -92,10 +92,10 @@ function requireSharedStore () {
|
|
|
92
92
|
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
93
93
|
|
|
94
94
|
(store.versions || (store.versions = [])).push({
|
|
95
|
-
version: '3.
|
|
95
|
+
version: '3.45.1',
|
|
96
96
|
mode: IS_PURE ? 'pure' : 'global',
|
|
97
97
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
98
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
98
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE',
|
|
99
99
|
source: 'https://github.com/zloirock/core-js'
|
|
100
100
|
});
|
|
101
101
|
return sharedStore.exports;
|
|
@@ -250,7 +250,7 @@ function requireUid () {
|
|
|
250
250
|
|
|
251
251
|
var id = 0;
|
|
252
252
|
var postfix = Math.random();
|
|
253
|
-
var toString = uncurryThis(1.
|
|
253
|
+
var toString = uncurryThis(1.1.toString);
|
|
254
254
|
|
|
255
255
|
uid = function (key) {
|
|
256
256
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
@@ -4398,15 +4398,15 @@ function requireUri () {
|
|
|
4398
4398
|
return uri;
|
|
4399
4399
|
}
|
|
4400
4400
|
|
|
4401
|
-
var shams$
|
|
4402
|
-
var hasRequiredShams$
|
|
4401
|
+
var shams$3;
|
|
4402
|
+
var hasRequiredShams$3;
|
|
4403
4403
|
|
|
4404
|
-
function requireShams$
|
|
4405
|
-
if (hasRequiredShams$
|
|
4406
|
-
hasRequiredShams$
|
|
4404
|
+
function requireShams$3 () {
|
|
4405
|
+
if (hasRequiredShams$3) return shams$3;
|
|
4406
|
+
hasRequiredShams$3 = 1;
|
|
4407
4407
|
|
|
4408
4408
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
4409
|
-
shams$
|
|
4409
|
+
shams$3 = function hasSymbols() {
|
|
4410
4410
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
4411
4411
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
4412
4412
|
|
|
@@ -4445,20 +4445,20 @@ function requireShams$5 () {
|
|
|
4445
4445
|
|
|
4446
4446
|
return true;
|
|
4447
4447
|
};
|
|
4448
|
-
return shams$
|
|
4448
|
+
return shams$3;
|
|
4449
4449
|
}
|
|
4450
4450
|
|
|
4451
|
-
var hasSymbols$
|
|
4452
|
-
var hasRequiredHasSymbols$
|
|
4451
|
+
var hasSymbols$1;
|
|
4452
|
+
var hasRequiredHasSymbols$1;
|
|
4453
4453
|
|
|
4454
|
-
function requireHasSymbols$
|
|
4455
|
-
if (hasRequiredHasSymbols$
|
|
4456
|
-
hasRequiredHasSymbols$
|
|
4454
|
+
function requireHasSymbols$1 () {
|
|
4455
|
+
if (hasRequiredHasSymbols$1) return hasSymbols$1;
|
|
4456
|
+
hasRequiredHasSymbols$1 = 1;
|
|
4457
4457
|
|
|
4458
4458
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
4459
|
-
var hasSymbolSham = requireShams$
|
|
4459
|
+
var hasSymbolSham = requireShams$3();
|
|
4460
4460
|
|
|
4461
|
-
hasSymbols$
|
|
4461
|
+
hasSymbols$1 = function hasNativeSymbols() {
|
|
4462
4462
|
if (typeof origSymbol !== 'function') { return false; }
|
|
4463
4463
|
if (typeof Symbol !== 'function') { return false; }
|
|
4464
4464
|
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
@@ -4466,7 +4466,7 @@ function requireHasSymbols$3 () {
|
|
|
4466
4466
|
|
|
4467
4467
|
return hasSymbolSham();
|
|
4468
4468
|
};
|
|
4469
|
-
return hasSymbols$
|
|
4469
|
+
return hasSymbols$1;
|
|
4470
4470
|
}
|
|
4471
4471
|
|
|
4472
4472
|
var hasProto;
|
|
@@ -4613,12 +4613,12 @@ function requireHasown () {
|
|
|
4613
4613
|
return hasown;
|
|
4614
4614
|
}
|
|
4615
4615
|
|
|
4616
|
-
var getIntrinsic$
|
|
4617
|
-
var hasRequiredGetIntrinsic$
|
|
4616
|
+
var getIntrinsic$5;
|
|
4617
|
+
var hasRequiredGetIntrinsic$5;
|
|
4618
4618
|
|
|
4619
|
-
function requireGetIntrinsic$
|
|
4620
|
-
if (hasRequiredGetIntrinsic$
|
|
4621
|
-
hasRequiredGetIntrinsic$
|
|
4619
|
+
function requireGetIntrinsic$5 () {
|
|
4620
|
+
if (hasRequiredGetIntrinsic$5) return getIntrinsic$5;
|
|
4621
|
+
hasRequiredGetIntrinsic$5 = 1;
|
|
4622
4622
|
|
|
4623
4623
|
var undefined$1;
|
|
4624
4624
|
|
|
@@ -4668,7 +4668,7 @@ function requireGetIntrinsic$3 () {
|
|
|
4668
4668
|
}())
|
|
4669
4669
|
: throwTypeError;
|
|
4670
4670
|
|
|
4671
|
-
var hasSymbols = requireHasSymbols$
|
|
4671
|
+
var hasSymbols = requireHasSymbols$1()();
|
|
4672
4672
|
var hasProto = /*@__PURE__*/ requireHasProto()();
|
|
4673
4673
|
|
|
4674
4674
|
var getProto = Object.getPrototypeOf || (
|
|
@@ -4895,7 +4895,7 @@ function requireGetIntrinsic$3 () {
|
|
|
4895
4895
|
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
4896
4896
|
};
|
|
4897
4897
|
|
|
4898
|
-
getIntrinsic$
|
|
4898
|
+
getIntrinsic$5 = function GetIntrinsic(name, allowMissing) {
|
|
4899
4899
|
if (typeof name !== 'string' || name.length === 0) {
|
|
4900
4900
|
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
4901
4901
|
}
|
|
@@ -4947,7 +4947,7 @@ function requireGetIntrinsic$3 () {
|
|
|
4947
4947
|
if (!allowMissing) {
|
|
4948
4948
|
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
4949
4949
|
}
|
|
4950
|
-
return void
|
|
4950
|
+
return void undefined$1;
|
|
4951
4951
|
}
|
|
4952
4952
|
if ($gOPD && (i + 1) >= parts.length) {
|
|
4953
4953
|
var desc = $gOPD(value, part);
|
|
@@ -4977,17 +4977,17 @@ function requireGetIntrinsic$3 () {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
return value;
|
|
4979
4979
|
};
|
|
4980
|
-
return getIntrinsic$
|
|
4980
|
+
return getIntrinsic$5;
|
|
4981
4981
|
}
|
|
4982
4982
|
|
|
4983
|
-
var esDefineProperty$
|
|
4984
|
-
var hasRequiredEsDefineProperty$
|
|
4983
|
+
var esDefineProperty$1;
|
|
4984
|
+
var hasRequiredEsDefineProperty$1;
|
|
4985
4985
|
|
|
4986
|
-
function requireEsDefineProperty$
|
|
4987
|
-
if (hasRequiredEsDefineProperty$
|
|
4988
|
-
hasRequiredEsDefineProperty$
|
|
4986
|
+
function requireEsDefineProperty$1 () {
|
|
4987
|
+
if (hasRequiredEsDefineProperty$1) return esDefineProperty$1;
|
|
4988
|
+
hasRequiredEsDefineProperty$1 = 1;
|
|
4989
4989
|
|
|
4990
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$
|
|
4990
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$5();
|
|
4991
4991
|
|
|
4992
4992
|
/** @type {import('.')} */
|
|
4993
4993
|
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
@@ -5000,600 +5000,1107 @@ function requireEsDefineProperty$3 () {
|
|
|
5000
5000
|
}
|
|
5001
5001
|
}
|
|
5002
5002
|
|
|
5003
|
-
esDefineProperty$
|
|
5004
|
-
return esDefineProperty$
|
|
5003
|
+
esDefineProperty$1 = $defineProperty;
|
|
5004
|
+
return esDefineProperty$1;
|
|
5005
5005
|
}
|
|
5006
5006
|
|
|
5007
|
-
var
|
|
5008
|
-
var
|
|
5007
|
+
var getIntrinsic$4;
|
|
5008
|
+
var hasRequiredGetIntrinsic$4;
|
|
5009
5009
|
|
|
5010
|
-
function
|
|
5011
|
-
if (
|
|
5012
|
-
|
|
5010
|
+
function requireGetIntrinsic$4 () {
|
|
5011
|
+
if (hasRequiredGetIntrinsic$4) return getIntrinsic$4;
|
|
5012
|
+
hasRequiredGetIntrinsic$4 = 1;
|
|
5013
5013
|
|
|
5014
|
-
var
|
|
5014
|
+
var undefined$1;
|
|
5015
5015
|
|
|
5016
|
-
var $
|
|
5016
|
+
var $Error = /*@__PURE__*/ requireEsErrors();
|
|
5017
|
+
var $EvalError = /*@__PURE__*/ require_eval();
|
|
5018
|
+
var $RangeError = /*@__PURE__*/ requireRange();
|
|
5019
|
+
var $ReferenceError = /*@__PURE__*/ requireRef();
|
|
5020
|
+
var $SyntaxError = /*@__PURE__*/ requireSyntax();
|
|
5021
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
5022
|
+
var $URIError = /*@__PURE__*/ requireUri();
|
|
5023
|
+
|
|
5024
|
+
var $Function = Function;
|
|
5017
5025
|
|
|
5026
|
+
// eslint-disable-next-line consistent-return
|
|
5027
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
5028
|
+
try {
|
|
5029
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
5030
|
+
} catch (e) {}
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
5018
5034
|
if ($gOPD) {
|
|
5019
5035
|
try {
|
|
5020
|
-
$gOPD(
|
|
5036
|
+
$gOPD({}, '');
|
|
5021
5037
|
} catch (e) {
|
|
5022
|
-
// IE 8 has a broken gOPD
|
|
5023
|
-
$gOPD = null;
|
|
5038
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
5024
5039
|
}
|
|
5025
5040
|
}
|
|
5026
5041
|
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
}
|
|
5042
|
+
var throwTypeError = function () {
|
|
5043
|
+
throw new $TypeError();
|
|
5044
|
+
};
|
|
5045
|
+
var ThrowTypeError = $gOPD
|
|
5046
|
+
? (function () {
|
|
5047
|
+
try {
|
|
5048
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
5049
|
+
arguments.callee; // IE 8 does not throw here
|
|
5050
|
+
return throwTypeError;
|
|
5051
|
+
} catch (calleeThrows) {
|
|
5052
|
+
try {
|
|
5053
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
5054
|
+
return $gOPD(arguments, 'callee').get;
|
|
5055
|
+
} catch (gOPDthrows) {
|
|
5056
|
+
return throwTypeError;
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
}())
|
|
5060
|
+
: throwTypeError;
|
|
5030
5061
|
|
|
5031
|
-
var
|
|
5032
|
-
var
|
|
5062
|
+
var hasSymbols = requireHasSymbols$1()();
|
|
5063
|
+
var hasProto = /*@__PURE__*/ requireHasProto()();
|
|
5033
5064
|
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5065
|
+
var getProto = Object.getPrototypeOf || (
|
|
5066
|
+
hasProto
|
|
5067
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
5068
|
+
: null
|
|
5069
|
+
);
|
|
5037
5070
|
|
|
5038
|
-
var
|
|
5071
|
+
var needsEval = {};
|
|
5039
5072
|
|
|
5040
|
-
var
|
|
5041
|
-
var $TypeError = /*@__PURE__*/ requireType();
|
|
5073
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
5042
5074
|
|
|
5043
|
-
var
|
|
5075
|
+
var INTRINSICS = {
|
|
5076
|
+
__proto__: null,
|
|
5077
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
5078
|
+
'%Array%': Array,
|
|
5079
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
5080
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
5081
|
+
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
5082
|
+
'%AsyncFunction%': needsEval,
|
|
5083
|
+
'%AsyncGenerator%': needsEval,
|
|
5084
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
5085
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
5086
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
5087
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
5088
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,
|
|
5089
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,
|
|
5090
|
+
'%Boolean%': Boolean,
|
|
5091
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
5092
|
+
'%Date%': Date,
|
|
5093
|
+
'%decodeURI%': decodeURI,
|
|
5094
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
5095
|
+
'%encodeURI%': encodeURI,
|
|
5096
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
5097
|
+
'%Error%': $Error,
|
|
5098
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
5099
|
+
'%EvalError%': $EvalError,
|
|
5100
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
5101
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
5102
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
5103
|
+
'%Function%': $Function,
|
|
5104
|
+
'%GeneratorFunction%': needsEval,
|
|
5105
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
5106
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
5107
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
5108
|
+
'%isFinite%': isFinite,
|
|
5109
|
+
'%isNaN%': isNaN,
|
|
5110
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
5111
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
5112
|
+
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
5113
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
5114
|
+
'%Math%': Math,
|
|
5115
|
+
'%Number%': Number,
|
|
5116
|
+
'%Object%': Object,
|
|
5117
|
+
'%parseFloat%': parseFloat,
|
|
5118
|
+
'%parseInt%': parseInt,
|
|
5119
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
5120
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
5121
|
+
'%RangeError%': $RangeError,
|
|
5122
|
+
'%ReferenceError%': $ReferenceError,
|
|
5123
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
5124
|
+
'%RegExp%': RegExp,
|
|
5125
|
+
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
5126
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
5127
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
5128
|
+
'%String%': String,
|
|
5129
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
5130
|
+
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
5131
|
+
'%SyntaxError%': $SyntaxError,
|
|
5132
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
5133
|
+
'%TypedArray%': TypedArray,
|
|
5134
|
+
'%TypeError%': $TypeError,
|
|
5135
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
5136
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
5137
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
5138
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
5139
|
+
'%URIError%': $URIError,
|
|
5140
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
5141
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
5142
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
5143
|
+
};
|
|
5044
5144
|
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
5053
|
-
}
|
|
5054
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
5055
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
5056
|
-
}
|
|
5057
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
5058
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
5059
|
-
}
|
|
5060
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
5061
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
5062
|
-
}
|
|
5063
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
5064
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
5065
|
-
}
|
|
5066
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
5067
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
5145
|
+
if (getProto) {
|
|
5146
|
+
try {
|
|
5147
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
5148
|
+
} catch (e) {
|
|
5149
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
5150
|
+
var errorProto = getProto(getProto(e));
|
|
5151
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
5068
5152
|
}
|
|
5153
|
+
}
|
|
5069
5154
|
|
|
5070
|
-
|
|
5071
|
-
var
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
if (
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
} else {
|
|
5089
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
5155
|
+
var doEval = function doEval(name) {
|
|
5156
|
+
var value;
|
|
5157
|
+
if (name === '%AsyncFunction%') {
|
|
5158
|
+
value = getEvalledConstructor('async function () {}');
|
|
5159
|
+
} else if (name === '%GeneratorFunction%') {
|
|
5160
|
+
value = getEvalledConstructor('function* () {}');
|
|
5161
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
5162
|
+
value = getEvalledConstructor('async function* () {}');
|
|
5163
|
+
} else if (name === '%AsyncGenerator%') {
|
|
5164
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
5165
|
+
if (fn) {
|
|
5166
|
+
value = fn.prototype;
|
|
5167
|
+
}
|
|
5168
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
5169
|
+
var gen = doEval('%AsyncGenerator%');
|
|
5170
|
+
if (gen && getProto) {
|
|
5171
|
+
value = getProto(gen.prototype);
|
|
5172
|
+
}
|
|
5090
5173
|
}
|
|
5091
|
-
};
|
|
5092
|
-
return defineDataProperty;
|
|
5093
|
-
}
|
|
5094
|
-
|
|
5095
|
-
var hasPropertyDescriptors_1;
|
|
5096
|
-
var hasRequiredHasPropertyDescriptors;
|
|
5097
|
-
|
|
5098
|
-
function requireHasPropertyDescriptors () {
|
|
5099
|
-
if (hasRequiredHasPropertyDescriptors) return hasPropertyDescriptors_1;
|
|
5100
|
-
hasRequiredHasPropertyDescriptors = 1;
|
|
5101
5174
|
|
|
5102
|
-
|
|
5175
|
+
INTRINSICS[name] = value;
|
|
5103
5176
|
|
|
5104
|
-
|
|
5105
|
-
return !!$defineProperty;
|
|
5177
|
+
return value;
|
|
5106
5178
|
};
|
|
5107
5179
|
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5180
|
+
var LEGACY_ALIASES = {
|
|
5181
|
+
__proto__: null,
|
|
5182
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
5183
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
5184
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
5185
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
5186
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
5187
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
5188
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
5189
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
5190
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
5191
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
5192
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
5193
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
5194
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
5195
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
5196
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
5197
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
5198
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
5199
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
5200
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
5201
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
5202
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
5203
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
5204
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
5205
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
5206
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
5207
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
5208
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
5209
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
5210
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
5211
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
5212
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
5213
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
5214
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
5215
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
5216
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
5217
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
5218
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
5219
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
5220
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
5221
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
5222
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
5223
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
5224
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
5225
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
5226
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
5227
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
5228
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
5229
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
5230
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
5231
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
5232
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
5119
5233
|
};
|
|
5120
5234
|
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
var
|
|
5126
|
-
var
|
|
5127
|
-
|
|
5128
|
-
function requireDefineProperties () {
|
|
5129
|
-
if (hasRequiredDefineProperties) return defineProperties_1;
|
|
5130
|
-
hasRequiredDefineProperties = 1;
|
|
5131
|
-
|
|
5132
|
-
var keys = requireObjectKeys();
|
|
5133
|
-
var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
5134
|
-
|
|
5135
|
-
var toStr = Object.prototype.toString;
|
|
5136
|
-
var concat = Array.prototype.concat;
|
|
5137
|
-
var defineDataProperty = /*@__PURE__*/ requireDefineDataProperty();
|
|
5235
|
+
var bind = requireFunctionBind();
|
|
5236
|
+
var hasOwn = /*@__PURE__*/ requireHasown();
|
|
5237
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
5238
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
5239
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
5240
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
5241
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
5138
5242
|
|
|
5139
|
-
|
|
5140
|
-
|
|
5243
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
5244
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
5245
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
5246
|
+
var stringToPath = function stringToPath(string) {
|
|
5247
|
+
var first = $strSlice(string, 0, 1);
|
|
5248
|
+
var last = $strSlice(string, -1);
|
|
5249
|
+
if (first === '%' && last !== '%') {
|
|
5250
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
5251
|
+
} else if (last === '%' && first !== '%') {
|
|
5252
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
5253
|
+
}
|
|
5254
|
+
var result = [];
|
|
5255
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
5256
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
5257
|
+
});
|
|
5258
|
+
return result;
|
|
5141
5259
|
};
|
|
5260
|
+
/* end adaptation */
|
|
5142
5261
|
|
|
5143
|
-
var
|
|
5262
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
5263
|
+
var intrinsicName = name;
|
|
5264
|
+
var alias;
|
|
5265
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
5266
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
5267
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
5268
|
+
}
|
|
5144
5269
|
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
if (
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
return;
|
|
5270
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
5271
|
+
var value = INTRINSICS[intrinsicName];
|
|
5272
|
+
if (value === needsEval) {
|
|
5273
|
+
value = doEval(intrinsicName);
|
|
5274
|
+
}
|
|
5275
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
5276
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
5153
5277
|
}
|
|
5154
|
-
}
|
|
5155
5278
|
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5279
|
+
return {
|
|
5280
|
+
alias: alias,
|
|
5281
|
+
name: intrinsicName,
|
|
5282
|
+
value: value
|
|
5283
|
+
};
|
|
5160
5284
|
}
|
|
5285
|
+
|
|
5286
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
5161
5287
|
};
|
|
5162
5288
|
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
if (hasSymbols) {
|
|
5167
|
-
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
5289
|
+
getIntrinsic$4 = function GetIntrinsic(name, allowMissing) {
|
|
5290
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
5291
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
5168
5292
|
}
|
|
5169
|
-
|
|
5170
|
-
|
|
5293
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
5294
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
5171
5295
|
}
|
|
5172
|
-
};
|
|
5173
5296
|
|
|
5174
|
-
|
|
5297
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
5298
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
5299
|
+
}
|
|
5300
|
+
var parts = stringToPath(name);
|
|
5301
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
5175
5302
|
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5303
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
5304
|
+
var intrinsicRealName = intrinsic.name;
|
|
5305
|
+
var value = intrinsic.value;
|
|
5306
|
+
var skipFurtherCaching = false;
|
|
5179
5307
|
|
|
5180
|
-
var
|
|
5308
|
+
var alias = intrinsic.alias;
|
|
5309
|
+
if (alias) {
|
|
5310
|
+
intrinsicBaseName = alias[0];
|
|
5311
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
5312
|
+
}
|
|
5181
5313
|
|
|
5182
|
-
var
|
|
5183
|
-
var
|
|
5314
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
5315
|
+
var part = parts[i];
|
|
5316
|
+
var first = $strSlice(part, 0, 1);
|
|
5317
|
+
var last = $strSlice(part, -1);
|
|
5318
|
+
if (
|
|
5319
|
+
(
|
|
5320
|
+
(first === '"' || first === "'" || first === '`')
|
|
5321
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
5322
|
+
)
|
|
5323
|
+
&& first !== last
|
|
5324
|
+
) {
|
|
5325
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
5326
|
+
}
|
|
5327
|
+
if (part === 'constructor' || !isOwn) {
|
|
5328
|
+
skipFurtherCaching = true;
|
|
5329
|
+
}
|
|
5184
5330
|
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
hasRequiredSetFunctionLength = 1;
|
|
5331
|
+
intrinsicBaseName += '.' + part;
|
|
5332
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
5188
5333
|
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5334
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
5335
|
+
value = INTRINSICS[intrinsicRealName];
|
|
5336
|
+
} else if (value != null) {
|
|
5337
|
+
if (!(part in value)) {
|
|
5338
|
+
if (!allowMissing) {
|
|
5339
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
5340
|
+
}
|
|
5341
|
+
return void undefined$1;
|
|
5342
|
+
}
|
|
5343
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
5344
|
+
var desc = $gOPD(value, part);
|
|
5345
|
+
isOwn = !!desc;
|
|
5193
5346
|
|
|
5194
|
-
|
|
5195
|
-
|
|
5347
|
+
// By convention, when a data property is converted to an accessor
|
|
5348
|
+
// property to emulate a data property that does not suffer from
|
|
5349
|
+
// the override mistake, that accessor's getter is marked with
|
|
5350
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
5351
|
+
// uphold the illusion by pretending to see that original data
|
|
5352
|
+
// property, i.e., returning the value rather than the getter
|
|
5353
|
+
// itself.
|
|
5354
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
5355
|
+
value = desc.get;
|
|
5356
|
+
} else {
|
|
5357
|
+
value = value[part];
|
|
5358
|
+
}
|
|
5359
|
+
} else {
|
|
5360
|
+
isOwn = hasOwn(value, part);
|
|
5361
|
+
value = value[part];
|
|
5362
|
+
}
|
|
5196
5363
|
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
}
|
|
5202
|
-
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
5203
|
-
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
5364
|
+
if (isOwn && !skipFurtherCaching) {
|
|
5365
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
5366
|
+
}
|
|
5367
|
+
}
|
|
5204
5368
|
}
|
|
5369
|
+
return value;
|
|
5370
|
+
};
|
|
5371
|
+
return getIntrinsic$4;
|
|
5372
|
+
}
|
|
5205
5373
|
|
|
5206
|
-
|
|
5374
|
+
var gopd$4;
|
|
5375
|
+
var hasRequiredGopd$4;
|
|
5207
5376
|
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
var desc = gOPD(fn, 'length');
|
|
5212
|
-
if (desc && !desc.configurable) {
|
|
5213
|
-
functionLengthIsConfigurable = false;
|
|
5214
|
-
}
|
|
5215
|
-
if (desc && !desc.writable) {
|
|
5216
|
-
functionLengthIsWritable = false;
|
|
5217
|
-
}
|
|
5218
|
-
}
|
|
5377
|
+
function requireGopd$4 () {
|
|
5378
|
+
if (hasRequiredGopd$4) return gopd$4;
|
|
5379
|
+
hasRequiredGopd$4 = 1;
|
|
5219
5380
|
|
|
5220
|
-
|
|
5221
|
-
if (hasDescriptors) {
|
|
5222
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
5223
|
-
} else {
|
|
5224
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
5225
|
-
}
|
|
5226
|
-
}
|
|
5227
|
-
return fn;
|
|
5228
|
-
};
|
|
5229
|
-
return setFunctionLength;
|
|
5230
|
-
}
|
|
5381
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$4();
|
|
5231
5382
|
|
|
5232
|
-
var
|
|
5233
|
-
var hasRequiredFunctionCall;
|
|
5383
|
+
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
5234
5384
|
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5385
|
+
if ($gOPD) {
|
|
5386
|
+
try {
|
|
5387
|
+
$gOPD([], 'length');
|
|
5388
|
+
} catch (e) {
|
|
5389
|
+
// IE 8 has a broken gOPD
|
|
5390
|
+
$gOPD = null;
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5238
5393
|
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
return functionCall;
|
|
5394
|
+
gopd$4 = $gOPD;
|
|
5395
|
+
return gopd$4;
|
|
5242
5396
|
}
|
|
5243
5397
|
|
|
5244
|
-
var
|
|
5245
|
-
var
|
|
5246
|
-
|
|
5247
|
-
function requireFunctionApply () {
|
|
5248
|
-
if (hasRequiredFunctionApply) return functionApply;
|
|
5249
|
-
hasRequiredFunctionApply = 1;
|
|
5250
|
-
|
|
5251
|
-
/** @type {import('./functionApply')} */
|
|
5252
|
-
functionApply = Function.prototype.apply;
|
|
5253
|
-
return functionApply;
|
|
5254
|
-
}
|
|
5398
|
+
var defineDataProperty;
|
|
5399
|
+
var hasRequiredDefineDataProperty;
|
|
5255
5400
|
|
|
5256
|
-
|
|
5257
|
-
|
|
5401
|
+
function requireDefineDataProperty () {
|
|
5402
|
+
if (hasRequiredDefineDataProperty) return defineDataProperty;
|
|
5403
|
+
hasRequiredDefineDataProperty = 1;
|
|
5258
5404
|
|
|
5259
|
-
|
|
5260
|
-
if (hasRequiredReflectApply) return reflectApply;
|
|
5261
|
-
hasRequiredReflectApply = 1;
|
|
5405
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
5262
5406
|
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
return reflectApply;
|
|
5266
|
-
}
|
|
5407
|
+
var $SyntaxError = /*@__PURE__*/ requireSyntax();
|
|
5408
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
5267
5409
|
|
|
5268
|
-
var
|
|
5269
|
-
var hasRequiredActualApply;
|
|
5410
|
+
var gopd = /*@__PURE__*/ requireGopd$4();
|
|
5270
5411
|
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5412
|
+
/** @type {import('.')} */
|
|
5413
|
+
defineDataProperty = function defineDataProperty(
|
|
5414
|
+
obj,
|
|
5415
|
+
property,
|
|
5416
|
+
value
|
|
5417
|
+
) {
|
|
5418
|
+
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
5419
|
+
throw new $TypeError('`obj` must be an object or a function`');
|
|
5420
|
+
}
|
|
5421
|
+
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
5422
|
+
throw new $TypeError('`property` must be a string or a symbol`');
|
|
5423
|
+
}
|
|
5424
|
+
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
5425
|
+
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
5426
|
+
}
|
|
5427
|
+
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
5428
|
+
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
5429
|
+
}
|
|
5430
|
+
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
5431
|
+
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
5432
|
+
}
|
|
5433
|
+
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
5434
|
+
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
5435
|
+
}
|
|
5274
5436
|
|
|
5275
|
-
|
|
5437
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
5438
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
5439
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
5440
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
5276
5441
|
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
var $reflectApply = requireReflectApply();
|
|
5442
|
+
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
5443
|
+
var desc = !!gopd && gopd(obj, property);
|
|
5280
5444
|
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5445
|
+
if ($defineProperty) {
|
|
5446
|
+
$defineProperty(obj, property, {
|
|
5447
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
5448
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
5449
|
+
value: value,
|
|
5450
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
5451
|
+
});
|
|
5452
|
+
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
5453
|
+
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
5454
|
+
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
5455
|
+
} else {
|
|
5456
|
+
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
5457
|
+
}
|
|
5458
|
+
};
|
|
5459
|
+
return defineDataProperty;
|
|
5284
5460
|
}
|
|
5285
5461
|
|
|
5286
|
-
var
|
|
5287
|
-
var
|
|
5462
|
+
var hasPropertyDescriptors_1;
|
|
5463
|
+
var hasRequiredHasPropertyDescriptors;
|
|
5288
5464
|
|
|
5289
|
-
function
|
|
5290
|
-
if (
|
|
5291
|
-
|
|
5465
|
+
function requireHasPropertyDescriptors () {
|
|
5466
|
+
if (hasRequiredHasPropertyDescriptors) return hasPropertyDescriptors_1;
|
|
5467
|
+
hasRequiredHasPropertyDescriptors = 1;
|
|
5292
5468
|
|
|
5293
|
-
var
|
|
5294
|
-
var $TypeError = /*@__PURE__*/ requireType();
|
|
5469
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
5295
5470
|
|
|
5296
|
-
var
|
|
5297
|
-
|
|
5471
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
5472
|
+
return !!$defineProperty;
|
|
5473
|
+
};
|
|
5298
5474
|
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
if (
|
|
5302
|
-
|
|
5475
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
5476
|
+
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
5477
|
+
if (!$defineProperty) {
|
|
5478
|
+
return null;
|
|
5479
|
+
}
|
|
5480
|
+
try {
|
|
5481
|
+
return $defineProperty([], 'length', { value: 1 }).length !== 1;
|
|
5482
|
+
} catch (e) {
|
|
5483
|
+
// In Firefox 4-22, defining length on an array throws an exception.
|
|
5484
|
+
return true;
|
|
5303
5485
|
}
|
|
5304
|
-
return $actualApply(bind, $call, args);
|
|
5305
5486
|
};
|
|
5306
|
-
|
|
5487
|
+
|
|
5488
|
+
hasPropertyDescriptors_1 = hasPropertyDescriptors;
|
|
5489
|
+
return hasPropertyDescriptors_1;
|
|
5307
5490
|
}
|
|
5308
5491
|
|
|
5309
|
-
var
|
|
5310
|
-
var
|
|
5492
|
+
var defineProperties_1;
|
|
5493
|
+
var hasRequiredDefineProperties;
|
|
5311
5494
|
|
|
5312
|
-
function
|
|
5313
|
-
if (
|
|
5314
|
-
|
|
5495
|
+
function requireDefineProperties () {
|
|
5496
|
+
if (hasRequiredDefineProperties) return defineProperties_1;
|
|
5497
|
+
hasRequiredDefineProperties = 1;
|
|
5315
5498
|
|
|
5316
|
-
var
|
|
5317
|
-
var
|
|
5318
|
-
var actualApply = requireActualApply();
|
|
5499
|
+
var keys = requireObjectKeys();
|
|
5500
|
+
var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
5319
5501
|
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
};
|
|
5324
|
-
return applyBind;
|
|
5325
|
-
}
|
|
5502
|
+
var toStr = Object.prototype.toString;
|
|
5503
|
+
var concat = Array.prototype.concat;
|
|
5504
|
+
var defineDataProperty = /*@__PURE__*/ requireDefineDataProperty();
|
|
5326
5505
|
|
|
5327
|
-
var
|
|
5506
|
+
var isFunction = function (fn) {
|
|
5507
|
+
return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
|
|
5508
|
+
};
|
|
5328
5509
|
|
|
5329
|
-
|
|
5330
|
-
if (hasRequiredCallBind$4) return callBind$4.exports;
|
|
5331
|
-
hasRequiredCallBind$4 = 1;
|
|
5332
|
-
(function (module) {
|
|
5510
|
+
var supportsDescriptors = /*@__PURE__*/ requireHasPropertyDescriptors()();
|
|
5333
5511
|
|
|
5334
|
-
|
|
5512
|
+
var defineProperty = function (object, name, value, predicate) {
|
|
5513
|
+
if (name in object) {
|
|
5514
|
+
if (predicate === true) {
|
|
5515
|
+
if (object[name] === value) {
|
|
5516
|
+
return;
|
|
5517
|
+
}
|
|
5518
|
+
} else if (!isFunction(predicate) || !predicate()) {
|
|
5519
|
+
return;
|
|
5520
|
+
}
|
|
5521
|
+
}
|
|
5335
5522
|
|
|
5336
|
-
|
|
5523
|
+
if (supportsDescriptors) {
|
|
5524
|
+
defineDataProperty(object, name, value, true);
|
|
5525
|
+
} else {
|
|
5526
|
+
defineDataProperty(object, name, value);
|
|
5527
|
+
}
|
|
5528
|
+
};
|
|
5337
5529
|
|
|
5338
|
-
|
|
5339
|
-
var
|
|
5530
|
+
var defineProperties = function (object, map) {
|
|
5531
|
+
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
5532
|
+
var props = keys(map);
|
|
5533
|
+
if (hasSymbols) {
|
|
5534
|
+
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
5535
|
+
}
|
|
5536
|
+
for (var i = 0; i < props.length; i += 1) {
|
|
5537
|
+
defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
|
|
5538
|
+
}
|
|
5539
|
+
};
|
|
5340
5540
|
|
|
5341
|
-
|
|
5342
|
-
var func = callBindBasic(arguments);
|
|
5343
|
-
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
5344
|
-
return setFunctionLength(
|
|
5345
|
-
func,
|
|
5346
|
-
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
5347
|
-
true
|
|
5348
|
-
);
|
|
5349
|
-
};
|
|
5541
|
+
defineProperties.supportsDescriptors = !!supportsDescriptors;
|
|
5350
5542
|
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
} else {
|
|
5354
|
-
module.exports.apply = applyBind;
|
|
5355
|
-
}
|
|
5356
|
-
} (callBind$4));
|
|
5357
|
-
return callBind$4.exports;
|
|
5543
|
+
defineProperties_1 = defineProperties;
|
|
5544
|
+
return defineProperties_1;
|
|
5358
5545
|
}
|
|
5359
5546
|
|
|
5360
|
-
var
|
|
5361
|
-
var hasRequiredShams$4;
|
|
5362
|
-
|
|
5363
|
-
function requireShams$4 () {
|
|
5364
|
-
if (hasRequiredShams$4) return shams$4;
|
|
5365
|
-
hasRequiredShams$4 = 1;
|
|
5547
|
+
var callBind$4 = {exports: {}};
|
|
5366
5548
|
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
shams$4 = function hasSymbols() {
|
|
5370
|
-
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
5371
|
-
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
5549
|
+
var getIntrinsic$3;
|
|
5550
|
+
var hasRequiredGetIntrinsic$3;
|
|
5372
5551
|
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
var symObj = Object(sym);
|
|
5377
|
-
if (typeof sym === 'string') { return false; }
|
|
5552
|
+
function requireGetIntrinsic$3 () {
|
|
5553
|
+
if (hasRequiredGetIntrinsic$3) return getIntrinsic$3;
|
|
5554
|
+
hasRequiredGetIntrinsic$3 = 1;
|
|
5378
5555
|
|
|
5379
|
-
|
|
5380
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
5556
|
+
var undefined$1;
|
|
5381
5557
|
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
var symVal = 42;
|
|
5391
|
-
obj[sym] = symVal;
|
|
5392
|
-
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
5393
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
5394
|
-
|
|
5395
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
5558
|
+
var $Error = /*@__PURE__*/ requireEsErrors();
|
|
5559
|
+
var $EvalError = /*@__PURE__*/ require_eval();
|
|
5560
|
+
var $RangeError = /*@__PURE__*/ requireRange();
|
|
5561
|
+
var $ReferenceError = /*@__PURE__*/ requireRef();
|
|
5562
|
+
var $SyntaxError = /*@__PURE__*/ requireSyntax();
|
|
5563
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
5564
|
+
var $URIError = /*@__PURE__*/ requireUri();
|
|
5396
5565
|
|
|
5397
|
-
|
|
5398
|
-
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
5566
|
+
var $Function = Function;
|
|
5399
5567
|
|
|
5400
|
-
|
|
5568
|
+
// eslint-disable-next-line consistent-return
|
|
5569
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
5570
|
+
try {
|
|
5571
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
5572
|
+
} catch (e) {}
|
|
5573
|
+
};
|
|
5401
5574
|
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5575
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
5576
|
+
if ($gOPD) {
|
|
5577
|
+
try {
|
|
5578
|
+
$gOPD({}, '');
|
|
5579
|
+
} catch (e) {
|
|
5580
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
5406
5581
|
}
|
|
5582
|
+
}
|
|
5407
5583
|
|
|
5408
|
-
|
|
5584
|
+
var throwTypeError = function () {
|
|
5585
|
+
throw new $TypeError();
|
|
5409
5586
|
};
|
|
5410
|
-
|
|
5411
|
-
|
|
5587
|
+
var ThrowTypeError = $gOPD
|
|
5588
|
+
? (function () {
|
|
5589
|
+
try {
|
|
5590
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
5591
|
+
arguments.callee; // IE 8 does not throw here
|
|
5592
|
+
return throwTypeError;
|
|
5593
|
+
} catch (calleeThrows) {
|
|
5594
|
+
try {
|
|
5595
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
5596
|
+
return $gOPD(arguments, 'callee').get;
|
|
5597
|
+
} catch (gOPDthrows) {
|
|
5598
|
+
return throwTypeError;
|
|
5599
|
+
}
|
|
5600
|
+
}
|
|
5601
|
+
}())
|
|
5602
|
+
: throwTypeError;
|
|
5412
5603
|
|
|
5413
|
-
var
|
|
5414
|
-
var
|
|
5604
|
+
var hasSymbols = requireHasSymbols$1()();
|
|
5605
|
+
var hasProto = /*@__PURE__*/ requireHasProto()();
|
|
5415
5606
|
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5607
|
+
var getProto = Object.getPrototypeOf || (
|
|
5608
|
+
hasProto
|
|
5609
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
5610
|
+
: null
|
|
5611
|
+
);
|
|
5419
5612
|
|
|
5420
|
-
|
|
5421
|
-
esObjectAtoms$3 = Object;
|
|
5422
|
-
return esObjectAtoms$3;
|
|
5423
|
-
}
|
|
5613
|
+
var needsEval = {};
|
|
5424
5614
|
|
|
5425
|
-
var
|
|
5426
|
-
var hasRequiredAbs;
|
|
5615
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
5427
5616
|
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5617
|
+
var INTRINSICS = {
|
|
5618
|
+
__proto__: null,
|
|
5619
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
5620
|
+
'%Array%': Array,
|
|
5621
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
5622
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
5623
|
+
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
5624
|
+
'%AsyncFunction%': needsEval,
|
|
5625
|
+
'%AsyncGenerator%': needsEval,
|
|
5626
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
5627
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
5628
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
5629
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
5630
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,
|
|
5631
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,
|
|
5632
|
+
'%Boolean%': Boolean,
|
|
5633
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
5634
|
+
'%Date%': Date,
|
|
5635
|
+
'%decodeURI%': decodeURI,
|
|
5636
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
5637
|
+
'%encodeURI%': encodeURI,
|
|
5638
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
5639
|
+
'%Error%': $Error,
|
|
5640
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
5641
|
+
'%EvalError%': $EvalError,
|
|
5642
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
5643
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
5644
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
5645
|
+
'%Function%': $Function,
|
|
5646
|
+
'%GeneratorFunction%': needsEval,
|
|
5647
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
5648
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
5649
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
5650
|
+
'%isFinite%': isFinite,
|
|
5651
|
+
'%isNaN%': isNaN,
|
|
5652
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
5653
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
5654
|
+
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
5655
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
5656
|
+
'%Math%': Math,
|
|
5657
|
+
'%Number%': Number,
|
|
5658
|
+
'%Object%': Object,
|
|
5659
|
+
'%parseFloat%': parseFloat,
|
|
5660
|
+
'%parseInt%': parseInt,
|
|
5661
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
5662
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
5663
|
+
'%RangeError%': $RangeError,
|
|
5664
|
+
'%ReferenceError%': $ReferenceError,
|
|
5665
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
5666
|
+
'%RegExp%': RegExp,
|
|
5667
|
+
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
5668
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
5669
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
5670
|
+
'%String%': String,
|
|
5671
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
5672
|
+
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
5673
|
+
'%SyntaxError%': $SyntaxError,
|
|
5674
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
5675
|
+
'%TypedArray%': TypedArray,
|
|
5676
|
+
'%TypeError%': $TypeError,
|
|
5677
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
5678
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
5679
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
5680
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
5681
|
+
'%URIError%': $URIError,
|
|
5682
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
5683
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
5684
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
5685
|
+
};
|
|
5431
5686
|
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
}
|
|
5687
|
+
if (getProto) {
|
|
5688
|
+
try {
|
|
5689
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
5690
|
+
} catch (e) {
|
|
5691
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
5692
|
+
var errorProto = getProto(getProto(e));
|
|
5693
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
5694
|
+
}
|
|
5695
|
+
}
|
|
5436
5696
|
|
|
5437
|
-
var
|
|
5438
|
-
var
|
|
5697
|
+
var doEval = function doEval(name) {
|
|
5698
|
+
var value;
|
|
5699
|
+
if (name === '%AsyncFunction%') {
|
|
5700
|
+
value = getEvalledConstructor('async function () {}');
|
|
5701
|
+
} else if (name === '%GeneratorFunction%') {
|
|
5702
|
+
value = getEvalledConstructor('function* () {}');
|
|
5703
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
5704
|
+
value = getEvalledConstructor('async function* () {}');
|
|
5705
|
+
} else if (name === '%AsyncGenerator%') {
|
|
5706
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
5707
|
+
if (fn) {
|
|
5708
|
+
value = fn.prototype;
|
|
5709
|
+
}
|
|
5710
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
5711
|
+
var gen = doEval('%AsyncGenerator%');
|
|
5712
|
+
if (gen && getProto) {
|
|
5713
|
+
value = getProto(gen.prototype);
|
|
5714
|
+
}
|
|
5715
|
+
}
|
|
5439
5716
|
|
|
5440
|
-
|
|
5441
|
-
if (hasRequiredFloor) return floor;
|
|
5442
|
-
hasRequiredFloor = 1;
|
|
5717
|
+
INTRINSICS[name] = value;
|
|
5443
5718
|
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
return floor;
|
|
5447
|
-
}
|
|
5719
|
+
return value;
|
|
5720
|
+
};
|
|
5448
5721
|
|
|
5449
|
-
var
|
|
5450
|
-
|
|
5722
|
+
var LEGACY_ALIASES = {
|
|
5723
|
+
__proto__: null,
|
|
5724
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
5725
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
5726
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
5727
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
5728
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
5729
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
5730
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
5731
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
5732
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
5733
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
5734
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
5735
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
5736
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
5737
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
5738
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
5739
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
5740
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
5741
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
5742
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
5743
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
5744
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
5745
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
5746
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
5747
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
5748
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
5749
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
5750
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
5751
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
5752
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
5753
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
5754
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
5755
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
5756
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
5757
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
5758
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
5759
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
5760
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
5761
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
5762
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
5763
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
5764
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
5765
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
5766
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
5767
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
5768
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
5769
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
5770
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
5771
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
5772
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
5773
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
5774
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
5775
|
+
};
|
|
5451
5776
|
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5777
|
+
var bind = requireFunctionBind();
|
|
5778
|
+
var hasOwn = /*@__PURE__*/ requireHasown();
|
|
5779
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
5780
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
5781
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
5782
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
5783
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
5455
5784
|
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
var
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5785
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
5786
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
5787
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
5788
|
+
var stringToPath = function stringToPath(string) {
|
|
5789
|
+
var first = $strSlice(string, 0, 1);
|
|
5790
|
+
var last = $strSlice(string, -1);
|
|
5791
|
+
if (first === '%' && last !== '%') {
|
|
5792
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
5793
|
+
} else if (last === '%' && first !== '%') {
|
|
5794
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
5795
|
+
}
|
|
5796
|
+
var result = [];
|
|
5797
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
5798
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
5799
|
+
});
|
|
5800
|
+
return result;
|
|
5801
|
+
};
|
|
5802
|
+
/* end adaptation */
|
|
5472
5803
|
|
|
5473
|
-
var
|
|
5474
|
-
var
|
|
5804
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
5805
|
+
var intrinsicName = name;
|
|
5806
|
+
var alias;
|
|
5807
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
5808
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
5809
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
5810
|
+
}
|
|
5475
5811
|
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5812
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
5813
|
+
var value = INTRINSICS[intrinsicName];
|
|
5814
|
+
if (value === needsEval) {
|
|
5815
|
+
value = doEval(intrinsicName);
|
|
5816
|
+
}
|
|
5817
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
5818
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
5819
|
+
}
|
|
5479
5820
|
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5821
|
+
return {
|
|
5822
|
+
alias: alias,
|
|
5823
|
+
name: intrinsicName,
|
|
5824
|
+
value: value
|
|
5825
|
+
};
|
|
5826
|
+
}
|
|
5484
5827
|
|
|
5485
|
-
|
|
5486
|
-
|
|
5828
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
5829
|
+
};
|
|
5487
5830
|
|
|
5488
|
-
function
|
|
5489
|
-
|
|
5490
|
-
|
|
5831
|
+
getIntrinsic$3 = function GetIntrinsic(name, allowMissing) {
|
|
5832
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
5833
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
5834
|
+
}
|
|
5835
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
5836
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
5837
|
+
}
|
|
5491
5838
|
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5839
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
5840
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
5841
|
+
}
|
|
5842
|
+
var parts = stringToPath(name);
|
|
5843
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
5496
5844
|
|
|
5497
|
-
var
|
|
5498
|
-
var
|
|
5845
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
5846
|
+
var intrinsicRealName = intrinsic.name;
|
|
5847
|
+
var value = intrinsic.value;
|
|
5848
|
+
var skipFurtherCaching = false;
|
|
5499
5849
|
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5850
|
+
var alias = intrinsic.alias;
|
|
5851
|
+
if (alias) {
|
|
5852
|
+
intrinsicBaseName = alias[0];
|
|
5853
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
5854
|
+
}
|
|
5503
5855
|
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5856
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
5857
|
+
var part = parts[i];
|
|
5858
|
+
var first = $strSlice(part, 0, 1);
|
|
5859
|
+
var last = $strSlice(part, -1);
|
|
5860
|
+
if (
|
|
5861
|
+
(
|
|
5862
|
+
(first === '"' || first === "'" || first === '`')
|
|
5863
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
5864
|
+
)
|
|
5865
|
+
&& first !== last
|
|
5866
|
+
) {
|
|
5867
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
5868
|
+
}
|
|
5869
|
+
if (part === 'constructor' || !isOwn) {
|
|
5870
|
+
skipFurtherCaching = true;
|
|
5871
|
+
}
|
|
5510
5872
|
|
|
5511
|
-
|
|
5512
|
-
|
|
5873
|
+
intrinsicBaseName += '.' + part;
|
|
5874
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
5513
5875
|
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5876
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
5877
|
+
value = INTRINSICS[intrinsicRealName];
|
|
5878
|
+
} else if (value != null) {
|
|
5879
|
+
if (!(part in value)) {
|
|
5880
|
+
if (!allowMissing) {
|
|
5881
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
5882
|
+
}
|
|
5883
|
+
return void undefined$1;
|
|
5884
|
+
}
|
|
5885
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
5886
|
+
var desc = $gOPD(value, part);
|
|
5887
|
+
isOwn = !!desc;
|
|
5517
5888
|
|
|
5518
|
-
|
|
5889
|
+
// By convention, when a data property is converted to an accessor
|
|
5890
|
+
// property to emulate a data property that does not suffer from
|
|
5891
|
+
// the override mistake, that accessor's getter is marked with
|
|
5892
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
5893
|
+
// uphold the illusion by pretending to see that original data
|
|
5894
|
+
// property, i.e., returning the value rather than the getter
|
|
5895
|
+
// itself.
|
|
5896
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
5897
|
+
value = desc.get;
|
|
5898
|
+
} else {
|
|
5899
|
+
value = value[part];
|
|
5900
|
+
}
|
|
5901
|
+
} else {
|
|
5902
|
+
isOwn = hasOwn(value, part);
|
|
5903
|
+
value = value[part];
|
|
5904
|
+
}
|
|
5519
5905
|
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5906
|
+
if (isOwn && !skipFurtherCaching) {
|
|
5907
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
5908
|
+
}
|
|
5909
|
+
}
|
|
5524
5910
|
}
|
|
5525
|
-
return
|
|
5911
|
+
return value;
|
|
5526
5912
|
};
|
|
5527
|
-
return
|
|
5913
|
+
return getIntrinsic$3;
|
|
5528
5914
|
}
|
|
5529
5915
|
|
|
5530
|
-
var
|
|
5531
|
-
var
|
|
5532
|
-
|
|
5533
|
-
function requireGOPD$3 () {
|
|
5534
|
-
if (hasRequiredGOPD$3) return gOPD$3;
|
|
5535
|
-
hasRequiredGOPD$3 = 1;
|
|
5916
|
+
var setFunctionLength;
|
|
5917
|
+
var hasRequiredSetFunctionLength;
|
|
5536
5918
|
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
}
|
|
5919
|
+
function requireSetFunctionLength () {
|
|
5920
|
+
if (hasRequiredSetFunctionLength) return setFunctionLength;
|
|
5921
|
+
hasRequiredSetFunctionLength = 1;
|
|
5541
5922
|
|
|
5542
|
-
var
|
|
5543
|
-
var
|
|
5923
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$3();
|
|
5924
|
+
var define = /*@__PURE__*/ requireDefineDataProperty();
|
|
5925
|
+
var hasDescriptors = /*@__PURE__*/ requireHasPropertyDescriptors()();
|
|
5926
|
+
var gOPD = /*@__PURE__*/ requireGopd$4();
|
|
5544
5927
|
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
hasRequiredGopd$3 = 1;
|
|
5928
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
5929
|
+
var $floor = GetIntrinsic('%Math.floor%');
|
|
5548
5930
|
|
|
5549
5931
|
/** @type {import('.')} */
|
|
5550
|
-
|
|
5932
|
+
setFunctionLength = function setFunctionLength(fn, length) {
|
|
5933
|
+
if (typeof fn !== 'function') {
|
|
5934
|
+
throw new $TypeError('`fn` is not a function');
|
|
5935
|
+
}
|
|
5936
|
+
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
5937
|
+
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
5938
|
+
}
|
|
5551
5939
|
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5940
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
5941
|
+
|
|
5942
|
+
var functionLengthIsConfigurable = true;
|
|
5943
|
+
var functionLengthIsWritable = true;
|
|
5944
|
+
if ('length' in fn && gOPD) {
|
|
5945
|
+
var desc = gOPD(fn, 'length');
|
|
5946
|
+
if (desc && !desc.configurable) {
|
|
5947
|
+
functionLengthIsConfigurable = false;
|
|
5948
|
+
}
|
|
5949
|
+
if (desc && !desc.writable) {
|
|
5950
|
+
functionLengthIsWritable = false;
|
|
5951
|
+
}
|
|
5558
5952
|
}
|
|
5559
|
-
}
|
|
5560
5953
|
|
|
5561
|
-
|
|
5562
|
-
|
|
5954
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
5955
|
+
if (hasDescriptors) {
|
|
5956
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
5957
|
+
} else {
|
|
5958
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
5959
|
+
}
|
|
5960
|
+
}
|
|
5961
|
+
return fn;
|
|
5962
|
+
};
|
|
5963
|
+
return setFunctionLength;
|
|
5563
5964
|
}
|
|
5564
5965
|
|
|
5565
|
-
var
|
|
5566
|
-
var
|
|
5567
|
-
|
|
5568
|
-
function requireEsDefineProperty$2 () {
|
|
5569
|
-
if (hasRequiredEsDefineProperty$2) return esDefineProperty$2;
|
|
5570
|
-
hasRequiredEsDefineProperty$2 = 1;
|
|
5966
|
+
var functionCall;
|
|
5967
|
+
var hasRequiredFunctionCall;
|
|
5571
5968
|
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
try {
|
|
5576
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
5577
|
-
} catch (e) {
|
|
5578
|
-
// IE 8 has a broken defineProperty
|
|
5579
|
-
$defineProperty = false;
|
|
5580
|
-
}
|
|
5581
|
-
}
|
|
5969
|
+
function requireFunctionCall () {
|
|
5970
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
5971
|
+
hasRequiredFunctionCall = 1;
|
|
5582
5972
|
|
|
5583
|
-
|
|
5584
|
-
|
|
5973
|
+
/** @type {import('./functionCall')} */
|
|
5974
|
+
functionCall = Function.prototype.call;
|
|
5975
|
+
return functionCall;
|
|
5585
5976
|
}
|
|
5586
5977
|
|
|
5587
|
-
var
|
|
5588
|
-
var
|
|
5978
|
+
var functionApply;
|
|
5979
|
+
var hasRequiredFunctionApply;
|
|
5589
5980
|
|
|
5590
|
-
function
|
|
5591
|
-
if (
|
|
5592
|
-
|
|
5981
|
+
function requireFunctionApply () {
|
|
5982
|
+
if (hasRequiredFunctionApply) return functionApply;
|
|
5983
|
+
hasRequiredFunctionApply = 1;
|
|
5984
|
+
|
|
5985
|
+
/** @type {import('./functionApply')} */
|
|
5986
|
+
functionApply = Function.prototype.apply;
|
|
5987
|
+
return functionApply;
|
|
5988
|
+
}
|
|
5989
|
+
|
|
5990
|
+
var reflectApply;
|
|
5991
|
+
var hasRequiredReflectApply;
|
|
5992
|
+
|
|
5993
|
+
function requireReflectApply () {
|
|
5994
|
+
if (hasRequiredReflectApply) return reflectApply;
|
|
5995
|
+
hasRequiredReflectApply = 1;
|
|
5996
|
+
|
|
5997
|
+
/** @type {import('./reflectApply')} */
|
|
5998
|
+
reflectApply = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
5999
|
+
return reflectApply;
|
|
6000
|
+
}
|
|
6001
|
+
|
|
6002
|
+
var actualApply;
|
|
6003
|
+
var hasRequiredActualApply;
|
|
6004
|
+
|
|
6005
|
+
function requireActualApply () {
|
|
6006
|
+
if (hasRequiredActualApply) return actualApply;
|
|
6007
|
+
hasRequiredActualApply = 1;
|
|
6008
|
+
|
|
6009
|
+
var bind = requireFunctionBind();
|
|
6010
|
+
|
|
6011
|
+
var $apply = requireFunctionApply();
|
|
6012
|
+
var $call = requireFunctionCall();
|
|
6013
|
+
var $reflectApply = requireReflectApply();
|
|
6014
|
+
|
|
6015
|
+
/** @type {import('./actualApply')} */
|
|
6016
|
+
actualApply = $reflectApply || bind.call($call, $apply);
|
|
6017
|
+
return actualApply;
|
|
6018
|
+
}
|
|
6019
|
+
|
|
6020
|
+
var callBindApplyHelpers;
|
|
6021
|
+
var hasRequiredCallBindApplyHelpers;
|
|
6022
|
+
|
|
6023
|
+
function requireCallBindApplyHelpers () {
|
|
6024
|
+
if (hasRequiredCallBindApplyHelpers) return callBindApplyHelpers;
|
|
6025
|
+
hasRequiredCallBindApplyHelpers = 1;
|
|
6026
|
+
|
|
6027
|
+
var bind = requireFunctionBind();
|
|
6028
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
6029
|
+
|
|
6030
|
+
var $call = requireFunctionCall();
|
|
6031
|
+
var $actualApply = requireActualApply();
|
|
6032
|
+
|
|
6033
|
+
/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
|
|
6034
|
+
callBindApplyHelpers = function callBindBasic(args) {
|
|
6035
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
6036
|
+
throw new $TypeError('a function is required');
|
|
6037
|
+
}
|
|
6038
|
+
return $actualApply(bind, $call, args);
|
|
6039
|
+
};
|
|
6040
|
+
return callBindApplyHelpers;
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
var applyBind;
|
|
6044
|
+
var hasRequiredApplyBind;
|
|
6045
|
+
|
|
6046
|
+
function requireApplyBind () {
|
|
6047
|
+
if (hasRequiredApplyBind) return applyBind;
|
|
6048
|
+
hasRequiredApplyBind = 1;
|
|
6049
|
+
|
|
6050
|
+
var bind = requireFunctionBind();
|
|
6051
|
+
var $apply = requireFunctionApply();
|
|
6052
|
+
var actualApply = requireActualApply();
|
|
6053
|
+
|
|
6054
|
+
/** @type {import('./applyBind')} */
|
|
6055
|
+
applyBind = function applyBind() {
|
|
6056
|
+
return actualApply(bind, $apply, arguments);
|
|
6057
|
+
};
|
|
6058
|
+
return applyBind;
|
|
6059
|
+
}
|
|
6060
|
+
|
|
6061
|
+
var hasRequiredCallBind$4;
|
|
6062
|
+
|
|
6063
|
+
function requireCallBind$4 () {
|
|
6064
|
+
if (hasRequiredCallBind$4) return callBind$4.exports;
|
|
6065
|
+
hasRequiredCallBind$4 = 1;
|
|
6066
|
+
(function (module) {
|
|
6067
|
+
|
|
6068
|
+
var setFunctionLength = /*@__PURE__*/ requireSetFunctionLength();
|
|
6069
|
+
|
|
6070
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
6071
|
+
|
|
6072
|
+
var callBindBasic = requireCallBindApplyHelpers();
|
|
6073
|
+
var applyBind = requireApplyBind();
|
|
6074
|
+
|
|
6075
|
+
module.exports = function callBind(originalFunction) {
|
|
6076
|
+
var func = callBindBasic(arguments);
|
|
6077
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
6078
|
+
return setFunctionLength(
|
|
6079
|
+
func,
|
|
6080
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
6081
|
+
true
|
|
6082
|
+
);
|
|
6083
|
+
};
|
|
6084
|
+
|
|
6085
|
+
if ($defineProperty) {
|
|
6086
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
6087
|
+
} else {
|
|
6088
|
+
module.exports.apply = applyBind;
|
|
6089
|
+
}
|
|
6090
|
+
} (callBind$4));
|
|
6091
|
+
return callBind$4.exports;
|
|
6092
|
+
}
|
|
6093
|
+
|
|
6094
|
+
var shams$2;
|
|
6095
|
+
var hasRequiredShams$2;
|
|
6096
|
+
|
|
6097
|
+
function requireShams$2 () {
|
|
6098
|
+
if (hasRequiredShams$2) return shams$2;
|
|
6099
|
+
hasRequiredShams$2 = 1;
|
|
5593
6100
|
|
|
5594
6101
|
/** @type {import('./shams')} */
|
|
5595
6102
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
5596
|
-
shams$
|
|
6103
|
+
shams$2 = function hasSymbols() {
|
|
5597
6104
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
5598
6105
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
5599
6106
|
|
|
@@ -5634,117 +6141,344 @@ function requireShams$3 () {
|
|
|
5634
6141
|
|
|
5635
6142
|
return true;
|
|
5636
6143
|
};
|
|
5637
|
-
return shams$
|
|
6144
|
+
return shams$2;
|
|
5638
6145
|
}
|
|
5639
6146
|
|
|
5640
|
-
var
|
|
5641
|
-
var
|
|
5642
|
-
|
|
5643
|
-
function requireHasSymbols$2 () {
|
|
5644
|
-
if (hasRequiredHasSymbols$2) return hasSymbols$2;
|
|
5645
|
-
hasRequiredHasSymbols$2 = 1;
|
|
6147
|
+
var esObjectAtoms$1;
|
|
6148
|
+
var hasRequiredEsObjectAtoms$1;
|
|
5646
6149
|
|
|
5647
|
-
|
|
5648
|
-
|
|
6150
|
+
function requireEsObjectAtoms$1 () {
|
|
6151
|
+
if (hasRequiredEsObjectAtoms$1) return esObjectAtoms$1;
|
|
6152
|
+
hasRequiredEsObjectAtoms$1 = 1;
|
|
5649
6153
|
|
|
5650
6154
|
/** @type {import('.')} */
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
if (typeof Symbol !== 'function') { return false; }
|
|
5654
|
-
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
5655
|
-
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
5656
|
-
|
|
5657
|
-
return hasSymbolSham();
|
|
5658
|
-
};
|
|
5659
|
-
return hasSymbols$2;
|
|
6155
|
+
esObjectAtoms$1 = Object;
|
|
6156
|
+
return esObjectAtoms$1;
|
|
5660
6157
|
}
|
|
5661
6158
|
|
|
5662
|
-
var
|
|
5663
|
-
var
|
|
6159
|
+
var abs;
|
|
6160
|
+
var hasRequiredAbs;
|
|
5664
6161
|
|
|
5665
|
-
function
|
|
5666
|
-
if (
|
|
5667
|
-
|
|
6162
|
+
function requireAbs () {
|
|
6163
|
+
if (hasRequiredAbs) return abs;
|
|
6164
|
+
hasRequiredAbs = 1;
|
|
5668
6165
|
|
|
5669
|
-
/** @type {import('./
|
|
5670
|
-
|
|
5671
|
-
return
|
|
6166
|
+
/** @type {import('./abs')} */
|
|
6167
|
+
abs = Math.abs;
|
|
6168
|
+
return abs;
|
|
5672
6169
|
}
|
|
5673
6170
|
|
|
5674
|
-
var
|
|
5675
|
-
var
|
|
6171
|
+
var floor;
|
|
6172
|
+
var hasRequiredFloor;
|
|
5676
6173
|
|
|
5677
|
-
function
|
|
5678
|
-
if (
|
|
5679
|
-
|
|
6174
|
+
function requireFloor () {
|
|
6175
|
+
if (hasRequiredFloor) return floor;
|
|
6176
|
+
hasRequiredFloor = 1;
|
|
5680
6177
|
|
|
5681
|
-
/** @type {import('
|
|
5682
|
-
|
|
5683
|
-
return
|
|
6178
|
+
/** @type {import('./floor')} */
|
|
6179
|
+
floor = Math.floor;
|
|
6180
|
+
return floor;
|
|
5684
6181
|
}
|
|
5685
6182
|
|
|
5686
|
-
var
|
|
5687
|
-
var
|
|
5688
|
-
|
|
5689
|
-
function requireObject_getPrototypeOf () {
|
|
5690
|
-
if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
|
|
5691
|
-
hasRequiredObject_getPrototypeOf = 1;
|
|
6183
|
+
var max;
|
|
6184
|
+
var hasRequiredMax;
|
|
5692
6185
|
|
|
5693
|
-
|
|
6186
|
+
function requireMax () {
|
|
6187
|
+
if (hasRequiredMax) return max;
|
|
6188
|
+
hasRequiredMax = 1;
|
|
5694
6189
|
|
|
5695
|
-
/** @type {import('./
|
|
5696
|
-
|
|
5697
|
-
return
|
|
6190
|
+
/** @type {import('./max')} */
|
|
6191
|
+
max = Math.max;
|
|
6192
|
+
return max;
|
|
5698
6193
|
}
|
|
5699
6194
|
|
|
5700
|
-
var
|
|
5701
|
-
var
|
|
6195
|
+
var min;
|
|
6196
|
+
var hasRequiredMin;
|
|
5702
6197
|
|
|
5703
|
-
function
|
|
5704
|
-
if (
|
|
5705
|
-
|
|
6198
|
+
function requireMin () {
|
|
6199
|
+
if (hasRequiredMin) return min;
|
|
6200
|
+
hasRequiredMin = 1;
|
|
5706
6201
|
|
|
5707
|
-
/** @type {import('./
|
|
5708
|
-
|
|
5709
|
-
return
|
|
6202
|
+
/** @type {import('./min')} */
|
|
6203
|
+
min = Math.min;
|
|
6204
|
+
return min;
|
|
5710
6205
|
}
|
|
5711
6206
|
|
|
5712
|
-
var
|
|
5713
|
-
var
|
|
6207
|
+
var pow;
|
|
6208
|
+
var hasRequiredPow;
|
|
5714
6209
|
|
|
5715
|
-
function
|
|
5716
|
-
if (
|
|
5717
|
-
|
|
6210
|
+
function requirePow () {
|
|
6211
|
+
if (hasRequiredPow) return pow;
|
|
6212
|
+
hasRequiredPow = 1;
|
|
5718
6213
|
|
|
5719
|
-
/** @type {import('
|
|
5720
|
-
|
|
6214
|
+
/** @type {import('./pow')} */
|
|
6215
|
+
pow = Math.pow;
|
|
6216
|
+
return pow;
|
|
6217
|
+
}
|
|
5721
6218
|
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
$gOPD([], 'length');
|
|
5725
|
-
} catch (e) {
|
|
5726
|
-
// IE 8 has a broken gOPD
|
|
5727
|
-
$gOPD = null;
|
|
5728
|
-
}
|
|
5729
|
-
}
|
|
6219
|
+
var round;
|
|
6220
|
+
var hasRequiredRound;
|
|
5730
6221
|
|
|
5731
|
-
|
|
5732
|
-
return
|
|
6222
|
+
function requireRound () {
|
|
6223
|
+
if (hasRequiredRound) return round;
|
|
6224
|
+
hasRequiredRound = 1;
|
|
6225
|
+
|
|
6226
|
+
/** @type {import('./round')} */
|
|
6227
|
+
round = Math.round;
|
|
6228
|
+
return round;
|
|
5733
6229
|
}
|
|
5734
6230
|
|
|
5735
|
-
var
|
|
5736
|
-
var
|
|
6231
|
+
var _isNaN;
|
|
6232
|
+
var hasRequired_isNaN;
|
|
5737
6233
|
|
|
5738
|
-
function
|
|
5739
|
-
if (
|
|
5740
|
-
|
|
6234
|
+
function require_isNaN () {
|
|
6235
|
+
if (hasRequired_isNaN) return _isNaN;
|
|
6236
|
+
hasRequired_isNaN = 1;
|
|
5741
6237
|
|
|
5742
|
-
|
|
5743
|
-
|
|
6238
|
+
/** @type {import('./isNaN')} */
|
|
6239
|
+
_isNaN = Number.isNaN || function isNaN(a) {
|
|
6240
|
+
return a !== a;
|
|
6241
|
+
};
|
|
6242
|
+
return _isNaN;
|
|
6243
|
+
}
|
|
5744
6244
|
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
6245
|
+
var sign;
|
|
6246
|
+
var hasRequiredSign;
|
|
6247
|
+
|
|
6248
|
+
function requireSign () {
|
|
6249
|
+
if (hasRequiredSign) return sign;
|
|
6250
|
+
hasRequiredSign = 1;
|
|
6251
|
+
|
|
6252
|
+
var $isNaN = /*@__PURE__*/ require_isNaN();
|
|
6253
|
+
|
|
6254
|
+
/** @type {import('./sign')} */
|
|
6255
|
+
sign = function sign(number) {
|
|
6256
|
+
if ($isNaN(number) || number === 0) {
|
|
6257
|
+
return number;
|
|
6258
|
+
}
|
|
6259
|
+
return number < 0 ? -1 : 1;
|
|
6260
|
+
};
|
|
6261
|
+
return sign;
|
|
6262
|
+
}
|
|
6263
|
+
|
|
6264
|
+
var gOPD$3;
|
|
6265
|
+
var hasRequiredGOPD$3;
|
|
6266
|
+
|
|
6267
|
+
function requireGOPD$3 () {
|
|
6268
|
+
if (hasRequiredGOPD$3) return gOPD$3;
|
|
6269
|
+
hasRequiredGOPD$3 = 1;
|
|
6270
|
+
|
|
6271
|
+
/** @type {import('./gOPD')} */
|
|
6272
|
+
gOPD$3 = Object.getOwnPropertyDescriptor;
|
|
6273
|
+
return gOPD$3;
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6276
|
+
var gopd$3;
|
|
6277
|
+
var hasRequiredGopd$3;
|
|
6278
|
+
|
|
6279
|
+
function requireGopd$3 () {
|
|
6280
|
+
if (hasRequiredGopd$3) return gopd$3;
|
|
6281
|
+
hasRequiredGopd$3 = 1;
|
|
6282
|
+
|
|
6283
|
+
/** @type {import('.')} */
|
|
6284
|
+
var $gOPD = /*@__PURE__*/ requireGOPD$3();
|
|
6285
|
+
|
|
6286
|
+
if ($gOPD) {
|
|
6287
|
+
try {
|
|
6288
|
+
$gOPD([], 'length');
|
|
6289
|
+
} catch (e) {
|
|
6290
|
+
// IE 8 has a broken gOPD
|
|
6291
|
+
$gOPD = null;
|
|
6292
|
+
}
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
gopd$3 = $gOPD;
|
|
6296
|
+
return gopd$3;
|
|
6297
|
+
}
|
|
6298
|
+
|
|
6299
|
+
var esDefineProperty;
|
|
6300
|
+
var hasRequiredEsDefineProperty;
|
|
6301
|
+
|
|
6302
|
+
function requireEsDefineProperty () {
|
|
6303
|
+
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
6304
|
+
hasRequiredEsDefineProperty = 1;
|
|
6305
|
+
|
|
6306
|
+
/** @type {import('.')} */
|
|
6307
|
+
var $defineProperty = Object.defineProperty || false;
|
|
6308
|
+
if ($defineProperty) {
|
|
6309
|
+
try {
|
|
6310
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
6311
|
+
} catch (e) {
|
|
6312
|
+
// IE 8 has a broken defineProperty
|
|
6313
|
+
$defineProperty = false;
|
|
6314
|
+
}
|
|
6315
|
+
}
|
|
6316
|
+
|
|
6317
|
+
esDefineProperty = $defineProperty;
|
|
6318
|
+
return esDefineProperty;
|
|
6319
|
+
}
|
|
6320
|
+
|
|
6321
|
+
var shams$1;
|
|
6322
|
+
var hasRequiredShams$1;
|
|
6323
|
+
|
|
6324
|
+
function requireShams$1 () {
|
|
6325
|
+
if (hasRequiredShams$1) return shams$1;
|
|
6326
|
+
hasRequiredShams$1 = 1;
|
|
6327
|
+
|
|
6328
|
+
/** @type {import('./shams')} */
|
|
6329
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
6330
|
+
shams$1 = function hasSymbols() {
|
|
6331
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
6332
|
+
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
6333
|
+
|
|
6334
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
6335
|
+
var obj = {};
|
|
6336
|
+
var sym = Symbol('test');
|
|
6337
|
+
var symObj = Object(sym);
|
|
6338
|
+
if (typeof sym === 'string') { return false; }
|
|
6339
|
+
|
|
6340
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
6341
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
6342
|
+
|
|
6343
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
6344
|
+
// if (sym instanceof Symbol) { return false; }
|
|
6345
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
6346
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
6347
|
+
|
|
6348
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
6349
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
6350
|
+
|
|
6351
|
+
var symVal = 42;
|
|
6352
|
+
obj[sym] = symVal;
|
|
6353
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
6354
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
6355
|
+
|
|
6356
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
6357
|
+
|
|
6358
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
6359
|
+
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
6360
|
+
|
|
6361
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
6362
|
+
|
|
6363
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
6364
|
+
// eslint-disable-next-line no-extra-parens
|
|
6365
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
6366
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
return true;
|
|
6370
|
+
};
|
|
6371
|
+
return shams$1;
|
|
6372
|
+
}
|
|
6373
|
+
|
|
6374
|
+
var hasSymbols;
|
|
6375
|
+
var hasRequiredHasSymbols;
|
|
6376
|
+
|
|
6377
|
+
function requireHasSymbols () {
|
|
6378
|
+
if (hasRequiredHasSymbols) return hasSymbols;
|
|
6379
|
+
hasRequiredHasSymbols = 1;
|
|
6380
|
+
|
|
6381
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
6382
|
+
var hasSymbolSham = requireShams$1();
|
|
6383
|
+
|
|
6384
|
+
/** @type {import('.')} */
|
|
6385
|
+
hasSymbols = function hasNativeSymbols() {
|
|
6386
|
+
if (typeof origSymbol !== 'function') { return false; }
|
|
6387
|
+
if (typeof Symbol !== 'function') { return false; }
|
|
6388
|
+
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
6389
|
+
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
6390
|
+
|
|
6391
|
+
return hasSymbolSham();
|
|
6392
|
+
};
|
|
6393
|
+
return hasSymbols;
|
|
6394
|
+
}
|
|
6395
|
+
|
|
6396
|
+
var Reflect_getPrototypeOf;
|
|
6397
|
+
var hasRequiredReflect_getPrototypeOf;
|
|
6398
|
+
|
|
6399
|
+
function requireReflect_getPrototypeOf () {
|
|
6400
|
+
if (hasRequiredReflect_getPrototypeOf) return Reflect_getPrototypeOf;
|
|
6401
|
+
hasRequiredReflect_getPrototypeOf = 1;
|
|
6402
|
+
|
|
6403
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
6404
|
+
Reflect_getPrototypeOf = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
6405
|
+
return Reflect_getPrototypeOf;
|
|
6406
|
+
}
|
|
6407
|
+
|
|
6408
|
+
var esObjectAtoms;
|
|
6409
|
+
var hasRequiredEsObjectAtoms;
|
|
6410
|
+
|
|
6411
|
+
function requireEsObjectAtoms () {
|
|
6412
|
+
if (hasRequiredEsObjectAtoms) return esObjectAtoms;
|
|
6413
|
+
hasRequiredEsObjectAtoms = 1;
|
|
6414
|
+
|
|
6415
|
+
/** @type {import('.')} */
|
|
6416
|
+
esObjectAtoms = Object;
|
|
6417
|
+
return esObjectAtoms;
|
|
6418
|
+
}
|
|
6419
|
+
|
|
6420
|
+
var Object_getPrototypeOf;
|
|
6421
|
+
var hasRequiredObject_getPrototypeOf;
|
|
6422
|
+
|
|
6423
|
+
function requireObject_getPrototypeOf () {
|
|
6424
|
+
if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
|
|
6425
|
+
hasRequiredObject_getPrototypeOf = 1;
|
|
6426
|
+
|
|
6427
|
+
var $Object = /*@__PURE__*/ requireEsObjectAtoms();
|
|
6428
|
+
|
|
6429
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
6430
|
+
Object_getPrototypeOf = $Object.getPrototypeOf || null;
|
|
6431
|
+
return Object_getPrototypeOf;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
var gOPD$2;
|
|
6435
|
+
var hasRequiredGOPD$2;
|
|
6436
|
+
|
|
6437
|
+
function requireGOPD$2 () {
|
|
6438
|
+
if (hasRequiredGOPD$2) return gOPD$2;
|
|
6439
|
+
hasRequiredGOPD$2 = 1;
|
|
6440
|
+
|
|
6441
|
+
/** @type {import('./gOPD')} */
|
|
6442
|
+
gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
6443
|
+
return gOPD$2;
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
var gopd$2;
|
|
6447
|
+
var hasRequiredGopd$2;
|
|
6448
|
+
|
|
6449
|
+
function requireGopd$2 () {
|
|
6450
|
+
if (hasRequiredGopd$2) return gopd$2;
|
|
6451
|
+
hasRequiredGopd$2 = 1;
|
|
6452
|
+
|
|
6453
|
+
/** @type {import('.')} */
|
|
6454
|
+
var $gOPD = /*@__PURE__*/ requireGOPD$2();
|
|
6455
|
+
|
|
6456
|
+
if ($gOPD) {
|
|
6457
|
+
try {
|
|
6458
|
+
$gOPD([], 'length');
|
|
6459
|
+
} catch (e) {
|
|
6460
|
+
// IE 8 has a broken gOPD
|
|
6461
|
+
$gOPD = null;
|
|
6462
|
+
}
|
|
6463
|
+
}
|
|
6464
|
+
|
|
6465
|
+
gopd$2 = $gOPD;
|
|
6466
|
+
return gopd$2;
|
|
6467
|
+
}
|
|
6468
|
+
|
|
6469
|
+
var get;
|
|
6470
|
+
var hasRequiredGet;
|
|
6471
|
+
|
|
6472
|
+
function requireGet () {
|
|
6473
|
+
if (hasRequiredGet) return get;
|
|
6474
|
+
hasRequiredGet = 1;
|
|
6475
|
+
|
|
6476
|
+
var callBind = requireCallBindApplyHelpers();
|
|
6477
|
+
var gOPD = /*@__PURE__*/ requireGopd$2();
|
|
6478
|
+
|
|
6479
|
+
var hasProtoAccessor;
|
|
6480
|
+
try {
|
|
6481
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
5748
6482
|
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
5749
6483
|
} catch (e) {
|
|
5750
6484
|
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
@@ -5814,7 +6548,7 @@ function requireGetIntrinsic$2 () {
|
|
|
5814
6548
|
|
|
5815
6549
|
var undefined$1;
|
|
5816
6550
|
|
|
5817
|
-
var $Object = /*@__PURE__*/ requireEsObjectAtoms$
|
|
6551
|
+
var $Object = /*@__PURE__*/ requireEsObjectAtoms$1();
|
|
5818
6552
|
|
|
5819
6553
|
var $Error = /*@__PURE__*/ requireEsErrors();
|
|
5820
6554
|
var $EvalError = /*@__PURE__*/ require_eval();
|
|
@@ -5842,7 +6576,7 @@ function requireGetIntrinsic$2 () {
|
|
|
5842
6576
|
};
|
|
5843
6577
|
|
|
5844
6578
|
var $gOPD = /*@__PURE__*/ requireGopd$3();
|
|
5845
|
-
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty
|
|
6579
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty();
|
|
5846
6580
|
|
|
5847
6581
|
var throwTypeError = function () {
|
|
5848
6582
|
throw new $TypeError();
|
|
@@ -5864,7 +6598,7 @@ function requireGetIntrinsic$2 () {
|
|
|
5864
6598
|
}())
|
|
5865
6599
|
: throwTypeError;
|
|
5866
6600
|
|
|
5867
|
-
var hasSymbols = requireHasSymbols
|
|
6601
|
+
var hasSymbols = requireHasSymbols()();
|
|
5868
6602
|
|
|
5869
6603
|
var getProto = requireGetProto();
|
|
5870
6604
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
@@ -6158,7 +6892,7 @@ function requireGetIntrinsic$2 () {
|
|
|
6158
6892
|
if (!allowMissing) {
|
|
6159
6893
|
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
6160
6894
|
}
|
|
6161
|
-
return void
|
|
6895
|
+
return void undefined$1;
|
|
6162
6896
|
}
|
|
6163
6897
|
if ($gOPD && (i + 1) >= parts.length) {
|
|
6164
6898
|
var desc = $gOPD(value, part);
|
|
@@ -6227,9 +6961,9 @@ function requireImplementation$2 () {
|
|
|
6227
6961
|
|
|
6228
6962
|
// modified from https://github.com/es-shims/es6-shim
|
|
6229
6963
|
var objectKeys = requireObjectKeys();
|
|
6230
|
-
var hasSymbols = requireShams$
|
|
6964
|
+
var hasSymbols = requireShams$2()();
|
|
6231
6965
|
var callBound = /*@__PURE__*/ requireCallBound$1();
|
|
6232
|
-
var $Object = /*@__PURE__*/ requireEsObjectAtoms
|
|
6966
|
+
var $Object = /*@__PURE__*/ requireEsObjectAtoms();
|
|
6233
6967
|
var $push = callBound('Array.prototype.push');
|
|
6234
6968
|
var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
6235
6969
|
var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;
|
|
@@ -6387,487 +7121,763 @@ function requireObject_assign () {
|
|
|
6387
7121
|
return object_assign;
|
|
6388
7122
|
}
|
|
6389
7123
|
|
|
6390
|
-
var
|
|
6391
|
-
|
|
6392
|
-
var hasRequiredCallBind$3;
|
|
7124
|
+
var getIntrinsic$1;
|
|
7125
|
+
var hasRequiredGetIntrinsic$1;
|
|
6393
7126
|
|
|
6394
|
-
function
|
|
6395
|
-
if (
|
|
6396
|
-
|
|
6397
|
-
(function (module) {
|
|
7127
|
+
function requireGetIntrinsic$1 () {
|
|
7128
|
+
if (hasRequiredGetIntrinsic$1) return getIntrinsic$1;
|
|
7129
|
+
hasRequiredGetIntrinsic$1 = 1;
|
|
6398
7130
|
|
|
6399
|
-
|
|
6400
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$3();
|
|
6401
|
-
var setFunctionLength = /*@__PURE__*/ requireSetFunctionLength();
|
|
7131
|
+
var undefined$1;
|
|
6402
7132
|
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
module.exports = function callBind(originalFunction) {
|
|
6412
|
-
if (typeof originalFunction !== 'function') {
|
|
6413
|
-
throw new $TypeError('a function is required');
|
|
6414
|
-
}
|
|
6415
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
6416
|
-
return setFunctionLength(
|
|
6417
|
-
func,
|
|
6418
|
-
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
6419
|
-
true
|
|
6420
|
-
);
|
|
6421
|
-
};
|
|
6422
|
-
|
|
6423
|
-
var applyBind = function applyBind() {
|
|
6424
|
-
return $reflectApply(bind, $apply, arguments);
|
|
6425
|
-
};
|
|
6426
|
-
|
|
6427
|
-
if ($defineProperty) {
|
|
6428
|
-
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
6429
|
-
} else {
|
|
6430
|
-
module.exports.apply = applyBind;
|
|
6431
|
-
}
|
|
6432
|
-
} (callBind$3));
|
|
6433
|
-
return callBind$3.exports;
|
|
6434
|
-
}
|
|
6435
|
-
|
|
6436
|
-
var callBound;
|
|
6437
|
-
var hasRequiredCallBound;
|
|
6438
|
-
|
|
6439
|
-
function requireCallBound () {
|
|
6440
|
-
if (hasRequiredCallBound) return callBound;
|
|
6441
|
-
hasRequiredCallBound = 1;
|
|
6442
|
-
|
|
6443
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$3();
|
|
6444
|
-
|
|
6445
|
-
var callBind = requireCallBind$3();
|
|
7133
|
+
var $Error = /*@__PURE__*/ requireEsErrors();
|
|
7134
|
+
var $EvalError = /*@__PURE__*/ require_eval();
|
|
7135
|
+
var $RangeError = /*@__PURE__*/ requireRange();
|
|
7136
|
+
var $ReferenceError = /*@__PURE__*/ requireRef();
|
|
7137
|
+
var $SyntaxError = /*@__PURE__*/ requireSyntax();
|
|
7138
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
7139
|
+
var $URIError = /*@__PURE__*/ requireUri();
|
|
6446
7140
|
|
|
6447
|
-
var $
|
|
7141
|
+
var $Function = Function;
|
|
6448
7142
|
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
return
|
|
6453
|
-
}
|
|
6454
|
-
return intrinsic;
|
|
7143
|
+
// eslint-disable-next-line consistent-return
|
|
7144
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
7145
|
+
try {
|
|
7146
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
7147
|
+
} catch (e) {}
|
|
6455
7148
|
};
|
|
6456
|
-
return callBound;
|
|
6457
|
-
}
|
|
6458
|
-
|
|
6459
|
-
var callBind$2 = {exports: {}};
|
|
6460
7149
|
|
|
6461
|
-
var
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$3();
|
|
7150
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
7151
|
+
if ($gOPD) {
|
|
7152
|
+
try {
|
|
7153
|
+
$gOPD({}, '');
|
|
7154
|
+
} catch (e) {
|
|
7155
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
7156
|
+
}
|
|
7157
|
+
}
|
|
6471
7158
|
|
|
6472
|
-
|
|
6473
|
-
|
|
7159
|
+
var throwTypeError = function () {
|
|
7160
|
+
throw new $TypeError();
|
|
7161
|
+
};
|
|
7162
|
+
var ThrowTypeError = $gOPD
|
|
7163
|
+
? (function () {
|
|
7164
|
+
try {
|
|
7165
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
7166
|
+
arguments.callee; // IE 8 does not throw here
|
|
7167
|
+
return throwTypeError;
|
|
7168
|
+
} catch (calleeThrows) {
|
|
7169
|
+
try {
|
|
7170
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
7171
|
+
return $gOPD(arguments, 'callee').get;
|
|
7172
|
+
} catch (gOPDthrows) {
|
|
7173
|
+
return throwTypeError;
|
|
7174
|
+
}
|
|
7175
|
+
}
|
|
7176
|
+
}())
|
|
7177
|
+
: throwTypeError;
|
|
6474
7178
|
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
6478
|
-
return setFunctionLength(
|
|
6479
|
-
func,
|
|
6480
|
-
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
6481
|
-
true
|
|
6482
|
-
);
|
|
6483
|
-
};
|
|
7179
|
+
var hasSymbols = requireHasSymbols$1()();
|
|
7180
|
+
var hasProto = /*@__PURE__*/ requireHasProto()();
|
|
6484
7181
|
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
} (callBind$2));
|
|
6491
|
-
return callBind$2.exports;
|
|
6492
|
-
}
|
|
7182
|
+
var getProto = Object.getPrototypeOf || (
|
|
7183
|
+
hasProto
|
|
7184
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
7185
|
+
: null
|
|
7186
|
+
);
|
|
6493
7187
|
|
|
6494
|
-
var
|
|
6495
|
-
var hasRequiredFunctionsHaveNames;
|
|
7188
|
+
var needsEval = {};
|
|
6496
7189
|
|
|
6497
|
-
|
|
6498
|
-
if (hasRequiredFunctionsHaveNames) return functionsHaveNames_1;
|
|
6499
|
-
hasRequiredFunctionsHaveNames = 1;
|
|
7190
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
6500
7191
|
|
|
6501
|
-
var
|
|
6502
|
-
|
|
7192
|
+
var INTRINSICS = {
|
|
7193
|
+
__proto__: null,
|
|
7194
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
7195
|
+
'%Array%': Array,
|
|
7196
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
7197
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
7198
|
+
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
7199
|
+
'%AsyncFunction%': needsEval,
|
|
7200
|
+
'%AsyncGenerator%': needsEval,
|
|
7201
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
7202
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
7203
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
7204
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
7205
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,
|
|
7206
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,
|
|
7207
|
+
'%Boolean%': Boolean,
|
|
7208
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
7209
|
+
'%Date%': Date,
|
|
7210
|
+
'%decodeURI%': decodeURI,
|
|
7211
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
7212
|
+
'%encodeURI%': encodeURI,
|
|
7213
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
7214
|
+
'%Error%': $Error,
|
|
7215
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
7216
|
+
'%EvalError%': $EvalError,
|
|
7217
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
7218
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
7219
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
7220
|
+
'%Function%': $Function,
|
|
7221
|
+
'%GeneratorFunction%': needsEval,
|
|
7222
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
7223
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
7224
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
7225
|
+
'%isFinite%': isFinite,
|
|
7226
|
+
'%isNaN%': isNaN,
|
|
7227
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
7228
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
7229
|
+
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
7230
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
7231
|
+
'%Math%': Math,
|
|
7232
|
+
'%Number%': Number,
|
|
7233
|
+
'%Object%': Object,
|
|
7234
|
+
'%parseFloat%': parseFloat,
|
|
7235
|
+
'%parseInt%': parseInt,
|
|
7236
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
7237
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
7238
|
+
'%RangeError%': $RangeError,
|
|
7239
|
+
'%ReferenceError%': $ReferenceError,
|
|
7240
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
7241
|
+
'%RegExp%': RegExp,
|
|
7242
|
+
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
7243
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
7244
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
7245
|
+
'%String%': String,
|
|
7246
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
7247
|
+
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
7248
|
+
'%SyntaxError%': $SyntaxError,
|
|
7249
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
7250
|
+
'%TypedArray%': TypedArray,
|
|
7251
|
+
'%TypeError%': $TypeError,
|
|
7252
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
7253
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
7254
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
7255
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
7256
|
+
'%URIError%': $URIError,
|
|
7257
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
7258
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
7259
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
6503
7260
|
};
|
|
6504
7261
|
|
|
6505
|
-
|
|
6506
|
-
if (gOPD) {
|
|
7262
|
+
if (getProto) {
|
|
6507
7263
|
try {
|
|
6508
|
-
|
|
7264
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
6509
7265
|
} catch (e) {
|
|
6510
|
-
//
|
|
6511
|
-
|
|
7266
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
7267
|
+
var errorProto = getProto(getProto(e));
|
|
7268
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
6512
7269
|
}
|
|
6513
7270
|
}
|
|
6514
7271
|
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
7272
|
+
var doEval = function doEval(name) {
|
|
7273
|
+
var value;
|
|
7274
|
+
if (name === '%AsyncFunction%') {
|
|
7275
|
+
value = getEvalledConstructor('async function () {}');
|
|
7276
|
+
} else if (name === '%GeneratorFunction%') {
|
|
7277
|
+
value = getEvalledConstructor('function* () {}');
|
|
7278
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
7279
|
+
value = getEvalledConstructor('async function* () {}');
|
|
7280
|
+
} else if (name === '%AsyncGenerator%') {
|
|
7281
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
7282
|
+
if (fn) {
|
|
7283
|
+
value = fn.prototype;
|
|
7284
|
+
}
|
|
7285
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
7286
|
+
var gen = doEval('%AsyncGenerator%');
|
|
7287
|
+
if (gen && getProto) {
|
|
7288
|
+
value = getProto(gen.prototype);
|
|
7289
|
+
}
|
|
6518
7290
|
}
|
|
6519
|
-
var desc = gOPD(function () {}, 'name');
|
|
6520
|
-
return !!desc && !!desc.configurable;
|
|
6521
|
-
};
|
|
6522
7291
|
|
|
6523
|
-
|
|
7292
|
+
INTRINSICS[name] = value;
|
|
6524
7293
|
|
|
6525
|
-
|
|
6526
|
-
return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';
|
|
7294
|
+
return value;
|
|
6527
7295
|
};
|
|
6528
7296
|
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
7297
|
+
var LEGACY_ALIASES = {
|
|
7298
|
+
__proto__: null,
|
|
7299
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
7300
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
7301
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
7302
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
7303
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
7304
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
7305
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
7306
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
7307
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
7308
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
7309
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
7310
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
7311
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
7312
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
7313
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
7314
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
7315
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
7316
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
7317
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
7318
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
7319
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
7320
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
7321
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
7322
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
7323
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
7324
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
7325
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
7326
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
7327
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
7328
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
7329
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
7330
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
7331
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
7332
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
7333
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
7334
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
7335
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
7336
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
7337
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
7338
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
7339
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
7340
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
7341
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
7342
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
7343
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
7344
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
7345
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
7346
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
7347
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
7348
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
7349
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
7350
|
+
};
|
|
6543
7351
|
|
|
6544
|
-
var
|
|
7352
|
+
var bind = requireFunctionBind();
|
|
7353
|
+
var hasOwn = /*@__PURE__*/ requireHasown();
|
|
7354
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
7355
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
7356
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
7357
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
7358
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
6545
7359
|
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
var
|
|
6552
|
-
if (
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'name', name);
|
|
6557
|
-
}
|
|
7360
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
7361
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
7362
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
7363
|
+
var stringToPath = function stringToPath(string) {
|
|
7364
|
+
var first = $strSlice(string, 0, 1);
|
|
7365
|
+
var last = $strSlice(string, -1);
|
|
7366
|
+
if (first === '%' && last !== '%') {
|
|
7367
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
7368
|
+
} else if (last === '%' && first !== '%') {
|
|
7369
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
6558
7370
|
}
|
|
6559
|
-
|
|
7371
|
+
var result = [];
|
|
7372
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
7373
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
7374
|
+
});
|
|
7375
|
+
return result;
|
|
6560
7376
|
};
|
|
6561
|
-
|
|
6562
|
-
}
|
|
7377
|
+
/* end adaptation */
|
|
6563
7378
|
|
|
6564
|
-
var
|
|
6565
|
-
var
|
|
7379
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
7380
|
+
var intrinsicName = name;
|
|
7381
|
+
var alias;
|
|
7382
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
7383
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
7384
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
7385
|
+
}
|
|
6566
7386
|
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
7387
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
7388
|
+
var value = INTRINSICS[intrinsicName];
|
|
7389
|
+
if (value === needsEval) {
|
|
7390
|
+
value = doEval(intrinsicName);
|
|
7391
|
+
}
|
|
7392
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
7393
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
7394
|
+
}
|
|
6570
7395
|
|
|
6571
|
-
|
|
6572
|
-
|
|
7396
|
+
return {
|
|
7397
|
+
alias: alias,
|
|
7398
|
+
name: intrinsicName,
|
|
7399
|
+
value: value
|
|
7400
|
+
};
|
|
7401
|
+
}
|
|
6573
7402
|
|
|
6574
|
-
|
|
7403
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
7404
|
+
};
|
|
6575
7405
|
|
|
6576
|
-
|
|
6577
|
-
if (
|
|
6578
|
-
throw new $TypeError('
|
|
6579
|
-
}
|
|
6580
|
-
var result = '';
|
|
6581
|
-
if (this.hasIndices) {
|
|
6582
|
-
result += 'd';
|
|
6583
|
-
}
|
|
6584
|
-
if (this.global) {
|
|
6585
|
-
result += 'g';
|
|
6586
|
-
}
|
|
6587
|
-
if (this.ignoreCase) {
|
|
6588
|
-
result += 'i';
|
|
6589
|
-
}
|
|
6590
|
-
if (this.multiline) {
|
|
6591
|
-
result += 'm';
|
|
6592
|
-
}
|
|
6593
|
-
if (this.dotAll) {
|
|
6594
|
-
result += 's';
|
|
6595
|
-
}
|
|
6596
|
-
if (this.unicode) {
|
|
6597
|
-
result += 'u';
|
|
6598
|
-
}
|
|
6599
|
-
if (this.unicodeSets) {
|
|
6600
|
-
result += 'v';
|
|
7406
|
+
getIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
|
|
7407
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
7408
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
6601
7409
|
}
|
|
6602
|
-
if (
|
|
6603
|
-
|
|
7410
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
7411
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
6604
7412
|
}
|
|
6605
|
-
return result;
|
|
6606
|
-
}, 'get flags', true);
|
|
6607
|
-
return implementation$1;
|
|
6608
|
-
}
|
|
6609
7413
|
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
hasRequiredPolyfill$1 = 1;
|
|
7414
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
7415
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
7416
|
+
}
|
|
7417
|
+
var parts = stringToPath(name);
|
|
7418
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
6616
7419
|
|
|
6617
|
-
|
|
7420
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
7421
|
+
var intrinsicRealName = intrinsic.name;
|
|
7422
|
+
var value = intrinsic.value;
|
|
7423
|
+
var skipFurtherCaching = false;
|
|
6618
7424
|
|
|
6619
|
-
|
|
6620
|
-
|
|
7425
|
+
var alias = intrinsic.alias;
|
|
7426
|
+
if (alias) {
|
|
7427
|
+
intrinsicBaseName = alias[0];
|
|
7428
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
7429
|
+
}
|
|
6621
7430
|
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
var
|
|
7431
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
7432
|
+
var part = parts[i];
|
|
7433
|
+
var first = $strSlice(part, 0, 1);
|
|
7434
|
+
var last = $strSlice(part, -1);
|
|
6625
7435
|
if (
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
7436
|
+
(
|
|
7437
|
+
(first === '"' || first === "'" || first === '`')
|
|
7438
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
7439
|
+
)
|
|
7440
|
+
&& first !== last
|
|
6630
7441
|
) {
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
7442
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
7443
|
+
}
|
|
7444
|
+
if (part === 'constructor' || !isOwn) {
|
|
7445
|
+
skipFurtherCaching = true;
|
|
7446
|
+
}
|
|
7447
|
+
|
|
7448
|
+
intrinsicBaseName += '.' + part;
|
|
7449
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
7450
|
+
|
|
7451
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
7452
|
+
value = INTRINSICS[intrinsicRealName];
|
|
7453
|
+
} else if (value != null) {
|
|
7454
|
+
if (!(part in value)) {
|
|
7455
|
+
if (!allowMissing) {
|
|
7456
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
6642
7457
|
}
|
|
6643
|
-
|
|
7458
|
+
return void undefined$1;
|
|
7459
|
+
}
|
|
7460
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
7461
|
+
var desc = $gOPD(value, part);
|
|
7462
|
+
isOwn = !!desc;
|
|
6644
7463
|
|
|
6645
|
-
|
|
7464
|
+
// By convention, when a data property is converted to an accessor
|
|
7465
|
+
// property to emulate a data property that does not suffer from
|
|
7466
|
+
// the override mistake, that accessor's getter is marked with
|
|
7467
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
7468
|
+
// uphold the illusion by pretending to see that original data
|
|
7469
|
+
// property, i.e., returning the value rather than the getter
|
|
7470
|
+
// itself.
|
|
7471
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
7472
|
+
value = desc.get;
|
|
7473
|
+
} else {
|
|
7474
|
+
value = value[part];
|
|
7475
|
+
}
|
|
7476
|
+
} else {
|
|
7477
|
+
isOwn = hasOwn(value, part);
|
|
7478
|
+
value = value[part];
|
|
7479
|
+
}
|
|
6646
7480
|
|
|
6647
|
-
if (
|
|
6648
|
-
|
|
7481
|
+
if (isOwn && !skipFurtherCaching) {
|
|
7482
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
6649
7483
|
}
|
|
6650
7484
|
}
|
|
6651
7485
|
}
|
|
6652
|
-
return
|
|
7486
|
+
return value;
|
|
6653
7487
|
};
|
|
6654
|
-
return
|
|
7488
|
+
return getIntrinsic$1;
|
|
6655
7489
|
}
|
|
6656
7490
|
|
|
6657
|
-
var
|
|
6658
|
-
var hasRequiredGOPD$1;
|
|
7491
|
+
var callBind$3 = {exports: {}};
|
|
6659
7492
|
|
|
6660
|
-
|
|
6661
|
-
if (hasRequiredGOPD$1) return gOPD$1;
|
|
6662
|
-
hasRequiredGOPD$1 = 1;
|
|
7493
|
+
var hasRequiredCallBind$3;
|
|
6663
7494
|
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
7495
|
+
function requireCallBind$3 () {
|
|
7496
|
+
if (hasRequiredCallBind$3) return callBind$3.exports;
|
|
7497
|
+
hasRequiredCallBind$3 = 1;
|
|
7498
|
+
(function (module) {
|
|
6668
7499
|
|
|
6669
|
-
var
|
|
6670
|
-
var
|
|
7500
|
+
var bind = requireFunctionBind();
|
|
7501
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$1();
|
|
7502
|
+
var setFunctionLength = /*@__PURE__*/ requireSetFunctionLength();
|
|
6671
7503
|
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
7504
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
7505
|
+
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
7506
|
+
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
7507
|
+
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
6675
7508
|
|
|
6676
|
-
|
|
6677
|
-
|
|
7509
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
7510
|
+
var $max = GetIntrinsic('%Math.max%');
|
|
6678
7511
|
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
7512
|
+
module.exports = function callBind(originalFunction) {
|
|
7513
|
+
if (typeof originalFunction !== 'function') {
|
|
7514
|
+
throw new $TypeError('a function is required');
|
|
7515
|
+
}
|
|
7516
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
7517
|
+
return setFunctionLength(
|
|
7518
|
+
func,
|
|
7519
|
+
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
7520
|
+
true
|
|
7521
|
+
);
|
|
7522
|
+
};
|
|
6687
7523
|
|
|
6688
|
-
|
|
6689
|
-
|
|
7524
|
+
var applyBind = function applyBind() {
|
|
7525
|
+
return $reflectApply(bind, $apply, arguments);
|
|
7526
|
+
};
|
|
7527
|
+
|
|
7528
|
+
if ($defineProperty) {
|
|
7529
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
7530
|
+
} else {
|
|
7531
|
+
module.exports.apply = applyBind;
|
|
7532
|
+
}
|
|
7533
|
+
} (callBind$3));
|
|
7534
|
+
return callBind$3.exports;
|
|
6690
7535
|
}
|
|
6691
7536
|
|
|
6692
|
-
var
|
|
6693
|
-
var
|
|
7537
|
+
var callBound;
|
|
7538
|
+
var hasRequiredCallBound;
|
|
6694
7539
|
|
|
6695
|
-
function
|
|
6696
|
-
if (
|
|
6697
|
-
|
|
7540
|
+
function requireCallBound () {
|
|
7541
|
+
if (hasRequiredCallBound) return callBound;
|
|
7542
|
+
hasRequiredCallBound = 1;
|
|
6698
7543
|
|
|
6699
|
-
var
|
|
6700
|
-
var getPolyfill = requirePolyfill$1();
|
|
6701
|
-
var gOPD = /*@__PURE__*/ requireGopd$1();
|
|
6702
|
-
var defineProperty = Object.defineProperty;
|
|
6703
|
-
var $TypeError = /*@__PURE__*/ requireEsErrors();
|
|
6704
|
-
var getProto = requireGetProto();
|
|
6705
|
-
var regex = /a/;
|
|
7544
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$1();
|
|
6706
7545
|
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
var
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
defineProperty(proto, 'flags', {
|
|
6716
|
-
configurable: true,
|
|
6717
|
-
enumerable: false,
|
|
6718
|
-
get: polyfill
|
|
6719
|
-
});
|
|
7546
|
+
var callBind = requireCallBind$3();
|
|
7547
|
+
|
|
7548
|
+
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
7549
|
+
|
|
7550
|
+
callBound = function callBoundIntrinsic(name, allowMissing) {
|
|
7551
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
7552
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
7553
|
+
return callBind(intrinsic);
|
|
6720
7554
|
}
|
|
6721
|
-
return
|
|
7555
|
+
return intrinsic;
|
|
6722
7556
|
};
|
|
6723
|
-
return
|
|
7557
|
+
return callBound;
|
|
6724
7558
|
}
|
|
6725
7559
|
|
|
6726
|
-
var
|
|
6727
|
-
var hasRequiredRegexp_prototype_flags;
|
|
6728
|
-
|
|
6729
|
-
function requireRegexp_prototype_flags () {
|
|
6730
|
-
if (hasRequiredRegexp_prototype_flags) return regexp_prototype_flags;
|
|
6731
|
-
hasRequiredRegexp_prototype_flags = 1;
|
|
6732
|
-
|
|
6733
|
-
var define = requireDefineProperties();
|
|
6734
|
-
var callBind = requireCallBind$2();
|
|
7560
|
+
var callBind$2 = {exports: {}};
|
|
6735
7561
|
|
|
6736
|
-
|
|
6737
|
-
var getPolyfill = requirePolyfill$1();
|
|
6738
|
-
var shim = requireShim$1();
|
|
7562
|
+
var hasRequiredCallBind$2;
|
|
6739
7563
|
|
|
6740
|
-
|
|
7564
|
+
function requireCallBind$2 () {
|
|
7565
|
+
if (hasRequiredCallBind$2) return callBind$2.exports;
|
|
7566
|
+
hasRequiredCallBind$2 = 1;
|
|
7567
|
+
(function (module) {
|
|
6741
7568
|
|
|
6742
|
-
|
|
6743
|
-
getPolyfill: getPolyfill,
|
|
6744
|
-
implementation: implementation,
|
|
6745
|
-
shim: shim
|
|
6746
|
-
});
|
|
7569
|
+
var setFunctionLength = /*@__PURE__*/ requireSetFunctionLength();
|
|
6747
7570
|
|
|
6748
|
-
|
|
6749
|
-
return regexp_prototype_flags;
|
|
6750
|
-
}
|
|
7571
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
6751
7572
|
|
|
6752
|
-
var
|
|
6753
|
-
var
|
|
7573
|
+
var callBindBasic = requireCallBindApplyHelpers();
|
|
7574
|
+
var applyBind = requireApplyBind();
|
|
6754
7575
|
|
|
6755
|
-
function
|
|
6756
|
-
|
|
6757
|
-
|
|
7576
|
+
module.exports = function callBind(originalFunction) {
|
|
7577
|
+
var func = callBindBasic(arguments);
|
|
7578
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
7579
|
+
return setFunctionLength(
|
|
7580
|
+
func,
|
|
7581
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
7582
|
+
true
|
|
7583
|
+
);
|
|
7584
|
+
};
|
|
6758
7585
|
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
7586
|
+
if ($defineProperty) {
|
|
7587
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
7588
|
+
} else {
|
|
7589
|
+
module.exports.apply = applyBind;
|
|
7590
|
+
}
|
|
7591
|
+
} (callBind$2));
|
|
7592
|
+
return callBind$2.exports;
|
|
6762
7593
|
}
|
|
6763
7594
|
|
|
6764
|
-
var
|
|
6765
|
-
var
|
|
7595
|
+
var functionsHaveNames_1;
|
|
7596
|
+
var hasRequiredFunctionsHaveNames;
|
|
6766
7597
|
|
|
6767
|
-
function
|
|
6768
|
-
if (
|
|
6769
|
-
|
|
7598
|
+
function requireFunctionsHaveNames () {
|
|
7599
|
+
if (hasRequiredFunctionsHaveNames) return functionsHaveNames_1;
|
|
7600
|
+
hasRequiredFunctionsHaveNames = 1;
|
|
6770
7601
|
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
7602
|
+
var functionsHaveNames = function functionsHaveNames() {
|
|
7603
|
+
return typeof function f() {}.name === 'string';
|
|
7604
|
+
};
|
|
7605
|
+
|
|
7606
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
7607
|
+
if (gOPD) {
|
|
6774
7608
|
try {
|
|
6775
|
-
|
|
7609
|
+
gOPD([], 'length');
|
|
6776
7610
|
} catch (e) {
|
|
6777
|
-
// IE 8 has a broken
|
|
6778
|
-
|
|
7611
|
+
// IE 8 has a broken gOPD
|
|
7612
|
+
gOPD = null;
|
|
6779
7613
|
}
|
|
6780
7614
|
}
|
|
6781
7615
|
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
7616
|
+
functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {
|
|
7617
|
+
if (!functionsHaveNames() || !gOPD) {
|
|
7618
|
+
return false;
|
|
7619
|
+
}
|
|
7620
|
+
var desc = gOPD(function () {}, 'name');
|
|
7621
|
+
return !!desc && !!desc.configurable;
|
|
7622
|
+
};
|
|
6785
7623
|
|
|
6786
|
-
var
|
|
6787
|
-
var hasRequiredShams$2;
|
|
7624
|
+
var $bind = Function.prototype.bind;
|
|
6788
7625
|
|
|
6789
|
-
function
|
|
6790
|
-
|
|
6791
|
-
|
|
7626
|
+
functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {
|
|
7627
|
+
return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';
|
|
7628
|
+
};
|
|
6792
7629
|
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
6797
|
-
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
7630
|
+
functionsHaveNames_1 = functionsHaveNames;
|
|
7631
|
+
return functionsHaveNames_1;
|
|
7632
|
+
}
|
|
6798
7633
|
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
var sym = Symbol('test');
|
|
6802
|
-
var symObj = Object(sym);
|
|
6803
|
-
if (typeof sym === 'string') { return false; }
|
|
7634
|
+
var setFunctionName;
|
|
7635
|
+
var hasRequiredSetFunctionName;
|
|
6804
7636
|
|
|
6805
|
-
|
|
6806
|
-
|
|
7637
|
+
function requireSetFunctionName () {
|
|
7638
|
+
if (hasRequiredSetFunctionName) return setFunctionName;
|
|
7639
|
+
hasRequiredSetFunctionName = 1;
|
|
6807
7640
|
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
7641
|
+
var define = /*@__PURE__*/ requireDefineDataProperty();
|
|
7642
|
+
var hasDescriptors = /*@__PURE__*/ requireHasPropertyDescriptors()();
|
|
7643
|
+
var functionsHaveConfigurableNames = requireFunctionsHaveNames().functionsHaveConfigurableNames();
|
|
6812
7644
|
|
|
6813
|
-
|
|
6814
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
7645
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
6815
7646
|
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
7647
|
+
/** @type {import('.')} */
|
|
7648
|
+
setFunctionName = function setFunctionName(fn, name) {
|
|
7649
|
+
if (typeof fn !== 'function') {
|
|
7650
|
+
throw new $TypeError('`fn` is not a function');
|
|
7651
|
+
}
|
|
7652
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
7653
|
+
if (!loose || functionsHaveConfigurableNames) {
|
|
7654
|
+
if (hasDescriptors) {
|
|
7655
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'name', name, true, true);
|
|
7656
|
+
} else {
|
|
7657
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'name', name);
|
|
7658
|
+
}
|
|
7659
|
+
}
|
|
7660
|
+
return fn;
|
|
7661
|
+
};
|
|
7662
|
+
return setFunctionName;
|
|
7663
|
+
}
|
|
6820
7664
|
|
|
6821
|
-
|
|
7665
|
+
var implementation$1;
|
|
7666
|
+
var hasRequiredImplementation$1;
|
|
6822
7667
|
|
|
6823
|
-
|
|
6824
|
-
|
|
7668
|
+
function requireImplementation$1 () {
|
|
7669
|
+
if (hasRequiredImplementation$1) return implementation$1;
|
|
7670
|
+
hasRequiredImplementation$1 = 1;
|
|
6825
7671
|
|
|
6826
|
-
|
|
7672
|
+
var setFunctionName = requireSetFunctionName();
|
|
7673
|
+
var $TypeError = /*@__PURE__*/ requireType();
|
|
6827
7674
|
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
7675
|
+
var $Object = Object;
|
|
7676
|
+
|
|
7677
|
+
implementation$1 = setFunctionName(function flags() {
|
|
7678
|
+
if (this == null || this !== $Object(this)) {
|
|
7679
|
+
throw new $TypeError('RegExp.prototype.flags getter called on non-object');
|
|
7680
|
+
}
|
|
7681
|
+
var result = '';
|
|
7682
|
+
if (this.hasIndices) {
|
|
7683
|
+
result += 'd';
|
|
7684
|
+
}
|
|
7685
|
+
if (this.global) {
|
|
7686
|
+
result += 'g';
|
|
7687
|
+
}
|
|
7688
|
+
if (this.ignoreCase) {
|
|
7689
|
+
result += 'i';
|
|
7690
|
+
}
|
|
7691
|
+
if (this.multiline) {
|
|
7692
|
+
result += 'm';
|
|
7693
|
+
}
|
|
7694
|
+
if (this.dotAll) {
|
|
7695
|
+
result += 's';
|
|
6832
7696
|
}
|
|
7697
|
+
if (this.unicode) {
|
|
7698
|
+
result += 'u';
|
|
7699
|
+
}
|
|
7700
|
+
if (this.unicodeSets) {
|
|
7701
|
+
result += 'v';
|
|
7702
|
+
}
|
|
7703
|
+
if (this.sticky) {
|
|
7704
|
+
result += 'y';
|
|
7705
|
+
}
|
|
7706
|
+
return result;
|
|
7707
|
+
}, 'get flags', true);
|
|
7708
|
+
return implementation$1;
|
|
7709
|
+
}
|
|
6833
7710
|
|
|
6834
|
-
|
|
7711
|
+
var polyfill$1;
|
|
7712
|
+
var hasRequiredPolyfill$1;
|
|
7713
|
+
|
|
7714
|
+
function requirePolyfill$1 () {
|
|
7715
|
+
if (hasRequiredPolyfill$1) return polyfill$1;
|
|
7716
|
+
hasRequiredPolyfill$1 = 1;
|
|
7717
|
+
|
|
7718
|
+
var implementation = requireImplementation$1();
|
|
7719
|
+
|
|
7720
|
+
var supportsDescriptors = requireDefineProperties().supportsDescriptors;
|
|
7721
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
7722
|
+
|
|
7723
|
+
polyfill$1 = function getPolyfill() {
|
|
7724
|
+
if (supportsDescriptors && (/a/mig).flags === 'gim') {
|
|
7725
|
+
var descriptor = $gOPD(RegExp.prototype, 'flags');
|
|
7726
|
+
if (
|
|
7727
|
+
descriptor
|
|
7728
|
+
&& typeof descriptor.get === 'function'
|
|
7729
|
+
&& 'dotAll' in RegExp.prototype
|
|
7730
|
+
&& 'hasIndices' in RegExp.prototype
|
|
7731
|
+
) {
|
|
7732
|
+
/* eslint getter-return: 0 */
|
|
7733
|
+
var calls = '';
|
|
7734
|
+
var o = {};
|
|
7735
|
+
Object.defineProperty(o, 'hasIndices', {
|
|
7736
|
+
get: function () {
|
|
7737
|
+
calls += 'd';
|
|
7738
|
+
}
|
|
7739
|
+
});
|
|
7740
|
+
Object.defineProperty(o, 'sticky', {
|
|
7741
|
+
get: function () {
|
|
7742
|
+
calls += 'y';
|
|
7743
|
+
}
|
|
7744
|
+
});
|
|
7745
|
+
|
|
7746
|
+
descriptor.get.call(o);
|
|
7747
|
+
|
|
7748
|
+
if (calls === 'dy') {
|
|
7749
|
+
return descriptor.get;
|
|
7750
|
+
}
|
|
7751
|
+
}
|
|
7752
|
+
}
|
|
7753
|
+
return implementation;
|
|
6835
7754
|
};
|
|
6836
|
-
return
|
|
7755
|
+
return polyfill$1;
|
|
6837
7756
|
}
|
|
6838
7757
|
|
|
6839
|
-
var
|
|
6840
|
-
var
|
|
7758
|
+
var gOPD$1;
|
|
7759
|
+
var hasRequiredGOPD$1;
|
|
6841
7760
|
|
|
6842
|
-
function
|
|
6843
|
-
if (
|
|
6844
|
-
|
|
7761
|
+
function requireGOPD$1 () {
|
|
7762
|
+
if (hasRequiredGOPD$1) return gOPD$1;
|
|
7763
|
+
hasRequiredGOPD$1 = 1;
|
|
6845
7764
|
|
|
6846
|
-
|
|
6847
|
-
|
|
7765
|
+
/** @type {import('./gOPD')} */
|
|
7766
|
+
gOPD$1 = Object.getOwnPropertyDescriptor;
|
|
7767
|
+
return gOPD$1;
|
|
7768
|
+
}
|
|
7769
|
+
|
|
7770
|
+
var gopd$1;
|
|
7771
|
+
var hasRequiredGopd$1;
|
|
7772
|
+
|
|
7773
|
+
function requireGopd$1 () {
|
|
7774
|
+
if (hasRequiredGopd$1) return gopd$1;
|
|
7775
|
+
hasRequiredGopd$1 = 1;
|
|
6848
7776
|
|
|
6849
7777
|
/** @type {import('.')} */
|
|
6850
|
-
|
|
6851
|
-
if (typeof origSymbol !== 'function') { return false; }
|
|
6852
|
-
if (typeof Symbol !== 'function') { return false; }
|
|
6853
|
-
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
6854
|
-
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
7778
|
+
var $gOPD = /*@__PURE__*/ requireGOPD$1();
|
|
6855
7779
|
|
|
6856
|
-
|
|
7780
|
+
if ($gOPD) {
|
|
7781
|
+
try {
|
|
7782
|
+
$gOPD([], 'length');
|
|
7783
|
+
} catch (e) {
|
|
7784
|
+
// IE 8 has a broken gOPD
|
|
7785
|
+
$gOPD = null;
|
|
7786
|
+
}
|
|
7787
|
+
}
|
|
7788
|
+
|
|
7789
|
+
gopd$1 = $gOPD;
|
|
7790
|
+
return gopd$1;
|
|
7791
|
+
}
|
|
7792
|
+
|
|
7793
|
+
var shim$1;
|
|
7794
|
+
var hasRequiredShim$1;
|
|
7795
|
+
|
|
7796
|
+
function requireShim$1 () {
|
|
7797
|
+
if (hasRequiredShim$1) return shim$1;
|
|
7798
|
+
hasRequiredShim$1 = 1;
|
|
7799
|
+
|
|
7800
|
+
var supportsDescriptors = requireDefineProperties().supportsDescriptors;
|
|
7801
|
+
var getPolyfill = requirePolyfill$1();
|
|
7802
|
+
var gOPD = /*@__PURE__*/ requireGopd$1();
|
|
7803
|
+
var defineProperty = Object.defineProperty;
|
|
7804
|
+
var $TypeError = /*@__PURE__*/ requireEsErrors();
|
|
7805
|
+
var getProto = requireGetProto();
|
|
7806
|
+
var regex = /a/;
|
|
7807
|
+
|
|
7808
|
+
shim$1 = function shimFlags() {
|
|
7809
|
+
if (!supportsDescriptors || !getProto) {
|
|
7810
|
+
throw new $TypeError('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors');
|
|
7811
|
+
}
|
|
7812
|
+
var polyfill = getPolyfill();
|
|
7813
|
+
var proto = getProto(regex);
|
|
7814
|
+
var descriptor = gOPD(proto, 'flags');
|
|
7815
|
+
if (!descriptor || descriptor.get !== polyfill) {
|
|
7816
|
+
defineProperty(proto, 'flags', {
|
|
7817
|
+
configurable: true,
|
|
7818
|
+
enumerable: false,
|
|
7819
|
+
get: polyfill
|
|
7820
|
+
});
|
|
7821
|
+
}
|
|
7822
|
+
return polyfill;
|
|
6857
7823
|
};
|
|
6858
|
-
return
|
|
7824
|
+
return shim$1;
|
|
6859
7825
|
}
|
|
6860
7826
|
|
|
6861
|
-
var
|
|
6862
|
-
var
|
|
7827
|
+
var regexp_prototype_flags;
|
|
7828
|
+
var hasRequiredRegexp_prototype_flags;
|
|
6863
7829
|
|
|
6864
|
-
function
|
|
6865
|
-
if (
|
|
6866
|
-
|
|
7830
|
+
function requireRegexp_prototype_flags () {
|
|
7831
|
+
if (hasRequiredRegexp_prototype_flags) return regexp_prototype_flags;
|
|
7832
|
+
hasRequiredRegexp_prototype_flags = 1;
|
|
6867
7833
|
|
|
6868
|
-
var
|
|
7834
|
+
var define = requireDefineProperties();
|
|
7835
|
+
var callBind = requireCallBind$2();
|
|
6869
7836
|
|
|
6870
|
-
var
|
|
7837
|
+
var implementation = requireImplementation$1();
|
|
7838
|
+
var getPolyfill = requirePolyfill$1();
|
|
7839
|
+
var shim = requireShim$1();
|
|
7840
|
+
|
|
7841
|
+
var flagsBound = callBind(getPolyfill());
|
|
7842
|
+
|
|
7843
|
+
define(flagsBound, {
|
|
7844
|
+
getPolyfill: getPolyfill,
|
|
7845
|
+
implementation: implementation,
|
|
7846
|
+
shim: shim
|
|
7847
|
+
});
|
|
7848
|
+
|
|
7849
|
+
regexp_prototype_flags = flagsBound;
|
|
7850
|
+
return regexp_prototype_flags;
|
|
7851
|
+
}
|
|
7852
|
+
|
|
7853
|
+
var node;
|
|
7854
|
+
var hasRequiredNode;
|
|
7855
|
+
|
|
7856
|
+
function requireNode () {
|
|
7857
|
+
if (hasRequiredNode) return node;
|
|
7858
|
+
hasRequiredNode = 1;
|
|
7859
|
+
|
|
7860
|
+
// this should only run in node >= 13.2, so it
|
|
7861
|
+
// does not need any of the intense fallbacks that old node/browsers do
|
|
7862
|
+
|
|
7863
|
+
var $iterator = Symbol.iterator;
|
|
7864
|
+
node = function getIterator(iterable) {
|
|
7865
|
+
// alternatively, `iterable[$iterator]?.()`
|
|
7866
|
+
if (iterable != null && typeof iterable[$iterator] !== 'undefined') {
|
|
7867
|
+
return iterable[$iterator]();
|
|
7868
|
+
}
|
|
7869
|
+
};
|
|
7870
|
+
return node;
|
|
7871
|
+
}
|
|
7872
|
+
|
|
7873
|
+
var getIntrinsic;
|
|
7874
|
+
var hasRequiredGetIntrinsic;
|
|
7875
|
+
|
|
7876
|
+
function requireGetIntrinsic () {
|
|
7877
|
+
if (hasRequiredGetIntrinsic) return getIntrinsic;
|
|
7878
|
+
hasRequiredGetIntrinsic = 1;
|
|
7879
|
+
|
|
7880
|
+
var undefined$1;
|
|
6871
7881
|
|
|
6872
7882
|
var $Error = /*@__PURE__*/ requireEsErrors();
|
|
6873
7883
|
var $EvalError = /*@__PURE__*/ require_eval();
|
|
@@ -6877,14 +7887,6 @@ function requireGetIntrinsic$1 () {
|
|
|
6877
7887
|
var $TypeError = /*@__PURE__*/ requireType();
|
|
6878
7888
|
var $URIError = /*@__PURE__*/ requireUri();
|
|
6879
7889
|
|
|
6880
|
-
var abs = /*@__PURE__*/ requireAbs();
|
|
6881
|
-
var floor = /*@__PURE__*/ requireFloor();
|
|
6882
|
-
var max = /*@__PURE__*/ requireMax();
|
|
6883
|
-
var min = /*@__PURE__*/ requireMin();
|
|
6884
|
-
var pow = /*@__PURE__*/ requirePow();
|
|
6885
|
-
var round = /*@__PURE__*/ requireRound();
|
|
6886
|
-
var sign = /*@__PURE__*/ requireSign();
|
|
6887
|
-
|
|
6888
7890
|
var $Function = Function;
|
|
6889
7891
|
|
|
6890
7892
|
// eslint-disable-next-line consistent-return
|
|
@@ -6894,8 +7896,14 @@ function requireGetIntrinsic$1 () {
|
|
|
6894
7896
|
} catch (e) {}
|
|
6895
7897
|
};
|
|
6896
7898
|
|
|
6897
|
-
var $gOPD =
|
|
6898
|
-
|
|
7899
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
7900
|
+
if ($gOPD) {
|
|
7901
|
+
try {
|
|
7902
|
+
$gOPD({}, '');
|
|
7903
|
+
} catch (e) {
|
|
7904
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
7905
|
+
}
|
|
7906
|
+
}
|
|
6899
7907
|
|
|
6900
7908
|
var throwTypeError = function () {
|
|
6901
7909
|
throw new $TypeError();
|
|
@@ -6918,13 +7926,13 @@ function requireGetIntrinsic$1 () {
|
|
|
6918
7926
|
: throwTypeError;
|
|
6919
7927
|
|
|
6920
7928
|
var hasSymbols = requireHasSymbols$1()();
|
|
7929
|
+
var hasProto = /*@__PURE__*/ requireHasProto()();
|
|
6921
7930
|
|
|
6922
|
-
var getProto =
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
var $call = requireFunctionCall();
|
|
7931
|
+
var getProto = Object.getPrototypeOf || (
|
|
7932
|
+
hasProto
|
|
7933
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
7934
|
+
: null
|
|
7935
|
+
);
|
|
6928
7936
|
|
|
6929
7937
|
var needsEval = {};
|
|
6930
7938
|
|
|
@@ -6955,7 +7963,6 @@ function requireGetIntrinsic$1 () {
|
|
|
6955
7963
|
'%Error%': $Error,
|
|
6956
7964
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
6957
7965
|
'%EvalError%': $EvalError,
|
|
6958
|
-
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined$1 : Float16Array,
|
|
6959
7966
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
6960
7967
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
6961
7968
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
@@ -6972,8 +7979,7 @@ function requireGetIntrinsic$1 () {
|
|
|
6972
7979
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
6973
7980
|
'%Math%': Math,
|
|
6974
7981
|
'%Number%': Number,
|
|
6975
|
-
'%Object%':
|
|
6976
|
-
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
7982
|
+
'%Object%': Object,
|
|
6977
7983
|
'%parseFloat%': parseFloat,
|
|
6978
7984
|
'%parseInt%': parseInt,
|
|
6979
7985
|
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
@@ -6999,20 +8005,7 @@ function requireGetIntrinsic$1 () {
|
|
|
6999
8005
|
'%URIError%': $URIError,
|
|
7000
8006
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
7001
8007
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
7002
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
7003
|
-
|
|
7004
|
-
'%Function.prototype.call%': $call,
|
|
7005
|
-
'%Function.prototype.apply%': $apply,
|
|
7006
|
-
'%Object.defineProperty%': $defineProperty,
|
|
7007
|
-
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
7008
|
-
'%Math.abs%': abs,
|
|
7009
|
-
'%Math.floor%': floor,
|
|
7010
|
-
'%Math.max%': max,
|
|
7011
|
-
'%Math.min%': min,
|
|
7012
|
-
'%Math.pow%': pow,
|
|
7013
|
-
'%Math.round%': round,
|
|
7014
|
-
'%Math.sign%': sign,
|
|
7015
|
-
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
8008
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
7016
8009
|
};
|
|
7017
8010
|
|
|
7018
8011
|
if (getProto) {
|
|
@@ -7107,11 +8100,11 @@ function requireGetIntrinsic$1 () {
|
|
|
7107
8100
|
|
|
7108
8101
|
var bind = requireFunctionBind();
|
|
7109
8102
|
var hasOwn = /*@__PURE__*/ requireHasown();
|
|
7110
|
-
var $concat = bind.call(
|
|
7111
|
-
var $spliceApply = bind.call(
|
|
7112
|
-
var $replace = bind.call(
|
|
7113
|
-
var $strSlice = bind.call(
|
|
7114
|
-
var $exec = bind.call(
|
|
8103
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
8104
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
8105
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
8106
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
8107
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
7115
8108
|
|
|
7116
8109
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
7117
8110
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -7159,7 +8152,7 @@ function requireGetIntrinsic$1 () {
|
|
|
7159
8152
|
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
7160
8153
|
};
|
|
7161
8154
|
|
|
7162
|
-
getIntrinsic
|
|
8155
|
+
getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
7163
8156
|
if (typeof name !== 'string' || name.length === 0) {
|
|
7164
8157
|
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
7165
8158
|
}
|
|
@@ -7211,7 +8204,7 @@ function requireGetIntrinsic$1 () {
|
|
|
7211
8204
|
if (!allowMissing) {
|
|
7212
8205
|
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
7213
8206
|
}
|
|
7214
|
-
return void
|
|
8207
|
+
return void undefined$1;
|
|
7215
8208
|
}
|
|
7216
8209
|
if ($gOPD && (i + 1) >= parts.length) {
|
|
7217
8210
|
var desc = $gOPD(value, part);
|
|
@@ -7241,27 +8234,7 @@ function requireGetIntrinsic$1 () {
|
|
|
7241
8234
|
}
|
|
7242
8235
|
return value;
|
|
7243
8236
|
};
|
|
7244
|
-
return getIntrinsic
|
|
7245
|
-
}
|
|
7246
|
-
|
|
7247
|
-
var node;
|
|
7248
|
-
var hasRequiredNode;
|
|
7249
|
-
|
|
7250
|
-
function requireNode () {
|
|
7251
|
-
if (hasRequiredNode) return node;
|
|
7252
|
-
hasRequiredNode = 1;
|
|
7253
|
-
|
|
7254
|
-
// this should only run in node >= 13.2, so it
|
|
7255
|
-
// does not need any of the intense fallbacks that old node/browsers do
|
|
7256
|
-
|
|
7257
|
-
var $iterator = Symbol.iterator;
|
|
7258
|
-
node = function getIterator(iterable) {
|
|
7259
|
-
// alternatively, `iterable[$iterator]?.()`
|
|
7260
|
-
if (iterable != null && typeof iterable[$iterator] !== 'undefined') {
|
|
7261
|
-
return iterable[$iterator]();
|
|
7262
|
-
}
|
|
7263
|
-
};
|
|
7264
|
-
return node;
|
|
8237
|
+
return getIntrinsic;
|
|
7265
8238
|
}
|
|
7266
8239
|
|
|
7267
8240
|
var util_inspect;
|
|
@@ -7817,7 +8790,7 @@ function requireSideChannel () {
|
|
|
7817
8790
|
if (hasRequiredSideChannel) return sideChannel;
|
|
7818
8791
|
hasRequiredSideChannel = 1;
|
|
7819
8792
|
|
|
7820
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic
|
|
8793
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic();
|
|
7821
8794
|
var callBound = requireCallBound();
|
|
7822
8795
|
var inspect = /*@__PURE__*/ requireObjectInspect();
|
|
7823
8796
|
|
|
@@ -8036,20 +9009,20 @@ function requireObjectIs () {
|
|
|
8036
9009
|
return objectIs;
|
|
8037
9010
|
}
|
|
8038
9011
|
|
|
8039
|
-
var shams
|
|
8040
|
-
var hasRequiredShams
|
|
9012
|
+
var shams;
|
|
9013
|
+
var hasRequiredShams;
|
|
8041
9014
|
|
|
8042
|
-
function requireShams
|
|
8043
|
-
if (hasRequiredShams
|
|
8044
|
-
hasRequiredShams
|
|
9015
|
+
function requireShams () {
|
|
9016
|
+
if (hasRequiredShams) return shams;
|
|
9017
|
+
hasRequiredShams = 1;
|
|
8045
9018
|
|
|
8046
|
-
var hasSymbols = requireShams$
|
|
9019
|
+
var hasSymbols = requireShams$3();
|
|
8047
9020
|
|
|
8048
9021
|
/** @type {import('.')} */
|
|
8049
|
-
shams
|
|
9022
|
+
shams = function hasToStringTagShams() {
|
|
8050
9023
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
8051
9024
|
};
|
|
8052
|
-
return shams
|
|
9025
|
+
return shams;
|
|
8053
9026
|
}
|
|
8054
9027
|
|
|
8055
9028
|
var isArguments;
|
|
@@ -8059,7 +9032,7 @@ function requireIsArguments () {
|
|
|
8059
9032
|
if (hasRequiredIsArguments) return isArguments;
|
|
8060
9033
|
hasRequiredIsArguments = 1;
|
|
8061
9034
|
|
|
8062
|
-
var hasToStringTag = requireShams
|
|
9035
|
+
var hasToStringTag = requireShams()();
|
|
8063
9036
|
var callBound = /*@__PURE__*/ requireCallBound$1();
|
|
8064
9037
|
|
|
8065
9038
|
var $toString = callBound('Object.prototype.toString');
|
|
@@ -8129,7 +9102,7 @@ function requireCallBind$1 () {
|
|
|
8129
9102
|
|
|
8130
9103
|
var setFunctionLength = /*@__PURE__*/ requireSetFunctionLength();
|
|
8131
9104
|
|
|
8132
|
-
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$
|
|
9105
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
8133
9106
|
|
|
8134
9107
|
var callBindBasic = requireCallBindApplyHelpers();
|
|
8135
9108
|
var applyBind = requireApplyBind();
|
|
@@ -8162,7 +9135,7 @@ function requireIsArrayBuffer () {
|
|
|
8162
9135
|
|
|
8163
9136
|
var callBind = requireCallBind$1();
|
|
8164
9137
|
var callBound = /*@__PURE__*/ requireCallBound$1();
|
|
8165
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$
|
|
9138
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$2();
|
|
8166
9139
|
|
|
8167
9140
|
var $ArrayBuffer = GetIntrinsic('%ArrayBuffer%', true);
|
|
8168
9141
|
/** @type {undefined | ((receiver: ArrayBuffer) => number) | ((receiver: unknown) => never)} */
|
|
@@ -8227,7 +9200,7 @@ function requireIsDateObject () {
|
|
|
8227
9200
|
/** @type {(value: unknown) => string} */
|
|
8228
9201
|
var toStr = callBound('Object.prototype.toString');
|
|
8229
9202
|
var dateClass = '[object Date]';
|
|
8230
|
-
var hasToStringTag = requireShams
|
|
9203
|
+
var hasToStringTag = requireShams()();
|
|
8231
9204
|
|
|
8232
9205
|
/** @type {import('.')} */
|
|
8233
9206
|
isDateObject = function isDateObject(value) {
|
|
@@ -8247,7 +9220,7 @@ function requireIsRegex () {
|
|
|
8247
9220
|
hasRequiredIsRegex = 1;
|
|
8248
9221
|
|
|
8249
9222
|
var callBound = requireCallBound();
|
|
8250
|
-
var hasToStringTag = requireShams
|
|
9223
|
+
var hasToStringTag = requireShams()();
|
|
8251
9224
|
var has;
|
|
8252
9225
|
var $exec;
|
|
8253
9226
|
var isRegexMarker;
|
|
@@ -8353,7 +9326,7 @@ function requireIsString () {
|
|
|
8353
9326
|
};
|
|
8354
9327
|
var toStr = Object.prototype.toString;
|
|
8355
9328
|
var strClass = '[object String]';
|
|
8356
|
-
var hasToStringTag = requireShams
|
|
9329
|
+
var hasToStringTag = requireShams()();
|
|
8357
9330
|
|
|
8358
9331
|
isString = function isString(value) {
|
|
8359
9332
|
if (typeof value === 'string') {
|
|
@@ -8385,7 +9358,7 @@ function requireIsNumberObject () {
|
|
|
8385
9358
|
};
|
|
8386
9359
|
var toStr = Object.prototype.toString;
|
|
8387
9360
|
var numClass = '[object Number]';
|
|
8388
|
-
var hasToStringTag = requireShams
|
|
9361
|
+
var hasToStringTag = requireShams()();
|
|
8389
9362
|
|
|
8390
9363
|
isNumberObject = function isNumberObject(value) {
|
|
8391
9364
|
if (typeof value === 'number') {
|
|
@@ -8419,7 +9392,7 @@ function requireIsBooleanObject () {
|
|
|
8419
9392
|
}
|
|
8420
9393
|
};
|
|
8421
9394
|
var boolClass = '[object Boolean]';
|
|
8422
|
-
var hasToStringTag = requireShams
|
|
9395
|
+
var hasToStringTag = requireShams()();
|
|
8423
9396
|
|
|
8424
9397
|
isBooleanObject = function isBoolean(value) {
|
|
8425
9398
|
if (typeof value === 'boolean') {
|
|
@@ -8442,7 +9415,7 @@ function requireIsSymbol () {
|
|
|
8442
9415
|
hasRequiredIsSymbol = 1;
|
|
8443
9416
|
|
|
8444
9417
|
var toStr = Object.prototype.toString;
|
|
8445
|
-
var hasSymbols = requireHasSymbols$
|
|
9418
|
+
var hasSymbols = requireHasSymbols$1()();
|
|
8446
9419
|
|
|
8447
9420
|
if (hasSymbols) {
|
|
8448
9421
|
var symToStr = Symbol.prototype.toString;
|
|
@@ -8607,681 +9580,151 @@ function requireIsMap () {
|
|
|
8607
9580
|
if (!exported && !$mapHas) {
|
|
8608
9581
|
/** @type {import('.')} */
|
|
8609
9582
|
// eslint-disable-next-line no-unused-vars
|
|
8610
|
-
exported = function isMap(x) {
|
|
8611
|
-
// `Map` does not have a `has` method
|
|
8612
|
-
return false;
|
|
8613
|
-
};
|
|
8614
|
-
}
|
|
8615
|
-
|
|
8616
|
-
/** @type {import('.')} */
|
|
8617
|
-
isMap = exported || function isMap(x) {
|
|
8618
|
-
if (!x || typeof x !== 'object') {
|
|
8619
|
-
return false;
|
|
8620
|
-
}
|
|
8621
|
-
try {
|
|
8622
|
-
$mapHas.call(x);
|
|
8623
|
-
if ($setHas) {
|
|
8624
|
-
try {
|
|
8625
|
-
$setHas.call(x);
|
|
8626
|
-
} catch (e) {
|
|
8627
|
-
return true;
|
|
8628
|
-
}
|
|
8629
|
-
}
|
|
8630
|
-
// @ts-expect-error TS can't figure out that $Map is always truthy here
|
|
8631
|
-
return x instanceof $Map; // core-js workaround, pre-v2.5.0
|
|
8632
|
-
} catch (e) {}
|
|
8633
|
-
return false;
|
|
8634
|
-
};
|
|
8635
|
-
return isMap;
|
|
8636
|
-
}
|
|
8637
|
-
|
|
8638
|
-
var isSet;
|
|
8639
|
-
var hasRequiredIsSet;
|
|
8640
|
-
|
|
8641
|
-
function requireIsSet () {
|
|
8642
|
-
if (hasRequiredIsSet) return isSet;
|
|
8643
|
-
hasRequiredIsSet = 1;
|
|
8644
|
-
|
|
8645
|
-
var $Map = typeof Map === 'function' && Map.prototype ? Map : null;
|
|
8646
|
-
var $Set = typeof Set === 'function' && Set.prototype ? Set : null;
|
|
8647
|
-
|
|
8648
|
-
var exported;
|
|
8649
|
-
|
|
8650
|
-
if (!$Set) {
|
|
8651
|
-
/** @type {import('.')} */
|
|
8652
|
-
// eslint-disable-next-line no-unused-vars
|
|
8653
|
-
exported = function isSet(x) {
|
|
8654
|
-
// `Set` is not present in this environment.
|
|
8655
|
-
return false;
|
|
8656
|
-
};
|
|
8657
|
-
}
|
|
8658
|
-
|
|
8659
|
-
var $mapHas = $Map ? Map.prototype.has : null;
|
|
8660
|
-
var $setHas = $Set ? Set.prototype.has : null;
|
|
8661
|
-
if (!exported && !$setHas) {
|
|
8662
|
-
/** @type {import('.')} */
|
|
8663
|
-
// eslint-disable-next-line no-unused-vars
|
|
8664
|
-
exported = function isSet(x) {
|
|
8665
|
-
// `Set` does not have a `has` method
|
|
8666
|
-
return false;
|
|
8667
|
-
};
|
|
8668
|
-
}
|
|
8669
|
-
|
|
8670
|
-
/** @type {import('.')} */
|
|
8671
|
-
isSet = exported || function isSet(x) {
|
|
8672
|
-
if (!x || typeof x !== 'object') {
|
|
8673
|
-
return false;
|
|
8674
|
-
}
|
|
8675
|
-
try {
|
|
8676
|
-
$setHas.call(x);
|
|
8677
|
-
if ($mapHas) {
|
|
8678
|
-
try {
|
|
8679
|
-
$mapHas.call(x);
|
|
8680
|
-
} catch (e) {
|
|
8681
|
-
return true;
|
|
8682
|
-
}
|
|
8683
|
-
}
|
|
8684
|
-
// @ts-expect-error TS can't figure out that $Set is always truthy here
|
|
8685
|
-
return x instanceof $Set; // core-js workaround, pre-v2.5.0
|
|
8686
|
-
} catch (e) {}
|
|
8687
|
-
return false;
|
|
8688
|
-
};
|
|
8689
|
-
return isSet;
|
|
8690
|
-
}
|
|
8691
|
-
|
|
8692
|
-
var isWeakmap;
|
|
8693
|
-
var hasRequiredIsWeakmap;
|
|
8694
|
-
|
|
8695
|
-
function requireIsWeakmap () {
|
|
8696
|
-
if (hasRequiredIsWeakmap) return isWeakmap;
|
|
8697
|
-
hasRequiredIsWeakmap = 1;
|
|
8698
|
-
|
|
8699
|
-
var $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;
|
|
8700
|
-
var $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;
|
|
8701
|
-
|
|
8702
|
-
var exported;
|
|
8703
|
-
|
|
8704
|
-
if (!$WeakMap) {
|
|
8705
|
-
/** @type {import('.')} */
|
|
8706
|
-
// eslint-disable-next-line no-unused-vars
|
|
8707
|
-
exported = function isWeakMap(x) {
|
|
8708
|
-
// `WeakMap` is not present in this environment.
|
|
8709
|
-
return false;
|
|
8710
|
-
};
|
|
8711
|
-
}
|
|
8712
|
-
|
|
8713
|
-
var $mapHas = $WeakMap ? $WeakMap.prototype.has : null;
|
|
8714
|
-
var $setHas = $WeakSet ? $WeakSet.prototype.has : null;
|
|
8715
|
-
if (!exported && !$mapHas) {
|
|
8716
|
-
/** @type {import('.')} */
|
|
8717
|
-
// eslint-disable-next-line no-unused-vars
|
|
8718
|
-
exported = function isWeakMap(x) {
|
|
8719
|
-
// `WeakMap` does not have a `has` method
|
|
8720
|
-
return false;
|
|
8721
|
-
};
|
|
8722
|
-
}
|
|
8723
|
-
|
|
8724
|
-
/** @type {import('.')} */
|
|
8725
|
-
isWeakmap = exported || function isWeakMap(x) {
|
|
8726
|
-
if (!x || typeof x !== 'object') {
|
|
8727
|
-
return false;
|
|
8728
|
-
}
|
|
8729
|
-
try {
|
|
8730
|
-
$mapHas.call(x, $mapHas);
|
|
8731
|
-
if ($setHas) {
|
|
8732
|
-
try {
|
|
8733
|
-
$setHas.call(x, $setHas);
|
|
8734
|
-
} catch (e) {
|
|
8735
|
-
return true;
|
|
8736
|
-
}
|
|
8737
|
-
}
|
|
8738
|
-
// @ts-expect-error TS can't figure out that $WeakMap is always truthy here
|
|
8739
|
-
return x instanceof $WeakMap; // core-js workaround, pre-v3
|
|
8740
|
-
} catch (e) {}
|
|
8741
|
-
return false;
|
|
8742
|
-
};
|
|
8743
|
-
return isWeakmap;
|
|
8744
|
-
}
|
|
8745
|
-
|
|
8746
|
-
var isWeakset = {exports: {}};
|
|
8747
|
-
|
|
8748
|
-
var esObjectAtoms;
|
|
8749
|
-
var hasRequiredEsObjectAtoms;
|
|
8750
|
-
|
|
8751
|
-
function requireEsObjectAtoms () {
|
|
8752
|
-
if (hasRequiredEsObjectAtoms) return esObjectAtoms;
|
|
8753
|
-
hasRequiredEsObjectAtoms = 1;
|
|
8754
|
-
|
|
8755
|
-
/** @type {import('.')} */
|
|
8756
|
-
esObjectAtoms = Object;
|
|
8757
|
-
return esObjectAtoms;
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
var gOPD;
|
|
8761
|
-
var hasRequiredGOPD;
|
|
8762
|
-
|
|
8763
|
-
function requireGOPD () {
|
|
8764
|
-
if (hasRequiredGOPD) return gOPD;
|
|
8765
|
-
hasRequiredGOPD = 1;
|
|
8766
|
-
|
|
8767
|
-
/** @type {import('./gOPD')} */
|
|
8768
|
-
gOPD = Object.getOwnPropertyDescriptor;
|
|
8769
|
-
return gOPD;
|
|
8770
|
-
}
|
|
8771
|
-
|
|
8772
|
-
var gopd;
|
|
8773
|
-
var hasRequiredGopd;
|
|
8774
|
-
|
|
8775
|
-
function requireGopd () {
|
|
8776
|
-
if (hasRequiredGopd) return gopd;
|
|
8777
|
-
hasRequiredGopd = 1;
|
|
8778
|
-
|
|
8779
|
-
/** @type {import('.')} */
|
|
8780
|
-
var $gOPD = /*@__PURE__*/ requireGOPD();
|
|
8781
|
-
|
|
8782
|
-
if ($gOPD) {
|
|
8783
|
-
try {
|
|
8784
|
-
$gOPD([], 'length');
|
|
8785
|
-
} catch (e) {
|
|
8786
|
-
// IE 8 has a broken gOPD
|
|
8787
|
-
$gOPD = null;
|
|
8788
|
-
}
|
|
8789
|
-
}
|
|
8790
|
-
|
|
8791
|
-
gopd = $gOPD;
|
|
8792
|
-
return gopd;
|
|
8793
|
-
}
|
|
8794
|
-
|
|
8795
|
-
var esDefineProperty;
|
|
8796
|
-
var hasRequiredEsDefineProperty;
|
|
8797
|
-
|
|
8798
|
-
function requireEsDefineProperty () {
|
|
8799
|
-
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
8800
|
-
hasRequiredEsDefineProperty = 1;
|
|
8801
|
-
|
|
8802
|
-
/** @type {import('.')} */
|
|
8803
|
-
var $defineProperty = Object.defineProperty || false;
|
|
8804
|
-
if ($defineProperty) {
|
|
8805
|
-
try {
|
|
8806
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
8807
|
-
} catch (e) {
|
|
8808
|
-
// IE 8 has a broken defineProperty
|
|
8809
|
-
$defineProperty = false;
|
|
8810
|
-
}
|
|
8811
|
-
}
|
|
8812
|
-
|
|
8813
|
-
esDefineProperty = $defineProperty;
|
|
8814
|
-
return esDefineProperty;
|
|
8815
|
-
}
|
|
8816
|
-
|
|
8817
|
-
var shams;
|
|
8818
|
-
var hasRequiredShams;
|
|
8819
|
-
|
|
8820
|
-
function requireShams () {
|
|
8821
|
-
if (hasRequiredShams) return shams;
|
|
8822
|
-
hasRequiredShams = 1;
|
|
8823
|
-
|
|
8824
|
-
/** @type {import('./shams')} */
|
|
8825
|
-
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
8826
|
-
shams = function hasSymbols() {
|
|
8827
|
-
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
8828
|
-
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
8829
|
-
|
|
8830
|
-
/** @type {{ [k in symbol]?: unknown }} */
|
|
8831
|
-
var obj = {};
|
|
8832
|
-
var sym = Symbol('test');
|
|
8833
|
-
var symObj = Object(sym);
|
|
8834
|
-
if (typeof sym === 'string') { return false; }
|
|
8835
|
-
|
|
8836
|
-
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
8837
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
8838
|
-
|
|
8839
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
8840
|
-
// if (sym instanceof Symbol) { return false; }
|
|
8841
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
8842
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
8843
|
-
|
|
8844
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
8845
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
8846
|
-
|
|
8847
|
-
var symVal = 42;
|
|
8848
|
-
obj[sym] = symVal;
|
|
8849
|
-
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
8850
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
8851
|
-
|
|
8852
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
8853
|
-
|
|
8854
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
8855
|
-
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
8856
|
-
|
|
8857
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
8858
|
-
|
|
8859
|
-
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
8860
|
-
// eslint-disable-next-line no-extra-parens
|
|
8861
|
-
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
8862
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
8863
|
-
}
|
|
8864
|
-
|
|
8865
|
-
return true;
|
|
8866
|
-
};
|
|
8867
|
-
return shams;
|
|
8868
|
-
}
|
|
8869
|
-
|
|
8870
|
-
var hasSymbols;
|
|
8871
|
-
var hasRequiredHasSymbols;
|
|
8872
|
-
|
|
8873
|
-
function requireHasSymbols () {
|
|
8874
|
-
if (hasRequiredHasSymbols) return hasSymbols;
|
|
8875
|
-
hasRequiredHasSymbols = 1;
|
|
8876
|
-
|
|
8877
|
-
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
8878
|
-
var hasSymbolSham = requireShams();
|
|
8879
|
-
|
|
8880
|
-
/** @type {import('.')} */
|
|
8881
|
-
hasSymbols = function hasNativeSymbols() {
|
|
8882
|
-
if (typeof origSymbol !== 'function') { return false; }
|
|
8883
|
-
if (typeof Symbol !== 'function') { return false; }
|
|
8884
|
-
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
8885
|
-
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
8886
|
-
|
|
8887
|
-
return hasSymbolSham();
|
|
8888
|
-
};
|
|
8889
|
-
return hasSymbols;
|
|
8890
|
-
}
|
|
8891
|
-
|
|
8892
|
-
var getIntrinsic;
|
|
8893
|
-
var hasRequiredGetIntrinsic;
|
|
8894
|
-
|
|
8895
|
-
function requireGetIntrinsic () {
|
|
8896
|
-
if (hasRequiredGetIntrinsic) return getIntrinsic;
|
|
8897
|
-
hasRequiredGetIntrinsic = 1;
|
|
8898
|
-
|
|
8899
|
-
var undefined$1;
|
|
8900
|
-
|
|
8901
|
-
var $Object = /*@__PURE__*/ requireEsObjectAtoms();
|
|
8902
|
-
|
|
8903
|
-
var $Error = /*@__PURE__*/ requireEsErrors();
|
|
8904
|
-
var $EvalError = /*@__PURE__*/ require_eval();
|
|
8905
|
-
var $RangeError = /*@__PURE__*/ requireRange();
|
|
8906
|
-
var $ReferenceError = /*@__PURE__*/ requireRef();
|
|
8907
|
-
var $SyntaxError = /*@__PURE__*/ requireSyntax();
|
|
8908
|
-
var $TypeError = /*@__PURE__*/ requireType();
|
|
8909
|
-
var $URIError = /*@__PURE__*/ requireUri();
|
|
8910
|
-
|
|
8911
|
-
var abs = /*@__PURE__*/ requireAbs();
|
|
8912
|
-
var floor = /*@__PURE__*/ requireFloor();
|
|
8913
|
-
var max = /*@__PURE__*/ requireMax();
|
|
8914
|
-
var min = /*@__PURE__*/ requireMin();
|
|
8915
|
-
var pow = /*@__PURE__*/ requirePow();
|
|
8916
|
-
var round = /*@__PURE__*/ requireRound();
|
|
8917
|
-
var sign = /*@__PURE__*/ requireSign();
|
|
8918
|
-
|
|
8919
|
-
var $Function = Function;
|
|
8920
|
-
|
|
8921
|
-
// eslint-disable-next-line consistent-return
|
|
8922
|
-
var getEvalledConstructor = function (expressionSyntax) {
|
|
8923
|
-
try {
|
|
8924
|
-
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
8925
|
-
} catch (e) {}
|
|
8926
|
-
};
|
|
8927
|
-
|
|
8928
|
-
var $gOPD = /*@__PURE__*/ requireGopd();
|
|
8929
|
-
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty();
|
|
8930
|
-
|
|
8931
|
-
var throwTypeError = function () {
|
|
8932
|
-
throw new $TypeError();
|
|
8933
|
-
};
|
|
8934
|
-
var ThrowTypeError = $gOPD
|
|
8935
|
-
? (function () {
|
|
8936
|
-
try {
|
|
8937
|
-
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
8938
|
-
arguments.callee; // IE 8 does not throw here
|
|
8939
|
-
return throwTypeError;
|
|
8940
|
-
} catch (calleeThrows) {
|
|
8941
|
-
try {
|
|
8942
|
-
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
8943
|
-
return $gOPD(arguments, 'callee').get;
|
|
8944
|
-
} catch (gOPDthrows) {
|
|
8945
|
-
return throwTypeError;
|
|
8946
|
-
}
|
|
8947
|
-
}
|
|
8948
|
-
}())
|
|
8949
|
-
: throwTypeError;
|
|
8950
|
-
|
|
8951
|
-
var hasSymbols = requireHasSymbols()();
|
|
8952
|
-
|
|
8953
|
-
var getProto = requireGetProto();
|
|
8954
|
-
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
8955
|
-
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
8956
|
-
|
|
8957
|
-
var $apply = requireFunctionApply();
|
|
8958
|
-
var $call = requireFunctionCall();
|
|
8959
|
-
|
|
8960
|
-
var needsEval = {};
|
|
8961
|
-
|
|
8962
|
-
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
8963
|
-
|
|
8964
|
-
var INTRINSICS = {
|
|
8965
|
-
__proto__: null,
|
|
8966
|
-
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
8967
|
-
'%Array%': Array,
|
|
8968
|
-
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
8969
|
-
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
8970
|
-
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
8971
|
-
'%AsyncFunction%': needsEval,
|
|
8972
|
-
'%AsyncGenerator%': needsEval,
|
|
8973
|
-
'%AsyncGeneratorFunction%': needsEval,
|
|
8974
|
-
'%AsyncIteratorPrototype%': needsEval,
|
|
8975
|
-
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
8976
|
-
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
8977
|
-
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,
|
|
8978
|
-
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,
|
|
8979
|
-
'%Boolean%': Boolean,
|
|
8980
|
-
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
8981
|
-
'%Date%': Date,
|
|
8982
|
-
'%decodeURI%': decodeURI,
|
|
8983
|
-
'%decodeURIComponent%': decodeURIComponent,
|
|
8984
|
-
'%encodeURI%': encodeURI,
|
|
8985
|
-
'%encodeURIComponent%': encodeURIComponent,
|
|
8986
|
-
'%Error%': $Error,
|
|
8987
|
-
'%eval%': eval, // eslint-disable-line no-eval
|
|
8988
|
-
'%EvalError%': $EvalError,
|
|
8989
|
-
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined$1 : Float16Array,
|
|
8990
|
-
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
8991
|
-
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
8992
|
-
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
8993
|
-
'%Function%': $Function,
|
|
8994
|
-
'%GeneratorFunction%': needsEval,
|
|
8995
|
-
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
8996
|
-
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
8997
|
-
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
8998
|
-
'%isFinite%': isFinite,
|
|
8999
|
-
'%isNaN%': isNaN,
|
|
9000
|
-
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
9001
|
-
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
9002
|
-
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
9003
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
9004
|
-
'%Math%': Math,
|
|
9005
|
-
'%Number%': Number,
|
|
9006
|
-
'%Object%': $Object,
|
|
9007
|
-
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
9008
|
-
'%parseFloat%': parseFloat,
|
|
9009
|
-
'%parseInt%': parseInt,
|
|
9010
|
-
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
9011
|
-
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
9012
|
-
'%RangeError%': $RangeError,
|
|
9013
|
-
'%ReferenceError%': $ReferenceError,
|
|
9014
|
-
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
9015
|
-
'%RegExp%': RegExp,
|
|
9016
|
-
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
9017
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
9018
|
-
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
9019
|
-
'%String%': String,
|
|
9020
|
-
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
9021
|
-
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
9022
|
-
'%SyntaxError%': $SyntaxError,
|
|
9023
|
-
'%ThrowTypeError%': ThrowTypeError,
|
|
9024
|
-
'%TypedArray%': TypedArray,
|
|
9025
|
-
'%TypeError%': $TypeError,
|
|
9026
|
-
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
9027
|
-
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
9028
|
-
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
9029
|
-
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
9030
|
-
'%URIError%': $URIError,
|
|
9031
|
-
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
9032
|
-
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
9033
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
|
|
9034
|
-
|
|
9035
|
-
'%Function.prototype.call%': $call,
|
|
9036
|
-
'%Function.prototype.apply%': $apply,
|
|
9037
|
-
'%Object.defineProperty%': $defineProperty,
|
|
9038
|
-
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
9039
|
-
'%Math.abs%': abs,
|
|
9040
|
-
'%Math.floor%': floor,
|
|
9041
|
-
'%Math.max%': max,
|
|
9042
|
-
'%Math.min%': min,
|
|
9043
|
-
'%Math.pow%': pow,
|
|
9044
|
-
'%Math.round%': round,
|
|
9045
|
-
'%Math.sign%': sign,
|
|
9046
|
-
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
9047
|
-
};
|
|
9048
|
-
|
|
9049
|
-
if (getProto) {
|
|
9050
|
-
try {
|
|
9051
|
-
null.error; // eslint-disable-line no-unused-expressions
|
|
9052
|
-
} catch (e) {
|
|
9053
|
-
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
9054
|
-
var errorProto = getProto(getProto(e));
|
|
9055
|
-
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
9056
|
-
}
|
|
9057
|
-
}
|
|
9058
|
-
|
|
9059
|
-
var doEval = function doEval(name) {
|
|
9060
|
-
var value;
|
|
9061
|
-
if (name === '%AsyncFunction%') {
|
|
9062
|
-
value = getEvalledConstructor('async function () {}');
|
|
9063
|
-
} else if (name === '%GeneratorFunction%') {
|
|
9064
|
-
value = getEvalledConstructor('function* () {}');
|
|
9065
|
-
} else if (name === '%AsyncGeneratorFunction%') {
|
|
9066
|
-
value = getEvalledConstructor('async function* () {}');
|
|
9067
|
-
} else if (name === '%AsyncGenerator%') {
|
|
9068
|
-
var fn = doEval('%AsyncGeneratorFunction%');
|
|
9069
|
-
if (fn) {
|
|
9070
|
-
value = fn.prototype;
|
|
9071
|
-
}
|
|
9072
|
-
} else if (name === '%AsyncIteratorPrototype%') {
|
|
9073
|
-
var gen = doEval('%AsyncGenerator%');
|
|
9074
|
-
if (gen && getProto) {
|
|
9075
|
-
value = getProto(gen.prototype);
|
|
9076
|
-
}
|
|
9077
|
-
}
|
|
9078
|
-
|
|
9079
|
-
INTRINSICS[name] = value;
|
|
9080
|
-
|
|
9081
|
-
return value;
|
|
9082
|
-
};
|
|
9083
|
-
|
|
9084
|
-
var LEGACY_ALIASES = {
|
|
9085
|
-
__proto__: null,
|
|
9086
|
-
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
9087
|
-
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
9088
|
-
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
9089
|
-
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
9090
|
-
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
9091
|
-
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
9092
|
-
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
9093
|
-
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
9094
|
-
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
9095
|
-
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
9096
|
-
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
9097
|
-
'%DatePrototype%': ['Date', 'prototype'],
|
|
9098
|
-
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
9099
|
-
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
9100
|
-
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
9101
|
-
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
9102
|
-
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
9103
|
-
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
9104
|
-
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
9105
|
-
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
9106
|
-
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
9107
|
-
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
9108
|
-
'%JSONParse%': ['JSON', 'parse'],
|
|
9109
|
-
'%JSONStringify%': ['JSON', 'stringify'],
|
|
9110
|
-
'%MapPrototype%': ['Map', 'prototype'],
|
|
9111
|
-
'%NumberPrototype%': ['Number', 'prototype'],
|
|
9112
|
-
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
9113
|
-
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
9114
|
-
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
9115
|
-
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
9116
|
-
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
9117
|
-
'%Promise_all%': ['Promise', 'all'],
|
|
9118
|
-
'%Promise_reject%': ['Promise', 'reject'],
|
|
9119
|
-
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
9120
|
-
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
9121
|
-
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
9122
|
-
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
9123
|
-
'%SetPrototype%': ['Set', 'prototype'],
|
|
9124
|
-
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
9125
|
-
'%StringPrototype%': ['String', 'prototype'],
|
|
9126
|
-
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
9127
|
-
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
9128
|
-
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
9129
|
-
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
9130
|
-
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
9131
|
-
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
9132
|
-
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
9133
|
-
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
9134
|
-
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
9135
|
-
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
9136
|
-
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
9137
|
-
};
|
|
9138
|
-
|
|
9139
|
-
var bind = requireFunctionBind();
|
|
9140
|
-
var hasOwn = /*@__PURE__*/ requireHasown();
|
|
9141
|
-
var $concat = bind.call($call, Array.prototype.concat);
|
|
9142
|
-
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
9143
|
-
var $replace = bind.call($call, String.prototype.replace);
|
|
9144
|
-
var $strSlice = bind.call($call, String.prototype.slice);
|
|
9145
|
-
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
9146
|
-
|
|
9147
|
-
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
9148
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
9149
|
-
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
9150
|
-
var stringToPath = function stringToPath(string) {
|
|
9151
|
-
var first = $strSlice(string, 0, 1);
|
|
9152
|
-
var last = $strSlice(string, -1);
|
|
9153
|
-
if (first === '%' && last !== '%') {
|
|
9154
|
-
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
9155
|
-
} else if (last === '%' && first !== '%') {
|
|
9156
|
-
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
9583
|
+
exported = function isMap(x) {
|
|
9584
|
+
// `Map` does not have a `has` method
|
|
9585
|
+
return false;
|
|
9586
|
+
};
|
|
9587
|
+
}
|
|
9588
|
+
|
|
9589
|
+
/** @type {import('.')} */
|
|
9590
|
+
isMap = exported || function isMap(x) {
|
|
9591
|
+
if (!x || typeof x !== 'object') {
|
|
9592
|
+
return false;
|
|
9157
9593
|
}
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9594
|
+
try {
|
|
9595
|
+
$mapHas.call(x);
|
|
9596
|
+
if ($setHas) {
|
|
9597
|
+
try {
|
|
9598
|
+
$setHas.call(x);
|
|
9599
|
+
} catch (e) {
|
|
9600
|
+
return true;
|
|
9601
|
+
}
|
|
9602
|
+
}
|
|
9603
|
+
// @ts-expect-error TS can't figure out that $Map is always truthy here
|
|
9604
|
+
return x instanceof $Map; // core-js workaround, pre-v2.5.0
|
|
9605
|
+
} catch (e) {}
|
|
9606
|
+
return false;
|
|
9163
9607
|
};
|
|
9164
|
-
|
|
9608
|
+
return isMap;
|
|
9609
|
+
}
|
|
9165
9610
|
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
var alias;
|
|
9169
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
9170
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
9171
|
-
intrinsicName = '%' + alias[0] + '%';
|
|
9172
|
-
}
|
|
9611
|
+
var isSet;
|
|
9612
|
+
var hasRequiredIsSet;
|
|
9173
9613
|
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
value = doEval(intrinsicName);
|
|
9178
|
-
}
|
|
9179
|
-
if (typeof value === 'undefined' && !allowMissing) {
|
|
9180
|
-
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
9181
|
-
}
|
|
9614
|
+
function requireIsSet () {
|
|
9615
|
+
if (hasRequiredIsSet) return isSet;
|
|
9616
|
+
hasRequiredIsSet = 1;
|
|
9182
9617
|
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
name: intrinsicName,
|
|
9186
|
-
value: value
|
|
9187
|
-
};
|
|
9188
|
-
}
|
|
9618
|
+
var $Map = typeof Map === 'function' && Map.prototype ? Map : null;
|
|
9619
|
+
var $Set = typeof Set === 'function' && Set.prototype ? Set : null;
|
|
9189
9620
|
|
|
9190
|
-
|
|
9191
|
-
};
|
|
9621
|
+
var exported;
|
|
9192
9622
|
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
}
|
|
9623
|
+
if (!$Set) {
|
|
9624
|
+
/** @type {import('.')} */
|
|
9625
|
+
// eslint-disable-next-line no-unused-vars
|
|
9626
|
+
exported = function isSet(x) {
|
|
9627
|
+
// `Set` is not present in this environment.
|
|
9628
|
+
return false;
|
|
9629
|
+
};
|
|
9630
|
+
}
|
|
9200
9631
|
|
|
9201
|
-
|
|
9202
|
-
|
|
9632
|
+
var $mapHas = $Map ? Map.prototype.has : null;
|
|
9633
|
+
var $setHas = $Set ? Set.prototype.has : null;
|
|
9634
|
+
if (!exported && !$setHas) {
|
|
9635
|
+
/** @type {import('.')} */
|
|
9636
|
+
// eslint-disable-next-line no-unused-vars
|
|
9637
|
+
exported = function isSet(x) {
|
|
9638
|
+
// `Set` does not have a `has` method
|
|
9639
|
+
return false;
|
|
9640
|
+
};
|
|
9641
|
+
}
|
|
9642
|
+
|
|
9643
|
+
/** @type {import('.')} */
|
|
9644
|
+
isSet = exported || function isSet(x) {
|
|
9645
|
+
if (!x || typeof x !== 'object') {
|
|
9646
|
+
return false;
|
|
9203
9647
|
}
|
|
9204
|
-
|
|
9205
|
-
|
|
9648
|
+
try {
|
|
9649
|
+
$setHas.call(x);
|
|
9650
|
+
if ($mapHas) {
|
|
9651
|
+
try {
|
|
9652
|
+
$mapHas.call(x);
|
|
9653
|
+
} catch (e) {
|
|
9654
|
+
return true;
|
|
9655
|
+
}
|
|
9656
|
+
}
|
|
9657
|
+
// @ts-expect-error TS can't figure out that $Set is always truthy here
|
|
9658
|
+
return x instanceof $Set; // core-js workaround, pre-v2.5.0
|
|
9659
|
+
} catch (e) {}
|
|
9660
|
+
return false;
|
|
9661
|
+
};
|
|
9662
|
+
return isSet;
|
|
9663
|
+
}
|
|
9206
9664
|
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
var value = intrinsic.value;
|
|
9210
|
-
var skipFurtherCaching = false;
|
|
9665
|
+
var isWeakmap;
|
|
9666
|
+
var hasRequiredIsWeakmap;
|
|
9211
9667
|
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
9216
|
-
}
|
|
9668
|
+
function requireIsWeakmap () {
|
|
9669
|
+
if (hasRequiredIsWeakmap) return isWeakmap;
|
|
9670
|
+
hasRequiredIsWeakmap = 1;
|
|
9217
9671
|
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
var first = $strSlice(part, 0, 1);
|
|
9221
|
-
var last = $strSlice(part, -1);
|
|
9222
|
-
if (
|
|
9223
|
-
(
|
|
9224
|
-
(first === '"' || first === "'" || first === '`')
|
|
9225
|
-
|| (last === '"' || last === "'" || last === '`')
|
|
9226
|
-
)
|
|
9227
|
-
&& first !== last
|
|
9228
|
-
) {
|
|
9229
|
-
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
9230
|
-
}
|
|
9231
|
-
if (part === 'constructor' || !isOwn) {
|
|
9232
|
-
skipFurtherCaching = true;
|
|
9233
|
-
}
|
|
9672
|
+
var $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;
|
|
9673
|
+
var $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;
|
|
9234
9674
|
|
|
9235
|
-
|
|
9236
|
-
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
9675
|
+
var exported;
|
|
9237
9676
|
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
}
|
|
9247
|
-
if ($gOPD && (i + 1) >= parts.length) {
|
|
9248
|
-
var desc = $gOPD(value, part);
|
|
9249
|
-
isOwn = !!desc;
|
|
9677
|
+
if (!$WeakMap) {
|
|
9678
|
+
/** @type {import('.')} */
|
|
9679
|
+
// eslint-disable-next-line no-unused-vars
|
|
9680
|
+
exported = function isWeakMap(x) {
|
|
9681
|
+
// `WeakMap` is not present in this environment.
|
|
9682
|
+
return false;
|
|
9683
|
+
};
|
|
9684
|
+
}
|
|
9250
9685
|
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
value = value[part];
|
|
9262
|
-
}
|
|
9263
|
-
} else {
|
|
9264
|
-
isOwn = hasOwn(value, part);
|
|
9265
|
-
value = value[part];
|
|
9266
|
-
}
|
|
9686
|
+
var $mapHas = $WeakMap ? $WeakMap.prototype.has : null;
|
|
9687
|
+
var $setHas = $WeakSet ? $WeakSet.prototype.has : null;
|
|
9688
|
+
if (!exported && !$mapHas) {
|
|
9689
|
+
/** @type {import('.')} */
|
|
9690
|
+
// eslint-disable-next-line no-unused-vars
|
|
9691
|
+
exported = function isWeakMap(x) {
|
|
9692
|
+
// `WeakMap` does not have a `has` method
|
|
9693
|
+
return false;
|
|
9694
|
+
};
|
|
9695
|
+
}
|
|
9267
9696
|
|
|
9268
|
-
|
|
9269
|
-
|
|
9697
|
+
/** @type {import('.')} */
|
|
9698
|
+
isWeakmap = exported || function isWeakMap(x) {
|
|
9699
|
+
if (!x || typeof x !== 'object') {
|
|
9700
|
+
return false;
|
|
9701
|
+
}
|
|
9702
|
+
try {
|
|
9703
|
+
$mapHas.call(x, $mapHas);
|
|
9704
|
+
if ($setHas) {
|
|
9705
|
+
try {
|
|
9706
|
+
$setHas.call(x, $setHas);
|
|
9707
|
+
} catch (e) {
|
|
9708
|
+
return true;
|
|
9270
9709
|
}
|
|
9271
9710
|
}
|
|
9272
|
-
|
|
9273
|
-
|
|
9711
|
+
// @ts-expect-error TS can't figure out that $WeakMap is always truthy here
|
|
9712
|
+
return x instanceof $WeakMap; // core-js workaround, pre-v3
|
|
9713
|
+
} catch (e) {}
|
|
9714
|
+
return false;
|
|
9274
9715
|
};
|
|
9275
|
-
return
|
|
9716
|
+
return isWeakmap;
|
|
9276
9717
|
}
|
|
9277
9718
|
|
|
9719
|
+
var isWeakset = {exports: {}};
|
|
9720
|
+
|
|
9278
9721
|
var hasRequiredIsWeakset;
|
|
9279
9722
|
|
|
9280
9723
|
function requireIsWeakset () {
|
|
9281
9724
|
if (hasRequiredIsWeakset) return isWeakset.exports;
|
|
9282
9725
|
hasRequiredIsWeakset = 1;
|
|
9283
9726
|
|
|
9284
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic();
|
|
9727
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$2();
|
|
9285
9728
|
var callBound = /*@__PURE__*/ requireCallBound$1();
|
|
9286
9729
|
|
|
9287
9730
|
var $WeakSet = GetIntrinsic('%WeakSet%', true);
|
|
@@ -9604,7 +10047,7 @@ function requireCallBind () {
|
|
|
9604
10047
|
|
|
9605
10048
|
var setFunctionLength = /*@__PURE__*/ requireSetFunctionLength();
|
|
9606
10049
|
|
|
9607
|
-
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$
|
|
10050
|
+
var $defineProperty = /*@__PURE__*/ requireEsDefineProperty$1();
|
|
9608
10051
|
|
|
9609
10052
|
var callBindBasic = requireCallBindApplyHelpers();
|
|
9610
10053
|
var applyBind = requireApplyBind();
|
|
@@ -9628,6 +10071,41 @@ function requireCallBind () {
|
|
|
9628
10071
|
return callBind.exports;
|
|
9629
10072
|
}
|
|
9630
10073
|
|
|
10074
|
+
var gOPD;
|
|
10075
|
+
var hasRequiredGOPD;
|
|
10076
|
+
|
|
10077
|
+
function requireGOPD () {
|
|
10078
|
+
if (hasRequiredGOPD) return gOPD;
|
|
10079
|
+
hasRequiredGOPD = 1;
|
|
10080
|
+
|
|
10081
|
+
/** @type {import('./gOPD')} */
|
|
10082
|
+
gOPD = Object.getOwnPropertyDescriptor;
|
|
10083
|
+
return gOPD;
|
|
10084
|
+
}
|
|
10085
|
+
|
|
10086
|
+
var gopd;
|
|
10087
|
+
var hasRequiredGopd;
|
|
10088
|
+
|
|
10089
|
+
function requireGopd () {
|
|
10090
|
+
if (hasRequiredGopd) return gopd;
|
|
10091
|
+
hasRequiredGopd = 1;
|
|
10092
|
+
|
|
10093
|
+
/** @type {import('.')} */
|
|
10094
|
+
var $gOPD = /*@__PURE__*/ requireGOPD();
|
|
10095
|
+
|
|
10096
|
+
if ($gOPD) {
|
|
10097
|
+
try {
|
|
10098
|
+
$gOPD([], 'length');
|
|
10099
|
+
} catch (e) {
|
|
10100
|
+
// IE 8 has a broken gOPD
|
|
10101
|
+
$gOPD = null;
|
|
10102
|
+
}
|
|
10103
|
+
}
|
|
10104
|
+
|
|
10105
|
+
gopd = $gOPD;
|
|
10106
|
+
return gopd;
|
|
10107
|
+
}
|
|
10108
|
+
|
|
9631
10109
|
var whichTypedArray;
|
|
9632
10110
|
var hasRequiredWhichTypedArray;
|
|
9633
10111
|
|
|
@@ -9639,11 +10117,11 @@ function requireWhichTypedArray () {
|
|
|
9639
10117
|
var availableTypedArrays = /*@__PURE__*/ requireAvailableTypedArrays();
|
|
9640
10118
|
var callBind = requireCallBind();
|
|
9641
10119
|
var callBound = /*@__PURE__*/ requireCallBound$1();
|
|
9642
|
-
var gOPD = /*@__PURE__*/ requireGopd
|
|
10120
|
+
var gOPD = /*@__PURE__*/ requireGopd();
|
|
9643
10121
|
var getProto = requireGetProto();
|
|
9644
10122
|
|
|
9645
10123
|
var $toString = callBound('Object.prototype.toString');
|
|
9646
|
-
var hasToStringTag = requireShams
|
|
10124
|
+
var hasToStringTag = requireShams()();
|
|
9647
10125
|
|
|
9648
10126
|
var g = typeof globalThis === 'undefined' ? commonjsGlobal : globalThis;
|
|
9649
10127
|
var typedArrays = availableTypedArrays();
|
|
@@ -9785,7 +10263,7 @@ function requireDeepEqual () {
|
|
|
9785
10263
|
var assign = requireObject_assign();
|
|
9786
10264
|
var callBound = requireCallBound();
|
|
9787
10265
|
var flags = requireRegexp_prototype_flags();
|
|
9788
|
-
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$
|
|
10266
|
+
var GetIntrinsic = /*@__PURE__*/ requireGetIntrinsic$2();
|
|
9789
10267
|
var getIterator = requireNode();
|
|
9790
10268
|
var getSideChannel = requireSideChannel();
|
|
9791
10269
|
var is = requireObjectIs();
|