@bolttech/molecules-dropdown 0.28.2 → 0.29.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 +266 -284
- package/package.json +6 -6
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 global$
|
|
105
|
+
var global$e =
|
|
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 global$
|
|
118
|
+
var global$d = global$e;
|
|
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(global$
|
|
125
|
+
defineProperty$5(global$d, key, { value: value, configurable: true, writable: true });
|
|
125
126
|
} catch (error) {
|
|
126
|
-
global$
|
|
127
|
+
global$d[key] = value;
|
|
127
128
|
} return value;
|
|
128
129
|
};
|
|
129
130
|
|
|
130
|
-
var
|
|
131
|
+
var globalThis$1 = global$e;
|
|
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$1[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.37.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.37.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,11 +170,11 @@ 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);
|
|
@@ -181,7 +182,7 @@ var uid$2 = function (key) {
|
|
|
181
182
|
|
|
182
183
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
183
184
|
|
|
184
|
-
var global$c = global$
|
|
185
|
+
var global$c = global$e;
|
|
185
186
|
var userAgent = engineUserAgent;
|
|
186
187
|
|
|
187
188
|
var process = global$c.process;
|
|
@@ -212,7 +213,7 @@ var engineV8Version = version;
|
|
|
212
213
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
213
214
|
var V8_VERSION = engineV8Version;
|
|
214
215
|
var fails$e = fails$h;
|
|
215
|
-
var global$b = global$
|
|
216
|
+
var global$b = global$e;
|
|
216
217
|
|
|
217
218
|
var $String$5 = global$b.String;
|
|
218
219
|
|
|
@@ -235,8 +236,8 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
235
236
|
&& !Symbol.sham
|
|
236
237
|
&& typeof Symbol.iterator == 'symbol';
|
|
237
238
|
|
|
238
|
-
var global$a = global$
|
|
239
|
-
var shared$3 = shared$4
|
|
239
|
+
var global$a = global$e;
|
|
240
|
+
var shared$3 = shared$4;
|
|
240
241
|
var hasOwn$8 = hasOwnProperty_1;
|
|
241
242
|
var uid$1 = uid$2;
|
|
242
243
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
@@ -254,48 +255,32 @@ var wellKnownSymbol$a = function (name) {
|
|
|
254
255
|
} return WellKnownSymbolsStore[name];
|
|
255
256
|
};
|
|
256
257
|
|
|
257
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
258
|
-
|
|
259
258
|
// 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;
|
|
259
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
271
260
|
|
|
272
261
|
// `IsCallable` abstract operation
|
|
273
262
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
274
|
-
|
|
275
|
-
|
|
263
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
264
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
265
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
276
266
|
} : function (argument) {
|
|
277
267
|
return typeof argument == 'function';
|
|
278
268
|
};
|
|
279
269
|
|
|
280
|
-
var isCallable$
|
|
281
|
-
var $documentAll = documentAll_1;
|
|
282
|
-
|
|
283
|
-
var documentAll = $documentAll.all;
|
|
270
|
+
var isCallable$f = isCallable$g;
|
|
284
271
|
|
|
285
|
-
var isObject$
|
|
286
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
287
|
-
} : function (it) {
|
|
288
|
-
return typeof it == 'object' ? it !== null : isCallable$g(it);
|
|
272
|
+
var isObject$8 = function (it) {
|
|
273
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
289
274
|
};
|
|
290
275
|
|
|
291
|
-
var isObject$
|
|
276
|
+
var isObject$7 = isObject$8;
|
|
292
277
|
|
|
293
278
|
var $String$4 = String;
|
|
294
279
|
var $TypeError$6 = TypeError;
|
|
295
280
|
|
|
296
281
|
// `Assert: Type(argument) is Object`
|
|
297
|
-
var anObject$
|
|
298
|
-
if (isObject$
|
|
282
|
+
var anObject$8 = function (argument) {
|
|
283
|
+
if (isObject$7(argument)) return argument;
|
|
299
284
|
throw new $TypeError$6($String$4(argument) + ' is not an object');
|
|
300
285
|
};
|
|
301
286
|
|
|
@@ -324,12 +309,12 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$c(function () {
|
|
|
324
309
|
|
|
325
310
|
var objectDefineProperty = {};
|
|
326
311
|
|
|
327
|
-
var global$9 = global$
|
|
328
|
-
var isObject$
|
|
312
|
+
var global$9 = global$e;
|
|
313
|
+
var isObject$6 = isObject$8;
|
|
329
314
|
|
|
330
315
|
var document$1 = global$9.document;
|
|
331
316
|
// typeof document.createElement is 'object' in old IE
|
|
332
|
-
var EXISTS$1 = isObject$
|
|
317
|
+
var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
|
|
333
318
|
|
|
334
319
|
var documentCreateElement$2 = function (it) {
|
|
335
320
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
@@ -349,29 +334,29 @@ var ie8DomDefine = !DESCRIPTORS$8 && !fails$b(function () {
|
|
|
349
334
|
|
|
350
335
|
var NATIVE_BIND$1 = functionBindNative;
|
|
351
336
|
|
|
352
|
-
var call$
|
|
337
|
+
var call$b = Function.prototype.call;
|
|
353
338
|
|
|
354
|
-
var functionCall = NATIVE_BIND$1 ? call$
|
|
355
|
-
return call$
|
|
339
|
+
var functionCall = NATIVE_BIND$1 ? call$b.bind(call$b) : function () {
|
|
340
|
+
return call$b.apply(call$b, arguments);
|
|
356
341
|
};
|
|
357
342
|
|
|
358
|
-
var global$8 = global$
|
|
359
|
-
var isCallable$
|
|
343
|
+
var global$8 = global$e;
|
|
344
|
+
var isCallable$e = isCallable$g;
|
|
360
345
|
|
|
361
346
|
var aFunction = function (argument) {
|
|
362
|
-
return isCallable$
|
|
347
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
363
348
|
};
|
|
364
349
|
|
|
365
350
|
var getBuiltIn$3 = function (namespace, method) {
|
|
366
351
|
return arguments.length < 2 ? aFunction(global$8[namespace]) : global$8[namespace] && global$8[namespace][method];
|
|
367
352
|
};
|
|
368
353
|
|
|
369
|
-
var uncurryThis$
|
|
354
|
+
var uncurryThis$b = functionUncurryThis;
|
|
370
355
|
|
|
371
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
356
|
+
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
372
357
|
|
|
373
358
|
var getBuiltIn$2 = getBuiltIn$3;
|
|
374
|
-
var isCallable$
|
|
359
|
+
var isCallable$d = isCallable$g;
|
|
375
360
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
376
361
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
377
362
|
|
|
@@ -381,7 +366,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
381
366
|
return typeof it == 'symbol';
|
|
382
367
|
} : function (it) {
|
|
383
368
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
384
|
-
return isCallable$
|
|
369
|
+
return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
|
385
370
|
};
|
|
386
371
|
|
|
387
372
|
var $String$3 = String;
|
|
@@ -394,14 +379,14 @@ var tryToString$1 = function (argument) {
|
|
|
394
379
|
}
|
|
395
380
|
};
|
|
396
381
|
|
|
397
|
-
var isCallable$
|
|
382
|
+
var isCallable$c = isCallable$g;
|
|
398
383
|
var tryToString = tryToString$1;
|
|
399
384
|
|
|
400
385
|
var $TypeError$5 = TypeError;
|
|
401
386
|
|
|
402
387
|
// `Assert: IsCallable(argument) is true`
|
|
403
388
|
var aCallable$2 = function (argument) {
|
|
404
|
-
if (isCallable$
|
|
389
|
+
if (isCallable$c(argument)) return argument;
|
|
405
390
|
throw new $TypeError$5(tryToString(argument) + ' is not a function');
|
|
406
391
|
};
|
|
407
392
|
|
|
@@ -415,9 +400,9 @@ var getMethod$3 = function (V, P) {
|
|
|
415
400
|
return isNullOrUndefined$2(func) ? undefined : aCallable$1(func);
|
|
416
401
|
};
|
|
417
402
|
|
|
418
|
-
var call$
|
|
419
|
-
var isCallable$
|
|
420
|
-
var isObject$
|
|
403
|
+
var call$a = functionCall;
|
|
404
|
+
var isCallable$b = isCallable$g;
|
|
405
|
+
var isObject$5 = isObject$8;
|
|
421
406
|
|
|
422
407
|
var $TypeError$4 = TypeError;
|
|
423
408
|
|
|
@@ -425,14 +410,14 @@ var $TypeError$4 = TypeError;
|
|
|
425
410
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
426
411
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
427
412
|
var fn, val;
|
|
428
|
-
if (pref === 'string' && isCallable$
|
|
429
|
-
if (isCallable$
|
|
430
|
-
if (pref !== 'string' && isCallable$
|
|
413
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
|
|
414
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$a(fn, input))) return val;
|
|
415
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
|
|
431
416
|
throw new $TypeError$4("Can't convert object to primitive value");
|
|
432
417
|
};
|
|
433
418
|
|
|
434
|
-
var call$
|
|
435
|
-
var isObject$
|
|
419
|
+
var call$9 = functionCall;
|
|
420
|
+
var isObject$4 = isObject$8;
|
|
436
421
|
var isSymbol$1 = isSymbol$2;
|
|
437
422
|
var getMethod$2 = getMethod$3;
|
|
438
423
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -444,13 +429,13 @@ var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
|
|
|
444
429
|
// `ToPrimitive` abstract operation
|
|
445
430
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
446
431
|
var toPrimitive$1 = function (input, pref) {
|
|
447
|
-
if (!isObject$
|
|
432
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
448
433
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
449
434
|
var result;
|
|
450
435
|
if (exoticToPrim) {
|
|
451
436
|
if (pref === undefined) pref = 'default';
|
|
452
|
-
result = call$
|
|
453
|
-
if (!isObject$
|
|
437
|
+
result = call$9(exoticToPrim, input, pref);
|
|
438
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
454
439
|
throw new $TypeError$3("Can't convert object to primitive value");
|
|
455
440
|
}
|
|
456
441
|
if (pref === undefined) pref = 'number';
|
|
@@ -470,7 +455,7 @@ var toPropertyKey$2 = function (argument) {
|
|
|
470
455
|
var DESCRIPTORS$7 = descriptors;
|
|
471
456
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
472
457
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
473
|
-
var anObject$
|
|
458
|
+
var anObject$7 = anObject$8;
|
|
474
459
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
475
460
|
|
|
476
461
|
var $TypeError$2 = TypeError;
|
|
@@ -485,9 +470,9 @@ var WRITABLE = 'writable';
|
|
|
485
470
|
// `Object.defineProperty` method
|
|
486
471
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
487
472
|
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
488
|
-
anObject$
|
|
473
|
+
anObject$7(O);
|
|
489
474
|
P = toPropertyKey$1(P);
|
|
490
|
-
anObject$
|
|
475
|
+
anObject$7(Attributes);
|
|
491
476
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
492
477
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
493
478
|
if (current && current[WRITABLE]) {
|
|
@@ -500,9 +485,9 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
500
485
|
}
|
|
501
486
|
} return $defineProperty(O, P, Attributes);
|
|
502
487
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
503
|
-
anObject$
|
|
488
|
+
anObject$7(O);
|
|
504
489
|
P = toPropertyKey$1(P);
|
|
505
|
-
anObject$
|
|
490
|
+
anObject$7(Attributes);
|
|
506
491
|
if (IE8_DOM_DEFINE$1) try {
|
|
507
492
|
return $defineProperty(O, P, Attributes);
|
|
508
493
|
} catch (error) { /* empty */ }
|
|
@@ -552,7 +537,8 @@ var min$1 = Math.min;
|
|
|
552
537
|
// `ToLength` abstract operation
|
|
553
538
|
// https://tc39.es/ecma262/#sec-tolength
|
|
554
539
|
var toLength$2 = function (argument) {
|
|
555
|
-
|
|
540
|
+
var len = toIntegerOrInfinity$2(argument);
|
|
541
|
+
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
556
542
|
};
|
|
557
543
|
|
|
558
544
|
var toLength$1 = toLength$2;
|
|
@@ -572,6 +558,7 @@ var createMethod$2 = function (IS_INCLUDES) {
|
|
|
572
558
|
return function ($this, el, fromIndex) {
|
|
573
559
|
var O = toIndexedObject$4($this);
|
|
574
560
|
var length = lengthOfArrayLike(O);
|
|
561
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
575
562
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
576
563
|
var value;
|
|
577
564
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -598,13 +585,13 @@ var arrayIncludes = {
|
|
|
598
585
|
|
|
599
586
|
var hiddenKeys$4 = {};
|
|
600
587
|
|
|
601
|
-
var uncurryThis$
|
|
588
|
+
var uncurryThis$a = functionUncurryThis;
|
|
602
589
|
var hasOwn$7 = hasOwnProperty_1;
|
|
603
590
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
604
591
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
605
592
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
606
593
|
|
|
607
|
-
var push$1 = uncurryThis$
|
|
594
|
+
var push$1 = uncurryThis$a([].push);
|
|
608
595
|
|
|
609
596
|
var objectKeysInternal = function (object, names) {
|
|
610
597
|
var O = toIndexedObject$3(object);
|
|
@@ -643,7 +630,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
643
630
|
var DESCRIPTORS$6 = descriptors;
|
|
644
631
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
645
632
|
var definePropertyModule$3 = objectDefineProperty;
|
|
646
|
-
var anObject$
|
|
633
|
+
var anObject$6 = anObject$8;
|
|
647
634
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
648
635
|
var objectKeys$1 = objectKeys$2;
|
|
649
636
|
|
|
@@ -651,7 +638,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
651
638
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
652
639
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
653
640
|
objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
654
|
-
anObject$
|
|
641
|
+
anObject$6(O);
|
|
655
642
|
var props = toIndexedObject$2(Properties);
|
|
656
643
|
var keys = objectKeys$1(Properties);
|
|
657
644
|
var length = keys.length;
|
|
@@ -665,7 +652,7 @@ var getBuiltIn$1 = getBuiltIn$3;
|
|
|
665
652
|
|
|
666
653
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
667
654
|
|
|
668
|
-
var shared$2 = shared$4
|
|
655
|
+
var shared$2 = shared$4;
|
|
669
656
|
var uid = uid$2;
|
|
670
657
|
|
|
671
658
|
var keys = shared$2('keys');
|
|
@@ -675,7 +662,7 @@ var sharedKey$3 = function (key) {
|
|
|
675
662
|
};
|
|
676
663
|
|
|
677
664
|
/* global ActiveXObject -- old IE, WSH */
|
|
678
|
-
var anObject$
|
|
665
|
+
var anObject$5 = anObject$8;
|
|
679
666
|
var definePropertiesModule = objectDefineProperties;
|
|
680
667
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
681
668
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -749,7 +736,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
749
736
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
750
737
|
var result;
|
|
751
738
|
if (O !== null) {
|
|
752
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
739
|
+
EmptyConstructor[PROTOTYPE] = anObject$5(O);
|
|
753
740
|
result = new EmptyConstructor();
|
|
754
741
|
EmptyConstructor[PROTOTYPE] = null;
|
|
755
742
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -781,12 +768,12 @@ var addToUnscopables$1 = function (key) {
|
|
|
781
768
|
|
|
782
769
|
var iterators = {};
|
|
783
770
|
|
|
784
|
-
var global$7 = global$
|
|
785
|
-
var isCallable$
|
|
771
|
+
var global$7 = global$e;
|
|
772
|
+
var isCallable$a = isCallable$g;
|
|
786
773
|
|
|
787
774
|
var WeakMap$1 = global$7.WeakMap;
|
|
788
775
|
|
|
789
|
-
var weakMapBasicDetection = isCallable$
|
|
776
|
+
var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
790
777
|
|
|
791
778
|
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
792
779
|
return {
|
|
@@ -809,11 +796,11 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
809
796
|
};
|
|
810
797
|
|
|
811
798
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
812
|
-
var global$6 = global$
|
|
813
|
-
var isObject$
|
|
799
|
+
var global$6 = global$e;
|
|
800
|
+
var isObject$3 = isObject$8;
|
|
814
801
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
815
802
|
var hasOwn$6 = hasOwnProperty_1;
|
|
816
|
-
var shared$1 = sharedStore;
|
|
803
|
+
var shared$1 = sharedStore.exports;
|
|
817
804
|
var sharedKey$1 = sharedKey$3;
|
|
818
805
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
819
806
|
|
|
@@ -829,7 +816,7 @@ var enforce = function (it) {
|
|
|
829
816
|
var getterFor = function (TYPE) {
|
|
830
817
|
return function (it) {
|
|
831
818
|
var state;
|
|
832
|
-
if (!isObject$
|
|
819
|
+
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
|
833
820
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
834
821
|
} return state;
|
|
835
822
|
};
|
|
@@ -898,7 +885,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
898
885
|
} : $propertyIsEnumerable;
|
|
899
886
|
|
|
900
887
|
var DESCRIPTORS$4 = descriptors;
|
|
901
|
-
var call$
|
|
888
|
+
var call$8 = functionCall;
|
|
902
889
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
903
890
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
904
891
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
@@ -917,7 +904,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : f
|
|
|
917
904
|
if (IE8_DOM_DEFINE) try {
|
|
918
905
|
return $getOwnPropertyDescriptor(O, P);
|
|
919
906
|
} catch (error) { /* empty */ }
|
|
920
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$
|
|
907
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
921
908
|
};
|
|
922
909
|
|
|
923
910
|
var makeBuiltIn$2 = {exports: {}};
|
|
@@ -940,14 +927,14 @@ var functionName = {
|
|
|
940
927
|
CONFIGURABLE: CONFIGURABLE
|
|
941
928
|
};
|
|
942
929
|
|
|
943
|
-
var uncurryThis$
|
|
944
|
-
var isCallable$
|
|
945
|
-
var store = sharedStore;
|
|
930
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
931
|
+
var isCallable$9 = isCallable$g;
|
|
932
|
+
var store = sharedStore.exports;
|
|
946
933
|
|
|
947
|
-
var functionToString = uncurryThis$
|
|
934
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
948
935
|
|
|
949
936
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
950
|
-
if (!isCallable$
|
|
937
|
+
if (!isCallable$9(store.inspectSource)) {
|
|
951
938
|
store.inspectSource = function (it) {
|
|
952
939
|
return functionToString(it);
|
|
953
940
|
};
|
|
@@ -955,9 +942,9 @@ if (!isCallable$a(store.inspectSource)) {
|
|
|
955
942
|
|
|
956
943
|
var inspectSource$1 = store.inspectSource;
|
|
957
944
|
|
|
958
|
-
var uncurryThis$
|
|
945
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
959
946
|
var fails$a = fails$h;
|
|
960
|
-
var isCallable$
|
|
947
|
+
var isCallable$8 = isCallable$g;
|
|
961
948
|
var hasOwn$3 = hasOwnProperty_1;
|
|
962
949
|
var DESCRIPTORS$2 = descriptors;
|
|
963
950
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
@@ -969,9 +956,9 @@ var getInternalState$2 = InternalStateModule$1.get;
|
|
|
969
956
|
var $String$2 = String;
|
|
970
957
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
971
958
|
var defineProperty$3 = Object.defineProperty;
|
|
972
|
-
var stringSlice$4 = uncurryThis$
|
|
973
|
-
var replace$3 = uncurryThis$
|
|
974
|
-
var join = uncurryThis$
|
|
959
|
+
var stringSlice$4 = uncurryThis$8(''.slice);
|
|
960
|
+
var replace$3 = uncurryThis$8(''.replace);
|
|
961
|
+
var join = uncurryThis$8([].join);
|
|
975
962
|
|
|
976
963
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$a(function () {
|
|
977
964
|
return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -981,7 +968,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
981
968
|
|
|
982
969
|
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
983
970
|
if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
|
|
984
|
-
name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\)
|
|
971
|
+
name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
985
972
|
}
|
|
986
973
|
if (options && options.getter) name = 'get ' + name;
|
|
987
974
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -1007,10 +994,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
1007
994
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1008
995
|
// eslint-disable-next-line no-extend-native -- required
|
|
1009
996
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
1010
|
-
return isCallable$
|
|
997
|
+
return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
|
|
1011
998
|
}, 'toString');
|
|
1012
999
|
|
|
1013
|
-
var isCallable$
|
|
1000
|
+
var isCallable$7 = isCallable$g;
|
|
1014
1001
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1015
1002
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
1016
1003
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -1019,7 +1006,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
|
|
|
1019
1006
|
if (!options) options = {};
|
|
1020
1007
|
var simple = options.enumerable;
|
|
1021
1008
|
var name = options.name !== undefined ? options.name : key;
|
|
1022
|
-
if (isCallable$
|
|
1009
|
+
if (isCallable$7(value)) makeBuiltIn(value, name, options);
|
|
1023
1010
|
if (options.global) {
|
|
1024
1011
|
if (simple) O[key] = value;
|
|
1025
1012
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1058,16 +1045,16 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1058
1045
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1059
1046
|
|
|
1060
1047
|
var getBuiltIn = getBuiltIn$3;
|
|
1061
|
-
var uncurryThis$
|
|
1048
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1062
1049
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1063
1050
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1064
|
-
var anObject$
|
|
1051
|
+
var anObject$4 = anObject$8;
|
|
1065
1052
|
|
|
1066
|
-
var concat$2 = uncurryThis$
|
|
1053
|
+
var concat$2 = uncurryThis$7([].concat);
|
|
1067
1054
|
|
|
1068
1055
|
// all object keys, includes non-enumerable and symbols
|
|
1069
1056
|
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1070
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1057
|
+
var keys = getOwnPropertyNamesModule.f(anObject$4(it));
|
|
1071
1058
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1072
1059
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1073
1060
|
};
|
|
@@ -1090,7 +1077,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1090
1077
|
};
|
|
1091
1078
|
|
|
1092
1079
|
var fails$9 = fails$h;
|
|
1093
|
-
var isCallable$
|
|
1080
|
+
var isCallable$6 = isCallable$g;
|
|
1094
1081
|
|
|
1095
1082
|
var replacement = /#|\.prototype\./;
|
|
1096
1083
|
|
|
@@ -1098,7 +1085,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1098
1085
|
var value = data[normalize(feature)];
|
|
1099
1086
|
return value === POLYFILL ? true
|
|
1100
1087
|
: value === NATIVE ? false
|
|
1101
|
-
: isCallable$
|
|
1088
|
+
: isCallable$6(detection) ? fails$9(detection)
|
|
1102
1089
|
: !!detection;
|
|
1103
1090
|
};
|
|
1104
1091
|
|
|
@@ -1112,7 +1099,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1112
1099
|
|
|
1113
1100
|
var isForced_1 = isForced$1;
|
|
1114
1101
|
|
|
1115
|
-
var global$5 = global$
|
|
1102
|
+
var global$5 = global$e;
|
|
1116
1103
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1117
1104
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
1118
1105
|
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
@@ -1145,7 +1132,7 @@ var _export = function (options, source) {
|
|
|
1145
1132
|
} else if (STATIC) {
|
|
1146
1133
|
target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1147
1134
|
} else {
|
|
1148
|
-
target =
|
|
1135
|
+
target = global$5[TARGET] && global$5[TARGET].prototype;
|
|
1149
1136
|
}
|
|
1150
1137
|
if (target) for (key in source) {
|
|
1151
1138
|
sourceProperty = source[key];
|
|
@@ -1177,7 +1164,7 @@ var correctPrototypeGetter = !fails$8(function () {
|
|
|
1177
1164
|
});
|
|
1178
1165
|
|
|
1179
1166
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1180
|
-
var isCallable$
|
|
1167
|
+
var isCallable$5 = isCallable$g;
|
|
1181
1168
|
var toObject$2 = toObject$4;
|
|
1182
1169
|
var sharedKey = sharedKey$3;
|
|
1183
1170
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1193,14 +1180,14 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1193
1180
|
var object = toObject$2(O);
|
|
1194
1181
|
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1195
1182
|
var constructor = object.constructor;
|
|
1196
|
-
if (isCallable$
|
|
1183
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
1197
1184
|
return constructor.prototype;
|
|
1198
1185
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1199
1186
|
};
|
|
1200
1187
|
|
|
1201
1188
|
var fails$7 = fails$h;
|
|
1202
|
-
var isCallable$
|
|
1203
|
-
var isObject = isObject$
|
|
1189
|
+
var isCallable$4 = isCallable$g;
|
|
1190
|
+
var isObject$2 = isObject$8;
|
|
1204
1191
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1205
1192
|
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1206
1193
|
var wellKnownSymbol$7 = wellKnownSymbol$a;
|
|
@@ -1223,7 +1210,7 @@ if ([].keys) {
|
|
|
1223
1210
|
}
|
|
1224
1211
|
}
|
|
1225
1212
|
|
|
1226
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$7(function () {
|
|
1213
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$7(function () {
|
|
1227
1214
|
var test = {};
|
|
1228
1215
|
// FF44- legacy iterators case
|
|
1229
1216
|
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
|
@@ -1233,7 +1220,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1233
1220
|
|
|
1234
1221
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1235
1222
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1236
|
-
if (!isCallable$
|
|
1223
|
+
if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
|
|
1237
1224
|
defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
|
|
1238
1225
|
return this;
|
|
1239
1226
|
});
|
|
@@ -1248,19 +1235,19 @@ var defineProperty$2 = objectDefineProperty.f;
|
|
|
1248
1235
|
var hasOwn = hasOwnProperty_1;
|
|
1249
1236
|
var wellKnownSymbol$6 = wellKnownSymbol$a;
|
|
1250
1237
|
|
|
1251
|
-
var TO_STRING_TAG$
|
|
1238
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
|
|
1252
1239
|
|
|
1253
|
-
var setToStringTag$
|
|
1240
|
+
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1254
1241
|
if (target && !STATIC) target = target.prototype;
|
|
1255
|
-
if (target && !hasOwn(target, TO_STRING_TAG$
|
|
1256
|
-
defineProperty$2(target, TO_STRING_TAG$
|
|
1242
|
+
if (target && !hasOwn(target, TO_STRING_TAG$2)) {
|
|
1243
|
+
defineProperty$2(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
|
|
1257
1244
|
}
|
|
1258
1245
|
};
|
|
1259
1246
|
|
|
1260
1247
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1261
1248
|
var create$1 = objectCreate;
|
|
1262
1249
|
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1263
|
-
var setToStringTag$
|
|
1250
|
+
var setToStringTag$2 = setToStringTag$3;
|
|
1264
1251
|
var Iterators$2 = iterators;
|
|
1265
1252
|
|
|
1266
1253
|
var returnThis$1 = function () { return this; };
|
|
@@ -1268,34 +1255,41 @@ var returnThis$1 = function () { return this; };
|
|
|
1268
1255
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1269
1256
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1270
1257
|
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
1271
|
-
setToStringTag$
|
|
1258
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1272
1259
|
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
1273
1260
|
return IteratorConstructor;
|
|
1274
1261
|
};
|
|
1275
1262
|
|
|
1276
|
-
var uncurryThis$
|
|
1263
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1277
1264
|
var aCallable = aCallable$2;
|
|
1278
1265
|
|
|
1279
1266
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1280
1267
|
try {
|
|
1281
1268
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1282
|
-
return uncurryThis$
|
|
1269
|
+
return uncurryThis$6(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1283
1270
|
} catch (error) { /* empty */ }
|
|
1284
1271
|
};
|
|
1285
1272
|
|
|
1286
|
-
var
|
|
1273
|
+
var isObject$1 = isObject$8;
|
|
1274
|
+
|
|
1275
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
1276
|
+
return isObject$1(argument) || argument === null;
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1287
1280
|
|
|
1288
1281
|
var $String$1 = String;
|
|
1289
1282
|
var $TypeError$1 = TypeError;
|
|
1290
1283
|
|
|
1291
1284
|
var aPossiblePrototype$1 = function (argument) {
|
|
1292
|
-
if (
|
|
1285
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
1293
1286
|
throw new $TypeError$1("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1294
1287
|
};
|
|
1295
1288
|
|
|
1296
1289
|
/* eslint-disable no-proto -- safe */
|
|
1297
1290
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1298
|
-
var
|
|
1291
|
+
var isObject = isObject$8;
|
|
1292
|
+
var requireObjectCoercible$4 = requireObjectCoercible$7;
|
|
1299
1293
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1300
1294
|
|
|
1301
1295
|
// `Object.setPrototypeOf` method
|
|
@@ -1312,8 +1306,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1312
1306
|
CORRECT_SETTER = test instanceof Array;
|
|
1313
1307
|
} catch (error) { /* empty */ }
|
|
1314
1308
|
return function setPrototypeOf(O, proto) {
|
|
1315
|
-
|
|
1309
|
+
requireObjectCoercible$4(O);
|
|
1316
1310
|
aPossiblePrototype(proto);
|
|
1311
|
+
if (!isObject(O)) return O;
|
|
1317
1312
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1318
1313
|
else O.__proto__ = proto;
|
|
1319
1314
|
return O;
|
|
@@ -1321,13 +1316,13 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1321
1316
|
}() : undefined);
|
|
1322
1317
|
|
|
1323
1318
|
var $$3 = _export;
|
|
1324
|
-
var call$
|
|
1319
|
+
var call$7 = functionCall;
|
|
1325
1320
|
var FunctionName = functionName;
|
|
1326
|
-
var isCallable$3 = isCallable$
|
|
1321
|
+
var isCallable$3 = isCallable$g;
|
|
1327
1322
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1328
1323
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1329
1324
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1330
|
-
var setToStringTag = setToStringTag$
|
|
1325
|
+
var setToStringTag$1 = setToStringTag$3;
|
|
1331
1326
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
1332
1327
|
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1333
1328
|
var wellKnownSymbol$5 = wellKnownSymbol$a;
|
|
@@ -1383,7 +1378,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1383
1378
|
}
|
|
1384
1379
|
}
|
|
1385
1380
|
// Set @@toStringTag to native iterators
|
|
1386
|
-
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1381
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1387
1382
|
}
|
|
1388
1383
|
}
|
|
1389
1384
|
|
|
@@ -1393,7 +1388,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1393
1388
|
createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
|
|
1394
1389
|
} else {
|
|
1395
1390
|
INCORRECT_VALUES_NAME = true;
|
|
1396
|
-
defaultIterator = function values() { return call$
|
|
1391
|
+
defaultIterator = function values() { return call$7(nativeIterator, this); };
|
|
1397
1392
|
}
|
|
1398
1393
|
}
|
|
1399
1394
|
|
|
@@ -1487,6 +1482,73 @@ if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
|
1487
1482
|
defineProperty$1(values, 'name', { value: 'values' });
|
|
1488
1483
|
} catch (error) { /* empty */ }
|
|
1489
1484
|
|
|
1485
|
+
var DESCRIPTORS = descriptors;
|
|
1486
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1487
|
+
var call$6 = functionCall;
|
|
1488
|
+
var fails$6 = fails$h;
|
|
1489
|
+
var objectKeys = objectKeys$2;
|
|
1490
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1491
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1492
|
+
var toObject$1 = toObject$4;
|
|
1493
|
+
var IndexedObject = indexedObject;
|
|
1494
|
+
|
|
1495
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1496
|
+
var $assign = Object.assign;
|
|
1497
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1498
|
+
var defineProperty = Object.defineProperty;
|
|
1499
|
+
var concat$1 = uncurryThis$5([].concat);
|
|
1500
|
+
|
|
1501
|
+
// `Object.assign` method
|
|
1502
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1503
|
+
var objectAssign = !$assign || fails$6(function () {
|
|
1504
|
+
// should have correct order of operations (Edge bug)
|
|
1505
|
+
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
1506
|
+
enumerable: true,
|
|
1507
|
+
get: function () {
|
|
1508
|
+
defineProperty(this, 'b', {
|
|
1509
|
+
value: 3,
|
|
1510
|
+
enumerable: false
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1513
|
+
}), { b: 2 })).b !== 1) return true;
|
|
1514
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1515
|
+
var A = {};
|
|
1516
|
+
var B = {};
|
|
1517
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
1518
|
+
var symbol = Symbol('assign detection');
|
|
1519
|
+
var alphabet = 'abcdefghijklmnopqrst';
|
|
1520
|
+
A[symbol] = 7;
|
|
1521
|
+
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1522
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1523
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1524
|
+
var T = toObject$1(target);
|
|
1525
|
+
var argumentsLength = arguments.length;
|
|
1526
|
+
var index = 1;
|
|
1527
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1528
|
+
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1529
|
+
while (argumentsLength > index) {
|
|
1530
|
+
var S = IndexedObject(arguments[index++]);
|
|
1531
|
+
var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1532
|
+
var length = keys.length;
|
|
1533
|
+
var j = 0;
|
|
1534
|
+
var key;
|
|
1535
|
+
while (length > j) {
|
|
1536
|
+
key = keys[j++];
|
|
1537
|
+
if (!DESCRIPTORS || call$6(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1538
|
+
}
|
|
1539
|
+
} return T;
|
|
1540
|
+
} : $assign;
|
|
1541
|
+
|
|
1542
|
+
var $$2 = _export;
|
|
1543
|
+
var assign = objectAssign;
|
|
1544
|
+
|
|
1545
|
+
// `Object.assign` method
|
|
1546
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1547
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1548
|
+
$$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1549
|
+
assign: assign
|
|
1550
|
+
});
|
|
1551
|
+
|
|
1490
1552
|
// iterable DOM collections
|
|
1491
1553
|
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1492
1554
|
var domIterables = {
|
|
@@ -1531,15 +1593,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1531
1593
|
|
|
1532
1594
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1533
1595
|
|
|
1534
|
-
var global$4 = global$
|
|
1596
|
+
var global$4 = global$e;
|
|
1535
1597
|
var DOMIterables = domIterables;
|
|
1536
1598
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1537
1599
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1538
1600
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
1601
|
+
var setToStringTag = setToStringTag$3;
|
|
1539
1602
|
var wellKnownSymbol$4 = wellKnownSymbol$a;
|
|
1540
1603
|
|
|
1541
1604
|
var ITERATOR = wellKnownSymbol$4('iterator');
|
|
1542
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
|
|
1543
1605
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1544
1606
|
|
|
1545
1607
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1550,9 +1612,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1550
1612
|
} catch (error) {
|
|
1551
1613
|
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1552
1614
|
}
|
|
1553
|
-
|
|
1554
|
-
createNonEnumerableProperty$1(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
|
1555
|
-
}
|
|
1615
|
+
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1556
1616
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1557
1617
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1558
1618
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
@@ -1570,73 +1630,6 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1570
1630
|
|
|
1571
1631
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1572
1632
|
|
|
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
1633
|
/******************************************************************************
|
|
1641
1634
|
Copyright (c) Microsoft Corporation.
|
|
1642
1635
|
|
|
@@ -1689,15 +1682,15 @@ test[TO_STRING_TAG$1] = 'z';
|
|
|
1689
1682
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1690
1683
|
|
|
1691
1684
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1692
|
-
var isCallable$2 = isCallable$
|
|
1693
|
-
var classofRaw
|
|
1685
|
+
var isCallable$2 = isCallable$g;
|
|
1686
|
+
var classofRaw = classofRaw$1;
|
|
1694
1687
|
var wellKnownSymbol$2 = wellKnownSymbol$a;
|
|
1695
1688
|
|
|
1696
1689
|
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
1697
1690
|
var $Object = Object;
|
|
1698
1691
|
|
|
1699
1692
|
// ES3 wrong here
|
|
1700
|
-
var CORRECT_ARGUMENTS = classofRaw
|
|
1693
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1701
1694
|
|
|
1702
1695
|
// fallback for IE11 Script Access Denied error
|
|
1703
1696
|
var tryGet = function (it, key) {
|
|
@@ -1707,15 +1700,15 @@ var tryGet = function (it, key) {
|
|
|
1707
1700
|
};
|
|
1708
1701
|
|
|
1709
1702
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1710
|
-
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw
|
|
1703
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1711
1704
|
var O, tag, result;
|
|
1712
1705
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1713
1706
|
// @@toStringTag case
|
|
1714
1707
|
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1715
1708
|
// builtinTag case
|
|
1716
|
-
: CORRECT_ARGUMENTS ? classofRaw
|
|
1709
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1717
1710
|
// ES3 arguments fallback
|
|
1718
|
-
: (result = classofRaw
|
|
1711
|
+
: (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
|
|
1719
1712
|
};
|
|
1720
1713
|
|
|
1721
1714
|
var classof$1 = classof$2;
|
|
@@ -1727,7 +1720,7 @@ var toString$5 = function (argument) {
|
|
|
1727
1720
|
return $String(argument);
|
|
1728
1721
|
};
|
|
1729
1722
|
|
|
1730
|
-
var anObject$3 = anObject$
|
|
1723
|
+
var anObject$3 = anObject$8;
|
|
1731
1724
|
|
|
1732
1725
|
// `RegExp.prototype.flags` getter implementation
|
|
1733
1726
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
@@ -1746,7 +1739,7 @@ var regexpFlags$1 = function () {
|
|
|
1746
1739
|
};
|
|
1747
1740
|
|
|
1748
1741
|
var fails$5 = fails$h;
|
|
1749
|
-
var global$3 = global$
|
|
1742
|
+
var global$3 = global$e;
|
|
1750
1743
|
|
|
1751
1744
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1752
1745
|
var $RegExp$2 = global$3.RegExp;
|
|
@@ -1777,7 +1770,7 @@ var regexpStickyHelpers = {
|
|
|
1777
1770
|
};
|
|
1778
1771
|
|
|
1779
1772
|
var fails$4 = fails$h;
|
|
1780
|
-
var global$2 = global$
|
|
1773
|
+
var global$2 = global$e;
|
|
1781
1774
|
|
|
1782
1775
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1783
1776
|
var $RegExp$1 = global$2.RegExp;
|
|
@@ -1788,7 +1781,7 @@ var regexpUnsupportedDotAll = fails$4(function () {
|
|
|
1788
1781
|
});
|
|
1789
1782
|
|
|
1790
1783
|
var fails$3 = fails$h;
|
|
1791
|
-
var global$1 = global$
|
|
1784
|
+
var global$1 = global$e;
|
|
1792
1785
|
|
|
1793
1786
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1794
1787
|
var $RegExp = global$1.RegExp;
|
|
@@ -1801,12 +1794,12 @@ var regexpUnsupportedNcg = fails$3(function () {
|
|
|
1801
1794
|
|
|
1802
1795
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1803
1796
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1804
|
-
var call$
|
|
1805
|
-
var uncurryThis$
|
|
1797
|
+
var call$5 = functionCall;
|
|
1798
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1806
1799
|
var toString$4 = toString$5;
|
|
1807
1800
|
var regexpFlags = regexpFlags$1;
|
|
1808
1801
|
var stickyHelpers = regexpStickyHelpers;
|
|
1809
|
-
var shared = shared$4
|
|
1802
|
+
var shared = shared$4;
|
|
1810
1803
|
var create = objectCreate;
|
|
1811
1804
|
var getInternalState = internalState.get;
|
|
1812
1805
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
@@ -1815,16 +1808,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
1815
1808
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1816
1809
|
var nativeExec = RegExp.prototype.exec;
|
|
1817
1810
|
var patchedExec = nativeExec;
|
|
1818
|
-
var charAt$3 = uncurryThis$
|
|
1819
|
-
var indexOf = uncurryThis$
|
|
1820
|
-
var replace$2 = uncurryThis$
|
|
1821
|
-
var stringSlice$3 = uncurryThis$
|
|
1811
|
+
var charAt$3 = uncurryThis$4(''.charAt);
|
|
1812
|
+
var indexOf = uncurryThis$4(''.indexOf);
|
|
1813
|
+
var replace$2 = uncurryThis$4(''.replace);
|
|
1814
|
+
var stringSlice$3 = uncurryThis$4(''.slice);
|
|
1822
1815
|
|
|
1823
1816
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1824
1817
|
var re1 = /a/;
|
|
1825
1818
|
var re2 = /b*/g;
|
|
1826
|
-
call$
|
|
1827
|
-
call$
|
|
1819
|
+
call$5(nativeExec, re1, 'a');
|
|
1820
|
+
call$5(nativeExec, re2, 'a');
|
|
1828
1821
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1829
1822
|
})();
|
|
1830
1823
|
|
|
@@ -1845,14 +1838,14 @@ if (PATCH) {
|
|
|
1845
1838
|
|
|
1846
1839
|
if (raw) {
|
|
1847
1840
|
raw.lastIndex = re.lastIndex;
|
|
1848
|
-
result = call$
|
|
1841
|
+
result = call$5(patchedExec, raw, str);
|
|
1849
1842
|
re.lastIndex = raw.lastIndex;
|
|
1850
1843
|
return result;
|
|
1851
1844
|
}
|
|
1852
1845
|
|
|
1853
1846
|
var groups = state.groups;
|
|
1854
1847
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1855
|
-
var flags = call$
|
|
1848
|
+
var flags = call$5(regexpFlags, re);
|
|
1856
1849
|
var source = re.source;
|
|
1857
1850
|
var charsAdded = 0;
|
|
1858
1851
|
var strCopy = str;
|
|
@@ -1880,7 +1873,7 @@ if (PATCH) {
|
|
|
1880
1873
|
}
|
|
1881
1874
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1882
1875
|
|
|
1883
|
-
match = call$
|
|
1876
|
+
match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1884
1877
|
|
|
1885
1878
|
if (sticky) {
|
|
1886
1879
|
if (match) {
|
|
@@ -1895,7 +1888,7 @@ if (PATCH) {
|
|
|
1895
1888
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1896
1889
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1897
1890
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1898
|
-
call$
|
|
1891
|
+
call$5(nativeReplace, match[0], reCopy, function () {
|
|
1899
1892
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1900
1893
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1901
1894
|
}
|
|
@@ -1929,26 +1922,16 @@ var NATIVE_BIND = functionBindNative;
|
|
|
1929
1922
|
|
|
1930
1923
|
var FunctionPrototype = Function.prototype;
|
|
1931
1924
|
var apply$1 = FunctionPrototype.apply;
|
|
1932
|
-
var call$
|
|
1925
|
+
var call$4 = FunctionPrototype.call;
|
|
1933
1926
|
|
|
1934
1927
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1935
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$
|
|
1936
|
-
return call$
|
|
1928
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () {
|
|
1929
|
+
return call$4.apply(apply$1, arguments);
|
|
1937
1930
|
});
|
|
1938
1931
|
|
|
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
1932
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1950
1933
|
|
|
1951
|
-
var
|
|
1934
|
+
var call$3 = functionCall;
|
|
1952
1935
|
var defineBuiltIn = defineBuiltIn$4;
|
|
1953
1936
|
var regexpExec$1 = regexpExec$2;
|
|
1954
1937
|
var fails$2 = fails$h;
|
|
@@ -1962,7 +1945,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1962
1945
|
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
1963
1946
|
|
|
1964
1947
|
var DELEGATES_TO_SYMBOL = !fails$2(function () {
|
|
1965
|
-
// String methods call symbol-named
|
|
1948
|
+
// String methods call symbol-named RegExp methods
|
|
1966
1949
|
var O = {};
|
|
1967
1950
|
O[SYMBOL] = function () { return 7; };
|
|
1968
1951
|
return ''[KEY](O) !== 7;
|
|
@@ -2000,18 +1983,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2000
1983
|
!DELEGATES_TO_EXEC ||
|
|
2001
1984
|
FORCED
|
|
2002
1985
|
) {
|
|
2003
|
-
var
|
|
1986
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
2004
1987
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
2005
|
-
var uncurriedNativeMethod = uncurryThis$4(nativeMethod);
|
|
2006
1988
|
var $exec = regexp.exec;
|
|
2007
1989
|
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
2008
1990
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
2009
1991
|
// The native String method already delegates to @@method (this
|
|
2010
1992
|
// polyfilled function), leasing to infinite recursion.
|
|
2011
1993
|
// We avoid it by directly calling the native @@method method.
|
|
2012
|
-
return { done: true, value:
|
|
1994
|
+
return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
|
|
2013
1995
|
}
|
|
2014
|
-
return { done: true, value:
|
|
1996
|
+
return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
|
|
2015
1997
|
}
|
|
2016
1998
|
return { done: false };
|
|
2017
1999
|
});
|
|
@@ -2026,7 +2008,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2026
2008
|
var uncurryThis$3 = functionUncurryThis;
|
|
2027
2009
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
|
|
2028
2010
|
var toString$3 = toString$5;
|
|
2029
|
-
var requireObjectCoercible$3 = requireObjectCoercible$
|
|
2011
|
+
var requireObjectCoercible$3 = requireObjectCoercible$7;
|
|
2030
2012
|
|
|
2031
2013
|
var charAt$2 = uncurryThis$3(''.charAt);
|
|
2032
2014
|
var charCodeAt = uncurryThis$3(''.charCodeAt);
|
|
@@ -2115,9 +2097,9 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
2115
2097
|
};
|
|
2116
2098
|
|
|
2117
2099
|
var call$2 = functionCall;
|
|
2118
|
-
var anObject$2 = anObject$
|
|
2119
|
-
var isCallable$1 = isCallable$
|
|
2120
|
-
var classof = classofRaw$
|
|
2100
|
+
var anObject$2 = anObject$8;
|
|
2101
|
+
var isCallable$1 = isCallable$g;
|
|
2102
|
+
var classof = classofRaw$1;
|
|
2121
2103
|
var regexpExec = regexpExec$2;
|
|
2122
2104
|
|
|
2123
2105
|
var $TypeError = TypeError;
|
|
@@ -2140,13 +2122,13 @@ var call$1 = functionCall;
|
|
|
2140
2122
|
var uncurryThis$1 = functionUncurryThis;
|
|
2141
2123
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
2142
2124
|
var fails$1 = fails$h;
|
|
2143
|
-
var anObject$1 = anObject$
|
|
2144
|
-
var isCallable = isCallable$
|
|
2125
|
+
var anObject$1 = anObject$8;
|
|
2126
|
+
var isCallable = isCallable$g;
|
|
2145
2127
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2146
2128
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
2147
2129
|
var toLength = toLength$2;
|
|
2148
2130
|
var toString$2 = toString$5;
|
|
2149
|
-
var requireObjectCoercible$2 = requireObjectCoercible$
|
|
2131
|
+
var requireObjectCoercible$2 = requireObjectCoercible$7;
|
|
2150
2132
|
var advanceStringIndex = advanceStringIndex$1;
|
|
2151
2133
|
var getMethod$1 = getMethod$3;
|
|
2152
2134
|
var getSubstitution = getSubstitution$1;
|
|
@@ -2579,9 +2561,9 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
2579
2561
|
|
|
2580
2562
|
var call = functionCall;
|
|
2581
2563
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
2582
|
-
var anObject = anObject$
|
|
2564
|
+
var anObject = anObject$8;
|
|
2583
2565
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
2584
|
-
var requireObjectCoercible$1 = requireObjectCoercible$
|
|
2566
|
+
var requireObjectCoercible$1 = requireObjectCoercible$7;
|
|
2585
2567
|
var sameValue = sameValue$1;
|
|
2586
2568
|
var toString$1 = toString$5;
|
|
2587
2569
|
var getMethod = getMethod$3;
|
|
@@ -2620,7 +2602,7 @@ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
2620
2602
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
2621
2603
|
|
|
2622
2604
|
var uncurryThis = functionUncurryThis;
|
|
2623
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
2605
|
+
var requireObjectCoercible = requireObjectCoercible$7;
|
|
2624
2606
|
var toString = toString$5;
|
|
2625
2607
|
var whitespaces$1 = whitespaces$2;
|
|
2626
2608
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/molecules-dropdown",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@bolttech/atoms-icon": "0.22.1",
|
|
9
|
-
"@bolttech/atoms-input": "0.
|
|
9
|
+
"@bolttech/atoms-input": "0.24.0",
|
|
10
10
|
"@bolttech/atoms-select": "0.21.2",
|
|
11
|
-
"@bolttech/default-theme": "0.
|
|
12
|
-
"@bolttech/form-engine": "0.
|
|
13
|
-
"@bolttech/frontend-foundations": "0.
|
|
14
|
-
"@bolttech/ui-utils": "0.
|
|
11
|
+
"@bolttech/default-theme": "0.7.0",
|
|
12
|
+
"@bolttech/form-engine": "3.0.1-beta.5",
|
|
13
|
+
"@bolttech/frontend-foundations": "0.8.2",
|
|
14
|
+
"@bolttech/ui-utils": "0.3.0",
|
|
15
15
|
"react": "18.2.0",
|
|
16
16
|
"react-dom": "18.2.0",
|
|
17
17
|
"styled-components": "6.1.1"
|