@hebcal/core 6.1.0 → 6.3.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 +298 -18
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +7 -7
- package/dist/bundle.min.js.map +1 -1
- package/dist/esm/DailyLearning.js +1 -1
- package/dist/esm/HebrewDateEvent.js +1 -1
- package/dist/esm/HolidayEvent.js +1 -1
- package/dist/esm/MevarchimChodeshEvent.js +1 -1
- package/dist/esm/ParshaEvent.js +1 -1
- package/dist/esm/TimedEvent.js +3 -1
- package/dist/esm/TimedEvent.js.map +1 -1
- package/dist/esm/YomKippurKatanEvent.js +1 -1
- package/dist/esm/ashkenazi.po.js +1 -1
- package/dist/esm/calendar.js +21 -2
- package/dist/esm/calendar.js.map +1 -1
- package/dist/esm/candles.js +1 -1
- package/dist/esm/event.js +1 -1
- package/dist/esm/getStartAndEnd.js +1 -1
- package/dist/esm/hallel.js +1 -1
- package/dist/esm/he-x-NoNikud.po.d.ts +12 -0
- package/dist/esm/he-x-NoNikud.po.js +2 -2
- package/dist/esm/he-x-NoNikud.po.js.map +1 -1
- package/dist/esm/he.po.js +2 -2
- package/dist/esm/he.po.js.map +1 -1
- package/dist/esm/hebcal.js +1 -1
- package/dist/esm/holidays.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/isAssurBemlacha.js +1 -1
- package/dist/esm/locale.js +1 -1
- package/dist/esm/location.js +1 -1
- package/dist/esm/modern.js +1 -1
- package/dist/esm/molad.js +1 -1
- package/dist/esm/moladBase.js +1 -1
- package/dist/esm/moladDate.js +1 -1
- package/dist/esm/omer.d.ts +48 -0
- package/dist/esm/omer.js +60 -1
- package/dist/esm/omer.js.map +1 -1
- package/dist/esm/parshaName.js +1 -1
- package/dist/esm/parshaYear.js +1 -1
- package/dist/esm/pkgVersion.d.ts +1 -1
- package/dist/esm/pkgVersion.js +2 -2
- package/dist/esm/pkgVersion.js.map +1 -1
- package/dist/esm/reformatTimeStr.js +1 -1
- package/dist/esm/sedra.js +1 -1
- package/dist/esm/sefira.json.js +5 -0
- package/dist/esm/sefira.json.js.map +1 -0
- package/dist/esm/staticHolidays.js +1 -1
- package/dist/esm/tachanun.js +1 -1
- package/dist/esm/zmanim.d.ts +171 -11
- package/dist/esm/zmanim.js +214 -15
- package/dist/esm/zmanim.js.map +1 -1
- package/dist/src/TimedEvent.js +2 -0
- package/dist/src/calendar.js +20 -1
- package/dist/src/he-x-NoNikud.po.d.ts +12 -0
- package/dist/src/he-x-NoNikud.po.js +1 -1
- package/dist/src/he.po.js +1 -1
- package/dist/src/omer.d.ts +48 -0
- package/dist/src/omer.js +59 -0
- package/dist/src/pkgVersion.d.ts +1 -1
- package/dist/src/pkgVersion.js +1 -1
- package/dist/src/sefira.json +71 -0
- package/dist/src/zmanim.d.ts +171 -11
- package/dist/src/zmanim.js +213 -14
- package/package.json +3 -2
- package/dist/CalOptions.d.ts +0 -168
- package/dist/DailyLearning.d.ts +0 -32
- package/dist/HebrewDateEvent.d.ts +0 -37
- package/dist/HolidayEvent.d.ts +0 -84
- package/dist/MevarchimChodeshEvent.d.ts +0 -26
- package/dist/ParshaEvent.d.ts +0 -19
- package/dist/TimedEvent.d.ts +0 -47
- package/dist/YomKippurKatanEvent.d.ts +0 -23
- package/dist/ashkenazi.po.d.ts +0 -82
- package/dist/calendar.d.ts +0 -111
- package/dist/candles.d.ts +0 -44
- package/dist/coverage/block-navigation.d.ts +0 -1
- package/dist/coverage/block-navigation.js +0 -70
- package/dist/coverage/prettify.d.ts +0 -0
- package/dist/coverage/prettify.js +0 -477
- package/dist/coverage/sorter.d.ts +0 -1
- package/dist/coverage/sorter.js +0 -176
- package/dist/event.d.ts +0 -188
- package/dist/getStartAndEnd.d.ts +0 -6
- package/dist/hallel.d.ts +0 -6
- package/dist/he-x-NoNikud.po.d.ts +0 -16
- package/dist/he.po.d.ts +0 -215
- package/dist/hebcal.d.ts +0 -260
- package/dist/holidays.d.ts +0 -22
- package/dist/index.d.ts +0 -28
- package/dist/isAssurBemlacha.d.ts +0 -9
- package/dist/locale.d.ts +0 -1
- package/dist/location.d.ts +0 -73
- package/dist/modern.d.ts +0 -18
- package/dist/molad.d.ts +0 -132
- package/dist/moladBase.d.ts +0 -15
- package/dist/moladDate.d.ts +0 -12
- package/dist/omer.d.ts +0 -52
- package/dist/parshaName.d.ts +0 -2
- package/dist/parshaYear.d.ts +0 -9
- package/dist/pkgVersion.d.ts +0 -2
- package/dist/reformatTimeStr.d.ts +0 -8
- package/dist/sedra.d.ts +0 -95
- package/dist/staticHolidays.d.ts +0 -176
- package/dist/tachanun.d.ts +0 -29
- package/dist/zmanim.d.ts +0 -460
package/dist/bundle.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @hebcal/core v6.
|
|
1
|
+
/*! @hebcal/core v6.3.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
/** DO NOT EDIT THIS AUTO-GENERATED FILE! */
|
|
6
|
-
const version = '6.
|
|
6
|
+
const version = '6.3.0';
|
|
7
7
|
|
|
8
8
|
/*! @hebcal/hdate v0.22.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
9
9
|
/** @private */
|
|
@@ -1841,9 +1841,9 @@ function onOrBefore(day, t, offset) {
|
|
|
1841
1841
|
|
|
1842
1842
|
var poAshkenazi = { "headers": { "plural-forms": "nplurals=2; plural=(n > 1);", "language": "en_CA@ashkenazi" }, "contexts": { "": { "Shabbat": ["Shabbos"], "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"], "Pesach Shabbat Chol ha-Moed": ["Pesach Shabbos Chol ha-Moed"], "Purim Katan": ["Purim Koton"], "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)"], "Sukkot Shabbat Chol ha-Moed": ["Sukkos Shabbos Chol ha-Moed"], "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"], "Asara B'Tevet": ["Asara B’Teves"], "Birkat Hachamah": ["Birkas HaChamah"], "Birkat HaChamah": ["Birkas HaChamah"], "Shushan Purim Katan": ["Shushan Purim Koton"], "Alot HaShachar": ["Alos HaShachar"], "Misheyakir": ["Misheyakir"], "Misheyakir Machmir": ["Misheyakir Machmir"], "Sunrise": ["Sunrise"], "Kriat Shema, sof zeman": ["Krias Shema, sof zman"], "Tefilah, sof zeman": ["Tefilah, sof zman"], "Kriat Shema, sof zeman (MGA)": ["Krias Shema, sof zman (MGA)"], "Kriat Shema, sof zeman (GRA)": ["Krias Shema, sof zman (GRA)"], "Tefilah, sof zeman (MGA)": ["Tefilah, sof zman (MGA)"], "Tefilah, sof zeman (GRA)": ["Tefilah, sof zman (GRA)"], "Chatzot HaLailah": ["Chatzos HaLailah"], "Chatzot HaYom": ["Chatzos"], "Chatzot hayom": ["Chatzos"], "Mincha Gedolah": ["Mincha Gedolah"], "Mincha Ketanah": ["Mincha Ketanah"], "Plag HaMincha": ["Plag HaMincha"], "Sunset": ["Sunset"], "Bein HaShemashot": ["Bein HaShemashos"], "Tzeit HaKochavim": ["Tzeis HaKochavim"] } } };
|
|
1843
1843
|
|
|
1844
|
-
var poHe = { "headers": { "plural-forms": "nplurals=2; plural=(n > 1);", "language": "he_IL" }, "contexts": { "": { "Shabbat": ["שַׁבָּת"], "Parashat": ["פָּרָשַׁת"], "Achrei Mot": ["אַחֲרֵי מוֹת"], "Balak": ["בָּלָק"], "Bamidbar": ["בְּמִדְבַּר"], "Bechukotai": ["בְּחֻקֹּתַי"], "Beha'alotcha": ["בְּהַעֲלֹתְךָ"], "Behar": ["בְּהַר"], "Bereshit": ["בְּרֵאשִׁית"], "Beshalach": ["בְּשַׁלַּח"], "Bo": ["בֹּא"], "Chayei Sara": ["חַיֵּי שָֹרָה"], "Chukat": ["חֻקַּת"], "Devarim": ["דְּבָרִים"], "Eikev": ["עֵקֶב"], "Emor": ["אֱמוֹר"], "Ha'azinu": ["הַאֲזִינוּ"], "Kedoshim": ["קְדֹשִׁים"], "Ki Tavo": ["כִּי־תָבוֹא"], "Ki Teitzei": ["כִּי־תֵצֵא"], "Ki Tisa": ["כִּי תִשָּׂא"], "Korach": ["קֹרַח"], "Lech-Lecha": ["לֶךְ־לְךָ"], "Masei": ["מַסְעֵי"], "Matot": ["מַטּוֹת"], "Metzora": ["מְצֹרָע"], "Miketz": ["מִקֵּץ"], "Mishpatim": ["מִשְׁפָּטִים"], "Nasso": ["נָשׂא"], "Nitzavim": ["נִצָּבִים"], "Noach": ["נֹחַ"], "Pekudei": ["פְקוּדֵי"], "Pinchas": ["פִּינְחָס"], "Re'eh": ["רְאֵה"], "Sh'lach": ["שְׁלַח־לְךָ"], "Shemot": ["שְׁמוֹת"], "Shmini": ["שְּׁמִינִי"], "Shoftim": ["שׁוֹפְטִים"], "Tazria": ["תַזְרִיעַ"], "Terumah": ["תְּרוּמָה"], "Tetzaveh": ["תְּצַוֶּה"], "Toldot": ["תּוֹלְדוֹת"], "Tzav": ["צַו"], "Vaera": ["וָאֵרָא"], "Vaetchanan": ["וָאֶתְחַנַּן"], "Vayakhel": ["וַיַּקְהֵל"], "Vayechi": ["וַיְחִי"], "Vayeilech": ["וַיֵּלֶךְ"], "Vayera": ["וַיֵּרָא"], "Vayeshev": ["וַיֵּשֶׁב"], "Vayetzei": ["וַיֵּצֵא"], "Vayigash": ["וַיִּגַּשׁ"], "Vayikra": ["וַיִּקְרָא"], "Vayishlach": ["וַיִּשְׁלַח"], "Vezot Haberakhah": ["וְזֹאת הַבְּרָכָה"], "Yitro": ["יִתְרוֹ"], "Asara B'Tevet": ["עֲשָׂרָה בְּטֵבֵת"], "Candle lighting": ["הַדְלָקַת נֵרוֹת"], "Chanukah": ["חֲנוּכָּה"], "Chanukah: 1 Candle": ["חֲנוּכָּה: א׳ נֵר"], "Chanukah: 2 Candles": ["חֲנוּכָּה: ב׳ נֵרוֹת"], "Chanukah: 3 Candles": ["חֲנוּכָּה: ג׳ נֵרוֹת"], "Chanukah: 4 Candles": ["חֲנוּכָּה: ד׳ נֵרוֹת"], "Chanukah: 5 Candles": ["חֲנוּכָּה: ה׳ נֵרוֹת"], "Chanukah: 6 Candles": ["חֲנוּכָּה: ו׳ נֵרוֹת"], "Chanukah: 7 Candles": ["חֲנוּכָּה: ז׳ נֵרוֹת"], "Chanukah: 8 Candles": ["חֲנוּכָּה: ח׳ נֵרוֹת"], "Chanukah: 8th Day": ["חֲנוּכָּה: יוֹם ח׳"], "Days of the Omer": ["סְפִירַת הָעוֹמֶר"], "Omer": ["עוֹמֶר"], "day of the Omer": ["בָּעוֹמֶר"], "Erev Pesach": ["עֶרֶב פֶּסַח"], "Erev Purim": ["עֶרֶב פּוּרִים"], "Erev Rosh Hashana": ["עֶרֶב רֹאשׁ הַשָּׁנָה"], "Erev Shavuot": ["עֶרֶב שָׁבוּעוֹת"], "Erev Simchat Torah": ["עֶרֶב שִׂמְחַת תּוֹרָה"], "Erev Sukkot": ["עֶרֶב
|
|
1844
|
+
var poHe = { "headers": { "plural-forms": "nplurals=2; plural=(n > 1);", "language": "he_IL" }, "contexts": { "": { "Shabbat": ["שַׁבָּת"], "Parashat": ["פָּרָשַׁת"], "Achrei Mot": ["אַחֲרֵי מוֹת"], "Balak": ["בָּלָק"], "Bamidbar": ["בְּמִדְבַּר"], "Bechukotai": ["בְּחֻקֹּתַי"], "Beha'alotcha": ["בְּהַעֲלֹתְךָ"], "Behar": ["בְּהַר"], "Bereshit": ["בְּרֵאשִׁית"], "Beshalach": ["בְּשַׁלַּח"], "Bo": ["בֹּא"], "Chayei Sara": ["חַיֵּי שָֹרָה"], "Chukat": ["חֻקַּת"], "Devarim": ["דְּבָרִים"], "Eikev": ["עֵקֶב"], "Emor": ["אֱמוֹר"], "Ha'azinu": ["הַאֲזִינוּ"], "Kedoshim": ["קְדֹשִׁים"], "Ki Tavo": ["כִּי־תָבוֹא"], "Ki Teitzei": ["כִּי־תֵצֵא"], "Ki Tisa": ["כִּי תִשָּׂא"], "Korach": ["קֹרַח"], "Lech-Lecha": ["לֶךְ־לְךָ"], "Masei": ["מַסְעֵי"], "Matot": ["מַטּוֹת"], "Metzora": ["מְצֹרָע"], "Miketz": ["מִקֵּץ"], "Mishpatim": ["מִשְׁפָּטִים"], "Nasso": ["נָשׂא"], "Nitzavim": ["נִצָּבִים"], "Noach": ["נֹחַ"], "Pekudei": ["פְקוּדֵי"], "Pinchas": ["פִּינְחָס"], "Re'eh": ["רְאֵה"], "Sh'lach": ["שְׁלַח־לְךָ"], "Shemot": ["שְׁמוֹת"], "Shmini": ["שְּׁמִינִי"], "Shoftim": ["שׁוֹפְטִים"], "Tazria": ["תַזְרִיעַ"], "Terumah": ["תְּרוּמָה"], "Tetzaveh": ["תְּצַוֶּה"], "Toldot": ["תּוֹלְדוֹת"], "Tzav": ["צַו"], "Vaera": ["וָאֵרָא"], "Vaetchanan": ["וָאֶתְחַנַּן"], "Vayakhel": ["וַיַּקְהֵל"], "Vayechi": ["וַיְחִי"], "Vayeilech": ["וַיֵּלֶךְ"], "Vayera": ["וַיֵּרָא"], "Vayeshev": ["וַיֵּשֶׁב"], "Vayetzei": ["וַיֵּצֵא"], "Vayigash": ["וַיִּגַּשׁ"], "Vayikra": ["וַיִּקְרָא"], "Vayishlach": ["וַיִּשְׁלַח"], "Vezot Haberakhah": ["וְזֹאת הַבְּרָכָה"], "Yitro": ["יִתְרוֹ"], "Asara B'Tevet": ["עֲשָׂרָה בְּטֵבֵת"], "Candle lighting": ["הַדְלָקַת נֵרוֹת"], "Chanukah": ["חֲנוּכָּה"], "Chanukah: 1 Candle": ["חֲנוּכָּה: א׳ נֵר"], "Chanukah: 2 Candles": ["חֲנוּכָּה: ב׳ נֵרוֹת"], "Chanukah: 3 Candles": ["חֲנוּכָּה: ג׳ נֵרוֹת"], "Chanukah: 4 Candles": ["חֲנוּכָּה: ד׳ נֵרוֹת"], "Chanukah: 5 Candles": ["חֲנוּכָּה: ה׳ נֵרוֹת"], "Chanukah: 6 Candles": ["חֲנוּכָּה: ו׳ נֵרוֹת"], "Chanukah: 7 Candles": ["חֲנוּכָּה: ז׳ נֵרוֹת"], "Chanukah: 8 Candles": ["חֲנוּכָּה: ח׳ נֵרוֹת"], "Chanukah: 8th Day": ["חֲנוּכָּה: יוֹם ח׳"], "Days of the Omer": ["סְפִירַת הָעוֹמֶר"], "Omer": ["עוֹמֶר"], "day of the Omer": ["בָּעוֹמֶר"], "Erev Pesach": ["עֶרֶב פֶּסַח"], "Erev Purim": ["עֶרֶב פּוּרִים"], "Erev Rosh Hashana": ["עֶרֶב רֹאשׁ הַשָּׁנָה"], "Erev Shavuot": ["עֶרֶב שָׁבוּעוֹת"], "Erev Simchat Torah": ["עֶרֶב שִׂמְחַת תּוֹרָה"], "Erev Sukkot": ["עֶרֶב סֻכּוֹת"], "Erev Tish'a B'Av": ["עֶרֶב תִּשְׁעָה בְּאָב"], "Erev Yom Kippur": ["עֶרֶב יוֹם כִּפּוּר"], "Havdalah": ["הַבְדָּלָה"], "Lag BaOmer": ["ל״ג בָּעוֹמֶר"], "Leil Selichot": ["סְלִיחוֹת"], "Pesach": ["פֶּסַח"], "Pesach I": ["פֶּסַח א׳"], "Pesach II": ["פֶּסַח ב׳"], "Pesach II (CH''M)": ["פֶּסַח ב׳ (חוה״מ)"], "Pesach III (CH''M)": ["פֶּסַח ג׳ (חוה״מ)"], "Pesach IV (CH''M)": ["פֶּסַח ד׳ (חוה״מ)"], "Pesach Sheni": ["פֶּסַח שֵׁנִי"], "Pesach V (CH''M)": ["פֶּסַח ה׳ (חוה״מ)"], "Pesach VI (CH''M)": ["פֶּסַח ו׳ (חוה״מ)"], "Pesach VII": ["פֶּסַח ז׳"], "Pesach VIII": ["פֶּסַח ח׳"], "Pesach Shabbat Chol ha-Moed": ["פֶּסַח שַׁבָּת חֹל הַמּוֹעֵד"], "Purim": ["פּוּרִים"], "Purim Katan": ["פּוּרִים קָטָן"], "Rosh Chodesh %s": ["רֹאשׁ חוֹדֶשׁ %s"], "Rosh Chodesh": ["רֹאשׁ חוֹדֶשׁ"], "Rosh Hashana": ["רֹאשׁ הַשָּׁנָה"], "Rosh Hashana I": ["רֹאשׁ הַשָּׁנָה א׳"], "Rosh Hashana II": ["רֹאשׁ הַשָּׁנָה ב׳"], "Shabbat Chazon": ["שַׁבַּת חֲזוֹן"], "Shabbat HaChodesh": ["שַׁבַּת הַחֹדֶשׁ"], "Shabbat HaGadol": ["שַׁבַּת הַגָּדוֹל"], "Shabbat Nachamu": ["שַׁבַּת נַחֲמוּ"], "Shabbat Parah": ["שַׁבַּת פָּרָה"], "Shabbat Shekalim": ["שַׁבַּת שְׁקָלִים"], "Shabbat Shuva": ["שַׁבַּת שׁוּבָה"], "Shabbat Zachor": ["שַׁבַּת זָכוֹר"], "Shavuot": ["שָׁבוּעוֹת"], "Shavuot I": ["שָׁבוּעוֹת א׳"], "Shavuot II": ["שָׁבוּעוֹת ב׳"], "Shmini Atzeret": ["שְׁמִינִי עֲצֶרֶת"], "Shushan Purim": ["שׁוּשָׁן פּוּרִים"], "Sigd": ["חַג הַסִּיגְד"], "Simchat Torah": ["שִׂמְחַת תּוֹרָה"], "Sukkot": ["סֻכּוֹת"], "Sukkot I": ["סֻכּוֹת א׳"], "Sukkot II": ["סֻכּוֹת ב׳"], "Sukkot II (CH''M)": ["סֻכּוֹת ב׳ (חוה״מ)"], "Sukkot III (CH''M)": ["סֻכּוֹת ג׳ (חוה״מ)"], "Sukkot IV (CH''M)": ["סֻכּוֹת ד׳ (חוה״מ)"], "Sukkot V (CH''M)": ["סֻכּוֹת ה׳ (חוה״מ)"], "Sukkot VI (CH''M)": ["סֻכּוֹת ו׳ (חוה״מ)"], "Sukkot VII (Hoshana Raba)": ["סֻכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"], "Sukkot Shabbat Chol ha-Moed": ["סֻכּוֹת שַׁבָּת חֹל הַמּוֹעֵד"], "Ta'anit Bechorot": ["תַּעֲנִית בְּכוֹרוֹת"], "Ta'anit Esther": ["תַּעֲנִית אֶסְתֵּר"], "Tish'a B'Av": ["תִּשְׁעָה בְּאָב"], "Tu B'Av": ["ט״וּ בְּאָב"], "Tu BiShvat": ["ט״וּ בִּשְׁבָט"], "Tu B'Shvat": ["ט״וּ בִּשְׁבָט"], "Tzom Gedaliah": ["צוֹם גְּדַלְיָה"], "Tzom Tammuz": ["צוֹם י״ז בְּתַמּוּז"], "Yom HaAtzma'ut": ["יוֹם הָעַצְמָאוּת"], "Yom HaShoah": ["יוֹם הַשּׁוֹאָה"], "Yom HaZikaron": ["יוֹם הַזִּכָּרוֹן"], "Yom Kippur": ["יוֹם כִּפּוּר"], "Yom Yerushalayim": ["יוֹם יְרוּשָׁלַיִם"], "Yom HaAliyah": ["יוֹם הַעֲלִיָּה"], "Yom HaAliyah School Observance": ["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"], "Rosh Chodesh Adar": ["רֹאשׁ חוֹדֶשׁ אֲדָר"], "Rosh Chodesh Adar I": ["רֹאשׁ חוֹדֶשׁ אֲדָר א׳"], "Rosh Chodesh Adar II": ["רֹאשׁ חוֹדֶשׁ אֲדָר ב׳"], "Rosh Chodesh Av": ["רֹאשׁ חוֹדֶשׁ אָב"], "Rosh Chodesh Cheshvan": ["רֹאשׁ חוֹדֶשׁ חֶשְׁוָן"], "Rosh Chodesh Elul": ["רֹאשׁ חוֹדֶשׁ אֱלוּל"], "Rosh Chodesh Iyyar": ["רֹאשׁ חוֹדֶשׁ אִיָּיר"], "Rosh Chodesh Kislev": ["רֹאשׁ חוֹדֶשׁ כִּסְלֵו"], "Rosh Chodesh Nisan": ["רֹאשׁ חוֹדֶשׁ נִיסָן"], "Rosh Chodesh Sh'vat": ["רֹאשׁ חוֹדֶשׁ שְׁבָט"], "Rosh Chodesh Sivan": ["רֹאשׁ חוֹדֶשׁ סִיוָן"], "Rosh Chodesh Tamuz": ["רֹאשׁ חוֹדֶשׁ תַּמּוּז"], "Rosh Chodesh Tammuz": ["רֹאשׁ חוֹדֶשׁ תַּמּוּז"], "Rosh Chodesh Tevet": ["רֹאשׁ חוֹדֶשׁ טֵבֵת"], "min": ["דַּקּוֹת"], "Fast begins": ["תְּחִילַּת הַצוֹם"], "Fast ends": ["סִיּוּם הַצוֹם"], "Rosh Hashana LaBehemot": ["רֹאשׁ הַשָּׁנָה לְמַעְשַׂר בְּהֵמָה"], "Tish'a B'Av (observed)": ["(תִּשְׁעָה בְּאָב (נִדְחָה"], "Shabbat Mevarchim Chodesh": ["שַׁבַּת מְבָרְכִים חוֹדֶשׁ"], "Shabbat Shirah": ["שַׁבַּת שִׁירָה"], "Lovingkindness": ["חֶסֶד"], "Might": ["גְּבוּרָה"], "Beauty": ["תִּפְאֶרֶת"], "Eternity": ["נֶּצַח"], "Splendor": ["הוֹד"], "Foundation": ["יְּסוֹד"], "Majesty": ["מַּלְכוּת"], "day": ["יוֹם"], "Yom Kippur Katan": ["יוֹם כִּפּוּר קָטָן"], "Yizkor": ["יִזְכּוֹר"], "Family Day": ["יוֹם הַמִּשׁפָּחָה"], "Yitzhak Rabin Memorial Day": ["יוֹם הַזִּכָּרוֹן לְיִצְחָק רַבִּין"], "Jabotinsky Day": ["יוֹם זַ׳בּוֹטִינְסְקִי"], "Herzl Day": ["יוֹם הֵרְצְל"], "Ben-Gurion Day": ["יוֹם בן־גוריון"], "Hebrew Language Day": ["יוֹם הַשָׂפָה הַעִברִית"], "Birkat Hachamah": ["בִּרְכַּת הַחַמָּה"], "Birkat HaChamah": ["בִּרְכַּת הַחַמָּה"], "Shushan Purim Katan": ["שׁוּשָׁן פּוּרִים קָטָן"], "Purim Meshulash": ["פּוּרִים מְשׁוּלָּשׁ"], "Chag HaBanot": ["חַג הַבָּנוֹת"], "Molad": ["מוֹלָד הָלְּבָנָה"], "chalakim": ["חֲלָקִים"], "Alot HaShachar": ["עֲלוֹת הַשַּׁחַר"], "Misheyakir": ["מִשֶּׁיַּכִּיר"], "Misheyakir Machmir": ["מִשֶּׁיַּכִּיר מַחְמִיר"], "Sunrise": ["נֵץ הַחַמָּה"], "Kriat Shema, sof zeman": ["סוֹף זְמַן קְרִיאַת שְׁמַע"], "Tefilah, sof zeman": ["סוֹף זְמַן תְּפִלָּה"], "Kriat Shema, sof zeman (MGA)": ["סוֹף זְמַן קְרִיאַת שְׁמַע (מג״א)"], "Kriat Shema, sof zeman (GRA)": ["סוֹף זְמַן קְרִיאַת שְׁמַע (גְּרָ״א)"], "Tefilah, sof zeman (MGA)": ["סוֹף זְמַן תְּפִלָּה (מג״א)"], "Tefilah, sof zeman (GRA)": ["סוֹף זְמַן תְּפִלָּה (גְּרָ״א)"], "Chatzot HaLailah": ["חֲצוֹת הַלַּיְלָה"], "Chatzot HaYom": ["חֲצוֹת הַיּוֹם"], "Chatzot hayom": ["חֲצוֹת הַיּוֹם"], "Mincha Gedolah": ["מִנְחָה גְּדוֹלָה"], "Mincha Ketanah": ["מִנְחָה קְטַנָּה"], "Plag HaMincha": ["פְּלַג הַמִּנְחָה"], "Sunset": ["שְׁקִיעַת הַחַמָּה"], "Bein HaShemashot": ["בֵּין הַשְּׁמָשׁוֹת"], "Tzeit HaKochavim": ["צֵאת הַכּוֹכָבִים"] } } };
|
|
1845
1845
|
|
|
1846
|
-
var noNikudOverride = { "headers": { "plural-forms": "nplurals=2; plural=(n != 1);", "language": "he-x-NoNikud" }, "contexts": { "": { "Korach": ["קורח"], "Chukat": ["חוקת"], "Erev Yom Kippur": ["ערב יום כיפור"], "Yom Kippur": ["יום כיפור"], "Yom Kippur Katan": ["יום כיפור קטן"] } } };
|
|
1846
|
+
var noNikudOverride = { "headers": { "plural-forms": "nplurals=2; plural=(n != 1);", "language": "he-x-NoNikud" }, "contexts": { "": { "Korach": ["קורח"], "Chukat": ["חוקת"], "Erev Yom Kippur": ["ערב יום כיפור"], "Yom Kippur": ["יום כיפור"], "Yom Kippur Katan": ["יום כיפור קטן"], "Pesach Shabbat Chol ha-Moed": ["פסח שבת חול המועד"], "Sukkot Shabbat Chol ha-Moed": ["סוכות שבת חול המועד"], "Erev Sukkot": ["ערב סוכות"], "Sukkot": ["סוכות"], "Sukkot I": ["סוכות א׳"], "Sukkot II": ["סוכות ב׳"], "Sukkot II (CH''M)": ["סוכות ב׳ (חוה״מ)"], "Sukkot III (CH''M)": ["סוכות ג׳ (חוה״מ)"], "Sukkot IV (CH''M)": ["סוכות ד׳ (חוה״מ)"], "Sukkot V (CH''M)": ["סוכות ה׳ (חוה״מ)"], "Sukkot VI (CH''M)": ["סוכות ו׳ (חוה״מ)"], "Sukkot VII (Hoshana Raba)": ["סוכות ז׳ (הושענא רבה)"] } } };
|
|
1847
1847
|
|
|
1848
1848
|
Locale.addTranslations('he', poHe);
|
|
1849
1849
|
Locale.addTranslations('ashkenazi', poAshkenazi);
|
|
@@ -7997,6 +7997,19 @@ function getDate(date) {
|
|
|
7997
7997
|
return date.greg();
|
|
7998
7998
|
throw new TypeError(`invalid date: ${date}`);
|
|
7999
7999
|
}
|
|
8000
|
+
/**
|
|
8001
|
+
* The zenith of astronomical sunrise and sunset. The sun is 90° from the vertical 0°
|
|
8002
|
+
*/
|
|
8003
|
+
const GEOMETRIC_ZENITH = 90;
|
|
8004
|
+
/**
|
|
8005
|
+
* The zenith of 1.583° below {@link GEOMETRIC_ZENITH geometric zenith} (90°). This calculation is used for
|
|
8006
|
+
* calculating _netz amiti_ (sunrise) and _shkiah amiti_ (sunset) based on the opinion of the
|
|
8007
|
+
* <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>.
|
|
8008
|
+
*
|
|
8009
|
+
* @see Zmanim.sunriseBaalHatanya()
|
|
8010
|
+
* @see Zmanim.sunsetBaalHatanya()
|
|
8011
|
+
*/
|
|
8012
|
+
const ZENITH_1_POINT_583 = GEOMETRIC_ZENITH + 1.583;
|
|
8000
8013
|
/**
|
|
8001
8014
|
* Calculate halachic times (zmanim / זְמַנִּים) for a given day and location.
|
|
8002
8015
|
* Calculations are available for tzeit / tzais (nightfall),
|
|
@@ -8068,7 +8081,7 @@ class Zmanim {
|
|
|
8068
8081
|
* @param rising
|
|
8069
8082
|
*/
|
|
8070
8083
|
timeAtAngle(angle, rising) {
|
|
8071
|
-
const offsetZenith =
|
|
8084
|
+
const offsetZenith = GEOMETRIC_ZENITH + angle;
|
|
8072
8085
|
const zdt = rising
|
|
8073
8086
|
? this.noaa.getSunriseOffsetByDegrees(offsetZenith)
|
|
8074
8087
|
: this.noaa.getSunsetOffsetByDegrees(offsetZenith);
|
|
@@ -8200,6 +8213,12 @@ class Zmanim {
|
|
|
8200
8213
|
misheyakirMachmir() {
|
|
8201
8214
|
return this.timeAtAngle(10.2, true);
|
|
8202
8215
|
}
|
|
8216
|
+
getShaahZmanisBasedZmanZdt(startOfDay, endOfDay, hours) {
|
|
8217
|
+
const temporalHour = this.noaa.getTemporalHour(startOfDay, endOfDay);
|
|
8218
|
+
const offset = Math.trunc(temporalHour * hours);
|
|
8219
|
+
const zdt = NOAACalculator.getTimeOffset(startOfDay, offset);
|
|
8220
|
+
return zdt;
|
|
8221
|
+
}
|
|
8203
8222
|
/**
|
|
8204
8223
|
* Utility method for using elevation-aware sunrise/sunset
|
|
8205
8224
|
* @private
|
|
@@ -8212,9 +8231,7 @@ class Zmanim {
|
|
|
8212
8231
|
const endOfDay = this.useElevation
|
|
8213
8232
|
? this.noaa.getSunset()
|
|
8214
8233
|
: this.noaa.getSeaLevelSunset();
|
|
8215
|
-
const
|
|
8216
|
-
const offset = Math.round(temporalHour * hours);
|
|
8217
|
-
const zdt = NOAACalculator.getTimeOffset(startOfDay, offset);
|
|
8234
|
+
const zdt = this.getShaahZmanisBasedZmanZdt(startOfDay, endOfDay, hours);
|
|
8218
8235
|
return zdtToDate(zdt);
|
|
8219
8236
|
}
|
|
8220
8237
|
/**
|
|
@@ -8239,6 +8256,20 @@ class Zmanim {
|
|
|
8239
8256
|
// Gra
|
|
8240
8257
|
return this.getShaahZmanisBasedZman(4);
|
|
8241
8258
|
}
|
|
8259
|
+
/**
|
|
8260
|
+
* This method returns the latest time for burning _chametz_ on _Erev Pesach_ according to the opinion
|
|
8261
|
+
* of the <a href="https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a>. This time is 5 hours into the day based on the
|
|
8262
|
+
* opinion of the <a href="https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a> that the day is calculated from
|
|
8263
|
+
* sunrise to sunset. This returns the time 5 * {@link #getShaahZmanisGra()} after {@link #getSeaLevelSunrise() sea
|
|
8264
|
+
* level sunrise}.
|
|
8265
|
+
* @return the <code>Date</code> of the latest time for burning _chametz_ on _Erev Pesach_. If it is not
|
|
8266
|
+
* _erev Pesach_ or the calculation can't be computed such as in the Arctic Circle where there is at least
|
|
8267
|
+
* one day a year where the sun does not rise, and one where it does not set, a <code>null</code> will be
|
|
8268
|
+
* returned.
|
|
8269
|
+
*/
|
|
8270
|
+
sofZmanBiurChametzGRA() {
|
|
8271
|
+
return this.getShaahZmanisBasedZman(5);
|
|
8272
|
+
}
|
|
8242
8273
|
/**
|
|
8243
8274
|
* Returns an array with alot (Date) and ms in hour (number)
|
|
8244
8275
|
* @private
|
|
@@ -8471,7 +8502,7 @@ class Zmanim {
|
|
|
8471
8502
|
* is it the start of _Kiddush Levana_ time or the end? If it is start roll it to the next _tzais_,
|
|
8472
8503
|
* and if it is the end, return the end of the previous night (_alos_ passed in). Ignored if either
|
|
8473
8504
|
* _alos_ or _tzais_ are null.
|
|
8474
|
-
* @return the _molad_ based time. If the _zman_ does not occur during the current date,
|
|
8505
|
+
* @return the _molad_ based time. If the _zman_ does not occur during the current date, `null` will be
|
|
8475
8506
|
* returned.
|
|
8476
8507
|
*/
|
|
8477
8508
|
getMoladBasedTime(moladBasedTime, alos, tzais, techila) {
|
|
@@ -8503,7 +8534,7 @@ class Zmanim {
|
|
|
8503
8534
|
* halfway between _molad_ and _molad_. This adds half the 29 days, 12 hours and 793 chalakim time between
|
|
8504
8535
|
* _molad_ and _molad_ (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's _molad_.
|
|
8505
8536
|
* The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to between
|
|
8506
|
-
* _tzais_ and _alos_, see {@link
|
|
8537
|
+
* _tzais_ and _alos_, see {@link getSofZmanKidushLevanaBetweenMoldos}.
|
|
8507
8538
|
*
|
|
8508
8539
|
* @param alos
|
|
8509
8540
|
* the beginning of the Jewish day. If _Kidush Levana_ occurs during the day (starting at _alos_ and
|
|
@@ -8515,7 +8546,7 @@ class Zmanim {
|
|
|
8515
8546
|
* adjustment will be made.
|
|
8516
8547
|
* @return the Date representing the moment halfway between molad and molad. If the time occurs between
|
|
8517
8548
|
* _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this
|
|
8518
|
-
* day, a
|
|
8549
|
+
* day, a `null` will be returned.
|
|
8519
8550
|
*/
|
|
8520
8551
|
getSofZmanKidushLevanaBetweenMoldos(alos = null, tzais = null) {
|
|
8521
8552
|
const hd = this.getHDate();
|
|
@@ -8534,15 +8565,15 @@ class Zmanim {
|
|
|
8534
8565
|
* the Shulchan Aruch (Orach Chaim 426). It should be noted that some opinions hold that the
|
|
8535
8566
|
* <a href="https://en.wikipedia.org/wiki/Moses_Isserles">Rema</a> who brings down the opinion of the <a
|
|
8536
8567
|
* href="https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin">Maharil's</a> of calculating
|
|
8537
|
-
* {@link
|
|
8568
|
+
* {@link getSofZmanKidushLevanaBetweenMoldos half way between _molad_ and _molad_} is of
|
|
8538
8569
|
* the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on the subject,
|
|
8539
8570
|
* See Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of <a href="https://hebrewbooks.org/53000">Shaarei
|
|
8540
8571
|
* Zmanim</a>. The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to
|
|
8541
|
-
* between _tzais_ and _alos_, see {@link
|
|
8572
|
+
* between _tzais_ and _alos_, see {@link getSofZmanKidushLevana15Days}.
|
|
8542
8573
|
*
|
|
8543
8574
|
* @return the Date representing the moment 15 days after the _molad_. If the time occurs between
|
|
8544
8575
|
* _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this day, a
|
|
8545
|
-
*
|
|
8576
|
+
* `null` will be returned.
|
|
8546
8577
|
*
|
|
8547
8578
|
*
|
|
8548
8579
|
*/
|
|
@@ -8576,7 +8607,7 @@ class Zmanim {
|
|
|
8576
8607
|
*
|
|
8577
8608
|
* @return the Date representing the moment 3 days after the molad. If the time occurs between _alos_ and
|
|
8578
8609
|
* _tzais_, _tzais_ will be returned. If the _zman_ will not occur on this day, a
|
|
8579
|
-
*
|
|
8610
|
+
* `null` will be returned.
|
|
8580
8611
|
*/
|
|
8581
8612
|
getTchilasZmanKidushLevana3Days(alos = null, tzais = null) {
|
|
8582
8613
|
const hd = this.getHDate();
|
|
@@ -8605,7 +8636,7 @@ class Zmanim {
|
|
|
8605
8636
|
* {@link HebrewDateFormatter} that will have formatting for this.
|
|
8606
8637
|
*
|
|
8607
8638
|
* @return the Date representing the moment of the molad. If the _molad_ does not occur on this day, a
|
|
8608
|
-
*
|
|
8639
|
+
* `null` will be returned.
|
|
8609
8640
|
*
|
|
8610
8641
|
*/
|
|
8611
8642
|
getZmanMolad() {
|
|
@@ -8629,10 +8660,10 @@ class Zmanim {
|
|
|
8629
8660
|
/**
|
|
8630
8661
|
* Returns the earliest time of _Kiddush Levana_ according to the opinions that it should not be said until 7
|
|
8631
8662
|
* days after the _molad_. The time will be returned even if it occurs during the day when _Kiddush Levana_
|
|
8632
|
-
* can't be recited. Use {@link
|
|
8663
|
+
* can't be recited. Use {@link getTchilasZmanKidushLevana7Days} if you want to limit the time to night hours.
|
|
8633
8664
|
*
|
|
8634
8665
|
* @return the Date representing the moment 7 days after the molad regardless of it is day or night. If the _zman_
|
|
8635
|
-
* will not occur on this day, a
|
|
8666
|
+
* will not occur on this day, a `null` will be returned.
|
|
8636
8667
|
*/
|
|
8637
8668
|
getTchilasZmanKidushLevana7Days(alos = null, tzais = null) {
|
|
8638
8669
|
const hd = this.getHDate();
|
|
@@ -8647,6 +8678,174 @@ class Zmanim {
|
|
|
8647
8678
|
const molad = new Molad(hd.getFullYear(), hd.getMonth());
|
|
8648
8679
|
return this.getMoladBasedTime(molad.getTchilasZmanKidushLevana7Days(), alos, tzais, true);
|
|
8649
8680
|
}
|
|
8681
|
+
/**
|
|
8682
|
+
* A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
|
|
8683
|
+
* _netz amiti_ (sunrise) without
|
|
8684
|
+
* elevation adjustment. This forms the base for the Baal Hatanya's dawn-based calculations that are
|
|
8685
|
+
* calculated as a dip below the horizon before sunrise.
|
|
8686
|
+
*
|
|
8687
|
+
* According to the Baal Hatanya, _netz amiti_, or true (halachic) sunrise, is when the top of the sun's
|
|
8688
|
+
* disk is visible at an elevation similar to the mountains of Eretz Yisrael. The time is calculated as the point at which
|
|
8689
|
+
* the center of the sun's disk is 1.583° below the horizon. This degree-based calculation can be found in Rabbi Shalom
|
|
8690
|
+
* DovBer Levine's commentary on The <a href="https://www.chabadlibrary.org/books/pdf/Seder-Hachnosas-Shabbos.pdf">Baal
|
|
8691
|
+
* Hatanya's Seder Hachnasas Shabbos</a>. From an elevation of 546 meters, the top of <a href=
|
|
8692
|
+
* "https://en.wikipedia.org/wiki/Mount_Carmel">Har Hacarmel</a>, the sun disappears when it is 1° 35' or 1.583°
|
|
8693
|
+
* below the sea level horizon. This in turn is based on the Gemara <a href=
|
|
8694
|
+
* "https://hebrewbooks.org/shas.aspx?mesechta=2&daf=35">Shabbos 35a</a>. There are other opinions brought down by
|
|
8695
|
+
* Rabbi Levine, including Rabbi Yosef Yitzchok Feigelstock who calculates it as the degrees below the horizon 4 minutes after
|
|
8696
|
+
* sunset in Yerushalayim (on the equinox). That is brought down as 1.583°. This is identical to the 1° 35' _zman_
|
|
8697
|
+
* and is probably a typo and should be 1.683°. These calculations are used by most <a href=
|
|
8698
|
+
* "https://en.wikipedia.org/wiki/Chabad">Chabad</a> calendars that use the Baal Hatanya's _zmanim_. See
|
|
8699
|
+
* <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
|
|
8700
|
+
* _Zmanim_ Calculations @ Chabad.org</a>.
|
|
8701
|
+
*
|
|
8702
|
+
* Note: _netz amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
|
|
8703
|
+
* practical purposes, daytime _mitzvos_ like _shofar_ and _lulav_ should not be done until after the
|
|
8704
|
+
* published time for _netz_ / sunrise.
|
|
8705
|
+
*
|
|
8706
|
+
* @return the <code>Date</code> representing the exact sea level _netz amiti_ (sunrise) time. If the calculation can't be
|
|
8707
|
+
* computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise, and one
|
|
8708
|
+
* where it does not set, a `null` will be returned. See detailed explanation on top of the page.
|
|
8709
|
+
*
|
|
8710
|
+
* @see ZENITH_1_POINT_583
|
|
8711
|
+
*/
|
|
8712
|
+
getSunriseBaalHatanya() {
|
|
8713
|
+
return this.noaa.getSunriseOffsetByDegrees(ZENITH_1_POINT_583);
|
|
8714
|
+
}
|
|
8715
|
+
/**
|
|
8716
|
+
* A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
|
|
8717
|
+
* _shkiah amiti_ (sunset) without
|
|
8718
|
+
* elevation adjustment. This forms the base for the Baal Hatanya's dusk-based calculations that are calculated
|
|
8719
|
+
* as a dip below the horizon after sunset.
|
|
8720
|
+
*
|
|
8721
|
+
* According to the Baal Hatanya, _shkiah amiti_, true (_halachic_) sunset, is when the top of the
|
|
8722
|
+
* sun's disk disappears from view at an elevation similar to the mountains of _Eretz Yisrael_.
|
|
8723
|
+
* This time is calculated as the point at which the center of the sun's disk is 1.583 degrees below the horizon.
|
|
8724
|
+
*
|
|
8725
|
+
* Note: _shkiah amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
|
|
8726
|
+
* practical purposes, all daytime mitzvos should be completed before the published time for _shkiah_ / sunset.
|
|
8727
|
+
*
|
|
8728
|
+
* For further explanation of the calculations used for the Baal Hatanya's _zmanim_ in this library, see
|
|
8729
|
+
* <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
|
|
8730
|
+
* _Zmanim_ Calculations @ Chabad.org</a>.
|
|
8731
|
+
*
|
|
8732
|
+
* @return the <code>Date</code> representing the exact sea level _shkiah amiti_ (sunset) time. If the calculation
|
|
8733
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not
|
|
8734
|
+
* rise, and one where it does not set, a `null` will be returned.
|
|
8735
|
+
*
|
|
8736
|
+
* @see ZENITH_1_POINT_583
|
|
8737
|
+
*/
|
|
8738
|
+
getSunsetBaalHatanya() {
|
|
8739
|
+
return this.noaa.getSunsetOffsetByDegrees(ZENITH_1_POINT_583);
|
|
8740
|
+
}
|
|
8741
|
+
/**
|
|
8742
|
+
* Returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s _alos_
|
|
8743
|
+
* (dawn) calculated as the time when the sun is 16.9° below the eastern {@link GEOMETRIC_ZENITH geometric horizon}
|
|
8744
|
+
* before {@link getSunrise() sunrise}.
|
|
8745
|
+
*
|
|
8746
|
+
* The zenith of 16.9° below is based on the calculation that the time between dawn
|
|
8747
|
+
* and _netz amiti_ (sunrise) is 72 minutes, the time that is takes to walk 4 mil at 18 minutes
|
|
8748
|
+
* a mil (<a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others). The sun's position at 72
|
|
8749
|
+
* minutes before {@link getSunriseBaalHatanya _netz amiti_ (sunrise)} in Jerusalem <a href=
|
|
8750
|
+
* "https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/">around the equinox / equilux</a> is
|
|
8751
|
+
* 16.9° below {@link GEOMETRIC_ZENITH geometric zenith}.
|
|
8752
|
+
*
|
|
8753
|
+
* @return The <code>Date</code> of dawn. If the calculation can't be computed such as northern and southern
|
|
8754
|
+
* locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
|
|
8755
|
+
* low enough below the horizon for this calculation, a `null` will be returned. */
|
|
8756
|
+
alosBaalHatanya() {
|
|
8757
|
+
return this.timeAtAngle(16.9, true);
|
|
8758
|
+
}
|
|
8759
|
+
getShaahZmanisBaalHatanya(hours) {
|
|
8760
|
+
const zdt = this.getShaahZmanisBasedZmanZdt(this.getSunriseBaalHatanya(), this.getSunsetBaalHatanya(), hours);
|
|
8761
|
+
return zdtToDate(zdt);
|
|
8762
|
+
}
|
|
8763
|
+
/**
|
|
8764
|
+
* This method returns the latest _zman krias shema_ (time to recite Shema in the morning). This time is 3
|
|
8765
|
+
* {@link shaahZmanisBaalHatanya() _shaos zmaniyos_} (solar hours) after {@link getSunriseBaalHatanya()
|
|
8766
|
+
* _netz amiti_ (sunrise)} based on the opinion of the Baal Hatanya that the day is calculated from
|
|
8767
|
+
* sunrise to sunset. This returns the time 3 * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya()
|
|
8768
|
+
* _netz amiti_ (sunrise)}.
|
|
8769
|
+
*
|
|
8770
|
+
* @return the <code>Date</code> of the latest _zman shema_ according to the Baal Hatanya. If the calculation
|
|
8771
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does
|
|
8772
|
+
* not rise, and one where it does not set, a `null` will be returned.
|
|
8773
|
+
*/
|
|
8774
|
+
sofZmanShmaBaalHatanya() {
|
|
8775
|
+
return this.getShaahZmanisBaalHatanya(3);
|
|
8776
|
+
}
|
|
8777
|
+
/**
|
|
8778
|
+
* This method returns the latest _zman tfilah_ (time to recite the morning prayers). This time is 4
|
|
8779
|
+
* hours into the day based on the opinion of the Baal Hatanya that the day is
|
|
8780
|
+
* calculated from sunrise to sunset. This returns the time 4 * {@link getShaahZmanisBaalHatanya()} after
|
|
8781
|
+
* {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
|
|
8782
|
+
*
|
|
8783
|
+
* @return the <code>Date</code> of the latest _zman tfilah_. If the calculation can't be computed such as in
|
|
8784
|
+
* the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it does
|
|
8785
|
+
* not set, a `null` will be returned.
|
|
8786
|
+
*/
|
|
8787
|
+
sofZmanTfilaBaalHatanya() {
|
|
8788
|
+
return this.getShaahZmanisBaalHatanya(4);
|
|
8789
|
+
}
|
|
8790
|
+
/**
|
|
8791
|
+
* This method returns the time of _mincha gedola_. _Mincha gedola_ is the earliest time one can pray
|
|
8792
|
+
* _mincha_. The <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> is of the opinion that it is
|
|
8793
|
+
* better to delay _mincha_ until {@link minchaKetanaBaalHatanya() _mincha ketana_} while the
|
|
8794
|
+
* <a href="https://en.wikipedia.org/wiki/Asher_ben_Jehiel">Ra"sh</a>,
|
|
8795
|
+
* <a href="https://en.wikipedia.org/wiki/Jacob_ben_Asher">Tur</a>, <a href=
|
|
8796
|
+
* "https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a> and others are of the opinion that _mincha_ can be prayed
|
|
8797
|
+
* _lechatchila_ starting at _mincha gedola_. This is calculated as 6.5 {@link getShaahZmanisBaalHatanya()
|
|
8798
|
+
* sea level solar hours} after {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}. This calculation is based
|
|
8799
|
+
* on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 6.5
|
|
8800
|
+
* * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya() _netz amiti_ ("real" sunrise)}.
|
|
8801
|
+
* @return the <code>Date</code> of the time of _mincha gedola_ according to the Baal Hatanya. If the calculation
|
|
8802
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise,
|
|
8803
|
+
* and one where it does not set, a `null` will be returned.
|
|
8804
|
+
*/
|
|
8805
|
+
minchaGedolaBaalHatanya() {
|
|
8806
|
+
return this.getShaahZmanisBaalHatanya(6.5);
|
|
8807
|
+
}
|
|
8808
|
+
/**
|
|
8809
|
+
* This method returns the time of _mincha ketana_. This is the preferred earliest time to pray
|
|
8810
|
+
* _mincha_ in the opinion of the <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others.
|
|
8811
|
+
* For more information on this see the documentation on {@link minchaGedolaBaalHatanya() _mincha gedola_}.
|
|
8812
|
+
* This is calculated as 9.5 sea level solar hours after {@link getSunriseBaalHatanya
|
|
8813
|
+
* _netz amiti_ (sunrise)}. This calculation is calculated based on the opinion of the Baal Hatanya that the
|
|
8814
|
+
* day is calculated from sunrise to sunset. This returns the time 9.5 * after
|
|
8815
|
+
* _netz amiti_ (sunrise).
|
|
8816
|
+
*
|
|
8817
|
+
* @return the <code>Date</code> of the time of _mincha ketana_. If the calculation can't be computed such as
|
|
8818
|
+
* in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
|
|
8819
|
+
* does not set, a `null` will be returned.
|
|
8820
|
+
*/
|
|
8821
|
+
minchaKetanaBaalHatanya() {
|
|
8822
|
+
return this.getShaahZmanisBaalHatanya(9.5);
|
|
8823
|
+
}
|
|
8824
|
+
/**
|
|
8825
|
+
* This method returns the time of _plag hamincha_. This is calculated as 10.75 hours after sunrise. This
|
|
8826
|
+
* calculation is based on the opinion of the Baal Hatanya that the day is calculated
|
|
8827
|
+
* from sunrise to sunset. This returns the time 10.75 * {@link getShaahZmanisBaalHatanya()} after
|
|
8828
|
+
* {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
|
|
8829
|
+
*
|
|
8830
|
+
* @return the <code>Date</code> of the time of _plag hamincha_. If the calculation can't be computed such as
|
|
8831
|
+
* in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
|
|
8832
|
+
* does not set, a `null` will be returned.
|
|
8833
|
+
*/
|
|
8834
|
+
plagHaminchaBaalHatanya() {
|
|
8835
|
+
return this.getShaahZmanisBaalHatanya(10.75);
|
|
8836
|
+
}
|
|
8837
|
+
/**
|
|
8838
|
+
* A method that returns _tzais_ (nightfall) when the sun is 6° below the western geometric horizon
|
|
8839
|
+
* (90°) after {@link getSunset() sunset}. For information on the source of this calculation see
|
|
8840
|
+
* {@link ZENITH_6_DEGREES}.
|
|
8841
|
+
*
|
|
8842
|
+
* @return The <code>Date</code> of nightfall. If the calculation can't be computed such as northern and southern
|
|
8843
|
+
* locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
|
|
8844
|
+
* low enough below the horizon for this calculation, a `null` will be returned. * @see ZENITH_6_DEGREES
|
|
8845
|
+
*/
|
|
8846
|
+
tzaisBaalHatanya() {
|
|
8847
|
+
return this.timeAtAngle(6, false);
|
|
8848
|
+
}
|
|
8650
8849
|
/**
|
|
8651
8850
|
* Uses timeFormat to return a date like '20:34'.
|
|
8652
8851
|
* Returns `XX:XX` if the date is invalid.
|
|
@@ -10869,6 +11068,8 @@ class TimedEvent extends Event {
|
|
|
10869
11068
|
case 'Fast begins':
|
|
10870
11069
|
case 'Fast ends':
|
|
10871
11070
|
return ['zmanim', 'fast'];
|
|
11071
|
+
case 'Biur Chametz':
|
|
11072
|
+
return ['zmanim', 'biurChametz'];
|
|
10872
11073
|
}
|
|
10873
11074
|
/* NOTREACHED */
|
|
10874
11075
|
return ['unknown'];
|
|
@@ -11072,6 +11273,8 @@ function makeWeekdayChanukahCandleLighting(ev, options) {
|
|
|
11072
11273
|
return new TimedChanukahEvent(ev, candleLightingTime, location);
|
|
11073
11274
|
}
|
|
11074
11275
|
|
|
11276
|
+
const ps67lines$1=["אֱלֹהִים יְחָנֵּנוּ וִיבָרְכֵנוּ יָאֵר־פָּנָיו אִתָּנוּ סֶלָה","לָדַעַת בָּאָרֶץ דַּרְכֶּךָ בְּכָל־גּוֹיִם יְשׁוּעָתֶךָ","יוֹדוּךָ עַמִּים אֱלֹהִים יוֹדוּךָ עַמִּים כֻּלָּם","יִשְׂמְחוּ וִירַנְּנוּ לְאֻמִּים כִּי־תִשְׁפֹּט עַמִּים מִישׁוֹר וּלְאֻמִּים בָּאָרֶץ תַּנחֵם סֶלָה","יוֹדוּךָ עַמִּים אֱלֹהִים יוֹדוּךָ עַמִּים כֻּלָּם","אֶרֶץ נָתְנָה יְבוּלָהּ יְבָרְכֵנוּ אֱלֹהִים אֱלֹהֵינוּ","יְבָרְכֵנוּ אֱלֹהִים וְיִירְאוּ אוֹתוֹ כָּל־אַפְסֵי־אָרֶץ"];const lamnatzeachLetters$1=["י","ש","מ","ח","ו","ו","י","ר","נ","נ","ו","ל","א","מ","י","ם","כ","י","ת","ש","פ","ו","ט","ע","מ","י","ם","מ","י","ש","ו","ר","ו","ל","א","מ","י","ם","ב","א","ר","ץ","ת","נ","ח","ם","ס","ל","ה"];const anaBekoach$1=["אָנָּא","בְּכֹחַ","גְּדֻלַּת","יְמִינְךָ","תַּתִּיר","צְרוּרָה","אב״ג ית״ץ","קַבֵּל","רִנַּת","עַמְּךָ","שַׂגְּבֵנוּ","טַהֲרֵנוּ","נוֹרָא","קר״ע שט״ן","נָא","גִבּוֹר","דּוֹרְשֵׁי","יִחוּדְךָ","כְּבָבַת","שָׁמְרֵם","נג״ד יכ״ש","בָּרְכֵם","טַהֲרֵם","רַחֲמֵי","צִדְקָתְךָ","תָּמִיד","גָּמְלֵם","בט״ר צת״ג","חֲסִין","קָדוֹשׁ","בְּרֹב","טוּבְךָ","נַהֵל","עֲדָתֶךָ","חק״ב תנ״ע","יָחִיד","גֵּאֶה","לְעַמְּךָ","פְּנֵה","זוֹכְרֵי","קְדֻשָּׁתֶךָ","יג״ל פז״ק","שַׁוְעָתֵנוּ","קַבֵּל","וּשְׁמַע","צַעֲקָתֵנוּ","יוֹדֵעַ","תַּעֲלוּמוֹת","שק״ו צי״ת"];var sefira = {ps67lines:ps67lines$1,lamnatzeachLetters:lamnatzeachLetters$1,anaBekoach:anaBekoach$1};
|
|
11277
|
+
|
|
11075
11278
|
const sefirot = {
|
|
11076
11279
|
en: {
|
|
11077
11280
|
infix: 'within ',
|
|
@@ -11254,6 +11457,10 @@ function omerTodayIsHe(omerDay) {
|
|
|
11254
11457
|
str += 'לָעֽוֹמֶר';
|
|
11255
11458
|
return str.normalize();
|
|
11256
11459
|
}
|
|
11460
|
+
const anaBekoach = sefira.anaBekoach;
|
|
11461
|
+
const ps67lines = sefira.ps67lines;
|
|
11462
|
+
const lamnatzeach = ps67lines.flatMap((x) => x.split(/[ ־]/));
|
|
11463
|
+
const lamnatzeachLetters = sefira.lamnatzeachLetters;
|
|
11257
11464
|
/** Represents a day 1-49 of counting the Omer from Pesach to Shavuot */
|
|
11258
11465
|
class OmerEvent extends Event {
|
|
11259
11466
|
/**
|
|
@@ -11370,6 +11577,60 @@ class OmerEvent extends Event {
|
|
|
11370
11577
|
}
|
|
11371
11578
|
return `https://www.hebcal.com/omer/${year}/${this.omer}`;
|
|
11372
11579
|
}
|
|
11580
|
+
/**
|
|
11581
|
+
* Returns the word from Psalm 67 (לַמְנַצֵּחַ, "Lamnatzeach") corresponding
|
|
11582
|
+
* to this Omer day. Psalm 67 contains 49 words (excluding its opening verse),
|
|
11583
|
+
* one for each day of the Omer. The words are taken from verses 2–8, split on
|
|
11584
|
+
* spaces and maqef (־).
|
|
11585
|
+
* @returns a Hebrew word from Psalm 67
|
|
11586
|
+
* @example
|
|
11587
|
+
* const ev = new OmerEvent(new HDate(16, 'Nisan', 5785), 1);
|
|
11588
|
+
* ev.getLamnatzeachWord(); // 'אֱלֹהִים' (day 1, first word of verse 2)
|
|
11589
|
+
* @example
|
|
11590
|
+
* const ev = new OmerEvent(new HDate(3, 'Sivan', 5785), 49);
|
|
11591
|
+
* ev.getLamnatzeachWord(); // 'אָרֶץ' (day 49, last word of verse 8)
|
|
11592
|
+
*/
|
|
11593
|
+
getLamnatzeachWord() {
|
|
11594
|
+
return lamnatzeach[this.omer - 1];
|
|
11595
|
+
}
|
|
11596
|
+
/**
|
|
11597
|
+
* Returns the letter from verse 5 of Psalm 67 corresponding to this Omer day.
|
|
11598
|
+
* Verse 5 (יִשְׂמְחוּ וִירַנְּנוּ לְאֻמִּים…) contains exactly 49 letters,
|
|
11599
|
+
* one for each day of the Omer, and is used as a Kabbalistic meditation during
|
|
11600
|
+
* the counting.
|
|
11601
|
+
* @returns a single Hebrew letter from verse 5 of Psalm 67
|
|
11602
|
+
* @example
|
|
11603
|
+
* const ev = new OmerEvent(new HDate(16, 'Nisan', 5785), 1);
|
|
11604
|
+
* ev.getLamnatzeachLetter(); // 'י' (day 1, first letter of verse 5)
|
|
11605
|
+
* @example
|
|
11606
|
+
* const ev = new OmerEvent(new HDate(3, 'Sivan', 5785), 49);
|
|
11607
|
+
* ev.getLamnatzeachLetter(); // 'ה' (day 49, last letter of verse 5)
|
|
11608
|
+
*/
|
|
11609
|
+
getLamnatzeachLetter() {
|
|
11610
|
+
return lamnatzeachLetters[this.omer - 1];
|
|
11611
|
+
}
|
|
11612
|
+
/**
|
|
11613
|
+
* Returns the word from the Ana BeKoach prayer (אָנָּא בְּכֹחַ) corresponding
|
|
11614
|
+
* to this Omer day. Ana BeKoach is a 42-word Kabbalistic prayer whose initial
|
|
11615
|
+
* letters spell out the 42-letter name of God. The prayer has 7 verses of
|
|
11616
|
+
* 6 words each; the 7th entry of each group is the abbreviation of the acrostic
|
|
11617
|
+
* letters for that verse (e.g. `אב״ג ית״ץ` for verse 1). Together the 49
|
|
11618
|
+
* entries (7 verses × 7 entries) align with the 49 days of the Omer, connecting
|
|
11619
|
+
* each day to one of the lower seven Sefirot within a Sefirah.
|
|
11620
|
+
* @returns a Hebrew word or verse-abbreviation string from Ana BeKoach
|
|
11621
|
+
* @example
|
|
11622
|
+
* const ev = new OmerEvent(new HDate(16, 'Nisan', 5785), 1);
|
|
11623
|
+
* ev.getAnaBekoachWord(); // 'אָנָּא' (day 1, first word of verse 1)
|
|
11624
|
+
* @example
|
|
11625
|
+
* const ev = new OmerEvent(new HDate(22, 'Nisan', 5785), 7);
|
|
11626
|
+
* ev.getAnaBekoachWord(); // 'אב״ג ית״ץ' (day 7, acrostic abbreviation for verse 1)
|
|
11627
|
+
* @example
|
|
11628
|
+
* const ev = new OmerEvent(new HDate(3, 'Sivan', 5785), 49);
|
|
11629
|
+
* ev.getAnaBekoachWord(); // 'שק״ו צי״ת' (day 49, acrostic abbreviation for verse 7)
|
|
11630
|
+
*/
|
|
11631
|
+
getAnaBekoachWord() {
|
|
11632
|
+
return anaBekoach[this.omer - 1].normalize();
|
|
11633
|
+
}
|
|
11373
11634
|
}
|
|
11374
11635
|
|
|
11375
11636
|
/** @private */
|
|
@@ -12364,6 +12625,12 @@ function appendHolidayAndRelated(candlesEv, events, ev, options, isFriday, isSat
|
|
|
12364
12625
|
(options.noModern && eFlags & MODERN_HOLIDAY)) {
|
|
12365
12626
|
return candlesEv; // bail out early
|
|
12366
12627
|
}
|
|
12628
|
+
if (options.candlelighting && ev.getDesc() === 'Erev Pesach') {
|
|
12629
|
+
const biurChametzEv = makeBiurChametzEvent(ev, options);
|
|
12630
|
+
if (biurChametzEv) {
|
|
12631
|
+
events.push(biurChametzEv);
|
|
12632
|
+
}
|
|
12633
|
+
}
|
|
12367
12634
|
const isMajorFast = Boolean(eFlags & MAJOR_FAST);
|
|
12368
12635
|
const isMinorFast = Boolean(eFlags & MINOR_FAST);
|
|
12369
12636
|
let fastEv;
|
|
@@ -12455,6 +12722,19 @@ function makeOmerEvent(hd, omerDay, options) {
|
|
|
12455
12722
|
}
|
|
12456
12723
|
return omerEv;
|
|
12457
12724
|
}
|
|
12725
|
+
function makeBiurChametzEvent(erevPesachEv, options) {
|
|
12726
|
+
const location = options.location;
|
|
12727
|
+
const useElevation = Boolean(options.useElevation);
|
|
12728
|
+
const hd = erevPesachEv.getDate();
|
|
12729
|
+
const zmanim = new Zmanim(location, hd, useElevation);
|
|
12730
|
+
const time = zmanim.sofZmanBiurChametzGRA();
|
|
12731
|
+
if (isNaN(time.getTime())) {
|
|
12732
|
+
return undefined;
|
|
12733
|
+
}
|
|
12734
|
+
const biurChametzEv = new TimedEvent(hd, 'Biur Chametz', flags.USER_EVENT, time, location, erevPesachEv, options);
|
|
12735
|
+
biurChametzEv.emoji = '🔥';
|
|
12736
|
+
return biurChametzEv;
|
|
12737
|
+
}
|
|
12458
12738
|
|
|
12459
12739
|
/*
|
|
12460
12740
|
Hebcal - A Jewish Calendar Generator
|