@hebcal/rest-api 4.3.15 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +37 -14
- package/dist/bundle.min.js +2 -2
- package/dist/fullcalendar.js +2 -2
- package/dist/fullcalendar.min.js +2 -2
- package/dist/index.js +14 -2
- package/dist/index.mjs +14 -2
- package/package.json +8 -8
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
1
|
+
/*! @hebcal/rest-api v4.4.0 */
|
|
2
2
|
var hebcal__rest_api = (function (exports, core, leyning, triennial) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -273,19 +273,19 @@ var tryToString$1 = tryToString$2;
|
|
|
273
273
|
var $TypeError$9 = TypeError;
|
|
274
274
|
|
|
275
275
|
// `Assert: IsCallable(argument) is true`
|
|
276
|
-
var aCallable$
|
|
276
|
+
var aCallable$4 = function (argument) {
|
|
277
277
|
if (isCallable$d(argument)) return argument;
|
|
278
278
|
throw $TypeError$9(tryToString$1(argument) + ' is not a function');
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
var aCallable$
|
|
281
|
+
var aCallable$3 = aCallable$4;
|
|
282
282
|
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
283
283
|
|
|
284
284
|
// `GetMethod` abstract operation
|
|
285
285
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
286
286
|
var getMethod$3 = function (V, P) {
|
|
287
287
|
var func = V[P];
|
|
288
|
-
return isNullOrUndefined$1(func) ? undefined : aCallable$
|
|
288
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable$3(func);
|
|
289
289
|
};
|
|
290
290
|
|
|
291
291
|
var call$a = functionCall;
|
|
@@ -338,10 +338,10 @@ var store$2 = sharedStore;
|
|
|
338
338
|
(shared$4.exports = function (key, value) {
|
|
339
339
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
340
340
|
})('versions', []).push({
|
|
341
|
-
version: '3.
|
|
341
|
+
version: '3.28.0',
|
|
342
342
|
mode: 'global',
|
|
343
343
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
344
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
344
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',
|
|
345
345
|
source: 'https://github.com/zloirock/core-js'
|
|
346
346
|
});
|
|
347
347
|
|
|
@@ -1557,6 +1557,16 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1557
1557
|
return IteratorConstructor;
|
|
1558
1558
|
};
|
|
1559
1559
|
|
|
1560
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1561
|
+
var aCallable$2 = aCallable$4;
|
|
1562
|
+
|
|
1563
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1564
|
+
try {
|
|
1565
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1566
|
+
return uncurryThis$9(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1567
|
+
} catch (error) { /* empty */ }
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1560
1570
|
var isCallable$3 = isCallable$h;
|
|
1561
1571
|
|
|
1562
1572
|
var $String = String;
|
|
@@ -1569,7 +1579,7 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
1569
1579
|
|
|
1570
1580
|
/* eslint-disable no-proto -- safe */
|
|
1571
1581
|
|
|
1572
|
-
var
|
|
1582
|
+
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1573
1583
|
var anObject$5 = anObject$b;
|
|
1574
1584
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1575
1585
|
|
|
@@ -1582,8 +1592,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1582
1592
|
var test = {};
|
|
1583
1593
|
var setter;
|
|
1584
1594
|
try {
|
|
1585
|
-
|
|
1586
|
-
setter = uncurryThis$9(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1595
|
+
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
1587
1596
|
setter(test, []);
|
|
1588
1597
|
CORRECT_SETTER = test instanceof Array;
|
|
1589
1598
|
} catch (error) { /* empty */ }
|
|
@@ -1913,7 +1922,7 @@ var functionUncurryThisClause = function (fn) {
|
|
|
1913
1922
|
};
|
|
1914
1923
|
|
|
1915
1924
|
var uncurryThis$6 = functionUncurryThisClause;
|
|
1916
|
-
var aCallable$1 = aCallable$
|
|
1925
|
+
var aCallable$1 = aCallable$4;
|
|
1917
1926
|
var NATIVE_BIND = functionBindNative;
|
|
1918
1927
|
|
|
1919
1928
|
var bind$3 = uncurryThis$6(uncurryThis$6.bind);
|
|
@@ -2126,7 +2135,7 @@ var getIteratorMethod$3 = function (it) {
|
|
|
2126
2135
|
};
|
|
2127
2136
|
|
|
2128
2137
|
var call$3 = functionCall;
|
|
2129
|
-
var aCallable = aCallable$
|
|
2138
|
+
var aCallable = aCallable$4;
|
|
2130
2139
|
var anObject$2 = anObject$b;
|
|
2131
2140
|
var tryToString = tryToString$2;
|
|
2132
2141
|
var getIteratorMethod$2 = getIteratorMethod$3;
|
|
@@ -2896,7 +2905,8 @@ var HEX = /^[\da-f]+$/i;
|
|
|
2896
2905
|
/* eslint-disable regexp/no-control-character -- safe */
|
|
2897
2906
|
var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/;
|
|
2898
2907
|
var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/;
|
|
2899
|
-
var
|
|
2908
|
+
var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/;
|
|
2909
|
+
var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/;
|
|
2900
2910
|
var TAB_AND_NEW_LINE = /[\t\n\r]/g;
|
|
2901
2911
|
/* eslint-enable regexp/no-control-character -- safe */
|
|
2902
2912
|
var EOF;
|
|
@@ -3192,7 +3202,8 @@ URLState.prototype = {
|
|
|
3192
3202
|
url.query = null;
|
|
3193
3203
|
url.fragment = null;
|
|
3194
3204
|
url.cannotBeABaseURL = false;
|
|
3195
|
-
input = replace(input,
|
|
3205
|
+
input = replace(input, LEADING_C0_CONTROL_OR_SPACE, '');
|
|
3206
|
+
input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1');
|
|
3196
3207
|
}
|
|
3197
3208
|
|
|
3198
3209
|
input = replace(input, TAB_AND_NEW_LINE, '');
|
|
@@ -3989,7 +4000,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
3989
4000
|
}, { unsafe: true });
|
|
3990
4001
|
}
|
|
3991
4002
|
|
|
3992
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
4003
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
3993
4004
|
|
|
3994
4005
|
var AD="Andorra";var AE="United Arab Emirates";var AF="Afghanistan";var AI="Anguilla";var AL="Albania";var AM="Armenia";var AO="Angola";var AR="Argentina";var AS="American Samoa";var AT="Austria";var AU="Australia";var AW="Aruba";var AZ="Azerbaijan";var BA="Bosnia and Herzegovina";var BB="Barbados";var BD="Bangladesh";var BE="Belgium";var BF="Burkina Faso";var BG="Bulgaria";var BH="Bahrain";var BI="Burundi";var BJ="Benin";var BM="Bermuda";var BN="Brunei";var BO="Bolivia";var BR="Brazil";var BS="Bahamas";var BT="Bhutan";var BW="Botswana";var BY="Belarus";var BZ="Belize";var CA="Canada";var CD="Democratic Republic of the Congo";var CF="Central African Republic";var CG="Republic of the Congo";var CH="Switzerland";var CI="Ivory Coast";var CK="Cook Islands";var CL="Chile";var CM="Cameroon";var CN="China";var CO="Colombia";var CR="Costa Rica";var CU="Cuba";var CV="Cape Verde";var CW="Curacao";var CY="Cyprus";var CZ="Czech Republic";var DE="Germany";var DK="Denmark";var DM="Dominica";var DO="Dominican Republic";var DZ="Algeria";var EC="Ecuador";var EE="Estonia";var EG="Egypt";var ER="Eritrea";var ES="Spain";var ET="Ethiopia";var FI="Finland";var FJ="Fiji";var FK="Falkland Islands";var FO="Faroe Islands";var FR="France";var GA="Gabon";var GB="United Kingdom";var GE="Georgia";var GH="Ghana";var GI="Gibraltar";var GL="Greenland";var GM="Gambia";var GN="Guinea";var GQ="Equatorial Guinea";var GR="Greece";var GT="Guatemala";var GW="Guinea-Bissau";var GY="Guyana";var HK="Hong Kong";var HN="Honduras";var HR="Croatia";var HT="Haiti";var HU="Hungary";var ID="Indonesia";var IE="Ireland";var IL="Israel";var IM="Isle of Man";var IN="India";var IQ="Iraq";var IR="Iran";var IS="Iceland";var IT="Italy";var JM="Jamaica";var JO="Jordan";var JP="Japan";var KE="Kenya";var KG="Kyrgyzstan";var KH="Cambodia";var KM="Comoros";var KN="Saint Kitts and Nevis";var KP="North Korea";var KR="South Korea";var KW="Kuwait";var KY="Cayman Islands";var KZ="Kazakhstan";var LA="Laos";var LB="Lebanon";var LC="Saint Lucia";var LI="Liechtenstein";var LR="Liberia";var LS="Lesotho";var LT="Lithuania";var LU="Luxembourg";var LV="Latvia";var LY="Libya";var MA="Morocco";var MD="Moldova";var ME="Montenegro";var MG="Madagascar";var MK="Macedonia";var ML="Mali";var MM="Myanmar";var MN="Mongolia";var MP="Northern Mariana Islands";var MR="Mauritania";var MS="Montserrat";var MT="Malta";var MU="Mauritius";var MW="Malawi";var MX="Mexico";var MY="Malaysia";var MZ="Mozambique";var NA="Namibia";var NC="New Caledonia";var NE="Niger";var NG="Nigeria";var NI="Nicaragua";var NL="Netherlands";var NO="Norway";var NP="Nepal";var NU="Niue";var NZ="New Zealand";var OM="Oman";var PA="Panama";var PE="Peru";var PF="French Polynesia";var PG="Papua New Guinea";var PH="Philippines";var PK="Pakistan";var PL="Poland";var PR="Puerto Rico";var PT="Portugal";var PY="Paraguay";var QA="Qatar";var RO="Romania";var RS="Serbia";var RU="Russia";var RW="Rwanda";var SA="Saudi Arabia";var SB="Solomon Islands";var SC="Seychelles";var SD="Sudan";var SE="Sweden";var SG="Singapore";var SH="Saint Helena";var SI="Slovenia";var SK="Slovakia";var SL="Sierra Leone";var SN="Senegal";var SO="Somalia";var SR="Suriname";var ST="Sao Tome and Principe";var SV="El Salvador";var SY="Syria";var SZ="Swaziland";var TC="Turks and Caicos Islands";var TD="Chad";var TG="Togo";var TH="Thailand";var TJ="Tajikistan";var TM="Turkmenistan";var TN="Tunisia";var TR="Turkey";var TV="Tuvalu";var TW="Taiwan";var TZ="Tanzania";var UA="Ukraine";var UG="Uganda";var US="United States";var UY="Uruguay";var UZ="Uzbekistan";var VC="Saint Vincent and the Grenadines";var VE="Venezuela";var VG="British Virgin Islands";var VN="Vietnam";var WS="Samoa";var YE="Yemen";var YT="Mayotte";var ZA="South Africa";var ZM="Zambia";var ZW="Zimbabwe";var countryNames = {AD:AD,AE:AE,AF:AF,AI:AI,AL:AL,AM:AM,AO:AO,AR:AR,AS:AS,AT:AT,AU:AU,AW:AW,AZ:AZ,BA:BA,BB:BB,BD:BD,BE:BE,BF:BF,BG:BG,BH:BH,BI:BI,BJ:BJ,BM:BM,BN:BN,BO:BO,BR:BR,BS:BS,BT:BT,BW:BW,BY:BY,BZ:BZ,CA:CA,CD:CD,CF:CF,CG:CG,CH:CH,CI:CI,CK:CK,CL:CL,CM:CM,CN:CN,CO:CO,CR:CR,CU:CU,CV:CV,CW:CW,CY:CY,CZ:CZ,DE:DE,DK:DK,DM:DM,DO:DO,DZ:DZ,EC:EC,EE:EE,EG:EG,ER:ER,ES:ES,ET:ET,FI:FI,FJ:FJ,FK:FK,FO:FO,FR:FR,GA:GA,GB:GB,GE:GE,GH:GH,GI:GI,GL:GL,GM:GM,GN:GN,GQ:GQ,GR:GR,GT:GT,GW:GW,GY:GY,HK:HK,HN:HN,HR:HR,HT:HT,HU:HU,ID:ID,IE:IE,IL:IL,IM:IM,IN:IN,IQ:IQ,IR:IR,IS:IS,IT:IT,JM:JM,JO:JO,JP:JP,KE:KE,KG:KG,KH:KH,KM:KM,KN:KN,KP:KP,KR:KR,KW:KW,KY:KY,KZ:KZ,LA:LA,LB:LB,LC:LC,LI:LI,LR:LR,LS:LS,LT:LT,LU:LU,LV:LV,LY:LY,MA:MA,MD:MD,ME:ME,MG:MG,MK:MK,ML:ML,MM:MM,MN:MN,MP:MP,MR:MR,MS:MS,MT:MT,MU:MU,MW:MW,MX:MX,MY:MY,MZ:MZ,NA:NA,NC:NC,NE:NE,NG:NG,NI:NI,NL:NL,NO:NO,NP:NP,NU:NU,NZ:NZ,OM:OM,PA:PA,PE:PE,PF:PF,PG:PG,PH:PH,PK:PK,PL:PL,PR:PR,PT:PT,PY:PY,QA:QA,RO:RO,RS:RS,RU:RU,RW:RW,SA:SA,SB:SB,SC:SC,SD:SD,SE:SE,SG:SG,SH:SH,SI:SI,SK:SK,SL:SL,SN:SN,SO:SO,SR:SR,ST:ST,SV:SV,SY:SY,SZ:SZ,TC:TC,TD:TD,TG:TG,TH:TH,TJ:TJ,TM:TM,TN:TN,TR:TR,TV:TV,TW:TW,TZ:TZ,UA:UA,UG:UG,US:US,UY:UY,UZ:UZ,VC:VC,VE:VE,VG:VG,VN:VN,WS:WS,YE:YE,YT:YT,ZA:ZA,ZM:ZM,ZW:ZW};
|
|
3995
4006
|
|
|
@@ -4554,6 +4565,18 @@ function eventToClassicApiObject(ev, options) {
|
|
|
4554
4565
|
}
|
|
4555
4566
|
};
|
|
4556
4567
|
}
|
|
4568
|
+
if (mask & core.flags.MOLAD) {
|
|
4569
|
+
const m = ev.molad;
|
|
4570
|
+
result.molad = {
|
|
4571
|
+
year: m.year,
|
|
4572
|
+
month: core.HDate.getMonthName(m.month, m.year),
|
|
4573
|
+
dow: m.dow,
|
|
4574
|
+
hour: m.hour,
|
|
4575
|
+
minutes: m.minutes,
|
|
4576
|
+
chalakim: m.chalakim
|
|
4577
|
+
};
|
|
4578
|
+
delete result.hebrew;
|
|
4579
|
+
}
|
|
4557
4580
|
if (options.heDateParts && !timed || mask & core.flags.HEBREW_DATE) {
|
|
4558
4581
|
const yy = hd.getFullYear();
|
|
4559
4582
|
const mm = hd.getMonthName();
|
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
2
|
-
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,H=A.call,R=w&&A.bind.bind(H,H),T=w?R:function(e){return function(){return H.apply(e,arguments)}},C=T,I=C({}.toString),P=C("".slice),M=function(e){return P(I(e),8,-1)},O=h,E=M,L=Object,k=T("".split),B=O((function(){return!L("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?k(e,""):L(e)}:L,D=function(e){return null==e},U=D,F=TypeError,N=function(e){if(U(e))throw F("Can't call method on "+e);return e},j=B,x=N,_=function(e){return j(x(e))},G="object"==typeof document&&document.all,Y={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},z=Y.all,K=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=Y.all,q=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e){return Z(e)?e:void 0},Q=function(e,t){return arguments.length<2?$(V[e]):V[e]&&V[e][t]},X=T({}.isPrototypeOf),ee=i,te="undefined"!=typeof navigator&&String(navigator.userAgent)||"",re=ee.process,ne=ee.Deno,ae=re&&re.versions||ne&&ne.version,oe=ae&&ae.v8;oe&&(v=(b=oe.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&te&&(!(b=te.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=te.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ie=v,se=h,he=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=Q,ue=K,fe=X,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,He=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,Te=K,Ce=q,Ie=TypeError,Pe={},Me={get exports(){return Pe},set exports(e){Pe=e}},Oe=i,Ee=Object.defineProperty,Le=function(e,t){try{Ee(Oe,e,{value:t,configurable:!0,writable:!0})}catch(r){Oe[e]=t}return t},ke=Le,Be="__core-js_shared__",De=i[Be]||ke(Be,{}),Ue=De;(Me.exports=function(e,t){return Ue[e]||(Ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=N,Ne=Object,je=function(e){return Ne(Fe(e))},xe=je,_e=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(xe(e),t)},Ye=T,ze=0,Ke=Math.random(),Je=Ye(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Pe,Ve=Ge,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=He,st=function(e,t){var r,n;if("string"===t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(Te(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw Ie("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!=Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Ht=_,Rt=ft,Tt=Ge,Ct=bt,It=Object.getOwnPropertyDescriptor;s.f=vt?It:function(e,t){if(e=Ht(e),t=Rt(t),Ct)try{return It(e,t)}catch(e){}if(Tt(e,t))return At(!St(wt.f,e,t),e[t])};var Pt={},Mt=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=q,Et=String,Lt=TypeError,kt=function(e){if(Ot(e))return e;throw Lt(Et(e)+" is not an object")},Bt=c,Dt=bt,Ut=Mt,Ft=kt,Nt=ft,jt=TypeError,xt=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,Gt="enumerable",Yt="configurable",zt="writable";Pt.f=Bt?Ut?function(e,t,r){if(Ft(e),t=Nt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r.writable){var n=_t(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:Yt in r?r.configurable:n.configurable,enumerable:Gt in r?r.enumerable:n.enumerable,writable:!1})}return xt(e,t,r)}:xt:function(e,t,r){if(Ft(e),t=Nt(t),Ft(r),Dt)try{return xt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=Pt,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={},Vt={get exports(){return qt},set exports(e){qt=e}},Zt=c,$t=Ge,Qt=Function.prototype,Xt=Zt&&Object.getOwnPropertyDescriptor,er=$t(Qt,"name"),tr={EXISTS:er,PROPER:er&&"something"===function(){}.name,CONFIGURABLE:er&&(!Zt||Zt&&Xt(Qt,"name").configurable)},rr=K,nr=De,ar=T(Function.toString);rr(nr.inspectSource)||(nr.inspectSource=function(e){return ar(e)});var or,ir,sr,hr=nr.inspectSource,cr=K,lr=i.WeakMap,ur=cr(lr)&&/native code/.test(String(lr)),fr=We,dr=Pe("keys"),mr=function(e){return dr[e]||(dr[e]=fr(e))},gr={},pr=ur,yr=i,br=q,vr=Wt,Sr=Ge,wr=De,Ar=mr,Hr=gr,Rr="Object already initialized",Tr=yr.TypeError,Cr=yr.WeakMap;if(pr||wr.state){var Ir=wr.state||(wr.state=new Cr);Ir.get=Ir.get,Ir.has=Ir.has,Ir.set=Ir.set,or=function(e,t){if(Ir.has(e))throw Tr(Rr);return t.facade=e,Ir.set(e,t),t},ir=function(e){return Ir.get(e)||{}},sr=function(e){return Ir.has(e)}}else{var Pr=Ar("state");Hr[Pr]=!0,or=function(e,t){if(Sr(e,Pr))throw Tr(Rr);return t.facade=e,vr(e,Pr,t),t},ir=function(e){return Sr(e,Pr)?e[Pr]:{}},sr=function(e){return Sr(e,Pr)}}var Mr={set:or,get:ir,has:sr,enforce:function(e){return sr(e)?ir(e):or(e,{})},getterFor:function(e){return function(t){var r;if(!br(t)||(r=ir(t)).type!==e)throw Tr("Incompatible receiver, "+e+" required");return r}}},Or=T,Er=h,Lr=K,kr=Ge,Br=c,Dr=tr.CONFIGURABLE,Ur=hr,Fr=Mr.enforce,Nr=Mr.get,jr=String,xr=Object.defineProperty,_r=Or("".slice),Gr=Or("".replace),Yr=Or([].join),zr=Br&&!Er((function(){return 8!==xr((function(){}),"length",{value:8}).length})),Kr=String(String).split("String"),Jr=Vt.exports=function(e,t,r){"Symbol("===_r(jr(t),0,7)&&(t="["+Gr(jr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!kr(e,"name")||Dr&&e.name!==t)&&(Br?xr(e,"name",{value:t,configurable:!0}):e.name=t),zr&&r&&kr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});try{r&&kr(r,"constructor")&&r.constructor?Br&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fr(e);return kr(n,"source")||(n.source=Yr(Kr,"string"==typeof t?t:"")),e};Function.prototype.toString=Jr((function(){return Lr(this)&&Nr(this).source||Ur(this)}),"toString");var Wr=K,qr=Pt,Vr=qt,Zr=Le,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=_,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ge,vn=_,Sn=yn.indexOf,wn=gr,An=T([].push),Hn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tn=Hn,Cn=Rn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Tn(e,Cn)};var In={};In.f=Object.getOwnPropertySymbols;var Pn=Q,Mn=Qr,On=In,En=kt,Ln=T([].concat),kn=Pn("Reflect","ownKeys")||function(e){var t=Mn.f(En(e)),r=On.f;return r?Ln(t,r(e)):t},Bn=Ge,Dn=kn,Un=s,Fn=Pt,Nn=h,jn=K,xn=/#|\.prototype\./,_n=function(e,t){var r=Yn[Gn(e)];return r==Kn||r!=zn&&(jn(t)?Nn(t):!!t)},Gn=_n.normalize=function(e){return String(e).replace(xn,".").toLowerCase()},Yn=_n.data={},zn=_n.NATIVE="N",Kn=_n.POLYFILL="P",Jn=_n,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=Le,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=M,oa=rt("toStringTag"),ia=Object,sa="Arguments"==aa(function(){return arguments}()),ha=ra?aa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ia(e),oa))?r:sa?aa(t):"Object"==(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=kt,da=function(){var e=fa(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Hn,wa=Rn,Aa=Object.keys||function(e){return Sa(e,wa)},Ha=c,Ra=Mt,Ta=Pt,Ca=kt,Ia=_,Pa=Aa;va.f=Ha&&!Ra?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Ia(t),a=Pa(t),o=a.length,i=0;o>i;)Ta.f(e,r=a[i++],n[r]);return e};var Ma,Oa=Q("document","documentElement"),Ea=kt,La=va,ka=Rn,Ba=gr,Da=Oa,Ua=pt,Fa=mr("IE_PROTO"),Na=function(){},ja=function(e){return"<script>"+e+"</"+"script>"},xa=function(e){e.write(ja("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{Ma=new ActiveXObject("htmlfile")}catch(e){}var e,t;_a="undefined"!=typeof document?document.domain&&Ma?xa(Ma):((t=Ua("iframe")).style.display="none",Da.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ja("document.F=Object")),e.close(),e.F):xa(Ma);for(var r=ka.length;r--;)delete _a.prototype[ka[r]];return _a()};Ba[Fa]=!0;var Ga,Ya,za=Object.create||function(e,t){var r;return null!==e?(Na.prototype=Ea(e),r=new Na,Na.prototype=null,r[Fa]=e):r=_a(),void 0===t?r:La.f(r,t)},Ka=h,Ja=i.RegExp,Wa=Ka((function(){var e=Ja(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),qa=h,Va=i.RegExp,Za=qa((function(){var e=Va("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),$a=d,Qa=T,Xa=ua,eo=da,to=ba,ro=za,no=Mr.get,ao=Wa,oo=Za,io=Pe("native-string-replace",String.prototype.replace),so=RegExp.prototype.exec,ho=so,co=Qa("".charAt),lo=Qa("".indexOf),uo=Qa("".replace),fo=Qa("".slice),mo=(Ya=/b*/g,$a(so,Ga=/a/,"a"),$a(so,Ya,"a"),0!==Ga.lastIndex||0!==Ya.lastIndex),go=to.BROKEN_CARET,po=void 0!==/()??/.exec("")[1];(mo||po||go||ao||oo)&&(ho=function(e){var t,r,n,a,o,i,s,h=this,c=no(h),l=Xa(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=$a(ho,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=go&&h.sticky,m=$a(eo,h),g=h.source,p=0,y=l;if(d&&(m=uo(m,"y",""),-1===lo(m,"g")&&(m+="g"),y=fo(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==co(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),po&&(r=new RegExp("^"+g+"$(?!\\s)",m)),mo&&(n=h.lastIndex),a=$a(so,d?r:h,y),d?a?(a.input=fo(a.input,p),a[0]=fo(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:mo&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),po&&a&&a.length>1&&$a(io,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=ro(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==ho},{exec:ho});var yo=pt("span").classList,bo=yo&&yo.constructor&&yo.constructor.prototype,vo=bo===Object.prototype?void 0:bo,So=rt,wo=za,Ao=Pt.f,Ho=So("unscopables"),Ro=Array.prototype;null==Ro[Ho]&&Ao(Ro,Ho,{configurable:!0,value:wo(null)});var To,Co,Io,Po={},Mo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oo=Ge,Eo=K,Lo=je,ko=Mo,Bo=mr("IE_PROTO"),Do=Object,Uo=Do.prototype,Fo=ko?Do.getPrototypeOf:function(e){var t=Lo(e);if(Oo(t,Bo))return t[Bo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Do?Uo:null},No=h,jo=K,xo=q,_o=Fo,Go=$r,Yo=rt("iterator"),zo=!1;[].keys&&("next"in(Io=[].keys())?(Co=_o(_o(Io)))!==Object.prototype&&(To=Co):zo=!0);var Ko=!xo(To)||No((function(){var e={};return To[Yo].call(e)!==e}));Ko&&(To={}),jo(To[Yo])||Go(To,Yo,(function(){return this}));var Jo={IteratorPrototype:To,BUGGY_SAFARI_ITERATORS:zo},Wo=Pt.f,qo=Ge,Vo=rt("toStringTag"),Zo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!qo(e,Vo)&&Wo(e,Vo,{configurable:!0,value:t})},$o=Jo.IteratorPrototype,Qo=za,Xo=S,ei=Zo,ti=Po,ri=function(){return this},ni=function(e,t,r,n){var a=t+" Iterator";return e.prototype=Qo($o,{next:Xo(+!n,r)}),ei(e,a,!1),ti[a]=ri,e},ai=K,oi=String,ii=TypeError,si=T,hi=kt,ci=function(e){if("object"==typeof e||ai(e))return e;throw ii("Can't set "+oi(e)+" as a prototype")},li=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=si(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return hi(r),ci(n),t?e(r,n):r.__proto__=n,r}}():void 0),ui=ea,fi=d,di=K,mi=ni,gi=Fo,pi=li,yi=Zo,bi=Wt,vi=$r,Si=Po,wi=tr.PROPER,Ai=tr.CONFIGURABLE,Hi=Jo.IteratorPrototype,Ri=Jo.BUGGY_SAFARI_ITERATORS,Ti=rt("iterator"),Ci="keys",Ii="values",Pi="entries",Mi=function(){return this},Oi=function(e,t,r,n,a,o,i){mi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Ri&&e in d)return d[e];switch(e){case Ci:case Ii:case Pi:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[Ti]||d["@@iterator"]||a&&d[a],g=!Ri&&m||l(a),p="Array"==t&&d.entries||m;if(p&&(s=gi(p.call(new e)))!==Object.prototype&&s.next&&(gi(s)!==Hi&&(pi?pi(s,Hi):di(s[Ti])||vi(s,Ti,Mi)),yi(s,u,!0)),wi&&a==Ii&&m&&m.name!==Ii&&(Ai?bi(d,"name",Ii):(f=!0,g=function(){return fi(m,this)})),a)if(h={values:l(Ii),keys:o?g:l(Ci),entries:l(Pi)},i)for(c in h)(Ri||f||!(c in d))&&vi(d,c,h[c]);else ui({target:t,proto:!0,forced:Ri||f},h);return d[Ti]!==g&&vi(d,Ti,g,{name:a}),Si[t]=g,h},Ei=function(e,t){return{value:e,done:t}},Li=_,ki=function(e){Ro[Ho][e]=!0},Bi=Po,Di=Mr,Ui=Pt.f,Fi=Oi,Ni=Ei,ji=c,xi="Array Iterator",_i=Di.set,Gi=Di.getterFor(xi),Yi=Fi(Array,"Array",(function(e,t){_i(this,{type:xi,target:Li(e),index:0,kind:t})}),(function(){var e=Gi(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Ni(void 0,!0)):Ni("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),zi=Bi.Arguments=Bi.Array;if(ki("keys"),ki("values"),ki("entries"),ji&&"values"!==zi.name)try{Ui(zi,"name",{value:"values"})}catch(e){}var Ki=i,Ji={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Wi=vo,qi=Yi,Vi=Wt,Zi=rt,$i=Zi("iterator"),Qi=Zi("toStringTag"),Xi=qi.values,es=function(e,t){if(e){if(e[$i]!==Xi)try{Vi(e,$i,Xi)}catch(t){e[$i]=Xi}if(e[Qi]||Vi(e,Qi,t),Ji[t])for(var r in qi)if(e[r]!==qi[r])try{Vi(e,r,qi[r])}catch(t){e[r]=qi[r]}}};for(var ts in Ji)es(Ki[ts]&&Ki[ts].prototype,ts);es(Wi,"DOMTokenList");var rs=T,ns=rn,as=ua,os=N,is=rs("".charAt),ss=rs("".charCodeAt),hs=rs("".slice),cs=function(e){return function(t,r){var n,a,o=as(os(t)),i=ns(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ss(o,i))<55296||n>56319||i+1===s||(a=ss(o,i+1))<56320||a>57343?e?is(o,i):n:e?hs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ls={codeAt:cs(!1),charAt:cs(!0)},us=ls.charAt,fs=ua,ds=Mr,ms=Oi,gs=Ei,ps="String Iterator",ys=ds.set,bs=ds.getterFor(ps);ms(String,"String",(function(e){ys(this,{type:ps,string:fs(e),index:0})}),(function(){var e,t=bs(this),r=t.string,n=t.index;return n>=r.length?gs(void 0,!0):(e=us(r,n),t.index+=e.length,gs(e,!1))}));var vs=h,Ss=rt("iterator"),ws=!vs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Ss]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),As=M,Hs=T,Rs=function(e){if("Function"===As(e))return Hs(e)},Ts=Se,Cs=l,Is=Rs(Rs.bind),Ps=function(e,t){return Ts(e),void 0===t?e:Cs?Is(e,t):function(){return e.apply(t,arguments)}},Ms=qt,Os=Pt,Es=X,Ls=TypeError,ks=function(e,t){if(Es(t,e))return e;throw Ls("Incorrect invocation")},Bs=c,Ds=T,Us=d,Fs=h,Ns=Aa,js=In,xs=m,_s=je,Gs=B,Ys=Object.assign,zs=Object.defineProperty,Ks=Ds([].concat),Js=!Ys||Fs((function(){if(Bs&&1!==Ys({b:1},Ys(zs({},"a",{enumerable:!0,get:function(){zs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Ys({},e)[r]||Ns(Ys({},t)).join("")!=n}))?function(e,t){for(var r=_s(e),n=arguments.length,a=1,o=js.f,i=xs.f;n>a;)for(var s,h=Gs(arguments[a++]),c=o?Ks(Ns(h),o(h)):Ns(h),l=c.length,u=0;l>u;)s=c[u++],Bs&&!Us(i,h,s)||(r[s]=h[s]);return r}:Ys,Ws=d,qs=kt,Vs=He,Zs=kt,$s=function(e,t,r){var n,a;qs(e);try{if(!(n=Vs(e,"return"))){if("throw"===t)throw r;return r}n=Ws(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return qs(n),r},Qs=Po,Xs=rt("iterator"),eh=Array.prototype,th=T,rh=h,nh=K,ah=ha,oh=hr,ih=function(){},sh=[],hh=Q("Reflect","construct"),ch=/^\s*(?:class|function)\b/,lh=th(ch.exec),uh=!ch.exec(ih),fh=function(e){if(!nh(e))return!1;try{return hh(ih,sh,e),!0}catch(e){return!1}},dh=function(e){if(!nh(e))return!1;switch(ah(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return uh||!!lh(ch,oh(e))}catch(e){return!0}};dh.sham=!0;var mh=!hh||rh((function(){var e;return fh(fh.call)||!fh(Object)||!fh((function(){e=!0}))||e}))?dh:fh,gh=ft,ph=Pt,yh=S,bh=function(e,t,r){var n=gh(t);n in e?ph.f(e,n,yh(0,r)):e[n]=r},vh=ha,Sh=He,wh=D,Ah=Po,Hh=rt("iterator"),Rh=function(e){if(!wh(e))return Sh(e,Hh)||Sh(e,"@@iterator")||Ah[vh(e)]},Th=d,Ch=Se,Ih=kt,Ph=pe,Mh=Rh,Oh=TypeError,Eh=function(e,t){var r=arguments.length<2?Mh(e):t;if(Ch(r))return Ih(Th(r,e));throw Oh(Ph(e)+" is not iterable")},Lh=Ps,kh=d,Bh=je,Dh=function(e,t,r,n){try{return n?t(Zs(r)[0],r[1]):t(r)}catch(t){$s(e,"throw",t)}},Uh=function(e){return void 0!==e&&(Qs.Array===e||eh[Xs]===e)},Fh=mh,Nh=fn,jh=bh,xh=Eh,_h=Rh,Gh=Array,Yh=sn,zh=fn,Kh=bh,Jh=Array,Wh=Math.max,qh=function(e,t,r){for(var n=zh(e),a=Yh(t,n),o=Yh(void 0===r?n:r,n),i=Jh(Wh(o-a,0)),s=0;a<o;a++,s++)Kh(i,s,e[a]);return i.length=s,i},Vh=T,Zh=2147483647,$h=/[^\0-\u007E]/,Qh=/[.\u3002\uFF0E\uFF61]/g,Xh="Overflow: input needs wider integers to process",ec=RangeError,tc=Vh(Qh.exec),rc=Math.floor,nc=String.fromCharCode,ac=Vh("".charCodeAt),oc=Vh([].join),ic=Vh([].push),sc=Vh("".replace),hc=Vh("".split),cc=Vh("".toLowerCase),lc=function(e){return e+22+75*(e<26)},uc=function(e,t,r){var n=0;for(e=r?rc(e/700):e>>1,e+=rc(e/t);e>455;)e=rc(e/35),n+=36;return rc(n+36*e/(e+38))},fc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=ac(e,r++);if(a>=55296&&a<=56319&&r<n){var o=ac(e,r++);56320==(64512&o)?ic(t,((1023&a)<<10)+(1023&o)+65536):(ic(t,a),r--)}else ic(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&ic(t,nc(n));var h=t.length,c=h;for(h&&ic(t,"-");c<a;){var l=Zh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>rc((Zh-i)/u))throw ec(Xh);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Zh)throw ec(Xh);if(n==o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;ic(t,nc(lc(m+g%p))),f=rc(g/p),d+=36}ic(t,nc(lc(f))),s=uc(i,u,c==h),i=0,c++}}i++,o++}return oc(t,"")},dc=TypeError,mc=function(e,t){if(e<t)throw dc("Not enough arguments");return e},gc=$r,pc=qh,yc=Math.floor,bc=function(e,t){var r=e.length,n=yc(r/2);return r<8?vc(e,t):Sc(e,bc(pc(e,0,n),t),bc(pc(e,n),t),t)},vc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Sc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},wc=ea,Ac=i,Hc=d,Rc=T,Tc=c,Cc=ws,Ic=$r,Pc=function(e,t,r){for(var n in t)gc(e,n,t[n],r);return e},Mc=Zo,Oc=ni,Ec=Mr,Lc=ks,kc=K,Bc=Ge,Dc=Ps,Uc=ha,Fc=kt,Nc=q,jc=ua,xc=za,_c=S,Gc=Eh,Yc=Rh,zc=mc,Kc=bc,Jc=rt("iterator"),Wc="URLSearchParams",qc="URLSearchParamsIterator",Vc=Ec.set,Zc=Ec.getterFor(Wc),$c=Ec.getterFor(qc),Qc=Object.getOwnPropertyDescriptor,Xc=function(e){if(!Tc)return Ac[e];var t=Qc(Ac,e);return t&&t.value},el=Xc("fetch"),tl=Xc("Request"),rl=Xc("Headers"),nl=tl&&tl.prototype,al=rl&&rl.prototype,ol=Ac.RegExp,il=Ac.TypeError,sl=Ac.decodeURIComponent,hl=Ac.encodeURIComponent,cl=Rc("".charAt),ll=Rc([].join),ul=Rc([].push),fl=Rc("".replace),dl=Rc([].shift),ml=Rc([].splice),gl=Rc("".split),pl=Rc("".slice),yl=/\+/g,bl=Array(4),vl=function(e){return bl[e-1]||(bl[e-1]=ol("((?:%[\\da-f]{2}){"+e+"})","gi"))},Sl=function(e){try{return sl(e)}catch(t){return e}},wl=function(e){var t=fl(e,yl," "),r=4;try{return sl(t)}catch(e){for(;r;)t=fl(t,vl(r--),Sl);return t}},Al=/[!'()~]|%20/g,Hl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Rl=function(e){return Hl[e]},Tl=function(e){return fl(hl(e),Al,Rl)},Cl=Oc((function(e,t){Vc(this,{type:qc,iterator:Gc(Zc(e).entries),kind:t})}),"Iterator",(function(){var e=$c(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Il=function(e){this.entries=[],this.url=null,void 0!==e&&(Nc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===cl(e,0)?pl(e,1):e:jc(e)))};Il.prototype={type:Wc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Yc(e);if(h)for(r=(t=Gc(e,h)).next;!(n=Hc(r,t)).done;){if(o=(a=Gc(Fc(n.value))).next,(i=Hc(o,a)).done||(s=Hc(o,a)).done||!Hc(o,a).done)throw il("Expected sequence with length 2");ul(this.entries,{key:jc(i.value),value:jc(s.value)})}else for(var c in e)Bc(e,c)&&ul(this.entries,{key:c,value:jc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=gl(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=gl(t,"="),ul(this.entries,{key:wl(dl(r)),value:wl(ll(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],ul(r,Tl(e.key)+"="+Tl(e.value));return ll(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Pl=function(){Lc(this,Ml);var e=arguments.length>0?arguments[0]:void 0;Vc(this,new Il(e))},Ml=Pl.prototype;if(Pc(Ml,{append:function(e,t){zc(arguments.length,2);var r=Zc(this);ul(r.entries,{key:jc(e),value:jc(t)}),r.updateURL()},delete:function(e){zc(arguments.length,1);for(var t=Zc(this),r=t.entries,n=jc(e),a=0;a<r.length;)r[a].key===n?ml(r,a,1):a++;t.updateURL()},get:function(e){zc(arguments.length,1);for(var t=Zc(this).entries,r=jc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){zc(arguments.length,1);for(var t=Zc(this).entries,r=jc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&ul(n,t[a].value);return n},has:function(e){zc(arguments.length,1);for(var t=Zc(this).entries,r=jc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){zc(arguments.length,1);for(var r,n=Zc(this),a=n.entries,o=!1,i=jc(e),s=jc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?ml(a,h--,1):(o=!0,r.value=s));o||ul(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Zc(this);Kc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Zc(this).entries,n=Dc(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new Cl(this,"keys")},values:function(){return new Cl(this,"values")},entries:function(){return new Cl(this,"entries")}},{enumerable:!0}),Ic(Ml,Jc,Ml.entries,{name:"entries"}),Ic(Ml,"toString",(function(){return Zc(this).serialize()}),{enumerable:!0}),Mc(Pl,Wc),wc({global:!0,constructor:!0,forced:!Cc},{URLSearchParams:Pl}),!Cc&&kc(rl)){var Ol=Rc(al.has),El=Rc(al.set),Ll=function(e){if(Nc(e)){var t,r=e.body;if(Uc(r)===Wc)return t=e.headers?new rl(e.headers):new rl,Ol(t,"content-type")||El(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xc(e,{body:_c(0,jc(r)),headers:_c(0,t)})}return e};if(kc(el)&&wc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return el(e,arguments.length>1?Ll(arguments[1]):{})}}),kc(tl)){var kl=function(e){return Lc(this,nl),new tl(e,arguments.length>1?Ll(arguments[1]):{})};nl.constructor=kl,kl.prototype=nl,wc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kl})}}var Bl,Dl=ea,Ul=c,Fl=ws,Nl=i,jl=Ps,xl=T,_l=$r,Gl=function(e,t,r){return r.get&&Ms(r.get,t,{getter:!0}),r.set&&Ms(r.set,t,{setter:!0}),Os.f(e,t,r)},Yl=ks,zl=Ge,Kl=Js,Jl=function(e){var t=Bh(e),r=Fh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Lh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=_h(t),d=0;if(!f||this===Gh&&Uh(f))for(i=Nh(t),s=r?new this(i):Gh(i);i>d;d++)u=o?a(t[d],d):t[d],jh(s,d,u);else for(l=(c=xh(t,f)).next,s=r?new this:[];!(h=kh(l,c)).done;d++)u=o?Dh(c,a,[h.value,d],!0):h.value,jh(s,d,u);return s.length=d,s},Wl=qh,ql=ls.codeAt,Vl=function(e){var t,r,n=[],a=hc(sc(cc(e),Qh,"."),".");for(t=0;t<a.length;t++)r=a[t],ic(n,tc($h,r)?"xn--"+fc(r):r);return oc(n,".")},Zl=ua,$l=Zo,Ql=mc,Xl={URLSearchParams:Pl,getState:Zc},eu=Mr,tu=eu.set,ru=eu.getterFor("URL"),nu=Xl.URLSearchParams,au=Xl.getState,ou=Nl.URL,iu=Nl.TypeError,su=Nl.parseInt,hu=Math.floor,cu=Math.pow,lu=xl("".charAt),uu=xl(/./.exec),fu=xl([].join),du=xl(1..toString),mu=xl([].pop),gu=xl([].push),pu=xl("".replace),yu=xl([].shift),bu=xl("".split),vu=xl("".slice),Su=xl("".toLowerCase),wu=xl([].unshift),Au="Invalid scheme",Hu="Invalid host",Ru="Invalid port",Tu=/[a-z]/i,Cu=/[\d+-.a-z]/i,Iu=/\d/,Pu=/^0x/i,Mu=/^[0-7]+$/,Ou=/^\d+$/,Eu=/^[\da-f]+$/i,Lu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ku=/[\0\t\n\r #/:<>?@[\\\]^|]/,Bu=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Du=/[\t\n\r]/g,Uu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)wu(t,e%256),e=hu(e/256);return fu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=du(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Fu={},Nu=Kl({},Fu,{" ":1,'"':1,"<":1,">":1,"`":1}),ju=Kl({},Nu,{"#":1,"?":1,"{":1,"}":1}),xu=Kl({},ju,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),_u=function(e,t){var r=ql(e,0);return r>32&&r<127&&!zl(t,e)?e:encodeURIComponent(e)},Gu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Yu=function(e,t){var r;return 2==e.length&&uu(Tu,lu(e,0))&&(":"==(r=lu(e,1))||!t&&"|"==r)},zu=function(e){var t;return e.length>1&&Yu(vu(e,0,2))&&(2==e.length||"/"===(t=lu(e,2))||"\\"===t||"?"===t||"#"===t)},Ku=function(e){return"."===e||"%2e"===Su(e)},Ju={},Wu={},qu={},Vu={},Zu={},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf=function(e,t,r){var n,a,o,i=Zl(e);if(t){if(a=this.parse(i))throw iu(a);this.searchParams=null}else{if(void 0!==r&&(n=new mf(r,!0)),a=this.parse(i,null,n))throw iu(a);(o=au(new nu)).bindURL(this),this.searchParams=o}};mf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||Ju,l=0,u="",f=!1,d=!1,m=!1;for(e=Zl(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=pu(e,Bu,"")),e=pu(e,Du,""),n=Jl(e);l<=n.length;){switch(a=n[l],c){case Ju:if(!a||!uu(Tu,a)){if(t)return Au;c=qu;continue}u+=Su(a),c=Wu;break;case Wu:if(a&&(uu(Cu,a)||"+"==a||"-"==a||"."==a))u+=Su(a);else{if(":"!=a){if(t)return Au;u="",c=qu,l=0;continue}if(t&&(h.isSpecial()!=zl(Gu,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Gu[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=of:h.isSpecial()&&r&&r.scheme==h.scheme?c=Vu:h.isSpecial()?c=Xu:"/"==n[l+1]?(c=Zu,l++):(h.cannotBeABaseURL=!0,gu(h.path,""),c=uf)}break;case qu:if(!r||r.cannotBeABaseURL&&"#"!=a)return Au;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Wl(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=df;break}c="file"==r.scheme?of:$u;continue;case Vu:if("/"!=a||"/"!=n[l+1]){c=$u;continue}c=ef,l++;break;case Zu:if("/"==a){c=tf;break}c=lf;continue;case $u:if(h.scheme=r.scheme,a==Bl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=Qu;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query="",c=ff;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.path.length--,c=lf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query=r.query,h.fragment="",c=df}break;case Qu:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=lf;continue}c=tf}else c=ef;break;case Xu:if(c=ef,"/"!=a||"/"!=lu(u,l+1))continue;l++;break;case ef:if("/"!=a&&"\\"!=a){c=tf;continue}break;case tf:if("@"==a){f&&(u="%40"+u),f=!0,o=Jl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!=p||m){var y=_u(p,xu);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a==Bl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Jl(u).length+1,u="",c=rf}else u+=a;break;case rf:case nf:if(t&&"file"==h.scheme){c=hf;continue}if(":"!=a||d){if(a==Bl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return Hu;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=cf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return Hu;if(i=h.parseHost(u))return i;if(u="",c=af,t==nf)return}break;case af:if(!uu(Iu,a)){if(a==Bl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=su(u,10);if(b>65535)return Ru;h.port=h.isSpecial()&&b===Gu[h.scheme]?null:b,u=""}if(t)return;c=cf;continue}return Ru}u+=a;break;case of:if(h.scheme="file","/"==a||"\\"==a)c=sf;else{if(!r||"file"!=r.scheme){c=lf;continue}if(a==Bl)h.host=r.host,h.path=Wl(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Wl(r.path),h.query="",c=ff;else{if("#"!=a){zu(fu(Wl(n,l),""))||(h.host=r.host,h.path=Wl(r.path),h.shortenPath()),c=lf;continue}h.host=r.host,h.path=Wl(r.path),h.query=r.query,h.fragment="",c=df}}break;case sf:if("/"==a||"\\"==a){c=hf;break}r&&"file"==r.scheme&&!zu(fu(Wl(n,l),""))&&(Yu(r.path[0],!0)?gu(h.path,r.path[0]):h.host=r.host),c=lf;continue;case hf:if(a==Bl||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&Yu(u))c=lf;else if(""==u){if(h.host="",t)return;c=cf}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=cf}continue}u+=a;break;case cf:if(h.isSpecial()){if(c=lf,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Bl&&(c=lf,"/"!=a))continue}else h.fragment="",c=df;else h.query="",c=ff;break;case lf:if(a==Bl||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=Su(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||gu(h.path,"")):Ku(u)?"/"==a||"\\"==a&&h.isSpecial()||gu(h.path,""):("file"==h.scheme&&!h.path.length&&Yu(u)&&(h.host&&(h.host=""),u=lu(u,0)+":"),gu(h.path,u)),u="","file"==h.scheme&&(a==Bl||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)yu(h.path);"?"==a?(h.query="",c=ff):"#"==a&&(h.fragment="",c=df)}else u+=_u(a,ju);break;case uf:"?"==a?(h.query="",c=ff):"#"==a?(h.fragment="",c=df):a!=Bl&&(h.path[0]+=_u(a,Fu));break;case ff:t||"#"!=a?a!=Bl&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":_u(a,Fu)):(h.fragment="",c=df);break;case df:a!=Bl&&(h.fragment+=_u(a,Nu))}l++}},parseHost:function(e){var t,r,n;if("["==lu(e,0)){if("]"!=lu(e,e.length-1))return Hu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return lu(e,u)};if(":"==f()){if(":"!=lu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&uu(Eu,f());)t=16*t+su(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!uu(Iu,f()))return;for(;uu(Iu,f());){if(o=su(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(vu(e,1,-1)),!t)return Hu;this.host=t}else if(this.isSpecial()){if(e=Vl(e),uu(Lu,e))return Hu;if(t=function(e){var t,r,n,a,o,i,s,h=bu(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==lu(a,0)&&(o=uu(Pu,a)?16:8,a=vu(a,8==o?1:2)),""===a)i=0;else{if(!uu(10==o?Ou:8==o?Mu:Eu,a))return e;i=su(a,o)}gu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=cu(256,5-t))return null}else if(i>255)return null;for(s=mu(r),n=0;n<r.length;n++)s+=r[n]*cu(256,3-n);return s}(e),null===t)return Hu;this.host=t}else{if(uu(ku,e))return Hu;for(t="",r=Jl(e),n=0;n<r.length;n++)t+=_u(r[n],Fu);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return zl(Gu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Yu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Uu(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+fu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw iu(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new gf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Uu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Zl(e)+":",Ju)},getUsername:function(){return this.username},setUsername:function(e){var t=Jl(Zl(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=_u(t[r],xu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Jl(Zl(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=_u(t[r],xu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Uu(e):Uu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,rf)},getHostname:function(){var e=this.host;return null===e?"":Uu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,nf)},getPort:function(){var e=this.port;return null===e?"":Zl(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Zl(e))?this.port=null:this.parse(e,af))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+fu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,cf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Zl(e))?this.query=null:("?"==lu(e,0)&&(e=vu(e,1)),this.query="",this.parse(e,ff)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Zl(e))?("#"==lu(e,0)&&(e=vu(e,1)),this.fragment="",this.parse(e,df)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var gf=function(e){var t=Yl(this,pf),r=Ql(arguments.length,1)>1?arguments[1]:void 0,n=tu(t,new mf(e,!1,r));Ul||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},pf=gf.prototype,yf=function(e,t){return{get:function(){return ru(this)[e]()},set:t&&function(e){return ru(this)[t](e)},configurable:!0,enumerable:!0}};if(Ul&&(Gl(pf,"href",yf("serialize","setHref")),Gl(pf,"origin",yf("getOrigin")),Gl(pf,"protocol",yf("getProtocol","setProtocol")),Gl(pf,"username",yf("getUsername","setUsername")),Gl(pf,"password",yf("getPassword","setPassword")),Gl(pf,"host",yf("getHost","setHost")),Gl(pf,"hostname",yf("getHostname","setHostname")),Gl(pf,"port",yf("getPort","setPort")),Gl(pf,"pathname",yf("getPathname","setPathname")),Gl(pf,"search",yf("getSearch","setSearch")),Gl(pf,"searchParams",yf("getSearchParams")),Gl(pf,"hash",yf("getHash","setHash"))),_l(pf,"toJSON",(function(){return ru(this).serialize()}),{enumerable:!0}),_l(pf,"toString",(function(){return ru(this).serialize()}),{enumerable:!0}),ou){var bf=ou.createObjectURL,vf=ou.revokeObjectURL;bf&&_l(gf,"createObjectURL",jl(bf,ou)),vf&&_l(gf,"revokeObjectURL",jl(vf,ou))}$l(gf,"URL"),Dl({global:!0,constructor:!0,forced:!Fl,sham:!Ul},{URL:gf});var Sf,wf=q,Af=M,Hf=rt("match"),Rf=function(e){var t;return wf(e)&&(void 0!==(t=e[Hf])?!!t:"RegExp"==Af(e))},Tf=TypeError,Cf=rt("match"),If=ea,Pf=Rs,Mf=s.f,Of=ln,Ef=ua,Lf=function(e){if(Rf(e))throw Tf("The method doesn't accept regular expressions");return e},kf=N,Bf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Cf]=!1,"/./"[e](t)}catch(e){}}return!1},Df=Pf("".startsWith),Uf=Pf("".slice),Ff=Math.min,Nf=Bf("startsWith");If({target:"String",proto:!0,forced:!!(Nf||(Sf=Mf(String.prototype,"startsWith"),!Sf||Sf.writable))&&!Nf},{startsWith:function(e){var t=Ef(kf(this));Lf(e);var r=Of(Ff(arguments.length>1?arguments[1]:void 0,t.length)),n=Ef(e);return Df?Df(t,n,r):Uf(t,r,r+n.length)===n}});var jf=d,xf=Ge,_f=X,Gf=da,Yf=RegExp.prototype,zf=tr.PROPER,Kf=$r,Jf=kt,Wf=ua,qf=h,Vf=function(e){var t=e.flags;return void 0!==t||"flags"in Yf||xf(e,"flags")||!_f(Yf,e)?t:jf(Gf,e)},Zf="toString",$f=RegExp.prototype.toString,Qf=qf((function(){return"/a/b"!=$f.call({source:"a",flags:"b"})})),Xf=zf&&$f.name!=Zf;(Qf||Xf)&&Kf(RegExp.prototype,Zf,(function(){var e=Jf(this);return"/"+Wf(e.source)+"/"+Wf(Vf(e))}),{unsafe:!0});var ed={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},td={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function rd(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:td[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function nd(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function ad(e){return e<10?"0"+e:""+e}function od(e){return e<0?"-00"+od(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function id(e){return od(e.getFullYear())+"-"+ad(e.getMonth()+1)+"-"+ad(e.getDate())}const sd=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.NACH_YOMI,"nachyomi"],[t.flags.YERUSHALMI_YOMI,"yerushalmi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function hd(e){const t=e.getDesc();switch(t){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"];case"Purim":return["holiday","major"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<sd.length;e++){const t=sd[e];if(r&t[0])return t.slice(1)}switch(t){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function cd(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function ld(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=ed[e.getDesc()]||ed[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const ud=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function fd(e,n){const a=e.getFlags();if(a&ud)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function dd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=fd(e,r);if(t)return t}catch(e){}return e.memo||ed[e.basename()]}function md(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function gd(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const pd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',yd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function bd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=gd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=yd[hd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||ld(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function vd(e){return id(e.getDate().greg())}function Sd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):id(h),u=hd(e),f=e.getFlags();let d=gd(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=Ad(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=wd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=md(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||ed[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function wd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function Ad(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&wd(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const Hd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Rd(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=nd(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=md(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=md(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=hd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=dd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==m?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=md,e.countryNames=td,e.eventToClassicApiObject=Sd,e.eventToCsv=bd,e.eventToFullCalendar=function(e,r,n){const a=hd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:gd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):id(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=md(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=dd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Rd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:cd(e,t),date:(new Date).toISOString()};return n.location=rd(t.location),e.length&&(n.range={start:vd(e[0]),end:vd(e[e.length-1])}),n.items=e.map((e=>Sd(e,t,r))),n},e.eventsToCsv=function(e,t){return[pd].concat(e.map((e=>bd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||cd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=md(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||Hd[t.locale]||t.locale||"en-US";let m='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{m+=Rd(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=cd,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+nd(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=hd,e.getHolidayDescription=ld,e.holidayDescription=ed,e.locationToPlainObj=rd,e.makeAnchor=nd,e.makeMemo=dd,e.makeTorahMemoText=fd,e.pad2=ad,e.pad4=od,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=gd,e.toISOString=id,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
|
1
|
+
/*! @hebcal/rest-api v4.4.0 */
|
|
2
|
+
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,H=A.call,R=w&&A.bind.bind(H,H),T=w?R:function(e){return function(){return H.apply(e,arguments)}},C=T,I=C({}.toString),P=C("".slice),M=function(e){return P(I(e),8,-1)},O=h,E=M,k=Object,L=T("".split),B=O((function(){return!k("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?L(e,""):k(e)}:k,D=function(e){return null==e},U=D,F=TypeError,N=function(e){if(U(e))throw F("Can't call method on "+e);return e},j=B,x=N,_=function(e){return j(x(e))},G="object"==typeof document&&document.all,Y={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},z=Y.all,K=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=Y.all,q=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e){return Z(e)?e:void 0},Q=function(e,t){return arguments.length<2?$(V[e]):V[e]&&V[e][t]},X=T({}.isPrototypeOf),ee=i,te="undefined"!=typeof navigator&&String(navigator.userAgent)||"",re=ee.process,ne=ee.Deno,ae=re&&re.versions||ne&&ne.version,oe=ae&&ae.v8;oe&&(v=(b=oe.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&te&&(!(b=te.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=te.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ie=v,se=h,he=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=Q,ue=K,fe=X,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,He=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,Te=K,Ce=q,Ie=TypeError,Pe={},Me={get exports(){return Pe},set exports(e){Pe=e}},Oe=i,Ee=Object.defineProperty,ke=function(e,t){try{Ee(Oe,e,{value:t,configurable:!0,writable:!0})}catch(r){Oe[e]=t}return t},Le=ke,Be="__core-js_shared__",De=i[Be]||Le(Be,{}),Ue=De;(Me.exports=function(e,t){return Ue[e]||(Ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.28.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=N,Ne=Object,je=function(e){return Ne(Fe(e))},xe=je,_e=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(xe(e),t)},Ye=T,ze=0,Ke=Math.random(),Je=Ye(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Pe,Ve=Ge,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=He,st=function(e,t){var r,n;if("string"===t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(Te(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw Ie("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!=Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Ht=_,Rt=ft,Tt=Ge,Ct=bt,It=Object.getOwnPropertyDescriptor;s.f=vt?It:function(e,t){if(e=Ht(e),t=Rt(t),Ct)try{return It(e,t)}catch(e){}if(Tt(e,t))return At(!St(wt.f,e,t),e[t])};var Pt={},Mt=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=q,Et=String,kt=TypeError,Lt=function(e){if(Ot(e))return e;throw kt(Et(e)+" is not an object")},Bt=c,Dt=bt,Ut=Mt,Ft=Lt,Nt=ft,jt=TypeError,xt=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,Gt="enumerable",Yt="configurable",zt="writable";Pt.f=Bt?Ut?function(e,t,r){if(Ft(e),t=Nt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r[zt]){var n=_t(e,t);n&&n[zt]&&(e[t]=r.value,r={configurable:Yt in r?r[Yt]:n[Yt],enumerable:Gt in r?r[Gt]:n[Gt],writable:!1})}return xt(e,t,r)}:xt:function(e,t,r){if(Ft(e),t=Nt(t),Ft(r),Dt)try{return xt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=Pt,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={},Vt={get exports(){return qt},set exports(e){qt=e}},Zt=c,$t=Ge,Qt=Function.prototype,Xt=Zt&&Object.getOwnPropertyDescriptor,er=$t(Qt,"name"),tr={EXISTS:er,PROPER:er&&"something"===function(){}.name,CONFIGURABLE:er&&(!Zt||Zt&&Xt(Qt,"name").configurable)},rr=K,nr=De,ar=T(Function.toString);rr(nr.inspectSource)||(nr.inspectSource=function(e){return ar(e)});var or,ir,sr,hr=nr.inspectSource,cr=K,lr=i.WeakMap,ur=cr(lr)&&/native code/.test(String(lr)),fr=We,dr=Pe("keys"),mr=function(e){return dr[e]||(dr[e]=fr(e))},gr={},pr=ur,yr=i,br=q,vr=Wt,Sr=Ge,wr=De,Ar=mr,Hr=gr,Rr="Object already initialized",Tr=yr.TypeError,Cr=yr.WeakMap;if(pr||wr.state){var Ir=wr.state||(wr.state=new Cr);Ir.get=Ir.get,Ir.has=Ir.has,Ir.set=Ir.set,or=function(e,t){if(Ir.has(e))throw Tr(Rr);return t.facade=e,Ir.set(e,t),t},ir=function(e){return Ir.get(e)||{}},sr=function(e){return Ir.has(e)}}else{var Pr=Ar("state");Hr[Pr]=!0,or=function(e,t){if(Sr(e,Pr))throw Tr(Rr);return t.facade=e,vr(e,Pr,t),t},ir=function(e){return Sr(e,Pr)?e[Pr]:{}},sr=function(e){return Sr(e,Pr)}}var Mr={set:or,get:ir,has:sr,enforce:function(e){return sr(e)?ir(e):or(e,{})},getterFor:function(e){return function(t){var r;if(!br(t)||(r=ir(t)).type!==e)throw Tr("Incompatible receiver, "+e+" required");return r}}},Or=T,Er=h,kr=K,Lr=Ge,Br=c,Dr=tr.CONFIGURABLE,Ur=hr,Fr=Mr.enforce,Nr=Mr.get,jr=String,xr=Object.defineProperty,_r=Or("".slice),Gr=Or("".replace),Yr=Or([].join),zr=Br&&!Er((function(){return 8!==xr((function(){}),"length",{value:8}).length})),Kr=String(String).split("String"),Jr=Vt.exports=function(e,t,r){"Symbol("===_r(jr(t),0,7)&&(t="["+Gr(jr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Lr(e,"name")||Dr&&e.name!==t)&&(Br?xr(e,"name",{value:t,configurable:!0}):e.name=t),zr&&r&&Lr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});try{r&&Lr(r,"constructor")&&r.constructor?Br&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fr(e);return Lr(n,"source")||(n.source=Yr(Kr,"string"==typeof t?t:"")),e};Function.prototype.toString=Jr((function(){return kr(this)&&Nr(this).source||Ur(this)}),"toString");var Wr=K,qr=Pt,Vr=qt,Zr=ke,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=_,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ge,vn=_,Sn=yn.indexOf,wn=gr,An=T([].push),Hn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tn=Hn,Cn=Rn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Tn(e,Cn)};var In={};In.f=Object.getOwnPropertySymbols;var Pn=Q,Mn=Qr,On=In,En=Lt,kn=T([].concat),Ln=Pn("Reflect","ownKeys")||function(e){var t=Mn.f(En(e)),r=On.f;return r?kn(t,r(e)):t},Bn=Ge,Dn=Ln,Un=s,Fn=Pt,Nn=h,jn=K,xn=/#|\.prototype\./,_n=function(e,t){var r=Yn[Gn(e)];return r==Kn||r!=zn&&(jn(t)?Nn(t):!!t)},Gn=_n.normalize=function(e){return String(e).replace(xn,".").toLowerCase()},Yn=_n.data={},zn=_n.NATIVE="N",Kn=_n.POLYFILL="P",Jn=_n,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=ke,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=M,oa=rt("toStringTag"),ia=Object,sa="Arguments"==aa(function(){return arguments}()),ha=ra?aa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ia(e),oa))?r:sa?aa(t):"Object"==(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=Lt,da=function(){var e=fa(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Hn,wa=Rn,Aa=Object.keys||function(e){return Sa(e,wa)},Ha=c,Ra=Mt,Ta=Pt,Ca=Lt,Ia=_,Pa=Aa;va.f=Ha&&!Ra?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Ia(t),a=Pa(t),o=a.length,i=0;o>i;)Ta.f(e,r=a[i++],n[r]);return e};var Ma,Oa=Q("document","documentElement"),Ea=Lt,ka=va,La=Rn,Ba=gr,Da=Oa,Ua=pt,Fa="prototype",Na="script",ja=mr("IE_PROTO"),xa=function(){},_a=function(e){return"<"+Na+">"+e+"</"+Na+">"},Ga=function(e){e.write(_a("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ya=function(){try{Ma=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Ya="undefined"!=typeof document?document.domain&&Ma?Ga(Ma):(t=Ua("iframe"),r="java"+Na+":",t.style.display="none",Da.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(_a("document.F=Object")),e.close(),e.F):Ga(Ma);for(var n=La.length;n--;)delete Ya[Fa][La[n]];return Ya()};Ba[ja]=!0;var za,Ka,Ja=Object.create||function(e,t){var r;return null!==e?(xa[Fa]=Ea(e),r=new xa,xa[Fa]=null,r[ja]=e):r=Ya(),void 0===t?r:ka.f(r,t)},Wa=h,qa=i.RegExp,Va=Wa((function(){var e=qa(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Za=h,$a=i.RegExp,Qa=Za((function(){var e=$a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xa=d,eo=T,to=ua,ro=da,no=ba,ao=Ja,oo=Mr.get,io=Va,so=Qa,ho=Pe("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,lo=co,uo=eo("".charAt),fo=eo("".indexOf),mo=eo("".replace),go=eo("".slice),po=(Ka=/b*/g,Xa(co,za=/a/,"a"),Xa(co,Ka,"a"),0!==za.lastIndex||0!==Ka.lastIndex),yo=no.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(lo=function(e){var t,r,n,a,o,i,s,h=this,c=oo(h),l=to(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Xa(lo,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=yo&&h.sticky,m=Xa(ro,h),g=h.source,p=0,y=l;if(d&&(m=mo(m,"y",""),-1===fo(m,"g")&&(m+="g"),y=go(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==uo(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),bo&&(r=new RegExp("^"+g+"$(?!\\s)",m)),po&&(n=h.lastIndex),a=Xa(co,d?r:h,y),d?a?(a.input=go(a.input,p),a[0]=go(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:po&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Xa(ho,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=ao(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==lo},{exec:lo});var vo=pt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=rt,Ho=Ja,Ro=Pt.f,To=Ao("unscopables"),Co=Array.prototype;null==Co[To]&&Ro(Co,To,{configurable:!0,value:Ho(null)});var Io,Po,Mo,Oo={},Eo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ko=Ge,Lo=K,Bo=je,Do=Eo,Uo=mr("IE_PROTO"),Fo=Object,No=Fo.prototype,jo=Do?Fo.getPrototypeOf:function(e){var t=Bo(e);if(ko(t,Uo))return t[Uo];var r=t.constructor;return Lo(r)&&t instanceof r?r.prototype:t instanceof Fo?No:null},xo=h,_o=K,Go=q,Yo=jo,zo=$r,Ko=rt("iterator"),Jo=!1;[].keys&&("next"in(Mo=[].keys())?(Po=Yo(Yo(Mo)))!==Object.prototype&&(Io=Po):Jo=!0);var Wo=!Go(Io)||xo((function(){var e={};return Io[Ko].call(e)!==e}));Wo&&(Io={}),_o(Io[Ko])||zo(Io,Ko,(function(){return this}));var qo={IteratorPrototype:Io,BUGGY_SAFARI_ITERATORS:Jo},Vo=Pt.f,Zo=Ge,$o=rt("toStringTag"),Qo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Zo(e,$o)&&Vo(e,$o,{configurable:!0,value:t})},Xo=qo.IteratorPrototype,ei=Ja,ti=S,ri=Qo,ni=Oo,ai=function(){return this},oi=function(e,t,r,n){var a=t+" Iterator";return e.prototype=ei(Xo,{next:ti(+!n,r)}),ri(e,a,!1),ni[a]=ai,e},ii=T,si=Se,hi=K,ci=String,li=TypeError,ui=function(e,t,r){try{return ii(si(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},fi=Lt,di=function(e){if("object"==typeof e||hi(e))return e;throw li("Can't set "+ci(e)+" as a prototype")},mi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ui(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return fi(r),di(n),t?e(r,n):r.__proto__=n,r}}():void 0),gi=ea,pi=d,yi=K,bi=oi,vi=jo,Si=mi,wi=Qo,Ai=Wt,Hi=$r,Ri=Oo,Ti=tr.PROPER,Ci=tr.CONFIGURABLE,Ii=qo.IteratorPrototype,Pi=qo.BUGGY_SAFARI_ITERATORS,Mi=rt("iterator"),Oi="keys",Ei="values",ki="entries",Li=function(){return this},Bi=function(e,t,r,n,a,o,i){bi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Pi&&e in d)return d[e];switch(e){case Oi:case Ei:case ki:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[Mi]||d["@@iterator"]||a&&d[a],g=!Pi&&m||l(a),p="Array"==t&&d.entries||m;if(p&&(s=vi(p.call(new e)))!==Object.prototype&&s.next&&(vi(s)!==Ii&&(Si?Si(s,Ii):yi(s[Mi])||Hi(s,Mi,Li)),wi(s,u,!0)),Ti&&a==Ei&&m&&m.name!==Ei&&(Ci?Ai(d,"name",Ei):(f=!0,g=function(){return pi(m,this)})),a)if(h={values:l(Ei),keys:o?g:l(Oi),entries:l(ki)},i)for(c in h)(Pi||f||!(c in d))&&Hi(d,c,h[c]);else gi({target:t,proto:!0,forced:Pi||f},h);return d[Mi]!==g&&Hi(d,Mi,g,{name:a}),Ri[t]=g,h},Di=function(e,t){return{value:e,done:t}},Ui=_,Fi=function(e){Co[To][e]=!0},Ni=Oo,ji=Mr,xi=Pt.f,_i=Bi,Gi=Di,Yi=c,zi="Array Iterator",Ki=ji.set,Ji=ji.getterFor(zi),Wi=_i(Array,"Array",(function(e,t){Ki(this,{type:zi,target:Ui(e),index:0,kind:t})}),(function(){var e=Ji(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Gi(void 0,!0)):Gi("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),qi=Ni.Arguments=Ni.Array;if(Fi("keys"),Fi("values"),Fi("entries"),Yi&&"values"!==qi.name)try{xi(qi,"name",{value:"values"})}catch(e){}var Vi=i,Zi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$i=wo,Qi=Wi,Xi=Wt,es=rt,ts=es("iterator"),rs=es("toStringTag"),ns=Qi.values,as=function(e,t){if(e){if(e[ts]!==ns)try{Xi(e,ts,ns)}catch(t){e[ts]=ns}if(e[rs]||Xi(e,rs,t),Zi[t])for(var r in Qi)if(e[r]!==Qi[r])try{Xi(e,r,Qi[r])}catch(t){e[r]=Qi[r]}}};for(var os in Zi)as(Vi[os]&&Vi[os].prototype,os);as($i,"DOMTokenList");var is=T,ss=rn,hs=ua,cs=N,ls=is("".charAt),us=is("".charCodeAt),fs=is("".slice),ds=function(e){return function(t,r){var n,a,o=hs(cs(t)),i=ss(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=us(o,i))<55296||n>56319||i+1===s||(a=us(o,i+1))<56320||a>57343?e?ls(o,i):n:e?fs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ms={codeAt:ds(!1),charAt:ds(!0)},gs=ms.charAt,ps=ua,ys=Mr,bs=Bi,vs=Di,Ss="String Iterator",ws=ys.set,As=ys.getterFor(Ss);bs(String,"String",(function(e){ws(this,{type:Ss,string:ps(e),index:0})}),(function(){var e,t=As(this),r=t.string,n=t.index;return n>=r.length?vs(void 0,!0):(e=gs(r,n),t.index+=e.length,vs(e,!1))}));var Hs=h,Rs=rt("iterator"),Ts=!Hs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Rs]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),Cs=M,Is=T,Ps=function(e){if("Function"===Cs(e))return Is(e)},Ms=Se,Os=l,Es=Ps(Ps.bind),ks=function(e,t){return Ms(e),void 0===t?e:Os?Es(e,t):function(){return e.apply(t,arguments)}},Ls=qt,Bs=Pt,Ds=X,Us=TypeError,Fs=function(e,t){if(Ds(t,e))return e;throw Us("Incorrect invocation")},Ns=c,js=T,xs=d,_s=h,Gs=Aa,Ys=In,zs=m,Ks=je,Js=B,Ws=Object.assign,qs=Object.defineProperty,Vs=js([].concat),Zs=!Ws||_s((function(){if(Ns&&1!==Ws({b:1},Ws(qs({},"a",{enumerable:!0,get:function(){qs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Ws({},e)[r]||Gs(Ws({},t)).join("")!=n}))?function(e,t){for(var r=Ks(e),n=arguments.length,a=1,o=Ys.f,i=zs.f;n>a;)for(var s,h=Js(arguments[a++]),c=o?Vs(Gs(h),o(h)):Gs(h),l=c.length,u=0;l>u;)s=c[u++],Ns&&!xs(i,h,s)||(r[s]=h[s]);return r}:Ws,$s=d,Qs=Lt,Xs=He,eh=Lt,th=function(e,t,r){var n,a;Qs(e);try{if(!(n=Xs(e,"return"))){if("throw"===t)throw r;return r}n=$s(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return Qs(n),r},rh=Oo,nh=rt("iterator"),ah=Array.prototype,oh=T,ih=h,sh=K,hh=ha,ch=hr,lh=function(){},uh=[],fh=Q("Reflect","construct"),dh=/^\s*(?:class|function)\b/,mh=oh(dh.exec),gh=!dh.exec(lh),ph=function(e){if(!sh(e))return!1;try{return fh(lh,uh,e),!0}catch(e){return!1}},yh=function(e){if(!sh(e))return!1;switch(hh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return gh||!!mh(dh,ch(e))}catch(e){return!0}};yh.sham=!0;var bh=!fh||ih((function(){var e;return ph(ph.call)||!ph(Object)||!ph((function(){e=!0}))||e}))?yh:ph,vh=ft,Sh=Pt,wh=S,Ah=function(e,t,r){var n=vh(t);n in e?Sh.f(e,n,wh(0,r)):e[n]=r},Hh=ha,Rh=He,Th=D,Ch=Oo,Ih=rt("iterator"),Ph=function(e){if(!Th(e))return Rh(e,Ih)||Rh(e,"@@iterator")||Ch[Hh(e)]},Mh=d,Oh=Se,Eh=Lt,kh=pe,Lh=Ph,Bh=TypeError,Dh=function(e,t){var r=arguments.length<2?Lh(e):t;if(Oh(r))return Eh(Mh(r,e));throw Bh(kh(e)+" is not iterable")},Uh=ks,Fh=d,Nh=je,jh=function(e,t,r,n){try{return n?t(eh(r)[0],r[1]):t(r)}catch(t){th(e,"throw",t)}},xh=function(e){return void 0!==e&&(rh.Array===e||ah[nh]===e)},_h=bh,Gh=fn,Yh=Ah,zh=Dh,Kh=Ph,Jh=Array,Wh=sn,qh=fn,Vh=Ah,Zh=Array,$h=Math.max,Qh=function(e,t,r){for(var n=qh(e),a=Wh(t,n),o=Wh(void 0===r?n:r,n),i=Zh($h(o-a,0)),s=0;a<o;a++,s++)Vh(i,s,e[a]);return i.length=s,i},Xh=T,ec=2147483647,tc=/[^\0-\u007E]/,rc=/[.\u3002\uFF0E\uFF61]/g,nc="Overflow: input needs wider integers to process",ac=RangeError,oc=Xh(rc.exec),ic=Math.floor,sc=String.fromCharCode,hc=Xh("".charCodeAt),cc=Xh([].join),lc=Xh([].push),uc=Xh("".replace),fc=Xh("".split),dc=Xh("".toLowerCase),mc=function(e){return e+22+75*(e<26)},gc=function(e,t,r){var n=0;for(e=r?ic(e/700):e>>1,e+=ic(e/t);e>455;)e=ic(e/35),n+=36;return ic(n+36*e/(e+38))},pc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=hc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=hc(e,r++);56320==(64512&o)?lc(t,((1023&a)<<10)+(1023&o)+65536):(lc(t,a),r--)}else lc(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&lc(t,sc(n));var h=t.length,c=h;for(h&&lc(t,"-");c<a;){var l=ec;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>ic((ec-i)/u))throw ac(nc);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>ec)throw ac(nc);if(n==o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;lc(t,sc(mc(m+g%p))),f=ic(g/p),d+=36}lc(t,sc(mc(f))),s=gc(i,u,c==h),i=0,c++}}i++,o++}return cc(t,"")},yc=TypeError,bc=function(e,t){if(e<t)throw yc("Not enough arguments");return e},vc=$r,Sc=Qh,wc=Math.floor,Ac=function(e,t){var r=e.length,n=wc(r/2);return r<8?Hc(e,t):Rc(e,Ac(Sc(e,0,n),t),Ac(Sc(e,n),t),t)},Hc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Rc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},Tc=ea,Cc=i,Ic=d,Pc=T,Mc=c,Oc=Ts,Ec=$r,kc=function(e,t,r){for(var n in t)vc(e,n,t[n],r);return e},Lc=Qo,Bc=oi,Dc=Mr,Uc=Fs,Fc=K,Nc=Ge,jc=ks,xc=ha,_c=Lt,Gc=q,Yc=ua,zc=Ja,Kc=S,Jc=Dh,Wc=Ph,qc=bc,Vc=Ac,Zc=rt("iterator"),$c="URLSearchParams",Qc=$c+"Iterator",Xc=Dc.set,el=Dc.getterFor($c),tl=Dc.getterFor(Qc),rl=Object.getOwnPropertyDescriptor,nl=function(e){if(!Mc)return Cc[e];var t=rl(Cc,e);return t&&t.value},al=nl("fetch"),ol=nl("Request"),il=nl("Headers"),sl=ol&&ol.prototype,hl=il&&il.prototype,cl=Cc.RegExp,ll=Cc.TypeError,ul=Cc.decodeURIComponent,fl=Cc.encodeURIComponent,dl=Pc("".charAt),ml=Pc([].join),gl=Pc([].push),pl=Pc("".replace),yl=Pc([].shift),bl=Pc([].splice),vl=Pc("".split),Sl=Pc("".slice),wl=/\+/g,Al=Array(4),Hl=function(e){return Al[e-1]||(Al[e-1]=cl("((?:%[\\da-f]{2}){"+e+"})","gi"))},Rl=function(e){try{return ul(e)}catch(t){return e}},Tl=function(e){var t=pl(e,wl," "),r=4;try{return ul(t)}catch(e){for(;r;)t=pl(t,Hl(r--),Rl);return t}},Cl=/[!'()~]|%20/g,Il={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Pl=function(e){return Il[e]},Ml=function(e){return pl(fl(e),Cl,Pl)},Ol=Bc((function(e,t){Xc(this,{type:Qc,iterator:Jc(el(e).entries),kind:t})}),"Iterator",(function(){var e=tl(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),El=function(e){this.entries=[],this.url=null,void 0!==e&&(Gc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===dl(e,0)?Sl(e,1):e:Yc(e)))};El.prototype={type:$c,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Wc(e);if(h)for(r=(t=Jc(e,h)).next;!(n=Ic(r,t)).done;){if(o=(a=Jc(_c(n.value))).next,(i=Ic(o,a)).done||(s=Ic(o,a)).done||!Ic(o,a).done)throw ll("Expected sequence with length 2");gl(this.entries,{key:Yc(i.value),value:Yc(s.value)})}else for(var c in e)Nc(e,c)&&gl(this.entries,{key:c,value:Yc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=vl(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=vl(t,"="),gl(this.entries,{key:Tl(yl(r)),value:Tl(ml(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],gl(r,Ml(e.key)+"="+Ml(e.value));return ml(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var kl=function(){Uc(this,Ll),Xc(this,new El(arguments.length>0?arguments[0]:void 0))},Ll=kl.prototype;if(kc(Ll,{append:function(e,t){qc(arguments.length,2);var r=el(this);gl(r.entries,{key:Yc(e),value:Yc(t)}),r.updateURL()},delete:function(e){qc(arguments.length,1);for(var t=el(this),r=t.entries,n=Yc(e),a=0;a<r.length;)r[a].key===n?bl(r,a,1):a++;t.updateURL()},get:function(e){qc(arguments.length,1);for(var t=el(this).entries,r=Yc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){qc(arguments.length,1);for(var t=el(this).entries,r=Yc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&gl(n,t[a].value);return n},has:function(e){qc(arguments.length,1);for(var t=el(this).entries,r=Yc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){qc(arguments.length,1);for(var r,n=el(this),a=n.entries,o=!1,i=Yc(e),s=Yc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?bl(a,h--,1):(o=!0,r.value=s));o||gl(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=el(this);Vc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=el(this).entries,n=jc(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new Ol(this,"keys")},values:function(){return new Ol(this,"values")},entries:function(){return new Ol(this,"entries")}},{enumerable:!0}),Ec(Ll,Zc,Ll.entries,{name:"entries"}),Ec(Ll,"toString",(function(){return el(this).serialize()}),{enumerable:!0}),Lc(kl,$c),Tc({global:!0,constructor:!0,forced:!Oc},{URLSearchParams:kl}),!Oc&&Fc(il)){var Bl=Pc(hl.has),Dl=Pc(hl.set),Ul=function(e){if(Gc(e)){var t,r=e.body;if(xc(r)===$c)return t=e.headers?new il(e.headers):new il,Bl(t,"content-type")||Dl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),zc(e,{body:Kc(0,Yc(r)),headers:Kc(0,t)})}return e};if(Fc(al)&&Tc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return al(e,arguments.length>1?Ul(arguments[1]):{})}}),Fc(ol)){var Fl=function(e){return Uc(this,sl),new ol(e,arguments.length>1?Ul(arguments[1]):{})};sl.constructor=Fl,Fl.prototype=sl,Tc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Fl})}}var Nl,jl=ea,xl=c,_l=Ts,Gl=i,Yl=ks,zl=T,Kl=$r,Jl=function(e,t,r){return r.get&&Ls(r.get,t,{getter:!0}),r.set&&Ls(r.set,t,{setter:!0}),Bs.f(e,t,r)},Wl=Fs,ql=Ge,Vl=Zs,Zl=function(e){var t=Nh(e),r=_h(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Uh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Kh(t),d=0;if(!f||this===Jh&&xh(f))for(i=Gh(t),s=r?new this(i):Jh(i);i>d;d++)u=o?a(t[d],d):t[d],Yh(s,d,u);else for(l=(c=zh(t,f)).next,s=r?new this:[];!(h=Fh(l,c)).done;d++)u=o?jh(c,a,[h.value,d],!0):h.value,Yh(s,d,u);return s.length=d,s},$l=Qh,Ql=ms.codeAt,Xl=function(e){var t,r,n=[],a=fc(uc(dc(e),rc,"."),".");for(t=0;t<a.length;t++)r=a[t],lc(n,oc(tc,r)?"xn--"+pc(r):r);return cc(n,".")},eu=ua,tu=Qo,ru=bc,nu={URLSearchParams:kl,getState:el},au=Mr,ou=au.set,iu=au.getterFor("URL"),su=nu.URLSearchParams,hu=nu.getState,cu=Gl.URL,lu=Gl.TypeError,uu=Gl.parseInt,fu=Math.floor,du=Math.pow,mu=zl("".charAt),gu=zl(/./.exec),pu=zl([].join),yu=zl(1..toString),bu=zl([].pop),vu=zl([].push),Su=zl("".replace),wu=zl([].shift),Au=zl("".split),Hu=zl("".slice),Ru=zl("".toLowerCase),Tu=zl([].unshift),Cu="Invalid scheme",Iu="Invalid host",Pu="Invalid port",Mu=/[a-z]/i,Ou=/[\d+-.a-z]/i,Eu=/\d/,ku=/^0x/i,Lu=/^[0-7]+$/,Bu=/^\d+$/,Du=/^[\da-f]+$/i,Uu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Fu=/[\0\t\n\r #/:<>?@[\\\]^|]/,Nu=/^[\u0000-\u0020]+/,ju=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,xu=/[\t\n\r]/g,_u=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Tu(t,e%256),e=fu(e/256);return pu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=yu(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Gu={},Yu=Vl({},Gu,{" ":1,'"':1,"<":1,">":1,"`":1}),zu=Vl({},Yu,{"#":1,"?":1,"{":1,"}":1}),Ku=Vl({},zu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ju=function(e,t){var r=Ql(e,0);return r>32&&r<127&&!ql(t,e)?e:encodeURIComponent(e)},Wu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},qu=function(e,t){var r;return 2==e.length&&gu(Mu,mu(e,0))&&(":"==(r=mu(e,1))||!t&&"|"==r)},Vu=function(e){var t;return e.length>1&&qu(Hu(e,0,2))&&(2==e.length||"/"===(t=mu(e,2))||"\\"===t||"?"===t||"#"===t)},Zu=function(e){return"."===e||"%2e"===Ru(e)},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf={},gf={},pf={},yf={},bf={},vf=function(e,t,r){var n,a,o,i=eu(e);if(t){if(a=this.parse(i))throw lu(a);this.searchParams=null}else{if(void 0!==r&&(n=new vf(r,!0)),a=this.parse(i,null,n))throw lu(a);(o=hu(new su)).bindURL(this),this.searchParams=o}};vf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||$u,l=0,u="",f=!1,d=!1,m=!1;for(e=eu(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=Su(e,Nu,""),e=Su(e,ju,"$1")),e=Su(e,xu,""),n=Zl(e);l<=n.length;){switch(a=n[l],c){case $u:if(!a||!gu(Mu,a)){if(t)return Cu;c=Xu;continue}u+=Ru(a),c=Qu;break;case Qu:if(a&&(gu(Ou,a)||"+"==a||"-"==a||"."==a))u+=Ru(a);else{if(":"!=a){if(t)return Cu;u="",c=Xu,l=0;continue}if(t&&(h.isSpecial()!=ql(Wu,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Wu[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=uf:h.isSpecial()&&r&&r.scheme==h.scheme?c=ef:h.isSpecial()?c=af:"/"==n[l+1]?(c=tf,l++):(h.cannotBeABaseURL=!0,vu(h.path,""),c=pf)}break;case Xu:if(!r||r.cannotBeABaseURL&&"#"!=a)return Cu;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=$l(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=bf;break}c="file"==r.scheme?uf:rf;continue;case ef:if("/"!=a||"/"!=n[l+1]){c=rf;continue}c=of,l++;break;case tf:if("/"==a){c=sf;break}c=gf;continue;case rf:if(h.scheme=r.scheme,a==Nl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=$l(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=nf;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=$l(r.path),h.query="",c=yf;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=$l(r.path),h.path.length--,c=gf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=$l(r.path),h.query=r.query,h.fragment="",c=bf}break;case nf:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=gf;continue}c=sf}else c=of;break;case af:if(c=of,"/"!=a||"/"!=mu(u,l+1))continue;l++;break;case of:if("/"!=a&&"\\"!=a){c=sf;continue}break;case sf:if("@"==a){f&&(u="%40"+u),f=!0,o=Zl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!=p||m){var y=Ju(p,Ku);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a==Nl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Zl(u).length+1,u="",c=hf}else u+=a;break;case hf:case cf:if(t&&"file"==h.scheme){c=df;continue}if(":"!=a||d){if(a==Nl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return Iu;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=mf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return Iu;if(i=h.parseHost(u))return i;if(u="",c=lf,t==cf)return}break;case lf:if(!gu(Eu,a)){if(a==Nl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=uu(u,10);if(b>65535)return Pu;h.port=h.isSpecial()&&b===Wu[h.scheme]?null:b,u=""}if(t)return;c=mf;continue}return Pu}u+=a;break;case uf:if(h.scheme="file","/"==a||"\\"==a)c=ff;else{if(!r||"file"!=r.scheme){c=gf;continue}if(a==Nl)h.host=r.host,h.path=$l(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=$l(r.path),h.query="",c=yf;else{if("#"!=a){Vu(pu($l(n,l),""))||(h.host=r.host,h.path=$l(r.path),h.shortenPath()),c=gf;continue}h.host=r.host,h.path=$l(r.path),h.query=r.query,h.fragment="",c=bf}}break;case ff:if("/"==a||"\\"==a){c=df;break}r&&"file"==r.scheme&&!Vu(pu($l(n,l),""))&&(qu(r.path[0],!0)?vu(h.path,r.path[0]):h.host=r.host),c=gf;continue;case df:if(a==Nl||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&qu(u))c=gf;else if(""==u){if(h.host="",t)return;c=mf}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=mf}continue}u+=a;break;case mf:if(h.isSpecial()){if(c=gf,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Nl&&(c=gf,"/"!=a))continue}else h.fragment="",c=bf;else h.query="",c=yf;break;case gf:if(a==Nl||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=Ru(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||vu(h.path,"")):Zu(u)?"/"==a||"\\"==a&&h.isSpecial()||vu(h.path,""):("file"==h.scheme&&!h.path.length&&qu(u)&&(h.host&&(h.host=""),u=mu(u,0)+":"),vu(h.path,u)),u="","file"==h.scheme&&(a==Nl||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)wu(h.path);"?"==a?(h.query="",c=yf):"#"==a&&(h.fragment="",c=bf)}else u+=Ju(a,zu);break;case pf:"?"==a?(h.query="",c=yf):"#"==a?(h.fragment="",c=bf):a!=Nl&&(h.path[0]+=Ju(a,Gu));break;case yf:t||"#"!=a?a!=Nl&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":Ju(a,Gu)):(h.fragment="",c=bf);break;case bf:a!=Nl&&(h.fragment+=Ju(a,Yu))}l++}},parseHost:function(e){var t,r,n;if("["==mu(e,0)){if("]"!=mu(e,e.length-1))return Iu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return mu(e,u)};if(":"==f()){if(":"!=mu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&gu(Du,f());)t=16*t+uu(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!gu(Eu,f()))return;for(;gu(Eu,f());){if(o=uu(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(Hu(e,1,-1)),!t)return Iu;this.host=t}else if(this.isSpecial()){if(e=Xl(e),gu(Uu,e))return Iu;if(t=function(e){var t,r,n,a,o,i,s,h=Au(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==mu(a,0)&&(o=gu(ku,a)?16:8,a=Hu(a,8==o?1:2)),""===a)i=0;else{if(!gu(10==o?Bu:8==o?Lu:Du,a))return e;i=uu(a,o)}vu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=du(256,5-t))return null}else if(i>255)return null;for(s=bu(r),n=0;n<r.length;n++)s+=r[n]*du(256,3-n);return s}(e),null===t)return Iu;this.host=t}else{if(gu(Fu,e))return Iu;for(t="",r=Zl(e),n=0;n<r.length;n++)t+=Ju(r[n],Gu);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return ql(Wu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&qu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=_u(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+pu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw lu(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Sf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+_u(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(eu(e)+":",$u)},getUsername:function(){return this.username},setUsername:function(e){var t=Zl(eu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Ju(t[r],Ku)}},getPassword:function(){return this.password},setPassword:function(e){var t=Zl(eu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Ju(t[r],Ku)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?_u(e):_u(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,hf)},getHostname:function(){var e=this.host;return null===e?"":_u(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,cf)},getPort:function(){var e=this.port;return null===e?"":eu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=eu(e))?this.port=null:this.parse(e,lf))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+pu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,mf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=eu(e))?this.query=null:("?"==mu(e,0)&&(e=Hu(e,1)),this.query="",this.parse(e,yf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=eu(e))?("#"==mu(e,0)&&(e=Hu(e,1)),this.fragment="",this.parse(e,bf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Sf=function(e){var t=Wl(this,wf),r=ru(arguments.length,1)>1?arguments[1]:void 0,n=ou(t,new vf(e,!1,r));xl||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},wf=Sf.prototype,Af=function(e,t){return{get:function(){return iu(this)[e]()},set:t&&function(e){return iu(this)[t](e)},configurable:!0,enumerable:!0}};if(xl&&(Jl(wf,"href",Af("serialize","setHref")),Jl(wf,"origin",Af("getOrigin")),Jl(wf,"protocol",Af("getProtocol","setProtocol")),Jl(wf,"username",Af("getUsername","setUsername")),Jl(wf,"password",Af("getPassword","setPassword")),Jl(wf,"host",Af("getHost","setHost")),Jl(wf,"hostname",Af("getHostname","setHostname")),Jl(wf,"port",Af("getPort","setPort")),Jl(wf,"pathname",Af("getPathname","setPathname")),Jl(wf,"search",Af("getSearch","setSearch")),Jl(wf,"searchParams",Af("getSearchParams")),Jl(wf,"hash",Af("getHash","setHash"))),Kl(wf,"toJSON",(function(){return iu(this).serialize()}),{enumerable:!0}),Kl(wf,"toString",(function(){return iu(this).serialize()}),{enumerable:!0}),cu){var Hf=cu.createObjectURL,Rf=cu.revokeObjectURL;Hf&&Kl(Sf,"createObjectURL",Yl(Hf,cu)),Rf&&Kl(Sf,"revokeObjectURL",Yl(Rf,cu))}tu(Sf,"URL"),jl({global:!0,constructor:!0,forced:!_l,sham:!xl},{URL:Sf});var Tf,Cf=q,If=M,Pf=rt("match"),Mf=function(e){var t;return Cf(e)&&(void 0!==(t=e[Pf])?!!t:"RegExp"==If(e))},Of=TypeError,Ef=rt("match"),kf=ea,Lf=Ps,Bf=s.f,Df=ln,Uf=ua,Ff=function(e){if(Mf(e))throw Of("The method doesn't accept regular expressions");return e},Nf=N,jf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Ef]=!1,"/./"[e](t)}catch(e){}}return!1},xf=Lf("".startsWith),_f=Lf("".slice),Gf=Math.min,Yf=jf("startsWith");kf({target:"String",proto:!0,forced:!!(Yf||(Tf=Bf(String.prototype,"startsWith"),!Tf||Tf.writable))&&!Yf},{startsWith:function(e){var t=Uf(Nf(this));Ff(e);var r=Df(Gf(arguments.length>1?arguments[1]:void 0,t.length)),n=Uf(e);return xf?xf(t,n,r):_f(t,r,r+n.length)===n}});var zf=d,Kf=Ge,Jf=X,Wf=da,qf=RegExp.prototype,Vf=tr.PROPER,Zf=$r,$f=Lt,Qf=ua,Xf=h,ed=function(e){var t=e.flags;return void 0!==t||"flags"in qf||Kf(e,"flags")||!Jf(qf,e)?t:zf(Wf,e)},td="toString",rd=RegExp.prototype[td],nd=Xf((function(){return"/a/b"!=rd.call({source:"a",flags:"b"})})),ad=Vf&&rd.name!=td;(nd||ad)&&Zf(RegExp.prototype,td,(function(){var e=$f(this);return"/"+Qf(e.source)+"/"+Qf(ed(e))}),{unsafe:!0});var od={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},id={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function sd(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:id[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function hd(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function cd(e){return e<10?"0"+e:""+e}function ld(e){return e<0?"-00"+ld(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function ud(e){return ld(e.getFullYear())+"-"+cd(e.getMonth()+1)+"-"+cd(e.getDate())}const fd=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.NACH_YOMI,"nachyomi"],[t.flags.YERUSHALMI_YOMI,"yerushalmi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function dd(e){const t=e.getDesc();switch(t){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"];case"Purim":return["holiday","major"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<fd.length;e++){const t=fd[e];if(r&t[0])return t.slice(1)}switch(t){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function md(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function gd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=od[e.getDesc()]||od[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const pd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function yd(e,n){const a=e.getFlags();if(a&pd)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function bd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=yd(e,r);if(t)return t}catch(e){}return e.memo||od[e.basename()]}function vd(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function Sd(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const wd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Ad={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function Hd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=Sd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=Ad[dd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||gd(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function Rd(e){return ud(e.getDate().greg())}function Td(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):ud(h),u=dd(e),f=e.getFlags();let d=Sd(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=function(e){const t={};e.summary&&(t.torah=e.summary);e.haftara&&(t.haftarah=e.haftara);e.sephardic&&(t.haftarah_sephardic=e.sephardic);e.fullkriyah&&Cd(t,e.fullkriyah);e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara));return t}(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=Cd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=vd(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),f&t.flags.MOLAD){const r=e.molad;p.molad={year:r.year,month:t.HDate.getMonthName(r.month,r.year),dow:r.dow,hour:r.hour,minutes:r.minutes,chalakim:r.chalakim},delete p.hebrew}if(a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||od[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function Cd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}const Id={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Pd(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=hd(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=vd(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=vd(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=dd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=bd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==m?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=vd,e.countryNames=id,e.eventToClassicApiObject=Td,e.eventToCsv=Hd,e.eventToFullCalendar=function(e,r,n){const a=dd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:Sd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):ud(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=vd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=bd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Pd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:md(e,t),date:(new Date).toISOString()};return n.location=sd(t.location),e.length&&(n.range={start:Rd(e[0]),end:Rd(e[e.length-1])}),n.items=e.map((e=>Td(e,t,r))),n},e.eventsToCsv=function(e,t){return[wd].concat(e.map((e=>Hd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||md(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=vd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||Id[t.locale]||t.locale||"en-US";let m='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{m+=Pd(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=md,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+hd(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=dd,e.getHolidayDescription=gd,e.holidayDescription=od,e.locationToPlainObj=sd,e.makeAnchor=hd,e.makeMemo=bd,e.makeTorahMemoText=yd,e.pad2=cd,e.pad4=ld,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Sd,e.toISOString=ud,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
package/dist/fullcalendar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
1
|
+
/*! @hebcal/rest-api v4.4.0 */
|
|
2
2
|
var hebcalFullCalendar = (function (exports, core, leyning) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
5
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @param {number} number
|
package/dist/fullcalendar.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
2
|
-
var hebcalFullCalendar=function(e,a,o){"use strict";var r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.NACH_YOMI,"nachyomi"],[a.flags.YERUSHALMI_YOMI,"yerushalmi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.NACH_YOMI|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function d(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,r){var t=e.getFlags();if(t&i)return"";if(void 0!==e.eventTime)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,t);if(h)return h}catch(e){}return e.memo||r[e.basename()]}return e.eventToFullCalendar=function(e,o,r){var t=function(e){var a=e.getDesc();switch(a){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"];case"Purim":return["holiday","major"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),r=0;r<n.length;r++){var t=n[r];if(o&t[0])return t.slice(1)}switch(a){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}(e),h=e.getFlags();"holiday"==t[0]&&h&a.flags.CHAG&&t.push("yomtov");var i=Boolean(e.eventTime),l=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),m={title:l,start:i?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):s(e.getDate().greg()),allDay:!i,className:t.join(" ")},f=e.renderBrief("he");f&&(m.hebrew=a.Locale.hebrewStripNikkud(f));var c=e.url();c&&(m.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(c,r,"js","fc"));var b=e.getDesc();if(!("Havdalah"===b||"Candle lighting"===b)){var y=d(e,r);y?m.description=y:void 0!==e.linkedEvent&&(m.description=e.linkedEvent.render())}return m},e}({},hebcal,hebcal__leyning);
|
|
1
|
+
/*! @hebcal/rest-api v4.4.0 */
|
|
2
|
+
var hebcalFullCalendar=function(e,a,o){"use strict";var r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.NACH_YOMI,"nachyomi"],[a.flags.YERUSHALMI_YOMI,"yerushalmi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.NACH_YOMI|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function d(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,r){var t=e.getFlags();if(t&i)return"";if(void 0!==e.eventTime)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,t);if(h)return h}catch(e){}return e.memo||r[e.basename()]}return e.eventToFullCalendar=function(e,o,r){var t=function(e){var a=e.getDesc();switch(a){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"];case"Purim":return["holiday","major"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),r=0;r<n.length;r++){var t=n[r];if(o&t[0])return t.slice(1)}switch(a){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}(e),h=e.getFlags();"holiday"==t[0]&&h&a.flags.CHAG&&t.push("yomtov");var i=Boolean(e.eventTime),l={title:function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),start:i?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):s(e.getDate().greg()),allDay:!i,className:t.join(" ")},m=e.renderBrief("he");m&&(l.hebrew=a.Locale.hebrewStripNikkud(m));var f=e.url();f&&(l.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(f,r,"js","fc"));var c=e.getDesc();if(!("Havdalah"===c||"Candle lighting"===c)){var b=d(e,r);b?l.description=b:void 0!==e.linkedEvent&&(l.description=e.linkedEvent.render())}return l},e}({},hebcal,hebcal__leyning);
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
1
|
+
/*! @hebcal/rest-api v4.4.0 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var core = require('@hebcal/core');
|
|
5
5
|
var leyning = require('@hebcal/leyning');
|
|
6
6
|
var triennial = require('@hebcal/triennial');
|
|
7
7
|
|
|
8
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
8
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
9
9
|
|
|
10
10
|
var AD="Andorra";var AE="United Arab Emirates";var AF="Afghanistan";var AI="Anguilla";var AL="Albania";var AM="Armenia";var AO="Angola";var AR="Argentina";var AS="American Samoa";var AT="Austria";var AU="Australia";var AW="Aruba";var AZ="Azerbaijan";var BA="Bosnia and Herzegovina";var BB="Barbados";var BD="Bangladesh";var BE="Belgium";var BF="Burkina Faso";var BG="Bulgaria";var BH="Bahrain";var BI="Burundi";var BJ="Benin";var BM="Bermuda";var BN="Brunei";var BO="Bolivia";var BR="Brazil";var BS="Bahamas";var BT="Bhutan";var BW="Botswana";var BY="Belarus";var BZ="Belize";var CA="Canada";var CD="Democratic Republic of the Congo";var CF="Central African Republic";var CG="Republic of the Congo";var CH="Switzerland";var CI="Ivory Coast";var CK="Cook Islands";var CL="Chile";var CM="Cameroon";var CN="China";var CO="Colombia";var CR="Costa Rica";var CU="Cuba";var CV="Cape Verde";var CW="Curacao";var CY="Cyprus";var CZ="Czech Republic";var DE="Germany";var DK="Denmark";var DM="Dominica";var DO="Dominican Republic";var DZ="Algeria";var EC="Ecuador";var EE="Estonia";var EG="Egypt";var ER="Eritrea";var ES="Spain";var ET="Ethiopia";var FI="Finland";var FJ="Fiji";var FK="Falkland Islands";var FO="Faroe Islands";var FR="France";var GA="Gabon";var GB="United Kingdom";var GE="Georgia";var GH="Ghana";var GI="Gibraltar";var GL="Greenland";var GM="Gambia";var GN="Guinea";var GQ="Equatorial Guinea";var GR="Greece";var GT="Guatemala";var GW="Guinea-Bissau";var GY="Guyana";var HK="Hong Kong";var HN="Honduras";var HR="Croatia";var HT="Haiti";var HU="Hungary";var ID="Indonesia";var IE="Ireland";var IL="Israel";var IM="Isle of Man";var IN="India";var IQ="Iraq";var IR="Iran";var IS="Iceland";var IT="Italy";var JM="Jamaica";var JO="Jordan";var JP="Japan";var KE="Kenya";var KG="Kyrgyzstan";var KH="Cambodia";var KM="Comoros";var KN="Saint Kitts and Nevis";var KP="North Korea";var KR="South Korea";var KW="Kuwait";var KY="Cayman Islands";var KZ="Kazakhstan";var LA="Laos";var LB="Lebanon";var LC="Saint Lucia";var LI="Liechtenstein";var LR="Liberia";var LS="Lesotho";var LT="Lithuania";var LU="Luxembourg";var LV="Latvia";var LY="Libya";var MA="Morocco";var MD="Moldova";var ME="Montenegro";var MG="Madagascar";var MK="Macedonia";var ML="Mali";var MM="Myanmar";var MN="Mongolia";var MP="Northern Mariana Islands";var MR="Mauritania";var MS="Montserrat";var MT="Malta";var MU="Mauritius";var MW="Malawi";var MX="Mexico";var MY="Malaysia";var MZ="Mozambique";var NA="Namibia";var NC="New Caledonia";var NE="Niger";var NG="Nigeria";var NI="Nicaragua";var NL="Netherlands";var NO="Norway";var NP="Nepal";var NU="Niue";var NZ="New Zealand";var OM="Oman";var PA="Panama";var PE="Peru";var PF="French Polynesia";var PG="Papua New Guinea";var PH="Philippines";var PK="Pakistan";var PL="Poland";var PR="Puerto Rico";var PT="Portugal";var PY="Paraguay";var QA="Qatar";var RO="Romania";var RS="Serbia";var RU="Russia";var RW="Rwanda";var SA="Saudi Arabia";var SB="Solomon Islands";var SC="Seychelles";var SD="Sudan";var SE="Sweden";var SG="Singapore";var SH="Saint Helena";var SI="Slovenia";var SK="Slovakia";var SL="Sierra Leone";var SN="Senegal";var SO="Somalia";var SR="Suriname";var ST="Sao Tome and Principe";var SV="El Salvador";var SY="Syria";var SZ="Swaziland";var TC="Turks and Caicos Islands";var TD="Chad";var TG="Togo";var TH="Thailand";var TJ="Tajikistan";var TM="Turkmenistan";var TN="Tunisia";var TR="Turkey";var TV="Tuvalu";var TW="Taiwan";var TZ="Tanzania";var UA="Ukraine";var UG="Uganda";var US="United States";var UY="Uruguay";var UZ="Uzbekistan";var VC="Saint Vincent and the Grenadines";var VE="Venezuela";var VG="British Virgin Islands";var VN="Vietnam";var WS="Samoa";var YE="Yemen";var YT="Mayotte";var ZA="South Africa";var ZM="Zambia";var ZW="Zimbabwe";var countryNames = {AD:AD,AE:AE,AF:AF,AI:AI,AL:AL,AM:AM,AO:AO,AR:AR,AS:AS,AT:AT,AU:AU,AW:AW,AZ:AZ,BA:BA,BB:BB,BD:BD,BE:BE,BF:BF,BG:BG,BH:BH,BI:BI,BJ:BJ,BM:BM,BN:BN,BO:BO,BR:BR,BS:BS,BT:BT,BW:BW,BY:BY,BZ:BZ,CA:CA,CD:CD,CF:CF,CG:CG,CH:CH,CI:CI,CK:CK,CL:CL,CM:CM,CN:CN,CO:CO,CR:CR,CU:CU,CV:CV,CW:CW,CY:CY,CZ:CZ,DE:DE,DK:DK,DM:DM,DO:DO,DZ:DZ,EC:EC,EE:EE,EG:EG,ER:ER,ES:ES,ET:ET,FI:FI,FJ:FJ,FK:FK,FO:FO,FR:FR,GA:GA,GB:GB,GE:GE,GH:GH,GI:GI,GL:GL,GM:GM,GN:GN,GQ:GQ,GR:GR,GT:GT,GW:GW,GY:GY,HK:HK,HN:HN,HR:HR,HT:HT,HU:HU,ID:ID,IE:IE,IL:IL,IM:IM,IN:IN,IQ:IQ,IR:IR,IS:IS,IT:IT,JM:JM,JO:JO,JP:JP,KE:KE,KG:KG,KH:KH,KM:KM,KN:KN,KP:KP,KR:KR,KW:KW,KY:KY,KZ:KZ,LA:LA,LB:LB,LC:LC,LI:LI,LR:LR,LS:LS,LT:LT,LU:LU,LV:LV,LY:LY,MA:MA,MD:MD,ME:ME,MG:MG,MK:MK,ML:ML,MM:MM,MN:MN,MP:MP,MR:MR,MS:MS,MT:MT,MU:MU,MW:MW,MX:MX,MY:MY,MZ:MZ,NA:NA,NC:NC,NE:NE,NG:NG,NI:NI,NL:NL,NO:NO,NP:NP,NU:NU,NZ:NZ,OM:OM,PA:PA,PE:PE,PF:PF,PG:PG,PH:PH,PK:PK,PL:PL,PR:PR,PT:PT,PY:PY,QA:QA,RO:RO,RS:RS,RU:RU,RW:RW,SA:SA,SB:SB,SC:SC,SD:SD,SE:SE,SG:SG,SH:SH,SI:SI,SK:SK,SL:SL,SN:SN,SO:SO,SR:SR,ST:ST,SV:SV,SY:SY,SZ:SZ,TC:TC,TD:TD,TG:TG,TH:TH,TJ:TJ,TM:TM,TN:TN,TR:TR,TV:TV,TW:TW,TZ:TZ,UA:UA,UG:UG,US:US,UY:UY,UZ:UZ,VC:VC,VE:VE,VG:VG,VN:VN,WS:WS,YE:YE,YT:YT,ZA:ZA,ZM:ZM,ZW:ZW};
|
|
11
11
|
|
|
@@ -567,6 +567,18 @@ function eventToClassicApiObject(ev, options, leyning$1 = true) {
|
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
569
|
}
|
|
570
|
+
if (mask & core.flags.MOLAD) {
|
|
571
|
+
const m = ev.molad;
|
|
572
|
+
result.molad = {
|
|
573
|
+
year: m.year,
|
|
574
|
+
month: core.HDate.getMonthName(m.month, m.year),
|
|
575
|
+
dow: m.dow,
|
|
576
|
+
hour: m.hour,
|
|
577
|
+
minutes: m.minutes,
|
|
578
|
+
chalakim: m.chalakim
|
|
579
|
+
};
|
|
580
|
+
delete result.hebrew;
|
|
581
|
+
}
|
|
570
582
|
if (options.heDateParts && !timed || mask & core.flags.HEBREW_DATE) {
|
|
571
583
|
const yy = hd.getFullYear();
|
|
572
584
|
const mm = hd.getMonthName();
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
1
|
+
/*! @hebcal/rest-api v4.4.0 */
|
|
2
2
|
import { flags, HDate, HebrewCalendar, Zmanim, Locale, gematriya } from '@hebcal/core';
|
|
3
3
|
import { getLeyningForParshaHaShavua, getLeyningForHoliday, formatAliyahWithBook } from '@hebcal/leyning';
|
|
4
4
|
import { getTriennialForParshaHaShavua } from '@hebcal/triennial';
|
|
5
5
|
|
|
6
|
-
const Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";const Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";const Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";const Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";const Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";const Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
6
|
+
const Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";const Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";const Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";const Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";const Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";const Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
7
7
|
|
|
8
8
|
const AD="Andorra";const AE="United Arab Emirates";const AF="Afghanistan";const AI="Anguilla";const AL="Albania";const AM="Armenia";const AO="Angola";const AR="Argentina";const AS="American Samoa";const AT="Austria";const AU="Australia";const AW="Aruba";const AZ="Azerbaijan";const BA="Bosnia and Herzegovina";const BB="Barbados";const BD="Bangladesh";const BE="Belgium";const BF="Burkina Faso";const BG="Bulgaria";const BH="Bahrain";const BI="Burundi";const BJ="Benin";const BM="Bermuda";const BN="Brunei";const BO="Bolivia";const BR="Brazil";const BS="Bahamas";const BT="Bhutan";const BW="Botswana";const BY="Belarus";const BZ="Belize";const CA="Canada";const CD="Democratic Republic of the Congo";const CF="Central African Republic";const CG="Republic of the Congo";const CH="Switzerland";const CI="Ivory Coast";const CK="Cook Islands";const CL="Chile";const CM="Cameroon";const CN="China";const CO="Colombia";const CR="Costa Rica";const CU="Cuba";const CV="Cape Verde";const CW="Curacao";const CY="Cyprus";const CZ="Czech Republic";const DE="Germany";const DK="Denmark";const DM="Dominica";const DO="Dominican Republic";const DZ="Algeria";const EC="Ecuador";const EE="Estonia";const EG="Egypt";const ER="Eritrea";const ES="Spain";const ET="Ethiopia";const FI="Finland";const FJ="Fiji";const FK="Falkland Islands";const FO="Faroe Islands";const FR="France";const GA="Gabon";const GB="United Kingdom";const GE="Georgia";const GH="Ghana";const GI="Gibraltar";const GL="Greenland";const GM="Gambia";const GN="Guinea";const GQ="Equatorial Guinea";const GR="Greece";const GT="Guatemala";const GW="Guinea-Bissau";const GY="Guyana";const HK="Hong Kong";const HN="Honduras";const HR="Croatia";const HT="Haiti";const HU="Hungary";const ID="Indonesia";const IE="Ireland";const IL="Israel";const IM="Isle of Man";const IN="India";const IQ="Iraq";const IR="Iran";const IS="Iceland";const IT="Italy";const JM="Jamaica";const JO="Jordan";const JP="Japan";const KE="Kenya";const KG="Kyrgyzstan";const KH="Cambodia";const KM="Comoros";const KN="Saint Kitts and Nevis";const KP="North Korea";const KR="South Korea";const KW="Kuwait";const KY="Cayman Islands";const KZ="Kazakhstan";const LA="Laos";const LB="Lebanon";const LC="Saint Lucia";const LI="Liechtenstein";const LR="Liberia";const LS="Lesotho";const LT="Lithuania";const LU="Luxembourg";const LV="Latvia";const LY="Libya";const MA="Morocco";const MD="Moldova";const ME="Montenegro";const MG="Madagascar";const MK="Macedonia";const ML="Mali";const MM="Myanmar";const MN="Mongolia";const MP="Northern Mariana Islands";const MR="Mauritania";const MS="Montserrat";const MT="Malta";const MU="Mauritius";const MW="Malawi";const MX="Mexico";const MY="Malaysia";const MZ="Mozambique";const NA="Namibia";const NC="New Caledonia";const NE="Niger";const NG="Nigeria";const NI="Nicaragua";const NL="Netherlands";const NO="Norway";const NP="Nepal";const NU="Niue";const NZ="New Zealand";const OM="Oman";const PA="Panama";const PE="Peru";const PF="French Polynesia";const PG="Papua New Guinea";const PH="Philippines";const PK="Pakistan";const PL="Poland";const PR="Puerto Rico";const PT="Portugal";const PY="Paraguay";const QA="Qatar";const RO="Romania";const RS="Serbia";const RU="Russia";const RW="Rwanda";const SA="Saudi Arabia";const SB="Solomon Islands";const SC="Seychelles";const SD="Sudan";const SE="Sweden";const SG="Singapore";const SH="Saint Helena";const SI="Slovenia";const SK="Slovakia";const SL="Sierra Leone";const SN="Senegal";const SO="Somalia";const SR="Suriname";const ST="Sao Tome and Principe";const SV="El Salvador";const SY="Syria";const SZ="Swaziland";const TC="Turks and Caicos Islands";const TD="Chad";const TG="Togo";const TH="Thailand";const TJ="Tajikistan";const TM="Turkmenistan";const TN="Tunisia";const TR="Turkey";const TV="Tuvalu";const TW="Taiwan";const TZ="Tanzania";const UA="Ukraine";const UG="Uganda";const US="United States";const UY="Uruguay";const UZ="Uzbekistan";const VC="Saint Vincent and the Grenadines";const VE="Venezuela";const VG="British Virgin Islands";const VN="Vietnam";const WS="Samoa";const YE="Yemen";const YT="Mayotte";const ZA="South Africa";const ZM="Zambia";const ZW="Zimbabwe";var countryNames = {AD:AD,AE:AE,AF:AF,AI:AI,AL:AL,AM:AM,AO:AO,AR:AR,AS:AS,AT:AT,AU:AU,AW:AW,AZ:AZ,BA:BA,BB:BB,BD:BD,BE:BE,BF:BF,BG:BG,BH:BH,BI:BI,BJ:BJ,BM:BM,BN:BN,BO:BO,BR:BR,BS:BS,BT:BT,BW:BW,BY:BY,BZ:BZ,CA:CA,CD:CD,CF:CF,CG:CG,CH:CH,CI:CI,CK:CK,CL:CL,CM:CM,CN:CN,CO:CO,CR:CR,CU:CU,CV:CV,CW:CW,CY:CY,CZ:CZ,DE:DE,DK:DK,DM:DM,DO:DO,DZ:DZ,EC:EC,EE:EE,EG:EG,ER:ER,ES:ES,ET:ET,FI:FI,FJ:FJ,FK:FK,FO:FO,FR:FR,GA:GA,GB:GB,GE:GE,GH:GH,GI:GI,GL:GL,GM:GM,GN:GN,GQ:GQ,GR:GR,GT:GT,GW:GW,GY:GY,HK:HK,HN:HN,HR:HR,HT:HT,HU:HU,ID:ID,IE:IE,IL:IL,IM:IM,IN:IN,IQ:IQ,IR:IR,IS:IS,IT:IT,JM:JM,JO:JO,JP:JP,KE:KE,KG:KG,KH:KH,KM:KM,KN:KN,KP:KP,KR:KR,KW:KW,KY:KY,KZ:KZ,LA:LA,LB:LB,LC:LC,LI:LI,LR:LR,LS:LS,LT:LT,LU:LU,LV:LV,LY:LY,MA:MA,MD:MD,ME:ME,MG:MG,MK:MK,ML:ML,MM:MM,MN:MN,MP:MP,MR:MR,MS:MS,MT:MT,MU:MU,MW:MW,MX:MX,MY:MY,MZ:MZ,NA:NA,NC:NC,NE:NE,NG:NG,NI:NI,NL:NL,NO:NO,NP:NP,NU:NU,NZ:NZ,OM:OM,PA:PA,PE:PE,PF:PF,PG:PG,PH:PH,PK:PK,PL:PL,PR:PR,PT:PT,PY:PY,QA:QA,RO:RO,RS:RS,RU:RU,RW:RW,SA:SA,SB:SB,SC:SC,SD:SD,SE:SE,SG:SG,SH:SH,SI:SI,SK:SK,SL:SL,SN:SN,SO:SO,SR:SR,ST:ST,SV:SV,SY:SY,SZ:SZ,TC:TC,TD:TD,TG:TG,TH:TH,TJ:TJ,TM:TM,TN:TN,TR:TR,TV:TV,TW:TW,TZ:TZ,UA:UA,UG:UG,US:US,UY:UY,UZ:UZ,VC:VC,VE:VE,VG:VG,VN:VN,WS:WS,YE:YE,YT:YT,ZA:ZA,ZM:ZM,ZW:ZW};
|
|
9
9
|
|
|
@@ -565,6 +565,18 @@ function eventToClassicApiObject(ev, options, leyning = true) {
|
|
|
565
565
|
}
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
|
+
if (mask & flags.MOLAD) {
|
|
569
|
+
const m = ev.molad;
|
|
570
|
+
result.molad = {
|
|
571
|
+
year: m.year,
|
|
572
|
+
month: HDate.getMonthName(m.month, m.year),
|
|
573
|
+
dow: m.dow,
|
|
574
|
+
hour: m.hour,
|
|
575
|
+
minutes: m.minutes,
|
|
576
|
+
chalakim: m.chalakim
|
|
577
|
+
};
|
|
578
|
+
delete result.hebrew;
|
|
579
|
+
}
|
|
568
580
|
if (options.heDateParts && !timed || mask & flags.HEBREW_DATE) {
|
|
569
581
|
const yy = hd.getFullYear();
|
|
570
582
|
const mm = hd.getMonthName();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/rest-api",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@hebcal/core": "^3.50.3",
|
|
29
|
-
"@hebcal/leyning": "^7.0.
|
|
29
|
+
"@hebcal/leyning": "^7.0.1",
|
|
30
30
|
"@hebcal/triennial": "^1.1.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"@babel/preset-env": "^7.20.2",
|
|
46
46
|
"@babel/register": "^7.18.9",
|
|
47
47
|
"@rollup/plugin-babel": "^6.0.3",
|
|
48
|
-
"@rollup/plugin-commonjs": "^24.0.
|
|
48
|
+
"@rollup/plugin-commonjs": "^24.0.1",
|
|
49
49
|
"@rollup/plugin-json": "^6.0.0",
|
|
50
50
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
51
|
-
"@rollup/plugin-terser": "^0.
|
|
52
|
-
"ava": "^5.
|
|
53
|
-
"core-js": "^3.
|
|
54
|
-
"eslint": "^8.
|
|
51
|
+
"@rollup/plugin-terser": "^0.4.0",
|
|
52
|
+
"ava": "^5.2.0",
|
|
53
|
+
"core-js": "^3.28.0",
|
|
54
|
+
"eslint": "^8.34.0",
|
|
55
55
|
"eslint-config-google": "^0.14.0",
|
|
56
56
|
"jsdoc": "^4.0.0",
|
|
57
57
|
"jsdoc-to-markdown": "^8.0.0",
|
|
58
|
-
"rollup": "^3.
|
|
58
|
+
"rollup": "^3.15.0"
|
|
59
59
|
}
|
|
60
60
|
}
|