@hebcal/core 5.4.11 → 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 +1730 -1124
- 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 +60 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +60 -22
- package/dist/index.mjs.map +1 -1
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/zmanim.d.ts +22 -0
- package/package.json +16 -16
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/core v5.
|
|
1
|
+
/*! @hebcal/core v5.5.1 */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -2288,1165 +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 global$a =
|
|
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
|
-
};
|
|
2341
|
-
|
|
2342
|
-
var objectPropertyIsEnumerable = {};
|
|
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
|
-
};
|
|
2366
|
-
|
|
2367
|
-
var NATIVE_BIND = functionBindNative;
|
|
2368
|
-
|
|
2369
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
2370
|
-
var call$3 = FunctionPrototype$1.call;
|
|
2371
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$3, call$3);
|
|
2372
|
-
|
|
2373
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
2374
|
-
return function () {
|
|
2375
|
-
return call$3.apply(fn, arguments);
|
|
2376
|
-
};
|
|
2377
|
-
};
|
|
2378
|
-
|
|
2379
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
2291
|
+
var es_array_includes = {};
|
|
2380
2292
|
|
|
2381
|
-
var
|
|
2382
|
-
var
|
|
2293
|
+
var globalThis_1;
|
|
2294
|
+
var hasRequiredGlobalThis;
|
|
2383
2295
|
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
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
|
-
};
|
|
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
|
+
};
|
|
2446
2302
|
|
|
2447
|
-
|
|
2448
|
-
|
|
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
|
+
}
|
|
2449
2316
|
|
|
2450
|
-
var
|
|
2451
|
-
return isCallable$8(argument) ? argument : undefined;
|
|
2452
|
-
};
|
|
2317
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
2453
2318
|
|
|
2454
|
-
var
|
|
2455
|
-
|
|
2456
|
-
};
|
|
2319
|
+
var fails;
|
|
2320
|
+
var hasRequiredFails;
|
|
2457
2321
|
|
|
2458
|
-
|
|
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
|
+
}
|
|
2459
2334
|
|
|
2460
|
-
var
|
|
2335
|
+
var descriptors;
|
|
2336
|
+
var hasRequiredDescriptors;
|
|
2461
2337
|
|
|
2462
|
-
|
|
2338
|
+
function requireDescriptors () {
|
|
2339
|
+
if (hasRequiredDescriptors) return descriptors;
|
|
2340
|
+
hasRequiredDescriptors = 1;
|
|
2341
|
+
var fails = requireFails();
|
|
2463
2342
|
|
|
2464
|
-
|
|
2465
|
-
|
|
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
|
+
}
|
|
2466
2350
|
|
|
2467
|
-
var
|
|
2468
|
-
var
|
|
2469
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
2470
|
-
var v8 = versions && versions.v8;
|
|
2471
|
-
var match, version$1;
|
|
2351
|
+
var functionBindNative;
|
|
2352
|
+
var hasRequiredFunctionBindNative;
|
|
2472
2353
|
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
version$1 = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
2478
|
-
}
|
|
2354
|
+
function requireFunctionBindNative () {
|
|
2355
|
+
if (hasRequiredFunctionBindNative) return functionBindNative;
|
|
2356
|
+
hasRequiredFunctionBindNative = 1;
|
|
2357
|
+
var fails = requireFails();
|
|
2479
2358
|
|
|
2480
|
-
|
|
2481
|
-
//
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
}
|
|
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;
|
|
2488
2366
|
}
|
|
2489
2367
|
|
|
2490
|
-
var
|
|
2368
|
+
var functionCall;
|
|
2369
|
+
var hasRequiredFunctionCall;
|
|
2491
2370
|
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
var
|
|
2371
|
+
function requireFunctionCall () {
|
|
2372
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
2373
|
+
hasRequiredFunctionCall = 1;
|
|
2374
|
+
var NATIVE_BIND = requireFunctionBindNative();
|
|
2496
2375
|
|
|
2497
|
-
var
|
|
2376
|
+
var call = Function.prototype.call;
|
|
2498
2377
|
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
2505
|
-
// of course, fail.
|
|
2506
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
2507
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
2508
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
2509
|
-
});
|
|
2378
|
+
functionCall = NATIVE_BIND ? call.bind(call) : function () {
|
|
2379
|
+
return call.apply(call, arguments);
|
|
2380
|
+
};
|
|
2381
|
+
return functionCall;
|
|
2382
|
+
}
|
|
2510
2383
|
|
|
2511
|
-
|
|
2512
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
2384
|
+
var objectPropertyIsEnumerable = {};
|
|
2513
2385
|
|
|
2514
|
-
var
|
|
2515
|
-
&& !Symbol.sham
|
|
2516
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
2386
|
+
var hasRequiredObjectPropertyIsEnumerable;
|
|
2517
2387
|
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
var
|
|
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
|
-
|
|
2502
|
+
function requireRequireObjectCoercible () {
|
|
2503
|
+
if (hasRequiredRequireObjectCoercible) return requireObjectCoercible;
|
|
2504
|
+
hasRequiredRequireObjectCoercible = 1;
|
|
2505
|
+
var isNullOrUndefined = requireIsNullOrUndefined();
|
|
2524
2506
|
|
|
2525
|
-
var
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
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
|
+
}
|
|
2531
2517
|
|
|
2532
|
-
var
|
|
2518
|
+
var toIndexedObject;
|
|
2519
|
+
var hasRequiredToIndexedObject;
|
|
2533
2520
|
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
};
|
|
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();
|
|
2541
2527
|
|
|
2542
|
-
|
|
2543
|
-
|
|
2528
|
+
toIndexedObject = function (it) {
|
|
2529
|
+
return IndexedObject(requireObjectCoercible(it));
|
|
2530
|
+
};
|
|
2531
|
+
return toIndexedObject;
|
|
2532
|
+
}
|
|
2544
2533
|
|
|
2545
|
-
var
|
|
2534
|
+
var isCallable;
|
|
2535
|
+
var hasRequiredIsCallable;
|
|
2546
2536
|
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
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;
|
|
2552
2542
|
|
|
2553
|
-
|
|
2554
|
-
|
|
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
|
+
}
|
|
2555
2553
|
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
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();
|
|
2562
2594
|
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
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;
|
|
2566
2616
|
|
|
2567
|
-
|
|
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;
|
|
2568
2652
|
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
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
|
+
}
|
|
2578
2792
|
|
|
2579
2793
|
var sharedStore = {exports: {}};
|
|
2580
2794
|
|
|
2581
|
-
var
|
|
2582
|
-
|
|
2583
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2584
|
-
var defineProperty$2 = Object.defineProperty;
|
|
2585
|
-
|
|
2586
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
2587
|
-
try {
|
|
2588
|
-
defineProperty$2(global$6, key, { value: value, configurable: true, writable: true });
|
|
2589
|
-
} catch (error) {
|
|
2590
|
-
global$6[key] = value;
|
|
2591
|
-
} return value;
|
|
2592
|
-
};
|
|
2593
|
-
|
|
2594
|
-
var globalThis$1 = global$a;
|
|
2595
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
2596
|
-
|
|
2597
|
-
var SHARED = '__core-js_shared__';
|
|
2598
|
-
var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
2599
|
-
|
|
2600
|
-
(store$3.versions || (store$3.versions = [])).push({
|
|
2601
|
-
version: '3.37.1',
|
|
2602
|
-
mode: 'global',
|
|
2603
|
-
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
2604
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
|
|
2605
|
-
source: 'https://github.com/zloirock/core-js'
|
|
2606
|
-
});
|
|
2607
|
-
|
|
2608
|
-
var sharedStoreExports = sharedStore.exports;
|
|
2609
|
-
|
|
2610
|
-
var store$2 = sharedStoreExports;
|
|
2611
|
-
|
|
2612
|
-
var shared$3 = function (key, value) {
|
|
2613
|
-
return store$2[key] || (store$2[key] = value || {});
|
|
2614
|
-
};
|
|
2615
|
-
|
|
2616
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
2617
|
-
|
|
2618
|
-
var $Object = Object;
|
|
2619
|
-
|
|
2620
|
-
// `ToObject` abstract operation
|
|
2621
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
2622
|
-
var toObject$1 = function (argument) {
|
|
2623
|
-
return $Object(requireObjectCoercible(argument));
|
|
2624
|
-
};
|
|
2625
|
-
|
|
2626
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
2627
|
-
var toObject = toObject$1;
|
|
2628
|
-
|
|
2629
|
-
var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
2630
|
-
|
|
2631
|
-
// `HasOwnProperty` abstract operation
|
|
2632
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
2633
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
2634
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
2635
|
-
return hasOwnProperty(toObject(it), key);
|
|
2636
|
-
};
|
|
2637
|
-
|
|
2638
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
2639
|
-
|
|
2640
|
-
var id = 0;
|
|
2641
|
-
var postfix = Math.random();
|
|
2642
|
-
var toString$1 = uncurryThis$4(1.0.toString);
|
|
2643
|
-
|
|
2644
|
-
var uid$2 = function (key) {
|
|
2645
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);
|
|
2646
|
-
};
|
|
2647
|
-
|
|
2648
|
-
var global$5 = global$a;
|
|
2649
|
-
var shared$2 = shared$3;
|
|
2650
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
2651
|
-
var uid$1 = uid$2;
|
|
2652
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
2653
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
2654
|
-
|
|
2655
|
-
var Symbol$1 = global$5.Symbol;
|
|
2656
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
2657
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
2658
|
-
|
|
2659
|
-
var wellKnownSymbol$2 = function (name) {
|
|
2660
|
-
if (!hasOwn$6(WellKnownSymbolsStore, name)) {
|
|
2661
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
|
|
2662
|
-
? Symbol$1[name]
|
|
2663
|
-
: createWellKnownSymbol('Symbol.' + name);
|
|
2664
|
-
} return WellKnownSymbolsStore[name];
|
|
2665
|
-
};
|
|
2666
|
-
|
|
2667
|
-
var call$1 = functionCall;
|
|
2668
|
-
var isObject$3 = isObject$5;
|
|
2669
|
-
var isSymbol$1 = isSymbol$2;
|
|
2670
|
-
var getMethod = getMethod$1;
|
|
2671
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
2672
|
-
var wellKnownSymbol$1 = wellKnownSymbol$2;
|
|
2673
|
-
|
|
2674
|
-
var $TypeError$2 = TypeError;
|
|
2675
|
-
var TO_PRIMITIVE = wellKnownSymbol$1('toPrimitive');
|
|
2676
|
-
|
|
2677
|
-
// `ToPrimitive` abstract operation
|
|
2678
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2679
|
-
var toPrimitive$1 = function (input, pref) {
|
|
2680
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
2681
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
2682
|
-
var result;
|
|
2683
|
-
if (exoticToPrim) {
|
|
2684
|
-
if (pref === undefined) pref = 'default';
|
|
2685
|
-
result = call$1(exoticToPrim, input, pref);
|
|
2686
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
2687
|
-
throw new $TypeError$2("Can't convert object to primitive value");
|
|
2688
|
-
}
|
|
2689
|
-
if (pref === undefined) pref = 'number';
|
|
2690
|
-
return ordinaryToPrimitive(input, pref);
|
|
2691
|
-
};
|
|
2692
|
-
|
|
2693
|
-
var toPrimitive = toPrimitive$1;
|
|
2694
|
-
var isSymbol = isSymbol$2;
|
|
2695
|
-
|
|
2696
|
-
// `ToPropertyKey` abstract operation
|
|
2697
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
2698
|
-
var toPropertyKey$2 = function (argument) {
|
|
2699
|
-
var key = toPrimitive(argument, 'string');
|
|
2700
|
-
return isSymbol(key) ? key : key + '';
|
|
2701
|
-
};
|
|
2702
|
-
|
|
2703
|
-
var global$4 = global$a;
|
|
2704
|
-
var isObject$2 = isObject$5;
|
|
2705
|
-
|
|
2706
|
-
var document$1 = global$4.document;
|
|
2707
|
-
// typeof document.createElement is 'object' in old IE
|
|
2708
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
2709
|
-
|
|
2710
|
-
var documentCreateElement$1 = function (it) {
|
|
2711
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
2712
|
-
};
|
|
2713
|
-
|
|
2714
|
-
var DESCRIPTORS$7 = descriptors;
|
|
2715
|
-
var fails$4 = fails$9;
|
|
2716
|
-
var createElement = documentCreateElement$1;
|
|
2717
|
-
|
|
2718
|
-
// Thanks to IE8 for its funny defineProperty
|
|
2719
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
|
2720
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2721
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
2722
|
-
get: function () { return 7; }
|
|
2723
|
-
}).a !== 7;
|
|
2724
|
-
});
|
|
2725
|
-
|
|
2726
|
-
var DESCRIPTORS$6 = descriptors;
|
|
2727
|
-
var call = functionCall;
|
|
2728
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
2729
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
2730
|
-
var toIndexedObject$3 = toIndexedObject$4;
|
|
2731
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
2732
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
2733
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
2734
|
-
|
|
2735
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2736
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2737
|
-
|
|
2738
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
2739
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
2740
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
2741
|
-
O = toIndexedObject$3(O);
|
|
2742
|
-
P = toPropertyKey$1(P);
|
|
2743
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
2744
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
2745
|
-
} catch (error) { /* empty */ }
|
|
2746
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
2747
|
-
};
|
|
2748
|
-
|
|
2749
|
-
var objectDefineProperty = {};
|
|
2750
|
-
|
|
2751
|
-
var DESCRIPTORS$5 = descriptors;
|
|
2752
|
-
var fails$3 = fails$9;
|
|
2753
|
-
|
|
2754
|
-
// V8 ~ Chrome 36-
|
|
2755
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2756
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
|
2757
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2758
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2759
|
-
value: 42,
|
|
2760
|
-
writable: false
|
|
2761
|
-
}).prototype !== 42;
|
|
2762
|
-
});
|
|
2763
|
-
|
|
2764
|
-
var isObject$1 = isObject$5;
|
|
2765
|
-
|
|
2766
|
-
var $String$1 = String;
|
|
2767
|
-
var $TypeError$1 = TypeError;
|
|
2768
|
-
|
|
2769
|
-
// `Assert: Type(argument) is Object`
|
|
2770
|
-
var anObject$4 = function (argument) {
|
|
2771
|
-
if (isObject$1(argument)) return argument;
|
|
2772
|
-
throw new $TypeError$1($String$1(argument) + ' is not an object');
|
|
2773
|
-
};
|
|
2774
|
-
|
|
2775
|
-
var DESCRIPTORS$4 = descriptors;
|
|
2776
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
2777
|
-
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
2778
|
-
var anObject$3 = anObject$4;
|
|
2779
|
-
var toPropertyKey = toPropertyKey$2;
|
|
2780
|
-
|
|
2781
|
-
var $TypeError = TypeError;
|
|
2782
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2783
|
-
var $defineProperty = Object.defineProperty;
|
|
2784
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2785
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2786
|
-
var ENUMERABLE = 'enumerable';
|
|
2787
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
2788
|
-
var WRITABLE = 'writable';
|
|
2789
|
-
|
|
2790
|
-
// `Object.defineProperty` method
|
|
2791
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2792
|
-
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
2793
|
-
anObject$3(O);
|
|
2794
|
-
P = toPropertyKey(P);
|
|
2795
|
-
anObject$3(Attributes);
|
|
2796
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
2797
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
2798
|
-
if (current && current[WRITABLE]) {
|
|
2799
|
-
O[P] = Attributes.value;
|
|
2800
|
-
Attributes = {
|
|
2801
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
2802
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
2803
|
-
writable: false
|
|
2804
|
-
};
|
|
2805
|
-
}
|
|
2806
|
-
} return $defineProperty(O, P, Attributes);
|
|
2807
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
2808
|
-
anObject$3(O);
|
|
2809
|
-
P = toPropertyKey(P);
|
|
2810
|
-
anObject$3(Attributes);
|
|
2811
|
-
if (IE8_DOM_DEFINE) try {
|
|
2812
|
-
return $defineProperty(O, P, Attributes);
|
|
2813
|
-
} catch (error) { /* empty */ }
|
|
2814
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
|
|
2815
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
2816
|
-
return O;
|
|
2817
|
-
};
|
|
2818
|
-
|
|
2819
|
-
var DESCRIPTORS$3 = descriptors;
|
|
2820
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
2821
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
2822
|
-
|
|
2823
|
-
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
|
2824
|
-
return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
|
|
2825
|
-
} : function (object, key, value) {
|
|
2826
|
-
object[key] = value;
|
|
2827
|
-
return object;
|
|
2828
|
-
};
|
|
2829
|
-
|
|
2830
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
2831
|
-
|
|
2832
|
-
var DESCRIPTORS$2 = descriptors;
|
|
2833
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
2834
|
-
|
|
2835
|
-
var FunctionPrototype = Function.prototype;
|
|
2836
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2837
|
-
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
|
2838
|
-
|
|
2839
|
-
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
2840
|
-
// additional protection from minified / mangled / dropped function names
|
|
2841
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
2842
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
2843
|
-
|
|
2844
|
-
var functionName = {
|
|
2845
|
-
EXISTS: EXISTS,
|
|
2846
|
-
PROPER: PROPER,
|
|
2847
|
-
CONFIGURABLE: CONFIGURABLE
|
|
2848
|
-
};
|
|
2849
|
-
|
|
2850
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
2851
|
-
var isCallable$4 = isCallable$a;
|
|
2852
|
-
var store$1 = sharedStoreExports;
|
|
2795
|
+
var isPure;
|
|
2796
|
+
var hasRequiredIsPure;
|
|
2853
2797
|
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
return functionToString(it);
|
|
2860
|
-
};
|
|
2798
|
+
function requireIsPure () {
|
|
2799
|
+
if (hasRequiredIsPure) return isPure;
|
|
2800
|
+
hasRequiredIsPure = 1;
|
|
2801
|
+
isPure = false;
|
|
2802
|
+
return isPure;
|
|
2861
2803
|
}
|
|
2862
2804
|
|
|
2863
|
-
var
|
|
2864
|
-
|
|
2865
|
-
var global$3 = global$a;
|
|
2866
|
-
var isCallable$3 = isCallable$a;
|
|
2867
|
-
|
|
2868
|
-
var WeakMap$2 = global$3.WeakMap;
|
|
2805
|
+
var defineGlobalProperty;
|
|
2806
|
+
var hasRequiredDefineGlobalProperty;
|
|
2869
2807
|
|
|
2870
|
-
|
|
2808
|
+
function requireDefineGlobalProperty () {
|
|
2809
|
+
if (hasRequiredDefineGlobalProperty) return defineGlobalProperty;
|
|
2810
|
+
hasRequiredDefineGlobalProperty = 1;
|
|
2811
|
+
var globalThis = requireGlobalThis();
|
|
2871
2812
|
|
|
2872
|
-
|
|
2873
|
-
var
|
|
2813
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2814
|
+
var defineProperty = Object.defineProperty;
|
|
2874
2815
|
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
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
|
+
}
|
|
2880
2825
|
|
|
2881
|
-
var
|
|
2826
|
+
var hasRequiredSharedStore;
|
|
2882
2827
|
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
var
|
|
2887
|
-
var
|
|
2888
|
-
var
|
|
2889
|
-
var sharedKey$1 = sharedKey$2;
|
|
2890
|
-
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();
|
|
2891
2834
|
|
|
2892
|
-
var
|
|
2893
|
-
var
|
|
2894
|
-
var WeakMap$1 = global$2.WeakMap;
|
|
2895
|
-
var set, get, has;
|
|
2835
|
+
var SHARED = '__core-js_shared__';
|
|
2836
|
+
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
2896
2837
|
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
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
|
+
}
|
|
2900
2847
|
|
|
2901
|
-
var
|
|
2902
|
-
|
|
2903
|
-
var state;
|
|
2904
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
2905
|
-
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
2906
|
-
} return state;
|
|
2907
|
-
};
|
|
2908
|
-
};
|
|
2848
|
+
var shared;
|
|
2849
|
+
var hasRequiredShared;
|
|
2909
2850
|
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
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
|
-
|
|
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;
|
|
2944
3064
|
}
|
|
2945
3065
|
|
|
2946
|
-
var
|
|
2947
|
-
set: set,
|
|
2948
|
-
get: get,
|
|
2949
|
-
has: has,
|
|
2950
|
-
enforce: enforce,
|
|
2951
|
-
getterFor: getterFor
|
|
2952
|
-
};
|
|
2953
|
-
|
|
2954
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
2955
|
-
var fails$2 = fails$9;
|
|
2956
|
-
var isCallable$2 = isCallable$a;
|
|
2957
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
2958
|
-
var DESCRIPTORS$1 = descriptors;
|
|
2959
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
2960
|
-
var inspectSource = inspectSource$1;
|
|
2961
|
-
var InternalStateModule = internalState;
|
|
2962
|
-
|
|
2963
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
2964
|
-
var getInternalState = InternalStateModule.get;
|
|
2965
|
-
var $String = String;
|
|
2966
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2967
|
-
var defineProperty$1 = Object.defineProperty;
|
|
2968
|
-
var stringSlice = uncurryThis$2(''.slice);
|
|
2969
|
-
var replace = uncurryThis$2(''.replace);
|
|
2970
|
-
var join = uncurryThis$2([].join);
|
|
2971
|
-
|
|
2972
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
|
|
2973
|
-
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
2974
|
-
});
|
|
2975
|
-
|
|
2976
|
-
var TEMPLATE = String(String).split('String');
|
|
2977
|
-
|
|
2978
|
-
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
2979
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
2980
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
2981
|
-
}
|
|
2982
|
-
if (options && options.getter) name = 'get ' + name;
|
|
2983
|
-
if (options && options.setter) name = 'set ' + name;
|
|
2984
|
-
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
2985
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
2986
|
-
else value.name = name;
|
|
2987
|
-
}
|
|
2988
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
2989
|
-
defineProperty$1(value, 'length', { value: options.arity });
|
|
2990
|
-
}
|
|
2991
|
-
try {
|
|
2992
|
-
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
2993
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
|
2994
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
2995
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
2996
|
-
} catch (error) { /* empty */ }
|
|
2997
|
-
var state = enforceInternalState(value);
|
|
2998
|
-
if (!hasOwn$2(state, 'source')) {
|
|
2999
|
-
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
3000
|
-
} return value;
|
|
3001
|
-
};
|
|
3066
|
+
var objectDefineProperty = {};
|
|
3002
3067
|
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
var
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
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
|
+
}
|
|
3038
3447
|
|
|
3039
3448
|
var objectGetOwnPropertyNames = {};
|
|
3040
3449
|
|
|
3041
|
-
var
|
|
3042
|
-
var
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
var
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
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
|
-
var
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
//
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
var
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
var
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
var
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
var
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
//
|
|
3167
|
-
//
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
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
|
+
}
|
|
3171
3651
|
|
|
3172
3652
|
var objectGetOwnPropertySymbols = {};
|
|
3173
3653
|
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
var
|
|
3193
|
-
var
|
|
3194
|
-
var
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
var
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
var
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
var
|
|
3233
|
-
var
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
var
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
var
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
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
|
-
var
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
3325
|
-
var anObject = anObject$4;
|
|
3326
|
-
var definePropertiesModule = objectDefineProperties;
|
|
3327
|
-
var enumBugKeys = enumBugKeys$3;
|
|
3328
|
-
var hiddenKeys = hiddenKeys$4;
|
|
3329
|
-
var html = html$1;
|
|
3330
|
-
var documentCreateElement = documentCreateElement$1;
|
|
3331
|
-
var sharedKey = sharedKey$2;
|
|
3332
|
-
|
|
3333
|
-
var GT = '>';
|
|
3334
|
-
var LT = '<';
|
|
3335
|
-
var PROTOTYPE = 'prototype';
|
|
3336
|
-
var SCRIPT = 'script';
|
|
3337
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3338
|
-
|
|
3339
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
3340
|
-
|
|
3341
|
-
var scriptTag = function (content) {
|
|
3342
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3343
|
-
};
|
|
3344
|
-
|
|
3345
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3346
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3347
|
-
activeXDocument.write(scriptTag(''));
|
|
3348
|
-
activeXDocument.close();
|
|
3349
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
3350
|
-
activeXDocument = null; // avoid memory leak
|
|
3351
|
-
return temp;
|
|
3352
|
-
};
|
|
3353
|
-
|
|
3354
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3355
|
-
var NullProtoObjectViaIFrame = function () {
|
|
3356
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
3357
|
-
var iframe = documentCreateElement('iframe');
|
|
3358
|
-
var JS = 'java' + SCRIPT + ':';
|
|
3359
|
-
var iframeDocument;
|
|
3360
|
-
iframe.style.display = 'none';
|
|
3361
|
-
html.appendChild(iframe);
|
|
3362
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
3363
|
-
iframe.src = String(JS);
|
|
3364
|
-
iframeDocument = iframe.contentWindow.document;
|
|
3365
|
-
iframeDocument.open();
|
|
3366
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3367
|
-
iframeDocument.close();
|
|
3368
|
-
return iframeDocument.F;
|
|
3369
|
-
};
|
|
3370
|
-
|
|
3371
|
-
// Check for document.domain and active x support
|
|
3372
|
-
// No need to use active x approach when document.domain is not set
|
|
3373
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3374
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3375
|
-
// avoid IE GC bug
|
|
3376
|
-
var activeXDocument;
|
|
3377
|
-
var NullProtoObject = function () {
|
|
3378
|
-
try {
|
|
3379
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
3380
|
-
} catch (error) { /* ignore */ }
|
|
3381
|
-
NullProtoObject = typeof document != 'undefined'
|
|
3382
|
-
? document.domain && activeXDocument
|
|
3383
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3384
|
-
: NullProtoObjectViaIFrame()
|
|
3385
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3386
|
-
var length = enumBugKeys.length;
|
|
3387
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3388
|
-
return NullProtoObject();
|
|
3389
|
-
};
|
|
3390
|
-
|
|
3391
|
-
hiddenKeys[IE_PROTO] = true;
|
|
3392
|
-
|
|
3393
|
-
// `Object.create` method
|
|
3394
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
3395
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
3396
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
3397
|
-
var result;
|
|
3398
|
-
if (O !== null) {
|
|
3399
|
-
EmptyConstructor[PROTOTYPE] = anObject(O);
|
|
3400
|
-
result = new EmptyConstructor();
|
|
3401
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
3402
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3403
|
-
result[IE_PROTO] = O;
|
|
3404
|
-
} else result = NullProtoObject();
|
|
3405
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3406
|
-
};
|
|
3407
|
-
|
|
3408
|
-
var wellKnownSymbol = wellKnownSymbol$2;
|
|
3409
|
-
var create = objectCreate;
|
|
3410
|
-
var defineProperty = objectDefineProperty.f;
|
|
3411
|
-
|
|
3412
|
-
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
3413
|
-
var ArrayPrototype = Array.prototype;
|
|
3414
|
-
|
|
3415
|
-
// Array.prototype[@@unscopables]
|
|
3416
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3417
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3418
|
-
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3419
|
-
configurable: true,
|
|
3420
|
-
value: create(null)
|
|
3421
|
-
});
|
|
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;
|
|
3422
3804
|
}
|
|
3423
3805
|
|
|
3424
|
-
|
|
3425
|
-
var addToUnscopables$1 = function (key) {
|
|
3426
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
3427
|
-
};
|
|
3428
|
-
|
|
3429
|
-
var $$1 = _export;
|
|
3430
|
-
var $includes = arrayIncludes.includes;
|
|
3431
|
-
var fails = fails$9;
|
|
3432
|
-
var addToUnscopables = addToUnscopables$1;
|
|
3433
|
-
|
|
3434
|
-
// FF99+ bug
|
|
3435
|
-
var BROKEN_ON_SPARSE = fails(function () {
|
|
3436
|
-
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
3437
|
-
return !Array(1).includes();
|
|
3438
|
-
});
|
|
3439
|
-
|
|
3440
|
-
// `Array.prototype.includes` method
|
|
3441
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3442
|
-
$$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
3443
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
3444
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
3445
|
-
}
|
|
3446
|
-
});
|
|
3806
|
+
var objectDefineProperties = {};
|
|
3447
3807
|
|
|
3448
|
-
|
|
3449
|
-
|
|
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();
|
|
3450
4018
|
|
|
3451
4019
|
function clampProp(e, n, t, o, r) {
|
|
3452
4020
|
return clampEntity(n, getDefinedProp(e, n), t, o, r);
|
|
@@ -6391,7 +6959,7 @@ const expectedInteger = (e, n) => `Non-integer ${e}: ${n}`,
|
|
|
6391
6959
|
Ta = "UTC",
|
|
6392
6960
|
Da = 5184e3,
|
|
6393
6961
|
Ia = /*@__PURE__*/isoArgsToEpochSec(1847),
|
|
6394
|
-
Ma = /*@__PURE__*/isoArgsToEpochSec(
|
|
6962
|
+
Ma = /*@__PURE__*/isoArgsToEpochSec(/*@__PURE__*/(/*@__PURE__*/new Date()).getUTCFullYear() + 10),
|
|
6395
6963
|
Na = /0+$/,
|
|
6396
6964
|
fn = /*@__PURE__*/Jn(_zonedEpochSlotsToIso, WeakMap),
|
|
6397
6965
|
ya = 2 ** 32 - 1,
|
|
@@ -6737,7 +7305,7 @@ const Pa = "([+−-])",
|
|
|
6737
7305
|
return [];
|
|
6738
7306
|
}
|
|
6739
7307
|
},
|
|
6740
|
-
Y = /*@__PURE__*/createNativeOpsCreator(
|
|
7308
|
+
Y = /*@__PURE__*/createNativeOpsCreator(/*@__PURE__*/Object.assign({}, Va, Ja, {
|
|
6741
7309
|
h: computeIsoDateParts,
|
|
6742
7310
|
ee(e) {
|
|
6743
7311
|
return this.id === gi ? computeGregoryEraParts(e) : this.id === Ti ? Gi(e) : [];
|
|
@@ -9172,6 +9740,7 @@ class Location extends GeoLocation {
|
|
|
9172
9740
|
* @param dst single char 'Y' or 'N'
|
|
9173
9741
|
*/
|
|
9174
9742
|
static getUsaTzid(state, tz, dst) {
|
|
9743
|
+
tz = +tz;
|
|
9175
9744
|
if (tz === 10 && state === 'AK') {
|
|
9176
9745
|
return 'America/Adak';
|
|
9177
9746
|
}
|
|
@@ -9739,6 +10308,40 @@ class Zmanim {
|
|
|
9739
10308
|
}
|
|
9740
10309
|
return new Date(sunset.getTime() + offset * 60 * 1000);
|
|
9741
10310
|
}
|
|
10311
|
+
/**
|
|
10312
|
+
* Returns the Hebrew date relative to the specified location and Gregorian date,
|
|
10313
|
+
* taking into consideration whether the time is before or after sunset.
|
|
10314
|
+
*
|
|
10315
|
+
* For example, if the given date and is `2024-09-22T10:35` (before sunset), and
|
|
10316
|
+
* sunset for the specified location is **19:04**, then this function would
|
|
10317
|
+
* return a Hebrew date of `19th of Elul, 5784`.
|
|
10318
|
+
* If the given date is the same Gregorian day after sunset
|
|
10319
|
+
* (for example `2024-09-22T20:07`), this function would return a
|
|
10320
|
+
* Hebrew date of `20th of Elul, 5784`.
|
|
10321
|
+
* @example
|
|
10322
|
+
* const {GeoLocation, Zmanim, HDate} = require('@hebcal/core');
|
|
10323
|
+
* const latitude = 48.85341;
|
|
10324
|
+
* const longitude = 2.3488;
|
|
10325
|
+
* const timezone = 'Europe/Paris';
|
|
10326
|
+
* const gloc = new GeoLocation(null, latitude, longitude, 0, timezone);
|
|
10327
|
+
* const before = Zmanim.makeSunsetAwareHDate(gloc, new Date('2024-09-22T17:38:46.123Z'), false);
|
|
10328
|
+
* console.log(before.toString()); // '19 Elul 5784'
|
|
10329
|
+
* const after = Zmanim.makeSunsetAwareHDate(gloc, new Date('2024-09-22T23:45:18.345Z'), false);
|
|
10330
|
+
* console.log(after.toString()); // '20 Elul 5784'
|
|
10331
|
+
*/
|
|
10332
|
+
static makeSunsetAwareHDate(gloc, date, useElevation) {
|
|
10333
|
+
const zmanim = new Zmanim(gloc, date, useElevation);
|
|
10334
|
+
const sunset = zmanim.sunset();
|
|
10335
|
+
let hd = new HDate(date);
|
|
10336
|
+
const sunsetMillis = sunset.getTime();
|
|
10337
|
+
if (isNaN(sunsetMillis)) {
|
|
10338
|
+
return hd;
|
|
10339
|
+
}
|
|
10340
|
+
if (date.getTime() >= sunsetMillis) {
|
|
10341
|
+
hd = hd.next();
|
|
10342
|
+
}
|
|
10343
|
+
return hd;
|
|
10344
|
+
}
|
|
9742
10345
|
}
|
|
9743
10346
|
|
|
9744
10347
|
const hour12cc = {
|
|
@@ -10839,11 +11442,11 @@ const Kislev = months.KISLEV;
|
|
|
10839
11442
|
const Shvat = months.SHVAT;
|
|
10840
11443
|
const Adar2 = months.ADAR_II;
|
|
10841
11444
|
const CHAG$1 = flags.CHAG;
|
|
10842
|
-
const LIGHT_CANDLES$
|
|
11445
|
+
const LIGHT_CANDLES$2 = flags.LIGHT_CANDLES;
|
|
10843
11446
|
const YOM_TOV_ENDS$1 = flags.YOM_TOV_ENDS;
|
|
10844
11447
|
const CHUL_ONLY$1 = flags.CHUL_ONLY;
|
|
10845
11448
|
const IL_ONLY$2 = flags.IL_ONLY;
|
|
10846
|
-
const LIGHT_CANDLES_TZEIS$
|
|
11449
|
+
const LIGHT_CANDLES_TZEIS$3 = flags.LIGHT_CANDLES_TZEIS;
|
|
10847
11450
|
const CHANUKAH_CANDLES$2 = flags.CHANUKAH_CANDLES;
|
|
10848
11451
|
const MAJOR_FAST$2 = flags.MAJOR_FAST;
|
|
10849
11452
|
const MINOR_HOLIDAY$2 = flags.MINOR_HOLIDAY;
|
|
@@ -11062,7 +11665,7 @@ const staticHolidays = [
|
|
|
11062
11665
|
flags: CHAG$1 | YOM_TOV_ENDS$1,
|
|
11063
11666
|
emoji: '🍏🍯',
|
|
11064
11667
|
},
|
|
11065
|
-
{ 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 },
|
|
11066
11669
|
{
|
|
11067
11670
|
mm: Tishrei,
|
|
11068
11671
|
dd: 10,
|
|
@@ -11073,14 +11676,14 @@ const staticHolidays = [
|
|
|
11073
11676
|
mm: Tishrei,
|
|
11074
11677
|
dd: 14,
|
|
11075
11678
|
desc: EREV_SUKKOT,
|
|
11076
|
-
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$
|
|
11679
|
+
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$2,
|
|
11077
11680
|
emoji: emojiSukkot,
|
|
11078
11681
|
},
|
|
11079
11682
|
{
|
|
11080
11683
|
mm: Tishrei,
|
|
11081
11684
|
dd: 15,
|
|
11082
11685
|
desc: SUKKOT_I,
|
|
11083
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11686
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11084
11687
|
emoji: emojiSukkot,
|
|
11085
11688
|
},
|
|
11086
11689
|
{
|
|
@@ -11126,7 +11729,7 @@ const staticHolidays = [
|
|
|
11126
11729
|
mm: Tishrei,
|
|
11127
11730
|
dd: 22,
|
|
11128
11731
|
desc: SHMINI_ATZERET,
|
|
11129
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11732
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11130
11733
|
},
|
|
11131
11734
|
{
|
|
11132
11735
|
mm: Tishrei,
|
|
@@ -11138,7 +11741,7 @@ const staticHolidays = [
|
|
|
11138
11741
|
mm: Tishrei,
|
|
11139
11742
|
dd: 14,
|
|
11140
11743
|
desc: EREV_SUKKOT,
|
|
11141
|
-
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$
|
|
11744
|
+
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$2,
|
|
11142
11745
|
emoji: emojiSukkot,
|
|
11143
11746
|
},
|
|
11144
11747
|
{
|
|
@@ -11198,7 +11801,7 @@ const staticHolidays = [
|
|
|
11198
11801
|
mm: Tishrei,
|
|
11199
11802
|
dd: 21,
|
|
11200
11803
|
desc: SUKKOT_VII_HOSHANA_RABA,
|
|
11201
|
-
flags: LIGHT_CANDLES$
|
|
11804
|
+
flags: LIGHT_CANDLES$2 | CHOL_HAMOED$1,
|
|
11202
11805
|
chmDay: -1,
|
|
11203
11806
|
emoji: emojiSukkot,
|
|
11204
11807
|
},
|
|
@@ -11230,7 +11833,7 @@ const staticHolidays = [
|
|
|
11230
11833
|
mm: Nisan,
|
|
11231
11834
|
dd: 14,
|
|
11232
11835
|
desc: EREV_PESACH,
|
|
11233
|
-
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$
|
|
11836
|
+
flags: IL_ONLY$2 | EREV$2 | LIGHT_CANDLES$2,
|
|
11234
11837
|
emoji: '🫓🍷',
|
|
11235
11838
|
},
|
|
11236
11839
|
{
|
|
@@ -11276,7 +11879,7 @@ const staticHolidays = [
|
|
|
11276
11879
|
mm: Nisan,
|
|
11277
11880
|
dd: 20,
|
|
11278
11881
|
desc: PESACH_VI_CHM,
|
|
11279
|
-
flags: IL_ONLY$2 | CHOL_HAMOED$1 | LIGHT_CANDLES$
|
|
11882
|
+
flags: IL_ONLY$2 | CHOL_HAMOED$1 | LIGHT_CANDLES$2,
|
|
11280
11883
|
chmDay: 5,
|
|
11281
11884
|
emoji: emojiPesach,
|
|
11282
11885
|
},
|
|
@@ -11292,14 +11895,14 @@ const staticHolidays = [
|
|
|
11292
11895
|
mm: Nisan,
|
|
11293
11896
|
dd: 14,
|
|
11294
11897
|
desc: EREV_PESACH,
|
|
11295
|
-
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$
|
|
11898
|
+
flags: CHUL_ONLY$1 | EREV$2 | LIGHT_CANDLES$2,
|
|
11296
11899
|
emoji: '🫓🍷',
|
|
11297
11900
|
},
|
|
11298
11901
|
{
|
|
11299
11902
|
mm: Nisan,
|
|
11300
11903
|
dd: 15,
|
|
11301
11904
|
desc: PESACH_I,
|
|
11302
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11905
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11303
11906
|
emoji: '🫓🍷',
|
|
11304
11907
|
},
|
|
11305
11908
|
{
|
|
@@ -11337,7 +11940,7 @@ const staticHolidays = [
|
|
|
11337
11940
|
mm: Nisan,
|
|
11338
11941
|
dd: 20,
|
|
11339
11942
|
desc: PESACH_VI_CHM,
|
|
11340
|
-
flags: CHUL_ONLY$1 | CHOL_HAMOED$1 | LIGHT_CANDLES$
|
|
11943
|
+
flags: CHUL_ONLY$1 | CHOL_HAMOED$1 | LIGHT_CANDLES$2,
|
|
11341
11944
|
chmDay: 4,
|
|
11342
11945
|
emoji: emojiPesach,
|
|
11343
11946
|
},
|
|
@@ -11345,7 +11948,7 @@ const staticHolidays = [
|
|
|
11345
11948
|
mm: Nisan,
|
|
11346
11949
|
dd: 21,
|
|
11347
11950
|
desc: PESACH_VII,
|
|
11348
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11951
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11349
11952
|
emoji: emojiPesach,
|
|
11350
11953
|
},
|
|
11351
11954
|
{
|
|
@@ -11361,7 +11964,7 @@ const staticHolidays = [
|
|
|
11361
11964
|
mm: Sivan,
|
|
11362
11965
|
dd: 5,
|
|
11363
11966
|
desc: EREV_SHAVUOT,
|
|
11364
|
-
flags: EREV$2 | LIGHT_CANDLES$
|
|
11967
|
+
flags: EREV$2 | LIGHT_CANDLES$2,
|
|
11365
11968
|
emoji: '⛰️🌸',
|
|
11366
11969
|
},
|
|
11367
11970
|
{
|
|
@@ -11375,7 +11978,7 @@ const staticHolidays = [
|
|
|
11375
11978
|
mm: Sivan,
|
|
11376
11979
|
dd: 6,
|
|
11377
11980
|
desc: SHAVUOT_I,
|
|
11378
|
-
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$
|
|
11981
|
+
flags: CHUL_ONLY$1 | CHAG$1 | LIGHT_CANDLES_TZEIS$3,
|
|
11379
11982
|
emoji: '⛰️🌸',
|
|
11380
11983
|
},
|
|
11381
11984
|
{
|
|
@@ -11397,7 +12000,7 @@ const staticHolidays = [
|
|
|
11397
12000
|
mm: Elul,
|
|
11398
12001
|
dd: 29,
|
|
11399
12002
|
desc: EREV_ROSH_HASHANA,
|
|
11400
|
-
flags: EREV$2 | LIGHT_CANDLES$
|
|
12003
|
+
flags: EREV$2 | LIGHT_CANDLES$2,
|
|
11401
12004
|
emoji: '🍏🍯',
|
|
11402
12005
|
},
|
|
11403
12006
|
];
|
|
@@ -11684,20 +12287,22 @@ class DailyLearning {
|
|
|
11684
12287
|
}
|
|
11685
12288
|
|
|
11686
12289
|
/** DO NOT EDIT THIS AUTO-GENERATED FILE! */
|
|
11687
|
-
const version = '5.
|
|
12290
|
+
const version = '5.5.1';
|
|
11688
12291
|
|
|
11689
12292
|
/* eslint-disable max-len */
|
|
12293
|
+
const LIGHT_CANDLES$1 = flags.LIGHT_CANDLES;
|
|
12294
|
+
const LIGHT_CANDLES_TZEIS$2 = flags.LIGHT_CANDLES_TZEIS;
|
|
11690
12295
|
/**
|
|
11691
12296
|
* @private
|
|
11692
12297
|
*/
|
|
11693
12298
|
function makeCandleEvent(ev, hd, options, isFriday, isSaturday) {
|
|
11694
12299
|
let havdalahTitle = false;
|
|
11695
12300
|
let useHavdalahOffset = isSaturday;
|
|
11696
|
-
let mask = ev ? ev.getFlags() :
|
|
12301
|
+
let mask = ev ? ev.getFlags() : LIGHT_CANDLES$1;
|
|
11697
12302
|
if (typeof ev !== 'undefined') {
|
|
11698
12303
|
// if linked event && dow == FRI, use Candle lighting time & title
|
|
11699
12304
|
if (!isFriday) {
|
|
11700
|
-
if (mask & (
|
|
12305
|
+
if (mask & (LIGHT_CANDLES_TZEIS$2 | flags.CHANUKAH_CANDLES)) {
|
|
11701
12306
|
useHavdalahOffset = true;
|
|
11702
12307
|
}
|
|
11703
12308
|
else if (mask & flags.YOM_TOV_ENDS) {
|
|
@@ -11708,7 +12313,7 @@ function makeCandleEvent(ev, hd, options, isFriday, isSaturday) {
|
|
|
11708
12313
|
}
|
|
11709
12314
|
else if (isSaturday) {
|
|
11710
12315
|
havdalahTitle = true;
|
|
11711
|
-
mask =
|
|
12316
|
+
mask = LIGHT_CANDLES_TZEIS$2;
|
|
11712
12317
|
}
|
|
11713
12318
|
// if offset is 0 or undefined, we'll use tzeit time
|
|
11714
12319
|
const offset = useHavdalahOffset
|
|
@@ -11727,6 +12332,7 @@ function makeCandleEvent(ev, hd, options, isFriday, isSaturday) {
|
|
|
11727
12332
|
return new HavdalahEvent(hd, mask, time, location, options.havdalahMins, ev, options);
|
|
11728
12333
|
}
|
|
11729
12334
|
else {
|
|
12335
|
+
mask |= LIGHT_CANDLES$1;
|
|
11730
12336
|
return new CandleLightingEvent(hd, mask, time, location, ev, options);
|
|
11731
12337
|
}
|
|
11732
12338
|
}
|