@bolttech/molecules-dropdown 0.28.2 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +293 -305
- package/package.json +8 -8
package/index.cjs
CHANGED
|
@@ -38,30 +38,30 @@ var functionBindNative = !fails$g(function () {
|
|
|
38
38
|
var NATIVE_BIND$2 = functionBindNative;
|
|
39
39
|
|
|
40
40
|
var FunctionPrototype$2 = Function.prototype;
|
|
41
|
-
var call$
|
|
42
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
41
|
+
var call$c = FunctionPrototype$2.call;
|
|
42
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$c, call$c);
|
|
43
43
|
|
|
44
44
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
45
45
|
return function () {
|
|
46
|
-
return call$
|
|
46
|
+
return call$c.apply(fn, arguments);
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
var uncurryThis$
|
|
50
|
+
var uncurryThis$f = functionUncurryThis;
|
|
51
51
|
|
|
52
|
-
var toString$7 = uncurryThis$
|
|
53
|
-
var stringSlice$5 = uncurryThis$
|
|
52
|
+
var toString$7 = uncurryThis$f({}.toString);
|
|
53
|
+
var stringSlice$5 = uncurryThis$f(''.slice);
|
|
54
54
|
|
|
55
|
-
var classofRaw$
|
|
55
|
+
var classofRaw$1 = function (it) {
|
|
56
56
|
return stringSlice$5(toString$7(it), 8, -1);
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
var uncurryThis$
|
|
59
|
+
var uncurryThis$e = functionUncurryThis;
|
|
60
60
|
var fails$f = fails$h;
|
|
61
|
-
var classof$3 = classofRaw$
|
|
61
|
+
var classof$3 = classofRaw$1;
|
|
62
62
|
|
|
63
63
|
var $Object$4 = Object;
|
|
64
|
-
var split = uncurryThis$
|
|
64
|
+
var split = uncurryThis$e(''.split);
|
|
65
65
|
|
|
66
66
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
67
67
|
var indexedObject = fails$f(function () {
|
|
@@ -84,17 +84,17 @@ var $TypeError$7 = TypeError;
|
|
|
84
84
|
|
|
85
85
|
// `RequireObjectCoercible` abstract operation
|
|
86
86
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
87
|
-
var requireObjectCoercible$
|
|
87
|
+
var requireObjectCoercible$7 = function (it) {
|
|
88
88
|
if (isNullOrUndefined$3(it)) throw new $TypeError$7("Can't call method on " + it);
|
|
89
89
|
return it;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
// toObject with fallback for non-array-like ES3 strings
|
|
93
93
|
var IndexedObject$1 = indexedObject;
|
|
94
|
-
var requireObjectCoercible$
|
|
94
|
+
var requireObjectCoercible$6 = requireObjectCoercible$7;
|
|
95
95
|
|
|
96
96
|
var toIndexedObject$5 = function (it) {
|
|
97
|
-
return IndexedObject$1(requireObjectCoercible$
|
|
97
|
+
return IndexedObject$1(requireObjectCoercible$6(it));
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
var check = function (it) {
|
|
@@ -102,65 +102,66 @@ var check = function (it) {
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
105
|
-
var
|
|
105
|
+
var globalThis_1 =
|
|
106
106
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
107
107
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
108
108
|
check(typeof window == 'object' && window) ||
|
|
109
109
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
110
110
|
check(typeof self == 'object' && self) ||
|
|
111
111
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
112
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
112
113
|
// eslint-disable-next-line no-new-func -- fallback
|
|
113
|
-
(function () { return this; })() ||
|
|
114
|
+
(function () { return this; })() || Function('return this')();
|
|
114
115
|
|
|
115
|
-
var
|
|
116
|
+
var sharedStore = {exports: {}};
|
|
116
117
|
|
|
117
|
-
var
|
|
118
|
+
var globalThis$f = globalThis_1;
|
|
118
119
|
|
|
119
120
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
120
121
|
var defineProperty$5 = Object.defineProperty;
|
|
121
122
|
|
|
122
123
|
var defineGlobalProperty$3 = function (key, value) {
|
|
123
124
|
try {
|
|
124
|
-
defineProperty$5(
|
|
125
|
+
defineProperty$5(globalThis$f, key, { value: value, configurable: true, writable: true });
|
|
125
126
|
} catch (error) {
|
|
126
|
-
|
|
127
|
+
globalThis$f[key] = value;
|
|
127
128
|
} return value;
|
|
128
129
|
};
|
|
129
130
|
|
|
130
|
-
var
|
|
131
|
+
var globalThis$e = globalThis_1;
|
|
131
132
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
132
133
|
|
|
133
134
|
var SHARED = '__core-js_shared__';
|
|
134
|
-
var store$3 =
|
|
135
|
+
var store$3 = sharedStore.exports = globalThis$e[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
135
136
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
var store$2 = sharedStore;
|
|
139
|
-
|
|
140
|
-
(shared$4.exports = function (key, value) {
|
|
141
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
142
|
-
})('versions', []).push({
|
|
143
|
-
version: '3.33.2',
|
|
137
|
+
(store$3.versions || (store$3.versions = [])).push({
|
|
138
|
+
version: '3.38.1',
|
|
144
139
|
mode: 'global',
|
|
145
|
-
copyright: '© 2014-
|
|
146
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
140
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
141
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
|
|
147
142
|
source: 'https://github.com/zloirock/core-js'
|
|
148
143
|
});
|
|
149
144
|
|
|
150
|
-
var
|
|
145
|
+
var store$2 = sharedStore.exports;
|
|
146
|
+
|
|
147
|
+
var shared$4 = function (key, value) {
|
|
148
|
+
return store$2[key] || (store$2[key] = value || {});
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
var requireObjectCoercible$5 = requireObjectCoercible$7;
|
|
151
152
|
|
|
152
153
|
var $Object$3 = Object;
|
|
153
154
|
|
|
154
155
|
// `ToObject` abstract operation
|
|
155
156
|
// https://tc39.es/ecma262/#sec-toobject
|
|
156
157
|
var toObject$4 = function (argument) {
|
|
157
|
-
return $Object$3(requireObjectCoercible$
|
|
158
|
+
return $Object$3(requireObjectCoercible$5(argument));
|
|
158
159
|
};
|
|
159
160
|
|
|
160
|
-
var uncurryThis$
|
|
161
|
+
var uncurryThis$d = functionUncurryThis;
|
|
161
162
|
var toObject$3 = toObject$4;
|
|
162
163
|
|
|
163
|
-
var hasOwnProperty = uncurryThis$
|
|
164
|
+
var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
|
|
164
165
|
|
|
165
166
|
// `HasOwnProperty` abstract operation
|
|
166
167
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -169,23 +170,28 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
169
170
|
return hasOwnProperty(toObject$3(it), key);
|
|
170
171
|
};
|
|
171
172
|
|
|
172
|
-
var uncurryThis$
|
|
173
|
+
var uncurryThis$c = functionUncurryThis;
|
|
173
174
|
|
|
174
175
|
var id = 0;
|
|
175
176
|
var postfix = Math.random();
|
|
176
|
-
var toString$6 = uncurryThis$
|
|
177
|
+
var toString$6 = uncurryThis$c(1.0.toString);
|
|
177
178
|
|
|
178
179
|
var uid$2 = function (key) {
|
|
179
180
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
|
|
180
181
|
};
|
|
181
182
|
|
|
182
|
-
var
|
|
183
|
+
var globalThis$d = globalThis_1;
|
|
183
184
|
|
|
184
|
-
var
|
|
185
|
-
var userAgent =
|
|
185
|
+
var navigator = globalThis$d.navigator;
|
|
186
|
+
var userAgent$1 = navigator && navigator.userAgent;
|
|
186
187
|
|
|
187
|
-
var
|
|
188
|
-
|
|
188
|
+
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
189
|
+
|
|
190
|
+
var globalThis$c = globalThis_1;
|
|
191
|
+
var userAgent = environmentUserAgent;
|
|
192
|
+
|
|
193
|
+
var process = globalThis$c.process;
|
|
194
|
+
var Deno = globalThis$c.Deno;
|
|
189
195
|
var versions = process && process.versions || Deno && Deno.version;
|
|
190
196
|
var v8 = versions && versions.v8;
|
|
191
197
|
var match, version;
|
|
@@ -207,14 +213,14 @@ if (!version && userAgent) {
|
|
|
207
213
|
}
|
|
208
214
|
}
|
|
209
215
|
|
|
210
|
-
var
|
|
216
|
+
var environmentV8Version = version;
|
|
211
217
|
|
|
212
218
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
213
|
-
var V8_VERSION =
|
|
219
|
+
var V8_VERSION = environmentV8Version;
|
|
214
220
|
var fails$e = fails$h;
|
|
215
|
-
var
|
|
221
|
+
var globalThis$b = globalThis_1;
|
|
216
222
|
|
|
217
|
-
var $String$5 =
|
|
223
|
+
var $String$5 = globalThis$b.String;
|
|
218
224
|
|
|
219
225
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
220
226
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
|
|
@@ -235,14 +241,14 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
235
241
|
&& !Symbol.sham
|
|
236
242
|
&& typeof Symbol.iterator == 'symbol';
|
|
237
243
|
|
|
238
|
-
var
|
|
239
|
-
var shared$3 = shared$4
|
|
244
|
+
var globalThis$a = globalThis_1;
|
|
245
|
+
var shared$3 = shared$4;
|
|
240
246
|
var hasOwn$8 = hasOwnProperty_1;
|
|
241
247
|
var uid$1 = uid$2;
|
|
242
248
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
243
249
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
244
250
|
|
|
245
|
-
var Symbol$1 =
|
|
251
|
+
var Symbol$1 = globalThis$a.Symbol;
|
|
246
252
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
247
253
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
248
254
|
|
|
@@ -254,48 +260,32 @@ var wellKnownSymbol$a = function (name) {
|
|
|
254
260
|
} return WellKnownSymbolsStore[name];
|
|
255
261
|
};
|
|
256
262
|
|
|
257
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
258
|
-
|
|
259
263
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
260
|
-
|
|
261
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
262
|
-
|
|
263
|
-
var documentAll_1 = {
|
|
264
|
-
all: documentAll$2,
|
|
265
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
var $documentAll$1 = documentAll_1;
|
|
269
|
-
|
|
270
|
-
var documentAll$1 = $documentAll$1.all;
|
|
264
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
271
265
|
|
|
272
266
|
// `IsCallable` abstract operation
|
|
273
267
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
274
|
-
|
|
275
|
-
|
|
268
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
269
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
270
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
276
271
|
} : function (argument) {
|
|
277
272
|
return typeof argument == 'function';
|
|
278
273
|
};
|
|
279
274
|
|
|
280
|
-
var isCallable$
|
|
281
|
-
var $documentAll = documentAll_1;
|
|
275
|
+
var isCallable$f = isCallable$g;
|
|
282
276
|
|
|
283
|
-
var
|
|
284
|
-
|
|
285
|
-
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
286
|
-
return typeof it == 'object' ? it !== null : isCallable$g(it) || it === documentAll;
|
|
287
|
-
} : function (it) {
|
|
288
|
-
return typeof it == 'object' ? it !== null : isCallable$g(it);
|
|
277
|
+
var isObject$8 = function (it) {
|
|
278
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
289
279
|
};
|
|
290
280
|
|
|
291
|
-
var isObject$
|
|
281
|
+
var isObject$7 = isObject$8;
|
|
292
282
|
|
|
293
283
|
var $String$4 = String;
|
|
294
284
|
var $TypeError$6 = TypeError;
|
|
295
285
|
|
|
296
286
|
// `Assert: Type(argument) is Object`
|
|
297
|
-
var anObject$
|
|
298
|
-
if (isObject$
|
|
287
|
+
var anObject$8 = function (argument) {
|
|
288
|
+
if (isObject$7(argument)) return argument;
|
|
299
289
|
throw new $TypeError$6($String$4(argument) + ' is not an object');
|
|
300
290
|
};
|
|
301
291
|
|
|
@@ -324,12 +314,12 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$c(function () {
|
|
|
324
314
|
|
|
325
315
|
var objectDefineProperty = {};
|
|
326
316
|
|
|
327
|
-
var
|
|
328
|
-
var isObject$
|
|
317
|
+
var globalThis$9 = globalThis_1;
|
|
318
|
+
var isObject$6 = isObject$8;
|
|
329
319
|
|
|
330
|
-
var document$1 =
|
|
320
|
+
var document$1 = globalThis$9.document;
|
|
331
321
|
// typeof document.createElement is 'object' in old IE
|
|
332
|
-
var EXISTS$1 = isObject$
|
|
322
|
+
var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
|
|
333
323
|
|
|
334
324
|
var documentCreateElement$2 = function (it) {
|
|
335
325
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
@@ -349,29 +339,29 @@ var ie8DomDefine = !DESCRIPTORS$8 && !fails$b(function () {
|
|
|
349
339
|
|
|
350
340
|
var NATIVE_BIND$1 = functionBindNative;
|
|
351
341
|
|
|
352
|
-
var call$
|
|
342
|
+
var call$b = Function.prototype.call;
|
|
353
343
|
|
|
354
|
-
var functionCall = NATIVE_BIND$1 ? call$
|
|
355
|
-
return call$
|
|
344
|
+
var functionCall = NATIVE_BIND$1 ? call$b.bind(call$b) : function () {
|
|
345
|
+
return call$b.apply(call$b, arguments);
|
|
356
346
|
};
|
|
357
347
|
|
|
358
|
-
var
|
|
359
|
-
var isCallable$
|
|
348
|
+
var globalThis$8 = globalThis_1;
|
|
349
|
+
var isCallable$e = isCallable$g;
|
|
360
350
|
|
|
361
351
|
var aFunction = function (argument) {
|
|
362
|
-
return isCallable$
|
|
352
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
363
353
|
};
|
|
364
354
|
|
|
365
355
|
var getBuiltIn$3 = function (namespace, method) {
|
|
366
|
-
return arguments.length < 2 ? aFunction(
|
|
356
|
+
return arguments.length < 2 ? aFunction(globalThis$8[namespace]) : globalThis$8[namespace] && globalThis$8[namespace][method];
|
|
367
357
|
};
|
|
368
358
|
|
|
369
|
-
var uncurryThis$
|
|
359
|
+
var uncurryThis$b = functionUncurryThis;
|
|
370
360
|
|
|
371
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
361
|
+
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
372
362
|
|
|
373
363
|
var getBuiltIn$2 = getBuiltIn$3;
|
|
374
|
-
var isCallable$
|
|
364
|
+
var isCallable$d = isCallable$g;
|
|
375
365
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
376
366
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
377
367
|
|
|
@@ -381,7 +371,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
381
371
|
return typeof it == 'symbol';
|
|
382
372
|
} : function (it) {
|
|
383
373
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
384
|
-
return isCallable$
|
|
374
|
+
return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
|
385
375
|
};
|
|
386
376
|
|
|
387
377
|
var $String$3 = String;
|
|
@@ -394,14 +384,14 @@ var tryToString$1 = function (argument) {
|
|
|
394
384
|
}
|
|
395
385
|
};
|
|
396
386
|
|
|
397
|
-
var isCallable$
|
|
387
|
+
var isCallable$c = isCallable$g;
|
|
398
388
|
var tryToString = tryToString$1;
|
|
399
389
|
|
|
400
390
|
var $TypeError$5 = TypeError;
|
|
401
391
|
|
|
402
392
|
// `Assert: IsCallable(argument) is true`
|
|
403
393
|
var aCallable$2 = function (argument) {
|
|
404
|
-
if (isCallable$
|
|
394
|
+
if (isCallable$c(argument)) return argument;
|
|
405
395
|
throw new $TypeError$5(tryToString(argument) + ' is not a function');
|
|
406
396
|
};
|
|
407
397
|
|
|
@@ -415,9 +405,9 @@ var getMethod$3 = function (V, P) {
|
|
|
415
405
|
return isNullOrUndefined$2(func) ? undefined : aCallable$1(func);
|
|
416
406
|
};
|
|
417
407
|
|
|
418
|
-
var call$
|
|
419
|
-
var isCallable$
|
|
420
|
-
var isObject$
|
|
408
|
+
var call$a = functionCall;
|
|
409
|
+
var isCallable$b = isCallable$g;
|
|
410
|
+
var isObject$5 = isObject$8;
|
|
421
411
|
|
|
422
412
|
var $TypeError$4 = TypeError;
|
|
423
413
|
|
|
@@ -425,14 +415,14 @@ var $TypeError$4 = TypeError;
|
|
|
425
415
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
426
416
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
427
417
|
var fn, val;
|
|
428
|
-
if (pref === 'string' && isCallable$
|
|
429
|
-
if (isCallable$
|
|
430
|
-
if (pref !== 'string' && isCallable$
|
|
418
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
|
|
419
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$a(fn, input))) return val;
|
|
420
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
|
|
431
421
|
throw new $TypeError$4("Can't convert object to primitive value");
|
|
432
422
|
};
|
|
433
423
|
|
|
434
|
-
var call$
|
|
435
|
-
var isObject$
|
|
424
|
+
var call$9 = functionCall;
|
|
425
|
+
var isObject$4 = isObject$8;
|
|
436
426
|
var isSymbol$1 = isSymbol$2;
|
|
437
427
|
var getMethod$2 = getMethod$3;
|
|
438
428
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -444,13 +434,13 @@ var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
|
|
|
444
434
|
// `ToPrimitive` abstract operation
|
|
445
435
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
446
436
|
var toPrimitive$1 = function (input, pref) {
|
|
447
|
-
if (!isObject$
|
|
437
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
448
438
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
449
439
|
var result;
|
|
450
440
|
if (exoticToPrim) {
|
|
451
441
|
if (pref === undefined) pref = 'default';
|
|
452
|
-
result = call$
|
|
453
|
-
if (!isObject$
|
|
442
|
+
result = call$9(exoticToPrim, input, pref);
|
|
443
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
454
444
|
throw new $TypeError$3("Can't convert object to primitive value");
|
|
455
445
|
}
|
|
456
446
|
if (pref === undefined) pref = 'number';
|
|
@@ -470,7 +460,7 @@ var toPropertyKey$2 = function (argument) {
|
|
|
470
460
|
var DESCRIPTORS$7 = descriptors;
|
|
471
461
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
472
462
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
473
|
-
var anObject$
|
|
463
|
+
var anObject$7 = anObject$8;
|
|
474
464
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
475
465
|
|
|
476
466
|
var $TypeError$2 = TypeError;
|
|
@@ -485,9 +475,9 @@ var WRITABLE = 'writable';
|
|
|
485
475
|
// `Object.defineProperty` method
|
|
486
476
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
487
477
|
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
488
|
-
anObject$
|
|
478
|
+
anObject$7(O);
|
|
489
479
|
P = toPropertyKey$1(P);
|
|
490
|
-
anObject$
|
|
480
|
+
anObject$7(Attributes);
|
|
491
481
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
492
482
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
493
483
|
if (current && current[WRITABLE]) {
|
|
@@ -500,9 +490,9 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
500
490
|
}
|
|
501
491
|
} return $defineProperty(O, P, Attributes);
|
|
502
492
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
503
|
-
anObject$
|
|
493
|
+
anObject$7(O);
|
|
504
494
|
P = toPropertyKey$1(P);
|
|
505
|
-
anObject$
|
|
495
|
+
anObject$7(Attributes);
|
|
506
496
|
if (IE8_DOM_DEFINE$1) try {
|
|
507
497
|
return $defineProperty(O, P, Attributes);
|
|
508
498
|
} catch (error) { /* empty */ }
|
|
@@ -552,7 +542,8 @@ var min$1 = Math.min;
|
|
|
552
542
|
// `ToLength` abstract operation
|
|
553
543
|
// https://tc39.es/ecma262/#sec-tolength
|
|
554
544
|
var toLength$2 = function (argument) {
|
|
555
|
-
|
|
545
|
+
var len = toIntegerOrInfinity$2(argument);
|
|
546
|
+
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
556
547
|
};
|
|
557
548
|
|
|
558
549
|
var toLength$1 = toLength$2;
|
|
@@ -572,6 +563,7 @@ var createMethod$2 = function (IS_INCLUDES) {
|
|
|
572
563
|
return function ($this, el, fromIndex) {
|
|
573
564
|
var O = toIndexedObject$4($this);
|
|
574
565
|
var length = lengthOfArrayLike(O);
|
|
566
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
575
567
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
576
568
|
var value;
|
|
577
569
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -598,13 +590,13 @@ var arrayIncludes = {
|
|
|
598
590
|
|
|
599
591
|
var hiddenKeys$4 = {};
|
|
600
592
|
|
|
601
|
-
var uncurryThis$
|
|
593
|
+
var uncurryThis$a = functionUncurryThis;
|
|
602
594
|
var hasOwn$7 = hasOwnProperty_1;
|
|
603
595
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
604
596
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
605
597
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
606
598
|
|
|
607
|
-
var push$1 = uncurryThis$
|
|
599
|
+
var push$1 = uncurryThis$a([].push);
|
|
608
600
|
|
|
609
601
|
var objectKeysInternal = function (object, names) {
|
|
610
602
|
var O = toIndexedObject$3(object);
|
|
@@ -643,7 +635,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
643
635
|
var DESCRIPTORS$6 = descriptors;
|
|
644
636
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
645
637
|
var definePropertyModule$3 = objectDefineProperty;
|
|
646
|
-
var anObject$
|
|
638
|
+
var anObject$6 = anObject$8;
|
|
647
639
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
648
640
|
var objectKeys$1 = objectKeys$2;
|
|
649
641
|
|
|
@@ -651,7 +643,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
651
643
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
652
644
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
653
645
|
objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
654
|
-
anObject$
|
|
646
|
+
anObject$6(O);
|
|
655
647
|
var props = toIndexedObject$2(Properties);
|
|
656
648
|
var keys = objectKeys$1(Properties);
|
|
657
649
|
var length = keys.length;
|
|
@@ -665,7 +657,7 @@ var getBuiltIn$1 = getBuiltIn$3;
|
|
|
665
657
|
|
|
666
658
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
667
659
|
|
|
668
|
-
var shared$2 = shared$4
|
|
660
|
+
var shared$2 = shared$4;
|
|
669
661
|
var uid = uid$2;
|
|
670
662
|
|
|
671
663
|
var keys = shared$2('keys');
|
|
@@ -675,7 +667,7 @@ var sharedKey$3 = function (key) {
|
|
|
675
667
|
};
|
|
676
668
|
|
|
677
669
|
/* global ActiveXObject -- old IE, WSH */
|
|
678
|
-
var anObject$
|
|
670
|
+
var anObject$5 = anObject$8;
|
|
679
671
|
var definePropertiesModule = objectDefineProperties;
|
|
680
672
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
681
673
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -700,7 +692,8 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
700
692
|
activeXDocument.write(scriptTag(''));
|
|
701
693
|
activeXDocument.close();
|
|
702
694
|
var temp = activeXDocument.parentWindow.Object;
|
|
703
|
-
|
|
695
|
+
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
|
696
|
+
activeXDocument = null;
|
|
704
697
|
return temp;
|
|
705
698
|
};
|
|
706
699
|
|
|
@@ -749,7 +742,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
749
742
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
750
743
|
var result;
|
|
751
744
|
if (O !== null) {
|
|
752
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
745
|
+
EmptyConstructor[PROTOTYPE] = anObject$5(O);
|
|
753
746
|
result = new EmptyConstructor();
|
|
754
747
|
EmptyConstructor[PROTOTYPE] = null;
|
|
755
748
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -781,12 +774,12 @@ var addToUnscopables$1 = function (key) {
|
|
|
781
774
|
|
|
782
775
|
var iterators = {};
|
|
783
776
|
|
|
784
|
-
var
|
|
785
|
-
var isCallable$
|
|
777
|
+
var globalThis$7 = globalThis_1;
|
|
778
|
+
var isCallable$a = isCallable$g;
|
|
786
779
|
|
|
787
|
-
var WeakMap$1 =
|
|
780
|
+
var WeakMap$1 = globalThis$7.WeakMap;
|
|
788
781
|
|
|
789
|
-
var weakMapBasicDetection = isCallable$
|
|
782
|
+
var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
790
783
|
|
|
791
784
|
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
792
785
|
return {
|
|
@@ -809,17 +802,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
809
802
|
};
|
|
810
803
|
|
|
811
804
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
812
|
-
var
|
|
813
|
-
var isObject$
|
|
805
|
+
var globalThis$6 = globalThis_1;
|
|
806
|
+
var isObject$3 = isObject$8;
|
|
814
807
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
815
808
|
var hasOwn$6 = hasOwnProperty_1;
|
|
816
|
-
var shared$1 = sharedStore;
|
|
809
|
+
var shared$1 = sharedStore.exports;
|
|
817
810
|
var sharedKey$1 = sharedKey$3;
|
|
818
811
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
819
812
|
|
|
820
813
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
821
|
-
var TypeError$1 =
|
|
822
|
-
var WeakMap =
|
|
814
|
+
var TypeError$1 = globalThis$6.TypeError;
|
|
815
|
+
var WeakMap = globalThis$6.WeakMap;
|
|
823
816
|
var set, get, has;
|
|
824
817
|
|
|
825
818
|
var enforce = function (it) {
|
|
@@ -829,7 +822,7 @@ var enforce = function (it) {
|
|
|
829
822
|
var getterFor = function (TYPE) {
|
|
830
823
|
return function (it) {
|
|
831
824
|
var state;
|
|
832
|
-
if (!isObject$
|
|
825
|
+
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
|
833
826
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
834
827
|
} return state;
|
|
835
828
|
};
|
|
@@ -898,7 +891,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
898
891
|
} : $propertyIsEnumerable;
|
|
899
892
|
|
|
900
893
|
var DESCRIPTORS$4 = descriptors;
|
|
901
|
-
var call$
|
|
894
|
+
var call$8 = functionCall;
|
|
902
895
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
903
896
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
904
897
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
@@ -917,7 +910,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : f
|
|
|
917
910
|
if (IE8_DOM_DEFINE) try {
|
|
918
911
|
return $getOwnPropertyDescriptor(O, P);
|
|
919
912
|
} catch (error) { /* empty */ }
|
|
920
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$
|
|
913
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
921
914
|
};
|
|
922
915
|
|
|
923
916
|
var makeBuiltIn$2 = {exports: {}};
|
|
@@ -940,14 +933,14 @@ var functionName = {
|
|
|
940
933
|
CONFIGURABLE: CONFIGURABLE
|
|
941
934
|
};
|
|
942
935
|
|
|
943
|
-
var uncurryThis$
|
|
944
|
-
var isCallable$
|
|
945
|
-
var store = sharedStore;
|
|
936
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
937
|
+
var isCallable$9 = isCallable$g;
|
|
938
|
+
var store = sharedStore.exports;
|
|
946
939
|
|
|
947
|
-
var functionToString = uncurryThis$
|
|
940
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
948
941
|
|
|
949
942
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
950
|
-
if (!isCallable$
|
|
943
|
+
if (!isCallable$9(store.inspectSource)) {
|
|
951
944
|
store.inspectSource = function (it) {
|
|
952
945
|
return functionToString(it);
|
|
953
946
|
};
|
|
@@ -955,9 +948,9 @@ if (!isCallable$a(store.inspectSource)) {
|
|
|
955
948
|
|
|
956
949
|
var inspectSource$1 = store.inspectSource;
|
|
957
950
|
|
|
958
|
-
var uncurryThis$
|
|
951
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
959
952
|
var fails$a = fails$h;
|
|
960
|
-
var isCallable$
|
|
953
|
+
var isCallable$8 = isCallable$g;
|
|
961
954
|
var hasOwn$3 = hasOwnProperty_1;
|
|
962
955
|
var DESCRIPTORS$2 = descriptors;
|
|
963
956
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
@@ -969,9 +962,9 @@ var getInternalState$2 = InternalStateModule$1.get;
|
|
|
969
962
|
var $String$2 = String;
|
|
970
963
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
971
964
|
var defineProperty$3 = Object.defineProperty;
|
|
972
|
-
var stringSlice$4 = uncurryThis$
|
|
973
|
-
var replace$3 = uncurryThis$
|
|
974
|
-
var join = uncurryThis$
|
|
965
|
+
var stringSlice$4 = uncurryThis$8(''.slice);
|
|
966
|
+
var replace$3 = uncurryThis$8(''.replace);
|
|
967
|
+
var join = uncurryThis$8([].join);
|
|
975
968
|
|
|
976
969
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$a(function () {
|
|
977
970
|
return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -981,7 +974,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
981
974
|
|
|
982
975
|
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
983
976
|
if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
|
|
984
|
-
name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\)
|
|
977
|
+
name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
985
978
|
}
|
|
986
979
|
if (options && options.getter) name = 'get ' + name;
|
|
987
980
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -1007,10 +1000,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
1007
1000
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1008
1001
|
// eslint-disable-next-line no-extend-native -- required
|
|
1009
1002
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
1010
|
-
return isCallable$
|
|
1003
|
+
return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
|
|
1011
1004
|
}, 'toString');
|
|
1012
1005
|
|
|
1013
|
-
var isCallable$
|
|
1006
|
+
var isCallable$7 = isCallable$g;
|
|
1014
1007
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1015
1008
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
1016
1009
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -1019,7 +1012,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
|
|
|
1019
1012
|
if (!options) options = {};
|
|
1020
1013
|
var simple = options.enumerable;
|
|
1021
1014
|
var name = options.name !== undefined ? options.name : key;
|
|
1022
|
-
if (isCallable$
|
|
1015
|
+
if (isCallable$7(value)) makeBuiltIn(value, name, options);
|
|
1023
1016
|
if (options.global) {
|
|
1024
1017
|
if (simple) O[key] = value;
|
|
1025
1018
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1058,16 +1051,16 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1058
1051
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1059
1052
|
|
|
1060
1053
|
var getBuiltIn = getBuiltIn$3;
|
|
1061
|
-
var uncurryThis$
|
|
1054
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1062
1055
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1063
1056
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1064
|
-
var anObject$
|
|
1057
|
+
var anObject$4 = anObject$8;
|
|
1065
1058
|
|
|
1066
|
-
var concat$2 = uncurryThis$
|
|
1059
|
+
var concat$2 = uncurryThis$7([].concat);
|
|
1067
1060
|
|
|
1068
1061
|
// all object keys, includes non-enumerable and symbols
|
|
1069
1062
|
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1070
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1063
|
+
var keys = getOwnPropertyNamesModule.f(anObject$4(it));
|
|
1071
1064
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1072
1065
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1073
1066
|
};
|
|
@@ -1090,7 +1083,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1090
1083
|
};
|
|
1091
1084
|
|
|
1092
1085
|
var fails$9 = fails$h;
|
|
1093
|
-
var isCallable$
|
|
1086
|
+
var isCallable$6 = isCallable$g;
|
|
1094
1087
|
|
|
1095
1088
|
var replacement = /#|\.prototype\./;
|
|
1096
1089
|
|
|
@@ -1098,7 +1091,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1098
1091
|
var value = data[normalize(feature)];
|
|
1099
1092
|
return value === POLYFILL ? true
|
|
1100
1093
|
: value === NATIVE ? false
|
|
1101
|
-
: isCallable$
|
|
1094
|
+
: isCallable$6(detection) ? fails$9(detection)
|
|
1102
1095
|
: !!detection;
|
|
1103
1096
|
};
|
|
1104
1097
|
|
|
@@ -1112,7 +1105,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1112
1105
|
|
|
1113
1106
|
var isForced_1 = isForced$1;
|
|
1114
1107
|
|
|
1115
|
-
var
|
|
1108
|
+
var globalThis$5 = globalThis_1;
|
|
1116
1109
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1117
1110
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
1118
1111
|
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
@@ -1141,11 +1134,11 @@ var _export = function (options, source) {
|
|
|
1141
1134
|
var STATIC = options.stat;
|
|
1142
1135
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1143
1136
|
if (GLOBAL) {
|
|
1144
|
-
target =
|
|
1137
|
+
target = globalThis$5;
|
|
1145
1138
|
} else if (STATIC) {
|
|
1146
|
-
target =
|
|
1139
|
+
target = globalThis$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1147
1140
|
} else {
|
|
1148
|
-
target =
|
|
1141
|
+
target = globalThis$5[TARGET] && globalThis$5[TARGET].prototype;
|
|
1149
1142
|
}
|
|
1150
1143
|
if (target) for (key in source) {
|
|
1151
1144
|
sourceProperty = source[key];
|
|
@@ -1177,7 +1170,7 @@ var correctPrototypeGetter = !fails$8(function () {
|
|
|
1177
1170
|
});
|
|
1178
1171
|
|
|
1179
1172
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1180
|
-
var isCallable$
|
|
1173
|
+
var isCallable$5 = isCallable$g;
|
|
1181
1174
|
var toObject$2 = toObject$4;
|
|
1182
1175
|
var sharedKey = sharedKey$3;
|
|
1183
1176
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1193,14 +1186,14 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1193
1186
|
var object = toObject$2(O);
|
|
1194
1187
|
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1195
1188
|
var constructor = object.constructor;
|
|
1196
|
-
if (isCallable$
|
|
1189
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
1197
1190
|
return constructor.prototype;
|
|
1198
1191
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1199
1192
|
};
|
|
1200
1193
|
|
|
1201
1194
|
var fails$7 = fails$h;
|
|
1202
|
-
var isCallable$
|
|
1203
|
-
var isObject = isObject$
|
|
1195
|
+
var isCallable$4 = isCallable$g;
|
|
1196
|
+
var isObject$2 = isObject$8;
|
|
1204
1197
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1205
1198
|
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1206
1199
|
var wellKnownSymbol$7 = wellKnownSymbol$a;
|
|
@@ -1223,7 +1216,7 @@ if ([].keys) {
|
|
|
1223
1216
|
}
|
|
1224
1217
|
}
|
|
1225
1218
|
|
|
1226
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$7(function () {
|
|
1219
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$7(function () {
|
|
1227
1220
|
var test = {};
|
|
1228
1221
|
// FF44- legacy iterators case
|
|
1229
1222
|
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
|
@@ -1233,7 +1226,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1233
1226
|
|
|
1234
1227
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1235
1228
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1236
|
-
if (!isCallable$
|
|
1229
|
+
if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
|
|
1237
1230
|
defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
|
|
1238
1231
|
return this;
|
|
1239
1232
|
});
|
|
@@ -1248,19 +1241,19 @@ var defineProperty$2 = objectDefineProperty.f;
|
|
|
1248
1241
|
var hasOwn = hasOwnProperty_1;
|
|
1249
1242
|
var wellKnownSymbol$6 = wellKnownSymbol$a;
|
|
1250
1243
|
|
|
1251
|
-
var TO_STRING_TAG$
|
|
1244
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
|
|
1252
1245
|
|
|
1253
|
-
var setToStringTag$
|
|
1246
|
+
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1254
1247
|
if (target && !STATIC) target = target.prototype;
|
|
1255
|
-
if (target && !hasOwn(target, TO_STRING_TAG$
|
|
1256
|
-
defineProperty$2(target, TO_STRING_TAG$
|
|
1248
|
+
if (target && !hasOwn(target, TO_STRING_TAG$2)) {
|
|
1249
|
+
defineProperty$2(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
|
|
1257
1250
|
}
|
|
1258
1251
|
};
|
|
1259
1252
|
|
|
1260
1253
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1261
1254
|
var create$1 = objectCreate;
|
|
1262
1255
|
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1263
|
-
var setToStringTag$
|
|
1256
|
+
var setToStringTag$2 = setToStringTag$3;
|
|
1264
1257
|
var Iterators$2 = iterators;
|
|
1265
1258
|
|
|
1266
1259
|
var returnThis$1 = function () { return this; };
|
|
@@ -1268,34 +1261,41 @@ var returnThis$1 = function () { return this; };
|
|
|
1268
1261
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1269
1262
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1270
1263
|
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
1271
|
-
setToStringTag$
|
|
1264
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1272
1265
|
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
1273
1266
|
return IteratorConstructor;
|
|
1274
1267
|
};
|
|
1275
1268
|
|
|
1276
|
-
var uncurryThis$
|
|
1269
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1277
1270
|
var aCallable = aCallable$2;
|
|
1278
1271
|
|
|
1279
1272
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1280
1273
|
try {
|
|
1281
1274
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1282
|
-
return uncurryThis$
|
|
1275
|
+
return uncurryThis$6(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1283
1276
|
} catch (error) { /* empty */ }
|
|
1284
1277
|
};
|
|
1285
1278
|
|
|
1286
|
-
var
|
|
1279
|
+
var isObject$1 = isObject$8;
|
|
1280
|
+
|
|
1281
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
1282
|
+
return isObject$1(argument) || argument === null;
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1287
1286
|
|
|
1288
1287
|
var $String$1 = String;
|
|
1289
1288
|
var $TypeError$1 = TypeError;
|
|
1290
1289
|
|
|
1291
1290
|
var aPossiblePrototype$1 = function (argument) {
|
|
1292
|
-
if (
|
|
1291
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
1293
1292
|
throw new $TypeError$1("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1294
1293
|
};
|
|
1295
1294
|
|
|
1296
1295
|
/* eslint-disable no-proto -- safe */
|
|
1297
1296
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1298
|
-
var
|
|
1297
|
+
var isObject = isObject$8;
|
|
1298
|
+
var requireObjectCoercible$4 = requireObjectCoercible$7;
|
|
1299
1299
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1300
1300
|
|
|
1301
1301
|
// `Object.setPrototypeOf` method
|
|
@@ -1312,8 +1312,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1312
1312
|
CORRECT_SETTER = test instanceof Array;
|
|
1313
1313
|
} catch (error) { /* empty */ }
|
|
1314
1314
|
return function setPrototypeOf(O, proto) {
|
|
1315
|
-
|
|
1315
|
+
requireObjectCoercible$4(O);
|
|
1316
1316
|
aPossiblePrototype(proto);
|
|
1317
|
+
if (!isObject(O)) return O;
|
|
1317
1318
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1318
1319
|
else O.__proto__ = proto;
|
|
1319
1320
|
return O;
|
|
@@ -1321,13 +1322,13 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1321
1322
|
}() : undefined);
|
|
1322
1323
|
|
|
1323
1324
|
var $$3 = _export;
|
|
1324
|
-
var call$
|
|
1325
|
+
var call$7 = functionCall;
|
|
1325
1326
|
var FunctionName = functionName;
|
|
1326
|
-
var isCallable$3 = isCallable$
|
|
1327
|
+
var isCallable$3 = isCallable$g;
|
|
1327
1328
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1328
1329
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1329
1330
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1330
|
-
var setToStringTag = setToStringTag$
|
|
1331
|
+
var setToStringTag$1 = setToStringTag$3;
|
|
1331
1332
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
1332
1333
|
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1333
1334
|
var wellKnownSymbol$5 = wellKnownSymbol$a;
|
|
@@ -1383,7 +1384,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1383
1384
|
}
|
|
1384
1385
|
}
|
|
1385
1386
|
// Set @@toStringTag to native iterators
|
|
1386
|
-
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1387
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1387
1388
|
}
|
|
1388
1389
|
}
|
|
1389
1390
|
|
|
@@ -1393,7 +1394,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1393
1394
|
createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
|
|
1394
1395
|
} else {
|
|
1395
1396
|
INCORRECT_VALUES_NAME = true;
|
|
1396
|
-
defaultIterator = function values() { return call$
|
|
1397
|
+
defaultIterator = function values() { return call$7(nativeIterator, this); };
|
|
1397
1398
|
}
|
|
1398
1399
|
}
|
|
1399
1400
|
|
|
@@ -1463,7 +1464,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1463
1464
|
var target = state.target;
|
|
1464
1465
|
var index = state.index++;
|
|
1465
1466
|
if (!target || index >= target.length) {
|
|
1466
|
-
state.target =
|
|
1467
|
+
state.target = null;
|
|
1467
1468
|
return createIterResultObject(undefined, true);
|
|
1468
1469
|
}
|
|
1469
1470
|
switch (state.kind) {
|
|
@@ -1487,6 +1488,73 @@ if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
|
1487
1488
|
defineProperty$1(values, 'name', { value: 'values' });
|
|
1488
1489
|
} catch (error) { /* empty */ }
|
|
1489
1490
|
|
|
1491
|
+
var DESCRIPTORS = descriptors;
|
|
1492
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1493
|
+
var call$6 = functionCall;
|
|
1494
|
+
var fails$6 = fails$h;
|
|
1495
|
+
var objectKeys = objectKeys$2;
|
|
1496
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1497
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1498
|
+
var toObject$1 = toObject$4;
|
|
1499
|
+
var IndexedObject = indexedObject;
|
|
1500
|
+
|
|
1501
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1502
|
+
var $assign = Object.assign;
|
|
1503
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1504
|
+
var defineProperty = Object.defineProperty;
|
|
1505
|
+
var concat$1 = uncurryThis$5([].concat);
|
|
1506
|
+
|
|
1507
|
+
// `Object.assign` method
|
|
1508
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1509
|
+
var objectAssign = !$assign || fails$6(function () {
|
|
1510
|
+
// should have correct order of operations (Edge bug)
|
|
1511
|
+
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
1512
|
+
enumerable: true,
|
|
1513
|
+
get: function () {
|
|
1514
|
+
defineProperty(this, 'b', {
|
|
1515
|
+
value: 3,
|
|
1516
|
+
enumerable: false
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
}), { b: 2 })).b !== 1) return true;
|
|
1520
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1521
|
+
var A = {};
|
|
1522
|
+
var B = {};
|
|
1523
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
1524
|
+
var symbol = Symbol('assign detection');
|
|
1525
|
+
var alphabet = 'abcdefghijklmnopqrst';
|
|
1526
|
+
A[symbol] = 7;
|
|
1527
|
+
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1528
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1529
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1530
|
+
var T = toObject$1(target);
|
|
1531
|
+
var argumentsLength = arguments.length;
|
|
1532
|
+
var index = 1;
|
|
1533
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1534
|
+
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1535
|
+
while (argumentsLength > index) {
|
|
1536
|
+
var S = IndexedObject(arguments[index++]);
|
|
1537
|
+
var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1538
|
+
var length = keys.length;
|
|
1539
|
+
var j = 0;
|
|
1540
|
+
var key;
|
|
1541
|
+
while (length > j) {
|
|
1542
|
+
key = keys[j++];
|
|
1543
|
+
if (!DESCRIPTORS || call$6(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1544
|
+
}
|
|
1545
|
+
} return T;
|
|
1546
|
+
} : $assign;
|
|
1547
|
+
|
|
1548
|
+
var $$2 = _export;
|
|
1549
|
+
var assign = objectAssign;
|
|
1550
|
+
|
|
1551
|
+
// `Object.assign` method
|
|
1552
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1553
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1554
|
+
$$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1555
|
+
assign: assign
|
|
1556
|
+
});
|
|
1557
|
+
|
|
1490
1558
|
// iterable DOM collections
|
|
1491
1559
|
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1492
1560
|
var domIterables = {
|
|
@@ -1531,15 +1599,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1531
1599
|
|
|
1532
1600
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1533
1601
|
|
|
1534
|
-
var
|
|
1602
|
+
var globalThis$4 = globalThis_1;
|
|
1535
1603
|
var DOMIterables = domIterables;
|
|
1536
1604
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1537
1605
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1538
1606
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
1607
|
+
var setToStringTag = setToStringTag$3;
|
|
1539
1608
|
var wellKnownSymbol$4 = wellKnownSymbol$a;
|
|
1540
1609
|
|
|
1541
1610
|
var ITERATOR = wellKnownSymbol$4('iterator');
|
|
1542
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
|
|
1543
1611
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1544
1612
|
|
|
1545
1613
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1550,9 +1618,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1550
1618
|
} catch (error) {
|
|
1551
1619
|
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1552
1620
|
}
|
|
1553
|
-
|
|
1554
|
-
createNonEnumerableProperty$1(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
|
1555
|
-
}
|
|
1621
|
+
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1556
1622
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1557
1623
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1558
1624
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
@@ -1565,78 +1631,11 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1565
1631
|
};
|
|
1566
1632
|
|
|
1567
1633
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1568
|
-
handlePrototype(
|
|
1634
|
+
handlePrototype(globalThis$4[COLLECTION_NAME] && globalThis$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1569
1635
|
}
|
|
1570
1636
|
|
|
1571
1637
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1572
1638
|
|
|
1573
|
-
var DESCRIPTORS = descriptors;
|
|
1574
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
1575
|
-
var call$5 = functionCall;
|
|
1576
|
-
var fails$6 = fails$h;
|
|
1577
|
-
var objectKeys = objectKeys$2;
|
|
1578
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1579
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1580
|
-
var toObject$1 = toObject$4;
|
|
1581
|
-
var IndexedObject = indexedObject;
|
|
1582
|
-
|
|
1583
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1584
|
-
var $assign = Object.assign;
|
|
1585
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1586
|
-
var defineProperty = Object.defineProperty;
|
|
1587
|
-
var concat$1 = uncurryThis$7([].concat);
|
|
1588
|
-
|
|
1589
|
-
// `Object.assign` method
|
|
1590
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1591
|
-
var objectAssign = !$assign || fails$6(function () {
|
|
1592
|
-
// should have correct order of operations (Edge bug)
|
|
1593
|
-
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
1594
|
-
enumerable: true,
|
|
1595
|
-
get: function () {
|
|
1596
|
-
defineProperty(this, 'b', {
|
|
1597
|
-
value: 3,
|
|
1598
|
-
enumerable: false
|
|
1599
|
-
});
|
|
1600
|
-
}
|
|
1601
|
-
}), { b: 2 })).b !== 1) return true;
|
|
1602
|
-
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1603
|
-
var A = {};
|
|
1604
|
-
var B = {};
|
|
1605
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
|
1606
|
-
var symbol = Symbol('assign detection');
|
|
1607
|
-
var alphabet = 'abcdefghijklmnopqrst';
|
|
1608
|
-
A[symbol] = 7;
|
|
1609
|
-
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1610
|
-
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1611
|
-
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1612
|
-
var T = toObject$1(target);
|
|
1613
|
-
var argumentsLength = arguments.length;
|
|
1614
|
-
var index = 1;
|
|
1615
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1616
|
-
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1617
|
-
while (argumentsLength > index) {
|
|
1618
|
-
var S = IndexedObject(arguments[index++]);
|
|
1619
|
-
var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1620
|
-
var length = keys.length;
|
|
1621
|
-
var j = 0;
|
|
1622
|
-
var key;
|
|
1623
|
-
while (length > j) {
|
|
1624
|
-
key = keys[j++];
|
|
1625
|
-
if (!DESCRIPTORS || call$5(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1626
|
-
}
|
|
1627
|
-
} return T;
|
|
1628
|
-
} : $assign;
|
|
1629
|
-
|
|
1630
|
-
var $$2 = _export;
|
|
1631
|
-
var assign = objectAssign;
|
|
1632
|
-
|
|
1633
|
-
// `Object.assign` method
|
|
1634
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1635
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1636
|
-
$$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1637
|
-
assign: assign
|
|
1638
|
-
});
|
|
1639
|
-
|
|
1640
1639
|
/******************************************************************************
|
|
1641
1640
|
Copyright (c) Microsoft Corporation.
|
|
1642
1641
|
|
|
@@ -1689,15 +1688,15 @@ test[TO_STRING_TAG$1] = 'z';
|
|
|
1689
1688
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1690
1689
|
|
|
1691
1690
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1692
|
-
var isCallable$2 = isCallable$
|
|
1693
|
-
var classofRaw
|
|
1691
|
+
var isCallable$2 = isCallable$g;
|
|
1692
|
+
var classofRaw = classofRaw$1;
|
|
1694
1693
|
var wellKnownSymbol$2 = wellKnownSymbol$a;
|
|
1695
1694
|
|
|
1696
1695
|
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
1697
1696
|
var $Object = Object;
|
|
1698
1697
|
|
|
1699
1698
|
// ES3 wrong here
|
|
1700
|
-
var CORRECT_ARGUMENTS = classofRaw
|
|
1699
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1701
1700
|
|
|
1702
1701
|
// fallback for IE11 Script Access Denied error
|
|
1703
1702
|
var tryGet = function (it, key) {
|
|
@@ -1707,15 +1706,15 @@ var tryGet = function (it, key) {
|
|
|
1707
1706
|
};
|
|
1708
1707
|
|
|
1709
1708
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1710
|
-
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw
|
|
1709
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1711
1710
|
var O, tag, result;
|
|
1712
1711
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1713
1712
|
// @@toStringTag case
|
|
1714
1713
|
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1715
1714
|
// builtinTag case
|
|
1716
|
-
: CORRECT_ARGUMENTS ? classofRaw
|
|
1715
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1717
1716
|
// ES3 arguments fallback
|
|
1718
|
-
: (result = classofRaw
|
|
1717
|
+
: (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
|
|
1719
1718
|
};
|
|
1720
1719
|
|
|
1721
1720
|
var classof$1 = classof$2;
|
|
@@ -1727,7 +1726,7 @@ var toString$5 = function (argument) {
|
|
|
1727
1726
|
return $String(argument);
|
|
1728
1727
|
};
|
|
1729
1728
|
|
|
1730
|
-
var anObject$3 = anObject$
|
|
1729
|
+
var anObject$3 = anObject$8;
|
|
1731
1730
|
|
|
1732
1731
|
// `RegExp.prototype.flags` getter implementation
|
|
1733
1732
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
@@ -1746,10 +1745,10 @@ var regexpFlags$1 = function () {
|
|
|
1746
1745
|
};
|
|
1747
1746
|
|
|
1748
1747
|
var fails$5 = fails$h;
|
|
1749
|
-
var
|
|
1748
|
+
var globalThis$3 = globalThis_1;
|
|
1750
1749
|
|
|
1751
1750
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1752
|
-
var $RegExp$2 =
|
|
1751
|
+
var $RegExp$2 = globalThis$3.RegExp;
|
|
1753
1752
|
|
|
1754
1753
|
var UNSUPPORTED_Y$1 = fails$5(function () {
|
|
1755
1754
|
var re = $RegExp$2('a', 'y');
|
|
@@ -1777,10 +1776,10 @@ var regexpStickyHelpers = {
|
|
|
1777
1776
|
};
|
|
1778
1777
|
|
|
1779
1778
|
var fails$4 = fails$h;
|
|
1780
|
-
var
|
|
1779
|
+
var globalThis$2 = globalThis_1;
|
|
1781
1780
|
|
|
1782
1781
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1783
|
-
var $RegExp$1 =
|
|
1782
|
+
var $RegExp$1 = globalThis$2.RegExp;
|
|
1784
1783
|
|
|
1785
1784
|
var regexpUnsupportedDotAll = fails$4(function () {
|
|
1786
1785
|
var re = $RegExp$1('.', 's');
|
|
@@ -1788,10 +1787,10 @@ var regexpUnsupportedDotAll = fails$4(function () {
|
|
|
1788
1787
|
});
|
|
1789
1788
|
|
|
1790
1789
|
var fails$3 = fails$h;
|
|
1791
|
-
var
|
|
1790
|
+
var globalThis$1 = globalThis_1;
|
|
1792
1791
|
|
|
1793
1792
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1794
|
-
var $RegExp =
|
|
1793
|
+
var $RegExp = globalThis$1.RegExp;
|
|
1795
1794
|
|
|
1796
1795
|
var regexpUnsupportedNcg = fails$3(function () {
|
|
1797
1796
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -1801,12 +1800,12 @@ var regexpUnsupportedNcg = fails$3(function () {
|
|
|
1801
1800
|
|
|
1802
1801
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1803
1802
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1804
|
-
var call$
|
|
1805
|
-
var uncurryThis$
|
|
1803
|
+
var call$5 = functionCall;
|
|
1804
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1806
1805
|
var toString$4 = toString$5;
|
|
1807
1806
|
var regexpFlags = regexpFlags$1;
|
|
1808
1807
|
var stickyHelpers = regexpStickyHelpers;
|
|
1809
|
-
var shared = shared$4
|
|
1808
|
+
var shared = shared$4;
|
|
1810
1809
|
var create = objectCreate;
|
|
1811
1810
|
var getInternalState = internalState.get;
|
|
1812
1811
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
@@ -1815,16 +1814,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
1815
1814
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1816
1815
|
var nativeExec = RegExp.prototype.exec;
|
|
1817
1816
|
var patchedExec = nativeExec;
|
|
1818
|
-
var charAt$3 = uncurryThis$
|
|
1819
|
-
var indexOf = uncurryThis$
|
|
1820
|
-
var replace$2 = uncurryThis$
|
|
1821
|
-
var stringSlice$3 = uncurryThis$
|
|
1817
|
+
var charAt$3 = uncurryThis$4(''.charAt);
|
|
1818
|
+
var indexOf = uncurryThis$4(''.indexOf);
|
|
1819
|
+
var replace$2 = uncurryThis$4(''.replace);
|
|
1820
|
+
var stringSlice$3 = uncurryThis$4(''.slice);
|
|
1822
1821
|
|
|
1823
1822
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1824
1823
|
var re1 = /a/;
|
|
1825
1824
|
var re2 = /b*/g;
|
|
1826
|
-
call$
|
|
1827
|
-
call$
|
|
1825
|
+
call$5(nativeExec, re1, 'a');
|
|
1826
|
+
call$5(nativeExec, re2, 'a');
|
|
1828
1827
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1829
1828
|
})();
|
|
1830
1829
|
|
|
@@ -1845,14 +1844,14 @@ if (PATCH) {
|
|
|
1845
1844
|
|
|
1846
1845
|
if (raw) {
|
|
1847
1846
|
raw.lastIndex = re.lastIndex;
|
|
1848
|
-
result = call$
|
|
1847
|
+
result = call$5(patchedExec, raw, str);
|
|
1849
1848
|
re.lastIndex = raw.lastIndex;
|
|
1850
1849
|
return result;
|
|
1851
1850
|
}
|
|
1852
1851
|
|
|
1853
1852
|
var groups = state.groups;
|
|
1854
1853
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1855
|
-
var flags = call$
|
|
1854
|
+
var flags = call$5(regexpFlags, re);
|
|
1856
1855
|
var source = re.source;
|
|
1857
1856
|
var charsAdded = 0;
|
|
1858
1857
|
var strCopy = str;
|
|
@@ -1880,7 +1879,7 @@ if (PATCH) {
|
|
|
1880
1879
|
}
|
|
1881
1880
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1882
1881
|
|
|
1883
|
-
match = call$
|
|
1882
|
+
match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1884
1883
|
|
|
1885
1884
|
if (sticky) {
|
|
1886
1885
|
if (match) {
|
|
@@ -1895,7 +1894,7 @@ if (PATCH) {
|
|
|
1895
1894
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1896
1895
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1897
1896
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1898
|
-
call$
|
|
1897
|
+
call$5(nativeReplace, match[0], reCopy, function () {
|
|
1899
1898
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1900
1899
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1901
1900
|
}
|
|
@@ -1929,26 +1928,16 @@ var NATIVE_BIND = functionBindNative;
|
|
|
1929
1928
|
|
|
1930
1929
|
var FunctionPrototype = Function.prototype;
|
|
1931
1930
|
var apply$1 = FunctionPrototype.apply;
|
|
1932
|
-
var call$
|
|
1931
|
+
var call$4 = FunctionPrototype.call;
|
|
1933
1932
|
|
|
1934
1933
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1935
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$
|
|
1936
|
-
return call$
|
|
1934
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () {
|
|
1935
|
+
return call$4.apply(apply$1, arguments);
|
|
1937
1936
|
});
|
|
1938
1937
|
|
|
1939
|
-
var classofRaw = classofRaw$2;
|
|
1940
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
1941
|
-
|
|
1942
|
-
var functionUncurryThisClause = function (fn) {
|
|
1943
|
-
// Nashorn bug:
|
|
1944
|
-
// https://github.com/zloirock/core-js/issues/1128
|
|
1945
|
-
// https://github.com/zloirock/core-js/issues/1130
|
|
1946
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$5(fn);
|
|
1947
|
-
};
|
|
1948
|
-
|
|
1949
1938
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1950
1939
|
|
|
1951
|
-
var
|
|
1940
|
+
var call$3 = functionCall;
|
|
1952
1941
|
var defineBuiltIn = defineBuiltIn$4;
|
|
1953
1942
|
var regexpExec$1 = regexpExec$2;
|
|
1954
1943
|
var fails$2 = fails$h;
|
|
@@ -1962,7 +1951,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1962
1951
|
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
1963
1952
|
|
|
1964
1953
|
var DELEGATES_TO_SYMBOL = !fails$2(function () {
|
|
1965
|
-
// String methods call symbol-named
|
|
1954
|
+
// String methods call symbol-named RegExp methods
|
|
1966
1955
|
var O = {};
|
|
1967
1956
|
O[SYMBOL] = function () { return 7; };
|
|
1968
1957
|
return ''[KEY](O) !== 7;
|
|
@@ -2000,18 +1989,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2000
1989
|
!DELEGATES_TO_EXEC ||
|
|
2001
1990
|
FORCED
|
|
2002
1991
|
) {
|
|
2003
|
-
var
|
|
1992
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
2004
1993
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
2005
|
-
var uncurriedNativeMethod = uncurryThis$4(nativeMethod);
|
|
2006
1994
|
var $exec = regexp.exec;
|
|
2007
1995
|
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
2008
1996
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
2009
1997
|
// The native String method already delegates to @@method (this
|
|
2010
1998
|
// polyfilled function), leasing to infinite recursion.
|
|
2011
1999
|
// We avoid it by directly calling the native @@method method.
|
|
2012
|
-
return { done: true, value:
|
|
2000
|
+
return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
|
|
2013
2001
|
}
|
|
2014
|
-
return { done: true, value:
|
|
2002
|
+
return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
|
|
2015
2003
|
}
|
|
2016
2004
|
return { done: false };
|
|
2017
2005
|
});
|
|
@@ -2026,7 +2014,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2026
2014
|
var uncurryThis$3 = functionUncurryThis;
|
|
2027
2015
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
|
|
2028
2016
|
var toString$3 = toString$5;
|
|
2029
|
-
var requireObjectCoercible$3 = requireObjectCoercible$
|
|
2017
|
+
var requireObjectCoercible$3 = requireObjectCoercible$7;
|
|
2030
2018
|
|
|
2031
2019
|
var charAt$2 = uncurryThis$3(''.charAt);
|
|
2032
2020
|
var charCodeAt = uncurryThis$3(''.charCodeAt);
|
|
@@ -2115,9 +2103,9 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
2115
2103
|
};
|
|
2116
2104
|
|
|
2117
2105
|
var call$2 = functionCall;
|
|
2118
|
-
var anObject$2 = anObject$
|
|
2119
|
-
var isCallable$1 = isCallable$
|
|
2120
|
-
var classof = classofRaw$
|
|
2106
|
+
var anObject$2 = anObject$8;
|
|
2107
|
+
var isCallable$1 = isCallable$g;
|
|
2108
|
+
var classof = classofRaw$1;
|
|
2121
2109
|
var regexpExec = regexpExec$2;
|
|
2122
2110
|
|
|
2123
2111
|
var $TypeError = TypeError;
|
|
@@ -2140,13 +2128,13 @@ var call$1 = functionCall;
|
|
|
2140
2128
|
var uncurryThis$1 = functionUncurryThis;
|
|
2141
2129
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
2142
2130
|
var fails$1 = fails$h;
|
|
2143
|
-
var anObject$1 = anObject$
|
|
2144
|
-
var isCallable = isCallable$
|
|
2131
|
+
var anObject$1 = anObject$8;
|
|
2132
|
+
var isCallable = isCallable$g;
|
|
2145
2133
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2146
2134
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
2147
2135
|
var toLength = toLength$2;
|
|
2148
2136
|
var toString$2 = toString$5;
|
|
2149
|
-
var requireObjectCoercible$2 = requireObjectCoercible$
|
|
2137
|
+
var requireObjectCoercible$2 = requireObjectCoercible$7;
|
|
2150
2138
|
var advanceStringIndex = advanceStringIndex$1;
|
|
2151
2139
|
var getMethod$1 = getMethod$3;
|
|
2152
2140
|
var getSubstitution = getSubstitution$1;
|
|
@@ -2579,9 +2567,9 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
2579
2567
|
|
|
2580
2568
|
var call = functionCall;
|
|
2581
2569
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
2582
|
-
var anObject = anObject$
|
|
2570
|
+
var anObject = anObject$8;
|
|
2583
2571
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
2584
|
-
var requireObjectCoercible$1 = requireObjectCoercible$
|
|
2572
|
+
var requireObjectCoercible$1 = requireObjectCoercible$7;
|
|
2585
2573
|
var sameValue = sameValue$1;
|
|
2586
2574
|
var toString$1 = toString$5;
|
|
2587
2575
|
var getMethod = getMethod$3;
|
|
@@ -2620,7 +2608,7 @@ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
2620
2608
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
2621
2609
|
|
|
2622
2610
|
var uncurryThis = functionUncurryThis;
|
|
2623
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
2611
|
+
var requireObjectCoercible = requireObjectCoercible$7;
|
|
2624
2612
|
var toString = toString$5;
|
|
2625
2613
|
var whitespaces$1 = whitespaces$2;
|
|
2626
2614
|
|