@beeq/tailwindcss 1.12.3-beta.1 → 1.12.14-beta.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.js +448 -991
- package/index.esm.js +448 -991
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -29,7 +29,7 @@ var globalThis_1 =
|
|
|
29
29
|
|
|
30
30
|
var objectGetOwnPropertyDescriptor = {};
|
|
31
31
|
|
|
32
|
-
var fails$
|
|
32
|
+
var fails$e = function (exec) {
|
|
33
33
|
try {
|
|
34
34
|
return !!exec();
|
|
35
35
|
} catch (error) {
|
|
@@ -37,17 +37,17 @@ var fails$f = function (exec) {
|
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
var fails$
|
|
40
|
+
var fails$d = fails$e;
|
|
41
41
|
|
|
42
42
|
// Detect IE8's incomplete defineProperty implementation
|
|
43
|
-
var descriptors = !fails$
|
|
43
|
+
var descriptors = !fails$d(function () {
|
|
44
44
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
45
45
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
var fails$
|
|
48
|
+
var fails$c = fails$e;
|
|
49
49
|
|
|
50
|
-
var functionBindNative = !fails$
|
|
50
|
+
var functionBindNative = !fails$c(function () {
|
|
51
51
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
52
52
|
var test = (function () { /* empty */ }).bind();
|
|
53
53
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -56,10 +56,10 @@ var functionBindNative = !fails$d(function () {
|
|
|
56
56
|
|
|
57
57
|
var NATIVE_BIND$3 = functionBindNative;
|
|
58
58
|
|
|
59
|
-
var call$
|
|
59
|
+
var call$d = Function.prototype.call;
|
|
60
60
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
61
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
62
|
-
return call$
|
|
61
|
+
var functionCall = NATIVE_BIND$3 ? call$d.bind(call$d) : function () {
|
|
62
|
+
return call$d.apply(call$d, arguments);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
var objectPropertyIsEnumerable = {};
|
|
@@ -78,7 +78,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
78
78
|
return !!descriptor && descriptor.enumerable;
|
|
79
79
|
} : $propertyIsEnumerable;
|
|
80
80
|
|
|
81
|
-
var createPropertyDescriptor$
|
|
81
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
82
82
|
return {
|
|
83
83
|
enumerable: !(bitmap & 1),
|
|
84
84
|
configurable: !(bitmap & 2),
|
|
@@ -90,39 +90,39 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
|
90
90
|
var NATIVE_BIND$2 = functionBindNative;
|
|
91
91
|
|
|
92
92
|
var FunctionPrototype$2 = Function.prototype;
|
|
93
|
-
var call$
|
|
93
|
+
var call$c = FunctionPrototype$2.call;
|
|
94
94
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
95
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
95
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$c, call$c);
|
|
96
96
|
|
|
97
97
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
98
98
|
return function () {
|
|
99
|
-
return call$
|
|
99
|
+
return call$c.apply(fn, arguments);
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
var uncurryThis$
|
|
103
|
+
var uncurryThis$e = functionUncurryThis;
|
|
104
104
|
|
|
105
|
-
var toString$
|
|
106
|
-
var stringSlice$1 = uncurryThis$
|
|
105
|
+
var toString$1 = uncurryThis$e({}.toString);
|
|
106
|
+
var stringSlice$1 = uncurryThis$e(''.slice);
|
|
107
107
|
|
|
108
108
|
var classofRaw$2 = function (it) {
|
|
109
|
-
return stringSlice$1(toString$
|
|
109
|
+
return stringSlice$1(toString$1(it), 8, -1);
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
var uncurryThis$
|
|
113
|
-
var fails$
|
|
114
|
-
var classof$
|
|
112
|
+
var uncurryThis$d = functionUncurryThis;
|
|
113
|
+
var fails$b = fails$e;
|
|
114
|
+
var classof$2 = classofRaw$2;
|
|
115
115
|
|
|
116
116
|
var $Object$4 = Object;
|
|
117
|
-
var split = uncurryThis$
|
|
117
|
+
var split = uncurryThis$d(''.split);
|
|
118
118
|
|
|
119
119
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
120
|
-
var indexedObject = fails$
|
|
120
|
+
var indexedObject = fails$b(function () {
|
|
121
121
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
122
122
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
123
123
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
124
124
|
}) ? function (it) {
|
|
125
|
-
return classof$
|
|
125
|
+
return classof$2(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
126
126
|
} : $Object$4;
|
|
127
127
|
|
|
128
128
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -133,21 +133,21 @@ var isNullOrUndefined$3 = function (it) {
|
|
|
133
133
|
|
|
134
134
|
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
135
135
|
|
|
136
|
-
var $TypeError$
|
|
136
|
+
var $TypeError$b = TypeError;
|
|
137
137
|
|
|
138
138
|
// `RequireObjectCoercible` abstract operation
|
|
139
139
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
140
|
-
var requireObjectCoercible$
|
|
141
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$
|
|
140
|
+
var requireObjectCoercible$2 = function (it) {
|
|
141
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
|
|
142
142
|
return it;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
// toObject with fallback for non-array-like ES3 strings
|
|
146
146
|
var IndexedObject = indexedObject;
|
|
147
|
-
var requireObjectCoercible$
|
|
147
|
+
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
148
148
|
|
|
149
|
-
var toIndexedObject$
|
|
150
|
-
return IndexedObject(requireObjectCoercible$
|
|
149
|
+
var toIndexedObject$4 = function (it) {
|
|
150
|
+
return IndexedObject(requireObjectCoercible$1(it));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -156,45 +156,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
156
156
|
// `IsCallable` abstract operation
|
|
157
157
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
158
158
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
159
|
-
var isCallable$
|
|
159
|
+
var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
160
160
|
return typeof argument == 'function' || argument === documentAll;
|
|
161
161
|
} : function (argument) {
|
|
162
162
|
return typeof argument == 'function';
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
var isCallable$
|
|
165
|
+
var isCallable$d = isCallable$e;
|
|
166
166
|
|
|
167
|
-
var isObject$
|
|
168
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
167
|
+
var isObject$6 = function (it) {
|
|
168
|
+
return typeof it == 'object' ? it !== null : isCallable$d(it);
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
var globalThis$
|
|
172
|
-
var isCallable$
|
|
171
|
+
var globalThis$d = globalThis_1;
|
|
172
|
+
var isCallable$c = isCallable$e;
|
|
173
173
|
|
|
174
174
|
var aFunction = function (argument) {
|
|
175
|
-
return isCallable$
|
|
175
|
+
return isCallable$c(argument) ? argument : undefined;
|
|
176
176
|
};
|
|
177
177
|
|
|
178
|
-
var getBuiltIn$
|
|
179
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
178
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
179
|
+
return arguments.length < 2 ? aFunction(globalThis$d[namespace]) : globalThis$d[namespace] && globalThis$d[namespace][method];
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
var uncurryThis$
|
|
182
|
+
var uncurryThis$c = functionUncurryThis;
|
|
183
183
|
|
|
184
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
184
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
185
185
|
|
|
186
|
-
var globalThis$
|
|
186
|
+
var globalThis$c = globalThis_1;
|
|
187
187
|
|
|
188
|
-
var navigator = globalThis$
|
|
188
|
+
var navigator = globalThis$c.navigator;
|
|
189
189
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
190
190
|
|
|
191
191
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
192
192
|
|
|
193
|
-
var globalThis$
|
|
193
|
+
var globalThis$b = globalThis_1;
|
|
194
194
|
var userAgent = environmentUserAgent;
|
|
195
195
|
|
|
196
|
-
var process = globalThis$
|
|
197
|
-
var Deno = globalThis$
|
|
196
|
+
var process = globalThis$b.process;
|
|
197
|
+
var Deno = globalThis$b.Deno;
|
|
198
198
|
var versions = process && process.versions || Deno && Deno.version;
|
|
199
199
|
var v8 = versions && versions.v8;
|
|
200
200
|
var match, version;
|
|
@@ -220,19 +220,19 @@ var environmentV8Version = version;
|
|
|
220
220
|
|
|
221
221
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
222
222
|
var V8_VERSION = environmentV8Version;
|
|
223
|
-
var fails$
|
|
224
|
-
var globalThis$
|
|
223
|
+
var fails$a = fails$e;
|
|
224
|
+
var globalThis$a = globalThis_1;
|
|
225
225
|
|
|
226
|
-
var $String$
|
|
226
|
+
var $String$3 = globalThis$a.String;
|
|
227
227
|
|
|
228
228
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
229
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
229
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {
|
|
230
230
|
var symbol = Symbol('symbol detection');
|
|
231
231
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
232
232
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
233
233
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
234
234
|
// of course, fail.
|
|
235
|
-
return !$String$
|
|
235
|
+
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
236
236
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
237
237
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
238
238
|
});
|
|
@@ -244,9 +244,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
244
244
|
!Symbol.sham &&
|
|
245
245
|
typeof Symbol.iterator == 'symbol';
|
|
246
246
|
|
|
247
|
-
var getBuiltIn$
|
|
248
|
-
var isCallable$
|
|
249
|
-
var isPrototypeOf$
|
|
247
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
248
|
+
var isCallable$b = isCallable$e;
|
|
249
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
250
250
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
251
251
|
|
|
252
252
|
var $Object$3 = Object;
|
|
@@ -254,29 +254,29 @@ var $Object$3 = Object;
|
|
|
254
254
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
255
255
|
return typeof it == 'symbol';
|
|
256
256
|
} : function (it) {
|
|
257
|
-
var $Symbol = getBuiltIn$
|
|
258
|
-
return isCallable$
|
|
257
|
+
var $Symbol = getBuiltIn$3('Symbol');
|
|
258
|
+
return isCallable$b($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
var $String$
|
|
261
|
+
var $String$2 = String;
|
|
262
262
|
|
|
263
263
|
var tryToString$3 = function (argument) {
|
|
264
264
|
try {
|
|
265
|
-
return $String$
|
|
265
|
+
return $String$2(argument);
|
|
266
266
|
} catch (error) {
|
|
267
267
|
return 'Object';
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
var isCallable$
|
|
271
|
+
var isCallable$a = isCallable$e;
|
|
272
272
|
var tryToString$2 = tryToString$3;
|
|
273
273
|
|
|
274
|
-
var $TypeError$
|
|
274
|
+
var $TypeError$a = TypeError;
|
|
275
275
|
|
|
276
276
|
// `Assert: IsCallable(argument) is true`
|
|
277
277
|
var aCallable$9 = function (argument) {
|
|
278
|
-
if (isCallable$
|
|
279
|
-
throw new $TypeError$
|
|
278
|
+
if (isCallable$a(argument)) return argument;
|
|
279
|
+
throw new $TypeError$a(tryToString$2(argument) + ' is not a function');
|
|
280
280
|
};
|
|
281
281
|
|
|
282
282
|
var aCallable$8 = aCallable$9;
|
|
@@ -289,44 +289,44 @@ var getMethod$4 = function (V, P) {
|
|
|
289
289
|
return isNullOrUndefined$1(func) ? undefined : aCallable$8(func);
|
|
290
290
|
};
|
|
291
291
|
|
|
292
|
-
var call$
|
|
293
|
-
var isCallable$
|
|
294
|
-
var isObject$
|
|
292
|
+
var call$b = functionCall;
|
|
293
|
+
var isCallable$9 = isCallable$e;
|
|
294
|
+
var isObject$5 = isObject$6;
|
|
295
295
|
|
|
296
|
-
var $TypeError$
|
|
296
|
+
var $TypeError$9 = TypeError;
|
|
297
297
|
|
|
298
298
|
// `OrdinaryToPrimitive` abstract operation
|
|
299
299
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
300
300
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
301
301
|
var fn, val;
|
|
302
|
-
if (pref === 'string' && isCallable$
|
|
303
|
-
if (isCallable$
|
|
304
|
-
if (pref !== 'string' && isCallable$
|
|
305
|
-
throw new $TypeError$
|
|
302
|
+
if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$b(fn, input))) return val;
|
|
303
|
+
if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$b(fn, input))) return val;
|
|
304
|
+
if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$b(fn, input))) return val;
|
|
305
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
306
306
|
};
|
|
307
307
|
|
|
308
308
|
var sharedStore = {exports: {}};
|
|
309
309
|
|
|
310
310
|
var isPure = false;
|
|
311
311
|
|
|
312
|
-
var globalThis$
|
|
312
|
+
var globalThis$9 = globalThis_1;
|
|
313
313
|
|
|
314
314
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
315
|
-
var defineProperty$
|
|
315
|
+
var defineProperty$2 = Object.defineProperty;
|
|
316
316
|
|
|
317
317
|
var defineGlobalProperty$3 = function (key, value) {
|
|
318
318
|
try {
|
|
319
|
-
defineProperty$
|
|
319
|
+
defineProperty$2(globalThis$9, key, { value: value, configurable: true, writable: true });
|
|
320
320
|
} catch (error) {
|
|
321
|
-
globalThis$
|
|
321
|
+
globalThis$9[key] = value;
|
|
322
322
|
} return value;
|
|
323
323
|
};
|
|
324
324
|
|
|
325
|
-
var globalThis$
|
|
325
|
+
var globalThis$8 = globalThis_1;
|
|
326
326
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
327
327
|
|
|
328
328
|
var SHARED = '__core-js_shared__';
|
|
329
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
329
|
+
var store$3 = sharedStore.exports = globalThis$8[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
330
330
|
|
|
331
331
|
(store$3.versions || (store$3.versions = [])).push({
|
|
332
332
|
version: '3.47.0',
|
|
@@ -344,20 +344,20 @@ var shared$3 = function (key, value) {
|
|
|
344
344
|
return store$2[key] || (store$2[key] = value || {});
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
-
var requireObjectCoercible
|
|
347
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
|
348
348
|
|
|
349
349
|
var $Object$2 = Object;
|
|
350
350
|
|
|
351
351
|
// `ToObject` abstract operation
|
|
352
352
|
// https://tc39.es/ecma262/#sec-toobject
|
|
353
353
|
var toObject$2 = function (argument) {
|
|
354
|
-
return $Object$2(requireObjectCoercible
|
|
354
|
+
return $Object$2(requireObjectCoercible(argument));
|
|
355
355
|
};
|
|
356
356
|
|
|
357
|
-
var uncurryThis$
|
|
357
|
+
var uncurryThis$b = functionUncurryThis;
|
|
358
358
|
var toObject$1 = toObject$2;
|
|
359
359
|
|
|
360
|
-
var hasOwnProperty = uncurryThis$
|
|
360
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
361
361
|
|
|
362
362
|
// `HasOwnProperty` abstract operation
|
|
363
363
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -366,56 +366,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
366
366
|
return hasOwnProperty(toObject$1(it), key);
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
var uncurryThis$
|
|
369
|
+
var uncurryThis$a = functionUncurryThis;
|
|
370
370
|
|
|
371
371
|
var id = 0;
|
|
372
372
|
var postfix = Math.random();
|
|
373
|
-
var toString
|
|
373
|
+
var toString = uncurryThis$a(1.1.toString);
|
|
374
374
|
|
|
375
375
|
var uid$2 = function (key) {
|
|
376
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString
|
|
376
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
377
377
|
};
|
|
378
378
|
|
|
379
|
-
var globalThis$
|
|
379
|
+
var globalThis$7 = globalThis_1;
|
|
380
380
|
var shared$2 = shared$3;
|
|
381
|
-
var hasOwn$
|
|
381
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
382
382
|
var uid$1 = uid$2;
|
|
383
383
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
384
384
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
385
385
|
|
|
386
|
-
var Symbol$1 = globalThis$
|
|
386
|
+
var Symbol$1 = globalThis$7.Symbol;
|
|
387
387
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
388
388
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
389
389
|
|
|
390
|
-
var wellKnownSymbol$
|
|
391
|
-
if (!hasOwn$
|
|
392
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
390
|
+
var wellKnownSymbol$8 = function (name) {
|
|
391
|
+
if (!hasOwn$8(WellKnownSymbolsStore, name)) {
|
|
392
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
|
|
393
393
|
? Symbol$1[name]
|
|
394
394
|
: createWellKnownSymbol('Symbol.' + name);
|
|
395
395
|
} return WellKnownSymbolsStore[name];
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
var call$
|
|
399
|
-
var isObject$
|
|
398
|
+
var call$a = functionCall;
|
|
399
|
+
var isObject$4 = isObject$6;
|
|
400
400
|
var isSymbol$1 = isSymbol$2;
|
|
401
401
|
var getMethod$3 = getMethod$4;
|
|
402
402
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
403
|
-
var wellKnownSymbol$
|
|
403
|
+
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
404
404
|
|
|
405
|
-
var $TypeError$
|
|
406
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
405
|
+
var $TypeError$8 = TypeError;
|
|
406
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
407
407
|
|
|
408
408
|
// `ToPrimitive` abstract operation
|
|
409
409
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
410
410
|
var toPrimitive$1 = function (input, pref) {
|
|
411
|
-
if (!isObject$
|
|
411
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
412
412
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
413
413
|
var result;
|
|
414
414
|
if (exoticToPrim) {
|
|
415
415
|
if (pref === undefined) pref = 'default';
|
|
416
|
-
result = call$
|
|
417
|
-
if (!isObject$
|
|
418
|
-
throw new $TypeError$
|
|
416
|
+
result = call$a(exoticToPrim, input, pref);
|
|
417
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
418
|
+
throw new $TypeError$8("Can't convert object to primitive value");
|
|
419
419
|
}
|
|
420
420
|
if (pref === undefined) pref = 'number';
|
|
421
421
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -431,36 +431,36 @@ var toPropertyKey$2 = function (argument) {
|
|
|
431
431
|
return isSymbol(key) ? key : key + '';
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
var globalThis$
|
|
435
|
-
var isObject$
|
|
434
|
+
var globalThis$6 = globalThis_1;
|
|
435
|
+
var isObject$3 = isObject$6;
|
|
436
436
|
|
|
437
|
-
var document$1 = globalThis$
|
|
437
|
+
var document$1 = globalThis$6.document;
|
|
438
438
|
// typeof document.createElement is 'object' in old IE
|
|
439
|
-
var EXISTS$1 = isObject$
|
|
439
|
+
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
440
440
|
|
|
441
|
-
var documentCreateElement$
|
|
441
|
+
var documentCreateElement$1 = function (it) {
|
|
442
442
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
443
443
|
};
|
|
444
444
|
|
|
445
|
-
var DESCRIPTORS$
|
|
446
|
-
var fails$
|
|
447
|
-
var createElement = documentCreateElement$
|
|
445
|
+
var DESCRIPTORS$9 = descriptors;
|
|
446
|
+
var fails$9 = fails$e;
|
|
447
|
+
var createElement = documentCreateElement$1;
|
|
448
448
|
|
|
449
449
|
// Thanks to IE8 for its funny defineProperty
|
|
450
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
450
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () {
|
|
451
451
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
452
452
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
453
453
|
get: function () { return 7; }
|
|
454
454
|
}).a !== 7;
|
|
455
455
|
});
|
|
456
456
|
|
|
457
|
-
var DESCRIPTORS$
|
|
458
|
-
var call$
|
|
457
|
+
var DESCRIPTORS$8 = descriptors;
|
|
458
|
+
var call$9 = functionCall;
|
|
459
459
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
460
|
-
var createPropertyDescriptor$
|
|
461
|
-
var toIndexedObject$
|
|
460
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
461
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
|
462
462
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
463
|
-
var hasOwn$
|
|
463
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
464
464
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
465
465
|
|
|
466
466
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -468,23 +468,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
468
468
|
|
|
469
469
|
// `Object.getOwnPropertyDescriptor` method
|
|
470
470
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
471
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
472
|
-
O = toIndexedObject$
|
|
471
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
472
|
+
O = toIndexedObject$3(O);
|
|
473
473
|
P = toPropertyKey$1(P);
|
|
474
474
|
if (IE8_DOM_DEFINE$1) try {
|
|
475
475
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
476
476
|
} catch (error) { /* empty */ }
|
|
477
|
-
if (hasOwn$
|
|
477
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$9(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
478
478
|
};
|
|
479
479
|
|
|
480
480
|
var objectDefineProperty = {};
|
|
481
481
|
|
|
482
|
-
var DESCRIPTORS$
|
|
483
|
-
var fails$
|
|
482
|
+
var DESCRIPTORS$7 = descriptors;
|
|
483
|
+
var fails$8 = fails$e;
|
|
484
484
|
|
|
485
485
|
// V8 ~ Chrome 36-
|
|
486
486
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
487
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
487
|
+
var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
488
488
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
489
489
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
490
490
|
value: 42,
|
|
@@ -492,24 +492,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
|
492
492
|
}).prototype !== 42;
|
|
493
493
|
});
|
|
494
494
|
|
|
495
|
-
var isObject$
|
|
495
|
+
var isObject$2 = isObject$6;
|
|
496
496
|
|
|
497
|
-
var $String$
|
|
498
|
-
var $TypeError$
|
|
497
|
+
var $String$1 = String;
|
|
498
|
+
var $TypeError$7 = TypeError;
|
|
499
499
|
|
|
500
500
|
// `Assert: Type(argument) is Object`
|
|
501
501
|
var anObject$d = function (argument) {
|
|
502
|
-
if (isObject$
|
|
503
|
-
throw new $TypeError$
|
|
502
|
+
if (isObject$2(argument)) return argument;
|
|
503
|
+
throw new $TypeError$7($String$1(argument) + ' is not an object');
|
|
504
504
|
};
|
|
505
505
|
|
|
506
|
-
var DESCRIPTORS$
|
|
506
|
+
var DESCRIPTORS$6 = descriptors;
|
|
507
507
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
508
508
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
509
509
|
var anObject$c = anObject$d;
|
|
510
510
|
var toPropertyKey = toPropertyKey$2;
|
|
511
511
|
|
|
512
|
-
var $TypeError$
|
|
512
|
+
var $TypeError$6 = TypeError;
|
|
513
513
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
514
514
|
var $defineProperty = Object.defineProperty;
|
|
515
515
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -520,7 +520,7 @@ var WRITABLE = 'writable';
|
|
|
520
520
|
|
|
521
521
|
// `Object.defineProperty` method
|
|
522
522
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
523
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
523
|
+
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
524
524
|
anObject$c(O);
|
|
525
525
|
P = toPropertyKey(P);
|
|
526
526
|
anObject$c(Attributes);
|
|
@@ -542,17 +542,17 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
542
542
|
if (IE8_DOM_DEFINE) try {
|
|
543
543
|
return $defineProperty(O, P, Attributes);
|
|
544
544
|
} catch (error) { /* empty */ }
|
|
545
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
545
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
|
|
546
546
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
547
547
|
return O;
|
|
548
548
|
};
|
|
549
549
|
|
|
550
|
-
var DESCRIPTORS$
|
|
550
|
+
var DESCRIPTORS$5 = descriptors;
|
|
551
551
|
var definePropertyModule$4 = objectDefineProperty;
|
|
552
|
-
var createPropertyDescriptor$
|
|
552
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
553
553
|
|
|
554
|
-
var createNonEnumerableProperty$
|
|
555
|
-
return definePropertyModule$4.f(object, key, createPropertyDescriptor$
|
|
554
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
555
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
|
|
556
556
|
} : function (object, key, value) {
|
|
557
557
|
object[key] = value;
|
|
558
558
|
return object;
|
|
@@ -560,31 +560,28 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
560
560
|
|
|
561
561
|
var makeBuiltIn$3 = {exports: {}};
|
|
562
562
|
|
|
563
|
-
var DESCRIPTORS$
|
|
564
|
-
var hasOwn$
|
|
563
|
+
var DESCRIPTORS$4 = descriptors;
|
|
564
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
565
565
|
|
|
566
566
|
var FunctionPrototype$1 = Function.prototype;
|
|
567
567
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
568
|
-
var getDescriptor = DESCRIPTORS$
|
|
568
|
+
var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
|
|
569
569
|
|
|
570
|
-
var EXISTS = hasOwn$
|
|
571
|
-
|
|
572
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
573
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
570
|
+
var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
|
|
571
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
574
572
|
|
|
575
573
|
var functionName = {
|
|
576
|
-
PROPER: PROPER,
|
|
577
574
|
CONFIGURABLE: CONFIGURABLE
|
|
578
575
|
};
|
|
579
576
|
|
|
580
|
-
var uncurryThis$
|
|
581
|
-
var isCallable$
|
|
577
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
578
|
+
var isCallable$8 = isCallable$e;
|
|
582
579
|
var store$1 = sharedStoreExports;
|
|
583
580
|
|
|
584
|
-
var functionToString = uncurryThis$
|
|
581
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
585
582
|
|
|
586
583
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
587
|
-
if (!isCallable$
|
|
584
|
+
if (!isCallable$8(store$1.inspectSource)) {
|
|
588
585
|
store$1.inspectSource = function (it) {
|
|
589
586
|
return functionToString(it);
|
|
590
587
|
};
|
|
@@ -592,12 +589,12 @@ if (!isCallable$a(store$1.inspectSource)) {
|
|
|
592
589
|
|
|
593
590
|
var inspectSource$1 = store$1.inspectSource;
|
|
594
591
|
|
|
595
|
-
var globalThis$
|
|
596
|
-
var isCallable$
|
|
592
|
+
var globalThis$5 = globalThis_1;
|
|
593
|
+
var isCallable$7 = isCallable$e;
|
|
597
594
|
|
|
598
|
-
var WeakMap$1 = globalThis$
|
|
595
|
+
var WeakMap$1 = globalThis$5.WeakMap;
|
|
599
596
|
|
|
600
|
-
var weakMapBasicDetection = isCallable$
|
|
597
|
+
var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
601
598
|
|
|
602
599
|
var shared$1 = shared$3;
|
|
603
600
|
var uid = uid$2;
|
|
@@ -611,17 +608,17 @@ var sharedKey$3 = function (key) {
|
|
|
611
608
|
var hiddenKeys$4 = {};
|
|
612
609
|
|
|
613
610
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
614
|
-
var globalThis$
|
|
615
|
-
var isObject$
|
|
616
|
-
var createNonEnumerableProperty$
|
|
617
|
-
var hasOwn$
|
|
611
|
+
var globalThis$4 = globalThis_1;
|
|
612
|
+
var isObject$1 = isObject$6;
|
|
613
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
614
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
618
615
|
var shared = sharedStoreExports;
|
|
619
616
|
var sharedKey$2 = sharedKey$3;
|
|
620
617
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
621
618
|
|
|
622
619
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
623
|
-
var TypeError$1 = globalThis$
|
|
624
|
-
var WeakMap = globalThis$
|
|
620
|
+
var TypeError$1 = globalThis$4.TypeError;
|
|
621
|
+
var WeakMap = globalThis$4.WeakMap;
|
|
625
622
|
var set$2, get$2, has$9;
|
|
626
623
|
|
|
627
624
|
var enforce = function (it) {
|
|
@@ -631,7 +628,7 @@ var enforce = function (it) {
|
|
|
631
628
|
var getterFor = function (TYPE) {
|
|
632
629
|
return function (it) {
|
|
633
630
|
var state;
|
|
634
|
-
if (!isObject$
|
|
631
|
+
if (!isObject$1(it) || (state = get$2(it)).type !== TYPE) {
|
|
635
632
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
636
633
|
} return state;
|
|
637
634
|
};
|
|
@@ -660,16 +657,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
660
657
|
var STATE = sharedKey$2('state');
|
|
661
658
|
hiddenKeys$3[STATE] = true;
|
|
662
659
|
set$2 = function (it, metadata) {
|
|
663
|
-
if (hasOwn$
|
|
660
|
+
if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
664
661
|
metadata.facade = it;
|
|
665
|
-
createNonEnumerableProperty$
|
|
662
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
666
663
|
return metadata;
|
|
667
664
|
};
|
|
668
665
|
get$2 = function (it) {
|
|
669
|
-
return hasOwn$
|
|
666
|
+
return hasOwn$5(it, STATE) ? it[STATE] : {};
|
|
670
667
|
};
|
|
671
668
|
has$9 = function (it) {
|
|
672
|
-
return hasOwn$
|
|
669
|
+
return hasOwn$5(it, STATE);
|
|
673
670
|
};
|
|
674
671
|
}
|
|
675
672
|
|
|
@@ -681,51 +678,51 @@ var internalState = {
|
|
|
681
678
|
getterFor: getterFor
|
|
682
679
|
};
|
|
683
680
|
|
|
684
|
-
var uncurryThis$
|
|
685
|
-
var fails$
|
|
686
|
-
var isCallable$
|
|
687
|
-
var hasOwn$
|
|
688
|
-
var DESCRIPTORS$
|
|
689
|
-
var CONFIGURABLE_FUNCTION_NAME
|
|
681
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
682
|
+
var fails$7 = fails$e;
|
|
683
|
+
var isCallable$6 = isCallable$e;
|
|
684
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
685
|
+
var DESCRIPTORS$3 = descriptors;
|
|
686
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
690
687
|
var inspectSource = inspectSource$1;
|
|
691
|
-
var InternalStateModule$
|
|
688
|
+
var InternalStateModule$1 = internalState;
|
|
692
689
|
|
|
693
|
-
var enforceInternalState = InternalStateModule$
|
|
694
|
-
var getInternalState
|
|
695
|
-
var $String
|
|
690
|
+
var enforceInternalState = InternalStateModule$1.enforce;
|
|
691
|
+
var getInternalState = InternalStateModule$1.get;
|
|
692
|
+
var $String = String;
|
|
696
693
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
697
|
-
var defineProperty$
|
|
698
|
-
var stringSlice = uncurryThis$
|
|
699
|
-
var replace
|
|
700
|
-
var join = uncurryThis$
|
|
694
|
+
var defineProperty$1 = Object.defineProperty;
|
|
695
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
696
|
+
var replace = uncurryThis$8(''.replace);
|
|
697
|
+
var join = uncurryThis$8([].join);
|
|
701
698
|
|
|
702
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
703
|
-
return defineProperty$
|
|
699
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () {
|
|
700
|
+
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
704
701
|
});
|
|
705
702
|
|
|
706
703
|
var TEMPLATE = String(String).split('String');
|
|
707
704
|
|
|
708
705
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
709
|
-
if (stringSlice($String
|
|
710
|
-
name = '[' + replace
|
|
706
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
707
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
711
708
|
}
|
|
712
709
|
if (options && options.getter) name = 'get ' + name;
|
|
713
710
|
if (options && options.setter) name = 'set ' + name;
|
|
714
|
-
if (!hasOwn$
|
|
715
|
-
if (DESCRIPTORS$
|
|
711
|
+
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
712
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
716
713
|
else value.name = name;
|
|
717
714
|
}
|
|
718
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
719
|
-
defineProperty$
|
|
715
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
|
|
716
|
+
defineProperty$1(value, 'length', { value: options.arity });
|
|
720
717
|
}
|
|
721
718
|
try {
|
|
722
|
-
if (options && hasOwn$
|
|
723
|
-
if (DESCRIPTORS$
|
|
719
|
+
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
|
720
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
|
|
724
721
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
725
722
|
} else if (value.prototype) value.prototype = undefined;
|
|
726
723
|
} catch (error) { /* empty */ }
|
|
727
724
|
var state = enforceInternalState(value);
|
|
728
|
-
if (!hasOwn$
|
|
725
|
+
if (!hasOwn$4(state, 'source')) {
|
|
729
726
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
730
727
|
} return value;
|
|
731
728
|
};
|
|
@@ -733,21 +730,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
733
730
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
734
731
|
// eslint-disable-next-line no-extend-native -- required
|
|
735
732
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
736
|
-
return isCallable$
|
|
733
|
+
return isCallable$6(this) && getInternalState(this).source || inspectSource(this);
|
|
737
734
|
}, 'toString');
|
|
738
735
|
|
|
739
736
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
740
737
|
|
|
741
|
-
var isCallable$
|
|
738
|
+
var isCallable$5 = isCallable$e;
|
|
742
739
|
var definePropertyModule$3 = objectDefineProperty;
|
|
743
740
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
744
741
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
745
742
|
|
|
746
|
-
var defineBuiltIn$
|
|
743
|
+
var defineBuiltIn$3 = function (O, key, value, options) {
|
|
747
744
|
if (!options) options = {};
|
|
748
745
|
var simple = options.enumerable;
|
|
749
746
|
var name = options.name !== undefined ? options.name : key;
|
|
750
|
-
if (isCallable$
|
|
747
|
+
if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
|
|
751
748
|
if (options.global) {
|
|
752
749
|
if (simple) O[key] = value;
|
|
753
750
|
else defineGlobalProperty$1(key, value);
|
|
@@ -821,14 +818,14 @@ var lengthOfArrayLike$2 = function (obj) {
|
|
|
821
818
|
return toLength(obj.length);
|
|
822
819
|
};
|
|
823
820
|
|
|
824
|
-
var toIndexedObject$
|
|
821
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
|
825
822
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
826
823
|
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
827
824
|
|
|
828
825
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
829
826
|
var createMethod = function (IS_INCLUDES) {
|
|
830
827
|
return function ($this, el, fromIndex) {
|
|
831
|
-
var O = toIndexedObject$
|
|
828
|
+
var O = toIndexedObject$2($this);
|
|
832
829
|
var length = lengthOfArrayLike$1(O);
|
|
833
830
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
834
831
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
@@ -852,22 +849,22 @@ var arrayIncludes = {
|
|
|
852
849
|
indexOf: createMethod(false)
|
|
853
850
|
};
|
|
854
851
|
|
|
855
|
-
var uncurryThis$
|
|
856
|
-
var hasOwn$
|
|
857
|
-
var toIndexedObject$
|
|
852
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
853
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
854
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
|
858
855
|
var indexOf = arrayIncludes.indexOf;
|
|
859
856
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
860
857
|
|
|
861
|
-
var push = uncurryThis$
|
|
858
|
+
var push = uncurryThis$7([].push);
|
|
862
859
|
|
|
863
860
|
var objectKeysInternal = function (object, names) {
|
|
864
|
-
var O = toIndexedObject$
|
|
861
|
+
var O = toIndexedObject$1(object);
|
|
865
862
|
var i = 0;
|
|
866
863
|
var result = [];
|
|
867
864
|
var key;
|
|
868
|
-
for (key in O) !hasOwn$
|
|
865
|
+
for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
|
|
869
866
|
// Don't enum bug & hidden keys
|
|
870
|
-
while (names.length > i) if (hasOwn$
|
|
867
|
+
while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
|
|
871
868
|
~indexOf(result, key) || push(result, key);
|
|
872
869
|
}
|
|
873
870
|
return result;
|
|
@@ -901,40 +898,40 @@ var objectGetOwnPropertySymbols = {};
|
|
|
901
898
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
902
899
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
903
900
|
|
|
904
|
-
var getBuiltIn$
|
|
905
|
-
var uncurryThis$
|
|
901
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
902
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
906
903
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
907
904
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
908
905
|
var anObject$b = anObject$d;
|
|
909
906
|
|
|
910
|
-
var concat = uncurryThis$
|
|
907
|
+
var concat = uncurryThis$6([].concat);
|
|
911
908
|
|
|
912
909
|
// all object keys, includes non-enumerable and symbols
|
|
913
|
-
var ownKeys$1 = getBuiltIn$
|
|
910
|
+
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
914
911
|
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
915
912
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
916
913
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
917
914
|
};
|
|
918
915
|
|
|
919
|
-
var hasOwn$
|
|
916
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
920
917
|
var ownKeys = ownKeys$1;
|
|
921
918
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
922
919
|
var definePropertyModule$2 = objectDefineProperty;
|
|
923
920
|
|
|
924
|
-
var copyConstructorProperties$
|
|
921
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
925
922
|
var keys = ownKeys(source);
|
|
926
923
|
var defineProperty = definePropertyModule$2.f;
|
|
927
924
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
928
925
|
for (var i = 0; i < keys.length; i++) {
|
|
929
926
|
var key = keys[i];
|
|
930
|
-
if (!hasOwn$
|
|
927
|
+
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
931
928
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
932
929
|
}
|
|
933
930
|
}
|
|
934
931
|
};
|
|
935
932
|
|
|
936
|
-
var fails$
|
|
937
|
-
var isCallable$
|
|
933
|
+
var fails$6 = fails$e;
|
|
934
|
+
var isCallable$4 = isCallable$e;
|
|
938
935
|
|
|
939
936
|
var replacement = /#|\.prototype\./;
|
|
940
937
|
|
|
@@ -942,7 +939,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
942
939
|
var value = data[normalize(feature)];
|
|
943
940
|
return value === POLYFILL ? true
|
|
944
941
|
: value === NATIVE ? false
|
|
945
|
-
: isCallable$
|
|
942
|
+
: isCallable$4(detection) ? fails$6(detection)
|
|
946
943
|
: !!detection;
|
|
947
944
|
};
|
|
948
945
|
|
|
@@ -956,12 +953,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
956
953
|
|
|
957
954
|
var isForced_1 = isForced$1;
|
|
958
955
|
|
|
959
|
-
var globalThis$
|
|
956
|
+
var globalThis$3 = globalThis_1;
|
|
960
957
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
961
|
-
var createNonEnumerableProperty$
|
|
962
|
-
var defineBuiltIn$
|
|
958
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
959
|
+
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
963
960
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
964
|
-
var copyConstructorProperties
|
|
961
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
965
962
|
var isForced = isForced_1;
|
|
966
963
|
|
|
967
964
|
/*
|
|
@@ -985,11 +982,11 @@ var _export = function (options, source) {
|
|
|
985
982
|
var STATIC = options.stat;
|
|
986
983
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
987
984
|
if (GLOBAL) {
|
|
988
|
-
target = globalThis$
|
|
985
|
+
target = globalThis$3;
|
|
989
986
|
} else if (STATIC) {
|
|
990
|
-
target = globalThis$
|
|
987
|
+
target = globalThis$3[TARGET] || defineGlobalProperty(TARGET, {});
|
|
991
988
|
} else {
|
|
992
|
-
target = globalThis$
|
|
989
|
+
target = globalThis$3[TARGET] && globalThis$3[TARGET].prototype;
|
|
993
990
|
}
|
|
994
991
|
if (target) for (key in source) {
|
|
995
992
|
sourceProperty = source[key];
|
|
@@ -1001,36 +998,36 @@ var _export = function (options, source) {
|
|
|
1001
998
|
// contained in target
|
|
1002
999
|
if (!FORCED && targetProperty !== undefined) {
|
|
1003
1000
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1004
|
-
copyConstructorProperties
|
|
1001
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1005
1002
|
}
|
|
1006
1003
|
// add a flag to not completely full polyfills
|
|
1007
1004
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1008
|
-
createNonEnumerableProperty$
|
|
1005
|
+
createNonEnumerableProperty$1(sourceProperty, 'sham', true);
|
|
1009
1006
|
}
|
|
1010
|
-
defineBuiltIn$
|
|
1007
|
+
defineBuiltIn$2(target, key, sourceProperty, options);
|
|
1011
1008
|
}
|
|
1012
1009
|
};
|
|
1013
1010
|
|
|
1014
|
-
var isPrototypeOf$
|
|
1011
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1015
1012
|
|
|
1016
|
-
var $TypeError$
|
|
1013
|
+
var $TypeError$5 = TypeError;
|
|
1017
1014
|
|
|
1018
1015
|
var anInstance$1 = function (it, Prototype) {
|
|
1019
|
-
if (isPrototypeOf$
|
|
1020
|
-
throw new $TypeError$
|
|
1016
|
+
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
1017
|
+
throw new $TypeError$5('Incorrect invocation');
|
|
1021
1018
|
};
|
|
1022
1019
|
|
|
1023
|
-
var fails$
|
|
1020
|
+
var fails$5 = fails$e;
|
|
1024
1021
|
|
|
1025
|
-
var correctPrototypeGetter = !fails$
|
|
1022
|
+
var correctPrototypeGetter = !fails$5(function () {
|
|
1026
1023
|
function F() { /* empty */ }
|
|
1027
1024
|
F.prototype.constructor = null;
|
|
1028
1025
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1029
1026
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1030
1027
|
});
|
|
1031
1028
|
|
|
1032
|
-
var hasOwn$
|
|
1033
|
-
var isCallable$
|
|
1029
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1030
|
+
var isCallable$3 = isCallable$e;
|
|
1034
1031
|
var toObject = toObject$2;
|
|
1035
1032
|
var sharedKey$1 = sharedKey$3;
|
|
1036
1033
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1044,28 +1041,28 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1044
1041
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1045
1042
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1046
1043
|
var object = toObject(O);
|
|
1047
|
-
if (hasOwn$
|
|
1044
|
+
if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1048
1045
|
var constructor = object.constructor;
|
|
1049
|
-
if (isCallable$
|
|
1046
|
+
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1050
1047
|
return constructor.prototype;
|
|
1051
1048
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1052
1049
|
};
|
|
1053
1050
|
|
|
1054
1051
|
var makeBuiltIn = makeBuiltInExports;
|
|
1055
|
-
var defineProperty
|
|
1052
|
+
var defineProperty = objectDefineProperty;
|
|
1056
1053
|
|
|
1057
1054
|
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1058
1055
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1059
1056
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1060
|
-
return defineProperty
|
|
1057
|
+
return defineProperty.f(target, name, descriptor);
|
|
1061
1058
|
};
|
|
1062
1059
|
|
|
1063
|
-
var DESCRIPTORS$
|
|
1060
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1064
1061
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1065
|
-
var createPropertyDescriptor
|
|
1062
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1066
1063
|
|
|
1067
|
-
var createProperty$
|
|
1068
|
-
if (DESCRIPTORS$
|
|
1064
|
+
var createProperty$1 = function (object, key, value) {
|
|
1065
|
+
if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
|
|
1069
1066
|
else object[key] = value;
|
|
1070
1067
|
};
|
|
1071
1068
|
|
|
@@ -1081,19 +1078,19 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1081
1078
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1082
1079
|
};
|
|
1083
1080
|
|
|
1084
|
-
var DESCRIPTORS$
|
|
1081
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1085
1082
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1086
1083
|
var definePropertyModule = objectDefineProperty;
|
|
1087
1084
|
var anObject$a = anObject$d;
|
|
1088
|
-
var toIndexedObject
|
|
1085
|
+
var toIndexedObject = toIndexedObject$4;
|
|
1089
1086
|
var objectKeys = objectKeys$1;
|
|
1090
1087
|
|
|
1091
1088
|
// `Object.defineProperties` method
|
|
1092
1089
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1093
1090
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1094
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1091
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1095
1092
|
anObject$a(O);
|
|
1096
|
-
var props = toIndexedObject
|
|
1093
|
+
var props = toIndexedObject(Properties);
|
|
1097
1094
|
var keys = objectKeys(Properties);
|
|
1098
1095
|
var length = keys.length;
|
|
1099
1096
|
var index = 0;
|
|
@@ -1102,9 +1099,9 @@ objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1102
1099
|
return O;
|
|
1103
1100
|
};
|
|
1104
1101
|
|
|
1105
|
-
var getBuiltIn$
|
|
1102
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
1106
1103
|
|
|
1107
|
-
var html$1 = getBuiltIn$
|
|
1104
|
+
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1108
1105
|
|
|
1109
1106
|
/* global ActiveXObject -- old IE, WSH */
|
|
1110
1107
|
var anObject$9 = anObject$d;
|
|
@@ -1112,7 +1109,7 @@ var definePropertiesModule = objectDefineProperties;
|
|
|
1112
1109
|
var enumBugKeys = enumBugKeys$3;
|
|
1113
1110
|
var hiddenKeys = hiddenKeys$4;
|
|
1114
1111
|
var html = html$1;
|
|
1115
|
-
var documentCreateElement
|
|
1112
|
+
var documentCreateElement = documentCreateElement$1;
|
|
1116
1113
|
var sharedKey = sharedKey$3;
|
|
1117
1114
|
|
|
1118
1115
|
var GT = '>';
|
|
@@ -1140,7 +1137,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
1140
1137
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1141
1138
|
var NullProtoObjectViaIFrame = function () {
|
|
1142
1139
|
// Thrash, waste and sodomy: IE GC bug
|
|
1143
|
-
var iframe = documentCreateElement
|
|
1140
|
+
var iframe = documentCreateElement('iframe');
|
|
1144
1141
|
var JS = 'java' + SCRIPT + ':';
|
|
1145
1142
|
var iframeDocument;
|
|
1146
1143
|
iframe.style.display = 'none';
|
|
@@ -1191,130 +1188,127 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1191
1188
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1192
1189
|
};
|
|
1193
1190
|
|
|
1194
|
-
var fails$
|
|
1195
|
-
var isCallable$
|
|
1196
|
-
var isObject
|
|
1197
|
-
var getPrototypeOf$
|
|
1198
|
-
var defineBuiltIn$
|
|
1199
|
-
var wellKnownSymbol$
|
|
1191
|
+
var fails$4 = fails$e;
|
|
1192
|
+
var isCallable$2 = isCallable$e;
|
|
1193
|
+
var isObject = isObject$6;
|
|
1194
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1195
|
+
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
1196
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1200
1197
|
|
|
1201
|
-
var ITERATOR$
|
|
1202
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1198
|
+
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
1203
1199
|
|
|
1204
1200
|
// `%IteratorPrototype%` object
|
|
1205
1201
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1206
|
-
var IteratorPrototype$
|
|
1202
|
+
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1207
1203
|
|
|
1208
1204
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1209
1205
|
if ([].keys) {
|
|
1210
1206
|
arrayIterator = [].keys();
|
|
1211
1207
|
// Safari 8 has buggy iterators w/o `next`
|
|
1212
|
-
if (!('next' in arrayIterator))
|
|
1208
|
+
if (!('next' in arrayIterator)) ;
|
|
1213
1209
|
else {
|
|
1214
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1215
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1210
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
1211
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
1216
1212
|
}
|
|
1217
1213
|
}
|
|
1218
1214
|
|
|
1219
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject
|
|
1215
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$4(function () {
|
|
1220
1216
|
var test = {};
|
|
1221
1217
|
// FF44- legacy iterators case
|
|
1222
|
-
return IteratorPrototype$
|
|
1218
|
+
return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
|
|
1223
1219
|
});
|
|
1224
1220
|
|
|
1225
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1221
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
1226
1222
|
|
|
1227
1223
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1228
1224
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1229
|
-
if (!isCallable$
|
|
1230
|
-
defineBuiltIn$
|
|
1225
|
+
if (!isCallable$2(IteratorPrototype$2[ITERATOR$3])) {
|
|
1226
|
+
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$3, function () {
|
|
1231
1227
|
return this;
|
|
1232
1228
|
});
|
|
1233
1229
|
}
|
|
1234
1230
|
|
|
1235
1231
|
var iteratorsCore = {
|
|
1236
|
-
IteratorPrototype: IteratorPrototype$
|
|
1237
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1238
|
-
};
|
|
1232
|
+
IteratorPrototype: IteratorPrototype$2};
|
|
1239
1233
|
|
|
1240
|
-
var $$
|
|
1241
|
-
var globalThis$
|
|
1234
|
+
var $$c = _export;
|
|
1235
|
+
var globalThis$2 = globalThis_1;
|
|
1242
1236
|
var anInstance = anInstance$1;
|
|
1243
1237
|
var anObject$8 = anObject$d;
|
|
1244
|
-
var isCallable$
|
|
1245
|
-
var getPrototypeOf
|
|
1238
|
+
var isCallable$1 = isCallable$e;
|
|
1239
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1246
1240
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1247
|
-
var createProperty
|
|
1248
|
-
var fails$
|
|
1249
|
-
var hasOwn
|
|
1250
|
-
var wellKnownSymbol$
|
|
1251
|
-
var IteratorPrototype$
|
|
1252
|
-
var DESCRIPTORS
|
|
1241
|
+
var createProperty = createProperty$1;
|
|
1242
|
+
var fails$3 = fails$e;
|
|
1243
|
+
var hasOwn = hasOwnProperty_1;
|
|
1244
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1245
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1246
|
+
var DESCRIPTORS = descriptors;
|
|
1253
1247
|
|
|
1254
1248
|
var CONSTRUCTOR = 'constructor';
|
|
1255
|
-
var ITERATOR$
|
|
1256
|
-
var TO_STRING_TAG$
|
|
1249
|
+
var ITERATOR$2 = 'Iterator';
|
|
1250
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
|
|
1257
1251
|
|
|
1258
|
-
var $TypeError$
|
|
1259
|
-
var NativeIterator = globalThis$
|
|
1252
|
+
var $TypeError$4 = TypeError;
|
|
1253
|
+
var NativeIterator = globalThis$2[ITERATOR$2];
|
|
1260
1254
|
|
|
1261
1255
|
// FF56- have non-standard global helper `Iterator`
|
|
1262
|
-
var FORCED$
|
|
1263
|
-
|| NativeIterator.prototype !== IteratorPrototype$
|
|
1256
|
+
var FORCED$4 = !isCallable$1(NativeIterator)
|
|
1257
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1264
1258
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1265
|
-
|| !fails$
|
|
1259
|
+
|| !fails$3(function () { NativeIterator({}); });
|
|
1266
1260
|
|
|
1267
1261
|
var IteratorConstructor = function Iterator() {
|
|
1268
|
-
anInstance(this, IteratorPrototype$
|
|
1269
|
-
if (getPrototypeOf
|
|
1262
|
+
anInstance(this, IteratorPrototype$1);
|
|
1263
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$4('Abstract class Iterator not directly constructable');
|
|
1270
1264
|
};
|
|
1271
1265
|
|
|
1272
1266
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1273
|
-
if (DESCRIPTORS
|
|
1274
|
-
defineBuiltInAccessor(IteratorPrototype$
|
|
1267
|
+
if (DESCRIPTORS) {
|
|
1268
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1275
1269
|
configurable: true,
|
|
1276
1270
|
get: function () {
|
|
1277
1271
|
return value;
|
|
1278
1272
|
},
|
|
1279
1273
|
set: function (replacement) {
|
|
1280
1274
|
anObject$8(this);
|
|
1281
|
-
if (this === IteratorPrototype$
|
|
1282
|
-
if (hasOwn
|
|
1283
|
-
else createProperty
|
|
1275
|
+
if (this === IteratorPrototype$1) throw new $TypeError$4("You can't redefine this property");
|
|
1276
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
1277
|
+
else createProperty(this, key, replacement);
|
|
1284
1278
|
}
|
|
1285
1279
|
});
|
|
1286
|
-
} else IteratorPrototype$
|
|
1280
|
+
} else IteratorPrototype$1[key] = value;
|
|
1287
1281
|
};
|
|
1288
1282
|
|
|
1289
|
-
if (!hasOwn
|
|
1283
|
+
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$2);
|
|
1290
1284
|
|
|
1291
|
-
if (FORCED$
|
|
1285
|
+
if (FORCED$4 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1292
1286
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1293
1287
|
}
|
|
1294
1288
|
|
|
1295
|
-
IteratorConstructor.prototype = IteratorPrototype$
|
|
1289
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
1296
1290
|
|
|
1297
1291
|
// `Iterator` constructor
|
|
1298
1292
|
// https://tc39.es/ecma262/#sec-iterator
|
|
1299
|
-
$$
|
|
1293
|
+
$$c({ global: true, constructor: true, forced: FORCED$4 }, {
|
|
1300
1294
|
Iterator: IteratorConstructor
|
|
1301
1295
|
});
|
|
1302
1296
|
|
|
1303
1297
|
var classofRaw$1 = classofRaw$2;
|
|
1304
|
-
var uncurryThis$
|
|
1298
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1305
1299
|
|
|
1306
1300
|
var functionUncurryThisClause = function (fn) {
|
|
1307
1301
|
// Nashorn bug:
|
|
1308
1302
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1309
1303
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1310
|
-
if (classofRaw$1(fn) === 'Function') return uncurryThis$
|
|
1304
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThis$5(fn);
|
|
1311
1305
|
};
|
|
1312
1306
|
|
|
1313
|
-
var uncurryThis$
|
|
1307
|
+
var uncurryThis$4 = functionUncurryThisClause;
|
|
1314
1308
|
var aCallable$7 = aCallable$9;
|
|
1315
1309
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1316
1310
|
|
|
1317
|
-
var bind$1 = uncurryThis$
|
|
1311
|
+
var bind$1 = uncurryThis$4(uncurryThis$4.bind);
|
|
1318
1312
|
|
|
1319
1313
|
// optional / simple context binding
|
|
1320
1314
|
var functionBindContext = function (fn, that) {
|
|
@@ -1326,32 +1320,32 @@ var functionBindContext = function (fn, that) {
|
|
|
1326
1320
|
|
|
1327
1321
|
var iterators = {};
|
|
1328
1322
|
|
|
1329
|
-
var wellKnownSymbol$
|
|
1330
|
-
var Iterators$
|
|
1323
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1324
|
+
var Iterators$1 = iterators;
|
|
1331
1325
|
|
|
1332
|
-
var ITERATOR$
|
|
1333
|
-
var ArrayPrototype
|
|
1326
|
+
var ITERATOR$1 = wellKnownSymbol$4('iterator');
|
|
1327
|
+
var ArrayPrototype = Array.prototype;
|
|
1334
1328
|
|
|
1335
1329
|
// check on default Array iterator
|
|
1336
1330
|
var isArrayIteratorMethod$1 = function (it) {
|
|
1337
|
-
return it !== undefined && (Iterators$
|
|
1331
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
1338
1332
|
};
|
|
1339
1333
|
|
|
1340
|
-
var wellKnownSymbol$
|
|
1334
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
1341
1335
|
|
|
1342
|
-
var TO_STRING_TAG$
|
|
1336
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$3('toStringTag');
|
|
1343
1337
|
var test = {};
|
|
1344
1338
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1345
|
-
test[TO_STRING_TAG$
|
|
1339
|
+
test[TO_STRING_TAG$2] = 'z';
|
|
1346
1340
|
|
|
1347
1341
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1348
1342
|
|
|
1349
1343
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1350
|
-
var isCallable
|
|
1344
|
+
var isCallable = isCallable$e;
|
|
1351
1345
|
var classofRaw = classofRaw$2;
|
|
1352
|
-
var wellKnownSymbol$
|
|
1346
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1353
1347
|
|
|
1354
|
-
var TO_STRING_TAG$
|
|
1348
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
1355
1349
|
var $Object = Object;
|
|
1356
1350
|
|
|
1357
1351
|
// ES3 wrong here
|
|
@@ -1365,46 +1359,46 @@ var tryGet = function (it, key) {
|
|
|
1365
1359
|
};
|
|
1366
1360
|
|
|
1367
1361
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1368
|
-
var classof$
|
|
1362
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1369
1363
|
var O, tag, result;
|
|
1370
1364
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1371
1365
|
// @@toStringTag case
|
|
1372
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$
|
|
1366
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
1373
1367
|
// builtinTag case
|
|
1374
1368
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1375
1369
|
// ES3 arguments fallback
|
|
1376
|
-
: (result = classofRaw(O)) === 'Object' && isCallable
|
|
1370
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1377
1371
|
};
|
|
1378
1372
|
|
|
1379
|
-
var classof
|
|
1373
|
+
var classof = classof$1;
|
|
1380
1374
|
var getMethod$2 = getMethod$4;
|
|
1381
1375
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1382
|
-
var Iterators
|
|
1383
|
-
var wellKnownSymbol$
|
|
1376
|
+
var Iterators = iterators;
|
|
1377
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
1384
1378
|
|
|
1385
|
-
var ITERATOR
|
|
1379
|
+
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
1386
1380
|
|
|
1387
1381
|
var getIteratorMethod$2 = function (it) {
|
|
1388
|
-
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR
|
|
1382
|
+
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR)
|
|
1389
1383
|
|| getMethod$2(it, '@@iterator')
|
|
1390
|
-
|| Iterators
|
|
1384
|
+
|| Iterators[classof(it)];
|
|
1391
1385
|
};
|
|
1392
1386
|
|
|
1393
|
-
var call$
|
|
1387
|
+
var call$8 = functionCall;
|
|
1394
1388
|
var aCallable$6 = aCallable$9;
|
|
1395
1389
|
var anObject$7 = anObject$d;
|
|
1396
1390
|
var tryToString$1 = tryToString$3;
|
|
1397
1391
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
1398
1392
|
|
|
1399
|
-
var $TypeError$
|
|
1393
|
+
var $TypeError$3 = TypeError;
|
|
1400
1394
|
|
|
1401
1395
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1402
1396
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1403
|
-
if (aCallable$6(iteratorMethod)) return anObject$7(call$
|
|
1404
|
-
throw new $TypeError$
|
|
1397
|
+
if (aCallable$6(iteratorMethod)) return anObject$7(call$8(iteratorMethod, argument));
|
|
1398
|
+
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
1405
1399
|
};
|
|
1406
1400
|
|
|
1407
|
-
var call$
|
|
1401
|
+
var call$7 = functionCall;
|
|
1408
1402
|
var anObject$6 = anObject$d;
|
|
1409
1403
|
var getMethod$1 = getMethod$4;
|
|
1410
1404
|
|
|
@@ -1417,7 +1411,7 @@ var iteratorClose$9 = function (iterator, kind, value) {
|
|
|
1417
1411
|
if (kind === 'throw') throw value;
|
|
1418
1412
|
return value;
|
|
1419
1413
|
}
|
|
1420
|
-
innerResult = call$
|
|
1414
|
+
innerResult = call$7(innerResult, iterator);
|
|
1421
1415
|
} catch (error) {
|
|
1422
1416
|
innerError = true;
|
|
1423
1417
|
innerResult = error;
|
|
@@ -1429,17 +1423,17 @@ var iteratorClose$9 = function (iterator, kind, value) {
|
|
|
1429
1423
|
};
|
|
1430
1424
|
|
|
1431
1425
|
var bind = functionBindContext;
|
|
1432
|
-
var call$
|
|
1426
|
+
var call$6 = functionCall;
|
|
1433
1427
|
var anObject$5 = anObject$d;
|
|
1434
1428
|
var tryToString = tryToString$3;
|
|
1435
1429
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
1436
1430
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
1437
|
-
var isPrototypeOf
|
|
1431
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
1438
1432
|
var getIterator = getIterator$1;
|
|
1439
1433
|
var getIteratorMethod = getIteratorMethod$2;
|
|
1440
1434
|
var iteratorClose$8 = iteratorClose$9;
|
|
1441
1435
|
|
|
1442
|
-
var $TypeError$
|
|
1436
|
+
var $TypeError$2 = TypeError;
|
|
1443
1437
|
|
|
1444
1438
|
var Result = function (stopped, result) {
|
|
1445
1439
|
this.stopped = stopped;
|
|
@@ -1448,7 +1442,7 @@ var Result = function (stopped, result) {
|
|
|
1448
1442
|
|
|
1449
1443
|
var ResultPrototype = Result.prototype;
|
|
1450
1444
|
|
|
1451
|
-
var iterate$
|
|
1445
|
+
var iterate$4 = function (iterable, unboundFunction, options) {
|
|
1452
1446
|
var that = options && options.that;
|
|
1453
1447
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
1454
1448
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -1475,25 +1469,25 @@ var iterate$5 = function (iterable, unboundFunction, options) {
|
|
|
1475
1469
|
iterator = iterable;
|
|
1476
1470
|
} else {
|
|
1477
1471
|
iterFn = getIteratorMethod(iterable);
|
|
1478
|
-
if (!iterFn) throw new $TypeError$
|
|
1472
|
+
if (!iterFn) throw new $TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
1479
1473
|
// optimisation for array iterators
|
|
1480
1474
|
if (isArrayIteratorMethod(iterFn)) {
|
|
1481
1475
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
1482
1476
|
result = callFn(iterable[index]);
|
|
1483
|
-
if (result && isPrototypeOf
|
|
1477
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1484
1478
|
} return new Result(false);
|
|
1485
1479
|
}
|
|
1486
1480
|
iterator = getIterator(iterable, iterFn);
|
|
1487
1481
|
}
|
|
1488
1482
|
|
|
1489
1483
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
1490
|
-
while (!(step = call$
|
|
1484
|
+
while (!(step = call$6(next, iterator)).done) {
|
|
1491
1485
|
try {
|
|
1492
1486
|
result = callFn(step.value);
|
|
1493
1487
|
} catch (error) {
|
|
1494
1488
|
iteratorClose$8(iterator, 'throw', error);
|
|
1495
1489
|
}
|
|
1496
|
-
if (typeof result == 'object' && result && isPrototypeOf
|
|
1490
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1497
1491
|
} return new Result(false);
|
|
1498
1492
|
};
|
|
1499
1493
|
|
|
@@ -1507,11 +1501,11 @@ var getIteratorDirect$4 = function (obj) {
|
|
|
1507
1501
|
};
|
|
1508
1502
|
};
|
|
1509
1503
|
|
|
1510
|
-
var globalThis$
|
|
1504
|
+
var globalThis$1 = globalThis_1;
|
|
1511
1505
|
|
|
1512
1506
|
// https://github.com/tc39/ecma262/pull/3467
|
|
1513
1507
|
var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, ExpectedError) {
|
|
1514
|
-
var Iterator = globalThis$
|
|
1508
|
+
var Iterator = globalThis$1.Iterator;
|
|
1515
1509
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
1516
1510
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
1517
1511
|
|
|
@@ -1530,9 +1524,9 @@ var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, Expected
|
|
|
1530
1524
|
if (!CLOSED) return method;
|
|
1531
1525
|
};
|
|
1532
1526
|
|
|
1533
|
-
var $$
|
|
1534
|
-
var call$
|
|
1535
|
-
var iterate$
|
|
1527
|
+
var $$b = _export;
|
|
1528
|
+
var call$5 = functionCall;
|
|
1529
|
+
var iterate$3 = iterate$4;
|
|
1536
1530
|
var aCallable$5 = aCallable$9;
|
|
1537
1531
|
var anObject$4 = anObject$d;
|
|
1538
1532
|
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
@@ -1543,7 +1537,7 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
|
|
|
1543
1537
|
|
|
1544
1538
|
// `Iterator.prototype.forEach` method
|
|
1545
1539
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
1546
|
-
$$
|
|
1540
|
+
$$b({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
1547
1541
|
forEach: function forEach(fn) {
|
|
1548
1542
|
anObject$4(this);
|
|
1549
1543
|
try {
|
|
@@ -1552,369 +1546,16 @@ $$e({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
|
|
|
1552
1546
|
iteratorClose$7(this, 'throw', error);
|
|
1553
1547
|
}
|
|
1554
1548
|
|
|
1555
|
-
if (forEachWithoutClosingOnEarlyError) return call$
|
|
1549
|
+
if (forEachWithoutClosingOnEarlyError) return call$5(forEachWithoutClosingOnEarlyError, this, fn);
|
|
1556
1550
|
|
|
1557
1551
|
var record = getIteratorDirect$3(this);
|
|
1558
1552
|
var counter = 0;
|
|
1559
|
-
iterate$
|
|
1553
|
+
iterate$3(record, function (value) {
|
|
1560
1554
|
fn(value, counter++);
|
|
1561
1555
|
}, { IS_RECORD: true });
|
|
1562
1556
|
}
|
|
1563
1557
|
});
|
|
1564
1558
|
|
|
1565
|
-
// iterable DOM collections
|
|
1566
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1567
|
-
var domIterables = {
|
|
1568
|
-
CSSRuleList: 0,
|
|
1569
|
-
CSSStyleDeclaration: 0,
|
|
1570
|
-
CSSValueList: 0,
|
|
1571
|
-
ClientRectList: 0,
|
|
1572
|
-
DOMRectList: 0,
|
|
1573
|
-
DOMStringList: 0,
|
|
1574
|
-
DOMTokenList: 1,
|
|
1575
|
-
DataTransferItemList: 0,
|
|
1576
|
-
FileList: 0,
|
|
1577
|
-
HTMLAllCollection: 0,
|
|
1578
|
-
HTMLCollection: 0,
|
|
1579
|
-
HTMLFormElement: 0,
|
|
1580
|
-
HTMLSelectElement: 0,
|
|
1581
|
-
MediaList: 0,
|
|
1582
|
-
MimeTypeArray: 0,
|
|
1583
|
-
NamedNodeMap: 0,
|
|
1584
|
-
NodeList: 1,
|
|
1585
|
-
PaintRequestList: 0,
|
|
1586
|
-
Plugin: 0,
|
|
1587
|
-
PluginArray: 0,
|
|
1588
|
-
SVGLengthList: 0,
|
|
1589
|
-
SVGNumberList: 0,
|
|
1590
|
-
SVGPathSegList: 0,
|
|
1591
|
-
SVGPointList: 0,
|
|
1592
|
-
SVGStringList: 0,
|
|
1593
|
-
SVGTransformList: 0,
|
|
1594
|
-
SourceBufferList: 0,
|
|
1595
|
-
StyleSheetList: 0,
|
|
1596
|
-
TextTrackCueList: 0,
|
|
1597
|
-
TextTrackList: 0,
|
|
1598
|
-
TouchList: 0
|
|
1599
|
-
};
|
|
1600
|
-
|
|
1601
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
1602
|
-
var documentCreateElement = documentCreateElement$2;
|
|
1603
|
-
|
|
1604
|
-
var classList = documentCreateElement('span').classList;
|
|
1605
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
1606
|
-
|
|
1607
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1608
|
-
|
|
1609
|
-
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
1610
|
-
var create$2 = objectCreate;
|
|
1611
|
-
var defineProperty$3 = objectDefineProperty.f;
|
|
1612
|
-
|
|
1613
|
-
var UNSCOPABLES = wellKnownSymbol$4('unscopables');
|
|
1614
|
-
var ArrayPrototype = Array.prototype;
|
|
1615
|
-
|
|
1616
|
-
// Array.prototype[@@unscopables]
|
|
1617
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1618
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
1619
|
-
defineProperty$3(ArrayPrototype, UNSCOPABLES, {
|
|
1620
|
-
configurable: true,
|
|
1621
|
-
value: create$2(null)
|
|
1622
|
-
});
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
// add a key to Array.prototype[@@unscopables]
|
|
1626
|
-
var addToUnscopables$1 = function (key) {
|
|
1627
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1628
|
-
};
|
|
1629
|
-
|
|
1630
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
1631
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
1632
|
-
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
1633
|
-
|
|
1634
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
1635
|
-
|
|
1636
|
-
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1637
|
-
if (target && !STATIC) target = target.prototype;
|
|
1638
|
-
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
|
1639
|
-
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
1640
|
-
}
|
|
1641
|
-
};
|
|
1642
|
-
|
|
1643
|
-
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
1644
|
-
var create$1 = objectCreate;
|
|
1645
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1646
|
-
var setToStringTag$2 = setToStringTag$3;
|
|
1647
|
-
var Iterators$2 = iterators;
|
|
1648
|
-
|
|
1649
|
-
var returnThis$1 = function () { return this; };
|
|
1650
|
-
|
|
1651
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1652
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1653
|
-
IteratorConstructor.prototype = create$1(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
1654
|
-
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1655
|
-
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
1656
|
-
return IteratorConstructor;
|
|
1657
|
-
};
|
|
1658
|
-
|
|
1659
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
1660
|
-
var aCallable$4 = aCallable$9;
|
|
1661
|
-
|
|
1662
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1663
|
-
try {
|
|
1664
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1665
|
-
return uncurryThis$4(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1666
|
-
} catch (error) { /* empty */ }
|
|
1667
|
-
};
|
|
1668
|
-
|
|
1669
|
-
var isObject$3 = isObject$a;
|
|
1670
|
-
|
|
1671
|
-
var isPossiblePrototype$1 = function (argument) {
|
|
1672
|
-
return isObject$3(argument) || argument === null;
|
|
1673
|
-
};
|
|
1674
|
-
|
|
1675
|
-
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1676
|
-
|
|
1677
|
-
var $String$1 = String;
|
|
1678
|
-
var $TypeError$2 = TypeError;
|
|
1679
|
-
|
|
1680
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
1681
|
-
if (isPossiblePrototype(argument)) return argument;
|
|
1682
|
-
throw new $TypeError$2("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1683
|
-
};
|
|
1684
|
-
|
|
1685
|
-
/* eslint-disable no-proto -- safe */
|
|
1686
|
-
var uncurryThisAccessor$1 = functionUncurryThisAccessor;
|
|
1687
|
-
var isObject$2 = isObject$a;
|
|
1688
|
-
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1689
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1690
|
-
|
|
1691
|
-
// `Object.setPrototypeOf` method
|
|
1692
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1693
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1694
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1695
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1696
|
-
var CORRECT_SETTER = false;
|
|
1697
|
-
var test = {};
|
|
1698
|
-
var setter;
|
|
1699
|
-
try {
|
|
1700
|
-
setter = uncurryThisAccessor$1(Object.prototype, '__proto__', 'set');
|
|
1701
|
-
setter(test, []);
|
|
1702
|
-
CORRECT_SETTER = test instanceof Array;
|
|
1703
|
-
} catch (error) { /* empty */ }
|
|
1704
|
-
return function setPrototypeOf(O, proto) {
|
|
1705
|
-
requireObjectCoercible(O);
|
|
1706
|
-
aPossiblePrototype(proto);
|
|
1707
|
-
if (!isObject$2(O)) return O;
|
|
1708
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
1709
|
-
else O.__proto__ = proto;
|
|
1710
|
-
return O;
|
|
1711
|
-
};
|
|
1712
|
-
}() : undefined);
|
|
1713
|
-
|
|
1714
|
-
var $$d = _export;
|
|
1715
|
-
var call$5 = functionCall;
|
|
1716
|
-
var FunctionName = functionName;
|
|
1717
|
-
var isCallable$1 = isCallable$g;
|
|
1718
|
-
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1719
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1720
|
-
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1721
|
-
var setToStringTag$1 = setToStringTag$3;
|
|
1722
|
-
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1723
|
-
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1724
|
-
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
1725
|
-
var Iterators$1 = iterators;
|
|
1726
|
-
var IteratorsCore = iteratorsCore;
|
|
1727
|
-
|
|
1728
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
1729
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1730
|
-
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
1731
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1732
|
-
var ITERATOR$1 = wellKnownSymbol$2('iterator');
|
|
1733
|
-
var KEYS = 'keys';
|
|
1734
|
-
var VALUES = 'values';
|
|
1735
|
-
var ENTRIES = 'entries';
|
|
1736
|
-
|
|
1737
|
-
var returnThis = function () { return this; };
|
|
1738
|
-
|
|
1739
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
1740
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
1741
|
-
|
|
1742
|
-
var getIterationMethod = function (KIND) {
|
|
1743
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1744
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1745
|
-
|
|
1746
|
-
switch (KIND) {
|
|
1747
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1748
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1749
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
return function () { return new IteratorConstructor(this); };
|
|
1753
|
-
};
|
|
1754
|
-
|
|
1755
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1756
|
-
var INCORRECT_VALUES_NAME = false;
|
|
1757
|
-
var IterablePrototype = Iterable.prototype;
|
|
1758
|
-
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
1759
|
-
|| IterablePrototype['@@iterator']
|
|
1760
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1761
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1762
|
-
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1763
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
1764
|
-
|
|
1765
|
-
// fix native
|
|
1766
|
-
if (anyNativeIterator) {
|
|
1767
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1768
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1769
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
1770
|
-
if (setPrototypeOf$2) {
|
|
1771
|
-
setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
1772
|
-
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1773
|
-
defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
// Set @@toStringTag to native iterators
|
|
1777
|
-
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1782
|
-
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1783
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1784
|
-
createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
|
|
1785
|
-
} else {
|
|
1786
|
-
INCORRECT_VALUES_NAME = true;
|
|
1787
|
-
defaultIterator = function values() { return call$5(nativeIterator, this); };
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
// export additional methods
|
|
1792
|
-
if (DEFAULT) {
|
|
1793
|
-
methods = {
|
|
1794
|
-
values: getIterationMethod(VALUES),
|
|
1795
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1796
|
-
entries: getIterationMethod(ENTRIES)
|
|
1797
|
-
};
|
|
1798
|
-
if (FORCED) for (KEY in methods) {
|
|
1799
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1800
|
-
defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
|
|
1801
|
-
}
|
|
1802
|
-
} else $$d({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
// define iterator
|
|
1806
|
-
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
1807
|
-
defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
1808
|
-
}
|
|
1809
|
-
Iterators$1[NAME] = defaultIterator;
|
|
1810
|
-
|
|
1811
|
-
return methods;
|
|
1812
|
-
};
|
|
1813
|
-
|
|
1814
|
-
// `CreateIterResultObject` abstract operation
|
|
1815
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1816
|
-
var createIterResultObject$2 = function (value, done) {
|
|
1817
|
-
return { value: value, done: done };
|
|
1818
|
-
};
|
|
1819
|
-
|
|
1820
|
-
var toIndexedObject = toIndexedObject$5;
|
|
1821
|
-
var addToUnscopables = addToUnscopables$1;
|
|
1822
|
-
var Iterators = iterators;
|
|
1823
|
-
var InternalStateModule$1 = internalState;
|
|
1824
|
-
var defineProperty$1 = objectDefineProperty.f;
|
|
1825
|
-
var defineIterator = iteratorDefine;
|
|
1826
|
-
var createIterResultObject$1 = createIterResultObject$2;
|
|
1827
|
-
var DESCRIPTORS$1 = descriptors;
|
|
1828
|
-
|
|
1829
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1830
|
-
var setInternalState$1 = InternalStateModule$1.set;
|
|
1831
|
-
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1832
|
-
|
|
1833
|
-
// `Array.prototype.entries` method
|
|
1834
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
1835
|
-
// `Array.prototype.keys` method
|
|
1836
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
1837
|
-
// `Array.prototype.values` method
|
|
1838
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
1839
|
-
// `Array.prototype[@@iterator]` method
|
|
1840
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
1841
|
-
// `CreateArrayIterator` internal method
|
|
1842
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1843
|
-
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1844
|
-
setInternalState$1(this, {
|
|
1845
|
-
type: ARRAY_ITERATOR,
|
|
1846
|
-
target: toIndexedObject(iterated), // target
|
|
1847
|
-
index: 0, // next index
|
|
1848
|
-
kind: kind // kind
|
|
1849
|
-
});
|
|
1850
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
1851
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
1852
|
-
}, function () {
|
|
1853
|
-
var state = getInternalState(this);
|
|
1854
|
-
var target = state.target;
|
|
1855
|
-
var index = state.index++;
|
|
1856
|
-
if (!target || index >= target.length) {
|
|
1857
|
-
state.target = null;
|
|
1858
|
-
return createIterResultObject$1(undefined, true);
|
|
1859
|
-
}
|
|
1860
|
-
switch (state.kind) {
|
|
1861
|
-
case 'keys': return createIterResultObject$1(index, false);
|
|
1862
|
-
case 'values': return createIterResultObject$1(target[index], false);
|
|
1863
|
-
} return createIterResultObject$1([index, target[index]], false);
|
|
1864
|
-
}, 'values');
|
|
1865
|
-
|
|
1866
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1867
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1868
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1869
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
1870
|
-
|
|
1871
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1872
|
-
addToUnscopables('keys');
|
|
1873
|
-
addToUnscopables('values');
|
|
1874
|
-
addToUnscopables('entries');
|
|
1875
|
-
|
|
1876
|
-
// V8 ~ Chrome 45- bug
|
|
1877
|
-
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
1878
|
-
defineProperty$1(values, 'name', { value: 'values' });
|
|
1879
|
-
} catch (error) { /* empty */ }
|
|
1880
|
-
|
|
1881
|
-
var globalThis$2 = globalThis_1;
|
|
1882
|
-
var DOMIterables = domIterables;
|
|
1883
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1884
|
-
var ArrayIteratorMethods = es_array_iterator;
|
|
1885
|
-
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
1886
|
-
var setToStringTag = setToStringTag$3;
|
|
1887
|
-
var wellKnownSymbol$1 = wellKnownSymbol$c;
|
|
1888
|
-
|
|
1889
|
-
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
1890
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
|
1891
|
-
|
|
1892
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1893
|
-
if (CollectionPrototype) {
|
|
1894
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1895
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
1896
|
-
createNonEnumerableProperty$4(CollectionPrototype, ITERATOR, ArrayValues);
|
|
1897
|
-
} catch (error) {
|
|
1898
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1899
|
-
}
|
|
1900
|
-
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1901
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1902
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1903
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1904
|
-
createNonEnumerableProperty$4(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1905
|
-
} catch (error) {
|
|
1906
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1907
|
-
}
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
};
|
|
1911
|
-
|
|
1912
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
|
1913
|
-
handlePrototype(globalThis$2[COLLECTION_NAME] && globalThis$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1917
|
-
|
|
1918
1559
|
function flattenObject(obj, prefix = '', result = {}) {
|
|
1919
1560
|
Object.entries(obj).forEach(([key, value]) => {
|
|
1920
1561
|
const newKey = prefix ? `${prefix}-${key}` : key;
|
|
@@ -1935,7 +1576,7 @@ function moduleExists(modulePath) {
|
|
|
1935
1576
|
try {
|
|
1936
1577
|
require.resolve(modulePath);
|
|
1937
1578
|
return true;
|
|
1938
|
-
} catch
|
|
1579
|
+
} catch {
|
|
1939
1580
|
return false;
|
|
1940
1581
|
}
|
|
1941
1582
|
}
|
|
@@ -1948,7 +1589,7 @@ function flattenColorPalette(colors) {
|
|
|
1948
1589
|
default: twFlattenColorPalette
|
|
1949
1590
|
} = require('tailwindcss/lib/util/flattenColorPalette');
|
|
1950
1591
|
return twFlattenColorPalette(colors);
|
|
1951
|
-
} catch
|
|
1592
|
+
} catch {
|
|
1952
1593
|
return customFlattenColorPalette(colors);
|
|
1953
1594
|
}
|
|
1954
1595
|
}
|
|
@@ -2186,245 +1827,19 @@ const LogicalProperties = plugin(({
|
|
|
2186
1827
|
});
|
|
2187
1828
|
});
|
|
2188
1829
|
|
|
2189
|
-
var
|
|
2190
|
-
|
|
2191
|
-
var FunctionPrototype = Function.prototype;
|
|
2192
|
-
var apply$2 = FunctionPrototype.apply;
|
|
2193
|
-
var call$4 = FunctionPrototype.call;
|
|
2194
|
-
|
|
2195
|
-
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2196
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$2) : function () {
|
|
2197
|
-
return call$4.apply(apply$2, arguments);
|
|
2198
|
-
});
|
|
2199
|
-
|
|
2200
|
-
var defineProperty = objectDefineProperty.f;
|
|
2201
|
-
|
|
2202
|
-
var proxyAccessor$1 = function (Target, Source, key) {
|
|
2203
|
-
key in Target || defineProperty(Target, key, {
|
|
2204
|
-
configurable: true,
|
|
2205
|
-
get: function () { return Source[key]; },
|
|
2206
|
-
set: function (it) { Source[key] = it; }
|
|
2207
|
-
});
|
|
2208
|
-
};
|
|
2209
|
-
|
|
2210
|
-
var isCallable = isCallable$g;
|
|
2211
|
-
var isObject$1 = isObject$a;
|
|
2212
|
-
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
2213
|
-
|
|
2214
|
-
// makes subclassing work correct for wrapped built-ins
|
|
2215
|
-
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
2216
|
-
var NewTarget, NewTargetPrototype;
|
|
2217
|
-
if (
|
|
2218
|
-
// it can work only with native `setPrototypeOf`
|
|
2219
|
-
setPrototypeOf$1 &&
|
|
2220
|
-
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2221
|
-
isCallable(NewTarget = dummy.constructor) &&
|
|
2222
|
-
NewTarget !== Wrapper &&
|
|
2223
|
-
isObject$1(NewTargetPrototype = NewTarget.prototype) &&
|
|
2224
|
-
NewTargetPrototype !== Wrapper.prototype
|
|
2225
|
-
) setPrototypeOf$1($this, NewTargetPrototype);
|
|
2226
|
-
return $this;
|
|
2227
|
-
};
|
|
2228
|
-
|
|
2229
|
-
var classof = classof$2;
|
|
2230
|
-
|
|
2231
|
-
var $String = String;
|
|
2232
|
-
|
|
2233
|
-
var toString$1 = function (argument) {
|
|
2234
|
-
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2235
|
-
return $String(argument);
|
|
2236
|
-
};
|
|
2237
|
-
|
|
2238
|
-
var toString = toString$1;
|
|
2239
|
-
|
|
2240
|
-
var normalizeStringArgument$1 = function (argument, $default) {
|
|
2241
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
2242
|
-
};
|
|
2243
|
-
|
|
2244
|
-
var isObject = isObject$a;
|
|
2245
|
-
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
2246
|
-
|
|
2247
|
-
// `InstallErrorCause` abstract operation
|
|
2248
|
-
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
2249
|
-
var installErrorCause$1 = function (O, options) {
|
|
2250
|
-
if (isObject(options) && 'cause' in options) {
|
|
2251
|
-
createNonEnumerableProperty$3(O, 'cause', options.cause);
|
|
2252
|
-
}
|
|
2253
|
-
};
|
|
2254
|
-
|
|
2255
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
2256
|
-
|
|
2257
|
-
var $Error = Error;
|
|
2258
|
-
var replace = uncurryThis$3(''.replace);
|
|
2259
|
-
|
|
2260
|
-
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
2261
|
-
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
2262
|
-
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
2263
|
-
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
2264
|
-
|
|
2265
|
-
var errorStackClear = function (stack, dropEntries) {
|
|
2266
|
-
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
2267
|
-
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
2268
|
-
} return stack;
|
|
2269
|
-
};
|
|
2270
|
-
|
|
2271
|
-
var fails$3 = fails$f;
|
|
2272
|
-
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
2273
|
-
|
|
2274
|
-
var errorStackInstallable = !fails$3(function () {
|
|
2275
|
-
var error = new Error('a');
|
|
2276
|
-
if (!('stack' in error)) return true;
|
|
2277
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2278
|
-
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
2279
|
-
return error.stack !== 7;
|
|
2280
|
-
});
|
|
2281
|
-
|
|
2282
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
2283
|
-
var clearErrorStack = errorStackClear;
|
|
2284
|
-
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
2285
|
-
|
|
2286
|
-
// non-standard V8
|
|
2287
|
-
// eslint-disable-next-line es/no-nonstandard-error-properties -- safe
|
|
2288
|
-
var captureStackTrace = Error.captureStackTrace;
|
|
2289
|
-
|
|
2290
|
-
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
2291
|
-
if (ERROR_STACK_INSTALLABLE) {
|
|
2292
|
-
if (captureStackTrace) captureStackTrace(error, C);
|
|
2293
|
-
else createNonEnumerableProperty$2(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
2294
|
-
}
|
|
2295
|
-
};
|
|
2296
|
-
|
|
2297
|
-
var getBuiltIn$1 = getBuiltIn$5;
|
|
2298
|
-
var hasOwn = hasOwnProperty_1;
|
|
2299
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
2300
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
2301
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
2302
|
-
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2303
|
-
var proxyAccessor = proxyAccessor$1;
|
|
2304
|
-
var inheritIfRequired = inheritIfRequired$1;
|
|
2305
|
-
var normalizeStringArgument = normalizeStringArgument$1;
|
|
2306
|
-
var installErrorCause = installErrorCause$1;
|
|
2307
|
-
var installErrorStack = errorStackInstall;
|
|
2308
|
-
var DESCRIPTORS = descriptors;
|
|
2309
|
-
|
|
2310
|
-
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
2311
|
-
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
2312
|
-
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
2313
|
-
var path = FULL_NAME.split('.');
|
|
2314
|
-
var ERROR_NAME = path[path.length - 1];
|
|
2315
|
-
var OriginalError = getBuiltIn$1.apply(null, path);
|
|
2316
|
-
|
|
2317
|
-
if (!OriginalError) return;
|
|
2318
|
-
|
|
2319
|
-
var OriginalErrorPrototype = OriginalError.prototype;
|
|
2320
|
-
|
|
2321
|
-
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
2322
|
-
if (hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
2323
|
-
|
|
2324
|
-
if (!FORCED) return OriginalError;
|
|
2325
|
-
|
|
2326
|
-
var BaseError = getBuiltIn$1('Error');
|
|
2327
|
-
|
|
2328
|
-
var WrappedError = wrapper(function (a, b) {
|
|
2329
|
-
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
2330
|
-
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
2331
|
-
if (message !== undefined) createNonEnumerableProperty$1(result, 'message', message);
|
|
2332
|
-
installErrorStack(result, WrappedError, result.stack, 2);
|
|
2333
|
-
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
2334
|
-
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
2335
|
-
return result;
|
|
2336
|
-
});
|
|
2337
|
-
|
|
2338
|
-
WrappedError.prototype = OriginalErrorPrototype;
|
|
2339
|
-
|
|
2340
|
-
if (ERROR_NAME !== 'Error') {
|
|
2341
|
-
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
|
|
2342
|
-
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
2343
|
-
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
|
|
2344
|
-
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
2345
|
-
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
copyConstructorProperties(WrappedError, OriginalError);
|
|
2349
|
-
|
|
2350
|
-
try {
|
|
2351
|
-
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
2352
|
-
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
2353
|
-
createNonEnumerableProperty$1(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
2354
|
-
}
|
|
2355
|
-
OriginalErrorPrototype.constructor = WrappedError;
|
|
2356
|
-
} catch (error) { /* empty */ }
|
|
2357
|
-
|
|
2358
|
-
return WrappedError;
|
|
2359
|
-
};
|
|
2360
|
-
|
|
2361
|
-
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
2362
|
-
var $$c = _export;
|
|
2363
|
-
var globalThis$1 = globalThis_1;
|
|
2364
|
-
var apply$1 = functionApply;
|
|
2365
|
-
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2366
|
-
|
|
2367
|
-
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2368
|
-
var WebAssembly = globalThis$1[WEB_ASSEMBLY];
|
|
2369
|
-
|
|
2370
|
-
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
2371
|
-
var FORCED$4 = new Error('e', { cause: 7 }).cause !== 7;
|
|
2372
|
-
|
|
2373
|
-
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2374
|
-
var O = {};
|
|
2375
|
-
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2376
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$4);
|
|
2377
|
-
$$c({ global: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
|
|
2378
|
-
};
|
|
2379
|
-
|
|
2380
|
-
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2381
|
-
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2382
|
-
var O = {};
|
|
2383
|
-
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2384
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$4);
|
|
2385
|
-
$$c({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
|
|
2386
|
-
}
|
|
2387
|
-
};
|
|
2388
|
-
|
|
2389
|
-
// https://tc39.es/ecma262/#sec-nativeerror
|
|
2390
|
-
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
2391
|
-
return function Error(message) { return apply$1(init, this, arguments); };
|
|
2392
|
-
});
|
|
2393
|
-
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
2394
|
-
return function EvalError(message) { return apply$1(init, this, arguments); };
|
|
2395
|
-
});
|
|
2396
|
-
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
2397
|
-
return function RangeError(message) { return apply$1(init, this, arguments); };
|
|
2398
|
-
});
|
|
2399
|
-
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
2400
|
-
return function ReferenceError(message) { return apply$1(init, this, arguments); };
|
|
2401
|
-
});
|
|
2402
|
-
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
2403
|
-
return function SyntaxError(message) { return apply$1(init, this, arguments); };
|
|
2404
|
-
});
|
|
2405
|
-
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
2406
|
-
return function TypeError(message) { return apply$1(init, this, arguments); };
|
|
2407
|
-
});
|
|
2408
|
-
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
2409
|
-
return function URIError(message) { return apply$1(init, this, arguments); };
|
|
2410
|
-
});
|
|
2411
|
-
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
2412
|
-
return function CompileError(message) { return apply$1(init, this, arguments); };
|
|
2413
|
-
});
|
|
2414
|
-
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
2415
|
-
return function LinkError(message) { return apply$1(init, this, arguments); };
|
|
2416
|
-
});
|
|
2417
|
-
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
2418
|
-
return function RuntimeError(message) { return apply$1(init, this, arguments); };
|
|
2419
|
-
});
|
|
2420
|
-
|
|
2421
|
-
var defineBuiltIn = defineBuiltIn$4;
|
|
1830
|
+
var defineBuiltIn = defineBuiltIn$3;
|
|
2422
1831
|
|
|
2423
1832
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
2424
1833
|
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
2425
1834
|
return target;
|
|
2426
1835
|
};
|
|
2427
1836
|
|
|
1837
|
+
// `CreateIterResultObject` abstract operation
|
|
1838
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1839
|
+
var createIterResultObject$1 = function (value, done) {
|
|
1840
|
+
return { value: value, done: done };
|
|
1841
|
+
};
|
|
1842
|
+
|
|
2428
1843
|
var iteratorClose$6 = iteratorClose$9;
|
|
2429
1844
|
|
|
2430
1845
|
var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
@@ -2441,15 +1856,15 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
2441
1856
|
return value;
|
|
2442
1857
|
};
|
|
2443
1858
|
|
|
2444
|
-
var call$
|
|
1859
|
+
var call$4 = functionCall;
|
|
2445
1860
|
var create = objectCreate;
|
|
2446
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
1861
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
2447
1862
|
var defineBuiltIns = defineBuiltIns$1;
|
|
2448
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1863
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
|
2449
1864
|
var InternalStateModule = internalState;
|
|
2450
1865
|
var getMethod = getMethod$4;
|
|
2451
1866
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
2452
|
-
var createIterResultObject = createIterResultObject$
|
|
1867
|
+
var createIterResultObject = createIterResultObject$1;
|
|
2453
1868
|
var iteratorClose$5 = iteratorClose$9;
|
|
2454
1869
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
2455
1870
|
|
|
@@ -2485,7 +1900,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
2485
1900
|
state.done = true;
|
|
2486
1901
|
if (IS_ITERATOR) {
|
|
2487
1902
|
var returnMethod = getMethod(iterator, 'return');
|
|
2488
|
-
return returnMethod ? call$
|
|
1903
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2489
1904
|
}
|
|
2490
1905
|
if (state.inner) try {
|
|
2491
1906
|
iteratorClose$5(state.inner.iterator, NORMAL);
|
|
@@ -2551,9 +1966,9 @@ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
|
|
|
2551
1966
|
}
|
|
2552
1967
|
};
|
|
2553
1968
|
|
|
2554
|
-
var $$
|
|
2555
|
-
var call$
|
|
2556
|
-
var aCallable$
|
|
1969
|
+
var $$a = _export;
|
|
1970
|
+
var call$3 = functionCall;
|
|
1971
|
+
var aCallable$4 = aCallable$9;
|
|
2557
1972
|
var anObject$2 = anObject$d;
|
|
2558
1973
|
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
2559
1974
|
var createIteratorProxy = iteratorCreateProxy;
|
|
@@ -2570,23 +1985,23 @@ var FORCED$3 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEa
|
|
|
2570
1985
|
|
|
2571
1986
|
var IteratorProxy = createIteratorProxy(function () {
|
|
2572
1987
|
var iterator = this.iterator;
|
|
2573
|
-
var result = anObject$2(call$
|
|
1988
|
+
var result = anObject$2(call$3(this.next, iterator));
|
|
2574
1989
|
var done = this.done = !!result.done;
|
|
2575
1990
|
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
2576
1991
|
});
|
|
2577
1992
|
|
|
2578
1993
|
// `Iterator.prototype.map` method
|
|
2579
1994
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
2580
|
-
$$
|
|
1995
|
+
$$a({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
2581
1996
|
map: function map(mapper) {
|
|
2582
1997
|
anObject$2(this);
|
|
2583
1998
|
try {
|
|
2584
|
-
aCallable$
|
|
1999
|
+
aCallable$4(mapper);
|
|
2585
2000
|
} catch (error) {
|
|
2586
2001
|
iteratorClose$3(this, 'throw', error);
|
|
2587
2002
|
}
|
|
2588
2003
|
|
|
2589
|
-
if (mapWithoutClosingOnEarlyError) return call$
|
|
2004
|
+
if (mapWithoutClosingOnEarlyError) return call$3(mapWithoutClosingOnEarlyError, this, mapper);
|
|
2590
2005
|
|
|
2591
2006
|
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
2592
2007
|
mapper: mapper
|
|
@@ -2594,15 +2009,26 @@ $$b({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
|
2594
2009
|
}
|
|
2595
2010
|
});
|
|
2596
2011
|
|
|
2597
|
-
var
|
|
2598
|
-
|
|
2599
|
-
var
|
|
2012
|
+
var NATIVE_BIND = functionBindNative;
|
|
2013
|
+
|
|
2014
|
+
var FunctionPrototype = Function.prototype;
|
|
2015
|
+
var apply$1 = FunctionPrototype.apply;
|
|
2016
|
+
var call$2 = FunctionPrototype.call;
|
|
2017
|
+
|
|
2018
|
+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2019
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$1) : function () {
|
|
2020
|
+
return call$2.apply(apply$1, arguments);
|
|
2021
|
+
});
|
|
2022
|
+
|
|
2023
|
+
var $$9 = _export;
|
|
2024
|
+
var iterate$2 = iterate$4;
|
|
2025
|
+
var aCallable$3 = aCallable$9;
|
|
2600
2026
|
var anObject$1 = anObject$d;
|
|
2601
2027
|
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
2602
2028
|
var iteratorClose$2 = iteratorClose$9;
|
|
2603
2029
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3;
|
|
2604
2030
|
var apply = functionApply;
|
|
2605
|
-
var fails$2 = fails$
|
|
2031
|
+
var fails$2 = fails$e;
|
|
2606
2032
|
|
|
2607
2033
|
var $TypeError$1 = TypeError;
|
|
2608
2034
|
|
|
@@ -2616,11 +2042,11 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
2616
2042
|
|
|
2617
2043
|
// `Iterator.prototype.reduce` method
|
|
2618
2044
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
2619
|
-
$$
|
|
2045
|
+
$$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
2620
2046
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
2621
2047
|
anObject$1(this);
|
|
2622
2048
|
try {
|
|
2623
|
-
aCallable$
|
|
2049
|
+
aCallable$3(reducer);
|
|
2624
2050
|
} catch (error) {
|
|
2625
2051
|
iteratorClose$2(this, 'throw', error);
|
|
2626
2052
|
}
|
|
@@ -2632,7 +2058,7 @@ $$a({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2632
2058
|
}
|
|
2633
2059
|
var record = getIteratorDirect$1(this);
|
|
2634
2060
|
var counter = 0;
|
|
2635
|
-
iterate$
|
|
2061
|
+
iterate$2(record, function (value) {
|
|
2636
2062
|
if (noInitial) {
|
|
2637
2063
|
noInitial = false;
|
|
2638
2064
|
accumulator = value;
|
|
@@ -2646,23 +2072,7 @@ $$a({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2646
2072
|
}
|
|
2647
2073
|
});
|
|
2648
2074
|
|
|
2649
|
-
var
|
|
2650
|
-
var iterate$2 = iterate$5;
|
|
2651
|
-
var createProperty = createProperty$2;
|
|
2652
|
-
|
|
2653
|
-
// `Object.fromEntries` method
|
|
2654
|
-
// https://tc39.es/ecma262/#sec-object.fromentries
|
|
2655
|
-
$$9({ target: 'Object', stat: true }, {
|
|
2656
|
-
fromEntries: function fromEntries(iterable) {
|
|
2657
|
-
var obj = {};
|
|
2658
|
-
iterate$2(iterable, function (k, v) {
|
|
2659
|
-
createProperty(obj, k, v);
|
|
2660
|
-
}, { AS_ENTRIES: true });
|
|
2661
|
-
return obj;
|
|
2662
|
-
}
|
|
2663
|
-
});
|
|
2664
|
-
|
|
2665
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
2075
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2666
2076
|
|
|
2667
2077
|
// eslint-disable-next-line es/no-set -- safe
|
|
2668
2078
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2670,9 +2080,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2670
2080
|
var setHelpers = {
|
|
2671
2081
|
// eslint-disable-next-line es/no-set -- safe
|
|
2672
2082
|
Set: Set,
|
|
2673
|
-
add: uncurryThis$
|
|
2674
|
-
has: uncurryThis$
|
|
2675
|
-
remove: uncurryThis$
|
|
2083
|
+
add: uncurryThis$3(SetPrototype$1.add),
|
|
2084
|
+
has: uncurryThis$3(SetPrototype$1.has),
|
|
2085
|
+
remove: uncurryThis$3(SetPrototype$1['delete']),
|
|
2676
2086
|
proto: SetPrototype$1
|
|
2677
2087
|
};
|
|
2678
2088
|
|
|
@@ -2696,14 +2106,14 @@ var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
|
2696
2106
|
}
|
|
2697
2107
|
};
|
|
2698
2108
|
|
|
2699
|
-
var uncurryThis$
|
|
2109
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
2700
2110
|
var iterateSimple$6 = iterateSimple$7;
|
|
2701
2111
|
var SetHelpers$5 = setHelpers;
|
|
2702
2112
|
|
|
2703
2113
|
var Set$3 = SetHelpers$5.Set;
|
|
2704
2114
|
var SetPrototype = SetHelpers$5.proto;
|
|
2705
|
-
var forEach = uncurryThis$
|
|
2706
|
-
var keys = uncurryThis$
|
|
2115
|
+
var forEach = uncurryThis$2(SetPrototype.forEach);
|
|
2116
|
+
var keys = uncurryThis$2(SetPrototype.keys);
|
|
2707
2117
|
var next = keys(new Set$3()).next;
|
|
2708
2118
|
|
|
2709
2119
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2724,6 +2134,16 @@ var setClone = function (set) {
|
|
|
2724
2134
|
return result;
|
|
2725
2135
|
};
|
|
2726
2136
|
|
|
2137
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
2138
|
+
var aCallable$2 = aCallable$9;
|
|
2139
|
+
|
|
2140
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2141
|
+
try {
|
|
2142
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2143
|
+
return uncurryThis$1(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2144
|
+
} catch (error) { /* empty */ }
|
|
2145
|
+
};
|
|
2146
|
+
|
|
2727
2147
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2728
2148
|
var SetHelpers$3 = setHelpers;
|
|
2729
2149
|
|
|
@@ -2797,7 +2217,7 @@ var setDifference = function difference(other) {
|
|
|
2797
2217
|
return result;
|
|
2798
2218
|
};
|
|
2799
2219
|
|
|
2800
|
-
var getBuiltIn = getBuiltIn$
|
|
2220
|
+
var getBuiltIn = getBuiltIn$4;
|
|
2801
2221
|
|
|
2802
2222
|
var createSetLike = function (size) {
|
|
2803
2223
|
return {
|
|
@@ -2857,7 +2277,7 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
2857
2277
|
|
|
2858
2278
|
var $$8 = _export;
|
|
2859
2279
|
var difference = setDifference;
|
|
2860
|
-
var fails$1 = fails$
|
|
2280
|
+
var fails$1 = fails$e;
|
|
2861
2281
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
2862
2282
|
|
|
2863
2283
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
@@ -2924,7 +2344,7 @@ var setIntersection = function intersection(other) {
|
|
|
2924
2344
|
};
|
|
2925
2345
|
|
|
2926
2346
|
var $$7 = _export;
|
|
2927
|
-
var fails = fails$
|
|
2347
|
+
var fails = fails$e;
|
|
2928
2348
|
var intersection = setIntersection;
|
|
2929
2349
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
2930
2350
|
|
|
@@ -3217,11 +2637,17 @@ const resolveInheritance = themes => {
|
|
|
3217
2637
|
if (resolved.has(name)) return resolved.get(name);
|
|
3218
2638
|
const theme = themeMap.get(name);
|
|
3219
2639
|
if (!theme) throw new Error(`Theme "${name}" not found`);
|
|
3220
|
-
const merged = theme.extends ?
|
|
2640
|
+
const merged = theme.extends ? {
|
|
2641
|
+
...resolve(theme.extends),
|
|
2642
|
+
...theme.theme
|
|
2643
|
+
} : {
|
|
2644
|
+
...theme.theme
|
|
2645
|
+
};
|
|
3221
2646
|
resolved.set(name, merged);
|
|
3222
2647
|
return merged;
|
|
3223
2648
|
};
|
|
3224
|
-
return themes.map(t =>
|
|
2649
|
+
return themes.map(t => ({
|
|
2650
|
+
...t,
|
|
3225
2651
|
theme: resolve(t.name)
|
|
3226
2652
|
}));
|
|
3227
2653
|
};
|
|
@@ -3233,7 +2659,7 @@ function createThemeSwapper({
|
|
|
3233
2659
|
return ({
|
|
3234
2660
|
addBase
|
|
3235
2661
|
}) => {
|
|
3236
|
-
if (!
|
|
2662
|
+
if (!themes?.length) throw new Error('At least one theme required');
|
|
3237
2663
|
const names = new Set();
|
|
3238
2664
|
themes.forEach(({
|
|
3239
2665
|
name,
|
|
@@ -3241,7 +2667,7 @@ function createThemeSwapper({
|
|
|
3241
2667
|
}, i) => {
|
|
3242
2668
|
if (!name) throw new Error(`Theme at index ${i} missing name`);
|
|
3243
2669
|
if (names.has(name)) throw new Error(`Duplicate theme: "${name}"`);
|
|
3244
|
-
if (!
|
|
2670
|
+
if (!selectors?.length) throw new Error(`Theme "${name}" needs selectors`);
|
|
3245
2671
|
names.add(name);
|
|
3246
2672
|
});
|
|
3247
2673
|
if (debug) {
|
|
@@ -4272,16 +3698,22 @@ const TYPOGRAPHY_DEFAULT = {
|
|
|
4272
3698
|
const inherit = 'inherit';
|
|
4273
3699
|
var index = {
|
|
4274
3700
|
theme: {
|
|
4275
|
-
colors:
|
|
3701
|
+
colors: {
|
|
4276
3702
|
inherit,
|
|
4277
3703
|
current: 'currentColor',
|
|
4278
|
-
transparent: 'transparent'
|
|
4279
|
-
|
|
3704
|
+
transparent: 'transparent',
|
|
3705
|
+
...PRIMITIVE_COLORS,
|
|
4280
3706
|
focus: DECLARATIVE_COLORS.focus,
|
|
4281
|
-
data:
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
3707
|
+
data: {
|
|
3708
|
+
...DECLARATIVE_COLORS.data
|
|
3709
|
+
},
|
|
3710
|
+
icon: {
|
|
3711
|
+
...DECLARATIVE_COLORS.icon
|
|
3712
|
+
},
|
|
3713
|
+
ui: {
|
|
3714
|
+
...DECLARATIVE_COLORS.ui
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
4285
3717
|
borderRadius: {
|
|
4286
3718
|
none: 'var(--bq-radius--none)',
|
|
4287
3719
|
xs2: 'var(--bq-radius--xs2)',
|
|
@@ -4343,11 +3775,21 @@ var index = {
|
|
|
4343
3775
|
l: 'var(--bq-stroke-l)'
|
|
4344
3776
|
},
|
|
4345
3777
|
extend: {
|
|
4346
|
-
backgroundColor:
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
3778
|
+
backgroundColor: {
|
|
3779
|
+
...DECLARATIVE_COLORS.bg
|
|
3780
|
+
},
|
|
3781
|
+
borderColor: {
|
|
3782
|
+
...DECLARATIVE_COLORS.stroke
|
|
3783
|
+
},
|
|
3784
|
+
stroke: {
|
|
3785
|
+
...DECLARATIVE_COLORS.stroke
|
|
3786
|
+
},
|
|
3787
|
+
textColor: {
|
|
3788
|
+
...DECLARATIVE_COLORS.text
|
|
3789
|
+
},
|
|
3790
|
+
fill: {
|
|
3791
|
+
...DECLARATIVE_COLORS.icon
|
|
3792
|
+
},
|
|
4351
3793
|
content: {
|
|
4352
3794
|
empty: "''"
|
|
4353
3795
|
},
|
|
@@ -4378,9 +3820,12 @@ var index = {
|
|
|
4378
3820
|
addComponents,
|
|
4379
3821
|
theme
|
|
4380
3822
|
}) => {
|
|
4381
|
-
addBase(
|
|
4382
|
-
':root, ::backdrop':
|
|
4383
|
-
|
|
3823
|
+
addBase({
|
|
3824
|
+
':root, ::backdrop': {
|
|
3825
|
+
...CSS_COLORS
|
|
3826
|
+
},
|
|
3827
|
+
...reset
|
|
3828
|
+
});
|
|
4384
3829
|
addComponents({
|
|
4385
3830
|
'.focus': {
|
|
4386
3831
|
outline: `var(--bq-ring-width, 2px) solid var(--bq-ring-color-focus, ${String(theme('colors.focus'))})`,
|
|
@@ -4391,30 +3836,42 @@ var index = {
|
|
|
4391
3836
|
themes: [{
|
|
4392
3837
|
name: 'base',
|
|
4393
3838
|
selectors: [':root'],
|
|
4394
|
-
theme:
|
|
3839
|
+
theme: {
|
|
3840
|
+
...DefaultRootTheme
|
|
3841
|
+
}
|
|
4395
3842
|
}, {
|
|
4396
3843
|
name: 'light',
|
|
4397
3844
|
selectors: [':root:not([bq-theme]):not([bq-mode])', ':root[bq-theme="beeq"]:not([bq-mode])', '.beeq:not([bq-mode])', '[bq-mode="light"]', '.light'],
|
|
4398
|
-
theme:
|
|
3845
|
+
theme: {
|
|
3846
|
+
...DefaultLightTheme
|
|
3847
|
+
},
|
|
4399
3848
|
mode: true
|
|
4400
3849
|
}, {
|
|
4401
3850
|
name: 'dark',
|
|
4402
3851
|
selectors: ['[bq-mode="dark"]', '.dark'],
|
|
4403
|
-
theme:
|
|
3852
|
+
theme: {
|
|
3853
|
+
...DefaultDarkTheme
|
|
3854
|
+
},
|
|
4404
3855
|
mode: true
|
|
4405
3856
|
}, {
|
|
4406
3857
|
name: 'endava',
|
|
4407
3858
|
selectors: ['[bq-theme="endava"]', '.endava'],
|
|
4408
|
-
theme:
|
|
3859
|
+
theme: {
|
|
3860
|
+
...EndavaRootTheme
|
|
3861
|
+
}
|
|
4409
3862
|
}, {
|
|
4410
3863
|
name: 'endava-light',
|
|
4411
3864
|
selectors: ['[bq-theme="endava"]:not([bq-mode])', '.endava:not([bq-mode])', '[bq-theme="endava"][bq-mode="light"]', '.endava.light'],
|
|
4412
|
-
theme:
|
|
3865
|
+
theme: {
|
|
3866
|
+
...EndavaLightTheme
|
|
3867
|
+
},
|
|
4413
3868
|
mode: true
|
|
4414
3869
|
}, {
|
|
4415
3870
|
name: 'endava-dark',
|
|
4416
3871
|
selectors: ['[bq-theme="endava"][bq-mode="dark"]', '.endava.dark'],
|
|
4417
|
-
theme:
|
|
3872
|
+
theme: {
|
|
3873
|
+
...EndavaDarkTheme
|
|
3874
|
+
},
|
|
4418
3875
|
mode: true
|
|
4419
3876
|
}]
|
|
4420
3877
|
})]
|