@hebcal/core 5.4.5 → 5.4.6
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/ParshaEvent.d.ts +3 -3
- package/dist/bundle.js +24 -13
- package/dist/bundle.min.js +2 -2
- package/dist/index.cjs +24 -13
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +24 -13
- package/dist/pkgVersion.d.ts +1 -1
- package/package.json +2 -3
- package/po/ashkenazi.po +0 -192
- package/po/he.po +0 -889
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/core v5.4.
|
|
2
|
-
var hebcal=function(e){"use strict";const t=[0,31,28,31,30,31,30,31,31,30,31,30,31],n=[t,t.slice()];function r(e,t){return e-t*Math.floor(e/t)}function o(e,t){return Math.floor(e/t)}n[1][2]=29,e.greg=void 0,function(e){function t(e){return!(e%4||!(e%100)&&e%400)}function a(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function i(e,n,r){const a=e-1;return 365*a+o(a,4)-o(a,100)+o(a,400)+o(367*n-362,12)+(n<=2?0:t(e)?-1:-2)+r}e.isLeapYear=t,e.daysInMonth=function(e,r){return n[+t(r)][e]},e.isDate=a,e.greg2abs=function(e){if(!a(e))throw new TypeError(`Argument not a Date: ${e}`);return i(e.getFullYear(),e.getMonth()+1,e.getDate())},e.abs2greg=function(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const n=function(e){const t=e-1,n=o(t,146097),a=r(t,146097),i=o(a,36524),s=r(a,36524),c=o(s,1461),u=o(r(s,1461),365),h=400*n+100*i+4*c+u;return 4!==i&&4!==u?h+1:h}(e=Math.trunc(e)),a=o(12*(e-i(n,1,1)+(e<i(n,3,1)?0:t(n)?1:2))+373,367),s=e-i(n,a,1)+1,c=new Date(n,a-1,s);return n<100&&n>=0&&c.setFullYear(n),c}}(e.greg||(e.greg={}));const a=1,i=2,s=4,c=6,u=7,h=8,l=9,f=10,d=12,g=13,m={NISAN:1,IYYAR:2,SIVAN:3,TAMUZ:4,AV:5,ELUL:6,TISHREI:7,CHESHVAN:8,KISLEV:9,TEVET:10,SHVAT:11,ADAR_I:12,ADAR_II:13},y=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],S=[y.concat(["Adar","Nisan"]),y.concat(["Adar I","Adar II","Nisan"])],p=new Map,w=-1373428,v=365.24682220597794;function A(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${t}' not a number: ${e}`)}function b(e,t,n){if(A(e,"year"),A(t,"month"),A(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<u){for(let t=u;t<=E(e);t++)r+=O(t,e);for(let n=a;n<t;n++)r+=O(n,e)}else for(let n=u;n<t;n++)r+=O(n,e);return w+N(e)+r-1}function T(e){return w+N(e)}function I(e){if(A(e,"abs"),(e=Math.trunc(e))<=w)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-w)/v);for(;T(t)<=e;)++t;--t;let n=e<b(t,1,1)?7:1;for(;e>b(t,n,O(n,t));)++n;return{yy:t,mm:n,dd:1+e-b(t,n,1)}}function M(e){return(1+7*e)%19<7}function E(e){return+M(e)+12}function O(e,t){switch(e){case i:case s:case c:case f:case g:return 29}return e===d&&!M(t)||e===h&&!D(t)||e===l&&_(t)?29:30}function C(e,t){if(A(e,"month"),A(t,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return S[+M(t)][e]}function N(e){const t=p.get(e);if("number"==typeof t)return t;const n=function(e){const t=e-1,n=235*Math.floor(t/19)+t%19*12+Math.floor((t%19*7+1)/19),r=204+n%1080*793,o=5+12*n+793*Math.floor(n/1080)+Math.floor(r/1080),a=r%1080+o%24*1080,i=1+29*n+Math.floor(o/24);let s=i;(a>=19440||2==i%7&&a>=9924&&!M(e)||1==i%7&&a>=16789&&M(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return p.set(e,n),n}function H(e){return N(e+1)-N(e)}function D(e){return H(e)%10==5}function _(e){return H(e)%10==3}const k=m.NISAN,L=m.CHESHVAN,R=m.KISLEV,Y=m.TEVET,P=m.SHVAT,B=m.ADAR_I,j=m.ADAR_II;function F(t){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(t))return t;if("number"==typeof t)return I(t);if(e.greg.isDate(t)){return I(e.greg.greg2abs(t))}throw new TypeError(`Argument not a Date: ${t}`)}const U={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},x=new Map,Z=new Map;for(const[e,t]of Object.entries(U))x.set(e,t),Z.set(t,e);function $(e){const t=[];for(;e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}let n,r=100;for(n=400;n>e;n-=r)n===r&&(r/=10);t.push(n),e-=n}return t}function V(e){const t=parseInt(e,10);if(!t)throw new TypeError(`invalid parameter to gematriya ${e}`);let n="";const r=Math.floor(t/1e3);if(r>0&&5!==r){const e=$(r);for(const t of e)n+=Z.get(t);n+="׳"}const o=$(t%1e3);if(1===o.length)return n+Z.get(o[0])+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=Z.get(o[e]);return n}function z(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*z(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=x.get(n);"number"==typeof e&&(t+=e)}return t}const K={en:{infix:"within ",infix26:"within ",words:["","Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"]},he:{infix:"שֶׁבְּ",infix26:"שֶׁבִּ",words:["","חֶֽסֶד","גְבוּרָה","תִּפאֶרֶת","נֶּֽצַח","הוֹד","יְּסוֹד","מַּלְכוּת"]},translit:{infix:"sheb'",infix26:"shebi",words:["","Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"]}};function G(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}function J(e){return[Math.floor((e-1)/7)+1,e%7||7]}function W(e,t){return G(e),"he"===t?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";11===e?r+="אַחַד "+ae:12===e?r+="שְׁנֵים "+ae:12<e&&e<20?r+=X[n]+" "+ae:e>9&&(r+=X[n],n&&(r+=" ",r+=3===t?"וּ":"וְ"));e>2?((e>20||10===e||20===e)&&(r+=q[t]),r+=e<11?X[n]+" "+ee+" ":" "+re+" "):r+=1===e?oe+" ":te+" ";if(e>6){r=r.trim(),r+=", שְׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?X[t]+" "+ne+" ":1===t?"שָׁבֽוּעַ "+X[1]+" ":Q+" "+ne+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?X[n]+" "+ee+" ":1===n?oe+" ":te+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(e):function(e){const[t,n]=J(e),r=1===e?"day":"days";let o=`Today is ${e} ${r}`;if(t>1||7===e){const e=7===n,r=e?t:t-1;if(o+=`, which is ${r} ${1===r?"week":"weeks"}`,!e){o+=` and ${n} ${1===n?"day":"days"}`}}return o+" of the Omer"}(e)}const q=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],X=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],Q="שְׁנֵי",ee="יָמִים",te=Q+" "+ee,ne="שָׁבוּעוֹת",re="יוֹם",oe=re+" "+X[1],ae="עָשָׂר";const ie=new Map;const se=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ce(e,t){const n=function(e){const t=ie.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:e});return ie.set(e,n),n}(e).format(t),r=se.exec(n);if(null===r)throw new Error(`Unable to parse formatted string: ${n}`);let o=r[4];return"24"===o&&(o="00"),r[3]=ue(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function ue(e){return e<0?"-00"+ue(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function he(e){return e<10?"0"+e:String(e)}function le(e){return ue(e.getFullYear())+"-"+he(e.getMonth()+1)+"-"+he(e.getDate())}var fe={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Tevet:["Teves"]}}},de={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Adar:["אַדָר"],"Adar I":["אַדָר א׳"],"Adar II":["אַדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"]}}};const ge={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},me={h:"he",a:"ashkenazi",s:"en","":"en"},ye=new Map;let Se,pe;class we{static lookupTranslation(e,t){const n=("string"==typeof t&&ye.get(t.toLowerCase())||Se)[e];if((null==n?void 0:n.length)&&n[0].length)return n[0]}static gettext(e,t){const n=this.lookupTranslation(e,t);return void 0===n?e:n}static addLocale(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);ye.set(e.toLowerCase(),t.contexts[""])}static addTranslation(e,t,n){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const r=ye.get(e.toLowerCase());if(!r)throw new TypeError(`Unknown locale: ${e}`);if("string"!=typeof t||0===t.length)throw new TypeError(`Invalid id: ${t}`);const o=Array.isArray(n);if(o){const e=n[0];if("string"!=typeof e||0===e.length)throw new TypeError(`Invalid translation array: ${n}`)}else if("string"!=typeof n)throw new TypeError(`Invalid translation: ${n}`);r[t]=o?n:[n]}static addTranslations(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const n=ye.get(e.toLowerCase());if(!n)throw new TypeError(`Unknown locale: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);const r=t.contexts[""];Object.assign(n,r)}static useLocale(e){const t=e.toLowerCase(),n=ye.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return pe=me[t]||t,Se=n,Se}static getLocaleName(){return pe}static getLocaleNames(){return Array.from(ye.keys()).sort(((e,t)=>e.localeCompare(t)))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||pe;if(!n)return this.getEnOrdinal(e);switch(n){case"en":case"s":case"a":case"ashkenazi":case"ashkenazi_litvish":case"ashkenazi_poylish":case"ashkenazi_standard":return this.getEnOrdinal(e);case"es":return e+"º";case"h":case"he":case"he-x-nonikud":return String(e);default:return e+"."}}static getEnOrdinal(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}static hebrewStripNikkud(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}we.addLocale("en",ge),we.addLocale("s",ge),we.addLocale("",ge),we.useLocale("en"),we.addLocale("ashkenazi",fe),we.addLocale("a",fe),we.addLocale("he",de),we.addLocale("h",de);const ve=de.contexts[""],Ae={};for(const[e,t]of Object.entries(ve))Ae[e]=[we.hebrewStripNikkud(t[0])];const be={headers:de.headers,contexts:{"":Ae}};we.addLocale("he-x-NoNikud",be);const Te="day",Ie="week",Me="month",Ee="year";class Oe{constructor(t,n,r){if(2===arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3===arguments.length){this.dd=this.mm=1;const e="string"==typeof r?parseInt(r,10):r;if(isNaN(e))throw new TypeError(`HDate called with bad year argument: ${r}`);this.yy=e,function(e,t){e.mm=Oe.monthNum(t),Ce(e)}(this,n);const i="string"==typeof t?parseInt(t,10):t;if(isNaN(i))throw new TypeError(`HDate called with bad day argument: ${t}`);a=i,(o=this).dd=a,Ce(o)}else{null==t&&(t=new Date);const n="number"!=typeof t||isNaN(t)?e.greg.isDate(t)?e.greg.greg2abs(t):void 0!==t.yy?t:null:t;if(null===n)throw new TypeError(`HDate called with bad argument: ${t}`);const r="number"==typeof n,o=r?I(n):n;this.yy=o.yy,this.mm=o.mm,this.dd=o.dd,r&&(this.rd=n)}var o,a}getFullYear(){return this.yy}isLeapYear(){return M(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=E(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return O(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}greg(){return e.greg.abs2greg(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=b(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return b(e,t,n)}getMonthName(){return C(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||we.getLocaleName(),r=this.getDate(),o=we.gettext(this.getMonthName(),n).replace(/'/g,"’"),a=we.ordinal(r,n),i=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=we.lookupTranslation("of",e);if(t)return" "+t;if(e.startsWith("ashkenazi"))return" of";return""}(n),s=`${a}${i} ${o}`;if(t){return`${s}, ${this.getFullYear()}`}return s}renderGematriya(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.getDate(),n=e?"he-x-NoNikud":"he",r=we.gettext(this.getMonthName(),n),o=this.getFullYear();return V(t)+" "+r+" "+V(o)}before(e){return He(e,this,-1)}onOrBefore(e){return He(e,this,0)}nearest(e){return He(e,this,3)}onOrAfter(e){return He(e,this,6)}after(e){return He(e,this,7)}next(){return new Oe(this.abs()+1)}prev(){return new Oe(this.abs()-1)}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(e="string"==typeof e?parseInt(e,10):e))return new Oe(this);if(t=function(e){switch(e){case"d":return Te;case"w":return Ie;case"M":return Me;case"y":return Ee}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case Te:case Ie:case Me:case Ee:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===Te)return new Oe(this.abs()+e);if(t===Ie)return new Oe(this.abs()+7*e);if(t===Ee)return new Oe(this.getDate(),this.getMonth(),this.getFullYear()+e);if(t===Me){let t=new Oe(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new Oe(t.abs()+n*t.daysInMonth());return t}throw new TypeError(`Invalid units '${t}'`)}subtract(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}deltaDays(e){if(!Oe.isHDate(e))throw new TypeError(`Bad argument: ${e}`);return this.abs()-e.abs()}isSameDate(e){return!!Oe.isHDate(e)&&(this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd)}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return M(e)}static monthsInYear(e){return E(e)}static daysInMonth(e,t){return O(e,t)}static getMonthName(e,t){return C(e,t)}static monthNum(e){if("number"==typeof e){if(isNaN(e)||e>14)throw new RangeError(`Invalid month number: ${e}`);return e}return e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57?parseInt(e,10):Oe.monthFromName(e)}static daysInYear(e){return H(e)}static longCheshvan(e){return D(e)}static shortKislev(e){return _(e)}static monthFromName(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`Invalid month name: ${e}`);return e}return function(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`Invalid month name: ${e}`);return e}let t=e.trim().toLowerCase();switch("ב"===t[0]&&(t=t.substring(1)),t[0]){case"n":case"נ":if("o"===t[1])break;return m.NISAN;case"i":return m.IYYAR;case"e":return m.ELUL;case"c":case"ח":return m.CHESHVAN;case"k":case"כ":return m.KISLEV;case"s":switch(t[1]){case"i":return m.SIVAN;case"h":return m.SHVAT}break;case"t":switch(t[1]){case"a":return m.TAMUZ;case"i":return m.TISHREI;case"e":return m.TEVET}break;case"a":switch(t[1]){case"v":return m.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II}break;case"ס":return m.SIVAN;case"ט":return m.TEVET;case"ש":return m.SHVAT;case"א":switch(t[1]){case"ב":return m.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II;case"י":return m.IYYAR;case"ל":return m.ELUL}break;case"ת":switch(t[1]){case"מ":return m.TAMUZ;case"ש":return m.TISHREI}}throw new RangeError(`Unable to parse month name: ${e}`)}(we.hebrewStripNikkud(e))}static dayOnOrBefore(e,t){return t-(t-e)%7}static isHDate(e){return null!==e&&"object"==typeof e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd&&"function"==typeof e.greg&&"function"==typeof e.abs}static fromGematriyaString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;const n=e.split(" ").filter((e=>0!==e.length)),r=n.length;if(3!==r&&4!==r)throw new RangeError(`Unable to parse gematriya string: "${e}"`);const o=z(n[0]),a=3===r?n[1]:n[1]+" "+n[2],i=Oe.monthFromName(a);let s=z(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new Oe(o,i,s)}}function Ce(e){Ne(e),function(e){e.dd<1&&(e.mm===m.TISHREI&&(e.yy-=1),e.dd+=O(e.mm,e.yy),e.mm-=1,Ce(e));e.dd>O(e.mm,e.yy)&&(e.mm===m.ELUL&&(e.yy+=1),e.dd-=O(e.mm,e.yy),e.mm===E(e.yy)?e.mm=1:e.mm+=1,Ce(e));Ne(e)}(e)}function Ne(e){e.mm!==m.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=E(e.yy),e.yy-=1,Ce(e)):e.mm>E(e.yy)&&(e.mm-=E(e.yy),e.yy+=1,Ce(e)):(e.mm-=1,Ce(e)),delete e.rd}function He(e,t,n){return new Oe(Oe.dayOnOrBefore(e,t.abs()+n))}var De={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Shabbat:["Shabbos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha’aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH’’M)"],"Sukkot III (CH''M)":["Sukkos III (CH’’M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH’’M)"],"Sukkot V (CH''M)":["Sukkos V (CH’’M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH’’M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta’anis Bechoros"],"Ta'anit Esther":["Ta’anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],"Asara B'Tevet":["Asara B’Teves"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}}},_e={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Shabbat:["שַׁבָּת"],"Daf Yomi":["דַף יוֹמִי"],Parashat:["פָּרָשַׁת"],"Achrei Mot":["אַחֲרֵי מוֹת"],Balak:["בָּלָק"],Bamidbar:["בְּמִדְבַּר"],Bechukotai:["בְּחֻקֹּתַי"],"Beha'alotcha":["בְּהַעֲלֹתְךָ"],Behar:["בְּהַר"],Bereshit:["בְּרֵאשִׁית"],Beshalach:["בְּשַׁלַּח"],Bo:["בֹּא"],"Chayei Sara":["חַיֵּי שָֹרָה"],Chukat:["חֻקַּת"],Devarim:["דְּבָרִים"],Eikev:["עֵקֶב"],Emor:["אֱמוֹר"],"Ha'azinu":["הַאֲזִינוּ"],Kedoshim:["קְדשִׁים"],"Ki Tavo":["כִּי־תָבוֹא"],"Ki Teitzei":["כִּי־תֵצֵא"],"Ki Tisa":["כִּי תִשָּׂא"],Korach:["קוֹרַח"],"Lech-Lecha":["לֶךְ־לְךָ"],Masei:["מַסְעֵי"],Matot:["מַּטּוֹת"],Metzora:["מְּצֹרָע"],Miketz:["מִקֵּץ"],Mishpatim:["מִּשְׁפָּטִים"],Nasso:["נָשׂא"],Nitzavim:["נִצָּבִים"],Noach:["נֹחַ"],Pekudei:["פְקוּדֵי"],Pinchas:["פִּינְחָס"],"Re'eh":["רְאֵה"],"Sh'lach":["שְׁלַח־לְךָ"],Shemot:["שְׁמוֹת"],Shmini:["שְּׁמִינִי"],Shoftim:["שׁוֹפְטִים"],Tazria:["תַזְרִיעַ"],Terumah:["תְּרוּמָה"],Tetzaveh:["תְּצַוֶּה"],Toldot:["תּוֹלְדוֹת"],Tzav:["צַו"],Vaera:["וָאֵרָא"],Vaetchanan:["וָאֶתְחַנַּן"],Vayakhel:["וַיַּקְהֵל"],Vayechi:["וַיְחִי"],Vayeilech:["וַיֵּלֶךְ"],Vayera:["וַיֵּרָא"],Vayeshev:["וַיֵּשֶׁב"],Vayetzei:["וַיֵּצֵא"],Vayigash:["וַיִּגַּשׁ"],Vayikra:["וַיִּקְרָא"],Vayishlach:["וַיִּשְׁלַח"],"Vezot Haberakhah":["וְזֹאת הַבְּרָכָה"],Yitro:["יִתְרוֹ"],"Asara B'Tevet":["עֲשָׂרָה בְּטֵבֵת"],"Candle lighting":["הַדְלָקַת נֵרוֹת"],Chanukah:["חֲנוּכָּה"],"Chanukah: 1 Candle":["חֲנוּכָּה: א׳ נֵר"],"Chanukah: 2 Candles":["חֲנוּכָּה: ב׳ נֵרוֹת"],"Chanukah: 3 Candles":["חֲנוּכָּה: ג׳ נֵרוֹת"],"Chanukah: 4 Candles":["חֲנוּכָּה: ד׳ נֵרוֹת"],"Chanukah: 5 Candles":["חֲנוּכָּה: ה׳ נֵרוֹת"],"Chanukah: 6 Candles":["חֲנוּכָּה: ו׳ נֵרוֹת"],"Chanukah: 7 Candles":["חֲנוּכָּה: ז׳ נֵרוֹת"],"Chanukah: 8 Candles":["חֲנוּכָּה: ח׳ נֵרוֹת"],"Chanukah: 8th Day":["חֲנוּכָּה: יוֹם ח׳"],"Days of the Omer":["סְפִירַת הָעוֹמֶר"],Omer:["עוֹמֶר"],"day of the Omer":["בָּעוֹמֶר"],"Erev Pesach":["עֶרֶב פֶּסַח"],"Erev Purim":["עֶרֶב פּוּרִים"],"Erev Rosh Hashana":["עֶרֶב רֹאשׁ הַשָּׁנָה"],"Erev Shavuot":["עֶרֶב שָׁבוּעוֹת"],"Erev Simchat Torah":["עֶרֶב שִׂמְחַת תּוֹרָה"],"Erev Sukkot":["עֶרֶב סוּכּוֹת"],"Erev Tish'a B'Av":["עֶרֶב תִּשְׁעָה בְּאָב"],"Erev Yom Kippur":["עֶרֶב יוֹם כִּפּוּר"],Havdalah:["הַבְדָּלָה"],"Lag BaOmer":["ל״ג בָּעוֹמֶר"],"Leil Selichot":["סליחות"],Pesach:["פֶּסַח"],"Pesach I":["פֶּסַח א׳"],"Pesach II":["פֶּסַח ב׳"],"Pesach II (CH''M)":["פֶּסַח ב׳ (חוה״מ)"],"Pesach III (CH''M)":["פֶּסַח ג׳ (חוה״מ)"],"Pesach IV (CH''M)":["פֶּסַח ד׳ (חוה״מ)"],"Pesach Sheni":["פֶּסַח שני"],"Pesach V (CH''M)":["פֶּסַח ה׳ (חוה״מ)"],"Pesach VI (CH''M)":["פֶּסַח ו׳ (חוה״מ)"],"Pesach VII":["פֶּסַח ז׳"],"Pesach VIII":["פֶּסַח ח׳"],Purim:["פּוּרִים"],"Purim Katan":["פּוּרִים קָטָן"],"Rosh Chodesh %s":["רֹאשׁ חוֹדֶשׁ %s"],"Rosh Chodesh":["רֹאשׁ חוֹדֶשׁ"],"Rosh Hashana":["רֹאשׁ הַשָּׁנָה"],"Rosh Hashana I":["רֹאשׁ הַשָּׁנָה א׳"],"Rosh Hashana II":["רֹאשׁ הַשָּׁנָה ב׳"],"Shabbat Chazon":["שַׁבָּת חֲזוֹן"],"Shabbat HaChodesh":["שַׁבָּת הַחֹדֶשׁ"],"Shabbat HaGadol":["שַׁבָּת הַגָּדוֹל"],"Shabbat Machar Chodesh":["שַׁבָּת מָחָר חוֹדֶשׁ"],"Shabbat Nachamu":["שַׁבָּת נַחֲמוּ"],"Shabbat Parah":["שַׁבָּת פּרה"],"Shabbat Rosh Chodesh":["שַׁבָּת רֹאשׁ חוֹדֶשׁ"],"Shabbat Shekalim":["שַׁבָּת שְׁקָלִים"],"Shabbat Shuva":["שַׁבָּת שׁוּבָה"],"Shabbat Zachor":["שַׁבָּת זָכוֹר"],Shavuot:["שָׁבוּעוֹת"],"Shavuot I":["שָׁבוּעוֹת א׳"],"Shavuot II":["שָׁבוּעוֹת ב׳"],"Shmini Atzeret":["שְׁמִינִי עֲצֶרֶת"],"Shushan Purim":["שׁוּשָׁן פּוּרִים"],Sigd:["סיגד"],"Simchat Torah":["שִׂמְחַת תּוֹרָה"],Sukkot:["סוּכּוֹת"],"Sukkot I":["סוּכּוֹת א׳"],"Sukkot II":["סוּכּוֹת ב׳"],"Sukkot II (CH''M)":["סוּכּוֹת ב׳ (חוה״מ)"],"Sukkot III (CH''M)":["סוּכּוֹת ג׳ (חוה״מ)"],"Sukkot IV (CH''M)":["סוּכּוֹת ד׳ (חוה״מ)"],"Sukkot V (CH''M)":["סוּכּוֹת ה׳ (חוה״מ)"],"Sukkot VI (CH''M)":["סוּכּוֹת ו׳ (חוה״מ)"],"Sukkot VII (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Ta'anit Bechorot":["תַּעֲנִית בְּכוֹרוֹת"],"Ta'anit Esther":["תַּעֲנִית אֶסְתֵּר"],"Tish'a B'Av":["תִּשְׁעָה בְּאָב"],"Tu B'Av":["טוּ בְּאָב"],"Tu BiShvat":["טוּ בִּשְׁבָט"],"Tu B'Shvat":["טוּ בִּשְׁבָט"],"Tzom Gedaliah":["צוֹם גְּדַלְיָה"],"Tzom Tammuz":["צוֹם תָּמוּז"],"Yom HaAtzma'ut":["יוֹם הָעַצְמָאוּת"],"Yom HaShoah":["יוֹם הַשּׁוֹאָה"],"Yom HaZikaron":["יוֹם הַזִּכָּרוֹן"],"Yom Kippur":["יוֹם כִּפּוּר"],"Yom Yerushalayim":["יוֹם יְרוּשָׁלַיִם"],"Yom HaAliyah":["יוֹם הַעֲלִיָּה"],"Yom HaAliyah School Observance":["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"],"Pesach I (on Shabbat)":["פֶּסַח יוֹם א׳ (בְּשַׁבָּת)"],"Pesach Chol ha-Moed Day 1":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם א׳"],"Pesach Chol ha-Moed Day 2":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ב׳"],"Pesach Chol ha-Moed Day 3":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ג׳"],"Pesach Chol ha-Moed Day 4":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ד׳"],"Pesach Chol ha-Moed Day 5":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ה׳"],"Pesach Shabbat Chol ha-Moed":["פֶּסַח שַׁבָּת חוֹל הַמּוֹעֵד"],"Shavuot II (on Shabbat)":["שָׁבוּעוֹת יוֹם ב׳ (בְּשַׁבָּת)"],"Rosh Hashana I (on Shabbat)":["רֹאשׁ הַשָּׁנָה יוֹם א׳ (בְּשַׁבָּת)"],"Yom Kippur (on Shabbat)":["יוֹם כִּפּוּר (בְּשַׁבָּת)"],"Yom Kippur (Mincha, Traditional)":["יוֹם כִּפּוּר מִנחָה"],"Yom Kippur (Mincha, Alternate)":["יוֹם כִּפּוּר מִנחָה"],"Sukkot I (on Shabbat)":["סוּכּוֹת יוֹם א׳ (בְּשַׁבָּת)"],"Sukkot Chol ha-Moed Day 1":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם א׳"],"Sukkot Chol ha-Moed Day 2":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ב׳"],"Sukkot Chol ha-Moed Day 3":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ג׳"],"Sukkot Chol ha-Moed Day 4":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ד׳"],"Sukkot Chol ha-Moed Day 5":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ה׳"],"Sukkot Shabbat Chol ha-Moed":["סוּכּוֹת שַׁבָּת חוֹל הַמּוֹעֵד"],"Sukkot Final Day (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Rosh Chodesh Adar":["רֹאשׁ חוֹדֶשׁ אַדָר"],"Rosh Chodesh Adar I":["רֹאשׁ חוֹדֶשׁ אַדָר א׳"],"Rosh Chodesh Adar II":["רֹאשׁ חוֹדֶשׁ אַדָר ב׳"],"Rosh Chodesh Av":["רֹאשׁ חוֹדֶשׁ אָב"],"Rosh Chodesh Cheshvan":["רֹאשׁ חוֹדֶשׁ חֶשְׁוָן"],"Rosh Chodesh Elul":["רֹאשׁ חוֹדֶשׁ אֱלוּל"],"Rosh Chodesh Iyyar":["רֹאשׁ חוֹדֶשׁ אִיָיר"],"Rosh Chodesh Kislev":["רֹאשׁ חוֹדֶשׁ כִּסְלֵו"],"Rosh Chodesh Nisan":["רֹאשׁ חוֹדֶשׁ נִיסָן"],"Rosh Chodesh Sh'vat":["רֹאשׁ חוֹדֶשׁ שְׁבָט"],"Rosh Chodesh Sivan":["רֹאשׁ חוֹדֶשׁ סִיוָן"],"Rosh Chodesh Tamuz":["רֹאשׁ חוֹדֶשׁ תָּמוּז"],"Rosh Chodesh Tevet":["רֹאשׁ חוֹדֶשׁ טֵבֵת"],min:["דַּקּוֹת"],"Fast begins":["תחילת הַצוֹם"],"Fast ends":["סִיּוּם הַצוֹם"],"Rosh Hashana LaBehemot":["רֹאשׁ הַשָּׁנָה לְמַעְשַׂר בְּהֵמָה"],"Tish'a B'Av (observed)":["תִּשְׁעָה בְּאָב נִדחֶה"],"Shabbat Mevarchim Chodesh":["שַׁבָּת מְבָרְכִים חוֹדֶשׁ"],"Shabbat Shirah":["שַׁבָּת שִׁירָה"],"Chatzot HaLailah":["חֲצוֹת הַלַיְלָה"],"Alot haShachar":["עֲלוֹת הַשַּׁחַר"],Misheyakir:["מִשֶּׁיַּכִּיר"],"Misheyakir Machmir":["מִשֶּׁיַּכִּיר מַחמִיר"],Dawn:["דִּימְדּוּמֵי בּוֹקֵר"],Sunrise:["הַנֵץ הַחַמָּה"],"Kriat Shema, sof zeman":["סוֹף זְמַן קְרִיאַת שְׁמַע גר״א"],"Tefilah, sof zeman":["סוֹף זְמַן תְּפִלָּה גר״א"],"Kriat Shema, sof zeman (MGA)":["סוֹף זְמַן קְרִיאַת שְׁמַע מג״א"],"Tefilah, sof zeman (MGA)":["סוֹף זְמַן תְּפִלָּה מג״א"],"Chatzot hayom":["חֲצוֹת הַיּוֹם"],"Mincha Gedolah":["מִנְחָה גְּדוֹלָה"],"Mincha Ketanah":["מִנְחָה קְטַנָּה"],"Plag HaMincha":["פְּלַג הַמִּנְחָה"],Dusk:["דִּימְדּוּמֵי עֶרֶב"],Sunset:["שְׁקִיעָה"],"Nightfall - End of ordained fasts":["לַיְלָה - גמר תעניות דרבנן"],"Tzeit HaKochavim":["צֵאת הַכּוֹכָבִים"],Lovingkindness:["חֶֽסֶד"],Might:["גְבוּרָה"],Beauty:["תִּפאֶרֶת"],Eternity:["נֶּֽצַח"],Splendor:["הוֹד"],Foundation:["יְּסוֹד"],Majesty:["מַּלְכוּת"],day:["יוֹם"],"Chanukah Day 1":["חֲנוּכָּה יוֹם א׳"],"Chanukah Day 2":["חֲנוּכָּה יוֹם ב׳"],"Chanukah Day 3":["חֲנוּכָּה יוֹם ג׳"],"Chanukah Day 4":["חֲנוּכָּה יוֹם ד׳"],"Chanukah Day 5":["חֲנוּכָּה יוֹם ה׳"],"Chanukah Day 6":["חֲנוּכָּה יוֹם ו׳"],"Chanukah Day 7":["חֲנוּכָּה יוֹם ז׳"],"Chanukah Day 7 (on Rosh Chodesh)":["חֲנוּכָּה יוֹם ז׳ (רֹאשׁ חוֹדֶשׁ)"],"Chanukah Day 8":["חֲנוּכָּה יוֹם ח׳"],"Chanukah Day 1 (on Shabbat)":["חֲנוּכָּה יוֹם א׳ (בְּשַׁבָּת)"],"Chanukah Day 2 (on Shabbat)":["חֲנוּכָּה יוֹם ב׳ (בְּשַׁבָּת)"],"Chanukah Day 3 (on Shabbat)":["חֲנוּכָּה יוֹם ג׳ (בְּשַׁבָּת)"],"Chanukah Day 4 (on Shabbat)":["חֲנוּכָּה יוֹם ד׳ (בְּשַׁבָּת)"],"Chanukah Day 5 (on Shabbat)":["חֲנוּכָּה יוֹם ה׳ (בְּשַׁבָּת)"],"Chanukah Day 7 (on Shabbat)":["חֲנוּכָּה יוֹם ז׳ (בְּשַׁבָּת)"],"Chanukah Day 8 (on Shabbat)":["חֲנוּכָּה יוֹם ח׳ (בְּשַׁבָּת)"],"Shabbat Rosh Chodesh Chanukah":["שַׁבָּת רֹאשׁ חוֹדֶשׁ חֲנוּכָּה"],"Yom Kippur Katan":["יוֹם כִּפּוּר קָטָן"],"Family Day":["יוֹם הַמִּשׁפָּחָה"],"Yitzhak Rabin Memorial Day":["יוֹם הַזִּכָּרוֹן ליצחק רבין"],"Jabotinsky Day":["יוֹם ז׳בוטינסקי"],"Herzl Day":["יוֹם הרצל"],"Ben-Gurion Day":["יוֹם בן־גוריון"],"Hebrew Language Day":["יוֹם הַשָׂפָה הַעִברִית"],"Birkat Hachamah":["בִרְכַּת הַחַמָּה"],"Shushan Purim Katan":["שׁוּשָׁן פּוּרִים קָטָן"],"Purim Meshulash":["פּוּרִים מְשׁוּלָּשׁ"],"after sunset":["לְאַחַר הַשְׁקִיעָה"],Yerushalmi:["יְרוּשַׁלְמִי"],"Chag HaBanot":["חַג הַבָּנוֹת"],Joshua:["יְהוֹשׁוּעַ"],Judges:["שׁוֹפְטִים"],"I Samuel":["שְׁמוּאֵל רִאשׁוֹן"],"II Samuel":["שְׁמוּאֵל שֵׁנִי"],"I Kings":["מְלָכִים רִאשׁוֹן"],"II Kings":["מְלָכִים שֵׁנִי"],Isaiah:["יְשַׁעְיָהוּ"],Jeremiah:["יִרְמְיָהוּ"],Ezekiel:["יְחֶזְקֵאל"],Hosea:["הוֹשֵׁעַ"],Joel:["יוֹאֵל"],Amos:["עָמוּס"],Obadiah:["עוֹבַדְיָה"],Jonah:["יוֹנָה"],Micah:["מִיכָה"],Nachum:["נַחוּם"],Habakkuk:["חֲבַקּוּק"],Zephaniah:["צְפַנְיָה"],Haggai:["חַגַּי"],Zechariah:["זְכַרְיָה"],Malachi:["מַלְאָכִי"],Psalms:["תְּהִלִּים"],Proverbs:["מִשְׁלֵי"],Job:["אִיּוֹב"],"Song of Songs":["שִׁיר הַשִּׁירִים"],Ruth:["רוּת"],Lamentations:["אֵיכָה"],Ecclesiastes:["קֹהֶלֶת"],Esther:["אֶסְתֵּר"],Daniel:["דָּנִיֵּאל"],Ezra:["עֶזְרָא"],Nehemiah:["נְחֶמְיָה"],"I Chronicles":["דִברֵי הַיָמִים רִאשׁוֹן"],"II Chronicles":["דִברֵי הַיָמִים שֵׁנִי"],"Yom Kippur (Mincha)":["יוֹם כִּפּוּר מִנחָה"],"Tish'a B'Av (Mincha)":["תִּשְׁעָה בְּאָב מִנחָה"],"Asara B'Tevet (Mincha)":["עֲשָׂרָה בְּטֵבֵת מִנחָה"],"Ta'anit Bechorot (Mincha)":["תַּעֲנִית בְּכוֹרוֹת מִנחָה"],"Ta'anit Esther (Mincha)":["תַּעֲנִית אֶסְתֵּר מִנחָה"],"Tzom Gedaliah (Mincha)":["צוֹם גְּדַלְיָה מִנחָה"],"Tzom Tammuz (Mincha)":["צוֹם תָּמוּז מִנחָה"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"],"Pirkei Avot":["פִּרְקֵי אָבוֹת"]}}};we.addTranslations("he",_e),we.addTranslations("h",_e),we.addTranslations("ashkenazi",De),we.addTranslations("a",De);const ke=_e.contexts[""],Le={};for(const[e,t]of Object.entries(ke))Le[e]=[we.hebrewStripNikkud(t[0])];const Re={headers:_e.headers,contexts:{"":Le}};we.addTranslations("he-x-NoNikud",Re);const Ye={CHAG:1,LIGHT_CANDLES:2,YOM_TOV_ENDS:4,CHUL_ONLY:8,IL_ONLY:16,LIGHT_CANDLES_TZEIS:32,CHANUKAH_CANDLES:64,ROSH_CHODESH:128,MINOR_FAST:256,SPECIAL_SHABBAT:512,PARSHA_HASHAVUA:1024,DAF_YOMI:2048,OMER_COUNT:4096,MODERN_HOLIDAY:8192,MAJOR_FAST:16384,SHABBAT_MEVARCHIM:32768,MOLAD:65536,USER_EVENT:131072,HEBREW_DATE:262144,MINOR_HOLIDAY:524288,EREV:1048576,CHOL_HAMOED:2097152,MISHNA_YOMI:4194304,YOM_KIPPUR_KATAN:8388608,YERUSHALMI_YOMI:16777216,NACH_YOMI:33554432,DAILY_LEARNING:67108864},Pe=[[Ye.MAJOR_FAST,"holiday","major","fast"],[Ye.CHANUKAH_CANDLES,"holiday","major"],[Ye.HEBREW_DATE,"hebdate"],[Ye.MINOR_FAST,"holiday","fast"],[Ye.MINOR_HOLIDAY,"holiday","minor"],[Ye.MODERN_HOLIDAY,"holiday","modern"],[Ye.MOLAD,"molad"],[Ye.OMER_COUNT,"omer"],[Ye.PARSHA_HASHAVUA,"parashat"],[Ye.ROSH_CHODESH,"roshchodesh"],[Ye.SHABBAT_MEVARCHIM,"mevarchim"],[Ye.SPECIAL_SHABBAT,"holiday","shabbat"],[Ye.USER_EVENT,"user"]];class Be{constructor(e,t,n=0,r){if(!Oe.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof t)throw new TypeError(`Invalid Event description: ${t}`);this.date=e,this.desc=t,this.mask=+n,"object"==typeof r&&null!==r&&Object.assign(this,r)}getDate(){return this.date}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return we.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&Ye.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&Ye.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new Be(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&Object.defineProperty(e,t,{value:this[t]});return e}getCategories(){const e=this.getFlags();for(const t of Pe){if(e&t[0])return t.slice(1)}return["unknown"]}}class je extends Be{constructor(e){super(e,e.toString(),Ye.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:we.getLocaleName(),r=this.getDate();switch(n){case"h":case"he":return r.renderGematriya(!1);case"he-x-nonikud":return r.renderGematriya(!0);default:return r.render(n,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=we.gettext(t.getMonthName(),e);return V(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:we.getLocaleName(),r=this.getDate();if(r.getMonth()===m.TISHREI&&1===r.getDate())return this.render(n);switch(n){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(n);default:return r.render(n,!1)}}}var Fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ue=function(e){return e&&e.Math===Math&&e},xe=Ue("object"==typeof globalThis&&globalThis)||Ue("object"==typeof window&&window)||Ue("object"==typeof self&&self)||Ue("object"==typeof Fe&&Fe)||Ue("object"==typeof Fe&&Fe)||function(){return this}()||Function("return this")(),Ze={},$e=function(e){try{return!!e()}catch(e){return!0}},Ve=!$e((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ze=!$e((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Ke=ze,Ge=Function.prototype.call,Je=Ke?Ge.bind(Ge):function(){return Ge.apply(Ge,arguments)},We={},qe={}.propertyIsEnumerable,Xe=Object.getOwnPropertyDescriptor,Qe=Xe&&!qe.call({1:2},1);We.f=Qe?function(e){var t=Xe(this,e);return!!t&&t.enumerable}:qe;var et,tt,nt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},rt=ze,ot=Function.prototype,at=ot.call,it=rt&&ot.bind.bind(at,at),st=rt?it:function(e){return function(){return at.apply(e,arguments)}},ct=st,ut=ct({}.toString),ht=ct("".slice),lt=$e,ft=function(e){return ht(ut(e),8,-1)},dt=Object,gt=st("".split),mt=lt((function(){return!dt("z").propertyIsEnumerable(0)}))?function(e){return"String"===ft(e)?gt(e,""):dt(e)}:dt,yt=function(e){return null==e},St=yt,pt=TypeError,wt=function(e){if(St(e))throw new pt("Can't call method on "+e);return e},vt=mt,At=wt,bt=function(e){return vt(At(e))},Tt="object"==typeof document&&document.all,It=void 0===Tt&&void 0!==Tt?function(e){return"function"==typeof e||e===Tt}:function(e){return"function"==typeof e},Mt=It,Et=function(e){return"object"==typeof e?null!==e:Mt(e)},Ot=xe,Ct=It,Nt=function(e,t){return arguments.length<2?(n=Ot[e],Ct(n)?n:void 0):Ot[e]&&Ot[e][t];var n},Ht=st({}.isPrototypeOf),Dt=xe,_t="undefined"!=typeof navigator&&String(navigator.userAgent)||"",kt=Dt.process,Lt=Dt.Deno,Rt=kt&&kt.versions||Lt&&Lt.version,Yt=Rt&&Rt.v8;Yt&&(tt=(et=Yt.split("."))[0]>0&&et[0]<4?1:+(et[0]+et[1])),!tt&&_t&&(!(et=_t.match(/Edge\/(\d+)/))||et[1]>=74)&&(et=_t.match(/Chrome\/(\d+)/))&&(tt=+et[1]);var Pt=tt,Bt=$e,jt=xe.String,Ft=!!Object.getOwnPropertySymbols&&!Bt((function(){var e=Symbol("symbol detection");return!jt(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pt&&Pt<41})),Ut=Ft&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xt=Nt,Zt=It,$t=Ht,Vt=Object,zt=Ut?function(e){return"symbol"==typeof e}:function(e){var t=xt("Symbol");return Zt(t)&&$t(t.prototype,Vt(e))},Kt=String,Gt=It,Jt=function(e){try{return Kt(e)}catch(e){return"Object"}},Wt=TypeError,qt=function(e){if(Gt(e))return e;throw new Wt(Jt(e)+" is not a function")},Xt=yt,Qt=Je,en=It,tn=Et,nn=TypeError,rn={exports:{}},on=xe,an=Object.defineProperty,sn=function(e,t){try{an(on,e,{value:t,configurable:!0,writable:!0})}catch(n){on[e]=t}return t},cn=xe,un=sn,hn="__core-js_shared__",ln=rn.exports=cn[hn]||un(hn,{});(ln.versions||(ln.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var fn=rn.exports,dn=fn,gn=function(e,t){return dn[e]||(dn[e]=t||{})},mn=wt,yn=Object,Sn=function(e){return yn(mn(e))},pn=st({}.hasOwnProperty),wn=Object.hasOwn||function(e,t){return pn(Sn(e),t)},vn=st,An=0,bn=Math.random(),Tn=vn(1..toString),In=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Tn(++An+bn,36)},Mn=gn,En=wn,On=In,Cn=Ft,Nn=Ut,Hn=xe.Symbol,Dn=Mn("wks"),_n=Nn?Hn.for||Hn:Hn&&Hn.withoutSetter||On,kn=function(e){return En(Dn,e)||(Dn[e]=Cn&&En(Hn,e)?Hn[e]:_n("Symbol."+e)),Dn[e]},Ln=Je,Rn=Et,Yn=zt,Pn=function(e,t){var n=e[t];return Xt(n)?void 0:qt(n)},Bn=function(e,t){var n,r;if("string"===t&&en(n=e.toString)&&!tn(r=Qt(n,e)))return r;if(en(n=e.valueOf)&&!tn(r=Qt(n,e)))return r;if("string"!==t&&en(n=e.toString)&&!tn(r=Qt(n,e)))return r;throw new nn("Can't convert object to primitive value")},jn=TypeError,Fn=kn("toPrimitive"),Un=function(e,t){if(!Rn(e)||Yn(e))return e;var n,r=Pn(e,Fn);if(r){if(void 0===t&&(t="default"),n=Ln(r,e,t),!Rn(n)||Yn(n))return n;throw new jn("Can't convert object to primitive value")}return void 0===t&&(t="number"),Bn(e,t)},xn=zt,Zn=function(e){var t=Un(e,"string");return xn(t)?t:t+""},$n=Et,Vn=xe.document,zn=$n(Vn)&&$n(Vn.createElement),Kn=function(e){return zn?Vn.createElement(e):{}},Gn=Kn,Jn=!Ve&&!$e((function(){return 7!==Object.defineProperty(Gn("div"),"a",{get:function(){return 7}}).a})),Wn=Ve,qn=Je,Xn=We,Qn=nt,er=bt,tr=Zn,nr=wn,rr=Jn,or=Object.getOwnPropertyDescriptor;Ze.f=Wn?or:function(e,t){if(e=er(e),t=tr(t),rr)try{return or(e,t)}catch(e){}if(nr(e,t))return Qn(!qn(Xn.f,e,t),e[t])};var ar={},ir=Ve&&$e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),sr=Et,cr=String,ur=TypeError,hr=function(e){if(sr(e))return e;throw new ur(cr(e)+" is not an object")},lr=Ve,fr=Jn,dr=ir,gr=hr,mr=Zn,yr=TypeError,Sr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,wr="enumerable",vr="configurable",Ar="writable";ar.f=lr?dr?function(e,t,n){if(gr(e),t=mr(t),gr(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ar in n&&!n[Ar]){var r=pr(e,t);r&&r[Ar]&&(e[t]=n.value,n={configurable:vr in n?n[vr]:r[vr],enumerable:wr in n?n[wr]:r[wr],writable:!1})}return Sr(e,t,n)}:Sr:function(e,t,n){if(gr(e),t=mr(t),gr(n),fr)try{return Sr(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new yr("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var br=ar,Tr=nt,Ir=Ve?function(e,t,n){return br.f(e,t,Tr(1,n))}:function(e,t,n){return e[t]=n,e},Mr={exports:{}},Er=Ve,Or=wn,Cr=Function.prototype,Nr=Er&&Object.getOwnPropertyDescriptor,Hr=Or(Cr,"name"),Dr={EXISTS:Hr,PROPER:Hr&&"something"===function(){}.name,CONFIGURABLE:Hr&&(!Er||Er&&Nr(Cr,"name").configurable)},_r=It,kr=fn,Lr=st(Function.toString);_r(kr.inspectSource)||(kr.inspectSource=function(e){return Lr(e)});var Rr,Yr,Pr,Br=kr.inspectSource,jr=It,Fr=xe.WeakMap,Ur=jr(Fr)&&/native code/.test(String(Fr)),xr=In,Zr=gn("keys"),$r=function(e){return Zr[e]||(Zr[e]=xr(e))},Vr={},zr=Ur,Kr=xe,Gr=Et,Jr=Ir,Wr=wn,qr=fn,Xr=$r,Qr=Vr,eo="Object already initialized",to=Kr.TypeError,no=Kr.WeakMap;if(zr||qr.state){var ro=qr.state||(qr.state=new no);ro.get=ro.get,ro.has=ro.has,ro.set=ro.set,Rr=function(e,t){if(ro.has(e))throw new to(eo);return t.facade=e,ro.set(e,t),t},Yr=function(e){return ro.get(e)||{}},Pr=function(e){return ro.has(e)}}else{var oo=Xr("state");Qr[oo]=!0,Rr=function(e,t){if(Wr(e,oo))throw new to(eo);return t.facade=e,Jr(e,oo,t),t},Yr=function(e){return Wr(e,oo)?e[oo]:{}},Pr=function(e){return Wr(e,oo)}}var ao={set:Rr,get:Yr,has:Pr,enforce:function(e){return Pr(e)?Yr(e):Rr(e,{})},getterFor:function(e){return function(t){var n;if(!Gr(t)||(n=Yr(t)).type!==e)throw new to("Incompatible receiver, "+e+" required");return n}}},io=st,so=$e,co=It,uo=wn,ho=Ve,lo=Dr.CONFIGURABLE,fo=Br,go=ao.enforce,mo=ao.get,yo=String,So=Object.defineProperty,po=io("".slice),wo=io("".replace),vo=io([].join),Ao=ho&&!so((function(){return 8!==So((function(){}),"length",{value:8}).length})),bo=String(String).split("String"),To=Mr.exports=function(e,t,n){"Symbol("===po(yo(t),0,7)&&(t="["+wo(yo(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!uo(e,"name")||lo&&e.name!==t)&&(ho?So(e,"name",{value:t,configurable:!0}):e.name=t),Ao&&n&&uo(n,"arity")&&e.length!==n.arity&&So(e,"length",{value:n.arity});try{n&&uo(n,"constructor")&&n.constructor?ho&&So(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=go(e);return uo(r,"source")||(r.source=vo(bo,"string"==typeof t?t:"")),e};Function.prototype.toString=To((function(){return co(this)&&mo(this).source||fo(this)}),"toString");var Io=Mr.exports,Mo=It,Eo=ar,Oo=Io,Co=sn,No={},Ho=Math.ceil,Do=Math.floor,_o=Math.trunc||function(e){var t=+e;return(t>0?Do:Ho)(t)},ko=_o,Lo=function(e){var t=+e;return t!=t||0===t?0:ko(t)},Ro=Lo,Yo=Math.max,Po=Math.min,Bo=Lo,jo=Math.min,Fo=function(e){var t=Bo(e);return t>0?jo(t,9007199254740991):0},Uo=bt,xo=function(e,t){var n=Ro(e);return n<0?Yo(n+t,0):Po(n,t)},Zo=function(e){return Fo(e.length)},$o=function(e){return function(t,n,r){var o=Uo(t),a=Zo(o);if(0===a)return!e&&-1;var i,s=xo(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Vo={includes:$o(!0),indexOf:$o(!1)},zo=wn,Ko=bt,Go=Vo.indexOf,Jo=Vr,Wo=st([].push),qo=function(e,t){var n,r=Ko(e),o=0,a=[];for(n in r)!zo(Jo,n)&&zo(r,n)&&Wo(a,n);for(;t.length>o;)zo(r,n=t[o++])&&(~Go(a,n)||Wo(a,n));return a},Xo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qo=qo,ea=Xo.concat("length","prototype");No.f=Object.getOwnPropertyNames||function(e){return Qo(e,ea)};var ta={};ta.f=Object.getOwnPropertySymbols;var na=Nt,ra=No,oa=ta,aa=hr,ia=st([].concat),sa=na("Reflect","ownKeys")||function(e){var t=ra.f(aa(e)),n=oa.f;return n?ia(t,n(e)):t},ca=wn,ua=sa,ha=Ze,la=ar,fa=$e,da=It,ga=/#|\.prototype\./,ma=function(e,t){var n=Sa[ya(e)];return n===wa||n!==pa&&(da(t)?fa(t):!!t)},ya=ma.normalize=function(e){return String(e).replace(ga,".").toLowerCase()},Sa=ma.data={},pa=ma.NATIVE="N",wa=ma.POLYFILL="P",va=ma,Aa=xe,ba=Ze.f,Ta=Ir,Ia=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;if(Mo(n)&&Oo(n,a,r),r.global)o?e[t]=n:Co(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:Eo.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Ma=sn,Ea=function(e,t,n){for(var r=ua(t),o=la.f,a=ha.f,i=0;i<r.length;i++){var s=r[i];ca(e,s)||n&&ca(n,s)||o(e,s,a(t,s))}},Oa=va,Ca={},Na=qo,Ha=Xo,Da=Object.keys||function(e){return Na(e,Ha)},_a=Ve,ka=ir,La=ar,Ra=hr,Ya=bt,Pa=Da;Ca.f=_a&&!ka?Object.defineProperties:function(e,t){Ra(e);for(var n,r=Ya(t),o=Pa(t),a=o.length,i=0;a>i;)La.f(e,n=o[i++],r[n]);return e};var Ba,ja=Nt("document","documentElement"),Fa=hr,Ua=Ca,xa=Xo,Za=Vr,$a=ja,Va=Kn,za="prototype",Ka="script",Ga=$r("IE_PROTO"),Ja=function(){},Wa=function(e){return"<"+Ka+">"+e+"</"+Ka+">"},qa=function(e){e.write(Wa("")),e.close();var t=e.parentWindow.Object;return e=null,t},Xa=function(){try{Ba=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Xa="undefined"!=typeof document?document.domain&&Ba?qa(Ba):(t=Va("iframe"),n="java"+Ka+":",t.style.display="none",$a.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Wa("document.F=Object")),e.close(),e.F):qa(Ba);for(var r=xa.length;r--;)delete Xa[za][xa[r]];return Xa()};Za[Ga]=!0;var Qa=Object.create||function(e,t){var n;return null!==e?(Ja[za]=Fa(e),n=new Ja,Ja[za]=null,n[Ga]=e):n=Xa(),void 0===t?n:Ua.f(n,t)},ei=kn,ti=Qa,ni=ar.f,ri=ei("unscopables"),oi=Array.prototype;void 0===oi[ri]&&ni(oi,ri,{configurable:!0,value:ti(null)});var ai=Vo.includes,ii=function(e){oi[ri][e]=!0};function si(e,t,n,r,o){return ci(t,ui(e,t),n,r,o)}function ci(e,t,n,r,o,a){const i=Hi(t,n,r);if(o&&t!==i)throw new RangeError(Pl(e,t,n,r,a));return i}function ui(e,t){const n=e[t];if(void 0===n)throw new TypeError(jl(t));return n}function hi(e){return null!==e&&/object|function/.test(typeof e)}function li(e){const t=new(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Map);return function(n){if(t.has(n))return t.get(n);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];const i=e(n,...o);return t.set(n,i),i}}function fi(e){return di({name:e},1)}function di(e,t){return Si((e=>({value:e,configurable:1,writable:!t})),e)}function gi(e){return Si((e=>({get:e,configurable:1})),e)}function mi(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function yi(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function Si(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function pi(e,t,n){const r={};for(let o=0;o<t.length;o++){const a=t[o];r[a]=e(a,o,n)}return r}function wi(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function vi(e,t){const n={};for(const r of e)n[r]=t[r];return n}function Ai(e,t){const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n}function bi(e){e={...e};const t=Object.keys(e);for(const n of t)void 0===e[n]&&delete e[n];return e}function Ti(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Ii(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Mi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e(...n,...r)}}function Ei(e){return e[0].toUpperCase()+e.substring(1)}function Oi(e){return e.slice().sort()}function Ci(e,t){return String(t).padStart(e,"0")}function Ni(e,t){return Math.sign(e-t)}function Hi(e,t,n){return Math.min(Math.max(e,t),n)}function Di(e,t){return[Math.floor(e/t),_i(e,t)]}function _i(e,t){return(e%t+t)%t}function ki(e,t){return[Li(e,t),Ri(e,t)]}function Li(e,t){return Math.trunc(e/t)||0}function Ri(e,t){return e%t||0}function Yi(e){return.5===Math.abs(e%1)}function Pi(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=Rf[a],s=Lf/i,[c,u]=ki(t,s);r+=u*i,o+=c}const[a,i]=ki(r,Lf);return[o+a,i]}function Bi(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Rf[o];r[n[o]]=Li(e,t),e=Ri(e,t)}return r}function ji(e){if(void 0!==e)return Ui(e)}function Fi(e){return Ki(Ui(e))}function Ui(e){return zi(sd(e))}function xi(e){if(null==e)throw new TypeError("Cannot be null or undefined");return e}function Zi(e,t){if(null==t)throw new RangeError(jl(e));return t}function $i(e){if(!hi(e))throw new TypeError(Yl);return e}function Vi(e,t){if(typeof t!==e)throw new TypeError(Bl(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function zi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Hl(t,e));return e||0}function Ki(e){if(e<=0)throw new RangeError(Dl(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function Gi(e){if("symbol"==typeof e)throw new TypeError(Rl);return String(e)}function Ji(e,t){return hi(e)?String(e):ad(e,t)}function Wi(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Ll(e));return e}function qi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(kl(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(_l(t,e));return e}function Xi(e,t){return Math.trunc(qi(e,t))||0}function Qi(e,t){return zi(qi(e,t),t)}function es(e,t){return Ki(Xi(e,t),t)}function ts(e,t){let[n,r]=ki(t,Lf),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Lf),[o,r]}function ns(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return ts(e[0]+t[0]*n,e[1]+t[1]*n)}function rs(e,t){return ts(e[0],e[1]+t)}function os(e,t){return ns(t,e,-1)}function as(e,t){return Ni(e[0],t[0])||Ni(e[1],t[1])}function is(e,t,n){return-1===as(e,t)||1===as(e,n)}function ss(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Lf/t);return[Number(e/n),Number(e%n)*t]}function cs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Lf/t,[r,o]=ki(e,n);return[r,o*t]}function us(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),a=Lf/t;return BigInt(n)*BigInt(a)+BigInt(o)}function hs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;const[r,o]=e,[a,i]=ki(o,t);return r*(Lf/t)+(a+(n?i/t:0))}function ls(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Di;const[r,o]=e,[a,i]=n(o,t);return[r*(Lf/t)+a,i]}function fs(e,t){const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function ds(e){return si(e,"isoYear",kd,_d,1),e.isoYear===kd?si(e,"isoMonth",4,12,1):e.isoYear===_d&&si(e,"isoMonth",1,9,1),e}function gs(e){return ms({...e,...Id,isoHour:12}),e}function ms(e){const t=si(e,"isoYear",kd,_d,1),n=t===kd?1:t===_d?-1:0;return n&&ys(bs({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function ys(e){if(!e||is(e,Dd,Hd))throw new RangeError(lf);return e}function Ss(e){return Pi(e,5,pd)[1]}function ps(e){const[t,n]=Di(e,Lf);return[Bi(n,5,pd),t]}function ws(e){return vs(e)[0]}function vs(e){return ls(e,Df)}function As(e){return Ms(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function bs(e){const t=As(e);if(void 0!==t){const[n,r]=ki(t,Of);return[n,r*Hf+(e.isoMicrosecond||0)*Nf+(e.isoNanosecond||0)]}}function Ts(e,t){const[n,r]=ps(Ss(e)-t);return ys(bs({...e,isoDay:e.isoDay+r,...n}))}function Is(){return Ms(...arguments)/Cf}function Ms(){const[e,t]=Es(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*Of}function Es(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;const s=e===kd?1:e===_d?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function Os(e,t){let[n,r]=rs(e,t);r<0&&(r+=Lf,n-=1);const[o,a]=Di(r,Hf),[i,s]=Di(a,Nf);return Cs(n*Of+o,i,s)}function Cs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=Math.ceil(Math.max(0,Math.abs(e)-Nd)/Of)*Math.sign(e),o=new Date(e-r*Of);return yi(vd,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Ns(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Hs(){return Yd}function Ds(e,t){switch(t){case 2:return ks(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function _s(e){return ks(e)?366:365}function ks(e){return e%4==0&&(e%100!=0||e%400==0)}function Ls(e){const[t,n]=Es(e.isoYear,e.isoMonth,e.isoDay);return _i(t.getUTCDay()-n,7)||7}function Rs(e){let{isoYear:t}=e;return t<1?["bce",1-t]:["ce",t]}function Ys(e){const t=As(e);if(t<Pd)return Rs(e);const n=fs(Vg(nd),t),{era:r,eraYear:o}=Lh(n,nd);return[r,o]}function Ps(e){return Bs(e),Us(e,1),e}function Bs(e){return Fs(e,1),e}function js(e){return Ti(wd,e,Fs(e))}function Fs(e,t){const{isoYear:n}=e,r=si(e,"isoMonth",1,Hs(),t);return{isoYear:n,isoMonth:r,isoDay:si(e,"isoDay",1,Ds(n,r),t)}}function Us(e,t){return yi(pd,[si(e,"isoHour",0,23,t),si(e,"isoMinute",0,59,t),si(e,"isoSecond",0,59,t),si(e,"isoMillisecond",0,999,t),si(e,"isoMicrosecond",0,999,t),si(e,"isoNanosecond",0,999,t)])}function xs(e){return void 0===e?0:tg($i(e))}function Zs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=ec(e);const n=ng(e),r=rg(e,t);return[tg(e),r,n]}function $s(e){return ng(ec(e))}function Vs(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:9,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4;t=ec(t);let i=Qd(t,r,o),s=qs(t),c=sg(t,a);const u=Xd(t,r,o,1);return null==i?i=Math.max(n,u):ic(i,u),s=Xs(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function zs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=qs(e=tc(e,jd));const o=sg(e,7);let a=Xd(e,t);return a=Zi(jd,a),r=Xs(r,a,void 0,n),[a,r,o]}function Ks(e){return og(ec(e))}function Gs(e,t){return Js(ec(e),t)}function Js(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=Qs(e);return[sg(e,4),...Ws(Xd(e,t),n)]}function Ws(e,t){return null!=e?[Rf[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function qs(e){const t=e[Ud];return void 0===t?1:Xi(t,Ud)}function Xs(e,t,n,r){const o=r?Lf:Rf[t+1];if(o){const n=Rf[t];if(o%((e=ci(Ud,e,1,o/n-(r?0:1),1))*n))throw new RangeError(Bl(Ud,e))}else e=ci(Ud,e,1,n?10**9:1,1);return e}function Qs(e){let t=e[xd];if(void 0!==t){if("number"!=typeof t){if("auto"===Gi(t))return;throw new RangeError(Bl(xd,t))}t=ci(xd,Math.floor(t),0,9,1)}return t}function ec(e){return void 0===e?{}:$i(e)}function tc(e,t){return"string"==typeof e?{[t]:e}:$i(e)}function nc(e){if(void 0!==e){if(hi(e))return Object.assign(Object.create(null),e);throw new TypeError(Yl)}}function rc(e,t){return e&&Object.assign(Object.create(null),e,{overflow:Vd[t]})}function oc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:9,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,a=t[e];if(void 0===a)return o?r:void 0;if(a=Gi(a),"auto"===a)return o?r:null;let i=Mf[a];if(void 0===i&&(i=gd[a]),void 0===i)throw new RangeError(Zl(e,a,Mf));return ci(e,i,r,n,1,Ef),i}function ac(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=n[e];if(void 0===o)return r;const a=Gi(o),i=t[a];if(void 0===i)throw new RangeError(Zl(e,a,t));return i}function ic(e,t){if(t>e)throw new RangeError(Sf)}function sc(e){return{branding:gg,epochNanoseconds:e}}function cc(e,t,n){return{branding:dg,calendar:n,timeZone:t,epochNanoseconds:e}}function uc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:lg,calendar:t,...vi(Td,e)}}function hc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:hg,calendar:t,...vi(Ad,e)}}function lc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:cg,calendar:t,...vi(Ad,e)}}function fc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:ug,calendar:t,...vi(Ad,e)}}function dc(e){return{branding:fg,...vi(bd,e)}}function gc(e){return{branding:mg,sign:Du(e),...vi(hd,e)}}function mc(e){return ls(e.epochNanoseconds,Hf)[0]}function yc(e){return e.epochNanoseconds}function Sc(e){return"string"==typeof e?e:ad(e.id)}function pc(e,t){return e===t||Sc(e)===Sc(t)}function wc(e,t){return hs(Lu(e),Rf[t],1)}function vc(e,t,n,r,o,a,i){const s=ud[n],c={...t,[s]:t[s]+r},u=i(e,o,t),h=i(e,o,c);return[a(u),a(h)]}function Ac(e,t,n){const r=hs(os(t,n));if(!r)throw new RangeError(tf);return hs(os(t,e))/r}function bc(e,t,n,r){return Tc(e,Ec(t,n),r)}function Tc(e,t,n){const[r,o]=Ic(e,t,n);return ms({...Au(e,o),...r})}function Ic(e,t,n){return ps(kc(Ss(e),t,n))}function Mc(e){return kc(e,_f,7)}function Ec(e,t){return Rf[e]*t}function Oc(e){const t=Cc(e);return[t,Au(t,1)]}function Cc(e){return Md(6,e)}function Nc(e,t,n){const r=Math.min(Bu(e),6);return Ru(_c(Lu(e,r),t,n),r)}function Hc(e,t,n,r,o,a,i,s,c,u){if(0===r&&1===o)return e;const h=Ou(r,s)?Eu(s)&&r<6&&n>=6?Yc:Rc:Pc;let[l,f,d]=h(e,t,n,r,o,a,i,s,c,u);return d&&7!==r&&(l=((e,t,n,r,o,a,i,s)=>{const c=Du(e);for(let u=r+1;u<=n;u++){if(7===u&&7!==n)continue;const r=Sd(u,e);r[ud[u]]+=c;const h=hs(os(i(s(o,a,r)),t));if(h&&Math.sign(h)!==c)break;e=r}return e})(l,f,n,Math.max(6,r),i,s,c,u)),l}function Dc(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Lf)(e);return[kc(t,n,r),0]}return _c(e,Ec(t,n),r,o)}function _c(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Lf,o-=1);const[i,s]=Di(kc(a,t,n),Lf);return ts(o+i,s)}function kc(e,t,n){return Lc(e/t,n)*t}function Lc(e,t){return yg[t](e)}function Rc(e,t,n,r,o,a){const i=Du(e),s=Lu(e),c=Dc(s,r,o,a),u=os(s,c),h=Math.sign(c[0]-s[0])===i,l=Ru(c,Math.min(n,6));return[{...e,...l},ns(t,u),h]}function Yc(e,t,n,r,o,a,i,s,c,u){const h=Du(e),l=hs(Lu(e,5)),f=Ec(r,o);let d=kc(l,f,a);const[g,m]=vc(i,{...e,...yd},6,h,s,c,u),y=d-hs(os(g,m));let S=0;y&&Math.sign(y)!==h?t=rs(g,d):(S+=h,d=kc(y,f,a),t=rs(m,d));const p=Yu(d);return[{...e,...p,days:e.days+S},t,Boolean(S)]}function Pc(e,t,n,r,o,a,i,s,c,u){const h=Du(e),l=ud[r],f=Sd(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const d=Li(e[l],o)*o;f[l]=d;const[g,m]=vc(i,f,r,o*h,s,c,u),y=d+Ac(t,g,m)*h*o,S=kc(y,o,a),p=Math.sign(S-y)===h;return f[l]=S,[f,p?m:g,p]}function Bc(e,t,n,r){const[o,a,i,s]=(e=>{const t=Js(e=ec(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=_c(n,o,r,1);const i=t.getOffsetNanosecondsFor(n);return Gc(Os(n,i),a)+(e?Qc(Mc(i)):"Z")})(c,t(c?e(o):Sg),n.epochNanoseconds,a,i,s)}function jc(e,t,n){const[r,o,a,i,s,c]=(e=>{e=ec(e);const t=og(e),n=Qs(e),r=ig(e),o=sg(e,4),a=Xd(e,4);return[t,ag(e),r,o,...Ws(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=_c(r,c,s,1);const h=e(n).getOffsetNanosecondsFor(r);return Gc(Os(r,h),u)+Qc(Mc(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+Sc(e)+"]":"")(n,a)+eu(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function Fc(e,t){const[n,r,o,a]=(e=>(e=ec(e),[og(e),...Js(e)]))(t);return i=e.calendar,s=n,c=a,Gc(Tc(e,o,r),c)+eu(i,s);var i,s,c}function Uc(e,t){return n=e.calendar,r=e,o=Ks(t),Jc(r)+eu(n,o);var n,r,o}function xc(e,t){return zc(e.calendar,Wc,e,Ks(t))}function Zc(e,t){return zc(e.calendar,qc,e,Ks(t))}function $c(e,t){const[n,r,o]=Gs(t);return a=o,Xc(Ic(e,r,n)[0],a);var a}function Vc(e,t){const[n,r,o]=Gs(t,3);return r>1&&(e={...e,...Nc(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Hu(e):e,{hours:o,minutes:a}=r,[i,s]=ls(Lu(r,3),Df,ki);ku(i);const c=nu(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+Kc({Y:ou(r.years),M:ou(r.months),W:ou(r.weeks),D:ou(r.days)})+(o||a||i||u?"T"+Kc({H:ou(o),M:ou(a),S:ou(i,u)+c}):"")})(e,o)}function zc(e,t,n,r){const o=Sc(e),a=r>1||0===r&&o!==ed;return 1===r?o===ed?t(n):Jc(n):a?Jc(n)+tu(o,2===r):t(n)}function Kc(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function Gc(e,t){return Jc(e)+"T"+Xc(e,t)}function Jc(e){return Wc(e)+"-"+If(e.isoDay)}function Wc(e){const{isoYear:t}=e;return(t<0||t>9999?ru(t)+Ci(6,Math.abs(t)):Ci(4,t))+"-"+If(e.isoMonth)}function qc(e){return If(e.isoMonth)+"-"+If(e.isoDay)}function Xc(e,t){const n=[If(e.isoHour),If(e.isoMinute)];return-1!==t&&n.push(If(e.isoSecond)+((e,t,n,r)=>nu(e*Hf+t*Nf+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function Qc(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=Di(Math.abs(e),kf),[r,o]=Di(n,_f),[a,i]=Di(o,Df);return ru(e)+If(t)+":"+If(r)+(a||i?":"+If(a)+nu(i):"")}function eu(e,t){if(1!==t){const n=Sc(e);if(t>1||0===t&&n!==ed)return tu(n,2===t)}return""}function tu(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function nu(e,t){let n=Ci(9,e);return n=void 0===t?n.replace(Ag,""):n.slice(0,t),n?"."+n:""}function ru(e){return e<0?"-":"+"}function ou(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function au(e,t){const{epochNanoseconds:n}=e,r=(t.getOffsetNanosecondsFor?t:t(e.timeZone)).getOffsetNanosecondsFor(n),o=Os(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function iu(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;if(void 0!==n&&1===r&&(1===r||i))return Ts(t,n);const s=e.getPossibleInstantsFor(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=bs(t);r&&(n=Mc(n));for(const t of e){let e=hs(os(t,o));if(r&&(e=Mc(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(uf)}return i?bs(t):su(e,t,o,s)}function su(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.getPossibleInstantsFor(t);if(1===r.length)return r[0];if(1===n)throw new RangeError(hf);if(r.length)return r[3===n?1:0];const o=bs(t),a=((e,t)=>{const n=e.getOffsetNanosecondsFor(rs(t,-Lf));return uu(e.getOffsetNanosecondsFor(rs(t,Lf))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.getPossibleInstantsFor(Os(o,i)))[2===n?0:r.length-1]}function cu(e){if(Math.abs(e)>=Lf)throw new RangeError(sf);return e}function uu(e){if(e>Lf)throw new RangeError(cf);return e}function hu(e,t,n){return sc(ys(ns(t.epochNanoseconds,(e=>{if(Pu(e))throw new RangeError(mf);return Lu(e,5)})(e?Hu(n):n))))}function lu(e,t,n,r,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Object.create(null);const i=t(r.timeZone),s=e(r.calendar);return{...r,...yu(i,s,r,n?Hu(o):o,a)}}function fu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:a}=n;return uc(Su(e(a),n,t?Hu(r):r,o),a)}function du(e,t,n,r,o){const{calendar:a}=n;return hc(pu(e(a),n,t?Hu(r):r,o),a)}function gu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const a=n.calendar,i=e(a);let s=wu(i,n);t&&(r=Nu(r)),r.sign<0&&(s=i.dateAdd(s,{...md,months:1}),s=Au(s,-1));const c=i.dateAdd(s,r,o);return lc(wu(i,c),a)}function mu(e,t,n){return dc(vu(t,e?Hu(n):n)[0])}function yu(e,t,n,r,o){const a=Lu(r,5);let i=n.epochNanoseconds;if(Pu(r)){const s=bg(n,e);i=ns(su(e,{...pu(t,s,{...r,...yd},o),...vi(pd,s)}),a)}else i=ns(i,a),xs(o);return{epochNanoseconds:ys(i)}}function Su(e,t,n,r){const[o,a]=vu(t,n);return ms({...pu(e,t,{...n,...yd,days:n.days+a},r),...o})}function pu(e,t,n,r){if(n.years||n.months||n.weeks)return e.dateAdd(t,n,r);xs(r);const o=n.days+Lu(n,5)[0];return o?gs(Au(t,o)):t}function wu(e,t){return Au(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function vu(e,t){const[n,r]=Lu(t,5),[o,a]=ps(Ss(e)+r);return[o,n+a]}function Au(e,t){return t?{...e,...Cs(As(e)+t*Of)}:e}function bu(e,t,n){const r=e(n.calendar);return Eu(n)?[n,r,t(n.timeZone)]:[{...n,...Id},r]}function Tu(e){return e?yc:bs}function Iu(e){return e?Mi(yu,e):Su}function Mu(e){return e?Mi(Ah,e):bh}function Eu(e){return e&&e.epochNanoseconds}function Ou(e,t){return e<=6-(Eu(t)?1:0)}function Cu(e,t,n,r,o,a,i){const s=e(ec(i).relativeTo),c=Math.max(Bu(o),Bu(a));if(Ou(c,s))return gc(_u(((e,t,n,r)=>{const o=ns(Lu(e),Lu(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(lf);return{...md,...Ru(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(gf);r&&(a=Hu(a));const[u,h,l]=bu(t,n,s),f=Iu(l),d=Mu(l),g=f(h,u,o);return gc(d(h,u,f(h,g,a),c))}function Nu(e){return gc(Hu(e))}function Hu(e){const t={};for(const n of ud)t[n]=-1*e[n]||0;return t}function Du(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ud,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(df);n=t}}return n}function _u(e){for(const t of dd)ci(t,e[t],-Tg,Tg,1);return ku(hs(Lu(e),Df)),e}function ku(e){if(!Number.isSafeInteger(e))throw new RangeError(ff)}function Lu(e){return Pi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,ud)}function Ru(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=Bi(r,t,ud);if(o[ud[t]]+=n*(Lf/Rf[t]),!Number.isFinite(o[ud[t]]))throw new RangeError(lf);return o}function Yu(e){return Bi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,ud)}function Pu(e){return Boolean(Du(e,fd))}function Bu(e){let t=9;for(;t>0&&!e[ud[t]];t--);return t}function ju(e,t){return[e,t]}function Fu(e){const t=Math.floor(e/pg)*pg;return[t,t+pg]}function Uu(e){const t=qu(e);if(void 0===t)throw new RangeError(pf(e));return t}function xu(e){const t=Gu(ad(e));if(!t||t.m)throw new RangeError(pf(e));return hc(t.p?Vu(t):zu(t))}function Zu(e){if(e.calendar!==ed)throw new RangeError(wf(e.calendar))}function $u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=ah(e.timeZone),a=Ig(o);return cc(iu(a,Ps(e),t,n,r,!a.v,e.m),o,Zh(e.calendar))}function Vu(e){return Ku(ms(Ps(e)))}function zu(e){return Ku(gs(Bs(e)))}function Ku(e){return{...e,calendar:Zh(e.calendar)}}function Gu(e){const t=Pg.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:Xu(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Qu(e.slice(5)),...eh(e[16]),p:Boolean(e[6]),m:n,offset:n?void 0:t}})(t):void 0}function Ju(e){const t=Rg.exec(e);return t?(e=>({isoYear:Xu(e),isoMonth:parseInt(e[4]),isoDay:1,...eh(e[5])}))(t):void 0}function Wu(e){const t=Yg.exec(e);return t?(e=>({isoYear:Rd,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...eh(e[3])}))(t):void 0}function qu(e,t){const n=jg.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(wf(n));return cu((oh(e[2])*kf+oh(e[3])*_f+oh(e[4])*Df+th(e[5]||""))*rh(e[1]))})(n,t):void 0}function Xu(e){const t=rh(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(wf(-0));return t*n}function Qu(e){const t=oh(e[3]);return{...ps(th(e[4]||""))[0],isoHour:oh(e[1]),isoMinute:oh(e[2]),isoSecond:60===t?59:t}}function eh(e){let t,n;const r=[];if(e.replace(Fg,((e,o,a)=>{const i=Boolean(o),[s,c]=a.split("=").reverse();if(c){if("u-ca"===c)r.push(s),t||(t=i);else if(i||/[A-Z]/.test(c))throw new RangeError(wf(e))}else{if(n)throw new RangeError(wf(e));n=s}return""})),r.length>1&&t)throw new RangeError(wf(e));return{timeZone:n,calendar:r[0]||ed}}function th(e){return parseInt(e.padEnd(9,"0"))}function nh(e){return new RegExp(`^${e}$`,"i")}function rh(e){return e&&"+"!==e?-1:1}function oh(e){return void 0===e?0:parseInt(e)}function ah(e){const t=sh(e);return"number"==typeof t?Qc(t):t?(e=>{if(Zg.test(e))throw new RangeError(af);return e.toLowerCase().split("/").map(((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,((e,n)=>e.length<=2&&!t||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!n?Ei(e).replace(/island|noronha|murdo|rivadavia|urville/,Ei):e)))).join("/")})(e):Sg}function ih(e){const t=sh(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:Sg}function sh(e){const t=qu(e=e.toUpperCase(),1);return void 0!==t?t:e!==Sg?xg(e):void 0}function ch(e,t){return as(e.epochNanoseconds,t.epochNanoseconds)}function uh(e,t){return as(e.epochNanoseconds,t.epochNanoseconds)}function hh(e,t){return lh(e,t)||fh(e,t)}function lh(e,t){return Ni(As(e),As(t))}function fh(e,t){return Ni(Ss(e),Ss(t))}function dh(e,t){if(e===t)return 1;const n=Sc(e),r=Sc(t);if(n===r)return 1;try{return ih(n)===ih(r)}catch(e){}}function gh(e,t,n,r){const o=Vs(e,nc(r),3,5),a=Mh(t.epochNanoseconds,n.epochNanoseconds,...o);return gc(e?Hu(a):a)}function mh(e,t,n,r,o,a){const i=Hh(r.calendar,o.calendar),s=nc(a),[c,u,h,l]=Vs(n,s,5),f=r.epochNanoseconds,d=o.epochNanoseconds,g=as(d,f);let m;if(g)if(c<6)m=Mh(f,d,c,u,h,l);else{const n=t(((e,t)=>{if(!dh(e,t))throw new RangeError(of);return e})(r.timeZone,o.timeZone)),a=e(i);m=Th(a,n,r,o,g,c,s),m=Hc(m,d,c,u,h,l,a,r,yc,Mi(yu,n))}else m=md;return gc(n?Hu(m):m)}function yh(e,t,n,r,o){const a=Hh(n.calendar,r.calendar),i=nc(o),[s,c,u,h]=Vs(t,i,6),l=bs(n),f=bs(r),d=as(f,l);let g;if(d)if(s<=6)g=Mh(l,f,s,c,u,h);else{const t=e(a);g=Ih(t,n,r,d,s,i),g=Hc(g,f,s,c,u,h,t,n,bs,Su)}else g=md;return gc(t?Hu(g):g)}function Sh(e,t,n,r,o){const a=Hh(n.calendar,r.calendar),i=nc(o);return wh(t,(()=>e(a)),n,r,...Vs(t,i,6,9,6),i)}function ph(e,t,n,r,o){const a=Hh(n.calendar,r.calendar),i=nc(o),s=Vs(t,i,9,9,8),c=e(a);return wh(t,(()=>c),wu(c,n),wu(c,r),...s,i)}function wh(e,t,n,r,o,a,i,s,c){const u=bs(n),h=bs(r);let l;if(as(h,u))if(6===o)l=Mh(u,h,o,a,i,s);else{const e=t();l=e.dateUntil(n,r,o,c),6===a&&1===i||(l=Hc(l,h,o,a,i,s,e,n,bs,pu))}else l=md;return gc(e?Hu(l):l)}function vh(e,t,n,r){const o=nc(r),[a,i,s,c]=Vs(e,o,5,5),u=kc(Nh(t,n),Ec(i,s),c),h={...md,...Yu(u,a)};return gc(e?Hu(h):h)}function Ah(e,t,n,r,o,a){const i=as(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?Eh(n.epochNanoseconds,r.epochNanoseconds,o):Th(t,e,n,r,i,o,a):md}function bh(e,t,n,r,o){const a=bs(t),i=bs(n),s=as(i,a);return s?r<=6?Eh(a,i,r):Ih(e,t,n,s,r,o):md}function Th(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...Au(s,u++*-r),...i},f=su(e,l),as(c,f)===-r}const a=bg(t,e),i=vi(pd,a),s=bg(n,e),c=n.epochNanoseconds;let u=0;const h=Nh(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(tf);const d=hs(os(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...md,days:Oh(h,l)}):e.dateUntil(s,c,a,i),...Yu(u)}}function Ih(e,t,n,r,o,a){const[i,s,c]=((e,t,n)=>{let r=t,o=Nh(e,t);return Math.sign(o)===-n&&(r=Au(t,-n),o+=Lf*n),[e,r,o]})(t,n,r);return{...e.dateUntil(i,s,o,a),...Yu(c)}}function Mh(e,t,n,r,o,a){return{...md,...Ru(Dc(os(e,t),r,o,a),n)}}function Eh(e,t,n){return{...md,...Ru(os(e,t),n)}}function Oh(e,t){return Ch(As(e),As(t))}function Ch(e,t){return Math.trunc((t-e)/Of)}function Nh(e,t){return Ss(t)-Ss(e)}function Hh(e,t){if(!pc(e,t))throw new RangeError(nf);return e}function Dh(e){function t(e){return((e,t)=>({...Lh(e,t),F:e.month,day:parseInt(e.day)}))(fs(n,e),r)}const n=Vg(e),r=$h(e);return{id:e,O:_h(t),B:kh(t)}}function _h(e){return li((t=>{const n=As(t);return e(n)}),WeakMap)}function kh(e){const t=e(0).year-Ld;return li((n=>{let r,o=Ms(n-t);const a=[],i=[];do{o+=400*Of}while((r=e(o)).year<=n);do{o+=(1-r.day)*Of,r.year===n&&(a.push(o),i.push(r.F)),o-=Of}while((r=e(o)).year>=n);return{k:a.reverse(),C:bf(i.reverse())}}))}function Lh(e,t){let n,r,o=Rh(e);if(e.era){const a=rd[t];void 0!==a&&(n="islamic"===t?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===n||"b"===n?n="bce":"ad"!==n&&"a"!==n||(n="ce"),r=o,o=qh(r,a[n]||0))}return{era:n,eraYear:r,year:o}}function Rh(e){return parseInt(e.relatedYear||e.year)}function Yh(e){const{year:t,F:n,day:r}=this.O(e),{C:o}=this.B(t);return[t,o[n]+1,r]}function Ph(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.B(e).k[t-1]+(n-1)*Of}function Bh(e){const t=xh(this,e),n=xh(this,e-1),r=t.length;if(r>n.length){const e=Qh(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function jh(e){return Ch(Ph.call(this,e),Ph.call(this,e+1))}function Fh(e,t){const{k:n}=this.B(e);let r=t+1,o=n;return r>n.length&&(r=1,o=this.B(e+1).k),Ch(n[t-1],o[r-1])}function Uh(e){return this.B(e).k.length}function xh(e,t){return Object.keys(e.B(t).C)}function Zh(e){if((e=e.toLowerCase())!==ed&&e!==td&&$h(e)!==$h(Vg(e).resolvedOptions().calendar))throw new RangeError(rf(e));return e}function $h(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Vh(e){return this.R(e)[0]}function zh(e){return this.R(e)[1]}function Kh(e){const[t]=this.h(e);return Ch(this.q(t),As(e))+1}function Gh(e){const t=zg.exec(e);if(!t)throw new RangeError(Wl(e));return[parseInt(t[1]),Boolean(t[2])]}function Jh(e,t,n){return e+(t||n&&e>=n?1:0)}function Wh(e,t){return e-(t&&e>=t?1:0)}function qh(e,t){return(t+e)*(Math.sign(t)||1)||0}function Xh(e){return rd[el(e)]}function Qh(e){return od[el(e)]}function el(e){return $h(e.id||ed)}function tl(e,t,n,r){const o=al(n,r,Wf,[],Uf);if(void 0!==o.timeZone){const r=n.dateFromFields(o),a=sl(o),i=e(o.timeZone);return{epochNanoseconds:iu(t(i),{...r,...a},void 0!==o.offset?Uu(o.offset):void 0),timeZone:i}}return{...n.dateFromFields(o),...Id}}function nl(e,t,n){const r=al(e,t,Wf,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.dateFromFields(r,n)}function rl(e,t,n,r){const o=al(e,t,Gf,r);return e.yearMonthFromFields(o,n)}function ol(e,t,n,r){const o=al(e,n,Wf,arguments.length>4&&void 0!==arguments[4]?arguments[4]:[]);return t&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=Rd),e.monthDayFromFields(o,r)}function al(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return il(t,[...e.fields(n),...o].sort(),r)}function il(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!n;const o={};let a,i=0;for(const r of t){if(r===a)throw new RangeError(Ul(r));if("constructor"===r||"__proto__"===r)throw new RangeError(Fl(r));let t=e[r];if(void 0!==t)i=1,Wg[r]&&(t=Wg[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(jl(r));o[r]=Qf[r]}a=r}if(r&&!i)throw new TypeError(xl(t));return o}function sl(e,t){return Us(qg({...Qf,...e}),t)}function cl(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];const i=[...e.fields(r),...o].sort();let s=il(t,i,a);const c=il(n,i);return s=e.mergeFields(s,c),il(s,i,[])}function ul(e,t){const n=al(e,t,Xf);return e.monthDayFromFields(n)}function hl(e,t,n){const r=al(e,t,Jf);return e.yearMonthFromFields(r,n)}function ll(e,t,n,r,o){t=vi(n=e.fields(n),t),r=il(r,o=e.fields(o),[]);let a=e.mergeFields(t,r);return a=il(a,[...n,...o].sort(),[]),e.dateFromFields(a)}function fl(e,t){let{era:n,eraYear:r,year:o}=t;const a=Xh(e);if(void 0!==n||void 0!==r){if(void 0===n||void 0===r)throw new TypeError(zl);if(!a)throw new RangeError(Vl);const e=a[n];if(void 0===e)throw new RangeError(Gl(n));const t=qh(r,e);if(void 0!==o&&o!==t)throw new RangeError(Kl);o=t}else if(void 0===o)throw new TypeError(Jl(a));return o}function dl(e,t,n,r){let{month:o,monthCode:a}=t;if(void 0!==a){const t=((e,t,n,r)=>{const o=e.U(n),[a,i]=Gh(t);let s=Jh(a,i,o);if(i){const t=Qh(e);if(void 0===t)throw new RangeError(ef);if(t>0){if(s>t)throw new RangeError(ef);if(void 0===o){if(1===r)throw new RangeError(ef);s--}}else{if(s!==-t)throw new RangeError(ef);if(void 0===o&&1===r)throw new RangeError(ef)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(ql);o=t,r=1}else if(void 0===o)throw new TypeError(Xl);return ci("month",o,1,e.L(n),r)}function gl(e,t,n,r,o){return si(t,"day",1,e.j(r,n),o)}function ml(e,t,n,r){let o=0;const a=[];for(const e of n)void 0!==t[e]?o=1:a.push(e);if(Object.assign(e,t),o)for(const t of r||a)delete e[t]}function yl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ed;return cc(e.epochNanoseconds,t,n)}function Sl(e,t){return uc(bg(t,e))}function pl(e,t){return hc(bg(t,e))}function wl(e,t){return dc(bg(t,e))}function vl(e,t){return{...e,calendar:t}}function Al(e,t){if(e===t)return e;const n=Sc(e),r=Sc(t);if(n===r||n===ed)return t;if(r===ed)return e;throw new RangeError(nf)}function bl(e,t){return n=>n===ed?e:n===td||n===nd?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),$g(n))}function Tl(e,t,n){const r=new Set(n);return o=>(((e,t)=>{for(const n of t)if(n in e)return 1;return 0})(o=Ai(r,o),e)||Object.assign(o,t),n&&(o.timeZone=Sg,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function Il(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ml;const[n,,,r]=e;return function(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Em;for(var i=arguments.length,s=new Array(i>2?i-2:0),c=2;c<i;c++)s[c-2]=arguments[c];const u=t(r&&r(...s),o,a,n),h=u.resolvedOptions();return[u,...El(e,h,s)]}}function Ml(e,t,n,r){if(n=r(n),e){if(void 0!==n.timeZone)throw new TypeError(Af);n.timeZone=e}return new Ed(t,n)}function El(e,t,n){const[,r,o]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==ed)&&e!==t)throw new RangeError(nf)})(Sc(e.calendar),t.calendar,o),r(e,t))))}function Ol(e){const t=Cl();return Os(t,e.getOffsetNanosecondsFor(t))}function Cl(){return cs(Date.now(),Hf)}function Nl(){return Lm||(Lm=(new Ed).resolvedOptions().timeZone)}(function(e,t){var n,r,o,a,i,s=e.target,c=e.global,u=e.stat;if(n=c?Aa:u?Aa[s]||Ma(s,{}):Aa[s]&&Aa[s].prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=ba(n,r))&&i.value:n[r],!Oa(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ea(a,o)}(e.sham||o&&o.sham)&&Ta(a,"sham",!0),Ia(n,r,a,e)}})({target:"Array",proto:!0,forced:$e((function(){return!Array(1).includes()}))},{includes:function(e){return ai(this,e,arguments.length>1?arguments[1]:void 0)}}),ii("includes");const Hl=(e,t)=>`Non-integer ${e}: ${t}`,Dl=(e,t)=>`Non-positive ${e}: ${t}`,_l=(e,t)=>`Non-finite ${e}: ${t}`,kl=e=>`Cannot convert bigint to ${e}`,Ll=e=>`Invalid bigint: ${e}`,Rl="Cannot convert Symbol to string",Yl="Invalid object",Pl=(e,t,n,r,o)=>o?Pl(e,o[t],o[n],o[r]):Bl(e,t)+`; must be between ${n}-${r}`,Bl=(e,t)=>`Invalid ${e}: ${t}`,jl=e=>`Missing ${e}`,Fl=e=>`Invalid field ${e}`,Ul=e=>`Duplicate field ${e}`,xl=e=>"No valid fields: "+e.join(),Zl=(e,t,n)=>Bl(e,t)+"; must be "+Object.keys(n).join(),$l="Invalid calling context",Vl="Forbidden era/eraYear",zl="Mismatching era/eraYear",Kl="Mismatching year/eraYear",Gl=e=>`Invalid era: ${e}`,Jl=e=>"Missing year"+(e?"/era/eraYear":""),Wl=e=>`Invalid monthCode: ${e}`,ql="Mismatching month/monthCode",Xl="Missing month/monthCode",Ql="Cannot guess year",ef="Invalid leap month",tf="Invalid protocol results",nf="Mismatching Calendars",rf=e=>`Invalid Calendar: ${e}`,of="Mismatching TimeZones",af="Forbidden ICU TimeZone",sf="Out-of-bounds offset",cf="Out-of-bounds TimeZone gap",uf="Invalid TimeZone offset",hf="Ambiguous offset",lf="Out-of-bounds date",ff="Out-of-bounds duration",df="Cannot mix duration signs",gf="Missing relativeTo",mf="Cannot use large units",yf="Required smallestUnit or largestUnit",Sf="smallestUnit > largestUnit",pf=e=>`Cannot parse: ${e}`,wf=e=>`Invalid substring: ${e}`,vf=e=>`Cannot format ${e}`,Af="Cannot specify TimeZone",bf=Mi(pi,((e,t)=>t)),Tf=Mi(pi,((e,t,n)=>n)),If=Mi(Ci,2),Mf={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},Ef=Object.keys(Mf),Of=864e5,Cf=1e3,Nf=1e3,Hf=1e6,Df=1e9,_f=6e10,kf=36e11,Lf=864e11,Rf=[1,Nf,Hf,Df,_f,kf,Lf],Yf=Ef.slice(0,6),Pf=Oi(Yf),Bf=["offset"],jf=["timeZone"],Ff=Yf.concat(Bf),Uf=Ff.concat(jf),xf=["era","eraYear"],Zf=xf.concat(["year"]),$f=["year"],Vf=["monthCode"],zf=["month"].concat(Vf),Kf=["day"],Gf=zf.concat($f),Jf=Vf.concat($f),Wf=Kf.concat(Gf),qf=Kf.concat(zf),Xf=Kf.concat(Vf),Qf=Tf(Yf,0),ed="iso8601",td="gregory",nd="japanese",rd={[td]:{bce:-1,ce:0},[nd]:{bce:-1,ce:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethioaa:{era0:0},ethiopic:{era0:0,era1:5500},coptic:{era0:-1,era1:0},roc:{beforeroc:-1,minguo:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},od={chinese:13,dangi:13,hebrew:-6},ad=Mi(Vi,"string"),id=Mi(Vi,"boolean"),sd=Mi(Vi,"number"),cd=Mi(Vi,"function"),ud=Ef.map((e=>e+"s")),hd=Oi(ud),ld=ud.slice(0,6),fd=ud.slice(6),dd=fd.slice(1),gd=bf(ud),md=Tf(ud,0),yd=Tf(ld,0),Sd=Mi(Ii,ud),pd=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],wd=["isoDay","isoMonth","isoYear"],vd=pd.concat(wd),Ad=Oi(wd),bd=Oi(pd),Td=Oi(vd),Id=Tf(bd,0),Md=Mi(Ii,vd),Ed=Intl.DateTimeFormat,Od="en-GB",Cd=1e8,Nd=Cd*Of,Hd=[Cd,0],Dd=[-Cd,0],_d=275760,kd=-271821,Ld=1970,Rd=1972,Yd=12,Pd=Ms(1868,9,8),Bd=li(Ys,WeakMap),jd="smallestUnit",Fd="unit",Ud="roundingIncrement",xd="fractionalSecondDigits",Zd="relativeTo",$d={constrain:0,reject:1},Vd=Object.keys($d),zd={compatible:0,reject:1,earlier:2,later:3},Kd={reject:0,use:1,prefer:2,ignore:3},Gd={auto:0,never:1,critical:2,always:3},Jd={auto:0,never:1,critical:2},Wd={auto:0,never:1},qd={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Xd=Mi(oc,jd),Qd=Mi(oc,"largestUnit"),eg=Mi(oc,Fd),tg=Mi(ac,"overflow",$d),ng=Mi(ac,"disambiguation",zd),rg=Mi(ac,"offset",Kd),og=Mi(ac,"calendarName",Gd),ag=Mi(ac,"timeZoneName",Jd),ig=Mi(ac,"offset",Wd),sg=Mi(ac,"roundingMode",qd),cg="PlainYearMonth",ug="PlainMonthDay",hg="PlainDate",lg="PlainDateTime",fg="PlainTime",dg="ZonedDateTime",gg="Instant",mg="Duration",yg=[Math.floor,e=>Yi(e)?Math.floor(e):Math.round(e),Math.ceil,e=>Yi(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>Yi(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>Yi(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],Sg="UTC",pg=5184e3,wg=Is(1847),vg=Is((new Date).getUTCFullYear()+10),Ag=/0+$/,bg=li(au,WeakMap),Tg=2**32-1,Ig=li((e=>{const t=sh(e);return"object"==typeof t?new Eg(t):new Mg(t||0)}));class Mg{constructor(e){this.v=e}getOffsetNanosecondsFor(){return this.v}getPossibleInstantsFor(e){return[Ts(e,this.v)]}l(){}}class Eg{constructor(e){this.$=(e=>{function t(e){const t=Hi(e,a,i),[s,c]=Fu(t),u=r(s),h=r(c);return u===h?u:n(o(s,c),u,h,e)}function n(t,n,r,o){let a,i;for(;(void 0===o||void 0===(a=o<t[0]?n:o>=t[1]?r:void 0))&&(i=t[1]-t[0]);){const n=t[0]+Math.floor(i/2);e(n)===r?t[1]=n:t[0]=n+1}return a}const r=li(e),o=li(ju);let a=wg,i=vg;return{G(e){const n=t(e-86400),r=t(e+86400),o=e-n,a=e-r;if(n===r)return[o];const i=t(o);return i===t(a)?[e-i]:n>r?[o,a]:[]},V:t,l(e,t){const s=Hi(e,a,i);let[c,u]=Fu(s);const h=pg*t,l=t<0?()=>u>a||(a=s,0):()=>c<i||(i=s,0);for(;l();){const a=r(c),i=r(u);if(a!==i){const r=o(c,u);n(r,a,i);const s=r[0];if((Ni(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=fs(e,t*Cf);return Is(Rh(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}getOffsetNanosecondsFor(e){return this.$.V(ws(e))*Df}getPossibleInstantsFor(e){const[t,n]=[Is((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*Hf+r.isoMicrosecond*Nf+r.isoNanosecond];var r;return this.$.G(t).map((e=>ys(rs(cs(e,Df),n))))}l(e,t){const[n,r]=vs(e),o=this.$.l(n+(t>0||r?1:0),t);if(void 0!==o)return cs(o,Df)}}const Og="([+−-])",Cg="(?:[.,](\\d{1,9}))?",Ng=`(?:(?:${Og}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Hg="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Cg+")?)?",Dg=Og+Hg,_g=Ng+"-?(\\d{2})(?:[T ]"+Hg+"(Z|"+Dg+")?)?",kg="\\[(!?)([^\\]]*)\\]",Lg=`((?:${kg}){0,9})`,Rg=nh(Ng+Lg),Yg=nh("(?:--)?(\\d{2})-?(\\d{2})"+Lg),Pg=nh(_g+Lg),Bg=nh("T?"+Hg+"(?:"+Dg+")?"+Lg),jg=nh(Dg),Fg=new RegExp(kg,"g"),Ug=nh(`${Og}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Cg}H)?(?:(\\d+)${Cg}M)?(?:(\\d+)${Cg}S)?)?`),xg=li((e=>new Ed(Od,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),Zg=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,$g=li(Dh),Vg=li((e=>new Ed(Od,{calendar:e,timeZone:Sg,era:"short",year:"numeric",month:"short",day:"numeric"}))),zg=/^M(\d{2})(L?)$/,Kg={era:Ji,eraYear:Xi,year:Xi,month:es,monthCode:Ji,day:es},Gg=Tf(Yf,Xi),Jg=Tf(ud,Qi),Wg=Object.assign({},Kg,Gg,Jg,{offset:Ji}),qg=Mi(wi,Yf,pd),Xg={dateAdd(e,t,n){const r=xs(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Lu(t,5)[0],a||i)o=((e,t,n,r,o)=>{let[a,i,s]=e.h(t);if(n){const[t,r]=e.I(a,i);a+=n,i=Jh(t,r,e.U(a)),i=ci("month",i,1,e.L(a),o)}return r&&([a,i]=e._(a,i,r)),s=ci("day",s,1,e.j(a,i),o),e.q(a,i,s)})(this,e,a,i,r);else{if(!s&&!c)return e;o=As(e)}return o+=(7*s+c)*Of,gs(Cs(o))},dateUntil(e,t,n){if(n<=7){let r=0,o=Oh({...e,...Id},{...t,...Id});return 7===n&&([r,o]=ki(o,7)),{...md,weeks:r,days:o}}const r=this.h(e),o=this.h(t);let[a,i,s]=((e,t,n,r,o,a,i)=>{let s=o-t,c=a-n,u=i-r;if(s||c){const h=Math.sign(s||c);let l=e.j(o,a),f=0;if(Math.sign(u)===-h){const r=l;[o,a]=e._(o,a,-h),s=o-t,c=a-n,l=e.j(o,a),f=h<0?-r:l}if(u=i-Math.min(r,l)+f,s){const[r,i]=e.I(t,n),[u,l]=e.I(o,a);if(c=u-r||Number(l)-Number(i),Math.sign(c)===-h){const n=h<0&&-e.L(o);s=(o-=h)-t,c=a-Jh(r,i,e.U(o))+(n||e.L(o))}}}return[s,c,u]})(this,...r,...o);return 8===n&&(i+=this.J(a,r[0]),a=0),{...md,years:a,months:i,days:s}},dateFromFields(e,t){const n=xs(t),r=fl(this,e),o=dl(this,e,r,n),a=gl(this,e,o,r,n);return hc(gs(this.P(r,o,a)),this.id||ed)},yearMonthFromFields(e,t){const n=xs(t),r=fl(this,e),o=dl(this,e,r,n);return lc(ds(this.P(r,o,1)),this.id||ed)},monthDayFromFields(e,t){const n=xs(t),r=!this.id,{monthCode:o,year:a,month:i}=e;let s,c,u,h,l;if(void 0!==o){[s,c]=Gh(o),l=ui(e,"day");const t=this.N(s,c,l);if(!t)throw new RangeError(Ql);if([u,h]=t,void 0!==i&&i!==h)throw new RangeError(ql);r&&(h=ci("month",h,1,Yd,1),l=ci("day",l,1,Ds(void 0!==a?a:u,h),n))}else{u=void 0===a&&r?Rd:fl(this,e),h=dl(this,e,u,n),l=gl(this,e,h,u,n);const t=this.U(u);c=h===t,s=Wh(h,t);const o=this.N(s,c,l);if(!o)throw new RangeError(Ql);[u,h]=o}return fc(gs(this.P(u,h,l)),this.id||ed)},fields(e){return Xh(this)&&e.includes("year")?[...e,...xf]:e},mergeFields(e,t){const n=Object.assign(Object.create(null),e);return ml(n,t,zf),Xh(this)&&(ml(n,t,Zf),this.id===nd&&ml(n,t,qf,xf)),n},inLeapYear(e){const[t]=this.h(e);return this.K(t)},monthsInYear(e){const[t]=this.h(e);return this.L(t)},daysInMonth(e){const[t,n]=this.h(e);return this.j(t,n)},daysInYear(e){const[t]=this.h(e);return this.X(t)},dayOfYear:Kh,era(e){return this.ee(e)[0]},eraYear(e){return this.ee(e)[1]},monthCode(e){const[t,n]=this.h(e),[r,o]=this.I(t,n);return((e,t)=>"M"+If(e)+(t?"L":""))(r,o)},dayOfWeek:Ls,daysInWeek:()=>7},Qg={dayOfYear:Kh,h:Ns,q:Ms},em=Object.assign({},Qg,{weekOfYear:Vh,yearOfWeek:zh,R(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=_s(f+e),r=e||1,o=t(_i(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=Ls(e),a=this.dayOfYear(e),i=_i(o-1,7),s=a-1,c=_i(i-s,7),u=t(c);let h,l=Math.floor((s-u)/7)+1,f=e.isoYear;return l?l>n(0)&&(l=1,f++):(l=n(-1),f--),[l,f,h]}}),tm={dayOfYear:Kh,h:Yh,q:Ph,weekOfYear:Vh,yearOfWeek:zh,R:()=>[]},nm=bl(Object.assign({},Xg,em,{h:Ns,ee(e){return this.id===td?Rs(e):this.id===nd?Bd(e):[]},I:(e,t)=>[t,0],N(e,t){if(!t)return[Rd,e]},K:ks,U(){},L:Hs,J:e=>e*Yd,j:Ds,X:_s,P:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),q:Ms,_:(e,t,n)=>(e+=Li(n,Yd),(t+=Ri(n,Yd))<1?(e--,t+=Yd):t>Yd&&(e++,t-=Yd),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Object.assign({},Xg,tm,{h:Yh,ee(e){const t=this.O(e);return[t.era,t.eraYear]},I(e,t){const n=Bh.call(this,e);return[Wh(t,n),n===t]},N(e,t,n){let[r,o,a]=Yh.call(this,{isoYear:Rd,isoMonth:Yd,isoDay:31});const i=Bh.call(this,r),s=o===i;1===(Ni(e,Wh(o,i))||Ni(Number(t),Number(s))||Ni(n,a))&&r--;for(let o=0;o<100;o++){const a=r-o,i=Bh.call(this,a),s=Jh(e,t,i);if(t===(s===i)&&n<=Fh.call(this,a,s))return[a,s]}},K(e){const t=jh.call(this,e);return t>jh.call(this,e-1)&&t>jh.call(this,e+1)},U:Bh,L:Uh,J(e,t){const n=t+e,r=Math.sign(e),o=r<0?-1:0;let a=0;for(let e=t;e!==n;e+=r)a+=Uh.call(this,e+o);return a},j:Fh,X:jh,P(e,t,n){return Cs(Ph.call(this,e,t,n))},q:Ph,_(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(lf);if(n<0)for(;t<1;)t+=Uh.call(this,--e);else{let n;for(;t>(n=Uh.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.O(e).year},month(e){const{year:t,F:n}=this.O(e),{C:r}=this.B(t);return r[n]+1},day(e){return this.O(e).day}})),rm="numeric",om=["timeZoneName"],am={month:rm,day:rm},im={year:rm,month:rm},sm=Object.assign({},im,{day:rm}),cm={hour:rm,minute:rm,second:rm},um=Object.assign({},sm,cm),hm=Object.assign({},um,{timeZoneName:"short"}),lm=Object.keys(im),fm=Object.keys(am),dm=Object.keys(sm),gm=Object.keys(cm),mm=["dateStyle"],ym=lm.concat(mm),Sm=fm.concat(mm),pm=dm.concat(mm,["weekday"]),wm=gm.concat(["dayPeriod","timeStyle"]),vm=pm.concat(wm),Am=vm.concat(om),bm=om.concat(wm),Tm=om.concat(pm),Im=om.concat(["day","weekday"],wm),Mm=om.concat(["year","weekday"],wm),Em={},Om=[Tl(vm,um),mc],Cm=[Tl(Am,hm),mc,0,(e,t)=>{const n=Sc(e.timeZone);if(t&&Sc(t.timeZone)!==n)throw new RangeError(of);return n}],Nm=[Tl(vm,um,om),As],Hm=[Tl(pm,sm,bm),As],Dm=[Tl(wm,cm,Tm),e=>Ss(e)/Hf],_m=[Tl(ym,im,Im),As,1],km=[Tl(Sm,am,Mm),As,1];let Lm;function Rm(e,t,n,r,o){function a(){if(!(this instanceof a))throw new TypeError($l);Hy(this,t(...arguments))}function i(e,t){return Object.defineProperties((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,s(this),...n)}),fi(t))}function s(t){const n=Ny(t);if(!n||n.branding!==e)throw new TypeError($l);return n}return Object.defineProperties(a.prototype,{...gi(Si(i,n)),...di(Si(i,r)),...mi("Temporal."+e)}),Object.defineProperties(a,{...di(o),...fi(e)}),[a,e=>{const t=Object.create(a.prototype);return Hy(t,e),t},s]}function Ym(e){return e=e.concat("id").sort(),t=>{if(!function(e,t){for(const n of t)if(!(n in e))return 0;return 1}(t,e))throw new TypeError("Invalid protocol");return t}}function Pm(e){if(Ny(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Bm(e,t){const n={};for(const r in e)n[r]=(e,n)=>{let{o:o}=e;const a=Ny(n)||{},{branding:i}=a,s=i===hg||t.includes(i)?a:ey(n);return o[r](s)};return n}function jm(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return(r=t,"string"==typeof r?nm(r):(o=r,Object.assign(Object.create(Yy),{i:o})))[n](e);var r,o};return t}function Fm(){throw new TypeError("Cannot use valueOf")}function Um(e){let{calendar:t}=e;return"string"==typeof t?new LS(t):t}function xm(e,t){if(t=nc(t),hi(e)){const n=Ny(e);if(n&&n.branding===ug)return xs(t),n;const r=iy(e);return ol(bS(r||ed),!r,e,t)}const n=function(e,t){const n=Wu(ad(t));if(n)return Zu(n),fc(Bs(n));const r=xu(t),{calendar:o}=r,a=e(o),[i,s,c]=a.h(r),[u,h]=a.I(i,s),[l,f]=a.N(u,h,c);return fc(gs(a.P(l,f,c)),o)}(nm,e);return xs(t),n}function Zm(e,t,n){return cu(Ui(t.call(e,Ky(sc(n)))))}function $m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$y;const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Mi(t[o],e,cd(e[o]));return r}function Vm(e,t){return"string"==typeof e?Ig(e):$m(e,t)}function zm(e){return Vm(e,Vy)}function Km(e){if(hi(e)){const t=Ny(e);if(t)switch(t.branding){case gg:return t;case dg:return sc(t.epochNanoseconds)}}return function(e){const t=Gu(e=Ji(e));if(!t)throw new RangeError(pf(e));let n;if(t.m)n=0;else{if(!t.offset)throw new RangeError(pf(e));n=Uu(t.offset)}return t.timeZone&&qu(t.timeZone,1),sc(Ts(Ps(t),n))}(e)}function Gm(e,t,n){const r=t.l(Km(n).epochNanoseconds,e);return r?Ky(sc(r)):null}function Jm(e){return hi(e)?(Ny(e)||{}).timeZone||qy(e):(e=>ah(function(e){const t=Gu(e);return t&&(t.timeZone||t.m&&Sg||t.offset)||e}(ad(e))))(e)}function Wm(e,t){if(hi(e)){const n=Ny(e)||{};switch(n.branding){case fg:return xs(t),n;case lg:return xs(t),dc(n);case dg:return xs(t),wl(zm,n)}return function(e,t){const n=xs(t);return dc(sl(il(e,Pf,[],1),n))}(e,t)}return xs(t),function(e){let t,n=(e=>{const t=Bg.exec(e);return t?(eh(t[10]),Qu(t)):void 0})(ad(e));if(!n){if(n=Gu(e),!n)throw new RangeError(pf(e));if(!n.p)throw new RangeError(pf(e));if(n.m)throw new RangeError(wf("Z"));Zu(n)}if((t=Ju(e))&&js(t))throw new RangeError(pf(e));if((t=Wu(e))&&js(t))throw new RangeError(pf(e));return dc(Us(n,1))}(e)}function qm(e){return void 0===e?void 0:Wm(e)}function Xm(e,t){if(t=nc(t),hi(e)){const n=Ny(e);return n&&n.branding===cg?(xs(t),n):rl(vS(ay(e)),e,t)}const n=function(e,t){const n=Ju(ad(t));if(n)return Zu(n),lc(ds(Bs(n)));const r=xu(t);return lc(wu(e(r.calendar),r))}(nm,e);return xs(t),n}function Qm(e,t){if(t=nc(t),hi(e)){const n=Ny(e)||{};switch(n.branding){case lg:return xs(t),n;case hg:return xs(t),uc({...n,...Id});case dg:return xs(t),Sl(zm,n)}return function(e,t,n){const r=al(e,t,Wf,[],Yf),o=xs(n);return uc(ms({...e.dateFromFields(r,rc(n,o)),...sl(r,o)}))}(AS(ay(e)),e,t)}const n=function(e){const t=Gu(ad(e));if(!t||t.m)throw new RangeError(pf(e));return uc(Vu(t))}(e);return xs(t),n}function ey(e,t){if(t=nc(t),hi(e)){const n=Ny(e)||{};switch(n.branding){case hg:return xs(t),n;case lg:return xs(t),hc(n);case dg:return xs(t),pl(zm,n)}return nl(AS(ay(e)),e,t)}const n=xu(e);return xs(t),n}function ty(e,t,n){return Fi(t.call(e,iS(hc(n,e))))}function ny(e){return t=>"string"==typeof t?nm(t):((e,t)=>{const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Mi(t[o],e,e[o]);return r})(t,e)}function ry(e){if(hi(e)){const t=Ny(e);return t&&t.branding===mg?t:function(e){const t=il(e,hd);return gc(_u({...md,...t}))}(e)}return function(e){const t=(e=>{const t=Ug.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=Di(o,Rf[a])),void 0!==e){if(r)throw new RangeError(wf(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(wf(e));return t})(e),n=1,t&&(o=th(t)*(Rf[a]/Df),r=1)}return i+s}let n=0,r=0,o=0,a={...yi(ud,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...Bi(o,2,ud)};if(!n)throw new RangeError(xl(ud));return rh(e[1])<0&&(a=Hu(a)),a})(t):void 0})(ad(e));if(!t)throw new RangeError(pf(e));return gc(_u(t))}(e)}function oy(e){if(void 0!==e){if(hi(e)){const t=Ny(e)||{};switch(t.branding){case dg:case hg:return t;case lg:return hc(t)}const n=ay(e);return{...tl(Jm,Vm,AS(n),e),calendar:n}}return function(e){const t=Gu(ad(e));if(!t)throw new RangeError(pf(e));if(t.timeZone)return $u(t,t.offset?Uu(t.offset):void 0);if(t.m)throw new RangeError(pf(e));return zu(t)}(e)}}function ay(e){return iy(e)||ed}function iy(e){const{calendar:t}=e;if(void 0!==t)return sy(t)}function sy(e){return hi(e)?(Ny(e)||{}).calendar||RS(e):(e=>Zh(function(e){const t=Gu(e)||Ju(e)||Wu(e);return t?t.calendar:e}(ad(e))))(e)}function cy(e,t){if(t=nc(t),hi(e)){const n=Ny(e);if(n&&n.branding===dg)return Zs(t),n;const r=ay(e);return function(e,t,n,r,o,a){const i=al(n,o,Wf,jf,Uf),s=e(i.timeZone),[c,u,h]=Zs(a),l=n.dateFromFields(i,rc(a,c)),f=sl(i,c);return cc(iu(t(s),{...l,...f},void 0!==i.offset?Uu(i.offset):void 0,u,h),s,r)}(Jm,Vm,AS(r),r,e,t)}return function(e,t){const n=Gu(ad(e));if(!n||!n.timeZone)throw new RangeError(pf(e));const{offset:r}=n,o=r?Uu(r):void 0,[,a,i]=Zs(t);return $u(n,o,a,i)}(e,t)}function uy(e){return Si((e=>t=>e(hy(t))),e)}function hy(e){return bg(e,zm)}function ly(){const e=Ed.prototype,t=Object.getOwnPropertyDescriptors(e),n=Object.getOwnPropertyDescriptors(Ed),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof r))return new r(e,t);US.set(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Ed(e,t),r=n.resolvedOptions(),o=r.locale,a=vi(Object.keys(t),r),i=li(gy),s=function(){let e;for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];const c=r.map(((t,n)=>{const r=Ny(t),o=(r||{}).branding;if(n&&e&&e!==o)throw new TypeError("Mismatching types for formatting");return e=o,r}));return e?i(e)(o,a,...c):[n,...r]};return s.u=n,s}(e,t))};for(const e in t){const n=t[e],o=e.startsWith("format")&&fy(e);"function"==typeof n.value?n.value="constructor"===e?r:o||dy(e):o&&(n.get=function(){return o.bind(this)})}return n.prototype.value=Object.create(e,t),Object.defineProperties(r,n),r}function fy(e){return function(){const t=US.get(this),[n,...r]=t(...arguments);return n[e](...r)}}function dy(e){return function(){return US.get(this).u[e](...arguments)}}function gy(e){const t=my[e];if(!t)throw new TypeError(vf(e));return Il(t,li(Ml))}const my={Instant:Om,PlainDateTime:Nm,PlainDate:Hm,PlainTime:Dm,PlainYearMonth:_m,PlainMonthDay:km},yy=Il(Om),Sy=Il(Cm),py=Il(Nm),wy=Il(Hm),vy=Il(Dm),Ay=Il(_m),by=Il(km),Ty={era:function(e){if(void 0!==e)return ad(e)},eraYear:ji,year:Ui,month:Fi,daysInMonth:Fi,daysInYear:Fi,inLeapYear:id,monthsInYear:Fi},Iy={monthCode:ad},My={day:Fi},Ey={dayOfWeek:Fi,dayOfYear:Fi,weekOfYear:function(e){if(void 0!==e)return Fi(e)},yearOfWeek:ji,daysInWeek:Fi},Oy=Object.assign({},Ty,Iy,My,Ey),Cy=new WeakMap,Ny=Cy.get.bind(Cy),Hy=Cy.set.bind(Cy),Dy={...Bm(Ty,[cg]),...Bm(Ey,[]),...Bm(Iy,[cg,ug]),...Bm(My,[ug])},_y=jm(Oy),ky=jm({...Ty,...Iy}),Ly=jm({...Iy,...My}),Ry={calendarId:e=>Sc(e.calendar)},Yy=Si(((e,t)=>function(n){const{i:r}=this;return e(r[t](iS(hc(n,r))))}),Oy),Py=pi((e=>t=>t[e]),ud.concat("sign")),By=pi(((e,t)=>e=>e[pd[t]]),Yf),jy={epochSeconds:function(e){return ws(e.epochNanoseconds)},epochMilliseconds:mc,epochMicroseconds:function(e){return us(e.epochNanoseconds,Nf)},epochNanoseconds:function(e){return us(e.epochNanoseconds)}},Fy=Mi(Ai,new Set(["branding"])),[Uy,xy,Zy]=Rm(ug,Mi((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ed,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Rd;const a=Xi(t),i=Xi(n),s=e(r);return fc(gs(Bs({isoYear:Xi(o),isoMonth:a,isoDay:i})),s)}),sy),{...Ry,...Ly},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return xy(function(e,t,n,r,o){const a=nc(o);return((e,t,n,r)=>{const o=cl(e,t,n,Wf);return e.monthDayFromFields(o,r)})(e(t.calendar),n,r,a)}(MS,e,this,Pm(t),n))},equals:(e,t)=>function(e,t){return!lh(e,t)&&pc(e.calendar,t.calendar)}(e,xm(t)),toPlainDate(e,t){return iS(function(e,t,n,r){return((e,t,n)=>ll(e,t,Xf,$i(n),$f))(e(t.calendar),n,r)}(IS,e,this,t))},toLocaleString(e,t,n){const[r,o]=by(t,n,e);return r.format(o)},toString:Zc,toJSON:e=>Zc(e),valueOf:Fm},{from:(e,t)=>xy(xm(e,t))}),$y={getOffsetNanosecondsFor:Zm,getPossibleInstantsFor(e,t,n){const r=[...t.call(e,oS(uc(n,ed)))].map((e=>Gy(e).epochNanoseconds)),o=r.length;return o>1&&(r.sort(as),uu(hs(os(r[0],r[o-1])))),r}},Vy={getOffsetNanosecondsFor:Zm},[zy,Ky,Gy]=Rm(gg,(function(e){return sc(ys(ss(Wi(e))))}),jy,{add:(e,t)=>Ky(hu(0,e,ry(t))),subtract:(e,t)=>Ky(hu(1,e,ry(t))),until:(e,t,n)=>DS(gh(0,e,Km(t),n)),since:(e,t,n)=>DS(gh(1,e,Km(t),n)),round:(e,t)=>Ky(function(e,t){const[n,r,o]=zs(t,5,1);return sc(Dc(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!ch(e,t)}(e,Km(t)),toZonedDateTime(e,t){const n=$i(t);return PS(yl(e,Jm(n.timeZone),sy(n.calendar)))},toZonedDateTimeISO:(e,t)=>PS(yl(e,Jm(t))),toLocaleString(e,t,n){const[r,o]=yy(t,n,e);return r.format(o)},toString:(e,t)=>Bc(Jm,zm,e,t),toJSON:e=>Bc(Jm,zm,e),valueOf:Fm},{from:e=>Ky(Km(e)),fromEpochSeconds:e=>Ky(function(e){return sc(ys(cs(e,Df)))}(e)),fromEpochMilliseconds:e=>Ky(function(e){return sc(ys(cs(e,Hf)))}(e)),fromEpochMicroseconds:e=>Ky(function(e){return sc(ys(ss(Wi(e),Nf)))}(e)),fromEpochNanoseconds:e=>Ky(function(e){return sc(ys(ss(Wi(e))))}(e)),compare:(e,t)=>ch(Km(e),Km(t))}),[Jy,Wy]=Rm("TimeZone",(e=>{const t=function(e){return ah(ad(e))}(e);return{branding:"TimeZone",id:t,o:Ig(t)}}),{id:e=>e.id},{getPossibleInstantsFor:(e,t)=>{let{o:n}=e;return n.getPossibleInstantsFor(Qm(t)).map((e=>Ky(sc(e))))},getOffsetNanosecondsFor:(e,t)=>{let{o:n}=e;return n.getOffsetNanosecondsFor(Km(t).epochNanoseconds)},getOffsetStringFor(e,t){const n=Km(t).epochNanoseconds;return Qc($m(this,Vy).getOffsetNanosecondsFor(n))},getPlainDateTimeFor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ed;const r=Km(t).epochNanoseconds,o=$m(this,Vy).getOffsetNanosecondsFor(r);return oS(uc(Os(r,o),sy(n)))},getInstantFor(e,t,n){const r=Qm(t),o=$s(n),a=$m(this);return Ky(sc(su(a,r,o)))},getNextTransition:(e,t)=>{let{o:n}=e;return Gm(1,n,t)},getPreviousTransition:(e,t)=>{let{o:n}=e;return Gm(-1,n,t)},equals(e,t){return!!dh(this,Jm(t))},toString:e=>e.id,toJSON:e=>e.id},{from(e){const t=Jm(e);return"string"==typeof t?new Jy(t):t}}),qy=Ym(Object.keys($y)),[Xy,Qy]=Rm(fg,(function(){return dc(Us(Si(Xi,yi(pd,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0])),1))}),By,{getISOFields:Fy,with(e,t,n){return Qy(function(e,t,n){return dc(((e,t,n)=>{const r=xs(n);return sl({...vi(Pf,e),...il(t,Pf)},r)})(e,t,n))}(this,Pm(t),n))},add:(e,t)=>Qy(mu(0,e,ry(t))),subtract:(e,t)=>Qy(mu(1,e,ry(t))),until:(e,t,n)=>DS(vh(0,e,Wm(t),n)),since:(e,t,n)=>DS(vh(1,e,Wm(t),n)),round:(e,t)=>Qy(function(e,t){const[n,r,o]=zs(t,5);var a;return dc((a=o,Ic(e,Ec(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!fh(e,t)}(e,Wm(t)),toZonedDateTime:(e,t)=>PS(function(e,t,n,r,o){const a=$i(o),i=t(a.plainDate),s=e(a.timeZone);return cc(su(n(s),{...i,...r}),s,i.calendar)}(Jm,ey,Vm,e,t)),toPlainDateTime:(e,t)=>oS(function(e,t){return uc(ms({...e,...t}))}(e,ey(t))),toLocaleString(e,t,n){const[r,o]=vy(t,n,e);return r.format(o)},toString:$c,toJSON:e=>$c(e),valueOf:Fm},{from:(e,t)=>Qy(Wm(e,t)),compare:(e,t)=>fh(Wm(e),Wm(t))}),[eS,tS,nS]=Rm(cg,Mi((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ed,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const a=Xi(t),i=Xi(n),s=e(r);return lc(ds(Bs({isoYear:a,isoMonth:i,isoDay:Xi(o)})),s)}),sy),{...Ry,...ky},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return tS(function(e,t,n,r,o){const a=nc(o);return lc(((e,t,n,r)=>{const o=cl(e,t,n,Gf);return e.yearMonthFromFields(o,r)})(e(t.calendar),n,r,a))}(TS,e,this,Pm(t),n))},add:(e,t,n)=>tS(gu(CS,0,e,ry(t),n)),subtract:(e,t,n)=>tS(gu(CS,1,e,ry(t),n)),until:(e,t,n)=>DS(ph(NS,0,e,Xm(t),n)),since:(e,t,n)=>DS(ph(NS,1,e,Xm(t),n)),equals:(e,t)=>function(e,t){return!lh(e,t)&&pc(e.calendar,t.calendar)}(e,Xm(t)),toPlainDate(e,t){return iS(function(e,t,n,r){return((e,t,n)=>ll(e,t,Jf,$i(n),Kf))(e(t.calendar),n,r)}(IS,e,this,t))},toLocaleString(e,t,n){const[r,o]=Ay(t,n,e);return r.format(o)},toString:xc,toJSON:e=>xc(e),valueOf:Fm},{from:(e,t)=>tS(Xm(e,t)),compare:(e,t)=>lh(Xm(e),Xm(t))}),[rS,oS]=Rm(lg,Mi((function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:ed;return uc(ms(Ps(Si(Xi,yi(vd,[t,n,r,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0])))),e(o))}),sy),{...Ry,..._y,...By},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return oS(function(e,t,n,r,o){const a=nc(o);return uc(((e,t,n,r)=>{const o=cl(e,t,n,Wf,Yf),a=xs(r);return ms({...e.dateFromFields(o,rc(r,a)),...sl(o,a)})})(e(t.calendar),n,r,a))}(IS,e,this,Pm(t),n))},withCalendar:(e,t)=>oS(vl(e,sy(t))),withPlainDate:(e,t)=>oS(function(e,t){return uc({...e,...t},Al(e.calendar,t.calendar))}(e,ey(t))),withPlainTime:(e,t)=>oS(function(e){return uc({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Id})}(e,qm(t))),add:(e,t,n)=>oS(fu(ES,0,e,ry(t),n)),subtract:(e,t,n)=>oS(fu(ES,1,e,ry(t),n)),until:(e,t,n)=>DS(yh(OS,0,e,Qm(t),n)),since:(e,t,n)=>DS(yh(OS,1,e,Qm(t),n)),round:(e,t)=>oS(function(e,t){return uc(bc(e,...zs(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!hh(e,t)&&pc(e.calendar,t.calendar)}(e,Qm(t)),toZonedDateTime:(e,t,n)=>PS(function(e,t,n,r){const o=((e,t,n,r)=>{const o=$s(r);return su(e(t),n,o)})(e,n,t,r);return cc(ys(o),n,t.calendar)}(Vm,e,Jm(t),n)),toPlainDate:e=>iS(hc(e)),toPlainTime:e=>Qy(dc(e)),toPlainYearMonth(e){return tS(function(e,t,n){const r=e(t.calendar);return lc({...t,...hl(r,n)})}(vS,e,this))},toPlainMonthDay(e){return xy(function(e,t,n){return ul(e(t.calendar),n)}(bS,e,this))},toLocaleString(e,t,n){const[r,o]=py(t,n,e);return r.format(o)},toString:Fc,toJSON:e=>Fc(e),valueOf:Fm},{from:(e,t)=>oS(Qm(e,t)),compare:(e,t)=>hh(Qm(e),Qm(t))}),[aS,iS,sS]=Rm(hg,Mi((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ed;return hc(gs(Bs(Si(Xi,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))}),sy),{...Ry,..._y},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return iS(function(e,t,n,r,o){const a=nc(o);return((e,t,n,r)=>{const o=cl(e,t,n,Wf);return e.dateFromFields(o,r)})(e(t.calendar),n,r,a)}(IS,e,this,Pm(t),n))},withCalendar:(e,t)=>iS(vl(e,sy(t))),add:(e,t,n)=>iS(du(ES,0,e,ry(t),n)),subtract:(e,t,n)=>iS(du(ES,1,e,ry(t),n)),until:(e,t,n)=>DS(Sh(OS,0,e,ey(t),n)),since:(e,t,n)=>DS(Sh(OS,1,e,ey(t),n)),equals:(e,t)=>function(e,t){return!lh(e,t)&&pc(e.calendar,t.calendar)}(e,ey(t)),toZonedDateTime(e,t){const n=!hi(t)||t instanceof Jy?{timeZone:t}:t;return PS(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):Id;return cc(su(n(a),{...r,...s}),a,r.calendar)}(Jm,Wm,Vm,e,n))},toPlainDateTime:(e,t)=>oS(function(e){return uc(ms({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Id}))}(e,qm(t))),toPlainYearMonth(e){return tS(function(e,t,n){return hl(e(t.calendar),n)}(vS,e,this))},toPlainMonthDay(e){return xy(function(e,t,n){return ul(e(t.calendar),n)}(bS,e,this))},toLocaleString(e,t,n){const[r,o]=wy(t,n,e);return r.format(o)},toString:Uc,toJSON:e=>Uc(e),valueOf:Fm},{from:(e,t)=>iS(ey(e,t)),compare:(e,t)=>lh(ey(e),ey(t))}),cS={fields:(e,t,n)=>[...t.call(e,n)]},uS=Object.assign({dateFromFields:(e,t,n,r)=>sS(t.call(e,Object.assign(Object.create(null),n),r))},cS),hS=Object.assign({yearMonthFromFields:(e,t,n,r)=>nS(t.call(e,Object.assign(Object.create(null),n),r))},cS),lS=Object.assign({monthDayFromFields:(e,t,n,r)=>Zy(t.call(e,Object.assign(Object.create(null),n),r))},cS),fS={mergeFields:(e,t,n,r)=>$i(t.call(e,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))},dS=Object.assign({},uS,fS),gS=Object.assign({},hS,fS),mS=Object.assign({},lS,fS),yS={dateAdd:(e,t,n,r,o)=>sS(t.call(e,iS(hc(n,e)),DS(gc(r)),o))},SS=Object.assign({},yS,{dateUntil:(e,t,n,r,o,a)=>_S(t.call(e,iS(hc(n,e)),iS(hc(r,e)),Object.assign(Object.create(null),a,{largestUnit:Ef[o]})))}),pS=Object.assign({},yS,{day:ty}),wS=Object.assign({},SS,{day:ty}),vS=ny(hS),AS=ny(uS),bS=ny(lS),TS=ny(gS),IS=ny(dS),MS=ny(mS),ES=ny(yS),OS=ny(SS),CS=ny(pS),NS=ny(wS),[HS,DS,_S]=Rm(mg,(function(){return gc(_u(Si(Qi,yi(ud,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0]))))}),{...Py,blank:function(e){return!e.sign}},{with:(e,t)=>DS(function(e,t){return gc((n=e,r=t,_u({...n,...il(r,hd)})));var n,r}(e,t)),negated:e=>DS(Nu(e)),abs:e=>DS(function(e){return-1===e.sign?Nu(e):e}(e)),add:(e,t,n)=>DS(Cu(oy,OS,Vm,0,e,ry(t),n)),subtract:(e,t,n)=>DS(Cu(oy,OS,Vm,1,e,ry(t),n)),round:(e,t)=>DS(function(e,t,n,r,o){const a=Bu(r),[i,s,c,u,h]=((e,t,n)=>{e=tc(e,jd);let r=Qd(e);const o=n(e[Zd]);let a=qs(e);const i=sg(e,7);let s=Xd(e);if(void 0===r&&void 0===s)throw new RangeError(yf);return null==s&&(s=0),null==r&&(r=Math.max(s,t)),ic(r,s),a=Xs(a,s,1),[r,s,a,i,o]})(o,a,e),l=Math.max(a,i);if(!Eu(h)&&l<=6)return gc(_u(((e,t,n,r,o)=>{const a=Dc(Lu(e),n,r,o);return{...md,...Ru(a,t)}})(r,i,s,c,u)));if(!h)throw new RangeError(gf);const[f,d,g]=bu(t,n,h),m=Tu(g),y=Iu(g),S=Mu(g),p=y(d,f,r);let w=S(d,f,p,i);const v=r.sign,A=Du(w);if(v&&A&&v!==A)throw new RangeError(tf);return A&&(w=Hc(w,m(p),i,s,c,u,d,f,m,y)),gc(w)}(oy,OS,Vm,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=Bu(r),[i,s]=((e,t)=>{const n=t((e=tc(e,Fd))[Zd]);let r=eg(e);return r=Zi(Fd,r),[r,n]})(o,e);if(Ou(Math.max(i,a),s))return wc(r,i);if(!s)throw new RangeError(gf);const[c,u,h]=bu(t,n,s),l=Tu(h),f=Iu(h),d=Mu(h),g=f(u,c,r),m=d(u,c,g,i);return Ou(i,s)?wc(m,i):((e,t,n,r,o,a,i)=>{const s=Du(e),[c,u]=vc(r,Sd(n,e),n,s,o,a,i),h=Ac(t,c,u);return e[ud[n]]+h*s})(m,l(g),i,u,c,l,f)}(oy,OS,Vm,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):Vc(e)},toString:Vc,toJSON:e=>Vc(e),valueOf:Fm},{from:e=>DS(ry(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(ec(a).relativeTo),s=Math.max(Bu(r),Bu(o));if(Ti(ud,r,o))return 0;if(Ou(s,i))return as(Lu(r),Lu(o));if(!i)throw new RangeError(gf);const[c,u,h]=bu(t,n,i),l=Tu(h),f=Iu(h);return as(l(f(u,c,r)),l(f(u,c,o)))}(oy,ES,Vm,ry(e),ry(t),n)}),kS={toString:e=>e.id,toJSON:e=>e.id,...Dy,dateAdd:(e,t,n,r)=>{let{id:o,o:a}=e;return iS(hc(a.dateAdd(ey(t),ry(n),r),o))},dateUntil:(e,t,n,r)=>{let{o:o}=e;return DS(gc(o.dateUntil(ey(t),ey(n),function(e){return e=ec(e),Qd(e,9,6,1)}(r))))},dateFromFields:(e,t,n)=>{let{id:r,o:o}=e;return iS(nl(o,t,n,function(e){return e===ed?["year","day"]:[]}(r)))},yearMonthFromFields:(e,t,n)=>{let{id:r,o:o}=e;return tS(rl(o,t,n,function(e){return e===ed?$f:[]}(r)))},monthDayFromFields:(e,t,n)=>{let{id:r,o:o}=e;return xy(ol(o,0,t,n,function(e){return e===ed?Kf:[]}(r)))},fields(e,t){let{o:n}=e;const r=new Set(Wf),o=[];for(const e of t){if(ad(e),!r.has(e))throw new RangeError(Fl(e));r.delete(e),o.push(e)}return n.fields(o)},mergeFields:(e,t,n)=>{let{o:r}=e;return r.mergeFields(bi(xi(t)),bi(xi(n)))}},[LS]=Rm("Calendar",(e=>{const t=function(e){return Zh(ad(e))}(e);return{branding:"Calendar",id:t,o:nm(t)}}),{id:e=>e.id},kS,{from(e){const t=sy(e);return"string"==typeof t?new LS(t):t}}),RS=Ym(Object.keys(kS).slice(4)),[YS,PS]=Rm(dg,Mi((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ed;return cc(ys(ss(Wi(n))),t(r),e(o))}),sy,Jm),{...jy,...Ry,...uy(_y),...uy(By),offset:e=>Qc(hy(e).offsetNanoseconds),offsetNanoseconds:e=>hy(e).offsetNanoseconds,timeZoneId:e=>Sc(e.timeZone),hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=bg(t,n),[o,a]=Oc(r),i=hs(os(su(n,o),su(n,a)),kf,1);if(i<=0)throw new RangeError(tf);return i}(Vm,e)},{getISOFields:e=>function(e,t){const n=bg(t,e);return{calendar:t.calendar,...vi(Td,n),offset:Qc(n.offsetNanoseconds),timeZone:t.timeZone}}(zm,e),getCalendar:Um,getTimeZone:e=>{let{timeZone:t}=e;return"string"==typeof t?new Jy(t):t},with(e,t,n){return PS(function(e,t,n,r,o,a){const i=nc(a),{calendar:s,timeZone:c}=n;return cc(((e,t,n,r,o)=>{const a=cl(e,n,r,Wf,Ff,Bf),[i,s,c]=Zs(o,2);return iu(t,{...e.dateFromFields(a,rc(o,i)),...sl(a,i)},Uu(a.offset),s,c)})(e(s),t(c),r,o,i),c,s)}(IS,Vm,e,this,Pm(t),n))},withCalendar:(e,t)=>PS(vl(e,sy(t))),withTimeZone:(e,t)=>PS(function(e,t){return{...e,timeZone:t}}(e,Jm(t))),withPlainDate:(e,t)=>PS(function(e,t,n){const r=t.timeZone,o=e(r),a={...bg(t,o),...n},i=Al(t.calendar,n.calendar);return cc(iu(o,a,a.offsetNanoseconds,2),r,i)}(Vm,e,ey(t))),withPlainTime:(e,t)=>PS(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Id;const r=t.timeZone,o=e(r),a={...bg(t,o),...n};return cc(iu(o,a,a.offsetNanoseconds,2),r,t.calendar)}(Vm,e,qm(t))),add:(e,t,n)=>PS(lu(ES,Vm,0,e,ry(t),n)),subtract:(e,t,n)=>PS(lu(ES,Vm,1,e,ry(t),n)),until:(e,t,n)=>DS(gc(mh(OS,Vm,0,e,cy(t),n))),since:(e,t,n)=>DS(gc(mh(OS,Vm,1,e,cy(t),n))),round:(e,t)=>PS(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=zs(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=bg(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=su(t,a),u=su(t,i);if(is(s,c,u))throw new RangeError(tf);return Lc(Ac(s,c,u),r)?u:c})(Oc,u,t,c);else{const e=u.getOffsetNanosecondsFor(r);r=iu(u,bc(Os(r,e),i,s,c),e,2,0,1)}return cc(r,o,a)}(Vm,e,t)),startOfDay:e=>PS(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>su(t,e(bg(n,t))))(Cc,e(n),t);return cc(o,n,r)}(Vm,e)),equals:(e,t)=>function(e,t){return!uh(e,t)&&!!dh(e.timeZone,t.timeZone)&&pc(e.calendar,t.calendar)}(e,cy(t)),toInstant:e=>Ky(function(e){return sc(e.epochNanoseconds)}(e)),toPlainDateTime:e=>oS(Sl(zm,e)),toPlainDate:e=>iS(pl(zm,e)),toPlainTime:e=>Qy(wl(zm,e)),toPlainYearMonth(e){return tS(function(e,t,n){return hl(e(t.calendar),n)}(vS,e,this))},toPlainMonthDay(e){return xy(function(e,t,n){return ul(e(t.calendar),n)}(bS,e,this))},toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=Sy(t,n,e);return r.format(o)},toString:(e,t)=>jc(zm,e,t),toJSON:e=>jc(zm,e),valueOf:Fm},{from:(e,t)=>PS(cy(e,t)),compare:(e,t)=>uh(cy(e),cy(t))}),BS=Object.defineProperties({},{...mi("Temporal.Now"),...di({timeZoneId:()=>Nl(),instant:()=>Ky(sc(Cl())),zonedDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nl();return PS(cc(Cl(),Jm(t),sy(e)))},zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return PS(cc(Cl(),Jm(e),ed))},plainDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nl();return oS(uc(Ol(zm(Jm(t))),sy(e)))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return oS(uc(Ol(zm(Jm(e))),ed))},plainDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nl();return iS(hc(Ol(zm(Jm(t))),sy(e)))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return iS(hc(Ol(zm(Jm(e))),ed))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return Qy(dc(Ol(zm(Jm(e)))))}})}),jS=Object.defineProperties({},{...mi("Temporal"),...di({PlainYearMonth:eS,PlainMonthDay:Uy,PlainDate:aS,PlainTime:Xy,PlainDateTime:rS,ZonedDateTime:YS,Instant:zy,Calendar:LS,TimeZone:Jy,Duration:HS,Now:BS})}),FS=ly(),US=new WeakMap;function xS(e){return e*Math.PI/180}function ZS(e){return 180*e/Math.PI}Object.create(Intl),di({DateTimeFormat:FS});class $S{constructor(e,t,n,r,o){this.locationName=null,this.setLocationName(e),this.setLatitude(t),this.setLongitude(n),this.setElevation(r),this.setTimeZone(o)}getElevation(){return this.elevation}setElevation(e){if("number"!=typeof e)throw new TypeError("Invalid elevation");if(e<0)throw new RangeError(`elevation ${e} must be zero or positive`);this.elevation=e}setLatitude(e){if("number"!=typeof e)throw new TypeError("Invalid latitude");if(e<-90||e>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);this.latitude=e}getLatitude(){return this.latitude}setLongitude(e){if("number"!=typeof e)throw new TypeError("Invalid longitude");if(e<-180||e>180)throw new RangeError(`Longitude ${e} out of range [-180,180]`);this.longitude=e}getLongitude(){return this.longitude}getLocationName(){return this.locationName}setLocationName(e){this.locationName=e}getTimeZone(){return this.timeZoneId}setTimeZone(e){this.timeZoneId=e}}const VS=6356.9;class zS{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(zS.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(zS.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(zS.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(zS.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(zS.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(zS.ASTRONOMICAL_ZENITH)}static getTimeOffset(e,t){return null===e||isNaN(t)?null:e.add({milliseconds:t})}getSunriseOffsetByDegrees(e){const t=this.getUTCSunrise0(e);return isNaN(t)?null:this.getDateFromTime(t,!0)}getSunsetOffsetByDegrees(e){const t=this.getUTCSunset0(e);return isNaN(t)?null:this.getDateFromTime(t,!1)}getUTCSunrise0(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunrise(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!1)}getUTCSunset0(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunset(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!1)}getAdjustedDate(){return this.date}getElevationAdjustment(e){return ZS(Math.acos(VS/(VS+e/1e3)))}adjustZenith(e,t){let n=e;return e===zS.GEOMETRIC_ZENITH&&(n=e+(.8333333333333333+this.getElevationAdjustment(t))),n}getUTCSunrise(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=zS.getSunriseUTC(zS.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getUTCSunset(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=zS.getSunsetUTC(zS.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getTemporalHour(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();if(null===e||null===t)return NaN;const n=t.epochMilliseconds-e.epochMilliseconds;return Math.floor(n/12)}getSunTransit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();const n=this.getTemporalHour(e,t);return zS.getTimeOffset(e,6*n)}getDateFromTime(e,t){if(isNaN(e))return null;let n=e,r=this.getAdjustedDate();const o=Math.trunc(n);n-=o;const a=Math.trunc(n*=60);n-=a;const i=Math.trunc(n*=60);n-=i;const s=Math.trunc(this.geoLocation.getLongitude()/15);return t&&s+o>18?r=r.add({days:-1}):!t&&s+o<6&&(r=r.add({days:1})),r.toZonedDateTime({timeZone:"UTC",plainTime:new jS.PlainTime(o,a,i,Math.trunc(1e3*n))}).withTimeZone(this.geoLocation.getTimeZone())}static getJulianDay(e){let{year:t,month:n}=e;const{day:r}=e;n<=2&&(t-=1,n+=12);const o=Math.trunc(t/100),a=Math.trunc(2-o+o/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(n+1))+r+a-1524.5}static getJulianCenturiesFromJulianDay(e){return(e-zS.JULIAN_DAY_JAN_1_2000)/zS.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*zS.JULIAN_DAYS_PER_CENTURY+zS.JULIAN_DAY_JAN_1_2000}static getSunGeometricMeanLongitude(e){let t=280.46646+e*(36000.76983+3032e-7*e);for(;t>360;)t-=360;for(;t<0;)t+=360;return t}static getSunGeometricMeanAnomaly(e){return 357.52911+e*(35999.05029-1537e-7*e)}static getEarthOrbitEccentricity(e){return.016708634-e*(42037e-9+1.267e-7*e)}static getSunEquationOfCenter(e){const t=xS(zS.getSunGeometricMeanAnomaly(e));return Math.sin(t)*(1.914602-e*(.004817+14e-6*e))+Math.sin(t+t)*(.019993-101e-6*e)+289e-6*Math.sin(t+t+t)}static getSunTrueLongitude(e){return zS.getSunGeometricMeanLongitude(e)+zS.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return zS.getSunTrueLongitude(e)-.00569-.00478*Math.sin(xS(t))}static getMeanObliquityOfEcliptic(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}static getObliquityCorrection(e){const t=125.04-1934.136*e;return zS.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(xS(t))}static getSunDeclination(e){const t=zS.getObliquityCorrection(e),n=zS.getSunApparentLongitude(e),r=Math.sin(xS(t))*Math.sin(xS(n));return ZS(Math.asin(r))}static getEquationOfTime(e){const t=zS.getObliquityCorrection(e),n=zS.getSunGeometricMeanLongitude(e),r=zS.getEarthOrbitEccentricity(e),o=zS.getSunGeometricMeanAnomaly(e);let a=Math.tan(xS(t)/2);a*=a;const i=Math.sin(2*xS(n)),s=Math.sin(xS(o));return 4*ZS(a*i-2*r*s+4*r*a*s*Math.cos(2*xS(n))-.5*a*a*Math.sin(4*xS(n))-1.25*r*r*Math.sin(2*xS(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=xS(e),o=xS(t);return Math.acos(Math.cos(xS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=xS(e),o=xS(t);return-Math.acos(Math.cos(xS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=zS.getJulianDay(e.toPlainDate()),o=zS.getJulianCenturiesFromJulianDay(r),a=zS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=xS(n-i),c=xS(zS.getSunDeclination(o)),u=xS(t);return ZS(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=zS.getJulianDay(e.toPlainDate()),o=zS.getJulianCenturiesFromJulianDay(r),a=zS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=xS(n-i),c=xS(zS.getSunDeclination(o)),u=xS(t);return ZS(Math.atan(Math.sin(s)/(Math.cos(s)*Math.sin(u)-Math.tan(c)*Math.cos(u))))+180}static getSunriseUTC(e,t,n,r){const o=zS.getJulianCenturiesFromJulianDay(e),a=zS.getSolarNoonUTC(o,n),i=zS.getJulianCenturiesFromJulianDay(e+a/1440);let s=zS.getEquationOfTime(i),c=zS.getSunDeclination(i),u=zS.getSunHourAngleAtSunrise(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s;const d=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(o)+f/1440);return s=zS.getEquationOfTime(d),c=zS.getSunDeclination(d),u=zS.getSunHourAngleAtSunrise(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(e)+t/360);let r=zS.getEquationOfTime(n);const o=720+4*t-r,a=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=zS.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=zS.getJulianCenturiesFromJulianDay(e),a=zS.getSolarNoonUTC(o,n),i=zS.getJulianCenturiesFromJulianDay(e+a/1440);let s=zS.getEquationOfTime(i),c=zS.getSunDeclination(i),u=zS.getSunHourAngleAtSunset(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s;const d=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(o)+f/1440);return s=zS.getEquationOfTime(d),c=zS.getSunDeclination(d),u=zS.getSunHourAngleAtSunset(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s,f}}zS.GEOMETRIC_ZENITH=90,zS.CIVIL_ZENITH=96,zS.NAUTICAL_ZENITH=102,zS.ASTRONOMICAL_ZENITH=108,zS.JULIAN_DAY_JAN_1_2000=2451545,zS.JULIAN_DAYS_PER_CENTURY=36525;const KS=[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem",27],["Atlanta","US",33.749,-84.38798,"America/New_York",336],["Austin","US",30.26715,-97.74306,"America/Chicago",165],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad",41],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem",285],["Berlin","DE",52.52437,13.41053,"Europe/Berlin",43],["Baltimore","US",39.29038,-76.61219,"America/New_York",35],["Bogota","CO",4.60971,-74.08175,"America/Bogota",2582],["Boston","US",42.35843,-71.05977,"America/New_York",38],["Budapest","HU",47.49801,19.03991,"Europe/Budapest",104],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires",31],["Buffalo","US",42.88645,-78.87837,"America/New_York",191],["Chicago","US",41.85003,-87.65005,"America/Chicago",180],["Cincinnati","US",39.162,-84.45689,"America/New_York",267],["Cleveland","US",41.4995,-81.69541,"America/New_York",204],["Dallas","US",32.78306,-96.80667,"America/Chicago",139],["Denver","US",39.73915,-104.9847,"America/Denver",1636],["Detroit","US",42.33143,-83.04575,"America/Detroit",192],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem",63],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar",11],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem",40],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu",18],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki",26],["Houston","US",29.76328,-95.36327,"America/Chicago",30],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem",786],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg",1767],["Kiev","UA",50.45466,30.5238,"Europe/Kiev",187],["La Paz","BO",-16.5,-68.15,"America/La_Paz",3782],["Livingston","US",40.79593,-74.31487,"America/New_York",98],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles",613],["London","GB",51.50853,-.12574,"Europe/London",25],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles",96],["Marseilles","FR",43.29695,5.38107,"Europe/Paris",28],["Miami","US",25.77427,-80.19366,"America/New_York",25],["Minneapolis","US",44.97997,-93.26384,"America/Chicago",262],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne",25],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City",2240],["Montreal","CA",45.50884,-73.58781,"America/Toronto",216],["Moscow","RU",55.75222,37.61556,"Europe/Moscow",144],["New York","US",40.71427,-74.00597,"America/New_York",57],["Omaha","US",41.25861,-95.93779,"America/Chicago",315],["Ottawa","CA",45.41117,-75.69812,"America/Toronto",71],["Panama City","PA",8.9936,-79.51973,"America/Panama",17],["Paris","FR",48.85341,2.3488,"Europe/Paris",42],["Pawtucket","US",41.87871,-71.38256,"America/New_York",0],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem",54],["Philadelphia","US",39.95233,-75.16379,"America/New_York",8],["Phoenix","US",33.44838,-112.07404,"America/Phoenix",366],["Pittsburgh","US",40.44062,-79.99589,"America/New_York",239],["Providence","US",41.82399,-71.41283,"America/New_York",0],["Portland","US",45.52345,-122.67621,"America/Los_Angeles",15],["Saint Louis","US",38.62727,-90.19789,"America/Chicago",149],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow",11],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles",20],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles",28],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo",769],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles",56],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney",58],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem",15],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem",0],["Toronto","CA",43.70011,-79.4163,"America/Toronto",175],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver",70],["White Plains","US",41.03399,-73.76291,"America/New_York",82],["Washington DC","US",38.89511,-77.03637,"America/New_York",6],["Worcester","US",42.26259,-71.80229,"America/New_York",164]],GS=new Map,JS={0:"UTC",4:"America/Puerto_Rico",5:"America/New_York",6:"America/Chicago",7:"America/Denver",8:"America/Los_Angeles",9:"America/Anchorage",10:"Pacific/Honolulu",11:"Pacific/Pago_Pago",13:"Pacific/Funafuti",14:"Pacific/Guam",15:"Pacific/Palau",16:"Pacific/Chuuk"},WS=new Map;class qS extends $S{constructor(e,t,n,r,o,a,i,s){const c="number"==typeof e?e:parseFloat(e);if(isNaN(c)||c<-90||c>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);const u="number"==typeof t?t:parseFloat(t);if(isNaN(u)||u<-180||u>180)throw new RangeError(`Longitude ${t} out of range [-180,180]`);super(o||null,c,u,"number"==typeof s&&s>0?s:0,r),this.il=Boolean(n),this.cc=a,this.geoid=i}getIsrael(){return this.il}getName(){return this.getLocationName()}getShortName(){const e=this.getLocationName();if(!e)return e;const t=e.indexOf(", ");if(-1===t)return e;if("US"===this.cc&&"D"===e[t+2]){if("C"===e[t+3])return e.substring(0,t+4);if("."===e[t+3]&&"C"===e[t+4])return e.substring(0,t+6)}return e.substring(0,t)}getCountryCode(){return this.cc}getTzid(){return this.getTimeZone()}getTimeFormatter(){return function(e){const t=WS.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return WS.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return GS.get(e.toLowerCase())}toString(){return JSON.stringify(this)}static legacyTzToTzid(e,t){if(e=+e,"none"==t){if(0==e)return"UTC";return`Etc/GMT${e>0?"+":""}${e}`}if(2==e&&"israel"==t)return"Asia/Jerusalem";if("eu"==t)switch(e){case-2:return"Atlantic/Cape_Verde";case-1:return"Atlantic/Azores";case 0:return"Europe/London";case 1:return"Europe/Paris";case 2:return"Europe/Athens"}else if("usa"==t)return JS[String(-1*e)]}static getUsaTzid(e,t,n){return 10==t&&"AK"==e?"America/Adak":7==t&&"AZ"==e?"Y"==n?"America/Denver":"America/Phoenix":JS[t]}static addLocation(e,t){const n=e.toLowerCase();return!GS.has(n)&&(GS.set(n,t),!0)}}for(const e of KS){const t=new qS(e[2],e[3],"IL"==e[1],e[4],e[0],e[1],void 0,e[5]);qS.addLocation(e[0],t)}function XS(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}Object.defineProperties(globalThis,di({Temporal:jS})),Object.defineProperties(Intl,di({DateTimeFormat:FS})),Object.defineProperties(Date.prototype,di({toTemporalInstant:function(){return Ky(sc(cs(this.valueOf(),Hf)))}}));class QS{constructor(t,n,r){const o=function(t){if(e.greg.isDate(t))return t;if(Oe.isHDate(t))return t.greg();throw new TypeError(`invalid date: ${t}`)}(n);this.date=o,this.gloc=t;const a=Temporal.PlainDate.from({year:o.getFullYear(),month:o.getMonth()+1,day:o.getDate()});this.noaa=new zS(t,a),this.useElevation=Boolean(r)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return XS(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return XS(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return XS(this.noaa.getSeaLevelSunrise())}sunset(){return XS(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return XS(this.noaa.getSeaLevelSunset())}dawn(){return XS(this.noaa.getBeginCivilTwilight())}dusk(){return XS(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new QS(this.gloc,e,this.useElevation).sunset()}nightHour(){return(this.sunrise().getTime()-this.gregEve().getTime())/12}chatzot(){const e=this.noaa.getSeaLevelSunrise(),t=this.noaa.getSeaLevelSunset();return XS(this.noaa.getSunTransit(e,t))}chatzotNight(){return new Date(this.sunrise().getTime()-6*this.nightHour())}alotHaShachar(){return this.timeAtAngle(16.1,!0)}misheyakir(){return this.timeAtAngle(11.5,!0)}misheyakirMachmir(){return this.timeAtAngle(10.2,!0)}getShaahZmanisBasedZman(e){const t=this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise(),n=this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset(),r=this.noaa.getTemporalHour(t,n),o=Math.round(r*e);return XS(zS.getTimeOffset(t,o))}sofZmanShma(){return this.getShaahZmanisBasedZman(3)}sofZmanTfilla(){return this.getShaahZmanisBasedZman(4)}getTemporalHour72(e){const t=this.sunriseOffset(-72,!1,e),n=(this.sunsetOffset(72,!1,e).getTime()-t.getTime())/12;return[t,n]}getTemporalHourByDeg(e){const t=this.timeAtAngle(e,!0),n=(this.timeAtAngle(e,!1).getTime()-t.getTime())/12;return[t,n]}sofZmanShmaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(4*t);return new Date(e.getTime()+n)}minchaGedola(){return this.getShaahZmanisBasedZman(6.5)}minchaGedolaMGA(){const[e,t]=this.getTemporalHour72(!1),n=Math.floor(6.5*t);return new Date(e.getTime()+n)}minchaKetana(){return this.getShaahZmanisBasedZman(9.5)}minchaKetanaMGA(){const[e,t]=this.getTemporalHour72(!1);return new Date(e.getTime()+Math.floor(9.5*t))}plagHaMincha(){return this.getShaahZmanisBasedZman(10.75)}tzeit(e=8.5){return this.timeAtAngle(e,!1)}neitzHaChama(){return this.sunrise()}shkiah(){return this.sunset()}beinHaShmashos(){const e=this.tzeit(7.083),t=e.getTime();return isNaN(t)?e:new Date(t-81e4)}static formatTime(e,t){const n=t.format(e),r=n.split(":");return"24"===r[0]?"00:"+r[1]:n}static roundTime(e){const t=e.getTime();if(isNaN(t))return e;const n=e.getMilliseconds(),r=e.getSeconds();if(0===r&&0===n)return e;const o=1e3*r+n;return new Date(t+(o>=3e4?6e4-o:-1*o))}static timeZoneOffset(e,t){const n=function(e,t){const n=ce("UTC",t),r=ce(e,t),o=new Date(n).getTime()-new Date(r).getTime();return Math.ceil(o/1e3/60)}(e,t),r=Math.abs(n),o=r%60;return(n<0?"+":"-")+he(Math.floor(r/60))+":"+he(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?"0000-00-00T00:00:00Z":ce(e,t).substring(0,19)+QS.timeZoneOffset(e,t)}sunriseOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunrise():this.sunrise();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}sunsetOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunset():this.sunset();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}}const ep={US:1,CA:1,BR:1,AU:1,NZ:1,DO:1,PR:1,GR:1,IN:1,KR:1,NP:1,ZA:1};function tp(e,t,n){var r;if("string"!=typeof e)throw new TypeError(`Bad timeStr: ${e}`);const o=(null===(r=null==n?void 0:n.location)||void 0===r?void 0:r.getCountryCode())||((null==n?void 0:n.il)?"IL":"US"),a=null==n?void 0:n.hour12;if(void 0!==a&&!a)return e;if(!a&&void 0===ep[o])return e;const i=e.split(":");let s=parseInt(i[0],10);return s<12&&t?(t=t.replace("p","a").replace("P","A"),0===s&&(s=12)):s>12?s%=12:0===s&&(s="00"),`${s}:${i[1]}${t}`}class np extends Be{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=QS.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=QS.formatTime(this.eventTime,s);const c=Object.assign(Object.assign({},i),{location:o});this.fmtTime=tp(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return we.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return we.gettext(this.getDesc(),e)}getCategories(){switch(this.getDesc()){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}return["unknown"]}}class rp extends np{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}class op extends np{constructor(e,t,n,r,o,a,i){super(e,"Havdalah",t,n,r,a,i),o&&(this.havdalahMins=o)}render(e){return this.renderBrief(e)+": "+this.fmtTime}renderBrief(e){let t=we.gettext(this.getDesc(),e);if(this.havdalahMins){const n=we.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}const ap=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ip=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],sp="בַּלַּ֥יְלָה";class cp{constructor(e,t){this.m=function(e,t){let n=t-7;n<0&&(n+=E(e));const r=235*Math.floor((e-1)/19)+(e-1)%19*12+Math.floor(((e-1)%19*7+1)/19)+n,o=204+Math.floor(r%1080*793),a=5+12*r+793*Math.floor(r/1080)+Math.floor(o/1080)-6,i=(o%1080+a%24*1080)%1080;return{year:e,month:t,dayOfWeek:(1+29*r+Math.floor(a/24))%7,hour:a%24,minutes:Math.floor(i/18),chalakim:i%18}}(e,t)}getYear(){return this.m.year}getMonth(){return this.m.month}getMonthName(){return Oe.getMonthName(this.m.month,this.m.year)}getDow(){return this.m.dayOfWeek}getHour(){return this.m.hour}getMinutes(){return this.m.minutes}getChalakim(){return this.m.chalakim}render(e,t){"string"==typeof(e=null!=e?e:we.getLocaleName())&&(e=e.toLowerCase());const n="he"===e||"he-x-nonikud"===e||"h"===e,r=we.gettext(this.getMonthName(),e),o=(n?ip:ap)[this.getDow()],a=this.getMinutes(),i=this.getHour(),s=this.getChalakim(),c=we.gettext("Molad",e),u=we.lookupTranslation("min",e)||"minutes",h=we.gettext("chalakim",e);if(n){const t=`${c} ${r} יִהְיֶה בַּיּוֹם ${o} בשָׁבוּעַ, בְּשָׁעָה ${i} ${i<5?sp:i<12?"בַּבֹּקֶר":i<17?"בַּצׇּהֳרַיִים":i<21?"בָּעֶרֶב":sp}, ו-${a} ${u} ו-${s} ${h}`;return"he-x-nonikud"===e?we.hebrewStripNikkud(t):t}const l=tp(`${i}:00`,"pm",t);return`${c} ${r.replace(/'/g,"’")}: ${o}, ${a} ${u} and ${s} ${h} after ${l}`}}class up extends Be{constructor(e,t,n,r){const o=new cp(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,Ye.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}class hp extends Be{constructor(e,t){if(super(e,`Omer ${t}`,Ye.OMER_COUNT),t<1||t>49)throw new RangeError(`Invalid Omer day ${t}`);this.weekNumber=Math.floor((t-1)/7)+1,this.daysWithinWeeks=t%7||7,this.omer=t}sefira(e="en"){return"he"!==e&&"translit"!==e&&(e="en"),function(e,t){G(e);const[n,r]=J(e),o=K[t],a=o.words[n];return(o.words[r]+" "+(2===n||6===n?o.infix26:o.infix)+a).normalize()}(this.omer,e)}render(e){"string"==typeof(e=null!=e?e:we.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?V(n):we.ordinal(n,e))+" "+we.gettext("day of the Omer",e)}renderBrief(e){return we.gettext("Omer",e)+" "+we.gettext("day",e)+" "+this.omer}getEmoji(){return"string"==typeof this.emoji?this.emoji:function(e){let t;return G(e),t=e<=20?9312+e-1:e<=35?12881+e-21:12977+e-36,String.fromCodePoint(t)}(this.omer)}getWeeks(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}getDaysWithinWeeks(){return this.daysWithinWeeks}getTodayIs(e){"string"==typeof(e=null!=e?e:we.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e?"he":"en",n=W(this.omer,t);return"he-x-nonikud"===e?we.hebrewStripNikkud(n):n}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class lp extends Map{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"==typeof this.onEviction)for(const[t,n]of e)this.onEviction(t,n.value)}_deleteIfExpired(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.onEviction&&this.onEviction(e,t.value),this.delete(e))}_getOrDeleteIfExpired(e,t){if(!1===this._deleteIfExpired(e,t))return t.value}_getItemValue(e,t){return t.expiry?this._getOrDeleteIfExpired(e,t):t.value}_peek(e,t){const n=t.get(e);return this._getItemValue(e,n)}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,t){this.oldCache.delete(e),this._set(e,t)}*_entriesAscending(){for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,n)&&(yield e)}}for(const e of this.cache){const[t,n]=e;!1===this._deleteIfExpired(t,n)&&(yield e)}}get(e){if(this.cache.has(e)){const t=this.cache.get(e);return this._getItemValue(e,t)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,t))return this._moveToRecent(e,t),t.value}}set(e,t){let{maxAge:n=this.maxAge}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r="number"==typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.cache.has(e)?this.cache.set(e,{value:t,expiry:r}):this._set(e,{value:t,expiry:r}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this._entriesAscending()],n=t.length-e;n<0?(this.cache=new Map(t),this.oldCache=new Map,this._size=t.length):(n>0&&this._emitEvictions(t.slice(0,n)),this.oldCache=new Map(t.slice(n)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[t,n]=e;!1===this._deleteIfExpired(t,n)&&(yield[t,n.value])}for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,n)&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.cache];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;!1===this._deleteIfExpired(r,o)&&(yield[r,o.value])}e=[...this.oldCache];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;if(!this.cache.has(r)){!1===this._deleteIfExpired(r,o)&&(yield[r,o.value])}}}*entriesAscending(){for(const[e,t]of this._entriesAscending())yield[e,t.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;for(const[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}class fp{constructor(e,t){e=+e,this.year=e;const n=new Oe(1,m.TISHREI,e),r=n.abs(),o=n.getDay()+1;this.firstSaturday=Oe.dayOnOrBefore(6,r+6);const a=+Oe.isLeapYear(e);this.il=Boolean(t);const i=function(e){const t=Oe.longCheshvan(e),n=Oe.shortKislev(e);return t&&!n?2:!t&&n?0:1}(e);let s=`${a}${o}${i}`;if(_p[s]||(s+=+this.il),this.theSedraArray=_p[s],!this.theSedraArray)throw new Error(`improper sedra year type ${s} calculated for ${e}`)}get(e){return this.lookup(e).parsha}getString(e,t){const n=this.get(e),r=t||we.getLocaleName();let o=we.gettext(n[0],r);if(2==n.length){o+=("he"==r?"־":"-")+we.gettext(n[1],r)}return o=o.replace(/'/g,"’"),we.gettext("Parashat",r)+" "+o}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>53||e<0&&!function(e){switch(e){case-21:case-26:case-28:case-31:case-38:case-41:case-50:return!0}return!1}(e))throw new RangeError(`Invalid parsha number: ${e}`);const t=this.theSedraArray.indexOf(e);return-1===t?null:new Oe(this.firstSaturday+7*t)}if("string"==typeof e){const t=gp.get(e);if("number"==typeof t)return this.find(t);if(-1!==e.indexOf("-"))return this.find(e.split("-"));{const t=this.theSedraArray.indexOf(e);return-1===t?null:new Oe(this.firstSaturday+7*t)}}if(Array.isArray(e)&&1===e.length&&"string"==typeof e[0])return this.find(e[0]);if(Array.isArray(e)&&2===e.length&&"string"==typeof e[0]&&"string"==typeof e[1]){const t=e[0],n=e[1],r=gp.get(t);if(gp.get(n)===r+1)return this.find(-r);throw new RangeError(`Unrecognized parsha name: ${t}-${n}`)}throw new TypeError(`Invalid parsha argument: ${e}`)}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:Oe.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=Oe.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return Lp(this.year+1,this.il).lookup(n)}if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[dp[o]],chag:!1,num:o+1};const a=mp(o);return{parsha:[dp[a],dp[a+1]],chag:!1,num:[a+1,a+2]}}}const dp=["Bereshit","Noach","Lech-Lecha","Vayera","Chayei Sara","Toldot","Vayetzei","Vayishlach","Vayeshev","Miketz","Vayigash","Vayechi","Shemot","Vaera","Bo","Beshalach","Yitro","Mishpatim","Terumah","Tetzaveh","Ki Tisa","Vayakhel","Pekudei","Vayikra","Tzav","Shmini","Tazria","Metzora","Achrei Mot","Kedoshim","Emor","Behar","Bechukotai","Bamidbar","Nasso","Beha'alotcha","Sh'lach","Korach","Chukat","Balak","Pinchas","Matot","Masei","Devarim","Vaetchanan","Eikev","Re'eh","Shoftim","Ki Teitzei","Ki Tavo","Nitzavim","Vayeilech","Ha'azinu"],gp=new Map;for(let e=0;e<dp.length;e++){const t=dp[e];gp.set(t,e)}function mp(e){return-e}const yp="Sukkot Shabbat Chol ha-Moed",Sp="Pesach",pp="Pesach I",wp="Pesach Shabbat Chol ha-Moed",vp="Pesach VII",Ap="Pesach VIII",bp="Shavuot";function Tp(e,t){return Array.from({length:t-e+1},((t,n)=>n+e))}const Ip=[51,52,yp],Mp=[52,"Yom Kippur",yp],Ep=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],Op=Tp(0,20),Cp=Tp(0,27),Np=Tp(33,40),Hp=Tp(43,49),Dp=Tp(43,50),_p={"020":Ip.concat(Op,mp(21),23,24,Sp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Hp,mp(50)),"0220":Ip.concat(Op,mp(21),23,24,Sp,25,mp(26),mp(28),30,mp(31),33,bp,Tp(34,37),mp(38),40,mp(41),Hp,mp(50)),"0510":Mp.concat(Op,mp(21),23,24,pp,Ap,25,mp(26),mp(28),30,mp(31),Np,mp(41),Dp),"0511":Mp.concat(Op,mp(21),23,24,Sp,25,mp(26),mp(28),Tp(30,40),mp(41),Dp),"052":Mp.concat(Tp(0,24),vp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Dp),"070":Ep.concat(Op,mp(21),23,24,vp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Dp),"072":Ep.concat(Op,mp(21),23,24,wp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Hp,mp(50)),1200:Ip.concat(Cp,wp,Tp(28,33),bp,Tp(34,37),mp(38),40,mp(41),Hp,mp(50)),1201:Ip.concat(Cp,wp,Tp(28,40),mp(41),Hp,mp(50)),1220:Ip.concat(Cp,pp,Ap,Tp(28,40),mp(41),Dp),1221:Ip.concat(Cp,Sp,Tp(28,50)),150:Mp.concat(Tp(0,28),vp,Tp(29,50)),152:Mp.concat(Tp(0,28),wp,Tp(29,49),mp(50)),170:Ep.concat(Cp,wp,Tp(28,40),mp(41),Hp,mp(50)),1720:Ep.concat(Cp,wp,Tp(28,33),bp,Tp(34,37),mp(38),40,mp(41),Hp,mp(50))};_p["0221"]=_p["020"],_p["0310"]=_p["0220"],_p["0311"]=_p["020"],_p[1310]=_p[1220],_p[1311]=_p[1221],_p[1721]=_p[170];const kp=new lp({maxSize:400});function Lp(e,t){const n=`${e}-${t?1:0}`;let r=kp.get(n);return r||(r=new fp(e,t),kp.set(n,r)),r}class Rp extends Be{constructor(e,t,n=!1,r=-1){if(!Array.isArray(t)||0===t.length||t.length>2)throw new TypeError("Bad parsha argument");super(e,"Parashat "+t.join("-"),Ye.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){const t=null!=e?e:we.getLocaleName(),n=this.parsha;let r=we.gettext(n[0],e);if(2==n.length){r+=("he"==t?"־":"-")+we.gettext(n[1],e)}r=r.replace(/'/g,"’");return(we.gettext("Parashat",e)+" "+r).normalize()}basename(){return this.parsha.join("-")}url(){if(this.getDate().greg().getFullYear()<100)return;const e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}urlDateSuffix(){return le(this.getDate().greg()).replace(/-/g,"")}}const Yp=m.NISAN,Pp=m.IYYAR,Bp=m.SIVAN,jp=m.TAMUZ,Fp=m.AV,Up=m.ELUL,xp=m.TISHREI,Zp=m.CHESHVAN,$p=m.KISLEV,Vp=m.SHVAT,zp=m.ADAR_II,Kp=Ye.CHAG,Gp=Ye.LIGHT_CANDLES,Jp=Ye.YOM_TOV_ENDS,Wp=Ye.CHUL_ONLY,qp=Ye.IL_ONLY,Xp=Ye.LIGHT_CANDLES_TZEIS,Qp=Ye.CHANUKAH_CANDLES,ew=Ye.MAJOR_FAST,tw=Ye.MINOR_HOLIDAY,nw=Ye.EREV,rw=Ye.CHOL_HAMOED,ow="🫓",aw="🌿🍋",iw="Rosh Hashana II",sw="Erev Yom Kippur",cw="Yom Kippur",uw="Erev Sukkot",hw="Sukkot I",lw="Sukkot II",fw="Sukkot III (CH''M)",dw="Sukkot IV (CH''M)",gw="Sukkot V (CH''M)",mw="Sukkot VI (CH''M)",yw="Shmini Atzeret",Sw="Simchat Torah",pw="Sukkot II (CH''M)",ww="Sukkot VII (Hoshana Raba)",vw="Chanukah: 1 Candle",Aw="Tu BiShvat",bw="Erev Purim",Tw="Purim",Iw="Shushan Purim",Mw="Erev Pesach",Ew="Pesach I",Ow="Pesach II",Cw="Pesach II (CH''M)",Nw="Pesach III (CH''M)",Hw="Pesach IV (CH''M)",Dw="Pesach V (CH''M)",_w="Pesach VI (CH''M)",kw="Pesach VII",Lw="Pesach VIII",Rw="Pesach Sheni",Yw="Lag BaOmer",Pw="Erev Shavuot",Bw="Shavuot",jw="Shavuot I",Fw="Shavuot II",Uw="Tu B'Av",xw="Rosh Hashana LaBehemot",Zw="Erev Rosh Hashana",$w="Yom Yerushalayim",Vw="Ben-Gurion Day",zw="Family Day",Kw="Yitzhak Rabin Memorial Day",Gw="Herzl Day",Jw="Jabotinsky Day",Ww="Sigd",qw="Yom HaAliyah",Xw="Yom HaAliyah School Observance",Qw="Hebrew Language Day",ev={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:Vw,CHANUKAH_1_CANDLE:vw,EREV_PESACH:Mw,EREV_PURIM:bw,EREV_ROSH_HASHANA:Zw,EREV_SHAVUOT:Pw,EREV_SUKKOT:uw,EREV_YOM_KIPPUR:sw,FAMILY_DAY:zw,HEBREW_LANGUAGE_DAY:Qw,HERZL_DAY:Gw,JABOTINSKY_DAY:Jw,LAG_BAOMER:Yw,PESACH_I:Ew,PESACH_II:Ow,PESACH_III_CHM:Nw,PESACH_II_CHM:Cw,PESACH_IV_CHM:Hw,PESACH_SHENI:Rw,PESACH_VII:kw,PESACH_VIII:Lw,PESACH_VI_CHM:_w,PESACH_V_CHM:Dw,PURIM:Tw,ROSH_HASHANA_II:iw,ROSH_HASHANA_LABEHEMOT:xw,SHAVUOT:Bw,SHAVUOT_I:jw,SHAVUOT_II:Fw,SHMINI_ATZERET:yw,SHUSHAN_PURIM:Iw,SIGD:Ww,SIMCHAT_TORAH:Sw,SUKKOT_I:hw,SUKKOT_II:lw,SUKKOT_III_CHM:fw,SUKKOT_II_CHM:pw,SUKKOT_IV_CHM:dw,SUKKOT_VII_HOSHANA_RABA:ww,SUKKOT_VI_CHM:mw,SUKKOT_V_CHM:gw,TU_BAV:Uw,TU_BISHVAT:Aw,YITZHAK_RABIN_MEMORIAL_DAY:Kw,YOM_HAALIYAH:qw,YOM_HAALIYAH_SCHOOL_OBSERVANCE:Xw,YOM_KIPPUR:cw,YOM_YERUSHALAYIM:$w},tv=[{mm:xp,dd:2,desc:iw,flags:Kp|Jp,emoji:"🍏🍯"},{mm:xp,dd:9,desc:sw,flags:nw|Gp},{mm:xp,dd:10,desc:cw,flags:Kp|ew|Jp},{mm:xp,dd:14,desc:uw,flags:Wp|nw|Gp,emoji:aw},{mm:xp,dd:15,desc:hw,flags:Wp|Kp|Xp,emoji:aw},{mm:xp,dd:16,desc:lw,flags:Wp|Kp|Jp,emoji:aw},{mm:xp,dd:17,desc:fw,flags:Wp|rw,chmDay:1,emoji:aw},{mm:xp,dd:18,desc:dw,flags:Wp|rw,chmDay:2,emoji:aw},{mm:xp,dd:19,desc:gw,flags:Wp|rw,chmDay:3,emoji:aw},{mm:xp,dd:20,desc:mw,flags:Wp|rw,chmDay:4,emoji:aw},{mm:xp,dd:22,desc:yw,flags:Wp|Kp|Xp},{mm:xp,dd:23,desc:Sw,flags:Wp|Kp|Jp},{mm:xp,dd:14,desc:uw,flags:qp|nw|Gp,emoji:aw},{mm:xp,dd:15,desc:hw,flags:qp|Kp|Jp,emoji:aw},{mm:xp,dd:16,desc:pw,flags:qp|rw,chmDay:1,emoji:aw},{mm:xp,dd:17,desc:fw,flags:qp|rw,chmDay:2,emoji:aw},{mm:xp,dd:18,desc:dw,flags:qp|rw,chmDay:3,emoji:aw},{mm:xp,dd:19,desc:gw,flags:qp|rw,chmDay:4,emoji:aw},{mm:xp,dd:20,desc:mw,flags:qp|rw,chmDay:5,emoji:aw},{mm:xp,dd:22,desc:yw,flags:qp|Kp|Jp},{mm:xp,dd:21,desc:ww,flags:Gp|rw,chmDay:-1,emoji:aw},{mm:$p,dd:24,desc:vw,flags:nw|tw|Qp,emoji:"🕎1️⃣"},{mm:Vp,dd:15,desc:Aw,flags:tw,emoji:"🌳"},{mm:zp,dd:13,desc:bw,flags:nw|tw,emoji:"🎭️📜"},{mm:zp,dd:14,desc:Tw,flags:tw,emoji:"🎭️📜"},{mm:zp,dd:15,desc:Iw,flags:tw,emoji:"🎭️📜"},{mm:Yp,dd:14,desc:Mw,flags:qp|nw|Gp,emoji:"🫓🍷"},{mm:Yp,dd:15,desc:Ew,flags:qp|Kp|Jp,emoji:ow},{mm:Yp,dd:16,desc:Cw,flags:qp|rw,chmDay:1,emoji:ow},{mm:Yp,dd:17,desc:Nw,flags:qp|rw,chmDay:2,emoji:ow},{mm:Yp,dd:18,desc:Hw,flags:qp|rw,chmDay:3,emoji:ow},{mm:Yp,dd:19,desc:Dw,flags:qp|rw,chmDay:4,emoji:ow},{mm:Yp,dd:20,desc:_w,flags:qp|rw|Gp,chmDay:5,emoji:ow},{mm:Yp,dd:21,desc:kw,flags:qp|Kp|Jp,emoji:ow},{mm:Yp,dd:14,desc:Mw,flags:Wp|nw|Gp,emoji:"🫓🍷"},{mm:Yp,dd:15,desc:Ew,flags:Wp|Kp|Xp,emoji:"🫓🍷"},{mm:Yp,dd:16,desc:Ow,flags:Wp|Kp|Jp,emoji:ow},{mm:Yp,dd:17,desc:Nw,flags:Wp|rw,chmDay:1,emoji:ow},{mm:Yp,dd:18,desc:Hw,flags:Wp|rw,chmDay:2,emoji:ow},{mm:Yp,dd:19,desc:Dw,flags:Wp|rw,chmDay:3,emoji:ow},{mm:Yp,dd:20,desc:_w,flags:Wp|rw|Gp,chmDay:4,emoji:ow},{mm:Yp,dd:21,desc:kw,flags:Wp|Kp|Xp,emoji:ow},{mm:Yp,dd:22,desc:Lw,flags:Wp|Kp|Jp,emoji:ow},{mm:Pp,dd:14,desc:Rw,flags:tw},{mm:Pp,dd:18,desc:Yw,flags:tw,emoji:"🔥"},{mm:Bp,dd:5,desc:Pw,flags:nw|Gp,emoji:"⛰️🌸"},{mm:Bp,dd:6,desc:Bw,flags:qp|Kp|Jp,emoji:"⛰️🌸"},{mm:Bp,dd:6,desc:jw,flags:Wp|Kp|Xp,emoji:"⛰️🌸"},{mm:Bp,dd:7,desc:Fw,flags:Wp|Kp|Jp,emoji:"⛰️🌸"},{mm:Fp,dd:15,desc:Uw,flags:tw,emoji:"❤️"},{mm:Up,dd:1,desc:xw,flags:tw,emoji:"🐑"},{mm:Up,dd:29,desc:Zw,flags:nw|Gp,emoji:"🍏🍯"}],nv=[{firstYear:5727,mm:Pp,dd:28,desc:$w,chul:!0},{firstYear:5737,mm:$p,dd:6,desc:Vw,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:Vp,dd:30,desc:zw},{firstYear:5758,mm:Zp,dd:12,desc:Kw,friSatMovetoThu:!0},{firstYear:5764,mm:Pp,dd:10,desc:Gw,satPostponeToSun:!0},{firstYear:5765,mm:jp,dd:29,desc:Jw,satPostponeToSun:!0},{firstYear:5769,mm:Zp,dd:29,desc:Ww,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:Yp,dd:10,desc:qw,chul:!0},{firstYear:5777,mm:Zp,dd:7,desc:Xw},{firstYear:5773,mm:m.TEVET,dd:21,desc:Qw,friSatMovetoThu:!0}],rv=[ev.LAG_BAOMER,ev.LEIL_SELICHOT,ev.PESACH_SHENI,ev.EREV_PURIM,ev.PURIM_KATAN,ev.SHUSHAN_PURIM,ev.TU_BAV,ev.TU_BISHVAT,ev.ROSH_HASHANA_LABEHEMOT];class ov extends Be{basename(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}url(){if(this.getDate().greg().getFullYear()<100)return;const e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&Ye.IL_ONLY?e+"?i=on":e}urlDateSuffix(){const e=this.getDate().greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&Ye.SPECIAL_SHABBAT?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;const t=this.getDesc();return rv.includes(t)?["holiday","minor"]:["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}clone(){const e=new ov(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&Object.defineProperty(e,t,{value:this[t]});return e}}class av extends ov{urlDateSuffix(){return le(this.getDate().greg()).replace(/-/g,"")}}class iv extends ov{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return we.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const sv="Rosh Chodesh";class cv extends ov{constructor(e,t){super(e,`${sv} ${t}`,Ye.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=we.gettext(t,e).replace(/'/g,"’");return we.gettext(sv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}const uv="Shabbat Mevarchim Chodesh";class hv extends Be{constructor(e,t,n){if(super(e,`${uv} ${t}`,Ye.SHABBAT_MEVARCHIM),this.monthName=t,n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n==Oe.monthsInYear(t)?m.NISAN:n+1,o=new cp(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=we.gettext(this.monthName,e).replace(/'/g,"’");return we.gettext(uv,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}const lv=new Map;class fv{static addCalendar(e,t){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);lv.set(e,t)}static lookup(e,t,n){const r=lv.get(e);return"function"==typeof r?r(t,n):null}}const dv="5.4.5";function gv(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():Ye.LIGHT_CANDLES;void 0!==e?r||(s&(Ye.LIGHT_CANDLES_TZEIS|Ye.CHANUKAH_CANDLES)?i=!0:s&Ye.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=Ye.LIGHT_CANDLES_TZEIS);const c=i?n.havdalahMins:n.candleLightingMins,u=n.location,h=Boolean(n.useElevation),l=new QS(u,t,h),f=c?l.sunsetOffset(c,!0):l.tzeit(n.havdalahDeg);if(!isNaN(f.getTime()))return a?new op(t,s,f,u,n.havdalahMins,e,n):new rp(t,s,f,u,e,n)}const mv="Fast begins",yv="Fast ends";function Sv(e,t,n,r){const o=r.location,a=e.getDate();return new np(a,n,e.getFlags(),t,o,e,r)}class pv extends ov{constructor(e,t,n,r,o){super(e,t,n),this.eventTime=QS.roundTime(r);const a=o.getTimeFormatter();this.eventTimeStr=QS.formatTime(this.eventTime,a),this.location=o}}const wv=0,vv=2,Av=5,bv=6,Tv=m.NISAN,Iv=m.IYYAR;function Mv(e){if(e<5708)return null;let t;const n=new Oe(15,Tv,e).getDay();return t=n===wv?2:n===bv?3:e<5764?4:n===vv?5:4,new Oe(t,Iv,e)}const Ev="Yom Kippur Katan";class Ov extends ov{constructor(e,t){super(e,`${Ev} ${t}`,Ye.MINOR_FAST|Ye.YOM_KIPPUR_KATAN),this.nextMonthName=t,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${t}`}basename(){return this.getDesc()}render(e){const t=we.gettext(this.nextMonthName,e).replace(/'/g,"’");return we.gettext(Ev,e)+" "+t}renderBrief(e){return we.gettext(Ev,e)}url(){}}const Cv=Ye.CHAG,Nv=Ye.IL_ONLY,Hv=Ye.LIGHT_CANDLES_TZEIS,Dv=Ye.CHANUKAH_CANDLES,_v=Ye.MINOR_FAST,kv=Ye.SPECIAL_SHABBAT,Lv=Ye.MODERN_HOLIDAY,Rv=Ye.MAJOR_FAST,Yv=Ye.MINOR_HOLIDAY,Pv=Ye.EREV,Bv=m.NISAN,jv=m.TAMUZ,Fv=m.AV,Uv=m.TISHREI,xv=m.KISLEV,Zv=m.TEVET,$v=m.ADAR_I,Vv=m.ADAR_II,zv={emoji:"🇮🇱"},Kv=new lp({maxSize:400}),Gv=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function Jv(e){if("number"!=typeof e)throw new TypeError(`bad Hebrew year: ${e}`);if(e<1||e>32658)throw new RangeError(`Hebrew year ${e} out of range 1-32658`);const t=Kv.get(e);if(t)return t;const n=new Oe(1,Uv,e),r=new Oe(15,Bv,e),o=new Map;function a(...e){for(const t of e){const e=t.date.toString(),n=o.get(e);"object"==typeof n?n[0].getFlags()&Pv?n.unshift(t):n.push(t):o.set(e,[t])}}for(const t of tv){const n=new Oe(t.dd,t.mm,e),r=new ov(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new iv(n,e,Cv|Hv));const i=4===n.getDay()?4:3;a(new ov(new Oe(i,Uv,e),ev.TZOM_GEDALIAH,_v)),a(new ov(new Oe(Oe.dayOnOrBefore(6,7+n.abs())),ev.SHABBAT_SHUVA,kv));const s=Oe.shortKislev(e)?new Oe(1,Zv,e):new Oe(30,xv,e);a(new ov(s,ev.CHAG_HABANOT,Yv));for(let t=2;t<=8;t++){const n=new Oe(23+t,xv,e);a(new ov(n,`Chanukah: ${t} Candles`,Yv|Dv,{chanukahDay:t-1,emoji:"🕎"+Gv[t]}))}a(new ov(new Oe(32,xv,e),ev.CHANUKAH_8TH_DAY,Yv,{chanukahDay:8,emoji:"🕎"})),a(new av(new Oe(10,Zv,e),ev.ASARA_BTEVET,_v));const c=r.abs();a(new ov(new Oe(Oe.dayOnOrBefore(6,c-43)),ev.SHABBAT_SHEKALIM,kv),new ov(new Oe(Oe.dayOnOrBefore(6,c-30)),ev.SHABBAT_ZACHOR,kv),new ov(new Oe(c-(2===r.getDay()?33:31)),ev.TAANIT_ESTHER,_v));const u=Oe.dayOnOrBefore(6,c-14);a(new ov(new Oe(u-7),ev.SHABBAT_PARAH,kv),new ov(new Oe(u),ev.SHABBAT_HACHODESH,kv),new ov(new Oe(Oe.dayOnOrBefore(6,c-1)),ev.SHABBAT_HAGADOL,kv),new ov(6===r.prev().getDay()?r.onOrBefore(4):new Oe(14,Bv,e),ev.TAANIT_BECHOROT,_v)),a(new ov(new Oe(Oe.dayOnOrBefore(6,new Oe(1,Uv,e+1).abs()-4)),ev.LEIL_SELICHOT,Yv,{emoji:"🕍"})),0===r.getDay()&&a(new ov(new Oe(16,Vv,e),ev.PURIM_MESHULASH,Yv)),Oe.isLeapYear(e)&&(a(new ov(new Oe(14,$v,e),ev.PURIM_KATAN,Yv,{emoji:"🎭️"})),a(new ov(new Oe(15,$v,e),ev.SHUSHAN_PURIM_KATAN,Yv,{emoji:"🎭️"})));const h=function(e){if(e<5711)return null;let t=new Oe(27,Tv,e);return t.getDay()===Av?t=new Oe(26,Tv,e):t.getDay()===wv&&(t=new Oe(28,Tv,e)),t}(e);h&&a(new ov(h,ev.YOM_HASHOAH,Lv));const l=Mv(e);l&&a(new ov(l,ev.YOM_HAZIKARON,Lv,zv),new ov(l.next(),ev.YOM_HAATZMA_UT,Lv,zv));for(const t of nv)if(e>=t.firstYear){let n=new Oe(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||5!==r&&6!==r?t.friPostponeToSun&&5===r?n=new Oe(n.abs()+2):t.satPostponeToSun&&6===r&&(n=n.next()):n=n.onOrBefore(4);const o=t.chul?Lv:Lv|Nv,i=new ov(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let f,d=new Oe(17,jv,e);6===d.getDay()&&(d=new Oe(18,jv,e),f={observed:!0}),a(new ov(d,ev.TZOM_TAMMUZ,_v,f));let g,y=new Oe(9,Fv,e),S=ev.TISHA_BAV;6===y.getDay()&&(y=y.next(),g={observed:!0},S+=" (observed)");const p=y.abs();a(new ov(new Oe(Oe.dayOnOrBefore(6,p)),ev.SHABBAT_CHAZON,kv),new ov(y.prev(),ev.EREV_TISHA_BAV,Pv|Rv,g),new ov(y,S,Rv,g),new ov(new Oe(Oe.dayOnOrBefore(6,p+7)),ev.SHABBAT_NACHAMU,kv));const w=Oe.monthsInYear(e);for(let t=1;t<=w;t++){const n=Oe.getMonthName(t,e);30===(t===Bv?Oe.daysInMonth(Oe.monthsInYear(e-1),e-1):Oe.daysInMonth(t-1,e))?(a(new cv(new Oe(1,t,e),n)),a(new cv(new Oe(30,t-1,e),n))):t!==Uv&&a(new cv(new Oe(1,t,e),n))}for(let t=m.IYYAR;t<=w;t++){const n=t+1;if(n===Uv||n===m.CHESHVAN||n===Zv)continue;let r=new Oe(29,t,e);const o=r.getDay();5!==o&&6!==o||(r=r.onOrBefore(4));const i=Oe.getMonthName(n,e);a(new Ov(r,i))}const v=Lp(e,!1).find(15);a(new ov(v,ev.SHABBAT_SHIRAH,kv));const A=function(e){const t=Oe.isLeapYear(e),n=t?Vv:Bv,r=t?20:1,o=Oe.hebrew2abs(e,n,r);for(let e=0;e<=40;e++){const t=o+e;if((t+1373429)%10227==172)return t}return 0}(e);if(A){const e=new Oe(A);a(new ov(e,ev.BIRKAT_HACHAMAH,Yv,{emoji:"☀️"}))}return Kv.set(e,o),o}function Wv(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const qv={shacharit:!1,mincha:!1,allCongs:!1};function Xv(e,t){return Qv(e,t,!0)}function Qv(e,t,n){const r=function(e,t){const n=Oe.isLeapYear(e),r=Oe.monthsInYear(e);let o=new Oe(9,m.AV,e);6===o.getDay()&&(o=o.next());let a=new Oe(15,m.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[],s=i.concat(Wv(1,r).map((t=>new Oe(1,t,e))),Wv(1,r).filter((t=>30===Oe.daysInMonth(t,e))).map((t=>new Oe(30,t,e))),new Oe(2,m.TISHREI,e),Wv(1,Oe.daysInMonth(m.NISAN,e)).map((t=>new Oe(t,m.NISAN,e))),new Oe(18,m.IYYAR,e),Wv(1,8-(t?1:0)).map((t=>new Oe(t,m.SIVAN,e))),o,new Oe(15,m.AV,e),new Oe(29,m.ELUL,e),Wv(9,24-(t?1:0)).map((t=>new Oe(t,m.TISHREI,e))),Wv(25,33).map((t=>new Oe(t,m.KISLEV,e))),new Oe(15,m.SHVAT,e),new Oe(14,m.ADAR_II,e),a,n?new Oe(14,m.ADAR_I,e):[]),c=i.concat(Wv(1,13).map((t=>new Oe(t,m.SIVAN,e))),Wv(20,31).map((t=>new Oe(t,m.TISHREI,e))),new Oe(14,m.IYYAR,e),e>=5708?Mv(e).next():[],e>=5727?new Oe(28,m.IYYAR,e):[]),u=[new Oe(29,m.ELUL,e-1),new Oe(9,m.TISHREI,e),new Oe(14,m.IYYAR,e)];return{none:s.map((e=>e.abs())).sort(((e,t)=>e-t)),some:c.map((e=>e.abs())).sort(((e,t)=>e-t)),yesPrev:u.map((e=>e.abs())).sort(((e,t)=>e-t))}}(e.yy,t),o=e.abs();if(r.none.indexOf(o)>-1)return qv;const a=e.getDay(),i={shacharit:!1,mincha:!1,allCongs:!1};-1===r.some.indexOf(o)&&(i.allCongs=!0),6!==a&&(i.shacharit=!0);const s=o+1;if(n&&-1===r.yesPrev.indexOf(s)){const e=Qv(new Oe(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:qv}const eA=m.TISHREI;function tA(t){if("number"==typeof t)return t;if(e.greg.isDate(t))return e.greg.greg2abs(t);if(Oe.isHDate(t))return t.abs();throw new TypeError(`Invalid date type: ${t}`)}function nA(t){if(t.start&&!t.end||t.end&&!t.start)throw new TypeError("Both options.start and options.end are required");if(t.start&&t.end)return[tA(t.start),tA(t.end)];const n=Boolean(t.isHebrewYear),r=function(e){return void 0!==e.year?Number(e.year):e.isHebrewYear?(new Oe).getFullYear():(new Date).getFullYear()}(t);if(isNaN(r))throw new RangeError(`Invalid year ${t.year}`);if(n&&r<1)throw new RangeError(`Invalid Hebrew year ${r}`);const o=function(e){if(e.month){if(e.isHebrewYear)return Oe.monthNum(e.month);if("number"==typeof e.month)return e.month}return NaN}(t),a=Number(t.numYears)||1;return n?function(e,t,n){const r=new Oe(1,e||eA,t);let o=r.abs();const a=e?o+r.daysInMonth():new Oe(1,eA,t+n).abs()-1;!e&&t>1&&o--;return[o,a]}(o,r,a):function(t,n,r){const o=t?t-1:0,a=new Date(n,o,1);n<100&&a.setFullYear(n);const i=e.greg.greg2abs(a);let s;if(t)s=i+e.greg.daysInMonth(t,n)-1;else{const t=n+r,o=new Date(t,0,1);t<100&&o.setFullYear(t),s=e.greg.greg2abs(o)-1}return[i,s]}(o,r,a)}const rA=m.NISAN,oA=m.SIVAN,aA=m.ELUL,iA=m.TISHREI,sA=Ye.LIGHT_CANDLES,cA=Ye.YOM_TOV_ENDS,uA=Ye.CHUL_ONLY,hA=Ye.IL_ONLY,lA=Ye.LIGHT_CANDLES_TZEIS,fA=Ye.CHANUKAH_CANDLES,dA=Ye.MINOR_FAST,gA=Ye.SPECIAL_SHABBAT,mA=Ye.MODERN_HOLIDAY,yA=Ye.MAJOR_FAST,SA=Ye.ROSH_CHODESH,pA=Ye.PARSHA_HASHAVUA,wA=Ye.DAF_YOMI,vA=Ye.MISHNA_YOMI,AA=Ye.NACH_YOMI,bA=Ye.YERUSHALMI_YOMI,TA=Ye.OMER_COUNT,IA=Ye.SHABBAT_MEVARCHIM,MA=Ye.MINOR_HOLIDAY,EA=Ye.EREV,OA=Ye.CHOL_HAMOED,CA=Ye.YOM_KIPPUR_KATAN,NA=new Set,HA={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,fastEndDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,appendHebrewToSubject:1,mask:1,yomKippurKatan:1,hour12:1,dailyLearning:1,useElevation:1};const DA={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},_A={281184:40,294801:30,293067:30};function kA(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof qS))throw new TypeError("options.candlelighting requires valid options.location");if("number"==typeof e.havdalahMins&&"number"==typeof e.havdalahDeg)throw new TypeError("options.havdalahMins and options.havdalahDeg are mutually exclusive");let n=Number(e.candleLightingMins)||18;t.getIsrael()&&18===Math.abs(n)&&(n=function(e,t){const n=e.getGeoId();if(n){const e=_A[n];if("number"==typeof e)return e}const r=e.getShortName();if(r){const e=DA[r];if("number"==typeof e)return e}return t}(t,n)),e.candleLightingMins=-1*Math.abs(n),"number"==typeof e.havdalahMins?e.havdalahMins=Math.abs(e.havdalahMins):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=8.5,"number"!=typeof e.fastEndDeg&&(e.fastEndDeg=7.0833333)}function LA(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask||0;t&SA&&delete e.noRoshChodesh;t&mA&&delete e.noModern;t&dA&&delete e.noMinorFast;t&gA&&delete e.noSpecialShabbat;t&pA&&(e.sedrot=!0);t&(wA|vA|AA|bA)&&(e.dailyLearning=e.dailyLearning||{},t&wA&&(e.dailyLearning.dafYomi=!0),t&vA&&(e.dailyLearning.mishnaYomi=!0),t&AA&&(e.dailyLearning.nachYomi=!0),t&bA&&(e.dailyLearning.yerushalmi=1));t&TA&&(e.omer=!0);t&IA&&(e.shabbatMevarchim=!0);t&CA&&(e.yomKippurKatan=!0);return t}(e);const n=e.il||(null===(t=e.location)||void 0===t?void 0:t.getIsrael())||!1;let r=0;if(e.noHolidays||(r|=SA|cA|dA|gA|mA|yA|MA|EA|OA|sA|lA|fA),e.candlelighting&&(r|=sA|lA|cA),e.noRoshChodesh&&(r&=~SA),e.noModern&&(r&=~mA),e.noMinorFast&&(r&=~dA),e.noSpecialShabbat&&(r&=~gA,r&=~IA),r|=n?hA:uA,e.sedrot&&(r|=pA),e.omer&&(r|=TA),e.shabbatMevarchim&&(r|=IA),e.yomKippurKatan&&(r|=CA),e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=wA),t.mishnaYomi&&(r|=vA),t.nachYomi&&(r|=AA),t.yerushalmi&&(r|=bA)}return r}const RA=sA|lA|fA|cA,YA=new qS(0,0,!1,"UTC");function PA(e){return e.observedInIsrael()}function BA(e){return e.observedInDiaspora()}class jA{static calendar(t={}){kA(t=Object.assign({},t));const n=t.location=t.location||YA,r=t.il=t.il||n.getIsrael()||!1,o="number"==typeof t.mask;if(t.mask=LA(t),t.ashkenazi||t.locale){if(t.locale&&"string"!=typeof t.locale)throw new TypeError(`Invalid options.locale: ${t.locale}`);const e=t.ashkenazi?"ashkenazi":t.locale;if(!we.useLocale(e))throw new TypeError(`Locale '${e}' not found; did you forget to import @hebcal/locales?`)}else we.useLocale("en");const a=[];let i,s,c=-1,u=-1,h=-1;const l=nA(t);!function(e){for(const t of Object.keys(e))void 0!==HA[t]||NA.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),NA.add(t))}(t);const f=l[0],d=l[1];e.greg.abs2greg(f).getFullYear()<100&&(t.candlelighting=!1);for(let e=f;e<=d;e++){const n=new Oe(e),l=n.getFullYear();l!=h&&(h=l,s=Jv(h),t.sedrot&&(i=Lp(h,r)),t.omer&&(c=Oe.hebrew2abs(h,rA,16),u=Oe.hebrew2abs(h,oA,5)));const f=a.length,d=n.getDay(),g=5===d,m=6===d;let y;const S=s.get(n.toString())||[];for(const e of S)y=UA(y,a,e,t,g,m,o);if(t.sedrot&&m){const t=i.lookup(e);t.chag||a.push(new Rp(n,t.parsha,r,t.num))}const p=t.dailyLearning;if("object"==typeof p){const e=$A(n,p,r);a.push(...e)}if(t.omer&&e>=c&&e<=u){const r=VA(n,e-c+1,t);a.push(r)}if(m&&(t.molad||t.shabbatMevarchim)){const e=xA(n,t);a.push(...e)}if(!y&&t.candlelighting&&(g||m)&&(y=gv(void 0,n,t,g,m),g&&y&&i&&(y.memo=i.getString(e,t.locale))),y instanceof op&&(0===t.havdalahMins||0===t.havdalahDeg)&&(y=void 0),y&&a.push(y),t.addHebrewDates||t.addHebrewDatesForEvents&&f!=a.length){const e=new je(n);f==a.length?a.push(e):a.splice(f,0,e)}}return a}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=F(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=M(r);let a=n.mm,i=n.dd;return a===B&&!o||a===j&&o?a=E(e):a!==L||30!==i||D(e)?a===R&&30===i&&_(e)?(a=Y,i=1):a===B&&30===i&&o&&!M(e)&&(a=k,i=1):(a=R,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new Oe(n)}static getYahrzeit(e,t){const n=function(e,t){let n=F(t);if(!(e<=n.yy))return n.mm!==L||30!==n.dd||D(n.yy+1)?n.mm===R&&30===n.dd&&_(n.yy+1)?n=I(b(e,Y,1)-1):n.mm===j?n.mm=E(e):n.mm!==B||30!==n.dd||M(e)||(n.dd=30,n.mm=P):n=I(b(e,R,1)-1),n.mm!==L||30!==n.dd||D(e)?n.mm===R&&30===n.dd&&_(e)&&(n.mm=Y,n.dd=1):(n.mm=R,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new Oe(n)}static getHolidaysForYear(e){return Jv(e)}static getHolidaysForYearArray(e,t){const n=Jv(e),r=Oe.hebrew2abs(e,iA,1),o=Oe.hebrew2abs(e+1,iA,1)-1;let a=[];const i=t?PA:BA;for(let e=r;e<=o;e++){const t=new Oe(e),r=n.get(t.toString());if(r){const e=r.filter(i);a=a.concat(e)}}return a}static getHolidaysOnDate(e,t){const n=Oe.isHDate(e)?e:new Oe(e),r=n.toString(),o=Jv(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const a=t?PA:BA;return o.filter(a)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new Oe(e),r=n.after(5),o=n.next();return!(!FA(r,t)||FA(n,t)||!FA(o,t))}static reformatTimeStr(e,t,n){return tp(e,t,n)}static version(){return dv}static getSedra(e,t){return Lp(e,t)}static hallel(e,t){return function(e,t){const n=e.filter((e=>{const t=e.getDesc(),n=e.getDate(),r=n.getMonth(),o=n.getDate();return t.startsWith("Chanukah")||t.startsWith("Shavuot")||t.startsWith("Sukkot")||r===m.NISAN&&(15===o||16===o)&&e.getFlags()&Ye.CHAG||"Yom HaAtzma'ut"===t||"Yom Yerushalayim"===t})).map((e=>e.getDate().abs())),r=t.abs();return n.includes(r)?2:e.filter((e=>{const t=e.getDesc();return e.getFlags()&Ye.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t})).map((e=>e.getDate().abs())).includes(r)?1:0}(jA.getHolidaysForYearArray(e.getFullYear(),t),e)}static tachanun(e,t){return Xv(e,t)}}function FA(e,t){return 0!==(jA.getHolidaysOnDate(e,t)||[]).filter((e=>e.getFlags()&Ye.CHAG)).length}function UA(e,t,n,r,o,a,i){const s=r.il||!1;if(!n.observedIn(s))return e;const c=n.getFlags();if(!r.yomKippurKatan&&c&CA||r.noModern&&c&mA)return e;const u=Boolean(c&yA),h=Boolean(c&dA);if(r.candlelighting&&(u||h)&&(n=function(e,t){const n=e.getDesc();if("Yom Kippur"===n)return e;const r=(e=e.clone()).getDate(),o=r.greg(),a=t.location,i=t.fastEndDeg,s=Boolean(t.useElevation),c=new QS(a,o,s);if("Erev Tish'a B'Av"===n){const n=c.sunset();isNaN(n.getTime())||(e.startEvent=Sv(e,n,mv,t))}else if(n.startsWith("Tish'a B'Av")){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Sv(e,n,yv,t))}else{const n=c.alotHaShachar();if(isNaN(n.getTime())||(e.startEvent=Sv(e,n,mv,t)),5!==o.getDay()&&(14!==r.getDate()||r.getMonth()!==m.NISAN)){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Sv(e,n,yv,t))}}return e}(n,r),n.startEvent&&(u||h&&!r.noMinorFast)&&t.push(n.startEvent)),c&Number(r.mask)||!c&&!i){if(r.candlelighting&&c&RA){const t=n.getDate();if(e=gv(n,t,r,o,a),c&fA&&e&&!r.noHolidays){const i=function(e,t,n){const r=n.location,o=Boolean(n.useElevation),a=new QS(r,t.greg(),o).beinHaShmashos();if(isNaN(a.getTime()))return null;const i=new pv(t,e.getDesc(),e.getFlags(),a,r);return i.emoji=e.emoji,i.chanukahDay=e.chanukahDay,i}(n,t,r);i&&((o||a)&&(i.eventTime=e.eventTime,i.eventTimeStr=e.eventTimeStr),n=i),e=void 0}}(!r.noHolidays||r.yomKippurKatan&&c&CA)&&t.push(n)}return n.endEvent&&(u||h&&!r.noMinorFast)&&t.push(n.endEvent),e}function xA(e,t){const n=[],r=e.getMonth(),o=e.getDate();if(r!=aA&&o>=23&&o<=29){const o=e.getFullYear(),a=r==Oe.monthsInYear(o)?rA:r+1;if(t.molad&&n.push(new up(e,o,a,t)),t.shabbatMevarchim){const r=Oe.getMonthName(a,o),i=new cp(o,a).render(t.locale||"en",t);n.push(new hv(e,r,i))}}return n}function ZA(e,t){return"yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e}function $A(e,t,n){const r=[];for(const[o,a]of Object.entries(t))if(a){const t=ZA(o,a),i=fv.lookup(t,e,n);i&&r.push(i)}return r}function VA(e,t,n){const r=new hp(e,t);if(n.candlelighting){const t=n.location,o=new QS(t,e.prev(),!1).tzeit(7.0833);isNaN(o.getTime())||(r.alarm=o)}return r}return e.AsaraBTevetEvent=av,e.CandleLightingEvent=rp,e.DailyLearning=fv,e.Event=Be,e.GeoLocation=$S,e.HDate=Oe,e.HavdalahEvent=op,e.HebrewCalendar=jA,e.HebrewDateEvent=je,e.HolidayEvent=ov,e.Locale=we,e.Location=qS,e.MevarchimChodeshEvent=hv,e.Molad=cp,e.MoladEvent=up,e.NOAACalculator=zS,e.OmerEvent=hp,e.ParshaEvent=Rp,e.RoshChodeshEvent=cv,e.RoshHashanaEvent=iv,e.Sedra=fp,e.TimedEvent=np,e.Zmanim=QS,e.flags=Ye,e.gematriya=V,e.gematriyaStrToNum=z,e.holidayDesc=ev,e.months=m,e.parshiot=dp,e.version=dv,e}({});
|
|
1
|
+
/*! @hebcal/core v5.4.6 */
|
|
2
|
+
var hebcal=function(e){"use strict";const t=[0,31,28,31,30,31,30,31,31,30,31,30,31],n=[t,t.slice()];function r(e,t){return e-t*Math.floor(e/t)}function o(e,t){return Math.floor(e/t)}n[1][2]=29,e.greg=void 0,function(e){function t(e){return!(e%4||!(e%100)&&e%400)}function a(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function i(e,n,r){const a=e-1;return 365*a+o(a,4)-o(a,100)+o(a,400)+o(367*n-362,12)+(n<=2?0:t(e)?-1:-2)+r}e.isLeapYear=t,e.daysInMonth=function(e,r){return n[+t(r)][e]},e.isDate=a,e.greg2abs=function(e){if(!a(e))throw new TypeError(`Argument not a Date: ${e}`);return i(e.getFullYear(),e.getMonth()+1,e.getDate())},e.abs2greg=function(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const n=function(e){const t=e-1,n=o(t,146097),a=r(t,146097),i=o(a,36524),s=r(a,36524),c=o(s,1461),u=o(r(s,1461),365),h=400*n+100*i+4*c+u;return 4!==i&&4!==u?h+1:h}(e=Math.trunc(e)),a=o(12*(e-i(n,1,1)+(e<i(n,3,1)?0:t(n)?1:2))+373,367),s=e-i(n,a,1)+1,c=new Date(n,a-1,s);return n<100&&n>=0&&c.setFullYear(n),c}}(e.greg||(e.greg={}));const a=1,i=2,s=4,c=6,u=7,h=8,l=9,f=10,d=12,g=13,m={NISAN:1,IYYAR:2,SIVAN:3,TAMUZ:4,AV:5,ELUL:6,TISHREI:7,CHESHVAN:8,KISLEV:9,TEVET:10,SHVAT:11,ADAR_I:12,ADAR_II:13},y=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],S=[y.concat(["Adar","Nisan"]),y.concat(["Adar I","Adar II","Nisan"])],p=new Map,w=-1373428,v=365.24682220597794;function A(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${t}' not a number: ${e}`)}function b(e,t,n){if(A(e,"year"),A(t,"month"),A(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<u){for(let t=u;t<=E(e);t++)r+=O(t,e);for(let n=a;n<t;n++)r+=O(n,e)}else for(let n=u;n<t;n++)r+=O(n,e);return w+N(e)+r-1}function T(e){return w+N(e)}function I(e){if(A(e,"abs"),(e=Math.trunc(e))<=w)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-w)/v);for(;T(t)<=e;)++t;--t;let n=e<b(t,1,1)?7:1;for(;e>b(t,n,O(n,t));)++n;return{yy:t,mm:n,dd:1+e-b(t,n,1)}}function M(e){return(1+7*e)%19<7}function E(e){return+M(e)+12}function O(e,t){switch(e){case i:case s:case c:case f:case g:return 29}return e===d&&!M(t)||e===h&&!D(t)||e===l&&_(t)?29:30}function C(e,t){if(A(e,"month"),A(t,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return S[+M(t)][e]}function N(e){const t=p.get(e);if("number"==typeof t)return t;const n=function(e){const t=e-1,n=235*Math.floor(t/19)+t%19*12+Math.floor((t%19*7+1)/19),r=204+n%1080*793,o=5+12*n+793*Math.floor(n/1080)+Math.floor(r/1080),a=r%1080+o%24*1080,i=1+29*n+Math.floor(o/24);let s=i;(a>=19440||2==i%7&&a>=9924&&!M(e)||1==i%7&&a>=16789&&M(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return p.set(e,n),n}function H(e){return N(e+1)-N(e)}function D(e){return H(e)%10==5}function _(e){return H(e)%10==3}const k=m.NISAN,L=m.CHESHVAN,R=m.KISLEV,Y=m.TEVET,P=m.SHVAT,B=m.ADAR_I,j=m.ADAR_II;function F(t){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(t))return t;if("number"==typeof t)return I(t);if(e.greg.isDate(t)){return I(e.greg.greg2abs(t))}throw new TypeError(`Argument not a Date: ${t}`)}const U={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},x=new Map,Z=new Map;for(const[e,t]of Object.entries(U))x.set(e,t),Z.set(t,e);function $(e){const t=[];for(;e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}let n,r=100;for(n=400;n>e;n-=r)n===r&&(r/=10);t.push(n),e-=n}return t}function V(e){const t=parseInt(e,10);if(!t)throw new TypeError(`invalid parameter to gematriya ${e}`);let n="";const r=Math.floor(t/1e3);if(r>0&&5!==r){const e=$(r);for(const t of e)n+=Z.get(t);n+="׳"}const o=$(t%1e3);if(1===o.length)return n+Z.get(o[0])+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=Z.get(o[e]);return n}function z(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*z(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=x.get(n);"number"==typeof e&&(t+=e)}return t}const K={en:{infix:"within ",infix26:"within ",words:["","Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"]},he:{infix:"שֶׁבְּ",infix26:"שֶׁבִּ",words:["","חֶֽסֶד","גְבוּרָה","תִּפאֶרֶת","נֶּֽצַח","הוֹד","יְּסוֹד","מַּלְכוּת"]},translit:{infix:"sheb'",infix26:"shebi",words:["","Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"]}};function G(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}function J(e){return[Math.floor((e-1)/7)+1,e%7||7]}function W(e,t){return G(e),"he"===t?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";11===e?r+="אַחַד "+ae:12===e?r+="שְׁנֵים "+ae:12<e&&e<20?r+=X[n]+" "+ae:e>9&&(r+=X[n],n&&(r+=" ",r+=3===t?"וּ":"וְ"));e>2?((e>20||10===e||20===e)&&(r+=q[t]),r+=e<11?X[n]+" "+ee+" ":" "+re+" "):r+=1===e?oe+" ":te+" ";if(e>6){r=r.trim(),r+=", שְׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?X[t]+" "+ne+" ":1===t?"שָׁבֽוּעַ "+X[1]+" ":Q+" "+ne+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?X[n]+" "+ee+" ":1===n?oe+" ":te+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(e):function(e){const[t,n]=J(e),r=1===e?"day":"days";let o=`Today is ${e} ${r}`;if(t>1||7===e){const e=7===n,r=e?t:t-1;if(o+=`, which is ${r} ${1===r?"week":"weeks"}`,!e){o+=` and ${n} ${1===n?"day":"days"}`}}return o+" of the Omer"}(e)}const q=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],X=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],Q="שְׁנֵי",ee="יָמִים",te=Q+" "+ee,ne="שָׁבוּעוֹת",re="יוֹם",oe=re+" "+X[1],ae="עָשָׂר";const ie=new Map;const se=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ce(e,t){const n=function(e){const t=ie.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:e});return ie.set(e,n),n}(e).format(t),r=se.exec(n);if(null===r)throw new Error(`Unable to parse formatted string: ${n}`);let o=r[4];return"24"===o&&(o="00"),r[3]=ue(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function ue(e){return e<0?"-00"+ue(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function he(e){return e<10?"0"+e:String(e)}function le(e){return ue(e.getFullYear())+"-"+he(e.getMonth()+1)+"-"+he(e.getDate())}var fe={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Tevet:["Teves"]}}},de={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Adar:["אַדָר"],"Adar I":["אַדָר א׳"],"Adar II":["אַדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"]}}};const ge={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},me={h:"he",a:"ashkenazi",s:"en","":"en"},ye=new Map;let Se,pe;class we{static lookupTranslation(e,t){const n=("string"==typeof t&&ye.get(t.toLowerCase())||Se)[e];if((null==n?void 0:n.length)&&n[0].length)return n[0]}static gettext(e,t){const n=this.lookupTranslation(e,t);return void 0===n?e:n}static addLocale(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);ye.set(e.toLowerCase(),t.contexts[""])}static addTranslation(e,t,n){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const r=ye.get(e.toLowerCase());if(!r)throw new TypeError(`Unknown locale: ${e}`);if("string"!=typeof t||0===t.length)throw new TypeError(`Invalid id: ${t}`);const o=Array.isArray(n);if(o){const e=n[0];if("string"!=typeof e||0===e.length)throw new TypeError(`Invalid translation array: ${n}`)}else if("string"!=typeof n)throw new TypeError(`Invalid translation: ${n}`);r[t]=o?n:[n]}static addTranslations(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const n=ye.get(e.toLowerCase());if(!n)throw new TypeError(`Unknown locale: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);const r=t.contexts[""];Object.assign(n,r)}static useLocale(e){const t=e.toLowerCase(),n=ye.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return pe=me[t]||t,Se=n,Se}static getLocaleName(){return pe}static getLocaleNames(){return Array.from(ye.keys()).sort(((e,t)=>e.localeCompare(t)))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||pe;if(!n)return this.getEnOrdinal(e);switch(n){case"en":case"s":case"a":case"ashkenazi":case"ashkenazi_litvish":case"ashkenazi_poylish":case"ashkenazi_standard":return this.getEnOrdinal(e);case"es":return e+"º";case"h":case"he":case"he-x-nonikud":return String(e);default:return e+"."}}static getEnOrdinal(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}static hebrewStripNikkud(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}we.addLocale("en",ge),we.addLocale("s",ge),we.addLocale("",ge),we.useLocale("en"),we.addLocale("ashkenazi",fe),we.addLocale("a",fe),we.addLocale("he",de),we.addLocale("h",de);const ve=de.contexts[""],Ae={};for(const[e,t]of Object.entries(ve))Ae[e]=[we.hebrewStripNikkud(t[0])];const be={headers:de.headers,contexts:{"":Ae}};we.addLocale("he-x-NoNikud",be);const Te="day",Ie="week",Me="month",Ee="year";class Oe{constructor(t,n,r){if(2===arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3===arguments.length){this.dd=this.mm=1;const e="string"==typeof r?parseInt(r,10):r;if(isNaN(e))throw new TypeError(`HDate called with bad year argument: ${r}`);this.yy=e,function(e,t){e.mm=Oe.monthNum(t),Ce(e)}(this,n);const i="string"==typeof t?parseInt(t,10):t;if(isNaN(i))throw new TypeError(`HDate called with bad day argument: ${t}`);a=i,(o=this).dd=a,Ce(o)}else{null==t&&(t=new Date);const n="number"!=typeof t||isNaN(t)?e.greg.isDate(t)?e.greg.greg2abs(t):void 0!==t.yy?t:null:t;if(null===n)throw new TypeError(`HDate called with bad argument: ${t}`);const r="number"==typeof n,o=r?I(n):n;this.yy=o.yy,this.mm=o.mm,this.dd=o.dd,r&&(this.rd=n)}var o,a}getFullYear(){return this.yy}isLeapYear(){return M(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=E(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return O(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}greg(){return e.greg.abs2greg(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=b(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return b(e,t,n)}getMonthName(){return C(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||we.getLocaleName(),r=this.getDate(),o=we.gettext(this.getMonthName(),n).replace(/'/g,"’"),a=we.ordinal(r,n),i=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=we.lookupTranslation("of",e);if(t)return" "+t;if(e.startsWith("ashkenazi"))return" of";return""}(n),s=`${a}${i} ${o}`;if(t){return`${s}, ${this.getFullYear()}`}return s}renderGematriya(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.getDate(),n=e?"he-x-NoNikud":"he",r=we.gettext(this.getMonthName(),n),o=this.getFullYear();return V(t)+" "+r+" "+V(o)}before(e){return He(e,this,-1)}onOrBefore(e){return He(e,this,0)}nearest(e){return He(e,this,3)}onOrAfter(e){return He(e,this,6)}after(e){return He(e,this,7)}next(){return new Oe(this.abs()+1)}prev(){return new Oe(this.abs()-1)}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(e="string"==typeof e?parseInt(e,10):e))return new Oe(this);if(t=function(e){switch(e){case"d":return Te;case"w":return Ie;case"M":return Me;case"y":return Ee}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case Te:case Ie:case Me:case Ee:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===Te)return new Oe(this.abs()+e);if(t===Ie)return new Oe(this.abs()+7*e);if(t===Ee)return new Oe(this.getDate(),this.getMonth(),this.getFullYear()+e);if(t===Me){let t=new Oe(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new Oe(t.abs()+n*t.daysInMonth());return t}throw new TypeError(`Invalid units '${t}'`)}subtract(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}deltaDays(e){if(!Oe.isHDate(e))throw new TypeError(`Bad argument: ${e}`);return this.abs()-e.abs()}isSameDate(e){return!!Oe.isHDate(e)&&(this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd)}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return M(e)}static monthsInYear(e){return E(e)}static daysInMonth(e,t){return O(e,t)}static getMonthName(e,t){return C(e,t)}static monthNum(e){if("number"==typeof e){if(isNaN(e)||e>14)throw new RangeError(`Invalid month number: ${e}`);return e}return e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57?parseInt(e,10):Oe.monthFromName(e)}static daysInYear(e){return H(e)}static longCheshvan(e){return D(e)}static shortKislev(e){return _(e)}static monthFromName(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`Invalid month name: ${e}`);return e}return function(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`Invalid month name: ${e}`);return e}let t=e.trim().toLowerCase();switch("ב"===t[0]&&(t=t.substring(1)),t[0]){case"n":case"נ":if("o"===t[1])break;return m.NISAN;case"i":return m.IYYAR;case"e":return m.ELUL;case"c":case"ח":return m.CHESHVAN;case"k":case"כ":return m.KISLEV;case"s":switch(t[1]){case"i":return m.SIVAN;case"h":return m.SHVAT}break;case"t":switch(t[1]){case"a":return m.TAMUZ;case"i":return m.TISHREI;case"e":return m.TEVET}break;case"a":switch(t[1]){case"v":return m.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II}break;case"ס":return m.SIVAN;case"ט":return m.TEVET;case"ש":return m.SHVAT;case"א":switch(t[1]){case"ב":return m.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II;case"י":return m.IYYAR;case"ל":return m.ELUL}break;case"ת":switch(t[1]){case"מ":return m.TAMUZ;case"ש":return m.TISHREI}}throw new RangeError(`Unable to parse month name: ${e}`)}(we.hebrewStripNikkud(e))}static dayOnOrBefore(e,t){return t-(t-e)%7}static isHDate(e){return null!==e&&"object"==typeof e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd&&"function"==typeof e.greg&&"function"==typeof e.abs}static fromGematriyaString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;const n=e.split(" ").filter((e=>0!==e.length)),r=n.length;if(3!==r&&4!==r)throw new RangeError(`Unable to parse gematriya string: "${e}"`);const o=z(n[0]),a=3===r?n[1]:n[1]+" "+n[2],i=Oe.monthFromName(a);let s=z(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new Oe(o,i,s)}}function Ce(e){Ne(e),function(e){e.dd<1&&(e.mm===m.TISHREI&&(e.yy-=1),e.dd+=O(e.mm,e.yy),e.mm-=1,Ce(e));e.dd>O(e.mm,e.yy)&&(e.mm===m.ELUL&&(e.yy+=1),e.dd-=O(e.mm,e.yy),e.mm===E(e.yy)?e.mm=1:e.mm+=1,Ce(e));Ne(e)}(e)}function Ne(e){e.mm!==m.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=E(e.yy),e.yy-=1,Ce(e)):e.mm>E(e.yy)&&(e.mm-=E(e.yy),e.yy+=1,Ce(e)):(e.mm-=1,Ce(e)),delete e.rd}function He(e,t,n){return new Oe(Oe.dayOnOrBefore(e,t.abs()+n))}var De={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Shabbat:["Shabbos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha’aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH’’M)"],"Sukkot III (CH''M)":["Sukkos III (CH’’M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH’’M)"],"Sukkot V (CH''M)":["Sukkos V (CH’’M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH’’M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta’anis Bechoros"],"Ta'anit Esther":["Ta’anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],"Asara B'Tevet":["Asara B’Teves"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}}},_e={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Shabbat:["שַׁבָּת"],"Daf Yomi":["דַף יוֹמִי"],Parashat:["פָּרָשַׁת"],"Achrei Mot":["אַחֲרֵי מוֹת"],Balak:["בָּלָק"],Bamidbar:["בְּמִדְבַּר"],Bechukotai:["בְּחֻקֹּתַי"],"Beha'alotcha":["בְּהַעֲלֹתְךָ"],Behar:["בְּהַר"],Bereshit:["בְּרֵאשִׁית"],Beshalach:["בְּשַׁלַּח"],Bo:["בֹּא"],"Chayei Sara":["חַיֵּי שָֹרָה"],Chukat:["חֻקַּת"],Devarim:["דְּבָרִים"],Eikev:["עֵקֶב"],Emor:["אֱמוֹר"],"Ha'azinu":["הַאֲזִינוּ"],Kedoshim:["קְדשִׁים"],"Ki Tavo":["כִּי־תָבוֹא"],"Ki Teitzei":["כִּי־תֵצֵא"],"Ki Tisa":["כִּי תִשָּׂא"],Korach:["קוֹרַח"],"Lech-Lecha":["לֶךְ־לְךָ"],Masei:["מַסְעֵי"],Matot:["מַּטּוֹת"],Metzora:["מְּצֹרָע"],Miketz:["מִקֵּץ"],Mishpatim:["מִּשְׁפָּטִים"],Nasso:["נָשׂא"],Nitzavim:["נִצָּבִים"],Noach:["נֹחַ"],Pekudei:["פְקוּדֵי"],Pinchas:["פִּינְחָס"],"Re'eh":["רְאֵה"],"Sh'lach":["שְׁלַח־לְךָ"],Shemot:["שְׁמוֹת"],Shmini:["שְּׁמִינִי"],Shoftim:["שׁוֹפְטִים"],Tazria:["תַזְרִיעַ"],Terumah:["תְּרוּמָה"],Tetzaveh:["תְּצַוֶּה"],Toldot:["תּוֹלְדוֹת"],Tzav:["צַו"],Vaera:["וָאֵרָא"],Vaetchanan:["וָאֶתְחַנַּן"],Vayakhel:["וַיַּקְהֵל"],Vayechi:["וַיְחִי"],Vayeilech:["וַיֵּלֶךְ"],Vayera:["וַיֵּרָא"],Vayeshev:["וַיֵּשֶׁב"],Vayetzei:["וַיֵּצֵא"],Vayigash:["וַיִּגַּשׁ"],Vayikra:["וַיִּקְרָא"],Vayishlach:["וַיִּשְׁלַח"],"Vezot Haberakhah":["וְזֹאת הַבְּרָכָה"],Yitro:["יִתְרוֹ"],"Asara B'Tevet":["עֲשָׂרָה בְּטֵבֵת"],"Candle lighting":["הַדְלָקַת נֵרוֹת"],Chanukah:["חֲנוּכָּה"],"Chanukah: 1 Candle":["חֲנוּכָּה: א׳ נֵר"],"Chanukah: 2 Candles":["חֲנוּכָּה: ב׳ נֵרוֹת"],"Chanukah: 3 Candles":["חֲנוּכָּה: ג׳ נֵרוֹת"],"Chanukah: 4 Candles":["חֲנוּכָּה: ד׳ נֵרוֹת"],"Chanukah: 5 Candles":["חֲנוּכָּה: ה׳ נֵרוֹת"],"Chanukah: 6 Candles":["חֲנוּכָּה: ו׳ נֵרוֹת"],"Chanukah: 7 Candles":["חֲנוּכָּה: ז׳ נֵרוֹת"],"Chanukah: 8 Candles":["חֲנוּכָּה: ח׳ נֵרוֹת"],"Chanukah: 8th Day":["חֲנוּכָּה: יוֹם ח׳"],"Days of the Omer":["סְפִירַת הָעוֹמֶר"],Omer:["עוֹמֶר"],"day of the Omer":["בָּעוֹמֶר"],"Erev Pesach":["עֶרֶב פֶּסַח"],"Erev Purim":["עֶרֶב פּוּרִים"],"Erev Rosh Hashana":["עֶרֶב רֹאשׁ הַשָּׁנָה"],"Erev Shavuot":["עֶרֶב שָׁבוּעוֹת"],"Erev Simchat Torah":["עֶרֶב שִׂמְחַת תּוֹרָה"],"Erev Sukkot":["עֶרֶב סוּכּוֹת"],"Erev Tish'a B'Av":["עֶרֶב תִּשְׁעָה בְּאָב"],"Erev Yom Kippur":["עֶרֶב יוֹם כִּפּוּר"],Havdalah:["הַבְדָּלָה"],"Lag BaOmer":["ל״ג בָּעוֹמֶר"],"Leil Selichot":["סליחות"],Pesach:["פֶּסַח"],"Pesach I":["פֶּסַח א׳"],"Pesach II":["פֶּסַח ב׳"],"Pesach II (CH''M)":["פֶּסַח ב׳ (חוה״מ)"],"Pesach III (CH''M)":["פֶּסַח ג׳ (חוה״מ)"],"Pesach IV (CH''M)":["פֶּסַח ד׳ (חוה״מ)"],"Pesach Sheni":["פֶּסַח שני"],"Pesach V (CH''M)":["פֶּסַח ה׳ (חוה״מ)"],"Pesach VI (CH''M)":["פֶּסַח ו׳ (חוה״מ)"],"Pesach VII":["פֶּסַח ז׳"],"Pesach VIII":["פֶּסַח ח׳"],Purim:["פּוּרִים"],"Purim Katan":["פּוּרִים קָטָן"],"Rosh Chodesh %s":["רֹאשׁ חוֹדֶשׁ %s"],"Rosh Chodesh":["רֹאשׁ חוֹדֶשׁ"],"Rosh Hashana":["רֹאשׁ הַשָּׁנָה"],"Rosh Hashana I":["רֹאשׁ הַשָּׁנָה א׳"],"Rosh Hashana II":["רֹאשׁ הַשָּׁנָה ב׳"],"Shabbat Chazon":["שַׁבָּת חֲזוֹן"],"Shabbat HaChodesh":["שַׁבָּת הַחֹדֶשׁ"],"Shabbat HaGadol":["שַׁבָּת הַגָּדוֹל"],"Shabbat Machar Chodesh":["שַׁבָּת מָחָר חוֹדֶשׁ"],"Shabbat Nachamu":["שַׁבָּת נַחֲמוּ"],"Shabbat Parah":["שַׁבָּת פּרה"],"Shabbat Rosh Chodesh":["שַׁבָּת רֹאשׁ חוֹדֶשׁ"],"Shabbat Shekalim":["שַׁבָּת שְׁקָלִים"],"Shabbat Shuva":["שַׁבָּת שׁוּבָה"],"Shabbat Zachor":["שַׁבָּת זָכוֹר"],Shavuot:["שָׁבוּעוֹת"],"Shavuot I":["שָׁבוּעוֹת א׳"],"Shavuot II":["שָׁבוּעוֹת ב׳"],"Shmini Atzeret":["שְׁמִינִי עֲצֶרֶת"],"Shushan Purim":["שׁוּשָׁן פּוּרִים"],Sigd:["סיגד"],"Simchat Torah":["שִׂמְחַת תּוֹרָה"],Sukkot:["סוּכּוֹת"],"Sukkot I":["סוּכּוֹת א׳"],"Sukkot II":["סוּכּוֹת ב׳"],"Sukkot II (CH''M)":["סוּכּוֹת ב׳ (חוה״מ)"],"Sukkot III (CH''M)":["סוּכּוֹת ג׳ (חוה״מ)"],"Sukkot IV (CH''M)":["סוּכּוֹת ד׳ (חוה״מ)"],"Sukkot V (CH''M)":["סוּכּוֹת ה׳ (חוה״מ)"],"Sukkot VI (CH''M)":["סוּכּוֹת ו׳ (חוה״מ)"],"Sukkot VII (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Ta'anit Bechorot":["תַּעֲנִית בְּכוֹרוֹת"],"Ta'anit Esther":["תַּעֲנִית אֶסְתֵּר"],"Tish'a B'Av":["תִּשְׁעָה בְּאָב"],"Tu B'Av":["טוּ בְּאָב"],"Tu BiShvat":["טוּ בִּשְׁבָט"],"Tu B'Shvat":["טוּ בִּשְׁבָט"],"Tzom Gedaliah":["צוֹם גְּדַלְיָה"],"Tzom Tammuz":["צוֹם תָּמוּז"],"Yom HaAtzma'ut":["יוֹם הָעַצְמָאוּת"],"Yom HaShoah":["יוֹם הַשּׁוֹאָה"],"Yom HaZikaron":["יוֹם הַזִּכָּרוֹן"],"Yom Kippur":["יוֹם כִּפּוּר"],"Yom Yerushalayim":["יוֹם יְרוּשָׁלַיִם"],"Yom HaAliyah":["יוֹם הַעֲלִיָּה"],"Yom HaAliyah School Observance":["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"],"Pesach I (on Shabbat)":["פֶּסַח יוֹם א׳ (בְּשַׁבָּת)"],"Pesach Chol ha-Moed Day 1":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם א׳"],"Pesach Chol ha-Moed Day 2":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ב׳"],"Pesach Chol ha-Moed Day 3":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ג׳"],"Pesach Chol ha-Moed Day 4":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ד׳"],"Pesach Chol ha-Moed Day 5":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ה׳"],"Pesach Shabbat Chol ha-Moed":["פֶּסַח שַׁבָּת חוֹל הַמּוֹעֵד"],"Shavuot II (on Shabbat)":["שָׁבוּעוֹת יוֹם ב׳ (בְּשַׁבָּת)"],"Rosh Hashana I (on Shabbat)":["רֹאשׁ הַשָּׁנָה יוֹם א׳ (בְּשַׁבָּת)"],"Yom Kippur (on Shabbat)":["יוֹם כִּפּוּר (בְּשַׁבָּת)"],"Yom Kippur (Mincha, Traditional)":["יוֹם כִּפּוּר מִנחָה"],"Yom Kippur (Mincha, Alternate)":["יוֹם כִּפּוּר מִנחָה"],"Sukkot I (on Shabbat)":["סוּכּוֹת יוֹם א׳ (בְּשַׁבָּת)"],"Sukkot Chol ha-Moed Day 1":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם א׳"],"Sukkot Chol ha-Moed Day 2":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ב׳"],"Sukkot Chol ha-Moed Day 3":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ג׳"],"Sukkot Chol ha-Moed Day 4":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ד׳"],"Sukkot Chol ha-Moed Day 5":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ה׳"],"Sukkot Shabbat Chol ha-Moed":["סוּכּוֹת שַׁבָּת חוֹל הַמּוֹעֵד"],"Sukkot Final Day (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Rosh Chodesh Adar":["רֹאשׁ חוֹדֶשׁ אַדָר"],"Rosh Chodesh Adar I":["רֹאשׁ חוֹדֶשׁ אַדָר א׳"],"Rosh Chodesh Adar II":["רֹאשׁ חוֹדֶשׁ אַדָר ב׳"],"Rosh Chodesh Av":["רֹאשׁ חוֹדֶשׁ אָב"],"Rosh Chodesh Cheshvan":["רֹאשׁ חוֹדֶשׁ חֶשְׁוָן"],"Rosh Chodesh Elul":["רֹאשׁ חוֹדֶשׁ אֱלוּל"],"Rosh Chodesh Iyyar":["רֹאשׁ חוֹדֶשׁ אִיָיר"],"Rosh Chodesh Kislev":["רֹאשׁ חוֹדֶשׁ כִּסְלֵו"],"Rosh Chodesh Nisan":["רֹאשׁ חוֹדֶשׁ נִיסָן"],"Rosh Chodesh Sh'vat":["רֹאשׁ חוֹדֶשׁ שְׁבָט"],"Rosh Chodesh Sivan":["רֹאשׁ חוֹדֶשׁ סִיוָן"],"Rosh Chodesh Tamuz":["רֹאשׁ חוֹדֶשׁ תָּמוּז"],"Rosh Chodesh Tevet":["רֹאשׁ חוֹדֶשׁ טֵבֵת"],min:["דַּקּוֹת"],"Fast begins":["תחילת הַצוֹם"],"Fast ends":["סִיּוּם הַצוֹם"],"Rosh Hashana LaBehemot":["רֹאשׁ הַשָּׁנָה לְמַעְשַׂר בְּהֵמָה"],"Tish'a B'Av (observed)":["תִּשְׁעָה בְּאָב נִדחֶה"],"Shabbat Mevarchim Chodesh":["שַׁבָּת מְבָרְכִים חוֹדֶשׁ"],"Shabbat Shirah":["שַׁבָּת שִׁירָה"],"Chatzot HaLailah":["חֲצוֹת הַלַיְלָה"],"Alot haShachar":["עֲלוֹת הַשַּׁחַר"],Misheyakir:["מִשֶּׁיַּכִּיר"],"Misheyakir Machmir":["מִשֶּׁיַּכִּיר מַחמִיר"],Dawn:["דִּימְדּוּמֵי בּוֹקֵר"],Sunrise:["הַנֵץ הַחַמָּה"],"Kriat Shema, sof zeman":["סוֹף זְמַן קְרִיאַת שְׁמַע גר״א"],"Tefilah, sof zeman":["סוֹף זְמַן תְּפִלָּה גר״א"],"Kriat Shema, sof zeman (MGA)":["סוֹף זְמַן קְרִיאַת שְׁמַע מג״א"],"Tefilah, sof zeman (MGA)":["סוֹף זְמַן תְּפִלָּה מג״א"],"Chatzot hayom":["חֲצוֹת הַיּוֹם"],"Mincha Gedolah":["מִנְחָה גְּדוֹלָה"],"Mincha Ketanah":["מִנְחָה קְטַנָּה"],"Plag HaMincha":["פְּלַג הַמִּנְחָה"],Dusk:["דִּימְדּוּמֵי עֶרֶב"],Sunset:["שְׁקִיעָה"],"Nightfall - End of ordained fasts":["לַיְלָה - גמר תעניות דרבנן"],"Tzeit HaKochavim":["צֵאת הַכּוֹכָבִים"],Lovingkindness:["חֶֽסֶד"],Might:["גְבוּרָה"],Beauty:["תִּפאֶרֶת"],Eternity:["נֶּֽצַח"],Splendor:["הוֹד"],Foundation:["יְּסוֹד"],Majesty:["מַּלְכוּת"],day:["יוֹם"],"Chanukah Day 1":["חֲנוּכָּה יוֹם א׳"],"Chanukah Day 2":["חֲנוּכָּה יוֹם ב׳"],"Chanukah Day 3":["חֲנוּכָּה יוֹם ג׳"],"Chanukah Day 4":["חֲנוּכָּה יוֹם ד׳"],"Chanukah Day 5":["חֲנוּכָּה יוֹם ה׳"],"Chanukah Day 6":["חֲנוּכָּה יוֹם ו׳"],"Chanukah Day 7":["חֲנוּכָּה יוֹם ז׳"],"Chanukah Day 7 (on Rosh Chodesh)":["חֲנוּכָּה יוֹם ז׳ (רֹאשׁ חוֹדֶשׁ)"],"Chanukah Day 8":["חֲנוּכָּה יוֹם ח׳"],"Chanukah Day 1 (on Shabbat)":["חֲנוּכָּה יוֹם א׳ (בְּשַׁבָּת)"],"Chanukah Day 2 (on Shabbat)":["חֲנוּכָּה יוֹם ב׳ (בְּשַׁבָּת)"],"Chanukah Day 3 (on Shabbat)":["חֲנוּכָּה יוֹם ג׳ (בְּשַׁבָּת)"],"Chanukah Day 4 (on Shabbat)":["חֲנוּכָּה יוֹם ד׳ (בְּשַׁבָּת)"],"Chanukah Day 5 (on Shabbat)":["חֲנוּכָּה יוֹם ה׳ (בְּשַׁבָּת)"],"Chanukah Day 7 (on Shabbat)":["חֲנוּכָּה יוֹם ז׳ (בְּשַׁבָּת)"],"Chanukah Day 8 (on Shabbat)":["חֲנוּכָּה יוֹם ח׳ (בְּשַׁבָּת)"],"Shabbat Rosh Chodesh Chanukah":["שַׁבָּת רֹאשׁ חוֹדֶשׁ חֲנוּכָּה"],"Yom Kippur Katan":["יוֹם כִּפּוּר קָטָן"],"Family Day":["יוֹם הַמִּשׁפָּחָה"],"Yitzhak Rabin Memorial Day":["יוֹם הַזִּכָּרוֹן ליצחק רבין"],"Jabotinsky Day":["יוֹם ז׳בוטינסקי"],"Herzl Day":["יוֹם הרצל"],"Ben-Gurion Day":["יוֹם בן־גוריון"],"Hebrew Language Day":["יוֹם הַשָׂפָה הַעִברִית"],"Birkat Hachamah":["בִרְכַּת הַחַמָּה"],"Shushan Purim Katan":["שׁוּשָׁן פּוּרִים קָטָן"],"Purim Meshulash":["פּוּרִים מְשׁוּלָּשׁ"],"after sunset":["לְאַחַר הַשְׁקִיעָה"],Yerushalmi:["יְרוּשַׁלְמִי"],"Chag HaBanot":["חַג הַבָּנוֹת"],Joshua:["יְהוֹשׁוּעַ"],Judges:["שׁוֹפְטִים"],"I Samuel":["שְׁמוּאֵל רִאשׁוֹן"],"II Samuel":["שְׁמוּאֵל שֵׁנִי"],"I Kings":["מְלָכִים רִאשׁוֹן"],"II Kings":["מְלָכִים שֵׁנִי"],Isaiah:["יְשַׁעְיָהוּ"],Jeremiah:["יִרְמְיָהוּ"],Ezekiel:["יְחֶזְקֵאל"],Hosea:["הוֹשֵׁעַ"],Joel:["יוֹאֵל"],Amos:["עָמוּס"],Obadiah:["עוֹבַדְיָה"],Jonah:["יוֹנָה"],Micah:["מִיכָה"],Nachum:["נַחוּם"],Habakkuk:["חֲבַקּוּק"],Zephaniah:["צְפַנְיָה"],Haggai:["חַגַּי"],Zechariah:["זְכַרְיָה"],Malachi:["מַלְאָכִי"],Psalms:["תְּהִלִּים"],Proverbs:["מִשְׁלֵי"],Job:["אִיּוֹב"],"Song of Songs":["שִׁיר הַשִּׁירִים"],Ruth:["רוּת"],Lamentations:["אֵיכָה"],Ecclesiastes:["קֹהֶלֶת"],Esther:["אֶסְתֵּר"],Daniel:["דָּנִיֵּאל"],Ezra:["עֶזְרָא"],Nehemiah:["נְחֶמְיָה"],"I Chronicles":["דִברֵי הַיָמִים רִאשׁוֹן"],"II Chronicles":["דִברֵי הַיָמִים שֵׁנִי"],"Yom Kippur (Mincha)":["יוֹם כִּפּוּר מִנחָה"],"Tish'a B'Av (Mincha)":["תִּשְׁעָה בְּאָב מִנחָה"],"Asara B'Tevet (Mincha)":["עֲשָׂרָה בְּטֵבֵת מִנחָה"],"Ta'anit Bechorot (Mincha)":["תַּעֲנִית בְּכוֹרוֹת מִנחָה"],"Ta'anit Esther (Mincha)":["תַּעֲנִית אֶסְתֵּר מִנחָה"],"Tzom Gedaliah (Mincha)":["צוֹם גְּדַלְיָה מִנחָה"],"Tzom Tammuz (Mincha)":["צוֹם תָּמוּז מִנחָה"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"],"Pirkei Avot":["פִּרְקֵי אָבוֹת"]}}};we.addTranslations("he",_e),we.addTranslations("h",_e),we.addTranslations("ashkenazi",De),we.addTranslations("a",De);const ke=_e.contexts[""],Le={};for(const[e,t]of Object.entries(ke))Le[e]=[we.hebrewStripNikkud(t[0])];const Re={headers:_e.headers,contexts:{"":Le}};we.addTranslations("he-x-NoNikud",Re);const Ye={CHAG:1,LIGHT_CANDLES:2,YOM_TOV_ENDS:4,CHUL_ONLY:8,IL_ONLY:16,LIGHT_CANDLES_TZEIS:32,CHANUKAH_CANDLES:64,ROSH_CHODESH:128,MINOR_FAST:256,SPECIAL_SHABBAT:512,PARSHA_HASHAVUA:1024,DAF_YOMI:2048,OMER_COUNT:4096,MODERN_HOLIDAY:8192,MAJOR_FAST:16384,SHABBAT_MEVARCHIM:32768,MOLAD:65536,USER_EVENT:131072,HEBREW_DATE:262144,MINOR_HOLIDAY:524288,EREV:1048576,CHOL_HAMOED:2097152,MISHNA_YOMI:4194304,YOM_KIPPUR_KATAN:8388608,YERUSHALMI_YOMI:16777216,NACH_YOMI:33554432,DAILY_LEARNING:67108864},Pe=[[Ye.MAJOR_FAST,"holiday","major","fast"],[Ye.CHANUKAH_CANDLES,"holiday","major"],[Ye.HEBREW_DATE,"hebdate"],[Ye.MINOR_FAST,"holiday","fast"],[Ye.MINOR_HOLIDAY,"holiday","minor"],[Ye.MODERN_HOLIDAY,"holiday","modern"],[Ye.MOLAD,"molad"],[Ye.OMER_COUNT,"omer"],[Ye.PARSHA_HASHAVUA,"parashat"],[Ye.ROSH_CHODESH,"roshchodesh"],[Ye.SHABBAT_MEVARCHIM,"mevarchim"],[Ye.SPECIAL_SHABBAT,"holiday","shabbat"],[Ye.USER_EVENT,"user"]];class Be{constructor(e,t,n=0,r){if(!Oe.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof t)throw new TypeError(`Invalid Event description: ${t}`);this.date=e,this.desc=t,this.mask=+n,"object"==typeof r&&null!==r&&Object.assign(this,r)}getDate(){return this.date}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return we.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&Ye.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&Ye.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new Be(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&Object.defineProperty(e,t,{value:this[t]});return e}getCategories(){const e=this.getFlags();for(const t of Pe){if(e&t[0])return t.slice(1)}return["unknown"]}}class je extends Be{constructor(e){super(e,e.toString(),Ye.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:we.getLocaleName(),r=this.getDate();switch(n){case"h":case"he":return r.renderGematriya(!1);case"he-x-nonikud":return r.renderGematriya(!0);default:return r.render(n,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=we.gettext(t.getMonthName(),e);return V(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:we.getLocaleName(),r=this.getDate();if(r.getMonth()===m.TISHREI&&1===r.getDate())return this.render(n);switch(n){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(n);default:return r.render(n,!1)}}}var Fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ue=function(e){return e&&e.Math===Math&&e},xe=Ue("object"==typeof globalThis&&globalThis)||Ue("object"==typeof window&&window)||Ue("object"==typeof self&&self)||Ue("object"==typeof Fe&&Fe)||Ue("object"==typeof Fe&&Fe)||function(){return this}()||Function("return this")(),Ze={},$e=function(e){try{return!!e()}catch(e){return!0}},Ve=!$e((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ze=!$e((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Ke=ze,Ge=Function.prototype.call,Je=Ke?Ge.bind(Ge):function(){return Ge.apply(Ge,arguments)},We={},qe={}.propertyIsEnumerable,Xe=Object.getOwnPropertyDescriptor,Qe=Xe&&!qe.call({1:2},1);We.f=Qe?function(e){var t=Xe(this,e);return!!t&&t.enumerable}:qe;var et,tt,nt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},rt=ze,ot=Function.prototype,at=ot.call,it=rt&&ot.bind.bind(at,at),st=rt?it:function(e){return function(){return at.apply(e,arguments)}},ct=st,ut=ct({}.toString),ht=ct("".slice),lt=$e,ft=function(e){return ht(ut(e),8,-1)},dt=Object,gt=st("".split),mt=lt((function(){return!dt("z").propertyIsEnumerable(0)}))?function(e){return"String"===ft(e)?gt(e,""):dt(e)}:dt,yt=function(e){return null==e},St=yt,pt=TypeError,wt=function(e){if(St(e))throw new pt("Can't call method on "+e);return e},vt=mt,At=wt,bt=function(e){return vt(At(e))},Tt="object"==typeof document&&document.all,It=void 0===Tt&&void 0!==Tt?function(e){return"function"==typeof e||e===Tt}:function(e){return"function"==typeof e},Mt=It,Et=function(e){return"object"==typeof e?null!==e:Mt(e)},Ot=xe,Ct=It,Nt=function(e,t){return arguments.length<2?(n=Ot[e],Ct(n)?n:void 0):Ot[e]&&Ot[e][t];var n},Ht=st({}.isPrototypeOf),Dt=xe,_t="undefined"!=typeof navigator&&String(navigator.userAgent)||"",kt=Dt.process,Lt=Dt.Deno,Rt=kt&&kt.versions||Lt&&Lt.version,Yt=Rt&&Rt.v8;Yt&&(tt=(et=Yt.split("."))[0]>0&&et[0]<4?1:+(et[0]+et[1])),!tt&&_t&&(!(et=_t.match(/Edge\/(\d+)/))||et[1]>=74)&&(et=_t.match(/Chrome\/(\d+)/))&&(tt=+et[1]);var Pt=tt,Bt=$e,jt=xe.String,Ft=!!Object.getOwnPropertySymbols&&!Bt((function(){var e=Symbol("symbol detection");return!jt(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pt&&Pt<41})),Ut=Ft&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xt=Nt,Zt=It,$t=Ht,Vt=Object,zt=Ut?function(e){return"symbol"==typeof e}:function(e){var t=xt("Symbol");return Zt(t)&&$t(t.prototype,Vt(e))},Kt=String,Gt=It,Jt=function(e){try{return Kt(e)}catch(e){return"Object"}},Wt=TypeError,qt=function(e){if(Gt(e))return e;throw new Wt(Jt(e)+" is not a function")},Xt=yt,Qt=Je,en=It,tn=Et,nn=TypeError,rn={exports:{}},on=xe,an=Object.defineProperty,sn=function(e,t){try{an(on,e,{value:t,configurable:!0,writable:!0})}catch(n){on[e]=t}return t},cn=xe,un=sn,hn="__core-js_shared__",ln=rn.exports=cn[hn]||un(hn,{});(ln.versions||(ln.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var fn=rn.exports,dn=fn,gn=function(e,t){return dn[e]||(dn[e]=t||{})},mn=wt,yn=Object,Sn=function(e){return yn(mn(e))},pn=st({}.hasOwnProperty),wn=Object.hasOwn||function(e,t){return pn(Sn(e),t)},vn=st,An=0,bn=Math.random(),Tn=vn(1..toString),In=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Tn(++An+bn,36)},Mn=gn,En=wn,On=In,Cn=Ft,Nn=Ut,Hn=xe.Symbol,Dn=Mn("wks"),_n=Nn?Hn.for||Hn:Hn&&Hn.withoutSetter||On,kn=function(e){return En(Dn,e)||(Dn[e]=Cn&&En(Hn,e)?Hn[e]:_n("Symbol."+e)),Dn[e]},Ln=Je,Rn=Et,Yn=zt,Pn=function(e,t){var n=e[t];return Xt(n)?void 0:qt(n)},Bn=function(e,t){var n,r;if("string"===t&&en(n=e.toString)&&!tn(r=Qt(n,e)))return r;if(en(n=e.valueOf)&&!tn(r=Qt(n,e)))return r;if("string"!==t&&en(n=e.toString)&&!tn(r=Qt(n,e)))return r;throw new nn("Can't convert object to primitive value")},jn=TypeError,Fn=kn("toPrimitive"),Un=function(e,t){if(!Rn(e)||Yn(e))return e;var n,r=Pn(e,Fn);if(r){if(void 0===t&&(t="default"),n=Ln(r,e,t),!Rn(n)||Yn(n))return n;throw new jn("Can't convert object to primitive value")}return void 0===t&&(t="number"),Bn(e,t)},xn=zt,Zn=function(e){var t=Un(e,"string");return xn(t)?t:t+""},$n=Et,Vn=xe.document,zn=$n(Vn)&&$n(Vn.createElement),Kn=function(e){return zn?Vn.createElement(e):{}},Gn=Kn,Jn=!Ve&&!$e((function(){return 7!==Object.defineProperty(Gn("div"),"a",{get:function(){return 7}}).a})),Wn=Ve,qn=Je,Xn=We,Qn=nt,er=bt,tr=Zn,nr=wn,rr=Jn,or=Object.getOwnPropertyDescriptor;Ze.f=Wn?or:function(e,t){if(e=er(e),t=tr(t),rr)try{return or(e,t)}catch(e){}if(nr(e,t))return Qn(!qn(Xn.f,e,t),e[t])};var ar={},ir=Ve&&$e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),sr=Et,cr=String,ur=TypeError,hr=function(e){if(sr(e))return e;throw new ur(cr(e)+" is not an object")},lr=Ve,fr=Jn,dr=ir,gr=hr,mr=Zn,yr=TypeError,Sr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,wr="enumerable",vr="configurable",Ar="writable";ar.f=lr?dr?function(e,t,n){if(gr(e),t=mr(t),gr(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ar in n&&!n[Ar]){var r=pr(e,t);r&&r[Ar]&&(e[t]=n.value,n={configurable:vr in n?n[vr]:r[vr],enumerable:wr in n?n[wr]:r[wr],writable:!1})}return Sr(e,t,n)}:Sr:function(e,t,n){if(gr(e),t=mr(t),gr(n),fr)try{return Sr(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new yr("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var br=ar,Tr=nt,Ir=Ve?function(e,t,n){return br.f(e,t,Tr(1,n))}:function(e,t,n){return e[t]=n,e},Mr={exports:{}},Er=Ve,Or=wn,Cr=Function.prototype,Nr=Er&&Object.getOwnPropertyDescriptor,Hr=Or(Cr,"name"),Dr={EXISTS:Hr,PROPER:Hr&&"something"===function(){}.name,CONFIGURABLE:Hr&&(!Er||Er&&Nr(Cr,"name").configurable)},_r=It,kr=fn,Lr=st(Function.toString);_r(kr.inspectSource)||(kr.inspectSource=function(e){return Lr(e)});var Rr,Yr,Pr,Br=kr.inspectSource,jr=It,Fr=xe.WeakMap,Ur=jr(Fr)&&/native code/.test(String(Fr)),xr=In,Zr=gn("keys"),$r=function(e){return Zr[e]||(Zr[e]=xr(e))},Vr={},zr=Ur,Kr=xe,Gr=Et,Jr=Ir,Wr=wn,qr=fn,Xr=$r,Qr=Vr,eo="Object already initialized",to=Kr.TypeError,no=Kr.WeakMap;if(zr||qr.state){var ro=qr.state||(qr.state=new no);ro.get=ro.get,ro.has=ro.has,ro.set=ro.set,Rr=function(e,t){if(ro.has(e))throw new to(eo);return t.facade=e,ro.set(e,t),t},Yr=function(e){return ro.get(e)||{}},Pr=function(e){return ro.has(e)}}else{var oo=Xr("state");Qr[oo]=!0,Rr=function(e,t){if(Wr(e,oo))throw new to(eo);return t.facade=e,Jr(e,oo,t),t},Yr=function(e){return Wr(e,oo)?e[oo]:{}},Pr=function(e){return Wr(e,oo)}}var ao={set:Rr,get:Yr,has:Pr,enforce:function(e){return Pr(e)?Yr(e):Rr(e,{})},getterFor:function(e){return function(t){var n;if(!Gr(t)||(n=Yr(t)).type!==e)throw new to("Incompatible receiver, "+e+" required");return n}}},io=st,so=$e,co=It,uo=wn,ho=Ve,lo=Dr.CONFIGURABLE,fo=Br,go=ao.enforce,mo=ao.get,yo=String,So=Object.defineProperty,po=io("".slice),wo=io("".replace),vo=io([].join),Ao=ho&&!so((function(){return 8!==So((function(){}),"length",{value:8}).length})),bo=String(String).split("String"),To=Mr.exports=function(e,t,n){"Symbol("===po(yo(t),0,7)&&(t="["+wo(yo(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!uo(e,"name")||lo&&e.name!==t)&&(ho?So(e,"name",{value:t,configurable:!0}):e.name=t),Ao&&n&&uo(n,"arity")&&e.length!==n.arity&&So(e,"length",{value:n.arity});try{n&&uo(n,"constructor")&&n.constructor?ho&&So(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=go(e);return uo(r,"source")||(r.source=vo(bo,"string"==typeof t?t:"")),e};Function.prototype.toString=To((function(){return co(this)&&mo(this).source||fo(this)}),"toString");var Io=Mr.exports,Mo=It,Eo=ar,Oo=Io,Co=sn,No={},Ho=Math.ceil,Do=Math.floor,_o=Math.trunc||function(e){var t=+e;return(t>0?Do:Ho)(t)},ko=_o,Lo=function(e){var t=+e;return t!=t||0===t?0:ko(t)},Ro=Lo,Yo=Math.max,Po=Math.min,Bo=Lo,jo=Math.min,Fo=function(e){var t=Bo(e);return t>0?jo(t,9007199254740991):0},Uo=bt,xo=function(e,t){var n=Ro(e);return n<0?Yo(n+t,0):Po(n,t)},Zo=function(e){return Fo(e.length)},$o=function(e){return function(t,n,r){var o=Uo(t),a=Zo(o);if(0===a)return!e&&-1;var i,s=xo(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Vo={includes:$o(!0),indexOf:$o(!1)},zo=wn,Ko=bt,Go=Vo.indexOf,Jo=Vr,Wo=st([].push),qo=function(e,t){var n,r=Ko(e),o=0,a=[];for(n in r)!zo(Jo,n)&&zo(r,n)&&Wo(a,n);for(;t.length>o;)zo(r,n=t[o++])&&(~Go(a,n)||Wo(a,n));return a},Xo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qo=qo,ea=Xo.concat("length","prototype");No.f=Object.getOwnPropertyNames||function(e){return Qo(e,ea)};var ta={};ta.f=Object.getOwnPropertySymbols;var na=Nt,ra=No,oa=ta,aa=hr,ia=st([].concat),sa=na("Reflect","ownKeys")||function(e){var t=ra.f(aa(e)),n=oa.f;return n?ia(t,n(e)):t},ca=wn,ua=sa,ha=Ze,la=ar,fa=$e,da=It,ga=/#|\.prototype\./,ma=function(e,t){var n=Sa[ya(e)];return n===wa||n!==pa&&(da(t)?fa(t):!!t)},ya=ma.normalize=function(e){return String(e).replace(ga,".").toLowerCase()},Sa=ma.data={},pa=ma.NATIVE="N",wa=ma.POLYFILL="P",va=ma,Aa=xe,ba=Ze.f,Ta=Ir,Ia=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;if(Mo(n)&&Oo(n,a,r),r.global)o?e[t]=n:Co(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:Eo.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Ma=sn,Ea=function(e,t,n){for(var r=ua(t),o=la.f,a=ha.f,i=0;i<r.length;i++){var s=r[i];ca(e,s)||n&&ca(n,s)||o(e,s,a(t,s))}},Oa=va,Ca={},Na=qo,Ha=Xo,Da=Object.keys||function(e){return Na(e,Ha)},_a=Ve,ka=ir,La=ar,Ra=hr,Ya=bt,Pa=Da;Ca.f=_a&&!ka?Object.defineProperties:function(e,t){Ra(e);for(var n,r=Ya(t),o=Pa(t),a=o.length,i=0;a>i;)La.f(e,n=o[i++],r[n]);return e};var Ba,ja=Nt("document","documentElement"),Fa=hr,Ua=Ca,xa=Xo,Za=Vr,$a=ja,Va=Kn,za="prototype",Ka="script",Ga=$r("IE_PROTO"),Ja=function(){},Wa=function(e){return"<"+Ka+">"+e+"</"+Ka+">"},qa=function(e){e.write(Wa("")),e.close();var t=e.parentWindow.Object;return e=null,t},Xa=function(){try{Ba=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Xa="undefined"!=typeof document?document.domain&&Ba?qa(Ba):(t=Va("iframe"),n="java"+Ka+":",t.style.display="none",$a.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Wa("document.F=Object")),e.close(),e.F):qa(Ba);for(var r=xa.length;r--;)delete Xa[za][xa[r]];return Xa()};Za[Ga]=!0;var Qa=Object.create||function(e,t){var n;return null!==e?(Ja[za]=Fa(e),n=new Ja,Ja[za]=null,n[Ga]=e):n=Xa(),void 0===t?n:Ua.f(n,t)},ei=kn,ti=Qa,ni=ar.f,ri=ei("unscopables"),oi=Array.prototype;void 0===oi[ri]&&ni(oi,ri,{configurable:!0,value:ti(null)});var ai=Vo.includes,ii=function(e){oi[ri][e]=!0};function si(e,t,n,r,o){return ci(t,ui(e,t),n,r,o)}function ci(e,t,n,r,o,a){const i=Hi(t,n,r);if(o&&t!==i)throw new RangeError(Pl(e,t,n,r,a));return i}function ui(e,t){const n=e[t];if(void 0===n)throw new TypeError(jl(t));return n}function hi(e){return null!==e&&/object|function/.test(typeof e)}function li(e){const t=new(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Map);return function(n){if(t.has(n))return t.get(n);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];const i=e(n,...o);return t.set(n,i),i}}function fi(e){return di({name:e},1)}function di(e,t){return Si((e=>({value:e,configurable:1,writable:!t})),e)}function gi(e){return Si((e=>({get:e,configurable:1})),e)}function mi(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function yi(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function Si(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function pi(e,t,n){const r={};for(let o=0;o<t.length;o++){const a=t[o];r[a]=e(a,o,n)}return r}function wi(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function vi(e,t){const n={};for(const r of e)n[r]=t[r];return n}function Ai(e,t){const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n}function bi(e){e={...e};const t=Object.keys(e);for(const n of t)void 0===e[n]&&delete e[n];return e}function Ti(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Ii(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Mi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e(...n,...r)}}function Ei(e){return e[0].toUpperCase()+e.substring(1)}function Oi(e){return e.slice().sort()}function Ci(e,t){return String(t).padStart(e,"0")}function Ni(e,t){return Math.sign(e-t)}function Hi(e,t,n){return Math.min(Math.max(e,t),n)}function Di(e,t){return[Math.floor(e/t),_i(e,t)]}function _i(e,t){return(e%t+t)%t}function ki(e,t){return[Li(e,t),Ri(e,t)]}function Li(e,t){return Math.trunc(e/t)||0}function Ri(e,t){return e%t||0}function Yi(e){return.5===Math.abs(e%1)}function Pi(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=Rf[a],s=Lf/i,[c,u]=ki(t,s);r+=u*i,o+=c}const[a,i]=ki(r,Lf);return[o+a,i]}function Bi(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Rf[o];r[n[o]]=Li(e,t),e=Ri(e,t)}return r}function ji(e){if(void 0!==e)return Ui(e)}function Fi(e){return Ki(Ui(e))}function Ui(e){return zi(sd(e))}function xi(e){if(null==e)throw new TypeError("Cannot be null or undefined");return e}function Zi(e,t){if(null==t)throw new RangeError(jl(e));return t}function $i(e){if(!hi(e))throw new TypeError(Yl);return e}function Vi(e,t){if(typeof t!==e)throw new TypeError(Bl(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function zi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Hl(t,e));return e||0}function Ki(e){if(e<=0)throw new RangeError(Dl(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function Gi(e){if("symbol"==typeof e)throw new TypeError(Rl);return String(e)}function Ji(e,t){return hi(e)?String(e):ad(e,t)}function Wi(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Ll(e));return e}function qi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(kl(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(_l(t,e));return e}function Xi(e,t){return Math.trunc(qi(e,t))||0}function Qi(e,t){return zi(qi(e,t),t)}function es(e,t){return Ki(Xi(e,t),t)}function ts(e,t){let[n,r]=ki(t,Lf),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Lf),[o,r]}function ns(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return ts(e[0]+t[0]*n,e[1]+t[1]*n)}function rs(e,t){return ts(e[0],e[1]+t)}function os(e,t){return ns(t,e,-1)}function as(e,t){return Ni(e[0],t[0])||Ni(e[1],t[1])}function is(e,t,n){return-1===as(e,t)||1===as(e,n)}function ss(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Lf/t);return[Number(e/n),Number(e%n)*t]}function cs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Lf/t,[r,o]=ki(e,n);return[r,o*t]}function us(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),a=Lf/t;return BigInt(n)*BigInt(a)+BigInt(o)}function hs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;const[r,o]=e,[a,i]=ki(o,t);return r*(Lf/t)+(a+(n?i/t:0))}function ls(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Di;const[r,o]=e,[a,i]=n(o,t);return[r*(Lf/t)+a,i]}function fs(e,t){const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function ds(e){return si(e,"isoYear",kd,_d,1),e.isoYear===kd?si(e,"isoMonth",4,12,1):e.isoYear===_d&&si(e,"isoMonth",1,9,1),e}function gs(e){return ms({...e,...Id,isoHour:12}),e}function ms(e){const t=si(e,"isoYear",kd,_d,1),n=t===kd?1:t===_d?-1:0;return n&&ys(bs({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function ys(e){if(!e||is(e,Dd,Hd))throw new RangeError(lf);return e}function Ss(e){return Pi(e,5,pd)[1]}function ps(e){const[t,n]=Di(e,Lf);return[Bi(n,5,pd),t]}function ws(e){return vs(e)[0]}function vs(e){return ls(e,Df)}function As(e){return Ms(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function bs(e){const t=As(e);if(void 0!==t){const[n,r]=ki(t,Of);return[n,r*Hf+(e.isoMicrosecond||0)*Nf+(e.isoNanosecond||0)]}}function Ts(e,t){const[n,r]=ps(Ss(e)-t);return ys(bs({...e,isoDay:e.isoDay+r,...n}))}function Is(){return Ms(...arguments)/Cf}function Ms(){const[e,t]=Es(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*Of}function Es(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;const s=e===kd?1:e===_d?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function Os(e,t){let[n,r]=rs(e,t);r<0&&(r+=Lf,n-=1);const[o,a]=Di(r,Hf),[i,s]=Di(a,Nf);return Cs(n*Of+o,i,s)}function Cs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=Math.ceil(Math.max(0,Math.abs(e)-Nd)/Of)*Math.sign(e),o=new Date(e-r*Of);return yi(vd,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Ns(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Hs(){return Yd}function Ds(e,t){switch(t){case 2:return ks(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function _s(e){return ks(e)?366:365}function ks(e){return e%4==0&&(e%100!=0||e%400==0)}function Ls(e){const[t,n]=Es(e.isoYear,e.isoMonth,e.isoDay);return _i(t.getUTCDay()-n,7)||7}function Rs(e){let{isoYear:t}=e;return t<1?["bce",1-t]:["ce",t]}function Ys(e){const t=As(e);if(t<Pd)return Rs(e);const n=fs(Vg(nd),t),{era:r,eraYear:o}=Lh(n,nd);return[r,o]}function Ps(e){return Bs(e),Us(e,1),e}function Bs(e){return Fs(e,1),e}function js(e){return Ti(wd,e,Fs(e))}function Fs(e,t){const{isoYear:n}=e,r=si(e,"isoMonth",1,Hs(),t);return{isoYear:n,isoMonth:r,isoDay:si(e,"isoDay",1,Ds(n,r),t)}}function Us(e,t){return yi(pd,[si(e,"isoHour",0,23,t),si(e,"isoMinute",0,59,t),si(e,"isoSecond",0,59,t),si(e,"isoMillisecond",0,999,t),si(e,"isoMicrosecond",0,999,t),si(e,"isoNanosecond",0,999,t)])}function xs(e){return void 0===e?0:tg($i(e))}function Zs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=ec(e);const n=ng(e),r=rg(e,t);return[tg(e),r,n]}function $s(e){return ng(ec(e))}function Vs(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:9,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4;t=ec(t);let i=Qd(t,r,o),s=qs(t),c=sg(t,a);const u=Xd(t,r,o,1);return null==i?i=Math.max(n,u):ic(i,u),s=Xs(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function zs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=qs(e=tc(e,jd));const o=sg(e,7);let a=Xd(e,t);return a=Zi(jd,a),r=Xs(r,a,void 0,n),[a,r,o]}function Ks(e){return og(ec(e))}function Gs(e,t){return Js(ec(e),t)}function Js(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=Qs(e);return[sg(e,4),...Ws(Xd(e,t),n)]}function Ws(e,t){return null!=e?[Rf[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function qs(e){const t=e[Ud];return void 0===t?1:Xi(t,Ud)}function Xs(e,t,n,r){const o=r?Lf:Rf[t+1];if(o){const n=Rf[t];if(o%((e=ci(Ud,e,1,o/n-(r?0:1),1))*n))throw new RangeError(Bl(Ud,e))}else e=ci(Ud,e,1,n?10**9:1,1);return e}function Qs(e){let t=e[xd];if(void 0!==t){if("number"!=typeof t){if("auto"===Gi(t))return;throw new RangeError(Bl(xd,t))}t=ci(xd,Math.floor(t),0,9,1)}return t}function ec(e){return void 0===e?{}:$i(e)}function tc(e,t){return"string"==typeof e?{[t]:e}:$i(e)}function nc(e){if(void 0!==e){if(hi(e))return Object.assign(Object.create(null),e);throw new TypeError(Yl)}}function rc(e,t){return e&&Object.assign(Object.create(null),e,{overflow:Vd[t]})}function oc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:9,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,a=t[e];if(void 0===a)return o?r:void 0;if(a=Gi(a),"auto"===a)return o?r:null;let i=Mf[a];if(void 0===i&&(i=gd[a]),void 0===i)throw new RangeError(Zl(e,a,Mf));return ci(e,i,r,n,1,Ef),i}function ac(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=n[e];if(void 0===o)return r;const a=Gi(o),i=t[a];if(void 0===i)throw new RangeError(Zl(e,a,t));return i}function ic(e,t){if(t>e)throw new RangeError(Sf)}function sc(e){return{branding:gg,epochNanoseconds:e}}function cc(e,t,n){return{branding:dg,calendar:n,timeZone:t,epochNanoseconds:e}}function uc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:lg,calendar:t,...vi(Td,e)}}function hc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:hg,calendar:t,...vi(Ad,e)}}function lc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:cg,calendar:t,...vi(Ad,e)}}function fc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:ug,calendar:t,...vi(Ad,e)}}function dc(e){return{branding:fg,...vi(bd,e)}}function gc(e){return{branding:mg,sign:Du(e),...vi(hd,e)}}function mc(e){return ls(e.epochNanoseconds,Hf)[0]}function yc(e){return e.epochNanoseconds}function Sc(e){return"string"==typeof e?e:ad(e.id)}function pc(e,t){return e===t||Sc(e)===Sc(t)}function wc(e,t){return hs(Lu(e),Rf[t],1)}function vc(e,t,n,r,o,a,i){const s=ud[n],c={...t,[s]:t[s]+r},u=i(e,o,t),h=i(e,o,c);return[a(u),a(h)]}function Ac(e,t,n){const r=hs(os(t,n));if(!r)throw new RangeError(tf);return hs(os(t,e))/r}function bc(e,t,n,r){return Tc(e,Ec(t,n),r)}function Tc(e,t,n){const[r,o]=Ic(e,t,n);return ms({...Au(e,o),...r})}function Ic(e,t,n){return ps(kc(Ss(e),t,n))}function Mc(e){return kc(e,_f,7)}function Ec(e,t){return Rf[e]*t}function Oc(e){const t=Cc(e);return[t,Au(t,1)]}function Cc(e){return Md(6,e)}function Nc(e,t,n){const r=Math.min(Bu(e),6);return Ru(_c(Lu(e,r),t,n),r)}function Hc(e,t,n,r,o,a,i,s,c,u){if(0===r&&1===o)return e;const h=Ou(r,s)?Eu(s)&&r<6&&n>=6?Yc:Rc:Pc;let[l,f,d]=h(e,t,n,r,o,a,i,s,c,u);return d&&7!==r&&(l=((e,t,n,r,o,a,i,s)=>{const c=Du(e);for(let u=r+1;u<=n;u++){if(7===u&&7!==n)continue;const r=Sd(u,e);r[ud[u]]+=c;const h=hs(os(i(s(o,a,r)),t));if(h&&Math.sign(h)!==c)break;e=r}return e})(l,f,n,Math.max(6,r),i,s,c,u)),l}function Dc(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Lf)(e);return[kc(t,n,r),0]}return _c(e,Ec(t,n),r,o)}function _c(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Lf,o-=1);const[i,s]=Di(kc(a,t,n),Lf);return ts(o+i,s)}function kc(e,t,n){return Lc(e/t,n)*t}function Lc(e,t){return yg[t](e)}function Rc(e,t,n,r,o,a){const i=Du(e),s=Lu(e),c=Dc(s,r,o,a),u=os(s,c),h=Math.sign(c[0]-s[0])===i,l=Ru(c,Math.min(n,6));return[{...e,...l},ns(t,u),h]}function Yc(e,t,n,r,o,a,i,s,c,u){const h=Du(e),l=hs(Lu(e,5)),f=Ec(r,o);let d=kc(l,f,a);const[g,m]=vc(i,{...e,...yd},6,h,s,c,u),y=d-hs(os(g,m));let S=0;y&&Math.sign(y)!==h?t=rs(g,d):(S+=h,d=kc(y,f,a),t=rs(m,d));const p=Yu(d);return[{...e,...p,days:e.days+S},t,Boolean(S)]}function Pc(e,t,n,r,o,a,i,s,c,u){const h=Du(e),l=ud[r],f=Sd(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const d=Li(e[l],o)*o;f[l]=d;const[g,m]=vc(i,f,r,o*h,s,c,u),y=d+Ac(t,g,m)*h*o,S=kc(y,o,a),p=Math.sign(S-y)===h;return f[l]=S,[f,p?m:g,p]}function Bc(e,t,n,r){const[o,a,i,s]=(e=>{const t=Js(e=ec(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=_c(n,o,r,1);const i=t.getOffsetNanosecondsFor(n);return Gc(Os(n,i),a)+(e?Qc(Mc(i)):"Z")})(c,t(c?e(o):Sg),n.epochNanoseconds,a,i,s)}function jc(e,t,n){const[r,o,a,i,s,c]=(e=>{e=ec(e);const t=og(e),n=Qs(e),r=ig(e),o=sg(e,4),a=Xd(e,4);return[t,ag(e),r,o,...Ws(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=_c(r,c,s,1);const h=e(n).getOffsetNanosecondsFor(r);return Gc(Os(r,h),u)+Qc(Mc(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+Sc(e)+"]":"")(n,a)+eu(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function Fc(e,t){const[n,r,o,a]=(e=>(e=ec(e),[og(e),...Js(e)]))(t);return i=e.calendar,s=n,c=a,Gc(Tc(e,o,r),c)+eu(i,s);var i,s,c}function Uc(e,t){return n=e.calendar,r=e,o=Ks(t),Jc(r)+eu(n,o);var n,r,o}function xc(e,t){return zc(e.calendar,Wc,e,Ks(t))}function Zc(e,t){return zc(e.calendar,qc,e,Ks(t))}function $c(e,t){const[n,r,o]=Gs(t);return a=o,Xc(Ic(e,r,n)[0],a);var a}function Vc(e,t){const[n,r,o]=Gs(t,3);return r>1&&(e={...e,...Nc(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Hu(e):e,{hours:o,minutes:a}=r,[i,s]=ls(Lu(r,3),Df,ki);ku(i);const c=nu(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+Kc({Y:ou(r.years),M:ou(r.months),W:ou(r.weeks),D:ou(r.days)})+(o||a||i||u?"T"+Kc({H:ou(o),M:ou(a),S:ou(i,u)+c}):"")})(e,o)}function zc(e,t,n,r){const o=Sc(e),a=r>1||0===r&&o!==ed;return 1===r?o===ed?t(n):Jc(n):a?Jc(n)+tu(o,2===r):t(n)}function Kc(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function Gc(e,t){return Jc(e)+"T"+Xc(e,t)}function Jc(e){return Wc(e)+"-"+If(e.isoDay)}function Wc(e){const{isoYear:t}=e;return(t<0||t>9999?ru(t)+Ci(6,Math.abs(t)):Ci(4,t))+"-"+If(e.isoMonth)}function qc(e){return If(e.isoMonth)+"-"+If(e.isoDay)}function Xc(e,t){const n=[If(e.isoHour),If(e.isoMinute)];return-1!==t&&n.push(If(e.isoSecond)+((e,t,n,r)=>nu(e*Hf+t*Nf+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function Qc(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=Di(Math.abs(e),kf),[r,o]=Di(n,_f),[a,i]=Di(o,Df);return ru(e)+If(t)+":"+If(r)+(a||i?":"+If(a)+nu(i):"")}function eu(e,t){if(1!==t){const n=Sc(e);if(t>1||0===t&&n!==ed)return tu(n,2===t)}return""}function tu(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function nu(e,t){let n=Ci(9,e);return n=void 0===t?n.replace(Ag,""):n.slice(0,t),n?"."+n:""}function ru(e){return e<0?"-":"+"}function ou(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function au(e,t){const{epochNanoseconds:n}=e,r=(t.getOffsetNanosecondsFor?t:t(e.timeZone)).getOffsetNanosecondsFor(n),o=Os(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function iu(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;if(void 0!==n&&1===r&&(1===r||i))return Ts(t,n);const s=e.getPossibleInstantsFor(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=bs(t);r&&(n=Mc(n));for(const t of e){let e=hs(os(t,o));if(r&&(e=Mc(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(uf)}return i?bs(t):su(e,t,o,s)}function su(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.getPossibleInstantsFor(t);if(1===r.length)return r[0];if(1===n)throw new RangeError(hf);if(r.length)return r[3===n?1:0];const o=bs(t),a=((e,t)=>{const n=e.getOffsetNanosecondsFor(rs(t,-Lf));return uu(e.getOffsetNanosecondsFor(rs(t,Lf))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.getPossibleInstantsFor(Os(o,i)))[2===n?0:r.length-1]}function cu(e){if(Math.abs(e)>=Lf)throw new RangeError(sf);return e}function uu(e){if(e>Lf)throw new RangeError(cf);return e}function hu(e,t,n){return sc(ys(ns(t.epochNanoseconds,(e=>{if(Pu(e))throw new RangeError(mf);return Lu(e,5)})(e?Hu(n):n))))}function lu(e,t,n,r,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Object.create(null);const i=t(r.timeZone),s=e(r.calendar);return{...r,...yu(i,s,r,n?Hu(o):o,a)}}function fu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:a}=n;return uc(Su(e(a),n,t?Hu(r):r,o),a)}function du(e,t,n,r,o){const{calendar:a}=n;return hc(pu(e(a),n,t?Hu(r):r,o),a)}function gu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const a=n.calendar,i=e(a);let s=wu(i,n);t&&(r=Nu(r)),r.sign<0&&(s=i.dateAdd(s,{...md,months:1}),s=Au(s,-1));const c=i.dateAdd(s,r,o);return lc(wu(i,c),a)}function mu(e,t,n){return dc(vu(t,e?Hu(n):n)[0])}function yu(e,t,n,r,o){const a=Lu(r,5);let i=n.epochNanoseconds;if(Pu(r)){const s=bg(n,e);i=ns(su(e,{...pu(t,s,{...r,...yd},o),...vi(pd,s)}),a)}else i=ns(i,a),xs(o);return{epochNanoseconds:ys(i)}}function Su(e,t,n,r){const[o,a]=vu(t,n);return ms({...pu(e,t,{...n,...yd,days:n.days+a},r),...o})}function pu(e,t,n,r){if(n.years||n.months||n.weeks)return e.dateAdd(t,n,r);xs(r);const o=n.days+Lu(n,5)[0];return o?gs(Au(t,o)):t}function wu(e,t){return Au(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function vu(e,t){const[n,r]=Lu(t,5),[o,a]=ps(Ss(e)+r);return[o,n+a]}function Au(e,t){return t?{...e,...Cs(As(e)+t*Of)}:e}function bu(e,t,n){const r=e(n.calendar);return Eu(n)?[n,r,t(n.timeZone)]:[{...n,...Id},r]}function Tu(e){return e?yc:bs}function Iu(e){return e?Mi(yu,e):Su}function Mu(e){return e?Mi(Ah,e):bh}function Eu(e){return e&&e.epochNanoseconds}function Ou(e,t){return e<=6-(Eu(t)?1:0)}function Cu(e,t,n,r,o,a,i){const s=e(ec(i).relativeTo),c=Math.max(Bu(o),Bu(a));if(Ou(c,s))return gc(_u(((e,t,n,r)=>{const o=ns(Lu(e),Lu(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(lf);return{...md,...Ru(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(gf);r&&(a=Hu(a));const[u,h,l]=bu(t,n,s),f=Iu(l),d=Mu(l),g=f(h,u,o);return gc(d(h,u,f(h,g,a),c))}function Nu(e){return gc(Hu(e))}function Hu(e){const t={};for(const n of ud)t[n]=-1*e[n]||0;return t}function Du(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ud,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(df);n=t}}return n}function _u(e){for(const t of dd)ci(t,e[t],-Tg,Tg,1);return ku(hs(Lu(e),Df)),e}function ku(e){if(!Number.isSafeInteger(e))throw new RangeError(ff)}function Lu(e){return Pi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,ud)}function Ru(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=Bi(r,t,ud);if(o[ud[t]]+=n*(Lf/Rf[t]),!Number.isFinite(o[ud[t]]))throw new RangeError(lf);return o}function Yu(e){return Bi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,ud)}function Pu(e){return Boolean(Du(e,fd))}function Bu(e){let t=9;for(;t>0&&!e[ud[t]];t--);return t}function ju(e,t){return[e,t]}function Fu(e){const t=Math.floor(e/pg)*pg;return[t,t+pg]}function Uu(e){const t=qu(e);if(void 0===t)throw new RangeError(pf(e));return t}function xu(e){const t=Gu(ad(e));if(!t||t.m)throw new RangeError(pf(e));return hc(t.p?Vu(t):zu(t))}function Zu(e){if(e.calendar!==ed)throw new RangeError(wf(e.calendar))}function $u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=ah(e.timeZone),a=Ig(o);return cc(iu(a,Ps(e),t,n,r,!a.v,e.m),o,Zh(e.calendar))}function Vu(e){return Ku(ms(Ps(e)))}function zu(e){return Ku(gs(Bs(e)))}function Ku(e){return{...e,calendar:Zh(e.calendar)}}function Gu(e){const t=Pg.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:Xu(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Qu(e.slice(5)),...eh(e[16]),p:Boolean(e[6]),m:n,offset:n?void 0:t}})(t):void 0}function Ju(e){const t=Rg.exec(e);return t?(e=>({isoYear:Xu(e),isoMonth:parseInt(e[4]),isoDay:1,...eh(e[5])}))(t):void 0}function Wu(e){const t=Yg.exec(e);return t?(e=>({isoYear:Rd,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...eh(e[3])}))(t):void 0}function qu(e,t){const n=jg.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(wf(n));return cu((oh(e[2])*kf+oh(e[3])*_f+oh(e[4])*Df+th(e[5]||""))*rh(e[1]))})(n,t):void 0}function Xu(e){const t=rh(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(wf(-0));return t*n}function Qu(e){const t=oh(e[3]);return{...ps(th(e[4]||""))[0],isoHour:oh(e[1]),isoMinute:oh(e[2]),isoSecond:60===t?59:t}}function eh(e){let t,n;const r=[];if(e.replace(Fg,((e,o,a)=>{const i=Boolean(o),[s,c]=a.split("=").reverse();if(c){if("u-ca"===c)r.push(s),t||(t=i);else if(i||/[A-Z]/.test(c))throw new RangeError(wf(e))}else{if(n)throw new RangeError(wf(e));n=s}return""})),r.length>1&&t)throw new RangeError(wf(e));return{timeZone:n,calendar:r[0]||ed}}function th(e){return parseInt(e.padEnd(9,"0"))}function nh(e){return new RegExp(`^${e}$`,"i")}function rh(e){return e&&"+"!==e?-1:1}function oh(e){return void 0===e?0:parseInt(e)}function ah(e){const t=sh(e);return"number"==typeof t?Qc(t):t?(e=>{if(Zg.test(e))throw new RangeError(af);return e.toLowerCase().split("/").map(((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,((e,n)=>e.length<=2&&!t||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!n?Ei(e).replace(/island|noronha|murdo|rivadavia|urville/,Ei):e)))).join("/")})(e):Sg}function ih(e){const t=sh(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:Sg}function sh(e){const t=qu(e=e.toUpperCase(),1);return void 0!==t?t:e!==Sg?xg(e):void 0}function ch(e,t){return as(e.epochNanoseconds,t.epochNanoseconds)}function uh(e,t){return as(e.epochNanoseconds,t.epochNanoseconds)}function hh(e,t){return lh(e,t)||fh(e,t)}function lh(e,t){return Ni(As(e),As(t))}function fh(e,t){return Ni(Ss(e),Ss(t))}function dh(e,t){if(e===t)return 1;const n=Sc(e),r=Sc(t);if(n===r)return 1;try{return ih(n)===ih(r)}catch(e){}}function gh(e,t,n,r){const o=Vs(e,nc(r),3,5),a=Mh(t.epochNanoseconds,n.epochNanoseconds,...o);return gc(e?Hu(a):a)}function mh(e,t,n,r,o,a){const i=Hh(r.calendar,o.calendar),s=nc(a),[c,u,h,l]=Vs(n,s,5),f=r.epochNanoseconds,d=o.epochNanoseconds,g=as(d,f);let m;if(g)if(c<6)m=Mh(f,d,c,u,h,l);else{const n=t(((e,t)=>{if(!dh(e,t))throw new RangeError(of);return e})(r.timeZone,o.timeZone)),a=e(i);m=Th(a,n,r,o,g,c,s),m=Hc(m,d,c,u,h,l,a,r,yc,Mi(yu,n))}else m=md;return gc(n?Hu(m):m)}function yh(e,t,n,r,o){const a=Hh(n.calendar,r.calendar),i=nc(o),[s,c,u,h]=Vs(t,i,6),l=bs(n),f=bs(r),d=as(f,l);let g;if(d)if(s<=6)g=Mh(l,f,s,c,u,h);else{const t=e(a);g=Ih(t,n,r,d,s,i),g=Hc(g,f,s,c,u,h,t,n,bs,Su)}else g=md;return gc(t?Hu(g):g)}function Sh(e,t,n,r,o){const a=Hh(n.calendar,r.calendar),i=nc(o);return wh(t,(()=>e(a)),n,r,...Vs(t,i,6,9,6),i)}function ph(e,t,n,r,o){const a=Hh(n.calendar,r.calendar),i=nc(o),s=Vs(t,i,9,9,8),c=e(a);return wh(t,(()=>c),wu(c,n),wu(c,r),...s,i)}function wh(e,t,n,r,o,a,i,s,c){const u=bs(n),h=bs(r);let l;if(as(h,u))if(6===o)l=Mh(u,h,o,a,i,s);else{const e=t();l=e.dateUntil(n,r,o,c),6===a&&1===i||(l=Hc(l,h,o,a,i,s,e,n,bs,pu))}else l=md;return gc(e?Hu(l):l)}function vh(e,t,n,r){const o=nc(r),[a,i,s,c]=Vs(e,o,5,5),u=kc(Nh(t,n),Ec(i,s),c),h={...md,...Yu(u,a)};return gc(e?Hu(h):h)}function Ah(e,t,n,r,o,a){const i=as(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?Eh(n.epochNanoseconds,r.epochNanoseconds,o):Th(t,e,n,r,i,o,a):md}function bh(e,t,n,r,o){const a=bs(t),i=bs(n),s=as(i,a);return s?r<=6?Eh(a,i,r):Ih(e,t,n,s,r,o):md}function Th(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...Au(s,u++*-r),...i},f=su(e,l),as(c,f)===-r}const a=bg(t,e),i=vi(pd,a),s=bg(n,e),c=n.epochNanoseconds;let u=0;const h=Nh(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(tf);const d=hs(os(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...md,days:Oh(h,l)}):e.dateUntil(s,c,a,i),...Yu(u)}}function Ih(e,t,n,r,o,a){const[i,s,c]=((e,t,n)=>{let r=t,o=Nh(e,t);return Math.sign(o)===-n&&(r=Au(t,-n),o+=Lf*n),[e,r,o]})(t,n,r);return{...e.dateUntil(i,s,o,a),...Yu(c)}}function Mh(e,t,n,r,o,a){return{...md,...Ru(Dc(os(e,t),r,o,a),n)}}function Eh(e,t,n){return{...md,...Ru(os(e,t),n)}}function Oh(e,t){return Ch(As(e),As(t))}function Ch(e,t){return Math.trunc((t-e)/Of)}function Nh(e,t){return Ss(t)-Ss(e)}function Hh(e,t){if(!pc(e,t))throw new RangeError(nf);return e}function Dh(e){function t(e){return((e,t)=>({...Lh(e,t),F:e.month,day:parseInt(e.day)}))(fs(n,e),r)}const n=Vg(e),r=$h(e);return{id:e,O:_h(t),B:kh(t)}}function _h(e){return li((t=>{const n=As(t);return e(n)}),WeakMap)}function kh(e){const t=e(0).year-Ld;return li((n=>{let r,o=Ms(n-t);const a=[],i=[];do{o+=400*Of}while((r=e(o)).year<=n);do{o+=(1-r.day)*Of,r.year===n&&(a.push(o),i.push(r.F)),o-=Of}while((r=e(o)).year>=n);return{k:a.reverse(),C:bf(i.reverse())}}))}function Lh(e,t){let n,r,o=Rh(e);if(e.era){const a=rd[t];void 0!==a&&(n="islamic"===t?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===n||"b"===n?n="bce":"ad"!==n&&"a"!==n||(n="ce"),r=o,o=qh(r,a[n]||0))}return{era:n,eraYear:r,year:o}}function Rh(e){return parseInt(e.relatedYear||e.year)}function Yh(e){const{year:t,F:n,day:r}=this.O(e),{C:o}=this.B(t);return[t,o[n]+1,r]}function Ph(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.B(e).k[t-1]+(n-1)*Of}function Bh(e){const t=xh(this,e),n=xh(this,e-1),r=t.length;if(r>n.length){const e=Qh(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function jh(e){return Ch(Ph.call(this,e),Ph.call(this,e+1))}function Fh(e,t){const{k:n}=this.B(e);let r=t+1,o=n;return r>n.length&&(r=1,o=this.B(e+1).k),Ch(n[t-1],o[r-1])}function Uh(e){return this.B(e).k.length}function xh(e,t){return Object.keys(e.B(t).C)}function Zh(e){if((e=e.toLowerCase())!==ed&&e!==td&&$h(e)!==$h(Vg(e).resolvedOptions().calendar))throw new RangeError(rf(e));return e}function $h(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Vh(e){return this.R(e)[0]}function zh(e){return this.R(e)[1]}function Kh(e){const[t]=this.h(e);return Ch(this.q(t),As(e))+1}function Gh(e){const t=zg.exec(e);if(!t)throw new RangeError(Wl(e));return[parseInt(t[1]),Boolean(t[2])]}function Jh(e,t,n){return e+(t||n&&e>=n?1:0)}function Wh(e,t){return e-(t&&e>=t?1:0)}function qh(e,t){return(t+e)*(Math.sign(t)||1)||0}function Xh(e){return rd[el(e)]}function Qh(e){return od[el(e)]}function el(e){return $h(e.id||ed)}function tl(e,t,n,r){const o=al(n,r,Wf,[],Uf);if(void 0!==o.timeZone){const r=n.dateFromFields(o),a=sl(o),i=e(o.timeZone);return{epochNanoseconds:iu(t(i),{...r,...a},void 0!==o.offset?Uu(o.offset):void 0),timeZone:i}}return{...n.dateFromFields(o),...Id}}function nl(e,t,n){const r=al(e,t,Wf,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.dateFromFields(r,n)}function rl(e,t,n,r){const o=al(e,t,Gf,r);return e.yearMonthFromFields(o,n)}function ol(e,t,n,r){const o=al(e,n,Wf,arguments.length>4&&void 0!==arguments[4]?arguments[4]:[]);return t&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=Rd),e.monthDayFromFields(o,r)}function al(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return il(t,[...e.fields(n),...o].sort(),r)}function il(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!n;const o={};let a,i=0;for(const r of t){if(r===a)throw new RangeError(Ul(r));if("constructor"===r||"__proto__"===r)throw new RangeError(Fl(r));let t=e[r];if(void 0!==t)i=1,Wg[r]&&(t=Wg[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(jl(r));o[r]=Qf[r]}a=r}if(r&&!i)throw new TypeError(xl(t));return o}function sl(e,t){return Us(qg({...Qf,...e}),t)}function cl(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];const i=[...e.fields(r),...o].sort();let s=il(t,i,a);const c=il(n,i);return s=e.mergeFields(s,c),il(s,i,[])}function ul(e,t){const n=al(e,t,Xf);return e.monthDayFromFields(n)}function hl(e,t,n){const r=al(e,t,Jf);return e.yearMonthFromFields(r,n)}function ll(e,t,n,r,o){t=vi(n=e.fields(n),t),r=il(r,o=e.fields(o),[]);let a=e.mergeFields(t,r);return a=il(a,[...n,...o].sort(),[]),e.dateFromFields(a)}function fl(e,t){let{era:n,eraYear:r,year:o}=t;const a=Xh(e);if(void 0!==n||void 0!==r){if(void 0===n||void 0===r)throw new TypeError(zl);if(!a)throw new RangeError(Vl);const e=a[n];if(void 0===e)throw new RangeError(Gl(n));const t=qh(r,e);if(void 0!==o&&o!==t)throw new RangeError(Kl);o=t}else if(void 0===o)throw new TypeError(Jl(a));return o}function dl(e,t,n,r){let{month:o,monthCode:a}=t;if(void 0!==a){const t=((e,t,n,r)=>{const o=e.U(n),[a,i]=Gh(t);let s=Jh(a,i,o);if(i){const t=Qh(e);if(void 0===t)throw new RangeError(ef);if(t>0){if(s>t)throw new RangeError(ef);if(void 0===o){if(1===r)throw new RangeError(ef);s--}}else{if(s!==-t)throw new RangeError(ef);if(void 0===o&&1===r)throw new RangeError(ef)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(ql);o=t,r=1}else if(void 0===o)throw new TypeError(Xl);return ci("month",o,1,e.L(n),r)}function gl(e,t,n,r,o){return si(t,"day",1,e.j(r,n),o)}function ml(e,t,n,r){let o=0;const a=[];for(const e of n)void 0!==t[e]?o=1:a.push(e);if(Object.assign(e,t),o)for(const t of r||a)delete e[t]}function yl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ed;return cc(e.epochNanoseconds,t,n)}function Sl(e,t){return uc(bg(t,e))}function pl(e,t){return hc(bg(t,e))}function wl(e,t){return dc(bg(t,e))}function vl(e,t){return{...e,calendar:t}}function Al(e,t){if(e===t)return e;const n=Sc(e),r=Sc(t);if(n===r||n===ed)return t;if(r===ed)return e;throw new RangeError(nf)}function bl(e,t){return n=>n===ed?e:n===td||n===nd?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),$g(n))}function Tl(e,t,n){const r=new Set(n);return o=>(((e,t)=>{for(const n of t)if(n in e)return 1;return 0})(o=Ai(r,o),e)||Object.assign(o,t),n&&(o.timeZone=Sg,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function Il(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ml;const[n,,,r]=e;return function(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Em;for(var i=arguments.length,s=new Array(i>2?i-2:0),c=2;c<i;c++)s[c-2]=arguments[c];const u=t(r&&r(...s),o,a,n),h=u.resolvedOptions();return[u,...El(e,h,s)]}}function Ml(e,t,n,r){if(n=r(n),e){if(void 0!==n.timeZone)throw new TypeError(Af);n.timeZone=e}return new Ed(t,n)}function El(e,t,n){const[,r,o]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==ed)&&e!==t)throw new RangeError(nf)})(Sc(e.calendar),t.calendar,o),r(e,t))))}function Ol(e){const t=Cl();return Os(t,e.getOffsetNanosecondsFor(t))}function Cl(){return cs(Date.now(),Hf)}function Nl(){return Lm||(Lm=(new Ed).resolvedOptions().timeZone)}(function(e,t){var n,r,o,a,i,s=e.target,c=e.global,u=e.stat;if(n=c?Aa:u?Aa[s]||Ma(s,{}):Aa[s]&&Aa[s].prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=ba(n,r))&&i.value:n[r],!Oa(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ea(a,o)}(e.sham||o&&o.sham)&&Ta(a,"sham",!0),Ia(n,r,a,e)}})({target:"Array",proto:!0,forced:$e((function(){return!Array(1).includes()}))},{includes:function(e){return ai(this,e,arguments.length>1?arguments[1]:void 0)}}),ii("includes");const Hl=(e,t)=>`Non-integer ${e}: ${t}`,Dl=(e,t)=>`Non-positive ${e}: ${t}`,_l=(e,t)=>`Non-finite ${e}: ${t}`,kl=e=>`Cannot convert bigint to ${e}`,Ll=e=>`Invalid bigint: ${e}`,Rl="Cannot convert Symbol to string",Yl="Invalid object",Pl=(e,t,n,r,o)=>o?Pl(e,o[t],o[n],o[r]):Bl(e,t)+`; must be between ${n}-${r}`,Bl=(e,t)=>`Invalid ${e}: ${t}`,jl=e=>`Missing ${e}`,Fl=e=>`Invalid field ${e}`,Ul=e=>`Duplicate field ${e}`,xl=e=>"No valid fields: "+e.join(),Zl=(e,t,n)=>Bl(e,t)+"; must be "+Object.keys(n).join(),$l="Invalid calling context",Vl="Forbidden era/eraYear",zl="Mismatching era/eraYear",Kl="Mismatching year/eraYear",Gl=e=>`Invalid era: ${e}`,Jl=e=>"Missing year"+(e?"/era/eraYear":""),Wl=e=>`Invalid monthCode: ${e}`,ql="Mismatching month/monthCode",Xl="Missing month/monthCode",Ql="Cannot guess year",ef="Invalid leap month",tf="Invalid protocol results",nf="Mismatching Calendars",rf=e=>`Invalid Calendar: ${e}`,of="Mismatching TimeZones",af="Forbidden ICU TimeZone",sf="Out-of-bounds offset",cf="Out-of-bounds TimeZone gap",uf="Invalid TimeZone offset",hf="Ambiguous offset",lf="Out-of-bounds date",ff="Out-of-bounds duration",df="Cannot mix duration signs",gf="Missing relativeTo",mf="Cannot use large units",yf="Required smallestUnit or largestUnit",Sf="smallestUnit > largestUnit",pf=e=>`Cannot parse: ${e}`,wf=e=>`Invalid substring: ${e}`,vf=e=>`Cannot format ${e}`,Af="Cannot specify TimeZone",bf=Mi(pi,((e,t)=>t)),Tf=Mi(pi,((e,t,n)=>n)),If=Mi(Ci,2),Mf={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},Ef=Object.keys(Mf),Of=864e5,Cf=1e3,Nf=1e3,Hf=1e6,Df=1e9,_f=6e10,kf=36e11,Lf=864e11,Rf=[1,Nf,Hf,Df,_f,kf,Lf],Yf=Ef.slice(0,6),Pf=Oi(Yf),Bf=["offset"],jf=["timeZone"],Ff=Yf.concat(Bf),Uf=Ff.concat(jf),xf=["era","eraYear"],Zf=xf.concat(["year"]),$f=["year"],Vf=["monthCode"],zf=["month"].concat(Vf),Kf=["day"],Gf=zf.concat($f),Jf=Vf.concat($f),Wf=Kf.concat(Gf),qf=Kf.concat(zf),Xf=Kf.concat(Vf),Qf=Tf(Yf,0),ed="iso8601",td="gregory",nd="japanese",rd={[td]:{bce:-1,ce:0},[nd]:{bce:-1,ce:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethioaa:{era0:0},ethiopic:{era0:0,era1:5500},coptic:{era0:-1,era1:0},roc:{beforeroc:-1,minguo:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},od={chinese:13,dangi:13,hebrew:-6},ad=Mi(Vi,"string"),id=Mi(Vi,"boolean"),sd=Mi(Vi,"number"),cd=Mi(Vi,"function"),ud=Ef.map((e=>e+"s")),hd=Oi(ud),ld=ud.slice(0,6),fd=ud.slice(6),dd=fd.slice(1),gd=bf(ud),md=Tf(ud,0),yd=Tf(ld,0),Sd=Mi(Ii,ud),pd=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],wd=["isoDay","isoMonth","isoYear"],vd=pd.concat(wd),Ad=Oi(wd),bd=Oi(pd),Td=Oi(vd),Id=Tf(bd,0),Md=Mi(Ii,vd),Ed=Intl.DateTimeFormat,Od="en-GB",Cd=1e8,Nd=Cd*Of,Hd=[Cd,0],Dd=[-Cd,0],_d=275760,kd=-271821,Ld=1970,Rd=1972,Yd=12,Pd=Ms(1868,9,8),Bd=li(Ys,WeakMap),jd="smallestUnit",Fd="unit",Ud="roundingIncrement",xd="fractionalSecondDigits",Zd="relativeTo",$d={constrain:0,reject:1},Vd=Object.keys($d),zd={compatible:0,reject:1,earlier:2,later:3},Kd={reject:0,use:1,prefer:2,ignore:3},Gd={auto:0,never:1,critical:2,always:3},Jd={auto:0,never:1,critical:2},Wd={auto:0,never:1},qd={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Xd=Mi(oc,jd),Qd=Mi(oc,"largestUnit"),eg=Mi(oc,Fd),tg=Mi(ac,"overflow",$d),ng=Mi(ac,"disambiguation",zd),rg=Mi(ac,"offset",Kd),og=Mi(ac,"calendarName",Gd),ag=Mi(ac,"timeZoneName",Jd),ig=Mi(ac,"offset",Wd),sg=Mi(ac,"roundingMode",qd),cg="PlainYearMonth",ug="PlainMonthDay",hg="PlainDate",lg="PlainDateTime",fg="PlainTime",dg="ZonedDateTime",gg="Instant",mg="Duration",yg=[Math.floor,e=>Yi(e)?Math.floor(e):Math.round(e),Math.ceil,e=>Yi(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>Yi(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>Yi(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],Sg="UTC",pg=5184e3,wg=Is(1847),vg=Is((new Date).getUTCFullYear()+10),Ag=/0+$/,bg=li(au,WeakMap),Tg=2**32-1,Ig=li((e=>{const t=sh(e);return"object"==typeof t?new Eg(t):new Mg(t||0)}));class Mg{constructor(e){this.v=e}getOffsetNanosecondsFor(){return this.v}getPossibleInstantsFor(e){return[Ts(e,this.v)]}l(){}}class Eg{constructor(e){this.$=(e=>{function t(e){const t=Hi(e,a,i),[s,c]=Fu(t),u=r(s),h=r(c);return u===h?u:n(o(s,c),u,h,e)}function n(t,n,r,o){let a,i;for(;(void 0===o||void 0===(a=o<t[0]?n:o>=t[1]?r:void 0))&&(i=t[1]-t[0]);){const n=t[0]+Math.floor(i/2);e(n)===r?t[1]=n:t[0]=n+1}return a}const r=li(e),o=li(ju);let a=wg,i=vg;return{G(e){const n=t(e-86400),r=t(e+86400),o=e-n,a=e-r;if(n===r)return[o];const i=t(o);return i===t(a)?[e-i]:n>r?[o,a]:[]},V:t,l(e,t){const s=Hi(e,a,i);let[c,u]=Fu(s);const h=pg*t,l=t<0?()=>u>a||(a=s,0):()=>c<i||(i=s,0);for(;l();){const a=r(c),i=r(u);if(a!==i){const r=o(c,u);n(r,a,i);const s=r[0];if((Ni(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=fs(e,t*Cf);return Is(Rh(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}getOffsetNanosecondsFor(e){return this.$.V(ws(e))*Df}getPossibleInstantsFor(e){const[t,n]=[Is((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*Hf+r.isoMicrosecond*Nf+r.isoNanosecond];var r;return this.$.G(t).map((e=>ys(rs(cs(e,Df),n))))}l(e,t){const[n,r]=vs(e),o=this.$.l(n+(t>0||r?1:0),t);if(void 0!==o)return cs(o,Df)}}const Og="([+−-])",Cg="(?:[.,](\\d{1,9}))?",Ng=`(?:(?:${Og}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Hg="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Cg+")?)?",Dg=Og+Hg,_g=Ng+"-?(\\d{2})(?:[T ]"+Hg+"(Z|"+Dg+")?)?",kg="\\[(!?)([^\\]]*)\\]",Lg=`((?:${kg}){0,9})`,Rg=nh(Ng+Lg),Yg=nh("(?:--)?(\\d{2})-?(\\d{2})"+Lg),Pg=nh(_g+Lg),Bg=nh("T?"+Hg+"(?:"+Dg+")?"+Lg),jg=nh(Dg),Fg=new RegExp(kg,"g"),Ug=nh(`${Og}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Cg}H)?(?:(\\d+)${Cg}M)?(?:(\\d+)${Cg}S)?)?`),xg=li((e=>new Ed(Od,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),Zg=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,$g=li(Dh),Vg=li((e=>new Ed(Od,{calendar:e,timeZone:Sg,era:"short",year:"numeric",month:"short",day:"numeric"}))),zg=/^M(\d{2})(L?)$/,Kg={era:Ji,eraYear:Xi,year:Xi,month:es,monthCode:Ji,day:es},Gg=Tf(Yf,Xi),Jg=Tf(ud,Qi),Wg=Object.assign({},Kg,Gg,Jg,{offset:Ji}),qg=Mi(wi,Yf,pd),Xg={dateAdd(e,t,n){const r=xs(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Lu(t,5)[0],a||i)o=((e,t,n,r,o)=>{let[a,i,s]=e.h(t);if(n){const[t,r]=e.I(a,i);a+=n,i=Jh(t,r,e.U(a)),i=ci("month",i,1,e.L(a),o)}return r&&([a,i]=e._(a,i,r)),s=ci("day",s,1,e.j(a,i),o),e.q(a,i,s)})(this,e,a,i,r);else{if(!s&&!c)return e;o=As(e)}return o+=(7*s+c)*Of,gs(Cs(o))},dateUntil(e,t,n){if(n<=7){let r=0,o=Oh({...e,...Id},{...t,...Id});return 7===n&&([r,o]=ki(o,7)),{...md,weeks:r,days:o}}const r=this.h(e),o=this.h(t);let[a,i,s]=((e,t,n,r,o,a,i)=>{let s=o-t,c=a-n,u=i-r;if(s||c){const h=Math.sign(s||c);let l=e.j(o,a),f=0;if(Math.sign(u)===-h){const r=l;[o,a]=e._(o,a,-h),s=o-t,c=a-n,l=e.j(o,a),f=h<0?-r:l}if(u=i-Math.min(r,l)+f,s){const[r,i]=e.I(t,n),[u,l]=e.I(o,a);if(c=u-r||Number(l)-Number(i),Math.sign(c)===-h){const n=h<0&&-e.L(o);s=(o-=h)-t,c=a-Jh(r,i,e.U(o))+(n||e.L(o))}}}return[s,c,u]})(this,...r,...o);return 8===n&&(i+=this.J(a,r[0]),a=0),{...md,years:a,months:i,days:s}},dateFromFields(e,t){const n=xs(t),r=fl(this,e),o=dl(this,e,r,n),a=gl(this,e,o,r,n);return hc(gs(this.P(r,o,a)),this.id||ed)},yearMonthFromFields(e,t){const n=xs(t),r=fl(this,e),o=dl(this,e,r,n);return lc(ds(this.P(r,o,1)),this.id||ed)},monthDayFromFields(e,t){const n=xs(t),r=!this.id,{monthCode:o,year:a,month:i}=e;let s,c,u,h,l;if(void 0!==o){[s,c]=Gh(o),l=ui(e,"day");const t=this.N(s,c,l);if(!t)throw new RangeError(Ql);if([u,h]=t,void 0!==i&&i!==h)throw new RangeError(ql);r&&(h=ci("month",h,1,Yd,1),l=ci("day",l,1,Ds(void 0!==a?a:u,h),n))}else{u=void 0===a&&r?Rd:fl(this,e),h=dl(this,e,u,n),l=gl(this,e,h,u,n);const t=this.U(u);c=h===t,s=Wh(h,t);const o=this.N(s,c,l);if(!o)throw new RangeError(Ql);[u,h]=o}return fc(gs(this.P(u,h,l)),this.id||ed)},fields(e){return Xh(this)&&e.includes("year")?[...e,...xf]:e},mergeFields(e,t){const n=Object.assign(Object.create(null),e);return ml(n,t,zf),Xh(this)&&(ml(n,t,Zf),this.id===nd&&ml(n,t,qf,xf)),n},inLeapYear(e){const[t]=this.h(e);return this.K(t)},monthsInYear(e){const[t]=this.h(e);return this.L(t)},daysInMonth(e){const[t,n]=this.h(e);return this.j(t,n)},daysInYear(e){const[t]=this.h(e);return this.X(t)},dayOfYear:Kh,era(e){return this.ee(e)[0]},eraYear(e){return this.ee(e)[1]},monthCode(e){const[t,n]=this.h(e),[r,o]=this.I(t,n);return((e,t)=>"M"+If(e)+(t?"L":""))(r,o)},dayOfWeek:Ls,daysInWeek:()=>7},Qg={dayOfYear:Kh,h:Ns,q:Ms},em=Object.assign({},Qg,{weekOfYear:Vh,yearOfWeek:zh,R(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=_s(f+e),r=e||1,o=t(_i(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=Ls(e),a=this.dayOfYear(e),i=_i(o-1,7),s=a-1,c=_i(i-s,7),u=t(c);let h,l=Math.floor((s-u)/7)+1,f=e.isoYear;return l?l>n(0)&&(l=1,f++):(l=n(-1),f--),[l,f,h]}}),tm={dayOfYear:Kh,h:Yh,q:Ph,weekOfYear:Vh,yearOfWeek:zh,R:()=>[]},nm=bl(Object.assign({},Xg,em,{h:Ns,ee(e){return this.id===td?Rs(e):this.id===nd?Bd(e):[]},I:(e,t)=>[t,0],N(e,t){if(!t)return[Rd,e]},K:ks,U(){},L:Hs,J:e=>e*Yd,j:Ds,X:_s,P:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),q:Ms,_:(e,t,n)=>(e+=Li(n,Yd),(t+=Ri(n,Yd))<1?(e--,t+=Yd):t>Yd&&(e++,t-=Yd),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Object.assign({},Xg,tm,{h:Yh,ee(e){const t=this.O(e);return[t.era,t.eraYear]},I(e,t){const n=Bh.call(this,e);return[Wh(t,n),n===t]},N(e,t,n){let[r,o,a]=Yh.call(this,{isoYear:Rd,isoMonth:Yd,isoDay:31});const i=Bh.call(this,r),s=o===i;1===(Ni(e,Wh(o,i))||Ni(Number(t),Number(s))||Ni(n,a))&&r--;for(let o=0;o<100;o++){const a=r-o,i=Bh.call(this,a),s=Jh(e,t,i);if(t===(s===i)&&n<=Fh.call(this,a,s))return[a,s]}},K(e){const t=jh.call(this,e);return t>jh.call(this,e-1)&&t>jh.call(this,e+1)},U:Bh,L:Uh,J(e,t){const n=t+e,r=Math.sign(e),o=r<0?-1:0;let a=0;for(let e=t;e!==n;e+=r)a+=Uh.call(this,e+o);return a},j:Fh,X:jh,P(e,t,n){return Cs(Ph.call(this,e,t,n))},q:Ph,_(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(lf);if(n<0)for(;t<1;)t+=Uh.call(this,--e);else{let n;for(;t>(n=Uh.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.O(e).year},month(e){const{year:t,F:n}=this.O(e),{C:r}=this.B(t);return r[n]+1},day(e){return this.O(e).day}})),rm="numeric",om=["timeZoneName"],am={month:rm,day:rm},im={year:rm,month:rm},sm=Object.assign({},im,{day:rm}),cm={hour:rm,minute:rm,second:rm},um=Object.assign({},sm,cm),hm=Object.assign({},um,{timeZoneName:"short"}),lm=Object.keys(im),fm=Object.keys(am),dm=Object.keys(sm),gm=Object.keys(cm),mm=["dateStyle"],ym=lm.concat(mm),Sm=fm.concat(mm),pm=dm.concat(mm,["weekday"]),wm=gm.concat(["dayPeriod","timeStyle"]),vm=pm.concat(wm),Am=vm.concat(om),bm=om.concat(wm),Tm=om.concat(pm),Im=om.concat(["day","weekday"],wm),Mm=om.concat(["year","weekday"],wm),Em={},Om=[Tl(vm,um),mc],Cm=[Tl(Am,hm),mc,0,(e,t)=>{const n=Sc(e.timeZone);if(t&&Sc(t.timeZone)!==n)throw new RangeError(of);return n}],Nm=[Tl(vm,um,om),As],Hm=[Tl(pm,sm,bm),As],Dm=[Tl(wm,cm,Tm),e=>Ss(e)/Hf],_m=[Tl(ym,im,Im),As,1],km=[Tl(Sm,am,Mm),As,1];let Lm;function Rm(e,t,n,r,o){function a(){if(!(this instanceof a))throw new TypeError($l);Hy(this,t(...arguments))}function i(e,t){return Object.defineProperties((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,s(this),...n)}),fi(t))}function s(t){const n=Ny(t);if(!n||n.branding!==e)throw new TypeError($l);return n}return Object.defineProperties(a.prototype,{...gi(Si(i,n)),...di(Si(i,r)),...mi("Temporal."+e)}),Object.defineProperties(a,{...di(o),...fi(e)}),[a,e=>{const t=Object.create(a.prototype);return Hy(t,e),t},s]}function Ym(e){return e=e.concat("id").sort(),t=>{if(!function(e,t){for(const n of t)if(!(n in e))return 0;return 1}(t,e))throw new TypeError("Invalid protocol");return t}}function Pm(e){if(Ny(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Bm(e,t){const n={};for(const r in e)n[r]=(e,n)=>{let{o:o}=e;const a=Ny(n)||{},{branding:i}=a,s=i===hg||t.includes(i)?a:ey(n);return o[r](s)};return n}function jm(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return(r=t,"string"==typeof r?nm(r):(o=r,Object.assign(Object.create(Yy),{i:o})))[n](e);var r,o};return t}function Fm(){throw new TypeError("Cannot use valueOf")}function Um(e){let{calendar:t}=e;return"string"==typeof t?new LS(t):t}function xm(e,t){if(t=nc(t),hi(e)){const n=Ny(e);if(n&&n.branding===ug)return xs(t),n;const r=iy(e);return ol(bS(r||ed),!r,e,t)}const n=function(e,t){const n=Wu(ad(t));if(n)return Zu(n),fc(Bs(n));const r=xu(t),{calendar:o}=r,a=e(o),[i,s,c]=a.h(r),[u,h]=a.I(i,s),[l,f]=a.N(u,h,c);return fc(gs(a.P(l,f,c)),o)}(nm,e);return xs(t),n}function Zm(e,t,n){return cu(Ui(t.call(e,Ky(sc(n)))))}function $m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$y;const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Mi(t[o],e,cd(e[o]));return r}function Vm(e,t){return"string"==typeof e?Ig(e):$m(e,t)}function zm(e){return Vm(e,Vy)}function Km(e){if(hi(e)){const t=Ny(e);if(t)switch(t.branding){case gg:return t;case dg:return sc(t.epochNanoseconds)}}return function(e){const t=Gu(e=Ji(e));if(!t)throw new RangeError(pf(e));let n;if(t.m)n=0;else{if(!t.offset)throw new RangeError(pf(e));n=Uu(t.offset)}return t.timeZone&&qu(t.timeZone,1),sc(Ts(Ps(t),n))}(e)}function Gm(e,t,n){const r=t.l(Km(n).epochNanoseconds,e);return r?Ky(sc(r)):null}function Jm(e){return hi(e)?(Ny(e)||{}).timeZone||qy(e):(e=>ah(function(e){const t=Gu(e);return t&&(t.timeZone||t.m&&Sg||t.offset)||e}(ad(e))))(e)}function Wm(e,t){if(hi(e)){const n=Ny(e)||{};switch(n.branding){case fg:return xs(t),n;case lg:return xs(t),dc(n);case dg:return xs(t),wl(zm,n)}return function(e,t){const n=xs(t);return dc(sl(il(e,Pf,[],1),n))}(e,t)}return xs(t),function(e){let t,n=(e=>{const t=Bg.exec(e);return t?(eh(t[10]),Qu(t)):void 0})(ad(e));if(!n){if(n=Gu(e),!n)throw new RangeError(pf(e));if(!n.p)throw new RangeError(pf(e));if(n.m)throw new RangeError(wf("Z"));Zu(n)}if((t=Ju(e))&&js(t))throw new RangeError(pf(e));if((t=Wu(e))&&js(t))throw new RangeError(pf(e));return dc(Us(n,1))}(e)}function qm(e){return void 0===e?void 0:Wm(e)}function Xm(e,t){if(t=nc(t),hi(e)){const n=Ny(e);return n&&n.branding===cg?(xs(t),n):rl(vS(ay(e)),e,t)}const n=function(e,t){const n=Ju(ad(t));if(n)return Zu(n),lc(ds(Bs(n)));const r=xu(t);return lc(wu(e(r.calendar),r))}(nm,e);return xs(t),n}function Qm(e,t){if(t=nc(t),hi(e)){const n=Ny(e)||{};switch(n.branding){case lg:return xs(t),n;case hg:return xs(t),uc({...n,...Id});case dg:return xs(t),Sl(zm,n)}return function(e,t,n){const r=al(e,t,Wf,[],Yf),o=xs(n);return uc(ms({...e.dateFromFields(r,rc(n,o)),...sl(r,o)}))}(AS(ay(e)),e,t)}const n=function(e){const t=Gu(ad(e));if(!t||t.m)throw new RangeError(pf(e));return uc(Vu(t))}(e);return xs(t),n}function ey(e,t){if(t=nc(t),hi(e)){const n=Ny(e)||{};switch(n.branding){case hg:return xs(t),n;case lg:return xs(t),hc(n);case dg:return xs(t),pl(zm,n)}return nl(AS(ay(e)),e,t)}const n=xu(e);return xs(t),n}function ty(e,t,n){return Fi(t.call(e,iS(hc(n,e))))}function ny(e){return t=>"string"==typeof t?nm(t):((e,t)=>{const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Mi(t[o],e,e[o]);return r})(t,e)}function ry(e){if(hi(e)){const t=Ny(e);return t&&t.branding===mg?t:function(e){const t=il(e,hd);return gc(_u({...md,...t}))}(e)}return function(e){const t=(e=>{const t=Ug.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=Di(o,Rf[a])),void 0!==e){if(r)throw new RangeError(wf(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(wf(e));return t})(e),n=1,t&&(o=th(t)*(Rf[a]/Df),r=1)}return i+s}let n=0,r=0,o=0,a={...yi(ud,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...Bi(o,2,ud)};if(!n)throw new RangeError(xl(ud));return rh(e[1])<0&&(a=Hu(a)),a})(t):void 0})(ad(e));if(!t)throw new RangeError(pf(e));return gc(_u(t))}(e)}function oy(e){if(void 0!==e){if(hi(e)){const t=Ny(e)||{};switch(t.branding){case dg:case hg:return t;case lg:return hc(t)}const n=ay(e);return{...tl(Jm,Vm,AS(n),e),calendar:n}}return function(e){const t=Gu(ad(e));if(!t)throw new RangeError(pf(e));if(t.timeZone)return $u(t,t.offset?Uu(t.offset):void 0);if(t.m)throw new RangeError(pf(e));return zu(t)}(e)}}function ay(e){return iy(e)||ed}function iy(e){const{calendar:t}=e;if(void 0!==t)return sy(t)}function sy(e){return hi(e)?(Ny(e)||{}).calendar||RS(e):(e=>Zh(function(e){const t=Gu(e)||Ju(e)||Wu(e);return t?t.calendar:e}(ad(e))))(e)}function cy(e,t){if(t=nc(t),hi(e)){const n=Ny(e);if(n&&n.branding===dg)return Zs(t),n;const r=ay(e);return function(e,t,n,r,o,a){const i=al(n,o,Wf,jf,Uf),s=e(i.timeZone),[c,u,h]=Zs(a),l=n.dateFromFields(i,rc(a,c)),f=sl(i,c);return cc(iu(t(s),{...l,...f},void 0!==i.offset?Uu(i.offset):void 0,u,h),s,r)}(Jm,Vm,AS(r),r,e,t)}return function(e,t){const n=Gu(ad(e));if(!n||!n.timeZone)throw new RangeError(pf(e));const{offset:r}=n,o=r?Uu(r):void 0,[,a,i]=Zs(t);return $u(n,o,a,i)}(e,t)}function uy(e){return Si((e=>t=>e(hy(t))),e)}function hy(e){return bg(e,zm)}function ly(){const e=Ed.prototype,t=Object.getOwnPropertyDescriptors(e),n=Object.getOwnPropertyDescriptors(Ed),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof r))return new r(e,t);US.set(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Ed(e,t),r=n.resolvedOptions(),o=r.locale,a=vi(Object.keys(t),r),i=li(gy),s=function(){let e;for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];const c=r.map(((t,n)=>{const r=Ny(t),o=(r||{}).branding;if(n&&e&&e!==o)throw new TypeError("Mismatching types for formatting");return e=o,r}));return e?i(e)(o,a,...c):[n,...r]};return s.u=n,s}(e,t))};for(const e in t){const n=t[e],o=e.startsWith("format")&&fy(e);"function"==typeof n.value?n.value="constructor"===e?r:o||dy(e):o&&(n.get=function(){return o.bind(this)})}return n.prototype.value=Object.create(e,t),Object.defineProperties(r,n),r}function fy(e){return function(){const t=US.get(this),[n,...r]=t(...arguments);return n[e](...r)}}function dy(e){return function(){return US.get(this).u[e](...arguments)}}function gy(e){const t=my[e];if(!t)throw new TypeError(vf(e));return Il(t,li(Ml))}const my={Instant:Om,PlainDateTime:Nm,PlainDate:Hm,PlainTime:Dm,PlainYearMonth:_m,PlainMonthDay:km},yy=Il(Om),Sy=Il(Cm),py=Il(Nm),wy=Il(Hm),vy=Il(Dm),Ay=Il(_m),by=Il(km),Ty={era:function(e){if(void 0!==e)return ad(e)},eraYear:ji,year:Ui,month:Fi,daysInMonth:Fi,daysInYear:Fi,inLeapYear:id,monthsInYear:Fi},Iy={monthCode:ad},My={day:Fi},Ey={dayOfWeek:Fi,dayOfYear:Fi,weekOfYear:function(e){if(void 0!==e)return Fi(e)},yearOfWeek:ji,daysInWeek:Fi},Oy=Object.assign({},Ty,Iy,My,Ey),Cy=new WeakMap,Ny=Cy.get.bind(Cy),Hy=Cy.set.bind(Cy),Dy={...Bm(Ty,[cg]),...Bm(Ey,[]),...Bm(Iy,[cg,ug]),...Bm(My,[ug])},_y=jm(Oy),ky=jm({...Ty,...Iy}),Ly=jm({...Iy,...My}),Ry={calendarId:e=>Sc(e.calendar)},Yy=Si(((e,t)=>function(n){const{i:r}=this;return e(r[t](iS(hc(n,r))))}),Oy),Py=pi((e=>t=>t[e]),ud.concat("sign")),By=pi(((e,t)=>e=>e[pd[t]]),Yf),jy={epochSeconds:function(e){return ws(e.epochNanoseconds)},epochMilliseconds:mc,epochMicroseconds:function(e){return us(e.epochNanoseconds,Nf)},epochNanoseconds:function(e){return us(e.epochNanoseconds)}},Fy=Mi(Ai,new Set(["branding"])),[Uy,xy,Zy]=Rm(ug,Mi((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ed,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Rd;const a=Xi(t),i=Xi(n),s=e(r);return fc(gs(Bs({isoYear:Xi(o),isoMonth:a,isoDay:i})),s)}),sy),{...Ry,...Ly},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return xy(function(e,t,n,r,o){const a=nc(o);return((e,t,n,r)=>{const o=cl(e,t,n,Wf);return e.monthDayFromFields(o,r)})(e(t.calendar),n,r,a)}(MS,e,this,Pm(t),n))},equals:(e,t)=>function(e,t){return!lh(e,t)&&pc(e.calendar,t.calendar)}(e,xm(t)),toPlainDate(e,t){return iS(function(e,t,n,r){return((e,t,n)=>ll(e,t,Xf,$i(n),$f))(e(t.calendar),n,r)}(IS,e,this,t))},toLocaleString(e,t,n){const[r,o]=by(t,n,e);return r.format(o)},toString:Zc,toJSON:e=>Zc(e),valueOf:Fm},{from:(e,t)=>xy(xm(e,t))}),$y={getOffsetNanosecondsFor:Zm,getPossibleInstantsFor(e,t,n){const r=[...t.call(e,oS(uc(n,ed)))].map((e=>Gy(e).epochNanoseconds)),o=r.length;return o>1&&(r.sort(as),uu(hs(os(r[0],r[o-1])))),r}},Vy={getOffsetNanosecondsFor:Zm},[zy,Ky,Gy]=Rm(gg,(function(e){return sc(ys(ss(Wi(e))))}),jy,{add:(e,t)=>Ky(hu(0,e,ry(t))),subtract:(e,t)=>Ky(hu(1,e,ry(t))),until:(e,t,n)=>DS(gh(0,e,Km(t),n)),since:(e,t,n)=>DS(gh(1,e,Km(t),n)),round:(e,t)=>Ky(function(e,t){const[n,r,o]=zs(t,5,1);return sc(Dc(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!ch(e,t)}(e,Km(t)),toZonedDateTime(e,t){const n=$i(t);return PS(yl(e,Jm(n.timeZone),sy(n.calendar)))},toZonedDateTimeISO:(e,t)=>PS(yl(e,Jm(t))),toLocaleString(e,t,n){const[r,o]=yy(t,n,e);return r.format(o)},toString:(e,t)=>Bc(Jm,zm,e,t),toJSON:e=>Bc(Jm,zm,e),valueOf:Fm},{from:e=>Ky(Km(e)),fromEpochSeconds:e=>Ky(function(e){return sc(ys(cs(e,Df)))}(e)),fromEpochMilliseconds:e=>Ky(function(e){return sc(ys(cs(e,Hf)))}(e)),fromEpochMicroseconds:e=>Ky(function(e){return sc(ys(ss(Wi(e),Nf)))}(e)),fromEpochNanoseconds:e=>Ky(function(e){return sc(ys(ss(Wi(e))))}(e)),compare:(e,t)=>ch(Km(e),Km(t))}),[Jy,Wy]=Rm("TimeZone",(e=>{const t=function(e){return ah(ad(e))}(e);return{branding:"TimeZone",id:t,o:Ig(t)}}),{id:e=>e.id},{getPossibleInstantsFor:(e,t)=>{let{o:n}=e;return n.getPossibleInstantsFor(Qm(t)).map((e=>Ky(sc(e))))},getOffsetNanosecondsFor:(e,t)=>{let{o:n}=e;return n.getOffsetNanosecondsFor(Km(t).epochNanoseconds)},getOffsetStringFor(e,t){const n=Km(t).epochNanoseconds;return Qc($m(this,Vy).getOffsetNanosecondsFor(n))},getPlainDateTimeFor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ed;const r=Km(t).epochNanoseconds,o=$m(this,Vy).getOffsetNanosecondsFor(r);return oS(uc(Os(r,o),sy(n)))},getInstantFor(e,t,n){const r=Qm(t),o=$s(n),a=$m(this);return Ky(sc(su(a,r,o)))},getNextTransition:(e,t)=>{let{o:n}=e;return Gm(1,n,t)},getPreviousTransition:(e,t)=>{let{o:n}=e;return Gm(-1,n,t)},equals(e,t){return!!dh(this,Jm(t))},toString:e=>e.id,toJSON:e=>e.id},{from(e){const t=Jm(e);return"string"==typeof t?new Jy(t):t}}),qy=Ym(Object.keys($y)),[Xy,Qy]=Rm(fg,(function(){return dc(Us(Si(Xi,yi(pd,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0])),1))}),By,{getISOFields:Fy,with(e,t,n){return Qy(function(e,t,n){return dc(((e,t,n)=>{const r=xs(n);return sl({...vi(Pf,e),...il(t,Pf)},r)})(e,t,n))}(this,Pm(t),n))},add:(e,t)=>Qy(mu(0,e,ry(t))),subtract:(e,t)=>Qy(mu(1,e,ry(t))),until:(e,t,n)=>DS(vh(0,e,Wm(t),n)),since:(e,t,n)=>DS(vh(1,e,Wm(t),n)),round:(e,t)=>Qy(function(e,t){const[n,r,o]=zs(t,5);var a;return dc((a=o,Ic(e,Ec(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!fh(e,t)}(e,Wm(t)),toZonedDateTime:(e,t)=>PS(function(e,t,n,r,o){const a=$i(o),i=t(a.plainDate),s=e(a.timeZone);return cc(su(n(s),{...i,...r}),s,i.calendar)}(Jm,ey,Vm,e,t)),toPlainDateTime:(e,t)=>oS(function(e,t){return uc(ms({...e,...t}))}(e,ey(t))),toLocaleString(e,t,n){const[r,o]=vy(t,n,e);return r.format(o)},toString:$c,toJSON:e=>$c(e),valueOf:Fm},{from:(e,t)=>Qy(Wm(e,t)),compare:(e,t)=>fh(Wm(e),Wm(t))}),[eS,tS,nS]=Rm(cg,Mi((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ed,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const a=Xi(t),i=Xi(n),s=e(r);return lc(ds(Bs({isoYear:a,isoMonth:i,isoDay:Xi(o)})),s)}),sy),{...Ry,...ky},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return tS(function(e,t,n,r,o){const a=nc(o);return lc(((e,t,n,r)=>{const o=cl(e,t,n,Gf);return e.yearMonthFromFields(o,r)})(e(t.calendar),n,r,a))}(TS,e,this,Pm(t),n))},add:(e,t,n)=>tS(gu(CS,0,e,ry(t),n)),subtract:(e,t,n)=>tS(gu(CS,1,e,ry(t),n)),until:(e,t,n)=>DS(ph(NS,0,e,Xm(t),n)),since:(e,t,n)=>DS(ph(NS,1,e,Xm(t),n)),equals:(e,t)=>function(e,t){return!lh(e,t)&&pc(e.calendar,t.calendar)}(e,Xm(t)),toPlainDate(e,t){return iS(function(e,t,n,r){return((e,t,n)=>ll(e,t,Jf,$i(n),Kf))(e(t.calendar),n,r)}(IS,e,this,t))},toLocaleString(e,t,n){const[r,o]=Ay(t,n,e);return r.format(o)},toString:xc,toJSON:e=>xc(e),valueOf:Fm},{from:(e,t)=>tS(Xm(e,t)),compare:(e,t)=>lh(Xm(e),Xm(t))}),[rS,oS]=Rm(lg,Mi((function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:ed;return uc(ms(Ps(Si(Xi,yi(vd,[t,n,r,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0])))),e(o))}),sy),{...Ry,..._y,...By},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return oS(function(e,t,n,r,o){const a=nc(o);return uc(((e,t,n,r)=>{const o=cl(e,t,n,Wf,Yf),a=xs(r);return ms({...e.dateFromFields(o,rc(r,a)),...sl(o,a)})})(e(t.calendar),n,r,a))}(IS,e,this,Pm(t),n))},withCalendar:(e,t)=>oS(vl(e,sy(t))),withPlainDate:(e,t)=>oS(function(e,t){return uc({...e,...t},Al(e.calendar,t.calendar))}(e,ey(t))),withPlainTime:(e,t)=>oS(function(e){return uc({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Id})}(e,qm(t))),add:(e,t,n)=>oS(fu(ES,0,e,ry(t),n)),subtract:(e,t,n)=>oS(fu(ES,1,e,ry(t),n)),until:(e,t,n)=>DS(yh(OS,0,e,Qm(t),n)),since:(e,t,n)=>DS(yh(OS,1,e,Qm(t),n)),round:(e,t)=>oS(function(e,t){return uc(bc(e,...zs(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!hh(e,t)&&pc(e.calendar,t.calendar)}(e,Qm(t)),toZonedDateTime:(e,t,n)=>PS(function(e,t,n,r){const o=((e,t,n,r)=>{const o=$s(r);return su(e(t),n,o)})(e,n,t,r);return cc(ys(o),n,t.calendar)}(Vm,e,Jm(t),n)),toPlainDate:e=>iS(hc(e)),toPlainTime:e=>Qy(dc(e)),toPlainYearMonth(e){return tS(function(e,t,n){const r=e(t.calendar);return lc({...t,...hl(r,n)})}(vS,e,this))},toPlainMonthDay(e){return xy(function(e,t,n){return ul(e(t.calendar),n)}(bS,e,this))},toLocaleString(e,t,n){const[r,o]=py(t,n,e);return r.format(o)},toString:Fc,toJSON:e=>Fc(e),valueOf:Fm},{from:(e,t)=>oS(Qm(e,t)),compare:(e,t)=>hh(Qm(e),Qm(t))}),[aS,iS,sS]=Rm(hg,Mi((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ed;return hc(gs(Bs(Si(Xi,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))}),sy),{...Ry,..._y},{getISOFields:Fy,getCalendar:Um,with(e,t,n){return iS(function(e,t,n,r,o){const a=nc(o);return((e,t,n,r)=>{const o=cl(e,t,n,Wf);return e.dateFromFields(o,r)})(e(t.calendar),n,r,a)}(IS,e,this,Pm(t),n))},withCalendar:(e,t)=>iS(vl(e,sy(t))),add:(e,t,n)=>iS(du(ES,0,e,ry(t),n)),subtract:(e,t,n)=>iS(du(ES,1,e,ry(t),n)),until:(e,t,n)=>DS(Sh(OS,0,e,ey(t),n)),since:(e,t,n)=>DS(Sh(OS,1,e,ey(t),n)),equals:(e,t)=>function(e,t){return!lh(e,t)&&pc(e.calendar,t.calendar)}(e,ey(t)),toZonedDateTime(e,t){const n=!hi(t)||t instanceof Jy?{timeZone:t}:t;return PS(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):Id;return cc(su(n(a),{...r,...s}),a,r.calendar)}(Jm,Wm,Vm,e,n))},toPlainDateTime:(e,t)=>oS(function(e){return uc(ms({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Id}))}(e,qm(t))),toPlainYearMonth(e){return tS(function(e,t,n){return hl(e(t.calendar),n)}(vS,e,this))},toPlainMonthDay(e){return xy(function(e,t,n){return ul(e(t.calendar),n)}(bS,e,this))},toLocaleString(e,t,n){const[r,o]=wy(t,n,e);return r.format(o)},toString:Uc,toJSON:e=>Uc(e),valueOf:Fm},{from:(e,t)=>iS(ey(e,t)),compare:(e,t)=>lh(ey(e),ey(t))}),cS={fields:(e,t,n)=>[...t.call(e,n)]},uS=Object.assign({dateFromFields:(e,t,n,r)=>sS(t.call(e,Object.assign(Object.create(null),n),r))},cS),hS=Object.assign({yearMonthFromFields:(e,t,n,r)=>nS(t.call(e,Object.assign(Object.create(null),n),r))},cS),lS=Object.assign({monthDayFromFields:(e,t,n,r)=>Zy(t.call(e,Object.assign(Object.create(null),n),r))},cS),fS={mergeFields:(e,t,n,r)=>$i(t.call(e,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))},dS=Object.assign({},uS,fS),gS=Object.assign({},hS,fS),mS=Object.assign({},lS,fS),yS={dateAdd:(e,t,n,r,o)=>sS(t.call(e,iS(hc(n,e)),DS(gc(r)),o))},SS=Object.assign({},yS,{dateUntil:(e,t,n,r,o,a)=>_S(t.call(e,iS(hc(n,e)),iS(hc(r,e)),Object.assign(Object.create(null),a,{largestUnit:Ef[o]})))}),pS=Object.assign({},yS,{day:ty}),wS=Object.assign({},SS,{day:ty}),vS=ny(hS),AS=ny(uS),bS=ny(lS),TS=ny(gS),IS=ny(dS),MS=ny(mS),ES=ny(yS),OS=ny(SS),CS=ny(pS),NS=ny(wS),[HS,DS,_S]=Rm(mg,(function(){return gc(_u(Si(Qi,yi(ud,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0]))))}),{...Py,blank:function(e){return!e.sign}},{with:(e,t)=>DS(function(e,t){return gc((n=e,r=t,_u({...n,...il(r,hd)})));var n,r}(e,t)),negated:e=>DS(Nu(e)),abs:e=>DS(function(e){return-1===e.sign?Nu(e):e}(e)),add:(e,t,n)=>DS(Cu(oy,OS,Vm,0,e,ry(t),n)),subtract:(e,t,n)=>DS(Cu(oy,OS,Vm,1,e,ry(t),n)),round:(e,t)=>DS(function(e,t,n,r,o){const a=Bu(r),[i,s,c,u,h]=((e,t,n)=>{e=tc(e,jd);let r=Qd(e);const o=n(e[Zd]);let a=qs(e);const i=sg(e,7);let s=Xd(e);if(void 0===r&&void 0===s)throw new RangeError(yf);return null==s&&(s=0),null==r&&(r=Math.max(s,t)),ic(r,s),a=Xs(a,s,1),[r,s,a,i,o]})(o,a,e),l=Math.max(a,i);if(!Eu(h)&&l<=6)return gc(_u(((e,t,n,r,o)=>{const a=Dc(Lu(e),n,r,o);return{...md,...Ru(a,t)}})(r,i,s,c,u)));if(!h)throw new RangeError(gf);const[f,d,g]=bu(t,n,h),m=Tu(g),y=Iu(g),S=Mu(g),p=y(d,f,r);let w=S(d,f,p,i);const v=r.sign,A=Du(w);if(v&&A&&v!==A)throw new RangeError(tf);return A&&(w=Hc(w,m(p),i,s,c,u,d,f,m,y)),gc(w)}(oy,OS,Vm,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=Bu(r),[i,s]=((e,t)=>{const n=t((e=tc(e,Fd))[Zd]);let r=eg(e);return r=Zi(Fd,r),[r,n]})(o,e);if(Ou(Math.max(i,a),s))return wc(r,i);if(!s)throw new RangeError(gf);const[c,u,h]=bu(t,n,s),l=Tu(h),f=Iu(h),d=Mu(h),g=f(u,c,r),m=d(u,c,g,i);return Ou(i,s)?wc(m,i):((e,t,n,r,o,a,i)=>{const s=Du(e),[c,u]=vc(r,Sd(n,e),n,s,o,a,i),h=Ac(t,c,u);return e[ud[n]]+h*s})(m,l(g),i,u,c,l,f)}(oy,OS,Vm,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):Vc(e)},toString:Vc,toJSON:e=>Vc(e),valueOf:Fm},{from:e=>DS(ry(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(ec(a).relativeTo),s=Math.max(Bu(r),Bu(o));if(Ti(ud,r,o))return 0;if(Ou(s,i))return as(Lu(r),Lu(o));if(!i)throw new RangeError(gf);const[c,u,h]=bu(t,n,i),l=Tu(h),f=Iu(h);return as(l(f(u,c,r)),l(f(u,c,o)))}(oy,ES,Vm,ry(e),ry(t),n)}),kS={toString:e=>e.id,toJSON:e=>e.id,...Dy,dateAdd:(e,t,n,r)=>{let{id:o,o:a}=e;return iS(hc(a.dateAdd(ey(t),ry(n),r),o))},dateUntil:(e,t,n,r)=>{let{o:o}=e;return DS(gc(o.dateUntil(ey(t),ey(n),function(e){return e=ec(e),Qd(e,9,6,1)}(r))))},dateFromFields:(e,t,n)=>{let{id:r,o:o}=e;return iS(nl(o,t,n,function(e){return e===ed?["year","day"]:[]}(r)))},yearMonthFromFields:(e,t,n)=>{let{id:r,o:o}=e;return tS(rl(o,t,n,function(e){return e===ed?$f:[]}(r)))},monthDayFromFields:(e,t,n)=>{let{id:r,o:o}=e;return xy(ol(o,0,t,n,function(e){return e===ed?Kf:[]}(r)))},fields(e,t){let{o:n}=e;const r=new Set(Wf),o=[];for(const e of t){if(ad(e),!r.has(e))throw new RangeError(Fl(e));r.delete(e),o.push(e)}return n.fields(o)},mergeFields:(e,t,n)=>{let{o:r}=e;return r.mergeFields(bi(xi(t)),bi(xi(n)))}},[LS]=Rm("Calendar",(e=>{const t=function(e){return Zh(ad(e))}(e);return{branding:"Calendar",id:t,o:nm(t)}}),{id:e=>e.id},kS,{from(e){const t=sy(e);return"string"==typeof t?new LS(t):t}}),RS=Ym(Object.keys(kS).slice(4)),[YS,PS]=Rm(dg,Mi((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ed;return cc(ys(ss(Wi(n))),t(r),e(o))}),sy,Jm),{...jy,...Ry,...uy(_y),...uy(By),offset:e=>Qc(hy(e).offsetNanoseconds),offsetNanoseconds:e=>hy(e).offsetNanoseconds,timeZoneId:e=>Sc(e.timeZone),hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=bg(t,n),[o,a]=Oc(r),i=hs(os(su(n,o),su(n,a)),kf,1);if(i<=0)throw new RangeError(tf);return i}(Vm,e)},{getISOFields:e=>function(e,t){const n=bg(t,e);return{calendar:t.calendar,...vi(Td,n),offset:Qc(n.offsetNanoseconds),timeZone:t.timeZone}}(zm,e),getCalendar:Um,getTimeZone:e=>{let{timeZone:t}=e;return"string"==typeof t?new Jy(t):t},with(e,t,n){return PS(function(e,t,n,r,o,a){const i=nc(a),{calendar:s,timeZone:c}=n;return cc(((e,t,n,r,o)=>{const a=cl(e,n,r,Wf,Ff,Bf),[i,s,c]=Zs(o,2);return iu(t,{...e.dateFromFields(a,rc(o,i)),...sl(a,i)},Uu(a.offset),s,c)})(e(s),t(c),r,o,i),c,s)}(IS,Vm,e,this,Pm(t),n))},withCalendar:(e,t)=>PS(vl(e,sy(t))),withTimeZone:(e,t)=>PS(function(e,t){return{...e,timeZone:t}}(e,Jm(t))),withPlainDate:(e,t)=>PS(function(e,t,n){const r=t.timeZone,o=e(r),a={...bg(t,o),...n},i=Al(t.calendar,n.calendar);return cc(iu(o,a,a.offsetNanoseconds,2),r,i)}(Vm,e,ey(t))),withPlainTime:(e,t)=>PS(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Id;const r=t.timeZone,o=e(r),a={...bg(t,o),...n};return cc(iu(o,a,a.offsetNanoseconds,2),r,t.calendar)}(Vm,e,qm(t))),add:(e,t,n)=>PS(lu(ES,Vm,0,e,ry(t),n)),subtract:(e,t,n)=>PS(lu(ES,Vm,1,e,ry(t),n)),until:(e,t,n)=>DS(gc(mh(OS,Vm,0,e,cy(t),n))),since:(e,t,n)=>DS(gc(mh(OS,Vm,1,e,cy(t),n))),round:(e,t)=>PS(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=zs(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=bg(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=su(t,a),u=su(t,i);if(is(s,c,u))throw new RangeError(tf);return Lc(Ac(s,c,u),r)?u:c})(Oc,u,t,c);else{const e=u.getOffsetNanosecondsFor(r);r=iu(u,bc(Os(r,e),i,s,c),e,2,0,1)}return cc(r,o,a)}(Vm,e,t)),startOfDay:e=>PS(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>su(t,e(bg(n,t))))(Cc,e(n),t);return cc(o,n,r)}(Vm,e)),equals:(e,t)=>function(e,t){return!uh(e,t)&&!!dh(e.timeZone,t.timeZone)&&pc(e.calendar,t.calendar)}(e,cy(t)),toInstant:e=>Ky(function(e){return sc(e.epochNanoseconds)}(e)),toPlainDateTime:e=>oS(Sl(zm,e)),toPlainDate:e=>iS(pl(zm,e)),toPlainTime:e=>Qy(wl(zm,e)),toPlainYearMonth(e){return tS(function(e,t,n){return hl(e(t.calendar),n)}(vS,e,this))},toPlainMonthDay(e){return xy(function(e,t,n){return ul(e(t.calendar),n)}(bS,e,this))},toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=Sy(t,n,e);return r.format(o)},toString:(e,t)=>jc(zm,e,t),toJSON:e=>jc(zm,e),valueOf:Fm},{from:(e,t)=>PS(cy(e,t)),compare:(e,t)=>uh(cy(e),cy(t))}),BS=Object.defineProperties({},{...mi("Temporal.Now"),...di({timeZoneId:()=>Nl(),instant:()=>Ky(sc(Cl())),zonedDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nl();return PS(cc(Cl(),Jm(t),sy(e)))},zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return PS(cc(Cl(),Jm(e),ed))},plainDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nl();return oS(uc(Ol(zm(Jm(t))),sy(e)))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return oS(uc(Ol(zm(Jm(e))),ed))},plainDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nl();return iS(hc(Ol(zm(Jm(t))),sy(e)))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return iS(hc(Ol(zm(Jm(e))),ed))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nl();return Qy(dc(Ol(zm(Jm(e)))))}})}),jS=Object.defineProperties({},{...mi("Temporal"),...di({PlainYearMonth:eS,PlainMonthDay:Uy,PlainDate:aS,PlainTime:Xy,PlainDateTime:rS,ZonedDateTime:YS,Instant:zy,Calendar:LS,TimeZone:Jy,Duration:HS,Now:BS})}),FS=ly(),US=new WeakMap;function xS(e){return e*Math.PI/180}function ZS(e){return 180*e/Math.PI}Object.create(Intl),di({DateTimeFormat:FS});class $S{constructor(e,t,n,r,o){this.locationName=null,this.setLocationName(e),this.setLatitude(t),this.setLongitude(n),this.setElevation(r),this.setTimeZone(o)}getElevation(){return this.elevation}setElevation(e){if("number"!=typeof e)throw new TypeError("Invalid elevation");if(e<0)throw new RangeError(`elevation ${e} must be zero or positive`);this.elevation=e}setLatitude(e){if("number"!=typeof e)throw new TypeError("Invalid latitude");if(e<-90||e>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);this.latitude=e}getLatitude(){return this.latitude}setLongitude(e){if("number"!=typeof e)throw new TypeError("Invalid longitude");if(e<-180||e>180)throw new RangeError(`Longitude ${e} out of range [-180,180]`);this.longitude=e}getLongitude(){return this.longitude}getLocationName(){return this.locationName}setLocationName(e){this.locationName=e}getTimeZone(){return this.timeZoneId}setTimeZone(e){this.timeZoneId=e}}const VS=6356.9;class zS{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(zS.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(zS.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(zS.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(zS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(zS.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(zS.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(zS.ASTRONOMICAL_ZENITH)}static getTimeOffset(e,t){return null===e||isNaN(t)?null:e.add({milliseconds:t})}getSunriseOffsetByDegrees(e){const t=this.getUTCSunrise0(e);return isNaN(t)?null:this.getDateFromTime(t,!0)}getSunsetOffsetByDegrees(e){const t=this.getUTCSunset0(e);return isNaN(t)?null:this.getDateFromTime(t,!1)}getUTCSunrise0(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunrise(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!1)}getUTCSunset0(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunset(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!1)}getAdjustedDate(){return this.date}getElevationAdjustment(e){return ZS(Math.acos(VS/(VS+e/1e3)))}adjustZenith(e,t){let n=e;return e===zS.GEOMETRIC_ZENITH&&(n=e+(.8333333333333333+this.getElevationAdjustment(t))),n}getUTCSunrise(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=zS.getSunriseUTC(zS.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getUTCSunset(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=zS.getSunsetUTC(zS.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getTemporalHour(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();if(null===e||null===t)return NaN;const n=t.epochMilliseconds-e.epochMilliseconds;return Math.floor(n/12)}getSunTransit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();const n=this.getTemporalHour(e,t);return zS.getTimeOffset(e,6*n)}getDateFromTime(e,t){if(isNaN(e))return null;let n=e,r=this.getAdjustedDate();const o=Math.trunc(n);n-=o;const a=Math.trunc(n*=60);n-=a;const i=Math.trunc(n*=60);n-=i;const s=Math.trunc(this.geoLocation.getLongitude()/15);return t&&s+o>18?r=r.add({days:-1}):!t&&s+o<6&&(r=r.add({days:1})),r.toZonedDateTime({timeZone:"UTC",plainTime:new jS.PlainTime(o,a,i,Math.trunc(1e3*n))}).withTimeZone(this.geoLocation.getTimeZone())}static getJulianDay(e){let{year:t,month:n}=e;const{day:r}=e;n<=2&&(t-=1,n+=12);const o=Math.trunc(t/100),a=Math.trunc(2-o+o/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(n+1))+r+a-1524.5}static getJulianCenturiesFromJulianDay(e){return(e-zS.JULIAN_DAY_JAN_1_2000)/zS.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*zS.JULIAN_DAYS_PER_CENTURY+zS.JULIAN_DAY_JAN_1_2000}static getSunGeometricMeanLongitude(e){let t=280.46646+e*(36000.76983+3032e-7*e);for(;t>360;)t-=360;for(;t<0;)t+=360;return t}static getSunGeometricMeanAnomaly(e){return 357.52911+e*(35999.05029-1537e-7*e)}static getEarthOrbitEccentricity(e){return.016708634-e*(42037e-9+1.267e-7*e)}static getSunEquationOfCenter(e){const t=xS(zS.getSunGeometricMeanAnomaly(e));return Math.sin(t)*(1.914602-e*(.004817+14e-6*e))+Math.sin(t+t)*(.019993-101e-6*e)+289e-6*Math.sin(t+t+t)}static getSunTrueLongitude(e){return zS.getSunGeometricMeanLongitude(e)+zS.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return zS.getSunTrueLongitude(e)-.00569-.00478*Math.sin(xS(t))}static getMeanObliquityOfEcliptic(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}static getObliquityCorrection(e){const t=125.04-1934.136*e;return zS.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(xS(t))}static getSunDeclination(e){const t=zS.getObliquityCorrection(e),n=zS.getSunApparentLongitude(e),r=Math.sin(xS(t))*Math.sin(xS(n));return ZS(Math.asin(r))}static getEquationOfTime(e){const t=zS.getObliquityCorrection(e),n=zS.getSunGeometricMeanLongitude(e),r=zS.getEarthOrbitEccentricity(e),o=zS.getSunGeometricMeanAnomaly(e);let a=Math.tan(xS(t)/2);a*=a;const i=Math.sin(2*xS(n)),s=Math.sin(xS(o));return 4*ZS(a*i-2*r*s+4*r*a*s*Math.cos(2*xS(n))-.5*a*a*Math.sin(4*xS(n))-1.25*r*r*Math.sin(2*xS(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=xS(e),o=xS(t);return Math.acos(Math.cos(xS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=xS(e),o=xS(t);return-Math.acos(Math.cos(xS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=zS.getJulianDay(e.toPlainDate()),o=zS.getJulianCenturiesFromJulianDay(r),a=zS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=xS(n-i),c=xS(zS.getSunDeclination(o)),u=xS(t);return ZS(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=zS.getJulianDay(e.toPlainDate()),o=zS.getJulianCenturiesFromJulianDay(r),a=zS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=xS(n-i),c=xS(zS.getSunDeclination(o)),u=xS(t);return ZS(Math.atan(Math.sin(s)/(Math.cos(s)*Math.sin(u)-Math.tan(c)*Math.cos(u))))+180}static getSunriseUTC(e,t,n,r){const o=zS.getJulianCenturiesFromJulianDay(e),a=zS.getSolarNoonUTC(o,n),i=zS.getJulianCenturiesFromJulianDay(e+a/1440);let s=zS.getEquationOfTime(i),c=zS.getSunDeclination(i),u=zS.getSunHourAngleAtSunrise(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s;const d=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(o)+f/1440);return s=zS.getEquationOfTime(d),c=zS.getSunDeclination(d),u=zS.getSunHourAngleAtSunrise(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(e)+t/360);let r=zS.getEquationOfTime(n);const o=720+4*t-r,a=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=zS.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=zS.getJulianCenturiesFromJulianDay(e),a=zS.getSolarNoonUTC(o,n),i=zS.getJulianCenturiesFromJulianDay(e+a/1440);let s=zS.getEquationOfTime(i),c=zS.getSunDeclination(i),u=zS.getSunHourAngleAtSunset(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s;const d=zS.getJulianCenturiesFromJulianDay(zS.getJulianDayFromJulianCenturies(o)+f/1440);return s=zS.getEquationOfTime(d),c=zS.getSunDeclination(d),u=zS.getSunHourAngleAtSunset(t,c,r),h=n-ZS(u),l=4*h,f=720+l-s,f}}zS.GEOMETRIC_ZENITH=90,zS.CIVIL_ZENITH=96,zS.NAUTICAL_ZENITH=102,zS.ASTRONOMICAL_ZENITH=108,zS.JULIAN_DAY_JAN_1_2000=2451545,zS.JULIAN_DAYS_PER_CENTURY=36525;const KS=[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem",27],["Atlanta","US",33.749,-84.38798,"America/New_York",336],["Austin","US",30.26715,-97.74306,"America/Chicago",165],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad",41],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem",285],["Berlin","DE",52.52437,13.41053,"Europe/Berlin",43],["Baltimore","US",39.29038,-76.61219,"America/New_York",35],["Bogota","CO",4.60971,-74.08175,"America/Bogota",2582],["Boston","US",42.35843,-71.05977,"America/New_York",38],["Budapest","HU",47.49801,19.03991,"Europe/Budapest",104],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires",31],["Buffalo","US",42.88645,-78.87837,"America/New_York",191],["Chicago","US",41.85003,-87.65005,"America/Chicago",180],["Cincinnati","US",39.162,-84.45689,"America/New_York",267],["Cleveland","US",41.4995,-81.69541,"America/New_York",204],["Dallas","US",32.78306,-96.80667,"America/Chicago",139],["Denver","US",39.73915,-104.9847,"America/Denver",1636],["Detroit","US",42.33143,-83.04575,"America/Detroit",192],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem",63],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar",11],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem",40],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu",18],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki",26],["Houston","US",29.76328,-95.36327,"America/Chicago",30],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem",786],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg",1767],["Kiev","UA",50.45466,30.5238,"Europe/Kiev",187],["La Paz","BO",-16.5,-68.15,"America/La_Paz",3782],["Livingston","US",40.79593,-74.31487,"America/New_York",98],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles",613],["London","GB",51.50853,-.12574,"Europe/London",25],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles",96],["Marseilles","FR",43.29695,5.38107,"Europe/Paris",28],["Miami","US",25.77427,-80.19366,"America/New_York",25],["Minneapolis","US",44.97997,-93.26384,"America/Chicago",262],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne",25],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City",2240],["Montreal","CA",45.50884,-73.58781,"America/Toronto",216],["Moscow","RU",55.75222,37.61556,"Europe/Moscow",144],["New York","US",40.71427,-74.00597,"America/New_York",57],["Omaha","US",41.25861,-95.93779,"America/Chicago",315],["Ottawa","CA",45.41117,-75.69812,"America/Toronto",71],["Panama City","PA",8.9936,-79.51973,"America/Panama",17],["Paris","FR",48.85341,2.3488,"Europe/Paris",42],["Pawtucket","US",41.87871,-71.38256,"America/New_York",0],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem",54],["Philadelphia","US",39.95233,-75.16379,"America/New_York",8],["Phoenix","US",33.44838,-112.07404,"America/Phoenix",366],["Pittsburgh","US",40.44062,-79.99589,"America/New_York",239],["Providence","US",41.82399,-71.41283,"America/New_York",0],["Portland","US",45.52345,-122.67621,"America/Los_Angeles",15],["Saint Louis","US",38.62727,-90.19789,"America/Chicago",149],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow",11],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles",20],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles",28],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo",769],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles",56],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney",58],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem",15],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem",0],["Toronto","CA",43.70011,-79.4163,"America/Toronto",175],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver",70],["White Plains","US",41.03399,-73.76291,"America/New_York",82],["Washington DC","US",38.89511,-77.03637,"America/New_York",6],["Worcester","US",42.26259,-71.80229,"America/New_York",164]],GS=new Map,JS={0:"UTC",4:"America/Puerto_Rico",5:"America/New_York",6:"America/Chicago",7:"America/Denver",8:"America/Los_Angeles",9:"America/Anchorage",10:"Pacific/Honolulu",11:"Pacific/Pago_Pago",13:"Pacific/Funafuti",14:"Pacific/Guam",15:"Pacific/Palau",16:"Pacific/Chuuk"},WS=new Map;class qS extends $S{constructor(e,t,n,r,o,a,i,s){const c="number"==typeof e?e:parseFloat(e);if(isNaN(c)||c<-90||c>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);const u="number"==typeof t?t:parseFloat(t);if(isNaN(u)||u<-180||u>180)throw new RangeError(`Longitude ${t} out of range [-180,180]`);super(o||null,c,u,"number"==typeof s&&s>0?s:0,r),this.il=Boolean(n),this.cc=a,this.geoid=i}getIsrael(){return this.il}getName(){return this.getLocationName()}getShortName(){const e=this.getLocationName();if(!e)return e;const t=e.indexOf(", ");if(-1===t)return e;if("US"===this.cc&&"D"===e[t+2]){if("C"===e[t+3])return e.substring(0,t+4);if("."===e[t+3]&&"C"===e[t+4])return e.substring(0,t+6)}return e.substring(0,t)}getCountryCode(){return this.cc}getTzid(){return this.getTimeZone()}getTimeFormatter(){return function(e){const t=WS.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return WS.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return GS.get(e.toLowerCase())}toString(){return JSON.stringify(this)}static legacyTzToTzid(e,t){if(e=+e,"none"==t){if(0==e)return"UTC";return`Etc/GMT${e>0?"+":""}${e}`}if(2==e&&"israel"==t)return"Asia/Jerusalem";if("eu"==t)switch(e){case-2:return"Atlantic/Cape_Verde";case-1:return"Atlantic/Azores";case 0:return"Europe/London";case 1:return"Europe/Paris";case 2:return"Europe/Athens"}else if("usa"==t)return JS[String(-1*e)]}static getUsaTzid(e,t,n){return 10==t&&"AK"==e?"America/Adak":7==t&&"AZ"==e?"Y"==n?"America/Denver":"America/Phoenix":JS[t]}static addLocation(e,t){const n=e.toLowerCase();return!GS.has(n)&&(GS.set(n,t),!0)}}for(const e of KS){const t=new qS(e[2],e[3],"IL"==e[1],e[4],e[0],e[1],void 0,e[5]);qS.addLocation(e[0],t)}function XS(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}Object.defineProperties(globalThis,di({Temporal:jS})),Object.defineProperties(Intl,di({DateTimeFormat:FS})),Object.defineProperties(Date.prototype,di({toTemporalInstant:function(){return Ky(sc(cs(this.valueOf(),Hf)))}}));class QS{constructor(t,n,r){const o=function(t){if(e.greg.isDate(t))return t;if(Oe.isHDate(t))return t.greg();throw new TypeError(`invalid date: ${t}`)}(n);this.date=o,this.gloc=t;const a=Temporal.PlainDate.from({year:o.getFullYear(),month:o.getMonth()+1,day:o.getDate()});this.noaa=new zS(t,a),this.useElevation=Boolean(r)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return XS(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return XS(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return XS(this.noaa.getSeaLevelSunrise())}sunset(){return XS(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return XS(this.noaa.getSeaLevelSunset())}dawn(){return XS(this.noaa.getBeginCivilTwilight())}dusk(){return XS(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new QS(this.gloc,e,this.useElevation).sunset()}nightHour(){return(this.sunrise().getTime()-this.gregEve().getTime())/12}chatzot(){const e=this.noaa.getSeaLevelSunrise(),t=this.noaa.getSeaLevelSunset();return XS(this.noaa.getSunTransit(e,t))}chatzotNight(){return new Date(this.sunrise().getTime()-6*this.nightHour())}alotHaShachar(){return this.timeAtAngle(16.1,!0)}misheyakir(){return this.timeAtAngle(11.5,!0)}misheyakirMachmir(){return this.timeAtAngle(10.2,!0)}getShaahZmanisBasedZman(e){const t=this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise(),n=this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset(),r=this.noaa.getTemporalHour(t,n),o=Math.round(r*e);return XS(zS.getTimeOffset(t,o))}sofZmanShma(){return this.getShaahZmanisBasedZman(3)}sofZmanTfilla(){return this.getShaahZmanisBasedZman(4)}getTemporalHour72(e){const t=this.sunriseOffset(-72,!1,e),n=(this.sunsetOffset(72,!1,e).getTime()-t.getTime())/12;return[t,n]}getTemporalHourByDeg(e){const t=this.timeAtAngle(e,!0),n=(this.timeAtAngle(e,!1).getTime()-t.getTime())/12;return[t,n]}sofZmanShmaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanShmaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(3*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA(){const[e,t]=this.getTemporalHour72(!0),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1),n=Math.floor(4*t);return new Date(e.getTime()+n)}sofZmanTfillaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8),n=Math.floor(4*t);return new Date(e.getTime()+n)}minchaGedola(){return this.getShaahZmanisBasedZman(6.5)}minchaGedolaMGA(){const[e,t]=this.getTemporalHour72(!1),n=Math.floor(6.5*t);return new Date(e.getTime()+n)}minchaKetana(){return this.getShaahZmanisBasedZman(9.5)}minchaKetanaMGA(){const[e,t]=this.getTemporalHour72(!1);return new Date(e.getTime()+Math.floor(9.5*t))}plagHaMincha(){return this.getShaahZmanisBasedZman(10.75)}tzeit(e=8.5){return this.timeAtAngle(e,!1)}neitzHaChama(){return this.sunrise()}shkiah(){return this.sunset()}beinHaShmashos(){const e=this.tzeit(7.083),t=e.getTime();return isNaN(t)?e:new Date(t-81e4)}static formatTime(e,t){const n=t.format(e),r=n.split(":");return"24"===r[0]?"00:"+r[1]:n}static roundTime(e){const t=e.getTime();if(isNaN(t))return e;const n=e.getMilliseconds(),r=e.getSeconds();if(0===r&&0===n)return e;const o=1e3*r+n;return new Date(t+(o>=3e4?6e4-o:-1*o))}static timeZoneOffset(e,t){const n=function(e,t){const n=ce("UTC",t),r=ce(e,t),o=new Date(n).getTime()-new Date(r).getTime();return Math.ceil(o/1e3/60)}(e,t),r=Math.abs(n),o=r%60;return(n<0?"+":"-")+he(Math.floor(r/60))+":"+he(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?"0000-00-00T00:00:00Z":ce(e,t).substring(0,19)+QS.timeZoneOffset(e,t)}sunriseOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunrise():this.sunrise();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}sunsetOffset(e,t=!0,n=!1){const r=n?this.seaLevelSunset():this.sunset();return isNaN(r.getTime())?r:(t&&(e>0&&r.getSeconds()>=30&&e++,r.setSeconds(0,0)),new Date(r.getTime()+60*e*1e3))}}const ep={US:1,CA:1,BR:1,AU:1,NZ:1,DO:1,PR:1,GR:1,IN:1,KR:1,NP:1,ZA:1};function tp(e,t,n){var r;if("string"!=typeof e)throw new TypeError(`Bad timeStr: ${e}`);const o=(null===(r=null==n?void 0:n.location)||void 0===r?void 0:r.getCountryCode())||((null==n?void 0:n.il)?"IL":"US"),a=null==n?void 0:n.hour12;if(void 0!==a&&!a)return e;if(!a&&void 0===ep[o])return e;const i=e.split(":");let s=parseInt(i[0],10);return s<12&&t?(t=t.replace("p","a").replace("P","A"),0===s&&(s=12)):s>12?s%=12:0===s&&(s="00"),`${s}:${i[1]}${t}`}class np extends Be{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=QS.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=QS.formatTime(this.eventTime,s);const c=Object.assign(Object.assign({},i),{location:o});this.fmtTime=tp(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return we.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return we.gettext(this.getDesc(),e)}getCategories(){switch(this.getDesc()){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}return["unknown"]}}class rp extends np{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}class op extends np{constructor(e,t,n,r,o,a,i){super(e,"Havdalah",t,n,r,a,i),o&&(this.havdalahMins=o)}render(e){return this.renderBrief(e)+": "+this.fmtTime}renderBrief(e){let t=we.gettext(this.getDesc(),e);if(this.havdalahMins){const n=we.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}const ap=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ip=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],sp="בַּלַּ֥יְלָה";class cp{constructor(e,t){this.m=function(e,t){let n=t-7;n<0&&(n+=E(e));const r=235*Math.floor((e-1)/19)+(e-1)%19*12+Math.floor(((e-1)%19*7+1)/19)+n,o=204+Math.floor(r%1080*793),a=5+12*r+793*Math.floor(r/1080)+Math.floor(o/1080)-6,i=(o%1080+a%24*1080)%1080;return{year:e,month:t,dayOfWeek:(1+29*r+Math.floor(a/24))%7,hour:a%24,minutes:Math.floor(i/18),chalakim:i%18}}(e,t)}getYear(){return this.m.year}getMonth(){return this.m.month}getMonthName(){return Oe.getMonthName(this.m.month,this.m.year)}getDow(){return this.m.dayOfWeek}getHour(){return this.m.hour}getMinutes(){return this.m.minutes}getChalakim(){return this.m.chalakim}render(e,t){var n;"string"==typeof(e=null!=e?e:we.getLocaleName())&&(e=e.toLowerCase());const r="he"===e||"he-x-nonikud"===e||"h"===e,o=we.gettext(this.getMonthName(),e),a=(r?ip:ap)[this.getDow()],i=this.getMinutes(),s=this.getHour(),c=this.getChalakim(),u=we.gettext("Molad",e),h=null!==(n=we.lookupTranslation("min",e))&&void 0!==n?n:"minutes",l=we.gettext("chalakim",e);if(r){const t=function(e){return e<5?sp:e<12?"בַּבֹּקֶר":e<17?"בַּצׇּהֳרַיִים":e<21?"בָּעֶרֶב":sp}(s),n=`${u} ${o} יִהְיֶה בַּיּוֹם ${a} בשָׁבוּעַ, בְּשָׁעָה ${s} ${t}, ו-${i} ${h} ו-${c} ${l}`;return"he-x-nonikud"===e?we.hebrewStripNikkud(n):n}const f=tp(`${s}:00`,"pm",t);return`${u} ${o.replace(/'/g,"’")}: ${a}, ${i} ${h} and ${c} ${l} after ${f}`}}class up extends Be{constructor(e,t,n,r){const o=new cp(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,Ye.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}class hp extends Be{constructor(e,t){if(super(e,`Omer ${t}`,Ye.OMER_COUNT),t<1||t>49)throw new RangeError(`Invalid Omer day ${t}`);this.weekNumber=Math.floor((t-1)/7)+1,this.daysWithinWeeks=t%7||7,this.omer=t}sefira(e="en"){return"he"!==e&&"translit"!==e&&(e="en"),function(e,t){G(e);const[n,r]=J(e),o=K[t],a=o.words[n];return(o.words[r]+" "+(2===n||6===n?o.infix26:o.infix)+a).normalize()}(this.omer,e)}render(e){"string"==typeof(e=null!=e?e:we.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?V(n):we.ordinal(n,e))+" "+we.gettext("day of the Omer",e)}renderBrief(e){return we.gettext("Omer",e)+" "+we.gettext("day",e)+" "+this.omer}getEmoji(){return"string"==typeof this.emoji?this.emoji:function(e){let t;return G(e),t=e<=20?9312+e-1:e<=35?12881+e-21:12977+e-36,String.fromCodePoint(t)}(this.omer)}getWeeks(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}getDaysWithinWeeks(){return this.daysWithinWeeks}getTodayIs(e){"string"==typeof(e=null!=e?e:we.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e?"he":"en",n=W(this.omer,t);return"he-x-nonikud"===e?we.hebrewStripNikkud(n):n}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class lp extends Map{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"==typeof this.onEviction)for(const[t,n]of e)this.onEviction(t,n.value)}_deleteIfExpired(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.onEviction&&this.onEviction(e,t.value),this.delete(e))}_getOrDeleteIfExpired(e,t){if(!1===this._deleteIfExpired(e,t))return t.value}_getItemValue(e,t){return t.expiry?this._getOrDeleteIfExpired(e,t):t.value}_peek(e,t){const n=t.get(e);return this._getItemValue(e,n)}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,t){this.oldCache.delete(e),this._set(e,t)}*_entriesAscending(){for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,n)&&(yield e)}}for(const e of this.cache){const[t,n]=e;!1===this._deleteIfExpired(t,n)&&(yield e)}}get(e){if(this.cache.has(e)){const t=this.cache.get(e);return this._getItemValue(e,t)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,t))return this._moveToRecent(e,t),t.value}}set(e,t){let{maxAge:n=this.maxAge}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r="number"==typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.cache.has(e)?this.cache.set(e,{value:t,expiry:r}):this._set(e,{value:t,expiry:r}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this._entriesAscending()],n=t.length-e;n<0?(this.cache=new Map(t),this.oldCache=new Map,this._size=t.length):(n>0&&this._emitEvictions(t.slice(0,n)),this.oldCache=new Map(t.slice(n)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[t,n]=e;!1===this._deleteIfExpired(t,n)&&(yield[t,n.value])}for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,n)&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.cache];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;!1===this._deleteIfExpired(r,o)&&(yield[r,o.value])}e=[...this.oldCache];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;if(!this.cache.has(r)){!1===this._deleteIfExpired(r,o)&&(yield[r,o.value])}}}*entriesAscending(){for(const[e,t]of this._entriesAscending())yield[e,t.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;for(const[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}class fp{constructor(e,t){e=+e,this.year=e;const n=new Oe(1,m.TISHREI,e),r=n.abs(),o=n.getDay()+1;this.firstSaturday=Oe.dayOnOrBefore(6,r+6);const a=+Oe.isLeapYear(e);this.il=Boolean(t);const i=function(e){const t=Oe.longCheshvan(e),n=Oe.shortKislev(e);return t&&!n?2:!t&&n?0:1}(e);let s=`${a}${o}${i}`;if(_p[s]||(s+=+this.il),this.theSedraArray=_p[s],!this.theSedraArray)throw new Error(`improper sedra year type ${s} calculated for ${e}`)}get(e){return this.lookup(e).parsha}getString(e,t){const n=this.get(e),r=t||we.getLocaleName();let o=we.gettext(n[0],r);if(2==n.length){o+=("he"==r?"־":"-")+we.gettext(n[1],r)}return o=o.replace(/'/g,"’"),we.gettext("Parashat",r)+" "+o}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>53||e<0&&!function(e){switch(e){case-21:case-26:case-28:case-31:case-38:case-41:case-50:return!0}return!1}(e))throw new RangeError(`Invalid parsha number: ${e}`);const t=this.theSedraArray.indexOf(e);return-1===t?null:new Oe(this.firstSaturday+7*t)}if("string"==typeof e){const t=gp.get(e);if("number"==typeof t)return this.find(t);if(-1!==e.indexOf("-"))return this.find(e.split("-"));{const t=this.theSedraArray.indexOf(e);return-1===t?null:new Oe(this.firstSaturday+7*t)}}if(Array.isArray(e)&&1===e.length&&"string"==typeof e[0])return this.find(e[0]);if(Array.isArray(e)&&2===e.length&&"string"==typeof e[0]&&"string"==typeof e[1]){const t=e[0],n=e[1],r=gp.get(t);if(gp.get(n)===r+1)return this.find(-r);throw new RangeError(`Unrecognized parsha name: ${t}-${n}`)}throw new TypeError(`Invalid parsha argument: ${e}`)}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:Oe.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=Oe.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return Lp(this.year+1,this.il).lookup(n)}if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[dp[o]],chag:!1,num:o+1};const a=mp(o);return{parsha:[dp[a],dp[a+1]],chag:!1,num:[a+1,a+2]}}}const dp=["Bereshit","Noach","Lech-Lecha","Vayera","Chayei Sara","Toldot","Vayetzei","Vayishlach","Vayeshev","Miketz","Vayigash","Vayechi","Shemot","Vaera","Bo","Beshalach","Yitro","Mishpatim","Terumah","Tetzaveh","Ki Tisa","Vayakhel","Pekudei","Vayikra","Tzav","Shmini","Tazria","Metzora","Achrei Mot","Kedoshim","Emor","Behar","Bechukotai","Bamidbar","Nasso","Beha'alotcha","Sh'lach","Korach","Chukat","Balak","Pinchas","Matot","Masei","Devarim","Vaetchanan","Eikev","Re'eh","Shoftim","Ki Teitzei","Ki Tavo","Nitzavim","Vayeilech","Ha'azinu"],gp=new Map;for(let e=0;e<dp.length;e++){const t=dp[e];gp.set(t,e)}function mp(e){return-e}const yp="Sukkot Shabbat Chol ha-Moed",Sp="Pesach",pp="Pesach I",wp="Pesach Shabbat Chol ha-Moed",vp="Pesach VII",Ap="Pesach VIII",bp="Shavuot";function Tp(e,t){return Array.from({length:t-e+1},((t,n)=>n+e))}const Ip=[51,52,yp],Mp=[52,"Yom Kippur",yp],Ep=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],Op=Tp(0,20),Cp=Tp(0,27),Np=Tp(33,40),Hp=Tp(43,49),Dp=Tp(43,50),_p={"020":Ip.concat(Op,mp(21),23,24,Sp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Hp,mp(50)),"0220":Ip.concat(Op,mp(21),23,24,Sp,25,mp(26),mp(28),30,mp(31),33,bp,Tp(34,37),mp(38),40,mp(41),Hp,mp(50)),"0510":Mp.concat(Op,mp(21),23,24,pp,Ap,25,mp(26),mp(28),30,mp(31),Np,mp(41),Dp),"0511":Mp.concat(Op,mp(21),23,24,Sp,25,mp(26),mp(28),Tp(30,40),mp(41),Dp),"052":Mp.concat(Tp(0,24),vp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Dp),"070":Ep.concat(Op,mp(21),23,24,vp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Dp),"072":Ep.concat(Op,mp(21),23,24,wp,25,mp(26),mp(28),30,mp(31),Np,mp(41),Hp,mp(50)),1200:Ip.concat(Cp,wp,Tp(28,33),bp,Tp(34,37),mp(38),40,mp(41),Hp,mp(50)),1201:Ip.concat(Cp,wp,Tp(28,40),mp(41),Hp,mp(50)),1220:Ip.concat(Cp,pp,Ap,Tp(28,40),mp(41),Dp),1221:Ip.concat(Cp,Sp,Tp(28,50)),150:Mp.concat(Tp(0,28),vp,Tp(29,50)),152:Mp.concat(Tp(0,28),wp,Tp(29,49),mp(50)),170:Ep.concat(Cp,wp,Tp(28,40),mp(41),Hp,mp(50)),1720:Ep.concat(Cp,wp,Tp(28,33),bp,Tp(34,37),mp(38),40,mp(41),Hp,mp(50))};_p["0221"]=_p["020"],_p["0310"]=_p["0220"],_p["0311"]=_p["020"],_p[1310]=_p[1220],_p[1311]=_p[1221],_p[1721]=_p[170];const kp=new lp({maxSize:400});function Lp(e,t){const n=`${e}-${t?1:0}`;let r=kp.get(n);return r||(r=new fp(e,t),kp.set(n,r)),r}class Rp extends Be{constructor(e,t,n=!1,r=-1){if(!Array.isArray(t)||0===t.length||t.length>2)throw new TypeError("Bad parsha argument");super(e,"Parashat "+t.join("-"),Ye.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){const t=null!=e?e:we.getLocaleName(),n=this.parsha;let r=we.gettext(n[0],e);if(2==n.length){r+=("he"==t?"־":"-")+we.gettext(n[1],e)}r=r.replace(/'/g,"’");return(we.gettext("Parashat",e)+" "+r).normalize()}basename(){return this.parsha.join("-")}url(){if(this.getDate().greg().getFullYear()<100)return;const e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}urlDateSuffix(){return le(this.getDate().greg()).replace(/-/g,"")}}const Yp=m.NISAN,Pp=m.IYYAR,Bp=m.SIVAN,jp=m.TAMUZ,Fp=m.AV,Up=m.ELUL,xp=m.TISHREI,Zp=m.CHESHVAN,$p=m.KISLEV,Vp=m.SHVAT,zp=m.ADAR_II,Kp=Ye.CHAG,Gp=Ye.LIGHT_CANDLES,Jp=Ye.YOM_TOV_ENDS,Wp=Ye.CHUL_ONLY,qp=Ye.IL_ONLY,Xp=Ye.LIGHT_CANDLES_TZEIS,Qp=Ye.CHANUKAH_CANDLES,ew=Ye.MAJOR_FAST,tw=Ye.MINOR_HOLIDAY,nw=Ye.EREV,rw=Ye.CHOL_HAMOED,ow="🫓",aw="🌿🍋",iw="Rosh Hashana II",sw="Erev Yom Kippur",cw="Yom Kippur",uw="Erev Sukkot",hw="Sukkot I",lw="Sukkot II",fw="Sukkot III (CH''M)",dw="Sukkot IV (CH''M)",gw="Sukkot V (CH''M)",mw="Sukkot VI (CH''M)",yw="Shmini Atzeret",Sw="Simchat Torah",pw="Sukkot II (CH''M)",ww="Sukkot VII (Hoshana Raba)",vw="Chanukah: 1 Candle",Aw="Tu BiShvat",bw="Erev Purim",Tw="Purim",Iw="Shushan Purim",Mw="Erev Pesach",Ew="Pesach I",Ow="Pesach II",Cw="Pesach II (CH''M)",Nw="Pesach III (CH''M)",Hw="Pesach IV (CH''M)",Dw="Pesach V (CH''M)",_w="Pesach VI (CH''M)",kw="Pesach VII",Lw="Pesach VIII",Rw="Pesach Sheni",Yw="Lag BaOmer",Pw="Erev Shavuot",Bw="Shavuot",jw="Shavuot I",Fw="Shavuot II",Uw="Tu B'Av",xw="Rosh Hashana LaBehemot",Zw="Erev Rosh Hashana",$w="Yom Yerushalayim",Vw="Ben-Gurion Day",zw="Family Day",Kw="Yitzhak Rabin Memorial Day",Gw="Herzl Day",Jw="Jabotinsky Day",Ww="Sigd",qw="Yom HaAliyah",Xw="Yom HaAliyah School Observance",Qw="Hebrew Language Day",ev={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:Vw,CHANUKAH_1_CANDLE:vw,EREV_PESACH:Mw,EREV_PURIM:bw,EREV_ROSH_HASHANA:Zw,EREV_SHAVUOT:Pw,EREV_SUKKOT:uw,EREV_YOM_KIPPUR:sw,FAMILY_DAY:zw,HEBREW_LANGUAGE_DAY:Qw,HERZL_DAY:Gw,JABOTINSKY_DAY:Jw,LAG_BAOMER:Yw,PESACH_I:Ew,PESACH_II:Ow,PESACH_III_CHM:Nw,PESACH_II_CHM:Cw,PESACH_IV_CHM:Hw,PESACH_SHENI:Rw,PESACH_VII:kw,PESACH_VIII:Lw,PESACH_VI_CHM:_w,PESACH_V_CHM:Dw,PURIM:Tw,ROSH_HASHANA_II:iw,ROSH_HASHANA_LABEHEMOT:xw,SHAVUOT:Bw,SHAVUOT_I:jw,SHAVUOT_II:Fw,SHMINI_ATZERET:yw,SHUSHAN_PURIM:Iw,SIGD:Ww,SIMCHAT_TORAH:Sw,SUKKOT_I:hw,SUKKOT_II:lw,SUKKOT_III_CHM:fw,SUKKOT_II_CHM:pw,SUKKOT_IV_CHM:dw,SUKKOT_VII_HOSHANA_RABA:ww,SUKKOT_VI_CHM:mw,SUKKOT_V_CHM:gw,TU_BAV:Uw,TU_BISHVAT:Aw,YITZHAK_RABIN_MEMORIAL_DAY:Kw,YOM_HAALIYAH:qw,YOM_HAALIYAH_SCHOOL_OBSERVANCE:Xw,YOM_KIPPUR:cw,YOM_YERUSHALAYIM:$w},tv=[{mm:xp,dd:2,desc:iw,flags:Kp|Jp,emoji:"🍏🍯"},{mm:xp,dd:9,desc:sw,flags:nw|Gp},{mm:xp,dd:10,desc:cw,flags:Kp|ew|Jp},{mm:xp,dd:14,desc:uw,flags:Wp|nw|Gp,emoji:aw},{mm:xp,dd:15,desc:hw,flags:Wp|Kp|Xp,emoji:aw},{mm:xp,dd:16,desc:lw,flags:Wp|Kp|Jp,emoji:aw},{mm:xp,dd:17,desc:fw,flags:Wp|rw,chmDay:1,emoji:aw},{mm:xp,dd:18,desc:dw,flags:Wp|rw,chmDay:2,emoji:aw},{mm:xp,dd:19,desc:gw,flags:Wp|rw,chmDay:3,emoji:aw},{mm:xp,dd:20,desc:mw,flags:Wp|rw,chmDay:4,emoji:aw},{mm:xp,dd:22,desc:yw,flags:Wp|Kp|Xp},{mm:xp,dd:23,desc:Sw,flags:Wp|Kp|Jp},{mm:xp,dd:14,desc:uw,flags:qp|nw|Gp,emoji:aw},{mm:xp,dd:15,desc:hw,flags:qp|Kp|Jp,emoji:aw},{mm:xp,dd:16,desc:pw,flags:qp|rw,chmDay:1,emoji:aw},{mm:xp,dd:17,desc:fw,flags:qp|rw,chmDay:2,emoji:aw},{mm:xp,dd:18,desc:dw,flags:qp|rw,chmDay:3,emoji:aw},{mm:xp,dd:19,desc:gw,flags:qp|rw,chmDay:4,emoji:aw},{mm:xp,dd:20,desc:mw,flags:qp|rw,chmDay:5,emoji:aw},{mm:xp,dd:22,desc:yw,flags:qp|Kp|Jp},{mm:xp,dd:21,desc:ww,flags:Gp|rw,chmDay:-1,emoji:aw},{mm:$p,dd:24,desc:vw,flags:nw|tw|Qp,emoji:"🕎1️⃣"},{mm:Vp,dd:15,desc:Aw,flags:tw,emoji:"🌳"},{mm:zp,dd:13,desc:bw,flags:nw|tw,emoji:"🎭️📜"},{mm:zp,dd:14,desc:Tw,flags:tw,emoji:"🎭️📜"},{mm:zp,dd:15,desc:Iw,flags:tw,emoji:"🎭️📜"},{mm:Yp,dd:14,desc:Mw,flags:qp|nw|Gp,emoji:"🫓🍷"},{mm:Yp,dd:15,desc:Ew,flags:qp|Kp|Jp,emoji:ow},{mm:Yp,dd:16,desc:Cw,flags:qp|rw,chmDay:1,emoji:ow},{mm:Yp,dd:17,desc:Nw,flags:qp|rw,chmDay:2,emoji:ow},{mm:Yp,dd:18,desc:Hw,flags:qp|rw,chmDay:3,emoji:ow},{mm:Yp,dd:19,desc:Dw,flags:qp|rw,chmDay:4,emoji:ow},{mm:Yp,dd:20,desc:_w,flags:qp|rw|Gp,chmDay:5,emoji:ow},{mm:Yp,dd:21,desc:kw,flags:qp|Kp|Jp,emoji:ow},{mm:Yp,dd:14,desc:Mw,flags:Wp|nw|Gp,emoji:"🫓🍷"},{mm:Yp,dd:15,desc:Ew,flags:Wp|Kp|Xp,emoji:"🫓🍷"},{mm:Yp,dd:16,desc:Ow,flags:Wp|Kp|Jp,emoji:ow},{mm:Yp,dd:17,desc:Nw,flags:Wp|rw,chmDay:1,emoji:ow},{mm:Yp,dd:18,desc:Hw,flags:Wp|rw,chmDay:2,emoji:ow},{mm:Yp,dd:19,desc:Dw,flags:Wp|rw,chmDay:3,emoji:ow},{mm:Yp,dd:20,desc:_w,flags:Wp|rw|Gp,chmDay:4,emoji:ow},{mm:Yp,dd:21,desc:kw,flags:Wp|Kp|Xp,emoji:ow},{mm:Yp,dd:22,desc:Lw,flags:Wp|Kp|Jp,emoji:ow},{mm:Pp,dd:14,desc:Rw,flags:tw},{mm:Pp,dd:18,desc:Yw,flags:tw,emoji:"🔥"},{mm:Bp,dd:5,desc:Pw,flags:nw|Gp,emoji:"⛰️🌸"},{mm:Bp,dd:6,desc:Bw,flags:qp|Kp|Jp,emoji:"⛰️🌸"},{mm:Bp,dd:6,desc:jw,flags:Wp|Kp|Xp,emoji:"⛰️🌸"},{mm:Bp,dd:7,desc:Fw,flags:Wp|Kp|Jp,emoji:"⛰️🌸"},{mm:Fp,dd:15,desc:Uw,flags:tw,emoji:"❤️"},{mm:Up,dd:1,desc:xw,flags:tw,emoji:"🐑"},{mm:Up,dd:29,desc:Zw,flags:nw|Gp,emoji:"🍏🍯"}],nv=[{firstYear:5727,mm:Pp,dd:28,desc:$w,chul:!0},{firstYear:5737,mm:$p,dd:6,desc:Vw,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:Vp,dd:30,desc:zw},{firstYear:5758,mm:Zp,dd:12,desc:Kw,friSatMovetoThu:!0},{firstYear:5764,mm:Pp,dd:10,desc:Gw,satPostponeToSun:!0},{firstYear:5765,mm:jp,dd:29,desc:Jw,satPostponeToSun:!0},{firstYear:5769,mm:Zp,dd:29,desc:Ww,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:Yp,dd:10,desc:qw,chul:!0},{firstYear:5777,mm:Zp,dd:7,desc:Xw},{firstYear:5773,mm:m.TEVET,dd:21,desc:Qw,friSatMovetoThu:!0}],rv=[ev.LAG_BAOMER,ev.LEIL_SELICHOT,ev.PESACH_SHENI,ev.EREV_PURIM,ev.PURIM_KATAN,ev.SHUSHAN_PURIM,ev.TU_BAV,ev.TU_BISHVAT,ev.ROSH_HASHANA_LABEHEMOT];class ov extends Be{basename(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}url(){if(this.getDate().greg().getFullYear()<100)return;const e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&Ye.IL_ONLY?e+"?i=on":e}urlDateSuffix(){const e=this.getDate().greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&Ye.SPECIAL_SHABBAT?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;const t=this.getDesc();return rv.includes(t)?["holiday","minor"]:["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}clone(){const e=new ov(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&Object.defineProperty(e,t,{value:this[t]});return e}}class av extends ov{urlDateSuffix(){return le(this.getDate().greg()).replace(/-/g,"")}}class iv extends ov{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return we.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const sv="Rosh Chodesh";class cv extends ov{constructor(e,t){super(e,`${sv} ${t}`,Ye.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=we.gettext(t,e).replace(/'/g,"’");return we.gettext(sv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}const uv="Shabbat Mevarchim Chodesh";class hv extends Be{constructor(e,t,n){if(super(e,`${uv} ${t}`,Ye.SHABBAT_MEVARCHIM),this.monthName=t,n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n==Oe.monthsInYear(t)?m.NISAN:n+1,o=new cp(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=we.gettext(this.monthName,e).replace(/'/g,"’");return we.gettext(uv,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}const lv=new Map;class fv{static addCalendar(e,t){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);lv.set(e,t)}static lookup(e,t,n){const r=lv.get(e);return"function"==typeof r?r(t,n):null}}const dv="5.4.6";function gv(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():Ye.LIGHT_CANDLES;void 0!==e?r||(s&(Ye.LIGHT_CANDLES_TZEIS|Ye.CHANUKAH_CANDLES)?i=!0:s&Ye.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=Ye.LIGHT_CANDLES_TZEIS);const c=i?n.havdalahMins:n.candleLightingMins,u=n.location,h=Boolean(n.useElevation),l=new QS(u,t,h),f=c?l.sunsetOffset(c,!0):l.tzeit(n.havdalahDeg);if(!isNaN(f.getTime()))return a?new op(t,s,f,u,n.havdalahMins,e,n):new rp(t,s,f,u,e,n)}const mv="Fast begins",yv="Fast ends";function Sv(e,t,n,r){const o=r.location,a=e.getDate();return new np(a,n,e.getFlags(),t,o,e,r)}class pv extends ov{constructor(e,t,n,r,o){super(e,t,n),this.eventTime=QS.roundTime(r);const a=o.getTimeFormatter();this.eventTimeStr=QS.formatTime(this.eventTime,a),this.location=o}}const wv=0,vv=2,Av=5,bv=6,Tv=m.NISAN,Iv=m.IYYAR;function Mv(e){if(e<5708)return null;let t;const n=new Oe(15,Tv,e).getDay();return t=n===wv?2:n===bv?3:e<5764?4:n===vv?5:4,new Oe(t,Iv,e)}const Ev="Yom Kippur Katan";class Ov extends ov{constructor(e,t){super(e,`${Ev} ${t}`,Ye.MINOR_FAST|Ye.YOM_KIPPUR_KATAN),this.nextMonthName=t,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${t}`}basename(){return this.getDesc()}render(e){const t=we.gettext(this.nextMonthName,e).replace(/'/g,"’");return we.gettext(Ev,e)+" "+t}renderBrief(e){return we.gettext(Ev,e)}url(){}}const Cv=Ye.CHAG,Nv=Ye.IL_ONLY,Hv=Ye.LIGHT_CANDLES_TZEIS,Dv=Ye.CHANUKAH_CANDLES,_v=Ye.MINOR_FAST,kv=Ye.SPECIAL_SHABBAT,Lv=Ye.MODERN_HOLIDAY,Rv=Ye.MAJOR_FAST,Yv=Ye.MINOR_HOLIDAY,Pv=Ye.EREV,Bv=m.NISAN,jv=m.TAMUZ,Fv=m.AV,Uv=m.TISHREI,xv=m.KISLEV,Zv=m.TEVET,$v=m.ADAR_I,Vv=m.ADAR_II,zv={emoji:"🇮🇱"},Kv=new lp({maxSize:400}),Gv=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function Jv(e){if("number"!=typeof e)throw new TypeError(`bad Hebrew year: ${e}`);if(e<1||e>32658)throw new RangeError(`Hebrew year ${e} out of range 1-32658`);const t=Kv.get(e);if(t)return t;const n=new Oe(1,Uv,e),r=new Oe(15,Bv,e),o=new Map;function a(...e){for(const t of e){const e=t.date.toString(),n=o.get(e);"object"==typeof n?n[0].getFlags()&Pv?n.unshift(t):n.push(t):o.set(e,[t])}}for(const t of tv){const n=new Oe(t.dd,t.mm,e),r=new ov(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new iv(n,e,Cv|Hv));const i=4===n.getDay()?4:3;a(new ov(new Oe(i,Uv,e),ev.TZOM_GEDALIAH,_v)),a(new ov(new Oe(Oe.dayOnOrBefore(6,7+n.abs())),ev.SHABBAT_SHUVA,kv));const s=Oe.shortKislev(e)?new Oe(1,Zv,e):new Oe(30,xv,e);a(new ov(s,ev.CHAG_HABANOT,Yv));for(let t=2;t<=8;t++){const n=new Oe(23+t,xv,e);a(new ov(n,`Chanukah: ${t} Candles`,Yv|Dv,{chanukahDay:t-1,emoji:"🕎"+Gv[t]}))}a(new ov(new Oe(32,xv,e),ev.CHANUKAH_8TH_DAY,Yv,{chanukahDay:8,emoji:"🕎"})),a(new av(new Oe(10,Zv,e),ev.ASARA_BTEVET,_v));const c=r.abs();a(new ov(new Oe(Oe.dayOnOrBefore(6,c-43)),ev.SHABBAT_SHEKALIM,kv),new ov(new Oe(Oe.dayOnOrBefore(6,c-30)),ev.SHABBAT_ZACHOR,kv),new ov(new Oe(c-(2===r.getDay()?33:31)),ev.TAANIT_ESTHER,_v));const u=Oe.dayOnOrBefore(6,c-14);a(new ov(new Oe(u-7),ev.SHABBAT_PARAH,kv),new ov(new Oe(u),ev.SHABBAT_HACHODESH,kv),new ov(new Oe(Oe.dayOnOrBefore(6,c-1)),ev.SHABBAT_HAGADOL,kv),new ov(6===r.prev().getDay()?r.onOrBefore(4):new Oe(14,Bv,e),ev.TAANIT_BECHOROT,_v)),a(new ov(new Oe(Oe.dayOnOrBefore(6,new Oe(1,Uv,e+1).abs()-4)),ev.LEIL_SELICHOT,Yv,{emoji:"🕍"})),0===r.getDay()&&a(new ov(new Oe(16,Vv,e),ev.PURIM_MESHULASH,Yv)),Oe.isLeapYear(e)&&(a(new ov(new Oe(14,$v,e),ev.PURIM_KATAN,Yv,{emoji:"🎭️"})),a(new ov(new Oe(15,$v,e),ev.SHUSHAN_PURIM_KATAN,Yv,{emoji:"🎭️"})));const h=function(e){if(e<5711)return null;let t=new Oe(27,Tv,e);return t.getDay()===Av?t=new Oe(26,Tv,e):t.getDay()===wv&&(t=new Oe(28,Tv,e)),t}(e);h&&a(new ov(h,ev.YOM_HASHOAH,Lv));const l=Mv(e);l&&a(new ov(l,ev.YOM_HAZIKARON,Lv,zv),new ov(l.next(),ev.YOM_HAATZMA_UT,Lv,zv));for(const t of nv)if(e>=t.firstYear){let n=new Oe(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||5!==r&&6!==r?t.friPostponeToSun&&5===r?n=new Oe(n.abs()+2):t.satPostponeToSun&&6===r&&(n=n.next()):n=n.onOrBefore(4);const o=t.chul?Lv:Lv|Nv,i=new ov(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let f,d=new Oe(17,jv,e);6===d.getDay()&&(d=new Oe(18,jv,e),f={observed:!0}),a(new ov(d,ev.TZOM_TAMMUZ,_v,f));let g,y=new Oe(9,Fv,e),S=ev.TISHA_BAV;6===y.getDay()&&(y=y.next(),g={observed:!0},S+=" (observed)");const p=y.abs();a(new ov(new Oe(Oe.dayOnOrBefore(6,p)),ev.SHABBAT_CHAZON,kv),new ov(y.prev(),ev.EREV_TISHA_BAV,Pv|Rv,g),new ov(y,S,Rv,g),new ov(new Oe(Oe.dayOnOrBefore(6,p+7)),ev.SHABBAT_NACHAMU,kv));const w=Oe.monthsInYear(e);for(let t=1;t<=w;t++){const n=Oe.getMonthName(t,e);30===(t===Bv?Oe.daysInMonth(Oe.monthsInYear(e-1),e-1):Oe.daysInMonth(t-1,e))?(a(new cv(new Oe(1,t,e),n)),a(new cv(new Oe(30,t-1,e),n))):t!==Uv&&a(new cv(new Oe(1,t,e),n))}for(let t=m.IYYAR;t<=w;t++){const n=t+1;if(n===Uv||n===m.CHESHVAN||n===Zv)continue;let r=new Oe(29,t,e);const o=r.getDay();5!==o&&6!==o||(r=r.onOrBefore(4));const i=Oe.getMonthName(n,e);a(new Ov(r,i))}const v=Lp(e,!1).find(15);a(new ov(v,ev.SHABBAT_SHIRAH,kv));const A=function(e){const t=Oe.isLeapYear(e),n=t?Vv:Bv,r=t?20:1,o=Oe.hebrew2abs(e,n,r);for(let e=0;e<=40;e++){const t=o+e;if((t+1373429)%10227==172)return t}return 0}(e);if(A){const e=new Oe(A);a(new ov(e,ev.BIRKAT_HACHAMAH,Yv,{emoji:"☀️"}))}return Kv.set(e,o),o}function Wv(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const qv={shacharit:!1,mincha:!1,allCongs:!1};function Xv(e,t){return Qv(e,t,!0)}function Qv(e,t,n){const r=function(e,t){const n=Oe.isLeapYear(e),r=Oe.monthsInYear(e);let o=new Oe(9,m.AV,e);6===o.getDay()&&(o=o.next());let a=new Oe(15,m.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[new Oe(2,m.TISHREI,e)].concat(Wv(1,r).map((t=>new Oe(1,t,e))),Wv(1,r).filter((t=>30===Oe.daysInMonth(t,e))).map((t=>new Oe(30,t,e))),Wv(1,Oe.daysInMonth(m.NISAN,e)).map((t=>new Oe(t,m.NISAN,e))),new Oe(18,m.IYYAR,e),Wv(1,8-(t?1:0)).map((t=>new Oe(t,m.SIVAN,e))),o,new Oe(15,m.AV,e),new Oe(29,m.ELUL,e),Wv(9,24-(t?1:0)).map((t=>new Oe(t,m.TISHREI,e))),Wv(25,33).map((t=>new Oe(t,m.KISLEV,e))),new Oe(15,m.SHVAT,e),new Oe(14,m.ADAR_II,e),a,n?new Oe(14,m.ADAR_I,e):[]),s=[new Oe(14,m.IYYAR,e)].concat(Wv(1,13).map((t=>new Oe(t,m.SIVAN,e))),Wv(20,31).map((t=>new Oe(t,m.TISHREI,e))),e>=5708?Mv(e).next():[],e>=5727?new Oe(28,m.IYYAR,e):[]),c=[new Oe(29,m.ELUL,e-1),new Oe(9,m.TISHREI,e),new Oe(14,m.IYYAR,e)];return{none:i.map((e=>e.abs())).sort(((e,t)=>e-t)),some:s.map((e=>e.abs())).sort(((e,t)=>e-t)),yesPrev:c.map((e=>e.abs())).sort(((e,t)=>e-t))}}(e.yy,t),o=e.abs();if(r.none.indexOf(o)>-1)return qv;const a=e.getDay(),i={shacharit:!1,mincha:!1,allCongs:!1};-1===r.some.indexOf(o)&&(i.allCongs=!0),6!==a&&(i.shacharit=!0);const s=o+1;if(n&&-1===r.yesPrev.indexOf(s)){const e=Qv(new Oe(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:qv}const eA=m.TISHREI;function tA(t){if("number"==typeof t)return t;if(e.greg.isDate(t))return e.greg.greg2abs(t);if(Oe.isHDate(t))return t.abs();throw new TypeError(`Invalid date type: ${t}`)}function nA(t){if(t.start&&!t.end||t.end&&!t.start)throw new TypeError("Both options.start and options.end are required");if(t.start&&t.end)return[tA(t.start),tA(t.end)];const n=Boolean(t.isHebrewYear),r=function(e){return void 0!==e.year?Number(e.year):e.isHebrewYear?(new Oe).getFullYear():(new Date).getFullYear()}(t);if(isNaN(r))throw new RangeError(`Invalid year ${t.year}`);if(n&&r<1)throw new RangeError(`Invalid Hebrew year ${r}`);const o=function(e){if(e.month){if(e.isHebrewYear)return Oe.monthNum(e.month);if("number"==typeof e.month)return e.month}return NaN}(t),a=Number(t.numYears)||1;return n?function(e,t,n){const r=new Oe(1,e||eA,t);let o=r.abs();const a=e?o+r.daysInMonth():new Oe(1,eA,t+n).abs()-1;!e&&t>1&&o--;return[o,a]}(o,r,a):function(t,n,r){const o=t?t-1:0,a=new Date(n,o,1);n<100&&a.setFullYear(n);const i=e.greg.greg2abs(a);let s;if(t)s=i+e.greg.daysInMonth(t,n)-1;else{const t=n+r,o=new Date(t,0,1);t<100&&o.setFullYear(t),s=e.greg.greg2abs(o)-1}return[i,s]}(o,r,a)}const rA=m.NISAN,oA=m.SIVAN,aA=m.ELUL,iA=m.TISHREI,sA=Ye.LIGHT_CANDLES,cA=Ye.YOM_TOV_ENDS,uA=Ye.CHUL_ONLY,hA=Ye.IL_ONLY,lA=Ye.LIGHT_CANDLES_TZEIS,fA=Ye.CHANUKAH_CANDLES,dA=Ye.MINOR_FAST,gA=Ye.SPECIAL_SHABBAT,mA=Ye.MODERN_HOLIDAY,yA=Ye.MAJOR_FAST,SA=Ye.ROSH_CHODESH,pA=Ye.PARSHA_HASHAVUA,wA=Ye.DAF_YOMI,vA=Ye.MISHNA_YOMI,AA=Ye.NACH_YOMI,bA=Ye.YERUSHALMI_YOMI,TA=Ye.OMER_COUNT,IA=Ye.SHABBAT_MEVARCHIM,MA=Ye.MINOR_HOLIDAY,EA=Ye.EREV,OA=Ye.CHOL_HAMOED,CA=Ye.YOM_KIPPUR_KATAN,NA=new Set,HA={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,fastEndDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,appendHebrewToSubject:1,mask:1,yomKippurKatan:1,hour12:1,dailyLearning:1,useElevation:1};const DA={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},_A={281184:40,294801:30,293067:30};function kA(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof qS))throw new TypeError("options.candlelighting requires valid options.location");if("number"==typeof e.havdalahMins&&"number"==typeof e.havdalahDeg)throw new TypeError("options.havdalahMins and options.havdalahDeg are mutually exclusive");let n=Number(e.candleLightingMins)||18;t.getIsrael()&&18===Math.abs(n)&&(n=function(e,t){const n=e.getGeoId();if(n){const e=_A[n];if("number"==typeof e)return e}const r=e.getShortName();if(r){const e=DA[r];if("number"==typeof e)return e}return t}(t,n)),e.candleLightingMins=-1*Math.abs(n),"number"==typeof e.havdalahMins?e.havdalahMins=Math.abs(e.havdalahMins):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=8.5,"number"!=typeof e.fastEndDeg&&(e.fastEndDeg=7.0833333)}function LA(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask||0;t&SA&&delete e.noRoshChodesh;t&mA&&delete e.noModern;t&dA&&delete e.noMinorFast;t&gA&&delete e.noSpecialShabbat;t&pA&&(e.sedrot=!0);t&(wA|vA|AA|bA)&&(e.dailyLearning=e.dailyLearning||{},t&wA&&(e.dailyLearning.dafYomi=!0),t&vA&&(e.dailyLearning.mishnaYomi=!0),t&AA&&(e.dailyLearning.nachYomi=!0),t&bA&&(e.dailyLearning.yerushalmi=1));t&TA&&(e.omer=!0);t&IA&&(e.shabbatMevarchim=!0);t&CA&&(e.yomKippurKatan=!0);return t}(e);const n=e.il||(null===(t=e.location)||void 0===t?void 0:t.getIsrael())||!1;let r=0;if(e.noHolidays||(r|=SA|cA|dA|gA|mA|yA|MA|EA|OA|sA|lA|fA),e.candlelighting&&(r|=sA|lA|cA),e.noRoshChodesh&&(r&=~SA),e.noModern&&(r&=~mA),e.noMinorFast&&(r&=~dA),e.noSpecialShabbat&&(r&=~gA,r&=~IA),r|=n?hA:uA,e.sedrot&&(r|=pA),e.omer&&(r|=TA),e.shabbatMevarchim&&(r|=IA),e.yomKippurKatan&&(r|=CA),e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=wA),t.mishnaYomi&&(r|=vA),t.nachYomi&&(r|=AA),t.yerushalmi&&(r|=bA)}return r}const RA=sA|lA|fA|cA,YA=new qS(0,0,!1,"UTC");function PA(e){return e.observedInIsrael()}function BA(e){return e.observedInDiaspora()}class jA{static calendar(t={}){kA(t=Object.assign({},t));const n=t.location=t.location||YA,r=t.il=t.il||n.getIsrael()||!1,o="number"==typeof t.mask;if(t.mask=LA(t),t.ashkenazi||t.locale){if(t.locale&&"string"!=typeof t.locale)throw new TypeError(`Invalid options.locale: ${t.locale}`);const e=t.ashkenazi?"ashkenazi":t.locale;if(!we.useLocale(e))throw new TypeError(`Locale '${e}' not found; did you forget to import @hebcal/locales?`)}else we.useLocale("en");const a=[];let i,s,c=-1,u=-1,h=-1;const l=nA(t);!function(e){for(const t of Object.keys(e))void 0!==HA[t]||NA.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),NA.add(t))}(t);const f=l[0],d=l[1];e.greg.abs2greg(f).getFullYear()<100&&(t.candlelighting=!1);for(let e=f;e<=d;e++){const n=new Oe(e),l=n.getFullYear();l!=h&&(h=l,s=Jv(h),t.sedrot&&(i=Lp(h,r)),t.omer&&(c=Oe.hebrew2abs(h,rA,16),u=Oe.hebrew2abs(h,oA,5)));const f=a.length,d=n.getDay(),g=5===d,m=6===d;let y;const S=s.get(n.toString())||[];for(const e of S)y=UA(y,a,e,t,g,m,o);if(t.sedrot&&m){const t=i.lookup(e);t.chag||a.push(new Rp(n,t.parsha,r,t.num))}const p=t.dailyLearning;if("object"==typeof p){const e=$A(n,p,r);a.push(...e)}if(t.omer&&e>=c&&e<=u){const r=VA(n,e-c+1,t);a.push(r)}if(m&&(t.molad||t.shabbatMevarchim)){const e=xA(n,t);a.push(...e)}if(!y&&t.candlelighting&&(g||m)&&(y=gv(void 0,n,t,g,m),g&&y&&i&&(y.memo=i.getString(e,t.locale))),y instanceof op&&(0===t.havdalahMins||0===t.havdalahDeg)&&(y=void 0),y&&a.push(y),t.addHebrewDates||t.addHebrewDatesForEvents&&f!=a.length){const e=new je(n);f==a.length?a.push(e):a.splice(f,0,e)}}return a}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=F(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=M(r);let a=n.mm,i=n.dd;return a===B&&!o||a===j&&o?a=E(e):a!==L||30!==i||D(e)?a===R&&30===i&&_(e)?(a=Y,i=1):a===B&&30===i&&o&&!M(e)&&(a=k,i=1):(a=R,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new Oe(n)}static getYahrzeit(e,t){const n=function(e,t){let n=F(t);if(!(e<=n.yy))return n.mm!==L||30!==n.dd||D(n.yy+1)?n.mm===R&&30===n.dd&&_(n.yy+1)?n=I(b(e,Y,1)-1):n.mm===j?n.mm=E(e):n.mm!==B||30!==n.dd||M(e)||(n.dd=30,n.mm=P):n=I(b(e,R,1)-1),n.mm!==L||30!==n.dd||D(e)?n.mm===R&&30===n.dd&&_(e)&&(n.mm=Y,n.dd=1):(n.mm=R,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new Oe(n)}static getHolidaysForYear(e){return Jv(e)}static getHolidaysForYearArray(e,t){const n=Jv(e),r=Oe.hebrew2abs(e,iA,1),o=Oe.hebrew2abs(e+1,iA,1)-1;let a=[];const i=t?PA:BA;for(let e=r;e<=o;e++){const t=new Oe(e),r=n.get(t.toString());if(r){const e=r.filter(i);a=a.concat(e)}}return a}static getHolidaysOnDate(e,t){const n=Oe.isHDate(e)?e:new Oe(e),r=n.toString(),o=Jv(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const a=t?PA:BA;return o.filter(a)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new Oe(e),r=n.after(5),o=n.next();return!(!FA(r,t)||FA(n,t)||!FA(o,t))}static reformatTimeStr(e,t,n){return tp(e,t,n)}static version(){return dv}static getSedra(e,t){return Lp(e,t)}static hallel(e,t){return function(e,t){const n=e.filter((e=>{const t=e.getDesc(),n=e.getDate(),r=n.getMonth(),o=n.getDate();return t.startsWith("Chanukah")||t.startsWith("Shavuot")||t.startsWith("Sukkot")||r===m.NISAN&&(15===o||16===o)&&e.getFlags()&Ye.CHAG||"Yom HaAtzma'ut"===t||"Yom Yerushalayim"===t})).map((e=>e.getDate().abs())),r=t.abs();return n.includes(r)?2:e.filter((e=>{const t=e.getDesc();return e.getFlags()&Ye.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t})).map((e=>e.getDate().abs())).includes(r)?1:0}(jA.getHolidaysForYearArray(e.getFullYear(),t),e)}static tachanun(e,t){return Xv(e,t)}}function FA(e,t){return 0!==(jA.getHolidaysOnDate(e,t)||[]).filter((e=>e.getFlags()&Ye.CHAG)).length}function UA(e,t,n,r,o,a,i){const s=r.il||!1;if(!n.observedIn(s))return e;const c=n.getFlags();if(!r.yomKippurKatan&&c&CA||r.noModern&&c&mA)return e;const u=Boolean(c&yA),h=Boolean(c&dA);if(r.candlelighting&&(u||h)&&(n=function(e,t){const n=e.getDesc();if("Yom Kippur"===n)return e;const r=(e=e.clone()).getDate(),o=r.greg(),a=t.location,i=t.fastEndDeg,s=Boolean(t.useElevation),c=new QS(a,o,s);if("Erev Tish'a B'Av"===n){const n=c.sunset();isNaN(n.getTime())||(e.startEvent=Sv(e,n,mv,t))}else if(n.startsWith("Tish'a B'Av")){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Sv(e,n,yv,t))}else{const n=c.alotHaShachar();if(isNaN(n.getTime())||(e.startEvent=Sv(e,n,mv,t)),5!==o.getDay()&&(14!==r.getDate()||r.getMonth()!==m.NISAN)){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Sv(e,n,yv,t))}}return e}(n,r),n.startEvent&&(u||h&&!r.noMinorFast)&&t.push(n.startEvent)),c&Number(r.mask)||!c&&!i){if(r.candlelighting&&c&RA){const t=n.getDate();if(e=gv(n,t,r,o,a),c&fA&&e&&!r.noHolidays){const i=function(e,t,n){const r=n.location,o=Boolean(n.useElevation),a=new QS(r,t.greg(),o).beinHaShmashos();if(isNaN(a.getTime()))return null;const i=new pv(t,e.getDesc(),e.getFlags(),a,r);return i.emoji=e.emoji,i.chanukahDay=e.chanukahDay,i}(n,t,r);i&&((o||a)&&(i.eventTime=e.eventTime,i.eventTimeStr=e.eventTimeStr),n=i),e=void 0}}(!r.noHolidays||r.yomKippurKatan&&c&CA)&&t.push(n)}return n.endEvent&&(u||h&&!r.noMinorFast)&&t.push(n.endEvent),e}function xA(e,t){const n=[],r=e.getMonth(),o=e.getDate();if(r!=aA&&o>=23&&o<=29){const o=e.getFullYear(),a=r==Oe.monthsInYear(o)?rA:r+1;if(t.molad&&n.push(new up(e,o,a,t)),t.shabbatMevarchim){const r=Oe.getMonthName(a,o),i=new cp(o,a).render(t.locale||"en",t);n.push(new hv(e,r,i))}}return n}function ZA(e,t){return"yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e}function $A(e,t,n){const r=[];for(const[o,a]of Object.entries(t))if(a){const t=ZA(o,a),i=fv.lookup(t,e,n);i&&r.push(i)}return r}function VA(e,t,n){const r=new hp(e,t);if(n.candlelighting){const t=n.location,o=new QS(t,e.prev(),!1).tzeit(7.0833);isNaN(o.getTime())||(r.alarm=o)}return r}return e.AsaraBTevetEvent=av,e.CandleLightingEvent=rp,e.DailyLearning=fv,e.Event=Be,e.GeoLocation=$S,e.HDate=Oe,e.HavdalahEvent=op,e.HebrewCalendar=jA,e.HebrewDateEvent=je,e.HolidayEvent=ov,e.Locale=we,e.Location=qS,e.MevarchimChodeshEvent=hv,e.Molad=cp,e.MoladEvent=up,e.NOAACalculator=zS,e.OmerEvent=hp,e.ParshaEvent=Rp,e.RoshChodeshEvent=cv,e.RoshHashanaEvent=iv,e.Sedra=fp,e.TimedEvent=np,e.Zmanim=QS,e.flags=Ye,e.gematriya=V,e.gematriyaStrToNum=z,e.holidayDesc=ev,e.months=m,e.parshiot=dp,e.version=dv,e}({});
|