@hebcal/core 3.33.7 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v3.33.7 */
1
+ /*! @hebcal/core v3.34.0 */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -2042,18 +2042,12 @@ class HebrewDateEvent extends Event {
2042
2042
 
2043
2043
  }
2044
2044
 
2045
- var sun = {};
2046
-
2047
- Object.defineProperty(sun, "__esModule", {
2048
- value: true
2049
- });
2050
- var Sun_1 = sun.Sun = void 0;
2051
-
2052
2045
  class Sun {
2053
2046
  constructor(date, latitude, longitude) {
2054
2047
  this.date = date;
2055
2048
  this.latitude = latitude;
2056
2049
  this.longitude = longitude;
2050
+
2057
2051
  this.julianDate = getJD(date);
2058
2052
  }
2059
2053
 
@@ -2064,11 +2058,8 @@ class Sun {
2064
2058
  timeAtAngle(angle, rising) {
2065
2059
  return calcSunriseSet(rising, angle, this.julianDate, this.date, this.latitude, this.longitude);
2066
2060
  }
2067
-
2068
2061
  }
2069
2062
 
2070
- Sun_1 = sun.Sun = Sun;
2071
-
2072
2063
  function formatDate(date, minutes) {
2073
2064
  const seconds = (minutes - Math.floor(minutes)) * 60;
2074
2065
  return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), 0, minutes, seconds));
@@ -2080,24 +2071,21 @@ function calcTimeJulianCent(jd) {
2080
2071
  }
2081
2072
 
2082
2073
  function radToDeg(angleRad) {
2083
- return 180.0 * angleRad / Math.PI;
2074
+ return (180.0 * angleRad / Math.PI);
2084
2075
  }
2085
2076
 
2086
2077
  function degToRad(angleDeg) {
2087
- return Math.PI * angleDeg / 180.0;
2078
+ return (Math.PI * angleDeg / 180.0);
2088
2079
  }
2089
2080
 
2090
2081
  function calcGeomMeanLongSun(t) {
2091
- let L0 = 280.46646 + t * (36000.76983 + t * 0.0003032);
2092
-
2082
+ let L0 = 280.46646 + t * (36000.76983 + t * (0.0003032));
2093
2083
  while (L0 > 360.0) {
2094
2084
  L0 -= 360.0;
2095
2085
  }
2096
-
2097
2086
  while (L0 < 0.0) {
2098
2087
  L0 += 360.0;
2099
2088
  }
2100
-
2101
2089
  return L0; // in degrees
2102
2090
  }
2103
2091
 
@@ -2136,8 +2124,8 @@ function calcSunApparentLong(t) {
2136
2124
  }
2137
2125
 
2138
2126
  function calcMeanObliquityOfEcliptic(t) {
2139
- const seconds = 21.448 - t * (46.8150 + t * (0.00059 - t * 0.001813));
2140
- const e0 = 23.0 + (26.0 + seconds / 60.0) / 60.0;
2127
+ const seconds = 21.448 - t * (46.8150 + t * (0.00059 - t * (0.001813)));
2128
+ const e0 = 23.0 + (26.0 + (seconds / 60.0)) / 60.0;
2141
2129
  return e0; // in degrees
2142
2130
  }
2143
2131
 
@@ -2151,6 +2139,7 @@ function calcObliquityCorrection(t) {
2151
2139
  function calcSunDeclination(t) {
2152
2140
  const e = calcObliquityCorrection(t);
2153
2141
  const lambda = calcSunApparentLong(t);
2142
+
2154
2143
  const sint = Math.sin(degToRad(e)) * Math.sin(degToRad(lambda));
2155
2144
  const theta = radToDeg(Math.asin(sint));
2156
2145
  return theta; // in degrees
@@ -2161,13 +2150,16 @@ function calcEquationOfTime(t) {
2161
2150
  const l0 = calcGeomMeanLongSun(t);
2162
2151
  const e = calcEccentricityEarthOrbit(t);
2163
2152
  const m = calcGeomMeanAnomalySun(t);
2153
+
2164
2154
  let y = Math.tan(degToRad(epsilon) / 2.0);
2165
2155
  y *= y;
2156
+
2166
2157
  const sin2l0 = Math.sin(2.0 * degToRad(l0));
2167
2158
  const sinm = Math.sin(degToRad(m));
2168
2159
  const cos2l0 = Math.cos(2.0 * degToRad(l0));
2169
2160
  const sin4l0 = Math.sin(4.0 * degToRad(l0));
2170
2161
  const sin2m = Math.sin(2.0 * degToRad(m));
2162
+
2171
2163
  const Etime = y * sin2l0 - 2.0 * e * sinm + 4.0 * e * y * sinm * cos2l0 - 0.5 * y * y * sin4l0 - 1.25 * e * e * sin2m;
2172
2164
  return radToDeg(Etime) * 4.0; // in minutes of time
2173
2165
  }
@@ -2175,7 +2167,7 @@ function calcEquationOfTime(t) {
2175
2167
  function calcHourAngle(angle, lat, solarDec) {
2176
2168
  const latRad = degToRad(lat);
2177
2169
  const sdRad = degToRad(solarDec);
2178
- const HAarg = Math.cos(degToRad(90 + angle)) / (Math.cos(latRad) * Math.cos(sdRad)) - Math.tan(latRad) * Math.tan(sdRad);
2170
+ const HAarg = (Math.cos(degToRad(90 + angle)) / (Math.cos(latRad) * Math.cos(sdRad)) - Math.tan(latRad) * Math.tan(sdRad));
2179
2171
  const HA = Math.acos(HAarg);
2180
2172
  return HA; // in radians (for sunset, use -HA)
2181
2173
  }
@@ -2183,24 +2175,19 @@ function calcHourAngle(angle, lat, solarDec) {
2183
2175
  function isNumber(inputVal) {
2184
2176
  let oneDecimal = false;
2185
2177
  const inputStr = `${inputVal}`;
2186
-
2187
2178
  for (let i = 0; i < inputStr.length; i++) {
2188
2179
  const oneChar = inputStr.charAt(i);
2189
-
2190
2180
  if (i === 0 && (oneChar === '-' || oneChar === '+')) {
2191
2181
  continue;
2192
2182
  }
2193
-
2194
2183
  if (oneChar === '.' && !oneDecimal) {
2195
2184
  oneDecimal = true;
2196
2185
  continue;
2197
2186
  }
2198
-
2199
2187
  if (oneChar < '0' || oneChar > '9') {
2200
2188
  return false;
2201
2189
  }
2202
2190
  }
2203
-
2204
2191
  return true;
2205
2192
  }
2206
2193
 
@@ -2208,7 +2195,6 @@ function getJD(date) {
2208
2195
  let year = date.getFullYear();
2209
2196
  let month = date.getMonth() + 1;
2210
2197
  const day = date.getDate();
2211
-
2212
2198
  if (month < 3) {
2213
2199
  year--;
2214
2200
  month += 12;
@@ -2223,46 +2209,130 @@ function getJD(date) {
2223
2209
  function calcSolNoon(jd, longitude, date) {
2224
2210
  const tnoon = calcTimeJulianCent(jd - longitude / 360.0);
2225
2211
  let eqTime = calcEquationOfTime(tnoon);
2226
- const solNoonOffset = 720.0 - longitude * 4 - eqTime; // in minutes
2227
-
2212
+ const solNoonOffset = 720.0 - (longitude * 4) - eqTime; // in minutes
2228
2213
  const newt = calcTimeJulianCent(jd + solNoonOffset / 1440.0);
2229
2214
  eqTime = calcEquationOfTime(newt);
2230
- let solNoonLocal = 720 - longitude * 4 - eqTime; // in minutes
2231
-
2215
+ let solNoonLocal = 720 - (longitude * 4) - eqTime; // in minutes
2232
2216
  while (solNoonLocal < 0.0) {
2233
2217
  solNoonLocal += 1440.0;
2234
2218
  }
2235
-
2236
2219
  while (solNoonLocal >= 1440.0) {
2237
2220
  solNoonLocal -= 1440.0;
2238
2221
  }
2239
-
2240
- return formatDate(date, solNoonLocal); // return timeString(solNoonLocal, 3);
2222
+ return formatDate(date, solNoonLocal);
2223
+ // return timeString(solNoonLocal, 3);
2241
2224
  }
2242
2225
 
2243
2226
  function calcSunriseSetUTC(rise, angle, JD, latitude, longitude) {
2244
2227
  const t = calcTimeJulianCent(JD);
2245
2228
  const eqTime = calcEquationOfTime(t);
2246
2229
  const solarDec = calcSunDeclination(t);
2247
- let hourAngle = calcHourAngle(angle, latitude, solarDec); //alert("HA = " + radToDeg(hourAngle));
2248
-
2230
+ let hourAngle = calcHourAngle(angle, latitude, solarDec);
2231
+ //alert("HA = " + radToDeg(hourAngle));
2249
2232
  if (!rise) hourAngle = -hourAngle;
2250
2233
  const delta = longitude + radToDeg(hourAngle);
2251
- const timeUTC = 720 - 4.0 * delta - eqTime; // in minutes
2252
-
2234
+ const timeUTC = 720 - (4.0 * delta) - eqTime; // in minutes
2253
2235
  return timeUTC;
2254
2236
  }
2255
2237
 
2256
- function calcSunriseSet(rise, angle, JD, date, latitude, longitude) // rise = 1 for sunrise, 0 for sunset
2257
- {
2258
- const timeUTC = calcSunriseSetUTC(rise, angle, JD, latitude, longitude);
2259
- const newTimeUTC = calcSunriseSetUTC(rise, angle, JD + timeUTC / 1440.0, latitude, longitude);
2238
+ function calcSunriseSet(rise, angle, JD, date, latitude, longitude)
2239
+ // rise = 1 for sunrise, 0 for sunset
2240
+ {
2241
+ const timeUTC = calcSunriseSetUTC(rise, angle, JD, latitude, longitude);
2242
+ const newTimeUTC = calcSunriseSetUTC(rise, angle, JD + timeUTC / 1440.0, latitude, longitude);
2243
+ if (isNumber(newTimeUTC)) {
2260
2244
 
2261
- if (isNumber(newTimeUTC)) {
2262
- return formatDate(date, newTimeUTC);
2263
- } else {
2264
- // no sunrise/set found
2265
- return new Date(NaN);
2245
+ return formatDate(date, newTimeUTC);
2246
+
2247
+ } else { // no sunrise/set found
2248
+ return new Date(NaN);
2249
+ }
2250
+ }
2251
+
2252
+ const degreesBelowHorizon = {
2253
+ sunrise: 0.833,
2254
+ sunriseEnd: 0.3,
2255
+ twilight: 6,
2256
+ nauticalTwilight: 12,
2257
+ night: 18,
2258
+ goldenHour: -6
2259
+ };
2260
+
2261
+ class SolarCalc {
2262
+ constructor(date, latitude, longitude) {
2263
+ this.date = date;
2264
+ this.lat = latitude;
2265
+ this.longitude = longitude;
2266
+
2267
+ this.sun = new Sun(date, latitude, longitude);
2268
+ }
2269
+
2270
+ get solarNoon() {
2271
+ return this.sun.solarNoon;
2272
+ }
2273
+
2274
+ get sunrise() {
2275
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunrise, true);
2276
+ }
2277
+
2278
+ get sunset() {
2279
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunrise);
2280
+ }
2281
+
2282
+ get sunriseEnd() {
2283
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunriseEnd, true);
2284
+ }
2285
+
2286
+ get sunsetStart() {
2287
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunriseEnd, false);
2288
+ }
2289
+
2290
+ get civilDawn() {
2291
+ return this.sun.timeAtAngle(degreesBelowHorizon.twilight, true);
2292
+ }
2293
+
2294
+ get dawn() {
2295
+ return this.civilDawn;
2296
+ }
2297
+
2298
+ get civilDusk() {
2299
+ return this.sun.timeAtAngle(degreesBelowHorizon.twilight, false);
2300
+ }
2301
+
2302
+ get dusk() {
2303
+ return this.civilDusk;
2304
+ }
2305
+
2306
+ get nauticalDawn() {
2307
+ return this.sun.timeAtAngle(degreesBelowHorizon.nauticalTwilight, true);
2308
+ }
2309
+
2310
+ get nauticalDusk() {
2311
+ return this.sun.timeAtAngle(degreesBelowHorizon.nauticalTwilight, false);
2312
+ }
2313
+
2314
+ get nightStart() {
2315
+ return this.astronomicalDusk;
2316
+ }
2317
+
2318
+ get astronomicalDusk() {
2319
+ return this.sun.timeAtAngle(degreesBelowHorizon.night, false);
2320
+ }
2321
+
2322
+ get astronomicalDawn() {
2323
+ return this.sun.timeAtAngle(degreesBelowHorizon.night, true);
2324
+ }
2325
+
2326
+ get nightEnd() {
2327
+ return this.astronomicalDawn;
2328
+ }
2329
+
2330
+ get goldenHourStart() {
2331
+ return this.sun.timeAtAngle(degreesBelowHorizon.goldenHour, false);
2332
+ }
2333
+
2334
+ get goldenHourEnd() {
2335
+ return this.sun.timeAtAngle(degreesBelowHorizon.goldenHour, true);
2266
2336
  }
2267
2337
  }
2268
2338
 
@@ -2402,7 +2472,8 @@ class Zmanim {
2402
2472
 
2403
2473
  const dt = greg.isDate(date) ? date : HDate.isHDate(date) ? date.greg() : throwTypeError$2(`invalid date: ${date}`);
2404
2474
  this.date = dt;
2405
- this.sun = new Sun_1(this.date, latitude, longitude);
2475
+ this.solarCalc = new SolarCalc(this.date, latitude, longitude);
2476
+ this.sun = this.solarCalc.sun;
2406
2477
  this.latitude = latitude;
2407
2478
  this.longitude = longitude;
2408
2479
  }
@@ -2414,48 +2485,60 @@ class Zmanim {
2414
2485
 
2415
2486
  suntime() {
2416
2487
  return {
2417
- solarNoon: this.sun.solarNoon,
2488
+ solarNoon: this.solarCalc.solarNoon,
2418
2489
  sunrise: this.sunrise(),
2419
2490
  sunset: this.sunset(),
2420
- sunriseEnd: this.sun.timeAtAngle(0.3, true),
2421
- sunsetStart: this.sun.timeAtAngle(0.3, false),
2491
+ sunriseEnd: this.solarCalc.sunriseEnd,
2492
+ sunsetStart: this.solarCalc.sunsetStart,
2422
2493
  dawn: this.dawn(),
2423
2494
  dusk: this.dusk(),
2424
- nauticalDawn: this.sun.timeAtAngle(12, true),
2425
- nauticalDusk: this.sun.timeAtAngle(12, false),
2426
- nightEnd: this.sun.timeAtAngle(18, true),
2427
- night: this.sun.timeAtAngle(18, false),
2428
- goldenHourEnd: this.sun.timeAtAngle(-6, true),
2429
- goldenHour: this.sun.timeAtAngle(-6, false),
2495
+ nauticalDawn: this.solarCalc.nauticalDawn,
2496
+ nauticalDusk: this.solarCalc.nauticalDusk,
2497
+ nightEnd: this.solarCalc.nightEnd,
2498
+ night: this.solarCalc.nightStart,
2499
+ goldenHourEnd: this.solarCalc.goldenHourEnd,
2500
+ goldenHour: this.solarCalc.goldenHourStart,
2430
2501
  alotHaShachar: this.alotHaShachar(),
2431
2502
  misheyakir: this.misheyakir(),
2432
2503
  misheyakirMachmir: this.misheyakirMachmir(),
2433
2504
  tzeit: this.tzeit()
2434
2505
  };
2435
2506
  }
2436
- /** @return {Date} */
2507
+ /**
2508
+ * Upper edge of the Sun appears over the eastern horizon in the morning (0.833° above horizon)
2509
+ * @return {Date}
2510
+ */
2437
2511
 
2438
2512
 
2439
2513
  sunrise() {
2440
2514
  return this.sun.timeAtAngle(0.833333, true);
2441
2515
  }
2442
- /** @return {Date} */
2516
+ /**
2517
+ * When the upper edge of the Sun disappears below the horizon (0.833° below horizon)
2518
+ * @return {Date}
2519
+ */
2443
2520
 
2444
2521
 
2445
2522
  sunset() {
2446
2523
  return this.sun.timeAtAngle(0.833333, false);
2447
2524
  }
2448
- /** @return {Date} */
2525
+ /**
2526
+ * Civil dawn; Sun is 6° below the horizon in the morning
2527
+ * @return {Date}
2528
+ */
2449
2529
 
2450
2530
 
2451
2531
  dawn() {
2452
- return this.sun.timeAtAngle(6, true);
2532
+ return this.solarCalc.dawn;
2453
2533
  }
2454
- /** @return {Date} */
2534
+ /**
2535
+ * Civil dusk; Sun is 6° below the horizon in the evening
2536
+ * @return {Date}
2537
+ */
2455
2538
 
2456
2539
 
2457
2540
  dusk() {
2458
- return this.sun.timeAtAngle(6, false);
2541
+ return this.solarCalc.dusk;
2459
2542
  }
2460
2543
  /** @return {number} */
2461
2544
 
@@ -2501,63 +2584,121 @@ class Zmanim {
2501
2584
  hourOffset(hours) {
2502
2585
  return new Date(this.sunrise().getTime() + this.hour() * hours);
2503
2586
  }
2504
- /** @return {Date} */
2587
+ /**
2588
+ * Midday – Chatzot; Sunrise plus 6 halachic hours
2589
+ * @return {Date}
2590
+ */
2505
2591
 
2506
2592
 
2507
2593
  chatzot() {
2508
2594
  return this.hourOffset(6);
2509
2595
  }
2510
- /** @return {Date} */
2596
+ /**
2597
+ * Midnight – Chatzot; Sunset plus 6 halachic hours
2598
+ * @return {Date}
2599
+ */
2511
2600
 
2512
2601
 
2513
2602
  chatzotNight() {
2514
2603
  return new Date(this.sunrise().getTime() - this.nightHour() * 6);
2515
2604
  }
2516
- /** @return {Date} */
2605
+ /**
2606
+ * Dawn – Alot haShachar; Sun is 16.1° below the horizon in the morning
2607
+ * @return {Date}
2608
+ */
2517
2609
 
2518
2610
 
2519
2611
  alotHaShachar() {
2520
2612
  return this.sun.timeAtAngle(16.1, true);
2521
2613
  }
2522
- /** @return {Date} */
2614
+ /**
2615
+ * Earliest talis & tefillin – Misheyakir; Sun is 11.5° below the horizon in the morning
2616
+ * @return {Date}
2617
+ */
2523
2618
 
2524
2619
 
2525
2620
  misheyakir() {
2526
2621
  return this.sun.timeAtAngle(11.5, true);
2527
2622
  }
2528
- /** @return {Date} */
2623
+ /**
2624
+ * Earliest talis & tefillin – Misheyakir Machmir; Sun is 10.2° below the horizon in the morning
2625
+ * @return {Date}
2626
+ */
2529
2627
 
2530
2628
 
2531
2629
  misheyakirMachmir() {
2532
2630
  return this.sun.timeAtAngle(10.2, true);
2533
2631
  }
2534
- /** @return {Date} */
2632
+ /**
2633
+ * Latest Shema (Gra); Sunrise plus 3 halachic hours, according to the Gra
2634
+ * @return {Date}
2635
+ */
2535
2636
 
2536
2637
 
2537
2638
  sofZmanShma() {
2538
2639
  // Gra
2539
2640
  return this.hourOffset(3);
2540
2641
  }
2541
- /** @return {Date} */
2642
+ /**
2643
+ * Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra
2644
+ * @return {Date}
2645
+ */
2542
2646
 
2543
2647
 
2544
2648
  sofZmanTfilla() {
2545
2649
  // Gra
2546
2650
  return this.hourOffset(4);
2547
2651
  }
2548
- /** @return {Date} */
2652
+ /**
2653
+ * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham
2654
+ * @return {Date}
2655
+ */
2656
+
2657
+
2658
+ sofZmanShmaMGA() {
2659
+ // Magen Avraham
2660
+ const alot72 = this.sunriseOffset(-72);
2661
+ const tzeit72 = this.sunsetOffset(72);
2662
+ const temporalHour = (tzeit72 - alot72) / 12; // ms in hour
2663
+
2664
+ return new Date(alot72.getTime() + 3 * temporalHour);
2665
+ }
2666
+ /**
2667
+ * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham
2668
+ * @return {Date}
2669
+ */
2670
+
2671
+
2672
+ sofZmanTfillaMGA() {
2673
+ // Magen Avraham
2674
+ const alot72 = this.sunriseOffset(-72);
2675
+ const tzeit72 = this.sunsetOffset(72);
2676
+ const temporalHour = (tzeit72 - alot72) / 12; // ms in hour
2677
+
2678
+ return new Date(alot72.getTime() + 4 * temporalHour);
2679
+ }
2680
+ /**
2681
+ * Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours
2682
+ * @return {Date}
2683
+ */
2549
2684
 
2550
2685
 
2551
2686
  minchaGedola() {
2552
2687
  return this.hourOffset(6.5);
2553
2688
  }
2554
- /** @return {Date} */
2689
+ /**
2690
+ * Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours
2691
+ * @return {Date}
2692
+ */
2555
2693
 
2556
2694
 
2557
2695
  minchaKetana() {
2558
2696
  return this.hourOffset(9.5);
2559
2697
  }
2560
- /** @return {Date} */
2698
+ /**
2699
+ * Plag haMincha; Sunrise plus 10.75 halachic hours
2700
+ * @return {Date}
2701
+ */
2561
2702
 
2562
2703
 
2563
2704
  plagHaMincha() {
@@ -2573,13 +2714,19 @@ class Zmanim {
2573
2714
  tzeit(angle = 8.5) {
2574
2715
  return this.sun.timeAtAngle(angle, false);
2575
2716
  }
2576
- /** @return {Date} */
2717
+ /**
2718
+ * Alias for sunrise
2719
+ * @return {Date}
2720
+ */
2577
2721
 
2578
2722
 
2579
2723
  neitzHaChama() {
2580
2724
  return this.sunrise();
2581
2725
  }
2582
- /** @return {Date} */
2726
+ /**
2727
+ * Alias for sunset
2728
+ * @return {Date}
2729
+ */
2583
2730
 
2584
2731
 
2585
2732
  shkiah() {
@@ -2660,8 +2807,30 @@ class Zmanim {
2660
2807
  return getPseudoISO(tzid, date).substring(0, 19) + Zmanim.timeZoneOffset(tzid, date);
2661
2808
  }
2662
2809
  /**
2663
- * Returns sunset + offset (either positive or negative).
2664
- * @param {number} offset
2810
+ * Returns sunrise + `offset` minutes (either positive or negative).
2811
+ * @param {number} offset minutes
2812
+ * @return {Date}
2813
+ */
2814
+
2815
+
2816
+ sunriseOffset(offset) {
2817
+ const sunrise = this.sunrise();
2818
+
2819
+ if (isNaN(sunrise.getTime())) {
2820
+ return sunrise;
2821
+ } // For positive offsets only, round up to next minute if needed
2822
+
2823
+
2824
+ if (offset > 0 && sunrise.getSeconds() >= 30) {
2825
+ offset++;
2826
+ }
2827
+
2828
+ sunrise.setSeconds(0);
2829
+ return new Date(sunrise.getTime() + offset * 60 * 1000);
2830
+ }
2831
+ /**
2832
+ * Returns sunset + `offset` minutes (either positive or negative).
2833
+ * @param {number} offset minutes
2665
2834
  * @return {Date}
2666
2835
  */
2667
2836
 
@@ -5074,7 +5243,7 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
5074
5243
  return new HDate(day, month, hyear);
5075
5244
  }
5076
5245
 
5077
- var version="3.33.7";
5246
+ var version="3.34.0";
5078
5247
 
5079
5248
  var headers$1={"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"};var contexts$1={"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"]}};var poAshkenazi = {headers:headers$1,contexts:contexts$1};
5080
5249