@hebcal/core 3.37.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1242 -1014
- package/dist/bundle.min.js +2 -2
- package/dist/hdate-bundle.js +451 -305
- package/dist/hdate-bundle.min.js +2 -2
- package/dist/hdate.js +474 -302
- package/dist/hdate.mjs +474 -302
- package/dist/hdate0-bundle.js +472 -0
- package/dist/hdate0-bundle.min.js +2 -0
- package/dist/index.js +458 -307
- package/dist/index.mjs +478 -307
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/core v3.
|
|
1
|
+
/*! @hebcal/core v3.38.0 */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -210,746 +210,371 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
|
|
214
|
-
Hebcal - A Jewish Calendar Generator
|
|
215
|
-
Copyright (c) 1994-2020 Danny Sadinoff
|
|
216
|
-
Portions copyright Eyal Schachter and Michael J. Radwin
|
|
217
|
-
|
|
218
|
-
https://github.com/hebcal/hebcal-es6
|
|
213
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
219
214
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
of the License, or (at your option) any later version.
|
|
215
|
+
var check = function (it) {
|
|
216
|
+
return it && it.Math == Math && it;
|
|
217
|
+
};
|
|
224
218
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
219
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
220
|
+
var global$s =
|
|
221
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
222
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
223
|
+
check(typeof window == 'object' && window) ||
|
|
224
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
225
|
+
check(typeof self == 'object' && self) ||
|
|
226
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
227
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
228
|
+
(function () { return this; })() || Function('return this')();
|
|
229
229
|
|
|
230
|
-
|
|
231
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
232
|
-
*/
|
|
233
|
-
var monthLengths = [[0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], [0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]];
|
|
234
|
-
/**
|
|
235
|
-
* @private
|
|
236
|
-
* @param {number} x
|
|
237
|
-
* @param {number} y
|
|
238
|
-
* @return {number}
|
|
239
|
-
*/
|
|
230
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
240
231
|
|
|
241
|
-
function
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
* @return {number}
|
|
249
|
-
*/
|
|
232
|
+
var fails$d = function (exec) {
|
|
233
|
+
try {
|
|
234
|
+
return !!exec();
|
|
235
|
+
} catch (error) {
|
|
236
|
+
return true;
|
|
237
|
+
}
|
|
238
|
+
};
|
|
250
239
|
|
|
251
|
-
|
|
252
|
-
return Math.floor(x / y);
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* Gregorian date helper functions.
|
|
256
|
-
*/
|
|
240
|
+
var fails$c = fails$d;
|
|
257
241
|
|
|
242
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
243
|
+
var descriptors = !fails$c(function () {
|
|
244
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
245
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
246
|
+
});
|
|
258
247
|
|
|
259
|
-
var
|
|
260
|
-
function greg() {
|
|
261
|
-
_classCallCheck(this, greg);
|
|
262
|
-
}
|
|
248
|
+
var fails$b = fails$d;
|
|
263
249
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
* @type {string[]}
|
|
271
|
-
*/
|
|
250
|
+
var functionBindNative = !fails$b(function () {
|
|
251
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
252
|
+
var test = (function () { /* empty */ }).bind();
|
|
253
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
254
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
255
|
+
});
|
|
272
256
|
|
|
273
|
-
|
|
274
|
-
* Returns true if the Gregorian year is a leap year
|
|
275
|
-
* @param {number} year Gregorian year
|
|
276
|
-
* @return {boolean}
|
|
277
|
-
*/
|
|
278
|
-
function isLeapYear(year) {
|
|
279
|
-
return !(year % 4) && (!!(year % 100) || !(year % 400));
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* Number of days in the Gregorian month for given year
|
|
283
|
-
* @param {number} month Gregorian month (1=January, 12=December)
|
|
284
|
-
* @param {number} year Gregorian year
|
|
285
|
-
* @return {number}
|
|
286
|
-
*/
|
|
257
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
287
258
|
|
|
288
|
-
|
|
289
|
-
key: "daysInMonth",
|
|
290
|
-
value: function daysInMonth(month, year) {
|
|
291
|
-
// 1 based months
|
|
292
|
-
return monthLengths[+this.isLeapYear(year)][month];
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Returns true if the object is a Javascript Date
|
|
296
|
-
* @param {Object} obj
|
|
297
|
-
* @return {boolean}
|
|
298
|
-
*/
|
|
259
|
+
var call$7 = Function.prototype.call;
|
|
299
260
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
return _typeof(obj) === 'object' && Date.prototype === obj.__proto__;
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* Returns number of days since January 1 of that year
|
|
307
|
-
* @param {Date} date Gregorian date
|
|
308
|
-
* @return {number}
|
|
309
|
-
*/
|
|
261
|
+
var functionCall = NATIVE_BIND$2 ? call$7.bind(call$7) : function () {
|
|
262
|
+
return call$7.apply(call$7, arguments);
|
|
263
|
+
};
|
|
310
264
|
|
|
311
|
-
|
|
312
|
-
key: "dayOfYear",
|
|
313
|
-
value: function dayOfYear(date) {
|
|
314
|
-
if (!this.isDate(date)) {
|
|
315
|
-
throw new TypeError('Argument to greg.dayOfYear not a Date');
|
|
316
|
-
}
|
|
265
|
+
var objectPropertyIsEnumerable = {};
|
|
317
266
|
|
|
318
|
-
|
|
267
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
268
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
269
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
319
270
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
doy -= Math.floor((4 * (date.getMonth() + 1) + 23) / 10);
|
|
271
|
+
// Nashorn ~ JDK8 bug
|
|
272
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
323
273
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
274
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
275
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
276
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
277
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
278
|
+
return !!descriptor && descriptor.enumerable;
|
|
279
|
+
} : $propertyIsEnumerable;
|
|
328
280
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
281
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
282
|
+
return {
|
|
283
|
+
enumerable: !(bitmap & 1),
|
|
284
|
+
configurable: !(bitmap & 2),
|
|
285
|
+
writable: !(bitmap & 4),
|
|
286
|
+
value: value
|
|
287
|
+
};
|
|
288
|
+
};
|
|
336
289
|
|
|
337
|
-
|
|
338
|
-
key: "greg2abs",
|
|
339
|
-
value: function greg2abs(date) {
|
|
340
|
-
if (!this.isDate(date)) {
|
|
341
|
-
throw new TypeError('Argument to greg.greg2abs not a Date');
|
|
342
|
-
}
|
|
290
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
343
291
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
Math.floor(year / 100) + // - century years
|
|
349
|
-
Math.floor(year / 400)); // + Gregorian leap years
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* @private
|
|
353
|
-
* @param {number} theDate - R.D. number of days
|
|
354
|
-
* @return {number}
|
|
355
|
-
*/
|
|
292
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
293
|
+
var bind$2 = FunctionPrototype$1.bind;
|
|
294
|
+
var call$6 = FunctionPrototype$1.call;
|
|
295
|
+
var uncurryThis$f = NATIVE_BIND$1 && bind$2.bind(call$6, call$6);
|
|
356
296
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
var d2 = mod(d1, 36524);
|
|
365
|
-
var n4 = quotient(d2, 1461);
|
|
366
|
-
var d3 = mod(d2, 1461);
|
|
367
|
-
var n1 = quotient(d3, 365);
|
|
368
|
-
var year = 400 * n400 + 100 * n100 + 4 * n4 + n1;
|
|
369
|
-
return n100 != 4 && n1 != 4 ? year + 1 : year;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* @private
|
|
373
|
-
* @param {number} year
|
|
374
|
-
* @param {number} month
|
|
375
|
-
* @param {number} day
|
|
376
|
-
* @return {number}
|
|
377
|
-
*/
|
|
297
|
+
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
298
|
+
return fn && uncurryThis$f(fn);
|
|
299
|
+
} : function (fn) {
|
|
300
|
+
return fn && function () {
|
|
301
|
+
return call$6.apply(fn, arguments);
|
|
302
|
+
};
|
|
303
|
+
};
|
|
378
304
|
|
|
379
|
-
|
|
380
|
-
key: "toFixed",
|
|
381
|
-
value: function toFixed(year, month, day) {
|
|
382
|
-
var py = year - 1;
|
|
383
|
-
return 0 + 365 * py + quotient(py, 4) - quotient(py, 100) + quotient(py, 400) + quotient(367 * month - 362, 12) + Math.floor(month <= 2 ? 0 : this.isLeapYear(year) ? -1 : -2) + day;
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* Converts from Rata Die (R.D. number) to Gregorian date.
|
|
387
|
-
* See the footnote on page 384 of ``Calendrical Calculations, Part II:
|
|
388
|
-
* Three Historical Calendars'' by E. M. Reingold, N. Dershowitz, and S. M.
|
|
389
|
-
* Clamen, Software--Practice and Experience, Volume 23, Number 4
|
|
390
|
-
* (April, 1993), pages 383-404 for an explanation.
|
|
391
|
-
* @param {number} theDate - R.D. number of days
|
|
392
|
-
* @return {Date}
|
|
393
|
-
*/
|
|
305
|
+
var uncurryThis$e = functionUncurryThis;
|
|
394
306
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
value: function abs2greg(theDate) {
|
|
398
|
-
if (typeof theDate !== 'number') {
|
|
399
|
-
throw new TypeError('Argument to greg.abs2greg not a Number');
|
|
400
|
-
}
|
|
307
|
+
var toString$4 = uncurryThis$e({}.toString);
|
|
308
|
+
var stringSlice = uncurryThis$e(''.slice);
|
|
401
309
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
var correction = theDate < this.toFixed(year, 3, 1) ? 0 : this.isLeapYear(year) ? 1 : 2;
|
|
406
|
-
var month = quotient(12 * (priorDays + correction) + 373, 367);
|
|
407
|
-
var day = theDate - this.toFixed(year, month, 1) + 1;
|
|
408
|
-
var dt = new Date(year, month - 1, day);
|
|
310
|
+
var classofRaw$1 = function (it) {
|
|
311
|
+
return stringSlice(toString$4(it), 8, -1);
|
|
312
|
+
};
|
|
409
313
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
314
|
+
var global$r = global$s;
|
|
315
|
+
var uncurryThis$d = functionUncurryThis;
|
|
316
|
+
var fails$a = fails$d;
|
|
317
|
+
var classof$5 = classofRaw$1;
|
|
413
318
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}]);
|
|
319
|
+
var Object$4 = global$r.Object;
|
|
320
|
+
var split = uncurryThis$d(''.split);
|
|
417
321
|
|
|
418
|
-
|
|
419
|
-
|
|
322
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
323
|
+
var indexedObject = fails$a(function () {
|
|
324
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
325
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
326
|
+
return !Object$4('z').propertyIsEnumerable(0);
|
|
327
|
+
}) ? function (it) {
|
|
328
|
+
return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
|
|
329
|
+
} : Object$4;
|
|
420
330
|
|
|
421
|
-
|
|
331
|
+
var global$q = global$s;
|
|
422
332
|
|
|
423
|
-
var
|
|
424
|
-
var GERSHAYIM = '״';
|
|
425
|
-
/**
|
|
426
|
-
* @private
|
|
427
|
-
* @param {number} num
|
|
428
|
-
* @return {string}
|
|
429
|
-
*/
|
|
333
|
+
var TypeError$8 = global$q.TypeError;
|
|
430
334
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
335
|
+
// `RequireObjectCoercible` abstract operation
|
|
336
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
337
|
+
var requireObjectCoercible$3 = function (it) {
|
|
338
|
+
if (it == undefined) throw TypeError$8("Can't call method on " + it);
|
|
339
|
+
return it;
|
|
340
|
+
};
|
|
435
341
|
|
|
436
|
-
|
|
437
|
-
|
|
342
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
343
|
+
var IndexedObject = indexedObject;
|
|
344
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
438
345
|
|
|
439
|
-
|
|
440
|
-
|
|
346
|
+
var toIndexedObject$4 = function (it) {
|
|
347
|
+
return IndexedObject(requireObjectCoercible$2(it));
|
|
348
|
+
};
|
|
441
349
|
|
|
442
|
-
|
|
443
|
-
|
|
350
|
+
// `IsCallable` abstract operation
|
|
351
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
352
|
+
var isCallable$c = function (argument) {
|
|
353
|
+
return typeof argument == 'function';
|
|
354
|
+
};
|
|
444
355
|
|
|
445
|
-
|
|
446
|
-
return 'ה';
|
|
356
|
+
var isCallable$b = isCallable$c;
|
|
447
357
|
|
|
448
|
-
|
|
449
|
-
|
|
358
|
+
var isObject$6 = function (it) {
|
|
359
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
360
|
+
};
|
|
450
361
|
|
|
451
|
-
|
|
452
|
-
|
|
362
|
+
var global$p = global$s;
|
|
363
|
+
var isCallable$a = isCallable$c;
|
|
453
364
|
|
|
454
|
-
|
|
455
|
-
|
|
365
|
+
var aFunction = function (argument) {
|
|
366
|
+
return isCallable$a(argument) ? argument : undefined;
|
|
367
|
+
};
|
|
456
368
|
|
|
457
|
-
|
|
458
|
-
|
|
369
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
370
|
+
return arguments.length < 2 ? aFunction(global$p[namespace]) : global$p[namespace] && global$p[namespace][method];
|
|
371
|
+
};
|
|
459
372
|
|
|
460
|
-
|
|
461
|
-
return 'י';
|
|
373
|
+
var uncurryThis$c = functionUncurryThis;
|
|
462
374
|
|
|
463
|
-
|
|
464
|
-
return 'כ';
|
|
375
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
465
376
|
|
|
466
|
-
|
|
467
|
-
return 'ל';
|
|
377
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
468
378
|
|
|
469
|
-
|
|
470
|
-
return 'מ';
|
|
379
|
+
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
471
380
|
|
|
472
|
-
|
|
473
|
-
|
|
381
|
+
var global$o = global$s;
|
|
382
|
+
var userAgent$2 = engineUserAgent;
|
|
474
383
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
case 80:
|
|
482
|
-
return 'פ';
|
|
483
|
-
|
|
484
|
-
case 90:
|
|
485
|
-
return 'צ';
|
|
486
|
-
|
|
487
|
-
case 100:
|
|
488
|
-
return 'ק';
|
|
489
|
-
|
|
490
|
-
case 200:
|
|
491
|
-
return 'ר';
|
|
492
|
-
|
|
493
|
-
case 300:
|
|
494
|
-
return 'ש';
|
|
384
|
+
var process = global$o.process;
|
|
385
|
+
var Deno = global$o.Deno;
|
|
386
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
387
|
+
var v8 = versions && versions.v8;
|
|
388
|
+
var match, version$1;
|
|
495
389
|
|
|
496
|
-
|
|
497
|
-
|
|
390
|
+
if (v8) {
|
|
391
|
+
match = v8.split('.');
|
|
392
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
393
|
+
// but their correct versions are not interesting for us
|
|
394
|
+
version$1 = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
395
|
+
}
|
|
498
396
|
|
|
499
|
-
|
|
500
|
-
|
|
397
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
398
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
399
|
+
if (!version$1 && userAgent$2) {
|
|
400
|
+
match = userAgent$2.match(/Edge\/(\d+)/);
|
|
401
|
+
if (!match || match[1] >= 74) {
|
|
402
|
+
match = userAgent$2.match(/Chrome\/(\d+)/);
|
|
403
|
+
if (match) version$1 = +match[1];
|
|
501
404
|
}
|
|
502
405
|
}
|
|
503
|
-
/**
|
|
504
|
-
* @private
|
|
505
|
-
* @param {number} num
|
|
506
|
-
* @return {number[]}
|
|
507
|
-
*/
|
|
508
406
|
|
|
407
|
+
var engineV8Version = version$1;
|
|
509
408
|
|
|
510
|
-
|
|
511
|
-
var digits = [];
|
|
512
|
-
|
|
513
|
-
while (num > 0) {
|
|
514
|
-
if (num === 15 || num === 16) {
|
|
515
|
-
digits.push(9);
|
|
516
|
-
digits.push(num - 9);
|
|
517
|
-
break;
|
|
518
|
-
}
|
|
409
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
519
410
|
|
|
520
|
-
|
|
521
|
-
|
|
411
|
+
var V8_VERSION$1 = engineV8Version;
|
|
412
|
+
var fails$9 = fails$d;
|
|
522
413
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
414
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
415
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$9(function () {
|
|
416
|
+
var symbol = Symbol();
|
|
417
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
418
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
419
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
420
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
421
|
+
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
|
|
422
|
+
});
|
|
528
423
|
|
|
529
|
-
|
|
530
|
-
num -= i;
|
|
531
|
-
}
|
|
424
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
532
425
|
|
|
533
|
-
|
|
534
|
-
}
|
|
535
|
-
/**
|
|
536
|
-
* Converts a numerical value to a string of Hebrew letters.
|
|
537
|
-
*
|
|
538
|
-
* When specifying years of the Hebrew calendar in the present millennium,
|
|
539
|
-
* we omit the thousands (which is presently 5 [ה]).
|
|
540
|
-
* @example
|
|
541
|
-
* gematriya(5774) // 'תשע״ד' - cropped to 774
|
|
542
|
-
* gematriya(25) // 'כ״ה'
|
|
543
|
-
* gematriya(60) // 'ס׳'
|
|
544
|
-
* gematriya(3761) // 'ג׳תשס״א'
|
|
545
|
-
* gematriya(1123) // 'א׳קכ״ג'
|
|
546
|
-
* @param {number} number
|
|
547
|
-
* @return {string}
|
|
548
|
-
*/
|
|
426
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
549
427
|
|
|
428
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
429
|
+
&& !Symbol.sham
|
|
430
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
550
431
|
|
|
551
|
-
|
|
552
|
-
|
|
432
|
+
var global$n = global$s;
|
|
433
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
434
|
+
var isCallable$9 = isCallable$c;
|
|
435
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
436
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
553
437
|
|
|
554
|
-
|
|
555
|
-
throw new TypeError("invalid parameter to gematriya ".concat(number));
|
|
556
|
-
}
|
|
438
|
+
var Object$3 = global$n.Object;
|
|
557
439
|
|
|
558
|
-
|
|
559
|
-
|
|
440
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
441
|
+
return typeof it == 'symbol';
|
|
442
|
+
} : function (it) {
|
|
443
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
|
444
|
+
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
445
|
+
};
|
|
560
446
|
|
|
561
|
-
|
|
562
|
-
var tdigits = num2digits(thousands);
|
|
447
|
+
var global$m = global$s;
|
|
563
448
|
|
|
564
|
-
|
|
565
|
-
str += num2heb(tdigits[i]);
|
|
566
|
-
}
|
|
449
|
+
var String$3 = global$m.String;
|
|
567
450
|
|
|
568
|
-
|
|
451
|
+
var tryToString$2 = function (argument) {
|
|
452
|
+
try {
|
|
453
|
+
return String$3(argument);
|
|
454
|
+
} catch (error) {
|
|
455
|
+
return 'Object';
|
|
569
456
|
}
|
|
457
|
+
};
|
|
570
458
|
|
|
571
|
-
|
|
459
|
+
var global$l = global$s;
|
|
460
|
+
var isCallable$8 = isCallable$c;
|
|
461
|
+
var tryToString$1 = tryToString$2;
|
|
572
462
|
|
|
573
|
-
|
|
574
|
-
return str + num2heb(digits[0]) + GERESH;
|
|
575
|
-
}
|
|
463
|
+
var TypeError$7 = global$l.TypeError;
|
|
576
464
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
465
|
+
// `Assert: IsCallable(argument) is true`
|
|
466
|
+
var aCallable$4 = function (argument) {
|
|
467
|
+
if (isCallable$8(argument)) return argument;
|
|
468
|
+
throw TypeError$7(tryToString$1(argument) + ' is not a function');
|
|
469
|
+
};
|
|
581
470
|
|
|
582
|
-
|
|
583
|
-
}
|
|
471
|
+
var aCallable$3 = aCallable$4;
|
|
584
472
|
|
|
585
|
-
|
|
586
|
-
|
|
473
|
+
// `GetMethod` abstract operation
|
|
474
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
475
|
+
var getMethod$3 = function (V, P) {
|
|
476
|
+
var func = V[P];
|
|
477
|
+
return func == null ? undefined : aCallable$3(func);
|
|
478
|
+
};
|
|
587
479
|
|
|
588
|
-
var
|
|
480
|
+
var global$k = global$s;
|
|
481
|
+
var call$5 = functionCall;
|
|
482
|
+
var isCallable$7 = isCallable$c;
|
|
483
|
+
var isObject$5 = isObject$6;
|
|
589
484
|
|
|
590
|
-
var
|
|
591
|
-
|
|
485
|
+
var TypeError$6 = global$k.TypeError;
|
|
486
|
+
|
|
487
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
488
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
489
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
490
|
+
var fn, val;
|
|
491
|
+
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
|
|
492
|
+
if (isCallable$7(fn = input.valueOf) && !isObject$5(val = call$5(fn, input))) return val;
|
|
493
|
+
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
|
|
494
|
+
throw TypeError$6("Can't convert object to primitive value");
|
|
592
495
|
};
|
|
593
496
|
|
|
594
|
-
|
|
595
|
-
var global$r =
|
|
596
|
-
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
597
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
598
|
-
check(typeof window == 'object' && window) ||
|
|
599
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
600
|
-
check(typeof self == 'object' && self) ||
|
|
601
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
602
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
603
|
-
(function () { return this; })() || Function('return this')();
|
|
497
|
+
var shared$3 = {exports: {}};
|
|
604
498
|
|
|
605
|
-
var
|
|
499
|
+
var global$j = global$s;
|
|
500
|
+
|
|
501
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
502
|
+
var defineProperty$1 = Object.defineProperty;
|
|
606
503
|
|
|
607
|
-
var
|
|
504
|
+
var setGlobal$3 = function (key, value) {
|
|
608
505
|
try {
|
|
609
|
-
|
|
506
|
+
defineProperty$1(global$j, key, { value: value, configurable: true, writable: true });
|
|
610
507
|
} catch (error) {
|
|
611
|
-
|
|
612
|
-
}
|
|
508
|
+
global$j[key] = value;
|
|
509
|
+
} return value;
|
|
613
510
|
};
|
|
614
511
|
|
|
615
|
-
var
|
|
512
|
+
var global$i = global$s;
|
|
513
|
+
var setGlobal$2 = setGlobal$3;
|
|
616
514
|
|
|
617
|
-
|
|
618
|
-
var
|
|
619
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
620
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
621
|
-
});
|
|
515
|
+
var SHARED = '__core-js_shared__';
|
|
516
|
+
var store$3 = global$i[SHARED] || setGlobal$2(SHARED, {});
|
|
622
517
|
|
|
623
|
-
var
|
|
518
|
+
var sharedStore = store$3;
|
|
624
519
|
|
|
625
|
-
var
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
520
|
+
var store$2 = sharedStore;
|
|
521
|
+
|
|
522
|
+
(shared$3.exports = function (key, value) {
|
|
523
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
524
|
+
})('versions', []).push({
|
|
525
|
+
version: '3.22.5',
|
|
526
|
+
mode: 'global',
|
|
527
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
528
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
529
|
+
source: 'https://github.com/zloirock/core-js'
|
|
630
530
|
});
|
|
631
531
|
|
|
632
|
-
var
|
|
532
|
+
var global$h = global$s;
|
|
533
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
633
534
|
|
|
634
|
-
var
|
|
535
|
+
var Object$2 = global$h.Object;
|
|
635
536
|
|
|
636
|
-
|
|
637
|
-
|
|
537
|
+
// `ToObject` abstract operation
|
|
538
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
539
|
+
var toObject$3 = function (argument) {
|
|
540
|
+
return Object$2(requireObjectCoercible$1(argument));
|
|
638
541
|
};
|
|
639
542
|
|
|
640
|
-
var
|
|
641
|
-
|
|
642
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
643
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
644
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
645
|
-
|
|
646
|
-
// Nashorn ~ JDK8 bug
|
|
647
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
543
|
+
var uncurryThis$b = functionUncurryThis;
|
|
544
|
+
var toObject$2 = toObject$3;
|
|
648
545
|
|
|
649
|
-
|
|
650
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
651
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
652
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
653
|
-
return !!descriptor && descriptor.enumerable;
|
|
654
|
-
} : $propertyIsEnumerable;
|
|
546
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
655
547
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
value: value
|
|
662
|
-
};
|
|
548
|
+
// `HasOwnProperty` abstract operation
|
|
549
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
550
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
551
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
552
|
+
return hasOwnProperty(toObject$2(it), key);
|
|
663
553
|
};
|
|
664
554
|
|
|
665
|
-
var
|
|
555
|
+
var uncurryThis$a = functionUncurryThis;
|
|
666
556
|
|
|
667
|
-
var
|
|
668
|
-
var
|
|
669
|
-
var
|
|
670
|
-
var uncurryThis$e = NATIVE_BIND$1 && bind$2.bind(call$6, call$6);
|
|
557
|
+
var id$1 = 0;
|
|
558
|
+
var postfix = Math.random();
|
|
559
|
+
var toString$3 = uncurryThis$a(1.0.toString);
|
|
671
560
|
|
|
672
|
-
var
|
|
673
|
-
return
|
|
674
|
-
} : function (fn) {
|
|
675
|
-
return fn && function () {
|
|
676
|
-
return call$6.apply(fn, arguments);
|
|
677
|
-
};
|
|
561
|
+
var uid$2 = function (key) {
|
|
562
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id$1 + postfix, 36);
|
|
678
563
|
};
|
|
679
564
|
|
|
680
|
-
var
|
|
681
|
-
|
|
682
|
-
var
|
|
683
|
-
var
|
|
684
|
-
|
|
685
|
-
var
|
|
686
|
-
return stringSlice(toString$4(it), 8, -1);
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
var global$q = global$r;
|
|
690
|
-
var uncurryThis$c = functionUncurryThis;
|
|
691
|
-
var fails$9 = fails$c;
|
|
692
|
-
var classof$4 = classofRaw$1;
|
|
693
|
-
|
|
694
|
-
var Object$4 = global$q.Object;
|
|
695
|
-
var split = uncurryThis$c(''.split);
|
|
696
|
-
|
|
697
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
698
|
-
var indexedObject = fails$9(function () {
|
|
699
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
700
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
701
|
-
return !Object$4('z').propertyIsEnumerable(0);
|
|
702
|
-
}) ? function (it) {
|
|
703
|
-
return classof$4(it) == 'String' ? split(it, '') : Object$4(it);
|
|
704
|
-
} : Object$4;
|
|
705
|
-
|
|
706
|
-
var global$p = global$r;
|
|
707
|
-
|
|
708
|
-
var TypeError$8 = global$p.TypeError;
|
|
709
|
-
|
|
710
|
-
// `RequireObjectCoercible` abstract operation
|
|
711
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
712
|
-
var requireObjectCoercible$3 = function (it) {
|
|
713
|
-
if (it == undefined) throw TypeError$8("Can't call method on " + it);
|
|
714
|
-
return it;
|
|
715
|
-
};
|
|
716
|
-
|
|
717
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
718
|
-
var IndexedObject = indexedObject;
|
|
719
|
-
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
720
|
-
|
|
721
|
-
var toIndexedObject$3 = function (it) {
|
|
722
|
-
return IndexedObject(requireObjectCoercible$2(it));
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
// `IsCallable` abstract operation
|
|
726
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
727
|
-
var isCallable$c = function (argument) {
|
|
728
|
-
return typeof argument == 'function';
|
|
729
|
-
};
|
|
730
|
-
|
|
731
|
-
var isCallable$b = isCallable$c;
|
|
732
|
-
|
|
733
|
-
var isObject$5 = function (it) {
|
|
734
|
-
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
var global$o = global$r;
|
|
738
|
-
var isCallable$a = isCallable$c;
|
|
739
|
-
|
|
740
|
-
var aFunction = function (argument) {
|
|
741
|
-
return isCallable$a(argument) ? argument : undefined;
|
|
742
|
-
};
|
|
743
|
-
|
|
744
|
-
var getBuiltIn$4 = function (namespace, method) {
|
|
745
|
-
return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
|
|
746
|
-
};
|
|
747
|
-
|
|
748
|
-
var uncurryThis$b = functionUncurryThis;
|
|
749
|
-
|
|
750
|
-
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
751
|
-
|
|
752
|
-
var getBuiltIn$3 = getBuiltIn$4;
|
|
753
|
-
|
|
754
|
-
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
755
|
-
|
|
756
|
-
var global$n = global$r;
|
|
757
|
-
var userAgent$2 = engineUserAgent;
|
|
758
|
-
|
|
759
|
-
var process = global$n.process;
|
|
760
|
-
var Deno = global$n.Deno;
|
|
761
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
762
|
-
var v8 = versions && versions.v8;
|
|
763
|
-
var match, version$1;
|
|
764
|
-
|
|
765
|
-
if (v8) {
|
|
766
|
-
match = v8.split('.');
|
|
767
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
768
|
-
// but their correct versions are not interesting for us
|
|
769
|
-
version$1 = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
773
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
|
774
|
-
if (!version$1 && userAgent$2) {
|
|
775
|
-
match = userAgent$2.match(/Edge\/(\d+)/);
|
|
776
|
-
if (!match || match[1] >= 74) {
|
|
777
|
-
match = userAgent$2.match(/Chrome\/(\d+)/);
|
|
778
|
-
if (match) version$1 = +match[1];
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
var engineV8Version = version$1;
|
|
783
|
-
|
|
784
|
-
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
785
|
-
|
|
786
|
-
var V8_VERSION = engineV8Version;
|
|
787
|
-
var fails$8 = fails$c;
|
|
788
|
-
|
|
789
|
-
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
790
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
|
|
791
|
-
var symbol = Symbol();
|
|
792
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
793
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
794
|
-
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
795
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
796
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
797
|
-
});
|
|
798
|
-
|
|
799
|
-
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
800
|
-
|
|
801
|
-
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
802
|
-
|
|
803
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
804
|
-
&& !Symbol.sham
|
|
805
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
806
|
-
|
|
807
|
-
var global$m = global$r;
|
|
808
|
-
var getBuiltIn$2 = getBuiltIn$4;
|
|
809
|
-
var isCallable$9 = isCallable$c;
|
|
810
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
811
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
812
|
-
|
|
813
|
-
var Object$3 = global$m.Object;
|
|
814
|
-
|
|
815
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
816
|
-
return typeof it == 'symbol';
|
|
817
|
-
} : function (it) {
|
|
818
|
-
var $Symbol = getBuiltIn$2('Symbol');
|
|
819
|
-
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
820
|
-
};
|
|
821
|
-
|
|
822
|
-
var global$l = global$r;
|
|
823
|
-
|
|
824
|
-
var String$3 = global$l.String;
|
|
825
|
-
|
|
826
|
-
var tryToString$2 = function (argument) {
|
|
827
|
-
try {
|
|
828
|
-
return String$3(argument);
|
|
829
|
-
} catch (error) {
|
|
830
|
-
return 'Object';
|
|
831
|
-
}
|
|
832
|
-
};
|
|
833
|
-
|
|
834
|
-
var global$k = global$r;
|
|
835
|
-
var isCallable$8 = isCallable$c;
|
|
836
|
-
var tryToString$1 = tryToString$2;
|
|
837
|
-
|
|
838
|
-
var TypeError$7 = global$k.TypeError;
|
|
839
|
-
|
|
840
|
-
// `Assert: IsCallable(argument) is true`
|
|
841
|
-
var aCallable$4 = function (argument) {
|
|
842
|
-
if (isCallable$8(argument)) return argument;
|
|
843
|
-
throw TypeError$7(tryToString$1(argument) + ' is not a function');
|
|
844
|
-
};
|
|
845
|
-
|
|
846
|
-
var aCallable$3 = aCallable$4;
|
|
847
|
-
|
|
848
|
-
// `GetMethod` abstract operation
|
|
849
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
850
|
-
var getMethod$3 = function (V, P) {
|
|
851
|
-
var func = V[P];
|
|
852
|
-
return func == null ? undefined : aCallable$3(func);
|
|
853
|
-
};
|
|
854
|
-
|
|
855
|
-
var global$j = global$r;
|
|
856
|
-
var call$5 = functionCall;
|
|
857
|
-
var isCallable$7 = isCallable$c;
|
|
858
|
-
var isObject$4 = isObject$5;
|
|
859
|
-
|
|
860
|
-
var TypeError$6 = global$j.TypeError;
|
|
861
|
-
|
|
862
|
-
// `OrdinaryToPrimitive` abstract operation
|
|
863
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
864
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
865
|
-
var fn, val;
|
|
866
|
-
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$5(fn, input))) return val;
|
|
867
|
-
if (isCallable$7(fn = input.valueOf) && !isObject$4(val = call$5(fn, input))) return val;
|
|
868
|
-
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$5(fn, input))) return val;
|
|
869
|
-
throw TypeError$6("Can't convert object to primitive value");
|
|
870
|
-
};
|
|
871
|
-
|
|
872
|
-
var shared$3 = {exports: {}};
|
|
873
|
-
|
|
874
|
-
var global$i = global$r;
|
|
875
|
-
|
|
876
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
877
|
-
var defineProperty$1 = Object.defineProperty;
|
|
878
|
-
|
|
879
|
-
var setGlobal$3 = function (key, value) {
|
|
880
|
-
try {
|
|
881
|
-
defineProperty$1(global$i, key, { value: value, configurable: true, writable: true });
|
|
882
|
-
} catch (error) {
|
|
883
|
-
global$i[key] = value;
|
|
884
|
-
} return value;
|
|
885
|
-
};
|
|
886
|
-
|
|
887
|
-
var global$h = global$r;
|
|
888
|
-
var setGlobal$2 = setGlobal$3;
|
|
889
|
-
|
|
890
|
-
var SHARED = '__core-js_shared__';
|
|
891
|
-
var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
|
|
892
|
-
|
|
893
|
-
var sharedStore = store$3;
|
|
894
|
-
|
|
895
|
-
var store$2 = sharedStore;
|
|
896
|
-
|
|
897
|
-
(shared$3.exports = function (key, value) {
|
|
898
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
899
|
-
})('versions', []).push({
|
|
900
|
-
version: '3.22.5',
|
|
901
|
-
mode: 'global',
|
|
902
|
-
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
903
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
904
|
-
source: 'https://github.com/zloirock/core-js'
|
|
905
|
-
});
|
|
906
|
-
|
|
907
|
-
var global$g = global$r;
|
|
908
|
-
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
909
|
-
|
|
910
|
-
var Object$2 = global$g.Object;
|
|
911
|
-
|
|
912
|
-
// `ToObject` abstract operation
|
|
913
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
914
|
-
var toObject$3 = function (argument) {
|
|
915
|
-
return Object$2(requireObjectCoercible$1(argument));
|
|
916
|
-
};
|
|
917
|
-
|
|
918
|
-
var uncurryThis$a = functionUncurryThis;
|
|
919
|
-
var toObject$2 = toObject$3;
|
|
920
|
-
|
|
921
|
-
var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
|
|
922
|
-
|
|
923
|
-
// `HasOwnProperty` abstract operation
|
|
924
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
925
|
-
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
926
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
927
|
-
return hasOwnProperty(toObject$2(it), key);
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
931
|
-
|
|
932
|
-
var id$1 = 0;
|
|
933
|
-
var postfix = Math.random();
|
|
934
|
-
var toString$3 = uncurryThis$9(1.0.toString);
|
|
935
|
-
|
|
936
|
-
var uid$2 = function (key) {
|
|
937
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id$1 + postfix, 36);
|
|
938
|
-
};
|
|
939
|
-
|
|
940
|
-
var global$f = global$r;
|
|
941
|
-
var shared$2 = shared$3.exports;
|
|
942
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
943
|
-
var uid$1 = uid$2;
|
|
944
|
-
var NATIVE_SYMBOL = nativeSymbol;
|
|
945
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
565
|
+
var global$g = global$s;
|
|
566
|
+
var shared$2 = shared$3.exports;
|
|
567
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
568
|
+
var uid$1 = uid$2;
|
|
569
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
570
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
946
571
|
|
|
947
572
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
948
|
-
var Symbol$1 = global$
|
|
573
|
+
var Symbol$1 = global$g.Symbol;
|
|
949
574
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
950
575
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
951
576
|
|
|
952
|
-
var wellKnownSymbol$
|
|
577
|
+
var wellKnownSymbol$8 = function (name) {
|
|
953
578
|
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
954
579
|
var description = 'Symbol.' + name;
|
|
955
580
|
if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
|
|
@@ -962,27 +587,27 @@ var wellKnownSymbol$6 = function (name) {
|
|
|
962
587
|
} return WellKnownSymbolsStore[name];
|
|
963
588
|
};
|
|
964
589
|
|
|
965
|
-
var global$
|
|
590
|
+
var global$f = global$s;
|
|
966
591
|
var call$4 = functionCall;
|
|
967
|
-
var isObject$
|
|
592
|
+
var isObject$4 = isObject$6;
|
|
968
593
|
var isSymbol$1 = isSymbol$2;
|
|
969
594
|
var getMethod$2 = getMethod$3;
|
|
970
595
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
971
|
-
var wellKnownSymbol$
|
|
596
|
+
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
972
597
|
|
|
973
|
-
var TypeError$5 = global$
|
|
974
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
598
|
+
var TypeError$5 = global$f.TypeError;
|
|
599
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
975
600
|
|
|
976
601
|
// `ToPrimitive` abstract operation
|
|
977
602
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
978
603
|
var toPrimitive$1 = function (input, pref) {
|
|
979
|
-
if (!isObject$
|
|
604
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
980
605
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
981
606
|
var result;
|
|
982
607
|
if (exoticToPrim) {
|
|
983
608
|
if (pref === undefined) pref = 'default';
|
|
984
609
|
result = call$4(exoticToPrim, input, pref);
|
|
985
|
-
if (!isObject$
|
|
610
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
986
611
|
throw TypeError$5("Can't convert object to primitive value");
|
|
987
612
|
}
|
|
988
613
|
if (pref === undefined) pref = 'number';
|
|
@@ -999,23 +624,23 @@ var toPropertyKey$3 = function (argument) {
|
|
|
999
624
|
return isSymbol(key) ? key : key + '';
|
|
1000
625
|
};
|
|
1001
626
|
|
|
1002
|
-
var global$
|
|
1003
|
-
var isObject$
|
|
627
|
+
var global$e = global$s;
|
|
628
|
+
var isObject$3 = isObject$6;
|
|
1004
629
|
|
|
1005
|
-
var document = global$
|
|
630
|
+
var document = global$e.document;
|
|
1006
631
|
// typeof document.createElement is 'object' in old IE
|
|
1007
|
-
var EXISTS$1 = isObject$
|
|
632
|
+
var EXISTS$1 = isObject$3(document) && isObject$3(document.createElement);
|
|
1008
633
|
|
|
1009
634
|
var documentCreateElement = function (it) {
|
|
1010
635
|
return EXISTS$1 ? document.createElement(it) : {};
|
|
1011
636
|
};
|
|
1012
637
|
|
|
1013
638
|
var DESCRIPTORS$6 = descriptors;
|
|
1014
|
-
var fails$
|
|
639
|
+
var fails$8 = fails$d;
|
|
1015
640
|
var createElement = documentCreateElement;
|
|
1016
641
|
|
|
1017
642
|
// Thanks to IE8 for its funny defineProperty
|
|
1018
|
-
var ie8DomDefine = !DESCRIPTORS$6 && !fails$
|
|
643
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$8(function () {
|
|
1019
644
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1020
645
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1021
646
|
get: function () { return 7; }
|
|
@@ -1026,7 +651,7 @@ var DESCRIPTORS$5 = descriptors;
|
|
|
1026
651
|
var call$3 = functionCall;
|
|
1027
652
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1028
653
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
1029
|
-
var toIndexedObject$
|
|
654
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
|
1030
655
|
var toPropertyKey$2 = toPropertyKey$3;
|
|
1031
656
|
var hasOwn$5 = hasOwnProperty_1;
|
|
1032
657
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
@@ -1037,7 +662,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
1037
662
|
// `Object.getOwnPropertyDescriptor` method
|
|
1038
663
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1039
664
|
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
1040
|
-
O = toIndexedObject$
|
|
665
|
+
O = toIndexedObject$3(O);
|
|
1041
666
|
P = toPropertyKey$2(P);
|
|
1042
667
|
if (IE8_DOM_DEFINE$1) try {
|
|
1043
668
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
@@ -1048,11 +673,11 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 :
|
|
|
1048
673
|
var objectDefineProperty = {};
|
|
1049
674
|
|
|
1050
675
|
var DESCRIPTORS$4 = descriptors;
|
|
1051
|
-
var fails$
|
|
676
|
+
var fails$7 = fails$d;
|
|
1052
677
|
|
|
1053
678
|
// V8 ~ Chrome 36-
|
|
1054
679
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1055
|
-
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$
|
|
680
|
+
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$7(function () {
|
|
1056
681
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1057
682
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1058
683
|
value: 42,
|
|
@@ -1060,26 +685,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$6(function () {
|
|
|
1060
685
|
}).prototype != 42;
|
|
1061
686
|
});
|
|
1062
687
|
|
|
1063
|
-
var global$
|
|
1064
|
-
var isObject$
|
|
688
|
+
var global$d = global$s;
|
|
689
|
+
var isObject$2 = isObject$6;
|
|
1065
690
|
|
|
1066
|
-
var String$2 = global$
|
|
1067
|
-
var TypeError$4 = global$
|
|
691
|
+
var String$2 = global$d.String;
|
|
692
|
+
var TypeError$4 = global$d.TypeError;
|
|
1068
693
|
|
|
1069
694
|
// `Assert: Type(argument) is Object`
|
|
1070
695
|
var anObject$5 = function (argument) {
|
|
1071
|
-
if (isObject$
|
|
696
|
+
if (isObject$2(argument)) return argument;
|
|
1072
697
|
throw TypeError$4(String$2(argument) + ' is not an object');
|
|
1073
698
|
};
|
|
1074
699
|
|
|
1075
|
-
var global$
|
|
700
|
+
var global$c = global$s;
|
|
1076
701
|
var DESCRIPTORS$3 = descriptors;
|
|
1077
702
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1078
703
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1079
704
|
var anObject$4 = anObject$5;
|
|
1080
705
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
1081
706
|
|
|
1082
|
-
var TypeError$3 = global$
|
|
707
|
+
var TypeError$3 = global$c.TypeError;
|
|
1083
708
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
1084
709
|
var $defineProperty = Object.defineProperty;
|
|
1085
710
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -1148,11 +773,11 @@ var functionName = {
|
|
|
1148
773
|
CONFIGURABLE: CONFIGURABLE
|
|
1149
774
|
};
|
|
1150
775
|
|
|
1151
|
-
var uncurryThis$
|
|
776
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1152
777
|
var isCallable$6 = isCallable$c;
|
|
1153
778
|
var store$1 = sharedStore;
|
|
1154
779
|
|
|
1155
|
-
var functionToString = uncurryThis$
|
|
780
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
1156
781
|
|
|
1157
782
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1158
783
|
if (!isCallable$6(store$1.inspectSource)) {
|
|
@@ -1163,11 +788,11 @@ if (!isCallable$6(store$1.inspectSource)) {
|
|
|
1163
788
|
|
|
1164
789
|
var inspectSource$3 = store$1.inspectSource;
|
|
1165
790
|
|
|
1166
|
-
var global$
|
|
791
|
+
var global$b = global$s;
|
|
1167
792
|
var isCallable$5 = isCallable$c;
|
|
1168
793
|
var inspectSource$2 = inspectSource$3;
|
|
1169
794
|
|
|
1170
|
-
var WeakMap$1 = global$
|
|
795
|
+
var WeakMap$1 = global$b.WeakMap;
|
|
1171
796
|
|
|
1172
797
|
var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
1173
798
|
|
|
@@ -1183,9 +808,9 @@ var sharedKey$1 = function (key) {
|
|
|
1183
808
|
var hiddenKeys$3 = {};
|
|
1184
809
|
|
|
1185
810
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
1186
|
-
var global$
|
|
1187
|
-
var uncurryThis$
|
|
1188
|
-
var isObject = isObject$
|
|
811
|
+
var global$a = global$s;
|
|
812
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
813
|
+
var isObject$1 = isObject$6;
|
|
1189
814
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
1190
815
|
var hasOwn$3 = hasOwnProperty_1;
|
|
1191
816
|
var shared = sharedStore;
|
|
@@ -1193,8 +818,8 @@ var sharedKey = sharedKey$1;
|
|
|
1193
818
|
var hiddenKeys$2 = hiddenKeys$3;
|
|
1194
819
|
|
|
1195
820
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1196
|
-
var TypeError$2 = global$
|
|
1197
|
-
var WeakMap = global$
|
|
821
|
+
var TypeError$2 = global$a.TypeError;
|
|
822
|
+
var WeakMap = global$a.WeakMap;
|
|
1198
823
|
var set, get, has;
|
|
1199
824
|
|
|
1200
825
|
var enforce = function (it) {
|
|
@@ -1204,7 +829,7 @@ var enforce = function (it) {
|
|
|
1204
829
|
var getterFor = function (TYPE) {
|
|
1205
830
|
return function (it) {
|
|
1206
831
|
var state;
|
|
1207
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
832
|
+
if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
|
|
1208
833
|
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
1209
834
|
} return state;
|
|
1210
835
|
};
|
|
@@ -1212,9 +837,9 @@ var getterFor = function (TYPE) {
|
|
|
1212
837
|
|
|
1213
838
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
1214
839
|
var store = shared.state || (shared.state = new WeakMap());
|
|
1215
|
-
var wmget = uncurryThis$
|
|
1216
|
-
var wmhas = uncurryThis$
|
|
1217
|
-
var wmset = uncurryThis$
|
|
840
|
+
var wmget = uncurryThis$8(store.get);
|
|
841
|
+
var wmhas = uncurryThis$8(store.has);
|
|
842
|
+
var wmset = uncurryThis$8(store.set);
|
|
1218
843
|
set = function (it, metadata) {
|
|
1219
844
|
if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
1220
845
|
metadata.facade = it;
|
|
@@ -1252,7 +877,7 @@ var internalState = {
|
|
|
1252
877
|
getterFor: getterFor
|
|
1253
878
|
};
|
|
1254
879
|
|
|
1255
|
-
var fails$
|
|
880
|
+
var fails$6 = fails$d;
|
|
1256
881
|
var isCallable$4 = isCallable$c;
|
|
1257
882
|
var hasOwn$2 = hasOwnProperty_1;
|
|
1258
883
|
var DESCRIPTORS = descriptors;
|
|
@@ -1265,7 +890,7 @@ var getInternalState = InternalStateModule.get;
|
|
|
1265
890
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
1266
891
|
var defineProperty = Object.defineProperty;
|
|
1267
892
|
|
|
1268
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$
|
|
893
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$6(function () {
|
|
1269
894
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1270
895
|
});
|
|
1271
896
|
|
|
@@ -1300,7 +925,7 @@ Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
|
1300
925
|
return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
|
|
1301
926
|
}, 'toString');
|
|
1302
927
|
|
|
1303
|
-
var global$
|
|
928
|
+
var global$9 = global$s;
|
|
1304
929
|
var isCallable$3 = isCallable$c;
|
|
1305
930
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
1306
931
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
@@ -1312,7 +937,7 @@ var defineBuiltIn$1 = function (O, key, value, options) {
|
|
|
1312
937
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
1313
938
|
var name = options && options.name !== undefined ? options.name : key;
|
|
1314
939
|
if (isCallable$3(value)) makeBuiltIn(value, name, options);
|
|
1315
|
-
if (O === global$
|
|
940
|
+
if (O === global$9) {
|
|
1316
941
|
if (simple) O[key] = value;
|
|
1317
942
|
else setGlobal$1(key, value);
|
|
1318
943
|
return O;
|
|
@@ -1341,15 +966,15 @@ var toIntegerOrInfinity$2 = function (argument) {
|
|
|
1341
966
|
|
|
1342
967
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
1343
968
|
|
|
1344
|
-
var max$
|
|
969
|
+
var max$2 = Math.max;
|
|
1345
970
|
var min$1 = Math.min;
|
|
1346
971
|
|
|
1347
972
|
// Helper for a popular repeating case of the spec:
|
|
1348
973
|
// Let integer be ? ToInteger(index).
|
|
1349
974
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
1350
|
-
var toAbsoluteIndex$
|
|
975
|
+
var toAbsoluteIndex$4 = function (index, length) {
|
|
1351
976
|
var integer = toIntegerOrInfinity$1(index);
|
|
1352
|
-
return integer < 0 ? max$
|
|
977
|
+
return integer < 0 ? max$2(integer + length, 0) : min$1(integer, length);
|
|
1353
978
|
};
|
|
1354
979
|
|
|
1355
980
|
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
@@ -1366,20 +991,20 @@ var toLength = toLength$1;
|
|
|
1366
991
|
|
|
1367
992
|
// `LengthOfArrayLike` abstract operation
|
|
1368
993
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
1369
|
-
var lengthOfArrayLike$
|
|
994
|
+
var lengthOfArrayLike$5 = function (obj) {
|
|
1370
995
|
return toLength(obj.length);
|
|
1371
996
|
};
|
|
1372
997
|
|
|
1373
|
-
var toIndexedObject$
|
|
1374
|
-
var toAbsoluteIndex$
|
|
1375
|
-
var lengthOfArrayLike$
|
|
998
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
|
999
|
+
var toAbsoluteIndex$3 = toAbsoluteIndex$4;
|
|
1000
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$5;
|
|
1376
1001
|
|
|
1377
1002
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1378
1003
|
var createMethod$1 = function (IS_INCLUDES) {
|
|
1379
1004
|
return function ($this, el, fromIndex) {
|
|
1380
|
-
var O = toIndexedObject$
|
|
1381
|
-
var length = lengthOfArrayLike$
|
|
1382
|
-
var index = toAbsoluteIndex$
|
|
1005
|
+
var O = toIndexedObject$2($this);
|
|
1006
|
+
var length = lengthOfArrayLike$4(O);
|
|
1007
|
+
var index = toAbsoluteIndex$3(fromIndex, length);
|
|
1383
1008
|
var value;
|
|
1384
1009
|
// Array#includes uses SameValueZero equality algorithm
|
|
1385
1010
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -1403,16 +1028,16 @@ var arrayIncludes = {
|
|
|
1403
1028
|
indexOf: createMethod$1(false)
|
|
1404
1029
|
};
|
|
1405
1030
|
|
|
1406
|
-
var uncurryThis$
|
|
1031
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1407
1032
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1408
|
-
var toIndexedObject = toIndexedObject$
|
|
1033
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
|
1409
1034
|
var indexOf = arrayIncludes.indexOf;
|
|
1410
1035
|
var hiddenKeys$1 = hiddenKeys$3;
|
|
1411
1036
|
|
|
1412
|
-
var push$1 = uncurryThis$
|
|
1037
|
+
var push$1 = uncurryThis$7([].push);
|
|
1413
1038
|
|
|
1414
1039
|
var objectKeysInternal = function (object, names) {
|
|
1415
|
-
var O = toIndexedObject(object);
|
|
1040
|
+
var O = toIndexedObject$1(object);
|
|
1416
1041
|
var i = 0;
|
|
1417
1042
|
var result = [];
|
|
1418
1043
|
var key;
|
|
@@ -1453,12 +1078,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1453
1078
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1454
1079
|
|
|
1455
1080
|
var getBuiltIn$1 = getBuiltIn$4;
|
|
1456
|
-
var uncurryThis$
|
|
1081
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1457
1082
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1458
1083
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1459
1084
|
var anObject$3 = anObject$5;
|
|
1460
1085
|
|
|
1461
|
-
var concat = uncurryThis$
|
|
1086
|
+
var concat = uncurryThis$6([].concat);
|
|
1462
1087
|
|
|
1463
1088
|
// all object keys, includes non-enumerable and symbols
|
|
1464
1089
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -1484,7 +1109,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1484
1109
|
}
|
|
1485
1110
|
};
|
|
1486
1111
|
|
|
1487
|
-
var fails$
|
|
1112
|
+
var fails$5 = fails$d;
|
|
1488
1113
|
var isCallable$2 = isCallable$c;
|
|
1489
1114
|
|
|
1490
1115
|
var replacement = /#|\.prototype\./;
|
|
@@ -1493,7 +1118,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1493
1118
|
var value = data[normalize(feature)];
|
|
1494
1119
|
return value == POLYFILL ? true
|
|
1495
1120
|
: value == NATIVE ? false
|
|
1496
|
-
: isCallable$2(detection) ? fails$
|
|
1121
|
+
: isCallable$2(detection) ? fails$5(detection)
|
|
1497
1122
|
: !!detection;
|
|
1498
1123
|
};
|
|
1499
1124
|
|
|
@@ -1507,7 +1132,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1507
1132
|
|
|
1508
1133
|
var isForced_1 = isForced$1;
|
|
1509
1134
|
|
|
1510
|
-
var global$
|
|
1135
|
+
var global$8 = global$s;
|
|
1511
1136
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1512
1137
|
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
1513
1138
|
var defineBuiltIn = defineBuiltIn$1;
|
|
@@ -1536,11 +1161,11 @@ var _export = function (options, source) {
|
|
|
1536
1161
|
var STATIC = options.stat;
|
|
1537
1162
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1538
1163
|
if (GLOBAL) {
|
|
1539
|
-
target = global$
|
|
1164
|
+
target = global$8;
|
|
1540
1165
|
} else if (STATIC) {
|
|
1541
|
-
target = global$
|
|
1166
|
+
target = global$8[TARGET] || setGlobal(TARGET, {});
|
|
1542
1167
|
} else {
|
|
1543
|
-
target = (global$
|
|
1168
|
+
target = (global$8[TARGET] || {}).prototype;
|
|
1544
1169
|
}
|
|
1545
1170
|
if (target) for (key in source) {
|
|
1546
1171
|
sourceProperty = source[key];
|
|
@@ -1562,23 +1187,32 @@ var _export = function (options, source) {
|
|
|
1562
1187
|
}
|
|
1563
1188
|
};
|
|
1564
1189
|
|
|
1565
|
-
var
|
|
1190
|
+
var classof$4 = classofRaw$1;
|
|
1191
|
+
|
|
1192
|
+
// `IsArray` abstract operation
|
|
1193
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
1194
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
|
1195
|
+
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
1196
|
+
return classof$4(argument) == 'Array';
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1566
1200
|
|
|
1567
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
1201
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
|
|
1568
1202
|
var test$1 = {};
|
|
1569
1203
|
|
|
1570
1204
|
test$1[TO_STRING_TAG$1] = 'z';
|
|
1571
1205
|
|
|
1572
1206
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
1573
1207
|
|
|
1574
|
-
var global$
|
|
1208
|
+
var global$7 = global$s;
|
|
1575
1209
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1576
1210
|
var isCallable$1 = isCallable$c;
|
|
1577
1211
|
var classofRaw = classofRaw$1;
|
|
1578
|
-
var wellKnownSymbol$
|
|
1212
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1579
1213
|
|
|
1580
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1581
|
-
var Object$1 = global$
|
|
1214
|
+
var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
|
|
1215
|
+
var Object$1 = global$7.Object;
|
|
1582
1216
|
|
|
1583
1217
|
// ES3 wrong here
|
|
1584
1218
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -1602,30 +1236,581 @@ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
1602
1236
|
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
1603
1237
|
};
|
|
1604
1238
|
|
|
1605
|
-
var
|
|
1606
|
-
var
|
|
1239
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1240
|
+
var fails$4 = fails$d;
|
|
1241
|
+
var isCallable = isCallable$c;
|
|
1242
|
+
var classof$2 = classof$3;
|
|
1243
|
+
var getBuiltIn = getBuiltIn$4;
|
|
1244
|
+
var inspectSource = inspectSource$3;
|
|
1245
|
+
|
|
1246
|
+
var noop = function () { /* empty */ };
|
|
1247
|
+
var empty = [];
|
|
1248
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
1249
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1250
|
+
var exec = uncurryThis$5(constructorRegExp.exec);
|
|
1251
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1252
|
+
|
|
1253
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
1254
|
+
if (!isCallable(argument)) return false;
|
|
1255
|
+
try {
|
|
1256
|
+
construct(noop, empty, argument);
|
|
1257
|
+
return true;
|
|
1258
|
+
} catch (error) {
|
|
1259
|
+
return false;
|
|
1260
|
+
}
|
|
1261
|
+
};
|
|
1262
|
+
|
|
1263
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
1264
|
+
if (!isCallable(argument)) return false;
|
|
1265
|
+
switch (classof$2(argument)) {
|
|
1266
|
+
case 'AsyncFunction':
|
|
1267
|
+
case 'GeneratorFunction':
|
|
1268
|
+
case 'AsyncGeneratorFunction': return false;
|
|
1269
|
+
}
|
|
1270
|
+
try {
|
|
1271
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
1272
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1273
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
1274
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
1275
|
+
} catch (error) {
|
|
1276
|
+
return true;
|
|
1277
|
+
}
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
isConstructorLegacy.sham = true;
|
|
1281
|
+
|
|
1282
|
+
// `IsConstructor` abstract operation
|
|
1283
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1284
|
+
var isConstructor$2 = !construct || fails$4(function () {
|
|
1285
|
+
var called;
|
|
1286
|
+
return isConstructorModern(isConstructorModern.call)
|
|
1287
|
+
|| !isConstructorModern(Object)
|
|
1288
|
+
|| !isConstructorModern(function () { called = true; })
|
|
1289
|
+
|| called;
|
|
1290
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
1291
|
+
|
|
1292
|
+
var toPropertyKey = toPropertyKey$3;
|
|
1293
|
+
var definePropertyModule = objectDefineProperty;
|
|
1294
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1295
|
+
|
|
1296
|
+
var createProperty$3 = function (object, key, value) {
|
|
1297
|
+
var propertyKey = toPropertyKey(key);
|
|
1298
|
+
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1299
|
+
else object[propertyKey] = value;
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
var fails$3 = fails$d;
|
|
1303
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1304
|
+
var V8_VERSION = engineV8Version;
|
|
1305
|
+
|
|
1306
|
+
var SPECIES$1 = wellKnownSymbol$4('species');
|
|
1307
|
+
|
|
1308
|
+
var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
|
|
1309
|
+
// We can't use this feature detection in V8 since it causes
|
|
1310
|
+
// deoptimization and serious performance degradation
|
|
1311
|
+
// https://github.com/zloirock/core-js/issues/677
|
|
1312
|
+
return V8_VERSION >= 51 || !fails$3(function () {
|
|
1313
|
+
var array = [];
|
|
1314
|
+
var constructor = array.constructor = {};
|
|
1315
|
+
constructor[SPECIES$1] = function () {
|
|
1316
|
+
return { foo: 1 };
|
|
1317
|
+
};
|
|
1318
|
+
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
1319
|
+
});
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1323
|
+
|
|
1324
|
+
var arraySlice$1 = uncurryThis$4([].slice);
|
|
1325
|
+
|
|
1326
|
+
var $$4 = _export;
|
|
1327
|
+
var global$6 = global$s;
|
|
1328
|
+
var isArray = isArray$1;
|
|
1329
|
+
var isConstructor$1 = isConstructor$2;
|
|
1330
|
+
var isObject = isObject$6;
|
|
1331
|
+
var toAbsoluteIndex$2 = toAbsoluteIndex$4;
|
|
1332
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
1333
|
+
var toIndexedObject = toIndexedObject$4;
|
|
1334
|
+
var createProperty$2 = createProperty$3;
|
|
1335
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
1336
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
1337
|
+
var un$Slice = arraySlice$1;
|
|
1338
|
+
|
|
1339
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
|
|
1340
|
+
|
|
1341
|
+
var SPECIES = wellKnownSymbol$3('species');
|
|
1342
|
+
var Array$3 = global$6.Array;
|
|
1343
|
+
var max$1 = Math.max;
|
|
1344
|
+
|
|
1345
|
+
// `Array.prototype.slice` method
|
|
1346
|
+
// https://tc39.es/ecma262/#sec-array.prototype.slice
|
|
1347
|
+
// fallback for not array-like ES3 strings and DOM objects
|
|
1348
|
+
$$4({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
1349
|
+
slice: function slice(start, end) {
|
|
1350
|
+
var O = toIndexedObject(this);
|
|
1351
|
+
var length = lengthOfArrayLike$3(O);
|
|
1352
|
+
var k = toAbsoluteIndex$2(start, length);
|
|
1353
|
+
var fin = toAbsoluteIndex$2(end === undefined ? length : end, length);
|
|
1354
|
+
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
|
|
1355
|
+
var Constructor, result, n;
|
|
1356
|
+
if (isArray(O)) {
|
|
1357
|
+
Constructor = O.constructor;
|
|
1358
|
+
// cross-realm fallback
|
|
1359
|
+
if (isConstructor$1(Constructor) && (Constructor === Array$3 || isArray(Constructor.prototype))) {
|
|
1360
|
+
Constructor = undefined;
|
|
1361
|
+
} else if (isObject(Constructor)) {
|
|
1362
|
+
Constructor = Constructor[SPECIES];
|
|
1363
|
+
if (Constructor === null) Constructor = undefined;
|
|
1364
|
+
}
|
|
1365
|
+
if (Constructor === Array$3 || Constructor === undefined) {
|
|
1366
|
+
return un$Slice(O, k, fin);
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
result = new (Constructor === undefined ? Array$3 : Constructor)(max$1(fin - k, 0));
|
|
1370
|
+
for (n = 0; k < fin; k++, n++) if (k in O) createProperty$2(result, n, O[k]);
|
|
1371
|
+
result.length = n;
|
|
1372
|
+
return result;
|
|
1373
|
+
}
|
|
1374
|
+
});
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* More minimal greg routines
|
|
1378
|
+
*/
|
|
1379
|
+
var lengths = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
1380
|
+
var monthLengths = [lengths, lengths.slice()];
|
|
1381
|
+
monthLengths[1][2] = 29;
|
|
1382
|
+
/**
|
|
1383
|
+
* @private
|
|
1384
|
+
* @param {number} x
|
|
1385
|
+
* @param {number} y
|
|
1386
|
+
* @return {number}
|
|
1387
|
+
*/
|
|
1388
|
+
|
|
1389
|
+
function mod(x, y) {
|
|
1390
|
+
return x - y * Math.floor(x / y);
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* @private
|
|
1394
|
+
* @param {number} x
|
|
1395
|
+
* @param {number} y
|
|
1396
|
+
* @return {number}
|
|
1397
|
+
*/
|
|
1398
|
+
|
|
1399
|
+
function quotient(x, y) {
|
|
1400
|
+
return Math.floor(x / y);
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* Returns true if the Gregorian year is a leap year
|
|
1404
|
+
* @private
|
|
1405
|
+
* @param {number} year Gregorian year
|
|
1406
|
+
* @return {boolean}
|
|
1407
|
+
*/
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
function isLeapYear$1(year) {
|
|
1411
|
+
return !(year % 4) && (!!(year % 100) || !(year % 400));
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* Number of days in the Gregorian month for given year
|
|
1415
|
+
* @private
|
|
1416
|
+
* @param {number} month Gregorian month (1=January, 12=December)
|
|
1417
|
+
* @param {number} year Gregorian year
|
|
1418
|
+
* @return {number}
|
|
1419
|
+
*/
|
|
1420
|
+
|
|
1421
|
+
function daysInMonth$1(month, year) {
|
|
1422
|
+
// 1 based months
|
|
1423
|
+
return monthLengths[+isLeapYear$1(year)][month];
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Returns true if the object is a Javascript Date
|
|
1427
|
+
* @private
|
|
1428
|
+
* @param {Object} obj
|
|
1429
|
+
* @return {boolean}
|
|
1430
|
+
*/
|
|
1431
|
+
|
|
1432
|
+
function isDate(obj) {
|
|
1433
|
+
return _typeof(obj) === 'object' && Date.prototype === obj.__proto__;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Returns number of days since January 1 of that year
|
|
1437
|
+
* @private
|
|
1438
|
+
* @param {Date} date Gregorian date
|
|
1439
|
+
* @return {number}
|
|
1440
|
+
*/
|
|
1441
|
+
|
|
1442
|
+
function dayOfYear(date) {
|
|
1443
|
+
if (!isDate(date)) {
|
|
1444
|
+
throw new TypeError('Argument to greg.dayOfYear not a Date');
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
var doy = date.getDate() + 31 * date.getMonth();
|
|
1448
|
+
|
|
1449
|
+
if (date.getMonth() > 1) {
|
|
1450
|
+
// FEB
|
|
1451
|
+
doy -= Math.floor((4 * (date.getMonth() + 1) + 23) / 10);
|
|
1452
|
+
|
|
1453
|
+
if (isLeapYear$1(date.getFullYear())) {
|
|
1454
|
+
doy++;
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
return doy;
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Converts Gregorian date to absolute R.D. (Rata Die) days
|
|
1462
|
+
* @private
|
|
1463
|
+
* @param {Date} date Gregorian date
|
|
1464
|
+
* @return {number}
|
|
1465
|
+
*/
|
|
1466
|
+
|
|
1467
|
+
function greg2abs(date) {
|
|
1468
|
+
if (!isDate(date)) {
|
|
1469
|
+
throw new TypeError('Argument to greg.greg2abs not a Date');
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
var year = date.getFullYear() - 1;
|
|
1473
|
+
return dayOfYear(date) + // days this year
|
|
1474
|
+
365 * year + ( // + days in prior years
|
|
1475
|
+
Math.floor(year / 4) - // + Julian Leap years
|
|
1476
|
+
Math.floor(year / 100) + // - century years
|
|
1477
|
+
Math.floor(year / 400)); // + Gregorian leap years
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* @private
|
|
1481
|
+
* @param {number} abs - R.D. number of days
|
|
1482
|
+
* @return {number}
|
|
1483
|
+
*/
|
|
1484
|
+
|
|
1485
|
+
function yearFromFixed(abs) {
|
|
1486
|
+
var l0 = abs - 1;
|
|
1487
|
+
var n400 = quotient(l0, 146097);
|
|
1488
|
+
var d1 = mod(l0, 146097);
|
|
1489
|
+
var n100 = quotient(d1, 36524);
|
|
1490
|
+
var d2 = mod(d1, 36524);
|
|
1491
|
+
var n4 = quotient(d2, 1461);
|
|
1492
|
+
var d3 = mod(d2, 1461);
|
|
1493
|
+
var n1 = quotient(d3, 365);
|
|
1494
|
+
var year = 400 * n400 + 100 * n100 + 4 * n4 + n1;
|
|
1495
|
+
return n100 != 4 && n1 != 4 ? year + 1 : year;
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* @private
|
|
1499
|
+
* @param {number} year
|
|
1500
|
+
* @param {number} month
|
|
1501
|
+
* @param {number} day
|
|
1502
|
+
* @return {number}
|
|
1503
|
+
*/
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
function toFixed(year, month, day) {
|
|
1507
|
+
var py = year - 1;
|
|
1508
|
+
return 0 + 365 * py + quotient(py, 4) - quotient(py, 100) + quotient(py, 400) + quotient(367 * month - 362, 12) + Math.floor(month <= 2 ? 0 : isLeapYear$1(year) ? -1 : -2) + day;
|
|
1509
|
+
}
|
|
1510
|
+
/**
|
|
1511
|
+
* Converts from Rata Die (R.D. number) to Gregorian date.
|
|
1512
|
+
* See the footnote on page 384 of ``Calendrical Calculations, Part II:
|
|
1513
|
+
* Three Historical Calendars'' by E. M. Reingold, N. Dershowitz, and S. M.
|
|
1514
|
+
* Clamen, Software--Practice and Experience, Volume 23, Number 4
|
|
1515
|
+
* (April, 1993), pages 383-404 for an explanation.
|
|
1516
|
+
* @private
|
|
1517
|
+
* @param {number} abs - R.D. number of days
|
|
1518
|
+
* @return {Date}
|
|
1519
|
+
*/
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
function abs2greg(abs) {
|
|
1523
|
+
if (typeof abs !== 'number') {
|
|
1524
|
+
throw new TypeError('Argument to greg.abs2greg not a Number');
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
abs = Math.trunc(abs);
|
|
1528
|
+
var year = yearFromFixed(abs);
|
|
1529
|
+
var priorDays = abs - toFixed(year, 1, 1);
|
|
1530
|
+
var correction = abs < toFixed(year, 3, 1) ? 0 : isLeapYear$1(year) ? 1 : 2;
|
|
1531
|
+
var month = quotient(12 * (priorDays + correction) + 373, 367);
|
|
1532
|
+
var day = abs - toFixed(year, month, 1) + 1;
|
|
1533
|
+
var dt = new Date(year, month - 1, day);
|
|
1534
|
+
|
|
1535
|
+
if (year < 100 && year >= 0) {
|
|
1536
|
+
dt.setFullYear(year);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
return dt;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Gregorian date helper functions.
|
|
1544
|
+
*/
|
|
1545
|
+
|
|
1546
|
+
var greg = /*#__PURE__*/function () {
|
|
1547
|
+
function greg() {
|
|
1548
|
+
_classCallCheck(this, greg);
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
_createClass(greg, null, [{
|
|
1552
|
+
key: "isLeapYear",
|
|
1553
|
+
value:
|
|
1554
|
+
/**
|
|
1555
|
+
* Long names of the Gregorian months (1='January', 12='December')
|
|
1556
|
+
* @readonly
|
|
1557
|
+
* @type {string[]}
|
|
1558
|
+
*/
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Returns true if the Gregorian year is a leap year
|
|
1562
|
+
* @param {number} year Gregorian year
|
|
1563
|
+
* @return {boolean}
|
|
1564
|
+
*/
|
|
1565
|
+
function isLeapYear(year) {
|
|
1566
|
+
return isLeapYear$1(year);
|
|
1567
|
+
}
|
|
1568
|
+
/**
|
|
1569
|
+
* Number of days in the Gregorian month for given year
|
|
1570
|
+
* @param {number} month Gregorian month (1=January, 12=December)
|
|
1571
|
+
* @param {number} year Gregorian year
|
|
1572
|
+
* @return {number}
|
|
1573
|
+
*/
|
|
1574
|
+
|
|
1575
|
+
}, {
|
|
1576
|
+
key: "daysInMonth",
|
|
1577
|
+
value: function daysInMonth(month, year) {
|
|
1578
|
+
return daysInMonth$1(month, year);
|
|
1579
|
+
}
|
|
1580
|
+
/**
|
|
1581
|
+
* Returns true if the object is a Javascript Date
|
|
1582
|
+
* @param {Object} obj
|
|
1583
|
+
* @return {boolean}
|
|
1584
|
+
*/
|
|
1585
|
+
|
|
1586
|
+
}, {
|
|
1587
|
+
key: "isDate",
|
|
1588
|
+
value: function isDate$1(obj) {
|
|
1589
|
+
return isDate(obj);
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* Returns number of days since January 1 of that year
|
|
1593
|
+
* @param {Date} date Gregorian date
|
|
1594
|
+
* @return {number}
|
|
1595
|
+
*/
|
|
1596
|
+
|
|
1597
|
+
}, {
|
|
1598
|
+
key: "dayOfYear",
|
|
1599
|
+
value: function dayOfYear$1(date) {
|
|
1600
|
+
return dayOfYear(date);
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* Converts Gregorian date to absolute R.D. (Rata Die) days
|
|
1604
|
+
* @param {Date} date Gregorian date
|
|
1605
|
+
* @return {number}
|
|
1606
|
+
*/
|
|
1607
|
+
|
|
1608
|
+
}, {
|
|
1609
|
+
key: "greg2abs",
|
|
1610
|
+
value: function greg2abs$1(date) {
|
|
1611
|
+
return greg2abs(date);
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* Converts from Rata Die (R.D. number) to Gregorian date.
|
|
1615
|
+
* See the footnote on page 384 of ``Calendrical Calculations, Part II:
|
|
1616
|
+
* Three Historical Calendars'' by E. M. Reingold, N. Dershowitz, and S. M.
|
|
1617
|
+
* Clamen, Software--Practice and Experience, Volume 23, Number 4
|
|
1618
|
+
* (April, 1993), pages 383-404 for an explanation.
|
|
1619
|
+
* @param {number} theDate - R.D. number of days
|
|
1620
|
+
* @return {Date}
|
|
1621
|
+
*/
|
|
1622
|
+
|
|
1623
|
+
}, {
|
|
1624
|
+
key: "abs2greg",
|
|
1625
|
+
value: function abs2greg$1(theDate) {
|
|
1626
|
+
return abs2greg(theDate);
|
|
1627
|
+
}
|
|
1628
|
+
}]);
|
|
1629
|
+
|
|
1630
|
+
return greg;
|
|
1631
|
+
}();
|
|
1632
|
+
|
|
1633
|
+
_defineProperty(greg, "monthNames", ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']);
|
|
1634
|
+
|
|
1635
|
+
var GERESH = '׳';
|
|
1636
|
+
var GERSHAYIM = '״';
|
|
1637
|
+
/**
|
|
1638
|
+
* @private
|
|
1639
|
+
* @param {number} num
|
|
1640
|
+
* @return {string}
|
|
1641
|
+
*/
|
|
1642
|
+
|
|
1643
|
+
function num2heb(num) {
|
|
1644
|
+
switch (num) {
|
|
1645
|
+
case 1:
|
|
1646
|
+
return 'א';
|
|
1647
|
+
|
|
1648
|
+
case 2:
|
|
1649
|
+
return 'ב';
|
|
1650
|
+
|
|
1651
|
+
case 3:
|
|
1652
|
+
return 'ג';
|
|
1653
|
+
|
|
1654
|
+
case 4:
|
|
1655
|
+
return 'ד';
|
|
1656
|
+
|
|
1657
|
+
case 5:
|
|
1658
|
+
return 'ה';
|
|
1659
|
+
|
|
1660
|
+
case 6:
|
|
1661
|
+
return 'ו';
|
|
1662
|
+
|
|
1663
|
+
case 7:
|
|
1664
|
+
return 'ז';
|
|
1665
|
+
|
|
1666
|
+
case 8:
|
|
1667
|
+
return 'ח';
|
|
1668
|
+
|
|
1669
|
+
case 9:
|
|
1670
|
+
return 'ט';
|
|
1671
|
+
|
|
1672
|
+
case 10:
|
|
1673
|
+
return 'י';
|
|
1674
|
+
|
|
1675
|
+
case 20:
|
|
1676
|
+
return 'כ';
|
|
1677
|
+
|
|
1678
|
+
case 30:
|
|
1679
|
+
return 'ל';
|
|
1680
|
+
|
|
1681
|
+
case 40:
|
|
1682
|
+
return 'מ';
|
|
1683
|
+
|
|
1684
|
+
case 50:
|
|
1685
|
+
return 'נ';
|
|
1686
|
+
|
|
1687
|
+
case 60:
|
|
1688
|
+
return 'ס';
|
|
1689
|
+
|
|
1690
|
+
case 70:
|
|
1691
|
+
return 'ע';
|
|
1692
|
+
|
|
1693
|
+
case 80:
|
|
1694
|
+
return 'פ';
|
|
1695
|
+
|
|
1696
|
+
case 90:
|
|
1697
|
+
return 'צ';
|
|
1698
|
+
|
|
1699
|
+
case 100:
|
|
1700
|
+
return 'ק';
|
|
1701
|
+
|
|
1702
|
+
case 200:
|
|
1703
|
+
return 'ר';
|
|
1704
|
+
|
|
1705
|
+
case 300:
|
|
1706
|
+
return 'ש';
|
|
1707
|
+
|
|
1708
|
+
case 400:
|
|
1709
|
+
return 'ת';
|
|
1710
|
+
|
|
1711
|
+
default:
|
|
1712
|
+
return '*INVALID*';
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
/**
|
|
1716
|
+
* @private
|
|
1717
|
+
* @param {number} num
|
|
1718
|
+
* @return {number[]}
|
|
1719
|
+
*/
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
function num2digits(num) {
|
|
1723
|
+
var digits = [];
|
|
1724
|
+
|
|
1725
|
+
while (num > 0) {
|
|
1726
|
+
if (num === 15 || num === 16) {
|
|
1727
|
+
digits.push(9);
|
|
1728
|
+
digits.push(num - 9);
|
|
1729
|
+
break;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
var incr = 100;
|
|
1733
|
+
var i = void 0;
|
|
1734
|
+
|
|
1735
|
+
for (i = 400; i > num; i -= incr) {
|
|
1736
|
+
if (i === incr) {
|
|
1737
|
+
incr = incr / 10;
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
digits.push(i);
|
|
1742
|
+
num -= i;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
return digits;
|
|
1746
|
+
}
|
|
1747
|
+
/**
|
|
1748
|
+
* Converts a numerical value to a string of Hebrew letters.
|
|
1749
|
+
*
|
|
1750
|
+
* When specifying years of the Hebrew calendar in the present millennium,
|
|
1751
|
+
* we omit the thousands (which is presently 5 [ה]).
|
|
1752
|
+
* @example
|
|
1753
|
+
* gematriya(5774) // 'תשע״ד' - cropped to 774
|
|
1754
|
+
* gematriya(25) // 'כ״ה'
|
|
1755
|
+
* gematriya(60) // 'ס׳'
|
|
1756
|
+
* gematriya(3761) // 'ג׳תשס״א'
|
|
1757
|
+
* gematriya(1123) // 'א׳קכ״ג'
|
|
1758
|
+
* @param {number} number
|
|
1759
|
+
* @return {string}
|
|
1760
|
+
*/
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
function gematriya(number) {
|
|
1764
|
+
var num = parseInt(number, 10);
|
|
1765
|
+
|
|
1766
|
+
if (!num) {
|
|
1767
|
+
throw new TypeError("invalid parameter to gematriya ".concat(number));
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
var str = '';
|
|
1771
|
+
var thousands = Math.floor(num / 1000);
|
|
1772
|
+
|
|
1773
|
+
if (thousands > 0 && thousands !== 5) {
|
|
1774
|
+
var tdigits = num2digits(thousands);
|
|
1775
|
+
|
|
1776
|
+
for (var i = 0; i < tdigits.length; i++) {
|
|
1777
|
+
str += num2heb(tdigits[i]);
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
str += GERESH;
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
var digits = num2digits(num % 1000);
|
|
1784
|
+
|
|
1785
|
+
if (digits.length == 1) {
|
|
1786
|
+
return str + num2heb(digits[0]) + GERESH;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
for (var _i = 0; _i < digits.length; _i++) {
|
|
1790
|
+
if (_i + 1 === digits.length) {
|
|
1791
|
+
str += GERSHAYIM;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
str += num2heb(digits[_i]);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
return str;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
var global$5 = global$s;
|
|
1801
|
+
var classof$1 = classof$3;
|
|
1607
1802
|
|
|
1608
1803
|
var String$1 = global$5.String;
|
|
1609
1804
|
|
|
1610
1805
|
var toString$2 = function (argument) {
|
|
1611
|
-
if (classof$
|
|
1806
|
+
if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1612
1807
|
return String$1(argument);
|
|
1613
1808
|
};
|
|
1614
1809
|
|
|
1615
|
-
var
|
|
1616
|
-
var
|
|
1617
|
-
var
|
|
1618
|
-
|
|
1619
|
-
var createProperty$2 = function (object, key, value) {
|
|
1620
|
-
var propertyKey = toPropertyKey(key);
|
|
1621
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1622
|
-
else object[propertyKey] = value;
|
|
1623
|
-
};
|
|
1624
|
-
|
|
1625
|
-
var global$4 = global$r;
|
|
1626
|
-
var toAbsoluteIndex$1 = toAbsoluteIndex$3;
|
|
1627
|
-
var lengthOfArrayLike$2 = lengthOfArrayLike$4;
|
|
1628
|
-
var createProperty$1 = createProperty$2;
|
|
1810
|
+
var global$4 = global$s;
|
|
1811
|
+
var toAbsoluteIndex$1 = toAbsoluteIndex$4;
|
|
1812
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
1813
|
+
var createProperty$1 = createProperty$3;
|
|
1629
1814
|
|
|
1630
1815
|
var Array$2 = global$4.Array;
|
|
1631
1816
|
var max = Math.max;
|
|
@@ -1685,11 +1870,11 @@ var merge = function (array, left, right, comparefn) {
|
|
|
1685
1870
|
|
|
1686
1871
|
var arraySort = mergeSort;
|
|
1687
1872
|
|
|
1688
|
-
var fails$
|
|
1873
|
+
var fails$2 = fails$d;
|
|
1689
1874
|
|
|
1690
1875
|
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
1691
1876
|
var method = [][METHOD_NAME];
|
|
1692
|
-
return !!method && fails$
|
|
1877
|
+
return !!method && fails$2(function () {
|
|
1693
1878
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
1694
1879
|
method.call(null, argument || function () { return 1; }, 1);
|
|
1695
1880
|
});
|
|
@@ -1712,12 +1897,12 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
1712
1897
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
1713
1898
|
|
|
1714
1899
|
var $$3 = _export;
|
|
1715
|
-
var uncurryThis$
|
|
1900
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1716
1901
|
var aCallable$2 = aCallable$4;
|
|
1717
1902
|
var toObject$1 = toObject$3;
|
|
1718
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$
|
|
1903
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$5;
|
|
1719
1904
|
var toString$1 = toString$2;
|
|
1720
|
-
var fails$
|
|
1905
|
+
var fails$1 = fails$d;
|
|
1721
1906
|
var internalSort = arraySort;
|
|
1722
1907
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1723
1908
|
var FF = engineFfVersion;
|
|
@@ -1726,21 +1911,21 @@ var V8 = engineV8Version;
|
|
|
1726
1911
|
var WEBKIT = engineWebkitVersion;
|
|
1727
1912
|
|
|
1728
1913
|
var test = [];
|
|
1729
|
-
var un$Sort = uncurryThis$
|
|
1730
|
-
var push = uncurryThis$
|
|
1914
|
+
var un$Sort = uncurryThis$3(test.sort);
|
|
1915
|
+
var push = uncurryThis$3(test.push);
|
|
1731
1916
|
|
|
1732
1917
|
// IE8-
|
|
1733
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
1918
|
+
var FAILS_ON_UNDEFINED = fails$1(function () {
|
|
1734
1919
|
test.sort(undefined);
|
|
1735
1920
|
});
|
|
1736
1921
|
// V8 bug
|
|
1737
|
-
var FAILS_ON_NULL = fails$
|
|
1922
|
+
var FAILS_ON_NULL = fails$1(function () {
|
|
1738
1923
|
test.sort(null);
|
|
1739
1924
|
});
|
|
1740
1925
|
// Old WebKit
|
|
1741
1926
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
1742
1927
|
|
|
1743
|
-
var STABLE_SORT = !fails$
|
|
1928
|
+
var STABLE_SORT = !fails$1(function () {
|
|
1744
1929
|
// feature detection can be too slow, so check engines versions
|
|
1745
1930
|
if (V8) return V8 < 70;
|
|
1746
1931
|
if (FF && FF > 3) return;
|
|
@@ -2024,17 +2209,20 @@ Locale.addLocale('s', noopLocale);
|
|
|
2024
2209
|
Locale.addLocale('', noopLocale);
|
|
2025
2210
|
Locale.useLocale('en');
|
|
2026
2211
|
|
|
2212
|
+
/**
|
|
2213
|
+
* More minimal HDate
|
|
2214
|
+
*/
|
|
2027
2215
|
var NISAN$3 = 1;
|
|
2028
|
-
var IYYAR$1 = 2;
|
|
2029
|
-
|
|
2030
|
-
var TAMUZ$1 = 4;
|
|
2031
|
-
|
|
2216
|
+
var IYYAR$1 = 2; // const SIVAN = 3;
|
|
2217
|
+
|
|
2218
|
+
var TAMUZ$1 = 4; // const AV = 5;
|
|
2219
|
+
|
|
2032
2220
|
var ELUL$2 = 6;
|
|
2033
2221
|
var TISHREI$2 = 7;
|
|
2034
2222
|
var CHESHVAN$2 = 8;
|
|
2035
2223
|
var KISLEV$2 = 9;
|
|
2036
|
-
var TEVET$2 = 10;
|
|
2037
|
-
|
|
2224
|
+
var TEVET$2 = 10; // const SHVAT = 11;
|
|
2225
|
+
|
|
2038
2226
|
var ADAR_I$2 = 12;
|
|
2039
2227
|
var ADAR_II$2 = 13;
|
|
2040
2228
|
/**
|
|
@@ -2090,16 +2278,223 @@ var monthNames0 = ['', 'Nisan', 'Iyyar', 'Sivan', 'Tamuz', 'Av', 'Elul', 'Tishre
|
|
|
2090
2278
|
* @private
|
|
2091
2279
|
*/
|
|
2092
2280
|
|
|
2093
|
-
var monthNames = [monthNames0.concat(['Adar', 'Nisan']), monthNames0.concat(['Adar I', 'Adar II', 'Nisan'])];
|
|
2281
|
+
var monthNames = [monthNames0.concat(['Adar', 'Nisan']), monthNames0.concat(['Adar I', 'Adar II', 'Nisan'])];
|
|
2282
|
+
var edCache = Object.create(null);
|
|
2283
|
+
var EPOCH = -1373428; // Avg year length in the cycle (19 solar years with 235 lunar months)
|
|
2284
|
+
|
|
2285
|
+
var AVG_HEBYEAR_DAYS = 365.24682220597794;
|
|
2286
|
+
/**
|
|
2287
|
+
* Converts Hebrew date to R.D. (Rata Die) fixed days.
|
|
2288
|
+
* R.D. 1 is the imaginary date Monday, January 1, 1 on the Gregorian
|
|
2289
|
+
* Calendar.
|
|
2290
|
+
* @param {number} year Hebrew year
|
|
2291
|
+
* @param {number} month Hebrew month
|
|
2292
|
+
* @param {number} day Hebrew date (1-30)
|
|
2293
|
+
* @return {number}
|
|
2294
|
+
*/
|
|
2295
|
+
|
|
2296
|
+
function hebrew2abs(year, month, day) {
|
|
2297
|
+
var tempabs = day;
|
|
2298
|
+
|
|
2299
|
+
if (month < TISHREI$2) {
|
|
2300
|
+
for (var m = TISHREI$2; m <= monthsInYear(year); m++) {
|
|
2301
|
+
tempabs += daysInMonth(m, year);
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
for (var _m = NISAN$3; _m < month; _m++) {
|
|
2305
|
+
tempabs += daysInMonth(_m, year);
|
|
2306
|
+
}
|
|
2307
|
+
} else {
|
|
2308
|
+
for (var _m2 = TISHREI$2; _m2 < month; _m2++) {
|
|
2309
|
+
tempabs += daysInMonth(_m2, year);
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
return EPOCH + elapsedDays(year) + tempabs - 1;
|
|
2314
|
+
}
|
|
2315
|
+
/**
|
|
2316
|
+
* @private
|
|
2317
|
+
* @param {number} year
|
|
2318
|
+
* @return {number}
|
|
2319
|
+
*/
|
|
2320
|
+
|
|
2321
|
+
function newYear(year) {
|
|
2322
|
+
return EPOCH + elapsedDays(year) + newYearDelay(year);
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
* @private
|
|
2326
|
+
* @param {number} year
|
|
2327
|
+
* @return {number}
|
|
2328
|
+
*/
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
function newYearDelay(year) {
|
|
2332
|
+
var ny1 = elapsedDays(year);
|
|
2333
|
+
var ny2 = elapsedDays(year + 1);
|
|
2334
|
+
|
|
2335
|
+
if (ny2 - ny1 === 356) {
|
|
2336
|
+
return 2;
|
|
2337
|
+
} else {
|
|
2338
|
+
var ny0 = elapsedDays(year - 1);
|
|
2339
|
+
return ny1 - ny0 === 382 ? 1 : 0;
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
/**
|
|
2343
|
+
* Converts absolute R.D. days to Hebrew date
|
|
2344
|
+
* @private
|
|
2345
|
+
* @param {number} abs absolute R.D. days
|
|
2346
|
+
* @return {SimpleHebrewDate}
|
|
2347
|
+
*/
|
|
2348
|
+
|
|
2349
|
+
|
|
2350
|
+
function abs2hebrew(abs) {
|
|
2351
|
+
if (typeof abs !== 'number' || isNaN(abs)) {
|
|
2352
|
+
throw new TypeError("invalid parameter to abs2hebrew ".concat(abs));
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
abs = Math.trunc(abs); // first, quickly approximate year
|
|
2356
|
+
|
|
2357
|
+
var year = Math.floor((abs - EPOCH) / AVG_HEBYEAR_DAYS);
|
|
2358
|
+
|
|
2359
|
+
while (newYear(year) <= abs) {
|
|
2360
|
+
++year;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
--year;
|
|
2364
|
+
var month = abs < hebrew2abs(year, 1, 1) ? 7 : 1;
|
|
2365
|
+
|
|
2366
|
+
while (abs > hebrew2abs(year, month, daysInMonth(month, year))) {
|
|
2367
|
+
++month;
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
var day = 1 + abs - hebrew2abs(year, month, 1);
|
|
2371
|
+
return {
|
|
2372
|
+
yy: year,
|
|
2373
|
+
mm: month,
|
|
2374
|
+
dd: day
|
|
2375
|
+
};
|
|
2376
|
+
}
|
|
2377
|
+
/**
|
|
2378
|
+
* Returns true if Hebrew year is a leap year
|
|
2379
|
+
* @param {number} year Hebrew year
|
|
2380
|
+
* @return {boolean}
|
|
2381
|
+
*/
|
|
2382
|
+
|
|
2383
|
+
function isLeapYear(year) {
|
|
2384
|
+
return (1 + year * 7) % 19 < 7;
|
|
2385
|
+
}
|
|
2386
|
+
/**
|
|
2387
|
+
* Number of months in this Hebrew year (either 12 or 13 depending on leap year)
|
|
2388
|
+
* @param {number} year Hebrew year
|
|
2389
|
+
* @return {number}
|
|
2390
|
+
*/
|
|
2391
|
+
|
|
2392
|
+
function monthsInYear(year) {
|
|
2393
|
+
return 12 + isLeapYear(year); // boolean is cast to 1 or 0
|
|
2394
|
+
}
|
|
2395
|
+
/**
|
|
2396
|
+
* Number of days in Hebrew month in a given year (29 or 30)
|
|
2397
|
+
* @param {number} month Hebrew month (e.g. months.TISHREI)
|
|
2398
|
+
* @param {number} year Hebrew year
|
|
2399
|
+
* @return {number}
|
|
2400
|
+
*/
|
|
2401
|
+
|
|
2402
|
+
function daysInMonth(month, year) {
|
|
2403
|
+
switch (month) {
|
|
2404
|
+
case IYYAR$1:
|
|
2405
|
+
case TAMUZ$1:
|
|
2406
|
+
case ELUL$2:
|
|
2407
|
+
case TEVET$2:
|
|
2408
|
+
case ADAR_II$2:
|
|
2409
|
+
return 29;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
if (month === ADAR_I$2 && !isLeapYear(year) || month === CHESHVAN$2 && !longCheshvan(year) || month === KISLEV$2 && shortKislev(year)) {
|
|
2413
|
+
return 29;
|
|
2414
|
+
} else {
|
|
2415
|
+
return 30;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* Returns a transliterated string name of Hebrew month in year,
|
|
2420
|
+
* for example 'Elul' or 'Cheshvan'.
|
|
2421
|
+
* @param {number} month Hebrew month (e.g. months.TISHREI)
|
|
2422
|
+
* @param {number} year Hebrew year
|
|
2423
|
+
* @return {string}
|
|
2424
|
+
*/
|
|
2425
|
+
|
|
2426
|
+
function getMonthName(month, year) {
|
|
2427
|
+
if (typeof month !== 'number' || month < 1 || month > 14) {
|
|
2428
|
+
throw new TypeError("bad month argument ".concat(month));
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
return monthNames[+isLeapYear(year)][month];
|
|
2432
|
+
}
|
|
2433
|
+
/**
|
|
2434
|
+
* Days from sunday prior to start of Hebrew calendar to mean
|
|
2435
|
+
* conjunction of Tishrei in Hebrew YEAR
|
|
2436
|
+
* @param {number} year Hebrew year
|
|
2437
|
+
* @return {number}
|
|
2438
|
+
*/
|
|
2439
|
+
|
|
2440
|
+
function elapsedDays(year) {
|
|
2441
|
+
var elapsed = edCache[year] = edCache[year] || elapsedDays0(year);
|
|
2442
|
+
return elapsed;
|
|
2443
|
+
}
|
|
2444
|
+
/**
|
|
2445
|
+
* Days from sunday prior to start of Hebrew calendar to mean
|
|
2446
|
+
* conjunction of Tishrei in Hebrew YEAR
|
|
2447
|
+
* @private
|
|
2448
|
+
* @param {number} year Hebrew year
|
|
2449
|
+
* @return {number}
|
|
2450
|
+
*/
|
|
2451
|
+
|
|
2452
|
+
function elapsedDays0(year) {
|
|
2453
|
+
var prevYear = year - 1;
|
|
2454
|
+
var mElapsed = 235 * Math.floor(prevYear / 19) + // Months in complete 19 year lunar (Metonic) cycles so far
|
|
2455
|
+
12 * (prevYear % 19) + // Regular months in this cycle
|
|
2456
|
+
Math.floor((prevYear % 19 * 7 + 1) / 19); // Leap months this cycle
|
|
2457
|
+
|
|
2458
|
+
var pElapsed = 204 + 793 * (mElapsed % 1080);
|
|
2459
|
+
var hElapsed = 5 + 12 * mElapsed + 793 * Math.floor(mElapsed / 1080) + Math.floor(pElapsed / 1080);
|
|
2460
|
+
var parts = pElapsed % 1080 + 1080 * (hElapsed % 24);
|
|
2461
|
+
var day = 1 + 29 * mElapsed + Math.floor(hElapsed / 24);
|
|
2462
|
+
var altDay = day + (parts >= 19440 || 2 === day % 7 && parts >= 9924 && !isLeapYear(year) || 1 === day % 7 && parts >= 16789 && isLeapYear(prevYear));
|
|
2463
|
+
return altDay + (altDay % 7 === 0 || altDay % 7 === 3 || altDay % 7 === 5);
|
|
2464
|
+
}
|
|
2465
|
+
/**
|
|
2466
|
+
* Number of days in the hebrew YEAR
|
|
2467
|
+
* @param {number} year Hebrew year
|
|
2468
|
+
* @return {number}
|
|
2469
|
+
*/
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
function daysInYear(year) {
|
|
2473
|
+
return elapsedDays(year + 1) - elapsedDays(year);
|
|
2474
|
+
}
|
|
2475
|
+
/**
|
|
2476
|
+
* true if Cheshvan is long in Hebrew year
|
|
2477
|
+
* @param {number} year Hebrew year
|
|
2478
|
+
* @return {boolean}
|
|
2479
|
+
*/
|
|
2480
|
+
|
|
2481
|
+
function longCheshvan(year) {
|
|
2482
|
+
return daysInYear(year) % 10 === 5;
|
|
2483
|
+
}
|
|
2484
|
+
/**
|
|
2485
|
+
* true if Kislev is short in Hebrew year
|
|
2486
|
+
* @param {number} year Hebrew year
|
|
2487
|
+
* @return {boolean}
|
|
2488
|
+
*/
|
|
2489
|
+
|
|
2490
|
+
function shortKislev(year) {
|
|
2491
|
+
return daysInYear(year) % 10 === 3;
|
|
2492
|
+
}
|
|
2094
2493
|
|
|
2095
2494
|
function throwTypeError$3(msg) {
|
|
2096
2495
|
throw new TypeError(msg);
|
|
2097
2496
|
}
|
|
2098
2497
|
|
|
2099
|
-
var edCache = Object.create(null);
|
|
2100
|
-
var EPOCH = -1373428; // Avg year length in the cycle (19 solar years with 235 lunar months)
|
|
2101
|
-
|
|
2102
|
-
var AVG_HEBYEAR_DAYS = 365.24682220597794;
|
|
2103
2498
|
var UNITS_DAY = 'day';
|
|
2104
2499
|
var UNITS_WEEK = 'week';
|
|
2105
2500
|
var UNITS_MONTH = 'month';
|
|
@@ -2204,7 +2599,7 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2204
2599
|
yy: day.year
|
|
2205
2600
|
} : throwTypeError$3("HDate called with bad argument: ".concat(day));
|
|
2206
2601
|
var isNumber = typeof abs0 === 'number';
|
|
2207
|
-
var d = isNumber ?
|
|
2602
|
+
var d = isNumber ? abs2hebrew(abs0) : abs0;
|
|
2208
2603
|
/**
|
|
2209
2604
|
* @private
|
|
2210
2605
|
* @type {number}
|
|
@@ -2251,8 +2646,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2251
2646
|
|
|
2252
2647
|
}, {
|
|
2253
2648
|
key: "isLeapYear",
|
|
2254
|
-
value: function isLeapYear() {
|
|
2255
|
-
return
|
|
2649
|
+
value: function isLeapYear$1() {
|
|
2650
|
+
return isLeapYear(this.year);
|
|
2256
2651
|
}
|
|
2257
2652
|
/**
|
|
2258
2653
|
* Gets the Hebrew month (1=NISAN, 7=TISHREI) of this Hebrew date
|
|
@@ -2272,7 +2667,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2272
2667
|
}, {
|
|
2273
2668
|
key: "getTishreiMonth",
|
|
2274
2669
|
value: function getTishreiMonth() {
|
|
2275
|
-
var nummonths =
|
|
2670
|
+
var nummonths = monthsInYear(this.getFullYear());
|
|
2671
|
+
|
|
2276
2672
|
return (this.getMonth() + nummonths - 6) % nummonths || nummonths;
|
|
2277
2673
|
}
|
|
2278
2674
|
/**
|
|
@@ -2282,8 +2678,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2282
2678
|
|
|
2283
2679
|
}, {
|
|
2284
2680
|
key: "daysInMonth",
|
|
2285
|
-
value: function daysInMonth() {
|
|
2286
|
-
return
|
|
2681
|
+
value: function daysInMonth$1() {
|
|
2682
|
+
return daysInMonth(this.getMonth(), this.getFullYear());
|
|
2287
2683
|
}
|
|
2288
2684
|
/**
|
|
2289
2685
|
* Gets the day within the month (1-30)
|
|
@@ -2369,7 +2765,7 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2369
2765
|
key: "abs",
|
|
2370
2766
|
value: function abs() {
|
|
2371
2767
|
if (typeof this.abs0 !== 'number') {
|
|
2372
|
-
this.abs0 =
|
|
2768
|
+
this.abs0 = hebrew2abs(this.year, this.month, this.day);
|
|
2373
2769
|
}
|
|
2374
2770
|
|
|
2375
2771
|
return this.abs0;
|
|
@@ -2391,8 +2787,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2391
2787
|
* Returns a transliterated Hebrew month name, e.g. `'Elul'` or `'Cheshvan'`.
|
|
2392
2788
|
* @return {string}
|
|
2393
2789
|
*/
|
|
2394
|
-
function getMonthName() {
|
|
2395
|
-
return
|
|
2790
|
+
function getMonthName$1() {
|
|
2791
|
+
return getMonthName(this.getMonth(), this.getFullYear());
|
|
2396
2792
|
}
|
|
2397
2793
|
/**
|
|
2398
2794
|
* Renders this Hebrew date as a translated or transliterated string,
|
|
@@ -2689,54 +3085,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2689
3085
|
|
|
2690
3086
|
}], [{
|
|
2691
3087
|
key: "hebrew2abs",
|
|
2692
|
-
value: function hebrew2abs(year, month, day) {
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
if (month < TISHREI$2) {
|
|
2696
|
-
for (var m = TISHREI$2; m <= HDate.monthsInYear(year); m++) {
|
|
2697
|
-
tempabs += HDate.daysInMonth(m, year);
|
|
2698
|
-
}
|
|
2699
|
-
|
|
2700
|
-
for (var _m = NISAN$3; _m < month; _m++) {
|
|
2701
|
-
tempabs += HDate.daysInMonth(_m, year);
|
|
2702
|
-
}
|
|
2703
|
-
} else {
|
|
2704
|
-
for (var _m2 = TISHREI$2; _m2 < month; _m2++) {
|
|
2705
|
-
tempabs += HDate.daysInMonth(_m2, year);
|
|
2706
|
-
}
|
|
2707
|
-
}
|
|
2708
|
-
|
|
2709
|
-
return EPOCH + HDate.elapsedDays(year) + tempabs - 1;
|
|
2710
|
-
}
|
|
2711
|
-
/**
|
|
2712
|
-
* @private
|
|
2713
|
-
* @param {number} year
|
|
2714
|
-
* @return {number}
|
|
2715
|
-
*/
|
|
2716
|
-
|
|
2717
|
-
}, {
|
|
2718
|
-
key: "newYear",
|
|
2719
|
-
value: function newYear(year) {
|
|
2720
|
-
return EPOCH + HDate.elapsedDays(year) + HDate.newYearDelay(year);
|
|
2721
|
-
}
|
|
2722
|
-
/**
|
|
2723
|
-
* @private
|
|
2724
|
-
* @param {number} year
|
|
2725
|
-
* @return {number}
|
|
2726
|
-
*/
|
|
2727
|
-
|
|
2728
|
-
}, {
|
|
2729
|
-
key: "newYearDelay",
|
|
2730
|
-
value: function newYearDelay(year) {
|
|
2731
|
-
var ny1 = HDate.elapsedDays(year);
|
|
2732
|
-
var ny2 = HDate.elapsedDays(year + 1);
|
|
2733
|
-
|
|
2734
|
-
if (ny2 - ny1 === 356) {
|
|
2735
|
-
return 2;
|
|
2736
|
-
} else {
|
|
2737
|
-
var ny0 = HDate.elapsedDays(year - 1);
|
|
2738
|
-
return ny1 - ny0 === 382 ? 1 : 0;
|
|
2739
|
-
}
|
|
3088
|
+
value: function hebrew2abs$1(year, month, day) {
|
|
3089
|
+
return hebrew2abs(year, month, day);
|
|
2740
3090
|
}
|
|
2741
3091
|
/**
|
|
2742
3092
|
* Converts absolute R.D. days to Hebrew date
|
|
@@ -2747,32 +3097,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2747
3097
|
|
|
2748
3098
|
}, {
|
|
2749
3099
|
key: "abs2hebrew",
|
|
2750
|
-
value: function abs2hebrew(abs) {
|
|
2751
|
-
|
|
2752
|
-
throw new TypeError("invalid parameter to abs2hebrew ".concat(abs));
|
|
2753
|
-
}
|
|
2754
|
-
|
|
2755
|
-
abs = Math.trunc(abs); // first, quickly approximate year
|
|
2756
|
-
|
|
2757
|
-
var year = Math.floor((abs - EPOCH) / AVG_HEBYEAR_DAYS);
|
|
2758
|
-
|
|
2759
|
-
while (HDate.newYear(year) <= abs) {
|
|
2760
|
-
++year;
|
|
2761
|
-
}
|
|
2762
|
-
|
|
2763
|
-
--year;
|
|
2764
|
-
var month = abs < HDate.hebrew2abs(year, 1, 1) ? 7 : 1;
|
|
2765
|
-
|
|
2766
|
-
while (abs > HDate.hebrew2abs(year, month, HDate.daysInMonth(month, year))) {
|
|
2767
|
-
++month;
|
|
2768
|
-
}
|
|
2769
|
-
|
|
2770
|
-
var day = 1 + abs - HDate.hebrew2abs(year, month, 1);
|
|
2771
|
-
return {
|
|
2772
|
-
yy: year,
|
|
2773
|
-
mm: month,
|
|
2774
|
-
dd: day
|
|
2775
|
-
};
|
|
3100
|
+
value: function abs2hebrew$1(abs) {
|
|
3101
|
+
return abs2hebrew(abs);
|
|
2776
3102
|
}
|
|
2777
3103
|
}, {
|
|
2778
3104
|
key: "getDayOfTranslation",
|
|
@@ -2805,8 +3131,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2805
3131
|
}
|
|
2806
3132
|
}, {
|
|
2807
3133
|
key: "isLeapYear",
|
|
2808
|
-
value: function isLeapYear(year) {
|
|
2809
|
-
return (
|
|
3134
|
+
value: function isLeapYear$1(year) {
|
|
3135
|
+
return isLeapYear(year);
|
|
2810
3136
|
}
|
|
2811
3137
|
/**
|
|
2812
3138
|
* Number of months in this Hebrew year (either 12 or 13 depending on leap year)
|
|
@@ -2816,8 +3142,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2816
3142
|
|
|
2817
3143
|
}, {
|
|
2818
3144
|
key: "monthsInYear",
|
|
2819
|
-
value: function monthsInYear(year) {
|
|
2820
|
-
return
|
|
3145
|
+
value: function monthsInYear$1(year) {
|
|
3146
|
+
return monthsInYear(year);
|
|
2821
3147
|
}
|
|
2822
3148
|
/**
|
|
2823
3149
|
* Number of days in Hebrew month in a given year (29 or 30)
|
|
@@ -2828,12 +3154,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2828
3154
|
|
|
2829
3155
|
}, {
|
|
2830
3156
|
key: "daysInMonth",
|
|
2831
|
-
value: function daysInMonth(month, year) {
|
|
2832
|
-
|
|
2833
|
-
return 29;
|
|
2834
|
-
} else {
|
|
2835
|
-
return 30;
|
|
2836
|
-
}
|
|
3157
|
+
value: function daysInMonth$1(month, year) {
|
|
3158
|
+
return daysInMonth(month, year);
|
|
2837
3159
|
}
|
|
2838
3160
|
/**
|
|
2839
3161
|
* Returns a transliterated string name of Hebrew month in year,
|
|
@@ -2845,12 +3167,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2845
3167
|
|
|
2846
3168
|
}, {
|
|
2847
3169
|
key: "getMonthName",
|
|
2848
|
-
value: function getMonthName(month, year) {
|
|
2849
|
-
|
|
2850
|
-
throw new TypeError("bad month argument ".concat(month));
|
|
2851
|
-
}
|
|
2852
|
-
|
|
2853
|
-
return monthNames[+HDate.isLeapYear(year)][month];
|
|
3170
|
+
value: function getMonthName$1(month, year) {
|
|
3171
|
+
return getMonthName(month, year);
|
|
2854
3172
|
}
|
|
2855
3173
|
/**
|
|
2856
3174
|
* Returns the Hebrew month number (NISAN=1, TISHREI=7)
|
|
@@ -2865,42 +3183,6 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2865
3183
|
/* number */
|
|
2866
3184
|
parseInt(month, 10) : HDate.monthFromName(month);
|
|
2867
3185
|
}
|
|
2868
|
-
/**
|
|
2869
|
-
* Days from sunday prior to start of Hebrew calendar to mean
|
|
2870
|
-
* conjunction of Tishrei in Hebrew YEAR
|
|
2871
|
-
* @param {number} year Hebrew year
|
|
2872
|
-
* @return {number}
|
|
2873
|
-
*/
|
|
2874
|
-
|
|
2875
|
-
}, {
|
|
2876
|
-
key: "elapsedDays",
|
|
2877
|
-
value: function elapsedDays(year) {
|
|
2878
|
-
var elapsed = edCache[year] = edCache[year] || HDate.elapsedDays0(year);
|
|
2879
|
-
return elapsed;
|
|
2880
|
-
}
|
|
2881
|
-
/**
|
|
2882
|
-
* Days from sunday prior to start of Hebrew calendar to mean
|
|
2883
|
-
* conjunction of Tishrei in Hebrew YEAR
|
|
2884
|
-
* @private
|
|
2885
|
-
* @param {number} year Hebrew year
|
|
2886
|
-
* @return {number}
|
|
2887
|
-
*/
|
|
2888
|
-
|
|
2889
|
-
}, {
|
|
2890
|
-
key: "elapsedDays0",
|
|
2891
|
-
value: function elapsedDays0(year) {
|
|
2892
|
-
var prevYear = year - 1;
|
|
2893
|
-
var mElapsed = 235 * Math.floor(prevYear / 19) + // Months in complete 19 year lunar (Metonic) cycles so far
|
|
2894
|
-
12 * (prevYear % 19) + // Regular months in this cycle
|
|
2895
|
-
Math.floor((prevYear % 19 * 7 + 1) / 19); // Leap months this cycle
|
|
2896
|
-
|
|
2897
|
-
var pElapsed = 204 + 793 * (mElapsed % 1080);
|
|
2898
|
-
var hElapsed = 5 + 12 * mElapsed + 793 * Math.floor(mElapsed / 1080) + Math.floor(pElapsed / 1080);
|
|
2899
|
-
var parts = pElapsed % 1080 + 1080 * (hElapsed % 24);
|
|
2900
|
-
var day = 1 + 29 * mElapsed + Math.floor(hElapsed / 24);
|
|
2901
|
-
var altDay = day + (parts >= 19440 || 2 == day % 7 && parts >= 9924 && !HDate.isLeapYear(year) || 1 == day % 7 && parts >= 16789 && HDate.isLeapYear(prevYear));
|
|
2902
|
-
return altDay + (altDay % 7 === 0 || altDay % 7 == 3 || altDay % 7 == 5);
|
|
2903
|
-
}
|
|
2904
3186
|
/**
|
|
2905
3187
|
* Number of days in the hebrew YEAR
|
|
2906
3188
|
* @param {number} year Hebrew year
|
|
@@ -2909,8 +3191,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2909
3191
|
|
|
2910
3192
|
}, {
|
|
2911
3193
|
key: "daysInYear",
|
|
2912
|
-
value: function daysInYear(year) {
|
|
2913
|
-
return
|
|
3194
|
+
value: function daysInYear$1(year) {
|
|
3195
|
+
return daysInYear(year);
|
|
2914
3196
|
}
|
|
2915
3197
|
/**
|
|
2916
3198
|
* true if Cheshvan is long in Hebrew year
|
|
@@ -2920,8 +3202,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2920
3202
|
|
|
2921
3203
|
}, {
|
|
2922
3204
|
key: "longCheshvan",
|
|
2923
|
-
value: function longCheshvan(year) {
|
|
2924
|
-
return
|
|
3205
|
+
value: function longCheshvan$1(year) {
|
|
3206
|
+
return longCheshvan(year);
|
|
2925
3207
|
}
|
|
2926
3208
|
/**
|
|
2927
3209
|
* true if Kislev is short in Hebrew year
|
|
@@ -2931,8 +3213,8 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2931
3213
|
|
|
2932
3214
|
}, {
|
|
2933
3215
|
key: "shortKislev",
|
|
2934
|
-
value: function shortKislev(year) {
|
|
2935
|
-
return
|
|
3216
|
+
value: function shortKislev$1(year) {
|
|
3217
|
+
return shortKislev(year);
|
|
2936
3218
|
}
|
|
2937
3219
|
/**
|
|
2938
3220
|
* Converts Hebrew month string name to numeric
|
|
@@ -2975,41 +3257,41 @@ var HDate = /*#__PURE__*/function () {
|
|
|
2975
3257
|
/* this catches "november" */
|
|
2976
3258
|
}
|
|
2977
3259
|
|
|
2978
|
-
return NISAN
|
|
3260
|
+
return months.NISAN;
|
|
2979
3261
|
|
|
2980
3262
|
case 'i':
|
|
2981
|
-
return IYYAR
|
|
3263
|
+
return months.IYYAR;
|
|
2982
3264
|
|
|
2983
3265
|
case 'e':
|
|
2984
|
-
return ELUL
|
|
3266
|
+
return months.ELUL;
|
|
2985
3267
|
|
|
2986
3268
|
case 'c':
|
|
2987
3269
|
case 'ח':
|
|
2988
|
-
return CHESHVAN
|
|
3270
|
+
return months.CHESHVAN;
|
|
2989
3271
|
|
|
2990
3272
|
case 'k':
|
|
2991
3273
|
case 'כ':
|
|
2992
|
-
return KISLEV
|
|
3274
|
+
return months.KISLEV;
|
|
2993
3275
|
|
|
2994
3276
|
case 's':
|
|
2995
3277
|
switch (c[1]) {
|
|
2996
3278
|
case 'i':
|
|
2997
|
-
return SIVAN
|
|
3279
|
+
return months.SIVAN;
|
|
2998
3280
|
|
|
2999
3281
|
case 'h':
|
|
3000
|
-
return SHVAT
|
|
3282
|
+
return months.SHVAT;
|
|
3001
3283
|
}
|
|
3002
3284
|
|
|
3003
3285
|
case 't':
|
|
3004
3286
|
switch (c[1]) {
|
|
3005
3287
|
case 'a':
|
|
3006
|
-
return TAMUZ
|
|
3288
|
+
return months.TAMUZ;
|
|
3007
3289
|
|
|
3008
3290
|
case 'i':
|
|
3009
|
-
return TISHREI
|
|
3291
|
+
return months.TISHREI;
|
|
3010
3292
|
|
|
3011
3293
|
case 'e':
|
|
3012
|
-
return TEVET
|
|
3294
|
+
return months.TEVET;
|
|
3013
3295
|
}
|
|
3014
3296
|
|
|
3015
3297
|
break;
|
|
@@ -3017,46 +3299,46 @@ var HDate = /*#__PURE__*/function () {
|
|
|
3017
3299
|
case 'a':
|
|
3018
3300
|
switch (c[1]) {
|
|
3019
3301
|
case 'v':
|
|
3020
|
-
return AV
|
|
3302
|
+
return months.AV;
|
|
3021
3303
|
|
|
3022
3304
|
case 'd':
|
|
3023
3305
|
if (/(1|[^i]i|a|א)$/i.test(monthName)) {
|
|
3024
|
-
return ADAR_I
|
|
3306
|
+
return months.ADAR_I;
|
|
3025
3307
|
}
|
|
3026
3308
|
|
|
3027
|
-
return ADAR_II
|
|
3309
|
+
return months.ADAR_II;
|
|
3028
3310
|
// else assume sheini
|
|
3029
3311
|
}
|
|
3030
3312
|
|
|
3031
3313
|
break;
|
|
3032
3314
|
|
|
3033
3315
|
case 'ס':
|
|
3034
|
-
return SIVAN
|
|
3316
|
+
return months.SIVAN;
|
|
3035
3317
|
|
|
3036
3318
|
case 'ט':
|
|
3037
|
-
return TEVET
|
|
3319
|
+
return months.TEVET;
|
|
3038
3320
|
|
|
3039
3321
|
case 'ש':
|
|
3040
|
-
return SHVAT
|
|
3322
|
+
return months.SHVAT;
|
|
3041
3323
|
|
|
3042
3324
|
case 'א':
|
|
3043
3325
|
switch (c[1]) {
|
|
3044
3326
|
case 'ב':
|
|
3045
|
-
return AV
|
|
3327
|
+
return months.AV;
|
|
3046
3328
|
|
|
3047
3329
|
case 'ד':
|
|
3048
3330
|
if (/(1|[^i]i|a|א)$/i.test(monthName)) {
|
|
3049
|
-
return ADAR_I
|
|
3331
|
+
return months.ADAR_I;
|
|
3050
3332
|
}
|
|
3051
3333
|
|
|
3052
|
-
return ADAR_II
|
|
3334
|
+
return months.ADAR_II;
|
|
3053
3335
|
// else assume sheini
|
|
3054
3336
|
|
|
3055
3337
|
case 'י':
|
|
3056
|
-
return IYYAR
|
|
3338
|
+
return months.IYYAR;
|
|
3057
3339
|
|
|
3058
3340
|
case 'ל':
|
|
3059
|
-
return ELUL
|
|
3341
|
+
return months.ELUL;
|
|
3060
3342
|
}
|
|
3061
3343
|
|
|
3062
3344
|
break;
|
|
@@ -3064,10 +3346,10 @@ var HDate = /*#__PURE__*/function () {
|
|
|
3064
3346
|
case 'ת':
|
|
3065
3347
|
switch (c[1]) {
|
|
3066
3348
|
case 'מ':
|
|
3067
|
-
return TAMUZ
|
|
3349
|
+
return months.TAMUZ;
|
|
3068
3350
|
|
|
3069
3351
|
case 'ש':
|
|
3070
|
-
return TISHREI
|
|
3352
|
+
return months.TISHREI;
|
|
3071
3353
|
}
|
|
3072
3354
|
|
|
3073
3355
|
break;
|
|
@@ -3122,21 +3404,21 @@ function fix(date) {
|
|
|
3122
3404
|
|
|
3123
3405
|
function fixDate(date) {
|
|
3124
3406
|
if (date.day < 1) {
|
|
3125
|
-
if (date.month == TISHREI
|
|
3407
|
+
if (date.month == months.TISHREI) {
|
|
3126
3408
|
date.year -= 1;
|
|
3127
3409
|
}
|
|
3128
3410
|
|
|
3129
|
-
date.day +=
|
|
3411
|
+
date.day += daysInMonth(date.month, date.year);
|
|
3130
3412
|
date.month -= 1;
|
|
3131
3413
|
fix(date);
|
|
3132
3414
|
}
|
|
3133
3415
|
|
|
3134
|
-
if (date.day >
|
|
3135
|
-
if (date.month
|
|
3416
|
+
if (date.day > daysInMonth(date.month, date.year)) {
|
|
3417
|
+
if (date.month === months.ELUL) {
|
|
3136
3418
|
date.year += 1;
|
|
3137
3419
|
}
|
|
3138
3420
|
|
|
3139
|
-
date.day -=
|
|
3421
|
+
date.day -= daysInMonth(date.month, date.year);
|
|
3140
3422
|
date.month += 1;
|
|
3141
3423
|
fix(date);
|
|
3142
3424
|
}
|
|
@@ -3150,16 +3432,16 @@ function fixDate(date) {
|
|
|
3150
3432
|
|
|
3151
3433
|
|
|
3152
3434
|
function fixMonth(date) {
|
|
3153
|
-
if (date.month
|
|
3435
|
+
if (date.month === months.ADAR_II && !date.isLeapYear()) {
|
|
3154
3436
|
date.month -= 1; // to Adar I
|
|
3155
3437
|
|
|
3156
3438
|
fix(date);
|
|
3157
3439
|
} else if (date.month < 1) {
|
|
3158
|
-
date.month +=
|
|
3440
|
+
date.month += monthsInYear(date.year);
|
|
3159
3441
|
date.year -= 1;
|
|
3160
3442
|
fix(date);
|
|
3161
|
-
} else if (date.month >
|
|
3162
|
-
date.month -=
|
|
3443
|
+
} else if (date.month > monthsInYear(date.year)) {
|
|
3444
|
+
date.month -= monthsInYear(date.year);
|
|
3163
3445
|
date.year += 1;
|
|
3164
3446
|
fix(date);
|
|
3165
3447
|
}
|
|
@@ -5281,15 +5563,15 @@ var MoladEvent = /*#__PURE__*/function (_Event) {
|
|
|
5281
5563
|
}(Event);
|
|
5282
5564
|
|
|
5283
5565
|
var $$2 = _export;
|
|
5284
|
-
var global$3 = global$
|
|
5285
|
-
var uncurryThis$
|
|
5286
|
-
var toAbsoluteIndex = toAbsoluteIndex$
|
|
5566
|
+
var global$3 = global$s;
|
|
5567
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
5568
|
+
var toAbsoluteIndex = toAbsoluteIndex$4;
|
|
5287
5569
|
|
|
5288
5570
|
var RangeError$1 = global$3.RangeError;
|
|
5289
5571
|
var fromCharCode = String.fromCharCode;
|
|
5290
5572
|
// eslint-disable-next-line es-x/no-string-fromcodepoint -- required for testing
|
|
5291
5573
|
var $fromCodePoint = String.fromCodePoint;
|
|
5292
|
-
var join = uncurryThis$
|
|
5574
|
+
var join = uncurryThis$2([].join);
|
|
5293
5575
|
|
|
5294
5576
|
// length should be 1, old FF problem
|
|
5295
5577
|
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1;
|
|
@@ -5317,12 +5599,12 @@ $$2({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {
|
|
|
5317
5599
|
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
5318
5600
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
5319
5601
|
|
|
5320
|
-
var uncurryThis$
|
|
5602
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
5321
5603
|
var requireObjectCoercible = requireObjectCoercible$3;
|
|
5322
5604
|
var toString = toString$2;
|
|
5323
5605
|
var whitespaces$1 = whitespaces$2;
|
|
5324
5606
|
|
|
5325
|
-
var replace = uncurryThis$
|
|
5607
|
+
var replace = uncurryThis$1(''.replace);
|
|
5326
5608
|
var whitespace = '[' + whitespaces$1 + ']';
|
|
5327
5609
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
5328
5610
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
@@ -5350,7 +5632,7 @@ var stringTrim = {
|
|
|
5350
5632
|
};
|
|
5351
5633
|
|
|
5352
5634
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
5353
|
-
var fails
|
|
5635
|
+
var fails = fails$d;
|
|
5354
5636
|
var whitespaces = whitespaces$2;
|
|
5355
5637
|
|
|
5356
5638
|
var non = '\u200B\u0085\u180E';
|
|
@@ -5358,7 +5640,7 @@ var non = '\u200B\u0085\u180E';
|
|
|
5358
5640
|
// check that a method works with the correct list
|
|
5359
5641
|
// of whitespaces and has a correct name
|
|
5360
5642
|
var stringTrimForced = function (METHOD_NAME) {
|
|
5361
|
-
return fails
|
|
5643
|
+
return fails(function () {
|
|
5362
5644
|
return !!whitespaces[METHOD_NAME]()
|
|
5363
5645
|
|| non[METHOD_NAME]() !== non
|
|
5364
5646
|
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
@@ -5405,7 +5687,6 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
|
|
|
5405
5687
|
|
|
5406
5688
|
_this.weekNumber = Math.floor((omerDay - 1) / 7) + 1;
|
|
5407
5689
|
_this.daysWithinWeeks = omerDay % 7 || 7;
|
|
5408
|
-
_this.memo = [_this.sefira('en'), _this.sefira('he'), _this.sefira('translit')].join('\n');
|
|
5409
5690
|
return _this;
|
|
5410
5691
|
}
|
|
5411
5692
|
/**
|
|
@@ -5425,7 +5706,7 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
|
|
|
5425
5706
|
case 'he':
|
|
5426
5707
|
var heWeek = Locale.gettext(week, 'he');
|
|
5427
5708
|
var heDayWithinWeek = Locale.gettext(dayWithinWeek, 'he');
|
|
5428
|
-
var hePrefix = this.weekNumber === 2 || this.weekNumber === 6 ? '
|
|
5709
|
+
var hePrefix = this.weekNumber === 2 || this.weekNumber === 6 ? 'שֶׁבִּ' : 'שֶׁבְּ';
|
|
5429
5710
|
return "".concat(heDayWithinWeek, " ").concat(hePrefix).concat(heWeek).normalize();
|
|
5430
5711
|
|
|
5431
5712
|
case 'translit':
|
|
@@ -5539,7 +5820,7 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
|
|
|
5539
5820
|
// https://github.com/py-libhdate/py-libhdate/blob/master/hdate/date.py
|
|
5540
5821
|
|
|
5541
5822
|
var tens = ['', 'עֲשָׂרָה', 'עֶשְׂרִים', 'שְׁלוֹשִׁים', 'אַרְבָּעִים'];
|
|
5542
|
-
var ones = ['', 'אֶחָד', '
|
|
5823
|
+
var ones = ['', 'אֶחָד', 'שְׁנַיִם', 'שְׁלוֹשָׁה', 'אַרְבָּעָה', 'חֲמִשָׁה', 'שִׁשָׁה', 'שִׁבְעָה', 'שְׁמוֹנָה', 'תִּשְׁעָה'];
|
|
5543
5824
|
var shnei = 'שְׁנֵי';
|
|
5544
5825
|
var yamim = 'יָמִים';
|
|
5545
5826
|
var shneiYamim = shnei + ' ' + yamim;
|
|
@@ -5587,7 +5868,7 @@ function getTodayIsHe(omer) {
|
|
|
5587
5868
|
if (omer > 6) {
|
|
5588
5869
|
str = str.trim(); // remove trailing space before comma
|
|
5589
5870
|
|
|
5590
|
-
str += ',
|
|
5871
|
+
str += ', שְׁהֵם ';
|
|
5591
5872
|
var weeks = Math.floor(omer / 7);
|
|
5592
5873
|
var days = omer % 7;
|
|
5593
5874
|
|
|
@@ -5615,7 +5896,7 @@ function getTodayIsHe(omer) {
|
|
|
5615
5896
|
}
|
|
5616
5897
|
|
|
5617
5898
|
str += 'לָעוֹמֶר';
|
|
5618
|
-
return str;
|
|
5899
|
+
return str.normalize();
|
|
5619
5900
|
}
|
|
5620
5901
|
|
|
5621
5902
|
var osdate = new Date(1923, 8, 11);
|
|
@@ -5823,11 +6104,11 @@ var DafYomiEvent = /*#__PURE__*/function (_Event) {
|
|
|
5823
6104
|
return DafYomiEvent;
|
|
5824
6105
|
}(Event);
|
|
5825
6106
|
|
|
5826
|
-
var uncurryThis
|
|
6107
|
+
var uncurryThis = functionUncurryThis;
|
|
5827
6108
|
var aCallable$1 = aCallable$4;
|
|
5828
6109
|
var NATIVE_BIND = functionBindNative;
|
|
5829
6110
|
|
|
5830
|
-
var bind$1 = uncurryThis
|
|
6111
|
+
var bind$1 = uncurryThis(uncurryThis.bind);
|
|
5831
6112
|
|
|
5832
6113
|
// optional / simple context binding
|
|
5833
6114
|
var functionBindContext = function (fn, that) {
|
|
@@ -5875,7 +6156,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
5875
6156
|
|
|
5876
6157
|
var iterators = {};
|
|
5877
6158
|
|
|
5878
|
-
var wellKnownSymbol$2 = wellKnownSymbol$
|
|
6159
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
5879
6160
|
var Iterators$1 = iterators;
|
|
5880
6161
|
|
|
5881
6162
|
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
@@ -5886,63 +6167,10 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
5886
6167
|
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
|
|
5887
6168
|
};
|
|
5888
6169
|
|
|
5889
|
-
var uncurryThis = functionUncurryThis;
|
|
5890
|
-
var fails = fails$c;
|
|
5891
|
-
var isCallable = isCallable$c;
|
|
5892
|
-
var classof$1 = classof$3;
|
|
5893
|
-
var getBuiltIn = getBuiltIn$4;
|
|
5894
|
-
var inspectSource = inspectSource$3;
|
|
5895
|
-
|
|
5896
|
-
var noop = function () { /* empty */ };
|
|
5897
|
-
var empty = [];
|
|
5898
|
-
var construct = getBuiltIn('Reflect', 'construct');
|
|
5899
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
5900
|
-
var exec = uncurryThis(constructorRegExp.exec);
|
|
5901
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
5902
|
-
|
|
5903
|
-
var isConstructorModern = function isConstructor(argument) {
|
|
5904
|
-
if (!isCallable(argument)) return false;
|
|
5905
|
-
try {
|
|
5906
|
-
construct(noop, empty, argument);
|
|
5907
|
-
return true;
|
|
5908
|
-
} catch (error) {
|
|
5909
|
-
return false;
|
|
5910
|
-
}
|
|
5911
|
-
};
|
|
5912
|
-
|
|
5913
|
-
var isConstructorLegacy = function isConstructor(argument) {
|
|
5914
|
-
if (!isCallable(argument)) return false;
|
|
5915
|
-
switch (classof$1(argument)) {
|
|
5916
|
-
case 'AsyncFunction':
|
|
5917
|
-
case 'GeneratorFunction':
|
|
5918
|
-
case 'AsyncGeneratorFunction': return false;
|
|
5919
|
-
}
|
|
5920
|
-
try {
|
|
5921
|
-
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5922
|
-
// `Function#toString` throws on some built-it function in some legacy engines
|
|
5923
|
-
// (for example, `DOMQuad` and similar in FF41-)
|
|
5924
|
-
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5925
|
-
} catch (error) {
|
|
5926
|
-
return true;
|
|
5927
|
-
}
|
|
5928
|
-
};
|
|
5929
|
-
|
|
5930
|
-
isConstructorLegacy.sham = true;
|
|
5931
|
-
|
|
5932
|
-
// `IsConstructor` abstract operation
|
|
5933
|
-
// https://tc39.es/ecma262/#sec-isconstructor
|
|
5934
|
-
var isConstructor$1 = !construct || fails(function () {
|
|
5935
|
-
var called;
|
|
5936
|
-
return isConstructorModern(isConstructorModern.call)
|
|
5937
|
-
|| !isConstructorModern(Object)
|
|
5938
|
-
|| !isConstructorModern(function () { called = true; })
|
|
5939
|
-
|| called;
|
|
5940
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
5941
|
-
|
|
5942
6170
|
var classof = classof$3;
|
|
5943
6171
|
var getMethod = getMethod$3;
|
|
5944
6172
|
var Iterators = iterators;
|
|
5945
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
6173
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
5946
6174
|
|
|
5947
6175
|
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
5948
6176
|
|
|
@@ -5952,7 +6180,7 @@ var getIteratorMethod$2 = function (it) {
|
|
|
5952
6180
|
|| Iterators[classof(it)];
|
|
5953
6181
|
};
|
|
5954
6182
|
|
|
5955
|
-
var global$2 = global$
|
|
6183
|
+
var global$2 = global$s;
|
|
5956
6184
|
var call$1 = functionCall;
|
|
5957
6185
|
var aCallable = aCallable$4;
|
|
5958
6186
|
var anObject = anObject$5;
|
|
@@ -5967,15 +6195,15 @@ var getIterator$1 = function (argument, usingIterator) {
|
|
|
5967
6195
|
throw TypeError$1(tryToString(argument) + ' is not iterable');
|
|
5968
6196
|
};
|
|
5969
6197
|
|
|
5970
|
-
var global$1 = global$
|
|
6198
|
+
var global$1 = global$s;
|
|
5971
6199
|
var bind = functionBindContext;
|
|
5972
6200
|
var call = functionCall;
|
|
5973
6201
|
var toObject = toObject$3;
|
|
5974
6202
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
5975
6203
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
5976
|
-
var isConstructor = isConstructor$
|
|
5977
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
5978
|
-
var createProperty = createProperty$
|
|
6204
|
+
var isConstructor = isConstructor$2;
|
|
6205
|
+
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
6206
|
+
var createProperty = createProperty$3;
|
|
5979
6207
|
var getIterator = getIterator$1;
|
|
5980
6208
|
var getIteratorMethod = getIteratorMethod$2;
|
|
5981
6209
|
|
|
@@ -6014,7 +6242,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
|
|
|
6014
6242
|
return result;
|
|
6015
6243
|
};
|
|
6016
6244
|
|
|
6017
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
6245
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
|
6018
6246
|
|
|
6019
6247
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
6020
6248
|
var SAFE_CLOSING = false;
|
|
@@ -7460,18 +7688,18 @@ function getYahrzeit_(hyear, gdate) {
|
|
|
7460
7688
|
return undefined;
|
|
7461
7689
|
}
|
|
7462
7690
|
|
|
7463
|
-
if (hDeath.mm == CHESHVAN && hDeath.dd == 30 && !
|
|
7691
|
+
if (hDeath.mm == CHESHVAN && hDeath.dd == 30 && !longCheshvan(hDeath.yy + 1)) {
|
|
7464
7692
|
// If it's Heshvan 30 it depends on the first anniversary;
|
|
7465
7693
|
// if that was not Heshvan 30, use the day before Kislev 1.
|
|
7466
|
-
hDeath =
|
|
7467
|
-
} else if (hDeath.mm == KISLEV && hDeath.dd == 30 &&
|
|
7694
|
+
hDeath = abs2hebrew(hebrew2abs(hyear, KISLEV, 1) - 1);
|
|
7695
|
+
} else if (hDeath.mm == KISLEV && hDeath.dd == 30 && shortKislev(hDeath.yy + 1)) {
|
|
7468
7696
|
// If it's Kislev 30 it depends on the first anniversary;
|
|
7469
7697
|
// if that was not Kislev 30, use the day before Teveth 1.
|
|
7470
|
-
hDeath =
|
|
7698
|
+
hDeath = abs2hebrew(hebrew2abs(hyear, TEVET, 1) - 1);
|
|
7471
7699
|
} else if (hDeath.mm == ADAR_II) {
|
|
7472
7700
|
// If it's Adar II, use the same day in last month of year (Adar or Adar II).
|
|
7473
|
-
hDeath.mm =
|
|
7474
|
-
} else if (hDeath.mm == ADAR_I && hDeath.dd == 30 && !
|
|
7701
|
+
hDeath.mm = monthsInYear(hyear);
|
|
7702
|
+
} else if (hDeath.mm == ADAR_I && hDeath.dd == 30 && !isLeapYear(hyear)) {
|
|
7475
7703
|
// If it's the 30th in Adar I and year is not a leap year
|
|
7476
7704
|
// (so Adar has only 29 days), use the last day in Shevat.
|
|
7477
7705
|
hDeath.dd = 30;
|
|
@@ -7480,10 +7708,10 @@ function getYahrzeit_(hyear, gdate) {
|
|
|
7480
7708
|
// advance day to rosh chodesh if needed
|
|
7481
7709
|
|
|
7482
7710
|
|
|
7483
|
-
if (hDeath.mm == CHESHVAN && hDeath.dd == 30 && !
|
|
7711
|
+
if (hDeath.mm == CHESHVAN && hDeath.dd == 30 && !longCheshvan(hyear)) {
|
|
7484
7712
|
hDeath.mm = KISLEV;
|
|
7485
7713
|
hDeath.dd = 1;
|
|
7486
|
-
} else if (hDeath.mm == KISLEV && hDeath.dd == 30 &&
|
|
7714
|
+
} else if (hDeath.mm == KISLEV && hDeath.dd == 30 && shortKislev(hyear)) {
|
|
7487
7715
|
hDeath.mm = TEVET;
|
|
7488
7716
|
hDeath.dd = 1;
|
|
7489
7717
|
}
|
|
@@ -7506,19 +7734,19 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
|
|
|
7506
7734
|
return undefined;
|
|
7507
7735
|
}
|
|
7508
7736
|
|
|
7509
|
-
var isOrigLeap =
|
|
7737
|
+
var isOrigLeap = isLeapYear(origYear);
|
|
7510
7738
|
var month = orig.getMonth();
|
|
7511
7739
|
var day = orig.getDate();
|
|
7512
7740
|
|
|
7513
7741
|
if (month == ADAR_I && !isOrigLeap || month == ADAR_II && isOrigLeap) {
|
|
7514
|
-
month =
|
|
7515
|
-
} else if (month == CHESHVAN && day == 30 && !
|
|
7742
|
+
month = monthsInYear(hyear);
|
|
7743
|
+
} else if (month == CHESHVAN && day == 30 && !longCheshvan(hyear)) {
|
|
7516
7744
|
month = KISLEV;
|
|
7517
7745
|
day = 1;
|
|
7518
|
-
} else if (month == KISLEV && day == 30 &&
|
|
7746
|
+
} else if (month == KISLEV && day == 30 && shortKislev(hyear)) {
|
|
7519
7747
|
month = TEVET;
|
|
7520
7748
|
day = 1;
|
|
7521
|
-
} else if (month == ADAR_I && day == 30 && isOrigLeap && !
|
|
7749
|
+
} else if (month == ADAR_I && day == 30 && isOrigLeap && !isLeapYear(hyear)) {
|
|
7522
7750
|
month = NISAN$1;
|
|
7523
7751
|
day = 1;
|
|
7524
7752
|
}
|
|
@@ -7526,7 +7754,7 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
|
|
|
7526
7754
|
return new HDate(day, month, hyear);
|
|
7527
7755
|
}
|
|
7528
7756
|
|
|
7529
|
-
var version="3.
|
|
7757
|
+
var version="3.38.0";
|
|
7530
7758
|
|
|
7531
7759
|
var headers$1={"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"};var contexts$1={"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"]}};var poAshkenazi = {headers:headers$1,contexts:contexts$1};
|
|
7532
7760
|
|