@hebcal/core 5.10.1 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/HebrewDateEvent.d.ts +2 -2
- package/dist/HolidayEvent.d.ts +9 -10
- package/dist/MevarchimChodeshEvent.d.ts +2 -2
- package/dist/ParshaEvent.d.ts +4 -10
- package/dist/TimedEvent.d.ts +4 -4
- package/dist/YomKippurKatanEvent.d.ts +2 -2
- package/dist/ashkenazi.po.d.ts +2 -0
- package/dist/bundle.js +4438 -6388
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +20 -20
- package/dist/bundle.min.js.map +1 -1
- package/dist/candles.d.ts +2 -2
- package/dist/esm/DailyLearning.js +1 -1
- package/dist/esm/HebrewDateEvent.d.ts +2 -2
- package/dist/esm/HebrewDateEvent.js +5 -5
- package/dist/esm/HebrewDateEvent.js.map +1 -1
- package/dist/esm/HolidayEvent.d.ts +9 -10
- package/dist/esm/HolidayEvent.js +34 -19
- package/dist/esm/HolidayEvent.js.map +1 -1
- package/dist/esm/MevarchimChodeshEvent.d.ts +2 -2
- package/dist/esm/MevarchimChodeshEvent.js +3 -3
- package/dist/esm/MevarchimChodeshEvent.js.map +1 -1
- package/dist/esm/ParshaEvent.d.ts +4 -10
- package/dist/esm/ParshaEvent.js +11 -20
- package/dist/esm/ParshaEvent.js.map +1 -1
- package/dist/esm/TimedEvent.d.ts +4 -4
- package/dist/esm/TimedEvent.js +5 -5
- package/dist/esm/TimedEvent.js.map +1 -1
- package/dist/esm/YomKippurKatanEvent.d.ts +2 -2
- package/dist/esm/YomKippurKatanEvent.js +3 -3
- package/dist/esm/YomKippurKatanEvent.js.map +1 -1
- package/dist/esm/ashkenazi.po.d.ts +2 -0
- package/dist/esm/ashkenazi.po.js +2 -2
- package/dist/esm/ashkenazi.po.js.map +1 -1
- package/dist/esm/calendar.js +23 -14
- package/dist/esm/calendar.js.map +1 -1
- package/dist/esm/candles.d.ts +2 -2
- package/dist/esm/candles.js +7 -8
- package/dist/esm/candles.js.map +1 -1
- package/dist/esm/event.d.ts +6 -7
- package/dist/esm/event.js +9 -13
- package/dist/esm/event.js.map +1 -1
- package/dist/esm/getStartAndEnd.js +1 -1
- package/dist/esm/hallel.js +1 -1
- package/dist/esm/he-x-NoNikud.po.js +1 -1
- package/dist/esm/he.po.d.ts +2 -0
- 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 +6 -34
- package/dist/esm/holidays.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/isAssurBemlacha.js +1 -1
- package/dist/esm/locale.js +2 -12
- package/dist/esm/locale.js.map +1 -1
- package/dist/esm/location.js +1 -1
- package/dist/esm/modern.js +1 -1
- package/dist/esm/molad.d.ts +2 -2
- package/dist/esm/molad.js +4 -4
- package/dist/esm/molad.js.map +1 -1
- package/dist/esm/omer.d.ts +2 -2
- package/dist/esm/omer.js +6 -6
- package/dist/esm/omer.js.map +1 -1
- package/dist/esm/parshaName.js +2 -2
- package/dist/esm/parshaName.js.map +1 -1
- package/dist/esm/parshaYear.js +2 -2
- package/dist/esm/parshaYear.js.map +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.d.ts +2 -20
- package/dist/esm/sedra.js +10 -31
- package/dist/esm/sedra.js.map +1 -1
- package/dist/esm/staticHolidays.js +2 -9
- package/dist/esm/staticHolidays.js.map +1 -1
- package/dist/esm/tachanun.js +1 -1
- package/dist/esm/zmanim.js +1 -1
- package/dist/event.d.ts +6 -7
- package/dist/he.po.d.ts +2 -0
- package/dist/molad.d.ts +2 -2
- package/dist/omer.d.ts +2 -2
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/sedra.d.ts +2 -20
- package/package.json +16 -26
- package/dist/index.cjs +0 -8378
- package/dist/index.cjs.map +0 -1
package/dist/bundle.min.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! @hebcal/core
|
|
2
|
-
var hebcal=function(e){"use strict";const t="
|
|
3
|
-
/*! @hebcal/hdate v0.
|
|
4
|
-
/*! @hebcal/hdate v0.
|
|
5
|
-
/*! @hebcal/hdate v0.
|
|
6
|
-
|
|
7
|
-
/*! @hebcal/hdate v0.
|
|
8
|
-
const
|
|
9
|
-
/*! @hebcal/hdate v0.
|
|
10
|
-
const
|
|
11
|
-
/*! @hebcal/hdate v0.
|
|
12
|
-
/*! @hebcal/hdate v0.
|
|
13
|
-
function
|
|
14
|
-
/*! @hebcal/hdate v0.
|
|
15
|
-
/*! @hebcal/hdate v0.
|
|
16
|
-
/*! @hebcal/hdate v0.
|
|
17
|
-
/*! @hebcal/hdate v0.
|
|
18
|
-
const
|
|
19
|
-
/*! @hebcal/hdate v0.
|
|
20
|
-
return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}greg(){return l(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=w(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return w(e,t,n)}getMonthName(){return I(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||ie.getLocaleName(),r=this.getDate(),o=ie.gettext(this.getMonthName(),n).replace(/'/g,"’"),i=ie.ordinal(r,n),a=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=ie.lookupTranslation("of",e);if(t)return" "+t;if(e.startsWith("ashkenazi"))return" of";return""}(n),s=`${i}${a} ${o}`;if(t){return`${s}, ${this.getFullYear()}`}return s}renderGematriya(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.getDate(),n=e?"he-x-NoNikud":"he",r=ie.gettext(this.getMonthName(),n),o=this.getFullYear();return x(t)+" "+r+" "+x(o)}before(e){return ye(e,this,-1)}onOrBefore(e){return ye(e,this,0)}nearest(e){return ye(e,this,3)}onOrAfter(e){return ye(e,this,6)}after(e){return ye(e,this,7)}next(){return new de(this.abs()+1)}prev(){return new de(this.abs()-1)}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(e="string"==typeof e?parseInt(e,10):e))return new de(this);if(t=function(e){switch(e){case"d":return ce;case"w":return he;case"M":return le;case"y":return fe}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case ce:case he:case le:case fe:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===ce)return new de(this.abs()+e);if(t===he)return new de(this.abs()+7*e);if(t===fe)return new de(this.getDate(),this.getMonth(),this.getFullYear()+e);{let t=new de(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new de(t.abs()+n*t.daysInMonth());return t}}subtract(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}deltaDays(e){return this.abs()-e.abs()}isSameDate(e){return this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return b(e)}static monthsInYear(e){return T(e)}static daysInMonth(e,t){return E(e,t)}static getMonthName(e,t){return I(e,t)}static monthNum(e){if("number"==typeof e){if(isNaN(e)||e>14)throw new RangeError(`bad monthNum: ${e}`);return e}return e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57?parseInt(e,10):de.monthFromName(e)}static daysInYear(e){return N(e)}static longCheshvan(e){return H(e)}static shortKislev(e){return C(e)}static monthFromName(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`bad monthName: ${e}`);return e}return function(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`bad monthName: ${e}`);return e}let t=e.trim().toLowerCase();switch("ב"===t[0]&&(t=t.substring(1)),t[0]){case"n":case"נ":if("o"===t[1])break;return 1;case"i":return 2;case"e":return 6;case"c":case"ח":return 8;case"k":case"כ":return 9;case"s":switch(t[1]){case"i":return 3;case"h":return 11}break;case"t":switch(t[1]){case"a":return 4;case"i":return 7;case"e":return 10}break;case"a":switch(t[1]){case"v":return 5;case"d":return/(1|[^i]i|a|א)$/i.test(e)?12:13}break;case"ס":return 3;case"ט":return 10;case"ש":return 11;case"א":switch(t[1]){case"ב":return 5;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?12:13;case"י":return 2;case"ל":return 6}break;case"ת":switch(t[1]){case"מ":return 4;case"ש":return 7}}throw new RangeError(`bad monthName: ${e}`)}(ie.hebrewStripNikkud(e))}static dayOnOrBefore(e,t){return t-(t-e)%7}static isHDate(e){return null!==e&&"object"==typeof e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd&&"function"==typeof e.greg&&"function"==typeof e.abs}static fromGematriyaString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;const n=e.split(" ").filter(e=>0!==e.length),r=n.length;if(3!==r&&4!==r)throw new RangeError(`cannot parse gematriya str: "${e}"`);const o=Z(n[0]),i=3===r?n[1]:n[1]+" "+n[2],a=de.monthFromName(i);let s=Z(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new de(o,a,s)}}function ge(e){me(e),function(e){e.dd<1&&(e.mm===f.TISHREI&&(e.yy-=1),e.dd+=E(e.mm,e.yy),e.mm-=1,ge(e));e.dd>E(e.mm,e.yy)&&(e.mm===f.ELUL&&(e.yy+=1),e.dd-=E(e.mm,e.yy),e.mm===T(e.yy)?e.mm=1:e.mm+=1,ge(e));me(e)}(e)}function me(e){e.mm!==f.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=T(e.yy),e.yy-=1,ge(e)):e.mm>T(e.yy)&&(e.mm-=T(e.yy),e.yy+=1,ge(e)):(e.mm-=1,ge(e)),delete e.rd}function ye(e,t,n){return new de(de.dayOnOrBefore(e,t.abs()+n))}var ve={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"],"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)"],"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"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}}},pe={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":["פֶּסַח ח׳"],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)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"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 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":["בִּרְכַּת הַחַמָּה"],"Shushan Purim Katan":["שׁוּשָׁן פּוּרִים קָטָן"],"Purim Meshulash":["פּוּרִים מְשׁוּלָּשׁ"],"Chag HaBanot":["חַג הַבָּנוֹת"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"]}}};ie.addTranslations("he",pe),ie.addTranslations("h",pe),ie.addTranslations("ashkenazi",ve),ie.addTranslations("a",ve);const we=pe.contexts[""],Se={};for(const[e,t]of Object.entries(we))Se[e]=[ie.hebrewStripNikkud(t[0])];const Ae={headers:pe.headers,contexts:{"":Se}};ie.addTranslations("he-x-NoNikud",Ae),ie.addTranslations("he-x-NoNikud",{headers:{"plural-forms":"nplurals=2; plural=(n != 1);",language:"he-x-NoNikud"},contexts:{"":{Korach:["קורח"],Chukat:["חוקת"]}}});const be={CHAG:1,LIGHT_CANDLES:2,YOM_TOV_ENDS:4,CHUL_ONLY:8,IL_ONLY:16,LIGHT_CANDLES_TZEIS:32,CHANUKAH_CANDLES:64,ROSH_CHODESH:128,MINOR_FAST:256,SPECIAL_SHABBAT:512,PARSHA_HASHAVUA:1024,DAF_YOMI:2048,OMER_COUNT:4096,MODERN_HOLIDAY:8192,MAJOR_FAST:16384,SHABBAT_MEVARCHIM:32768,MOLAD:65536,USER_EVENT:131072,HEBREW_DATE:262144,MINOR_HOLIDAY:524288,EREV:1048576,CHOL_HAMOED:2097152,MISHNA_YOMI:4194304,YOM_KIPPUR_KATAN:8388608,YERUSHALMI_YOMI:16777216,NACH_YOMI:33554432,DAILY_LEARNING:67108864,YIZKOR:134217728},Te=[[be.MAJOR_FAST,"holiday","major","fast"],[be.CHANUKAH_CANDLES,"holiday","major"],[be.HEBREW_DATE,"hebdate"],[be.MINOR_FAST,"holiday","fast"],[be.MINOR_HOLIDAY,"holiday","minor"],[be.MODERN_HOLIDAY,"holiday","modern"],[be.MOLAD,"molad"],[be.OMER_COUNT,"omer"],[be.PARSHA_HASHAVUA,"parashat"],[be.ROSH_CHODESH,"roshchodesh"],[be.SHABBAT_MEVARCHIM,"mevarchim"],[be.SPECIAL_SHABBAT,"holiday","shabbat"],[be.USER_EVENT,"user"],[be.YIZKOR,"yizkor"]];class Ee{constructor(e,t,n=0,r){if(!de.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof t)throw new TypeError(`Invalid Event description: ${t}`);this.date=e,this.desc=t,this.mask=+n,"object"==typeof r&&null!==r&&Object.assign(this,r)}getDate(){return this.date}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return ie.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&be.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&be.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new Ee(this.date,this.desc,this.mask);return Object.assign(e,this),e}getCategories(){const e=this.getFlags();for(const t of Te){if(e&t[0])return t.slice(1)}return["unknown"]}}class Ie extends Ee{constructor(e){super(e,e.toString(),be.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:ie.getLocaleName(),r=this.getDate();switch(n){case"h":case"he":return r.renderGematriya(!1);case"he-x-nonikud":return r.renderGematriya(!0);default:return r.render(n,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=ie.gettext(t.getMonthName(),e);return x(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:ie.getLocaleName(),r=this.getDate();if(r.getMonth()===f.TISHREI&&1===r.getDate())return this.render(n);switch(n){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(n);default:return r.render(n,!1)}}}var Me,Ne,He="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ce={};function De(){if(Ne)return Me;Ne=1;var e=function(e){return e&&e.Math===Math&&e};return Me=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof He&&He)||e("object"==typeof Me&&Me)||function(){return this}()||Function("return this")()}var Oe,_e,ke,Le,Re,Ye,Be,Pe,je={};function Ue(){return _e?Oe:(_e=1,Oe=function(e){try{return!!e()}catch(e){return!0}})}function xe(){if(Le)return ke;Le=1;var e=Ue();return ke=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Ze(){if(Ye)return Re;Ye=1;var e=Ue();return Re=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function $e(){if(Pe)return Be;Pe=1;var e=Ze(),t=Function.prototype.call;return Be=e?t.bind(t):function(){return t.apply(t,arguments)},Be}var Fe,Ve,ze,Ke,Ge,Je,We,qe,Xe,Qe,et,tt,nt,rt,ot,it,at,st,ut,ct,ht,lt,ft,dt,gt,mt,yt,vt,pt,wt,St,At,bt,Tt,Et,It,Mt,Nt,Ht,Ct,Dt,Ot={};function _t(){return ze?Ve:(ze=1,Ve=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function kt(){if(Ge)return Ke;Ge=1;var e=Ze(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return Ke=e?r:function(e){return function(){return n.apply(e,arguments)}},Ke}function Lt(){if(Xe)return qe;Xe=1;var e=kt(),t=Ue(),n=function(){if(We)return Je;We=1;var e=kt(),t=e({}.toString),n=e("".slice);return Je=function(e){return n(t(e),8,-1)},Je}(),r=Object,o=e("".split);return qe=t(function(){return!r("z").propertyIsEnumerable(0)})?function(e){return"String"===n(e)?o(e,""):r(e)}:r,qe}function Rt(){return et||(et=1,Qe=function(e){return null==e}),Qe}function Yt(){if(nt)return tt;nt=1;var e=Rt(),t=TypeError;return tt=function(n){if(e(n))throw new t("Can't call method on "+n);return n},tt}function Bt(){if(ot)return rt;ot=1;var e=Lt(),t=Yt();return rt=function(n){return e(t(n))},rt}function Pt(){if(at)return it;at=1;var e="object"==typeof document&&document.all;return it=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function jt(){if(ut)return st;ut=1;var e=Pt();return st=function(t){return"object"==typeof t?null!==t:e(t)},st}function Ut(){if(ht)return ct;ht=1;var e=De(),t=Pt();return ct=function(n,r){return arguments.length<2?(o=e[n],t(o)?o:void 0):e[n]&&e[n][r];var o},ct}function xt(){if(yt)return mt;yt=1;var e,t,n=De(),r=function(){if(gt)return dt;gt=1;var e=De().navigator,t=e&&e.userAgent;return dt=t?String(t):""}(),o=n.process,i=n.Deno,a=o&&o.versions||i&&i.version,s=a&&a.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),mt=t}function Zt(){if(pt)return vt;pt=1;var e=xt(),t=Ue(),n=De().String;return vt=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function $t(){if(St)return wt;St=1;var e=Zt();return wt=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ft(){if(bt)return At;bt=1;var e=Ut(),t=Pt(),n=function(){if(ft)return lt;ft=1;var e=kt();return lt=e({}.isPrototypeOf)}(),r=$t(),o=Object;return At=r?function(e){return"symbol"==typeof e}:function(r){var i=e("Symbol");return t(i)&&n(i.prototype,o(r))},At}function Vt(){if(Et)return Tt;Et=1;var e=String;return Tt=function(t){try{return e(t)}catch(e){return"Object"}}}function zt(){if(Mt)return It;Mt=1;var e=Pt(),t=Vt(),n=TypeError;return It=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function Kt(){if(Ht)return Nt;Ht=1;var e=zt(),t=Rt();return Nt=function(n,r){var o=n[r];return t(o)?void 0:e(o)},Nt}function Gt(){if(Dt)return Ct;Dt=1;var e=$e(),t=Pt(),n=jt(),r=TypeError;return Ct=function(o,i){var a,s;if("string"===i&&t(a=o.toString)&&!n(s=e(a,o)))return s;if(t(a=o.valueOf)&&!n(s=e(a,o)))return s;if("string"!==i&&t(a=o.toString)&&!n(s=e(a,o)))return s;throw new r("Can't convert object to primitive value")},Ct}var Jt,Wt,qt,Xt,Qt,en,tn,nn,rn,on,an,sn,un,cn,hn,ln,fn,dn,gn,mn,yn,vn,pn,wn,Sn={exports:{}};function An(){if(Xt)return qt;Xt=1;var e=De(),t=Object.defineProperty;return qt=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r}}function bn(){if(Qt)return Sn.exports;Qt=1;var e=Wt?Jt:(Wt=1,Jt=!1),t=De(),n=An(),r="__core-js_shared__",o=Sn.exports=t[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Sn.exports}function Tn(){if(tn)return en;tn=1;var e=bn();return en=function(t,n){return e[t]||(e[t]=n||{})}}function En(){if(rn)return nn;rn=1;var e=Yt(),t=Object;return nn=function(n){return t(e(n))}}function In(){if(an)return on;an=1;var e=kt(),t=En(),n=e({}.hasOwnProperty);return on=Object.hasOwn||function(e,r){return n(t(e),r)},on}function Mn(){if(un)return sn;un=1;var e=kt(),t=0,n=Math.random(),r=e(1.1.toString);return sn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function Nn(){if(hn)return cn;hn=1;var e=De(),t=Tn(),n=In(),r=Mn(),o=Zt(),i=$t(),a=e.Symbol,s=t("wks"),u=i?a.for||a:a&&a.withoutSetter||r;return cn=function(e){return n(s,e)||(s[e]=o&&n(a,e)?a[e]:u("Symbol."+e)),s[e]}}function Hn(){if(fn)return ln;fn=1;var e=$e(),t=jt(),n=Ft(),r=Kt(),o=Gt(),i=Nn(),a=TypeError,s=i("toPrimitive");return ln=function(i,u){if(!t(i)||n(i))return i;var c,h=r(i,s);if(h){if(void 0===u&&(u="default"),c=e(h,i,u),!t(c)||n(c))return c;throw new a("Can't convert object to primitive value")}return void 0===u&&(u="number"),o(i,u)}}function Cn(){if(gn)return dn;gn=1;var e=Hn(),t=Ft();return dn=function(n){var r=e(n,"string");return t(r)?r:r+""}}function Dn(){if(yn)return mn;yn=1;var e=De(),t=jt(),n=e.document,r=t(n)&&t(n.createElement);return mn=function(e){return r?n.createElement(e):{}},mn}function On(){if(pn)return vn;pn=1;var e=xe(),t=Ue(),n=Dn();return vn=!e&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function _n(){if(wn)return je;wn=1;var e=xe(),t=$e(),n=function(){if(Fe)return Ot;Fe=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return Ot.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,Ot}(),r=_t(),o=Bt(),i=Cn(),a=In(),s=On(),u=Object.getOwnPropertyDescriptor;return je.f=e?u:function(e,c){if(e=o(e),c=i(c),s)try{return u(e,c)}catch(e){}if(a(e,c))return r(!t(n.f,e,c),e[c])},je}var kn,Ln,Rn,Yn,Bn,Pn,jn,Un={};function xn(){if(Ln)return kn;Ln=1;var e=xe(),t=Ue();return kn=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Zn(){if(Yn)return Rn;Yn=1;var e=jt(),t=String,n=TypeError;return Rn=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}function $n(){if(Bn)return Un;Bn=1;var e=xe(),t=On(),n=xn(),r=Zn(),o=Cn(),i=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",h="writable";return Un.f=e?n?function(e,t,n){if(r(e),t=o(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var i=s(e,t);i&&i[h]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:u in n?n[u]:i[u],writable:!1})}return a(e,t,n)}:a:function(e,n,s){if(r(e),n=o(n),r(s),t)try{return a(e,n,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[n]=s.value),e},Un}function Fn(){if(jn)return Pn;jn=1;var e=xe(),t=$n(),n=_t();return Pn=e?function(e,r,o){return t.f(e,r,n(1,o))}:function(e,t,n){return e[t]=n,e}}var Vn,zn,Kn,Gn,Jn,Wn,qn,Xn,Qn,er,tr,nr,rr,or,ir,ar={exports:{}};function sr(){if(Gn)return Kn;Gn=1;var e=kt(),t=Pt(),n=bn(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),Kn=n.inspectSource}function ur(){if(Xn)return qn;Xn=1;var e=Tn(),t=Mn(),n=e("keys");return qn=function(e){return n[e]||(n[e]=t(e))}}function cr(){return er?Qn:(er=1,Qn={})}function hr(){if(nr)return tr;nr=1;var e,t,n,r=function(){if(Wn)return Jn;Wn=1;var e=De(),t=Pt(),n=e.WeakMap;return Jn=t(n)&&/native code/.test(String(n))}(),o=De(),i=jt(),a=Fn(),s=In(),u=bn(),c=ur(),h=cr(),l="Object already initialized",f=o.TypeError,d=o.WeakMap;if(r||u.state){var g=u.state||(u.state=new d);g.get=g.get,g.has=g.has,g.set=g.set,e=function(e,t){if(g.has(e))throw new f(l);return t.facade=e,g.set(e,t),t},t=function(e){return g.get(e)||{}},n=function(e){return g.has(e)}}else{var m=c("state");h[m]=!0,e=function(e,t){if(s(e,m))throw new f(l);return t.facade=e,a(e,m,t),t},t=function(e){return s(e,m)?e[m]:{}},n=function(e){return s(e,m)}}return tr={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!i(n)||(r=t(n)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}},tr}function lr(){if(rr)return ar.exports;rr=1;var e=kt(),t=Ue(),n=Pt(),r=In(),o=xe(),i=function(){if(zn)return Vn;zn=1;var e=xe(),t=In(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,a=o&&(!e||e&&r(n,"name").configurable);return Vn={EXISTS:o,PROPER:i,CONFIGURABLE:a}}().CONFIGURABLE,a=sr(),s=hr(),u=s.enforce,c=s.get,h=String,l=Object.defineProperty,f=e("".slice),d=e("".replace),g=e([].join),m=o&&!t(function(){return 8!==l(function(){},"length",{value:8}).length}),y=String(String).split("String"),v=ar.exports=function(e,t,n){"Symbol("===f(h(t),0,7)&&(t="["+d(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||i&&e.name!==t)&&(o?l(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&r(n,"arity")&&e.length!==n.arity&&l(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&l(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=u(e);return r(a,"source")||(a.source=g(y,"string"==typeof t?t:"")),e};return Function.prototype.toString=v(function(){return n(this)&&c(this).source||a(this)},"toString"),ar.exports}function fr(){if(ir)return or;ir=1;var e=Pt(),t=$n(),n=lr(),r=An();return or=function(o,i,a,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:i;if(e(a)&&n(a,c,s),s.global)u?o[i]=a:r(i,a);else{try{s.unsafe?o[i]&&(u=!0):delete o[i]}catch(e){}u?o[i]=a:t.f(o,i,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o},or}var dr,gr,mr,yr,vr,pr,wr,Sr,Ar,br,Tr,Er,Ir,Mr,Nr,Hr,Cr,Dr={};function Or(){if(yr)return mr;yr=1;var e=function(){if(gr)return dr;gr=1;var e=Math.ceil,t=Math.floor;return dr=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)},dr}();return mr=function(t){var n=+t;return n!=n||0===n?0:e(n)}}function _r(){if(pr)return vr;pr=1;var e=Or(),t=Math.max,n=Math.min;return vr=function(r,o){var i=e(r);return i<0?t(i+o,0):n(i,o)}}function kr(){if(Sr)return wr;Sr=1;var e=Or(),t=Math.min;return wr=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function Lr(){if(br)return Ar;br=1;var e=kr();return Ar=function(t){return e(t.length)}}function Rr(){if(Er)return Tr;Er=1;var e=Bt(),t=_r(),n=Lr(),r=function(r){return function(o,i,a){var s=e(o),u=n(s);if(0===u)return!r&&-1;var c,h=t(a,u);if(r&&i!=i){for(;u>h;)if((c=s[h++])!=c)return!0}else for(;u>h;h++)if((r||h in s)&&s[h]===i)return r||h||0;return!r&&-1}};return Tr={includes:r(!0),indexOf:r(!1)}}function Yr(){if(Mr)return Ir;Mr=1;var e=kt(),t=In(),n=Bt(),r=Rr().indexOf,o=cr(),i=e([].push);return Ir=function(e,a){var s,u=n(e),c=0,h=[];for(s in u)!t(o,s)&&t(u,s)&&i(h,s);for(;a.length>c;)t(u,s=a[c++])&&(~r(h,s)||i(h,s));return h},Ir}function Br(){return Hr?Nr:(Hr=1,Nr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Pr,jr,Ur,xr,Zr,$r,Fr,Vr,zr,Kr={};function Gr(){if(Ur)return jr;Ur=1;var e=Ut(),t=kt(),n=function(){if(Cr)return Dr;Cr=1;var e=Yr(),t=Br().concat("length","prototype");return Dr.f=Object.getOwnPropertyNames||function(n){return e(n,t)},Dr}(),r=(Pr||(Pr=1,Kr.f=Object.getOwnPropertySymbols),Kr),o=Zn(),i=t([].concat);return jr=e("Reflect","ownKeys")||function(e){var t=n.f(o(e)),a=r.f;return a?i(t,a(e)):t},jr}function Jr(){if(Zr)return xr;Zr=1;var e=In(),t=Gr(),n=_n(),r=$n();return xr=function(o,i,a){for(var s=t(i),u=r.f,c=n.f,h=0;h<s.length;h++){var l=s[h];e(o,l)||a&&e(a,l)||u(o,l,c(i,l))}},xr}function Wr(){if(zr)return Vr;zr=1;var e=De(),t=_n().f,n=Fn(),r=fr(),o=An(),i=Jr(),a=function(){if(Fr)return $r;Fr=1;var e=Ue(),t=Pt(),n=/#|\.prototype\./,r=function(n,r){var u=i[o(n)];return u===s||u!==a&&(t(r)?e(r):!!r)},o=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},i=r.data={},a=r.NATIVE="N",s=r.POLYFILL="P";return $r=r}();return Vr=function(s,u){var c,h,l,f,d,g=s.target,m=s.global,y=s.stat;if(c=m?e:y?e[g]||o(g,{}):e[g]&&e[g].prototype)for(h in u){if(f=u[h],l=s.dontCallGetSet?(d=t(c,h))&&d.value:c[h],!a(m?h:g+(y?".":"#")+h,s.forced)&&void 0!==l){if(typeof f==typeof l)continue;i(f,l)}(s.sham||l&&l.sham)&&n(f,"sham",!0),r(c,h,f,s)}}}var qr,Xr,Qr,eo,to,no,ro,oo,io,ao,so={};function uo(){if(Xr)return qr;Xr=1;var e=Yr(),t=Br();return qr=Object.keys||function(n){return e(n,t)},qr}function co(){if(to)return eo;to=1;var e=Ut();return eo=e("document","documentElement")}function ho(){if(ro)return no;ro=1;var e,t=Zn(),n=function(){if(Qr)return so;Qr=1;var e=xe(),t=xn(),n=$n(),r=Zn(),o=Bt(),i=uo();return so.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,s=o(t),u=i(t),c=u.length,h=0;c>h;)n.f(e,a=u[h++],s[a]);return e},so}(),r=Br(),o=cr(),i=co(),a=Dn(),s=ur(),u="prototype",c="script",h=s("IE_PROTO"),l=function(){},f=function(e){return"<"+c+">"+e+"</"+c+">"},d=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,n,o;g="undefined"!=typeof document?document.domain&&e?d(e):(n=a("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):d(e);for(var s=r.length;s--;)delete g[u][r[s]];return g()};return o[h]=!0,no=Object.create||function(e,r){var o;return null!==e?(l[u]=t(e),o=new l,l[u]=null,o[h]=e):o=g(),void 0===r?o:n.f(o,r)},no}function lo(){if(io)return oo;io=1;var e=Nn(),t=ho(),n=$n().f,r=e("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:t(null)}),oo=function(e){o[r][e]=!0}}function fo(e,t,n,r,o){return go(t,((e,t)=>{const n=e[t];if(void 0===n)throw new TypeError(kc(t));return n})(e,t),n,r,o)}function go(e,t,n,r,o,i){const a=Lo(t,n,r);if(o&&t!==a)throw new RangeError(Oc(e,t,n,r,i));return a}function mo(e){return null!==e&&/object|function/.test(typeof e)}function yo(e){const t=new(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Map);return function(n){if(t.has(n))return t.get(n);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];const a=e(n,...o);return t.set(n,a),a}}function vo(e){return po({name:e},1)}function po(e,t){return bo(e=>({value:e,configurable:1,writable:!t}),e)}function wo(e){return bo(e=>({get:e,configurable:1}),e)}function So(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function Ao(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function bo(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function To(e,t,n){const r={};for(let o=0;o<t.length;o++){const i=t[o];r[i]=e(i,o,n)}return r}function Eo(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function Io(e,t){const n=Object.create(null);for(const r of e)n[r]=t[r];return n}function Mo(e,t){for(const n of t)if(n in e)return 1;return 0}function No(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Ho(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Co(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e(...n,...r)}}function Do(e){return e[0].toUpperCase()+e.substring(1)}function Oo(e){return e.slice().sort()}function _o(e,t){return String(t).padStart(e,"0")}function ko(e,t){return Math.sign(e-t)}function Lo(e,t,n){return Math.min(Math.max(e,t),n)}function Ro(e,t){return[Math.floor(e/t),Yo(e,t)]}function Yo(e,t){return(e%t+t)%t}function Bo(e,t){return[Po(e,t),jo(e,t)]}function Po(e,t){return Math.trunc(e/t)||0}function jo(e,t){return e%t||0}function Uo(e){return.5===Math.abs(e%1)}function xo(e,t,n){let r=0,o=0;for(let i=0;i<=t;i++){const t=e[n[i]],a=Hh[i],s=Nh/a,[u,c]=Bo(t,s);r+=c*a,o+=u}const[i,a]=Bo(r,Nh);return[o+i,a]}function Zo(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Hh[o];r[n[o]]=Po(e,t),e=jo(e,t)}return r}function $o(e){if(void 0!==e)return Vo(e)}function Fo(e){return Wo(Vo(e))}function Vo(e){return Jo(tl(e))}function zo(e,t){if(null==t)throw new RangeError(kc(e));return t}function Ko(e){if(!mo(e))throw new TypeError(Dc);return e}function Go(e,t){if(typeof t!==e)throw new TypeError(_c(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function Jo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Ec(t,e));return e||0}function Wo(e){if(e<=0)throw new RangeError(Ic(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function qo(e){if("symbol"==typeof e)throw new TypeError(Cc);return String(e)}function Xo(e,t){return mo(e)?String(e):Qh(e,t)}function Qo(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Hc(e));return e}function ei(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(Nc(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(Mc(t,e));return e}function ti(e,t){return Math.trunc(ei(e,t))||0}function ni(e,t){return Jo(ei(e,t),t)}function ri(e,t){return Wo(ti(e,t),t)}function oi(e,t){let[n,r]=Bo(t,Nh),o=e+n;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*Nh),[o,r]}function ii(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return oi(e[0]+t[0]*n,e[1]+t[1]*n)}function ai(e,t){return oi(e[0],e[1]+t)}function si(e,t){return ii(t,e,-1)}function ui(e,t){return ko(e[0],t[0])||ko(e[1],t[1])}function ci(e,t,n){return-1===ui(e,t)||1===ui(e,n)}function hi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Nh/t);return[Number(e/n),Number(e%n)*t]}function li(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Nh/t,[r,o]=Bo(e,n);return[r,o*t]}function fi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;const[r,o]=e,[i,a]=Bo(o,t);return r*(Nh/t)+(i+(n?a/t:0))}function di(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ro;const[r,o]=e,[i,a]=n(o,t);return[r*(Nh/t)+i,a]}function gi(e){return fo(e,"isoYear",El,Tl,1),e.isoYear===El?fo(e,"isoMonth",4,12,1):e.isoYear===Tl&&fo(e,"isoMonth",1,9,1),e}function mi(e){return yi({...e,...vl,isoHour:12}),e}function yi(e){const t=fo(e,"isoYear",El,Tl,1),n=t===El?1:t===Tl?-1:0;return n&&vi(bi({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function vi(e){if(!e||ci(e,bl,Al))throw new RangeError(oh);return e}function pi(e){return xo(e,5,ll)[1]}function wi(e){const[t,n]=Ro(e,Nh);return[Zo(n,5,ll),t]}function Si(e){return di(e,Eh)}function Ai(e){return Ii(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function bi(e){const t=Ai(e);if(void 0!==t){const[n,r]=Bo(t,Sh);return[n,r*Th+(e.isoMicrosecond||0)*bh+(e.isoNanosecond||0)]}}function Ti(e,t){const[n,r]=wi(pi(e)-t);return vi(bi({...e,isoDay:e.isoDay+r,...n}))}function Ei(){return Ii(...arguments)/Ah}function Ii(){const[e,t]=Mi(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*Sh}function Mi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;const s=e===El?1:e===Tl?-1:0,u=new Date;return u.setUTCHours(r,o,i,a),u.setUTCFullYear(e,t-1,n+s),[u,s]}function Ni(e,t){let[n,r]=ai(e,t);r<0&&(r+=Nh,n-=1);const[o,i]=Ro(r,Th),[a,s]=Ro(i,bh);return Hi(n*Sh+o,a,s)}function Hi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=Math.ceil(Math.max(0,Math.abs(e)-Sl)/Sh)*Math.sign(e),o=new Date(e-r*Sh);return Ao(dl,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Ci(e,t){if(t<-Sl)throw new RangeError(oh);const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function Di(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Oi(e,t){return[t,0]}function _i(){return Cl}function ki(e,t){switch(t){case 2:return Ri(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Li(e){return Ri(e)?366:365}function Ri(e){return e%4==0&&(e%100!=0||e%400==0)}function Yi(e){const[t,n]=Mi(e.isoYear,e.isoMonth,e.isoDay);return Yo(t.getUTCDay()-n,7)||7}function Bi(e){return this.id===Gh?(e=>{let{isoYear:t}=e;return t<1?["gregory-inverse",1-t]:["gregory",t]})(e):this.id===Jh?Ol(e):[]}function Pi(e){const t=Ai(e);if(t<Dl){const{isoYear:t}=e;return t<1?["japanese-inverse",1-t]:["japanese",t]}const n=Ci($f(Jh),t),{era:r,eraYear:o}=Zu(n,Jh);return[r,o]}function ji(e){return Ui(e),$i(e,1),e}function Ui(e){return Zi(e,1),e}function xi(e){return No(fl,e,Zi(e))}function Zi(e,t){const{isoYear:n}=e,r=fo(e,"isoMonth",1,_i(),t);return{isoYear:n,isoMonth:r,isoDay:fo(e,"isoDay",1,ki(n,r),t)}}function $i(e,t){return Ao(ll,[fo(e,"isoHour",0,23,t),fo(e,"isoMinute",0,59,t),fo(e,"isoSecond",0,59,t),fo(e,"isoMillisecond",0,999,t),fo(e,"isoMicrosecond",0,999,t),fo(e,"isoNanosecond",0,999,t)])}function Fi(e){return void 0===e?0:Wl(Ko(e))}function Vi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=ta(e);const n=ql(e),r=Xl(e,t);return[Wl(e),r,n]}function zi(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:9,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4;t=ta(t);let a=Gl(t,r,o),s=Xi(t),u=nf(t,i);const c=Kl(t,r,o,1);return null==a?a=Math.max(n,c):aa(a,c),s=Qi(s,c,1),e&&(u=(e=>e<4?(e+2)%4:e)(u)),[a,c,s,u]}function Ki(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=Xi(e=na(e,_l));const o=nf(e,7);let i=Kl(e,t);return i=zo(_l,i),r=Qi(r,i,void 0,n),[i,r,o]}function Gi(e){return Ql(ta(e))}function Ji(e,t){return Wi(ta(e),t)}function Wi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=ea(e);return[nf(e,4),...qi(Kl(e,t),n)]}function qi(e,t){return null!=e?[Hh[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function Xi(e){const t=e[Ll];return void 0===t?1:ti(t,Ll)}function Qi(e,t,n,r){const o=r?Nh:Hh[t+1];if(o){const n=Hh[t];if(o%((e=go(Ll,e,1,o/n-(r?0:1),1))*n))throw new RangeError(_c(Ll,e))}else e=go(Ll,e,1,n?10**9:1,1);return e}function ea(e){let t=e[Rl];if(void 0!==t){if("number"!=typeof t){if("auto"===qo(t))return;throw new RangeError(_c(Rl,t))}t=go(Rl,Math.floor(t),0,9,1)}return t}function ta(e){return void 0===e?{}:Ko(e)}function na(e,t){return"string"==typeof e?{[t]:e}:Ko(e)}function ra(e){return{overflow:jl[e]}}function oa(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:9,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,i=t[e];if(void 0===i)return o?r:void 0;if(i=qo(i),"auto"===i)return o?r:null;let a=ph[i];if(void 0===a&&(a=sl[i]),void 0===a)throw new RangeError(Bc(e,i,ph));return go(e,a,r,n,1,wh),a}function ia(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=n[e];if(void 0===o)return r;const i=qo(o),a=t[i];if(void 0===a)throw new RangeError(Bc(e,i,t));return a}function aa(e,t){if(t>e)throw new RangeError(hh)}function sa(e){return{branding:hf,epochNanoseconds:e}}function ua(e,t,n){return{branding:cf,calendar:n,timeZone:t,epochNanoseconds:e}}function ca(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:sf,calendar:t,...Io(yl,e)}}function ha(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:af,calendar:t,...Io(gl,e)}}function la(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:rf,calendar:t,...Io(gl,e)}}function fa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:of,calendar:t,...Io(gl,e)}}function da(e){return{branding:uf,...Io(ml,e)}}function ga(e){return{branding:lf,sign:Hs(e),...Io(rl,e)}}function ma(e){return di(e.epochNanoseconds,Th)[0]}function ya(e){return e.epochNanoseconds}function va(e,t){return fi(Os(e),Hh[t],1)}function pa(e,t,n,r,o,i,a){const s=nl[n],u={...t,[s]:t[s]+r},c=a(e,o,t),h=a(e,o,u);return[i(c),i(h)]}function wa(e,t,n){const r=fi(si(t,n));if(!r)throw new RangeError(Gc);return fi(si(t,e))/r}function Sa(e,t,n,r){return Aa(e,Ea(t,n),r)}function Aa(e,t,n){const[r,o]=ba(e,t,n);return yi({...ps(e,o),...r})}function ba(e,t,n){return wi(Oa(pi(e),t,n))}function Ta(e){return Oa(e,Ih,7)}function Ea(e,t){return Hh[e]*t}function Ia(e){const t=Ma(e);return[t,ps(t,1)]}function Ma(e){return pl(6,e)}function Na(e,t,n){const r=Math.min(Rs(e),6);return _s(Da(Os(e,r),t,n),r)}function Ha(e,t,n,r,o,i,a,s,u,c){if(0===r&&1===o)return e;const h=Es(r,s)?Ts(s)&&r<6&&n>=6?La:ka:Ra;let[l,f,d]=h(e,t,n,r,o,i,a,s,u,c);return d&&7!==r&&(l=((e,t,n,r,o,i,a,s)=>{const u=Hs(e);for(let c=r+1;c<=n;c++){if(7===c&&7!==n)continue;const r=hl(c,e);r[nl[c]]+=u;const h=fi(si(a(s(o,i,r)),t));if(h&&Math.sign(h)!==u)break;e=r}return e})(l,f,n,Math.max(6,r),a,s,u,c)),l}function Ca(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Nh)(e);return[Oa(t,n,r),0]}return Da(e,Ea(t,n),r,o)}function Da(e,t,n,r){let[o,i]=e;r&&i<0&&(i+=Nh,o-=1);const[a,s]=Ro(Oa(i,t,n),Nh);return oi(o+a,s)}function Oa(e,t,n){return _a(e/t,n)*t}function _a(e,t){return ff[t](e)}function ka(e,t,n,r,o,i){const a=Hs(e),s=Os(e),u=Ca(s,r,o,i),c=si(s,u),h=Math.sign(u[0]-s[0])===a,l=_s(u,Math.min(n,6));return[{...e,...l},ii(t,c),h]}function La(e,t,n,r,o,i,a,s,u,c){const h=Hs(e)||1,l=fi(Os(e,5)),f=Ea(r,o);let d=Oa(l,f,i);const[g,m]=pa(a,{...e,...cl},6,h,s,u,c),y=d-fi(si(g,m));let v=0;y&&Math.sign(y)!==h?t=ai(g,d):(v+=h,d=Oa(y,f,i),t=ai(m,d));const p=ks(d);return[{...e,...p,days:e.days+v},t,Boolean(v)]}function Ra(e,t,n,r,o,i,a,s,u,c){const h=Hs(e),l=nl[r],f=hl(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const d=Po(e[l],o)*o;f[l]=d;const[g,m]=pa(a,f,r,o*h,s,u,c),y=d+wa(t,g,m)*h*o,v=Oa(y,o,i),p=Math.sign(v-y)===h;return f[l]=v,[f,p?m:g,p]}function Ya(e,t,n,r){const[o,i,a,s]=(e=>{const t=Wi(e=ta(e));return[e.timeZone,...t]})(r),u=void 0!==o;return((e,t,n,r,o,i)=>{n=Da(n,o,r,1);const a=t.R(n);return za(Ni(n,a),i)+(e?qa(Ta(a)):"Z")})(u,t(u?e(o):df),n.epochNanoseconds,i,a,s)}function Ba(e,t,n){const[r,o,i,a,s,u]=(e=>{e=ta(e);const t=Ql(e),n=ea(e),r=tf(e),o=nf(e,4),i=Kl(e,4);return[t,ef(e),r,o,...qi(i,n)]})(n);return((e,t,n,r,o,i,a,s,u,c)=>{r=Da(r,u,s,1);const h=e(n).R(r);return za(Ni(r,h),c)+qa(Ta(h),a)+((e,t)=>1!==t?"["+(2===t?"!":"")+e+"]":"")(n,i)+Xa(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,i,a,s,u)}function Pa(e,t){const[n,r,o,i]=(e=>(e=ta(e),[Ql(e),...Wi(e)]))(t);return a=e.calendar,s=n,u=i,za(Aa(e,o,r),u)+Xa(a,s);var a,s,u}function ja(e,t){return n=e.calendar,r=e,o=Gi(t),Ka(r)+Xa(n,o);var n,r,o}function Ua(e,t){return Fa(e.calendar,Ga,e,Gi(t))}function xa(e,t){return Fa(e.calendar,Ja,e,Gi(t))}function Za(e,t){const[n,r,o]=Ji(t);return i=o,Wa(ba(e,r,n)[0],i);var i}function $a(e,t){const[n,r,o]=Ji(t,3);return r>1&&Cs(e={...e,...Na(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Ns(e):e,{hours:o,minutes:i}=r,[a,s]=di(Os(r,3),Eh,Bo);Ds(a);const u=es(s,t),c=t>=0||!n||u;return(n<0?"-":"")+"P"+Va({Y:ns(r.years),M:ns(r.months),W:ns(r.weeks),D:ns(r.days)})+(o||i||a||c?"T"+Va({H:ns(o),M:ns(i),S:ns(a,c)+u}):"")})(e,o)}function Fa(e,t,n,r){const o=r>1||0===r&&e!==Kh;return 1===r?e===Kh?t(n):Ka(n):o?Ka(n)+Qa(e,2===r):t(n)}function Va(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function za(e,t){return Ka(e)+"T"+Wa(e,t)}function Ka(e){return Ga(e)+"-"+vh(e.isoDay)}function Ga(e){const{isoYear:t}=e;return(t<0||t>9999?ts(t)+_o(6,Math.abs(t)):_o(4,t))+"-"+vh(e.isoMonth)}function Ja(e){return vh(e.isoMonth)+"-"+vh(e.isoDay)}function Wa(e,t){const n=[vh(e.isoHour),vh(e.isoMinute)];return-1!==t&&n.push(vh(e.isoSecond)+((e,t,n,r)=>es(e*Th+t*bh+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function qa(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=Ro(Math.abs(e),Mh),[r,o]=Ro(n,Ih),[i,a]=Ro(o,Eh);return ts(e)+vh(t)+":"+vh(r)+(i||a?":"+vh(i)+es(a):"")}function Xa(e,t){return 1!==t&&(t>1||0===t&&e!==Kh)?Qa(e,2===t):""}function Qa(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function es(e,t){let n=_o(9,e);return n=void 0===t?n.replace(vf,""):n.slice(0,t),n?"."+n:""}function ts(e){return e<0?"-":"+"}function ns(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function rs(e,t){const{epochNanoseconds:n}=e,r=(t.R?t:t(e.timeZone)).R(n),o=Ni(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function os(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;if(void 0!==n&&1===r&&(1===r||a))return Ti(t,n);const s=e.I(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=bi(t);r&&(n=Ta(n));for(const t of e){let e=fi(si(t,o));if(r&&(e=Ta(e)),e===n)return t}})(s,t,n,i);if(void 0!==e)return e;if(0===r)throw new RangeError(nh)}return a?bi(t):is(e,t,o,s)}function is(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.I(t);if(1===r.length)return r[0];if(1===n)throw new RangeError(rh);if(r.length)return r[3===n?1:0];const o=bi(t),i=((e,t)=>{const n=e.R(ai(t,-Nh));return(e=>{if(e>Nh)throw new RangeError(th);return e})(e.R(ai(t,Nh))-n)})(e,o),a=i*(2===n?-1:1);return(r=e.I(Ni(o,a)))[2===n?0:r.length-1]}function as(e,t){const n=e.I(t);if(n.length)return n[0];const r=ai(bi(t),-Nh);return e.O(r,1)}function ss(e,t,n){return sa(vi(ii(t.epochNanoseconds,(e=>{if(Ls(e))throw new RangeError(uh);return Os(e,5)})(e?Ns(n):n))))}function us(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Object.create(null);const a=t(r.timeZone),s=e(r.calendar);return{...r,...ds(a,s,r,n?Ns(o):o,i)}}function cs(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:i}=n;return ca(gs(e(i),n,t?Ns(r):r,o),i)}function hs(e,t,n,r,o){const{calendar:i}=n;return ha(ms(e(i),n,t?Ns(r):r,o),i)}function ls(e,t,n,r,o){const i=n.calendar,a=e(i);let s=mi(ys(a,n));t&&(r=Ms(r)),r.sign<0&&(s=a.P(s,{...ul,months:1}),s=ps(s,-1));const u=a.P(s,r,o);return la(ys(a,u),i)}function fs(e,t,n){return da(vs(t,e?Ns(n):n)[0])}function ds(e,t,n,r,o){const i=Os(r,5);let a=n.epochNanoseconds;if(Ls(r)){const s=pf(n,e);a=ii(is(e,{...ms(t,s,{...r,...cl},o),...Io(ll,s)}),i)}else a=ii(a,i),Fi(o);return{epochNanoseconds:vi(a)}}function gs(e,t,n,r){const[o,i]=vs(t,n);return yi({...ms(e,t,{...n,...cl,days:n.days+i},r),...o})}function ms(e,t,n,r){if(n.years||n.months||n.weeks)return e.P(t,n,r);Fi(r);const o=n.days+Os(n,5)[0];return o?mi(ps(t,o)):t}function ys(e,t){return ps(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function vs(e,t){const[n,r]=Os(t,5),[o,i]=wi(pi(e)+r);return[o,n+i]}function ps(e,t){return t?{...e,...Hi(Ai(e)+t*Sh)}:e}function ws(e,t,n){const r=e(n.calendar);return Ts(n)?[n,r,t(n.timeZone)]:[{...n,...vl},r]}function Ss(e){return e?ya:bi}function As(e){return e?Co(ds,e):gs}function bs(e){return e?Co(pu,e):wu}function Ts(e){return e&&e.epochNanoseconds}function Es(e,t){return e<=6-(Ts(t)?1:0)}function Is(e,t,n,r,o,i,a){const s=e(ta(a).relativeTo),u=Math.max(Rs(o),Rs(i));if(Es(u,s))return ga(Cs(((e,t,n,r)=>{const o=ii(Os(e),Os(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(oh);return{...ul,..._s(o,n)}})(o,i,u,r)));if(!s)throw new RangeError(sh);r&&(i=Ns(i));const[c,h,l]=ws(t,n,s),f=As(l),d=bs(l),g=f(h,c,o);return ga(d(h,c,f(h,g,i),u))}function Ms(e){return ga(Ns(e))}function Ns(e){const t={};for(const n of nl)t[n]=-1*e[n]||0;return t}function Hs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nl,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(ah);n=t}}return n}function Cs(e){for(const t of al)go(t,e[t],-wf,wf,1);return Ds(fi(Os(e),Eh)),e}function Ds(e){if(!Number.isSafeInteger(e))throw new RangeError(ih)}function Os(e){return xo(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,nl)}function _s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=Zo(r,t,nl);if(o[nl[t]]+=n*(Nh/Hh[t]),!Number.isFinite(o[nl[t]]))throw new RangeError(oh);return o}function ks(e){return Zo(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,nl)}function Ls(e){return Boolean(Hs(e,il))}function Rs(e){let t=9;for(;t>0&&!e[nl[t]];t--);return t}function Ys(e,t){return[e,t]}function Bs(e){const t=Math.floor(e/gf)*gf;return[t,t+gf]}function Ps(e){const t=Gs(e);if(void 0===t)throw new RangeError(lh(e));return t}function js(e,t,n){let r=Vs(Qh(e));if(!r||r.j)throw new RangeError(lh(e));return t?r.calendar===Kh&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...vl}:{...r,isoDay:1,...vl}):n&&r.calendar===Kh&&(r={...r,isoYear:Hl}),ha(r.C?Zs(r):$s(r))}function Us(e){if(e.calendar!==Kh)throw new RangeError(fh(e.calendar))}function xs(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=nu(e.timeZone),i=Sf(o);let a;return ji(e),a=e.C?os(i,e,t,n,r,!i.$,e.j):as(i,e),ua(a,o,ec(e.calendar))}function Zs(e){return Fs(yi(ji(e)))}function $s(e){return Fs(mi(Ui(e)))}function Fs(e){return{...e,calendar:ec(e.calendar)}}function Vs(e){const t=kf.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:Js(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Ws(e.slice(5)),...qs(e[16]),C:Boolean(e[6]),j:n,offset:n?void 0:t}})(t):void 0}function zs(e){const t=Of.exec(e);return t?(e=>({isoYear:Js(e),isoMonth:parseInt(e[4]),isoDay:1,...qs(e[5])}))(t):void 0}function Ks(e){const t=_f.exec(e);return t?(e=>({isoYear:Hl,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...qs(e[3])}))(t):void 0}function Gs(e,t){const n=Rf.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(fh(n));return(e=>{if(Math.abs(e)>=Nh)throw new RangeError(eh);return e})((tu(e[2])*Mh+tu(e[3])*Ih+tu(e[4])*Eh+Xs(e[5]||""))*eu(e[1]))})(n,t):void 0}function Js(e){const t=eu(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(fh(-0));return t*n}function Ws(e){const t=tu(e[3]);return{...wi(Xs(e[4]||""))[0],isoHour:tu(e[1]),isoMinute:tu(e[2]),isoSecond:60===t?59:t}}function qs(e){let t,n;const r=[];if(e.replace(Yf,(e,o,i)=>{const a=Boolean(o),[s,u]=i.split("=").reverse();if(u){if("u-ca"===u)r.push(s),t||(t=a);else if(a||/[A-Z]/.test(u))throw new RangeError(fh(e))}else{if(n)throw new RangeError(fh(e));n=s}return""}),r.length>1&&t)throw new RangeError(fh(e));return{timeZone:n,calendar:r[0]||Kh}}function Xs(e){return parseInt(e.padEnd(9,"0"))}function Qs(e){return new RegExp(`^${e}$`,"i")}function eu(e){return e&&"+"!==e?-1:1}function tu(e){return void 0===e?0:parseInt(e)}function nu(e){const t=ou(e);return"number"==typeof t?qa(t):t?(e=>{if(Uf.test(e))throw new RangeError(qc(e));if(jf.test(e))throw new RangeError(Qc);return e.toLowerCase().split("/").map((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,(e,n)=>e.length<=2&&!t||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!n?Do(e).replace(/island|noronha|murdo|rivadavia|urville/,Do):e)).join("/")})(e):df}function ru(e){const t=ou(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:df}function ou(e){const t=Gs(e=e.toUpperCase(),1);return void 0!==t?t:e!==df?Pf(e):void 0}function iu(e,t){return ui(e.epochNanoseconds,t.epochNanoseconds)}function au(e,t){return ui(e.epochNanoseconds,t.epochNanoseconds)}function su(e,t){return uu(e,t)||cu(e,t)}function uu(e,t){return ko(Ai(e),Ai(t))}function cu(e,t){return ko(pi(e),pi(t))}function hu(e,t){if(e===t)return 1;try{return ru(e)===ru(t)}catch(e){}}function lu(e,t,n,r){const o=zi(e,r,3,5),i=bu(t.epochNanoseconds,n.epochNanoseconds,...o);return ga(e?Ns(i):i)}function fu(e,t,n,r,o,i){const a=Nu(r.calendar,o.calendar),[s,u,c,h]=zi(n,i,5),l=r.epochNanoseconds,f=o.epochNanoseconds,d=ui(f,l);let g;if(d)if(s<6)g=bu(l,f,s,u,c,h);else{const n=t(((e,t)=>{if(!hu(e,t))throw new RangeError(Xc);return e})(r.timeZone,o.timeZone)),l=e(a);g=Su(l,n,r,o,d,s,i),g=Ha(g,f,s,u,c,h,l,r,ya,Co(ds,n))}else g=ul;return ga(n?Ns(g):g)}function du(e,t,n,r,o){const i=Nu(n.calendar,r.calendar),[a,s,u,c]=zi(t,o,6),h=bi(n),l=bi(r),f=ui(l,h);let d;if(f)if(a<=6)d=bu(h,l,a,s,u,c);else{const t=e(i);d=Au(t,n,r,f,a,o),d=Ha(d,l,a,s,u,c,t,n,bi,gs)}else d=ul;return ga(t?Ns(d):d)}function gu(e,t,n,r,o){const i=Nu(n.calendar,r.calendar);return yu(t,()=>e(i),n,r,...zi(t,o,6,9,6))}function mu(e,t,n,r,o){const i=Nu(n.calendar,r.calendar),a=zi(t,o,9,9,8),s=e(i),u=ys(s,n),c=ys(s,r);return u.isoYear===c.isoYear&&u.isoMonth===c.isoMonth&&u.isoDay===c.isoDay?ga(ul):yu(t,()=>s,mi(u),mi(c),...a,8)}function yu(e,t,n,r,o,i,a,s){let u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:6;const c=bi(n),h=bi(r);if(void 0===c||void 0===h)throw new RangeError(oh);let l;if(ui(h,c))if(6===o)l=bu(c,h,o,i,a,s);else{const e=t();l=e.N(n,r,o),i===u&&1===a||(l=Ha(l,h,o,i,a,s,e,n,bi,ms))}else l=ul;return ga(e?Ns(l):l)}function vu(e,t,n,r){const[o,i,a,s]=zi(e,r,5,5),u=Oa(Mu(t,n),Ea(i,a),s),c={...ul,...ks(u,o)};return ga(e?Ns(c):c)}function pu(e,t,n,r,o,i){const a=ui(r.epochNanoseconds,n.epochNanoseconds);return a?o<6?Tu(n.epochNanoseconds,r.epochNanoseconds,o):Su(t,e,n,r,a,o,i):ul}function wu(e,t,n,r,o){const i=bi(t),a=bi(n),s=ui(a,i);return s?r<=6?Tu(i,a,r):Au(e,t,n,s,r,o):ul}function Su(e,t,n,r,o,i,a){const[s,u,c]=((e,t,n,r)=>{function o(){return l={...ps(s,c++*-r),...a},f=is(e,l),ui(u,f)===-r}const i=pf(t,e),a=Io(ll,i),s=pf(n,e),u=n.epochNanoseconds;let c=0;const h=Mu(i,s);let l,f;if(Math.sign(h)===-r&&c++,o()&&(-1===r||o()))throw new RangeError(Gc);const d=fi(si(f,u));return[i,l,d]})(t,n,r,o);var h,l;return{...6===i?(h=s,l=u,{...ul,days:Eu(h,l)}):e.N(s,u,i,a),...ks(c)}}function Au(e,t,n,r,o,i){const[a,s,u]=((e,t,n)=>{let r=t,o=Mu(e,t);return Math.sign(o)===-n&&(r=ps(t,-n),o+=Nh*n),[e,r,o]})(t,n,r);return{...e.N(a,s,o,i),...ks(u)}}function bu(e,t,n,r,o,i){return{...ul,..._s(Ca(si(e,t),r,o,i),n)}}function Tu(e,t,n){return{...ul,..._s(si(e,t),n)}}function Eu(e,t){return Iu(Ai(e),Ai(t))}function Iu(e,t){return Math.trunc((t-e)/Sh)}function Mu(e,t){return pi(t)-pi(e)}function Nu(e,t){if(e!==t)throw new RangeError(Wc);return e}function Hu(e){return this.m(e)[0]}function Cu(e){return this.m(e)[1]}function Du(e){const[t]=this.v(e);return Iu(this.p(t),Ai(e))+1}function Ou(e){const t=xf.exec(e);if(!t)throw new RangeError(Fc(e));return[parseInt(t[1]),Boolean(t[2])]}function _u(e,t){return"M"+vh(e)+(t?"L":"")}function ku(e,t,n){return e+(t||n&&e>=n?1:0)}function Lu(e,t){return e-(t&&e>=t?1:0)}function Ru(e,t){return(t+e)*(Math.sign(t)||1)||0}function Yu(e){return Wh[Pu(e)]}function Bu(e){return Xh[Pu(e)]}function Pu(e){return tc(e.id||Kh)}function ju(e){function t(e){return((e,t)=>({...Zu(e,t),o:e.month,day:parseInt(e.day)}))(Ci(n,e),r)}const n=$f(e),r=tc(e);return{id:e,h:Uu(t),l:xu(t)}}function Uu(e){return yo(t=>{const n=Ai(t);return e(n)},WeakMap)}function xu(e){const t=e(0).year-Nl;return yo(n=>{let r,o=Ii(n-t),i=0;const a=[],s=[];do{o+=400*Sh}while((r=e(o)).year<=n);do{if(o+=(1-r.day)*Sh,r.year===n&&(a.push(o),s.push(r.o)),o-=Sh,++i>100||o<-Sl)throw new RangeError(Gc)}while((r=e(o)).year>=n);return{i:a.reverse(),u:mh(s.reverse())}})}function Zu(e,t){let n,r,o=$u(e);if(e.era){const i=Wh[t],a=qh[t]||{};void 0!==i&&(n="islamic"===t?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===n||"b"===n?n="bce":"ad"===n||"a"===n?n="ce":"beforeroc"===n&&(n="broc"),n=a[n]||n,r=o,o=Ru(r,i[n]||0))}return{era:n,eraYear:r,year:o}}function $u(e){return parseInt(e.relatedYear||e.year)}function Fu(e){const{year:t,o:n,day:r}=this.h(e),{u:o}=this.l(t);return[t,o[n]+1,r]}function Vu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.l(e).i[t-1]+(n-1)*Sh}function zu(e,t){const n=Ku.call(this,e);return[Lu(t,n),n===t]}function Ku(e){const t=Xu(this,e),n=Xu(this,e-1),r=t.length;if(r>n.length){const e=Bu(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Gu(e){return Iu(Vu.call(this,e),Vu.call(this,e+1))}function Ju(e,t){const{i:n}=this.l(e);let r=t+1,o=n;return r>n.length&&(r=1,o=this.l(e+1).i),Iu(n[t-1],o[r-1])}function Wu(e){return this.l(e).i.length}function qu(e){const t=this.h(e);return[t.era,t.eraYear]}function Xu(e,t){return Object.keys(e.l(t).u)}function Qu(e){return ec(Qh(e))}function ec(e){if((e=e.toLowerCase())!==Kh&&e!==Gh){const t=$f(e).resolvedOptions().calendar;if(tc(e)!==tc(t))throw new RangeError(Jc(e));return t}return e}function tc(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function nc(e,t){return n=>n===Kh?e:n===Gh||n===Jh?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),Zf(n))}function rc(e,t,n,r){const o=oc(n,r,$h,[],Lh);if(void 0!==o.timeZone){const r=n.F(o),i=ac(o),a=e(o.timeZone);return{epochNanoseconds:os(t(a),{...r,...i},void 0!==o.offset?Ps(o.offset):void 0),timeZone:a}}return{...n.F(o),...vl}}function oc(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return ic(t,[...e.fields(n),...o].sort(),r)}function ic(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!n;const o={};let i,a=0;for(const r of t){if(r===i)throw new RangeError(Rc(r));if("constructor"===r||"__proto__"===r)throw new RangeError(Lc(r));let t=e[r];if(void 0!==t)a=1,ed[r]&&(t=ed[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(kc(r));o[r]=zh[r]}i=r}if(r&&!a)throw new TypeError(Yc(t));return o}function ac(e,t){return $i(td({...zh,...e}),t)}function sc(e,t,n,r,o){t=Io(n=e.fields(n),t),r=ic(r,o=e.fields(o),[]);let i=e.k(t,r);return i=ic(i,[...n,...o].sort(),[]),e.F(i)}function uc(e,t){const n=Yu(e),r=qh[e.id||""]||{};let{era:o,eraYear:i,year:a}=t;if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)throw new TypeError(Uc);if(!n)throw new RangeError(jc);const e=n[r[o]||o];if(void 0===e)throw new RangeError(Zc(o));const t=Ru(i,e);if(void 0!==a&&a!==t)throw new RangeError(xc);a=t}else if(void 0===a)throw new TypeError($c(n));return a}function cc(e,t,n,r){let{month:o,monthCode:i}=t;if(void 0!==i){const t=((e,t,n,r)=>{const o=e.L(n),[i,a]=Ou(t);let s=ku(i,a,o);if(a){const t=Bu(e);if(void 0===t)throw new RangeError(Kc);if(t>0){if(s>t)throw new RangeError(Kc);if(void 0===o){if(1===r)throw new RangeError(Kc);s--}}else{if(s!==-t)throw new RangeError(Kc);if(void 0===o&&1===r)throw new RangeError(Kc)}}return s})(e,i,n,r);if(void 0!==o&&o!==t)throw new RangeError(Vc);o=t,r=1}else if(void 0===o)throw new TypeError(zc);return go("month",o,1,e.B(n),r)}function hc(e,t,n,r,o){return fo(t,"day",1,e.U(r,n),o)}function lc(e,t,n,r){let o=0;const i=[];for(const e of n)void 0!==t[e]?o=1:i.push(e);if(Object.assign(e,t),o)for(const t of r||i)delete e[t]}function fc(e){const t=Xf(e.calendar),[n,r,o]=t.v(e),[i,a]=t.q(n,r);return{year:n,monthCode:_u(i,a),day:o}}function dc(e,t){return ca(pf(t,e))}function gc(e,t){return ha(pf(t,e))}function mc(e,t){return da(pf(t,e))}function yc(e,t,n){const r=new Set(n);return(o,i)=>{const a=n&&Mo(o,n);if(!Mo(o=((e,t)=>{const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n})(r,o),e)){if(i&&a)throw new TypeError("Invalid formatting options");o={...t,...o}}return n&&(o.timeZone=df,["full","long"].includes(o.J)&&(o.J="medium")),o}}function vc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pc,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const[r,,,o]=e;return function(i){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_d;for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];const h=t(o&&o(...u),i,a,r,n),l=h.resolvedOptions();return[h,...wc(e,l,u)]}}function pc(e,t,n,r,o){if(n=r(n,o),e){if(void 0!==n.timeZone)throw new TypeError(gh);n.timeZone=e}return new Il(t,n)}function wc(e,t,n){const[,r,o]=e;return n.map(e=>(e.calendar&&((e,t,n)=>{if((n||e!==Kh)&&e!==t)throw new RangeError(Wc)})(e.calendar,t.calendar,o),r(e,t)))}function Sc(e,t){return{...e,calendar:t}}function Ac(e){const t=bc();return Ni(t,e.R(t))}function bc(){return li(Date.now(),Th)}function Tc(){return xd||(xd=(new Il).resolvedOptions().timeZone)}!function(){if(ao)return Ce;ao=1;var e=Wr(),t=Rr().includes,n=Ue(),r=lo();e({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();const Ec=(e,t)=>`Non-integer ${e}: ${t}`,Ic=(e,t)=>`Non-positive ${e}: ${t}`,Mc=(e,t)=>`Non-finite ${e}: ${t}`,Nc=e=>`Cannot convert bigint to ${e}`,Hc=e=>`Invalid bigint: ${e}`,Cc="Cannot convert Symbol to string",Dc="Invalid object",Oc=(e,t,n,r,o)=>o?Oc(e,o[t],o[n],o[r]):_c(e,t)+`; must be between ${n}-${r}`,_c=(e,t)=>`Invalid ${e}: ${t}`,kc=e=>`Missing ${e}`,Lc=e=>`Invalid field ${e}`,Rc=e=>`Duplicate field ${e}`,Yc=e=>"No valid fields: "+e.join(),Bc=(e,t,n)=>_c(e,t)+"; must be "+Object.keys(n).join(),Pc="Invalid calling context",jc="Forbidden era/eraYear",Uc="Mismatching era/eraYear",xc="Mismatching year/eraYear",Zc=e=>`Invalid era: ${e}`,$c=e=>"Missing year"+(e?"/era/eraYear":""),Fc=e=>`Invalid monthCode: ${e}`,Vc="Mismatching month/monthCode",zc="Missing month/monthCode",Kc="Invalid leap month",Gc="Invalid protocol results",Jc=e=>_c("Calendar",e),Wc="Mismatching Calendars",qc=e=>_c("TimeZone",e),Xc="Mismatching TimeZones",Qc="Forbidden ICU TimeZone",eh="Out-of-bounds offset",th="Out-of-bounds TimeZone gap",nh="Invalid TimeZone offset",rh="Ambiguous offset",oh="Out-of-bounds date",ih="Out-of-bounds duration",ah="Cannot mix duration signs",sh="Missing relativeTo",uh="Cannot use large units",ch="Required smallestUnit or largestUnit",hh="smallestUnit > largestUnit",lh=e=>`Cannot parse: ${e}`,fh=e=>`Invalid substring: ${e}`,dh="Mismatching types for formatting",gh="Cannot specify TimeZone",mh=Co(To,(e,t)=>t),yh=Co(To,(e,t,n)=>n),vh=Co(_o,2),ph={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},wh=Object.keys(ph),Sh=864e5,Ah=1e3,bh=1e3,Th=1e6,Eh=1e9,Ih=6e10,Mh=36e11,Nh=864e11,Hh=[1,bh,Th,Eh,Ih,Mh,Nh],Ch=wh.slice(0,6),Dh=Oo(Ch),Oh=["offset"],_h=["timeZone"],kh=Ch.concat(Oh),Lh=kh.concat(_h),Rh=["era","eraYear"],Yh=Rh.concat(["year"]),Bh=["year"],Ph=["monthCode"],jh=["month"].concat(Ph),Uh=["day"],xh=jh.concat(Bh),Zh=Ph.concat(Bh),$h=Uh.concat(xh),Fh=Uh.concat(jh),Vh=Uh.concat(Ph),zh=yh(Ch,0),Kh="iso8601",Gh="gregory",Jh="japanese",Wh={[Gh]:{"gregory-inverse":-1,gregory:0},[Jh]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},qh={[Gh]:{bce:"gregory-inverse",ce:"gregory"},[Jh]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Xh={chinese:13,dangi:13,hebrew:-6},Qh=Co(Go,"string"),el=Co(Go,"boolean"),tl=Co(Go,"number"),nl=wh.map(e=>e+"s"),rl=Oo(nl),ol=nl.slice(0,6),il=nl.slice(6),al=il.slice(1),sl=mh(nl),ul=yh(nl,0),cl=yh(ol,0),hl=Co(Ho,nl),ll=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],fl=["isoDay","isoMonth","isoYear"],dl=ll.concat(fl),gl=Oo(fl),ml=Oo(ll),yl=Oo(dl),vl=yh(ml,0),pl=Co(Ho,dl),wl=1e8,Sl=wl*Sh,Al=[wl,0],bl=[-wl,0],Tl=275760,El=-271821,Il=Intl.DateTimeFormat,Ml="en-GB",Nl=1970,Hl=1972,Cl=12,Dl=Ii(1868,9,8),Ol=yo(Pi,WeakMap),_l="smallestUnit",kl="unit",Ll="roundingIncrement",Rl="fractionalSecondDigits",Yl="relativeTo",Bl="direction",Pl={constrain:0,reject:1},jl=Object.keys(Pl),Ul={compatible:0,reject:1,earlier:2,later:3},xl={reject:0,use:1,prefer:2,ignore:3},Zl={auto:0,never:1,critical:2,always:3},$l={auto:0,never:1,critical:2},Fl={auto:0,never:1},Vl={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},zl={previous:-1,next:1},Kl=Co(oa,_l),Gl=Co(oa,"largestUnit"),Jl=Co(oa,kl),Wl=Co(ia,"overflow",Pl),ql=Co(ia,"disambiguation",Ul),Xl=Co(ia,"offset",xl),Ql=Co(ia,"calendarName",Zl),ef=Co(ia,"timeZoneName",$l),tf=Co(ia,"offset",Fl),nf=Co(ia,"roundingMode",Vl),rf="PlainYearMonth",of="PlainMonthDay",af="PlainDate",sf="PlainDateTime",uf="PlainTime",cf="ZonedDateTime",hf="Instant",lf="Duration",ff=[Math.floor,e=>Uo(e)?Math.floor(e):Math.round(e),Math.ceil,e=>Uo(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>Uo(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>Uo(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],df="UTC",gf=5184e3,mf=Ei(1847),yf=Ei((new Date).getUTCFullYear()+10),vf=/0+$/,pf=yo(rs,WeakMap),wf=2**32-1,Sf=yo(e=>{const t=ou(e);return"object"==typeof t?new bf(t):new Af(t||0)});class Af{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const t=bi({...e,...vl});if(!t||Math.abs(t[0])>1e8)throw new RangeError(oh)})(e),[Ti(e,this.$)]}O(){}}class bf{constructor(e){this.nn=(e=>{function t(e){const t=Lo(e,i,a),[s,u]=Bs(t),c=r(s),h=r(u);return c===h?c:n(o(s,u),c,h,e)}function n(t,n,r,o){let i,a;for(;(void 0===o||void 0===(i=o<t[0]?n:o>=t[1]?r:void 0))&&(a=t[1]-t[0]);){const n=t[0]+Math.floor(a/2);e(n)===r?t[1]=n:t[0]=n+1}return i}const r=yo(e),o=yo(Ys);let i=mf,a=yf;return{tn(e){const n=t(e-86400),r=t(e+86400),o=e-n,i=e-r;if(n===r)return[o];const a=t(o);return a===t(i)?[e-a]:n>r?[o,i]:[]},rn:t,O(e,t){const s=Lo(e,i,a);let[u,c]=Bs(s);const h=gf*t,l=t<0?()=>c>i||(i=s,0):()=>u<a||(a=s,0);for(;l();){const i=r(u),a=r(c);if(i!==a){const r=o(u,c);n(r,i,a);const s=r[0];if((ko(s,e)||1)===t)return s}u+=h,c+=h}}}})((e=>t=>{const n=Ci(e,t*Ah);return Ei($u(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}R(e){return this.nn.rn((e=>Si(e)[0])(e))*Eh}I(e){const[t,n]=[Ei((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*Th+r.isoMicrosecond*bh+r.isoNanosecond];var r;return this.nn.tn(t).map(e=>vi(ai(li(e,Eh),n)))}O(e,t){const[n,r]=Si(e),o=this.nn.O(n+(t>0||r?1:0),t);if(void 0!==o)return li(o,Eh)}}const Tf="([+-])",Ef="(?:[.,](\\d{1,9}))?",If=`(?:(?:${Tf}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Mf="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Ef+")?)?",Nf=Tf+Mf,Hf=If+"-?(\\d{2})(?:[T ]"+Mf+"(Z|"+Nf+")?)?",Cf="\\[(!?)([^\\]]*)\\]",Df=`((?:${Cf}){0,9})`,Of=Qs(If+Df),_f=Qs("(?:--)?(\\d{2})-?(\\d{2})"+Df),kf=Qs(Hf+Df),Lf=Qs("T?"+Mf+"(?:"+Nf+")?"+Df),Rf=Qs(Nf),Yf=new RegExp(Cf,"g"),Bf=Qs(`${Tf}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Ef}H)?(?:(\\d+)${Ef}M)?(?:(\\d+)${Ef}S)?)?`),Pf=yo(e=>new Il(Ml,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),jf=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,Uf=/[^\w\/:+-]+/,xf=/^M(\d{2})(L?)$/,Zf=yo(ju),$f=yo(e=>new Il(Ml,{calendar:e,timeZone:df,era:"short",year:"numeric",month:"short",day:"numeric"})),Ff={P(e,t,n){const r=Fi(n);let o,{years:i,months:a,weeks:s,days:u}=t;if(u+=Os(t,5)[0],i||a)o=((e,t,n,r,o)=>{let[i,a,s]=e.v(t);if(n){const[t,r]=e.q(i,a);i+=n,a=ku(t,r,e.L(i)),a=go("month",a,1,e.B(i),o)}return r&&([i,a]=e.un(i,a,r)),s=go("day",s,1,e.U(i,a),o),e.p(i,a,s)})(this,e,i,a,r);else{if(!s&&!u)return e;o=Ai(e)}if(void 0===o)throw new RangeError(oh);return o+=(7*s+u)*Sh,mi(Hi(o))},N(e,t,n){if(n<=7){let r=0,o=Eu({...e,...vl},{...t,...vl});return 7===n&&([r,o]=Bo(o,7)),{...ul,weeks:r,days:o}}const r=this.v(e),o=this.v(t);let[i,a,s]=((e,t,n,r,o,i,a)=>{let s=o-t,u=i-n,c=a-r;if(s||u){const h=Math.sign(s||u);let l=e.U(o,i),f=0;if(Math.sign(c)===-h){const r=l;[o,i]=e.un(o,i,-h),s=o-t,u=i-n,l=e.U(o,i),f=h<0?-r:l}if(c=a-Math.min(r,l)+f,s){const[r,a]=e.q(t,n),[c,l]=e.q(o,i);if(u=c-r||Number(l)-Number(a),Math.sign(u)===-h){const n=h<0&&-e.B(o);s=(o-=h)-t,u=i-ku(r,a,e.L(o))+(n||e.B(o))}}}return[s,u,c]})(this,...r,...o);return 8===n&&(a+=this.cn(i,r[0]),i=0),{...ul,years:i,months:a,days:s}},F(e,t){const n=Fi(t),r=uc(this,e),o=cc(this,e,r,n),i=hc(this,e,o,r,n);return ha(mi(this.V(r,o,i)),this.id||Kh)},K(e,t){const n=Fi(t),r=uc(this,e),o=cc(this,e,r,n);return la(gi(this.V(r,o,1)),this.id||Kh)},_(e,t){const n=Fi(t);let r,o,i,a=void 0!==e.eraYear||void 0!==e.year?uc(this,e):void 0;const s=!this.id;if(void 0===a&&s&&(a=Hl),void 0!==a){const t=cc(this,e,a,n);r=hc(this,e,t,a,n);const s=this.L(a);o=Lu(t,s),i=t===s}else{if(void 0===e.monthCode)throw new TypeError(zc);if([o,i]=Ou(e.monthCode),this.id&&this.id!==Gh&&this.id!==Jh)if(this.id&&"coptic"===tc(this.id)&&0===n){const t=i||13!==o?30:6;r=e.day,r=Lo(r,1,t)}else if(this.id&&"chinese"===tc(this.id)&&0===n){const t=!i||1!==o&&9!==o&&10!==o&&11!==o&&12!==o?30:29;r=e.day,r=Lo(r,1,t)}else r=e.day;else r=hc(this,e,cc(this,e,Hl,n),Hl,n)}const u=this.G(o,i,r);if(!u)throw new RangeError("Cannot guess year");const[c,h]=u;return fa(mi(this.V(c,h,r)),this.id||Kh)},fields(e){return Yu(this)&&e.includes("year")?[...e,...Rh]:e},k(e,t){const n=Object.assign(Object.create(null),e);return lc(n,t,jh),Yu(this)&&(lc(n,t,Yh),this.id===Jh&&lc(n,t,Fh,Rh)),n},inLeapYear(e){const[t]=this.v(e);return this.sn(t)},monthsInYear(e){const[t]=this.v(e);return this.B(t)},daysInMonth(e){const[t,n]=this.v(e);return this.U(t,n)},daysInYear(e){const[t]=this.v(e);return this.fn(t)},dayOfYear:Du,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[t,n]=this.v(e),[r,o]=this.q(t,n);return _u(r,o)},dayOfWeek:Yi,daysInWeek:()=>7},Vf={v:Di,hn:Bi,q:Oi},zf={dayOfYear:Du,v:Di,p:Ii},Kf=Object.assign({},zf,{weekOfYear:Hu,yearOfWeek:Cu,m(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=Li(f+e),r=e||1,o=t(Yo(u+n*r,7));return h=(n+(o-c)*r)/7}const r=this.id?1:4,o=Yi(e),i=this.dayOfYear(e),a=Yo(o-1,7),s=i-1,u=Yo(a-s,7),c=t(u);let h,l=Math.floor((s-c)/7)+1,f=e.isoYear;return l?l>n(0)&&(l=1,f++):(l=n(-1),f--),[l,f,h]}}),Gf=Object.assign({},Ff,Kf,{v:Di,hn:Bi,q:Oi,G(e,t){if(!t)return[Hl,e]},sn:Ri,L(){},B:_i,cn:e=>e*Cl,U:ki,fn:Li,V:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),p:Ii,un:(e,t,n)=>(e+=Po(n,Cl),(t+=jo(n,Cl))<1?(e--,t+=Cl):t>Cl&&(e++,t-=Cl),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Jf={v:Fu,hn:qu,q:zu},Wf={dayOfYear:Du,v:Fu,p:Vu,weekOfYear:Hu,yearOfWeek:Cu,m:()=>[]},qf=Object.assign({},Ff,Wf,{v:Fu,hn:qu,q:zu,G(e,t,n){const r=this.id&&"chinese"===tc(this.id)?((e,t,n)=>{if(t)switch(e){case 1:return 1651;case 2:return n<30?1947:1765;case 3:return n<30?1966:1955;case 4:return n<30?1963:1944;case 5:return n<30?1971:1952;case 6:return n<30?1960:1941;case 7:return n<30?1968:1938;case 8:return n<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,t,n):Hl;let[o,i,a]=Fu.call(this,{isoYear:r,isoMonth:Cl,isoDay:31});const s=Ku.call(this,o),u=i===s;1===(ko(e,Lu(i,s))||ko(Number(t),Number(u))||ko(n,a))&&o--;for(let r=0;r<100;r++){const i=o-r,a=Ku.call(this,i),s=ku(e,t,a);if(t===(s===a)&&n<=Ju.call(this,i,s))return[i,s]}},sn(e){const t=Gu.call(this,e);return t>Gu.call(this,e-1)&&t>Gu.call(this,e+1)},L:Ku,B:Wu,cn(e,t){const n=t+e,r=Math.sign(e),o=r<0?-1:0;let i=0;for(let e=t;e!==n;e+=r)i+=Wu.call(this,e+o);return i},U:Ju,fn:Gu,V(e,t,n){return Hi(Vu.call(this,e,t,n))},p:Vu,un(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(oh);if(n<0)for(;t<1;)t+=Wu.call(this,--e);else{let n;for(;t>(n=Wu.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.h(e).year},month(e){const{year:t,o:n}=this.h(e),{u:r}=this.l(t);return r[n]+1},day(e){return this.h(e).day}}),Xf=nc(Vf,Jf),Qf=nc(Gf,qf),ed={...{era:Xo,eraYear:ti,year:ti,month:ri,monthCode(e){const t=Xo(e);return Ou(t),t},day:ri},...yh(Ch,ti),...yh(nl,ni),offset(e){const t=Xo(e);return Ps(t),t}},td=Co(Eo,Ch,ll),nd=Co(Eo,ll,Ch),rd="numeric",od=["timeZoneName"],id={month:rd,day:rd},ad={year:rd,month:rd},sd=Object.assign({},ad,{day:rd}),ud={hour:rd,minute:rd,second:rd},cd=Object.assign({},sd,ud),hd=Object.assign({},cd,{timeZoneName:"short"}),ld=Object.keys(ad),fd=Object.keys(id),dd=Object.keys(sd),gd=Object.keys(ud),md=["dateStyle"],yd=ld.concat(md),vd=fd.concat(md),pd=dd.concat(md,["weekday"]),wd=gd.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),Sd=pd.concat(wd),Ad=od.concat(wd),bd=od.concat(pd),Td=od.concat(["day","weekday"],wd),Ed=od.concat(["year","weekday"],wd),Id=yc(Sd,cd),Md=yc(Sd,hd),Nd=yc(Sd,cd,od),Hd=yc(pd,sd,Ad),Cd=yc(wd,ud,bd),Dd=yc(yd,ad,Td),Od=yc(vd,id,Ed),_d={},kd=new Il(void 0,{calendar:Kh}).resolvedOptions().calendar===Kh,Ld=[Id,ma],Rd=[Md,ma,0,(e,t)=>{const n=e.timeZone;if(t&&t.timeZone!==n)throw new RangeError(Xc);return n}],Yd=[Nd,Ai],Bd=[Hd,Ai],Pd=[Cd,e=>pi(e)/Th],jd=[Dd,Ai,kd],Ud=[Od,Ai,kd];let xd;function Zd(e,t,n,r,o){function i(){if(!(this instanceof i))throw new TypeError(Pc);gg(this,t(...arguments))}function a(e,t){return Object.defineProperties(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,s(this),...n)},vo(t))}function s(t){const n=dg(t);if(!n||n.branding!==e)throw new TypeError(Pc);return n}return Object.defineProperties(i.prototype,{...wo(bo(a,n)),...po(bo(a,r)),...So("Temporal."+e)}),Object.defineProperties(i,{...po(o),...vo(e)}),[i,e=>{const t=Object.create(i.prototype);return gg(t,e),t},s]}function $d(e){if(dg(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Fd(e){return Vd(e)||Kh}function Vd(e){const{calendar:t}=e;if(void 0!==t)return zd(t)}function zd(e){if(mo(e)){const{calendar:t}=dg(e)||{};if(!t)throw new TypeError(Jc(e));return t}return(e=>ec(function(e){const t=Vs(e)||zs(e)||Ks(e);return t?t.calendar:e}(Qh(e))))(e)}function Kd(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return Qf(t)[n](e)};return t}function Gd(){throw new TypeError("Cannot use valueOf")}function Jd(e){if(mo(e)){const{timeZone:t}=dg(e)||{};if(!t)throw new TypeError(qc(e));return t}return(e=>nu(function(e){const t=Vs(e);return t&&(t.timeZone||t.j&&df||t.offset)||e}(Qh(e))))(e)}function Wd(e){if(mo(e)){const t=dg(e);return t&&t.branding===lf?t:function(e){const t=ic(e,rl);return ga(Cs({...ul,...t}))}(e)}return function(e){const t=(e=>{const t=Bf.exec(e);return t?(e=>{function t(e,t,i){let a=0,s=0;if(i&&([a,o]=Ro(o,Hh[i])),void 0!==e){if(r)throw new RangeError(fh(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(fh(e));return t})(e),n=1,t&&(o=Xs(t)*(Hh[i]/Eh),r=1)}return a+s}let n=0,r=0,o=0,i={...Ao(nl,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...Zo(o,2,nl)};if(!n)throw new RangeError(Yc(nl));return eu(e[1])<0&&(i=Ns(i)),i})(t):void 0})(Qh(e));if(!t)throw new RangeError(lh(e));return ga(Cs(t))}(e)}function qd(e){if(void 0!==e){if(mo(e)){const t=dg(e)||{};switch(t.branding){case cf:case af:return t;case sf:return ha(t)}const n=Fd(e);return{...rc(Jd,Sf,Qf(n),e),calendar:n}}return function(e){const t=Vs(Qh(e));if(!t)throw new RangeError(lh(e));if(t.timeZone)return xs(t,t.offset?Ps(t.offset):void 0);if(t.j)throw new RangeError(lh(e));return $s(t)}(e)}}function Xd(e,t){if(mo(e)){const n=dg(e)||{};switch(n.branding){case uf:return Fi(t),n;case sf:return Fi(t),da(n);case cf:return Fi(t),mc(Sf,n)}return function(e,t){return da(ac(ic(e,Dh,[],1),Fi(t)))}(e,t)}const n=function(e){let t,n=(e=>{const t=Lf.exec(e);return t?(qs(t[10]),Ws(t)):void 0})(Qh(e));if(!n){if(n=Vs(e),!n)throw new RangeError(lh(e));if(!n.C)throw new RangeError(lh(e));if(n.j)throw new RangeError(fh("Z"));Us(n)}if((t=zs(e))&&xi(t))throw new RangeError(lh(e));if((t=Ks(e))&&xi(t))throw new RangeError(lh(e));return da($i(n,1))}(e);return Fi(t),n}function Qd(e){return void 0===e?void 0:Xd(e)}function eg(e,t){if(mo(e)){const n=dg(e)||{};switch(n.branding){case sf:return Fi(t),n;case af:return Fi(t),ca({...n,...vl});case cf:return Fi(t),dc(Sf,n)}return function(e,t,n){const r=oc(e,t,$h,[],Ch),o=Fi(n);return ca(yi({...e.F(r,ra(o)),...ac(r,o)}))}(Qf(Fd(e)),e,t)}const n=function(e){const t=Vs(Qh(e));if(!t||t.j)throw new RangeError(lh(e));return ca(Zs(t))}(e);return Fi(t),n}function tg(e,t){if(mo(e)){const n=dg(e);if(n&&n.branding===of)return Fi(t),n;const r=Vd(e);return function(e,t,n,r){const o=oc(e,n,$h,Uh);return t&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=Hl),e._(o,r)}(Qf(r||Kh),!r,e,t)}const n=function(e,t){const n=Ks(Qh(t));if(n)return Us(n),fa(Ui(n));const r=js(t,0,1),{calendar:o}=r,i=e(o),[a,s,u]=i.v(r),[c,h]=i.q(a,s),[l,f]=i.G(c,h,u);return fa(mi(i.V(l,f,u)),o)}(Qf,e);return Fi(t),n}function ng(e,t){if(mo(e)){const n=dg(e);return n&&n.branding===rf?(Fi(t),n):function(e,t,n,r){const o=oc(e,t,xh,r);return e.K(o,n)}(Qf(Fd(e)),e,t)}const n=function(e,t){const n=zs(Qh(t));if(n)return Us(n),la(gi(Ui(n)));const r=js(t,1);return la(ys(e(r.calendar),r))}(Qf,e);return Fi(t),n}function rg(e,t){if(mo(e)){const n=dg(e)||{};switch(n.branding){case af:return Fi(t),n;case sf:return Fi(t),ha(n);case cf:return Fi(t),gc(Sf,n)}return function(e,t,n){const r=oc(e,t,$h,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.F(r,n)}(Qf(Fd(e)),e,t)}const n=js(e);return Fi(t),n}function og(e,t){if(mo(e)){const n=dg(e);if(n&&n.branding===cf)return Vi(t),n;const r=Fd(e);return function(e,t,n,r,o,i){const a=oc(n,o,$h,_h,Lh),s=e(a.timeZone),[u,c,h]=Vi(i),l=n.F(a,ra(u)),f=ac(a,u);return ua(os(t(s),{...l,...f},void 0!==a.offset?Ps(a.offset):void 0,c,h),s,r)}(Jd,Sf,Qf(r),r,e,t)}return function(e,t){const n=Vs(Qh(e));if(!n||!n.timeZone)throw new RangeError(lh(e));const{offset:r}=n,o=r?Ps(r):void 0,[,i,a]=Vi(t);return xs(n,o,i,a)}(e,t)}function ig(e){return bo(e=>t=>e(ag(t)),e)}function ag(e){return pf(e,Sf)}function sg(e){if(mo(e)){const t=dg(e);if(t)switch(t.branding){case hf:return t;case cf:return sa(t.epochNanoseconds)}}return function(e){const t=Vs(e=Xo(e));if(!t)throw new RangeError(lh(e));let n;if(t.j)n=0;else{if(!t.offset)throw new RangeError(lh(e));n=Ps(t.offset)}return t.timeZone&&Gs(t.timeZone,1),sa(Ti(ji(t),n))}(e)}function ug(){function e(e,n){return new t(e,n)}function t(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null);om.set(this,((e,t)=>{const n=new Il(e,t),r=n.resolvedOptions(),o=r.locale,i=Io(Object.keys(t),r),a=yo(lg),s=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];if(e){if(2!==r.length)throw new TypeError(dh);for(const e of r)if(void 0===e)throw new TypeError(dh)}e||void 0!==r[0]||(r=[]);const u=r.map(e=>dg(e)||Number(e));let c,h=0;for(const e of u){const t="object"==typeof e?e.branding:void 0;if(h++&&t!==c)throw new TypeError(dh);c=t}return c?a(c)(o,i,...u):[n,...u]};return s.X=n,s})(e,t))}const n=Il.prototype,r=Object.getOwnPropertyDescriptors(n),o=Object.getOwnPropertyDescriptors(Il);for(const t in r){const n=r[t],o=t.startsWith("format")&&cg(t);"function"==typeof n.value?n.value="constructor"===t?e:o||hg(t):o&&(n.get=function(){var e=this;if(!om.has(this))throw new TypeError(Pc);return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return o.apply(e,n)}},Object.defineProperties(n.get,vo(`get ${t}`)))}return o.prototype.value=t.prototype=Object.create({},r),Object.defineProperties(e,o),e}function cg(e){return Object.defineProperties(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=om.get(this),[i,...a]=o(e.includes("Range"),...n);return i[e](...a)},vo(e))}function hg(e){return Object.defineProperties(function(){return om.get(this).X[e](...arguments)},vo(e))}function lg(e){const t=Cg[e];if(!t)throw new TypeError((e=>`Cannot format ${e}`)(e));return vc(t,yo(pc),1)}const fg=new WeakMap,dg=fg.get.bind(fg),gg=fg.set.bind(fg),mg={era:function(e){if(void 0!==e)return Qh(e)},eraYear:$o,year:Vo,month:Fo,daysInMonth:Fo,daysInYear:Fo,inLeapYear:el,monthsInYear:Fo},yg={monthCode:Qh},vg={day:Fo},pg={dayOfWeek:Fo,dayOfYear:Fo,weekOfYear:function(e){if(void 0!==e)return Fo(e)},yearOfWeek:$o,daysInWeek:Fo},wg=Kd(Object.assign({},mg,yg,vg,pg)),Sg=Kd({...mg,...yg}),Ag=Kd({...yg,...vg}),bg={calendarId:e=>e.calendar},Tg=To(e=>t=>t[e],nl.concat("sign")),Eg=To((e,t)=>e=>e[ll[t]],Ch),Ig={epochMilliseconds:ma,epochNanoseconds:function(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),i=Nh/t;return BigInt(n)*BigInt(i)+BigInt(o)}(e.epochNanoseconds)}},[Mg,Ng,Hg]=Zd(lf,function(){return ga(Cs(bo(ni,Ao(nl,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0]))))},{...Tg,blank:function(e){return!e.sign}},{with:(e,t)=>Ng(function(e,t){return ga((n=e,r=t,Cs({...n,...ic(r,rl)})));var n,r}(e,t)),negated:e=>Ng(Ms(e)),abs:e=>Ng(function(e){return-1===e.sign?Ms(e):e}(e)),add:(e,t,n)=>Ng(Is(qd,Qf,Sf,0,e,Wd(t),n)),subtract:(e,t,n)=>Ng(Is(qd,Qf,Sf,1,e,Wd(t),n)),round:(e,t)=>Ng(function(e,t,n,r,o){const i=Rs(r),[a,s,u,c,h]=((e,t,n)=>{e=na(e,_l);let r=Gl(e);const o=n(e[Yl]);let i=Xi(e);const a=nf(e,7);let s=Kl(e);if(void 0===r&&void 0===s)throw new RangeError(ch);if(null==s&&(s=0),null==r&&(r=Math.max(s,t)),aa(r,s),i=Qi(i,s,1),i>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,i,a,o]})(o,i,e),l=Math.max(i,a);if(!h&&l<=6)return ga(Cs(((e,t,n,r,o)=>{const i=Ca(Os(e),n,r,o);return{...ul,..._s(i,t)}})(r,a,s,u,c)));if(!Ts(h)&&!r.sign)return r;if(!h)throw new RangeError(sh);const[f,d,g]=ws(t,n,h),m=Ss(g),y=As(g),v=bs(g),p=y(d,f,r);Ts(h)||(yi(f),yi(p));let w=v(d,f,p,a);const S=r.sign,A=Hs(w);if(S&&A&&S!==A)throw new RangeError(Gc);return w=Ha(w,m(p),a,s,u,c,d,f,m,y),ga(w)}(qd,Qf,Sf,e,t)),total:(e,t)=>function(e,t,n,r,o){const i=Rs(r),[a,s]=((e,t)=>{const n=t((e=na(e,kl))[Yl]);let r=Jl(e);return r=zo(kl,r),[r,n]})(o,e),u=Math.max(a,i);if(!s&&Es(u,s))return va(r,a);if(!s)throw new RangeError(sh);if(!r.sign)return 0;const[c,h,l]=ws(t,n,s),f=Ss(l),d=As(l),g=bs(l),m=d(h,c,r);Ts(s)||(yi(c),yi(m));const y=g(h,c,m,a);return Es(a,s)?va(y,a):((e,t,n,r,o,i,a)=>{const s=Hs(e),[u,c]=pa(r,hl(n,e),n,s,o,i,a),h=wa(t,u,c);return e[nl[n]]+h*s})(y,f(m),a,h,c,f,d)}(qd,Qf,Sf,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):$a(e)},toString:$a,toJSON:e=>$a(e),valueOf:Gd},{from:e=>Ng(Wd(e)),compare:(e,t,n)=>function(e,t,n,r,o,i){const a=e(ta(i).relativeTo),s=Math.max(Rs(r),Rs(o));if(No(nl,r,o))return 0;if(Es(s,a))return ui(Os(r),Os(o));if(!a)throw new RangeError(sh);const[u,c,h]=ws(t,n,a),l=Ss(h),f=As(h);return ui(l(f(c,u,r)),l(f(c,u,o)))}(qd,Qf,Sf,Wd(e),Wd(t),n)}),Cg={Instant:Ld,PlainDateTime:Yd,PlainDate:Bd,PlainTime:Pd,PlainYearMonth:jd,PlainMonthDay:Ud},Dg=vc(Ld),Og=vc(Rd),_g=vc(Yd),kg=vc(Bd),Lg=vc(Pd),Rg=vc(jd),Yg=vc(Ud),[Bg,Pg]=Zd(uf,function(){return da($i(bo(ti,Ao(ll,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0])),1))},Eg,{with(e,t,n){return Pg(function(e,t,n){return da(((e,t,n)=>ac({...Io(Dh,e),...ic(t,Dh)},Fi(n)))(e,t,n))}(this,$d(t),n))},add:(e,t)=>Pg(fs(0,e,Wd(t))),subtract:(e,t)=>Pg(fs(1,e,Wd(t))),until:(e,t,n)=>Ng(vu(0,e,Xd(t),n)),since:(e,t,n)=>Ng(vu(1,e,Xd(t),n)),round:(e,t)=>Pg(function(e,t){const[n,r,o]=Ki(t,5);var i;return da((i=o,ba(e,Ea(n,r),i)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!cu(e,t)}(e,Xd(t)),toLocaleString(e,t,n){const[r,o]=Lg(t,n,e);return r.format(o)},toString:Za,toJSON:e=>Za(e),valueOf:Gd},{from:(e,t)=>Pg(Xd(e,t)),compare:(e,t)=>cu(Xd(e),Xd(t))}),[jg,Ug]=Zd(sf,Co(function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:Kh;return ca(yi(ji(bo(ti,Ao(dl,[t,n,r,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0])))),e(o))},Qu),{...bg,...wg,...Eg},{with:(e,t,n)=>Ug(function(e,t,n,r){const o=e(t.calendar),i=[...o.fields($h),...Ch].sort(),a={...fc(s=t),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const u=ic(n,i),c=Fi(r),h=o.k(a,u),l={...a,...u};return ca(yi({...o.F(h,ra(c)),...$i(td(l),c)}))}(Qf,e,$d(t),n)),withCalendar:(e,t)=>Ug(Sc(e,zd(t))),withPlainTime:(e,t)=>Ug(function(e){return ca(yi({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:vl}))}(e,Qd(t))),add:(e,t,n)=>Ug(cs(Qf,0,e,Wd(t),n)),subtract:(e,t,n)=>Ug(cs(Qf,1,e,Wd(t),n)),until:(e,t,n)=>Ng(du(Qf,0,e,eg(t),n)),since:(e,t,n)=>Ng(du(Qf,1,e,eg(t),n)),round:(e,t)=>Ug(function(e,t){return ca(Sa(e,...Ki(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!su(e,t)&&e.calendar===t.calendar}(e,eg(t)),toZonedDateTime:(e,t,n)=>qg(function(e,t,n,r){const o=((e,t,n,r)=>{const o=(e=>ql(ta(e)))(r);return is(e(t),n,o)})(e,n,t,r);return ua(vi(o),n,t.calendar)}(Sf,e,Jd(t),n)),toPlainDate:e=>Gg(ha(e)),toPlainTime:e=>Pg(da(e)),toLocaleString(e,t,n){const[r,o]=_g(t,n,e);return r.format(o)},toString:Pa,toJSON:e=>Pa(e),valueOf:Gd},{from:(e,t)=>Ug(eg(e,t)),compare:(e,t)=>su(eg(e),eg(t))}),[xg,Zg,$g]=Zd(of,Co(function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Kh,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Hl;const i=ti(t),a=ti(n),s=e(r);return fa(mi(Ui({isoYear:ti(o),isoMonth:i,isoDay:a})),s)},Qu),{...bg,...Ag},{with:(e,t,n)=>Zg(function(e,t,n,r){const o=e(t.calendar),i=o.fields($h).sort(),a=(e=>{const t=Xf(e.calendar),[n,r,o]=t.v(e),[i,a]=t.q(n,r);return{monthCode:_u(i,a),day:o}})(t),s=ic(n,i),u=o.k(a,s);return o._(u,r)}(Qf,e,$d(t),n)),equals:(e,t)=>function(e,t){return!uu(e,t)&&e.calendar===t.calendar}(e,tg(t)),toPlainDate(e,t){return Gg(function(e,t,n,r){return((e,t,n)=>sc(e,t,Vh,Ko(n),Bh))(e(t.calendar),n,r)}(Qf,e,this,t))},toLocaleString(e,t,n){const[r,o]=Yg(t,n,e);return r.format(o)},toString:xa,toJSON:e=>xa(e),valueOf:Gd},{from:(e,t)=>Zg(tg(e,t))}),[Fg,Vg,zg]=Zd(rf,Co(function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Kh,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const i=ti(t),a=ti(n),s=e(r);return la(gi(Ui({isoYear:i,isoMonth:a,isoDay:ti(o)})),s)},Qu),{...bg,...Sg},{with:(e,t,n)=>Vg(function(e,t,n,r){const o=e(t.calendar),i=o.fields(xh).sort(),a=(e=>{const t=Xf(e.calendar),[n,r]=t.v(e),[o,i]=t.q(n,r);return{year:n,monthCode:_u(o,i)}})(t),s=ic(n,i),u=o.k(a,s);return o.K(u,r)}(Qf,e,$d(t),n)),add:(e,t,n)=>Vg(ls(Qf,0,e,Wd(t),n)),subtract:(e,t,n)=>Vg(ls(Qf,1,e,Wd(t),n)),until:(e,t,n)=>Ng(mu(Qf,0,e,ng(t),n)),since:(e,t,n)=>Ng(mu(Qf,1,e,ng(t),n)),equals:(e,t)=>function(e,t){return!uu(e,t)&&e.calendar===t.calendar}(e,ng(t)),toPlainDate(e,t){return Gg(function(e,t,n,r){return((e,t,n)=>sc(e,t,Zh,Ko(n),Uh))(e(t.calendar),n,r)}(Qf,e,this,t))},toLocaleString(e,t,n){const[r,o]=Rg(t,n,e);return r.format(o)},toString:Ua,toJSON:e=>Ua(e),valueOf:Gd},{from:(e,t)=>Vg(ng(e,t)),compare:(e,t)=>uu(ng(e),ng(t))}),[Kg,Gg,Jg]=Zd(af,Co(function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Kh;return ha(mi(Ui(bo(ti,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))},Qu),{...bg,...wg},{with:(e,t,n)=>Gg(function(e,t,n,r){const o=e(t.calendar),i=o.fields($h).sort(),a=fc(t),s=ic(n,i),u=o.k(a,s);return o.F(u,r)}(Qf,e,$d(t),n)),withCalendar:(e,t)=>Gg(Sc(e,zd(t))),add:(e,t,n)=>Gg(hs(Qf,0,e,Wd(t),n)),subtract:(e,t,n)=>Gg(hs(Qf,1,e,Wd(t),n)),until:(e,t,n)=>Ng(gu(Qf,0,e,rg(t),n)),since:(e,t,n)=>Ng(gu(Qf,1,e,rg(t),n)),equals:(e,t)=>function(e,t){return!uu(e,t)&&e.calendar===t.calendar}(e,rg(t)),toZonedDateTime(e,t){const n=mo(t)?t:{timeZone:t};return qg(function(e,t,n,r,o){const i=e(o.timeZone),a=o.plainTime,s=void 0!==a?t(a):void 0,u=n(i);let c;return c=s?is(u,{...r,...s}):as(u,{...r,...vl}),ua(c,i,r.calendar)}(Jd,Xd,Sf,e,n))},toPlainDateTime:(e,t)=>Ug(function(e){return ca(yi({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:vl}))}(e,Qd(t))),toPlainYearMonth(e){return Vg(function(e,t,n){return((e,t)=>{const n=oc(e,t,Zh);return e.K(n,void 0)})(e(t.calendar),n)}(Qf,e,this))},toPlainMonthDay(e){return Zg(function(e,t,n){return((e,t)=>{const n=oc(e,t,Vh);return e._(n)})(e(t.calendar),n)}(Qf,e,this))},toLocaleString(e,t,n){const[r,o]=kg(t,n,e);return r.format(o)},toString:ja,toJSON:e=>ja(e),valueOf:Gd},{from:(e,t)=>Gg(rg(e,t)),compare:(e,t)=>uu(rg(e),rg(t))}),[Wg,qg]=Zd(cf,Co(function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Kh;return ua(vi(hi(Qo(n))),t(r),e(o))},Qu,function(e){return nu(Qh(e))}),{...Ig,...bg,...ig(wg),...ig(Eg),offset:e=>qa(ag(e).offsetNanoseconds),offsetNanoseconds:e=>ag(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=pf(t,n),[o,i]=Ia(r),a=fi(si(as(n,o),as(n,i)),Mh,1);if(a<=0)throw new RangeError(Gc);return a}(Sf,e)},{with:(e,t,n)=>qg(function(e,t,n,r,o){const{calendar:i,timeZone:a}=n,s=e(i),u=t(a),c=[...s.fields($h),...kh].sort(),h=(e=>{const t=pf(e,Sf),n=qa(t.offsetNanoseconds),r=Xf(e.calendar),[o,i,a]=r.v(t),[s,u]=r.q(o,i),c=_u(s,u);return{...nd(t),year:o,monthCode:c,day:a,offset:n}})(n),l=ic(r,c),f=s.k(h,l),d={...h,...l},[g,m,y]=Vi(o,2);return ua(os(u,{...s.F(f,ra(g)),...$i(td(d),g)},Ps(d.offset),m,y),a,i)}(Qf,Sf,e,$d(t),n)),withCalendar:(e,t)=>qg(Sc(e,zd(t))),withTimeZone:(e,t)=>qg(function(e,t){return{...e,timeZone:t}}(e,Jd(t))),withPlainTime:(e,t)=>qg(function(e,t,n){const r=t.timeZone,o=e(r),i={...pf(t,o),...n||vl};let a;return a=n?os(o,i,i.offsetNanoseconds,2):as(o,i),ua(a,r,t.calendar)}(Sf,e,Qd(t))),add:(e,t,n)=>qg(us(Qf,Sf,0,e,Wd(t),n)),subtract:(e,t,n)=>qg(us(Qf,Sf,1,e,Wd(t),n)),until:(e,t,n)=>Ng(ga(fu(Qf,Sf,0,e,og(t),n))),since:(e,t,n)=>Ng(ga(fu(Qf,Sf,1,e,og(t),n))),round:(e,t)=>qg(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:i}=t;const[a,s,u]=Ki(n);if(0===a&&1===s)return t;const c=e(o);if(6===a)r=((e,t,n,r)=>{const o=pf(n,t),[i,a]=e(o),s=n.epochNanoseconds,u=as(t,i),c=as(t,a);if(ci(s,u,c))throw new RangeError(Gc);return _a(wa(s,u,c),r)?c:u})(Ia,c,t,u);else{const e=c.R(r);r=os(c,Sa(Ni(r,e),a,s,u),e,2,0,1)}return ua(r,o,i)}(Sf,e,t)),startOfDay:e=>qg(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>as(t,e(pf(n,t))))(Ma,e(n),t);return ua(o,n,r)}(Sf,e)),equals:(e,t)=>function(e,t){return!au(e,t)&&!!hu(e.timeZone,t.timeZone)&&e.calendar===t.calendar}(e,og(t)),toInstant:e=>Qg(function(e){return sa(e.epochNanoseconds)}(e)),toPlainDateTime:e=>Ug(dc(Sf,e)),toPlainDate:e=>Gg(gc(Sf,e)),toPlainTime:e=>Pg(mc(Sf,e)),toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=Og(t,n,e);return r.format(o)},toString:(e,t)=>Ba(Sf,e,t),toJSON:e=>Ba(Sf,e),valueOf:Gd,getTimeZoneTransition(e,t){const{timeZone:n,epochNanoseconds:r}=e,o=function(e){const t=na(e,Bl),n=ia(Bl,zl,t,0);if(!n)throw new RangeError(_c(Bl,n));return n}(t),i=Sf(n).O(r,o);return i?qg({...e,epochNanoseconds:i}):null}},{from:(e,t)=>qg(og(e,t)),compare:(e,t)=>au(og(e),og(t))}),[Xg,Qg,em]=Zd(hf,function(e){return sa(vi(hi(Qo(e))))},Ig,{add:(e,t)=>Qg(ss(0,e,Wd(t))),subtract:(e,t)=>Qg(ss(1,e,Wd(t))),until:(e,t,n)=>Ng(lu(0,e,sg(t),n)),since:(e,t,n)=>Ng(lu(1,e,sg(t),n)),round:(e,t)=>Qg(function(e,t){const[n,r,o]=Ki(t,5,1);return sa(Ca(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!iu(e,t)}(e,sg(t)),toZonedDateTimeISO:(e,t)=>qg(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kh;return ua(e.epochNanoseconds,t,n)}(e,Jd(t))),toLocaleString(e,t,n){const[r,o]=Dg(t,n,e);return r.format(o)},toString:(e,t)=>Ya(Jd,Sf,e,t),toJSON:e=>Ya(Jd,Sf,e),valueOf:Gd},{from:e=>Qg(sg(e)),fromEpochMilliseconds:e=>Qg(function(e){return sa(vi(li(ni(e),Th)))}(e)),fromEpochNanoseconds:e=>Qg(function(e){return sa(vi(hi(Qo(e))))}(e)),compare:(e,t)=>iu(sg(e),sg(t))}),tm=Object.defineProperties({},{...So("Temporal.Now"),...po({timeZoneId:()=>Tc(),instant:()=>Qg(sa(bc())),zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tc();return qg(ua(bc(),Jd(e),Kh))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tc();return Ug(ca(Ac(Sf(Jd(e))),Kh))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tc();return Gg(ha(Ac(Sf(Jd(e))),Kh))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tc();return Pg(da(Ac(Sf(Jd(e)))))}})}),nm=Object.defineProperties({},{...So("Temporal"),...po({PlainYearMonth:Fg,PlainMonthDay:xg,PlainDate:Kg,PlainTime:Bg,PlainDateTime:jg,ZonedDateTime:Wg,Instant:Xg,Duration:Mg,Now:tm})}),rm=ug(),om=new WeakMap;function im(e){return e*Math.PI/180}function am(e){return 180*e/Math.PI}Object.create(Intl),po({DateTimeFormat:rm}),Object.defineProperties(globalThis,po({Temporal:nm})),Object.defineProperties(Intl,po({DateTimeFormat:rm})),Object.defineProperties(Date.prototype,po({toTemporalInstant:function(){const e=Date.prototype.valueOf.call(this);return Qg(sa(li(Jo(e),Th)))}}));class sm{constructor(e,t,n,r,o){this.locationName=null,this.setLocationName(e),this.setLatitude(t),this.setLongitude(n),this.setElevation(r),this.setTimeZone(o)}getElevation(){return this.elevation}setElevation(e){if("number"!=typeof e)throw new TypeError("Invalid elevation");if(e<0)throw new RangeError(`elevation ${e} must be zero or positive`);this.elevation=e}setLatitude(e){if("number"!=typeof e)throw new TypeError("Invalid latitude");if(e<-90||e>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);this.latitude=e}getLatitude(){return this.latitude}setLongitude(e){if("number"!=typeof e)throw new TypeError("Invalid longitude");if(e<-180||e>180)throw new RangeError(`Longitude ${e} out of range [-180,180]`);this.longitude=e}getLongitude(){return this.longitude}getLocationName(){return this.locationName}setLocationName(e){this.locationName=e}getTimeZone(){return this.timeZoneId}setTimeZone(e){if(!e)throw new RangeError("Invalid timeZoneId");this.timeZoneId=e}}const um=6356.9;class cm{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(cm.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(cm.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(cm.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(cm.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(cm.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(cm.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(cm.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(cm.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(cm.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(cm.ASTRONOMICAL_ZENITH)}static getTimeOffset(e,t){return null===e||isNaN(t)?null:e.add({milliseconds:t})}getSunriseOffsetByDegrees(e){const t=this.getUTCSunrise0(e);return isNaN(t)?null:this.getDateFromTime(t,!0)}getSunsetOffsetByDegrees(e){const t=this.getUTCSunset0(e);return isNaN(t)?null:this.getDateFromTime(t,!1)}getUTCSunrise0(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunrise(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!1)}getUTCSunset0(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunset(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!1)}getAdjustedDate(){return this.date}getElevationAdjustment(e){return am(Math.acos(um/(um+e/1e3)))}adjustZenith(e,t){let n=e;return e===cm.GEOMETRIC_ZENITH&&(n=e+(.8333333333333333+this.getElevationAdjustment(t))),n}getUTCSunrise(e,t,n,r){const o=r?t.getElevation():0,i=this.adjustZenith(n,o);let a=cm.getSunriseUTC(cm.getJulianDay(e),t.getLatitude(),-t.getLongitude(),i);for(a/=60;a<0;)a+=24;for(;a>=24;)a-=24;return a}getUTCSunset(e,t,n,r){const o=r?t.getElevation():0,i=this.adjustZenith(n,o);let a=cm.getSunsetUTC(cm.getJulianDay(e),t.getLatitude(),-t.getLongitude(),i);for(a/=60;a<0;)a+=24;for(;a>=24;)a-=24;return a}getTemporalHour(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();if(null===e||null===t)return NaN;const n=t.epochMilliseconds-e.epochMilliseconds;return Math.floor(n/12)}getSunTransit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();const n=this.getTemporalHour(e,t);return cm.getTimeOffset(e,6*n)}getDateFromTime(e,t){if(isNaN(e))return null;let n=e,r=this.getAdjustedDate();const o=Math.trunc(n);n-=o;const i=Math.trunc(n*=60);n-=i;const a=Math.trunc(n*=60);n-=a;const s=Math.trunc(this.geoLocation.getLongitude()/15);return t&&s+o>18?r=r.add({days:-1}):!t&&s+o<6&&(r=r.add({days:1})),r.toZonedDateTime({timeZone:"UTC",plainTime:new Temporal.PlainTime(o,i,a,Math.trunc(1e3*n))}).withTimeZone(this.geoLocation.getTimeZone())}static getJulianDay(e){let{year:t,month:n}=e;const{day:r}=e;n<=2&&(t-=1,n+=12);const o=Math.trunc(t/100),i=Math.trunc(2-o+o/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(n+1))+r+i-1524.5}static getJulianCenturiesFromJulianDay(e){return(e-cm.JULIAN_DAY_JAN_1_2000)/cm.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*cm.JULIAN_DAYS_PER_CENTURY+cm.JULIAN_DAY_JAN_1_2000}static getSunGeometricMeanLongitude(e){let t=280.46646+e*(36000.76983+3032e-7*e);for(;t>360;)t-=360;for(;t<0;)t+=360;return t}static getSunGeometricMeanAnomaly(e){return 357.52911+e*(35999.05029-1537e-7*e)}static getEarthOrbitEccentricity(e){return.016708634-e*(42037e-9+1.267e-7*e)}static getSunEquationOfCenter(e){const t=im(cm.getSunGeometricMeanAnomaly(e));return Math.sin(t)*(1.914602-e*(.004817+14e-6*e))+Math.sin(t+t)*(.019993-101e-6*e)+289e-6*Math.sin(t+t+t)}static getSunTrueLongitude(e){return cm.getSunGeometricMeanLongitude(e)+cm.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return cm.getSunTrueLongitude(e)-.00569-.00478*Math.sin(im(t))}static getMeanObliquityOfEcliptic(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}static getObliquityCorrection(e){const t=125.04-1934.136*e;return cm.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(im(t))}static getSunDeclination(e){const t=cm.getObliquityCorrection(e),n=cm.getSunApparentLongitude(e),r=Math.sin(im(t))*Math.sin(im(n));return am(Math.asin(r))}static getEquationOfTime(e){const t=cm.getObliquityCorrection(e),n=cm.getSunGeometricMeanLongitude(e),r=cm.getEarthOrbitEccentricity(e),o=cm.getSunGeometricMeanAnomaly(e);let i=Math.tan(im(t)/2);i*=i;const a=Math.sin(2*im(n)),s=Math.sin(im(o));return 4*am(i*a-2*r*s+4*r*i*s*Math.cos(2*im(n))-.5*i*i*Math.sin(4*im(n))-1.25*r*r*Math.sin(2*im(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=im(e),o=im(t);return Math.acos(Math.cos(im(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=im(e),o=im(t);return-Math.acos(Math.cos(im(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=cm.getJulianDay(e.toPlainDate()),o=cm.getJulianCenturiesFromJulianDay(r),i=cm.getEquationOfTime(o);let a=e.hour+12+(e.minute+i+e.second/60)/60;a=-360*a/24%360;const s=im(n-a),u=im(cm.getSunDeclination(o)),c=im(t);return am(Math.asin(Math.sin(c)*Math.sin(u)+Math.cos(c)*Math.cos(u)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=cm.getJulianDay(e.toPlainDate()),o=cm.getJulianCenturiesFromJulianDay(r),i=cm.getEquationOfTime(o);let a=e.hour+12+(e.minute+i+e.second/60)/60;a=-360*a/24%360;const s=im(n-a),u=im(cm.getSunDeclination(o)),c=im(t);return am(Math.atan(Math.sin(s)/(Math.cos(s)*Math.sin(c)-Math.tan(u)*Math.cos(c))))+180}static getSunriseUTC(e,t,n,r){const o=cm.getJulianCenturiesFromJulianDay(e),i=cm.getSolarNoonUTC(o,n),a=cm.getJulianCenturiesFromJulianDay(e+i/1440);let s=cm.getEquationOfTime(a),u=cm.getSunDeclination(a),c=cm.getSunHourAngleAtSunrise(t,u,r),h=n-am(c),l=4*h,f=720+l-s;const d=cm.getJulianCenturiesFromJulianDay(cm.getJulianDayFromJulianCenturies(o)+f/1440);return s=cm.getEquationOfTime(d),u=cm.getSunDeclination(d),c=cm.getSunHourAngleAtSunrise(t,u,r),h=n-am(c),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=cm.getJulianCenturiesFromJulianDay(cm.getJulianDayFromJulianCenturies(e)+t/360);let r=cm.getEquationOfTime(n);const o=720+4*t-r,i=cm.getJulianCenturiesFromJulianDay(cm.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=cm.getEquationOfTime(i),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=cm.getJulianCenturiesFromJulianDay(e),i=cm.getSolarNoonUTC(o,n),a=cm.getJulianCenturiesFromJulianDay(e+i/1440);let s=cm.getEquationOfTime(a),u=cm.getSunDeclination(a),c=cm.getSunHourAngleAtSunset(t,u,r),h=n-am(c),l=4*h,f=720+l-s;const d=cm.getJulianCenturiesFromJulianDay(cm.getJulianDayFromJulianCenturies(o)+f/1440);return s=cm.getEquationOfTime(d),u=cm.getSunDeclination(d),c=cm.getSunHourAngleAtSunset(t,u,r),h=n-am(c),l=4*h,f=720+l-s,f}}cm.GEOMETRIC_ZENITH=90,cm.CIVIL_ZENITH=96,cm.NAUTICAL_ZENITH=102,cm.ASTRONOMICAL_ZENITH=108,cm.JULIAN_DAY_JAN_1_2000=2451545,cm.JULIAN_DAYS_PER_CENTURY=36525;const hm=[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem",27],["Atlanta","US",33.749,-84.38798,"America/New_York",336],["Austin","US",30.26715,-97.74306,"America/Chicago",165],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad",41],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem",285],["Berlin","DE",52.52437,13.41053,"Europe/Berlin",43],["Baltimore","US",39.29038,-76.61219,"America/New_York",35],["Bogota","CO",4.60971,-74.08175,"America/Bogota",2582],["Boston","US",42.35843,-71.05977,"America/New_York",38],["Budapest","HU",47.49801,19.03991,"Europe/Budapest",104],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires",31],["Buffalo","US",42.88645,-78.87837,"America/New_York",191],["Chicago","US",41.85003,-87.65005,"America/Chicago",180],["Cincinnati","US",39.162,-84.45689,"America/New_York",267],["Cleveland","US",41.4995,-81.69541,"America/New_York",204],["Dallas","US",32.78306,-96.80667,"America/Chicago",139],["Denver","US",39.73915,-104.9847,"America/Denver",1636],["Detroit","US",42.33143,-83.04575,"America/Detroit",192],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem",63],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar",11],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem",40],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu",18],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki",26],["Houston","US",29.76328,-95.36327,"America/Chicago",30],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem",786],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg",1767],["Kiev","UA",50.45466,30.5238,"Europe/Kiev",187],["La Paz","BO",-16.5,-68.15,"America/La_Paz",3782],["Livingston","US",40.79593,-74.31487,"America/New_York",98],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles",613],["London","GB",51.50853,-.12574,"Europe/London",25],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles",96],["Marseilles","FR",43.29695,5.38107,"Europe/Paris",28],["Miami","US",25.77427,-80.19366,"America/New_York",25],["Minneapolis","US",44.97997,-93.26384,"America/Chicago",262],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne",25],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City",2240],["Montreal","CA",45.50884,-73.58781,"America/Toronto",216],["Moscow","RU",55.75222,37.61556,"Europe/Moscow",144],["New York","US",40.71427,-74.00597,"America/New_York",57],["Omaha","US",41.25861,-95.93779,"America/Chicago",315],["Ottawa","CA",45.41117,-75.69812,"America/Toronto",71],["Panama City","PA",8.9936,-79.51973,"America/Panama",17],["Paris","FR",48.85341,2.3488,"Europe/Paris",42],["Pawtucket","US",41.87871,-71.38256,"America/New_York",0],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem",54],["Philadelphia","US",39.95233,-75.16379,"America/New_York",8],["Phoenix","US",33.44838,-112.07404,"America/Phoenix",366],["Pittsburgh","US",40.44062,-79.99589,"America/New_York",239],["Providence","US",41.82399,-71.41283,"America/New_York",0],["Portland","US",45.52345,-122.67621,"America/Los_Angeles",15],["Saint Louis","US",38.62727,-90.19789,"America/Chicago",149],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow",11],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles",20],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles",28],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo",769],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles",56],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney",58],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem",15],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem",0],["Toronto","CA",43.70011,-79.4163,"America/Toronto",175],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver",70],["White Plains","US",41.03399,-73.76291,"America/New_York",82],["Washington DC","US",38.89511,-77.03637,"America/New_York",6],["Worcester","US",42.26259,-71.80229,"America/New_York",164]],lm=new Map,fm={0:"UTC",4:"America/Puerto_Rico",5:"America/New_York",6:"America/Chicago",7:"America/Denver",8:"America/Los_Angeles",9:"America/Anchorage",10:"Pacific/Honolulu",11:"Pacific/Pago_Pago",13:"Pacific/Funafuti",14:"Pacific/Guam",15:"Pacific/Palau",16:"Pacific/Chuuk"},dm=new Map;class gm extends sm{constructor(e,t,n,r,o,i,a,s){const u="number"==typeof e?e:parseFloat(e);if(isNaN(u)||u<-90||u>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);const c="number"==typeof t?t:parseFloat(t);if(isNaN(c)||c<-180||c>180)throw new RangeError(`Longitude ${t} out of range [-180,180]`);if(!r)throw new RangeError("Invalid timezone");super(o||null,u,c,"number"==typeof s&&s>0?s:0,r),this.il=Boolean(n),this.cc=i,this.geoid=a}getIsrael(){return this.il}getName(){return this.getLocationName()}getShortName(){const e=this.getLocationName();if(!e)return e;const t=e.indexOf(", ");if(-1===t)return e;if("US"===this.cc&&"D"===e[t+2]){if("C"===e[t+3])return e.substring(0,t+4);if("."===e[t+3]&&"C"===e[t+4])return e.substring(0,t+6)}return e.substring(0,t)}getCountryCode(){return this.cc}getTzid(){return this.getTimeZone()}getTimeFormatter(){return function(e){const t=dm.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return dm.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return lm.get(e.toLowerCase())}toString(){return JSON.stringify(this)}static legacyTzToTzid(e,t){if(e=+e,"none"===t){if(0===e)return"UTC";return`Etc/GMT${e>0?"+":""}${e}`}if(2===e&&"israel"===t)return"Asia/Jerusalem";if("eu"===t)switch(e){case-2:return"Atlantic/Cape_Verde";case-1:return"Atlantic/Azores";case 0:return"Europe/London";case 1:return"Europe/Paris";case 2:return"Europe/Athens"}else if("usa"===t)return fm[String(-1*e)]}static getUsaTzid(e,t,n){return 10===(t=+t)&&"AK"===e?"America/Adak":7===t&&"AZ"===e?"Y"===n?"America/Denver":"America/Phoenix":fm[t]}static addLocation(e,t){const n=e.toLowerCase();return!lm.has(n)&&(lm.set(n,t),!0)}}for(const e of hm){const t=new gm(e[2],e[3],"IL"===e[1],e[4],e[0],e[1],void 0,e[5]);gm.addLocation(e[0],t)}function mm(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}class ym{constructor(e,t,n){const r=function(e){if(u(e))return e;if(de.isHDate(e))return e.greg();throw new TypeError(`invalid date: ${e}`)}(t);this.date=r,this.gloc=e;const o=Temporal.PlainDate.from({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()});this.noaa=new cm(e,o),this.useElevation=Boolean(n)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return mm(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return mm(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return mm(this.noaa.getSeaLevelSunrise())}sunset(){return mm(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return mm(this.noaa.getSeaLevelSunset())}dawn(){return mm(this.noaa.getBeginCivilTwilight())}dusk(){return mm(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new ym(this.gloc,e,this.useElevation).sunset()}nightHour(){return(this.sunrise().getTime()-this.gregEve().getTime())/12}chatzot(){const e=this.noaa.getSeaLevelSunrise(),t=this.noaa.getSeaLevelSunset();return mm(this.noaa.getSunTransit(e,t))}chatzotNight(){return new Date(this.sunrise().getTime()-6*this.nightHour())}alotHaShachar(){return this.timeAtAngle(16.1,!0)}alotHaShachar72(){return this.sunriseOffset(-72,!1,!1)}misheyakir(){return this.timeAtAngle(11.5,!0)}misheyakirMachmir(){return this.timeAtAngle(10.2,!0)}getShaahZmanisBasedZman(e){const t=this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise(),n=this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset(),r=this.noaa.getTemporalHour(t,n),o=Math.round(r*e);return mm(cm.getTimeOffset(t,o))}sofZmanShma(){return this.getShaahZmanisBasedZman(3)}sofZmanTfilla(){return this.getShaahZmanisBasedZman(4)}getTemporalHour72(e){const t=this.sunriseOffset(-72,!1,e),n=(this.sunsetOffset(72,!1,e).getTime()-t.getTime())/12;return[t,n]}getTemporalHourByDeg(e){const t=this.timeAtAngle(e,!0),n=(this.timeAtAngle(e,!1).getTime()-t.getTime())/12;return[t,n]}sofZmanShmaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(4*t);return new Date(e.getTime()+n)}minchaGedola(){return this.getShaahZmanisBasedZman(6.5)}minchaGedolaMGA(){const[e,t]=this.getTemporalHour72(!1),n=Math.floor(6.5*t);return new Date(e.getTime()+n)}minchaKetana(){return this.getShaahZmanisBasedZman(9.5)}minchaKetanaMGA(){const[e,t]=this.getTemporalHour72(!1);return new Date(e.getTime()+Math.floor(9.5*t))}plagHaMincha(){return this.getShaahZmanisBasedZman(10.75)}tzeit(e=8.5){return this.timeAtAngle(e,!1)}neitzHaChama(){return this.sunrise()}shkiah(){return this.sunset()}beinHaShmashos(){const e=this.tzeit(7.083),t=e.getTime();return isNaN(t)?e:new Date(t-81e4)}static formatTime(e,t){if(isNaN(e.getTime()))return"XX:XX";const n=t.format(e),r=n.split(":");return"24"===r[0]?"00:"+r[1]:n}static roundTime(e){const t=e.getTime();if(isNaN(t))return e;const n=e.getMilliseconds(),r=e.getSeconds();if(0===r&&0===n)return e;const o=1e3*r+n;return new Date(t+(o>=3e4?6e4-o:-1*o))}static timeZoneOffset(e,t){const n=function(e,t){const n=K("UTC",t),r=K(e,t),o=new Date(n).getTime()-new Date(r).getTime();return Math.ceil(o/1e3/60)}(e,t),r=Math.abs(n),o=r%60;return(n<0?"+":"-")+F(Math.floor(r/60))+":"+F(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?"0000-00-00T00:00:00Z":K(e,t).substring(0,19)+ym.timeZoneOffset(e,t)}sunriseOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunrise():this.sunrise();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}sunsetOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunset():this.sunset();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}static makeSunsetAwareHDate(e,t,n){const r=new ym(e,t,n).sunset();let o=new de(t);const i=r.getTime();return isNaN(i)||t.getTime()>=i&&(o=o.next()),o}}class vm extends Map{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"==typeof this.onEviction)for(const[t,n]of e)this.onEviction(t,n.value)}_deleteIfExpired(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.onEviction&&this.onEviction(e,t.value),this.delete(e))}_getOrDeleteIfExpired(e,t){if(!1===this._deleteIfExpired(e,t))return t.value}_getItemValue(e,t){return t.expiry?this._getOrDeleteIfExpired(e,t):t.value}_peek(e,t){const n=t.get(e);return this._getItemValue(e,n)}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,t){this.oldCache.delete(e),this._set(e,t)}*_entriesAscending(){for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,n)&&(yield e)}}for(const e of this.cache){const[t,n]=e;!1===this._deleteIfExpired(t,n)&&(yield e)}}get(e){if(this.cache.has(e)){const t=this.cache.get(e);return this._getItemValue(e,t)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,t))return this._moveToRecent(e,t),t.value}}set(e,t){let{maxAge:n=this.maxAge}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r="number"==typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.cache.has(e)?this.cache.set(e,{value:t,expiry:r}):this._set(e,{value:t,expiry:r}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this._entriesAscending()],n=t.length-e;n<0?(this.cache=new Map(t),this.oldCache=new Map,this._size=t.length):(n>0&&this._emitEvictions(t.slice(0,n)),this.oldCache=new Map(t.slice(n)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[t,n]=e;!1===this._deleteIfExpired(t,n)&&(yield[t,n.value])}for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,n)&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.cache];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;!1===this._deleteIfExpired(r,o)&&(yield[r,o.value])}e=[...this.oldCache];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;if(!this.cache.has(r)){!1===this._deleteIfExpired(r,o)&&(yield[r,o.value])}}}*entriesAscending(){for(const[e,t]of this._entriesAscending())yield[e,t.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;for(const[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const pm=f.NISAN,wm=f.IYYAR;function Sm(e){if(e<5708)return null;let t;const n=new de(15,pm,e).getDay();return t=0===n?2:6===n?3:e<5764?4:2===n?5:4,new de(t,wm,e)}function Am(e,t){const n=null!=t?t:ie.getLocaleName();let r=ie.gettext(e[0],n);if(2===e.length){r+=("he"===n?"־":"-")+ie.gettext(e[1],n)}r=r.replace(/'/g,"’");return(ie.gettext("Parashat",t)+" "+r).normalize()}class bm{constructor(e,t){e=+e,this.year=e;const n=new de(1,f.TISHREI,e),r=n.abs(),o=n.getDay()+1;this.firstSaturday=de.dayOnOrBefore(6,r+6);const i=+de.isLeapYear(e);this.il=Boolean(t);const a=function(e){const t=de.longCheshvan(e),n=de.shortKislev(e);return t&&!n?2:!t&&n?0:1}(e);let s=`${i}${o}${a}`;if(Fm[s]?(this.theSedraArray=Fm[s],this.yearKey=s):(s+=+this.il,this.theSedraArray=Fm[s],this.yearKey=s),!this.theSedraArray)throw new Error(`improper sedra year type ${s} calculated for ${e}`)}get(e){return this.lookup(e).parsha}getString(e,t){return Am(this.get(e),t)}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>=Tm.length||e<0&&!Mm(e))throw new RangeError(`Invalid parsha number: ${e}`);return this.findInternal(e)}if("string"==typeof e){const t=Em.get(e);return"number"==typeof t?this.find(t):-1!==e.indexOf("-")?e===Om||e===Hm?this.findInternal(e):this.find(e.split("-")):this.findInternal(e)}if(Array.isArray(e)){const t=e.length;if(1!==t&&2!==t||"string"!=typeof e[0])throw new TypeError(`Invalid parsha argument: ${JSON.stringify(e)}`);if(1===t)return this.find(e[0]);const n=e[0],r=e[1],o=Em.get(n),i=Em.get(r);if("number"!=typeof o||"number"!=typeof i||i!==o+1||!Mm(-o))throw new RangeError(`Unrecognized parsha name: ${n}-${r}`);return this.find(-o)}return null}findInternal(e){const t=this.theSedraArray.indexOf(e);return-1===t?null:new de(this.firstSaturday+7*t)}findContaining(e){const t=this.find(e);if(t)return t;if("number"==typeof e){const t=-e;return Mm(t)?this.find(t):this.find(t+1)}{const t=Em.get(e);if(t){const e=-t;return Mm(e)?this.find(e):this.find(e+1)}{const[t]=e.split("-");return this.find(t)}}}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:de.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=de.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return zm(this.year+1,this.il).lookup(n)}const i=new de(n);if("string"==typeof o)return{parsha:[o],chag:!0,hdate:i};if(o>=0)return{parsha:[Tm[o]],chag:!1,num:o+1,hdate:i};const a=Nm(o);return{parsha:[Tm[a],Tm[a+1]],chag:!1,num:[a+1,a+2],hdate:i}}}const Tm=["Bereshit","Noach","Lech-Lecha","Vayera","Chayei Sara","Toldot","Vayetzei","Vayishlach","Vayeshev","Miketz","Vayigash","Vayechi","Shemot","Vaera","Bo","Beshalach","Yitro","Mishpatim","Terumah","Tetzaveh","Ki Tisa","Vayakhel","Pekudei","Vayikra","Tzav","Shmini","Tazria","Metzora","Achrei Mot","Kedoshim","Emor","Behar","Bechukotai","Bamidbar","Nasso","Beha'alotcha","Sh'lach","Korach","Chukat","Balak","Pinchas","Matot","Masei","Devarim","Vaetchanan","Eikev","Re'eh","Shoftim","Ki Teitzei","Ki Tavo","Nitzavim","Vayeilech","Ha'azinu"],Em=new Map;for(let e=0;e<Tm.length;e++){const t=Tm[e];Em.set(t,e)}const Im=[21,26,28,31,38,41,50];function Mm(e){return Im.includes(-e)}function Nm(e){return-e}const Hm="Sukkot Shabbat Chol ha-Moed",Cm="Pesach",Dm="Pesach I",Om="Pesach Shabbat Chol ha-Moed",_m="Pesach VII",km="Pesach VIII",Lm="Shavuot";function Rm(e,t){return Array.from({length:t-e+1},(t,n)=>n+e)}const Ym=[51,52,Hm],Bm=[52,"Yom Kippur",Hm],Pm=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],jm=Rm(0,20),Um=Rm(0,27),xm=Rm(33,40),Zm=Rm(43,49),$m=Rm(43,50),Fm={"020":Ym.concat(jm,Nm(21),23,24,Om,25,Nm(26),Nm(28),30,Nm(31),xm,Nm(41),Zm,Nm(50)),"0220":Ym.concat(jm,Nm(21),23,24,Om,25,Nm(26),Nm(28),30,Nm(31),33,Lm,Rm(34,37),Nm(38),40,Nm(41),Zm,Nm(50)),"0510":Bm.concat(jm,Nm(21),23,24,Dm,km,25,Nm(26),Nm(28),30,Nm(31),xm,Nm(41),$m),"0511":Bm.concat(jm,Nm(21),23,24,Cm,25,Nm(26),Nm(28),Rm(30,40),Nm(41),$m),"052":Bm.concat(Rm(0,24),_m,25,Nm(26),Nm(28),30,Nm(31),xm,Nm(41),$m),"070":Pm.concat(jm,Nm(21),23,24,_m,25,Nm(26),Nm(28),30,Nm(31),xm,Nm(41),$m),"072":Pm.concat(jm,Nm(21),23,24,Om,25,Nm(26),Nm(28),30,Nm(31),xm,Nm(41),Zm,Nm(50)),1200:Ym.concat(Um,Om,Rm(28,33),Lm,Rm(34,37),Nm(38),40,Nm(41),Zm,Nm(50)),1201:Ym.concat(Um,Om,Rm(28,40),Nm(41),Zm,Nm(50)),1220:Ym.concat(Um,Dm,km,Rm(28,40),Nm(41),$m),1221:Ym.concat(Um,Cm,Rm(28,50)),150:Bm.concat(Rm(0,28),_m,Rm(29,50)),152:Bm.concat(Rm(0,28),Om,Rm(29,49),Nm(50)),170:Pm.concat(Um,Om,Rm(28,40),Nm(41),Zm,Nm(50)),1720:Pm.concat(Um,Om,Rm(28,33),Lm,Rm(34,37),Nm(38),40,Nm(41),Zm,Nm(50))};Fm["0221"]=Fm["020"],Fm["0310"]=Fm["0220"],Fm["0311"]=Fm["020"],Fm[1310]=Fm[1220],Fm[1311]=Fm[1221],Fm[1721]=Fm[170];const Vm=new vm({maxSize:400});function zm(e,t){const n=`${e}-${t?1:0}`;let r=Vm.get(n);return r||(r=new bm(e,t),Vm.set(n,r)),r}const Km=f.NISAN,Gm=f.IYYAR,Jm=f.SIVAN,Wm=f.ELUL,qm=f.TISHREI,Xm=f.CHESHVAN,Qm=f.KISLEV,ey=f.SHVAT,ty=f.ADAR_II,ny=be.CHAG,ry=be.LIGHT_CANDLES,oy=be.YOM_TOV_ENDS,iy=be.CHUL_ONLY,ay=be.IL_ONLY,sy=be.LIGHT_CANDLES_TZEIS,uy=be.MINOR_HOLIDAY,cy=be.EREV,hy=be.CHOL_HAMOED,ly="🫓",fy="🌿🍋",dy="Rosh Hashana II",gy="Erev Yom Kippur",my="Yom Kippur",yy="Erev Sukkot",vy="Sukkot I",py="Sukkot II",wy="Sukkot III (CH''M)",Sy="Sukkot IV (CH''M)",Ay="Sukkot V (CH''M)",by="Sukkot VI (CH''M)",Ty="Shmini Atzeret",Ey="Simchat Torah",Iy="Sukkot II (CH''M)",My="Sukkot VII (Hoshana Raba)",Ny="Chanukah: 1 Candle",Hy="Tu BiShvat",Cy="Erev Purim",Dy="Purim",Oy="Shushan Purim",_y="Erev Pesach",ky="Pesach I",Ly="Pesach II",Ry="Pesach II (CH''M)",Yy="Pesach III (CH''M)",By="Pesach IV (CH''M)",Py="Pesach V (CH''M)",jy="Pesach VI (CH''M)",Uy="Pesach VII",xy="Pesach VIII",Zy="Pesach Sheni",$y="Lag BaOmer",Fy="Erev Shavuot",Vy="Shavuot",zy="Shavuot I",Ky="Shavuot II",Gy="Tu B'Av",Jy="Rosh Hashana LaBehemot",Wy="Erev Rosh Hashana",qy="Yom Yerushalayim",Xy="Ben-Gurion Day",Qy="Family Day",ev="Yitzhak Rabin Memorial Day",tv="Herzl Day",nv="Jabotinsky Day",rv="Sigd",ov="Yom HaAliyah",iv="Yom HaAliyah School Observance",av="Hebrew Language Day",sv={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:Xy,CHANUKAH_1_CANDLE:Ny,EREV_PESACH:_y,EREV_PURIM:Cy,EREV_ROSH_HASHANA:Wy,EREV_SHAVUOT:Fy,EREV_SUKKOT:yy,EREV_YOM_KIPPUR:gy,FAMILY_DAY:Qy,HEBREW_LANGUAGE_DAY:av,HERZL_DAY:tv,JABOTINSKY_DAY:nv,LAG_BAOMER:$y,PESACH_I:ky,PESACH_II:Ly,PESACH_III_CHM:Yy,PESACH_II_CHM:Ry,PESACH_IV_CHM:By,PESACH_SHENI:Zy,PESACH_VII:Uy,PESACH_VIII:xy,PESACH_VI_CHM:jy,PESACH_V_CHM:Py,PURIM:Dy,ROSH_HASHANA_II:dy,ROSH_HASHANA_LABEHEMOT:Jy,SHAVUOT:Vy,SHAVUOT_I:zy,SHAVUOT_II:Ky,SHMINI_ATZERET:Ty,SHUSHAN_PURIM:Oy,SIGD:rv,SIMCHAT_TORAH:Ey,SUKKOT_I:vy,SUKKOT_II:py,SUKKOT_III_CHM:wy,SUKKOT_II_CHM:Iy,SUKKOT_IV_CHM:Sy,SUKKOT_VII_HOSHANA_RABA:My,SUKKOT_VI_CHM:by,SUKKOT_V_CHM:Ay,TU_BAV:Gy,TU_BISHVAT:Hy,YITZHAK_RABIN_MEMORIAL_DAY:ev,YOM_HAALIYAH:ov,YOM_HAALIYAH_SCHOOL_OBSERVANCE:iv,YOM_KIPPUR:my,YOM_YERUSHALAYIM:qy},uv=[{mm:qm,dd:2,desc:dy,flags:ny|oy,emoji:"🍏🍯"},{mm:qm,dd:9,desc:gy,flags:cy|ry},{mm:qm,dd:10,desc:my,flags:ny|be.MAJOR_FAST|oy},{mm:qm,dd:14,desc:yy,flags:iy|cy|ry,emoji:fy},{mm:qm,dd:15,desc:vy,flags:iy|ny|sy,emoji:fy},{mm:qm,dd:16,desc:py,flags:iy|ny|oy,emoji:fy},{mm:qm,dd:17,desc:wy,flags:iy|hy,chmDay:1,emoji:fy},{mm:qm,dd:18,desc:Sy,flags:iy|hy,chmDay:2,emoji:fy},{mm:qm,dd:19,desc:Ay,flags:iy|hy,chmDay:3,emoji:fy},{mm:qm,dd:20,desc:by,flags:iy|hy,chmDay:4,emoji:fy},{mm:qm,dd:22,desc:Ty,flags:iy|ny|sy},{mm:qm,dd:23,desc:Ey,flags:iy|ny|oy},{mm:qm,dd:14,desc:yy,flags:ay|cy|ry,emoji:fy},{mm:qm,dd:15,desc:vy,flags:ay|ny|oy,emoji:fy},{mm:qm,dd:16,desc:Iy,flags:ay|hy,chmDay:1,emoji:fy},{mm:qm,dd:17,desc:wy,flags:ay|hy,chmDay:2,emoji:fy},{mm:qm,dd:18,desc:Sy,flags:ay|hy,chmDay:3,emoji:fy},{mm:qm,dd:19,desc:Ay,flags:ay|hy,chmDay:4,emoji:fy},{mm:qm,dd:20,desc:by,flags:ay|hy,chmDay:5,emoji:fy},{mm:qm,dd:22,desc:Ty,flags:ay|ny|oy},{mm:qm,dd:21,desc:My,flags:ry|hy,chmDay:-1,emoji:fy},{mm:Qm,dd:24,desc:Ny,flags:cy|uy|be.CHANUKAH_CANDLES,emoji:"🕎1️⃣"},{mm:ey,dd:15,desc:Hy,flags:uy,emoji:"🌳"},{mm:ty,dd:13,desc:Cy,flags:cy|uy,emoji:"🎭️📜"},{mm:ty,dd:14,desc:Dy,flags:uy,emoji:"🎭️📜"},{mm:ty,dd:15,desc:Oy,flags:uy,emoji:"🎭️📜"},{mm:Km,dd:14,desc:_y,flags:ay|cy|ry,emoji:"🫓🍷"},{mm:Km,dd:15,desc:ky,flags:ay|ny|oy,emoji:ly},{mm:Km,dd:16,desc:Ry,flags:ay|hy,chmDay:1,emoji:ly},{mm:Km,dd:17,desc:Yy,flags:ay|hy,chmDay:2,emoji:ly},{mm:Km,dd:18,desc:By,flags:ay|hy,chmDay:3,emoji:ly},{mm:Km,dd:19,desc:Py,flags:ay|hy,chmDay:4,emoji:ly},{mm:Km,dd:20,desc:jy,flags:ay|hy|ry,chmDay:5,emoji:ly},{mm:Km,dd:21,desc:Uy,flags:ay|ny|oy,emoji:ly},{mm:Km,dd:14,desc:_y,flags:iy|cy|ry,emoji:"🫓🍷"},{mm:Km,dd:15,desc:ky,flags:iy|ny|sy,emoji:"🫓🍷"},{mm:Km,dd:16,desc:Ly,flags:iy|ny|oy,emoji:ly},{mm:Km,dd:17,desc:Yy,flags:iy|hy,chmDay:1,emoji:ly},{mm:Km,dd:18,desc:By,flags:iy|hy,chmDay:2,emoji:ly},{mm:Km,dd:19,desc:Py,flags:iy|hy,chmDay:3,emoji:ly},{mm:Km,dd:20,desc:jy,flags:iy|hy|ry,chmDay:4,emoji:ly},{mm:Km,dd:21,desc:Uy,flags:iy|ny|sy,emoji:ly},{mm:Km,dd:22,desc:xy,flags:iy|ny|oy,emoji:ly},{mm:Gm,dd:14,desc:Zy,flags:uy},{mm:Gm,dd:18,desc:$y,flags:uy,emoji:"🔥"},{mm:Jm,dd:5,desc:Fy,flags:cy|ry,emoji:"⛰️🌸"},{mm:Jm,dd:6,desc:Vy,flags:ay|ny|oy,emoji:"⛰️🌸"},{mm:Jm,dd:6,desc:zy,flags:iy|ny|sy,emoji:"⛰️🌸"},{mm:Jm,dd:7,desc:Ky,flags:iy|ny|oy,emoji:"⛰️🌸"},{mm:f.AV,dd:15,desc:Gy,flags:uy,emoji:"❤️"},{mm:Wm,dd:1,desc:Jy,flags:uy,emoji:"🐑"},{mm:Wm,dd:29,desc:Wy,flags:cy|ry,emoji:"🍏🍯"}],cv=[{firstYear:5727,mm:Gm,dd:28,desc:qy,chul:!0},{firstYear:5737,mm:Qm,dd:6,desc:Xy,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:ey,dd:30,desc:Qy},{firstYear:5758,mm:Xm,dd:12,desc:ev,friSatMovetoThu:!0},{firstYear:5764,mm:Gm,dd:10,desc:tv,satPostponeToSun:!0},{firstYear:5765,mm:f.TAMUZ,dd:29,desc:nv,satPostponeToSun:!0},{firstYear:5769,mm:Xm,dd:29,desc:rv,chul:!0,suppressEmoji:!0,friSatMovetoThu:!0},{firstYear:5777,mm:Km,dd:10,desc:ov,chul:!0},{firstYear:5777,mm:Xm,dd:7,desc:iv},{firstYear:5773,mm:f.TEVET,dd:21,desc:av,friSatMovetoThu:!0}];class hv extends Ee{basename(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}url(){if(this.getDate().greg().getFullYear()<100)return;const e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&be.IL_ONLY?e+"?i=on":e}urlDateSuffix(){const e=this.getDate().greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&be.SPECIAL_SHABBAT?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;switch(this.getDesc()){case sv.LAG_BAOMER:case sv.LEIL_SELICHOT:case sv.PESACH_SHENI:case sv.EREV_PURIM:case sv.PURIM_KATAN:case sv.SHUSHAN_PURIM:case sv.TU_BAV:case sv.TU_BISHVAT:case sv.ROSH_HASHANA_LABEHEMOT:return["holiday","minor"]}return["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}clone(){const e=new hv(this.date,this.desc,this.mask);return Object.assign(e,this),e}}class lv extends hv{urlDateSuffix(){return G(this.getDate().greg()).replace(/-/g,"")}}class fv extends hv{urlDateSuffix(){const e=this.getDate().greg();let t=e.getFullYear();return 0===e.getMonth()&&t--,String(t)}}class dv extends hv{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return ie.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const gv="Rosh Chodesh";class mv extends hv{constructor(e,t){super(e,`${gv} ${t}`,be.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=ie.gettext(t,e).replace(/'/g,"’");return ie.gettext(gv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}const yv="Yom Kippur Katan";class vv extends hv{constructor(e,t){super(e,`${yv} ${t}`,be.MINOR_FAST|be.YOM_KIPPUR_KATAN),this.nextMonthName=t,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${t}`}basename(){return this.getDesc()}render(e){const t=ie.gettext(this.nextMonthName,e).replace(/'/g,"’");return ie.gettext(yv,e)+" "+t}renderBrief(e){return ie.gettext(yv,e)}url(){}}function pv(e){return e.observedInIsrael()}function wv(e){return e.observedInDiaspora()}function Sv(e,t){const n=de.isHDate(e)?e:new de(e),r=n.toString(),o=Gv(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const i=o.filter(function(e){return e?pv:wv}(t));return i}const Av=be.CHAG,bv=be.IL_ONLY,Tv=be.LIGHT_CANDLES_TZEIS,Ev=be.CHANUKAH_CANDLES,Iv=be.MINOR_FAST,Mv=be.SPECIAL_SHABBAT,Nv=be.MODERN_HOLIDAY,Hv=be.MAJOR_FAST,Cv=be.MINOR_HOLIDAY,Dv=be.EREV,Ov=0,_v=2,kv=4,Lv=5,Rv=6,Yv=f.NISAN,Bv=f.TAMUZ,Pv=f.AV,jv=f.TISHREI,Uv=f.KISLEV,xv=f.TEVET,Zv=f.ADAR_I,$v=f.ADAR_II,Fv={emoji:"🇮🇱"},Vv="🕎",zv=new vm({maxSize:400}),Kv=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function Gv(e){if("number"!=typeof e)throw new TypeError(`bad Hebrew year: ${e}`);if(e<1||e>32658)throw new RangeError(`Hebrew year ${e} out of range 1-32658`);const t=zv.get(e);if(t)return t;const n=new de(1,jv,e),r=new de(15,Yv,e),o=new Map;function i(...e){for(const t of e){const e=t.date.toString(),n=o.get(e);"object"==typeof n?n[0].getFlags()&Dv?n.unshift(t):n.push(t):o.set(e,[t])}}for(const t of uv){const n=new de(t.dd,t.mm,e),r=new hv(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),i(r)}i(new dv(n,e,Av|Tv));const a=n.getDay()===kv?4:3;i(new hv(new de(a,jv,e),sv.TZOM_GEDALIAH,Iv)),i(new hv(new de(de.dayOnOrBefore(Rv,7+n.abs())),sv.SHABBAT_SHUVA,Mv));const s=de.shortKislev(e)?new de(1,xv,e):new de(30,Uv,e);i(new hv(s,sv.CHAG_HABANOT,Cv));for(let t=2;t<=8;t++){const n=new de(23+t,Uv,e);i(new fv(n,`Chanukah: ${t} Candles`,Cv|Ev,{chanukahDay:t-1,emoji:Vv+Kv[t]}))}i(new fv(new de(32,Uv,e),sv.CHANUKAH_8TH_DAY,Cv,{chanukahDay:8,emoji:Vv})),i(new lv(new de(10,xv,e),sv.ASARA_BTEVET,Iv));const u=r.abs();i(new hv(new de(de.dayOnOrBefore(Rv,u-43)),sv.SHABBAT_SHEKALIM,Mv),new hv(new de(de.dayOnOrBefore(Rv,u-30)),sv.SHABBAT_ZACHOR,Mv),new hv(new de(u-(r.getDay()===_v?33:31)),sv.TAANIT_ESTHER,Iv));const c=de.dayOnOrBefore(Rv,u-14);i(new hv(new de(c-7),sv.SHABBAT_PARAH,Mv),new hv(new de(c),sv.SHABBAT_HACHODESH,Mv),new hv(new de(de.dayOnOrBefore(Rv,u-1)),sv.SHABBAT_HAGADOL,Mv),new hv(r.prev().getDay()===Rv?r.onOrBefore(kv):new de(14,Yv,e),sv.TAANIT_BECHOROT,Iv)),i(new hv(new de(de.dayOnOrBefore(Rv,new de(1,jv,e+1).abs()-4)),sv.LEIL_SELICHOT,Cv,{emoji:"🕍"})),r.getDay()===Ov&&i(new hv(new de(16,$v,e),sv.PURIM_MESHULASH,Cv)),de.isLeapYear(e)&&(i(new hv(new de(14,Zv,e),sv.PURIM_KATAN,Cv,{emoji:"🎭️"})),i(new hv(new de(15,Zv,e),sv.SHUSHAN_PURIM_KATAN,Cv,{emoji:"🎭️"})));const h=function(e){if(e<5711)return null;let t=new de(27,pm,e);return 5===t.getDay()?t=new de(26,pm,e):0===t.getDay()&&(t=new de(28,pm,e)),t}(e);h&&i(new hv(h,sv.YOM_HASHOAH,Nv));const l=Sm(e);l&&i(new hv(l,sv.YOM_HAZIKARON,Nv,Fv),new hv(l.next(),sv.YOM_HAATZMA_UT,Nv,Fv));for(const t of cv)if(e>=t.firstYear){let n=new de(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||r!==Lv&&r!==Rv?t.friPostponeToSun&&r===Lv?n=new de(n.abs()+2):t.satPostponeToSun&&r===Rv&&(n=n.next()):n=n.onOrBefore(kv);const o=t.chul?Nv:Nv|bv,a=new hv(n,t.desc,o);t.suppressEmoji||(a.emoji="🇮🇱"),i(a)}let d,g=new de(17,Bv,e);g.getDay()===Rv&&(g=new de(18,Bv,e),d={observed:!0}),i(new hv(g,sv.TZOM_TAMMUZ,Iv,d));let m,y=new de(9,Pv,e),v=sv.TISHA_BAV;y.getDay()===Rv&&(y=y.next(),m={observed:!0},v+=" (observed)");const p=y.abs();i(new hv(new de(de.dayOnOrBefore(Rv,p)),sv.SHABBAT_CHAZON,Mv),new hv(y.prev(),sv.EREV_TISHA_BAV,Dv|Hv,m),new hv(y,v,Hv,m),new hv(new de(de.dayOnOrBefore(Rv,p+7)),sv.SHABBAT_NACHAMU,Mv));const w=de.monthsInYear(e);for(let t=1;t<=w;t++){const n=de.getMonthName(t,e);30===(t===Yv?de.daysInMonth(de.monthsInYear(e-1),e-1):de.daysInMonth(t-1,e))?(i(new mv(new de(1,t,e),n)),i(new mv(new de(30,t-1,e),n))):t!==jv&&i(new mv(new de(1,t,e),n))}for(let t=f.IYYAR;t<=w;t++){const n=t+1;if(n===jv||n===f.CHESHVAN||n===xv)continue;let r=new de(29,t,e);const o=r.getDay();o!==Lv&&o!==Rv||(r=r.onOrBefore(kv));const a=de.getMonthName(n,e);i(new vv(r,a))}const S=zm(e,!1).find(15);i(new hv(S,sv.SHABBAT_SHIRAH,Mv));const A=function(e){const t=de.isLeapYear(e),n=t?$v:Yv,r=t?20:1,o=de.hebrew2abs(e,n,r);for(let e=0;e<=40;e++){const t=o+e;if((t+1373429)%10227==172)return t}return 0}(e);if(A){const e=new de(A);i(new hv(e,sv.BIRKAT_HACHAMAH,Cv,{emoji:"☀️"}))}return zv.set(e,o),o}function Jv(e,t){const n=Gv(e),r=de.hebrew2abs(e,jv,1),o=de.hebrew2abs(e+1,jv,1)-1;let i=[];const a=t?pv:wv;for(let e=r;e<=o;e++){const t=new de(e),r=n.get(t.toString());if(r){const e=r.filter(a);i=i.concat(e)}}return i}const Wv=be.LIGHT_CANDLES|be.LIGHT_CANDLES_TZEIS;const qv={US:1,CA:1,BR:1,AU:1,NZ:1,DO:1,PR:1,GR:1,IN:1,KR:1,NP:1,ZA:1};function Xv(e,t,n){var r;if("string"!=typeof e)throw new TypeError(`Bad timeStr: ${e}`);const o=(null===(r=null==n?void 0:n.location)||void 0===r?void 0:r.getCountryCode())||((null==n?void 0:n.il)?"IL":"US"),i=null==n?void 0:n.hour12;if(void 0!==i&&!i)return e;if(!i&&void 0===qv[o])return e;const a=e.split(":");let s=parseInt(a[0],10);return s<12&&t?(t=t.replace("p","a").replace("P","A"),0===s&&(s=12)):s>12?s%=12:0===s&&(s="00"),`${s}:${a[1]}${t}`}class Qv extends Ee{constructor(e,t,n,r,o,i,a){super(e,t,n),this.eventTime=ym.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=ym.formatTime(this.eventTime,s);const u=Object.assign(Object.assign({},a),{location:o});this.fmtTime=Xv(this.eventTimeStr,"pm",u),void 0!==i&&(this.linkedEvent=i)}render(e){return ie.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return ie.gettext(this.getDesc(),e)}getCategories(){switch(this.getDesc()){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}return["unknown"]}}class ep extends Qv{constructor(e,t,n,r,o,i){super(e,"Candle lighting",t,n,r,o,i)}getEmoji(){return"🕯️"}}class tp extends Qv{constructor(e,t,n,r,o,i,a){super(e,"Havdalah",t,n,r,i,a),o&&(this.havdalahMins=o)}render(e){return this.renderBrief(e)+": "+this.fmtTime}renderBrief(e){let t=ie.gettext(this.getDesc(),e);if(this.havdalahMins){const n=ie.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}const np=be.LIGHT_CANDLES,rp=be.LIGHT_CANDLES_TZEIS;function op(e,t,n,r,o){let i=!1,a=o,s=e?e.getFlags():np;void 0!==e?r||(s&(rp|be.CHANUKAH_CANDLES)?a=!0:s&be.YOM_TOV_ENDS&&(i=!0,a=!0)):o&&(i=!0,s=rp);const u=Number(a?n.havdalahMins:n.candleLightingMins),c=n.location,h=Boolean(n.useElevation),l=new ym(c,t,h),f=a&&!u?l.tzeit(n.havdalahDeg):l.sunsetOffset(u,!0);if(!isNaN(f.getTime()))return i?new tp(t,s,f,c,n.havdalahMins,e,n):(s|=np,new ep(t,s,f,c,e,n))}const ip="Fast begins",ap="Fast ends";class sp extends hv{constructor(e,t,n){super(e.getDate(),e.getDesc(),e.getFlags()),this.linkedEvent=e,this.startEvent=t,this.endEvent=n}render(e){return this.linkedEvent.render(e)}renderBrief(e){return this.linkedEvent.renderBrief(e)}urlDateSuffix(){return this.linkedEvent.urlDateSuffix()}url(){return this.linkedEvent.url()}getEmoji(){return this.linkedEvent.getEmoji()}getCategories(){return this.linkedEvent.getCategories()}}function up(e,t,n,r){const o=r.location,i=e.getDate();return new Qv(i,n,e.getFlags(),t,o,e,r)}class cp extends fv{constructor(e,t,n,r,o){super(e,t,n),this.eventTime=ym.roundTime(r);const i=o.getTimeFormatter();this.eventTimeStr=ym.formatTime(this.eventTime,i),this.location=o}}const hp=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],lp=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],fp=["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dp="בַּלַּ֥יְלָה";class gp{constructor(e,t){this.m=function(e,t){let n=t-7;n<0&&(n+=T(e));const r=235*Math.floor((e-1)/19)+(e-1)%19*12+Math.floor(((e-1)%19*7+1)/19)+n,o=204+Math.floor(r%1080*793),i=5+12*r+793*Math.floor(r/1080)+Math.floor(o/1080)-6,a=(o%1080+i%24*1080)%1080;return{year:e,month:t,dayOfWeek:(1+29*r+Math.floor(i/24))%7,hour:i%24,minutes:Math.floor(a/18),chalakim:a%18}}(e,t)}getYear(){return this.m.year}getMonth(){return this.m.month}getMonthName(){return de.getMonthName(this.m.month,this.m.year)}getDow(){return this.m.dayOfWeek}getHour(){return this.m.hour}getMinutes(){return this.m.minutes}getChalakim(){return this.m.chalakim}render(e,t){var n;"string"==typeof(e=null!=e?e:ie.getLocaleName())&&(e=e.toLowerCase());const r="he"===e||"he-x-nonikud"===e||"h"===e,o="fr"===e,i=ie.gettext(this.getMonthName(),e),a=(r?lp:o?fp:hp)[this.getDow()],s=this.getMinutes(),u=this.getHour(),c=this.getChalakim(),h=ie.gettext("Molad",e),l=null!==(n=ie.lookupTranslation("min",e))&&void 0!==n?n:"minutes",f=ie.gettext("chalakim",e),d=ie.gettext("and",e),g=ie.gettext("after",e);if(r){const t=function(e){return e<5?dp:e<12?"בַּבֹּקֶר":e<17?"בַּצׇּהֳרַיִים":e<21?"בָּעֶרֶב":dp}(u),n=`${h} ${i} יִהְיֶה בַּיּוֹם ${a} בשָׁבוּעַ, בְּשָׁעָה ${u} ${t}, ו-${s} ${l} ו-${c} ${f}`;return"he-x-nonikud"===e?ie.hebrewStripNikkud(n):n}const m=Xv(`${u}:00`,"pm",t);return`${h} ${i.replace(/'/g,"’")}: ${a}, ${s} ${l} ${d} ${c} ${f} ${g} ${m}`}}class mp extends Ee{constructor(e,t,n,r){const o=new gp(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,be.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}const yp={en:{infix:"within ",infix26:"within ",words:["","Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"],pfxWords:null},he:{infix:null,infix26:null,words:["","חֶֽסֶד","גְּבוּרָה","תִּפְאֶֽרֶת","נֶּֽצַח","הוֹד","יְּסוֹד","מַלְכוּת"],pfxWords:["","שֶׁבְּחֶֽסֶד","שֶׁבִּגְבוּרָה","שֶׁבְּתִפְאֶֽרֶת","שֶׁבְּנֶֽצַח","שֶׁבְּהוֹד","שֶׁבִּיְסוֹד","שֶׁבְּמַלְכוּת"]},translit:{infix:"sheb'",infix26:"shebi",words:["","Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"],pfxWords:null}};function vp(e){return[Math.floor((e-1)/7)+1,e%7||7]}const pp=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],wp=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],Sp="שְׁנֵי",Ap="יָמִים",bp=Sp+" "+Ap,Tp="שָׁבוּעוֹת",Ep="יוֹם",Ip=Ep+" "+wp[1],Mp="עָשָׂר";class Np extends Ee{constructor(e,t){super(e,`Omer ${t}`,be.OMER_COUNT),function(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}(t),this.weekNumber=Math.floor((t-1)/7)+1,this.daysWithinWeeks=t%7||7,this.omer=t}sefira(e="en"){"he"!==e&&"translit"!==e&&(e="en");const[t,n]=vp(this.omer),r=yp[e],o=r.pfxWords,i=r.words,a=o?o[t]:i[t];return(i[n]+" "+(o?"":2===t||6===t?r.infix26:r.infix)+a).normalize()}render(e){"string"==typeof(e=null!=e?e:ie.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?x(n):ie.ordinal(n,e))+" "+ie.gettext("day of the Omer",e)}renderBrief(e){return ie.gettext("Omer",e)+" "+ie.gettext("day",e)+" "+this.omer}getEmoji(){if("string"==typeof this.emoji)return this.emoji;let e;const t=this.omer;return e=t<=20?9312+t-1:t<=35?12881+t-21:12977+t-36,String.fromCodePoint(e)}getWeeks(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}getDaysWithinWeeks(){return this.daysWithinWeeks}getTodayIs(e){"string"==typeof(e=null!=e?e:ie.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";if(11===e?r+="אַחַד "+Mp:12===e?r+="שְׁנֵים "+Mp:12<e&&e<20?r+=wp[n]+" "+Mp:e>9&&(r+=wp[n],n&&(r+=" ",r+=3===t?"וּ":"וְ")),e>2?((e>20||10===e||20===e)&&(r+=pp[t]),r+=e<11?wp[n]+" "+Ap+" ":" יוֹם "):r+=1===e?Ip+" ":bp+" ",e>6){r=r.trim(),r+=", שֶׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?wp[t]+" "+Tp+" ":1===t?"שָׁבֽוּעַ "+wp[1]+" ":Sp+" "+Tp+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?wp[n]+" "+Ap+" ":1===n?Ip+" ":bp+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(this.omer):function(e){const[t,n]=vp(e);let r=`Today is ${e} ${1===e?"day":"days"}`;if(t>1||7===e){const e=7===n,o=e?t:t-1;r+=`, which is ${o} ${1===o?"week":"weeks"}`,e||(r+=` and ${n} ${1===n?"day":"days"}`)}return r+" of the Omer"}(this.omer);return"he-x-nonikud"===e?ie.hebrewStripNikkud(t):t}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class Hp extends Ee{constructor(e,t,n=!1,r=-1){if(!Array.isArray(t)||0===t.length||t.length>2)throw new TypeError("Bad parsha argument");super(e,"Parashat "+t.join("-"),be.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){return Am(this.parsha,e)}basename(){return this.parsha.join("-")}url(){if(this.getDate().greg().getFullYear()<100)return;const e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}urlDateSuffix(){return G(this.getDate().greg()).replace(/-/g,"")}}const Cp="Shabbat Mevarchim Chodesh";class Dp extends Ee{constructor(e,t,n,r){if(super(e,`${Cp} ${t}`,be.SHABBAT_MEVARCHIM),this.monthName=ie.gettext(t,r),n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n===de.monthsInYear(t)?f.NISAN:n+1,o=new gp(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=ie.gettext(this.monthName,e).replace(/'/g,"’");return ie.gettext(Cp,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}const Op=new Map;class _p{static addCalendar(e,t,n){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);Op.set(e.toLowerCase(),{fn:t,startDate:n})}static lookup(e,t,n){const r=Op.get(e.toLowerCase());return"object"==typeof r?r.fn(t,n):null}static getStartDate(e){const t=Op.get(e.toLowerCase());if("object"==typeof t)return t.startDate}static has(e){return Op.has(e.toLowerCase())}static getCalendars(){return Array.from(Op.keys())}}function kp(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const Lp={shacharit:!1,mincha:!1,allCongs:!1};function Rp(e,t){return Yp(e,t,!0)}function Yp(e,t,n){const r=function(e,t){const n=de.isLeapYear(e),r=de.monthsInYear(e);let o=new de(9,f.AV,e);6===o.getDay()&&(o=o.next());let i=new de(15,f.ADAR_II,e);6===i.getDay()&&(i=i.next());const a=[new de(2,f.TISHREI,e)].concat(kp(1,r).map(t=>new de(1,t,e)),kp(1,r).filter(t=>30===de.daysInMonth(t,e)).map(t=>new de(30,t,e)),kp(1,de.daysInMonth(f.NISAN,e)).map(t=>new de(t,f.NISAN,e)),new de(18,f.IYYAR,e),kp(1,8-(t?1:0)).map(t=>new de(t,f.SIVAN,e)),o,new de(15,f.AV,e),new de(29,f.ELUL,e),kp(9,24-(t?1:0)).map(t=>new de(t,f.TISHREI,e)),kp(25,33).map(t=>new de(t,f.KISLEV,e)),new de(15,f.SHVAT,e),new de(14,f.ADAR_II,e),i,n?new de(14,f.ADAR_I,e):[]),s=[new de(14,f.IYYAR,e)].concat(kp(1,13).map(t=>new de(t,f.SIVAN,e)),kp(20,31).map(t=>new de(t,f.TISHREI,e)),e>=5708?Sm(e).next():[],e>=5727?new de(28,f.IYYAR,e):[]),u=[new de(29,f.ELUL,e-1),new de(9,f.TISHREI,e),new de(14,f.IYYAR,e)];return{none:a.map(e=>e.abs()).sort((e,t)=>e-t),some:s.map(e=>e.abs()).sort((e,t)=>e-t),yesPrev:u.map(e=>e.abs()).sort((e,t)=>e-t)}}(e.yy,t),o=e.abs();if(r.none.indexOf(o)>-1)return Lp;const i=e.getDay(),a={shacharit:!1,mincha:!1,allCongs:!1};-1===r.some.indexOf(o)&&(a.allCongs=!0),6!==i&&(a.shacharit=!0);const s=o+1;if(n&&-1===r.yesPrev.indexOf(s)){const e=Yp(new de(s),t,!1);a.mincha=e.shacharit}else a.mincha=5!==i;return!a.allCongs||a.mincha||a.shacharit?a:Lp}const Bp=f.TISHREI;function Pp(e){if("number"==typeof e)return e;if(u(e))return h(e);if(de.isHDate(e))return e.abs();throw new TypeError(`Invalid date type: ${e}`)}function jp(e){if(e.start&&!e.end||e.end&&!e.start)throw new TypeError("Both options.start and options.end are required");if(e.start&&e.end)return[Pp(e.start),Pp(e.end)];const t=Boolean(e.isHebrewYear),n=function(e){return void 0!==e.year?Number(e.year):e.isHebrewYear?(new de).getFullYear():(new Date).getFullYear()}(e);if(isNaN(n))throw new RangeError(`Invalid year ${e.year}`);if(t&&n<1)throw new RangeError(`Invalid Hebrew year ${n}`);const r=function(e){if(e.month){if(e.isHebrewYear)return de.monthNum(e.month);if("number"==typeof e.month)return e.month}return NaN}(e),o=Number(e.numYears)||1;return t?function(e,t,n){const r=new de(1,e||Bp,t);let o=r.abs();const i=e?o+r.daysInMonth():new de(1,Bp,t+n).abs()-1;!e&&t>1&&o--;return[o,i]}(r,n,o):function(e,t,n){const r=e?e-1:0,o=new Date(t,r,1);t<100&&o.setFullYear(t);const i=h(o);let a;if(e)a=i+s(e,t)-1;else{const e=t+n,r=new Date(e,0,1);e<100&&r.setFullYear(e),a=h(r)-1}return[i,a]}(r,n,o)}function Up(e={}){!function(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof gm))throw new TypeError("options.candlelighting requires valid options.location");if("number"==typeof e.havdalahMins&&"number"==typeof e.havdalahDeg)throw new TypeError("options.havdalahMins and options.havdalahDeg are mutually exclusive");const n=e.candleLightingMins;let r="number"!=typeof n||isNaN(n)?18:Math.trunc(n);t.getIsrael()&&18===Math.abs(r)&&(r=function(e,t){const n=e.getGeoId();if(n){const e=pw[n];if("number"==typeof e)return e}const r=e.getShortName();if(r){const e=vw[r];if("number"==typeof e)return e}return t}(t,r));e.candleLightingMins=-1*Math.abs(r),"number"==typeof e.havdalahMins?e.havdalahMins=Math.trunc(Math.abs(e.havdalahMins)):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=ww;"number"!=typeof e.fastEndDeg&&(e.fastEndDeg=Sw)}(e=Object.assign({},e));const t=e.location=e.location||bw,n=e.il=e.il||t.getIsrael()||!1,r="number"==typeof e.mask;if(e.mask=function(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask||0;t&nw&&delete e.noRoshChodesh;t&ew&&delete e.noModern;t&Xp&&delete e.noMinorFast;t&Qp&&delete e.noSpecialShabbat;t&rw&&(e.sedrot=!0);t&(ow|iw|aw|sw)&&(e.dailyLearning=e.dailyLearning||{},t&ow&&(e.dailyLearning.dafYomi=!0),t&iw&&(e.dailyLearning.mishnaYomi=!0),t&aw&&(e.dailyLearning.nachYomi=!0),t&sw&&(e.dailyLearning.yerushalmi=1));t&uw&&(e.omer=!0);t&cw&&(e.shabbatMevarchim=!0);t&dw&&(e.yomKippurKatan=!0);t&gw&&(e.yizkor=!0);return t}(e);const n=e.il||(null===(t=e.location)||void 0===t?void 0:t.getIsrael())||!1;let r=0;e.noHolidays||(r|=nw|Kp|Xp|Qp|ew|tw|hw|lw|fw|zp|Wp|qp);e.candlelighting&&(r|=zp|Wp|Kp);e.noRoshChodesh&&(r&=~nw);e.noModern&&(r&=~ew);e.noMinorFast&&(r&=~Xp);e.noSpecialShabbat&&(r&=~Qp,r&=~cw);r|=n?Jp:Gp;e.sedrot&&(r|=rw);e.omer&&(r|=uw);e.shabbatMevarchim&&(r|=cw);e.yomKippurKatan&&(r|=dw);e.yizkor&&(r|=gw);if(e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=ow),t.mishnaYomi&&(r|=iw),t.nachYomi&&(r|=aw),t.yerushalmi&&(r|=sw)}return r}(e),e.ashkenazi||e.locale){if(e.locale&&"string"!=typeof e.locale)throw new TypeError(`Invalid options.locale: ${e.locale}`);const t=e.ashkenazi?"ashkenazi":e.locale;if(!ie.useLocale(t))throw new TypeError(`Locale '${t}' not found; did you forget to import @hebcal/locales?`)}else ie.useLocale("en");const o=[];let i,a,s=-1,u=-1,c=-1;const h=jp(e);!function(e){for(const t of Object.keys(e))void 0!==yw[t]||mw.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),mw.add(t));if(e.dailyLearning)for(const t of Object.keys(e.dailyLearning))mw.has(t)||_p.has(t)||(console.warn(`Ignoring unrecognized DailyLearning calendar: ${t}`),mw.add(t))}(e);const d=h[0],g=h[1];l(d).getFullYear()<100&&(e.candlelighting=!1);for(let t=d;t<=g;t++){const h=new de(t),l=h.getFullYear();l!==c&&(c=l,a=Gv(c),e.sedrot&&(i=zm(c,n)),e.omer&&(s=de.hebrew2abs(c,$p,16),u=de.hebrew2abs(c,Fp,5)));const d=o.length,g=h.getDay(),m=g===xp,y=g===Zp;let v;const p=a.get(h.toString())||[];for(const t of p)v=Tw(v,o,t,e,m,y,r);if(e.sedrot&&y){const e=i.lookup(t);e.chag||o.push(new Hp(h,e.parsha,n,e.num))}if(e.yizkor){const e=h.getMonth(),t=h.getDate();if(e===f.TISHREI&&(10===t||22===t)||e===$p&&t===(n?21:22)||e===Fp&&t===(n?6:7)){const e=p.filter(e=>e.observedIn(n))[0],t=new Ee(h,"Yizkor",be.YIZKOR,{emoji:"🕯️",linkedEvent:e});o.push(t)}}const w=e.dailyLearning;let S=0;if("object"==typeof w){const e=Mw(h,w,n);S=e.length,S&&o.push(...e)}if(e.omer&&t>=s&&t<=u){const n=Nw(h,t-s+1,e);o.push(n)}if(y&&(e.molad||e.shabbatMevarchim)){const t=Ew(h,e);o.push(...t)}if(!v&&e.candlelighting&&(m||y)&&(v=op(void 0,h,e,m,y),m&&v&&i)){const r=i.lookup(t),o=new Hp(h.next(),r.parsha,n,r.num);v.memo=o.render(e.locale)}if(v instanceof tp&&(0===e.havdalahMins||0===e.havdalahDeg)&&(v=void 0),v&&o.push(v),e.addHebrewDates||e.addHebrewDatesForEvents&&d!==o.length-S){const e=new Ie(h);d===o.length?o.push(e):o.splice(d,0,e)}}return o}const xp=5,Zp=6,$p=f.NISAN,Fp=f.SIVAN,Vp=f.ELUL,zp=be.LIGHT_CANDLES,Kp=be.YOM_TOV_ENDS,Gp=be.CHUL_ONLY,Jp=be.IL_ONLY,Wp=be.LIGHT_CANDLES_TZEIS,qp=be.CHANUKAH_CANDLES,Xp=be.MINOR_FAST,Qp=be.SPECIAL_SHABBAT,ew=be.MODERN_HOLIDAY,tw=be.MAJOR_FAST,nw=be.ROSH_CHODESH,rw=be.PARSHA_HASHAVUA,ow=be.DAF_YOMI,iw=be.MISHNA_YOMI,aw=be.NACH_YOMI,sw=be.YERUSHALMI_YOMI,uw=be.OMER_COUNT,cw=be.SHABBAT_MEVARCHIM,hw=be.MINOR_HOLIDAY,lw=be.EREV,fw=be.CHOL_HAMOED,dw=be.YOM_KIPPUR_KATAN,gw=be.YIZKOR,mw=new Set,yw={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,fastEndDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,mask:1,yomKippurKatan:1,hour12:1,dailyLearning:1,useElevation:1,yizkor:1};const vw={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},pw={281184:40,294801:30,293067:30},ww=8.5,Sw=7.0833333;const Aw=zp|Wp|qp|Kp,bw=new gm(0,0,!1,"UTC");function Tw(e,t,n,r,o,i,a){const s=r.il||!1;if(!n.observedIn(s))return e;const u=n.getFlags();if(!r.yomKippurKatan&&u&dw||r.noModern&&u&ew)return e;const c=Boolean(u&tw),h=Boolean(u&Xp);let l;if(r.candlelighting&&(c||h)&&"Yom Kippur"!==n.getDesc()&&(n=l=function(e,t){const n=e.getDesc();if("Yom Kippur"===n)throw new RangeError("YK does not require this function");const r=e.getDate(),o=r.greg(),i=t.location,a=t.fastEndDeg,s=Boolean(t.useElevation),u=new ym(i,o,s);let c,h;if("Erev Tish'a B'Av"===n){const n=u.sunset();isNaN(n.getTime())||(c=up(e,n,ip,t))}else if(n.startsWith("Tish'a B'Av")){const n=u.tzeit(a);isNaN(n.getTime())||(h=up(e,n,ap,t))}else{const n=u.alotHaShachar();if(isNaN(n.getTime())||(c=up(e,n,ip,t)),5!==o.getDay()&&(14!==r.getDate()||r.getMonth()!==f.NISAN)){const n=u.tzeit(a);isNaN(n.getTime())||(h=up(e,n,ap,t))}}const l=new sp(e,c,h);return Object.assign(l,e),l}(n,r),l.startEvent&&(c||h&&!r.noMinorFast)&&t.push(l.startEvent)),u&Number(r.mask)||!u&&!a){if(r.candlelighting&&u&Aw){const t=n.getDate();if(e=op(n,t,r,o,i),u&qp&&e&&!r.noHolidays){const a=function(e,t,n){const r=n.location,o=Boolean(n.useElevation),i=new ym(r,t.greg(),o).beinHaShmashos();if(isNaN(i.getTime()))return null;const a=new cp(t,e.getDesc(),e.getFlags(),i,r);return a.emoji=e.emoji,a.chanukahDay=e.chanukahDay,a}(n,t,r);a&&((o||i)&&(a.eventTime=e.eventTime,a.eventTimeStr=e.eventTimeStr),n=a),e=void 0}}(!r.noHolidays||r.yomKippurKatan&&u&dw)&&t.push(n)}return(c||h&&!r.noMinorFast)&&l&&l.endEvent&&t.push(l.endEvent),e}function Ew(e,t){const n=[],r=e.getMonth(),o=e.getDate();if(r!==Vp&&o>=23&&o<=29){const o=e.getFullYear(),i=r===de.monthsInYear(o)?$p:r+1;if(t.molad&&n.push(new mp(e,o,i,t)),t.shabbatMevarchim){const r=de.getMonthName(i,o),a=new gp(o,i).render(t.locale||"en",t);n.push(new Dp(e,r,a,t.locale))}}return n}function Iw(e,t){return"yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e}function Mw(e,t,n){const r=[];for(const[o,i]of Object.entries(t))if(i){const t=Iw(o,i),a=_p.lookup(t,e,n);a&&r.push(a)}return r}function Nw(e,t,n){const r=new Np(e,t);if(n.candlelighting){const t=n.location,o=new ym(t,e.prev(),!1).tzeit(7.0833);isNaN(o.getTime())||(r.alarm=o)}return r}function Hw(e,t){return 0!==(Sv(e,t)||[]).filter(e=>e.getFlags()&be.CHAG).length}return e.AsaraBTevetEvent=lv,e.CandleLightingEvent=ep,e.ChanukahEvent=fv,e.DailyLearning=_p,e.Event=Ee,e.FastDayEvent=sp,e.GeoLocation=sm,e.HDate=de,e.HavdalahEvent=tp,e.HebrewCalendar=class{constructor(){}static calendar(e={}){return Up(e)}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=B(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=b(r);let i=n.mm,a=n.dd;return i===R&&!o||i===Y&&o?i=T(e):i!==O||30!==a||H(e)?i===_&&30===a&&C(e)?(i=k,a=1):i===R&&30===a&&o&&!b(e)&&(i=D,a=1):(i=_,a=1),{yy:e,mm:i,dd:a}}(e,t);return void 0===n?n:new de(n)}static getYahrzeit(e,t){const n=function(e,t){let n=B(t);if(!(e<=n.yy))return n.mm!==O||30!==n.dd||H(n.yy+1)?n.mm===_&&30===n.dd&&C(n.yy+1)?n=A(w(e,k,1)-1):n.mm===Y?n.mm=T(e):n.mm!==R||30!==n.dd||b(e)||(n.dd=30,n.mm=L):n=A(w(e,_,1)-1),n.mm!==O||30!==n.dd||H(e)?n.mm===_&&30===n.dd&&C(e)&&(n.mm=k,n.dd=1):(n.mm=_,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new de(n)}static getHolidaysForYear(e){return Gv(e)}static getHolidaysForYearArray(e,t){return Jv(e,t)}static getHolidaysOnDate(e,t){return Sv(e,t)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new de(e),r=n.after(5),o=n.next();return!(!Hw(r,t)||Hw(n,t)||!Hw(o,t))}static reformatTimeStr(e,t,n){return Xv(e,t,n)}static version(){return t}static getSedra(e,t){return zm(e,t)}static hallel(e,t){return function(e,t){const n=e.filter(e=>{const t=e.getDesc(),n=e.getDate(),r=n.getMonth(),o=n.getDate();return t.startsWith("Chanukah")||t.startsWith("Shavuot")||t.startsWith("Sukkot")||r===f.NISAN&&(15===o||16===o)&&e.getFlags()&be.CHAG||"Yom HaAtzma'ut"===t||"Yom Yerushalayim"===t}).map(e=>e.getDate().abs()),r=t.abs();return n.includes(r)?2:e.filter(e=>{const t=e.getDesc();return e.getFlags()&be.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t}).map(e=>e.getDate().abs()).includes(r)?1:0}(Jv(e.getFullYear(),t),e)}static tachanun(e,t){return Rp(e,t)}},e.HebrewDateEvent=Ie,e.HolidayEvent=hv,e.Locale=ie,e.Location=gm,e.MevarchimChodeshEvent=Dp,e.Molad=gp,e.MoladEvent=mp,e.NOAACalculator=cm,e.OmerEvent=Np,e.ParshaEvent=Hp,e.RoshChodeshEvent=mv,e.RoshHashanaEvent=dv,e.Sedra=bm,e.TimedChanukahEvent=cp,e.TimedEvent=Qv,e.YomKippurKatanEvent=vv,e.Zmanim=ym,e.flags=be,e.gematriya=x,e.gematriyaStrToNum=Z,e.getHolidaysOnDate=Sv,e.getSedra=zm,e.holidayDesc=sv,e.isAssurBemlacha=function(e,t,n){const r=new ym(t,e,n),o=r.sunset().getTime();if(isNaN(o))throw new Error("Could not determine sunset");const i=t.getIsrael(),a=e.getTime(),s=new de(e),u=s.getDay(),c=Sv(s,i)||[];if(function(e,t){return 5===e||!!t.find(e=>e.getFlags()&Wv)}(u,c)&&a>=o)return!0;if(function(e,t){return 6===e||!!t.find(e=>e.getFlags()&be.CHAG)}(u,c)){return a<=r.tzeit().getTime()}return!1},e.months=f,e.parshaYear=function(e,t){const n=zm(e,t),r=n.getFirstSaturday(),o=de.hebrew2abs(e,f.ELUL,29),i=[];for(let e=r;e<=o;e+=7){const r=n.lookup(e);if(!r.chag){const e=new Hp(r.hdate,r.parsha,t,r.num);i.push(e)}}return i},e.parshiot=Tm,e.version=t,e}({});
|
|
1
|
+
/*! @hebcal/core v6.0.1, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
2
|
+
var hebcal=function(e){"use strict";const t="6.0.1",n=[0,31,28,31,30,31,30,31,31,30,31,30,31],r=[n,n.slice()];
|
|
3
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */function o(e,t){return e-t*Math.floor(e/t)}function a(e,t){return Math.floor(e/t)}function i(e){return!(e%4||!(e%100)&&e%400)}function s(e,t){return r[+i(t)][e]}function c(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function u(e,t,n){const r=e-1;return 365*r+a(r,4)-a(r,100)+a(r,400)+a(367*t-362,12)+(t<=2?0:i(e)?-1:-2)+n}function h(e){if(!c(e))throw new TypeError(`not a Date: ${e}`);if(isNaN(e.getTime()))throw new RangeError("Invalid Date");return u(e.getFullYear(),e.getMonth()+1,e.getDate())}function l(e){if("number"!=typeof e||isNaN(e))throw new TypeError(`not a Number: ${e}`);const t=function(e){const t=e-1,n=a(t,146097),r=o(t,146097),i=a(r,36524),s=o(r,36524),c=a(s,1461),u=a(o(s,1461),365),h=400*n+100*i+4*c+u;return 4!==i&&4!==u?h+1:h}(e=Math.trunc(e)),n=a(12*(e-u(t,1,1)+(e<u(t,3,1)?0:i(t)?1:2))+373,367),r=e-u(t,n,1)+1,s=new Date(t,n-1,r);return t<100&&t>=0&&s.setFullYear(t),s}
|
|
4
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
5
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
6
|
+
function f(e){return e.normalize().replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}
|
|
7
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */r[1][2]=29,e.greg=void 0,e.greg||(e.greg={}),e.greg.abs2greg=l,e.greg.daysInMonth=s,e.greg.greg2abs=h,e.greg.isDate=c,e.greg.isLeapYear=i;const d={NISAN:1,IYYAR:2,SIVAN:3,TAMUZ:4,AV:5,ELUL:6,TISHREI:7,CHESHVAN:8,KISLEV:9,TEVET:10,SHVAT:11,ADAR_I:12,ADAR_II:13},m="Nisan",g=["",m,"Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],S=[[...g,"Adar",m],[...g,"Adar I","Adar II",m]],y=new Map,w=-1373428;function p(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`param '${t}' not a number: ${e}`)}function A(e,t,n){if(p(e,"year"),p(t,"month"),p(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<7){for(let t=7;t<=v(e);t++)r+=E(t,e);for(let n=1;n<t;n++)r+=E(n,e)}else for(let n=7;n<t;n++)r+=E(n,e);return w+H(e)+r-1}function T(e){return w+H(e)}function I(e){if(p(e,"abs"),(e=Math.trunc(e))<=w)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-w)/365.24682220597794);for(;T(t)<=e;)++t;--t;let n=e<A(t,1,1)?7:1;for(;e>A(t,n,E(n,t));)++n;return{yy:t,mm:n,dd:1+e-A(t,n,1)}}function M(e){return(1+7*e)%19<7}function v(e){return+M(e)+12}function E(e,t){switch(e){case 2:case 4:case 6:case 10:case 13:return 29}return 12===e&&!M(t)||8===e&&!C(t)||9===e&&D(t)?29:30}function b(e,t){if(p(e,"month"),p(t,"year"),e<1||e>14)throw new TypeError(`bad monthNum: ${e}`);return S[+M(t)][e]}function H(e){const t=y.get(e);if("number"==typeof t)return t;const n=function(e){const t=e-1,n=235*Math.floor(t/19)+t%19*12+Math.floor((t%19*7+1)/19),r=204+n%1080*793,o=5+12*n+793*Math.floor(n/1080)+Math.floor(r/1080),a=r%1080+o%24*1080,i=1+29*n+Math.floor(o/24);let s=i;(a>=19440||2==i%7&&a>=9924&&!M(e)||1==i%7&&a>=16789&&M(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return y.set(e,n),n}function N(e){return H(e+1)-H(e)}function C(e){return N(e)%10==5}function D(e){return N(e)%10==3}function O(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`bad monthName: ${e}`);return e}let t=e.trim().toLowerCase();switch(t=f(t).replace(/׳$/,""),"ב"===t[0]&&(t=t.substring(1)),t[0]){case"n":case"נ":if("o"===t[1])break;return 1;case"i":return 2;case"e":return 6;case"c":case"ח":return 8;case"k":case"כ":return 9;case"s":switch(t[1]){case"i":return 3;case"h":return 11}break;case"t":switch(t[1]){case"a":return 4;case"i":return 7;case"e":return 10}break;case"a":switch(t[1]){case"v":return 5;case"d":return/(1|[^i]i|a|א)$/i.test(t)?12:13}break;case"ס":return 3;case"ט":return 10;case"ש":return 11;case"א":switch(t[1]){case"ב":return 5;case"ד":return/(1|[^i]i|a|א)$/i.test(t)?12:13;case"י":return 2;case"ל":return 6}break;case"ת":switch(t[1]){case"מ":return 4;case"ש":return 7}}throw new RangeError(`bad monthName: ${e}`)}
|
|
8
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */const k=d.NISAN,_=d.CHESHVAN,R=d.KISLEV,L=d.TEVET,Y=d.SHVAT,B=d.ADAR_I,P=d.ADAR_II;function U(e){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(e))return e;if(c(e)){return I(h(e))}return I(e)}
|
|
9
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
10
|
+
const j={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},x={};for(const[e,t]of Object.entries(j))x[t]=e;function Z(e){const t=[];for(;e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}let n,r=100;for(n=400;n>e;n-=r)n===r&&(r/=10);t.push(n),e-=n}return t}function $(e){const t=parseInt(e,10);if(!t||t<0)throw new TypeError(`invalid number: ${e}`);let n="";const r=Math.floor(t/1e3);if(r>0&&5!==r){const e=Z(r);for(const t of e)n+=x[t];n+="׳"}const o=Z(t%1e3);if(1===o.length)return n+x[o[0]]+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=x[o[e]];return n}function V(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*V(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=j[n];"number"==typeof e&&(t+=e)}return t}
|
|
11
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
12
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
13
|
+
function z(e){return e<0?"-00"+z(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function F(e){return e>=0&&e<10?"0"+e:String(e)}
|
|
14
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */const K=new Map;const G=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function J(e,t){const n=function(e){const t=K.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:e});return K.set(e,n),n}(e).format(t),r=G.exec(n);if(null===r)throw new Error(`Unable to parse formatted string: ${n}`);let o=r[4];return"24"===o&&(o="00"),r[3]=z(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function W(e){return z(e.getFullYear())+"-"+F(e.getMonth()+1)+"-"+F(e.getDate())}
|
|
15
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */var q={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"he"},contexts:{"":{Adar:["אֲדָר"],"Adar I":["אֲדָר א׳"],"Adar II":["אֲדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָּיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"]}}};
|
|
16
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
17
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
18
|
+
const X={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},Q={h:"he",a:"ashkenazi",s:"en","":"en"},ee=new Map;function te(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function ne(e){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);return(e=Q[e]||e).toLowerCase()}function re(e){const t=ne(e),n=ee.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return n}class oe{static lookupTranslation(e,t){const n=("string"==typeof t&&ee.get(ne(t))||X.contexts[""])[e];if((null==n?void 0:n.length)&&n[0].length)return n[0]}static gettext(e,t){const n=this.lookupTranslation(e,t);return void 0===n?e:n}static addLocale(e,t){e=ne(e);const n=t.contexts;if("object"!=typeof n||"object"!=typeof n[""])throw new TypeError(`Locale '${e}' invalid compact format`);ee.set(e,n[""])}static addTranslation(e,t,n){const r=re(e);if("string"!=typeof t||0===t.length)throw new TypeError(`Invalid id string: ${t}`);const o=Array.isArray(n);if(o){const e=n[0];if("string"!=typeof e||0===e.length)throw new TypeError(`Invalid translation array: ${n}`)}else if("string"!=typeof n)throw new TypeError(`Invalid translation string: ${n}`);r[t]=o?n:[n]}static addTranslations(e,t){const n=re(e),r=t.contexts;if("object"!=typeof r||"object"!=typeof r[""])throw new TypeError(`Locale '${e}' invalid compact format`);Object.assign(n,r[""])}static getLocaleNames(){return Array.from(ee.keys()).sort((e,t)=>e.localeCompare(t))}static hasLocale(e){const t=ne(e);return ee.has(t)}static ordinal(e,t){let n=null==t?void 0:t.toLowerCase();if(!n)return te(e);switch(n=Q[n]||n,n){case"en":case"ashkenazi":return te(e);case"es":return e+"º";case"he":case"he-x-nonikud":return String(e)}return n.startsWith("ashkenazi")?te(e):e+"."}static hebrewStripNikkud(e){return f(e)}static copyLocaleNoNikud(e){const t=e.contexts[""],n={};for(const[e,r]of Object.entries(t))n[e]=[f(r[0])];return{headers:e.headers,contexts:{"":n}}}}oe.addLocale("en",X),oe.addLocale("ashkenazi",{headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"},contexts:{"":{Tevet:["Teves"]}}}),oe.addLocale("he",q);const ae=oe.copyLocaleNoNikud(q);oe.addLocale("he-x-NoNikud",ae);const ie="day",se="week",ce="month",ue="year";class he{constructor(e,t,n){if(2===arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3===arguments.length){this.dd=this.mm=1;const a="string"==typeof n?parseInt(n,10):n;if(isNaN(a))throw new TypeError(`HDate called with bad year: ${n}`);this.yy=a,function(e,t){e.mm=he.monthNum(t),le(e)}(this,t);const i="string"==typeof e?parseInt(e,10):e;if(isNaN(i))throw new TypeError(`HDate called with bad day: ${e}`);o=i,(r=this).dd=o,le(r)}else{null==e&&(e=new Date);const t="number"!=typeof e||isNaN(e)?c(e)?h(e):void 0!==e.yy?e:null:e;if(null===t)throw new TypeError(`HDate called with bad arg: ${e}`);const n="number"==typeof t,r=n?I(t):t;this.yy=r.yy,this.mm=r.mm,this.dd=r.dd,n&&(this.rd=t)}var r,o}getFullYear(){return this.yy}isLeapYear(){return M(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=v(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return E(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){
|
|
19
|
+
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
20
|
+
return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}greg(){return l(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=A(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return A(e,t,n)}getMonthName(){return b(this.getMonth(),this.getFullYear())}render(e,t=!0){const n=e||"en",r=this.getDate(),o=oe.gettext(this.getMonthName(),n).replace(/'/g,"’"),a=oe.ordinal(r,n),i=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=oe.lookupTranslation("of",e);if(t)return" "+t;if(e.startsWith("ashkenazi"))return" of";return""}(n),s=`${a}${i} ${o}`;if(t){return`${s}, ${this.getFullYear()}`}return s}renderGematriya(e=!1){const t=this.getDate(),n=e?"he-x-NoNikud":"he",r=oe.gettext(this.getMonthName(),n),o=this.getFullYear();return $(t)+" "+r+" "+$(o)}before(e){return de(e,this,-1)}onOrBefore(e){return de(e,this,0)}nearest(e){return de(e,this,3)}onOrAfter(e){return de(e,this,6)}after(e){return de(e,this,7)}next(){return new he(this.abs()+1)}prev(){return new he(this.abs()-1)}add(e,t="d"){if(!(e="string"==typeof e?parseInt(e,10):e))return new he(this);if((t=function(e){switch(e){case"d":return ie;case"w":return se;case"M":return ce;case"y":return ue}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case ie:case se:case ce:case ue:return t}throw new TypeError(`Invalid units '${e}'`)}(t))===ie)return new he(this.abs()+e);if(t===se)return new he(this.abs()+7*e);if(t===ue)return new he(this.getDate(),this.getMonth(),this.getFullYear()+e);{let t=new he(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new he(t.abs()+n*t.daysInMonth());return t}}subtract(e,t="d"){return this.add(-1*e,t)}deltaDays(e){return this.abs()-e.abs()}isSameDate(e){return this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return M(e)}static monthsInYear(e){return v(e)}static daysInMonth(e,t){return E(e,t)}static getMonthName(e,t){return b(e,t)}static monthNum(e){if("number"==typeof e){if(isNaN(e)||e>14)throw new RangeError(`bad monthNum: ${e}`);return e}return e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57?parseInt(e,10):O(e)}static daysInYear(e){return N(e)}static longCheshvan(e){return C(e)}static shortKislev(e){return D(e)}static monthFromName(e){return O(e)}static dayOnOrBefore(e,t){return t-(t-e)%7}static isHDate(e){return null!==e&&"object"==typeof e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd&&"function"==typeof e.greg&&"function"==typeof e.abs}static fromGematriyaString(e,t=5e3){const n=e.split(" ").filter(e=>0!==e.length),r=n.length;if(3!==r&&4!==r)throw new RangeError(`cannot parse gematriya str: "${e}"`);const o=V(n[0]),a=O(3===r?n[1]:n[1]+" "+n[2]);let i=V(3===r?n[2]:n[3]);return i<1e3&&(i+=t),new he(o,a,i)}}function le(e){fe(e),function(e){e.dd<1&&(e.mm===d.TISHREI&&(e.yy-=1),e.dd+=E(e.mm,e.yy),e.mm-=1,le(e));e.dd>E(e.mm,e.yy)&&(e.mm===d.ELUL&&(e.yy+=1),e.dd-=E(e.mm,e.yy),e.mm===v(e.yy)?e.mm=1:e.mm+=1,le(e));fe(e)}(e)}function fe(e){e.mm!==d.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=v(e.yy),e.yy-=1,le(e)):e.mm>v(e.yy)&&(e.mm-=v(e.yy),e.yy+=1,le(e)):(e.mm-=1,le(e)),delete e.rd}function de(e,t,n){return new he(he.dayOnOrBefore(e,t.abs()+n))}var me={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 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":["בִּרְכַּת הַחַמָּה"],"Shushan Purim Katan":["שׁוּשָׁן פּוּרִים קָטָן"],"Purim Meshulash":["פּוּרִים מְשׁוּלָּשׁ"],"Chag HaBanot":["חַג הַבָּנוֹת"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"]}}};oe.addTranslations("he",me),oe.addTranslations("ashkenazi",{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"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}}});const ge=oe.copyLocaleNoNikud(me);oe.addTranslations("he-x-NoNikud",ge),oe.addTranslations("he-x-NoNikud",{headers:{"plural-forms":"nplurals=2; plural=(n != 1);",language:"he-x-NoNikud"},contexts:{"":{Korach:["קורח"],Chukat:["חוקת"]}}});const Se={CHAG:1,LIGHT_CANDLES:2,YOM_TOV_ENDS:4,CHUL_ONLY:8,IL_ONLY:16,LIGHT_CANDLES_TZEIS:32,CHANUKAH_CANDLES:64,ROSH_CHODESH:128,MINOR_FAST:256,SPECIAL_SHABBAT:512,PARSHA_HASHAVUA:1024,DAF_YOMI:2048,OMER_COUNT:4096,MODERN_HOLIDAY:8192,MAJOR_FAST:16384,SHABBAT_MEVARCHIM:32768,MOLAD:65536,USER_EVENT:131072,HEBREW_DATE:262144,MINOR_HOLIDAY:524288,EREV:1048576,CHOL_HAMOED:2097152,MISHNA_YOMI:4194304,YOM_KIPPUR_KATAN:8388608,YERUSHALMI_YOMI:16777216,NACH_YOMI:33554432,DAILY_LEARNING:67108864,YIZKOR:134217728},ye=[[Se.MAJOR_FAST,"holiday","major","fast"],[Se.CHANUKAH_CANDLES,"holiday","major"],[Se.HEBREW_DATE,"hebdate"],[Se.MINOR_FAST,"holiday","fast"],[Se.MINOR_HOLIDAY,"holiday","minor"],[Se.MODERN_HOLIDAY,"holiday","modern"],[Se.MOLAD,"molad"],[Se.OMER_COUNT,"omer"],[Se.PARSHA_HASHAVUA,"parashat"],[Se.ROSH_CHODESH,"roshchodesh"],[Se.SHABBAT_MEVARCHIM,"mevarchim"],[Se.SPECIAL_SHABBAT,"holiday","shabbat"],[Se.USER_EVENT,"user"],[Se.YIZKOR,"yizkor"]];class we{constructor(e,t,n=0,r){if(!he.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof t)throw new TypeError(`Invalid Event description: ${t}`);this.date=e,this.desc=t,this.mask=+n,"object"==typeof r&&null!==r&&Object.assign(this,r)}getDate(){return this.date}greg(){return this.date.greg()}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return oe.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&Se.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&Se.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}getCategories(){const e=this.getFlags();for(const t of ye){if(e&t[0])return t.slice(1)}return["unknown"]}}class pe extends we{constructor(e){super(e,e.toString(),Se.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:"en",r=this.getDate();switch(n){case"h":case"he":return r.renderGematriya(!1);case"he-x-nonikud":return r.renderGematriya(!0);default:return r.render(n,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=oe.gettext(t.getMonthName(),e);return $(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:"en",r=this.getDate();if(r.getMonth()===d.TISHREI&&1===r.getDate())return this.render(n);switch(n){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(n);default:return r.render(n,!1)}}}function Ae(e,t,n,r,o){return Te(t,((e,t)=>{const n=e[t];if(void 0===n)throw new TypeError(Za(t));return n})(e,t),n,r,o)}function Te(e,t,n,r,o,a){const i=xe(t,n,r);if(o&&t!==i)throw new RangeError(ja(e,t,n,r,a));return i}function Ie(e){return null!==e&&/object|function/.test(typeof e)}function Me(e,t=Map){const n=new t;return(t,...r)=>{if(n.has(t))return n.get(t);const o=e(t,...r);return n.set(t,o),o}}function ve(e){return Ee({name:e},1)}function Ee(e,t){return Ce(e=>({value:e,configurable:1,writable:!t}),e)}function be(e){return Ce(e=>({get:e,configurable:1}),e)}function He(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function Ne(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function Ce(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function De(e,t,n){const r={};for(let o=0;o<t.length;o++){const a=t[o];r[a]=e(a,o,n)}return r}function Oe(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function ke(e,t){const n=Object.create(null);for(const r of e)n[r]=t[r];return n}function _e(e,t){for(const n of t)if(n in e)return 1;return 0}function Re(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Le(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Ye(e,...t){return(...n)=>e(...t,...n)}function Be(e){return e[0].toUpperCase()+e.substring(1)}function Pe(e){return e.slice().sort()}function Ue(e,t){return String(t).padStart(e,"0")}function je(e,t){return Math.sign(e-t)}function xe(e,t,n){return Math.min(Math.max(e,t),n)}function Ze(e,t){return[Math.floor(e/t),$e(e,t)]}function $e(e,t){return(e%t+t)%t}function Ve(e,t){return[ze(e,t),Fe(e,t)]}function ze(e,t){return Math.trunc(e/t)||0}function Fe(e,t){return e%t||0}function Ke(e){return.5===Math.abs(e%1)}function Ge(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=Bi[a],s=Yi/i,[c,u]=Ve(t,s);r+=u*i,o+=c}const[a,i]=Ve(r,Yi);return[o+a,i]}function Je(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Bi[o];r[n[o]]=ze(e,t),e=Fe(e,t)}return r}function We(e){if(void 0!==e)return Xe(e)}function qe(e){return rt(Xe(e))}function Xe(e){return nt(hs(e))}function Qe(e,t){if(null==t)throw new RangeError(Za(e));return t}function et(e){if(!Ie(e))throw new TypeError(Ua);return e}function tt(e,t,n=e){if(typeof t!==e)throw new TypeError(xa(n,t));return t}function nt(e,t="number"){if(!Number.isInteger(e))throw new RangeError(_a(t,e));return e||0}function rt(e,t="number"){if(e<=0)throw new RangeError(Ra(t,e));return e}function ot(e){if("symbol"==typeof e)throw new TypeError(Pa);return String(e)}function at(e,t){return Ie(e)?String(e):cs(e,t)}function it(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Ba(e));return e}function st(e,t="number"){if("bigint"==typeof e)throw new TypeError(Ya(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(La(t,e));return e}function ct(e,t){return Math.trunc(st(e,t))||0}function ut(e,t){return nt(st(e,t),t)}function ht(e,t){return rt(ct(e,t),t)}function lt(e,t){let[n,r]=Ve(t,Yi),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Yi),[o,r]}function ft(e,t,n=1){return lt(e[0]+t[0]*n,e[1]+t[1]*n)}function dt(e,t){return lt(e[0],e[1]+t)}function mt(e,t){return ft(t,e,-1)}function gt(e,t){return je(e[0],t[0])||je(e[1],t[1])}function St(e,t,n){return-1===gt(e,t)||1===gt(e,n)}function yt(e,t=1){const n=BigInt(Yi/t);return[Number(e/n),Number(e%n)*t]}function wt(e,t=1){const n=Yi/t,[r,o]=Ve(e,n);return[r,o*t]}function pt(e,t=1,n){const[r,o]=e,[a,i]=Ve(o,t);return r*(Yi/t)+(a+(n?i/t:0))}function At(e,t,n=Ze){const[r,o]=e,[a,i]=n(o,t);return[r*(Yi/t)+a,i]}function Tt(e){return Ae(e,"isoYear",_s,ks,1),e.isoYear===_s?Ae(e,"isoMonth",4,12,1):e.isoYear===ks&&Ae(e,"isoMonth",1,9,1),e}function It(e){return Mt({...e,...bs,isoHour:12}),e}function Mt(e){const t=Ae(e,"isoYear",_s,ks,1),n=t===_s?1:t===ks?-1:0;return n&&vt(Ct({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function vt(e){if(!e||St(e,Os,Ds))throw new RangeError(di);return e}function Et(e){return Ge(e,5,As)[1]}function bt(e){const[t,n]=Ze(e,Yi);return[Je(n,5,As),t]}function Ht(e){return At(e,_i)}function Nt(e){return kt(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function Ct(e){const t=Nt(e);if(void 0!==t){const[n,r]=Ve(t,Ci);return[n,r*ki+(e.isoMicrosecond||0)*Oi+(e.isoNanosecond||0)]}}function Dt(e,t){const[n,r]=bt(Et(e)-t);return vt(Ct({...e,isoDay:e.isoDay+r,...n}))}function Ot(...e){return kt(...e)/Di}function kt(...e){const[t,n]=_t(...e),r=t.valueOf();if(!isNaN(r))return r-n*Ci}function _t(e,t=1,n=1,r=0,o=0,a=0,i=0){const s=e===_s?1:e===ks?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function Rt(e,t){let[n,r]=dt(e,t);r<0&&(r+=Yi,n-=1);const[o,a]=Ze(r,ki),[i,s]=Ze(a,Oi);return Lt(n*Ci+o,i,s)}function Lt(e,t=0,n=0){const r=Math.ceil(Math.max(0,Math.abs(e)-Cs)/Ci)*Math.sign(e),o=new Date(e-r*Ci);return Ne(Is,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Yt(e,t){if(t<-Cs)throw new RangeError(di);const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function Bt(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Pt(e,t){return[t,0]}function Ut(){return Ps}function jt(e,t){switch(t){case 2:return Zt(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function xt(e){return Zt(e)?366:365}function Zt(e){return e%4==0&&(e%100!=0||e%400==0)}function $t(e){const[t,n]=_t(e.isoYear,e.isoMonth,e.isoDay);return $e(t.getUTCDay()-n,7)||7}function Vt(e){return this.id===rs?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===os?js(e):[]}function zt(e){const t=Nt(e);if(t<Us){const{isoYear:t}=e;return t<1?["japanese-inverse",1-t]:["japanese",t]}const n=Yt(qc(os),t),{era:r,eraYear:o}=qo(n,os);return[r,o]}function Ft(e){return Kt(e),Wt(e,1),e}function Kt(e){return Jt(e,1),e}function Gt(e){return Re(Ts,e,Jt(e))}function Jt(e,t){const{isoYear:n}=e,r=Ae(e,"isoMonth",1,Ut(),t);return{isoYear:n,isoMonth:r,isoDay:Ae(e,"isoDay",1,jt(n,r),t)}}function Wt(e,t){return Ne(As,[Ae(e,"isoHour",0,23,t),Ae(e,"isoMinute",0,59,t),Ae(e,"isoSecond",0,59,t),Ae(e,"isoMillisecond",0,999,t),Ae(e,"isoMicrosecond",0,999,t),Ae(e,"isoNanosecond",0,999,t)])}function qt(e){return void 0===e?0:ac(et(e))}function Xt(e,t=0){e=un(e);const n=ic(e),r=sc(e,t);return[ac(e),r,n]}function Qt(e,t,n,r=9,o=0,a=4){t=un(t);let i=rc(t,r,o),s=an(t),c=lc(t,a);const u=nc(t,r,o,1);return null==i?i=Math.max(n,u):mn(i,u),s=sn(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function en(e,t=6,n){let r=an(e=hn(e,xs));const o=lc(e,7);let a=nc(e,t);return a=Qe(xs,a),r=sn(r,a,void 0,n),[a,r,o]}function tn(e){return cc(un(e))}function nn(e,t){return rn(un(e),t)}function rn(e,t=4){const n=cn(e);return[lc(e,4),...on(nc(e,t),n)]}function on(e,t){return null!=e?[Bi[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function an(e){const t=e[$s];return void 0===t?1:ct(t,$s)}function sn(e,t,n,r){const o=r?Yi:Bi[t+1];if(o){const n=Bi[t];if(o%((e=Te($s,e,1,o/n-(r?0:1),1))*n))throw new RangeError(xa($s,e))}else e=Te($s,e,1,n?10**9:1,1);return e}function cn(e){let t=e[Vs];if(void 0!==t){if("number"!=typeof t){if("auto"===ot(t))return;throw new RangeError(xa(Vs,t))}t=Te(Vs,Math.floor(t),0,9,1)}return t}function un(e){return void 0===e?{}:et(e)}function hn(e,t){return"string"==typeof e?{[t]:e}:et(e)}function ln(e){return{overflow:Gs[e]}}function fn(e,t,n=9,r=0,o){let a=t[e];if(void 0===a)return o?r:void 0;if(a=ot(a),"auto"===a)return o?r:null;let i=Hi[a];if(void 0===i&&(i=Ss[a]),void 0===i)throw new RangeError(Fa(e,a,Hi));return Te(e,i,r,n,1,Ni),i}function dn(e,t,n,r=0){const o=n[e];if(void 0===o)return r;const a=ot(o),i=t[a];if(void 0===i)throw new RangeError(Fa(e,a,t));return i}function mn(e,t){if(t>e)throw new RangeError(pi)}function gn(e){return{branding:wc,epochNanoseconds:e}}function Sn(e,t,n){return{branding:yc,calendar:n,timeZone:t,epochNanoseconds:e}}function yn(e,t=e.calendar){return{branding:gc,calendar:t,...ke(Es,e)}}function wn(e,t=e.calendar){return{branding:mc,calendar:t,...ke(Ms,e)}}function pn(e,t=e.calendar){return{branding:fc,calendar:t,...ke(Ms,e)}}function An(e,t=e.calendar){return{branding:dc,calendar:t,...ke(Ms,e)}}function Tn(e){return{branding:Sc,...ke(vs,e)}}function In(e){return{branding:pc,sign:Yr(e),...ke(fs,e)}}function Mn(e){return At(e.epochNanoseconds,ki)[0]}function vn(e){return e.epochNanoseconds}function En(e,t){return pt(Ur(e),Bi[t],1)}function bn(e,t,n,r,o,a,i){const s=ls[n],c={...t,[s]:t[s]+r},u=i(e,o,t),h=i(e,o,c);return[a(u),a(h)]}function Hn(e,t,n){const r=pt(mt(t,n));if(!r)throw new RangeError(ri);return pt(mt(t,e))/r}function Nn(e,t,n,r){return Cn(e,kn(t,n),r)}function Cn(e,t,n){const[r,o]=Dn(e,t,n);return Mt({...br(e,o),...r})}function Dn(e,t,n){return bt(Un(Et(e),t,n))}function On(e){return Un(e,Ri,7)}function kn(e,t){return Bi[e]*t}function _n(e){const t=Rn(e);return[t,br(t,1)]}function Rn(e){return Hs(6,e)}function Ln(e,t,n){const r=Math.min($r(e),6);return jr(Pn(Ur(e,r),t,n),r)}function Yn(e,t,n,r,o,a,i,s,c,u){if(0===r&&1===o)return e;const h=kr(r,s)?Or(s)&&r<6&&n>=6?Zn:xn:$n;let[l,f,d]=h(e,t,n,r,o,a,i,s,c,u);return d&&7!==r&&(l=((e,t,n,r,o,a,i,s)=>{const c=Yr(e);for(let u=r+1;u<=n;u++){if(7===u&&7!==n)continue;const r=ps(u,e);r[ls[u]]+=c;const h=pt(mt(i(s(o,a,r)),t));if(h&&Math.sign(h)!==c)break;e=r}return e})(l,f,n,Math.max(6,r),i,s,c,u)),l}function Bn(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Yi)(e);return[Un(t,n,r),0]}return Pn(e,kn(t,n),r,o)}function Pn(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Yi,o-=1);const[i,s]=Ze(Un(a,t,n),Yi);return lt(o+i,s)}function Un(e,t,n){return jn(e/t,n)*t}function jn(e,t){return Ac[t](e)}function xn(e,t,n,r,o,a){const i=Yr(e),s=Ur(e),c=Bn(s,r,o,a),u=mt(s,c),h=Math.sign(c[0]-s[0])===i,l=jr(c,Math.min(n,6));return[{...e,...l},ft(t,u),h]}function Zn(e,t,n,r,o,a,i,s,c,u){const h=Yr(e)||1,l=pt(Ur(e,5)),f=kn(r,o);let d=Un(l,f,a);const[m,g]=bn(i,{...e,...ws},6,h,s,c,u),S=d-pt(mt(m,g));let y=0;S&&Math.sign(S)!==h?t=dt(m,d):(y+=h,d=Un(S,f,a),t=dt(g,d));const w=xr(d);return[{...e,...w,days:e.days+y},t,Boolean(y)]}function $n(e,t,n,r,o,a,i,s,c,u){const h=Yr(e),l=ls[r],f=ps(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const d=ze(e[l],o)*o;f[l]=d;const[m,g]=bn(i,f,r,o*h,s,c,u),S=d+Hn(t,m,g)*h*o,y=Un(S,o,a),w=Math.sign(y-S)===h;return f[l]=y,[f,w?g:m,w]}function Vn(e,t,n,r){const[o,a,i,s]=(e=>{const t=rn(e=un(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=Pn(n,o,r,1);const i=t.R(n);return er(Rt(n,i),a)+(e?ar(On(i)):"Z")})(c,t(c?e(o):Tc),n.epochNanoseconds,a,i,s)}function zn(e,t,n){const[r,o,a,i,s,c]=(e=>{e=un(e);const t=cc(e),n=cn(e),r=hc(e),o=lc(e,4),a=nc(e,4);return[t,uc(e),r,o,...on(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=Pn(r,c,s,1);const h=e(n).R(r);return er(Rt(r,h),u)+ar(On(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+e+"]":"")(n,a)+ir(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function Fn(e,t){const[n,r,o,a]=(e=>(e=un(e),[cc(e),...rn(e)]))(t);return i=e.calendar,s=n,c=a,er(Cn(e,o,r),c)+ir(i,s);var i,s,c}function Kn(e,t){return n=e.calendar,r=e,o=tn(t),tr(r)+ir(n,o);var n,r,o}function Gn(e,t){return Xn(e.calendar,nr,e,tn(t))}function Jn(e,t){return Xn(e.calendar,rr,e,tn(t))}function Wn(e,t){const[n,r,o]=nn(t);return a=o,or(Dn(e,r,n)[0],a);var a}function qn(e,t){const[n,r,o]=nn(t,3);return r>1&&Br(e={...e,...Ln(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Lr(e):e,{hours:o,minutes:a}=r,[i,s]=At(Ur(r,3),_i,Ve);Pr(i);const c=cr(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+Qn({Y:hr(r.years),M:hr(r.months),W:hr(r.weeks),D:hr(r.days)})+(o||a||i||u?"T"+Qn({H:hr(o),M:hr(a),S:hr(i,u)+c}):"")})(e,o)}function Xn(e,t,n,r){const o=r>1||0===r&&e!==ns;return 1===r?e===ns?t(n):tr(n):o?tr(n)+sr(e,2===r):t(n)}function Qn(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function er(e,t){return tr(e)+"T"+or(e,t)}function tr(e){return nr(e)+"-"+bi(e.isoDay)}function nr(e){const{isoYear:t}=e;return(t<0||t>9999?ur(t)+Ue(6,Math.abs(t)):Ue(4,t))+"-"+bi(e.isoMonth)}function rr(e){return bi(e.isoMonth)+"-"+bi(e.isoDay)}function or(e,t){const n=[bi(e.isoHour),bi(e.isoMinute)];return-1!==t&&n.push(bi(e.isoSecond)+((e,t,n,r)=>cr(e*ki+t*Oi+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function ar(e,t=0){if(1===t)return"";const[n,r]=Ze(Math.abs(e),Li),[o,a]=Ze(r,Ri),[i,s]=Ze(a,_i);return ur(e)+bi(n)+":"+bi(o)+(i||s?":"+bi(i)+cr(s):"")}function ir(e,t){return 1!==t&&(t>1||0===t&&e!==ns)?sr(e,2===t):""}function sr(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function cr(e,t){let n=Ue(9,e);return n=void 0===t?n.replace(Ec,""):n.slice(0,t),n?"."+n:""}function ur(e){return e<0?"-":"+"}function hr(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function lr(e,t){const{epochNanoseconds:n}=e,r=(t.R?t:t(e.timeZone)).R(n),o=Rt(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function fr(e,t,n,r=0,o=0,a,i){if(void 0!==n&&1===r&&(1===r||i))return Dt(t,n);const s=e.I(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=Ct(t);r&&(n=On(n));for(const t of e){let e=pt(mt(t,o));if(r&&(e=On(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(li)}return i?Ct(t):dr(e,t,o,s)}function dr(e,t,n=0,r=e.I(t)){if(1===r.length)return r[0];if(1===n)throw new RangeError(fi);if(r.length)return r[3===n?1:0];const o=Ct(t),a=((e,t)=>{const n=e.R(dt(t,-Yi));return(e=>{if(e>Yi)throw new RangeError(hi);return e})(e.R(dt(t,Yi))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.I(Rt(o,i)))[2===n?0:r.length-1]}function mr(e,t){const n=e.I(t);if(n.length)return n[0];const r=dt(Ct(t),-Yi);return e.O(r,1)}function gr(e,t,n){return gn(vt(ft(t.epochNanoseconds,(e=>{if(Zr(e))throw new RangeError(yi);return Ur(e,5)})(e?Lr(n):n))))}function Sr(e,t,n,r,o,a=Object.create(null)){const i=t(r.timeZone),s=e(r.calendar);return{...r,...Tr(i,s,r,n?Lr(o):o,a)}}function yr(e,t,n,r,o=Object.create(null)){const{calendar:a}=n;return yn(Ir(e(a),n,t?Lr(r):r,o),a)}function wr(e,t,n,r,o){const{calendar:a}=n;return wn(Mr(e(a),n,t?Lr(r):r,o),a)}function pr(e,t,n,r,o){const a=n.calendar,i=e(a);let s=It(vr(i,n));t&&(r=Rr(r)),r.sign<0&&(s=i.P(s,{...ys,months:1}),s=br(s,-1));const c=i.P(s,r,o);return pn(vr(i,c),a)}function Ar(e,t,n){return Tn(Er(t,e?Lr(n):n)[0])}function Tr(e,t,n,r,o){const a=Ur(r,5);let i=n.epochNanoseconds;if(Zr(r)){const s=bc(n,e);i=ft(dr(e,{...Mr(t,s,{...r,...ws},o),...ke(As,s)}),a)}else i=ft(i,a),qt(o);return{epochNanoseconds:vt(i)}}function Ir(e,t,n,r){const[o,a]=Er(t,n);return Mt({...Mr(e,t,{...n,...ws,days:n.days+a},r),...o})}function Mr(e,t,n,r){if(n.years||n.months||n.weeks)return e.P(t,n,r);qt(r);const o=n.days+Ur(n,5)[0];return o?It(br(t,o)):t}function vr(e,t,n=1){return br(t,n-e.day(t))}function Er(e,t){const[n,r]=Ur(t,5),[o,a]=bt(Et(e)+r);return[o,n+a]}function br(e,t){return t?{...e,...Lt(Nt(e)+t*Ci)}:e}function Hr(e,t,n){const r=e(n.calendar);return Or(n)?[n,r,t(n.timeZone)]:[{...n,...bs},r]}function Nr(e){return e?vn:Ct}function Cr(e){return e?Ye(Tr,e):Ir}function Dr(e){return e?Ye(Ho,e):No}function Or(e){return e&&e.epochNanoseconds}function kr(e,t){return e<=6-(Or(t)?1:0)}function _r(e,t,n,r,o,a,i){const s=e(un(i).relativeTo),c=Math.max($r(o),$r(a));if(kr(c,s))return In(Br(((e,t,n,r)=>{const o=ft(Ur(e),Ur(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(di);return{...ys,...jr(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(Si);r&&(a=Lr(a));const[u,h,l]=Hr(t,n,s),f=Cr(l),d=Dr(l),m=f(h,u,o);return In(d(h,u,f(h,m,a),c))}function Rr(e){return In(Lr(e))}function Lr(e){const t={};for(const n of ls)t[n]=-1*e[n]||0;return t}function Yr(e,t=ls){let n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(gi);n=t}}return n}function Br(e){for(const t of gs)Te(t,e[t],-Hc,Hc,1);return Pr(pt(Ur(e),_i)),e}function Pr(e){if(!Number.isSafeInteger(e))throw new RangeError(mi)}function Ur(e,t=6){return Ge(e,t,ls)}function jr(e,t=6){const[n,r]=e,o=Je(r,t,ls);if(o[ls[t]]+=n*(Yi/Bi[t]),!Number.isFinite(o[ls[t]]))throw new RangeError(di);return o}function xr(e,t=5){return Je(e,t,ls)}function Zr(e){return Boolean(Yr(e,ms))}function $r(e){let t=9;for(;t>0&&!e[ls[t]];t--);return t}function Vr(e,t){return[e,t]}function zr(e){const t=Math.floor(e/Ic)*Ic;return[t,t+Ic]}function Fr(e){const t=no(e);if(void 0===t)throw new RangeError(Ai(e));return t}function Kr(e,t,n){let r=Qr(cs(e));if(!r||r.j)throw new RangeError(Ai(e));return t?r.calendar===ns&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...bs}:{...r,isoDay:1,...bs}):n&&r.calendar===ns&&(r={...r,isoYear:Bs}),wn(r.C?Wr(r):qr(r))}function Gr(e){if(e.calendar!==ns)throw new RangeError(Ti(e.calendar))}function Jr(e,t,n=0,r=0){const o=ho(e.timeZone),a=Nc(o);let i;return Ft(e),i=e.C?fr(a,e,t,n,r,!a.$,e.j):mr(a,e),Sn(i,o,ua(e.calendar))}function Wr(e){return Xr(Mt(Ft(e)))}function qr(e){return Xr(It(Kt(e)))}function Xr(e){return{...e,calendar:ua(e.calendar)}}function Qr(e){const t=xc.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:ro(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...oo(e.slice(5)),...ao(e[16]),C:Boolean(e[6]),j:n,offset:n?void 0:t}})(t):void 0}function eo(e){const t=Uc.exec(e);return t?(e=>({isoYear:ro(e),isoMonth:parseInt(e[4]),isoDay:1,...ao(e[5])}))(t):void 0}function to(e){const t=jc.exec(e);return t?(e=>({isoYear:Bs,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...ao(e[3])}))(t):void 0}function no(e,t){const n=$c.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(Ti(n));return(e=>{if(Math.abs(e)>=Yi)throw new RangeError(ui);return e})((uo(e[2])*Li+uo(e[3])*Ri+uo(e[4])*_i+io(e[5]||""))*co(e[1]))})(n,t):void 0}function ro(e){const t=co(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(Ti(-0));return t*n}function oo(e){const t=uo(e[3]);return{...bt(io(e[4]||""))[0],isoHour:uo(e[1]),isoMinute:uo(e[2]),isoSecond:60===t?59:t}}function ao(e){let t,n;const r=[];if(e.replace(Vc,(e,o,a)=>{const i=Boolean(o),[s,c]=a.split("=").reverse();if(c){if("u-ca"===c)r.push(s),t||(t=i);else if(i||/[A-Z]/.test(c))throw new RangeError(Ti(e))}else{if(n)throw new RangeError(Ti(e));n=s}return""}),r.length>1&&t)throw new RangeError(Ti(e));return{timeZone:n,calendar:r[0]||ns}}function io(e){return parseInt(e.padEnd(9,"0"))}function so(e){return new RegExp(`^${e}$`,"i")}function co(e){return e&&"+"!==e?-1:1}function uo(e){return void 0===e?0:parseInt(e)}function ho(e){const t=fo(e);return"number"==typeof t?ar(t):t?(e=>{if(Gc.test(e))throw new RangeError(ii(e));if(Kc.test(e))throw new RangeError(ci);return e.toLowerCase().split("/").map((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,(e,n)=>e.length<=2&&!t||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!n?Be(e).replace(/island|noronha|murdo|rivadavia|urville/,Be):e)).join("/")})(e):Tc}function lo(e){const t=fo(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:Tc}function fo(e){const t=no(e=e.toUpperCase(),1);return void 0!==t?t:e!==Tc?Fc(e):void 0}function mo(e,t){return gt(e.epochNanoseconds,t.epochNanoseconds)}function go(e,t){return gt(e.epochNanoseconds,t.epochNanoseconds)}function So(e,t){return yo(e,t)||wo(e,t)}function yo(e,t){return je(Nt(e),Nt(t))}function wo(e,t){return je(Et(e),Et(t))}function po(e,t){if(e===t)return 1;try{return lo(e)===lo(t)}catch(e){}}function Ao(e,t,n,r){const o=Qt(e,r,3,5),a=Oo(t.epochNanoseconds,n.epochNanoseconds,...o);return In(e?Lr(a):a)}function To(e,t,n,r,o,a){const i=Yo(r.calendar,o.calendar),[s,c,u,h]=Qt(n,a,5),l=r.epochNanoseconds,f=o.epochNanoseconds,d=gt(f,l);let m;if(d)if(s<6)m=Oo(l,f,s,c,u,h);else{const n=t(((e,t)=>{if(!po(e,t))throw new RangeError(si);return e})(r.timeZone,o.timeZone)),l=e(i);m=Co(l,n,r,o,d,s,a),m=Yn(m,f,s,c,u,h,l,r,vn,Ye(Tr,n))}else m=ys;return In(n?Lr(m):m)}function Io(e,t,n,r,o){const a=Yo(n.calendar,r.calendar),[i,s,c,u]=Qt(t,o,6),h=Ct(n),l=Ct(r),f=gt(l,h);let d;if(f)if(i<=6)d=Oo(h,l,i,s,c,u);else{const t=e(a);d=Do(t,n,r,f,i,o),d=Yn(d,l,i,s,c,u,t,n,Ct,Ir)}else d=ys;return In(t?Lr(d):d)}function Mo(e,t,n,r,o){const a=Yo(n.calendar,r.calendar);return Eo(t,()=>e(a),n,r,...Qt(t,o,6,9,6))}function vo(e,t,n,r,o){const a=Yo(n.calendar,r.calendar),i=Qt(t,o,9,9,8),s=e(a),c=vr(s,n),u=vr(s,r);return c.isoYear===u.isoYear&&c.isoMonth===u.isoMonth&&c.isoDay===u.isoDay?In(ys):Eo(t,()=>s,It(c),It(u),...i,8)}function Eo(e,t,n,r,o,a,i,s,c=6){const u=Ct(n),h=Ct(r);if(void 0===u||void 0===h)throw new RangeError(di);let l;if(gt(h,u))if(6===o)l=Oo(u,h,o,a,i,s);else{const e=t();l=e.N(n,r,o),a===c&&1===i||(l=Yn(l,h,o,a,i,s,e,n,Ct,Mr))}else l=ys;return In(e?Lr(l):l)}function bo(e,t,n,r){const[o,a,i,s]=Qt(e,r,5,5),c=Un(Lo(t,n),kn(a,i),s),u={...ys,...xr(c,o)};return In(e?Lr(u):u)}function Ho(e,t,n,r,o,a){const i=gt(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?ko(n.epochNanoseconds,r.epochNanoseconds,o):Co(t,e,n,r,i,o,a):ys}function No(e,t,n,r,o){const a=Ct(t),i=Ct(n),s=gt(i,a);return s?r<=6?ko(a,i,r):Do(e,t,n,s,r,o):ys}function Co(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...br(s,u++*-r),...i},f=dr(e,l),gt(c,f)===-r}const a=bc(t,e),i=ke(As,a),s=bc(n,e),c=n.epochNanoseconds;let u=0;const h=Lo(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(ri);const d=pt(mt(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...ys,days:_o(h,l)}):e.N(s,c,a,i),...xr(u)}}function Do(e,t,n,r,o,a){const[i,s,c]=((e,t,n)=>{let r=t,o=Lo(e,t);return Math.sign(o)===-n&&(r=br(t,-n),o+=Yi*n),[e,r,o]})(t,n,r);return{...e.N(i,s,o,a),...xr(c)}}function Oo(e,t,n,r,o,a){return{...ys,...jr(Bn(mt(e,t),r,o,a),n)}}function ko(e,t,n){return{...ys,...jr(mt(e,t),n)}}function _o(e,t){return Ro(Nt(e),Nt(t))}function Ro(e,t){return Math.trunc((t-e)/Ci)}function Lo(e,t){return Et(t)-Et(e)}function Yo(e,t){if(e!==t)throw new RangeError(ai);return e}function Bo(e){return this.m(e)[0]}function Po(e){return this.m(e)[1]}function Uo(e){const[t]=this.v(e);return Ro(this.p(t),Nt(e))+1}function jo(e){const t=Jc.exec(e);if(!t)throw new RangeError(Qa(e));return[parseInt(t[1]),Boolean(t[2])]}function xo(e,t){return"M"+bi(e)+(t?"L":"")}function Zo(e,t,n){return e+(t||n&&e>=n?1:0)}function $o(e,t){return e-(t&&e>=t?1:0)}function Vo(e,t){return(t+e)*(Math.sign(t)||1)||0}function zo(e){return as[Ko(e)]}function Fo(e){return ss[Ko(e)]}function Ko(e){return ha(e.id||ns)}function Go(e){function t(e){return((e,t)=>({...qo(e,t),o:e.month,day:parseInt(e.day)}))(Yt(n,e),r)}const n=qc(e),r=ha(e);return{id:e,h:Jo(t),l:Wo(t)}}function Jo(e){return Me(t=>{const n=Nt(t);return e(n)},WeakMap)}function Wo(e){const t=e(0).year-Ys;return Me(n=>{let r,o=kt(n-t),a=0;const i=[],s=[];do{o+=400*Ci}while((r=e(o)).year<=n);do{if(o+=(1-r.day)*Ci,r.year===n&&(i.push(o),s.push(r.o)),o-=Ci,++a>100||o<-Cs)throw new RangeError(ri)}while((r=e(o)).year>=n);return{i:i.reverse(),u:vi(s.reverse())}})}function qo(e,t){let n,r,o=Xo(e);if(e.era){const a=as[t],i=is[t]||{};void 0!==a&&(n="islamic"===t?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===n||"b"===n?n="bce":"ad"===n||"a"===n?n="ce":"beforeroc"===n&&(n="broc"),n=i[n]||n,r=o,o=Vo(r,a[n]||0))}return{era:n,eraYear:r,year:o}}function Xo(e){return parseInt(e.relatedYear||e.year)}function Qo(e){const{year:t,o:n,day:r}=this.h(e),{u:o}=this.l(t);return[t,o[n]+1,r]}function ea(e,t=1,n=1){return this.l(e).i[t-1]+(n-1)*Ci}function ta(e,t){const n=na.call(this,e);return[$o(t,n),n===t]}function na(e){const t=sa(this,e),n=sa(this,e-1),r=t.length;if(r>n.length){const e=Fo(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function ra(e){return Ro(ea.call(this,e),ea.call(this,e+1))}function oa(e,t){const{i:n}=this.l(e);let r=t+1,o=n;return r>n.length&&(r=1,o=this.l(e+1).i),Ro(n[t-1],o[r-1])}function aa(e){return this.l(e).i.length}function ia(e){const t=this.h(e);return[t.era,t.eraYear]}function sa(e,t){return Object.keys(e.l(t).u)}function ca(e){return ua(cs(e))}function ua(e){if((e=e.toLowerCase())!==ns&&e!==rs){const t=qc(e).resolvedOptions().calendar;if(ha(e)!==ha(t))throw new RangeError(oi(e));return t}return e}function ha(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function la(e,t){return n=>n===ns?e:n===rs||n===os?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),Wc(n))}function fa(e,t,n,r){const o=da(n,r,Xi,[],$i);if(void 0!==o.timeZone){const r=n.F(o),a=ga(o),i=e(o.timeZone);return{epochNanoseconds:fr(t(i),{...r,...a},void 0!==o.offset?Fr(o.offset):void 0),timeZone:i}}return{...n.F(o),...bs}}function da(e,t,n,r=[],o=[]){return ma(t,[...e.fields(n),...o].sort(),r)}function ma(e,t,n,r=!n){const o={};let a,i=0;for(const r of t){if(r===a)throw new RangeError(Va(r));if("constructor"===r||"__proto__"===r)throw new RangeError($a(r));let t=e[r];if(void 0!==t)i=1,cu[r]&&(t=cu[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(Za(r));o[r]=ts[r]}a=r}if(r&&!i)throw new TypeError(za(t));return o}function ga(e,t){return Wt(uu({...ts,...e}),t)}function Sa(e,t,n,r,o){t=ke(n=e.fields(n),t),r=ma(r,o=e.fields(o),[]);let a=e.k(t,r);return a=ma(a,[...n,...o].sort(),[]),e.F(a)}function ya(e,t){const n=zo(e),r=is[e.id||""]||{};let{era:o,eraYear:a,year:i}=t;if(void 0!==o||void 0!==a){if(void 0===o||void 0===a)throw new TypeError(Ja);if(!n)throw new RangeError(Ga);const e=n[r[o]||o];if(void 0===e)throw new RangeError(qa(o));const t=Vo(a,e);if(void 0!==i&&i!==t)throw new RangeError(Wa);i=t}else if(void 0===i)throw new TypeError(Xa(n));return i}function wa(e,t,n,r){let{month:o,monthCode:a}=t;if(void 0!==a){const t=((e,t,n,r)=>{const o=e.L(n),[a,i]=jo(t);let s=Zo(a,i,o);if(i){const t=Fo(e);if(void 0===t)throw new RangeError(ni);if(t>0){if(s>t)throw new RangeError(ni);if(void 0===o){if(1===r)throw new RangeError(ni);s--}}else{if(s!==-t)throw new RangeError(ni);if(void 0===o&&1===r)throw new RangeError(ni)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(ei);o=t,r=1}else if(void 0===o)throw new TypeError(ti);return Te("month",o,1,e.B(n),r)}function pa(e,t,n,r,o){return Ae(t,"day",1,e.U(r,n),o)}function Aa(e,t,n,r){let o=0;const a=[];for(const e of n)void 0!==t[e]?o=1:a.push(e);if(Object.assign(e,t),o)for(const t of r||a)delete e[t]}function Ta(e){const t=iu(e.calendar),[n,r,o]=t.v(e),[a,i]=t.q(n,r);return{year:n,monthCode:xo(a,i),day:o}}function Ia(e,t){return yn(bc(t,e))}function Ma(e,t){return wn(bc(t,e))}function va(e,t){return Tn(bc(t,e))}function Ea(e,t,n){const r=new Set(n);return(o,a)=>{const i=n&&_e(o,n);if(!_e(o=((e,t)=>{const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n})(r,o),e)){if(a&&i)throw new TypeError("Invalid formatting options");o={...t,...o}}return n&&(o.timeZone=Tc,["full","long"].includes(o.J)&&(o.J="medium")),o}}function ba(e,t=Ha,n=0){const[r,,,o]=e;return(a,i=ju,...s)=>{const c=t(o&&o(...s),a,i,r,n),u=c.resolvedOptions();return[c,...Na(e,u,s)]}}function Ha(e,t,n,r,o){if(n=r(n,o),e){if(void 0!==n.timeZone)throw new TypeError(Mi);n.timeZone=e}return new Rs(t,n)}function Na(e,t,n){const[,r,o]=e;return n.map(e=>(e.calendar&&((e,t,n)=>{if((n||e!==ns)&&e!==t)throw new RangeError(ai)})(e.calendar,t.calendar,o),r(e,t)))}function Ca(e,t){return{...e,calendar:t}}function Da(e){const t=Oa();return Rt(t,e.R(t))}function Oa(){return wt(Date.now(),ki)}function ka(){return Ju||(Ju=(new Rs).resolvedOptions().timeZone)}const _a=(e,t)=>`Non-integer ${e}: ${t}`,Ra=(e,t)=>`Non-positive ${e}: ${t}`,La=(e,t)=>`Non-finite ${e}: ${t}`,Ya=e=>`Cannot convert bigint to ${e}`,Ba=e=>`Invalid bigint: ${e}`,Pa="Cannot convert Symbol to string",Ua="Invalid object",ja=(e,t,n,r,o)=>o?ja(e,o[t],o[n],o[r]):xa(e,t)+`; must be between ${n}-${r}`,xa=(e,t)=>`Invalid ${e}: ${t}`,Za=e=>`Missing ${e}`,$a=e=>`Invalid field ${e}`,Va=e=>`Duplicate field ${e}`,za=e=>"No valid fields: "+e.join(),Fa=(e,t,n)=>xa(e,t)+"; must be "+Object.keys(n).join(),Ka="Invalid calling context",Ga="Forbidden era/eraYear",Ja="Mismatching era/eraYear",Wa="Mismatching year/eraYear",qa=e=>`Invalid era: ${e}`,Xa=e=>"Missing year"+(e?"/era/eraYear":""),Qa=e=>`Invalid monthCode: ${e}`,ei="Mismatching month/monthCode",ti="Missing month/monthCode",ni="Invalid leap month",ri="Invalid protocol results",oi=e=>xa("Calendar",e),ai="Mismatching Calendars",ii=e=>xa("TimeZone",e),si="Mismatching TimeZones",ci="Forbidden ICU TimeZone",ui="Out-of-bounds offset",hi="Out-of-bounds TimeZone gap",li="Invalid TimeZone offset",fi="Ambiguous offset",di="Out-of-bounds date",mi="Out-of-bounds duration",gi="Cannot mix duration signs",Si="Missing relativeTo",yi="Cannot use large units",wi="Required smallestUnit or largestUnit",pi="smallestUnit > largestUnit",Ai=e=>`Cannot parse: ${e}`,Ti=e=>`Invalid substring: ${e}`,Ii="Mismatching types for formatting",Mi="Cannot specify TimeZone",vi=Ye(De,(e,t)=>t),Ei=Ye(De,(e,t,n)=>n),bi=Ye(Ue,2),Hi={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},Ni=Object.keys(Hi),Ci=864e5,Di=1e3,Oi=1e3,ki=1e6,_i=1e9,Ri=6e10,Li=36e11,Yi=864e11,Bi=[1,Oi,ki,_i,Ri,Li,Yi],Pi=Ni.slice(0,6),Ui=Pe(Pi),ji=["offset"],xi=["timeZone"],Zi=Pi.concat(ji),$i=Zi.concat(xi),Vi=["era","eraYear"],zi=Vi.concat(["year"]),Fi=["year"],Ki=["monthCode"],Gi=["month"].concat(Ki),Ji=["day"],Wi=Gi.concat(Fi),qi=Ki.concat(Fi),Xi=Ji.concat(Wi),Qi=Ji.concat(Gi),es=Ji.concat(Ki),ts=Ei(Pi,0),ns="iso8601",rs="gregory",os="japanese",as={[rs]:{"gregory-inverse":-1,gregory:0},[os]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},is={[rs]:{bce:"gregory-inverse",ce:"gregory"},[os]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},ss={chinese:13,dangi:13,hebrew:-6},cs=Ye(tt,"string"),us=Ye(tt,"boolean"),hs=Ye(tt,"number"),ls=Ni.map(e=>e+"s"),fs=Pe(ls),ds=ls.slice(0,6),ms=ls.slice(6),gs=ms.slice(1),Ss=vi(ls),ys=Ei(ls,0),ws=Ei(ds,0),ps=Ye(Le,ls),As=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],Ts=["isoDay","isoMonth","isoYear"],Is=As.concat(Ts),Ms=Pe(Ts),vs=Pe(As),Es=Pe(Is),bs=Ei(vs,0),Hs=Ye(Le,Is),Ns=1e8,Cs=Ns*Ci,Ds=[Ns,0],Os=[-Ns,0],ks=275760,_s=-271821,Rs=Intl.DateTimeFormat,Ls="en-GB",Ys=1970,Bs=1972,Ps=12,Us=kt(1868,9,8),js=Me(zt,WeakMap),xs="smallestUnit",Zs="unit",$s="roundingIncrement",Vs="fractionalSecondDigits",zs="relativeTo",Fs="direction",Ks={constrain:0,reject:1},Gs=Object.keys(Ks),Js={compatible:0,reject:1,earlier:2,later:3},Ws={reject:0,use:1,prefer:2,ignore:3},qs={auto:0,never:1,critical:2,always:3},Xs={auto:0,never:1,critical:2},Qs={auto:0,never:1},ec={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},tc={previous:-1,next:1},nc=Ye(fn,xs),rc=Ye(fn,"largestUnit"),oc=Ye(fn,Zs),ac=Ye(dn,"overflow",Ks),ic=Ye(dn,"disambiguation",Js),sc=Ye(dn,"offset",Ws),cc=Ye(dn,"calendarName",qs),uc=Ye(dn,"timeZoneName",Xs),hc=Ye(dn,"offset",Qs),lc=Ye(dn,"roundingMode",ec),fc="PlainYearMonth",dc="PlainMonthDay",mc="PlainDate",gc="PlainDateTime",Sc="PlainTime",yc="ZonedDateTime",wc="Instant",pc="Duration",Ac=[Math.floor,e=>Ke(e)?Math.floor(e):Math.round(e),Math.ceil,e=>Ke(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>Ke(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>Ke(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],Tc="UTC",Ic=5184e3,Mc=Ot(1847),vc=Ot((new Date).getUTCFullYear()+10),Ec=/0+$/,bc=Me(lr,WeakMap),Hc=2**32-1,Nc=Me(e=>{const t=fo(e);return"object"==typeof t?new Dc(t):new Cc(t||0)});class Cc{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const t=Ct({...e,...bs});if(!t||Math.abs(t[0])>1e8)throw new RangeError(di)})(e),[Dt(e,this.$)]}O(){}}class Dc{constructor(e){this.nn=(e=>{function t(e){const t=xe(e,a,i),[s,c]=zr(t),u=r(s),h=r(c);return u===h?u:n(o(s,c),u,h,e)}function n(t,n,r,o){let a,i;for(;(void 0===o||void 0===(a=o<t[0]?n:o>=t[1]?r:void 0))&&(i=t[1]-t[0]);){const n=t[0]+Math.floor(i/2);e(n)===r?t[1]=n:t[0]=n+1}return a}const r=Me(e),o=Me(Vr);let a=Mc,i=vc;return{tn(e){const n=t(e-86400),r=t(e+86400),o=e-n,a=e-r;if(n===r)return[o];const i=t(o);return i===t(a)?[e-i]:n>r?[o,a]:[]},rn:t,O(e,t){const s=xe(e,a,i);let[c,u]=zr(s);const h=Ic*t,l=t<0?()=>u>a||(a=s,0):()=>c<i||(i=s,0);for(;l();){const a=r(c),i=r(u);if(a!==i){const r=o(c,u);n(r,a,i);const s=r[0];if((je(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=Yt(e,t*Di);return Ot(Xo(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}R(e){return this.nn.rn((e=>Ht(e)[0])(e))*_i}I(e){const[t,n]=[Ot((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*ki+r.isoMicrosecond*Oi+r.isoNanosecond];var r;return this.nn.tn(t).map(e=>vt(dt(wt(e,_i),n)))}O(e,t){const[n,r]=Ht(e),o=this.nn.O(n+(t>0||r?1:0),t);if(void 0!==o)return wt(o,_i)}}const Oc="([+-])",kc="(?:[.,](\\d{1,9}))?",_c=`(?:(?:${Oc}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Rc="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+kc+")?)?",Lc=Oc+Rc,Yc=_c+"-?(\\d{2})(?:[T ]"+Rc+"(Z|"+Lc+")?)?",Bc="\\[(!?)([^\\]]*)\\]",Pc=`((?:${Bc}){0,9})`,Uc=so(_c+Pc),jc=so("(?:--)?(\\d{2})-?(\\d{2})"+Pc),xc=so(Yc+Pc),Zc=so("T?"+Rc+"(?:"+Lc+")?"+Pc),$c=so(Lc),Vc=new RegExp(Bc,"g"),zc=so(`${Oc}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${kc}H)?(?:(\\d+)${kc}M)?(?:(\\d+)${kc}S)?)?`),Fc=Me(e=>new Rs(Ls,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),Kc=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,Gc=/[^\w\/:+-]+/,Jc=/^M(\d{2})(L?)$/,Wc=Me(Go),qc=Me(e=>new Rs(Ls,{calendar:e,timeZone:Tc,era:"short",year:"numeric",month:"short",day:"numeric"})),Xc={P(e,t,n){const r=qt(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Ur(t,5)[0],a||i)o=((e,t,n,r,o)=>{let[a,i,s]=e.v(t);if(n){const[t,r]=e.q(a,i);a+=n,i=Zo(t,r,e.L(a)),i=Te("month",i,1,e.B(a),o)}return r&&([a,i]=e.un(a,i,r)),s=Te("day",s,1,e.U(a,i),o),e.p(a,i,s)})(this,e,a,i,r);else{if(!s&&!c)return e;o=Nt(e)}if(void 0===o)throw new RangeError(di);return o+=(7*s+c)*Ci,It(Lt(o))},N(e,t,n){if(n<=7){let r=0,o=_o({...e,...bs},{...t,...bs});return 7===n&&([r,o]=Ve(o,7)),{...ys,weeks:r,days:o}}const r=this.v(e),o=this.v(t);let[a,i,s]=((e,t,n,r,o,a,i)=>{let s=o-t,c=a-n,u=i-r;if(s||c){const h=Math.sign(s||c);let l=e.U(o,a),f=0;if(Math.sign(u)===-h){const r=l;[o,a]=e.un(o,a,-h),s=o-t,c=a-n,l=e.U(o,a),f=h<0?-r:l}if(u=i-Math.min(r,l)+f,s){const[r,i]=e.q(t,n),[u,l]=e.q(o,a);if(c=u-r||Number(l)-Number(i),Math.sign(c)===-h){const n=h<0&&-e.B(o);s=(o-=h)-t,c=a-Zo(r,i,e.L(o))+(n||e.B(o))}}}return[s,c,u]})(this,...r,...o);return 8===n&&(i+=this.cn(a,r[0]),a=0),{...ys,years:a,months:i,days:s}},F(e,t){const n=qt(t),r=ya(this,e),o=wa(this,e,r,n),a=pa(this,e,o,r,n);return wn(It(this.V(r,o,a)),this.id||ns)},K(e,t){const n=qt(t),r=ya(this,e),o=wa(this,e,r,n);return pn(Tt(this.V(r,o,1)),this.id||ns)},_(e,t){const n=qt(t);let r,o,a,i=void 0!==e.eraYear||void 0!==e.year?ya(this,e):void 0;const s=!this.id;if(void 0===i&&s&&(i=Bs),void 0!==i){const t=wa(this,e,i,n);r=pa(this,e,t,i,n);const s=this.L(i);o=$o(t,s),a=t===s}else{if(void 0===e.monthCode)throw new TypeError(ti);if([o,a]=jo(e.monthCode),this.id&&this.id!==rs&&this.id!==os)if(this.id&&"coptic"===ha(this.id)&&0===n){const t=a||13!==o?30:6;r=e.day,r=xe(r,1,t)}else if(this.id&&"chinese"===ha(this.id)&&0===n){const t=!a||1!==o&&9!==o&&10!==o&&11!==o&&12!==o?30:29;r=e.day,r=xe(r,1,t)}else r=e.day;else r=pa(this,e,wa(this,e,Bs,n),Bs,n)}const c=this.G(o,a,r);if(!c)throw new RangeError("Cannot guess year");const[u,h]=c;return An(It(this.V(u,h,r)),this.id||ns)},fields(e){return zo(this)&&e.includes("year")?[...e,...Vi]:e},k(e,t){const n=Object.assign(Object.create(null),e);return Aa(n,t,Gi),zo(this)&&(Aa(n,t,zi),this.id===os&&Aa(n,t,Qi,Vi)),n},inLeapYear(e){const[t]=this.v(e);return this.sn(t)},monthsInYear(e){const[t]=this.v(e);return this.B(t)},daysInMonth(e){const[t,n]=this.v(e);return this.U(t,n)},daysInYear(e){const[t]=this.v(e);return this.fn(t)},dayOfYear:Uo,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[t,n]=this.v(e),[r,o]=this.q(t,n);return xo(r,o)},dayOfWeek:$t,daysInWeek:()=>7},Qc={v:Bt,hn:Vt,q:Pt},eu={dayOfYear:Uo,v:Bt,p:kt},tu=Object.assign({},eu,{weekOfYear:Bo,yearOfWeek:Po,m(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=xt(f+e),r=e||1,o=t($e(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=$t(e),a=this.dayOfYear(e),i=$e(o-1,7),s=a-1,c=$e(i-s,7),u=t(c);let h,l=Math.floor((s-u)/7)+1,f=e.isoYear;return l?l>n(0)&&(l=1,f++):(l=n(-1),f--),[l,f,h]}}),nu=Object.assign({},Xc,tu,{v:Bt,hn:Vt,q:Pt,G(e,t){if(!t)return[Bs,e]},sn:Zt,L(){},B:Ut,cn:e=>e*Ps,U:jt,fn:xt,V:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),p:kt,un:(e,t,n)=>(e+=ze(n,Ps),(t+=Fe(n,Ps))<1?(e--,t+=Ps):t>Ps&&(e++,t-=Ps),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),ru={v:Qo,hn:ia,q:ta},ou={dayOfYear:Uo,v:Qo,p:ea,weekOfYear:Bo,yearOfWeek:Po,m:()=>[]},au=Object.assign({},Xc,ou,{v:Qo,hn:ia,q:ta,G(e,t,n){const r=this.id&&"chinese"===ha(this.id)?((e,t,n)=>{if(t)switch(e){case 1:return 1651;case 2:return n<30?1947:1765;case 3:return n<30?1966:1955;case 4:return n<30?1963:1944;case 5:return n<30?1971:1952;case 6:return n<30?1960:1941;case 7:return n<30?1968:1938;case 8:return n<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,t,n):Bs;let[o,a,i]=Qo.call(this,{isoYear:r,isoMonth:Ps,isoDay:31});const s=na.call(this,o),c=a===s;1===(je(e,$o(a,s))||je(Number(t),Number(c))||je(n,i))&&o--;for(let r=0;r<100;r++){const a=o-r,i=na.call(this,a),s=Zo(e,t,i);if(t===(s===i)&&n<=oa.call(this,a,s))return[a,s]}},sn(e){const t=ra.call(this,e);return t>ra.call(this,e-1)&&t>ra.call(this,e+1)},L:na,B:aa,cn(e,t){const n=t+e,r=Math.sign(e),o=r<0?-1:0;let a=0;for(let e=t;e!==n;e+=r)a+=aa.call(this,e+o);return a},U:oa,fn:ra,V(e,t,n){return Lt(ea.call(this,e,t,n))},p:ea,un(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(di);if(n<0)for(;t<1;)t+=aa.call(this,--e);else{let n;for(;t>(n=aa.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.h(e).year},month(e){const{year:t,o:n}=this.h(e),{u:r}=this.l(t);return r[n]+1},day(e){return this.h(e).day}}),iu=la(Qc,ru),su=la(nu,au),cu={...{era:at,eraYear:ct,year:ct,month:ht,monthCode(e){const t=at(e);return jo(t),t},day:ht},...Ei(Pi,ct),...Ei(ls,ut),offset(e){const t=at(e);return Fr(t),t}},uu=Ye(Oe,Pi,As),hu=Ye(Oe,As,Pi),lu="numeric",fu=["timeZoneName"],du={month:lu,day:lu},mu={year:lu,month:lu},gu=Object.assign({},mu,{day:lu}),Su={hour:lu,minute:lu,second:lu},yu=Object.assign({},gu,Su),wu=Object.assign({},yu,{timeZoneName:"short"}),pu=Object.keys(mu),Au=Object.keys(du),Tu=Object.keys(gu),Iu=Object.keys(Su),Mu=["dateStyle"],vu=pu.concat(Mu),Eu=Au.concat(Mu),bu=Tu.concat(Mu,["weekday"]),Hu=Iu.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),Nu=bu.concat(Hu),Cu=fu.concat(Hu),Du=fu.concat(bu),Ou=fu.concat(["day","weekday"],Hu),ku=fu.concat(["year","weekday"],Hu),_u=Ea(Nu,yu),Ru=Ea(Nu,wu),Lu=Ea(Nu,yu,fu),Yu=Ea(bu,gu,Cu),Bu=Ea(Hu,Su,Du),Pu=Ea(vu,mu,Ou),Uu=Ea(Eu,du,ku),ju={},xu=new Rs(void 0,{calendar:ns}).resolvedOptions().calendar===ns,Zu=[_u,Mn],$u=[Ru,Mn,0,(e,t)=>{const n=e.timeZone;if(t&&t.timeZone!==n)throw new RangeError(si);return n}],Vu=[Lu,Nt],zu=[Yu,Nt],Fu=[Bu,e=>Et(e)/ki],Ku=[Pu,Nt,xu],Gu=[Uu,Nt,xu];let Ju;function Wu(e,t,n,r,o){function a(...e){if(!(this instanceof a))throw new TypeError(Ka);Ih(this,t(...e))}function i(e,t){return Object.defineProperties(function(...t){return e.call(this,s(this),...t)},ve(t))}function s(t){const n=Th(t);if(!n||n.branding!==e)throw new TypeError(Ka);return n}return Object.defineProperties(a.prototype,{...be(Ce(i,n)),...Ee(Ce(i,r)),...He("Temporal."+e)}),Object.defineProperties(a,{...Ee(o),...ve(e)}),[a,e=>{const t=Object.create(a.prototype);return Ih(t,e),t},s]}function qu(e){if(Th(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Xu(e){return Qu(e)||ns}function Qu(e){const{calendar:t}=e;if(void 0!==t)return eh(t)}function eh(e){if(Ie(e)){const{calendar:t}=Th(e)||{};if(!t)throw new TypeError(oi(e));return t}return(e=>ua(function(e){const t=Qr(e)||eo(e)||to(e);return t?t.calendar:e}(cs(e))))(e)}function th(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return su(t)[n](e)};return t}function nh(){throw new TypeError("Cannot use valueOf")}function rh(e){if(Ie(e)){const{timeZone:t}=Th(e)||{};if(!t)throw new TypeError(ii(e));return t}return(e=>ho(function(e){const t=Qr(e);return t&&(t.timeZone||t.j&&Tc||t.offset)||e}(cs(e))))(e)}function oh(e){if(Ie(e)){const t=Th(e);return t&&t.branding===pc?t:function(e){const t=ma(e,fs);return In(Br({...ys,...t}))}(e)}return function(e){const t=(e=>{const t=zc.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=Ze(o,Bi[a])),void 0!==e){if(r)throw new RangeError(Ti(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(Ti(e));return t})(e),n=1,t&&(o=io(t)*(Bi[a]/_i),r=1)}return i+s}let n=0,r=0,o=0,a={...Ne(ls,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...Je(o,2,ls)};if(!n)throw new RangeError(za(ls));return co(e[1])<0&&(a=Lr(a)),a})(t):void 0})(cs(e));if(!t)throw new RangeError(Ai(e));return In(Br(t))}(e)}function ah(e){if(void 0!==e){if(Ie(e)){const t=Th(e)||{};switch(t.branding){case yc:case mc:return t;case gc:return wn(t)}const n=Xu(e);return{...fa(rh,Nc,su(n),e),calendar:n}}return function(e){const t=Qr(cs(e));if(!t)throw new RangeError(Ai(e));if(t.timeZone)return Jr(t,t.offset?Fr(t.offset):void 0);if(t.j)throw new RangeError(Ai(e));return qr(t)}(e)}}function ih(e,t){if(Ie(e)){const n=Th(e)||{};switch(n.branding){case Sc:return qt(t),n;case gc:return qt(t),Tn(n);case yc:return qt(t),va(Nc,n)}return function(e,t){return Tn(ga(ma(e,Ui,[],1),qt(t)))}(e,t)}const n=function(e){let t,n=(e=>{const t=Zc.exec(e);return t?(ao(t[10]),oo(t)):void 0})(cs(e));if(!n){if(n=Qr(e),!n)throw new RangeError(Ai(e));if(!n.C)throw new RangeError(Ai(e));if(n.j)throw new RangeError(Ti("Z"));Gr(n)}if((t=eo(e))&&Gt(t))throw new RangeError(Ai(e));if((t=to(e))&&Gt(t))throw new RangeError(Ai(e));return Tn(Wt(n,1))}(e);return qt(t),n}function sh(e){return void 0===e?void 0:ih(e)}function ch(e,t){if(Ie(e)){const n=Th(e)||{};switch(n.branding){case gc:return qt(t),n;case mc:return qt(t),yn({...n,...bs});case yc:return qt(t),Ia(Nc,n)}return function(e,t,n){const r=da(e,t,Xi,[],Pi),o=qt(n);return yn(Mt({...e.F(r,ln(o)),...ga(r,o)}))}(su(Xu(e)),e,t)}const n=function(e){const t=Qr(cs(e));if(!t||t.j)throw new RangeError(Ai(e));return yn(Wr(t))}(e);return qt(t),n}function uh(e,t){if(Ie(e)){const n=Th(e);if(n&&n.branding===dc)return qt(t),n;const r=Qu(e);return function(e,t,n,r){const o=da(e,n,Xi,Ji);return t&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=Bs),e._(o,r)}(su(r||ns),!r,e,t)}const n=function(e,t){const n=to(cs(t));if(n)return Gr(n),An(Kt(n));const r=Kr(t,0,1),{calendar:o}=r,a=e(o),[i,s,c]=a.v(r),[u,h]=a.q(i,s),[l,f]=a.G(u,h,c);return An(It(a.V(l,f,c)),o)}(su,e);return qt(t),n}function hh(e,t){if(Ie(e)){const n=Th(e);return n&&n.branding===fc?(qt(t),n):function(e,t,n,r){const o=da(e,t,Wi,r);return e.K(o,n)}(su(Xu(e)),e,t)}const n=function(e,t){const n=eo(cs(t));if(n)return Gr(n),pn(Tt(Kt(n)));const r=Kr(t,1);return pn(vr(e(r.calendar),r))}(su,e);return qt(t),n}function lh(e,t){if(Ie(e)){const n=Th(e)||{};switch(n.branding){case mc:return qt(t),n;case gc:return qt(t),wn(n);case yc:return qt(t),Ma(Nc,n)}return function(e,t,n,r=[]){const o=da(e,t,Xi,r);return e.F(o,n)}(su(Xu(e)),e,t)}const n=Kr(e);return qt(t),n}function fh(e,t){if(Ie(e)){const n=Th(e);if(n&&n.branding===yc)return Xt(t),n;const r=Xu(e);return function(e,t,n,r,o,a){const i=da(n,o,Xi,xi,$i),s=e(i.timeZone),[c,u,h]=Xt(a),l=n.F(i,ln(c)),f=ga(i,c);return Sn(fr(t(s),{...l,...f},void 0!==i.offset?Fr(i.offset):void 0,u,h),s,r)}(rh,Nc,su(r),r,e,t)}return function(e,t){const n=Qr(cs(e));if(!n||!n.timeZone)throw new RangeError(Ai(e));const{offset:r}=n,o=r?Fr(r):void 0,[,a,i]=Xt(t);return Jr(n,o,a,i)}(e,t)}function dh(e){return Ce(e=>t=>e(mh(t)),e)}function mh(e){return bc(e,Nc)}function gh(e){if(Ie(e)){const t=Th(e);if(t)switch(t.branding){case wc:return t;case yc:return gn(t.epochNanoseconds)}}return function(e){const t=Qr(e=at(e));if(!t)throw new RangeError(Ai(e));let n;if(t.j)n=0;else{if(!t.offset)throw new RangeError(Ai(e));n=Fr(t.offset)}return t.timeZone&&no(t.timeZone,1),gn(Dt(Ft(t),n))}(e)}function Sh(){function e(e,n){return new t(e,n)}function t(e,t=Object.create(null)){sl.set(this,((e,t)=>{const n=new Rs(e,t),r=n.resolvedOptions(),o=r.locale,a=ke(Object.keys(t),r),i=Me(ph),s=(e,...t)=>{if(e){if(2!==t.length)throw new TypeError(Ii);for(const e of t)if(void 0===e)throw new TypeError(Ii)}e||void 0!==t[0]||(t=[]);const r=t.map(e=>Th(e)||Number(e));let s,c=0;for(const e of r){const t="object"==typeof e?e.branding:void 0;if(c++&&t!==s)throw new TypeError(Ii);s=t}return s?i(s)(o,a,...r):[n,...r]};return s.X=n,s})(e,t))}const n=Rs.prototype,r=Object.getOwnPropertyDescriptors(n),o=Object.getOwnPropertyDescriptors(Rs);for(const t in r){const n=r[t],o=t.startsWith("format")&&yh(t);"function"==typeof n.value?n.value="constructor"===t?e:o||wh(t):o&&(n.get=function(){if(!sl.has(this))throw new TypeError(Ka);return(...e)=>o.apply(this,e)},Object.defineProperties(n.get,ve(`get ${t}`)))}return o.prototype.value=t.prototype=Object.create({},r),Object.defineProperties(e,o),e}function yh(e){return Object.defineProperties(function(...t){const n=sl.get(this),[r,...o]=n(e.includes("Range"),...t);return r[e](...o)},ve(e))}function wh(e){return Object.defineProperties(function(...t){return sl.get(this).X[e](...t)},ve(e))}function ph(e){const t=Yh[e];if(!t)throw new TypeError((e=>`Cannot format ${e}`)(e));return ba(t,Me(Ha),1)}const Ah=new WeakMap,Th=Ah.get.bind(Ah),Ih=Ah.set.bind(Ah),Mh={era:function(e){if(void 0!==e)return cs(e)},eraYear:We,year:Xe,month:qe,daysInMonth:qe,daysInYear:qe,inLeapYear:us,monthsInYear:qe},vh={monthCode:cs},Eh={day:qe},bh={dayOfWeek:qe,dayOfYear:qe,weekOfYear:function(e){if(void 0!==e)return qe(e)},yearOfWeek:We,daysInWeek:qe},Hh=th(Object.assign({},Mh,vh,Eh,bh)),Nh=th({...Mh,...vh}),Ch=th({...vh,...Eh}),Dh={calendarId:e=>e.calendar},Oh=De(e=>t=>t[e],ls.concat("sign")),kh=De((e,t)=>e=>e[As[t]],Pi),_h={epochMilliseconds:Mn,epochNanoseconds:function(e){return((e,t=1)=>{const[n,r]=e,o=Math.floor(r/t),a=Yi/t;return BigInt(n)*BigInt(a)+BigInt(o)})(e.epochNanoseconds)}},[Rh,Lh]=Wu(pc,function(e=0,t=0,n=0,r=0,o=0,a=0,i=0,s=0,c=0,u=0){return In(Br(Ce(ut,Ne(ls,[e,t,n,r,o,a,i,s,c,u]))))},{...Oh,blank:function(e){return!e.sign}},{with:(e,t)=>Lh(function(e,t){return In((n=e,r=t,Br({...n,...ma(r,fs)})));var n,r}(e,t)),negated:e=>Lh(Rr(e)),abs:e=>Lh(function(e){return-1===e.sign?Rr(e):e}(e)),add:(e,t,n)=>Lh(_r(ah,su,Nc,0,e,oh(t),n)),subtract:(e,t,n)=>Lh(_r(ah,su,Nc,1,e,oh(t),n)),round:(e,t)=>Lh(function(e,t,n,r,o){const a=$r(r),[i,s,c,u,h]=((e,t,n)=>{e=hn(e,xs);let r=rc(e);const o=n(e[zs]);let a=an(e);const i=lc(e,7);let s=nc(e);if(void 0===r&&void 0===s)throw new RangeError(wi);if(null==s&&(s=0),null==r&&(r=Math.max(s,t)),mn(r,s),a=sn(a,s,1),a>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,a,i,o]})(o,a,e),l=Math.max(a,i);if(!h&&l<=6)return In(Br(((e,t,n,r,o)=>{const a=Bn(Ur(e),n,r,o);return{...ys,...jr(a,t)}})(r,i,s,c,u)));if(!Or(h)&&!r.sign)return r;if(!h)throw new RangeError(Si);const[f,d,m]=Hr(t,n,h),g=Nr(m),S=Cr(m),y=Dr(m),w=S(d,f,r);Or(h)||(Mt(f),Mt(w));let p=y(d,f,w,i);const A=r.sign,T=Yr(p);if(A&&T&&A!==T)throw new RangeError(ri);return p=Yn(p,g(w),i,s,c,u,d,f,g,S),In(p)}(ah,su,Nc,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=$r(r),[i,s]=((e,t)=>{const n=t((e=hn(e,Zs))[zs]);let r=oc(e);return r=Qe(Zs,r),[r,n]})(o,e),c=Math.max(i,a);if(!s&&kr(c,s))return En(r,i);if(!s)throw new RangeError(Si);if(!r.sign)return 0;const[u,h,l]=Hr(t,n,s),f=Nr(l),d=Cr(l),m=Dr(l),g=d(h,u,r);Or(s)||(Mt(u),Mt(g));const S=m(h,u,g,i);return kr(i,s)?En(S,i):((e,t,n,r,o,a,i)=>{const s=Yr(e),[c,u]=bn(r,ps(n,e),n,s,o,a,i),h=Hn(t,c,u);return e[ls[n]]+h*s})(S,f(g),i,h,u,f,d)}(ah,su,Nc,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):qn(e)},toString:qn,toJSON:e=>qn(e),valueOf:nh},{from:e=>Lh(oh(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(un(a).relativeTo),s=Math.max($r(r),$r(o));if(Re(ls,r,o))return 0;if(kr(s,i))return gt(Ur(r),Ur(o));if(!i)throw new RangeError(Si);const[c,u,h]=Hr(t,n,i),l=Nr(h),f=Cr(h);return gt(l(f(u,c,r)),l(f(u,c,o)))}(ah,su,Nc,oh(e),oh(t),n)}),Yh={Instant:Zu,PlainDateTime:Vu,PlainDate:zu,PlainTime:Fu,PlainYearMonth:Ku,PlainMonthDay:Gu},Bh=ba(Zu),Ph=ba($u),Uh=ba(Vu),jh=ba(zu),xh=ba(Fu),Zh=ba(Ku),$h=ba(Gu),[Vh,zh]=Wu(Sc,function(e=0,t=0,n=0,r=0,o=0,a=0){return Tn(Wt(Ce(ct,Ne(As,[e,t,n,r,o,a])),1))},kh,{with(e,t,n){return zh(function(e,t,n){return Tn(((e,t,n)=>ga({...ke(Ui,e),...ma(t,Ui)},qt(n)))(e,t,n))}(this,qu(t),n))},add:(e,t)=>zh(Ar(0,e,oh(t))),subtract:(e,t)=>zh(Ar(1,e,oh(t))),until:(e,t,n)=>Lh(bo(0,e,ih(t),n)),since:(e,t,n)=>Lh(bo(1,e,ih(t),n)),round:(e,t)=>zh(function(e,t){const[n,r,o]=en(t,5);var a;return Tn((a=o,Dn(e,kn(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!wo(e,t)}(e,ih(t)),toLocaleString(e,t,n){const[r,o]=xh(t,n,e);return r.format(o)},toString:Wn,toJSON:e=>Wn(e),valueOf:nh},{from:(e,t)=>zh(ih(e,t)),compare:(e,t)=>wo(ih(e),ih(t))}),[Fh,Kh]=Wu(gc,Ye(function(e,t,n,r,o=0,a=0,i=0,s=0,c=0,u=0,h=ns){return yn(Mt(Ft(Ce(ct,Ne(Is,[t,n,r,o,a,i,s,c,u])))),e(h))},ca),{...Dh,...Hh,...kh},{with:(e,t,n)=>Kh(function(e,t,n,r){const o=e(t.calendar),a=[...o.fields(Xi),...Pi].sort(),i={...Ta(s=t),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const c=ma(n,a),u=qt(r),h=o.k(i,c),l={...i,...c};return yn(Mt({...o.F(h,ln(u)),...Wt(uu(l),u)}))}(su,e,qu(t),n)),withCalendar:(e,t)=>Kh(Ca(e,eh(t))),withPlainTime:(e,t)=>Kh(function(e,t=bs){return yn(Mt({...e,...t}))}(e,sh(t))),add:(e,t,n)=>Kh(yr(su,0,e,oh(t),n)),subtract:(e,t,n)=>Kh(yr(su,1,e,oh(t),n)),until:(e,t,n)=>Lh(Io(su,0,e,ch(t),n)),since:(e,t,n)=>Lh(Io(su,1,e,ch(t),n)),round:(e,t)=>Kh(function(e,t){return yn(Nn(e,...en(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!So(e,t)&&e.calendar===t.calendar}(e,ch(t)),toZonedDateTime:(e,t,n)=>tl(function(e,t,n,r){const o=((e,t,n,r)=>{const o=(e=>ic(un(e)))(r);return dr(e(t),n,o)})(e,n,t,r);return Sn(vt(o),n,t.calendar)}(Nc,e,rh(t),n)),toPlainDate:e=>Qh(wn(e)),toPlainTime:e=>zh(Tn(e)),toLocaleString(e,t,n){const[r,o]=Uh(t,n,e);return r.format(o)},toString:Fn,toJSON:e=>Fn(e),valueOf:nh},{from:(e,t)=>Kh(ch(e,t)),compare:(e,t)=>So(ch(e),ch(t))}),[Gh,Jh]=Wu(dc,Ye(function(e,t,n,r=ns,o=Bs){const a=ct(t),i=ct(n),s=e(r);return An(It(Kt({isoYear:ct(o),isoMonth:a,isoDay:i})),s)},ca),{...Dh,...Ch},{with:(e,t,n)=>Jh(function(e,t,n,r){const o=e(t.calendar),a=o.fields(Xi).sort(),i=(e=>{const t=iu(e.calendar),[n,r,o]=t.v(e),[a,i]=t.q(n,r);return{monthCode:xo(a,i),day:o}})(t),s=ma(n,a),c=o.k(i,s);return o._(c,r)}(su,e,qu(t),n)),equals:(e,t)=>function(e,t){return!yo(e,t)&&e.calendar===t.calendar}(e,uh(t)),toPlainDate(e,t){return Qh(function(e,t,n,r){return((e,t,n)=>Sa(e,t,es,et(n),Fi))(e(t.calendar),n,r)}(su,e,this,t))},toLocaleString(e,t,n){const[r,o]=$h(t,n,e);return r.format(o)},toString:Jn,toJSON:e=>Jn(e),valueOf:nh},{from:(e,t)=>Jh(uh(e,t))}),[Wh,qh]=Wu(fc,Ye(function(e,t,n,r=ns,o=1){const a=ct(t),i=ct(n),s=e(r);return pn(Tt(Kt({isoYear:a,isoMonth:i,isoDay:ct(o)})),s)},ca),{...Dh,...Nh},{with:(e,t,n)=>qh(function(e,t,n,r){const o=e(t.calendar),a=o.fields(Wi).sort(),i=(e=>{const t=iu(e.calendar),[n,r]=t.v(e),[o,a]=t.q(n,r);return{year:n,monthCode:xo(o,a)}})(t),s=ma(n,a),c=o.k(i,s);return o.K(c,r)}(su,e,qu(t),n)),add:(e,t,n)=>qh(pr(su,0,e,oh(t),n)),subtract:(e,t,n)=>qh(pr(su,1,e,oh(t),n)),until:(e,t,n)=>Lh(vo(su,0,e,hh(t),n)),since:(e,t,n)=>Lh(vo(su,1,e,hh(t),n)),equals:(e,t)=>function(e,t){return!yo(e,t)&&e.calendar===t.calendar}(e,hh(t)),toPlainDate(e,t){return Qh(function(e,t,n,r){return((e,t,n)=>Sa(e,t,qi,et(n),Ji))(e(t.calendar),n,r)}(su,e,this,t))},toLocaleString(e,t,n){const[r,o]=Zh(t,n,e);return r.format(o)},toString:Gn,toJSON:e=>Gn(e),valueOf:nh},{from:(e,t)=>qh(hh(e,t)),compare:(e,t)=>yo(hh(e),hh(t))}),[Xh,Qh]=Wu(mc,Ye(function(e,t,n,r,o=ns){return wn(It(Kt(Ce(ct,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))},ca),{...Dh,...Hh},{with:(e,t,n)=>Qh(function(e,t,n,r){const o=e(t.calendar),a=o.fields(Xi).sort(),i=Ta(t),s=ma(n,a),c=o.k(i,s);return o.F(c,r)}(su,e,qu(t),n)),withCalendar:(e,t)=>Qh(Ca(e,eh(t))),add:(e,t,n)=>Qh(wr(su,0,e,oh(t),n)),subtract:(e,t,n)=>Qh(wr(su,1,e,oh(t),n)),until:(e,t,n)=>Lh(Mo(su,0,e,lh(t),n)),since:(e,t,n)=>Lh(Mo(su,1,e,lh(t),n)),equals:(e,t)=>function(e,t){return!yo(e,t)&&e.calendar===t.calendar}(e,lh(t)),toZonedDateTime(e,t){const n=Ie(t)?t:{timeZone:t};return tl(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):void 0,c=n(a);let u;return u=s?dr(c,{...r,...s}):mr(c,{...r,...bs}),Sn(u,a,r.calendar)}(rh,ih,Nc,e,n))},toPlainDateTime:(e,t)=>Kh(function(e,t=bs){return yn(Mt({...e,...t}))}(e,sh(t))),toPlainYearMonth(e){return qh(function(e,t,n){return((e,t)=>{const n=da(e,t,qi);return e.K(n,void 0)})(e(t.calendar),n)}(su,e,this))},toPlainMonthDay(e){return Jh(function(e,t,n){return((e,t)=>{const n=da(e,t,es);return e._(n)})(e(t.calendar),n)}(su,e,this))},toLocaleString(e,t,n){const[r,o]=jh(t,n,e);return r.format(o)},toString:Kn,toJSON:e=>Kn(e),valueOf:nh},{from:(e,t)=>Qh(lh(e,t)),compare:(e,t)=>yo(lh(e),lh(t))}),[el,tl]=Wu(yc,Ye(function(e,t,n,r,o=ns){return Sn(vt(yt(it(n))),t(r),e(o))},ca,function(e){return ho(cs(e))}),{..._h,...Dh,...dh(Hh),...dh(kh),offset:e=>ar(mh(e).offsetNanoseconds),offsetNanoseconds:e=>mh(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=bc(t,n),[o,a]=_n(r),i=pt(mt(mr(n,o),mr(n,a)),Li,1);if(i<=0)throw new RangeError(ri);return i}(Nc,e)},{with:(e,t,n)=>tl(function(e,t,n,r,o){const{calendar:a,timeZone:i}=n,s=e(a),c=t(i),u=[...s.fields(Xi),...Zi].sort(),h=(e=>{const t=bc(e,Nc),n=ar(t.offsetNanoseconds),r=iu(e.calendar),[o,a,i]=r.v(t),[s,c]=r.q(o,a),u=xo(s,c);return{...hu(t),year:o,monthCode:u,day:i,offset:n}})(n),l=ma(r,u),f=s.k(h,l),d={...h,...l},[m,g,S]=Xt(o,2);return Sn(fr(c,{...s.F(f,ln(m)),...Wt(uu(d),m)},Fr(d.offset),g,S),i,a)}(su,Nc,e,qu(t),n)),withCalendar:(e,t)=>tl(Ca(e,eh(t))),withTimeZone:(e,t)=>tl(function(e,t){return{...e,timeZone:t}}(e,rh(t))),withPlainTime:(e,t)=>tl(function(e,t,n){const r=t.timeZone,o=e(r),a={...bc(t,o),...n||bs};let i;return i=n?fr(o,a,a.offsetNanoseconds,2):mr(o,a),Sn(i,r,t.calendar)}(Nc,e,sh(t))),add:(e,t,n)=>tl(Sr(su,Nc,0,e,oh(t),n)),subtract:(e,t,n)=>tl(Sr(su,Nc,1,e,oh(t),n)),until:(e,t,n)=>Lh(In(To(su,Nc,0,e,fh(t),n))),since:(e,t,n)=>Lh(In(To(su,Nc,1,e,fh(t),n))),round:(e,t)=>tl(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=en(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=bc(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=mr(t,a),u=mr(t,i);if(St(s,c,u))throw new RangeError(ri);return jn(Hn(s,c,u),r)?u:c})(_n,u,t,c);else{const e=u.R(r);r=fr(u,Nn(Rt(r,e),i,s,c),e,2,0,1)}return Sn(r,o,a)}(Nc,e,t)),startOfDay:e=>tl(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>mr(t,e(bc(n,t))))(Rn,e(n),t);return Sn(o,n,r)}(Nc,e)),equals:(e,t)=>function(e,t){return!go(e,t)&&!!po(e.timeZone,t.timeZone)&&e.calendar===t.calendar}(e,fh(t)),toInstant:e=>rl(function(e){return gn(e.epochNanoseconds)}(e)),toPlainDateTime:e=>Kh(Ia(Nc,e)),toPlainDate:e=>Qh(Ma(Nc,e)),toPlainTime:e=>zh(va(Nc,e)),toLocaleString(e,t,n={}){const[r,o]=Ph(t,n,e);return r.format(o)},toString:(e,t)=>zn(Nc,e,t),toJSON:e=>zn(Nc,e),valueOf:nh,getTimeZoneTransition(e,t){const{timeZone:n,epochNanoseconds:r}=e,o=function(e){const t=hn(e,Fs),n=dn(Fs,tc,t,0);if(!n)throw new RangeError(xa(Fs,n));return n}(t),a=Nc(n).O(r,o);return a?tl({...e,epochNanoseconds:a}):null}},{from:(e,t)=>tl(fh(e,t)),compare:(e,t)=>go(fh(e),fh(t))}),[nl,rl]=Wu(wc,function(e){return gn(vt(yt(it(e))))},_h,{add:(e,t)=>rl(gr(0,e,oh(t))),subtract:(e,t)=>rl(gr(1,e,oh(t))),until:(e,t,n)=>Lh(Ao(0,e,gh(t),n)),since:(e,t,n)=>Lh(Ao(1,e,gh(t),n)),round:(e,t)=>rl(function(e,t){const[n,r,o]=en(t,5,1);return gn(Bn(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!mo(e,t)}(e,gh(t)),toZonedDateTimeISO:(e,t)=>tl(function(e,t,n=ns){return Sn(e.epochNanoseconds,t,n)}(e,rh(t))),toLocaleString(e,t,n){const[r,o]=Bh(t,n,e);return r.format(o)},toString:(e,t)=>Vn(rh,Nc,e,t),toJSON:e=>Vn(rh,Nc,e),valueOf:nh},{from:e=>rl(gh(e)),fromEpochMilliseconds:e=>rl(function(e){return gn(vt(wt(ut(e),ki)))}(e)),fromEpochNanoseconds:e=>rl(function(e){return gn(vt(yt(it(e))))}(e)),compare:(e,t)=>mo(gh(e),gh(t))}),ol=Object.defineProperties({},{...He("Temporal.Now"),...Ee({timeZoneId:()=>ka(),instant:()=>rl(gn(Oa())),zonedDateTimeISO:(e=ka())=>tl(Sn(Oa(),rh(e),ns)),plainDateTimeISO:(e=ka())=>Kh(yn(Da(Nc(rh(e))),ns)),plainDateISO:(e=ka())=>Qh(wn(Da(Nc(rh(e))),ns)),plainTimeISO:(e=ka())=>zh(Tn(Da(Nc(rh(e)))))})}),al=Object.defineProperties({},{...He("Temporal"),...Ee({PlainYearMonth:Wh,PlainMonthDay:Gh,PlainDate:Xh,PlainTime:Vh,PlainDateTime:Fh,ZonedDateTime:el,Instant:nl,Duration:Rh,Now:ol})}),il=Sh(),sl=new WeakMap;function cl(e){return e*Math.PI/180}function ul(e){return 180*e/Math.PI}Object.create(Intl),Ee({DateTimeFormat:il}),Object.defineProperties(globalThis,Ee({Temporal:al})),Object.defineProperties(Intl,Ee({DateTimeFormat:il})),Object.defineProperties(Date.prototype,Ee({toTemporalInstant:function(){const e=Date.prototype.valueOf.call(this);return rl(gn(wt(nt(e),ki)))}}));class hl{constructor(e,t,n,r,o){this.locationName=null,this.setLocationName(e),this.setLatitude(t),this.setLongitude(n),this.setElevation(r),this.setTimeZone(o)}getElevation(){return this.elevation}setElevation(e){if("number"!=typeof e)throw new TypeError("Invalid elevation");if(e<0)throw new RangeError(`elevation ${e} must be zero or positive`);this.elevation=e}setLatitude(e){if("number"!=typeof e)throw new TypeError("Invalid latitude");if(e<-90||e>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);this.latitude=e}getLatitude(){return this.latitude}setLongitude(e){if("number"!=typeof e)throw new TypeError("Invalid longitude");if(e<-180||e>180)throw new RangeError(`Longitude ${e} out of range [-180,180]`);this.longitude=e}getLongitude(){return this.longitude}getLocationName(){return this.locationName}setLocationName(e){this.locationName=e}getTimeZone(){return this.timeZoneId}setTimeZone(e){if(!e)throw new RangeError("Invalid timeZoneId");this.timeZoneId=e}}const ll=6356.9;class fl{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(fl.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(fl.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(fl.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(fl.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(fl.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(fl.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(fl.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(fl.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(fl.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(fl.ASTRONOMICAL_ZENITH)}static getTimeOffset(e,t){return null===e||isNaN(t)?null:e.add({milliseconds:t})}getSunriseOffsetByDegrees(e){const t=this.getUTCSunrise0(e);return isNaN(t)?null:this.getDateFromTime(t,!0)}getSunsetOffsetByDegrees(e){const t=this.getUTCSunset0(e);return isNaN(t)?null:this.getDateFromTime(t,!1)}getUTCSunrise0(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunrise(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!1)}getUTCSunset0(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunset(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!1)}getAdjustedDate(){return this.date}getElevationAdjustment(e){return ul(Math.acos(ll/(ll+e/1e3)))}adjustZenith(e,t){let n=e;return e===fl.GEOMETRIC_ZENITH&&(n=e+(.8333333333333333+this.getElevationAdjustment(t))),n}getUTCSunrise(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=fl.getSunriseUTC(fl.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getUTCSunset(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=fl.getSunsetUTC(fl.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getTemporalHour(e=this.getSeaLevelSunrise(),t=this.getSeaLevelSunset()){if(null===e||null===t)return NaN;const n=t.epochMilliseconds-e.epochMilliseconds;return Math.floor(n/12)}getSunTransit(e=this.getSeaLevelSunrise(),t=this.getSeaLevelSunset()){const n=this.getTemporalHour(e,t);return fl.getTimeOffset(e,6*n)}getDateFromTime(e,t){if(isNaN(e))return null;let n=e,r=this.getAdjustedDate();const o=Math.trunc(n);n-=o;const a=Math.trunc(n*=60);n-=a;const i=Math.trunc(n*=60);n-=i;const s=Math.trunc(this.geoLocation.getLongitude()/15);return t&&s+o>18?r=r.add({days:-1}):!t&&s+o<6&&(r=r.add({days:1})),r.toZonedDateTime({timeZone:"UTC",plainTime:new Temporal.PlainTime(o,a,i,Math.trunc(1e3*n))}).withTimeZone(this.geoLocation.getTimeZone())}static getJulianDay(e){let{year:t,month:n}=e;const{day:r}=e;n<=2&&(t-=1,n+=12);const o=Math.trunc(t/100),a=Math.trunc(2-o+o/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(n+1))+r+a-1524.5}static getJulianCenturiesFromJulianDay(e){return(e-fl.JULIAN_DAY_JAN_1_2000)/fl.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*fl.JULIAN_DAYS_PER_CENTURY+fl.JULIAN_DAY_JAN_1_2000}static getSunGeometricMeanLongitude(e){let t=280.46646+e*(36000.76983+3032e-7*e);for(;t>360;)t-=360;for(;t<0;)t+=360;return t}static getSunGeometricMeanAnomaly(e){return 357.52911+e*(35999.05029-1537e-7*e)}static getEarthOrbitEccentricity(e){return.016708634-e*(42037e-9+1.267e-7*e)}static getSunEquationOfCenter(e){const t=cl(fl.getSunGeometricMeanAnomaly(e));return Math.sin(t)*(1.914602-e*(.004817+14e-6*e))+Math.sin(t+t)*(.019993-101e-6*e)+289e-6*Math.sin(t+t+t)}static getSunTrueLongitude(e){return fl.getSunGeometricMeanLongitude(e)+fl.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return fl.getSunTrueLongitude(e)-.00569-.00478*Math.sin(cl(t))}static getMeanObliquityOfEcliptic(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}static getObliquityCorrection(e){const t=125.04-1934.136*e;return fl.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(cl(t))}static getSunDeclination(e){const t=fl.getObliquityCorrection(e),n=fl.getSunApparentLongitude(e),r=Math.sin(cl(t))*Math.sin(cl(n));return ul(Math.asin(r))}static getEquationOfTime(e){const t=fl.getObliquityCorrection(e),n=fl.getSunGeometricMeanLongitude(e),r=fl.getEarthOrbitEccentricity(e),o=fl.getSunGeometricMeanAnomaly(e);let a=Math.tan(cl(t)/2);a*=a;const i=Math.sin(2*cl(n)),s=Math.sin(cl(o));return 4*ul(a*i-2*r*s+4*r*a*s*Math.cos(2*cl(n))-.5*a*a*Math.sin(4*cl(n))-1.25*r*r*Math.sin(2*cl(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=cl(e),o=cl(t);return Math.acos(Math.cos(cl(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=cl(e),o=cl(t);return-Math.acos(Math.cos(cl(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=fl.getJulianDay(e.toPlainDate()),o=fl.getJulianCenturiesFromJulianDay(r),a=fl.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=cl(n-i),c=cl(fl.getSunDeclination(o)),u=cl(t);return ul(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=fl.getJulianDay(e.toPlainDate()),o=fl.getJulianCenturiesFromJulianDay(r),a=fl.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=cl(n-i),c=cl(fl.getSunDeclination(o)),u=cl(t);return ul(Math.atan(Math.sin(s)/(Math.cos(s)*Math.sin(u)-Math.tan(c)*Math.cos(u))))+180}static getSunriseUTC(e,t,n,r){const o=fl.getJulianCenturiesFromJulianDay(e),a=fl.getSolarNoonUTC(o,n),i=fl.getJulianCenturiesFromJulianDay(e+a/1440);let s=fl.getEquationOfTime(i),c=fl.getSunDeclination(i),u=fl.getSunHourAngleAtSunrise(t,c,r),h=n-ul(u),l=4*h,f=720+l-s;const d=fl.getJulianCenturiesFromJulianDay(fl.getJulianDayFromJulianCenturies(o)+f/1440);return s=fl.getEquationOfTime(d),c=fl.getSunDeclination(d),u=fl.getSunHourAngleAtSunrise(t,c,r),h=n-ul(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=fl.getJulianCenturiesFromJulianDay(fl.getJulianDayFromJulianCenturies(e)+t/360);let r=fl.getEquationOfTime(n);const o=720+4*t-r,a=fl.getJulianCenturiesFromJulianDay(fl.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=fl.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=fl.getJulianCenturiesFromJulianDay(e),a=fl.getSolarNoonUTC(o,n),i=fl.getJulianCenturiesFromJulianDay(e+a/1440);let s=fl.getEquationOfTime(i),c=fl.getSunDeclination(i),u=fl.getSunHourAngleAtSunset(t,c,r),h=n-ul(u),l=4*h,f=720+l-s;const d=fl.getJulianCenturiesFromJulianDay(fl.getJulianDayFromJulianCenturies(o)+f/1440);return s=fl.getEquationOfTime(d),c=fl.getSunDeclination(d),u=fl.getSunHourAngleAtSunset(t,c,r),h=n-ul(u),l=4*h,f=720+l-s,f}}fl.GEOMETRIC_ZENITH=90,fl.CIVIL_ZENITH=96,fl.NAUTICAL_ZENITH=102,fl.ASTRONOMICAL_ZENITH=108,fl.JULIAN_DAY_JAN_1_2000=2451545,fl.JULIAN_DAYS_PER_CENTURY=36525;const dl=[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem",27],["Atlanta","US",33.749,-84.38798,"America/New_York",336],["Austin","US",30.26715,-97.74306,"America/Chicago",165],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad",41],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem",285],["Berlin","DE",52.52437,13.41053,"Europe/Berlin",43],["Baltimore","US",39.29038,-76.61219,"America/New_York",35],["Bogota","CO",4.60971,-74.08175,"America/Bogota",2582],["Boston","US",42.35843,-71.05977,"America/New_York",38],["Budapest","HU",47.49801,19.03991,"Europe/Budapest",104],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires",31],["Buffalo","US",42.88645,-78.87837,"America/New_York",191],["Chicago","US",41.85003,-87.65005,"America/Chicago",180],["Cincinnati","US",39.162,-84.45689,"America/New_York",267],["Cleveland","US",41.4995,-81.69541,"America/New_York",204],["Dallas","US",32.78306,-96.80667,"America/Chicago",139],["Denver","US",39.73915,-104.9847,"America/Denver",1636],["Detroit","US",42.33143,-83.04575,"America/Detroit",192],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem",63],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar",11],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem",40],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu",18],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki",26],["Houston","US",29.76328,-95.36327,"America/Chicago",30],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem",786],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg",1767],["Kiev","UA",50.45466,30.5238,"Europe/Kiev",187],["La Paz","BO",-16.5,-68.15,"America/La_Paz",3782],["Livingston","US",40.79593,-74.31487,"America/New_York",98],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles",613],["London","GB",51.50853,-.12574,"Europe/London",25],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles",96],["Marseilles","FR",43.29695,5.38107,"Europe/Paris",28],["Miami","US",25.77427,-80.19366,"America/New_York",25],["Minneapolis","US",44.97997,-93.26384,"America/Chicago",262],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne",25],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City",2240],["Montreal","CA",45.50884,-73.58781,"America/Toronto",216],["Moscow","RU",55.75222,37.61556,"Europe/Moscow",144],["New York","US",40.71427,-74.00597,"America/New_York",57],["Omaha","US",41.25861,-95.93779,"America/Chicago",315],["Ottawa","CA",45.41117,-75.69812,"America/Toronto",71],["Panama City","PA",8.9936,-79.51973,"America/Panama",17],["Paris","FR",48.85341,2.3488,"Europe/Paris",42],["Pawtucket","US",41.87871,-71.38256,"America/New_York",0],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem",54],["Philadelphia","US",39.95233,-75.16379,"America/New_York",8],["Phoenix","US",33.44838,-112.07404,"America/Phoenix",366],["Pittsburgh","US",40.44062,-79.99589,"America/New_York",239],["Providence","US",41.82399,-71.41283,"America/New_York",0],["Portland","US",45.52345,-122.67621,"America/Los_Angeles",15],["Saint Louis","US",38.62727,-90.19789,"America/Chicago",149],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow",11],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles",20],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles",28],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo",769],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles",56],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney",58],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem",15],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem",0],["Toronto","CA",43.70011,-79.4163,"America/Toronto",175],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver",70],["White Plains","US",41.03399,-73.76291,"America/New_York",82],["Washington DC","US",38.89511,-77.03637,"America/New_York",6],["Worcester","US",42.26259,-71.80229,"America/New_York",164]],ml=new Map,gl={0:"UTC",4:"America/Puerto_Rico",5:"America/New_York",6:"America/Chicago",7:"America/Denver",8:"America/Los_Angeles",9:"America/Anchorage",10:"Pacific/Honolulu",11:"Pacific/Pago_Pago",13:"Pacific/Funafuti",14:"Pacific/Guam",15:"Pacific/Palau",16:"Pacific/Chuuk"},Sl=new Map;class yl extends hl{constructor(e,t,n,r,o,a,i,s){const c="number"==typeof e?e:parseFloat(e);if(isNaN(c)||c<-90||c>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);const u="number"==typeof t?t:parseFloat(t);if(isNaN(u)||u<-180||u>180)throw new RangeError(`Longitude ${t} out of range [-180,180]`);if(!r)throw new RangeError("Invalid timezone");super(o||null,c,u,"number"==typeof s&&s>0?s:0,r),this.il=Boolean(n),this.cc=a,this.geoid=i}getIsrael(){return this.il}getName(){return this.getLocationName()}getShortName(){const e=this.getLocationName();if(!e)return e;const t=e.indexOf(", ");if(-1===t)return e;if("US"===this.cc&&"D"===e[t+2]){if("C"===e[t+3])return e.substring(0,t+4);if("."===e[t+3]&&"C"===e[t+4])return e.substring(0,t+6)}return e.substring(0,t)}getCountryCode(){return this.cc}getTzid(){return this.getTimeZone()}getTimeFormatter(){return function(e){const t=Sl.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return Sl.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return ml.get(e.toLowerCase())}toString(){return JSON.stringify(this)}static legacyTzToTzid(e,t){if(e=+e,"none"===t){if(0===e)return"UTC";return`Etc/GMT${e>0?"+":""}${e}`}if(2===e&&"israel"===t)return"Asia/Jerusalem";if("eu"===t)switch(e){case-2:return"Atlantic/Cape_Verde";case-1:return"Atlantic/Azores";case 0:return"Europe/London";case 1:return"Europe/Paris";case 2:return"Europe/Athens"}else if("usa"===t)return gl[String(-1*e)]}static getUsaTzid(e,t,n){return 10===(t=+t)&&"AK"===e?"America/Adak":7===t&&"AZ"===e?"Y"===n?"America/Denver":"America/Phoenix":gl[t]}static addLocation(e,t){const n=e.toLowerCase();return!ml.has(n)&&(ml.set(n,t),!0)}}for(const e of dl){const t=new yl(e[2],e[3],"IL"===e[1],e[4],e[0],e[1],void 0,e[5]);yl.addLocation(e[0],t)}function wl(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}class pl{constructor(e,t,n){const r=function(e){if(c(e))return e;if(he.isHDate(e))return e.greg();throw new TypeError(`invalid date: ${e}`)}(t);this.date=r,this.gloc=e;const o=Temporal.PlainDate.from({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()});this.noaa=new fl(e,o),this.useElevation=Boolean(n)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return wl(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return wl(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return wl(this.noaa.getSeaLevelSunrise())}sunset(){return wl(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return wl(this.noaa.getSeaLevelSunset())}dawn(){return wl(this.noaa.getBeginCivilTwilight())}dusk(){return wl(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new pl(this.gloc,e,this.useElevation).sunset()}nightHour(){return(this.sunrise().getTime()-this.gregEve().getTime())/12}chatzot(){const e=this.noaa.getSeaLevelSunrise(),t=this.noaa.getSeaLevelSunset();return wl(this.noaa.getSunTransit(e,t))}chatzotNight(){return new Date(this.sunrise().getTime()-6*this.nightHour())}alotHaShachar(){return this.timeAtAngle(16.1,!0)}alotHaShachar72(){return this.sunriseOffset(-72,!1,!1)}misheyakir(){return this.timeAtAngle(11.5,!0)}misheyakirMachmir(){return this.timeAtAngle(10.2,!0)}getShaahZmanisBasedZman(e){const t=this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise(),n=this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset(),r=this.noaa.getTemporalHour(t,n),o=Math.round(r*e);return wl(fl.getTimeOffset(t,o))}sofZmanShma(){return this.getShaahZmanisBasedZman(3)}sofZmanTfilla(){return this.getShaahZmanisBasedZman(4)}getTemporalHour72(e){const t=this.sunriseOffset(-72,!1,e),n=(this.sunsetOffset(72,!1,e).getTime()-t.getTime())/12;return[t,n]}getTemporalHourByDeg(e){const t=this.timeAtAngle(e,!0),n=(this.timeAtAngle(e,!1).getTime()-t.getTime())/12;return[t,n]}sofZmanShmaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(4*t);return new Date(e.getTime()+n)}minchaGedola(){return this.getShaahZmanisBasedZman(6.5)}minchaGedolaMGA(){const[e,t]=this.getTemporalHour72(!1),n=Math.floor(6.5*t);return new Date(e.getTime()+n)}minchaKetana(){return this.getShaahZmanisBasedZman(9.5)}minchaKetanaMGA(){const[e,t]=this.getTemporalHour72(!1);return new Date(e.getTime()+Math.floor(9.5*t))}plagHaMincha(){return this.getShaahZmanisBasedZman(10.75)}tzeit(e=8.5){return this.timeAtAngle(e,!1)}neitzHaChama(){return this.sunrise()}shkiah(){return this.sunset()}beinHaShmashos(){const e=this.tzeit(7.083),t=e.getTime();return isNaN(t)?e:new Date(t-81e4)}static formatTime(e,t){if(isNaN(e.getTime()))return"XX:XX";const n=t.format(e),r=n.split(":");return"24"===r[0]?"00:"+r[1]:n}static roundTime(e){const t=e.getTime();if(isNaN(t))return e;const n=e.getMilliseconds(),r=e.getSeconds();if(0===r&&0===n)return e;const o=1e3*r+n;return new Date(t+(o>=3e4?6e4-o:-1*o))}static timeZoneOffset(e,t){const n=function(e,t){const n=J("UTC",t),r=J(e,t),o=new Date(n).getTime()-new Date(r).getTime();return Math.ceil(o/1e3/60)}(e,t),r=Math.abs(n),o=r%60;return(n<0?"+":"-")+F(Math.floor(r/60))+":"+F(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?"0000-00-00T00:00:00Z":J(e,t).substring(0,19)+pl.timeZoneOffset(e,t)}sunriseOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunrise():this.sunrise();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}sunsetOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunset():this.sunset();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}static makeSunsetAwareHDate(e,t,n){const r=new pl(e,t,n).sunset();let o=new he(t);const a=r.getTime();return isNaN(a)||t.getTime()>=a&&(o=o.next()),o}}class Al extends Map{#e=0;#t=new Map;#n=new Map;#r;#o;#a;constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.#r=e.maxSize,this.#o=e.maxAge||Number.POSITIVE_INFINITY,this.#a=e.onEviction}get __oldCache(){return this.#n}#i(e){if("function"==typeof this.#a)for(const[t,n]of e)this.#a(t,n.value)}#s(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.#a&&this.#a(e,t.value),this.delete(e))}#c(e,t){if(!1===this.#s(e,t))return t.value}#u(e,t){return t.expiry?this.#c(e,t):t.value}#h(e,t){const n=t.get(e);return this.#u(e,n)}#l(e,t){this.#t.set(e,t),this.#e++,this.#e>=this.#r&&(this.#e=0,this.#i(this.#n),this.#n=this.#t,this.#t=new Map)}#f(e,t){this.#n.delete(e),this.#l(e,t)}*#d(){for(const e of this.#n){const[t,n]=e;if(!this.#t.has(t)){!1===this.#s(t,n)&&(yield e)}}for(const e of this.#t){const[t,n]=e;!1===this.#s(t,n)&&(yield e)}}get(e){if(this.#t.has(e)){const t=this.#t.get(e);return this.#u(e,t)}if(this.#n.has(e)){const t=this.#n.get(e);if(!1===this.#s(e,t))return this.#f(e,t),t.value}}set(e,t,{maxAge:n=this.#o}={}){const r="number"==typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.#t.has(e)?this.#t.set(e,{value:t,expiry:r}):this.#l(e,{value:t,expiry:r}),this}has(e){return this.#t.has(e)?!this.#s(e,this.#t.get(e)):!!this.#n.has(e)&&!this.#s(e,this.#n.get(e))}peek(e){return this.#t.has(e)?this.#h(e,this.#t):this.#n.has(e)?this.#h(e,this.#n):void 0}expiresIn(e){const t=this.#t.get(e)??this.#n.get(e);if(t)return t.expiry?t.expiry-Date.now():Number.POSITIVE_INFINITY}delete(e){const t=this.#t.delete(e);return t&&this.#e--,this.#n.delete(e)||t}clear(){this.#t.clear(),this.#n.clear(),this.#e=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this.#d()],n=t.length-e;n<0?(this.#t=new Map(t),this.#n=new Map,this.#e=t.length):(n>0&&this.#i(t.slice(0,n)),this.#n=new Map(t.slice(n)),this.#t=new Map,this.#e=0),this.#r=e}evict(e=1){const t=Number(e);if(!t||t<=0)return;const n=[...this.#d()],r=Math.trunc(Math.min(t,Math.max(n.length-1,0)));r<=0||(this.#i(n.slice(0,r)),this.#n=new Map(n.slice(r)),this.#t=new Map,this.#e=0)}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.#t){const[t,n]=e;!1===this.#s(t,n)&&(yield[t,n.value])}for(const e of this.#n){const[t,n]=e;if(!this.#t.has(t)){!1===this.#s(t,n)&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.#t];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;!1===this.#s(r,o)&&(yield[r,o.value])}e=[...this.#n];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;if(!this.#t.has(r)){!1===this.#s(r,o)&&(yield[r,o.value])}}}*entriesAscending(){for(const[e,t]of this.#d())yield[e,t.value]}get size(){if(!this.#e)return this.#n.size;let e=0;for(const t of this.#n.keys())this.#t.has(t)||e++;return Math.min(this.#e+e,this.#r)}get maxSize(){return this.#r}get maxAge(){return this.#o}entries(){return this.entriesAscending()}forEach(e,t=this){for(const[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return"QuickLRU"}toString(){return`QuickLRU(${this.size}/${this.maxSize})`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}const Tl=d.NISAN,Il=d.IYYAR;function Ml(e){if(e<5708)return null;let t;const n=new he(15,Tl,e).getDay();return t=0===n?2:6===n?3:e<5764?4:2===n?5:4,new he(t,Il,e)}class vl{constructor(e,t){e=+e,this.year=e;const n=new he(1,d.TISHREI,e),r=n.abs(),o=n.getDay()+1;this.firstSaturday=he.dayOnOrBefore(6,r+6);const a=+he.isLeapYear(e);this.il=Boolean(t);const i=function(e){const t=he.longCheshvan(e),n=he.shortKislev(e);return t&&!n?2:!t&&n?0:1}(e);let s=`${a}${o}${i}`;if(Fl[s]?(this.theSedraArray=Fl[s],this.yearKey=s):(s+=+this.il,this.theSedraArray=Fl[s],this.yearKey=s),!this.theSedraArray)throw new Error(`improper sedra year type ${s} calculated for ${e}`)}find(e){if("number"==typeof e){if(e>=El.length||e<0&&!Nl(e))throw new RangeError(`Invalid parsha number: ${e}`);return this.findInternal(e)}if("string"==typeof e){const t=bl.get(e);return"number"==typeof t?this.find(t):-1!==e.indexOf("-")?e===_l||e===Dl?this.findInternal(e):this.find(e.split("-")):this.findInternal(e)}if(Array.isArray(e)){const t=e.length;if(1!==t&&2!==t||"string"!=typeof e[0])throw new TypeError(`Invalid parsha argument: ${JSON.stringify(e)}`);if(1===t)return this.find(e[0]);const n=e[0],r=e[1],o=bl.get(n),a=bl.get(r);if("number"!=typeof o||"number"!=typeof a||a!==o+1||!Nl(-o))throw new RangeError(`Unrecognized parsha name: ${n}-${r}`);return this.find(-o)}return null}findInternal(e){const t=this.theSedraArray.indexOf(e);return-1===t?null:new he(this.firstSaturday+7*t)}findContaining(e){const t=this.find(e);if(t)return t;if("number"==typeof e){const t=-e;return Nl(t)?this.find(t):this.find(t+1)}{const t=bl.get(e);if(t){const e=-t;return Nl(e)?this.find(e):this.find(e+1)}{const[t]=e.split("-");return this.find(t)}}}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:he.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=he.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return Gl(this.year+1,this.il).lookup(n)}const a=new he(n);if("string"==typeof o)return{parsha:[o],chag:!0,hdate:a,il:this.il};if(o>=0)return{parsha:[El[o]],chag:!1,num:o+1,hdate:a,il:this.il};const i=Cl(o);return{parsha:[El[i],El[i+1]],chag:!1,num:[i+1,i+2],hdate:a,il:this.il}}}const El=["Bereshit","Noach","Lech-Lecha","Vayera","Chayei Sara","Toldot","Vayetzei","Vayishlach","Vayeshev","Miketz","Vayigash","Vayechi","Shemot","Vaera","Bo","Beshalach","Yitro","Mishpatim","Terumah","Tetzaveh","Ki Tisa","Vayakhel","Pekudei","Vayikra","Tzav","Shmini","Tazria","Metzora","Achrei Mot","Kedoshim","Emor","Behar","Bechukotai","Bamidbar","Nasso","Beha'alotcha","Sh'lach","Korach","Chukat","Balak","Pinchas","Matot","Masei","Devarim","Vaetchanan","Eikev","Re'eh","Shoftim","Ki Teitzei","Ki Tavo","Nitzavim","Vayeilech","Ha'azinu"],bl=new Map;for(let e=0;e<El.length;e++){const t=El[e];bl.set(t,e)}const Hl=[21,26,28,31,38,41,50];function Nl(e){return Hl.includes(-e)}function Cl(e){return-e}const Dl="Sukkot Shabbat Chol ha-Moed",Ol="Pesach",kl="Pesach I",_l="Pesach Shabbat Chol ha-Moed",Rl="Pesach VII",Ll="Pesach VIII",Yl="Shavuot";function Bl(e,t){return Array.from({length:t-e+1},(t,n)=>n+e)}const Pl=[51,52,Dl],Ul=[52,"Yom Kippur",Dl],jl=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],xl=Bl(0,20),Zl=Bl(0,27),$l=Bl(33,40),Vl=Bl(43,49),zl=Bl(43,50),Fl={"020":Pl.concat(xl,Cl(21),23,24,_l,25,Cl(26),Cl(28),30,Cl(31),$l,Cl(41),Vl,Cl(50)),"0220":Pl.concat(xl,Cl(21),23,24,_l,25,Cl(26),Cl(28),30,Cl(31),33,Yl,Bl(34,37),Cl(38),40,Cl(41),Vl,Cl(50)),"0510":Ul.concat(xl,Cl(21),23,24,kl,Ll,25,Cl(26),Cl(28),30,Cl(31),$l,Cl(41),zl),"0511":Ul.concat(xl,Cl(21),23,24,Ol,25,Cl(26),Cl(28),Bl(30,40),Cl(41),zl),"052":Ul.concat(Bl(0,24),Rl,25,Cl(26),Cl(28),30,Cl(31),$l,Cl(41),zl),"070":jl.concat(xl,Cl(21),23,24,Rl,25,Cl(26),Cl(28),30,Cl(31),$l,Cl(41),zl),"072":jl.concat(xl,Cl(21),23,24,_l,25,Cl(26),Cl(28),30,Cl(31),$l,Cl(41),Vl,Cl(50)),1200:Pl.concat(Zl,_l,Bl(28,33),Yl,Bl(34,37),Cl(38),40,Cl(41),Vl,Cl(50)),1201:Pl.concat(Zl,_l,Bl(28,40),Cl(41),Vl,Cl(50)),1220:Pl.concat(Zl,kl,Ll,Bl(28,40),Cl(41),zl),1221:Pl.concat(Zl,Ol,Bl(28,50)),150:Ul.concat(Bl(0,28),Rl,Bl(29,50)),152:Ul.concat(Bl(0,28),_l,Bl(29,49),Cl(50)),170:jl.concat(Zl,_l,Bl(28,40),Cl(41),Vl,Cl(50)),1720:jl.concat(Zl,_l,Bl(28,33),Yl,Bl(34,37),Cl(38),40,Cl(41),Vl,Cl(50))};Fl["0221"]=Fl["020"],Fl["0310"]=Fl["0220"],Fl["0311"]=Fl["020"],Fl[1310]=Fl[1220],Fl[1311]=Fl[1221],Fl[1721]=Fl[170];const Kl=new Al({maxSize:400});function Gl(e,t){const n=`${e}-${t?1:0}`;let r=Kl.get(n);return r||(r=new vl(e,t),Kl.set(n,r)),r}const Jl=d.NISAN,Wl=d.IYYAR,ql=d.SIVAN,Xl=d.ELUL,Ql=d.TISHREI,ef=d.CHESHVAN,tf=d.SHVAT,nf=d.ADAR_II,rf=Se.CHAG,of=Se.LIGHT_CANDLES,af=Se.YOM_TOV_ENDS,sf=Se.CHUL_ONLY,cf=Se.IL_ONLY,uf=Se.LIGHT_CANDLES_TZEIS,hf=Se.MINOR_HOLIDAY,lf=Se.EREV,ff=Se.CHOL_HAMOED,df="🫓",mf="🌿🍋",gf="Rosh Hashana II",Sf="Erev Yom Kippur",yf="Yom Kippur",wf="Erev Sukkot",pf="Sukkot I",Af="Sukkot II",Tf="Sukkot III (CH''M)",If="Sukkot IV (CH''M)",Mf="Sukkot V (CH''M)",vf="Sukkot VI (CH''M)",Ef="Shmini Atzeret",bf="Simchat Torah",Hf="Sukkot II (CH''M)",Nf="Sukkot VII (Hoshana Raba)",Cf="Tu BiShvat",Df="Erev Purim",Of="Purim",kf="Shushan Purim",_f="Erev Pesach",Rf="Pesach I",Lf="Pesach II",Yf="Pesach II (CH''M)",Bf="Pesach III (CH''M)",Pf="Pesach IV (CH''M)",Uf="Pesach V (CH''M)",jf="Pesach VI (CH''M)",xf="Pesach VII",Zf="Pesach VIII",$f="Pesach Sheni",Vf="Lag BaOmer",zf="Erev Shavuot",Ff="Shavuot",Kf="Shavuot I",Gf="Shavuot II",Jf="Tu B'Av",Wf="Rosh Hashana LaBehemot",qf="Erev Rosh Hashana",Xf="Yom Yerushalayim",Qf="Ben-Gurion Day",ed="Family Day",td="Yitzhak Rabin Memorial Day",nd="Herzl Day",rd="Jabotinsky Day",od="Sigd",ad="Yom HaAliyah",id="Yom HaAliyah School Observance",sd="Hebrew Language Day",cd={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:Qf,CHANUKAH_1_CANDLE:"Chanukah: 1 Candle",EREV_PESACH:_f,EREV_PURIM:Df,EREV_ROSH_HASHANA:qf,EREV_SHAVUOT:zf,EREV_SUKKOT:wf,EREV_YOM_KIPPUR:Sf,FAMILY_DAY:ed,HEBREW_LANGUAGE_DAY:sd,HERZL_DAY:nd,JABOTINSKY_DAY:rd,LAG_BAOMER:Vf,PESACH_I:Rf,PESACH_II:Lf,PESACH_III_CHM:Bf,PESACH_II_CHM:Yf,PESACH_IV_CHM:Pf,PESACH_SHENI:$f,PESACH_VII:xf,PESACH_VIII:Zf,PESACH_VI_CHM:jf,PESACH_V_CHM:Uf,PURIM:Of,ROSH_HASHANA_II:gf,ROSH_HASHANA_LABEHEMOT:Wf,SHAVUOT:Ff,SHAVUOT_I:Kf,SHAVUOT_II:Gf,SHMINI_ATZERET:Ef,SHUSHAN_PURIM:kf,SIGD:od,SIMCHAT_TORAH:bf,SUKKOT_I:pf,SUKKOT_II:Af,SUKKOT_III_CHM:Tf,SUKKOT_II_CHM:Hf,SUKKOT_IV_CHM:If,SUKKOT_VII_HOSHANA_RABA:Nf,SUKKOT_VI_CHM:vf,SUKKOT_V_CHM:Mf,TU_BAV:Jf,TU_BISHVAT:Cf,YITZHAK_RABIN_MEMORIAL_DAY:td,YOM_HAALIYAH:ad,YOM_HAALIYAH_SCHOOL_OBSERVANCE:id,YOM_KIPPUR:yf,YOM_YERUSHALAYIM:Xf},ud=[{mm:Ql,dd:2,desc:gf,flags:rf|af,emoji:"🍏🍯"},{mm:Ql,dd:9,desc:Sf,flags:lf|of},{mm:Ql,dd:10,desc:yf,flags:rf|Se.MAJOR_FAST|af},{mm:Ql,dd:14,desc:wf,flags:sf|lf|of,emoji:mf},{mm:Ql,dd:15,desc:pf,flags:sf|rf|uf,emoji:mf},{mm:Ql,dd:16,desc:Af,flags:sf|rf|af,emoji:mf},{mm:Ql,dd:17,desc:Tf,flags:sf|ff,chmDay:1,emoji:mf},{mm:Ql,dd:18,desc:If,flags:sf|ff,chmDay:2,emoji:mf},{mm:Ql,dd:19,desc:Mf,flags:sf|ff,chmDay:3,emoji:mf},{mm:Ql,dd:20,desc:vf,flags:sf|ff,chmDay:4,emoji:mf},{mm:Ql,dd:22,desc:Ef,flags:sf|rf|uf},{mm:Ql,dd:23,desc:bf,flags:sf|rf|af},{mm:Ql,dd:14,desc:wf,flags:cf|lf|of,emoji:mf},{mm:Ql,dd:15,desc:pf,flags:cf|rf|af,emoji:mf},{mm:Ql,dd:16,desc:Hf,flags:cf|ff,chmDay:1,emoji:mf},{mm:Ql,dd:17,desc:Tf,flags:cf|ff,chmDay:2,emoji:mf},{mm:Ql,dd:18,desc:If,flags:cf|ff,chmDay:3,emoji:mf},{mm:Ql,dd:19,desc:Mf,flags:cf|ff,chmDay:4,emoji:mf},{mm:Ql,dd:20,desc:vf,flags:cf|ff,chmDay:5,emoji:mf},{mm:Ql,dd:22,desc:Ef,flags:cf|rf|af},{mm:Ql,dd:21,desc:Nf,flags:of|ff,chmDay:-1,emoji:mf},{mm:tf,dd:15,desc:Cf,flags:hf,emoji:"🌳"},{mm:nf,dd:13,desc:Df,flags:lf|hf,emoji:"🎭️📜"},{mm:nf,dd:14,desc:Of,flags:hf,emoji:"🎭️📜"},{mm:nf,dd:15,desc:kf,flags:hf,emoji:"🎭️📜"},{mm:Jl,dd:14,desc:_f,flags:cf|lf|of,emoji:"🫓🍷"},{mm:Jl,dd:15,desc:Rf,flags:cf|rf|af,emoji:df},{mm:Jl,dd:16,desc:Yf,flags:cf|ff,chmDay:1,emoji:df},{mm:Jl,dd:17,desc:Bf,flags:cf|ff,chmDay:2,emoji:df},{mm:Jl,dd:18,desc:Pf,flags:cf|ff,chmDay:3,emoji:df},{mm:Jl,dd:19,desc:Uf,flags:cf|ff,chmDay:4,emoji:df},{mm:Jl,dd:20,desc:jf,flags:cf|ff|of,chmDay:5,emoji:df},{mm:Jl,dd:21,desc:xf,flags:cf|rf|af,emoji:df},{mm:Jl,dd:14,desc:_f,flags:sf|lf|of,emoji:"🫓🍷"},{mm:Jl,dd:15,desc:Rf,flags:sf|rf|uf,emoji:"🫓🍷"},{mm:Jl,dd:16,desc:Lf,flags:sf|rf|af,emoji:df},{mm:Jl,dd:17,desc:Bf,flags:sf|ff,chmDay:1,emoji:df},{mm:Jl,dd:18,desc:Pf,flags:sf|ff,chmDay:2,emoji:df},{mm:Jl,dd:19,desc:Uf,flags:sf|ff,chmDay:3,emoji:df},{mm:Jl,dd:20,desc:jf,flags:sf|ff|of,chmDay:4,emoji:df},{mm:Jl,dd:21,desc:xf,flags:sf|rf|uf,emoji:df},{mm:Jl,dd:22,desc:Zf,flags:sf|rf|af,emoji:df},{mm:Wl,dd:14,desc:$f,flags:hf},{mm:Wl,dd:18,desc:Vf,flags:hf,emoji:"🔥"},{mm:ql,dd:5,desc:zf,flags:lf|of,emoji:"⛰️🌸"},{mm:ql,dd:6,desc:Ff,flags:cf|rf|af,emoji:"⛰️🌸"},{mm:ql,dd:6,desc:Kf,flags:sf|rf|uf,emoji:"⛰️🌸"},{mm:ql,dd:7,desc:Gf,flags:sf|rf|af,emoji:"⛰️🌸"},{mm:d.AV,dd:15,desc:Jf,flags:hf,emoji:"❤️"},{mm:Xl,dd:1,desc:Wf,flags:hf,emoji:"🐑"},{mm:Xl,dd:29,desc:qf,flags:lf|of,emoji:"🍏🍯"}],hd=[{firstYear:5727,mm:Wl,dd:28,desc:Xf,chul:!0},{firstYear:5737,mm:d.KISLEV,dd:6,desc:Qf,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:tf,dd:30,desc:ed},{firstYear:5758,mm:ef,dd:12,desc:td,friSatMovetoThu:!0},{firstYear:5764,mm:Wl,dd:10,desc:nd,satPostponeToSun:!0},{firstYear:5765,mm:d.TAMUZ,dd:29,desc:rd,satPostponeToSun:!0},{firstYear:5769,mm:ef,dd:29,desc:od,chul:!0,suppressEmoji:!0,friSatMovetoThu:!0},{firstYear:5777,mm:Jl,dd:10,desc:ad,chul:!0},{firstYear:5777,mm:ef,dd:7,desc:id},{firstYear:5773,mm:d.TEVET,dd:21,desc:sd,friSatMovetoThu:!0}];class ld extends we{basename(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}url(){if(this.greg().getFullYear()<100)return;const e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&Se.IL_ONLY?e+"?i=on":e}urlDateSuffix(){const e=this.greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&Se.SPECIAL_SHABBAT?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;switch(this.getDesc()){case cd.LAG_BAOMER:case cd.LEIL_SELICHOT:case cd.PESACH_SHENI:case cd.EREV_PURIM:case cd.PURIM_KATAN:case cd.SHUSHAN_PURIM:case cd.TU_BAV:case cd.TU_BISHVAT:case cd.ROSH_HASHANA_LABEHEMOT:return["holiday","minor"]}return["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}}class fd extends ld{urlDateSuffix(){return W(this.greg()).replace(/-/g,"")}}const dd=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];class md extends ld{constructor(e,t,n,r){if(super(e,t,n),this.chanukahDay=r,this.emoji="🕎",8!==r){const e=r?r+1:1;this.emoji+=dd[e]}}urlDateSuffix(){const e=this.greg();let t=e.getFullYear();return 0===e.getMonth()&&t--,String(t)}}class gd extends ld{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return oe.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const Sd="Rosh Chodesh";class yd extends ld{constructor(e,t){super(e,`${Sd} ${t}`,Se.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=oe.gettext(t,e).replace(/'/g,"’");return oe.gettext(Sd,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}const wd="Yom Kippur Katan";class pd extends ld{constructor(e,t){super(e,`${wd} ${t}`,Se.MINOR_FAST|Se.YOM_KIPPUR_KATAN),this.nextMonthName=t,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${t}`}basename(){return this.getDesc()}render(e){const t=oe.gettext(this.nextMonthName,e).replace(/'/g,"’");return oe.gettext(wd,e)+" "+t}renderBrief(e){return oe.gettext(wd,e)}url(){}}function Ad(e,t){const n=he.isHDate(e)?e:new he(e),r=n.toString(),o=Fd(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;return o.filter(e=>e.observedIn(t))}const Td=Se.CHAG,Id=Se.IL_ONLY,Md=Se.LIGHT_CANDLES_TZEIS,vd=Se.CHANUKAH_CANDLES,Ed=Se.MINOR_FAST,bd=Se.SPECIAL_SHABBAT,Hd=Se.MODERN_HOLIDAY,Nd=Se.MAJOR_FAST,Cd=Se.MINOR_HOLIDAY,Dd=Se.EREV,Od=0,kd=2,_d=4,Rd=5,Ld=6,Yd=d.NISAN,Bd=d.TAMUZ,Pd=d.AV,Ud=d.TISHREI,jd=d.KISLEV,xd=d.TEVET,Zd=d.ADAR_I,$d=d.ADAR_II,Vd={emoji:"🇮🇱"},zd=new Al({maxSize:400});function Fd(e){if("number"!=typeof e)throw new TypeError(`bad Hebrew year: ${e}`);if(e<1||e>32658)throw new RangeError(`Hebrew year ${e} out of range 1-32658`);const t=zd.get(e);if(t)return t;const n=new he(1,Ud,e),r=new he(15,Yd,e),o=new Map;function a(...e){for(const t of e){const e=t.date.toString(),n=o.get(e);"object"==typeof n?n[0].getFlags()&Dd?n.unshift(t):n.push(t):o.set(e,[t])}}for(const t of ud){const n=new he(t.dd,t.mm,e),r=new ld(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new gd(n,e,Td|Md));const i=n.getDay()===_d?4:3;a(new ld(new he(i,Ud,e),cd.TZOM_GEDALIAH,Ed)),a(new ld(new he(he.dayOnOrBefore(Ld,7+n.abs())),cd.SHABBAT_SHUVA,bd));const s=he.shortKislev(e)?new he(1,xd,e):new he(30,jd,e);a(new ld(s,cd.CHAG_HABANOT,Cd)),a(new md(new he(24,jd,e),cd.CHANUKAH_1_CANDLE,Dd|Cd|vd,void 0));for(let t=2;t<=8;t++){const n=new he(23+t,jd,e);a(new md(n,`Chanukah: ${t} Candles`,Cd|vd,t-1))}a(new md(new he(32,jd,e),cd.CHANUKAH_8TH_DAY,Cd,8)),a(new fd(new he(10,xd,e),cd.ASARA_BTEVET,Ed));const c=r.abs();a(new ld(new he(he.dayOnOrBefore(Ld,c-43)),cd.SHABBAT_SHEKALIM,bd),new ld(new he(he.dayOnOrBefore(Ld,c-30)),cd.SHABBAT_ZACHOR,bd),new ld(new he(c-(r.getDay()===kd?33:31)),cd.TAANIT_ESTHER,Ed));const u=he.dayOnOrBefore(Ld,c-14);a(new ld(new he(u-7),cd.SHABBAT_PARAH,bd),new ld(new he(u),cd.SHABBAT_HACHODESH,bd),new ld(new he(he.dayOnOrBefore(Ld,c-1)),cd.SHABBAT_HAGADOL,bd),new ld(r.prev().getDay()===Ld?r.onOrBefore(_d):new he(14,Yd,e),cd.TAANIT_BECHOROT,Ed)),a(new ld(new he(he.dayOnOrBefore(Ld,new he(1,Ud,e+1).abs()-4)),cd.LEIL_SELICHOT,Cd,{emoji:"🕍"})),r.getDay()===Od&&a(new ld(new he(16,$d,e),cd.PURIM_MESHULASH,Cd)),he.isLeapYear(e)&&(a(new ld(new he(14,Zd,e),cd.PURIM_KATAN,Cd,{emoji:"🎭️"})),a(new ld(new he(15,Zd,e),cd.SHUSHAN_PURIM_KATAN,Cd,{emoji:"🎭️"})));const h=function(e){if(e<5711)return null;let t=new he(27,Tl,e);return 5===t.getDay()?t=new he(26,Tl,e):0===t.getDay()&&(t=new he(28,Tl,e)),t}(e);h&&a(new ld(h,cd.YOM_HASHOAH,Hd));const l=Ml(e);l&&a(new ld(l,cd.YOM_HAZIKARON,Hd,Vd),new ld(l.next(),cd.YOM_HAATZMA_UT,Hd,Vd));for(const t of hd)if(e>=t.firstYear){let n=new he(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||r!==Rd&&r!==Ld?t.friPostponeToSun&&r===Rd?n=new he(n.abs()+2):t.satPostponeToSun&&r===Ld&&(n=n.next()):n=n.onOrBefore(_d);const o=t.chul?Hd:Hd|Id,i=new ld(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let f,m=new he(17,Bd,e);m.getDay()===Ld&&(m=new he(18,Bd,e),f={observed:!0}),a(new ld(m,cd.TZOM_TAMMUZ,Ed,f));let g,S=new he(9,Pd,e),y=cd.TISHA_BAV;S.getDay()===Ld&&(S=S.next(),g={observed:!0},y+=" (observed)");const w=S.abs();a(new ld(new he(he.dayOnOrBefore(Ld,w)),cd.SHABBAT_CHAZON,bd),new ld(S.prev(),cd.EREV_TISHA_BAV,Dd|Nd,g),new ld(S,y,Nd,g),new ld(new he(he.dayOnOrBefore(Ld,w+7)),cd.SHABBAT_NACHAMU,bd));const p=he.monthsInYear(e);for(let t=1;t<=p;t++){const n=he.getMonthName(t,e);30===(t===Yd?he.daysInMonth(he.monthsInYear(e-1),e-1):he.daysInMonth(t-1,e))?(a(new yd(new he(1,t,e),n)),a(new yd(new he(30,t-1,e),n))):t!==Ud&&a(new yd(new he(1,t,e),n))}for(let t=d.IYYAR;t<=p;t++){const n=t+1;if(n===Ud||n===d.CHESHVAN||n===xd)continue;let r=new he(29,t,e);const o=r.getDay();o!==Rd&&o!==Ld||(r=r.onOrBefore(_d));const i=he.getMonthName(n,e);a(new pd(r,i))}const A=Gl(e,!1).find(15);a(new ld(A,cd.SHABBAT_SHIRAH,bd));const T=function(e){const t=he.isLeapYear(e),n=t?$d:Yd,r=t?20:1,o=he.hebrew2abs(e,n,r);for(let e=0;e<=40;e++){const t=o+e;if((t+1373429)%10227==172)return t}return 0}(e);if(T){const e=new he(T);a(new ld(e,cd.BIRKAT_HACHAMAH,Cd,{emoji:"☀️"}))}return zd.set(e,o),o}function Kd(e,t){const n=Fd(e),r=he.hebrew2abs(e,Ud,1),o=he.hebrew2abs(e+1,Ud,1)-1;let a=[];for(let e=r;e<=o;e++){const r=new he(e),o=n.get(r.toString());if(o){const e=o.filter(e=>e.observedIn(t));a=a.concat(e)}}return a}const Gd=Se.LIGHT_CANDLES|Se.LIGHT_CANDLES_TZEIS;const Jd={US:1,CA:1,BR:1,AU:1,NZ:1,DO:1,PR:1,GR:1,IN:1,KR:1,NP:1,ZA:1};function Wd(e,t,n){var r;if("string"!=typeof e)throw new TypeError(`Bad timeStr: ${e}`);const o=(null===(r=null==n?void 0:n.location)||void 0===r?void 0:r.getCountryCode())||((null==n?void 0:n.il)?"IL":"US"),a=null==n?void 0:n.hour12;if(void 0!==a&&!a)return e;if(!a&&void 0===Jd[o])return e;const i=e.split(":");let s=parseInt(i[0],10);return s<12&&t?(t=t.replace("p","a").replace("P","A"),0===s&&(s=12)):s>12?s%=12:0===s&&(s="00"),`${s}:${i[1]}${t}`}class qd extends we{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=pl.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=pl.formatTime(this.eventTime,s);const c=Object.assign(Object.assign({},i),{location:o});this.fmtTime=Wd(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return oe.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return oe.gettext(this.getDesc(),e)}getCategories(){switch(this.getDesc()){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}return["unknown"]}}class Xd extends qd{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}class Qd extends qd{constructor(e,t,n,r,o,a,i){super(e,"Havdalah",t,n,r,a,i),o&&(this.havdalahMins=o)}render(e){return this.renderBrief(e)+": "+this.fmtTime}renderBrief(e){let t=oe.gettext(this.getDesc(),e);if(this.havdalahMins){const n=oe.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}const em=Se.LIGHT_CANDLES,tm=Se.LIGHT_CANDLES_TZEIS;function nm(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():em;void 0!==e?r||(s&(tm|Se.CHANUKAH_CANDLES)?i=!0:s&Se.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=tm);const c=Number(i?n.havdalahMins:n.candleLightingMins),u=n.location,h=Boolean(n.useElevation),l=new pl(u,t,h),f=i&&!c?l.tzeit(n.havdalahDeg):l.sunsetOffset(c,!0);if(!isNaN(f.getTime()))return a?new Qd(t,s,f,u,n.havdalahMins,e,n):(s|=em,new Xd(t,s,f,u,e,n))}const rm="Fast begins",om="Fast ends";class am extends ld{constructor(e,t,n){super(e.getDate(),e.getDesc(),e.getFlags()),this.linkedEvent=e,this.startEvent=t,this.endEvent=n}render(e){return this.linkedEvent.render(e)}renderBrief(e){return this.linkedEvent.renderBrief(e)}urlDateSuffix(){return this.linkedEvent.urlDateSuffix()}url(){return this.linkedEvent.url()}getEmoji(){return this.linkedEvent.getEmoji()}getCategories(){return this.linkedEvent.getCategories()}}function im(e,t,n,r){const o=r.location,a=e.getDate();return new qd(a,n,e.getFlags(),t,o,e,r)}class sm extends md{constructor(e,t,n){super(e.getDate(),e.getDesc(),e.getFlags(),e.chanukahDay),this.eventTime=pl.roundTime(t);const r=n.getTimeFormatter();this.eventTimeStr=pl.formatTime(this.eventTime,r),this.location=n,this.emoji=e.emoji}}const cm=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],um=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],hm=["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],lm="בַּלַּ֥יְלָה";class fm{constructor(e,t){this.m=function(e,t){let n=t-7;n<0&&(n+=v(e));const r=235*Math.floor((e-1)/19)+(e-1)%19*12+Math.floor(((e-1)%19*7+1)/19)+n,o=204+Math.floor(r%1080*793),a=5+12*r+793*Math.floor(r/1080)+Math.floor(o/1080)-6,i=(o%1080+a%24*1080)%1080;return{year:e,month:t,dayOfWeek:(1+29*r+Math.floor(a/24))%7,hour:a%24,minutes:Math.floor(i/18),chalakim:i%18}}(e,t)}getYear(){return this.m.year}getMonth(){return this.m.month}getMonthName(){return he.getMonthName(this.m.month,this.m.year)}getDow(){return this.m.dayOfWeek}getHour(){return this.m.hour}getMinutes(){return this.m.minutes}getChalakim(){return this.m.chalakim}render(e,t){var n;"string"==typeof(e=null!=e?e:"en")&&(e=e.toLowerCase());const r="he"===e||"he-x-nonikud"===e||"h"===e,o="fr"===e,a=oe.gettext(this.getMonthName(),e),i=(r?um:o?hm:cm)[this.getDow()],s=this.getMinutes(),c=this.getHour(),u=this.getChalakim(),h=oe.gettext("Molad",e),l=null!==(n=oe.lookupTranslation("min",e))&&void 0!==n?n:"minutes",f=oe.gettext("chalakim",e),d=oe.gettext("and",e),m=oe.gettext("after",e);if(r){const t=function(e){return e<5?lm:e<12?"בַּבֹּקֶר":e<17?"בַּצׇּהֳרַיִים":e<21?"בָּעֶרֶב":lm}(c),n=`${h} ${a} יִהְיֶה בַּיּוֹם ${i} בשָׁבוּעַ, בְּשָׁעָה ${c} ${t}, ו-${s} ${l} ו-${u} ${f}`;return"he-x-nonikud"===e?oe.hebrewStripNikkud(n):n}const g=Wd(`${c}:00`,"pm",t);return`${h} ${a.replace(/'/g,"’")}: ${i}, ${s} ${l} ${d} ${u} ${f} ${m} ${g}`}}class dm extends we{constructor(e,t,n,r){const o=new fm(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,Se.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}const mm={en:{infix:"within ",infix26:"within ",words:["","Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"],pfxWords:null},he:{infix:null,infix26:null,words:["","חֶֽסֶד","גְּבוּרָה","תִּפְאֶֽרֶת","נֶּֽצַח","הוֹד","יְּסוֹד","מַלְכוּת"],pfxWords:["","שֶׁבְּחֶֽסֶד","שֶׁבִּגְבוּרָה","שֶׁבְּתִפְאֶֽרֶת","שֶׁבְּנֶֽצַח","שֶׁבְּהוֹד","שֶׁבִּיְסוֹד","שֶׁבְּמַלְכוּת"]},translit:{infix:"sheb'",infix26:"shebi",words:["","Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"],pfxWords:null}};function gm(e){return[Math.floor((e-1)/7)+1,e%7||7]}const Sm=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],ym=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],wm="שְׁנֵי",pm="יָמִים",Am=wm+" "+pm,Tm="שָׁבוּעוֹת",Im="יוֹם",Mm=Im+" "+ym[1],vm="עָשָׂר";class Em extends we{constructor(e,t){super(e,`Omer ${t}`,Se.OMER_COUNT),function(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}(t),this.weekNumber=Math.floor((t-1)/7)+1,this.daysWithinWeeks=t%7||7,this.omer=t}sefira(e="en"){"he"!==e&&"translit"!==e&&(e="en");const[t,n]=gm(this.omer),r=mm[e],o=r.pfxWords,a=r.words,i=o?o[t]:a[t];return(a[n]+" "+(o?"":2===t||6===t?r.infix26:r.infix)+i).normalize()}render(e){"string"==typeof(e=null!=e?e:"en")&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?$(n):oe.ordinal(n,e))+" "+oe.gettext("day of the Omer",e)}renderBrief(e){return oe.gettext("Omer",e)+" "+oe.gettext("day",e)+" "+this.omer}getEmoji(){if("string"==typeof this.emoji)return this.emoji;let e;const t=this.omer;return e=t<=20?9312+t-1:t<=35?12881+t-21:12977+t-36,String.fromCodePoint(e)}getWeeks(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}getDaysWithinWeeks(){return this.daysWithinWeeks}getTodayIs(e){"string"==typeof(e=null!=e?e:"en")&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";if(11===e?r+="אַחַד "+vm:12===e?r+="שְׁנֵים "+vm:12<e&&e<20?r+=ym[n]+" "+vm:e>9&&(r+=ym[n],n&&(r+=" ",r+=3===t?"וּ":"וְ")),e>2?((e>20||10===e||20===e)&&(r+=Sm[t]),r+=e<11?ym[n]+" "+pm+" ":" יוֹם "):r+=1===e?Mm+" ":Am+" ",e>6){r=r.trim(),r+=", שֶׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?ym[t]+" "+Tm+" ":1===t?"שָׁבֽוּעַ "+ym[1]+" ":wm+" "+Tm+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?ym[n]+" "+pm+" ":1===n?Mm+" ":Am+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(this.omer):function(e){const[t,n]=gm(e);let r=`Today is ${e} ${1===e?"day":"days"}`;if(t>1||7===e){const e=7===n,o=e?t:t-1;r+=`, which is ${o} ${1===o?"week":"weeks"}`,e||(r+=` and ${n} ${1===n?"day":"days"}`)}return r+" of the Omer"}(this.omer);return"he-x-nonikud"===e?oe.hebrewStripNikkud(t):t}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class bm extends we{constructor(e){const t="Parashat "+e.parsha.join("-");super(e.hdate,t,Se.PARSHA_HASHAVUA),this.p=e}render(e){return function(e,t){const n=null!=t?t:"en";let r=oe.gettext(e[0],n);2===e.length&&(r+=("he"===n?"־":"-")+oe.gettext(e[1],n));return r=r.replace(/'/g,"’"),(oe.gettext("Parashat",t)+" "+r).normalize()}(this.p.parsha,e)}basename(){return this.p.parsha.join("-")}url(){if(this.greg().getFullYear()<100)return;const e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.p.il?t+"?i=on":t}urlDateSuffix(){return W(this.greg()).replace(/-/g,"")}}const Hm="Shabbat Mevarchim Chodesh";class Nm extends we{constructor(e,t,n,r){if(super(e,`${Hm} ${t}`,Se.SHABBAT_MEVARCHIM),this.monthName=oe.gettext(t,r),n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n===he.monthsInYear(t)?d.NISAN:n+1,o=new fm(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=oe.gettext(this.monthName,e).replace(/'/g,"’");return oe.gettext(Hm,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}const Cm=new Map;class Dm{static addCalendar(e,t,n){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);Cm.set(e.toLowerCase(),{fn:t,startDate:n})}static lookup(e,t,n){const r=Cm.get(e.toLowerCase());return"object"==typeof r?r.fn(t,n):null}static getStartDate(e){const t=Cm.get(e.toLowerCase());if("object"==typeof t)return t.startDate}static has(e){return Cm.has(e.toLowerCase())}static getCalendars(){return Array.from(Cm.keys())}}function Om(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const km={shacharit:!1,mincha:!1,allCongs:!1};function _m(e,t){return Rm(e,t,!0)}function Rm(e,t,n){const r=function(e,t){const n=he.isLeapYear(e),r=he.monthsInYear(e);let o=new he(9,d.AV,e);6===o.getDay()&&(o=o.next());let a=new he(15,d.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[new he(2,d.TISHREI,e)].concat(Om(1,r).map(t=>new he(1,t,e)),Om(1,r).filter(t=>30===he.daysInMonth(t,e)).map(t=>new he(30,t,e)),Om(1,he.daysInMonth(d.NISAN,e)).map(t=>new he(t,d.NISAN,e)),new he(18,d.IYYAR,e),Om(1,8-(t?1:0)).map(t=>new he(t,d.SIVAN,e)),o,new he(15,d.AV,e),new he(29,d.ELUL,e),Om(9,24-(t?1:0)).map(t=>new he(t,d.TISHREI,e)),Om(25,33).map(t=>new he(t,d.KISLEV,e)),new he(15,d.SHVAT,e),new he(14,d.ADAR_II,e),a,n?new he(14,d.ADAR_I,e):[]),s=[new he(14,d.IYYAR,e)].concat(Om(1,13).map(t=>new he(t,d.SIVAN,e)),Om(20,31).map(t=>new he(t,d.TISHREI,e)),e>=5708?Ml(e).next():[],e>=5727?new he(28,d.IYYAR,e):[]),c=[new he(29,d.ELUL,e-1),new he(9,d.TISHREI,e),new he(14,d.IYYAR,e)];return{none:i.map(e=>e.abs()).sort((e,t)=>e-t),some:s.map(e=>e.abs()).sort((e,t)=>e-t),yesPrev:c.map(e=>e.abs()).sort((e,t)=>e-t)}}(e.yy,t),o=e.abs();if(r.none.indexOf(o)>-1)return km;const a=e.getDay(),i={shacharit:!1,mincha:!1,allCongs:!1};-1===r.some.indexOf(o)&&(i.allCongs=!0),6!==a&&(i.shacharit=!0);const s=o+1;if(n&&-1===r.yesPrev.indexOf(s)){const e=Rm(new he(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:km}const Lm=d.TISHREI;function Ym(e){if("number"==typeof e)return e;if(c(e))return h(e);if(he.isHDate(e))return e.abs();throw new TypeError(`Invalid date type: ${e}`)}function Bm(e){if(e.start&&!e.end||e.end&&!e.start)throw new TypeError("Both options.start and options.end are required");if(e.start&&e.end)return[Ym(e.start),Ym(e.end)];const t=Boolean(e.isHebrewYear),n=function(e){return void 0!==e.year?Number(e.year):e.isHebrewYear?(new he).getFullYear():(new Date).getFullYear()}(e);if(isNaN(n))throw new RangeError(`Invalid year ${e.year}`);if(t&&n<1)throw new RangeError(`Invalid Hebrew year ${n}`);const r=function(e){if(e.month){if(e.isHebrewYear)return he.monthNum(e.month);if("number"==typeof e.month)return e.month}return NaN}(e),o=Number(e.numYears)||1;return t?function(e,t,n){const r=new he(1,e||Lm,t);let o=r.abs();const a=e?o+r.daysInMonth():new he(1,Lm,t+n).abs()-1;!e&&t>1&&o--;return[o,a]}(r,n,o):function(e,t,n){const r=e?e-1:0,o=new Date(t,r,1);t<100&&o.setFullYear(t);const a=h(o);let i;if(e)i=a+s(e,t)-1;else{const e=t+n,r=new Date(e,0,1);e<100&&r.setFullYear(e),i=h(r)-1}return[a,i]}(r,n,o)}function Pm(e={}){!function(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof yl))throw new TypeError("options.candlelighting requires valid options.location");if("number"==typeof e.havdalahMins&&"number"==typeof e.havdalahDeg)throw new TypeError("options.havdalahMins and options.havdalahDeg are mutually exclusive");const n=e.candleLightingMins;let r="number"!=typeof n||isNaN(n)?18:Math.trunc(n);t.getIsrael()&&18===Math.abs(r)&&(r=function(e,t){const n=e.getGeoId();if(n){const e=Sg[n];if("number"==typeof e)return e}const r=e.getShortName();if(r){const e=gg[r];if("number"==typeof e)return e}return t}(t,r));e.candleLightingMins=-1*Math.abs(r),"number"==typeof e.havdalahMins?e.havdalahMins=Math.trunc(Math.abs(e.havdalahMins)):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=yg;"number"!=typeof e.fastEndDeg&&(e.fastEndDeg=wg)}(e=Object.assign({},e));const t=e.location=e.location||Ag,n=e.il=e.il||t.getIsrael()||!1,r="number"==typeof e.mask;if(e.mask=function(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask||0;t&eg&&delete e.noRoshChodesh;t&Xm&&delete e.noModern;t&Wm&&delete e.noMinorFast;t&qm&&delete e.noSpecialShabbat;t&tg&&(e.sedrot=!0);t&(ng|rg|og|ag)&&(e.dailyLearning=e.dailyLearning||{},t&ng&&(e.dailyLearning.dafYomi=!0),t&rg&&(e.dailyLearning.mishnaYomi=!0),t&og&&(e.dailyLearning.nachYomi=!0),t&ag&&(e.dailyLearning.yerushalmi=1));t&ig&&(e.omer=!0);t&sg&&(e.shabbatMevarchim=!0);t&lg&&(e.yomKippurKatan=!0);t&fg&&(e.yizkor=!0);return t}(e);const n=e.il||(null===(t=e.location)||void 0===t?void 0:t.getIsrael())||!1;let r=0;e.noHolidays||(r|=eg|zm|Wm|qm|Xm|Qm|cg|ug|hg|Vm|Gm|Jm);e.candlelighting&&(r|=Vm|Gm|zm);e.noRoshChodesh&&(r&=~eg);e.noModern&&(r&=~Xm);e.noMinorFast&&(r&=~Wm);e.noSpecialShabbat&&(r&=~qm,r&=~sg);r|=n?Km:Fm;e.sedrot&&(r|=tg);e.omer&&(r|=ig);e.shabbatMevarchim&&(r|=sg);e.yomKippurKatan&&(r|=lg);e.yizkor&&(r|=fg);if(e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=ng),t.mishnaYomi&&(r|=rg),t.nachYomi&&(r|=og),t.yerushalmi&&(r|=ag)}return r}(e),e.locale){const t=e.locale;if(t&&"string"!=typeof t)throw new TypeError(`Invalid options.locale: ${t}`);if(!oe.hasLocale(t))throw new TypeError(`Locale '${t}' not found; did you forget to import @hebcal/locales?`)}else e.ashkenazi?e.locale="ashkenazi":e.locale="en";const o=[];let a,i,s=-1,c=-1,u=-1;const h=Bm(e);!function(e){for(const t of Object.keys(e))void 0!==mg[t]||dg.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),dg.add(t));if(e.dailyLearning)for(const t of Object.keys(e.dailyLearning))dg.has(t)||Dm.has(t)||(console.warn(`Ignoring unrecognized DailyLearning calendar: ${t}`),dg.add(t))}(e);const f=h[0],m=h[1];l(f).getFullYear()<100&&(e.candlelighting=!1,e.sedrot=!1);for(let t=f;t<=m;t++){const h=new he(t),l=h.getFullYear();l!==u&&(u=l,i=Fd(u),e.sedrot&&(a=Gl(u,n)),e.omer&&(s=he.hebrew2abs(u,xm,16),c=he.hebrew2abs(u,Zm,5)));const f=o.length,m=h.getDay(),g=m===Um,S=m===jm;let y;const w=(i.get(h.toString())||[]).filter(e=>e.observedIn(n));for(const t of w)y=Tg(y,o,t,e,g,S,r);if(e.sedrot&&S){const e=a.lookup(t);e.chag||o.push(new bm(e))}if(e.yizkor){const e=h.getMonth(),t=h.getDate();if(e===d.TISHREI&&(10===t||22===t)||e===xm&&t===(n?21:22)||e===Zm&&t===(n?6:7)){const e=w[0],t=new we(h,"Yizkor",Se.YIZKOR,{emoji:"🕯️",linkedEvent:e});o.push(t)}}const p=e.dailyLearning;let A=0;if("object"==typeof p){const e=vg(h,p,n);A=e.length,A&&o.push(...e)}if(e.omer&&t>=s&&t<=c){const n=Eg(h,t-s+1,e);o.push(n)}if(S&&(e.molad||e.shabbatMevarchim)){const t=Ig(h,e);o.push(...t)}if(!y&&e.candlelighting&&(g||S)&&(y=nm(void 0,h,e,g,S),g&&y&&a)){const n=a.lookup(t);if(n.chag)y.memo=oe.gettext(n.parsha[0],e.locale);else{const t=new bm(n);y.memo=t.render(e.locale)}}if(y instanceof Qd&&(0===e.havdalahMins||0===e.havdalahDeg)&&(y=void 0),y&&o.push(y),e.addHebrewDates||e.addHebrewDatesForEvents&&f!==o.length-A){const e=new pe(h);f===o.length?o.push(e):o.splice(f,0,e)}}return o}const Um=5,jm=6,xm=d.NISAN,Zm=d.SIVAN,$m=d.ELUL,Vm=Se.LIGHT_CANDLES,zm=Se.YOM_TOV_ENDS,Fm=Se.CHUL_ONLY,Km=Se.IL_ONLY,Gm=Se.LIGHT_CANDLES_TZEIS,Jm=Se.CHANUKAH_CANDLES,Wm=Se.MINOR_FAST,qm=Se.SPECIAL_SHABBAT,Xm=Se.MODERN_HOLIDAY,Qm=Se.MAJOR_FAST,eg=Se.ROSH_CHODESH,tg=Se.PARSHA_HASHAVUA,ng=Se.DAF_YOMI,rg=Se.MISHNA_YOMI,og=Se.NACH_YOMI,ag=Se.YERUSHALMI_YOMI,ig=Se.OMER_COUNT,sg=Se.SHABBAT_MEVARCHIM,cg=Se.MINOR_HOLIDAY,ug=Se.EREV,hg=Se.CHOL_HAMOED,lg=Se.YOM_KIPPUR_KATAN,fg=Se.YIZKOR,dg=new Set,mg={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,fastEndDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,mask:1,yomKippurKatan:1,hour12:1,dailyLearning:1,useElevation:1,yizkor:1};const gg={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},Sg={281184:40,294801:30,293067:30},yg=8.5,wg=7.0833333;const pg=Vm|Gm|Jm|zm,Ag=new yl(0,0,!1,"UTC");function Tg(e,t,n,r,o,a,i){const s=r.il||!1;if(!n.observedIn(s))return e;const c=n.getFlags();if(!r.yomKippurKatan&&c&lg||r.noModern&&c&Xm)return e;const u=Boolean(c&Qm),h=Boolean(c&Wm);let l;if(r.candlelighting&&(u||h)&&"Yom Kippur"!==n.getDesc()&&(n=l=function(e,t){const n=e.getDesc();if("Yom Kippur"===n)throw new RangeError("YK does not require this function");const r=e.getDate(),o=r.greg(),a=t.location,i=t.fastEndDeg,s=Boolean(t.useElevation),c=new pl(a,o,s);let u,h;if("Erev Tish'a B'Av"===n){const n=c.sunset();isNaN(n.getTime())||(u=im(e,n,rm,t))}else if(n.startsWith("Tish'a B'Av")){const n=c.tzeit(i);isNaN(n.getTime())||(h=im(e,n,om,t))}else{const n=c.alotHaShachar();if(isNaN(n.getTime())||(u=im(e,n,rm,t)),5!==o.getDay()&&(14!==r.getDate()||r.getMonth()!==d.NISAN)){const n=c.tzeit(i);isNaN(n.getTime())||(h=im(e,n,om,t))}}const l=new am(e,u,h);return Object.assign(l,e),l}(n,r),l.startEvent&&(u||h&&!r.noMinorFast)&&t.push(l.startEvent)),c&Number(r.mask)||!c&&!i){if(r.candlelighting&&c&pg){const t=n.getDate();if(e=nm(n,t,r,o,a),c&Jm&&e&&!r.noHolidays){const t=function(e,t){const n=e.getDate(),r=t.location,o=Boolean(t.useElevation),a=new pl(r,n.greg(),o).beinHaShmashos();return isNaN(a.getTime())?null:new sm(e,a,r)}(n,r);t&&((o||a)&&(t.eventTime=e.eventTime,t.eventTimeStr=e.eventTimeStr),n=t),e=void 0}}(!r.noHolidays||r.yomKippurKatan&&c&lg)&&t.push(n)}return(u||h&&!r.noMinorFast)&&l&&l.endEvent&&t.push(l.endEvent),e}function Ig(e,t){const n=[],r=e.getMonth(),o=e.getDate();if(r!==$m&&o>=23&&o<=29){const o=e.getFullYear(),a=r===he.monthsInYear(o)?xm:r+1;if(t.molad&&n.push(new dm(e,o,a,t)),t.shabbatMevarchim){const r=he.getMonthName(a,o),i=new fm(o,a).render(t.locale||"en",t);n.push(new Nm(e,r,i,t.locale))}}return n}function Mg(e,t){return"yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e}function vg(e,t,n){const r=[];for(const[o,a]of Object.entries(t))if(a){const t=Mg(o,a),i=Dm.lookup(t,e,n);i&&r.push(i)}return r}function Eg(e,t,n){const r=new Em(e,t);if(n.candlelighting){const t=n.location,o=new pl(t,e.prev(),!1).tzeit(7.0833);isNaN(o.getTime())||(r.alarm=o)}return r}function bg(e,t){return 0!==(Ad(e,t)||[]).filter(e=>e.getFlags()&Se.CHAG).length}return e.AsaraBTevetEvent=fd,e.CandleLightingEvent=Xd,e.ChanukahEvent=md,e.DailyLearning=Dm,e.Event=we,e.FastDayEvent=am,e.GeoLocation=hl,e.HDate=he,e.HavdalahEvent=Qd,e.HebrewCalendar=class{constructor(){}static calendar(e={}){return Pm(e)}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=U(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=M(r);let a=n.mm,i=n.dd;return a===B&&!o||a===P&&o?a=v(e):a!==_||30!==i||C(e)?a===R&&30===i&&D(e)?(a=L,i=1):a===B&&30===i&&o&&!M(e)&&(a=k,i=1):(a=R,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new he(n)}static getYahrzeit(e,t){const n=function(e,t){let n=U(t);if(!(e<=n.yy))return n.mm!==_||30!==n.dd||C(n.yy+1)?n.mm===R&&30===n.dd&&D(n.yy+1)?n=I(A(e,L,1)-1):n.mm===P?n.mm=v(e):n.mm!==B||30!==n.dd||M(e)||(n.dd=30,n.mm=Y):n=I(A(e,R,1)-1),n.mm!==_||30!==n.dd||C(e)?n.mm===R&&30===n.dd&&D(e)&&(n.mm=L,n.dd=1):(n.mm=R,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new he(n)}static getHolidaysForYear(e){return Fd(e)}static getHolidaysForYearArray(e,t){return Kd(e,t)}static getHolidaysOnDate(e,t){return Ad(e,t)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new he(e),r=n.after(5),o=n.next();return!(!bg(r,t)||bg(n,t)||!bg(o,t))}static reformatTimeStr(e,t,n){return Wd(e,t,n)}static version(){return t}static getSedra(e,t){return Gl(e,t)}static hallel(e,t){return function(e,t){const n=e.filter(e=>{const t=e.getDesc(),n=e.getDate(),r=n.getMonth(),o=n.getDate();return t.startsWith("Chanukah")||t.startsWith("Shavuot")||t.startsWith("Sukkot")||r===d.NISAN&&(15===o||16===o)&&e.getFlags()&Se.CHAG||"Yom HaAtzma'ut"===t||"Yom Yerushalayim"===t}).map(e=>e.getDate().abs()),r=t.abs();return n.includes(r)?2:e.filter(e=>{const t=e.getDesc();return e.getFlags()&Se.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t}).map(e=>e.getDate().abs()).includes(r)?1:0}(Kd(e.getFullYear(),t),e)}static tachanun(e,t){return _m(e,t)}},e.HebrewDateEvent=pe,e.HolidayEvent=ld,e.Locale=oe,e.Location=yl,e.MevarchimChodeshEvent=Nm,e.Molad=fm,e.MoladEvent=dm,e.NOAACalculator=fl,e.OmerEvent=Em,e.ParshaEvent=bm,e.RoshChodeshEvent=yd,e.RoshHashanaEvent=gd,e.Sedra=vl,e.TimedChanukahEvent=sm,e.TimedEvent=qd,e.YomKippurKatanEvent=pd,e.Zmanim=pl,e.flags=Se,e.gematriya=$,e.gematriyaStrToNum=V,e.getHolidaysOnDate=Ad,e.getSedra=Gl,e.holidayDesc=cd,e.isAssurBemlacha=function(e,t,n){const r=new pl(t,e,n),o=r.sunset().getTime();if(isNaN(o))throw new Error("Could not determine sunset");const a=t.getIsrael(),i=e.getTime(),s=new he(e),c=s.getDay(),u=Ad(s,a)||[];if(function(e,t){return 5===e||!!t.find(e=>e.getFlags()&Gd)}(c,u)&&i>=o)return!0;if(function(e,t){return 6===e||!!t.find(e=>e.getFlags()&Se.CHAG)}(c,u)){return i<=r.tzeit().getTime()}return!1},e.months=d,e.parshaYear=function(e,t){const n=Gl(e,t),r=n.getFirstSaturday(),o=he.hebrew2abs(e,d.ELUL,29),a=[];for(let e=r;e<=o;e+=7){const t=n.lookup(e);if(!t.chag){const e=new bm(t);a.push(e)}}return a},e.parshiot=El,e.version=t,e}({});
|
|
21
21
|
//# sourceMappingURL=bundle.min.js.map
|