@hebcal/leyning 7.4.4 → 8.0.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 +247 -1391
- package/dist/bundle.min.js +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +15 -17
package/dist/bundle.js
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
/*! @hebcal/leyning
|
|
1
|
+
/*! @hebcal/leyning v8.0.0 */
|
|
2
2
|
var hebcal__leyning = (function (exports, core) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
"@babel/helpers - typeof";
|
|
7
|
-
|
|
8
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
9
|
-
return typeof o;
|
|
10
|
-
} : function (o) {
|
|
11
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12
|
-
}, _typeof(o);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
var Genesis=[0,31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,54,33,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26];var Exodus=[0,22,25,22,31,23,30,29,28,35,29,10,51,22,31,27,36,16,27,25,26,37,30,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38];var Leviticus=[0,17,16,17,35,26,23,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34];var Numbers=[0,54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,35,28,32,22,29,35,41,30,25,19,65,23,31,39,17,54,42,56,29,34,13];var Deuteronomy=[0,46,37,29,49,30,25,26,20,29,22,32,31,19,29,23,22,20,22,21,20,23,29,26,22,19,19,26,69,28,20,30,52,29,12];var Joshua=[0,18,24,17,24,15,27,26,35,27,43,23,24,33,15,63,10,18,28,51,9,45,34,16,33];var Judges=[0,36,23,31,24,31,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,25];var Ruth=[0,22,23,18,22];var Isaiah=[0,31,22,26,6,30,13,25,23,20,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,11,25,24];var Jeremiah=[0,19,37,25,31,31,30,34,23,25,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34];var Lamentations=[0,22,22,66,22,22];var Baruch=[0,22,35,38,37,9,72];var Esther=[0,22,23,15,17,14,14,10,17,32,3];var Ecclesiastes=[0,18,26,22,17,19,12,29,17,18,20,10,14];var Ezekiel=[0,28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,44,37,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35];var Daniel=[0,21,49,100,34,30,29,28,27,27,21,45,13,64,42];var Hosea=[0,9,25,5,19,15,11,16,14,17,15,11,15,15,10];var Joel=[0,20,27,5,21];var Amos=[0,15,16,15,13,27,14,17,14,15];var Obadiah=[0,21];var Jonah=[0,16,11,10,11];var Micah=[0,16,13,12,14,14,16,20];var Nachum=[0,14,14,19];var Habakkuk=[0,17,20,19];var Zephaniah=[0,18,15,20];var Haggai=[0,15,23];var Zechariah=[0,17,17,10,14,11,15,14,23,17,12,17,14,9,21];var Malachi=[0,14,17,24];var numverses = {Genesis:Genesis,Exodus:Exodus,Leviticus:Leviticus,Numbers:Numbers,Deuteronomy:Deuteronomy,Joshua:Joshua,Judges:Judges,Ruth:Ruth,"I Samuel":[0,28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,16,23,28,23,43,25,12,25,11,31,13],"II Samuel":[0,27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,32,44,26,22,51,39,25],"I Kings":[0,53,46,28,20,32,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"II Kings":[0,18,25,27,44,27,33,20,29,37,36,20,22,25,29,38,20,41,37,37,21,26,20,37,20,30],Isaiah:Isaiah,Jeremiah:Jeremiah,Lamentations:Lamentations,Baruch:Baruch,Esther:Esther,Ecclesiastes:Ecclesiastes,"Song of Songs":[0,17,17,11,16,16,12,14,14],Ezekiel:Ezekiel,Daniel:Daniel,Hosea:Hosea,Joel:Joel,Amos:Amos,Obadiah:Obadiah,Jonah:Jonah,Micah:Micah,Nachum:Nachum,Habakkuk:Habakkuk,Zephaniah:Zephaniah,Haggai:Haggai,Zechariah:Zechariah,Malachi:Malachi};
|
|
5
|
+
const Genesis=[0,31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,54,33,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26];const Exodus=[0,22,25,22,31,23,30,29,28,35,29,10,51,22,31,27,36,16,27,25,26,37,30,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38];const Leviticus=[0,17,16,17,35,26,23,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34];const Numbers=[0,54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,35,28,32,22,29,35,41,30,25,19,65,23,31,39,17,54,42,56,29,34,13];const Deuteronomy=[0,46,37,29,49,30,25,26,20,29,22,32,31,19,29,23,22,20,22,21,20,23,29,26,22,19,19,26,69,28,20,30,52,29,12];const Joshua=[0,18,24,17,24,15,27,26,35,27,43,23,24,33,15,63,10,18,28,51,9,45,34,16,33];const Judges=[0,36,23,31,24,31,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,25];const Ruth=[0,22,23,18,22];const Isaiah=[0,31,22,26,6,30,13,25,23,20,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,11,25,24];const Jeremiah=[0,19,37,25,31,31,30,34,23,25,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34];const Lamentations=[0,22,22,66,22,22];const Baruch=[0,22,35,38,37,9,72];const Esther=[0,22,23,15,17,14,14,10,17,32,3];const Ecclesiastes=[0,18,26,22,17,19,12,29,17,18,20,10,14];const Ezekiel=[0,28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,44,37,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35];const Daniel=[0,21,49,100,34,30,29,28,27,27,21,45,13,64,42];const Hosea=[0,9,25,5,19,15,11,16,14,17,15,11,15,15,10];const Joel=[0,20,27,5,21];const Amos=[0,15,16,15,13,27,14,17,14,15];const Obadiah=[0,21];const Jonah=[0,16,11,10,11];const Micah=[0,16,13,12,14,14,16,20];const Nachum=[0,14,14,19];const Habakkuk=[0,17,20,19];const Zephaniah=[0,18,15,20];const Haggai=[0,15,23];const Zechariah=[0,17,17,10,14,11,15,14,23,17,12,17,14,9,21];const Malachi=[0,14,17,24];var numverses = {Genesis:Genesis,Exodus:Exodus,Leviticus:Leviticus,Numbers:Numbers,Deuteronomy:Deuteronomy,Joshua:Joshua,Judges:Judges,Ruth:Ruth,"I Samuel":[0,28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,16,23,28,23,43,25,12,25,11,31,13],"II Samuel":[0,27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,32,44,26,22,51,39,25],"I Kings":[0,53,46,28,20,32,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"II Kings":[0,18,25,27,44,27,33,20,29,37,36,20,22,25,29,38,20,41,37,37,21,26,20,37,20,30],Isaiah:Isaiah,Jeremiah:Jeremiah,Lamentations:Lamentations,Baruch:Baruch,Esther:Esther,Ecclesiastes:Ecclesiastes,"Song of Songs":[0,17,17,11,16,16,12,14,14],Ezekiel:Ezekiel,Daniel:Daniel,Hosea:Hosea,Joel:Joel,Amos:Amos,Obadiah:Obadiah,Jonah:Jonah,Micah:Micah,Nachum:Nachum,Habakkuk:Habakkuk,Zephaniah:Zephaniah,Haggai:Haggai,Zechariah:Zechariah,Malachi:Malachi};
|
|
16
6
|
|
|
17
7
|
/**
|
|
18
8
|
* Names of the books of the Torah. BOOK[1] === 'Genesis'
|
|
19
9
|
* @readonly
|
|
20
10
|
* @const {string[]}
|
|
21
11
|
*/
|
|
22
|
-
|
|
12
|
+
const BOOK = ['', 'Genesis', 'Exodus', 'Leviticus', 'Numbers', 'Deuteronomy'];
|
|
23
13
|
|
|
24
14
|
/**
|
|
25
15
|
* Formats parsha as a string
|
|
@@ -30,9 +20,9 @@ function parshaToString(parsha) {
|
|
|
30
20
|
if (typeof parsha === 'string') {
|
|
31
21
|
return parsha;
|
|
32
22
|
} else if (!Array.isArray(parsha) || parsha.length === 0 || parsha.length > 2) {
|
|
33
|
-
throw new TypeError(
|
|
23
|
+
throw new TypeError(`Bad parsha argument: ${parsha}`);
|
|
34
24
|
}
|
|
35
|
-
|
|
25
|
+
let s = parsha[0];
|
|
36
26
|
if (parsha.length == 2) {
|
|
37
27
|
s += '-' + parsha[1];
|
|
38
28
|
}
|
|
@@ -69,21 +59,21 @@ function calculateNumVerses(aliyah) {
|
|
|
69
59
|
if (aliyah.v) {
|
|
70
60
|
return aliyah.v;
|
|
71
61
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
62
|
+
const chapVerseBegin = aliyah.b.split(':');
|
|
63
|
+
const chapVerseEnd = aliyah.e.split(':');
|
|
64
|
+
const c1 = parseInt(chapVerseBegin[0], 10);
|
|
65
|
+
const c2 = parseInt(chapVerseEnd[0], 10);
|
|
66
|
+
const v1 = parseInt(chapVerseBegin[1], 10);
|
|
67
|
+
const v2 = parseInt(chapVerseEnd[1], 10);
|
|
78
68
|
if (c1 === c2) {
|
|
79
69
|
aliyah.v = v2 - v1 + 1;
|
|
80
70
|
} else if (typeof aliyah.k === 'string') {
|
|
81
|
-
|
|
82
|
-
if (
|
|
83
|
-
throw new ReferenceError(
|
|
71
|
+
const numv = numverses[aliyah.k];
|
|
72
|
+
if (typeof numv !== 'object' || !numv.length) {
|
|
73
|
+
throw new ReferenceError(`Can't find numverses for ${aliyah.k}`);
|
|
84
74
|
}
|
|
85
|
-
|
|
86
|
-
for (
|
|
75
|
+
let total = numv[c1] - v1 + 1;
|
|
76
|
+
for (let chap = c1 + 1; chap < c2; chap++) {
|
|
87
77
|
total += numv[chap];
|
|
88
78
|
}
|
|
89
79
|
total += v2;
|
|
@@ -98,7 +88,7 @@ function calculateNumVerses(aliyah) {
|
|
|
98
88
|
* @return {string}
|
|
99
89
|
*/
|
|
100
90
|
function formatAliyahWithBook(a) {
|
|
101
|
-
return
|
|
91
|
+
return `${a.k} ${a.b}-${a.e}`;
|
|
102
92
|
}
|
|
103
93
|
|
|
104
94
|
/**
|
|
@@ -108,16 +98,16 @@ function formatAliyahWithBook(a) {
|
|
|
108
98
|
* @return {string}
|
|
109
99
|
*/
|
|
110
100
|
function formatAliyahShort(aliyah, showBook) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
101
|
+
const begin = aliyah.b;
|
|
102
|
+
const end0 = aliyah.e;
|
|
103
|
+
const prefix = showBook ? aliyah.k + ' ' : '';
|
|
114
104
|
if (begin === end0) {
|
|
115
|
-
return
|
|
105
|
+
return `${prefix}${begin}`;
|
|
116
106
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return
|
|
107
|
+
const cv1 = begin.split(':');
|
|
108
|
+
const cv2 = end0.split(':');
|
|
109
|
+
const end = cv1[0] === cv2[0] ? cv2[1] : end0;
|
|
110
|
+
return `${prefix}${begin}-${end}`;
|
|
121
111
|
}
|
|
122
112
|
|
|
123
113
|
/**
|
|
@@ -126,9 +116,7 @@ function formatAliyahShort(aliyah, showBook) {
|
|
|
126
116
|
* @return {number}
|
|
127
117
|
*/
|
|
128
118
|
function sumVerses(aliyot) {
|
|
129
|
-
return Array.isArray(aliyot) ? aliyot.reduce(
|
|
130
|
-
return prev + cur.v;
|
|
131
|
-
}, 0) : aliyot.v;
|
|
119
|
+
return Array.isArray(aliyot) ? aliyot.reduce((prev, cur) => prev + cur.v, 0) : aliyot.v;
|
|
132
120
|
}
|
|
133
121
|
|
|
134
122
|
/**
|
|
@@ -140,7 +128,7 @@ function cloneHaftara(haft) {
|
|
|
140
128
|
if (!haft) {
|
|
141
129
|
return haft;
|
|
142
130
|
}
|
|
143
|
-
|
|
131
|
+
const dest = clone(haft);
|
|
144
132
|
if (Array.isArray(dest)) {
|
|
145
133
|
dest.map(calculateNumVerses);
|
|
146
134
|
} else {
|
|
@@ -156,12 +144,8 @@ function cloneHaftara(haft) {
|
|
|
156
144
|
* @return {boolean}
|
|
157
145
|
*/
|
|
158
146
|
function isChapVerseBefore(a, b) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
});
|
|
162
|
-
var cv2 = b.split(':').map(function (x) {
|
|
163
|
-
return +x;
|
|
164
|
-
});
|
|
147
|
+
const cv1 = a.split(':').map(x => +x);
|
|
148
|
+
const cv2 = b.split(':').map(x => +x);
|
|
165
149
|
return cv1[0] * 100 + cv1[1] < cv2[0] * 100 + cv2[1];
|
|
166
150
|
}
|
|
167
151
|
|
|
@@ -172,26 +156,26 @@ function isChapVerseBefore(a, b) {
|
|
|
172
156
|
* @return {Aliyah[]}
|
|
173
157
|
*/
|
|
174
158
|
function makeLeyningParts(aliyot) {
|
|
175
|
-
|
|
159
|
+
const nums = Object.keys(aliyot).filter(x => {
|
|
176
160
|
if (x.length === 1) {
|
|
177
161
|
return true;
|
|
178
162
|
}
|
|
179
|
-
|
|
163
|
+
const code = x.charCodeAt(0);
|
|
180
164
|
return code >= 48 && code <= 57;
|
|
181
165
|
});
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
for (
|
|
186
|
-
|
|
187
|
-
|
|
166
|
+
let start = aliyot[nums[0]];
|
|
167
|
+
let end = start;
|
|
168
|
+
const parts = [];
|
|
169
|
+
for (let i = 0; i < nums.length; i++) {
|
|
170
|
+
const num = nums[i];
|
|
171
|
+
const aliyah = aliyot[num];
|
|
188
172
|
if (i === nums.length - 1 && aliyah.k === end.k && aliyah.e === end.e) {
|
|
189
173
|
// short-circuit when final aliyah is within the previous (e.g. M inside of 7)
|
|
190
174
|
continue;
|
|
191
175
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
176
|
+
const prevEndChap = +end.e.split(':')[0];
|
|
177
|
+
const curStartChap = +aliyah.b.split(':')[0];
|
|
178
|
+
const sameOrNextChap = curStartChap === prevEndChap || curStartChap === prevEndChap + 1;
|
|
195
179
|
if (i !== 0 && (aliyah.k !== start.k || isChapVerseBefore(aliyah.b, start.e) || !sameOrNextChap)) {
|
|
196
180
|
parts.push({
|
|
197
181
|
k: start.k,
|
|
@@ -223,14 +207,14 @@ function makeSummaryFromParts(parts) {
|
|
|
223
207
|
if (!Array.isArray(parts)) {
|
|
224
208
|
parts = [parts];
|
|
225
209
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
for (
|
|
229
|
-
|
|
210
|
+
let prev = parts[0];
|
|
211
|
+
let summary = formatAliyahShort(prev, true);
|
|
212
|
+
for (let i = 1; i < parts.length; i++) {
|
|
213
|
+
const part = parts[i];
|
|
230
214
|
if (part.k === prev.k) {
|
|
231
215
|
summary += ', ';
|
|
232
216
|
} else {
|
|
233
|
-
summary +=
|
|
217
|
+
summary += `; ${part.k} `;
|
|
234
218
|
}
|
|
235
219
|
summary += formatAliyahShort(part, false);
|
|
236
220
|
prev = part;
|
|
@@ -244,1123 +228,11 @@ function makeSummaryFromParts(parts) {
|
|
|
244
228
|
* @return {string}
|
|
245
229
|
*/
|
|
246
230
|
function makeLeyningSummary(aliyot) {
|
|
247
|
-
|
|
231
|
+
const parts = makeLeyningParts(aliyot);
|
|
248
232
|
return makeSummaryFromParts(parts);
|
|
249
233
|
}
|
|
250
234
|
|
|
251
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
252
|
-
|
|
253
|
-
var check = function (it) {
|
|
254
|
-
return it && it.Math === Math && it;
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
258
|
-
var global$b =
|
|
259
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
260
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
261
|
-
check(typeof window == 'object' && window) ||
|
|
262
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
263
|
-
check(typeof self == 'object' && self) ||
|
|
264
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
265
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
266
|
-
(function () { return this; })() || commonjsGlobal || Function('return this')();
|
|
267
|
-
|
|
268
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
269
|
-
|
|
270
|
-
var fails$a = function (exec) {
|
|
271
|
-
try {
|
|
272
|
-
return !!exec();
|
|
273
|
-
} catch (error) {
|
|
274
|
-
return true;
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
var fails$9 = fails$a;
|
|
279
|
-
|
|
280
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
281
|
-
var descriptors = !fails$9(function () {
|
|
282
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
283
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
284
|
-
});
|
|
285
|
-
|
|
286
|
-
var fails$8 = fails$a;
|
|
287
|
-
|
|
288
|
-
var functionBindNative = !fails$8(function () {
|
|
289
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
290
|
-
var test = (function () { /* empty */ }).bind();
|
|
291
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
292
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
293
|
-
});
|
|
294
|
-
|
|
295
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
296
|
-
|
|
297
|
-
var call$4 = Function.prototype.call;
|
|
298
|
-
|
|
299
|
-
var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
|
|
300
|
-
return call$4.apply(call$4, arguments);
|
|
301
|
-
};
|
|
302
|
-
|
|
303
|
-
var objectPropertyIsEnumerable = {};
|
|
304
|
-
|
|
305
|
-
var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
|
|
306
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
307
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
308
|
-
|
|
309
|
-
// Nashorn ~ JDK8 bug
|
|
310
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
|
|
311
|
-
|
|
312
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
313
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
314
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
315
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
316
|
-
return !!descriptor && descriptor.enumerable;
|
|
317
|
-
} : $propertyIsEnumerable$1;
|
|
318
|
-
|
|
319
|
-
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
320
|
-
return {
|
|
321
|
-
enumerable: !(bitmap & 1),
|
|
322
|
-
configurable: !(bitmap & 2),
|
|
323
|
-
writable: !(bitmap & 4),
|
|
324
|
-
value: value
|
|
325
|
-
};
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
var NATIVE_BIND = functionBindNative;
|
|
329
|
-
|
|
330
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
331
|
-
var call$3 = FunctionPrototype$1.call;
|
|
332
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$3, call$3);
|
|
333
|
-
|
|
334
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
335
|
-
return function () {
|
|
336
|
-
return call$3.apply(fn, arguments);
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
341
|
-
|
|
342
|
-
var toString$1 = uncurryThis$9({}.toString);
|
|
343
|
-
var stringSlice$1 = uncurryThis$9(''.slice);
|
|
344
|
-
|
|
345
|
-
var classofRaw = function (it) {
|
|
346
|
-
return stringSlice$1(toString$1(it), 8, -1);
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
350
|
-
var fails$7 = fails$a;
|
|
351
|
-
var classof = classofRaw;
|
|
352
|
-
|
|
353
|
-
var $Object$3 = Object;
|
|
354
|
-
var split = uncurryThis$8(''.split);
|
|
355
|
-
|
|
356
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
357
|
-
var indexedObject = fails$7(function () {
|
|
358
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
359
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
360
|
-
return !$Object$3('z').propertyIsEnumerable(0);
|
|
361
|
-
}) ? function (it) {
|
|
362
|
-
return classof(it) === 'String' ? split(it, '') : $Object$3(it);
|
|
363
|
-
} : $Object$3;
|
|
364
|
-
|
|
365
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
366
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
367
|
-
var isNullOrUndefined$2 = function (it) {
|
|
368
|
-
return it === null || it === undefined;
|
|
369
|
-
};
|
|
370
|
-
|
|
371
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
372
|
-
|
|
373
|
-
var $TypeError$5 = TypeError;
|
|
374
|
-
|
|
375
|
-
// `RequireObjectCoercible` abstract operation
|
|
376
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
377
|
-
var requireObjectCoercible$2 = function (it) {
|
|
378
|
-
if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
|
|
379
|
-
return it;
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
383
|
-
var IndexedObject = indexedObject;
|
|
384
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
385
|
-
|
|
386
|
-
var toIndexedObject$4 = function (it) {
|
|
387
|
-
return IndexedObject(requireObjectCoercible$1(it));
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
391
|
-
|
|
392
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
393
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
394
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
395
|
-
|
|
396
|
-
var documentAll_1 = {
|
|
397
|
-
all: documentAll$2,
|
|
398
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
var $documentAll$1 = documentAll_1;
|
|
402
|
-
|
|
403
|
-
var documentAll$1 = $documentAll$1.all;
|
|
404
|
-
|
|
405
|
-
// `IsCallable` abstract operation
|
|
406
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
407
|
-
var isCallable$b = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
408
|
-
return typeof argument == 'function' || argument === documentAll$1;
|
|
409
|
-
} : function (argument) {
|
|
410
|
-
return typeof argument == 'function';
|
|
411
|
-
};
|
|
412
|
-
|
|
413
|
-
var isCallable$a = isCallable$b;
|
|
414
|
-
var $documentAll = documentAll_1;
|
|
415
|
-
|
|
416
|
-
var documentAll = $documentAll.all;
|
|
417
|
-
|
|
418
|
-
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
419
|
-
return typeof it == 'object' ? it !== null : isCallable$a(it) || it === documentAll;
|
|
420
|
-
} : function (it) {
|
|
421
|
-
return typeof it == 'object' ? it !== null : isCallable$a(it);
|
|
422
|
-
};
|
|
423
|
-
|
|
424
|
-
var global$a = global$b;
|
|
425
|
-
var isCallable$9 = isCallable$b;
|
|
426
|
-
|
|
427
|
-
var aFunction = function (argument) {
|
|
428
|
-
return isCallable$9(argument) ? argument : undefined;
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
var getBuiltIn$2 = function (namespace, method) {
|
|
432
|
-
return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
436
|
-
|
|
437
|
-
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
|
|
438
|
-
|
|
439
|
-
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
440
|
-
|
|
441
|
-
var global$9 = global$b;
|
|
442
|
-
var userAgent = engineUserAgent;
|
|
443
|
-
|
|
444
|
-
var process = global$9.process;
|
|
445
|
-
var Deno = global$9.Deno;
|
|
446
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
447
|
-
var v8 = versions && versions.v8;
|
|
448
|
-
var match, version;
|
|
449
|
-
|
|
450
|
-
if (v8) {
|
|
451
|
-
match = v8.split('.');
|
|
452
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
453
|
-
// but their correct versions are not interesting for us
|
|
454
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
458
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
|
459
|
-
if (!version && userAgent) {
|
|
460
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
461
|
-
if (!match || match[1] >= 74) {
|
|
462
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
463
|
-
if (match) version = +match[1];
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
var engineV8Version = version;
|
|
468
|
-
|
|
469
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
470
|
-
var V8_VERSION = engineV8Version;
|
|
471
|
-
var fails$6 = fails$a;
|
|
472
|
-
var global$8 = global$b;
|
|
473
|
-
|
|
474
|
-
var $String$3 = global$8.String;
|
|
475
|
-
|
|
476
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
477
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$6(function () {
|
|
478
|
-
var symbol = Symbol('symbol detection');
|
|
479
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
480
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
481
|
-
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
482
|
-
// of course, fail.
|
|
483
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
484
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
485
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
486
|
-
});
|
|
487
|
-
|
|
488
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
489
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
490
|
-
|
|
491
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
492
|
-
&& !Symbol.sham
|
|
493
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
494
|
-
|
|
495
|
-
var getBuiltIn$1 = getBuiltIn$2;
|
|
496
|
-
var isCallable$8 = isCallable$b;
|
|
497
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
498
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
499
|
-
|
|
500
|
-
var $Object$2 = Object;
|
|
501
|
-
|
|
502
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
503
|
-
return typeof it == 'symbol';
|
|
504
|
-
} : function (it) {
|
|
505
|
-
var $Symbol = getBuiltIn$1('Symbol');
|
|
506
|
-
return isCallable$8($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
var $String$2 = String;
|
|
510
|
-
|
|
511
|
-
var tryToString$1 = function (argument) {
|
|
512
|
-
try {
|
|
513
|
-
return $String$2(argument);
|
|
514
|
-
} catch (error) {
|
|
515
|
-
return 'Object';
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
|
|
519
|
-
var isCallable$7 = isCallable$b;
|
|
520
|
-
var tryToString = tryToString$1;
|
|
521
|
-
|
|
522
|
-
var $TypeError$4 = TypeError;
|
|
523
|
-
|
|
524
|
-
// `Assert: IsCallable(argument) is true`
|
|
525
|
-
var aCallable$1 = function (argument) {
|
|
526
|
-
if (isCallable$7(argument)) return argument;
|
|
527
|
-
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
var aCallable = aCallable$1;
|
|
531
|
-
var isNullOrUndefined = isNullOrUndefined$2;
|
|
532
|
-
|
|
533
|
-
// `GetMethod` abstract operation
|
|
534
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
535
|
-
var getMethod$1 = function (V, P) {
|
|
536
|
-
var func = V[P];
|
|
537
|
-
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
var call$2 = functionCall;
|
|
541
|
-
var isCallable$6 = isCallable$b;
|
|
542
|
-
var isObject$4 = isObject$5;
|
|
543
|
-
|
|
544
|
-
var $TypeError$3 = TypeError;
|
|
545
|
-
|
|
546
|
-
// `OrdinaryToPrimitive` abstract operation
|
|
547
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
548
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
549
|
-
var fn, val;
|
|
550
|
-
if (pref === 'string' && isCallable$6(fn = input.toString) && !isObject$4(val = call$2(fn, input))) return val;
|
|
551
|
-
if (isCallable$6(fn = input.valueOf) && !isObject$4(val = call$2(fn, input))) return val;
|
|
552
|
-
if (pref !== 'string' && isCallable$6(fn = input.toString) && !isObject$4(val = call$2(fn, input))) return val;
|
|
553
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
var shared$3 = {exports: {}};
|
|
557
|
-
|
|
558
|
-
var global$7 = global$b;
|
|
559
|
-
|
|
560
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
561
|
-
var defineProperty$1 = Object.defineProperty;
|
|
562
|
-
|
|
563
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
564
|
-
try {
|
|
565
|
-
defineProperty$1(global$7, key, { value: value, configurable: true, writable: true });
|
|
566
|
-
} catch (error) {
|
|
567
|
-
global$7[key] = value;
|
|
568
|
-
} return value;
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
var global$6 = global$b;
|
|
572
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
573
|
-
|
|
574
|
-
var SHARED = '__core-js_shared__';
|
|
575
|
-
var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
576
|
-
|
|
577
|
-
var sharedStore = store$3;
|
|
578
|
-
|
|
579
|
-
var store$2 = sharedStore;
|
|
580
|
-
|
|
581
|
-
(shared$3.exports = function (key, value) {
|
|
582
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
583
|
-
})('versions', []).push({
|
|
584
|
-
version: '3.32.1',
|
|
585
|
-
mode: 'global',
|
|
586
|
-
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
587
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE',
|
|
588
|
-
source: 'https://github.com/zloirock/core-js'
|
|
589
|
-
});
|
|
590
|
-
|
|
591
|
-
var sharedExports = shared$3.exports;
|
|
592
|
-
|
|
593
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
594
|
-
|
|
595
|
-
var $Object$1 = Object;
|
|
596
|
-
|
|
597
|
-
// `ToObject` abstract operation
|
|
598
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
599
|
-
var toObject$2 = function (argument) {
|
|
600
|
-
return $Object$1(requireObjectCoercible(argument));
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
604
|
-
var toObject$1 = toObject$2;
|
|
605
|
-
|
|
606
|
-
var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
|
|
607
|
-
|
|
608
|
-
// `HasOwnProperty` abstract operation
|
|
609
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
610
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
611
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
612
|
-
return hasOwnProperty(toObject$1(it), key);
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
616
|
-
|
|
617
|
-
var id = 0;
|
|
618
|
-
var postfix = Math.random();
|
|
619
|
-
var toString = uncurryThis$5(1.0.toString);
|
|
620
|
-
|
|
621
|
-
var uid$2 = function (key) {
|
|
622
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
var global$5 = global$b;
|
|
626
|
-
var shared$2 = sharedExports;
|
|
627
|
-
var hasOwn$7 = hasOwnProperty_1;
|
|
628
|
-
var uid$1 = uid$2;
|
|
629
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
630
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
631
|
-
|
|
632
|
-
var Symbol$1 = global$5.Symbol;
|
|
633
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
634
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
635
|
-
|
|
636
|
-
var wellKnownSymbol$1 = function (name) {
|
|
637
|
-
if (!hasOwn$7(WellKnownSymbolsStore, name)) {
|
|
638
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$7(Symbol$1, name)
|
|
639
|
-
? Symbol$1[name]
|
|
640
|
-
: createWellKnownSymbol('Symbol.' + name);
|
|
641
|
-
} return WellKnownSymbolsStore[name];
|
|
642
|
-
};
|
|
643
|
-
|
|
644
|
-
var call$1 = functionCall;
|
|
645
|
-
var isObject$3 = isObject$5;
|
|
646
|
-
var isSymbol$1 = isSymbol$2;
|
|
647
|
-
var getMethod = getMethod$1;
|
|
648
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
649
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
650
|
-
|
|
651
|
-
var $TypeError$2 = TypeError;
|
|
652
|
-
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
653
|
-
|
|
654
|
-
// `ToPrimitive` abstract operation
|
|
655
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
656
|
-
var toPrimitive$1 = function (input, pref) {
|
|
657
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
658
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
659
|
-
var result;
|
|
660
|
-
if (exoticToPrim) {
|
|
661
|
-
if (pref === undefined) pref = 'default';
|
|
662
|
-
result = call$1(exoticToPrim, input, pref);
|
|
663
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
664
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
665
|
-
}
|
|
666
|
-
if (pref === undefined) pref = 'number';
|
|
667
|
-
return ordinaryToPrimitive(input, pref);
|
|
668
|
-
};
|
|
669
|
-
|
|
670
|
-
var toPrimitive = toPrimitive$1;
|
|
671
|
-
var isSymbol = isSymbol$2;
|
|
672
|
-
|
|
673
|
-
// `ToPropertyKey` abstract operation
|
|
674
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
675
|
-
var toPropertyKey$2 = function (argument) {
|
|
676
|
-
var key = toPrimitive(argument, 'string');
|
|
677
|
-
return isSymbol(key) ? key : key + '';
|
|
678
|
-
};
|
|
679
|
-
|
|
680
|
-
var global$4 = global$b;
|
|
681
|
-
var isObject$2 = isObject$5;
|
|
682
|
-
|
|
683
|
-
var document$1 = global$4.document;
|
|
684
|
-
// typeof document.createElement is 'object' in old IE
|
|
685
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
686
|
-
|
|
687
|
-
var documentCreateElement = function (it) {
|
|
688
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
689
|
-
};
|
|
690
|
-
|
|
691
|
-
var DESCRIPTORS$7 = descriptors;
|
|
692
|
-
var fails$5 = fails$a;
|
|
693
|
-
var createElement = documentCreateElement;
|
|
694
|
-
|
|
695
|
-
// Thanks to IE8 for its funny defineProperty
|
|
696
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$5(function () {
|
|
697
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
698
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
699
|
-
get: function () { return 7; }
|
|
700
|
-
}).a !== 7;
|
|
701
|
-
});
|
|
702
|
-
|
|
703
|
-
var DESCRIPTORS$6 = descriptors;
|
|
704
|
-
var call = functionCall;
|
|
705
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
706
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
707
|
-
var toIndexedObject$3 = toIndexedObject$4;
|
|
708
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
709
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
710
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
711
|
-
|
|
712
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
713
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
714
|
-
|
|
715
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
716
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
717
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
718
|
-
O = toIndexedObject$3(O);
|
|
719
|
-
P = toPropertyKey$1(P);
|
|
720
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
721
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
722
|
-
} catch (error) { /* empty */ }
|
|
723
|
-
if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
724
|
-
};
|
|
725
|
-
|
|
726
|
-
var objectDefineProperty = {};
|
|
727
|
-
|
|
728
|
-
var DESCRIPTORS$5 = descriptors;
|
|
729
|
-
var fails$4 = fails$a;
|
|
730
|
-
|
|
731
|
-
// V8 ~ Chrome 36-
|
|
732
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
733
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$4(function () {
|
|
734
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
735
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
736
|
-
value: 42,
|
|
737
|
-
writable: false
|
|
738
|
-
}).prototype !== 42;
|
|
739
|
-
});
|
|
740
|
-
|
|
741
|
-
var isObject$1 = isObject$5;
|
|
742
|
-
|
|
743
|
-
var $String$1 = String;
|
|
744
|
-
var $TypeError$1 = TypeError;
|
|
745
|
-
|
|
746
|
-
// `Assert: Type(argument) is Object`
|
|
747
|
-
var anObject$2 = function (argument) {
|
|
748
|
-
if (isObject$1(argument)) return argument;
|
|
749
|
-
throw $TypeError$1($String$1(argument) + ' is not an object');
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
var DESCRIPTORS$4 = descriptors;
|
|
753
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
754
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
755
|
-
var anObject$1 = anObject$2;
|
|
756
|
-
var toPropertyKey = toPropertyKey$2;
|
|
757
|
-
|
|
758
|
-
var $TypeError = TypeError;
|
|
759
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
760
|
-
var $defineProperty = Object.defineProperty;
|
|
761
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
762
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
763
|
-
var ENUMERABLE = 'enumerable';
|
|
764
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
765
|
-
var WRITABLE = 'writable';
|
|
766
|
-
|
|
767
|
-
// `Object.defineProperty` method
|
|
768
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
769
|
-
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
770
|
-
anObject$1(O);
|
|
771
|
-
P = toPropertyKey(P);
|
|
772
|
-
anObject$1(Attributes);
|
|
773
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
774
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
775
|
-
if (current && current[WRITABLE]) {
|
|
776
|
-
O[P] = Attributes.value;
|
|
777
|
-
Attributes = {
|
|
778
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
779
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
780
|
-
writable: false
|
|
781
|
-
};
|
|
782
|
-
}
|
|
783
|
-
} return $defineProperty(O, P, Attributes);
|
|
784
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
785
|
-
anObject$1(O);
|
|
786
|
-
P = toPropertyKey(P);
|
|
787
|
-
anObject$1(Attributes);
|
|
788
|
-
if (IE8_DOM_DEFINE) try {
|
|
789
|
-
return $defineProperty(O, P, Attributes);
|
|
790
|
-
} catch (error) { /* empty */ }
|
|
791
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
792
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
793
|
-
return O;
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
var DESCRIPTORS$3 = descriptors;
|
|
797
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
798
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
799
|
-
|
|
800
|
-
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
|
801
|
-
return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
|
|
802
|
-
} : function (object, key, value) {
|
|
803
|
-
object[key] = value;
|
|
804
|
-
return object;
|
|
805
|
-
};
|
|
806
|
-
|
|
807
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
808
|
-
|
|
809
|
-
var DESCRIPTORS$2 = descriptors;
|
|
810
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
811
|
-
|
|
812
|
-
var FunctionPrototype = Function.prototype;
|
|
813
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
814
|
-
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
|
815
|
-
|
|
816
|
-
var EXISTS = hasOwn$5(FunctionPrototype, 'name');
|
|
817
|
-
// additional protection from minified / mangled / dropped function names
|
|
818
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
819
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
820
|
-
|
|
821
|
-
var functionName = {
|
|
822
|
-
EXISTS: EXISTS,
|
|
823
|
-
PROPER: PROPER,
|
|
824
|
-
CONFIGURABLE: CONFIGURABLE
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
828
|
-
var isCallable$5 = isCallable$b;
|
|
829
|
-
var store$1 = sharedStore;
|
|
830
|
-
|
|
831
|
-
var functionToString = uncurryThis$4(Function.toString);
|
|
832
|
-
|
|
833
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
834
|
-
if (!isCallable$5(store$1.inspectSource)) {
|
|
835
|
-
store$1.inspectSource = function (it) {
|
|
836
|
-
return functionToString(it);
|
|
837
|
-
};
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
var inspectSource$1 = store$1.inspectSource;
|
|
841
|
-
|
|
842
|
-
var global$3 = global$b;
|
|
843
|
-
var isCallable$4 = isCallable$b;
|
|
844
|
-
|
|
845
|
-
var WeakMap$1 = global$3.WeakMap;
|
|
846
|
-
|
|
847
|
-
var weakMapBasicDetection = isCallable$4(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
848
|
-
|
|
849
|
-
var shared$1 = sharedExports;
|
|
850
|
-
var uid = uid$2;
|
|
851
|
-
|
|
852
|
-
var keys = shared$1('keys');
|
|
853
|
-
|
|
854
|
-
var sharedKey$2 = function (key) {
|
|
855
|
-
return keys[key] || (keys[key] = uid(key));
|
|
856
|
-
};
|
|
857
|
-
|
|
858
|
-
var hiddenKeys$3 = {};
|
|
859
|
-
|
|
860
|
-
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
861
|
-
var global$2 = global$b;
|
|
862
|
-
var isObject = isObject$5;
|
|
863
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
|
864
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
865
|
-
var shared = sharedStore;
|
|
866
|
-
var sharedKey$1 = sharedKey$2;
|
|
867
|
-
var hiddenKeys$2 = hiddenKeys$3;
|
|
868
|
-
|
|
869
|
-
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
870
|
-
var TypeError$1 = global$2.TypeError;
|
|
871
|
-
var WeakMap = global$2.WeakMap;
|
|
872
|
-
var set, get, has;
|
|
873
|
-
|
|
874
|
-
var enforce = function (it) {
|
|
875
|
-
return has(it) ? get(it) : set(it, {});
|
|
876
|
-
};
|
|
877
|
-
|
|
878
|
-
var getterFor = function (TYPE) {
|
|
879
|
-
return function (it) {
|
|
880
|
-
var state;
|
|
881
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
882
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
883
|
-
} return state;
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
|
|
887
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
|
888
|
-
var store = shared.state || (shared.state = new WeakMap());
|
|
889
|
-
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
890
|
-
store.get = store.get;
|
|
891
|
-
store.has = store.has;
|
|
892
|
-
store.set = store.set;
|
|
893
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
894
|
-
set = function (it, metadata) {
|
|
895
|
-
if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
896
|
-
metadata.facade = it;
|
|
897
|
-
store.set(it, metadata);
|
|
898
|
-
return metadata;
|
|
899
|
-
};
|
|
900
|
-
get = function (it) {
|
|
901
|
-
return store.get(it) || {};
|
|
902
|
-
};
|
|
903
|
-
has = function (it) {
|
|
904
|
-
return store.has(it);
|
|
905
|
-
};
|
|
906
|
-
} else {
|
|
907
|
-
var STATE = sharedKey$1('state');
|
|
908
|
-
hiddenKeys$2[STATE] = true;
|
|
909
|
-
set = function (it, metadata) {
|
|
910
|
-
if (hasOwn$4(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
911
|
-
metadata.facade = it;
|
|
912
|
-
createNonEnumerableProperty$1(it, STATE, metadata);
|
|
913
|
-
return metadata;
|
|
914
|
-
};
|
|
915
|
-
get = function (it) {
|
|
916
|
-
return hasOwn$4(it, STATE) ? it[STATE] : {};
|
|
917
|
-
};
|
|
918
|
-
has = function (it) {
|
|
919
|
-
return hasOwn$4(it, STATE);
|
|
920
|
-
};
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
var internalState = {
|
|
924
|
-
set: set,
|
|
925
|
-
get: get,
|
|
926
|
-
has: has,
|
|
927
|
-
enforce: enforce,
|
|
928
|
-
getterFor: getterFor
|
|
929
|
-
};
|
|
930
|
-
|
|
931
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
932
|
-
var fails$3 = fails$a;
|
|
933
|
-
var isCallable$3 = isCallable$b;
|
|
934
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
935
|
-
var DESCRIPTORS$1 = descriptors;
|
|
936
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
937
|
-
var inspectSource = inspectSource$1;
|
|
938
|
-
var InternalStateModule = internalState;
|
|
939
|
-
|
|
940
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
941
|
-
var getInternalState = InternalStateModule.get;
|
|
942
|
-
var $String = String;
|
|
943
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
944
|
-
var defineProperty = Object.defineProperty;
|
|
945
|
-
var stringSlice = uncurryThis$3(''.slice);
|
|
946
|
-
var replace = uncurryThis$3(''.replace);
|
|
947
|
-
var join = uncurryThis$3([].join);
|
|
948
|
-
|
|
949
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () {
|
|
950
|
-
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
951
|
-
});
|
|
952
|
-
|
|
953
|
-
var TEMPLATE = String(String).split('String');
|
|
954
|
-
|
|
955
|
-
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
956
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
957
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
958
|
-
}
|
|
959
|
-
if (options && options.getter) name = 'get ' + name;
|
|
960
|
-
if (options && options.setter) name = 'set ' + name;
|
|
961
|
-
if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
962
|
-
if (DESCRIPTORS$1) defineProperty(value, 'name', { value: name, configurable: true });
|
|
963
|
-
else value.name = name;
|
|
964
|
-
}
|
|
965
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
|
|
966
|
-
defineProperty(value, 'length', { value: options.arity });
|
|
967
|
-
}
|
|
968
|
-
try {
|
|
969
|
-
if (options && hasOwn$3(options, 'constructor') && options.constructor) {
|
|
970
|
-
if (DESCRIPTORS$1) defineProperty(value, 'prototype', { writable: false });
|
|
971
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
972
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
973
|
-
} catch (error) { /* empty */ }
|
|
974
|
-
var state = enforceInternalState(value);
|
|
975
|
-
if (!hasOwn$3(state, 'source')) {
|
|
976
|
-
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
977
|
-
} return value;
|
|
978
|
-
};
|
|
979
|
-
|
|
980
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
981
|
-
// eslint-disable-next-line no-extend-native -- required
|
|
982
|
-
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
983
|
-
return isCallable$3(this) && getInternalState(this).source || inspectSource(this);
|
|
984
|
-
}, 'toString');
|
|
985
|
-
|
|
986
|
-
var makeBuiltInExports = makeBuiltIn$2.exports;
|
|
987
|
-
|
|
988
|
-
var isCallable$2 = isCallable$b;
|
|
989
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
990
|
-
var makeBuiltIn = makeBuiltInExports;
|
|
991
|
-
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
992
|
-
|
|
993
|
-
var defineBuiltIn$1 = function (O, key, value, options) {
|
|
994
|
-
if (!options) options = {};
|
|
995
|
-
var simple = options.enumerable;
|
|
996
|
-
var name = options.name !== undefined ? options.name : key;
|
|
997
|
-
if (isCallable$2(value)) makeBuiltIn(value, name, options);
|
|
998
|
-
if (options.global) {
|
|
999
|
-
if (simple) O[key] = value;
|
|
1000
|
-
else defineGlobalProperty$1(key, value);
|
|
1001
|
-
} else {
|
|
1002
|
-
try {
|
|
1003
|
-
if (!options.unsafe) delete O[key];
|
|
1004
|
-
else if (O[key]) simple = true;
|
|
1005
|
-
} catch (error) { /* empty */ }
|
|
1006
|
-
if (simple) O[key] = value;
|
|
1007
|
-
else definePropertyModule$1.f(O, key, {
|
|
1008
|
-
value: value,
|
|
1009
|
-
enumerable: false,
|
|
1010
|
-
configurable: !options.nonConfigurable,
|
|
1011
|
-
writable: !options.nonWritable
|
|
1012
|
-
});
|
|
1013
|
-
} return O;
|
|
1014
|
-
};
|
|
1015
|
-
|
|
1016
|
-
var objectGetOwnPropertyNames = {};
|
|
1017
|
-
|
|
1018
|
-
var ceil = Math.ceil;
|
|
1019
|
-
var floor = Math.floor;
|
|
1020
|
-
|
|
1021
|
-
// `Math.trunc` method
|
|
1022
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
1023
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
1024
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
1025
|
-
var n = +x;
|
|
1026
|
-
return (n > 0 ? floor : ceil)(n);
|
|
1027
|
-
};
|
|
1028
|
-
|
|
1029
|
-
var trunc = mathTrunc;
|
|
1030
|
-
|
|
1031
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
1032
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
1033
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
|
1034
|
-
var number = +argument;
|
|
1035
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1036
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
1037
|
-
};
|
|
1038
|
-
|
|
1039
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
1040
|
-
|
|
1041
|
-
var max = Math.max;
|
|
1042
|
-
var min$1 = Math.min;
|
|
1043
|
-
|
|
1044
|
-
// Helper for a popular repeating case of the spec:
|
|
1045
|
-
// Let integer be ? ToInteger(index).
|
|
1046
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
1047
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
1048
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
1049
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
1050
|
-
};
|
|
1051
|
-
|
|
1052
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
1053
|
-
|
|
1054
|
-
var min = Math.min;
|
|
1055
|
-
|
|
1056
|
-
// `ToLength` abstract operation
|
|
1057
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
1058
|
-
var toLength$1 = function (argument) {
|
|
1059
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
|
-
var toLength = toLength$1;
|
|
1063
|
-
|
|
1064
|
-
// `LengthOfArrayLike` abstract operation
|
|
1065
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
1066
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
1067
|
-
return toLength(obj.length);
|
|
1068
|
-
};
|
|
1069
|
-
|
|
1070
|
-
var toIndexedObject$2 = toIndexedObject$4;
|
|
1071
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1072
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
1073
|
-
|
|
1074
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1075
|
-
var createMethod$1 = function (IS_INCLUDES) {
|
|
1076
|
-
return function ($this, el, fromIndex) {
|
|
1077
|
-
var O = toIndexedObject$2($this);
|
|
1078
|
-
var length = lengthOfArrayLike(O);
|
|
1079
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
1080
|
-
var value;
|
|
1081
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
1082
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1083
|
-
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
1084
|
-
value = O[index++];
|
|
1085
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1086
|
-
if (value !== value) return true;
|
|
1087
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
1088
|
-
} else for (;length > index; index++) {
|
|
1089
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
1090
|
-
} return !IS_INCLUDES && -1;
|
|
1091
|
-
};
|
|
1092
|
-
};
|
|
1093
|
-
|
|
1094
|
-
var arrayIncludes = {
|
|
1095
|
-
// `Array.prototype.includes` method
|
|
1096
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1097
|
-
includes: createMethod$1(true),
|
|
1098
|
-
// `Array.prototype.indexOf` method
|
|
1099
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1100
|
-
indexOf: createMethod$1(false)
|
|
1101
|
-
};
|
|
1102
|
-
|
|
1103
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
1104
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
1105
|
-
var toIndexedObject$1 = toIndexedObject$4;
|
|
1106
|
-
var indexOf = arrayIncludes.indexOf;
|
|
1107
|
-
var hiddenKeys$1 = hiddenKeys$3;
|
|
1108
|
-
|
|
1109
|
-
var push$1 = uncurryThis$2([].push);
|
|
1110
|
-
|
|
1111
|
-
var objectKeysInternal = function (object, names) {
|
|
1112
|
-
var O = toIndexedObject$1(object);
|
|
1113
|
-
var i = 0;
|
|
1114
|
-
var result = [];
|
|
1115
|
-
var key;
|
|
1116
|
-
for (key in O) !hasOwn$2(hiddenKeys$1, key) && hasOwn$2(O, key) && push$1(result, key);
|
|
1117
|
-
// Don't enum bug & hidden keys
|
|
1118
|
-
while (names.length > i) if (hasOwn$2(O, key = names[i++])) {
|
|
1119
|
-
~indexOf(result, key) || push$1(result, key);
|
|
1120
|
-
}
|
|
1121
|
-
return result;
|
|
1122
|
-
};
|
|
1123
|
-
|
|
1124
|
-
// IE8- don't enum bug keys
|
|
1125
|
-
var enumBugKeys$2 = [
|
|
1126
|
-
'constructor',
|
|
1127
|
-
'hasOwnProperty',
|
|
1128
|
-
'isPrototypeOf',
|
|
1129
|
-
'propertyIsEnumerable',
|
|
1130
|
-
'toLocaleString',
|
|
1131
|
-
'toString',
|
|
1132
|
-
'valueOf'
|
|
1133
|
-
];
|
|
1134
|
-
|
|
1135
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
1136
|
-
var enumBugKeys$1 = enumBugKeys$2;
|
|
1137
|
-
|
|
1138
|
-
var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
|
|
1139
|
-
|
|
1140
|
-
// `Object.getOwnPropertyNames` method
|
|
1141
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1142
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
1143
|
-
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1144
|
-
return internalObjectKeys$1(O, hiddenKeys);
|
|
1145
|
-
};
|
|
1146
|
-
|
|
1147
|
-
var objectGetOwnPropertySymbols = {};
|
|
1148
|
-
|
|
1149
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1150
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1151
|
-
|
|
1152
|
-
var getBuiltIn = getBuiltIn$2;
|
|
1153
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
1154
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1155
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1156
|
-
var anObject = anObject$2;
|
|
1157
|
-
|
|
1158
|
-
var concat = uncurryThis$1([].concat);
|
|
1159
|
-
|
|
1160
|
-
// all object keys, includes non-enumerable and symbols
|
|
1161
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1162
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
1163
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1164
|
-
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
1168
|
-
var ownKeys = ownKeys$1;
|
|
1169
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1170
|
-
var definePropertyModule = objectDefineProperty;
|
|
1171
|
-
|
|
1172
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1173
|
-
var keys = ownKeys(source);
|
|
1174
|
-
var defineProperty = definePropertyModule.f;
|
|
1175
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1176
|
-
for (var i = 0; i < keys.length; i++) {
|
|
1177
|
-
var key = keys[i];
|
|
1178
|
-
if (!hasOwn$1(target, key) && !(exceptions && hasOwn$1(exceptions, key))) {
|
|
1179
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
};
|
|
1183
|
-
|
|
1184
|
-
var fails$2 = fails$a;
|
|
1185
|
-
var isCallable$1 = isCallable$b;
|
|
1186
|
-
|
|
1187
|
-
var replacement = /#|\.prototype\./;
|
|
1188
|
-
|
|
1189
|
-
var isForced$1 = function (feature, detection) {
|
|
1190
|
-
var value = data[normalize(feature)];
|
|
1191
|
-
return value === POLYFILL ? true
|
|
1192
|
-
: value === NATIVE ? false
|
|
1193
|
-
: isCallable$1(detection) ? fails$2(detection)
|
|
1194
|
-
: !!detection;
|
|
1195
|
-
};
|
|
1196
|
-
|
|
1197
|
-
var normalize = isForced$1.normalize = function (string) {
|
|
1198
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
|
1199
|
-
};
|
|
1200
|
-
|
|
1201
|
-
var data = isForced$1.data = {};
|
|
1202
|
-
var NATIVE = isForced$1.NATIVE = 'N';
|
|
1203
|
-
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
1204
|
-
|
|
1205
|
-
var isForced_1 = isForced$1;
|
|
1206
|
-
|
|
1207
|
-
var global$1 = global$b;
|
|
1208
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1209
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
1210
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
1211
|
-
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1212
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1213
|
-
var isForced = isForced_1;
|
|
1214
|
-
|
|
1215
|
-
/*
|
|
1216
|
-
options.target - name of the target object
|
|
1217
|
-
options.global - target is the global object
|
|
1218
|
-
options.stat - export as static methods of target
|
|
1219
|
-
options.proto - export as prototype methods of target
|
|
1220
|
-
options.real - real prototype method for the `pure` version
|
|
1221
|
-
options.forced - export even if the native feature is available
|
|
1222
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
1223
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1224
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1225
|
-
options.sham - add a flag to not completely full polyfills
|
|
1226
|
-
options.enumerable - export as enumerable property
|
|
1227
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
1228
|
-
options.name - the .name of the function if it does not match the key
|
|
1229
|
-
*/
|
|
1230
|
-
var _export = function (options, source) {
|
|
1231
|
-
var TARGET = options.target;
|
|
1232
|
-
var GLOBAL = options.global;
|
|
1233
|
-
var STATIC = options.stat;
|
|
1234
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1235
|
-
if (GLOBAL) {
|
|
1236
|
-
target = global$1;
|
|
1237
|
-
} else if (STATIC) {
|
|
1238
|
-
target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1239
|
-
} else {
|
|
1240
|
-
target = (global$1[TARGET] || {}).prototype;
|
|
1241
|
-
}
|
|
1242
|
-
if (target) for (key in source) {
|
|
1243
|
-
sourceProperty = source[key];
|
|
1244
|
-
if (options.dontCallGetSet) {
|
|
1245
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1246
|
-
targetProperty = descriptor && descriptor.value;
|
|
1247
|
-
} else targetProperty = target[key];
|
|
1248
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1249
|
-
// contained in target
|
|
1250
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
1251
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1252
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1253
|
-
}
|
|
1254
|
-
// add a flag to not completely full polyfills
|
|
1255
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1256
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1257
|
-
}
|
|
1258
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
1259
|
-
}
|
|
1260
|
-
};
|
|
1261
|
-
|
|
1262
|
-
var fails$1 = fails$a;
|
|
1263
|
-
|
|
1264
|
-
var correctPrototypeGetter = !fails$1(function () {
|
|
1265
|
-
function F() { /* empty */ }
|
|
1266
|
-
F.prototype.constructor = null;
|
|
1267
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1268
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1269
|
-
});
|
|
1270
|
-
|
|
1271
|
-
var hasOwn = hasOwnProperty_1;
|
|
1272
|
-
var isCallable = isCallable$b;
|
|
1273
|
-
var toObject = toObject$2;
|
|
1274
|
-
var sharedKey = sharedKey$2;
|
|
1275
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1276
|
-
|
|
1277
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1278
|
-
var $Object = Object;
|
|
1279
|
-
var ObjectPrototype = $Object.prototype;
|
|
1280
|
-
|
|
1281
|
-
// `Object.getPrototypeOf` method
|
|
1282
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1283
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1284
|
-
var objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1285
|
-
var object = toObject(O);
|
|
1286
|
-
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
|
|
1287
|
-
var constructor = object.constructor;
|
|
1288
|
-
if (isCallable(constructor) && object instanceof constructor) {
|
|
1289
|
-
return constructor.prototype;
|
|
1290
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1291
|
-
};
|
|
1292
|
-
|
|
1293
|
-
var internalObjectKeys = objectKeysInternal;
|
|
1294
|
-
var enumBugKeys = enumBugKeys$2;
|
|
1295
|
-
|
|
1296
|
-
// `Object.keys` method
|
|
1297
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
1298
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1299
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
|
1300
|
-
return internalObjectKeys(O, enumBugKeys);
|
|
1301
|
-
};
|
|
1302
|
-
|
|
1303
|
-
var DESCRIPTORS = descriptors;
|
|
1304
|
-
var fails = fails$a;
|
|
1305
|
-
var uncurryThis = functionUncurryThis;
|
|
1306
|
-
var objectGetPrototypeOf = objectGetPrototypeOf$1;
|
|
1307
|
-
var objectKeys = objectKeys$1;
|
|
1308
|
-
var toIndexedObject = toIndexedObject$4;
|
|
1309
|
-
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
1310
|
-
|
|
1311
|
-
var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
|
|
1312
|
-
var push = uncurryThis([].push);
|
|
1313
|
-
|
|
1314
|
-
// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys
|
|
1315
|
-
// of `null` prototype objects
|
|
1316
|
-
var IE_BUG = DESCRIPTORS && fails(function () {
|
|
1317
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
1318
|
-
var O = Object.create(null);
|
|
1319
|
-
O[2] = 2;
|
|
1320
|
-
return !propertyIsEnumerable(O, 2);
|
|
1321
|
-
});
|
|
1322
|
-
|
|
1323
|
-
// `Object.{ entries, values }` methods implementation
|
|
1324
|
-
var createMethod = function (TO_ENTRIES) {
|
|
1325
|
-
return function (it) {
|
|
1326
|
-
var O = toIndexedObject(it);
|
|
1327
|
-
var keys = objectKeys(O);
|
|
1328
|
-
var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;
|
|
1329
|
-
var length = keys.length;
|
|
1330
|
-
var i = 0;
|
|
1331
|
-
var result = [];
|
|
1332
|
-
var key;
|
|
1333
|
-
while (length > i) {
|
|
1334
|
-
key = keys[i++];
|
|
1335
|
-
if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {
|
|
1336
|
-
push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
return result;
|
|
1340
|
-
};
|
|
1341
|
-
};
|
|
1342
|
-
|
|
1343
|
-
var objectToArray = {
|
|
1344
|
-
// `Object.entries` method
|
|
1345
|
-
// https://tc39.es/ecma262/#sec-object.entries
|
|
1346
|
-
entries: createMethod(true),
|
|
1347
|
-
// `Object.values` method
|
|
1348
|
-
// https://tc39.es/ecma262/#sec-object.values
|
|
1349
|
-
values: createMethod(false)
|
|
1350
|
-
};
|
|
1351
|
-
|
|
1352
|
-
var $ = _export;
|
|
1353
|
-
var $values = objectToArray.values;
|
|
1354
|
-
|
|
1355
|
-
// `Object.values` method
|
|
1356
|
-
// https://tc39.es/ecma262/#sec-object.values
|
|
1357
|
-
$({ target: 'Object', stat: true }, {
|
|
1358
|
-
values: function values(O) {
|
|
1359
|
-
return $values(O);
|
|
1360
|
-
}
|
|
1361
|
-
});
|
|
1362
|
-
|
|
1363
|
-
var Shavuot={note:"Israel only",il:true,megillah:"Ruth",haft:[{k:"Ezekiel",b:"1:1",e:"1:28"},{k:"Ezekiel",b:"3:12",e:"3:12"}],fullkriyah:{"1":{p:17,k:2,b:"19:1",e:"19:6"},"2":{p:17,k:2,b:"19:7",e:"19:13"},"3":{p:17,k:2,b:"19:14",e:"19:19"},"4":{p:17,k:2,b:"19:20",e:"20:14"},"5":{p:17,k:2,b:"20:15",e:"20:23"},M:{p:41,k:4,b:"28:26",e:"28:31"}}};var Purim={megillah:"Esther",fullkriyah:{"1":{p:16,k:2,b:"17:8",e:"17:10"},"2":{p:16,k:2,b:"17:11",e:"17:13"},"3":{p:16,k:2,b:"17:14",e:"17:16"}}};var festivals = {"Pesach I":{haft:{k:"Joshua",b:"5:2",e:"6:1"},fullkriyah:{"1":{p:15,k:2,b:"12:21",e:"12:24"},"2":{p:15,k:2,b:"12:25",e:"12:28"},"3":{p:15,k:2,b:"12:29",e:"12:36"},"4":{p:15,k:2,b:"12:37",e:"12:42"},"5":{p:15,k:2,b:"12:43",e:"12:51"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach I (on Shabbat)":{haft:{k:"Joshua",b:"5:2",e:"6:1"},fullkriyah:{"1":{p:15,k:2,b:"12:21",e:"12:24"},"2":{p:15,k:2,b:"12:25",e:"12:28"},"3":{p:15,k:2,b:"12:29",e:"12:32"},"4":{p:15,k:2,b:"12:33",e:"12:36"},"5":{p:15,k:2,b:"12:37",e:"12:42"},"6":{p:15,k:2,b:"12:43",e:"12:47"},"7":{p:15,k:2,b:"12:48",e:"12:51"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach II":{haft:[{k:"II Kings",b:"23:1",e:"23:9"},{k:"II Kings",b:"23:21",e:"23:25"}],fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:3"},"2":{p:31,k:3,b:"23:4",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:22"},"4":{p:31,k:3,b:"23:23",e:"23:32"},"5":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach II (CH''M)":{note:"Israel only - according to Vaani T'fillati Siddur Yisraeli",il:true,fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:8"},"2":{p:31,k:3,b:"23:9",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:44"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 1":{fullkriyah:{"1":{p:15,k:2,b:"13:1",e:"13:4"},"2":{p:15,k:2,b:"13:5",e:"13:10"},"3":{p:15,k:2,b:"13:11",e:"13:16"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 2":{fullkriyah:{"1":{p:18,k:2,b:"22:24",e:"22:26"},"2":{p:18,k:2,b:"22:27",e:"23:5"},"3":{p:18,k:2,b:"23:6",e:"23:19"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 3":{fullkriyah:{"1":{p:21,k:2,b:"34:1",e:"34:10"},"2":{p:21,k:2,b:"34:11",e:"34:17"},"3":{p:21,k:2,b:"34:18",e:"34:26"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 4":{fullkriyah:{"1":{p:36,k:4,b:"9:1",e:"9:5"},"2":{p:36,k:4,b:"9:6",e:"9:8"},"3":{p:36,k:4,b:"9:9",e:"9:14"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Shabbat Chol ha-Moed":{megillah:"Song of Songs",haft:{k:"Ezekiel",b:"37:1",e:"37:14"},fullkriyah:{"1":{p:21,k:2,b:"33:12",e:"33:16"},"2":{p:21,k:2,b:"33:17",e:"33:19"},"3":{p:21,k:2,b:"33:20",e:"33:23"},"4":{p:21,k:2,b:"34:1",e:"34:3"},"5":{p:21,k:2,b:"34:4",e:"34:10"},"6":{p:21,k:2,b:"34:11",e:"34:17"},"7":{p:21,k:2,b:"34:18",e:"34:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VII":{haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{"1":{p:16,k:2,b:"13:17",e:"13:22"},"2":{p:16,k:2,b:"14:1",e:"14:8"},"3":{p:16,k:2,b:"14:9",e:"14:14"},"4":{p:16,k:2,b:"14:15",e:"14:25"},"5":{p:16,k:2,b:"14:26",e:"15:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VII (on Shabbat)":{haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{"1":{p:16,k:2,b:"13:17",e:"13:19"},"2":{p:16,k:2,b:"13:20",e:"13:22"},"3":{p:16,k:2,b:"14:1",e:"14:4"},"4":{p:16,k:2,b:"14:5",e:"14:8"},"5":{p:16,k:2,b:"14:9",e:"14:14"},"6":{p:16,k:2,b:"14:15",e:"14:25"},"7":{p:16,k:2,b:"14:26",e:"15:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VIII":{haft:{k:"Isaiah",b:"10:32",e:"12:6"},fullkriyah:{"1":{p:47,k:5,b:"15:19",e:"15:23"},"2":{p:47,k:5,b:"16:1",e:"16:3"},"3":{p:47,k:5,b:"16:4",e:"16:8"},"4":{p:47,k:5,b:"16:9",e:"16:12"},"5":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VIII (on Shabbat)":{haft:{k:"Isaiah",b:"10:32",e:"12:6"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"15:23"},"4":{p:47,k:5,b:"16:1",e:"16:3"},"5":{p:47,k:5,b:"16:4",e:"16:8"},"6":{p:47,k:5,b:"16:9",e:"16:12"},"7":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach III (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 1"},"Pesach IV (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 2"},"Pesach V (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 3"},"Pesach VI (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 4"},"Pesach Chol ha-Moed Day 2 on Sunday":{alias:true,il:false,key:"Pesach Chol ha-Moed Day 1"},"Pesach Chol ha-Moed Day 3 on Monday":{alias:true,il:false,key:"Pesach Chol ha-Moed Day 2"},Shavuot:Shavuot,"Shavuot I":{haft:[{k:"Ezekiel",b:"1:1",e:"1:28"},{k:"Ezekiel",b:"3:12",e:"3:12"}],fullkriyah:{"1":{p:17,k:2,b:"19:1",e:"19:6"},"2":{p:17,k:2,b:"19:7",e:"19:13"},"3":{p:17,k:2,b:"19:14",e:"19:19"},"4":{p:17,k:2,b:"19:20",e:"20:14"},"5":{p:17,k:2,b:"20:15",e:"20:23"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot II":{megillah:"Ruth",haft:{k:"Habakkuk",b:"3:1",e:"3:19"},fullkriyah:{"1":{p:47,k:5,b:"15:19",e:"15:23"},"2":{p:47,k:5,b:"16:1",e:"16:3"},"3":{p:47,k:5,b:"16:4",e:"16:8"},"4":{p:47,k:5,b:"16:9",e:"16:12"},"5":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot II (on Shabbat)":{megillah:"Ruth",haft:{k:"Habakkuk",b:"3:1",e:"3:19"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"15:23"},"4":{p:47,k:5,b:"16:1",e:"16:3"},"5":{p:47,k:5,b:"16:4",e:"16:8"},"6":{p:47,k:5,b:"16:9",e:"16:12"},"7":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Fast Day (Morning)":{fullkriyah:{"1":{p:21,k:2,b:"32:11",e:"32:14"},"2":{p:21,k:2,b:"34:1",e:"34:3"},"3":{p:21,k:2,b:"34:4",e:"34:10"}}},"Fast Day (Afternoon)":{haft:{k:"Isaiah",b:"55:6",e:"56:8"},fullkriyah:{"1":{p:21,k:2,b:"32:11",e:"32:14"},"2":{p:21,k:2,b:"34:1",e:"34:3"},M:{p:21,k:2,b:"34:4",e:"34:10"}}},"Asara B'Tevet":{alias:true,key:"Fast Day (Morning)"},"Ta'anit Esther":{alias:true,key:"Fast Day (Morning)"},"Tzom Gedaliah":{alias:true,key:"Fast Day (Morning)"},"Tzom Tammuz":{alias:true,key:"Fast Day (Morning)"},"Asara B'Tevet (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Ta'anit Esther (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Tzom Gedaliah (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Tzom Tammuz (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Erev Tish'a B'Av":{megillah:"Lamentations"},"Tish'a B'Av":{haft:{k:"Jeremiah",b:"8:13",e:"9:23"},fullkriyah:{"1":{p:45,k:5,b:"4:25",e:"4:29"},"2":{p:45,k:5,b:"4:30",e:"4:35"},"3":{p:45,k:5,b:"4:36",e:"4:40"}}},"Tish'a B'Av (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Rosh Hashana I":{haft:{k:"I Samuel",b:"1:1",e:"2:10"},fullkriyah:{"1":{p:4,k:1,b:"21:1",e:"21:4"},"2":{p:4,k:1,b:"21:5",e:"21:12"},"3":{p:4,k:1,b:"21:13",e:"21:21"},"4":{p:4,k:1,b:"21:22",e:"21:27"},"5":{p:4,k:1,b:"21:28",e:"21:34"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Rosh Hashana I (on Shabbat)":{haft:{k:"I Samuel",b:"1:1",e:"2:10"},fullkriyah:{"1":{p:4,k:1,b:"21:1",e:"21:4"},"2":{p:4,k:1,b:"21:5",e:"21:8"},"3":{p:4,k:1,b:"21:9",e:"21:12"},"4":{p:4,k:1,b:"21:13",e:"21:17"},"5":{p:4,k:1,b:"21:18",e:"21:21"},"6":{p:4,k:1,b:"21:22",e:"21:27"},"7":{p:4,k:1,b:"21:28",e:"21:34"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Rosh Hashana II":{haft:{k:"Jeremiah",b:"31:1",e:"31:19"},fullkriyah:{"1":{p:4,k:1,b:"22:1",e:"22:3"},"2":{p:4,k:1,b:"22:4",e:"22:8"},"3":{p:4,k:1,b:"22:9",e:"22:14"},"4":{p:4,k:1,b:"22:15",e:"22:19"},"5":{p:4,k:1,b:"22:20",e:"22:24"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Yom Kippur":{haft:{k:"Isaiah",b:"57:14",e:"58:14"},fullkriyah:{"1":{p:29,k:3,b:"16:1",e:"16:6"},"2":{p:29,k:3,b:"16:7",e:"16:11"},"3":{p:29,k:3,b:"16:12",e:"16:17"},"4":{p:29,k:3,b:"16:18",e:"16:24"},"5":{p:29,k:3,b:"16:25",e:"16:30"},"6":{p:29,k:3,b:"16:31",e:"16:34"},M:{p:41,k:4,b:"29:7",e:"29:11"}}},"Yom Kippur (on Shabbat)":{haft:{k:"Isaiah",b:"57:14",e:"58:14"},fullkriyah:{"1":{p:29,k:3,b:"16:1",e:"16:3"},"2":{p:29,k:3,b:"16:4",e:"16:6"},"3":{p:29,k:3,b:"16:7",e:"16:11"},"4":{p:29,k:3,b:"16:12",e:"16:17"},"5":{p:29,k:3,b:"16:18",e:"16:24"},"6":{p:29,k:3,b:"16:25",e:"16:30"},"7":{p:29,k:3,b:"16:31",e:"16:34"},M:{p:41,k:4,b:"29:7",e:"29:11"}}},"Yom Kippur (Mincha)":{alias:true,key:"Yom Kippur (Mincha, Traditional)"},"Yom Kippur (Mincha, Traditional)":{haft:[{k:"Jonah",b:"1:1",e:"4:11"},{k:"Micah",b:"7:18",e:"7:20"}],fullkriyah:{"1":{p:29,k:3,b:"18:1",e:"18:5"},"2":{p:29,k:3,b:"18:6",e:"18:21"},M:{p:29,k:3,b:"18:22",e:"18:30"}}},"Yom Kippur (Mincha, Alternate)":{haft:[{k:"Jonah",b:"1:1",e:"4:11"},{k:"Micah",b:"7:18",e:"7:20"}],fullkriyah:{"1":{p:30,k:3,b:"19:1",e:"19:4"},"2":{p:30,k:3,b:"19:5",e:"19:10"},M:{p:30,k:3,b:"19:11",e:"19:18"}}},"Sukkot I":{haft:{k:"Zechariah",b:"14:1",e:"14:21"},fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:3"},"2":{p:31,k:3,b:"23:4",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:22"},"4":{p:31,k:3,b:"23:23",e:"23:32"},"5":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot I (on Shabbat)":{haft:{k:"Zechariah",b:"14:1",e:"14:21"},fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"22:33"},"2":{p:31,k:3,b:"23:1",e:"23:3"},"3":{p:31,k:3,b:"23:4",e:"23:8"},"4":{p:31,k:3,b:"23:9",e:"23:14"},"5":{p:31,k:3,b:"23:15",e:"23:22"},"6":{p:31,k:3,b:"23:23",e:"23:32"},"7":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot II":{haft:{k:"I Kings",b:"8:2",e:"8:21"},fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:3"},"2":{p:31,k:3,b:"23:4",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:22"},"4":{p:31,k:3,b:"23:23",e:"23:32"},"5":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot Chol ha-Moed Day 1":{fullkriyah:{"1":{p:41,k:4,b:"29:17",e:"29:19"},"2":{p:41,k:4,b:"29:20",e:"29:22"},"3":{p:41,k:4,b:"29:23",e:"29:25"},"4":{p:41,k:4,b:"29:17",e:"29:22"}}},"Sukkot Chol ha-Moed Day 2":{fullkriyah:{"1":{p:41,k:4,b:"29:20",e:"29:22"},"2":{p:41,k:4,b:"29:23",e:"29:25"},"3":{p:41,k:4,b:"29:26",e:"29:28"},"4":{p:41,k:4,b:"29:20",e:"29:25"}}},"Sukkot Chol ha-Moed Day 3":{fullkriyah:{"1":{p:41,k:4,b:"29:23",e:"29:25"},"2":{p:41,k:4,b:"29:26",e:"29:28"},"3":{p:41,k:4,b:"29:29",e:"29:31"},"4":{p:41,k:4,b:"29:23",e:"29:28"}}},"Sukkot Chol ha-Moed Day 4":{fullkriyah:{"1":{p:41,k:4,b:"29:26",e:"29:28"},"2":{p:41,k:4,b:"29:29",e:"29:31"},"3":{p:41,k:4,b:"29:32",e:"29:34"},"4":{p:41,k:4,b:"29:26",e:"29:31"}}},"Sukkot Chol ha-Moed Day 5":{fullkriyah:{"1":{p:41,k:4,b:"29:29",e:"29:31"},"2":{p:41,k:4,b:"29:32",e:"29:34"},"3":{p:41,k:4,b:"29:35",e:"29:37"},"4":{p:41,k:4,b:"29:29",e:"29:34"}}},"Sukkot Shabbat Chol ha-Moed":{megillah:"Ecclesiastes",haft:{k:"Ezekiel",b:"38:18",e:"39:16"},fullkriyah:{"1":{p:21,k:2,b:"33:12",e:"33:16"},"2":{p:21,k:2,b:"33:17",e:"33:19"},"3":{p:21,k:2,b:"33:20",e:"33:23"},"4":{p:21,k:2,b:"34:1",e:"34:3"},"5":{p:21,k:2,b:"34:4",e:"34:10"},"6":{p:21,k:2,b:"34:11",e:"34:17"},"7":{p:21,k:2,b:"34:18",e:"34:26"},"M-day1":{p:41,k:4,b:"29:17",e:"29:22"},"M-day2":{p:41,k:4,b:"29:20",e:"29:25"},"M-day3":{p:41,k:4,b:"29:23",e:"29:28"},"M-day4":{p:41,k:4,b:"29:26",e:"29:31"},"M-day5":{p:41,k:4,b:"29:29",e:"29:34"}}},"Sukkot Final Day (Hoshana Raba)":{fullkriyah:{"1":{p:41,k:4,b:"29:26",e:"29:28"},"2":{p:41,k:4,b:"29:29",e:"29:31"},"3":{p:41,k:4,b:"29:32",e:"29:34"},"4":{p:41,k:4,b:"29:29",e:"29:34"}}},"Shmini Atzeret":{haft:{k:"I Kings",b:"8:54",e:"8:66"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"16:3"},"4":{p:47,k:5,b:"16:4",e:"16:8"},"5":{p:47,k:5,b:"16:9",e:"16:17"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Shmini Atzeret (on Shabbat)":{haft:{k:"I Kings",b:"8:54",e:"8:66"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"15:23"},"4":{p:47,k:5,b:"16:1",e:"16:3"},"5":{p:47,k:5,b:"16:4",e:"16:8"},"6":{p:47,k:5,b:"16:9",e:"16:12"},"7":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Erev Simchat Torah":{fullkriyah:{"1":{p:54,k:5,b:"33:1",e:"33:7"},"2":{p:54,k:5,b:"33:8",e:"33:12"},"3":{p:54,k:5,b:"33:13",e:"33:17"}}},"Simchat Torah":{haft:{k:"Joshua",b:"1:1",e:"1:18"},fullkriyah:{"1":{p:54,k:5,b:"33:1",e:"33:7"},"2":{p:54,k:5,b:"33:8",e:"33:12"},"3":{p:54,k:5,b:"33:13",e:"33:17"},"4":{p:54,k:5,b:"33:18",e:"33:21"},"5":{p:54,k:5,b:"33:22",e:"33:26"},"6":{p:54,k:5,b:"33:27",e:"34:12"},"7":{p:1,k:1,b:"1:1",e:"2:3"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Shabbat Rosh Chodesh Chanukah":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{"7":{p:41,k:4,b:"28:9",e:"28:15"},M:{p:35,k:4,b:"7:42",e:"7:47"}}},"Chanukah Day 1":{fullkriyah:{"1":{p:35,k:4,b:"7:1",e:"7:11"},"2":{p:35,k:4,b:"7:12",e:"7:14"},"3":{p:35,k:4,b:"7:15",e:"7:17"}},alt:{"1":{p:35,k:4,b:"7:1",e:"7:3"},"2":{p:35,k:4,b:"7:4",e:"7:11"},"3":{p:35,k:4,b:"7:12",e:"7:17"}}},"Chanukah Day 1 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:1",e:"7:17"}}},"Chanukah Day 2":{fullkriyah:{"1":{p:35,k:4,b:"7:18",e:"7:20"},"2":{p:35,k:4,b:"7:21",e:"7:23"},"3":{p:35,k:4,b:"7:24",e:"7:29"}},alt:{"1":{p:35,k:4,b:"7:18",e:"7:20"},"2":{p:35,k:4,b:"7:21",e:"7:23"},"3":{p:35,k:4,b:"7:18",e:"7:23"}}},"Chanukah Day 2 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:18",e:"7:23"}}},"Chanukah Day 3":{fullkriyah:{"1":{p:35,k:4,b:"7:24",e:"7:26"},"2":{p:35,k:4,b:"7:27",e:"7:29"},"3":{p:35,k:4,b:"7:30",e:"7:35"}},alt:{"1":{p:35,k:4,b:"7:24",e:"7:26"},"2":{p:35,k:4,b:"7:27",e:"7:29"},"3":{p:35,k:4,b:"7:24",e:"7:29"}}},"Chanukah Day 3 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:24",e:"7:29"}}},"Chanukah Day 4":{fullkriyah:{"1":{p:35,k:4,b:"7:30",e:"7:32"},"2":{p:35,k:4,b:"7:33",e:"7:35"},"3":{p:35,k:4,b:"7:36",e:"7:41"}},alt:{"1":{p:35,k:4,b:"7:30",e:"7:32"},"2":{p:35,k:4,b:"7:33",e:"7:35"},"3":{p:35,k:4,b:"7:30",e:"7:35"}}},"Chanukah Day 4 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:30",e:"7:35"}}},"Chanukah Day 5":{fullkriyah:{"1":{p:35,k:4,b:"7:36",e:"7:38"},"2":{p:35,k:4,b:"7:39",e:"7:41"},"3":{p:35,k:4,b:"7:42",e:"7:47"}},alt:{"1":{p:35,k:4,b:"7:36",e:"7:38"},"2":{p:35,k:4,b:"7:39",e:"7:41"},"3":{p:35,k:4,b:"7:36",e:"7:41"}}},"Chanukah Day 5 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:36",e:"7:41"}}},"Chanukah Day 6":{fullkriyah:{"1":{p:41,k:4,b:"28:1",e:"28:5"},"2":{p:41,k:4,b:"28:6",e:"28:10"},"3":{p:41,k:4,b:"28:11",e:"28:15"},"4":{p:35,k:4,b:"7:42",e:"7:47"}}},"Chanukah Day 7":{fullkriyah:{"1":{p:35,k:4,b:"7:48",e:"7:50"},"2":{p:35,k:4,b:"7:51",e:"7:53"},"3":{p:35,k:4,b:"7:54",e:"7:59"}},alt:{"1":{p:35,k:4,b:"7:48",e:"7:50"},"2":{p:35,k:4,b:"7:51",e:"7:53"},"3":{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 7 (on Rosh Chodesh)":{fullkriyah:{"1":{p:41,k:4,b:"28:1",e:"28:5"},"2":{p:41,k:4,b:"28:6",e:"28:10"},"3":{p:41,k:4,b:"28:11",e:"28:15"},"4":{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 7 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 8":{fullkriyah:{"1":{p:35,k:4,b:"7:54",e:"7:56"},"2":{p:35,k:4,b:"7:57",e:"7:59"},"3":{p:35,k:4,b:"7:60",e:"8:4"}}},"Chanukah Day 8 (on Shabbat)":{haft:{k:"I Kings",b:"7:40",e:"7:50"},fullkriyah:{M:{p:35,k:4,b:"7:54",e:"8:4"}}},"Erev Purim":{megillah:"Esther"},Purim:Purim,"Shushan Purim":{note:"Jerusalem & walled cities only",il:true,megillah:"Esther",fullkriyah:{"1":{p:16,k:2,b:"17:8",e:"17:10"},"2":{p:16,k:2,b:"17:11",e:"17:13"},"3":{p:16,k:2,b:"17:14",e:"17:16"}}},"Shushan Purim (on Shabbat)":{il:true,note:"Jerusalem & walled cities only: special maftir Exodus 17:8-16, same Haftara as Shabbat Zachor"},"Shabbat HaChodesh":{haft:{k:"Ezekiel",b:"45:16",e:"46:18"},fullkriyah:{M:{p:15,k:2,b:"12:1",e:"12:20"}}},"Shabbat HaChodesh (on Rosh Chodesh)":{haft:{k:"Ezekiel",b:"45:16",e:"46:18"},fullkriyah:{"7":{p:41,k:4,b:"28:9",e:"28:15"},M:{p:15,k:2,b:"12:1",e:"12:20"}}},"Shabbat HaGadol":{haft:{k:"Malachi",b:"3:4",e:"3:24"}},"Shabbat Parah":{haft:{k:"Ezekiel",b:"36:16",e:"36:38"},fullkriyah:{M:{p:39,k:4,b:"19:1",e:"19:22"}}},"Shabbat Shekalim":{haft:{k:"II Kings",b:"12:1",e:"12:17"},fullkriyah:{M:{p:21,k:2,b:"30:11",e:"30:16"}}},"Shabbat Shekalim (on Rosh Chodesh)":{haft:{k:"II Kings",b:"12:1",e:"12:17"},fullkriyah:{"7":{p:41,k:4,b:"28:9",e:"28:15"},M:{p:21,k:2,b:"30:11",e:"30:16"}}},"Shabbat Shuva (with Vayeilech)":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"}]},"Shabbat Shuva (with Ha'azinu)":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Joel",b:"2:15",e:"2:27"}],seph:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"}]},"Shabbat Shuva":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"},{k:"Joel",b:"2:15",e:"2:27"}]},"Shabbat Zachor":{haft:{k:"I Samuel",b:"15:2",e:"15:34"},fullkriyah:{M:{p:49,k:5,b:"25:17",e:"25:19"}}},"Pinchas occurring after 17 Tammuz":{haft:{k:"Jeremiah",b:"1:1",e:"2:3"}},"Masei on Shabbat Rosh Chodesh":{haft:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"3:4",e:"3:4"},{k:"Isaiah",b:"66:1",e:"66:1"},{k:"Isaiah",b:"66:23",e:"66:23"}]},"Matot-Masei on Shabbat Rosh Chodesh":{alias:true,key:"Masei on Shabbat Rosh Chodesh"},"Ki Teitzei with 3rd Haftarah of Consolation":{haft:[{k:"Isaiah",b:"54:1",e:"54:10"},{k:"Isaiah",b:"54:11",e:"55:5"}]},"Rosh Chodesh":{fullkriyah:{"1":{p:41,k:4,b:"28:1",e:"28:3"},"2":{p:41,k:4,b:"28:3",e:"28:5"},"3":{p:41,k:4,b:"28:6",e:"28:10"},"4":{p:41,k:4,b:"28:11",e:"28:15"}}},"Rosh Chodesh Nisan":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Iyyar":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Sivan":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Tamuz":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Av":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Elul":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Tishrei":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Cheshvan":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Kislev":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Sh'vat":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Adar":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Adar I":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Adar II":{alias:true,key:"Rosh Chodesh"},"Shabbat Rosh Chodesh":{haft:{k:"Isaiah",b:"66:1",e:"66:24"},fullkriyah:{M:{p:41,k:4,b:"28:9",e:"28:15"}}},"Shabbat Machar Chodesh":{haft:{k:"I Samuel",b:"20:18",e:"20:42"}}};
|
|
235
|
+
const Shavuot={note:"Israel only",il:true,megillah:"Ruth",haft:[{k:"Ezekiel",b:"1:1",e:"1:28"},{k:"Ezekiel",b:"3:12",e:"3:12"}],fullkriyah:{"1":{p:17,k:2,b:"19:1",e:"19:6"},"2":{p:17,k:2,b:"19:7",e:"19:13"},"3":{p:17,k:2,b:"19:14",e:"19:19"},"4":{p:17,k:2,b:"19:20",e:"20:14"},"5":{p:17,k:2,b:"20:15",e:"20:23"},M:{p:41,k:4,b:"28:26",e:"28:31"}}};const Purim={megillah:"Esther",fullkriyah:{"1":{p:16,k:2,b:"17:8",e:"17:10"},"2":{p:16,k:2,b:"17:11",e:"17:13"},"3":{p:16,k:2,b:"17:14",e:"17:16"}}};var festivals = {"Pesach I":{haft:{k:"Joshua",b:"5:2",e:"6:1"},fullkriyah:{"1":{p:15,k:2,b:"12:21",e:"12:24"},"2":{p:15,k:2,b:"12:25",e:"12:28"},"3":{p:15,k:2,b:"12:29",e:"12:36"},"4":{p:15,k:2,b:"12:37",e:"12:42"},"5":{p:15,k:2,b:"12:43",e:"12:51"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach I (on Shabbat)":{haft:{k:"Joshua",b:"5:2",e:"6:1"},fullkriyah:{"1":{p:15,k:2,b:"12:21",e:"12:24"},"2":{p:15,k:2,b:"12:25",e:"12:28"},"3":{p:15,k:2,b:"12:29",e:"12:32"},"4":{p:15,k:2,b:"12:33",e:"12:36"},"5":{p:15,k:2,b:"12:37",e:"12:42"},"6":{p:15,k:2,b:"12:43",e:"12:47"},"7":{p:15,k:2,b:"12:48",e:"12:51"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach II":{haft:[{k:"II Kings",b:"23:1",e:"23:9"},{k:"II Kings",b:"23:21",e:"23:25"}],fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:3"},"2":{p:31,k:3,b:"23:4",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:22"},"4":{p:31,k:3,b:"23:23",e:"23:32"},"5":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach II (CH''M)":{note:"Israel only - according to Vaani T'fillati Siddur Yisraeli",il:true,fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:8"},"2":{p:31,k:3,b:"23:9",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:44"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 1":{fullkriyah:{"1":{p:15,k:2,b:"13:1",e:"13:4"},"2":{p:15,k:2,b:"13:5",e:"13:10"},"3":{p:15,k:2,b:"13:11",e:"13:16"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 2":{fullkriyah:{"1":{p:18,k:2,b:"22:24",e:"22:26"},"2":{p:18,k:2,b:"22:27",e:"23:5"},"3":{p:18,k:2,b:"23:6",e:"23:19"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 3":{fullkriyah:{"1":{p:21,k:2,b:"34:1",e:"34:10"},"2":{p:21,k:2,b:"34:11",e:"34:17"},"3":{p:21,k:2,b:"34:18",e:"34:26"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 4":{fullkriyah:{"1":{p:36,k:4,b:"9:1",e:"9:5"},"2":{p:36,k:4,b:"9:6",e:"9:8"},"3":{p:36,k:4,b:"9:9",e:"9:14"},"4":{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Shabbat Chol ha-Moed":{megillah:"Song of Songs",haft:{k:"Ezekiel",b:"37:1",e:"37:14"},fullkriyah:{"1":{p:21,k:2,b:"33:12",e:"33:16"},"2":{p:21,k:2,b:"33:17",e:"33:19"},"3":{p:21,k:2,b:"33:20",e:"33:23"},"4":{p:21,k:2,b:"34:1",e:"34:3"},"5":{p:21,k:2,b:"34:4",e:"34:10"},"6":{p:21,k:2,b:"34:11",e:"34:17"},"7":{p:21,k:2,b:"34:18",e:"34:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VII":{haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{"1":{p:16,k:2,b:"13:17",e:"13:22"},"2":{p:16,k:2,b:"14:1",e:"14:8"},"3":{p:16,k:2,b:"14:9",e:"14:14"},"4":{p:16,k:2,b:"14:15",e:"14:25"},"5":{p:16,k:2,b:"14:26",e:"15:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VII (on Shabbat)":{haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{"1":{p:16,k:2,b:"13:17",e:"13:19"},"2":{p:16,k:2,b:"13:20",e:"13:22"},"3":{p:16,k:2,b:"14:1",e:"14:4"},"4":{p:16,k:2,b:"14:5",e:"14:8"},"5":{p:16,k:2,b:"14:9",e:"14:14"},"6":{p:16,k:2,b:"14:15",e:"14:25"},"7":{p:16,k:2,b:"14:26",e:"15:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VIII":{haft:{k:"Isaiah",b:"10:32",e:"12:6"},fullkriyah:{"1":{p:47,k:5,b:"15:19",e:"15:23"},"2":{p:47,k:5,b:"16:1",e:"16:3"},"3":{p:47,k:5,b:"16:4",e:"16:8"},"4":{p:47,k:5,b:"16:9",e:"16:12"},"5":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VIII (on Shabbat)":{haft:{k:"Isaiah",b:"10:32",e:"12:6"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"15:23"},"4":{p:47,k:5,b:"16:1",e:"16:3"},"5":{p:47,k:5,b:"16:4",e:"16:8"},"6":{p:47,k:5,b:"16:9",e:"16:12"},"7":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach III (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 1"},"Pesach IV (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 2"},"Pesach V (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 3"},"Pesach VI (CH''M)":{alias:true,il:true,key:"Pesach Chol ha-Moed Day 4"},"Pesach Chol ha-Moed Day 2 on Sunday":{alias:true,il:false,key:"Pesach Chol ha-Moed Day 1"},"Pesach Chol ha-Moed Day 3 on Monday":{alias:true,il:false,key:"Pesach Chol ha-Moed Day 2"},Shavuot:Shavuot,"Shavuot I":{haft:[{k:"Ezekiel",b:"1:1",e:"1:28"},{k:"Ezekiel",b:"3:12",e:"3:12"}],fullkriyah:{"1":{p:17,k:2,b:"19:1",e:"19:6"},"2":{p:17,k:2,b:"19:7",e:"19:13"},"3":{p:17,k:2,b:"19:14",e:"19:19"},"4":{p:17,k:2,b:"19:20",e:"20:14"},"5":{p:17,k:2,b:"20:15",e:"20:23"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot II":{megillah:"Ruth",haft:{k:"Habakkuk",b:"3:1",e:"3:19"},fullkriyah:{"1":{p:47,k:5,b:"15:19",e:"15:23"},"2":{p:47,k:5,b:"16:1",e:"16:3"},"3":{p:47,k:5,b:"16:4",e:"16:8"},"4":{p:47,k:5,b:"16:9",e:"16:12"},"5":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot II (on Shabbat)":{megillah:"Ruth",haft:{k:"Habakkuk",b:"3:1",e:"3:19"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"15:23"},"4":{p:47,k:5,b:"16:1",e:"16:3"},"5":{p:47,k:5,b:"16:4",e:"16:8"},"6":{p:47,k:5,b:"16:9",e:"16:12"},"7":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Fast Day (Morning)":{fullkriyah:{"1":{p:21,k:2,b:"32:11",e:"32:14"},"2":{p:21,k:2,b:"34:1",e:"34:3"},"3":{p:21,k:2,b:"34:4",e:"34:10"}}},"Fast Day (Afternoon)":{haft:{k:"Isaiah",b:"55:6",e:"56:8"},fullkriyah:{"1":{p:21,k:2,b:"32:11",e:"32:14"},"2":{p:21,k:2,b:"34:1",e:"34:3"},M:{p:21,k:2,b:"34:4",e:"34:10"}}},"Asara B'Tevet":{alias:true,key:"Fast Day (Morning)"},"Ta'anit Esther":{alias:true,key:"Fast Day (Morning)"},"Tzom Gedaliah":{alias:true,key:"Fast Day (Morning)"},"Tzom Tammuz":{alias:true,key:"Fast Day (Morning)"},"Asara B'Tevet (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Ta'anit Esther (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Tzom Gedaliah (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Tzom Tammuz (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Erev Tish'a B'Av":{megillah:"Lamentations"},"Tish'a B'Av":{haft:{k:"Jeremiah",b:"8:13",e:"9:23"},fullkriyah:{"1":{p:45,k:5,b:"4:25",e:"4:29"},"2":{p:45,k:5,b:"4:30",e:"4:35"},"3":{p:45,k:5,b:"4:36",e:"4:40"}}},"Tish'a B'Av (Mincha)":{alias:true,key:"Fast Day (Afternoon)"},"Rosh Hashana I":{haft:{k:"I Samuel",b:"1:1",e:"2:10"},fullkriyah:{"1":{p:4,k:1,b:"21:1",e:"21:4"},"2":{p:4,k:1,b:"21:5",e:"21:12"},"3":{p:4,k:1,b:"21:13",e:"21:21"},"4":{p:4,k:1,b:"21:22",e:"21:27"},"5":{p:4,k:1,b:"21:28",e:"21:34"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Rosh Hashana I (on Shabbat)":{haft:{k:"I Samuel",b:"1:1",e:"2:10"},fullkriyah:{"1":{p:4,k:1,b:"21:1",e:"21:4"},"2":{p:4,k:1,b:"21:5",e:"21:8"},"3":{p:4,k:1,b:"21:9",e:"21:12"},"4":{p:4,k:1,b:"21:13",e:"21:17"},"5":{p:4,k:1,b:"21:18",e:"21:21"},"6":{p:4,k:1,b:"21:22",e:"21:27"},"7":{p:4,k:1,b:"21:28",e:"21:34"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Rosh Hashana II":{haft:{k:"Jeremiah",b:"31:1",e:"31:19"},fullkriyah:{"1":{p:4,k:1,b:"22:1",e:"22:3"},"2":{p:4,k:1,b:"22:4",e:"22:8"},"3":{p:4,k:1,b:"22:9",e:"22:14"},"4":{p:4,k:1,b:"22:15",e:"22:19"},"5":{p:4,k:1,b:"22:20",e:"22:24"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Yom Kippur":{haft:{k:"Isaiah",b:"57:14",e:"58:14"},fullkriyah:{"1":{p:29,k:3,b:"16:1",e:"16:6"},"2":{p:29,k:3,b:"16:7",e:"16:11"},"3":{p:29,k:3,b:"16:12",e:"16:17"},"4":{p:29,k:3,b:"16:18",e:"16:24"},"5":{p:29,k:3,b:"16:25",e:"16:30"},"6":{p:29,k:3,b:"16:31",e:"16:34"},M:{p:41,k:4,b:"29:7",e:"29:11"}}},"Yom Kippur (on Shabbat)":{haft:{k:"Isaiah",b:"57:14",e:"58:14"},fullkriyah:{"1":{p:29,k:3,b:"16:1",e:"16:3"},"2":{p:29,k:3,b:"16:4",e:"16:6"},"3":{p:29,k:3,b:"16:7",e:"16:11"},"4":{p:29,k:3,b:"16:12",e:"16:17"},"5":{p:29,k:3,b:"16:18",e:"16:24"},"6":{p:29,k:3,b:"16:25",e:"16:30"},"7":{p:29,k:3,b:"16:31",e:"16:34"},M:{p:41,k:4,b:"29:7",e:"29:11"}}},"Yom Kippur (Mincha)":{alias:true,key:"Yom Kippur (Mincha, Traditional)"},"Yom Kippur (Mincha, Traditional)":{haft:[{k:"Jonah",b:"1:1",e:"4:11"},{k:"Micah",b:"7:18",e:"7:20"}],fullkriyah:{"1":{p:29,k:3,b:"18:1",e:"18:5"},"2":{p:29,k:3,b:"18:6",e:"18:21"},M:{p:29,k:3,b:"18:22",e:"18:30"}}},"Yom Kippur (Mincha, Alternate)":{haft:[{k:"Jonah",b:"1:1",e:"4:11"},{k:"Micah",b:"7:18",e:"7:20"}],fullkriyah:{"1":{p:30,k:3,b:"19:1",e:"19:4"},"2":{p:30,k:3,b:"19:5",e:"19:10"},M:{p:30,k:3,b:"19:11",e:"19:18"}}},"Sukkot I":{haft:{k:"Zechariah",b:"14:1",e:"14:21"},fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:3"},"2":{p:31,k:3,b:"23:4",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:22"},"4":{p:31,k:3,b:"23:23",e:"23:32"},"5":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot I (on Shabbat)":{haft:{k:"Zechariah",b:"14:1",e:"14:21"},fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"22:33"},"2":{p:31,k:3,b:"23:1",e:"23:3"},"3":{p:31,k:3,b:"23:4",e:"23:8"},"4":{p:31,k:3,b:"23:9",e:"23:14"},"5":{p:31,k:3,b:"23:15",e:"23:22"},"6":{p:31,k:3,b:"23:23",e:"23:32"},"7":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot II":{haft:{k:"I Kings",b:"8:2",e:"8:21"},fullkriyah:{"1":{p:31,k:3,b:"22:26",e:"23:3"},"2":{p:31,k:3,b:"23:4",e:"23:14"},"3":{p:31,k:3,b:"23:15",e:"23:22"},"4":{p:31,k:3,b:"23:23",e:"23:32"},"5":{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot Chol ha-Moed Day 1":{fullkriyah:{"1":{p:41,k:4,b:"29:17",e:"29:19"},"2":{p:41,k:4,b:"29:20",e:"29:22"},"3":{p:41,k:4,b:"29:23",e:"29:25"},"4":{p:41,k:4,b:"29:17",e:"29:22"}}},"Sukkot Chol ha-Moed Day 2":{fullkriyah:{"1":{p:41,k:4,b:"29:20",e:"29:22"},"2":{p:41,k:4,b:"29:23",e:"29:25"},"3":{p:41,k:4,b:"29:26",e:"29:28"},"4":{p:41,k:4,b:"29:20",e:"29:25"}}},"Sukkot Chol ha-Moed Day 3":{fullkriyah:{"1":{p:41,k:4,b:"29:23",e:"29:25"},"2":{p:41,k:4,b:"29:26",e:"29:28"},"3":{p:41,k:4,b:"29:29",e:"29:31"},"4":{p:41,k:4,b:"29:23",e:"29:28"}}},"Sukkot Chol ha-Moed Day 4":{fullkriyah:{"1":{p:41,k:4,b:"29:26",e:"29:28"},"2":{p:41,k:4,b:"29:29",e:"29:31"},"3":{p:41,k:4,b:"29:32",e:"29:34"},"4":{p:41,k:4,b:"29:26",e:"29:31"}}},"Sukkot Chol ha-Moed Day 5":{fullkriyah:{"1":{p:41,k:4,b:"29:29",e:"29:31"},"2":{p:41,k:4,b:"29:32",e:"29:34"},"3":{p:41,k:4,b:"29:35",e:"29:37"},"4":{p:41,k:4,b:"29:29",e:"29:34"}}},"Sukkot Shabbat Chol ha-Moed":{megillah:"Ecclesiastes",haft:{k:"Ezekiel",b:"38:18",e:"39:16"},fullkriyah:{"1":{p:21,k:2,b:"33:12",e:"33:16"},"2":{p:21,k:2,b:"33:17",e:"33:19"},"3":{p:21,k:2,b:"33:20",e:"33:23"},"4":{p:21,k:2,b:"34:1",e:"34:3"},"5":{p:21,k:2,b:"34:4",e:"34:10"},"6":{p:21,k:2,b:"34:11",e:"34:17"},"7":{p:21,k:2,b:"34:18",e:"34:26"},"M-day1":{p:41,k:4,b:"29:17",e:"29:22"},"M-day2":{p:41,k:4,b:"29:20",e:"29:25"},"M-day3":{p:41,k:4,b:"29:23",e:"29:28"},"M-day4":{p:41,k:4,b:"29:26",e:"29:31"},"M-day5":{p:41,k:4,b:"29:29",e:"29:34"}}},"Sukkot Final Day (Hoshana Raba)":{fullkriyah:{"1":{p:41,k:4,b:"29:26",e:"29:28"},"2":{p:41,k:4,b:"29:29",e:"29:31"},"3":{p:41,k:4,b:"29:32",e:"29:34"},"4":{p:41,k:4,b:"29:29",e:"29:34"}}},"Shmini Atzeret":{haft:{k:"I Kings",b:"8:54",e:"8:66"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"16:3"},"4":{p:47,k:5,b:"16:4",e:"16:8"},"5":{p:47,k:5,b:"16:9",e:"16:17"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Shmini Atzeret (on Shabbat)":{haft:{k:"I Kings",b:"8:54",e:"8:66"},fullkriyah:{"1":{p:47,k:5,b:"14:22",e:"14:29"},"2":{p:47,k:5,b:"15:1",e:"15:18"},"3":{p:47,k:5,b:"15:19",e:"15:23"},"4":{p:47,k:5,b:"16:1",e:"16:3"},"5":{p:47,k:5,b:"16:4",e:"16:8"},"6":{p:47,k:5,b:"16:9",e:"16:12"},"7":{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Erev Simchat Torah":{fullkriyah:{"1":{p:54,k:5,b:"33:1",e:"33:7"},"2":{p:54,k:5,b:"33:8",e:"33:12"},"3":{p:54,k:5,b:"33:13",e:"33:17"}}},"Simchat Torah":{haft:{k:"Joshua",b:"1:1",e:"1:18"},fullkriyah:{"1":{p:54,k:5,b:"33:1",e:"33:7"},"2":{p:54,k:5,b:"33:8",e:"33:12"},"3":{p:54,k:5,b:"33:13",e:"33:17"},"4":{p:54,k:5,b:"33:18",e:"33:21"},"5":{p:54,k:5,b:"33:22",e:"33:26"},"6":{p:54,k:5,b:"33:27",e:"34:12"},"7":{p:1,k:1,b:"1:1",e:"2:3"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Shabbat Rosh Chodesh Chanukah":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{"7":{p:41,k:4,b:"28:9",e:"28:15"},M:{p:35,k:4,b:"7:42",e:"7:47"}}},"Chanukah Day 1":{fullkriyah:{"1":{p:35,k:4,b:"7:1",e:"7:11"},"2":{p:35,k:4,b:"7:12",e:"7:14"},"3":{p:35,k:4,b:"7:15",e:"7:17"}},alt:{"1":{p:35,k:4,b:"7:1",e:"7:3"},"2":{p:35,k:4,b:"7:4",e:"7:11"},"3":{p:35,k:4,b:"7:12",e:"7:17"}}},"Chanukah Day 1 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:1",e:"7:17"}}},"Chanukah Day 2":{fullkriyah:{"1":{p:35,k:4,b:"7:18",e:"7:20"},"2":{p:35,k:4,b:"7:21",e:"7:23"},"3":{p:35,k:4,b:"7:24",e:"7:29"}},alt:{"1":{p:35,k:4,b:"7:18",e:"7:20"},"2":{p:35,k:4,b:"7:21",e:"7:23"},"3":{p:35,k:4,b:"7:18",e:"7:23"}}},"Chanukah Day 2 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:18",e:"7:23"}}},"Chanukah Day 3":{fullkriyah:{"1":{p:35,k:4,b:"7:24",e:"7:26"},"2":{p:35,k:4,b:"7:27",e:"7:29"},"3":{p:35,k:4,b:"7:30",e:"7:35"}},alt:{"1":{p:35,k:4,b:"7:24",e:"7:26"},"2":{p:35,k:4,b:"7:27",e:"7:29"},"3":{p:35,k:4,b:"7:24",e:"7:29"}}},"Chanukah Day 3 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:24",e:"7:29"}}},"Chanukah Day 4":{fullkriyah:{"1":{p:35,k:4,b:"7:30",e:"7:32"},"2":{p:35,k:4,b:"7:33",e:"7:35"},"3":{p:35,k:4,b:"7:36",e:"7:41"}},alt:{"1":{p:35,k:4,b:"7:30",e:"7:32"},"2":{p:35,k:4,b:"7:33",e:"7:35"},"3":{p:35,k:4,b:"7:30",e:"7:35"}}},"Chanukah Day 4 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:30",e:"7:35"}}},"Chanukah Day 5":{fullkriyah:{"1":{p:35,k:4,b:"7:36",e:"7:38"},"2":{p:35,k:4,b:"7:39",e:"7:41"},"3":{p:35,k:4,b:"7:42",e:"7:47"}},alt:{"1":{p:35,k:4,b:"7:36",e:"7:38"},"2":{p:35,k:4,b:"7:39",e:"7:41"},"3":{p:35,k:4,b:"7:36",e:"7:41"}}},"Chanukah Day 5 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:36",e:"7:41"}}},"Chanukah Day 6":{fullkriyah:{"1":{p:41,k:4,b:"28:1",e:"28:5"},"2":{p:41,k:4,b:"28:6",e:"28:10"},"3":{p:41,k:4,b:"28:11",e:"28:15"},"4":{p:35,k:4,b:"7:42",e:"7:47"}}},"Chanukah Day 7":{fullkriyah:{"1":{p:35,k:4,b:"7:48",e:"7:50"},"2":{p:35,k:4,b:"7:51",e:"7:53"},"3":{p:35,k:4,b:"7:54",e:"7:59"}},alt:{"1":{p:35,k:4,b:"7:48",e:"7:50"},"2":{p:35,k:4,b:"7:51",e:"7:53"},"3":{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 7 (on Rosh Chodesh)":{fullkriyah:{"1":{p:41,k:4,b:"28:1",e:"28:5"},"2":{p:41,k:4,b:"28:6",e:"28:10"},"3":{p:41,k:4,b:"28:11",e:"28:15"},"4":{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 7 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 8":{fullkriyah:{"1":{p:35,k:4,b:"7:54",e:"7:56"},"2":{p:35,k:4,b:"7:57",e:"7:59"},"3":{p:35,k:4,b:"7:60",e:"8:4"}}},"Chanukah Day 8 (on Shabbat)":{haft:{k:"I Kings",b:"7:40",e:"7:50"},fullkriyah:{M:{p:35,k:4,b:"7:54",e:"8:4"}}},"Erev Purim":{megillah:"Esther"},Purim:Purim,"Shushan Purim":{note:"Jerusalem & walled cities only",il:true,megillah:"Esther",fullkriyah:{"1":{p:16,k:2,b:"17:8",e:"17:10"},"2":{p:16,k:2,b:"17:11",e:"17:13"},"3":{p:16,k:2,b:"17:14",e:"17:16"}}},"Shushan Purim (on Shabbat)":{il:true,note:"Jerusalem & walled cities only: special maftir Exodus 17:8-16, same Haftara as Shabbat Zachor"},"Shabbat HaChodesh":{haft:{k:"Ezekiel",b:"45:16",e:"46:18"},fullkriyah:{M:{p:15,k:2,b:"12:1",e:"12:20"}}},"Shabbat HaChodesh (on Rosh Chodesh)":{haft:{k:"Ezekiel",b:"45:16",e:"46:18"},fullkriyah:{"7":{p:41,k:4,b:"28:9",e:"28:15"},M:{p:15,k:2,b:"12:1",e:"12:20"}}},"Shabbat HaGadol":{haft:{k:"Malachi",b:"3:4",e:"3:24"}},"Shabbat Parah":{haft:{k:"Ezekiel",b:"36:16",e:"36:38"},fullkriyah:{M:{p:39,k:4,b:"19:1",e:"19:22"}}},"Shabbat Shekalim":{haft:{k:"II Kings",b:"12:1",e:"12:17"},fullkriyah:{M:{p:21,k:2,b:"30:11",e:"30:16"}}},"Shabbat Shekalim (on Rosh Chodesh)":{haft:{k:"II Kings",b:"12:1",e:"12:17"},fullkriyah:{"7":{p:41,k:4,b:"28:9",e:"28:15"},M:{p:21,k:2,b:"30:11",e:"30:16"}}},"Shabbat Shuva (with Vayeilech)":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"}]},"Shabbat Shuva (with Ha'azinu)":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Joel",b:"2:15",e:"2:27"}],seph:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"}]},"Shabbat Shuva":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"},{k:"Joel",b:"2:15",e:"2:27"}]},"Shabbat Zachor":{haft:{k:"I Samuel",b:"15:2",e:"15:34"},fullkriyah:{M:{p:49,k:5,b:"25:17",e:"25:19"}}},"Pinchas occurring after 17 Tammuz":{haft:{k:"Jeremiah",b:"1:1",e:"2:3"}},"Masei on Shabbat Rosh Chodesh":{haft:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"3:4",e:"3:4"},{k:"Isaiah",b:"66:1",e:"66:1"},{k:"Isaiah",b:"66:23",e:"66:23"}]},"Matot-Masei on Shabbat Rosh Chodesh":{alias:true,key:"Masei on Shabbat Rosh Chodesh"},"Ki Teitzei with 3rd Haftarah of Consolation":{haft:[{k:"Isaiah",b:"54:1",e:"54:10"},{k:"Isaiah",b:"54:11",e:"55:5"}]},"Rosh Chodesh":{fullkriyah:{"1":{p:41,k:4,b:"28:1",e:"28:3"},"2":{p:41,k:4,b:"28:3",e:"28:5"},"3":{p:41,k:4,b:"28:6",e:"28:10"},"4":{p:41,k:4,b:"28:11",e:"28:15"}}},"Rosh Chodesh Nisan":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Iyyar":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Sivan":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Tamuz":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Av":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Elul":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Tishrei":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Cheshvan":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Kislev":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Sh'vat":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Adar":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Adar I":{alias:true,key:"Rosh Chodesh"},"Rosh Chodesh Adar II":{alias:true,key:"Rosh Chodesh"},"Shabbat Rosh Chodesh":{haft:{k:"Isaiah",b:"66:1",e:"66:24"},fullkriyah:{M:{p:41,k:4,b:"28:9",e:"28:15"}}},"Shabbat Machar Chodesh":{haft:{k:"I Samuel",b:"20:18",e:"20:42"}}};
|
|
1364
236
|
|
|
1365
237
|
/**
|
|
1366
238
|
* Is there a special festival Torah Reading for `holiday`?
|
|
@@ -1368,7 +240,7 @@ var Shavuot={note:"Israel only",il:true,megillah:"Ruth",haft:[{k:"Ezekiel",b:"1:
|
|
|
1368
240
|
* @return {boolean}
|
|
1369
241
|
*/
|
|
1370
242
|
function hasFestival(holiday) {
|
|
1371
|
-
return
|
|
243
|
+
return typeof festivals[holiday] === 'object';
|
|
1372
244
|
}
|
|
1373
245
|
|
|
1374
246
|
/**
|
|
@@ -1377,20 +249,20 @@ function hasFestival(holiday) {
|
|
|
1377
249
|
* @return {any}
|
|
1378
250
|
*/
|
|
1379
251
|
function lookupFestival(holiday) {
|
|
1380
|
-
|
|
252
|
+
let src = festivals[holiday];
|
|
1381
253
|
if (typeof src === 'undefined') {
|
|
1382
254
|
return undefined;
|
|
1383
255
|
}
|
|
1384
256
|
if (src.alias) {
|
|
1385
|
-
|
|
257
|
+
const tmp = festivals[src.key];
|
|
1386
258
|
if (typeof tmp === 'undefined') {
|
|
1387
|
-
throw new Error(
|
|
259
|
+
throw new Error(`Leyning alias ${holiday} => ${src.key} not found`);
|
|
1388
260
|
}
|
|
1389
261
|
src = tmp;
|
|
1390
262
|
}
|
|
1391
|
-
|
|
263
|
+
const result = src.fullkriyah ? clone(src) : src;
|
|
1392
264
|
if (result.fullkriyah) {
|
|
1393
|
-
Object.values(result.fullkriyah).forEach(
|
|
265
|
+
Object.values(result.fullkriyah).forEach(aliyah => {
|
|
1394
266
|
if (typeof aliyah.k === 'number') {
|
|
1395
267
|
aliyah.k = BOOK[aliyah.k];
|
|
1396
268
|
}
|
|
@@ -1402,7 +274,7 @@ function lookupFestival(holiday) {
|
|
|
1402
274
|
return result;
|
|
1403
275
|
}
|
|
1404
276
|
|
|
1405
|
-
|
|
277
|
+
const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.HEBREW_DATE | core.flags.MISHNA_YOMI | core.flags.MODERN_HOLIDAY | core.flags.YERUSHALMI_YOMI;
|
|
1406
278
|
|
|
1407
279
|
/**
|
|
1408
280
|
* Based on the event date, type and title, finds the relevant leyning key
|
|
@@ -1411,27 +283,27 @@ var HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.fla
|
|
|
1411
283
|
* @return {string} key to look up in holiday-reading.json
|
|
1412
284
|
*/
|
|
1413
285
|
function getLeyningKeyForEvent(ev) {
|
|
1414
|
-
|
|
286
|
+
let il = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
1415
287
|
if (typeof ev.eventTime !== 'undefined') {
|
|
1416
288
|
return undefined;
|
|
1417
289
|
}
|
|
1418
|
-
|
|
290
|
+
const mask = ev.getFlags();
|
|
1419
291
|
if (mask & HOLIDAY_IGNORE_MASK) {
|
|
1420
292
|
return undefined;
|
|
1421
293
|
}
|
|
1422
294
|
// Skip all Erevs except for Simchat Torah
|
|
1423
|
-
|
|
295
|
+
const desc = ev.getDesc();
|
|
1424
296
|
if (mask & core.flags.EREV && !hasFestival(desc)) {
|
|
1425
297
|
return undefined;
|
|
1426
298
|
}
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
299
|
+
const hd = ev.getDate();
|
|
300
|
+
const day = hd.getDate();
|
|
301
|
+
const dow = hd.abs() % 7;
|
|
302
|
+
const month = hd.getMonth();
|
|
303
|
+
const isShabbat = dow == 6;
|
|
304
|
+
const isRoshChodesh = day == 1 || day == 30;
|
|
305
|
+
const holiday = ev.basename();
|
|
306
|
+
const isPesach = holiday === 'Pesach';
|
|
1435
307
|
if (il && isPesach) {
|
|
1436
308
|
if (isShabbat) {
|
|
1437
309
|
return day === 15 || day === 21 ? desc + ' (on Shabbat)' : 'Pesach Shabbat Chol ha-Moed';
|
|
@@ -1456,7 +328,7 @@ function getLeyningKeyForEvent(ev) {
|
|
|
1456
328
|
}
|
|
1457
329
|
// If Shabbat falls on the third day of Chol ha-Moed Pesach,
|
|
1458
330
|
// the readings for the third, fourth, and fifth days are moved ahead
|
|
1459
|
-
|
|
331
|
+
let cholHaMoedDay = ev.cholHaMoedDay;
|
|
1460
332
|
if (isPesach && cholHaMoedDay >= 3) {
|
|
1461
333
|
if (dow == 0 && cholHaMoedDay == 4) {
|
|
1462
334
|
cholHaMoedDay = 3;
|
|
@@ -1464,16 +336,16 @@ function getLeyningKeyForEvent(ev) {
|
|
|
1464
336
|
cholHaMoedDay = 4;
|
|
1465
337
|
}
|
|
1466
338
|
}
|
|
1467
|
-
return
|
|
339
|
+
return `${holiday} Chol ha-Moed Day ${cholHaMoedDay}`;
|
|
1468
340
|
} else if (ev.chanukahDay) {
|
|
1469
341
|
if (isShabbat && isRoshChodesh) {
|
|
1470
342
|
return 'Shabbat Rosh Chodesh Chanukah';
|
|
1471
343
|
} else if (isRoshChodesh && ev.chanukahDay == 7) {
|
|
1472
|
-
return
|
|
344
|
+
return `Chanukah Day 7 (on Rosh Chodesh)`;
|
|
1473
345
|
} else if (isShabbat) {
|
|
1474
|
-
return
|
|
346
|
+
return `Chanukah Day ${ev.chanukahDay} (on Shabbat)`;
|
|
1475
347
|
} else {
|
|
1476
|
-
return
|
|
348
|
+
return `Chanukah Day ${ev.chanukahDay}`;
|
|
1477
349
|
}
|
|
1478
350
|
}
|
|
1479
351
|
if (isRoshChodesh && (desc == 'Shabbat HaChodesh' || desc == 'Shabbat Shekalim')) {
|
|
@@ -1492,7 +364,7 @@ function getLeyningKeyForEvent(ev) {
|
|
|
1492
364
|
}
|
|
1493
365
|
return 'Shabbat Rosh Chodesh';
|
|
1494
366
|
}
|
|
1495
|
-
|
|
367
|
+
const desc2 = desc + ' (on Shabbat)';
|
|
1496
368
|
if (hasFestival(desc2)) {
|
|
1497
369
|
return desc2;
|
|
1498
370
|
}
|
|
@@ -1501,7 +373,7 @@ function getLeyningKeyForEvent(ev) {
|
|
|
1501
373
|
return desc;
|
|
1502
374
|
}
|
|
1503
375
|
if (isShabbat) {
|
|
1504
|
-
|
|
376
|
+
const tommorow = hd.next().getDate();
|
|
1505
377
|
if (tommorow === 30 || tommorow === 1) {
|
|
1506
378
|
return 'Shabbat Machar Chodesh';
|
|
1507
379
|
}
|
|
@@ -1544,8 +416,8 @@ function getLeyningKeyForEvent(ev) {
|
|
|
1544
416
|
* @param {Object<string,Aliyah>} aliyot
|
|
1545
417
|
*/
|
|
1546
418
|
function aliyotCombine67(aliyot) {
|
|
1547
|
-
|
|
1548
|
-
|
|
419
|
+
const a6 = clone(aliyot['6']);
|
|
420
|
+
const a7 = aliyot['7'];
|
|
1549
421
|
if (a6.k !== a7.k) {
|
|
1550
422
|
throw new Error('Impossible to combine aliyot 6 & 7: ' + JSON.stringify(aliyot));
|
|
1551
423
|
}
|
|
@@ -1595,14 +467,14 @@ function mergeAliyotWithSpecial(aliyot, special) {
|
|
|
1595
467
|
* @return {SpecialReading}
|
|
1596
468
|
*/
|
|
1597
469
|
function specialReadings2(parsha, hd, il, aliyot) {
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
470
|
+
let haft;
|
|
471
|
+
let seph;
|
|
472
|
+
let specialHaft = false;
|
|
473
|
+
const reason = {};
|
|
1602
474
|
|
|
1603
475
|
// eslint-disable-next-line require-jsdoc
|
|
1604
476
|
function handleSpecial(key) {
|
|
1605
|
-
|
|
477
|
+
const special = lookupFestival(key);
|
|
1606
478
|
if (!special) {
|
|
1607
479
|
return;
|
|
1608
480
|
}
|
|
@@ -1619,37 +491,33 @@ function specialReadings2(parsha, hd, il, aliyot) {
|
|
|
1619
491
|
}
|
|
1620
492
|
}
|
|
1621
493
|
if (special.fullkriyah) {
|
|
1622
|
-
|
|
494
|
+
const aliyotMap = clone(aliyot);
|
|
1623
495
|
mergeAliyotWithSpecial(aliyotMap, special.fullkriyah);
|
|
1624
|
-
Object.keys(special.fullkriyah).map(
|
|
1625
|
-
return reason[k] = key;
|
|
1626
|
-
});
|
|
496
|
+
Object.keys(special.fullkriyah).map(k => reason[k] = key);
|
|
1627
497
|
aliyot = aliyotMap;
|
|
1628
498
|
}
|
|
1629
499
|
}
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
});
|
|
1635
|
-
events.forEach(function (ev) {
|
|
500
|
+
const parshaName = parshaToString(parsha);
|
|
501
|
+
const events0 = core.HebrewCalendar.getHolidaysOnDate(hd, il) || [];
|
|
502
|
+
const events = events0.filter(ev => !(ev.getFlags() & core.flags.ROSH_CHODESH));
|
|
503
|
+
events.forEach(ev => {
|
|
1636
504
|
if (ev.getDesc() === 'Shabbat Shuva') {
|
|
1637
|
-
handleSpecial(
|
|
505
|
+
handleSpecial(`Shabbat Shuva (with ${parshaName})`);
|
|
1638
506
|
} else {
|
|
1639
|
-
|
|
507
|
+
const key = getLeyningKeyForEvent(ev, il);
|
|
1640
508
|
if (key) {
|
|
1641
509
|
handleSpecial(key);
|
|
1642
510
|
}
|
|
1643
511
|
}
|
|
1644
512
|
});
|
|
1645
513
|
if (!haft) {
|
|
1646
|
-
|
|
514
|
+
const day = hd.getDate();
|
|
1647
515
|
if (parshaName === 'Pinchas' && day > 17) {
|
|
1648
516
|
// Pinchas is always read in Tamuz (never another month)
|
|
1649
517
|
// either on the 14, 16, 17 (in Israel), 19, 21, 23, 24
|
|
1650
518
|
handleSpecial('Pinchas occurring after 17 Tammuz');
|
|
1651
519
|
} else if (day === 30 || day === 1) {
|
|
1652
|
-
|
|
520
|
+
const key = parshaName === 'Masei' || parshaName === 'Matot-Masei' ? `${parshaName} on Shabbat Rosh Chodesh` : 'Shabbat Rosh Chodesh';
|
|
1653
521
|
handleSpecial(key);
|
|
1654
522
|
} else if (parshaName === 'Ki Teitzei' && day === 14) {
|
|
1655
523
|
// Ki Teitzei is always read in Elul on 9, 11, 13 or 14
|
|
@@ -1663,17 +531,17 @@ function specialReadings2(parsha, hd, il, aliyot) {
|
|
|
1663
531
|
// Parashat Re'eh is always read in Av on 25, 27, 29 or 30.
|
|
1664
532
|
// When it coincides with Erev Rosh Chodesh, the Haftarah is
|
|
1665
533
|
// עניה סוערה (Isaiah 54:11-55:5) and not מחר חדש
|
|
1666
|
-
|
|
534
|
+
const tommorow = hd.next().getDate();
|
|
1667
535
|
if (tommorow === 30 || tommorow === 1) {
|
|
1668
536
|
handleSpecial('Shabbat Machar Chodesh');
|
|
1669
537
|
}
|
|
1670
538
|
}
|
|
1671
539
|
}
|
|
1672
540
|
return {
|
|
1673
|
-
aliyot
|
|
1674
|
-
reason
|
|
1675
|
-
haft
|
|
1676
|
-
seph
|
|
541
|
+
aliyot,
|
|
542
|
+
reason,
|
|
543
|
+
haft,
|
|
544
|
+
seph
|
|
1677
545
|
};
|
|
1678
546
|
}
|
|
1679
547
|
|
|
@@ -1690,14 +558,14 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
|
|
|
1690
558
|
if (typeof key !== 'string') {
|
|
1691
559
|
return undefined;
|
|
1692
560
|
}
|
|
1693
|
-
|
|
561
|
+
const src = lookupFestival(key);
|
|
1694
562
|
if (typeof src === 'undefined') {
|
|
1695
563
|
return undefined;
|
|
1696
564
|
}
|
|
1697
565
|
if (typeof src.il === 'boolean' && typeof il === 'boolean' && il !== src.il) {
|
|
1698
566
|
return undefined;
|
|
1699
567
|
}
|
|
1700
|
-
|
|
568
|
+
const leyning = {
|
|
1701
569
|
name: {
|
|
1702
570
|
en: key,
|
|
1703
571
|
he: core.Locale.lookupTranslation(key, 'he')
|
|
@@ -1706,42 +574,40 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
|
|
|
1706
574
|
if (src.fullkriyah) {
|
|
1707
575
|
leyning.fullkriyah = clone(src.fullkriyah);
|
|
1708
576
|
if (key === 'Sukkot Shabbat Chol ha-Moed' && cholHaMoedDay) {
|
|
1709
|
-
leyning.fullkriyah['M'] = leyning.fullkriyah[
|
|
1710
|
-
for (
|
|
1711
|
-
delete leyning.fullkriyah[
|
|
577
|
+
leyning.fullkriyah['M'] = leyning.fullkriyah[`M-day${cholHaMoedDay}`];
|
|
578
|
+
for (let day = 1; day <= 5; day++) {
|
|
579
|
+
delete leyning.fullkriyah[`M-day${day}`];
|
|
1712
580
|
}
|
|
1713
581
|
}
|
|
1714
|
-
if (
|
|
1715
|
-
|
|
582
|
+
if (typeof leyning.fullkriyah['1'] === 'object') {
|
|
583
|
+
const parts = makeLeyningParts(leyning.fullkriyah);
|
|
1716
584
|
leyning.summary = makeSummaryFromParts(parts);
|
|
1717
585
|
if (parts.length > 1) {
|
|
1718
586
|
leyning.summaryParts = parts;
|
|
1719
587
|
}
|
|
1720
588
|
}
|
|
1721
|
-
Object.values(leyning.fullkriyah).map(
|
|
1722
|
-
return calculateNumVerses(aliyah);
|
|
1723
|
-
});
|
|
589
|
+
Object.values(leyning.fullkriyah).map(aliyah => calculateNumVerses(aliyah));
|
|
1724
590
|
}
|
|
1725
591
|
if (src.haft) {
|
|
1726
|
-
|
|
592
|
+
const haft = leyning.haft = cloneHaftara(src.haft);
|
|
1727
593
|
leyning.haftara = makeSummaryFromParts(haft);
|
|
1728
594
|
leyning.haftaraNumV = sumVerses(haft);
|
|
1729
595
|
}
|
|
1730
596
|
if (src.seph) {
|
|
1731
|
-
|
|
597
|
+
const seph = leyning.seph = cloneHaftara(src.seph);
|
|
1732
598
|
leyning.sephardic = makeSummaryFromParts(seph);
|
|
1733
599
|
leyning.sephardicNumV = sumVerses(seph);
|
|
1734
600
|
}
|
|
1735
601
|
if (src.megillah) {
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
for (
|
|
1740
|
-
|
|
1741
|
-
m[
|
|
602
|
+
const book = src.megillah;
|
|
603
|
+
const chaps = numverses[book];
|
|
604
|
+
const m = {};
|
|
605
|
+
for (let i = 1; i < chaps.length; i++) {
|
|
606
|
+
const numv = chaps[i];
|
|
607
|
+
m[`${i}`] = {
|
|
1742
608
|
k: book,
|
|
1743
|
-
b:
|
|
1744
|
-
e:
|
|
609
|
+
b: `${i}:1`,
|
|
610
|
+
e: `${i}:${numv}`,
|
|
1745
611
|
v: numv
|
|
1746
612
|
};
|
|
1747
613
|
}
|
|
@@ -1761,22 +627,22 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
|
|
|
1761
627
|
* @return {Leyning} map of aliyot
|
|
1762
628
|
*/
|
|
1763
629
|
function getLeyningForHoliday(ev) {
|
|
1764
|
-
|
|
1765
|
-
if (
|
|
1766
|
-
throw new TypeError(
|
|
630
|
+
let il = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
631
|
+
if (typeof ev !== 'object' || typeof ev.getFlags !== 'function') {
|
|
632
|
+
throw new TypeError(`Bad event argument: ${ev}`);
|
|
1767
633
|
} else if (typeof ev.eventTime !== 'undefined') {
|
|
1768
634
|
return undefined;
|
|
1769
635
|
} else if (ev.getFlags() & core.flags.PARSHA_HASHAVUA) {
|
|
1770
|
-
throw new TypeError(
|
|
636
|
+
throw new TypeError(`Event should be a holiday: ${ev.getDesc()}`);
|
|
1771
637
|
} else if (ev.getFlags() & HOLIDAY_IGNORE_MASK) {
|
|
1772
638
|
return undefined;
|
|
1773
639
|
}
|
|
1774
|
-
|
|
1775
|
-
|
|
640
|
+
const key = getLeyningKeyForEvent(ev, il);
|
|
641
|
+
const leyning = getLeyningForHolidayKey(key, ev.cholHaMoedDay, il);
|
|
1776
642
|
return leyning;
|
|
1777
643
|
}
|
|
1778
644
|
|
|
1779
|
-
var Bereshit={num:1,hebrew:"בְּרֵאשִׁית",book:1,haft:{k:"Isaiah",b:"42:5",e:"43:10"},seph:{k:"Isaiah",b:"42:5",e:"42:21"},fullkriyah:{"1":["1:1","2:3"],"2":["2:4","2:19"],"3":["2:20","3:21"],"4":["3:22","4:18"],"5":["4:19","4:22"],"6":["4:23","5:24"],"7":["5:25","6:8"],M:["6:5","6:8"]},weekday:{"1":["1:1","1:5"],"2":["1:6","1:8"],"3":["1:9","1:13"]}};var Noach={num:2,hebrew:"נֹחַ",book:1,haft:{k:"Isaiah",b:"54:1",e:"55:5"},seph:{k:"Isaiah",b:"54:1",e:"54:10"},fullkriyah:{"1":["6:9","6:22"],"2":["7:1","7:16"],"3":["7:17","8:14"],"4":["8:15","9:7"],"5":["9:8","9:17"],"6":["9:18","10:32"],"7":["11:1","11:32"],M:["11:29","11:32"]},weekday:{"1":["6:9","6:16"],"2":["6:17","6:19"],"3":["6:20","6:22"]}};var Vayera={num:4,hebrew:"וַיֵּרָא",book:1,haft:{k:"II Kings",b:"4:1",e:"4:37"},seph:{k:"II Kings",b:"4:1",e:"4:23"},fullkriyah:{"1":["18:1","18:14"],"2":["18:15","18:33"],"3":["19:1","19:20"],"4":["19:21","21:4"],"5":["21:5","21:21"],"6":["21:22","21:34"],"7":["22:1","22:24"],M:["22:20","22:24"]},weekday:{"1":["18:1","18:5"],"2":["18:6","18:8"],"3":["18:9","18:14"]}};var Toldot={num:6,hebrew:"תּוֹלְדוֹת",book:1,haft:{k:"Malachi",b:"1:1",e:"2:7"},fullkriyah:{"1":["25:19","26:5"],"2":["26:6","26:12"],"3":["26:13","26:22"],"4":["26:23","26:29"],"5":["26:30","27:27"],"6":["27:28","28:4"],"7":["28:5","28:9"],M:["28:7","28:9"]},weekday:{"1":["25:19","25:22"],"2":["25:23","25:26"],"3":["25:27","26:5"]}};var Vayetzei={num:7,hebrew:"וַיֵּצֵא",book:1,haft:{k:"Hosea",b:"12:13",e:"14:10"},seph:{k:"Hosea",b:"11:7",e:"12:12"},fullkriyah:{"1":["28:10","28:22"],"2":["29:1","29:17"],"3":["29:18","30:13"],"4":["30:14","30:27"],"5":["30:28","31:16"],"6":["31:17","31:42"],"7":["31:43","32:3"],M:["32:1","32:3"]},weekday:{"1":["28:10","28:12"],"2":["28:13","28:17"],"3":["28:18","28:22"]}};var Vayishlach={num:8,hebrew:"וַיִּשְׁלַח",book:1,haft:{k:"Obadiah",b:"1:1",e:"1:21"},fullkriyah:{"1":["32:4","32:13"],"2":["32:14","32:30"],"3":["32:31","33:5"],"4":["33:6","33:20"],"5":["34:1","35:11"],"6":["35:12","36:19"],"7":["36:20","36:43"],M:["36:40","36:43"]},weekday:{"1":["32:4","32:6"],"2":["32:7","32:9"],"3":["32:10","32:13"]}};var Vayeshev={num:9,hebrew:"וַיֵּשֶׁב",book:1,haft:{k:"Amos",b:"2:6",e:"3:8"},fullkriyah:{"1":["37:1","37:11"],"2":["37:12","37:22"],"3":["37:23","37:36"],"4":["38:1","38:30"],"5":["39:1","39:6"],"6":["39:7","39:23"],"7":["40:1","40:23"],M:["40:20","40:23"]},weekday:{"1":["37:1","37:3"],"2":["37:4","37:7"],"3":["37:8","37:11"]}};var Miketz={num:10,hebrew:"מִקֵּץ",book:1,haft:{k:"I Kings",b:"3:15",e:"4:1"},fullkriyah:{"1":["41:1","41:14"],"2":["41:15","41:38"],"3":["41:39","41:52"],"4":["41:53","42:18"],"5":["42:19","43:15"],"6":["43:16","43:29"],"7":["43:30","44:17"],M:["44:14","44:17"]},weekday:{"1":["41:1","41:4"],"2":["41:5","41:7"],"3":["41:8","41:14"]}};var Vayigash={num:11,hebrew:"וַיִּגַּשׁ",book:1,haft:{k:"Ezekiel",b:"37:15",e:"37:28"},fullkriyah:{"1":["44:18","44:30"],"2":["44:31","45:7"],"3":["45:8","45:18"],"4":["45:19","45:27"],"5":["45:28","46:27"],"6":["46:28","47:10"],"7":["47:11","47:27"],M:["47:25","47:27"]},weekday:{"1":["44:18","44:20"],"2":["44:21","44:24"],"3":["44:25","44:30"]}};var Vayechi={num:12,hebrew:"וַיְחִי",book:1,haft:{k:"I Kings",b:"2:1",e:"2:12"},fullkriyah:{"1":["47:28","48:9"],"2":["48:10","48:16"],"3":["48:17","48:22"],"4":["49:1","49:18"],"5":["49:19","49:26"],"6":["49:27","50:20"],"7":["50:21","50:26"],M:["50:23","50:26"]},weekday:{"1":["47:28","47:31"],"2":["48:1","48:3"],"3":["48:4","48:9"]}};var Shemot={num:13,hebrew:"שְׁמוֹת",book:2,haft:[{k:"Isaiah",b:"27:6",e:"28:13"},{k:"Isaiah",b:"29:22",e:"29:23"}],seph:{k:"Jeremiah",b:"1:1",e:"2:3"},fullkriyah:{"1":["1:1","1:17"],"2":["1:18","2:10"],"3":["2:11","2:25"],"4":["3:1","3:15"],"5":["3:16","4:17"],"6":["4:18","4:31"],"7":["5:1","6:1"],M:["5:22","6:1"]},weekday:{"1":["1:1","1:7"],"2":["1:8","1:12"],"3":["1:13","1:17"]}};var Vaera={num:14,hebrew:"וָאֵרָא",book:2,haft:{k:"Ezekiel",b:"28:25",e:"29:21"},fullkriyah:{"1":["6:2","6:13"],"2":["6:14","6:28"],"3":["6:29","7:7"],"4":["7:8","8:6"],"5":["8:7","8:18"],"6":["8:19","9:16"],"7":["9:17","9:35"],M:["9:33","9:35"]},weekday:{"1":["6:2","6:5"],"2":["6:6","6:9"],"3":["6:10","6:13"]}};var Bo={num:15,hebrew:"בֹּא",book:2,haft:{k:"Jeremiah",b:"46:13",e:"46:28"},fullkriyah:{"1":["10:1","10:11"],"2":["10:12","10:23"],"3":["10:24","11:3"],"4":["11:4","12:20"],"5":["12:21","12:28"],"6":["12:29","12:51"],"7":["13:1","13:16"],M:["13:14","13:16"]},weekday:{"1":["10:1","10:3"],"2":["10:4","10:6"],"3":["10:7","10:11"]}};var Beshalach={num:16,hebrew:"בְּשַׁלַּח",book:2,haft:{k:"Judges",b:"4:4",e:"5:31"},seph:{k:"Judges",b:"5:1",e:"5:31"},fullkriyah:{"1":["13:17","14:8"],"2":["14:9","14:14"],"3":["14:15","14:25"],"4":["14:26","15:26"],"5":["15:27","16:10"],"6":["16:11","16:36"],"7":["17:1","17:16"],M:["17:14","17:16"]},weekday:{"1":["13:17","13:22"],"2":["14:1","14:4"],"3":["14:5","14:8"]}};var Yitro={num:17,hebrew:"יִתְרוֹ",book:2,haft:[{k:"Isaiah",b:"6:1",e:"7:6"},{k:"Isaiah",b:"9:5",e:"9:6"}],seph:{k:"Isaiah",b:"6:1",e:"6:13"},fullkriyah:{"1":["18:1","18:12"],"2":["18:13","18:23"],"3":["18:24","18:27"],"4":["19:1","19:6"],"5":["19:7","19:19"],"6":["19:20","20:14"],"7":["20:15","20:23"],M:["20:19","20:23"]},weekday:{"1":["18:1","18:4"],"2":["18:5","18:8"],"3":["18:9","18:12"]}};var Mishpatim={num:18,hebrew:"מִּשְׁפָּטִים",book:2,haft:[{k:"Jeremiah",b:"34:8",e:"34:22"},{k:"Jeremiah",b:"33:25",e:"33:26"}],fullkriyah:{"1":["21:1","21:19"],"2":["21:20","22:3"],"3":["22:4","22:26"],"4":["22:27","23:5"],"5":["23:6","23:19"],"6":["23:20","23:25"],"7":["23:26","24:18"],M:["24:15","24:18"]},weekday:{"1":["21:1","21:6"],"2":["21:7","21:11"],"3":["21:12","21:19"]}};var Terumah={num:19,hebrew:"תְּרוּמָה",book:2,haft:{k:"I Kings",b:"5:26",e:"6:13"},fullkriyah:{"1":["25:1","25:16"],"2":["25:17","25:30"],"3":["25:31","26:14"],"4":["26:15","26:30"],"5":["26:31","26:37"],"6":["27:1","27:8"],"7":["27:9","27:19"],M:["27:17","27:19"]},weekday:{"1":["25:1","25:5"],"2":["25:6","25:9"],"3":["25:10","25:16"]}};var Tetzaveh={num:20,hebrew:"תְּצַוֶּה",book:2,haft:{k:"Ezekiel",b:"43:10",e:"43:27"},fullkriyah:{"1":["27:20","28:12"],"2":["28:13","28:30"],"3":["28:31","28:43"],"4":["29:1","29:18"],"5":["29:19","29:37"],"6":["29:38","29:46"],"7":["30:1","30:10"],M:["30:8","30:10"]},weekday:{"1":["27:20","28:5"],"2":["28:6","28:9"],"3":["28:10","28:12"]}};var Vayakhel={num:22,hebrew:"וַיַּקְהֵל",book:2,haft:{k:"I Kings",b:"7:40",e:"7:50"},seph:{k:"I Kings",b:"7:13",e:"7:26"},fullkriyah:{"1":["35:1","35:20"],"2":["35:21","35:29"],"3":["35:30","36:7"],"4":["36:8","36:19"],"5":["36:20","37:16"],"6":["37:17","37:29"],"7":["38:1","38:20"],M:["38:18","38:20"]},weekday:{"1":["35:1","35:3"],"2":["35:4","35:10"],"3":["35:11","35:20"]}};var Pekudei={num:23,hebrew:"פְקוּדֵי",book:2,haft:{k:"I Kings",b:"7:51",e:"8:21"},seph:{k:"I Kings",b:"7:40",e:"7:50"},fullkriyah:{"1":["38:21","39:1"],"2":["39:2","39:21"],"3":["39:22","39:32"],"4":["39:33","39:43"],"5":["40:1","40:16"],"6":["40:17","40:27"],"7":["40:28","40:38"],M:["40:34","40:38"]},weekday:{"1":["38:21","38:23"],"2":["38:24","38:27"],"3":["38:28","39:1"]}};var Vayikra={num:24,hebrew:"וַיִּקְרָא",book:3,haft:{k:"Isaiah",b:"43:21",e:"44:23"},fullkriyah:{"1":["1:1","1:13"],"2":["1:14","2:6"],"3":["2:7","2:16"],"4":["3:1","3:17"],"5":["4:1","4:26"],"6":["4:27","5:10"],"7":["5:11","5:26"],M:["5:24","5:26"]},weekday:{"1":["1:1","1:4"],"2":["1:5","1:9"],"3":["1:10","1:13"]}};var Tzav={num:25,hebrew:"צַו",book:3,haft:[{k:"Jeremiah",b:"7:21",e:"8:3"},{k:"Jeremiah",b:"9:22",e:"9:23"}],fullkriyah:{"1":["6:1","6:11"],"2":["6:12","7:10"],"3":["7:11","7:38"],"4":["8:1","8:13"],"5":["8:14","8:21"],"6":["8:22","8:29"],"7":["8:30","8:36"],M:["8:33","8:36"]},weekday:{"1":["6:1","6:3"],"2":["6:4","6:6"],"3":["6:7","6:11"]}};var Shmini={num:26,hebrew:"שְּׁמִינִי",book:3,haft:{k:"II Samuel",b:"6:1",e:"7:17"},seph:{k:"II Samuel",b:"6:1",e:"6:19"},fullkriyah:{"1":["9:1","9:16"],"2":["9:17","9:23"],"3":["9:24","10:11"],"4":["10:12","10:15"],"5":["10:16","10:20"],"6":["11:1","11:32"],"7":["11:33","11:47"],M:["11:45","11:47"]},weekday:{"1":["9:1","9:6"],"2":["9:7","9:10"],"3":["9:11","9:16"]}};var Tazria={num:27,hebrew:"תַזְרִיעַ",book:3,haft:{k:"II Kings",b:"4:42",e:"5:19"},fullkriyah:{"1":["12:1","13:5"],"2":["13:6","13:17"],"3":["13:18","13:23"],"4":["13:24","13:28"],"5":["13:29","13:39"],"6":["13:40","13:54"],"7":["13:55","13:59"],M:["13:57","13:59"]},weekday:{"1":["12:1","12:4"],"2":["12:5","12:8"],"3":["13:1","13:5"]}};var Metzora={num:28,hebrew:"מְּצֹרָע",book:3,haft:{k:"II Kings",b:"7:3",e:"7:20"},fullkriyah:{"1":["14:1","14:12"],"2":["14:13","14:20"],"3":["14:21","14:32"],"4":["14:33","14:53"],"5":["14:54","15:15"],"6":["15:16","15:28"],"7":["15:29","15:33"],M:["15:31","15:33"]},weekday:{"1":["14:1","14:5"],"2":["14:6","14:9"],"3":["14:10","14:12"]}};var Kedoshim={num:30,hebrew:"קְדשִׁים",book:3,haft:{k:"Amos",b:"9:7",e:"9:15"},seph:{k:"Ezekiel",b:"20:2",e:"20:20"},fullkriyah:{"1":["19:1","19:14"],"2":["19:15","19:22"],"3":["19:23","19:32"],"4":["19:33","19:37"],"5":["20:1","20:7"],"6":["20:8","20:22"],"7":["20:23","20:27"],M:["20:25","20:27"]},weekday:{"1":["19:1","19:4"],"2":["19:5","19:10"],"3":["19:11","19:14"]}};var Emor={num:31,hebrew:"אֱמוֹר",book:3,haft:{k:"Ezekiel",b:"44:15",e:"44:31"},fullkriyah:{"1":["21:1","21:15"],"2":["21:16","22:16"],"3":["22:17","22:33"],"4":["23:1","23:22"],"5":["23:23","23:32"],"6":["23:33","23:44"],"7":["24:1","24:23"],M:["24:21","24:23"]},weekday:{"1":["21:1","21:6"],"2":["21:7","21:12"],"3":["21:13","21:15"]}};var Behar={num:32,hebrew:"בְּהַר",book:3,haft:{k:"Jeremiah",b:"32:6",e:"32:27"},fullkriyah:{"1":["25:1","25:13"],"2":["25:14","25:18"],"3":["25:19","25:24"],"4":["25:25","25:28"],"5":["25:29","25:38"],"6":["25:39","25:46"],"7":["25:47","26:2"],M:["25:55","26:2"]},weekday:{"1":["25:1","25:3"],"2":["25:4","25:7"],"3":["25:8","25:13"]}};var Bechukotai={num:33,hebrew:"בְּחֻקֹּתַי",book:3,haft:{k:"Jeremiah",b:"16:19",e:"17:14"},fullkriyah:{"1":["26:3","26:5"],"2":["26:6","26:9"],"3":["26:10","26:46"],"4":["27:1","27:15"],"5":["27:16","27:21"],"6":["27:22","27:28"],"7":["27:29","27:34"],M:["27:32","27:34"]},weekday:{"1":["26:3","26:5"],"2":["26:6","26:9"],"3":["26:10","26:13"]}};var Bamidbar={num:34,hebrew:"בְּמִדְבַּר",book:4,haft:{k:"Hosea",b:"2:1",e:"2:22"},fullkriyah:{"1":["1:1","1:19"],"2":["1:20","1:54"],"3":["2:1","2:34"],"4":["3:1","3:13"],"5":["3:14","3:39"],"6":["3:40","3:51"],"7":["4:1","4:20"],M:["4:17","4:20"]},weekday:{"1":["1:1","1:4"],"2":["1:5","1:16"],"3":["1:17","1:19"]}};var Nasso={num:35,hebrew:"נָשׂא",book:4,haft:{k:"Judges",b:"13:2",e:"13:25"},fullkriyah:{"1":["4:21","4:37"],"2":["4:38","4:49"],"3":["5:1","5:10"],"4":["5:11","6:27"],"5":["7:1","7:41"],"6":["7:42","7:71"],"7":["7:72","7:89"],M:["7:87","7:89"]},weekday:{"1":["4:21","4:24"],"2":["4:25","4:28"],"3":["4:29","4:33"]}};var Korach={num:38,hebrew:"קוֹרַח",book:4,haft:{k:"I Samuel",b:"11:14",e:"12:22"},fullkriyah:{"1":["16:1","16:13"],"2":["16:14","16:19"],"3":["16:20","17:8"],"4":["17:9","17:15"],"5":["17:16","17:24"],"6":["17:25","18:20"],"7":["18:21","18:32"],M:["18:30","18:32"]},weekday:{"1":["16:1","16:3"],"2":["16:4","16:7"],"3":["16:8","16:13"]}};var Chukat={num:39,hebrew:"חֻקַּת",book:4,haft:{k:"Judges",b:"11:1",e:"11:33"},fullkriyah:{"1":["19:1","19:17"],"2":["19:18","20:6"],"3":["20:7","20:13"],"4":["20:14","20:21"],"5":["20:22","21:9"],"6":["21:10","21:20"],"7":["21:21","22:1"],M:["21:34","22:1"]},weekday:{"1":["19:1","19:6"],"2":["19:7","19:9"],"3":["19:10","19:17"]}};var Balak={num:40,hebrew:"בָּלָק",book:4,haft:{k:"Micah",b:"5:6",e:"6:8"},fullkriyah:{"1":["22:2","22:12"],"2":["22:13","22:20"],"3":["22:21","22:38"],"4":["22:39","23:12"],"5":["23:13","23:26"],"6":["23:27","24:13"],"7":["24:14","25:9"],M:["25:7","25:9"]},weekday:{"1":["22:2","22:4"],"2":["22:5","22:7"],"3":["22:8","22:12"]}};var Pinchas={num:41,hebrew:"פִּינְחָס",book:4,haft:{k:"I Kings",b:"18:46",e:"19:21"},fullkriyah:{"1":["25:10","26:4"],"2":["26:5","26:51"],"3":["26:52","27:5"],"4":["27:6","27:23"],"5":["28:1","28:15"],"6":["28:16","29:11"],"7":["29:12","30:1"],M:["29:35","30:1"]},weekday:{"1":["25:10","25:12"],"2":["25:13","25:15"],"3":["25:16","26:4"]}};var Matot={num:42,hebrew:"מַּטּוֹת",book:4,haft:{k:"Jeremiah",b:"1:1",e:"2:3"},fullkriyah:{"1":["30:2","30:17"],"2":["31:1","31:12"],"3":["31:13","31:24"],"4":["31:25","31:41"],"5":["31:42","31:54"],"6":["32:1","32:19"],"7":["32:20","32:42"],M:["32:39","32:42"]},weekday:{"1":["30:2","30:9"],"2":["30:10","30:13"],"3":["30:14","30:17"]}};var Masei={num:43,hebrew:"מַסְעֵי",book:4,haft:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"3:4",e:"3:4"}],seph:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"4:1",e:"4:2"}],fullkriyah:{"1":["33:1","33:10"],"2":["33:11","33:49"],"3":["33:50","34:15"],"4":["34:16","34:29"],"5":["35:1","35:8"],"6":["35:9","35:34"],"7":["36:1","36:13"],M:["36:11","36:13"]},weekday:{"1":["33:1","33:3"],"2":["33:4","33:6"],"3":["33:7","33:10"]}};var Devarim={num:44,hebrew:"דְּבָרִים",book:5,haft:{k:"Isaiah",b:"1:1",e:"1:27"},fullkriyah:{"1":["1:1","1:10"],"2":["1:11","1:21"],"3":["1:22","1:38"],"4":["1:39","2:1"],"5":["2:2","2:30"],"6":["2:31","3:14"],"7":["3:15","3:22"],M:["3:20","3:22"]},weekday:{"1":["1:1","1:3"],"2":["1:4","1:7"],"3":["1:8","1:11"]}};var Vaetchanan={num:45,hebrew:"וָאֶתְחַנַּן",book:5,haft:{k:"Isaiah",b:"40:1",e:"40:26"},fullkriyah:{"1":["3:23","4:4"],"2":["4:5","4:40"],"3":["4:41","4:49"],"4":["5:1","5:18"],"5":["5:19","6:3"],"6":["6:4","6:25"],"7":["7:1","7:11"],M:["7:9","7:11"]},weekday:{"1":["3:23","3:25"],"2":["3:26","4:4"],"3":["4:5","4:8"]}};var Eikev={num:46,hebrew:"עֵקֶב",book:5,haft:{k:"Isaiah",b:"49:14",e:"51:3"},fullkriyah:{"1":["7:12","8:10"],"2":["8:11","9:3"],"3":["9:4","9:29"],"4":["10:1","10:11"],"5":["10:12","11:9"],"6":["11:10","11:21"],"7":["11:22","11:25"],M:["11:22","11:25"]},weekday:{"1":["7:12","7:21"],"2":["7:22","8:3"],"3":["8:4","8:10"]}};var Shoftim={num:48,hebrew:"שׁוֹפְטִים",book:5,haft:{k:"Isaiah",b:"51:12",e:"52:12"},fullkriyah:{"1":["16:18","17:13"],"2":["17:14","17:20"],"3":["18:1","18:5"],"4":["18:6","18:13"],"5":["18:14","19:13"],"6":["19:14","20:9"],"7":["20:10","21:9"],M:["21:7","21:9"]},weekday:{"1":["16:18","16:20"],"2":["16:21","17:10"],"3":["17:11","17:13"]}};var Nitzavim={num:51,hebrew:"נִצָּבִים",book:5,haft:{k:"Isaiah",b:"61:10",e:"63:9"},fullkriyah:{"1":["29:9","29:11"],"2":["29:12","29:14"],"3":["29:15","29:28"],"4":["30:1","30:6"],"5":["30:7","30:10"],"6":["30:11","30:14"],"7":["30:15","30:20"],M:["30:15","30:20"]},weekday:{"1":["29:9","29:11"],"2":["29:12","29:14"],"3":["29:15","29:28"]}};var Vayeilech={num:52,hebrew:"וַיֵּלֶךְ",book:5,haft:{k:"Isaiah",b:"55:6",e:"56:8"},fullkriyah:{"1":["31:1","31:3"],"2":["31:4","31:6"],"3":["31:7","31:9"],"4":["31:10","31:13"],"5":["31:14","31:19"],"6":["31:20","31:24"],"7":["31:25","31:30"],M:["31:28","31:30"]},weekday:{"1":["31:1","31:3"],"2":["31:4","31:6"],"3":["31:7","31:13"]}};var parshiyotObj = {Bereshit:Bereshit,Noach:Noach,"Lech-Lecha":{num:3,hebrew:"לֶךְ־לְךָ",book:1,haft:{k:"Isaiah",b:"40:27",e:"41:16"},fullkriyah:{"1":["12:1","12:13"],"2":["12:14","13:4"],"3":["13:5","13:18"],"4":["14:1","14:20"],"5":["14:21","15:6"],"6":["15:7","17:6"],"7":["17:7","17:27"],M:["17:24","17:27"]},weekday:{"1":["12:1","12:3"],"2":["12:4","12:9"],"3":["12:10","12:13"]}},Vayera:Vayera,"Chayei Sara":{num:5,hebrew:"חַיֵּי שָֹרָה",book:1,haft:{k:"I Kings",b:"1:1",e:"1:31"},fullkriyah:{"1":["23:1","23:16"],"2":["23:17","24:9"],"3":["24:10","24:26"],"4":["24:27","24:52"],"5":["24:53","24:67"],"6":["25:1","25:11"],"7":["25:12","25:18"],M:["25:16","25:18"]},weekday:{"1":["23:1","23:7"],"2":["23:8","23:12"],"3":["23:13","23:16"]}},Toldot:Toldot,Vayetzei:Vayetzei,Vayishlach:Vayishlach,Vayeshev:Vayeshev,Miketz:Miketz,Vayigash:Vayigash,Vayechi:Vayechi,Shemot:Shemot,Vaera:Vaera,Bo:Bo,Beshalach:Beshalach,Yitro:Yitro,Mishpatim:Mishpatim,Terumah:Terumah,Tetzaveh:Tetzaveh,"Ki Tisa":{num:21,hebrew:"כִּי תִשָּׂא",book:2,haft:{k:"I Kings",b:"18:1",e:"18:39"},seph:{k:"I Kings",b:"18:20",e:"18:39"},fullkriyah:{"1":["30:11","31:17"],"2":["31:18","33:11"],"3":["33:12","33:16"],"4":["33:17","33:23"],"5":["34:1","34:9"],"6":["34:10","34:26"],"7":["34:27","34:35"],M:["34:33","34:35"]},weekday:{"1":["30:11","30:13"],"2":["30:14","30:16"],"3":["30:17","30:21"]}},Vayakhel:Vayakhel,Pekudei:Pekudei,Vayikra:Vayikra,Tzav:Tzav,Shmini:Shmini,Tazria:Tazria,Metzora:Metzora,"Achrei Mot":{num:29,hebrew:"אַחֲרֵי מוֹת",book:3,haft:{k:"Ezekiel",b:"22:1",e:"22:19"},seph:{k:"Ezekiel",b:"22:1",e:"22:16"},fullkriyah:{"1":["16:1","16:17"],"2":["16:18","16:24"],"3":["16:25","16:34"],"4":["17:1","17:7"],"5":["17:8","18:5"],"6":["18:6","18:21"],"7":["18:22","18:30"],M:["18:28","18:30"]},weekday:{"1":["16:1","16:6"],"2":["16:7","16:11"],"3":["16:12","16:17"]}},Kedoshim:Kedoshim,Emor:Emor,Behar:Behar,Bechukotai:Bechukotai,Bamidbar:Bamidbar,Nasso:Nasso,"Beha'alotcha":{num:36,hebrew:"בְּהַעֲלֹתְךָ",book:4,haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{"1":["8:1","8:14"],"2":["8:15","8:26"],"3":["9:1","9:14"],"4":["9:15","10:10"],"5":["10:11","10:34"],"6":["10:35","11:29"],"7":["11:30","12:16"],M:["12:14","12:16"]},weekday:{"1":["8:1","8:4"],"2":["8:5","8:9"],"3":["8:10","8:14"]}},"Sh'lach":{num:37,hebrew:"שְׁלַח־לְךָ",book:4,haft:{k:"Joshua",b:"2:1",e:"2:24"},fullkriyah:{"1":["13:1","13:20"],"2":["13:21","14:7"],"3":["14:8","14:25"],"4":["14:26","15:7"],"5":["15:8","15:16"],"6":["15:17","15:26"],"7":["15:27","15:41"],M:["15:37","15:41"]},weekday:{"1":["13:1","13:3"],"2":["13:4","13:16"],"3":["13:17","13:20"]}},Korach:Korach,Chukat:Chukat,Balak:Balak,Pinchas:Pinchas,Matot:Matot,Masei:Masei,Devarim:Devarim,Vaetchanan:Vaetchanan,Eikev:Eikev,"Re'eh":{num:47,hebrew:"רְאֵה",book:5,haft:{k:"Isaiah",b:"54:11",e:"55:5"},fullkriyah:{"1":["11:26","12:10"],"2":["12:11","12:28"],"3":["12:29","13:19"],"4":["14:1","14:21"],"5":["14:22","14:29"],"6":["15:1","15:18"],"7":["15:19","16:17"],M:["16:13","16:17"]},weekday:{"1":["11:26","11:31"],"2":["11:32","12:5"],"3":["12:6","12:10"]}},Shoftim:Shoftim,"Ki Teitzei":{num:49,hebrew:"כִּי־תֵצֵא",book:5,haft:{k:"Isaiah",b:"54:1",e:"54:10"},fullkriyah:{"1":["21:10","21:21"],"2":["21:22","22:7"],"3":["22:8","23:7"],"4":["23:8","23:24"],"5":["23:25","24:4"],"6":["24:5","24:13"],"7":["24:14","25:19"],M:["25:17","25:19"]},weekday:{"1":["21:10","21:14"],"2":["21:15","21:17"],"3":["21:18","21:21"]}},"Ki Tavo":{num:50,hebrew:"כִּי־תָבוֹא",book:5,haft:{k:"Isaiah",b:"60:1",e:"60:22"},fullkriyah:{"1":["26:1","26:11"],"2":["26:12","26:15"],"3":["26:16","26:19"],"4":["27:1","27:10"],"5":["27:11","28:6"],"6":["28:7","28:69"],"7":["29:1","29:8"],M:["29:6","29:8"]},weekday:{"1":["26:1","26:3"],"2":["26:4","26:11"],"3":["26:12","26:15"]}},Nitzavim:Nitzavim,Vayeilech:Vayeilech,"Ha'azinu":{num:53,hebrew:"הַאֲזִינוּ",book:5,haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{"1":["32:1","32:6"],"2":["32:7","32:12"],"3":["32:13","32:18"],"4":["32:19","32:28"],"5":["32:29","32:39"],"6":["32:40","32:43"],"7":["32:44","32:52"],M:["32:48","32:52"]},weekday:{"1":["32:1","32:3"],"2":["32:4","32:6"],"3":["32:7","32:12"]}},"Vezot Haberakhah":{num:54,hebrew:"וְזֹאת הַבְּרָכָה",book:5,haft:{k:"Joshua",b:"1:1",e:"1:18"},seph:{k:"Joshua",b:"1:1",e:"1:9"},fullkriyah:{"1":["33:1","33:7"],"2":["33:8","33:12"],"3":["33:13","33:17"],"4":["33:18","33:21"],"5":["33:22","33:26"],"6":["33:27","33:29"],"7":["34:1","34:12"]},weekday:{"1":["33:1","33:7"],"2":["33:8","33:12"],"3":["33:13","33:17"]}},"Vayakhel-Pekudei":{num:101,combined:true,p1:"Vayakhel",p2:"Pekudei",num1:22,num2:23,book:2,fullkriyah:{"1":["35:1","35:29"],"2":["35:30","37:16"],"3":["37:17","37:29"],"4":["38:1","39:1"],"5":["39:2","39:21"],"6":["39:22","39:43"],"7":["40:1","40:38"],M:["40:34","40:38"]}},"Tazria-Metzora":{num:102,combined:true,p1:"Tazria",p2:"Metzora",num1:27,num2:28,book:3,fullkriyah:{"1":["12:1","13:23"],"2":["13:24","13:39"],"3":["13:40","13:54"],"4":["13:55","14:20"],"5":["14:21","14:32"],"6":["14:33","15:15"],"7":["15:16","15:33"],M:["15:31","15:33"]}},"Achrei Mot-Kedoshim":{num:103,combined:true,p1:"Achrei Mot",p2:"Kedoshim",num1:29,num2:30,book:3,fullkriyah:{"1":["16:1","16:24"],"2":["16:25","17:7"],"3":["17:8","18:21"],"4":["18:22","19:14"],"5":["19:15","19:32"],"6":["19:33","20:7"],"7":["20:8","20:27"],M:["20:25","20:27"]}},"Behar-Bechukotai":{num:104,combined:true,p1:"Behar",p2:"Bechukotai",num1:32,num2:33,book:3,fullkriyah:{"1":["25:1","25:18"],"2":["25:19","25:28"],"3":["25:29","25:38"],"4":["25:39","26:9"],"5":["26:10","26:46"],"6":["27:1","27:15"],"7":["27:16","27:34"],M:["27:32","27:34"]}},"Chukat-Balak":{num:105,combined:true,p1:"Chukat",p2:"Balak",num1:39,num2:40,book:4,fullkriyah:{"1":["19:1","20:6"],"2":["20:7","20:21"],"3":["20:22","21:20"],"4":["21:21","22:12"],"5":["22:13","22:38"],"6":["22:39","23:26"],"7":["23:27","25:9"],M:["25:7","25:9"]}},"Matot-Masei":{num:106,combined:true,p1:"Matot",p2:"Masei",num1:42,num2:43,book:4,fullkriyah:{"1":["30:2","31:12"],"2":["31:13","31:54"],"3":["32:1","32:19"],"4":["32:20","33:49"],"5":["33:50","34:15"],"6":["34:16","35:8"],"7":["35:9","36:13"],M:["36:11","36:13"]}},"Nitzavim-Vayeilech":{num:107,combined:true,p1:"Nitzavim",p2:"Vayeilech",num1:51,num2:52,book:5,fullkriyah:{"1":["29:9","29:28"],"2":["30:1","30:6"],"3":["30:7","30:14"],"4":["30:15","31:6"],"5":["31:7","31:13"],"6":["31:14","31:19"],"7":["31:20","31:30"],M:["31:28","31:30"]}}};
|
|
645
|
+
const Bereshit={num:1,hebrew:"בְּרֵאשִׁית",book:1,haft:{k:"Isaiah",b:"42:5",e:"43:10"},seph:{k:"Isaiah",b:"42:5",e:"42:21"},fullkriyah:{"1":["1:1","2:3"],"2":["2:4","2:19"],"3":["2:20","3:21"],"4":["3:22","4:18"],"5":["4:19","4:22"],"6":["4:23","5:24"],"7":["5:25","6:8"],M:["6:5","6:8"]},weekday:{"1":["1:1","1:5"],"2":["1:6","1:8"],"3":["1:9","1:13"]}};const Noach={num:2,hebrew:"נֹחַ",book:1,haft:{k:"Isaiah",b:"54:1",e:"55:5"},seph:{k:"Isaiah",b:"54:1",e:"54:10"},fullkriyah:{"1":["6:9","6:22"],"2":["7:1","7:16"],"3":["7:17","8:14"],"4":["8:15","9:7"],"5":["9:8","9:17"],"6":["9:18","10:32"],"7":["11:1","11:32"],M:["11:29","11:32"]},weekday:{"1":["6:9","6:16"],"2":["6:17","6:19"],"3":["6:20","6:22"]}};const Vayera={num:4,hebrew:"וַיֵּרָא",book:1,haft:{k:"II Kings",b:"4:1",e:"4:37"},seph:{k:"II Kings",b:"4:1",e:"4:23"},fullkriyah:{"1":["18:1","18:14"],"2":["18:15","18:33"],"3":["19:1","19:20"],"4":["19:21","21:4"],"5":["21:5","21:21"],"6":["21:22","21:34"],"7":["22:1","22:24"],M:["22:20","22:24"]},weekday:{"1":["18:1","18:5"],"2":["18:6","18:8"],"3":["18:9","18:14"]}};const Toldot={num:6,hebrew:"תּוֹלְדוֹת",book:1,haft:{k:"Malachi",b:"1:1",e:"2:7"},fullkriyah:{"1":["25:19","26:5"],"2":["26:6","26:12"],"3":["26:13","26:22"],"4":["26:23","26:29"],"5":["26:30","27:27"],"6":["27:28","28:4"],"7":["28:5","28:9"],M:["28:7","28:9"]},weekday:{"1":["25:19","25:22"],"2":["25:23","25:26"],"3":["25:27","26:5"]}};const Vayetzei={num:7,hebrew:"וַיֵּצֵא",book:1,haft:{k:"Hosea",b:"12:13",e:"14:10"},seph:{k:"Hosea",b:"11:7",e:"12:12"},fullkriyah:{"1":["28:10","28:22"],"2":["29:1","29:17"],"3":["29:18","30:13"],"4":["30:14","30:27"],"5":["30:28","31:16"],"6":["31:17","31:42"],"7":["31:43","32:3"],M:["32:1","32:3"]},weekday:{"1":["28:10","28:12"],"2":["28:13","28:17"],"3":["28:18","28:22"]}};const Vayishlach={num:8,hebrew:"וַיִּשְׁלַח",book:1,haft:{k:"Obadiah",b:"1:1",e:"1:21"},fullkriyah:{"1":["32:4","32:13"],"2":["32:14","32:30"],"3":["32:31","33:5"],"4":["33:6","33:20"],"5":["34:1","35:11"],"6":["35:12","36:19"],"7":["36:20","36:43"],M:["36:40","36:43"]},weekday:{"1":["32:4","32:6"],"2":["32:7","32:9"],"3":["32:10","32:13"]}};const Vayeshev={num:9,hebrew:"וַיֵּשֶׁב",book:1,haft:{k:"Amos",b:"2:6",e:"3:8"},fullkriyah:{"1":["37:1","37:11"],"2":["37:12","37:22"],"3":["37:23","37:36"],"4":["38:1","38:30"],"5":["39:1","39:6"],"6":["39:7","39:23"],"7":["40:1","40:23"],M:["40:20","40:23"]},weekday:{"1":["37:1","37:3"],"2":["37:4","37:7"],"3":["37:8","37:11"]}};const Miketz={num:10,hebrew:"מִקֵּץ",book:1,haft:{k:"I Kings",b:"3:15",e:"4:1"},fullkriyah:{"1":["41:1","41:14"],"2":["41:15","41:38"],"3":["41:39","41:52"],"4":["41:53","42:18"],"5":["42:19","43:15"],"6":["43:16","43:29"],"7":["43:30","44:17"],M:["44:14","44:17"]},weekday:{"1":["41:1","41:4"],"2":["41:5","41:7"],"3":["41:8","41:14"]}};const Vayigash={num:11,hebrew:"וַיִּגַּשׁ",book:1,haft:{k:"Ezekiel",b:"37:15",e:"37:28"},fullkriyah:{"1":["44:18","44:30"],"2":["44:31","45:7"],"3":["45:8","45:18"],"4":["45:19","45:27"],"5":["45:28","46:27"],"6":["46:28","47:10"],"7":["47:11","47:27"],M:["47:25","47:27"]},weekday:{"1":["44:18","44:20"],"2":["44:21","44:24"],"3":["44:25","44:30"]}};const Vayechi={num:12,hebrew:"וַיְחִי",book:1,haft:{k:"I Kings",b:"2:1",e:"2:12"},fullkriyah:{"1":["47:28","48:9"],"2":["48:10","48:16"],"3":["48:17","48:22"],"4":["49:1","49:18"],"5":["49:19","49:26"],"6":["49:27","50:20"],"7":["50:21","50:26"],M:["50:23","50:26"]},weekday:{"1":["47:28","47:31"],"2":["48:1","48:3"],"3":["48:4","48:9"]}};const Shemot={num:13,hebrew:"שְׁמוֹת",book:2,haft:[{k:"Isaiah",b:"27:6",e:"28:13"},{k:"Isaiah",b:"29:22",e:"29:23"}],seph:{k:"Jeremiah",b:"1:1",e:"2:3"},fullkriyah:{"1":["1:1","1:17"],"2":["1:18","2:10"],"3":["2:11","2:25"],"4":["3:1","3:15"],"5":["3:16","4:17"],"6":["4:18","4:31"],"7":["5:1","6:1"],M:["5:22","6:1"]},weekday:{"1":["1:1","1:7"],"2":["1:8","1:12"],"3":["1:13","1:17"]}};const Vaera={num:14,hebrew:"וָאֵרָא",book:2,haft:{k:"Ezekiel",b:"28:25",e:"29:21"},fullkriyah:{"1":["6:2","6:13"],"2":["6:14","6:28"],"3":["6:29","7:7"],"4":["7:8","8:6"],"5":["8:7","8:18"],"6":["8:19","9:16"],"7":["9:17","9:35"],M:["9:33","9:35"]},weekday:{"1":["6:2","6:5"],"2":["6:6","6:9"],"3":["6:10","6:13"]}};const Bo={num:15,hebrew:"בֹּא",book:2,haft:{k:"Jeremiah",b:"46:13",e:"46:28"},fullkriyah:{"1":["10:1","10:11"],"2":["10:12","10:23"],"3":["10:24","11:3"],"4":["11:4","12:20"],"5":["12:21","12:28"],"6":["12:29","12:51"],"7":["13:1","13:16"],M:["13:14","13:16"]},weekday:{"1":["10:1","10:3"],"2":["10:4","10:6"],"3":["10:7","10:11"]}};const Beshalach={num:16,hebrew:"בְּשַׁלַּח",book:2,haft:{k:"Judges",b:"4:4",e:"5:31"},seph:{k:"Judges",b:"5:1",e:"5:31"},fullkriyah:{"1":["13:17","14:8"],"2":["14:9","14:14"],"3":["14:15","14:25"],"4":["14:26","15:26"],"5":["15:27","16:10"],"6":["16:11","16:36"],"7":["17:1","17:16"],M:["17:14","17:16"]},weekday:{"1":["13:17","13:22"],"2":["14:1","14:4"],"3":["14:5","14:8"]}};const Yitro={num:17,hebrew:"יִתְרוֹ",book:2,haft:[{k:"Isaiah",b:"6:1",e:"7:6"},{k:"Isaiah",b:"9:5",e:"9:6"}],seph:{k:"Isaiah",b:"6:1",e:"6:13"},fullkriyah:{"1":["18:1","18:12"],"2":["18:13","18:23"],"3":["18:24","18:27"],"4":["19:1","19:6"],"5":["19:7","19:19"],"6":["19:20","20:14"],"7":["20:15","20:23"],M:["20:19","20:23"]},weekday:{"1":["18:1","18:4"],"2":["18:5","18:8"],"3":["18:9","18:12"]}};const Mishpatim={num:18,hebrew:"מִּשְׁפָּטִים",book:2,haft:[{k:"Jeremiah",b:"34:8",e:"34:22"},{k:"Jeremiah",b:"33:25",e:"33:26"}],fullkriyah:{"1":["21:1","21:19"],"2":["21:20","22:3"],"3":["22:4","22:26"],"4":["22:27","23:5"],"5":["23:6","23:19"],"6":["23:20","23:25"],"7":["23:26","24:18"],M:["24:15","24:18"]},weekday:{"1":["21:1","21:6"],"2":["21:7","21:11"],"3":["21:12","21:19"]}};const Terumah={num:19,hebrew:"תְּרוּמָה",book:2,haft:{k:"I Kings",b:"5:26",e:"6:13"},fullkriyah:{"1":["25:1","25:16"],"2":["25:17","25:30"],"3":["25:31","26:14"],"4":["26:15","26:30"],"5":["26:31","26:37"],"6":["27:1","27:8"],"7":["27:9","27:19"],M:["27:17","27:19"]},weekday:{"1":["25:1","25:5"],"2":["25:6","25:9"],"3":["25:10","25:16"]}};const Tetzaveh={num:20,hebrew:"תְּצַוֶּה",book:2,haft:{k:"Ezekiel",b:"43:10",e:"43:27"},fullkriyah:{"1":["27:20","28:12"],"2":["28:13","28:30"],"3":["28:31","28:43"],"4":["29:1","29:18"],"5":["29:19","29:37"],"6":["29:38","29:46"],"7":["30:1","30:10"],M:["30:8","30:10"]},weekday:{"1":["27:20","28:5"],"2":["28:6","28:9"],"3":["28:10","28:12"]}};const Vayakhel={num:22,hebrew:"וַיַּקְהֵל",book:2,haft:{k:"I Kings",b:"7:40",e:"7:50"},seph:{k:"I Kings",b:"7:13",e:"7:26"},fullkriyah:{"1":["35:1","35:20"],"2":["35:21","35:29"],"3":["35:30","36:7"],"4":["36:8","36:19"],"5":["36:20","37:16"],"6":["37:17","37:29"],"7":["38:1","38:20"],M:["38:18","38:20"]},weekday:{"1":["35:1","35:3"],"2":["35:4","35:10"],"3":["35:11","35:20"]}};const Pekudei={num:23,hebrew:"פְקוּדֵי",book:2,haft:{k:"I Kings",b:"7:51",e:"8:21"},seph:{k:"I Kings",b:"7:40",e:"7:50"},fullkriyah:{"1":["38:21","39:1"],"2":["39:2","39:21"],"3":["39:22","39:32"],"4":["39:33","39:43"],"5":["40:1","40:16"],"6":["40:17","40:27"],"7":["40:28","40:38"],M:["40:34","40:38"]},weekday:{"1":["38:21","38:23"],"2":["38:24","38:27"],"3":["38:28","39:1"]}};const Vayikra={num:24,hebrew:"וַיִּקְרָא",book:3,haft:{k:"Isaiah",b:"43:21",e:"44:23"},fullkriyah:{"1":["1:1","1:13"],"2":["1:14","2:6"],"3":["2:7","2:16"],"4":["3:1","3:17"],"5":["4:1","4:26"],"6":["4:27","5:10"],"7":["5:11","5:26"],M:["5:24","5:26"]},weekday:{"1":["1:1","1:4"],"2":["1:5","1:9"],"3":["1:10","1:13"]}};const Tzav={num:25,hebrew:"צַו",book:3,haft:[{k:"Jeremiah",b:"7:21",e:"8:3"},{k:"Jeremiah",b:"9:22",e:"9:23"}],fullkriyah:{"1":["6:1","6:11"],"2":["6:12","7:10"],"3":["7:11","7:38"],"4":["8:1","8:13"],"5":["8:14","8:21"],"6":["8:22","8:29"],"7":["8:30","8:36"],M:["8:33","8:36"]},weekday:{"1":["6:1","6:3"],"2":["6:4","6:6"],"3":["6:7","6:11"]}};const Shmini={num:26,hebrew:"שְּׁמִינִי",book:3,haft:{k:"II Samuel",b:"6:1",e:"7:17"},seph:{k:"II Samuel",b:"6:1",e:"6:19"},fullkriyah:{"1":["9:1","9:16"],"2":["9:17","9:23"],"3":["9:24","10:11"],"4":["10:12","10:15"],"5":["10:16","10:20"],"6":["11:1","11:32"],"7":["11:33","11:47"],M:["11:45","11:47"]},weekday:{"1":["9:1","9:6"],"2":["9:7","9:10"],"3":["9:11","9:16"]}};const Tazria={num:27,hebrew:"תַזְרִיעַ",book:3,haft:{k:"II Kings",b:"4:42",e:"5:19"},fullkriyah:{"1":["12:1","13:5"],"2":["13:6","13:17"],"3":["13:18","13:23"],"4":["13:24","13:28"],"5":["13:29","13:39"],"6":["13:40","13:54"],"7":["13:55","13:59"],M:["13:57","13:59"]},weekday:{"1":["12:1","12:4"],"2":["12:5","12:8"],"3":["13:1","13:5"]}};const Metzora={num:28,hebrew:"מְּצֹרָע",book:3,haft:{k:"II Kings",b:"7:3",e:"7:20"},fullkriyah:{"1":["14:1","14:12"],"2":["14:13","14:20"],"3":["14:21","14:32"],"4":["14:33","14:53"],"5":["14:54","15:15"],"6":["15:16","15:28"],"7":["15:29","15:33"],M:["15:31","15:33"]},weekday:{"1":["14:1","14:5"],"2":["14:6","14:9"],"3":["14:10","14:12"]}};const Kedoshim={num:30,hebrew:"קְדשִׁים",book:3,haft:{k:"Amos",b:"9:7",e:"9:15"},seph:{k:"Ezekiel",b:"20:2",e:"20:20"},fullkriyah:{"1":["19:1","19:14"],"2":["19:15","19:22"],"3":["19:23","19:32"],"4":["19:33","19:37"],"5":["20:1","20:7"],"6":["20:8","20:22"],"7":["20:23","20:27"],M:["20:25","20:27"]},weekday:{"1":["19:1","19:4"],"2":["19:5","19:10"],"3":["19:11","19:14"]}};const Emor={num:31,hebrew:"אֱמוֹר",book:3,haft:{k:"Ezekiel",b:"44:15",e:"44:31"},fullkriyah:{"1":["21:1","21:15"],"2":["21:16","22:16"],"3":["22:17","22:33"],"4":["23:1","23:22"],"5":["23:23","23:32"],"6":["23:33","23:44"],"7":["24:1","24:23"],M:["24:21","24:23"]},weekday:{"1":["21:1","21:6"],"2":["21:7","21:12"],"3":["21:13","21:15"]}};const Behar={num:32,hebrew:"בְּהַר",book:3,haft:{k:"Jeremiah",b:"32:6",e:"32:27"},fullkriyah:{"1":["25:1","25:13"],"2":["25:14","25:18"],"3":["25:19","25:24"],"4":["25:25","25:28"],"5":["25:29","25:38"],"6":["25:39","25:46"],"7":["25:47","26:2"],M:["25:55","26:2"]},weekday:{"1":["25:1","25:3"],"2":["25:4","25:7"],"3":["25:8","25:13"]}};const Bechukotai={num:33,hebrew:"בְּחֻקֹּתַי",book:3,haft:{k:"Jeremiah",b:"16:19",e:"17:14"},fullkriyah:{"1":["26:3","26:5"],"2":["26:6","26:9"],"3":["26:10","26:46"],"4":["27:1","27:15"],"5":["27:16","27:21"],"6":["27:22","27:28"],"7":["27:29","27:34"],M:["27:32","27:34"]},weekday:{"1":["26:3","26:5"],"2":["26:6","26:9"],"3":["26:10","26:13"]}};const Bamidbar={num:34,hebrew:"בְּמִדְבַּר",book:4,haft:{k:"Hosea",b:"2:1",e:"2:22"},fullkriyah:{"1":["1:1","1:19"],"2":["1:20","1:54"],"3":["2:1","2:34"],"4":["3:1","3:13"],"5":["3:14","3:39"],"6":["3:40","3:51"],"7":["4:1","4:20"],M:["4:17","4:20"]},weekday:{"1":["1:1","1:4"],"2":["1:5","1:16"],"3":["1:17","1:19"]}};const Nasso={num:35,hebrew:"נָשׂא",book:4,haft:{k:"Judges",b:"13:2",e:"13:25"},fullkriyah:{"1":["4:21","4:37"],"2":["4:38","4:49"],"3":["5:1","5:10"],"4":["5:11","6:27"],"5":["7:1","7:41"],"6":["7:42","7:71"],"7":["7:72","7:89"],M:["7:87","7:89"]},weekday:{"1":["4:21","4:24"],"2":["4:25","4:28"],"3":["4:29","4:33"]}};const Korach={num:38,hebrew:"קוֹרַח",book:4,haft:{k:"I Samuel",b:"11:14",e:"12:22"},fullkriyah:{"1":["16:1","16:13"],"2":["16:14","16:19"],"3":["16:20","17:8"],"4":["17:9","17:15"],"5":["17:16","17:24"],"6":["17:25","18:20"],"7":["18:21","18:32"],M:["18:30","18:32"]},weekday:{"1":["16:1","16:3"],"2":["16:4","16:7"],"3":["16:8","16:13"]}};const Chukat={num:39,hebrew:"חֻקַּת",book:4,haft:{k:"Judges",b:"11:1",e:"11:33"},fullkriyah:{"1":["19:1","19:17"],"2":["19:18","20:6"],"3":["20:7","20:13"],"4":["20:14","20:21"],"5":["20:22","21:9"],"6":["21:10","21:20"],"7":["21:21","22:1"],M:["21:34","22:1"]},weekday:{"1":["19:1","19:6"],"2":["19:7","19:9"],"3":["19:10","19:17"]}};const Balak={num:40,hebrew:"בָּלָק",book:4,haft:{k:"Micah",b:"5:6",e:"6:8"},fullkriyah:{"1":["22:2","22:12"],"2":["22:13","22:20"],"3":["22:21","22:38"],"4":["22:39","23:12"],"5":["23:13","23:26"],"6":["23:27","24:13"],"7":["24:14","25:9"],M:["25:7","25:9"]},weekday:{"1":["22:2","22:4"],"2":["22:5","22:7"],"3":["22:8","22:12"]}};const Pinchas={num:41,hebrew:"פִּינְחָס",book:4,haft:{k:"I Kings",b:"18:46",e:"19:21"},fullkriyah:{"1":["25:10","26:4"],"2":["26:5","26:51"],"3":["26:52","27:5"],"4":["27:6","27:23"],"5":["28:1","28:15"],"6":["28:16","29:11"],"7":["29:12","30:1"],M:["29:35","30:1"]},weekday:{"1":["25:10","25:12"],"2":["25:13","25:15"],"3":["25:16","26:4"]}};const Matot={num:42,hebrew:"מַּטּוֹת",book:4,haft:{k:"Jeremiah",b:"1:1",e:"2:3"},fullkriyah:{"1":["30:2","30:17"],"2":["31:1","31:12"],"3":["31:13","31:24"],"4":["31:25","31:41"],"5":["31:42","31:54"],"6":["32:1","32:19"],"7":["32:20","32:42"],M:["32:39","32:42"]},weekday:{"1":["30:2","30:9"],"2":["30:10","30:13"],"3":["30:14","30:17"]}};const Masei={num:43,hebrew:"מַסְעֵי",book:4,haft:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"3:4",e:"3:4"}],seph:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"4:1",e:"4:2"}],fullkriyah:{"1":["33:1","33:10"],"2":["33:11","33:49"],"3":["33:50","34:15"],"4":["34:16","34:29"],"5":["35:1","35:8"],"6":["35:9","35:34"],"7":["36:1","36:13"],M:["36:11","36:13"]},weekday:{"1":["33:1","33:3"],"2":["33:4","33:6"],"3":["33:7","33:10"]}};const Devarim={num:44,hebrew:"דְּבָרִים",book:5,haft:{k:"Isaiah",b:"1:1",e:"1:27"},fullkriyah:{"1":["1:1","1:10"],"2":["1:11","1:21"],"3":["1:22","1:38"],"4":["1:39","2:1"],"5":["2:2","2:30"],"6":["2:31","3:14"],"7":["3:15","3:22"],M:["3:20","3:22"]},weekday:{"1":["1:1","1:3"],"2":["1:4","1:7"],"3":["1:8","1:11"]}};const Vaetchanan={num:45,hebrew:"וָאֶתְחַנַּן",book:5,haft:{k:"Isaiah",b:"40:1",e:"40:26"},fullkriyah:{"1":["3:23","4:4"],"2":["4:5","4:40"],"3":["4:41","4:49"],"4":["5:1","5:18"],"5":["5:19","6:3"],"6":["6:4","6:25"],"7":["7:1","7:11"],M:["7:9","7:11"]},weekday:{"1":["3:23","3:25"],"2":["3:26","4:4"],"3":["4:5","4:8"]}};const Eikev={num:46,hebrew:"עֵקֶב",book:5,haft:{k:"Isaiah",b:"49:14",e:"51:3"},fullkriyah:{"1":["7:12","8:10"],"2":["8:11","9:3"],"3":["9:4","9:29"],"4":["10:1","10:11"],"5":["10:12","11:9"],"6":["11:10","11:21"],"7":["11:22","11:25"],M:["11:22","11:25"]},weekday:{"1":["7:12","7:21"],"2":["7:22","8:3"],"3":["8:4","8:10"]}};const Shoftim={num:48,hebrew:"שׁוֹפְטִים",book:5,haft:{k:"Isaiah",b:"51:12",e:"52:12"},fullkriyah:{"1":["16:18","17:13"],"2":["17:14","17:20"],"3":["18:1","18:5"],"4":["18:6","18:13"],"5":["18:14","19:13"],"6":["19:14","20:9"],"7":["20:10","21:9"],M:["21:7","21:9"]},weekday:{"1":["16:18","16:20"],"2":["16:21","17:10"],"3":["17:11","17:13"]}};const Nitzavim={num:51,hebrew:"נִצָּבִים",book:5,haft:{k:"Isaiah",b:"61:10",e:"63:9"},fullkriyah:{"1":["29:9","29:11"],"2":["29:12","29:14"],"3":["29:15","29:28"],"4":["30:1","30:6"],"5":["30:7","30:10"],"6":["30:11","30:14"],"7":["30:15","30:20"],M:["30:15","30:20"]},weekday:{"1":["29:9","29:11"],"2":["29:12","29:14"],"3":["29:15","29:28"]}};const Vayeilech={num:52,hebrew:"וַיֵּלֶךְ",book:5,haft:{k:"Isaiah",b:"55:6",e:"56:8"},fullkriyah:{"1":["31:1","31:3"],"2":["31:4","31:6"],"3":["31:7","31:9"],"4":["31:10","31:13"],"5":["31:14","31:19"],"6":["31:20","31:24"],"7":["31:25","31:30"],M:["31:28","31:30"]},weekday:{"1":["31:1","31:3"],"2":["31:4","31:6"],"3":["31:7","31:13"]}};var parshiyotObj = {Bereshit:Bereshit,Noach:Noach,"Lech-Lecha":{num:3,hebrew:"לֶךְ־לְךָ",book:1,haft:{k:"Isaiah",b:"40:27",e:"41:16"},fullkriyah:{"1":["12:1","12:13"],"2":["12:14","13:4"],"3":["13:5","13:18"],"4":["14:1","14:20"],"5":["14:21","15:6"],"6":["15:7","17:6"],"7":["17:7","17:27"],M:["17:24","17:27"]},weekday:{"1":["12:1","12:3"],"2":["12:4","12:9"],"3":["12:10","12:13"]}},Vayera:Vayera,"Chayei Sara":{num:5,hebrew:"חַיֵּי שָֹרָה",book:1,haft:{k:"I Kings",b:"1:1",e:"1:31"},fullkriyah:{"1":["23:1","23:16"],"2":["23:17","24:9"],"3":["24:10","24:26"],"4":["24:27","24:52"],"5":["24:53","24:67"],"6":["25:1","25:11"],"7":["25:12","25:18"],M:["25:16","25:18"]},weekday:{"1":["23:1","23:7"],"2":["23:8","23:12"],"3":["23:13","23:16"]}},Toldot:Toldot,Vayetzei:Vayetzei,Vayishlach:Vayishlach,Vayeshev:Vayeshev,Miketz:Miketz,Vayigash:Vayigash,Vayechi:Vayechi,Shemot:Shemot,Vaera:Vaera,Bo:Bo,Beshalach:Beshalach,Yitro:Yitro,Mishpatim:Mishpatim,Terumah:Terumah,Tetzaveh:Tetzaveh,"Ki Tisa":{num:21,hebrew:"כִּי תִשָּׂא",book:2,haft:{k:"I Kings",b:"18:1",e:"18:39"},seph:{k:"I Kings",b:"18:20",e:"18:39"},fullkriyah:{"1":["30:11","31:17"],"2":["31:18","33:11"],"3":["33:12","33:16"],"4":["33:17","33:23"],"5":["34:1","34:9"],"6":["34:10","34:26"],"7":["34:27","34:35"],M:["34:33","34:35"]},weekday:{"1":["30:11","30:13"],"2":["30:14","30:16"],"3":["30:17","30:21"]}},Vayakhel:Vayakhel,Pekudei:Pekudei,Vayikra:Vayikra,Tzav:Tzav,Shmini:Shmini,Tazria:Tazria,Metzora:Metzora,"Achrei Mot":{num:29,hebrew:"אַחֲרֵי מוֹת",book:3,haft:{k:"Ezekiel",b:"22:1",e:"22:19"},seph:{k:"Ezekiel",b:"22:1",e:"22:16"},fullkriyah:{"1":["16:1","16:17"],"2":["16:18","16:24"],"3":["16:25","16:34"],"4":["17:1","17:7"],"5":["17:8","18:5"],"6":["18:6","18:21"],"7":["18:22","18:30"],M:["18:28","18:30"]},weekday:{"1":["16:1","16:6"],"2":["16:7","16:11"],"3":["16:12","16:17"]}},Kedoshim:Kedoshim,Emor:Emor,Behar:Behar,Bechukotai:Bechukotai,Bamidbar:Bamidbar,Nasso:Nasso,"Beha'alotcha":{num:36,hebrew:"בְּהַעֲלֹתְךָ",book:4,haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{"1":["8:1","8:14"],"2":["8:15","8:26"],"3":["9:1","9:14"],"4":["9:15","10:10"],"5":["10:11","10:34"],"6":["10:35","11:29"],"7":["11:30","12:16"],M:["12:14","12:16"]},weekday:{"1":["8:1","8:4"],"2":["8:5","8:9"],"3":["8:10","8:14"]}},"Sh'lach":{num:37,hebrew:"שְׁלַח־לְךָ",book:4,haft:{k:"Joshua",b:"2:1",e:"2:24"},fullkriyah:{"1":["13:1","13:20"],"2":["13:21","14:7"],"3":["14:8","14:25"],"4":["14:26","15:7"],"5":["15:8","15:16"],"6":["15:17","15:26"],"7":["15:27","15:41"],M:["15:37","15:41"]},weekday:{"1":["13:1","13:3"],"2":["13:4","13:16"],"3":["13:17","13:20"]}},Korach:Korach,Chukat:Chukat,Balak:Balak,Pinchas:Pinchas,Matot:Matot,Masei:Masei,Devarim:Devarim,Vaetchanan:Vaetchanan,Eikev:Eikev,"Re'eh":{num:47,hebrew:"רְאֵה",book:5,haft:{k:"Isaiah",b:"54:11",e:"55:5"},fullkriyah:{"1":["11:26","12:10"],"2":["12:11","12:28"],"3":["12:29","13:19"],"4":["14:1","14:21"],"5":["14:22","14:29"],"6":["15:1","15:18"],"7":["15:19","16:17"],M:["16:13","16:17"]},weekday:{"1":["11:26","11:31"],"2":["11:32","12:5"],"3":["12:6","12:10"]}},Shoftim:Shoftim,"Ki Teitzei":{num:49,hebrew:"כִּי־תֵצֵא",book:5,haft:{k:"Isaiah",b:"54:1",e:"54:10"},fullkriyah:{"1":["21:10","21:21"],"2":["21:22","22:7"],"3":["22:8","23:7"],"4":["23:8","23:24"],"5":["23:25","24:4"],"6":["24:5","24:13"],"7":["24:14","25:19"],M:["25:17","25:19"]},weekday:{"1":["21:10","21:14"],"2":["21:15","21:17"],"3":["21:18","21:21"]}},"Ki Tavo":{num:50,hebrew:"כִּי־תָבוֹא",book:5,haft:{k:"Isaiah",b:"60:1",e:"60:22"},fullkriyah:{"1":["26:1","26:11"],"2":["26:12","26:15"],"3":["26:16","26:19"],"4":["27:1","27:10"],"5":["27:11","28:6"],"6":["28:7","28:69"],"7":["29:1","29:8"],M:["29:6","29:8"]},weekday:{"1":["26:1","26:3"],"2":["26:4","26:11"],"3":["26:12","26:15"]}},Nitzavim:Nitzavim,Vayeilech:Vayeilech,"Ha'azinu":{num:53,hebrew:"הַאֲזִינוּ",book:5,haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{"1":["32:1","32:6"],"2":["32:7","32:12"],"3":["32:13","32:18"],"4":["32:19","32:28"],"5":["32:29","32:39"],"6":["32:40","32:43"],"7":["32:44","32:52"],M:["32:48","32:52"]},weekday:{"1":["32:1","32:3"],"2":["32:4","32:6"],"3":["32:7","32:12"]}},"Vezot Haberakhah":{num:54,hebrew:"וְזֹאת הַבְּרָכָה",book:5,haft:{k:"Joshua",b:"1:1",e:"1:18"},seph:{k:"Joshua",b:"1:1",e:"1:9"},fullkriyah:{"1":["33:1","33:7"],"2":["33:8","33:12"],"3":["33:13","33:17"],"4":["33:18","33:21"],"5":["33:22","33:26"],"6":["33:27","33:29"],"7":["34:1","34:12"]},weekday:{"1":["33:1","33:7"],"2":["33:8","33:12"],"3":["33:13","33:17"]}},"Vayakhel-Pekudei":{num:101,combined:true,p1:"Vayakhel",p2:"Pekudei",num1:22,num2:23,book:2,fullkriyah:{"1":["35:1","35:29"],"2":["35:30","37:16"],"3":["37:17","37:29"],"4":["38:1","39:1"],"5":["39:2","39:21"],"6":["39:22","39:43"],"7":["40:1","40:38"],M:["40:34","40:38"]}},"Tazria-Metzora":{num:102,combined:true,p1:"Tazria",p2:"Metzora",num1:27,num2:28,book:3,fullkriyah:{"1":["12:1","13:23"],"2":["13:24","13:39"],"3":["13:40","13:54"],"4":["13:55","14:20"],"5":["14:21","14:32"],"6":["14:33","15:15"],"7":["15:16","15:33"],M:["15:31","15:33"]}},"Achrei Mot-Kedoshim":{num:103,combined:true,p1:"Achrei Mot",p2:"Kedoshim",num1:29,num2:30,book:3,fullkriyah:{"1":["16:1","16:24"],"2":["16:25","17:7"],"3":["17:8","18:21"],"4":["18:22","19:14"],"5":["19:15","19:32"],"6":["19:33","20:7"],"7":["20:8","20:27"],M:["20:25","20:27"]}},"Behar-Bechukotai":{num:104,combined:true,p1:"Behar",p2:"Bechukotai",num1:32,num2:33,book:3,fullkriyah:{"1":["25:1","25:18"],"2":["25:19","25:28"],"3":["25:29","25:38"],"4":["25:39","26:9"],"5":["26:10","26:46"],"6":["27:1","27:15"],"7":["27:16","27:34"],M:["27:32","27:34"]}},"Chukat-Balak":{num:105,combined:true,p1:"Chukat",p2:"Balak",num1:39,num2:40,book:4,fullkriyah:{"1":["19:1","20:6"],"2":["20:7","20:21"],"3":["20:22","21:20"],"4":["21:21","22:12"],"5":["22:13","22:38"],"6":["22:39","23:26"],"7":["23:27","25:9"],M:["25:7","25:9"]}},"Matot-Masei":{num:106,combined:true,p1:"Matot",p2:"Masei",num1:42,num2:43,book:4,fullkriyah:{"1":["30:2","31:12"],"2":["31:13","31:54"],"3":["32:1","32:19"],"4":["32:20","33:49"],"5":["33:50","34:15"],"6":["34:16","35:8"],"7":["35:9","36:13"],M:["36:11","36:13"]}},"Nitzavim-Vayeilech":{num:107,combined:true,p1:"Nitzavim",p2:"Vayeilech",num1:51,num2:52,book:5,fullkriyah:{"1":["29:9","29:28"],"2":["30:1","30:6"],"3":["30:7","30:14"],"4":["30:15","31:6"],"5":["31:7","31:13"],"6":["31:14","31:19"],"7":["31:20","31:30"],M:["31:28","31:30"]}}};
|
|
1780
646
|
|
|
1781
647
|
/**
|
|
1782
648
|
* Represents an aliyah
|
|
@@ -1843,50 +709,46 @@ function getHaftaraKey(parsha) {
|
|
|
1843
709
|
* @return {Leyning} map of aliyot
|
|
1844
710
|
*/
|
|
1845
711
|
function getLeyningForParshaShabbatOnly(parsha) {
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
Object.keys(raw.fullkriyah).forEach(
|
|
1850
|
-
|
|
1851
|
-
|
|
712
|
+
const raw = lookupParsha(parsha);
|
|
713
|
+
const fullkriyah = {};
|
|
714
|
+
const book = BOOK[raw.book];
|
|
715
|
+
Object.keys(raw.fullkriyah).forEach(num => {
|
|
716
|
+
const src = raw.fullkriyah[num];
|
|
717
|
+
const reading = {
|
|
1852
718
|
k: book,
|
|
1853
719
|
b: src[0],
|
|
1854
720
|
e: src[1]
|
|
1855
721
|
};
|
|
1856
722
|
fullkriyah[num] = reading;
|
|
1857
723
|
});
|
|
1858
|
-
Object.values(fullkriyah).map(
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
var parts = makeLeyningParts(fullkriyah);
|
|
1864
|
-
var summary = makeSummaryFromParts(parts);
|
|
724
|
+
Object.values(fullkriyah).map(aliyah => calculateNumVerses(aliyah));
|
|
725
|
+
const name = parshaToString(parsha);
|
|
726
|
+
const parshaNameArray = raw.combined ? [raw.p1, raw.p2] : [name];
|
|
727
|
+
const parts = makeLeyningParts(fullkriyah);
|
|
728
|
+
const summary = makeSummaryFromParts(parts);
|
|
1865
729
|
/** @type {Leyning} */
|
|
1866
|
-
|
|
730
|
+
const result = {
|
|
1867
731
|
name: {
|
|
1868
732
|
en: name,
|
|
1869
|
-
he: parshaNameArray.map(
|
|
1870
|
-
return core.Locale.lookupTranslation(s, 'he');
|
|
1871
|
-
}).join('־')
|
|
733
|
+
he: parshaNameArray.map(s => core.Locale.lookupTranslation(s, 'he')).join('־')
|
|
1872
734
|
},
|
|
1873
735
|
parsha: parshaNameArray,
|
|
1874
736
|
parshaNum: raw.num,
|
|
1875
|
-
summary
|
|
737
|
+
summary,
|
|
1876
738
|
fullkriyah: fullkriyah
|
|
1877
739
|
};
|
|
1878
740
|
if (parts.length > 1) {
|
|
1879
741
|
result.summaryParts = parts;
|
|
1880
742
|
}
|
|
1881
|
-
|
|
1882
|
-
|
|
743
|
+
const hkey = getHaftaraKey(parshaNameArray);
|
|
744
|
+
const haft0 = parshiyotObj[hkey].haft;
|
|
1883
745
|
if (haft0) {
|
|
1884
|
-
|
|
746
|
+
const haft = result.haft = cloneHaftara(haft0);
|
|
1885
747
|
result.haftara = makeSummaryFromParts(haft);
|
|
1886
748
|
result.haftaraNumV = sumVerses(haft);
|
|
1887
749
|
}
|
|
1888
750
|
if (raw.seph) {
|
|
1889
|
-
|
|
751
|
+
const seph = result.seph = cloneHaftara(raw.seph);
|
|
1890
752
|
result.sephardic = makeSummaryFromParts(seph);
|
|
1891
753
|
result.sephardicNumV = sumVerses(seph);
|
|
1892
754
|
}
|
|
@@ -1899,18 +761,18 @@ function getLeyningForParshaShabbatOnly(parsha) {
|
|
|
1899
761
|
* @return {Object<string,Aliyah>} map of aliyot
|
|
1900
762
|
*/
|
|
1901
763
|
function getWeekdayReading(parsha) {
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
764
|
+
const raw = lookupParsha(parsha);
|
|
765
|
+
const parshaMeta = raw.combined ? lookupParsha(raw.p1) : raw;
|
|
766
|
+
const aliyot = parshaMeta.weekday;
|
|
1905
767
|
if (!aliyot) {
|
|
1906
|
-
throw new Error(
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
for (
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
768
|
+
throw new Error(`Parsha missing weekday: ${parsha}`);
|
|
769
|
+
}
|
|
770
|
+
const book = BOOK[raw.book];
|
|
771
|
+
const weekday = {};
|
|
772
|
+
for (let i = 1; i <= 3; i++) {
|
|
773
|
+
const num = '' + i;
|
|
774
|
+
const src = aliyot[num];
|
|
775
|
+
const aliyah = {
|
|
1914
776
|
k: book,
|
|
1915
777
|
b: src[0],
|
|
1916
778
|
e: src[1]
|
|
@@ -1927,7 +789,7 @@ function getWeekdayReading(parsha) {
|
|
|
1927
789
|
* @return {Leyning} map of aliyot
|
|
1928
790
|
*/
|
|
1929
791
|
function getLeyningForParsha(parsha) {
|
|
1930
|
-
|
|
792
|
+
const result = getLeyningForParshaShabbatOnly(parsha);
|
|
1931
793
|
result.weekday = getWeekdayReading(parsha);
|
|
1932
794
|
return result;
|
|
1933
795
|
}
|
|
@@ -1940,48 +802,46 @@ function getLeyningForParsha(parsha) {
|
|
|
1940
802
|
* @return {Leyning} map of aliyot
|
|
1941
803
|
*/
|
|
1942
804
|
function getLeyningForParshaHaShavua(ev) {
|
|
1943
|
-
|
|
1944
|
-
if (
|
|
1945
|
-
throw new TypeError(
|
|
805
|
+
let il = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
806
|
+
if (typeof ev !== 'object' || typeof ev.getFlags !== 'function') {
|
|
807
|
+
throw new TypeError(`Bad event argument: ${ev}`);
|
|
1946
808
|
} else if (ev.getFlags() != core.flags.PARSHA_HASHAVUA) {
|
|
1947
|
-
throw new TypeError(
|
|
809
|
+
throw new TypeError(`Event must be parsha hashavua: ${ev.getDesc()}`);
|
|
1948
810
|
}
|
|
1949
811
|
// first, collect the default aliyot and haftara
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
812
|
+
const parsha = ev.parsha;
|
|
813
|
+
const result = getLeyningForParshaShabbatOnly(parsha);
|
|
814
|
+
const hd = ev.getDate();
|
|
1953
815
|
// Now, check for special maftir or haftara on same date
|
|
1954
|
-
|
|
1955
|
-
|
|
816
|
+
const special = specialReadings2(parsha, hd, il, result.fullkriyah);
|
|
817
|
+
const reason = special.reason;
|
|
1956
818
|
if (special.haft) {
|
|
1957
|
-
|
|
819
|
+
const haft = result.haft = cloneHaftara(special.haft);
|
|
1958
820
|
result.haftara = makeSummaryFromParts(haft);
|
|
1959
821
|
result.haftaraNumV = sumVerses(haft);
|
|
1960
822
|
if (special.seph) {
|
|
1961
|
-
|
|
823
|
+
const seph = result.seph = cloneHaftara(special.seph);
|
|
1962
824
|
result.sephardic = makeSummaryFromParts(seph);
|
|
1963
825
|
result.sephardicNumV = sumVerses(seph);
|
|
1964
826
|
}
|
|
1965
827
|
}
|
|
1966
828
|
if (reason['7'] || reason['M']) {
|
|
1967
829
|
result.fullkriyah = special.aliyot;
|
|
1968
|
-
|
|
830
|
+
const parts = makeLeyningParts(result.fullkriyah);
|
|
1969
831
|
result.summary = makeSummaryFromParts(parts);
|
|
1970
832
|
result.summaryParts = parts;
|
|
1971
833
|
}
|
|
1972
|
-
|
|
834
|
+
const reasons = Object.keys(reason);
|
|
1973
835
|
if (reasons.length !== 0) {
|
|
1974
836
|
result.reason = reason;
|
|
1975
|
-
reasons.forEach(
|
|
837
|
+
reasons.forEach(num => {
|
|
1976
838
|
if (num === 'haftara' || num === 'sephardic') {
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
hafts.forEach(
|
|
1980
|
-
return haft.reason = reason[num];
|
|
1981
|
-
});
|
|
839
|
+
const haftObj = result[num === 'haftara' ? 'haft' : 'seph'];
|
|
840
|
+
const hafts = Array.isArray(haftObj) ? haftObj : [haftObj];
|
|
841
|
+
hafts.forEach(haft => haft.reason = reason[num]);
|
|
1982
842
|
} else {
|
|
1983
|
-
|
|
1984
|
-
if (
|
|
843
|
+
const aliyah = result.fullkriyah[num];
|
|
844
|
+
if (typeof aliyah === 'object') {
|
|
1985
845
|
aliyah.reason = reason[num];
|
|
1986
846
|
}
|
|
1987
847
|
}
|
|
@@ -2009,10 +869,10 @@ function getLeyningForParshaHaShavua(ev) {
|
|
|
2009
869
|
* @return {ParshaMeta}
|
|
2010
870
|
*/
|
|
2011
871
|
function lookupParsha(parsha) {
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
if (
|
|
2015
|
-
throw new TypeError(
|
|
872
|
+
const name = parshaToString(parsha);
|
|
873
|
+
const raw = parshiyotObj[name];
|
|
874
|
+
if (typeof raw !== 'object') {
|
|
875
|
+
throw new TypeError(`Bad parsha argument: ${parsha}`);
|
|
2016
876
|
}
|
|
2017
877
|
return raw;
|
|
2018
878
|
}
|
|
@@ -2024,18 +884,18 @@ function lookupParsha(parsha) {
|
|
|
2024
884
|
* @return {Leyning}
|
|
2025
885
|
*/
|
|
2026
886
|
function findParshaHaShavua(saturday, il) {
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
887
|
+
const hyear = saturday.getFullYear();
|
|
888
|
+
const sedra = core.HebrewCalendar.getSedra(hyear, il);
|
|
889
|
+
const parsha = sedra.lookup(saturday);
|
|
2030
890
|
if (!parsha.chag) {
|
|
2031
891
|
return parsha;
|
|
2032
892
|
}
|
|
2033
893
|
// Search for next regular parsha, which could even spill into next year
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
for (
|
|
2037
|
-
|
|
2038
|
-
|
|
894
|
+
const endOfYear = new core.HDate(1, core.months.TISHREI, hyear + 1).abs() - 1;
|
|
895
|
+
const endAbs = endOfYear + 30;
|
|
896
|
+
for (let sat2 = saturday.abs() + 7; sat2 <= endAbs; sat2 += 7) {
|
|
897
|
+
const sedra2 = sat2 > endOfYear ? core.HebrewCalendar.getSedra(hyear + 1, il) : sedra;
|
|
898
|
+
const parsha2 = sedra2.lookup(sat2);
|
|
2039
899
|
if (!parsha2.chag) {
|
|
2040
900
|
return parsha2;
|
|
2041
901
|
}
|
|
@@ -2063,30 +923,30 @@ function findParshaHaShavua(saturday, il) {
|
|
|
2063
923
|
* @return {Leyning|Leyning[]} map of aliyot
|
|
2064
924
|
*/
|
|
2065
925
|
function getLeyningOnDate(hdate, il) {
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
926
|
+
let wantarray = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
927
|
+
const dow = hdate.getDay();
|
|
928
|
+
const hyear = hdate.getFullYear();
|
|
929
|
+
const sedra = core.HebrewCalendar.getSedra(hyear, il);
|
|
930
|
+
const parsha = sedra.lookup(hdate);
|
|
2071
931
|
if (dow === 6 && !parsha.chag) {
|
|
2072
|
-
|
|
2073
|
-
|
|
932
|
+
const parshaEvent = new core.ParshaEvent(hdate, parsha.parsha, il);
|
|
933
|
+
const reading = getLeyningForParshaHaShavua(parshaEvent, il);
|
|
2074
934
|
return wantarray ? [reading] : reading;
|
|
2075
935
|
}
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
for (
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
if (
|
|
936
|
+
const events = core.HebrewCalendar.getHolidaysOnDate(hdate, il) || [];
|
|
937
|
+
const arr = [];
|
|
938
|
+
for (let i = 0; i < events.length; i++) {
|
|
939
|
+
const ev = events[i];
|
|
940
|
+
const reading = getLeyningForHoliday(ev, il);
|
|
941
|
+
if (reading) {
|
|
2082
942
|
if (wantarray) {
|
|
2083
|
-
arr.push(
|
|
2084
|
-
|
|
943
|
+
arr.push(reading);
|
|
944
|
+
const mincha = getMincha(ev, il);
|
|
2085
945
|
if (mincha) {
|
|
2086
946
|
arr.push(mincha);
|
|
2087
947
|
}
|
|
2088
948
|
} else {
|
|
2089
|
-
return
|
|
949
|
+
return reading;
|
|
2090
950
|
}
|
|
2091
951
|
}
|
|
2092
952
|
}
|
|
@@ -2094,21 +954,21 @@ function getLeyningOnDate(hdate, il) {
|
|
|
2094
954
|
return arr;
|
|
2095
955
|
}
|
|
2096
956
|
if (dow === 1 || dow === 4) {
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
name:
|
|
2102
|
-
parsha:
|
|
2103
|
-
parshaNum:
|
|
2104
|
-
weekday:
|
|
957
|
+
const saturday = hdate.onOrAfter(6);
|
|
958
|
+
const parsha2 = findParshaHaShavua(saturday);
|
|
959
|
+
const reading = getLeyningForParsha(parsha2.parsha);
|
|
960
|
+
const result = {
|
|
961
|
+
name: reading.name,
|
|
962
|
+
parsha: reading.parsha,
|
|
963
|
+
parshaNum: reading.parshaNum,
|
|
964
|
+
weekday: reading.weekday
|
|
2105
965
|
};
|
|
2106
966
|
return wantarray ? [result] : result;
|
|
2107
967
|
}
|
|
2108
968
|
// no reading today: it's not Shabbat, Mon/Thu, or a Torah-reading holiday
|
|
2109
969
|
return wantarray ? [] : undefined;
|
|
2110
970
|
}
|
|
2111
|
-
|
|
971
|
+
const minchaSuffix = ' (Mincha)';
|
|
2112
972
|
|
|
2113
973
|
/**
|
|
2114
974
|
* @private
|
|
@@ -2117,14 +977,14 @@ var minchaSuffix = ' (Mincha)';
|
|
|
2117
977
|
* @return {Leyning}
|
|
2118
978
|
*/
|
|
2119
979
|
function getMincha(ev, il) {
|
|
2120
|
-
|
|
2121
|
-
|
|
980
|
+
const desc = ev.getDesc() + minchaSuffix;
|
|
981
|
+
const reading1 = getLeyningForHolidayKey(desc, ev.cholHaMoedDay, il);
|
|
2122
982
|
if (reading1) {
|
|
2123
983
|
return reading1;
|
|
2124
984
|
}
|
|
2125
|
-
|
|
985
|
+
const desc2 = getLeyningKeyForEvent(ev, il);
|
|
2126
986
|
if (desc2) {
|
|
2127
|
-
|
|
987
|
+
const reading2 = getLeyningForHolidayKey(desc2 + minchaSuffix, ev.cholHaMoedDay, il);
|
|
2128
988
|
if (reading2) {
|
|
2129
989
|
return reading2;
|
|
2130
990
|
}
|
|
@@ -2132,7 +992,7 @@ function getMincha(ev, il) {
|
|
|
2132
992
|
return undefined;
|
|
2133
993
|
}
|
|
2134
994
|
|
|
2135
|
-
|
|
995
|
+
const fmt = new Intl.DateTimeFormat('en-US', {
|
|
2136
996
|
year: 'numeric',
|
|
2137
997
|
month: 'short',
|
|
2138
998
|
day: '2-digit'
|
|
@@ -2144,7 +1004,7 @@ var fmt = new Intl.DateTimeFormat('en-US', {
|
|
|
2144
1004
|
* @return {string}
|
|
2145
1005
|
*/
|
|
2146
1006
|
function fmtDate(dt) {
|
|
2147
|
-
|
|
1007
|
+
const s = fmt.format(dt).split(' ');
|
|
2148
1008
|
return s[1].substring(0, 2) + '-' + s[0] + '-' + s[2];
|
|
2149
1009
|
}
|
|
2150
1010
|
|
|
@@ -2154,10 +1014,8 @@ function fmtDate(dt) {
|
|
|
2154
1014
|
* @return {Object<string,boolean>}
|
|
2155
1015
|
*/
|
|
2156
1016
|
function getParshaDates(events) {
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
});
|
|
2160
|
-
var parshaDates = parshaEvents.reduce(function (set, ev) {
|
|
1017
|
+
const parshaEvents = events.filter(ev => ev.getFlags() === core.flags.PARSHA_HASHAVUA);
|
|
1018
|
+
const parshaDates = parshaEvents.reduce((set, ev) => {
|
|
2161
1019
|
set[ev.getDate().toString()] = true;
|
|
2162
1020
|
return set;
|
|
2163
1021
|
}, {});
|
|
@@ -2171,18 +1029,16 @@ function getParshaDates(events) {
|
|
|
2171
1029
|
* @param {boolean} il
|
|
2172
1030
|
*/
|
|
2173
1031
|
function writeFullKriyahCsv(stream, hyear, il) {
|
|
2174
|
-
|
|
1032
|
+
const events0 = core.HebrewCalendar.calendar({
|
|
2175
1033
|
year: hyear,
|
|
2176
1034
|
isHebrewYear: true,
|
|
2177
1035
|
sedrot: true,
|
|
2178
1036
|
il: il
|
|
2179
1037
|
});
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
});
|
|
2183
|
-
var parshaDates = getParshaDates(events);
|
|
1038
|
+
const events = events0.filter(ev => ev.getDesc() !== 'Rosh Chodesh Tevet');
|
|
1039
|
+
const parshaDates = getParshaDates(events);
|
|
2184
1040
|
stream.write('"Date","Parashah","Aliyah","Reading","Verses"\r\n');
|
|
2185
|
-
events.forEach(
|
|
1041
|
+
events.forEach(ev => {
|
|
2186
1042
|
if (ev.getFlags() === core.flags.PARSHA_HASHAVUA || !parshaDates[ev.getDate().toString()]) {
|
|
2187
1043
|
writeFullKriyahEvent(stream, ev, il);
|
|
2188
1044
|
}
|
|
@@ -2195,7 +1051,7 @@ function writeFullKriyahCsv(stream, hyear, il) {
|
|
|
2195
1051
|
* @return {boolean}
|
|
2196
1052
|
*/
|
|
2197
1053
|
function ignore(ev) {
|
|
2198
|
-
|
|
1054
|
+
const mask = ev.getFlags();
|
|
2199
1055
|
if (mask === core.flags.SPECIAL_SHABBAT) {
|
|
2200
1056
|
return true;
|
|
2201
1057
|
}
|
|
@@ -2215,9 +1071,9 @@ function writeFullKriyahEvent(stream, ev, il) {
|
|
|
2215
1071
|
if (ignore(ev)) {
|
|
2216
1072
|
return;
|
|
2217
1073
|
}
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
1074
|
+
const mask = ev.getFlags();
|
|
1075
|
+
const isParsha = mask === core.flags.PARSHA_HASHAVUA;
|
|
1076
|
+
const reading = isParsha ? getLeyningForParshaHaShavua(ev, il) : getLeyningForHoliday(ev, il);
|
|
2221
1077
|
if (reading) {
|
|
2222
1078
|
writeCsvLines(stream, ev, reading, il, isParsha);
|
|
2223
1079
|
if (!isParsha) {
|
|
@@ -2233,12 +1089,12 @@ function writeFullKriyahEvent(stream, ev, il) {
|
|
|
2233
1089
|
* @param {boolean} il
|
|
2234
1090
|
*/
|
|
2235
1091
|
function writeHolidayMincha(stream, ev, il) {
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
1092
|
+
const desc = ev.getDesc();
|
|
1093
|
+
const minchaDesc1 = desc + ' (Mincha)';
|
|
1094
|
+
const readingMincha1 = getLeyningForHolidayKey(minchaDesc1, ev.cholHaMoedDay, il);
|
|
1095
|
+
const readingMincha = readingMincha1 || getLeyningForHolidayKey(getLeyningKeyForEvent(ev, il) + ' (Mincha)', ev.cholHaMoedDay, il);
|
|
2240
1096
|
if (readingMincha) {
|
|
2241
|
-
|
|
1097
|
+
const minchaEv = new core.Event(ev.getDate(), minchaDesc1, core.flags.USER_EVENT);
|
|
2242
1098
|
writeCsvLines(stream, minchaEv, readingMincha, il, false);
|
|
2243
1099
|
}
|
|
2244
1100
|
}
|
|
@@ -2252,15 +1108,15 @@ function writeHolidayMincha(stream, ev, il) {
|
|
|
2252
1108
|
* @param {boolean} isParsha
|
|
2253
1109
|
*/
|
|
2254
1110
|
function writeCsvLines(stream, ev, reading, il, isParsha) {
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
lines.forEach(
|
|
2259
|
-
|
|
1111
|
+
const parsha = isParsha ? ev.basename() : getLeyningKeyForEvent(ev, il) || ev.render();
|
|
1112
|
+
const date = fmtDate(ev.getDate().greg());
|
|
1113
|
+
const lines = getFullKriyahLines(reading);
|
|
1114
|
+
lines.forEach(s => {
|
|
1115
|
+
const code = s[0].charCodeAt(0);
|
|
2260
1116
|
if (code < 48 || code > 57) {
|
|
2261
|
-
s[0] = "
|
|
1117
|
+
s[0] = `"${s[0]}"`;
|
|
2262
1118
|
}
|
|
2263
|
-
stream.write(
|
|
1119
|
+
stream.write(`${date},"${parsha}",${s[0]},"${s[1]}",${s[2]}\r\n`);
|
|
2264
1120
|
});
|
|
2265
1121
|
stream.write('\r\n');
|
|
2266
1122
|
}
|
|
@@ -2271,14 +1127,14 @@ function writeCsvLines(stream, ev, reading, il, isParsha) {
|
|
|
2271
1127
|
* @return {any[]}
|
|
2272
1128
|
*/
|
|
2273
1129
|
function getFullKriyahLines(reading) {
|
|
2274
|
-
|
|
1130
|
+
const lines = [];
|
|
2275
1131
|
if (reading.fullkriyah) {
|
|
2276
|
-
Object.keys(reading.fullkriyah).forEach(
|
|
2277
|
-
|
|
1132
|
+
Object.keys(reading.fullkriyah).forEach(num => {
|
|
1133
|
+
const a = reading.fullkriyah[num];
|
|
2278
1134
|
if (typeof a !== 'undefined') {
|
|
2279
1135
|
var _reading$reason;
|
|
2280
|
-
|
|
2281
|
-
|
|
1136
|
+
const k = num == 'M' ? 'maf' : num;
|
|
1137
|
+
let aliyah = formatAliyahWithBook(a);
|
|
2282
1138
|
if ((_reading$reason = reading.reason) !== null && _reading$reason !== void 0 && _reading$reason[num]) {
|
|
2283
1139
|
aliyah += ' | ' + reading.reason[num];
|
|
2284
1140
|
}
|
|
@@ -2286,10 +1142,10 @@ function getFullKriyahLines(reading) {
|
|
|
2286
1142
|
}
|
|
2287
1143
|
});
|
|
2288
1144
|
}
|
|
2289
|
-
|
|
1145
|
+
let specialHaftara = false;
|
|
2290
1146
|
if (reading.haftara) {
|
|
2291
1147
|
var _reading$reason2;
|
|
2292
|
-
|
|
1148
|
+
let haftara = reading.haftara.replace(/,/g, ';');
|
|
2293
1149
|
if ((_reading$reason2 = reading.reason) !== null && _reading$reason2 !== void 0 && _reading$reason2.haftara) {
|
|
2294
1150
|
specialHaftara = true;
|
|
2295
1151
|
haftara += ' | ' + reading.reason.haftara;
|
|
@@ -2297,19 +1153,19 @@ function getFullKriyahLines(reading) {
|
|
|
2297
1153
|
lines.push(['Haftara', haftara, reading.haftaraNumV || '']);
|
|
2298
1154
|
}
|
|
2299
1155
|
if (reading.sephardic && !specialHaftara) {
|
|
2300
|
-
|
|
1156
|
+
const sephardic = reading.sephardic.replace(/,/g, ';');
|
|
2301
1157
|
lines.push(['Haftara for Sephardim', sephardic, reading.sephardicNumV || '']);
|
|
2302
1158
|
}
|
|
2303
1159
|
if (reading.triHaftara) {
|
|
2304
|
-
|
|
2305
|
-
lines.push(['Alternate Haftara',
|
|
1160
|
+
const haftara = reading.triHaftara.replace(/,/g, ';');
|
|
1161
|
+
lines.push(['Alternate Haftara', haftara, reading.triHaftaraNumV || '']);
|
|
2306
1162
|
}
|
|
2307
1163
|
if (reading.megillah) {
|
|
2308
|
-
Object.keys(reading.megillah).forEach(
|
|
2309
|
-
|
|
1164
|
+
Object.keys(reading.megillah).forEach(num => {
|
|
1165
|
+
const a = reading.megillah[num];
|
|
2310
1166
|
if (typeof a !== 'undefined') {
|
|
2311
|
-
|
|
2312
|
-
lines.push([
|
|
1167
|
+
const aliyah = formatAliyahWithBook(a);
|
|
1168
|
+
lines.push([`Megillah Ch. ${num}`, aliyah, a.v || '']);
|
|
2313
1169
|
}
|
|
2314
1170
|
});
|
|
2315
1171
|
}
|