@hebcal/core 5.5.0 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1693 -1128
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +2 -2
- package/dist/bundle.min.js.map +1 -1
- package/dist/index.cjs +25 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +25 -22
- package/dist/index.mjs.map +1 -1
- package/dist/pkgVersion.d.ts +1 -1
- package/package.json +11 -11
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/core v5.5.
|
|
1
|
+
/*! @hebcal/core v5.5.1 */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -2288,1171 +2288,1733 @@ class HebrewDateEvent extends Event {
|
|
|
2288
2288
|
|
|
2289
2289
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2290
2290
|
|
|
2291
|
-
var
|
|
2292
|
-
return it && it.Math === Math && it;
|
|
2293
|
-
};
|
|
2294
|
-
|
|
2295
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2296
|
-
var globalThis_1 =
|
|
2297
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
2298
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
2299
|
-
check(typeof window == 'object' && window) ||
|
|
2300
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
2301
|
-
check(typeof self == 'object' && self) ||
|
|
2302
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
2303
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
2304
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
2305
|
-
(function () { return this; })() || Function('return this')();
|
|
2306
|
-
|
|
2307
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
2308
|
-
|
|
2309
|
-
var fails$9 = function (exec) {
|
|
2310
|
-
try {
|
|
2311
|
-
return !!exec();
|
|
2312
|
-
} catch (error) {
|
|
2313
|
-
return true;
|
|
2314
|
-
}
|
|
2315
|
-
};
|
|
2316
|
-
|
|
2317
|
-
var fails$8 = fails$9;
|
|
2318
|
-
|
|
2319
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
2320
|
-
var descriptors = !fails$8(function () {
|
|
2321
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2322
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
2323
|
-
});
|
|
2324
|
-
|
|
2325
|
-
var fails$7 = fails$9;
|
|
2326
|
-
|
|
2327
|
-
var functionBindNative = !fails$7(function () {
|
|
2328
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
2329
|
-
var test = (function () { /* empty */ }).bind();
|
|
2330
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2331
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
2332
|
-
});
|
|
2333
|
-
|
|
2334
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
2335
|
-
|
|
2336
|
-
var call$4 = Function.prototype.call;
|
|
2337
|
-
|
|
2338
|
-
var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
|
|
2339
|
-
return call$4.apply(call$4, arguments);
|
|
2340
|
-
};
|
|
2291
|
+
var es_array_includes = {};
|
|
2341
2292
|
|
|
2342
|
-
var
|
|
2343
|
-
|
|
2344
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
2345
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2346
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2347
|
-
|
|
2348
|
-
// Nashorn ~ JDK8 bug
|
|
2349
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
2350
|
-
|
|
2351
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
2352
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
2353
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
2354
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
2355
|
-
return !!descriptor && descriptor.enumerable;
|
|
2356
|
-
} : $propertyIsEnumerable;
|
|
2357
|
-
|
|
2358
|
-
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
2359
|
-
return {
|
|
2360
|
-
enumerable: !(bitmap & 1),
|
|
2361
|
-
configurable: !(bitmap & 2),
|
|
2362
|
-
writable: !(bitmap & 4),
|
|
2363
|
-
value: value
|
|
2364
|
-
};
|
|
2365
|
-
};
|
|
2293
|
+
var globalThis_1;
|
|
2294
|
+
var hasRequiredGlobalThis;
|
|
2366
2295
|
|
|
2367
|
-
|
|
2296
|
+
function requireGlobalThis () {
|
|
2297
|
+
if (hasRequiredGlobalThis) return globalThis_1;
|
|
2298
|
+
hasRequiredGlobalThis = 1;
|
|
2299
|
+
var check = function (it) {
|
|
2300
|
+
return it && it.Math === Math && it;
|
|
2301
|
+
};
|
|
2368
2302
|
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
var stringSlice$1 = uncurryThis$8(''.slice);
|
|
2383
|
-
|
|
2384
|
-
var classofRaw = function (it) {
|
|
2385
|
-
return stringSlice$1(toString$2(it), 8, -1);
|
|
2386
|
-
};
|
|
2387
|
-
|
|
2388
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
2389
|
-
var fails$6 = fails$9;
|
|
2390
|
-
var classof = classofRaw;
|
|
2391
|
-
|
|
2392
|
-
var $Object$2 = Object;
|
|
2393
|
-
var split = uncurryThis$7(''.split);
|
|
2394
|
-
|
|
2395
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2396
|
-
var indexedObject = fails$6(function () {
|
|
2397
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
2398
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2399
|
-
return !$Object$2('z').propertyIsEnumerable(0);
|
|
2400
|
-
}) ? function (it) {
|
|
2401
|
-
return classof(it) === 'String' ? split(it, '') : $Object$2(it);
|
|
2402
|
-
} : $Object$2;
|
|
2403
|
-
|
|
2404
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
2405
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
2406
|
-
var isNullOrUndefined$2 = function (it) {
|
|
2407
|
-
return it === null || it === undefined;
|
|
2408
|
-
};
|
|
2409
|
-
|
|
2410
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
2411
|
-
|
|
2412
|
-
var $TypeError$5 = TypeError;
|
|
2413
|
-
|
|
2414
|
-
// `RequireObjectCoercible` abstract operation
|
|
2415
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
2416
|
-
var requireObjectCoercible$2 = function (it) {
|
|
2417
|
-
if (isNullOrUndefined$1(it)) throw new $TypeError$5("Can't call method on " + it);
|
|
2418
|
-
return it;
|
|
2419
|
-
};
|
|
2420
|
-
|
|
2421
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
2422
|
-
var IndexedObject = indexedObject;
|
|
2423
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
2424
|
-
|
|
2425
|
-
var toIndexedObject$4 = function (it) {
|
|
2426
|
-
return IndexedObject(requireObjectCoercible$1(it));
|
|
2427
|
-
};
|
|
2428
|
-
|
|
2429
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
2430
|
-
var documentAll = typeof document == 'object' && document.all;
|
|
2431
|
-
|
|
2432
|
-
// `IsCallable` abstract operation
|
|
2433
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
2434
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
2435
|
-
var isCallable$a = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
2436
|
-
return typeof argument == 'function' || argument === documentAll;
|
|
2437
|
-
} : function (argument) {
|
|
2438
|
-
return typeof argument == 'function';
|
|
2439
|
-
};
|
|
2440
|
-
|
|
2441
|
-
var isCallable$9 = isCallable$a;
|
|
2442
|
-
|
|
2443
|
-
var isObject$5 = function (it) {
|
|
2444
|
-
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
|
2445
|
-
};
|
|
2446
|
-
|
|
2447
|
-
var globalThis$b = globalThis_1;
|
|
2448
|
-
var isCallable$8 = isCallable$a;
|
|
2449
|
-
|
|
2450
|
-
var aFunction = function (argument) {
|
|
2451
|
-
return isCallable$8(argument) ? argument : undefined;
|
|
2452
|
-
};
|
|
2303
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2304
|
+
globalThis_1 =
|
|
2305
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
2306
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
2307
|
+
check(typeof window == 'object' && window) ||
|
|
2308
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
2309
|
+
check(typeof self == 'object' && self) ||
|
|
2310
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
2311
|
+
check(typeof globalThis_1 == 'object' && globalThis_1) ||
|
|
2312
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
2313
|
+
(function () { return this; })() || Function('return this')();
|
|
2314
|
+
return globalThis_1;
|
|
2315
|
+
}
|
|
2453
2316
|
|
|
2454
|
-
var
|
|
2455
|
-
return arguments.length < 2 ? aFunction(globalThis$b[namespace]) : globalThis$b[namespace] && globalThis$b[namespace][method];
|
|
2456
|
-
};
|
|
2317
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
2457
2318
|
|
|
2458
|
-
var
|
|
2319
|
+
var fails;
|
|
2320
|
+
var hasRequiredFails;
|
|
2459
2321
|
|
|
2460
|
-
|
|
2322
|
+
function requireFails () {
|
|
2323
|
+
if (hasRequiredFails) return fails;
|
|
2324
|
+
hasRequiredFails = 1;
|
|
2325
|
+
fails = function (exec) {
|
|
2326
|
+
try {
|
|
2327
|
+
return !!exec();
|
|
2328
|
+
} catch (error) {
|
|
2329
|
+
return true;
|
|
2330
|
+
}
|
|
2331
|
+
};
|
|
2332
|
+
return fails;
|
|
2333
|
+
}
|
|
2461
2334
|
|
|
2462
|
-
var
|
|
2335
|
+
var descriptors;
|
|
2336
|
+
var hasRequiredDescriptors;
|
|
2463
2337
|
|
|
2464
|
-
|
|
2465
|
-
|
|
2338
|
+
function requireDescriptors () {
|
|
2339
|
+
if (hasRequiredDescriptors) return descriptors;
|
|
2340
|
+
hasRequiredDescriptors = 1;
|
|
2341
|
+
var fails = requireFails();
|
|
2466
2342
|
|
|
2467
|
-
|
|
2343
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
2344
|
+
descriptors = !fails(function () {
|
|
2345
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2346
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
2347
|
+
});
|
|
2348
|
+
return descriptors;
|
|
2349
|
+
}
|
|
2468
2350
|
|
|
2469
|
-
var
|
|
2470
|
-
var
|
|
2351
|
+
var functionBindNative;
|
|
2352
|
+
var hasRequiredFunctionBindNative;
|
|
2471
2353
|
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
var
|
|
2476
|
-
var match, version$1;
|
|
2354
|
+
function requireFunctionBindNative () {
|
|
2355
|
+
if (hasRequiredFunctionBindNative) return functionBindNative;
|
|
2356
|
+
hasRequiredFunctionBindNative = 1;
|
|
2357
|
+
var fails = requireFails();
|
|
2477
2358
|
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2359
|
+
functionBindNative = !fails(function () {
|
|
2360
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
2361
|
+
var test = (function () { /* empty */ }).bind();
|
|
2362
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2363
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
2364
|
+
});
|
|
2365
|
+
return functionBindNative;
|
|
2483
2366
|
}
|
|
2484
2367
|
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
if (!version$1 && userAgent) {
|
|
2488
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
2489
|
-
if (!match || match[1] >= 74) {
|
|
2490
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
2491
|
-
if (match) version$1 = +match[1];
|
|
2492
|
-
}
|
|
2493
|
-
}
|
|
2368
|
+
var functionCall;
|
|
2369
|
+
var hasRequiredFunctionCall;
|
|
2494
2370
|
|
|
2495
|
-
|
|
2371
|
+
function requireFunctionCall () {
|
|
2372
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
2373
|
+
hasRequiredFunctionCall = 1;
|
|
2374
|
+
var NATIVE_BIND = requireFunctionBindNative();
|
|
2496
2375
|
|
|
2497
|
-
|
|
2498
|
-
var V8_VERSION = environmentV8Version;
|
|
2499
|
-
var fails$5 = fails$9;
|
|
2500
|
-
var globalThis$8 = globalThis_1;
|
|
2376
|
+
var call = Function.prototype.call;
|
|
2501
2377
|
|
|
2502
|
-
|
|
2378
|
+
functionCall = NATIVE_BIND ? call.bind(call) : function () {
|
|
2379
|
+
return call.apply(call, arguments);
|
|
2380
|
+
};
|
|
2381
|
+
return functionCall;
|
|
2382
|
+
}
|
|
2503
2383
|
|
|
2504
|
-
|
|
2505
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
|
2506
|
-
var symbol = Symbol('symbol detection');
|
|
2507
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
2508
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
2509
|
-
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
2510
|
-
// of course, fail.
|
|
2511
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
2512
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
2513
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
2514
|
-
});
|
|
2384
|
+
var objectPropertyIsEnumerable = {};
|
|
2515
2385
|
|
|
2516
|
-
|
|
2517
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
2386
|
+
var hasRequiredObjectPropertyIsEnumerable;
|
|
2518
2387
|
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2388
|
+
function requireObjectPropertyIsEnumerable () {
|
|
2389
|
+
if (hasRequiredObjectPropertyIsEnumerable) return objectPropertyIsEnumerable;
|
|
2390
|
+
hasRequiredObjectPropertyIsEnumerable = 1;
|
|
2391
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
2392
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2393
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2394
|
+
|
|
2395
|
+
// Nashorn ~ JDK8 bug
|
|
2396
|
+
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
2397
|
+
|
|
2398
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
2399
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
2400
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
2401
|
+
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
2402
|
+
return !!descriptor && descriptor.enumerable;
|
|
2403
|
+
} : $propertyIsEnumerable;
|
|
2404
|
+
return objectPropertyIsEnumerable;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
var createPropertyDescriptor;
|
|
2408
|
+
var hasRequiredCreatePropertyDescriptor;
|
|
2409
|
+
|
|
2410
|
+
function requireCreatePropertyDescriptor () {
|
|
2411
|
+
if (hasRequiredCreatePropertyDescriptor) return createPropertyDescriptor;
|
|
2412
|
+
hasRequiredCreatePropertyDescriptor = 1;
|
|
2413
|
+
createPropertyDescriptor = function (bitmap, value) {
|
|
2414
|
+
return {
|
|
2415
|
+
enumerable: !(bitmap & 1),
|
|
2416
|
+
configurable: !(bitmap & 2),
|
|
2417
|
+
writable: !(bitmap & 4),
|
|
2418
|
+
value: value
|
|
2419
|
+
};
|
|
2420
|
+
};
|
|
2421
|
+
return createPropertyDescriptor;
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
var functionUncurryThis;
|
|
2425
|
+
var hasRequiredFunctionUncurryThis;
|
|
2426
|
+
|
|
2427
|
+
function requireFunctionUncurryThis () {
|
|
2428
|
+
if (hasRequiredFunctionUncurryThis) return functionUncurryThis;
|
|
2429
|
+
hasRequiredFunctionUncurryThis = 1;
|
|
2430
|
+
var NATIVE_BIND = requireFunctionBindNative();
|
|
2431
|
+
|
|
2432
|
+
var FunctionPrototype = Function.prototype;
|
|
2433
|
+
var call = FunctionPrototype.call;
|
|
2434
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
2435
|
+
|
|
2436
|
+
functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
2437
|
+
return function () {
|
|
2438
|
+
return call.apply(fn, arguments);
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
return functionUncurryThis;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
var classofRaw;
|
|
2445
|
+
var hasRequiredClassofRaw;
|
|
2446
|
+
|
|
2447
|
+
function requireClassofRaw () {
|
|
2448
|
+
if (hasRequiredClassofRaw) return classofRaw;
|
|
2449
|
+
hasRequiredClassofRaw = 1;
|
|
2450
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
2451
|
+
|
|
2452
|
+
var toString = uncurryThis({}.toString);
|
|
2453
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2454
|
+
|
|
2455
|
+
classofRaw = function (it) {
|
|
2456
|
+
return stringSlice(toString(it), 8, -1);
|
|
2457
|
+
};
|
|
2458
|
+
return classofRaw;
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
var indexedObject;
|
|
2462
|
+
var hasRequiredIndexedObject;
|
|
2463
|
+
|
|
2464
|
+
function requireIndexedObject () {
|
|
2465
|
+
if (hasRequiredIndexedObject) return indexedObject;
|
|
2466
|
+
hasRequiredIndexedObject = 1;
|
|
2467
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
2468
|
+
var fails = requireFails();
|
|
2469
|
+
var classof = requireClassofRaw();
|
|
2470
|
+
|
|
2471
|
+
var $Object = Object;
|
|
2472
|
+
var split = uncurryThis(''.split);
|
|
2473
|
+
|
|
2474
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2475
|
+
indexedObject = fails(function () {
|
|
2476
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
2477
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2478
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
2479
|
+
}) ? function (it) {
|
|
2480
|
+
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
|
2481
|
+
} : $Object;
|
|
2482
|
+
return indexedObject;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
var isNullOrUndefined;
|
|
2486
|
+
var hasRequiredIsNullOrUndefined;
|
|
2487
|
+
|
|
2488
|
+
function requireIsNullOrUndefined () {
|
|
2489
|
+
if (hasRequiredIsNullOrUndefined) return isNullOrUndefined;
|
|
2490
|
+
hasRequiredIsNullOrUndefined = 1;
|
|
2491
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
2492
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
2493
|
+
isNullOrUndefined = function (it) {
|
|
2494
|
+
return it === null || it === undefined;
|
|
2495
|
+
};
|
|
2496
|
+
return isNullOrUndefined;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
var requireObjectCoercible;
|
|
2500
|
+
var hasRequiredRequireObjectCoercible;
|
|
2522
2501
|
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
var
|
|
2502
|
+
function requireRequireObjectCoercible () {
|
|
2503
|
+
if (hasRequiredRequireObjectCoercible) return requireObjectCoercible;
|
|
2504
|
+
hasRequiredRequireObjectCoercible = 1;
|
|
2505
|
+
var isNullOrUndefined = requireIsNullOrUndefined();
|
|
2527
2506
|
|
|
2528
|
-
var $
|
|
2507
|
+
var $TypeError = TypeError;
|
|
2508
|
+
|
|
2509
|
+
// `RequireObjectCoercible` abstract operation
|
|
2510
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
2511
|
+
requireObjectCoercible = function (it) {
|
|
2512
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
2513
|
+
return it;
|
|
2514
|
+
};
|
|
2515
|
+
return requireObjectCoercible;
|
|
2516
|
+
}
|
|
2529
2517
|
|
|
2530
|
-
var
|
|
2531
|
-
|
|
2532
|
-
} : function (it) {
|
|
2533
|
-
var $Symbol = getBuiltIn$2('Symbol');
|
|
2534
|
-
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
2535
|
-
};
|
|
2518
|
+
var toIndexedObject;
|
|
2519
|
+
var hasRequiredToIndexedObject;
|
|
2536
2520
|
|
|
2537
|
-
|
|
2521
|
+
function requireToIndexedObject () {
|
|
2522
|
+
if (hasRequiredToIndexedObject) return toIndexedObject;
|
|
2523
|
+
hasRequiredToIndexedObject = 1;
|
|
2524
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
2525
|
+
var IndexedObject = requireIndexedObject();
|
|
2526
|
+
var requireObjectCoercible = requireRequireObjectCoercible();
|
|
2538
2527
|
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
}
|
|
2545
|
-
};
|
|
2546
|
-
|
|
2547
|
-
var isCallable$6 = isCallable$a;
|
|
2548
|
-
var tryToString = tryToString$1;
|
|
2528
|
+
toIndexedObject = function (it) {
|
|
2529
|
+
return IndexedObject(requireObjectCoercible(it));
|
|
2530
|
+
};
|
|
2531
|
+
return toIndexedObject;
|
|
2532
|
+
}
|
|
2549
2533
|
|
|
2550
|
-
var
|
|
2534
|
+
var isCallable;
|
|
2535
|
+
var hasRequiredIsCallable;
|
|
2551
2536
|
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2537
|
+
function requireIsCallable () {
|
|
2538
|
+
if (hasRequiredIsCallable) return isCallable;
|
|
2539
|
+
hasRequiredIsCallable = 1;
|
|
2540
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
2541
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
2557
2542
|
|
|
2558
|
-
|
|
2559
|
-
|
|
2543
|
+
// `IsCallable` abstract operation
|
|
2544
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
2545
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
2546
|
+
isCallable = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
2547
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
2548
|
+
} : function (argument) {
|
|
2549
|
+
return typeof argument == 'function';
|
|
2550
|
+
};
|
|
2551
|
+
return isCallable;
|
|
2552
|
+
}
|
|
2560
2553
|
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2554
|
+
var isObject;
|
|
2555
|
+
var hasRequiredIsObject;
|
|
2556
|
+
|
|
2557
|
+
function requireIsObject () {
|
|
2558
|
+
if (hasRequiredIsObject) return isObject;
|
|
2559
|
+
hasRequiredIsObject = 1;
|
|
2560
|
+
var isCallable = requireIsCallable();
|
|
2561
|
+
|
|
2562
|
+
isObject = function (it) {
|
|
2563
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
2564
|
+
};
|
|
2565
|
+
return isObject;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
var getBuiltIn;
|
|
2569
|
+
var hasRequiredGetBuiltIn;
|
|
2570
|
+
|
|
2571
|
+
function requireGetBuiltIn () {
|
|
2572
|
+
if (hasRequiredGetBuiltIn) return getBuiltIn;
|
|
2573
|
+
hasRequiredGetBuiltIn = 1;
|
|
2574
|
+
var globalThis = requireGlobalThis();
|
|
2575
|
+
var isCallable = requireIsCallable();
|
|
2576
|
+
|
|
2577
|
+
var aFunction = function (argument) {
|
|
2578
|
+
return isCallable(argument) ? argument : undefined;
|
|
2579
|
+
};
|
|
2580
|
+
|
|
2581
|
+
getBuiltIn = function (namespace, method) {
|
|
2582
|
+
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
|
|
2583
|
+
};
|
|
2584
|
+
return getBuiltIn;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
var objectIsPrototypeOf;
|
|
2588
|
+
var hasRequiredObjectIsPrototypeOf;
|
|
2589
|
+
|
|
2590
|
+
function requireObjectIsPrototypeOf () {
|
|
2591
|
+
if (hasRequiredObjectIsPrototypeOf) return objectIsPrototypeOf;
|
|
2592
|
+
hasRequiredObjectIsPrototypeOf = 1;
|
|
2593
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
2567
2594
|
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2595
|
+
objectIsPrototypeOf = uncurryThis({}.isPrototypeOf);
|
|
2596
|
+
return objectIsPrototypeOf;
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
var environmentUserAgent;
|
|
2600
|
+
var hasRequiredEnvironmentUserAgent;
|
|
2601
|
+
|
|
2602
|
+
function requireEnvironmentUserAgent () {
|
|
2603
|
+
if (hasRequiredEnvironmentUserAgent) return environmentUserAgent;
|
|
2604
|
+
hasRequiredEnvironmentUserAgent = 1;
|
|
2605
|
+
var globalThis = requireGlobalThis();
|
|
2606
|
+
|
|
2607
|
+
var navigator = globalThis.navigator;
|
|
2608
|
+
var userAgent = navigator && navigator.userAgent;
|
|
2609
|
+
|
|
2610
|
+
environmentUserAgent = userAgent ? String(userAgent) : '';
|
|
2611
|
+
return environmentUserAgent;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
var environmentV8Version;
|
|
2615
|
+
var hasRequiredEnvironmentV8Version;
|
|
2571
2616
|
|
|
2572
|
-
|
|
2617
|
+
function requireEnvironmentV8Version () {
|
|
2618
|
+
if (hasRequiredEnvironmentV8Version) return environmentV8Version;
|
|
2619
|
+
hasRequiredEnvironmentV8Version = 1;
|
|
2620
|
+
var globalThis = requireGlobalThis();
|
|
2621
|
+
var userAgent = requireEnvironmentUserAgent();
|
|
2622
|
+
|
|
2623
|
+
var process = globalThis.process;
|
|
2624
|
+
var Deno = globalThis.Deno;
|
|
2625
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
2626
|
+
var v8 = versions && versions.v8;
|
|
2627
|
+
var match, version;
|
|
2628
|
+
|
|
2629
|
+
if (v8) {
|
|
2630
|
+
match = v8.split('.');
|
|
2631
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
2632
|
+
// but their correct versions are not interesting for us
|
|
2633
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
2637
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
2638
|
+
if (!version && userAgent) {
|
|
2639
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
2640
|
+
if (!match || match[1] >= 74) {
|
|
2641
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
2642
|
+
if (match) version = +match[1];
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
environmentV8Version = version;
|
|
2647
|
+
return environmentV8Version;
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
var symbolConstructorDetection;
|
|
2651
|
+
var hasRequiredSymbolConstructorDetection;
|
|
2573
2652
|
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2653
|
+
function requireSymbolConstructorDetection () {
|
|
2654
|
+
if (hasRequiredSymbolConstructorDetection) return symbolConstructorDetection;
|
|
2655
|
+
hasRequiredSymbolConstructorDetection = 1;
|
|
2656
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
2657
|
+
var V8_VERSION = requireEnvironmentV8Version();
|
|
2658
|
+
var fails = requireFails();
|
|
2659
|
+
var globalThis = requireGlobalThis();
|
|
2660
|
+
|
|
2661
|
+
var $String = globalThis.String;
|
|
2662
|
+
|
|
2663
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
2664
|
+
symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
2665
|
+
var symbol = Symbol('symbol detection');
|
|
2666
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
2667
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
2668
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
2669
|
+
// of course, fail.
|
|
2670
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
2671
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
2672
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
2673
|
+
});
|
|
2674
|
+
return symbolConstructorDetection;
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
var useSymbolAsUid;
|
|
2678
|
+
var hasRequiredUseSymbolAsUid;
|
|
2679
|
+
|
|
2680
|
+
function requireUseSymbolAsUid () {
|
|
2681
|
+
if (hasRequiredUseSymbolAsUid) return useSymbolAsUid;
|
|
2682
|
+
hasRequiredUseSymbolAsUid = 1;
|
|
2683
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
2684
|
+
var NATIVE_SYMBOL = requireSymbolConstructorDetection();
|
|
2685
|
+
|
|
2686
|
+
useSymbolAsUid = NATIVE_SYMBOL
|
|
2687
|
+
&& !Symbol.sham
|
|
2688
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
2689
|
+
return useSymbolAsUid;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
var isSymbol;
|
|
2693
|
+
var hasRequiredIsSymbol;
|
|
2694
|
+
|
|
2695
|
+
function requireIsSymbol () {
|
|
2696
|
+
if (hasRequiredIsSymbol) return isSymbol;
|
|
2697
|
+
hasRequiredIsSymbol = 1;
|
|
2698
|
+
var getBuiltIn = requireGetBuiltIn();
|
|
2699
|
+
var isCallable = requireIsCallable();
|
|
2700
|
+
var isPrototypeOf = requireObjectIsPrototypeOf();
|
|
2701
|
+
var USE_SYMBOL_AS_UID = requireUseSymbolAsUid();
|
|
2702
|
+
|
|
2703
|
+
var $Object = Object;
|
|
2704
|
+
|
|
2705
|
+
isSymbol = USE_SYMBOL_AS_UID ? function (it) {
|
|
2706
|
+
return typeof it == 'symbol';
|
|
2707
|
+
} : function (it) {
|
|
2708
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
2709
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
2710
|
+
};
|
|
2711
|
+
return isSymbol;
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
var tryToString;
|
|
2715
|
+
var hasRequiredTryToString;
|
|
2716
|
+
|
|
2717
|
+
function requireTryToString () {
|
|
2718
|
+
if (hasRequiredTryToString) return tryToString;
|
|
2719
|
+
hasRequiredTryToString = 1;
|
|
2720
|
+
var $String = String;
|
|
2721
|
+
|
|
2722
|
+
tryToString = function (argument) {
|
|
2723
|
+
try {
|
|
2724
|
+
return $String(argument);
|
|
2725
|
+
} catch (error) {
|
|
2726
|
+
return 'Object';
|
|
2727
|
+
}
|
|
2728
|
+
};
|
|
2729
|
+
return tryToString;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
var aCallable;
|
|
2733
|
+
var hasRequiredACallable;
|
|
2734
|
+
|
|
2735
|
+
function requireACallable () {
|
|
2736
|
+
if (hasRequiredACallable) return aCallable;
|
|
2737
|
+
hasRequiredACallable = 1;
|
|
2738
|
+
var isCallable = requireIsCallable();
|
|
2739
|
+
var tryToString = requireTryToString();
|
|
2740
|
+
|
|
2741
|
+
var $TypeError = TypeError;
|
|
2742
|
+
|
|
2743
|
+
// `Assert: IsCallable(argument) is true`
|
|
2744
|
+
aCallable = function (argument) {
|
|
2745
|
+
if (isCallable(argument)) return argument;
|
|
2746
|
+
throw new $TypeError(tryToString(argument) + ' is not a function');
|
|
2747
|
+
};
|
|
2748
|
+
return aCallable;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
var getMethod;
|
|
2752
|
+
var hasRequiredGetMethod;
|
|
2753
|
+
|
|
2754
|
+
function requireGetMethod () {
|
|
2755
|
+
if (hasRequiredGetMethod) return getMethod;
|
|
2756
|
+
hasRequiredGetMethod = 1;
|
|
2757
|
+
var aCallable = requireACallable();
|
|
2758
|
+
var isNullOrUndefined = requireIsNullOrUndefined();
|
|
2759
|
+
|
|
2760
|
+
// `GetMethod` abstract operation
|
|
2761
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
2762
|
+
getMethod = function (V, P) {
|
|
2763
|
+
var func = V[P];
|
|
2764
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
2765
|
+
};
|
|
2766
|
+
return getMethod;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
var ordinaryToPrimitive;
|
|
2770
|
+
var hasRequiredOrdinaryToPrimitive;
|
|
2771
|
+
|
|
2772
|
+
function requireOrdinaryToPrimitive () {
|
|
2773
|
+
if (hasRequiredOrdinaryToPrimitive) return ordinaryToPrimitive;
|
|
2774
|
+
hasRequiredOrdinaryToPrimitive = 1;
|
|
2775
|
+
var call = requireFunctionCall();
|
|
2776
|
+
var isCallable = requireIsCallable();
|
|
2777
|
+
var isObject = requireIsObject();
|
|
2778
|
+
|
|
2779
|
+
var $TypeError = TypeError;
|
|
2780
|
+
|
|
2781
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
2782
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
2783
|
+
ordinaryToPrimitive = function (input, pref) {
|
|
2784
|
+
var fn, val;
|
|
2785
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
2786
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
2787
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
2788
|
+
throw new $TypeError("Can't convert object to primitive value");
|
|
2789
|
+
};
|
|
2790
|
+
return ordinaryToPrimitive;
|
|
2791
|
+
}
|
|
2583
2792
|
|
|
2584
2793
|
var sharedStore = {exports: {}};
|
|
2585
2794
|
|
|
2586
|
-
var
|
|
2587
|
-
|
|
2588
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2589
|
-
var defineProperty$2 = Object.defineProperty;
|
|
2590
|
-
|
|
2591
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
2592
|
-
try {
|
|
2593
|
-
defineProperty$2(globalThis$7, key, { value: value, configurable: true, writable: true });
|
|
2594
|
-
} catch (error) {
|
|
2595
|
-
globalThis$7[key] = value;
|
|
2596
|
-
} return value;
|
|
2597
|
-
};
|
|
2598
|
-
|
|
2599
|
-
var globalThis$6 = globalThis_1;
|
|
2600
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
2601
|
-
|
|
2602
|
-
var SHARED = '__core-js_shared__';
|
|
2603
|
-
var store$3 = sharedStore.exports = globalThis$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
2604
|
-
|
|
2605
|
-
(store$3.versions || (store$3.versions = [])).push({
|
|
2606
|
-
version: '3.38.1',
|
|
2607
|
-
mode: 'global',
|
|
2608
|
-
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
2609
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
|
|
2610
|
-
source: 'https://github.com/zloirock/core-js'
|
|
2611
|
-
});
|
|
2612
|
-
|
|
2613
|
-
var sharedStoreExports = sharedStore.exports;
|
|
2614
|
-
|
|
2615
|
-
var store$2 = sharedStoreExports;
|
|
2616
|
-
|
|
2617
|
-
var shared$3 = function (key, value) {
|
|
2618
|
-
return store$2[key] || (store$2[key] = value || {});
|
|
2619
|
-
};
|
|
2620
|
-
|
|
2621
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
2622
|
-
|
|
2623
|
-
var $Object = Object;
|
|
2624
|
-
|
|
2625
|
-
// `ToObject` abstract operation
|
|
2626
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
2627
|
-
var toObject$1 = function (argument) {
|
|
2628
|
-
return $Object(requireObjectCoercible(argument));
|
|
2629
|
-
};
|
|
2630
|
-
|
|
2631
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
2632
|
-
var toObject = toObject$1;
|
|
2633
|
-
|
|
2634
|
-
var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
2635
|
-
|
|
2636
|
-
// `HasOwnProperty` abstract operation
|
|
2637
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
2638
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
2639
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
2640
|
-
return hasOwnProperty(toObject(it), key);
|
|
2641
|
-
};
|
|
2642
|
-
|
|
2643
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
2644
|
-
|
|
2645
|
-
var id = 0;
|
|
2646
|
-
var postfix = Math.random();
|
|
2647
|
-
var toString$1 = uncurryThis$4(1.0.toString);
|
|
2648
|
-
|
|
2649
|
-
var uid$2 = function (key) {
|
|
2650
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);
|
|
2651
|
-
};
|
|
2652
|
-
|
|
2653
|
-
var globalThis$5 = globalThis_1;
|
|
2654
|
-
var shared$2 = shared$3;
|
|
2655
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
2656
|
-
var uid$1 = uid$2;
|
|
2657
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
2658
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
2659
|
-
|
|
2660
|
-
var Symbol$1 = globalThis$5.Symbol;
|
|
2661
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
2662
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
2663
|
-
|
|
2664
|
-
var wellKnownSymbol$2 = function (name) {
|
|
2665
|
-
if (!hasOwn$6(WellKnownSymbolsStore, name)) {
|
|
2666
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
|
|
2667
|
-
? Symbol$1[name]
|
|
2668
|
-
: createWellKnownSymbol('Symbol.' + name);
|
|
2669
|
-
} return WellKnownSymbolsStore[name];
|
|
2670
|
-
};
|
|
2671
|
-
|
|
2672
|
-
var call$1 = functionCall;
|
|
2673
|
-
var isObject$3 = isObject$5;
|
|
2674
|
-
var isSymbol$1 = isSymbol$2;
|
|
2675
|
-
var getMethod = getMethod$1;
|
|
2676
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
2677
|
-
var wellKnownSymbol$1 = wellKnownSymbol$2;
|
|
2678
|
-
|
|
2679
|
-
var $TypeError$2 = TypeError;
|
|
2680
|
-
var TO_PRIMITIVE = wellKnownSymbol$1('toPrimitive');
|
|
2681
|
-
|
|
2682
|
-
// `ToPrimitive` abstract operation
|
|
2683
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2684
|
-
var toPrimitive$1 = function (input, pref) {
|
|
2685
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
2686
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
2687
|
-
var result;
|
|
2688
|
-
if (exoticToPrim) {
|
|
2689
|
-
if (pref === undefined) pref = 'default';
|
|
2690
|
-
result = call$1(exoticToPrim, input, pref);
|
|
2691
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
2692
|
-
throw new $TypeError$2("Can't convert object to primitive value");
|
|
2693
|
-
}
|
|
2694
|
-
if (pref === undefined) pref = 'number';
|
|
2695
|
-
return ordinaryToPrimitive(input, pref);
|
|
2696
|
-
};
|
|
2697
|
-
|
|
2698
|
-
var toPrimitive = toPrimitive$1;
|
|
2699
|
-
var isSymbol = isSymbol$2;
|
|
2700
|
-
|
|
2701
|
-
// `ToPropertyKey` abstract operation
|
|
2702
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
2703
|
-
var toPropertyKey$2 = function (argument) {
|
|
2704
|
-
var key = toPrimitive(argument, 'string');
|
|
2705
|
-
return isSymbol(key) ? key : key + '';
|
|
2706
|
-
};
|
|
2707
|
-
|
|
2708
|
-
var globalThis$4 = globalThis_1;
|
|
2709
|
-
var isObject$2 = isObject$5;
|
|
2710
|
-
|
|
2711
|
-
var document$1 = globalThis$4.document;
|
|
2712
|
-
// typeof document.createElement is 'object' in old IE
|
|
2713
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
2714
|
-
|
|
2715
|
-
var documentCreateElement$1 = function (it) {
|
|
2716
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
2717
|
-
};
|
|
2718
|
-
|
|
2719
|
-
var DESCRIPTORS$7 = descriptors;
|
|
2720
|
-
var fails$4 = fails$9;
|
|
2721
|
-
var createElement = documentCreateElement$1;
|
|
2722
|
-
|
|
2723
|
-
// Thanks to IE8 for its funny defineProperty
|
|
2724
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
|
2725
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2726
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
2727
|
-
get: function () { return 7; }
|
|
2728
|
-
}).a !== 7;
|
|
2729
|
-
});
|
|
2730
|
-
|
|
2731
|
-
var DESCRIPTORS$6 = descriptors;
|
|
2732
|
-
var call = functionCall;
|
|
2733
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
2734
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
2735
|
-
var toIndexedObject$3 = toIndexedObject$4;
|
|
2736
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
2737
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
2738
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
2739
|
-
|
|
2740
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2741
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2742
|
-
|
|
2743
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
2744
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
2745
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
2746
|
-
O = toIndexedObject$3(O);
|
|
2747
|
-
P = toPropertyKey$1(P);
|
|
2748
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
2749
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
2750
|
-
} catch (error) { /* empty */ }
|
|
2751
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
2752
|
-
};
|
|
2753
|
-
|
|
2754
|
-
var objectDefineProperty = {};
|
|
2755
|
-
|
|
2756
|
-
var DESCRIPTORS$5 = descriptors;
|
|
2757
|
-
var fails$3 = fails$9;
|
|
2758
|
-
|
|
2759
|
-
// V8 ~ Chrome 36-
|
|
2760
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2761
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
|
2762
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2763
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2764
|
-
value: 42,
|
|
2765
|
-
writable: false
|
|
2766
|
-
}).prototype !== 42;
|
|
2767
|
-
});
|
|
2768
|
-
|
|
2769
|
-
var isObject$1 = isObject$5;
|
|
2770
|
-
|
|
2771
|
-
var $String$1 = String;
|
|
2772
|
-
var $TypeError$1 = TypeError;
|
|
2773
|
-
|
|
2774
|
-
// `Assert: Type(argument) is Object`
|
|
2775
|
-
var anObject$4 = function (argument) {
|
|
2776
|
-
if (isObject$1(argument)) return argument;
|
|
2777
|
-
throw new $TypeError$1($String$1(argument) + ' is not an object');
|
|
2778
|
-
};
|
|
2779
|
-
|
|
2780
|
-
var DESCRIPTORS$4 = descriptors;
|
|
2781
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
2782
|
-
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
2783
|
-
var anObject$3 = anObject$4;
|
|
2784
|
-
var toPropertyKey = toPropertyKey$2;
|
|
2785
|
-
|
|
2786
|
-
var $TypeError = TypeError;
|
|
2787
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2788
|
-
var $defineProperty = Object.defineProperty;
|
|
2789
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2790
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2791
|
-
var ENUMERABLE = 'enumerable';
|
|
2792
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
2793
|
-
var WRITABLE = 'writable';
|
|
2794
|
-
|
|
2795
|
-
// `Object.defineProperty` method
|
|
2796
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2797
|
-
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
2798
|
-
anObject$3(O);
|
|
2799
|
-
P = toPropertyKey(P);
|
|
2800
|
-
anObject$3(Attributes);
|
|
2801
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
2802
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
2803
|
-
if (current && current[WRITABLE]) {
|
|
2804
|
-
O[P] = Attributes.value;
|
|
2805
|
-
Attributes = {
|
|
2806
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
2807
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
2808
|
-
writable: false
|
|
2809
|
-
};
|
|
2810
|
-
}
|
|
2811
|
-
} return $defineProperty(O, P, Attributes);
|
|
2812
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
2813
|
-
anObject$3(O);
|
|
2814
|
-
P = toPropertyKey(P);
|
|
2815
|
-
anObject$3(Attributes);
|
|
2816
|
-
if (IE8_DOM_DEFINE) try {
|
|
2817
|
-
return $defineProperty(O, P, Attributes);
|
|
2818
|
-
} catch (error) { /* empty */ }
|
|
2819
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
|
|
2820
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
2821
|
-
return O;
|
|
2822
|
-
};
|
|
2823
|
-
|
|
2824
|
-
var DESCRIPTORS$3 = descriptors;
|
|
2825
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
2826
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
2827
|
-
|
|
2828
|
-
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
|
2829
|
-
return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
|
|
2830
|
-
} : function (object, key, value) {
|
|
2831
|
-
object[key] = value;
|
|
2832
|
-
return object;
|
|
2833
|
-
};
|
|
2834
|
-
|
|
2835
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
2836
|
-
|
|
2837
|
-
var DESCRIPTORS$2 = descriptors;
|
|
2838
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
2795
|
+
var isPure;
|
|
2796
|
+
var hasRequiredIsPure;
|
|
2839
2797
|
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
// additional protection from minified / mangled / dropped function names
|
|
2846
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
2847
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
2848
|
-
|
|
2849
|
-
var functionName = {
|
|
2850
|
-
EXISTS: EXISTS,
|
|
2851
|
-
PROPER: PROPER,
|
|
2852
|
-
CONFIGURABLE: CONFIGURABLE
|
|
2853
|
-
};
|
|
2854
|
-
|
|
2855
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
2856
|
-
var isCallable$4 = isCallable$a;
|
|
2857
|
-
var store$1 = sharedStoreExports;
|
|
2858
|
-
|
|
2859
|
-
var functionToString = uncurryThis$3(Function.toString);
|
|
2860
|
-
|
|
2861
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
2862
|
-
if (!isCallable$4(store$1.inspectSource)) {
|
|
2863
|
-
store$1.inspectSource = function (it) {
|
|
2864
|
-
return functionToString(it);
|
|
2865
|
-
};
|
|
2798
|
+
function requireIsPure () {
|
|
2799
|
+
if (hasRequiredIsPure) return isPure;
|
|
2800
|
+
hasRequiredIsPure = 1;
|
|
2801
|
+
isPure = false;
|
|
2802
|
+
return isPure;
|
|
2866
2803
|
}
|
|
2867
2804
|
|
|
2868
|
-
var
|
|
2869
|
-
|
|
2870
|
-
var globalThis$3 = globalThis_1;
|
|
2871
|
-
var isCallable$3 = isCallable$a;
|
|
2805
|
+
var defineGlobalProperty;
|
|
2806
|
+
var hasRequiredDefineGlobalProperty;
|
|
2872
2807
|
|
|
2873
|
-
|
|
2808
|
+
function requireDefineGlobalProperty () {
|
|
2809
|
+
if (hasRequiredDefineGlobalProperty) return defineGlobalProperty;
|
|
2810
|
+
hasRequiredDefineGlobalProperty = 1;
|
|
2811
|
+
var globalThis = requireGlobalThis();
|
|
2874
2812
|
|
|
2875
|
-
|
|
2813
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2814
|
+
var defineProperty = Object.defineProperty;
|
|
2876
2815
|
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2816
|
+
defineGlobalProperty = function (key, value) {
|
|
2817
|
+
try {
|
|
2818
|
+
defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
|
|
2819
|
+
} catch (error) {
|
|
2820
|
+
globalThis[key] = value;
|
|
2821
|
+
} return value;
|
|
2822
|
+
};
|
|
2823
|
+
return defineGlobalProperty;
|
|
2824
|
+
}
|
|
2885
2825
|
|
|
2886
|
-
var
|
|
2826
|
+
var hasRequiredSharedStore;
|
|
2887
2827
|
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
var
|
|
2892
|
-
var
|
|
2893
|
-
var
|
|
2894
|
-
var sharedKey$1 = sharedKey$2;
|
|
2895
|
-
var hiddenKeys$3 = hiddenKeys$4;
|
|
2828
|
+
function requireSharedStore () {
|
|
2829
|
+
if (hasRequiredSharedStore) return sharedStore.exports;
|
|
2830
|
+
hasRequiredSharedStore = 1;
|
|
2831
|
+
var IS_PURE = requireIsPure();
|
|
2832
|
+
var globalThis = requireGlobalThis();
|
|
2833
|
+
var defineGlobalProperty = requireDefineGlobalProperty();
|
|
2896
2834
|
|
|
2897
|
-
var
|
|
2898
|
-
var
|
|
2899
|
-
var WeakMap$1 = globalThis$2.WeakMap;
|
|
2900
|
-
var set, get, has;
|
|
2835
|
+
var SHARED = '__core-js_shared__';
|
|
2836
|
+
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
2901
2837
|
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2838
|
+
(store.versions || (store.versions = [])).push({
|
|
2839
|
+
version: '3.38.1',
|
|
2840
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
2841
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
2842
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
|
|
2843
|
+
source: 'https://github.com/zloirock/core-js'
|
|
2844
|
+
});
|
|
2845
|
+
return sharedStore.exports;
|
|
2846
|
+
}
|
|
2905
2847
|
|
|
2906
|
-
var
|
|
2907
|
-
|
|
2908
|
-
var state;
|
|
2909
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
2910
|
-
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
2911
|
-
} return state;
|
|
2912
|
-
};
|
|
2913
|
-
};
|
|
2848
|
+
var shared;
|
|
2849
|
+
var hasRequiredShared;
|
|
2914
2850
|
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2851
|
+
function requireShared () {
|
|
2852
|
+
if (hasRequiredShared) return shared;
|
|
2853
|
+
hasRequiredShared = 1;
|
|
2854
|
+
var store = requireSharedStore();
|
|
2855
|
+
|
|
2856
|
+
shared = function (key, value) {
|
|
2857
|
+
return store[key] || (store[key] = value || {});
|
|
2858
|
+
};
|
|
2859
|
+
return shared;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
var toObject;
|
|
2863
|
+
var hasRequiredToObject;
|
|
2864
|
+
|
|
2865
|
+
function requireToObject () {
|
|
2866
|
+
if (hasRequiredToObject) return toObject;
|
|
2867
|
+
hasRequiredToObject = 1;
|
|
2868
|
+
var requireObjectCoercible = requireRequireObjectCoercible();
|
|
2869
|
+
|
|
2870
|
+
var $Object = Object;
|
|
2871
|
+
|
|
2872
|
+
// `ToObject` abstract operation
|
|
2873
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
2874
|
+
toObject = function (argument) {
|
|
2875
|
+
return $Object(requireObjectCoercible(argument));
|
|
2876
|
+
};
|
|
2877
|
+
return toObject;
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
var hasOwnProperty_1;
|
|
2881
|
+
var hasRequiredHasOwnProperty;
|
|
2882
|
+
|
|
2883
|
+
function requireHasOwnProperty () {
|
|
2884
|
+
if (hasRequiredHasOwnProperty) return hasOwnProperty_1;
|
|
2885
|
+
hasRequiredHasOwnProperty = 1;
|
|
2886
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
2887
|
+
var toObject = requireToObject();
|
|
2888
|
+
|
|
2889
|
+
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
2890
|
+
|
|
2891
|
+
// `HasOwnProperty` abstract operation
|
|
2892
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
2893
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
2894
|
+
hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
2895
|
+
return hasOwnProperty(toObject(it), key);
|
|
2896
|
+
};
|
|
2897
|
+
return hasOwnProperty_1;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
var uid;
|
|
2901
|
+
var hasRequiredUid;
|
|
2902
|
+
|
|
2903
|
+
function requireUid () {
|
|
2904
|
+
if (hasRequiredUid) return uid;
|
|
2905
|
+
hasRequiredUid = 1;
|
|
2906
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
2907
|
+
|
|
2908
|
+
var id = 0;
|
|
2909
|
+
var postfix = Math.random();
|
|
2910
|
+
var toString = uncurryThis(1.0.toString);
|
|
2911
|
+
|
|
2912
|
+
uid = function (key) {
|
|
2913
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
2914
|
+
};
|
|
2915
|
+
return uid;
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
var wellKnownSymbol;
|
|
2919
|
+
var hasRequiredWellKnownSymbol;
|
|
2920
|
+
|
|
2921
|
+
function requireWellKnownSymbol () {
|
|
2922
|
+
if (hasRequiredWellKnownSymbol) return wellKnownSymbol;
|
|
2923
|
+
hasRequiredWellKnownSymbol = 1;
|
|
2924
|
+
var globalThis = requireGlobalThis();
|
|
2925
|
+
var shared = requireShared();
|
|
2926
|
+
var hasOwn = requireHasOwnProperty();
|
|
2927
|
+
var uid = requireUid();
|
|
2928
|
+
var NATIVE_SYMBOL = requireSymbolConstructorDetection();
|
|
2929
|
+
var USE_SYMBOL_AS_UID = requireUseSymbolAsUid();
|
|
2930
|
+
|
|
2931
|
+
var Symbol = globalThis.Symbol;
|
|
2932
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
2933
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
2934
|
+
|
|
2935
|
+
wellKnownSymbol = function (name) {
|
|
2936
|
+
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
2937
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
2938
|
+
? Symbol[name]
|
|
2939
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
2940
|
+
} return WellKnownSymbolsStore[name];
|
|
2941
|
+
};
|
|
2942
|
+
return wellKnownSymbol;
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
var toPrimitive;
|
|
2946
|
+
var hasRequiredToPrimitive;
|
|
2947
|
+
|
|
2948
|
+
function requireToPrimitive () {
|
|
2949
|
+
if (hasRequiredToPrimitive) return toPrimitive;
|
|
2950
|
+
hasRequiredToPrimitive = 1;
|
|
2951
|
+
var call = requireFunctionCall();
|
|
2952
|
+
var isObject = requireIsObject();
|
|
2953
|
+
var isSymbol = requireIsSymbol();
|
|
2954
|
+
var getMethod = requireGetMethod();
|
|
2955
|
+
var ordinaryToPrimitive = requireOrdinaryToPrimitive();
|
|
2956
|
+
var wellKnownSymbol = requireWellKnownSymbol();
|
|
2957
|
+
|
|
2958
|
+
var $TypeError = TypeError;
|
|
2959
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
2960
|
+
|
|
2961
|
+
// `ToPrimitive` abstract operation
|
|
2962
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2963
|
+
toPrimitive = function (input, pref) {
|
|
2964
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
|
2965
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
2966
|
+
var result;
|
|
2967
|
+
if (exoticToPrim) {
|
|
2968
|
+
if (pref === undefined) pref = 'default';
|
|
2969
|
+
result = call(exoticToPrim, input, pref);
|
|
2970
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
|
2971
|
+
throw new $TypeError("Can't convert object to primitive value");
|
|
2972
|
+
}
|
|
2973
|
+
if (pref === undefined) pref = 'number';
|
|
2974
|
+
return ordinaryToPrimitive(input, pref);
|
|
2975
|
+
};
|
|
2976
|
+
return toPrimitive;
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
var toPropertyKey;
|
|
2980
|
+
var hasRequiredToPropertyKey;
|
|
2981
|
+
|
|
2982
|
+
function requireToPropertyKey () {
|
|
2983
|
+
if (hasRequiredToPropertyKey) return toPropertyKey;
|
|
2984
|
+
hasRequiredToPropertyKey = 1;
|
|
2985
|
+
var toPrimitive = requireToPrimitive();
|
|
2986
|
+
var isSymbol = requireIsSymbol();
|
|
2987
|
+
|
|
2988
|
+
// `ToPropertyKey` abstract operation
|
|
2989
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
2990
|
+
toPropertyKey = function (argument) {
|
|
2991
|
+
var key = toPrimitive(argument, 'string');
|
|
2992
|
+
return isSymbol(key) ? key : key + '';
|
|
2993
|
+
};
|
|
2994
|
+
return toPropertyKey;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
var documentCreateElement;
|
|
2998
|
+
var hasRequiredDocumentCreateElement;
|
|
2999
|
+
|
|
3000
|
+
function requireDocumentCreateElement () {
|
|
3001
|
+
if (hasRequiredDocumentCreateElement) return documentCreateElement;
|
|
3002
|
+
hasRequiredDocumentCreateElement = 1;
|
|
3003
|
+
var globalThis = requireGlobalThis();
|
|
3004
|
+
var isObject = requireIsObject();
|
|
3005
|
+
|
|
3006
|
+
var document = globalThis.document;
|
|
3007
|
+
// typeof document.createElement is 'object' in old IE
|
|
3008
|
+
var EXISTS = isObject(document) && isObject(document.createElement);
|
|
3009
|
+
|
|
3010
|
+
documentCreateElement = function (it) {
|
|
3011
|
+
return EXISTS ? document.createElement(it) : {};
|
|
3012
|
+
};
|
|
3013
|
+
return documentCreateElement;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
var ie8DomDefine;
|
|
3017
|
+
var hasRequiredIe8DomDefine;
|
|
3018
|
+
|
|
3019
|
+
function requireIe8DomDefine () {
|
|
3020
|
+
if (hasRequiredIe8DomDefine) return ie8DomDefine;
|
|
3021
|
+
hasRequiredIe8DomDefine = 1;
|
|
3022
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3023
|
+
var fails = requireFails();
|
|
3024
|
+
var createElement = requireDocumentCreateElement();
|
|
3025
|
+
|
|
3026
|
+
// Thanks to IE8 for its funny defineProperty
|
|
3027
|
+
ie8DomDefine = !DESCRIPTORS && !fails(function () {
|
|
3028
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
3029
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
3030
|
+
get: function () { return 7; }
|
|
3031
|
+
}).a !== 7;
|
|
3032
|
+
});
|
|
3033
|
+
return ie8DomDefine;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
var hasRequiredObjectGetOwnPropertyDescriptor;
|
|
3037
|
+
|
|
3038
|
+
function requireObjectGetOwnPropertyDescriptor () {
|
|
3039
|
+
if (hasRequiredObjectGetOwnPropertyDescriptor) return objectGetOwnPropertyDescriptor;
|
|
3040
|
+
hasRequiredObjectGetOwnPropertyDescriptor = 1;
|
|
3041
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3042
|
+
var call = requireFunctionCall();
|
|
3043
|
+
var propertyIsEnumerableModule = requireObjectPropertyIsEnumerable();
|
|
3044
|
+
var createPropertyDescriptor = requireCreatePropertyDescriptor();
|
|
3045
|
+
var toIndexedObject = requireToIndexedObject();
|
|
3046
|
+
var toPropertyKey = requireToPropertyKey();
|
|
3047
|
+
var hasOwn = requireHasOwnProperty();
|
|
3048
|
+
var IE8_DOM_DEFINE = requireIe8DomDefine();
|
|
3049
|
+
|
|
3050
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3051
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3052
|
+
|
|
3053
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
3054
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
3055
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
3056
|
+
O = toIndexedObject(O);
|
|
3057
|
+
P = toPropertyKey(P);
|
|
3058
|
+
if (IE8_DOM_DEFINE) try {
|
|
3059
|
+
return $getOwnPropertyDescriptor(O, P);
|
|
3060
|
+
} catch (error) { /* empty */ }
|
|
3061
|
+
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
3062
|
+
};
|
|
3063
|
+
return objectGetOwnPropertyDescriptor;
|
|
2949
3064
|
}
|
|
2950
3065
|
|
|
2951
|
-
var
|
|
2952
|
-
set: set,
|
|
2953
|
-
get: get,
|
|
2954
|
-
has: has,
|
|
2955
|
-
enforce: enforce,
|
|
2956
|
-
getterFor: getterFor
|
|
2957
|
-
};
|
|
2958
|
-
|
|
2959
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
2960
|
-
var fails$2 = fails$9;
|
|
2961
|
-
var isCallable$2 = isCallable$a;
|
|
2962
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
2963
|
-
var DESCRIPTORS$1 = descriptors;
|
|
2964
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
2965
|
-
var inspectSource = inspectSource$1;
|
|
2966
|
-
var InternalStateModule = internalState;
|
|
2967
|
-
|
|
2968
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
2969
|
-
var getInternalState = InternalStateModule.get;
|
|
2970
|
-
var $String = String;
|
|
2971
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2972
|
-
var defineProperty$1 = Object.defineProperty;
|
|
2973
|
-
var stringSlice = uncurryThis$2(''.slice);
|
|
2974
|
-
var replace = uncurryThis$2(''.replace);
|
|
2975
|
-
var join = uncurryThis$2([].join);
|
|
2976
|
-
|
|
2977
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
|
|
2978
|
-
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
2979
|
-
});
|
|
2980
|
-
|
|
2981
|
-
var TEMPLATE = String(String).split('String');
|
|
2982
|
-
|
|
2983
|
-
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
2984
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
2985
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
2986
|
-
}
|
|
2987
|
-
if (options && options.getter) name = 'get ' + name;
|
|
2988
|
-
if (options && options.setter) name = 'set ' + name;
|
|
2989
|
-
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
2990
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
2991
|
-
else value.name = name;
|
|
2992
|
-
}
|
|
2993
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
2994
|
-
defineProperty$1(value, 'length', { value: options.arity });
|
|
2995
|
-
}
|
|
2996
|
-
try {
|
|
2997
|
-
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
2998
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
|
2999
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
3000
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
3001
|
-
} catch (error) { /* empty */ }
|
|
3002
|
-
var state = enforceInternalState(value);
|
|
3003
|
-
if (!hasOwn$2(state, 'source')) {
|
|
3004
|
-
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
3005
|
-
} return value;
|
|
3006
|
-
};
|
|
3066
|
+
var objectDefineProperty = {};
|
|
3007
3067
|
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
var
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3068
|
+
var v8PrototypeDefineBug;
|
|
3069
|
+
var hasRequiredV8PrototypeDefineBug;
|
|
3070
|
+
|
|
3071
|
+
function requireV8PrototypeDefineBug () {
|
|
3072
|
+
if (hasRequiredV8PrototypeDefineBug) return v8PrototypeDefineBug;
|
|
3073
|
+
hasRequiredV8PrototypeDefineBug = 1;
|
|
3074
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3075
|
+
var fails = requireFails();
|
|
3076
|
+
|
|
3077
|
+
// V8 ~ Chrome 36-
|
|
3078
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
3079
|
+
v8PrototypeDefineBug = DESCRIPTORS && fails(function () {
|
|
3080
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
3081
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
3082
|
+
value: 42,
|
|
3083
|
+
writable: false
|
|
3084
|
+
}).prototype !== 42;
|
|
3085
|
+
});
|
|
3086
|
+
return v8PrototypeDefineBug;
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
var anObject;
|
|
3090
|
+
var hasRequiredAnObject;
|
|
3091
|
+
|
|
3092
|
+
function requireAnObject () {
|
|
3093
|
+
if (hasRequiredAnObject) return anObject;
|
|
3094
|
+
hasRequiredAnObject = 1;
|
|
3095
|
+
var isObject = requireIsObject();
|
|
3096
|
+
|
|
3097
|
+
var $String = String;
|
|
3098
|
+
var $TypeError = TypeError;
|
|
3099
|
+
|
|
3100
|
+
// `Assert: Type(argument) is Object`
|
|
3101
|
+
anObject = function (argument) {
|
|
3102
|
+
if (isObject(argument)) return argument;
|
|
3103
|
+
throw new $TypeError($String(argument) + ' is not an object');
|
|
3104
|
+
};
|
|
3105
|
+
return anObject;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
var hasRequiredObjectDefineProperty;
|
|
3109
|
+
|
|
3110
|
+
function requireObjectDefineProperty () {
|
|
3111
|
+
if (hasRequiredObjectDefineProperty) return objectDefineProperty;
|
|
3112
|
+
hasRequiredObjectDefineProperty = 1;
|
|
3113
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3114
|
+
var IE8_DOM_DEFINE = requireIe8DomDefine();
|
|
3115
|
+
var V8_PROTOTYPE_DEFINE_BUG = requireV8PrototypeDefineBug();
|
|
3116
|
+
var anObject = requireAnObject();
|
|
3117
|
+
var toPropertyKey = requireToPropertyKey();
|
|
3118
|
+
|
|
3119
|
+
var $TypeError = TypeError;
|
|
3120
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3121
|
+
var $defineProperty = Object.defineProperty;
|
|
3122
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3123
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3124
|
+
var ENUMERABLE = 'enumerable';
|
|
3125
|
+
var CONFIGURABLE = 'configurable';
|
|
3126
|
+
var WRITABLE = 'writable';
|
|
3127
|
+
|
|
3128
|
+
// `Object.defineProperty` method
|
|
3129
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
3130
|
+
objectDefineProperty.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
3131
|
+
anObject(O);
|
|
3132
|
+
P = toPropertyKey(P);
|
|
3133
|
+
anObject(Attributes);
|
|
3134
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
3135
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
3136
|
+
if (current && current[WRITABLE]) {
|
|
3137
|
+
O[P] = Attributes.value;
|
|
3138
|
+
Attributes = {
|
|
3139
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
3140
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
3141
|
+
writable: false
|
|
3142
|
+
};
|
|
3143
|
+
}
|
|
3144
|
+
} return $defineProperty(O, P, Attributes);
|
|
3145
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
3146
|
+
anObject(O);
|
|
3147
|
+
P = toPropertyKey(P);
|
|
3148
|
+
anObject(Attributes);
|
|
3149
|
+
if (IE8_DOM_DEFINE) try {
|
|
3150
|
+
return $defineProperty(O, P, Attributes);
|
|
3151
|
+
} catch (error) { /* empty */ }
|
|
3152
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
|
|
3153
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
3154
|
+
return O;
|
|
3155
|
+
};
|
|
3156
|
+
return objectDefineProperty;
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
var createNonEnumerableProperty;
|
|
3160
|
+
var hasRequiredCreateNonEnumerableProperty;
|
|
3161
|
+
|
|
3162
|
+
function requireCreateNonEnumerableProperty () {
|
|
3163
|
+
if (hasRequiredCreateNonEnumerableProperty) return createNonEnumerableProperty;
|
|
3164
|
+
hasRequiredCreateNonEnumerableProperty = 1;
|
|
3165
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3166
|
+
var definePropertyModule = requireObjectDefineProperty();
|
|
3167
|
+
var createPropertyDescriptor = requireCreatePropertyDescriptor();
|
|
3168
|
+
|
|
3169
|
+
createNonEnumerableProperty = DESCRIPTORS ? function (object, key, value) {
|
|
3170
|
+
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
|
3171
|
+
} : function (object, key, value) {
|
|
3172
|
+
object[key] = value;
|
|
3173
|
+
return object;
|
|
3174
|
+
};
|
|
3175
|
+
return createNonEnumerableProperty;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
var makeBuiltIn = {exports: {}};
|
|
3179
|
+
|
|
3180
|
+
var functionName;
|
|
3181
|
+
var hasRequiredFunctionName;
|
|
3182
|
+
|
|
3183
|
+
function requireFunctionName () {
|
|
3184
|
+
if (hasRequiredFunctionName) return functionName;
|
|
3185
|
+
hasRequiredFunctionName = 1;
|
|
3186
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3187
|
+
var hasOwn = requireHasOwnProperty();
|
|
3188
|
+
|
|
3189
|
+
var FunctionPrototype = Function.prototype;
|
|
3190
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3191
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
3192
|
+
|
|
3193
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
3194
|
+
// additional protection from minified / mangled / dropped function names
|
|
3195
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
3196
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
3197
|
+
|
|
3198
|
+
functionName = {
|
|
3199
|
+
EXISTS: EXISTS,
|
|
3200
|
+
PROPER: PROPER,
|
|
3201
|
+
CONFIGURABLE: CONFIGURABLE
|
|
3202
|
+
};
|
|
3203
|
+
return functionName;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
var inspectSource;
|
|
3207
|
+
var hasRequiredInspectSource;
|
|
3208
|
+
|
|
3209
|
+
function requireInspectSource () {
|
|
3210
|
+
if (hasRequiredInspectSource) return inspectSource;
|
|
3211
|
+
hasRequiredInspectSource = 1;
|
|
3212
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
3213
|
+
var isCallable = requireIsCallable();
|
|
3214
|
+
var store = requireSharedStore();
|
|
3215
|
+
|
|
3216
|
+
var functionToString = uncurryThis(Function.toString);
|
|
3217
|
+
|
|
3218
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
3219
|
+
if (!isCallable(store.inspectSource)) {
|
|
3220
|
+
store.inspectSource = function (it) {
|
|
3221
|
+
return functionToString(it);
|
|
3222
|
+
};
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
inspectSource = store.inspectSource;
|
|
3226
|
+
return inspectSource;
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
var weakMapBasicDetection;
|
|
3230
|
+
var hasRequiredWeakMapBasicDetection;
|
|
3231
|
+
|
|
3232
|
+
function requireWeakMapBasicDetection () {
|
|
3233
|
+
if (hasRequiredWeakMapBasicDetection) return weakMapBasicDetection;
|
|
3234
|
+
hasRequiredWeakMapBasicDetection = 1;
|
|
3235
|
+
var globalThis = requireGlobalThis();
|
|
3236
|
+
var isCallable = requireIsCallable();
|
|
3237
|
+
|
|
3238
|
+
var WeakMap = globalThis.WeakMap;
|
|
3239
|
+
|
|
3240
|
+
weakMapBasicDetection = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
3241
|
+
return weakMapBasicDetection;
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
var sharedKey;
|
|
3245
|
+
var hasRequiredSharedKey;
|
|
3246
|
+
|
|
3247
|
+
function requireSharedKey () {
|
|
3248
|
+
if (hasRequiredSharedKey) return sharedKey;
|
|
3249
|
+
hasRequiredSharedKey = 1;
|
|
3250
|
+
var shared = requireShared();
|
|
3251
|
+
var uid = requireUid();
|
|
3252
|
+
|
|
3253
|
+
var keys = shared('keys');
|
|
3254
|
+
|
|
3255
|
+
sharedKey = function (key) {
|
|
3256
|
+
return keys[key] || (keys[key] = uid(key));
|
|
3257
|
+
};
|
|
3258
|
+
return sharedKey;
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
var hiddenKeys;
|
|
3262
|
+
var hasRequiredHiddenKeys;
|
|
3263
|
+
|
|
3264
|
+
function requireHiddenKeys () {
|
|
3265
|
+
if (hasRequiredHiddenKeys) return hiddenKeys;
|
|
3266
|
+
hasRequiredHiddenKeys = 1;
|
|
3267
|
+
hiddenKeys = {};
|
|
3268
|
+
return hiddenKeys;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
var internalState;
|
|
3272
|
+
var hasRequiredInternalState;
|
|
3273
|
+
|
|
3274
|
+
function requireInternalState () {
|
|
3275
|
+
if (hasRequiredInternalState) return internalState;
|
|
3276
|
+
hasRequiredInternalState = 1;
|
|
3277
|
+
var NATIVE_WEAK_MAP = requireWeakMapBasicDetection();
|
|
3278
|
+
var globalThis = requireGlobalThis();
|
|
3279
|
+
var isObject = requireIsObject();
|
|
3280
|
+
var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
|
|
3281
|
+
var hasOwn = requireHasOwnProperty();
|
|
3282
|
+
var shared = requireSharedStore();
|
|
3283
|
+
var sharedKey = requireSharedKey();
|
|
3284
|
+
var hiddenKeys = requireHiddenKeys();
|
|
3285
|
+
|
|
3286
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
3287
|
+
var TypeError = globalThis.TypeError;
|
|
3288
|
+
var WeakMap = globalThis.WeakMap;
|
|
3289
|
+
var set, get, has;
|
|
3290
|
+
|
|
3291
|
+
var enforce = function (it) {
|
|
3292
|
+
return has(it) ? get(it) : set(it, {});
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
var getterFor = function (TYPE) {
|
|
3296
|
+
return function (it) {
|
|
3297
|
+
var state;
|
|
3298
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
3299
|
+
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
|
|
3300
|
+
} return state;
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
|
|
3304
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
3305
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
3306
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
3307
|
+
store.get = store.get;
|
|
3308
|
+
store.has = store.has;
|
|
3309
|
+
store.set = store.set;
|
|
3310
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
3311
|
+
set = function (it, metadata) {
|
|
3312
|
+
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
3313
|
+
metadata.facade = it;
|
|
3314
|
+
store.set(it, metadata);
|
|
3315
|
+
return metadata;
|
|
3316
|
+
};
|
|
3317
|
+
get = function (it) {
|
|
3318
|
+
return store.get(it) || {};
|
|
3319
|
+
};
|
|
3320
|
+
has = function (it) {
|
|
3321
|
+
return store.has(it);
|
|
3322
|
+
};
|
|
3323
|
+
} else {
|
|
3324
|
+
var STATE = sharedKey('state');
|
|
3325
|
+
hiddenKeys[STATE] = true;
|
|
3326
|
+
set = function (it, metadata) {
|
|
3327
|
+
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
3328
|
+
metadata.facade = it;
|
|
3329
|
+
createNonEnumerableProperty(it, STATE, metadata);
|
|
3330
|
+
return metadata;
|
|
3331
|
+
};
|
|
3332
|
+
get = function (it) {
|
|
3333
|
+
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
3334
|
+
};
|
|
3335
|
+
has = function (it) {
|
|
3336
|
+
return hasOwn(it, STATE);
|
|
3337
|
+
};
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
internalState = {
|
|
3341
|
+
set: set,
|
|
3342
|
+
get: get,
|
|
3343
|
+
has: has,
|
|
3344
|
+
enforce: enforce,
|
|
3345
|
+
getterFor: getterFor
|
|
3346
|
+
};
|
|
3347
|
+
return internalState;
|
|
3348
|
+
}
|
|
3349
|
+
|
|
3350
|
+
var hasRequiredMakeBuiltIn;
|
|
3351
|
+
|
|
3352
|
+
function requireMakeBuiltIn () {
|
|
3353
|
+
if (hasRequiredMakeBuiltIn) return makeBuiltIn.exports;
|
|
3354
|
+
hasRequiredMakeBuiltIn = 1;
|
|
3355
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
3356
|
+
var fails = requireFails();
|
|
3357
|
+
var isCallable = requireIsCallable();
|
|
3358
|
+
var hasOwn = requireHasOwnProperty();
|
|
3359
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3360
|
+
var CONFIGURABLE_FUNCTION_NAME = requireFunctionName().CONFIGURABLE;
|
|
3361
|
+
var inspectSource = requireInspectSource();
|
|
3362
|
+
var InternalStateModule = requireInternalState();
|
|
3363
|
+
|
|
3364
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
3365
|
+
var getInternalState = InternalStateModule.get;
|
|
3366
|
+
var $String = String;
|
|
3367
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3368
|
+
var defineProperty = Object.defineProperty;
|
|
3369
|
+
var stringSlice = uncurryThis(''.slice);
|
|
3370
|
+
var replace = uncurryThis(''.replace);
|
|
3371
|
+
var join = uncurryThis([].join);
|
|
3372
|
+
|
|
3373
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
3374
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
3375
|
+
});
|
|
3376
|
+
|
|
3377
|
+
var TEMPLATE = String(String).split('String');
|
|
3378
|
+
|
|
3379
|
+
var makeBuiltIn$1 = makeBuiltIn.exports = function (value, name, options) {
|
|
3380
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
3381
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
3382
|
+
}
|
|
3383
|
+
if (options && options.getter) name = 'get ' + name;
|
|
3384
|
+
if (options && options.setter) name = 'set ' + name;
|
|
3385
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
3386
|
+
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
|
3387
|
+
else value.name = name;
|
|
3388
|
+
}
|
|
3389
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
3390
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
3391
|
+
}
|
|
3392
|
+
try {
|
|
3393
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
3394
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
3395
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
3396
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
3397
|
+
} catch (error) { /* empty */ }
|
|
3398
|
+
var state = enforceInternalState(value);
|
|
3399
|
+
if (!hasOwn(state, 'source')) {
|
|
3400
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
3401
|
+
} return value;
|
|
3402
|
+
};
|
|
3403
|
+
|
|
3404
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
3405
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
3406
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
3407
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
3408
|
+
}, 'toString');
|
|
3409
|
+
return makeBuiltIn.exports;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
var defineBuiltIn;
|
|
3413
|
+
var hasRequiredDefineBuiltIn;
|
|
3414
|
+
|
|
3415
|
+
function requireDefineBuiltIn () {
|
|
3416
|
+
if (hasRequiredDefineBuiltIn) return defineBuiltIn;
|
|
3417
|
+
hasRequiredDefineBuiltIn = 1;
|
|
3418
|
+
var isCallable = requireIsCallable();
|
|
3419
|
+
var definePropertyModule = requireObjectDefineProperty();
|
|
3420
|
+
var makeBuiltIn = requireMakeBuiltIn();
|
|
3421
|
+
var defineGlobalProperty = requireDefineGlobalProperty();
|
|
3422
|
+
|
|
3423
|
+
defineBuiltIn = function (O, key, value, options) {
|
|
3424
|
+
if (!options) options = {};
|
|
3425
|
+
var simple = options.enumerable;
|
|
3426
|
+
var name = options.name !== undefined ? options.name : key;
|
|
3427
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
3428
|
+
if (options.global) {
|
|
3429
|
+
if (simple) O[key] = value;
|
|
3430
|
+
else defineGlobalProperty(key, value);
|
|
3431
|
+
} else {
|
|
3432
|
+
try {
|
|
3433
|
+
if (!options.unsafe) delete O[key];
|
|
3434
|
+
else if (O[key]) simple = true;
|
|
3435
|
+
} catch (error) { /* empty */ }
|
|
3436
|
+
if (simple) O[key] = value;
|
|
3437
|
+
else definePropertyModule.f(O, key, {
|
|
3438
|
+
value: value,
|
|
3439
|
+
enumerable: false,
|
|
3440
|
+
configurable: !options.nonConfigurable,
|
|
3441
|
+
writable: !options.nonWritable
|
|
3442
|
+
});
|
|
3443
|
+
} return O;
|
|
3444
|
+
};
|
|
3445
|
+
return defineBuiltIn;
|
|
3446
|
+
}
|
|
3043
3447
|
|
|
3044
3448
|
var objectGetOwnPropertyNames = {};
|
|
3045
3449
|
|
|
3046
|
-
var
|
|
3047
|
-
var
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
var
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
//
|
|
3074
|
-
//
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
var
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
//
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
var
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
var
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
var
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
var
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
//
|
|
3172
|
-
//
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3450
|
+
var mathTrunc;
|
|
3451
|
+
var hasRequiredMathTrunc;
|
|
3452
|
+
|
|
3453
|
+
function requireMathTrunc () {
|
|
3454
|
+
if (hasRequiredMathTrunc) return mathTrunc;
|
|
3455
|
+
hasRequiredMathTrunc = 1;
|
|
3456
|
+
var ceil = Math.ceil;
|
|
3457
|
+
var floor = Math.floor;
|
|
3458
|
+
|
|
3459
|
+
// `Math.trunc` method
|
|
3460
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
3461
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
3462
|
+
mathTrunc = Math.trunc || function trunc(x) {
|
|
3463
|
+
var n = +x;
|
|
3464
|
+
return (n > 0 ? floor : ceil)(n);
|
|
3465
|
+
};
|
|
3466
|
+
return mathTrunc;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
var toIntegerOrInfinity;
|
|
3470
|
+
var hasRequiredToIntegerOrInfinity;
|
|
3471
|
+
|
|
3472
|
+
function requireToIntegerOrInfinity () {
|
|
3473
|
+
if (hasRequiredToIntegerOrInfinity) return toIntegerOrInfinity;
|
|
3474
|
+
hasRequiredToIntegerOrInfinity = 1;
|
|
3475
|
+
var trunc = requireMathTrunc();
|
|
3476
|
+
|
|
3477
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
3478
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
3479
|
+
toIntegerOrInfinity = function (argument) {
|
|
3480
|
+
var number = +argument;
|
|
3481
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
3482
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
3483
|
+
};
|
|
3484
|
+
return toIntegerOrInfinity;
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
var toAbsoluteIndex;
|
|
3488
|
+
var hasRequiredToAbsoluteIndex;
|
|
3489
|
+
|
|
3490
|
+
function requireToAbsoluteIndex () {
|
|
3491
|
+
if (hasRequiredToAbsoluteIndex) return toAbsoluteIndex;
|
|
3492
|
+
hasRequiredToAbsoluteIndex = 1;
|
|
3493
|
+
var toIntegerOrInfinity = requireToIntegerOrInfinity();
|
|
3494
|
+
|
|
3495
|
+
var max = Math.max;
|
|
3496
|
+
var min = Math.min;
|
|
3497
|
+
|
|
3498
|
+
// Helper for a popular repeating case of the spec:
|
|
3499
|
+
// Let integer be ? ToInteger(index).
|
|
3500
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
3501
|
+
toAbsoluteIndex = function (index, length) {
|
|
3502
|
+
var integer = toIntegerOrInfinity(index);
|
|
3503
|
+
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
3504
|
+
};
|
|
3505
|
+
return toAbsoluteIndex;
|
|
3506
|
+
}
|
|
3507
|
+
|
|
3508
|
+
var toLength;
|
|
3509
|
+
var hasRequiredToLength;
|
|
3510
|
+
|
|
3511
|
+
function requireToLength () {
|
|
3512
|
+
if (hasRequiredToLength) return toLength;
|
|
3513
|
+
hasRequiredToLength = 1;
|
|
3514
|
+
var toIntegerOrInfinity = requireToIntegerOrInfinity();
|
|
3515
|
+
|
|
3516
|
+
var min = Math.min;
|
|
3517
|
+
|
|
3518
|
+
// `ToLength` abstract operation
|
|
3519
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
3520
|
+
toLength = function (argument) {
|
|
3521
|
+
var len = toIntegerOrInfinity(argument);
|
|
3522
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
3523
|
+
};
|
|
3524
|
+
return toLength;
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
var lengthOfArrayLike;
|
|
3528
|
+
var hasRequiredLengthOfArrayLike;
|
|
3529
|
+
|
|
3530
|
+
function requireLengthOfArrayLike () {
|
|
3531
|
+
if (hasRequiredLengthOfArrayLike) return lengthOfArrayLike;
|
|
3532
|
+
hasRequiredLengthOfArrayLike = 1;
|
|
3533
|
+
var toLength = requireToLength();
|
|
3534
|
+
|
|
3535
|
+
// `LengthOfArrayLike` abstract operation
|
|
3536
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
3537
|
+
lengthOfArrayLike = function (obj) {
|
|
3538
|
+
return toLength(obj.length);
|
|
3539
|
+
};
|
|
3540
|
+
return lengthOfArrayLike;
|
|
3541
|
+
}
|
|
3542
|
+
|
|
3543
|
+
var arrayIncludes;
|
|
3544
|
+
var hasRequiredArrayIncludes;
|
|
3545
|
+
|
|
3546
|
+
function requireArrayIncludes () {
|
|
3547
|
+
if (hasRequiredArrayIncludes) return arrayIncludes;
|
|
3548
|
+
hasRequiredArrayIncludes = 1;
|
|
3549
|
+
var toIndexedObject = requireToIndexedObject();
|
|
3550
|
+
var toAbsoluteIndex = requireToAbsoluteIndex();
|
|
3551
|
+
var lengthOfArrayLike = requireLengthOfArrayLike();
|
|
3552
|
+
|
|
3553
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
3554
|
+
var createMethod = function (IS_INCLUDES) {
|
|
3555
|
+
return function ($this, el, fromIndex) {
|
|
3556
|
+
var O = toIndexedObject($this);
|
|
3557
|
+
var length = lengthOfArrayLike(O);
|
|
3558
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
3559
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
3560
|
+
var value;
|
|
3561
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
3562
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
3563
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
3564
|
+
value = O[index++];
|
|
3565
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
3566
|
+
if (value !== value) return true;
|
|
3567
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
3568
|
+
} else for (;length > index; index++) {
|
|
3569
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
3570
|
+
} return !IS_INCLUDES && -1;
|
|
3571
|
+
};
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
arrayIncludes = {
|
|
3575
|
+
// `Array.prototype.includes` method
|
|
3576
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3577
|
+
includes: createMethod(true),
|
|
3578
|
+
// `Array.prototype.indexOf` method
|
|
3579
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
3580
|
+
indexOf: createMethod(false)
|
|
3581
|
+
};
|
|
3582
|
+
return arrayIncludes;
|
|
3583
|
+
}
|
|
3584
|
+
|
|
3585
|
+
var objectKeysInternal;
|
|
3586
|
+
var hasRequiredObjectKeysInternal;
|
|
3587
|
+
|
|
3588
|
+
function requireObjectKeysInternal () {
|
|
3589
|
+
if (hasRequiredObjectKeysInternal) return objectKeysInternal;
|
|
3590
|
+
hasRequiredObjectKeysInternal = 1;
|
|
3591
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
3592
|
+
var hasOwn = requireHasOwnProperty();
|
|
3593
|
+
var toIndexedObject = requireToIndexedObject();
|
|
3594
|
+
var indexOf = requireArrayIncludes().indexOf;
|
|
3595
|
+
var hiddenKeys = requireHiddenKeys();
|
|
3596
|
+
|
|
3597
|
+
var push = uncurryThis([].push);
|
|
3598
|
+
|
|
3599
|
+
objectKeysInternal = function (object, names) {
|
|
3600
|
+
var O = toIndexedObject(object);
|
|
3601
|
+
var i = 0;
|
|
3602
|
+
var result = [];
|
|
3603
|
+
var key;
|
|
3604
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
3605
|
+
// Don't enum bug & hidden keys
|
|
3606
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
3607
|
+
~indexOf(result, key) || push(result, key);
|
|
3608
|
+
}
|
|
3609
|
+
return result;
|
|
3610
|
+
};
|
|
3611
|
+
return objectKeysInternal;
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
var enumBugKeys;
|
|
3615
|
+
var hasRequiredEnumBugKeys;
|
|
3616
|
+
|
|
3617
|
+
function requireEnumBugKeys () {
|
|
3618
|
+
if (hasRequiredEnumBugKeys) return enumBugKeys;
|
|
3619
|
+
hasRequiredEnumBugKeys = 1;
|
|
3620
|
+
// IE8- don't enum bug keys
|
|
3621
|
+
enumBugKeys = [
|
|
3622
|
+
'constructor',
|
|
3623
|
+
'hasOwnProperty',
|
|
3624
|
+
'isPrototypeOf',
|
|
3625
|
+
'propertyIsEnumerable',
|
|
3626
|
+
'toLocaleString',
|
|
3627
|
+
'toString',
|
|
3628
|
+
'valueOf'
|
|
3629
|
+
];
|
|
3630
|
+
return enumBugKeys;
|
|
3631
|
+
}
|
|
3632
|
+
|
|
3633
|
+
var hasRequiredObjectGetOwnPropertyNames;
|
|
3634
|
+
|
|
3635
|
+
function requireObjectGetOwnPropertyNames () {
|
|
3636
|
+
if (hasRequiredObjectGetOwnPropertyNames) return objectGetOwnPropertyNames;
|
|
3637
|
+
hasRequiredObjectGetOwnPropertyNames = 1;
|
|
3638
|
+
var internalObjectKeys = requireObjectKeysInternal();
|
|
3639
|
+
var enumBugKeys = requireEnumBugKeys();
|
|
3640
|
+
|
|
3641
|
+
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
3642
|
+
|
|
3643
|
+
// `Object.getOwnPropertyNames` method
|
|
3644
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
3645
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
3646
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
3647
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
3648
|
+
};
|
|
3649
|
+
return objectGetOwnPropertyNames;
|
|
3650
|
+
}
|
|
3176
3651
|
|
|
3177
3652
|
var objectGetOwnPropertySymbols = {};
|
|
3178
3653
|
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
var
|
|
3198
|
-
var
|
|
3199
|
-
var
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
var
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
var
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
var
|
|
3238
|
-
var
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
var
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
var
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
var
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
3330
|
-
var anObject = anObject$4;
|
|
3331
|
-
var definePropertiesModule = objectDefineProperties;
|
|
3332
|
-
var enumBugKeys = enumBugKeys$3;
|
|
3333
|
-
var hiddenKeys = hiddenKeys$4;
|
|
3334
|
-
var html = html$1;
|
|
3335
|
-
var documentCreateElement = documentCreateElement$1;
|
|
3336
|
-
var sharedKey = sharedKey$2;
|
|
3337
|
-
|
|
3338
|
-
var GT = '>';
|
|
3339
|
-
var LT = '<';
|
|
3340
|
-
var PROTOTYPE = 'prototype';
|
|
3341
|
-
var SCRIPT = 'script';
|
|
3342
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3343
|
-
|
|
3344
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
3345
|
-
|
|
3346
|
-
var scriptTag = function (content) {
|
|
3347
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3348
|
-
};
|
|
3349
|
-
|
|
3350
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3351
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3352
|
-
activeXDocument.write(scriptTag(''));
|
|
3353
|
-
activeXDocument.close();
|
|
3354
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
3355
|
-
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
|
3356
|
-
activeXDocument = null;
|
|
3357
|
-
return temp;
|
|
3358
|
-
};
|
|
3359
|
-
|
|
3360
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3361
|
-
var NullProtoObjectViaIFrame = function () {
|
|
3362
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
3363
|
-
var iframe = documentCreateElement('iframe');
|
|
3364
|
-
var JS = 'java' + SCRIPT + ':';
|
|
3365
|
-
var iframeDocument;
|
|
3366
|
-
iframe.style.display = 'none';
|
|
3367
|
-
html.appendChild(iframe);
|
|
3368
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
3369
|
-
iframe.src = String(JS);
|
|
3370
|
-
iframeDocument = iframe.contentWindow.document;
|
|
3371
|
-
iframeDocument.open();
|
|
3372
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3373
|
-
iframeDocument.close();
|
|
3374
|
-
return iframeDocument.F;
|
|
3375
|
-
};
|
|
3376
|
-
|
|
3377
|
-
// Check for document.domain and active x support
|
|
3378
|
-
// No need to use active x approach when document.domain is not set
|
|
3379
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3380
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3381
|
-
// avoid IE GC bug
|
|
3382
|
-
var activeXDocument;
|
|
3383
|
-
var NullProtoObject = function () {
|
|
3384
|
-
try {
|
|
3385
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
3386
|
-
} catch (error) { /* ignore */ }
|
|
3387
|
-
NullProtoObject = typeof document != 'undefined'
|
|
3388
|
-
? document.domain && activeXDocument
|
|
3389
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3390
|
-
: NullProtoObjectViaIFrame()
|
|
3391
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3392
|
-
var length = enumBugKeys.length;
|
|
3393
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3394
|
-
return NullProtoObject();
|
|
3395
|
-
};
|
|
3396
|
-
|
|
3397
|
-
hiddenKeys[IE_PROTO] = true;
|
|
3398
|
-
|
|
3399
|
-
// `Object.create` method
|
|
3400
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
3401
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
3402
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
3403
|
-
var result;
|
|
3404
|
-
if (O !== null) {
|
|
3405
|
-
EmptyConstructor[PROTOTYPE] = anObject(O);
|
|
3406
|
-
result = new EmptyConstructor();
|
|
3407
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
3408
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3409
|
-
result[IE_PROTO] = O;
|
|
3410
|
-
} else result = NullProtoObject();
|
|
3411
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3412
|
-
};
|
|
3413
|
-
|
|
3414
|
-
var wellKnownSymbol = wellKnownSymbol$2;
|
|
3415
|
-
var create = objectCreate;
|
|
3416
|
-
var defineProperty = objectDefineProperty.f;
|
|
3417
|
-
|
|
3418
|
-
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
3419
|
-
var ArrayPrototype = Array.prototype;
|
|
3420
|
-
|
|
3421
|
-
// Array.prototype[@@unscopables]
|
|
3422
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3423
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3424
|
-
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3425
|
-
configurable: true,
|
|
3426
|
-
value: create(null)
|
|
3427
|
-
});
|
|
3654
|
+
var hasRequiredObjectGetOwnPropertySymbols;
|
|
3655
|
+
|
|
3656
|
+
function requireObjectGetOwnPropertySymbols () {
|
|
3657
|
+
if (hasRequiredObjectGetOwnPropertySymbols) return objectGetOwnPropertySymbols;
|
|
3658
|
+
hasRequiredObjectGetOwnPropertySymbols = 1;
|
|
3659
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
3660
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
3661
|
+
return objectGetOwnPropertySymbols;
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
var ownKeys;
|
|
3665
|
+
var hasRequiredOwnKeys;
|
|
3666
|
+
|
|
3667
|
+
function requireOwnKeys () {
|
|
3668
|
+
if (hasRequiredOwnKeys) return ownKeys;
|
|
3669
|
+
hasRequiredOwnKeys = 1;
|
|
3670
|
+
var getBuiltIn = requireGetBuiltIn();
|
|
3671
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
3672
|
+
var getOwnPropertyNamesModule = requireObjectGetOwnPropertyNames();
|
|
3673
|
+
var getOwnPropertySymbolsModule = requireObjectGetOwnPropertySymbols();
|
|
3674
|
+
var anObject = requireAnObject();
|
|
3675
|
+
|
|
3676
|
+
var concat = uncurryThis([].concat);
|
|
3677
|
+
|
|
3678
|
+
// all object keys, includes non-enumerable and symbols
|
|
3679
|
+
ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
3680
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
3681
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
3682
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
3683
|
+
};
|
|
3684
|
+
return ownKeys;
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
var copyConstructorProperties;
|
|
3688
|
+
var hasRequiredCopyConstructorProperties;
|
|
3689
|
+
|
|
3690
|
+
function requireCopyConstructorProperties () {
|
|
3691
|
+
if (hasRequiredCopyConstructorProperties) return copyConstructorProperties;
|
|
3692
|
+
hasRequiredCopyConstructorProperties = 1;
|
|
3693
|
+
var hasOwn = requireHasOwnProperty();
|
|
3694
|
+
var ownKeys = requireOwnKeys();
|
|
3695
|
+
var getOwnPropertyDescriptorModule = requireObjectGetOwnPropertyDescriptor();
|
|
3696
|
+
var definePropertyModule = requireObjectDefineProperty();
|
|
3697
|
+
|
|
3698
|
+
copyConstructorProperties = function (target, source, exceptions) {
|
|
3699
|
+
var keys = ownKeys(source);
|
|
3700
|
+
var defineProperty = definePropertyModule.f;
|
|
3701
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
3702
|
+
for (var i = 0; i < keys.length; i++) {
|
|
3703
|
+
var key = keys[i];
|
|
3704
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
3705
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
};
|
|
3709
|
+
return copyConstructorProperties;
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3712
|
+
var isForced_1;
|
|
3713
|
+
var hasRequiredIsForced;
|
|
3714
|
+
|
|
3715
|
+
function requireIsForced () {
|
|
3716
|
+
if (hasRequiredIsForced) return isForced_1;
|
|
3717
|
+
hasRequiredIsForced = 1;
|
|
3718
|
+
var fails = requireFails();
|
|
3719
|
+
var isCallable = requireIsCallable();
|
|
3720
|
+
|
|
3721
|
+
var replacement = /#|\.prototype\./;
|
|
3722
|
+
|
|
3723
|
+
var isForced = function (feature, detection) {
|
|
3724
|
+
var value = data[normalize(feature)];
|
|
3725
|
+
return value === POLYFILL ? true
|
|
3726
|
+
: value === NATIVE ? false
|
|
3727
|
+
: isCallable(detection) ? fails(detection)
|
|
3728
|
+
: !!detection;
|
|
3729
|
+
};
|
|
3730
|
+
|
|
3731
|
+
var normalize = isForced.normalize = function (string) {
|
|
3732
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3735
|
+
var data = isForced.data = {};
|
|
3736
|
+
var NATIVE = isForced.NATIVE = 'N';
|
|
3737
|
+
var POLYFILL = isForced.POLYFILL = 'P';
|
|
3738
|
+
|
|
3739
|
+
isForced_1 = isForced;
|
|
3740
|
+
return isForced_1;
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
var _export;
|
|
3744
|
+
var hasRequired_export;
|
|
3745
|
+
|
|
3746
|
+
function require_export () {
|
|
3747
|
+
if (hasRequired_export) return _export;
|
|
3748
|
+
hasRequired_export = 1;
|
|
3749
|
+
var globalThis = requireGlobalThis();
|
|
3750
|
+
var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
|
|
3751
|
+
var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
|
|
3752
|
+
var defineBuiltIn = requireDefineBuiltIn();
|
|
3753
|
+
var defineGlobalProperty = requireDefineGlobalProperty();
|
|
3754
|
+
var copyConstructorProperties = requireCopyConstructorProperties();
|
|
3755
|
+
var isForced = requireIsForced();
|
|
3756
|
+
|
|
3757
|
+
/*
|
|
3758
|
+
options.target - name of the target object
|
|
3759
|
+
options.global - target is the global object
|
|
3760
|
+
options.stat - export as static methods of target
|
|
3761
|
+
options.proto - export as prototype methods of target
|
|
3762
|
+
options.real - real prototype method for the `pure` version
|
|
3763
|
+
options.forced - export even if the native feature is available
|
|
3764
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
3765
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
3766
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
3767
|
+
options.sham - add a flag to not completely full polyfills
|
|
3768
|
+
options.enumerable - export as enumerable property
|
|
3769
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
3770
|
+
options.name - the .name of the function if it does not match the key
|
|
3771
|
+
*/
|
|
3772
|
+
_export = function (options, source) {
|
|
3773
|
+
var TARGET = options.target;
|
|
3774
|
+
var GLOBAL = options.global;
|
|
3775
|
+
var STATIC = options.stat;
|
|
3776
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
3777
|
+
if (GLOBAL) {
|
|
3778
|
+
target = globalThis;
|
|
3779
|
+
} else if (STATIC) {
|
|
3780
|
+
target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
|
|
3781
|
+
} else {
|
|
3782
|
+
target = globalThis[TARGET] && globalThis[TARGET].prototype;
|
|
3783
|
+
}
|
|
3784
|
+
if (target) for (key in source) {
|
|
3785
|
+
sourceProperty = source[key];
|
|
3786
|
+
if (options.dontCallGetSet) {
|
|
3787
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
3788
|
+
targetProperty = descriptor && descriptor.value;
|
|
3789
|
+
} else targetProperty = target[key];
|
|
3790
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
3791
|
+
// contained in target
|
|
3792
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
3793
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
3794
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
3795
|
+
}
|
|
3796
|
+
// add a flag to not completely full polyfills
|
|
3797
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
3798
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
3799
|
+
}
|
|
3800
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
3801
|
+
}
|
|
3802
|
+
};
|
|
3803
|
+
return _export;
|
|
3428
3804
|
}
|
|
3429
3805
|
|
|
3430
|
-
|
|
3431
|
-
var addToUnscopables$1 = function (key) {
|
|
3432
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
3433
|
-
};
|
|
3434
|
-
|
|
3435
|
-
var $$1 = _export;
|
|
3436
|
-
var $includes = arrayIncludes.includes;
|
|
3437
|
-
var fails = fails$9;
|
|
3438
|
-
var addToUnscopables = addToUnscopables$1;
|
|
3439
|
-
|
|
3440
|
-
// FF99+ bug
|
|
3441
|
-
var BROKEN_ON_SPARSE = fails(function () {
|
|
3442
|
-
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
3443
|
-
return !Array(1).includes();
|
|
3444
|
-
});
|
|
3445
|
-
|
|
3446
|
-
// `Array.prototype.includes` method
|
|
3447
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3448
|
-
$$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
3449
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
3450
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
3451
|
-
}
|
|
3452
|
-
});
|
|
3806
|
+
var objectDefineProperties = {};
|
|
3453
3807
|
|
|
3454
|
-
|
|
3455
|
-
|
|
3808
|
+
var objectKeys;
|
|
3809
|
+
var hasRequiredObjectKeys;
|
|
3810
|
+
|
|
3811
|
+
function requireObjectKeys () {
|
|
3812
|
+
if (hasRequiredObjectKeys) return objectKeys;
|
|
3813
|
+
hasRequiredObjectKeys = 1;
|
|
3814
|
+
var internalObjectKeys = requireObjectKeysInternal();
|
|
3815
|
+
var enumBugKeys = requireEnumBugKeys();
|
|
3816
|
+
|
|
3817
|
+
// `Object.keys` method
|
|
3818
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
|
3819
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
3820
|
+
objectKeys = Object.keys || function keys(O) {
|
|
3821
|
+
return internalObjectKeys(O, enumBugKeys);
|
|
3822
|
+
};
|
|
3823
|
+
return objectKeys;
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
var hasRequiredObjectDefineProperties;
|
|
3827
|
+
|
|
3828
|
+
function requireObjectDefineProperties () {
|
|
3829
|
+
if (hasRequiredObjectDefineProperties) return objectDefineProperties;
|
|
3830
|
+
hasRequiredObjectDefineProperties = 1;
|
|
3831
|
+
var DESCRIPTORS = requireDescriptors();
|
|
3832
|
+
var V8_PROTOTYPE_DEFINE_BUG = requireV8PrototypeDefineBug();
|
|
3833
|
+
var definePropertyModule = requireObjectDefineProperty();
|
|
3834
|
+
var anObject = requireAnObject();
|
|
3835
|
+
var toIndexedObject = requireToIndexedObject();
|
|
3836
|
+
var objectKeys = requireObjectKeys();
|
|
3837
|
+
|
|
3838
|
+
// `Object.defineProperties` method
|
|
3839
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
3840
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
3841
|
+
objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
3842
|
+
anObject(O);
|
|
3843
|
+
var props = toIndexedObject(Properties);
|
|
3844
|
+
var keys = objectKeys(Properties);
|
|
3845
|
+
var length = keys.length;
|
|
3846
|
+
var index = 0;
|
|
3847
|
+
var key;
|
|
3848
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
3849
|
+
return O;
|
|
3850
|
+
};
|
|
3851
|
+
return objectDefineProperties;
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
var html;
|
|
3855
|
+
var hasRequiredHtml;
|
|
3856
|
+
|
|
3857
|
+
function requireHtml () {
|
|
3858
|
+
if (hasRequiredHtml) return html;
|
|
3859
|
+
hasRequiredHtml = 1;
|
|
3860
|
+
var getBuiltIn = requireGetBuiltIn();
|
|
3861
|
+
|
|
3862
|
+
html = getBuiltIn('document', 'documentElement');
|
|
3863
|
+
return html;
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
var objectCreate;
|
|
3867
|
+
var hasRequiredObjectCreate;
|
|
3868
|
+
|
|
3869
|
+
function requireObjectCreate () {
|
|
3870
|
+
if (hasRequiredObjectCreate) return objectCreate;
|
|
3871
|
+
hasRequiredObjectCreate = 1;
|
|
3872
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
3873
|
+
var anObject = requireAnObject();
|
|
3874
|
+
var definePropertiesModule = requireObjectDefineProperties();
|
|
3875
|
+
var enumBugKeys = requireEnumBugKeys();
|
|
3876
|
+
var hiddenKeys = requireHiddenKeys();
|
|
3877
|
+
var html = requireHtml();
|
|
3878
|
+
var documentCreateElement = requireDocumentCreateElement();
|
|
3879
|
+
var sharedKey = requireSharedKey();
|
|
3880
|
+
|
|
3881
|
+
var GT = '>';
|
|
3882
|
+
var LT = '<';
|
|
3883
|
+
var PROTOTYPE = 'prototype';
|
|
3884
|
+
var SCRIPT = 'script';
|
|
3885
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3886
|
+
|
|
3887
|
+
var EmptyConstructor = function () { /* empty */ };
|
|
3888
|
+
|
|
3889
|
+
var scriptTag = function (content) {
|
|
3890
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3891
|
+
};
|
|
3892
|
+
|
|
3893
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3894
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3895
|
+
activeXDocument.write(scriptTag(''));
|
|
3896
|
+
activeXDocument.close();
|
|
3897
|
+
var temp = activeXDocument.parentWindow.Object;
|
|
3898
|
+
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
|
3899
|
+
activeXDocument = null;
|
|
3900
|
+
return temp;
|
|
3901
|
+
};
|
|
3902
|
+
|
|
3903
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3904
|
+
var NullProtoObjectViaIFrame = function () {
|
|
3905
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
3906
|
+
var iframe = documentCreateElement('iframe');
|
|
3907
|
+
var JS = 'java' + SCRIPT + ':';
|
|
3908
|
+
var iframeDocument;
|
|
3909
|
+
iframe.style.display = 'none';
|
|
3910
|
+
html.appendChild(iframe);
|
|
3911
|
+
// https://github.com/zloirock/core-js/issues/475
|
|
3912
|
+
iframe.src = String(JS);
|
|
3913
|
+
iframeDocument = iframe.contentWindow.document;
|
|
3914
|
+
iframeDocument.open();
|
|
3915
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3916
|
+
iframeDocument.close();
|
|
3917
|
+
return iframeDocument.F;
|
|
3918
|
+
};
|
|
3919
|
+
|
|
3920
|
+
// Check for document.domain and active x support
|
|
3921
|
+
// No need to use active x approach when document.domain is not set
|
|
3922
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3923
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3924
|
+
// avoid IE GC bug
|
|
3925
|
+
var activeXDocument;
|
|
3926
|
+
var NullProtoObject = function () {
|
|
3927
|
+
try {
|
|
3928
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
3929
|
+
} catch (error) { /* ignore */ }
|
|
3930
|
+
NullProtoObject = typeof document != 'undefined'
|
|
3931
|
+
? document.domain && activeXDocument
|
|
3932
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3933
|
+
: NullProtoObjectViaIFrame()
|
|
3934
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3935
|
+
var length = enumBugKeys.length;
|
|
3936
|
+
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3937
|
+
return NullProtoObject();
|
|
3938
|
+
};
|
|
3939
|
+
|
|
3940
|
+
hiddenKeys[IE_PROTO] = true;
|
|
3941
|
+
|
|
3942
|
+
// `Object.create` method
|
|
3943
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
3944
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
3945
|
+
objectCreate = Object.create || function create(O, Properties) {
|
|
3946
|
+
var result;
|
|
3947
|
+
if (O !== null) {
|
|
3948
|
+
EmptyConstructor[PROTOTYPE] = anObject(O);
|
|
3949
|
+
result = new EmptyConstructor();
|
|
3950
|
+
EmptyConstructor[PROTOTYPE] = null;
|
|
3951
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3952
|
+
result[IE_PROTO] = O;
|
|
3953
|
+
} else result = NullProtoObject();
|
|
3954
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3955
|
+
};
|
|
3956
|
+
return objectCreate;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
var addToUnscopables;
|
|
3960
|
+
var hasRequiredAddToUnscopables;
|
|
3961
|
+
|
|
3962
|
+
function requireAddToUnscopables () {
|
|
3963
|
+
if (hasRequiredAddToUnscopables) return addToUnscopables;
|
|
3964
|
+
hasRequiredAddToUnscopables = 1;
|
|
3965
|
+
var wellKnownSymbol = requireWellKnownSymbol();
|
|
3966
|
+
var create = requireObjectCreate();
|
|
3967
|
+
var defineProperty = requireObjectDefineProperty().f;
|
|
3968
|
+
|
|
3969
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
3970
|
+
var ArrayPrototype = Array.prototype;
|
|
3971
|
+
|
|
3972
|
+
// Array.prototype[@@unscopables]
|
|
3973
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3974
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3975
|
+
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3976
|
+
configurable: true,
|
|
3977
|
+
value: create(null)
|
|
3978
|
+
});
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
// add a key to Array.prototype[@@unscopables]
|
|
3982
|
+
addToUnscopables = function (key) {
|
|
3983
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
3984
|
+
};
|
|
3985
|
+
return addToUnscopables;
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
var hasRequiredEs_array_includes;
|
|
3989
|
+
|
|
3990
|
+
function requireEs_array_includes () {
|
|
3991
|
+
if (hasRequiredEs_array_includes) return es_array_includes;
|
|
3992
|
+
hasRequiredEs_array_includes = 1;
|
|
3993
|
+
var $ = require_export();
|
|
3994
|
+
var $includes = requireArrayIncludes().includes;
|
|
3995
|
+
var fails = requireFails();
|
|
3996
|
+
var addToUnscopables = requireAddToUnscopables();
|
|
3997
|
+
|
|
3998
|
+
// FF99+ bug
|
|
3999
|
+
var BROKEN_ON_SPARSE = fails(function () {
|
|
4000
|
+
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
4001
|
+
return !Array(1).includes();
|
|
4002
|
+
});
|
|
4003
|
+
|
|
4004
|
+
// `Array.prototype.includes` method
|
|
4005
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
4006
|
+
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
4007
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
4008
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
4009
|
+
}
|
|
4010
|
+
});
|
|
4011
|
+
|
|
4012
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4013
|
+
addToUnscopables('includes');
|
|
4014
|
+
return es_array_includes;
|
|
4015
|
+
}
|
|
4016
|
+
|
|
4017
|
+
requireEs_array_includes();
|
|
3456
4018
|
|
|
3457
4019
|
function clampProp(e, n, t, o, r) {
|
|
3458
4020
|
return clampEntity(n, getDefinedProp(e, n), t, o, r);
|
|
@@ -10880,11 +11442,11 @@ const Kislev = months.KISLEV;
|
|
|
10880
11442
|
const Shvat = months.SHVAT;
|
|
10881
11443
|
const Adar2 = months.ADAR_II;
|
|
10882
11444
|
const CHAG$1 = flags.CHAG;
|
|
10883
|
-
const LIGHT_CANDLES$
|
|
11445
|
+
const LIGHT_CANDLES$2 = flags.LIGHT_CANDLES;
|
|
10884
11446
|
const YOM_TOV_ENDS$1 = flags.YOM_TOV_ENDS;
|
|
10885
11447
|
const CHUL_ONLY$1 = flags.CHUL_ONLY;
|
|
10886
11448
|
const IL_ONLY$2 = flags.IL_ONLY;
|
|
10887
|
-
const LIGHT_CANDLES_TZEIS$
|
|
11449
|
+
const LIGHT_CANDLES_TZEIS$3 = flags.LIGHT_CANDLES_TZEIS;
|
|
10888
11450
|
const CHANUKAH_CANDLES$2 = flags.CHANUKAH_CANDLES;
|
|
10889
11451
|
const MAJOR_FAST$2 = flags.MAJOR_FAST;
|
|
10890
11452
|
const MINOR_HOLIDAY$2 = flags.MINOR_HOLIDAY;
|
|
@@ -11103,7 +11665,7 @@ const staticHolidays = [
|
|
|
11103
11665
|
flags: CHAG$1 | YOM_TOV_ENDS$1,
|
|
11104
11666
|
emoji: '🍏🍯',
|
|
11105
11667
|
},
|
|
11106
|
-
{ mm: Tishrei, dd: 9, desc: EREV_YOM_KIPPUR, flags: EREV$2 | LIGHT_CANDLES$
|
|
11668
|
+
{ mm: Tishrei, dd: 9, desc: EREV_YOM_KIPPUR, flags: EREV$2 | LIGHT_CANDLES$2 },
|
|
11107
11669
|
{
|
|
11108
11670
|
mm: Tishrei,
|
|
11109
11671
|
dd: 10,
|
|
@@ -11114,14 +11676,14 @@ const staticHolidays = [
|
|
|
11114
11676
|
mm: Tishrei,
|
|
11115
11677
|
dd: 14,
|
|
11116
11678
|
desc: EREV_SUKKOT,
|
|
11117
|
-
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$
|
|
11679
|
+
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$2,
|
|
11118
11680
|
emoji: emojiSukkot,
|
|
11119
11681
|
},
|
|
11120
11682
|
{
|
|
11121
11683
|
mm: Tishrei,
|
|
11122
11684
|
dd: 15,
|
|
11123
11685
|
desc: SUKKOT_I,
|
|
11124
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11686
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11125
11687
|
emoji: emojiSukkot,
|
|
11126
11688
|
},
|
|
11127
11689
|
{
|
|
@@ -11167,7 +11729,7 @@ const staticHolidays = [
|
|
|
11167
11729
|
mm: Tishrei,
|
|
11168
11730
|
dd: 22,
|
|
11169
11731
|
desc: SHMINI_ATZERET,
|
|
11170
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11732
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11171
11733
|
},
|
|
11172
11734
|
{
|
|
11173
11735
|
mm: Tishrei,
|
|
@@ -11179,7 +11741,7 @@ const staticHolidays = [
|
|
|
11179
11741
|
mm: Tishrei,
|
|
11180
11742
|
dd: 14,
|
|
11181
11743
|
desc: EREV_SUKKOT,
|
|
11182
|
-
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$
|
|
11744
|
+
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$2,
|
|
11183
11745
|
emoji: emojiSukkot,
|
|
11184
11746
|
},
|
|
11185
11747
|
{
|
|
@@ -11239,7 +11801,7 @@ const staticHolidays = [
|
|
|
11239
11801
|
mm: Tishrei,
|
|
11240
11802
|
dd: 21,
|
|
11241
11803
|
desc: SUKKOT_VII_HOSHANA_RABA,
|
|
11242
|
-
flags: LIGHT_CANDLES$
|
|
11804
|
+
flags: LIGHT_CANDLES$2 | CHOL_HAMOED$1,
|
|
11243
11805
|
chmDay: -1,
|
|
11244
11806
|
emoji: emojiSukkot,
|
|
11245
11807
|
},
|
|
@@ -11271,7 +11833,7 @@ const staticHolidays = [
|
|
|
11271
11833
|
mm: Nisan,
|
|
11272
11834
|
dd: 14,
|
|
11273
11835
|
desc: EREV_PESACH,
|
|
11274
|
-
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$
|
|
11836
|
+
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$2,
|
|
11275
11837
|
emoji: '🫓🍷',
|
|
11276
11838
|
},
|
|
11277
11839
|
{
|
|
@@ -11317,7 +11879,7 @@ const staticHolidays = [
|
|
|
11317
11879
|
mm: Nisan,
|
|
11318
11880
|
dd: 20,
|
|
11319
11881
|
desc: PESACH_VI_CHM,
|
|
11320
|
-
flags: IL_ONLY$2 | CHOL_HAMOED$1 | LIGHT_CANDLES$
|
|
11882
|
+
flags: IL_ONLY$2 | CHOL_HAMOED$1 | LIGHT_CANDLES$2,
|
|
11321
11883
|
chmDay: 5,
|
|
11322
11884
|
emoji: emojiPesach,
|
|
11323
11885
|
},
|
|
@@ -11333,14 +11895,14 @@ const staticHolidays = [
|
|
|
11333
11895
|
mm: Nisan,
|
|
11334
11896
|
dd: 14,
|
|
11335
11897
|
desc: EREV_PESACH,
|
|
11336
|
-
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$
|
|
11898
|
+
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$2,
|
|
11337
11899
|
emoji: '🫓🍷',
|
|
11338
11900
|
},
|
|
11339
11901
|
{
|
|
11340
11902
|
mm: Nisan,
|
|
11341
11903
|
dd: 15,
|
|
11342
11904
|
desc: PESACH_I,
|
|
11343
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11905
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11344
11906
|
emoji: '🫓🍷',
|
|
11345
11907
|
},
|
|
11346
11908
|
{
|
|
@@ -11378,7 +11940,7 @@ const staticHolidays = [
|
|
|
11378
11940
|
mm: Nisan,
|
|
11379
11941
|
dd: 20,
|
|
11380
11942
|
desc: PESACH_VI_CHM,
|
|
11381
|
-
flags: CHUL_ONLY$1 | CHOL_HAMOED$1 | LIGHT_CANDLES$
|
|
11943
|
+
flags: CHUL_ONLY$1 | CHOL_HAMOED$1 | LIGHT_CANDLES$2,
|
|
11382
11944
|
chmDay: 4,
|
|
11383
11945
|
emoji: emojiPesach,
|
|
11384
11946
|
},
|
|
@@ -11386,7 +11948,7 @@ const staticHolidays = [
|
|
|
11386
11948
|
mm: Nisan,
|
|
11387
11949
|
dd: 21,
|
|
11388
11950
|
desc: PESACH_VII,
|
|
11389
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11951
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11390
11952
|
emoji: emojiPesach,
|
|
11391
11953
|
},
|
|
11392
11954
|
{
|
|
@@ -11402,7 +11964,7 @@ const staticHolidays = [
|
|
|
11402
11964
|
mm: Sivan,
|
|
11403
11965
|
dd: 5,
|
|
11404
11966
|
desc: EREV_SHAVUOT,
|
|
11405
|
-
flags: EREV$2 | LIGHT_CANDLES$
|
|
11967
|
+
flags: EREV$2 | LIGHT_CANDLES$2,
|
|
11406
11968
|
emoji: '⛰️🌸',
|
|
11407
11969
|
},
|
|
11408
11970
|
{
|
|
@@ -11416,7 +11978,7 @@ const staticHolidays = [
|
|
|
11416
11978
|
mm: Sivan,
|
|
11417
11979
|
dd: 6,
|
|
11418
11980
|
desc: SHAVUOT_I,
|
|
11419
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11981
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11420
11982
|
emoji: '⛰️🌸',
|
|
11421
11983
|
},
|
|
11422
11984
|
{
|
|
@@ -11438,7 +12000,7 @@ const staticHolidays = [
|
|
|
11438
12000
|
mm: Elul,
|
|
11439
12001
|
dd: 29,
|
|
11440
12002
|
desc: EREV_ROSH_HASHANA,
|
|
11441
|
-
flags: EREV$2 | LIGHT_CANDLES$
|
|
12003
|
+
flags: EREV$2 | LIGHT_CANDLES$2,
|
|
11442
12004
|
emoji: '🍏🍯',
|
|
11443
12005
|
},
|
|
11444
12006
|
];
|
|
@@ -11725,20 +12287,22 @@ class DailyLearning {
|
|
|
11725
12287
|
}
|
|
11726
12288
|
|
|
11727
12289
|
/** DO NOT EDIT THIS AUTO-GENERATED FILE! */
|
|
11728
|
-
const version = '5.5.
|
|
12290
|
+
const version = '5.5.1';
|
|
11729
12291
|
|
|
11730
12292
|
/* eslint-disable max-len */
|
|
12293
|
+
const LIGHT_CANDLES$1 = flags.LIGHT_CANDLES;
|
|
12294
|
+
const LIGHT_CANDLES_TZEIS$2 = flags.LIGHT_CANDLES_TZEIS;
|
|
11731
12295
|
/**
|
|
11732
12296
|
* @private
|
|
11733
12297
|
*/
|
|
11734
12298
|
function makeCandleEvent(ev, hd, options, isFriday, isSaturday) {
|
|
11735
12299
|
let havdalahTitle = false;
|
|
11736
12300
|
let useHavdalahOffset = isSaturday;
|
|
11737
|
-
let mask = ev ? ev.getFlags() :
|
|
12301
|
+
let mask = ev ? ev.getFlags() : LIGHT_CANDLES$1;
|
|
11738
12302
|
if (typeof ev !== 'undefined') {
|
|
11739
12303
|
// if linked event && dow == FRI, use Candle lighting time & title
|
|
11740
12304
|
if (!isFriday) {
|
|
11741
|
-
if (mask & (
|
|
12305
|
+
if (mask & (LIGHT_CANDLES_TZEIS$2 | flags.CHANUKAH_CANDLES)) {
|
|
11742
12306
|
useHavdalahOffset = true;
|
|
11743
12307
|
}
|
|
11744
12308
|
else if (mask & flags.YOM_TOV_ENDS) {
|
|
@@ -11749,7 +12313,7 @@ function makeCandleEvent(ev, hd, options, isFriday, isSaturday) {
|
|
|
11749
12313
|
}
|
|
11750
12314
|
else if (isSaturday) {
|
|
11751
12315
|
havdalahTitle = true;
|
|
11752
|
-
mask =
|
|
12316
|
+
mask = LIGHT_CANDLES_TZEIS$2;
|
|
11753
12317
|
}
|
|
11754
12318
|
// if offset is 0 or undefined, we'll use tzeit time
|
|
11755
12319
|
const offset = useHavdalahOffset
|
|
@@ -11768,6 +12332,7 @@ function makeCandleEvent(ev, hd, options, isFriday, isSaturday) {
|
|
|
11768
12332
|
return new HavdalahEvent(hd, mask, time, location, options.havdalahMins, ev, options);
|
|
11769
12333
|
}
|
|
11770
12334
|
else {
|
|
12335
|
+
mask |= LIGHT_CANDLES$1;
|
|
11771
12336
|
return new CandleLightingEvent(hd, mask, time, location, ev, options);
|
|
11772
12337
|
}
|
|
11773
12338
|
}
|