@hebcal/core 3.33.5 → 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/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v3.33.5 */
1
+ /*! @hebcal/core v3.34.0 */
2
2
  var hebcal = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -3538,13 +3538,6 @@ var HebrewDateEvent = /*#__PURE__*/function (_Event) {
3538
3538
  return HebrewDateEvent;
3539
3539
  }(Event);
3540
3540
 
3541
- var sun = {};
3542
-
3543
- Object.defineProperty(sun, "__esModule", {
3544
- value: true
3545
- });
3546
- var Sun_1 = sun.Sun = void 0;
3547
-
3548
3541
  var Sun = /*#__PURE__*/function () {
3549
3542
  function Sun(date, latitude, longitude) {
3550
3543
  _classCallCheck(this, Sun);
@@ -3570,8 +3563,6 @@ var Sun = /*#__PURE__*/function () {
3570
3563
  return Sun;
3571
3564
  }();
3572
3565
 
3573
- Sun_1 = sun.Sun = Sun;
3574
-
3575
3566
  function formatDate(date, minutes) {
3576
3567
  var seconds = (minutes - Math.floor(minutes)) * 60;
3577
3568
  return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), 0, minutes, seconds));
@@ -3769,6 +3760,114 @@ function calcSunriseSet(rise, angle, JD, date, latitude, longitude) // rise = 1
3769
3760
  }
3770
3761
  }
3771
3762
 
3763
+ var degreesBelowHorizon = {
3764
+ sunrise: 0.833,
3765
+ sunriseEnd: 0.3,
3766
+ twilight: 6,
3767
+ nauticalTwilight: 12,
3768
+ night: 18,
3769
+ goldenHour: -6
3770
+ };
3771
+ var SolarCalc = /*#__PURE__*/function () {
3772
+ function SolarCalc(date, latitude, longitude) {
3773
+ _classCallCheck(this, SolarCalc);
3774
+
3775
+ this.date = date;
3776
+ this.lat = latitude;
3777
+ this.longitude = longitude;
3778
+ this.sun = new Sun(date, latitude, longitude);
3779
+ }
3780
+
3781
+ _createClass(SolarCalc, [{
3782
+ key: "solarNoon",
3783
+ get: function get() {
3784
+ return this.sun.solarNoon;
3785
+ }
3786
+ }, {
3787
+ key: "sunrise",
3788
+ get: function get() {
3789
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunrise, true);
3790
+ }
3791
+ }, {
3792
+ key: "sunset",
3793
+ get: function get() {
3794
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunrise);
3795
+ }
3796
+ }, {
3797
+ key: "sunriseEnd",
3798
+ get: function get() {
3799
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunriseEnd, true);
3800
+ }
3801
+ }, {
3802
+ key: "sunsetStart",
3803
+ get: function get() {
3804
+ return this.sun.timeAtAngle(degreesBelowHorizon.sunriseEnd, false);
3805
+ }
3806
+ }, {
3807
+ key: "civilDawn",
3808
+ get: function get() {
3809
+ return this.sun.timeAtAngle(degreesBelowHorizon.twilight, true);
3810
+ }
3811
+ }, {
3812
+ key: "dawn",
3813
+ get: function get() {
3814
+ return this.civilDawn;
3815
+ }
3816
+ }, {
3817
+ key: "civilDusk",
3818
+ get: function get() {
3819
+ return this.sun.timeAtAngle(degreesBelowHorizon.twilight, false);
3820
+ }
3821
+ }, {
3822
+ key: "dusk",
3823
+ get: function get() {
3824
+ return this.civilDusk;
3825
+ }
3826
+ }, {
3827
+ key: "nauticalDawn",
3828
+ get: function get() {
3829
+ return this.sun.timeAtAngle(degreesBelowHorizon.nauticalTwilight, true);
3830
+ }
3831
+ }, {
3832
+ key: "nauticalDusk",
3833
+ get: function get() {
3834
+ return this.sun.timeAtAngle(degreesBelowHorizon.nauticalTwilight, false);
3835
+ }
3836
+ }, {
3837
+ key: "nightStart",
3838
+ get: function get() {
3839
+ return this.astronomicalDusk;
3840
+ }
3841
+ }, {
3842
+ key: "astronomicalDusk",
3843
+ get: function get() {
3844
+ return this.sun.timeAtAngle(degreesBelowHorizon.night, false);
3845
+ }
3846
+ }, {
3847
+ key: "astronomicalDawn",
3848
+ get: function get() {
3849
+ return this.sun.timeAtAngle(degreesBelowHorizon.night, true);
3850
+ }
3851
+ }, {
3852
+ key: "nightEnd",
3853
+ get: function get() {
3854
+ return this.astronomicalDawn;
3855
+ }
3856
+ }, {
3857
+ key: "goldenHourStart",
3858
+ get: function get() {
3859
+ return this.sun.timeAtAngle(degreesBelowHorizon.goldenHour, false);
3860
+ }
3861
+ }, {
3862
+ key: "goldenHourEnd",
3863
+ get: function get() {
3864
+ return this.sun.timeAtAngle(degreesBelowHorizon.goldenHour, true);
3865
+ }
3866
+ }]);
3867
+
3868
+ return SolarCalc;
3869
+ }();
3870
+
3772
3871
  var _formatters = {};
3773
3872
  /**
3774
3873
  * @private
@@ -3907,7 +4006,8 @@ var Zmanim = /*#__PURE__*/function () {
3907
4006
 
3908
4007
  var dt = greg.isDate(date) ? date : HDate.isHDate(date) ? date.greg() : throwTypeError$2("invalid date: ".concat(date));
3909
4008
  this.date = dt;
3910
- this.sun = new Sun_1(this.date, latitude, longitude);
4009
+ this.solarCalc = new SolarCalc(this.date, latitude, longitude);
4010
+ this.sun = this.solarCalc.sun;
3911
4011
  this.latitude = latitude;
3912
4012
  this.longitude = longitude;
3913
4013
  }
@@ -3921,52 +4021,64 @@ var Zmanim = /*#__PURE__*/function () {
3921
4021
  key: "suntime",
3922
4022
  value: function suntime() {
3923
4023
  return {
3924
- solarNoon: this.sun.solarNoon,
4024
+ solarNoon: this.solarCalc.solarNoon,
3925
4025
  sunrise: this.sunrise(),
3926
4026
  sunset: this.sunset(),
3927
- sunriseEnd: this.sun.timeAtAngle(0.3, true),
3928
- sunsetStart: this.sun.timeAtAngle(0.3, false),
4027
+ sunriseEnd: this.solarCalc.sunriseEnd,
4028
+ sunsetStart: this.solarCalc.sunsetStart,
3929
4029
  dawn: this.dawn(),
3930
4030
  dusk: this.dusk(),
3931
- nauticalDawn: this.sun.timeAtAngle(12, true),
3932
- nauticalDusk: this.sun.timeAtAngle(12, false),
3933
- nightEnd: this.sun.timeAtAngle(18, true),
3934
- night: this.sun.timeAtAngle(18, false),
3935
- goldenHourEnd: this.sun.timeAtAngle(-6, true),
3936
- goldenHour: this.sun.timeAtAngle(-6, false),
4031
+ nauticalDawn: this.solarCalc.nauticalDawn,
4032
+ nauticalDusk: this.solarCalc.nauticalDusk,
4033
+ nightEnd: this.solarCalc.nightEnd,
4034
+ night: this.solarCalc.nightStart,
4035
+ goldenHourEnd: this.solarCalc.goldenHourEnd,
4036
+ goldenHour: this.solarCalc.goldenHourStart,
3937
4037
  alotHaShachar: this.alotHaShachar(),
3938
4038
  misheyakir: this.misheyakir(),
3939
4039
  misheyakirMachmir: this.misheyakirMachmir(),
3940
4040
  tzeit: this.tzeit()
3941
4041
  };
3942
4042
  }
3943
- /** @return {Date} */
4043
+ /**
4044
+ * Upper edge of the Sun appears over the eastern horizon in the morning (0.833° above horizon)
4045
+ * @return {Date}
4046
+ */
3944
4047
 
3945
4048
  }, {
3946
4049
  key: "sunrise",
3947
4050
  value: function sunrise() {
3948
4051
  return this.sun.timeAtAngle(0.833333, true);
3949
4052
  }
3950
- /** @return {Date} */
4053
+ /**
4054
+ * When the upper edge of the Sun disappears below the horizon (0.833° below horizon)
4055
+ * @return {Date}
4056
+ */
3951
4057
 
3952
4058
  }, {
3953
4059
  key: "sunset",
3954
4060
  value: function sunset() {
3955
4061
  return this.sun.timeAtAngle(0.833333, false);
3956
4062
  }
3957
- /** @return {Date} */
4063
+ /**
4064
+ * Civil dawn; Sun is 6° below the horizon in the morning
4065
+ * @return {Date}
4066
+ */
3958
4067
 
3959
4068
  }, {
3960
4069
  key: "dawn",
3961
4070
  value: function dawn() {
3962
- return this.sun.timeAtAngle(6, true);
4071
+ return this.solarCalc.dawn;
3963
4072
  }
3964
- /** @return {Date} */
4073
+ /**
4074
+ * Civil dusk; Sun is 6° below the horizon in the evening
4075
+ * @return {Date}
4076
+ */
3965
4077
 
3966
4078
  }, {
3967
4079
  key: "dusk",
3968
4080
  value: function dusk() {
3969
- return this.sun.timeAtAngle(6, false);
4081
+ return this.solarCalc.dusk;
3970
4082
  }
3971
4083
  /** @return {number} */
3972
4084
 
@@ -4018,42 +4130,60 @@ var Zmanim = /*#__PURE__*/function () {
4018
4130
  value: function hourOffset(hours) {
4019
4131
  return new Date(this.sunrise().getTime() + this.hour() * hours);
4020
4132
  }
4021
- /** @return {Date} */
4133
+ /**
4134
+ * Midday – Chatzot; Sunrise plus 6 halachic hours
4135
+ * @return {Date}
4136
+ */
4022
4137
 
4023
4138
  }, {
4024
4139
  key: "chatzot",
4025
4140
  value: function chatzot() {
4026
4141
  return this.hourOffset(6);
4027
4142
  }
4028
- /** @return {Date} */
4143
+ /**
4144
+ * Midnight – Chatzot; Sunset plus 6 halachic hours
4145
+ * @return {Date}
4146
+ */
4029
4147
 
4030
4148
  }, {
4031
4149
  key: "chatzotNight",
4032
4150
  value: function chatzotNight() {
4033
4151
  return new Date(this.sunrise().getTime() - this.nightHour() * 6);
4034
4152
  }
4035
- /** @return {Date} */
4153
+ /**
4154
+ * Dawn – Alot haShachar; Sun is 16.1° below the horizon in the morning
4155
+ * @return {Date}
4156
+ */
4036
4157
 
4037
4158
  }, {
4038
4159
  key: "alotHaShachar",
4039
4160
  value: function alotHaShachar() {
4040
4161
  return this.sun.timeAtAngle(16.1, true);
4041
4162
  }
4042
- /** @return {Date} */
4163
+ /**
4164
+ * Earliest talis & tefillin – Misheyakir; Sun is 11.5° below the horizon in the morning
4165
+ * @return {Date}
4166
+ */
4043
4167
 
4044
4168
  }, {
4045
4169
  key: "misheyakir",
4046
4170
  value: function misheyakir() {
4047
4171
  return this.sun.timeAtAngle(11.5, true);
4048
4172
  }
4049
- /** @return {Date} */
4173
+ /**
4174
+ * Earliest talis & tefillin – Misheyakir Machmir; Sun is 10.2° below the horizon in the morning
4175
+ * @return {Date}
4176
+ */
4050
4177
 
4051
4178
  }, {
4052
4179
  key: "misheyakirMachmir",
4053
4180
  value: function misheyakirMachmir() {
4054
4181
  return this.sun.timeAtAngle(10.2, true);
4055
4182
  }
4056
- /** @return {Date} */
4183
+ /**
4184
+ * Latest Shema (Gra); Sunrise plus 3 halachic hours, according to the Gra
4185
+ * @return {Date}
4186
+ */
4057
4187
 
4058
4188
  }, {
4059
4189
  key: "sofZmanShma",
@@ -4061,7 +4191,10 @@ var Zmanim = /*#__PURE__*/function () {
4061
4191
  // Gra
4062
4192
  return this.hourOffset(3);
4063
4193
  }
4064
- /** @return {Date} */
4194
+ /**
4195
+ * Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra
4196
+ * @return {Date}
4197
+ */
4065
4198
 
4066
4199
  }, {
4067
4200
  key: "sofZmanTfilla",
@@ -4069,21 +4202,60 @@ var Zmanim = /*#__PURE__*/function () {
4069
4202
  // Gra
4070
4203
  return this.hourOffset(4);
4071
4204
  }
4072
- /** @return {Date} */
4205
+ /**
4206
+ * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham
4207
+ * @return {Date}
4208
+ */
4209
+
4210
+ }, {
4211
+ key: "sofZmanShmaMGA",
4212
+ value: function sofZmanShmaMGA() {
4213
+ // Magen Avraham
4214
+ var alot72 = this.sunriseOffset(-72);
4215
+ var tzeit72 = this.sunsetOffset(72);
4216
+ var temporalHour = (tzeit72 - alot72) / 12; // ms in hour
4217
+
4218
+ return new Date(alot72.getTime() + 3 * temporalHour);
4219
+ }
4220
+ /**
4221
+ * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham
4222
+ * @return {Date}
4223
+ */
4224
+
4225
+ }, {
4226
+ key: "sofZmanTfillaMGA",
4227
+ value: function sofZmanTfillaMGA() {
4228
+ // Magen Avraham
4229
+ var alot72 = this.sunriseOffset(-72);
4230
+ var tzeit72 = this.sunsetOffset(72);
4231
+ var temporalHour = (tzeit72 - alot72) / 12; // ms in hour
4232
+
4233
+ return new Date(alot72.getTime() + 4 * temporalHour);
4234
+ }
4235
+ /**
4236
+ * Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours
4237
+ * @return {Date}
4238
+ */
4073
4239
 
4074
4240
  }, {
4075
4241
  key: "minchaGedola",
4076
4242
  value: function minchaGedola() {
4077
4243
  return this.hourOffset(6.5);
4078
4244
  }
4079
- /** @return {Date} */
4245
+ /**
4246
+ * Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours
4247
+ * @return {Date}
4248
+ */
4080
4249
 
4081
4250
  }, {
4082
4251
  key: "minchaKetana",
4083
4252
  value: function minchaKetana() {
4084
4253
  return this.hourOffset(9.5);
4085
4254
  }
4086
- /** @return {Date} */
4255
+ /**
4256
+ * Plag haMincha; Sunrise plus 10.75 halachic hours
4257
+ * @return {Date}
4258
+ */
4087
4259
 
4088
4260
  }, {
4089
4261
  key: "plagHaMincha",
@@ -4102,14 +4274,20 @@ var Zmanim = /*#__PURE__*/function () {
4102
4274
  var angle = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8.5;
4103
4275
  return this.sun.timeAtAngle(angle, false);
4104
4276
  }
4105
- /** @return {Date} */
4277
+ /**
4278
+ * Alias for sunrise
4279
+ * @return {Date}
4280
+ */
4106
4281
 
4107
4282
  }, {
4108
4283
  key: "neitzHaChama",
4109
4284
  value: function neitzHaChama() {
4110
4285
  return this.sunrise();
4111
4286
  }
4112
- /** @return {Date} */
4287
+ /**
4288
+ * Alias for sunset
4289
+ * @return {Date}
4290
+ */
4113
4291
 
4114
4292
  }, {
4115
4293
  key: "shkiah",
@@ -4124,14 +4302,37 @@ var Zmanim = /*#__PURE__*/function () {
4124
4302
  */
4125
4303
 
4126
4304
  }, {
4127
- key: "sunsetOffset",
4305
+ key: "sunriseOffset",
4128
4306
  value:
4129
4307
  /**
4130
- * Returns sunset + offset (either positive or negative).
4131
- * @param {number} offset
4308
+ * Returns sunrise + `offset` minutes (either positive or negative).
4309
+ * @param {number} offset minutes
4310
+ * @return {Date}
4311
+ */
4312
+ function sunriseOffset(offset) {
4313
+ var sunrise = this.sunrise();
4314
+
4315
+ if (isNaN(sunrise.getTime())) {
4316
+ return sunrise;
4317
+ } // For positive offsets only, round up to next minute if needed
4318
+
4319
+
4320
+ if (offset > 0 && sunrise.getSeconds() >= 30) {
4321
+ offset++;
4322
+ }
4323
+
4324
+ sunrise.setSeconds(0);
4325
+ return new Date(sunrise.getTime() + offset * 60 * 1000);
4326
+ }
4327
+ /**
4328
+ * Returns sunset + `offset` minutes (either positive or negative).
4329
+ * @param {number} offset minutes
4132
4330
  * @return {Date}
4133
4331
  */
4134
- function sunsetOffset(offset) {
4332
+
4333
+ }, {
4334
+ key: "sunsetOffset",
4335
+ value: function sunsetOffset(offset) {
4135
4336
  var sunset = this.sunset();
4136
4337
 
4137
4338
  if (isNaN(sunset.getTime())) {
@@ -4335,18 +4536,20 @@ var Location = /*#__PURE__*/function () {
4335
4536
  function Location(latitude, longitude, il, tzid, cityName, countryCode, geoid) {
4336
4537
  _classCallCheck(this, Location);
4337
4538
 
4338
- this.latitude = +latitude;
4539
+ var lat = typeof latitude === 'number' ? latitude : parseFloat(latitude);
4339
4540
 
4340
- if (this.latitude < -90 || this.latitude > 90) {
4341
- throw new RangeError("Latitude ".concat(this.latitude, " out of range [-90,90]"));
4541
+ if (isNaN(lat) || lat < -90 || lat > 90) {
4542
+ throw new RangeError("Latitude ".concat(latitude, " out of range [-90,90]"));
4342
4543
  }
4343
4544
 
4344
- this.longitude = +longitude;
4545
+ var long = typeof longitude === 'number' ? longitude : parseFloat(longitude);
4345
4546
 
4346
- if (this.longitude < -180 || this.longitude > 180) {
4347
- throw new RangeError("Longitude ".concat(this.longitude, " out of range [-180,180]"));
4547
+ if (isNaN(long) || long < -180 || long > 180) {
4548
+ throw new RangeError("Longitude ".concat(longitude, " out of range [-180,180]"));
4348
4549
  }
4349
4550
 
4551
+ this.latitude = lat;
4552
+ this.longitude = long;
4350
4553
  this.il = Boolean(il);
4351
4554
  this.tzid = tzid;
4352
4555
  this.name = cityName;
@@ -5121,7 +5324,7 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
5121
5324
  }, {
5122
5325
  key: "getEmoji",
5123
5326
  value: function getEmoji() {
5124
- if (this.emoji) return this.emoji;
5327
+ if (typeof this.emoji === 'string') return this.emoji;
5125
5328
  var number = this.omer;
5126
5329
  var ones = number % 10;
5127
5330
  var tens = Math.floor(number / 10);
@@ -5132,7 +5335,8 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
5132
5335
  }, {
5133
5336
  key: "getWeeks",
5134
5337
  value: function getWeeks() {
5135
- return this.weekNumber;
5338
+ var day7 = this.daysWithinWeeks === 7;
5339
+ return day7 ? this.weekNumber : this.weekNumber - 1;
5136
5340
  }
5137
5341
  /** @return {number} */
5138
5342
 
@@ -6488,6 +6692,11 @@ var emojiIsraelFlag = {
6488
6692
  emoji: '🇮🇱'
6489
6693
  };
6490
6694
  var chanukahEmoji = '🕎';
6695
+ var emojiPesach = '🫓';
6696
+ var emojiShavuot = {
6697
+ emoji: '⛰️🌸'
6698
+ };
6699
+ var emojiSukkot = '🌿🍋';
6491
6700
  var yearCache = Object.create(null);
6492
6701
  /**
6493
6702
  * Lower-level holidays interface, which returns a `Map` of `Event`s indexed by
@@ -6548,34 +6757,48 @@ function getHolidaysForYear_(year) {
6548
6757
  add(new RoshHashanaEvent(RH, year, CHAG | LIGHT_CANDLES_TZEIS$1));
6549
6758
  addEvents(year, [[2, TISHREI$1, 'Rosh Hashana II', CHAG | YOM_TOV_ENDS$1, {
6550
6759
  emoji: '🍏🍯'
6551
- }], [3 + (RH.getDay() == THU), TISHREI$1, 'Tzom Gedaliah', MINOR_FAST$1], [9, TISHREI$1, 'Erev Yom Kippur', EREV$1 | LIGHT_CANDLES$1, {
6552
- emoji: '📖✍️'
6553
- }]]); // first SAT after RH
6760
+ }], [3 + (RH.getDay() == THU), TISHREI$1, 'Tzom Gedaliah', MINOR_FAST$1], [9, TISHREI$1, 'Erev Yom Kippur', EREV$1 | LIGHT_CANDLES$1]]); // first SAT after RH
6554
6761
 
6555
6762
  add(new HolidayEvent(new HDate(HDate.dayOnOrBefore(SAT$1, 7 + RH.abs())), 'Shabbat Shuva', SPECIAL_SHABBAT$1));
6556
- addEvents(year, [[10, TISHREI$1, 'Yom Kippur', CHAG | YOM_TOV_ENDS$1 | MAJOR_FAST$1, {
6557
- emoji: '📖✍️'
6558
- }], [14, TISHREI$1, 'Erev Sukkot', EREV$1 | LIGHT_CANDLES$1], // Attributes for Israel and Diaspora are different
6559
- [15, TISHREI$1, 'Sukkot I', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1], [16, TISHREI$1, 'Sukkot II', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1], [17, TISHREI$1, 'Sukkot III (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6560
- cholHaMoedDay: 1
6763
+ addEvents(year, [[10, TISHREI$1, 'Yom Kippur', CHAG | YOM_TOV_ENDS$1 | MAJOR_FAST$1], [14, TISHREI$1, 'Erev Sukkot', EREV$1 | LIGHT_CANDLES$1, {
6764
+ emoji: emojiSukkot
6765
+ }], // Attributes for Israel and Diaspora are different
6766
+ [15, TISHREI$1, 'Sukkot I', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1, {
6767
+ emoji: emojiSukkot
6768
+ }], [16, TISHREI$1, 'Sukkot II', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1, {
6769
+ emoji: emojiSukkot
6770
+ }], [17, TISHREI$1, 'Sukkot III (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6771
+ cholHaMoedDay: 1,
6772
+ emoji: emojiSukkot
6561
6773
  }], [18, TISHREI$1, 'Sukkot IV (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6562
- cholHaMoedDay: 2
6774
+ cholHaMoedDay: 2,
6775
+ emoji: emojiSukkot
6563
6776
  }], [19, TISHREI$1, 'Sukkot V (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6564
- cholHaMoedDay: 3
6777
+ cholHaMoedDay: 3,
6778
+ emoji: emojiSukkot
6565
6779
  }], [20, TISHREI$1, 'Sukkot VI (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6566
- cholHaMoedDay: 4
6567
- }], [15, TISHREI$1, 'Sukkot I', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1], [16, TISHREI$1, 'Sukkot II (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6568
- cholHaMoedDay: 1
6780
+ cholHaMoedDay: 4,
6781
+ emoji: emojiSukkot
6782
+ }], [15, TISHREI$1, 'Sukkot I', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1, {
6783
+ emoji: emojiSukkot
6784
+ }], [16, TISHREI$1, 'Sukkot II (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6785
+ cholHaMoedDay: 1,
6786
+ emoji: emojiSukkot
6569
6787
  }], [17, TISHREI$1, 'Sukkot III (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6570
- cholHaMoedDay: 2
6788
+ cholHaMoedDay: 2,
6789
+ emoji: emojiSukkot
6571
6790
  }], [18, TISHREI$1, 'Sukkot IV (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6572
- cholHaMoedDay: 3
6791
+ cholHaMoedDay: 3,
6792
+ emoji: emojiSukkot
6573
6793
  }], [19, TISHREI$1, 'Sukkot V (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6574
- cholHaMoedDay: 4
6794
+ cholHaMoedDay: 4,
6795
+ emoji: emojiSukkot
6575
6796
  }], [20, TISHREI$1, 'Sukkot VI (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6576
- cholHaMoedDay: 5
6797
+ cholHaMoedDay: 5,
6798
+ emoji: emojiSukkot
6577
6799
  }], [21, TISHREI$1, 'Sukkot VII (Hoshana Raba)', LIGHT_CANDLES$1 | CHOL_HAMOED$1, {
6578
- cholHaMoedDay: -1
6800
+ cholHaMoedDay: -1,
6801
+ emoji: emojiSukkot
6579
6802
  }], [22, TISHREI$1, 'Shmini Atzeret', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1], // [22, TISHREI, "Shmini Atzeret / Simchat Torah", YOM_TOV_ENDS | IL_ONLY],
6580
6803
  [22, TISHREI$1, 'Shmini Atzeret', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1], [23, TISHREI$1, 'Simchat Torah', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1]]);
6581
6804
  add(new HolidayEvent(new HDate(24, KISLEV$1, year), 'Chanukah: 1 Candle', EREV$1 | MINOR_HOLIDAY$1 | CHANUKAH_CANDLES$1, {
@@ -6609,36 +6832,51 @@ function getHolidaysForYear_(year) {
6609
6832
  emoji: '🎭️📜'
6610
6833
  }), new HolidayEvent(new HDate(HDate.dayOnOrBefore(SAT$1, pesachAbs - 14) - 7), 'Shabbat Parah', SPECIAL_SHABBAT$1), new HolidayEvent(new HDate(HDate.dayOnOrBefore(SAT$1, pesachAbs - 14)), 'Shabbat HaChodesh', SPECIAL_SHABBAT$1), new HolidayEvent(new HDate(HDate.dayOnOrBefore(SAT$1, pesachAbs - 1)), 'Shabbat HaGadol', SPECIAL_SHABBAT$1), new HolidayEvent( // if the fast falls on Shabbat, move to Thursday
6611
6834
  pesach.prev().getDay() == SAT$1 ? pesach.onOrBefore(THU) : new HDate(14, NISAN$2, year), 'Ta\'anit Bechorot', MINOR_FAST$1));
6612
- addEvents(year, [[14, NISAN$2, 'Erev Pesach', EREV$1 | LIGHT_CANDLES$1], // Attributes for Israel and Diaspora are different
6613
- [15, NISAN$2, 'Pesach I', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1], [16, NISAN$2, 'Pesach II (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6614
- cholHaMoedDay: 1
6835
+ addEvents(year, [[14, NISAN$2, 'Erev Pesach', EREV$1 | LIGHT_CANDLES$1, {
6836
+ emoji: '🫓🍷'
6837
+ }], // Attributes for Israel and Diaspora are different
6838
+ [15, NISAN$2, 'Pesach I', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1, {
6839
+ emoji: emojiPesach
6840
+ }], [16, NISAN$2, 'Pesach II (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6841
+ cholHaMoedDay: 1,
6842
+ emoji: emojiPesach
6615
6843
  }], [17, NISAN$2, 'Pesach III (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6616
- cholHaMoedDay: 2
6844
+ cholHaMoedDay: 2,
6845
+ emoji: emojiPesach
6617
6846
  }], [18, NISAN$2, 'Pesach IV (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6618
- cholHaMoedDay: 3
6847
+ cholHaMoedDay: 3,
6848
+ emoji: emojiPesach
6619
6849
  }], [19, NISAN$2, 'Pesach V (CH\'\'M)', IL_ONLY$1 | CHOL_HAMOED$1, {
6620
- cholHaMoedDay: 4
6850
+ cholHaMoedDay: 4,
6851
+ emoji: emojiPesach
6621
6852
  }], [20, NISAN$2, 'Pesach VI (CH\'\'M)', LIGHT_CANDLES$1 | IL_ONLY$1 | CHOL_HAMOED$1, {
6622
- cholHaMoedDay: 5
6623
- }], [21, NISAN$2, 'Pesach VII', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1], [15, NISAN$2, 'Pesach I', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1], [16, NISAN$2, 'Pesach II', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1], [17, NISAN$2, 'Pesach III (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6624
- cholHaMoedDay: 1
6853
+ cholHaMoedDay: 5,
6854
+ emoji: emojiPesach
6855
+ }], [21, NISAN$2, 'Pesach VII', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1, {
6856
+ emoji: emojiPesach
6857
+ }], [15, NISAN$2, 'Pesach I', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1, {
6858
+ emoji: '🫓🍷'
6859
+ }], [16, NISAN$2, 'Pesach II', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1, {
6860
+ emoji: emojiPesach
6861
+ }], [17, NISAN$2, 'Pesach III (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6862
+ cholHaMoedDay: 1,
6863
+ emoji: emojiPesach
6625
6864
  }], [18, NISAN$2, 'Pesach IV (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6626
- cholHaMoedDay: 2
6865
+ cholHaMoedDay: 2,
6866
+ emoji: emojiPesach
6627
6867
  }], [19, NISAN$2, 'Pesach V (CH\'\'M)', CHUL_ONLY$1 | CHOL_HAMOED$1, {
6628
- cholHaMoedDay: 3
6868
+ cholHaMoedDay: 3,
6869
+ emoji: emojiPesach
6629
6870
  }], [20, NISAN$2, 'Pesach VI (CH\'\'M)', LIGHT_CANDLES$1 | CHUL_ONLY$1 | CHOL_HAMOED$1, {
6630
- cholHaMoedDay: 4
6631
- }], [21, NISAN$2, 'Pesach VII', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1], [22, NISAN$2, 'Pesach VIII', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1], [14, IYYAR, 'Pesach Sheni', MINOR_HOLIDAY$1], [18, IYYAR, 'Lag BaOmer', MINOR_HOLIDAY$1, {
6871
+ cholHaMoedDay: 4,
6872
+ emoji: emojiPesach
6873
+ }], [21, NISAN$2, 'Pesach VII', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1, {
6874
+ emoji: emojiPesach
6875
+ }], [22, NISAN$2, 'Pesach VIII', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1, {
6876
+ emoji: emojiPesach
6877
+ }], [14, IYYAR, 'Pesach Sheni', MINOR_HOLIDAY$1], [18, IYYAR, 'Lag BaOmer', MINOR_HOLIDAY$1, {
6632
6878
  emoji: '🔥'
6633
- }], [5, SIVAN$1, 'Erev Shavuot', EREV$1 | LIGHT_CANDLES$1, {
6634
- emoji: '⛰️🌸'
6635
- }], [6, SIVAN$1, 'Shavuot', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1, {
6636
- emoji: '⛰️🌸'
6637
- }], [6, SIVAN$1, 'Shavuot I', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1, {
6638
- emoji: '⛰️🌸'
6639
- }], [7, SIVAN$1, 'Shavuot II', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1, {
6640
- emoji: '⛰️🌸'
6641
- }], [15, AV, 'Tu B\'Av', MINOR_HOLIDAY$1, {
6879
+ }], [5, SIVAN$1, 'Erev Shavuot', EREV$1 | LIGHT_CANDLES$1, emojiShavuot], [6, SIVAN$1, 'Shavuot', CHAG | YOM_TOV_ENDS$1 | IL_ONLY$1, emojiShavuot], [6, SIVAN$1, 'Shavuot I', CHAG | LIGHT_CANDLES_TZEIS$1 | CHUL_ONLY$1, emojiShavuot], [7, SIVAN$1, 'Shavuot II', CHAG | YOM_TOV_ENDS$1 | CHUL_ONLY$1, emojiShavuot], [15, AV, 'Tu B\'Av', MINOR_HOLIDAY$1, {
6642
6880
  emoji: '❤️'
6643
6881
  }], [1, ELUL$1, 'Rosh Hashana LaBehemot', MINOR_HOLIDAY$1, {
6644
6882
  emoji: '🐑'
@@ -7040,7 +7278,7 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
7040
7278
  return new HDate(day, month, hyear);
7041
7279
  }
7042
7280
 
7043
- var version="3.33.5";
7281
+ var version="3.34.0";
7044
7282
 
7045
7283
  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};
7046
7284