@hebcal/leyning 8.0.1 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -1,8 +1,55 @@
1
- /*! @hebcal/leyning v8.0.1 */
1
+ /*! @hebcal/leyning v8.1.1 */
2
2
  var hebcal__leyning = (function (exports, core) {
3
3
  'use strict';
4
4
 
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};
5
+ var numverses = {
6
+ "Genesis": [0,
7
+ 31, 25, 24, 26, 32, 22, 24, 22, 29, 32, 32, 20, 18, 24, 21, 16, 27, 33,
8
+ 38, 18, 34, 24, 20, 67, 34, 35, 46, 22, 35, 43, 54, 33, 20, 31, 29, 43,
9
+ 36, 30, 23, 23, 57, 38, 34, 34, 28, 34, 31, 22, 33, 26],
10
+ "Exodus": [0,
11
+ 22, 25, 22, 31, 23, 30, 29, 28, 35, 29, 10, 51, 22, 31, 27, 36, 16, 27,
12
+ 25, 26, 37, 30, 33, 18, 40, 37, 21, 43, 46, 38, 18, 35, 23, 35, 35, 38,
13
+ 29, 31, 43, 38],
14
+ "Leviticus": [0,
15
+ 17, 16, 17, 35, 26, 23, 38, 36, 24, 20, 47, 8, 59, 57, 33, 34, 16, 30,
16
+ 37, 27, 24, 33, 44, 23, 55, 46, 34],
17
+ "Numbers": [0,
18
+ 54, 34, 51, 49, 31, 27, 89, 26, 23, 36, 35, 16, 33, 45, 41, 35, 28, 32,
19
+ 22, 29, 35, 41, 30, 25, 19, 65, 23, 31, 39, 17, 54, 42, 56, 29, 34, 13],
20
+ "Deuteronomy": [0,
21
+ 46, 37, 29, 49, 30, 25, 26, 20, 29, 22, 32, 31, 19, 29, 23, 22, 20, 22,
22
+ 21, 20, 23, 29, 26, 22, 19, 19, 26, 69, 28, 20, 30, 52, 29, 12],
23
+
24
+ "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],
25
+ "Judges": [0, 36, 23, 31, 24, 31, 40, 25, 35, 57, 18, 40, 15, 25, 20, 20, 31, 13, 31, 30, 48, 25],
26
+ "Ruth": [0, 22, 23, 18, 22],
27
+ "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],
28
+ "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],
29
+ "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],
30
+ "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],
31
+ "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],
32
+ "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],
33
+ "Lamentations": [0, 22, 22, 66, 22, 22],
34
+ "Baruch": [0, 22, 35, 38, 37, 9, 72],
35
+ "Esther": [0, 22, 23, 15, 17, 14, 14, 10, 17, 32, 3],
36
+ "Ecclesiastes": [0, 18, 26, 22, 17, 19, 12, 29, 17, 18, 20, 10, 14],
37
+ "Song of Songs": [0, 17, 17, 11, 16, 16, 12, 14, 14],
38
+ "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],
39
+ "Daniel": [0, 21, 49, 100, 34, 30, 29, 28, 27, 27, 21, 45, 13, 64, 42],
40
+ "Hosea": [0, 9, 25, 5, 19, 15, 11, 16, 14, 17, 15, 11, 15, 15, 10],
41
+ "Joel": [0, 20, 27, 5, 21],
42
+ "Amos": [0, 15, 16, 15, 13, 27, 14, 17, 14, 15],
43
+ "Obadiah": [0, 21],
44
+ "Jonah": [0, 16, 11, 10, 11],
45
+ "Micah": [0, 16, 13, 12, 14, 14, 16, 20],
46
+ "Nachum": [0, 14, 14, 19],
47
+ "Habakkuk": [0, 17, 20, 19],
48
+ "Zephaniah": [0, 18, 15, 20],
49
+ "Haggai": [0, 15, 23],
50
+ "Zechariah": [0, 17, 17, 10, 14, 11, 15, 14, 23, 17, 12, 17, 14, 9, 21],
51
+ "Malachi": [0, 14, 17, 24]
52
+ };
6
53
 
7
54
  /**
8
55
  * Names of the books of the Torah. BOOK[1] === 'Genesis'
@@ -144,9 +191,9 @@ function cloneHaftara(haft) {
144
191
  * @return {boolean}
145
192
  */
146
193
  function isChapVerseBefore(a, b) {
147
- const cv1 = a.split(':').map(x => +x);
148
- const cv2 = b.split(':').map(x => +x);
149
- return cv1[0] * 100 + cv1[1] < cv2[0] * 100 + cv2[1];
194
+ const cv1 = a.split(':').map((x) => +x);
195
+ const cv2 = b.split(':').map((x) => +x);
196
+ return (cv1[0]*100 + cv1[1]) < (cv2[0]*100 + cv2[1]);
150
197
  }
151
198
 
152
199
  /**
@@ -156,7 +203,7 @@ function isChapVerseBefore(a, b) {
156
203
  * @return {Aliyah[]}
157
204
  */
158
205
  function makeLeyningParts(aliyot) {
159
- const nums = Object.keys(aliyot).filter(x => {
206
+ const nums = Object.keys(aliyot).filter((x) => {
160
207
  if (x.length === 1) {
161
208
  return true;
162
209
  }
@@ -169,28 +216,21 @@ function makeLeyningParts(aliyot) {
169
216
  for (let i = 0; i < nums.length; i++) {
170
217
  const num = nums[i];
171
218
  const aliyah = aliyot[num];
172
- if (i === nums.length - 1 && aliyah.k === end.k && aliyah.e === end.e) {
219
+ if ((i === nums.length - 1) && (aliyah.k === end.k) && (aliyah.e === end.e)) {
173
220
  // short-circuit when final aliyah is within the previous (e.g. M inside of 7)
174
221
  continue;
175
222
  }
176
- const prevEndChap = +end.e.split(':')[0];
177
- const curStartChap = +aliyah.b.split(':')[0];
223
+ const prevEndChap = +(end.e.split(':')[0]);
224
+ const curStartChap = +(aliyah.b.split(':')[0]);
178
225
  const sameOrNextChap = curStartChap === prevEndChap || curStartChap === prevEndChap + 1;
179
- if (i !== 0 && (aliyah.k !== start.k || isChapVerseBefore(aliyah.b, start.e) || !sameOrNextChap)) {
180
- parts.push({
181
- k: start.k,
182
- b: start.b,
183
- e: end.e
184
- });
226
+ if ((i !== 0) &&
227
+ (aliyah.k !== start.k || isChapVerseBefore(aliyah.b, start.e) || !sameOrNextChap)) {
228
+ parts.push({k: start.k, b: start.b, e: end.e});
185
229
  start = aliyah;
186
230
  }
187
231
  end = aliyah;
188
232
  }
189
- parts.push({
190
- k: start.k,
191
- b: start.b,
192
- e: end.e
193
- });
233
+ parts.push({k: start.k, b: start.b, e: end.e});
194
234
  return parts;
195
235
  }
196
236
 
@@ -232,7 +272,567 @@ function makeLeyningSummary(aliyot) {
232
272
  return makeSummaryFromParts(parts);
233
273
  }
234
274
 
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"}}};
275
+ var festivals = {"Pesach I":{
276
+ "haft":{"k":"Joshua","b":"5:2","e":"6:1"},
277
+ "fullkriyah":
278
+ {"1":{"p":15,"k":2,"b":"12:21","e":"12:24"},
279
+ "2":{"p":15,"k":2,"b":"12:25","e":"12:28"},
280
+ "3":{"p":15,"k":2,"b":"12:29","e":"12:36"},
281
+ "4":{"p":15,"k":2,"b":"12:37","e":"12:42"},
282
+ "5":{"p":15,"k":2,"b":"12:43","e":"12:51"},
283
+ "M":{"p":41,"k":4,"b":"28:16","e":"28:25"}}},
284
+ "Pesach I (on Shabbat)":{
285
+ "haft":{"k":"Joshua","b":"5:2","e":"6:1"},
286
+ "fullkriyah":
287
+ {"1":{"p":15,"k":2,"b":"12:21","e":"12:24"},
288
+ "2":{"p":15,"k":2,"b":"12:25","e":"12:28"},
289
+ "3":{"p":15,"k":2,"b":"12:29","e":"12:32"},
290
+ "4":{"p":15,"k":2,"b":"12:33","e":"12:36"},
291
+ "5":{"p":15,"k":2,"b":"12:37","e":"12:42"},
292
+ "6":{"p":15,"k":2,"b":"12:43","e":"12:47"},
293
+ "7":{"p":15,"k":2,"b":"12:48","e":"12:51"},
294
+ "M":{"p":41,"k":4,"b":"28:16","e":"28:25"}}},
295
+ "Pesach II":{
296
+ "haft":[{"k":"II Kings","b":"23:1","e":"23:9"},
297
+ {"k":"II Kings","b":"23:21","e":"23:25"}],
298
+ "fullkriyah":
299
+ {"1":{"p":31,"k":3,"b":"22:26","e":"23:3"},
300
+ "2":{"p":31,"k":3,"b":"23:4","e":"23:14"},
301
+ "3":{"p":31,"k":3,"b":"23:15","e":"23:22"},
302
+ "4":{"p":31,"k":3,"b":"23:23","e":"23:32"},
303
+ "5":{"p":31,"k":3,"b":"23:33","e":"23:44"},
304
+ "M":{"p":41,"k":4,"b":"28:16","e":"28:25"}}},
305
+ "Pesach II (CH''M)":{
306
+ "note":"Israel only - according to Vaani T'fillati Siddur Yisraeli",
307
+ "il":true,
308
+ "fullkriyah":
309
+ {"1":{"p":31,"k":3,"b":"22:26","e":"23:8"},
310
+ "2":{"p":31,"k":3,"b":"23:9","e":"23:14"},
311
+ "3":{"p":31,"k":3,"b":"23:15","e":"23:44"},
312
+ "4":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
313
+ "Pesach Chol ha-Moed Day 1":{
314
+ "fullkriyah":
315
+ {"1":{"p":15,"k":2,"b":"13:1","e":"13:4"},
316
+ "2":{"p":15,"k":2,"b":"13:5","e":"13:10"},
317
+ "3":{"p":15,"k":2,"b":"13:11","e":"13:16"},
318
+ "4":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
319
+ "Pesach Chol ha-Moed Day 2":{
320
+ "fullkriyah":
321
+ {"1":{"p":18,"k":2,"b":"22:24","e":"22:26"},
322
+ "2":{"p":18,"k":2,"b":"22:27","e":"23:5"},
323
+ "3":{"p":18,"k":2,"b":"23:6","e":"23:19"},
324
+ "4":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
325
+ "Pesach Chol ha-Moed Day 3":{
326
+ "fullkriyah":
327
+ {"1":{"p":21,"k":2,"b":"34:1","e":"34:10"},
328
+ "2":{"p":21,"k":2,"b":"34:11","e":"34:17"},
329
+ "3":{"p":21,"k":2,"b":"34:18","e":"34:26"},
330
+ "4":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
331
+ "Pesach Chol ha-Moed Day 4":{
332
+ "fullkriyah":
333
+ {"1":{"p":36,"k":4,"b":"9:1","e":"9:5"},
334
+ "2":{"p":36,"k":4,"b":"9:6","e":"9:8"},
335
+ "3":{"p":36,"k":4,"b":"9:9","e":"9:14"},
336
+ "4":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
337
+ "Pesach Shabbat Chol ha-Moed":{
338
+ "megillah":"Song of Songs",
339
+ "haft":{"k":"Ezekiel","b":"37:1","e":"37:14"},
340
+ "fullkriyah":
341
+ {"1":{"p":21,"k":2,"b":"33:12","e":"33:16"},
342
+ "2":{"p":21,"k":2,"b":"33:17","e":"33:19"},
343
+ "3":{"p":21,"k":2,"b":"33:20","e":"33:23"},
344
+ "4":{"p":21,"k":2,"b":"34:1","e":"34:3"},
345
+ "5":{"p":21,"k":2,"b":"34:4","e":"34:10"},
346
+ "6":{"p":21,"k":2,"b":"34:11","e":"34:17"},
347
+ "7":{"p":21,"k":2,"b":"34:18","e":"34:26"},
348
+ "M":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
349
+ "Pesach VII":{
350
+ "haft":{"k":"II Samuel","b":"22:1","e":"22:51"},
351
+ "fullkriyah":
352
+ {"1":{"p":16,"k":2,"b":"13:17","e":"13:22"},
353
+ "2":{"p":16,"k":2,"b":"14:1","e":"14:8"},
354
+ "3":{"p":16,"k":2,"b":"14:9","e":"14:14"},
355
+ "4":{"p":16,"k":2,"b":"14:15","e":"14:25"},
356
+ "5":{"p":16,"k":2,"b":"14:26","e":"15:26"},
357
+ "M":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
358
+ "Pesach VII (on Shabbat)":{
359
+ "haft":{"k":"II Samuel","b":"22:1","e":"22:51"},
360
+ "fullkriyah":
361
+ {"1":{"p":16,"k":2,"b":"13:17","e":"13:19"},
362
+ "2":{"p":16,"k":2,"b":"13:20","e":"13:22"},
363
+ "3":{"p":16,"k":2,"b":"14:1","e":"14:4"},
364
+ "4":{"p":16,"k":2,"b":"14:5","e":"14:8"},
365
+ "5":{"p":16,"k":2,"b":"14:9","e":"14:14"},
366
+ "6":{"p":16,"k":2,"b":"14:15","e":"14:25"},
367
+ "7":{"p":16,"k":2,"b":"14:26","e":"15:26"},
368
+ "M":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
369
+ "Pesach VIII":{
370
+ "haft":{"k":"Isaiah","b":"10:32","e":"12:6"},
371
+ "fullkriyah":
372
+ {"1":{"p":47,"k":5,"b":"15:19","e":"15:23"},
373
+ "2":{"p":47,"k":5,"b":"16:1","e":"16:3"},
374
+ "3":{"p":47,"k":5,"b":"16:4","e":"16:8"},
375
+ "4":{"p":47,"k":5,"b":"16:9","e":"16:12"},
376
+ "5":{"p":47,"k":5,"b":"16:13","e":"16:17"},
377
+ "M":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
378
+ "Pesach VIII (on Shabbat)":{
379
+ "haft":{"k":"Isaiah","b":"10:32","e":"12:6"},
380
+ "fullkriyah":
381
+ {"1":{"p":47,"k":5,"b":"14:22","e":"14:29"},
382
+ "2":{"p":47,"k":5,"b":"15:1","e":"15:18"},
383
+ "3":{"p":47,"k":5,"b":"15:19","e":"15:23"},
384
+ "4":{"p":47,"k":5,"b":"16:1","e":"16:3"},
385
+ "5":{"p":47,"k":5,"b":"16:4","e":"16:8"},
386
+ "6":{"p":47,"k":5,"b":"16:9","e":"16:12"},
387
+ "7":{"p":47,"k":5,"b":"16:13","e":"16:17"},
388
+ "M":{"p":41,"k":4,"b":"28:19","e":"28:25"}}},
389
+ "Pesach III (CH''M)":{"alias":true,"il":true,"key":"Pesach Chol ha-Moed Day 1"},
390
+ "Pesach IV (CH''M)":{"alias":true,"il":true,"key":"Pesach Chol ha-Moed Day 2"},
391
+ "Pesach V (CH''M)":{"alias":true,"il":true,"key":"Pesach Chol ha-Moed Day 3"},
392
+ "Pesach VI (CH''M)":{"alias":true,"il":true,"key":"Pesach Chol ha-Moed Day 4"},
393
+ "Pesach Chol ha-Moed Day 2 on Sunday":{"alias":true,"il":false,"key":"Pesach Chol ha-Moed Day 1"},
394
+ "Pesach Chol ha-Moed Day 3 on Monday":{"alias":true,"il":false,"key":"Pesach Chol ha-Moed Day 2"},
395
+ "Shavuot":{
396
+ "note":"Israel only",
397
+ "il":true,
398
+ "megillah":"Ruth",
399
+ "haft":[{"k":"Ezekiel","b":"1:1","e":"1:28"},
400
+ {"k":"Ezekiel","b":"3:12","e":"3:12"}],
401
+ "fullkriyah":
402
+ {"1":{"p":17,"k":2,"b":"19:1","e":"19:6"},
403
+ "2":{"p":17,"k":2,"b":"19:7","e":"19:13"},
404
+ "3":{"p":17,"k":2,"b":"19:14","e":"19:19"},
405
+ "4":{"p":17,"k":2,"b":"19:20","e":"20:14"},
406
+ "5":{"p":17,"k":2,"b":"20:15","e":"20:23"},
407
+ "M":{"p":41,"k":4,"b":"28:26","e":"28:31"}}},
408
+ "Shavuot I":{
409
+ "haft":[{"k":"Ezekiel","b":"1:1","e":"1:28"},
410
+ {"k":"Ezekiel","b":"3:12","e":"3:12"}],
411
+ "fullkriyah":
412
+ {"1":{"p":17,"k":2,"b":"19:1","e":"19:6"},
413
+ "2":{"p":17,"k":2,"b":"19:7","e":"19:13"},
414
+ "3":{"p":17,"k":2,"b":"19:14","e":"19:19"},
415
+ "4":{"p":17,"k":2,"b":"19:20","e":"20:14"},
416
+ "5":{"p":17,"k":2,"b":"20:15","e":"20:23"},
417
+ "M":{"p":41,"k":4,"b":"28:26","e":"28:31"}}},
418
+ "Shavuot II":{
419
+ "megillah":"Ruth",
420
+ "haft":{"k":"Habakkuk","b":"3:1","e":"3:19"},
421
+ "fullkriyah":
422
+ {"1":{"p":47,"k":5,"b":"15:19","e":"15:23"},
423
+ "2":{"p":47,"k":5,"b":"16:1","e":"16:3"},
424
+ "3":{"p":47,"k":5,"b":"16:4","e":"16:8"},
425
+ "4":{"p":47,"k":5,"b":"16:9","e":"16:12"},
426
+ "5":{"p":47,"k":5,"b":"16:13","e":"16:17"},
427
+ "M":{"p":41,"k":4,"b":"28:26","e":"28:31"}}},
428
+ "Shavuot II (on Shabbat)":{
429
+ "megillah":"Ruth",
430
+ "haft":{"k":"Habakkuk","b":"3:1","e":"3:19"},
431
+ "fullkriyah":
432
+ {"1":{"p":47,"k":5,"b":"14:22","e":"14:29"},
433
+ "2":{"p":47,"k":5,"b":"15:1","e":"15:18"},
434
+ "3":{"p":47,"k":5,"b":"15:19","e":"15:23"},
435
+ "4":{"p":47,"k":5,"b":"16:1","e":"16:3"},
436
+ "5":{"p":47,"k":5,"b":"16:4","e":"16:8"},
437
+ "6":{"p":47,"k":5,"b":"16:9","e":"16:12"},
438
+ "7":{"p":47,"k":5,"b":"16:13","e":"16:17"},
439
+ "M":{"p":41,"k":4,"b":"28:26","e":"28:31"}}},
440
+ "Fast Day (Morning)":{
441
+ "fullkriyah":
442
+ {"1":{"p":21,"k":2,"b":"32:11","e":"32:14"},
443
+ "2":{"p":21,"k":2,"b":"34:1","e":"34:3"},
444
+ "3":{"p":21,"k":2,"b":"34:4","e":"34:10"}}},
445
+ "Fast Day (Afternoon)":{
446
+ "haft":{"k":"Isaiah","b":"55:6","e":"56:8"},
447
+ "fullkriyah":
448
+ {"1":{"p":21,"k":2,"b":"32:11","e":"32:14"},
449
+ "2":{"p":21,"k":2,"b":"34:1","e":"34:3"},
450
+ "M":{"p":21,"k":2,"b":"34:4","e":"34:10"}}},
451
+ "Asara B'Tevet":{"alias":true,"key":"Fast Day (Morning)"},
452
+ "Ta'anit Esther":{"alias":true,"key":"Fast Day (Morning)"},
453
+ "Tzom Gedaliah":{"alias":true,"key":"Fast Day (Morning)"},
454
+ "Tzom Tammuz":{"alias":true,"key":"Fast Day (Morning)"},
455
+ "Asara B'Tevet (Mincha)":{"alias":true,"key":"Fast Day (Afternoon)"},
456
+ "Ta'anit Esther (Mincha)":{"alias":true,"key":"Fast Day (Afternoon)"},
457
+ "Tzom Gedaliah (Mincha)":{"alias":true,"key":"Fast Day (Afternoon)"},
458
+ "Tzom Tammuz (Mincha)":{"alias":true,"key":"Fast Day (Afternoon)"},
459
+ "Erev Tish'a B'Av":{"megillah":"Lamentations"},
460
+ "Tish'a B'Av":{
461
+ "haft":{"k":"Jeremiah","b":"8:13","e":"9:23"},
462
+ "fullkriyah":
463
+ {"1":{"p":45,"k":5,"b":"4:25","e":"4:29"},
464
+ "2":{"p":45,"k":5,"b":"4:30","e":"4:35"},
465
+ "3":{"p":45,"k":5,"b":"4:36","e":"4:40"}}},
466
+ "Tish'a B'Av (Mincha)":{"alias":true,"key":"Fast Day (Afternoon)"},
467
+ "Rosh Hashana I":{
468
+ "haft":{"k":"I Samuel","b":"1:1","e":"2:10"},
469
+ "fullkriyah":
470
+ {"1":{"p":4,"k":1,"b":"21:1","e":"21:4"},
471
+ "2":{"p":4,"k":1,"b":"21:5","e":"21:12"},
472
+ "3":{"p":4,"k":1,"b":"21:13","e":"21:21"},
473
+ "4":{"p":4,"k":1,"b":"21:22","e":"21:27"},
474
+ "5":{"p":4,"k":1,"b":"21:28","e":"21:34"},
475
+ "M":{"p":41,"k":4,"b":"29:1","e":"29:6"}}},
476
+ "Rosh Hashana I (on Shabbat)":{
477
+ "haft":{"k":"I Samuel","b":"1:1","e":"2:10"},
478
+ "fullkriyah":
479
+ {"1":{"p":4,"k":1,"b":"21:1","e":"21:4"},
480
+ "2":{"p":4,"k":1,"b":"21:5","e":"21:8"},
481
+ "3":{"p":4,"k":1,"b":"21:9","e":"21:12"},
482
+ "4":{"p":4,"k":1,"b":"21:13","e":"21:17"},
483
+ "5":{"p":4,"k":1,"b":"21:18","e":"21:21"},
484
+ "6":{"p":4,"k":1,"b":"21:22","e":"21:27"},
485
+ "7":{"p":4,"k":1,"b":"21:28","e":"21:34"},
486
+ "M":{"p":41,"k":4,"b":"29:1","e":"29:6"}}},
487
+ "Rosh Hashana II":{
488
+ "haft":{"k":"Jeremiah","b":"31:1","e":"31:19"},
489
+ "fullkriyah":
490
+ {"1":{"p":4,"k":1,"b":"22:1","e":"22:3"},
491
+ "2":{"p":4,"k":1,"b":"22:4","e":"22:8"},
492
+ "3":{"p":4,"k":1,"b":"22:9","e":"22:14"},
493
+ "4":{"p":4,"k":1,"b":"22:15","e":"22:19"},
494
+ "5":{"p":4,"k":1,"b":"22:20","e":"22:24"},
495
+ "M":{"p":41,"k":4,"b":"29:1","e":"29:6"}}},
496
+ "Yom Kippur":{
497
+ "haft":{"k":"Isaiah","b":"57:14","e":"58:14"},
498
+ "fullkriyah":
499
+ {"1":{"p":29,"k":3,"b":"16:1","e":"16:6"},
500
+ "2":{"p":29,"k":3,"b":"16:7","e":"16:11"},
501
+ "3":{"p":29,"k":3,"b":"16:12","e":"16:17"},
502
+ "4":{"p":29,"k":3,"b":"16:18","e":"16:24"},
503
+ "5":{"p":29,"k":3,"b":"16:25","e":"16:30"},
504
+ "6":{"p":29,"k":3,"b":"16:31","e":"16:34"},
505
+ "M":{"p":41,"k":4,"b":"29:7","e":"29:11"}}},
506
+ "Yom Kippur (on Shabbat)":{
507
+ "haft":{"k":"Isaiah","b":"57:14","e":"58:14"},
508
+ "fullkriyah":
509
+ {"1":{"p":29,"k":3,"b":"16:1","e":"16:3"},
510
+ "2":{"p":29,"k":3,"b":"16:4","e":"16:6"},
511
+ "3":{"p":29,"k":3,"b":"16:7","e":"16:11"},
512
+ "4":{"p":29,"k":3,"b":"16:12","e":"16:17"},
513
+ "5":{"p":29,"k":3,"b":"16:18","e":"16:24"},
514
+ "6":{"p":29,"k":3,"b":"16:25","e":"16:30"},
515
+ "7":{"p":29,"k":3,"b":"16:31","e":"16:34"},
516
+ "M":{"p":41,"k":4,"b":"29:7","e":"29:11"}}},
517
+ "Yom Kippur (Mincha)":{"alias":true,"key":"Yom Kippur (Mincha, Traditional)"},
518
+ "Yom Kippur (Mincha, Traditional)":{
519
+ "haft":[{"k":"Jonah","b":"1:1","e":"4:11"},
520
+ {"k":"Micah","b":"7:18","e":"7:20"}],
521
+ "fullkriyah":
522
+ {"1":{"p":29,"k":3,"b":"18:1","e":"18:5"},
523
+ "2":{"p":29,"k":3,"b":"18:6","e":"18:21"},
524
+ "M":{"p":29,"k":3,"b":"18:22","e":"18:30"}}},
525
+ "Yom Kippur (Mincha, Alternate)":{
526
+ "haft":[{"k":"Jonah","b":"1:1","e":"4:11"},
527
+ {"k":"Micah","b":"7:18","e":"7:20"}],
528
+ "fullkriyah":
529
+ {"1":{"p":30,"k":3,"b":"19:1","e":"19:4"},
530
+ "2":{"p":30,"k":3,"b":"19:5","e":"19:10"},
531
+ "M":{"p":30,"k":3,"b":"19:11","e":"19:18"}}},
532
+ "Sukkot I":{
533
+ "haft":{"k":"Zechariah","b":"14:1","e":"14:21"},
534
+ "fullkriyah":
535
+ {"1":{"p":31,"k":3,"b":"22:26","e":"23:3"},
536
+ "2":{"p":31,"k":3,"b":"23:4","e":"23:14"},
537
+ "3":{"p":31,"k":3,"b":"23:15","e":"23:22"},
538
+ "4":{"p":31,"k":3,"b":"23:23","e":"23:32"},
539
+ "5":{"p":31,"k":3,"b":"23:33","e":"23:44"},
540
+ "M":{"p":41,"k":4,"b":"29:12","e":"29:16"}}},
541
+ "Sukkot I (on Shabbat)":{
542
+ "haft":{"k":"Zechariah","b":"14:1","e":"14:21"},
543
+ "fullkriyah":
544
+ {"1":{"p":31,"k":3,"b":"22:26","e":"22:33"},
545
+ "2":{"p":31,"k":3,"b":"23:1","e":"23:3"},
546
+ "3":{"p":31,"k":3,"b":"23:4","e":"23:8"},
547
+ "4":{"p":31,"k":3,"b":"23:9","e":"23:14"},
548
+ "5":{"p":31,"k":3,"b":"23:15","e":"23:22"},
549
+ "6":{"p":31,"k":3,"b":"23:23","e":"23:32"},
550
+ "7":{"p":31,"k":3,"b":"23:33","e":"23:44"},
551
+ "M":{"p":41,"k":4,"b":"29:12","e":"29:16"}}},
552
+ "Sukkot II":{
553
+ "haft":{"k":"I Kings","b":"8:2","e":"8:21"},
554
+ "fullkriyah":
555
+ {"1":{"p":31,"k":3,"b":"22:26","e":"23:3"},
556
+ "2":{"p":31,"k":3,"b":"23:4","e":"23:14"},
557
+ "3":{"p":31,"k":3,"b":"23:15","e":"23:22"},
558
+ "4":{"p":31,"k":3,"b":"23:23","e":"23:32"},
559
+ "5":{"p":31,"k":3,"b":"23:33","e":"23:44"},
560
+ "M":{"p":41,"k":4,"b":"29:12","e":"29:16"}}},
561
+ "Sukkot Chol ha-Moed Day 1":{
562
+ "fullkriyah":
563
+ {"1":{"p":41,"k":4,"b":"29:17","e":"29:19"},
564
+ "2":{"p":41,"k":4,"b":"29:20","e":"29:22"},
565
+ "3":{"p":41,"k":4,"b":"29:23","e":"29:25"},
566
+ "4":{"p":41,"k":4,"b":"29:17","e":"29:22"}}},
567
+ "Sukkot Chol ha-Moed Day 2":{
568
+ "fullkriyah":
569
+ {"1":{"p":41,"k":4,"b":"29:20","e":"29:22"},
570
+ "2":{"p":41,"k":4,"b":"29:23","e":"29:25"},
571
+ "3":{"p":41,"k":4,"b":"29:26","e":"29:28"},
572
+ "4":{"p":41,"k":4,"b":"29:20","e":"29:25"}}},
573
+ "Sukkot Chol ha-Moed Day 3":{
574
+ "fullkriyah":
575
+ {"1":{"p":41,"k":4,"b":"29:23","e":"29:25"},
576
+ "2":{"p":41,"k":4,"b":"29:26","e":"29:28"},
577
+ "3":{"p":41,"k":4,"b":"29:29","e":"29:31"},
578
+ "4":{"p":41,"k":4,"b":"29:23","e":"29:28"}}},
579
+ "Sukkot Chol ha-Moed Day 4":{
580
+ "fullkriyah":
581
+ {"1":{"p":41,"k":4,"b":"29:26","e":"29:28"},
582
+ "2":{"p":41,"k":4,"b":"29:29","e":"29:31"},
583
+ "3":{"p":41,"k":4,"b":"29:32","e":"29:34"},
584
+ "4":{"p":41,"k":4,"b":"29:26","e":"29:31"}}},
585
+ "Sukkot Chol ha-Moed Day 5":{
586
+ "fullkriyah":
587
+ {"1":{"p":41,"k":4,"b":"29:29","e":"29:31"},
588
+ "2":{"p":41,"k":4,"b":"29:32","e":"29:34"},
589
+ "3":{"p":41,"k":4,"b":"29:35","e":"29:37"},
590
+ "4":{"p":41,"k":4,"b":"29:29","e":"29:34"}}},
591
+ "Sukkot Shabbat Chol ha-Moed":{
592
+ "megillah":"Ecclesiastes",
593
+ "haft":{"k":"Ezekiel","b":"38:18","e":"39:16"},
594
+ "fullkriyah":
595
+ {"1":{"p":21,"k":2,"b":"33:12","e":"33:16"},
596
+ "2":{"p":21,"k":2,"b":"33:17","e":"33:19"},
597
+ "3":{"p":21,"k":2,"b":"33:20","e":"33:23"},
598
+ "4":{"p":21,"k":2,"b":"34:1","e":"34:3"},
599
+ "5":{"p":21,"k":2,"b":"34:4","e":"34:10"},
600
+ "6":{"p":21,"k":2,"b":"34:11","e":"34:17"},
601
+ "7":{"p":21,"k":2,"b":"34:18","e":"34:26"},
602
+ "M-day1":{"p":41,"k":4,"b":"29:17","e":"29:22"},
603
+ "M-day2":{"p":41,"k":4,"b":"29:20","e":"29:25"},
604
+ "M-day3":{"p":41,"k":4,"b":"29:23","e":"29:28"},
605
+ "M-day4":{"p":41,"k":4,"b":"29:26","e":"29:31"},
606
+ "M-day5":{"p":41,"k":4,"b":"29:29","e":"29:34"}}},
607
+ "Sukkot Final Day (Hoshana Raba)":{
608
+ "fullkriyah":
609
+ {"1":{"p":41,"k":4,"b":"29:26","e":"29:28"},
610
+ "2":{"p":41,"k":4,"b":"29:29","e":"29:31"},
611
+ "3":{"p":41,"k":4,"b":"29:32","e":"29:34"},
612
+ "4":{"p":41,"k":4,"b":"29:29","e":"29:34"}}},
613
+ "Shmini Atzeret":{
614
+ "haft":{"k":"I Kings","b":"8:54","e":"8:66"},
615
+ "fullkriyah":
616
+ {"1":{"p":47,"k":5,"b":"14:22","e":"14:29"},
617
+ "2":{"p":47,"k":5,"b":"15:1","e":"15:18"},
618
+ "3":{"p":47,"k":5,"b":"15:19","e":"16:3"},
619
+ "4":{"p":47,"k":5,"b":"16:4","e":"16:8"},
620
+ "5":{"p":47,"k":5,"b":"16:9","e":"16:17"},
621
+ "M":{"p":41,"k":4,"b":"29:35","e":"30:1"}}},
622
+ "Shmini Atzeret (on Shabbat)":{
623
+ "haft":{"k":"I Kings","b":"8:54","e":"8:66"},
624
+ "fullkriyah":
625
+ {"1":{"p":47,"k":5,"b":"14:22","e":"14:29"},
626
+ "2":{"p":47,"k":5,"b":"15:1","e":"15:18"},
627
+ "3":{"p":47,"k":5,"b":"15:19","e":"15:23"},
628
+ "4":{"p":47,"k":5,"b":"16:1","e":"16:3"},
629
+ "5":{"p":47,"k":5,"b":"16:4","e":"16:8"},
630
+ "6":{"p":47,"k":5,"b":"16:9","e":"16:12"},
631
+ "7":{"p":47,"k":5,"b":"16:13","e":"16:17"},
632
+ "M":{"p":41,"k":4,"b":"29:35","e":"30:1"}}},
633
+ "Erev Simchat Torah":{
634
+ "fullkriyah":
635
+ {"1":{"p":54,"k":5,"b":"33:1","e":"33:7"},
636
+ "2":{"p":54,"k":5,"b":"33:8","e":"33:12"},
637
+ "3":{"p":54,"k":5,"b":"33:13","e":"33:17"}}},
638
+ "Simchat Torah":{
639
+ "haft":{"k":"Joshua","b":"1:1","e":"1:18"},
640
+ "fullkriyah":
641
+ {"1":{"p":54,"k":5,"b":"33:1","e":"33:7"},
642
+ "2":{"p":54,"k":5,"b":"33:8","e":"33:12"},
643
+ "3":{"p":54,"k":5,"b":"33:13","e":"33:17"},
644
+ "4":{"p":54,"k":5,"b":"33:18","e":"33:21"},
645
+ "5":{"p":54,"k":5,"b":"33:22","e":"33:26"},
646
+ "6":{"p":54,"k":5,"b":"33:27","e":"34:12"},
647
+ "7":{"p":1,"k":1,"b":"1:1","e":"2:3"},
648
+ "M":{"p":41,"k":4,"b":"29:35","e":"30:1"}}},
649
+ "Shabbat Rosh Chodesh Chanukah":{
650
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
651
+ "fullkriyah":
652
+ {"7":{"p":41,"k":4,"b":"28:9","e":"28:15"},
653
+ "M":{"p":35,"k":4,"b":"7:42","e":"7:47"}}},
654
+ "Chanukah Day 1":{
655
+ "fullkriyah":
656
+ {"1":{"p":35,"k":4,"b":"7:1","e":"7:11"},
657
+ "2":{"p":35,"k":4,"b":"7:12","e":"7:14"},
658
+ "3":{"p":35,"k":4,"b":"7:15","e":"7:17"}},
659
+ "alt":{"1":{"p":35,"k":4,"b":"7:1","e":"7:3"},
660
+ "2":{"p":35,"k":4,"b":"7:4","e":"7:11"},
661
+ "3":{"p":35,"k":4,"b":"7:12","e":"7:17"}}},
662
+ "Chanukah Day 1 (on Shabbat)":{
663
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
664
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:1","e":"7:17"}}},
665
+ "Chanukah Day 2":{
666
+ "fullkriyah":
667
+ {"1":{"p":35,"k":4,"b":"7:18","e":"7:20"},
668
+ "2":{"p":35,"k":4,"b":"7:21","e":"7:23"},
669
+ "3":{"p":35,"k":4,"b":"7:24","e":"7:29"}},
670
+ "alt":{"1":{"p":35,"k":4,"b":"7:18","e":"7:20"},
671
+ "2":{"p":35,"k":4,"b":"7:21","e":"7:23"},
672
+ "3":{"p":35,"k":4,"b":"7:18","e":"7:23"}}},
673
+ "Chanukah Day 2 (on Shabbat)":{
674
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
675
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:18","e":"7:23"}}},
676
+ "Chanukah Day 3":{
677
+ "fullkriyah":
678
+ {"1":{"p":35,"k":4,"b":"7:24","e":"7:26"},
679
+ "2":{"p":35,"k":4,"b":"7:27","e":"7:29"},
680
+ "3":{"p":35,"k":4,"b":"7:30","e":"7:35"}},
681
+ "alt":{"1":{"p":35,"k":4,"b":"7:24","e":"7:26"},
682
+ "2":{"p":35,"k":4,"b":"7:27","e":"7:29"},
683
+ "3":{"p":35,"k":4,"b":"7:24","e":"7:29"}}},
684
+ "Chanukah Day 3 (on Shabbat)":{
685
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
686
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:24","e":"7:29"}}},
687
+ "Chanukah Day 4":{
688
+ "fullkriyah":
689
+ {"1":{"p":35,"k":4,"b":"7:30","e":"7:32"},
690
+ "2":{"p":35,"k":4,"b":"7:33","e":"7:35"},
691
+ "3":{"p":35,"k":4,"b":"7:36","e":"7:41"}},
692
+ "alt":{"1":{"p":35,"k":4,"b":"7:30","e":"7:32"},
693
+ "2":{"p":35,"k":4,"b":"7:33","e":"7:35"},
694
+ "3":{"p":35,"k":4,"b":"7:30","e":"7:35"}}},
695
+ "Chanukah Day 4 (on Shabbat)":{
696
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
697
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:30","e":"7:35"}}},
698
+ "Chanukah Day 5":{
699
+ "fullkriyah":
700
+ {"1":{"p":35,"k":4,"b":"7:36","e":"7:38"},
701
+ "2":{"p":35,"k":4,"b":"7:39","e":"7:41"},
702
+ "3":{"p":35,"k":4,"b":"7:42","e":"7:47"}},
703
+ "alt":{"1":{"p":35,"k":4,"b":"7:36","e":"7:38"},
704
+ "2":{"p":35,"k":4,"b":"7:39","e":"7:41"},
705
+ "3":{"p":35,"k":4,"b":"7:36","e":"7:41"}}},
706
+ "Chanukah Day 5 (on Shabbat)":{
707
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
708
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:36","e":"7:41"}}},
709
+ "Chanukah Day 6":{
710
+ "fullkriyah":
711
+ {"1":{"p":41,"k":4,"b":"28:1","e":"28:5"},
712
+ "2":{"p":41,"k":4,"b":"28:6","e":"28:10"},
713
+ "3":{"p":41,"k":4,"b":"28:11","e":"28:15"},
714
+ "4":{"p":35,"k":4,"b":"7:42","e":"7:47"}}},
715
+ "Chanukah Day 7":{
716
+ "fullkriyah":
717
+ {"1":{"p":35,"k":4,"b":"7:48","e":"7:50"},
718
+ "2":{"p":35,"k":4,"b":"7:51","e":"7:53"},
719
+ "3":{"p":35,"k":4,"b":"7:54","e":"7:59"}},
720
+ "alt":{"1":{"p":35,"k":4,"b":"7:48","e":"7:50"},
721
+ "2":{"p":35,"k":4,"b":"7:51","e":"7:53"},
722
+ "3":{"p":35,"k":4,"b":"7:48","e":"7:53"}}},
723
+ "Chanukah Day 7 (on Rosh Chodesh)":{
724
+ "fullkriyah":
725
+ {"1":{"p":41,"k":4,"b":"28:1","e":"28:5"},
726
+ "2":{"p":41,"k":4,"b":"28:6","e":"28:10"},
727
+ "3":{"p":41,"k":4,"b":"28:11","e":"28:15"},
728
+ "4":{"p":35,"k":4,"b":"7:48","e":"7:53"}}},
729
+ "Chanukah Day 7 (on Shabbat)":{
730
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
731
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:48","e":"7:53"}}},
732
+ "Chanukah Day 8":{
733
+ "fullkriyah":
734
+ {"1":{"p":35,"k":4,"b":"7:54","e":"7:56"},
735
+ "2":{"p":35,"k":4,"b":"7:57","e":"7:59"},
736
+ "3":{"p":35,"k":4,"b":"7:60","e":"8:4"}}},
737
+ "Chanukah Day 8 (on Shabbat)":{
738
+ "haft":{"k":"I Kings","b":"7:40","e":"7:50"},
739
+ "fullkriyah":{"M":{"p":35,"k":4,"b":"7:54","e":"8:4"}}},
740
+ "Erev Purim":{"megillah":"Esther"},
741
+ "Purim":{
742
+ "megillah":"Esther",
743
+ "fullkriyah":
744
+ {"1":{"p":16,"k":2,"b":"17:8","e":"17:10"},
745
+ "2":{"p":16,"k":2,"b":"17:11","e":"17:13"},
746
+ "3":{"p":16,"k":2,"b":"17:14","e":"17:16"}}},
747
+ "Shushan Purim":{
748
+ "note":"Jerusalem & walled cities only",
749
+ "il":true,
750
+ "megillah":"Esther",
751
+ "fullkriyah":
752
+ {"1":{"p":16,"k":2,"b":"17:8","e":"17:10"},
753
+ "2":{"p":16,"k":2,"b":"17:11","e":"17:13"},
754
+ "3":{"p":16,"k":2,"b":"17:14","e":"17:16"}}},
755
+ "Shushan Purim (on Shabbat)":{
756
+ "il":true,
757
+ "note":"Jerusalem & walled cities only: special maftir Exodus 17:8-16, same Haftara as Shabbat Zachor"},
758
+ "Shabbat HaChodesh":{
759
+ "haft":{"k":"Ezekiel","b":"45:16","e":"46:18"},
760
+ "fullkriyah":
761
+ {"M":{"p":15,"k":2,"b":"12:1","e":"12:20"}}},
762
+ "Shabbat HaChodesh (on Rosh Chodesh)":{
763
+ "haft":{"k":"Ezekiel","b":"45:16","e":"46:18"},
764
+ "fullkriyah":
765
+ {"7":{"p":41,"k":4,"b":"28:9","e":"28:15"},
766
+ "M":{"p":15,"k":2,"b":"12:1","e":"12:20"}}},
767
+ "Shabbat HaGadol":{
768
+ "haft":{"k":"Malachi","b":"3:4","e":"3:24"}},
769
+ "Shabbat Parah":{
770
+ "haft":{"k":"Ezekiel","b":"36:16","e":"36:38"},
771
+ "fullkriyah":
772
+ {"M":{"p":39,"k":4,"b":"19:1","e":"19:22"}}},
773
+ "Shabbat Shekalim":{
774
+ "haft":{"k":"II Kings","b":"12:1","e":"12:17"},
775
+ "fullkriyah":
776
+ {"M":{"p":21,"k":2,"b":"30:11","e":"30:16"}}},
777
+ "Shabbat Shekalim (on Rosh Chodesh)":{
778
+ "haft":{"k":"II Kings","b":"12:1","e":"12:17"},
779
+ "fullkriyah":
780
+ {"7":{"p":41,"k":4,"b":"28:9","e":"28:15"},
781
+ "M":{"p":21,"k":2,"b":"30:11","e":"30:16"}}},
782
+ "Shabbat Shuva (with Vayeilech)":{
783
+ "haft":[{"k":"Hosea","b":"14:2","e":"14:10"},
784
+ {"k":"Micah","b":"7:18","e":"7:20"}]},
785
+ "Shabbat Shuva (with Ha'azinu)":{
786
+ "haft":[{"k":"Hosea","b":"14:2","e":"14:10"},
787
+ {"k":"Joel","b":"2:15","e":"2:27"}],
788
+ "seph":[{"k":"Hosea","b":"14:2","e":"14:10"},
789
+ {"k":"Micah","b":"7:18","e":"7:20"}]},
790
+ "Shabbat Shuva":{
791
+ "haft":[{"k":"Hosea","b":"14:2","e":"14:10"},
792
+ {"k":"Micah","b":"7:18","e":"7:20"},
793
+ {"k":"Joel","b":"2:15","e":"2:27"}]},
794
+ "Shabbat Zachor":{
795
+ "haft":{"k":"I Samuel","b":"15:2","e":"15:34"},
796
+ "fullkriyah":
797
+ {"M":{"p":49,"k":5,"b":"25:17","e":"25:19"}}},
798
+ "Pinchas occurring after 17 Tammuz":{
799
+ "haft": {"k": "Jeremiah", "b": "1:1", "e": "2:3"}},
800
+ "Masei on Shabbat Rosh Chodesh":{
801
+ "haft":[
802
+ {"k":"Jeremiah","b":"2:4","e":"2:28"},
803
+ {"k":"Jeremiah","b":"3:4","e":"3:4"},
804
+ {"k":"Isaiah","b":"66:1","e":"66:1"},
805
+ {"k":"Isaiah","b":"66:23","e":"66:23"}]},
806
+ "Matot-Masei on Shabbat Rosh Chodesh":{"alias":true,"key":"Masei on Shabbat Rosh Chodesh"},
807
+ "Ki Teitzei with 3rd Haftarah of Consolation":{
808
+ "haft":[
809
+ {"k":"Isaiah","b":"54:1","e":"54:10"},
810
+ {"k":"Isaiah","b":"54:11","e":"55:5"}]},
811
+ "Rosh Chodesh":{
812
+ "fullkriyah":
813
+ {"1":{"p":41,"k":4,"b":"28:1","e":"28:3"},
814
+ "2":{"p":41,"k":4,"b":"28:3","e":"28:5"},
815
+ "3":{"p":41,"k":4,"b":"28:6","e":"28:10"},
816
+ "4":{"p":41,"k":4,"b":"28:11","e":"28:15"}}},
817
+ "Rosh Chodesh Nisan":{"alias":true,"key":"Rosh Chodesh"},
818
+ "Rosh Chodesh Iyyar":{"alias":true,"key":"Rosh Chodesh"},
819
+ "Rosh Chodesh Sivan":{"alias":true,"key":"Rosh Chodesh"},
820
+ "Rosh Chodesh Tamuz":{"alias":true,"key":"Rosh Chodesh"},
821
+ "Rosh Chodesh Av":{"alias":true,"key":"Rosh Chodesh"},
822
+ "Rosh Chodesh Elul":{"alias":true,"key":"Rosh Chodesh"},
823
+ "Rosh Chodesh Tishrei":{"alias":true,"key":"Rosh Chodesh"},
824
+ "Rosh Chodesh Cheshvan":{"alias":true,"key":"Rosh Chodesh"},
825
+ "Rosh Chodesh Kislev":{"alias":true,"key":"Rosh Chodesh"},
826
+ "Rosh Chodesh Sh'vat":{"alias":true,"key":"Rosh Chodesh"},
827
+ "Rosh Chodesh Adar":{"alias":true,"key":"Rosh Chodesh"},
828
+ "Rosh Chodesh Adar I":{"alias":true,"key":"Rosh Chodesh"},
829
+ "Rosh Chodesh Adar II":{"alias":true,"key":"Rosh Chodesh"},
830
+ "Shabbat Rosh Chodesh":{
831
+ "haft":{"k":"Isaiah","b":"66:1","e":"66:24"},
832
+ "fullkriyah":
833
+ {"M":{"p":41,"k":4,"b":"28:9","e":"28:15"}}},
834
+ "Shabbat Machar Chodesh":{
835
+ "haft":{"k":"I Samuel","b":"20:18","e":"20:42"}}};
236
836
 
237
837
  /**
238
838
  * Is there a special festival Torah Reading for `holiday`?
@@ -262,11 +862,11 @@ function lookupFestival(holiday) {
262
862
  }
263
863
  const result = src.fullkriyah ? clone(src) : src;
264
864
  if (result.fullkriyah) {
265
- Object.values(result.fullkriyah).forEach(aliyah => {
865
+ for (const aliyah of Object.values(result.fullkriyah)) {
266
866
  if (typeof aliyah.k === 'number') {
267
867
  aliyah.k = BOOK[aliyah.k];
268
868
  }
269
- });
869
+ }
270
870
  }
271
871
  if (src.note) {
272
872
  result.note = src.note;
@@ -274,7 +874,9 @@ function lookupFestival(holiday) {
274
874
  return result;
275
875
  }
276
876
 
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;
877
+ const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM |
878
+ core.flags.MOLAD | core.flags.USER_EVENT | core.flags.HEBREW_DATE | core.flags.MISHNA_YOMI |
879
+ core.flags.MODERN_HOLIDAY | core.flags.YERUSHALMI_YOMI;
278
880
 
279
881
  /**
280
882
  * Based on the event date, type and title, finds the relevant leyning key
@@ -282,8 +884,7 @@ const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.f
282
884
  * @param {boolean} [il] true if Israel holiday scheme
283
885
  * @return {string} key to look up in holiday-reading.json
284
886
  */
285
- function getLeyningKeyForEvent(ev) {
286
- let il = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
887
+ function getLeyningKeyForEvent(ev, il = false) {
287
888
  if (typeof ev.eventTime !== 'undefined') {
288
889
  return undefined;
289
890
  }
@@ -300,8 +901,8 @@ function getLeyningKeyForEvent(ev) {
300
901
  const day = hd.getDate();
301
902
  const dow = hd.abs() % 7;
302
903
  const month = hd.getMonth();
303
- const isShabbat = dow == 6;
304
- const isRoshChodesh = day == 1 || day == 30;
904
+ const isShabbat = (dow == 6);
905
+ const isRoshChodesh = (day == 1 || day == 30);
305
906
  const holiday = ev.basename();
306
907
  const isPesach = holiday === 'Pesach';
307
908
  if (il && isPesach) {
@@ -339,15 +940,19 @@ function getLeyningKeyForEvent(ev) {
339
940
  return `Chanukah Day ${ev.chanukahDay}`;
340
941
  }
341
942
  }
943
+
342
944
  if (isRoshChodesh && (desc == 'Shabbat HaChodesh' || desc == 'Shabbat Shekalim')) {
343
945
  return desc + ' (on Rosh Chodesh)';
344
946
  }
947
+
345
948
  if (il && desc == 'Shmini Atzeret') {
346
949
  return 'Simchat Torah';
347
950
  }
951
+
348
952
  if (desc === 'Chag HaBanot') {
349
953
  return undefined;
350
954
  }
955
+
351
956
  if (isShabbat && 'Shabbat' != desc.substring(0, 7)) {
352
957
  if (isRoshChodesh) {
353
958
  if (desc === 'Rosh Chodesh Tevet') {
@@ -360,18 +965,22 @@ function getLeyningKeyForEvent(ev) {
360
965
  return desc2;
361
966
  }
362
967
  }
968
+
363
969
  if (hasFestival(desc)) {
364
970
  return desc;
365
971
  }
972
+
366
973
  if (isShabbat) {
367
974
  const tommorow = hd.next().getDate();
368
975
  if (tommorow === 30 || tommorow === 1) {
369
976
  return 'Shabbat Machar Chodesh';
370
977
  }
371
978
  }
979
+
372
980
  if (desc === 'Rosh Hashana LaBehemot') {
373
981
  return undefined;
374
982
  }
983
+
375
984
  if (desc === 'Rosh Chodesh Tevet') {
376
985
  if (isShabbat) {
377
986
  return 'Shabbat Rosh Chodesh Chanukah';
@@ -382,12 +991,15 @@ function getLeyningKeyForEvent(ev) {
382
991
  return 'Chanukah Day 7 (on Rosh Chodesh)'; // 1st of Tevet
383
992
  }
384
993
  }
994
+
385
995
  if (isRoshChodesh) {
386
996
  return desc;
387
997
  }
998
+
388
999
  if (desc === 'Tish\'a B\'Av (observed)') {
389
1000
  return 'Tish\'a B\'Av';
390
1001
  }
1002
+
391
1003
  return undefined;
392
1004
  }
393
1005
 
@@ -415,7 +1027,7 @@ function aliyotCombine67(aliyot) {
415
1027
  aliyot['6'] = {
416
1028
  k: a6.k,
417
1029
  b: a6.b,
418
- e: a7.e
1030
+ e: a7.e,
419
1031
  };
420
1032
  if (a6.v && a7.v) {
421
1033
  aliyot['6'].v = a6.v + a7.v;
@@ -483,14 +1095,17 @@ function specialReadings2(parsha, hd, il, aliyot) {
483
1095
  if (special.fullkriyah) {
484
1096
  const aliyotMap = clone(aliyot);
485
1097
  mergeAliyotWithSpecial(aliyotMap, special.fullkriyah);
486
- Object.keys(special.fullkriyah).map(k => reason[k] = key);
1098
+ for (const num of Object.keys(special.fullkriyah)) {
1099
+ reason[num] = key;
1100
+ }
487
1101
  aliyot = aliyotMap;
488
1102
  }
489
1103
  }
1104
+
490
1105
  const parshaName = parshaToString(parsha);
491
1106
  const events0 = core.HebrewCalendar.getHolidaysOnDate(hd, il) || [];
492
- const events = events0.filter(ev => !(ev.getFlags() & core.flags.ROSH_CHODESH));
493
- events.forEach(ev => {
1107
+ const events = events0.filter((ev) => !(ev.getFlags() & core.flags.ROSH_CHODESH));
1108
+ for (const ev of events) {
494
1109
  if (ev.getDesc() === 'Shabbat Shuva') {
495
1110
  handleSpecial(`Shabbat Shuva (with ${parshaName})`);
496
1111
  } else {
@@ -499,7 +1114,7 @@ function specialReadings2(parsha, hd, il, aliyot) {
499
1114
  handleSpecial(key);
500
1115
  }
501
1116
  }
502
- });
1117
+ }
503
1118
  if (!haft) {
504
1119
  const day = hd.getDate();
505
1120
  if (parshaName === 'Pinchas' && day > 17) {
@@ -507,7 +1122,9 @@ function specialReadings2(parsha, hd, il, aliyot) {
507
1122
  // either on the 14, 16, 17 (in Israel), 19, 21, 23, 24
508
1123
  handleSpecial('Pinchas occurring after 17 Tammuz');
509
1124
  } else if (day === 30 || day === 1) {
510
- const key = parshaName === 'Masei' || parshaName === 'Matot-Masei' ? `${parshaName} on Shabbat Rosh Chodesh` : 'Shabbat Rosh Chodesh';
1125
+ const key = (parshaName === 'Masei' || parshaName === 'Matot-Masei') ?
1126
+ `${parshaName} on Shabbat Rosh Chodesh` :
1127
+ 'Shabbat Rosh Chodesh';
511
1128
  handleSpecial(key);
512
1129
  } else if (parshaName === 'Ki Teitzei' && day === 14) {
513
1130
  // Ki Teitzei is always read in Elul on 9, 11, 13 or 14
@@ -527,12 +1144,7 @@ function specialReadings2(parsha, hd, il, aliyot) {
527
1144
  }
528
1145
  }
529
1146
  }
530
- return {
531
- aliyot,
532
- reason,
533
- haft,
534
- seph
535
- };
1147
+ return {aliyot, reason, haft, seph};
536
1148
  }
537
1149
 
538
1150
  /**
@@ -558,8 +1170,8 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
558
1170
  const leyning = {
559
1171
  name: {
560
1172
  en: key,
561
- he: core.Locale.lookupTranslation(key, 'he')
562
- }
1173
+ he: core.Locale.lookupTranslation(key, 'he'),
1174
+ },
563
1175
  };
564
1176
  if (src.fullkriyah) {
565
1177
  leyning.fullkriyah = clone(src.fullkriyah);
@@ -576,7 +1188,7 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
576
1188
  leyning.summaryParts = parts;
577
1189
  }
578
1190
  }
579
- Object.values(leyning.fullkriyah).map(aliyah => calculateNumVerses(aliyah));
1191
+ Object.values(leyning.fullkriyah).map((aliyah) => calculateNumVerses(aliyah));
580
1192
  }
581
1193
  if (src.haft) {
582
1194
  const haft = leyning.haft = cloneHaftara(src.haft);
@@ -594,12 +1206,7 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
594
1206
  const m = {};
595
1207
  for (let i = 1; i < chaps.length; i++) {
596
1208
  const numv = chaps[i];
597
- m[`${i}`] = {
598
- k: book,
599
- b: `${i}:1`,
600
- e: `${i}:${numv}`,
601
- v: numv
602
- };
1209
+ m[`${i}`] = {k: book, b: `${i}:1`, e: `${i}:${numv}`, v: numv};
603
1210
  }
604
1211
  leyning.megillah = m;
605
1212
  }
@@ -616,8 +1223,7 @@ function getLeyningForHolidayKey(key, cholHaMoedDay, il) {
616
1223
  * @param {boolean} [il] true if Israel holiday scheme
617
1224
  * @return {Leyning} map of aliyot
618
1225
  */
619
- function getLeyningForHoliday(ev) {
620
- let il = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
1226
+ function getLeyningForHoliday(ev, il = false) {
621
1227
  if (typeof ev !== 'object' || typeof ev.getFlags !== 'function') {
622
1228
  throw new TypeError(`Bad event argument: ${ev}`);
623
1229
  } else if (typeof ev.eventTime !== 'undefined') {
@@ -632,7 +1238,1166 @@ function getLeyningForHoliday(ev) {
632
1238
  return leyning;
633
1239
  }
634
1240
 
635
- 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"]}}};
1241
+ var parshiyotObj = {
1242
+ "Bereshit":{
1243
+ "num":1,
1244
+ "hebrew":"בְּרֵאשִׁית",
1245
+ "book":1,
1246
+ "haft":{"k":"Isaiah","b":"42:5","e":"43:10"},
1247
+ "seph":{"k":"Isaiah","b":"42:5","e":"42:21"},
1248
+ "fullkriyah":{
1249
+ "1":["1:1","2:3"],
1250
+ "2":["2:4","2:19"],
1251
+ "3":["2:20","3:21"],
1252
+ "4":["3:22","4:18"],
1253
+ "5":["4:19","4:22"],
1254
+ "6":["4:23","5:24"],
1255
+ "7":["5:25","6:8"],
1256
+ "M":["6:5","6:8"]},
1257
+ "weekday":{
1258
+ "1":["1:1","1:5"],
1259
+ "2":["1:6","1:8"],
1260
+ "3":["1:9","1:13"]
1261
+ }},
1262
+ "Noach":{
1263
+ "num":2,
1264
+ "hebrew":"נֹחַ",
1265
+ "book":1,
1266
+ "haft":{"k":"Isaiah","b":"54:1","e":"55:5"},
1267
+ "seph":{"k":"Isaiah","b":"54:1","e":"54:10"},
1268
+ "fullkriyah":{
1269
+ "1":["6:9","6:22"],
1270
+ "2":["7:1","7:16"],
1271
+ "3":["7:17","8:14"],
1272
+ "4":["8:15","9:7"],
1273
+ "5":["9:8","9:17"],
1274
+ "6":["9:18","10:32"],
1275
+ "7":["11:1","11:32"],
1276
+ "M":["11:29","11:32"]},
1277
+ "weekday":{
1278
+ "1":["6:9","6:16"],
1279
+ "2":["6:17","6:19"],
1280
+ "3":["6:20","6:22"]
1281
+ }},
1282
+ "Lech-Lecha":{
1283
+ "num":3,
1284
+ "hebrew":"לֶךְ־לְךָ",
1285
+ "book":1,
1286
+ "haft":{"k":"Isaiah","b":"40:27","e":"41:16"},
1287
+ "fullkriyah":{
1288
+ "1":["12:1","12:13"],
1289
+ "2":["12:14","13:4"],
1290
+ "3":["13:5","13:18"],
1291
+ "4":["14:1","14:20"],
1292
+ "5":["14:21","15:6"],
1293
+ "6":["15:7","17:6"],
1294
+ "7":["17:7","17:27"],
1295
+ "M":["17:24","17:27"]},
1296
+ "weekday":{
1297
+ "1":["12:1","12:3"],
1298
+ "2":["12:4","12:9"],
1299
+ "3":["12:10","12:13"]
1300
+ }},
1301
+ "Vayera":{
1302
+ "num":4,
1303
+ "hebrew":"וַיֵּרָא",
1304
+ "book":1,
1305
+ "haft":{"k":"II Kings","b":"4:1","e":"4:37"},
1306
+ "seph":{"k":"II Kings","b":"4:1","e":"4:23"},
1307
+ "fullkriyah":{
1308
+ "1":["18:1","18:14"],
1309
+ "2":["18:15","18:33"],
1310
+ "3":["19:1","19:20"],
1311
+ "4":["19:21","21:4"],
1312
+ "5":["21:5","21:21"],
1313
+ "6":["21:22","21:34"],
1314
+ "7":["22:1","22:24"],
1315
+ "M":["22:20","22:24"]},
1316
+ "weekday":{
1317
+ "1":["18:1","18:5"],
1318
+ "2":["18:6","18:8"],
1319
+ "3":["18:9","18:14"]
1320
+ }},
1321
+ "Chayei Sara":{
1322
+ "num":5,
1323
+ "hebrew":"חַיֵּי שָֹרָה",
1324
+ "book":1,
1325
+ "haft":{"k":"I Kings","b":"1:1","e":"1:31"},
1326
+ "fullkriyah":{
1327
+ "1":["23:1","23:16"],
1328
+ "2":["23:17","24:9"],
1329
+ "3":["24:10","24:26"],
1330
+ "4":["24:27","24:52"],
1331
+ "5":["24:53","24:67"],
1332
+ "6":["25:1","25:11"],
1333
+ "7":["25:12","25:18"],
1334
+ "M":["25:16","25:18"]},
1335
+ "weekday":{
1336
+ "1":["23:1","23:7"],
1337
+ "2":["23:8","23:12"],
1338
+ "3":["23:13","23:16"]
1339
+ }},
1340
+ "Toldot":{
1341
+ "num":6,
1342
+ "hebrew":"תּוֹלְדוֹת",
1343
+ "book":1,
1344
+ "haft":{"k":"Malachi","b":"1:1","e":"2:7"},
1345
+ "fullkriyah":{
1346
+ "1":["25:19","26:5"],
1347
+ "2":["26:6","26:12"],
1348
+ "3":["26:13","26:22"],
1349
+ "4":["26:23","26:29"],
1350
+ "5":["26:30","27:27"],
1351
+ "6":["27:28","28:4"],
1352
+ "7":["28:5","28:9"],
1353
+ "M":["28:7","28:9"]},
1354
+ "weekday":{
1355
+ "1":["25:19","25:22"],
1356
+ "2":["25:23","25:26"],
1357
+ "3":["25:27","26:5"]
1358
+ }},
1359
+ "Vayetzei":{
1360
+ "num":7,
1361
+ "hebrew":"וַיֵּצֵא",
1362
+ "book":1,
1363
+ "haft":{"k":"Hosea","b":"12:13","e":"14:10"},
1364
+ "seph":{"k":"Hosea","b":"11:7","e":"12:12"},
1365
+ "fullkriyah":{
1366
+ "1":["28:10","28:22"],
1367
+ "2":["29:1","29:17"],
1368
+ "3":["29:18","30:13"],
1369
+ "4":["30:14","30:27"],
1370
+ "5":["30:28","31:16"],
1371
+ "6":["31:17","31:42"],
1372
+ "7":["31:43","32:3"],
1373
+ "M":["32:1","32:3"]},
1374
+ "weekday":{
1375
+ "1":["28:10","28:12"],
1376
+ "2":["28:13","28:17"],
1377
+ "3":["28:18","28:22"]
1378
+ }},
1379
+ "Vayishlach":{
1380
+ "num":8,
1381
+ "hebrew":"וַיִּשְׁלַח",
1382
+ "book":1,
1383
+ "haft":{"k":"Obadiah","b":"1:1","e":"1:21"},
1384
+ "fullkriyah":{
1385
+ "1":["32:4","32:13"],
1386
+ "2":["32:14","32:30"],
1387
+ "3":["32:31","33:5"],
1388
+ "4":["33:6","33:20"],
1389
+ "5":["34:1","35:11"],
1390
+ "6":["35:12","36:19"],
1391
+ "7":["36:20","36:43"],
1392
+ "M":["36:40","36:43"]},
1393
+ "weekday":{
1394
+ "1":["32:4","32:6"],
1395
+ "2":["32:7","32:9"],
1396
+ "3":["32:10","32:13"]
1397
+ }},
1398
+ "Vayeshev":{
1399
+ "num":9,
1400
+ "hebrew":"וַיֵּשֶׁב",
1401
+ "book":1,
1402
+ "haft":{"k":"Amos","b":"2:6","e":"3:8"},
1403
+ "fullkriyah":{
1404
+ "1":["37:1","37:11"],
1405
+ "2":["37:12","37:22"],
1406
+ "3":["37:23","37:36"],
1407
+ "4":["38:1","38:30"],
1408
+ "5":["39:1","39:6"],
1409
+ "6":["39:7","39:23"],
1410
+ "7":["40:1","40:23"],
1411
+ "M":["40:20","40:23"]},
1412
+ "weekday":{
1413
+ "1":["37:1","37:3"],
1414
+ "2":["37:4","37:7"],
1415
+ "3":["37:8","37:11"]
1416
+ }},
1417
+ "Miketz":{
1418
+ "num":10,
1419
+ "hebrew":"מִקֵּץ",
1420
+ "book":1,
1421
+ "haft":{"k":"I Kings","b":"3:15","e":"4:1"},
1422
+ "fullkriyah":{
1423
+ "1":["41:1","41:14"],
1424
+ "2":["41:15","41:38"],
1425
+ "3":["41:39","41:52"],
1426
+ "4":["41:53","42:18"],
1427
+ "5":["42:19","43:15"],
1428
+ "6":["43:16","43:29"],
1429
+ "7":["43:30","44:17"],
1430
+ "M":["44:14","44:17"]},
1431
+ "weekday":{
1432
+ "1":["41:1","41:4"],
1433
+ "2":["41:5","41:7"],
1434
+ "3":["41:8","41:14"]
1435
+ }},
1436
+ "Vayigash":{
1437
+ "num":11,
1438
+ "hebrew":"וַיִּגַּשׁ",
1439
+ "book":1,
1440
+ "haft":{"k":"Ezekiel","b":"37:15","e":"37:28"},
1441
+ "fullkriyah":{
1442
+ "1":["44:18","44:30"],
1443
+ "2":["44:31","45:7"],
1444
+ "3":["45:8","45:18"],
1445
+ "4":["45:19","45:27"],
1446
+ "5":["45:28","46:27"],
1447
+ "6":["46:28","47:10"],
1448
+ "7":["47:11","47:27"],
1449
+ "M":["47:25","47:27"]},
1450
+ "weekday":{
1451
+ "1":["44:18","44:20"],
1452
+ "2":["44:21","44:24"],
1453
+ "3":["44:25","44:30"]
1454
+ }},
1455
+ "Vayechi":{
1456
+ "num":12,
1457
+ "hebrew":"וַיְחִי",
1458
+ "book":1,
1459
+ "haft":{"k":"I Kings","b":"2:1","e":"2:12"},
1460
+ "fullkriyah":{
1461
+ "1":["47:28","48:9"],
1462
+ "2":["48:10","48:16"],
1463
+ "3":["48:17","48:22"],
1464
+ "4":["49:1","49:18"],
1465
+ "5":["49:19","49:26"],
1466
+ "6":["49:27","50:20"],
1467
+ "7":["50:21","50:26"],
1468
+ "M":["50:23","50:26"]},
1469
+ "weekday":{
1470
+ "1":["47:28","47:31"],
1471
+ "2":["48:1","48:3"],
1472
+ "3":["48:4","48:9"]
1473
+ }},
1474
+ "Shemot":{
1475
+ "num":13,
1476
+ "hebrew":"שְׁמוֹת",
1477
+ "book":2,
1478
+ "haft":[{"k":"Isaiah","b":"27:6","e":"28:13"},{"k":"Isaiah","b":"29:22","e":"29:23"}],
1479
+ "seph":{"k":"Jeremiah","b":"1:1","e":"2:3"},
1480
+ "fullkriyah":{
1481
+ "1":["1:1","1:17"],
1482
+ "2":["1:18","2:10"],
1483
+ "3":["2:11","2:25"],
1484
+ "4":["3:1","3:15"],
1485
+ "5":["3:16","4:17"],
1486
+ "6":["4:18","4:31"],
1487
+ "7":["5:1","6:1"],
1488
+ "M":["5:22","6:1"]},
1489
+ "weekday":{
1490
+ "1":["1:1","1:7"],
1491
+ "2":["1:8","1:12"],
1492
+ "3":["1:13","1:17"]
1493
+ }},
1494
+ "Vaera":{
1495
+ "num":14,
1496
+ "hebrew":"וָאֵרָא",
1497
+ "book":2,
1498
+ "haft":{"k":"Ezekiel","b":"28:25","e":"29:21"},
1499
+ "fullkriyah":{
1500
+ "1":["6:2","6:13"],
1501
+ "2":["6:14","6:28"],
1502
+ "3":["6:29","7:7"],
1503
+ "4":["7:8","8:6"],
1504
+ "5":["8:7","8:18"],
1505
+ "6":["8:19","9:16"],
1506
+ "7":["9:17","9:35"],
1507
+ "M":["9:33","9:35"]},
1508
+ "weekday":{
1509
+ "1":["6:2","6:5"],
1510
+ "2":["6:6","6:9"],
1511
+ "3":["6:10","6:13"]
1512
+ }},
1513
+ "Bo":{
1514
+ "num":15,
1515
+ "hebrew":"בֹּא",
1516
+ "book":2,
1517
+ "haft":{"k":"Jeremiah","b":"46:13","e":"46:28"},
1518
+ "fullkriyah":{
1519
+ "1":["10:1","10:11"],
1520
+ "2":["10:12","10:23"],
1521
+ "3":["10:24","11:3"],
1522
+ "4":["11:4","12:20"],
1523
+ "5":["12:21","12:28"],
1524
+ "6":["12:29","12:51"],
1525
+ "7":["13:1","13:16"],
1526
+ "M":["13:14","13:16"]},
1527
+ "weekday":{
1528
+ "1":["10:1","10:3"],
1529
+ "2":["10:4","10:6"],
1530
+ "3":["10:7","10:11"]
1531
+ }},
1532
+ "Beshalach":{
1533
+ "num":16,
1534
+ "hebrew":"בְּשַׁלַּח",
1535
+ "book":2,
1536
+ "haft":{"k":"Judges","b":"4:4","e":"5:31"},
1537
+ "seph":{"k":"Judges","b":"5:1","e":"5:31"},
1538
+ "fullkriyah":{
1539
+ "1":["13:17","14:8"],
1540
+ "2":["14:9","14:14"],
1541
+ "3":["14:15","14:25"],
1542
+ "4":["14:26","15:26"],
1543
+ "5":["15:27","16:10"],
1544
+ "6":["16:11","16:36"],
1545
+ "7":["17:1","17:16"],
1546
+ "M":["17:14","17:16"]},
1547
+ "weekday":{
1548
+ "1":["13:17","13:22"],
1549
+ "2":["14:1","14:4"],
1550
+ "3":["14:5","14:8"]
1551
+ }},
1552
+ "Yitro":{
1553
+ "num":17,
1554
+ "hebrew":"יִתְרוֹ",
1555
+ "book":2,
1556
+ "haft":[{"k":"Isaiah","b":"6:1","e":"7:6"},{"k":"Isaiah","b":"9:5","e":"9:6"}],
1557
+ "seph":{"k":"Isaiah","b":"6:1","e":"6:13"},
1558
+ "fullkriyah":{
1559
+ "1":["18:1","18:12"],
1560
+ "2":["18:13","18:23"],
1561
+ "3":["18:24","18:27"],
1562
+ "4":["19:1","19:6"],
1563
+ "5":["19:7","19:19"],
1564
+ "6":["19:20","20:14"],
1565
+ "7":["20:15","20:23"],
1566
+ "M":["20:19","20:23"]},
1567
+ "weekday":{
1568
+ "1":["18:1","18:4"],
1569
+ "2":["18:5","18:8"],
1570
+ "3":["18:9","18:12"]
1571
+ }},
1572
+ "Mishpatim":{
1573
+ "num":18,
1574
+ "hebrew":"מִּשְׁפָּטִים",
1575
+ "book":2,
1576
+ "haft":[{"k":"Jeremiah","b":"34:8","e":"34:22"},{"k":"Jeremiah","b":"33:25","e":"33:26"}],
1577
+ "fullkriyah":{
1578
+ "1":["21:1","21:19"],
1579
+ "2":["21:20","22:3"],
1580
+ "3":["22:4","22:26"],
1581
+ "4":["22:27","23:5"],
1582
+ "5":["23:6","23:19"],
1583
+ "6":["23:20","23:25"],
1584
+ "7":["23:26","24:18"],
1585
+ "M":["24:15","24:18"]},
1586
+ "weekday":{
1587
+ "1":["21:1","21:6"],
1588
+ "2":["21:7","21:11"],
1589
+ "3":["21:12","21:19"]
1590
+ }},
1591
+ "Terumah":{
1592
+ "num":19,
1593
+ "hebrew":"תְּרוּמָה",
1594
+ "book":2,
1595
+ "haft":{"k":"I Kings","b":"5:26","e":"6:13"},
1596
+ "fullkriyah":{
1597
+ "1":["25:1","25:16"],
1598
+ "2":["25:17","25:30"],
1599
+ "3":["25:31","26:14"],
1600
+ "4":["26:15","26:30"],
1601
+ "5":["26:31","26:37"],
1602
+ "6":["27:1","27:8"],
1603
+ "7":["27:9","27:19"],
1604
+ "M":["27:17","27:19"]},
1605
+ "weekday":{
1606
+ "1":["25:1","25:5"],
1607
+ "2":["25:6","25:9"],
1608
+ "3":["25:10","25:16"]
1609
+ }},
1610
+ "Tetzaveh":{
1611
+ "num":20,
1612
+ "hebrew":"תְּצַוֶּה",
1613
+ "book":2,
1614
+ "haft":{"k":"Ezekiel","b":"43:10","e":"43:27"},
1615
+ "fullkriyah":{
1616
+ "1":["27:20","28:12"],
1617
+ "2":["28:13","28:30"],
1618
+ "3":["28:31","28:43"],
1619
+ "4":["29:1","29:18"],
1620
+ "5":["29:19","29:37"],
1621
+ "6":["29:38","29:46"],
1622
+ "7":["30:1","30:10"],
1623
+ "M":["30:8","30:10"]},
1624
+ "weekday":{
1625
+ "1":["27:20","28:5"],
1626
+ "2":["28:6","28:9"],
1627
+ "3":["28:10","28:12"]
1628
+ }},
1629
+ "Ki Tisa":{
1630
+ "num":21,
1631
+ "hebrew":"כִּי תִשָּׂא",
1632
+ "book":2,
1633
+ "haft":{"k":"I Kings","b":"18:1","e":"18:39"},
1634
+ "seph":{"k":"I Kings","b":"18:20","e":"18:39"},
1635
+ "fullkriyah":{
1636
+ "1":["30:11","31:17"],
1637
+ "2":["31:18","33:11"],
1638
+ "3":["33:12","33:16"],
1639
+ "4":["33:17","33:23"],
1640
+ "5":["34:1","34:9"],
1641
+ "6":["34:10","34:26"],
1642
+ "7":["34:27","34:35"],
1643
+ "M":["34:33","34:35"]},
1644
+ "weekday":{
1645
+ "1":["30:11","30:13"],
1646
+ "2":["30:14","30:16"],
1647
+ "3":["30:17","30:21"]
1648
+ }},
1649
+ "Vayakhel":{
1650
+ "num":22,
1651
+ "hebrew":"וַיַּקְהֵל",
1652
+ "book":2,
1653
+ "haft":{"k":"I Kings","b":"7:40","e":"7:50"},
1654
+ "seph":{"k":"I Kings","b":"7:13","e":"7:26"},
1655
+ "fullkriyah":{
1656
+ "1":["35:1","35:20"],
1657
+ "2":["35:21","35:29"],
1658
+ "3":["35:30","36:7"],
1659
+ "4":["36:8","36:19"],
1660
+ "5":["36:20","37:16"],
1661
+ "6":["37:17","37:29"],
1662
+ "7":["38:1","38:20"],
1663
+ "M":["38:18","38:20"]},
1664
+ "weekday":{
1665
+ "1":["35:1","35:3"],
1666
+ "2":["35:4","35:10"],
1667
+ "3":["35:11","35:20"]
1668
+ }},
1669
+ "Pekudei":{
1670
+ "num":23,
1671
+ "hebrew":"פְקוּדֵי",
1672
+ "book":2,
1673
+ "haft":{"k":"I Kings","b":"7:51","e":"8:21"},
1674
+ "seph":{"k":"I Kings","b":"7:40","e":"7:50"},
1675
+ "fullkriyah":{
1676
+ "1":["38:21","39:1"],
1677
+ "2":["39:2","39:21"],
1678
+ "3":["39:22","39:32"],
1679
+ "4":["39:33","39:43"],
1680
+ "5":["40:1","40:16"],
1681
+ "6":["40:17","40:27"],
1682
+ "7":["40:28","40:38"],
1683
+ "M":["40:34","40:38"]},
1684
+ "weekday":{
1685
+ "1":["38:21","38:23"],
1686
+ "2":["38:24","38:27"],
1687
+ "3":["38:28","39:1"]
1688
+ }},
1689
+ "Vayikra":{
1690
+ "num":24,
1691
+ "hebrew":"וַיִּקְרָא",
1692
+ "book":3,
1693
+ "haft":{"k":"Isaiah","b":"43:21","e":"44:23"},
1694
+ "fullkriyah":{
1695
+ "1":["1:1","1:13"],
1696
+ "2":["1:14","2:6"],
1697
+ "3":["2:7","2:16"],
1698
+ "4":["3:1","3:17"],
1699
+ "5":["4:1","4:26"],
1700
+ "6":["4:27","5:10"],
1701
+ "7":["5:11","5:26"],
1702
+ "M":["5:24","5:26"]},
1703
+ "weekday":{
1704
+ "1":["1:1","1:4"],
1705
+ "2":["1:5","1:9"],
1706
+ "3":["1:10","1:13"]
1707
+ }},
1708
+ "Tzav":{
1709
+ "num":25,
1710
+ "hebrew":"צַו",
1711
+ "book":3,
1712
+ "haft":[{"k":"Jeremiah","b":"7:21","e":"8:3"},{"k":"Jeremiah","b":"9:22","e":"9:23"}],
1713
+ "fullkriyah":{
1714
+ "1":["6:1","6:11"],
1715
+ "2":["6:12","7:10"],
1716
+ "3":["7:11","7:38"],
1717
+ "4":["8:1","8:13"],
1718
+ "5":["8:14","8:21"],
1719
+ "6":["8:22","8:29"],
1720
+ "7":["8:30","8:36"],
1721
+ "M":["8:33","8:36"]},
1722
+ "weekday":{
1723
+ "1":["6:1","6:3"],
1724
+ "2":["6:4","6:6"],
1725
+ "3":["6:7","6:11"]
1726
+ }},
1727
+ "Shmini":{
1728
+ "num":26,
1729
+ "hebrew":"שְּׁמִינִי",
1730
+ "book":3,
1731
+ "haft":{"k":"II Samuel","b":"6:1","e":"7:17"},
1732
+ "seph":{"k":"II Samuel","b":"6:1","e":"6:19"},
1733
+ "fullkriyah":{
1734
+ "1":["9:1","9:16"],
1735
+ "2":["9:17","9:23"],
1736
+ "3":["9:24","10:11"],
1737
+ "4":["10:12","10:15"],
1738
+ "5":["10:16","10:20"],
1739
+ "6":["11:1","11:32"],
1740
+ "7":["11:33","11:47"],
1741
+ "M":["11:45","11:47"]},
1742
+ "weekday":{
1743
+ "1":["9:1","9:6"],
1744
+ "2":["9:7","9:10"],
1745
+ "3":["9:11","9:16"]
1746
+ }},
1747
+ "Tazria":{
1748
+ "num":27,
1749
+ "hebrew":"תַזְרִיעַ",
1750
+ "book":3,
1751
+ "haft":{"k":"II Kings","b":"4:42","e":"5:19"},
1752
+ "fullkriyah":{
1753
+ "1":["12:1","13:5"],
1754
+ "2":["13:6","13:17"],
1755
+ "3":["13:18","13:23"],
1756
+ "4":["13:24","13:28"],
1757
+ "5":["13:29","13:39"],
1758
+ "6":["13:40","13:54"],
1759
+ "7":["13:55","13:59"],
1760
+ "M":["13:57","13:59"]},
1761
+ "weekday":{
1762
+ "1":["12:1","12:4"],
1763
+ "2":["12:5","12:8"],
1764
+ "3":["13:1","13:5"]
1765
+ }},
1766
+ "Metzora":{
1767
+ "num":28,
1768
+ "hebrew":"מְּצֹרָע",
1769
+ "book":3,
1770
+ "haft":{"k":"II Kings","b":"7:3","e":"7:20"},
1771
+ "fullkriyah":{
1772
+ "1":["14:1","14:12"],
1773
+ "2":["14:13","14:20"],
1774
+ "3":["14:21","14:32"],
1775
+ "4":["14:33","14:53"],
1776
+ "5":["14:54","15:15"],
1777
+ "6":["15:16","15:28"],
1778
+ "7":["15:29","15:33"],
1779
+ "M":["15:31","15:33"]},
1780
+ "weekday":{
1781
+ "1":["14:1","14:5"],
1782
+ "2":["14:6","14:9"],
1783
+ "3":["14:10","14:12"]
1784
+ }},
1785
+ "Achrei Mot":{
1786
+ "num":29,
1787
+ "hebrew":"אַחֲרֵי מוֹת",
1788
+ "book":3,
1789
+ "haft":{"k":"Ezekiel","b":"22:1","e":"22:19"},
1790
+ "seph":{"k":"Ezekiel","b":"22:1","e":"22:16"},
1791
+ "fullkriyah":{
1792
+ "1":["16:1","16:17"],
1793
+ "2":["16:18","16:24"],
1794
+ "3":["16:25","16:34"],
1795
+ "4":["17:1","17:7"],
1796
+ "5":["17:8","18:5"],
1797
+ "6":["18:6","18:21"],
1798
+ "7":["18:22","18:30"],
1799
+ "M":["18:28","18:30"]},
1800
+ "weekday":{
1801
+ "1":["16:1","16:6"],
1802
+ "2":["16:7","16:11"],
1803
+ "3":["16:12","16:17"]
1804
+ }},
1805
+ "Kedoshim":{
1806
+ "num":30,
1807
+ "hebrew":"קְדשִׁים",
1808
+ "book":3,
1809
+ "haft":{"k":"Amos","b":"9:7","e":"9:15"},
1810
+ "seph":{"k":"Ezekiel","b":"20:2","e":"20:20"},
1811
+ "fullkriyah":{
1812
+ "1":["19:1","19:14"],
1813
+ "2":["19:15","19:22"],
1814
+ "3":["19:23","19:32"],
1815
+ "4":["19:33","19:37"],
1816
+ "5":["20:1","20:7"],
1817
+ "6":["20:8","20:22"],
1818
+ "7":["20:23","20:27"],
1819
+ "M":["20:25","20:27"]},
1820
+ "weekday":{
1821
+ "1":["19:1","19:4"],
1822
+ "2":["19:5","19:10"],
1823
+ "3":["19:11","19:14"]
1824
+ }},
1825
+ "Emor":{
1826
+ "num":31,
1827
+ "hebrew":"אֱמוֹר",
1828
+ "book":3,
1829
+ "haft":{"k":"Ezekiel","b":"44:15","e":"44:31"},
1830
+ "fullkriyah":{
1831
+ "1":["21:1","21:15"],
1832
+ "2":["21:16","22:16"],
1833
+ "3":["22:17","22:33"],
1834
+ "4":["23:1","23:22"],
1835
+ "5":["23:23","23:32"],
1836
+ "6":["23:33","23:44"],
1837
+ "7":["24:1","24:23"],
1838
+ "M":["24:21","24:23"]},
1839
+ "weekday":{
1840
+ "1":["21:1","21:6"],
1841
+ "2":["21:7","21:12"],
1842
+ "3":["21:13","21:15"]
1843
+ }},
1844
+ "Behar":{
1845
+ "num":32,
1846
+ "hebrew":"בְּהַר",
1847
+ "book":3,
1848
+ "haft":{"k":"Jeremiah","b":"32:6","e":"32:27"},
1849
+ "fullkriyah":{
1850
+ "1":["25:1","25:13"],
1851
+ "2":["25:14","25:18"],
1852
+ "3":["25:19","25:24"],
1853
+ "4":["25:25","25:28"],
1854
+ "5":["25:29","25:38"],
1855
+ "6":["25:39","25:46"],
1856
+ "7":["25:47","26:2"],
1857
+ "M":["25:55","26:2"]},
1858
+ "weekday":{
1859
+ "1":["25:1","25:3"],
1860
+ "2":["25:4","25:7"],
1861
+ "3":["25:8","25:13"]
1862
+ }},
1863
+ "Bechukotai":{
1864
+ "num":33,
1865
+ "hebrew":"בְּחֻקֹּתַי",
1866
+ "book":3,
1867
+ "haft":{"k":"Jeremiah","b":"16:19","e":"17:14"},
1868
+ "fullkriyah":{
1869
+ "1":["26:3","26:5"],
1870
+ "2":["26:6","26:9"],
1871
+ "3":["26:10","26:46"],
1872
+ "4":["27:1","27:15"],
1873
+ "5":["27:16","27:21"],
1874
+ "6":["27:22","27:28"],
1875
+ "7":["27:29","27:34"],
1876
+ "M":["27:32","27:34"]},
1877
+ "weekday":{
1878
+ "1":["26:3","26:5"],
1879
+ "2":["26:6","26:9"],
1880
+ "3":["26:10","26:13"]
1881
+ }},
1882
+ "Bamidbar":{
1883
+ "num":34,
1884
+ "hebrew":"בְּמִדְבַּר",
1885
+ "book":4,
1886
+ "haft":{"k":"Hosea","b":"2:1","e":"2:22"},
1887
+ "fullkriyah":{
1888
+ "1":["1:1","1:19"],
1889
+ "2":["1:20","1:54"],
1890
+ "3":["2:1","2:34"],
1891
+ "4":["3:1","3:13"],
1892
+ "5":["3:14","3:39"],
1893
+ "6":["3:40","3:51"],
1894
+ "7":["4:1","4:20"],
1895
+ "M":["4:17","4:20"]},
1896
+ "weekday":{
1897
+ "1":["1:1","1:4"],
1898
+ "2":["1:5","1:16"],
1899
+ "3":["1:17","1:19"]
1900
+ }},
1901
+ "Nasso":{
1902
+ "num":35,
1903
+ "hebrew":"נָשׂא",
1904
+ "book":4,
1905
+ "haft":{"k":"Judges","b":"13:2","e":"13:25"},
1906
+ "fullkriyah":{
1907
+ "1":["4:21","4:37"],
1908
+ "2":["4:38","4:49"],
1909
+ "3":["5:1","5:10"],
1910
+ "4":["5:11","6:27"],
1911
+ "5":["7:1","7:41"],
1912
+ "6":["7:42","7:71"],
1913
+ "7":["7:72","7:89"],
1914
+ "M":["7:87","7:89"]},
1915
+ "weekday":{
1916
+ "1":["4:21","4:24"],
1917
+ "2":["4:25","4:28"],
1918
+ "3":["4:29","4:33"]
1919
+ }},
1920
+ "Beha'alotcha":{
1921
+ "num":36,
1922
+ "hebrew":"בְּהַעֲלֹתְךָ",
1923
+ "book":4,
1924
+ "haft":{"k":"Zechariah","b":"2:14","e":"4:7"},
1925
+ "fullkriyah":{
1926
+ "1":["8:1","8:14"],
1927
+ "2":["8:15","8:26"],
1928
+ "3":["9:1","9:14"],
1929
+ "4":["9:15","10:10"],
1930
+ "5":["10:11","10:34"],
1931
+ "6":["10:35","11:29"],
1932
+ "7":["11:30","12:16"],
1933
+ "M":["12:14","12:16"]},
1934
+ "weekday":{
1935
+ "1":["8:1","8:4"],
1936
+ "2":["8:5","8:9"],
1937
+ "3":["8:10","8:14"]
1938
+ }},
1939
+ "Sh'lach":{
1940
+ "num":37,
1941
+ "hebrew":"שְׁלַח־לְךָ",
1942
+ "book":4,
1943
+ "haft":{"k":"Joshua","b":"2:1","e":"2:24"},
1944
+ "fullkriyah":{
1945
+ "1":["13:1","13:20"],
1946
+ "2":["13:21","14:7"],
1947
+ "3":["14:8","14:25"],
1948
+ "4":["14:26","15:7"],
1949
+ "5":["15:8","15:16"],
1950
+ "6":["15:17","15:26"],
1951
+ "7":["15:27","15:41"],
1952
+ "M":["15:37","15:41"]},
1953
+ "weekday":{
1954
+ "1":["13:1","13:3"],
1955
+ "2":["13:4","13:16"],
1956
+ "3":["13:17","13:20"]
1957
+ }},
1958
+ "Korach":{
1959
+ "num":38,
1960
+ "hebrew":"קוֹרַח",
1961
+ "book":4,
1962
+ "haft":{"k":"I Samuel","b":"11:14","e":"12:22"},
1963
+ "fullkriyah":{
1964
+ "1":["16:1","16:13"],
1965
+ "2":["16:14","16:19"],
1966
+ "3":["16:20","17:8"],
1967
+ "4":["17:9","17:15"],
1968
+ "5":["17:16","17:24"],
1969
+ "6":["17:25","18:20"],
1970
+ "7":["18:21","18:32"],
1971
+ "M":["18:30","18:32"]},
1972
+ "weekday":{
1973
+ "1":["16:1","16:3"],
1974
+ "2":["16:4","16:7"],
1975
+ "3":["16:8","16:13"]
1976
+ }},
1977
+ "Chukat":{
1978
+ "num":39,
1979
+ "hebrew":"חֻקַּת",
1980
+ "book":4,
1981
+ "haft":{"k":"Judges","b":"11:1","e":"11:33"},
1982
+ "fullkriyah":{
1983
+ "1":["19:1","19:17"],
1984
+ "2":["19:18","20:6"],
1985
+ "3":["20:7","20:13"],
1986
+ "4":["20:14","20:21"],
1987
+ "5":["20:22","21:9"],
1988
+ "6":["21:10","21:20"],
1989
+ "7":["21:21","22:1"],
1990
+ "M":["21:34","22:1"]},
1991
+ "weekday":{
1992
+ "1":["19:1","19:6"],
1993
+ "2":["19:7","19:9"],
1994
+ "3":["19:10","19:17"]
1995
+ }},
1996
+ "Balak":{
1997
+ "num":40,
1998
+ "hebrew":"בָּלָק",
1999
+ "book":4,
2000
+ "haft":{"k":"Micah","b":"5:6","e":"6:8"},
2001
+ "fullkriyah":{
2002
+ "1":["22:2","22:12"],
2003
+ "2":["22:13","22:20"],
2004
+ "3":["22:21","22:38"],
2005
+ "4":["22:39","23:12"],
2006
+ "5":["23:13","23:26"],
2007
+ "6":["23:27","24:13"],
2008
+ "7":["24:14","25:9"],
2009
+ "M":["25:7","25:9"]},
2010
+ "weekday":{
2011
+ "1":["22:2","22:4"],
2012
+ "2":["22:5","22:7"],
2013
+ "3":["22:8","22:12"]
2014
+ }},
2015
+ "Pinchas":{
2016
+ "num":41,
2017
+ "hebrew":"פִּינְחָס",
2018
+ "book":4,
2019
+ "haft":{"k":"I Kings","b":"18:46","e":"19:21"},
2020
+ "fullkriyah":{
2021
+ "1":["25:10","26:4"],
2022
+ "2":["26:5","26:51"],
2023
+ "3":["26:52","27:5"],
2024
+ "4":["27:6","27:23"],
2025
+ "5":["28:1","28:15"],
2026
+ "6":["28:16","29:11"],
2027
+ "7":["29:12","30:1"],
2028
+ "M":["29:35","30:1"]},
2029
+ "weekday":{
2030
+ "1":["25:10","25:12"],
2031
+ "2":["25:13","25:15"],
2032
+ "3":["25:16","26:4"]
2033
+ }},
2034
+ "Matot":{
2035
+ "num":42,
2036
+ "hebrew":"מַּטּוֹת",
2037
+ "book":4,
2038
+ "haft":{"k":"Jeremiah","b":"1:1","e":"2:3"},
2039
+ "fullkriyah":{
2040
+ "1":["30:2","30:17"],
2041
+ "2":["31:1","31:12"],
2042
+ "3":["31:13","31:24"],
2043
+ "4":["31:25","31:41"],
2044
+ "5":["31:42","31:54"],
2045
+ "6":["32:1","32:19"],
2046
+ "7":["32:20","32:42"],
2047
+ "M":["32:39","32:42"]},
2048
+ "weekday":{
2049
+ "1":["30:2","30:9"],
2050
+ "2":["30:10","30:13"],
2051
+ "3":["30:14","30:17"]
2052
+ }},
2053
+ "Masei":{
2054
+ "num":43,
2055
+ "hebrew":"מַסְעֵי",
2056
+ "book":4,
2057
+ "haft":[{"k":"Jeremiah","b":"2:4","e":"2:28"},{"k":"Jeremiah","b":"3:4","e":"3:4"}],
2058
+ "seph":[{"k":"Jeremiah","b":"2:4","e":"2:28"},{"k":"Jeremiah","b":"4:1","e":"4:2"}],
2059
+ "fullkriyah":{
2060
+ "1":["33:1","33:10"],
2061
+ "2":["33:11","33:49"],
2062
+ "3":["33:50","34:15"],
2063
+ "4":["34:16","34:29"],
2064
+ "5":["35:1","35:8"],
2065
+ "6":["35:9","35:34"],
2066
+ "7":["36:1","36:13"],
2067
+ "M":["36:11","36:13"]},
2068
+ "weekday":{
2069
+ "1":["33:1","33:3"],
2070
+ "2":["33:4","33:6"],
2071
+ "3":["33:7","33:10"]
2072
+ }},
2073
+ "Devarim":{
2074
+ "num":44,
2075
+ "hebrew":"דְּבָרִים",
2076
+ "book":5,
2077
+ "haft":{"k":"Isaiah","b":"1:1","e":"1:27"},
2078
+ "fullkriyah":{
2079
+ "1":["1:1","1:10"],
2080
+ "2":["1:11","1:21"],
2081
+ "3":["1:22","1:38"],
2082
+ "4":["1:39","2:1"],
2083
+ "5":["2:2","2:30"],
2084
+ "6":["2:31","3:14"],
2085
+ "7":["3:15","3:22"],
2086
+ "M":["3:20","3:22"]},
2087
+ "weekday":{
2088
+ "1":["1:1","1:3"],
2089
+ "2":["1:4","1:7"],
2090
+ "3":["1:8","1:11"]
2091
+ }},
2092
+ "Vaetchanan":{
2093
+ "num":45,
2094
+ "hebrew":"וָאֶתְחַנַּן",
2095
+ "book":5,
2096
+ "haft":{"k":"Isaiah","b":"40:1","e":"40:26"},
2097
+ "fullkriyah":{
2098
+ "1":["3:23","4:4"],
2099
+ "2":["4:5","4:40"],
2100
+ "3":["4:41","4:49"],
2101
+ "4":["5:1","5:18"],
2102
+ "5":["5:19","6:3"],
2103
+ "6":["6:4","6:25"],
2104
+ "7":["7:1","7:11"],
2105
+ "M":["7:9","7:11"]},
2106
+ "weekday":{
2107
+ "1":["3:23","3:25"],
2108
+ "2":["3:26","4:4"],
2109
+ "3":["4:5","4:8"]
2110
+ }},
2111
+ "Eikev":{
2112
+ "num":46,
2113
+ "hebrew":"עֵקֶב",
2114
+ "book":5,
2115
+ "haft":{"k":"Isaiah","b":"49:14","e":"51:3"},
2116
+ "fullkriyah":{
2117
+ "1":["7:12","8:10"],
2118
+ "2":["8:11","9:3"],
2119
+ "3":["9:4","9:29"],
2120
+ "4":["10:1","10:11"],
2121
+ "5":["10:12","11:9"],
2122
+ "6":["11:10","11:21"],
2123
+ "7":["11:22","11:25"],
2124
+ "M":["11:22","11:25"]},
2125
+ "weekday":{
2126
+ "1":["7:12","7:21"],
2127
+ "2":["7:22","8:3"],
2128
+ "3":["8:4","8:10"]
2129
+ }},
2130
+ "Re'eh":{
2131
+ "num":47,
2132
+ "hebrew":"רְאֵה",
2133
+ "book":5,
2134
+ "haft":{"k":"Isaiah","b":"54:11","e":"55:5"},
2135
+ "fullkriyah":{
2136
+ "1":["11:26","12:10"],
2137
+ "2":["12:11","12:28"],
2138
+ "3":["12:29","13:19"],
2139
+ "4":["14:1","14:21"],
2140
+ "5":["14:22","14:29"],
2141
+ "6":["15:1","15:18"],
2142
+ "7":["15:19","16:17"],
2143
+ "M":["16:13","16:17"]},
2144
+ "weekday":{
2145
+ "1":["11:26","11:31"],
2146
+ "2":["11:32","12:5"],
2147
+ "3":["12:6","12:10"]
2148
+ }},
2149
+ "Shoftim":{
2150
+ "num":48,
2151
+ "hebrew":"שׁוֹפְטִים",
2152
+ "book":5,
2153
+ "haft":{"k":"Isaiah","b":"51:12","e":"52:12"},
2154
+ "fullkriyah":{
2155
+ "1":["16:18","17:13"],
2156
+ "2":["17:14","17:20"],
2157
+ "3":["18:1","18:5"],
2158
+ "4":["18:6","18:13"],
2159
+ "5":["18:14","19:13"],
2160
+ "6":["19:14","20:9"],
2161
+ "7":["20:10","21:9"],
2162
+ "M":["21:7","21:9"]},
2163
+ "weekday":{
2164
+ "1":["16:18","16:20"],
2165
+ "2":["16:21","17:10"],
2166
+ "3":["17:11","17:13"]
2167
+ }},
2168
+ "Ki Teitzei":{
2169
+ "num":49,
2170
+ "hebrew":"כִּי־תֵצֵא",
2171
+ "book":5,
2172
+ "haft":{"k":"Isaiah","b":"54:1","e":"54:10"},
2173
+ "fullkriyah":{
2174
+ "1":["21:10","21:21"],
2175
+ "2":["21:22","22:7"],
2176
+ "3":["22:8","23:7"],
2177
+ "4":["23:8","23:24"],
2178
+ "5":["23:25","24:4"],
2179
+ "6":["24:5","24:13"],
2180
+ "7":["24:14","25:19"],
2181
+ "M":["25:17","25:19"]},
2182
+ "weekday":{
2183
+ "1":["21:10","21:14"],
2184
+ "2":["21:15","21:17"],
2185
+ "3":["21:18","21:21"]
2186
+ }},
2187
+ "Ki Tavo":{
2188
+ "num":50,
2189
+ "hebrew":"כִּי־תָבוֹא",
2190
+ "book":5,
2191
+ "haft":{"k":"Isaiah","b":"60:1","e":"60:22"},
2192
+ "fullkriyah":{
2193
+ "1":["26:1","26:11"],
2194
+ "2":["26:12","26:15"],
2195
+ "3":["26:16","26:19"],
2196
+ "4":["27:1","27:10"],
2197
+ "5":["27:11","28:6"],
2198
+ "6":["28:7","28:69"],
2199
+ "7":["29:1","29:8"],
2200
+ "M":["29:6","29:8"]},
2201
+ "weekday":{
2202
+ "1":["26:1","26:3"],
2203
+ "2":["26:4","26:11"],
2204
+ "3":["26:12","26:15"]
2205
+ }},
2206
+ "Nitzavim":{
2207
+ "num":51,
2208
+ "hebrew":"נִצָּבִים",
2209
+ "book":5,
2210
+ "haft":{"k":"Isaiah","b":"61:10","e":"63:9"},
2211
+ "fullkriyah":{
2212
+ "1":["29:9","29:11"],
2213
+ "2":["29:12","29:14"],
2214
+ "3":["29:15","29:28"],
2215
+ "4":["30:1","30:6"],
2216
+ "5":["30:7","30:10"],
2217
+ "6":["30:11","30:14"],
2218
+ "7":["30:15","30:20"],
2219
+ "M":["30:15","30:20"]},
2220
+ "weekday":{
2221
+ "1":["29:9","29:11"],
2222
+ "2":["29:12","29:14"],
2223
+ "3":["29:15","29:28"]
2224
+ }},
2225
+ "Vayeilech":{
2226
+ "num":52,
2227
+ "hebrew":"וַיֵּלֶךְ",
2228
+ "book":5,
2229
+ "haft":{"k":"Isaiah","b":"55:6","e":"56:8"},
2230
+ "fullkriyah":{
2231
+ "1":["31:1","31:3"],
2232
+ "2":["31:4","31:6"],
2233
+ "3":["31:7","31:9"],
2234
+ "4":["31:10","31:13"],
2235
+ "5":["31:14","31:19"],
2236
+ "6":["31:20","31:24"],
2237
+ "7":["31:25","31:30"],
2238
+ "M":["31:28","31:30"]},
2239
+ "weekday":{
2240
+ "1":["31:1","31:3"],
2241
+ "2":["31:4","31:6"],
2242
+ "3":["31:7","31:13"]
2243
+ }},
2244
+ "Ha'azinu":{
2245
+ "num":53,
2246
+ "hebrew":"הַאֲזִינוּ",
2247
+ "book":5,
2248
+ "haft":{"k":"II Samuel","b":"22:1","e":"22:51"},
2249
+ "fullkriyah":{
2250
+ "1":["32:1","32:6"],
2251
+ "2":["32:7","32:12"],
2252
+ "3":["32:13","32:18"],
2253
+ "4":["32:19","32:28"],
2254
+ "5":["32:29","32:39"],
2255
+ "6":["32:40","32:43"],
2256
+ "7":["32:44","32:52"],
2257
+ "M":["32:48","32:52"]},
2258
+ "weekday":{
2259
+ "1":["32:1","32:3"],
2260
+ "2":["32:4","32:6"],
2261
+ "3":["32:7","32:12"]
2262
+ }},
2263
+ "Vezot Haberakhah":{
2264
+ "num":54,
2265
+ "hebrew":"וְזֹאת הַבְּרָכָה",
2266
+ "book":5,
2267
+ "haft":{"k":"Joshua","b":"1:1","e":"1:18"},
2268
+ "seph":{"k":"Joshua","b":"1:1","e":"1:9"},
2269
+ "fullkriyah":{
2270
+ "1":["33:1","33:7"],
2271
+ "2":["33:8","33:12"],
2272
+ "3":["33:13","33:17"],
2273
+ "4":["33:18","33:21"],
2274
+ "5":["33:22","33:26"],
2275
+ "6":["33:27","33:29"],
2276
+ "7":["34:1","34:12"]},
2277
+ "weekday":{
2278
+ "1":["33:1","33:7"],
2279
+ "2":["33:8","33:12"],
2280
+ "3":["33:13","33:17"]
2281
+ }},
2282
+ "Vayakhel-Pekudei":{
2283
+ "num":101,"combined":true,
2284
+ "p1":"Vayakhel",
2285
+ "p2":"Pekudei",
2286
+ "num1":22,
2287
+ "num2":23,
2288
+ "book":2,
2289
+ "fullkriyah":{
2290
+ "1":["35:1","35:29"],
2291
+ "2":["35:30","37:16"],
2292
+ "3":["37:17","37:29"],
2293
+ "4":["38:1","39:1"],
2294
+ "5":["39:2","39:21"],
2295
+ "6":["39:22","39:43"],
2296
+ "7":["40:1","40:38"],
2297
+ "M":["40:34","40:38"]}
2298
+ },
2299
+ "Tazria-Metzora":{
2300
+ "num":102,"combined":true,
2301
+ "p1":"Tazria",
2302
+ "p2":"Metzora",
2303
+ "num1":27,
2304
+ "num2":28,
2305
+ "book":3,
2306
+ "fullkriyah":{
2307
+ "1":["12:1","13:23"],
2308
+ "2":["13:24","13:39"],
2309
+ "3":["13:40","13:54"],
2310
+ "4":["13:55","14:20"],
2311
+ "5":["14:21","14:32"],
2312
+ "6":["14:33","15:15"],
2313
+ "7":["15:16","15:33"],
2314
+ "M":["15:31","15:33"]}
2315
+ },
2316
+ "Achrei Mot-Kedoshim":{
2317
+ "num":103,"combined":true,
2318
+ "p1":"Achrei Mot",
2319
+ "p2":"Kedoshim",
2320
+ "num1":29,
2321
+ "num2":30,
2322
+ "book":3,
2323
+ "fullkriyah":{
2324
+ "1":["16:1","16:24"],
2325
+ "2":["16:25","17:7"],
2326
+ "3":["17:8","18:21"],
2327
+ "4":["18:22","19:14"],
2328
+ "5":["19:15","19:32"],
2329
+ "6":["19:33","20:7"],
2330
+ "7":["20:8","20:27"],
2331
+ "M":["20:25","20:27"]}},
2332
+ "Behar-Bechukotai":{
2333
+ "num":104,"combined":true,
2334
+ "p1":"Behar",
2335
+ "p2":"Bechukotai",
2336
+ "num1":32,
2337
+ "num2":33,
2338
+ "book":3,
2339
+ "fullkriyah":{
2340
+ "1":["25:1","25:18"],
2341
+ "2":["25:19","25:28"],
2342
+ "3":["25:29","25:38"],
2343
+ "4":["25:39","26:9"],
2344
+ "5":["26:10","26:46"],
2345
+ "6":["27:1","27:15"],
2346
+ "7":["27:16","27:34"],
2347
+ "M":["27:32","27:34"]}
2348
+ },
2349
+ "Chukat-Balak":{
2350
+ "num":105,"combined":true,
2351
+ "p1":"Chukat",
2352
+ "p2":"Balak",
2353
+ "num1":39,
2354
+ "num2":40,
2355
+ "book":4,
2356
+ "fullkriyah":{
2357
+ "1":["19:1","20:6"],
2358
+ "2":["20:7","20:21"],
2359
+ "3":["20:22","21:20"],
2360
+ "4":["21:21","22:12"],
2361
+ "5":["22:13","22:38"],
2362
+ "6":["22:39","23:26"],
2363
+ "7":["23:27","25:9"],
2364
+ "M":["25:7","25:9"]}
2365
+ },
2366
+ "Matot-Masei":{
2367
+ "num":106,"combined":true,
2368
+ "p1":"Matot",
2369
+ "p2":"Masei",
2370
+ "num1":42,
2371
+ "num2":43,
2372
+ "book":4,
2373
+ "fullkriyah":{
2374
+ "1":["30:2","31:12"],
2375
+ "2":["31:13","31:54"],
2376
+ "3":["32:1","32:19"],
2377
+ "4":["32:20","33:49"],
2378
+ "5":["33:50","34:15"],
2379
+ "6":["34:16","35:8"],
2380
+ "7":["35:9","36:13"],
2381
+ "M":["36:11","36:13"]}
2382
+ },
2383
+ "Nitzavim-Vayeilech":{
2384
+ "num":107,"combined":true,
2385
+ "p1":"Nitzavim",
2386
+ "p2":"Vayeilech",
2387
+ "num1":51,
2388
+ "num2":52,
2389
+ "book":5,
2390
+ "fullkriyah":{
2391
+ "1":["29:9","29:28"],
2392
+ "2":["30:1","30:6"],
2393
+ "3":["30:7","30:14"],
2394
+ "4":["30:15","31:6"],
2395
+ "5":["31:7","31:13"],
2396
+ "6":["31:14","31:19"],
2397
+ "7":["31:20","31:30"],
2398
+ "M":["31:28","31:30"]}
2399
+ }
2400
+ };
636
2401
 
637
2402
  /**
638
2403
  * Represents an aliyah
@@ -658,7 +2423,7 @@ const Bereshit={num:1,hebrew:"בְּרֵאשִׁית",book:1,haft:{k:"Isaiah",b:
658
2423
  * @property {LeyningNames} name
659
2424
  * @property {string[]} [parsha] - An array of either 1 (regular) or 2 (doubled parsha).
660
2425
  * `undefined` for holiday readings
661
- * @property {number} [parshaNum] - 1 for Bereshit, 2 for Noach, etc. `undefined` for holiday readings
2426
+ * @property {number|number[]} [parshaNum] - 1 for Bereshit, 2 for Noach, etc. `undefined` for holiday readings
662
2427
  * @property {string} summary - Such as `Genesis 1:1 - 6:8`
663
2428
  * @property {Aliyah|Aliyah[]} haft - Haftarah object(s)
664
2429
  * @property {string} haftara - Haftarah, such as `Isaiah 42:5 – 43:11`
@@ -692,6 +2457,19 @@ function getHaftaraKey(parsha) {
692
2457
  }
693
2458
  }
694
2459
 
2460
+ /**
2461
+ * Transliterated English and Hebrew names of this parsha
2462
+ * @param {string|string[]} parsha untranslated name like 'Pinchas' or ['Pinchas'] or ['Matot','Masei']
2463
+ * @return {LeyningNames}
2464
+ */
2465
+ function makeLeyningNames(parsha) {
2466
+ const name = parshaToString(parsha);
2467
+ return {
2468
+ en: name,
2469
+ he: parsha.map((s) => core.Locale.lookupTranslation(s, 'he')).join('־'),
2470
+ };
2471
+ }
2472
+
695
2473
  /**
696
2474
  * Looks up regular leyning for a weekly parsha with no special readings
697
2475
  * @private
@@ -702,30 +2480,22 @@ function getLeyningForParshaShabbatOnly(parsha) {
702
2480
  const raw = lookupParsha(parsha);
703
2481
  const fullkriyah = {};
704
2482
  const book = BOOK[raw.book];
705
- Object.keys(raw.fullkriyah).forEach(num => {
706
- const src = raw.fullkriyah[num];
707
- const reading = {
708
- k: book,
709
- b: src[0],
710
- e: src[1]
711
- };
712
- fullkriyah[num] = reading;
713
- });
714
- Object.values(fullkriyah).map(aliyah => calculateNumVerses(aliyah));
2483
+ for (const [num, src] of Object.entries(raw.fullkriyah)) {
2484
+ const aliyah = {k: book, b: src[0], e: src[1]};
2485
+ calculateNumVerses(aliyah);
2486
+ fullkriyah[num] = aliyah;
2487
+ }
715
2488
  const name = parshaToString(parsha);
716
2489
  const parshaNameArray = raw.combined ? [raw.p1, raw.p2] : [name];
717
2490
  const parts = makeLeyningParts(fullkriyah);
718
2491
  const summary = makeSummaryFromParts(parts);
719
2492
  /** @type {Leyning} */
720
2493
  const result = {
721
- name: {
722
- en: name,
723
- he: parshaNameArray.map(s => core.Locale.lookupTranslation(s, 'he')).join('־')
724
- },
2494
+ name: makeLeyningNames(parshaNameArray),
725
2495
  parsha: parshaNameArray,
726
2496
  parshaNum: raw.num,
727
2497
  summary,
728
- fullkriyah: fullkriyah
2498
+ fullkriyah: fullkriyah,
729
2499
  };
730
2500
  if (parts.length > 1) {
731
2501
  result.summaryParts = parts;
@@ -762,11 +2532,7 @@ function getWeekdayReading(parsha) {
762
2532
  for (let i = 1; i <= 3; i++) {
763
2533
  const num = '' + i;
764
2534
  const src = aliyot[num];
765
- const aliyah = {
766
- k: book,
767
- b: src[0],
768
- e: src[1]
769
- };
2535
+ const aliyah = {k: book, b: src[0], e: src[1]};
770
2536
  calculateNumVerses(aliyah);
771
2537
  weekday[num] = aliyah;
772
2538
  }
@@ -791,8 +2557,7 @@ function getLeyningForParsha(parsha) {
791
2557
  * @param {boolean} [il] in Israel
792
2558
  * @return {Leyning} map of aliyot
793
2559
  */
794
- function getLeyningForParshaHaShavua(ev) {
795
- let il = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
2560
+ function getLeyningForParshaHaShavua(ev, il=false) {
796
2561
  if (typeof ev !== 'object' || typeof ev.getFlags !== 'function') {
797
2562
  throw new TypeError(`Bad event argument: ${ev}`);
798
2563
  } else if (ev.getFlags() != core.flags.PARSHA_HASHAVUA) {
@@ -824,18 +2589,20 @@ function getLeyningForParshaHaShavua(ev) {
824
2589
  const reasons = Object.keys(reason);
825
2590
  if (reasons.length !== 0) {
826
2591
  result.reason = reason;
827
- reasons.forEach(num => {
2592
+ for (const num of reasons) {
828
2593
  if (num === 'haftara' || num === 'sephardic') {
829
2594
  const haftObj = result[num === 'haftara' ? 'haft' : 'seph'];
830
2595
  const hafts = Array.isArray(haftObj) ? haftObj : [haftObj];
831
- hafts.forEach(haft => haft.reason = reason[num]);
2596
+ for (const haft of hafts) {
2597
+ haft.reason = reason[num];
2598
+ }
832
2599
  } else {
833
2600
  const aliyah = result.fullkriyah[num];
834
2601
  if (typeof aliyah === 'object') {
835
2602
  aliyah.reason = reason[num];
836
2603
  }
837
2604
  }
838
- });
2605
+ }
839
2606
  }
840
2607
  return result;
841
2608
  }
@@ -888,7 +2655,7 @@ function findParshaHaShavua(saturday, il) {
888
2655
  return {
889
2656
  parsha: ['Vezot Haberakhah'],
890
2657
  chag: false,
891
- num: 54
2658
+ num: 54,
892
2659
  };
893
2660
  }
894
2661
  }
@@ -906,6 +2673,8 @@ function findParshaHaShavua(saturday, il) {
906
2673
  return null;
907
2674
  }
908
2675
 
2676
+ const __cache = new Map();
2677
+
909
2678
  /**
910
2679
  * Looks up leyning for a regular Shabbat, Monday/Thursday weekday or holiday.
911
2680
  *
@@ -924,52 +2693,56 @@ function findParshaHaShavua(saturday, il) {
924
2693
  * @param {boolean} [wantarray] to return an array of 0 or more readings
925
2694
  * @return {Leyning|Leyning[]} map of aliyot
926
2695
  */
927
- function getLeyningOnDate(hdate, il) {
928
- let wantarray = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
2696
+ function getLeyningOnDate(hdate, il, wantarray = false) {
2697
+ const hdStr = hdate.toString();
2698
+ const cacheKey = `${hdStr}/${il ? 1 : 0}`;
2699
+ const cached = __cache.get(cacheKey);
2700
+ if (cached) {
2701
+ return wantarray ? cached : cached[0];
2702
+ }
929
2703
  const dow = hdate.getDay();
930
- const hyear = hdate.getFullYear();
931
- const sedra = core.HebrewCalendar.getSedra(hyear, il);
932
- const parsha = sedra.lookup(hdate);
933
- if (dow === 6 && !parsha.chag) {
934
- const parshaEvent = new core.ParshaEvent(hdate, parsha.parsha, il);
935
- const reading = getLeyningForParshaHaShavua(parshaEvent, il);
936
- return wantarray ? [reading] : reading;
2704
+ if (dow === 6) {
2705
+ const hyear = hdate.getFullYear();
2706
+ const sedra = core.HebrewCalendar.getSedra(hyear, il);
2707
+ const parsha = sedra.lookup(hdate);
2708
+ if (!parsha.chag) {
2709
+ const parshaEvent = new core.ParshaEvent(hdate, parsha.parsha, il);
2710
+ const reading = getLeyningForParshaHaShavua(parshaEvent, il);
2711
+ __cache.set(cacheKey, [reading]);
2712
+ return wantarray ? [reading] : reading;
2713
+ }
937
2714
  }
938
2715
  const events = core.HebrewCalendar.getHolidaysOnDate(hdate, il) || [];
939
2716
  const arr = [];
940
- for (let i = 0; i < events.length; i++) {
941
- const ev = events[i];
2717
+ let hasFullKriyah = false;
2718
+ for (const ev of events) {
942
2719
  const reading = getLeyningForHoliday(ev, il);
943
2720
  if (reading) {
944
- if (wantarray) {
945
- arr.push(reading);
946
- const mincha = getMincha(ev, il);
947
- if (mincha) {
948
- arr.push(mincha);
949
- }
950
- } else {
951
- return reading;
2721
+ arr.push(reading);
2722
+ if (reading.fullkriyah) {
2723
+ hasFullKriyah = true;
2724
+ }
2725
+ const mincha = getMincha(ev, il);
2726
+ if (mincha) {
2727
+ arr.push(mincha);
952
2728
  }
953
2729
  }
954
2730
  }
955
- if (wantarray && arr.length !== 0) {
956
- return arr;
957
- }
958
- if (dow === 1 || dow === 4) {
2731
+ if (!hasFullKriyah && (dow === 1 || dow === 4)) {
959
2732
  const saturday = hdate.onOrAfter(6);
960
- const parsha2 = findParshaHaShavua(saturday);
961
- const reading = getLeyningForParsha(parsha2.parsha);
962
- const result = {
963
- name: reading.name,
964
- parsha: reading.parsha,
965
- parshaNum: reading.parshaNum,
966
- weekday: reading.weekday
2733
+ const parsha = findParshaHaShavua(saturday);
2734
+ const reading = {
2735
+ name: makeLeyningNames(parsha.parsha),
2736
+ parsha: parsha.parsha,
2737
+ parshaNum: parsha.num,
2738
+ weekday: getWeekdayReading(parsha.parsha),
967
2739
  };
968
- return wantarray ? [result] : result;
2740
+ arr.unshift(reading);
969
2741
  }
970
- // no reading today: it's not Shabbat, Mon/Thu, or a Torah-reading holiday
971
- return wantarray ? [] : undefined;
2742
+ __cache.set(cacheKey, arr);
2743
+ return wantarray ? arr : arr[0];
972
2744
  }
2745
+
973
2746
  const minchaSuffix = ' (Mincha)';
974
2747
 
975
2748
  /**
@@ -995,9 +2768,7 @@ function getMincha(ev, il) {
995
2768
  }
996
2769
 
997
2770
  const fmt = new Intl.DateTimeFormat('en-US', {
998
- year: 'numeric',
999
- month: 'short',
1000
- day: '2-digit'
2771
+ year: 'numeric', month: 'short', day: '2-digit',
1001
2772
  });
1002
2773
 
1003
2774
  /**
@@ -1016,7 +2787,7 @@ function fmtDate(dt) {
1016
2787
  * @return {Object<string,boolean>}
1017
2788
  */
1018
2789
  function getParshaDates(events) {
1019
- const parshaEvents = events.filter(ev => ev.getFlags() === core.flags.PARSHA_HASHAVUA);
2790
+ const parshaEvents = events.filter((ev) => ev.getFlags() === core.flags.PARSHA_HASHAVUA);
1020
2791
  const parshaDates = parshaEvents.reduce((set, ev) => {
1021
2792
  set[ev.getDate().toString()] = true;
1022
2793
  return set;
@@ -1035,16 +2806,16 @@ function writeFullKriyahCsv(stream, hyear, il) {
1035
2806
  year: hyear,
1036
2807
  isHebrewYear: true,
1037
2808
  sedrot: true,
1038
- il: il
2809
+ il: il,
1039
2810
  });
1040
- const events = events0.filter(ev => ev.getDesc() !== 'Rosh Chodesh Tevet');
2811
+ const events = events0.filter((ev) => ev.getDesc() !== 'Rosh Chodesh Tevet');
1041
2812
  const parshaDates = getParshaDates(events);
1042
2813
  stream.write('"Date","Parashah","Aliyah","Reading","Verses"\r\n');
1043
- events.forEach(ev => {
2814
+ for (const ev of events) {
1044
2815
  if (ev.getFlags() === core.flags.PARSHA_HASHAVUA || !parshaDates[ev.getDate().toString()]) {
1045
2816
  writeFullKriyahEvent(stream, ev, il);
1046
2817
  }
1047
- });
2818
+ }
1048
2819
  }
1049
2820
 
1050
2821
  /**
@@ -1094,7 +2865,8 @@ function writeHolidayMincha(stream, ev, il) {
1094
2865
  const desc = ev.getDesc();
1095
2866
  const minchaDesc1 = desc + ' (Mincha)';
1096
2867
  const readingMincha1 = getLeyningForHolidayKey(minchaDesc1, ev.cholHaMoedDay, il);
1097
- const readingMincha = readingMincha1 || getLeyningForHolidayKey(getLeyningKeyForEvent(ev, il) + ' (Mincha)', ev.cholHaMoedDay, il);
2868
+ const readingMincha = readingMincha1 ||
2869
+ getLeyningForHolidayKey(getLeyningKeyForEvent(ev, il) + ' (Mincha)', ev.cholHaMoedDay, il);
1098
2870
  if (readingMincha) {
1099
2871
  const minchaEv = new core.Event(ev.getDate(), minchaDesc1, core.flags.USER_EVENT);
1100
2872
  writeCsvLines(stream, minchaEv, readingMincha, il, false);
@@ -1113,13 +2885,13 @@ function writeCsvLines(stream, ev, reading, il, isParsha) {
1113
2885
  const parsha = isParsha ? ev.basename() : getLeyningKeyForEvent(ev, il) || ev.render();
1114
2886
  const date = fmtDate(ev.getDate().greg());
1115
2887
  const lines = getFullKriyahLines(reading);
1116
- lines.forEach(s => {
2888
+ for (const s of lines) {
1117
2889
  const code = s[0].charCodeAt(0);
1118
2890
  if (code < 48 || code > 57) {
1119
2891
  s[0] = `"${s[0]}"`;
1120
2892
  }
1121
2893
  stream.write(`${date},"${parsha}",${s[0]},"${s[1]}",${s[2]}\r\n`);
1122
- });
2894
+ }
1123
2895
  stream.write('\r\n');
1124
2896
  }
1125
2897
 
@@ -1131,24 +2903,21 @@ function writeCsvLines(stream, ev, reading, il, isParsha) {
1131
2903
  function getFullKriyahLines(reading) {
1132
2904
  const lines = [];
1133
2905
  if (reading.fullkriyah) {
1134
- Object.keys(reading.fullkriyah).forEach(num => {
1135
- const a = reading.fullkriyah[num];
2906
+ for (const [num, a] of Object.entries(reading.fullkriyah)) {
1136
2907
  if (typeof a !== 'undefined') {
1137
- var _reading$reason;
1138
2908
  const k = num == 'M' ? 'maf' : num;
1139
2909
  let aliyah = formatAliyahWithBook(a);
1140
- if ((_reading$reason = reading.reason) !== null && _reading$reason !== void 0 && _reading$reason[num]) {
2910
+ if (reading.reason?.[num]) {
1141
2911
  aliyah += ' | ' + reading.reason[num];
1142
2912
  }
1143
2913
  lines.push([k, aliyah, a.v || '']);
1144
2914
  }
1145
- });
2915
+ }
1146
2916
  }
1147
2917
  let specialHaftara = false;
1148
2918
  if (reading.haftara) {
1149
- var _reading$reason2;
1150
2919
  let haftara = reading.haftara.replace(/,/g, ';');
1151
- if ((_reading$reason2 = reading.reason) !== null && _reading$reason2 !== void 0 && _reading$reason2.haftara) {
2920
+ if (reading.reason?.haftara) {
1152
2921
  specialHaftara = true;
1153
2922
  haftara += ' | ' + reading.reason.haftara;
1154
2923
  }
@@ -1163,13 +2932,12 @@ function getFullKriyahLines(reading) {
1163
2932
  lines.push(['Alternate Haftara', haftara, reading.triHaftaraNumV || '']);
1164
2933
  }
1165
2934
  if (reading.megillah) {
1166
- Object.keys(reading.megillah).forEach(num => {
1167
- const a = reading.megillah[num];
2935
+ for (const [num, a] of Object.entries(reading.megillah)) {
1168
2936
  if (typeof a !== 'undefined') {
1169
2937
  const aliyah = formatAliyahWithBook(a);
1170
2938
  lines.push([`Megillah Ch. ${num}`, aliyah, a.v || '']);
1171
2939
  }
1172
- });
2940
+ }
1173
2941
  }
1174
2942
  return lines;
1175
2943
  }
@@ -1191,6 +2959,7 @@ exports.getWeekdayReading = getWeekdayReading;
1191
2959
  exports.hasFestival = hasFestival;
1192
2960
  exports.lookupFestival = lookupFestival;
1193
2961
  exports.lookupParsha = lookupParsha;
2962
+ exports.makeLeyningNames = makeLeyningNames;
1194
2963
  exports.makeLeyningParts = makeLeyningParts;
1195
2964
  exports.makeLeyningSummary = makeLeyningSummary;
1196
2965
  exports.makeSummaryFromParts = makeSummaryFromParts;